kit-components-ui
Version:
Conjunto de componentes UI funcionales y personalizables
12 lines (11 loc) • 24.9 kB
JavaScript
"use strict";var r,e=require("react"),n={exports:{}},t={};var o,i,a={};
/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function s(){return o||(o=1,"production"!==process.env.NODE_ENV&&function(){var r=e,n=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y=Symbol.iterator;var m=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),t=1;t<e;t++)n[t-1]=arguments[t];!function(r,e,n){var t=m.ReactDebugCurrentFrame,o=t.getStackAddendum();""!==o&&(e+="%s",n=n.concat([o]));var i=n.map((function(r){return String(r)}));i.unshift("Warning: "+e),Function.prototype.apply.call(console[r],console,i)}("error",r,n)}var b;function k(r){return r.displayName||"Context"}function x(r){if(null==r)return null;if("number"==typeof r.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r;switch(r){case o:return"Fragment";case t:return"Portal";case s:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof r)switch(r.$$typeof){case l:return k(r)+".Consumer";case c:return k(r._context)+".Provider";case f:return function(r,e,n){var t=r.displayName;if(t)return t;var o=e.displayName||e.name||"";return""!==o?n+"("+o+")":n}(r,r.render,"ForwardRef");case p:var e=r.displayName||null;return null!==e?e:x(r.type)||"Memo";case h:var n=r,a=n._payload,g=n._init;try{return x(g(a))}catch(r){return null}}return null}b=Symbol.for("react.module.reference");var w,j,_,S,N,O,R,E=Object.assign,C=0;function T(){}T.__reactDisabledLog=!0;var P,$=m.ReactCurrentDispatcher;function D(r,e,n){if(void 0===P)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return"\n"+P+r}var F,I=!1,L="function"==typeof WeakMap?WeakMap:Map;function z(r,e){if(!r||I)return"";var n,t=F.get(r);if(void 0!==t)return t;I=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=$.current,$.current=null,function(){if(0===C){w=console.log,j=console.info,_=console.warn,S=console.error,N=console.group,O=console.groupCollapsed,R=console.groupEnd;var r={configurable:!0,enumerable:!0,value:T,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}C++}();try{if(e){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(r){n=r}Reflect.construct(r,[],a)}else{try{a.call()}catch(r){n=r}r.call(a.prototype)}}else{try{throw Error()}catch(r){n=r}r()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var s=e.stack.split("\n"),c=n.stack.split("\n"),l=s.length-1,f=c.length-1;l>=1&&f>=0&&s[l]!==c[f];)f--;for(;l>=1&&f>=0;l--,f--)if(s[l]!==c[f]){if(1!==l||1!==f)do{if(l--,--f<0||s[l]!==c[f]){var u="\n"+s[l].replace(" at new "," at ");return r.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",r.displayName)),"function"==typeof r&&F.set(r,u),u}}while(l>=1&&f>=0);break}}}finally{I=!1,$.current=o,function(){if(0==--C){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},r,{value:w}),info:E({},r,{value:j}),warn:E({},r,{value:_}),error:E({},r,{value:S}),group:E({},r,{value:N}),groupCollapsed:E({},r,{value:O}),groupEnd:E({},r,{value:R})})}C<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=r?r.displayName||r.name:"",p=d?D(d):"";return"function"==typeof r&&F.set(r,p),p}function W(r,e,n){if(null==r)return"";if("function"==typeof r)return z(r,!(!(t=r.prototype)||!t.isReactComponent));var t;if("string"==typeof r)return D(r);switch(r){case u:return D("Suspense");case d:return D("SuspenseList")}if("object"==typeof r)switch(r.$$typeof){case f:return z(r.render,!1);case p:return W(r.type,e,n);case h:var o=r,i=o._payload,a=o._init;try{return W(a(i),e,n)}catch(r){}}return""}F=new L;var B=Object.prototype.hasOwnProperty,A={},U=m.ReactDebugCurrentFrame;function M(r){if(r){var e=r._owner,n=W(r.type,r._source,e?e.type:null);U.setExtraStackFrame(n)}else U.setExtraStackFrame(null)}var X=Array.isArray;function Y(r){return X(r)}function V(r){return""+r}function q(r){if(function(r){try{return V(r),!1}catch(r){return!0}}(r))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(r){return"function"==typeof Symbol&&Symbol.toStringTag&&r[Symbol.toStringTag]||r.constructor.name||"Object"}(r)),V(r)}var J,K,H,G=m.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};H={};function Z(r,e,t,o,i){var a,s={},c=null,l=null;for(a in void 0!==t&&(q(t),c=""+t),function(r){if(B.call(r,"key")){var e=Object.getOwnPropertyDescriptor(r,"key").get;if(e&&e.isReactWarning)return!1}return void 0!==r.key}(e)&&(q(e.key),c=""+e.key),function(r){if(B.call(r,"ref")){var e=Object.getOwnPropertyDescriptor(r,"ref").get;if(e&&e.isReactWarning)return!1}return void 0!==r.ref}(e)&&(l=e.ref,function(r,e){if("string"==typeof r.ref&&G.current&&e&&G.current.stateNode!==e){var n=x(G.current.type);H[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',x(G.current.type),r.ref),H[n]=!0)}}(e,i)),e)B.call(e,a)&&!Q.hasOwnProperty(a)&&(s[a]=e[a]);if(r&&r.defaultProps){var f=r.defaultProps;for(a in f)void 0===s[a]&&(s[a]=f[a])}if(c||l){var u="function"==typeof r?r.displayName||r.name||"Unknown":r;c&&function(r,e){var n=function(){J||(J=!0,v("%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)",e))};n.isReactWarning=!0,Object.defineProperty(r,"key",{get:n,configurable:!0})}(s,u),l&&function(r,e){var n=function(){K||(K=!0,v("%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)",e))};n.isReactWarning=!0,Object.defineProperty(r,"ref",{get:n,configurable:!0})}(s,u)}return function(r,e,t,o,i,a,s){var c={$$typeof:n,type:r,key:e,ref:t,props:s,_owner:a,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}(r,c,l,i,o,G.current,s)}var rr,er=m.ReactCurrentOwner,nr=m.ReactDebugCurrentFrame;function tr(r){if(r){var e=r._owner,n=W(r.type,r._source,e?e.type:null);nr.setExtraStackFrame(n)}else nr.setExtraStackFrame(null)}function or(r){return"object"==typeof r&&null!==r&&r.$$typeof===n}function ir(){if(er.current){var r=x(er.current.type);if(r)return"\n\nCheck the render method of `"+r+"`."}return""}rr=!1;var ar={};function sr(r,e){if(r._store&&!r._store.validated&&null==r.key){r._store.validated=!0;var n=function(r){var e=ir();if(!e){var n="string"==typeof r?r:r.displayName||r.name;n&&(e="\n\nCheck the top-level render call using <"+n+">.")}return e}(e);if(!ar[n]){ar[n]=!0;var t="";r&&r._owner&&r._owner!==er.current&&(t=" It was passed a child from "+x(r._owner.type)+"."),tr(r),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,t),tr(null)}}}function cr(r,e){if("object"==typeof r)if(Y(r))for(var n=0;n<r.length;n++){var t=r[n];or(t)&&sr(t,e)}else if(or(r))r._store&&(r._store.validated=!0);else if(r){var o=function(r){if(null===r||"object"!=typeof r)return null;var e=y&&r[y]||r["@@iterator"];return"function"==typeof e?e:null}(r);if("function"==typeof o&&o!==r.entries)for(var i,a=o.call(r);!(i=a.next()).done;)or(i.value)&&sr(i.value,e)}}function lr(r){var e,n=r.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)e=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==f&&n.$$typeof!==p)return;e=n.propTypes}if(e){var t=x(n);!function(r,e,n,t,o){var i=Function.call.bind(B);for(var a in r)if(i(r,a)){var s=void 0;try{if("function"!=typeof r[a]){var c=Error((t||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}s=r[a](e,a,t,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(r){s=r}!s||s instanceof Error||(M(o),v("%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).",t||"React class",n,a,typeof s),M(null)),s instanceof Error&&!(s.message in A)&&(A[s.message]=!0,M(o),v("Failed %s type: %s",n,s.message),M(null))}}(e,r.props,"prop",t,r)}else if(void 0!==n.PropTypes&&!rr){rr=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var fr={};function ur(r,e,t,a,y,m){var k=function(r){return"string"==typeof r||"function"==typeof r||r===o||r===s||r===i||r===u||r===d||r===g||"object"==typeof r&&null!==r&&(r.$$typeof===h||r.$$typeof===p||r.$$typeof===c||r.$$typeof===l||r.$$typeof===f||r.$$typeof===b||void 0!==r.getModuleId)}(r);if(!k){var w="";(void 0===r||"object"==typeof r&&null!==r&&0===Object.keys(r).length)&&(w+=" 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 j;w+=ir(),null===r?j="null":Y(r)?j="array":void 0!==r&&r.$$typeof===n?(j="<"+(x(r.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):j=typeof r,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,w)}var _=Z(r,e,t,y,m);if(null==_)return _;if(k){var S=e.children;if(void 0!==S)if(a)if(Y(S)){for(var N=0;N<S.length;N++)cr(S[N],r);Object.freeze&&Object.freeze(S)}else v("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 cr(S,r)}if(B.call(e,"key")){var O=x(r),R=Object.keys(e).filter((function(r){return"key"!==r})),E=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!fr[O+E])v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',E,O,R.length>0?"{"+R.join(": ..., ")+": ...}":"{}",O),fr[O+E]=!0}return r===o?function(r){for(var e=Object.keys(r.props),n=0;n<e.length;n++){var t=e[n];if("children"!==t&&"key"!==t){tr(r),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",t),tr(null);break}}null!==r.ref&&(tr(r),v("Invalid attribute `ref` supplied to `React.Fragment`."),tr(null))}(_):lr(_),_}var dr=function(r,e,n){return ur(r,e,n,!1)},pr=function(r,e,n){return ur(r,e,n,!0)};a.Fragment=o,a.jsx=dr,a.jsxs=pr}()),a}var c=(i||(i=1,"production"===process.env.NODE_ENV?n.exports=function(){if(r)return t;r=1;var n=e,o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(r,e,n){var t,i={},l=null,f=null;for(t in void 0!==n&&(l=""+n),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(f=e.ref),e)a.call(e,t)&&!c.hasOwnProperty(t)&&(i[t]=e[t]);if(r&&r.defaultProps)for(t in e=r.defaultProps)void 0===i[t]&&(i[t]=e[t]);return{$$typeof:o,type:r,key:l,ref:f,props:i,_owner:s.current}}return t.Fragment=i,t.jsx=l,t.jsxs=l,t}():n.exports=s()),n.exports);function l(r,e){void 0===e&&(e={});var n=e.insertAt;if(r&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r))}}l(".carrousel {\r\n position: relative;\r\n}\r\n\r\n.container-btn {\r\n position: absolute;\r\n z-index: 99;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.btn {\r\n background: transparent;\r\n transition: background 0.5s;\r\n cursor: pointer;\r\n padding: 5px;\r\n}\r\n.btn:hover {\r\n background: #f0ffff71;\r\n transition: background 0.5s;\r\n}\r\n");l(".container {\r\n display: inline-block;\r\n padding: 0 10px;\r\n user-select: none;\r\n}\r\n\r\n.sec-title {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.icon {\r\n cursor: pointer;\r\n}\r\n.title {\r\n font-size: 18px;\r\n max-width: 90%;\r\n}\r\n\r\n.content {\r\n opacity: 0;\r\n visibility: hidden;\r\n height: 0;\r\n font-size: 16px;\r\n font-weight: bold;\r\n transition: all 0.3s;\r\n \r\n}\r\n\r\n.visible .content {\r\n opacity: 1;\r\n visibility: visible;\r\n height: auto;\r\n transition: all 0.3s;\r\n}\r\n\r\n.dark {\r\n background-color: #101010;\r\n color: #ddd;\r\n border-bottom: 1px solid #aaa;\r\n}\r\n\r\n.light {\r\n background-color: #ddd;\r\n color: #101010;\r\n border-bottom: 1px solid #202020;\r\n\r\n}\r\n\r\n.icon-dark {\r\n stroke: #fff;\r\n}\r\n\r\n.icon-light {\r\n stroke: #000;\r\n\r\n}\r\n\r\n");l('.loader {\r\n display: block;\r\n width: 130px;\r\n height: 4px;\r\n border-radius: 30px;\r\n background-color: rgba(0,0,0,0.2);\r\n position: relative;\r\n }\r\n \r\n .loader::before {\r\n content: "";\r\n position: absolute;\r\n background: #0071e2;\r\n top: 0;\r\n left: 0;\r\n width: 0%;\r\n height: 100%;\r\n border-radius: 30px;\r\n animation: moving 1s ease-in-out infinite;\r\n ;\r\n }\r\n \r\n @keyframes moving {\r\n 50% {\r\n width: 100%;\r\n }\r\n \r\n 100% {\r\n width: 0;\r\n right: 0;\r\n left: unset;\r\n }\r\n }');l('.switch {\r\n --button-width: 3.5em;\r\n --button-height: 2em;\r\n --toggle-diameter: 1.5em;\r\n --button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);\r\n --toggle-shadow-offset: 10px;\r\n --toggle-wider: 3em;\r\n --color-grey: #cccccc;\r\n --color-green: #4296f4;\r\n }\r\n \r\n .slider {\r\n display: inline-block;\r\n width: var(--button-width);\r\n height: var(--button-height);\r\n background-color: var(--color-grey);\r\n border-radius: calc(var(--button-height) / 2);\r\n position: relative;\r\n transition: 0.3s all ease-in-out;\r\n cursor: pointer;\r\n }\r\n \r\n .slider::after {\r\n content: "";\r\n display: inline-block;\r\n width: var(--toggle-diameter);\r\n height: var(--toggle-diameter);\r\n background-color: #fff;\r\n border-radius: calc(var(--toggle-diameter) / 2);\r\n position: absolute;\r\n top: var(--button-toggle-offset);\r\n transform: translateX(var(--button-toggle-offset));\r\n box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);\r\n transition: 0.3s all ease-in-out;\r\n }\r\n \r\n .switch input[type="checkbox"]:checked + .slider {\r\n background-color: var(--color-green);\r\n }\r\n \r\n .switch input[type="checkbox"]:checked + .slider::after {\r\n transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));\r\n box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);\r\n }\r\n \r\n .switch input[type="checkbox"] {\r\n display: none;\r\n }\r\n \r\n .switch input[type="checkbox"]:active + .slider::after {\r\n width: var(--toggle-wider);\r\n }\r\n \r\n .switch input[type="checkbox"]:checked:active + .slider::after {\r\n transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));\r\n }\r\n ');l(".btn-modal {\r\n border: none;\r\n padding: 10px;\r\n border-radius: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.container-modal {\r\n width: 100%;\r\n height: 100vh;\r\n background-color: #000000bc;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n position: fixed;\r\n z-index: 999;\r\n top: 0;\r\n left: 0;\r\n opacity: 0;\r\n visibility: hidden;\r\n transition: all 0.3s;\r\n}\r\n.container-modal.active {\r\n opacity: 1;\r\n visibility: visible;\r\n transition: all 0.5s;\r\n}\r\n\r\n.modal {\r\n width: 500px;\r\n height: auto;\r\n background-color: #fff;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 10px;\r\n padding: 10px;\r\n border-radius: 10px;\r\n box-shadow: 0 0 10px #5e5e5e;\r\n}\r\n\r\n.close-modal {\r\n text-align: end;\r\n border: none;\r\n background-color: transparent;\r\n color: #000;\r\n font-size: 24px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n padding: 10px;\r\n}\r\n");l(".section-experience {\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n gap: 12px;\r\n position: relative;\r\n padding-bottom: 20px;\r\n}\r\n\r\n.container-line {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n height: 100%;\r\n}\r\n\r\n.circle {\r\n width: 14px;\r\n height: 14px;\r\n background-color: #fff;\r\n border-radius: 50%;\r\n}\r\n\r\n.line {\r\n width: 2px;\r\n height: 100%;\r\n background-color: #aaa;\r\n}\r\n\r\n.container-information {\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: flex-start;\r\n padding-left: 20px;\r\n}\r\n\r\n.box-info {\r\n display: grid;\r\n gap: 3px;\r\n}\r\n\r\n.last {\r\n width: 50%;\r\n}\r\n\r\n.job-name {\r\n color: #fff;\r\n}\r\n\r\n.company {\r\n font-weight: 500;\r\n color: #fff;\r\n}\r\n\r\n.dates {\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n color: #d1d5db;\r\n}\r\n\r\n.description {\r\n font-size: 16px;\r\n color: #d1d5db;\r\n padding-bottom: 10px;\r\n}\r\n\r\n.link {\r\n text-decoration: none;\r\n font-size: 16px;\r\n font-weight: 500;\r\n color: #d1d5db;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.link:hover {\r\n transition: color 0.5s;\r\n color: #fff;\r\n}\r\n\r\n.icon-link {\r\n stroke: #fff;\r\n}\r\n\r\n/* Theme Dark */\r\n\r\n.dark .circle {\r\n background-color: #101010;\r\n}\r\n\r\n.dark .line {\r\n background-color: #303030;\r\n}\r\n.dark .company {\r\n color: #000;\r\n}\r\n.dark .job-name {\r\n color: #000;\r\n}\r\n\r\n.dark .dates {\r\n color: #303030;\r\n}\r\n\r\n.dark .description {\r\n color: #202020;\r\n}\r\n\r\n.dark .link {\r\n color: #202020;\r\n transition: color 0.5s;\r\n}\r\n\r\n.dark .link:hover {\r\n color: #000;\r\n transition: color 0.5s;\r\n}\r\n\r\n.dark .icon-link {\r\n stroke: #202020;\r\n}\r\n");exports.CarrouselImages=function(r){var n=r.images,t=r.auto,o=void 0===t||t,i=r.time,a=void 0===i?5e3:i,s=r.width,l=r.height,f=e.useState(0),u=f[0],d=f[1],p=function(){d((function(r){return r===n.length-1?0:r+1}))};return e.useEffect((function(){if(o){var r=setInterval((function(){return p()}),a);return function(){return clearInterval(r)}}}),[u]),c.jsxs("div",{className:"carrousel",style:{width:s,height:l},children:[c.jsx("img",{src:n[u].src,alt:"image slide",loading:"lazy",width:"100%",height:"100%"}),c.jsxs("div",{className:"container-btn",children:[c.jsx("img",{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144'/%3e%3c/svg%3e",alt:"arrow back",width:"30",height:"30",loading:"lazy",onClick:function(){d((function(r){return 0===r?n.length-1:r-1}))},className:"btn"}),c.jsx("img",{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144'/%3e%3c/svg%3e",alt:"arrow next",width:"30",height:"30",loading:"lazy",onClick:p,className:"btn"})]})]})},exports.Collapse=function(r){var n=r.children,t=r.title,o=r.bg,i=void 0===o?"dark":o,a=r.width,s=void 0===a?"100%":a,l=e.useState(!1),f=l[0],u=l[1],d=function(){return u(!f)};return c.jsxs("div",{className:"container ".concat(i," ").concat(f?"visible":""),style:{width:s},"data-testid":"collapse",children:[c.jsxs("div",{className:"sec-title",children:[c.jsx("h3",{className:"title",children:t}),f?c.jsx("svg",{width:30,height:30,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#fff",className:"icon w-6 h-6 ".concat("dark"==i?"icon-dark":"icon-light"),onClick:d,"data-testid":"open-collapse",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})}):c.jsx("svg",{width:30,height:30,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"#fff",className:"icon w-6 h-6 ".concat("dark"==i?"icon-dark":"icon-light"),onClick:d,"data-testid":"open-collapse",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})})]}),c.jsx("div",{className:"content",children:n})]})},exports.Experience=function(r){var e=r.experience,n=e.company,t=e.description,o=e.first_date,i=e.job_name,a=e.last_date,s=e.link,l=e.theme;return c.jsxs("section",{className:"section-experience ".concat(l||""),children:[c.jsxs("div",{className:"container-line",children:[c.jsx("div",{className:"circle"}),c.jsx("div",{className:"line"})]}),c.jsxs("section",{className:"container-information",children:[c.jsxs("div",{className:"box-info",children:[c.jsx("h2",{className:"job-name",children:i}),c.jsx("p",{className:"company",children:n}),c.jsxs("p",{className:"dates",children:[c.jsx("p",{children:o}),c.jsx("b",{children:"-"}),c.jsx("p",{children:a})]})]}),c.jsxs("div",{className:"box-info last",children:[c.jsx("p",{className:"description",children:t}),s&&c.jsxs("a",{href:s,target:"_blank",rel:"noreferrer",className:"link",children:["Visitar",c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",className:"icon-link",width:16,height:16,children:c.jsx("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})]})]})]})]})},exports.Loader=function(){return c.jsx("div",{className:"loader","data-testid":"loader"})},exports.Modal=function(r){var n=r.children,t=r.titleButton,o=e.useState(!1),i=o[0],a=o[1],s=function(){a(!i)};return c.jsxs(c.Fragment,{children:[c.jsx("button",{className:"btn-modal",onClick:s,children:t}),c.jsx("section",{"data-testid":"modal",className:"container-modal ".concat(i?"active":""),children:c.jsxs("div",{className:"modal",children:[c.jsx("button",{onClick:s,className:"close-modal",children:"X"}),n]})})]})},exports.Toggle=function(r){var e=r.onClick;return c.jsxs("label",{className:"switch",children:[c.jsx("input",{type:"checkbox",onClick:e,"data-testid":"input"}),c.jsx("span",{className:"slider"})]})};
//# sourceMappingURL=index.js.map