PageSourceSearch

https://flexit.cl/_next/static/chunks/pages/frequencyQuestions-d6a7af0f6fe601e8.js

js flexit.cl collected 2026-10-02 01:20:09 UTC 5,841 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[509],{8006:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/frequencyQuestions",function(){return s(9411)}])},8228:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l={src:"/_next/static/media/fondo.8d38ee34.svg",height:742,width:1365,blurWidth:0,blurHeight:0}},9235:(e,t,s)=>{"use strict";s.d(t,{B:()=>i});var l=s(7876),a=s(8230),n=s.n(a);let r=(0,s(7963).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),i=e=>{let{items:t,className:s}=e;return(0,l.jsx)("nav",{"aria-label":"Breadcrumb",className:null!=s?s:"",children:(0,l.jsx)("ol",{className:"flex flex-wrap items-center gap-2 text-sm md:text-base",children:t.map((e,s)=>{let a=s===t.length-1,i="ayuda"===e.label.toLowerCase();return(0,l.jsxs)("li",{className:"flex items-center gap-2",children:[e.href&&!a?(0,l.jsx)(n(),{href:e.href,children:(0,l.jsx)("div",{className:["cursor-pointer transition-opacity hover:opacity-80",i?"font-semibold":"font-normal"].join(" "),tabIndex:0,children:e.label})}):(0,l.jsx)("span",{"aria-current":"page",className:"font-normal text-black/80 underline",children:e.label}),!a&&(0,l.jsx)("span",{className:"select-none",children:(0,l.jsx)(r,{})})]},"".concat(e.label,"-").concat(s))})})})}},9411:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>b,default:()=>j});var l=s(7876),a=s(6515),n=s(8827),r=s.n(n),i=s(4232),c=s(8228),o=s(9235),d=s(8725);let x=e=>{let{question:t,children:s,openQuestion:a,setOpenQuestion:n}=e,r=t===a;return(0,l.jsxs)("div",{onClick:()=>n(t===a?"":t),className:"border border-black rounded-primary p-4 cursor-pointer mb-5 bg-white",children:[(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("h3",{className:"text-[1.25rem] w-5/6 text-start",children:t}),(0,l.jsx)("div",{className:"w-1/6 flex justify-end items-center",style:{width:50,height:50},children:(0,l.jsx)(d.A,{className:"cursor-pointer  ".concat(r?"rotate-180":"rotate-0")})})]}),(0,l.jsx)("div",{className:"mt-4 text-[1rem] [&_p]:leading-[170%] ".concat(r?"block":"hidden "),children:s})]})},m=e=>{let{sections:t,openQuestion:s,setOpenQuestion:a}=e;return(0,l.jsx)(l.Fragment,{children:t.map(e=>(0,l.jsxs)("div",{className:"mt-12 w-full text-left",children:[(0,l.jsx)("h2",{className:"font-bold text-[2rem] mb-4 text-start",children:e.title}),e.items.map(e=>(0,l.jsx)(x,{openQuestion:s,setOpenQuestion:a,question:e.question,children:e.answer},e.id))]},e.title))})};var u=s(3202);let f=e=>{let{value:t,onChange:s,className:a}=e,n="w-64 rounded-full border border-black px-4 md:px-10 py-4 text-center text-[18px] sm:text-[20px] lg:text-[22px] xl:text-[24px] leading-[120%] tracking-[-1.1%] transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-emerald-500",r="flexit"===t,i="empleadores"===t;return(0,l.jsxs)("div",{className:"w-full flex justify-center items-center gap-4 sm:gap-6 md:gap-8 mt-6 ".concat(null!=a?a:""),children:[(0,l.jsx)("button",{type:"button","aria-pressed":r,onClick:()=>s("flexit"),className:"".concat(n," ").concat(r?"bg-black text-white":"bg-transparent text-black"),children:"Flexit"}),(0,l.jsx)("button",{type:"button","aria-pressed":i,onClick:()=>s("empleadores"),className:"".concat(n," ").concat(i?"bg-black text-white":"bg-transparent text-black"),children:"Empleadores"})]})},h=e=>{let{rotate:t=!1,innerClassName:s,children:a}=e;return(0,l.jsxs)("section",{className:"relative mx-10 w-full ".concat(t?"min-h-[86vh]":"min-h-[60vh]"," overflow-hidden rounded-t-[20px] rounded-b-[60px] flex justify-center items-center"),children:[t&&(0,l.jsx)(o.B,{className:"absolute top-10 left-10 w-full text-left z-10 hidden: md:inline",items:[{href:"/ayuda",label:"Ayuda"},{label:"Preguntas frecuentes"}]}),(0,l.jsx)(r(),{src:c.A,alt:"Fondo",layout:"fill",objectFit:"cover",priority:!0,sizes:"100vw",className:t?"rotate-180":""}),(0,l.jsx)("div",{className:"relative z-10 w-11/12 md:w-10/12 xl:w-4/6 px-6 text-center ".concat(null!=s?s:""),children:a})]})},p=(0,i.memo)(()=>{let e=(0,u.S)().faq,[t,s]=(0,i.useState)("flexit"),[a,n]=(0,i.useState)(""),c="flexit"===t?e.flexit:e.empleadores,o=c.slice(0,1),d=c.slice(1);return(0,l.jsx)("div",{className:"w-full flex justify-center items-center mb-10",children:(0,l.jsxs)("div",{className:"relative flex w-11/12 flex-col justify-center items-center pt-10",children:[(0,l.jsx)(h,{rotate:!0,innerClassName:"my-10 mt-20 md:mt-40 ".concat("flexit"===t?"mb-6":"mb-0"),children:(0,l.jsxs)("div",{className:"flex flex-col gap-10 justify-center items-center",children:[(0,l.jsx)("div",{className:"relative h-14 w-14 mx-6",children:(0,l.jsx)(r(),{src:"/_pages/ayudaPage/preguntas-icon.svg",alt:"Icono de pregunta",layout:"fill",sizes:"56px",className:"object-contain select-none transition-transform duration-200",draggable:!1,loading:"lazy"})}),(0,l.jsx)("h1",{className:"w-full text-[40px] sm:text-[44px] lg:text-[46px] xl:text-[48px] leading-[120%] tracking-[-1.1%] text-center font-black",style:{fontFamily:"'Plus Jakarta Sans', sans-serif"},children:"Preguntas frecuentes"}),(0,l.jsx)(f,{value:t,onChange:s}),(0,l.jsx)("div",{className:"w-full flex flex-col justify-center items-center",children:(0,l.jsx)(m,{sections:o,openQuestion:a,setOpenQuestion:n})})]})}),(0,l.jsx)(h,{innerClassName:"my-10 ".concat("flexit"===t?"mt-6":"mt-0"),children:(0,l.jsx)("div",{className:"w-full flex flex-col justify-center items-center",children:(0,l.jsx)(m,{sections:d,openQuestion:a,setOpenQuestion:n})})})]})})});p.displayName="PreguntasFrecuentes";var b=!0;let j=()=>(0,l.jsx)(a.P,{title:"Preguntas frecuentes - Flexit",description:"Resolvemos tus dudas sobre Flexit. Todo lo que necesitas saber como trabajador o empleador: registro, pagos, turnos y m\xe1s.",children:(0,l.jsx)(p,{})})}},e=>{e.O(0,[742,515,636,593,792],()=>e(e.s=8006)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.