1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,551382,e=>{e.v({common:{home:"Home",back:"Back",loading:"Loading...",all:"all",email:"Email",phone:"Phone",address:"Address",contact:"Contact",login:"Login"},breadcrumb:{home:"Home",integrations:"Integrations",aiServices:"AI Services",contact:"Contact",becomePartner:"Become a Partner",partners:"Partners"},hero:{title:"Automate Your Workflow",subtitle:"The low-code platform for end-to-end workflow automation and business process management. Modernize systems, integrate processes, and scale with confidenceâbeyond the platform.",watchVideo:"Watch Demo"},features:{title:"Platform Capabilities",tabs:{workflow:"Workflow Automation",screens:"Web Interfaces",data:"Data Management",governance:"Governance",ai:"AI Integration"},descriptions:{workflow:"Design complex business logic with our visual drag-and-drop BPMN engine. Support for multi-lane processes and conditional routing.",screens:"Build responsive web and mobile applications using a powerful WYSIWYG editor connected directly to your automation flows.",data:"Manage your enterprise data with a built-in NoSQL database service, offering flexible schema definitions and real-time scaling.",governance:"Ensure compliance and security with granular role-based access control (RBAC), organization hierarchies, and audit logs.",ai:"Leverage Generative AI for intelligent document processing, sentiment analysis, and automated decision-making pipelines, and much more."}},integrations:{title:"Seamless Integrations",subtitle:"Connect {{brandName}} with your favorite tools",searchPlaceholder:"Search integrations...",filterByCategory:"Filter by Category",noResults:"No integrations found",noResultsDesc:"Try adjusting your search or category filter.",viewAll:"View All Integrations",detail:{connectors:"Available Connectors",connectButton:"Connect App",securityTitle:"Security & Compliance",securityDesc:"This integration is verified by {{brandName}} and supports OAuth2 authentication. Data is encrypted in transit and at rest.",noConnectors:"No specific actions listed.",eyebrowFallback:"Integration",factCategory:"Category",factConnectors:"Connectors",heroPrimaryCta:"Request a demo",heroSecondaryCta:"Contact us",ctaTitle:"Need help connecting your systems?",ctaDescription:"Our integration team can help you map this connector into your existing workflows.",ctaPrimary:"Request a demo",ctaSecondary:"Talk to sales"}},aiServices:{title:"AI Services",subtitle:"Enhance your workflows with AI-powered automation services.",searchPlaceholder:"Search AI services...",filterByCategory:"Filter by Category",noResults:"No AI services found",noResultsDesc:"Try adjusting your search or category filter.",viewAll:"View All AI Services",comingSoon:{title:"Coming Soon",subtitle:"Discover upcoming AI services launching soon",viewButton:"View Coming Soon Services"},detail:{capabilities:"Key Capabilities",noCapabilities:"No specific capabilities listed.",tryService:"Try This Service",notAvailable:"Not Available Yet",securityTitle:"Security & Compliance",securityNotice:"All AI services are ISO 27001 & 27701 compliant and process data securely within your workflow.",eyebrowFallback:"AI Service",factCategory:"Category",factStatus:"Status",statusActive:"Active",statusBeta:"Beta",heroSecondaryCta:"Contact us",ctaTitle:"Ready to put this service to work?",ctaDescription:"Talk to our team about rolling this AI service into your workflows.",ctaPrimary:"Request a demo",ctaSecondary:"Talk to sales"}},contact:{title:"Contact Us",subtitle:"Get in touch with our team",cards:{email:"Email",phone:"Phone",address:"Address"},backToHome:"Back to Home"},chat:{placeholder:"Ask about {{shortBrandName}}..."},certifications:{title:"Our Certifications"},navigation:{backToIntegrations:"Back to Integrations",backToAIServices:"Back to AI Services"},feedback:{floatingButton:"Feedback",openAriaLabel:"Open feedback panel",closeAriaLabel:"Close feedback panel",pinCountAriaLabel:"pins on this page",showPins:"Show pins",hidePins:"Hide pins",namePrompt:{heading:"What's your name?",description:"Your name will show next to the comments you leave on this page.",placeholder:"Your name",continue:"Continue"},commentingAs:"Commenting as",addPin:"Add a pin on this page",placingPinBanner:"Tap anywhere on the page to place a pin",cancel:"Cancel",anchor:{title:"Anchor",element:"element",inside:"inside",route:"route",text:"text",seenAt:"seen at",noElement:"no element captured â position is approximate",approximate:"Ap
1proximate position: the anchored element is no longer on this page."},category:{label:"Type",defect:"Defect",copy:"Copy",design:"Design",other:"Other"},detail:{previous:"Previous",next:"Next",viewPin:"View pin",delete:"Delete",deleteConfirm:"Delete this comment?",deleteConfirmButton:"Yes, delete",scrollToElement:"Scroll to element",copyLink:"Copy link",copied:"Copied",thread:"Thread",threadEmpty:"The pin is marked and nothing has been written yet.",statusSectionTitle:"Status",statusHint:"Whoever leaves the pin doesn't change its status. Whoever fixes it does, and the change stays in the thread.",annotate:"Annotate"},composer:{heading:"What needs adjusting?",description:"Pin placed. Tell us what you expected and what happened.",placeholder:"What did you expect, and what happened? If it's a defect, with what data.",save:"Save",saving:"Saving...",genericError:"Could not save the comment",hint:"Saved with the route and the element you clicked."},viewAll:"View all comments â",board:{title:"Feedback",subtitle:"Everything flagged across the site.",loading:"Loading comments...",empty:"No comments yet.",emptyFiltered:"No comments match these filters.",loadError:"Could not load comments",statusOpen:"Open",statusDone:"Done",statusInReview:"In review",statusClosed:"Closed",replyNamePlaceholder:"Your name",replyPlaceholder:"Was this what you expected?",reply:"Reply",searchPlaceholder:"Search by reference, text, author or page...",allTypes:"All types",openOnPage:"Open on page",clearFilters:"Clear filters"}}})},93893,e=>{e.v({common:{home:"Inicio",back:"Volver",loading:"Cargando...",all:"todas",email:"Email",phone:"Teléfono",address:"Dirección",contact:"Contacto",login:"Iniciar Sesión"},breadcrumb:{home:"Inicio",integrations:"Integraciones",aiServices:"Servicios de IA",contact:"Contacto",becomePartner:"Ser Partner",partners:"Partners"},hero:{title:"Automatiza tu Flujo de Trabajo",subtitle:"La plataforma low-code definitiva para la gestión de procesos empresariales. Construye, despliega y escala con facilidad.",watchVideo:"Ver Demo"},features:{title:"Capacidades de la Plataforma",tabs:{workflow:"Automatización de Flujos",screens:"Interfaces Web",data:"Gestión de Datos",governance:"Gobernanza",ai:"Integración de IA"},descriptions:{workflow:"Diseñe lógica de negocios compleja con nuestro motor visual BPMN. Soporte para procesos de múltiples carriles y enrutamiento condicional.",screens:"Cree aplicaciones web y móviles receptivas utilizando un potente editor WYSIWYG conectado directamente a sus flujos de automatización.",data:"Administre sus datos empresariales con un servicio de base de datos NoSQL integrado, ofreciendo esquemas flexibles y escalado en tiempo real.",governance:"Garantice el cumplimiento y la seguridad con control de acceso basado en roles (RBAC) granular, jerarquÃas de organización y registros de auditorÃa.",ai:"Aproveche la IA generativa para el procesamiento inteligente de documentos, análisis de sentimientos, toma de decisiones automatizada y mucho más."}},integrations:{title:"Integraciones Sin Fisuras",subtitle:"Conecta {{brandName}} con tus herramientas favoritas",searchPlaceholder:"Buscar integraciones...",filterByCategory:"Filtrar por CategorÃa",noResults:"No se encontraron integraciones",noResultsDesc:"Intenta ajustar tu búsqueda o filtro de categorÃa.",viewAll:"Ver Todas las Integraciones",detail:{connectors:"Conectores Disponibles",connectButton:"Conectar App",securityTitle:"Seguridad y Cumplimiento",securityDesc:"Esta integración está verificada por {{brandName}} y soporta autenticación OAuth2. Los datos están encriptados en tránsito y en reposo.",noConnectors:"No hay acciones especÃficas listadas.",eyebrowFallback:"Integración",factCategory:"CategorÃa",factConnectors:"Conectores",heroPrimaryCta:"Solicitar una demo",heroSecondaryCta:"Contáctanos",ctaTitle:"¿Necesitas ayuda para conectar tus sistemas?",ctaDescription:"Nuestro equipo de integración puede ayudarte a incorporar este conector en tus flujos de trabajo.",ctaPrimary:"Solicitar una demo",ctaSecondary:"Hablar con ventas"}},aiServices:{title:"Servicios de IA",subtitle:"Potencia tus flujos de trabajo con servicios de automatización impulsados por IA.",searchPlaceholder:"Buscar servicios de IA...",filterByCategory:"Filtrar por CategorÃa",noResults:"No se encontraron servicios de IA",noResultsDesc:"Intenta ajustar tu búsqueda o filtro de categorÃa.",viewAll:"Ver Todos los Servicios de IA",comingSoon:{title:"Próximamente",subt
1itle:"Descubre los próximos servicios de IA que se lanzarán pronto",viewButton:"Ver Servicios Próximamente"},detail:{capabilities:"Capacidades Clave",noCapabilities:"No hay capacidades especÃficas listadas.",tryService:"Probar Este Servicio",notAvailable:"No Disponible Aún",securityTitle:"Seguridad y Cumplimiento",securityNotice:"Todos los servicios de IA cumplen con ISO 27001 y 27701 y procesan datos de forma segura dentro de su flujo de trabajo.",eyebrowFallback:"Servicio de IA",factCategory:"CategorÃa",factStatus:"Estado",statusActive:"Activo",statusBeta:"Beta",heroSecondaryCta:"Contáctanos",ctaTitle:"¿Listo para poner este servicio a trabajar?",ctaDescription:"Habla con nuestro equipo sobre cómo incorporar este servicio de IA en tus flujos de trabajo.",ctaPrimary:"Solicitar una demo",ctaSecondary:"Hablar con ventas"}},contact:{title:"Contáctanos",subtitle:"Ponte en contacto con nuestro equipo",cards:{email:"Email",phone:"Teléfono",address:"Dirección"},backToHome:"Volver al Inicio"},chat:{placeholder:"Pregunta sobre {{shortBrandName}}..."},certifications:{title:"Nuestras Certificaciones"},navigation:{backToIntegrations:"Volver a Integraciones",backToAIServices:"Volver a Servicios de IA"},feedback:{floatingButton:"Comentarios",openAriaLabel:"Abrir panel de comentarios",closeAriaLabel:"Cerrar panel de comentarios",pinCountAriaLabel:"pines en esta página",showPins:"Mostrar pines",hidePins:"Ocultar pines",namePrompt:{heading:"¿Cómo te llamas?",description:"Tu nombre se mostrará junto a los comentarios que dejes en esta página.",placeholder:"Tu nombre",continue:"Continuar"},commentingAs:"Comentando como",addPin:"Agregar un pin en esta página",placingPinBanner:"Toca la página para marcar el punto",cancel:"Cancelar",anchor:{title:"Ancla",element:"elemento",inside:"dentro",route:"ruta",text:"texto",seenAt:"visto a",noElement:"sin elemento capturado â la posición es aproximada",approximate:"Posición aproximada: el elemento anclado ya no está en esta página."},category:{label:"Tipo",defect:"Defecto",copy:"Texto",design:"Diseño",other:"Otro"},detail:{previous:"Anterior",next:"Siguiente",viewPin:"Ver pin",delete:"Eliminar",deleteConfirm:"¿Eliminar este comentario?",deleteConfirmButton:"SÃ, eliminar",scrollToElement:"Ir al elemento",copyLink:"Copiar enlace",copied:"Copiado",thread:"Hilo",threadEmpty:"El punto está marcado y todavÃa no se ha escrito nada.",statusSectionTitle:"Estado",statusHint:"Quien deja el punto no cambia su estado. Lo cambia quien lo va a arreglar, y el cambio queda en el hilo.",annotate:"Anotar"},composer:{heading:"¿Qué se debe ajustar?",description:"Punto marcado. Cuéntanos qué esperabas y qué pasó.",placeholder:"Qué esperabas y qué pasó. Si es un defecto, con qué datos.",save:"Guardar",saving:"Guardando...",genericError:"No se pudo guardar el comentario",hint:"Se guarda con la ruta y el elemento que tocaste."},viewAll:"Ver todos los comentarios â",board:{title:"Comentarios",subtitle:"Todo lo que se ha marcado en el sitio.",loading:"Cargando comentarios...",empty:"TodavÃa no hay comentarios.",emptyFiltered:"Ningún comentario coincide con estos filtros.",loadError:"No se pudieron cargar los comentarios",statusOpen:"Abierto",statusDone:"Ya se hizo",statusInReview:"En revisión",statusClosed:"Cerrado",replyNamePlaceholder:"Tu nombre",replyPlaceholder:"¿Era lo que se esperaba?",reply:"Responder",searchPlaceholder:"Buscar por referencia, texto, autor o página...",allTypes:"Todos los tipos",openOnPage:"Abrir en la página",clearFilters:"Limpiar filtros"}}})},86809,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);function a({isOpen:e,onClose:a,title:o,children:s,noPaddingBottom:i=!1,headerActions:l}){let c=(0,r.useCallback)(e=>{"Escape"===e.key&&a()},[a]);return((0,r.useEffect)(()=>(e&&(document.addEventListener("keydown",c),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",c),document.body.style.overflow="unset"}),[e,c]),e)?(0,n.createPortal)((0,t.jsxs)("div",{className:"fixed inset-0 z-[99999] flex items-center justify-center",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-sm animate-in fade-in duration-200",onClick:a}),(0,t.jsxs)("div",{className:"relative flex flex-col bg-card border border-border rounded-xl shadow-2xl animate-in fade-in zoom-in-95 duration-200 w-[90vw] h-[90vh]",children:[o&&(0,t.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-border shrink-0",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:o}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[l,(0,t.jsx)("button",{onClick:a,className:"p-1 text-muted-foreground hover:text-foreground hover:bg-surface rounded-lg transition-colors",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),(0,t.jsx)("div",{className:`flex-1 px-6 pt-4 ${i?"":"pb-6"} overflow-y-auto`,children:s})]})]}),document.body):null}e.s(["default",()=>a])},233525,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(271645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function o(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(151836)._(e.r(998183)),s=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(o.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${a}${d}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return b},PageNotFoundError:function(){return y},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return s},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return m},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return j}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function m(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&m(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(718967),a=e.r(652817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return y}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(151836),s=e.r(843476),i=o._(e.r(271645)),l=e.r(195057),c=e.r(8372),d=e.r(818581),u=e.r(718967),m=e.r(405550);e.r(233525);let f=e.r(91949),p=e.r(573668),h=e.r(509396);function g(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function x(t){var r;let n,a,o,[l,x]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),y=(0,i.useRef)(null),{href:v,as:w,children:j,prefetch:C=null,passHref:k,replace:N,shallow:_,scroll:E,onClick:S,onMouseEnter:I,onTouchStart:T,legacyBehavior:P=!1,onNavigate:L,ref:A,unstable_dynamicOnHover:M,...B}=t;n=j,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,s.jsx)("a",{children:n}));let O=i.default.useContext(c.AppRouterContext),$=!1!==C,R=!1!==C?null===(r=C)||"auto"===r?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:U,as:D}=i.default.useMemo(()=>{let e=g(v);return{href:e,as:w?g(w):e}},[v,w]);if(P){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=i.default.Children.only(n)}let F=P?a&&"object"==typeof a&&a.ref:A,W=i.default.useCallback(e=>(null!==O&&(y.current=(0,f.mountLinkInstance)(e,U,O,R,$,x)),()=>{y.current&&((0,f.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,f.unmountPrefetchableInstance)(e)}),[$,U,O,R,x]),H={ref:(0,d.useMergedRef)(W,F),onClick(t){P||"function"!=typeof S||S(t),P&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!O||t.defaultPrevented||function(t,r,n,a,o,s,l){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);i.default.startTransition(()=>{u(n||r,o?"replace":"push",s??!0,a.current)})}}(t,U,D,y,N,E,L)},onMouseEnter(e){P||"function"!=typeof I||I(e),P&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),O&&$&&(0,f.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){P||"function"!=typeof T||T(e),P&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),O&&$&&(0,f.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,u.isAbsoluteUrl)(D)?H.href=D:P&&!k&&("a"!==a.type||"href"in a.props)||(H.href=(0,m.addBasePath)(D)),o=P?i.default.cloneElement(a,H):(0,s.jsx)("a",{...B,...H,children:n}),(0,s.jsx)(b.Provider,{value:l,children:o})}e.r(284508);let b=(0,i.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,i.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573602,535856,e=>{"use strict";var t=e.i(247167);let r={actionUrl:"https://runmyprocess.us2.list-manage.com/subscribe/post?u=50321c5952c64f7c1fc89024d&id=a175c8511e&v_id=4575&f_id=00b5fbe3f0",honeypotName:"b_50321c5952c64f7c1fc89024d_a175c8511e",websiteSourceProd:"rmp_prod",websiteSourceTest:"rmp_test",gdprId:"25914"},n={rmp:{id:"rmp",brandName:"RunMyProcess",shortBrandName:"RMP",companyName:"RunMyProcess",logos:{wordmarkLight:"/images/brands/runmyprocess/logos/runmyprocess-blue-white-text.svg",wordmarkDark:"/images/brands/runmyprocess/logos/runmyprocess-blue-grey-text.svg",icon:"/images/brands/runmyprocess/logos/runmyprocess-blue-icon.svg",ogWordmark:"/images/brands/runmyprocess/logos/runmyprocess-blue-white-text.svg"},defaultSiteUrl:"https://runmyprocess.com",faviconBasePath:"/images/brands/runmyprocess/favicon",governmentOnePagerPath:"/assets/government-services-automation/RunMyProcess_Capability_Statement.pdf",portalUrl:"https://portal.runmyprocess.com/",ogImagePath:"/images/brands/runmyprocess/og-image.png",googleSiteVerification:"qKRHxsm1hwGb3zRijTGEjNJF2FBB09684ybAAjPlqT0",gtmContainerId:void 0,gaMeasurementId:"G-2DDLDL3SBC",googleAdsId:"AW-17616881163",googleAdsConversionLabel:"AW-17616881163/nl11CJH4770cEIuMsdBB",cookieYesId:"a6f25850b3552076a6a0fd13",amplificaDomain:"runmyprocess.com",mailchimp:r},fluyenta:{id:"fluyenta",brandName:"Fluyenta",shortBrandName:"Fluyenta",companyName:"Fluyenta",logos:{wordmarkLight:"/images/brands/fluyenta/logos/fluyenta-blue-white-text.svg",wordmarkDark:"/images/brands/fluyenta/logos/fluyenta-blue-grey-text.svg",icon:"/images/brands/fluyenta/logos/fluyenta-blue-icon.svg",ogWordmark:"/images/brands/fluyenta/logos/fluyenta-blue-white-text.svg"},defaultSiteUrl:"https://www.fluyenta.com",faviconBasePath:"/images/brands/fluyenta/favicon",governmentOnePagerPath:"/assets/government-services-automation/Fluyenta_One_Pager.pdf",portalUrl:"https://axon.fluyenta.com/login",ogImagePath:"/images/brands/fluyenta/og-image.png",googleSiteVerification:void 0,gtmContainerId:"GTM-T2GCKTGD",gaMeasurementId:"G-4YBFPX6TB7",cookieYesId:"d67227116635e468754511c138d31a9f",amplificaDomain:"fluyenta.com",mailchimp:{...r,websiteSourceProd:"fluyenta_prod",websiteSourceTest:"fluyenta_test"}}};function a(){var e;return e=t.default.env.SITE_BRAND??"rmp","fluyenta"===e?.toLowerCase().trim()?"fluyenta":"rmp"}e.s(["BRAND_CONFIGS",0,n,"getBrandId",()=>a],535856);let o=n[a()].defaultSiteUrl;function s(){let e="https://runmyprocess.com";return e?.trim()?e.replace(/\/$/,""):o}e.s(["getSiteUrl",()=>s],573602)},808341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},479520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return x}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(563141),s=e.r(151836),i=e.r(843476),l=o._(e.r(174080)),c=s._(e.r(271645)),d=e.r(742732),u=e.r(922737),m=e.r(808341),f=new Map,p=new Set,h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:s="",strategy:i="afterInteractive",onError:c,stylesheets:d}=e,m=r||t;if(m&&p.has(m))return;if(f.has(t)){p.add(m),f.get(t).then(n,c);return}let h=()=>{a&&a(),p.add(m)},g=document.createElement("script"),x=new Promise((e,t)=>
1{g.addEventListener("load",function(t){e(),n&&n.call(this,t),h()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(g.innerHTML=o.__html||"",h()):s?(g.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",h()):t&&(g.src=t,f.set(t,x)),(0,u.setAttributesFromProps)(g,e),"worker"===i&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",i),d&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>h(e))}):h(e)}function x(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:o="afterInteractive",onError:s,stylesheets:u,...f}=e,{updateScripts:g,scripts:x,getIsSsr:b,appDir:y,nonce:v}=(0,c.useContext)(d.HeadManagerContext);v=f.nonce||v;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;w.current||(a&&e&&p.has(e)&&a(),w.current=!0)},[a,t,r]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===o)h(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,m.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,m.requestIdleCallback)(()=>h(e))}));j.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(g?(x[o]=(x[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:s,...f,nonce:v}]),g(x)):b&&b()?p.add(t||r):b&&!b()&&h({...e,nonce:v})),y){if(u&&u.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...f,id:t}])})`}});else return l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:v,crossOrigin:f.crossOrigin}:{as:"script",nonce:v,crossOrigin:f.crossOrigin}),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...f,id:t}])})`}});"afterInteractive"===o&&r&&l.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:v,crossOrigin:f.crossOrigin}:{as:"script",nonce:v,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let y=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},618566,(e,t,r)=>{t.exports=e.r(976562)},410909,511372,e=>{"use strict";let t={defaultLocale:"en",locales:["en","es"]};function r(e){return t.locales.includes(e)}function n(e,t){let r=e.startsWith("/")?e.slice(1):e;return r?`/${t}/${r}`:`/${t}`}e.s(["i18nConfig",0,t,"isValidLocale",()=>r],511372),e.i(573602),e.s(["localizedPath",()=>n],410909)},767112,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(618566),a=e.i(511372),o=e.i(410909);let s=(0,r.createContext)(void 0);function i({children:e}){let i=(0,n.useParams)(),l=(0,n.usePathname)(),c=(0,n.useRouter)(),[d,u]=(0,r.useTransition)(),m=i?.locale,f=(0,a.isValidLocale)(m)?m:a.i18nConfig.defaultLocale;return(0,t.jsx)(s.Provider,{value:{language:f,setLanguage:e=>{if(e!==f){if("u">typeof document){let t=new Date;t.setTime(t.getTime()+31536e6),document.cookie=`preferred_language=${e};expires=${t.toUTCString()};path=/`}let t=`/${f}`,r=l;l.startsWith(t)&&(r=l.slice(t.length)||"/");let n=(0,o.localizedPath)("/"===r?"":r,e);u(()=>{c.push(n)})}},isChangingLanguage:d},children:e})}function l(){let e=(0,r.useContext)(s);if(!e)throw Error("useLanguage must be used within LanguageProvider");return e}e.s(["LanguageProvider",()=>i,"useLanguage",()=>l])},194774,e=>{"use strict";
1e.i(535856),e.i(517044),e.i(863196),e.i(306342),e.s([])},306342,e=>{"use strict";var t=e.i(247167),r=e.i(535856);function n(){return"fluyenta"==="rmp".toLowerCase().trim()?"fluyenta":"rmp"}function a(){let e,a=r.BRAND_CONFIGS[n()],o=t.default.env.NEXT_PUBLIC_PORTAL_URL?.replace(/\/$/,"")||a.portalUrl.replace(/\/$/,"");return{...a,portalUrl:o.endsWith("/")?o:`${o}/`,gtmContainerId:t.default.env.NEXT_PUBLIC_GTM_CONTAINER_ID?.trim()||a.gtmContainerId,gaMeasurementId:t.default.env.NEXT_PUBLIC_GA_MEASUREMENT_ID?.trim()||a.gaMeasurementId,googleSiteVerification:t.default.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION?.trim()||a.googleSiteVerification,mailchimp:(e={...a.mailchimp},t.default.env.NEXT_PUBLIC_MAILCHIMP_ACTION_URL?.trim()&&(e.actionUrl=t.default.env.NEXT_PUBLIC_MAILCHIMP_ACTION_URL.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_HONEYPOT_NAME?.trim()&&(e.honeypotName=t.default.env.NEXT_PUBLIC_MAILCHIMP_HONEYPOT_NAME.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_PROD?.trim()&&(e.websiteSourceProd=t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_PROD.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_TEST?.trim()&&(e.websiteSourceTest=t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_TEST.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_GDPR_ID?.trim()&&(e.gdprId=t.default.env.NEXT_PUBLIC_MAILCHIMP_GDPR_ID.trim()),e)}}e.s(["getPublicBrand",()=>a,"getPublicBrandId",()=>n])},863196,517044,e=>{"use strict";var t=e.i(247167),r=e.i(573602),n=e.i(535856);function a(){let e=n.BRAND_CONFIGS[(0,n.getBrandId)()],r=t.default.env.NEXT_PUBLIC_PORTAL_URL?.replace(/\/$/,"")||e.portalUrl.replace(/\/$/,""),a=t.default.env.NEXT_PUBLIC_GTM_CONTAINER_ID?.trim()||e.gtmContainerId,o=t.default.env.NEXT_PUBLIC_GA_MEASUREMENT_ID?.trim()||e.gaMeasurementId,s=t.default.env.NEXT_PUBLIC_GOOGLE_ADS_ID?.trim()||e.googleAdsId,i=t.default.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION?.trim()||e.googleSiteVerification,l=t.default.env.NEXT_PUBLIC_COOKIEYES_ID?.trim()||e.cookieYesId,c={...e.mailchimp};return t.default.env.NEXT_PUBLIC_MAILCHIMP_ACTION_URL?.trim()&&(c.actionUrl=t.default.env.NEXT_PUBLIC_MAILCHIMP_ACTION_URL.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_HONEYPOT_NAME?.trim()&&(c.honeypotName=t.default.env.NEXT_PUBLIC_MAILCHIMP_HONEYPOT_NAME.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_PROD?.trim()&&(c.websiteSourceProd=t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_PROD.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_TEST?.trim()&&(c.websiteSourceTest=t.default.env.NEXT_PUBLIC_MAILCHIMP_WEBSITE_SOURCE_TEST.trim()),t.default.env.NEXT_PUBLIC_MAILCHIMP_GDPR_ID?.trim()&&(c.gdprId=t.default.env.NEXT_PUBLIC_MAILCHIMP_GDPR_ID.trim()),{...e,portalUrl:r.endsWith("/")?r:`${r}/`,gtmContainerId:a,gaMeasurementId:o,googleAdsId:s,googleSiteVerification:i,cookieYesId:l,mailchimp:c}}e.s(["getBrand",()=>a],517044);let o=/\{\{\s*(brandName|shortBrandName|companyName|domain|siteUrl|portalUrl)\s*\}\}/g;function s(e){let t=a(),n=(0,r.getSiteUrl)(),o="www.runmyprocess.com";try{o=new URL(n).hostname}catch{}return{brandName:t.brandName,shortBrandName:t.shortBrandName,companyName:t.companyName,domain:o,siteUrl:n,portalUrl:t.portalUrl,...e}}function i(e,t){if(!e||!e.includes("{{"))return e;let r=t??s();return e.replace(o,(e,t)=>{switch(t){case"brandName":return r.brandName;case"shortBrandName":return r.shortBrandName;case"companyName":return r.companyName;case"domain":return r.domain;case"siteUrl":return r.siteUrl;case"portalUrl":return r.portalUrl;default:return""}})}e.s(["applyBrandTokens",()=>i,"buildBrandTokenContext",()=>s],863196)},398007,e=>{"use strict";var t=e.i(843476),r=e.i(779699);function n({label:e,required:n,error:a,helpText:o,maxLength:s,currentLength:i,className:l="",children:c}){let d=void 0!==s&&void 0!==i,u=d&&i>s,m=d&&i>.9*s;return(0,t.jsxs)("div",{className:`space-y-1.5 ${l}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("label",{className:"flex items-center gap-1.5 text-sm font-medium text-foreground",children:[e,n&&(0,t.jsx)("span",{className:"text-destructive",children:"*"}),o&&(0,t.jsx)(r.default,{content:o,position:"top",children:(0,t.jsx)("span",{className:"text-muted-foreground hover:text-foreground cursor-help transition-colors",children:(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})})})]}),d&&(0,t.jsxs)("span",{className:`text-xs font-medium transition-colors ${u?"text-destructive":m?"text-warning":"text-muted-foreground"}`,children:[i,"/",s]})]}),c,a&&(0,t.jsxs)("p",{className:"flex items-center gap-1.5 text-xs text-destructive",children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),a]})]})}function a({hasError:e,className:r="",...n}){return(0,t.jsx)("input",{className:`w-full px-3 py-2 bg-background border rounded-lg text-foreground placeholder:text-muted-foreground 2 transition-colors duration-150 3 focus:outline-none focus:ring-2 focus:ring-ring focus:border-primary 4 disabled:opacity-50 disabled:cursor-not-allowed 5 ${e?"border-destructive":"border-input hover:border-border"} 6 ${r}`,...n})}function o({hasError:e,className:r="",...n}){return(0,t.jsx)("textarea",{className:`w-full px-3 py-2 bg-background border rounded-lg text-foreground placeholder:text-muted-foreground 7 transition-colors duration-150 resize-none 8 focus:outline-none focus:ring-2 focus:ring-ring focus:border-primary 9 disabled:opacity-50 disabled:cursor-not-allowed 10 ${e?"border-destructive":"border-input hover:border-border"} 11 ${r}`,...n})}function s({hasError:e,className:r="",children:n,...a}){return(0,t.jsx)("select",{className:`w-full px-3 py-2 bg-background border rounded-lg text-foreground 12 transition-colors duration-150 13 focus:outline-none focus:ring-2 focus:ring-ring focus:border-primary 14 disabled:opacity-50 disabled:cursor-not-allowed 15 ${e?"border-destructive":"border-input hover:border-border"} 16 ${r}`,...a,children:n})}e.s(["FormField",()=>n,"FormInput",()=>a,"FormSelect",()=>s,"FormTextarea",()=>o])},442163,e=>{"use strict";var t=e.i(843476),r=e.i(779699);let n={en:"English",es:"Spanish",fr:"French",de:"German",pt:"Portuguese",it:"Italian",nl:"Dutch",pl:"Polish",ru:"Russian",ja:"Japanese",zh:"Chinese",ko:"Korean",ar:"Arabic"};function a({lang:e,missing:a=!1,size:o="sm",className:s=""}){let i=e.toUpperCase(),l=n[e.toLowerCase()]||e,c={sm:"px-1.5 py-0.5 text-[10px]",md:"px-2 py-1 text-xs"};return a?(0,t.jsx)(r.default,{content:`${l} translation is missing`,position:"top",children:(0,t.jsxs)("span",{className:`inline-flex items-center gap-1 font-medium rounded 17 bg-destructive/10 text-destructive border border-destructive/30 18 ${c[o]} ${s}`,children:[(0,t.jsx)("svg",{className:"w-2.5 h-2.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01"})}),i]})}):(0,t.jsx)(r.default,{content:`${l} translation available`,position:"top",children:(0,t.jsx)("span",{className:`inline-flex items-center font-medium rounded 19 bg-muted text-muted-foreground 20 ${c[o]} ${s}`,children:i})})}function o({available:e,missing:o=[],maxShow:s=3,size:i="sm",className:l=""}){let c=[...e,...o],d=c.slice(0,s),u=c.length-s,m=c.slice(s);return(0,t.jsxs)("div",{className:`flex items-center gap-1 flex-wrap ${l}`,children:[d.map(e=>(0,t.jsx)(a,{lang:e,missing:o.includes(e),size:i},e)),u>0&&(0,t.jsx)(r.default,{content:m.map(e=>n[e.toLowerCase()]||e).join(", "),title:`+${u} more`,position:"top",children:(0,t.jsxs)("span",{className:`inline-flex items-center font-medium rounded 21 bg-muted text-muted-foreground border border-border 22 ${"sm"===i?"px-1.5 py-0.5 text-[10px]":"px-2 py-1 text-xs"}`,children:["+",u]})})]})}e.s(["LanguageBadge",()=>a,"LanguageBadges",()=>o])},109570,e=>{"use strict";var t=e.i(843476),r=e.i(779699);let n={active:{label:"Active",bg:"bg-green-900/50",text:"text-green-400",dot:"bg-green-400",description:"This item is live and visible to users"},beta:{label:"Beta",bg:"bg-yellow-900/50",text:"text-yellow-400",dot:"bg-yellow-400",description:"This item is in beta testing phase"},coming_soon:{label:"Coming Soon",bg:"bg-purple-900/50",text:"text-purple-400",dot:"bg-purple-400",description:"This item will be available soon"},draft:{label:"Draft",bg:"bg-gray-700/50",text:"text-gray-400",dot:"bg-gray-400",description:"This item is a draft and n
22ot published"},inactive:{label:"Inactive",bg:"bg-red-900/50",text:"text-red-400",dot:"bg-red-400",description:"This item is disabled"}};function a({status:e,size:a="sm",showDot:o=!1,className:s=""}){let i=n[e]||n.draft;return(0,t.jsx)(r.default,{content:i.description,title:i.label,position:"top",children:(0,t.jsxs)("span",{className:`inline-flex items-center gap-1.5 font-semibold rounded border 23 ${i.bg} ${i.text} border-current/20 24 ${{sm:"px-1.5 py-0.5 text-[10px]",md:"px-2 py-1 text-xs"}[a]} ${s}`,children:[o&&(0,t.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${i.dot}`}),i.label]})})}function o({status:e,size:a="sm",pulse:o=!1,className:s=""}){let i=n[e]||n.draft;return(0,t.jsx)(r.default,{content:i.description,title:i.label,position:"top",children:(0,t.jsxs)("span",{className:`relative inline-flex ${s}`,children:[(0,t.jsx)("span",{className:`rounded-full ${i.dot} ${{sm:"w-2 h-2",md:"w-2.5 h-2.5",lg:"w-3 h-3"}[a]}`}),o&&(0,t.jsx)("span",{className:`absolute inset-0 rounded-full ${i.dot} animate-ping opacity-75`})]})})}e.s(["StatusBadge",()=>a,"StatusDot",()=>o])},56748,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);let a=(0,r.createContext)(null);function o({toast:e,onHide:n}){(0,r.useEffect)(()=>{if(e.duration&&e.duration>0){let t=setTimeout(n,e.duration);return()=>clearTimeout(t)}},[e.duration,n]);let{bg:a,border:o,text:s,icon:i}={saving:{bg:"bg-card",border:"border-border",text:"text-muted-foreground",icon:(0,t.jsxs)("svg",{className:"w-4 h-4 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})},success:{bg:"bg-success/10",border:"border-success/30",text:"text-success",icon:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})},error:{bg:"bg-destructive/10",border:"border-destructive/30",text:"text-destructive",icon:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})},info:{bg:"bg-accent/10",border:"border-accent/30",text:"text-accent",icon:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}}[e.type];return(0,t.jsxs)("div",{className:`flex items-center gap-2.5 px-4 py-2.5 ${a} ${s} border ${o} rounded-lg shadow-xl backdrop-blur-sm animate-in slide-in-from-top-2 fade-in duration-200`,children:[i,(0,t.jsx)("span",{className:"text-sm font-medium",children:e.message}),"saving"!==e.type&&(0,t.jsx)("button",{onClick:n,className:"ml-1 p-0.5 hover:bg-foreground
24/10 rounded transition-colors",children:(0,t.jsx)("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}function s({toasts:e,onHide:a}){let[s,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{i(!0)},[]),s&&0!==e.length)?(0,n.createPortal)((0,t.jsx)("div",{className:"fixed top-4 left-1/2 -translate-x-1/2 z-[99999] flex flex-col gap-2",children:e.map(e=>(0,t.jsx)(o,{toast:e,onHide:()=>a(e.id)},e.id))}),document.body):null}function i({children:e}){let[n,o]=(0,r.useState)([]),i=(0,r.useCallback)(e=>{o(t=>t.filter(t=>t.id!==e))},[]),l=(0,r.useCallback)((e,t,r)=>{let n=`toast-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,a={id:n,type:e,message:t,duration:r};return o(e=>[...e,a]),n},[]),c=(0,r.useCallback)((e="Saving...")=>(o(e=>e.filter(e=>"saving"!==e.type)),l("saving",e,0)),[l]),d=(0,r.useCallback)((e="Saved",t=2e3)=>{o(e=>e.filter(e=>"saving"!==e.type)),l("success",e,t)},[l]),u=(0,r.useCallback)((e="Error saving",t=4e3)=>{o(e=>e.filter(e=>"saving"!==e.type)),l("error",e,t)},[l]);return(0,t.jsxs)(a.Provider,{value:{toasts:n,showToast:l,hideToast:i,showSaving:c,showSaved:d,showError:u},children:[e,(0,t.jsx)(s,{toasts:n,onHide:i})]})}function l(){let e=(0,r.useContext)(a);if(!e)throw Error("useToast must be used within a ToastProvider");return e}function c(){let{showSaving:e,showSaved:t,showError:n,hideToast:a}=l(),o=(0,r.useCallback)(async(r,a)=>{e(a?.savingMessage);try{let e=await r();return t(a?.successMessage),e}catch(e){throw n(a?.errorMessage||(e instanceof Error?e.message:"Error saving")),e}},[e,t,n]);return{showSaving:e,showSaved:t,showError:n,hideToast:a,withSaveToast:o}}e.s(["ToastProvider",()=>i,"useSaveToast",()=>c,"useToast",()=>l])},37038,e=>{"use strict";var t=e.i(843476),r=e.i(779699);let n={sm:"px-1.5 py-0.5 text-[10px]",md:"px-2 py-1 text-xs",lg:"px-2.5 py-1.5 text-sm"},a={default:{bg:"bg-muted",text:"text-muted-foreground",dot:"bg-muted-foreground"},success:{bg:"bg-success/10",text:"text-success",dot:"bg-success"},warning:{bg:"bg-warning/10",text:"text-warning",dot:"bg-warning"},error:{bg:"bg-destructive/10",text:"text-destructive",dot:"bg-destructive"},info:{bg:"bg-accent/10",text:"text-accent",dot:"bg-accent"},purple:{bg:"bg-primary/10",text:"text-primary",dot:"bg-primary"}};function o({children:e,size:o="sm",variant:s="default",customColors:i,showDot:l=!1,dotColor:c,icon:d,tooltip:u,tooltipTitle:m,className:f=""}){let p="custom"===s&&i?{bg:i.bg,text:i.text,dot:c||i.text}:a[s],h="custom"===s&&i?.border?i.border:"border-current/20",g=(0,t.jsxs)("span",{className:` 25 inline-flex items-center gap-1.5 font-semibold rounded border 26 ${p.bg} ${p.text} ${h} 27 ${n[o]} ${f} 28 `.trim(),children:[l&&(0,t.jsx)("span",{className:`w-1.5 h-1.5 rounded-full ${c||p.dot}`}),d,e]});return u?(0,t.jsx)(r.default,{content:u,title:m,position:"top",children:g}):g}function s(e){return(0,t.jsxs)("span",{className:"relative inline-flex",children:[(0,t.jsx)(o,{...e}),(0,t.jsx)("span",{className:"absolute -top-0.5 -right-0.5 w-2 h-2 bg-current rounded-full animate-ping opacity-75"})]})}function i({count:e,max:r=99,size:n="sm",variant:a="error",className:s=""}){let i=e>r?`${r}+`:e.toString();return(0,t.jsx)(o,{size:n,variant:a,className:`min-w-[1.25rem] justify-center ${s}`,children:i})}e.s(["Badge",()=>o,"CountBadge",()=>i,"PulseBadge",()=>s,"default",0,o])},884791,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);let a={purple:"text-primary bg-primary/20",blue:"text-primary bg-primary/20",green:"text-success bg-success/20",red:"text-destructive bg-destructive/20",yellow:"text-warning bg-warning/20",gray:"text-muted-foreground bg-muted",cyan:"text-accent bg-accent/20"},o={sm:"px-2.5 py-1.5 text-xs h-[30px]",md:"px-3 py-2 text-sm h-[38px]",lg:"px-4 py-2.5 text-base h-[42px]"};function s({option:e,isSelected:r,onSelect:n}){let o=e.color&&a[e.color];return(0,t.jsxs)("button",{type:"button",onClick:n,className:` 29 w-full flex items-center gap-2 px-3 py-2 text-left text-sm 30 transition-colors duration-150 31 ${r?o||"bg-primary/20 text-primary":"text-foreground hover:bg-muted hover:text-foreground"} 32 `,children:[e.icon&&("string"==typeof e.icon?(0,t.jsx)("span",{className:"text-base leading-none",children:e.icon}):e.icon),(0,t.jsx)("span",{className:"flex-1 truncate",children:e.label}),e.description&&(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:e.description}),r&&(0,t.jsx)("svg",{className:"w-4 h-4 shrink-0",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})}function i({options:e,groups:a,value:o,position:i,onSelect:l,onClose:c,triggerRef:d,searchable:u,searchPlaceholder:m,minWidth:f}){let p=(0,r.useRef)(null),h=(0,r.useRef)(null),[g,x]=(0,r.useState)("");(0,r.useMemo)(()=>a?a.flatMap(e=>e.options):e||[],[e,a]);let b=(0,r.useCallback)(e=>{if(!g.trim())return e;let t=g.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(t)||e.value.toLowerCase().includes(t)||e.description?.toLowerCase().includes(t))},[g]),y=(0,r.useMemo)(()=>a?a.map(e=>({...e,options:b(e.options)})).filter(e=>e.options.length>0):b(e||[]),[a,e,b]),v=a?y.some(e=>e.options.length>0):y.length>0;return(0,r.useEffect)(()=>{u&&h.current&&setTimeout(()=>h.current?.focus(),50)},[u]),(0,r.useEffect)(()=>{function e(e){let t=e.target;d.current&&d.current.contains(t)||p.current&&!p.current.contains(t)&&c()}let t=setTimeout(()=>{document.addEventListener("mousedown",e)},0);return()=>{clearTimeout(t),document.removeEventListener("mousedown",e)}},[c,d]),(0,r.useEffect)(()=>{function e(e){"Escape"===e.key&&c()}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[c]),(0,r.useEffect)(()=>{function e(e){p.current&&p.current.contains(e.target)||c()}return window.addEventListener("scroll",e,!0),()=>window.removeEventListener("scroll",e,!0)},[c]),(0,n.createPortal)((0,t.jsxs)("div",{ref:p,className:`fixed bg-card border border-border rounded-lg shadow-2xl overflow-hidden animate-in fade-in duration-200 ${"down"===i.direction?"slide-in-from-top-2":"slide-in-from-bottom-2"}
32`,style:{top:"down"===i.direction?i.top:void 0,bottom:"up"===i.direction?`calc(100vh - ${i.top}px)`:void 0,left:i.left,minWidth:Math.max(i.width,f||140),maxWidth:"calc(100vw - 32px)",zIndex:99999},children:[u&&(0,t.jsx)("div",{className:"p-2 border-b border-border",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,t.jsx)("input",{ref:h,type:"text",value:g,onChange:e=>x(e.target.value),placeholder:m||"Search...",className:"w-full pl-9 pr-3 py-2 text-sm bg-background border border-border rounded-lg text-foreground placeholder:text-muted-foreground focus:ring-2 focus:ring-ring focus:border-primary outline-none"})]})}),(0,t.jsx)("ul",{className:"py-1 overflow-y-auto",style:{maxHeight:i.maxHeight},children:v?a?y.map((e,r)=>(0,t.jsxs)("li",{children:[e.label&&(0,t.jsx)("div",{className:"px-3 py-1 text-xs text-muted-foreground font-medium uppercase",children:e.label}),e.options.map(e=>(0,t.jsx)(s,{option:e,isSelected:e.value===o,onSelect:()=>l(e.value)},e.value)),r<y.length-1&&(0,t.jsx)("div",{className:"mx-3 my-1 border-t border-border"})]},r)):y.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(s,{option:e,isSelected:e.value===o,onSelect:()=>l(e.value)})},e.value)):(0,t.jsx)("li",{className:"px-4 py-6 text-center text-muted-foreground text-sm",children:"No results"})})]}),document.body)}function l({value:e,options:n,groups:s,onChange:l,disabled:c=!1,loading:d=!1,placeholder:u="Select...",size:m="md",className:f="",searchable:p=!1,searchPlaceholder:h,triggerContent:g,minWidth:x}){let[b,y]=(0,r.useState)(!1),[v,w]=(0,r.useState)({top:0,left:0,width:0,direction:"down",maxHeight:300}),j=(0,r.useRef)(null),C=(0,r.useMemo)(()=>s?s.flatMap(e=>e.options):n||[],[n,s]),k=C.find(t=>t.value===e),N=(0,r.useCallback)(()=>{if(j.current){let e=j.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,r=e.top,n=t>=Math.min(40*C.length+16+56*!!p,350)||t>=r,a=n?Math.min(t-20,350):Math.min(r-20,350);w({top:n?e.bottom+4:e.top-4,left:e.left,width:e.width,direction:n?"down":"up",maxHeight:Math.max(a,100)})}},[C.length,p]),_=(0,r.useCallback)(()=>{y(!1)},[]),E=k?.color&&a[k.color];return(0,t.jsxs)("div",{className:`relative inline-block ${f}`,children:[(0,t.jsxs)("button",{ref:j,type:"button",onClick:()=>{c||d||(b?y(!1):(N(),y(!0)))},disabled:c||d,className:` 33 flex items-center justify-between gap-2 min-w-[120px] 34 bg-card border border-border rounded-lg 35 font-medium cursor-pointer 36 hover:border-primary/40 hover:bg-surface 37 focus:outline-none focus:ring-2 focus:ring-ring focus:border-primary 38 transition-all duration-200 39 ${o[m]} 40 ${c||d?"opacity-50 cursor-not-allowed":""} 41 ${E||"text-foreground"} 42 `,children:[g||(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[k?.icon&&("string"==typeof k.icon?(0,t.jsx)("span",{className:"text-base leading-none",children:k.icon}):k.icon),k?.label||u]}),d?(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4 text-muted-foreground",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}):(0,t.jsx)("svg",{className:`h-4 w-4 text-muted-foreground transition-transform duration-200 ${b?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),b&&(0,t.jsx)(i,{options:n,groups:s,value:e,position:v,onSelect:t=>{t!==e&&l(t),y(!1)},onClose:_,triggerRef:j,searchable:p,searchPlaceholder:h,minWidth:x})]})}e.s(["default",()=>l])},930894,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n={sm:"px-2.5 py-1.5 text-xs h-[30px]",md:"px-3 py-2 text-sm h-[38px]",lg:"px-4 py-2.5 text-base h-[42px]"},a=(0,r.forwardRef)(({className:e="",size:r="md",error:a=!1,disabled:o,...s},i)=>(0,t.jsx)("input",{ref:i,disabled:o,className:` 43 w-full bg-background border rounded-lg text-foreground placeholder:text-muted-foreground 44 focus:outline-none focus:ring-2 focus:ring-ring focus:border-primary 45 transition-colors 46 ${n[r]} 47 ${a?"border-destructive":"border-input"} 48 ${o?"opacity-50 cursor-not-allowed":""} 49 ${e} 50 `,...s}));a.displayName="Input",e.s(["default",0,a])},779699,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080);function a({title:e,description:r,content:a,icon:o,iconColor:s,coords:i,onRef:l}){let c=e||a;return(0,n.createPortal)((0,t.jsxs)("div",{ref:l,className:"fixed px-3 py-2 bg-card border border-border rounded-lg shadow-xl pointer-events-none max-w-xs z-[99999]",style:{left:i?.x??-9999,to
50p:i?.y??-9999,opacity:+!!i,transition:"opacity 150ms ease-out"},children:[o?(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)("i",{className:`${o} text-sm flex-shrink-0 mt-0.5 ${!s?"text-primary":""}`,style:s?{color:s}:void 0}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:c}),r&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:r})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:c}),r&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:r})]}),i&&(0,t.jsx)("div",{className:`absolute w-2.5 h-2.5 bg-card border-border ${{top:"bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2 rotate-45",bottom:"top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 rotate-45",left:"right-0 top-1/2 -translate-y-1/2 translate-x-1/2 rotate-45",right:"left-0 top-1/2 -translate-y-1/2 -translate-x-1/2 rotate-45"}[i.placement]}`,style:{borderWidth:"top"===i.placement||"left"===i.placement?"0 1px 1px 0":"1px 0 0 1px"}})]}),document.body)}function o({children:e,title:n,description:o,content:s,icon:i,iconColor:l,position:c="top",delay:d=200,disabled:u=!1}){let[m,f]=(0,r.useState)(!1),[p,h]=(0,r.useState)(null),[g,x]=(0,r.useState)(!1),b=(0,r.useRef)(null),y=(0,r.useRef)(null),v=(0,r.useRef)(null);(0,r.useEffect)(()=>(x(!0),()=>x(!1)),[]),(0,r.useEffect)(()=>{m&&b.current&&y.current&&h(function(e,t,r){let n=0,a=0,o=r;switch(r){case"top":n=e.left+e.width/2-t.width/2,(a=e.top-t.height-8)<12&&(a=e.bottom+8,o="bottom");break;case"bottom":n=e.left+e.width/2-t.width/2,(a=e.bottom+8)+t.height>window.innerHeight-12&&(a=e.top-t.height-8,o="top");break;case"left":n=e.left-t.width-8,a=e.top+e.height/2-t.height/2,n<12&&(n=e.right+8,o="right");break;case"right":n=e.right+8,a=e.top+e.height/2-t.height/2,n+t.width>window.innerWidth-12&&(n=e.left-t.width-8,o="left")}return{x:n=Math.max(12,Math.min(n,window.innerWidth-t.width-12)),y:a=Math.max(12,Math.min(a,window.innerHeight-t.height-12)),placement:o}}(b.current.getBoundingClientRect(),y.current.getBoundingClientRect(),c))},[m,c]);let w=(0,r.useCallback)(()=>{u||(v.current=setTimeout(()=>{f(!0)},d))},[d,u]),j=(0,r.useCallback)(()=>{v.current&&(clearTimeout(v.current),v.current=null),f(!1),h(null)},[]);if((0,r.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]),!n&&!s||!(0,r.isValidElement)(e))return(0,t.jsx)(t.Fragment,{children:e});let C=(0,r.cloneElement)(e,{ref:t=>{b.current=t;let r=e.ref;"function"==typeof r?r(t):r&&"object"==typeof r&&(r.current=t)},onMouseEnter:t=>{w();let r=e.props.onMouseEnter;r&&r(t)},onMouseLeave:t=>{j();let r=e.props.onMouseLeave;r&&r(t)}});return(0,t.jsxs)(t.Fragment,{children:[C,g&&m&&(0,t.jsx)(a,{title:n,description:o,content:s,icon:i,iconColor:l,coords:p,onRef:e=>{y.current=e}})]})}e.s(["default",()=>o])},807284,e=>{"use strict";var t=e.i(843476),r=e.i(522016);let n=(0,e.i(271645).forwardRef)(({children:e,variant:n="gradient",size:a="md",href:o,external:s=!1,onClick:i,showArrow:l=!1,icon:c,disabled:d=!1,fullWidth:u=!1,className:m="",type:f="button"},p)=>{let h={gradient:` 51 bg-gradient-to-r from-brand-persian to-brand-blue text-white 52 shadow-lg shadow-primary/25 hover:shadow-primary/40 53 hover:scale-105 hover:-translate-y-1 54 active:scale-100 active:translate-y-0 55 `,primary:` 56 bg-primary text-primary-foreground 57 shadow-md shadow-primary/20 hover:shadow-primary/30 58 hover:bg-primary/90 hover:-translate-y-0.5 59 active:translate-y-0 60 `,secondary:` 61 bg-brand-pale text-brand-navy 62 hover:bg-brand-periwinkle hover:-translate-y-0.5 63 active:translate-y-0 64 `,white:` 65 bg-white text-brand-navy 66 shadow-lg shadow-black/10 hover:shadow-black/20 67 hover:bg-white/90 hover:-translate-y-0.5 68 active:translate-y-0 69 `,ghost:` 70 bg-transparent text-foreground 71 border-2 border-border 72 hover:bg-surface hover:border-link hover:text-link 73 hover:scale-105 hover:-translate-y-1 74 active:scale-100 active:translate-y-0 75 `},g=d?"opacity-50 cursor-not-allowed pointer-events-none":"",x=` 76 group inline-flex items-center justify-center font-semibold rounded-full 77 transition-all duration-300 ease-out transform 78 focus:outline-none focus:ring-2 focus:ring-ring/50 focus:ring-offset-2 focus:ring-offset-background 79 ${({sm:"px-4 py-2 text-sm gap-1.5",md:"px-6 py-3 text-base gap-2",lg:"px-8 py-4 text-lg gap-2.5"})[a]} 80 ${h[n]} 81 ${g} 82 ${u?"w-full":""} 83 ${m} 84 `.trim(),b=(0,t.jsxs)(t.Fragment,{children:[c&&(0,t.jsx)("i",{className:`fas ${c}`}),(0,t.jsx)("span",{children:e}),l&&(0,t.jsx)("i",{className:"fas fa-arrow-right text-sm transition-transform duration-300 group-hover:translate-x-1"})]});return o?s?(0,t.jsx)("a",{ref:p,href:o,target:"_blank",rel:"noopener noreferrer",className:x,onClick:i,children:b}):(0,t.jsx)(r.default,{ref:p,href:o,className:x,onClick:i,children:b}):(0,t.jsx)("button",{ref:p,type:f,onClick:i,disabled:d,className:x,children:b})});n.displayName="Button",e.s(["default",0,n])},742129,e=>{"use strict";e.i(194774);var t=e.i(863196),r=e.i(551382),n=e.i(93893);let a={en:r.default,es:n.default};e.s(["t",()=>function e(r,n){let o=r.split("."),s=a[n]||a.en;for(let e of o)if("object"==typeof s&&null!==s&&e in s)s=s[e];else{s=void 0;break}return void 0===s&&"en"!==n?e(r,"en"):"string"==typeof s?(0,t.applyBrandTokens)(s):r}])},363178,e=>{"use strict";var t=e.i(271645),r=(e,t,r,n,a,o,s,i)=>
84{let l=document.documentElement,c=["light","dark"];function d(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&o?a.map(e=>o[e]||e):a;r?(l.classList.remove(...n),l.classList.add(o&&o[t]?o[t]:t)):l.setAttribute(e,t)}),r=t,i&&c.includes(r)&&(l.style.colorScheme=r)}if(n)d(n);else try{let e=localStorage.getItem(t)||r,n=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;d(n)}catch(e){}},n=["light","dark"],a="(prefers-color-scheme: dark)",o="u"<typeof window,s=t.createContext(void 0),i={setTheme:e=>{},themes:[]},l=()=>{var e;return null!=(e=t.useContext(s))?e:i},c=e=>t.useContext(s)?t.createElement(t.Fragment,null,e.children):t.createElement(u,{...e}),d=["light","dark"],u=({forcedTheme:e,disableTransitionOnChange:r=!1,enableSystem:o=!0,enableColorScheme:i=!0,storageKey:l="theme",themes:c=d,defaultTheme:u=o?"system":"light",attribute:g="data-theme",value:x,children:b,nonce:y,scriptProps:v})=>{let[w,j]=t.useState(()=>f(l,u)),[C,k]=t.useState(()=>"system"===w?h():w),N=x?Object.values(x):c,_=t.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=h());let a=x?x[t]:t,s=r?p(y):null,l=document.documentElement,c=e=>{"class"===e?(l.classList.remove(...N),a&&l.classList.add(a)):e.startsWith("data-")&&(a?l.setAttribute(e,a):l.removeAttribute(e))};if(Array.isArray(g)?g.forEach(c):c(g),i){let e=n.includes(u)?u:null,r=n.includes(t)?t:e;l.style.colorScheme=r}null==s||s()},[y]),E=t.useCallback(e=>{let t="function"==typeof e?e(w):e;j(t);try{localStorage.setItem(l,t)}catch(e){}},[w]),S=t.useCallback(t=>{k(h(t)),"system"===w&&o&&!e&&_("system")},[w,e]);t.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),t.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?j(e.newValue):E(u))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[E]),t.useEffect(()=>{_(null!=e?e:w)},[e,w]);let I=t.useMemo(()=>({theme:w,setTheme:E,forcedTheme:e,resolvedTheme:"system"===w?C:w,themes:o?[...c,"system"]:c,systemTheme:o?C:void 0}),[w,E,e,C,o,c]);return t.createElement(s.Provider,{value:I},t.createElement(m,{forcedTheme:e,storageKey:l,attribute:g,enableSystem:o,enableColorScheme:i,defaultTheme:u,value:x,themes:c,nonce:y,scriptProps:v}),b)},m=t.memo(({forcedTheme:e,storageKey:n,attribute:a,enableSystem:o,enableColorScheme:s,defaultTheme:i,value:l,themes:c,nonce:d,scriptProps:u})=>{let m=JSON.stringify([a,n,i,e,c,l,o,s]).slice(1,-1);return t.createElement("script",{...u,suppressHydrationWarning:!0,nonce:"u"<typeof window?d:"",dangerouslySetInnerHTML:{__html:`(${r.toString()})(${m})`}})}),f=(e,t)=>{let r;if(!o){try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t}},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},h=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light");e.s(["ThemeProvider",()=>c,"useTheme",()=>l])},964324,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="feedback_visitor_name",a="feedback_pins_visible",o=(0,r.createContext)(void 0);function s({children:e}){let[s,i]=(0,r.useState)(!1),[l,c]=(0,r.useState)(""),[d,u]=(0,r.useState)("idle"),[m,f]=(0,r.useState)(null),[p,h]=(0,r.useState)(null),[g,x]=(0,r.useState)(!0);(0,r.useEffect)(()=>{let e=window.localStorage.getItem(n);e&&c(e),"false"===window.localStorage.getItem(a)&&x(!1)},[]);let b=(0,r.useCallback)(e=>{let t=e.trim();c(t),window.localStorage.setItem(n,t)},[]),y=(0,r.useCallback)(()=>i(!0),[]),v=(0,r.useCallback)(()=>{i(!1),u("idle"),f(null),h(null)},[]),w=(0,r.useCallback)(()=>{f(null),h(null),u("placing-pin")},[]),j=(0,r.useCallback)(()=>{u("idle"),f(null)},[]),C=(0,r.useCallback)(e=>{f(e),u("composing")},[]),k=(0,r.useCallback)(()=>{f(null),u("idle")},[]),N=(0,r.useCallback)(e=>{h(e),u("viewing"),i(!0)},[]),_=(0,r.useCallback)(()=>{h(null),u("idle")},[]),E=(0,r.useCallback)(()=>{x(e=>{let t=!e;return window.localStorage.setItem(a,String(t)),t})},[]),S=(0,r.useMemo)(()=>({isPanelOpen:s,openPanel:y,closePanel:v,visitorName:l,setVisitorName:b,mode:d,startPlacingPin:w,cancelPlacingPin:j,pendingPin:m,placePin:C,clearPendingPin:k,viewingItemId:p,viewItem:N,closeItemView:_,arePinsVisible:g,togglePinsVisible:E}),[s,y,v,l,b,d,w,j,m,C,k,p,N,_,g,E]);return(0,t.jsx)(o.Provider,{value:S,children:e})}function i(){let e=(0,r.useContext)(o);if(!e)throw Error("useFeedbackWidget must be used within a FeedbackWidgetProvider");return e}e.s(["FeedbackWidgetProvider",()=>s,"useFeedbackWidget",()=>i])},557181,291169,e=>{"use strict";async function t(e){let t=await e.json().catch(()=>null);if(!e.ok)throw Error(t?.error||`Request failed with status ${e.status}`);return t}async function r(e){let r=await fetch(`/api/feedback/items?page_path=${encodeURIComponent(e)}`);return(await t(r)).data}async function n(){let e=await fetch("/api/feedback/items");return(await t(e)).data}async function a(e){let r=await fetch("/api/feedback/items",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});return(await t(r)).data}async function o(e,r,n){let a=await fetch(`/api/feedback/items/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({status:r,author_name:n})});return(await t(a)).data}async function s(e){let r=await fetch(`/api/feedback/items/${e}`,{method:"DELETE"});await t(r)}async function i(e,r){let n=await fetch(`/api/feedback/items/${e}/replies`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});return(await t(n)).data}e.s(["deleteFeedbackItem",()=>s,"fetchAllFeedback",()=>n,"fetchPinsForPage",()=>r,"submitFeedbackItem",()=>a,"submitReply",()=>i,"updateFeedbackStatus",()=>o],557181),e.s(["FEEDBACK_CATEGORIES",0,["defect","copy","design","other"],"FEEDBACK_STATUSES",0,["open","done","in_review","closed"]],291169)},479918,596382,e=>{"use strict";var t=e.i(843476),r=e.i(767112),n=e.i(742129);let a={defect:"feedback.category.defect",copy:"feedback.category.copy",design:"feedback.category.design",other:"feedback.category.other"},o={defect:"fa-bug",copy:"fa-font",design:"fa-palette",other:"fa-comment-dots"};function s({category:e}){let{language:s}=(0,r.useLanguage)();return(0,t.jsxs)("span",{className:"inline-flex shrink-0 items-center gap-1.5 rounded-full border border-border px-2 py-0.5 text-[11px] font-medium uppercase tracking-wide text-muted-foreground",children:[(0,t.jsx)("i",{className:`fas ${o[e]} text-[10px]`,"aria-hidden":"true"}),(0,n.t)(a[e],s)]})}e.s(["CATEGORY_ICON",0,o,"CATEGORY_LABEL_KEY",0,a,"default",()=>s],479918);let i=[{amount:60,unit:"second"},{amount:60,unit:"minute"},{amount:24,unit:"hour"},{amount:7,unit:"day"},{amount:4.34524,unit:"week"},{amount:12,unit:"month"},{amount:1/0,unit:"year"}];function l(e,t){let r=new Date(e).getTime();if(Number.isNaN(r))return"";let n=new Intl.RelativeTimeFormat(t,{numeric:"auto"}),a=(r-Date.now())/1e3;for(let e of i){if(Math.abs(a)<e.amount)return n.format(Math.round(a),e.unit);a/=e.amount}return""}function c(e,t){let r=new Date(e);
84return Number.isNaN(r.getTime())?"":r.toLocaleString(t,{dateStyle:"medium",timeStyle:"short"})}e.s(["formatAbsoluteTime",()=>c,"formatRelativeTime",()=>l],596382)},766071,e=>{"use strict";var t=e.i(843476),r=e.i(767112),n=e.i(742129);let a={open:"feedback.board.statusOpen",done:"feedback.board.statusDone",in_review:"feedback.board.statusInReview",closed:"feedback.board.statusClosed"},o={open:{chip:"bg-destructive/10 text-destructive",dot:"bg-destructive"},done:{chip:"bg-warning/10 text-warning",dot:"bg-warning"},in_review:{chip:"bg-accent/10 text-accent",dot:"bg-accent"},closed:{chip:"bg-success/10 text-success",dot:"bg-success"}};function s({status:e}){let{language:s}=(0,r.useLanguage)(),i=o[e];return(0,t.jsxs)("span",{className:`inline-flex shrink-0 items-center gap-1.5 rounded-full px-2 py-0.5 text-xs font-medium ${i.chip}`,children:[(0,t.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${i.dot}`}),(0,n.t)(a[e],s)]})}e.s(["STATUS_LABEL_KEY",0,a,"default",()=>s])},610461,e=>{"use strict";var t=e.i(843476),r=e.i(767112),n=e.i(742129),a=e.i(291169),o=e.i(766071);function s({status:e,onChange:s,className:i=""}){let{language:l}=(0,r.useLanguage)();return(0,t.jsx)("select",{value:e,onChange:e=>s(e.target.value),className:`rounded-lg border border-border bg-surface px-2 py-1.5 text-sm font-medium text-foreground focus:border-primary focus:outline-none sm:py-1 sm:text-xs ${i}`,children:a.FEEDBACK_STATUSES.map(e=>(0,t.jsx)("option",{value:e,children:(0,n.t)(o.STATUS_LABEL_KEY[e],l)},e))})}e.s(["default",()=>s])},484916,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(767112),a=e.i(742129);function o(e){let t=window.location.origin;return`${t}${e.page_path}?fb=${encodeURIComponent(e.reference)}`}function s({item:e}){let{language:s}=(0,n.useLanguage)(),[i,l]=(0,r.useState)(!1);async function c(){let t=o(e);try{await navigator.clipboard.writeText(t),l(!0)}catch(e){console.error("Failed to copy link",e)}}return(0,r.useEffect)(()=>{if(!i)return;let e=setTimeout(()=>l(!1),2e3);return()=>clearTimeout(e)},[i]),(0,t.jsxs)("button",{type:"button",onClick:c,className:"inline-flex items-center gap-1.5 text-xs font-medium text-muted-foreground transition-colors hover:text-primary",children:[(0,t.jsx)("i",{className:`fas ${i?"fa-check":"fa-link"} text-[10px]`,"aria-hidden":"true"}),i?(0,a.t)("feedback.detail.copied",s):(0,a.t)("feedback.detail.copyLink",s)]})}e.s(["buildItemLink",()=>o,"default",()=>s])},27157,610954,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(767112),a=e.i(742129),o=e.i(557181),s=e.i(596382),i=e.i(766071);function l({entry:e}){let{language:r}=(0,n.useLanguage)();return(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 text-xs text-muted-foreground",children:[(0,t.jsx)("i",{className:"fas fa-arrow-right-arrow-left text-[10px]","aria-hidden":"true"}),(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.author_name}),e.from_status&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:(0,a.t)(i.STATUS_LABEL_KEY[e.from_status],r)}),(0,t.jsx)("span",{"aria-hidden":"true",children:"â"})]}),e.to_status&&(0,t.jsx)("span",{className:"font-medium text-foreground",children:(0,a.t)(i.STATUS_LABEL_KEY[e.to_status],r)}),(0,t.jsxs)("span",{className:"text-muted-foreground/70",title:(0,s.formatAbsoluteTime)(e.created_at,r),children:["· ",(0,s.formatRelativeTime)(e.created_at,r)]})]})}function c({entry:e}){let{language:r}=(0,n.useLanguage)();return(0,t.jsxs)("div",{className:"text-sm",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.author_name}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground/70",title:(0,s.formatAbsoluteTime)(e.created_at,r),children:(0,s.formatRelativeTime)(e.created_at,r)})]}),(0,t.jsx)("p",{className:"mt-0.5 text-muted-foreground",children:e.reply})]})}function d({feedbackItemId:e,replies:s,defaultAuthorName:i,onReplyAdded:d,showHeading:u=!1}){let{language:m}=(0,n.useLanguage)(),[f,p]=(0,r.useState)(i),[h,g]=(0,r.useState)(""),[x,b]=(0,r.useState)(!1),y=[...s].sort((e,t)=>
84e.created_at.localeCompare(t.created_at));async function v(t){if(t.preventDefault(),f.trim()&&h.trim()){b(!0);try{let t=await (0,o.submitReply)(e,{author_name:f.trim(),reply:h.trim()});d(t),g("")}catch(e){console.error("Failed to submit reply",e)}finally{b(!1)}}}return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[u&&(0,t.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-muted-foreground",children:(0,a.t)("feedback.detail.thread",m)}),y.length>0?(0,t.jsx)("div",{className:"flex flex-col gap-2.5",children:y.map(e=>"status_change"===e.kind?(0,t.jsx)(l,{entry:e},e.id):(0,t.jsx)(c,{entry:e},e.id))}):u&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,a.t)("feedback.detail.threadEmpty",m)}),(0,t.jsxs)("form",{onSubmit:v,className:"flex flex-col gap-2 border-t border-border pt-3 sm:flex-row",children:[(0,t.jsx)("input",{type:"text",value:f,onChange:e=>p(e.target.value),placeholder:(0,a.t)("feedback.board.replyNamePlaceholder",m),className:"rounded-lg border border-border bg-surface px-3 py-1.5 text-base text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none sm:w-32 sm:text-sm"}),(0,t.jsx)("input",{type:"text",value:h,onChange:e=>g(e.target.value),placeholder:(0,a.t)("feedback.board.replyPlaceholder",m),className:"flex-1 rounded-lg border border-border bg-surface px-3 py-1.5 text-base text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none sm:text-sm"}),(0,t.jsx)("button",{type:"submit",disabled:!f.trim()||!h.trim()||x,className:"rounded-lg bg-primary px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-50",children:(0,a.t)("feedback.board.reply",m)})]})]})}function u({onConfirm:e}){let{language:o}=(0,n.useLanguage)(),[s,i]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1);async function d(){c(!0);try{await e()}catch(e){console.error("Failed to delete feedback item",e),c(!1)}}return s?(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2",children:[(0,t.jsx)("span",{className:"flex-1 text-xs font-medium text-destructive",children:(0,a.t)("feedback.detail.deleteConfirm",o)}),(0,t.jsx)("button",{type:"button",onClick:d,disabled:l,className:"rounded-md bg-destructive px-2 py-1 text-xs font-medium text-white transition-colors hover:bg-destructive/90 disabled:cursor-not-allowed disabled:opacity-50",children:l?"...":(0,a.t)("feedback.detail.deleteConfirmButton",o)}),(0,t.jsx)("button",{type:"button",onClick:()=>i(!1),disabled:l,className:"text-xs font-medium text-muted-foreground transition-colors hover:text-foreground",children:(0,a.t)("feedback.cancel",o)})]}):(0,t.jsxs)("button",{type:"button",onClick:()=>i(!0),className:"flex items-center gap-1.5 self-start text-xs font-medium text-muted-foreground transition-colors hover:text-destructive",children:[(0,t.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}),(0,a.t)("feedback.detail.delete",o)]})}e.s(["default",()=>d],27157),e.s(["default",()=>u],610954)},940140,e=>{"use strict";var t=e.i(843476),r=e.i(363178);function n({children:e}){return(0,t.jsx)(r.ThemeProvider,{attribute:"class",defaultTheme:"dark",enableSystem:!1,children:e})}e.s(["ThemeProvider",()=>n])},803925,e=>{"use strict";var t=e.i(843476),r=e.i(618566),n=e.i(271645),a=e.i(964324),o=e.i(557181);let s="data-feedback-ui";function i(e){return!(!e||/[:[\]/\\()#!%.]/.test(e))&&/^[a-zA-Z][\w-]*$/.test(e)}
84function l(e){return!(!/^[a-zA-Z][\w-]*$/.test(e)||/^(radix|headlessui|react-aria|:r)/i.test(e)||/^[0-9a-f]{8,}$/i.test(e))}function c(e){try{return 1===document.querySelectorAll(e).length}catch{return!1}}function d(e){let{anchor_selector:t,anchor_offset_x:r,anchor_offset_y:n}=e;if(!t)return null;let a=null;try{a=document.querySelector(t)}catch{return null}if(!a)return null;let o=a.getBoundingClientRect();return 0===o.width&&0===o.height?null:{left:o.left+(r??50)/100*o.width,top:o.top+(n??50)/100*o.height,anchored:!0}}var u=e.i(767112),m=e.i(742129);function f({pinCount:e}){let{openPanel:r}=(0,a.useFeedbackWidget)(),{language:n}=(0,u.useLanguage)();return(0,t.jsxs)("button",{type:"button",onClick:r,[s]:"",className:"fixed bottom-4 right-4 z-[99998] flex items-center gap-2 rounded-full bg-primary px-3.5 py-3 text-sm font-medium text-white shadow-2xl transition-transform hover:scale-105 hover:bg-primary/90 sm:bottom-6 sm:right-6 sm:px-4","aria-label":(0,m.t)("feedback.openAriaLabel",n),children:[(0,t.jsx)("svg",{className:"h-5 w-5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8-1.06 0-2.077-.16-3.02-.457L3 21l1.55-4.65C3.564 15.081 3 13.588 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),(0,t.jsx)("span",{className:"hidden sm:inline",children:(0,m.t)("feedback.floatingButton",n)}),e>0&&(0,t.jsx)("span",{className:"flex h-5 min-w-5 items-center justify-center rounded-full bg-white px-1.5 text-xs font-bold text-primary","aria-label":`${e} ${(0,m.t)("feedback.pinCountAriaLabel",n)}`,children:e})]})}var p=e.i(174080),h=e.i(522016);function g(){let{setVisitorName:e}=(0,a.useFeedbackWidget)(),{language:r}=(0,u.useLanguage)(),[o,s]=(0,n.useState)("");return(0,t.jsxs)("form",{onSubmit:function(t){t.preventDefault(),o.trim()&&e(o)},className:"flex flex-col gap-4 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground",children:(0,m.t)("feedback.namePrompt.heading",r)}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:(0,m.t)("feedback.namePrompt.description",r)})]}),(0,t.jsx)("input",{type:"text",value:o,onChange:e=>s(e.target.value),placeholder:(0,m.t)("feedback.namePrompt.placeholder",r),autoFocus:!0,className:"rounded-lg border border-border bg-surface px-3 py-2 text-base text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none sm:text-sm"}),(0,t.jsx)("button",{type:"submit",disabled:!o.trim(),className:"rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-50",children:(0,m.t)("feedback.namePrompt.continue",r)})]})}var x=e.i(291169),b=e.i(479918);function y({value:e,onChange:r}){let{language:n}=(0,u.useLanguage)();return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1.5 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:(0,m.t)("feedback.category.label",n)}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:x.FEEDBACK_CATEGORIES.map(a=>{let o=a===e;return(0,t.jsxs)("button",{type:"button",onClick:()=>r(a),"aria-pressed":o,className:`inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1.5 text-xs font-medium transition-colors ${o?"border-primary bg-primary text-white":"border-border text-muted-foreground hover:bg-surface hover:text-foreground"}`,children:[(0,t.jsx)("i",{className:`fas ${b.CATEGORY_ICON[a]} text-[10px]`,"aria-hidden":"true"}),(0,m.t)(b.CATEGORY_LABEL_KEY[a],n)]},a)})})]})}function v({label:e,value:r}){return(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"shrink-0 text-primary",children:e}),(0,t.jsx)("span",{className:"min-w-0 break-words text-muted-foreground",children:r})]})}function w({anchor:e,pagePath:r,isApproximate:n=!1}){let{language:a}=(0,u.useLanguage)(),{anchor_selector:o,anchor_text:s,anchor_offset_x:i,anchor_offset_y:l,viewport_width:c}=e;return(0,t.jsxs)("div",{className:"rounded-lg bg-surface p-3 font-mono text-[11px] leading-relaxed",children:[o?(0,t.jsx)(v,{label:(0,m.t)("feedback.anch
84or.element",a),value:o}):(0,t.jsx)("p",{className:"text-muted-foreground",children:(0,m.t)("feedback.anchor.noElement",a)}),null!==i&&null!==l&&(0,t.jsx)(v,{label:(0,m.t)("feedback.anchor.inside",a),value:`${Math.round(i)}% \xd7 ${Math.round(l)}%`}),(0,t.jsx)(v,{label:(0,m.t)("feedback.anchor.route",a),value:r}),s&&(0,t.jsx)(v,{label:(0,m.t)("feedback.anchor.text",a),value:`\xab${s}\xbb`}),null!==c&&(0,t.jsx)(v,{label:(0,m.t)("feedback.anchor.seenAt",a),value:`${c} px`}),n&&(0,t.jsx)("p",{className:"mt-2 border-t border-border pt-2 font-sans text-xs text-warning",children:(0,m.t)("feedback.anchor.approximate",a)})]})}function j({pathname:e,onCreated:r}){let{visitorName:s,pendingPin:i,clearPendingPin:l}=(0,a.useFeedbackWidget)(),{language:c}=(0,u.useLanguage)(),[d,f]=(0,n.useState)(""),[p,h]=(0,n.useState)("other"),[g,x]=(0,n.useState)(!1),[b,v]=(0,n.useState)(null);if(!i)return null;async function j(t){if(t?.preventDefault(),d.trim()&&i&&!g){x(!0),v(null);try{let t=await (0,o.submitFeedbackItem)({page_path:e,author_name:s,comment:d.trim(),category:p,pin_x:i.x,pin_y:i.y,anchor_selector:i.anchor.anchor_selector,anchor_text:i.anchor.anchor_text,anchor_offset_x:i.anchor.anchor_offset_x,anchor_offset_y:i.anchor.anchor_offset_y,viewport_width:i.anchor.viewport_width});r(t),f(""),l()}catch(e){v(e instanceof Error?e.message:(0,m.t)("feedback.composer.genericError",c))}finally{x(!1)}}}return(0,t.jsxs)("form",{onSubmit:j,className:"flex flex-col gap-4 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground",children:(0,m.t)("feedback.composer.heading",c)}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:(0,m.t)("feedback.composer.description",c)})]}),(0,t.jsx)(w,{anchor:i.anchor,pagePath:e}),(0,t.jsx)(y,{value:p,onChange:h}),(0,t.jsx)("textarea",{value:d,onChange:e=>f(e.target.value),onKeyDown:function(e){"Enter"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),j())},placeholder:(0,m.t)("feedback.composer.placeholder",c),rows:5,autoFocus:!0,className:"resize-none rounded-lg border border-border bg-surface px-3 py-2 text-base text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none sm:text-sm"}),b&&(0,t.jsx)("p",{className:"text-sm text-destructive",children:b}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:l,className:"flex-1 rounded-lg border border-border px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-surface",children:(0,m.t)("feedback.cancel",c)}),(0,t.jsx)("button",{type:"submit",disabled:!d.trim()||g,className:"flex-1 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-primary/90 disabled:cursor-not-allowed disabled:opacity-50",children:g?(0,m.t)("feedback.composer.saving",c):(0,m.t)("feedback.composer.save",c)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:(0,m.t)("feedback.composer.hint",c)})]})}var C=e.i(596382),k=e.i(610461),N=e.i(766071),_=e.i(484916),E=e.i(27157),S=e.i(610954);function I({item:e,pins:r,onUpdate:s,onDelete:i}){let{language:l}=(0,u.useLanguage)(),{closeItemView:c,viewItem:f,visitorName:p}=(0,a.useFeedbackWidget)(),h=[...r].sort((e,t)=>e.pin_number-t.pin_number),g=h.findIndex(t=>t.id===e.id),x=g>0?h[g-1]:null,y=g>=0&&g<h.length-1?h[g+1]:null,v=!!e.anchor_selector,j=!!e.anchor_selector&&null===d(e);async function I(t){let r=e.status;s({...e,status:t});try{let r=await (0,o.updateFeedbackStatus)(e.id,t,p||"Someone");r&&s({...e,status:t,replies:[...e.replies??[],r]})}catch(t){console.error("Failed to update status",t),s({...e,status:r})}}async function T(){await (0,o.deleteFeedbackItem)(e.id),i(e.id),c()}return(0,n.useEffect)(()=>{function e(e){let t=e.target;if(t instanceof HTMLElement){let e=t.tagName;if("INPUT"===e||"TEXTAREA"===e||"SELECT"===e)return}"ArrowLeft"===e.key&&x&&f(x.id),"ArrowRight"===e.key&&y&&f(y.id)}return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[x,y,f]),(0,t.jsxs)("div",{className:"flex flex-col gap-4 p-6",children:[(0,t.jsxs)("button",{type:"button",onClick:c,className:"flex items-center gap-1 self-start text-sm font-medium text-muted-foreground transition-colors hover:text-foreground",children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),(0,m.t)("common.back",l)]}),h.length>1&&(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 rounded-lg bg-surface p-1",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>x&&f(x.id),disabled:!x,className:"flex flex-1 items-center justify-center gap-1 rounded-md px-3 py-1.5 text-sm font-medium text-foreground transition-colors hover:bg-card disabled:cursor-not-allowed disabled:opacity-40",children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),(0,m.t)("feedback.detail.previous",l)]}),(0,t.jsxs)("span",{className:"shrink-0 text-xs text-muted-foreground",children:[g+1," / ",h.length]}),(0,t.jsxs)("button",{type:"button",onClick:()=>y&&f(y.id),disabled:!y,className:"flex flex-1 items-center justify-center gap-1 rounded-md px-3 py-1.5 text-sm font-medium text-foreground transition-colors hover:bg-card disabled:cursor-not-allowed disabled:opacity-40",children:[(0,m.t)("feedback.detail.next",l),(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{className:"font-mono text-xs font-semibold text-primary",children:e.reference}),(0,t.jsx)(N.default,{status:e.status}),(0,t.jsx)(b.default,{category:e.category})]}),(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[(0,t.jsxs)("span",{className:"font-medium text-foreground",children:["#",e.pin_number]})," · ",e.author_name," ","·"," ",(0,t.jsx)("span",{title:(0,C.formatAbsoluteTime)(e.created_at,l),children:(0,C.formatRelativeTime)(e.created_at,l)})]})]}),(0,t.jsx)(w,{anchor:e,pagePath:e.page_path,isApproximate:j}),(0,t.jsx)("p",{className:"whitespace-pre-wrap text-sm text-foreground",children:e.comment}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[v&&(0,t.jsxs)("button",{type:"button",onClick:()=>(function(e){if(!e.anchor_selector)return!1;let t=null;try{t=document.querySelector(e.anchor_selector)}catch{return!1}return!!t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),!0)})(e),className:"inline-flex items-center gap-1.5 text-xs font-medium text-muted-foreground transition-colors hover:text-primary",children:[(0,t.jsx)("i",{className:"fas fa-crosshairs text-[10px]","aria-hidden":"true"}),(0,m.t)("feedback.detail.scrollToElement",l)]}),(0,t.jsx)(_.default,{item:e}),(0,t.jsx)(S.default,{onConfirm:T})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-border p-3",children:[(0,t.jsx)("p",{className:"mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground",children:(0,m.t)("feedback.detail.statusSectionTitle",l)}),(0,t.jsx)(k.default,{status:e.status,onChange:I,className:"w-full"}),(0,t.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:(0,m.t)("feedback.detail.statusHint",l)})]}),(0,t.jsx)(E.default,{feedbackItemId:e.id,replies:e.replies??[],defaultAuthorName:p,onReplyAdded:t=>s({...e,replies:[...e.replies??[],t]}),showHeading:!0})]})}function T({pins:e,onAddPin:r}){let{language:n}=(0,u.useLanguage)(),{visitorName:o,viewItem:s}=(0,a.useFeedbackWidget)(),i=[...e].sort((e,t)=>
84e.pin_number-t.pin_number);return(0,t.jsxs)("div",{className:"flex flex-col gap-4 p-6",children:[(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[(0,m.t)("feedback.commentingAs",n)," ",(0,t.jsx)("strong",{className:"text-foreground",children:o})]}),(0,t.jsxs)("button",{type:"button",onClick:r,className:"flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-primary/90",children:[(0,t.jsx)("i",{className:"fas fa-hand-pointer text-sm","aria-hidden":"true"}),(0,m.t)("feedback.addPin",n)]}),i.length>0&&(0,t.jsx)("div",{className:"flex flex-col gap-2",children:i.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>s(e.id),className:"flex flex-col gap-1.5 rounded-lg border border-border p-3 text-left transition-colors hover:border-primary hover:bg-surface",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)("span",{className:"font-mono text-[11px] font-semibold text-primary",children:e.reference}),(0,t.jsx)(N.default,{status:e.status}),(0,t.jsx)(b.default,{category:e.category})]}),(0,t.jsx)("p",{className:"line-clamp-2 text-sm text-foreground",children:e.comment}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["#",e.pin_number," · ",e.author_name," ·"," ",(0,C.formatRelativeTime)(e.created_at,n)]})]},e.id))})]})}function P({pathname:e,pins:r,onItemCreated:o,onItemUpdated:i,onItemDeleted:l}){let{isPanelOpen:c,closePanel:d,visitorName:f,mode:x,startPlacingPin:b,cancelPlacingPin:y,pendingPin:v,viewingItemId:w,arePinsVisible:C,togglePinsVisible:k}=(0,a.useFeedbackWidget)(),{language:N}=(0,u.useLanguage)(),_=w?r.find(e=>e.id===w)??null:null,[E,S]=(0,n.useState)(!1);(0,n.useEffect)(()=>S(!0),[]);let P=(0,n.useCallback)(e=>{"Escape"===e.key&&("placing-pin"===x?y():d())},[x,y,d]);return((0,n.useEffect)(()=>{if(c||"placing-pin"===x)return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)},[c,x,P]),(0,n.useEffect)(()=>{if("placing-pin"===x)return document.body.style.cursor="crosshair",()=>{document.body.style.cursor=""}},[x]),E)?"placing-pin"===x?(0,p.createPortal)((0,t.jsxs)("div",{[s]:"",className:"fixed inset-x-4 top-4 z-[99999] mx-auto flex max-w-sm flex-wrap items-center justify-center gap-2 rounded-2xl border border-border bg-card px-4 py-2.5 text-center shadow-2xl sm:inset-x-auto sm:left-1/2 sm:max-w-none sm:-translate-x-1/2 sm:flex-nowrap sm:rounded-full sm:py-2",children:[(0,t.jsx)("span",{className:"text-sm text-foreground",children:(0,m.t)("feedback.placingPinBanner",N)}),(0,t.jsx)("button",{type:"button",onClick:y,className:"rounded-full border border-border px-3 py-1 text-xs font-medium text-foreground transition-colors hover:bg-surface",children:(0,m.t)("feedback.cancel",N)})]}),document.body):c?(0,p.createPortal)((0,t.jsx)("div",{[s]:"",className:"pointer-events-none fixed inset-0 z-[99998] flex justify-end",children:(0,t.jsxs)("div",{className:"pointer-events-auto relative flex h-full w-full max-w-sm flex-col border-l border-border bg-card shadow-2xl animate-in slide-in-from-right duration-200",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b border-border px-6 py-4",children:[(0,t.jsx)("h2",{className:"text-base font-semibold text-foreground",children:(0,m.t)("feedback.floatingButton",N)}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("button",{type:"button",onClick:k,className:"rounded-lg p-1.5 text-muted-foreground transition-colors hover:bg-surface hover:text-foreground","aria-label":C?(0,m.t)("feedback.hidePins",N):(0,m.t)("feedback.showPins",N),title:C?(0,m.t)("feedback.hidePins",N):(0,m.t)("feedback.showPins",N),children:(0,t.jsx)("i",{className:`fas ${C?"fa-eye":"fa-eye-slash"} text-sm`,"aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button",onClick:d,className:"rounded-lg p-1 text-muted-foreground transition-colors hover:bg-surface hover:text-foreground","aria-label":(0,m.t)("feedback.closeAriaLabel",N),children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto",children:f?"composing"===x&&v?(0,t.jsx)(j,{pathname:e,onCreated:o}):"viewing"===x&&_?(0,t.jsx)(I,{item:_,pins:r,onUpdate:i,onDelete:l}):(0,t.jsx)(T,{pins:r,onAddPin:b}):(0,t.jsx)(g,{})}),(0,t.jsx)("div",{className:"shrink-0 border-t border-border px-6 py-4",children:(0,t.jsx)(h.default,{href:"/feedback-board",target:"_blank",rel:"noopener noreferrer",className:"text-sm font-medium text-primary hover:underline",children:(0,m.t)("feedback.viewAll",N)})})]})}),document.body):null:null}let L={open:"bg-destructive",done:"bg-warning",in_review:"bg-accent",closed:"bg-success"};function A({number:e,status:r,label:n,left:a,top:o,isNew:s,isSelected:i,isApproximate:l,onSelect:c}
84){return(0,t.jsxs)("button",{type:"button",onClick:c,className:"pointer-events-auto absolute -translate-x-1/2 -translate-y-1/2 p-2",style:{left:a,top:o},"aria-label":n,title:n,children:[s&&(0,t.jsx)("span",{className:`absolute inset-2 animate-ping rounded-full opacity-75 ${L[r]}`}),(0,t.jsx)("span",{className:`relative flex h-7 w-7 animate-in items-center justify-center rounded-full text-xs font-bold text-white shadow-lg transition-transform zoom-in duration-300 hover:scale-110 ${L[r]} ${l?"ring-2 ring-white/60 ring-offset-1 ring-offset-white/30 [border:2px_dashed_white]":"ring-2 ring-white/80"} ${i?"scale-125 ring-4 ring-primary":""}`,children:e})]})}function M(){let e=document.documentElement;return{docWidth:e.scrollWidth,docHeight:e.scrollHeight,scrollX:window.scrollX,scrollY:window.scrollY}}function B(e,t,r){return{left:e/100*r.docWidth-r.scrollX,top:t/100*r.docHeight-r.scrollY}}function O({pins:e,newlyCreatedId:r,selectedId:a,onSelect:o,draftPin:i}){let[l,c]=(0,n.useState)(null);return((0,n.useEffect)(()=>{c(M());let e=null;function t(){null===e&&(e=requestAnimationFrame(()=>{c(M()),e=null}))}return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t),null!==e&&cancelAnimationFrame(e)}},[]),l&&(0!==e.length||i))?(0,t.jsxs)("div",{className:"pointer-events-none fixed inset-0 z-[99997]",[s]:"",children:[e.map(e=>{let n=d(e),s=n??B(e.pin_x,e.pin_y,l);return(0,t.jsx)(A,{number:e.pin_number,status:e.status,label:`${e.reference} \xb7 ${e.author_name}: ${e.comment}`,left:s.left,top:s.top,isNew:e.id===r,isSelected:e.id===a,isApproximate:!n,onSelect:()=>o(e.id)},e.id)}),i&&(0,t.jsx)(A,{number:i.number,status:"open",label:`#${i.number}`,...function(e,t){let{anchor_selector:r,anchor_offset_x:n,anchor_offset_y:a}=e.anchor;if(r)try{let e=document.querySelector(r);if(e){let t=e.getBoundingClientRect();if(t.width>0||t.height>0)return{left:t.left+(n??50)/100*t.width,top:t.top+(a??50)/100*t.height}}}catch{}return B(e.x,e.y,t)}(i,l),isNew:!0,isSelected:!1,isApproximate:!1},"__draft__")]}):null}function $(){let e=(0,r.usePathname)()??"",{mode:d,placePin:u,pendingPin:m,isPanelOpen:p,viewItem:h,viewingItemId:g,arePinsVisible:x}=(0,a.useFeedbackWidget)(),[b,y]=(0,n.useState)([]),[v,w]=(0,n.useState)(null),j=(0,n.useRef)(null),C=(0,n.useRef)(!1),k="composing"===d&&m?{x:m.x,y:m.y,number:b.length+1,anchor:m.anchor}:null;(0,n.useEffect)(()=>{if(!e)return;let t=!1;return(0,o.fetchPinsForPage)(e).then(e=>{t||y(e)}).catch(e=>{console.error("Failed to load feedback pins",e)}),()=>{t=!0}},[e]),(0,n.useEffect)(()=>{if(C.current||0===b.length)return;let e=new URLSearchParams(window.location.search).get("fb");if(!e){C.current=!0;return}let t=b.find(t=>t.reference===e);t&&(C.current=!0,h(t.id))},[b,h]),(0,n.useEffect)(()=>{if("placing-pin"===d)return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0});function e(e){var t;if((t=e.target)instanceof Element&&t.closest(`[${s}]`))return;e.preventDefault(),e.stopPropagation();let r=document.documentElement;u({x:e.pageX/r.scrollWidth*100,y:e.pageY/r.scrollHeight*100,anchor:function(e){let t=window.innerWidth,r=e.target;if(!(r instanceof Element))return{anchor_selector:null,anchor_text:null,anchor_offset_x:null,anchor_offset_y:null,viewport_width:t};let n=function(e){if(e.id&&l(e.id)){let t=`#${e.id}`;if(c(t))return t}let t=[],r=e;for(let e=0;r&&e<5&&"BODY"!==r.tagName&&"HTML"!==r.tagName;e+=1){t.unshift(function(e){let t=e.parentElement,r=function(e){let t,r=e.tagName.toLowerCase(),n=0===(t=Array.from(e.classList).filter(i)).length?null:t.reduce((e,t)=>t.length>e.length?t:e);return n?`${r}.${n}`:r}(e);if(!t)return r;let n=Array.from(t.children).filter(t=>t.tagName===e.tagName);return n.length<2?r:`${r}:nth-of-type(${n.indexOf(e)+1})`}(r));let e=t.join(" > ");if(c(e))return e;let n=r.parentElement;if(n&&n.id&&l(n.id)){let t=`#${n.id} > ${e}`;if(c(t))return t}r=n}let n=t.join(" > ");return n&&c(n)?n:null}(r),a=r.getBoundingClientRect(),o=a.width>0&&a.height>0,s=(r.textContent??"").replace(/\s+/g," ").trim();return{anchor_selector:n,anchor_text:s?s.slice(0,160):null,anchor_offset_x:o?(e.clientX-a.left)/a.width*100:null,anchor_offset_y:o?(e.clientY-a.top)/a.height*100:null,viewport_width:t}}(e)})}},[d,u]),(0,n.useEffect)(()=>()=>{j.current&&clearTimeout(j.current)},[]);let N=(0,n.useCallback)(e=>{y(t=>[...t,e]),w(e.id),j.current&&clearTimeout(j.current),j.current=setTimeout(()=>w(null),2500)},[]),_=(0,n.useCallback)(e=>{y(t=>t.map(t=>
84t.id===e.id?e:t))},[]),E=(0,n.useCallback)(e=>{y(t=>t.filter(t=>t.id!==e))},[]);return(0,t.jsxs)(t.Fragment,{children:[x&&(0,t.jsx)(O,{pins:b,newlyCreatedId:v,selectedId:g,onSelect:h,draftPin:k}),!p&&"placing-pin"!==d&&(0,t.jsx)(f,{pinCount:b.length}),(0,t.jsx)(P,{pathname:e,pins:b,onItemCreated:N,onItemUpdated:_,onItemDeleted:E})]})}e.s(["default",()=>$],803925)}]);
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.