ultisuite-client/out/_next/static/chunks/6623-d3e38c3d80d1737a.js
R3D347HR4Y d6d18f911b
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
Lots of stuff and mobile app
2026-06-17 00:13:28 +02:00

6 lines
16 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6623],{192:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]])},11458:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},12837:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},28397:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},30426:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},43786:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]])},61764:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},66378:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},68817:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},81596:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},81847:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("merge",[["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22",key:"1hyw0i"}],["path",{d:"m20 22-5-5",key:"1m27yz"}]])},84651:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(43200).A)("folder-kanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]])},84687:(e,t,n)=>{n.d(t,{C1:()=>b,bL:()=>k});var r=n(91356),a=n(29168),l=n(70799),i=n(4208),o="Progress",[d,s]=(0,a.A)(o),[u,c]=d(o),h=r.forwardRef((e,t)=>{var n,r;let{__scopeProgress:a,value:o=null,max:d,getValueLabel:s=m,...c}=e;(d||0===d)&&!g(d)&&console.error((n=`${d}`,`Invalid prop \`max\` of value \`${n}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let h=g(d)?d:100;null===o||w(o,h)||console.error((r=`${o}`,`Invalid prop \`value\` of value \`${r}\` supplied to \`Progress\`. The \`value\` prop must be:
- a positive number
- less than the value passed to \`max\` (or 100 if no \`max\` prop is set)
- \`null\` or \`undefined\` if the progress is indeterminate.
Defaulting to \`null\`.`));let p=w(o,h)?o:null,f=v(p)?s(p,h):void 0;return(0,i.jsx)(u,{scope:a,value:p,max:h,children:(0,i.jsx)(l.sG.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":v(p)?p:void 0,"aria-valuetext":f,role:"progressbar","data-state":y(p,h),"data-value":p??void 0,"data-max":h,...c,ref:t})})});h.displayName=o;var p="ProgressIndicator",f=r.forwardRef((e,t)=>{let{__scopeProgress:n,...r}=e,a=c(p,n);return(0,i.jsx)(l.sG.div,{"data-state":y(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...r,ref:t})});function m(e,t){return`${Math.round(e/t*100)}%`}function y(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function v(e){return"number"==typeof e}function g(e){return v(e)&&!isNaN(e)&&e>0}function w(e,t){return v(e)&&!isNaN(e)&&e<=t&&e>=0}f.displayName=p;var k=h,b=f},86471:(e,t,n)=>{let r,a;n.d(t,{Q:()=>H});var l=n(91356);let i=new Set,o=new WeakMap,d=new WeakMap,s=new WeakMap,u=new WeakMap,c=new WeakMap,h=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakSet,y=0,v=0,g="__aa_tgt",w="__aa_del",k="__aa_new",b=e=>{var t;let n=!(t=e).reduce((e,t)=>[...e,...Array.from(t.addedNodes),...Array.from(t.removedNodes)],[]).every(e=>"#comment"===e.nodeName)&&t.reduce((e,t)=>{if(!1===e)return!1;if(t.target instanceof Element){if(j(t.target),!e.has(t.target)){e.add(t.target);for(let n=0;n<t.target.children.length;n++){let r=t.target.children.item(n);if(r){if(w in r)return!1;j(t.target,r),e.add(r)}}}if(t.removedNodes.length)for(let n=0;n<t.removedNodes.length;n++){let r=t.removedNodes[n];if(w in r)return!1;r instanceof Element&&(e.add(r),j(t.target,r),d.set(r,[t.previousSibling,t.nextSibling]))}}return e},new Set);n&&n.forEach(e=>{var t,n,a;let l,i;return l=(t=e).isConnected,i=o.has(t),void(l&&d.has(t)&&d.delete(t),(null==(n=s.get(t))?void 0:n.playState)!=="finished"&&(null==(a=s.get(t))||a.cancel()),k in t?P(t):i&&l?function(e){let t,n=o.get(e),r=L(e);if(!I(e))return o.set(e,r);if(x(e)){o.set(e,r),M(e);return}if(!n)return;let a=W(e);if("function"!=typeof a){let l=n.left-r.left,i=n.top-r.top,o=n.left+n.width-(r.left+r.width);0==n.top+n.height-(r.top+r.height)&&(i=0),0==o&&(l=0);let[d,s,u,c]=T(e,n,r),h={transform:`translate(${l}px, ${i}px)`},p={transform:"translate(0, 0)"};d!==s&&(h.width=`${d}px`,p.width=`${s}px`),u!==c&&(h.height=`${u}px`,p.height=`${c}px`),t=e.animate([h,p],{duration:a.duration,easing:a.easing})}else{let[l]=S(a(e,"remain",n,r));(t=new Animation(l)).play()}s.set(e,t),o.set(e,r),t.addEventListener("finish",A.bind(null,e,!1),{once:!0})}(t):i&&!l?function(e){var t;let n;if(!d.has(e)||!o.has(e))return;let[a,l]=d.get(e);Object.defineProperty(e,w,{value:!0,configurable:!0});let i=window.scrollX,u=window.scrollY;if(l&&l.parentNode&&l.parentNode instanceof Element?l.parentNode.insertBefore(e,l):a&&a.parentNode?a.parentNode.appendChild(e):null==(t=O(e))||t.appendChild(e),!I(e))return _(e);let[c,h,p,f]=function(e){var t;let n=o.get(e),[r,,a]=T(e,n,L(e)),l=e.parentElement;for(;l&&("static"===getComputedStyle(l).position||l instanceof HTMLBodyElement);)l=l.parentElement;l||(l=document.body);let i=getComputedStyle(l),d=s.has(e)&&(null==(t=s.get(e))?void 0:t.playState)!=="finished"?o.get(l):L(l);return[Math.round(n.top-d.top)-N(i.borderTopWidth),Math.round(n.left-d.left)-N(i.borderLeftWidth),r,a]}(e),m=W(e),g=o.get(e);(i!==y||u!==v)&&function(e,t,n,a){let l=y-t,i=v-n,o=document.documentElement.style.scrollBehavior;if("smooth"===getComputedStyle(r).scrollBehavior&&(document.documentElement.style.scrollBehavior="auto"),window.scrollTo(window.scrollX+l,window.scrollY+i),!e.parentElement)return;let d=e.parentElement,s=d.clientHeight,u=d.clientWidth,c=performance.now();!function e(){requestAnimationFrame(()=>{if(!q(a)){let t=s-d.clientHeight,n=u-d.clientWidth;c+a.duration>performance.now()?(window.scrollTo({left:window.scrollX-n,top:window.scrollY-t}),s=d.clientHeight,u=d.clientWidth,e()):document.documentElement.style.scrollBehavior=o}})}()}(e,i,u,m);let k={position:"absolute",top:`${c}px`,left:`${h}px`,width:`${p}px`,height:`${f}px`,margin:"0",pointerEvents:"none",transformOrigin:"center",zIndex:"100"};if(q(m)){let[t,r]=S(m(e,"remove",g));(null==r?void 0:r.styleReset)!==!1&&(k=(null==r?void 0:r.styleReset)||k,Object.assign(e.style,k)),(n=new Animation(t)).play()}else Object.assign(e.style,k),n=e.animate([{transform:"scale(1)",opacity:1},{transform:"scale(.98)",opacity:0}],{duration:m.duration,easing:"ease-out"});s.set(e,n),n.addEventListener("finish",()=>_(e,k),{once:!0})}(t):P(t))})};function x(e){let t=e.getBoundingClientRect(),n=(null==r?void 0:r.clientWidth)||0,a=(null==r?void 0:r.clientHeight)||0;return t.bottom<0||t.top>a||t.right<0||t.left>n}function M(e){let t=u.get(e);null==t||t.disconnect();let n=o.get(e),a=0;n||(n=L(e),o.set(e,n));let{offsetWidth:l,offsetHeight:i}=r,d=[n.top-5,l-(n.left+5+n.width),i-(n.top+5+n.height),n.left-5].map(e=>`${-1*Math.floor(e)}px`).join(" "),s=new IntersectionObserver(()=>{++a>1&&A(e)},{root:r,threshold:1,rootMargin:d});s.observe(e),u.set(e,s)}function A(e,t=!0){clearTimeout(f.get(e));let n=W(e),r=t?q(n)?500:n.duration:0;f.set(e,setTimeout(async()=>{let t=s.get(e);try{await (null==t?void 0:t.finished),o.set(e,L(e)),M(e)}catch{}},r))}function E(e){setTimeout(()=>{h.set(e,setInterval(()=>C(A.bind(null,e)),2e3))},Math.round(2e3*Math.random()))}function C(e){"function"==typeof requestIdleCallback?requestIdleCallback(()=>e()):requestAnimationFrame(()=>e())}let R="u">typeof window&&"ResizeObserver"in window;function j(e,t){t||g in e?!t||g in t||Object.defineProperty(t,g,{value:e}):Object.defineProperty(e,g,{value:e})}function N(e){return Number(e.replace(/[^0-9.\-]/g,""))}function L(e){let t=e.getBoundingClientRect(),{x:n,y:r}=function(e){let t=e.parentElement;for(;t;){if(t.scrollLeft||t.scrollTop)return{x:t.scrollLeft,y:t.scrollTop};t=t.parentElement}return{x:0,y:0}}(e);return{top:t.top+r,left:t.left+n,width:t.width,height:t.height}}function T(e,t,n){let r=t.width,a=t.height,l=n.width,i=n.height,o=getComputedStyle(e);if("content-box"===o.getPropertyValue("box-sizing")){let e=N(o.paddingTop)+N(o.paddingBottom)+N(o.borderTopWidth)+N(o.borderBottomWidth),t=N(o.paddingLeft)+N(o.paddingRight)+N(o.borderRightWidth)+N(o.borderLeftWidth);r-=t,l-=t,a-=e,i-=e}return[r,l,a,i].map(Math.round)}function W(e){return g in e&&p.has(e[g])?p.get(e[g]):{duration:250,easing:"ease-in-out"}}function O(e){if(g in e)return e[g]}function I(e){let t=O(e);return!!t&&m.has(t)}function $(e,...t){t.forEach(t=>t(e,p.has(e)));for(let n=0;n<e.children.length;n++){let r=e.children.item(n);r&&t.forEach(e=>e(r,p.has(r)))}}function S(e){return Array.isArray(e)?e:[e]}function q(e){return"function"==typeof e}function P(e){let t;k in e&&delete e[k];let n=L(e);o.set(e,n);let r=W(e);if(I(e)){if(x(e))return void M(e);if("function"!=typeof r)t=e.animate([{transform:"scale(.98)",opacity:0},{transform:"scale(0.98)",opacity:0,offset:.5},{transform:"scale(1)",opacity:1}],{duration:1.5*r.duration,easing:"ease-in"});else{let[a]=S(r(e,"add",n));(t=new Animation(a)).play()}s.set(e,t),t.addEventListener("finish",A.bind(null,e,!1),{once:!0})}}function _(e,t){var n;e.remove(),o.delete(e),d.delete(e),s.delete(e),null==(n=u.get(e))||n.disconnect(),setTimeout(()=>{if(w in e&&delete e[w],Object.defineProperty(e,k,{value:!0,configurable:!0}),t&&e instanceof HTMLElement)for(let n in t)e.style[n]=""},0)}function H(e){let[t,n]=(0,l.useState)(),r=(0,l.useMemo)(()=>e,[]),y=(0,l.useCallback)(e=>{e instanceof HTMLElement?n(function(e,t={}){if(R&&a&&!(window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!q(t)&&!t.disrespectUserMotionPreference)){m.add(e),"static"===getComputedStyle(e).position&&Object.assign(e.style,{position:"relative"}),$(e,A,E,e=>null==a?void 0:a.observe(e)),q(t)?p.set(e,t):p.set(e,{duration:250,easing:"ease-in-out",...t});let n=new MutationObserver(b);n.observe(e,{childList:!0}),c.set(e,n),i.add(e)}return Object.freeze({parent:e,enable:()=>{m.add(e)},disable:()=>{m.delete(e),$(e,e=>{let t=s.get(e);try{null==t||t.cancel()}catch{}s.delete(e);let n=f.get(e);n&&clearTimeout(n),f.delete(e);let r=h.get(e);r&&clearInterval(r),h.delete(e)})},isEnabled:()=>m.has(e),destroy:()=>{m.delete(e),i.delete(e),p.delete(e);let t=c.get(e);null==t||t.disconnect(),c.delete(e),$(e,e=>{null==a||a.unobserve(e);let t=s.get(e);try{null==t||t.cancel()}catch{}s.delete(e);let n=u.get(e);null==n||n.disconnect(),u.delete(e);let r=h.get(e);r&&clearInterval(r),h.delete(e);let l=f.get(e);l&&clearTimeout(l),f.delete(e),o.delete(e),d.delete(e)})}})}(e,r)):n(void 0)},[r]),v=(0,l.useCallback)(e=>{t&&(e?t.enable():t.disable())},[t]);return(0,l.useEffect)(()=>()=>{var e;null==(e=null==t?void 0:t.destroy)||e.call(t)},[t]),[y,v]}R&&(r=document.documentElement,new MutationObserver(b),a=new ResizeObserver(e=>{e.forEach(e=>{e.target===r&&(clearTimeout(f.get(r)),f.set(r,setTimeout(()=>{i.forEach(e=>$(e,e=>C(()=>A(e))))},100))),o.has(e.target)&&A(e.target)})}),window.addEventListener("scroll",()=>{v=window.scrollY,y=window.scrollX}),a.observe(r))},99632:(e,t,n)=>{n.d(t,{C1:()=>_,bL:()=>q,q7:()=>P});var r=n(91356),a=n(9321),l=n(1709),i=n(65537),o=n(83418),d=n(30990),s=n(14216),u=n(62118),c=n(59220),h=n(10460),p=n(41459),f=n(4208),m="Radio",[y,v]=(0,i.A)(m),[g,w]=y(m),k=r.forwardRef((e,t)=>{let{__scopeRadio:n,name:i,checked:d=!1,required:s,disabled:u,value:c="on",onCheck:h,form:p,...m}=e,[y,v]=r.useState(null),w=(0,l.s)(t,e=>v(e)),k=r.useRef(!1),b=!y||p||!!y.closest("form");return(0,f.jsxs)(g,{scope:n,checked:d,disabled:u,children:[(0,f.jsx)(o.sG.button,{type:"button",role:"radio","aria-checked":d,"data-state":A(d),"data-disabled":u?"":void 0,disabled:u,value:c,...m,ref:w,onClick:(0,a.mK)(e.onClick,e=>{d||h?.(),b&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),b&&(0,f.jsx)(M,{control:y,bubbles:!k.current,name:i,value:c,checked:d,required:s,disabled:u,form:p,style:{transform:"translateX(-100%)"}})]})});k.displayName=m;var b="RadioIndicator",x=r.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...a}=e,l=w(b,n);return(0,f.jsx)(p.C,{present:r||l.checked,children:(0,f.jsx)(o.sG.span,{"data-state":A(l.checked),"data-disabled":l.disabled?"":void 0,...a,ref:t})})});x.displayName=b;var M=r.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:a=!0,...i},d)=>{let s=r.useRef(null),u=(0,l.s)(s,d),p=(0,h.Z)(n),m=(0,c.X)(t);return r.useEffect(()=>{let e=s.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==n&&t){let r=new Event("click",{bubbles:a});t.call(e,n),e.dispatchEvent(r)}},[p,n,a]),(0,f.jsx)(o.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:u,style:{...i.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function A(e){return e?"checked":"unchecked"}M.displayName="RadioBubbleInput";var E=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[R,j]=(0,i.A)(C,[d.RG,v]),N=(0,d.RG)(),L=v(),[T,W]=R(C),O=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:r,defaultValue:a,value:l,required:i=!1,disabled:c=!1,orientation:h,dir:p,loop:m=!0,onValueChange:y,...v}=e,g=N(n),w=(0,u.jH)(p),[k,b]=(0,s.i)({prop:l,defaultProp:a??null,onChange:y,caller:C});return(0,f.jsx)(T,{scope:n,name:r,required:i,disabled:c,value:k,onValueChange:b,children:(0,f.jsx)(d.bL,{asChild:!0,...g,orientation:h,dir:w,loop:m,children:(0,f.jsx)(o.sG.div,{role:"radiogroup","aria-required":i,"aria-orientation":h,"data-disabled":c?"":void 0,dir:w,...v,ref:t})})})});O.displayName=C;var I="RadioGroupItem",$=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,disabled:i,...o}=e,s=W(I,n),u=s.disabled||i,c=N(n),h=L(n),p=r.useRef(null),m=(0,l.s)(t,p),y=s.value===o.value,v=r.useRef(!1);return r.useEffect(()=>{let e=e=>{E.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,f.jsx)(d.q7,{asChild:!0,...c,focusable:!u,active:y,children:(0,f.jsx)(k,{disabled:u,required:s.required,checked:y,...h,...o,name:s.name,ref:m,onCheck:()=>s.onValueChange(o.value),onKeyDown:(0,a.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,a.mK)(o.onFocus,()=>{v.current&&p.current?.click()})})})});$.displayName=I;var S=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e,a=L(n);return(0,f.jsx)(x,{...a,...r,ref:t})});S.displayName="RadioGroupIndicator";var q=O,P=$,_=S}}]);