@igamingcareer/igaming-components 1.0.69 → 1.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +34 -32
  2. package/dist/index.mjs +2596 -2582
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),ZC=require("react-dom");function xS(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return e.default=a,Object.freeze(e)}const v=xS(C),v9=xS(ZC);function IP(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var vC={exports:{}},nc={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),ZC=require("react-dom");function kS(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return e.default=a,Object.freeze(e)}const v=kS(C),v9=kS(ZC);function NP(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var vC={exports:{}},nc={};/**
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 sL;function NP(){if(sL)return nc;sL=1;var a=C,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function c(l,d,h){var u,p={},m=null,f=null;h!==void 0&&(m=""+h),d.key!==void 0&&(m=""+d.key),d.ref!==void 0&&(f=d.ref);for(u in d)n.call(d,u)&&!o.hasOwnProperty(u)&&(p[u]=d[u]);if(l&&l.defaultProps)for(u in d=l.defaultProps,d)p[u]===void 0&&(p[u]=d[u]);return{$$typeof:e,type:l,key:m,ref:f,props:p,_owner:i.current}}return nc.Fragment=r,nc.jsx=c,nc.jsxs=c,nc}var ic={};/**
9
+ */var sL;function AP(){if(sL)return nc;sL=1;var a=C,e=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function c(l,d,h){var u,p={},f=null,m=null;h!==void 0&&(f=""+h),d.key!==void 0&&(f=""+d.key),d.ref!==void 0&&(m=d.ref);for(u in d)n.call(d,u)&&!o.hasOwnProperty(u)&&(p[u]=d[u]);if(l&&l.defaultProps)for(u in d=l.defaultProps,d)p[u]===void 0&&(p[u]=d[u]);return{$$typeof:e,type:l,key:f,ref:m,props:p,_owner:i.current}}return nc.Fragment=r,nc.jsx=c,nc.jsxs=c,nc}var ic={};/**
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 oL;function AP(){return oL||(oL=1,process.env.NODE_ENV!=="production"&&function(){var a=C,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=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"),f=Symbol.for("react.offscreen"),k=Symbol.iterator,y="@@iterator";function x(I){if(I===null||typeof I!="object")return null;var O=k&&I[k]||I[y];return typeof O=="function"?O:null}var g=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var O=arguments.length,X=new Array(O>1?O-1:0),P=1;P<O;P++)X[P-1]=arguments[P];M("error",I,X)}}function M(I,O,X){{var P=g.ReactDebugCurrentFrame,H=P.getStackAddendum();H!==""&&(O+="%s",X=X.concat([H]));var Z=X.map(function(Y){return String(Y)});Z.unshift("Warning: "+O),Function.prototype.apply.call(console[I],console,Z)}}var j=!1,b=!1,N=!1,S=!1,L=!1,A;A=Symbol.for("react.module.reference");function T(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===o||L||I===i||I===h||I===u||S||I===f||j||b||N||typeof I=="object"&&I!==null&&(I.$$typeof===m||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===A||I.getModuleId!==void 0))}function R(I,O,X){var P=I.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function D(I){return I.displayName||"Context"}function _(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 o:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var O=I;return D(O)+".Consumer";case c:var X=I;return D(X._context)+".Provider";case d:return R(I,I.render,"ForwardRef");case p:var P=I.displayName||null;return P!==null?P:_(I.type)||"Memo";case m:{var H=I,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var q=Object.assign,z=0,V,G,E,re,ne,oe,ae;function se(){}se.__reactDisabledLog=!0;function ee(){{if(z===0){V=console.log,G=console.info,E=console.warn,re=console.error,ne=console.group,oe=console.groupCollapsed,ae=console.groupEnd;var I={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}z++}}function le(){{if(z--,z===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},I,{value:V}),info:q({},I,{value:G}),warn:q({},I,{value:E}),error:q({},I,{value:re}),group:q({},I,{value:ne}),groupCollapsed:q({},I,{value:oe}),groupEnd:q({},I,{value:ae})})}z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=g.ReactCurrentDispatcher,W;function Q(I,O,X){{if(W===void 0)try{throw Error()}catch(H){var P=H.stack.trim().match(/\n( *(at )?)/);W=P&&P[1]||""}return`
17
+ */var oL;function _P(){return oL||(oL=1,process.env.NODE_ENV!=="production"&&function(){var a=C,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=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"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),k=Symbol.iterator,y="@@iterator";function x(I){if(I===null||typeof I!="object")return null;var O=k&&I[k]||I[y];return typeof O=="function"?O:null}var g=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(I){{for(var O=arguments.length,X=new Array(O>1?O-1:0),P=1;P<O;P++)X[P-1]=arguments[P];M("error",I,X)}}function M(I,O,X){{var P=g.ReactDebugCurrentFrame,H=P.getStackAddendum();H!==""&&(O+="%s",X=X.concat([H]));var Z=X.map(function(Y){return String(Y)});Z.unshift("Warning: "+O),Function.prototype.apply.call(console[I],console,Z)}}var j=!1,b=!1,N=!1,S=!1,L=!1,A;A=Symbol.for("react.module.reference");function T(I){return!!(typeof I=="string"||typeof I=="function"||I===n||I===o||L||I===i||I===h||I===u||S||I===m||j||b||N||typeof I=="object"&&I!==null&&(I.$$typeof===f||I.$$typeof===p||I.$$typeof===c||I.$$typeof===l||I.$$typeof===d||I.$$typeof===A||I.getModuleId!==void 0))}function R(I,O,X){var P=I.displayName;if(P)return P;var H=O.displayName||O.name||"";return H!==""?X+"("+H+")":X}function D(I){return I.displayName||"Context"}function _(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 o:return"Profiler";case i:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof I=="object")switch(I.$$typeof){case l:var O=I;return D(O)+".Consumer";case c:var X=I;return D(X._context)+".Provider";case d:return R(I,I.render,"ForwardRef");case p:var P=I.displayName||null;return P!==null?P:_(I.type)||"Memo";case f:{var H=I,Z=H._payload,Y=H._init;try{return _(Y(Z))}catch{return null}}}return null}var q=Object.assign,z=0,V,G,E,re,ne,oe,ae;function se(){}se.__reactDisabledLog=!0;function ee(){{if(z===0){V=console.log,G=console.info,E=console.warn,re=console.error,ne=console.group,oe=console.groupCollapsed,ae=console.groupEnd;var I={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:I,log:I,warn:I,error:I,group:I,groupCollapsed:I,groupEnd:I})}z++}}function le(){{if(z--,z===0){var I={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},I,{value:V}),info:q({},I,{value:G}),warn:q({},I,{value:E}),error:q({},I,{value:re}),group:q({},I,{value:ne}),groupCollapsed:q({},I,{value:oe}),groupEnd:q({},I,{value:ae})})}z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=g.ReactCurrentDispatcher,W;function Q(I,O,X){{if(W===void 0)try{throw Error()}catch(H){var P=H.stack.trim().match(/\n( *(at )?)/);W=P&&P[1]||""}return`
18
18
  `+W+I}}var ue=!1,de;{var ye=typeof WeakMap=="function"?WeakMap:Map;de=new ye}function ie(I,O){if(!I||ue)return"";{var X=de.get(I);if(X!==void 0)return X}var P;ue=!0;var H=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=ve.current,ve.current=null,ee();try{if(O){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(tt){P=tt}Reflect.construct(I,[],Y)}else{try{Y.call()}catch(tt){P=tt}I.call(Y.prototype)}}else{try{throw Error()}catch(tt){P=tt}I()}}catch(tt){if(tt&&P&&typeof tt.stack=="string"){for(var te=tt.stack.split(`
19
19
  `),Le=P.stack.split(`
20
20
  `),Me=te.length-1,ke=Le.length-1;Me>=1&&ke>=0&&te[Me]!==Le[ke];)ke--;for(;Me>=1&&ke>=0;Me--,ke--)if(te[Me]!==Le[ke]){if(Me!==1||ke!==1)do if(Me--,ke--,ke<0||te[Me]!==Le[ke]){var ze=`
21
- `+te[Me].replace(" at new "," at ");return I.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",I.displayName)),typeof I=="function"&&de.set(I,ze),ze}while(Me>=1&&ke>=0);break}}}finally{ue=!1,ve.current=Z,le(),Error.prepareStackTrace=H}var Je=I?I.displayName||I.name:"",nt=Je?Q(Je):"";return typeof I=="function"&&de.set(I,nt),nt}function Pe(I,O,X){return ie(I,!1)}function qe(I){var O=I.prototype;return!!(O&&O.isReactComponent)}function Qe(I,O,X){if(I==null)return"";if(typeof I=="function")return ie(I,qe(I));if(typeof I=="string")return Q(I);switch(I){case h:return Q("Suspense");case u:return Q("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case d:return Pe(I.render);case p:return Qe(I.type,O,X);case m:{var P=I,H=P._payload,Z=P._init;try{return Qe(Z(H),O,X)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,yt={},xt=g.ReactDebugCurrentFrame;function ot(I){if(I){var O=I._owner,X=Qe(I.type,I._source,O?O.type:null);xt.setExtraStackFrame(X)}else xt.setExtraStackFrame(null)}function Ue(I,O,X,P,H){{var Z=Function.call.bind(st);for(var Y in I)if(Z(I,Y)){var te=void 0;try{if(typeof I[Y]!="function"){var Le=Error((P||"React class")+": "+X+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof I[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}te=I[Y](O,Y,P,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Me){te=Me}te&&!(te instanceof Error)&&(ot(H),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).",P||"React class",X,Y,typeof te),ot(null)),te instanceof Error&&!(te.message in yt)&&(yt[te.message]=!0,ot(H),w("Failed %s type: %s",X,te.message),ot(null))}}}var kt=Array.isArray;function rt(I){return kt(I)}function Fa(I){{var O=typeof Symbol=="function"&&Symbol.toStringTag,X=O&&I[Symbol.toStringTag]||I.constructor.name||"Object";return X}}function Lt(I){try{return gt(I),!1}catch{return!0}}function gt(I){return""+I}function xa(I){if(Lt(I))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fa(I)),gt(I)}var F=g.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0},J,we;function Ee(I){if(st.call(I,"ref")){var O=Object.getOwnPropertyDescriptor(I,"ref").get;if(O&&O.isReactWarning)return!1}return I.ref!==void 0}function et(I){if(st.call(I,"key")){var O=Object.getOwnPropertyDescriptor(I,"key").get;if(O&&O.isReactWarning)return!1}return I.key!==void 0}function He(I,O){typeof I.ref=="string"&&F.current}function Et(I,O){{var X=function(){J||(J=!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)",O))};X.isReactWarning=!0,Object.defineProperty(I,"key",{get:X,configurable:!0})}}function Ht(I,O){{var X=function(){we||(we=!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)",O))};X.isReactWarning=!0,Object.defineProperty(I,"ref",{get:X,configurable:!0})}}var vr=function(I,O,X,P,H,Z,Y){var te={$$typeof:e,type:I,key:O,ref:X,props:Y,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function ac(I,O,X,P,H){{var Z,Y={},te=null,Le=null;X!==void 0&&(xa(X),te=""+X),et(O)&&(xa(O.key),te=""+O.key),Ee(O)&&(Le=O.ref,He(O,H));for(Z in O)st.call(O,Z)&&!B.hasOwnProperty(Z)&&(Y[Z]=O[Z]);if(I&&I.defaultProps){var Me=I.defaultProps;for(Z in Me)Y[Z]===void 0&&(Y[Z]=Me[Z])}if(te||Le){var ke=typeof I=="function"?I.displayName||I.name||"Unknown":I;te&&Et(Y,ke),Le&&Ht(Y,ke)}return vr(I,te,Le,H,P,F.current,Y)}}var ka=g.ReactCurrentOwner,wr=g.ReactDebugCurrentFrame;function Ot(I){if(I){var O=I._owner,X=Qe(I.type,I._source,O?O.type:null);wr.setExtraStackFrame(X)}else wr.setExtraStackFrame(null)}var Ea;Ea=!1;function ga(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function lo(){{if(ka.current){var I=_(ka.current.type);if(I)return`
21
+ `+te[Me].replace(" at new "," at ");return I.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",I.displayName)),typeof I=="function"&&de.set(I,ze),ze}while(Me>=1&&ke>=0);break}}}finally{ue=!1,ve.current=Z,le(),Error.prepareStackTrace=H}var Je=I?I.displayName||I.name:"",nt=Je?Q(Je):"";return typeof I=="function"&&de.set(I,nt),nt}function Pe(I,O,X){return ie(I,!1)}function qe(I){var O=I.prototype;return!!(O&&O.isReactComponent)}function Qe(I,O,X){if(I==null)return"";if(typeof I=="function")return ie(I,qe(I));if(typeof I=="string")return Q(I);switch(I){case h:return Q("Suspense");case u:return Q("SuspenseList")}if(typeof I=="object")switch(I.$$typeof){case d:return Pe(I.render);case p:return Qe(I.type,O,X);case f:{var P=I,H=P._payload,Z=P._init;try{return Qe(Z(H),O,X)}catch{}}}return""}var st=Object.prototype.hasOwnProperty,yt={},xt=g.ReactDebugCurrentFrame;function ot(I){if(I){var O=I._owner,X=Qe(I.type,I._source,O?O.type:null);xt.setExtraStackFrame(X)}else xt.setExtraStackFrame(null)}function Ue(I,O,X,P,H){{var Z=Function.call.bind(st);for(var Y in I)if(Z(I,Y)){var te=void 0;try{if(typeof I[Y]!="function"){var Le=Error((P||"React class")+": "+X+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof I[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Le.name="Invariant Violation",Le}te=I[Y](O,Y,P,X,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Me){te=Me}te&&!(te instanceof Error)&&(ot(H),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).",P||"React class",X,Y,typeof te),ot(null)),te instanceof Error&&!(te.message in yt)&&(yt[te.message]=!0,ot(H),w("Failed %s type: %s",X,te.message),ot(null))}}}var kt=Array.isArray;function rt(I){return kt(I)}function Fa(I){{var O=typeof Symbol=="function"&&Symbol.toStringTag,X=O&&I[Symbol.toStringTag]||I.constructor.name||"Object";return X}}function Lt(I){try{return gt(I),!1}catch{return!0}}function gt(I){return""+I}function xa(I){if(Lt(I))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fa(I)),gt(I)}var F=g.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0},J,we;function Ee(I){if(st.call(I,"ref")){var O=Object.getOwnPropertyDescriptor(I,"ref").get;if(O&&O.isReactWarning)return!1}return I.ref!==void 0}function et(I){if(st.call(I,"key")){var O=Object.getOwnPropertyDescriptor(I,"key").get;if(O&&O.isReactWarning)return!1}return I.key!==void 0}function He(I,O){typeof I.ref=="string"&&F.current}function Et(I,O){{var X=function(){J||(J=!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)",O))};X.isReactWarning=!0,Object.defineProperty(I,"key",{get:X,configurable:!0})}}function Ht(I,O){{var X=function(){we||(we=!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)",O))};X.isReactWarning=!0,Object.defineProperty(I,"ref",{get:X,configurable:!0})}}var vr=function(I,O,X,P,H,Z,Y){var te={$$typeof:e,type:I,key:O,ref:X,props:Y,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function ac(I,O,X,P,H){{var Z,Y={},te=null,Le=null;X!==void 0&&(xa(X),te=""+X),et(O)&&(xa(O.key),te=""+O.key),Ee(O)&&(Le=O.ref,He(O,H));for(Z in O)st.call(O,Z)&&!B.hasOwnProperty(Z)&&(Y[Z]=O[Z]);if(I&&I.defaultProps){var Me=I.defaultProps;for(Z in Me)Y[Z]===void 0&&(Y[Z]=Me[Z])}if(te||Le){var ke=typeof I=="function"?I.displayName||I.name||"Unknown":I;te&&Et(Y,ke),Le&&Ht(Y,ke)}return vr(I,te,Le,H,P,F.current,Y)}}var ka=g.ReactCurrentOwner,wr=g.ReactDebugCurrentFrame;function Ot(I){if(I){var O=I._owner,X=Qe(I.type,I._source,O?O.type:null);wr.setExtraStackFrame(X)}else wr.setExtraStackFrame(null)}var Ea;Ea=!1;function ga(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function lo(){{if(ka.current){var I=_(ka.current.type);if(I)return`
22
22
 
23
- Check the render method of \``+I+"`."}return""}}function U(I){return""}var K={};function xe(I){{var O=lo();if(!O){var X=typeof I=="string"?I:I.displayName||I.name;X&&(O=`
23
+ Check the render method of \``+I+"`."}return""}}function $(I){return""}var K={};function xe(I){{var O=lo();if(!O){var X=typeof I=="string"?I:I.displayName||I.name;X&&(O=`
24
24
 
25
- Check the top-level render call using <`+X+">.")}return O}}function Se(I,O){{if(!I._store||I._store.validated||I.key!=null)return;I._store.validated=!0;var X=xe(O);if(K[X])return;K[X]=!0;var P="";I&&I._owner&&I._owner!==ka.current&&(P=" It was passed a child from "+_(I._owner.type)+"."),Ot(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.',X,P),Ot(null)}}function $e(I,O){{if(typeof I!="object")return;if(rt(I))for(var X=0;X<I.length;X++){var P=I[X];ga(P)&&Se(P,O)}else if(ga(I))I._store&&(I._store.validated=!0);else if(I){var H=x(I);if(typeof H=="function"&&H!==I.entries)for(var Z=H.call(I),Y;!(Y=Z.next()).done;)ga(Y.value)&&Se(Y.value,O)}}}function Ha(I){{var O=I.type;if(O==null||typeof O=="string")return;var X;if(typeof O=="function")X=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===d||O.$$typeof===p))X=O.propTypes;else return;if(X){var P=_(O);Ue(X,I.props,"prop",P,I)}else if(O.PropTypes!==void 0&&!Ea){Ea=!0;var H=_(O);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(I){{for(var O=Object.keys(I.props),X=0;X<O.length;X++){var P=O[X];if(P!=="children"&&P!=="key"){Ot(I),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),Ot(null);break}}I.ref!==null&&(Ot(I),w("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var dt={};function Oa(I,O,X,P,H,Z){{var Y=T(I);if(!Y){var te="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(te+=" 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 Le=U();Le?te+=Le:te+=lo();var Me;I===null?Me="null":rt(I)?Me="array":I!==void 0&&I.$$typeof===e?(Me="<"+(_(I.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):Me=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",Me,te)}var ke=ac(I,O,X,H,Z);if(ke==null)return ke;if(Y){var ze=O.children;if(ze!==void 0)if(P)if(rt(ze)){for(var Je=0;Je<ze.length;Je++)$e(ze[Je],I);Object.freeze&&Object.freeze(ze)}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 $e(ze,I)}if(st.call(O,"key")){var nt=_(I),tt=Object.keys(O).filter(function(SP){return SP!=="key"}),X9=tt.length>0?"{key: someKey, "+tt.join(": ..., ")+": ...}":"{key: someKey}";if(!dt[nt+X9]){var LP=tt.length>0?"{"+tt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+X+">.")}return O}}function Se(I,O){{if(!I._store||I._store.validated||I.key!=null)return;I._store.validated=!0;var X=xe(O);if(K[X])return;K[X]=!0;var P="";I&&I._owner&&I._owner!==ka.current&&(P=" It was passed a child from "+_(I._owner.type)+"."),Ot(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.',X,P),Ot(null)}}function $e(I,O){{if(typeof I!="object")return;if(rt(I))for(var X=0;X<I.length;X++){var P=I[X];ga(P)&&Se(P,O)}else if(ga(I))I._store&&(I._store.validated=!0);else if(I){var H=x(I);if(typeof H=="function"&&H!==I.entries)for(var Z=H.call(I),Y;!(Y=Z.next()).done;)ga(Y.value)&&Se(Y.value,O)}}}function Ha(I){{var O=I.type;if(O==null||typeof O=="string")return;var X;if(typeof O=="function")X=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===d||O.$$typeof===p))X=O.propTypes;else return;if(X){var P=_(O);Ue(X,I.props,"prop",P,I)}else if(O.PropTypes!==void 0&&!Ea){Ea=!0;var H=_(O);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",H||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ct(I){{for(var O=Object.keys(I.props),X=0;X<O.length;X++){var P=O[X];if(P!=="children"&&P!=="key"){Ot(I),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),Ot(null);break}}I.ref!==null&&(Ot(I),w("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}var dt={};function Oa(I,O,X,P,H,Z){{var Y=T(I);if(!Y){var te="";(I===void 0||typeof I=="object"&&I!==null&&Object.keys(I).length===0)&&(te+=" 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 Le=$();Le?te+=Le:te+=lo();var Me;I===null?Me="null":rt(I)?Me="array":I!==void 0&&I.$$typeof===e?(Me="<"+(_(I.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):Me=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",Me,te)}var ke=ac(I,O,X,H,Z);if(ke==null)return ke;if(Y){var ze=O.children;if(ze!==void 0)if(P)if(rt(ze)){for(var Je=0;Je<ze.length;Je++)$e(ze[Je],I);Object.freeze&&Object.freeze(ze)}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 $e(ze,I)}if(st.call(O,"key")){var nt=_(I),tt=Object.keys(O).filter(function(IP){return IP!=="key"}),X9=tt.length>0?"{key: someKey, "+tt.join(": ..., ")+": ...}":"{key: someKey}";if(!dt[nt+X9]){var SP=tt.length>0?"{"+tt.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} />`,X9,nt,LP,nt),dt[nt+X9]=!0}}return I===n?ct(ke):Ha(ke),ke}}function Ze(I,O,X){return Oa(I,O,X,!0)}function mt(I,O,X){return Oa(I,O,X,!1)}var rc=mt,t1=Ze;ic.Fragment=n,ic.jsx=rc,ic.jsxs=t1}()),ic}process.env.NODE_ENV==="production"?vC.exports=NP():vC.exports=AP();var t=vC.exports;function cL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function so(...a){return e=>{let r=!1;const n=a.map(i=>{const o=cL(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():cL(a[i],null)}}}}function je(...a){return v.useCallback(so(...a),a)}var _P=Symbol.for("react.lazy"),i9=v[" use ".trim().toString()];function PP(a){return typeof a=="object"&&a!==null&&"then"in a}function kS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===_P&&"_payload"in a&&PP(a._payload)}function XC(a){const e=TP(a),r=v.forwardRef((n,i)=>{let{children:o,...c}=n;kS(o)&&typeof i9=="function"&&(o=i9(o._payload));const l=v.Children.toArray(o),d=l.find(DP);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}var qP=XC("Slot");function TP(a){const e=v.forwardRef((r,n)=>{let{children:i,...o}=r;if(kS(i)&&typeof i9=="function"&&(i=i9(i._payload)),v.isValidElement(i)){const c=FP(i),l=zP(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var RP=Symbol("radix.slottable");function DP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===RP}function zP(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function FP(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function gS(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var i=a.length;for(e=0;e<i;e++)a[e]&&(r=gS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function vS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=gS(a))&&(n&&(n+=" "),n+=e);return n}const lL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,dL=vS,w9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return dL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:o}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=o==null?void 0:o[h];if(u===null)return null;const m=lL(u)||lL(p);return i[h][m]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,m]=u;return m===void 0||(h[p]=m),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:m,...f}=u;return Object.entries(f).every(k=>{let[y,x]=k;return Array.isArray(x)?x.includes({...o,...l}[y]):{...o,...l}[y]===x})?[...h,p,m]:h},[]);return dL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},JC="-",EP=a=>{const e=OP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(JC);return l[0]===""&&l.length!==1&&l.shift(),wS(l,e)||HP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},wS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?wS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const o=a.join(JC);return(c=e.validators.find(({validator:l})=>l(o)))==null?void 0:c.classGroupId},hL=/^\[(.+)\]$/,HP=a=>{if(hL.test(a)){const e=hL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},OP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return BP(Object.entries(a.classGroups),r).forEach(([o,c])=>{wC(c,n,o,e)}),n},wC=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const o=i===""?e:uL(e,i);o.classGroupId=r;return}if(typeof i=="function"){if(VP(i)){wC(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,c])=>{wC(c,uL(e,o),r,n)})})},uL=(a,e)=>{let r=a;return e.split(JC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},VP=a=>a.isThemeGetter,BP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([c,l])=>[e+c,l])):o);return[r,i]}):a,UP=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(o,c)=>{r.set(o,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(o){let c=r.get(o);if(c!==void 0)return c;if((c=n.get(o))!==void 0)return i(o,c),c},set(o,c){r.has(o)?r.set(o,c):i(o,c)}}},MS="!",$P=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],o=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let g=l[x];if(h===0){if(g===i&&(n||l.slice(x,x+o)===e)){d.push(l.slice(u,x)),u=x+o;continue}if(g==="/"){p=x;continue}}g==="["?h++:g==="]"&&h--}const m=d.length===0?l:l.substring(u),f=m.startsWith(MS),k=f?m.substring(1):m,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},GP=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},WP=a=>({cache:UP(a.cacheSize),parseClassName:$P(a),...EP(a)}),ZP=/\s+/,XP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,o=[],c=a.trim().split(ZP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=r(h);let k=!!f,y=n(k?m.substring(0,f):m);if(!y){if(!k){l=h+(l.length>0?" "+l:l);continue}if(y=n(m),!y){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=GP(u).join(":"),g=p?x+MS:x,w=g+y;if(o.includes(w))continue;o.push(w);const M=i(y,k);for(let j=0;j<M.length;++j){const b=M[j];o.push(g+b)}l=h+(l.length>0?" "+l:l)}return l};function JP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=bS(e))&&(n&&(n+=" "),n+=r);return n}const bS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=bS(a[n]))&&(r&&(r+=" "),r+=e);return r};function YP(a,...e){let r,n,i,o=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=WP(h),n=r.cache.get,i=r.cache.set,o=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=XP(d,r);return i(d,u),u}return function(){return o(JP.apply(null,arguments))}}const Te=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},CS=/^\[(?:([a-z-]+):)?(.+)\]$/i,KP=/^\d+\/\d+$/,QP=new Set(["px","full","screen"]),eq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tq=/\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$/,aq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>xo(a)||QP.has(a)||KP.test(a),Va=a=>Ko(a,"length",uq),xo=a=>!!a&&!Number.isNaN(Number(a)),J9=a=>Ko(a,"number",xo),sc=a=>!!a&&Number.isInteger(Number(a)),iq=a=>a.endsWith("%")&&xo(a.slice(0,-1)),pe=a=>CS.test(a),Ba=a=>eq.test(a),sq=new Set(["length","size","percentage"]),oq=a=>Ko(a,sq,jS),cq=a=>Ko(a,"position",jS),lq=new Set(["image","url"]),dq=a=>Ko(a,lq,yq),hq=a=>Ko(a,"",pq),oc=()=>!0,Ko=(a,e,r)=>{const n=CS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},uq=a=>tq.test(a)&&!aq.test(a),jS=()=>!1,pq=a=>rq.test(a),yq=a=>nq.test(a),mq=()=>{const a=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),i=Te("borderColor"),o=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),m=Te("gap"),f=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),y=Te("inset"),x=Te("margin"),g=Te("opacity"),w=Te("padding"),M=Te("saturate"),j=Te("scale"),b=Te("sepia"),N=Te("skew"),S=Te("space"),L=Te("translate"),A=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",pe,e],D=()=>[pe,e],_=()=>["",va,Va],q=()=>["auto",xo,pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",pe],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>[xo,pe];return{cacheSize:500,separator:":",theme:{colors:[oc],spacing:[va,Va],blur:["none","",Ba,pe],brightness:oe(),borderColor:[a],borderRadius:["none","","full",Ba,pe],borderSpacing:D(),borderWidth:_(),contrast:oe(),grayscale:re(),hueRotate:oe(),invert:re(),gap:D(),gradientColorStops:[a],gradientColorStopPositions:[iq,Va],inset:R(),margin:R(),opacity:oe(),padding:D(),saturate:oe(),scale:oe(),sepia:re(),skew:oe(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",pe]}],container:["container"],columns:[{columns:[Ba]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...z(),pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sc,pe]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pe]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",sc,pe]}],"grid-cols":[{"grid-cols":[oc]}],"col-start-end":[{col:["auto",{span:["full",sc,pe]},pe]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[oc]}],"row-start-end":[{row:["auto",{span:[sc,pe]},pe]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pe]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pe,e]}],"min-w":[{"min-w":[pe,e,"min","max","fit"]}],"max-w":[{"max-w":[pe,e,"none","full","min","max","fit","prose",{screen:[Ba]},Ba]}],h:[{h:[pe,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pe,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ba,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J9]}],"font-family":[{font:[oc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pe]}],"line-clamp":[{"line-clamp":["none",xo,J9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",va,pe]}],"list-image":[{"list-image":["none",pe]}],"list-style-type":[{list:["none","disc","decimal",pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Va]}],"underline-offset":[{"underline-offset":["auto",va,pe]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe]}],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",pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),cq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",oq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},dq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[va,pe]}],"outline-w":[{outline:[va,Va]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[va,Va]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ba,hq]}],"shadow-color":[{shadow:[oc]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ba,pe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pe]}],duration:[{duration:oe()}],ease:[{ease:["linear","in","out","in-out",pe]}],delay:[{delay:oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[sc,pe]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pe]}],accent:[{accent:["auto",a]}],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",pe]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",pe]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[va,Va,J9]}],stroke:[{stroke:[a,"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"]}}},fq=YP(mq);function ce(...a){return fq(vS(a))}const YC=w9("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"}}),$=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},o)=>{const c=n?qP:"button";return t.jsx(c,{className:ce(YC({variant:e,size:r,className:a})),ref:o,...i})});$.displayName="Button";const Ke=v.forwardRef(({className:a,type:e,...r},n)=>t.jsx("input",{type:e,className:ce("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",a),ref:n,...r}));Ke.displayName="Input";/**
30
+ <%s key={someKey} {...props} />`,X9,nt,SP,nt),dt[nt+X9]=!0}}return I===n?ct(ke):Ha(ke),ke}}function Ze(I,O,X){return Oa(I,O,X,!0)}function mt(I,O,X){return Oa(I,O,X,!1)}var rc=mt,t1=Ze;ic.Fragment=n,ic.jsx=rc,ic.jsxs=t1}()),ic}process.env.NODE_ENV==="production"?vC.exports=AP():vC.exports=_P();var t=vC.exports;function cL(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}function so(...a){return e=>{let r=!1;const n=a.map(i=>{const o=cL(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():cL(a[i],null)}}}}function je(...a){return v.useCallback(so(...a),a)}var PP=Symbol.for("react.lazy"),i9=v[" use ".trim().toString()];function qP(a){return typeof a=="object"&&a!==null&&"then"in a}function gS(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===PP&&"_payload"in a&&qP(a._payload)}function XC(a){const e=RP(a),r=v.forwardRef((n,i)=>{let{children:o,...c}=n;gS(o)&&typeof i9=="function"&&(o=i9(o._payload));const l=v.Children.toArray(o),d=l.find(zP);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}var TP=XC("Slot");function RP(a){const e=v.forwardRef((r,n)=>{let{children:i,...o}=r;if(gS(i)&&typeof i9=="function"&&(i=i9(i._payload)),v.isValidElement(i)){const c=EP(i),l=FP(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var DP=Symbol("radix.slottable");function zP(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===DP}function FP(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function EP(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function vS(a){var e,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var i=a.length;for(e=0;e<i;e++)a[e]&&(r=vS(a[e]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function wS(){for(var a,e,r=0,n="",i=arguments.length;r<i;r++)(a=arguments[r])&&(e=vS(a))&&(n&&(n+=" "),n+=e);return n}const lL=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,dL=wS,w9=(a,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return dL(a,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:o}=e,c=Object.keys(i).map(h=>{const u=r==null?void 0:r[h],p=o==null?void 0:o[h];if(u===null)return null;const f=lL(u)||lL(p);return i[h][f]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,f]=u;return f===void 0||(h[p]=f),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:f,...m}=u;return Object.entries(m).every(k=>{let[y,x]=k;return Array.isArray(x)?x.includes({...o,...l}[y]):{...o,...l}[y]===x})?[...h,p,f]:h},[]);return dL(a,c,d,r==null?void 0:r.class,r==null?void 0:r.className)},JC="-",HP=a=>{const e=VP(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:c=>{const l=c.split(JC);return l[0]===""&&l.length!==1&&l.shift(),MS(l,e)||OP(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},MS=(a,e)=>{var c;if(a.length===0)return e.classGroupId;const r=a[0],n=e.nextPart.get(r),i=n?MS(a.slice(1),n):void 0;if(i)return i;if(e.validators.length===0)return;const o=a.join(JC);return(c=e.validators.find(({validator:l})=>l(o)))==null?void 0:c.classGroupId},hL=/^\[(.+)\]$/,OP=a=>{if(hL.test(a)){const e=hL.exec(a)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},VP=a=>{const{theme:e,prefix:r}=a,n={nextPart:new Map,validators:[]};return UP(Object.entries(a.classGroups),r).forEach(([o,c])=>{wC(c,n,o,e)}),n},wC=(a,e,r,n)=>{a.forEach(i=>{if(typeof i=="string"){const o=i===""?e:uL(e,i);o.classGroupId=r;return}if(typeof i=="function"){if(BP(i)){wC(i(n),e,r,n);return}e.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,c])=>{wC(c,uL(e,o),r,n)})})},uL=(a,e)=>{let r=a;return e.split(JC).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},BP=a=>a.isThemeGetter,UP=(a,e)=>e?a.map(([r,n])=>{const i=n.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([c,l])=>[e+c,l])):o);return[r,i]}):a,$P=a=>{if(a<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const i=(o,c)=>{r.set(o,c),e++,e>a&&(e=0,n=r,r=new Map)};return{get(o){let c=r.get(o);if(c!==void 0)return c;if((c=n.get(o))!==void 0)return i(o,c),c},set(o,c){r.has(o)?r.set(o,c):i(o,c)}}},bS="!",GP=a=>{const{separator:e,experimentalParseClassName:r}=a,n=e.length===1,i=e[0],o=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let g=l[x];if(h===0){if(g===i&&(n||l.slice(x,x+o)===e)){d.push(l.slice(u,x)),u=x+o;continue}if(g==="/"){p=x;continue}}g==="["?h++:g==="]"&&h--}const f=d.length===0?l:l.substring(u),m=f.startsWith(bS),k=m?f.substring(1):f,y=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:k,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:c}):c},WP=a=>{if(a.length<=1)return a;const e=[];let r=[];return a.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},ZP=a=>({cache:$P(a.cacheSize),parseClassName:GP(a),...HP(a)}),XP=/\s+/,JP=(a,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=e,o=[],c=a.trim().split(XP);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:m}=r(h);let k=!!m,y=n(k?f.substring(0,m):f);if(!y){if(!k){l=h+(l.length>0?" "+l:l);continue}if(y=n(f),!y){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=WP(u).join(":"),g=p?x+bS:x,w=g+y;if(o.includes(w))continue;o.push(w);const M=i(y,k);for(let j=0;j<M.length;++j){const b=M[j];o.push(g+b)}l=h+(l.length>0?" "+l:l)}return l};function YP(){let a=0,e,r,n="";for(;a<arguments.length;)(e=arguments[a++])&&(r=CS(e))&&(n&&(n+=" "),n+=r);return n}const CS=a=>{if(typeof a=="string")return a;let e,r="";for(let n=0;n<a.length;n++)a[n]&&(e=CS(a[n]))&&(r&&(r+=" "),r+=e);return r};function KP(a,...e){let r,n,i,o=c;function c(d){const h=e.reduce((u,p)=>p(u),a());return r=ZP(h),n=r.cache.get,i=r.cache.set,o=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=JP(d,r);return i(d,u),u}return function(){return o(YP.apply(null,arguments))}}const Te=a=>{const e=r=>r[a]||[];return e.isThemeGetter=!0,e},jS=/^\[(?:([a-z-]+):)?(.+)\]$/i,QP=/^\d+\/\d+$/,eq=new Set(["px","full","screen"]),tq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,aq=/\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$/,rq=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nq=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,iq=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,va=a=>xo(a)||eq.has(a)||QP.test(a),Va=a=>Ko(a,"length",pq),xo=a=>!!a&&!Number.isNaN(Number(a)),J9=a=>Ko(a,"number",xo),sc=a=>!!a&&Number.isInteger(Number(a)),sq=a=>a.endsWith("%")&&xo(a.slice(0,-1)),pe=a=>jS.test(a),Ba=a=>tq.test(a),oq=new Set(["length","size","percentage"]),cq=a=>Ko(a,oq,LS),lq=a=>Ko(a,"position",LS),dq=new Set(["image","url"]),hq=a=>Ko(a,dq,mq),uq=a=>Ko(a,"",yq),oc=()=>!0,Ko=(a,e,r)=>{const n=jS.exec(a);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},pq=a=>aq.test(a)&&!rq.test(a),LS=()=>!1,yq=a=>nq.test(a),mq=a=>iq.test(a),fq=()=>{const a=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),i=Te("borderColor"),o=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),f=Te("gap"),m=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),y=Te("inset"),x=Te("margin"),g=Te("opacity"),w=Te("padding"),M=Te("saturate"),j=Te("scale"),b=Te("sepia"),N=Te("skew"),S=Te("space"),L=Te("translate"),A=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",pe,e],D=()=>[pe,e],_=()=>["",va,Va],q=()=>["auto",xo,pe],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],V=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",pe],ne=()=>["auto","avoid","all","avoid-page","page","left","right","column"],oe=()=>[xo,pe];return{cacheSize:500,separator:":",theme:{colors:[oc],spacing:[va,Va],blur:["none","",Ba,pe],brightness:oe(),borderColor:[a],borderRadius:["none","","full",Ba,pe],borderSpacing:D(),borderWidth:_(),contrast:oe(),grayscale:re(),hueRotate:oe(),invert:re(),gap:D(),gradientColorStops:[a],gradientColorStopPositions:[sq,Va],inset:R(),margin:R(),opacity:oe(),padding:D(),saturate:oe(),scale:oe(),sepia:re(),skew:oe(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",pe]}],container:["container"],columns:[{columns:[Ba]}],"break-after":[{"break-after":ne()}],"break-before":[{"break-before":ne()}],"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:[...z(),pe]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",sc,pe]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",pe]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",sc,pe]}],"grid-cols":[{"grid-cols":[oc]}],"col-start-end":[{col:["auto",{span:["full",sc,pe]},pe]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[oc]}],"row-start-end":[{row:["auto",{span:[sc,pe]},pe]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",pe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",pe]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",pe,e]}],"min-w":[{"min-w":[pe,e,"min","max","fit"]}],"max-w":[{"max-w":[pe,e,"none","full","min","max","fit","prose",{screen:[Ba]},Ba]}],h:[{h:[pe,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[pe,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[pe,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ba,Va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",J9]}],"font-family":[{font:[oc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",pe]}],"line-clamp":[{"line-clamp":["none",xo,J9]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",va,pe]}],"list-image":[{"list-image":["none",pe]}],"list-style-type":[{list:["none","disc","decimal",pe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",va,Va]}],"underline-offset":[{"underline-offset":["auto",va,pe]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",pe]}],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",pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),lq]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cq]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hq]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[va,pe]}],"outline-w":[{outline:[va,Va]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[va,Va]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",Ba,uq]}],"shadow-color":[{shadow:[oc]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",Ba,pe]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[b]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[b]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",pe]}],duration:[{duration:oe()}],ease:[{ease:["linear","in","out","in-out",pe]}],delay:[{delay:oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",pe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[sc,pe]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",pe]}],accent:[{accent:["auto",a]}],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",pe]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",pe]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[va,Va,J9]}],stroke:[{stroke:[a,"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"]}}},xq=KP(fq);function ce(...a){return xq(wS(a))}const YC=w9("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"}}),U=v.forwardRef(({className:a,variant:e,size:r,asChild:n=!1,...i},o)=>{const c=n?TP:"button";return t.jsx(c,{className:ce(YC({variant:e,size:r,className:a})),ref:o,...i})});U.displayName="Button";const Ke=v.forwardRef(({className:a,type:e,...r},n)=>t.jsx("input",{type:e,className:ce("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",a),ref:n,...r}));Ke.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 xq=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LS=(...a)=>a.filter((e,r,n)=>!!e&&n.indexOf(e)===r).join(" ");/**
35
+ */const kq=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),SS=(...a)=>a.filter((e,r,n)=>!!e&&n.indexOf(e)===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 kq={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 gq={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 SS=C.forwardRef(({color:a="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:o,iconNode:c,...l},d)=>C.createElement("svg",{ref:d,...kq,width:e,height:e,stroke:a,strokeWidth:n?Number(r)*24/Number(e):r,className:LS("lucide",i),...l},[...c.map(([h,u])=>C.createElement(h,u)),...Array.isArray(o)?o:[o]]));/**
45
+ */const IS=C.forwardRef(({color:a="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:o,iconNode:c,...l},d)=>C.createElement("svg",{ref:d,...gq,width:e,height:e,stroke:a,strokeWidth:n?Number(r)*24/Number(e):r,className:SS("lucide",i),...l},[...c.map(([h,u])=>C.createElement(h,u)),...Array.isArray(o)?o:[o]]));/**
46
46
  * @license lucide-react v0.451.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
49
49
  * See the LICENSE file in the root directory of this source tree.
50
- */const s=(a,e)=>{const r=C.forwardRef(({className:n,...i},o)=>C.createElement(SS,{ref:o,iconNode:e,className:LS(`lucide-${xq(a)}`,n),...i}));return r.displayName=`${a}`,r};/**
50
+ */const s=(a,e)=>{const r=C.forwardRef(({className:n,...i},o)=>C.createElement(IS,{ref:o,iconNode:e,className:SS(`lucide-${kq(a)}`,n),...i}));return r.displayName=`${a}`,r};/**
51
51
  * @license lucide-react v0.451.0 - ISC
52
52
  *
53
53
  * This source code is licensed under the ISC license.
@@ -7717,42 +7717,42 @@ 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 gq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowUp:y1,ALargeSmall:m1,Accessibility:f1,Activity:x1,AirVent:k1,Airplay:g1,AlarmClock:w1,AlarmClockCheck:Cr,AlarmClockMinus:jr,AlarmClockOff:v1,AlarmClockPlus:Lr,AlarmSmoke:M1,Album:b1,AlignCenter:L1,AlignCenterHorizontal:C1,AlignCenterVertical:j1,AlignEndHorizontal:S1,AlignEndVertical:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeStart:_1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyEnd:q1,AlignHorizontalJustifyStart:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceBetween:D1,AlignJustify:z1,AlignLeft:F1,AlignRight:E1,AlignStartHorizontal:H1,AlignStartVertical:O1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeStart:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceBetween:X1,Ambulance:J1,Ampersand:Y1,Ampersands:K1,Amphora:Q1,Anchor:el,Angry:tl,Annoyed:al,Antenna:rl,Anvil:nl,Aperture:il,AppWindow:ol,AppWindowMac:sl,Apple:cl,Archive:hl,ArchiveRestore:ll,ArchiveX:dl,Armchair:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowDown:Al,ArrowDown01:wl,ArrowDown10:Ml,ArrowDownAZ:Sr,ArrowDownFromLine:bl,ArrowDownLeft:Cl,ArrowDownNarrowWide:jl,ArrowDownRight:Ll,ArrowDownToDot:Sl,ArrowDownToLine:Il,ArrowDownUp:Nl,ArrowDownWideNarrow:Ir,ArrowDownZA:Nr,ArrowLeft:Gs,ArrowLeftFromLine:_l,ArrowLeftRight:Pl,ArrowLeftToLine:ql,ArrowRight:ko,ArrowRightFromLine:Tl,ArrowRightLeft:Rl,ArrowRightToLine:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp10:Fl,ArrowUpAZ:Ar,ArrowUpDown:El,ArrowUpFromDot:Hl,ArrowUpFromLine:Ol,ArrowUpLeft:Vl,ArrowUpNarrowWide:_r,ArrowUpRight:Bl,ArrowUpToLine:Ul,ArrowUpWideNarrow:$l,ArrowUpZA:Pr,ArrowsUpFromLine:Wl,Asterisk:Zl,AtSign:Xl,Atom:Jl,AudioLines:Yl,AudioWaveform:Kl,Award:La,Axe:Ql,Axis3d:qr,Baby:ed,Backpack:td,Badge:xd,BadgeAlert:ad,BadgeCent:rd,BadgeCheck:Tr,BadgeDollarSign:nd,BadgeEuro:id,BadgeHelp:sd,BadgeIndianRupee:od,BadgeInfo:cd,BadgeJapaneseYen:ld,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeRussianRuble:yd,BadgeSwissFranc:md,BadgeX:fd,BaggageClaim:kd,Ban:gd,Banana:vd,Bandage:wd,Banknote:Md,Barcode:bd,Baseline:Cd,Bath:jd,Battery:_d,BatteryCharging:Ld,BatteryFull:Sd,BatteryLow:Id,BatteryMedium:Nd,BatteryWarning:Ad,Beaker:Pd,Bean:Td,BeanOff:qd,Bed:zd,BedDouble:Rd,BedSingle:Dd,Beef:Fd,Beer:Hd,BeerOff:Ed,Bell:go,BellDot:Od,BellElectric:Vd,BellMinus:Bd,BellOff:Ud,BellPlus:$d,BellRing:Gd,BetweenHorizontalEnd:Rr,BetweenHorizontalStart:Dr,BetweenVerticalEnd:Wd,BetweenVerticalStart:Zd,BicepsFlexed:Xd,Bike:Jd,Binary:Yd,Binoculars:Kd,Biohazard:Qd,Bird:e2,Bitcoin:t2,Blend:a2,Blinds:r2,Blocks:n2,Bluetooth:c2,BluetoothConnected:i2,BluetoothOff:s2,BluetoothSearching:o2,Bold:l2,Bolt:d2,Bomb:h2,Bone:u2,Book:T2,BookA:p2,BookAudio:y2,BookCheck:m2,BookCopy:f2,BookDashed:zr,BookDown:x2,BookHeadphones:k2,BookHeart:g2,BookImage:v2,BookKey:w2,BookLock:M2,BookMarked:b2,BookMinus:C2,BookOpen:Wt,BookOpenCheck:j2,BookOpenText:L2,BookPlus:S2,BookText:I2,BookType:N2,BookUp:_2,BookUp2:A2,BookUser:P2,BookX:q2,Bookmark:Qa,BookmarkCheck:da,BookmarkMinus:R2,BookmarkPlus:uc,BookmarkX:D2,BoomBox:z2,Bot:pc,BotMessageSquare:F2,BotOff:E2,Box:H2,Boxes:O2,Braces:Fr,Brackets:V2,Brain:$2,BrainCircuit:B2,BrainCog:U2,BrickWall:G2,Briefcase:vt,BriefcaseBusiness:W2,BriefcaseConveyorBelt:Z2,BriefcaseMedical:X2,BringToFront:J2,Brush:Y2,Bug:e0,BugOff:K2,BugPlay:Q2,Building:vo,Building2:yc,Bus:a0,BusFront:t0,Cable:n0,CableCar:r0,Cake:s0,CakeSlice:i0,Calculator:o0,Calendar:mc,CalendarArrowDown:c0,CalendarArrowUp:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarClock:u0,CalendarCog:p0,CalendarDays:y0,CalendarFold:m0,CalendarHeart:f0,CalendarMinus:k0,CalendarMinus2:x0,CalendarOff:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarRange:M0,CalendarSearch:b0,CalendarX:j0,CalendarX2:C0,Camera:S0,CameraOff:L0,Candy:A0,CandyCane:I0,CandyOff:N0,Cannabis:_0,Captions:Er,CaptionsOff:P0,Car:R0,CarFront:q0,CarTaxiFront:T0,Caravan:D0,Carrot:z0,CaseLower:F0,CaseSensitive:E0,CaseUpper:H0,CassetteTape:O0,Cast:V0,Castle:B0,Cat:U0,Cctv:$0,ChartArea:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarDecreasing:G0,ChartBarIncreasing:W0,ChartBarStacked:Z0,ChartCandlestick:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnDecreasing:X0,ChartColumnIncreasing:$r,ChartColumnStacked:J0,ChartGantt:Y0,ChartLine:Wr,ChartNetwork:K0,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesCombined:eh,ChartNoAxesGantt:Xr,ChartPie:Jr,ChartScatter:Yr,ChartSpline:th,Check:wo,CheckCheck:ah,ChefHat:rh,Cherry:nh,ChevronDown:Ws,ChevronFirst:ih,ChevronLast:sh,ChevronLeft:Zs,ChevronRight:er,ChevronUp:fc,ChevronsDown:ch,ChevronsDownUp:oh,ChevronsLeft:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsRight:ph,ChevronsRightLeft:uh,ChevronsUp:mh,ChevronsUpDown:yh,Chrome:fh,Church:xh,Cigarette:gh,CigaretteOff:kh,Circle:Ah,CircleAlert:Bt,CircleArrowDown:Kr,CircleArrowLeft:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownRight:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpRight:rn,CircleArrowRight:nn,CircleArrowUp:sn,CircleCheck:on,CircleCheckBig:Nt,CircleChevronDown:cn,CircleChevronLeft:ln,CircleChevronRight:dn,CircleChevronUp:hn,CircleDashed:vh,CircleDivide:un,CircleDollarSign:wh,CircleDot:bh,CircleDotDashed:Mh,CircleEllipsis:Ch,CircleEqual:jh,CircleFadingArrowUp:Lh,CircleFadingPlus:Sh,CircleGauge:pn,CircleHelp:Wa,CircleMinus:yn,CircleOff:Ih,CircleParking:fn,CircleParkingOff:mn,CirclePause:xn,CirclePercent:kn,CirclePlay:gn,CirclePlus:vn,CirclePower:wn,CircleSlash:Nh,CircleSlash2:Mn,CircleStop:bn,CircleUser:jn,CircleUserRound:Cn,CircleX:ia,CircuitBoard:_h,Citrus:Ph,Clapperboard:qh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCopy:Rh,ClipboardList:Dh,ClipboardMinus:zh,ClipboardPaste:Fh,ClipboardPen:Sn,ClipboardPenLine:Ln,ClipboardPlus:Eh,ClipboardType:Hh,ClipboardX:Oh,Clock:Qt,Clock1:Bh,Clock10:Uh,Clock11:$h,Clock12:Gh,Clock2:Wh,Clock3:Zh,Clock4:Xh,Clock5:Jh,Clock6:Yh,Clock7:Kh,Clock8:Qh,Clock9:eu,ClockAlert:tu,ClockArrowDown:au,ClockArrowUp:ru,Cloud:xu,CloudCog:nu,CloudDownload:In,CloudDrizzle:iu,CloudFog:su,CloudHail:ou,CloudLightning:cu,CloudMoon:du,CloudMoonRain:lu,CloudOff:hu,CloudRain:pu,CloudRainWind:uu,CloudSnow:yu,CloudSun:fu,CloudSunRain:mu,CloudUpload:Za,Cloudy:ku,Clover:gu,Club:vu,Code:wu,CodeXml:Nn,Codepen:Mu,Codesandbox:bu,Coffee:Cu,Cog:ju,Coins:Lu,Columns2:An,Columns3:_n,Columns4:Su,Combine:Iu,Command:Nu,Compass:Au,Component:_u,Computer:Pu,ConciergeBell:qu,Cone:Tu,Construction:Ru,Contact:Du,ContactRound:Pn,Container:zu,Contrast:Fu,Cookie:Eu,CookingPot:Hu,Copy:Gu,CopyCheck:Ou,CopyMinus:Vu,CopyPlus:Bu,CopySlash:Uu,CopyX:$u,Copyleft:Wu,Copyright:Zu,CornerDownLeft:Xu,CornerDownRight:Ju,CornerLeftDown:Yu,CornerLeftUp:Ku,CornerRightDown:Qu,CornerRightUp:ep,CornerUpLeft:tp,CornerUpRight:ap,Cpu:rp,CreativeCommons:np,CreditCard:xc,Croissant:ip,Crop:sp,Cross:op,Crosshair:cp,Crown:lp,Cuboid:dp,CupSoda:hp,Currency:up,Cylinder:pp,Dam:yp,Database:xp,DatabaseBackup:mp,DatabaseZap:fp,Delete:kp,Dessert:gp,Diameter:vp,Diamond:bp,DiamondMinus:wp,DiamondPercent:qn,DiamondPlus:Mp,Dice1:Cp,Dice2:jp,Dice3:Lp,Dice4:Sp,Dice5:Ip,Dice6:Np,Dices:Ap,Diff:_p,Disc:Rp,Disc2:Pp,Disc3:qp,DiscAlbum:Tp,Divide:Dp,Dna:Fp,DnaOff:zp,Dock:Ep,Dog:Hp,DollarSign:kc,Donut:Op,DoorClosed:Vp,DoorOpen:Bp,Dot:Up,Download:$p,DraftingCompass:Gp,Drama:Wp,Dribbble:Zp,Drill:Xp,Droplet:Jp,Droplets:Yp,Drum:Kp,Drumstick:Qp,Dumbbell:ey,Ear:ay,EarOff:ty,Earth:Tn,EarthLock:ry,Eclipse:ny,Egg:oy,EggFried:iy,EggOff:sy,Ellipsis:Dn,EllipsisVertical:Rn,Equal:ly,EqualNot:cy,Eraser:dy,EthernetPort:hy,Euro:uy,Expand:py,ExternalLink:Xs,Eye:gc,EyeClosed:yy,EyeOff:my,Facebook:fy,Factory:xy,Fan:ky,FastForward:gy,Feather:vy,Fence:wy,FerrisWheel:My,Figma:by,File:gm,FileArchive:Cy,FileAudio:Ly,FileAudio2:jy,FileAxis3d:zn,FileBadge:Iy,FileBadge2:Sy,FileBox:Ny,FileChartColumn:En,FileChartColumnIncreasing:Fn,FileChartLine:Hn,FileChartPie:On,FileCheck:_y,FileCheck2:Ay,FileClock:Py,FileCode:Ty,FileCode2:qy,FileCog:Vn,FileDiff:Ry,FileDigit:Dy,FileDown:zy,FileHeart:Fy,FileImage:Ey,FileInput:Hy,FileJson:Vy,FileJson2:Oy,FileKey:Uy,FileKey2:By,FileLock:Gy,FileLock2:$y,FileMinus:Zy,FileMinus2:Wy,FileMusic:Xy,FileOutput:Jy,FilePen:Un,FilePenLine:Bn,FilePlus:Ky,FilePlus2:Yy,FileQuestion:Qy,FileScan:em,FileSearch:am,FileSearch2:tm,FileSliders:rm,FileSpreadsheet:nm,FileStack:im,FileSymlink:sm,FileTerminal:om,FileText:vc,FileType:lm,FileType2:cm,FileUp:dm,FileUser:hm,FileVideo:pm,FileVideo2:um,FileVolume:mm,FileVolume2:ym,FileWarning:fm,FileX:km,FileX2:xm,Files:vm,Film:wm,Filter:Mo,FilterX:Mm,Fingerprint:bm,FireExtinguisher:Cm,Fish:Sm,FishOff:jm,FishSymbol:Lm,Flag:wc,FlagOff:Im,FlagTriangleLeft:Nm,FlagTriangleRight:Am,Flame:Pm,FlameKindling:_m,Flashlight:Tm,FlashlightOff:qm,FlaskConical:Dm,FlaskConicalOff:Rm,FlaskRound:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipVertical:Om,FlipVertical2:Hm,Flower:Bm,Flower2:Vm,Focus:Um,FoldHorizontal:$m,FoldVertical:Gm,Folder:wf,FolderArchive:Wm,FolderCheck:Zm,FolderClock:Xm,FolderClosed:Jm,FolderCode:Ym,FolderCog:$n,FolderDot:Km,FolderDown:Qm,FolderGit:tf,FolderGit2:ef,FolderHeart:af,FolderInput:rf,FolderKanban:nf,FolderKey:sf,FolderLock:of,FolderMinus:cf,FolderOpen:df,FolderOpenDot:lf,FolderOutput:hf,FolderPen:Gn,FolderPlus:uf,FolderRoot:pf,FolderSearch:mf,FolderSearch2:yf,FolderSymlink:ff,FolderSync:xf,FolderTree:kf,FolderUp:gf,FolderX:vf,Folders:Mf,Footprints:bf,Forklift:Cf,Forward:jf,Frame:Lf,Framer:Sf,Frown:If,Fuel:Nf,Fullscreen:Af,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryThumbnails:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,Gamepad:zf,Gamepad2:Df,Gauge:Ff,Gavel:Ef,Gem:Hf,Ghost:Of,Gift:Vf,GitBranch:Uf,GitBranchPlus:Bf,GitCommitHorizontal:Wn,GitCommitVertical:$f,GitCompare:Wf,GitCompareArrows:Gf,GitFork:Zf,GitGraph:Xf,GitMerge:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestClosed:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestDraft:t4,Github:r4,Gitlab:n4,GlassWater:i4,Glasses:s4,Globe:bo,GlobeLock:o4,Goal:c4,Grab:l4,GraduationCap:Co,Grape:d4,Grid2x2:Zn,Grid2x2Check:h4,Grid2x2Plus:u4,Grid2x2X:p4,Grid3x3:Jt,Grip:f4,GripHorizontal:y4,GripVertical:m4,Group:x4,Guitar:k4,Ham:g4,Hammer:v4,Hand:j4,HandCoins:w4,HandHeart:M4,HandHelping:Xn,HandMetal:b4,HandPlatter:C4,Handshake:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveUpload:I4,HardHat:A4,Hash:_4,Haze:P4,HdmiPort:q4,Heading:H4,Heading1:T4,Heading2:R4,Heading3:D4,Heading4:z4,Heading5:F4,Heading6:E4,HeadphoneOff:O4,Headphones:V4,Headset:B4,Heart:jo,HeartCrack:U4,HeartHandshake:$4,HeartOff:G4,HeartPulse:W4,Heater:Z4,Hexagon:X4,Highlighter:J4,History:Y4,Hop:Q4,HopOff:K4,Hospital:ex,Hotel:tx,Hourglass:ax,House:Ma,HousePlug:rx,HousePlus:nx,IceCreamBowl:Jn,IceCreamCone:Yn,IdCard:ix,Image:ux,ImageDown:sx,ImageMinus:ox,ImageOff:cx,ImagePlay:lx,ImagePlus:dx,ImageUp:hx,Images:px,Import:yx,Inbox:mx,IndentDecrease:Kn,IndentIncrease:Qn,IndianRupee:fx,Infinity:xx,Info:kx,InspectionPanel:gx,Instagram:vx,Italic:wx,IterationCcw:Mx,IterationCw:bx,JapaneseYen:Cx,Joystick:jx,Kanban:Lx,Key:Nx,KeyRound:Sx,KeySquare:Ix,Keyboard:Px,KeyboardMusic:Ax,KeyboardOff:_x,Lamp:Fx,LampCeiling:qx,LampDesk:Tx,LampFloor:Rx,LampWallDown:Dx,LampWallUp:zx,LandPlot:Ex,Landmark:Hx,Languages:Ox,Laptop:Vx,LaptopMinimal:ei,Lasso:Ux,LassoSelect:Bx,Laugh:$x,Layers:Zx,Layers2:Gx,Layers3:Wx,LayoutDashboard:Mc,LayoutGrid:Xx,LayoutList:Jx,LayoutPanelLeft:Yx,LayoutPanelTop:Kx,LayoutTemplate:Qx,Leaf:ek,LeafyGreen:tk,Lectern:ak,LetterText:rk,Library:ik,LibraryBig:nk,LifeBuoy:sk,Ligature:ok,Lightbulb:lk,LightbulbOff:ck,Link:bc,Link2:hk,Link2Off:dk,Linkedin:uk,List:Cc,ListCheck:pk,ListChecks:yk,ListCollapse:mk,ListEnd:fk,ListFilter:xk,ListMinus:kk,ListMusic:gk,ListOrdered:vk,ListPlus:wk,ListRestart:Mk,ListStart:bk,ListTodo:Ck,ListTree:jk,ListVideo:Lk,ListX:Sk,Loader:Nk,LoaderCircle:ti,LoaderPinwheel:Ik,Locate:Pk,LocateFixed:Ak,LocateOff:_k,Lock:jc,LockKeyhole:qk,LockKeyholeOpen:ai,LockOpen:ri,LogIn:Tk,LogOut:Lc,Logs:Rk,Lollipop:Dk,Luggage:zk,Magnet:Fk,Mail:ha,MailCheck:Ek,MailMinus:Hk,MailOpen:Ok,MailPlus:Vk,MailQuestion:Bk,MailSearch:Uk,MailWarning:$k,MailX:Gk,Mailbox:Wk,Mails:Zk,Map:sg,MapPin:Zt,MapPinCheck:Jk,MapPinCheckInside:Xk,MapPinHouse:Yk,MapPinMinus:Qk,MapPinMinusInside:Kk,MapPinOff:eg,MapPinPlus:ag,MapPinPlusInside:tg,MapPinX:ng,MapPinXInside:rg,MapPinned:ig,Martini:og,Maximize:lg,Maximize2:cg,Medal:dg,Megaphone:ug,MegaphoneOff:hg,Meh:pg,MemoryStick:yg,Menu:Lo,Merge:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleDashed:xg,MessageCircleHeart:kg,MessageCircleMore:gg,MessageCircleOff:vg,MessageCirclePlus:wg,MessageCircleQuestion:Mg,MessageCircleReply:bg,MessageCircleWarning:Cg,MessageCircleX:jg,MessageSquare:So,MessageSquareCode:Sg,MessageSquareDashed:Ig,MessageSquareDiff:Ng,MessageSquareDot:Ag,MessageSquareHeart:_g,MessageSquareLock:Pg,MessageSquareMore:qg,MessageSquareOff:Tg,MessageSquarePlus:Rg,MessageSquareQuote:Dg,MessageSquareReply:zg,MessageSquareShare:Fg,MessageSquareText:Eg,MessageSquareWarning:Hg,MessageSquareX:Og,MessagesSquare:Vg,Mic:Ug,MicOff:Bg,MicVocal:ni,Microchip:$g,Microscope:Gg,Microwave:Wg,Milestone:Zg,Milk:Jg,MilkOff:Xg,Minimize:Kg,Minimize2:Yg,Minus:Sc,Monitor:h5,MonitorCheck:Qg,MonitorCog:e5,MonitorDot:t5,MonitorDown:a5,MonitorOff:r5,MonitorPause:n5,MonitorPlay:i5,MonitorSmartphone:s5,MonitorSpeaker:o5,MonitorStop:c5,MonitorUp:l5,MonitorX:d5,Moon:p5,MoonStar:u5,Mountain:m5,MountainSnow:y5,Mouse:w5,MouseOff:f5,MousePointer:v5,MousePointer2:x5,MousePointerBan:k5,MousePointerClick:g5,Move:T5,Move3d:ii,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDown:L5,MoveDownLeft:C5,MoveDownRight:j5,MoveHorizontal:S5,MoveLeft:I5,MoveRight:N5,MoveUp:P5,MoveUpLeft:A5,MoveUpRight:_5,MoveVertical:q5,Music:F5,Music2:R5,Music3:D5,Music4:z5,Navigation:V5,Navigation2:H5,Navigation2Off:E5,NavigationOff:O5,Network:B5,Newspaper:Sa,Nfc:U5,Notebook:Z5,NotebookPen:$5,NotebookTabs:G5,NotebookText:W5,NotepadText:J5,NotepadTextDashed:X5,Nut:K5,NutOff:Y5,Octagon:e3,OctagonAlert:si,OctagonMinus:Q5,OctagonPause:oi,OctagonX:ci,Omega:t3,Option:a3,Orbit:r3,Origami:n3,Package:u3,Package2:i3,PackageCheck:s3,PackageMinus:o3,PackageOpen:c3,PackagePlus:l3,PackageSearch:d3,PackageX:h3,PaintBucket:p3,PaintRoller:y3,Paintbrush:m3,PaintbrushVertical:li,Palette:f3,PanelBottom:g3,PanelBottomClose:x3,PanelBottomDashed:di,PanelBottomOpen:k3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftDashed:ui,PanelLeftOpen:pi,PanelRight:M3,PanelRightClose:v3,PanelRightDashed:mi,PanelRightOpen:w3,PanelTop:j3,PanelTopClose:b3,PanelTopDashed:fi,PanelTopOpen:C3,PanelsLeftBottom:L3,PanelsRightBottom:S3,PanelsTopLeft:xi,Paperclip:I3,Parentheses:N3,ParkingMeter:A3,PartyPopper:_3,Pause:P3,PawPrint:q3,PcCase:T3,Pen:gi,PenLine:ki,PenOff:R3,PenTool:D3,Pencil:H3,PencilLine:z3,PencilOff:F3,PencilRuler:E3,Pentagon:O3,Percent:V3,PersonStanding:B3,PhilippinePeso:U3,Phone:Js,PhoneCall:$3,PhoneForwarded:G3,PhoneIncoming:W3,PhoneMissed:Z3,PhoneOff:X3,PhoneOutgoing:J3,Pi:Y3,Piano:K3,Pickaxe:Q3,PictureInPicture:tv,PictureInPicture2:ev,PiggyBank:av,Pilcrow:iv,PilcrowLeft:rv,PilcrowRight:nv,Pill:ov,PillBottle:sv,Pin:lv,PinOff:cv,Pipette:dv,Pizza:hv,Plane:yv,PlaneLanding:uv,PlaneTakeoff:pv,Play:Ic,Plug:fv,Plug2:mv,PlugZap:vi,Plus:Io,Pocket:kv,PocketKnife:xv,Podcast:gv,Pointer:wv,PointerOff:vv,Popcorn:Mv,Popsicle:bv,PoundSterling:Cv,Power:Lv,PowerOff:jv,Presentation:Sv,Printer:Nv,PrinterCheck:Iv,Projector:Av,Proportions:_v,Puzzle:Pv,Pyramid:qv,QrCode:Tv,Quote:No,Rabbit:Rv,Radar:Dv,Radiation:zv,Radical:Fv,Radio:Ov,RadioReceiver:Ev,RadioTower:Hv,Radius:Vv,RailSymbol:Bv,Rainbow:Uv,Rat:$v,Ratio:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptEuro:Zv,ReceiptIndianRupee:Xv,ReceiptJapaneseYen:Jv,ReceiptPoundSterling:Yv,ReceiptRussianRuble:Kv,ReceiptSwissFranc:Qv,ReceiptText:e6,RectangleEllipsis:wi,RectangleHorizontal:a6,RectangleVertical:r6,Recycle:n6,Redo:o6,Redo2:i6,RedoDot:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCw:h6,RefreshCwOff:d6,Refrigerator:u6,Regex:p6,RemoveFormatting:y6,Repeat:x6,Repeat1:m6,Repeat2:f6,Replace:g6,ReplaceAll:k6,Reply:w6,ReplyAll:v6,Rewind:M6,Ribbon:b6,Rocket:C6,RockingChair:j6,RollerCoaster:L6,Rotate3d:Mi,RotateCcw:I6,RotateCcwSquare:S6,RotateCw:A6,RotateCwSquare:N6,Route:P6,RouteOff:_6,Router:q6,Rows2:bi,Rows3:Ci,Rows4:T6,Rss:R6,Ruler:D6,RussianRuble:z6,Sailboat:F6,Salad:E6,Sandwich:H6,Satellite:V6,SatelliteDish:O6,Save:$6,SaveAll:B6,SaveOff:U6,Scale:G6,Scale3d:ji,Scaling:W6,Scan:t8,ScanBarcode:Z6,ScanEye:X6,ScanFace:J6,ScanLine:Y6,ScanQrCode:K6,ScanSearch:Q6,ScanText:e8,School:a8,Scissors:n8,ScissorsLineDashed:r8,ScreenShare:s8,ScreenShareOff:i8,Scroll:c8,ScrollText:o8,Search:Xt,SearchCheck:l8,SearchCode:d8,SearchSlash:h8,SearchX:u8,Section:p8,Send:Nc,SendHorizontal:Li,SendToBack:y8,SeparatorHorizontal:m8,SeparatorVertical:f8,Server:v8,ServerCog:x8,ServerCrash:k8,ServerOff:g8,Settings:Ao,Settings2:w8,Shapes:M8,Share:b8,Share2:_o,Sheet:C8,Shell:j8,Shield:Ac,ShieldAlert:L8,ShieldBan:S8,ShieldCheck:I8,ShieldEllipsis:N8,ShieldHalf:A8,ShieldMinus:_8,ShieldOff:P8,ShieldPlus:q8,ShieldQuestion:T8,ShieldX:Si,Ship:D8,ShipWheel:R8,Shirt:z8,ShoppingBag:F8,ShoppingBasket:E8,ShoppingCart:Po,Shovel:H8,ShowerHead:O8,Shrink:V8,Shrub:B8,Shuffle:U8,Sigma:$8,Signal:_c,SignalHigh:G8,SignalLow:W8,SignalMedium:Z8,SignalZero:X8,Signature:J8,Signpost:K8,SignpostBig:Y8,Siren:Q8,SkipBack:e7,SkipForward:t7,Skull:a7,Slack:r7,Slash:n7,Slice:i7,SlidersHorizontal:tr,SlidersVertical:Ii,Smartphone:c7,SmartphoneCharging:s7,SmartphoneNfc:o7,Smile:d7,SmilePlus:l7,Snail:h7,Snowflake:u7,Sofa:p7,Soup:y7,Space:m7,Spade:f7,Sparkle:x7,Sparkles:Xa,Speaker:k7,Speech:g7,SpellCheck:w7,SpellCheck2:v7,Spline:M7,Split:b7,SprayCan:C7,Sprout:j7,Square:_7,SquareActivity:Ni,SquareArrowDown:Pi,SquareArrowDownLeft:Ai,SquareArrowDownRight:_i,SquareArrowLeft:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownRight:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpRight:Di,SquareArrowRight:Ca,SquareArrowUp:Ei,SquareArrowUpLeft:zi,SquareArrowUpRight:Fi,SquareAsterisk:Hi,SquareBottomDashedScissors:Oi,SquareChartGantt:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareChevronDown:Ui,SquareChevronLeft:$i,SquareChevronRight:Gi,SquareChevronUp:Wi,SquareCode:Zi,SquareDashed:Yi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedKanban:Xi,SquareDashedMousePointer:Ji,SquareDivide:Ki,SquareDot:Qi,SquareEqual:es,SquareFunction:ts,SquareKanban:as,SquareLibrary:rs,SquareM:ns,SquareMenu:is,SquareMinus:ss,SquareMousePointer:os,SquareParking:ls,SquareParkingOff:cs,SquarePen:St,SquarePercent:ds,SquarePi:hs,SquarePilcrow:us,SquarePlay:ps,SquarePlus:ys,SquarePower:ms,SquareRadical:I7,SquareScissors:fs,SquareSigma:xs,SquareSlash:ks,SquareSplitHorizontal:gs,SquareSplitVertical:vs,SquareSquare:N7,SquareStack:A7,SquareTerminal:ws,SquareUser:bs,SquareUserRound:Ms,SquareX:Cs,Squircle:P7,Squirrel:q7,Stamp:T7,Star:Ut,StarHalf:R7,StarOff:D7,StepBack:z7,StepForward:F7,Stethoscope:E7,Sticker:H7,StickyNote:O7,Store:V7,StretchHorizontal:B7,StretchVertical:U7,Strikethrough:$7,Subscript:G7,Sun:Y7,SunDim:W7,SunMedium:Z7,SunMoon:X7,SunSnow:J7,Sunrise:K7,Sunset:Q7,Superscript:ew,SwatchBook:tw,SwissFranc:aw,SwitchCamera:rw,Sword:nw,Swords:iw,Syringe:sw,Table:yw,Table2:ow,TableCellsMerge:cw,TableCellsSplit:lw,TableColumnsSplit:dw,TableOfContents:hw,TableProperties:uw,TableRowsSplit:pw,Tablet:fw,TabletSmartphone:mw,Tablets:xw,Tag:Pc,Tags:kw,Tally1:gw,Tally2:vw,Tally3:ww,Tally4:Mw,Tally5:bw,Tangent:Cw,Target:jw,Telescope:Lw,Tent:Iw,TentTree:Sw,Terminal:Nw,TestTube:Aw,TestTubeDiagonal:js,TestTubes:_w,Text:Dw,TextCursor:qw,TextCursorInput:Pw,TextQuote:Tw,TextSearch:Rw,TextSelect:Ls,Theater:zw,Thermometer:Hw,ThermometerSnowflake:Fw,ThermometerSun:Ew,ThumbsDown:Ow,ThumbsUp:Vw,Ticket:Xw,TicketCheck:Bw,TicketMinus:Uw,TicketPercent:$w,TicketPlus:Gw,TicketSlash:Ww,TicketX:Zw,Tickets:Yw,TicketsPlane:Jw,Timer:eM,TimerOff:Kw,TimerReset:Qw,ToggleLeft:tM,ToggleRight:aM,Tornado:rM,Torus:nM,Touchpad:sM,TouchpadOff:iM,TowerControl:oM,ToyBrick:cM,Tractor:lM,TrafficCone:dM,TrainFront:uM,TrainFrontTunnel:hM,TrainTrack:pM,TramFront:Ss,Trash:yM,Trash2:qo,TreeDeciduous:mM,TreePalm:Is,TreePine:fM,Trees:xM,Trello:kM,TrendingDown:gM,TrendingUp:Ys,TrendingUpDown:vM,Triangle:MM,TriangleAlert:Ns,TriangleRight:wM,Trophy:bM,Truck:CM,Turtle:jM,Tv:SM,TvMinimal:As,TvMinimalPlay:LM,Twitch:IM,Twitter:NM,Type:_M,TypeOutline:AM,Umbrella:qM,UmbrellaOff:PM,Underline:TM,Undo:zM,Undo2:RM,UndoDot:DM,UnfoldHorizontal:FM,UnfoldVertical:EM,Ungroup:HM,University:_s,Unlink:VM,Unlink2:OM,Unplug:BM,Upload:qc,Usb:UM,User:Tc,UserCheck:$M,UserCog:GM,UserMinus:WM,UserPen:ZM,UserPlus:XM,UserRound:zs,UserRoundCheck:Ps,UserRoundCog:qs,UserRoundMinus:Ts,UserRoundPen:JM,UserRoundPlus:Rs,UserRoundSearch:YM,UserRoundX:Ds,UserSearch:KM,UserX:QM,Users:Ia,UsersRound:Fs,Utensils:Hs,UtensilsCrossed:Es,UtilityPole:eb,Variable:tb,Vault:ab,Vegan:rb,VenetianMask:nb,Vibrate:sb,VibrateOff:ib,Video:cb,VideoOff:ob,Videotape:lb,View:db,Voicemail:hb,Volleyball:ub,Volume:xb,Volume1:pb,Volume2:yb,VolumeOff:mb,VolumeX:fb,Vote:kb,Wallet:vb,WalletCards:gb,WalletMinimal:Os,Wallpaper:wb,Wand:Mb,WandSparkles:Vs,Warehouse:bb,WashingMachine:Cb,Watch:jb,Waves:Lb,Waypoints:Sb,Webcam:Ib,Webhook:Ab,WebhookOff:Nb,Weight:_b,Wheat:qb,WheatOff:Pb,WholeWord:Tb,Wifi:Eb,WifiHigh:Rb,WifiLow:Db,WifiOff:zb,WifiZero:Fb,Wind:Hb,Wine:Vb,WineOff:Ob,Workflow:Bb,Worm:Ub,WrapText:$b,Wrench:Gb,X:Tt,Youtube:Wb,Zap:Xb,ZapOff:Zb,ZoomIn:Jb,ZoomOut:Yb},Symbol.toStringTag,{value:"Module"}));/**
7720
+ */const vq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowUp:y1,ALargeSmall:m1,Accessibility:f1,Activity:x1,AirVent:k1,Airplay:g1,AlarmClock:w1,AlarmClockCheck:Cr,AlarmClockMinus:jr,AlarmClockOff:v1,AlarmClockPlus:Lr,AlarmSmoke:M1,Album:b1,AlignCenter:L1,AlignCenterHorizontal:C1,AlignCenterVertical:j1,AlignEndHorizontal:S1,AlignEndVertical:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeStart:_1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyEnd:q1,AlignHorizontalJustifyStart:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceBetween:D1,AlignJustify:z1,AlignLeft:F1,AlignRight:E1,AlignStartHorizontal:H1,AlignStartVertical:O1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeStart:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyStart:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceBetween:X1,Ambulance:J1,Ampersand:Y1,Ampersands:K1,Amphora:Q1,Anchor:el,Angry:tl,Annoyed:al,Antenna:rl,Anvil:nl,Aperture:il,AppWindow:ol,AppWindowMac:sl,Apple:cl,Archive:hl,ArchiveRestore:ll,ArchiveX:dl,Armchair:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowDown:Al,ArrowDown01:wl,ArrowDown10:Ml,ArrowDownAZ:Sr,ArrowDownFromLine:bl,ArrowDownLeft:Cl,ArrowDownNarrowWide:jl,ArrowDownRight:Ll,ArrowDownToDot:Sl,ArrowDownToLine:Il,ArrowDownUp:Nl,ArrowDownWideNarrow:Ir,ArrowDownZA:Nr,ArrowLeft:Gs,ArrowLeftFromLine:_l,ArrowLeftRight:Pl,ArrowLeftToLine:ql,ArrowRight:ko,ArrowRightFromLine:Tl,ArrowRightLeft:Rl,ArrowRightToLine:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp10:Fl,ArrowUpAZ:Ar,ArrowUpDown:El,ArrowUpFromDot:Hl,ArrowUpFromLine:Ol,ArrowUpLeft:Vl,ArrowUpNarrowWide:_r,ArrowUpRight:Bl,ArrowUpToLine:Ul,ArrowUpWideNarrow:$l,ArrowUpZA:Pr,ArrowsUpFromLine:Wl,Asterisk:Zl,AtSign:Xl,Atom:Jl,AudioLines:Yl,AudioWaveform:Kl,Award:La,Axe:Ql,Axis3d:qr,Baby:ed,Backpack:td,Badge:xd,BadgeAlert:ad,BadgeCent:rd,BadgeCheck:Tr,BadgeDollarSign:nd,BadgeEuro:id,BadgeHelp:sd,BadgeIndianRupee:od,BadgeInfo:cd,BadgeJapaneseYen:ld,BadgeMinus:dd,BadgePercent:hd,BadgePlus:ud,BadgePoundSterling:pd,BadgeRussianRuble:yd,BadgeSwissFranc:md,BadgeX:fd,BaggageClaim:kd,Ban:gd,Banana:vd,Bandage:wd,Banknote:Md,Barcode:bd,Baseline:Cd,Bath:jd,Battery:_d,BatteryCharging:Ld,BatteryFull:Sd,BatteryLow:Id,BatteryMedium:Nd,BatteryWarning:Ad,Beaker:Pd,Bean:Td,BeanOff:qd,Bed:zd,BedDouble:Rd,BedSingle:Dd,Beef:Fd,Beer:Hd,BeerOff:Ed,Bell:go,BellDot:Od,BellElectric:Vd,BellMinus:Bd,BellOff:Ud,BellPlus:$d,BellRing:Gd,BetweenHorizontalEnd:Rr,BetweenHorizontalStart:Dr,BetweenVerticalEnd:Wd,BetweenVerticalStart:Zd,BicepsFlexed:Xd,Bike:Jd,Binary:Yd,Binoculars:Kd,Biohazard:Qd,Bird:e2,Bitcoin:t2,Blend:a2,Blinds:r2,Blocks:n2,Bluetooth:c2,BluetoothConnected:i2,BluetoothOff:s2,BluetoothSearching:o2,Bold:l2,Bolt:d2,Bomb:h2,Bone:u2,Book:T2,BookA:p2,BookAudio:y2,BookCheck:m2,BookCopy:f2,BookDashed:zr,BookDown:x2,BookHeadphones:k2,BookHeart:g2,BookImage:v2,BookKey:w2,BookLock:M2,BookMarked:b2,BookMinus:C2,BookOpen:Wt,BookOpenCheck:j2,BookOpenText:L2,BookPlus:S2,BookText:I2,BookType:N2,BookUp:_2,BookUp2:A2,BookUser:P2,BookX:q2,Bookmark:Qa,BookmarkCheck:da,BookmarkMinus:R2,BookmarkPlus:uc,BookmarkX:D2,BoomBox:z2,Bot:pc,BotMessageSquare:F2,BotOff:E2,Box:H2,Boxes:O2,Braces:Fr,Brackets:V2,Brain:$2,BrainCircuit:B2,BrainCog:U2,BrickWall:G2,Briefcase:vt,BriefcaseBusiness:W2,BriefcaseConveyorBelt:Z2,BriefcaseMedical:X2,BringToFront:J2,Brush:Y2,Bug:e0,BugOff:K2,BugPlay:Q2,Building:vo,Building2:yc,Bus:a0,BusFront:t0,Cable:n0,CableCar:r0,Cake:s0,CakeSlice:i0,Calculator:o0,Calendar:mc,CalendarArrowDown:c0,CalendarArrowUp:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarClock:u0,CalendarCog:p0,CalendarDays:y0,CalendarFold:m0,CalendarHeart:f0,CalendarMinus:k0,CalendarMinus2:x0,CalendarOff:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarRange:M0,CalendarSearch:b0,CalendarX:j0,CalendarX2:C0,Camera:S0,CameraOff:L0,Candy:A0,CandyCane:I0,CandyOff:N0,Cannabis:_0,Captions:Er,CaptionsOff:P0,Car:R0,CarFront:q0,CarTaxiFront:T0,Caravan:D0,Carrot:z0,CaseLower:F0,CaseSensitive:E0,CaseUpper:H0,CassetteTape:O0,Cast:V0,Castle:B0,Cat:U0,Cctv:$0,ChartArea:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarDecreasing:G0,ChartBarIncreasing:W0,ChartBarStacked:Z0,ChartCandlestick:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnDecreasing:X0,ChartColumnIncreasing:$r,ChartColumnStacked:J0,ChartGantt:Y0,ChartLine:Wr,ChartNetwork:K0,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesCombined:eh,ChartNoAxesGantt:Xr,ChartPie:Jr,ChartScatter:Yr,ChartSpline:th,Check:wo,CheckCheck:ah,ChefHat:rh,Cherry:nh,ChevronDown:Ws,ChevronFirst:ih,ChevronLast:sh,ChevronLeft:Zs,ChevronRight:er,ChevronUp:fc,ChevronsDown:ch,ChevronsDownUp:oh,ChevronsLeft:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsRight:ph,ChevronsRightLeft:uh,ChevronsUp:mh,ChevronsUpDown:yh,Chrome:fh,Church:xh,Cigarette:gh,CigaretteOff:kh,Circle:Ah,CircleAlert:Bt,CircleArrowDown:Kr,CircleArrowLeft:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownRight:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpRight:rn,CircleArrowRight:nn,CircleArrowUp:sn,CircleCheck:on,CircleCheckBig:Nt,CircleChevronDown:cn,CircleChevronLeft:ln,CircleChevronRight:dn,CircleChevronUp:hn,CircleDashed:vh,CircleDivide:un,CircleDollarSign:wh,CircleDot:bh,CircleDotDashed:Mh,CircleEllipsis:Ch,CircleEqual:jh,CircleFadingArrowUp:Lh,CircleFadingPlus:Sh,CircleGauge:pn,CircleHelp:Wa,CircleMinus:yn,CircleOff:Ih,CircleParking:fn,CircleParkingOff:mn,CirclePause:xn,CirclePercent:kn,CirclePlay:gn,CirclePlus:vn,CirclePower:wn,CircleSlash:Nh,CircleSlash2:Mn,CircleStop:bn,CircleUser:jn,CircleUserRound:Cn,CircleX:ia,CircuitBoard:_h,Citrus:Ph,Clapperboard:qh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCopy:Rh,ClipboardList:Dh,ClipboardMinus:zh,ClipboardPaste:Fh,ClipboardPen:Sn,ClipboardPenLine:Ln,ClipboardPlus:Eh,ClipboardType:Hh,ClipboardX:Oh,Clock:Qt,Clock1:Bh,Clock10:Uh,Clock11:$h,Clock12:Gh,Clock2:Wh,Clock3:Zh,Clock4:Xh,Clock5:Jh,Clock6:Yh,Clock7:Kh,Clock8:Qh,Clock9:eu,ClockAlert:tu,ClockArrowDown:au,ClockArrowUp:ru,Cloud:xu,CloudCog:nu,CloudDownload:In,CloudDrizzle:iu,CloudFog:su,CloudHail:ou,CloudLightning:cu,CloudMoon:du,CloudMoonRain:lu,CloudOff:hu,CloudRain:pu,CloudRainWind:uu,CloudSnow:yu,CloudSun:fu,CloudSunRain:mu,CloudUpload:Za,Cloudy:ku,Clover:gu,Club:vu,Code:wu,CodeXml:Nn,Codepen:Mu,Codesandbox:bu,Coffee:Cu,Cog:ju,Coins:Lu,Columns2:An,Columns3:_n,Columns4:Su,Combine:Iu,Command:Nu,Compass:Au,Component:_u,Computer:Pu,ConciergeBell:qu,Cone:Tu,Construction:Ru,Contact:Du,ContactRound:Pn,Container:zu,Contrast:Fu,Cookie:Eu,CookingPot:Hu,Copy:Gu,CopyCheck:Ou,CopyMinus:Vu,CopyPlus:Bu,CopySlash:Uu,CopyX:$u,Copyleft:Wu,Copyright:Zu,CornerDownLeft:Xu,CornerDownRight:Ju,CornerLeftDown:Yu,CornerLeftUp:Ku,CornerRightDown:Qu,CornerRightUp:ep,CornerUpLeft:tp,CornerUpRight:ap,Cpu:rp,CreativeCommons:np,CreditCard:xc,Croissant:ip,Crop:sp,Cross:op,Crosshair:cp,Crown:lp,Cuboid:dp,CupSoda:hp,Currency:up,Cylinder:pp,Dam:yp,Database:xp,DatabaseBackup:mp,DatabaseZap:fp,Delete:kp,Dessert:gp,Diameter:vp,Diamond:bp,DiamondMinus:wp,DiamondPercent:qn,DiamondPlus:Mp,Dice1:Cp,Dice2:jp,Dice3:Lp,Dice4:Sp,Dice5:Ip,Dice6:Np,Dices:Ap,Diff:_p,Disc:Rp,Disc2:Pp,Disc3:qp,DiscAlbum:Tp,Divide:Dp,Dna:Fp,DnaOff:zp,Dock:Ep,Dog:Hp,DollarSign:kc,Donut:Op,DoorClosed:Vp,DoorOpen:Bp,Dot:Up,Download:$p,DraftingCompass:Gp,Drama:Wp,Dribbble:Zp,Drill:Xp,Droplet:Jp,Droplets:Yp,Drum:Kp,Drumstick:Qp,Dumbbell:ey,Ear:ay,EarOff:ty,Earth:Tn,EarthLock:ry,Eclipse:ny,Egg:oy,EggFried:iy,EggOff:sy,Ellipsis:Dn,EllipsisVertical:Rn,Equal:ly,EqualNot:cy,Eraser:dy,EthernetPort:hy,Euro:uy,Expand:py,ExternalLink:Xs,Eye:gc,EyeClosed:yy,EyeOff:my,Facebook:fy,Factory:xy,Fan:ky,FastForward:gy,Feather:vy,Fence:wy,FerrisWheel:My,Figma:by,File:gm,FileArchive:Cy,FileAudio:Ly,FileAudio2:jy,FileAxis3d:zn,FileBadge:Iy,FileBadge2:Sy,FileBox:Ny,FileChartColumn:En,FileChartColumnIncreasing:Fn,FileChartLine:Hn,FileChartPie:On,FileCheck:_y,FileCheck2:Ay,FileClock:Py,FileCode:Ty,FileCode2:qy,FileCog:Vn,FileDiff:Ry,FileDigit:Dy,FileDown:zy,FileHeart:Fy,FileImage:Ey,FileInput:Hy,FileJson:Vy,FileJson2:Oy,FileKey:Uy,FileKey2:By,FileLock:Gy,FileLock2:$y,FileMinus:Zy,FileMinus2:Wy,FileMusic:Xy,FileOutput:Jy,FilePen:Un,FilePenLine:Bn,FilePlus:Ky,FilePlus2:Yy,FileQuestion:Qy,FileScan:em,FileSearch:am,FileSearch2:tm,FileSliders:rm,FileSpreadsheet:nm,FileStack:im,FileSymlink:sm,FileTerminal:om,FileText:vc,FileType:lm,FileType2:cm,FileUp:dm,FileUser:hm,FileVideo:pm,FileVideo2:um,FileVolume:mm,FileVolume2:ym,FileWarning:fm,FileX:km,FileX2:xm,Files:vm,Film:wm,Filter:Mo,FilterX:Mm,Fingerprint:bm,FireExtinguisher:Cm,Fish:Sm,FishOff:jm,FishSymbol:Lm,Flag:wc,FlagOff:Im,FlagTriangleLeft:Nm,FlagTriangleRight:Am,Flame:Pm,FlameKindling:_m,Flashlight:Tm,FlashlightOff:qm,FlaskConical:Dm,FlaskConicalOff:Rm,FlaskRound:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipVertical:Om,FlipVertical2:Hm,Flower:Bm,Flower2:Vm,Focus:Um,FoldHorizontal:$m,FoldVertical:Gm,Folder:wf,FolderArchive:Wm,FolderCheck:Zm,FolderClock:Xm,FolderClosed:Jm,FolderCode:Ym,FolderCog:$n,FolderDot:Km,FolderDown:Qm,FolderGit:tf,FolderGit2:ef,FolderHeart:af,FolderInput:rf,FolderKanban:nf,FolderKey:sf,FolderLock:of,FolderMinus:cf,FolderOpen:df,FolderOpenDot:lf,FolderOutput:hf,FolderPen:Gn,FolderPlus:uf,FolderRoot:pf,FolderSearch:mf,FolderSearch2:yf,FolderSymlink:ff,FolderSync:xf,FolderTree:kf,FolderUp:gf,FolderX:vf,Folders:Mf,Footprints:bf,Forklift:Cf,Forward:jf,Frame:Lf,Framer:Sf,Frown:If,Fuel:Nf,Fullscreen:Af,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryThumbnails:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,Gamepad:zf,Gamepad2:Df,Gauge:Ff,Gavel:Ef,Gem:Hf,Ghost:Of,Gift:Vf,GitBranch:Uf,GitBranchPlus:Bf,GitCommitHorizontal:Wn,GitCommitVertical:$f,GitCompare:Wf,GitCompareArrows:Gf,GitFork:Zf,GitGraph:Xf,GitMerge:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestClosed:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestDraft:t4,Github:r4,Gitlab:n4,GlassWater:i4,Glasses:s4,Globe:bo,GlobeLock:o4,Goal:c4,Grab:l4,GraduationCap:Co,Grape:d4,Grid2x2:Zn,Grid2x2Check:h4,Grid2x2Plus:u4,Grid2x2X:p4,Grid3x3:Jt,Grip:f4,GripHorizontal:y4,GripVertical:m4,Group:x4,Guitar:k4,Ham:g4,Hammer:v4,Hand:j4,HandCoins:w4,HandHeart:M4,HandHelping:Xn,HandMetal:b4,HandPlatter:C4,Handshake:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveUpload:I4,HardHat:A4,Hash:_4,Haze:P4,HdmiPort:q4,Heading:H4,Heading1:T4,Heading2:R4,Heading3:D4,Heading4:z4,Heading5:F4,Heading6:E4,HeadphoneOff:O4,Headphones:V4,Headset:B4,Heart:jo,HeartCrack:U4,HeartHandshake:$4,HeartOff:G4,HeartPulse:W4,Heater:Z4,Hexagon:X4,Highlighter:J4,History:Y4,Hop:Q4,HopOff:K4,Hospital:ex,Hotel:tx,Hourglass:ax,House:Ma,HousePlug:rx,HousePlus:nx,IceCreamBowl:Jn,IceCreamCone:Yn,IdCard:ix,Image:ux,ImageDown:sx,ImageMinus:ox,ImageOff:cx,ImagePlay:lx,ImagePlus:dx,ImageUp:hx,Images:px,Import:yx,Inbox:mx,IndentDecrease:Kn,IndentIncrease:Qn,IndianRupee:fx,Infinity:xx,Info:kx,InspectionPanel:gx,Instagram:vx,Italic:wx,IterationCcw:Mx,IterationCw:bx,JapaneseYen:Cx,Joystick:jx,Kanban:Lx,Key:Nx,KeyRound:Sx,KeySquare:Ix,Keyboard:Px,KeyboardMusic:Ax,KeyboardOff:_x,Lamp:Fx,LampCeiling:qx,LampDesk:Tx,LampFloor:Rx,LampWallDown:Dx,LampWallUp:zx,LandPlot:Ex,Landmark:Hx,Languages:Ox,Laptop:Vx,LaptopMinimal:ei,Lasso:Ux,LassoSelect:Bx,Laugh:$x,Layers:Zx,Layers2:Gx,Layers3:Wx,LayoutDashboard:Mc,LayoutGrid:Xx,LayoutList:Jx,LayoutPanelLeft:Yx,LayoutPanelTop:Kx,LayoutTemplate:Qx,Leaf:ek,LeafyGreen:tk,Lectern:ak,LetterText:rk,Library:ik,LibraryBig:nk,LifeBuoy:sk,Ligature:ok,Lightbulb:lk,LightbulbOff:ck,Link:bc,Link2:hk,Link2Off:dk,Linkedin:uk,List:Cc,ListCheck:pk,ListChecks:yk,ListCollapse:mk,ListEnd:fk,ListFilter:xk,ListMinus:kk,ListMusic:gk,ListOrdered:vk,ListPlus:wk,ListRestart:Mk,ListStart:bk,ListTodo:Ck,ListTree:jk,ListVideo:Lk,ListX:Sk,Loader:Nk,LoaderCircle:ti,LoaderPinwheel:Ik,Locate:Pk,LocateFixed:Ak,LocateOff:_k,Lock:jc,LockKeyhole:qk,LockKeyholeOpen:ai,LockOpen:ri,LogIn:Tk,LogOut:Lc,Logs:Rk,Lollipop:Dk,Luggage:zk,Magnet:Fk,Mail:ha,MailCheck:Ek,MailMinus:Hk,MailOpen:Ok,MailPlus:Vk,MailQuestion:Bk,MailSearch:Uk,MailWarning:$k,MailX:Gk,Mailbox:Wk,Mails:Zk,Map:sg,MapPin:Zt,MapPinCheck:Jk,MapPinCheckInside:Xk,MapPinHouse:Yk,MapPinMinus:Qk,MapPinMinusInside:Kk,MapPinOff:eg,MapPinPlus:ag,MapPinPlusInside:tg,MapPinX:ng,MapPinXInside:rg,MapPinned:ig,Martini:og,Maximize:lg,Maximize2:cg,Medal:dg,Megaphone:ug,MegaphoneOff:hg,Meh:pg,MemoryStick:yg,Menu:Lo,Merge:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleDashed:xg,MessageCircleHeart:kg,MessageCircleMore:gg,MessageCircleOff:vg,MessageCirclePlus:wg,MessageCircleQuestion:Mg,MessageCircleReply:bg,MessageCircleWarning:Cg,MessageCircleX:jg,MessageSquare:So,MessageSquareCode:Sg,MessageSquareDashed:Ig,MessageSquareDiff:Ng,MessageSquareDot:Ag,MessageSquareHeart:_g,MessageSquareLock:Pg,MessageSquareMore:qg,MessageSquareOff:Tg,MessageSquarePlus:Rg,MessageSquareQuote:Dg,MessageSquareReply:zg,MessageSquareShare:Fg,MessageSquareText:Eg,MessageSquareWarning:Hg,MessageSquareX:Og,MessagesSquare:Vg,Mic:Ug,MicOff:Bg,MicVocal:ni,Microchip:$g,Microscope:Gg,Microwave:Wg,Milestone:Zg,Milk:Jg,MilkOff:Xg,Minimize:Kg,Minimize2:Yg,Minus:Sc,Monitor:h5,MonitorCheck:Qg,MonitorCog:e5,MonitorDot:t5,MonitorDown:a5,MonitorOff:r5,MonitorPause:n5,MonitorPlay:i5,MonitorSmartphone:s5,MonitorSpeaker:o5,MonitorStop:c5,MonitorUp:l5,MonitorX:d5,Moon:p5,MoonStar:u5,Mountain:m5,MountainSnow:y5,Mouse:w5,MouseOff:f5,MousePointer:v5,MousePointer2:x5,MousePointerBan:k5,MousePointerClick:g5,Move:T5,Move3d:ii,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDown:L5,MoveDownLeft:C5,MoveDownRight:j5,MoveHorizontal:S5,MoveLeft:I5,MoveRight:N5,MoveUp:P5,MoveUpLeft:A5,MoveUpRight:_5,MoveVertical:q5,Music:F5,Music2:R5,Music3:D5,Music4:z5,Navigation:V5,Navigation2:H5,Navigation2Off:E5,NavigationOff:O5,Network:B5,Newspaper:Sa,Nfc:U5,Notebook:Z5,NotebookPen:$5,NotebookTabs:G5,NotebookText:W5,NotepadText:J5,NotepadTextDashed:X5,Nut:K5,NutOff:Y5,Octagon:e3,OctagonAlert:si,OctagonMinus:Q5,OctagonPause:oi,OctagonX:ci,Omega:t3,Option:a3,Orbit:r3,Origami:n3,Package:u3,Package2:i3,PackageCheck:s3,PackageMinus:o3,PackageOpen:c3,PackagePlus:l3,PackageSearch:d3,PackageX:h3,PaintBucket:p3,PaintRoller:y3,Paintbrush:m3,PaintbrushVertical:li,Palette:f3,PanelBottom:g3,PanelBottomClose:x3,PanelBottomDashed:di,PanelBottomOpen:k3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftDashed:ui,PanelLeftOpen:pi,PanelRight:M3,PanelRightClose:v3,PanelRightDashed:mi,PanelRightOpen:w3,PanelTop:j3,PanelTopClose:b3,PanelTopDashed:fi,PanelTopOpen:C3,PanelsLeftBottom:L3,PanelsRightBottom:S3,PanelsTopLeft:xi,Paperclip:I3,Parentheses:N3,ParkingMeter:A3,PartyPopper:_3,Pause:P3,PawPrint:q3,PcCase:T3,Pen:gi,PenLine:ki,PenOff:R3,PenTool:D3,Pencil:H3,PencilLine:z3,PencilOff:F3,PencilRuler:E3,Pentagon:O3,Percent:V3,PersonStanding:B3,PhilippinePeso:U3,Phone:Js,PhoneCall:$3,PhoneForwarded:G3,PhoneIncoming:W3,PhoneMissed:Z3,PhoneOff:X3,PhoneOutgoing:J3,Pi:Y3,Piano:K3,Pickaxe:Q3,PictureInPicture:tv,PictureInPicture2:ev,PiggyBank:av,Pilcrow:iv,PilcrowLeft:rv,PilcrowRight:nv,Pill:ov,PillBottle:sv,Pin:lv,PinOff:cv,Pipette:dv,Pizza:hv,Plane:yv,PlaneLanding:uv,PlaneTakeoff:pv,Play:Ic,Plug:fv,Plug2:mv,PlugZap:vi,Plus:Io,Pocket:kv,PocketKnife:xv,Podcast:gv,Pointer:wv,PointerOff:vv,Popcorn:Mv,Popsicle:bv,PoundSterling:Cv,Power:Lv,PowerOff:jv,Presentation:Sv,Printer:Nv,PrinterCheck:Iv,Projector:Av,Proportions:_v,Puzzle:Pv,Pyramid:qv,QrCode:Tv,Quote:No,Rabbit:Rv,Radar:Dv,Radiation:zv,Radical:Fv,Radio:Ov,RadioReceiver:Ev,RadioTower:Hv,Radius:Vv,RailSymbol:Bv,Rainbow:Uv,Rat:$v,Ratio:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptEuro:Zv,ReceiptIndianRupee:Xv,ReceiptJapaneseYen:Jv,ReceiptPoundSterling:Yv,ReceiptRussianRuble:Kv,ReceiptSwissFranc:Qv,ReceiptText:e6,RectangleEllipsis:wi,RectangleHorizontal:a6,RectangleVertical:r6,Recycle:n6,Redo:o6,Redo2:i6,RedoDot:s6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCw:h6,RefreshCwOff:d6,Refrigerator:u6,Regex:p6,RemoveFormatting:y6,Repeat:x6,Repeat1:m6,Repeat2:f6,Replace:g6,ReplaceAll:k6,Reply:w6,ReplyAll:v6,Rewind:M6,Ribbon:b6,Rocket:C6,RockingChair:j6,RollerCoaster:L6,Rotate3d:Mi,RotateCcw:I6,RotateCcwSquare:S6,RotateCw:A6,RotateCwSquare:N6,Route:P6,RouteOff:_6,Router:q6,Rows2:bi,Rows3:Ci,Rows4:T6,Rss:R6,Ruler:D6,RussianRuble:z6,Sailboat:F6,Salad:E6,Sandwich:H6,Satellite:V6,SatelliteDish:O6,Save:$6,SaveAll:B6,SaveOff:U6,Scale:G6,Scale3d:ji,Scaling:W6,Scan:t8,ScanBarcode:Z6,ScanEye:X6,ScanFace:J6,ScanLine:Y6,ScanQrCode:K6,ScanSearch:Q6,ScanText:e8,School:a8,Scissors:n8,ScissorsLineDashed:r8,ScreenShare:s8,ScreenShareOff:i8,Scroll:c8,ScrollText:o8,Search:Xt,SearchCheck:l8,SearchCode:d8,SearchSlash:h8,SearchX:u8,Section:p8,Send:Nc,SendHorizontal:Li,SendToBack:y8,SeparatorHorizontal:m8,SeparatorVertical:f8,Server:v8,ServerCog:x8,ServerCrash:k8,ServerOff:g8,Settings:Ao,Settings2:w8,Shapes:M8,Share:b8,Share2:_o,Sheet:C8,Shell:j8,Shield:Ac,ShieldAlert:L8,ShieldBan:S8,ShieldCheck:I8,ShieldEllipsis:N8,ShieldHalf:A8,ShieldMinus:_8,ShieldOff:P8,ShieldPlus:q8,ShieldQuestion:T8,ShieldX:Si,Ship:D8,ShipWheel:R8,Shirt:z8,ShoppingBag:F8,ShoppingBasket:E8,ShoppingCart:Po,Shovel:H8,ShowerHead:O8,Shrink:V8,Shrub:B8,Shuffle:U8,Sigma:$8,Signal:_c,SignalHigh:G8,SignalLow:W8,SignalMedium:Z8,SignalZero:X8,Signature:J8,Signpost:K8,SignpostBig:Y8,Siren:Q8,SkipBack:e7,SkipForward:t7,Skull:a7,Slack:r7,Slash:n7,Slice:i7,SlidersHorizontal:tr,SlidersVertical:Ii,Smartphone:c7,SmartphoneCharging:s7,SmartphoneNfc:o7,Smile:d7,SmilePlus:l7,Snail:h7,Snowflake:u7,Sofa:p7,Soup:y7,Space:m7,Spade:f7,Sparkle:x7,Sparkles:Xa,Speaker:k7,Speech:g7,SpellCheck:w7,SpellCheck2:v7,Spline:M7,Split:b7,SprayCan:C7,Sprout:j7,Square:_7,SquareActivity:Ni,SquareArrowDown:Pi,SquareArrowDownLeft:Ai,SquareArrowDownRight:_i,SquareArrowLeft:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownRight:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpRight:Di,SquareArrowRight:Ca,SquareArrowUp:Ei,SquareArrowUpLeft:zi,SquareArrowUpRight:Fi,SquareAsterisk:Hi,SquareBottomDashedScissors:Oi,SquareChartGantt:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareChevronDown:Ui,SquareChevronLeft:$i,SquareChevronRight:Gi,SquareChevronUp:Wi,SquareCode:Zi,SquareDashed:Yi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedKanban:Xi,SquareDashedMousePointer:Ji,SquareDivide:Ki,SquareDot:Qi,SquareEqual:es,SquareFunction:ts,SquareKanban:as,SquareLibrary:rs,SquareM:ns,SquareMenu:is,SquareMinus:ss,SquareMousePointer:os,SquareParking:ls,SquareParkingOff:cs,SquarePen:St,SquarePercent:ds,SquarePi:hs,SquarePilcrow:us,SquarePlay:ps,SquarePlus:ys,SquarePower:ms,SquareRadical:I7,SquareScissors:fs,SquareSigma:xs,SquareSlash:ks,SquareSplitHorizontal:gs,SquareSplitVertical:vs,SquareSquare:N7,SquareStack:A7,SquareTerminal:ws,SquareUser:bs,SquareUserRound:Ms,SquareX:Cs,Squircle:P7,Squirrel:q7,Stamp:T7,Star:Ut,StarHalf:R7,StarOff:D7,StepBack:z7,StepForward:F7,Stethoscope:E7,Sticker:H7,StickyNote:O7,Store:V7,StretchHorizontal:B7,StretchVertical:U7,Strikethrough:$7,Subscript:G7,Sun:Y7,SunDim:W7,SunMedium:Z7,SunMoon:X7,SunSnow:J7,Sunrise:K7,Sunset:Q7,Superscript:ew,SwatchBook:tw,SwissFranc:aw,SwitchCamera:rw,Sword:nw,Swords:iw,Syringe:sw,Table:yw,Table2:ow,TableCellsMerge:cw,TableCellsSplit:lw,TableColumnsSplit:dw,TableOfContents:hw,TableProperties:uw,TableRowsSplit:pw,Tablet:fw,TabletSmartphone:mw,Tablets:xw,Tag:Pc,Tags:kw,Tally1:gw,Tally2:vw,Tally3:ww,Tally4:Mw,Tally5:bw,Tangent:Cw,Target:jw,Telescope:Lw,Tent:Iw,TentTree:Sw,Terminal:Nw,TestTube:Aw,TestTubeDiagonal:js,TestTubes:_w,Text:Dw,TextCursor:qw,TextCursorInput:Pw,TextQuote:Tw,TextSearch:Rw,TextSelect:Ls,Theater:zw,Thermometer:Hw,ThermometerSnowflake:Fw,ThermometerSun:Ew,ThumbsDown:Ow,ThumbsUp:Vw,Ticket:Xw,TicketCheck:Bw,TicketMinus:Uw,TicketPercent:$w,TicketPlus:Gw,TicketSlash:Ww,TicketX:Zw,Tickets:Yw,TicketsPlane:Jw,Timer:eM,TimerOff:Kw,TimerReset:Qw,ToggleLeft:tM,ToggleRight:aM,Tornado:rM,Torus:nM,Touchpad:sM,TouchpadOff:iM,TowerControl:oM,ToyBrick:cM,Tractor:lM,TrafficCone:dM,TrainFront:uM,TrainFrontTunnel:hM,TrainTrack:pM,TramFront:Ss,Trash:yM,Trash2:qo,TreeDeciduous:mM,TreePalm:Is,TreePine:fM,Trees:xM,Trello:kM,TrendingDown:gM,TrendingUp:Ys,TrendingUpDown:vM,Triangle:MM,TriangleAlert:Ns,TriangleRight:wM,Trophy:bM,Truck:CM,Turtle:jM,Tv:SM,TvMinimal:As,TvMinimalPlay:LM,Twitch:IM,Twitter:NM,Type:_M,TypeOutline:AM,Umbrella:qM,UmbrellaOff:PM,Underline:TM,Undo:zM,Undo2:RM,UndoDot:DM,UnfoldHorizontal:FM,UnfoldVertical:EM,Ungroup:HM,University:_s,Unlink:VM,Unlink2:OM,Unplug:BM,Upload:qc,Usb:UM,User:Tc,UserCheck:$M,UserCog:GM,UserMinus:WM,UserPen:ZM,UserPlus:XM,UserRound:zs,UserRoundCheck:Ps,UserRoundCog:qs,UserRoundMinus:Ts,UserRoundPen:JM,UserRoundPlus:Rs,UserRoundSearch:YM,UserRoundX:Ds,UserSearch:KM,UserX:QM,Users:Ia,UsersRound:Fs,Utensils:Hs,UtensilsCrossed:Es,UtilityPole:eb,Variable:tb,Vault:ab,Vegan:rb,VenetianMask:nb,Vibrate:sb,VibrateOff:ib,Video:cb,VideoOff:ob,Videotape:lb,View:db,Voicemail:hb,Volleyball:ub,Volume:xb,Volume1:pb,Volume2:yb,VolumeOff:mb,VolumeX:fb,Vote:kb,Wallet:vb,WalletCards:gb,WalletMinimal:Os,Wallpaper:wb,Wand:Mb,WandSparkles:Vs,Warehouse:bb,WashingMachine:Cb,Watch:jb,Waves:Lb,Waypoints:Sb,Webcam:Ib,Webhook:Ab,WebhookOff:Nb,Weight:_b,Wheat:qb,WheatOff:Pb,WholeWord:Tb,Wifi:Eb,WifiHigh:Rb,WifiLow:Db,WifiOff:zb,WifiZero:Fb,Wind:Hb,Wine:Vb,WineOff:Ob,Workflow:Bb,Worm:Ub,WrapText:$b,Wrench:Gb,X:Tt,Youtube:Wb,Zap:Xb,ZapOff:Zb,ZoomIn:Jb,ZoomOut:Yb},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 vq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowDownIcon:p1,AArrowUp:y1,AArrowUpIcon:y1,ALargeSmall:m1,ALargeSmallIcon:m1,Accessibility:f1,AccessibilityIcon:f1,Activity:x1,ActivityIcon:x1,ActivitySquare:Ni,ActivitySquareIcon:Ni,AirVent:k1,AirVentIcon:k1,Airplay:g1,AirplayIcon:g1,AlarmCheck:Cr,AlarmCheckIcon:Cr,AlarmClock:w1,AlarmClockCheck:Cr,AlarmClockCheckIcon:Cr,AlarmClockIcon:w1,AlarmClockMinus:jr,AlarmClockMinusIcon:jr,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:Lr,AlarmClockPlusIcon:Lr,AlarmMinus:jr,AlarmMinusIcon:jr,AlarmPlus:Lr,AlarmPlusIcon:Lr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:b1,AlbumIcon:b1,AlertCircle:Bt,AlertCircleIcon:Bt,AlertOctagon:si,AlertOctagonIcon:si,AlertTriangle:Ns,AlertTriangleIcon:Ns,AlignCenter:L1,AlignCenterHorizontal:C1,AlignCenterHorizontalIcon:C1,AlignCenterIcon:L1,AlignCenterVertical:j1,AlignCenterVerticalIcon:j1,AlignEndHorizontal:S1,AlignEndHorizontalIcon:S1,AlignEndVertical:I1,AlignEndVerticalIcon:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeCenterIcon:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeEndIcon:A1,AlignHorizontalDistributeStart:_1,AlignHorizontalDistributeStartIcon:_1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyCenterIcon:P1,AlignHorizontalJustifyEnd:q1,AlignHorizontalJustifyEndIcon:q1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceAroundIcon:R1,AlignHorizontalSpaceBetween:D1,AlignHorizontalSpaceBetweenIcon:D1,AlignJustify:z1,AlignJustifyIcon:z1,AlignLeft:F1,AlignLeftIcon:F1,AlignRight:E1,AlignRightIcon:E1,AlignStartHorizontal:H1,AlignStartHorizontalIcon:H1,AlignStartVertical:O1,AlignStartVerticalIcon:O1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeCenterIcon:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeEndIcon:B1,AlignVerticalDistributeStart:U1,AlignVerticalDistributeStartIcon:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyCenterIcon:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyEndIcon:G1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceAroundIcon:Z1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:J1,AmbulanceIcon:J1,Ampersand:Y1,AmpersandIcon:Y1,Ampersands:K1,AmpersandsIcon:K1,Amphora:Q1,AmphoraIcon:Q1,Anchor:el,AnchorIcon:el,Angry:tl,AngryIcon:tl,Annoyed:al,AnnoyedIcon:al,Antenna:rl,AntennaIcon:rl,Anvil:nl,AnvilIcon:nl,Aperture:il,ApertureIcon:il,AppWindow:ol,AppWindowIcon:ol,AppWindowMac:sl,AppWindowMacIcon:sl,Apple:cl,AppleIcon:cl,Archive:hl,ArchiveIcon:hl,ArchiveRestore:ll,ArchiveRestoreIcon:ll,ArchiveX:dl,ArchiveXIcon:dl,AreaChart:Hr,AreaChartIcon:Hr,Armchair:ul,ArmchairIcon:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigDownDashIcon:pl,ArrowBigDownIcon:yl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigLeftDashIcon:ml,ArrowBigLeftIcon:fl,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigRightDashIcon:xl,ArrowBigRightIcon:kl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowBigUpDashIcon:gl,ArrowBigUpIcon:vl,ArrowDown:Al,ArrowDown01:wl,ArrowDown01Icon:wl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:Sr,ArrowDownAZIcon:Sr,ArrowDownAz:Sr,ArrowDownAzIcon:Sr,ArrowDownCircle:Kr,ArrowDownCircleIcon:Kr,ArrowDownFromLine:bl,ArrowDownFromLineIcon:bl,ArrowDownIcon:Al,ArrowDownLeft:Cl,ArrowDownLeftFromCircle:en,ArrowDownLeftFromCircleIcon:en,ArrowDownLeftFromSquare:qi,ArrowDownLeftFromSquareIcon:qi,ArrowDownLeftIcon:Cl,ArrowDownLeftSquare:Ai,ArrowDownLeftSquareIcon:Ai,ArrowDownNarrowWide:jl,ArrowDownNarrowWideIcon:jl,ArrowDownRight:Ll,ArrowDownRightFromCircle:tn,ArrowDownRightFromCircleIcon:tn,ArrowDownRightFromSquare:Ti,ArrowDownRightFromSquareIcon:Ti,ArrowDownRightIcon:Ll,ArrowDownRightSquare:_i,ArrowDownRightSquareIcon:_i,ArrowDownSquare:Pi,ArrowDownSquareIcon:Pi,ArrowDownToDot:Sl,ArrowDownToDotIcon:Sl,ArrowDownToLine:Il,ArrowDownToLineIcon:Il,ArrowDownUp:Nl,ArrowDownUpIcon:Nl,ArrowDownWideNarrow:Ir,ArrowDownWideNarrowIcon:Ir,ArrowDownZA:Nr,ArrowDownZAIcon:Nr,ArrowDownZa:Nr,ArrowDownZaIcon:Nr,ArrowLeft:Gs,ArrowLeftCircle:Qr,ArrowLeftCircleIcon:Qr,ArrowLeftFromLine:_l,ArrowLeftFromLineIcon:_l,ArrowLeftIcon:Gs,ArrowLeftRight:Pl,ArrowLeftRightIcon:Pl,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:ql,ArrowLeftToLineIcon:ql,ArrowRight:ko,ArrowRightCircle:nn,ArrowRightCircleIcon:nn,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:ko,ArrowRightLeft:Rl,ArrowRightLeftIcon:Rl,ArrowRightSquare:Ca,ArrowRightSquareIcon:Ca,ArrowRightToLine:Dl,ArrowRightToLineIcon:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp01Icon:zl,ArrowUp10:Fl,ArrowUp10Icon:Fl,ArrowUpAZ:Ar,ArrowUpAZIcon:Ar,ArrowUpAz:Ar,ArrowUpAzIcon:Ar,ArrowUpCircle:sn,ArrowUpCircleIcon:sn,ArrowUpDown:El,ArrowUpDownIcon:El,ArrowUpFromDot:Hl,ArrowUpFromDotIcon:Hl,ArrowUpFromLine:Ol,ArrowUpFromLineIcon:Ol,ArrowUpIcon:Gl,ArrowUpLeft:Vl,ArrowUpLeftFromCircle:an,ArrowUpLeftFromCircleIcon:an,ArrowUpLeftFromSquare:Ri,ArrowUpLeftFromSquareIcon:Ri,ArrowUpLeftIcon:Vl,ArrowUpLeftSquare:zi,ArrowUpLeftSquareIcon:zi,ArrowUpNarrowWide:_r,ArrowUpNarrowWideIcon:_r,ArrowUpRight:Bl,ArrowUpRightFromCircle:rn,ArrowUpRightFromCircleIcon:rn,ArrowUpRightFromSquare:Di,ArrowUpRightFromSquareIcon:Di,ArrowUpRightIcon:Bl,ArrowUpRightSquare:Fi,ArrowUpRightSquareIcon:Fi,ArrowUpSquare:Ei,ArrowUpSquareIcon:Ei,ArrowUpToLine:Ul,ArrowUpToLineIcon:Ul,ArrowUpWideNarrow:$l,ArrowUpWideNarrowIcon:$l,ArrowUpZA:Pr,ArrowUpZAIcon:Pr,ArrowUpZa:Pr,ArrowUpZaIcon:Pr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Zl,AsteriskIcon:Zl,AsteriskSquare:Hi,AsteriskSquareIcon:Hi,AtSign:Xl,AtSignIcon:Xl,Atom:Jl,AtomIcon:Jl,AudioLines:Yl,AudioLinesIcon:Yl,AudioWaveform:Kl,AudioWaveformIcon:Kl,Award:La,AwardIcon:La,Axe:Ql,AxeIcon:Ql,Axis3D:qr,Axis3DIcon:qr,Axis3d:qr,Axis3dIcon:qr,Baby:ed,BabyIcon:ed,Backpack:td,BackpackIcon:td,Badge:xd,BadgeAlert:ad,BadgeAlertIcon:ad,BadgeCent:rd,BadgeCentIcon:rd,BadgeCheck:Tr,BadgeCheckIcon:Tr,BadgeDollarSign:nd,BadgeDollarSignIcon:nd,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:sd,BadgeHelpIcon:sd,BadgeIcon:xd,BadgeIndianRupee:od,BadgeIndianRupeeIcon:od,BadgeInfo:cd,BadgeInfoIcon:cd,BadgeJapaneseYen:ld,BadgeJapaneseYenIcon:ld,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:md,BadgeSwissFrancIcon:md,BadgeX:fd,BadgeXIcon:fd,BaggageClaim:kd,BaggageClaimIcon:kd,Ban:gd,BanIcon:gd,Banana:vd,BananaIcon:vd,Bandage:wd,BandageIcon:wd,Banknote:Md,BanknoteIcon:Md,BarChart:Ga,BarChart2:Zr,BarChart2Icon:Zr,BarChart3:Gr,BarChart3Icon:Gr,BarChart4:$r,BarChart4Icon:$r,BarChartBig:Ur,BarChartBigIcon:Ur,BarChartHorizontal:Vr,BarChartHorizontalBig:Or,BarChartHorizontalBigIcon:Or,BarChartHorizontalIcon:Vr,BarChartIcon:Ga,Barcode:bd,BarcodeIcon:bd,Baseline:Cd,BaselineIcon:Cd,Bath:jd,BathIcon:jd,Battery:_d,BatteryCharging:Ld,BatteryChargingIcon:Ld,BatteryFull:Sd,BatteryFullIcon:Sd,BatteryIcon:_d,BatteryLow:Id,BatteryLowIcon:Id,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryWarning:Ad,BatteryWarningIcon:Ad,Beaker:Pd,BeakerIcon:Pd,Bean:Td,BeanIcon:Td,BeanOff:qd,BeanOffIcon:qd,Bed:zd,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:zd,BedSingle:Dd,BedSingleIcon:Dd,Beef:Fd,BeefIcon:Fd,Beer:Hd,BeerIcon:Hd,BeerOff:Ed,BeerOffIcon:Ed,Bell:go,BellDot:Od,BellDotIcon:Od,BellElectric:Vd,BellElectricIcon:Vd,BellIcon:go,BellMinus:Bd,BellMinusIcon:Bd,BellOff:Ud,BellOffIcon:Ud,BellPlus:$d,BellPlusIcon:$d,BellRing:Gd,BellRingIcon:Gd,BetweenHorizonalEnd:Rr,BetweenHorizonalEndIcon:Rr,BetweenHorizonalStart:Dr,BetweenHorizonalStartIcon:Dr,BetweenHorizontalEnd:Rr,BetweenHorizontalEndIcon:Rr,BetweenHorizontalStart:Dr,BetweenHorizontalStartIcon:Dr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Zd,BetweenVerticalStartIcon:Zd,BicepsFlexed:Xd,BicepsFlexedIcon:Xd,Bike:Jd,BikeIcon:Jd,Binary:Yd,BinaryIcon:Yd,Binoculars:Kd,BinocularsIcon:Kd,Biohazard:Qd,BiohazardIcon:Qd,Bird:e2,BirdIcon:e2,Bitcoin:t2,BitcoinIcon:t2,Blend:a2,BlendIcon:a2,Blinds:r2,BlindsIcon:r2,Blocks:n2,BlocksIcon:n2,Bluetooth:c2,BluetoothConnected:i2,BluetoothConnectedIcon:i2,BluetoothIcon:c2,BluetoothOff:s2,BluetoothOffIcon:s2,BluetoothSearching:o2,BluetoothSearchingIcon:o2,Bold:l2,BoldIcon:l2,Bolt:d2,BoltIcon:d2,Bomb:h2,BombIcon:h2,Bone:u2,BoneIcon:u2,Book:T2,BookA:p2,BookAIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:m2,BookCheckIcon:m2,BookCopy:f2,BookCopyIcon:f2,BookDashed:zr,BookDashedIcon:zr,BookDown:x2,BookDownIcon:x2,BookHeadphones:k2,BookHeadphonesIcon:k2,BookHeart:g2,BookHeartIcon:g2,BookIcon:T2,BookImage:v2,BookImageIcon:v2,BookKey:w2,BookKeyIcon:w2,BookLock:M2,BookLockIcon:M2,BookMarked:b2,BookMarkedIcon:b2,BookMinus:C2,BookMinusIcon:C2,BookOpen:Wt,BookOpenCheck:j2,BookOpenCheckIcon:j2,BookOpenIcon:Wt,BookOpenText:L2,BookOpenTextIcon:L2,BookPlus:S2,BookPlusIcon:S2,BookTemplate:zr,BookTemplateIcon:zr,BookText:I2,BookTextIcon:I2,BookType:N2,BookTypeIcon:N2,BookUp:_2,BookUp2:A2,BookUp2Icon:A2,BookUpIcon:_2,BookUser:P2,BookUserIcon:P2,BookX:q2,BookXIcon:q2,Bookmark:Qa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Qa,BookmarkMinus:R2,BookmarkMinusIcon:R2,BookmarkPlus:uc,BookmarkPlusIcon:uc,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:z2,BoomBoxIcon:z2,Bot:pc,BotIcon:pc,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,Box:H2,BoxIcon:H2,BoxSelect:Yi,BoxSelectIcon:Yi,Boxes:O2,BoxesIcon:O2,Braces:Fr,BracesIcon:Fr,Brackets:V2,BracketsIcon:V2,Brain:$2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:U2,BrainCogIcon:U2,BrainIcon:$2,BrickWall:G2,BrickWallIcon:G2,Briefcase:vt,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:Z2,BriefcaseConveyorBeltIcon:Z2,BriefcaseIcon:vt,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:Y2,BrushIcon:Y2,Bug:e0,BugIcon:e0,BugOff:K2,BugOffIcon:K2,BugPlay:Q2,BugPlayIcon:Q2,Building:vo,Building2:yc,Building2Icon:yc,BuildingIcon:vo,Bus:a0,BusFront:t0,BusFrontIcon:t0,BusIcon:a0,Cable:n0,CableCar:r0,CableCarIcon:r0,CableIcon:n0,Cake:s0,CakeIcon:s0,CakeSlice:i0,CakeSliceIcon:i0,Calculator:o0,CalculatorIcon:o0,Calendar:mc,CalendarArrowDown:c0,CalendarArrowDownIcon:c0,CalendarArrowUp:l0,CalendarArrowUpIcon:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarCheck2Icon:d0,CalendarCheckIcon:h0,CalendarClock:u0,CalendarClockIcon:u0,CalendarCog:p0,CalendarCogIcon:p0,CalendarDays:y0,CalendarDaysIcon:y0,CalendarFold:m0,CalendarFoldIcon:m0,CalendarHeart:f0,CalendarHeartIcon:f0,CalendarIcon:mc,CalendarMinus:k0,CalendarMinus2:x0,CalendarMinus2Icon:x0,CalendarMinusIcon:k0,CalendarOff:g0,CalendarOffIcon:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarPlus2Icon:v0,CalendarPlusIcon:w0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:b0,CalendarSearchIcon:b0,CalendarX:j0,CalendarX2:C0,CalendarX2Icon:C0,CalendarXIcon:j0,Camera:S0,CameraIcon:S0,CameraOff:L0,CameraOffIcon:L0,CandlestickChart:Br,CandlestickChartIcon:Br,Candy:A0,CandyCane:I0,CandyCaneIcon:I0,CandyIcon:A0,CandyOff:N0,CandyOffIcon:N0,Cannabis:_0,CannabisIcon:_0,Captions:Er,CaptionsIcon:Er,CaptionsOff:P0,CaptionsOffIcon:P0,Car:R0,CarFront:q0,CarFrontIcon:q0,CarIcon:R0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:D0,CaravanIcon:D0,Carrot:z0,CarrotIcon:z0,CaseLower:F0,CaseLowerIcon:F0,CaseSensitive:E0,CaseSensitiveIcon:E0,CaseUpper:H0,CaseUpperIcon:H0,CassetteTape:O0,CassetteTapeIcon:O0,Cast:V0,CastIcon:V0,Castle:B0,CastleIcon:B0,Cat:U0,CatIcon:U0,Cctv:$0,CctvIcon:$0,ChartArea:Hr,ChartAreaIcon:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarBigIcon:Or,ChartBarDecreasing:G0,ChartBarDecreasingIcon:G0,ChartBarIcon:Vr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:Z0,ChartBarStackedIcon:Z0,ChartCandlestick:Br,ChartCandlestickIcon:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnBigIcon:Ur,ChartColumnDecreasing:X0,ChartColumnDecreasingIcon:X0,ChartColumnIcon:Gr,ChartColumnIncreasing:$r,ChartColumnIncreasingIcon:$r,ChartColumnStacked:J0,ChartColumnStackedIcon:J0,ChartGantt:Y0,ChartGanttIcon:Y0,ChartLine:Wr,ChartLineIcon:Wr,ChartNetwork:K0,ChartNetworkIcon:K0,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnDecreasingIcon:Q0,ChartNoAxesColumnIcon:Zr,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesColumnIncreasingIcon:Ga,ChartNoAxesCombined:eh,ChartNoAxesCombinedIcon:eh,ChartNoAxesGantt:Xr,ChartNoAxesGanttIcon:Xr,ChartPie:Jr,ChartPieIcon:Jr,ChartScatter:Yr,ChartScatterIcon:Yr,ChartSpline:th,ChartSplineIcon:th,Check:wo,CheckCheck:ah,CheckCheckIcon:ah,CheckCircle:Nt,CheckCircle2:on,CheckCircle2Icon:on,CheckCircleIcon:Nt,CheckIcon:wo,CheckSquare:Vi,CheckSquare2:Bi,CheckSquare2Icon:Bi,CheckSquareIcon:Vi,ChefHat:rh,ChefHatIcon:rh,Cherry:nh,CherryIcon:nh,ChevronDown:Ws,ChevronDownCircle:cn,ChevronDownCircleIcon:cn,ChevronDownIcon:Ws,ChevronDownSquare:Ui,ChevronDownSquareIcon:Ui,ChevronFirst:ih,ChevronFirstIcon:ih,ChevronLast:sh,ChevronLastIcon:sh,ChevronLeft:Zs,ChevronLeftCircle:ln,ChevronLeftCircleIcon:ln,ChevronLeftIcon:Zs,ChevronLeftSquare:$i,ChevronLeftSquareIcon:$i,ChevronRight:er,ChevronRightCircle:dn,ChevronRightCircleIcon:dn,ChevronRightIcon:er,ChevronRightSquare:Gi,ChevronRightSquareIcon:Gi,ChevronUp:fc,ChevronUpCircle:hn,ChevronUpCircleIcon:hn,ChevronUpIcon:fc,ChevronUpSquare:Wi,ChevronUpSquareIcon:Wi,ChevronsDown:ch,ChevronsDownIcon:ch,ChevronsDownUp:oh,ChevronsDownUpIcon:oh,ChevronsLeft:hh,ChevronsLeftIcon:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsLeftRightEllipsisIcon:lh,ChevronsLeftRightIcon:dh,ChevronsRight:ph,ChevronsRightIcon:ph,ChevronsRightLeft:uh,ChevronsRightLeftIcon:uh,ChevronsUp:mh,ChevronsUpDown:yh,ChevronsUpDownIcon:yh,ChevronsUpIcon:mh,Chrome:fh,ChromeIcon:fh,Church:xh,ChurchIcon:xh,Cigarette:gh,CigaretteIcon:gh,CigaretteOff:kh,CigaretteOffIcon:kh,Circle:Ah,CircleAlert:Bt,CircleAlertIcon:Bt,CircleArrowDown:Kr,CircleArrowDownIcon:Kr,CircleArrowLeft:Qr,CircleArrowLeftIcon:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownLeftIcon:en,CircleArrowOutDownRight:tn,CircleArrowOutDownRightIcon:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpLeftIcon:an,CircleArrowOutUpRight:rn,CircleArrowOutUpRightIcon:rn,CircleArrowRight:nn,CircleArrowRightIcon:nn,CircleArrowUp:sn,CircleArrowUpIcon:sn,CircleCheck:on,CircleCheckBig:Nt,CircleCheckBigIcon:Nt,CircleCheckIcon:on,CircleChevronDown:cn,CircleChevronDownIcon:cn,CircleChevronLeft:ln,CircleChevronLeftIcon:ln,CircleChevronRight:dn,CircleChevronRightIcon:dn,CircleChevronUp:hn,CircleChevronUpIcon:hn,CircleDashed:vh,CircleDashedIcon:vh,CircleDivide:un,CircleDivideIcon:un,CircleDollarSign:wh,CircleDollarSignIcon:wh,CircleDot:bh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:bh,CircleEllipsis:Ch,CircleEllipsisIcon:Ch,CircleEqual:jh,CircleEqualIcon:jh,CircleFadingArrowUp:Lh,CircleFadingArrowUpIcon:Lh,CircleFadingPlus:Sh,CircleFadingPlusIcon:Sh,CircleGauge:pn,CircleGaugeIcon:pn,CircleHelp:Wa,CircleHelpIcon:Wa,CircleIcon:Ah,CircleMinus:yn,CircleMinusIcon:yn,CircleOff:Ih,CircleOffIcon:Ih,CircleParking:fn,CircleParkingIcon:fn,CircleParkingOff:mn,CircleParkingOffIcon:mn,CirclePause:xn,CirclePauseIcon:xn,CirclePercent:kn,CirclePercentIcon:kn,CirclePlay:gn,CirclePlayIcon:gn,CirclePlus:vn,CirclePlusIcon:vn,CirclePower:wn,CirclePowerIcon:wn,CircleSlash:Nh,CircleSlash2:Mn,CircleSlash2Icon:Mn,CircleSlashIcon:Nh,CircleSlashed:Mn,CircleSlashedIcon:Mn,CircleStop:bn,CircleStopIcon:bn,CircleUser:jn,CircleUserIcon:jn,CircleUserRound:Cn,CircleUserRoundIcon:Cn,CircleX:ia,CircleXIcon:ia,CircuitBoard:_h,CircuitBoardIcon:_h,Citrus:Ph,CitrusIcon:Ph,Clapperboard:qh,ClapperboardIcon:qh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:Rh,ClipboardCopyIcon:Rh,ClipboardEdit:Sn,ClipboardEditIcon:Sn,ClipboardIcon:Vh,ClipboardList:Dh,ClipboardListIcon:Dh,ClipboardMinus:zh,ClipboardMinusIcon:zh,ClipboardPaste:Fh,ClipboardPasteIcon:Fh,ClipboardPen:Sn,ClipboardPenIcon:Sn,ClipboardPenLine:Ln,ClipboardPenLineIcon:Ln,ClipboardPlus:Eh,ClipboardPlusIcon:Eh,ClipboardSignature:Ln,ClipboardSignatureIcon:Ln,ClipboardType:Hh,ClipboardTypeIcon:Hh,ClipboardX:Oh,ClipboardXIcon:Oh,Clock:Qt,Clock1:Bh,Clock10:Uh,Clock10Icon:Uh,Clock11:$h,Clock11Icon:$h,Clock12:Gh,Clock12Icon:Gh,Clock1Icon:Bh,Clock2:Wh,Clock2Icon:Wh,Clock3:Zh,Clock3Icon:Zh,Clock4:Xh,Clock4Icon:Xh,Clock5:Jh,Clock5Icon:Jh,Clock6:Yh,Clock6Icon:Yh,Clock7:Kh,Clock7Icon:Kh,Clock8:Qh,Clock8Icon:Qh,Clock9:eu,Clock9Icon:eu,ClockAlert:tu,ClockAlertIcon:tu,ClockArrowDown:au,ClockArrowDownIcon:au,ClockArrowUp:ru,ClockArrowUpIcon:ru,ClockIcon:Qt,Cloud:xu,CloudCog:nu,CloudCogIcon:nu,CloudDownload:In,CloudDownloadIcon:In,CloudDrizzle:iu,CloudDrizzleIcon:iu,CloudFog:su,CloudFogIcon:su,CloudHail:ou,CloudHailIcon:ou,CloudIcon:xu,CloudLightning:cu,CloudLightningIcon:cu,CloudMoon:du,CloudMoonIcon:du,CloudMoonRain:lu,CloudMoonRainIcon:lu,CloudOff:hu,CloudOffIcon:hu,CloudRain:pu,CloudRainIcon:pu,CloudRainWind:uu,CloudRainWindIcon:uu,CloudSnow:yu,CloudSnowIcon:yu,CloudSun:fu,CloudSunIcon:fu,CloudSunRain:mu,CloudSunRainIcon:mu,CloudUpload:Za,CloudUploadIcon:Za,Cloudy:ku,CloudyIcon:ku,Clover:gu,CloverIcon:gu,Club:vu,ClubIcon:vu,Code:wu,Code2:Nn,Code2Icon:Nn,CodeIcon:wu,CodeSquare:Zi,CodeSquareIcon:Zi,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:bu,CodesandboxIcon:bu,Coffee:Cu,CoffeeIcon:Cu,Cog:ju,CogIcon:ju,Coins:Lu,CoinsIcon:Lu,Columns:An,Columns2:An,Columns2Icon:An,Columns3:_n,Columns3Icon:_n,Columns4:Su,Columns4Icon:Su,ColumnsIcon:An,Combine:Iu,CombineIcon:Iu,Command:Nu,CommandIcon:Nu,Compass:Au,CompassIcon:Au,Component:_u,ComponentIcon:_u,Computer:Pu,ComputerIcon:Pu,ConciergeBell:qu,ConciergeBellIcon:qu,Cone:Tu,ConeIcon:Tu,Construction:Ru,ConstructionIcon:Ru,Contact:Du,Contact2:Pn,Contact2Icon:Pn,ContactIcon:Du,ContactRound:Pn,ContactRoundIcon:Pn,Container:zu,ContainerIcon:zu,Contrast:Fu,ContrastIcon:Fu,Cookie:Eu,CookieIcon:Eu,CookingPot:Hu,CookingPotIcon:Hu,Copy:Gu,CopyCheck:Ou,CopyCheckIcon:Ou,CopyIcon:Gu,CopyMinus:Vu,CopyMinusIcon:Vu,CopyPlus:Bu,CopyPlusIcon:Bu,CopySlash:Uu,CopySlashIcon:Uu,CopyX:$u,CopyXIcon:$u,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Zu,CopyrightIcon:Zu,CornerDownLeft:Xu,CornerDownLeftIcon:Xu,CornerDownRight:Ju,CornerDownRightIcon:Ju,CornerLeftDown:Yu,CornerLeftDownIcon:Yu,CornerLeftUp:Ku,CornerLeftUpIcon:Ku,CornerRightDown:Qu,CornerRightDownIcon:Qu,CornerRightUp:ep,CornerRightUpIcon:ep,CornerUpLeft:tp,CornerUpLeftIcon:tp,CornerUpRight:ap,CornerUpRightIcon:ap,Cpu:rp,CpuIcon:rp,CreativeCommons:np,CreativeCommonsIcon:np,CreditCard:xc,CreditCardIcon:xc,Croissant:ip,CroissantIcon:ip,Crop:sp,CropIcon:sp,Cross:op,CrossIcon:op,Crosshair:cp,CrosshairIcon:cp,Crown:lp,CrownIcon:lp,Cuboid:dp,CuboidIcon:dp,CupSoda:hp,CupSodaIcon:hp,CurlyBraces:Fr,CurlyBracesIcon:Fr,Currency:up,CurrencyIcon:up,Cylinder:pp,CylinderIcon:pp,Dam:yp,DamIcon:yp,Database:xp,DatabaseBackup:mp,DatabaseBackupIcon:mp,DatabaseIcon:xp,DatabaseZap:fp,DatabaseZapIcon:fp,Delete:kp,DeleteIcon:kp,Dessert:gp,DessertIcon:gp,Diameter:vp,DiameterIcon:vp,Diamond:bp,DiamondIcon:bp,DiamondMinus:wp,DiamondMinusIcon:wp,DiamondPercent:qn,DiamondPercentIcon:qn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:Cp,Dice1Icon:Cp,Dice2:jp,Dice2Icon:jp,Dice3:Lp,Dice3Icon:Lp,Dice4:Sp,Dice4Icon:Sp,Dice5:Ip,Dice5Icon:Ip,Dice6:Np,Dice6Icon:Np,Dices:Ap,DicesIcon:Ap,Diff:_p,DiffIcon:_p,Disc:Rp,Disc2:Pp,Disc2Icon:Pp,Disc3:qp,Disc3Icon:qp,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:Rp,Divide:Dp,DivideCircle:un,DivideCircleIcon:un,DivideIcon:Dp,DivideSquare:Ki,DivideSquareIcon:Ki,Dna:Fp,DnaIcon:Fp,DnaOff:zp,DnaOffIcon:zp,Dock:Ep,DockIcon:Ep,Dog:Hp,DogIcon:Hp,DollarSign:kc,DollarSignIcon:kc,Donut:Op,DonutIcon:Op,DoorClosed:Vp,DoorClosedIcon:Vp,DoorOpen:Bp,DoorOpenIcon:Bp,Dot:Up,DotIcon:Up,DotSquare:Qi,DotSquareIcon:Qi,Download:$p,DownloadCloud:In,DownloadCloudIcon:In,DownloadIcon:$p,DraftingCompass:Gp,DraftingCompassIcon:Gp,Drama:Wp,DramaIcon:Wp,Dribbble:Zp,DribbbleIcon:Zp,Drill:Xp,DrillIcon:Xp,Droplet:Jp,DropletIcon:Jp,Droplets:Yp,DropletsIcon:Yp,Drum:Kp,DrumIcon:Kp,Drumstick:Qp,DrumstickIcon:Qp,Dumbbell:ey,DumbbellIcon:ey,Ear:ay,EarIcon:ay,EarOff:ty,EarOffIcon:ty,Earth:Tn,EarthIcon:Tn,EarthLock:ry,EarthLockIcon:ry,Eclipse:ny,EclipseIcon:ny,Edit:St,Edit2:gi,Edit2Icon:gi,Edit3:ki,Edit3Icon:ki,EditIcon:St,Egg:oy,EggFried:iy,EggFriedIcon:iy,EggIcon:oy,EggOff:sy,EggOffIcon:sy,Ellipsis:Dn,EllipsisIcon:Dn,EllipsisVertical:Rn,EllipsisVerticalIcon:Rn,Equal:ly,EqualIcon:ly,EqualNot:cy,EqualNotIcon:cy,EqualSquare:es,EqualSquareIcon:es,Eraser:dy,EraserIcon:dy,EthernetPort:hy,EthernetPortIcon:hy,Euro:uy,EuroIcon:uy,Expand:py,ExpandIcon:py,ExternalLink:Xs,ExternalLinkIcon:Xs,Eye:gc,EyeClosed:yy,EyeClosedIcon:yy,EyeIcon:gc,EyeOff:my,EyeOffIcon:my,Facebook:fy,FacebookIcon:fy,Factory:xy,FactoryIcon:xy,Fan:ky,FanIcon:ky,FastForward:gy,FastForwardIcon:gy,Feather:vy,FeatherIcon:vy,Fence:wy,FenceIcon:wy,FerrisWheel:My,FerrisWheelIcon:My,Figma:by,FigmaIcon:by,File:gm,FileArchive:Cy,FileArchiveIcon:Cy,FileAudio:Ly,FileAudio2:jy,FileAudio2Icon:jy,FileAudioIcon:Ly,FileAxis3D:zn,FileAxis3DIcon:zn,FileAxis3d:zn,FileAxis3dIcon:zn,FileBadge:Iy,FileBadge2:Sy,FileBadge2Icon:Sy,FileBadgeIcon:Iy,FileBarChart:Fn,FileBarChart2:En,FileBarChart2Icon:En,FileBarChartIcon:Fn,FileBox:Ny,FileBoxIcon:Ny,FileChartColumn:En,FileChartColumnIcon:En,FileChartColumnIncreasing:Fn,FileChartColumnIncreasingIcon:Fn,FileChartLine:Hn,FileChartLineIcon:Hn,FileChartPie:On,FileChartPieIcon:On,FileCheck:_y,FileCheck2:Ay,FileCheck2Icon:Ay,FileCheckIcon:_y,FileClock:Py,FileClockIcon:Py,FileCode:Ty,FileCode2:qy,FileCode2Icon:qy,FileCodeIcon:Ty,FileCog:Vn,FileCog2:Vn,FileCog2Icon:Vn,FileCogIcon:Vn,FileDiff:Ry,FileDiffIcon:Ry,FileDigit:Dy,FileDigitIcon:Dy,FileDown:zy,FileDownIcon:zy,FileEdit:Un,FileEditIcon:Un,FileHeart:Fy,FileHeartIcon:Fy,FileIcon:gm,FileImage:Ey,FileImageIcon:Ey,FileInput:Hy,FileInputIcon:Hy,FileJson:Vy,FileJson2:Oy,FileJson2Icon:Oy,FileJsonIcon:Vy,FileKey:Uy,FileKey2:By,FileKey2Icon:By,FileKeyIcon:Uy,FileLineChart:Hn,FileLineChartIcon:Hn,FileLock:Gy,FileLock2:$y,FileLock2Icon:$y,FileLockIcon:Gy,FileMinus:Zy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Zy,FileMusic:Xy,FileMusicIcon:Xy,FileOutput:Jy,FileOutputIcon:Jy,FilePen:Un,FilePenIcon:Un,FilePenLine:Bn,FilePenLineIcon:Bn,FilePieChart:On,FilePieChartIcon:On,FilePlus:Ky,FilePlus2:Yy,FilePlus2Icon:Yy,FilePlusIcon:Ky,FileQuestion:Qy,FileQuestionIcon:Qy,FileScan:em,FileScanIcon:em,FileSearch:am,FileSearch2:tm,FileSearch2Icon:tm,FileSearchIcon:am,FileSignature:Bn,FileSignatureIcon:Bn,FileSliders:rm,FileSlidersIcon:rm,FileSpreadsheet:nm,FileSpreadsheetIcon:nm,FileStack:im,FileStackIcon:im,FileSymlink:sm,FileSymlinkIcon:sm,FileTerminal:om,FileTerminalIcon:om,FileText:vc,FileTextIcon:vc,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:wm,FilmIcon:wm,Filter:Mo,FilterIcon:Mo,FilterX:Mm,FilterXIcon:Mm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Sm,FishIcon:Sm,FishOff:jm,FishOffIcon:jm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:wc,FlagIcon:wc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:Pm,FlameIcon:Pm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:Tm,FlashlightIcon:Tm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:Rm,FlaskConicalOffIcon:Rm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Om,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Om,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Gm,FoldVerticalIcon:Gm,Folder:wf,FolderArchive:Wm,FolderArchiveIcon:Wm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:$n,FolderCog2:$n,FolderCog2Icon:$n,FolderCogIcon:$n,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:Gn,FolderEditIcon:Gn,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:wf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:sf,FolderKeyIcon:sf,FolderLock:of,FolderLockIcon:of,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:Gn,FolderPenIcon:Gn,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:Mf,FoldersIcon:Mf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Hs,ForkKnifeCrossed:Es,ForkKnifeCrossedIcon:Es,ForkKnifeIcon:Hs,Forklift:Cf,ForkliftIcon:Cf,FormInput:wi,FormInputIcon:wi,Forward:jf,ForwardIcon:jf,Frame:Lf,FrameIcon:Lf,Framer:Sf,FramerIcon:Sf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:ts,FunctionSquareIcon:ts,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Pf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,GalleryVerticalEndIcon:Tf,GalleryVerticalIcon:Rf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Xr,GanttChartIcon:Xr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Ff,GaugeCircle:pn,GaugeCircleIcon:pn,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Hf,GemIcon:Hf,Ghost:Of,GhostIcon:Of,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:Wn,GitCommitHorizontal:Wn,GitCommitHorizontalIcon:Wn,GitCommitIcon:Wn,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Wf,GitCompareArrows:Gf,GitCompareArrowsIcon:Gf,GitCompareIcon:Wf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:i4,GlassWaterIcon:i4,Glasses:s4,GlassesIcon:s4,Globe:bo,Globe2:Tn,Globe2Icon:Tn,GlobeIcon:bo,GlobeLock:o4,GlobeLockIcon:o4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:Co,GraduationCapIcon:Co,Grape:d4,GrapeIcon:d4,Grid:Jt,Grid2X2:Zn,Grid2X2Icon:Zn,Grid2x2:Zn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Zn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:w4,HandCoinsIcon:w4,HandHeart:M4,HandHeartIcon:M4,HandHelping:Xn,HandHelpingIcon:Xn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:L4,HandshakeIcon:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveDownloadIcon:S4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:_4,HashIcon:_4,Haze:P4,HazeIcon:P4,HdmiPort:q4,HdmiPortIcon:q4,Heading:H4,Heading1:T4,Heading1Icon:T4,Heading2:R4,Heading2Icon:R4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:H4,HeadphoneOff:O4,HeadphoneOffIcon:O4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:jo,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:jo,HeartOff:G4,HeartOffIcon:G4,HeartPulse:W4,HeartPulseIcon:W4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Wa,HelpCircleIcon:Wa,HelpingHand:Xn,HelpingHandIcon:Xn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:Ma,HomeIcon:Ma,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:Ma,HouseIcon:Ma,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:Yn,IceCream2:Jn,IceCream2Icon:Jn,IceCreamBowl:Jn,IceCreamBowlIcon:Jn,IceCreamCone:Yn,IceCreamConeIcon:Yn,IceCreamIcon:Yn,Icon:SS,IdCard:ix,IdCardIcon:ix,Image:ux,ImageDown:sx,ImageDownIcon:sx,ImageIcon:ux,ImageMinus:ox,ImageMinusIcon:ox,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:Qn,IndentDecrease:Kn,IndentDecreaseIcon:Kn,IndentIcon:Qn,IndentIncrease:Qn,IndentIncreaseIcon:Qn,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:os,InspectIcon:os,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:wx,ItalicIcon:wx,IterationCcw:Mx,IterationCcwIcon:Mx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:as,KanbanSquareDashed:Xi,KanbanSquareDashedIcon:Xi,KanbanSquareIcon:as,Key:Nx,KeyIcon:Nx,KeyRound:Sx,KeyRoundIcon:Sx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:Px,KeyboardIcon:Px,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Fx,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Tx,LampDeskIcon:Tx,LampFloor:Rx,LampFloorIcon:Rx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Hx,LandmarkIcon:Hx,Languages:Ox,LanguagesIcon:Ox,Laptop:Vx,Laptop2:ei,Laptop2Icon:ei,LaptopIcon:Vx,LaptopMinimal:ei,LaptopMinimalIcon:ei,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Gx,Layers2Icon:Gx,Layers3:Wx,Layers3Icon:Wx,LayersIcon:Zx,Layout:xi,LayoutDashboard:Mc,LayoutDashboardIcon:Mc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:xi,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ik,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ik,LibrarySquare:rs,LibrarySquareIcon:rs,LifeBuoy:sk,LifeBuoyIcon:sk,Ligature:ok,LigatureIcon:ok,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:Wr,LineChartIcon:Wr,Link:bc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:bc,Linkedin:uk,LinkedinIcon:uk,List:Cc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:Cc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:wk,ListPlusIcon:wk,ListRestart:Mk,ListRestartIcon:Mk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Sk,ListXIcon:Sk,Loader:Nk,Loader2:ti,Loader2Icon:ti,LoaderCircle:ti,LoaderCircleIcon:ti,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:Pk,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:Pk,LocateOff:_k,LocateOffIcon:_k,Lock:jc,LockIcon:jc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:ai,LockKeyholeOpenIcon:ai,LockOpen:ri,LockOpenIcon:ri,LogIn:Tk,LogInIcon:Tk,LogOut:Lc,LogOutIcon:Lc,Logs:Rk,LogsIcon:Rk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:p1,LucideAArrowUp:y1,LucideALargeSmall:m1,LucideAccessibility:f1,LucideActivity:x1,LucideActivitySquare:Ni,LucideAirVent:k1,LucideAirplay:g1,LucideAlarmCheck:Cr,LucideAlarmClock:w1,LucideAlarmClockCheck:Cr,LucideAlarmClockMinus:jr,LucideAlarmClockOff:v1,LucideAlarmClockPlus:Lr,LucideAlarmMinus:jr,LucideAlarmPlus:Lr,LucideAlarmSmoke:M1,LucideAlbum:b1,LucideAlertCircle:Bt,LucideAlertOctagon:si,LucideAlertTriangle:Ns,LucideAlignCenter:L1,LucideAlignCenterHorizontal:C1,LucideAlignCenterVertical:j1,LucideAlignEndHorizontal:S1,LucideAlignEndVertical:I1,LucideAlignHorizontalDistributeCenter:N1,LucideAlignHorizontalDistributeEnd:A1,LucideAlignHorizontalDistributeStart:_1,LucideAlignHorizontalJustifyCenter:P1,LucideAlignHorizontalJustifyEnd:q1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:R1,LucideAlignHorizontalSpaceBetween:D1,LucideAlignJustify:z1,LucideAlignLeft:F1,LucideAlignRight:E1,LucideAlignStartHorizontal:H1,LucideAlignStartVertical:O1,LucideAlignVerticalDistributeCenter:V1,LucideAlignVerticalDistributeEnd:B1,LucideAlignVerticalDistributeStart:U1,LucideAlignVerticalJustifyCenter:$1,LucideAlignVerticalJustifyEnd:G1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:Z1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:J1,LucideAmpersand:Y1,LucideAmpersands:K1,LucideAmphora:Q1,LucideAnchor:el,LucideAngry:tl,LucideAnnoyed:al,LucideAntenna:rl,LucideAnvil:nl,LucideAperture:il,LucideAppWindow:ol,LucideAppWindowMac:sl,LucideApple:cl,LucideArchive:hl,LucideArchiveRestore:ll,LucideArchiveX:dl,LucideAreaChart:Hr,LucideArmchair:ul,LucideArrowBigDown:yl,LucideArrowBigDownDash:pl,LucideArrowBigLeft:fl,LucideArrowBigLeftDash:ml,LucideArrowBigRight:kl,LucideArrowBigRightDash:xl,LucideArrowBigUp:vl,LucideArrowBigUpDash:gl,LucideArrowDown:Al,LucideArrowDown01:wl,LucideArrowDown10:Ml,LucideArrowDownAZ:Sr,LucideArrowDownAz:Sr,LucideArrowDownCircle:Kr,LucideArrowDownFromLine:bl,LucideArrowDownLeft:Cl,LucideArrowDownLeftFromCircle:en,LucideArrowDownLeftFromSquare:qi,LucideArrowDownLeftSquare:Ai,LucideArrowDownNarrowWide:jl,LucideArrowDownRight:Ll,LucideArrowDownRightFromCircle:tn,LucideArrowDownRightFromSquare:Ti,LucideArrowDownRightSquare:_i,LucideArrowDownSquare:Pi,LucideArrowDownToDot:Sl,LucideArrowDownToLine:Il,LucideArrowDownUp:Nl,LucideArrowDownWideNarrow:Ir,LucideArrowDownZA:Nr,LucideArrowDownZa:Nr,LucideArrowLeft:Gs,LucideArrowLeftCircle:Qr,LucideArrowLeftFromLine:_l,LucideArrowLeftRight:Pl,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:ql,LucideArrowRight:ko,LucideArrowRightCircle:nn,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:Rl,LucideArrowRightSquare:Ca,LucideArrowRightToLine:Dl,LucideArrowUp:Gl,LucideArrowUp01:zl,LucideArrowUp10:Fl,LucideArrowUpAZ:Ar,LucideArrowUpAz:Ar,LucideArrowUpCircle:sn,LucideArrowUpDown:El,LucideArrowUpFromDot:Hl,LucideArrowUpFromLine:Ol,LucideArrowUpLeft:Vl,LucideArrowUpLeftFromCircle:an,LucideArrowUpLeftFromSquare:Ri,LucideArrowUpLeftSquare:zi,LucideArrowUpNarrowWide:_r,LucideArrowUpRight:Bl,LucideArrowUpRightFromCircle:rn,LucideArrowUpRightFromSquare:Di,LucideArrowUpRightSquare:Fi,LucideArrowUpSquare:Ei,LucideArrowUpToLine:Ul,LucideArrowUpWideNarrow:$l,LucideArrowUpZA:Pr,LucideArrowUpZa:Pr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Zl,LucideAsteriskSquare:Hi,LucideAtSign:Xl,LucideAtom:Jl,LucideAudioLines:Yl,LucideAudioWaveform:Kl,LucideAward:La,LucideAxe:Ql,LucideAxis3D:qr,LucideAxis3d:qr,LucideBaby:ed,LucideBackpack:td,LucideBadge:xd,LucideBadgeAlert:ad,LucideBadgeCent:rd,LucideBadgeCheck:Tr,LucideBadgeDollarSign:nd,LucideBadgeEuro:id,LucideBadgeHelp:sd,LucideBadgeIndianRupee:od,LucideBadgeInfo:cd,LucideBadgeJapaneseYen:ld,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:md,LucideBadgeX:fd,LucideBaggageClaim:kd,LucideBan:gd,LucideBanana:vd,LucideBandage:wd,LucideBanknote:Md,LucideBarChart:Ga,LucideBarChart2:Zr,LucideBarChart3:Gr,LucideBarChart4:$r,LucideBarChartBig:Ur,LucideBarChartHorizontal:Vr,LucideBarChartHorizontalBig:Or,LucideBarcode:bd,LucideBaseline:Cd,LucideBath:jd,LucideBattery:_d,LucideBatteryCharging:Ld,LucideBatteryFull:Sd,LucideBatteryLow:Id,LucideBatteryMedium:Nd,LucideBatteryWarning:Ad,LucideBeaker:Pd,LucideBean:Td,LucideBeanOff:qd,LucideBed:zd,LucideBedDouble:Rd,LucideBedSingle:Dd,LucideBeef:Fd,LucideBeer:Hd,LucideBeerOff:Ed,LucideBell:go,LucideBellDot:Od,LucideBellElectric:Vd,LucideBellMinus:Bd,LucideBellOff:Ud,LucideBellPlus:$d,LucideBellRing:Gd,LucideBetweenHorizonalEnd:Rr,LucideBetweenHorizonalStart:Dr,LucideBetweenHorizontalEnd:Rr,LucideBetweenHorizontalStart:Dr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Zd,LucideBicepsFlexed:Xd,LucideBike:Jd,LucideBinary:Yd,LucideBinoculars:Kd,LucideBiohazard:Qd,LucideBird:e2,LucideBitcoin:t2,LucideBlend:a2,LucideBlinds:r2,LucideBlocks:n2,LucideBluetooth:c2,LucideBluetoothConnected:i2,LucideBluetoothOff:s2,LucideBluetoothSearching:o2,LucideBold:l2,LucideBolt:d2,LucideBomb:h2,LucideBone:u2,LucideBook:T2,LucideBookA:p2,LucideBookAudio:y2,LucideBookCheck:m2,LucideBookCopy:f2,LucideBookDashed:zr,LucideBookDown:x2,LucideBookHeadphones:k2,LucideBookHeart:g2,LucideBookImage:v2,LucideBookKey:w2,LucideBookLock:M2,LucideBookMarked:b2,LucideBookMinus:C2,LucideBookOpen:Wt,LucideBookOpenCheck:j2,LucideBookOpenText:L2,LucideBookPlus:S2,LucideBookTemplate:zr,LucideBookText:I2,LucideBookType:N2,LucideBookUp:_2,LucideBookUp2:A2,LucideBookUser:P2,LucideBookX:q2,LucideBookmark:Qa,LucideBookmarkCheck:da,LucideBookmarkMinus:R2,LucideBookmarkPlus:uc,LucideBookmarkX:D2,LucideBoomBox:z2,LucideBot:pc,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBox:H2,LucideBoxSelect:Yi,LucideBoxes:O2,LucideBraces:Fr,LucideBrackets:V2,LucideBrain:$2,LucideBrainCircuit:B2,LucideBrainCog:U2,LucideBrickWall:G2,LucideBriefcase:vt,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:Z2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:Y2,LucideBug:e0,LucideBugOff:K2,LucideBugPlay:Q2,LucideBuilding:vo,LucideBuilding2:yc,LucideBus:a0,LucideBusFront:t0,LucideCable:n0,LucideCableCar:r0,LucideCake:s0,LucideCakeSlice:i0,LucideCalculator:o0,LucideCalendar:mc,LucideCalendarArrowDown:c0,LucideCalendarArrowUp:l0,LucideCalendarCheck:h0,LucideCalendarCheck2:d0,LucideCalendarClock:u0,LucideCalendarCog:p0,LucideCalendarDays:y0,LucideCalendarFold:m0,LucideCalendarHeart:f0,LucideCalendarMinus:k0,LucideCalendarMinus2:x0,LucideCalendarOff:g0,LucideCalendarPlus:w0,LucideCalendarPlus2:v0,LucideCalendarRange:M0,LucideCalendarSearch:b0,LucideCalendarX:j0,LucideCalendarX2:C0,LucideCamera:S0,LucideCameraOff:L0,LucideCandlestickChart:Br,LucideCandy:A0,LucideCandyCane:I0,LucideCandyOff:N0,LucideCannabis:_0,LucideCaptions:Er,LucideCaptionsOff:P0,LucideCar:R0,LucideCarFront:q0,LucideCarTaxiFront:T0,LucideCaravan:D0,LucideCarrot:z0,LucideCaseLower:F0,LucideCaseSensitive:E0,LucideCaseUpper:H0,LucideCassetteTape:O0,LucideCast:V0,LucideCastle:B0,LucideCat:U0,LucideCctv:$0,LucideChartArea:Hr,LucideChartBar:Vr,LucideChartBarBig:Or,LucideChartBarDecreasing:G0,LucideChartBarIncreasing:W0,LucideChartBarStacked:Z0,LucideChartCandlestick:Br,LucideChartColumn:Gr,LucideChartColumnBig:Ur,LucideChartColumnDecreasing:X0,LucideChartColumnIncreasing:$r,LucideChartColumnStacked:J0,LucideChartGantt:Y0,LucideChartLine:Wr,LucideChartNetwork:K0,LucideChartNoAxesColumn:Zr,LucideChartNoAxesColumnDecreasing:Q0,LucideChartNoAxesColumnIncreasing:Ga,LucideChartNoAxesCombined:eh,LucideChartNoAxesGantt:Xr,LucideChartPie:Jr,LucideChartScatter:Yr,LucideChartSpline:th,LucideCheck:wo,LucideCheckCheck:ah,LucideCheckCircle:Nt,LucideCheckCircle2:on,LucideCheckSquare:Vi,LucideCheckSquare2:Bi,LucideChefHat:rh,LucideCherry:nh,LucideChevronDown:Ws,LucideChevronDownCircle:cn,LucideChevronDownSquare:Ui,LucideChevronFirst:ih,LucideChevronLast:sh,LucideChevronLeft:Zs,LucideChevronLeftCircle:ln,LucideChevronLeftSquare:$i,LucideChevronRight:er,LucideChevronRightCircle:dn,LucideChevronRightSquare:Gi,LucideChevronUp:fc,LucideChevronUpCircle:hn,LucideChevronUpSquare:Wi,LucideChevronsDown:ch,LucideChevronsDownUp:oh,LucideChevronsLeft:hh,LucideChevronsLeftRight:dh,LucideChevronsLeftRightEllipsis:lh,LucideChevronsRight:ph,LucideChevronsRightLeft:uh,LucideChevronsUp:mh,LucideChevronsUpDown:yh,LucideChrome:fh,LucideChurch:xh,LucideCigarette:gh,LucideCigaretteOff:kh,LucideCircle:Ah,LucideCircleAlert:Bt,LucideCircleArrowDown:Kr,LucideCircleArrowLeft:Qr,LucideCircleArrowOutDownLeft:en,LucideCircleArrowOutDownRight:tn,LucideCircleArrowOutUpLeft:an,LucideCircleArrowOutUpRight:rn,LucideCircleArrowRight:nn,LucideCircleArrowUp:sn,LucideCircleCheck:on,LucideCircleCheckBig:Nt,LucideCircleChevronDown:cn,LucideCircleChevronLeft:ln,LucideCircleChevronRight:dn,LucideCircleChevronUp:hn,LucideCircleDashed:vh,LucideCircleDivide:un,LucideCircleDollarSign:wh,LucideCircleDot:bh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:Ch,LucideCircleEqual:jh,LucideCircleFadingArrowUp:Lh,LucideCircleFadingPlus:Sh,LucideCircleGauge:pn,LucideCircleHelp:Wa,LucideCircleMinus:yn,LucideCircleOff:Ih,LucideCircleParking:fn,LucideCircleParkingOff:mn,LucideCirclePause:xn,LucideCirclePercent:kn,LucideCirclePlay:gn,LucideCirclePlus:vn,LucideCirclePower:wn,LucideCircleSlash:Nh,LucideCircleSlash2:Mn,LucideCircleSlashed:Mn,LucideCircleStop:bn,LucideCircleUser:jn,LucideCircleUserRound:Cn,LucideCircleX:ia,LucideCircuitBoard:_h,LucideCitrus:Ph,LucideClapperboard:qh,LucideClipboard:Vh,LucideClipboardCheck:Th,LucideClipboardCopy:Rh,LucideClipboardEdit:Sn,LucideClipboardList:Dh,LucideClipboardMinus:zh,LucideClipboardPaste:Fh,LucideClipboardPen:Sn,LucideClipboardPenLine:Ln,LucideClipboardPlus:Eh,LucideClipboardSignature:Ln,LucideClipboardType:Hh,LucideClipboardX:Oh,LucideClock:Qt,LucideClock1:Bh,LucideClock10:Uh,LucideClock11:$h,LucideClock12:Gh,LucideClock2:Wh,LucideClock3:Zh,LucideClock4:Xh,LucideClock5:Jh,LucideClock6:Yh,LucideClock7:Kh,LucideClock8:Qh,LucideClock9:eu,LucideClockAlert:tu,LucideClockArrowDown:au,LucideClockArrowUp:ru,LucideCloud:xu,LucideCloudCog:nu,LucideCloudDownload:In,LucideCloudDrizzle:iu,LucideCloudFog:su,LucideCloudHail:ou,LucideCloudLightning:cu,LucideCloudMoon:du,LucideCloudMoonRain:lu,LucideCloudOff:hu,LucideCloudRain:pu,LucideCloudRainWind:uu,LucideCloudSnow:yu,LucideCloudSun:fu,LucideCloudSunRain:mu,LucideCloudUpload:Za,LucideCloudy:ku,LucideClover:gu,LucideClub:vu,LucideCode:wu,LucideCode2:Nn,LucideCodeSquare:Zi,LucideCodeXml:Nn,LucideCodepen:Mu,LucideCodesandbox:bu,LucideCoffee:Cu,LucideCog:ju,LucideCoins:Lu,LucideColumns:An,LucideColumns2:An,LucideColumns3:_n,LucideColumns4:Su,LucideCombine:Iu,LucideCommand:Nu,LucideCompass:Au,LucideComponent:_u,LucideComputer:Pu,LucideConciergeBell:qu,LucideCone:Tu,LucideConstruction:Ru,LucideContact:Du,LucideContact2:Pn,LucideContactRound:Pn,LucideContainer:zu,LucideContrast:Fu,LucideCookie:Eu,LucideCookingPot:Hu,LucideCopy:Gu,LucideCopyCheck:Ou,LucideCopyMinus:Vu,LucideCopyPlus:Bu,LucideCopySlash:Uu,LucideCopyX:$u,LucideCopyleft:Wu,LucideCopyright:Zu,LucideCornerDownLeft:Xu,LucideCornerDownRight:Ju,LucideCornerLeftDown:Yu,LucideCornerLeftUp:Ku,LucideCornerRightDown:Qu,LucideCornerRightUp:ep,LucideCornerUpLeft:tp,LucideCornerUpRight:ap,LucideCpu:rp,LucideCreativeCommons:np,LucideCreditCard:xc,LucideCroissant:ip,LucideCrop:sp,LucideCross:op,LucideCrosshair:cp,LucideCrown:lp,LucideCuboid:dp,LucideCupSoda:hp,LucideCurlyBraces:Fr,LucideCurrency:up,LucideCylinder:pp,LucideDam:yp,LucideDatabase:xp,LucideDatabaseBackup:mp,LucideDatabaseZap:fp,LucideDelete:kp,LucideDessert:gp,LucideDiameter:vp,LucideDiamond:bp,LucideDiamondMinus:wp,LucideDiamondPercent:qn,LucideDiamondPlus:Mp,LucideDice1:Cp,LucideDice2:jp,LucideDice3:Lp,LucideDice4:Sp,LucideDice5:Ip,LucideDice6:Np,LucideDices:Ap,LucideDiff:_p,LucideDisc:Rp,LucideDisc2:Pp,LucideDisc3:qp,LucideDiscAlbum:Tp,LucideDivide:Dp,LucideDivideCircle:un,LucideDivideSquare:Ki,LucideDna:Fp,LucideDnaOff:zp,LucideDock:Ep,LucideDog:Hp,LucideDollarSign:kc,LucideDonut:Op,LucideDoorClosed:Vp,LucideDoorOpen:Bp,LucideDot:Up,LucideDotSquare:Qi,LucideDownload:$p,LucideDownloadCloud:In,LucideDraftingCompass:Gp,LucideDrama:Wp,LucideDribbble:Zp,LucideDrill:Xp,LucideDroplet:Jp,LucideDroplets:Yp,LucideDrum:Kp,LucideDrumstick:Qp,LucideDumbbell:ey,LucideEar:ay,LucideEarOff:ty,LucideEarth:Tn,LucideEarthLock:ry,LucideEclipse:ny,LucideEdit:St,LucideEdit2:gi,LucideEdit3:ki,LucideEgg:oy,LucideEggFried:iy,LucideEggOff:sy,LucideEllipsis:Dn,LucideEllipsisVertical:Rn,LucideEqual:ly,LucideEqualNot:cy,LucideEqualSquare:es,LucideEraser:dy,LucideEthernetPort:hy,LucideEuro:uy,LucideExpand:py,LucideExternalLink:Xs,LucideEye:gc,LucideEyeClosed:yy,LucideEyeOff:my,LucideFacebook:fy,LucideFactory:xy,LucideFan:ky,LucideFastForward:gy,LucideFeather:vy,LucideFence:wy,LucideFerrisWheel:My,LucideFigma:by,LucideFile:gm,LucideFileArchive:Cy,LucideFileAudio:Ly,LucideFileAudio2:jy,LucideFileAxis3D:zn,LucideFileAxis3d:zn,LucideFileBadge:Iy,LucideFileBadge2:Sy,LucideFileBarChart:Fn,LucideFileBarChart2:En,LucideFileBox:Ny,LucideFileChartColumn:En,LucideFileChartColumnIncreasing:Fn,LucideFileChartLine:Hn,LucideFileChartPie:On,LucideFileCheck:_y,LucideFileCheck2:Ay,LucideFileClock:Py,LucideFileCode:Ty,LucideFileCode2:qy,LucideFileCog:Vn,LucideFileCog2:Vn,LucideFileDiff:Ry,LucideFileDigit:Dy,LucideFileDown:zy,LucideFileEdit:Un,LucideFileHeart:Fy,LucideFileImage:Ey,LucideFileInput:Hy,LucideFileJson:Vy,LucideFileJson2:Oy,LucideFileKey:Uy,LucideFileKey2:By,LucideFileLineChart:Hn,LucideFileLock:Gy,LucideFileLock2:$y,LucideFileMinus:Zy,LucideFileMinus2:Wy,LucideFileMusic:Xy,LucideFileOutput:Jy,LucideFilePen:Un,LucideFilePenLine:Bn,LucideFilePieChart:On,LucideFilePlus:Ky,LucideFilePlus2:Yy,LucideFileQuestion:Qy,LucideFileScan:em,LucideFileSearch:am,LucideFileSearch2:tm,LucideFileSignature:Bn,LucideFileSliders:rm,LucideFileSpreadsheet:nm,LucideFileStack:im,LucideFileSymlink:sm,LucideFileTerminal:om,LucideFileText:vc,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:wm,LucideFilter:Mo,LucideFilterX:Mm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Sm,LucideFishOff:jm,LucideFishSymbol:Lm,LucideFlag:wc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:Pm,LucideFlameKindling:_m,LucideFlashlight:Tm,LucideFlashlightOff:qm,LucideFlaskConical:Dm,LucideFlaskConicalOff:Rm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Om,LucideFlipVertical2:Hm,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Gm,LucideFolder:wf,LucideFolderArchive:Wm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:$n,LucideFolderCog2:$n,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:Gn,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:sf,LucideFolderLock:of,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:Gn,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:Mf,LucideFootprints:bf,LucideForkKnife:Hs,LucideForkKnifeCrossed:Es,LucideForklift:Cf,LucideFormInput:wi,LucideForward:jf,LucideFrame:Lf,LucideFramer:Sf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:ts,LucideGalleryHorizontal:Pf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:qf,LucideGalleryVertical:Rf,LucideGalleryVerticalEnd:Tf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Xr,LucideGanttChartSquare:ra,LucideGauge:Ff,LucideGaugeCircle:pn,LucideGavel:Ef,LucideGem:Hf,LucideGhost:Of,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:Wn,LucideGitCommitHorizontal:Wn,LucideGitCommitVertical:$f,LucideGitCompare:Wf,LucideGitCompareArrows:Gf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:i4,LucideGlasses:s4,LucideGlobe:bo,LucideGlobe2:Tn,LucideGlobeLock:o4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:Co,LucideGrape:d4,LucideGrid:Jt,LucideGrid2X2:Zn,LucideGrid2x2:Zn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:w4,LucideHandHeart:M4,LucideHandHelping:Xn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:L4,LucideHardDrive:N4,LucideHardDriveDownload:S4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:_4,LucideHaze:P4,LucideHdmiPort:q4,LucideHeading:H4,LucideHeading1:T4,LucideHeading2:R4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:O4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:jo,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:G4,LucideHeartPulse:W4,LucideHeater:Z4,LucideHelpCircle:Wa,LucideHelpingHand:Xn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:Ma,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:Ma,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:Yn,LucideIceCream2:Jn,LucideIceCreamBowl:Jn,LucideIceCreamCone:Yn,LucideIdCard:ix,LucideImage:ux,LucideImageDown:sx,LucideImageMinus:ox,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:Qn,LucideIndentDecrease:Kn,LucideIndentIncrease:Qn,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:os,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:wx,LucideIterationCcw:Mx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Lx,LucideKanbanSquare:as,LucideKanbanSquareDashed:Xi,LucideKey:Nx,LucideKeyRound:Sx,LucideKeySquare:Ix,LucideKeyboard:Px,LucideKeyboardMusic:Ax,LucideKeyboardOff:_x,LucideLamp:Fx,LucideLampCeiling:qx,LucideLampDesk:Tx,LucideLampFloor:Rx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Hx,LucideLanguages:Ox,LucideLaptop:Vx,LucideLaptop2:ei,LucideLaptopMinimal:ei,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Gx,LucideLayers3:Wx,LucideLayout:xi,LucideLayoutDashboard:Mc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ik,LucideLibraryBig:nk,LucideLibrarySquare:rs,LucideLifeBuoy:sk,LucideLigature:ok,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:Wr,LucideLink:bc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:Cc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:wk,LucideListRestart:Mk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Lk,LucideListX:Sk,LucideLoader:Nk,LucideLoader2:ti,LucideLoaderCircle:ti,LucideLoaderPinwheel:Ik,LucideLocate:Pk,LucideLocateFixed:Ak,LucideLocateOff:_k,LucideLock:jc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:ai,LucideLockOpen:ri,LucideLogIn:Tk,LucideLogOut:Lc,LucideLogs:Rk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:ns,LucideMagnet:Fk,LucideMail:ha,LucideMailCheck:Ek,LucideMailMinus:Hk,LucideMailOpen:Ok,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Gk,LucideMailbox:Wk,LucideMails:Zk,LucideMap:sg,LucideMapPin:Zt,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:ig,LucideMartini:og,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Lo,LucideMenuSquare:is,LucideMerge:mg,LucideMessageCircle:Lg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:wg,LucideMessageCircleQuestion:Mg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:So,LucideMessageSquareCode:Sg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Pg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Tg,LucideMessageSquarePlus:Rg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Og,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:ni,LucideMicOff:Bg,LucideMicVocal:ni,LucideMicrochip:$g,LucideMicroscope:Gg,LucideMicrowave:Wg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:Sc,LucideMinusCircle:yn,LucideMinusSquare:ss,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:i5,LucideMonitorSmartphone:s5,LucideMonitorSpeaker:o5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:Dn,LucideMoreVertical:Rn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:w5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Ji,LucideMove:T5,LucideMove3D:ii,LucideMove3d:ii,LucideMoveDiagonal:b5,LucideMoveDiagonal2:M5,LucideMoveDown:L5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:S5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:P5,LucideMoveUpLeft:A5,LucideMoveUpRight:_5,LucideMoveVertical:q5,LucideMusic:F5,LucideMusic2:R5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:H5,LucideNavigation2Off:E5,LucideNavigationOff:O5,LucideNetwork:B5,LucideNewspaper:Sa,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:G5,LucideNotebookText:W5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:si,LucideOctagonMinus:Q5,LucideOctagonPause:oi,LucideOctagonX:ci,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Kn,LucidePackage:u3,LucidePackage2:i3,LucidePackageCheck:s3,LucidePackageMinus:o3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:li,LucidePaintbrushVertical:li,LucidePalette:f3,LucidePalmtree:Is,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:di,LucidePanelBottomInactive:di,LucidePanelBottomOpen:k3,LucidePanelLeft:yi,LucidePanelLeftClose:hi,LucidePanelLeftDashed:ui,LucidePanelLeftInactive:ui,LucidePanelLeftOpen:pi,LucidePanelRight:M3,LucidePanelRightClose:v3,LucidePanelRightDashed:mi,LucidePanelRightInactive:mi,LucidePanelRightOpen:w3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:fi,LucidePanelTopInactive:fi,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:_n,LucidePanelsRightBottom:S3,LucidePanelsTopBottom:Ci,LucidePanelsTopLeft:xi,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:fn,LucideParkingCircleOff:mn,LucideParkingMeter:A3,LucideParkingSquare:ls,LucideParkingSquareOff:cs,LucidePartyPopper:_3,LucidePause:P3,LucidePauseCircle:xn,LucidePauseOctagon:oi,LucidePawPrint:q3,LucidePcCase:T3,LucidePen:gi,LucidePenBox:St,LucidePenLine:ki,LucidePenOff:R3,LucidePenSquare:St,LucidePenTool:D3,LucidePencil:H3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:O3,LucidePercent:V3,LucidePercentCircle:kn,LucidePercentDiamond:qn,LucidePercentSquare:ds,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:Js,LucidePhoneCall:$3,LucidePhoneForwarded:G3,LucidePhoneIncoming:W3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:hs,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:Jr,LucidePiggyBank:av,LucidePilcrow:iv,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:us,LucidePill:ov,LucidePillBottle:sv,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:Ic,LucidePlayCircle:gn,LucidePlaySquare:ps,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:vi,LucidePlugZap2:vi,LucidePlus:Io,LucidePlusCircle:vn,LucidePlusSquare:ys,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:wv,LucidePointerOff:vv,LucidePopcorn:Mv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Lv,LucidePowerCircle:wn,LucidePowerOff:jv,LucidePowerSquare:ms,LucidePresentation:Sv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:_v,LucidePuzzle:Pv,LucidePyramid:qv,LucideQrCode:Tv,LucideQuote:No,LucideRabbit:Rv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Ov,LucideRadioReceiver:Ev,LucideRadioTower:Hv,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Gv,LucideReceipt:t6,LucideReceiptCent:Wv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:wi,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:o6,LucideRedo2:i6,LucideRedoDot:s6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:w6,LucideReplyAll:v6,LucideRewind:M6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:L6,LucideRotate3D:Mi,LucideRotate3d:Mi,LucideRotateCcw:I6,LucideRotateCcwSquare:S6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:P6,LucideRouteOff:_6,LucideRouter:q6,LucideRows:bi,LucideRows2:bi,LucideRows3:Ci,LucideRows4:T6,LucideRss:R6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:H6,LucideSatellite:V6,LucideSatelliteDish:O6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:G6,LucideScale3D:ji,LucideScale3d:ji,LucideScaling:W6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Yr,LucideSchool:a8,LucideSchool2:_s,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:fs,LucideScissorsSquareDashedBottom:Oi,LucideScreenShare:s8,LucideScreenShareOff:i8,LucideScroll:c8,LucideScrollText:o8,LucideSearch:Xt,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:Nc,LucideSendHorizonal:Li,LucideSendHorizontal:Li,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:Ao,LucideSettings2:w8,LucideShapes:M8,LucideShare:b8,LucideShare2:_o,LucideSheet:C8,LucideShell:j8,LucideShield:Ac,LucideShieldAlert:L8,LucideShieldBan:S8,LucideShieldCheck:I8,LucideShieldClose:Si,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:_8,LucideShieldOff:P8,LucideShieldPlus:q8,LucideShieldQuestion:T8,LucideShieldX:Si,LucideShip:D8,LucideShipWheel:R8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Po,LucideShovel:H8,LucideShowerHead:O8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:yi,LucideSidebarClose:hi,LucideSidebarOpen:pi,LucideSigma:$8,LucideSigmaSquare:xs,LucideSignal:_c,LucideSignalHigh:G8,LucideSignalLow:W8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:ks,LucideSlice:i7,LucideSliders:Ii,LucideSlidersHorizontal:tr,LucideSlidersVertical:Ii,LucideSmartphone:c7,LucideSmartphoneCharging:s7,LucideSmartphoneNfc:o7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:_r,LucideSortDesc:Ir,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:Xa,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:w7,LucideSpellCheck2:v7,LucideSpline:M7,LucideSplit:b7,LucideSplitSquareHorizontal:gs,LucideSplitSquareVertical:vs,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:_7,LucideSquareActivity:Ni,LucideSquareArrowDown:Pi,LucideSquareArrowDownLeft:Ai,LucideSquareArrowDownRight:_i,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:qi,LucideSquareArrowOutDownRight:Ti,LucideSquareArrowOutUpLeft:Ri,LucideSquareArrowOutUpRight:Di,LucideSquareArrowRight:Ca,LucideSquareArrowUp:Ei,LucideSquareArrowUpLeft:zi,LucideSquareArrowUpRight:Fi,LucideSquareAsterisk:Hi,LucideSquareBottomDashedScissors:Oi,LucideSquareChartGantt:ra,LucideSquareCheck:Bi,LucideSquareCheckBig:Vi,LucideSquareChevronDown:Ui,LucideSquareChevronLeft:$i,LucideSquareChevronRight:Gi,LucideSquareChevronUp:Wi,LucideSquareCode:Zi,LucideSquareDashed:Yi,LucideSquareDashedBottom:S7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Xi,LucideSquareDashedMousePointer:Ji,LucideSquareDivide:Ki,LucideSquareDot:Qi,LucideSquareEqual:es,LucideSquareFunction:ts,LucideSquareGanttChart:ra,LucideSquareKanban:as,LucideSquareLibrary:rs,LucideSquareM:ns,LucideSquareMenu:is,LucideSquareMinus:ss,LucideSquareMousePointer:os,LucideSquareParking:ls,LucideSquareParkingOff:cs,LucideSquarePen:St,LucideSquarePercent:ds,LucideSquarePi:hs,LucideSquarePilcrow:us,LucideSquarePlay:ps,LucideSquarePlus:ys,LucideSquarePower:ms,LucideSquareRadical:I7,LucideSquareScissors:fs,LucideSquareSigma:xs,LucideSquareSlash:ks,LucideSquareSplitHorizontal:gs,LucideSquareSplitVertical:vs,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:ws,LucideSquareUser:bs,LucideSquareUserRound:Ms,LucideSquareX:Cs,LucideSquircle:P7,LucideSquirrel:q7,LucideStamp:T7,LucideStar:Ut,LucideStarHalf:R7,LucideStarOff:D7,LucideStars:Xa,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:H7,LucideStickyNote:O7,LucideStopCircle:bn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:G7,LucideSubtitles:Er,LucideSun:Y7,LucideSunDim:W7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:ew,LucideSwatchBook:tw,LucideSwissFranc:aw,LucideSwitchCamera:rw,LucideSword:nw,LucideSwords:iw,LucideSyringe:sw,LucideTable:yw,LucideTable2:ow,LucideTableCellsMerge:cw,LucideTableCellsSplit:lw,LucideTableColumnsSplit:dw,LucideTableOfContents:hw,LucideTableProperties:uw,LucideTableRowsSplit:pw,LucideTablet:fw,LucideTabletSmartphone:mw,LucideTablets:xw,LucideTag:Pc,LucideTags:kw,LucideTally1:gw,LucideTally2:vw,LucideTally3:ww,LucideTally4:Mw,LucideTally5:bw,LucideTangent:Cw,LucideTarget:jw,LucideTelescope:Lw,LucideTent:Iw,LucideTentTree:Sw,LucideTerminal:Nw,LucideTerminalSquare:ws,LucideTestTube:Aw,LucideTestTube2:js,LucideTestTubeDiagonal:js,LucideTestTubes:_w,LucideText:Dw,LucideTextCursor:qw,LucideTextCursorInput:Pw,LucideTextQuote:Tw,LucideTextSearch:Rw,LucideTextSelect:Ls,LucideTextSelection:Ls,LucideTheater:zw,LucideThermometer:Hw,LucideThermometerSnowflake:Fw,LucideThermometerSun:Ew,LucideThumbsDown:Ow,LucideThumbsUp:Vw,LucideTicket:Xw,LucideTicketCheck:Bw,LucideTicketMinus:Uw,LucideTicketPercent:$w,LucideTicketPlus:Gw,LucideTicketSlash:Ww,LucideTicketX:Zw,LucideTickets:Yw,LucideTicketsPlane:Jw,LucideTimer:eM,LucideTimerOff:Kw,LucideTimerReset:Qw,LucideToggleLeft:tM,LucideToggleRight:aM,LucideTornado:rM,LucideTorus:nM,LucideTouchpad:sM,LucideTouchpadOff:iM,LucideTowerControl:oM,LucideToyBrick:cM,LucideTractor:lM,LucideTrafficCone:dM,LucideTrain:Ss,LucideTrainFront:uM,LucideTrainFrontTunnel:hM,LucideTrainTrack:pM,LucideTramFront:Ss,LucideTrash:yM,LucideTrash2:qo,LucideTreeDeciduous:mM,LucideTreePalm:Is,LucideTreePine:fM,LucideTrees:xM,LucideTrello:kM,LucideTrendingDown:gM,LucideTrendingUp:Ys,LucideTrendingUpDown:vM,LucideTriangle:MM,LucideTriangleAlert:Ns,LucideTriangleRight:wM,LucideTrophy:bM,LucideTruck:CM,LucideTurtle:jM,LucideTv:SM,LucideTv2:As,LucideTvMinimal:As,LucideTvMinimalPlay:LM,LucideTwitch:IM,LucideTwitter:NM,LucideType:_M,LucideTypeOutline:AM,LucideUmbrella:qM,LucideUmbrellaOff:PM,LucideUnderline:TM,LucideUndo:zM,LucideUndo2:RM,LucideUndoDot:DM,LucideUnfoldHorizontal:FM,LucideUnfoldVertical:EM,LucideUngroup:HM,LucideUniversity:_s,LucideUnlink:VM,LucideUnlink2:OM,LucideUnlock:ri,LucideUnlockKeyhole:ai,LucideUnplug:BM,LucideUpload:qc,LucideUploadCloud:Za,LucideUsb:UM,LucideUser:Tc,LucideUser2:zs,LucideUserCheck:$M,LucideUserCheck2:Ps,LucideUserCircle:jn,LucideUserCircle2:Cn,LucideUserCog:GM,LucideUserCog2:qs,LucideUserMinus:WM,LucideUserMinus2:Ts,LucideUserPen:ZM,LucideUserPlus:XM,LucideUserPlus2:Rs,LucideUserRound:zs,LucideUserRoundCheck:Ps,LucideUserRoundCog:qs,LucideUserRoundMinus:Ts,LucideUserRoundPen:JM,LucideUserRoundPlus:Rs,LucideUserRoundSearch:YM,LucideUserRoundX:Ds,LucideUserSearch:KM,LucideUserSquare:bs,LucideUserSquare2:Ms,LucideUserX:QM,LucideUserX2:Ds,LucideUsers:Ia,LucideUsers2:Fs,LucideUsersRound:Fs,LucideUtensils:Hs,LucideUtensilsCrossed:Es,LucideUtilityPole:eb,LucideVariable:tb,LucideVault:ab,LucideVegan:rb,LucideVenetianMask:nb,LucideVerified:Tr,LucideVibrate:sb,LucideVibrateOff:ib,LucideVideo:cb,LucideVideoOff:ob,LucideVideotape:lb,LucideView:db,LucideVoicemail:hb,LucideVolleyball:ub,LucideVolume:xb,LucideVolume1:pb,LucideVolume2:yb,LucideVolumeOff:mb,LucideVolumeX:fb,LucideVote:kb,LucideWallet:vb,LucideWallet2:Os,LucideWalletCards:gb,LucideWalletMinimal:Os,LucideWallpaper:wb,LucideWand:Mb,LucideWand2:Vs,LucideWandSparkles:Vs,LucideWarehouse:bb,LucideWashingMachine:Cb,LucideWatch:jb,LucideWaves:Lb,LucideWaypoints:Sb,LucideWebcam:Ib,LucideWebhook:Ab,LucideWebhookOff:Nb,LucideWeight:_b,LucideWheat:qb,LucideWheatOff:Pb,LucideWholeWord:Tb,LucideWifi:Eb,LucideWifiHigh:Rb,LucideWifiLow:Db,LucideWifiOff:zb,LucideWifiZero:Fb,LucideWind:Hb,LucideWine:Vb,LucideWineOff:Ob,LucideWorkflow:Bb,LucideWorm:Ub,LucideWrapText:$b,LucideWrench:Gb,LucideX:Tt,LucideXCircle:ia,LucideXOctagon:ci,LucideXSquare:Cs,LucideYoutube:Wb,LucideZap:Xb,LucideZapOff:Zb,LucideZoomIn:Jb,LucideZoomOut:Yb,Luggage:zk,LuggageIcon:zk,MSquare:ns,MSquareIcon:ns,Magnet:Fk,MagnetIcon:Fk,Mail:ha,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:ha,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Ok,MailOpenIcon:Ok,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Gk,MailXIcon:Gk,Mailbox:Wk,MailboxIcon:Wk,Mails:Zk,MailsIcon:Zk,Map:sg,MapIcon:sg,MapPin:Zt,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Zt,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:ig,MapPinnedIcon:ig,Martini:og,MartiniIcon:og,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Lo,MenuIcon:Lo,MenuSquare:is,MenuSquareIcon:is,Merge:mg,MergeIcon:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Lg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:wg,MessageCirclePlusIcon:wg,MessageCircleQuestion:Mg,MessageCircleQuestionIcon:Mg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:So,MessageSquareCode:Sg,MessageSquareCodeIcon:Sg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:So,MessageSquareLock:Pg,MessageSquareLockIcon:Pg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Tg,MessageSquareOffIcon:Tg,MessageSquarePlus:Rg,MessageSquarePlusIcon:Rg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Og,MessageSquareXIcon:Og,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:ni,Mic2Icon:ni,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:ni,MicVocalIcon:ni,Microchip:$g,MicrochipIcon:$g,Microscope:Gg,MicroscopeIcon:Gg,Microwave:Wg,MicrowaveIcon:Wg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:Sc,MinusCircle:yn,MinusCircleIcon:yn,MinusIcon:Sc,MinusSquare:ss,MinusSquareIcon:ss,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:s5,MonitorSmartphoneIcon:s5,MonitorSpeaker:o5,MonitorSpeakerIcon:o5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:Dn,MoreHorizontalIcon:Dn,MoreVertical:Rn,MoreVerticalIcon:Rn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:w5,MouseIcon:w5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Ji,MousePointerSquareDashedIcon:Ji,Move:T5,Move3D:ii,Move3DIcon:ii,Move3d:ii,Move3dIcon:ii,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDiagonal2Icon:M5,MoveDiagonalIcon:b5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:S5,MoveHorizontalIcon:S5,MoveIcon:T5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:P5,MoveUpIcon:P5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:q5,MoveVerticalIcon:q5,Music:F5,Music2:R5,Music2Icon:R5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:O5,NavigationOffIcon:O5,Network:B5,NetworkIcon:B5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:G5,NotebookTabsIcon:G5,NotebookText:W5,NotebookTextIcon:W5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:si,OctagonAlertIcon:si,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:oi,OctagonPauseIcon:oi,OctagonX:ci,OctagonXIcon:ci,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Kn,OutdentIcon:Kn,Package:u3,Package2:i3,Package2Icon:i3,PackageCheck:s3,PackageCheckIcon:s3,PackageIcon:u3,PackageMinus:o3,PackageMinusIcon:o3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:li,Paintbrush2Icon:li,PaintbrushIcon:m3,PaintbrushVertical:li,PaintbrushVerticalIcon:li,Palette:f3,PaletteIcon:f3,Palmtree:Is,PalmtreeIcon:Is,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:di,PanelBottomDashedIcon:di,PanelBottomIcon:g3,PanelBottomInactive:di,PanelBottomInactiveIcon:di,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftCloseIcon:hi,PanelLeftDashed:ui,PanelLeftDashedIcon:ui,PanelLeftIcon:yi,PanelLeftInactive:ui,PanelLeftInactiveIcon:ui,PanelLeftOpen:pi,PanelLeftOpenIcon:pi,PanelRight:M3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:mi,PanelRightDashedIcon:mi,PanelRightIcon:M3,PanelRightInactive:mi,PanelRightInactiveIcon:mi,PanelRightOpen:w3,PanelRightOpenIcon:w3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:fi,PanelTopDashedIcon:fi,PanelTopIcon:j3,PanelTopInactive:fi,PanelTopInactiveIcon:fi,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:_n,PanelsLeftRightIcon:_n,PanelsRightBottom:S3,PanelsRightBottomIcon:S3,PanelsTopBottom:Ci,PanelsTopBottomIcon:Ci,PanelsTopLeft:xi,PanelsTopLeftIcon:xi,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:fn,ParkingCircleIcon:fn,ParkingCircleOff:mn,ParkingCircleOffIcon:mn,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:ls,ParkingSquareIcon:ls,ParkingSquareOff:cs,ParkingSquareOffIcon:cs,PartyPopper:_3,PartyPopperIcon:_3,Pause:P3,PauseCircle:xn,PauseCircleIcon:xn,PauseIcon:P3,PauseOctagon:oi,PauseOctagonIcon:oi,PawPrint:q3,PawPrintIcon:q3,PcCase:T3,PcCaseIcon:T3,Pen:gi,PenBox:St,PenBoxIcon:St,PenIcon:gi,PenLine:ki,PenLineIcon:ki,PenOff:R3,PenOffIcon:R3,PenSquare:St,PenSquareIcon:St,PenTool:D3,PenToolIcon:D3,Pencil:H3,PencilIcon:H3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:O3,PentagonIcon:O3,Percent:V3,PercentCircle:kn,PercentCircleIcon:kn,PercentDiamond:qn,PercentDiamondIcon:qn,PercentIcon:V3,PercentSquare:ds,PercentSquareIcon:ds,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:Js,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:G3,PhoneForwardedIcon:G3,PhoneIcon:Js,PhoneIncoming:W3,PhoneIncomingIcon:W3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:hs,PiSquareIcon:hs,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:Jr,PieChartIcon:Jr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:us,PilcrowSquareIcon:us,Pill:ov,PillBottle:sv,PillBottleIcon:sv,PillIcon:ov,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:Ic,PlayCircle:gn,PlayCircleIcon:gn,PlayIcon:Ic,PlaySquare:ps,PlaySquareIcon:ps,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:vi,PlugZap2:vi,PlugZap2Icon:vi,PlugZapIcon:vi,Plus:Io,PlusCircle:vn,PlusCircleIcon:vn,PlusIcon:Io,PlusSquare:ys,PlusSquareIcon:ys,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:wv,PointerIcon:wv,PointerOff:vv,PointerOffIcon:vv,Popcorn:Mv,PopcornIcon:Mv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Lv,PowerCircle:wn,PowerCircleIcon:wn,PowerIcon:Lv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:ms,PowerSquareIcon:ms,Presentation:Sv,PresentationIcon:Sv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:_v,ProportionsIcon:_v,Puzzle:Pv,PuzzleIcon:Pv,Pyramid:qv,PyramidIcon:qv,QrCode:Tv,QrCodeIcon:Tv,Quote:No,QuoteIcon:No,Rabbit:Rv,RabbitIcon:Rv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Ov,RadioIcon:Ov,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Gv,RatioIcon:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptCentIcon:Wv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:wi,RectangleEllipsisIcon:wi,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:o6,Redo2:i6,Redo2Icon:i6,RedoDot:s6,RedoDotIcon:s6,RedoIcon:o6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:w6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:w6,Rewind:M6,RewindIcon:M6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:Mi,Rotate3DIcon:Mi,Rotate3d:Mi,Rotate3dIcon:Mi,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:S6,RotateCcwSquareIcon:S6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:P6,RouteIcon:P6,RouteOff:_6,RouteOffIcon:_6,Router:q6,RouterIcon:q6,Rows:bi,Rows2:bi,Rows2Icon:bi,Rows3:Ci,Rows3Icon:Ci,Rows4:T6,Rows4Icon:T6,RowsIcon:bi,Rss:R6,RssIcon:R6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:H6,SandwichIcon:H6,Satellite:V6,SatelliteDish:O6,SatelliteDishIcon:O6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:G6,Scale3D:ji,Scale3DIcon:ji,Scale3d:ji,Scale3dIcon:ji,ScaleIcon:G6,Scaling:W6,ScalingIcon:W6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Yr,ScatterChartIcon:Yr,School:a8,School2:_s,School2Icon:_s,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:fs,ScissorsSquareDashedBottom:Oi,ScissorsSquareDashedBottomIcon:Oi,ScissorsSquareIcon:fs,ScreenShare:s8,ScreenShareIcon:s8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:c8,ScrollIcon:c8,ScrollText:o8,ScrollTextIcon:o8,Search:Xt,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Xt,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:Nc,SendHorizonal:Li,SendHorizonalIcon:Li,SendHorizontal:Li,SendHorizontalIcon:Li,SendIcon:Nc,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:Ao,Settings2:w8,Settings2Icon:w8,SettingsIcon:Ao,Shapes:M8,ShapesIcon:M8,Share:b8,Share2:_o,Share2Icon:_o,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Ac,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:S8,ShieldBanIcon:S8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:Si,ShieldCloseIcon:Si,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Ac,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:P8,ShieldOffIcon:P8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:T8,ShieldQuestionIcon:T8,ShieldX:Si,ShieldXIcon:Si,Ship:D8,ShipIcon:D8,ShipWheel:R8,ShipWheelIcon:R8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Po,ShoppingCartIcon:Po,Shovel:H8,ShovelIcon:H8,ShowerHead:O8,ShowerHeadIcon:O8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:yi,SidebarClose:hi,SidebarCloseIcon:hi,SidebarIcon:yi,SidebarOpen:pi,SidebarOpenIcon:pi,Sigma:$8,SigmaIcon:$8,SigmaSquare:xs,SigmaSquareIcon:xs,Signal:_c,SignalHigh:G8,SignalHighIcon:G8,SignalIcon:_c,SignalLow:W8,SignalLowIcon:W8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:ks,SlashSquareIcon:ks,Slice:i7,SliceIcon:i7,Sliders:Ii,SlidersHorizontal:tr,SlidersHorizontalIcon:tr,SlidersIcon:Ii,SlidersVertical:Ii,SlidersVerticalIcon:Ii,Smartphone:c7,SmartphoneCharging:s7,SmartphoneChargingIcon:s7,SmartphoneIcon:c7,SmartphoneNfc:o7,SmartphoneNfcIcon:o7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:_r,SortAscIcon:_r,SortDesc:Ir,SortDescIcon:Ir,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:Xa,SparklesIcon:Xa,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:w7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:w7,Spline:M7,SplineIcon:M7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:gs,SplitSquareHorizontalIcon:gs,SplitSquareVertical:vs,SplitSquareVerticalIcon:vs,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:_7,SquareActivity:Ni,SquareActivityIcon:Ni,SquareArrowDown:Pi,SquareArrowDownIcon:Pi,SquareArrowDownLeft:Ai,SquareArrowDownLeftIcon:Ai,SquareArrowDownRight:_i,SquareArrowDownRightIcon:_i,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownLeftIcon:qi,SquareArrowOutDownRight:Ti,SquareArrowOutDownRightIcon:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpLeftIcon:Ri,SquareArrowOutUpRight:Di,SquareArrowOutUpRightIcon:Di,SquareArrowRight:Ca,SquareArrowRightIcon:Ca,SquareArrowUp:Ei,SquareArrowUpIcon:Ei,SquareArrowUpLeft:zi,SquareArrowUpLeftIcon:zi,SquareArrowUpRight:Fi,SquareArrowUpRightIcon:Fi,SquareAsterisk:Hi,SquareAsteriskIcon:Hi,SquareBottomDashedScissors:Oi,SquareBottomDashedScissorsIcon:Oi,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareCheckBigIcon:Vi,SquareCheckIcon:Bi,SquareChevronDown:Ui,SquareChevronDownIcon:Ui,SquareChevronLeft:$i,SquareChevronLeftIcon:$i,SquareChevronRight:Gi,SquareChevronRightIcon:Gi,SquareChevronUp:Wi,SquareChevronUpIcon:Wi,SquareCode:Zi,SquareCodeIcon:Zi,SquareDashed:Yi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:S7,SquareDashedIcon:Yi,SquareDashedKanban:Xi,SquareDashedKanbanIcon:Xi,SquareDashedMousePointer:Ji,SquareDashedMousePointerIcon:Ji,SquareDivide:Ki,SquareDivideIcon:Ki,SquareDot:Qi,SquareDotIcon:Qi,SquareEqual:es,SquareEqualIcon:es,SquareFunction:ts,SquareFunctionIcon:ts,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:_7,SquareKanban:as,SquareKanbanIcon:as,SquareLibrary:rs,SquareLibraryIcon:rs,SquareM:ns,SquareMIcon:ns,SquareMenu:is,SquareMenuIcon:is,SquareMinus:ss,SquareMinusIcon:ss,SquareMousePointer:os,SquareMousePointerIcon:os,SquareParking:ls,SquareParkingIcon:ls,SquareParkingOff:cs,SquareParkingOffIcon:cs,SquarePen:St,SquarePenIcon:St,SquarePercent:ds,SquarePercentIcon:ds,SquarePi:hs,SquarePiIcon:hs,SquarePilcrow:us,SquarePilcrowIcon:us,SquarePlay:ps,SquarePlayIcon:ps,SquarePlus:ys,SquarePlusIcon:ys,SquarePower:ms,SquarePowerIcon:ms,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:fs,SquareScissorsIcon:fs,SquareSigma:xs,SquareSigmaIcon:xs,SquareSlash:ks,SquareSlashIcon:ks,SquareSplitHorizontal:gs,SquareSplitHorizontalIcon:gs,SquareSplitVertical:vs,SquareSplitVerticalIcon:vs,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:ws,SquareTerminalIcon:ws,SquareUser:bs,SquareUserIcon:bs,SquareUserRound:Ms,SquareUserRoundIcon:Ms,SquareX:Cs,SquareXIcon:Cs,Squircle:P7,SquircleIcon:P7,Squirrel:q7,SquirrelIcon:q7,Stamp:T7,StampIcon:T7,Star:Ut,StarHalf:R7,StarHalfIcon:R7,StarIcon:Ut,StarOff:D7,StarOffIcon:D7,Stars:Xa,StarsIcon:Xa,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:H7,StickerIcon:H7,StickyNote:O7,StickyNoteIcon:O7,StopCircle:bn,StopCircleIcon:bn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:G7,SubscriptIcon:G7,Subtitles:Er,SubtitlesIcon:Er,Sun:Y7,SunDim:W7,SunDimIcon:W7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:ew,SuperscriptIcon:ew,SwatchBook:tw,SwatchBookIcon:tw,SwissFranc:aw,SwissFrancIcon:aw,SwitchCamera:rw,SwitchCameraIcon:rw,Sword:nw,SwordIcon:nw,Swords:iw,SwordsIcon:iw,Syringe:sw,SyringeIcon:sw,Table:yw,Table2:ow,Table2Icon:ow,TableCellsMerge:cw,TableCellsMergeIcon:cw,TableCellsSplit:lw,TableCellsSplitIcon:lw,TableColumnsSplit:dw,TableColumnsSplitIcon:dw,TableIcon:yw,TableOfContents:hw,TableOfContentsIcon:hw,TableProperties:uw,TablePropertiesIcon:uw,TableRowsSplit:pw,TableRowsSplitIcon:pw,Tablet:fw,TabletIcon:fw,TabletSmartphone:mw,TabletSmartphoneIcon:mw,Tablets:xw,TabletsIcon:xw,Tag:Pc,TagIcon:Pc,Tags:kw,TagsIcon:kw,Tally1:gw,Tally1Icon:gw,Tally2:vw,Tally2Icon:vw,Tally3:ww,Tally3Icon:ww,Tally4:Mw,Tally4Icon:Mw,Tally5:bw,Tally5Icon:bw,Tangent:Cw,TangentIcon:Cw,Target:jw,TargetIcon:jw,Telescope:Lw,TelescopeIcon:Lw,Tent:Iw,TentIcon:Iw,TentTree:Sw,TentTreeIcon:Sw,Terminal:Nw,TerminalIcon:Nw,TerminalSquare:ws,TerminalSquareIcon:ws,TestTube:Aw,TestTube2:js,TestTube2Icon:js,TestTubeDiagonal:js,TestTubeDiagonalIcon:js,TestTubeIcon:Aw,TestTubes:_w,TestTubesIcon:_w,Text:Dw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Pw,TextCursorInputIcon:Pw,TextIcon:Dw,TextQuote:Tw,TextQuoteIcon:Tw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:Ls,TextSelectIcon:Ls,TextSelection:Ls,TextSelectionIcon:Ls,Theater:zw,TheaterIcon:zw,Thermometer:Hw,ThermometerIcon:Hw,ThermometerSnowflake:Fw,ThermometerSnowflakeIcon:Fw,ThermometerSun:Ew,ThermometerSunIcon:Ew,ThumbsDown:Ow,ThumbsDownIcon:Ow,ThumbsUp:Vw,ThumbsUpIcon:Vw,Ticket:Xw,TicketCheck:Bw,TicketCheckIcon:Bw,TicketIcon:Xw,TicketMinus:Uw,TicketMinusIcon:Uw,TicketPercent:$w,TicketPercentIcon:$w,TicketPlus:Gw,TicketPlusIcon:Gw,TicketSlash:Ww,TicketSlashIcon:Ww,TicketX:Zw,TicketXIcon:Zw,Tickets:Yw,TicketsIcon:Yw,TicketsPlane:Jw,TicketsPlaneIcon:Jw,Timer:eM,TimerIcon:eM,TimerOff:Kw,TimerOffIcon:Kw,TimerReset:Qw,TimerResetIcon:Qw,ToggleLeft:tM,ToggleLeftIcon:tM,ToggleRight:aM,ToggleRightIcon:aM,Tornado:rM,TornadoIcon:rM,Torus:nM,TorusIcon:nM,Touchpad:sM,TouchpadIcon:sM,TouchpadOff:iM,TouchpadOffIcon:iM,TowerControl:oM,TowerControlIcon:oM,ToyBrick:cM,ToyBrickIcon:cM,Tractor:lM,TractorIcon:lM,TrafficCone:dM,TrafficConeIcon:dM,Train:Ss,TrainFront:uM,TrainFrontIcon:uM,TrainFrontTunnel:hM,TrainFrontTunnelIcon:hM,TrainIcon:Ss,TrainTrack:pM,TrainTrackIcon:pM,TramFront:Ss,TramFrontIcon:Ss,Trash:yM,Trash2:qo,Trash2Icon:qo,TrashIcon:yM,TreeDeciduous:mM,TreeDeciduousIcon:mM,TreePalm:Is,TreePalmIcon:Is,TreePine:fM,TreePineIcon:fM,Trees:xM,TreesIcon:xM,Trello:kM,TrelloIcon:kM,TrendingDown:gM,TrendingDownIcon:gM,TrendingUp:Ys,TrendingUpDown:vM,TrendingUpDownIcon:vM,TrendingUpIcon:Ys,Triangle:MM,TriangleAlert:Ns,TriangleAlertIcon:Ns,TriangleIcon:MM,TriangleRight:wM,TriangleRightIcon:wM,Trophy:bM,TrophyIcon:bM,Truck:CM,TruckIcon:CM,Turtle:jM,TurtleIcon:jM,Tv:SM,Tv2:As,Tv2Icon:As,TvIcon:SM,TvMinimal:As,TvMinimalIcon:As,TvMinimalPlay:LM,TvMinimalPlayIcon:LM,Twitch:IM,TwitchIcon:IM,Twitter:NM,TwitterIcon:NM,Type:_M,TypeIcon:_M,TypeOutline:AM,TypeOutlineIcon:AM,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:PM,UmbrellaOffIcon:PM,Underline:TM,UnderlineIcon:TM,Undo:zM,Undo2:RM,Undo2Icon:RM,UndoDot:DM,UndoDotIcon:DM,UndoIcon:zM,UnfoldHorizontal:FM,UnfoldHorizontalIcon:FM,UnfoldVertical:EM,UnfoldVerticalIcon:EM,Ungroup:HM,UngroupIcon:HM,University:_s,UniversityIcon:_s,Unlink:VM,Unlink2:OM,Unlink2Icon:OM,UnlinkIcon:VM,Unlock:ri,UnlockIcon:ri,UnlockKeyhole:ai,UnlockKeyholeIcon:ai,Unplug:BM,UnplugIcon:BM,Upload:qc,UploadCloud:Za,UploadCloudIcon:Za,UploadIcon:qc,Usb:UM,UsbIcon:UM,User:Tc,User2:zs,User2Icon:zs,UserCheck:$M,UserCheck2:Ps,UserCheck2Icon:Ps,UserCheckIcon:$M,UserCircle:jn,UserCircle2:Cn,UserCircle2Icon:Cn,UserCircleIcon:jn,UserCog:GM,UserCog2:qs,UserCog2Icon:qs,UserCogIcon:GM,UserIcon:Tc,UserMinus:WM,UserMinus2:Ts,UserMinus2Icon:Ts,UserMinusIcon:WM,UserPen:ZM,UserPenIcon:ZM,UserPlus:XM,UserPlus2:Rs,UserPlus2Icon:Rs,UserPlusIcon:XM,UserRound:zs,UserRoundCheck:Ps,UserRoundCheckIcon:Ps,UserRoundCog:qs,UserRoundCogIcon:qs,UserRoundIcon:zs,UserRoundMinus:Ts,UserRoundMinusIcon:Ts,UserRoundPen:JM,UserRoundPenIcon:JM,UserRoundPlus:Rs,UserRoundPlusIcon:Rs,UserRoundSearch:YM,UserRoundSearchIcon:YM,UserRoundX:Ds,UserRoundXIcon:Ds,UserSearch:KM,UserSearchIcon:KM,UserSquare:bs,UserSquare2:Ms,UserSquare2Icon:Ms,UserSquareIcon:bs,UserX:QM,UserX2:Ds,UserX2Icon:Ds,UserXIcon:QM,Users:Ia,Users2:Fs,Users2Icon:Fs,UsersIcon:Ia,UsersRound:Fs,UsersRoundIcon:Fs,Utensils:Hs,UtensilsCrossed:Es,UtensilsCrossedIcon:Es,UtensilsIcon:Hs,UtilityPole:eb,UtilityPoleIcon:eb,Variable:tb,VariableIcon:tb,Vault:ab,VaultIcon:ab,Vegan:rb,VeganIcon:rb,VenetianMask:nb,VenetianMaskIcon:nb,Verified:Tr,VerifiedIcon:Tr,Vibrate:sb,VibrateIcon:sb,VibrateOff:ib,VibrateOffIcon:ib,Video:cb,VideoIcon:cb,VideoOff:ob,VideoOffIcon:ob,Videotape:lb,VideotapeIcon:lb,View:db,ViewIcon:db,Voicemail:hb,VoicemailIcon:hb,Volleyball:ub,VolleyballIcon:ub,Volume:xb,Volume1:pb,Volume1Icon:pb,Volume2:yb,Volume2Icon:yb,VolumeIcon:xb,VolumeOff:mb,VolumeOffIcon:mb,VolumeX:fb,VolumeXIcon:fb,Vote:kb,VoteIcon:kb,Wallet:vb,Wallet2:Os,Wallet2Icon:Os,WalletCards:gb,WalletCardsIcon:gb,WalletIcon:vb,WalletMinimal:Os,WalletMinimalIcon:Os,Wallpaper:wb,WallpaperIcon:wb,Wand:Mb,Wand2:Vs,Wand2Icon:Vs,WandIcon:Mb,WandSparkles:Vs,WandSparklesIcon:Vs,Warehouse:bb,WarehouseIcon:bb,WashingMachine:Cb,WashingMachineIcon:Cb,Watch:jb,WatchIcon:jb,Waves:Lb,WavesIcon:Lb,Waypoints:Sb,WaypointsIcon:Sb,Webcam:Ib,WebcamIcon:Ib,Webhook:Ab,WebhookIcon:Ab,WebhookOff:Nb,WebhookOffIcon:Nb,Weight:_b,WeightIcon:_b,Wheat:qb,WheatIcon:qb,WheatOff:Pb,WheatOffIcon:Pb,WholeWord:Tb,WholeWordIcon:Tb,Wifi:Eb,WifiHigh:Rb,WifiHighIcon:Rb,WifiIcon:Eb,WifiLow:Db,WifiLowIcon:Db,WifiOff:zb,WifiOffIcon:zb,WifiZero:Fb,WifiZeroIcon:Fb,Wind:Hb,WindIcon:Hb,Wine:Vb,WineIcon:Vb,WineOff:Ob,WineOffIcon:Ob,Workflow:Bb,WorkflowIcon:Bb,Worm:Ub,WormIcon:Ub,WrapText:$b,WrapTextIcon:$b,Wrench:Gb,WrenchIcon:Gb,X:Tt,XCircle:ia,XCircleIcon:ia,XIcon:Tt,XOctagon:ci,XOctagonIcon:ci,XSquare:Cs,XSquareIcon:Cs,Youtube:Wb,YoutubeIcon:Wb,Zap:Xb,ZapIcon:Xb,ZapOff:Zb,ZapOffIcon:Zb,ZoomIn:Jb,ZoomInIcon:Jb,ZoomOut:Yb,ZoomOutIcon:Yb,createLucideIcon:s,icons:gq},Symbol.toStringTag,{value:"Module"})),wq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:o=10,placeholder:c="Add tags..."})=>{const[l,d]=C.useState(!1),[h,u]=C.useState(""),[p,m]=C.useState("#3B82F6"),[f,k]=C.useState(""),[y,x]=C.useState(-1),g=C.useMemo(()=>a.filter(L=>L.name.toLowerCase().includes(f.toLowerCase())),[a,f]),w=C.useMemo(()=>a.filter(L=>e.includes(L.id)),[a,e]),M=C.useMemo(()=>g.filter(L=>!e.includes(L.id)),[g,e]),j=f.trim().length>0&&!a.some(L=>L.name.toLowerCase()===f.trim().toLowerCase()),b=M.length+(j?1:0),N=async()=>{const L=h.trim();if(L)try{await i({name:L,color:p}),u(""),d(!1)}catch(A){console.error("Failed to create tag:",A)}},S=L=>{if(b)switch(L.key){case"ArrowDown":{L.preventDefault(),x(A=>(A+1)%b);break}case"ArrowUp":{L.preventDefault(),x(A=>(A-1+b)%b);break}case"Enter":{if(y===-1)return;if(L.preventDefault(),y<M.length){const A=M[y];r(A.id),k(""),x(-1)}else j&&(d(!0),u(f.trim()),k(""),x(-1));break}case"Escape":{k(""),x(-1);break}}};return t.jsxs("div",{className:"tag-picker",children:[t.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(L=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${L.color}20`,color:L.color,borderColor:L.color},children:[L.name,t.jsx("button",{type:"button",onClick:()=>n(L.id),className:"hover:opacity-70","aria-label":`Remove ${L.name}`,children:t.jsx(Tt,{className:"w-3 h-3"})})]},L.id))}),e.length<o&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(Pc,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:f,onChange:L=>{k(L.target.value),x(-1)},onKeyDown:S,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":f.length>0})]}),f&&t.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:[M.map((L,A)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===A,onClick:()=>{r(L.id),k(""),x(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${y===A?"bg-gray-100":""}`,children:[t.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:L.color}}),t.jsx("span",{children:L.name}),L.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",L.category,")"]})]},L.id)),j&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(f.trim()),k(""),x(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${y===M.length?"bg-gray-100":""}`,children:[t.jsx(Io,{className:"w-4 h-4"}),'Create "',f.trim(),'"']}),!M.length&&!j&&t.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&t.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[t.jsx("input",{type:"text",value:h,onChange:L=>u(L.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),t.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[t.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",t.jsx("input",{type:"color",value:p,onChange:L=>m(L.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:N,onKeyDown:L=>{L.key==="Enter"&&(L.preventDefault(),N())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),t.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},Mq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},KC=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:o,href:c,className:l})=>{const d=!!(o||c),h=p=>{!o||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${Mq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${e}20`,color:e,borderColor:e},onClick:o,onKeyDown:h,role:!c&&o?"button":void 0,tabIndex:!c&&o?0:void 0,href:c,children:[a,n&&i&&t.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),i()},className:"hover:opacity-70 ml-1","aria-label":`Remove ${a} tag`,children:t.jsx(Tt,{className:"w-3 h-3"})})]})};function he(a,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(a==null||a(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function bq(a,e){const r=v.createContext(e),n=o=>{const{children:c,...l}=o,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(o){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:m,children:f,...k}=p,y=((g=m==null?void 0:m[a])==null?void 0:g[d])||l,x=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:x,children:f})};h.displayName=o+"Provider";function u(p,m){var y;const f=((y=m==null?void 0:m[a])==null?void 0:y[d])||l,k=v.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,Cq(i,...e)]}function Cq(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pL(a){const e=jq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Sq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function jq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Nq(i),l=Iq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Lq=Symbol("radix.slottable");function Sq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Lq}function Iq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Nq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function IS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,o]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:g}=y,w=C.useRef(null),M=C.useRef(new Map).current;return t.jsx(i,{scope:x,itemMap:M,collectionRef:w,children:g})};c.displayName=e;const l=a+"CollectionSlot",d=pL(l),h=C.forwardRef((y,x)=>{const{scope:g,children:w}=y,M=o(l,g),j=je(x,M.collectionRef);return t.jsx(d,{ref:j,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",m=pL(u),f=C.forwardRef((y,x)=>{const{scope:g,children:w,...M}=y,j=C.useRef(null),b=je(x,j),N=o(u,g);return C.useEffect(()=>(N.itemMap.set(j,{ref:j,...M}),()=>void N.itemMap.delete(j))),t.jsx(m,{[p]:"",ref:b,children:w})});f.displayName=u;function k(y){const x=o(a+"CollectionConsumer",y);return C.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((N,S)=>M.indexOf(N.ref.current)-M.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:f},k,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Aq=v[" useId ".trim().toString()]||(()=>{}),_q=0;function Na(a){const[e,r]=v.useState(Aq());return pt(()=>{r(n=>n??String(_q++))},[a]),e?`radix-${e}`:""}function Pq(a){const e=qq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Rq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function qq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=zq(i),l=Dq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Tq=Symbol("radix.slottable");function Rq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Tq}function Dq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function zq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var Fq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=Fq.reduce((a,e)=>{const r=Pq(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Eq(a,e){a&&v9.flushSync(()=>a.dispatchEvent(e))}function ir(a){const e=v.useRef(a);return v.useEffect(()=>{e.current=a}),v.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var Hq=v[" useInsertionEffect ".trim().toString()]||pt;function sr({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,c]=Oq({defaultProp:e,onChange:r}),l=a!==void 0,d=l?a:i;{const u=v.useRef(a!==void 0);v.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=v.useCallback(u=>{var p;if(l){const m=Vq(u)?u(a):u;m!==a&&((p=c.current)==null||p.call(c,m))}else o(u)},[l,a,o,c]);return[d,h]}function Oq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),o=v.useRef(e);return Hq(()=>{o.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=o.current)==null||c.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Vq(a){return typeof a=="function"}var Bq=v.createContext(void 0);function QC(a){const e=v.useContext(Bq);return a||e||"ltr"}var Y9="rovingFocusGroup.onEntryFocus",Uq={bubbles:!1,cancelable:!0},Yc="RovingFocusGroup",[MC,NS,$q]=IS(Yc),[Gq,AS]=ma(Yc,[$q]),[Wq,Zq]=Gq(Yc),_S=v.forwardRef((a,e)=>t.jsx(MC.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(MC.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Xq,{...a,ref:e})})}));_S.displayName=Yc;var Xq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:o,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,m=v.useRef(null),f=je(e,m),k=QC(o),[y,x]=sr({prop:c,defaultProp:l??null,onChange:d,caller:Yc}),[g,w]=v.useState(!1),M=ir(h),j=NS(r),b=v.useRef(!1),[N,S]=v.useState(0);return v.useEffect(()=>{const L=m.current;if(L)return L.addEventListener(Y9,M),()=>L.removeEventListener(Y9,M)},[M]),t.jsx(Wq,{scope:r,orientation:n,dir:k,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(L=>x(L),[x]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>S(L=>L+1),[]),onFocusableItemRemove:v.useCallback(()=>S(L=>L-1),[]),children:t.jsx(me.div,{tabIndex:g||N===0?-1:0,"data-orientation":n,...p,ref:f,style:{outline:"none",...a.style},onMouseDown:he(a.onMouseDown,()=>{b.current=!0}),onFocus:he(a.onFocus,L=>{const A=!b.current;if(L.target===L.currentTarget&&A&&!g){const T=new CustomEvent(Y9,Uq);if(L.currentTarget.dispatchEvent(T),!T.defaultPrevented){const R=j().filter(V=>V.focusable),D=R.find(V=>V.active),_=R.find(V=>V.id===y),z=[D,_,...R].filter(Boolean).map(V=>V.ref.current);TS(z,u)}}b.current=!1}),onBlur:he(a.onBlur,()=>w(!1))})})}),PS="RovingFocusGroupItem",qS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:o,children:c,...l}=a,d=Na(),h=o||d,u=Zq(PS,r),p=u.currentTabStopId===h,m=NS(r),{onFocusableItemAdd:f,onFocusableItemRemove:k,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return f(),()=>k()},[n,f,k]),t.jsx(MC.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(me.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:he(a.onMouseDown,x=>{n?u.onItemFocus(h):x.preventDefault()}),onFocus:he(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:he(a.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const g=Kq(x,u.orientation,u.dir);if(g!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let M=m().filter(j=>j.focusable).map(j=>j.ref.current);if(g==="last")M.reverse();else if(g==="prev"||g==="next"){g==="prev"&&M.reverse();const j=M.indexOf(x.currentTarget);M=u.loop?Qq(M,j+1):M.slice(j+1)}setTimeout(()=>TS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});qS.displayName=PS;var Jq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Yq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Kq(a,e,r){const n=Yq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Jq[n]}function TS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function Qq(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var eT=_S,tT=qS;function aT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var ur=a=>{const{present:e,children:r}=a,n=rT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),o=je(n.ref,nT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:o}):null};ur.displayName="Presence";function rT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),o=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=aT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=a1(n.current);o.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const m=o.current,f=a1(h);a?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&m!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const y=a1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&y&&(d("ANIMATION_END"),!i.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},m=f=>{f.target===e&&(o.current=a1(n.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function a1(a){return(a==null?void 0:a.animationName)||"none"}function nT(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var M9="Tabs",[iT]=ma(M9,[AS]),RS=AS(),[sT,ej]=iT(M9),DS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=QC(l),[p,m]=sr({prop:n,onChange:i,defaultProp:o??"",caller:M9});return t.jsx(sT,{scope:r,baseId:Na(),value:p,onValueChange:m,orientation:c,dir:u,activationMode:d,children:t.jsx(me.div,{dir:u,"data-orientation":c,...h,ref:e})})});DS.displayName=M9;var zS="TabsList",FS=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,o=ej(zS,r),c=RS(r);return t.jsx(eT,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(me.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:e})})});FS.displayName=zS;var ES="TabsTrigger",HS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...o}=a,c=ej(ES,r),l=RS(r),d=BS(c.baseId,n),h=US(c.baseId,n),u=n===c.value;return t.jsx(tT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(me.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:d,...o,ref:e,onMouseDown:he(a.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:he(a.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:he(a.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!i&&p&&c.onValueChange(n)})})})});HS.displayName=ES;var OS="TabsContent",VS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:o,...c}=a,l=ej(OS,r),d=BS(l.baseId,n),h=US(l.baseId,n),u=n===l.value,p=v.useRef(u);return v.useEffect(()=>{const m=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(m)},[]),t.jsx(ur,{present:i||u,children:({present:m})=>t.jsx(me.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!m,id:h,tabIndex:0,...c,ref:e,style:{...a.style,animationDuration:p.current?"0s":void 0},children:m&&o})})});VS.displayName=OS;function BS(a,e){return`${a}-trigger-${e}`}function US(a,e){return`${a}-content-${e}`}var oT=DS,$S=FS,GS=HS,WS=VS;const oo=oT,pr=v.forwardRef(({className:a,...e},r)=>t.jsx($S,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));pr.displayName=$S.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(GS,{ref:r,className:ce("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",a),...e}));Ie.displayName=GS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...e}));Ne.displayName=WS.displayName;const be=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("rounded-xl border bg-card text-card-foreground shadow",a),...e}));be.displayName="Card";const Re=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex flex-col space-y-1.5 p-6",a),...e}));Re.displayName="CardHeader";const De=v.forwardRef(({className:a,...e},r)=>t.jsx("h3",{ref:r,className:ce("font-semibold leading-none tracking-tight",a),...e}));De.displayName="CardTitle";const Ge=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ge.displayName="CardDescription";const Ce=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));Ce.displayName="CardContent";const Ho=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));Ho.displayName="CardFooter";function cT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:o="Select Plan"}){const[c,l]=C.useState([]),[d,h]=C.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";C.useEffect(()=>{(async()=>{try{const k=r??"en",y=a.map(async g=>(await fetch(`${u}/api/v1/promotions/?ids=${g}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(y);l(x)}catch{}})()},[a,u,r]);const p=f=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:f,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(k)},m=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return t.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:t.jsxs("div",{className:"container px-4 md:px-6",children:[i??t.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:i}),t.jsxs(oo,{defaultValue:"tab-0",className:"w-full",onValueChange:f=>h(f),children:[t.jsx(pr,{className:m,children:e.map((f,k)=>t.jsx(Ie,{value:`tab-${k}`,children:f},k))}),c.map((f,k)=>t.jsx(Ne,{value:`tab-${k}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:f.map((y,x)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Re,{children:[t.jsx(De,{children:y.title}),t.jsx(Ge,{children:y.short_description})]}),t.jsxs(Ce,{className:"flex-1",children:[t.jsxs("p",{className:"text-3xl font-bold",children:["€",y.price]}),t.jsx("ul",{className:"mt-4 space-y-2",children:y.features&&y.features.map((g,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(wo,{className:"mr-2 h-4 w-4 text-primary"})," ",g]},w))})]}),t.jsx(Ho,{children:t.jsx($,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:o})})]},x))})},k))]})]})})}function lT({isOpen:a,items:e}){const r=e.reduce((n,i)=>n+i.price,0);return t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:ce("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",a?"translate-x-0":"translate-x-full"),children:t.jsxs("div",{className:"h-full flex flex-col",children:[t.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[t.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),t.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:[t.jsx(Tt,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),t.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>t.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[t.jsxs("div",{className:"flex justify-between items-start mb-1",children:[t.jsx("span",{className:"font-medium",children:n.name}),t.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),t.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),t.jsx("div",{className:"p-4 border-t",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"font-semibold",children:"Total:"}),t.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),a&&t.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 wa(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function ZS(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
7725
+ */const wq=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:p1,AArrowDownIcon:p1,AArrowUp:y1,AArrowUpIcon:y1,ALargeSmall:m1,ALargeSmallIcon:m1,Accessibility:f1,AccessibilityIcon:f1,Activity:x1,ActivityIcon:x1,ActivitySquare:Ni,ActivitySquareIcon:Ni,AirVent:k1,AirVentIcon:k1,Airplay:g1,AirplayIcon:g1,AlarmCheck:Cr,AlarmCheckIcon:Cr,AlarmClock:w1,AlarmClockCheck:Cr,AlarmClockCheckIcon:Cr,AlarmClockIcon:w1,AlarmClockMinus:jr,AlarmClockMinusIcon:jr,AlarmClockOff:v1,AlarmClockOffIcon:v1,AlarmClockPlus:Lr,AlarmClockPlusIcon:Lr,AlarmMinus:jr,AlarmMinusIcon:jr,AlarmPlus:Lr,AlarmPlusIcon:Lr,AlarmSmoke:M1,AlarmSmokeIcon:M1,Album:b1,AlbumIcon:b1,AlertCircle:Bt,AlertCircleIcon:Bt,AlertOctagon:si,AlertOctagonIcon:si,AlertTriangle:Ns,AlertTriangleIcon:Ns,AlignCenter:L1,AlignCenterHorizontal:C1,AlignCenterHorizontalIcon:C1,AlignCenterIcon:L1,AlignCenterVertical:j1,AlignCenterVerticalIcon:j1,AlignEndHorizontal:S1,AlignEndHorizontalIcon:S1,AlignEndVertical:I1,AlignEndVerticalIcon:I1,AlignHorizontalDistributeCenter:N1,AlignHorizontalDistributeCenterIcon:N1,AlignHorizontalDistributeEnd:A1,AlignHorizontalDistributeEndIcon:A1,AlignHorizontalDistributeStart:_1,AlignHorizontalDistributeStartIcon:_1,AlignHorizontalJustifyCenter:P1,AlignHorizontalJustifyCenterIcon:P1,AlignHorizontalJustifyEnd:q1,AlignHorizontalJustifyEndIcon:q1,AlignHorizontalJustifyStart:T1,AlignHorizontalJustifyStartIcon:T1,AlignHorizontalSpaceAround:R1,AlignHorizontalSpaceAroundIcon:R1,AlignHorizontalSpaceBetween:D1,AlignHorizontalSpaceBetweenIcon:D1,AlignJustify:z1,AlignJustifyIcon:z1,AlignLeft:F1,AlignLeftIcon:F1,AlignRight:E1,AlignRightIcon:E1,AlignStartHorizontal:H1,AlignStartHorizontalIcon:H1,AlignStartVertical:O1,AlignStartVerticalIcon:O1,AlignVerticalDistributeCenter:V1,AlignVerticalDistributeCenterIcon:V1,AlignVerticalDistributeEnd:B1,AlignVerticalDistributeEndIcon:B1,AlignVerticalDistributeStart:U1,AlignVerticalDistributeStartIcon:U1,AlignVerticalJustifyCenter:$1,AlignVerticalJustifyCenterIcon:$1,AlignVerticalJustifyEnd:G1,AlignVerticalJustifyEndIcon:G1,AlignVerticalJustifyStart:W1,AlignVerticalJustifyStartIcon:W1,AlignVerticalSpaceAround:Z1,AlignVerticalSpaceAroundIcon:Z1,AlignVerticalSpaceBetween:X1,AlignVerticalSpaceBetweenIcon:X1,Ambulance:J1,AmbulanceIcon:J1,Ampersand:Y1,AmpersandIcon:Y1,Ampersands:K1,AmpersandsIcon:K1,Amphora:Q1,AmphoraIcon:Q1,Anchor:el,AnchorIcon:el,Angry:tl,AngryIcon:tl,Annoyed:al,AnnoyedIcon:al,Antenna:rl,AntennaIcon:rl,Anvil:nl,AnvilIcon:nl,Aperture:il,ApertureIcon:il,AppWindow:ol,AppWindowIcon:ol,AppWindowMac:sl,AppWindowMacIcon:sl,Apple:cl,AppleIcon:cl,Archive:hl,ArchiveIcon:hl,ArchiveRestore:ll,ArchiveRestoreIcon:ll,ArchiveX:dl,ArchiveXIcon:dl,AreaChart:Hr,AreaChartIcon:Hr,Armchair:ul,ArmchairIcon:ul,ArrowBigDown:yl,ArrowBigDownDash:pl,ArrowBigDownDashIcon:pl,ArrowBigDownIcon:yl,ArrowBigLeft:fl,ArrowBigLeftDash:ml,ArrowBigLeftDashIcon:ml,ArrowBigLeftIcon:fl,ArrowBigRight:kl,ArrowBigRightDash:xl,ArrowBigRightDashIcon:xl,ArrowBigRightIcon:kl,ArrowBigUp:vl,ArrowBigUpDash:gl,ArrowBigUpDashIcon:gl,ArrowBigUpIcon:vl,ArrowDown:Al,ArrowDown01:wl,ArrowDown01Icon:wl,ArrowDown10:Ml,ArrowDown10Icon:Ml,ArrowDownAZ:Sr,ArrowDownAZIcon:Sr,ArrowDownAz:Sr,ArrowDownAzIcon:Sr,ArrowDownCircle:Kr,ArrowDownCircleIcon:Kr,ArrowDownFromLine:bl,ArrowDownFromLineIcon:bl,ArrowDownIcon:Al,ArrowDownLeft:Cl,ArrowDownLeftFromCircle:en,ArrowDownLeftFromCircleIcon:en,ArrowDownLeftFromSquare:qi,ArrowDownLeftFromSquareIcon:qi,ArrowDownLeftIcon:Cl,ArrowDownLeftSquare:Ai,ArrowDownLeftSquareIcon:Ai,ArrowDownNarrowWide:jl,ArrowDownNarrowWideIcon:jl,ArrowDownRight:Ll,ArrowDownRightFromCircle:tn,ArrowDownRightFromCircleIcon:tn,ArrowDownRightFromSquare:Ti,ArrowDownRightFromSquareIcon:Ti,ArrowDownRightIcon:Ll,ArrowDownRightSquare:_i,ArrowDownRightSquareIcon:_i,ArrowDownSquare:Pi,ArrowDownSquareIcon:Pi,ArrowDownToDot:Sl,ArrowDownToDotIcon:Sl,ArrowDownToLine:Il,ArrowDownToLineIcon:Il,ArrowDownUp:Nl,ArrowDownUpIcon:Nl,ArrowDownWideNarrow:Ir,ArrowDownWideNarrowIcon:Ir,ArrowDownZA:Nr,ArrowDownZAIcon:Nr,ArrowDownZa:Nr,ArrowDownZaIcon:Nr,ArrowLeft:Gs,ArrowLeftCircle:Qr,ArrowLeftCircleIcon:Qr,ArrowLeftFromLine:_l,ArrowLeftFromLineIcon:_l,ArrowLeftIcon:Gs,ArrowLeftRight:Pl,ArrowLeftRightIcon:Pl,ArrowLeftSquare:ba,ArrowLeftSquareIcon:ba,ArrowLeftToLine:ql,ArrowLeftToLineIcon:ql,ArrowRight:ko,ArrowRightCircle:nn,ArrowRightCircleIcon:nn,ArrowRightFromLine:Tl,ArrowRightFromLineIcon:Tl,ArrowRightIcon:ko,ArrowRightLeft:Rl,ArrowRightLeftIcon:Rl,ArrowRightSquare:Ca,ArrowRightSquareIcon:Ca,ArrowRightToLine:Dl,ArrowRightToLineIcon:Dl,ArrowUp:Gl,ArrowUp01:zl,ArrowUp01Icon:zl,ArrowUp10:Fl,ArrowUp10Icon:Fl,ArrowUpAZ:Ar,ArrowUpAZIcon:Ar,ArrowUpAz:Ar,ArrowUpAzIcon:Ar,ArrowUpCircle:sn,ArrowUpCircleIcon:sn,ArrowUpDown:El,ArrowUpDownIcon:El,ArrowUpFromDot:Hl,ArrowUpFromDotIcon:Hl,ArrowUpFromLine:Ol,ArrowUpFromLineIcon:Ol,ArrowUpIcon:Gl,ArrowUpLeft:Vl,ArrowUpLeftFromCircle:an,ArrowUpLeftFromCircleIcon:an,ArrowUpLeftFromSquare:Ri,ArrowUpLeftFromSquareIcon:Ri,ArrowUpLeftIcon:Vl,ArrowUpLeftSquare:zi,ArrowUpLeftSquareIcon:zi,ArrowUpNarrowWide:_r,ArrowUpNarrowWideIcon:_r,ArrowUpRight:Bl,ArrowUpRightFromCircle:rn,ArrowUpRightFromCircleIcon:rn,ArrowUpRightFromSquare:Di,ArrowUpRightFromSquareIcon:Di,ArrowUpRightIcon:Bl,ArrowUpRightSquare:Fi,ArrowUpRightSquareIcon:Fi,ArrowUpSquare:Ei,ArrowUpSquareIcon:Ei,ArrowUpToLine:Ul,ArrowUpToLineIcon:Ul,ArrowUpWideNarrow:$l,ArrowUpWideNarrowIcon:$l,ArrowUpZA:Pr,ArrowUpZAIcon:Pr,ArrowUpZa:Pr,ArrowUpZaIcon:Pr,ArrowsUpFromLine:Wl,ArrowsUpFromLineIcon:Wl,Asterisk:Zl,AsteriskIcon:Zl,AsteriskSquare:Hi,AsteriskSquareIcon:Hi,AtSign:Xl,AtSignIcon:Xl,Atom:Jl,AtomIcon:Jl,AudioLines:Yl,AudioLinesIcon:Yl,AudioWaveform:Kl,AudioWaveformIcon:Kl,Award:La,AwardIcon:La,Axe:Ql,AxeIcon:Ql,Axis3D:qr,Axis3DIcon:qr,Axis3d:qr,Axis3dIcon:qr,Baby:ed,BabyIcon:ed,Backpack:td,BackpackIcon:td,Badge:xd,BadgeAlert:ad,BadgeAlertIcon:ad,BadgeCent:rd,BadgeCentIcon:rd,BadgeCheck:Tr,BadgeCheckIcon:Tr,BadgeDollarSign:nd,BadgeDollarSignIcon:nd,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:sd,BadgeHelpIcon:sd,BadgeIcon:xd,BadgeIndianRupee:od,BadgeIndianRupeeIcon:od,BadgeInfo:cd,BadgeInfoIcon:cd,BadgeJapaneseYen:ld,BadgeJapaneseYenIcon:ld,BadgeMinus:dd,BadgeMinusIcon:dd,BadgePercent:hd,BadgePercentIcon:hd,BadgePlus:ud,BadgePlusIcon:ud,BadgePoundSterling:pd,BadgePoundSterlingIcon:pd,BadgeRussianRuble:yd,BadgeRussianRubleIcon:yd,BadgeSwissFranc:md,BadgeSwissFrancIcon:md,BadgeX:fd,BadgeXIcon:fd,BaggageClaim:kd,BaggageClaimIcon:kd,Ban:gd,BanIcon:gd,Banana:vd,BananaIcon:vd,Bandage:wd,BandageIcon:wd,Banknote:Md,BanknoteIcon:Md,BarChart:Ga,BarChart2:Zr,BarChart2Icon:Zr,BarChart3:Gr,BarChart3Icon:Gr,BarChart4:$r,BarChart4Icon:$r,BarChartBig:Ur,BarChartBigIcon:Ur,BarChartHorizontal:Vr,BarChartHorizontalBig:Or,BarChartHorizontalBigIcon:Or,BarChartHorizontalIcon:Vr,BarChartIcon:Ga,Barcode:bd,BarcodeIcon:bd,Baseline:Cd,BaselineIcon:Cd,Bath:jd,BathIcon:jd,Battery:_d,BatteryCharging:Ld,BatteryChargingIcon:Ld,BatteryFull:Sd,BatteryFullIcon:Sd,BatteryIcon:_d,BatteryLow:Id,BatteryLowIcon:Id,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryWarning:Ad,BatteryWarningIcon:Ad,Beaker:Pd,BeakerIcon:Pd,Bean:Td,BeanIcon:Td,BeanOff:qd,BeanOffIcon:qd,Bed:zd,BedDouble:Rd,BedDoubleIcon:Rd,BedIcon:zd,BedSingle:Dd,BedSingleIcon:Dd,Beef:Fd,BeefIcon:Fd,Beer:Hd,BeerIcon:Hd,BeerOff:Ed,BeerOffIcon:Ed,Bell:go,BellDot:Od,BellDotIcon:Od,BellElectric:Vd,BellElectricIcon:Vd,BellIcon:go,BellMinus:Bd,BellMinusIcon:Bd,BellOff:Ud,BellOffIcon:Ud,BellPlus:$d,BellPlusIcon:$d,BellRing:Gd,BellRingIcon:Gd,BetweenHorizonalEnd:Rr,BetweenHorizonalEndIcon:Rr,BetweenHorizonalStart:Dr,BetweenHorizonalStartIcon:Dr,BetweenHorizontalEnd:Rr,BetweenHorizontalEndIcon:Rr,BetweenHorizontalStart:Dr,BetweenHorizontalStartIcon:Dr,BetweenVerticalEnd:Wd,BetweenVerticalEndIcon:Wd,BetweenVerticalStart:Zd,BetweenVerticalStartIcon:Zd,BicepsFlexed:Xd,BicepsFlexedIcon:Xd,Bike:Jd,BikeIcon:Jd,Binary:Yd,BinaryIcon:Yd,Binoculars:Kd,BinocularsIcon:Kd,Biohazard:Qd,BiohazardIcon:Qd,Bird:e2,BirdIcon:e2,Bitcoin:t2,BitcoinIcon:t2,Blend:a2,BlendIcon:a2,Blinds:r2,BlindsIcon:r2,Blocks:n2,BlocksIcon:n2,Bluetooth:c2,BluetoothConnected:i2,BluetoothConnectedIcon:i2,BluetoothIcon:c2,BluetoothOff:s2,BluetoothOffIcon:s2,BluetoothSearching:o2,BluetoothSearchingIcon:o2,Bold:l2,BoldIcon:l2,Bolt:d2,BoltIcon:d2,Bomb:h2,BombIcon:h2,Bone:u2,BoneIcon:u2,Book:T2,BookA:p2,BookAIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:m2,BookCheckIcon:m2,BookCopy:f2,BookCopyIcon:f2,BookDashed:zr,BookDashedIcon:zr,BookDown:x2,BookDownIcon:x2,BookHeadphones:k2,BookHeadphonesIcon:k2,BookHeart:g2,BookHeartIcon:g2,BookIcon:T2,BookImage:v2,BookImageIcon:v2,BookKey:w2,BookKeyIcon:w2,BookLock:M2,BookLockIcon:M2,BookMarked:b2,BookMarkedIcon:b2,BookMinus:C2,BookMinusIcon:C2,BookOpen:Wt,BookOpenCheck:j2,BookOpenCheckIcon:j2,BookOpenIcon:Wt,BookOpenText:L2,BookOpenTextIcon:L2,BookPlus:S2,BookPlusIcon:S2,BookTemplate:zr,BookTemplateIcon:zr,BookText:I2,BookTextIcon:I2,BookType:N2,BookTypeIcon:N2,BookUp:_2,BookUp2:A2,BookUp2Icon:A2,BookUpIcon:_2,BookUser:P2,BookUserIcon:P2,BookX:q2,BookXIcon:q2,Bookmark:Qa,BookmarkCheck:da,BookmarkCheckIcon:da,BookmarkIcon:Qa,BookmarkMinus:R2,BookmarkMinusIcon:R2,BookmarkPlus:uc,BookmarkPlusIcon:uc,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:z2,BoomBoxIcon:z2,Bot:pc,BotIcon:pc,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,Box:H2,BoxIcon:H2,BoxSelect:Yi,BoxSelectIcon:Yi,Boxes:O2,BoxesIcon:O2,Braces:Fr,BracesIcon:Fr,Brackets:V2,BracketsIcon:V2,Brain:$2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:U2,BrainCogIcon:U2,BrainIcon:$2,BrickWall:G2,BrickWallIcon:G2,Briefcase:vt,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:Z2,BriefcaseConveyorBeltIcon:Z2,BriefcaseIcon:vt,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:Y2,BrushIcon:Y2,Bug:e0,BugIcon:e0,BugOff:K2,BugOffIcon:K2,BugPlay:Q2,BugPlayIcon:Q2,Building:vo,Building2:yc,Building2Icon:yc,BuildingIcon:vo,Bus:a0,BusFront:t0,BusFrontIcon:t0,BusIcon:a0,Cable:n0,CableCar:r0,CableCarIcon:r0,CableIcon:n0,Cake:s0,CakeIcon:s0,CakeSlice:i0,CakeSliceIcon:i0,Calculator:o0,CalculatorIcon:o0,Calendar:mc,CalendarArrowDown:c0,CalendarArrowDownIcon:c0,CalendarArrowUp:l0,CalendarArrowUpIcon:l0,CalendarCheck:h0,CalendarCheck2:d0,CalendarCheck2Icon:d0,CalendarCheckIcon:h0,CalendarClock:u0,CalendarClockIcon:u0,CalendarCog:p0,CalendarCogIcon:p0,CalendarDays:y0,CalendarDaysIcon:y0,CalendarFold:m0,CalendarFoldIcon:m0,CalendarHeart:f0,CalendarHeartIcon:f0,CalendarIcon:mc,CalendarMinus:k0,CalendarMinus2:x0,CalendarMinus2Icon:x0,CalendarMinusIcon:k0,CalendarOff:g0,CalendarOffIcon:g0,CalendarPlus:w0,CalendarPlus2:v0,CalendarPlus2Icon:v0,CalendarPlusIcon:w0,CalendarRange:M0,CalendarRangeIcon:M0,CalendarSearch:b0,CalendarSearchIcon:b0,CalendarX:j0,CalendarX2:C0,CalendarX2Icon:C0,CalendarXIcon:j0,Camera:S0,CameraIcon:S0,CameraOff:L0,CameraOffIcon:L0,CandlestickChart:Br,CandlestickChartIcon:Br,Candy:A0,CandyCane:I0,CandyCaneIcon:I0,CandyIcon:A0,CandyOff:N0,CandyOffIcon:N0,Cannabis:_0,CannabisIcon:_0,Captions:Er,CaptionsIcon:Er,CaptionsOff:P0,CaptionsOffIcon:P0,Car:R0,CarFront:q0,CarFrontIcon:q0,CarIcon:R0,CarTaxiFront:T0,CarTaxiFrontIcon:T0,Caravan:D0,CaravanIcon:D0,Carrot:z0,CarrotIcon:z0,CaseLower:F0,CaseLowerIcon:F0,CaseSensitive:E0,CaseSensitiveIcon:E0,CaseUpper:H0,CaseUpperIcon:H0,CassetteTape:O0,CassetteTapeIcon:O0,Cast:V0,CastIcon:V0,Castle:B0,CastleIcon:B0,Cat:U0,CatIcon:U0,Cctv:$0,CctvIcon:$0,ChartArea:Hr,ChartAreaIcon:Hr,ChartBar:Vr,ChartBarBig:Or,ChartBarBigIcon:Or,ChartBarDecreasing:G0,ChartBarDecreasingIcon:G0,ChartBarIcon:Vr,ChartBarIncreasing:W0,ChartBarIncreasingIcon:W0,ChartBarStacked:Z0,ChartBarStackedIcon:Z0,ChartCandlestick:Br,ChartCandlestickIcon:Br,ChartColumn:Gr,ChartColumnBig:Ur,ChartColumnBigIcon:Ur,ChartColumnDecreasing:X0,ChartColumnDecreasingIcon:X0,ChartColumnIcon:Gr,ChartColumnIncreasing:$r,ChartColumnIncreasingIcon:$r,ChartColumnStacked:J0,ChartColumnStackedIcon:J0,ChartGantt:Y0,ChartGanttIcon:Y0,ChartLine:Wr,ChartLineIcon:Wr,ChartNetwork:K0,ChartNetworkIcon:K0,ChartNoAxesColumn:Zr,ChartNoAxesColumnDecreasing:Q0,ChartNoAxesColumnDecreasingIcon:Q0,ChartNoAxesColumnIcon:Zr,ChartNoAxesColumnIncreasing:Ga,ChartNoAxesColumnIncreasingIcon:Ga,ChartNoAxesCombined:eh,ChartNoAxesCombinedIcon:eh,ChartNoAxesGantt:Xr,ChartNoAxesGanttIcon:Xr,ChartPie:Jr,ChartPieIcon:Jr,ChartScatter:Yr,ChartScatterIcon:Yr,ChartSpline:th,ChartSplineIcon:th,Check:wo,CheckCheck:ah,CheckCheckIcon:ah,CheckCircle:Nt,CheckCircle2:on,CheckCircle2Icon:on,CheckCircleIcon:Nt,CheckIcon:wo,CheckSquare:Vi,CheckSquare2:Bi,CheckSquare2Icon:Bi,CheckSquareIcon:Vi,ChefHat:rh,ChefHatIcon:rh,Cherry:nh,CherryIcon:nh,ChevronDown:Ws,ChevronDownCircle:cn,ChevronDownCircleIcon:cn,ChevronDownIcon:Ws,ChevronDownSquare:Ui,ChevronDownSquareIcon:Ui,ChevronFirst:ih,ChevronFirstIcon:ih,ChevronLast:sh,ChevronLastIcon:sh,ChevronLeft:Zs,ChevronLeftCircle:ln,ChevronLeftCircleIcon:ln,ChevronLeftIcon:Zs,ChevronLeftSquare:$i,ChevronLeftSquareIcon:$i,ChevronRight:er,ChevronRightCircle:dn,ChevronRightCircleIcon:dn,ChevronRightIcon:er,ChevronRightSquare:Gi,ChevronRightSquareIcon:Gi,ChevronUp:fc,ChevronUpCircle:hn,ChevronUpCircleIcon:hn,ChevronUpIcon:fc,ChevronUpSquare:Wi,ChevronUpSquareIcon:Wi,ChevronsDown:ch,ChevronsDownIcon:ch,ChevronsDownUp:oh,ChevronsDownUpIcon:oh,ChevronsLeft:hh,ChevronsLeftIcon:hh,ChevronsLeftRight:dh,ChevronsLeftRightEllipsis:lh,ChevronsLeftRightEllipsisIcon:lh,ChevronsLeftRightIcon:dh,ChevronsRight:ph,ChevronsRightIcon:ph,ChevronsRightLeft:uh,ChevronsRightLeftIcon:uh,ChevronsUp:mh,ChevronsUpDown:yh,ChevronsUpDownIcon:yh,ChevronsUpIcon:mh,Chrome:fh,ChromeIcon:fh,Church:xh,ChurchIcon:xh,Cigarette:gh,CigaretteIcon:gh,CigaretteOff:kh,CigaretteOffIcon:kh,Circle:Ah,CircleAlert:Bt,CircleAlertIcon:Bt,CircleArrowDown:Kr,CircleArrowDownIcon:Kr,CircleArrowLeft:Qr,CircleArrowLeftIcon:Qr,CircleArrowOutDownLeft:en,CircleArrowOutDownLeftIcon:en,CircleArrowOutDownRight:tn,CircleArrowOutDownRightIcon:tn,CircleArrowOutUpLeft:an,CircleArrowOutUpLeftIcon:an,CircleArrowOutUpRight:rn,CircleArrowOutUpRightIcon:rn,CircleArrowRight:nn,CircleArrowRightIcon:nn,CircleArrowUp:sn,CircleArrowUpIcon:sn,CircleCheck:on,CircleCheckBig:Nt,CircleCheckBigIcon:Nt,CircleCheckIcon:on,CircleChevronDown:cn,CircleChevronDownIcon:cn,CircleChevronLeft:ln,CircleChevronLeftIcon:ln,CircleChevronRight:dn,CircleChevronRightIcon:dn,CircleChevronUp:hn,CircleChevronUpIcon:hn,CircleDashed:vh,CircleDashedIcon:vh,CircleDivide:un,CircleDivideIcon:un,CircleDollarSign:wh,CircleDollarSignIcon:wh,CircleDot:bh,CircleDotDashed:Mh,CircleDotDashedIcon:Mh,CircleDotIcon:bh,CircleEllipsis:Ch,CircleEllipsisIcon:Ch,CircleEqual:jh,CircleEqualIcon:jh,CircleFadingArrowUp:Lh,CircleFadingArrowUpIcon:Lh,CircleFadingPlus:Sh,CircleFadingPlusIcon:Sh,CircleGauge:pn,CircleGaugeIcon:pn,CircleHelp:Wa,CircleHelpIcon:Wa,CircleIcon:Ah,CircleMinus:yn,CircleMinusIcon:yn,CircleOff:Ih,CircleOffIcon:Ih,CircleParking:fn,CircleParkingIcon:fn,CircleParkingOff:mn,CircleParkingOffIcon:mn,CirclePause:xn,CirclePauseIcon:xn,CirclePercent:kn,CirclePercentIcon:kn,CirclePlay:gn,CirclePlayIcon:gn,CirclePlus:vn,CirclePlusIcon:vn,CirclePower:wn,CirclePowerIcon:wn,CircleSlash:Nh,CircleSlash2:Mn,CircleSlash2Icon:Mn,CircleSlashIcon:Nh,CircleSlashed:Mn,CircleSlashedIcon:Mn,CircleStop:bn,CircleStopIcon:bn,CircleUser:jn,CircleUserIcon:jn,CircleUserRound:Cn,CircleUserRoundIcon:Cn,CircleX:ia,CircleXIcon:ia,CircuitBoard:_h,CircuitBoardIcon:_h,Citrus:Ph,CitrusIcon:Ph,Clapperboard:qh,ClapperboardIcon:qh,Clipboard:Vh,ClipboardCheck:Th,ClipboardCheckIcon:Th,ClipboardCopy:Rh,ClipboardCopyIcon:Rh,ClipboardEdit:Sn,ClipboardEditIcon:Sn,ClipboardIcon:Vh,ClipboardList:Dh,ClipboardListIcon:Dh,ClipboardMinus:zh,ClipboardMinusIcon:zh,ClipboardPaste:Fh,ClipboardPasteIcon:Fh,ClipboardPen:Sn,ClipboardPenIcon:Sn,ClipboardPenLine:Ln,ClipboardPenLineIcon:Ln,ClipboardPlus:Eh,ClipboardPlusIcon:Eh,ClipboardSignature:Ln,ClipboardSignatureIcon:Ln,ClipboardType:Hh,ClipboardTypeIcon:Hh,ClipboardX:Oh,ClipboardXIcon:Oh,Clock:Qt,Clock1:Bh,Clock10:Uh,Clock10Icon:Uh,Clock11:$h,Clock11Icon:$h,Clock12:Gh,Clock12Icon:Gh,Clock1Icon:Bh,Clock2:Wh,Clock2Icon:Wh,Clock3:Zh,Clock3Icon:Zh,Clock4:Xh,Clock4Icon:Xh,Clock5:Jh,Clock5Icon:Jh,Clock6:Yh,Clock6Icon:Yh,Clock7:Kh,Clock7Icon:Kh,Clock8:Qh,Clock8Icon:Qh,Clock9:eu,Clock9Icon:eu,ClockAlert:tu,ClockAlertIcon:tu,ClockArrowDown:au,ClockArrowDownIcon:au,ClockArrowUp:ru,ClockArrowUpIcon:ru,ClockIcon:Qt,Cloud:xu,CloudCog:nu,CloudCogIcon:nu,CloudDownload:In,CloudDownloadIcon:In,CloudDrizzle:iu,CloudDrizzleIcon:iu,CloudFog:su,CloudFogIcon:su,CloudHail:ou,CloudHailIcon:ou,CloudIcon:xu,CloudLightning:cu,CloudLightningIcon:cu,CloudMoon:du,CloudMoonIcon:du,CloudMoonRain:lu,CloudMoonRainIcon:lu,CloudOff:hu,CloudOffIcon:hu,CloudRain:pu,CloudRainIcon:pu,CloudRainWind:uu,CloudRainWindIcon:uu,CloudSnow:yu,CloudSnowIcon:yu,CloudSun:fu,CloudSunIcon:fu,CloudSunRain:mu,CloudSunRainIcon:mu,CloudUpload:Za,CloudUploadIcon:Za,Cloudy:ku,CloudyIcon:ku,Clover:gu,CloverIcon:gu,Club:vu,ClubIcon:vu,Code:wu,Code2:Nn,Code2Icon:Nn,CodeIcon:wu,CodeSquare:Zi,CodeSquareIcon:Zi,CodeXml:Nn,CodeXmlIcon:Nn,Codepen:Mu,CodepenIcon:Mu,Codesandbox:bu,CodesandboxIcon:bu,Coffee:Cu,CoffeeIcon:Cu,Cog:ju,CogIcon:ju,Coins:Lu,CoinsIcon:Lu,Columns:An,Columns2:An,Columns2Icon:An,Columns3:_n,Columns3Icon:_n,Columns4:Su,Columns4Icon:Su,ColumnsIcon:An,Combine:Iu,CombineIcon:Iu,Command:Nu,CommandIcon:Nu,Compass:Au,CompassIcon:Au,Component:_u,ComponentIcon:_u,Computer:Pu,ComputerIcon:Pu,ConciergeBell:qu,ConciergeBellIcon:qu,Cone:Tu,ConeIcon:Tu,Construction:Ru,ConstructionIcon:Ru,Contact:Du,Contact2:Pn,Contact2Icon:Pn,ContactIcon:Du,ContactRound:Pn,ContactRoundIcon:Pn,Container:zu,ContainerIcon:zu,Contrast:Fu,ContrastIcon:Fu,Cookie:Eu,CookieIcon:Eu,CookingPot:Hu,CookingPotIcon:Hu,Copy:Gu,CopyCheck:Ou,CopyCheckIcon:Ou,CopyIcon:Gu,CopyMinus:Vu,CopyMinusIcon:Vu,CopyPlus:Bu,CopyPlusIcon:Bu,CopySlash:Uu,CopySlashIcon:Uu,CopyX:$u,CopyXIcon:$u,Copyleft:Wu,CopyleftIcon:Wu,Copyright:Zu,CopyrightIcon:Zu,CornerDownLeft:Xu,CornerDownLeftIcon:Xu,CornerDownRight:Ju,CornerDownRightIcon:Ju,CornerLeftDown:Yu,CornerLeftDownIcon:Yu,CornerLeftUp:Ku,CornerLeftUpIcon:Ku,CornerRightDown:Qu,CornerRightDownIcon:Qu,CornerRightUp:ep,CornerRightUpIcon:ep,CornerUpLeft:tp,CornerUpLeftIcon:tp,CornerUpRight:ap,CornerUpRightIcon:ap,Cpu:rp,CpuIcon:rp,CreativeCommons:np,CreativeCommonsIcon:np,CreditCard:xc,CreditCardIcon:xc,Croissant:ip,CroissantIcon:ip,Crop:sp,CropIcon:sp,Cross:op,CrossIcon:op,Crosshair:cp,CrosshairIcon:cp,Crown:lp,CrownIcon:lp,Cuboid:dp,CuboidIcon:dp,CupSoda:hp,CupSodaIcon:hp,CurlyBraces:Fr,CurlyBracesIcon:Fr,Currency:up,CurrencyIcon:up,Cylinder:pp,CylinderIcon:pp,Dam:yp,DamIcon:yp,Database:xp,DatabaseBackup:mp,DatabaseBackupIcon:mp,DatabaseIcon:xp,DatabaseZap:fp,DatabaseZapIcon:fp,Delete:kp,DeleteIcon:kp,Dessert:gp,DessertIcon:gp,Diameter:vp,DiameterIcon:vp,Diamond:bp,DiamondIcon:bp,DiamondMinus:wp,DiamondMinusIcon:wp,DiamondPercent:qn,DiamondPercentIcon:qn,DiamondPlus:Mp,DiamondPlusIcon:Mp,Dice1:Cp,Dice1Icon:Cp,Dice2:jp,Dice2Icon:jp,Dice3:Lp,Dice3Icon:Lp,Dice4:Sp,Dice4Icon:Sp,Dice5:Ip,Dice5Icon:Ip,Dice6:Np,Dice6Icon:Np,Dices:Ap,DicesIcon:Ap,Diff:_p,DiffIcon:_p,Disc:Rp,Disc2:Pp,Disc2Icon:Pp,Disc3:qp,Disc3Icon:qp,DiscAlbum:Tp,DiscAlbumIcon:Tp,DiscIcon:Rp,Divide:Dp,DivideCircle:un,DivideCircleIcon:un,DivideIcon:Dp,DivideSquare:Ki,DivideSquareIcon:Ki,Dna:Fp,DnaIcon:Fp,DnaOff:zp,DnaOffIcon:zp,Dock:Ep,DockIcon:Ep,Dog:Hp,DogIcon:Hp,DollarSign:kc,DollarSignIcon:kc,Donut:Op,DonutIcon:Op,DoorClosed:Vp,DoorClosedIcon:Vp,DoorOpen:Bp,DoorOpenIcon:Bp,Dot:Up,DotIcon:Up,DotSquare:Qi,DotSquareIcon:Qi,Download:$p,DownloadCloud:In,DownloadCloudIcon:In,DownloadIcon:$p,DraftingCompass:Gp,DraftingCompassIcon:Gp,Drama:Wp,DramaIcon:Wp,Dribbble:Zp,DribbbleIcon:Zp,Drill:Xp,DrillIcon:Xp,Droplet:Jp,DropletIcon:Jp,Droplets:Yp,DropletsIcon:Yp,Drum:Kp,DrumIcon:Kp,Drumstick:Qp,DrumstickIcon:Qp,Dumbbell:ey,DumbbellIcon:ey,Ear:ay,EarIcon:ay,EarOff:ty,EarOffIcon:ty,Earth:Tn,EarthIcon:Tn,EarthLock:ry,EarthLockIcon:ry,Eclipse:ny,EclipseIcon:ny,Edit:St,Edit2:gi,Edit2Icon:gi,Edit3:ki,Edit3Icon:ki,EditIcon:St,Egg:oy,EggFried:iy,EggFriedIcon:iy,EggIcon:oy,EggOff:sy,EggOffIcon:sy,Ellipsis:Dn,EllipsisIcon:Dn,EllipsisVertical:Rn,EllipsisVerticalIcon:Rn,Equal:ly,EqualIcon:ly,EqualNot:cy,EqualNotIcon:cy,EqualSquare:es,EqualSquareIcon:es,Eraser:dy,EraserIcon:dy,EthernetPort:hy,EthernetPortIcon:hy,Euro:uy,EuroIcon:uy,Expand:py,ExpandIcon:py,ExternalLink:Xs,ExternalLinkIcon:Xs,Eye:gc,EyeClosed:yy,EyeClosedIcon:yy,EyeIcon:gc,EyeOff:my,EyeOffIcon:my,Facebook:fy,FacebookIcon:fy,Factory:xy,FactoryIcon:xy,Fan:ky,FanIcon:ky,FastForward:gy,FastForwardIcon:gy,Feather:vy,FeatherIcon:vy,Fence:wy,FenceIcon:wy,FerrisWheel:My,FerrisWheelIcon:My,Figma:by,FigmaIcon:by,File:gm,FileArchive:Cy,FileArchiveIcon:Cy,FileAudio:Ly,FileAudio2:jy,FileAudio2Icon:jy,FileAudioIcon:Ly,FileAxis3D:zn,FileAxis3DIcon:zn,FileAxis3d:zn,FileAxis3dIcon:zn,FileBadge:Iy,FileBadge2:Sy,FileBadge2Icon:Sy,FileBadgeIcon:Iy,FileBarChart:Fn,FileBarChart2:En,FileBarChart2Icon:En,FileBarChartIcon:Fn,FileBox:Ny,FileBoxIcon:Ny,FileChartColumn:En,FileChartColumnIcon:En,FileChartColumnIncreasing:Fn,FileChartColumnIncreasingIcon:Fn,FileChartLine:Hn,FileChartLineIcon:Hn,FileChartPie:On,FileChartPieIcon:On,FileCheck:_y,FileCheck2:Ay,FileCheck2Icon:Ay,FileCheckIcon:_y,FileClock:Py,FileClockIcon:Py,FileCode:Ty,FileCode2:qy,FileCode2Icon:qy,FileCodeIcon:Ty,FileCog:Vn,FileCog2:Vn,FileCog2Icon:Vn,FileCogIcon:Vn,FileDiff:Ry,FileDiffIcon:Ry,FileDigit:Dy,FileDigitIcon:Dy,FileDown:zy,FileDownIcon:zy,FileEdit:Un,FileEditIcon:Un,FileHeart:Fy,FileHeartIcon:Fy,FileIcon:gm,FileImage:Ey,FileImageIcon:Ey,FileInput:Hy,FileInputIcon:Hy,FileJson:Vy,FileJson2:Oy,FileJson2Icon:Oy,FileJsonIcon:Vy,FileKey:Uy,FileKey2:By,FileKey2Icon:By,FileKeyIcon:Uy,FileLineChart:Hn,FileLineChartIcon:Hn,FileLock:Gy,FileLock2:$y,FileLock2Icon:$y,FileLockIcon:Gy,FileMinus:Zy,FileMinus2:Wy,FileMinus2Icon:Wy,FileMinusIcon:Zy,FileMusic:Xy,FileMusicIcon:Xy,FileOutput:Jy,FileOutputIcon:Jy,FilePen:Un,FilePenIcon:Un,FilePenLine:Bn,FilePenLineIcon:Bn,FilePieChart:On,FilePieChartIcon:On,FilePlus:Ky,FilePlus2:Yy,FilePlus2Icon:Yy,FilePlusIcon:Ky,FileQuestion:Qy,FileQuestionIcon:Qy,FileScan:em,FileScanIcon:em,FileSearch:am,FileSearch2:tm,FileSearch2Icon:tm,FileSearchIcon:am,FileSignature:Bn,FileSignatureIcon:Bn,FileSliders:rm,FileSlidersIcon:rm,FileSpreadsheet:nm,FileSpreadsheetIcon:nm,FileStack:im,FileStackIcon:im,FileSymlink:sm,FileSymlinkIcon:sm,FileTerminal:om,FileTerminalIcon:om,FileText:vc,FileTextIcon:vc,FileType:lm,FileType2:cm,FileType2Icon:cm,FileTypeIcon:lm,FileUp:dm,FileUpIcon:dm,FileUser:hm,FileUserIcon:hm,FileVideo:pm,FileVideo2:um,FileVideo2Icon:um,FileVideoIcon:pm,FileVolume:mm,FileVolume2:ym,FileVolume2Icon:ym,FileVolumeIcon:mm,FileWarning:fm,FileWarningIcon:fm,FileX:km,FileX2:xm,FileX2Icon:xm,FileXIcon:km,Files:vm,FilesIcon:vm,Film:wm,FilmIcon:wm,Filter:Mo,FilterIcon:Mo,FilterX:Mm,FilterXIcon:Mm,Fingerprint:bm,FingerprintIcon:bm,FireExtinguisher:Cm,FireExtinguisherIcon:Cm,Fish:Sm,FishIcon:Sm,FishOff:jm,FishOffIcon:jm,FishSymbol:Lm,FishSymbolIcon:Lm,Flag:wc,FlagIcon:wc,FlagOff:Im,FlagOffIcon:Im,FlagTriangleLeft:Nm,FlagTriangleLeftIcon:Nm,FlagTriangleRight:Am,FlagTriangleRightIcon:Am,Flame:Pm,FlameIcon:Pm,FlameKindling:_m,FlameKindlingIcon:_m,Flashlight:Tm,FlashlightIcon:Tm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Dm,FlaskConicalIcon:Dm,FlaskConicalOff:Rm,FlaskConicalOffIcon:Rm,FlaskRound:zm,FlaskRoundIcon:zm,FlipHorizontal:Em,FlipHorizontal2:Fm,FlipHorizontal2Icon:Fm,FlipHorizontalIcon:Em,FlipVertical:Om,FlipVertical2:Hm,FlipVertical2Icon:Hm,FlipVerticalIcon:Om,Flower:Bm,Flower2:Vm,Flower2Icon:Vm,FlowerIcon:Bm,Focus:Um,FocusIcon:Um,FoldHorizontal:$m,FoldHorizontalIcon:$m,FoldVertical:Gm,FoldVerticalIcon:Gm,Folder:wf,FolderArchive:Wm,FolderArchiveIcon:Wm,FolderCheck:Zm,FolderCheckIcon:Zm,FolderClock:Xm,FolderClockIcon:Xm,FolderClosed:Jm,FolderClosedIcon:Jm,FolderCode:Ym,FolderCodeIcon:Ym,FolderCog:$n,FolderCog2:$n,FolderCog2Icon:$n,FolderCogIcon:$n,FolderDot:Km,FolderDotIcon:Km,FolderDown:Qm,FolderDownIcon:Qm,FolderEdit:Gn,FolderEditIcon:Gn,FolderGit:tf,FolderGit2:ef,FolderGit2Icon:ef,FolderGitIcon:tf,FolderHeart:af,FolderHeartIcon:af,FolderIcon:wf,FolderInput:rf,FolderInputIcon:rf,FolderKanban:nf,FolderKanbanIcon:nf,FolderKey:sf,FolderKeyIcon:sf,FolderLock:of,FolderLockIcon:of,FolderMinus:cf,FolderMinusIcon:cf,FolderOpen:df,FolderOpenDot:lf,FolderOpenDotIcon:lf,FolderOpenIcon:df,FolderOutput:hf,FolderOutputIcon:hf,FolderPen:Gn,FolderPenIcon:Gn,FolderPlus:uf,FolderPlusIcon:uf,FolderRoot:pf,FolderRootIcon:pf,FolderSearch:mf,FolderSearch2:yf,FolderSearch2Icon:yf,FolderSearchIcon:mf,FolderSymlink:ff,FolderSymlinkIcon:ff,FolderSync:xf,FolderSyncIcon:xf,FolderTree:kf,FolderTreeIcon:kf,FolderUp:gf,FolderUpIcon:gf,FolderX:vf,FolderXIcon:vf,Folders:Mf,FoldersIcon:Mf,Footprints:bf,FootprintsIcon:bf,ForkKnife:Hs,ForkKnifeCrossed:Es,ForkKnifeCrossedIcon:Es,ForkKnifeIcon:Hs,Forklift:Cf,ForkliftIcon:Cf,FormInput:wi,FormInputIcon:wi,Forward:jf,ForwardIcon:jf,Frame:Lf,FrameIcon:Lf,Framer:Sf,FramerIcon:Sf,Frown:If,FrownIcon:If,Fuel:Nf,FuelIcon:Nf,Fullscreen:Af,FullscreenIcon:Af,FunctionSquare:ts,FunctionSquareIcon:ts,GalleryHorizontal:Pf,GalleryHorizontalEnd:_f,GalleryHorizontalEndIcon:_f,GalleryHorizontalIcon:Pf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:Rf,GalleryVerticalEnd:Tf,GalleryVerticalEndIcon:Tf,GalleryVerticalIcon:Rf,Gamepad:zf,Gamepad2:Df,Gamepad2Icon:Df,GamepadIcon:zf,GanttChart:Xr,GanttChartIcon:Xr,GanttChartSquare:ra,GanttChartSquareIcon:ra,Gauge:Ff,GaugeCircle:pn,GaugeCircleIcon:pn,GaugeIcon:Ff,Gavel:Ef,GavelIcon:Ef,Gem:Hf,GemIcon:Hf,Ghost:Of,GhostIcon:Of,Gift:Vf,GiftIcon:Vf,GitBranch:Uf,GitBranchIcon:Uf,GitBranchPlus:Bf,GitBranchPlusIcon:Bf,GitCommit:Wn,GitCommitHorizontal:Wn,GitCommitHorizontalIcon:Wn,GitCommitIcon:Wn,GitCommitVertical:$f,GitCommitVerticalIcon:$f,GitCompare:Wf,GitCompareArrows:Gf,GitCompareArrowsIcon:Gf,GitCompareIcon:Wf,GitFork:Zf,GitForkIcon:Zf,GitGraph:Xf,GitGraphIcon:Xf,GitMerge:Jf,GitMergeIcon:Jf,GitPullRequest:a4,GitPullRequestArrow:Yf,GitPullRequestArrowIcon:Yf,GitPullRequestClosed:Kf,GitPullRequestClosedIcon:Kf,GitPullRequestCreate:e4,GitPullRequestCreateArrow:Qf,GitPullRequestCreateArrowIcon:Qf,GitPullRequestCreateIcon:e4,GitPullRequestDraft:t4,GitPullRequestDraftIcon:t4,GitPullRequestIcon:a4,Github:r4,GithubIcon:r4,Gitlab:n4,GitlabIcon:n4,GlassWater:i4,GlassWaterIcon:i4,Glasses:s4,GlassesIcon:s4,Globe:bo,Globe2:Tn,Globe2Icon:Tn,GlobeIcon:bo,GlobeLock:o4,GlobeLockIcon:o4,Goal:c4,GoalIcon:c4,Grab:l4,GrabIcon:l4,GraduationCap:Co,GraduationCapIcon:Co,Grape:d4,GrapeIcon:d4,Grid:Jt,Grid2X2:Zn,Grid2X2Icon:Zn,Grid2x2:Zn,Grid2x2Check:h4,Grid2x2CheckIcon:h4,Grid2x2Icon:Zn,Grid2x2Plus:u4,Grid2x2PlusIcon:u4,Grid2x2X:p4,Grid2x2XIcon:p4,Grid3X3:Jt,Grid3X3Icon:Jt,Grid3x3:Jt,Grid3x3Icon:Jt,GridIcon:Jt,Grip:f4,GripHorizontal:y4,GripHorizontalIcon:y4,GripIcon:f4,GripVertical:m4,GripVerticalIcon:m4,Group:x4,GroupIcon:x4,Guitar:k4,GuitarIcon:k4,Ham:g4,HamIcon:g4,Hammer:v4,HammerIcon:v4,Hand:j4,HandCoins:w4,HandCoinsIcon:w4,HandHeart:M4,HandHeartIcon:M4,HandHelping:Xn,HandHelpingIcon:Xn,HandIcon:j4,HandMetal:b4,HandMetalIcon:b4,HandPlatter:C4,HandPlatterIcon:C4,Handshake:L4,HandshakeIcon:L4,HardDrive:N4,HardDriveDownload:S4,HardDriveDownloadIcon:S4,HardDriveIcon:N4,HardDriveUpload:I4,HardDriveUploadIcon:I4,HardHat:A4,HardHatIcon:A4,Hash:_4,HashIcon:_4,Haze:P4,HazeIcon:P4,HdmiPort:q4,HdmiPortIcon:q4,Heading:H4,Heading1:T4,Heading1Icon:T4,Heading2:R4,Heading2Icon:R4,Heading3:D4,Heading3Icon:D4,Heading4:z4,Heading4Icon:z4,Heading5:F4,Heading5Icon:F4,Heading6:E4,Heading6Icon:E4,HeadingIcon:H4,HeadphoneOff:O4,HeadphoneOffIcon:O4,Headphones:V4,HeadphonesIcon:V4,Headset:B4,HeadsetIcon:B4,Heart:jo,HeartCrack:U4,HeartCrackIcon:U4,HeartHandshake:$4,HeartHandshakeIcon:$4,HeartIcon:jo,HeartOff:G4,HeartOffIcon:G4,HeartPulse:W4,HeartPulseIcon:W4,Heater:Z4,HeaterIcon:Z4,HelpCircle:Wa,HelpCircleIcon:Wa,HelpingHand:Xn,HelpingHandIcon:Xn,Hexagon:X4,HexagonIcon:X4,Highlighter:J4,HighlighterIcon:J4,History:Y4,HistoryIcon:Y4,Home:Ma,HomeIcon:Ma,Hop:Q4,HopIcon:Q4,HopOff:K4,HopOffIcon:K4,Hospital:ex,HospitalIcon:ex,Hotel:tx,HotelIcon:tx,Hourglass:ax,HourglassIcon:ax,House:Ma,HouseIcon:Ma,HousePlug:rx,HousePlugIcon:rx,HousePlus:nx,HousePlusIcon:nx,IceCream:Yn,IceCream2:Jn,IceCream2Icon:Jn,IceCreamBowl:Jn,IceCreamBowlIcon:Jn,IceCreamCone:Yn,IceCreamConeIcon:Yn,IceCreamIcon:Yn,Icon:IS,IdCard:ix,IdCardIcon:ix,Image:ux,ImageDown:sx,ImageDownIcon:sx,ImageIcon:ux,ImageMinus:ox,ImageMinusIcon:ox,ImageOff:cx,ImageOffIcon:cx,ImagePlay:lx,ImagePlayIcon:lx,ImagePlus:dx,ImagePlusIcon:dx,ImageUp:hx,ImageUpIcon:hx,Images:px,ImagesIcon:px,Import:yx,ImportIcon:yx,Inbox:mx,InboxIcon:mx,Indent:Qn,IndentDecrease:Kn,IndentDecreaseIcon:Kn,IndentIcon:Qn,IndentIncrease:Qn,IndentIncreaseIcon:Qn,IndianRupee:fx,IndianRupeeIcon:fx,Infinity:xx,InfinityIcon:xx,Info:kx,InfoIcon:kx,Inspect:os,InspectIcon:os,InspectionPanel:gx,InspectionPanelIcon:gx,Instagram:vx,InstagramIcon:vx,Italic:wx,ItalicIcon:wx,IterationCcw:Mx,IterationCcwIcon:Mx,IterationCw:bx,IterationCwIcon:bx,JapaneseYen:Cx,JapaneseYenIcon:Cx,Joystick:jx,JoystickIcon:jx,Kanban:Lx,KanbanIcon:Lx,KanbanSquare:as,KanbanSquareDashed:Xi,KanbanSquareDashedIcon:Xi,KanbanSquareIcon:as,Key:Nx,KeyIcon:Nx,KeyRound:Sx,KeyRoundIcon:Sx,KeySquare:Ix,KeySquareIcon:Ix,Keyboard:Px,KeyboardIcon:Px,KeyboardMusic:Ax,KeyboardMusicIcon:Ax,KeyboardOff:_x,KeyboardOffIcon:_x,Lamp:Fx,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Tx,LampDeskIcon:Tx,LampFloor:Rx,LampFloorIcon:Rx,LampIcon:Fx,LampWallDown:Dx,LampWallDownIcon:Dx,LampWallUp:zx,LampWallUpIcon:zx,LandPlot:Ex,LandPlotIcon:Ex,Landmark:Hx,LandmarkIcon:Hx,Languages:Ox,LanguagesIcon:Ox,Laptop:Vx,Laptop2:ei,Laptop2Icon:ei,LaptopIcon:Vx,LaptopMinimal:ei,LaptopMinimalIcon:ei,Lasso:Ux,LassoIcon:Ux,LassoSelect:Bx,LassoSelectIcon:Bx,Laugh:$x,LaughIcon:$x,Layers:Zx,Layers2:Gx,Layers2Icon:Gx,Layers3:Wx,Layers3Icon:Wx,LayersIcon:Zx,Layout:xi,LayoutDashboard:Mc,LayoutDashboardIcon:Mc,LayoutGrid:Xx,LayoutGridIcon:Xx,LayoutIcon:xi,LayoutList:Jx,LayoutListIcon:Jx,LayoutPanelLeft:Yx,LayoutPanelLeftIcon:Yx,LayoutPanelTop:Kx,LayoutPanelTopIcon:Kx,LayoutTemplate:Qx,LayoutTemplateIcon:Qx,Leaf:ek,LeafIcon:ek,LeafyGreen:tk,LeafyGreenIcon:tk,Lectern:ak,LecternIcon:ak,LetterText:rk,LetterTextIcon:rk,Library:ik,LibraryBig:nk,LibraryBigIcon:nk,LibraryIcon:ik,LibrarySquare:rs,LibrarySquareIcon:rs,LifeBuoy:sk,LifeBuoyIcon:sk,Ligature:ok,LigatureIcon:ok,Lightbulb:lk,LightbulbIcon:lk,LightbulbOff:ck,LightbulbOffIcon:ck,LineChart:Wr,LineChartIcon:Wr,Link:bc,Link2:hk,Link2Icon:hk,Link2Off:dk,Link2OffIcon:dk,LinkIcon:bc,Linkedin:uk,LinkedinIcon:uk,List:Cc,ListCheck:pk,ListCheckIcon:pk,ListChecks:yk,ListChecksIcon:yk,ListCollapse:mk,ListCollapseIcon:mk,ListEnd:fk,ListEndIcon:fk,ListFilter:xk,ListFilterIcon:xk,ListIcon:Cc,ListMinus:kk,ListMinusIcon:kk,ListMusic:gk,ListMusicIcon:gk,ListOrdered:vk,ListOrderedIcon:vk,ListPlus:wk,ListPlusIcon:wk,ListRestart:Mk,ListRestartIcon:Mk,ListStart:bk,ListStartIcon:bk,ListTodo:Ck,ListTodoIcon:Ck,ListTree:jk,ListTreeIcon:jk,ListVideo:Lk,ListVideoIcon:Lk,ListX:Sk,ListXIcon:Sk,Loader:Nk,Loader2:ti,Loader2Icon:ti,LoaderCircle:ti,LoaderCircleIcon:ti,LoaderIcon:Nk,LoaderPinwheel:Ik,LoaderPinwheelIcon:Ik,Locate:Pk,LocateFixed:Ak,LocateFixedIcon:Ak,LocateIcon:Pk,LocateOff:_k,LocateOffIcon:_k,Lock:jc,LockIcon:jc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:ai,LockKeyholeOpenIcon:ai,LockOpen:ri,LockOpenIcon:ri,LogIn:Tk,LogInIcon:Tk,LogOut:Lc,LogOutIcon:Lc,Logs:Rk,LogsIcon:Rk,Lollipop:Dk,LollipopIcon:Dk,LucideAArrowDown:p1,LucideAArrowUp:y1,LucideALargeSmall:m1,LucideAccessibility:f1,LucideActivity:x1,LucideActivitySquare:Ni,LucideAirVent:k1,LucideAirplay:g1,LucideAlarmCheck:Cr,LucideAlarmClock:w1,LucideAlarmClockCheck:Cr,LucideAlarmClockMinus:jr,LucideAlarmClockOff:v1,LucideAlarmClockPlus:Lr,LucideAlarmMinus:jr,LucideAlarmPlus:Lr,LucideAlarmSmoke:M1,LucideAlbum:b1,LucideAlertCircle:Bt,LucideAlertOctagon:si,LucideAlertTriangle:Ns,LucideAlignCenter:L1,LucideAlignCenterHorizontal:C1,LucideAlignCenterVertical:j1,LucideAlignEndHorizontal:S1,LucideAlignEndVertical:I1,LucideAlignHorizontalDistributeCenter:N1,LucideAlignHorizontalDistributeEnd:A1,LucideAlignHorizontalDistributeStart:_1,LucideAlignHorizontalJustifyCenter:P1,LucideAlignHorizontalJustifyEnd:q1,LucideAlignHorizontalJustifyStart:T1,LucideAlignHorizontalSpaceAround:R1,LucideAlignHorizontalSpaceBetween:D1,LucideAlignJustify:z1,LucideAlignLeft:F1,LucideAlignRight:E1,LucideAlignStartHorizontal:H1,LucideAlignStartVertical:O1,LucideAlignVerticalDistributeCenter:V1,LucideAlignVerticalDistributeEnd:B1,LucideAlignVerticalDistributeStart:U1,LucideAlignVerticalJustifyCenter:$1,LucideAlignVerticalJustifyEnd:G1,LucideAlignVerticalJustifyStart:W1,LucideAlignVerticalSpaceAround:Z1,LucideAlignVerticalSpaceBetween:X1,LucideAmbulance:J1,LucideAmpersand:Y1,LucideAmpersands:K1,LucideAmphora:Q1,LucideAnchor:el,LucideAngry:tl,LucideAnnoyed:al,LucideAntenna:rl,LucideAnvil:nl,LucideAperture:il,LucideAppWindow:ol,LucideAppWindowMac:sl,LucideApple:cl,LucideArchive:hl,LucideArchiveRestore:ll,LucideArchiveX:dl,LucideAreaChart:Hr,LucideArmchair:ul,LucideArrowBigDown:yl,LucideArrowBigDownDash:pl,LucideArrowBigLeft:fl,LucideArrowBigLeftDash:ml,LucideArrowBigRight:kl,LucideArrowBigRightDash:xl,LucideArrowBigUp:vl,LucideArrowBigUpDash:gl,LucideArrowDown:Al,LucideArrowDown01:wl,LucideArrowDown10:Ml,LucideArrowDownAZ:Sr,LucideArrowDownAz:Sr,LucideArrowDownCircle:Kr,LucideArrowDownFromLine:bl,LucideArrowDownLeft:Cl,LucideArrowDownLeftFromCircle:en,LucideArrowDownLeftFromSquare:qi,LucideArrowDownLeftSquare:Ai,LucideArrowDownNarrowWide:jl,LucideArrowDownRight:Ll,LucideArrowDownRightFromCircle:tn,LucideArrowDownRightFromSquare:Ti,LucideArrowDownRightSquare:_i,LucideArrowDownSquare:Pi,LucideArrowDownToDot:Sl,LucideArrowDownToLine:Il,LucideArrowDownUp:Nl,LucideArrowDownWideNarrow:Ir,LucideArrowDownZA:Nr,LucideArrowDownZa:Nr,LucideArrowLeft:Gs,LucideArrowLeftCircle:Qr,LucideArrowLeftFromLine:_l,LucideArrowLeftRight:Pl,LucideArrowLeftSquare:ba,LucideArrowLeftToLine:ql,LucideArrowRight:ko,LucideArrowRightCircle:nn,LucideArrowRightFromLine:Tl,LucideArrowRightLeft:Rl,LucideArrowRightSquare:Ca,LucideArrowRightToLine:Dl,LucideArrowUp:Gl,LucideArrowUp01:zl,LucideArrowUp10:Fl,LucideArrowUpAZ:Ar,LucideArrowUpAz:Ar,LucideArrowUpCircle:sn,LucideArrowUpDown:El,LucideArrowUpFromDot:Hl,LucideArrowUpFromLine:Ol,LucideArrowUpLeft:Vl,LucideArrowUpLeftFromCircle:an,LucideArrowUpLeftFromSquare:Ri,LucideArrowUpLeftSquare:zi,LucideArrowUpNarrowWide:_r,LucideArrowUpRight:Bl,LucideArrowUpRightFromCircle:rn,LucideArrowUpRightFromSquare:Di,LucideArrowUpRightSquare:Fi,LucideArrowUpSquare:Ei,LucideArrowUpToLine:Ul,LucideArrowUpWideNarrow:$l,LucideArrowUpZA:Pr,LucideArrowUpZa:Pr,LucideArrowsUpFromLine:Wl,LucideAsterisk:Zl,LucideAsteriskSquare:Hi,LucideAtSign:Xl,LucideAtom:Jl,LucideAudioLines:Yl,LucideAudioWaveform:Kl,LucideAward:La,LucideAxe:Ql,LucideAxis3D:qr,LucideAxis3d:qr,LucideBaby:ed,LucideBackpack:td,LucideBadge:xd,LucideBadgeAlert:ad,LucideBadgeCent:rd,LucideBadgeCheck:Tr,LucideBadgeDollarSign:nd,LucideBadgeEuro:id,LucideBadgeHelp:sd,LucideBadgeIndianRupee:od,LucideBadgeInfo:cd,LucideBadgeJapaneseYen:ld,LucideBadgeMinus:dd,LucideBadgePercent:hd,LucideBadgePlus:ud,LucideBadgePoundSterling:pd,LucideBadgeRussianRuble:yd,LucideBadgeSwissFranc:md,LucideBadgeX:fd,LucideBaggageClaim:kd,LucideBan:gd,LucideBanana:vd,LucideBandage:wd,LucideBanknote:Md,LucideBarChart:Ga,LucideBarChart2:Zr,LucideBarChart3:Gr,LucideBarChart4:$r,LucideBarChartBig:Ur,LucideBarChartHorizontal:Vr,LucideBarChartHorizontalBig:Or,LucideBarcode:bd,LucideBaseline:Cd,LucideBath:jd,LucideBattery:_d,LucideBatteryCharging:Ld,LucideBatteryFull:Sd,LucideBatteryLow:Id,LucideBatteryMedium:Nd,LucideBatteryWarning:Ad,LucideBeaker:Pd,LucideBean:Td,LucideBeanOff:qd,LucideBed:zd,LucideBedDouble:Rd,LucideBedSingle:Dd,LucideBeef:Fd,LucideBeer:Hd,LucideBeerOff:Ed,LucideBell:go,LucideBellDot:Od,LucideBellElectric:Vd,LucideBellMinus:Bd,LucideBellOff:Ud,LucideBellPlus:$d,LucideBellRing:Gd,LucideBetweenHorizonalEnd:Rr,LucideBetweenHorizonalStart:Dr,LucideBetweenHorizontalEnd:Rr,LucideBetweenHorizontalStart:Dr,LucideBetweenVerticalEnd:Wd,LucideBetweenVerticalStart:Zd,LucideBicepsFlexed:Xd,LucideBike:Jd,LucideBinary:Yd,LucideBinoculars:Kd,LucideBiohazard:Qd,LucideBird:e2,LucideBitcoin:t2,LucideBlend:a2,LucideBlinds:r2,LucideBlocks:n2,LucideBluetooth:c2,LucideBluetoothConnected:i2,LucideBluetoothOff:s2,LucideBluetoothSearching:o2,LucideBold:l2,LucideBolt:d2,LucideBomb:h2,LucideBone:u2,LucideBook:T2,LucideBookA:p2,LucideBookAudio:y2,LucideBookCheck:m2,LucideBookCopy:f2,LucideBookDashed:zr,LucideBookDown:x2,LucideBookHeadphones:k2,LucideBookHeart:g2,LucideBookImage:v2,LucideBookKey:w2,LucideBookLock:M2,LucideBookMarked:b2,LucideBookMinus:C2,LucideBookOpen:Wt,LucideBookOpenCheck:j2,LucideBookOpenText:L2,LucideBookPlus:S2,LucideBookTemplate:zr,LucideBookText:I2,LucideBookType:N2,LucideBookUp:_2,LucideBookUp2:A2,LucideBookUser:P2,LucideBookX:q2,LucideBookmark:Qa,LucideBookmarkCheck:da,LucideBookmarkMinus:R2,LucideBookmarkPlus:uc,LucideBookmarkX:D2,LucideBoomBox:z2,LucideBot:pc,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBox:H2,LucideBoxSelect:Yi,LucideBoxes:O2,LucideBraces:Fr,LucideBrackets:V2,LucideBrain:$2,LucideBrainCircuit:B2,LucideBrainCog:U2,LucideBrickWall:G2,LucideBriefcase:vt,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:Z2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:Y2,LucideBug:e0,LucideBugOff:K2,LucideBugPlay:Q2,LucideBuilding:vo,LucideBuilding2:yc,LucideBus:a0,LucideBusFront:t0,LucideCable:n0,LucideCableCar:r0,LucideCake:s0,LucideCakeSlice:i0,LucideCalculator:o0,LucideCalendar:mc,LucideCalendarArrowDown:c0,LucideCalendarArrowUp:l0,LucideCalendarCheck:h0,LucideCalendarCheck2:d0,LucideCalendarClock:u0,LucideCalendarCog:p0,LucideCalendarDays:y0,LucideCalendarFold:m0,LucideCalendarHeart:f0,LucideCalendarMinus:k0,LucideCalendarMinus2:x0,LucideCalendarOff:g0,LucideCalendarPlus:w0,LucideCalendarPlus2:v0,LucideCalendarRange:M0,LucideCalendarSearch:b0,LucideCalendarX:j0,LucideCalendarX2:C0,LucideCamera:S0,LucideCameraOff:L0,LucideCandlestickChart:Br,LucideCandy:A0,LucideCandyCane:I0,LucideCandyOff:N0,LucideCannabis:_0,LucideCaptions:Er,LucideCaptionsOff:P0,LucideCar:R0,LucideCarFront:q0,LucideCarTaxiFront:T0,LucideCaravan:D0,LucideCarrot:z0,LucideCaseLower:F0,LucideCaseSensitive:E0,LucideCaseUpper:H0,LucideCassetteTape:O0,LucideCast:V0,LucideCastle:B0,LucideCat:U0,LucideCctv:$0,LucideChartArea:Hr,LucideChartBar:Vr,LucideChartBarBig:Or,LucideChartBarDecreasing:G0,LucideChartBarIncreasing:W0,LucideChartBarStacked:Z0,LucideChartCandlestick:Br,LucideChartColumn:Gr,LucideChartColumnBig:Ur,LucideChartColumnDecreasing:X0,LucideChartColumnIncreasing:$r,LucideChartColumnStacked:J0,LucideChartGantt:Y0,LucideChartLine:Wr,LucideChartNetwork:K0,LucideChartNoAxesColumn:Zr,LucideChartNoAxesColumnDecreasing:Q0,LucideChartNoAxesColumnIncreasing:Ga,LucideChartNoAxesCombined:eh,LucideChartNoAxesGantt:Xr,LucideChartPie:Jr,LucideChartScatter:Yr,LucideChartSpline:th,LucideCheck:wo,LucideCheckCheck:ah,LucideCheckCircle:Nt,LucideCheckCircle2:on,LucideCheckSquare:Vi,LucideCheckSquare2:Bi,LucideChefHat:rh,LucideCherry:nh,LucideChevronDown:Ws,LucideChevronDownCircle:cn,LucideChevronDownSquare:Ui,LucideChevronFirst:ih,LucideChevronLast:sh,LucideChevronLeft:Zs,LucideChevronLeftCircle:ln,LucideChevronLeftSquare:$i,LucideChevronRight:er,LucideChevronRightCircle:dn,LucideChevronRightSquare:Gi,LucideChevronUp:fc,LucideChevronUpCircle:hn,LucideChevronUpSquare:Wi,LucideChevronsDown:ch,LucideChevronsDownUp:oh,LucideChevronsLeft:hh,LucideChevronsLeftRight:dh,LucideChevronsLeftRightEllipsis:lh,LucideChevronsRight:ph,LucideChevronsRightLeft:uh,LucideChevronsUp:mh,LucideChevronsUpDown:yh,LucideChrome:fh,LucideChurch:xh,LucideCigarette:gh,LucideCigaretteOff:kh,LucideCircle:Ah,LucideCircleAlert:Bt,LucideCircleArrowDown:Kr,LucideCircleArrowLeft:Qr,LucideCircleArrowOutDownLeft:en,LucideCircleArrowOutDownRight:tn,LucideCircleArrowOutUpLeft:an,LucideCircleArrowOutUpRight:rn,LucideCircleArrowRight:nn,LucideCircleArrowUp:sn,LucideCircleCheck:on,LucideCircleCheckBig:Nt,LucideCircleChevronDown:cn,LucideCircleChevronLeft:ln,LucideCircleChevronRight:dn,LucideCircleChevronUp:hn,LucideCircleDashed:vh,LucideCircleDivide:un,LucideCircleDollarSign:wh,LucideCircleDot:bh,LucideCircleDotDashed:Mh,LucideCircleEllipsis:Ch,LucideCircleEqual:jh,LucideCircleFadingArrowUp:Lh,LucideCircleFadingPlus:Sh,LucideCircleGauge:pn,LucideCircleHelp:Wa,LucideCircleMinus:yn,LucideCircleOff:Ih,LucideCircleParking:fn,LucideCircleParkingOff:mn,LucideCirclePause:xn,LucideCirclePercent:kn,LucideCirclePlay:gn,LucideCirclePlus:vn,LucideCirclePower:wn,LucideCircleSlash:Nh,LucideCircleSlash2:Mn,LucideCircleSlashed:Mn,LucideCircleStop:bn,LucideCircleUser:jn,LucideCircleUserRound:Cn,LucideCircleX:ia,LucideCircuitBoard:_h,LucideCitrus:Ph,LucideClapperboard:qh,LucideClipboard:Vh,LucideClipboardCheck:Th,LucideClipboardCopy:Rh,LucideClipboardEdit:Sn,LucideClipboardList:Dh,LucideClipboardMinus:zh,LucideClipboardPaste:Fh,LucideClipboardPen:Sn,LucideClipboardPenLine:Ln,LucideClipboardPlus:Eh,LucideClipboardSignature:Ln,LucideClipboardType:Hh,LucideClipboardX:Oh,LucideClock:Qt,LucideClock1:Bh,LucideClock10:Uh,LucideClock11:$h,LucideClock12:Gh,LucideClock2:Wh,LucideClock3:Zh,LucideClock4:Xh,LucideClock5:Jh,LucideClock6:Yh,LucideClock7:Kh,LucideClock8:Qh,LucideClock9:eu,LucideClockAlert:tu,LucideClockArrowDown:au,LucideClockArrowUp:ru,LucideCloud:xu,LucideCloudCog:nu,LucideCloudDownload:In,LucideCloudDrizzle:iu,LucideCloudFog:su,LucideCloudHail:ou,LucideCloudLightning:cu,LucideCloudMoon:du,LucideCloudMoonRain:lu,LucideCloudOff:hu,LucideCloudRain:pu,LucideCloudRainWind:uu,LucideCloudSnow:yu,LucideCloudSun:fu,LucideCloudSunRain:mu,LucideCloudUpload:Za,LucideCloudy:ku,LucideClover:gu,LucideClub:vu,LucideCode:wu,LucideCode2:Nn,LucideCodeSquare:Zi,LucideCodeXml:Nn,LucideCodepen:Mu,LucideCodesandbox:bu,LucideCoffee:Cu,LucideCog:ju,LucideCoins:Lu,LucideColumns:An,LucideColumns2:An,LucideColumns3:_n,LucideColumns4:Su,LucideCombine:Iu,LucideCommand:Nu,LucideCompass:Au,LucideComponent:_u,LucideComputer:Pu,LucideConciergeBell:qu,LucideCone:Tu,LucideConstruction:Ru,LucideContact:Du,LucideContact2:Pn,LucideContactRound:Pn,LucideContainer:zu,LucideContrast:Fu,LucideCookie:Eu,LucideCookingPot:Hu,LucideCopy:Gu,LucideCopyCheck:Ou,LucideCopyMinus:Vu,LucideCopyPlus:Bu,LucideCopySlash:Uu,LucideCopyX:$u,LucideCopyleft:Wu,LucideCopyright:Zu,LucideCornerDownLeft:Xu,LucideCornerDownRight:Ju,LucideCornerLeftDown:Yu,LucideCornerLeftUp:Ku,LucideCornerRightDown:Qu,LucideCornerRightUp:ep,LucideCornerUpLeft:tp,LucideCornerUpRight:ap,LucideCpu:rp,LucideCreativeCommons:np,LucideCreditCard:xc,LucideCroissant:ip,LucideCrop:sp,LucideCross:op,LucideCrosshair:cp,LucideCrown:lp,LucideCuboid:dp,LucideCupSoda:hp,LucideCurlyBraces:Fr,LucideCurrency:up,LucideCylinder:pp,LucideDam:yp,LucideDatabase:xp,LucideDatabaseBackup:mp,LucideDatabaseZap:fp,LucideDelete:kp,LucideDessert:gp,LucideDiameter:vp,LucideDiamond:bp,LucideDiamondMinus:wp,LucideDiamondPercent:qn,LucideDiamondPlus:Mp,LucideDice1:Cp,LucideDice2:jp,LucideDice3:Lp,LucideDice4:Sp,LucideDice5:Ip,LucideDice6:Np,LucideDices:Ap,LucideDiff:_p,LucideDisc:Rp,LucideDisc2:Pp,LucideDisc3:qp,LucideDiscAlbum:Tp,LucideDivide:Dp,LucideDivideCircle:un,LucideDivideSquare:Ki,LucideDna:Fp,LucideDnaOff:zp,LucideDock:Ep,LucideDog:Hp,LucideDollarSign:kc,LucideDonut:Op,LucideDoorClosed:Vp,LucideDoorOpen:Bp,LucideDot:Up,LucideDotSquare:Qi,LucideDownload:$p,LucideDownloadCloud:In,LucideDraftingCompass:Gp,LucideDrama:Wp,LucideDribbble:Zp,LucideDrill:Xp,LucideDroplet:Jp,LucideDroplets:Yp,LucideDrum:Kp,LucideDrumstick:Qp,LucideDumbbell:ey,LucideEar:ay,LucideEarOff:ty,LucideEarth:Tn,LucideEarthLock:ry,LucideEclipse:ny,LucideEdit:St,LucideEdit2:gi,LucideEdit3:ki,LucideEgg:oy,LucideEggFried:iy,LucideEggOff:sy,LucideEllipsis:Dn,LucideEllipsisVertical:Rn,LucideEqual:ly,LucideEqualNot:cy,LucideEqualSquare:es,LucideEraser:dy,LucideEthernetPort:hy,LucideEuro:uy,LucideExpand:py,LucideExternalLink:Xs,LucideEye:gc,LucideEyeClosed:yy,LucideEyeOff:my,LucideFacebook:fy,LucideFactory:xy,LucideFan:ky,LucideFastForward:gy,LucideFeather:vy,LucideFence:wy,LucideFerrisWheel:My,LucideFigma:by,LucideFile:gm,LucideFileArchive:Cy,LucideFileAudio:Ly,LucideFileAudio2:jy,LucideFileAxis3D:zn,LucideFileAxis3d:zn,LucideFileBadge:Iy,LucideFileBadge2:Sy,LucideFileBarChart:Fn,LucideFileBarChart2:En,LucideFileBox:Ny,LucideFileChartColumn:En,LucideFileChartColumnIncreasing:Fn,LucideFileChartLine:Hn,LucideFileChartPie:On,LucideFileCheck:_y,LucideFileCheck2:Ay,LucideFileClock:Py,LucideFileCode:Ty,LucideFileCode2:qy,LucideFileCog:Vn,LucideFileCog2:Vn,LucideFileDiff:Ry,LucideFileDigit:Dy,LucideFileDown:zy,LucideFileEdit:Un,LucideFileHeart:Fy,LucideFileImage:Ey,LucideFileInput:Hy,LucideFileJson:Vy,LucideFileJson2:Oy,LucideFileKey:Uy,LucideFileKey2:By,LucideFileLineChart:Hn,LucideFileLock:Gy,LucideFileLock2:$y,LucideFileMinus:Zy,LucideFileMinus2:Wy,LucideFileMusic:Xy,LucideFileOutput:Jy,LucideFilePen:Un,LucideFilePenLine:Bn,LucideFilePieChart:On,LucideFilePlus:Ky,LucideFilePlus2:Yy,LucideFileQuestion:Qy,LucideFileScan:em,LucideFileSearch:am,LucideFileSearch2:tm,LucideFileSignature:Bn,LucideFileSliders:rm,LucideFileSpreadsheet:nm,LucideFileStack:im,LucideFileSymlink:sm,LucideFileTerminal:om,LucideFileText:vc,LucideFileType:lm,LucideFileType2:cm,LucideFileUp:dm,LucideFileUser:hm,LucideFileVideo:pm,LucideFileVideo2:um,LucideFileVolume:mm,LucideFileVolume2:ym,LucideFileWarning:fm,LucideFileX:km,LucideFileX2:xm,LucideFiles:vm,LucideFilm:wm,LucideFilter:Mo,LucideFilterX:Mm,LucideFingerprint:bm,LucideFireExtinguisher:Cm,LucideFish:Sm,LucideFishOff:jm,LucideFishSymbol:Lm,LucideFlag:wc,LucideFlagOff:Im,LucideFlagTriangleLeft:Nm,LucideFlagTriangleRight:Am,LucideFlame:Pm,LucideFlameKindling:_m,LucideFlashlight:Tm,LucideFlashlightOff:qm,LucideFlaskConical:Dm,LucideFlaskConicalOff:Rm,LucideFlaskRound:zm,LucideFlipHorizontal:Em,LucideFlipHorizontal2:Fm,LucideFlipVertical:Om,LucideFlipVertical2:Hm,LucideFlower:Bm,LucideFlower2:Vm,LucideFocus:Um,LucideFoldHorizontal:$m,LucideFoldVertical:Gm,LucideFolder:wf,LucideFolderArchive:Wm,LucideFolderCheck:Zm,LucideFolderClock:Xm,LucideFolderClosed:Jm,LucideFolderCode:Ym,LucideFolderCog:$n,LucideFolderCog2:$n,LucideFolderDot:Km,LucideFolderDown:Qm,LucideFolderEdit:Gn,LucideFolderGit:tf,LucideFolderGit2:ef,LucideFolderHeart:af,LucideFolderInput:rf,LucideFolderKanban:nf,LucideFolderKey:sf,LucideFolderLock:of,LucideFolderMinus:cf,LucideFolderOpen:df,LucideFolderOpenDot:lf,LucideFolderOutput:hf,LucideFolderPen:Gn,LucideFolderPlus:uf,LucideFolderRoot:pf,LucideFolderSearch:mf,LucideFolderSearch2:yf,LucideFolderSymlink:ff,LucideFolderSync:xf,LucideFolderTree:kf,LucideFolderUp:gf,LucideFolderX:vf,LucideFolders:Mf,LucideFootprints:bf,LucideForkKnife:Hs,LucideForkKnifeCrossed:Es,LucideForklift:Cf,LucideFormInput:wi,LucideForward:jf,LucideFrame:Lf,LucideFramer:Sf,LucideFrown:If,LucideFuel:Nf,LucideFullscreen:Af,LucideFunctionSquare:ts,LucideGalleryHorizontal:Pf,LucideGalleryHorizontalEnd:_f,LucideGalleryThumbnails:qf,LucideGalleryVertical:Rf,LucideGalleryVerticalEnd:Tf,LucideGamepad:zf,LucideGamepad2:Df,LucideGanttChart:Xr,LucideGanttChartSquare:ra,LucideGauge:Ff,LucideGaugeCircle:pn,LucideGavel:Ef,LucideGem:Hf,LucideGhost:Of,LucideGift:Vf,LucideGitBranch:Uf,LucideGitBranchPlus:Bf,LucideGitCommit:Wn,LucideGitCommitHorizontal:Wn,LucideGitCommitVertical:$f,LucideGitCompare:Wf,LucideGitCompareArrows:Gf,LucideGitFork:Zf,LucideGitGraph:Xf,LucideGitMerge:Jf,LucideGitPullRequest:a4,LucideGitPullRequestArrow:Yf,LucideGitPullRequestClosed:Kf,LucideGitPullRequestCreate:e4,LucideGitPullRequestCreateArrow:Qf,LucideGitPullRequestDraft:t4,LucideGithub:r4,LucideGitlab:n4,LucideGlassWater:i4,LucideGlasses:s4,LucideGlobe:bo,LucideGlobe2:Tn,LucideGlobeLock:o4,LucideGoal:c4,LucideGrab:l4,LucideGraduationCap:Co,LucideGrape:d4,LucideGrid:Jt,LucideGrid2X2:Zn,LucideGrid2x2:Zn,LucideGrid2x2Check:h4,LucideGrid2x2Plus:u4,LucideGrid2x2X:p4,LucideGrid3X3:Jt,LucideGrid3x3:Jt,LucideGrip:f4,LucideGripHorizontal:y4,LucideGripVertical:m4,LucideGroup:x4,LucideGuitar:k4,LucideHam:g4,LucideHammer:v4,LucideHand:j4,LucideHandCoins:w4,LucideHandHeart:M4,LucideHandHelping:Xn,LucideHandMetal:b4,LucideHandPlatter:C4,LucideHandshake:L4,LucideHardDrive:N4,LucideHardDriveDownload:S4,LucideHardDriveUpload:I4,LucideHardHat:A4,LucideHash:_4,LucideHaze:P4,LucideHdmiPort:q4,LucideHeading:H4,LucideHeading1:T4,LucideHeading2:R4,LucideHeading3:D4,LucideHeading4:z4,LucideHeading5:F4,LucideHeading6:E4,LucideHeadphoneOff:O4,LucideHeadphones:V4,LucideHeadset:B4,LucideHeart:jo,LucideHeartCrack:U4,LucideHeartHandshake:$4,LucideHeartOff:G4,LucideHeartPulse:W4,LucideHeater:Z4,LucideHelpCircle:Wa,LucideHelpingHand:Xn,LucideHexagon:X4,LucideHighlighter:J4,LucideHistory:Y4,LucideHome:Ma,LucideHop:Q4,LucideHopOff:K4,LucideHospital:ex,LucideHotel:tx,LucideHourglass:ax,LucideHouse:Ma,LucideHousePlug:rx,LucideHousePlus:nx,LucideIceCream:Yn,LucideIceCream2:Jn,LucideIceCreamBowl:Jn,LucideIceCreamCone:Yn,LucideIdCard:ix,LucideImage:ux,LucideImageDown:sx,LucideImageMinus:ox,LucideImageOff:cx,LucideImagePlay:lx,LucideImagePlus:dx,LucideImageUp:hx,LucideImages:px,LucideImport:yx,LucideInbox:mx,LucideIndent:Qn,LucideIndentDecrease:Kn,LucideIndentIncrease:Qn,LucideIndianRupee:fx,LucideInfinity:xx,LucideInfo:kx,LucideInspect:os,LucideInspectionPanel:gx,LucideInstagram:vx,LucideItalic:wx,LucideIterationCcw:Mx,LucideIterationCw:bx,LucideJapaneseYen:Cx,LucideJoystick:jx,LucideKanban:Lx,LucideKanbanSquare:as,LucideKanbanSquareDashed:Xi,LucideKey:Nx,LucideKeyRound:Sx,LucideKeySquare:Ix,LucideKeyboard:Px,LucideKeyboardMusic:Ax,LucideKeyboardOff:_x,LucideLamp:Fx,LucideLampCeiling:qx,LucideLampDesk:Tx,LucideLampFloor:Rx,LucideLampWallDown:Dx,LucideLampWallUp:zx,LucideLandPlot:Ex,LucideLandmark:Hx,LucideLanguages:Ox,LucideLaptop:Vx,LucideLaptop2:ei,LucideLaptopMinimal:ei,LucideLasso:Ux,LucideLassoSelect:Bx,LucideLaugh:$x,LucideLayers:Zx,LucideLayers2:Gx,LucideLayers3:Wx,LucideLayout:xi,LucideLayoutDashboard:Mc,LucideLayoutGrid:Xx,LucideLayoutList:Jx,LucideLayoutPanelLeft:Yx,LucideLayoutPanelTop:Kx,LucideLayoutTemplate:Qx,LucideLeaf:ek,LucideLeafyGreen:tk,LucideLectern:ak,LucideLetterText:rk,LucideLibrary:ik,LucideLibraryBig:nk,LucideLibrarySquare:rs,LucideLifeBuoy:sk,LucideLigature:ok,LucideLightbulb:lk,LucideLightbulbOff:ck,LucideLineChart:Wr,LucideLink:bc,LucideLink2:hk,LucideLink2Off:dk,LucideLinkedin:uk,LucideList:Cc,LucideListCheck:pk,LucideListChecks:yk,LucideListCollapse:mk,LucideListEnd:fk,LucideListFilter:xk,LucideListMinus:kk,LucideListMusic:gk,LucideListOrdered:vk,LucideListPlus:wk,LucideListRestart:Mk,LucideListStart:bk,LucideListTodo:Ck,LucideListTree:jk,LucideListVideo:Lk,LucideListX:Sk,LucideLoader:Nk,LucideLoader2:ti,LucideLoaderCircle:ti,LucideLoaderPinwheel:Ik,LucideLocate:Pk,LucideLocateFixed:Ak,LucideLocateOff:_k,LucideLock:jc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:ai,LucideLockOpen:ri,LucideLogIn:Tk,LucideLogOut:Lc,LucideLogs:Rk,LucideLollipop:Dk,LucideLuggage:zk,LucideMSquare:ns,LucideMagnet:Fk,LucideMail:ha,LucideMailCheck:Ek,LucideMailMinus:Hk,LucideMailOpen:Ok,LucideMailPlus:Vk,LucideMailQuestion:Bk,LucideMailSearch:Uk,LucideMailWarning:$k,LucideMailX:Gk,LucideMailbox:Wk,LucideMails:Zk,LucideMap:sg,LucideMapPin:Zt,LucideMapPinCheck:Jk,LucideMapPinCheckInside:Xk,LucideMapPinHouse:Yk,LucideMapPinMinus:Qk,LucideMapPinMinusInside:Kk,LucideMapPinOff:eg,LucideMapPinPlus:ag,LucideMapPinPlusInside:tg,LucideMapPinX:ng,LucideMapPinXInside:rg,LucideMapPinned:ig,LucideMartini:og,LucideMaximize:lg,LucideMaximize2:cg,LucideMedal:dg,LucideMegaphone:ug,LucideMegaphoneOff:hg,LucideMeh:pg,LucideMemoryStick:yg,LucideMenu:Lo,LucideMenuSquare:is,LucideMerge:mg,LucideMessageCircle:Lg,LucideMessageCircleCode:fg,LucideMessageCircleDashed:xg,LucideMessageCircleHeart:kg,LucideMessageCircleMore:gg,LucideMessageCircleOff:vg,LucideMessageCirclePlus:wg,LucideMessageCircleQuestion:Mg,LucideMessageCircleReply:bg,LucideMessageCircleWarning:Cg,LucideMessageCircleX:jg,LucideMessageSquare:So,LucideMessageSquareCode:Sg,LucideMessageSquareDashed:Ig,LucideMessageSquareDiff:Ng,LucideMessageSquareDot:Ag,LucideMessageSquareHeart:_g,LucideMessageSquareLock:Pg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Tg,LucideMessageSquarePlus:Rg,LucideMessageSquareQuote:Dg,LucideMessageSquareReply:zg,LucideMessageSquareShare:Fg,LucideMessageSquareText:Eg,LucideMessageSquareWarning:Hg,LucideMessageSquareX:Og,LucideMessagesSquare:Vg,LucideMic:Ug,LucideMic2:ni,LucideMicOff:Bg,LucideMicVocal:ni,LucideMicrochip:$g,LucideMicroscope:Gg,LucideMicrowave:Wg,LucideMilestone:Zg,LucideMilk:Jg,LucideMilkOff:Xg,LucideMinimize:Kg,LucideMinimize2:Yg,LucideMinus:Sc,LucideMinusCircle:yn,LucideMinusSquare:ss,LucideMonitor:h5,LucideMonitorCheck:Qg,LucideMonitorCog:e5,LucideMonitorDot:t5,LucideMonitorDown:a5,LucideMonitorOff:r5,LucideMonitorPause:n5,LucideMonitorPlay:i5,LucideMonitorSmartphone:s5,LucideMonitorSpeaker:o5,LucideMonitorStop:c5,LucideMonitorUp:l5,LucideMonitorX:d5,LucideMoon:p5,LucideMoonStar:u5,LucideMoreHorizontal:Dn,LucideMoreVertical:Rn,LucideMountain:m5,LucideMountainSnow:y5,LucideMouse:w5,LucideMouseOff:f5,LucideMousePointer:v5,LucideMousePointer2:x5,LucideMousePointerBan:k5,LucideMousePointerClick:g5,LucideMousePointerSquareDashed:Ji,LucideMove:T5,LucideMove3D:ii,LucideMove3d:ii,LucideMoveDiagonal:b5,LucideMoveDiagonal2:M5,LucideMoveDown:L5,LucideMoveDownLeft:C5,LucideMoveDownRight:j5,LucideMoveHorizontal:S5,LucideMoveLeft:I5,LucideMoveRight:N5,LucideMoveUp:P5,LucideMoveUpLeft:A5,LucideMoveUpRight:_5,LucideMoveVertical:q5,LucideMusic:F5,LucideMusic2:R5,LucideMusic3:D5,LucideMusic4:z5,LucideNavigation:V5,LucideNavigation2:H5,LucideNavigation2Off:E5,LucideNavigationOff:O5,LucideNetwork:B5,LucideNewspaper:Sa,LucideNfc:U5,LucideNotebook:Z5,LucideNotebookPen:$5,LucideNotebookTabs:G5,LucideNotebookText:W5,LucideNotepadText:J5,LucideNotepadTextDashed:X5,LucideNut:K5,LucideNutOff:Y5,LucideOctagon:e3,LucideOctagonAlert:si,LucideOctagonMinus:Q5,LucideOctagonPause:oi,LucideOctagonX:ci,LucideOmega:t3,LucideOption:a3,LucideOrbit:r3,LucideOrigami:n3,LucideOutdent:Kn,LucidePackage:u3,LucidePackage2:i3,LucidePackageCheck:s3,LucidePackageMinus:o3,LucidePackageOpen:c3,LucidePackagePlus:l3,LucidePackageSearch:d3,LucidePackageX:h3,LucidePaintBucket:p3,LucidePaintRoller:y3,LucidePaintbrush:m3,LucidePaintbrush2:li,LucidePaintbrushVertical:li,LucidePalette:f3,LucidePalmtree:Is,LucidePanelBottom:g3,LucidePanelBottomClose:x3,LucidePanelBottomDashed:di,LucidePanelBottomInactive:di,LucidePanelBottomOpen:k3,LucidePanelLeft:yi,LucidePanelLeftClose:hi,LucidePanelLeftDashed:ui,LucidePanelLeftInactive:ui,LucidePanelLeftOpen:pi,LucidePanelRight:M3,LucidePanelRightClose:v3,LucidePanelRightDashed:mi,LucidePanelRightInactive:mi,LucidePanelRightOpen:w3,LucidePanelTop:j3,LucidePanelTopClose:b3,LucidePanelTopDashed:fi,LucidePanelTopInactive:fi,LucidePanelTopOpen:C3,LucidePanelsLeftBottom:L3,LucidePanelsLeftRight:_n,LucidePanelsRightBottom:S3,LucidePanelsTopBottom:Ci,LucidePanelsTopLeft:xi,LucidePaperclip:I3,LucideParentheses:N3,LucideParkingCircle:fn,LucideParkingCircleOff:mn,LucideParkingMeter:A3,LucideParkingSquare:ls,LucideParkingSquareOff:cs,LucidePartyPopper:_3,LucidePause:P3,LucidePauseCircle:xn,LucidePauseOctagon:oi,LucidePawPrint:q3,LucidePcCase:T3,LucidePen:gi,LucidePenBox:St,LucidePenLine:ki,LucidePenOff:R3,LucidePenSquare:St,LucidePenTool:D3,LucidePencil:H3,LucidePencilLine:z3,LucidePencilOff:F3,LucidePencilRuler:E3,LucidePentagon:O3,LucidePercent:V3,LucidePercentCircle:kn,LucidePercentDiamond:qn,LucidePercentSquare:ds,LucidePersonStanding:B3,LucidePhilippinePeso:U3,LucidePhone:Js,LucidePhoneCall:$3,LucidePhoneForwarded:G3,LucidePhoneIncoming:W3,LucidePhoneMissed:Z3,LucidePhoneOff:X3,LucidePhoneOutgoing:J3,LucidePi:Y3,LucidePiSquare:hs,LucidePiano:K3,LucidePickaxe:Q3,LucidePictureInPicture:tv,LucidePictureInPicture2:ev,LucidePieChart:Jr,LucidePiggyBank:av,LucidePilcrow:iv,LucidePilcrowLeft:rv,LucidePilcrowRight:nv,LucidePilcrowSquare:us,LucidePill:ov,LucidePillBottle:sv,LucidePin:lv,LucidePinOff:cv,LucidePipette:dv,LucidePizza:hv,LucidePlane:yv,LucidePlaneLanding:uv,LucidePlaneTakeoff:pv,LucidePlay:Ic,LucidePlayCircle:gn,LucidePlaySquare:ps,LucidePlug:fv,LucidePlug2:mv,LucidePlugZap:vi,LucidePlugZap2:vi,LucidePlus:Io,LucidePlusCircle:vn,LucidePlusSquare:ys,LucidePocket:kv,LucidePocketKnife:xv,LucidePodcast:gv,LucidePointer:wv,LucidePointerOff:vv,LucidePopcorn:Mv,LucidePopsicle:bv,LucidePoundSterling:Cv,LucidePower:Lv,LucidePowerCircle:wn,LucidePowerOff:jv,LucidePowerSquare:ms,LucidePresentation:Sv,LucidePrinter:Nv,LucidePrinterCheck:Iv,LucideProjector:Av,LucideProportions:_v,LucidePuzzle:Pv,LucidePyramid:qv,LucideQrCode:Tv,LucideQuote:No,LucideRabbit:Rv,LucideRadar:Dv,LucideRadiation:zv,LucideRadical:Fv,LucideRadio:Ov,LucideRadioReceiver:Ev,LucideRadioTower:Hv,LucideRadius:Vv,LucideRailSymbol:Bv,LucideRainbow:Uv,LucideRat:$v,LucideRatio:Gv,LucideReceipt:t6,LucideReceiptCent:Wv,LucideReceiptEuro:Zv,LucideReceiptIndianRupee:Xv,LucideReceiptJapaneseYen:Jv,LucideReceiptPoundSterling:Yv,LucideReceiptRussianRuble:Kv,LucideReceiptSwissFranc:Qv,LucideReceiptText:e6,LucideRectangleEllipsis:wi,LucideRectangleHorizontal:a6,LucideRectangleVertical:r6,LucideRecycle:n6,LucideRedo:o6,LucideRedo2:i6,LucideRedoDot:s6,LucideRefreshCcw:l6,LucideRefreshCcwDot:c6,LucideRefreshCw:h6,LucideRefreshCwOff:d6,LucideRefrigerator:u6,LucideRegex:p6,LucideRemoveFormatting:y6,LucideRepeat:x6,LucideRepeat1:m6,LucideRepeat2:f6,LucideReplace:g6,LucideReplaceAll:k6,LucideReply:w6,LucideReplyAll:v6,LucideRewind:M6,LucideRibbon:b6,LucideRocket:C6,LucideRockingChair:j6,LucideRollerCoaster:L6,LucideRotate3D:Mi,LucideRotate3d:Mi,LucideRotateCcw:I6,LucideRotateCcwSquare:S6,LucideRotateCw:A6,LucideRotateCwSquare:N6,LucideRoute:P6,LucideRouteOff:_6,LucideRouter:q6,LucideRows:bi,LucideRows2:bi,LucideRows3:Ci,LucideRows4:T6,LucideRss:R6,LucideRuler:D6,LucideRussianRuble:z6,LucideSailboat:F6,LucideSalad:E6,LucideSandwich:H6,LucideSatellite:V6,LucideSatelliteDish:O6,LucideSave:$6,LucideSaveAll:B6,LucideSaveOff:U6,LucideScale:G6,LucideScale3D:ji,LucideScale3d:ji,LucideScaling:W6,LucideScan:t8,LucideScanBarcode:Z6,LucideScanEye:X6,LucideScanFace:J6,LucideScanLine:Y6,LucideScanQrCode:K6,LucideScanSearch:Q6,LucideScanText:e8,LucideScatterChart:Yr,LucideSchool:a8,LucideSchool2:_s,LucideScissors:n8,LucideScissorsLineDashed:r8,LucideScissorsSquare:fs,LucideScissorsSquareDashedBottom:Oi,LucideScreenShare:s8,LucideScreenShareOff:i8,LucideScroll:c8,LucideScrollText:o8,LucideSearch:Xt,LucideSearchCheck:l8,LucideSearchCode:d8,LucideSearchSlash:h8,LucideSearchX:u8,LucideSection:p8,LucideSend:Nc,LucideSendHorizonal:Li,LucideSendHorizontal:Li,LucideSendToBack:y8,LucideSeparatorHorizontal:m8,LucideSeparatorVertical:f8,LucideServer:v8,LucideServerCog:x8,LucideServerCrash:k8,LucideServerOff:g8,LucideSettings:Ao,LucideSettings2:w8,LucideShapes:M8,LucideShare:b8,LucideShare2:_o,LucideSheet:C8,LucideShell:j8,LucideShield:Ac,LucideShieldAlert:L8,LucideShieldBan:S8,LucideShieldCheck:I8,LucideShieldClose:Si,LucideShieldEllipsis:N8,LucideShieldHalf:A8,LucideShieldMinus:_8,LucideShieldOff:P8,LucideShieldPlus:q8,LucideShieldQuestion:T8,LucideShieldX:Si,LucideShip:D8,LucideShipWheel:R8,LucideShirt:z8,LucideShoppingBag:F8,LucideShoppingBasket:E8,LucideShoppingCart:Po,LucideShovel:H8,LucideShowerHead:O8,LucideShrink:V8,LucideShrub:B8,LucideShuffle:U8,LucideSidebar:yi,LucideSidebarClose:hi,LucideSidebarOpen:pi,LucideSigma:$8,LucideSigmaSquare:xs,LucideSignal:_c,LucideSignalHigh:G8,LucideSignalLow:W8,LucideSignalMedium:Z8,LucideSignalZero:X8,LucideSignature:J8,LucideSignpost:K8,LucideSignpostBig:Y8,LucideSiren:Q8,LucideSkipBack:e7,LucideSkipForward:t7,LucideSkull:a7,LucideSlack:r7,LucideSlash:n7,LucideSlashSquare:ks,LucideSlice:i7,LucideSliders:Ii,LucideSlidersHorizontal:tr,LucideSlidersVertical:Ii,LucideSmartphone:c7,LucideSmartphoneCharging:s7,LucideSmartphoneNfc:o7,LucideSmile:d7,LucideSmilePlus:l7,LucideSnail:h7,LucideSnowflake:u7,LucideSofa:p7,LucideSortAsc:_r,LucideSortDesc:Ir,LucideSoup:y7,LucideSpace:m7,LucideSpade:f7,LucideSparkle:x7,LucideSparkles:Xa,LucideSpeaker:k7,LucideSpeech:g7,LucideSpellCheck:w7,LucideSpellCheck2:v7,LucideSpline:M7,LucideSplit:b7,LucideSplitSquareHorizontal:gs,LucideSplitSquareVertical:vs,LucideSprayCan:C7,LucideSprout:j7,LucideSquare:_7,LucideSquareActivity:Ni,LucideSquareArrowDown:Pi,LucideSquareArrowDownLeft:Ai,LucideSquareArrowDownRight:_i,LucideSquareArrowLeft:ba,LucideSquareArrowOutDownLeft:qi,LucideSquareArrowOutDownRight:Ti,LucideSquareArrowOutUpLeft:Ri,LucideSquareArrowOutUpRight:Di,LucideSquareArrowRight:Ca,LucideSquareArrowUp:Ei,LucideSquareArrowUpLeft:zi,LucideSquareArrowUpRight:Fi,LucideSquareAsterisk:Hi,LucideSquareBottomDashedScissors:Oi,LucideSquareChartGantt:ra,LucideSquareCheck:Bi,LucideSquareCheckBig:Vi,LucideSquareChevronDown:Ui,LucideSquareChevronLeft:$i,LucideSquareChevronRight:Gi,LucideSquareChevronUp:Wi,LucideSquareCode:Zi,LucideSquareDashed:Yi,LucideSquareDashedBottom:S7,LucideSquareDashedBottomCode:L7,LucideSquareDashedKanban:Xi,LucideSquareDashedMousePointer:Ji,LucideSquareDivide:Ki,LucideSquareDot:Qi,LucideSquareEqual:es,LucideSquareFunction:ts,LucideSquareGanttChart:ra,LucideSquareKanban:as,LucideSquareLibrary:rs,LucideSquareM:ns,LucideSquareMenu:is,LucideSquareMinus:ss,LucideSquareMousePointer:os,LucideSquareParking:ls,LucideSquareParkingOff:cs,LucideSquarePen:St,LucideSquarePercent:ds,LucideSquarePi:hs,LucideSquarePilcrow:us,LucideSquarePlay:ps,LucideSquarePlus:ys,LucideSquarePower:ms,LucideSquareRadical:I7,LucideSquareScissors:fs,LucideSquareSigma:xs,LucideSquareSlash:ks,LucideSquareSplitHorizontal:gs,LucideSquareSplitVertical:vs,LucideSquareSquare:N7,LucideSquareStack:A7,LucideSquareTerminal:ws,LucideSquareUser:bs,LucideSquareUserRound:Ms,LucideSquareX:Cs,LucideSquircle:P7,LucideSquirrel:q7,LucideStamp:T7,LucideStar:Ut,LucideStarHalf:R7,LucideStarOff:D7,LucideStars:Xa,LucideStepBack:z7,LucideStepForward:F7,LucideStethoscope:E7,LucideSticker:H7,LucideStickyNote:O7,LucideStopCircle:bn,LucideStore:V7,LucideStretchHorizontal:B7,LucideStretchVertical:U7,LucideStrikethrough:$7,LucideSubscript:G7,LucideSubtitles:Er,LucideSun:Y7,LucideSunDim:W7,LucideSunMedium:Z7,LucideSunMoon:X7,LucideSunSnow:J7,LucideSunrise:K7,LucideSunset:Q7,LucideSuperscript:ew,LucideSwatchBook:tw,LucideSwissFranc:aw,LucideSwitchCamera:rw,LucideSword:nw,LucideSwords:iw,LucideSyringe:sw,LucideTable:yw,LucideTable2:ow,LucideTableCellsMerge:cw,LucideTableCellsSplit:lw,LucideTableColumnsSplit:dw,LucideTableOfContents:hw,LucideTableProperties:uw,LucideTableRowsSplit:pw,LucideTablet:fw,LucideTabletSmartphone:mw,LucideTablets:xw,LucideTag:Pc,LucideTags:kw,LucideTally1:gw,LucideTally2:vw,LucideTally3:ww,LucideTally4:Mw,LucideTally5:bw,LucideTangent:Cw,LucideTarget:jw,LucideTelescope:Lw,LucideTent:Iw,LucideTentTree:Sw,LucideTerminal:Nw,LucideTerminalSquare:ws,LucideTestTube:Aw,LucideTestTube2:js,LucideTestTubeDiagonal:js,LucideTestTubes:_w,LucideText:Dw,LucideTextCursor:qw,LucideTextCursorInput:Pw,LucideTextQuote:Tw,LucideTextSearch:Rw,LucideTextSelect:Ls,LucideTextSelection:Ls,LucideTheater:zw,LucideThermometer:Hw,LucideThermometerSnowflake:Fw,LucideThermometerSun:Ew,LucideThumbsDown:Ow,LucideThumbsUp:Vw,LucideTicket:Xw,LucideTicketCheck:Bw,LucideTicketMinus:Uw,LucideTicketPercent:$w,LucideTicketPlus:Gw,LucideTicketSlash:Ww,LucideTicketX:Zw,LucideTickets:Yw,LucideTicketsPlane:Jw,LucideTimer:eM,LucideTimerOff:Kw,LucideTimerReset:Qw,LucideToggleLeft:tM,LucideToggleRight:aM,LucideTornado:rM,LucideTorus:nM,LucideTouchpad:sM,LucideTouchpadOff:iM,LucideTowerControl:oM,LucideToyBrick:cM,LucideTractor:lM,LucideTrafficCone:dM,LucideTrain:Ss,LucideTrainFront:uM,LucideTrainFrontTunnel:hM,LucideTrainTrack:pM,LucideTramFront:Ss,LucideTrash:yM,LucideTrash2:qo,LucideTreeDeciduous:mM,LucideTreePalm:Is,LucideTreePine:fM,LucideTrees:xM,LucideTrello:kM,LucideTrendingDown:gM,LucideTrendingUp:Ys,LucideTrendingUpDown:vM,LucideTriangle:MM,LucideTriangleAlert:Ns,LucideTriangleRight:wM,LucideTrophy:bM,LucideTruck:CM,LucideTurtle:jM,LucideTv:SM,LucideTv2:As,LucideTvMinimal:As,LucideTvMinimalPlay:LM,LucideTwitch:IM,LucideTwitter:NM,LucideType:_M,LucideTypeOutline:AM,LucideUmbrella:qM,LucideUmbrellaOff:PM,LucideUnderline:TM,LucideUndo:zM,LucideUndo2:RM,LucideUndoDot:DM,LucideUnfoldHorizontal:FM,LucideUnfoldVertical:EM,LucideUngroup:HM,LucideUniversity:_s,LucideUnlink:VM,LucideUnlink2:OM,LucideUnlock:ri,LucideUnlockKeyhole:ai,LucideUnplug:BM,LucideUpload:qc,LucideUploadCloud:Za,LucideUsb:UM,LucideUser:Tc,LucideUser2:zs,LucideUserCheck:$M,LucideUserCheck2:Ps,LucideUserCircle:jn,LucideUserCircle2:Cn,LucideUserCog:GM,LucideUserCog2:qs,LucideUserMinus:WM,LucideUserMinus2:Ts,LucideUserPen:ZM,LucideUserPlus:XM,LucideUserPlus2:Rs,LucideUserRound:zs,LucideUserRoundCheck:Ps,LucideUserRoundCog:qs,LucideUserRoundMinus:Ts,LucideUserRoundPen:JM,LucideUserRoundPlus:Rs,LucideUserRoundSearch:YM,LucideUserRoundX:Ds,LucideUserSearch:KM,LucideUserSquare:bs,LucideUserSquare2:Ms,LucideUserX:QM,LucideUserX2:Ds,LucideUsers:Ia,LucideUsers2:Fs,LucideUsersRound:Fs,LucideUtensils:Hs,LucideUtensilsCrossed:Es,LucideUtilityPole:eb,LucideVariable:tb,LucideVault:ab,LucideVegan:rb,LucideVenetianMask:nb,LucideVerified:Tr,LucideVibrate:sb,LucideVibrateOff:ib,LucideVideo:cb,LucideVideoOff:ob,LucideVideotape:lb,LucideView:db,LucideVoicemail:hb,LucideVolleyball:ub,LucideVolume:xb,LucideVolume1:pb,LucideVolume2:yb,LucideVolumeOff:mb,LucideVolumeX:fb,LucideVote:kb,LucideWallet:vb,LucideWallet2:Os,LucideWalletCards:gb,LucideWalletMinimal:Os,LucideWallpaper:wb,LucideWand:Mb,LucideWand2:Vs,LucideWandSparkles:Vs,LucideWarehouse:bb,LucideWashingMachine:Cb,LucideWatch:jb,LucideWaves:Lb,LucideWaypoints:Sb,LucideWebcam:Ib,LucideWebhook:Ab,LucideWebhookOff:Nb,LucideWeight:_b,LucideWheat:qb,LucideWheatOff:Pb,LucideWholeWord:Tb,LucideWifi:Eb,LucideWifiHigh:Rb,LucideWifiLow:Db,LucideWifiOff:zb,LucideWifiZero:Fb,LucideWind:Hb,LucideWine:Vb,LucideWineOff:Ob,LucideWorkflow:Bb,LucideWorm:Ub,LucideWrapText:$b,LucideWrench:Gb,LucideX:Tt,LucideXCircle:ia,LucideXOctagon:ci,LucideXSquare:Cs,LucideYoutube:Wb,LucideZap:Xb,LucideZapOff:Zb,LucideZoomIn:Jb,LucideZoomOut:Yb,Luggage:zk,LuggageIcon:zk,MSquare:ns,MSquareIcon:ns,Magnet:Fk,MagnetIcon:Fk,Mail:ha,MailCheck:Ek,MailCheckIcon:Ek,MailIcon:ha,MailMinus:Hk,MailMinusIcon:Hk,MailOpen:Ok,MailOpenIcon:Ok,MailPlus:Vk,MailPlusIcon:Vk,MailQuestion:Bk,MailQuestionIcon:Bk,MailSearch:Uk,MailSearchIcon:Uk,MailWarning:$k,MailWarningIcon:$k,MailX:Gk,MailXIcon:Gk,Mailbox:Wk,MailboxIcon:Wk,Mails:Zk,MailsIcon:Zk,Map:sg,MapIcon:sg,MapPin:Zt,MapPinCheck:Jk,MapPinCheckIcon:Jk,MapPinCheckInside:Xk,MapPinCheckInsideIcon:Xk,MapPinHouse:Yk,MapPinHouseIcon:Yk,MapPinIcon:Zt,MapPinMinus:Qk,MapPinMinusIcon:Qk,MapPinMinusInside:Kk,MapPinMinusInsideIcon:Kk,MapPinOff:eg,MapPinOffIcon:eg,MapPinPlus:ag,MapPinPlusIcon:ag,MapPinPlusInside:tg,MapPinPlusInsideIcon:tg,MapPinX:ng,MapPinXIcon:ng,MapPinXInside:rg,MapPinXInsideIcon:rg,MapPinned:ig,MapPinnedIcon:ig,Martini:og,MartiniIcon:og,Maximize:lg,Maximize2:cg,Maximize2Icon:cg,MaximizeIcon:lg,Medal:dg,MedalIcon:dg,Megaphone:ug,MegaphoneIcon:ug,MegaphoneOff:hg,MegaphoneOffIcon:hg,Meh:pg,MehIcon:pg,MemoryStick:yg,MemoryStickIcon:yg,Menu:Lo,MenuIcon:Lo,MenuSquare:is,MenuSquareIcon:is,Merge:mg,MergeIcon:mg,MessageCircle:Lg,MessageCircleCode:fg,MessageCircleCodeIcon:fg,MessageCircleDashed:xg,MessageCircleDashedIcon:xg,MessageCircleHeart:kg,MessageCircleHeartIcon:kg,MessageCircleIcon:Lg,MessageCircleMore:gg,MessageCircleMoreIcon:gg,MessageCircleOff:vg,MessageCircleOffIcon:vg,MessageCirclePlus:wg,MessageCirclePlusIcon:wg,MessageCircleQuestion:Mg,MessageCircleQuestionIcon:Mg,MessageCircleReply:bg,MessageCircleReplyIcon:bg,MessageCircleWarning:Cg,MessageCircleWarningIcon:Cg,MessageCircleX:jg,MessageCircleXIcon:jg,MessageSquare:So,MessageSquareCode:Sg,MessageSquareCodeIcon:Sg,MessageSquareDashed:Ig,MessageSquareDashedIcon:Ig,MessageSquareDiff:Ng,MessageSquareDiffIcon:Ng,MessageSquareDot:Ag,MessageSquareDotIcon:Ag,MessageSquareHeart:_g,MessageSquareHeartIcon:_g,MessageSquareIcon:So,MessageSquareLock:Pg,MessageSquareLockIcon:Pg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Tg,MessageSquareOffIcon:Tg,MessageSquarePlus:Rg,MessageSquarePlusIcon:Rg,MessageSquareQuote:Dg,MessageSquareQuoteIcon:Dg,MessageSquareReply:zg,MessageSquareReplyIcon:zg,MessageSquareShare:Fg,MessageSquareShareIcon:Fg,MessageSquareText:Eg,MessageSquareTextIcon:Eg,MessageSquareWarning:Hg,MessageSquareWarningIcon:Hg,MessageSquareX:Og,MessageSquareXIcon:Og,MessagesSquare:Vg,MessagesSquareIcon:Vg,Mic:Ug,Mic2:ni,Mic2Icon:ni,MicIcon:Ug,MicOff:Bg,MicOffIcon:Bg,MicVocal:ni,MicVocalIcon:ni,Microchip:$g,MicrochipIcon:$g,Microscope:Gg,MicroscopeIcon:Gg,Microwave:Wg,MicrowaveIcon:Wg,Milestone:Zg,MilestoneIcon:Zg,Milk:Jg,MilkIcon:Jg,MilkOff:Xg,MilkOffIcon:Xg,Minimize:Kg,Minimize2:Yg,Minimize2Icon:Yg,MinimizeIcon:Kg,Minus:Sc,MinusCircle:yn,MinusCircleIcon:yn,MinusIcon:Sc,MinusSquare:ss,MinusSquareIcon:ss,Monitor:h5,MonitorCheck:Qg,MonitorCheckIcon:Qg,MonitorCog:e5,MonitorCogIcon:e5,MonitorDot:t5,MonitorDotIcon:t5,MonitorDown:a5,MonitorDownIcon:a5,MonitorIcon:h5,MonitorOff:r5,MonitorOffIcon:r5,MonitorPause:n5,MonitorPauseIcon:n5,MonitorPlay:i5,MonitorPlayIcon:i5,MonitorSmartphone:s5,MonitorSmartphoneIcon:s5,MonitorSpeaker:o5,MonitorSpeakerIcon:o5,MonitorStop:c5,MonitorStopIcon:c5,MonitorUp:l5,MonitorUpIcon:l5,MonitorX:d5,MonitorXIcon:d5,Moon:p5,MoonIcon:p5,MoonStar:u5,MoonStarIcon:u5,MoreHorizontal:Dn,MoreHorizontalIcon:Dn,MoreVertical:Rn,MoreVerticalIcon:Rn,Mountain:m5,MountainIcon:m5,MountainSnow:y5,MountainSnowIcon:y5,Mouse:w5,MouseIcon:w5,MouseOff:f5,MouseOffIcon:f5,MousePointer:v5,MousePointer2:x5,MousePointer2Icon:x5,MousePointerBan:k5,MousePointerBanIcon:k5,MousePointerClick:g5,MousePointerClickIcon:g5,MousePointerIcon:v5,MousePointerSquareDashed:Ji,MousePointerSquareDashedIcon:Ji,Move:T5,Move3D:ii,Move3DIcon:ii,Move3d:ii,Move3dIcon:ii,MoveDiagonal:b5,MoveDiagonal2:M5,MoveDiagonal2Icon:M5,MoveDiagonalIcon:b5,MoveDown:L5,MoveDownIcon:L5,MoveDownLeft:C5,MoveDownLeftIcon:C5,MoveDownRight:j5,MoveDownRightIcon:j5,MoveHorizontal:S5,MoveHorizontalIcon:S5,MoveIcon:T5,MoveLeft:I5,MoveLeftIcon:I5,MoveRight:N5,MoveRightIcon:N5,MoveUp:P5,MoveUpIcon:P5,MoveUpLeft:A5,MoveUpLeftIcon:A5,MoveUpRight:_5,MoveUpRightIcon:_5,MoveVertical:q5,MoveVerticalIcon:q5,Music:F5,Music2:R5,Music2Icon:R5,Music3:D5,Music3Icon:D5,Music4:z5,Music4Icon:z5,MusicIcon:F5,Navigation:V5,Navigation2:H5,Navigation2Icon:H5,Navigation2Off:E5,Navigation2OffIcon:E5,NavigationIcon:V5,NavigationOff:O5,NavigationOffIcon:O5,Network:B5,NetworkIcon:B5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:U5,NfcIcon:U5,Notebook:Z5,NotebookIcon:Z5,NotebookPen:$5,NotebookPenIcon:$5,NotebookTabs:G5,NotebookTabsIcon:G5,NotebookText:W5,NotebookTextIcon:W5,NotepadText:J5,NotepadTextDashed:X5,NotepadTextDashedIcon:X5,NotepadTextIcon:J5,Nut:K5,NutIcon:K5,NutOff:Y5,NutOffIcon:Y5,Octagon:e3,OctagonAlert:si,OctagonAlertIcon:si,OctagonIcon:e3,OctagonMinus:Q5,OctagonMinusIcon:Q5,OctagonPause:oi,OctagonPauseIcon:oi,OctagonX:ci,OctagonXIcon:ci,Omega:t3,OmegaIcon:t3,Option:a3,OptionIcon:a3,Orbit:r3,OrbitIcon:r3,Origami:n3,OrigamiIcon:n3,Outdent:Kn,OutdentIcon:Kn,Package:u3,Package2:i3,Package2Icon:i3,PackageCheck:s3,PackageCheckIcon:s3,PackageIcon:u3,PackageMinus:o3,PackageMinusIcon:o3,PackageOpen:c3,PackageOpenIcon:c3,PackagePlus:l3,PackagePlusIcon:l3,PackageSearch:d3,PackageSearchIcon:d3,PackageX:h3,PackageXIcon:h3,PaintBucket:p3,PaintBucketIcon:p3,PaintRoller:y3,PaintRollerIcon:y3,Paintbrush:m3,Paintbrush2:li,Paintbrush2Icon:li,PaintbrushIcon:m3,PaintbrushVertical:li,PaintbrushVerticalIcon:li,Palette:f3,PaletteIcon:f3,Palmtree:Is,PalmtreeIcon:Is,PanelBottom:g3,PanelBottomClose:x3,PanelBottomCloseIcon:x3,PanelBottomDashed:di,PanelBottomDashedIcon:di,PanelBottomIcon:g3,PanelBottomInactive:di,PanelBottomInactiveIcon:di,PanelBottomOpen:k3,PanelBottomOpenIcon:k3,PanelLeft:yi,PanelLeftClose:hi,PanelLeftCloseIcon:hi,PanelLeftDashed:ui,PanelLeftDashedIcon:ui,PanelLeftIcon:yi,PanelLeftInactive:ui,PanelLeftInactiveIcon:ui,PanelLeftOpen:pi,PanelLeftOpenIcon:pi,PanelRight:M3,PanelRightClose:v3,PanelRightCloseIcon:v3,PanelRightDashed:mi,PanelRightDashedIcon:mi,PanelRightIcon:M3,PanelRightInactive:mi,PanelRightInactiveIcon:mi,PanelRightOpen:w3,PanelRightOpenIcon:w3,PanelTop:j3,PanelTopClose:b3,PanelTopCloseIcon:b3,PanelTopDashed:fi,PanelTopDashedIcon:fi,PanelTopIcon:j3,PanelTopInactive:fi,PanelTopInactiveIcon:fi,PanelTopOpen:C3,PanelTopOpenIcon:C3,PanelsLeftBottom:L3,PanelsLeftBottomIcon:L3,PanelsLeftRight:_n,PanelsLeftRightIcon:_n,PanelsRightBottom:S3,PanelsRightBottomIcon:S3,PanelsTopBottom:Ci,PanelsTopBottomIcon:Ci,PanelsTopLeft:xi,PanelsTopLeftIcon:xi,Paperclip:I3,PaperclipIcon:I3,Parentheses:N3,ParenthesesIcon:N3,ParkingCircle:fn,ParkingCircleIcon:fn,ParkingCircleOff:mn,ParkingCircleOffIcon:mn,ParkingMeter:A3,ParkingMeterIcon:A3,ParkingSquare:ls,ParkingSquareIcon:ls,ParkingSquareOff:cs,ParkingSquareOffIcon:cs,PartyPopper:_3,PartyPopperIcon:_3,Pause:P3,PauseCircle:xn,PauseCircleIcon:xn,PauseIcon:P3,PauseOctagon:oi,PauseOctagonIcon:oi,PawPrint:q3,PawPrintIcon:q3,PcCase:T3,PcCaseIcon:T3,Pen:gi,PenBox:St,PenBoxIcon:St,PenIcon:gi,PenLine:ki,PenLineIcon:ki,PenOff:R3,PenOffIcon:R3,PenSquare:St,PenSquareIcon:St,PenTool:D3,PenToolIcon:D3,Pencil:H3,PencilIcon:H3,PencilLine:z3,PencilLineIcon:z3,PencilOff:F3,PencilOffIcon:F3,PencilRuler:E3,PencilRulerIcon:E3,Pentagon:O3,PentagonIcon:O3,Percent:V3,PercentCircle:kn,PercentCircleIcon:kn,PercentDiamond:qn,PercentDiamondIcon:qn,PercentIcon:V3,PercentSquare:ds,PercentSquareIcon:ds,PersonStanding:B3,PersonStandingIcon:B3,PhilippinePeso:U3,PhilippinePesoIcon:U3,Phone:Js,PhoneCall:$3,PhoneCallIcon:$3,PhoneForwarded:G3,PhoneForwardedIcon:G3,PhoneIcon:Js,PhoneIncoming:W3,PhoneIncomingIcon:W3,PhoneMissed:Z3,PhoneMissedIcon:Z3,PhoneOff:X3,PhoneOffIcon:X3,PhoneOutgoing:J3,PhoneOutgoingIcon:J3,Pi:Y3,PiIcon:Y3,PiSquare:hs,PiSquareIcon:hs,Piano:K3,PianoIcon:K3,Pickaxe:Q3,PickaxeIcon:Q3,PictureInPicture:tv,PictureInPicture2:ev,PictureInPicture2Icon:ev,PictureInPictureIcon:tv,PieChart:Jr,PieChartIcon:Jr,PiggyBank:av,PiggyBankIcon:av,Pilcrow:iv,PilcrowIcon:iv,PilcrowLeft:rv,PilcrowLeftIcon:rv,PilcrowRight:nv,PilcrowRightIcon:nv,PilcrowSquare:us,PilcrowSquareIcon:us,Pill:ov,PillBottle:sv,PillBottleIcon:sv,PillIcon:ov,Pin:lv,PinIcon:lv,PinOff:cv,PinOffIcon:cv,Pipette:dv,PipetteIcon:dv,Pizza:hv,PizzaIcon:hv,Plane:yv,PlaneIcon:yv,PlaneLanding:uv,PlaneLandingIcon:uv,PlaneTakeoff:pv,PlaneTakeoffIcon:pv,Play:Ic,PlayCircle:gn,PlayCircleIcon:gn,PlayIcon:Ic,PlaySquare:ps,PlaySquareIcon:ps,Plug:fv,Plug2:mv,Plug2Icon:mv,PlugIcon:fv,PlugZap:vi,PlugZap2:vi,PlugZap2Icon:vi,PlugZapIcon:vi,Plus:Io,PlusCircle:vn,PlusCircleIcon:vn,PlusIcon:Io,PlusSquare:ys,PlusSquareIcon:ys,Pocket:kv,PocketIcon:kv,PocketKnife:xv,PocketKnifeIcon:xv,Podcast:gv,PodcastIcon:gv,Pointer:wv,PointerIcon:wv,PointerOff:vv,PointerOffIcon:vv,Popcorn:Mv,PopcornIcon:Mv,Popsicle:bv,PopsicleIcon:bv,PoundSterling:Cv,PoundSterlingIcon:Cv,Power:Lv,PowerCircle:wn,PowerCircleIcon:wn,PowerIcon:Lv,PowerOff:jv,PowerOffIcon:jv,PowerSquare:ms,PowerSquareIcon:ms,Presentation:Sv,PresentationIcon:Sv,Printer:Nv,PrinterCheck:Iv,PrinterCheckIcon:Iv,PrinterIcon:Nv,Projector:Av,ProjectorIcon:Av,Proportions:_v,ProportionsIcon:_v,Puzzle:Pv,PuzzleIcon:Pv,Pyramid:qv,PyramidIcon:qv,QrCode:Tv,QrCodeIcon:Tv,Quote:No,QuoteIcon:No,Rabbit:Rv,RabbitIcon:Rv,Radar:Dv,RadarIcon:Dv,Radiation:zv,RadiationIcon:zv,Radical:Fv,RadicalIcon:Fv,Radio:Ov,RadioIcon:Ov,RadioReceiver:Ev,RadioReceiverIcon:Ev,RadioTower:Hv,RadioTowerIcon:Hv,Radius:Vv,RadiusIcon:Vv,RailSymbol:Bv,RailSymbolIcon:Bv,Rainbow:Uv,RainbowIcon:Uv,Rat:$v,RatIcon:$v,Ratio:Gv,RatioIcon:Gv,Receipt:t6,ReceiptCent:Wv,ReceiptCentIcon:Wv,ReceiptEuro:Zv,ReceiptEuroIcon:Zv,ReceiptIcon:t6,ReceiptIndianRupee:Xv,ReceiptIndianRupeeIcon:Xv,ReceiptJapaneseYen:Jv,ReceiptJapaneseYenIcon:Jv,ReceiptPoundSterling:Yv,ReceiptPoundSterlingIcon:Yv,ReceiptRussianRuble:Kv,ReceiptRussianRubleIcon:Kv,ReceiptSwissFranc:Qv,ReceiptSwissFrancIcon:Qv,ReceiptText:e6,ReceiptTextIcon:e6,RectangleEllipsis:wi,RectangleEllipsisIcon:wi,RectangleHorizontal:a6,RectangleHorizontalIcon:a6,RectangleVertical:r6,RectangleVerticalIcon:r6,Recycle:n6,RecycleIcon:n6,Redo:o6,Redo2:i6,Redo2Icon:i6,RedoDot:s6,RedoDotIcon:s6,RedoIcon:o6,RefreshCcw:l6,RefreshCcwDot:c6,RefreshCcwDotIcon:c6,RefreshCcwIcon:l6,RefreshCw:h6,RefreshCwIcon:h6,RefreshCwOff:d6,RefreshCwOffIcon:d6,Refrigerator:u6,RefrigeratorIcon:u6,Regex:p6,RegexIcon:p6,RemoveFormatting:y6,RemoveFormattingIcon:y6,Repeat:x6,Repeat1:m6,Repeat1Icon:m6,Repeat2:f6,Repeat2Icon:f6,RepeatIcon:x6,Replace:g6,ReplaceAll:k6,ReplaceAllIcon:k6,ReplaceIcon:g6,Reply:w6,ReplyAll:v6,ReplyAllIcon:v6,ReplyIcon:w6,Rewind:M6,RewindIcon:M6,Ribbon:b6,RibbonIcon:b6,Rocket:C6,RocketIcon:C6,RockingChair:j6,RockingChairIcon:j6,RollerCoaster:L6,RollerCoasterIcon:L6,Rotate3D:Mi,Rotate3DIcon:Mi,Rotate3d:Mi,Rotate3dIcon:Mi,RotateCcw:I6,RotateCcwIcon:I6,RotateCcwSquare:S6,RotateCcwSquareIcon:S6,RotateCw:A6,RotateCwIcon:A6,RotateCwSquare:N6,RotateCwSquareIcon:N6,Route:P6,RouteIcon:P6,RouteOff:_6,RouteOffIcon:_6,Router:q6,RouterIcon:q6,Rows:bi,Rows2:bi,Rows2Icon:bi,Rows3:Ci,Rows3Icon:Ci,Rows4:T6,Rows4Icon:T6,RowsIcon:bi,Rss:R6,RssIcon:R6,Ruler:D6,RulerIcon:D6,RussianRuble:z6,RussianRubleIcon:z6,Sailboat:F6,SailboatIcon:F6,Salad:E6,SaladIcon:E6,Sandwich:H6,SandwichIcon:H6,Satellite:V6,SatelliteDish:O6,SatelliteDishIcon:O6,SatelliteIcon:V6,Save:$6,SaveAll:B6,SaveAllIcon:B6,SaveIcon:$6,SaveOff:U6,SaveOffIcon:U6,Scale:G6,Scale3D:ji,Scale3DIcon:ji,Scale3d:ji,Scale3dIcon:ji,ScaleIcon:G6,Scaling:W6,ScalingIcon:W6,Scan:t8,ScanBarcode:Z6,ScanBarcodeIcon:Z6,ScanEye:X6,ScanEyeIcon:X6,ScanFace:J6,ScanFaceIcon:J6,ScanIcon:t8,ScanLine:Y6,ScanLineIcon:Y6,ScanQrCode:K6,ScanQrCodeIcon:K6,ScanSearch:Q6,ScanSearchIcon:Q6,ScanText:e8,ScanTextIcon:e8,ScatterChart:Yr,ScatterChartIcon:Yr,School:a8,School2:_s,School2Icon:_s,SchoolIcon:a8,Scissors:n8,ScissorsIcon:n8,ScissorsLineDashed:r8,ScissorsLineDashedIcon:r8,ScissorsSquare:fs,ScissorsSquareDashedBottom:Oi,ScissorsSquareDashedBottomIcon:Oi,ScissorsSquareIcon:fs,ScreenShare:s8,ScreenShareIcon:s8,ScreenShareOff:i8,ScreenShareOffIcon:i8,Scroll:c8,ScrollIcon:c8,ScrollText:o8,ScrollTextIcon:o8,Search:Xt,SearchCheck:l8,SearchCheckIcon:l8,SearchCode:d8,SearchCodeIcon:d8,SearchIcon:Xt,SearchSlash:h8,SearchSlashIcon:h8,SearchX:u8,SearchXIcon:u8,Section:p8,SectionIcon:p8,Send:Nc,SendHorizonal:Li,SendHorizonalIcon:Li,SendHorizontal:Li,SendHorizontalIcon:Li,SendIcon:Nc,SendToBack:y8,SendToBackIcon:y8,SeparatorHorizontal:m8,SeparatorHorizontalIcon:m8,SeparatorVertical:f8,SeparatorVerticalIcon:f8,Server:v8,ServerCog:x8,ServerCogIcon:x8,ServerCrash:k8,ServerCrashIcon:k8,ServerIcon:v8,ServerOff:g8,ServerOffIcon:g8,Settings:Ao,Settings2:w8,Settings2Icon:w8,SettingsIcon:Ao,Shapes:M8,ShapesIcon:M8,Share:b8,Share2:_o,Share2Icon:_o,ShareIcon:b8,Sheet:C8,SheetIcon:C8,Shell:j8,ShellIcon:j8,Shield:Ac,ShieldAlert:L8,ShieldAlertIcon:L8,ShieldBan:S8,ShieldBanIcon:S8,ShieldCheck:I8,ShieldCheckIcon:I8,ShieldClose:Si,ShieldCloseIcon:Si,ShieldEllipsis:N8,ShieldEllipsisIcon:N8,ShieldHalf:A8,ShieldHalfIcon:A8,ShieldIcon:Ac,ShieldMinus:_8,ShieldMinusIcon:_8,ShieldOff:P8,ShieldOffIcon:P8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:T8,ShieldQuestionIcon:T8,ShieldX:Si,ShieldXIcon:Si,Ship:D8,ShipIcon:D8,ShipWheel:R8,ShipWheelIcon:R8,Shirt:z8,ShirtIcon:z8,ShoppingBag:F8,ShoppingBagIcon:F8,ShoppingBasket:E8,ShoppingBasketIcon:E8,ShoppingCart:Po,ShoppingCartIcon:Po,Shovel:H8,ShovelIcon:H8,ShowerHead:O8,ShowerHeadIcon:O8,Shrink:V8,ShrinkIcon:V8,Shrub:B8,ShrubIcon:B8,Shuffle:U8,ShuffleIcon:U8,Sidebar:yi,SidebarClose:hi,SidebarCloseIcon:hi,SidebarIcon:yi,SidebarOpen:pi,SidebarOpenIcon:pi,Sigma:$8,SigmaIcon:$8,SigmaSquare:xs,SigmaSquareIcon:xs,Signal:_c,SignalHigh:G8,SignalHighIcon:G8,SignalIcon:_c,SignalLow:W8,SignalLowIcon:W8,SignalMedium:Z8,SignalMediumIcon:Z8,SignalZero:X8,SignalZeroIcon:X8,Signature:J8,SignatureIcon:J8,Signpost:K8,SignpostBig:Y8,SignpostBigIcon:Y8,SignpostIcon:K8,Siren:Q8,SirenIcon:Q8,SkipBack:e7,SkipBackIcon:e7,SkipForward:t7,SkipForwardIcon:t7,Skull:a7,SkullIcon:a7,Slack:r7,SlackIcon:r7,Slash:n7,SlashIcon:n7,SlashSquare:ks,SlashSquareIcon:ks,Slice:i7,SliceIcon:i7,Sliders:Ii,SlidersHorizontal:tr,SlidersHorizontalIcon:tr,SlidersIcon:Ii,SlidersVertical:Ii,SlidersVerticalIcon:Ii,Smartphone:c7,SmartphoneCharging:s7,SmartphoneChargingIcon:s7,SmartphoneIcon:c7,SmartphoneNfc:o7,SmartphoneNfcIcon:o7,Smile:d7,SmileIcon:d7,SmilePlus:l7,SmilePlusIcon:l7,Snail:h7,SnailIcon:h7,Snowflake:u7,SnowflakeIcon:u7,Sofa:p7,SofaIcon:p7,SortAsc:_r,SortAscIcon:_r,SortDesc:Ir,SortDescIcon:Ir,Soup:y7,SoupIcon:y7,Space:m7,SpaceIcon:m7,Spade:f7,SpadeIcon:f7,Sparkle:x7,SparkleIcon:x7,Sparkles:Xa,SparklesIcon:Xa,Speaker:k7,SpeakerIcon:k7,Speech:g7,SpeechIcon:g7,SpellCheck:w7,SpellCheck2:v7,SpellCheck2Icon:v7,SpellCheckIcon:w7,Spline:M7,SplineIcon:M7,Split:b7,SplitIcon:b7,SplitSquareHorizontal:gs,SplitSquareHorizontalIcon:gs,SplitSquareVertical:vs,SplitSquareVerticalIcon:vs,SprayCan:C7,SprayCanIcon:C7,Sprout:j7,SproutIcon:j7,Square:_7,SquareActivity:Ni,SquareActivityIcon:Ni,SquareArrowDown:Pi,SquareArrowDownIcon:Pi,SquareArrowDownLeft:Ai,SquareArrowDownLeftIcon:Ai,SquareArrowDownRight:_i,SquareArrowDownRightIcon:_i,SquareArrowLeft:ba,SquareArrowLeftIcon:ba,SquareArrowOutDownLeft:qi,SquareArrowOutDownLeftIcon:qi,SquareArrowOutDownRight:Ti,SquareArrowOutDownRightIcon:Ti,SquareArrowOutUpLeft:Ri,SquareArrowOutUpLeftIcon:Ri,SquareArrowOutUpRight:Di,SquareArrowOutUpRightIcon:Di,SquareArrowRight:Ca,SquareArrowRightIcon:Ca,SquareArrowUp:Ei,SquareArrowUpIcon:Ei,SquareArrowUpLeft:zi,SquareArrowUpLeftIcon:zi,SquareArrowUpRight:Fi,SquareArrowUpRightIcon:Fi,SquareAsterisk:Hi,SquareAsteriskIcon:Hi,SquareBottomDashedScissors:Oi,SquareBottomDashedScissorsIcon:Oi,SquareChartGantt:ra,SquareChartGanttIcon:ra,SquareCheck:Bi,SquareCheckBig:Vi,SquareCheckBigIcon:Vi,SquareCheckIcon:Bi,SquareChevronDown:Ui,SquareChevronDownIcon:Ui,SquareChevronLeft:$i,SquareChevronLeftIcon:$i,SquareChevronRight:Gi,SquareChevronRightIcon:Gi,SquareChevronUp:Wi,SquareChevronUpIcon:Wi,SquareCode:Zi,SquareCodeIcon:Zi,SquareDashed:Yi,SquareDashedBottom:S7,SquareDashedBottomCode:L7,SquareDashedBottomCodeIcon:L7,SquareDashedBottomIcon:S7,SquareDashedIcon:Yi,SquareDashedKanban:Xi,SquareDashedKanbanIcon:Xi,SquareDashedMousePointer:Ji,SquareDashedMousePointerIcon:Ji,SquareDivide:Ki,SquareDivideIcon:Ki,SquareDot:Qi,SquareDotIcon:Qi,SquareEqual:es,SquareEqualIcon:es,SquareFunction:ts,SquareFunctionIcon:ts,SquareGanttChart:ra,SquareGanttChartIcon:ra,SquareIcon:_7,SquareKanban:as,SquareKanbanIcon:as,SquareLibrary:rs,SquareLibraryIcon:rs,SquareM:ns,SquareMIcon:ns,SquareMenu:is,SquareMenuIcon:is,SquareMinus:ss,SquareMinusIcon:ss,SquareMousePointer:os,SquareMousePointerIcon:os,SquareParking:ls,SquareParkingIcon:ls,SquareParkingOff:cs,SquareParkingOffIcon:cs,SquarePen:St,SquarePenIcon:St,SquarePercent:ds,SquarePercentIcon:ds,SquarePi:hs,SquarePiIcon:hs,SquarePilcrow:us,SquarePilcrowIcon:us,SquarePlay:ps,SquarePlayIcon:ps,SquarePlus:ys,SquarePlusIcon:ys,SquarePower:ms,SquarePowerIcon:ms,SquareRadical:I7,SquareRadicalIcon:I7,SquareScissors:fs,SquareScissorsIcon:fs,SquareSigma:xs,SquareSigmaIcon:xs,SquareSlash:ks,SquareSlashIcon:ks,SquareSplitHorizontal:gs,SquareSplitHorizontalIcon:gs,SquareSplitVertical:vs,SquareSplitVerticalIcon:vs,SquareSquare:N7,SquareSquareIcon:N7,SquareStack:A7,SquareStackIcon:A7,SquareTerminal:ws,SquareTerminalIcon:ws,SquareUser:bs,SquareUserIcon:bs,SquareUserRound:Ms,SquareUserRoundIcon:Ms,SquareX:Cs,SquareXIcon:Cs,Squircle:P7,SquircleIcon:P7,Squirrel:q7,SquirrelIcon:q7,Stamp:T7,StampIcon:T7,Star:Ut,StarHalf:R7,StarHalfIcon:R7,StarIcon:Ut,StarOff:D7,StarOffIcon:D7,Stars:Xa,StarsIcon:Xa,StepBack:z7,StepBackIcon:z7,StepForward:F7,StepForwardIcon:F7,Stethoscope:E7,StethoscopeIcon:E7,Sticker:H7,StickerIcon:H7,StickyNote:O7,StickyNoteIcon:O7,StopCircle:bn,StopCircleIcon:bn,Store:V7,StoreIcon:V7,StretchHorizontal:B7,StretchHorizontalIcon:B7,StretchVertical:U7,StretchVerticalIcon:U7,Strikethrough:$7,StrikethroughIcon:$7,Subscript:G7,SubscriptIcon:G7,Subtitles:Er,SubtitlesIcon:Er,Sun:Y7,SunDim:W7,SunDimIcon:W7,SunIcon:Y7,SunMedium:Z7,SunMediumIcon:Z7,SunMoon:X7,SunMoonIcon:X7,SunSnow:J7,SunSnowIcon:J7,Sunrise:K7,SunriseIcon:K7,Sunset:Q7,SunsetIcon:Q7,Superscript:ew,SuperscriptIcon:ew,SwatchBook:tw,SwatchBookIcon:tw,SwissFranc:aw,SwissFrancIcon:aw,SwitchCamera:rw,SwitchCameraIcon:rw,Sword:nw,SwordIcon:nw,Swords:iw,SwordsIcon:iw,Syringe:sw,SyringeIcon:sw,Table:yw,Table2:ow,Table2Icon:ow,TableCellsMerge:cw,TableCellsMergeIcon:cw,TableCellsSplit:lw,TableCellsSplitIcon:lw,TableColumnsSplit:dw,TableColumnsSplitIcon:dw,TableIcon:yw,TableOfContents:hw,TableOfContentsIcon:hw,TableProperties:uw,TablePropertiesIcon:uw,TableRowsSplit:pw,TableRowsSplitIcon:pw,Tablet:fw,TabletIcon:fw,TabletSmartphone:mw,TabletSmartphoneIcon:mw,Tablets:xw,TabletsIcon:xw,Tag:Pc,TagIcon:Pc,Tags:kw,TagsIcon:kw,Tally1:gw,Tally1Icon:gw,Tally2:vw,Tally2Icon:vw,Tally3:ww,Tally3Icon:ww,Tally4:Mw,Tally4Icon:Mw,Tally5:bw,Tally5Icon:bw,Tangent:Cw,TangentIcon:Cw,Target:jw,TargetIcon:jw,Telescope:Lw,TelescopeIcon:Lw,Tent:Iw,TentIcon:Iw,TentTree:Sw,TentTreeIcon:Sw,Terminal:Nw,TerminalIcon:Nw,TerminalSquare:ws,TerminalSquareIcon:ws,TestTube:Aw,TestTube2:js,TestTube2Icon:js,TestTubeDiagonal:js,TestTubeDiagonalIcon:js,TestTubeIcon:Aw,TestTubes:_w,TestTubesIcon:_w,Text:Dw,TextCursor:qw,TextCursorIcon:qw,TextCursorInput:Pw,TextCursorInputIcon:Pw,TextIcon:Dw,TextQuote:Tw,TextQuoteIcon:Tw,TextSearch:Rw,TextSearchIcon:Rw,TextSelect:Ls,TextSelectIcon:Ls,TextSelection:Ls,TextSelectionIcon:Ls,Theater:zw,TheaterIcon:zw,Thermometer:Hw,ThermometerIcon:Hw,ThermometerSnowflake:Fw,ThermometerSnowflakeIcon:Fw,ThermometerSun:Ew,ThermometerSunIcon:Ew,ThumbsDown:Ow,ThumbsDownIcon:Ow,ThumbsUp:Vw,ThumbsUpIcon:Vw,Ticket:Xw,TicketCheck:Bw,TicketCheckIcon:Bw,TicketIcon:Xw,TicketMinus:Uw,TicketMinusIcon:Uw,TicketPercent:$w,TicketPercentIcon:$w,TicketPlus:Gw,TicketPlusIcon:Gw,TicketSlash:Ww,TicketSlashIcon:Ww,TicketX:Zw,TicketXIcon:Zw,Tickets:Yw,TicketsIcon:Yw,TicketsPlane:Jw,TicketsPlaneIcon:Jw,Timer:eM,TimerIcon:eM,TimerOff:Kw,TimerOffIcon:Kw,TimerReset:Qw,TimerResetIcon:Qw,ToggleLeft:tM,ToggleLeftIcon:tM,ToggleRight:aM,ToggleRightIcon:aM,Tornado:rM,TornadoIcon:rM,Torus:nM,TorusIcon:nM,Touchpad:sM,TouchpadIcon:sM,TouchpadOff:iM,TouchpadOffIcon:iM,TowerControl:oM,TowerControlIcon:oM,ToyBrick:cM,ToyBrickIcon:cM,Tractor:lM,TractorIcon:lM,TrafficCone:dM,TrafficConeIcon:dM,Train:Ss,TrainFront:uM,TrainFrontIcon:uM,TrainFrontTunnel:hM,TrainFrontTunnelIcon:hM,TrainIcon:Ss,TrainTrack:pM,TrainTrackIcon:pM,TramFront:Ss,TramFrontIcon:Ss,Trash:yM,Trash2:qo,Trash2Icon:qo,TrashIcon:yM,TreeDeciduous:mM,TreeDeciduousIcon:mM,TreePalm:Is,TreePalmIcon:Is,TreePine:fM,TreePineIcon:fM,Trees:xM,TreesIcon:xM,Trello:kM,TrelloIcon:kM,TrendingDown:gM,TrendingDownIcon:gM,TrendingUp:Ys,TrendingUpDown:vM,TrendingUpDownIcon:vM,TrendingUpIcon:Ys,Triangle:MM,TriangleAlert:Ns,TriangleAlertIcon:Ns,TriangleIcon:MM,TriangleRight:wM,TriangleRightIcon:wM,Trophy:bM,TrophyIcon:bM,Truck:CM,TruckIcon:CM,Turtle:jM,TurtleIcon:jM,Tv:SM,Tv2:As,Tv2Icon:As,TvIcon:SM,TvMinimal:As,TvMinimalIcon:As,TvMinimalPlay:LM,TvMinimalPlayIcon:LM,Twitch:IM,TwitchIcon:IM,Twitter:NM,TwitterIcon:NM,Type:_M,TypeIcon:_M,TypeOutline:AM,TypeOutlineIcon:AM,Umbrella:qM,UmbrellaIcon:qM,UmbrellaOff:PM,UmbrellaOffIcon:PM,Underline:TM,UnderlineIcon:TM,Undo:zM,Undo2:RM,Undo2Icon:RM,UndoDot:DM,UndoDotIcon:DM,UndoIcon:zM,UnfoldHorizontal:FM,UnfoldHorizontalIcon:FM,UnfoldVertical:EM,UnfoldVerticalIcon:EM,Ungroup:HM,UngroupIcon:HM,University:_s,UniversityIcon:_s,Unlink:VM,Unlink2:OM,Unlink2Icon:OM,UnlinkIcon:VM,Unlock:ri,UnlockIcon:ri,UnlockKeyhole:ai,UnlockKeyholeIcon:ai,Unplug:BM,UnplugIcon:BM,Upload:qc,UploadCloud:Za,UploadCloudIcon:Za,UploadIcon:qc,Usb:UM,UsbIcon:UM,User:Tc,User2:zs,User2Icon:zs,UserCheck:$M,UserCheck2:Ps,UserCheck2Icon:Ps,UserCheckIcon:$M,UserCircle:jn,UserCircle2:Cn,UserCircle2Icon:Cn,UserCircleIcon:jn,UserCog:GM,UserCog2:qs,UserCog2Icon:qs,UserCogIcon:GM,UserIcon:Tc,UserMinus:WM,UserMinus2:Ts,UserMinus2Icon:Ts,UserMinusIcon:WM,UserPen:ZM,UserPenIcon:ZM,UserPlus:XM,UserPlus2:Rs,UserPlus2Icon:Rs,UserPlusIcon:XM,UserRound:zs,UserRoundCheck:Ps,UserRoundCheckIcon:Ps,UserRoundCog:qs,UserRoundCogIcon:qs,UserRoundIcon:zs,UserRoundMinus:Ts,UserRoundMinusIcon:Ts,UserRoundPen:JM,UserRoundPenIcon:JM,UserRoundPlus:Rs,UserRoundPlusIcon:Rs,UserRoundSearch:YM,UserRoundSearchIcon:YM,UserRoundX:Ds,UserRoundXIcon:Ds,UserSearch:KM,UserSearchIcon:KM,UserSquare:bs,UserSquare2:Ms,UserSquare2Icon:Ms,UserSquareIcon:bs,UserX:QM,UserX2:Ds,UserX2Icon:Ds,UserXIcon:QM,Users:Ia,Users2:Fs,Users2Icon:Fs,UsersIcon:Ia,UsersRound:Fs,UsersRoundIcon:Fs,Utensils:Hs,UtensilsCrossed:Es,UtensilsCrossedIcon:Es,UtensilsIcon:Hs,UtilityPole:eb,UtilityPoleIcon:eb,Variable:tb,VariableIcon:tb,Vault:ab,VaultIcon:ab,Vegan:rb,VeganIcon:rb,VenetianMask:nb,VenetianMaskIcon:nb,Verified:Tr,VerifiedIcon:Tr,Vibrate:sb,VibrateIcon:sb,VibrateOff:ib,VibrateOffIcon:ib,Video:cb,VideoIcon:cb,VideoOff:ob,VideoOffIcon:ob,Videotape:lb,VideotapeIcon:lb,View:db,ViewIcon:db,Voicemail:hb,VoicemailIcon:hb,Volleyball:ub,VolleyballIcon:ub,Volume:xb,Volume1:pb,Volume1Icon:pb,Volume2:yb,Volume2Icon:yb,VolumeIcon:xb,VolumeOff:mb,VolumeOffIcon:mb,VolumeX:fb,VolumeXIcon:fb,Vote:kb,VoteIcon:kb,Wallet:vb,Wallet2:Os,Wallet2Icon:Os,WalletCards:gb,WalletCardsIcon:gb,WalletIcon:vb,WalletMinimal:Os,WalletMinimalIcon:Os,Wallpaper:wb,WallpaperIcon:wb,Wand:Mb,Wand2:Vs,Wand2Icon:Vs,WandIcon:Mb,WandSparkles:Vs,WandSparklesIcon:Vs,Warehouse:bb,WarehouseIcon:bb,WashingMachine:Cb,WashingMachineIcon:Cb,Watch:jb,WatchIcon:jb,Waves:Lb,WavesIcon:Lb,Waypoints:Sb,WaypointsIcon:Sb,Webcam:Ib,WebcamIcon:Ib,Webhook:Ab,WebhookIcon:Ab,WebhookOff:Nb,WebhookOffIcon:Nb,Weight:_b,WeightIcon:_b,Wheat:qb,WheatIcon:qb,WheatOff:Pb,WheatOffIcon:Pb,WholeWord:Tb,WholeWordIcon:Tb,Wifi:Eb,WifiHigh:Rb,WifiHighIcon:Rb,WifiIcon:Eb,WifiLow:Db,WifiLowIcon:Db,WifiOff:zb,WifiOffIcon:zb,WifiZero:Fb,WifiZeroIcon:Fb,Wind:Hb,WindIcon:Hb,Wine:Vb,WineIcon:Vb,WineOff:Ob,WineOffIcon:Ob,Workflow:Bb,WorkflowIcon:Bb,Worm:Ub,WormIcon:Ub,WrapText:$b,WrapTextIcon:$b,Wrench:Gb,WrenchIcon:Gb,X:Tt,XCircle:ia,XCircleIcon:ia,XIcon:Tt,XOctagon:ci,XOctagonIcon:ci,XSquare:Cs,XSquareIcon:Cs,Youtube:Wb,YoutubeIcon:Wb,Zap:Xb,ZapIcon:Xb,ZapOff:Zb,ZapOffIcon:Zb,ZoomIn:Jb,ZoomInIcon:Jb,ZoomOut:Yb,ZoomOutIcon:Yb,createLucideIcon:s,icons:vq},Symbol.toStringTag,{value:"Module"})),Mq=({availableTags:a,selectedTagIds:e,onTagSelect:r,onTagDeselect:n,onCreateTag:i,maxTags:o=10,placeholder:c="Add tags..."})=>{const[l,d]=C.useState(!1),[h,u]=C.useState(""),[p,f]=C.useState("#3B82F6"),[m,k]=C.useState(""),[y,x]=C.useState(-1),g=C.useMemo(()=>a.filter(L=>L.name.toLowerCase().includes(m.toLowerCase())),[a,m]),w=C.useMemo(()=>a.filter(L=>e.includes(L.id)),[a,e]),M=C.useMemo(()=>g.filter(L=>!e.includes(L.id)),[g,e]),j=m.trim().length>0&&!a.some(L=>L.name.toLowerCase()===m.trim().toLowerCase()),b=M.length+(j?1:0),N=async()=>{const L=h.trim();if(L)try{await i({name:L,color:p}),u(""),d(!1)}catch(A){console.error("Failed to create tag:",A)}},S=L=>{if(b)switch(L.key){case"ArrowDown":{L.preventDefault(),x(A=>(A+1)%b);break}case"ArrowUp":{L.preventDefault(),x(A=>(A-1+b)%b);break}case"Enter":{if(y===-1)return;if(L.preventDefault(),y<M.length){const A=M[y];r(A.id),k(""),x(-1)}else j&&(d(!0),u(m.trim()),k(""),x(-1));break}case"Escape":{k(""),x(-1);break}}};return t.jsxs("div",{className:"tag-picker",children:[t.jsx("div",{className:"selected-tags flex flex-wrap gap-2 mb-2",children:w.map(L=>t.jsxs("span",{className:"inline-flex items-center gap-1 px-3 py-1 rounded-full text-sm border",style:{backgroundColor:`${L.color}20`,color:L.color,borderColor:L.color},children:[L.name,t.jsx("button",{type:"button",onClick:()=>n(L.id),className:"hover:opacity-70","aria-label":`Remove ${L.name}`,children:t.jsx(Tt,{className:"w-3 h-3"})})]},L.id))}),e.length<o&&t.jsxs("div",{className:"tag-selector relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx(Pc,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"}),t.jsx("input",{type:"text",value:m,onChange:L=>{k(L.target.value),x(-1)},onKeyDown:S,placeholder:c,className:"w-full border rounded px-9 py-2","aria-haspopup":"listbox","aria-expanded":m.length>0})]}),m&&t.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:[M.map((L,A)=>t.jsxs("button",{type:"button",role:"option","aria-selected":y===A,onClick:()=>{r(L.id),k(""),x(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 flex items-center gap-2 ${y===A?"bg-gray-100":""}`,children:[t.jsx("span",{className:"w-3 h-3 rounded-full",style:{backgroundColor:L.color}}),t.jsx("span",{children:L.name}),L.category&&t.jsxs("span",{className:"text-xs text-gray-500",children:["(",L.category,")"]})]},L.id)),j&&t.jsxs("button",{type:"button",role:"option","aria-selected":y===M.length,onClick:()=>{d(!0),u(m.trim()),k(""),x(-1)},className:`w-full px-3 py-2 text-left hover:bg-gray-100 text-blue-600 flex items-center gap-2 ${y===M.length?"bg-gray-100":""}`,children:[t.jsx(Io,{className:"w-4 h-4"}),'Create "',m.trim(),'"']}),!M.length&&!j&&t.jsx("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No tags found."})]})]}),l&&t.jsxs("div",{className:"create-tag-form mt-2 p-3 border rounded",children:[t.jsx("input",{type:"text",value:h,onChange:L=>u(L.target.value),placeholder:"Tag name",className:"w-full border rounded px-3 py-2 mb-2"}),t.jsxs("div",{className:"flex flex-wrap gap-2 items-center",children:[t.jsxs("label",{className:"flex items-center gap-2 text-sm text-gray-600",children:["Color",t.jsx("input",{type:"color",value:p,onChange:L=>f(L.target.value),className:"w-12 h-8 rounded","aria-label":"Pick tag color"})]}),t.jsx("button",{type:"button",onClick:N,onKeyDown:L=>{L.key==="Enter"&&(L.preventDefault(),N())},className:"flex-1 bg-blue-600 text-white px-3 py-2 rounded hover:bg-blue-700",children:"Create"}),t.jsx("button",{type:"button",onClick:()=>{d(!1),u("")},className:"px-3 py-2 border rounded hover:bg-gray-100",children:"Cancel"})]})]})]})},bq={sm:"px-2 py-0.5 text-xs",md:"px-3 py-1 text-sm",lg:"px-4 py-1.5 text-base"},KC=({name:a,color:e,size:r="md",removable:n=!1,onRemove:i,onClick:o,href:c,className:l})=>{const d=!!(o||c),h=p=>{!o||c||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),o())},u=c?"a":"span";return t.jsxs(u,{className:`inline-flex items-center gap-1 rounded-full font-medium border transition-opacity ${bq[r]} ${d?"cursor-pointer hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2":""} ${l??""}`,style:{backgroundColor:`${e}20`,color:e,borderColor:e},onClick:o,onKeyDown:h,role:!c&&o?"button":void 0,tabIndex:!c&&o?0:void 0,href:c,children:[a,n&&i&&t.jsx("button",{type:"button",onClick:p=>{p.stopPropagation(),i()},className:"hover:opacity-70 ml-1","aria-label":`Remove ${a} tag`,children:t.jsx(Tt,{className:"w-3 h-3"})})]})};function he(a,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(a==null||a(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function Cq(a,e){const r=v.createContext(e),n=o=>{const{children:c,...l}=o,d=v.useMemo(()=>l,Object.values(l));return t.jsx(r.Provider,{value:d,children:c})};n.displayName=a+"Provider";function i(o){const c=v.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${a}\``)}return[n,i]}function ma(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c),d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:m,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,x=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(m);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,jq(i,...e)]}function jq(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pL(a){const e=Lq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Iq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function Lq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Aq(i),l=Nq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Sq=Symbol("radix.slottable");function Iq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Sq}function Nq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Aq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function NS(a){const e=a+"CollectionProvider",[r,n]=ma(e),[i,o]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=y=>{const{scope:x,children:g}=y,w=C.useRef(null),M=C.useRef(new Map).current;return t.jsx(i,{scope:x,itemMap:M,collectionRef:w,children:g})};c.displayName=e;const l=a+"CollectionSlot",d=pL(l),h=C.forwardRef((y,x)=>{const{scope:g,children:w}=y,M=o(l,g),j=je(x,M.collectionRef);return t.jsx(d,{ref:j,children:w})});h.displayName=l;const u=a+"CollectionItemSlot",p="data-radix-collection-item",f=pL(u),m=C.forwardRef((y,x)=>{const{scope:g,children:w,...M}=y,j=C.useRef(null),b=je(x,j),N=o(u,g);return C.useEffect(()=>(N.itemMap.set(j,{ref:j,...M}),()=>void N.itemMap.delete(j))),t.jsx(f,{[p]:"",ref:b,children:w})});m.displayName=u;function k(y){const x=o(a+"CollectionConsumer",y);return C.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((N,S)=>M.indexOf(N.ref.current)-M.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},k,n]}var pt=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},_q=v[" useId ".trim().toString()]||(()=>{}),Pq=0;function Na(a){const[e,r]=v.useState(_q());return pt(()=>{r(n=>n??String(Pq++))},[a]),e?`radix-${e}`:""}function qq(a){const e=Tq(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Dq);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function Tq(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Fq(i),l=zq(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Rq=Symbol("radix.slottable");function Dq(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Rq}function zq(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Fq(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var Eq=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=Eq.reduce((a,e)=>{const r=qq(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{});function Hq(a,e){a&&v9.flushSync(()=>a.dispatchEvent(e))}function ir(a){const e=v.useRef(a);return v.useEffect(()=>{e.current=a}),v.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var Oq=v[" useInsertionEffect ".trim().toString()]||pt;function sr({prop:a,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,c]=Vq({defaultProp:e,onChange:r}),l=a!==void 0,d=l?a:i;{const u=v.useRef(a!==void 0);v.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=v.useCallback(u=>{var p;if(l){const f=Bq(u)?u(a):u;f!==a&&((p=c.current)==null||p.call(c,f))}else o(u)},[l,a,o,c]);return[d,h]}function Vq({defaultProp:a,onChange:e}){const[r,n]=v.useState(a),i=v.useRef(r),o=v.useRef(e);return Oq(()=>{o.current=e},[e]),v.useEffect(()=>{var c;i.current!==r&&((c=o.current)==null||c.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Bq(a){return typeof a=="function"}var Uq=v.createContext(void 0);function QC(a){const e=v.useContext(Uq);return a||e||"ltr"}var Y9="rovingFocusGroup.onEntryFocus",$q={bubbles:!1,cancelable:!0},Yc="RovingFocusGroup",[MC,AS,Gq]=NS(Yc),[Wq,_S]=ma(Yc,[Gq]),[Zq,Xq]=Wq(Yc),PS=v.forwardRef((a,e)=>t.jsx(MC.Provider,{scope:a.__scopeRovingFocusGroup,children:t.jsx(MC.Slot,{scope:a.__scopeRovingFocusGroup,children:t.jsx(Jq,{...a,ref:e})})}));PS.displayName=Yc;var Jq=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:o,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=a,f=v.useRef(null),m=je(e,f),k=QC(o),[y,x]=sr({prop:c,defaultProp:l??null,onChange:d,caller:Yc}),[g,w]=v.useState(!1),M=ir(h),j=AS(r),b=v.useRef(!1),[N,S]=v.useState(0);return v.useEffect(()=>{const L=f.current;if(L)return L.addEventListener(Y9,M),()=>L.removeEventListener(Y9,M)},[M]),t.jsx(Zq,{scope:r,orientation:n,dir:k,loop:i,currentTabStopId:y,onItemFocus:v.useCallback(L=>x(L),[x]),onItemShiftTab:v.useCallback(()=>w(!0),[]),onFocusableItemAdd:v.useCallback(()=>S(L=>L+1),[]),onFocusableItemRemove:v.useCallback(()=>S(L=>L-1),[]),children:t.jsx(me.div,{tabIndex:g||N===0?-1:0,"data-orientation":n,...p,ref:m,style:{outline:"none",...a.style},onMouseDown:he(a.onMouseDown,()=>{b.current=!0}),onFocus:he(a.onFocus,L=>{const A=!b.current;if(L.target===L.currentTarget&&A&&!g){const T=new CustomEvent(Y9,$q);if(L.currentTarget.dispatchEvent(T),!T.defaultPrevented){const R=j().filter(V=>V.focusable),D=R.find(V=>V.active),_=R.find(V=>V.id===y),z=[D,_,...R].filter(Boolean).map(V=>V.ref.current);RS(z,u)}}b.current=!1}),onBlur:he(a.onBlur,()=>w(!1))})})}),qS="RovingFocusGroupItem",TS=v.forwardRef((a,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:o,children:c,...l}=a,d=Na(),h=o||d,u=Xq(qS,r),p=u.currentTabStopId===h,f=AS(r),{onFocusableItemAdd:m,onFocusableItemRemove:k,currentTabStopId:y}=u;return v.useEffect(()=>{if(n)return m(),()=>k()},[n,m,k]),t.jsx(MC.ItemSlot,{scope:r,id:h,focusable:n,active:i,children:t.jsx(me.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...l,ref:e,onMouseDown:he(a.onMouseDown,x=>{n?u.onItemFocus(h):x.preventDefault()}),onFocus:he(a.onFocus,()=>u.onItemFocus(h)),onKeyDown:he(a.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){u.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const g=Qq(x,u.orientation,u.dir);if(g!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let M=f().filter(j=>j.focusable).map(j=>j.ref.current);if(g==="last")M.reverse();else if(g==="prev"||g==="next"){g==="prev"&&M.reverse();const j=M.indexOf(x.currentTarget);M=u.loop?eT(M,j+1):M.slice(j+1)}setTimeout(()=>RS(M))}}),children:typeof c=="function"?c({isCurrentTabStop:p,hasTabStop:y!=null}):c})})});TS.displayName=qS;var Yq={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Kq(a,e){return e!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function Qq(a,e,r){const n=Kq(a.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Yq[n]}function RS(a,e=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function eT(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var tT=PS,aT=TS;function rT(a,e){return v.useReducer((r,n)=>e[r][n]??r,a)}var ur=a=>{const{present:e,children:r}=a,n=nT(e),i=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),o=je(n.ref,iT(i));return typeof r=="function"||n.isPresent?v.cloneElement(i,{ref:o}):null};ur.displayName="Presence";function nT(a){const[e,r]=v.useState(),n=v.useRef(null),i=v.useRef(a),o=v.useRef("none"),c=a?"mounted":"unmounted",[l,d]=rT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const h=a1(n.current);o.current=l==="mounted"?h:"none"},[l]),pt(()=>{const h=n.current,u=i.current;if(u!==a){const f=o.current,m=a1(h);a?d("MOUNT"):m==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&f!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=a}},[a,d]),pt(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=m=>{const y=a1(n.current).includes(CSS.escape(m.animationName));if(m.target===e&&y&&(d("ANIMATION_END"),!i.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},f=m=>{m.target===e&&(o.current=a1(n.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function a1(a){return(a==null?void 0:a.animationName)||"none"}function iT(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var M9="Tabs",[sT]=ma(M9,[_S]),DS=_S(),[oT,ej]=sT(M9),zS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=a,u=QC(l),[p,f]=sr({prop:n,onChange:i,defaultProp:o??"",caller:M9});return t.jsx(oT,{scope:r,baseId:Na(),value:p,onValueChange:f,orientation:c,dir:u,activationMode:d,children:t.jsx(me.div,{dir:u,"data-orientation":c,...h,ref:e})})});zS.displayName=M9;var FS="TabsList",ES=v.forwardRef((a,e)=>{const{__scopeTabs:r,loop:n=!0,...i}=a,o=ej(FS,r),c=DS(r);return t.jsx(tT,{asChild:!0,...c,orientation:o.orientation,dir:o.dir,loop:n,children:t.jsx(me.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:e})})});ES.displayName=FS;var HS="TabsTrigger",OS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,disabled:i=!1,...o}=a,c=ej(HS,r),l=DS(r),d=US(c.baseId,n),h=$S(c.baseId,n),u=n===c.value;return t.jsx(aT,{asChild:!0,...l,focusable:!i,active:u,children:t.jsx(me.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:d,...o,ref:e,onMouseDown:he(a.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:he(a.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:he(a.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!i&&p&&c.onValueChange(n)})})})});OS.displayName=HS;var VS="TabsContent",BS=v.forwardRef((a,e)=>{const{__scopeTabs:r,value:n,forceMount:i,children:o,...c}=a,l=ej(VS,r),d=US(l.baseId,n),h=$S(l.baseId,n),u=n===l.value,p=v.useRef(u);return v.useEffect(()=>{const f=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(f)},[]),t.jsx(ur,{present:i||u,children:({present:f})=>t.jsx(me.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!f,id:h,tabIndex:0,...c,ref:e,style:{...a.style,animationDuration:p.current?"0s":void 0},children:f&&o})})});BS.displayName=VS;function US(a,e){return`${a}-trigger-${e}`}function $S(a,e){return`${a}-content-${e}`}var cT=zS,GS=ES,WS=OS,ZS=BS;const oo=cT,pr=v.forwardRef(({className:a,...e},r)=>t.jsx(GS,{ref:r,className:ce("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...e}));pr.displayName=GS.displayName;const Ie=v.forwardRef(({className:a,...e},r)=>t.jsx(WS,{ref:r,className:ce("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",a),...e}));Ie.displayName=WS.displayName;const Ne=v.forwardRef(({className:a,...e},r)=>t.jsx(ZS,{ref:r,className:ce("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...e}));Ne.displayName=ZS.displayName;const be=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("rounded-xl border bg-card text-card-foreground shadow",a),...e}));be.displayName="Card";const Re=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex flex-col space-y-1.5 p-6",a),...e}));Re.displayName="CardHeader";const De=v.forwardRef(({className:a,...e},r)=>t.jsx("h3",{ref:r,className:ce("font-semibold leading-none tracking-tight",a),...e}));De.displayName="CardTitle";const Ge=v.forwardRef(({className:a,...e},r)=>t.jsx("p",{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));Ge.displayName="CardDescription";const Ce=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("p-6 pt-0",a),...e}));Ce.displayName="CardContent";const Ho=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("flex items-center p-6 pt-0",a),...e}));Ho.displayName="CardFooter";function lT({groupedIds:a,tabTitles:e,lang:r,url:n,PromotionsTitle:i,buttonMsg:o="Select Plan"}){const[c,l]=C.useState([]),[d,h]=C.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";C.useEffect(()=>{(async()=>{try{const k=r??"en",y=a.map(async g=>(await fetch(`${u}/api/v1/promotions/?ids=${g}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(y);l(x)}catch{}})()},[a,u,r]);const p=m=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:m,tabType:d,timestamp:new Date().toISOString()}}),y=document.querySelector(".group-prices-component");y&&y.dispatchEvent(k)},f=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return t.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:t.jsxs("div",{className:"container px-4 md:px-6",children:[i??t.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:i}),t.jsxs(oo,{defaultValue:"tab-0",className:"w-full",onValueChange:m=>h(m),children:[t.jsx(pr,{className:f,children:e.map((m,k)=>t.jsx(Ie,{value:`tab-${k}`,children:m},k))}),c.map((m,k)=>t.jsx(Ne,{value:`tab-${k}`,children:t.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:m.map((y,x)=>t.jsxs(be,{className:"flex flex-col",children:[t.jsxs(Re,{children:[t.jsx(De,{children:y.title}),t.jsx(Ge,{children:y.short_description})]}),t.jsxs(Ce,{className:"flex-1",children:[t.jsxs("p",{className:"text-3xl font-bold",children:["€",y.price]}),t.jsx("ul",{className:"mt-4 space-y-2",children:y.features&&y.features.map((g,w)=>t.jsxs("li",{className:"flex items-center",children:[t.jsx(wo,{className:"mr-2 h-4 w-4 text-primary"})," ",g]},w))})]}),t.jsx(Ho,{children:t.jsx(U,{onClick:()=>p(y),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:o})})]},x))})},k))]})]})})}function dT({isOpen:a,items:e}){const r=e.reduce((n,i)=>n+i.price,0);return t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:ce("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",a?"translate-x-0":"translate-x-full"),children:t.jsxs("div",{className:"h-full flex flex-col",children:[t.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[t.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),t.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:[t.jsx(Tt,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),t.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>t.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[t.jsxs("div",{className:"flex justify-between items-start mb-1",children:[t.jsx("span",{className:"font-medium",children:n.name}),t.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),t.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),t.jsx("div",{className:"p-4 border-t",children:t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"font-semibold",children:"Total:"}),t.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),a&&t.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 wa(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function XS(a,e){a.prototype=Object.create(e.prototype),a.prototype.constructor=a,a.__proto__=e}/*!
7726
7726
  * GSAP 3.14.2
7727
7727
  * https://gsap.com
7728
7728
  *
7729
7729
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
7730
7730
  * Subject to the terms at https://gsap.com/standard-license
7731
7731
  * @author: Jack Doyle, jack@greensock.com
7732
- */var Rt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Oo={duration:.5,overwrite:!1,delay:0},tj,lt,Fe,$t=1e8,_e=1/$t,bC=Math.PI*2,dT=bC/4,hT=0,XS=Math.sqrt,uT=Math.cos,pT=Math.sin,it=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},aj=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},rj=function(){return typeof window<"u"},r1=function(e){return We(e)||it(e)},JS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,yT=/random\([^)]+\)/g,mT=/,\s*/g,yL=/(?:-?\.?\d|\.)+/gi,YS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,mo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,KS=/[+-]=-?[.\d]+/,fT=/[^,'"\[\]\s]+/gi,xT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,na,CC,nj,zt={},s9={},QS,eI=function(e){return(s9=Vo(e,zt))&&jt},ij=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Ec=function(e,r){return!r&&console.warn(e)},tI=function(e,r){return e&&(zt[e]=r)&&s9&&(s9[e]=r)||zt},Hc=function(){return 0},kT={suppressEvents:!0,isStart:!0,kill:!1},Kb={suppressEvents:!0,kill:!1},gT={suppressEvents:!0},sj={},ar=[],jC={},aI,It={},Q9={},mL=30,Qb=[],oj="",cj=function(e){var r=e[0],n,i;if(pa(r)||We(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=Qb.length;i--&&!Qb[i].targetTest(r););n=Qb[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new LI(e[i],n)))||e.splice(i,1);return e},Ks=function(e){return e._gsap||cj(Gt(e))[0]._gsap},rI=function(e,r,n){return(n=e[r])&&We(n)?e[r]():aj(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},To=function(e,r){var n=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},vT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},o9=function(){var e=ar.length,r=ar.slice(0),n,i;for(jC={},ar.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},lj=function(e){return!!(e._initted||e._startAt||e.add)},nI=function(e,r,n,i){ar.length&&!lt&&o9(),e.render(r,n,!!(lt&&r<0&&lj(e))),ar.length&&!lt&&o9()},iI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(fT).length<2?r:it(e)?e.trim():e},sI=function(e){return e},Ft=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},wT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Vo=function(e,r){for(var n in r)e[n]=r[n];return e},fL=function a(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=pa(r[n])?a(e[n]||(e[n]={}),r[n]):r[n]);return e},c9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},Rc=function(e){var r=e.parent||Ve,n=e.keyframes?wT(ut(e.keyframes)):Ft;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},MT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},oI=function(e,r,n,i,o){var c=e[i],l;if(o)for(l=r[o];c&&c[o]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[i]=r,r._prev=c,r.parent=r._dp=e,r},b9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var o=r._prev,c=r._next;o?o._next=c:e[n]===r&&(e[n]=c),c?c._prev=o:e[i]===r&&(e[i]=o),r._next=r._prev=r.parent=null},or=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qs=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},bT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},LC=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(Kb):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},CT=function a(e){return!e||e._ts&&a(e.parent)},xL=function(e){return e._repeat?Bo(e._tTime,e=e.duration()+e._rDelay)*e:0},Bo=function(e,r){var n=Math.floor(e=Oe(e/r));return e&&n===e?n-1:n},l9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},C9=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},j9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Oe(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),C9(e),n._dirty||Qs(n,e)),e},cI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=l9(e.rawTime(),r),(!r._dur||Kc(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Qs(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-_e}},sa=function(e,r,n,i){return r.parent&&or(r),r._start=Oe((Aa(n)?n:n||e!==Ve?Vt(e,n,r):e._time)+r._delay),r._end=Oe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),oI(e,r,"_first","_last",e._sort?"_start":0),SC(r)||(e._recent=r),i||cI(e,r),e._ts<0&&j9(e,e._tTime),e},lI=function(e,r){return(zt.ScrollTrigger||ij("scrollTrigger",r))&&zt.ScrollTrigger.create(r,e)},dI=function(e,r,n,i,o){if(hj(e,r,o),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&aI!==_t.frame)return ar.push(e),e._lazy=[o,i],1},jT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},SC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},LT=function(e,r,n,i){var o=e.ratio,c=r<0||!r&&(!e._start&&jT(e)&&!(!e._initted&&SC(e))||(e._ts<0||e._dp._ts<0)&&!SC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Kc(0,e._tDur,r),u=Bo(d,l),e._yoyo&&u&1&&(c=1-c),u!==Bo(e._tTime,l)&&(o=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==o||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&dI(e,r,i,n,d))return;for(p=e._zTime,e._zTime=r||(n?_e:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&LC(e,r,n,!0),e._onUpdate&&!n&&Pt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Pt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&or(e,1),!n&&!lt&&(Pt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},ST=function(e,r,n){var i;if(n>r)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},Uo=function(e,r,n,i){var o=e._repeat,c=Oe(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=o?o<0?1e10:Oe(c*(o+1)+e._rDelay*o):c,l>0&&!i&&j9(e,e._tTime=e._tDur*l),e.parent&&C9(e),n||Qs(e.parent,e),e},kL=function(e){return e instanceof ft?Qs(e):Uo(e,e._dur)},IT={_start:0,endTime:Hc,totalDuration:Hc},Vt=function a(e,r,n){var i=e.labels,o=e._recent||IT,c=e.duration()>=$t?o.endTime(!1):e._dur,l,d,h;return it(r)&&(isNaN(r)||r in i)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?o:n).totalDuration()/100:1)):l<0?(r in i||(i[r]=c),i[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?a(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Dc=function(e,r,n){var i=Aa(r[1]),o=(i?2:1)+(e<2?0:1),c=r[o],l,d;if(i&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=wt(d.vars.inherit)&&d.parent;c.immediateRender=wt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[o-1]}return new Ye(r[0],c,r[o+1])},yr=function(e,r){return e||e===0?r(e):r},Kc=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!it(e)||!(r=xT.exec(e))?"":r[1]},NT=function(e,r,n){return yr(n,function(i){return Kc(e,r,i)})},IC=[].slice,hI=function(e,r){return e&&pa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&pa(e[0]))&&!e.nodeType&&e!==na},AT=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var o;return it(i)&&!r||hI(i,1)?(o=n).push.apply(o,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Fe&&!r&&Fe.selector?Fe.selector(e):it(e)&&!n&&(CC||!$o())?IC.call((r||nj).querySelectorAll(e),0):ut(e)?AT(e,n):hI(e)?IC.call(e,0):e?[e]:[]},NC=function(e){return e=Gt(e)[0]||Ec("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Ec("Invalid scope")||nj.createElement("div"):e)}},uI=function(e){return e.sort(function(){return .5-Math.random()})},pI=function(e){if(We(e))return e;var r=pa(e)?e:{each:e},n=eo(r.ease),i=r.from||0,o=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return it(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(m,f,k){var y=(k||r).length,x=c[y],g,w,M,j,b,N,S,L,A;if(!x){if(A=r.grid==="auto"?0:(r.grid||[1,$t])[1],!A){for(S=-$t;S<(S=k[A++].getBoundingClientRect().left)&&A<y;);A<y&&A--}for(x=c[y]=[],g=d?Math.min(A,y)*u-.5:i%A,w=A===$t?0:d?y*p/A-.5:i/A|0,S=0,L=$t,N=0;N<y;N++)M=N%A-g,j=w-(N/A|0),x[N]=b=h?Math.abs(h==="y"?j:M):XS(M*M+j*j),b>S&&(S=b),b<L&&(L=b);i==="random"&&uI(x),x.max=S-L,x.min=L,x.v=y=(parseFloat(r.amount)||parseFloat(r.each)*(A>y?y-1:h?h==="y"?y/A:A:Math.max(A,y/A))||0)*(i==="edges"?-1:1),x.b=y<0?o-y:o,x.u=ht(r.amount||r.each)||0,n=n&&y<0?bI(n):n}return y=(x[m]-x.min)/x.max||0,Oe(x.b+(n?n(y):y)*x.v)+x.u}},AC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Oe(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Aa(n)?0:ht(n))}},yI=function(e,r){var n=ut(e),i,o;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(o=!Aa(e[0]))&&(i*=i)):e=AC(e.increment)),yr(r,n?We(e)?function(c){return o=e(c),Math.abs(o-c)<=i?o:c}:function(c){for(var l=parseFloat(o?c.x:c),d=parseFloat(o?c.y:0),h=$t,u=0,p=e.length,m,f;p--;)o?(m=e[p].x-l,f=e[p].y-d,m=m*m+f*f):m=Math.abs(e[p]-l),m<h&&(h=m,u=p);return u=!i||h<=i?e[u]:c,o||u===c||Aa(c)?u:u+ht(c)}:AC(e))},mI=function(e,r,n,i){return yr(ut(e)?!r:n===!0?!!(n=0):!i,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*i)/i})},_T=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(i){return r.reduce(function(o,c){return c(o)},i)}},PT=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},qT=function(e,r,n){return xI(e,r,0,1,n)},fI=function(e,r,n){return yr(n,function(i){return e[~~r(i)]})},TT=function a(e,r,n){var i=r-e;return ut(e)?fI(e,a(0,e.length),r):yr(n,function(o){return(i+(o-e)%i)%i+e})},RT=function a(e,r,n){var i=r-e,o=i*2;return ut(e)?fI(e,a(0,e.length-1),r):yr(n,function(c){return c=(o+(c-e)%o)%o||0,e+(c>i?o-c:c)})},Oc=function(e){return e.replace(yT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(mT);return mI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},xI=function(e,r,n,i,o){var c=r-e,l=i-n;return yr(o,function(d){return n+((d-e)/c*l||0)})},DT=function a(e,r,n,i){var o=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!o){var c=it(e),l={},d,h,u,p,m;if(n===!0&&(i=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,m=p-2,h=1;h<p;h++)u.push(a(e[h-1],e[h]));p--,o=function(k){k*=p;var y=Math.min(m,~~k);return u[y](k-y)},n=r}else i||(e=Vo(ut(e)?[]:{},e));if(!u){for(d in r)dj.call(l,e,d,"get",r[d]);o=function(k){return yj(k,l)||(c?e.p:e)}}}return yr(n,o)},gL=function(e,r,n){var i=e.labels,o=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&o>(l=Math.abs(l))&&(d=c,o=l);return d},Pt=function(e,r,n){var i=e.vars,o=i[r],c=Fe,l=e._ctx,d,h,u;if(o)return d=i[r+"Params"],h=i.callbackScope||e,n&&ar.length&&o9(),l&&(Fe=l),u=d?o.apply(h,d):o.call(h),Fe=c,u},lc=function(e){return or(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Pt(e,"onInterrupt"),e},fo,kI=[],gI=function(e){if(e)if(e=!e.name&&e.default||e,rj()||e.headless){var r=e.name,n=We(e),i=r&&!n&&e.init?function(){this._props=[]}:e,o={init:Hc,render:yj,add:dj,kill:KT,modifier:YT,rawVars:0},c={targetTest:0,get:0,getSetter:pj,aliases:{},register:0};if($o(),e!==i){if(It[r])return;Ft(i,Ft(c9(e,o),c)),Vo(i.prototype,Vo(o,c9(e,c))),It[i.prop=r]=i,e.targetTest&&(Qb.push(i),sj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}tI(r,i),e.register&&e.register(jt,i,bt)}else kI.push(e)},Ae=255,dc={aqua:[0,Ae,Ae],lime:[0,Ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ae],navy:[0,0,128],white:[Ae,Ae,Ae],olive:[128,128,0],yellow:[Ae,Ae,0],orange:[Ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ae,0,0],pink:[Ae,192,203],cyan:[0,Ae,Ae],transparent:[Ae,Ae,Ae,0]},eC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Ae+.5|0},vI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:dc.black,o,c,l,d,h,u,p,m,f,k;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),dc[e])i=dc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+o+o+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Ae,i&Ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ae,e&Ae]}else if(e.substr(0,3)==="hsl"){if(i=k=e.match(yL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,o=u*2-c,i.length>3&&(i[3]*=1),i[0]=eC(d+1/3,o,c),i[1]=eC(d,o,c),i[2]=eC(d-1/3,o,c);else if(~e.indexOf("="))return i=e.match(YS),n&&i.length<4&&(i[3]=1),i}else i=e.match(yL)||dc.transparent;i=i.map(Number)}return r&&!k&&(o=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(o,c,l),m=Math.min(o,c,l),u=(p+m)/2,p===m?d=h=0:(f=p-m,h=u>.5?f/(2-p-m):f/(p+m),d=p===o?(c-l)/f+(c<l?6:0):p===c?(l-o)/f+2:(o-c)/f+4,d*=60),i[0]=~~(d+.5),i[1]=~~(h*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},wI=function(e){var r=[],n=[],i=-1;return e.split(rr).forEach(function(o){var c=o.match(mo)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},vL=function(e,r,n){var i="",o=(e+i).match(rr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!o)return e;if(o=o.map(function(m){return(m=vI(m,r,1))&&c+(r?m[0]+","+m[1]+"%,"+m[2]+"%,"+m[3]:m.join(","))+")"}),n&&(u=wI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(rr,"1").split(mo),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?o.shift()||c+"0,0,0,0)":(u.length?u:o.length?o:n).shift());if(!h)for(h=e.split(rr),p=h.length-1;l<p;l++)i+=h[l]+o[l];return i+h[p]},rr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in dc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),zT=/hsl[a]?\(/,MI=function(e){var r=e.join(" "),n;if(rr.lastIndex=0,rr.test(r))return n=zT.test(r),e[1]=vL(e[1],n),e[0]=vL(e[0],n,wI(e[1])),!0},Vc,_t=function(){var a=Date.now,e=500,r=33,n=a(),i=n,o=1e3/240,c=o,l=[],d,h,u,p,m,f,k=function y(x){var g=a()-i,w=x===!0,M,j,b,N;if((g>e||g<0)&&(n+=g-r),i+=g,b=i-n,M=b-c,(M>0||w)&&(N=++p.frame,m=b-p.time*1e3,p.time=b=b/1e3,c+=M+(M>=o?4:o-M),j=1),w||(d=h(y)),j)for(f=0;f<l.length;f++)l[f](b,m,N,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return m/(1e3/(x||60))},wake:function(){QS&&(!CC&&rj()&&(na=CC=window,nj=na.document||{},zt.gsap=jt,(na.gsapVersions||(na.gsapVersions=[])).push(jt.version),eI(s9||na.GreenSockGlobals||!na.gsap&&na||{}),kI.forEach(gI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Vc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Vc=0,h=Hc},lagSmoothing:function(x,g){e=x||1/0,r=Math.min(g||33,e)},fps:function(x){o=1e3/(x||240),c=p.time*1e3+o},add:function(x,g,w){var M=g?function(j,b,N,S){x(j,b,N,S),p.remove(M)}:x;return p.remove(x),l[w?"unshift":"push"](M),$o(),M},remove:function(x,g){~(g=l.indexOf(x))&&l.splice(g,1)&&f>=g&&f--},_listeners:l},p}(),$o=function(){return!Vc&&_t.wake()},ge={},FT=/^[\d.\-M][\d.\-,\s]/,ET=/["']/g,HT=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],o=1,c=n.length,l,d,h;o<c;o++)d=n[o],l=o!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(ET,"").trim():+h,i=d.substr(l+1).trim();return r},OT=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)},VT=function(e){var r=(e+"").split("("),n=ge[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[HT(r[1])]:OT(e).split(",").map(iI)):ge._CE&&FT.test(e)?ge._CE("",e):n},bI=function(e){return function(r){return 1-e(1-r)}},CI=function a(e,r){for(var n=e._first,i;n;)n instanceof ft?a(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?a(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},eo=function(e,r){return e&&(We(e)?e:ge[e]||VT(e))||r},co=function(e,r,n,i){n===void 0&&(n=function(d){return 1-r(1-d)}),i===void 0&&(i=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var o={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ge[l]=zt[l]=o,ge[c=l.toLowerCase()]=n;for(var d in o)ge[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ge[l+"."+d]=o[d]}),o},jI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},tC=function a(e,r,n){var i=r>=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),c=o/bC*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*pT((u-c)*o)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:jI(l);return o=bC/o,d.config=function(h,u){return a(e,h,u)},d},aC=function a(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},i=e==="out"?n:e==="in"?function(o){return 1-n(1-o)}:jI(n);return i.config=function(o){return a(e,o)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;co(a+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ge.Linear.easeNone=ge.none=ge.Linear.easeIn;co("Elastic",tC("in"),tC("out"),tC());(function(a,e){var r=1/e,n=2*r,i=2.5*r,o=function(l){return l<r?a*l*l:l<n?a*Math.pow(l-1.5/e,2)+.75:l<i?a*(l-=2.25/e)*l+.9375:a*Math.pow(l-2.625/e,2)+.984375};co("Bounce",function(c){return 1-o(1-c)},o)})(7.5625,2.75);co("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});co("Circ",function(a){return-(XS(1-a*a)-1)});co("Sine",function(a){return a===1?1:-uT(a*dT)+1});co("Back",aC("in"),aC("out"),aC());ge.SteppedEase=ge.steps=zt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),o=r?1:0,c=1-_e;return function(l){return((i*Kc(0,c,l)|0)+o)*n}}};Oo.ease=ge["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return oj+=a+","+a+"Params,"});var LI=function(e,r){this.id=hT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:rI,this.set=r?r.getSetter:pj},Bc=function(){function a(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,Uo(this,+r.duration,1,1),this.data=r.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),Vc||_t.wake()}var e=a.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Uo(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if($o(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(j9(this,n),!o._dp||o.parent||cI(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&sa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),nI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+xL(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+xL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*o,i):this._repeat?Bo(this._tTime,o)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var o=this.parent&&this._ts?l9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(Kc(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),C9(this),bT(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($o(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Oe(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&sa(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(wt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?l9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=gT);var i=lt;return lt=n,lj(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),lt=i,this},e.globalTime=function(n){for(var i=this,o=arguments.length?n:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):o},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,kL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,kL(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(Vt(this,n),wt(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,wt(i)),this._dur||(this._zTime=-_e),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,o;return!!(!n||this._ts&&this._initted&&n.isActive()&&(o=n.rawTime(!0))>=i&&o<this.endTime(!0)-_e)},e.eventCallback=function(n,i,o){var c=this.vars;return arguments.length>1?(i?(c[n]=i,o&&(c[n+"Params"]=o),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,o=i._prom;return new Promise(function(c){var l=We(n)?n:sI,d=function(){var u=i.then;i.then=null,o&&o(),We(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=u),c(l),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?d():i._prom=d})},e.kill=function(){lc(this)},a}();Ft(Bc.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:-_e,_prom:0,_ps:!1,_rts:1});var ft=function(a){ZS(e,a);function e(n,i){var o;return n===void 0&&(n={}),o=a.call(this,n)||this,o.labels={},o.smoothChildTiming=!!n.smoothChildTiming,o.autoRemoveChildren=!!n.autoRemoveChildren,o._sort=wt(n.sortChildren),Ve&&sa(n.parent||Ve,wa(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),n.scrollTrigger&&lI(wa(o),n.scrollTrigger),o}var r=e.prototype;return r.to=function(i,o,c){return Dc(0,arguments,this),this},r.from=function(i,o,c){return Dc(1,arguments,this),this},r.fromTo=function(i,o,c,l){return Dc(2,arguments,this),this},r.set=function(i,o,c){return o.duration=0,o.parent=this,Rc(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ye(i,o,Vt(this,c),1),this},r.call=function(i,o,c){return sa(this,Ye.delayedCall(0,i,o),c)},r.staggerTo=function(i,o,c,l,d,h,u){return c.duration=o,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(i,c,Vt(this,d)),this},r.staggerFrom=function(i,o,c,l,d,h,u){return c.runBackwards=1,Rc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,o,c,l,d,h,u)},r.staggerFromTo=function(i,o,c,l,d,h,u,p){return l.startAt=c,Rc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,o,l,d,h,u,p)},r.render=function(i,o,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=i<=0?0:Oe(i),p=this._zTime<0!=i<0&&(this._initted||!h),m,f,k,y,x,g,w,M,j,b,N,S;if(this!==Ve&&u>d&&i>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,i+=this._time-l),m=u,j=this._start,M=this._ts,g=!M,p&&(h||(l=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(N=this._yoyo,x=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,c);if(m=Oe(u%x),u===d?(y=this._repeat,m=h):(b=Oe(u/x),y=~~b,y&&y===b&&(m=h,y--),m>h&&(m=h)),b=Bo(this._tTime,x),!l&&this._tTime&&b!==y&&this._tTime-b*x-this._dur<=0&&(b=y),N&&y&1&&(m=h-m,S=1),y!==b&&!this._lock){var L=N&&b&1,A=L===(N&&y&1);if(y<b&&(L=!L),l=L?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Oe(y*x)),o,!h)._lock=0,this._tTime=u,!o&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,b=y),l&&l!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,A&&(this._lock=2,l=L?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;CI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=ST(this,Oe(l),Oe(m)),w&&(u-=m-(m=w._start))),this._tTime=u,this._time=m,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,l=0),!l&&u&&h&&!o&&!b&&(Pt(this,"onStart"),this._tTime!==u))return this;if(m>=l&&i>=0)for(f=this._first;f;){if(k=f._next,(f._act||m>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,c);if(f.render(f._ts>0?(m-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(m-f._start)*f._ts,o,c),m!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=-_e);break}}f=k}else{f=this._last;for(var T=i<0?i:m;f;){if(k=f._prev,(f._act||T<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(i,o,c);if(f.render(f._ts>0?(T-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(T-f._start)*f._ts,o,c||lt&&lj(f)),m!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=T?-_e:_e);break}}f=k}}if(w&&!o&&(this.pause(),w.render(m>=l?0:-_e)._zTime=m>=l?1:-1,this._ts))return this._start=j,C9(this),this.render(i,o,c);this._onUpdate&&!o&&Pt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(j===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&or(this,1),!o&&!(i<0&&!l)&&(u||l||!d)&&(Pt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,o){var c=this;if(Aa(o)||(o=Vt(this,o,i)),!(i instanceof Bc)){if(ut(i))return i.forEach(function(l){return c.add(l,o)}),this;if(it(i))return this.addLabel(i,o);if(We(i))i=Ye.delayedCall(0,i);else return this}return this!==i?sa(this,i,o):this},r.getChildren=function(i,o,c,l){i===void 0&&(i=!0),o===void 0&&(o=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?o&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,o,c)))),h=h._next;return d},r.getById=function(i){for(var o=this.getChildren(1,1,1),c=o.length;c--;)if(o[c].vars.id===i)return o[c]},r.remove=function(i){return it(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(i.parent===this&&b9(this,i),i===this._recent&&(this._recent=this._last),Qs(this))},r.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(_t.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},r.addLabel=function(i,o){return this.labels[i]=Vt(this,o),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,o,c){var l=Ye.delayedCall(0,o||Hc,c);return l.data="isPause",this._hasPause=1,sa(this,l,Vt(this,i))},r.removePause=function(i){var o=this._first;for(i=Vt(this,i);o;)o._start===i&&o.data==="isPause"&&or(o),o=o._next},r.killTweensOf=function(i,o,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ja!==l[d]&&l[d].kill(i,o);return this},r.getTweensOf=function(i,o){for(var c=[],l=Gt(i),d=this._first,h=Aa(o),u;d;)d instanceof Ye?vT(d._targets,l)&&(h?(!Ja||d._initted&&d._ts)&&d.globalTime(0)<=o&&d.globalTime(d.totalDuration())>o:!o||d.isActive())&&c.push(d):(u=d.getTweensOf(l,o)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,o){o=o||{};var c=this,l=Vt(c,i),d=o,h=d.startAt,u=d.onStart,p=d.onStartParams,m=d.immediateRender,f,k=Ye.to(c,Ft({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!f){var x=o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Uo(k,x,0,1).render(k._time,!0,!0),f=1}u&&u.apply(k,p||[])}},o));return m?k.render(0):k},r.tweenFromTo=function(i,o,c){return this.tweenTo(o,Ft({startAt:{time:Vt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,o,c){c===void 0&&(c=0);var l=this._first,d=this.labels,h;for(i=Oe(i);l;)l._start>=c&&(l._start+=i,l._end+=i),l=l._next;if(o)for(h in d)d[h]>=c&&(d[h]+=i);return Qs(this)},r.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,c;o;)c=o._next,this.remove(o),o=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Qs(this)},r.totalDuration=function(i){var o=0,c=this,l=c._last,d=$t,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-i:i));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,sa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(o-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=Oe(u/c._ts),c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>o&&l._ts&&(o=l._end),l=h;Uo(c,c===Ve&&c._time>o?c._time:o,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Ve._ts&&(nI(Ve,l9(i,Ve)),aI=_t.frame),_t.frame>=mL){mL+=Rt.autoSleep||120;var o=Ve._first;if((!o||!o._ts)&&Rt.autoSleep&&_t._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||_t.sleep()}}},e}(Bc);Ft(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var BT=function(e,r,n,i,o,c,l){var d=new bt(this._pt,e,r,0,1,PI,null,o),h=0,u=0,p,m,f,k,y,x,g,w;for(d.b=n,d.e=i,n+="",i+="",(g=~i.indexOf("random("))&&(i=Oc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),m=n.match(K9)||[];p=K9.exec(i);)k=p[0],y=i.substring(h,p.index),f?f=(f+1)%5:y.substr(-5)==="rgba("&&(f=1),k!==m[u++]&&(x=parseFloat(m[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:x,c:k.charAt(1)==="="?To(x,k)-x:parseFloat(k)-x,m:f&&f<4?Math.round:0},h=K9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(KS.test(i)||g)&&(d.e=0),this._pt=d,d},dj=function(e,r,n,i,o,c,l,d,h,u){We(i)&&(i=i(o||0,e,c));var p=e[r],m=n!=="get"?n:We(p)?h?e[r.indexOf("set")||!We(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,f=We(p)?h?ZT:AI:uj,k;if(it(i)&&(~i.indexOf("random(")&&(i=Oc(i)),i.charAt(1)==="="&&(k=To(m,i)+(ht(m)||0),(k||k===0)&&(i=k))),!u||m!==i||_C)return!isNaN(m*i)&&i!==""?(k=new bt(this._pt,e,r,+m||0,i-(m||0),typeof p=="boolean"?JT:_I,0,f),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&ij(r,i),BT.call(this,e,r,m,i,f,d||Rt.stringFilter,h))},UT=function(e,r,n,i,o){if(We(e)&&(e=zc(e,o,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||JS(e))return it(e)?zc(e,o,r,n,i):e;var c={},l;for(l in e)c[l]=zc(e[l],o,r,n,i);return c},SI=function(e,r,n,i,o,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(o,l.rawVars?r[e]:UT(r[e],i,o,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,o,e,0,1,l.render,l,0,l.priority),n!==fo))for(h=n._ptLookup[n._targets.indexOf(o)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ja,_C,hj=function a(e,r,n){var i=e.vars,o=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,m=i.keyframes,f=i.autoRevert,k=e._dur,y=e._startAt,x=e._targets,g=e.parent,w=g&&g.data==="nested"?g.vars.targets:x,M=e._overwrite==="auto"&&!tj,j=e.timeline,b,N,S,L,A,T,R,D,_,q,z,V,G;if(j&&(!m||!o)&&(o="none"),e._ease=eo(o,Oo.ease),e._yEase=p?bI(eo(p===!0?o:p,Oo.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!j&&!!i.runBackwards,!j||m&&!i.stagger){if(D=x[0]?Ks(x[0]).harness:0,V=D&&i[D.prop],b=c9(i,sj),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!f?y.render(-1,!0):y.revert(u&&k?Kb:kT),y._lazy=0),c){if(or(e._startAt=Ye.set(x,Ft({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return Pt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!f)&&e._startAt.revert(Kb),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!y){if(r&&(l=!1),S=Ft({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:g},b),V&&(S[D.prop]=V),or(e._startAt=Ye.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(Kb):e._startAt.render(-1,!0)),e._zTime=r,!l)a(e._startAt,_e,_e);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&wt(d)||d&&!k,N=0;N<x.length;N++){if(A=x[N],R=A._gsap||cj(x)[N]._gsap,e._ptLookup[N]=q={},jC[R.id]&&ar.length&&o9(),z=w===x?N:w.indexOf(A),D&&(_=new D).init(A,V||b,e,z,w)!==!1&&(e._pt=L=new bt(e._pt,A,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){q[E]=L}),_.priority&&(T=1)),!D||V)for(S in b)It[S]&&(_=SI(S,b,e,z,A,w))?_.priority&&(T=1):q[S]=L=dj.call(e,A,S,"get",b[S],z,w,0,i.stringFilter);e._op&&e._op[N]&&e.kill(A,e._op[N]),M&&e._pt&&(Ja=e,Ve.killTweensOf(A,q,e.globalTime(r)),G=!e.parent,Ja=0),e._pt&&d&&(jC[R.id]=1)}T&&qI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!G,m&&r<=0&&j.render($t,!0,!0)},$T=function(e,r,n,i,o,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,m,f;if(!h)for(h=e._ptCache[r]=[],m=e._ptLookup,f=e._targets.length;f--;){if(u=m[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return _C=1,e.vars[r]="+=0",hj(e,l),_C=0,d?Ec(r+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)p=h[f],u=p._pt||p,u.s=(i||i===0)&&!o?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Xe(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},GT=function(e,r){var n=e[0]?Ks(e[0]).harness:0,i=n&&n.aliases,o,c,l,d;if(!i)return r;o=Vo({},r);for(c in i)if(c in o)for(d=i[c].split(","),l=d.length;l--;)o[d[l]]=o[c];return o},WT=function(e,r,n,i){var o=r.ease||i||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:o})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:o})},zc=function(e,r,n,i,o){return We(e)?e.call(r,n,i,o):it(e)&&~e.indexOf("random(")?Oc(e):e},II=oj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",NI={};Mt(II+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return NI[a]=1});var Ye=function(a){ZS(e,a);function e(n,i,o,c){var l;typeof i=="number"&&(o.duration=i,i=o,o=null),l=a.call(this,c?i:Rc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,m=d.stagger,f=d.overwrite,k=d.keyframes,y=d.defaults,x=d.scrollTrigger,g=d.yoyoEase,w=i.parent||Ve,M=(ut(n)||JS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),j,b,N,S,L,A,T,R;if(l._targets=M.length?cj(M):Ec("GSAP target "+n+" not found. https://gsap.com",!Rt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,k||m||r1(h)||r1(u)){if(i=l.vars,j=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),j.kill(),j.parent=j._dp=wa(l),j._start=0,m||r1(h)||r1(u)){if(S=M.length,T=m&&pI(m),pa(m))for(L in m)~II.indexOf(L)&&(R||(R={}),R[L]=m[L]);for(b=0;b<S;b++)N=c9(i,NI),N.stagger=0,g&&(N.yoyoEase=g),R&&Vo(N,R),A=M[b],N.duration=+zc(h,wa(l),b,A,M),N.delay=(+zc(u,wa(l),b,A,M)||0)-l._delay,!m&&S===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),j.to(A,N,T?T(b,A,M):0),j._ease=ge.none;j.duration()?h=u=0:l.timeline=0}else if(k){Rc(Ft(j.vars.defaults,{ease:"none"})),j._ease=eo(k.ease||i.ease||"none");var D=0,_,q,z;if(ut(k))k.forEach(function(V){return j.to(M,V,">")}),j.duration();else{N={};for(L in k)L==="ease"||L==="easeEach"||WT(L,k[L],N,k.easeEach);for(L in N)for(_=N[L].sort(function(V,G){return V.t-G.t}),D=0,b=0;b<_.length;b++)q=_[b],z={ease:q.e,duration:(q.t-(b?_[b-1].t:0))/100*h},z[L]=q.v,j.to(M,z,D),D+=z.duration;j.duration()<h&&j.to({},{duration:h-j.duration()})}}h||l.duration(h=j.duration())}else l.timeline=0;return f===!0&&!tj&&(Ja=wa(l),Ve.killTweensOf(M),Ja=0),sa(w,wa(l),o),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!k&&l._start===Oe(w._time)&&wt(p)&&CT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),x&&lI(wa(l),x),l}var r=e.prototype;return r.render=function(i,o,c){var l=this._time,d=this._tDur,h=this._dur,u=i<0,p=i>d-_e&&!u?d:i<_e?0:i,m,f,k,y,x,g,w,M,j;if(!h)LT(this,i,o,c);else if(p!==this._tTime||!i||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(m=p,M=this.timeline,this._repeat){if(y=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(y*100+i,o,c);if(m=Oe(p%y),p===d?(k=this._repeat,m=h):(x=Oe(p/y),k=~~x,k&&k===x?(m=h,k--):m>h&&(m=h)),g=this._yoyo&&k&1,g&&(j=this._yEase,m=h-m),x=Bo(this._tTime,y),m===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(M&&this._yEase&&CI(M,g),this.vars.repeatRefresh&&!g&&!this._lock&&m!==y&&this._initted&&(this._lock=c=1,this.render(Oe(y*k),!0).invalidate()._lock=0))}if(!this._initted){if(dI(this,u?i:m,c,o,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(i,o,c)}if(this._tTime=p,this._time=m,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(j||this._ease)(m/h),this._from&&(this.ratio=w=1-w),!l&&p&&!o&&!x&&(Pt(this,"onStart"),this._tTime!==p))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;M&&M.render(i<0?i:M._dur*M._ease(m/this._dur),o,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&LC(this,i,o,c),Pt(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!o&&this.parent&&Pt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&LC(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&or(this,1),!o&&!(u&&!l)&&(p||l||g)&&(Pt(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(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,o,c,l,d){Vc||_t.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||hj(this,h),u=this._ease(h/this._dur),$T(this,i,o,c,l,u,h,d)?this.resetTo(i,o,c,l,1):(j9(this,0),this.parent||oI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?lc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Ja&&Ja.vars.overwrite!==!0)._first||lc(this),this.parent&&c!==this.timeline.totalDuration()&&Uo(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=i?Gt(i):l,h=this._ptLookup,u=this._pt,p,m,f,k,y,x,g;if((!o||o==="all")&&MT(l,d))return o==="all"&&(this._pt=0),lc(this);for(p=this._op=this._op||[],o!=="all"&&(it(o)&&(y={},Mt(o,function(w){return y[w]=1}),o=y),o=GT(l,o)),g=l.length;g--;)if(~d.indexOf(l[g])){m=h[g],o==="all"?(p[g]=o,k=m,f={}):(f=p[g]=p[g]||{},k=o);for(y in k)x=m&&m[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&b9(this,x,"_pt"),delete m[y]),f!=="all"&&(f[y]=1)}return this._initted&&!this._pt&&u&&lc(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return Dc(1,arguments)},e.delayedCall=function(i,o,c,l){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,o,c){return Dc(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,c){return Ve.killTweensOf(i,o,c)},e}(Bc);Ft(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ye[a]=function(){var e=new ft,r=IC.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var uj=function(e,r,n){return e[r]=n},AI=function(e,r,n){return e[r](n)},ZT=function(e,r,n,i){return e[r](i.fp,n)},XT=function(e,r,n){return e.setAttribute(r,n)},pj=function(e,r){return We(e[r])?AI:aj(e[r])&&e.setAttribute?XT:uj},_I=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},JT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},PI=function(e,r){var n=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=r.c}r.set(r.t,r.p,i,r)},yj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},YT=function(e,r,n,i){for(var o=this._pt,c;o;)c=o._next,o.p===i&&o.modifier(e,r,n),o=c},KT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?b9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},QT=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},qI=function(e){for(var r=e._pt,n,i,o,c;r;){for(n=r._next,i=o;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:o=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=o},bt=function(){function a(r,n,i,o,c,l,d,h,u){this.t=n,this.s=o,this.c=c,this.p=i,this.r=l||_I,this.d=d||this,this.set=h||uj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,o){this.mSet=this.mSet||this.set,this.set=QT,this.m=n,this.mt=o,this.tween=i},a}();Mt(oj+"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(a){return sj[a]=1});zt.TweenMax=zt.TweenLite=Ye;zt.TimelineLite=zt.TimelineMax=ft;Ve=new ft({sortChildren:!1,defaults:Oo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Rt.stringFilter=MI;var to=[],e9={},eR=[],wL=0,tR=0,rC=function(e){return(e9[e]||eR).map(function(r){return r()})},PC=function(){var e=Date.now(),r=[];e-wL>2&&(rC("matchMediaInit"),to.forEach(function(n){var i=n.queries,o=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==o[l]&&(o[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),rC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),wL=e,rC("matchMedia"))},TI=function(){function a(r,n){this.selector=n&&NC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=tR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,o){We(n)&&(o=i,i=n,n=We);var c=this,l=function(){var h=Fe,u=c.selector,p;return h&&h!==c&&h.data.push(c),o&&(c.selector=NC(o)),Fe=c,p=i.apply(c,arguments),We(p)&&c._r.push(p),Fe=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===We?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var i=Fe;Fe=null,n(this),Fe=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof a?n.push.apply(n,i.getTweens()):i instanceof Ye&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var o=this;if(n?function(){for(var l=o.getTweens(),d=o.data.length,h;d--;)h=o.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=o.data.length;d--;)h=o.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);o._r.forEach(function(u){return u(n,o)}),o.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=to.length;c--;)to[c].id===this.id&&to.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),aR=function(){function a(r){this.contexts=[],this.scope=r,Fe&&Fe.data.push(this)}var e=a.prototype;return e.add=function(n,i,o){pa(n)||(n={matches:n});var c=new TI(0,o||this.scope),l=c.conditions={},d,h,u;Fe&&!c.selector&&(c.selector=Fe.selector),this.contexts.push(c),i=c.add("onMatch",i),c.queries=n;for(h in n)h==="all"?u=1:(d=na.matchMedia(n[h]),d&&(to.indexOf(c)<0&&to.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(PC):d.addEventListener("change",PC)));return u&&i(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},a}(),d9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(i){return gI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Ve.getTweensOf(e,r)},getProperty:function(e,r,n,i){it(e)&&(e=Gt(e)[0]);var o=Ks(e||{}).get,c=n?sI:iI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||o)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||o)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return jt.quickSetter(u,r,n)}),o=i.length;return function(u){for(var p=o;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Ks(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;fo._pt=0,p.init(e,n?u+n:u,fo,0,[e]),p.render(1,p),fo._pt&&yj(1,fo)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var i,o=jt.to(e,Ft((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return o.resetTo(r,d,h,u)};return c.tween=o,c},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=eo(e.ease,Oo.ease)),fL(Oo,e||{})},config:function(e){return fL(Rt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,o=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!zt[l]&&Ec(r+" effect requires "+l+" plugin.")}),Q9[r]=function(l,d,h){return n(Gt(l),Ft(d||{},o),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(Q9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ge[e]=eo(r)},parseEase:function(e,r){return arguments.length?eo(e,r):ge},getById:function(e){return Ve.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,o;for(n.smoothChildTiming=wt(e.smoothChildTiming),Ve.remove(n),n._dp=0,n._time=n._tTime=Ve._time,i=Ve._first;i;)o=i._next,(r||!(!i._dur&&i instanceof Ye&&i.vars.onComplete===i._targets[0]))&&sa(n,i,i._start-i._delay),i=o;return sa(Ve,n,0),n},context:function(e,r){return e?new TI(e,r):Fe},matchMedia:function(e){return new aR(e)},matchMediaRefresh:function(){return to.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||PC()},addEventListener:function(e,r){var n=e9[e]||(e9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=e9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:TT,wrapYoyo:RT,distribute:pI,random:mI,snap:yI,normalize:qT,getUnit:ht,clamp:NT,splitColor:vI,toArray:Gt,selector:NC,mapRange:xI,pipe:_T,unitize:PT,interpolate:DT,shuffle:uI},install:eI,effects:Q9,ticker:_t,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Ve,core:{PropTween:bt,globals:tI,Tween:Ye,Timeline:ft,Animation:Bc,getCache:Ks,_removeLinkedListItem:b9,reverting:function(){return lt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return tj=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return d9[a]=Ye[a]});_t.add(ft.updateRoot);fo=d9.to({},{duration:0});var rR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},nR=function(e,r){var n=e._targets,i,o,c;for(i in r)for(o=n.length;o--;)c=e._ptLookup[o][i],c&&(c=c.d)&&(c._pt&&(c=rR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[o],i))},nC=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,o,c){c._onInit=function(l){var d,h;if(it(o)&&(d={},Mt(o,function(u){return d[u]=1}),o=d),r){d={};for(h in o)d[h]=r(o[h]);o=d}nR(l,o)}}}},jt=d9.registerPlugin({name:"attr",init:function(e,r,n,i,o){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],i,o,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)lt?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},nC("roundProps",AC),nC("modifiers"),nC("snap",yI))||d9;Ye.version=ft.version=jt.version="3.14.2";QS=1;rj()&&$o();ge.Power0;ge.Power1;ge.Power2;ge.Power3;ge.Power4;ge.Linear;ge.Quad;ge.Cubic;ge.Quart;ge.Quint;ge.Strong;ge.Elastic;ge.Back;ge.SteppedEase;ge.Bounce;ge.Sine;ge.Expo;ge.Circ;/*!
7732
+ */var Rt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Oo={duration:.5,overwrite:!1,delay:0},tj,lt,Fe,$t=1e8,_e=1/$t,bC=Math.PI*2,hT=bC/4,uT=0,JS=Math.sqrt,pT=Math.cos,yT=Math.sin,it=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Aa=function(e){return typeof e=="number"},aj=function(e){return typeof e>"u"},pa=function(e){return typeof e=="object"},wt=function(e){return e!==!1},rj=function(){return typeof window<"u"},r1=function(e){return We(e)||it(e)},YS=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ut=Array.isArray,mT=/random\([^)]+\)/g,fT=/,\s*/g,yL=/(?:-?\.?\d|\.)+/gi,KS=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,mo=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,K9=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,QS=/[+-]=-?[.\d]+/,xT=/[^,'"\[\]\s]+/gi,kT=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ve,na,CC,nj,zt={},s9={},eI,tI=function(e){return(s9=Vo(e,zt))&&jt},ij=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},Ec=function(e,r){return!r&&console.warn(e)},aI=function(e,r){return e&&(zt[e]=r)&&s9&&(s9[e]=r)||zt},Hc=function(){return 0},gT={suppressEvents:!0,isStart:!0,kill:!1},Kb={suppressEvents:!0,kill:!1},vT={suppressEvents:!0},sj={},ar=[],jC={},rI,It={},Q9={},mL=30,Qb=[],oj="",cj=function(e){var r=e[0],n,i;if(pa(r)||We(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(i=Qb.length;i--&&!Qb[i].targetTest(r););n=Qb[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new SI(e[i],n)))||e.splice(i,1);return e},Ks=function(e){return e._gsap||cj(Gt(e))[0]._gsap},nI=function(e,r,n){return(n=e[r])&&We(n)?e[r]():aj(n)&&e.getAttribute&&e.getAttribute(r)||n},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Xe=function(e){return Math.round(e*1e5)/1e5||0},Oe=function(e){return Math.round(e*1e7)/1e7||0},To=function(e,r){var n=r.charAt(0),i=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+i:n==="-"?e-i:n==="*"?e*i:e/i},wT=function(e,r){for(var n=r.length,i=0;e.indexOf(r[i])<0&&++i<n;);return i<n},o9=function(){var e=ar.length,r=ar.slice(0),n,i;for(jC={},ar.length=0,n=0;n<e;n++)i=r[n],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},lj=function(e){return!!(e._initted||e._startAt||e.add)},iI=function(e,r,n,i){ar.length&&!lt&&o9(),e.render(r,n,!!(lt&&r<0&&lj(e))),ar.length&&!lt&&o9()},sI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(xT).length<2?r:it(e)?e.trim():e},oI=function(e){return e},Ft=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},MT=function(e){return function(r,n){for(var i in n)i in r||i==="duration"&&e||i==="ease"||(r[i]=n[i])}},Vo=function(e,r){for(var n in r)e[n]=r[n];return e},fL=function a(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=pa(r[n])?a(e[n]||(e[n]={}),r[n]):r[n]);return e},c9=function(e,r){var n={},i;for(i in e)i in r||(n[i]=e[i]);return n},Rc=function(e){var r=e.parent||Ve,n=e.keyframes?MT(ut(e.keyframes)):Ft;if(wt(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},bT=function(e,r){for(var n=e.length,i=n===r.length;i&&n--&&e[n]===r[n];);return n<0},cI=function(e,r,n,i,o){var c=e[i],l;if(o)for(l=r[o];c&&c[o]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[i]=r,r._prev=c,r.parent=r._dp=e,r},b9=function(e,r,n,i){n===void 0&&(n="_first"),i===void 0&&(i="_last");var o=r._prev,c=r._next;o?o._next=c:e[n]===r&&(e[n]=c),c?c._prev=o:e[i]===r&&(e[i]=o),r._next=r._prev=r.parent=null},or=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Qs=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},CT=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},LC=function(e,r,n,i){return e._startAt&&(lt?e._startAt.revert(Kb):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,i))},jT=function a(e){return!e||e._ts&&a(e.parent)},xL=function(e){return e._repeat?Bo(e._tTime,e=e.duration()+e._rDelay)*e:0},Bo=function(e,r){var n=Math.floor(e=Oe(e/r));return e&&n===e?n-1:n},l9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},C9=function(e){return e._end=Oe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_e)||0))},j9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=Oe(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),C9(e),n._dirty||Qs(n,e)),e},lI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=l9(e.rawTime(),r),(!r._dur||Kc(0,r.totalDuration(),n)-r._tTime>_e)&&r.render(n,!0)),Qs(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-_e}},sa=function(e,r,n,i){return r.parent&&or(r),r._start=Oe((Aa(n)?n:n||e!==Ve?Vt(e,n,r):e._time)+r._delay),r._end=Oe(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),cI(e,r,"_first","_last",e._sort?"_start":0),SC(r)||(e._recent=r),i||lI(e,r),e._ts<0&&j9(e,e._tTime),e},dI=function(e,r){return(zt.ScrollTrigger||ij("scrollTrigger",r))&&zt.ScrollTrigger.create(r,e)},hI=function(e,r,n,i,o){if(hj(e,r,o),!e._initted)return 1;if(!n&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&rI!==_t.frame)return ar.push(e),e._lazy=[o,i],1},LT=function a(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},SC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},ST=function(e,r,n,i){var o=e.ratio,c=r<0||!r&&(!e._start&&LT(e)&&!(!e._initted&&SC(e))||(e._ts<0||e._dp._ts<0)&&!SC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Kc(0,e._tDur,r),u=Bo(d,l),e._yoyo&&u&1&&(c=1-c),u!==Bo(e._tTime,l)&&(o=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==o||lt||i||e._zTime===_e||!r&&e._zTime){if(!e._initted&&hI(e,r,i,n,d))return;for(p=e._zTime,e._zTime=r||(n?_e:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&LC(e,r,n,!0),e._onUpdate&&!n&&Pt(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&Pt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&or(e,1),!n&&!lt&&(Pt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},IT=function(e,r,n){var i;if(n>r)for(i=e._first;i&&i._start<=n;){if(i.data==="isPause"&&i._start>r)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if(i.data==="isPause"&&i._start<r)return i;i=i._prev}},Uo=function(e,r,n,i){var o=e._repeat,c=Oe(r)||0,l=e._tTime/e._tDur;return l&&!i&&(e._time*=c/e._dur),e._dur=c,e._tDur=o?o<0?1e10:Oe(c*(o+1)+e._rDelay*o):c,l>0&&!i&&j9(e,e._tTime=e._tDur*l),e.parent&&C9(e),n||Qs(e.parent,e),e},kL=function(e){return e instanceof ft?Qs(e):Uo(e,e._dur)},NT={_start:0,endTime:Hc,totalDuration:Hc},Vt=function a(e,r,n){var i=e.labels,o=e._recent||NT,c=e.duration()>=$t?o.endTime(!1):e._dur,l,d,h;return it(r)&&(isNaN(r)||r in i)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?o:n).totalDuration()/100:1)):l<0?(r in i||(i[r]=c),i[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(ut(n)?n[0]:n).totalDuration()),l>1?a(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},Dc=function(e,r,n){var i=Aa(r[1]),o=(i?2:1)+(e<2?0:1),c=r[o],l,d;if(i&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=wt(d.vars.inherit)&&d.parent;c.immediateRender=wt(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[o-1]}return new Ye(r[0],c,r[o+1])},yr=function(e,r){return e||e===0?r(e):r},Kc=function(e,r,n){return n<e?e:n>r?r:n},ht=function(e,r){return!it(e)||!(r=kT.exec(e))?"":r[1]},AT=function(e,r,n){return yr(n,function(i){return Kc(e,r,i)})},IC=[].slice,uI=function(e,r){return e&&pa(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&pa(e[0]))&&!e.nodeType&&e!==na},_T=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(i){var o;return it(i)&&!r||uI(i,1)?(o=n).push.apply(o,Gt(i)):n.push(i)})||n},Gt=function(e,r,n){return Fe&&!r&&Fe.selector?Fe.selector(e):it(e)&&!n&&(CC||!$o())?IC.call((r||nj).querySelectorAll(e),0):ut(e)?_T(e,n):uI(e)?IC.call(e,0):e?[e]:[]},NC=function(e){return e=Gt(e)[0]||Ec("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return Gt(r,n.querySelectorAll?n:n===e?Ec("Invalid scope")||nj.createElement("div"):e)}},pI=function(e){return e.sort(function(){return .5-Math.random()})},yI=function(e){if(We(e))return e;var r=pa(e)?e:{each:e},n=eo(r.ease),i=r.from||0,o=parseFloat(r.base)||0,c={},l=i>0&&i<1,d=isNaN(i)||l,h=r.axis,u=i,p=i;return it(i)?u=p={center:.5,edges:.5,end:1}[i]||0:!l&&d&&(u=i[0],p=i[1]),function(f,m,k){var y=(k||r).length,x=c[y],g,w,M,j,b,N,S,L,A;if(!x){if(A=r.grid==="auto"?0:(r.grid||[1,$t])[1],!A){for(S=-$t;S<(S=k[A++].getBoundingClientRect().left)&&A<y;);A<y&&A--}for(x=c[y]=[],g=d?Math.min(A,y)*u-.5:i%A,w=A===$t?0:d?y*p/A-.5:i/A|0,S=0,L=$t,N=0;N<y;N++)M=N%A-g,j=w-(N/A|0),x[N]=b=h?Math.abs(h==="y"?j:M):JS(M*M+j*j),b>S&&(S=b),b<L&&(L=b);i==="random"&&pI(x),x.max=S-L,x.min=L,x.v=y=(parseFloat(r.amount)||parseFloat(r.each)*(A>y?y-1:h?h==="y"?y/A:A:Math.max(A,y/A))||0)*(i==="edges"?-1:1),x.b=y<0?o-y:o,x.u=ht(r.amount||r.each)||0,n=n&&y<0?CI(n):n}return y=(x[f]-x.min)/x.max||0,Oe(x.b+(n?n(y):y)*x.v)+x.u}},AC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=Oe(Math.round(parseFloat(n)/e)*e*r);return(i-i%1)/r+(Aa(n)?0:ht(n))}},mI=function(e,r){var n=ut(e),i,o;return!n&&pa(e)&&(i=n=e.radius||$t,e.values?(e=Gt(e.values),(o=!Aa(e[0]))&&(i*=i)):e=AC(e.increment)),yr(r,n?We(e)?function(c){return o=e(c),Math.abs(o-c)<=i?o:c}:function(c){for(var l=parseFloat(o?c.x:c),d=parseFloat(o?c.y:0),h=$t,u=0,p=e.length,f,m;p--;)o?(f=e[p].x-l,m=e[p].y-d,f=f*f+m*m):f=Math.abs(e[p]-l),f<h&&(h=f,u=p);return u=!i||h<=i?e[u]:c,o||u===c||Aa(c)?u:u+ht(c)}:AC(e))},fI=function(e,r,n,i){return yr(ut(e)?!r:n===!0?!!(n=0):!i,function(){return ut(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*i)/i})},PT=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(i){return r.reduce(function(o,c){return c(o)},i)}},qT=function(e,r){return function(n){return e(parseFloat(n))+(r||ht(n))}},TT=function(e,r,n){return kI(e,r,0,1,n)},xI=function(e,r,n){return yr(n,function(i){return e[~~r(i)]})},RT=function a(e,r,n){var i=r-e;return ut(e)?xI(e,a(0,e.length),r):yr(n,function(o){return(i+(o-e)%i)%i+e})},DT=function a(e,r,n){var i=r-e,o=i*2;return ut(e)?xI(e,a(0,e.length-1),r):yr(n,function(c){return c=(o+(c-e)%o)%o||0,e+(c>i?o-c:c)})},Oc=function(e){return e.replace(mT,function(r){var n=r.indexOf("[")+1,i=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(fT);return fI(n?i:+i[0],n?0:+i[1],+i[2]||1e-5)})},kI=function(e,r,n,i,o){var c=r-e,l=i-n;return yr(o,function(d){return n+((d-e)/c*l||0)})},zT=function a(e,r,n,i){var o=isNaN(e+r)?0:function(m){return(1-m)*e+m*r};if(!o){var c=it(e),l={},d,h,u,p,f;if(n===!0&&(i=1)&&(n=null),c)e={p:e},r={p:r};else if(ut(e)&&!ut(r)){for(u=[],p=e.length,f=p-2,h=1;h<p;h++)u.push(a(e[h-1],e[h]));p--,o=function(k){k*=p;var y=Math.min(f,~~k);return u[y](k-y)},n=r}else i||(e=Vo(ut(e)?[]:{},e));if(!u){for(d in r)dj.call(l,e,d,"get",r[d]);o=function(k){return yj(k,l)||(c?e.p:e)}}}return yr(n,o)},gL=function(e,r,n){var i=e.labels,o=$t,c,l,d;for(c in i)l=i[c]-r,l<0==!!n&&l&&o>(l=Math.abs(l))&&(d=c,o=l);return d},Pt=function(e,r,n){var i=e.vars,o=i[r],c=Fe,l=e._ctx,d,h,u;if(o)return d=i[r+"Params"],h=i.callbackScope||e,n&&ar.length&&o9(),l&&(Fe=l),u=d?o.apply(h,d):o.call(h),Fe=c,u},lc=function(e){return or(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Pt(e,"onInterrupt"),e},fo,gI=[],vI=function(e){if(e)if(e=!e.name&&e.default||e,rj()||e.headless){var r=e.name,n=We(e),i=r&&!n&&e.init?function(){this._props=[]}:e,o={init:Hc,render:yj,add:dj,kill:QT,modifier:KT,rawVars:0},c={targetTest:0,get:0,getSetter:pj,aliases:{},register:0};if($o(),e!==i){if(It[r])return;Ft(i,Ft(c9(e,o),c)),Vo(i.prototype,Vo(o,c9(e,c))),It[i.prop=r]=i,e.targetTest&&(Qb.push(i),sj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}aI(r,i),e.register&&e.register(jt,i,bt)}else gI.push(e)},Ae=255,dc={aqua:[0,Ae,Ae],lime:[0,Ae,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ae],navy:[0,0,128],white:[Ae,Ae,Ae],olive:[128,128,0],yellow:[Ae,Ae,0],orange:[Ae,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ae,0,0],pink:[Ae,192,203],cyan:[0,Ae,Ae],transparent:[Ae,Ae,Ae,0]},eC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Ae+.5|0},wI=function(e,r,n){var i=e?Aa(e)?[e>>16,e>>8&Ae,e&Ae]:0:dc.black,o,c,l,d,h,u,p,f,m,k;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),dc[e])i=dc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+o+o+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Ae,i&Ae,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Ae,e&Ae]}else if(e.substr(0,3)==="hsl"){if(i=k=e.match(yL),!r)d=+i[0]%360/360,h=+i[1]/100,u=+i[2]/100,c=u<=.5?u*(h+1):u+h-u*h,o=u*2-c,i.length>3&&(i[3]*=1),i[0]=eC(d+1/3,o,c),i[1]=eC(d,o,c),i[2]=eC(d-1/3,o,c);else if(~e.indexOf("="))return i=e.match(KS),n&&i.length<4&&(i[3]=1),i}else i=e.match(yL)||dc.transparent;i=i.map(Number)}return r&&!k&&(o=i[0]/Ae,c=i[1]/Ae,l=i[2]/Ae,p=Math.max(o,c,l),f=Math.min(o,c,l),u=(p+f)/2,p===f?d=h=0:(m=p-f,h=u>.5?m/(2-p-f):m/(p+f),d=p===o?(c-l)/m+(c<l?6:0):p===c?(l-o)/m+2:(o-c)/m+4,d*=60),i[0]=~~(d+.5),i[1]=~~(h*100+.5),i[2]=~~(u*100+.5)),n&&i.length<4&&(i[3]=1),i},MI=function(e){var r=[],n=[],i=-1;return e.split(rr).forEach(function(o){var c=o.match(mo)||[];r.push.apply(r,c),n.push(i+=c.length+1)}),r.c=n,r},vL=function(e,r,n){var i="",o=(e+i).match(rr),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!o)return e;if(o=o.map(function(f){return(f=wI(f,r,1))&&c+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=MI(e),d=n.c,d.join(i)!==u.c.join(i)))for(h=e.replace(rr,"1").split(mo),p=h.length-1;l<p;l++)i+=h[l]+(~d.indexOf(l)?o.shift()||c+"0,0,0,0)":(u.length?u:o.length?o:n).shift());if(!h)for(h=e.split(rr),p=h.length-1;l<p;l++)i+=h[l]+o[l];return i+h[p]},rr=function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in dc)a+="|"+e+"\\b";return new RegExp(a+")","gi")}(),FT=/hsl[a]?\(/,bI=function(e){var r=e.join(" "),n;if(rr.lastIndex=0,rr.test(r))return n=FT.test(r),e[1]=vL(e[1],n),e[0]=vL(e[0],n,MI(e[1])),!0},Vc,_t=function(){var a=Date.now,e=500,r=33,n=a(),i=n,o=1e3/240,c=o,l=[],d,h,u,p,f,m,k=function y(x){var g=a()-i,w=x===!0,M,j,b,N;if((g>e||g<0)&&(n+=g-r),i+=g,b=i-n,M=b-c,(M>0||w)&&(N=++p.frame,f=b-p.time*1e3,p.time=b=b/1e3,c+=M+(M>=o?4:o-M),j=1),w||(d=h(y)),j)for(m=0;m<l.length;m++)l[m](b,f,N,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return f/(1e3/(x||60))},wake:function(){eI&&(!CC&&rj()&&(na=CC=window,nj=na.document||{},zt.gsap=jt,(na.gsapVersions||(na.gsapVersions=[])).push(jt.version),tI(s9||na.GreenSockGlobals||!na.gsap&&na||{}),gI.forEach(vI)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Vc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Vc=0,h=Hc},lagSmoothing:function(x,g){e=x||1/0,r=Math.min(g||33,e)},fps:function(x){o=1e3/(x||240),c=p.time*1e3+o},add:function(x,g,w){var M=g?function(j,b,N,S){x(j,b,N,S),p.remove(M)}:x;return p.remove(x),l[w?"unshift":"push"](M),$o(),M},remove:function(x,g){~(g=l.indexOf(x))&&l.splice(g,1)&&m>=g&&m--},_listeners:l},p}(),$o=function(){return!Vc&&_t.wake()},ge={},ET=/^[\d.\-M][\d.\-,\s]/,HT=/["']/g,OT=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),i=n[0],o=1,c=n.length,l,d,h;o<c;o++)d=n[o],l=o!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[i]=isNaN(h)?h.replace(HT,"").trim():+h,i=d.substr(l+1).trim();return r},VT=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),i=e.indexOf("(",r);return e.substring(r,~i&&i<n?e.indexOf(")",n+1):n)},BT=function(e){var r=(e+"").split("("),n=ge[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[OT(r[1])]:VT(e).split(",").map(sI)):ge._CE&&ET.test(e)?ge._CE("",e):n},CI=function(e){return function(r){return 1-e(1-r)}},jI=function a(e,r){for(var n=e._first,i;n;)n instanceof ft?a(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?a(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},eo=function(e,r){return e&&(We(e)?e:ge[e]||BT(e))||r},co=function(e,r,n,i){n===void 0&&(n=function(d){return 1-r(1-d)}),i===void 0&&(i=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var o={easeIn:r,easeOut:n,easeInOut:i},c;return Mt(e,function(l){ge[l]=zt[l]=o,ge[c=l.toLowerCase()]=n;for(var d in o)ge[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=ge[l+"."+d]=o[d]}),o},LI=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},tC=function a(e,r,n){var i=r>=1?r:1,o=(n||(e?.3:.45))/(r<1?r:1),c=o/bC*(Math.asin(1/i)||0),l=function(u){return u===1?1:i*Math.pow(2,-10*u)*yT((u-c)*o)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:LI(l);return o=bC/o,d.config=function(h,u){return a(e,h,u)},d},aC=function a(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},i=e==="out"?n:e==="in"?function(o){return 1-n(1-o)}:LI(n);return i.config=function(o){return a(e,o)},i};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,e){var r=e<5?e+1:e;co(a+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});ge.Linear.easeNone=ge.none=ge.Linear.easeIn;co("Elastic",tC("in"),tC("out"),tC());(function(a,e){var r=1/e,n=2*r,i=2.5*r,o=function(l){return l<r?a*l*l:l<n?a*Math.pow(l-1.5/e,2)+.75:l<i?a*(l-=2.25/e)*l+.9375:a*Math.pow(l-2.625/e,2)+.984375};co("Bounce",function(c){return 1-o(1-c)},o)})(7.5625,2.75);co("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});co("Circ",function(a){return-(JS(1-a*a)-1)});co("Sine",function(a){return a===1?1:-pT(a*hT)+1});co("Back",aC("in"),aC("out"),aC());ge.SteppedEase=ge.steps=zt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,i=e+(r?0:1),o=r?1:0,c=1-_e;return function(l){return((i*Kc(0,c,l)|0)+o)*n}}};Oo.ease=ge["quad.out"];Mt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return oj+=a+","+a+"Params,"});var SI=function(e,r){this.id=uT++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:nI,this.set=r?r.getSetter:pj},Bc=function(){function a(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,Uo(this,+r.duration,1,1),this.data=r.data,Fe&&(this._ctx=Fe,Fe.data.push(this)),Vc||_t.wake()}var e=a.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Uo(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,i){if($o(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(j9(this,n),!o._dp||o.parent||lI(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&sa(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===_e||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),iI(this,n,i)),this},e.time=function(n,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+xL(this))%(this._dur+this._rDelay)||(n?this._dur:0),i):this._time},e.totalProgress=function(n,i){return arguments.length?this.totalTime(this.totalDuration()*n,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(n,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+xL(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*o,i):this._repeat?Bo(this._tTime,o)+1:1},e.timeScale=function(n,i){if(!arguments.length)return this._rts===-_e?0:this._rts;if(this._rts===n)return this;var o=this.parent&&this._ts?l9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-_e?0:this._rts,this.totalTime(Kc(-Math.abs(this._delay),this.totalDuration(),o),i!==!1),C9(this),CT(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($o(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_e&&(this._tTime-=_e)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=Oe(n);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&sa(i,this,this._start-this._delay),this}return this._start},e.endTime=function(n){return this._start+(wt(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var i=this.parent||this._dp;return i?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?l9(i.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=vT);var i=lt;return lt=n,lj(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),lt=i,this},e.globalTime=function(n){for(var i=this,o=arguments.length?n:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(n):o},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,kL(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var i=this._time;return this._rDelay=n,kL(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,i){return this.totalTime(Vt(this,n),wt(i))},e.restart=function(n,i){return this.play().totalTime(n?-this._delay:0,wt(i)),this._dur||(this._zTime=-_e),this},e.play=function(n,i){return n!=null&&this.seek(n,i),this.reversed(!1).paused(!1)},e.reverse=function(n,i){return n!=null&&this.seek(n||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(n,i){return n!=null&&this.seek(n,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-_e:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_e,this},e.isActive=function(){var n=this.parent||this._dp,i=this._start,o;return!!(!n||this._ts&&this._initted&&n.isActive()&&(o=n.rawTime(!0))>=i&&o<this.endTime(!0)-_e)},e.eventCallback=function(n,i,o){var c=this.vars;return arguments.length>1?(i?(c[n]=i,o&&(c[n+"Params"]=o),n==="onUpdate"&&(this._onUpdate=i)):delete c[n],this):c[n]},e.then=function(n){var i=this,o=i._prom;return new Promise(function(c){var l=We(n)?n:oI,d=function(){var u=i.then;i.then=null,o&&o(),We(l)&&(l=l(i))&&(l.then||l===i)&&(i.then=u),c(l),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?d():i._prom=d})},e.kill=function(){lc(this)},a}();Ft(Bc.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:-_e,_prom:0,_ps:!1,_rts:1});var ft=function(a){XS(e,a);function e(n,i){var o;return n===void 0&&(n={}),o=a.call(this,n)||this,o.labels={},o.smoothChildTiming=!!n.smoothChildTiming,o.autoRemoveChildren=!!n.autoRemoveChildren,o._sort=wt(n.sortChildren),Ve&&sa(n.parent||Ve,wa(o),i),n.reversed&&o.reverse(),n.paused&&o.paused(!0),n.scrollTrigger&&dI(wa(o),n.scrollTrigger),o}var r=e.prototype;return r.to=function(i,o,c){return Dc(0,arguments,this),this},r.from=function(i,o,c){return Dc(1,arguments,this),this},r.fromTo=function(i,o,c,l){return Dc(2,arguments,this),this},r.set=function(i,o,c){return o.duration=0,o.parent=this,Rc(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Ye(i,o,Vt(this,c),1),this},r.call=function(i,o,c){return sa(this,Ye.delayedCall(0,i,o),c)},r.staggerTo=function(i,o,c,l,d,h,u){return c.duration=o,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Ye(i,c,Vt(this,d)),this},r.staggerFrom=function(i,o,c,l,d,h,u){return c.runBackwards=1,Rc(c).immediateRender=wt(c.immediateRender),this.staggerTo(i,o,c,l,d,h,u)},r.staggerFromTo=function(i,o,c,l,d,h,u,p){return l.startAt=c,Rc(l).immediateRender=wt(l.immediateRender),this.staggerTo(i,o,l,d,h,u,p)},r.render=function(i,o,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=i<=0?0:Oe(i),p=this._zTime<0!=i<0&&(this._initted||!h),f,m,k,y,x,g,w,M,j,b,N,S;if(this!==Ve&&u>d&&i>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,i+=this._time-l),f=u,j=this._start,M=this._ts,g=!M,p&&(h||(l=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(N=this._yoyo,x=h+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,c);if(f=Oe(u%x),u===d?(y=this._repeat,f=h):(b=Oe(u/x),y=~~b,y&&y===b&&(f=h,y--),f>h&&(f=h)),b=Bo(this._tTime,x),!l&&this._tTime&&b!==y&&this._tTime-b*x-this._dur<=0&&(b=y),N&&y&1&&(f=h-f,S=1),y!==b&&!this._lock){var L=N&&b&1,A=L===(N&&y&1);if(y<b&&(L=!L),l=L?0:u%h?h:u,this._lock=1,this.render(l||(S?0:Oe(y*x)),o,!h)._lock=0,this._tTime=u,!o&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,b=y),l&&l!==this._time||g!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,A&&(this._lock=2,l=L?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!g)return this;jI(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=IT(this,Oe(l),Oe(f)),w&&(u-=f-(f=w._start))),this._tTime=u,this._time=f,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,l=0),!l&&u&&h&&!o&&!b&&(Pt(this,"onStart"),this._tTime!==u))return this;if(f>=l&&i>=0)for(m=this._first;m;){if(k=m._next,(m._act||f>=m._start)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(f-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(f-m._start)*m._ts,o,c),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=-_e);break}}m=k}else{m=this._last;for(var T=i<0?i:f;m;){if(k=m._prev,(m._act||T<=m._end)&&m._ts&&w!==m){if(m.parent!==this)return this.render(i,o,c);if(m.render(m._ts>0?(T-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(T-m._start)*m._ts,o,c||lt&&lj(m)),f!==this._time||!this._ts&&!g){w=0,k&&(u+=this._zTime=T?-_e:_e);break}}m=k}}if(w&&!o&&(this.pause(),w.render(f>=l?0:-_e)._zTime=f>=l?1:-1,this._ts))return this._start=j,C9(this),this.render(i,o,c);this._onUpdate&&!o&&Pt(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(j===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((i||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&or(this,1),!o&&!(i<0&&!l)&&(u||l||!d)&&(Pt(this,u===d&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(i,o){var c=this;if(Aa(o)||(o=Vt(this,o,i)),!(i instanceof Bc)){if(ut(i))return i.forEach(function(l){return c.add(l,o)}),this;if(it(i))return this.addLabel(i,o);if(We(i))i=Ye.delayedCall(0,i);else return this}return this!==i?sa(this,i,o):this},r.getChildren=function(i,o,c,l){i===void 0&&(i=!0),o===void 0&&(o=!0),c===void 0&&(c=!0),l===void 0&&(l=-$t);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Ye?o&&d.push(h):(c&&d.push(h),i&&d.push.apply(d,h.getChildren(!0,o,c)))),h=h._next;return d},r.getById=function(i){for(var o=this.getChildren(1,1,1),c=o.length;c--;)if(o[c].vars.id===i)return o[c]},r.remove=function(i){return it(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(i.parent===this&&b9(this,i),i===this._recent&&(this._recent=this._last),Qs(this))},r.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Oe(_t.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},r.addLabel=function(i,o){return this.labels[i]=Vt(this,o),this},r.removeLabel=function(i){return delete this.labels[i],this},r.addPause=function(i,o,c){var l=Ye.delayedCall(0,o||Hc,c);return l.data="isPause",this._hasPause=1,sa(this,l,Vt(this,i))},r.removePause=function(i){var o=this._first;for(i=Vt(this,i);o;)o._start===i&&o.data==="isPause"&&or(o),o=o._next},r.killTweensOf=function(i,o,c){for(var l=this.getTweensOf(i,c),d=l.length;d--;)Ja!==l[d]&&l[d].kill(i,o);return this},r.getTweensOf=function(i,o){for(var c=[],l=Gt(i),d=this._first,h=Aa(o),u;d;)d instanceof Ye?wT(d._targets,l)&&(h?(!Ja||d._initted&&d._ts)&&d.globalTime(0)<=o&&d.globalTime(d.totalDuration())>o:!o||d.isActive())&&c.push(d):(u=d.getTweensOf(l,o)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(i,o){o=o||{};var c=this,l=Vt(c,i),d=o,h=d.startAt,u=d.onStart,p=d.onStartParams,f=d.immediateRender,m,k=Ye.to(c,Ft({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||_e,onStart:function(){if(c.pause(),!m){var x=o.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Uo(k,x,0,1).render(k._time,!0,!0),m=1}u&&u.apply(k,p||[])}},o));return f?k.render(0):k},r.tweenFromTo=function(i,o,c){return this.tweenTo(o,Ft({startAt:{time:Vt(this,i)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i))},r.previousLabel=function(i){return i===void 0&&(i=this._time),gL(this,Vt(this,i),1)},r.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+_e)},r.shiftChildren=function(i,o,c){c===void 0&&(c=0);var l=this._first,d=this.labels,h;for(i=Oe(i);l;)l._start>=c&&(l._start+=i,l._end+=i),l=l._next;if(o)for(h in d)d[h]>=c&&(d[h]+=i);return Qs(this)},r.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return a.prototype.invalidate.call(this,i)},r.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,c;o;)c=o._next,this.remove(o),o=c;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Qs(this)},r.totalDuration=function(i){var o=0,c=this,l=c._last,d=$t,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-i:i));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,sa(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(o-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=Oe(u/c._ts),c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>o&&l._ts&&(o=l._end),l=h;Uo(c,c===Ve&&c._time>o?c._time:o,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(i){if(Ve._ts&&(iI(Ve,l9(i,Ve)),rI=_t.frame),_t.frame>=mL){mL+=Rt.autoSleep||120;var o=Ve._first;if((!o||!o._ts)&&Rt.autoSleep&&_t._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||_t.sleep()}}},e}(Bc);Ft(ft.prototype,{_lock:0,_hasPause:0,_forcing:0});var UT=function(e,r,n,i,o,c,l){var d=new bt(this._pt,e,r,0,1,qI,null,o),h=0,u=0,p,f,m,k,y,x,g,w;for(d.b=n,d.e=i,n+="",i+="",(g=~i.indexOf("random("))&&(i=Oc(i)),c&&(w=[n,i],c(w,e,r),n=w[0],i=w[1]),f=n.match(K9)||[];p=K9.exec(i);)k=p[0],y=i.substring(h,p.index),m?m=(m+1)%5:y.substr(-5)==="rgba("&&(m=1),k!==f[u++]&&(x=parseFloat(f[u-1])||0,d._pt={_next:d._pt,p:y||u===1?y:",",s:x,c:k.charAt(1)==="="?To(x,k)-x:parseFloat(k)-x,m:m&&m<4?Math.round:0},h=K9.lastIndex);return d.c=h<i.length?i.substring(h,i.length):"",d.fp=l,(QS.test(i)||g)&&(d.e=0),this._pt=d,d},dj=function(e,r,n,i,o,c,l,d,h,u){We(i)&&(i=i(o||0,e,c));var p=e[r],f=n!=="get"?n:We(p)?h?e[r.indexOf("set")||!We(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,m=We(p)?h?XT:_I:uj,k;if(it(i)&&(~i.indexOf("random(")&&(i=Oc(i)),i.charAt(1)==="="&&(k=To(f,i)+(ht(f)||0),(k||k===0)&&(i=k))),!u||f!==i||_C)return!isNaN(f*i)&&i!==""?(k=new bt(this._pt,e,r,+f||0,i-(f||0),typeof p=="boolean"?YT:PI,0,m),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&ij(r,i),UT.call(this,e,r,f,i,m,d||Rt.stringFilter,h))},$T=function(e,r,n,i,o){if(We(e)&&(e=zc(e,o,r,n,i)),!pa(e)||e.style&&e.nodeType||ut(e)||YS(e))return it(e)?zc(e,o,r,n,i):e;var c={},l;for(l in e)c[l]=zc(e[l],o,r,n,i);return c},II=function(e,r,n,i,o,c){var l,d,h,u;if(It[e]&&(l=new It[e]).init(o,l.rawVars?r[e]:$T(r[e],i,o,c,n),n,i,c)!==!1&&(n._pt=d=new bt(n._pt,o,e,0,1,l.render,l,0,l.priority),n!==fo))for(h=n._ptLookup[n._targets.indexOf(o)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ja,_C,hj=function a(e,r,n){var i=e.vars,o=i.ease,c=i.startAt,l=i.immediateRender,d=i.lazy,h=i.onUpdate,u=i.runBackwards,p=i.yoyoEase,f=i.keyframes,m=i.autoRevert,k=e._dur,y=e._startAt,x=e._targets,g=e.parent,w=g&&g.data==="nested"?g.vars.targets:x,M=e._overwrite==="auto"&&!tj,j=e.timeline,b,N,S,L,A,T,R,D,_,q,z,V,G;if(j&&(!f||!o)&&(o="none"),e._ease=eo(o,Oo.ease),e._yEase=p?CI(eo(p===!0?o:p,Oo.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!j&&!!i.runBackwards,!j||f&&!i.stagger){if(D=x[0]?Ks(x[0]).harness:0,V=D&&i[D.prop],b=c9(i,sj),y&&(y._zTime<0&&y.progress(1),r<0&&u&&l&&!m?y.render(-1,!0):y.revert(u&&k?Kb:gT),y._lazy=0),c){if(or(e._startAt=Ye.set(x,Ft({data:"isStart",overwrite:!1,parent:g,immediateRender:!0,lazy:!y&&wt(d),startAt:null,delay:0,onUpdate:h&&function(){return Pt(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt||!l&&!m)&&e._startAt.revert(Kb),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!y){if(r&&(l=!1),S=Ft({overwrite:!1,data:"isFromStart",lazy:l&&!y&&wt(d),immediateRender:l,stagger:0,parent:g},b),V&&(S[D.prop]=V),or(e._startAt=Ye.set(x,S)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(lt?e._startAt.revert(Kb):e._startAt.render(-1,!0)),e._zTime=r,!l)a(e._startAt,_e,_e);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&wt(d)||d&&!k,N=0;N<x.length;N++){if(A=x[N],R=A._gsap||cj(x)[N]._gsap,e._ptLookup[N]=q={},jC[R.id]&&ar.length&&o9(),z=w===x?N:w.indexOf(A),D&&(_=new D).init(A,V||b,e,z,w)!==!1&&(e._pt=L=new bt(e._pt,A,_.name,0,1,_.render,_,0,_.priority),_._props.forEach(function(E){q[E]=L}),_.priority&&(T=1)),!D||V)for(S in b)It[S]&&(_=II(S,b,e,z,A,w))?_.priority&&(T=1):q[S]=L=dj.call(e,A,S,"get",b[S],z,w,0,i.stringFilter);e._op&&e._op[N]&&e.kill(A,e._op[N]),M&&e._pt&&(Ja=e,Ve.killTweensOf(A,q,e.globalTime(r)),G=!e.parent,Ja=0),e._pt&&d&&(jC[R.id]=1)}T&&TI(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!G,f&&r<=0&&j.render($t,!0,!0)},GT=function(e,r,n,i,o,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,f,m;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,m=e._targets.length;m--;){if(u=f[m][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return _C=1,e.vars[r]="+=0",hj(e,l),_C=0,d?Ec(r+" not eligible for reset"):1;h.push(u)}for(m=h.length;m--;)p=h[m],u=p._pt||p,u.s=(i||i===0)&&!o?i:u.s+(i||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Xe(n)+ht(p.e)),p.b&&(p.b=u.s+ht(p.b))},WT=function(e,r){var n=e[0]?Ks(e[0]).harness:0,i=n&&n.aliases,o,c,l,d;if(!i)return r;o=Vo({},r);for(c in i)if(c in o)for(d=i[c].split(","),l=d.length;l--;)o[d[l]]=o[c];return o},ZT=function(e,r,n,i){var o=r.ease||i||"power1.inOut",c,l;if(ut(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:o})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:o})},zc=function(e,r,n,i,o){return We(e)?e.call(r,n,i,o):it(e)&&~e.indexOf("random(")?Oc(e):e},NI=oj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",AI={};Mt(NI+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return AI[a]=1});var Ye=function(a){XS(e,a);function e(n,i,o,c){var l;typeof i=="number"&&(o.duration=i,i=o,o=null),l=a.call(this,c?i:Rc(i))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,f=d.stagger,m=d.overwrite,k=d.keyframes,y=d.defaults,x=d.scrollTrigger,g=d.yoyoEase,w=i.parent||Ve,M=(ut(n)||YS(n)?Aa(n[0]):"length"in i)?[n]:Gt(n),j,b,N,S,L,A,T,R;if(l._targets=M.length?cj(M):Ec("GSAP target "+n+" not found. https://gsap.com",!Rt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=m,k||f||r1(h)||r1(u)){if(i=l.vars,j=l.timeline=new ft({data:"nested",defaults:y||{},targets:w&&w.data==="nested"?w.vars.targets:M}),j.kill(),j.parent=j._dp=wa(l),j._start=0,f||r1(h)||r1(u)){if(S=M.length,T=f&&yI(f),pa(f))for(L in f)~NI.indexOf(L)&&(R||(R={}),R[L]=f[L]);for(b=0;b<S;b++)N=c9(i,AI),N.stagger=0,g&&(N.yoyoEase=g),R&&Vo(N,R),A=M[b],N.duration=+zc(h,wa(l),b,A,M),N.delay=(+zc(u,wa(l),b,A,M)||0)-l._delay,!f&&S===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),j.to(A,N,T?T(b,A,M):0),j._ease=ge.none;j.duration()?h=u=0:l.timeline=0}else if(k){Rc(Ft(j.vars.defaults,{ease:"none"})),j._ease=eo(k.ease||i.ease||"none");var D=0,_,q,z;if(ut(k))k.forEach(function(V){return j.to(M,V,">")}),j.duration();else{N={};for(L in k)L==="ease"||L==="easeEach"||ZT(L,k[L],N,k.easeEach);for(L in N)for(_=N[L].sort(function(V,G){return V.t-G.t}),D=0,b=0;b<_.length;b++)q=_[b],z={ease:q.e,duration:(q.t-(b?_[b-1].t:0))/100*h},z[L]=q.v,j.to(M,z,D),D+=z.duration;j.duration()<h&&j.to({},{duration:h-j.duration()})}}h||l.duration(h=j.duration())}else l.timeline=0;return m===!0&&!tj&&(Ja=wa(l),Ve.killTweensOf(M),Ja=0),sa(w,wa(l),o),i.reversed&&l.reverse(),i.paused&&l.paused(!0),(p||!h&&!k&&l._start===Oe(w._time)&&wt(p)&&jT(wa(l))&&w.data!=="nested")&&(l._tTime=-_e,l.render(Math.max(0,-u)||0)),x&&dI(wa(l),x),l}var r=e.prototype;return r.render=function(i,o,c){var l=this._time,d=this._tDur,h=this._dur,u=i<0,p=i>d-_e&&!u?d:i<_e?0:i,f,m,k,y,x,g,w,M,j;if(!h)ST(this,i,o,c);else if(p!==this._tTime||!i||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(f=p,M=this.timeline,this._repeat){if(y=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(y*100+i,o,c);if(f=Oe(p%y),p===d?(k=this._repeat,f=h):(x=Oe(p/y),k=~~x,k&&k===x?(f=h,k--):f>h&&(f=h)),g=this._yoyo&&k&1,g&&(j=this._yEase,f=h-f),x=Bo(this._tTime,y),f===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(M&&this._yEase&&jI(M,g),this.vars.repeatRefresh&&!g&&!this._lock&&f!==y&&this._initted&&(this._lock=c=1,this.render(Oe(y*k),!0).invalidate()._lock=0))}if(!this._initted){if(hI(this,u?i:f,c,o,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(i,o,c)}if(this._tTime=p,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(j||this._ease)(f/h),this._from&&(this.ratio=w=1-w),!l&&p&&!o&&!x&&(Pt(this,"onStart"),this._tTime!==p))return this;for(m=this._pt;m;)m.r(w,m.d),m=m._next;M&&M.render(i<0?i:M._dur*M._ease(f/this._dur),o,c)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(u&&LC(this,i,o,c),Pt(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!o&&this.parent&&Pt(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&LC(this,i,!0,!0),(i||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&or(this,1),!o&&!(u&&!l)&&(p||l||g)&&(Pt(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(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},r.resetTo=function(i,o,c,l,d){Vc||_t.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||hj(this,h),u=this._ease(h/this._dur),GT(this,i,o,c,l,u,h,d)?this.resetTo(i,o,c,l,1):(j9(this,0),this.parent||cI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?lc(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Ja&&Ja.vars.overwrite!==!0)._first||lc(this),this.parent&&c!==this.timeline.totalDuration()&&Uo(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=i?Gt(i):l,h=this._ptLookup,u=this._pt,p,f,m,k,y,x,g;if((!o||o==="all")&&bT(l,d))return o==="all"&&(this._pt=0),lc(this);for(p=this._op=this._op||[],o!=="all"&&(it(o)&&(y={},Mt(o,function(w){return y[w]=1}),o=y),o=WT(l,o)),g=l.length;g--;)if(~d.indexOf(l[g])){f=h[g],o==="all"?(p[g]=o,k=f,m={}):(m=p[g]=p[g]||{},k=o);for(y in k)x=f&&f[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&b9(this,x,"_pt"),delete f[y]),m!=="all"&&(m[y]=1)}return this._initted&&!this._pt&&u&&lc(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return Dc(1,arguments)},e.delayedCall=function(i,o,c,l){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(i,o,c){return Dc(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,c){return Ve.killTweensOf(i,o,c)},e}(Bc);Ft(Ye.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(a){Ye[a]=function(){var e=new ft,r=IC.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),e[a].apply(e,r)}});var uj=function(e,r,n){return e[r]=n},_I=function(e,r,n){return e[r](n)},XT=function(e,r,n,i){return e[r](i.fp,n)},JT=function(e,r,n){return e.setAttribute(r,n)},pj=function(e,r){return We(e[r])?_I:aj(e[r])&&e.setAttribute?JT:uj},PI=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},YT=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},qI=function(e,r){var n=r._pt,i="";if(!e&&r.b)i=r.b;else if(e===1&&r.e)i=r.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+i,n=n._next;i+=r.c}r.set(r.t,r.p,i,r)},yj=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},KT=function(e,r,n,i){for(var o=this._pt,c;o;)c=o._next,o.p===i&&o.modifier(e,r,n),o=c},QT=function(e){for(var r=this._pt,n,i;r;)i=r._next,r.p===e&&!r.op||r.op===e?b9(this,r,"_pt"):r.dep||(n=1),r=i;return!n},eR=function(e,r,n,i){i.mSet(e,r,i.m.call(i.tween,n,i.mt),i)},TI=function(e){for(var r=e._pt,n,i,o,c;r;){for(n=r._next,i=o;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:c)?r._prev._next=r:o=r,(r._next=i)?i._prev=r:c=r,r=n}e._pt=o},bt=function(){function a(r,n,i,o,c,l,d,h,u){this.t=n,this.s=o,this.c=c,this.p=i,this.r=l||PI,this.d=d||this,this.set=h||uj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=a.prototype;return e.modifier=function(n,i,o){this.mSet=this.mSet||this.set,this.set=eR,this.m=n,this.mt=o,this.tween=i},a}();Mt(oj+"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(a){return sj[a]=1});zt.TweenMax=zt.TweenLite=Ye;zt.TimelineLite=zt.TimelineMax=ft;Ve=new ft({sortChildren:!1,defaults:Oo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Rt.stringFilter=bI;var to=[],e9={},tR=[],wL=0,aR=0,rC=function(e){return(e9[e]||tR).map(function(r){return r()})},PC=function(){var e=Date.now(),r=[];e-wL>2&&(rC("matchMediaInit"),to.forEach(function(n){var i=n.queries,o=n.conditions,c,l,d,h;for(l in i)c=na.matchMedia(i[l]).matches,c&&(d=1),c!==o[l]&&(o[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),rC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(i){return n.add(null,i)})}),wL=e,rC("matchMedia"))},RI=function(){function a(r,n){this.selector=n&&NC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=aR++,r&&this.add(r)}var e=a.prototype;return e.add=function(n,i,o){We(n)&&(o=i,i=n,n=We);var c=this,l=function(){var h=Fe,u=c.selector,p;return h&&h!==c&&h.data.push(c),o&&(c.selector=NC(o)),Fe=c,p=i.apply(c,arguments),We(p)&&c._r.push(p),Fe=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===We?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var i=Fe;Fe=null,n(this),Fe=i},e.getTweens=function(){var n=[];return this.data.forEach(function(i){return i instanceof a?n.push.apply(n,i.getTweens()):i instanceof Ye&&!(i.parent&&i.parent.data==="nested")&&n.push(i)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,i){var o=this;if(n?function(){for(var l=o.getTweens(),d=o.data.length,h;d--;)h=o.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=o.data.length;d--;)h=o.data[d],h instanceof ft?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Ye)&&h.revert&&h.revert(n);o._r.forEach(function(u){return u(n,o)}),o.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),i)for(var c=to.length;c--;)to[c].id===this.id&&to.splice(c,1)},e.revert=function(n){this.kill(n||{})},a}(),rR=function(){function a(r){this.contexts=[],this.scope=r,Fe&&Fe.data.push(this)}var e=a.prototype;return e.add=function(n,i,o){pa(n)||(n={matches:n});var c=new RI(0,o||this.scope),l=c.conditions={},d,h,u;Fe&&!c.selector&&(c.selector=Fe.selector),this.contexts.push(c),i=c.add("onMatch",i),c.queries=n;for(h in n)h==="all"?u=1:(d=na.matchMedia(n[h]),d&&(to.indexOf(c)<0&&to.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(PC):d.addEventListener("change",PC)));return u&&i(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(i){return i.kill(n,!0)})},a}(),d9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(i){return vI(i)})},timeline:function(e){return new ft(e)},getTweensOf:function(e,r){return Ve.getTweensOf(e,r)},getProperty:function(e,r,n,i){it(e)&&(e=Gt(e)[0]);var o=Ks(e||{}).get,c=n?oI:sI;return n==="native"&&(n=""),e&&(r?c((It[r]&&It[r].get||o)(e,r,n,i)):function(l,d,h){return c((It[l]&&It[l].get||o)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=Gt(e),e.length>1){var i=e.map(function(u){return jt.quickSetter(u,r,n)}),o=i.length;return function(u){for(var p=o;p--;)i[p](u)}}e=e[0]||{};var c=It[r],l=Ks(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;fo._pt=0,p.init(e,n?u+n:u,fo,0,[e]),p.render(1,p),fo._pt&&yj(1,fo)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var i,o=jt.to(e,Ft((i={},i[r]="+=0.1",i.paused=!0,i.stagger=0,i),n||{})),c=function(d,h,u){return o.resetTo(r,d,h,u)};return c.tween=o,c},isTweening:function(e){return Ve.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=eo(e.ease,Oo.ease)),fL(Oo,e||{})},config:function(e){return fL(Rt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,i=e.plugins,o=e.defaults,c=e.extendTimeline;(i||"").split(",").forEach(function(l){return l&&!It[l]&&!zt[l]&&Ec(r+" effect requires "+l+" plugin.")}),Q9[r]=function(l,d,h){return n(Gt(l),Ft(d||{},o),h)},c&&(ft.prototype[r]=function(l,d,h){return this.add(Q9[r](l,pa(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){ge[e]=eo(r)},parseEase:function(e,r){return arguments.length?eo(e,r):ge},getById:function(e){return Ve.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ft(e),i,o;for(n.smoothChildTiming=wt(e.smoothChildTiming),Ve.remove(n),n._dp=0,n._time=n._tTime=Ve._time,i=Ve._first;i;)o=i._next,(r||!(!i._dur&&i instanceof Ye&&i.vars.onComplete===i._targets[0]))&&sa(n,i,i._start-i._delay),i=o;return sa(Ve,n,0),n},context:function(e,r){return e?new RI(e,r):Fe},matchMedia:function(e){return new rR(e)},matchMediaRefresh:function(){return to.forEach(function(e){var r=e.conditions,n,i;for(i in r)r[i]&&(r[i]=!1,n=1);n&&e.revert()})||PC()},addEventListener:function(e,r){var n=e9[e]||(e9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=e9[e],i=n&&n.indexOf(r);i>=0&&n.splice(i,1)},utils:{wrap:RT,wrapYoyo:DT,distribute:yI,random:fI,snap:mI,normalize:TT,getUnit:ht,clamp:AT,splitColor:wI,toArray:Gt,selector:NC,mapRange:kI,pipe:PT,unitize:qT,interpolate:zT,shuffle:pI},install:tI,effects:Q9,ticker:_t,updateRoot:ft.updateRoot,plugins:It,globalTimeline:Ve,core:{PropTween:bt,globals:aI,Tween:Ye,Timeline:ft,Animation:Bc,getCache:Ks,_removeLinkedListItem:b9,reverting:function(){return lt},context:function(e){return e&&Fe&&(Fe.data.push(e),e._ctx=Fe),Fe},suppressOverwrites:function(e){return tj=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return d9[a]=Ye[a]});_t.add(ft.updateRoot);fo=d9.to({},{duration:0});var nR=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},iR=function(e,r){var n=e._targets,i,o,c;for(i in r)for(o=n.length;o--;)c=e._ptLookup[o][i],c&&(c=c.d)&&(c._pt&&(c=nR(c,i)),c&&c.modifier&&c.modifier(r[i],e,n[o],i))},nC=function(e,r){return{name:e,headless:1,rawVars:1,init:function(i,o,c){c._onInit=function(l){var d,h;if(it(o)&&(d={},Mt(o,function(u){return d[u]=1}),o=d),r){d={};for(h in o)d[h]=r(o[h]);o=d}iR(l,o)}}}},jt=d9.registerPlugin({name:"attr",init:function(e,r,n,i,o){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],i,o,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)lt?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},nC("roundProps",AC),nC("modifiers"),nC("snap",mI))||d9;Ye.version=ft.version=jt.version="3.14.2";eI=1;rj()&&$o();ge.Power0;ge.Power1;ge.Power2;ge.Power3;ge.Power4;ge.Linear;ge.Quad;ge.Cubic;ge.Quart;ge.Quint;ge.Strong;ge.Elastic;ge.Back;ge.SteppedEase;ge.Bounce;ge.Sine;ge.Expo;ge.Circ;/*!
7733
7733
  * CSSPlugin 3.14.2
7734
7734
  * https://gsap.com
7735
7735
  *
7736
7736
  * Copyright 2008-2025, GreenSock. All rights reserved.
7737
7737
  * Subject to the terms at https://gsap.com/standard-license
7738
7738
  * @author: Jack Doyle, jack@greensock.com
7739
- */var ML,Ya,Ro,mj,$s,bL,fj,iR=function(){return typeof window<"u"},_a={},Bs=180/Math.PI,Do=Math.PI/180,ho=Math.atan2,CL=1e8,xj=/([A-Z])/g,sR=/(left|right|width|margin|padding|x)/i,oR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},cR=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},lR=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},dR=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},hR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},RI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},DI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},uR=function(e,r,n){return e.style[r]=n},pR=function(e,r,n){return e.style.setProperty(r,n)},yR=function(e,r,n){return e._gsap[r]=n},mR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},fR=function(e,r,n,i,o){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(o,c)},xR=function(e,r,n,i,o){var c=e._gsap;c[r]=n,c.renderTransform(o,c)},Be="transform",Ct=Be+"Origin",kR=function a(e,r){var n=this,i=this.target,o=i.style,c=i._gsap;if(e in _a&&o){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ja(i,l)}):this.tfm[e]=c.x?c[e]:ja(i,e),e===Ct&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf(Be)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ct,r,"")),e=Be}(o||r)&&this.props.push(e,r,o[e])},zI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},gR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,o,c;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?r[e[o]](e[o+2]):r[e[o]]=e[o+2]:e[o+2]?n[e[o]]=e[o+2]:n.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(xj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)i[c]=this.tfm[c];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),o=fj(),(!o||!o.isStart)&&!n[Be]&&(zI(n),i.zOrigin&&n[Ct]&&(n[Ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},FI=function(e,r){var n={target:e,props:[],revert:gR,save:kR};return e._gsap||jt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},EI,TC=function(e,r){var n=Ya.createElementNS?Ya.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ya.createElement(e);return n&&n.style?n:Ya.createElement(e)},qt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(xj,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Go(r)||r,1)||""},jL="O,Moz,ms,Ms,Webkit".split(","),Go=function(e,r,n){var i=r||$s,o=i.style,c=5;if(e in o&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(jL[c]+e in o););return c<0?null:(c===3?"ms":c>=0?jL[c]:"")+e},RC=function(){iR()&&window.document&&(ML=window,Ya=ML.document,Ro=Ya.documentElement,$s=TC("div")||{style:{}},TC("div"),Be=Go(Be),Ct=Be+"Origin",$s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",EI=!!Go("perspective"),fj=jt.core.reverting,mj=1)},LL=function(e){var r=e.ownerSVGElement,n=TC("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",n.appendChild(i),Ro.appendChild(n);try{o=i.getBBox()}catch{}return n.removeChild(i),Ro.removeChild(n),o},SL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},HI=function(e){var r,n;try{r=e.getBBox()}catch{r=LL(e),n=1}return r&&(r.width||r.height)||n||(r=LL(e)),r&&!r.width&&!r.x&&!r.y?{x:+SL(e,["x","cx","x1"])||0,y:+SL(e,["y","cy","y1"])||0,width:0,height:0}:r},OI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&HI(e))},cr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==Ct&&(r=Be),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(xj,"-$1").toLowerCase())):n.removeAttribute(r)}},Ka=function(e,r,n,i,o,c){var l=new bt(e._pt,r,n,0,1,c?DI:RI);return e._pt=l,l.b=i,l.e=o,e._props.push(n),l},IL={deg:1,rad:1,turn:1},vR={grid:1,flex:1},lr=function a(e,r,n,i){var o=parseFloat(n)||0,c=(n+"").trim().substr((o+"").length)||"px",l=$s.style,d=sR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,m=i==="px",f=i==="%",k,y,x,g;if(i===c||!o||IL[i]||IL[c])return o;if(c!=="px"&&!m&&(o=a(e,r,n,"px")),g=e.getCTM&&OI(e),(f||c==="%")&&(_a[r]||~r.indexOf("adius")))return k=g?e.getBBox()[d?"width":"height"]:e[u],Xe(f?o/k*p:o/100*k);if(l[d?"width":"height"]=p+(m?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Ya||!y.appendChild)&&(y=Ya.body),x=y._gsap,x&&f&&x.width&&d&&x.time===_t.time&&!x.uncache)return Xe(o/x.width*p);if(f&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,k=e[u],w?e.style[r]=w:cr(e,r)}else(f||c==="%")&&!vR[qt(y,"display")]&&(l.position=qt(e,"position")),y===e&&(l.position="static"),y.appendChild($s),k=$s[u],y.removeChild($s),l.position="absolute";return d&&f&&(x=Ks(y),x.time=_t.time,x.width=y[u]),Xe(m?k*o/p:k&&o?p/k*o:0)},ja=function(e,r,n,i){var o;return mj||RC(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(o=$c(e,i),o=r!=="transformOrigin"?o[r]:o.svg?o.origin:u9(qt(e,Ct))+" "+o.zOrigin+"px"):(o=e.style[r],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=h9[r]&&h9[r](e,r,n)||qt(e,r)||rI(e,r)||(r==="opacity"?1:0))),n&&!~(o+"").trim().indexOf(" ")?lr(e,r,o,n)+n:o},wR=function(e,r,n,i){if(!n||n==="none"){var o=Go(r,e,1),c=o&&qt(e,o,1);c&&c!==n?(r=o,n=c):r==="borderColor"&&(n=qt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,PI),d=0,h=0,u,p,m,f,k,y,x,g,w,M,j,b;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=qt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=qt(e,r)||i,y?e.style[r]=y:cr(e,r)),u=[n,i],MI(u),n=u[0],i=u[1],m=n.match(mo)||[],b=i.match(mo)||[],b.length){for(;p=mo.exec(i);)x=p[0],w=i.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(y=m[h++]||"")&&(f=parseFloat(y)||0,j=y.substr((f+"").length),x.charAt(1)==="="&&(x=To(f,x)+j),g=parseFloat(x),M=x.substr((g+"").length),d=mo.lastIndex-M.length,M||(M=M||Rt.units[r]||j,d===i.length&&(i+=M,l.e+=M)),j!==M&&(f=lr(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:f,c:g-f,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?DI:RI;return KS.test(i)&&(l.e=0),this._pt=l,l},NL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},MR=function(e){var r=e.split(" "),n=r[0],i=r[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),r[0]=NL[n]||n,r[1]=NL[i]||i,r.join(" ")},bR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,o=r.u,c=n._gsap,l,d,h;if(o==="all"||o===!0)i.cssText="",d=1;else for(o=o.split(","),h=o.length;--h>-1;)l=o[h],_a[l]&&(d=1,l=l==="transformOrigin"?Ct:Be),cr(n,l);d&&(cr(n,Be),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",$c(n,1),c.uncache=1,zI(i)))}},h9={clearProps:function(e,r,n,i,o){if(o.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,bR);return c.u=i,c.pr=-10,c.tween=o,e._props.push(n),1}}},Uc=[1,0,0,1,0,0],VI={},BI=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},AL=function(e){var r=qt(e,Be);return BI(r)?Uc:r.substr(7).match(YS).map(Xe)},kj=function(e,r){var n=e._gsap||Ks(e),i=e.style,o=AL(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,o=[d.a,d.b,d.c,d.d,d.e,d.f],o.join(",")==="1,0,0,1,0,0"?Uc:o):(o===Uc&&!e.offsetParent&&e!==Ro&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,Ro.appendChild(e)),o=AL(e),d?i.display=d:cr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Ro.removeChild(e))),r&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},DC=function(e,r,n,i,o,c){var l=e._gsap,d=o||kj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,m=l.yOffset||0,f=d[0],k=d[1],y=d[2],x=d[3],g=d[4],w=d[5],M=r.split(" "),j=parseFloat(M[0])||0,b=parseFloat(M[1])||0,N,S,L,A;n?d!==Uc&&(S=f*x-k*y)&&(L=j*(x/S)+b*(-y/S)+(y*w-x*g)/S,A=j*(-k/S)+b*(f/S)-(f*w-k*g)/S,j=L,b=A):(N=HI(e),j=N.x+(~M[0].indexOf("%")?j/100*N.width:j),b=N.y+(~(M[1]||M[0]).indexOf("%")?b/100*N.height:b)),i||i!==!1&&l.smooth?(g=j-h,w=b-u,l.xOffset=p+(g*f+w*y)-g,l.yOffset=m+(g*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=j,l.yOrigin=b,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[Ct]="0px 0px",c&&(Ka(c,l,"xOrigin",h,j),Ka(c,l,"yOrigin",u,b),Ka(c,l,"xOffset",p,l.xOffset),Ka(c,l,"yOffset",m,l.yOffset)),e.setAttribute("data-svg-origin",j+" "+b)},$c=function(e,r){var n=e._gsap||new LI(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,o=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=qt(e,Ct)||"0",u,p,m,f,k,y,x,g,w,M,j,b,N,S,L,A,T,R,D,_,q,z,V,G,E,re,ne,oe,ae,se,ee,le;return u=p=m=y=x=g=w=M=j=0,f=k=1,n.svg=!!(e.getCTM&&OI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[Be]=(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[Be]!=="none"?d[Be]:"")),i.scale=i.rotate=i.translate="none"),S=kj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",G=""):G=!r&&e.getAttribute("data-svg-origin"),DC(e,G||h,!!G||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,N=n.yOrigin||0,S!==Uc&&(R=S[0],D=S[1],_=S[2],q=S[3],u=z=S[4],p=V=S[5],S.length===6?(f=Math.sqrt(R*R+D*D),k=Math.sqrt(q*q+_*_),y=R||D?ho(D,R)*Bs:0,w=_||q?ho(_,q)*Bs+y:0,w&&(k*=Math.abs(Math.cos(w*Do))),n.svg&&(u-=b-(b*R+N*_),p-=N-(b*D+N*q))):(le=S[6],se=S[7],ne=S[8],oe=S[9],ae=S[10],ee=S[11],u=S[12],p=S[13],m=S[14],L=ho(le,ae),x=L*Bs,L&&(A=Math.cos(-L),T=Math.sin(-L),G=z*A+ne*T,E=V*A+oe*T,re=le*A+ae*T,ne=z*-T+ne*A,oe=V*-T+oe*A,ae=le*-T+ae*A,ee=se*-T+ee*A,z=G,V=E,le=re),L=ho(-_,ae),g=L*Bs,L&&(A=Math.cos(-L),T=Math.sin(-L),G=R*A-ne*T,E=D*A-oe*T,re=_*A-ae*T,ee=q*T+ee*A,R=G,D=E,_=re),L=ho(D,R),y=L*Bs,L&&(A=Math.cos(L),T=Math.sin(L),G=R*A+D*T,E=z*A+V*T,D=D*A-R*T,V=V*A-z*T,R=G,z=E),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,g=180-g),f=Xe(Math.sqrt(R*R+D*D+_*_)),k=Xe(Math.sqrt(V*V+le*le)),L=ho(z,V),w=Math.abs(L)>2e-4?L*Bs:0,j=ee?1/(ee<0?-ee:ee):0),n.svg&&(G=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!BI(qt(e,Be)),G&&e.setAttribute("transform",G))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(f*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=m+c,n.scaleX=Xe(f),n.scaleY=Xe(k),n.rotation=Xe(y)+l,n.rotationX=Xe(x)+l,n.rotationY=Xe(g)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=j+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[Ct]=u9(h)),n.xOffset=n.yOffset=0,n.force3D=Rt.force3D,n.renderTransform=n.svg?jR:EI?UI:CR,n.uncache=0,n},u9=function(e){return(e=e.split(" "))[0]+" "+e[1]},iC=function(e,r,n){var i=ht(r);return Xe(parseFloat(r)+parseFloat(lr(e,"x",n+"px",i)))+i},CR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,UI(e,r)},Mr="0deg",cc="0px",br=") ",UI=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,m=n.skewX,f=n.skewY,k=n.scaleX,y=n.scaleY,x=n.transformPerspective,g=n.force3D,w=n.target,M=n.zOrigin,j="",b=g==="auto"&&e&&e!==1||g===!0;if(M&&(p!==Mr||u!==Mr)){var N=parseFloat(u)*Do,S=Math.sin(N),L=Math.cos(N),A;N=parseFloat(p)*Do,A=Math.cos(N),c=iC(w,c,S*A*-M),l=iC(w,l,-Math.sin(N)*-M),d=iC(w,d,L*A*-M+M)}x!==cc&&(j+="perspective("+x+br),(i||o)&&(j+="translate("+i+"%, "+o+"%) "),(b||c!==cc||l!==cc||d!==cc)&&(j+=d!==cc||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+br),h!==Mr&&(j+="rotate("+h+br),u!==Mr&&(j+="rotateY("+u+br),p!==Mr&&(j+="rotateX("+p+br),(m!==Mr||f!==Mr)&&(j+="skew("+m+", "+f+br),(k!==1||y!==1)&&(j+="scale("+k+", "+y+br),w.style[Be]=j||"translate(0, 0)"},jR=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,m=n.scaleY,f=n.target,k=n.xOrigin,y=n.yOrigin,x=n.xOffset,g=n.yOffset,w=n.forceCSS,M=parseFloat(c),j=parseFloat(l),b,N,S,L,A;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Do,h*=Do,b=Math.cos(d)*p,N=Math.sin(d)*p,S=Math.sin(d-h)*-m,L=Math.cos(d-h)*m,h&&(u*=Do,A=Math.tan(h-u),A=Math.sqrt(1+A*A),S*=A,L*=A,u&&(A=Math.tan(u),A=Math.sqrt(1+A*A),b*=A,N*=A)),b=Xe(b),N=Xe(N),S=Xe(S),L=Xe(L)):(b=p,L=m,N=S=0),(M&&!~(c+"").indexOf("px")||j&&!~(l+"").indexOf("px"))&&(M=lr(f,"x",c,"px"),j=lr(f,"y",l,"px")),(k||y||x||g)&&(M=Xe(M+k-(k*b+y*S)+x),j=Xe(j+y-(k*N+y*L)+g)),(i||o)&&(A=f.getBBox(),M=Xe(M+i/100*A.width),j=Xe(j+o/100*A.height)),A="matrix("+b+","+N+","+S+","+L+","+M+","+j+")",f.setAttribute("transform",A),w&&(f.style[Be]=A)},LR=function(e,r,n,i,o){var c=360,l=it(o),d=parseFloat(o)*(l&&~o.indexOf("rad")?Bs:1),h=d-i,u=i+h+"deg",p,m;return l&&(p=o.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*CL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*CL)%c-~~(h/c)*c)),e._pt=m=new bt(e._pt,r,n,i,h,cR),m.e=u,m.u="deg",e._props.push(n),m},_L=function(e,r){for(var n in r)e[n]=r[n];return e},SR=function(e,r,n){var i=_L({},n._gsap),o="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,m,f,k;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Be]=r,l=$c(n,1),cr(n,Be),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Be],c[Be]=r,l=$c(n,1),c[Be]=h);for(d in _a)h=i[d],u=l[d],h!==u&&o.indexOf(d)<0&&(f=ht(h),k=ht(u),p=f!==k?lr(n,d,h,k):parseFloat(h),m=parseFloat(u),e._pt=new bt(e._pt,l,d,p,m-p,qC),e._pt.u=k||0,e._props.push(d));_L(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",o="Left",c=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map(function(l){return e<2?a+l:"border"+l+a});h9[e>1?"border"+a:a]=function(l,d,h,u,p){var m,f;if(arguments.length<4)return m=c.map(function(k){return ja(l,k,h)}),f=m.join(" "),f.split(m[0]).length===5?m[0]:f;m=(u+"").split(" "),f={},c.forEach(function(k,y){return f[k]=m[y]=m[y]||m[(y-1)/2|0]}),l.init(d,f,p)}});var $I={name:"css",register:RC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,o){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,m,f,k,y,x,g,w,M,j,b,N,S,L,A;mj||RC(),this.styles=this.styles||FI(e),L=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&SI(y,r,n,i,e,o)))){if(f=typeof u,k=h9[y],f==="function"&&(u=u.call(n,i,e,o),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Oc(u)),k)k(this,e,y,u,n)&&(S=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",rr.lastIndex=0,rr.test(h)||(x=ht(h),g=ht(u),g?x!==g&&(h=lr(e,y,h,g)+g):x&&(u+=x)),this.add(l,"setProperty",h,u,i,o,0,0,y),c.push(y),L.push(y,0,l[y]);else if(f!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,o):d[y],it(h)&&~h.indexOf("random(")&&(h=Oc(h)),ht(h+"")||h==="auto"||(h+=Rt.units[y]||ht(ja(e,y))||""),(h+"").charAt(1)==="="&&(h=ja(e,y))):h=ja(e,y),m=parseFloat(h),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(m===1&&ja(e,"visibility")==="hidden"&&p&&(m=0),L.push("visibility",0,l.visibility),Ka(this,l,"visibility",m?"inherit":"hidden",p?"inherit":"hidden",!p)),y!=="scale"&&y!=="transform"&&(y=ca[y],~y.indexOf(",")&&(y=y.split(",")[0]))),M=y in _a,M){if(this.styles.save(y),A=u,f==="string"&&u.substring(0,6)==="var(--"){if(u=qt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=u,u=qt(e,"perspective"),T?e.style.perspective=T:cr(e,"perspective")}p=parseFloat(u)}if(j||(b=e._gsap,b.renderTransform&&!r.parseTransform||$c(e,r.parseTransform),N=r.smoothOrigin!==!1&&b.smooth,j=this._pt=new bt(this._pt,l,Be,0,1,b.renderTransform,b,0,-1),j.dep=1),y==="scale")this._pt=new bt(this._pt,b,"scaleY",b.scaleY,(w?To(b.scaleY,w+p):p)-b.scaleY||0,qC),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){L.push(Ct,0,l[Ct]),u=MR(u),b.svg?DC(e,u,0,N,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==b.zOrigin&&Ka(this,b,"zOrigin",b.zOrigin,g),Ka(this,l,y,u9(h),u9(u)));continue}else if(y==="svgOrigin"){DC(e,u,1,N,0,this);continue}else if(y in VI){LR(this,b,y,m,w?To(m,w+u):u);continue}else if(y==="smoothOrigin"){Ka(this,b,"smooth",b.smooth,u);continue}else if(y==="force3D"){b[y]=u;continue}else if(y==="transform"){SR(this,u,e);continue}}else y in l||(y=Go(y)||y);if(M||(p||p===0)&&(m||m===0)&&!oR.test(u)&&y in l)x=(h+"").substr((m+"").length),p||(p=0),g=ht(u)||(y in Rt.units?Rt.units[y]:x),x!==g&&(m=lr(e,y,h,g)),this._pt=new bt(this._pt,M?b:l,y,m,(w?To(m,w+p):p)-m,!M&&(g==="px"||y==="zIndex")&&r.autoRound!==!1?hR:qC),this._pt.u=g||0,M&&A!==u?(this._pt.b=h,this._pt.e=A,this._pt.r=dR):x!==g&&g!=="%"&&(this._pt.b=h,this._pt.r=lR);else if(y in l)wR.call(this,e,y,h,w?w+u:u);else if(y in e)this.add(e,y,h||e[y],w?w+u:u,i,o);else if(y!=="parseTransform"){ij(y,u);continue}M||(y in l?L.push(y,0,l[y]):typeof e[y]=="function"?L.push(y,2,e[y]()):L.push(y,1,h||e[y])),c.push(y)}}S&&qI(this)},render:function(e,r){if(r.tween._time||!fj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ja,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==Ct&&(e._gsap.x||ja(e,"x"))?n&&bL===n?r==="scale"?mR:yR:(bL=n||{})&&(r==="scale"?fR:xR):e.style&&!aj(e.style[r])?uR:~r.indexOf("-")?pR:pj(e,r)},core:{_removeProperty:cr,_getMatrix:kj}};jt.utils.checkPrefix=Go;jt.core.getStyleSaver=FI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(o){_a[o]=1});Mt(e,function(o){Rt.units[o]="deg",VI[o]=1}),ca[i[13]]=a+","+e,Mt(n,function(o){var c=o.split(":");ca[c[1]]=i[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Rt.units[a]="px"});jt.registerPlugin($I);var GI=jt.registerPlugin($I)||jt;GI.core.Tween;function gj(a){return vq[a]||Wa}function WI({advantages:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>{const o=gj(n.icon);return t.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[t.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[o?t.jsx(o,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?t.jsx("div",{className:"mt-auto",children:t.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,t.jsx(ko,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function IR({title:a="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:i="Message",namePlaceholder:o="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:f=!0}){const k=y=>{y.preventDefault();const x=new FormData(y.currentTarget);m==null||m({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return t.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[t.jsxs("form",{className:"space-y-6",onSubmit:k,children:[t.jsxs("div",{children:[t.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),t.jsx("input",{type:"text",id:"name",name:"name",placeholder:o,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),t.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"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:i}),t.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"})]}),t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),f&&t.jsxs("div",{className:"mt-12 space-y-4",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(ha,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:h})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Js,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:u})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(So,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const ZI=C.createContext(void 0);function NR({children:a}){const[e,r]=C.useState([]),[n,i]=C.useState(!1),o=C.useCallback(u=>{r(p=>p.find(f=>f.id===u.id)?p.map(f=>f.id===u.id?{...f,quantity:f.quantity+1}:f):[...p,{...u,quantity:1}]),i(!0)},[]),c=C.useCallback(u=>{r(p=>p.filter(m=>m.id!==u))},[]),l=C.useCallback((u,p)=>{r(m=>m.map(f=>f.id===u?{...f,quantity:Math.max(0,p)}:f))},[]),d=C.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(ZI.Provider,{value:{items:e,isOpen:n,addItem:o,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function XI(){const a=C.useContext(ZI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function JI({courses:a,title:e,description:r}){const{addItem:n}=XI();return t.jsx("section",{id:"courses",className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:a.map(i=>t.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:i.title}),t.jsxs("div",{className:"space-y-3 mb-6",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Qt,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.duration})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ia,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.type})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(_c,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.level})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:i.description}),t.jsx("div",{className:"flex items-center justify-between mb-4",children:t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",i.price]})}),t.jsxs("button",{onClick:()=>n({id:i.id,name:i.title,price:i.price,duration:i.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:[t.jsx(Po,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function YI({destinations:a,title:e,description:r}){const[n,i]=C.useState(0),[o,c]=C.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=C.useState(l());C.useEffect(()=>{const f=()=>{h(l())};return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]),C.useEffect(()=>{let f;return o&&(f=setInterval(()=>{i(k=>(k+1)%(a.length-d+1))},5e3)),()=>clearInterval(f)},[o]);const u=()=>{i(f=>Math.max(0,f-1)),c(!1)},p=()=>{i(f=>Math.min(a.length-d,f+1)),c(!1)},m=a.slice(n,n+d);return t.jsx("section",{id:"destinations",className:"py-20",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsxs("div",{className:"mt-16 relative",children:[t.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:m.map((f,k)=>t.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:[t.jsx("img",{src:f.image,alt:f.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:t.jsxs("div",{className:"absolute bottom-0 p-6",children:[t.jsxs("div",{className:"flex items-center text-white mb-2",children:[t.jsx(Zt,{className:"h-5 w-5 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold",children:f.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:f.description})]})})]},n+k))}),t.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:t.jsx(Zs,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:p,disabled:n>=a.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>=a.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(er,{className:"h-6 w-6 text-gray-800"})})]}),t.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(a.length/d)}).map((f,k)=>t.jsx("button",{onClick:()=>{i(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const AR=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function _R({title:a="GlobalEnglish",navItems:e=AR,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(bo,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:o=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=C.useState(o),p=c??h,m=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},f=k=>t.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return t.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex items-center",children:[i,t.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:a})]}),t.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(f),t.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),t.jsx("div",{className:"md:hidden flex items-center",children:t.jsx("button",{onClick:m,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?t.jsx(Tt,{className:"h-6 w-6"}):t.jsx(Lo,{className:"h-6 w-6"})})})]})}),p&&t.jsx("div",{className:"md:hidden",children:t.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>t.jsx("a",{href:k.href,onClick:()=>{var y;(y=k.onClick)==null||y.call(k),m()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function KI({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:o,secondary_btn_link:c}){return t.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[t.jsx("div",{className:"absolute inset-0",children:t.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),t.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[t.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:a}),t.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i&&n?t.jsxs("a",{href:i,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,t.jsx(ko,{className:"ml-2 h-5 w-5"})]}):"",c&&o?t.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:o}):""]})]})]})}function QI({title:a,description:e,services:r}){return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,i)=>{const o=gj(n.icon);return t.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[t.jsxs("div",{className:"text-yellow-600 mb-4",children:[o?t.jsx(o,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},i)})})]})})}function eN({testimonials:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[t.jsx("div",{className:"absolute -top-4 -left-4",children:t.jsx(No,{className:"h-8 w-8 text-yellow-600"})}),t.jsxs("div",{className:"flex items-center mb-6",children:[t.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),t.jsxs("div",{className:"ml-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),t.jsx("p",{className:"text-gray-600",children:n.from})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),t.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((o,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function tN({videos:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative group",children:[t.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[t.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:t.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:t.jsx(Ic,{className:"h-8 w-8 text-yellow-600"})})})}),t.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),t.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},i))})]})})}function aN({features:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-24",children:a.map((n,i)=>t.jsxs("div",{className:`flex flex-col gap-8 items-center ${i%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[t.jsx("div",{className:"w-full lg:w-1/2",children:t.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:t.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),t.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),t.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),t.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"})]})]},i))})]})})}function rN({faqs:a,title:e,description:r}){const[n,i]=C.useState(null),o=c=>{i(l=>l===c?null:c)};return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-4",children:a.map((c,l)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[t.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>o(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(fc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Ws,{className:"h-5 w-5 text-gray-500"})]}),t.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:t.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function PR({images:a,autoPlayInterval:e=5e3}){const[r,n]=C.useState(0);C.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%a.length)},e);return()=>clearInterval(l)},[a.length,e]);const i=l=>{n(l)},o=()=>{n(l=>(l-1+a.length)%a.length)},c=()=>{n(l=>(l+1)%a.length)};return t.jsxs("div",{className:"relative w-full h-[600px] group",children:[t.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:a.map((l,d)=>t.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:[t.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&t.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:t.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),t.jsx("button",{onClick:o,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:t.jsx(Zs,{className:"h-6 w-6 text-gray-800"})}),t.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:t.jsx(er,{className:"h-6 w-6 text-gray-800"})}),t.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:a.map((l,d)=>t.jsx("button",{onClick:()=>i(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 nN({images:a,title:e,description:r,autoPlayInterval:n=5e3}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx(PR,{images:a,autoPlayInterval:n})]})})}function iN({initialMessages:a}){const[e,r]=C.useState(!1),[n,i]=C.useState(a),[o,c]=C.useState(""),l=d=>{if(d.preventDefault(),!o.trim())return;const h={text:o,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};i(f=>[...f,h,m]),c("")};return t.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?t.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center text-white",children:[t.jsx(pc,{className:"h-6 w-6 mr-2"}),t.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),t.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:t.jsx(Tt,{className:"h-5 w-5"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>t.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:t.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[t.jsx("p",{className:"text-sm",children:d.text}),t.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),t.jsx("form",{onSubmit:l,className:"p-4 border-t",children:t.jsxs("div",{className:"flex space-x-2",children:[t.jsx("input",{type:"text",value:o,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"}),t.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Nc,{className:"h-5 w-5"})})]})})]}):t.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsx(So,{className:"h-6 w-6"})})})}function sN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:o="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:m,total:f}=XI(),k=()=>{l==null||l(!h),u()};return h?t.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[t.jsx("h2",{className:"text-xl font-semibold",children:a}),t.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":o,children:t.jsx(Tt,{className:"h-6 w-6"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?t.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):t.jsx("div",{className:"space-y-4",children:d.map(y=>t.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:y.name}),t.jsx("p",{className:"text-sm text-gray-500",children:y.duration})]}),t.jsx("button",{onClick:()=>p(y.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${y.name}`,children:t.jsx(qo,{className:"h-5 w-5"})})]}),t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>m(y.id,y.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${y.name}`,children:t.jsx(Sc,{className:"h-4 w-4"})}),t.jsx("span",{className:"w-8 text-center",children:y.quantity}),t.jsx("button",{onClick:()=>m(y.id,y.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${y.name}`,children:t.jsx(Io,{className:"h-4 w-4"})})]}),t.jsxs("p",{className:"font-medium",children:[i,(y.price*y.quantity).toFixed(2)]})]})]},y.id))})}),t.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("span",{className:"font-medium",children:r}),t.jsxs("span",{className:"text-xl font-bold",children:[i,f.toFixed(2)]})]}),t.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})]})]}):t.jsx("button",{onClick:k,"aria-label":o,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:t.jsxs("div",{className:"relative",children:[t.jsx(Po,{className:"h-6 w-6"}),d.length>0&&t.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 oN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:o="Features"}){const[c,l]=C.useState(null),d=h=>{l(c===h?null:h)};return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:a.map((h,u)=>t.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:t.jsxs("div",{className:"p-6",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),t.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),t.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:t.jsxs("div",{className:"mt-4 space-y-4",children:[t.jsx("p",{className:"text-gray-700",children:h.fullDescription}),t.jsxs("div",{className:"border-t pt-4",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:o}),t.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,m)=>t.jsxs("li",{className:"text-gray-600",children:["• ",p]},m))})]})]})}),t.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?i:n})]})},u))})]})})}function cN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:o="/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 t.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((f,k)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&t.jsxs("div",{className:"relative w-5 h-5",children:[t.jsx(Ut,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),t.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(m)].map((f,k)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:a.map((d,h)=>t.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),t.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),t.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),t.jsxs("div",{className:"mb-4",children:[t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,i]}),t.jsxs("span",{className:"text-gray-600",children:["/",o]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),t.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const m=gj(u.icon);return t.jsxs("div",{className:"flex items-center text-gray-700",children:[m?t.jsx(m,{className:"w-5 h-5"}):null,t.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?t.jsx("div",{className:"mt-8",children:t.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 qR=[{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"]}],TR=[{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."}],RR=[{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"}],DR=[{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"}],zR=[{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"}],FR=[{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."}],ER=[{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}],HR=[{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"}],OR=[{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}],VR=[{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}],BR=[{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."}],UR=[{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"}]}],$R=()=>(C.useEffect(()=>{GI.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),t.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[t.jsx(NR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(_R,{}),t.jsx(KI,{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"}),t.jsx(QI,{services:TR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(oN,{services:qR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(WI,{advantages:DR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(aN,{features:RR,title:"Titulo",description:"description"}),t.jsx(cN,{courses:UR,title:"Test",description:"test"}),t.jsx(nN,{images:zR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(YI,{destinations:FR,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(JI,{courses:ER,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(tN,{videos:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(eN,{testimonials:OR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(rN,{faqs:BR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(IR,{}),t.jsx(iN,{initialMessages:VR}),t.jsx(sN,{})]})}),t.jsx("footer",{className:"bg-gray-800 text-white py-8",children:t.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[t.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),t.jsxs("nav",{className:"flex justify-center space-x-6",children:[t.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),t.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),t.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function GR({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:o}){const[c,l]=C.useState(r||[]),[d,h]=C.useState(!r),[u,p]=C.useState(null);C.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const y=await fetch(o||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const x=await y.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(m())}finally{h(!1)}})()},[r,o]);const m=()=>{const f=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,g)=>({id:`mock-job-${g}`,title:k[g%k.length],company:f[g%f.length],companyLogo:`/logos/${f[g%f.length].toLowerCase()}.png`,location:y[g%y.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((f,k)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),t.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4 text-center",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[t.jsx("p",{children:u}),t.jsx($,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&t.jsx("div",{children:e}),t.jsx("h2",{className:"text-2xl font-bold",children:a})]}),c.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(f=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:t.jsx("img",{src:f.companyLogo||"/placeholder.svg",alt:`${f.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:f.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:f.company})]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:f.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:f.salary}),t.jsx($,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},f.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx($,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=i,children:n})})]}):t.jsx("div",{className:"text-center py-8",children:t.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function lN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:o}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-3xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),t.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[t.jsx($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),t.jsx($,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=o,children:i})]})]})})})}function dN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:o,secondaryButtonLink:c="#"}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsx("div",{className:"container mx-auto px-4 relative z-10",children:t.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:t.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[t.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[a," ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),t.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[t.jsxs("a",{href:i,className:`justify-center whitespace-nowrap text-sm transition-colors
7739
+ */var ML,Ya,Ro,mj,$s,bL,fj,sR=function(){return typeof window<"u"},_a={},Bs=180/Math.PI,Do=Math.PI/180,ho=Math.atan2,CL=1e8,xj=/([A-Z])/g,oR=/(left|right|width|margin|padding|x)/i,cR=/[\s,\(]\S/,ca={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},qC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},lR=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},dR=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},hR=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},uR=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},DI=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},zI=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},pR=function(e,r,n){return e.style[r]=n},yR=function(e,r,n){return e.style.setProperty(r,n)},mR=function(e,r,n){return e._gsap[r]=n},fR=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},xR=function(e,r,n,i,o){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(o,c)},kR=function(e,r,n,i,o){var c=e._gsap;c[r]=n,c.renderTransform(o,c)},Be="transform",Ct=Be+"Origin",gR=function a(e,r){var n=this,i=this.target,o=i.style,c=i._gsap;if(e in _a&&o){if(this.tfm=this.tfm||{},e!=="transform")e=ca[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ja(i,l)}):this.tfm[e]=c.x?c[e]:ja(i,e),e===Ct&&(this.tfm.zOrigin=c.zOrigin);else return ca.transform.split(",").forEach(function(l){return a.call(n,l,r)});if(this.props.indexOf(Be)>=0)return;c.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Ct,r,"")),e=Be}(o||r)&&this.props.push(e,r,o[e])},FI=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},vR=function(){var e=this.props,r=this.target,n=r.style,i=r._gsap,o,c;for(o=0;o<e.length;o+=3)e[o+1]?e[o+1]===2?r[e[o]](e[o+2]):r[e[o]]=e[o+2]:e[o+2]?n[e[o]]=e[o+2]:n.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(xj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)i[c]=this.tfm[c];i.svg&&(i.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),o=fj(),(!o||!o.isStart)&&!n[Be]&&(FI(n),i.zOrigin&&n[Ct]&&(n[Ct]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},EI=function(e,r){var n={target:e,props:[],revert:vR,save:gR};return e._gsap||jt.core.getCache(e),r&&e.style&&e.nodeType&&r.split(",").forEach(function(i){return n.save(i)}),n},HI,TC=function(e,r){var n=Ya.createElementNS?Ya.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ya.createElement(e);return n&&n.style?n:Ya.createElement(e)},qt=function a(e,r,n){var i=getComputedStyle(e);return i[r]||i.getPropertyValue(r.replace(xj,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&a(e,Go(r)||r,1)||""},jL="O,Moz,ms,Ms,Webkit".split(","),Go=function(e,r,n){var i=r||$s,o=i.style,c=5;if(e in o&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(jL[c]+e in o););return c<0?null:(c===3?"ms":c>=0?jL[c]:"")+e},RC=function(){sR()&&window.document&&(ML=window,Ya=ML.document,Ro=Ya.documentElement,$s=TC("div")||{style:{}},TC("div"),Be=Go(Be),Ct=Be+"Origin",$s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",HI=!!Go("perspective"),fj=jt.core.reverting,mj=1)},LL=function(e){var r=e.ownerSVGElement,n=TC("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),o;i.style.display="block",n.appendChild(i),Ro.appendChild(n);try{o=i.getBBox()}catch{}return n.removeChild(i),Ro.removeChild(n),o},SL=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},OI=function(e){var r,n;try{r=e.getBBox()}catch{r=LL(e),n=1}return r&&(r.width||r.height)||n||(r=LL(e)),r&&!r.width&&!r.x&&!r.y?{x:+SL(e,["x","cx","x1"])||0,y:+SL(e,["y","cy","y1"])||0,width:0,height:0}:r},VI=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&OI(e))},cr=function(e,r){if(r){var n=e.style,i;r in _a&&r!==Ct&&(r=Be),n.removeProperty?(i=r.substr(0,2),(i==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(i==="--"?r:r.replace(xj,"-$1").toLowerCase())):n.removeAttribute(r)}},Ka=function(e,r,n,i,o,c){var l=new bt(e._pt,r,n,0,1,c?zI:DI);return e._pt=l,l.b=i,l.e=o,e._props.push(n),l},IL={deg:1,rad:1,turn:1},wR={grid:1,flex:1},lr=function a(e,r,n,i){var o=parseFloat(n)||0,c=(n+"").trim().substr((o+"").length)||"px",l=$s.style,d=oR.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,f=i==="px",m=i==="%",k,y,x,g;if(i===c||!o||IL[i]||IL[c])return o;if(c!=="px"&&!f&&(o=a(e,r,n,"px")),g=e.getCTM&&VI(e),(m||c==="%")&&(_a[r]||~r.indexOf("adius")))return k=g?e.getBBox()[d?"width":"height"]:e[u],Xe(m?o/k*p:o/100*k);if(l[d?"width":"height"]=p+(f?c:i),y=i!=="rem"&&~r.indexOf("adius")||i==="em"&&e.appendChild&&!h?e:e.parentNode,g&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Ya||!y.appendChild)&&(y=Ya.body),x=y._gsap,x&&m&&x.width&&d&&x.time===_t.time&&!x.uncache)return Xe(o/x.width*p);if(m&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+i,k=e[u],w?e.style[r]=w:cr(e,r)}else(m||c==="%")&&!wR[qt(y,"display")]&&(l.position=qt(e,"position")),y===e&&(l.position="static"),y.appendChild($s),k=$s[u],y.removeChild($s),l.position="absolute";return d&&m&&(x=Ks(y),x.time=_t.time,x.width=y[u]),Xe(f?k*o/p:k&&o?p/k*o:0)},ja=function(e,r,n,i){var o;return mj||RC(),r in ca&&r!=="transform"&&(r=ca[r],~r.indexOf(",")&&(r=r.split(",")[0])),_a[r]&&r!=="transform"?(o=$c(e,i),o=r!=="transformOrigin"?o[r]:o.svg?o.origin:u9(qt(e,Ct))+" "+o.zOrigin+"px"):(o=e.style[r],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=h9[r]&&h9[r](e,r,n)||qt(e,r)||nI(e,r)||(r==="opacity"?1:0))),n&&!~(o+"").trim().indexOf(" ")?lr(e,r,o,n)+n:o},MR=function(e,r,n,i){if(!n||n==="none"){var o=Go(r,e,1),c=o&&qt(e,o,1);c&&c!==n?(r=o,n=c):r==="borderColor"&&(n=qt(e,"borderTopColor"))}var l=new bt(this._pt,e.style,r,0,1,qI),d=0,h=0,u,p,f,m,k,y,x,g,w,M,j,b;if(l.b=n,l.e=i,n+="",i+="",i.substring(0,6)==="var(--"&&(i=qt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(y=e.style[r],e.style[r]=i,i=qt(e,r)||i,y?e.style[r]=y:cr(e,r)),u=[n,i],bI(u),n=u[0],i=u[1],f=n.match(mo)||[],b=i.match(mo)||[],b.length){for(;p=mo.exec(i);)x=p[0],w=i.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(y=f[h++]||"")&&(m=parseFloat(y)||0,j=y.substr((m+"").length),x.charAt(1)==="="&&(x=To(m,x)+j),g=parseFloat(x),M=x.substr((g+"").length),d=mo.lastIndex-M.length,M||(M=M||Rt.units[r]||j,d===i.length&&(i+=M,l.e+=M)),j!==M&&(m=lr(e,r,y,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:m,c:g-m,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<i.length?i.substring(d,i.length):""}else l.r=r==="display"&&i==="none"?zI:DI;return QS.test(i)&&(l.e=0),this._pt=l,l},NL={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},bR=function(e){var r=e.split(" "),n=r[0],i=r[1]||"50%";return(n==="top"||n==="bottom"||i==="left"||i==="right")&&(e=n,n=i,i=e),r[0]=NL[n]||n,r[1]=NL[i]||i,r.join(" ")},CR=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,i=n.style,o=r.u,c=n._gsap,l,d,h;if(o==="all"||o===!0)i.cssText="",d=1;else for(o=o.split(","),h=o.length;--h>-1;)l=o[h],_a[l]&&(d=1,l=l==="transformOrigin"?Ct:Be),cr(n,l);d&&(cr(n,Be),c&&(c.svg&&n.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",$c(n,1),c.uncache=1,FI(i)))}},h9={clearProps:function(e,r,n,i,o){if(o.data!=="isFromStart"){var c=e._pt=new bt(e._pt,r,n,0,0,CR);return c.u=i,c.pr=-10,c.tween=o,e._props.push(n),1}}},Uc=[1,0,0,1,0,0],BI={},UI=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},AL=function(e){var r=qt(e,Be);return UI(r)?Uc:r.substr(7).match(KS).map(Xe)},kj=function(e,r){var n=e._gsap||Ks(e),i=e.style,o=AL(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,o=[d.a,d.b,d.c,d.d,d.e,d.f],o.join(",")==="1,0,0,1,0,0"?Uc:o):(o===Uc&&!e.offsetParent&&e!==Ro&&!n.svg&&(d=i.display,i.display="block",c=e.parentNode,(!c||!e.offsetParent&&!e.getBoundingClientRect().width)&&(h=1,l=e.nextElementSibling,Ro.appendChild(e)),o=AL(e),d?i.display=d:cr(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Ro.removeChild(e))),r&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},DC=function(e,r,n,i,o,c){var l=e._gsap,d=o||kj(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,f=l.yOffset||0,m=d[0],k=d[1],y=d[2],x=d[3],g=d[4],w=d[5],M=r.split(" "),j=parseFloat(M[0])||0,b=parseFloat(M[1])||0,N,S,L,A;n?d!==Uc&&(S=m*x-k*y)&&(L=j*(x/S)+b*(-y/S)+(y*w-x*g)/S,A=j*(-k/S)+b*(m/S)-(m*w-k*g)/S,j=L,b=A):(N=OI(e),j=N.x+(~M[0].indexOf("%")?j/100*N.width:j),b=N.y+(~(M[1]||M[0]).indexOf("%")?b/100*N.height:b)),i||i!==!1&&l.smooth?(g=j-h,w=b-u,l.xOffset=p+(g*m+w*y)-g,l.yOffset=f+(g*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=j,l.yOrigin=b,l.smooth=!!i,l.origin=r,l.originIsAbsolute=!!n,e.style[Ct]="0px 0px",c&&(Ka(c,l,"xOrigin",h,j),Ka(c,l,"yOrigin",u,b),Ka(c,l,"xOffset",p,l.xOffset),Ka(c,l,"yOffset",f,l.yOffset)),e.setAttribute("data-svg-origin",j+" "+b)},$c=function(e,r){var n=e._gsap||new SI(e);if("x"in n&&!r&&!n.uncache)return n;var i=e.style,o=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=qt(e,Ct)||"0",u,p,f,m,k,y,x,g,w,M,j,b,N,S,L,A,T,R,D,_,q,z,V,G,E,re,ne,oe,ae,se,ee,le;return u=p=f=y=x=g=w=M=j=0,m=k=1,n.svg=!!(e.getCTM&&VI(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(i[Be]=(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[Be]!=="none"?d[Be]:"")),i.scale=i.rotate=i.translate="none"),S=kj(e,n.svg),n.svg&&(n.uncache?(E=e.getBBox(),h=n.xOrigin-E.x+"px "+(n.yOrigin-E.y)+"px",G=""):G=!r&&e.getAttribute("data-svg-origin"),DC(e,G||h,!!G||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,N=n.yOrigin||0,S!==Uc&&(R=S[0],D=S[1],_=S[2],q=S[3],u=z=S[4],p=V=S[5],S.length===6?(m=Math.sqrt(R*R+D*D),k=Math.sqrt(q*q+_*_),y=R||D?ho(D,R)*Bs:0,w=_||q?ho(_,q)*Bs+y:0,w&&(k*=Math.abs(Math.cos(w*Do))),n.svg&&(u-=b-(b*R+N*_),p-=N-(b*D+N*q))):(le=S[6],se=S[7],ne=S[8],oe=S[9],ae=S[10],ee=S[11],u=S[12],p=S[13],f=S[14],L=ho(le,ae),x=L*Bs,L&&(A=Math.cos(-L),T=Math.sin(-L),G=z*A+ne*T,E=V*A+oe*T,re=le*A+ae*T,ne=z*-T+ne*A,oe=V*-T+oe*A,ae=le*-T+ae*A,ee=se*-T+ee*A,z=G,V=E,le=re),L=ho(-_,ae),g=L*Bs,L&&(A=Math.cos(-L),T=Math.sin(-L),G=R*A-ne*T,E=D*A-oe*T,re=_*A-ae*T,ee=q*T+ee*A,R=G,D=E,_=re),L=ho(D,R),y=L*Bs,L&&(A=Math.cos(L),T=Math.sin(L),G=R*A+D*T,E=z*A+V*T,D=D*A-R*T,V=V*A-z*T,R=G,z=E),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,g=180-g),m=Xe(Math.sqrt(R*R+D*D+_*_)),k=Xe(Math.sqrt(V*V+le*le)),L=ho(z,V),w=Math.abs(L)>2e-4?L*Bs:0,j=ee?1/(ee<0?-ee:ee):0),n.svg&&(G=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!UI(qt(e,Be)),G&&e.setAttribute("transform",G))),Math.abs(w)>90&&Math.abs(w)<270&&(o?(m*=-1,w+=y<=0?180:-180,y+=y<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=f+c,n.scaleX=Xe(m),n.scaleY=Xe(k),n.rotation=Xe(y)+l,n.rotationX=Xe(x)+l,n.rotationY=Xe(g)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=j+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(i[Ct]=u9(h)),n.xOffset=n.yOffset=0,n.force3D=Rt.force3D,n.renderTransform=n.svg?LR:HI?$I:jR,n.uncache=0,n},u9=function(e){return(e=e.split(" "))[0]+" "+e[1]},iC=function(e,r,n){var i=ht(r);return Xe(parseFloat(r)+parseFloat(lr(e,"x",n+"px",i)))+i},jR=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,$I(e,r)},Mr="0deg",cc="0px",br=") ",$I=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,f=n.skewX,m=n.skewY,k=n.scaleX,y=n.scaleY,x=n.transformPerspective,g=n.force3D,w=n.target,M=n.zOrigin,j="",b=g==="auto"&&e&&e!==1||g===!0;if(M&&(p!==Mr||u!==Mr)){var N=parseFloat(u)*Do,S=Math.sin(N),L=Math.cos(N),A;N=parseFloat(p)*Do,A=Math.cos(N),c=iC(w,c,S*A*-M),l=iC(w,l,-Math.sin(N)*-M),d=iC(w,d,L*A*-M+M)}x!==cc&&(j+="perspective("+x+br),(i||o)&&(j+="translate("+i+"%, "+o+"%) "),(b||c!==cc||l!==cc||d!==cc)&&(j+=d!==cc||b?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+br),h!==Mr&&(j+="rotate("+h+br),u!==Mr&&(j+="rotateY("+u+br),p!==Mr&&(j+="rotateX("+p+br),(f!==Mr||m!==Mr)&&(j+="skew("+f+", "+m+br),(k!==1||y!==1)&&(j+="scale("+k+", "+y+br),w.style[Be]=j||"translate(0, 0)"},LR=function(e,r){var n=r||this,i=n.xPercent,o=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,f=n.scaleY,m=n.target,k=n.xOrigin,y=n.yOrigin,x=n.xOffset,g=n.yOffset,w=n.forceCSS,M=parseFloat(c),j=parseFloat(l),b,N,S,L,A;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Do,h*=Do,b=Math.cos(d)*p,N=Math.sin(d)*p,S=Math.sin(d-h)*-f,L=Math.cos(d-h)*f,h&&(u*=Do,A=Math.tan(h-u),A=Math.sqrt(1+A*A),S*=A,L*=A,u&&(A=Math.tan(u),A=Math.sqrt(1+A*A),b*=A,N*=A)),b=Xe(b),N=Xe(N),S=Xe(S),L=Xe(L)):(b=p,L=f,N=S=0),(M&&!~(c+"").indexOf("px")||j&&!~(l+"").indexOf("px"))&&(M=lr(m,"x",c,"px"),j=lr(m,"y",l,"px")),(k||y||x||g)&&(M=Xe(M+k-(k*b+y*S)+x),j=Xe(j+y-(k*N+y*L)+g)),(i||o)&&(A=m.getBBox(),M=Xe(M+i/100*A.width),j=Xe(j+o/100*A.height)),A="matrix("+b+","+N+","+S+","+L+","+M+","+j+")",m.setAttribute("transform",A),w&&(m.style[Be]=A)},SR=function(e,r,n,i,o){var c=360,l=it(o),d=parseFloat(o)*(l&&~o.indexOf("rad")?Bs:1),h=d-i,u=i+h+"deg",p,f;return l&&(p=o.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*CL)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*CL)%c-~~(h/c)*c)),e._pt=f=new bt(e._pt,r,n,i,h,lR),f.e=u,f.u="deg",e._props.push(n),f},_L=function(e,r){for(var n in r)e[n]=r[n];return e},IR=function(e,r,n){var i=_L({},n._gsap),o="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,f,m,k;i.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[Be]=r,l=$c(n,1),cr(n,Be),n.setAttribute("transform",h)):(h=getComputedStyle(n)[Be],c[Be]=r,l=$c(n,1),c[Be]=h);for(d in _a)h=i[d],u=l[d],h!==u&&o.indexOf(d)<0&&(m=ht(h),k=ht(u),p=m!==k?lr(n,d,h,k):parseFloat(h),f=parseFloat(u),e._pt=new bt(e._pt,l,d,p,f-p,qC),e._pt.u=k||0,e._props.push(d));_L(l,i)};Mt("padding,margin,Width,Radius",function(a,e){var r="Top",n="Right",i="Bottom",o="Left",c=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map(function(l){return e<2?a+l:"border"+l+a});h9[e>1?"border"+a:a]=function(l,d,h,u,p){var f,m;if(arguments.length<4)return f=c.map(function(k){return ja(l,k,h)}),m=f.join(" "),m.split(f[0]).length===5?f[0]:m;f=(u+"").split(" "),m={},c.forEach(function(k,y){return m[k]=f[y]=f[y]||f[(y-1)/2|0]}),l.init(d,m,p)}});var GI={name:"css",register:RC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,i,o){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,f,m,k,y,x,g,w,M,j,b,N,S,L,A;mj||RC(),this.styles=this.styles||EI(e),L=this.styles.props,this.tween=n;for(y in r)if(y!=="autoRound"&&(u=r[y],!(It[y]&&II(y,r,n,i,e,o)))){if(m=typeof u,k=h9[y],m==="function"&&(u=u.call(n,i,e,o),m=typeof u),m==="string"&&~u.indexOf("random(")&&(u=Oc(u)),k)k(this,e,y,u,n)&&(S=1);else if(y.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(y)+"").trim(),u+="",rr.lastIndex=0,rr.test(h)||(x=ht(h),g=ht(u),g?x!==g&&(h=lr(e,y,h,g)+g):x&&(u+=x)),this.add(l,"setProperty",h,u,i,o,0,0,y),c.push(y),L.push(y,0,l[y]);else if(m!=="undefined"){if(d&&y in d?(h=typeof d[y]=="function"?d[y].call(n,i,e,o):d[y],it(h)&&~h.indexOf("random(")&&(h=Oc(h)),ht(h+"")||h==="auto"||(h+=Rt.units[y]||ht(ja(e,y))||""),(h+"").charAt(1)==="="&&(h=ja(e,y))):h=ja(e,y),f=parseFloat(h),w=m==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),y in ca&&(y==="autoAlpha"&&(f===1&&ja(e,"visibility")==="hidden"&&p&&(f=0),L.push("visibility",0,l.visibility),Ka(this,l,"visibility",f?"inherit":"hidden",p?"inherit":"hidden",!p)),y!=="scale"&&y!=="transform"&&(y=ca[y],~y.indexOf(",")&&(y=y.split(",")[0]))),M=y in _a,M){if(this.styles.save(y),A=u,m==="string"&&u.substring(0,6)==="var(--"){if(u=qt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var T=e.style.perspective;e.style.perspective=u,u=qt(e,"perspective"),T?e.style.perspective=T:cr(e,"perspective")}p=parseFloat(u)}if(j||(b=e._gsap,b.renderTransform&&!r.parseTransform||$c(e,r.parseTransform),N=r.smoothOrigin!==!1&&b.smooth,j=this._pt=new bt(this._pt,l,Be,0,1,b.renderTransform,b,0,-1),j.dep=1),y==="scale")this._pt=new bt(this._pt,b,"scaleY",b.scaleY,(w?To(b.scaleY,w+p):p)-b.scaleY||0,qC),this._pt.u=0,c.push("scaleY",y),y+="X";else if(y==="transformOrigin"){L.push(Ct,0,l[Ct]),u=bR(u),b.svg?DC(e,u,0,N,0,this):(g=parseFloat(u.split(" ")[2])||0,g!==b.zOrigin&&Ka(this,b,"zOrigin",b.zOrigin,g),Ka(this,l,y,u9(h),u9(u)));continue}else if(y==="svgOrigin"){DC(e,u,1,N,0,this);continue}else if(y in BI){SR(this,b,y,f,w?To(f,w+u):u);continue}else if(y==="smoothOrigin"){Ka(this,b,"smooth",b.smooth,u);continue}else if(y==="force3D"){b[y]=u;continue}else if(y==="transform"){IR(this,u,e);continue}}else y in l||(y=Go(y)||y);if(M||(p||p===0)&&(f||f===0)&&!cR.test(u)&&y in l)x=(h+"").substr((f+"").length),p||(p=0),g=ht(u)||(y in Rt.units?Rt.units[y]:x),x!==g&&(f=lr(e,y,h,g)),this._pt=new bt(this._pt,M?b:l,y,f,(w?To(f,w+p):p)-f,!M&&(g==="px"||y==="zIndex")&&r.autoRound!==!1?uR:qC),this._pt.u=g||0,M&&A!==u?(this._pt.b=h,this._pt.e=A,this._pt.r=hR):x!==g&&g!=="%"&&(this._pt.b=h,this._pt.r=dR);else if(y in l)MR.call(this,e,y,h,w?w+u:u);else if(y in e)this.add(e,y,h||e[y],w?w+u:u,i,o);else if(y!=="parseTransform"){ij(y,u);continue}M||(y in l?L.push(y,0,l[y]):typeof e[y]=="function"?L.push(y,2,e[y]()):L.push(y,1,h||e[y])),c.push(y)}}S&&TI(this)},render:function(e,r){if(r.tween._time||!fj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ja,aliases:ca,getSetter:function(e,r,n){var i=ca[r];return i&&i.indexOf(",")<0&&(r=i),r in _a&&r!==Ct&&(e._gsap.x||ja(e,"x"))?n&&bL===n?r==="scale"?fR:mR:(bL=n||{})&&(r==="scale"?xR:kR):e.style&&!aj(e.style[r])?pR:~r.indexOf("-")?yR:pj(e,r)},core:{_removeProperty:cr,_getMatrix:kj}};jt.utils.checkPrefix=Go;jt.core.getStyleSaver=EI;(function(a,e,r,n){var i=Mt(a+","+e+","+r,function(o){_a[o]=1});Mt(e,function(o){Rt.units[o]="deg",BI[o]=1}),ca[i[13]]=a+","+e,Mt(n,function(o){var c=o.split(":");ca[c[1]]=i[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Rt.units[a]="px"});jt.registerPlugin(GI);var WI=jt.registerPlugin(GI)||jt;WI.core.Tween;function gj(a){return wq[a]||Wa}function ZI({advantages:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>{const o=gj(n.icon);return t.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[t.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[o?t.jsx(o,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?t.jsx("div",{className:"mt-auto",children:t.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,t.jsx(ko,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},i)})})]})})}function NR({title:a="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:i="Message",namePlaceholder:o="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:f,showContactDetails:m=!0}){const k=y=>{y.preventDefault();const x=new FormData(y.currentTarget);f==null||f({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return t.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[t.jsxs("form",{className:"space-y-6",onSubmit:k,children:[t.jsxs("div",{children:[t.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),t.jsx("input",{type:"text",id:"name",name:"name",placeholder:o,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),t.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"})]}),t.jsxs("div",{children:[t.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:i}),t.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"})]}),t.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),m&&t.jsxs("div",{className:"mt-12 space-y-4",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(ha,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:h})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Js,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:u})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(So,{className:"h-6 w-6 mr-3"}),t.jsx("span",{children:p})]})]})]})]})})}const XI=C.createContext(void 0);function AR({children:a}){const[e,r]=C.useState([]),[n,i]=C.useState(!1),o=C.useCallback(u=>{r(p=>p.find(m=>m.id===u.id)?p.map(m=>m.id===u.id?{...m,quantity:m.quantity+1}:m):[...p,{...u,quantity:1}]),i(!0)},[]),c=C.useCallback(u=>{r(p=>p.filter(f=>f.id!==u))},[]),l=C.useCallback((u,p)=>{r(f=>f.map(m=>m.id===u?{...m,quantity:Math.max(0,p)}:m))},[]),d=C.useCallback(()=>{i(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return t.jsx(XI.Provider,{value:{items:e,isOpen:n,addItem:o,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:a})}function JI(){const a=C.useContext(XI);if(a===void 0)throw new Error("useCart must be used within a CartProvider");return a}function YI({courses:a,title:e,description:r}){const{addItem:n}=JI();return t.jsx("section",{id:"courses",className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:a.map(i=>t.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:i.title}),t.jsxs("div",{className:"space-y-3 mb-6",children:[t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Qt,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.duration})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(Ia,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.type})]}),t.jsxs("div",{className:"flex items-center text-gray-600",children:[t.jsx(_c,{className:"h-5 w-5 mr-2"}),t.jsx("span",{children:i.level})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:i.description}),t.jsx("div",{className:"flex items-center justify-between mb-4",children:t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",i.price]})}),t.jsxs("button",{onClick:()=>n({id:i.id,name:i.title,price:i.price,duration:i.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:[t.jsx(Po,{className:"h-5 w-5"}),t.jsx("span",{children:"Add to Cart"})]})]},i.id))})]})})}function KI({destinations:a,title:e,description:r}){const[n,i]=C.useState(0),[o,c]=C.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=C.useState(l());C.useEffect(()=>{const m=()=>{h(l())};return window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]),C.useEffect(()=>{let m;return o&&(m=setInterval(()=>{i(k=>(k+1)%(a.length-d+1))},5e3)),()=>clearInterval(m)},[o]);const u=()=>{i(m=>Math.max(0,m-1)),c(!1)},p=()=>{i(m=>Math.min(a.length-d,m+1)),c(!1)},f=a.slice(n,n+d);return t.jsx("section",{id:"destinations",className:"py-20",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsxs("div",{className:"mt-16 relative",children:[t.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:f.map((m,k)=>t.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:[t.jsx("img",{src:m.image,alt:m.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:t.jsxs("div",{className:"absolute bottom-0 p-6",children:[t.jsxs("div",{className:"flex items-center text-white mb-2",children:[t.jsx(Zt,{className:"h-5 w-5 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold",children:m.name})]}),t.jsx("p",{className:"text-white/90 text-sm",children:m.description})]})})]},n+k))}),t.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:t.jsx(Zs,{className:"h-6 w-6 text-gray-800"})}),t.jsx("button",{onClick:p,disabled:n>=a.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>=a.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:t.jsx(er,{className:"h-6 w-6 text-gray-800"})})]}),t.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(a.length/d)}).map((m,k)=>t.jsx("button",{onClick:()=>{i(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const _R=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function PR({title:a="GlobalEnglish",navItems:e=_R,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:i=t.jsx(bo,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:o=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=C.useState(o),p=c??h,f=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},m=k=>t.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return t.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex items-center",children:[i,t.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:a})]}),t.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(m),t.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),t.jsx("div",{className:"md:hidden flex items-center",children:t.jsx("button",{onClick:f,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?t.jsx(Tt,{className:"h-6 w-6"}):t.jsx(Lo,{className:"h-6 w-6"})})})]})}),p&&t.jsx("div",{className:"md:hidden",children:t.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>t.jsx("a",{href:k.href,onClick:()=>{var y;(y=k.onClick)==null||y.call(k),f()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),t.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function QI({title:a,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:i,secondary_btn_text:o,secondary_btn_link:c}){return t.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[t.jsx("div",{className:"absolute inset-0",children:t.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),t.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[t.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:a}),t.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i&&n?t.jsxs("a",{href:i,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,t.jsx(ko,{className:"ml-2 h-5 w-5"})]}):"",c&&o?t.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:o}):""]})]})]})}function eN({title:a,description:e,services:r}){return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:a}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),t.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,i)=>{const o=gj(n.icon);return t.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[t.jsxs("div",{className:"text-yellow-600 mb-4",children:[o?t.jsx(o,{className:"h-8 w-8"}):null," "]}),t.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},i)})})]})})}function tN({testimonials:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[t.jsx("div",{className:"absolute -top-4 -left-4",children:t.jsx(No,{className:"h-8 w-8 text-yellow-600"})}),t.jsxs("div",{className:"flex items-center mb-6",children:[t.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),t.jsxs("div",{className:"ml-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),t.jsx("p",{className:"text-gray-600",children:n.from})]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),t.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((o,c)=>t.jsx(Ut,{className:"h-5 w-5 fill-current"},c))})]},i))})]})})}function aN({videos:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:a.map((n,i)=>t.jsxs("div",{className:"relative group",children:[t.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[t.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),t.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:t.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:t.jsx(Ic,{className:"h-8 w-8 text-yellow-600"})})})}),t.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),t.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),t.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},i))})]})})}function rN({features:a,title:e,description:r}){return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-24",children:a.map((n,i)=>t.jsxs("div",{className:`flex flex-col gap-8 items-center ${i%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[t.jsx("div",{className:"w-full lg:w-1/2",children:t.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:t.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),t.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),t.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),t.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"})]})]},i))})]})})}function nN({faqs:a,title:e,description:r}){const[n,i]=C.useState(null),o=c=>{i(l=>l===c?null:c)};return t.jsx("section",{className:"py-20 bg-white",children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"space-y-4",children:a.map((c,l)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[t.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>o(l),children:[t.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?t.jsx(fc,{className:"h-5 w-5 text-gray-500"}):t.jsx(Ws,{className:"h-5 w-5 text-gray-500"})]}),t.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:t.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function qR({images:a,autoPlayInterval:e=5e3}){const[r,n]=C.useState(0);C.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%a.length)},e);return()=>clearInterval(l)},[a.length,e]);const i=l=>{n(l)},o=()=>{n(l=>(l-1+a.length)%a.length)},c=()=>{n(l=>(l+1)%a.length)};return t.jsxs("div",{className:"relative w-full h-[600px] group",children:[t.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:a.map((l,d)=>t.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:[t.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&t.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:t.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),t.jsx("button",{onClick:o,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:t.jsx(Zs,{className:"h-6 w-6 text-gray-800"})}),t.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:t.jsx(er,{className:"h-6 w-6 text-gray-800"})}),t.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:a.map((l,d)=>t.jsx("button",{onClick:()=>i(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 iN({images:a,title:e,description:r,autoPlayInterval:n=5e3}){return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-12",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx(qR,{images:a,autoPlayInterval:n})]})})}function sN({initialMessages:a}){const[e,r]=C.useState(!1),[n,i]=C.useState(a),[o,c]=C.useState(""),l=d=>{if(d.preventDefault(),!o.trim())return;const h={text:o,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?"],f={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};i(m=>[...m,h,f]),c("")};return t.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?t.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center text-white",children:[t.jsx(pc,{className:"h-6 w-6 mr-2"}),t.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),t.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:t.jsx(Tt,{className:"h-5 w-5"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>t.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:t.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[t.jsx("p",{className:"text-sm",children:d.text}),t.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),t.jsx("form",{onSubmit:l,className:"p-4 border-t",children:t.jsxs("div",{className:"flex space-x-2",children:[t.jsx("input",{type:"text",value:o,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"}),t.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:t.jsx(Nc,{className:"h-5 w-5"})})]})})]}):t.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:t.jsx(So,{className:"h-6 w-6"})})})}function oN({title:a="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:i="$",floatingButtonAriaLabel:o="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:f,total:m}=JI(),k=()=>{l==null||l(!h),u()};return h?t.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[t.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[t.jsx("h2",{className:"text-xl font-semibold",children:a}),t.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":o,children:t.jsx(Tt,{className:"h-6 w-6"})})]}),t.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?t.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):t.jsx("div",{className:"space-y-4",children:d.map(y=>t.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"font-medium",children:y.name}),t.jsx("p",{className:"text-sm text-gray-500",children:y.duration})]}),t.jsx("button",{onClick:()=>p(y.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${y.name}`,children:t.jsx(qo,{className:"h-5 w-5"})})]}),t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>f(y.id,y.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${y.name}`,children:t.jsx(Sc,{className:"h-4 w-4"})}),t.jsx("span",{className:"w-8 text-center",children:y.quantity}),t.jsx("button",{onClick:()=>f(y.id,y.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${y.name}`,children:t.jsx(Io,{className:"h-4 w-4"})})]}),t.jsxs("p",{className:"font-medium",children:[i,(y.price*y.quantity).toFixed(2)]})]})]},y.id))})}),t.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("span",{className:"font-medium",children:r}),t.jsxs("span",{className:"text-xl font-bold",children:[i,m.toFixed(2)]})]}),t.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})]})]}):t.jsx("button",{onClick:k,"aria-label":o,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:t.jsxs("div",{className:"relative",children:[t.jsx(Po,{className:"h-6 w-6"}),d.length>0&&t.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 cN({services:a,title:e,description:r,showBtn:n="Show",hideBtn:i="Hide",featuresBtn:o="Features"}){const[c,l]=C.useState(null),d=h=>{l(c===h?null:h)};return t.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:a.map((h,u)=>t.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:t.jsxs("div",{className:"p-6",children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),t.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),t.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:t.jsxs("div",{className:"mt-4 space-y-4",children:[t.jsx("p",{className:"text-gray-700",children:h.fullDescription}),t.jsxs("div",{className:"border-t pt-4",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:o}),t.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,f)=>t.jsxs("li",{className:"text-gray-600",children:["• ",p]},f))})]})]})}),t.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?i:n})]})},u))})]})})}function lN({courses:a=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:i="€",perDurationLabel:o="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,f=5-Math.ceil(h);return t.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((m,k)=>t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&t.jsxs("div",{className:"relative w-5 h-5",children:[t.jsx(Ut,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),t.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:t.jsx(Ut,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(f)].map((m,k)=>t.jsx(Ut,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return t.jsx("section",{className:"py-20 bg-gray-50",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-16",children:[t.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),t.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:a.map((d,h)=>t.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),t.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),t.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),t.jsxs("div",{className:"mb-4",children:[t.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,i]}),t.jsxs("span",{className:"text-gray-600",children:["/",o]})]}),t.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),t.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const f=gj(u.icon);return t.jsxs("div",{className:"flex items-center text-gray-700",children:[f?t.jsx(f,{className:"w-5 h-5"}):null,t.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?t.jsx("div",{className:"mt-8",children:t.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 TR=[{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"]}],RR=[{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."}],DR=[{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"}],zR=[{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"}],FR=[{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"}],ER=[{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."}],HR=[{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}],OR=[{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"}],VR=[{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}],BR=[{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}],UR=[{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."}],$R=[{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"}]}],GR=()=>(C.useEffect(()=>{WI.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),t.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[t.jsx(AR,{children:t.jsxs("div",{className:"min-h-screen bg-white",children:[t.jsx(PR,{}),t.jsx(QI,{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"}),t.jsx(eN,{services:RR,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),t.jsx(cN,{services:TR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(ZI,{advantages:zR,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),t.jsx(rN,{features:DR,title:"Titulo",description:"description"}),t.jsx(lN,{courses:$R,title:"Test",description:"test"}),t.jsx(iN,{images:FR,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),t.jsx(KI,{destinations:ER,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),t.jsx(YI,{courses:HR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(aN,{videos:OR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(tN,{testimonials:VR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(nN,{faqs:UR,title:"Our Courses",description:"Find the perfect course to match your goals"}),t.jsx(NR,{}),t.jsx(sN,{initialMessages:BR}),t.jsx(oN,{})]})}),t.jsx("footer",{className:"bg-gray-800 text-white py-8",children:t.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[t.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),t.jsxs("nav",{className:"flex justify-center space-x-6",children:[t.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),t.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),t.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function WR({title:a,icon:e,jobs:r,viewAllText:n,viewAllHref:i,apiUrl:o}){const[c,l]=C.useState(r||[]),[d,h]=C.useState(!r),[u,p]=C.useState(null);C.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const y=await fetch(o||"/api/featured-jobs");if(!y.ok)throw new Error(`Failed to fetch jobs: ${y.status}`);const x=await y.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(f())}finally{h(!1)}})()},[r,o]);const f=()=>{const m=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],y=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,g)=>({id:`mock-job-${g}`,title:k[g%k.length],company:m[g%m.length],companyLogo:`/logos/${m[g%m.length].toLowerCase()}.png`,location:y[g%y.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((m,k)=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),t.jsxs("div",{className:"space-y-2",children:[t.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),t.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),t.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?t.jsx("section",{className:"py-16 bg-white",children:t.jsx("div",{className:"container mx-auto px-4 text-center",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[t.jsx("p",{children:u}),t.jsx(U,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&t.jsx("div",{children:e}),t.jsx("h2",{className:"text-2xl font-bold",children:a})]}),c.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(m=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[t.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[t.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:t.jsx("img",{src:m.companyLogo||"/placeholder.svg",alt:`${m.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),t.jsxs("div",{children:[t.jsx("h3",{className:"font-bold",children:m.title}),t.jsx("p",{className:"text-gray-600 text-sm",children:m.company})]})]}),t.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:m.location})]}),t.jsx("div",{className:"text-green-600 font-medium mb-4",children:m.salary}),t.jsx(U,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},m.id))}),t.jsx("div",{className:"mt-8 text-center",children:t.jsx(U,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=i,children:n})})]}):t.jsx("div",{className:"text-center py-8",children:t.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function dN({title:a,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:i,secondaryButtonHref:o}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-3xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),t.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[t.jsx(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),t.jsx(U,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=o,children:i})]})]})})})}function hN({title:a,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:i="#",secondaryButtonText:o,secondaryButtonLink:c="#"}){return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsx("div",{className:"container mx-auto px-4 relative z-10",children:t.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:t.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[t.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[a," ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),t.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),t.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[t.jsxs("a",{href:i,className:`justify-center whitespace-nowrap text-sm transition-colors
7740
7740
  focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
7741
7741
  disabled:opacity-50 shadow h-9 bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6
7742
7742
  py-2 rounded flex items-center gap-2`,children:[t.jsx(Xt,{size:18}),n]}),t.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
7743
7743
  focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
7744
7744
  disabled:opacity-50 border shadow-sm hover:text-accent-foreground h-9
7745
7745
  bg-transparent border-white hover:bg-white/10 text-white font-medium
7746
- px-6 py-2 rounded flex items-center gap-2`,children:[t.jsx(qc,{size:18}),o]})]}),t.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function hN({title:a,values:e}){return t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:a}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const i=r.icon;return t.jsxs("div",{className:"flex flex-col items-center text-center",children:[t.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:t.jsx(i,{className:"w-8 h-8 text-yellow-500"})}),t.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),t.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function uN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,o]=C.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];C.useEffect(()=>{const h=setInterval(()=>{o(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{o(h=>(h+1)%c.length)},d=()=>{o(h=>(h-1+c.length)%c.length)};return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:a}),t.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"})]}),t.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[t.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[t.jsx(No,{className:"h-12 w-12 text-yellow-500 mb-6"}),t.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[i].content,'"']}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:t.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[i].name.charAt(0)})}),t.jsxs("div",{children:[t.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[i].name}),t.jsxs("div",{className:"text-primary-foreground/70",children:[c[i].role," at ",c[i].company]}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[i].location})]})]}),t.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[i].rating)].map((h,u)=>t.jsx(Ut,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),t.jsxs("div",{className:"flex items-center justify-between mt-8",children:[t.jsx($,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(Zs,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>o(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===i?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),t.jsx($,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:t.jsx(er,{className:"h-6 w-6"})})]})]}),t.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function pN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:o=!1,email:c=null}){const[l,d]=C.useState(c??""),[h,u]=C.useState(!1),[p,m]=C.useState(!1);C.useEffect(()=>{if(o){m(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),g=localStorage.getItem("leadId");x&&g&&(m(!0),d(x))}catch{}},[o,c]);const f=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(x.ok){const g=await x.json();localStorage.setItem("leadId",g.id),localStorage.setItem("email",l),m(!0)}else{const g=await x.text();alert("Submission failed: "+g)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||o,y=c??l;return t.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-2xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?t.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",y?` as ${y}`:"","."]}):t.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[t.jsx(Ke,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx($,{onClick:f,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":i})]})]})})})}function yN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:o="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=C.useState(""),[m,f]=C.useState(""),[k,y]=C.useState([]),[x,g]=C.useState(!1),w="Browse 3,500+ iGaming Jobs",M=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],j=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];C.useEffect(()=>{const A=new URLSearchParams(window.location.search),T=A.get("q")||"",R=A.get("location")||"";p(T),f(R)},[]),C.useEffect(()=>{if(u.length<3){y([]);return}const A=setTimeout(()=>{b(u)},300);return()=>clearTimeout(A)},[u]);const b=async A=>{if(!i||d){y([`${A} Developer`,`${A} Manager`,`${A} Specialist`,`${A} Coordinator`,`${A} Agent`]);return}try{g(!0);const T=await fetch(`${i}/suggestions?q=${encodeURIComponent(A)}`);if(!T.ok)throw new Error("Failed to fetch suggestions");const R=await T.json();y(R.suggestions||[])}catch(T){console.error("Error fetching suggestions:",T),y([])}finally{g(!1)}},N=A=>p(A),S=A=>{A.key==="Enter"&&L()},L=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${m}`);return}const A=new URLSearchParams;u&&A.set("q",u),m&&A.set("location",m),window.location.href=`/jobs?${A.toString()}`};return t.jsxs("section",{className:`py-12 bg-gray-100 ${o}`,children:[t.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a||w}),t.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"})]}),t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[t.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[t.jsxs("div",{className:"flex-grow relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx(Ke,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:A=>N(A.target.value),onKeyDown:S,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:k.map((A,T)=>t.jsx("option",{value:A},T))}),u&&t.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(ia,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),x&&t.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:t.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&t.jsx("div",{className:"w-full md:w-1/3",children:t.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:m,onChange:A=>f(A.target.value),children:[t.jsx("option",{value:"",children:"All Locations"}),(e||M).map(A=>t.jsx("option",{value:A.id,children:A.name},A.id))]})}),t.jsxs($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:L,disabled:x,children:[t.jsx(Xt,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||j).length>0&&t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[t.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||j).map((A,T)=>t.jsx("a",{href:A.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:A.label},T))]})]})})]})}function mN({logo:a,navItems:e}){const[r,n]=C.useState(!1);return t.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[t.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[t.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((i,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},o))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Tt,{size:24}):t.jsx(Lo,{size:24})})]}),r&&t.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:t.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((i,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},o))})})]})}function fN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:o,poweredBy:c}){return t.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[t.jsxs("div",{className:"col-span-1",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("p",{className:"text-gray-400 mb-4",children:e}),t.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>t.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>t.jsxs("div",{className:"col-span-1",children:[t.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),t.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>t.jsx("li",{children:t.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),t.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:t.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(ha,{size:16}),t.jsx("span",{children:i.email})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Js,{size:16}),t.jsx("span",{children:i.phone})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:i.location})]})]})}),t.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:[t.jsx("p",{children:o}),t.jsx("p",{children:c})]})]})})}const xN=()=>{const[a,e]=C.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return t.jsx("section",{className:"py-20 bg-gray-100",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,i)=>t.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:`${i*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[t.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:t.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:t.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),t.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),a===n.id&&t.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),t.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),t.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),t.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),t.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[t.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),t.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"}),t.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t.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 WR(){const[a,e]=C.useState(null);return C.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const kN=C.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function gN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=C.useState({analytics:!1,marketing:!1,preferences:!1}),[i,o]=C.useState(!1),l=(p=>p.replace(/\/+$/,""))(a??"http://localhost:5147"),[d,h]=C.useState(null);C.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),C.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),o(!0);return}catch{}if(!d){o(!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(()=>o(!0))},[d]);const u=async p=>{const m={...r,...p,timestamp:new Date().toISOString()};n(m),localStorage.setItem("consent",JSON.stringify(m));const f={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(f)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return t.jsx(kN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const vj=()=>C.useContext(kN);function ZR({allow:a,children:e}){const{consent:r,ready:n}=vj();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function vN({title:a="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:i=!1,isOpen:o,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=vj(),[p,m]=C.useState(i);C.useEffect(()=>{o===void 0&&u&&!d.timestamp&&m(!0)},[d.timestamp,o,u]);const f=C.useMemo(()=>o??p,[o,p]),k=()=>{o===void 0&&m(!1)};if(!f)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return t.jsxs("div",{role:"dialog","aria-label":a,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[t.jsx("p",{className:"text-sm",children:e}),t.jsxs("div",{className:"mt-3 flex gap-2",children:[t.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:x,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const XR={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"}]},JR={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
7747
- sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},YR={title:"Why Choose Us?",values:[{icon:vt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Ia,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Ga,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Co,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},KR={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"},QR={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")},eD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},tD={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"},aD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:t.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:[t.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"}),t.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),t.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:t.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:[t.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),t.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),t.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"},Ua=(a,e)=>({...a,...e??{}});function rD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:o,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:m=!0,showForEmployers:f=!0,showConsentBanner:k=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:g,email:w}=WR(),M=Ua(XR,a),j=Ua(JR,e),b=Ua(YR,r),N=Ua(KR,n),S=Ua(QR,i),L=Ua(eD,o),A=Ua(tD,c),T=Ua(aD,l),R={...L,isSubscribed:(o==null?void 0:o.isSubscribed)??g,email:(o==null?void 0:o.email)??w};return t.jsx(gN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(mN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(dN,{...j}),d&&t.jsx(hN,{...b}),h&&t.jsx(yN,{...N}),u&&t.jsx(uN,{...S}),p&&t.jsx(xN,{}),m&&t.jsx(pN,{...R}),f&&t.jsx(lN,{...A})]}),t.jsx(fN,{...T}),k&&t.jsx(vN,{...x})]})})}function wj({title:a="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:i="http://localhost:5147"}){const[o,c]=C.useState(""),[l,d]=C.useState(!1),[h,u]=C.useState(!1);C.useEffect(()=>{const m=localStorage.getItem("email");m&&(u(!0),c(m))},[]);const p=async()=>{if(!o||!o.includes("@")){alert("Please enter a valid email");return}d(!0);try{const m=await fetch(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(m.ok){const f=await m.json();localStorage.setItem("leadId",f.id),localStorage.setItem("email",o),u(!0)}else{const f=await m.text();alert("Submission failed: "+f)}}catch{alert("Network error while submitting")}finally{d(!1)}};return t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:a}),t.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?t.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(Ke,{type:"email",value:o,onChange:m=>c(m.target.value),placeholder:r,className:"mb-3"}),t.jsx($,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function wN({open:a,type:e,message:r,onClose:n}){if(C.useEffect(()=>{if(a){const o=setTimeout(n,5e3);return()=>clearTimeout(o)}},[a,n]),!a)return null;const i={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 t.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${i[e]}`,children:t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsx("p",{className:"text-sm font-medium",children:r}),t.jsx("button",{onClick:n,className:"ml-4",children:t.jsx(ia,{className:"w-5 h-5"})})]})})}const Gc=({position:a,url:e,alt:r,link:n})=>{let i="",o="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",o="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",o="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":i="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",o="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return t.jsx("div",{className:i,children:t.jsx("a",{href:n,target:"_blank",children:c?t.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${o} object-cover`,children:[t.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):t.jsx("img",{src:e,alt:r,className:`${o} object-cover`})})})},L9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[o,c]=C.useState(!1),[l,d]=C.useState(""),h=C.useRef(null),u=a.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return C.useEffect(()=>{const p=m=>{h.current&&!h.current.contains(m.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),t.jsxs("div",{className:`searchable-select-container relative ${i}`,ref:h,children:[t.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(!o),children:[t.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),t.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${o?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:t.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"})})]}),o&&t.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[t.jsx("div",{className:"p-2",children:t.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})}),t.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[t.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)=>t.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},m)):t.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},nD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:o,clearAllFilters:c,searchableFilters:l})=>t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"filters-grid",children:a.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?t.jsx(L9,{options:((u=e[d])==null?void 0:u.filter(m=>typeof m=="string"))||[],value:r[d]||"",onChange:m=>n(d,m),placeholder:`Select ${d.replace(/_/g," ")}`},d):t.jsxs("select",{className:"filter-select",onChange:m=>n(d,m.target.value),value:r[d]||"",children:[t.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((m,f)=>typeof m!="string"?null:t.jsx("option",{value:m,children:m},`${d}-${f}`))]},d)})}),t.jsxs("div",{className:"active-filters",children:[i.map(d=>t.jsxs("div",{className:"filter-badge search-filter-badge",children:[t.jsx("span",{className:"filter-value",children:d}),t.jsx("button",{className:"remove-filter",onClick:()=>o(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>t.jsxs("div",{className:"filter-badge",children:[t.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),t.jsx("span",{className:"filter-value",children:h}),t.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||i.length>0)&&t.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),iD=({searchTerm:a,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>t.jsx("div",{className:"search-container",children:t.jsxs("div",{className:"search-input-wrapper",children:[t.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:[t.jsx("circle",{cx:"11",cy:"11",r:"8"}),t.jsx("path",{d:"m21 21-4.3-4.3"})]}),t.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:a,onChange:i=>e(i.target.value),onKeyDown:r,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:n.map((i,o)=>t.jsx("option",{value:i},o))})]})}),sD={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}},S9=a=>{const e=(a==null?void 0:a.status)??(a!=null&&a.registered?"freemium":"not_registered"),r=sD[e],n=(a==null?void 0:a.registered)??r.registered,i=!n;return{...r,registered:n,allowSaving:(a==null?void 0:a.allowSaving)??r.allowSaving,maskExternalLinks:(a==null?void 0:a.maskExternalLinks)??r.maskExternalLinks,blurCompanyTitle:(a==null?void 0:a.blurCompanyTitle)??(i?!0:r.blurCompanyTitle),notHrefJobsLink:(a==null?void 0:a.notHrefJobsLink)??(i?!0:r.notHrefJobsLink),note:a==null?void 0:a.note}},Mj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},MN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:o,layout:c="grid",userAccess:l})=>{var N;if(!a||typeof a!="object")return console.error("❌ Invalid job data:",a),t.jsx("div",{className:"job-card bg-red-50",children:t.jsxs("div",{className:"p-4",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=S=>{if(x||w){S.preventDefault(),S.stopPropagation();return}const L=x||w?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,L)},h=S=>{S.preventDefault(),S.stopPropagation(),y&&r(a,e)};a.published_at||a.created_at||a.scraped_at;const u=a.min_salary||0,p=a.max_salary||0,m=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(S=>{if(!S)return"Recently posted";try{const L=new Date(S),T=Math.abs(new Date().getTime()-L.getTime()),R=Math.floor(T/(1e3*60*60*24));return R===0?"Today":R===1?"Yesterday":R<7?`${R} days ago`:R<30?`${Math.floor(R/7)} weeks ago`:R<365?`${Math.floor(R/30)} months ago`:`${Math.floor(R/365)} years ago`}catch{return"Recently posted"}})(a.published_at||a.created_at||a.scraped_at),y=l.allowSaving,x=l.maskExternalLinks,g=l.blurCompanyTitle,w=l.notHrefJobsLink,M=Mj[l.status],j=y?"Save job":"Log in to save this job",b=a.description&&a.description!==""?"/jobs/"+(a.slug||a.id):a.link;return t.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7746
+ px-6 py-2 rounded flex items-center gap-2`,children:[t.jsx(qc,{size:18}),o]})]}),t.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function uN({title:a,values:e}){return t.jsx("section",{className:"py-16 bg-white",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:a}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const i=r.icon;return t.jsxs("div",{className:"flex flex-col items-center text-center",children:[t.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:t.jsx(i,{className:"w-8 h-8 text-yellow-500"})}),t.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),t.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function pN({title:a,testimonial:e,stats:r,partnerLogos:n}){const[i,o]=C.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];C.useEffect(()=>{const h=setInterval(()=>{o(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{o(h=>(h+1)%c.length)},d=()=>{o(h=>(h-1+c.length)%c.length)};return t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:a}),t.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"})]}),t.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[t.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[t.jsx(No,{className:"h-12 w-12 text-yellow-500 mb-6"}),t.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[i].content,'"']}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:t.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[i].name.charAt(0)})}),t.jsxs("div",{children:[t.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[i].name}),t.jsxs("div",{className:"text-primary-foreground/70",children:[c[i].role," at ",c[i].company]}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[i].location})]})]}),t.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[i].rating)].map((h,u)=>t.jsx(Ut,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),t.jsxs("div",{className:"flex items-center justify-between mt-8",children:[t.jsx(U,{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:t.jsx(Zs,{className:"h-6 w-6"})}),t.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>t.jsx("button",{onClick:()=>o(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===i?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),t.jsx(U,{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:t.jsx(er,{className:"h-6 w-6"})})]})]}),t.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),t.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),t.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function yN({title:a,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:i,isSubscribed:o=!1,email:c=null}){const[l,d]=C.useState(c??""),[h,u]=C.useState(!1),[p,f]=C.useState(!1);C.useEffect(()=>{if(o){f(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),g=localStorage.getItem("leadId");x&&g&&(f(!0),d(x))}catch{}},[o,c]);const m=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(x.ok){const g=await x.json();localStorage.setItem("leadId",g.id),localStorage.setItem("email",l),f(!0)}else{const g=await x.text();alert("Submission failed: "+g)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||o,y=c??l;return t.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[t.jsx("h2",{className:"text-2xl font-bold mb-4",children:a}),t.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?t.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",y?` as ${y}`:"","."]}):t.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[t.jsx(Ke,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),t.jsx(U,{onClick:m,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":i})]})]})})})}function mN({title:a,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:i,className:o="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=C.useState(""),[f,m]=C.useState(""),[k,y]=C.useState([]),[x,g]=C.useState(!1),w="Browse 3,500+ iGaming Jobs",M=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],j=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];C.useEffect(()=>{const A=new URLSearchParams(window.location.search),T=A.get("q")||"",R=A.get("location")||"";p(T),m(R)},[]),C.useEffect(()=>{if(u.length<3){y([]);return}const A=setTimeout(()=>{b(u)},300);return()=>clearTimeout(A)},[u]);const b=async A=>{if(!i||d){y([`${A} Developer`,`${A} Manager`,`${A} Specialist`,`${A} Coordinator`,`${A} Agent`]);return}try{g(!0);const T=await fetch(`${i}/suggestions?q=${encodeURIComponent(A)}`);if(!T.ok)throw new Error("Failed to fetch suggestions");const R=await T.json();y(R.suggestions||[])}catch(T){console.error("Error fetching suggestions:",T),y([])}finally{g(!1)}},N=A=>p(A),S=A=>{A.key==="Enter"&&L()},L=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${f}`);return}const A=new URLSearchParams;u&&A.set("q",u),f&&A.set("location",f),window.location.href=`/jobs?${A.toString()}`};return t.jsxs("section",{className:`py-12 bg-gray-100 ${o}`,children:[t.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:a||w}),t.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"})]}),t.jsx("div",{className:"container mx-auto px-4",children:t.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[t.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[t.jsxs("div",{className:"flex-grow relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx(Ke,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:A=>N(A.target.value),onKeyDown:S,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:k.map((A,T)=>t.jsx("option",{value:A},T))}),u&&t.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(ia,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),x&&t.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:t.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&t.jsx("div",{className:"w-full md:w-1/3",children:t.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:f,onChange:A=>m(A.target.value),children:[t.jsx("option",{value:"",children:"All Locations"}),(e||M).map(A=>t.jsx("option",{value:A.id,children:A.name},A.id))]})}),t.jsxs(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:L,disabled:x,children:[t.jsx(Xt,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||j).length>0&&t.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[t.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||j).map((A,T)=>t.jsx("a",{href:A.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:A.label},T))]})]})})]})}function fN({logo:a,navItems:e}){const[r,n]=C.useState(!1);return t.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[t.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[t.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((i,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors",children:i.label},o))}),t.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?t.jsx(Tt,{size:24}):t.jsx(Lo,{size:24})})]}),r&&t.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:t.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((i,o)=>t.jsx("a",{href:i.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:i.label},o))})})]})}function xN({logo:a,tagline:e,socialLinks:r,columns:n,contactInfo:i,copyright:o,poweredBy:c}){return t.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[t.jsxs("div",{className:"col-span-1",children:[t.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[t.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:t.jsx("span",{className:"text-black font-bold text-sm",children:a.initials})}),t.jsx("span",{className:"font-bold text-xl",children:a.text})]}),t.jsx("p",{className:"text-gray-400 mb-4",children:e}),t.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>t.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>t.jsxs("div",{className:"col-span-1",children:[t.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),t.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>t.jsx("li",{children:t.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),t.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:t.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(ha,{size:16}),t.jsx("span",{children:i.email})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Js,{size:16}),t.jsx("span",{children:i.phone})]}),t.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[t.jsx(Zt,{size:16}),t.jsx("span",{children:i.location})]})]})}),t.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:[t.jsx("p",{children:o}),t.jsx("p",{children:c})]})]})})}const kN=()=>{const[a,e]=C.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return t.jsx("section",{className:"py-20 bg-gray-100",children:t.jsxs("div",{className:"container mx-auto px-4",children:[t.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),t.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),t.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,i)=>t.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:`${i*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[t.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:t.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:t.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),t.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),a===n.id&&t.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),t.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),t.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),t.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),t.jsxs("div",{children:[t.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),t.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),t.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[t.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),t.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"}),t.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:t.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 ZR(){const[a,e]=C.useState(null);return C.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!a,email:a}}const gN=C.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function vN({notification_url:a="http://localhost:5147",children:e}){const[r,n]=C.useState({analytics:!1,marketing:!1,preferences:!1}),[i,o]=C.useState(!1),l=(p=>p.replace(/\/+$/,""))(a??"http://localhost:5147"),[d,h]=C.useState(null);C.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),C.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),o(!0);return}catch{}if(!d){o(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(f=>f.ok?f.json():null).then(f=>{f&&n({analytics:!!f.analytics,marketing:!!f.marketing,preferences:!!f.preferences,timestamp:f.createdAt})}).catch(()=>{}).finally(()=>o(!0))},[d]);const u=async p=>{const f={...r,...p,timestamp:new Date().toISOString()};n(f),localStorage.setItem("consent",JSON.stringify(f));const m={analytics:f.analytics,marketing:f.marketing,preferences:f.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(m)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return t.jsx(gN.Provider,{value:{consent:r,ready:i,update:u},children:e})}const vj=()=>C.useContext(gN);function XR({allow:a,children:e}){const{consent:r,ready:n}=vj();return!n||!r[a]?null:t.jsx(t.Fragment,{children:e})}function wN({title:a="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:i=!1,isOpen:o,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=vj(),[p,f]=C.useState(i);C.useEffect(()=>{o===void 0&&u&&!d.timestamp&&f(!0)},[d.timestamp,o,u]);const m=C.useMemo(()=>o??p,[o,p]),k=()=>{o===void 0&&f(!1)};if(!m)return null;const y=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return t.jsxs("div",{role:"dialog","aria-label":a,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[t.jsx("p",{className:"text-sm",children:e}),t.jsxs("div",{className:"mt-3 flex gap-2",children:[t.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:x,children:n}),t.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:y,children:r})]})]})}const JR={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"}]},YR={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
7747
+ sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},KR={title:"Why Choose Us?",values:[{icon:vt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:Ia,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Ga,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:Co,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},QR={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"},eD={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")},tD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},aD={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"},rD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:t.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:[t.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"}),t.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),t.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:t.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:[t.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),t.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),t.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"},Ua=(a,e)=>({...a,...e??{}});function nD({headerData:a,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:i,newsletterData:o,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:f=!0,showForEmployers:m=!0,showConsentBanner:k=!0,consentNotificationUrl:y="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:g,email:w}=ZR(),M=Ua(JR,a),j=Ua(YR,e),b=Ua(KR,r),N=Ua(QR,n),S=Ua(eD,i),L=Ua(tD,o),A=Ua(aD,c),T=Ua(rD,l),R={...L,isSubscribed:(o==null?void 0:o.isSubscribed)??g,email:(o==null?void 0:o.email)??w};return t.jsx(vN,{notification_url:y,children:t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx(fN,{...M}),t.jsxs("main",{className:"flex-grow",children:[t.jsx(hN,{...j}),d&&t.jsx(uN,{...b}),h&&t.jsx(mN,{...N}),u&&t.jsx(pN,{...S}),p&&t.jsx(kN,{}),f&&t.jsx(yN,{...R}),m&&t.jsx(dN,{...A})]}),t.jsx(xN,{...T}),k&&t.jsx(wN,{...x})]})})}function wj({title:a="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:i="http://localhost:5147"}){const[o,c]=C.useState(""),[l,d]=C.useState(!1),[h,u]=C.useState(!1);C.useEffect(()=>{const f=localStorage.getItem("email");f&&(u(!0),c(f))},[]);const p=async()=>{if(!o||!o.includes("@")){alert("Please enter a valid email");return}d(!0);try{const f=await fetch(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(f.ok){const m=await f.json();localStorage.setItem("leadId",m.id),localStorage.setItem("email",o),u(!0)}else{const m=await f.text();alert("Submission failed: "+m)}}catch{alert("Network error while submitting")}finally{d(!1)}};return t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:a}),t.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?t.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"flex flex-col",children:[t.jsx(Ke,{type:"email",value:o,onChange:f=>c(f.target.value),placeholder:r,className:"mb-3"}),t.jsx(U,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function MN({open:a,type:e,message:r,onClose:n}){if(C.useEffect(()=>{if(a){const o=setTimeout(n,5e3);return()=>clearTimeout(o)}},[a,n]),!a)return null;const i={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 t.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${i[e]}`,children:t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsx("p",{className:"text-sm font-medium",children:r}),t.jsx("button",{onClick:n,className:"ml-4",children:t.jsx(ia,{className:"w-5 h-5"})})]})})}const Gc=({position:a,url:e,alt:r,link:n})=>{let i="",o="";switch(a){case"top":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",o="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":i="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",o="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":i="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",o="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return t.jsx("div",{className:i,children:t.jsx("a",{href:n,target:"_blank",children:c?t.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${o} object-cover`,children:[t.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):t.jsx("img",{src:e,alt:r,className:`${o} object-cover`})})})},L9=({options:a,value:e,onChange:r,placeholder:n,className:i=""})=>{const[o,c]=C.useState(!1),[l,d]=C.useState(""),h=C.useRef(null),u=a.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return C.useEffect(()=>{const p=f=>{h.current&&!h.current.contains(f.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),t.jsxs("div",{className:`searchable-select-container relative ${i}`,ref:h,children:[t.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(!o),children:[t.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),t.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${o?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:t.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"})})]}),o&&t.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[t.jsx("div",{className:"p-2",children:t.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})}),t.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[t.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,f)=>t.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},f)):t.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},iD=({filterKeys:a,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:i,removeSearchFilter:o,clearAllFilters:c,searchableFilters:l})=>t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"filters-grid",children:a.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?t.jsx(L9,{options:((u=e[d])==null?void 0:u.filter(f=>typeof f=="string"))||[],value:r[d]||"",onChange:f=>n(d,f),placeholder:`Select ${d.replace(/_/g," ")}`},d):t.jsxs("select",{className:"filter-select",onChange:f=>n(d,f.target.value),value:r[d]||"",children:[t.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((f,m)=>typeof f!="string"?null:t.jsx("option",{value:f,children:f},`${d}-${m}`))]},d)})}),t.jsxs("div",{className:"active-filters",children:[i.map(d=>t.jsxs("div",{className:"filter-badge search-filter-badge",children:[t.jsx("span",{className:"filter-value",children:d}),t.jsx("button",{className:"remove-filter",onClick:()=>o(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>t.jsxs("div",{className:"filter-badge",children:[t.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),t.jsx("span",{className:"filter-value",children:h}),t.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||i.length>0)&&t.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),sD=({searchTerm:a,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>t.jsx("div",{className:"search-container",children:t.jsxs("div",{className:"search-input-wrapper",children:[t.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:[t.jsx("circle",{cx:"11",cy:"11",r:"8"}),t.jsx("path",{d:"m21 21-4.3-4.3"})]}),t.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:a,onChange:i=>e(i.target.value),onKeyDown:r,list:"job-suggestions"}),t.jsx("datalist",{id:"job-suggestions",children:n.map((i,o)=>t.jsx("option",{value:i},o))})]})}),oD={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}},S9=a=>{const e=(a==null?void 0:a.status)??(a!=null&&a.registered?"freemium":"not_registered"),r=oD[e],n=(a==null?void 0:a.registered)??r.registered,i=!n;return{...r,registered:n,allowSaving:(a==null?void 0:a.allowSaving)??r.allowSaving,maskExternalLinks:(a==null?void 0:a.maskExternalLinks)??r.maskExternalLinks,blurCompanyTitle:(a==null?void 0:a.blurCompanyTitle)??(i?!0:r.blurCompanyTitle),notHrefJobsLink:(a==null?void 0:a.notHrefJobsLink)??(i?!0:r.notHrefJobsLink),note:a==null?void 0:a.note}},Mj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},bN=({job:a,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:i,isSaved:o,layout:c="grid",userAccess:l})=>{var N;if(!a||typeof a!="object")return console.error("❌ Invalid job data:",a),t.jsx("div",{className:"job-card bg-red-50",children:t.jsxs("div",{className:"p-4",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=S=>{if(x||w){S.preventDefault(),S.stopPropagation();return}const L=x||w?"external":a.description&&a.description!==""?"same_tab":"new_tab";i==null||i(a,e,"external"),n(a,e,L)},h=S=>{S.preventDefault(),S.stopPropagation(),y&&r(a,e)};a.published_at||a.created_at||a.scraped_at;const u=a.min_salary||0,p=a.max_salary||0,f=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(S=>{if(!S)return"Recently posted";try{const L=new Date(S),T=Math.abs(new Date().getTime()-L.getTime()),R=Math.floor(T/(1e3*60*60*24));return R===0?"Today":R===1?"Yesterday":R<7?`${R} days ago`:R<30?`${Math.floor(R/7)} weeks ago`:R<365?`${Math.floor(R/30)} months ago`:`${Math.floor(R/365)} years ago`}catch{return"Recently posted"}})(a.published_at||a.created_at||a.scraped_at),y=l.allowSaving,x=l.maskExternalLinks,g=l.blurCompanyTitle,w=l.notHrefJobsLink,M=Mj[l.status],j=y?"Save job":"Log in to save this job",b=a.description&&a.description!==""?"/jobs/"+(a.slug||a.id):a.link;return t.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
7748
7748
  ${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[t.jsxs("div",{className:"flex items-start space-x-4",children:[t.jsx("img",{src:a.logo||`/placeholder.svg?height=48&width=48&text=${((N=a.company)==null?void 0:N.charAt(0))||"C"}`,alt:`${a.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),t.jsxs("div",{className:"flex-1",children:[t.jsx("h3",{className:"font-semibold text-gray-900",children:a.title||"No Title Available"}),t.jsx("p",{className:`text-sm text-muted-foreground ${g?"blur-sm select-none":""}`,children:a.company||"Unknown Company"}),t.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[t.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:M}),l.note&&t.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),t.jsxs("div",{className:`
7749
7749
  mt-4 ${c==="list"?"md:mt-0 md:flex-1":""}
7750
- `,children:[t.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.location||"Remote"]})}),t.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(vt,{className:"w-4 h-4 mr-1"}),a.department||"Full-time"]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-3.5 w-3.5 mr-1.5"}),t.jsx("span",{children:k})]})]}),t.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:m})]}),t.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[t.jsx("button",{onClick:h,disabled:!y,className:`
7750
+ `,children:[t.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.location||"Remote"]})}),t.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(vt,{className:"w-4 h-4 mr-1"}),a.department||"Full-time"]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-3.5 w-3.5 mr-1.5"}),t.jsx("span",{children:k})]})]}),t.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:f})]}),t.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[t.jsx("button",{onClick:h,disabled:!y,className:`
7751
7751
  p-2 rounded-lg transition-colors
7752
7752
  ${o?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
7753
7753
  `,"aria-label":o?"Unsave job":"Save job",title:j,children:t.jsx(Qa,{size:20,className:`transition-colors ${o?"fill-blue-600 text-yellow-600":""}`})}),x||w?t.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"}):t.jsx("a",{href:b,target:a.description&&a.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
7754
- transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!y&&t.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},oD=({jobs:a,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:i})=>a.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No jobs found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:"jobs-grid",children:a.map(o=>t.jsx(MN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o),userAccess:i},o.link))}),cD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let o=1;o<=e;o++)n.push(o);else if(a<=3)for(let o=1;o<=5;o++)n.push(o);else if(a>=e-2)for(let o=e-4;o<=e;o++)n.push(o);else for(let o=a-2;o<=a+2;o++)n.push(o);return t.jsxs("div",{className:"pagination",children:[t.jsx("button",{className:"pagination-button prev-button",disabled:a===1,onClick:()=>r(a-1),children:t.jsx(ba,{})}),n.map(o=>t.jsx("button",{className:`pagination-button ${a===o?"active":""}`,onClick:()=>r(o),children:o},o)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(Ca,{})})]})},lD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:o,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>t.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${a?"opacity-100":"opacity-0 pointer-events-none"}`,children:t.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 ${a?"transform translate-x-0":"transform translate-x-full"}`,children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),t.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:t.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"mb-4",children:t.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 t.jsxs("div",{className:"mb-4",children:[t.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),t.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:f=>o(p,f.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=n[p])==null?void 0:m.map(f=>t.jsx("option",{value:f,children:f},f))]})]},p)}),Object.keys(i).length>0&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(i).map(([p,m])=>t.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:[t.jsxs("span",{children:[p.replace(/_/g," "),": ",m]}),t.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>o(p,""),children:"×"})]},p)),t.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"})]})]})})}),dD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:o,banners:c,userAccess:l})=>{const[d,h]=C.useState([]),[u,p]=C.useState(1),[m,f]=C.useState({}),[k,y]=C.useState([]),[x,g]=C.useState({}),[w,M]=C.useState(""),[j,b]=C.useState([]),[N,S]=C.useState(!1),L=S9(l);C.useEffect(()=>{fetch(`${a}/items`).then(se=>se.json()).then(se=>{h(se)}).catch(se=>console.error("Error fetching items:",se))},[a]);const A=se=>{const ee={};se.forEach(ve=>{r.forEach(W=>{ee[W]||(ee[W]=new Set);const Q=ve[W];Q!=null&&ee[W].add(String(Q))})});const le={};return Object.keys(ee).forEach(ve=>{le[ve]=Array.from(ee[ve])}),le};function T(se,ee,le){let ve=se.filter(W=>Object.entries(ee).every(([Q,ue])=>{const de=W[Q];return typeof de=="string"&&de.toLowerCase()===ue.toLowerCase()}));return le.length>0&&(ve=ve.filter(W=>le.every(Q=>W.title.toLowerCase().includes(Q.toLowerCase())))),ve}const R=C.useMemo(()=>T(d,m,k),[m,d,k]),D=(se,ee)=>{f(le=>{const ve=ee?{...le,[se]:ee}:{...le};return ee||delete ve[se],ve})},_=se=>{if(M(se),se){const ee=d.map(le=>le.title).filter((le,ve,W)=>le&&le.toLowerCase().includes(se.toLowerCase())&&W.indexOf(le)===ve).slice(0,5);b(ee)}else b([])},q=se=>{if(se.key==="Enter"&&w.trim()){se.preventDefault();const ee=[...k,w.trim()];y(ee),M("")}},z=se=>{const ee=k.filter(le=>le!==se);y(ee)},V=()=>{f({}),y([]),p(1)};C.useEffect(()=>{g(A(R))},[r,R]),C.useEffect(()=>{p(1)},[m,k]);const G=()=>{S(!N)},E=(se,ee)=>{},re=se=>{},ne=se=>!1,oe=Math.ceil(R.length/e),ae=R.slice((u-1)*e,u*e);return t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx("div",{className:"flex-grow",children:t.jsxs("div",{className:"job-listings-container",children:[t.jsx("div",{className:"header-container",children:t.jsxs("div",{className:"header-content",children:[t.jsx("h1",{className:"main-title",children:"Job Listings"}),t.jsxs("p",{className:"items-count",children:["Total: ",t.jsx("span",{className:"count-value",children:R.length})]})]})}),t.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:G,children:N?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(iD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:q,suggestions:j}),t.jsx(nD,{filterKeys:r,filtersData:x,activeFilters:m,handleFilterChange:D,searchFilters:k,removeSearchFilter:z,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(lD,{isOpen:N,onClose:G,filterKeys:r,filtersData:x,activeFilters:m,handleFilterChange:D,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:q,searchFilters:k,removeSearchFilter:z}),t.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[t.jsx("h2",{className:"section-title",children:"Open Positions"}),t.jsx(oD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:L}),t.jsx(cD,{currentPage:u,totalPages:oe,setCurrentPage:p})]}),t.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:t.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&t.jsx(Gc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx(Gc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},hD=({title:a="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,i]=C.useState(!1),[o,c]=C.useState(null);C.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(i(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return t.jsx("footer",{className:"bg-gray-800 text-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[t.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:t.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?t.jsxs("div",{className:"mt-12 md:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),t.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,m)=>t.jsx("li",{children:t.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},m))})]},h):null})})}),t.jsxs("div",{className:"mt-8 xl:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:a}),t.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?t.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[t.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),t.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"}),t.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:t.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"})})]})]})]}),t.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:t.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},uD=({logo:a="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>t.jsx("nav",{className:"bg-white shadow-md",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex",children:[t.jsx("div",{className:"flex-shrink-0 flex items-center",children:t.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:a?t.jsx("img",{src:a,alt:"Logo",className:"h-6 w-6"}):t.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:t.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"})})})}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((i,o)=>t.jsx("a",{href:i.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:i.text},o))})]}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:t.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})})]})})}),bN=({savedJobsCount:a})=>{const[e,r]=C.useState("");C.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=i=>e===i;return t.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:t.jsxs("div",{className:"grid grid-cols-5 h-16",children:[t.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:[t.jsx(Ma,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),t.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:[t.jsx(vt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),t.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:[t.jsx(uc,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Saved"}),a>0&&t.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:a})]}),t.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:[t.jsx(Wt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),t.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:[t.jsx(Sa,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},pD=a=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],i=["New York","San Francisco","Austin","Seattle","Chicago"],o=["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:a},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:i[h%i.length],country:o[h%o.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},CN=({activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsxs("div",{className:"date-filter",children:[r&&t.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),t.jsx("select",{id:"date-filter",value:a,onChange:i=>e(i.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(i=>t.jsx("option",{value:i.value,children:i.label},i.value))})]}),jN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:o,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:m,dateOptions:f=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsx("div",{children:t.jsxs("div",{className:p?"block":"hidden",children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>m(!p)}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),t.jsx("button",{onClick:()=>m(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.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:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900",children:i}),t.jsx(CN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:f})]}),r.map(k=>{var x;const y=k.replace(/_/g," ");return t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:y}),n.includes(k)?t.jsx(L9,{options:d[k]||[],value:o[k]||"",onChange:g=>c(k,g),placeholder:`Select ${y}`,className:"w-full"}):t.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:o[k]||"",onChange:g=>c(k,g.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(x=d[k])==null?void 0:x.map(g=>t.jsx("option",{value:g,children:g},g))]})]},k)}),t.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:t.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"})})]})]})]})}),bj=({totalColumns:a=2})=>t.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"animate-pulse",children:[t.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),t.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${a} gap-6`,children:[...Array(4)].map((e,r)=>t.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[t.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),t.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),t.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Cj=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:o="",showSubmitButton:c=!1})=>{const[l,d]=C.useState(""),[h,u]=C.useState([]),[p,m]=C.useState(!1),f=C.useRef(null),k=g=>{d(g),m(!0),i&&i(g)},y=()=>{d(""),u([]),m(!1),i==null||i("")},x=g=>{e(g),d(""),u([]),m(!1)};return C.useEffect(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(!l){u([]);return}const g=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,j)=>j.indexOf(w)===M).slice(0,5);u(g)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${o}`,children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-4 w-4 text-gray-400"})}),t.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:g=>k(g.target.value),onFocus:()=>m(h.length>0),onBlur:()=>setTimeout(()=>m(!1),200),onKeyDown:g=>{g.key==="Enter"&&l.trim()&&(g.preventDefault(),x(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Tt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:t.jsx(Xt,{className:"h-4 w-4"})})]}),p&&h.length>0&&t.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((g,w)=>t.jsx("li",{children:t.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(g),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),g]})})},w))})]})},jj=({onSearchChange:a,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:i=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:o=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=C.useState(""),[m,f]=C.useState(()=>new Set),k=i.filter(x=>!m.has(x)),y=x=>{f(g=>{const w=new Set(g);return w.add(x),w}),l==null||l(x)};return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:t.jsx("div",{className:"flex items-center justify-between",children:t.jsxs("div",{children:[t.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),t.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:t.jsx("div",{className:"overflow-x-auto",children:k.length>0&&t.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[t.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),k.map(x=>t.jsx(KC,{name:`#${x}`,color:d,size:"sm",href:c?void 0:o(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},yD=a=>a.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 Lj(a){const e=yD(a),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 i of n)if(new RegExp(`\\b${i.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return i;return null}function mD(a){const e=Lj(a);return e||fD(a)}function fD(a){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=a.toLowerCase().split(/\W+/).filter(o=>o.length>2&&!e.has(o)),n={};for(const o of r)n[o]=(n[o]||0)+1;const i=Object.entries(n).sort((o,c)=>c[1]-o[1]);return i.length>0?i[0][0]:null}const Sj=({filters:a,onClearAll:e,handleCreateAlert:r,className:n=""})=>a.length===0?null:t.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[a.map(i=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[i.label&&t.jsxs("span",{className:"font-medium mr-1",children:[i.label,":"]}),t.jsx("span",{children:i.value}),t.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:i.onRemove,"aria-label":`Remove ${i.label||i.key} filter`,children:t.jsx(ia,{size:14})})]},`${i.key}-${i.value}`)),t.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),t.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"})]}),xD=({viewMode:a,onToggle:e,className:r=""})=>t.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":a==="grid",children:[t.jsx(Jt,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":a==="list",children:[t.jsx(Cc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),kD=({value:a,onChange:e,options:r=[5,10,20,50],className:n=""})=>t.jsxs("div",{className:`flex items-center ${n}`,children:[t.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),t.jsx("select",{id:"items-per-page",value:a,onChange:i=>e(Number(i.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(i=>t.jsx("option",{value:i,children:i},i))})]}),Ij=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:o,endIndex:c,title:l})=>t.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),t.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",t.jsx("span",{className:"font-semibold text-gray-900",children:o}),"–",t.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",t.jsx("span",{className:"font-semibold text-gray-900",children:i})," articles"]})]}),t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[t.jsx(xD,{viewMode:a,onToggle:e}),t.jsx(kD,{value:r,onChange:n})]})]})}),gD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:o="text-yellow-800"})=>t.jsx("div",{className:`promo-card ${i} p-4 rounded-lg shadow-sm hidden md:block`,children:t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx("h3",{className:`font-bold text-lg ${o}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${o} opacity-90`,children:e})]}),t.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})]})}),vD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:o,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=C.useState([]),[p,m]=C.useState(null);C.useEffect(()=>{try{if(!Array.isArray(a)){console.error("❌ Items is not an array:",a),m("Invalid data format received"),u([]);return}const k=[...a];a.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),m(null)}catch(k){console.error("Error processing items:",k),m(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[a]);const f=(k,y)=>{const g=y===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(gD,{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-${y}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${y}`:k.slug?`${k.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...g,children:t.jsx(MN,{job:k,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,j,b)=>o(M,y,b),onApplyJob:c?(M,j,b)=>c(M,y,b):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),t.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[t.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),t.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),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),t.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),t.jsx("p",{children:p})]}):h.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No items found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,y)=>f(k,y))})},Nj=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),o=Math.min(e,i+n-1),c=[];for(let l=i;l<=o;l++)c.push(l);return t.jsx("div",{className:"mt-6 flex justify-center",children:t.jsxs("nav",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>r(Math.max(1,a-1)),disabled:a===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:t.jsx(ba,{})}),c.map(l=>t.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${a===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),t.jsx("button",{onClick:()=>r(Math.min(e,a+1)),disabled:a===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(Ca,{})})]})})},wD=({jobs:a,onViewJob:e})=>!a||a.length===0?null:t.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[t.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:a.map((r,n)=>t.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[t.jsxs("div",{className:"flex items-center mb-2",children:[t.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),t.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),t.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),t.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),MD=(a,e,r="date")=>{if(e==="all")return a;const n=new Date,i=new Date(n.getFullYear(),n.getMonth(),n.getDate());return a.filter(o=>{const c=o[r]||o.created_at||o.published_at||o.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=i;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}})},bD=(a,e)=>a.filter(r=>{var n,i,o,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((i=r.title)==null?void 0:i.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((o=r.location)==null?void 0:o.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),Fc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const o=n[i];Array.isArray(o)?o.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof o=="string"&&o.trim()&&r[i].add(o.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},LN=a=>{const e=new URLSearchParams(window.location.search);a==="all"?e.delete("date_filter"):e.set("date_filter",a);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Us=(a,e,r,n,i="date")=>{let o=a.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(o=o.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()))}))),o=MD(o,n,i),o},n1=(a,e,r=[],n="date")=>{const i=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},o=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 f=m.toLowerCase();let k=p;return h.includes(f)&&(k+=3),u.includes(f)&&(k+=1),k},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return o(h)-o(d);case"views_asc":return o(d)-o(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:i(h)-i(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:i(h)-i(d)}case"date_desc":default:return i(h)-i(d)}}),l},SN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:o,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:a}),t.jsx(CN,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var m;return t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,f=>f.toUpperCase())}),i.includes(p)?t.jsx(L9,{options:o[p]||[],value:c[p]||"",onChange:f=>l(p,f),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:f=>l(p,f.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(m=o[p])==null?void 0:m.map(f=>t.jsx("option",{value:f,children:f},f))]})]},p)}),t.jsx("div",{className:"mt-6",children:t.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:[t.jsx(Qa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function CD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a);v.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var jD="DismissableLayer",zC="dismissableLayer.update",LD="dismissableLayer.pointerDownOutside",SD="dismissableLayer.focusOutside",PL,IN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(IN),[u,p]=v.useState(null),m=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=v.useState({}),k=je(e,S=>p(S)),y=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(x),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,j=w>=g,b=AD(S=>{const L=S.target,A=[...h.branches].some(T=>T.contains(L));!j||A||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},m),N=_D(S=>{const L=S.target;[...h.branches].some(T=>T.contains(L))||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},m);return CD(S=>{w===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},m),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(PL=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),qL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=PL)}},[u,m,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),qL())},[u,h]),v.useEffect(()=>{const S=()=>f({});return document.addEventListener(zC,S),()=>document.removeEventListener(zC,S)},[]),t.jsx(me.div,{...d,ref:k,style:{pointerEvents:M?j?"auto":"none":void 0,...a.style},onFocusCapture:he(a.onFocusCapture,N.onFocusCapture),onBlurCapture:he(a.onBlurCapture,N.onBlurCapture),onPointerDownCapture:he(a.onPointerDownCapture,b.onPointerDownCapture)})});I9.displayName=jD;var ID="DismissableLayerBranch",ND=v.forwardRef((a,e)=>{const r=v.useContext(IN),n=v.useRef(null),i=je(e,n);return v.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),t.jsx(me.div,{...a,ref:i})});ND.displayName=ID;function AD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let d=function(){NN(LD,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=d,e.addEventListener("click",i.current,{once:!0})):d()}else e.removeEventListener("click",i.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function _D(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!n.current&&NN(SD,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function qL(){const a=new CustomEvent(zC);document.dispatchEvent(a)}function NN(a,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Eq(i,o):i.dispatchEvent(o)}var sC="focusScope.autoFocusOnMount",oC="focusScope.autoFocusOnUnmount",TL={bubbles:!1,cancelable:!0},PD="FocusScope",N9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...c}=a,[l,d]=v.useState(null),h=ir(i),u=ir(o),p=v.useRef(null),m=je(e,y=>d(y)),f=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(f.paused||!l)return;const j=M.target;l.contains(j)?p.current=j:$a(p.current,{select:!0})},x=function(M){if(f.paused||!l)return;const j=M.relatedTarget;j!==null&&(l.contains(j)||$a(p.current,{select:!0}))},g=function(M){if(document.activeElement===document.body)for(const b of M)b.removedNodes.length>0&&$a(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const w=new MutationObserver(g);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,f.paused]),v.useEffect(()=>{if(l){DL.add(f);const y=document.activeElement;if(!l.contains(y)){const g=new CustomEvent(sC,TL);l.addEventListener(sC,h),l.dispatchEvent(g),g.defaultPrevented||(qD(FD(AN(l)),{select:!0}),document.activeElement===y&&$a(l))}return()=>{l.removeEventListener(sC,h),setTimeout(()=>{const g=new CustomEvent(oC,TL);l.addEventListener(oC,u),l.dispatchEvent(g),g.defaultPrevented||$a(y??document.body,{select:!0}),l.removeEventListener(oC,u),DL.remove(f)},0)}}},[l,h,u,f]);const k=v.useCallback(y=>{if(!r&&!n||f.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,g=document.activeElement;if(x&&g){const w=y.currentTarget,[M,j]=TD(w);M&&j?!y.shiftKey&&g===j?(y.preventDefault(),r&&$a(M,{select:!0})):y.shiftKey&&g===M&&(y.preventDefault(),r&&$a(j,{select:!0})):g===w&&y.preventDefault()}},[r,n,f.paused]);return t.jsx(me.div,{tabIndex:-1,...c,ref:m,onKeyDown:k})});N9.displayName=PD;function qD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if($a(n,{select:e}),document.activeElement!==r)return}function TD(a){const e=AN(a),r=RL(e,a),n=RL(e.reverse(),a);return[r,n]}function AN(a){const e=[],r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function RL(a,e){for(const r of a)if(!RD(r,{upTo:e}))return r}function RD(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function DD(a){return a instanceof HTMLInputElement&&"select"in a}function $a(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&DD(a)&&e&&a.select()}}var DL=zD();function zD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=zL(a,e),a.unshift(e)},remove(e){var r;a=zL(a,e),(r=a[0])==null||r.resume()}}}function zL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function FD(a){return a.filter(e=>e.tagName!=="A")}var ED="Portal",A9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,o]=v.useState(!1);pt(()=>o(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?ZC.createPortal(t.jsx(me.div,{...n,ref:e}),c):null});A9.displayName=ED;var cC=0;function Aj(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??FL()),document.body.insertAdjacentElement("beforeend",a[1]??FL()),cC++,()=>{cC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),cC--}},[])}function FL(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var oa=function(){return oa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},oa.apply(this,arguments)};function _N(a,e){var r={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&e.indexOf(n)<0&&(r[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(a);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(a,n[i])&&(r[n[i]]=a[n[i]]);return r}function HD(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return a.concat(o||Array.prototype.slice.call(e))}var t9="right-scroll-bar-position",a9="width-before-scroll-bar",OD="with-scroll-bars-hidden",VD="--removed-body-scroll-bar-size";function lC(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function BD(a,e){var r=C.useState(function(){return{value:a,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var UD=typeof window<"u"?v.useLayoutEffect:v.useEffect,EL=new WeakMap;function $D(a,e){var r=BD(null,function(n){return a.forEach(function(i){return lC(i,n)})});return UD(function(){var n=EL.get(r);if(n){var i=new Set(n),o=new Set(a),c=r.current;i.forEach(function(l){o.has(l)||lC(l,null)}),o.forEach(function(l){i.has(l)||lC(l,c)})}EL.set(r,a)},[a]),r}function GD(a){return a}function WD(a,e){e===void 0&&(e=GD);var r=[],n=!1,i={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]:a},useMedium:function(o){var c=e(o,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(o){for(n=!0;r.length;){var c=r;r=[],c.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(o),c=r}var d=function(){var u=c;c=[],u.forEach(o)},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 i}function ZD(a){a===void 0&&(a={});var e=WD(null);return e.options=oa({async:!0,ssr:!1},a),e}var PN=function(a){var e=a.sideCar,r=_N(a,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,oa({},r))};PN.isSideCarExport=!0;function XD(a,e){return a.useMedium(e),PN}var qN=ZD(),dC=function(){},_9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:dC,onWheelCapture:dC,onTouchMoveCapture:dC}),i=n[0],o=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,m=a.sideCar,f=a.noRelative,k=a.noIsolation,y=a.inert,x=a.allowPinchZoom,g=a.as,w=g===void 0?"div":g,M=a.gapMode,j=_N(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=m,N=$D([r,e]),S=oa(oa({},j),i);return v.createElement(v.Fragment,null,u&&v.createElement(b,{sideCar:qN,removeScrollBar:h,shards:p,noRelative:f,noIsolation:k,inert:y,setCallbacks:o,allowPinchZoom:!!x,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),oa(oa({},S),{ref:N})):v.createElement(w,oa({},S,{className:d,ref:N}),l))});_9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_9.classNames={fullWidth:a9,zeroRight:t9};var JD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function YD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=JD();return e&&a.setAttribute("nonce",e),a}function KD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function QD(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var ez=function(){var a=0,e=null;return{add:function(r){a==0&&(e=YD())&&(KD(e,r),QD(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},tz=function(){var a=ez();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},TN=function(){var a=tz(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},az={left:0,top:0,right:0,gap:0},hC=function(a){return parseInt(a||"",10)||0},rz=function(a){var e=window.getComputedStyle(document.body),r=e[a==="padding"?"paddingLeft":"marginLeft"],n=e[a==="padding"?"paddingTop":"marginTop"],i=e[a==="padding"?"paddingRight":"marginRight"];return[hC(r),hC(n),hC(i)]},nz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return az;var e=rz(a),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},iz=TN(),zo="data-scroll-locked",sz=function(a,e,r,n){var i=a.left,o=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
7755
- .`.concat(OD,` {
7754
+ transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!y&&t.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},cD=({jobs:a,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:i})=>a.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No jobs found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:"jobs-grid",children:a.map(o=>t.jsx(bN,{job:o,onSaveJob:e,onViewJob:r,isSaved:n(o),userAccess:i},o.link))}),lD=({currentPage:a,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let o=1;o<=e;o++)n.push(o);else if(a<=3)for(let o=1;o<=5;o++)n.push(o);else if(a>=e-2)for(let o=e-4;o<=e;o++)n.push(o);else for(let o=a-2;o<=a+2;o++)n.push(o);return t.jsxs("div",{className:"pagination",children:[t.jsx("button",{className:"pagination-button prev-button",disabled:a===1,onClick:()=>r(a-1),children:t.jsx(ba,{})}),n.map(o=>t.jsx("button",{className:`pagination-button ${a===o?"active":""}`,onClick:()=>r(o),children:o},o)),t.jsx("button",{className:"pagination-button next-button",disabled:a===e,onClick:()=>r(a+1),children:t.jsx(Ca,{})})]})},dD=({isOpen:a,onClose:e,filterKeys:r,filtersData:n,activeFilters:i,handleFilterChange:o,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>t.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${a?"opacity-100":"opacity-0 pointer-events-none"}`,children:t.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 ${a?"transform translate-x-0":"transform translate-x-full"}`,children:t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"flex justify-between items-center mb-4",children:[t.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),t.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:t.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"mb-4",children:t.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 f;return t.jsxs("div",{className:"mb-4",children:[t.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),t.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:m=>o(p,m.target.value),value:i[p]||"",children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=n[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},p)}),Object.keys(i).length>0&&t.jsxs("div",{className:"mt-4",children:[t.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(i).map(([p,f])=>t.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:[t.jsxs("span",{children:[p.replace(/_/g," "),": ",f]}),t.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>o(p,""),children:"×"})]},p)),t.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"})]})]})})}),hD=({apiUrl:a,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:i,enableMobileFilter:o,banners:c,userAccess:l})=>{const[d,h]=C.useState([]),[u,p]=C.useState(1),[f,m]=C.useState({}),[k,y]=C.useState([]),[x,g]=C.useState({}),[w,M]=C.useState(""),[j,b]=C.useState([]),[N,S]=C.useState(!1),L=S9(l);C.useEffect(()=>{fetch(`${a}/items`).then(se=>se.json()).then(se=>{h(se)}).catch(se=>console.error("Error fetching items:",se))},[a]);const A=se=>{const ee={};se.forEach(ve=>{r.forEach(W=>{ee[W]||(ee[W]=new Set);const Q=ve[W];Q!=null&&ee[W].add(String(Q))})});const le={};return Object.keys(ee).forEach(ve=>{le[ve]=Array.from(ee[ve])}),le};function T(se,ee,le){let ve=se.filter(W=>Object.entries(ee).every(([Q,ue])=>{const de=W[Q];return typeof de=="string"&&de.toLowerCase()===ue.toLowerCase()}));return le.length>0&&(ve=ve.filter(W=>le.every(Q=>W.title.toLowerCase().includes(Q.toLowerCase())))),ve}const R=C.useMemo(()=>T(d,f,k),[f,d,k]),D=(se,ee)=>{m(le=>{const ve=ee?{...le,[se]:ee}:{...le};return ee||delete ve[se],ve})},_=se=>{if(M(se),se){const ee=d.map(le=>le.title).filter((le,ve,W)=>le&&le.toLowerCase().includes(se.toLowerCase())&&W.indexOf(le)===ve).slice(0,5);b(ee)}else b([])},q=se=>{if(se.key==="Enter"&&w.trim()){se.preventDefault();const ee=[...k,w.trim()];y(ee),M("")}},z=se=>{const ee=k.filter(le=>le!==se);y(ee)},V=()=>{m({}),y([]),p(1)};C.useEffect(()=>{g(A(R))},[r,R]),C.useEffect(()=>{p(1)},[f,k]);const G=()=>{S(!N)},E=(se,ee)=>{},re=se=>{},ne=se=>!1,oe=Math.ceil(R.length/e),ae=R.slice((u-1)*e,u*e);return t.jsxs("div",{className:"flex flex-col min-h-screen",children:[t.jsx("div",{className:"flex-grow",children:t.jsxs("div",{className:"job-listings-container",children:[t.jsx("div",{className:"header-container",children:t.jsxs("div",{className:"header-content",children:[t.jsx("h1",{className:"main-title",children:"Job Listings"}),t.jsxs("p",{className:"items-count",children:["Total: ",t.jsx("span",{className:"count-value",children:R.length})]})]})}),t.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:G,children:N?"Close Filters":"Open Filters"}),t.jsxs("div",{className:"hidden md:block filters-container",children:[t.jsx(sD,{searchTerm:w,handleSearchChange:_,handleSearchKeyDown:q,suggestions:j}),t.jsx(iD,{filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,searchFilters:k,removeSearchFilter:z,clearAllFilters:V,searchableFilters:["company"]})]}),t.jsx(dD,{isOpen:N,onClose:G,filterKeys:r,filtersData:x,activeFilters:f,handleFilterChange:D,handleSearchChange:_,searchTerm:w,clearAllFilters:V,handleSearchKeyDown:q,searchFilters:k,removeSearchFilter:z}),t.jsxs("div",{className:"flex flex-col md:flex-row",children:[t.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[t.jsx("h2",{className:"section-title",children:"Open Positions"}),t.jsx(cD,{jobs:ae,onSaveJob:E,onViewJob:re,isJobSaved:ne,userAccess:L}),t.jsx(lD,{currentPage:u,totalPages:oe,setCurrentPage:p})]}),t.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:t.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&t.jsx(Gc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&t.jsx(Gc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},uD=({title:a="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,i]=C.useState(!1),[o,c]=C.useState(null);C.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(i(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return t.jsx("footer",{className:"bg-gray-800 text-white",children:t.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[t.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:t.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?t.jsxs("div",{className:"mt-12 md:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),t.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,f)=>t.jsx("li",{children:t.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},f))})]},h):null})})}),t.jsxs("div",{className:"mt-8 xl:mt-0",children:[t.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:a}),t.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?t.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",o?` as ${o}`:"","!"]}):t.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[t.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),t.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"}),t.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:t.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"})})]})]})]}),t.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:t.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},pD=({logo:a="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>t.jsx("nav",{className:"bg-white shadow-md",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex justify-between h-16",children:[t.jsxs("div",{className:"flex",children:[t.jsx("div",{className:"flex-shrink-0 flex items-center",children:t.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:a?t.jsx("img",{src:a,alt:"Logo",className:"h-6 w-6"}):t.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:t.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"})})})}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((i,o)=>t.jsx("a",{href:i.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:i.text},o))})]}),t.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:t.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})})]})})}),CN=({savedJobsCount:a})=>{const[e,r]=C.useState("");C.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=i=>e===i;return t.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:t.jsxs("div",{className:"grid grid-cols-5 h-16",children:[t.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:[t.jsx(Ma,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),t.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:[t.jsx(vt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),t.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:[t.jsx(uc,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Saved"}),a>0&&t.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:a})]}),t.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:[t.jsx(Wt,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),t.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:[t.jsx(Sa,{className:"w-6 h-6"}),t.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},yD=a=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],i=["New York","San Francisco","Austin","Seattle","Chicago"],o=["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:a},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:i[h%i.length],country:o[h%o.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},jN=({activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsxs("div",{className:"date-filter",children:[r&&t.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),t.jsx("select",{id:"date-filter",value:a,onChange:i=>e(i.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(i=>t.jsx("option",{value:i.value,children:i.label},i.value))})]}),LN=({activeDateFilter:a,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:i,activeFilters:o,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:f,dateOptions:m=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>t.jsx("div",{children:t.jsxs("div",{className:p?"block":"hidden",children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>f(!p)}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),t.jsx("button",{onClick:()=>f(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.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:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsxs("div",{className:"p-4",children:[t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900",children:i}),t.jsx(jN,{activeDateFilter:a,onDateFilterChange:e,dateFieldLabel:"",options:m})]}),r.map(k=>{var x;const y=k.replace(/_/g," ");return t.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[t.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:y}),n.includes(k)?t.jsx(L9,{options:d[k]||[],value:o[k]||"",onChange:g=>c(k,g),placeholder:`Select ${y}`,className:"w-full"}):t.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:o[k]||"",onChange:g=>c(k,g.target.value),children:[t.jsxs("option",{value:"",children:["Select ",y]}),(x=d[k])==null?void 0:x.map(g=>t.jsx("option",{value:g,children:g},g))]})]},k)}),t.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:t.jsx("button",{onClick:()=>f(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),bj=({totalColumns:a=2})=>t.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"animate-pulse",children:[t.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),t.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${a} gap-6`,children:[...Array(4)].map((e,r)=>t.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[t.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),t.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),t.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),t.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Cj=({data:a,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:i,className:o="",showSubmitButton:c=!1})=>{const[l,d]=C.useState(""),[h,u]=C.useState([]),[p,f]=C.useState(!1),m=C.useRef(null),k=g=>{d(g),f(!0),i&&i(g)},y=()=>{d(""),u([]),f(!1),i==null||i("")},x=g=>{e(g),d(""),u([]),f(!1)};return C.useEffect(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{if(!l){u([]);return}const g=a.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,j)=>j.indexOf(w)===M).slice(0,5);u(g)},n)},[l,a]),t.jsxs("div",{className:`relative w-full ${o}`,children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-4 w-4 text-gray-400"})}),t.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:g=>k(g.target.value),onFocus:()=>f(h.length>0),onBlur:()=>setTimeout(()=>f(!1),200),onKeyDown:g=>{g.key==="Enter"&&l.trim()&&(g.preventDefault(),x(l.trim()))}}),l&&!c&&t.jsx("button",{onClick:y,className:"absolute inset-y-0 right-2 flex items-center",children:t.jsx(Tt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&t.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:t.jsx(Xt,{className:"h-4 w-4"})})]}),p&&h.length>0&&t.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((g,w)=>t.jsx("li",{children:t.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(g),children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 mr-2 text-gray-400"}),g]})})},w))})]})},jj=({onSearchChange:a,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:i=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:o=u=>`?q=${encodeURIComponent(u)}`,onTagClick:c,onTagRemove:l,popularTagColor:d="#CA8A04",allowTagRemoval:h=!1})=>{const[u,p]=C.useState(""),[f,m]=C.useState(()=>new Set),k=i.filter(x=>!f.has(x)),y=x=>{m(g=>{const w=new Set(g);return w.add(x),w}),l==null||l(x)};return t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:t.jsx("div",{className:"flex items-center justify-between",children:t.jsxs("div",{children:[t.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),t.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),t.jsx("div",{className:"bg-white border-b",children:t.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:t.jsx("div",{className:"overflow-x-auto",children:k.length>0&&t.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[t.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),k.map(x=>t.jsx(KC,{name:`#${x}`,color:d,size:"sm",href:c?void 0:o(x),onClick:c?()=>c(x):void 0,removable:h,onRemove:h?()=>y(x):void 0},x))]})})})})]})},mD=a=>a.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 Lj(a){const e=mD(a),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 i of n)if(new RegExp(`\\b${i.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return i;return null}function fD(a){const e=Lj(a);return e||xD(a)}function xD(a){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=a.toLowerCase().split(/\W+/).filter(o=>o.length>2&&!e.has(o)),n={};for(const o of r)n[o]=(n[o]||0)+1;const i=Object.entries(n).sort((o,c)=>c[1]-o[1]);return i.length>0?i[0][0]:null}const Sj=({filters:a,onClearAll:e,handleCreateAlert:r,className:n=""})=>a.length===0?null:t.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[a.map(i=>t.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[i.label&&t.jsxs("span",{className:"font-medium mr-1",children:[i.label,":"]}),t.jsx("span",{children:i.value}),t.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:i.onRemove,"aria-label":`Remove ${i.label||i.key} filter`,children:t.jsx(ia,{size:14})})]},`${i.key}-${i.value}`)),t.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),t.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),kD=({viewMode:a,onToggle:e,className:r=""})=>t.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":a==="grid",children:[t.jsx(Jt,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),t.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${a==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":a==="list",children:[t.jsx(Cc,{size:16,className:"mr-1.5"}),t.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),gD=({value:a,onChange:e,options:r=[5,10,20,50],className:n=""})=>t.jsxs("div",{className:`flex items-center ${n}`,children:[t.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),t.jsx("select",{id:"items-per-page",value:a,onChange:i=>e(Number(i.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(i=>t.jsx("option",{value:i,children:i},i))})]}),Ij=({viewMode:a,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:i,startIndex:o,endIndex:c,title:l})=>t.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[t.jsxs("div",{children:[t.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),t.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",t.jsx("span",{className:"font-semibold text-gray-900",children:o}),"–",t.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",t.jsx("span",{className:"font-semibold text-gray-900",children:i})," articles"]})]}),t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[t.jsx(kD,{viewMode:a,onToggle:e}),t.jsx(gD,{value:r,onChange:n})]})]})}),vD=({title:a,description:e,ctaText:r,ctaLink:n,bgColor:i="bg-yellow-50",textColor:o="text-yellow-800"})=>t.jsx("div",{className:`promo-card ${i} p-4 rounded-lg shadow-sm hidden md:block`,children:t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx("h3",{className:`font-bold text-lg ${o}`,children:a}),t.jsx("p",{className:`text-sm mt-1 ${o} opacity-90`,children:e})]}),t.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})]})}),wD=({items:a,cardType:e,viewMode:r,savedJobs:n,onSaveJob:i,onViewJob:o,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=C.useState([]),[p,f]=C.useState(null);C.useEffect(()=>{try{if(!Array.isArray(a)){console.error("❌ Items is not an array:",a),f("Invalid data format received"),u([]);return}const k=[...a];a.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),f(null)}catch(k){console.error("Error processing items:",k),f(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[a]);const m=(k,y)=>{const g=y===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return t.jsx("div",{className:"col-span-full my-4",children:t.jsx(vD,{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-${y}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),t.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${y}`:k.slug?`${k.slug}-${y}`:`item-${y}`;switch(e){case"job":return t.jsx("div",{...g,children:t.jsx(bN,{job:k,positionInList:y,onSaveJob:M=>i(M,y),onViewJob:(M,j,b)=>o(M,y,b),onApplyJob:c?(M,j,b)=>c(M,y,b):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),t.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[t.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),t.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),t.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[t.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),t.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),t.jsx("p",{children:p})]}):h.length===0?t.jsxs("div",{className:"no-results",children:[t.jsx("h3",{children:"No items found matching your criteria"}),t.jsx("p",{children:"Try adjusting your filters or search term"})]}):t.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,y)=>m(k,y))})},Nj=({currentPage:a,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,i=Math.max(1,a-Math.floor(n/2)),o=Math.min(e,i+n-1),c=[];for(let l=i;l<=o;l++)c.push(l);return t.jsx("div",{className:"mt-6 flex justify-center",children:t.jsxs("nav",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>r(Math.max(1,a-1)),disabled:a===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:t.jsx(ba,{})}),c.map(l=>t.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${a===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),t.jsx("button",{onClick:()=>r(Math.min(e,a+1)),disabled:a===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:t.jsx(Ca,{})})]})})},MD=({jobs:a,onViewJob:e})=>!a||a.length===0?null:t.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[t.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:a.map((r,n)=>t.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[t.jsxs("div",{className:"flex items-center mb-2",children:[t.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),t.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),t.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),t.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),bD=(a,e,r="date")=>{if(e==="all")return a;const n=new Date,i=new Date(n.getFullYear(),n.getMonth(),n.getDate());return a.filter(o=>{const c=o[r]||o.created_at||o.published_at||o.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=i;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}})},CD=(a,e)=>a.filter(r=>{var n,i,o,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((i=r.title)==null?void 0:i.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((o=r.location)==null?void 0:o.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),Fc=(a,e)=>{const r={};for(const n of a)for(const i of e){r[i]||(r[i]=new Set);const o=n[i];Array.isArray(o)?o.forEach(c=>{typeof c=="string"&&c.trim()&&r[i].add(c.trim())}):typeof o=="string"&&o.trim()&&r[i].add(o.trim())}return Object.fromEntries(Object.entries(r).map(([n,i])=>[n,Array.from(i)]))},SN=a=>{const e=new URLSearchParams(window.location.search);a==="all"?e.delete("date_filter"):e.set("date_filter",a);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Us=(a,e,r,n,i="date")=>{let o=a.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(o=o.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()))}))),o=bD(o,n,i),o},n1=(a,e,r=[],n="date")=>{const i=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},o=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,f)=>{const m=f.toLowerCase();let k=p;return h.includes(m)&&(k+=3),u.includes(m)&&(k+=1),k},0)},l=[...a];return l.sort((d,h)=>{switch(e){case"date_asc":return i(d)-i(h);case"views_desc":return o(h)-o(d);case"views_asc":return o(d)-o(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:i(h)-i(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:i(h)-i(d)}case"date_desc":default:return i(h)-i(d)}}),l},IN=({dateFieldLabel:a,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:i,filtersData:o,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:a}),t.jsx(jN,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var f;return t.jsxs("div",{className:"mb-6",children:[t.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,m=>m.toUpperCase())}),i.includes(p)?t.jsx(L9,{options:o[p]||[],value:c[p]||"",onChange:m=>l(p,m),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):t.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:m=>l(p,m.target.value),children:[t.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(f=o[p])==null?void 0:f.map(m=>t.jsx("option",{value:m,children:m},m))]})]},p)}),t.jsx("div",{className:"mt-6",children:t.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:[t.jsx(Qa,{size:16,className:"mr-2"}),t.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function jD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a);v.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var LD="DismissableLayer",zC="dismissableLayer.update",SD="dismissableLayer.pointerDownOutside",ID="dismissableLayer.focusOutside",PL,NN=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),I9=v.forwardRef((a,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:c,onDismiss:l,...d}=a,h=v.useContext(NN),[u,p]=v.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=v.useState({}),k=je(e,S=>p(S)),y=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(x),w=u?y.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,j=w>=g,b=_D(S=>{const L=S.target,A=[...h.branches].some(T=>T.contains(L));!j||A||(i==null||i(S),c==null||c(S),S.defaultPrevented||l==null||l())},f),N=PD(S=>{const L=S.target;[...h.branches].some(T=>T.contains(L))||(o==null||o(S),c==null||c(S),S.defaultPrevented||l==null||l())},f);return jD(S=>{w===h.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},f),v.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(PL=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),qL(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=PL)}},[u,f,r,h]),v.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),qL())},[u,h]),v.useEffect(()=>{const S=()=>m({});return document.addEventListener(zC,S),()=>document.removeEventListener(zC,S)},[]),t.jsx(me.div,{...d,ref:k,style:{pointerEvents:M?j?"auto":"none":void 0,...a.style},onFocusCapture:he(a.onFocusCapture,N.onFocusCapture),onBlurCapture:he(a.onBlurCapture,N.onBlurCapture),onPointerDownCapture:he(a.onPointerDownCapture,b.onPointerDownCapture)})});I9.displayName=LD;var ND="DismissableLayerBranch",AD=v.forwardRef((a,e)=>{const r=v.useContext(NN),n=v.useRef(null),i=je(e,n);return v.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),t.jsx(me.div,{...a,ref:i})});AD.displayName=ND;function _D(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let d=function(){AN(SD,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=d,e.addEventListener("click",i.current,{once:!0})):d()}else e.removeEventListener("click",i.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function PD(a,e=globalThis==null?void 0:globalThis.document){const r=ir(a),n=v.useRef(!1);return v.useEffect(()=>{const i=o=>{o.target&&!n.current&&AN(ID,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function qL(){const a=new CustomEvent(zC);document.dispatchEvent(a)}function AN(a,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(a,e,{once:!0}),n?Hq(i,o):i.dispatchEvent(o)}var sC="focusScope.autoFocusOnMount",oC="focusScope.autoFocusOnUnmount",TL={bubbles:!1,cancelable:!0},qD="FocusScope",N9=v.forwardRef((a,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...c}=a,[l,d]=v.useState(null),h=ir(i),u=ir(o),p=v.useRef(null),f=je(e,y=>d(y)),m=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let y=function(M){if(m.paused||!l)return;const j=M.target;l.contains(j)?p.current=j:$a(p.current,{select:!0})},x=function(M){if(m.paused||!l)return;const j=M.relatedTarget;j!==null&&(l.contains(j)||$a(p.current,{select:!0}))},g=function(M){if(document.activeElement===document.body)for(const b of M)b.removedNodes.length>0&&$a(l)};document.addEventListener("focusin",y),document.addEventListener("focusout",x);const w=new MutationObserver(g);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,m.paused]),v.useEffect(()=>{if(l){DL.add(m);const y=document.activeElement;if(!l.contains(y)){const g=new CustomEvent(sC,TL);l.addEventListener(sC,h),l.dispatchEvent(g),g.defaultPrevented||(TD(ED(_N(l)),{select:!0}),document.activeElement===y&&$a(l))}return()=>{l.removeEventListener(sC,h),setTimeout(()=>{const g=new CustomEvent(oC,TL);l.addEventListener(oC,u),l.dispatchEvent(g),g.defaultPrevented||$a(y??document.body,{select:!0}),l.removeEventListener(oC,u),DL.remove(m)},0)}}},[l,h,u,m]);const k=v.useCallback(y=>{if(!r&&!n||m.paused)return;const x=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,g=document.activeElement;if(x&&g){const w=y.currentTarget,[M,j]=RD(w);M&&j?!y.shiftKey&&g===j?(y.preventDefault(),r&&$a(M,{select:!0})):y.shiftKey&&g===M&&(y.preventDefault(),r&&$a(j,{select:!0})):g===w&&y.preventDefault()}},[r,n,m.paused]);return t.jsx(me.div,{tabIndex:-1,...c,ref:f,onKeyDown:k})});N9.displayName=qD;function TD(a,{select:e=!1}={}){const r=document.activeElement;for(const n of a)if($a(n,{select:e}),document.activeElement!==r)return}function RD(a){const e=_N(a),r=RL(e,a),n=RL(e.reverse(),a);return[r,n]}function _N(a){const e=[],r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function RL(a,e){for(const r of a)if(!DD(r,{upTo:e}))return r}function DD(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function zD(a){return a instanceof HTMLInputElement&&"select"in a}function $a(a,{select:e=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&zD(a)&&e&&a.select()}}var DL=FD();function FD(){let a=[];return{add(e){const r=a[0];e!==r&&(r==null||r.pause()),a=zL(a,e),a.unshift(e)},remove(e){var r;a=zL(a,e),(r=a[0])==null||r.resume()}}}function zL(a,e){const r=[...a],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function ED(a){return a.filter(e=>e.tagName!=="A")}var HD="Portal",A9=v.forwardRef((a,e)=>{var l;const{container:r,...n}=a,[i,o]=v.useState(!1);pt(()=>o(!0),[]);const c=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?ZC.createPortal(t.jsx(me.div,{...n,ref:e}),c):null});A9.displayName=HD;var cC=0;function Aj(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??FL()),document.body.insertAdjacentElement("beforeend",a[1]??FL()),cC++,()=>{cC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),cC--}},[])}function FL(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var oa=function(){return oa=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},oa.apply(this,arguments)};function PN(a,e){var r={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&e.indexOf(n)<0&&(r[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(a);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(a,n[i])&&(r[n[i]]=a[n[i]]);return r}function OD(a,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return a.concat(o||Array.prototype.slice.call(e))}var t9="right-scroll-bar-position",a9="width-before-scroll-bar",VD="with-scroll-bars-hidden",BD="--removed-body-scroll-bar-size";function lC(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}function UD(a,e){var r=C.useState(function(){return{value:a,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var $D=typeof window<"u"?v.useLayoutEffect:v.useEffect,EL=new WeakMap;function GD(a,e){var r=UD(null,function(n){return a.forEach(function(i){return lC(i,n)})});return $D(function(){var n=EL.get(r);if(n){var i=new Set(n),o=new Set(a),c=r.current;i.forEach(function(l){o.has(l)||lC(l,null)}),o.forEach(function(l){i.has(l)||lC(l,c)})}EL.set(r,a)},[a]),r}function WD(a){return a}function ZD(a,e){e===void 0&&(e=WD);var r=[],n=!1,i={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]:a},useMedium:function(o){var c=e(o,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(o){for(n=!0;r.length;){var c=r;r=[],c.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(o),c=r}var d=function(){var u=c;c=[],u.forEach(o)},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 i}function XD(a){a===void 0&&(a={});var e=ZD(null);return e.options=oa({async:!0,ssr:!1},a),e}var qN=function(a){var e=a.sideCar,r=PN(a,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,oa({},r))};qN.isSideCarExport=!0;function JD(a,e){return a.useMedium(e),qN}var TN=XD(),dC=function(){},_9=v.forwardRef(function(a,e){var r=v.useRef(null),n=v.useState({onScrollCapture:dC,onWheelCapture:dC,onTouchMoveCapture:dC}),i=n[0],o=n[1],c=a.forwardProps,l=a.children,d=a.className,h=a.removeScrollBar,u=a.enabled,p=a.shards,f=a.sideCar,m=a.noRelative,k=a.noIsolation,y=a.inert,x=a.allowPinchZoom,g=a.as,w=g===void 0?"div":g,M=a.gapMode,j=PN(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),b=f,N=GD([r,e]),S=oa(oa({},j),i);return v.createElement(v.Fragment,null,u&&v.createElement(b,{sideCar:TN,removeScrollBar:h,shards:p,noRelative:m,noIsolation:k,inert:y,setCallbacks:o,allowPinchZoom:!!x,lockRef:r,gapMode:M}),c?v.cloneElement(v.Children.only(l),oa(oa({},S),{ref:N})):v.createElement(w,oa({},S,{className:d,ref:N}),l))});_9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_9.classNames={fullWidth:a9,zeroRight:t9};var YD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function KD(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=YD();return e&&a.setAttribute("nonce",e),a}function QD(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}function ez(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}var tz=function(){var a=0,e=null;return{add:function(r){a==0&&(e=KD())&&(QD(e,r),ez(e)),a++},remove:function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},az=function(){var a=tz();return function(e,r){v.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&r])}},RN=function(){var a=az(),e=function(r){var n=r.styles,i=r.dynamic;return a(n,i),null};return e},rz={left:0,top:0,right:0,gap:0},hC=function(a){return parseInt(a||"",10)||0},nz=function(a){var e=window.getComputedStyle(document.body),r=e[a==="padding"?"paddingLeft":"marginLeft"],n=e[a==="padding"?"paddingTop":"marginTop"],i=e[a==="padding"?"paddingRight":"marginRight"];return[hC(r),hC(n),hC(i)]},iz=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return rz;var e=nz(a),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},sz=RN(),zo="data-scroll-locked",oz=function(a,e,r,n){var i=a.left,o=a.top,c=a.right,l=a.gap;return r===void 0&&(r="margin"),`
7755
+ .`.concat(VD,` {
7756
7756
  overflow: hidden `).concat(n,`;
7757
7757
  padding-right: `).concat(l,"px ").concat(n,`;
7758
7758
  }
@@ -7786,37 +7786,39 @@ React keys must be passed directly to JSX without using spread:
7786
7786
  }
7787
7787
 
7788
7788
  body[`).concat(zo,`] {
7789
- `).concat(VD,": ").concat(l,`px;
7789
+ `).concat(BD,": ").concat(l,`px;
7790
7790
  }
7791
- `)},HL=function(){var a=parseInt(document.body.getAttribute(zo)||"0",10);return isFinite(a)?a:0},oz=function(){v.useEffect(function(){return document.body.setAttribute(zo,(HL()+1).toString()),function(){var a=HL()-1;a<=0?document.body.removeAttribute(zo):document.body.setAttribute(zo,a.toString())}},[])},cz=function(a){var e=a.noRelative,r=a.noImportant,n=a.gapMode,i=n===void 0?"margin":n;oz();var o=v.useMemo(function(){return nz(i)},[i]);return v.createElement(iz,{styles:sz(o,!e,i,r?"":"!important")})},FC=!1;if(typeof window<"u")try{var i1=Object.defineProperty({},"passive",{get:function(){return FC=!0,!0}});window.addEventListener("test",i1,i1),window.removeEventListener("test",i1,i1)}catch{FC=!1}var uo=FC?{passive:!1}:!1,lz=function(a){return a.tagName==="TEXTAREA"},RN=function(a,e){if(!(a instanceof Element))return!1;var r=window.getComputedStyle(a);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!lz(a)&&r[e]==="visible")},dz=function(a){return RN(a,"overflowY")},hz=function(a){return RN(a,"overflowX")},OL=function(a,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=DN(a,n);if(i){var o=zN(a,n),c=o[1],l=o[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},uz=function(a){var e=a.scrollTop,r=a.scrollHeight,n=a.clientHeight;return[e,r,n]},pz=function(a){var e=a.scrollLeft,r=a.scrollWidth,n=a.clientWidth;return[e,r,n]},DN=function(a,e){return a==="v"?dz(e):hz(e)},zN=function(a,e){return a==="v"?uz(e):pz(e)},yz=function(a,e){return a==="h"&&e==="rtl"?-1:1},mz=function(a,e,r,n,i){var o=yz(a,window.getComputedStyle(e).direction),c=o*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,m=0;do{if(!l)break;var f=zN(a,l),k=f[0],y=f[1],x=f[2],g=y-x-o*k;(k||g)&&DN(a,l)&&(p+=g,m+=k);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&Math.abs(p)<1||!u&&Math.abs(m)<1)&&(h=!0),h},s1=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},VL=function(a){return[a.deltaX,a.deltaY]},BL=function(a){return a&&"current"in a?a.current:a},fz=function(a,e){return a[0]===e[0]&&a[1]===e[1]},xz=function(a){return`
7791
+ `)},HL=function(){var a=parseInt(document.body.getAttribute(zo)||"0",10);return isFinite(a)?a:0},cz=function(){v.useEffect(function(){return document.body.setAttribute(zo,(HL()+1).toString()),function(){var a=HL()-1;a<=0?document.body.removeAttribute(zo):document.body.setAttribute(zo,a.toString())}},[])},lz=function(a){var e=a.noRelative,r=a.noImportant,n=a.gapMode,i=n===void 0?"margin":n;cz();var o=v.useMemo(function(){return iz(i)},[i]);return v.createElement(sz,{styles:oz(o,!e,i,r?"":"!important")})},FC=!1;if(typeof window<"u")try{var i1=Object.defineProperty({},"passive",{get:function(){return FC=!0,!0}});window.addEventListener("test",i1,i1),window.removeEventListener("test",i1,i1)}catch{FC=!1}var uo=FC?{passive:!1}:!1,dz=function(a){return a.tagName==="TEXTAREA"},DN=function(a,e){if(!(a instanceof Element))return!1;var r=window.getComputedStyle(a);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!dz(a)&&r[e]==="visible")},hz=function(a){return DN(a,"overflowY")},uz=function(a){return DN(a,"overflowX")},OL=function(a,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=zN(a,n);if(i){var o=FN(a,n),c=o[1],l=o[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},pz=function(a){var e=a.scrollTop,r=a.scrollHeight,n=a.clientHeight;return[e,r,n]},yz=function(a){var e=a.scrollLeft,r=a.scrollWidth,n=a.clientWidth;return[e,r,n]},zN=function(a,e){return a==="v"?hz(e):uz(e)},FN=function(a,e){return a==="v"?pz(e):yz(e)},mz=function(a,e){return a==="h"&&e==="rtl"?-1:1},fz=function(a,e,r,n,i){var o=mz(a,window.getComputedStyle(e).direction),c=o*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,f=0;do{if(!l)break;var m=FN(a,l),k=m[0],y=m[1],x=m[2],g=y-x-o*k;(k||g)&&zN(a,l)&&(p+=g,f+=k);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&Math.abs(p)<1||!u&&Math.abs(f)<1)&&(h=!0),h},s1=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},VL=function(a){return[a.deltaX,a.deltaY]},BL=function(a){return a&&"current"in a?a.current:a},xz=function(a,e){return a[0]===e[0]&&a[1]===e[1]},kz=function(a){return`
7792
7792
  .block-interactivity-`.concat(a,` {pointer-events: none;}
7793
7793
  .allow-interactivity-`).concat(a,` {pointer-events: all;}
7794
- `)},kz=0,po=[];function gz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(kz++)[0],o=v.useState(TN)[0],c=v.useRef(a);v.useEffect(function(){c.current=a},[a]),v.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(i));var y=HD([a.lockRef.current],(a.shards||[]).map(BL),!0).filter(Boolean);return y.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,x){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var g=s1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-g[0],j="deltaY"in y?y.deltaY:w[1]-g[1],b,N=y.target,S=Math.abs(M)>Math.abs(j)?"h":"v";if("touches"in y&&S==="h"&&N.type==="range")return!1;var L=window.getSelection(),A=L&&L.anchorNode,T=A?A===N||A.contains(N):!1;if(T)return!1;var R=OL(S,N);if(!R)return!0;if(R?b=S:(b=S==="v"?"h":"v",R=OL(S,N)),!R)return!1;if(!n.current&&"changedTouches"in y&&(M||j)&&(n.current=b),!b)return!0;var D=n.current||b;return mz(D,x,y,D==="h"?M:j)},[]),d=v.useCallback(function(y){var x=y;if(!(!po.length||po[po.length-1]!==o)){var g="deltaY"in x?VL(x):s1(x),w=e.current.filter(function(b){return b.name===x.type&&(b.target===x.target||x.target===b.shadowParent)&&fz(b.delta,g)})[0];if(w&&w.should){x.cancelable&&x.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(BL).filter(Boolean).filter(function(b){return b.contains(x.target)}),j=M.length>0?l(x,M[0]):!c.current.noIsolation;j&&x.cancelable&&x.preventDefault()}}},[]),h=v.useCallback(function(y,x,g,w){var M={name:y,delta:x,target:g,should:w,shadowParent:vz(g)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(j){return j!==M})},1)},[]),u=v.useCallback(function(y){r.current=s1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,VL(y),y.target,l(y,a.lockRef.current))},[]),m=v.useCallback(function(y){h(y.type,s1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return po.push(o),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",d,uo),document.addEventListener("touchmove",d,uo),document.addEventListener("touchstart",u,uo),function(){po=po.filter(function(y){return y!==o}),document.removeEventListener("wheel",d,uo),document.removeEventListener("touchmove",d,uo),document.removeEventListener("touchstart",u,uo)}},[]);var f=a.removeScrollBar,k=a.inert;return v.createElement(v.Fragment,null,k?v.createElement(o,{styles:xz(i)}):null,f?v.createElement(cz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function vz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const wz=XD(qN,gz);var P9=v.forwardRef(function(a,e){return v.createElement(_9,oa({},a,{ref:e,sideCar:wz}))});P9.classNames=_9.classNames;var Mz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},yo=new WeakMap,o1=new WeakMap,c1={},uC=0,FN=function(a){return a&&(a.host||FN(a.parentNode))},bz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=FN(r);return n&&a.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",a,". Doing nothing"),null)}).filter(function(r){return!!r})},Cz=function(a,e,r,n){var i=bz(e,Array.isArray(a)?a:[a]);c1[r]||(c1[r]=new WeakMap);var o=c1[r],c=[],l=new Set,d=new Set(i),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};i.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 f=m.getAttribute(n),k=f!==null&&f!=="false",y=(yo.get(m)||0)+1,x=(o.get(m)||0)+1;yo.set(m,y),o.set(m,x),c.push(m),y===1&&k&&o1.set(m,!0),x===1&&m.setAttribute(r,"true"),k||m.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",m,g)}})};return u(e),l.clear(),uC++,function(){c.forEach(function(p){var m=yo.get(p)-1,f=o.get(p)-1;yo.set(p,m),o.set(p,f),m||(o1.has(p)||p.removeAttribute(n),o1.delete(p)),f||p.removeAttribute(r)}),uC--,uC||(yo=new WeakMap,yo=new WeakMap,o1=new WeakMap,c1={})}},_j=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=Mz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),Cz(n,i,r,"aria-hidden")):function(){return null}};function jz(a){const e=Lz(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Iz);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function Lz(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=Az(i),l=Nz(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Sz=Symbol("radix.slottable");function Iz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Sz}function Nz(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function Az(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var q9="Dialog",[EN,HN]=ma(q9),[_z,aa]=EN(q9),ON=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:q9});return t.jsx(_z,{scope:e,triggerRef:l,contentRef:d,contentId:Na(),titleId:Na(),descriptionId:Na(),open:h,onOpenChange:u,onOpenToggle:v.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};ON.displayName=q9;var VN="DialogTrigger",BN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(VN,r),o=je(e,i.triggerRef);return t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Tj(i.open),...n,ref:o,onClick:he(a.onClick,i.onOpenToggle)})});BN.displayName=VN;var Pj="DialogPortal",[Pz,UN]=EN(Pj,{forceMount:void 0}),$N=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,o=aa(Pj,e);return t.jsx(Pz,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(ur,{present:r||o.open,children:t.jsx(A9,{asChild:!0,container:i,children:c})}))})};$N.displayName=Pj;var p9="DialogOverlay",GN=v.forwardRef((a,e)=>{const r=UN(p9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(p9,a.__scopeDialog);return o.modal?t.jsx(ur,{present:n||o.open,children:t.jsx(Tz,{...i,ref:e})}):null});GN.displayName=p9;var qz=jz("DialogOverlay.RemoveScroll"),Tz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(p9,r);return t.jsx(P9,{as:qz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(me.div,{"data-state":Tj(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ao="DialogContent",WN=v.forwardRef((a,e)=>{const r=UN(ao,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(ao,a.__scopeDialog);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(Rz,{...i,ref:e}):t.jsx(Dz,{...i,ref:e})})});WN.displayName=ao;var Rz=v.forwardRef((a,e)=>{const r=aa(ao,a.__scopeDialog),n=v.useRef(null),i=je(e,r.contentRef,n);return v.useEffect(()=>{const o=n.current;if(o)return _j(o)},[]),t.jsx(ZN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:he(a.onFocusOutside,o=>o.preventDefault())})}),Dz=v.forwardRef((a,e)=>{const r=aa(ao,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(ZN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),ZN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=a,l=aa(ao,r),d=v.useRef(null),h=je(e,d);return Aj(),t.jsxs(t.Fragment,{children:[t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(I9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Tj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(Fz,{titleId:l.titleId}),t.jsx(Hz,{contentRef:d,descriptionId:l.descriptionId})]})]})}),qj="DialogTitle",XN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(qj,r);return t.jsx(me.h2,{id:i.titleId,...n,ref:e})});XN.displayName=qj;var JN="DialogDescription",YN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(JN,r);return t.jsx(me.p,{id:i.descriptionId,...n,ref:e})});YN.displayName=JN;var KN="DialogClose",QN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(KN,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});QN.displayName=KN;function Tj(a){return a?"open":"closed"}var eA="DialogTitleWarning",[zz,tA]=bq(eA,{contentName:ao,titleName:qj,docsSlug:"dialog"}),Fz=({titleId:a})=>{const e=tA(eA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7794
+ `)},gz=0,po=[];function vz(a){var e=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),i=v.useState(gz++)[0],o=v.useState(RN)[0],c=v.useRef(a);v.useEffect(function(){c.current=a},[a]),v.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(i));var y=OD([a.lockRef.current],(a.shards||[]).map(BL),!0).filter(Boolean);return y.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),y.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[a.inert,a.lockRef.current,a.shards]);var l=v.useCallback(function(y,x){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!c.current.allowPinchZoom;var g=s1(y),w=r.current,M="deltaX"in y?y.deltaX:w[0]-g[0],j="deltaY"in y?y.deltaY:w[1]-g[1],b,N=y.target,S=Math.abs(M)>Math.abs(j)?"h":"v";if("touches"in y&&S==="h"&&N.type==="range")return!1;var L=window.getSelection(),A=L&&L.anchorNode,T=A?A===N||A.contains(N):!1;if(T)return!1;var R=OL(S,N);if(!R)return!0;if(R?b=S:(b=S==="v"?"h":"v",R=OL(S,N)),!R)return!1;if(!n.current&&"changedTouches"in y&&(M||j)&&(n.current=b),!b)return!0;var D=n.current||b;return fz(D,x,y,D==="h"?M:j)},[]),d=v.useCallback(function(y){var x=y;if(!(!po.length||po[po.length-1]!==o)){var g="deltaY"in x?VL(x):s1(x),w=e.current.filter(function(b){return b.name===x.type&&(b.target===x.target||x.target===b.shadowParent)&&xz(b.delta,g)})[0];if(w&&w.should){x.cancelable&&x.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(BL).filter(Boolean).filter(function(b){return b.contains(x.target)}),j=M.length>0?l(x,M[0]):!c.current.noIsolation;j&&x.cancelable&&x.preventDefault()}}},[]),h=v.useCallback(function(y,x,g,w){var M={name:y,delta:x,target:g,should:w,shadowParent:wz(g)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(j){return j!==M})},1)},[]),u=v.useCallback(function(y){r.current=s1(y),n.current=void 0},[]),p=v.useCallback(function(y){h(y.type,VL(y),y.target,l(y,a.lockRef.current))},[]),f=v.useCallback(function(y){h(y.type,s1(y),y.target,l(y,a.lockRef.current))},[]);v.useEffect(function(){return po.push(o),a.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",d,uo),document.addEventListener("touchmove",d,uo),document.addEventListener("touchstart",u,uo),function(){po=po.filter(function(y){return y!==o}),document.removeEventListener("wheel",d,uo),document.removeEventListener("touchmove",d,uo),document.removeEventListener("touchstart",u,uo)}},[]);var m=a.removeScrollBar,k=a.inert;return v.createElement(v.Fragment,null,k?v.createElement(o,{styles:kz(i)}):null,m?v.createElement(lz,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function wz(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}const Mz=JD(TN,vz);var P9=v.forwardRef(function(a,e){return v.createElement(_9,oa({},a,{ref:e,sideCar:Mz}))});P9.classNames=_9.classNames;var bz=function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},yo=new WeakMap,o1=new WeakMap,c1={},uC=0,EN=function(a){return a&&(a.host||EN(a.parentNode))},Cz=function(a,e){return e.map(function(r){if(a.contains(r))return r;var n=EN(r);return n&&a.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",a,". Doing nothing"),null)}).filter(function(r){return!!r})},jz=function(a,e,r,n){var i=Cz(e,Array.isArray(a)?a:[a]);c1[r]||(c1[r]=new WeakMap);var o=c1[r],c=[],l=new Set,d=new Set(i),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};i.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))u(f);else try{var m=f.getAttribute(n),k=m!==null&&m!=="false",y=(yo.get(f)||0)+1,x=(o.get(f)||0)+1;yo.set(f,y),o.set(f,x),c.push(f),y===1&&k&&o1.set(f,!0),x===1&&f.setAttribute(r,"true"),k||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return u(e),l.clear(),uC++,function(){c.forEach(function(p){var f=yo.get(p)-1,m=o.get(p)-1;yo.set(p,f),o.set(p,m),f||(o1.has(p)||p.removeAttribute(n),o1.delete(p)),m||p.removeAttribute(r)}),uC--,uC||(yo=new WeakMap,yo=new WeakMap,o1=new WeakMap,c1={})}},_j=function(a,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),i=bz(a);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),jz(n,i,r,"aria-hidden")):function(){return null}};function Lz(a){const e=Sz(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(Nz);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function Sz(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=_z(i),l=Az(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var Iz=Symbol("radix.slottable");function Nz(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===Iz}function Az(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function _z(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var q9="Dialog",[HN,ON]=ma(q9),[Pz,aa]=HN(q9),VN=a=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!0}=a,l=v.useRef(null),d=v.useRef(null),[h,u]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:q9});return t.jsx(Pz,{scope:e,triggerRef:l,contentRef:d,contentId:Na(),titleId:Na(),descriptionId:Na(),open:h,onOpenChange:u,onOpenToggle:v.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};VN.displayName=q9;var BN="DialogTrigger",UN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(BN,r),o=je(e,i.triggerRef);return t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Tj(i.open),...n,ref:o,onClick:he(a.onClick,i.onOpenToggle)})});UN.displayName=BN;var Pj="DialogPortal",[qz,$N]=HN(Pj,{forceMount:void 0}),GN=a=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=a,o=aa(Pj,e);return t.jsx(qz,{scope:e,forceMount:r,children:v.Children.map(n,c=>t.jsx(ur,{present:r||o.open,children:t.jsx(A9,{asChild:!0,container:i,children:c})}))})};GN.displayName=Pj;var p9="DialogOverlay",WN=v.forwardRef((a,e)=>{const r=$N(p9,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(p9,a.__scopeDialog);return o.modal?t.jsx(ur,{present:n||o.open,children:t.jsx(Rz,{...i,ref:e})}):null});WN.displayName=p9;var Tz=Lz("DialogOverlay.RemoveScroll"),Rz=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(p9,r);return t.jsx(P9,{as:Tz,allowPinchZoom:!0,shards:[i.contentRef],children:t.jsx(me.div,{"data-state":Tj(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),ao="DialogContent",ZN=v.forwardRef((a,e)=>{const r=$N(ao,a.__scopeDialog),{forceMount:n=r.forceMount,...i}=a,o=aa(ao,a.__scopeDialog);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(Dz,{...i,ref:e}):t.jsx(zz,{...i,ref:e})})});ZN.displayName=ao;var Dz=v.forwardRef((a,e)=>{const r=aa(ao,a.__scopeDialog),n=v.useRef(null),i=je(e,r.contentRef,n);return v.useEffect(()=>{const o=n.current;if(o)return _j(o)},[]),t.jsx(XN,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,o=>{var c;o.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&o.preventDefault()}),onFocusOutside:he(a.onFocusOutside,o=>o.preventDefault())})}),zz=v.forwardRef((a,e)=>{const r=aa(ao,a.__scopeDialog),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(XN,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),XN=v.forwardRef((a,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...c}=a,l=aa(ao,r),d=v.useRef(null),h=je(e,d);return Aj(),t.jsxs(t.Fragment,{children:[t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(I9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Tj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),t.jsxs(t.Fragment,{children:[t.jsx(Ez,{titleId:l.titleId}),t.jsx(Oz,{contentRef:d,descriptionId:l.descriptionId})]})]})}),qj="DialogTitle",JN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(qj,r);return t.jsx(me.h2,{id:i.titleId,...n,ref:e})});JN.displayName=qj;var YN="DialogDescription",KN=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(YN,r);return t.jsx(me.p,{id:i.descriptionId,...n,ref:e})});KN.displayName=YN;var QN="DialogClose",eA=v.forwardRef((a,e)=>{const{__scopeDialog:r,...n}=a,i=aa(QN,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});eA.displayName=QN;function Tj(a){return a?"open":"closed"}var tA="DialogTitleWarning",[Fz,aA]=Cq(tA,{contentName:ao,titleName:qj,docsSlug:"dialog"}),Ez=({titleId:a})=>{const e=aA(tA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
7795
7795
 
7796
7796
  If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
7797
7797
 
7798
- For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return v.useEffect(()=>{a&&(document.getElementById(a)||console.error(r))},[r,a]),null},Ez="DialogDescriptionWarning",Hz=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tA(Ez).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=a.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},aA=ON,rA=BN,nA=$N,Rj=GN,Dj=WN,zj=XN,Fj=YN,Ej=QN;function T9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Oz=["color"],Vz=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Oz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Bz=["color"],iA=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Bz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Uz=["color"],$z=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Uz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Gz=["color"],Wz=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Gz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const mr=aA,Zz=rA,Xz=nA,sA=v.forwardRef(({className:a,...e},r)=>t.jsx(Rj,{ref:r,className:ce("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",a),...e}));sA.displayName=Rj.displayName;const Ta=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Xz,{children:[t.jsx(sA,{}),t.jsxs(Dj,{ref:n,className:ce("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",a),...r,children:[e,t.jsxs(Ej,{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:[t.jsx(Wz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ta.displayName=Dj.displayName;const fr=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});fr.displayName="DialogHeader";const Ra=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});Ra.displayName="DialogFooter";const Da=v.forwardRef(({className:a,...e},r)=>t.jsx(zj,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));Da.displayName=zj.displayName;const R9=v.forwardRef(({className:a,...e},r)=>t.jsx(Fj,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));R9.displayName=Fj.displayName;var Jz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yz=Jz.reduce((a,e)=>{const r=XC(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Kz="Label",oA=v.forwardRef((a,e)=>t.jsx(Yz.label,{...a,ref:e,onMouseDown:r=>{var i;r.target.closest("button, input, select, textarea")||((i=a.onMouseDown)==null||i.call(a,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));oA.displayName=Kz;var cA=oA;const Qz=w9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),fe=v.forwardRef(({className:a,...e},r)=>t.jsx(cA,{ref:r,className:ce(Qz(),a),...e}));fe.displayName=cA.displayName;const eF=1,tF=1e6;let pC=0;function aF(){return pC=(pC+1)%Number.MAX_SAFE_INTEGER,pC.toString()}const yC=new Map,UL=a=>{if(yC.has(a))return;const e=setTimeout(()=>{yC.delete(a),r9({type:"REMOVE_TOAST",toastId:a})},tF);yC.set(a,e)},rF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,eF)};case"UPDATE_TOAST":return{...a,toasts:a.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?UL(r):a.toasts.forEach(n=>{UL(n.id)}),{...a,toasts:a.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...a,toasts:[]}:{...a,toasts:a.toasts.filter(r=>r.id!==e.toastId)}}},nF=[];let mC={toasts:[]};function r9(a){mC=rF(mC,a),nF.forEach(e=>{e(mC)})}function $L({...a}){const e=aF(),r=i=>r9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>r9({type:"DISMISS_TOAST",toastId:e});return r9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const iF=new Set([200,201,202,204]);function sF(a){return a===400?"BAD_REQUEST":a===401?"UNAUTHORIZED":a===403?"FORBIDDEN":a===404?"NOT_FOUND":a===409?"CONFLICT":a===429?"RATE_LIMITED":a>=500?"SERVER":"UNKNOWN"}function oF(a){if(a.friendly)return a.friendly;switch(a.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 cF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,o=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(iF.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:sF(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(o)}}function lF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:o="http://localhost:5147"}){const[c,l]=C.useState(""),[d,h]=C.useState(!1),[u,p]=C.useState(null),m=async f=>{if(f.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await cF(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(oF(k.error)),$L({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),$L({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 t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{className:"sm:max-w-md",children:[t.jsxs(fr,{children:[t.jsxs(Da,{className:"flex items-center gap-2",children:[t.jsx(go,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(R9,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),t.jsxs("form",{onSubmit:m,className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:f=>l(f.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&t.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&t.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[t.jsx("p",{className:"font-medium",children:"Alert criteria:"}),t.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),t.jsxs(Ra,{className:"gap-2 sm:gap-0",children:[t.jsx($,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx($,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function lA(){const a="savedJobs",[e,r]=C.useState([]);return C.useEffect(()=>{try{const o=localStorage.getItem(a);o&&r(JSON.parse(o))}catch(o){console.error("Failed to load saved jobs:",o)}},[]),{savedJobs:e,toggleJob:o=>{r(c=>{const d=c.includes(o)?c.filter(h=>h!==o):[...c,o];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:o=>o?e.includes(o):!1}}const dF=({value:a,options:e,onChange:r})=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),t.jsxs("div",{className:"relative",children:[t.jsx("select",{"aria-label":"Order results",value:a,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:e.map(n=>t.jsx("option",{value:n.value,children:n.label},n.value))}),t.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),hF=6,fC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},uF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:o,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:m,onPopularTagClick:f,onPopularTagRemove:k,allowPopularTagRemoval:y=!1})=>{var X;const[x,g]=C.useState([]),[w,M]=C.useState([]),[j,b]=C.useState([]),[N,S]=C.useState(1),[L,A]=C.useState({}),[T,R]=C.useState([]),[D,_]=C.useState({}),[q,z]=C.useState(""),[V,G]=C.useState([]),[E,re]=C.useState(!1),[ne,oe]=C.useState(e),[ae,se]=C.useState("grid"),[ee,le]=C.useState(!1),[ve,W]=C.useState([]),[Q,ue]=C.useState(!0),[de,ye]=C.useState(null),[ie,Pe]=C.useState("all"),[qe,Qe]=C.useState(!1),[st,yt]=C.useState(!1),[xt,ot]=C.useState({...fC}),[Ue,kt]=C.useState({open:!1,type:"info",message:""}),[rt,Fa]=C.useState("date_desc"),{savedJobs:Lt,toggleJob:gt}=lA(),xa=S9(u),F=C.useMemo(()=>({component:"Listing",...m??{}}),[m]),B=C.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]),J=C.useCallback((P,H)=>{p&&p({domain:"jobs",name:P,payload:H,timestamp:new Date().toISOString(),context:F})},[F,p]),we=C.useCallback(()=>({filters:{...L},advancedFilters:xt,dateFilter:ie}),[L,ie,xt]),Ee=C.useCallback(()=>({page:N,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[N,w.length,ne,ee,ae]),et=C.useRef(!1),He=(P,H)=>{kt({open:!0,type:P,message:H})};C.useEffect(()=>{try{const P=localStorage.getItem("lastVisitedJobs");P&&W(JSON.parse(P));try{localStorage.getItem("email")&&yt(!0)}catch(H){console.error("Error checking subscription state:",H)}}catch(P){console.error("Error loading data from localStorage:",P)}},[]),C.useEffect(()=>{const H=new URLSearchParams(window.location.search).get("date_filter");H&&H!=="all"&&Pe(H)},[]),C.useEffect(()=>{if(!a){ye("❌ Missing API URL for Listing component!"),ue(!1);return}ue(!0),ye(null),(async()=>{try{const H=await fetch(a);if(!H.ok)throw new Error(`API responded with status: ${H.status}`);const Z=await H.json();if(!Array.isArray(Z))throw new Error("Expected an array but received: "+typeof Z);const Y=Z.map((ke,ze)=>({...ke,sponsored:ze%7===0,topTag:Lj(ke.title||"")})),te=Array.from(new Set(Y.map(ke=>ke.topTag).filter(ke=>typeof ke=="string"))).slice(0,10);b(te);const Le=n1(Y,rt,T,c);g(Y),M(Le);const Me=Fc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),ye(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=pD(20),Y=n1(Z,rt,T,c);g(Z),M(Y);const te=Fc(Z,r);_(te)}finally{ue(!1)}})()},[a,c,T,rt]),C.useEffect(()=>{const P=new URLSearchParams(window.location.search),H={};r.forEach(te=>{const Le=P.get(te);Le&&(H[te]=Le)}),A(H);const Z=P.get("q")||P.get("searchTerm")||"";Z&&z(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),A(Y)},[]),C.useEffect(()=>{if(ee){const P=x.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=n1(P,rt,T,c);M(H),S(1)}else Ht()},[]),C.useEffect(()=>{et.current||Q||!w.length&&!x.length||(J("jobs_listing_viewed",{...we(),...Ee()}),et.current=!0)},[x.length,J,w.length,we,Ee,Q]);const Et=C.useCallback(P=>{const H=Fc(P,r);_(H)},[r]),Ht=C.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??x,Z=(P==null?void 0:P.filters)??L,Y=(P==null?void 0:P.search)??T,te=(P==null?void 0:P.dateFilter)??ie,Le=(P==null?void 0:P.advanced)??xt;let Me=Us(H,Z,Y,te,c);Me=bD(Me,Le);const ke=n1(Me,rt,Y,c);return M(ke),((P==null?void 0:P.resetPage)??!0)&&S(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Et(ke),ke},[ie,L,xt,x,c,T,rt,Et]);C.useEffect(()=>{Ht({resetPage:!1,refreshFiltersData:!1})},[rt,Ht]);const vr=(P,H)=>{const Z={...L};H?Z[P]=H:delete Z[P],ee&&le(!1),A(Z),Ht({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},ac=()=>{yt(!0),Se().then(()=>Qe(!1))},ka=C.useRef(null),wr=P=>{S(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ka.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ot=P=>{ee&&le(!1),Pe(P),Ht({dateFilter:P}),LN(P),J("jobs_date_filter_changed",{dateFilter:P})},Ea=P=>{if(z(P),P){const H=x.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);G(H)}else G([])},ga=P=>{if(!P.trim())return;ee&&le(!1);const H=[...T,P.trim()];R(H),Ht({search:H}),z(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},lo=P=>{const H=T.filter(Z=>Z!==P);R(H),Ht({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},U=()=>{A({}),R([]),le(!1),Pe("all"),ot({...fC}),Ht({filters:{},search:[],dateFilter:"all",advanced:fC}),J("jobs_filters_cleared_all",{})},K=P=>{const H=new Set,Z=[];for(const Y of P){const te=`${Y.key??""}|${Y.value.toLowerCase()}`;H.has(te)||(H.add(te),Z.push(Y))}return Z},xe=P=>P.replace(/\/+$/,""),Se=async()=>{if(J("jobs_alert_cta_clicked",{searchKeywords:T,query:q.trim()||void 0,...we()}),!st)Qe(!0),J("jobs_subscription_modal_opened",{});else{const P=localStorage.getItem("email"),H=localStorage.getItem("leadId");if(!P||!H){He("info","Please subscribe first to create alerts.");return}const Z="keyword",Y=(Je,nt)=>nt&&nt.trim()?{key:Je.toLowerCase(),value:nt.trim()}:null,te=Object.entries(L).map(([Je,nt])=>Y(Je,nt)).filter(Je=>Je!==null),Le=T.map(Je=>Y(Z,Je)).filter(Je=>Je!==null),Me=Y(Z,q),ke=Me?[Me]:[],ze=K([...te,...Le,...ke]);if(ze.length===0){He("info","No filters/keywords to save.");return}try{const Je=xe(h??"http://localhost:5147"),nt=await fetch(`${Je}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze)});if(!nt.ok){let tt="";try{tt=await nt.text()}catch{}throw new Error(`${nt.status} ${nt.statusText} ${tt}`.trim())}He("success","Alert saved. We’ll notify you about new matching jobs."),z(""),J("jobs_alert_created",{preferences:ze.filter(tt=>tt!==null)})}catch(Je){console.error("Create alert failed:",Je),He("error","Failed to save alert.")}}},$e=()=>{re(!E)},Ha=w.length===0?0:(N-1)*ne+1,ct=Math.min(N*ne,w.length),dt=P=>{oe(P),S(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Oa=()=>{se(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Ze=(P,H,Z="same_tab",Y="listing")=>{const te=P.id||P.slug||P.link;te&&(W(Le=>{const Me=Le.filter(ze=>(ze.id||ze.slug||ze.link)!==te),ke=[P,...Me].slice(0,hF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ke))}catch(ze){console.error("Error saving to localStorage:",ze)}return ke}),J("job_opened",{jobId:te,slug:P.slug,positionInList:H,openedFrom:Y,openedIn:Z}))},mt=(P,H)=>{const Z=P.id||P.slug||P.link;if(!Z)return;const Y=Lt.includes(Z);gt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},rc=(P,H,Z="external")=>{const Y=P.id||P.slug||P.link;Y&&J("job_apply_clicked",{jobId:Y,slug:P.slug,positionInList:H,applyType:Z})},t1=()=>{le(!ee)},I=Math.ceil(w.length/ne),O=w.slice((N-1)*ne,N*ne);return de&&!x.length?t.jsx("div",{className:"flex-grow p-8",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),t.jsx("p",{className:"mb-4",children:de}),t.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"})]})})}):t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(jj,{onSearchChange:Ea,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:j,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:f,onTagRemove:k,allowTagRemoval:y}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:x.map(P=>P.title).filter(Boolean),onSelect:P=>{ga(P)},onTyping:P=>{z(P),Ea(P)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),t.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:$e,children:t.jsx(tr,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Sj,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Ot("all")}]:[],...T.map(P=>({key:"search",label:"",value:P,onRemove:()=>lo(P)})),...Object.entries(L).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>vr(P,"")}))],onClearAll:U,handleCreateAlert:Se})})]}),i&&t.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:$e,"aria-expanded":E,children:[t.jsx(tr,{className:"w-4 h-4 mr-2"}),E?"Close Filters":"Filters"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Ot,filterKeys:r,searchableFilters:d,filtersData:D,activeFilters:L,handleFilterChange:vr,toggleSavedJobsFilter:t1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(bj,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(Ij,{viewMode:ae,onToggleViewMode:Oa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:Ha,endIndex:ct,title:"Latest Jobs"}),t.jsxs("div",{className:"",children:[t.jsx("div",{className:"mb-6",children:t.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",ie!=="all"&&!ee&&t.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ie.replace(/_/g," "),")"]})]}),t.jsxs("p",{className:"text-sm text-gray-600",children:[t.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),t.jsx(dF,{value:rt,options:B,onChange:Fa})]})}),t.jsx(vD,{items:O,cardType:o,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Ze,onApplyJob:rc,firstItemRef:ka,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(Nj,{currentPage:N,totalPages:I,onPageChange:wr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(wD,{jobs:ve,onViewJob:Ze})})]}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((X=n==null?void 0:n.sidebar)==null?void 0:X.enabled)&&t.jsxs("div",{className:"sticky top-4",children:[t.jsx(Gc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(wj,{api_url:h}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((P,H)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+H)}`,alt:`Featured employer ${H+1}`,className:"w-10 h-10 object-contain"})},H))})]})]})})]})]})]}),t.jsx(jN,{activeDateFilter:ie,handleDateFilterChange:Ot,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:L,handleFilterChange:vr,toggleSavedJobsFilter:t1,filtersData:D,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:$e}),t.jsx(bN,{savedJobsCount:Lt.length}),t.jsx(wN,{open:Ue.open,type:Ue.type,message:Ue.message,onClose:()=>kt(P=>({...P,open:!1}))}),t.jsx(lF,{open:qe,onOpenChange:Qe,onSubscriptionSuccess:ac,apiUrl:h})]})};function GL(a=window.location.pathname){const e=a.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(i=>i.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function pF(){const[a,e]=C.useState(()=>GL());return C.useEffect(()=>{const r=()=>e(GL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function WL(a){window.location.assign(a)}function ZL(a){window.history.length>1?window.history.back():window.location.assign(a)}function yF(a){const e=dA,r=a??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function mF(a){return!Array.isArray(a)||a.length===0?hA:a.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const dA={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},hA=[{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"}],fF=({job:a=dA,similarJobs:e=hA,onSkillClick:r})=>{var N;const n=pF(),[i,o]=C.useState(()=>mF(e)),[c,l]=C.useState(!1),[d,h]=C.useState(null),[u,p]=C.useState(!1),[m,f]=C.useState(!1),{toggleJob:k,isSaved:y}=lA(),x=yF(a);C.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(A=>setTimeout(A,300)),!n)throw new Error("Missing slug in URL.");o(i);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");f(L.includes(n))}catch(L){h((L==null?void 0:L.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const g=()=>{n&&k(n)},w=()=>{if(!n)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(n)||(S.push(n),localStorage.setItem("appliedJobs",JSON.stringify(S)),f(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},j=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=S=>{const L=new Date(S),T=Math.abs(new Date().getTime()-L.getTime());return Math.ceil(T/(1e3*60*60*24))};return c?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),t.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!x?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx(Bt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),t.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"})]})}):t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx("div",{className:"bg-white border-b border-gray-200",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[t.jsxs("button",{onClick:()=>ZL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx(Gs,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[t.jsx("div",{className:"flex-1",children:t.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&t.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),t.jsxs("div",{className:"flex-1",children:[t.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&t.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),t.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),t.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(yc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:x.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.location}),x.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:g,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(jo,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.id)?"Saved":"Save Job"]}),t.jsxs("button",{onClick:M,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:[t.jsx(_o,{className:"h-4 w-4 mr-2"}),"Share"]}),t.jsx("button",{onClick:w,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?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(vt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),t.jsx("p",{className:"font-medium",children:x.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Co,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),t.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Ia,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),t.jsx("p",{className:"font-medium",children:x.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(mc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),t.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?j(x.applicationDeadline):"Open"})]})]}),t.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[t.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[t.jsxs("span",{children:[x.viewCount," views"]}),t.jsxs("span",{children:[x.applicantCount," applicants"]})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ut,{className:"h-4 w-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),t.jsx("div",{className:"prose prose-gray max-w-none",children:t.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),t.jsx("ul",{className:"space-y-3",children:(N=x.responsibilities)==null?void 0:N.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?t.jsx("ul",{className:"space-y-3",children:x.requirements.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((S,L)=>t.jsx(KC,{name:S,color:"#2563EB",size:"sm",onClick:r?()=>r(S):void 0},`${S}-${L}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?t.jsx("ul",{className:"space-y-3",children:x.benefits.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(bo,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),t.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(ha,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Js,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),t.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),t.jsx("button",{onClick:w,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?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!m&&t.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[t.jsxs("button",{onClick:g,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(Qa,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.id)?"Saved":"Save"]}),t.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:t.jsx(wc,{className:"h-4 w-4"})})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),t.jsx("div",{className:"space-y-4",children:i.map(S=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>WL(`/jobs/${S.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.company}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-3 w-3 mr-1"}),t.jsx("span",{children:S.location})]}),t.jsxs("span",{children:[b(S.postedDate),"d ago"]})]}),S.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),t.jsx("button",{onClick:()=>WL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&t.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:t.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),t.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:t.jsx("p",{className:"font-medium",children:x.contactEmail})}),t.jsxs("div",{className:"flex space-x-3",children:[t.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"}),t.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,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"})]})]})})]})},xF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),kF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:o="card",userAccess:c,positionInList:l})=>{const[d,h]=C.useState(!1),u=y=>{const x=new Date(y),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),m=y=>y.length>1?y[1]:y[0],f=(y,x)=>y.length<=x?y:y.substring(0,x).trim()+"...",k=o==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return t.jsxs("article",{className:`
7798
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return v.useEffect(()=>{a&&(document.getElementById(a)||console.error(r))},[r,a]),null},Hz="DialogDescriptionWarning",Oz=({contentRef:a,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${aA(Hz).contentName}}.`;return v.useEffect(()=>{var o;const i=(o=a.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,a,e]),null},rA=VN,nA=UN,iA=GN,Rj=WN,Dj=ZN,zj=JN,Fj=KN,Ej=eA;function T9(a,e){if(a==null)return{};var r={},n=Object.keys(a),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=a[i]);return r}var Vz=["color"],Bz=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Vz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Uz=["color"],sA=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Uz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),$z=["color"],Gz=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,$z);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),Wz=["color"],Zz=C.forwardRef(function(a,e){var r=a.color,n=r===void 0?"currentColor":r,i=T9(a,Wz);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:e}),C.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const mr=rA,Xz=nA,Jz=iA,oA=v.forwardRef(({className:a,...e},r)=>t.jsx(Rj,{ref:r,className:ce("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",a),...e}));oA.displayName=Rj.displayName;const Ta=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(Jz,{children:[t.jsx(oA,{}),t.jsxs(Dj,{ref:n,className:ce("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",a),...r,children:[e,t.jsxs(Ej,{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:[t.jsx(Zz,{className:"h-4 w-4"}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ta.displayName=Dj.displayName;const fr=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});fr.displayName="DialogHeader";const Ra=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});Ra.displayName="DialogFooter";const Da=v.forwardRef(({className:a,...e},r)=>t.jsx(zj,{ref:r,className:ce("text-lg font-semibold leading-none tracking-tight",a),...e}));Da.displayName=zj.displayName;const R9=v.forwardRef(({className:a,...e},r)=>t.jsx(Fj,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));R9.displayName=Fj.displayName;var Yz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Kz=Yz.reduce((a,e)=>{const r=XC(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),Qz="Label",cA=v.forwardRef((a,e)=>t.jsx(Kz.label,{...a,ref:e,onMouseDown:r=>{var i;r.target.closest("button, input, select, textarea")||((i=a.onMouseDown)==null||i.call(a,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));cA.displayName=Qz;var lA=cA;const eF=w9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),fe=v.forwardRef(({className:a,...e},r)=>t.jsx(lA,{ref:r,className:ce(eF(),a),...e}));fe.displayName=lA.displayName;const tF=1,aF=1e6;let pC=0;function rF(){return pC=(pC+1)%Number.MAX_SAFE_INTEGER,pC.toString()}const yC=new Map,UL=a=>{if(yC.has(a))return;const e=setTimeout(()=>{yC.delete(a),r9({type:"REMOVE_TOAST",toastId:a})},aF);yC.set(a,e)},nF=(a,e)=>{switch(e.type){case"ADD_TOAST":return{...a,toasts:[e.toast,...a.toasts].slice(0,tF)};case"UPDATE_TOAST":return{...a,toasts:a.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?UL(r):a.toasts.forEach(n=>{UL(n.id)}),{...a,toasts:a.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...a,toasts:[]}:{...a,toasts:a.toasts.filter(r=>r.id!==e.toastId)}}},iF=[];let mC={toasts:[]};function r9(a){mC=nF(mC,a),iF.forEach(e=>{e(mC)})}function $L({...a}){const e=rF(),r=i=>r9({type:"UPDATE_TOAST",toast:{...i,id:e}}),n=()=>r9({type:"DISMISS_TOAST",toastId:e});return r9({type:"ADD_TOAST",toast:{...a,id:e,open:!0,onOpenChange:i=>{i||n()}}}),{id:e,dismiss:n,update:r}}const sF=new Set([200,201,202,204]);function oF(a){return a===400?"BAD_REQUEST":a===401?"UNAUTHORIZED":a===403?"FORBIDDEN":a===404?"NOT_FOUND":a===409?"CONFLICT":a===429?"RATE_LIMITED":a>=500?"SERVER":"UNKNOWN"}function cF(a){if(a.friendly)return a.friendly;switch(a.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 lF(a,e){const{timeoutMs:r=12e3,...n}=e??{},i=new AbortController,o=setTimeout(()=>i.abort(),r);try{const c=await fetch(a,{...n,signal:i.signal});if(sF.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:oF(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(o)}}function dF({open:a,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:i,apiUrl:o="http://localhost:5147"}){const[c,l]=C.useState(""),[d,h]=C.useState(!1),[u,p]=C.useState(null),f=async m=>{if(m.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await lF(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(cF(k.error)),$L({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),$L({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 t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{className:"sm:max-w-md",children:[t.jsxs(fr,{children:[t.jsxs(Da,{className:"flex items-center gap-2",children:[t.jsx(go,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),t.jsx(R9,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),t.jsxs("form",{onSubmit:f,className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:m=>l(m.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&t.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&t.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[t.jsx("p",{className:"font-medium",children:"Alert criteria:"}),t.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),t.jsxs(Ra,{className:"gap-2 sm:gap-0",children:[t.jsx(U,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),t.jsx(U,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function dA(){const a="savedJobs",[e,r]=C.useState([]);return C.useEffect(()=>{try{const o=localStorage.getItem(a);o&&r(JSON.parse(o))}catch(o){console.error("Failed to load saved jobs:",o)}},[]),{savedJobs:e,toggleJob:o=>{r(c=>{const d=c.includes(o)?c.filter(h=>h!==o):[...c,o];try{localStorage.setItem(a,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:o=>o?e.includes(o):!1}}const hF=({value:a,options:e,onChange:r})=>t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),t.jsxs("div",{className:"relative",children:[t.jsx("select",{"aria-label":"Order results",value:a,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:e.map(n=>t.jsx("option",{value:n.value,children:n.label},n.value))}),t.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),uF=6,fC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},pF=({apiUrl:a,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:i=!0,cardType:o,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:f,onPopularTagClick:m,onPopularTagRemove:k,allowPopularTagRemoval:y=!1})=>{var X;const[x,g]=C.useState([]),[w,M]=C.useState([]),[j,b]=C.useState([]),[N,S]=C.useState(1),[L,A]=C.useState({}),[T,R]=C.useState([]),[D,_]=C.useState({}),[q,z]=C.useState(""),[V,G]=C.useState([]),[E,re]=C.useState(!1),[ne,oe]=C.useState(e),[ae,se]=C.useState("grid"),[ee,le]=C.useState(!1),[ve,W]=C.useState([]),[Q,ue]=C.useState(!0),[de,ye]=C.useState(null),[ie,Pe]=C.useState("all"),[qe,Qe]=C.useState(!1),[st,yt]=C.useState(!1),[xt,ot]=C.useState({...fC}),[Ue,kt]=C.useState({open:!1,type:"info",message:""}),[rt,Fa]=C.useState("date_desc"),{savedJobs:Lt,toggleJob:gt}=dA(),xa=S9(u),F=C.useMemo(()=>({component:"Listing",...f??{}}),[f]),B=C.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]),J=C.useCallback((P,H)=>{p&&p({domain:"jobs",name:P,payload:H,timestamp:new Date().toISOString(),context:F})},[F,p]),we=C.useCallback(()=>({filters:{...L},advancedFilters:xt,dateFilter:ie}),[L,ie,xt]),Ee=C.useCallback(()=>({page:N,pageSize:ne,totalResults:w.length,viewMode:ae,showOnlySaved:ee}),[N,w.length,ne,ee,ae]),et=C.useRef(!1),He=(P,H)=>{kt({open:!0,type:P,message:H})};C.useEffect(()=>{try{const P=localStorage.getItem("lastVisitedJobs");P&&W(JSON.parse(P));try{localStorage.getItem("email")&&yt(!0)}catch(H){console.error("Error checking subscription state:",H)}}catch(P){console.error("Error loading data from localStorage:",P)}},[]),C.useEffect(()=>{const H=new URLSearchParams(window.location.search).get("date_filter");H&&H!=="all"&&Pe(H)},[]),C.useEffect(()=>{if(!a){ye("❌ Missing API URL for Listing component!"),ue(!1);return}ue(!0),ye(null),(async()=>{try{const H=await fetch(a);if(!H.ok)throw new Error(`API responded with status: ${H.status}`);const Z=await H.json();if(!Array.isArray(Z))throw new Error("Expected an array but received: "+typeof Z);const Y=Z.map((ke,ze)=>({...ke,sponsored:ze%7===0,topTag:Lj(ke.title||"")})),te=Array.from(new Set(Y.map(ke=>ke.topTag).filter(ke=>typeof ke=="string"))).slice(0,10);b(te);const Le=n1(Y,rt,T,c);g(Y),M(Le);const Me=Fc(Y,r);_(Me)}catch(H){console.error("Error fetching data:",H),ye(`Failed to load data: ${H instanceof Error?H.message:String(H)}`);const Z=yD(20),Y=n1(Z,rt,T,c);g(Z),M(Y);const te=Fc(Z,r);_(te)}finally{ue(!1)}})()},[a,c,T,rt]),C.useEffect(()=>{const P=new URLSearchParams(window.location.search),H={};r.forEach(te=>{const Le=P.get(te);Le&&(H[te]=Le)}),A(H);const Z=P.get("q")||P.get("searchTerm")||"";Z&&z(Z);const Y={};r.forEach(te=>{const Le=P.get(te);Le&&(Y[te]=Le)}),A(Y)},[]),C.useEffect(()=>{if(ee){const P=x.filter(Z=>Lt.includes(Z.id||Z.slug||Z.link)),H=n1(P,rt,T,c);M(H),S(1)}else Ht()},[]),C.useEffect(()=>{et.current||Q||!w.length&&!x.length||(J("jobs_listing_viewed",{...we(),...Ee()}),et.current=!0)},[x.length,J,w.length,we,Ee,Q]);const Et=C.useCallback(P=>{const H=Fc(P,r);_(H)},[r]),Ht=C.useCallback(P=>{const H=(P==null?void 0:P.baseItems)??x,Z=(P==null?void 0:P.filters)??L,Y=(P==null?void 0:P.search)??T,te=(P==null?void 0:P.dateFilter)??ie,Le=(P==null?void 0:P.advanced)??xt;let Me=Us(H,Z,Y,te,c);Me=CD(Me,Le);const ke=n1(Me,rt,Y,c);return M(ke),((P==null?void 0:P.resetPage)??!0)&&S(1),((P==null?void 0:P.refreshFiltersData)??!0)&&Et(ke),ke},[ie,L,xt,x,c,T,rt,Et]);C.useEffect(()=>{Ht({resetPage:!1,refreshFiltersData:!1})},[rt,Ht]);const vr=(P,H)=>{const Z={...L};H?Z[P]=H:delete Z[P],ee&&le(!1),A(Z),Ht({filters:Z});const Y={...we(),filters:Z};H?J("jobs_filter_selected",{key:P,value:H,...Y}):J("jobs_filter_cleared",{key:P,...Y})},ac=()=>{yt(!0),Se().then(()=>Qe(!1))},ka=C.useRef(null),wr=P=>{S(P),J("jobs_listing_page_changed",{page:P,pageSize:ne,totalResults:w.length}),setTimeout(()=>{var H;(H=ka.current)==null||H.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ot=P=>{ee&&le(!1),Pe(P),Ht({dateFilter:P}),SN(P),J("jobs_date_filter_changed",{dateFilter:P})},Ea=P=>{if(z(P),P){const H=x.map(Z=>Z.title).filter((Z,Y,te)=>Z&&Z.toLowerCase().includes(P.toLowerCase())&&te.indexOf(Z)===Y).slice(0,5);G(H)}else G([])},ga=P=>{if(!P.trim())return;ee&&le(!1);const H=[...T,P.trim()];R(H),Ht({search:H}),z(""),J("jobs_search_submitted",{searchKeywords:H,query:P.trim(),...we()})},lo=P=>{const H=T.filter(Z=>Z!==P);R(H),Ht({search:H}),J("jobs_search_filter_removed",{removedKeyword:P,remainingKeywords:H})},$=()=>{A({}),R([]),le(!1),Pe("all"),ot({...fC}),Ht({filters:{},search:[],dateFilter:"all",advanced:fC}),J("jobs_filters_cleared_all",{})},K=P=>{const H=new Set,Z=[];for(const Y of P){const te=`${Y.key??""}|${Y.value.toLowerCase()}`;H.has(te)||(H.add(te),Z.push(Y))}return Z},xe=P=>P.replace(/\/+$/,""),Se=async()=>{if(J("jobs_alert_cta_clicked",{searchKeywords:T,query:q.trim()||void 0,...we()}),!st)Qe(!0),J("jobs_subscription_modal_opened",{});else{const P=localStorage.getItem("email"),H=localStorage.getItem("leadId");if(!P||!H){He("info","Please subscribe first to create alerts.");return}const Z="keyword",Y=(Je,nt)=>nt&&nt.trim()?{key:Je.toLowerCase(),value:nt.trim()}:null,te=Object.entries(L).map(([Je,nt])=>Y(Je,nt)).filter(Je=>Je!==null),Le=T.map(Je=>Y(Z,Je)).filter(Je=>Je!==null),Me=Y(Z,q),ke=Me?[Me]:[],ze=K([...te,...Le,...ke]);if(ze.length===0){He("info","No filters/keywords to save.");return}try{const Je=xe(h??"http://localhost:5147"),nt=await fetch(`${Je}/api/leads/${H}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ze)});if(!nt.ok){let tt="";try{tt=await nt.text()}catch{}throw new Error(`${nt.status} ${nt.statusText} ${tt}`.trim())}He("success","Alert saved. We’ll notify you about new matching jobs."),z(""),J("jobs_alert_created",{preferences:ze.filter(tt=>tt!==null)})}catch(Je){console.error("Create alert failed:",Je),He("error","Failed to save alert.")}}},$e=()=>{re(!E)},Ha=w.length===0?0:(N-1)*ne+1,ct=Math.min(N*ne,w.length),dt=P=>{oe(P),S(1),J("jobs_listing_items_per_page_changed",{pageSize:P})},Oa=()=>{se(P=>{const H=P==="grid"?"list":"grid";return J("jobs_listing_viewmode_changed",{viewMode:H}),H})},Ze=(P,H,Z="same_tab",Y="listing")=>{const te=P.id||P.slug||P.link;te&&(W(Le=>{const Me=Le.filter(ze=>(ze.id||ze.slug||ze.link)!==te),ke=[P,...Me].slice(0,uF);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(ke))}catch(ze){console.error("Error saving to localStorage:",ze)}return ke}),J("job_opened",{jobId:te,slug:P.slug,positionInList:H,openedFrom:Y,openedIn:Z}))},mt=(P,H)=>{const Z=P.id||P.slug||P.link;if(!Z)return;const Y=Lt.includes(Z);gt(Z),J(Y?"job_unsaved":"job_saved",{jobId:Z,slug:P.slug,positionInList:H})},rc=(P,H,Z="external")=>{const Y=P.id||P.slug||P.link;Y&&J("job_apply_clicked",{jobId:Y,slug:P.slug,positionInList:H,applyType:Z})},t1=()=>{le(!ee)},I=Math.ceil(w.length/ne),O=w.slice((N-1)*ne,N*ne);return de&&!x.length?t.jsx("div",{className:"flex-grow p-8",children:t.jsx("div",{className:"max-w-7xl mx-auto",children:t.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[t.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),t.jsx("p",{className:"mb-4",children:de}),t.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"})]})})}):t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(jj,{onSearchChange:Ea,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:j,generateHref:P=>`/jobs?q=${P.toLowerCase().replace(/\s+/g,"+")}`,onTagClick:m,onTagRemove:k,allowTagRemoval:y}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:x.map(P=>P.title).filter(Boolean),onSelect:P=>{ga(P)},onTyping:P=>{z(P),Ea(P)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),t.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:$e,children:t.jsx(tr,{size:16,className:"mr-1.5"})})]}),t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Sj,{filters:[...ie!=="all"?[{key:"date",label:l,value:ie.replace(/_/g," "),onRemove:()=>Ot("all")}]:[],...T.map(P=>({key:"search",label:"",value:P,onRemove:()=>lo(P)})),...Object.entries(L).map(([P,H])=>({key:P,label:P.replace(/_/g," "),value:H,onRemove:()=>vr(P,"")}))],onClearAll:$,handleCreateAlert:Se})})]}),i&&t.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:$e,"aria-expanded":E,children:[t.jsx(tr,{className:"w-4 h-4 mr-2"}),E?"Close Filters":"Filters"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(IN,{dateFieldLabel:"Date",activeDateFilter:ie,onDateFilterChange:Ot,filterKeys:r,searchableFilters:d,filtersData:D,activeFilters:L,handleFilterChange:vr,toggleSavedJobsFilter:t1,showOnlySaved:ee,savedJobs:Lt}),Q?t.jsx(bj,{}):t.jsxs("div",{className:"lg:gap-6 w-fit",children:[t.jsx(Ij,{viewMode:ae,onToggleViewMode:Oa,selectedItemsPerPage:ne,onItemsPerPageChange:dt,totalCount:w.length,startIndex:Ha,endIndex:ct,title:"Latest Jobs"}),t.jsxs("div",{className:"",children:[t.jsx("div",{className:"mb-6",children:t.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",ie!=="all"&&!ee&&t.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ie.replace(/_/g," "),")"]})]}),t.jsxs("p",{className:"text-sm text-gray-600",children:[t.jsx("span",{className:"font-semibold text-gray-900",children:w.length})," found"]})]}),t.jsx(hF,{value:rt,options:B,onChange:Fa})]})}),t.jsx(wD,{items:O,cardType:o,viewMode:ae,savedJobs:Lt,onSaveJob:mt,onViewJob:Ze,onApplyJob:rc,firstItemRef:ka,userAccess:xa}),w.length>0&&t.jsx("div",{className:"mt-6",children:t.jsx(Nj,{currentPage:N,totalPages:I,onPageChange:wr})})]}),ve.length>0&&t.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:t.jsx(MD,{jobs:ve,onViewJob:Ze})})]}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((X=n==null?void 0:n.sidebar)==null?void 0:X.enabled)&&t.jsxs("div",{className:"sticky top-4",children:[t.jsx(Gc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),t.jsx(wj,{api_url:h}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((P,H)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+H)}`,alt:`Featured employer ${H+1}`,className:"w-10 h-10 object-contain"})},H))})]})]})})]})]})]}),t.jsx(LN,{activeDateFilter:ie,handleDateFilterChange:Ot,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:L,handleFilterChange:vr,toggleSavedJobsFilter:t1,filtersData:D,savedJobs:Lt,showOnlySaved:ee,isMobileFilterOpen:E,toggleMobileFilter:$e}),t.jsx(CN,{savedJobsCount:Lt.length}),t.jsx(MN,{open:Ue.open,type:Ue.type,message:Ue.message,onClose:()=>kt(P=>({...P,open:!1}))}),t.jsx(dF,{open:qe,onOpenChange:Qe,onSubscriptionSuccess:ac,apiUrl:h})]})};function GL(a=window.location.pathname){const e=a.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(i=>i.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function yF(){const[a,e]=C.useState(()=>GL());return C.useEffect(()=>{const r=()=>e(GL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),a}function WL(a){window.location.assign(a)}function ZL(a){window.history.length>1?window.history.back():window.location.assign(a)}function mF(a){const e=hA,r=a??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function fF(a){return!Array.isArray(a)||a.length===0?uA:a.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const hA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},uA=[{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"}],xF=({job:a=hA,similarJobs:e=uA,onSkillClick:r})=>{var N;const n=yF(),[i,o]=C.useState(()=>fF(e)),[c,l]=C.useState(!1),[d,h]=C.useState(null),[u,p]=C.useState(!1),[f,m]=C.useState(!1),{toggleJob:k,isSaved:y}=dA(),x=mF(a);C.useEffect(()=>{(async()=>{l(!0);try{if(await new Promise(A=>setTimeout(A,300)),!n)throw new Error("Missing slug in URL.");o(i);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");m(L.includes(n))}catch(L){h((L==null?void 0:L.message)||"Failed to load job details")}finally{l(!1)}})()},[n]);const g=()=>{n&&k(n)},w=()=>{if(!n)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):p(!0);const S=JSON.parse(localStorage.getItem("appliedJobs")||"[]");S.includes(n)||(S.push(n),localStorage.setItem("appliedJobs",JSON.stringify(S)),m(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(S){console.log("Error sharing:",S)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},j=S=>new Date(S).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=S=>{const L=new Date(S),T=Math.abs(new Date().getTime()-L.getTime());return Math.ceil(T/(1e3*60*60*24))};return c?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),t.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):d||!x?t.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:t.jsxs("div",{className:"text-center",children:[t.jsx(Bt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:d||"The job you are looking for does not exist."}),t.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"})]})}):t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx("div",{className:"bg-white border-b border-gray-200",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[t.jsxs("button",{onClick:()=>ZL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[t.jsx(Gs,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[t.jsx("div",{className:"flex-1",children:t.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&t.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),t.jsxs("div",{className:"flex-1",children:[t.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&t.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&t.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),t.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),t.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(yc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{className:"font-medium",children:x.company})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.location}),x.isRemote&&t.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(kc,{className:"h-4 w-4 mr-1"}),t.jsx("span",{children:x.salary})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"h-4 w-4 mr-1"}),t.jsxs("span",{children:[b(x.postedDate)," days ago"]})]})]})]})]})}),t.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[t.jsxs("button",{onClick:g,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${y(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(jo,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.id)?"Saved":"Save Job"]}),t.jsxs("button",{onClick:M,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:[t.jsx(_o,{className:"h-4 w-4 mr-2"}),"Share"]}),t.jsx("button",{onClick:w,disabled:f,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-4 w-4 mr-2"}),"Applied"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),t.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:t.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(vt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),t.jsx("p",{className:"font-medium",children:x.jobType})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Co,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),t.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(Ia,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),t.jsx("p",{className:"font-medium",children:x.department})]}),t.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[t.jsx(mc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),t.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),t.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?j(x.applicationDeadline):"Open"})]})]}),t.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[t.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[t.jsxs("span",{children:[x.viewCount," views"]}),t.jsxs("span",{children:[x.applicantCount," applicants"]})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx(Ut,{className:"h-4 w-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),t.jsx("div",{className:"prose prose-gray max-w-none",children:t.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),t.jsx("ul",{className:"space-y-3",children:(N=x.responsibilities)==null?void 0:N.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?t.jsx("ul",{className:"space-y-3",children:x.requirements.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?t.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((S,L)=>t.jsx(KC,{name:S,color:"#2563EB",size:"sm",onClick:r?()=>r(S):void 0},`${S}-${L}`))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?t.jsx("ul",{className:"space-y-3",children:x.benefits.map((S,L)=>t.jsxs("li",{className:"flex items-start",children:[t.jsx(Nt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),t.jsx("span",{className:"text-gray-700",children:S})]},L))}):t.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),t.jsxs("div",{className:"space-y-4",children:[t.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(bo,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),t.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),t.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(ha,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&t.jsxs("div",{className:"flex items-center",children:[t.jsx(Js,{className:"h-4 w-4 text-gray-400 mr-2"}),t.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),t.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),t.jsx("button",{onClick:w,disabled:f,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${f?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:f?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):t.jsxs(t.Fragment,{children:[t.jsx(Xs,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!f&&t.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[t.jsxs("button",{onClick:g,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${y(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[t.jsx(Qa,{className:`h-4 w-4 mr-2 ${y(x.id)?"fill-current":""}`}),y(x.id)?"Saved":"Save"]}),t.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:t.jsx(wc,{className:"h-4 w-4"})})]})]}),t.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),t.jsx("div",{className:"space-y-4",children:i.map(S=>t.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>WL(`/jobs/${S.id}`),children:[t.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:S.title}),t.jsx("p",{className:"text-sm text-gray-600 mb-2",children:S.company}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Zt,{className:"h-3 w-3 mr-1"}),t.jsx("span",{children:S.location})]}),t.jsxs("span",{children:[b(S.postedDate),"d ago"]})]}),S.salary&&t.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:S.salary})]},S.id))}),t.jsx("button",{onClick:()=>WL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),u&&t.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:t.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),t.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:t.jsx("p",{className:"font-medium",children:x.contactEmail})}),t.jsxs("div",{className:"flex space-x-3",children:[t.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"}),t.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,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"})]})]})})]})},kF=()=>t.jsx("div",{children:t.jsx("h2",{children:"Welcome to the Header!"})}),gF=({article:a,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:i,layout:o="card",userAccess:c,positionInList:l})=>{const[d,h]=C.useState(!1),u=y=>{const x=new Date(y),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=y=>y>=1e3?`${(y/1e3).toFixed(1)}k`:y.toString(),f=y=>y.length>1?y[1]:y[0],m=(y,x)=>y.length<=x?y:y.substring(0,x).trim()+"...",k=o==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return t.jsxs("article",{className:`
7799
7799
  news-grid bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden
7800
7800
  hover:shadow-md transition-shadow duration-300 ${k}
7801
- `,children:[t.jsxs("div",{className:`relative ${o==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[t.jsx("img",{src:a.image||"/placeholder.svg?height=200&width=400&text=News",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${o==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBreaking&&t.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),a.isTrending&&t.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[t.jsx(Ys,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),t.jsx("button",{onClick:()=>r(a._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:t.jsx(Qa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${o==="list"?"md:w-2/3":""}`,children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:a.categories.slice(0,2).map((y,x)=>t.jsx("a",{href:`?category=${y}`,children:t.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},x)}))}),t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?t.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:a.title}):t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:a.title})}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:f(a.content,o==="list"?150:200)}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center space-x-4",children:[t.jsxs("span",{children:["By ",m(a.author)]}),t.jsx("span",{children:a.company})]}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsxs("span",{children:[a.readTime,"m read"]})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(gc,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:p(a.viewCount||0)})]})]})]}),t.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:a.tags.slice(0,3).map((y,x)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},x))}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-sm text-gray-500",children:u(a.date)}),t.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:Mj[c.status]}),c.note&&t.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>n(a,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:t.jsx(_o,{className:"w-4 h-4"})}),c.maskExternalLinks?t.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"}):t.jsxs("a",{href:a.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:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:["Read More",t.jsx(Xs,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},gF=({apiUrl:a="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:i="latest",bookmarkStorageKey:o="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,m]=C.useState([]),[f,k]=C.useState([]),[y,x]=C.useState([]),[g,w]=C.useState({}),[M,j]=C.useState(""),[b,N]=C.useState({}),[S,L]=C.useState(!1),[A,T]=C.useState(c),[R,D]=C.useState(new Set),[_,q]=C.useState(i),[z,V]=C.useState("grid"),[G,E]=C.useState(1),[re,ne]=C.useState([]),[oe,ae]=C.useState(!1),[se,ee]=C.useState([]),[le,ve]=C.useState([]),[W,Q]=C.useState(!0),[ue,de]=C.useState("all"),[ye,ie]=C.useState(""),Pe=U=>U.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Qe]=C.useState(n),[st,yt]=C.useState(null),xt=S9(d),ot=C.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ue=C.useCallback((U,K)=>{h&&h({domain:"news",name:U,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),kt=C.useCallback(()=>({filters:{...b},categories:qe.categories.length?qe.categories:b.categories?[b.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:b.author?[b.author]:[],companies:qe.companies.length?qe.companies:b.company?[b.company]:[],dateFilter:ue,readTimeRange:qe.readTime}),[ue,b,qe]),rt=C.useCallback(()=>({page:G,pageSize:A,totalResults:f.length,sortBy:_,viewMode:z}),[G,f.length,A,_,z]),Fa=C.useRef(!1);C.useEffect(()=>{const U=localStorage.getItem(o);U&&D(new Set(JSON.parse(U)))},[o]),C.useEffect(()=>{const U=new URLSearchParams(window.location.search),K={};e.forEach(ct=>{const dt=U.get(ct);dt&&(K[ct]=dt)}),N(K);const xe=U.get("q"),Se=U.get("categories");let $e=[...p];if(xe&&($e=$e.filter(ct=>ct.title.toLowerCase().includes(xe.toLowerCase())),j(xe),Lt(xe)),Se){const ct=Se.trim().toLowerCase().replace(/\s+/g,"-");Qe(dt=>({...dt,categories:[ct]})),$e=$e.filter(dt=>dt.categories.some(Oa=>Pe(Oa)===ct))}x($e);const Ha={};e.forEach(ct=>{const dt=U.get(ct);dt&&(Ha[ct]=dt)}),N(Ha)},[p]),C.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){de(K);const xe=Us(p,b,se,K);k(xe),E(1),gt(xe)}},[p]);const Lt=U=>{if(!U.trim())return;const K=[...se,U.trim()];ee(K);const xe=Us(p,b,K,ue);k(xe),E(1),gt(xe),j(""),Ue("news_search_submitted",{query:U,searchFilters:K,...kt()})},gt=U=>{const K=Fc(U,e);w(K)},xa=U=>{de(U),F(U),LN(U)},F=U=>{const K=Us(p,b,se,U);k(K),E(1),gt(K)};C.useEffect(()=>{localStorage.setItem(o,JSON.stringify(Array.from(R)))},[R,o]),C.useEffect(()=>{Q(!0),yt(null),(async()=>{try{const K=await fetch(a);if(!K.ok)throw new Error(`API responded with status: ${K.status}`);const xe=await K.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const Se=xe.map(Ze=>({...Ze,categories:Array.isArray(Ze.categories)?Ze.categories:[],topTag:mD(Ze.title||"")})),$e={};for(const Ze of Se){const mt=Ze.topTag;mt&&($e[mt]=($e[mt]||0)+1)}const Ha=Object.entries($e).sort((Ze,mt)=>mt[1]-Ze[1]).slice(0,10).map(([Ze])=>Ze);ve(Ha);const ct=new Set;Se.forEach(Ze=>{Ze.categories.forEach(mt=>{ct.add(Pe(mt))})});const dt=Array.from(ct).map(Ze=>({id:Ze,name:Ze.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(rc=>Pe(rc)===Ze)).length,color:"bg-gray-100 text-gray-800"}));m(Se),k(Se),x(Se),ne(dt);const Oa=Fc(Se,e);w(Oa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V(U=>{const K=U==="grid"?"list":"grid";return Ue("news_listing_viewmode_changed",{viewMode:K}),K})};C.useMemo(()=>p.filter(U=>U.isTrending).slice(0,6),[p]),C.useMemo(()=>p.filter(U=>U.isBreaking),[p]);const J=Math.ceil(f.length/A),we=f.slice((G-1)*A,G*A),Ee=(U,K)=>{xt.allowSaving&&D(xe=>{const Se=new Set(xe),$e=Se.has(U);return $e?Se.delete(U):Se.add(U),Ue($e?"news_article_unbookmarked":"news_article_bookmarked",{articleId:U,positionInList:K}),Se})},et=(U,K)=>{navigator.share?navigator.share({title:U.title,text:U.title,url:U.link}):(navigator.clipboard.writeText(U.link),alert("Article link copied to clipboard!")),Ue("news_article_shared",{articleId:U._id,channel:"copy_link"})},He=(U,K,xe="new_tab",Se="listing")=>{Ue("news_article_opened",{articleId:U._id,slug:U.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Et=()=>{ae(!oe)},Ht=f.length===0?0:(G-1)*A+1,vr=Math.min(G*A,f.length),ac=()=>{Qe({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const U=Us(p,b,se,ue);k(U),E(1),gt(U)},ka=()=>{N({}),ee([]),de("all"),ac(),k(p),E(1),gt(p),Ue("news_filters_cleared_all",{})},wr=C.useRef(null),Ot=U=>{E(U),Ue("news_listing_page_changed",{page:U,pageSize:A,totalResults:f.length}),setTimeout(()=>{var K;(K=wr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ea=U=>{T(U),E(1),Ue("news_listing_items_per_page_changed",{pageSize:U})},ga=(U,K)=>{const xe={...b};K?xe[U]=K:delete xe[U];const Se=Us(p,xe,se,ue);N(xe),k(Se),E(1),gt(Se);const $e=kt();K?Ue("news_filter_selected",{key:U,value:K,...$e}):Ue("news_filter_cleared",{key:U,...$e})},lo=U=>{const K=se.filter(Se=>Se!==U);ee(K);const xe=Us(p,b,K,ue);k(xe),E(1),gt(xe),Ue("news_search_filter_removed",{removedKeyword:U,remainingKeywords:K})};return C.useEffect(()=>{Fa.current||W||!f.length&&!p.length||(Ue("news_listing_viewed",{...kt(),...rt()}),Fa.current=!0)},[p.length,Ue,f.length,kt,rt,W]),t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(jj,{onSearchChange:U=>{const K=p.filter(xe=>xe.title.toLowerCase().includes(U.toLowerCase()));x(K),j(U)},title:"Latest News",popularTags:le,generateHref:U=>`/news?q=${U.replace(/\s+/g,"+")}`}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:p.map(U=>U.title),onSelect:U=>{Lt(U)},onTyping:U=>{L(!!U),U||(x(p),j(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),t.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:Et,children:t.jsx(tr,{size:16,className:"mr-1.5"})}),M&&t.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[t.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[M,t.jsx("button",{onClick:()=>{x(p),j("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),j("")},children:"Clear Search"})]})]}),t.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:t.jsx("div",{className:"block w-full",children:t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Sj,{filters:[...ye?[{key:"categories",label:"Categories",value:ye.replace(/-/g," "),onRemove:()=>ie("")}]:[],...se.map(U=>({key:"search",label:"",value:U,onRemove:()=>lo(U)})),...Object.entries(b).map(([U,K])=>({key:U,label:U.replace(/_/g," "),value:K,onRemove:()=>ga(U,"")}))],onClearAll:ka})})})})]}),t.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(SN,{dateFieldLabel:"Date",activeDateFilter:ue,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:g,activeFilters:b,handleFilterChange:ga,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(bj,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(Ij,{viewMode:z,onToggleViewMode:B,selectedItemsPerPage:A,onItemsPerPageChange:Ea,totalCount:f.length,startIndex:Ht,endIndex:vr,title:"Latest News"}),f.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:z==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:we.map((U,K)=>t.jsx("div",{ref:K===0?wr:null,children:t.jsx(kF,{article:U,isBookmarked:R.has(U._id),positionInList:K,onToggleBookmark:xe=>Ee(xe,K),onShare:xe=>et(xe),onOpenArticle:He,layout:z,userAccess:xt})},U._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Nj,{currentPage:G,totalPages:J,onPageChange:Ot})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),t.jsx("button",{onClick:ka,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"sticky top-4",children:[t.jsx(Gc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(wj,{api_url:""}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((U,K)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+K)}`,alt:`Featured employer ${K+1}`,className:"w-10 h-10 object-contain"})},K))})]})]})})]})})]})]}),t.jsx(jN,{activeDateFilter:ue,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:ga,filtersData:g,isMobileFilterOpen:oe,toggleMobileFilter:Et})]})},l1=[{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}],vF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,o]=C.useState(""),[c,l]=C.useState([]),[d,h]=C.useState(!1);C.useEffect(()=>{if(i.length>0){const f=a.filter(g=>{var M,j,b,N,S;const w=i.toLowerCase();return g.title.toLowerCase().includes(w)||((M=g.description)==null?void 0:M.toLowerCase().includes(w))||((j=g.instructor)==null?void 0:j.toLowerCase().includes(w))||((b=g.tags)==null?void 0:b.some(L=>L.toLowerCase().includes(w)))||((N=g.category)==null?void 0:N.toLowerCase().includes(w))||((S=g.subcategory)==null?void 0:S.toLowerCase().includes(w))});e(f);const k=a.filter(g=>g.title.toLowerCase().includes(i.toLowerCase())).map(g=>g.title).slice(0,3),y=a.flatMap(g=>g.tags??[]).filter(g=>g.toLowerCase().includes(i.toLowerCase())).filter((g,w,M)=>M.indexOf(g)===w).slice(0,3),x=a.filter(g=>g.instructor?g.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(g=>g.instructor).filter((g,w,M)=>M.indexOf(g)===w).slice(0,2);l([...k,...y,...x]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=f=>{o(f),r==null||r(f.length>0,f)},p=f=>{o(f),h(!1)},m=()=>{o(""),h(!1),r==null||r(!1,"")};return t.jsxs("div",{className:"course-search relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx("input",{type:"text",value:i,onChange:f=>u(f.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),i&&t.jsx("button",{onClick:m,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(Tt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&t.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:t.jsx("ul",{className:"py-1",children:c.map((f,k)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(f),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 text-gray-400 mr-2"}),f]})})},k))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},wF=({title:a,subtitle:e,placeholder:r,courses:n=[],onSearchResults:i})=>t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[a||"Master the ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),t.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),t.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&i&&t.jsx(vF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),MF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[o,c]=C.useState(new Set),l=h=>{const u=new Set(o);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return t.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),t.jsx("div",{className:"space-y-2",children:a.map(h=>{const u=o.has(h.id),p=e===h.id;return t.jsxs("div",{className:"category-group",children:[t.jsxs("button",{onClick:()=>d(h.id),className:`
7801
+ `,children:[t.jsxs("div",{className:`relative ${o==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[t.jsx("img",{src:a.image||"/placeholder.svg?height=200&width=400&text=News",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${o==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBreaking&&t.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),a.isTrending&&t.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[t.jsx(Ys,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),t.jsx("button",{onClick:()=>r(a._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:t.jsx(Qa,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:`p-4 ${o==="list"?"md:w-2/3":""}`,children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:a.categories.slice(0,2).map((y,x)=>t.jsx("a",{href:`?category=${y}`,children:t.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:y},x)}))}),t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?t.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:a.title}):t.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:a.title})}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:m(a.content,o==="list"?150:200)}),t.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[t.jsxs("div",{className:"flex items-center space-x-4",children:[t.jsxs("span",{children:["By ",f(a.author)]}),t.jsx("span",{children:a.company})]}),t.jsxs("div",{className:"flex items-center space-x-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsxs("span",{children:[a.readTime,"m read"]})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(gc,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:p(a.viewCount||0)})]})]})]}),t.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:a.tags.slice(0,3).map((y,x)=>t.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",y]},x))}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-sm text-gray-500",children:u(a.date)}),t.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:Mj[c.status]}),c.note&&t.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx("button",{onClick:()=>n(a,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:t.jsx(_o,{className:"w-4 h-4"})}),c.maskExternalLinks?t.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"}):t.jsxs("a",{href:a.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:()=>i==null?void 0:i(a,l,"new_tab",a.isTrending?"trending":a.isBreaking?"breaking":"listing"),children:["Read More",t.jsx(Xs,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},vF=({apiUrl:a="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:i="latest",bookmarkStorageKey:o="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,f]=C.useState([]),[m,k]=C.useState([]),[y,x]=C.useState([]),[g,w]=C.useState({}),[M,j]=C.useState(""),[b,N]=C.useState({}),[S,L]=C.useState(!1),[A,T]=C.useState(c),[R,D]=C.useState(new Set),[_,q]=C.useState(i),[z,V]=C.useState("grid"),[G,E]=C.useState(1),[re,ne]=C.useState([]),[oe,ae]=C.useState(!1),[se,ee]=C.useState([]),[le,ve]=C.useState([]),[W,Q]=C.useState(!0),[ue,de]=C.useState("all"),[ye,ie]=C.useState(""),Pe=$=>$.trim().toLowerCase().replace(/\s+/g,"-"),[qe,Qe]=C.useState(n),[st,yt]=C.useState(null),xt=S9(d),ot=C.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ue=C.useCallback(($,K)=>{h&&h({domain:"news",name:$,payload:K,timestamp:new Date().toISOString(),context:ot})},[ot,h]),kt=C.useCallback(()=>({filters:{...b},categories:qe.categories.length?qe.categories:b.categories?[b.categories]:[],tags:qe.tags,authors:qe.authors.length?qe.authors:b.author?[b.author]:[],companies:qe.companies.length?qe.companies:b.company?[b.company]:[],dateFilter:ue,readTimeRange:qe.readTime}),[ue,b,qe]),rt=C.useCallback(()=>({page:G,pageSize:A,totalResults:m.length,sortBy:_,viewMode:z}),[G,m.length,A,_,z]),Fa=C.useRef(!1);C.useEffect(()=>{const $=localStorage.getItem(o);$&&D(new Set(JSON.parse($)))},[o]),C.useEffect(()=>{const $=new URLSearchParams(window.location.search),K={};e.forEach(ct=>{const dt=$.get(ct);dt&&(K[ct]=dt)}),N(K);const xe=$.get("q"),Se=$.get("categories");let $e=[...p];if(xe&&($e=$e.filter(ct=>ct.title.toLowerCase().includes(xe.toLowerCase())),j(xe),Lt(xe)),Se){const ct=Se.trim().toLowerCase().replace(/\s+/g,"-");Qe(dt=>({...dt,categories:[ct]})),$e=$e.filter(dt=>dt.categories.some(Oa=>Pe(Oa)===ct))}x($e);const Ha={};e.forEach(ct=>{const dt=$.get(ct);dt&&(Ha[ct]=dt)}),N(Ha)},[p]),C.useEffect(()=>{const K=new URLSearchParams(window.location.search).get("date_filter");if(K&&K!=="all"){de(K);const xe=Us(p,b,se,K);k(xe),E(1),gt(xe)}},[p]);const Lt=$=>{if(!$.trim())return;const K=[...se,$.trim()];ee(K);const xe=Us(p,b,K,ue);k(xe),E(1),gt(xe),j(""),Ue("news_search_submitted",{query:$,searchFilters:K,...kt()})},gt=$=>{const K=Fc($,e);w(K)},xa=$=>{de($),F($),SN($)},F=$=>{const K=Us(p,b,se,$);k(K),E(1),gt(K)};C.useEffect(()=>{localStorage.setItem(o,JSON.stringify(Array.from(R)))},[R,o]),C.useEffect(()=>{Q(!0),yt(null),(async()=>{try{const K=await fetch(a);if(!K.ok)throw new Error(`API responded with status: ${K.status}`);const xe=await K.json();if(!Array.isArray(xe))throw new Error("Expected an array but received: "+typeof xe);const Se=xe.map(Ze=>({...Ze,categories:Array.isArray(Ze.categories)?Ze.categories:[],topTag:fD(Ze.title||"")})),$e={};for(const Ze of Se){const mt=Ze.topTag;mt&&($e[mt]=($e[mt]||0)+1)}const Ha=Object.entries($e).sort((Ze,mt)=>mt[1]-Ze[1]).slice(0,10).map(([Ze])=>Ze);ve(Ha);const ct=new Set;Se.forEach(Ze=>{Ze.categories.forEach(mt=>{ct.add(Pe(mt))})});const dt=Array.from(ct).map(Ze=>({id:Ze,name:Ze.replace(/-/g," ").replace(/\b\w/g,mt=>mt.toUpperCase()),icon:"📰",count:Se.filter(mt=>mt.categories.some(rc=>Pe(rc)===Ze)).length,color:"bg-gray-100 text-gray-800"}));f(Se),k(Se),x(Se),ne(dt);const Oa=Fc(Se,e);w(Oa)}catch(K){console.error("Failed to fetch articles",K)}finally{Q(!1)}})()},[a]);const B=()=>{V($=>{const K=$==="grid"?"list":"grid";return Ue("news_listing_viewmode_changed",{viewMode:K}),K})};C.useMemo(()=>p.filter($=>$.isTrending).slice(0,6),[p]),C.useMemo(()=>p.filter($=>$.isBreaking),[p]);const J=Math.ceil(m.length/A),we=m.slice((G-1)*A,G*A),Ee=($,K)=>{xt.allowSaving&&D(xe=>{const Se=new Set(xe),$e=Se.has($);return $e?Se.delete($):Se.add($),Ue($e?"news_article_unbookmarked":"news_article_bookmarked",{articleId:$,positionInList:K}),Se})},et=($,K)=>{navigator.share?navigator.share({title:$.title,text:$.title,url:$.link}):(navigator.clipboard.writeText($.link),alert("Article link copied to clipboard!")),Ue("news_article_shared",{articleId:$._id,channel:"copy_link"})},He=($,K,xe="new_tab",Se="listing")=>{Ue("news_article_opened",{articleId:$._id,slug:$.slug,positionInList:K,openedFrom:Se,openedIn:xe})},Et=()=>{ae(!oe)},Ht=m.length===0?0:(G-1)*A+1,vr=Math.min(G*A,m.length),ac=()=>{Qe({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),E(1);const $=Us(p,b,se,ue);k($),E(1),gt($)},ka=()=>{N({}),ee([]),de("all"),ac(),k(p),E(1),gt(p),Ue("news_filters_cleared_all",{})},wr=C.useRef(null),Ot=$=>{E($),Ue("news_listing_page_changed",{page:$,pageSize:A,totalResults:m.length}),setTimeout(()=>{var K;(K=wr.current)==null||K.scrollIntoView({behavior:"smooth",block:"start"})},100)},Ea=$=>{T($),E(1),Ue("news_listing_items_per_page_changed",{pageSize:$})},ga=($,K)=>{const xe={...b};K?xe[$]=K:delete xe[$];const Se=Us(p,xe,se,ue);N(xe),k(Se),E(1),gt(Se);const $e=kt();K?Ue("news_filter_selected",{key:$,value:K,...$e}):Ue("news_filter_cleared",{key:$,...$e})},lo=$=>{const K=se.filter(Se=>Se!==$);ee(K);const xe=Us(p,b,K,ue);k(xe),E(1),gt(xe),Ue("news_search_filter_removed",{removedKeyword:$,remainingKeywords:K})};return C.useEffect(()=>{Fa.current||W||!m.length&&!p.length||(Ue("news_listing_viewed",{...kt(),...rt()}),Fa.current=!0)},[p.length,Ue,m.length,kt,rt,W]),t.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[t.jsxs("div",{className:"flex-grow",children:[t.jsx(jj,{onSearchChange:$=>{const K=p.filter(xe=>xe.title.toLowerCase().includes($.toLowerCase()));x(K),j($)},title:"Latest News",popularTags:le,generateHref:$=>`/news?q=${$.replace(/\s+/g,"+")}`}),t.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[t.jsxs("div",{className:"relative",children:[t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:p.map($=>$.title),onSelect:$=>{Lt($)},onTyping:$=>{L(!!$),$||(x(p),j(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),t.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:Et,children:t.jsx(tr,{size:16,className:"mr-1.5"})}),M&&t.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[t.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[M,t.jsx("button",{onClick:()=>{x(p),j("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),t.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),j("")},children:"Clear Search"})]})]}),t.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:t.jsx("div",{className:"block w-full",children:t.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:t.jsx(Sj,{filters:[...ye?[{key:"categories",label:"Categories",value:ye.replace(/-/g," "),onRemove:()=>ie("")}]:[],...se.map($=>({key:"search",label:"",value:$,onRemove:()=>lo($)})),...Object.entries(b).map(([$,K])=>({key:$,label:$.replace(/_/g," "),value:K,onRemove:()=>ga($,"")}))],onClearAll:ka})})})})]}),t.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[t.jsx(IN,{dateFieldLabel:"Date",activeDateFilter:ue,onDateFilterChange:xa,filterKeys:e,searchableFilters:r,filtersData:g,activeFilters:b,handleFilterChange:ga,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?t.jsx(bj,{}):t.jsx(t.Fragment,{children:t.jsxs("div",{className:"lg:w-2/4",children:[t.jsx(Ij,{viewMode:z,onToggleViewMode:B,selectedItemsPerPage:A,onItemsPerPageChange:Ea,totalCount:m.length,startIndex:Ht,endIndex:vr,title:"Latest News"}),m.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:z==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:we.map(($,K)=>t.jsx("div",{ref:K===0?wr:null,children:t.jsx(gF,{article:$,isBookmarked:R.has($._id),positionInList:K,onToggleBookmark:xe=>Ee(xe,K),onShare:xe=>et(xe),onOpenArticle:He,layout:z,userAccess:xt})},$._id))}),J>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Nj,{currentPage:G,totalPages:J,onPageChange:Ot})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),t.jsx("button",{onClick:ka,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:t.jsxs("div",{className:"sticky top-4",children:[t.jsx(Gc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),t.jsx(wj,{api_url:""}),t.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[t.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),t.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map(($,K)=>t.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:t.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+K)}`,alt:`Featured employer ${K+1}`,className:"w-10 h-10 object-contain"})},K))})]})]})})]})})]})]}),t.jsx(LN,{activeDateFilter:ue,handleDateFilterChange:xa,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:b,handleFilterChange:ga,filtersData:g,isMobileFilterOpen:oe,toggleMobileFilter:Et})]})},l1=[{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}],wF=({courses:a,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[i,o]=C.useState(""),[c,l]=C.useState([]),[d,h]=C.useState(!1);C.useEffect(()=>{if(i.length>0){const m=a.filter(g=>{var M,j,b,N,S;const w=i.toLowerCase();return g.title.toLowerCase().includes(w)||((M=g.description)==null?void 0:M.toLowerCase().includes(w))||((j=g.instructor)==null?void 0:j.toLowerCase().includes(w))||((b=g.tags)==null?void 0:b.some(L=>L.toLowerCase().includes(w)))||((N=g.category)==null?void 0:N.toLowerCase().includes(w))||((S=g.subcategory)==null?void 0:S.toLowerCase().includes(w))});e(m);const k=a.filter(g=>g.title.toLowerCase().includes(i.toLowerCase())).map(g=>g.title).slice(0,3),y=a.flatMap(g=>g.tags??[]).filter(g=>g.toLowerCase().includes(i.toLowerCase())).filter((g,w,M)=>M.indexOf(g)===w).slice(0,3),x=a.filter(g=>g.instructor?g.instructor.toLowerCase().includes(i.toLowerCase()):!1).map(g=>g.instructor).filter((g,w,M)=>M.indexOf(g)===w).slice(0,2);l([...k,...y,...x]),h(!0)}else e(a),l([]),h(!1)},[i,a,e]);const u=m=>{o(m),r==null||r(m.length>0,m)},p=m=>{o(m),h(!1)},f=()=>{o(""),h(!1),r==null||r(!1,"")};return t.jsxs("div",{className:"course-search relative",children:[t.jsxs("div",{className:"relative",children:[t.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:t.jsx(Xt,{className:"h-5 w-5 text-gray-400"})}),t.jsx("input",{type:"text",value:i,onChange:m=>u(m.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),i&&t.jsx("button",{onClick:f,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:t.jsx(Tt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&t.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:t.jsx("ul",{className:"py-1",children:c.map((m,k)=>t.jsx("li",{children:t.jsx("button",{onClick:()=>p(m),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:t.jsxs("div",{className:"flex items-center",children:[t.jsx(Xt,{className:"h-4 w-4 text-gray-400 mr-2"}),m]})})},k))})}),i&&t.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',i,'"']})]})},MF=({title:a,subtitle:e,placeholder:r,courses:n=[],onSearchResults:i})=>t.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:t.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8",children:[t.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[a||"Master the ",t.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),t.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),t.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&i&&t.jsx(wF,{courses:n,onSearchResults:i,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),bF=({categories:a,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:i})=>{const[o,c]=C.useState(new Set),l=h=>{const u=new Set(o);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return t.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),t.jsx("div",{className:"space-y-2",children:a.map(h=>{const u=o.has(h.id),p=e===h.id;return t.jsxs("div",{className:"category-group",children:[t.jsxs("button",{onClick:()=>d(h.id),className:`
7802
7802
  w-full flex items-center justify-between p-3 rounded-lg text-left transition-colors
7803
7803
  ${p?"bg-yellow-50 text-indigo-700 border border-yellow--200":"hover:bg-gray-50 text-gray-700"}
7804
- `,children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx("span",{className:"text-lg mr-3",children:h.icon}),t.jsx("span",{className:"font-medium",children:h.name})]}),u?t.jsx(Ws,{className:"w-4 h-4"}):t.jsx(er,{className:"w-4 h-4"})]}),u&&t.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(m=>{const f=r===m.id;return t.jsxs("button",{onClick:()=>i(m.id),className:`
7804
+ `,children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx("span",{className:"text-lg mr-3",children:h.icon}),t.jsx("span",{className:"font-medium",children:h.name})]}),u?t.jsx(Ws,{className:"w-4 h-4"}):t.jsx(er,{className:"w-4 h-4"})]}),u&&t.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(f=>{const m=r===f.id;return t.jsxs("button",{onClick:()=>i(f.id),className:`
7805
7805
  w-full flex items-center justify-between p-2 rounded-md text-left text-sm transition-colors
7806
- ${f?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
7807
- `,children:[t.jsx("span",{children:m.name}),t.jsx("span",{className:"text-xs text-gray-500",children:m.courseCount})]},m.id)})})]},h.id)})})]})},XL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m})=>{const[f,k]=C.useState(!1),y=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],g=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const N=a.languages.includes(b)?a.languages.filter(S=>S!==b):[...a.languages,b];r({...a,languages:N})},M=b=>{const N=a.features.includes(b)?a.features.filter(S=>S!==b):[...a.features,b];r({...a,features:N})},j=a.levels.length>0||a.languages.length>0||a.features.length>0||a.rating>0||a.priceRange[0]>0||a.priceRange[1]<2e3;return t.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[t.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Mo,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),j&&t.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[j&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>k(!f),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Ws,{className:`w-4 h-4 transition-transform ${f?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",o," courses"]})]}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),t.jsx("select",{id:"sort-select",value:e,onChange:b=>n(b.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:y.map(b=>t.jsx("option",{value:b.value,children:b.label},b.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(MF,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:m}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),t.jsx("div",{className:"space-y-2",children:x.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),t.jsx("div",{className:"space-y-2",children:g.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(b),onChange:()=>M(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},bF=({isOpen:a,onClose:e,title:r="Filters",children:n})=>a?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),t.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"p-4",children:n})]})]}):null,JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:m,toggleMobileFilter:f,enableMobileFilter:k,showFilterName:y=!0,isMobile:x=!1})=>t.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:f,"aria-expanded":m,children:t.jsx(tr,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(bF,{isOpen:m,onClose:f,title:"Filters",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),CF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[o,c]=C.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=i.allowSaving,u=i.maskExternalLinks;return t.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:[t.jsxs("div",{className:"relative",children:[t.jsx("img",{src:a.thumbnail||"/placeholder.svg",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!o&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx(Wt,{className:"w-12 h-12 text-gray-400"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBestseller&&t.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),a.isNew&&t.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),a.isFeatured&&t.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),t.jsx("button",{onClick:()=>r(a.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:t.jsx(jo,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:a.title}),t.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[t.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:Mj[i.status]}),i.note&&t.jsx("span",{className:"text-xs text-gray-500",children:i.note})]}),t.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",a.instructor]}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:a.description}),t.jsxs("div",{className:"flex items-center mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ut,{className:"w-4 h-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:a.rating})]}),typeof a.reviewCount=="number"&&t.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",a.reviewCount.toLocaleString()," reviews)"]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:a.duration})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"w-4 h-4 mr-1"}),typeof a.enrollmentCount=="number"&&t.jsxs("span",{children:[d(a.enrollmentCount)," students"]})]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[t.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${a.level==="Beginner"?"bg-green-100 text-green-800":a.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:a.level}),a.certificate&&t.jsxs("div",{className:"flex items-center text-indigo-600",children:[t.jsx(La,{className:"w-4 h-4 mr-1"}),t.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[typeof a.price=="number"&&a.currency&&t.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(a.price,a.currency)}),typeof a.originalPrice=="number"&&!isNaN(a.originalPrice)&&t.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(a.originalPrice,a.currency)})]}),u?t.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"}):t.jsx("button",{onClick:()=>n(a.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"})]})]})]})},jF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:o,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(a.length/i),p=a.slice((c-1)*i,c*i),m=C.useRef(null),f=k=>{l(k),setTimeout(()=>{var y;(y=m.current)==null||y.scrollIntoView({behavior:"smooth",block:"start"})},100)};return a.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,y)=>t.jsx("div",{ref:y===0?m:null,children:t.jsx(CF,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Nj,{currentPage:c,totalPages:u,onPageChange:f})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Wt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),t.jsx("button",{onClick:o,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},LF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:o})=>{const[c,l]=C.useState([]),[d,h]=C.useState([]),[u,p]=C.useState(new Set),[m,f]=C.useState(""),[k,y]=C.useState(""),[x,g]=C.useState("relevance"),[w,M]=C.useState(!1),[j,b]=C.useState(1),[N,S]=C.useState(!1),[L,A]=C.useState(!1),[T,R]=C.useState(!0),[D,_]=C.useState(""),[q,z]=C.useState([]),[V,G]=C.useState([]),[E,re]=C.useState("grid"),[ne,oe]=C.useState(r),[ae,se]=C.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=S9(n),le=C.useMemo(()=>({component:"IGamingCoursePage",...o??{}}),[o]),ve=C.useRef(!1),W=C.useMemo(()=>{let F=[...d];switch(m&&(F=F.filter(B=>ie(B.category)===m)),k&&(F=F.filter(B=>ie(B.subcategory)===k)),ae.levels.length>0&&(F=F.filter(B=>ae.levels.includes(B.level))),ae.languages.length>0&&(F=F.filter(B=>ae.languages.includes(B.language))),ae.features.length>0&&(F=F.filter(B=>ae.features.some(J=>B.features.includes(J)))),ae.rating>0&&(F=F.filter(B=>B.rating>=ae.rating)),w&&(F=F.filter(B=>u.has(B.id))),x){case"price-low-high":F.sort((B,J)=>B.price-J.price);break;case"price-high-low":F.sort((B,J)=>J.price-B.price);break;case"rating":F.sort((B,J)=>J.rating-B.rating);break;case"newest":F.sort((B,J)=>new Date(J.lastUpdated).getTime()-new Date(B.lastUpdated).getTime());break;case"most-enrolled":F.sort((B,J)=>J.enrollmentCount-B.enrollmentCount);break;default:F.sort((B,J)=>B.isFeatured&&!J.isFeatured?-1:!B.isFeatured&&J.isFeatured?1:B.isBestseller&&!J.isBestseller?-1:!B.isBestseller&&J.isBestseller?1:J.rating-B.rating)}return F},[d,m,k,ae,u,w,x]),Q=C.useCallback((F,B)=>{i&&i({domain:"courses",name:F,payload:B,timestamp:new Date().toISOString(),context:le})},[le,i]),ue=C.useCallback(()=>({category:m||void 0,subcategory:k||void 0,levels:ae.levels,languages:ae.languages,features:ae.features,rating:ae.rating,priceRange:ae.priceRange,favoritesOnly:w}),[ae.features,ae.languages,ae.levels,ae.priceRange,ae.rating,m,k,w]),de=C.useCallback(()=>({page:j,pageSize:ne,totalResults:W.length,sortBy:x,viewMode:E}),[j,W.length,ne,x,E]),ye=()=>{re(F=>{const B=F==="grid"?"list":"grid";return Q("courses_listing_viewmode_changed",{viewMode:B}),B})},ie=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Pe=C.useMemo(()=>{const F=new Map;return c.forEach(B=>{const J=B.category,we=B.subcategory,Ee=ie(J),et=ie(we);if(!Ee)return;F.has(Ee)||F.set(Ee,new Map);const He=F.get(Ee);et&&He.set(et,(He.get(et)??0)+1)}),Array.from(F.entries()).map(([B,J])=>({id:B,name:B.replace(/-/g," ").replace(/\b\w/g,we=>we.toUpperCase()),icon:"🎯",subcategories:Array.from(J.entries()).map(([we,Ee])=>({id:we,name:we.replace(/-/g," ").replace(/\b\w/g,et=>et.toUpperCase()),courseCount:Ee}))}))},[c]),qe=F=>{oe(F),b(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Qe=F=>{const B=J=>J.slice().sort().join("|");return B(F.categories)!==B(ae.categories)?"category":B(F.subcategories)!==B(ae.subcategories)?"subcategory":B(F.levels)!==B(ae.levels)?"levels":B(F.languages)!==B(ae.languages)?"languages":B(F.features)!==B(ae.features)?"features":F.rating!==ae.rating?"rating":F.priceRange[0]!==ae.priceRange[0]||F.priceRange[1]!==ae.priceRange[1]?"priceRange":"features"},st=F=>{se(F);const B={category:m||void 0,subcategory:k||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Qe(F),...B})};C.useEffect(()=>{(async()=>{try{if(!a){l(l1),h(l1),R(!1);return}R(!0);const B=await fetch(a);if(!B.ok)throw new Error(`Failed to fetch courses from ${a}`);const J=await B.json();l(J),h(J);const Ee=J.map(He=>Lj(He.title||"")).filter(He=>!!He).reduce((He,Et)=>(He[Et]=(He[Et]||0)+1,He),{}),et=Object.entries(Ee).sort((He,Et)=>Et[1]-He[1]).slice(0,10).map(([He])=>He);z(et)}catch(B){console.error("[Courses] Error loading data:",B),l(l1),h(l1)}finally{R(!1)}})()},[a]),C.useEffect(()=>{var J;const B=(J=new URLSearchParams(window.location.search).get("q"))==null?void 0:J.trim();if(B){_(B);const we=c.filter(Ee=>{var et;return Ee.title.toLowerCase().includes(B.toLowerCase())||((et=Ee.description)==null?void 0:et.toLowerCase().includes(B.toLowerCase()))});h(we)}},[c]),C.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),C.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const yt=F=>{ee.allowSaving&&p(B=>{const J=new Set(B),we=J.has(F);return we?J.delete(F):J.add(F),Q(we?"course_unfavorited":"course_favorited",{courseId:F}),J})},xt=F=>{if(ee.maskExternalLinks)return;const B=c.find(J=>J.id===F);B!=null&&B.link&&(Q("course_enroll_clicked",{courseId:F}),Q("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(B.link,"_blank","noopener,noreferrer"))};C.useEffect(()=>{ve.current||T||!W.length&&!c.length||(Q("courses_listing_viewed",{...ue(),...de()}),ve.current=!0)},[c.length,Q,W.length,ue,de,T]);const ot=F=>{const B=ie(F);f(B===m?"":B),y(""),Q("courses_category_selected",{category:B===m?null:B}),Q("courses_filter_changed",{changedKey:"category",...ue()})},Ue=F=>{const B=ie(F);y(B===k?"":B),Q("courses_subcategory_selected",{subcategory:B===k?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...ue()})},kt=()=>{se({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),f(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},rt=()=>{S(!N)},Fa=F=>{b(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(j-1)*ne+1,gt=Math.min(j*ne,W.length),xa=F=>{if(_(F),!F){h(c),G([]);return}const B=c.filter(we=>{var Ee;return we.title.toLowerCase().includes(F.toLowerCase())||((Ee=we.description)==null?void 0:Ee.toLowerCase().includes(F.toLowerCase()))});h(B);const J=B.map(we=>we.title).filter((we,Ee,et)=>we&&we.toLowerCase().includes(F.toLowerCase())&&et.indexOf(we)===Ee).slice(0,5);G(J),F.trim()&&Q("courses_search_submitted",{query:F,...ue()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(jj,{onSearchChange:xa,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:q,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),t.jsx(wF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(Sj,{filters:[...m?[{key:"category",label:"Category",value:m.replace(/-/g," "),onRemove:()=>f("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>se(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...D?[{key:"search",label:"Search",value:D,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:kt}),t.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[t.jsx("div",{className:"block lg:hidden w-full",children:t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:c.map(F=>F.title),onSelect:F=>{const B=c.filter(J=>J.title.toLowerCase().includes(F.toLowerCase()));h(B),_(F)},onTyping:F=>{A(!!F),F||(h(c),_(""))}}),t.jsx(JL,{sortBy:x,onFiltersChange:st,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:m,selectedSubcategory:k,filters:ae,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!L,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(JL,{filters:ae,sortBy:x,onFiltersChange:st,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:m,selectedSubcategory:k,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(Ij,{viewMode:E,onToggleViewMode:ye,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:gt,title:"All Courses"}),T?t.jsx(bj,{totalColumns:3}):t.jsx(jF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:kt,itemsPerPage:ne,handleEnroll:xt,currentPage:j,setCurrentPage:Fa,viewMode:E,userAccess:ee})]})]})]})]})};var EC={exports:{}},Hj={};function SF(a){return a&&a.__esModule?a:{default:a}}Hj._=SF;var uA={};function pA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(pA=function(n){return n?r:e})(a)}function IF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=pA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in a)if(o!=="default"&&Object.prototype.hasOwnProperty.call(a,o)){var c=i?Object.getOwnPropertyDescriptor(a,o):null;c&&(c.get||c.set)?Object.defineProperty(n,o,c):n[o]=a[o]}return n.default=a,r&&r.set(a,n),n}uA._=IF;var xC={},YL;function NF(){return YL||(YL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Hj._(C).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(xC)),xC}var d1={exports:{}},KL;function AF(){return KL||(KL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(c){return["async","defer","noModule"].includes(c)}function o(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"&&i(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&i(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(d1,d1.exports)),d1.exports}var h1={exports:{}},QL;function _F(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(o,c){for(var l in c)Object.defineProperty(o,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(o){let c=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(h1,h1.exports)),h1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,N){for(var S in N)Object.defineProperty(b,S,{enumerable:!0,get:N[S]})}r(e,{default:function(){return j},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=Hj,i=uA,o=t,c=n._(ZC),l=i._(C),d=NF(),h=AF(),u=_F(),p=new Map,m=new Set,f=b=>{if(c.default.preinit){b.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;b.forEach(S=>{let L=document.createElement("link");L.type="text/css",L.rel="stylesheet",L.href=S,N.appendChild(L)})}},k=b=>{const{src:N,id:S,onLoad:L=()=>{},onReady:A=null,dangerouslySetInnerHTML:T,children:R="",strategy:D="afterInteractive",onError:_,stylesheets:q}=b,z=S||N;if(z&&m.has(z))return;if(p.has(N)){m.add(z),p.get(N).then(L,_);return}const V=()=>{A&&A(),m.add(z)},G=document.createElement("script"),E=new Promise((re,ne)=>{G.addEventListener("load",function(oe){re(),L&&L.call(this,oe),V()}),G.addEventListener("error",function(oe){ne(oe)})}).catch(function(re){_&&_(re)});T?(G.innerHTML=T.__html||"",V()):R?(G.textContent=typeof R=="string"?R:Array.isArray(R)?R.join(""):"",V()):N&&(G.src=N,p.set(N,E)),(0,h.setAttributesFromProps)(G,b),D==="worker"&&G.setAttribute("type","text/partytown"),G.setAttribute("data-nscript",D),q&&f(q),document.body.appendChild(G)};function y(b){const{strategy:N="afterInteractive"}=b;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))}):k(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))})}function g(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const S=N.id||N.getAttribute("src");m.add(S)})}function w(b){b.forEach(y),g()}function M(b){const{id:N,src:S="",onLoad:L=()=>{},onReady:A=null,strategy:T="afterInteractive",onError:R,stylesheets:D,..._}=b;let{updateScripts:q,scripts:z,getIsSsr:V,appDir:G,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const oe=N||S;re.current||(A&&oe&&m.has(oe)&&A(),re.current=!0)},[A,N,S]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(T==="afterInteractive"?k(b):T==="lazyOnload"&&x(b),ne.current=!0)},[b,T]),(T==="beforeInteractive"||T==="worker")&&(q?(z[T]=(z[T]||[]).concat([{id:N,src:S,onLoad:L,onReady:A,onError:R,..._,nonce:E}]),q(z)):V&&V()?m.add(N||S):V&&!V()&&k({...b,nonce:E})),G){if(D&&D.forEach(oe=>{c.default.preinit(oe,{as:"style"})}),T==="beforeInteractive")return S?(c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{..._,id:N}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:N}])+")"}}));T==="afterInteractive"&&S&&c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const j=M;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)})(EC,EC.exports);var PF=EC.exports,qF=PF;const TF=IP(qF),RF=`
7806
+ ${m?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
7807
+ `,children:[t.jsx("span",{children:f.name}),t.jsx("span",{className:"text-xs text-gray-500",children:f.courseCount})]},f.id)})})]},h.id)})})]})},XL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f})=>{const[m,k]=C.useState(!1),y=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],g=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=b=>{const N=a.languages.includes(b)?a.languages.filter(S=>S!==b):[...a.languages,b];r({...a,languages:N})},M=b=>{const N=a.features.includes(b)?a.features.filter(S=>S!==b):[...a.features,b];r({...a,features:N})},j=a.levels.length>0||a.languages.length>0||a.features.length>0||a.rating>0||a.priceRange[0]>0||a.priceRange[1]<2e3;return t.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[t.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Mo,{className:"w-5 h-5 text-gray-600 mr-2"}),t.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),j&&t.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),t.jsxs("div",{className:"flex items-center space-x-2",children:[j&&t.jsx("button",{onClick:i,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),t.jsx("button",{onClick:()=>k(!m),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:t.jsx(Ws,{className:`w-4 h-4 transition-transform ${m?"rotate-180":""}`})})]})]}),t.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",o," courses"]})]}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),t.jsx("select",{id:"sort-select",value:e,onChange:b=>n(b.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:y.map(b=>t.jsx("option",{value:b.value,children:b.label},b.value))})]}),t.jsxs("div",{className:"block",children:[t.jsx(bF,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:f}),t.jsxs("div",{className:"p-4 border-b border-gray-200",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),t.jsx("div",{className:"space-y-2",children:x.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.languages.includes(b),onChange:()=>w(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),t.jsx("div",{className:"space-y-2",children:g.map(b=>t.jsxs("label",{className:"flex items-center",children:[t.jsx("input",{type:"checkbox",checked:a.features.includes(b),onChange:()=>M(b),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),t.jsx("span",{className:"text-sm text-gray-700",children:b})]},b))})]})]})]})},CF=({isOpen:a,onClose:e,title:r="Filters",children:n})=>a?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),t.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[t.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[t.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),t.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:t.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),t.jsx("div",{className:"p-4",children:n})]})]}):null,JL=({filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:f,toggleMobileFilter:m,enableMobileFilter:k,showFilterName:y=!0,isMobile:x=!1})=>t.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&t.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:m,"aria-expanded":f,children:t.jsx(tr,{className:"w-4 h-4 flex justify-center items-center"})}),t.jsx("div",{className:"hidden md:block",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),t.jsx(CF,{isOpen:f,onClose:m,title:"Filters",children:t.jsx(XL,{filters:a,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:i,totalCourses:o,filteredCourses:c,showFilterName:y,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),jF=({course:a,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:i})=>{const[o,c]=C.useState(!1),l=(p,f)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:f}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=i.allowSaving,u=i.maskExternalLinks;return t.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:[t.jsxs("div",{className:"relative",children:[t.jsx("img",{src:a.thumbnail||"/placeholder.svg",alt:a.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${o?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!o&&t.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:t.jsx(Wt,{className:"w-12 h-12 text-gray-400"})}),t.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[a.isBestseller&&t.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),a.isNew&&t.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),a.isFeatured&&t.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),t.jsx("button",{onClick:()=>r(a.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:t.jsx(jo,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),t.jsxs("div",{className:"p-4",children:[t.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:a.title}),t.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[t.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:Mj[i.status]}),i.note&&t.jsx("span",{className:"text-xs text-gray-500",children:i.note})]}),t.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",a.instructor]}),t.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:a.description}),t.jsxs("div",{className:"flex items-center mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ut,{className:"w-4 h-4 text-yellow-400 fill-current"}),t.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:a.rating})]}),typeof a.reviewCount=="number"&&t.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",a.reviewCount.toLocaleString()," reviews)"]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[t.jsxs("div",{className:"flex items-center",children:[t.jsx(Qt,{className:"w-4 h-4 mr-1"}),t.jsx("span",{children:a.duration})]}),t.jsxs("div",{className:"flex items-center",children:[t.jsx(Ia,{className:"w-4 h-4 mr-1"}),typeof a.enrollmentCount=="number"&&t.jsxs("span",{children:[d(a.enrollmentCount)," students"]})]})]}),t.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[t.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${a.level==="Beginner"?"bg-green-100 text-green-800":a.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:a.level}),a.certificate&&t.jsxs("div",{className:"flex items-center text-indigo-600",children:[t.jsx(La,{className:"w-4 h-4 mr-1"}),t.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center",children:[typeof a.price=="number"&&a.currency&&t.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(a.price,a.currency)}),typeof a.originalPrice=="number"&&!isNaN(a.originalPrice)&&t.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(a.originalPrice,a.currency)})]}),u?t.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"}):t.jsx("button",{onClick:()=>n(a.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"})]})]})]})},LF=({processedCourses:a,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:i=9,handleClearFilters:o,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(a.length/i),p=a.slice((c-1)*i,c*i),f=C.useRef(null),m=k=>{l(k),setTimeout(()=>{var y;(y=f.current)==null||y.scrollIntoView({behavior:"smooth",block:"start"})},100)};return a.length>0?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,y)=>t.jsx("div",{ref:y===0?f:null,children:t.jsx(jF,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&t.jsx("div",{className:"mt-8 flex justify-center",children:t.jsx(Nj,{currentPage:c,totalPages:u,onPageChange:m})})]}):t.jsxs("div",{className:"text-center py-12",children:[t.jsx(Wt,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),t.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),t.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),t.jsx("button",{onClick:o,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},SF=({apiUrl:a,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:i,eventContext:o})=>{const[c,l]=C.useState([]),[d,h]=C.useState([]),[u,p]=C.useState(new Set),[f,m]=C.useState(""),[k,y]=C.useState(""),[x,g]=C.useState("relevance"),[w,M]=C.useState(!1),[j,b]=C.useState(1),[N,S]=C.useState(!1),[L,A]=C.useState(!1),[T,R]=C.useState(!0),[D,_]=C.useState(""),[q,z]=C.useState([]),[V,G]=C.useState([]),[E,re]=C.useState("grid"),[ne,oe]=C.useState(r),[ae,se]=C.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ee=S9(n),le=C.useMemo(()=>({component:"IGamingCoursePage",...o??{}}),[o]),ve=C.useRef(!1),W=C.useMemo(()=>{let F=[...d];switch(f&&(F=F.filter(B=>ie(B.category)===f)),k&&(F=F.filter(B=>ie(B.subcategory)===k)),ae.levels.length>0&&(F=F.filter(B=>ae.levels.includes(B.level))),ae.languages.length>0&&(F=F.filter(B=>ae.languages.includes(B.language))),ae.features.length>0&&(F=F.filter(B=>ae.features.some(J=>B.features.includes(J)))),ae.rating>0&&(F=F.filter(B=>B.rating>=ae.rating)),w&&(F=F.filter(B=>u.has(B.id))),x){case"price-low-high":F.sort((B,J)=>B.price-J.price);break;case"price-high-low":F.sort((B,J)=>J.price-B.price);break;case"rating":F.sort((B,J)=>J.rating-B.rating);break;case"newest":F.sort((B,J)=>new Date(J.lastUpdated).getTime()-new Date(B.lastUpdated).getTime());break;case"most-enrolled":F.sort((B,J)=>J.enrollmentCount-B.enrollmentCount);break;default:F.sort((B,J)=>B.isFeatured&&!J.isFeatured?-1:!B.isFeatured&&J.isFeatured?1:B.isBestseller&&!J.isBestseller?-1:!B.isBestseller&&J.isBestseller?1:J.rating-B.rating)}return F},[d,f,k,ae,u,w,x]),Q=C.useCallback((F,B)=>{i&&i({domain:"courses",name:F,payload:B,timestamp:new Date().toISOString(),context:le})},[le,i]),ue=C.useCallback(()=>({category:f||void 0,subcategory:k||void 0,levels:ae.levels,languages:ae.languages,features:ae.features,rating:ae.rating,priceRange:ae.priceRange,favoritesOnly:w}),[ae.features,ae.languages,ae.levels,ae.priceRange,ae.rating,f,k,w]),de=C.useCallback(()=>({page:j,pageSize:ne,totalResults:W.length,sortBy:x,viewMode:E}),[j,W.length,ne,x,E]),ye=()=>{re(F=>{const B=F==="grid"?"list":"grid";return Q("courses_listing_viewmode_changed",{viewMode:B}),B})},ie=F=>(F??"").trim().toLowerCase().replace(/\s+/g,"-"),Pe=C.useMemo(()=>{const F=new Map;return c.forEach(B=>{const J=B.category,we=B.subcategory,Ee=ie(J),et=ie(we);if(!Ee)return;F.has(Ee)||F.set(Ee,new Map);const He=F.get(Ee);et&&He.set(et,(He.get(et)??0)+1)}),Array.from(F.entries()).map(([B,J])=>({id:B,name:B.replace(/-/g," ").replace(/\b\w/g,we=>we.toUpperCase()),icon:"🎯",subcategories:Array.from(J.entries()).map(([we,Ee])=>({id:we,name:we.replace(/-/g," ").replace(/\b\w/g,et=>et.toUpperCase()),courseCount:Ee}))}))},[c]),qe=F=>{oe(F),b(1),Q("courses_listing_items_per_page_changed",{pageSize:F})},Qe=F=>{const B=J=>J.slice().sort().join("|");return B(F.categories)!==B(ae.categories)?"category":B(F.subcategories)!==B(ae.subcategories)?"subcategory":B(F.levels)!==B(ae.levels)?"levels":B(F.languages)!==B(ae.languages)?"languages":B(F.features)!==B(ae.features)?"features":F.rating!==ae.rating?"rating":F.priceRange[0]!==ae.priceRange[0]||F.priceRange[1]!==ae.priceRange[1]?"priceRange":"features"},st=F=>{se(F);const B={category:f||void 0,subcategory:k||void 0,levels:F.levels,languages:F.languages,features:F.features,rating:F.rating,priceRange:F.priceRange,favoritesOnly:w};Q("courses_filter_changed",{changedKey:Qe(F),...B})};C.useEffect(()=>{(async()=>{try{if(!a){l(l1),h(l1),R(!1);return}R(!0);const B=await fetch(a);if(!B.ok)throw new Error(`Failed to fetch courses from ${a}`);const J=await B.json();l(J),h(J);const Ee=J.map(He=>Lj(He.title||"")).filter(He=>!!He).reduce((He,Et)=>(He[Et]=(He[Et]||0)+1,He),{}),et=Object.entries(Ee).sort((He,Et)=>Et[1]-He[1]).slice(0,10).map(([He])=>He);z(et)}catch(B){console.error("[Courses] Error loading data:",B),l(l1),h(l1)}finally{R(!1)}})()},[a]),C.useEffect(()=>{var J;const B=(J=new URLSearchParams(window.location.search).get("q"))==null?void 0:J.trim();if(B){_(B);const we=c.filter(Ee=>{var et;return Ee.title.toLowerCase().includes(B.toLowerCase())||((et=Ee.description)==null?void 0:et.toLowerCase().includes(B.toLowerCase()))});h(we)}},[c]),C.useEffect(()=>{const F=localStorage.getItem("course-favorites");F&&p(new Set(JSON.parse(F)))},[]),C.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const yt=F=>{ee.allowSaving&&p(B=>{const J=new Set(B),we=J.has(F);return we?J.delete(F):J.add(F),Q(we?"course_unfavorited":"course_favorited",{courseId:F}),J})},xt=F=>{if(ee.maskExternalLinks)return;const B=c.find(J=>J.id===F);B!=null&&B.link&&(Q("course_enroll_clicked",{courseId:F}),Q("course_opened",{courseId:F,openedFrom:"listing",openedIn:"new_tab"}),window.open(B.link,"_blank","noopener,noreferrer"))};C.useEffect(()=>{ve.current||T||!W.length&&!c.length||(Q("courses_listing_viewed",{...ue(),...de()}),ve.current=!0)},[c.length,Q,W.length,ue,de,T]);const ot=F=>{const B=ie(F);m(B===f?"":B),y(""),Q("courses_category_selected",{category:B===f?null:B}),Q("courses_filter_changed",{changedKey:"category",...ue()})},Ue=F=>{const B=ie(F);y(B===k?"":B),Q("courses_subcategory_selected",{subcategory:B===k?null:B}),Q("courses_filter_changed",{changedKey:"subcategory",...ue()})},kt=()=>{se({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),m(""),y(""),M(!1),_(""),h(c),Q("courses_filters_cleared_all",{})},rt=()=>{S(!N)},Fa=F=>{b(F),Q("courses_listing_page_changed",{page:F,pageSize:ne,totalResults:W.length})},Lt=W.length===0?0:(j-1)*ne+1,gt=Math.min(j*ne,W.length),xa=F=>{if(_(F),!F){h(c),G([]);return}const B=c.filter(we=>{var Ee;return we.title.toLowerCase().includes(F.toLowerCase())||((Ee=we.description)==null?void 0:Ee.toLowerCase().includes(F.toLowerCase()))});h(B);const J=B.map(we=>we.title).filter((we,Ee,et)=>we&&we.toLowerCase().includes(F.toLowerCase())&&et.indexOf(we)===Ee).slice(0,5);G(J),F.trim()&&Q("courses_search_submitted",{query:F,...ue()})};return t.jsxs("div",{className:"min-h-screen bg-gray-50",children:[t.jsx(jj,{onSearchChange:xa,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:q,generateHref:F=>`/courses?q=${F.toLowerCase().replace(/\s+/g,"+")}`}),t.jsx(MF,{courses:c,onSearchResults:h}),t.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[t.jsx(Sj,{filters:[...f?[{key:"category",label:"Category",value:f.replace(/-/g," "),onRemove:()=>m("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>y("")}]:[],...ae.levels.map(F=>({key:"level",label:"",value:F,onRemove:()=>se(B=>({...B,levels:B.levels.filter(J=>J!==F)}))})),...D?[{key:"search",label:"Search",value:D,onRemove:()=>{_(""),h(c)}}]:[]],onClearAll:kt}),t.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[t.jsx("div",{className:"block lg:hidden w-full",children:t.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[t.jsx(Cj,{data:c.map(F=>F.title),onSelect:F=>{const B=c.filter(J=>J.title.toLowerCase().includes(F.toLowerCase()));h(B),_(F)},onTyping:F=>{A(!!F),F||(h(c),_(""))}}),t.jsx(JL,{sortBy:x,onFiltersChange:st,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,filters:ae,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!L,isMobile:!0})]})}),t.jsx("div",{className:"hidden lg:block lg:w-1/4",children:t.jsx(JL,{filters:ae,sortBy:x,onFiltersChange:st,onSortChange:g,onClearFilters:kt,totalCourses:c.length,filteredCourses:W.length,categories:Pe,selectedCategory:f,selectedSubcategory:k,onCategorySelect:ot,onSubcategorySelect:Ue,isMobileFilterOpen:N,toggleMobileFilter:rt,enableMobileFilter:e,showFilterName:!0})}),t.jsxs("div",{className:"lg:w-3/4",children:[t.jsx(Ij,{viewMode:E,onToggleViewMode:ye,selectedItemsPerPage:ne,onItemsPerPageChange:qe,totalCount:W.length,startIndex:Lt,endIndex:gt,title:"All Courses"}),T?t.jsx(bj,{totalColumns:3}):t.jsx(LF,{processedCourses:W,favorites:u,handleToggleFavorite:yt,handleClearFilters:kt,itemsPerPage:ne,handleEnroll:xt,currentPage:j,setCurrentPage:Fa,viewMode:E,userAccess:ee})]})]})]})]})};var EC={exports:{}},Hj={};function IF(a){return a&&a.__esModule?a:{default:a}}Hj._=IF;var pA={};function yA(a){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(yA=function(n){return n?r:e})(a)}function NF(a,e){if(!e&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var r=yA(e);if(r&&r.has(a))return r.get(a);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in a)if(o!=="default"&&Object.prototype.hasOwnProperty.call(a,o)){var c=i?Object.getOwnPropertyDescriptor(a,o):null;c&&(c.get||c.set)?Object.defineProperty(n,o,c):n[o]=a[o]}return n.default=a,r&&r.set(a,n),n}pA._=NF;var xC={},YL;function AF(){return YL||(YL=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=Hj._(C).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(xC)),xC}var d1={exports:{}},KL;function _F(){return KL||(KL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(c){return["async","defer","noModule"].includes(c)}function o(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"&&i(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&i(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(d1,d1.exports)),d1.exports}var h1={exports:{}},QL;function PF(){return QL||(QL=1,function(a,e){Object.defineProperty(e,"__esModule",{value:!0});function r(o,c){for(var l in c)Object.defineProperty(o,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(o){let c=Date.now();return self.setTimeout(function(){o({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},i=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(o){return clearTimeout(o)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)}(h1,h1.exports)),h1.exports}(function(a,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(b,N){for(var S in N)Object.defineProperty(b,S,{enumerable:!0,get:N[S]})}r(e,{default:function(){return j},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return w}});const n=Hj,i=pA,o=t,c=n._(ZC),l=i._(C),d=AF(),h=_F(),u=PF(),p=new Map,f=new Set,m=b=>{if(c.default.preinit){b.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;b.forEach(S=>{let L=document.createElement("link");L.type="text/css",L.rel="stylesheet",L.href=S,N.appendChild(L)})}},k=b=>{const{src:N,id:S,onLoad:L=()=>{},onReady:A=null,dangerouslySetInnerHTML:T,children:R="",strategy:D="afterInteractive",onError:_,stylesheets:q}=b,z=S||N;if(z&&f.has(z))return;if(p.has(N)){f.add(z),p.get(N).then(L,_);return}const V=()=>{A&&A(),f.add(z)},G=document.createElement("script"),E=new Promise((re,ne)=>{G.addEventListener("load",function(oe){re(),L&&L.call(this,oe),V()}),G.addEventListener("error",function(oe){ne(oe)})}).catch(function(re){_&&_(re)});T?(G.innerHTML=T.__html||"",V()):R?(G.textContent=typeof R=="string"?R:Array.isArray(R)?R.join(""):"",V()):N&&(G.src=N,p.set(N,E)),(0,h.setAttributesFromProps)(G,b),D==="worker"&&G.setAttribute("type","text/partytown"),G.setAttribute("data-nscript",D),q&&m(q),document.body.appendChild(G)};function y(b){const{strategy:N="afterInteractive"}=b;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))}):k(b)}function x(b){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(b)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(b))})}function g(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const S=N.id||N.getAttribute("src");f.add(S)})}function w(b){b.forEach(y),g()}function M(b){const{id:N,src:S="",onLoad:L=()=>{},onReady:A=null,strategy:T="afterInteractive",onError:R,stylesheets:D,..._}=b;let{updateScripts:q,scripts:z,getIsSsr:V,appDir:G,nonce:E}=(0,l.useContext)(d.HeadManagerContext);E=_.nonce||E;const re=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const oe=N||S;re.current||(A&&oe&&f.has(oe)&&A(),re.current=!0)},[A,N,S]);const ne=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ne.current||(T==="afterInteractive"?k(b):T==="lazyOnload"&&x(b),ne.current=!0)},[b,T]),(T==="beforeInteractive"||T==="worker")&&(q?(z[T]=(z[T]||[]).concat([{id:N,src:S,onLoad:L,onReady:A,onError:R,..._,nonce:E}]),q(z)):V&&V()?f.add(N||S):V&&!V()&&k({...b,nonce:E})),G){if(D&&D.forEach(oe=>{c.default.preinit(oe,{as:"style"})}),T==="beforeInteractive")return S?(c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin}),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([S,{..._,id:N}])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{..._,id:N}])+")"}}));T==="afterInteractive"&&S&&c.default.preload(S,_.integrity?{as:"script",integrity:_.integrity,nonce:E,crossOrigin:_.crossOrigin}:{as:"script",nonce:E,crossOrigin:_.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const j=M;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),a.exports=e.default)})(EC,EC.exports);var qF=EC.exports,TF=qF;const RF=NP(TF),DF=`
7808
7808
  window.dataLayer = window.dataLayer || [];
7809
7809
  window.dataLayer.push({ event: 'consent_granted' });
7810
7810
  // gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted' });
7811
- `;function DF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=RF}){return t.jsx(ZR,{allow:a,children:t.jsx(TF,{id:e,strategy:r,children:n})})}function Oj(a){const e=v.useRef({value:a,previous:a});return v.useMemo(()=>(e.current.value!==a&&(e.current.previous=e.current.value,e.current.value=a),e.current.previous),[a])}function Vj(a){const[e,r]=v.useState(void 0);return pt(()=>{if(a){r({width:a.offsetWidth,height:a.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let c,l;if("borderBoxSize"in o){const d=o.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=a.offsetWidth,l=a.offsetHeight;r({width:c,height:l})});return n.observe(a,{box:"border-box"}),()=>n.unobserve(a)}else r(void 0)},[a]),e}var D9="Checkbox",[zF]=ma(D9),[FF,Bj]=zF(D9);function EF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:o,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[m,f]=sr({prop:r,defaultProp:i??!1,onChange:d,caller:D9}),[k,y]=v.useState(null),[x,g]=v.useState(null),w=v.useRef(!1),M=k?!!c||!!k.closest("form"):!0,j={checked:m,disabled:o,setChecked:f,control:k,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:nr(i)?!1:i,isFormControl:M,bubbleInput:x,setBubbleInput:g};return t.jsx(FF,{scope:e,...j,children:HF(p)?p(j):n})}var yA="CheckboxTrigger",mA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:o,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:m,isFormControl:f,bubbleInput:k}=Bj(yA,a),y=je(i,u),x=v.useRef(d);return v.useEffect(()=>{const g=o==null?void 0:o.form;if(g){const w=()=>p(x.current);return g.addEventListener("reset",w),()=>g.removeEventListener("reset",w)}},[o,p]),t.jsx(me.button,{type:"button",role:"checkbox","aria-checked":nr(d)?"mixed":d,"aria-required":h,"data-state":vA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:he(e,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:he(r,g=>{p(w=>nr(w)?!0:!w),k&&f&&(m.current=g.isPropagationStopped(),m.current||g.stopPropagation())})})});mA.displayName=yA;var Uj=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(EF,{__scopeCheckbox:r,checked:i,defaultChecked:o,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:m})=>t.jsxs(t.Fragment,{children:[t.jsx(mA,{...p,ref:e,__scopeCheckbox:r}),m&&t.jsx(gA,{__scopeCheckbox:r})]})})});Uj.displayName=D9;var fA="CheckboxIndicator",xA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,o=Bj(fA,r);return t.jsx(ur,{present:n||nr(o.checked)||o.checked===!0,children:t.jsx(me.span,{"data-state":vA(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});xA.displayName=fA;var kA="CheckboxBubbleInput",gA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:m,setBubbleInput:f}=Bj(kA,a),k=je(r,f),y=Oj(o),x=Vj(n);v.useEffect(()=>{const w=m;if(!w)return;const M=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(M,"checked").set,N=!i.current;if(y!==o&&b){const S=new Event("click",{bubbles:N});w.indeterminate=nr(o),b.call(w,nr(o)?!1:o),w.dispatchEvent(S)}},[m,y,o,i]);const g=v.useRef(nr(o)?!1:o);return t.jsx(me.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??g.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});gA.displayName=kA;function HF(a){return typeof a=="function"}function nr(a){return a==="indeterminate"}function vA(a){return nr(a)?"indeterminate":a?"checked":"unchecked"}const $j=v.forwardRef(({className:a,...e},r)=>t.jsx(Uj,{ref:r,className:ce("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",a),...e,children:t.jsx(xA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(wo,{className:"h-4 w-4"})})}));$j.displayName=Uj.displayName;const OF=w9("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"}}),z9=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(OF({variant:e}),a),...r}));z9.displayName="Alert";const VF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));VF.displayName="AlertTitle";const F9=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));F9.displayName="AlertDescription";function BF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:o="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=C.useState(""),[p,m]=C.useState(""),[f,k]=C.useState(!1),y=x=>{x.preventDefault(),a(h,p,f)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(Ce,{className:"space-y-4",children:[i&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"identifier",children:l}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(jc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>m(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($j,{id:"remember",checked:f,onCheckedChange:x=>k(x),disabled:n}),t.jsx(fe,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&t.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const UF=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:o="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(BF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function $F({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:o="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=C.useState({}),[h,u]=C.useState(""),p=(f,k)=>d(y=>({...y,[f]:k})),m=f=>{if(f.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}a(l)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:m,children:[t.jsxs(Ce,{className:"space-y-4",children:[(i||h)&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:i||h})]}),e.map(f=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:f.name,children:f.label}),t.jsx(Ke,{id:f.name,type:f.type||"text",placeholder:f.placeholder,required:f.required,disabled:n,value:l[f.name]||"",onChange:k=>p(f.name,k.target.value)})]},f.name))]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const GF=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:o="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx($F,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})});function WF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:o="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=C.useState(""),u=p=>{p.preventDefault(),a(d)};return i?t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx("div",{className:"flex items-center justify-center mb-4",children:t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:t.jsx(Nt,{className:"h-6 w-6 text-green-600"})})}),t.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Ge,{className:"text-center",children:l})]}),t.jsx(Ho,{className:"flex flex-col space-y-4",children:e&&t.jsxs($,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(Ce,{className:"space-y-4",children:[n&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email Address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&t.jsxs($,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const ZF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:o="Your App",logo:c})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(WF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function eS(a,[e,r]){return Math.min(r,Math.max(e,a))}const XF=["top","right","bottom","left"],dr=Math.min,At=Math.max,y9=Math.round,u1=Math.floor,ua=a=>({x:a,y:a}),JF={left:"right",right:"left",bottom:"top",top:"bottom"},YF={start:"end",end:"start"};function HC(a,e,r){return At(a,dr(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function Qo(a){return a.split("-")[1]}function Gj(a){return a==="x"?"y":"x"}function Wj(a){return a==="y"?"height":"width"}const KF=new Set(["top","bottom"]);function la(a){return KF.has(qa(a))?"y":"x"}function Zj(a){return Gj(la(a))}function QF(a,e,r){r===void 0&&(r=!1);const n=Qo(a),i=Zj(a),o=Wj(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=m9(c)),[c,m9(c)]}function eE(a){const e=m9(a);return[OC(a),e,OC(e)]}function OC(a){return a.replace(/start|end/g,e=>YF[e])}const tS=["left","right"],aS=["right","left"],tE=["top","bottom"],aE=["bottom","top"];function rE(a,e,r){switch(a){case"top":case"bottom":return r?e?aS:tS:e?tS:aS;case"left":case"right":return e?tE:aE;default:return[]}}function nE(a,e,r,n){const i=Qo(a);let o=rE(qa(a),r==="start",n);return i&&(o=o.map(c=>c+"-"+i),e&&(o=o.concat(o.map(OC)))),o}function m9(a){return a.replace(/left|right|bottom|top/g,e=>JF[e])}function iE(a){return{top:0,right:0,bottom:0,left:0,...a}}function wA(a){return typeof a!="number"?iE(a):{top:a,right:a,bottom:a,left:a}}function f9(a){const{x:e,y:r,width:n,height:i}=a;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function rS(a,e,r){let{reference:n,floating:i}=a;const o=la(e),c=Zj(e),l=Wj(c),d=qa(e),h=o==="y",u=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2;let f;switch(d){case"top":f={x:u,y:n.y-i.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-i.width,y:p};break;default:f={x:n.x,y:n.y}}switch(Qo(e)){case"start":f[c]-=m*(r&&h?-1:1);break;case"end":f[c]+=m*(r&&h?-1:1);break}return f}const sE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:c}=r,l=o.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:a,floating:e,strategy:i}),{x:u,y:p}=rS(h,n,d),m=n,f={},k=0;for(let y=0;y<l.length;y++){const{name:x,fn:g}=l[y],{x:w,y:M,data:j,reset:b}=await g({x:u,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:f,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,f={...f,[x]:{...f[x],...j}},b&&k<=50&&(k++,typeof b=="object"&&(b.placement&&(m=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):b.rects),{x:u,y:p}=rS(h,m,d)),y=-1)}return{x:u,y:p,placement:m,strategy:i,middlewareData:f}};async function Wc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:m=!1,padding:f=0}=Pa(e,a),k=wA(f),x=l[m?p==="floating"?"reference":"floating":p],g=f9(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(x)))==null||r?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,M=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),j=await(o.isElement==null?void 0:o.isElement(M))?await(o.getScale==null?void 0:o.getScale(M))||{x:1,y:1}:{x:1,y:1},b=f9(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(g.top-b.top+k.top)/j.y,bottom:(b.bottom-g.bottom+k.bottom)/j.y,left:(g.left-b.left+k.left)/j.x,right:(b.right-g.right+k.right)/j.x}}const oE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=wA(u),m={x:r,y:n},f=Zj(i),k=Wj(f),y=await c.getDimensions(h),x=f==="y",g=x?"top":"left",w=x?"bottom":"right",M=x?"clientHeight":"clientWidth",j=o.reference[k]+o.reference[f]-m[f]-o.floating[k],b=m[f]-o.reference[f],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=N?N[M]:0;(!S||!await(c.isElement==null?void 0:c.isElement(N)))&&(S=l.floating[M]||o.floating[k]);const L=j/2-b/2,A=S/2-y[k]/2-1,T=dr(p[g],A),R=dr(p[w],A),D=T,_=S-y[k]-R,q=S/2-y[k]/2+L,z=HC(D,q,_),V=!d.arrow&&Qo(i)!=null&&q!==z&&o.reference[k]/2-(q<D?T:R)-y[k]/2<0,G=V?q<D?q-D:q-_:0;return{[f]:m[f]+G,data:{[f]:z,centerOffset:q-z-G,...V&&{alignmentOffset:G}},reset:V}}}),cE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:y=!0,...x}=Pa(a,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const g=qa(i),w=la(l),M=qa(l)===l,j=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=m||(M||!y?[m9(l)]:eE(l)),N=k!=="none";!m&&N&&b.push(...nE(l,y,k,j));const S=[l,...b],L=await Wc(e,x),A=[];let T=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&A.push(L[g]),p){const q=QF(i,c,j);A.push(L[q[0]],L[q[1]])}if(T=[...T,{placement:i,overflows:A}],!A.every(q=>q<=0)){var R,D;const q=(((R=o.flip)==null?void 0:R.index)||0)+1,z=S[q];if(z&&(!(p==="alignment"?w!==la(z):!1)||T.every(E=>la(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:q,overflows:T},reset:{placement:z}};let V=(D=T.filter(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(f){case"bestFit":{var _;const G=(_=T.filter(E=>{if(N){const re=la(E.placement);return re===w||re==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(re=>re>0).reduce((re,ne)=>re+ne,0)]).sort((E,re)=>E[1]-re[1])[0])==null?void 0:_[0];G&&(V=G);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function nS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function iS(a){return XF.some(e=>a[e]>=0)}const lE=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...i}=Pa(a,e);switch(n){case"referenceHidden":{const o=await Wc(e,{...i,elementContext:"reference"}),c=nS(o,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:iS(c)}}}case"escaped":{const o=await Wc(e,{...i,altBoundary:!0}),c=nS(o,r.floating);return{data:{escapedOffsets:c,escaped:iS(c)}}}default:return{}}}}},MA=new Set(["left","top"]);async function dE(a,e){const{placement:r,platform:n,elements:i}=a,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=Qo(r),d=la(r)==="y",h=MA.has(c)?-1:1,u=o&&d?-1:1,p=Pa(e,a);let{mainAxis:m,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(f=l==="end"?k*-1:k),d?{x:f*u,y:m*h}:{x:m*h,y:f*u}}const hE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:o,placement:c,middlewareData:l}=e,d=await dE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:o+d.y,data:{...d,placement:c}}}}},uE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:g,y:w}=x;return{x:g,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Wc(e,d),p=la(qa(i)),m=Gj(p);let f=h[m],k=h[p];if(o){const x=m==="y"?"top":"left",g=m==="y"?"bottom":"right",w=f+u[x],M=f-u[g];f=HC(w,f,M)}if(c){const x=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=k+u[x],M=k-u[g];k=HC(w,k,M)}const y=l.fn({...e,[m]:f,[p]:k});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[m]:o,[p]:c}}}}}},pE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),m=Gj(p);let f=u[m],k=u[p];const y=Pa(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=m==="y"?"height":"width",j=o.reference[m]-o.floating[M]+x.mainAxis,b=o.reference[m]+o.reference[M]-x.mainAxis;f<j?f=j:f>b&&(f=b)}if(h){var g,w;const M=m==="y"?"width":"height",j=MA.has(qa(i)),b=o.reference[p]-o.floating[M]+(j&&((g=c.offset)==null?void 0:g[p])||0)+(j?0:x.crossAxis),N=o.reference[p]+o.reference[M]+(j?0:((w=c.offset)==null?void 0:w[p])||0)-(j?x.crossAxis:0);k<b?k=b:k>N&&(k=N)}return{[m]:f,[p]:k}}}},yE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:o,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Wc(e,h),p=qa(i),m=Qo(i),f=la(i)==="y",{width:k,height:y}=o.floating;let x,g;p==="top"||p==="bottom"?(x=p,g=m===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,x=m==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=k-u.left-u.right,j=dr(y-u[x],w),b=dr(k-u[g],M),N=!e.middlewareData.shift;let S=j,L=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(L=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=w),N&&!m){const T=At(u.left,0),R=At(u.right,0),D=At(u.top,0),_=At(u.bottom,0);f?L=k-2*(T!==0||R!==0?T+R:At(u.left,u.right)):S=y-2*(D!==0||_!==0?D+_:At(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:S});const A=await c.getDimensions(l.floating);return k!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function E9(){return typeof window<"u"}function ec(a){return bA(a)?(a.nodeName||"").toLowerCase():"#document"}function Dt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(bA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function bA(a){return E9()?a instanceof Node||a instanceof Dt(a).Node:!1}function ea(a){return E9()?a instanceof Element||a instanceof Dt(a).Element:!1}function ya(a){return E9()?a instanceof HTMLElement||a instanceof Dt(a).HTMLElement:!1}function sS(a){return!E9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Dt(a).ShadowRoot}const mE=new Set(["inline","contents"]);function Qc(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!mE.has(i)}const fE=new Set(["table","td","th"]);function xE(a){return fE.has(ec(a))}const kE=[":popover-open",":modal"];function H9(a){return kE.some(e=>{try{return a.matches(e)}catch{return!1}})}const gE=["transform","translate","scale","rotate","perspective"],vE=["transform","translate","scale","rotate","perspective","filter"],wE=["paint","layout","strict","content"];function Xj(a){const e=Jj(),r=ea(a)?ta(a):a;return gE.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||vE.some(n=>(r.willChange||"").includes(n))||wE.some(n=>(r.contain||"").includes(n))}function ME(a){let e=hr(a);for(;ya(e)&&!Wo(e);){if(Xj(e))return e;if(H9(e))return null;e=hr(e)}return null}function Jj(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const bE=new Set(["html","body","#document"]);function Wo(a){return bE.has(ec(a))}function ta(a){return Dt(a).getComputedStyle(a)}function O9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function hr(a){if(ec(a)==="html")return a;const e=a.assignedSlot||a.parentNode||sS(a)&&a.host||fa(a);return sS(e)?e.host:e}function CA(a){const e=hr(a);return Wo(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&Qc(e)?e:CA(e)}function Zc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=CA(a),o=i===((n=a.ownerDocument)==null?void 0:n.body),c=Dt(i);if(o){const l=VC(c);return e.concat(c,c.visualViewport||[],Qc(i)?i:[],l&&r?Zc(l):[])}return e.concat(i,Zc(i,[],r))}function VC(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function jA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),o=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=y9(r)!==o||y9(n)!==c;return l&&(r=o,n=c),{width:r,height:n,$:l}}function Yj(a){return ea(a)?a:a.contextElement}function Fo(a){const e=Yj(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=jA(e);let c=(o?y9(r.width):r.width)/n,l=(o?y9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const CE=ua(0);function LA(a){const e=Dt(a);return!Jj()||!e.visualViewport?CE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==Dt(a)?!1:e}function ro(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),o=Yj(a);let c=ua(1);e&&(n?ea(n)&&(c=Fo(n)):c=Fo(a));const l=jE(o,r,n)?LA(o):ua(0);let d=(i.left+l.x)/c.x,h=(i.top+l.y)/c.y,u=i.width/c.x,p=i.height/c.y;if(o){const m=Dt(o),f=n&&ea(n)?Dt(n):n;let k=m,y=VC(k);for(;y&&n&&f!==k;){const x=Fo(y),g=y.getBoundingClientRect(),w=ta(y),M=g.left+(y.clientLeft+parseFloat(w.paddingLeft))*x.x,j=g.top+(y.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=M,h+=j,k=Dt(y),y=VC(k)}}return f9({width:u,height:p,x:d,y:h})}function V9(a,e){const r=O9(a).scrollLeft;return e?e.left+r:ro(fa(a)).left+r}function SA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-V9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function LE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const o=i==="fixed",c=fa(n),l=e?H9(e.floating):!1;if(n===c||l&&o)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!o)&&((ec(n)!=="body"||Qc(c))&&(d=O9(n)),ya(n))){const f=ro(n);h=Fo(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const m=c&&!p&&!o?SA(c,d):ua(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 SE(a){return Array.from(a.getClientRects())}function IE(a){const e=fa(a),r=O9(a),n=a.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+V9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:c,y:l}}const oS=25;function NE(a,e){const r=Dt(a),n=fa(a),i=r.visualViewport;let o=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){o=i.width,c=i.height;const u=Jj();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=V9(n);if(h<=0){const u=n.ownerDocument,p=u.body,m=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-f);k<=oS&&(o-=k)}else h<=oS&&(o+=h);return{width:o,height:c,x:l,y:d}}const AE=new Set(["absolute","fixed"]);function _E(a,e){const r=ro(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,o=ya(a)?Fo(a):ua(1),c=a.clientWidth*o.x,l=a.clientHeight*o.y,d=i*o.x,h=n*o.y;return{width:c,height:l,x:d,y:h}}function cS(a,e,r){let n;if(e==="viewport")n=NE(a,r);else if(e==="document")n=IE(fa(a));else if(ea(e))n=_E(e,r);else{const i=LA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return f9(n)}function IA(a,e){const r=hr(a);return r===e||!ea(r)||Wo(r)?!1:ta(r).position==="fixed"||IA(r,e)}function PE(a,e){const r=e.get(a);if(r)return r;let n=Zc(a,[],!1).filter(l=>ea(l)&&ec(l)!=="body"),i=null;const o=ta(a).position==="fixed";let c=o?hr(a):a;for(;ea(c)&&!Wo(c);){const l=ta(c),d=Xj(c);!d&&l.position==="fixed"&&(i=null),(o?!d&&!i:!d&&l.position==="static"&&!!i&&AE.has(i.position)||Qc(c)&&!d&&IA(a,c))?n=n.filter(u=>u!==c):i=l,c=hr(c)}return e.set(a,n),n}function qE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?H9(e)?[]:PE(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=cS(e,u,i);return h.top=At(p.top,h.top),h.right=dr(p.right,h.right),h.bottom=dr(p.bottom,h.bottom),h.left=At(p.left,h.left),h},cS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function TE(a){const{width:e,height:r}=jA(a);return{width:e,height:r}}function RE(a,e,r){const n=ya(e),i=fa(e),o=r==="fixed",c=ro(a,!0,o,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=V9(i)}if(n||!n&&!o)if((ec(e)!=="body"||Qc(i))&&(l=O9(e)),n){const f=ro(e,!0,o,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&h();o&&!n&&i&&h();const u=i&&!n&&!o?SA(i,l):ua(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 kC(a){return ta(a).position==="static"}function lS(a,e){if(!ya(a)||ta(a).position==="fixed")return null;if(e)return e(a);let r=a.offsetParent;return fa(a)===r&&(r=r.ownerDocument.body),r}function NA(a,e){const r=Dt(a);if(H9(a))return r;if(!ya(a)){let i=hr(a);for(;i&&!Wo(i);){if(ea(i)&&!kC(i))return i;i=hr(i)}return r}let n=lS(a,e);for(;n&&xE(n)&&kC(n);)n=lS(n,e);return n&&Wo(n)&&kC(n)&&!Xj(n)?r:n||ME(a)||r}const DE=async function(a){const e=this.getOffsetParent||NA,r=this.getDimensions,n=await r(a.floating);return{reference:RE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function zE(a){return ta(a).direction==="rtl"}const FE={convertOffsetParentRelativeRectToViewportRelativeRect:LE,getDocumentElement:fa,getClippingRect:qE,getOffsetParent:NA,getElementRects:DE,getClientRects:SE,getDimensions:TE,getScale:Fo,isElement:ea,isRTL:zE};function AA(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function EE(a,e){let r=null,n;const i=fa(a);function o(){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),o();const h=a.getBoundingClientRect(),{left:u,top:p,width:m,height:f}=h;if(l||e(),!m||!f)return;const k=u1(p),y=u1(i.clientWidth-(u+m)),x=u1(i.clientHeight-(p+f)),g=u1(u),M={rootMargin:-k+"px "+-y+"px "+-x+"px "+-g+"px",threshold:At(0,dr(1,d))||1};let j=!0;function b(N){const S=N[0].intersectionRatio;if(S!==d){if(!j)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!AA(h,a.getBoundingClientRect())&&c(),j=!1}try{r=new IntersectionObserver(b,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(b,M)}r.observe(a)}return c(!0),o}function HE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=Yj(a),u=i||o?[...h?Zc(h):[],...Zc(e)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",r,{passive:!0}),o&&g.addEventListener("resize",r)});const p=h&&l?EE(h,r):null;let m=-1,f=null;c&&(f=new ResizeObserver(g=>{let[w]=g;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var M;(M=f)==null||M.observe(e)})),r()}),h&&!d&&f.observe(h),f.observe(e));let k,y=d?ro(a):null;d&&x();function x(){const g=ro(a);y&&!AA(y,g)&&r(),y=g,k=requestAnimationFrame(x)}return r(),()=>{var g;u.forEach(w=>{i&&w.removeEventListener("scroll",r),o&&w.removeEventListener("resize",r)}),p==null||p(),(g=f)==null||g.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const OE=hE,VE=uE,BE=cE,UE=yE,$E=lE,dS=oE,GE=pE,WE=(a,e,r)=>{const n=new Map,i={platform:FE,...r},o={...i.platform,_c:n};return sE(a,e,{...i,platform:o})};var ZE=typeof document<"u",XE=function(){},n9=ZE?C.useLayoutEffect:XE;function x9(a,e){if(a===e)return!0;if(typeof a!=typeof e)return!1;if(typeof a=="function"&&a.toString()===e.toString())return!0;let r,n,i;if(a&&e&&typeof a=="object"){if(Array.isArray(a)){if(r=a.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!x9(a[n],e[n]))return!1;return!0}if(i=Object.keys(a),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&a.$$typeof)&&!x9(a[o],e[o]))return!1}return!0}return a!==a&&e!==e}function _A(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function hS(a,e){const r=_A(a);return Math.round(e*r)/r}function gC(a){const e=v.useRef(a);return n9(()=>{e.current=a}),e}function JE(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=a,[u,p]=v.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=v.useState(n);x9(m,n)||f(n);const[k,y]=v.useState(null),[x,g]=v.useState(null),w=v.useCallback(E=>{E!==N.current&&(N.current=E,y(E))},[]),M=v.useCallback(E=>{E!==S.current&&(S.current=E,g(E))},[]),j=o||k,b=c||x,N=v.useRef(null),S=v.useRef(null),L=v.useRef(u),A=d!=null,T=gC(d),R=gC(i),D=gC(h),_=v.useCallback(()=>{if(!N.current||!S.current)return;const E={placement:e,strategy:r,middleware:m};R.current&&(E.platform=R.current),WE(N.current,S.current,E).then(re=>{const ne={...re,isPositioned:D.current!==!1};q.current&&!x9(L.current,ne)&&(L.current=ne,v9.flushSync(()=>{p(ne)}))})},[m,e,r,R,D]);n9(()=>{h===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const q=v.useRef(!1);n9(()=>(q.current=!0,()=>{q.current=!1}),[]),n9(()=>{if(j&&(N.current=j),b&&(S.current=b),j&&b){if(T.current)return T.current(j,b,_);_()}},[j,b,_,T,A]);const z=v.useMemo(()=>({reference:N,floating:S,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:j,floating:b}),[j,b]),G=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=hS(V.floating,u.x),ne=hS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",..._A(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:re,top:ne}},[r,l,V.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:_,refs:z,elements:V,floatingStyles:G}),[u,_,z,V,G])}const YE=a=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:a,fn(r){const{element:n,padding:i}=typeof a=="function"?a(r):a;return n&&e(n)?n.current!=null?dS({element:n.current,padding:i}).fn(r):{}:n?dS({element:n,padding:i}).fn(r):{}}}},KE=(a,e)=>({...OE(a),options:[a,e]}),QE=(a,e)=>({...VE(a),options:[a,e]}),eH=(a,e)=>({...GE(a),options:[a,e]}),tH=(a,e)=>({...BE(a),options:[a,e]}),aH=(a,e)=>({...UE(a),options:[a,e]}),rH=(a,e)=>({...$E(a),options:[a,e]}),nH=(a,e)=>({...YE(a),options:[a,e]});var iH="Arrow",PA=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...o}=a;return t.jsx(me.svg,{...o,ref:e,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?r:t.jsx("polygon",{points:"0,0 30,0 15,10"})})});PA.displayName=iH;var sH=PA,Kj="Popper",[qA,B9]=ma(Kj),[oH,TA]=qA(Kj),RA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(oH,{scope:e,anchor:n,onAnchorChange:i,children:r})};RA.displayName=Kj;var DA="PopperAnchor",zA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,o=TA(DA,r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return v.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&o.onAnchorChange(d.current)}),n?null:t.jsx(me.div,{...i,ref:l})});zA.displayName=DA;var Qj="PopperContent",[cH,lH]=qA(Qj),FA=v.forwardRef((a,e)=>{var W,Q,ue,de,ye,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:f="optimized",onPlaced:k,...y}=a,x=TA(Qj,r),[g,w]=v.useState(null),M=je(e,Pe=>w(Pe)),[j,b]=v.useState(null),N=Vj(j),S=(N==null?void 0:N.width)??0,L=(N==null?void 0:N.height)??0,A=n+(o!=="center"?"-"+o:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},R=Array.isArray(h)?h:[h],D=R.length>0,_={padding:T,boundary:R.filter(hH),altBoundary:D},{refs:q,floatingStyles:z,placement:V,isPositioned:G,middlewareData:E}=JE({strategy:"fixed",placement:A,whileElementsMounted:(...Pe)=>HE(...Pe,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[KE({mainAxis:i+L,alignmentAxis:c}),d&&QE({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?eH():void 0,..._}),d&&tH({..._}),aH({..._,apply:({elements:Pe,rects:qe,availableWidth:Qe,availableHeight:st})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Qe}px`),ot.setProperty("--radix-popper-available-height",`${st}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),j&&nH({element:j,padding:l}),uH({arrowWidth:S,arrowHeight:L}),m&&rH({strategy:"referenceHidden",..._})]}),[re,ne]=OA(V),oe=ir(k);pt(()=>{G&&(oe==null||oe())},[G,oe]);const ae=(W=E.arrow)==null?void 0:W.x,se=(Q=E.arrow)==null?void 0:Q.y,ee=((ue=E.arrow)==null?void 0:ue.centerOffset)!==0,[le,ve]=v.useState();return pt(()=>{g&&ve(window.getComputedStyle(g).zIndex)},[g]),t.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:G?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=E.transformOrigin)==null?void 0:de.x,(ye=E.transformOrigin)==null?void 0:ye.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(cH,{scope:r,placedSide:re,onArrowChange:b,arrowX:ae,arrowY:se,shouldHideArrow:ee,children:t.jsx(me.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:G?void 0:"none"}})})})});FA.displayName=Qj;var EA="PopperArrow",dH={top:"bottom",right:"left",bottom:"top",left:"right"},HA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,o=lH(EA,n),c=dH[o.placedSide];return t.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:t.jsx(sH,{...i,ref:r,style:{...i.style,display:"block"}})})});HA.displayName=EA;function hH(a){return a!==null}var uH=a=>({name:"transformOrigin",options:a,fn(e){var x,g,w;const{placement:r,rects:n,middlewareData:i}=e,c=((x=i.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=OA(r),p={start:"0%",center:"50%",end:"100%"}[u],m=(((g=i.arrow)==null?void 0:g.x)??0)+l/2,f=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let k="",y="";return h==="bottom"?(k=c?p:`${m}px`,y=`${-d}px`):h==="top"?(k=c?p:`${m}px`,y=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,y=c?p:`${f}px`):h==="left"&&(k=`${n.floating.width+d}px`,y=c?p:`${f}px`),{data:{x:k,y}}}});function OA(a){const[e,r="center"]=a.split("-");return[e,r]}var VA=RA,eL=zA,BA=FA,UA=HA;function pH(a){const e=yH(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(fH);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function yH(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=kH(i),l=xH(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var mH=Symbol("radix.slottable");function fH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===mH}function xH(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function kH(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var $A=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"}),gH="VisuallyHidden",vH=v.forwardRef((a,e)=>t.jsx(me.span,{...a,ref:e,style:{...$A,...a.style}}));vH.displayName=gH;var wH=[" ","Enter","ArrowUp","ArrowDown"],MH=[" ","Enter"],no="Select",[U9,$9,bH]=IS(no),[tc]=ma(no,[bH,B9]),G9=B9(),[CH,xr]=tc(no),[jH,LH]=tc(no),GA=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:o,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:m,required:f,form:k}=a,y=G9(e),[x,g]=v.useState(null),[w,M]=v.useState(null),[j,b]=v.useState(!1),N=QC(h),[S,L]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:no}),[A,T]=sr({prop:c,defaultProp:l,onChange:d,caller:no}),R=v.useRef(null),D=x?k||!!x.closest("form"):!0,[_,q]=v.useState(new Set),z=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(VA,{...y,children:t.jsxs(CH,{required:f,scope:e,trigger:x,onTriggerChange:g,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:j,onValueNodeHasChildrenChange:b,contentId:Na(),value:A,onValueChange:T,open:S,onOpenChange:L,dir:N,triggerPointerDownPosRef:R,disabled:m,children:[t.jsx(U9.Provider,{scope:e,children:t.jsx(jH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{q(G=>new Set(G).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{q(G=>{const E=new Set(G);return E.delete(V),E})},[]),children:r})}),D?t.jsxs(f_,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:p,value:A,onChange:V=>T(V.target.value),disabled:m,form:k,children:[A===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},z):null]})})};GA.displayName=no;var WA="SelectTrigger",ZA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,o=G9(r),c=xr(WA,r),l=c.disabled||n,d=je(e,c.onTriggerChange),h=$9(r),u=v.useRef("touch"),[p,m,f]=k_(y=>{const x=h().filter(M=>!M.disabled),g=x.find(M=>M.value===c.value),w=g_(x,y,g);w!==void 0&&c.onValueChange(w.value)}),k=y=>{l||(c.onOpenChange(!0),f()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(eL,{asChild:!0,...o,children:t.jsx(me.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":x_(c.value)?"":void 0,...i,ref:d,onClick:he(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&k(y)}),onPointerDown:he(i.onPointerDown,y=>{u.current=y.pointerType;const x=y.target;x.hasPointerCapture(y.pointerId)&&x.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(k(y),y.preventDefault())}),onKeyDown:he(i.onKeyDown,y=>{const x=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&m(y.key),!(x&&y.key===" ")&&wH.includes(y.key)&&(k(),y.preventDefault())})})})});ZA.displayName=WA;var XA="SelectValue",JA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:o,placeholder:c="",...l}=a,d=xr(XA,r),{onValueNodeHasChildrenChange:h}=d,u=o!==void 0,p=je(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(me.span,{...l,ref:p,style:{pointerEvents:"none"},children:x_(d.value)?t.jsx(t.Fragment,{children:c}):o})});JA.displayName=XA;var SH="SelectIcon",YA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(me.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});YA.displayName=SH;var IH="SelectPortal",KA=a=>t.jsx(A9,{asChild:!0,...a});KA.displayName=IH;var io="SelectContent",QA=v.forwardRef((a,e)=>{const r=xr(io,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const o=n;return o?v9.createPortal(t.jsx(e_,{scope:a.__scopeSelect,children:t.jsx(U9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),o):null}return t.jsx(t_,{...a,ref:e})});QA.displayName=io;var Yt=10,[e_,kr]=tc(io),NH="SelectContentImpl",AH=pH("SelectContent.RemoveScroll"),t_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:f,sticky:k,hideWhenDetached:y,avoidCollisions:x,...g}=a,w=xr(io,r),[M,j]=v.useState(null),[b,N]=v.useState(null),S=je(e,W=>j(W)),[L,A]=v.useState(null),[T,R]=v.useState(null),D=$9(r),[_,q]=v.useState(!1),z=v.useRef(!1);v.useEffect(()=>{if(M)return _j(M)},[M]),Aj();const V=v.useCallback(W=>{const[Q,...ue]=D().map(ie=>ie.ref.current),[de]=ue.slice(-1),ye=document.activeElement;for(const ie of W)if(ie===ye||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&b&&(b.scrollTop=0),ie===de&&b&&(b.scrollTop=b.scrollHeight),ie==null||ie.focus(),document.activeElement!==ye))return},[D,b]),G=v.useCallback(()=>V([L,M]),[V,L,M]);v.useEffect(()=>{_&&G()},[_,G]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=de=>{var ye,ie;W={x:Math.abs(Math.round(de.pageX)-(((ye=re.current)==null?void 0:ye.x)??0)),y:Math.abs(Math.round(de.pageY)-(((ie=re.current)==null?void 0:ie.y)??0))}},ue=de=>{W.x<=10&&W.y<=10?de.preventDefault():M.contains(de.target)||E(!1),document.removeEventListener("pointermove",Q),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",ue,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",ue,{capture:!0})}}},[M,E,re]),v.useEffect(()=>{const W=()=>E(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[E]);const[ne,oe]=k_(W=>{const Q=D().filter(ye=>!ye.disabled),ue=Q.find(ye=>ye.ref.current===document.activeElement),de=g_(Q,W,ue);de&&setTimeout(()=>de.ref.current.focus())}),ae=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&(A(W),de&&(z.current=!0))},[w.value]),se=v.useCallback(()=>M==null?void 0:M.focus(),[M]),ee=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&R(W)},[w.value]),le=n==="popper"?BC:a_,ve=le===BC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:m,collisionPadding:f,sticky:k,hideWhenDetached:y,avoidCollisions:x}:{};return t.jsx(e_,{scope:r,content:M,viewport:b,onViewportChange:N,itemRefCallback:ae,selectedItem:L,onItemLeave:se,itemTextRefCallback:ee,focusSelectedItem:G,selectedItemText:T,position:n,isPositioned:_,searchRef:ne,children:t.jsx(P9,{as:AH,allowPinchZoom:!0,children:t.jsx(N9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:he(i,W=>{var Q;(Q=w.trigger)==null||Q.focus({preventScroll:!0}),W.preventDefault()}),children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:t.jsx(le,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...g,...ve,onPlaced:()=>q(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:he(g.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&oe(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let de=D().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(W.key)&&(de=de.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const ye=W.target,ie=de.indexOf(ye);de=de.slice(ie+1)}setTimeout(()=>V(de)),W.preventDefault()}})})})})})})});t_.displayName=NH;var _H="SelectItemAlignedPosition",a_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,o=xr(io,r),c=kr(io,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=je(e,S=>u(S)),m=$9(r),f=v.useRef(!1),k=v.useRef(!0),{viewport:y,selectedItem:x,selectedItemText:g,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&h&&y&&x&&g){const S=o.trigger.getBoundingClientRect(),L=h.getBoundingClientRect(),A=o.valueNode.getBoundingClientRect(),T=g.getBoundingClientRect();if(o.dir!=="rtl"){const ye=T.left-L.left,ie=A.left-ye,Pe=S.left-ie,qe=S.width+Pe,Qe=Math.max(qe,L.width),st=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const ye=L.right-T.right,ie=window.innerWidth-A.right-ye,Pe=window.innerWidth-S.right-ie,qe=S.width+Pe,Qe=Math.max(qe,L.width),st=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.right=yt+"px"}const R=m(),D=window.innerHeight-Yt*2,_=y.scrollHeight,q=window.getComputedStyle(h),z=parseInt(q.borderTopWidth,10),V=parseInt(q.paddingTop,10),G=parseInt(q.borderBottomWidth,10),E=parseInt(q.paddingBottom,10),re=z+V+_+E+G,ne=Math.min(x.offsetHeight*5,re),oe=window.getComputedStyle(y),ae=parseInt(oe.paddingTop,10),se=parseInt(oe.paddingBottom,10),ee=S.top+S.height/2-Yt,le=D-ee,ve=x.offsetHeight/2,W=x.offsetTop+ve,Q=z+V+W,ue=re-Q;if(Q<=ee){const ye=R.length>0&&x===R[R.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(le,ve+(ye?se:0)+ie+G),qe=Q+Pe;l.style.height=qe+"px"}else{const ye=R.length>0&&x===R[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,z+y.offsetTop+(ye?ae:0)+ve)+ue;l.style.height=Pe+"px",y.scrollTop=Q-ee+y.offsetTop}l.style.margin=`${Yt}px 0`,l.style.minHeight=ne+"px",l.style.maxHeight=D+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[m,o.trigger,o.valueNode,l,h,y,x,g,o.dir,n]);pt(()=>M(),[M]);const[j,b]=v.useState();pt(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const N=v.useCallback(S=>{S&&k.current===!0&&(M(),w==null||w(),k.current=!1)},[M,w]);return t.jsx(qH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:N,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:t.jsx(me.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});a_.displayName=_H;var PH="SelectPopperPosition",BC=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...o}=a,c=G9(r);return t.jsx(BA,{...c,...o,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.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)"}})});BC.displayName=PH;var[qH,tL]=tc(io,{}),UC="SelectViewport",r_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,o=kr(UC,r),c=tL(UC,r),l=je(e,o.onViewportChange),d=v.useRef(0);return t.jsxs(t.Fragment,{children:[t.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}),t.jsx(U9.Slot,{scope:r,children:t.jsx(me.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:he(i.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:m}=c;if(m!=null&&m.current&&p){const f=Math.abs(d.current-u.scrollTop);if(f>0){const k=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),g=Math.max(y,x);if(g<k){const w=g+f,M=Math.min(k,w),j=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=j>0?j:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});r_.displayName=UC;var n_="SelectGroup",[TH,RH]=tc(n_),DH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(TH,{scope:r,id:i,children:t.jsx(me.div,{role:"group","aria-labelledby":i,...n,ref:e})})});DH.displayName=n_;var i_="SelectLabel",s_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=RH(i_,r);return t.jsx(me.div,{id:i.id,...n,ref:e})});s_.displayName=i_;var k9="SelectItem",[zH,o_]=tc(k9),c_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...c}=a,l=xr(k9,r),d=kr(k9,r),h=l.value===n,[u,p]=v.useState(o??""),[m,f]=v.useState(!1),k=je(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),x=v.useRef("touch"),g=()=>{i||(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 t.jsx(zH,{scope:r,value:n,disabled:i,textId:y,isSelected:h,onItemTextChange:v.useCallback(w=>{p(M=>M||((w==null?void 0:w.textContent)??"").trim())},[]),children:t.jsx(U9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(me.div,{role:"option","aria-labelledby":y,"data-highlighted":m?"":void 0,"aria-selected":h&&m,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:k,onFocus:he(c.onFocus,()=>f(!0)),onBlur:he(c.onBlur,()=>f(!1)),onClick:he(c.onClick,()=>{x.current!=="mouse"&&g()}),onPointerUp:he(c.onPointerUp,()=>{x.current==="mouse"&&g()}),onPointerDown:he(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:he(c.onPointerMove,w=>{var M;x.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:he(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:he(c.onKeyDown,w=>{var j;((j=d.searchRef)==null?void 0:j.current)!==""&&w.key===" "||(MH.includes(w.key)&&g(),w.key===" "&&w.preventDefault())})})})})});c_.displayName=k9;var hc="SelectItemText",l_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...o}=a,c=xr(hc,r),l=kr(hc,r),d=o_(hc,r),h=LH(hc,r),[u,p]=v.useState(null),m=je(e,g=>p(g),d.onItemTextChange,g=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,g,d.value,d.disabled)}),f=u==null?void 0:u.textContent,k=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:f},d.value),[d.disabled,d.value,f]),{onNativeOptionAdd:y,onNativeOptionRemove:x}=h;return pt(()=>(y(k),()=>x(k)),[y,x,k]),t.jsxs(t.Fragment,{children:[t.jsx(me.span,{id:d.textId,...o,ref:m}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?v9.createPortal(o.children,c.valueNode):null]})});l_.displayName=hc;var d_="SelectItemIndicator",h_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return o_(d_,r).isSelected?t.jsx(me.span,{"aria-hidden":!0,...n,ref:e}):null});h_.displayName=d_;var $C="SelectScrollUpButton",u_=v.forwardRef((a,e)=>{const r=kr($C,a.__scopeSelect),n=tL($C,a.__scopeSelect),[i,o]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;o(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(y_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});u_.displayName=$C;var GC="SelectScrollDownButton",p_=v.forwardRef((a,e)=>{const r=kr(GC,a.__scopeSelect),n=tL(GC,a.__scopeSelect),[i,o]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;o(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(y_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});p_.displayName=GC;var y_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,o=kr("SelectScrollButton",r),c=v.useRef(null),l=$9(r),d=v.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return v.useEffect(()=>()=>d(),[d]),pt(()=>{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]),t.jsx(me.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:he(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:he(i.onPointerMove,()=>{var h;(h=o.onItemLeave)==null||h.call(o),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:he(i.onPointerLeave,()=>{d()})})}),FH="SelectSeparator",m_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(me.div,{"aria-hidden":!0,...n,ref:e})});m_.displayName=FH;var WC="SelectArrow",EH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=G9(r),o=xr(WC,r),c=kr(WC,r);return o.open&&c.position==="popper"?t.jsx(UA,{...i,...n,ref:e}):null});EH.displayName=WC;var HH="SelectBubbleInput",f_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),o=je(n,i),c=Oj(e);return v.useEffect(()=>{const l=i.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),t.jsx(me.select,{...r,style:{...$A,...r.style},ref:o,defaultValue:e})});f_.displayName=HH;function x_(a){return a===""||a===void 0}function k_(a){const e=ir(a),r=v.useRef(""),n=v.useRef(0),i=v.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),o=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function g_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,o=r?a.indexOf(r):-1;let c=OH(a,Math.max(o,0));i.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(i.toLowerCase()));return d!==r?d:void 0}function OH(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var VH=GA,v_=ZA,BH=JA,UH=YA,$H=KA,w_=QA,GH=r_,M_=s_,b_=c_,WH=l_,ZH=h_,C_=u_,j_=p_,aL=m_;const XH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],JH=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},YH=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:o,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=JH(o),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(mr,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(Ta,{className:"sm:max-w-lg",children:[t.jsxs(fr,{className:"space-y-2",children:[t.jsxs(Da,{className:"flex items-center gap-2 text-xl font-semibold",children:[t.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:t.jsx(Bt,{className:"h-5 w-5"})}),c]}),t.jsx(R9,{className:"text-base text-muted-foreground",children:u})]}),t.jsxs("div",{className:"mt-2 space-y-4",children:[t.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[t.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[t.jsx(Xa,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:XH.map(p=>t.jsxs("li",{className:"flex items-start gap-2",children:[t.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),t.jsx("span",{children:p})]},p))})]}),d&&t.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),t.jsx(aL,{className:"my-4"}),t.jsxs(Ra,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx($,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx($,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx($,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},KH=[{icon:Mc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:Ao,label:"Settings",path:"/dashboard/settings"}];function QH({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:o=0}){return t.jsx("div",{className:"min-h-screen bg-background",children:t.jsxs("div",{className:"flex",children:[t.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[t.jsx("nav",{className:"flex-1 space-y-1 p-4",children:KH.map(c=>{const l=c.icon,d=i===c.path;return t.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:[t.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&t.jsx("div",{className:"border-t p-4",children:t.jsxs($,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(Lc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const eO=w9("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 at({className:a,variant:e,...r}){return t.jsx("div",{className:ce(eO({variant:e}),a),...r})}function tO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:o,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return vt;case"course":return Wt;case"news":return Sa;default:return vt}},h=u=>{switch(u.type){case"job":return t.jsxs(t.Fragment,{children:[t.jsx($,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx($,{size:"sm",onClick:()=>o(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx($,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx($,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx($,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",a," 👋"]}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),t.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[t.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(p,{className:"h-5 w-5 text-primary"}),t.jsx(at,{variant:"secondary",children:u.type})]}),t.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),t.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vo,{className:"h-4 w-4"}),u.company]}),u.location&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"}),u.location]})]}),t.jsx(Ge,{children:u.description})]}),t.jsxs(Ce,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(m=>t.jsx(at,{variant:"outline",children:m},m))}),u.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),t.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Ys,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(Ce,{className:"space-y-3",children:n.map(u=>t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),t.jsxs("div",{className:"text-right",children:[t.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&t.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Qt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),t.jsx(Ce,{className:"space-y-3",children:r.length===0?t.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>t.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[t.jsx(at,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var W9="Switch",[aO]=ma(W9),[rO,nO]=aO(W9),L_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[m,f]=v.useState(null),k=je(e,M=>f(M)),y=v.useRef(!1),x=m?u||!!m.closest("form"):!0,[g,w]=sr({prop:i,defaultProp:o??!1,onChange:h,caller:W9});return t.jsxs(rO,{scope:r,checked:g,disabled:l,children:[t.jsx(me.button,{type:"button",role:"switch","aria-checked":g,"aria-required":c,"data-state":A_(g),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:he(a.onClick,M=>{w(j=>!j),x&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),x&&t.jsx(N_,{control:m,bubbles:!y.current,name:n,value:d,checked:g,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});L_.displayName=W9;var S_="SwitchThumb",I_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=nO(S_,r);return t.jsx(me.span,{"data-state":A_(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});I_.displayName=S_;var iO="SwitchBubbleInput",N_=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},o)=>{const c=v.useRef(null),l=je(c,o),d=Oj(r),h=Vj(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&f){const k=new Event("click",{bubbles:n});f.call(u,r),u.dispatchEvent(k)}},[d,r,n]),t.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...i.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});N_.displayName=iO;function A_(a){return a?"checked":"unchecked"}var __=L_,sO=I_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(__,{className:ce("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",a),...e,ref:r,children:t.jsx(sO,{className:ce("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")})}));Kt.displayName=__.displayName;function oO(a){const e=cO(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(dO);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function cO(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=uO(i),l=hO(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var lO=Symbol("radix.slottable");function dO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===lO}function hO(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function uO(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var Z9="Popover",[P_]=ma(Z9,[B9]),e1=B9(),[pO,gr]=P_(Z9),q_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!1}=a,l=e1(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,m]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:Z9});return t.jsx(VA,{...l,children:t.jsx(pO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:m,onOpenToggle:v.useCallback(()=>m(f=>!f),[m]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};q_.displayName=Z9;var T_="PopoverAnchor",yO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(T_,r),o=e1(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(eL,{...o,...n,ref:e})});yO.displayName=T_;var R_="PopoverTrigger",D_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(R_,r),o=e1(r),c=je(e,i.triggerRef),l=t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":O_(i.open),...n,ref:c,onClick:he(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(eL,{asChild:!0,...o,children:l})});D_.displayName=R_;var rL="PopoverPortal",[mO,fO]=P_(rL,{forceMount:void 0}),z_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,o=gr(rL,e);return t.jsx(mO,{scope:e,forceMount:r,children:t.jsx(ur,{present:r||o.open,children:t.jsx(A9,{asChild:!0,container:i,children:n})})})};z_.displayName=rL;var Zo="PopoverContent",F_=v.forwardRef((a,e)=>{const r=fO(Zo,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,o=gr(Zo,a.__scopePopover);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(kO,{...i,ref:e}):t.jsx(gO,{...i,ref:e})})});F_.displayName=Zo;var xO=oO("PopoverContent.RemoveScroll"),kO=v.forwardRef((a,e)=>{const r=gr(Zo,a.__scopePopover),n=v.useRef(null),i=je(e,n),o=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return _j(c)},[]),t.jsx(P9,{as:xO,allowPinchZoom:!0,children:t.jsx(E_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),o.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;o.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:he(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),gO=v.forwardRef((a,e)=>{const r=gr(Zo,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(E_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),E_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,m=gr(Zo,r),f=e1(r);return Aj(),t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>m.onOpenChange(!1),children:t.jsx(BA,{"data-state":O_(m.open),role:"dialog",id:m.contentId,...f,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),H_="PopoverClose",vO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(H_,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});vO.displayName=H_;var wO="PopoverArrow",MO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=e1(r);return t.jsx(UA,{...i,...n,ref:e})});MO.displayName=wO;function O_(a){return a?"open":"closed"}var bO=q_,CO=D_,jO=z_,V_=F_;const LO=bO,SO=CO,B_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(jO,{children:t.jsx(V_,{ref:i,align:e,sideOffset:r,className:ce("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]",a),...n})}));B_.displayName=V_.displayName;const U_=v.forwardRef(({className:a,...e},r)=>t.jsx("textarea",{className:ce("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",a),ref:r,...e}));U_.displayName="Textarea";const Xc=VH,Jc=BH,Xo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(v_,{ref:n,className:ce("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",a),...r,children:[e,t.jsx(UH,{asChild:!0,children:t.jsx(iA,{className:"h-4 w-4 opacity-50"})})]}));Xo.displayName=v_.displayName;const $_=v.forwardRef(({className:a,...e},r)=>t.jsx(C_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx($z,{className:"h-4 w-4"})}));$_.displayName=C_.displayName;const G_=v.forwardRef(({className:a,...e},r)=>t.jsx(j_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(iA,{className:"h-4 w-4"})}));G_.displayName=j_.displayName;const Jo=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx($H,{children:t.jsxs(w_,{ref:i,className:ce("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",a),position:r,...n,children:[t.jsx($_,{}),t.jsx(GH,{className:ce("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),t.jsx(G_,{})]})}));Jo.displayName=w_.displayName;const IO=v.forwardRef(({className:a,...e},r)=>t.jsx(M_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));IO.displayName=M_.displayName;const Yo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(b_,{ref:n,className:ce("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",a),...r,children:[t.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(ZH,{children:t.jsx(Vz,{className:"h-4 w-4"})})}),t.jsx(WH,{children:e})]}));Yo.displayName=b_.displayName;const NO=v.forwardRef(({className:a,...e},r)=>t.jsx(aL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));NO.displayName=aL.displayName;function AO({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const o=new Date().getFullYear(),c=Array.from({length:40},(f,k)=>`${o-k}`),[l,d]=C.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});C.useEffect(()=>{if(n){const[f,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:f||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,a]);const[h,u]=C.useState(!1),p=(f,k)=>d(y=>({...y,[f]:k})),m=()=>{const f=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:f,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(Da,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Title"}),t.jsx(Ke,{value:l.title,onChange:f=>p("title",f.target.value)})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Company"}),t.jsx(Ke,{value:l.company,onChange:f=>p("company",f.target.value)})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Start Year"}),t.jsxs(Xc,{onValueChange:f=>p("startYear",f),value:l.startYear,children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select year"})}),t.jsx(Jo,{children:c.map(f=>t.jsx(Yo,{value:f,children:f},f))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(fe,{children:"End Year"}),t.jsxs(Xc,{onValueChange:f=>p("endYear",f),value:l.endYear,children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select year"})}),t.jsx(Jo,{children:c.map(f=>t.jsx(Yo,{value:f,children:f},f))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:f=>p("isPresent",f.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(fe,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Tags (comma-separated)"}),t.jsx(U_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:f=>p("tags",f.target.value)})]})]}),t.jsxs(Ra,{children:[t.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx($,{onClick:m,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var _O=Symbol("radix.slottable");function PO(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=_O,e}var W_="AlertDialog",[qO]=ma(W_,[HN]),za=HN(),Z_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(aA,{...n,...r,modal:!0})};Z_.displayName=W_;var TO="AlertDialogTrigger",RO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(rA,{...i,...n,ref:e})});RO.displayName=TO;var DO="AlertDialogPortal",X_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(nA,{...n,...r})};X_.displayName=DO;var zO="AlertDialogOverlay",J_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Rj,{...i,...n,ref:e})});J_.displayName=zO;var Eo="AlertDialogContent",[FO,EO]=qO(Eo),HO=PO("AlertDialogContent"),Y_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,o=za(r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return t.jsx(zz,{contentName:Eo,titleName:K_,docsSlug:"alert-dialog",children:t.jsx(FO,{scope:r,cancelRef:d,children:t.jsxs(Dj,{role:"alertdialog",...o,...i,ref:l,onOpenAutoFocus:he(i.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[t.jsx(HO,{children:n}),t.jsx(VO,{contentRef:c})]})})})});Y_.displayName=Eo;var K_="AlertDialogTitle",Q_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(zj,{...i,...n,ref:e})});Q_.displayName=K_;var eP="AlertDialogDescription",tP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Fj,{...i,...n,ref:e})});tP.displayName=eP;var OO="AlertDialogAction",aP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Ej,{...i,...n,ref:e})});aP.displayName=OO;var rP="AlertDialogCancel",nP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=EO(rP,r),o=za(r),c=je(e,i);return t.jsx(Ej,{...o,...n,ref:c})});nP.displayName=rP;var VO=({contentRef:a})=>{const e=`\`${Eo}\` requires a description for the component to be accessible for screen reader users.
7811
+ `;function zF({allow:a="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=DF}){return t.jsx(XR,{allow:a,children:t.jsx(RF,{id:e,strategy:r,children:n})})}function Oj(a){const e=v.useRef({value:a,previous:a});return v.useMemo(()=>(e.current.value!==a&&(e.current.previous=e.current.value,e.current.value=a),e.current.previous),[a])}function Vj(a){const[e,r]=v.useState(void 0);return pt(()=>{if(a){r({width:a.offsetWidth,height:a.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let c,l;if("borderBoxSize"in o){const d=o.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=a.offsetWidth,l=a.offsetHeight;r({width:c,height:l})});return n.observe(a,{box:"border-box"}),()=>n.unobserve(a)}else r(void 0)},[a]),e}var D9="Checkbox",[FF]=ma(D9),[EF,Bj]=FF(D9);function HF(a){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:i,disabled:o,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=a,[f,m]=sr({prop:r,defaultProp:i??!1,onChange:d,caller:D9}),[k,y]=v.useState(null),[x,g]=v.useState(null),w=v.useRef(!1),M=k?!!c||!!k.closest("form"):!0,j={checked:f,disabled:o,setChecked:m,control:k,setControl:y,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:nr(i)?!1:i,isFormControl:M,bubbleInput:x,setBubbleInput:g};return t.jsx(EF,{scope:e,...j,children:OF(p)?p(j):n})}var mA="CheckboxTrigger",fA=v.forwardRef(({__scopeCheckbox:a,onKeyDown:e,onClick:r,...n},i)=>{const{control:o,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:m,bubbleInput:k}=Bj(mA,a),y=je(i,u),x=v.useRef(d);return v.useEffect(()=>{const g=o==null?void 0:o.form;if(g){const w=()=>p(x.current);return g.addEventListener("reset",w),()=>g.removeEventListener("reset",w)}},[o,p]),t.jsx(me.button,{type:"button",role:"checkbox","aria-checked":nr(d)?"mixed":d,"aria-required":h,"data-state":wA(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:y,onKeyDown:he(e,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:he(r,g=>{p(w=>nr(w)?!0:!w),k&&m&&(f.current=g.isPropagationStopped(),f.current||g.stopPropagation())})})});fA.displayName=mA;var Uj=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=a;return t.jsx(HF,{__scopeCheckbox:r,checked:i,defaultChecked:o,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:f})=>t.jsxs(t.Fragment,{children:[t.jsx(fA,{...p,ref:e,__scopeCheckbox:r}),f&&t.jsx(vA,{__scopeCheckbox:r})]})})});Uj.displayName=D9;var xA="CheckboxIndicator",kA=v.forwardRef((a,e)=>{const{__scopeCheckbox:r,forceMount:n,...i}=a,o=Bj(xA,r);return t.jsx(ur,{present:n||nr(o.checked)||o.checked===!0,children:t.jsx(me.span,{"data-state":wA(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:e,style:{pointerEvents:"none",...a.style}})})});kA.displayName=xA;var gA="CheckboxBubbleInput",vA=v.forwardRef(({__scopeCheckbox:a,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:f,setBubbleInput:m}=Bj(gA,a),k=je(r,m),y=Oj(o),x=Vj(n);v.useEffect(()=>{const w=f;if(!w)return;const M=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(M,"checked").set,N=!i.current;if(y!==o&&b){const S=new Event("click",{bubbles:N});w.indeterminate=nr(o),b.call(w,nr(o)?!1:o),w.dispatchEvent(S)}},[f,y,o,i]);const g=v.useRef(nr(o)?!1:o);return t.jsx(me.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??g.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});vA.displayName=gA;function OF(a){return typeof a=="function"}function nr(a){return a==="indeterminate"}function wA(a){return nr(a)?"indeterminate":a?"checked":"unchecked"}const $j=v.forwardRef(({className:a,...e},r)=>t.jsx(Uj,{ref:r,className:ce("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",a),...e,children:t.jsx(kA,{className:ce("flex items-center justify-center text-current"),children:t.jsx(wo,{className:"h-4 w-4"})})}));$j.displayName=Uj.displayName;const VF=w9("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"}}),z9=v.forwardRef(({className:a,variant:e,...r},n)=>t.jsx("div",{ref:n,role:"alert",className:ce(VF({variant:e}),a),...r}));z9.displayName="Alert";const BF=v.forwardRef(({className:a,...e},r)=>t.jsx("h5",{ref:r,className:ce("mb-1 font-medium leading-none tracking-tight",a),...e}));BF.displayName="AlertTitle";const F9=v.forwardRef(({className:a,...e},r)=>t.jsx("div",{ref:r,className:ce("text-sm [&_p]:leading-relaxed",a),...e}));F9.displayName="AlertDescription";function UF({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i,title:o="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=C.useState(""),[p,f]=C.useState(""),[m,k]=C.useState(!1),y=x=>{x.preventDefault(),a(h,p,m)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:y,children:[t.jsxs(Ce,{className:"space-y-4",children:[i&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:i})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"identifier",children:l}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"password",children:"Password"}),t.jsxs("div",{className:"relative",children:[t.jsx(jc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>f(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{className:"flex items-center space-x-2",children:[t.jsx($j,{id:"remember",checked:m,onCheckedChange:x=>k(x),disabled:n}),t.jsx(fe,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&t.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const $F=({onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:i="",appName:o="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),t.jsx(UF,{onSubmit:a,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:i,identifierLabel:l,identifierPlaceholder:d})]})});function GF({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i,title:o="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=C.useState({}),[h,u]=C.useState(""),p=(m,k)=>d(y=>({...y,[m]:k})),f=m=>{if(m.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}a(l)};return t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:f,children:[t.jsxs(Ce,{className:"space-y-4",children:[(i||h)&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:i||h})]}),e.map(m=>t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:m.name,children:m.label}),t.jsx(Ke,{id:m.name,type:m.type||"text",placeholder:m.placeholder,required:m.required,disabled:n,value:l[m.name]||"",onChange:k=>p(m.name,k.target.value)})]},m.name))]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&t.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",t.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const WF=({onSubmit:a,fields:e,onLoginClick:r,isLoading:n=!1,error:i="",appName:o="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),t.jsx(GF,{onSubmit:a,fields:e,onLoginClick:r,isLoading:n,error:i,title:l,description:d})]})});function ZF({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n,success:i=!1,title:o="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=C.useState(""),u=p=>{p.preventDefault(),a(d)};return i?t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx("div",{className:"flex items-center justify-center mb-4",children:t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:t.jsx(Nt,{className:"h-6 w-6 text-green-600"})})}),t.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),t.jsx(Ge,{className:"text-center",children:l})]}),t.jsx(Ho,{className:"flex flex-col space-y-4",children:e&&t.jsxs(U,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):t.jsxs(be,{className:"w-full max-w-md",children:[t.jsxs(Re,{className:"space-y-1",children:[t.jsx(De,{className:"text-2xl font-bold",children:o}),t.jsx(Ge,{children:c})]}),t.jsxs("form",{onSubmit:u,children:[t.jsxs(Ce,{className:"space-y-4",children:[n&&t.jsxs(z9,{variant:"destructive",children:[t.jsx(Bt,{className:"h-4 w-4"}),t.jsx(F9,{children:n})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email Address"}),t.jsxs("div",{className:"relative",children:[t.jsx(ha,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t.jsx(Ke,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),t.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),t.jsxs(Ho,{className:"flex flex-col space-y-4",children:[t.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&t.jsxs(U,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[t.jsx(Gs,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const XF=({onSubmit:a,onBackToLogin:e,isLoading:r=!1,error:n="",success:i=!1,appName:o="Your App",logo:c})=>t.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:t.jsxs("div",{className:"w-full max-w-md",children:[t.jsxs("div",{className:"mb-8 text-center",children:[t.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:t.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),t.jsx("span",{className:"text-2xl font-bold text-white",children:o})]}),t.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),t.jsx(ZF,{onSubmit:a,onBackToLogin:e,isLoading:r,error:n,success:i})]})});function eS(a,[e,r]){return Math.min(r,Math.max(e,a))}const JF=["top","right","bottom","left"],dr=Math.min,At=Math.max,y9=Math.round,u1=Math.floor,ua=a=>({x:a,y:a}),YF={left:"right",right:"left",bottom:"top",top:"bottom"},KF={start:"end",end:"start"};function HC(a,e,r){return At(a,dr(e,r))}function Pa(a,e){return typeof a=="function"?a(e):a}function qa(a){return a.split("-")[0]}function Qo(a){return a.split("-")[1]}function Gj(a){return a==="x"?"y":"x"}function Wj(a){return a==="y"?"height":"width"}const QF=new Set(["top","bottom"]);function la(a){return QF.has(qa(a))?"y":"x"}function Zj(a){return Gj(la(a))}function eE(a,e,r){r===void 0&&(r=!1);const n=Qo(a),i=Zj(a),o=Wj(i);let c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(c=m9(c)),[c,m9(c)]}function tE(a){const e=m9(a);return[OC(a),e,OC(e)]}function OC(a){return a.replace(/start|end/g,e=>KF[e])}const tS=["left","right"],aS=["right","left"],aE=["top","bottom"],rE=["bottom","top"];function nE(a,e,r){switch(a){case"top":case"bottom":return r?e?aS:tS:e?tS:aS;case"left":case"right":return e?aE:rE;default:return[]}}function iE(a,e,r,n){const i=Qo(a);let o=nE(qa(a),r==="start",n);return i&&(o=o.map(c=>c+"-"+i),e&&(o=o.concat(o.map(OC)))),o}function m9(a){return a.replace(/left|right|bottom|top/g,e=>YF[e])}function sE(a){return{top:0,right:0,bottom:0,left:0,...a}}function MA(a){return typeof a!="number"?sE(a):{top:a,right:a,bottom:a,left:a}}function f9(a){const{x:e,y:r,width:n,height:i}=a;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function rS(a,e,r){let{reference:n,floating:i}=a;const o=la(e),c=Zj(e),l=Wj(c),d=qa(e),h=o==="y",u=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,f=n[l]/2-i[l]/2;let m;switch(d){case"top":m={x:u,y:n.y-i.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:p};break;case"left":m={x:n.x-i.width,y:p};break;default:m={x:n.x,y:n.y}}switch(Qo(e)){case"start":m[c]-=f*(r&&h?-1:1);break;case"end":m[c]+=f*(r&&h?-1:1);break}return m}const oE=async(a,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:c}=r,l=o.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:a,floating:e,strategy:i}),{x:u,y:p}=rS(h,n,d),f=n,m={},k=0;for(let y=0;y<l.length;y++){const{name:x,fn:g}=l[y],{x:w,y:M,data:j,reset:b}=await g({x:u,y:p,initialPlacement:n,placement:f,strategy:i,middlewareData:m,rects:h,platform:c,elements:{reference:a,floating:e}});u=w??u,p=M??p,m={...m,[x]:{...m[x],...j}},b&&k<=50&&(k++,typeof b=="object"&&(b.placement&&(f=b.placement),b.rects&&(h=b.rects===!0?await c.getElementRects({reference:a,floating:e,strategy:i}):b.rects),{x:u,y:p}=rS(h,f,d)),y=-1)}return{x:u,y:p,placement:f,strategy:i,middlewareData:m}};async function Wc(a,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:o,rects:c,elements:l,strategy:d}=a,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:m=0}=Pa(e,a),k=MA(m),x=l[f?p==="floating"?"reference":"floating":p],g=f9(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(x)))==null||r?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,M=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),j=await(o.isElement==null?void 0:o.isElement(M))?await(o.getScale==null?void 0:o.getScale(M))||{x:1,y:1}:{x:1,y:1},b=f9(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(g.top-b.top+k.top)/j.y,bottom:(b.bottom-g.bottom+k.bottom)/j.y,left:(g.left-b.left+k.left)/j.x,right:(b.right-g.right+k.right)/j.x}}const cE=a=>({name:"arrow",options:a,async fn(e){const{x:r,y:n,placement:i,rects:o,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Pa(a,e)||{};if(h==null)return{};const p=MA(u),f={x:r,y:n},m=Zj(i),k=Wj(m),y=await c.getDimensions(h),x=m==="y",g=x?"top":"left",w=x?"bottom":"right",M=x?"clientHeight":"clientWidth",j=o.reference[k]+o.reference[m]-f[m]-o.floating[k],b=f[m]-o.reference[m],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let S=N?N[M]:0;(!S||!await(c.isElement==null?void 0:c.isElement(N)))&&(S=l.floating[M]||o.floating[k]);const L=j/2-b/2,A=S/2-y[k]/2-1,T=dr(p[g],A),R=dr(p[w],A),D=T,_=S-y[k]-R,q=S/2-y[k]/2+L,z=HC(D,q,_),V=!d.arrow&&Qo(i)!=null&&q!==z&&o.reference[k]/2-(q<D?T:R)-y[k]/2<0,G=V?q<D?q-D:q-_:0;return{[m]:f[m]+G,data:{[m]:z,centerOffset:q-z-G,...V&&{alignmentOffset:G}},reset:V}}}),lE=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(e){var r,n;const{placement:i,middlewareData:o,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:y=!0,...x}=Pa(a,e);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const g=qa(i),w=la(l),M=qa(l)===l,j=await(d.isRTL==null?void 0:d.isRTL(h.floating)),b=f||(M||!y?[m9(l)]:tE(l)),N=k!=="none";!f&&N&&b.push(...iE(l,y,k,j));const S=[l,...b],L=await Wc(e,x),A=[];let T=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&A.push(L[g]),p){const q=eE(i,c,j);A.push(L[q[0]],L[q[1]])}if(T=[...T,{placement:i,overflows:A}],!A.every(q=>q<=0)){var R,D;const q=(((R=o.flip)==null?void 0:R.index)||0)+1,z=S[q];if(z&&(!(p==="alignment"?w!==la(z):!1)||T.every(E=>la(E.placement)===w?E.overflows[0]>0:!0)))return{data:{index:q,overflows:T},reset:{placement:z}};let V=(D=T.filter(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(m){case"bestFit":{var _;const G=(_=T.filter(E=>{if(N){const re=la(E.placement);return re===w||re==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(re=>re>0).reduce((re,ne)=>re+ne,0)]).sort((E,re)=>E[1]-re[1])[0])==null?void 0:_[0];G&&(V=G);break}case"initialPlacement":V=l;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function nS(a,e){return{top:a.top-e.height,right:a.right-e.width,bottom:a.bottom-e.height,left:a.left-e.width}}function iS(a){return JF.some(e=>a[e]>=0)}const dE=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...i}=Pa(a,e);switch(n){case"referenceHidden":{const o=await Wc(e,{...i,elementContext:"reference"}),c=nS(o,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:iS(c)}}}case"escaped":{const o=await Wc(e,{...i,altBoundary:!0}),c=nS(o,r.floating);return{data:{escapedOffsets:c,escaped:iS(c)}}}default:return{}}}}},bA=new Set(["left","top"]);async function hE(a,e){const{placement:r,platform:n,elements:i}=a,o=await(n.isRTL==null?void 0:n.isRTL(i.floating)),c=qa(r),l=Qo(r),d=la(r)==="y",h=bA.has(c)?-1:1,u=o&&d?-1:1,p=Pa(e,a);let{mainAxis:f,crossAxis:m,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(m=l==="end"?k*-1:k),d?{x:m*u,y:f*h}:{x:f*h,y:m*u}}const uE=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(e){var r,n;const{x:i,y:o,placement:c,middlewareData:l}=e,d=await hE(e,a);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:o+d.y,data:{...d,placement:c}}}}},pE=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:g,y:w}=x;return{x:g,y:w}}},...d}=Pa(a,e),h={x:r,y:n},u=await Wc(e,d),p=la(qa(i)),f=Gj(p);let m=h[f],k=h[p];if(o){const x=f==="y"?"top":"left",g=f==="y"?"bottom":"right",w=m+u[x],M=m-u[g];m=HC(w,m,M)}if(c){const x=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=k+u[x],M=k-u[g];k=HC(w,k,M)}const y=l.fn({...e,[f]:m,[p]:k});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[f]:o,[p]:c}}}}}},yE=function(a){return a===void 0&&(a={}),{options:a,fn(e){const{x:r,y:n,placement:i,rects:o,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Pa(a,e),u={x:r,y:n},p=la(i),f=Gj(p);let m=u[f],k=u[p];const y=Pa(l,e),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(d){const M=f==="y"?"height":"width",j=o.reference[f]-o.floating[M]+x.mainAxis,b=o.reference[f]+o.reference[M]-x.mainAxis;m<j?m=j:m>b&&(m=b)}if(h){var g,w;const M=f==="y"?"width":"height",j=bA.has(qa(i)),b=o.reference[p]-o.floating[M]+(j&&((g=c.offset)==null?void 0:g[p])||0)+(j?0:x.crossAxis),N=o.reference[p]+o.reference[M]+(j?0:((w=c.offset)==null?void 0:w[p])||0)-(j?x.crossAxis:0);k<b?k=b:k>N&&(k=N)}return{[f]:m,[p]:k}}}},mE=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(e){var r,n;const{placement:i,rects:o,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Pa(a,e),u=await Wc(e,h),p=qa(i),f=Qo(i),m=la(i)==="y",{width:k,height:y}=o.floating;let x,g;p==="top"||p==="bottom"?(x=p,g=f===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,x=f==="end"?"top":"bottom");const w=y-u.top-u.bottom,M=k-u.left-u.right,j=dr(y-u[x],w),b=dr(k-u[g],M),N=!e.middlewareData.shift;let S=j,L=b;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(L=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(S=w),N&&!f){const T=At(u.left,0),R=At(u.right,0),D=At(u.top,0),_=At(u.bottom,0);m?L=k-2*(T!==0||R!==0?T+R:At(u.left,u.right)):S=y-2*(D!==0||_!==0?D+_:At(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:S});const A=await c.getDimensions(l.floating);return k!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function E9(){return typeof window<"u"}function ec(a){return CA(a)?(a.nodeName||"").toLowerCase():"#document"}function Dt(a){var e;return(a==null||(e=a.ownerDocument)==null?void 0:e.defaultView)||window}function fa(a){var e;return(e=(CA(a)?a.ownerDocument:a.document)||window.document)==null?void 0:e.documentElement}function CA(a){return E9()?a instanceof Node||a instanceof Dt(a).Node:!1}function ea(a){return E9()?a instanceof Element||a instanceof Dt(a).Element:!1}function ya(a){return E9()?a instanceof HTMLElement||a instanceof Dt(a).HTMLElement:!1}function sS(a){return!E9()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Dt(a).ShadowRoot}const fE=new Set(["inline","contents"]);function Qc(a){const{overflow:e,overflowX:r,overflowY:n,display:i}=ta(a);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!fE.has(i)}const xE=new Set(["table","td","th"]);function kE(a){return xE.has(ec(a))}const gE=[":popover-open",":modal"];function H9(a){return gE.some(e=>{try{return a.matches(e)}catch{return!1}})}const vE=["transform","translate","scale","rotate","perspective"],wE=["transform","translate","scale","rotate","perspective","filter"],ME=["paint","layout","strict","content"];function Xj(a){const e=Jj(),r=ea(a)?ta(a):a;return vE.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||wE.some(n=>(r.willChange||"").includes(n))||ME.some(n=>(r.contain||"").includes(n))}function bE(a){let e=hr(a);for(;ya(e)&&!Wo(e);){if(Xj(e))return e;if(H9(e))return null;e=hr(e)}return null}function Jj(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const CE=new Set(["html","body","#document"]);function Wo(a){return CE.has(ec(a))}function ta(a){return Dt(a).getComputedStyle(a)}function O9(a){return ea(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function hr(a){if(ec(a)==="html")return a;const e=a.assignedSlot||a.parentNode||sS(a)&&a.host||fa(a);return sS(e)?e.host:e}function jA(a){const e=hr(a);return Wo(e)?a.ownerDocument?a.ownerDocument.body:a.body:ya(e)&&Qc(e)?e:jA(e)}function Zc(a,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=jA(a),o=i===((n=a.ownerDocument)==null?void 0:n.body),c=Dt(i);if(o){const l=VC(c);return e.concat(c,c.visualViewport||[],Qc(i)?i:[],l&&r?Zc(l):[])}return e.concat(i,Zc(i,[],r))}function VC(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function LA(a){const e=ta(a);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=ya(a),o=i?a.offsetWidth:r,c=i?a.offsetHeight:n,l=y9(r)!==o||y9(n)!==c;return l&&(r=o,n=c),{width:r,height:n,$:l}}function Yj(a){return ea(a)?a:a.contextElement}function Fo(a){const e=Yj(a);if(!ya(e))return ua(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=LA(e);let c=(o?y9(r.width):r.width)/n,l=(o?y9(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const jE=ua(0);function SA(a){const e=Dt(a);return!Jj()||!e.visualViewport?jE:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function LE(a,e,r){return e===void 0&&(e=!1),!r||e&&r!==Dt(a)?!1:e}function ro(a,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=a.getBoundingClientRect(),o=Yj(a);let c=ua(1);e&&(n?ea(n)&&(c=Fo(n)):c=Fo(a));const l=LE(o,r,n)?SA(o):ua(0);let d=(i.left+l.x)/c.x,h=(i.top+l.y)/c.y,u=i.width/c.x,p=i.height/c.y;if(o){const f=Dt(o),m=n&&ea(n)?Dt(n):n;let k=f,y=VC(k);for(;y&&n&&m!==k;){const x=Fo(y),g=y.getBoundingClientRect(),w=ta(y),M=g.left+(y.clientLeft+parseFloat(w.paddingLeft))*x.x,j=g.top+(y.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=M,h+=j,k=Dt(y),y=VC(k)}}return f9({width:u,height:p,x:d,y:h})}function V9(a,e){const r=O9(a).scrollLeft;return e?e.left+r:ro(fa(a)).left+r}function IA(a,e){const r=a.getBoundingClientRect(),n=r.left+e.scrollLeft-V9(a,r),i=r.top+e.scrollTop;return{x:n,y:i}}function SE(a){let{elements:e,rect:r,offsetParent:n,strategy:i}=a;const o=i==="fixed",c=fa(n),l=e?H9(e.floating):!1;if(n===c||l&&o)return r;let d={scrollLeft:0,scrollTop:0},h=ua(1);const u=ua(0),p=ya(n);if((p||!p&&!o)&&((ec(n)!=="body"||Qc(c))&&(d=O9(n)),ya(n))){const m=ro(n);h=Fo(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const f=c&&!p&&!o?IA(c,d):ua(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+f.x,y:r.y*h.y-d.scrollTop*h.y+u.y+f.y}}function IE(a){return Array.from(a.getClientRects())}function NE(a){const e=fa(a),r=O9(a),n=a.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+V9(a);const l=-r.scrollTop;return ta(n).direction==="rtl"&&(c+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:c,y:l}}const oS=25;function AE(a,e){const r=Dt(a),n=fa(a),i=r.visualViewport;let o=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){o=i.width,c=i.height;const u=Jj();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}const h=V9(n);if(h<=0){const u=n.ownerDocument,p=u.body,f=getComputedStyle(p),m=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-m);k<=oS&&(o-=k)}else h<=oS&&(o+=h);return{width:o,height:c,x:l,y:d}}const _E=new Set(["absolute","fixed"]);function PE(a,e){const r=ro(a,!0,e==="fixed"),n=r.top+a.clientTop,i=r.left+a.clientLeft,o=ya(a)?Fo(a):ua(1),c=a.clientWidth*o.x,l=a.clientHeight*o.y,d=i*o.x,h=n*o.y;return{width:c,height:l,x:d,y:h}}function cS(a,e,r){let n;if(e==="viewport")n=AE(a,r);else if(e==="document")n=NE(fa(a));else if(ea(e))n=PE(e,r);else{const i=SA(a);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return f9(n)}function NA(a,e){const r=hr(a);return r===e||!ea(r)||Wo(r)?!1:ta(r).position==="fixed"||NA(r,e)}function qE(a,e){const r=e.get(a);if(r)return r;let n=Zc(a,[],!1).filter(l=>ea(l)&&ec(l)!=="body"),i=null;const o=ta(a).position==="fixed";let c=o?hr(a):a;for(;ea(c)&&!Wo(c);){const l=ta(c),d=Xj(c);!d&&l.position==="fixed"&&(i=null),(o?!d&&!i:!d&&l.position==="static"&&!!i&&_E.has(i.position)||Qc(c)&&!d&&NA(a,c))?n=n.filter(u=>u!==c):i=l,c=hr(c)}return e.set(a,n),n}function TE(a){let{element:e,boundary:r,rootBoundary:n,strategy:i}=a;const c=[...r==="clippingAncestors"?H9(e)?[]:qE(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=cS(e,u,i);return h.top=At(p.top,h.top),h.right=dr(p.right,h.right),h.bottom=dr(p.bottom,h.bottom),h.left=At(p.left,h.left),h},cS(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function RE(a){const{width:e,height:r}=LA(a);return{width:e,height:r}}function DE(a,e,r){const n=ya(e),i=fa(e),o=r==="fixed",c=ro(a,!0,o,e);let l={scrollLeft:0,scrollTop:0};const d=ua(0);function h(){d.x=V9(i)}if(n||!n&&!o)if((ec(e)!=="body"||Qc(i))&&(l=O9(e)),n){const m=ro(e,!0,o,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}else i&&h();o&&!n&&i&&h();const u=i&&!n&&!o?IA(i,l):ua(0),p=c.left+l.scrollLeft-d.x-u.x,f=c.top+l.scrollTop-d.y-u.y;return{x:p,y:f,width:c.width,height:c.height}}function kC(a){return ta(a).position==="static"}function lS(a,e){if(!ya(a)||ta(a).position==="fixed")return null;if(e)return e(a);let r=a.offsetParent;return fa(a)===r&&(r=r.ownerDocument.body),r}function AA(a,e){const r=Dt(a);if(H9(a))return r;if(!ya(a)){let i=hr(a);for(;i&&!Wo(i);){if(ea(i)&&!kC(i))return i;i=hr(i)}return r}let n=lS(a,e);for(;n&&kE(n)&&kC(n);)n=lS(n,e);return n&&Wo(n)&&kC(n)&&!Xj(n)?r:n||bE(a)||r}const zE=async function(a){const e=this.getOffsetParent||AA,r=this.getDimensions,n=await r(a.floating);return{reference:DE(a.reference,await e(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function FE(a){return ta(a).direction==="rtl"}const EE={convertOffsetParentRelativeRectToViewportRelativeRect:SE,getDocumentElement:fa,getClippingRect:TE,getOffsetParent:AA,getElementRects:zE,getClientRects:IE,getDimensions:RE,getScale:Fo,isElement:ea,isRTL:FE};function _A(a,e){return a.x===e.x&&a.y===e.y&&a.width===e.width&&a.height===e.height}function HE(a,e){let r=null,n;const i=fa(a);function o(){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),o();const h=a.getBoundingClientRect(),{left:u,top:p,width:f,height:m}=h;if(l||e(),!f||!m)return;const k=u1(p),y=u1(i.clientWidth-(u+f)),x=u1(i.clientHeight-(p+m)),g=u1(u),M={rootMargin:-k+"px "+-y+"px "+-x+"px "+-g+"px",threshold:At(0,dr(1,d))||1};let j=!0;function b(N){const S=N[0].intersectionRatio;if(S!==d){if(!j)return c();S?c(!1,S):n=setTimeout(()=>{c(!1,1e-7)},1e3)}S===1&&!_A(h,a.getBoundingClientRect())&&c(),j=!1}try{r=new IntersectionObserver(b,{...M,root:i.ownerDocument})}catch{r=new IntersectionObserver(b,M)}r.observe(a)}return c(!0),o}function OE(a,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=Yj(a),u=i||o?[...h?Zc(h):[],...Zc(e)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",r,{passive:!0}),o&&g.addEventListener("resize",r)});const p=h&&l?HE(h,r):null;let f=-1,m=null;c&&(m=new ResizeObserver(g=>{let[w]=g;w&&w.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var M;(M=m)==null||M.observe(e)})),r()}),h&&!d&&m.observe(h),m.observe(e));let k,y=d?ro(a):null;d&&x();function x(){const g=ro(a);y&&!_A(y,g)&&r(),y=g,k=requestAnimationFrame(x)}return r(),()=>{var g;u.forEach(w=>{i&&w.removeEventListener("scroll",r),o&&w.removeEventListener("resize",r)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,d&&cancelAnimationFrame(k)}}const VE=uE,BE=pE,UE=lE,$E=mE,GE=dE,dS=cE,WE=yE,ZE=(a,e,r)=>{const n=new Map,i={platform:EE,...r},o={...i.platform,_c:n};return oE(a,e,{...i,platform:o})};var XE=typeof document<"u",JE=function(){},n9=XE?C.useLayoutEffect:JE;function x9(a,e){if(a===e)return!0;if(typeof a!=typeof e)return!1;if(typeof a=="function"&&a.toString()===e.toString())return!0;let r,n,i;if(a&&e&&typeof a=="object"){if(Array.isArray(a)){if(r=a.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!x9(a[n],e[n]))return!1;return!0}if(i=Object.keys(a),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){const o=i[n];if(!(o==="_owner"&&a.$$typeof)&&!x9(a[o],e[o]))return!1}return!0}return a!==a&&e!==e}function PA(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function hS(a,e){const r=PA(a);return Math.round(e*r)/r}function gC(a){const e=v.useRef(a);return n9(()=>{e.current=a}),e}function YE(a){a===void 0&&(a={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=a,[u,p]=v.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[f,m]=v.useState(n);x9(f,n)||m(n);const[k,y]=v.useState(null),[x,g]=v.useState(null),w=v.useCallback(E=>{E!==N.current&&(N.current=E,y(E))},[]),M=v.useCallback(E=>{E!==S.current&&(S.current=E,g(E))},[]),j=o||k,b=c||x,N=v.useRef(null),S=v.useRef(null),L=v.useRef(u),A=d!=null,T=gC(d),R=gC(i),D=gC(h),_=v.useCallback(()=>{if(!N.current||!S.current)return;const E={placement:e,strategy:r,middleware:f};R.current&&(E.platform=R.current),ZE(N.current,S.current,E).then(re=>{const ne={...re,isPositioned:D.current!==!1};q.current&&!x9(L.current,ne)&&(L.current=ne,v9.flushSync(()=>{p(ne)}))})},[f,e,r,R,D]);n9(()=>{h===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[h]);const q=v.useRef(!1);n9(()=>(q.current=!0,()=>{q.current=!1}),[]),n9(()=>{if(j&&(N.current=j),b&&(S.current=b),j&&b){if(T.current)return T.current(j,b,_);_()}},[j,b,_,T,A]);const z=v.useMemo(()=>({reference:N,floating:S,setReference:w,setFloating:M}),[w,M]),V=v.useMemo(()=>({reference:j,floating:b}),[j,b]),G=v.useMemo(()=>{const E={position:r,left:0,top:0};if(!V.floating)return E;const re=hS(V.floating,u.x),ne=hS(V.floating,u.y);return l?{...E,transform:"translate("+re+"px, "+ne+"px)",...PA(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:re,top:ne}},[r,l,V.floating,u.x,u.y]);return v.useMemo(()=>({...u,update:_,refs:z,elements:V,floatingStyles:G}),[u,_,z,V,G])}const KE=a=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:a,fn(r){const{element:n,padding:i}=typeof a=="function"?a(r):a;return n&&e(n)?n.current!=null?dS({element:n.current,padding:i}).fn(r):{}:n?dS({element:n,padding:i}).fn(r):{}}}},QE=(a,e)=>({...VE(a),options:[a,e]}),eH=(a,e)=>({...BE(a),options:[a,e]}),tH=(a,e)=>({...WE(a),options:[a,e]}),aH=(a,e)=>({...UE(a),options:[a,e]}),rH=(a,e)=>({...$E(a),options:[a,e]}),nH=(a,e)=>({...GE(a),options:[a,e]}),iH=(a,e)=>({...KE(a),options:[a,e]});var sH="Arrow",qA=v.forwardRef((a,e)=>{const{children:r,width:n=10,height:i=5,...o}=a;return t.jsx(me.svg,{...o,ref:e,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?r:t.jsx("polygon",{points:"0,0 30,0 15,10"})})});qA.displayName=sH;var oH=qA,Kj="Popper",[TA,B9]=ma(Kj),[cH,RA]=TA(Kj),DA=a=>{const{__scopePopper:e,children:r}=a,[n,i]=v.useState(null);return t.jsx(cH,{scope:e,anchor:n,onAnchorChange:i,children:r})};DA.displayName=Kj;var zA="PopperAnchor",FA=v.forwardRef((a,e)=>{const{__scopePopper:r,virtualRef:n,...i}=a,o=RA(zA,r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return v.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&o.onAnchorChange(d.current)}),n?null:t.jsx(me.div,{...i,ref:l})});FA.displayName=zA;var Qj="PopperContent",[lH,dH]=TA(Qj),EA=v.forwardRef((a,e)=>{var W,Q,ue,de,ye,ie;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:o="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:m="optimized",onPlaced:k,...y}=a,x=RA(Qj,r),[g,w]=v.useState(null),M=je(e,Pe=>w(Pe)),[j,b]=v.useState(null),N=Vj(j),S=(N==null?void 0:N.width)??0,L=(N==null?void 0:N.height)??0,A=n+(o!=="center"?"-"+o:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},R=Array.isArray(h)?h:[h],D=R.length>0,_={padding:T,boundary:R.filter(uH),altBoundary:D},{refs:q,floatingStyles:z,placement:V,isPositioned:G,middlewareData:E}=YE({strategy:"fixed",placement:A,whileElementsMounted:(...Pe)=>OE(...Pe,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[QE({mainAxis:i+L,alignmentAxis:c}),d&&eH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?tH():void 0,..._}),d&&aH({..._}),rH({..._,apply:({elements:Pe,rects:qe,availableWidth:Qe,availableHeight:st})=>{const{width:yt,height:xt}=qe.reference,ot=Pe.floating.style;ot.setProperty("--radix-popper-available-width",`${Qe}px`),ot.setProperty("--radix-popper-available-height",`${st}px`),ot.setProperty("--radix-popper-anchor-width",`${yt}px`),ot.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),j&&iH({element:j,padding:l}),pH({arrowWidth:S,arrowHeight:L}),f&&nH({strategy:"referenceHidden",..._})]}),[re,ne]=VA(V),oe=ir(k);pt(()=>{G&&(oe==null||oe())},[G,oe]);const ae=(W=E.arrow)==null?void 0:W.x,se=(Q=E.arrow)==null?void 0:Q.y,ee=((ue=E.arrow)==null?void 0:ue.centerOffset)!==0,[le,ve]=v.useState();return pt(()=>{g&&ve(window.getComputedStyle(g).zIndex)},[g]),t.jsx("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:G?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:le,"--radix-popper-transform-origin":[(de=E.transformOrigin)==null?void 0:de.x,(ye=E.transformOrigin)==null?void 0:ye.y].join(" "),...((ie=E.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:t.jsx(lH,{scope:r,placedSide:re,onArrowChange:b,arrowX:ae,arrowY:se,shouldHideArrow:ee,children:t.jsx(me.div,{"data-side":re,"data-align":ne,...y,ref:M,style:{...y.style,animation:G?void 0:"none"}})})})});EA.displayName=Qj;var HA="PopperArrow",hH={top:"bottom",right:"left",bottom:"top",left:"right"},OA=v.forwardRef(function(e,r){const{__scopePopper:n,...i}=e,o=dH(HA,n),c=hH[o.placedSide];return t.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:t.jsx(oH,{...i,ref:r,style:{...i.style,display:"block"}})})});OA.displayName=HA;function uH(a){return a!==null}var pH=a=>({name:"transformOrigin",options:a,fn(e){var x,g,w;const{placement:r,rects:n,middlewareData:i}=e,c=((x=i.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:a.arrowWidth,d=c?0:a.arrowHeight,[h,u]=VA(r),p={start:"0%",center:"50%",end:"100%"}[u],f=(((g=i.arrow)==null?void 0:g.x)??0)+l/2,m=(((w=i.arrow)==null?void 0:w.y)??0)+d/2;let k="",y="";return h==="bottom"?(k=c?p:`${f}px`,y=`${-d}px`):h==="top"?(k=c?p:`${f}px`,y=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,y=c?p:`${m}px`):h==="left"&&(k=`${n.floating.width+d}px`,y=c?p:`${m}px`),{data:{x:k,y}}}});function VA(a){const[e,r="center"]=a.split("-");return[e,r]}var BA=DA,eL=FA,UA=EA,$A=OA;function yH(a){const e=mH(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(xH);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function mH(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=gH(i),l=kH(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var fH=Symbol("radix.slottable");function xH(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===fH}function kH(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function gH(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var GA=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"}),vH="VisuallyHidden",wH=v.forwardRef((a,e)=>t.jsx(me.span,{...a,ref:e,style:{...GA,...a.style}}));wH.displayName=vH;var MH=[" ","Enter","ArrowUp","ArrowDown"],bH=[" ","Enter"],no="Select",[U9,$9,CH]=NS(no),[tc]=ma(no,[CH,B9]),G9=B9(),[jH,xr]=tc(no),[LH,SH]=tc(no),WA=a=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:i,onOpenChange:o,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:f,required:m,form:k}=a,y=G9(e),[x,g]=v.useState(null),[w,M]=v.useState(null),[j,b]=v.useState(!1),N=QC(h),[S,L]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:no}),[A,T]=sr({prop:c,defaultProp:l,onChange:d,caller:no}),R=v.useRef(null),D=x?k||!!x.closest("form"):!0,[_,q]=v.useState(new Set),z=Array.from(_).map(V=>V.props.value).join(";");return t.jsx(BA,{...y,children:t.jsxs(jH,{required:m,scope:e,trigger:x,onTriggerChange:g,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:j,onValueNodeHasChildrenChange:b,contentId:Na(),value:A,onValueChange:T,open:S,onOpenChange:L,dir:N,triggerPointerDownPosRef:R,disabled:f,children:[t.jsx(U9.Provider,{scope:e,children:t.jsx(LH,{scope:a.__scopeSelect,onNativeOptionAdd:v.useCallback(V=>{q(G=>new Set(G).add(V))},[]),onNativeOptionRemove:v.useCallback(V=>{q(G=>{const E=new Set(G);return E.delete(V),E})},[]),children:r})}),D?t.jsxs(x_,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:p,value:A,onChange:V=>T(V.target.value),disabled:f,form:k,children:[A===void 0?t.jsx("option",{value:""}):null,Array.from(_)]},z):null]})})};WA.displayName=no;var ZA="SelectTrigger",XA=v.forwardRef((a,e)=>{const{__scopeSelect:r,disabled:n=!1,...i}=a,o=G9(r),c=xr(ZA,r),l=c.disabled||n,d=je(e,c.onTriggerChange),h=$9(r),u=v.useRef("touch"),[p,f,m]=g_(y=>{const x=h().filter(M=>!M.disabled),g=x.find(M=>M.value===c.value),w=v_(x,y,g);w!==void 0&&c.onValueChange(w.value)}),k=y=>{l||(c.onOpenChange(!0),m()),y&&(c.triggerPointerDownPosRef.current={x:Math.round(y.pageX),y:Math.round(y.pageY)})};return t.jsx(eL,{asChild:!0,...o,children:t.jsx(me.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":k_(c.value)?"":void 0,...i,ref:d,onClick:he(i.onClick,y=>{y.currentTarget.focus(),u.current!=="mouse"&&k(y)}),onPointerDown:he(i.onPointerDown,y=>{u.current=y.pointerType;const x=y.target;x.hasPointerCapture(y.pointerId)&&x.releasePointerCapture(y.pointerId),y.button===0&&y.ctrlKey===!1&&y.pointerType==="mouse"&&(k(y),y.preventDefault())}),onKeyDown:he(i.onKeyDown,y=>{const x=p.current!=="";!(y.ctrlKey||y.altKey||y.metaKey)&&y.key.length===1&&f(y.key),!(x&&y.key===" ")&&MH.includes(y.key)&&(k(),y.preventDefault())})})})});XA.displayName=ZA;var JA="SelectValue",YA=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,children:o,placeholder:c="",...l}=a,d=xr(JA,r),{onValueNodeHasChildrenChange:h}=d,u=o!==void 0,p=je(e,d.onValueNodeChange);return pt(()=>{h(u)},[h,u]),t.jsx(me.span,{...l,ref:p,style:{pointerEvents:"none"},children:k_(d.value)?t.jsx(t.Fragment,{children:c}):o})});YA.displayName=JA;var IH="SelectIcon",KA=v.forwardRef((a,e)=>{const{__scopeSelect:r,children:n,...i}=a;return t.jsx(me.span,{"aria-hidden":!0,...i,ref:e,children:n||"▼"})});KA.displayName=IH;var NH="SelectPortal",QA=a=>t.jsx(A9,{asChild:!0,...a});QA.displayName=NH;var io="SelectContent",e_=v.forwardRef((a,e)=>{const r=xr(io,a.__scopeSelect),[n,i]=v.useState();if(pt(()=>{i(new DocumentFragment)},[]),!r.open){const o=n;return o?v9.createPortal(t.jsx(t_,{scope:a.__scopeSelect,children:t.jsx(U9.Slot,{scope:a.__scopeSelect,children:t.jsx("div",{children:a.children})})}),o):null}return t.jsx(a_,{...a,ref:e})});e_.displayName=io;var Yt=10,[t_,kr]=tc(io),AH="SelectContentImpl",_H=yH("SelectContent.RemoveScroll"),a_=v.forwardRef((a,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:k,hideWhenDetached:y,avoidCollisions:x,...g}=a,w=xr(io,r),[M,j]=v.useState(null),[b,N]=v.useState(null),S=je(e,W=>j(W)),[L,A]=v.useState(null),[T,R]=v.useState(null),D=$9(r),[_,q]=v.useState(!1),z=v.useRef(!1);v.useEffect(()=>{if(M)return _j(M)},[M]),Aj();const V=v.useCallback(W=>{const[Q,...ue]=D().map(ie=>ie.ref.current),[de]=ue.slice(-1),ye=document.activeElement;for(const ie of W)if(ie===ye||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Q&&b&&(b.scrollTop=0),ie===de&&b&&(b.scrollTop=b.scrollHeight),ie==null||ie.focus(),document.activeElement!==ye))return},[D,b]),G=v.useCallback(()=>V([L,M]),[V,L,M]);v.useEffect(()=>{_&&G()},[_,G]);const{onOpenChange:E,triggerPointerDownPosRef:re}=w;v.useEffect(()=>{if(M){let W={x:0,y:0};const Q=de=>{var ye,ie;W={x:Math.abs(Math.round(de.pageX)-(((ye=re.current)==null?void 0:ye.x)??0)),y:Math.abs(Math.round(de.pageY)-(((ie=re.current)==null?void 0:ie.y)??0))}},ue=de=>{W.x<=10&&W.y<=10?de.preventDefault():M.contains(de.target)||E(!1),document.removeEventListener("pointermove",Q),re.current=null};return re.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",ue,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",ue,{capture:!0})}}},[M,E,re]),v.useEffect(()=>{const W=()=>E(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[E]);const[ne,oe]=g_(W=>{const Q=D().filter(ye=>!ye.disabled),ue=Q.find(ye=>ye.ref.current===document.activeElement),de=v_(Q,W,ue);de&&setTimeout(()=>de.ref.current.focus())}),ae=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&(A(W),de&&(z.current=!0))},[w.value]),se=v.useCallback(()=>M==null?void 0:M.focus(),[M]),ee=v.useCallback((W,Q,ue)=>{const de=!z.current&&!ue;(w.value!==void 0&&w.value===Q||de)&&R(W)},[w.value]),le=n==="popper"?BC:r_,ve=le===BC?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:m,sticky:k,hideWhenDetached:y,avoidCollisions:x}:{};return t.jsx(t_,{scope:r,content:M,viewport:b,onViewportChange:N,itemRefCallback:ae,selectedItem:L,onItemLeave:se,itemTextRefCallback:ee,focusSelectedItem:G,selectedItemText:T,position:n,isPositioned:_,searchRef:ne,children:t.jsx(P9,{as:_H,allowPinchZoom:!0,children:t.jsx(N9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:he(i,W=>{var Q;(Q=w.trigger)==null||Q.focus({preventScroll:!0}),W.preventDefault()}),children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:t.jsx(le,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...g,...ve,onPlaced:()=>q(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:he(g.onKeyDown,W=>{const Q=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!Q&&W.key.length===1&&oe(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let de=D().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(W.key)&&(de=de.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const ye=W.target,ie=de.indexOf(ye);de=de.slice(ie+1)}setTimeout(()=>V(de)),W.preventDefault()}})})})})})})});a_.displayName=AH;var PH="SelectItemAlignedPosition",r_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onPlaced:n,...i}=a,o=xr(io,r),c=kr(io,r),[l,d]=v.useState(null),[h,u]=v.useState(null),p=je(e,S=>u(S)),f=$9(r),m=v.useRef(!1),k=v.useRef(!0),{viewport:y,selectedItem:x,selectedItemText:g,focusSelectedItem:w}=c,M=v.useCallback(()=>{if(o.trigger&&o.valueNode&&l&&h&&y&&x&&g){const S=o.trigger.getBoundingClientRect(),L=h.getBoundingClientRect(),A=o.valueNode.getBoundingClientRect(),T=g.getBoundingClientRect();if(o.dir!=="rtl"){const ye=T.left-L.left,ie=A.left-ye,Pe=S.left-ie,qe=S.width+Pe,Qe=Math.max(qe,L.width),st=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.left=yt+"px"}else{const ye=L.right-T.right,ie=window.innerWidth-A.right-ye,Pe=window.innerWidth-S.right-ie,qe=S.width+Pe,Qe=Math.max(qe,L.width),st=window.innerWidth-Yt,yt=eS(ie,[Yt,Math.max(Yt,st-Qe)]);l.style.minWidth=qe+"px",l.style.right=yt+"px"}const R=f(),D=window.innerHeight-Yt*2,_=y.scrollHeight,q=window.getComputedStyle(h),z=parseInt(q.borderTopWidth,10),V=parseInt(q.paddingTop,10),G=parseInt(q.borderBottomWidth,10),E=parseInt(q.paddingBottom,10),re=z+V+_+E+G,ne=Math.min(x.offsetHeight*5,re),oe=window.getComputedStyle(y),ae=parseInt(oe.paddingTop,10),se=parseInt(oe.paddingBottom,10),ee=S.top+S.height/2-Yt,le=D-ee,ve=x.offsetHeight/2,W=x.offsetTop+ve,Q=z+V+W,ue=re-Q;if(Q<=ee){const ye=R.length>0&&x===R[R.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-y.offsetTop-y.offsetHeight,Pe=Math.max(le,ve+(ye?se:0)+ie+G),qe=Q+Pe;l.style.height=qe+"px"}else{const ye=R.length>0&&x===R[0].ref.current;l.style.top="0px";const Pe=Math.max(ee,z+y.offsetTop+(ye?ae:0)+ve)+ue;l.style.height=Pe+"px",y.scrollTop=Q-ee+y.offsetTop}l.style.margin=`${Yt}px 0`,l.style.minHeight=ne+"px",l.style.maxHeight=D+"px",n==null||n(),requestAnimationFrame(()=>m.current=!0)}},[f,o.trigger,o.valueNode,l,h,y,x,g,o.dir,n]);pt(()=>M(),[M]);const[j,b]=v.useState();pt(()=>{h&&b(window.getComputedStyle(h).zIndex)},[h]);const N=v.useCallback(S=>{S&&k.current===!0&&(M(),w==null||w(),k.current=!1)},[M,w]);return t.jsx(TH,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:m,onScrollButtonChange:N,children:t.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:t.jsx(me.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});r_.displayName=PH;var qH="SelectPopperPosition",BC=v.forwardRef((a,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:i=Yt,...o}=a,c=G9(r);return t.jsx(UA,{...c,...o,ref:e,align:n,collisionPadding:i,style:{boxSizing:"border-box",...o.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)"}})});BC.displayName=qH;var[TH,tL]=tc(io,{}),UC="SelectViewport",n_=v.forwardRef((a,e)=>{const{__scopeSelect:r,nonce:n,...i}=a,o=kr(UC,r),c=tL(UC,r),l=je(e,o.onViewportChange),d=v.useRef(0);return t.jsxs(t.Fragment,{children:[t.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}),t.jsx(U9.Slot,{scope:r,children:t.jsx(me.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:he(i.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=c;if(f!=null&&f.current&&p){const m=Math.abs(d.current-u.scrollTop);if(m>0){const k=window.innerHeight-Yt*2,y=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),g=Math.max(y,x);if(g<k){const w=g+m,M=Math.min(k,w),j=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=j>0?j:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});n_.displayName=UC;var i_="SelectGroup",[RH,DH]=tc(i_),zH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=Na();return t.jsx(RH,{scope:r,id:i,children:t.jsx(me.div,{role:"group","aria-labelledby":i,...n,ref:e})})});zH.displayName=i_;var s_="SelectLabel",o_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=DH(s_,r);return t.jsx(me.div,{id:i.id,...n,ref:e})});o_.displayName=s_;var k9="SelectItem",[FH,c_]=tc(k9),l_=v.forwardRef((a,e)=>{const{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...c}=a,l=xr(k9,r),d=kr(k9,r),h=l.value===n,[u,p]=v.useState(o??""),[f,m]=v.useState(!1),k=je(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,i)}),y=Na(),x=v.useRef("touch"),g=()=>{i||(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 t.jsx(FH,{scope:r,value:n,disabled:i,textId:y,isSelected:h,onItemTextChange:v.useCallback(w=>{p(M=>M||((w==null?void 0:w.textContent)??"").trim())},[]),children:t.jsx(U9.ItemSlot,{scope:r,value:n,disabled:i,textValue:u,children:t.jsx(me.div,{role:"option","aria-labelledby":y,"data-highlighted":f?"":void 0,"aria-selected":h&&f,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:k,onFocus:he(c.onFocus,()=>m(!0)),onBlur:he(c.onBlur,()=>m(!1)),onClick:he(c.onClick,()=>{x.current!=="mouse"&&g()}),onPointerUp:he(c.onPointerUp,()=>{x.current==="mouse"&&g()}),onPointerDown:he(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:he(c.onPointerMove,w=>{var M;x.current=w.pointerType,i?(M=d.onItemLeave)==null||M.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:he(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:he(c.onKeyDown,w=>{var j;((j=d.searchRef)==null?void 0:j.current)!==""&&w.key===" "||(bH.includes(w.key)&&g(),w.key===" "&&w.preventDefault())})})})})});l_.displayName=k9;var hc="SelectItemText",d_=v.forwardRef((a,e)=>{const{__scopeSelect:r,className:n,style:i,...o}=a,c=xr(hc,r),l=kr(hc,r),d=c_(hc,r),h=SH(hc,r),[u,p]=v.useState(null),f=je(e,g=>p(g),d.onItemTextChange,g=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,g,d.value,d.disabled)}),m=u==null?void 0:u.textContent,k=v.useMemo(()=>t.jsx("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:x}=h;return pt(()=>(y(k),()=>x(k)),[y,x,k]),t.jsxs(t.Fragment,{children:[t.jsx(me.span,{id:d.textId,...o,ref:f}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?v9.createPortal(o.children,c.valueNode):null]})});d_.displayName=hc;var h_="SelectItemIndicator",u_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return c_(h_,r).isSelected?t.jsx(me.span,{"aria-hidden":!0,...n,ref:e}):null});u_.displayName=h_;var $C="SelectScrollUpButton",p_=v.forwardRef((a,e)=>{const r=kr($C,a.__scopeSelect),n=tL($C,a.__scopeSelect),[i,o]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;o(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(m_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});p_.displayName=$C;var GC="SelectScrollDownButton",y_=v.forwardRef((a,e)=>{const r=kr(GC,a.__scopeSelect),n=tL(GC,a.__scopeSelect),[i,o]=v.useState(!1),c=je(e,n.onScrollButtonChange);return pt(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;o(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),i?t.jsx(m_,{...a,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});y_.displayName=GC;var m_=v.forwardRef((a,e)=>{const{__scopeSelect:r,onAutoScroll:n,...i}=a,o=kr("SelectScrollButton",r),c=v.useRef(null),l=$9(r),d=v.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return v.useEffect(()=>()=>d(),[d]),pt(()=>{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]),t.jsx(me.div,{"aria-hidden":!0,...i,ref:e,style:{flexShrink:0,...i.style},onPointerDown:he(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:he(i.onPointerMove,()=>{var h;(h=o.onItemLeave)==null||h.call(o),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:he(i.onPointerLeave,()=>{d()})})}),EH="SelectSeparator",f_=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a;return t.jsx(me.div,{"aria-hidden":!0,...n,ref:e})});f_.displayName=EH;var WC="SelectArrow",HH=v.forwardRef((a,e)=>{const{__scopeSelect:r,...n}=a,i=G9(r),o=xr(WC,r),c=kr(WC,r);return o.open&&c.position==="popper"?t.jsx($A,{...i,...n,ref:e}):null});HH.displayName=WC;var OH="SelectBubbleInput",x_=v.forwardRef(({__scopeSelect:a,value:e,...r},n)=>{const i=v.useRef(null),o=je(n,i),c=Oj(e);return v.useEffect(()=>{const l=i.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),t.jsx(me.select,{...r,style:{...GA,...r.style},ref:o,defaultValue:e})});x_.displayName=OH;function k_(a){return a===""||a===void 0}function g_(a){const e=ir(a),r=v.useRef(""),n=v.useRef(0),i=v.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),o=v.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return v.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function v_(a,e,r){const i=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,o=r?a.indexOf(r):-1;let c=VH(a,Math.max(o,0));i.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(i.toLowerCase()));return d!==r?d:void 0}function VH(a,e){return a.map((r,n)=>a[(e+n)%a.length])}var BH=WA,w_=XA,UH=YA,$H=KA,GH=QA,M_=e_,WH=n_,b_=o_,C_=l_,ZH=d_,XH=u_,j_=p_,L_=y_,aL=f_;const JH=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],YH=a=>{if(!a)return"continue";const e=a.trim();return e.length===0?"continue":e.toLowerCase()},KH=({open:a,onClose:e,onLogin:r,onRegister:n,appName:i="Your App",attemptedAction:o,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=YH(o),u=l??`Please sign in to ${h} and keep your progress synced with ${i}.`;return t.jsx(mr,{open:a,onOpenChange:p=>!p&&e(),children:t.jsxs(Ta,{className:"sm:max-w-lg",children:[t.jsxs(fr,{className:"space-y-2",children:[t.jsxs(Da,{className:"flex items-center gap-2 text-xl font-semibold",children:[t.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:t.jsx(Bt,{className:"h-5 w-5"})}),c]}),t.jsx(R9,{className:"text-base text-muted-foreground",children:u})]}),t.jsxs("div",{className:"mt-2 space-y-4",children:[t.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[t.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[t.jsx(Xa,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),t.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:JH.map(p=>t.jsxs("li",{className:"flex items-start gap-2",children:[t.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),t.jsx("span",{children:p})]},p))})]}),d&&t.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),t.jsx(aL,{className:"my-4"}),t.jsxs(Ra,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[t.jsx(U,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),t.jsx(U,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),t.jsx(U,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},QH=[{icon:Mc,label:"Dashboard",path:"/dashboard"},{icon:vt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Wt,label:"Courses",path:"/dashboard/courses"},{icon:Ao,label:"Settings",path:"/dashboard/settings"}];function eO({children:a,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:i="/dashboard",notificationCount:o=0}){return t.jsx("div",{className:"min-h-screen bg-background",children:t.jsxs("div",{className:"flex",children:[t.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[t.jsx("nav",{className:"flex-1 space-y-1 p-4",children:QH.map(c=>{const l=c.icon,d=i===c.path;return t.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:[t.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&t.jsx("div",{className:"border-t p-4",children:t.jsxs(U,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[t.jsx(Lc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),t.jsx("main",{className:"flex-1 p-6 md:p-8",children:a})]})})}const tO=w9("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 at({className:a,variant:e,...r}){return t.jsx("div",{className:ce(tO({variant:e}),a),...r})}function aO({userName:a,feedItems:e,alerts:r,snapshot:n,onSave:i,onApply:o,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return vt;case"course":return Wt;case"news":return Sa;default:return vt}},h=u=>{switch(u.type){case"job":return t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>o(u.id),children:"Apply"})]});case"course":return t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>i(u.id),children:"Save"}),t.jsx(U,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return t.jsx(U,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",a," 👋"]}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),t.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[t.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[t.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex items-start justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(p,{className:"h-5 w-5 text-primary"}),t.jsx(at,{variant:"secondary",children:u.type})]}),t.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),t.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vo,{className:"h-4 w-4"}),u.company]}),u.location&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"}),u.location]})]}),t.jsx(Ge,{children:u.description})]}),t.jsxs(Ce,{children:[t.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(f=>t.jsx(at,{variant:"outline",children:f},f))}),u.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),t.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Ys,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),t.jsx(Ce,{className:"space-y-3",children:n.map(u=>t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),t.jsxs("div",{className:"text-right",children:[t.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&t.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs(De,{className:"flex items-center gap-2",children:[t.jsx(Qt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),t.jsx(Ce,{className:"space-y-3",children:r.length===0?t.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>t.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[t.jsx(at,{variant:"outline",className:"mb-2",children:u.type}),t.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}var W9="Switch",[rO]=ma(W9),[nO,iO]=rO(W9),S_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,name:n,checked:i,defaultChecked:o,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=a,[f,m]=v.useState(null),k=je(e,M=>m(M)),y=v.useRef(!1),x=f?u||!!f.closest("form"):!0,[g,w]=sr({prop:i,defaultProp:o??!1,onChange:h,caller:W9});return t.jsxs(nO,{scope:r,checked:g,disabled:l,children:[t.jsx(me.button,{type:"button",role:"switch","aria-checked":g,"aria-required":c,"data-state":__(g),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:he(a.onClick,M=>{w(j=>!j),x&&(y.current=M.isPropagationStopped(),y.current||M.stopPropagation())})}),x&&t.jsx(A_,{control:f,bubbles:!y.current,name:n,value:d,checked:g,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});S_.displayName=W9;var I_="SwitchThumb",N_=v.forwardRef((a,e)=>{const{__scopeSwitch:r,...n}=a,i=iO(I_,r);return t.jsx(me.span,{"data-state":__(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:e})});N_.displayName=I_;var sO="SwitchBubbleInput",A_=v.forwardRef(({__scopeSwitch:a,control:e,checked:r,bubbles:n=!0,...i},o)=>{const c=v.useRef(null),l=je(c,o),d=Oj(r),h=Vj(e);return v.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&m){const k=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(k)}},[d,r,n]),t.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...i.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});A_.displayName=sO;function __(a){return a?"checked":"unchecked"}var P_=S_,oO=N_;const Kt=v.forwardRef(({className:a,...e},r)=>t.jsx(P_,{className:ce("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",a),...e,ref:r,children:t.jsx(oO,{className:ce("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")})}));Kt.displayName=P_.displayName;function cO(a){const e=lO(a),r=v.forwardRef((n,i)=>{const{children:o,...c}=n,l=v.Children.toArray(o),d=l.find(hO);if(d){const h=d.props.children,u=l.map(p=>p===d?v.Children.count(h)>1?v.Children.only(null):v.isValidElement(h)?h.props.children:null:p);return t.jsx(e,{...c,ref:i,children:v.isValidElement(h)?v.cloneElement(h,void 0,u):null})}return t.jsx(e,{...c,ref:i,children:o})});return r.displayName=`${a}.Slot`,r}function lO(a){const e=v.forwardRef((r,n)=>{const{children:i,...o}=r;if(v.isValidElement(i)){const c=pO(i),l=uO(o,i.props);return i.type!==v.Fragment&&(l.ref=n?so(n,c):c),v.cloneElement(i,l)}return v.Children.count(i)>1?v.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}var dO=Symbol("radix.slottable");function hO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===dO}function uO(a,e){const r={...e};for(const n in e){const i=a[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...l)=>{const d=o(...l);return i(...l),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...a,...r}}function pO(a){var n,i;let e=(n=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?a.ref:(e=(i=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var Z9="Popover",[q_]=ma(Z9,[B9]),e1=B9(),[yO,gr]=q_(Z9),T_=a=>{const{__scopePopover:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:c=!1}=a,l=e1(e),d=v.useRef(null),[h,u]=v.useState(!1),[p,f]=sr({prop:n,defaultProp:i??!1,onChange:o,caller:Z9});return t.jsx(BA,{...l,children:t.jsx(yO,{scope:e,contentId:Na(),triggerRef:d,open:p,onOpenChange:f,onOpenToggle:v.useCallback(()=>f(m=>!m),[f]),hasCustomAnchor:h,onCustomAnchorAdd:v.useCallback(()=>u(!0),[]),onCustomAnchorRemove:v.useCallback(()=>u(!1),[]),modal:c,children:r})})};T_.displayName=Z9;var R_="PopoverAnchor",mO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(R_,r),o=e1(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=i;return v.useEffect(()=>(c(),()=>l()),[c,l]),t.jsx(eL,{...o,...n,ref:e})});mO.displayName=R_;var D_="PopoverTrigger",z_=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(D_,r),o=e1(r),c=je(e,i.triggerRef),l=t.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":V_(i.open),...n,ref:c,onClick:he(a.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:t.jsx(eL,{asChild:!0,...o,children:l})});z_.displayName=D_;var rL="PopoverPortal",[fO,xO]=q_(rL,{forceMount:void 0}),F_=a=>{const{__scopePopover:e,forceMount:r,children:n,container:i}=a,o=gr(rL,e);return t.jsx(fO,{scope:e,forceMount:r,children:t.jsx(ur,{present:r||o.open,children:t.jsx(A9,{asChild:!0,container:i,children:n})})})};F_.displayName=rL;var Zo="PopoverContent",E_=v.forwardRef((a,e)=>{const r=xO(Zo,a.__scopePopover),{forceMount:n=r.forceMount,...i}=a,o=gr(Zo,a.__scopePopover);return t.jsx(ur,{present:n||o.open,children:o.modal?t.jsx(gO,{...i,ref:e}):t.jsx(vO,{...i,ref:e})})});E_.displayName=Zo;var kO=cO("PopoverContent.RemoveScroll"),gO=v.forwardRef((a,e)=>{const r=gr(Zo,a.__scopePopover),n=v.useRef(null),i=je(e,n),o=v.useRef(!1);return v.useEffect(()=>{const c=n.current;if(c)return _j(c)},[]),t.jsx(P9,{as:kO,allowPinchZoom:!0,children:t.jsx(H_,{...a,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(a.onCloseAutoFocus,c=>{var l;c.preventDefault(),o.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:he(a.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;o.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:he(a.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),vO=v.forwardRef((a,e)=>{const r=gr(Zo,a.__scopePopover),n=v.useRef(!1),i=v.useRef(!1);return t.jsx(H_,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var c,l;(c=a.onCloseAutoFocus)==null||c.call(a,o),o.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var d,h;(d=a.onInteractOutside)==null||d.call(a,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=o.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),H_=v.forwardRef((a,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=a,f=gr(Zo,r),m=e1(r);return Aj(),t.jsx(N9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:t.jsx(I9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>f.onOpenChange(!1),children:t.jsx(UA,{"data-state":V_(f.open),role:"dialog",id:f.contentId,...m,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),O_="PopoverClose",wO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=gr(O_,r);return t.jsx(me.button,{type:"button",...n,ref:e,onClick:he(a.onClick,()=>i.onOpenChange(!1))})});wO.displayName=O_;var MO="PopoverArrow",bO=v.forwardRef((a,e)=>{const{__scopePopover:r,...n}=a,i=e1(r);return t.jsx($A,{...i,...n,ref:e})});bO.displayName=MO;function V_(a){return a?"open":"closed"}var CO=T_,jO=z_,LO=F_,B_=E_;const SO=CO,IO=jO,U_=v.forwardRef(({className:a,align:e="center",sideOffset:r=4,...n},i)=>t.jsx(LO,{children:t.jsx(B_,{ref:i,align:e,sideOffset:r,className:ce("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]",a),...n})}));U_.displayName=B_.displayName;const $_=v.forwardRef(({className:a,...e},r)=>t.jsx("textarea",{className:ce("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",a),ref:r,...e}));$_.displayName="Textarea";const Xc=BH,Jc=UH,Xo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(w_,{ref:n,className:ce("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",a),...r,children:[e,t.jsx($H,{asChild:!0,children:t.jsx(sA,{className:"h-4 w-4 opacity-50"})})]}));Xo.displayName=w_.displayName;const G_=v.forwardRef(({className:a,...e},r)=>t.jsx(j_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(Gz,{className:"h-4 w-4"})}));G_.displayName=j_.displayName;const W_=v.forwardRef(({className:a,...e},r)=>t.jsx(L_,{ref:r,className:ce("flex cursor-default items-center justify-center py-1",a),...e,children:t.jsx(sA,{className:"h-4 w-4"})}));W_.displayName=L_.displayName;const Jo=v.forwardRef(({className:a,children:e,position:r="popper",...n},i)=>t.jsx(GH,{children:t.jsxs(M_,{ref:i,className:ce("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",a),position:r,...n,children:[t.jsx(G_,{}),t.jsx(WH,{className:ce("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),t.jsx(W_,{})]})}));Jo.displayName=M_.displayName;const NO=v.forwardRef(({className:a,...e},r)=>t.jsx(b_,{ref:r,className:ce("px-2 py-1.5 text-sm font-semibold",a),...e}));NO.displayName=b_.displayName;const Yo=v.forwardRef(({className:a,children:e,...r},n)=>t.jsxs(C_,{ref:n,className:ce("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",a),...r,children:[t.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:t.jsx(XH,{children:t.jsx(Bz,{className:"h-4 w-4"})})}),t.jsx(ZH,{children:e})]}));Yo.displayName=C_.displayName;const AO=v.forwardRef(({className:a,...e},r)=>t.jsx(aL,{ref:r,className:ce("-mx-1 my-1 h-px bg-muted",a),...e}));AO.displayName=aL.displayName;function _O({open:a,onClose:e,onAdded:r,existingExperience:n,onUpdated:i}){const o=new Date().getFullYear(),c=Array.from({length:40},(m,k)=>`${o-k}`),[l,d]=C.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});C.useEffect(()=>{if(n){const[m,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:m||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,a]);const[h,u]=C.useState(!1),p=(m,k)=>d(y=>({...y,[m]:k})),f=()=>{const m=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:m,tags:l.tags.split(",").map(y=>y.trim()).filter(Boolean)};n?i==null||i(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(Da,{children:n?"Edit Work Experience":"Add Work Experience"}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Title"}),t.jsx(Ke,{value:l.title,onChange:m=>p("title",m.target.value)})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Company"}),t.jsx(Ke,{value:l.company,onChange:m=>p("company",m.target.value)})]}),t.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Start Year"}),t.jsxs(Xc,{onValueChange:m=>p("startYear",m),value:l.startYear,children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select year"})}),t.jsx(Jo,{children:c.map(m=>t.jsx(Yo,{value:m,children:m},m))})]})]}),!l.isPresent&&t.jsxs("div",{children:[t.jsx(fe,{children:"End Year"}),t.jsxs(Xc,{onValueChange:m=>p("endYear",m),value:l.endYear,children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select year"})}),t.jsx(Jo,{children:c.map(m=>t.jsx(Yo,{value:m,children:m},m))})]})]})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:m=>p("isPresent",m.target.checked),className:"w-4 h-4 accent-primary"}),t.jsx(fe,{htmlFor:"present",children:"I currently work here"})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Tags (comma-separated)"}),t.jsx($_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:m=>p("tags",m.target.value)})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:f,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}var PO=Symbol("radix.slottable");function qO(a){const e=({children:r})=>t.jsx(t.Fragment,{children:r});return e.displayName=`${a}.Slottable`,e.__radixId=PO,e}var Z_="AlertDialog",[TO]=ma(Z_,[ON]),za=ON(),X_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(rA,{...n,...r,modal:!0})};X_.displayName=Z_;var RO="AlertDialogTrigger",DO=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(nA,{...i,...n,ref:e})});DO.displayName=RO;var zO="AlertDialogPortal",J_=a=>{const{__scopeAlertDialog:e,...r}=a,n=za(e);return t.jsx(iA,{...n,...r})};J_.displayName=zO;var FO="AlertDialogOverlay",Y_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Rj,{...i,...n,ref:e})});Y_.displayName=FO;var Eo="AlertDialogContent",[EO,HO]=TO(Eo),OO=qO("AlertDialogContent"),K_=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,children:n,...i}=a,o=za(r),c=v.useRef(null),l=je(e,c),d=v.useRef(null);return t.jsx(Fz,{contentName:Eo,titleName:Q_,docsSlug:"alert-dialog",children:t.jsx(EO,{scope:r,cancelRef:d,children:t.jsxs(Dj,{role:"alertdialog",...o,...i,ref:l,onOpenAutoFocus:he(i.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[t.jsx(OO,{children:n}),t.jsx(BO,{contentRef:c})]})})})});K_.displayName=Eo;var Q_="AlertDialogTitle",eP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(zj,{...i,...n,ref:e})});eP.displayName=Q_;var tP="AlertDialogDescription",aP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Fj,{...i,...n,ref:e})});aP.displayName=tP;var VO="AlertDialogAction",rP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,i=za(r);return t.jsx(Ej,{...i,...n,ref:e})});rP.displayName=VO;var nP="AlertDialogCancel",iP=v.forwardRef((a,e)=>{const{__scopeAlertDialog:r,...n}=a,{cancelRef:i}=HO(nP,r),o=za(r),c=je(e,i);return t.jsx(Ej,{...o,...n,ref:c})});iP.displayName=nP;var BO=({contentRef:a})=>{const e=`\`${Eo}\` requires a description for the component to be accessible for screen reader users.
7812
7812
 
7813
- You can add a description to the \`${Eo}\` by passing a \`${eP}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7813
+ You can add a description to the \`${Eo}\` by passing a \`${tP}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
7814
7814
 
7815
7815
  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 \`${Eo}\`. 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.
7816
7816
 
7817
- For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return v.useEffect(()=>{var n;document.getElementById((n=a.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,a]),null},BO=Z_,UO=X_,iP=J_,sP=Y_,oP=aP,cP=nP,lP=Q_,dP=tP;const $O=BO,GO=UO,hP=v.forwardRef(({className:a,...e},r)=>t.jsx(iP,{className:ce("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",a),...e,ref:r}));hP.displayName=iP.displayName;const uP=v.forwardRef(({className:a,...e},r)=>t.jsxs(GO,{children:[t.jsx(hP,{}),t.jsx(sP,{ref:r,className:ce("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",a),...e})]}));uP.displayName=sP.displayName;const pP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});pP.displayName="AlertDialogHeader";const yP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});yP.displayName="AlertDialogFooter";const mP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce("text-lg font-semibold",a),...e}));mP.displayName=lP.displayName;const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(dP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));fP.displayName=dP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(oP,{ref:r,className:ce(YC(),a),...e}));xP.displayName=oP.displayName;const kP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce(YC({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));kP.displayName=cP.displayName;function uS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[o,c]=C.useState("");C.useEffect(()=>{a||c("")},[a]);const l=()=>{o.trim()&&(r(o.trim()),c(""),e())};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(fe,{children:n}),t.jsx(Ke,{value:o,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(Ra,{children:[t.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx($,{onClick:l,disabled:!o.trim(),children:"Add"})]})]})})}const pS=["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 WO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState(""),[o,c]=C.useState(pS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=pS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"skill",children:"Skill Name"}),t.jsx(Ke,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{i(h)},children:h},h))})]}),t.jsxs(Ra,{children:[t.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const yS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function ZO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState(""),[o,c]=C.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(yS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"topic",children:"Topic"}),t.jsx(Ke,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>i(h),children:h},h))})]}),t.jsxs(Ra,{children:[t.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const XO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],JO=["Native","Fluent","Intermediate","Basic"];function YO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState({name:"",proficiency:""}),o=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Language"}),t.jsxs(Xc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select a language"})}),t.jsx(Jo,{children:XO.map(c=>t.jsx(Yo,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Proficiency"}),t.jsxs(Xc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select proficiency"})}),t.jsx(Jo,{children:JO.map(c=>t.jsx(Yo,{value:c,children:c},c))})]})]})]}),t.jsxs(Ra,{children:[t.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx($,{onClick:o,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function KO({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=C.useState(a),[o,c]=C.useState(!1),[l,d]=C.useState(null),[h,u]=C.useState(null),[p,m]=C.useState(null),[f,k]=C.useState(!1),[y,x]=C.useState(!1),[g,w]=C.useState(!1),[M,j]=C.useState(!1),[b,N]=C.useState(!1),S=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],L=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],A=()=>{l&&(i(_=>{const q={..._,workExperience:_.workExperience.filter(z=>z.id!==l)};return e({type:"profile",payload:q}),q}),d(null))},T=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},R=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},D=()=>{e({type:"profile",payload:n})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),t.jsx($,{onClick:D,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(oo,{defaultValue:"personal",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[t.jsx(Ie,{value:"personal",children:"Personal"}),t.jsx(Ie,{value:"experience",children:"Experience"}),t.jsx(Ie,{value:"job-search",children:"Job Search"}),t.jsx(Ie,{value:"skills",children:"Skills"}),t.jsx(Ie,{value:"languages",children:"Languages"}),t.jsx(Ie,{value:"alerts",children:"Alerts"}),t.jsx(Ie,{value:"preferences",children:"Preferences"})]}),t.jsx(Ne,{value:"personal",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Personal Details"}),t.jsx(Ge,{children:"Update your personal information"})]}),t.jsx(Ce,{className:"space-y-4",children:t.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"fullName",children:"Full Name"}),t.jsx(Ke,{id:"fullName",value:n.personalDetails.fullName,onChange:_=>T("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email"}),t.jsx(Ke,{id:"email",type:"email",value:n.personalDetails.email,onChange:_=>T("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"phone",children:"Phone"}),t.jsx(Ke,{id:"phone",value:n.personalDetails.phone,onChange:_=>T("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"location",children:"Location"}),t.jsx(Ke,{id:"location",value:n.personalDetails.location,onChange:_=>T("personalDetails","location",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Work Experience"}),t.jsx(Ge,{children:"Your iGaming industry experience"})]}),t.jsxs(Ce,{className:"space-y-4",children:[n.workExperience.map(_=>t.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-semibold",children:_.title}),t.jsx("p",{className:"text-sm text-muted-foreground",children:_.company}),t.jsx("p",{className:"text-xs text-muted-foreground",children:_.period})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx($,{variant:"outline",size:"sm",onClick:()=>{const q=n.workExperience.find(z=>z.id===_.id);m(q||null),c(!0)},children:"Edit"}),t.jsx($,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(q=>t.jsx(at,{variant:"secondary",children:q},q))})]},_.id)),t.jsx($,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(AO,{open:o,onClose:()=>{c(!1),m(null)},existingExperience:p,onAdded:_=>{i(q=>({...q,workExperience:[...q.workExperience,_]}))},onUpdated:_=>{i(q=>({...q,workExperience:q.workExperience.map(z=>z.id===_.id?_:z)}))}}),t.jsx($O,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(uP,{children:[t.jsxs(pP,{children:[t.jsx(mP,{children:"Delete Experience"}),t.jsx(fP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(yP,{children:[t.jsx(kP,{children:"Cancel"}),t.jsx(xP,{onClick:A,className:"bg-destructive text-white",children:"Delete"})]})]})}),t.jsxs(Ne,{value:"job-search",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Job Search Details"}),t.jsx(Ge,{children:"Define your ideal job preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:Array.from(new Set([...q.jobSearchDetails.desiredRoles,_]))}})),children:"✕"})]},_))}),t.jsx($,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:q.jobSearchDetails.locations.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx($,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Employment Type"}),t.jsxs(LO,{children:[t.jsx(SO,{asChild:!0,children:t.jsx($,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx(B_,{className:"w-64 p-2 space-y-2",children:S.map(_=>{const q=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(z=>{const G=z.jobSearchDetails.employmentType.includes(_)?z.jobSearchDetails.employmentType.filter(E=>E!==_):[...z.jobSearchDetails.employmentType,_];return{...z,jobSearchDetails:{...z.jobSearchDetails,employmentType:G}}}),children:[t.jsx($j,{checked:q}),t.jsx(fe,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(uS,{open:f,onClose:()=>k(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:[...q.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(uS,{open:y,onClose:()=>x(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:[...q.jobSearchDetails.locations,_]}}))})]}),t.jsxs(Ne,{value:"skills",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Skill Set"}),t.jsx(Ge,{children:"Your professional skills and expertise"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,skills:q.skills.filter(z=>z!==_)})),children:"✕"})]},_))}),t.jsx($,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(WO,{open:g,onClose:()=>w(!1),onAdded:_=>i(q=>({...q,skills:Array.from(new Set([...q.skills,_]))}))})]}),t.jsxs(Ne,{value:"languages",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Languages"}),t.jsx(Ge,{children:"Your spoken and professional languages"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,q)=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(z=>({...z,languages:z.languages.filter((V,G)=>G!==q)})),children:"✕"})]},`${_.name}-${q}`))}),t.jsx($,{variant:"outline",onClick:()=>N(!0),children:"Add Language"})]})]}),t.jsx(YO,{open:b,onClose:()=>N(!1),onAdded:_=>i(q=>({...q,languages:[...q.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Alerts & Subscriptions"}),t.jsx(Ge,{children:"Manage your notification preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),t.jsx(Kt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:_=>R("alerts","jobAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),t.jsx(Kt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:_=>R("alerts","courseAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),t.jsx(Kt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:_=>R("alerts","newsAlerts",_)})]})]})]})}),t.jsxs(Ne,{value:"preferences",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Preferences"}),t.jsx(Ge,{children:"Customize your platform experience"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,preferences:{...q.preferences,topics:q.preferences.topics.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx($,{variant:"outline",size:"sm",onClick:()=>j(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"language",children:"Language"}),t.jsxs(Xc,{value:n.preferences.language,onValueChange:_=>T("preferences","language",_),children:[t.jsx(Xo,{id:"language",children:t.jsx(Jc,{placeholder:"Select your preferred language"})}),t.jsx(Jo,{children:L.map(_=>t.jsx(Yo,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:_=>R("preferences","emailNotifications",_)})]})]})]}),t.jsx(ZO,{open:M,onClose:()=>j(!1),onAdded:_=>i(q=>({...q,preferences:{...q.preferences,topics:Array.from(new Set([...q.preferences.topics,_]))}}))})]})]})]})}const QO=a=>a<1024?`${a} B`:a<1024*1024?`${(a/1024).toFixed(1)} KB`:`${(a/(1024*1024)).toFixed(1)} MB`;function eV({onCVChange:a,previewText:e,previewStatus:r="idle",previewErrorMessage:n}){const[i,o]=C.useState(!1),[c,l]=C.useState(null),[d,h]=C.useState(null),[u,p]=C.useState(null);C.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const m=C.useMemo(()=>c?{name:c.name,size:QO(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),f=async y=>{var w;const x=(w=y.target.files)==null?void 0:w[0];if(!x)return;if(x.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const g=URL.createObjectURL(x);l(x),h(g),a(x)},k=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),a(null)};return t.jsxs(mr,{open:i,onOpenChange:o,children:[t.jsx(Zz,{asChild:!0,children:t.jsxs($,{children:[t.jsx(Za,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),t.jsxs(Ta,{className:"sm:max-w-2xl",children:[t.jsxs(fr,{children:[t.jsx(Da,{children:"Upload your CV"}),t.jsx(R9,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(Ke,{type:"file",accept:"application/pdf",onChange:f}),t.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&&t.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&m&&t.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(vc,{className:"h-5 w-5 text-primary"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-medium",children:m.name}),t.jsxs("p",{className:"text-xs text-muted-foreground",children:[m.size," • Updated ",m.lastModified]})]})]}),t.jsx(at,{variant:"secondary",children:"Stored"})]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&t.jsx($,{variant:"outline",size:"sm",asChild:!0,children:t.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),t.jsxs($,{variant:"destructive",size:"sm",onClick:k,children:[t.jsx(qo,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),t.jsxs("div",{className:"rounded-md border border-muted p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&t.jsx(at,{variant:"outline",children:"Parsing..."})]}),t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:r==="error"?n||"Text preview is unavailable for this file.":e||"Upload a PDF to preview extracted text from the host app."})]})]}),t.jsx(Ra,{children:t.jsx($,{variant:"outline",onClick:()=>o(!1),children:"Close"})})]})]})}function tV({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:o,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=M=>({savedJobs:M.saved,recommendedJobs:M.recommended,applications:M.applications}),[m,f]=C.useState({saved:a||[],recommended:r||[],applications:e||[]});C.useEffect(()=>{f({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const k=M=>{f(j=>{if(j.saved.some(S=>S.id===M.id))return j;const N={...j,saved:[...j.saved,M]};return u==null||u({type:"jobs",payload:p(N)}),N})},y=M=>{f(j=>{const b={...j,saved:j.saved.filter(N=>N.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},x=M=>{f(j=>{const b={...j,recommended:j.recommended.filter(N=>N.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},g=M=>{const j=m.recommended.find(b=>b.id===M);j&&(f(b=>{const N={...b,applications:[...b.applications,{...j,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(N)}),N}),n(M))},w=({job:M,view:j})=>{var L;const b=m.saved.some(A=>A.id===M.id),N=M.city?`${M.city}, ${M.country}`:M.location,S=M.salaryMin&&M.salaryMax?`${M.salaryMin}–${M.salaryMax} ${M.salaryCurrency||""}`:void 0;return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:M.title}),t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vo,{className:"h-4 w-4"})," ",M.company]}),t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"})," ",N]})]})]}),j==="applications"&&M.status&&t.jsx(at,{variant:"secondary",children:M.status})]}),S&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:S})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[M.department&&t.jsx(at,{variant:"outline",children:M.department}),(L=M.skills)==null?void 0:L.slice(0,6).map(A=>t.jsx(at,{variant:"secondary",children:A},A))]}),j==="applications"&&M.appliedDate&&t.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[t.jsx(Qt,{className:"h-3 w-3"}),"Applied ",M.appliedDate]}),t.jsxs("div",{className:"flex gap-2",children:[j==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx($,{size:"sm",onClick:()=>g(M.id),children:"Apply Now"}),t.jsx($,{variant:b?"secondary":"outline",size:"sm",disabled:b,onClick:()=>k(M),children:b?"Saved":"Save Job"}),t.jsx($,{variant:"destructive",size:"sm",onClick:()=>x(M.id),children:"Remove"})]}),j==="saved"&&t.jsx($,{variant:"destructive",size:"sm",onClick:()=>y(M.id),children:"Remove"}),j==="applications"&&t.jsx($,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),t.jsxs("div",{className:"flex gap-2",children:[t.jsx($,{variant:"outline",onClick:h,children:"Set Job Alerts"}),t.jsx(eV,{onCVChange:o,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),t.jsxs(oo,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",m.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",m.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",m.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:m.recommended.map(M=>t.jsx(w,{job:M,view:"recommended"},M.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:m.saved.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),t.jsx($,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):m.saved.map(M=>t.jsx(w,{job:M,view:"saved"},M.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:m.applications.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),t.jsx($,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):m.applications.map(M=>t.jsx(w,{job:M,view:"applications"},M.id))})})]})]})}function aV(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c);l.displayName=o+"Context";const d=r.length;r=[...r,c];const h=p=>{var g;const{scope:m,children:f,...k}=p,y=((g=m==null?void 0:m[a])==null?void 0:g[d])||l,x=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:x,children:f})};h.displayName=o+"Provider";function u(p,m){var y;const f=((y=m==null?void 0:m[a])==null?void 0:y[d])||l,k=v.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,rV(i,...e)]}function rV(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var nV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gP=nV.reduce((a,e)=>{const r=XC(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),nL="Progress",iL=100,[iV]=aV(nL),[sV,oV]=iV(nL),vP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:o=cV,...c}=a;(i||i===0)&&!mS(i)&&console.error(lV(`${i}`,"Progress"));const l=mS(i)?i:iL;n!==null&&!fS(n,l)&&console.error(dV(`${n}`,"Progress"));const d=fS(n,l)?n:null,h=g9(d)?o(d,l):void 0;return t.jsx(sV,{scope:r,value:d,max:l,children:t.jsx(gP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":g9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":bP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});vP.displayName=nL;var wP="ProgressIndicator",MP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=oV(wP,r);return t.jsx(gP.div,{"data-state":bP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});MP.displayName=wP;function cV(a,e){return`${Math.round(a/e*100)}%`}function bP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function g9(a){return typeof a=="number"}function mS(a){return g9(a)&&!isNaN(a)&&a>0}function fS(a,e){return g9(a)&&!isNaN(a)&&a<=e&&a>=0}function lV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${iL}\`.`}function dV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7817
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return v.useEffect(()=>{var n;document.getElementById((n=a.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,a]),null},UO=X_,$O=J_,sP=Y_,oP=K_,cP=rP,lP=iP,dP=eP,hP=aP;const GO=UO,WO=$O,uP=v.forwardRef(({className:a,...e},r)=>t.jsx(sP,{className:ce("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",a),...e,ref:r}));uP.displayName=sP.displayName;const pP=v.forwardRef(({className:a,...e},r)=>t.jsxs(WO,{children:[t.jsx(uP,{}),t.jsx(oP,{ref:r,className:ce("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",a),...e})]}));pP.displayName=oP.displayName;const yP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col space-y-2 text-center sm:text-left",a),...e});yP.displayName="AlertDialogHeader";const mP=({className:a,...e})=>t.jsx("div",{className:ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});mP.displayName="AlertDialogFooter";const fP=v.forwardRef(({className:a,...e},r)=>t.jsx(dP,{ref:r,className:ce("text-lg font-semibold",a),...e}));fP.displayName=dP.displayName;const xP=v.forwardRef(({className:a,...e},r)=>t.jsx(hP,{ref:r,className:ce("text-sm text-muted-foreground",a),...e}));xP.displayName=hP.displayName;const kP=v.forwardRef(({className:a,...e},r)=>t.jsx(cP,{ref:r,className:ce(YC(),a),...e}));kP.displayName=cP.displayName;const gP=v.forwardRef(({className:a,...e},r)=>t.jsx(lP,{ref:r,className:ce(YC({variant:"outline"}),"mt-2 sm:mt-0",a),...e}));gP.displayName=lP.displayName;function uS({open:a,onClose:e,onAdded:r,title:n,placeholder:i}){const[o,c]=C.useState("");C.useEffect(()=>{a||c("")},[a]);const l=()=>{o.trim()&&(r(o.trim()),c(""),e())};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:n})}),t.jsx("div",{className:"space-y-4 py-2",children:t.jsxs("div",{children:[t.jsx(fe,{children:n}),t.jsx(Ke,{value:o,onChange:d=>c(d.target.value),placeholder:i||"Type and save"})]})}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!o.trim(),children:"Add"})]})]})})}const pS=["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 ZO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState(""),[o,c]=C.useState(pS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h);const u=pS.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Skill"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"skill",children:"Skill Name"}),t.jsx(Ke,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{i(h)},children:h},h))})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const yS=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function XO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState(""),[o,c]=C.useState(yS),l=()=>{n.trim()&&(r(n.trim()),i(""),e())},d=h=>{i(h),c(yS.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Interested Topic"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"topic",children:"Topic"}),t.jsx(Ke,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&o.length>0&&t.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:o.map(h=>t.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>i(h),children:h},h))})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const JO=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],YO=["Native","Fluent","Intermediate","Basic"];function KO({open:a,onClose:e,onAdded:r}){const[n,i]=C.useState({name:"",proficiency:""}),o=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),i({name:"",proficiency:""}),e()};return t.jsx(mr,{open:a,onOpenChange:e,children:t.jsxs(Ta,{children:[t.jsx(fr,{children:t.jsx(Da,{children:"Add Language"})}),t.jsxs("div",{className:"space-y-4 py-2",children:[t.jsxs("div",{children:[t.jsx(fe,{children:"Language"}),t.jsxs(Xc,{value:n.name,onValueChange:c=>i(l=>({...l,name:c})),children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select a language"})}),t.jsx(Jo,{children:JO.map(c=>t.jsx(Yo,{value:c,children:c},c))})]})]}),t.jsxs("div",{children:[t.jsx(fe,{children:"Proficiency"}),t.jsxs(Xc,{value:n.proficiency,onValueChange:c=>i(l=>({...l,proficiency:c})),children:[t.jsx(Xo,{children:t.jsx(Jc,{placeholder:"Select proficiency"})}),t.jsx(Jo,{children:YO.map(c=>t.jsx(Yo,{value:c,children:c},c))})]})]})]}),t.jsxs(Ra,{children:[t.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),t.jsx(U,{onClick:o,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function QO({profile:a,onUpdate:e,isSaving:r=!1}){const[n,i]=C.useState(a),[o,c]=C.useState(!1),[l,d]=C.useState(null),[h,u]=C.useState(null),[p,f]=C.useState(null),[m,k]=C.useState(!1),[y,x]=C.useState(!1),[g,w]=C.useState(!1),[M,j]=C.useState(!1),[b,N]=C.useState(!1),S=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],L=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],A=()=>{l&&(i(_=>{const q={..._,workExperience:_.workExperience.filter(z=>z.id!==l)};return e({type:"profile",payload:q}),q}),d(null))},T=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},R=(_,q,z)=>{i(V=>({...V,[_]:{...V[_],[q]:z}}))},D=()=>{e({type:"profile",payload:n})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),t.jsx(U,{onClick:D,disabled:r,children:r?"Saving...":"Save Changes"})]}),t.jsxs(oo,{defaultValue:"personal",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[t.jsx(Ie,{value:"personal",children:"Personal"}),t.jsx(Ie,{value:"experience",children:"Experience"}),t.jsx(Ie,{value:"job-search",children:"Job Search"}),t.jsx(Ie,{value:"skills",children:"Skills"}),t.jsx(Ie,{value:"languages",children:"Languages"}),t.jsx(Ie,{value:"alerts",children:"Alerts"}),t.jsx(Ie,{value:"preferences",children:"Preferences"})]}),t.jsx(Ne,{value:"personal",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Personal Details"}),t.jsx(Ge,{children:"Update your personal information"})]}),t.jsx(Ce,{className:"space-y-4",children:t.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"fullName",children:"Full Name"}),t.jsx(Ke,{id:"fullName",value:n.personalDetails.fullName,onChange:_=>T("personalDetails","fullName",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"email",children:"Email"}),t.jsx(Ke,{id:"email",type:"email",value:n.personalDetails.email,onChange:_=>T("personalDetails","email",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"phone",children:"Phone"}),t.jsx(Ke,{id:"phone",value:n.personalDetails.phone,onChange:_=>T("personalDetails","phone",_.target.value)})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"location",children:"Location"}),t.jsx(Ke,{id:"location",value:n.personalDetails.location,onChange:_=>T("personalDetails","location",_.target.value)})]})]})})]})}),t.jsx(Ne,{value:"experience",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Work Experience"}),t.jsx(Ge,{children:"Your iGaming industry experience"})]}),t.jsxs(Ce,{className:"space-y-4",children:[n.workExperience.map(_=>t.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-semibold",children:_.title}),t.jsx("p",{className:"text-sm text-muted-foreground",children:_.company}),t.jsx("p",{className:"text-xs text-muted-foreground",children:_.period})]}),t.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[t.jsx(U,{variant:"outline",size:"sm",onClick:()=>{const q=n.workExperience.find(z=>z.id===_.id);f(q||null),c(!0)},children:"Edit"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>d(_.id),children:"Delete"})]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:_.tags.map(q=>t.jsx(at,{variant:"secondary",children:q},q))})]},_.id)),t.jsx(U,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),t.jsx(_O,{open:o,onClose:()=>{c(!1),f(null)},existingExperience:p,onAdded:_=>{i(q=>({...q,workExperience:[...q.workExperience,_]}))},onUpdated:_=>{i(q=>({...q,workExperience:q.workExperience.map(z=>z.id===_.id?_:z)}))}}),t.jsx(GO,{open:!!l,onOpenChange:()=>d(null),children:t.jsxs(pP,{children:[t.jsxs(yP,{children:[t.jsx(fP,{children:"Delete Experience"}),t.jsx(xP,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),t.jsxs(mP,{children:[t.jsx(gP,{children:"Cancel"}),t.jsx(kP,{onClick:A,className:"bg-destructive text-white",children:"Delete"})]})]})}),t.jsxs(Ne,{value:"job-search",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Job Search Details"}),t.jsx(Ge,{children:"Define your ideal job preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Desired Roles"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:Array.from(new Set([...q.jobSearchDetails.desiredRoles,_]))}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Role"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Preferred Locations"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(_=>t.jsxs(at,{variant:"secondary",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:q.jobSearchDetails.locations.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>x(!0),children:"Add Location"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Employment Type"}),t.jsxs(SO,{children:[t.jsx(IO,{asChild:!0,children:t.jsx(U,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),t.jsx(U_,{className:"w-64 p-2 space-y-2",children:S.map(_=>{const q=n.jobSearchDetails.employmentType.includes(_);return t.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>i(z=>{const G=z.jobSearchDetails.employmentType.includes(_)?z.jobSearchDetails.employmentType.filter(E=>E!==_):[...z.jobSearchDetails.employmentType,_];return{...z,jobSearchDetails:{...z.jobSearchDetails,employmentType:G}}}),children:[t.jsx($j,{checked:q}),t.jsx(fe,{className:"text-sm",children:_})]},_)})})]})]})]})]}),t.jsx(uS,{open:m,onClose:()=>k(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,desiredRoles:[...q.jobSearchDetails.desiredRoles,_]}}))}),t.jsx(uS,{open:y,onClose:()=>x(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:_=>i(q=>({...q,jobSearchDetails:{...q.jobSearchDetails,locations:[...q.jobSearchDetails.locations,_]}}))})]}),t.jsxs(Ne,{value:"skills",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Skill Set"}),t.jsx(Ge,{children:"Your professional skills and expertise"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,skills:q.skills.filter(z=>z!==_)})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",onClick:()=>w(!0),children:"Add Skill"})]})]}),t.jsx(ZO,{open:g,onClose:()=>w(!1),onAdded:_=>i(q=>({...q,skills:Array.from(new Set([...q.skills,_]))}))})]}),t.jsxs(Ne,{value:"languages",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Languages"}),t.jsx(Ge,{children:"Your spoken and professional languages"})]}),t.jsxs(Ce,{className:"space-y-4",children:[t.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((_,q)=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_.name," — ",_.proficiency,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(z=>({...z,languages:z.languages.filter((V,G)=>G!==q)})),children:"✕"})]},`${_.name}-${q}`))}),t.jsx(U,{variant:"outline",onClick:()=>N(!0),children:"Add Language"})]})]}),t.jsx(KO,{open:b,onClose:()=>N(!1),onAdded:_=>i(q=>({...q,languages:[...q.languages,_]}))})]}),t.jsx(Ne,{value:"alerts",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Alerts & Subscriptions"}),t.jsx(Ge,{children:"Manage your notification preferences"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),t.jsx(Kt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:_=>R("alerts","jobAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),t.jsx(Kt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:_=>R("alerts","courseAlerts",_)})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),t.jsx(Kt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:_=>R("alerts","newsAlerts",_)})]})]})]})}),t.jsxs(Ne,{value:"preferences",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Preferences"}),t.jsx(Ge,{children:"Customize your platform experience"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{children:"Interested Topics"}),t.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(_=>t.jsxs(at,{variant:"secondary",className:"flex items-center gap-1",children:[_,t.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>i(q=>({...q,preferences:{...q.preferences,topics:q.preferences.topics.filter(z=>z!==_)}})),children:"✕"})]},_))}),t.jsx(U,{variant:"outline",size:"sm",onClick:()=>j(!0),children:"Manage Topics"})]}),t.jsxs("div",{className:"space-y-2",children:[t.jsx(fe,{htmlFor:"language",children:"Language"}),t.jsxs(Xc,{value:n.preferences.language,onValueChange:_=>T("preferences","language",_),children:[t.jsx(Xo,{id:"language",children:t.jsx(Jc,{placeholder:"Select your preferred language"})}),t.jsx(Jo,{children:L.map(_=>t.jsx(Yo,{value:_,children:_},_))})]})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:_=>R("preferences","emailNotifications",_)})]})]})]}),t.jsx(XO,{open:M,onClose:()=>j(!1),onAdded:_=>i(q=>({...q,preferences:{...q.preferences,topics:Array.from(new Set([...q.preferences.topics,_]))}}))})]})]})]})}const eV=a=>a<1024?`${a} B`:a<1024*1024?`${(a/1024).toFixed(1)} KB`:`${(a/(1024*1024)).toFixed(1)} MB`,mS=800;function tV({onCVChange:a,previewText:e,previewStatus:r="idle",previewErrorMessage:n}){const[i,o]=C.useState(!1),[c,l]=C.useState(null),[d,h]=C.useState(null),[u,p]=C.useState(null),[f,m]=C.useState(!1);C.useEffect(()=>()=>{d&&URL.revokeObjectURL(d)},[d]);const k=C.useMemo(()=>c?{name:c.name,size:eV(c.size),lastModified:new Date(c.lastModified).toLocaleDateString()}:null,[c]),y=async j=>{var S;const b=(S=j.target.files)==null?void 0:S[0];if(!b)return;if(b.type!=="application/pdf"){p("Only PDF files are supported.");return}d&&URL.revokeObjectURL(d);const N=URL.createObjectURL(b);l(b),h(N),m(!1),a(b)},x=()=>{d&&URL.revokeObjectURL(d),l(null),h(null),p(null),m(!1),a(null)},g=(e==null?void 0:e.replace(/\s{2,}/g," ").replace(/\n{3,}/g,`
7818
+
7819
+ `).trim())??"",w=g.length>mS,M=f?g:w?`${g.slice(0,mS)}…`:g;return t.jsxs(mr,{open:i,onOpenChange:o,children:[t.jsx(Xz,{asChild:!0,children:t.jsxs(U,{children:[t.jsx(Za,{className:"h-4 w-4 mr-2"}),"Upload CV"]})}),t.jsxs(Ta,{className:"sm:max-w-2xl",children:[t.jsxs(fr,{children:[t.jsx(Da,{children:"Upload your CV"}),t.jsx(R9,{children:"Add a PDF so we can extract key details and keep it ready for job applications."})]}),t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"space-y-2",children:[t.jsx(Ke,{type:"file",accept:"application/pdf",onChange:y}),t.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&&t.jsx("div",{className:"rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:u}),c&&k&&t.jsxs("div",{className:"rounded-md border border-muted p-4 space-y-3",children:[t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(vc,{className:"h-5 w-5 text-primary"}),t.jsxs("div",{children:[t.jsx("p",{className:"font-medium",children:k.name}),t.jsxs("p",{className:"text-xs text-muted-foreground",children:[k.size," • Updated ",k.lastModified]})]})]}),t.jsx(at,{variant:"secondary",children:"Stored"})]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[d&&t.jsx(U,{variant:"outline",size:"sm",asChild:!0,children:t.jsx("a",{href:d,target:"_blank",rel:"noreferrer",children:"View PDF"})}),t.jsxs(U,{variant:"destructive",size:"sm",onClick:x,children:[t.jsx(qo,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]}),t.jsxs("div",{className:"rounded-md border border-muted p-4",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("p",{className:"font-medium",children:"Extracted preview"}),r==="parsing"&&t.jsx(at,{variant:"outline",children:"Parsing..."})]}),r==="error"?t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:n||"Text preview is unavailable for this file."}):M?t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"mt-2 max-h-48 overflow-y-auto rounded-md border bg-muted/30 p-2",children:t.jsx("p",{className:"whitespace-pre-wrap text-sm text-muted-foreground",children:M})}),w&&t.jsx(U,{variant:"link",size:"sm",className:"px-0",onClick:()=>m(j=>!j),children:f?"Show less":"Show full text"})]}):t.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"Upload a PDF to preview extracted text from the host app."})]})]}),t.jsx(Ra,{children:t.jsx(U,{variant:"outline",onClick:()=>o(!1),children:"Close"})})]})]})}function aV({savedJobs:a,applications:e,recommendedJobs:r,onApply:n,onRemove:i,onUploadCV:o,cvPreviewText:c,cvPreviewStatus:l,cvPreviewErrorMessage:d,onSetAlert:h,onUpdateProfile:u}){const p=M=>({savedJobs:M.saved,recommendedJobs:M.recommended,applications:M.applications}),[f,m]=C.useState({saved:a||[],recommended:r||[],applications:e||[]});C.useEffect(()=>{m({saved:a||[],recommended:r||[],applications:e||[]})},[a,r,e]);const k=M=>{m(j=>{if(j.saved.some(S=>S.id===M.id))return j;const N={...j,saved:[...j.saved,M]};return u==null||u({type:"jobs",payload:p(N)}),N})},y=M=>{m(j=>{const b={...j,saved:j.saved.filter(N=>N.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},x=M=>{m(j=>{const b={...j,recommended:j.recommended.filter(N=>N.id!==M)};return u==null||u({type:"jobs",payload:p(b)}),b})},g=M=>{const j=f.recommended.find(b=>b.id===M);j&&(m(b=>{const N={...b,applications:[...b.applications,{...j,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return u==null||u({type:"jobs",payload:p(N)}),N}),n(M))},w=({job:M,view:j})=>{var L;const b=f.saved.some(A=>A.id===M.id),N=M.city?`${M.city}, ${M.country}`:M.location,S=M.salaryMin&&M.salaryMax?`${M.salaryMin}–${M.salaryMax} ${M.salaryCurrency||""}`:void 0;return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:M.title}),t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(vo,{className:"h-4 w-4"})," ",M.company]}),t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(Zt,{className:"h-4 w-4"})," ",N]})]})]}),j==="applications"&&M.status&&t.jsx(at,{variant:"secondary",children:M.status})]}),S&&t.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:S})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex flex-wrap gap-2",children:[M.department&&t.jsx(at,{variant:"outline",children:M.department}),(L=M.skills)==null?void 0:L.slice(0,6).map(A=>t.jsx(at,{variant:"secondary",children:A},A))]}),j==="applications"&&M.appliedDate&&t.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[t.jsx(Qt,{className:"h-3 w-3"}),"Applied ",M.appliedDate]}),t.jsxs("div",{className:"flex gap-2",children:[j==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{size:"sm",onClick:()=>g(M.id),children:"Apply Now"}),t.jsx(U,{variant:b?"secondary":"outline",size:"sm",disabled:b,onClick:()=>k(M),children:b?"Saved":"Save Job"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>x(M.id),children:"Remove"})]}),j==="saved"&&t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>y(M.id),children:"Remove"}),j==="applications"&&t.jsx(U,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),t.jsxs("div",{className:"flex gap-2",children:[t.jsx(U,{variant:"outline",onClick:h,children:"Set Job Alerts"}),t.jsx(tV,{onCVChange:o,previewText:c,previewStatus:l,previewErrorMessage:d})]})]}),t.jsxs(oo,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[t.jsxs(Ie,{value:"recommended",children:["Recommended (",f.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",f.saved.length,")"]}),t.jsxs(Ie,{value:"applications",children:[t.jsx(vt,{className:"h-4 w-4 mr-2"}),"Applications (",f.applications.length,")"]})]}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.recommended.map(M=>t.jsx(w,{job:M,view:"recommended"},M.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.saved.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),t.jsx(U,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):f.saved.map(M=>t.jsx(w,{job:M,view:"saved"},M.id))})}),t.jsx(Ne,{value:"applications",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4",children:f.applications.length===0?t.jsx(be,{children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(vt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),t.jsx(U,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):f.applications.map(M=>t.jsx(w,{job:M,view:"applications"},M.id))})})]})]})}function rV(a,e=[]){let r=[];function n(o,c){const l=v.createContext(c);l.displayName=o+"Context";const d=r.length;r=[...r,c];const h=p=>{var g;const{scope:f,children:m,...k}=p,y=((g=f==null?void 0:f[a])==null?void 0:g[d])||l,x=v.useMemo(()=>k,Object.values(k));return t.jsx(y.Provider,{value:x,children:m})};h.displayName=o+"Provider";function u(p,f){var y;const m=((y=f==null?void 0:f[a])==null?void 0:y[d])||l,k=v.useContext(m);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${o}\``)}return[h,u]}const i=()=>{const o=r.map(c=>v.createContext(c));return function(l){const d=(l==null?void 0:l[a])||o;return v.useMemo(()=>({[`__scope${a}`]:{...l,[a]:d}}),[l,d])}};return i.scopeName=a,[n,nV(i,...e)]}function nV(...a){const e=a[0];if(a.length===1)return e;const r=()=>{const n=a.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(o)[`__scope${h}`];return{...l,...p}},{});return v.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var iV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vP=iV.reduce((a,e)=>{const r=XC(`Primitive.${e}`),n=v.forwardRef((i,o)=>{const{asChild:c,...l}=i,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),t.jsx(d,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...a,[e]:n}},{}),nL="Progress",iL=100,[sV]=rV(nL),[oV,cV]=sV(nL),wP=v.forwardRef((a,e)=>{const{__scopeProgress:r,value:n=null,max:i,getValueLabel:o=lV,...c}=a;(i||i===0)&&!fS(i)&&console.error(dV(`${i}`,"Progress"));const l=fS(i)?i:iL;n!==null&&!xS(n,l)&&console.error(hV(`${n}`,"Progress"));const d=xS(n,l)?n:null,h=g9(d)?o(d,l):void 0;return t.jsx(oV,{scope:r,value:d,max:l,children:t.jsx(vP.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":g9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":CP(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});wP.displayName=nL;var MP="ProgressIndicator",bP=v.forwardRef((a,e)=>{const{__scopeProgress:r,...n}=a,i=cV(MP,r);return t.jsx(vP.div,{"data-state":CP(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...n,ref:e})});bP.displayName=MP;function lV(a,e){return`${Math.round(a/e*100)}%`}function CP(a,e){return a==null?"indeterminate":a===e?"complete":"loading"}function g9(a){return typeof a=="number"}function fS(a){return g9(a)&&!isNaN(a)&&a>0}function xS(a,e){return g9(a)&&!isNaN(a)&&a<=e&&a>=0}function dV(a,e){return`Invalid prop \`max\` of value \`${a}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${iL}\`.`}function hV(a,e){return`Invalid prop \`value\` of value \`${a}\` supplied to \`${e}\`. The \`value\` prop must be:
7818
7820
  - a positive number
7819
7821
  - less than the value passed to \`max\` (or ${iL} if no \`max\` prop is set)
7820
7822
  - \`null\` or \`undefined\` if the progress is indeterminate.
7821
7823
 
7822
- Defaulting to \`null\`.`}var CP=vP,hV=MP;const jP=v.forwardRef(({className:a,value:e,...r},n)=>t.jsx(CP,{ref:n,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...r,children:t.jsx(hV,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));jP.displayName=CP.displayName;function uV({enrolledCourses:a,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:i,onContinue:o,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=C.useState({enrolled:a||[],recommended:r||[],saved:e||[]});C.useEffect(()=>{p({enrolled:a||[],recommended:r||[],saved:e||[]})},[a,r,e]);const m=g=>i(g),f=g=>{p(w=>{if(w.saved.some(b=>b.id===g.id))return w;const j={...w,saved:[...w.saved,{...g,saved:!0}],recommended:w.recommended.map(b=>b.id===g.id?{...b,saved:!0}:b)};return l==null||l(g.id),j})},k=g=>{p(w=>{const M={...w,saved:w.saved.filter(j=>j.id!==g),recommended:w.recommended.map(j=>j.id===g?{...j,saved:!1}:j)};return d==null||d(g),M})},y=g=>{p(w=>{const M={...w,recommended:w.recommended.filter(j=>j.id!==g)};return h==null||h(g),M})},x=({course:g,view:w})=>{const M=u.saved.some(j=>j.id===g.id);return t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:g.title}),t.jsx(Ge,{children:g.provider})]}),t.jsx(at,{variant:"outline",children:g.level})]})}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsx("span",{children:g.duration}),g.certificate&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(La,{className:"h-4 w-4"}),"Certificate"]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:g.tags.map(j=>t.jsx(at,{variant:"secondary",children:j},j))}),w==="enrolled"&&g.progress!==void 0&&t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex justify-between text-sm",children:[t.jsx("span",{className:"text-muted-foreground",children:"Progress"}),t.jsxs("span",{className:"font-medium",children:[g.progress,"%"]})]}),t.jsx(jP,{value:g.progress})]}),w==="recommended"&&g.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",g.reason]}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&t.jsx($,{className:"sm:w-auto w-full",onClick:()=>o(g.id),children:"Continue Learning"}),w==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"sm:w-auto w-full",onClick:()=>m(g.id),children:"Enroll Now"}),t.jsx($,{variant:M?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:M,onClick:()=>f(g),children:M?"Saved":"Save Course"}),t.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>y(g.id),children:"Remove"}),!h&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"sm:w-auto w-full",size:"sm",onClick:()=>m(g.id),children:"Start Course"}),t.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(g.id),children:"Remove Saved"}),!d&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),t.jsx($,{onClick:c,children:"Explore All Courses"})]}),t.jsxs(oo,{defaultValue:"enrolled",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[t.jsxs(Ie,{value:"enrolled",children:[t.jsx(Wt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),t.jsxs(Ie,{value:"recommended",children:[t.jsx(Ys,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),t.jsxs(Ie,{value:"certificates",children:[t.jsx(La,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),t.jsx(Ne,{value:"enrolled",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(Wt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),t.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(g=>t.jsx(x,{course:g,view:"enrolled"},g.id))})}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(g=>t.jsx(x,{course:g,view:"recommended"},g.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),t.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(g=>t.jsx(x,{course:g,view:"saved"},g.id))})}),t.jsx(Ne,{value:"certificates",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(La,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),t.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(g=>t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:t.jsx(La,{className:"h-6 w-6 text-accent"})}),t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-base",children:g.title}),t.jsx(Ge,{children:g.issuer}),t.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",g.date]})]})]})}),t.jsx(Ce,{children:t.jsx($,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},g.id))})})]})]})}function pV({recommendedNews:a,savedArticles:e,categories:r,selectedCategory:n,onRead:i,onSave:o,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=C.useState({recommended:a||[],saved:e||[]});C.useEffect(()=>{p({recommended:a||[],saved:e||[]})},[a,e]);const m=x=>{p(g=>{if(g.saved.some(j=>j.id===x.id))return g;const M={recommended:g.recommended.map(j=>j.id===x.id?{...j,saved:!0}:j),saved:[...g.saved,{...x,saved:!0}]};return o(x.id),M})},f=x=>{p(g=>{const w={recommended:g.recommended.map(M=>M.id===x?{...M,saved:!1}:M),saved:g.saved.filter(M=>M.id!==x)};return c==null||c(x),w})},k=x=>{p(g=>{const w={...g,recommended:g.recommended.filter(M=>M.id!==x)};return l==null||l(x),w})},y=({article:x,view:g})=>{const w=u.saved.some(M=>M.id===x.id);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start mb-2",children:[t.jsx(at,{variant:"secondary",children:x.category}),t.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),t.jsx(De,{className:"text-lg",children:x.title}),t.jsxs(Ge,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),t.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(M=>t.jsx(at,{variant:"outline",className:"text-xs",children:M},M))}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[t.jsx($,{size:"sm",onClick:()=>i(x.id),children:"Read Article"}),g==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>m(x),children:w?"Saved":"Save"}),t.jsx($,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),g==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove Saved"}),!c&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"News"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),t.jsxs($,{variant:"outline",onClick:h,children:[t.jsx(Mo,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),t.jsxs(oo,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"recommended",children:[t.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),t.jsxs(Ne,{value:"recommended",className:"space-y-4",children:[t.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[t.jsx($,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>t.jsx($,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>t.jsx(y,{article:x,view:"recommended"},x.id))})]}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),t.jsx($,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>t.jsx(y,{article:x,view:"saved"},x.id))})})]})]})}function yV({settings:a,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:i}=a,o=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),t.jsxs(oo,{defaultValue:"notifications",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"notifications",children:[t.jsx(go,{className:"h-4 w-4 mr-2"}),"Notifications"]}),t.jsxs(Ie,{value:"account",children:[t.jsx(Ac,{className:"h-4 w-4 mr-2"}),"Account"]}),t.jsxs(Ie,{value:"subscription",children:[t.jsx(xc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),t.jsxs(Ie,{value:"connected",children:[t.jsx(bc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),t.jsx(Ne,{value:"notifications",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Notification Preferences"}),t.jsx(Ge,{children:"Choose how you want to be notified"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>o({emailNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),t.jsx(Kt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>o({pushNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),t.jsx(Kt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>o({weeklyDigest:d})})]}),t.jsxs("div",{className:"border-t pt-4 space-y-4",children:[t.jsx("h4",{className:"font-medium",children:"Content Alerts"}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"job-alerts-set",children:"Job Alerts"}),t.jsx(Kt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>o({jobAlerts:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"course-updates",children:"Course Updates"}),t.jsx(Kt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>o({courseUpdates:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"news-digest",children:"News Digest"}),t.jsx(Kt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>o({newsDigest:d})})]})]})]})]})}),t.jsx(Ne,{value:"account",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Password"}),t.jsx(Ge,{children:"Change your account password"})]}),t.jsx(Ce,{children:t.jsx($,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Delete Account"}),t.jsx(Ge,{children:"Permanently delete your account and all data"})]}),t.jsx(Ce,{children:t.jsx($,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),t.jsx(Ne,{value:"subscription",children:t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(De,{children:"Subscription Plan"}),t.jsx(Ge,{children:"Manage your membership"})]}),i.isPremium&&t.jsx(at,{children:"Premium"})]})}),t.jsx(Ce,{className:"space-y-4",children:i.isPremium?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[t.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),t.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[t.jsx("li",{children:"✓ Unlimited job applications"}),t.jsx("li",{children:"✓ Access to all courses"}),t.jsx("li",{children:"✓ Priority support"}),t.jsx("li",{children:"✓ Advanced analytics"}),t.jsx("li",{children:"✓ Ad-free experience"})]})]}),t.jsx($,{variant:"outline",children:"Manage Subscription"})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),t.jsx($,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),t.jsx(Ne,{value:"connected",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Connected Accounts"}),t.jsx(Ge,{children:"Manage linked accounts and integrations"})]}),t.jsx(Ce,{className:"space-y-4",children:n.map(d=>t.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&t.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?t.jsx($,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):t.jsx($,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function mV({user:a,profileData:e,jobsDashboard:r,alerts:n,snapshot:i,feedItems:o,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:m,onUpdateProfile:f}){const[k,y]=C.useState("overview"),x=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},g=()=>console.log("/logout"),w=L=>console.log(L),M=async L=>{await f({type:"courses",payload:L})},j=(...L)=>console.log("Action:",...L),b=async L=>{await f({type:"news",payload:L})},N=m||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:a.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},S=async L=>{await f({type:"settings",payload:L})};return t.jsx(QH,{user:a,onLogout:g,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:t.jsxs(oo,{value:k,onValueChange:y,className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[t.jsxs(Ie,{value:"overview",className:"flex items-center gap-2",children:[t.jsx(Ma,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),t.jsxs(Ie,{value:"profile",className:"flex items-center gap-2",children:[t.jsx(Tc,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),t.jsxs(Ie,{value:"jobs",className:"flex items-center gap-2",children:[t.jsx(vt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),t.jsxs(Ie,{value:"courses",className:"flex items-center gap-2",children:[t.jsx(Wt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),t.jsxs(Ie,{value:"news",className:"flex items-center gap-2",children:[t.jsx(Sa,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"News"})]}),t.jsxs(Ie,{value:"settings",className:"flex items-center gap-2",children:[t.jsx(Ao,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),t.jsx(Ne,{value:"overview",className:"mt-6",children:t.jsx(tO,{userName:a.name,feedItems:o,alerts:n,snapshot:i,onSave:j,onApply:j,onEnroll:L=>M({action:"enroll",courseId:L}),onRead:L=>b({action:"read",articleId:L})})}),t.jsx(Ne,{value:"profile",className:"mt-6",children:t.jsx(KO,{profile:e,onUpdate:L=>f(L)})}),t.jsx(Ne,{value:"jobs",className:"mt-6",children:t.jsx(tV,{savedJobs:x.savedJobs,applications:x.applications,recommendedJobs:x.recommendedJobs,onApply:L=>console.log("Applied:",L),onRemove:L=>console.log("Removed:",L),onUploadCV:c??(L=>console.log("Upload CV changed:",(L==null?void 0:L.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async L=>{await f({type:"jobs",payload:L.payload})}})}),t.jsx(Ne,{value:"courses",className:"mt-6",children:t.jsx(uV,{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:L=>M({action:"enroll",courseId:L}),onContinue:L=>M({action:"continue",courseId:L}),onExplore:()=>M({action:"explore"}),onSave:L=>M({action:"save",courseId:L}),onRemoveSaved:L=>M({action:"remove-saved",courseId:L}),onRemoveRecommended:L=>M({action:"remove-recommended",courseId:L})})}),t.jsx(Ne,{value:"news",className:"mt-6",children:t.jsx(pV,{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:L=>b({action:"read",articleId:L}),onSave:L=>b({action:"save",articleId:L}),onRemoveSaved:L=>b({action:"remove-saved",articleId:L}),onRemoveRecommended:L=>b({action:"remove-recommended",articleId:L}),onCategoryChange:L=>b({action:"category",category:L}),onManagePreferences:()=>b({action:"manage-preferences"})})}),t.jsx(Ne,{value:"settings",className:"mt-6",children:t.jsx(yV,{settings:N,onUpdate:S})})]})})}exports.Advantages=WI;exports.Analytics=DF;exports.Banner=Gc;exports.Button=$;exports.Cart=sN;exports.Chatbot=iN;exports.ConsentBanner=vN;exports.ConsentProvider=gN;exports.CourseTypes=cN;exports.Courses=JI;exports.CoursesPage=LF;exports.Dashboard=mV;exports.Destinations=YI;exports.FAQ=rN;exports.FeatureJobs=GR;exports.Features=aN;exports.Footer=hD;exports.FooterLib=fN;exports.ForEmployers=lN;exports.ForgotPassword=ZF;exports.Gallery=nN;exports.GroupPrices=cT;exports.Header=xF;exports.HeaderAlternative=mN;exports.Hero=KI;exports.HeroAlternative=dN;exports.HomePage=$R;exports.IgamingCareerHome=rD;exports.Input=Ke;exports.JobDetailPage=fF;exports.JobListings=dD;exports.JobSearchWidget=yN;exports.Listing=uF;exports.Login=UF;exports.MobileNav=bN;exports.Navbar=uD;exports.NewsPage=gF;exports.Newsletter=pN;exports.NotificationModal=wN;exports.Partners=xN;exports.Register=GF;exports.SearchableSelect=L9;exports.Services=QI;exports.ServicesNoIcons=oN;exports.SidebarNewsletter=wj;exports.SignInPromptModal=YH;exports.SlidingSummary=lT;exports.TagBadge=KC;exports.TagPicker=wq;exports.Testimonials=eN;exports.TrustSignals=uN;exports.ValueProposition=hN;exports.Videos=tN;exports.useConsent=vj;
7824
+ Defaulting to \`null\`.`}var jP=wP,uV=bP;const LP=v.forwardRef(({className:a,value:e,...r},n)=>t.jsx(jP,{ref:n,className:ce("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...r,children:t.jsx(uV,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));LP.displayName=jP.displayName;function pV({enrolledCourses:a,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:i,onContinue:o,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=C.useState({enrolled:a||[],recommended:r||[],saved:e||[]});C.useEffect(()=>{p({enrolled:a||[],recommended:r||[],saved:e||[]})},[a,r,e]);const f=g=>i(g),m=g=>{p(w=>{if(w.saved.some(b=>b.id===g.id))return w;const j={...w,saved:[...w.saved,{...g,saved:!0}],recommended:w.recommended.map(b=>b.id===g.id?{...b,saved:!0}:b)};return l==null||l(g.id),j})},k=g=>{p(w=>{const M={...w,saved:w.saved.filter(j=>j.id!==g),recommended:w.recommended.map(j=>j.id===g?{...j,saved:!1}:j)};return d==null||d(g),M})},y=g=>{p(w=>{const M={...w,recommended:w.recommended.filter(j=>j.id!==g)};return h==null||h(g),M})},x=({course:g,view:w})=>{const M=u.saved.some(j=>j.id===g.id);return t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-lg",children:g.title}),t.jsx(Ge,{children:g.provider})]}),t.jsx(at,{variant:"outline",children:g.level})]})}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.jsx("span",{children:g.duration}),g.certificate&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx(La,{className:"h-4 w-4"}),"Certificate"]})]}),t.jsx("div",{className:"flex flex-wrap gap-2",children:g.tags.map(j=>t.jsx(at,{variant:"secondary",children:j},j))}),w==="enrolled"&&g.progress!==void 0&&t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex justify-between text-sm",children:[t.jsx("span",{className:"text-muted-foreground",children:"Progress"}),t.jsxs("span",{className:"font-medium",children:[g.progress,"%"]})]}),t.jsx(LP,{value:g.progress})]}),w==="recommended"&&g.reason&&t.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",g.reason]}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>o(g.id),children:"Continue Learning"}),w==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",onClick:()=>f(g.id),children:"Enroll Now"}),t.jsx(U,{variant:M?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:M,onClick:()=>m(g),children:M?"Saved":"Save Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>y(g.id),children:"Remove"}),!h&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{className:"sm:w-auto w-full",size:"sm",onClick:()=>f(g.id),children:"Start Course"}),t.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(g.id),children:"Remove Saved"}),!d&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),t.jsx(U,{onClick:c,children:"Explore All Courses"})]}),t.jsxs(oo,{defaultValue:"enrolled",className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[t.jsxs(Ie,{value:"enrolled",children:[t.jsx(Wt,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),t.jsxs(Ie,{value:"recommended",children:[t.jsx(Ys,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),t.jsxs(Ie,{value:"certificates",children:[t.jsx(La,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),t.jsx(Ne,{value:"enrolled",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(Wt,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(g=>t.jsx(x,{course:g,view:"enrolled"},g.id))})}),t.jsx(Ne,{value:"recommended",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(g=>t.jsx(x,{course:g,view:"recommended"},g.id))})}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(g=>t.jsx(x,{course:g,view:"saved"},g.id))})}),t.jsx(Ne,{value:"certificates",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(La,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),t.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(g=>t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:t.jsx(La,{className:"h-6 w-6 text-accent"})}),t.jsxs("div",{className:"flex-1",children:[t.jsx(De,{className:"text-base",children:g.title}),t.jsx(Ge,{children:g.issuer}),t.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",g.date]})]})]})}),t.jsx(Ce,{children:t.jsx(U,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},g.id))})})]})]})}function yV({recommendedNews:a,savedArticles:e,categories:r,selectedCategory:n,onRead:i,onSave:o,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=C.useState({recommended:a||[],saved:e||[]});C.useEffect(()=>{p({recommended:a||[],saved:e||[]})},[a,e]);const f=x=>{p(g=>{if(g.saved.some(j=>j.id===x.id))return g;const M={recommended:g.recommended.map(j=>j.id===x.id?{...j,saved:!0}:j),saved:[...g.saved,{...x,saved:!0}]};return o(x.id),M})},m=x=>{p(g=>{const w={recommended:g.recommended.map(M=>M.id===x?{...M,saved:!1}:M),saved:g.saved.filter(M=>M.id!==x)};return c==null||c(x),w})},k=x=>{p(g=>{const w={...g,recommended:g.recommended.filter(M=>M.id!==x)};return l==null||l(x),w})},y=({article:x,view:g})=>{const w=u.saved.some(M=>M.id===x.id);return t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsxs("div",{className:"flex justify-between items-start mb-2",children:[t.jsx(at,{variant:"secondary",children:x.category}),t.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),t.jsx(De,{className:"text-lg",children:x.title}),t.jsxs(Ge,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),t.jsx(Ce,{children:t.jsxs("div",{className:"space-y-3",children:[t.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),t.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(M=>t.jsx(at,{variant:"outline",className:"text-xs",children:M},M))}),t.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[t.jsx(U,{size:"sm",onClick:()=>i(x.id),children:"Read Article"}),g==="recommended"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>f(x),children:w?"Saved":"Save"}),t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),g==="saved"&&t.jsxs(t.Fragment,{children:[t.jsx(U,{variant:"destructive",size:"sm",onClick:()=>m(x.id),children:"Remove Saved"}),!c&&t.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{className:"flex justify-between items-center",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"News"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),t.jsxs(U,{variant:"outline",onClick:h,children:[t.jsx(Mo,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),t.jsxs(oo,{defaultValue:"recommended",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"recommended",children:[t.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),t.jsxs(Ie,{value:"saved",children:[t.jsx(da,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),t.jsxs(Ne,{value:"recommended",className:"space-y-4",children:[t.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[t.jsx(U,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>t.jsx(U,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>t.jsx(y,{article:x,view:"recommended"},x.id))})]}),t.jsx(Ne,{value:"saved",className:"space-y-4",children:t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?t.jsx(be,{className:"md:col-span-2",children:t.jsxs(Ce,{className:"flex flex-col items-center justify-center py-10",children:[t.jsx(da,{className:"h-12 w-12 text-muted-foreground mb-4"}),t.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),t.jsx(U,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>t.jsx(y,{article:x,view:"saved"},x.id))})})]})]})}function mV({settings:a,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:i}=a,o=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return t.jsxs("div",{className:"space-y-6",children:[t.jsxs("div",{children:[t.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),t.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),t.jsxs(oo,{defaultValue:"notifications",className:"w-full",children:[t.jsxs(pr,{children:[t.jsxs(Ie,{value:"notifications",children:[t.jsx(go,{className:"h-4 w-4 mr-2"}),"Notifications"]}),t.jsxs(Ie,{value:"account",children:[t.jsx(Ac,{className:"h-4 w-4 mr-2"}),"Account"]}),t.jsxs(Ie,{value:"subscription",children:[t.jsx(xc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),t.jsxs(Ie,{value:"connected",children:[t.jsx(bc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),t.jsx(Ne,{value:"notifications",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Notification Preferences"}),t.jsx(Ge,{children:"Choose how you want to be notified"})]}),t.jsxs(Ce,{className:"space-y-6",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),t.jsx(Kt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>o({emailNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),t.jsx(Kt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>o({pushNotifications:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("div",{children:[t.jsx(fe,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),t.jsx(Kt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>o({weeklyDigest:d})})]}),t.jsxs("div",{className:"border-t pt-4 space-y-4",children:[t.jsx("h4",{className:"font-medium",children:"Content Alerts"}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"job-alerts-set",children:"Job Alerts"}),t.jsx(Kt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>o({jobAlerts:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"course-updates",children:"Course Updates"}),t.jsx(Kt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>o({courseUpdates:d})})]}),t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx(fe,{htmlFor:"news-digest",children:"News Digest"}),t.jsx(Kt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>o({newsDigest:d})})]})]})]})]})}),t.jsx(Ne,{value:"account",children:t.jsxs("div",{className:"space-y-4",children:[t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Password"}),t.jsx(Ge,{children:"Change your account password"})]}),t.jsx(Ce,{children:t.jsx(U,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Delete Account"}),t.jsx(Ge,{children:"Permanently delete your account and all data"})]}),t.jsx(Ce,{children:t.jsx(U,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),t.jsx(Ne,{value:"subscription",children:t.jsxs(be,{children:[t.jsx(Re,{children:t.jsxs("div",{className:"flex justify-between items-start",children:[t.jsxs("div",{children:[t.jsx(De,{children:"Subscription Plan"}),t.jsx(Ge,{children:"Manage your membership"})]}),i.isPremium&&t.jsx(at,{children:"Premium"})]})}),t.jsx(Ce,{className:"space-y-4",children:i.isPremium?t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[t.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),t.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[t.jsx("li",{children:"✓ Unlimited job applications"}),t.jsx("li",{children:"✓ Access to all courses"}),t.jsx("li",{children:"✓ Priority support"}),t.jsx("li",{children:"✓ Advanced analytics"}),t.jsx("li",{children:"✓ Ad-free experience"})]})]}),t.jsx(U,{variant:"outline",children:"Manage Subscription"})]}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),t.jsx(U,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),t.jsx(Ne,{value:"connected",children:t.jsxs(be,{children:[t.jsxs(Re,{children:[t.jsx(De,{children:"Connected Accounts"}),t.jsx(Ge,{children:"Manage linked accounts and integrations"})]}),t.jsx(Ce,{className:"space-y-4",children:n.map(d=>t.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[t.jsxs("div",{children:[t.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&t.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?t.jsx(U,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):t.jsx(U,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function fV({user:a,profileData:e,jobsDashboard:r,alerts:n,snapshot:i,feedItems:o,onUploadCV:c,cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,coursesData:u,newsData:p,settingsData:f,onUpdateProfile:m}){const[k,y]=C.useState("overview"),x=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},g=()=>console.log("/logout"),w=L=>console.log(L),M=async L=>{await m({type:"courses",payload:L})},j=(...L)=>console.log("Action:",...L),b=async L=>{await m({type:"news",payload:L})},N=f||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:a.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},S=async L=>{await m({type:"settings",payload:L})};return t.jsx(eO,{user:a,onLogout:g,onNavigate:w,currentPath:"/dashboard",notificationCount:n.length,children:t.jsxs(oo,{value:k,onValueChange:y,className:"w-full",children:[t.jsxs(pr,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[t.jsxs(Ie,{value:"overview",className:"flex items-center gap-2",children:[t.jsx(Ma,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),t.jsxs(Ie,{value:"profile",className:"flex items-center gap-2",children:[t.jsx(Tc,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),t.jsxs(Ie,{value:"jobs",className:"flex items-center gap-2",children:[t.jsx(vt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),t.jsxs(Ie,{value:"courses",className:"flex items-center gap-2",children:[t.jsx(Wt,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),t.jsxs(Ie,{value:"news",className:"flex items-center gap-2",children:[t.jsx(Sa,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"News"})]}),t.jsxs(Ie,{value:"settings",className:"flex items-center gap-2",children:[t.jsx(Ao,{className:"h-4 w-4"}),t.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),t.jsx(Ne,{value:"overview",className:"mt-6",children:t.jsx(aO,{userName:a.name,feedItems:o,alerts:n,snapshot:i,onSave:j,onApply:j,onEnroll:L=>M({action:"enroll",courseId:L}),onRead:L=>b({action:"read",articleId:L})})}),t.jsx(Ne,{value:"profile",className:"mt-6",children:t.jsx(QO,{profile:e,onUpdate:L=>m(L)})}),t.jsx(Ne,{value:"jobs",className:"mt-6",children:t.jsx(aV,{savedJobs:x.savedJobs,applications:x.applications,recommendedJobs:x.recommendedJobs,onApply:L=>console.log("Applied:",L),onRemove:L=>console.log("Removed:",L),onUploadCV:c??(L=>console.log("Upload CV changed:",(L==null?void 0:L.name)||"removed")),cvPreviewText:l,cvPreviewStatus:d,cvPreviewErrorMessage:h,onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async L=>{await m({type:"jobs",payload:L.payload})}})}),t.jsx(Ne,{value:"courses",className:"mt-6",children:t.jsx(pV,{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:L=>M({action:"enroll",courseId:L}),onContinue:L=>M({action:"continue",courseId:L}),onExplore:()=>M({action:"explore"}),onSave:L=>M({action:"save",courseId:L}),onRemoveSaved:L=>M({action:"remove-saved",courseId:L}),onRemoveRecommended:L=>M({action:"remove-recommended",courseId:L})})}),t.jsx(Ne,{value:"news",className:"mt-6",children:t.jsx(yV,{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:L=>b({action:"read",articleId:L}),onSave:L=>b({action:"save",articleId:L}),onRemoveSaved:L=>b({action:"remove-saved",articleId:L}),onRemoveRecommended:L=>b({action:"remove-recommended",articleId:L}),onCategoryChange:L=>b({action:"category",category:L}),onManagePreferences:()=>b({action:"manage-preferences"})})}),t.jsx(Ne,{value:"settings",className:"mt-6",children:t.jsx(mV,{settings:N,onUpdate:S})})]})})}exports.Advantages=ZI;exports.Analytics=zF;exports.Banner=Gc;exports.Button=U;exports.Cart=oN;exports.Chatbot=sN;exports.ConsentBanner=wN;exports.ConsentProvider=vN;exports.CourseTypes=lN;exports.Courses=YI;exports.CoursesPage=SF;exports.Dashboard=fV;exports.Destinations=KI;exports.FAQ=nN;exports.FeatureJobs=WR;exports.Features=rN;exports.Footer=uD;exports.FooterLib=xN;exports.ForEmployers=dN;exports.ForgotPassword=XF;exports.Gallery=iN;exports.GroupPrices=lT;exports.Header=kF;exports.HeaderAlternative=fN;exports.Hero=QI;exports.HeroAlternative=hN;exports.HomePage=GR;exports.IgamingCareerHome=nD;exports.Input=Ke;exports.JobDetailPage=xF;exports.JobListings=hD;exports.JobSearchWidget=mN;exports.Listing=pF;exports.Login=$F;exports.MobileNav=CN;exports.Navbar=pD;exports.NewsPage=vF;exports.Newsletter=yN;exports.NotificationModal=MN;exports.Partners=kN;exports.Register=WF;exports.SearchableSelect=L9;exports.Services=eN;exports.ServicesNoIcons=cN;exports.SidebarNewsletter=wj;exports.SignInPromptModal=KH;exports.SlidingSummary=dT;exports.TagBadge=KC;exports.TagPicker=Mq;exports.Testimonials=tN;exports.TrustSignals=pN;exports.ValueProposition=uN;exports.Videos=aN;exports.useConsent=vj;