PageSourceSearch

https://spedy.ai/_next/static/chunks/4816.8724c2e8f6b38f62.js

js spedy.ai collected 2026-09-24 14:09:30 UTC 11,434 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="25cb8548-03ca-4289-98f5-f4204d547b8a",e._sentryDebugIdIdentifier="sentry-dbid-25cb8548-03ca-4289-98f5-f4204d547b8a")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4816,7618,7945,9874],{15323:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},15588:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},25846:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]])},26078:(e,t,a)=>{a.d(t,{w:()=>n});let n=0x3200000},32236:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("file-up",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},36397:(e,t,a)=>{a.d(t,{DX:()=>u,OQ:()=>d,v:()=>s,zD:()=>c});var n=a(78492),i=a(32401),r=a(17598),l=a(61003),o=a(53839);function u(){return(0,n.useQuery)({queryKey:o.lH.ticketTypes.list(),queryFn:async()=>{var e;let{data:t,error:a}=await (0,l.v$)("/ticket-types");if(a)throw a;return null!=(e=null==t?void 0:t.data)?e:[]},staleTime:3e5})}function d(){let e=(0,i.useQueryClient)();return(0,r.useMutation)({mutationFn:async e=>{let{data:t,error:a}=await (0,l.v$)("/ticket-types",{method:"POST",body:JSON.stringify(e)});if(a)throw a;return t},onSuccess:()=>{e.invalidateQueries({queryKey:o.lH.ticketTypes.all})}})}function c(){let e=(0,i.useQueryClient)();return(0,r.useMutation)({mutationFn:async e=>{let{typeId:t,data:a}=e,{data:n,error:i}=await (0,l.v$)("/ticket-types/".concat(t),{method:"PATCH",body:JSON.stringify(a)});if(i)throw i;return n},onSuccess:(t,a)=>{e.invalidateQueries({queryKey:o.lH.ticketTypes.all}),e.invalidateQueries({queryKey:o.lH.ticketTypes.detail(a.typeId)})}})}function s(){let e=(0,i.useQueryClient)();return(0,r.useMutation)({mutationFn:async e=>{let{typeId:t,replacementTypeId:a}=e,n=a?"/ticket-types/".concat(t,"?replacementTypeId=").concat(encodeURIComponent(a)):"/ticket-types/".concat(t),{error:i}=await (0,l.v$)(n,{method:"DELETE"});if(i)throw i},onSuccess:()=>{e.invalidateQueries({queryKey:o.lH.ticketTypes.all})}})}},43152:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},45577:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("file-spreadsheet",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},46098:(e,t,a)=>{a.d(t,{jV:()=>i.jV,DL:()=>i.DL,OQ:()=>n.OQ,v:()=>n.v,DX:()=>n.DX,nD:()=>i.nD,zD:()=>n.zD});var n=a(36397),i=a(95141)},49511:(e,t,a)=>{a.d(t,{l:()=>h,nJ:()=>s,u3:()=>u,v7:()=>p,zM:()=>y,zf:()=>c});var n=a(26078);let i={"image/jpeg":[".jpg",".jpeg"],"image/png":[".png"],"image/gif":[".gif"],"image/webp":[".webp"],"image/svg+xml":[".svg"],"application/postscript":[".eps"],"application/pdf":[".pdf"],"application/msword":[".doc"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.ms-excel":[".xls"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[".xlsx"],"text/plain":[".txt"],"text/csv":[".csv"],"text/css":[".css"],"application/xml":[".xml"],"text/xml":[".xml"],"audio/mpeg":[".mp3"],"video/mp4":[".mp4"],"application/zip":[".zip"],"application/vnd.spedy.selection-
1package":[".spsx"]},r=["application/x-zip-compressed","application/x-zip","application/zip-compressed","multipart/x-zip"],l=["application/eps","application/x-eps","application/x-postscript","image/eps","image/x-eps"],o=["image/jpeg","image/png","image/gif","image/webp","image/svg+xml"];function u(e){return o.includes(e)}function d(e){let t=e.lastIndexOf(".");return -1===t?"":e.substring(t).toLowerCase()}function c(e){let{name:t}=e,a=function(e,t){let a=d(t);return".spsx"===a?"application/vnd.spedy.selection-package":r.includes(e)||".zip"===a&&(""===e||"application/octet-stream"===e)?"application/zip":".eps"===a&&(l.includes(e)||""===e||"application/octet-stream"===e)?"application/postscript":e}(e.type,t),n=d(t);return a in i?n&&!function(e,t){let a=i[e];return!!a&&a.includes(t.toLowerCase())}(a,n)?{valid:!1,error:'Dateiendung "'.concat(n,'" passt nicht zum Dateityp "').concat(a,'".')}:{valid:!0,error:null}:{valid:!1,error:'Dateityp "'.concat(a,'" ist nicht erlaubt. Erlaubte Typen: Bilder (JPEG, PNG, GIF, WebP, SVG), Vektorgrafiken (EPS), Dokumente (PDF, Word, Excel), Text (TXT, CSV, CSS), XML, Audio (MP3), Video (MP4), Archive (ZIP).')}}function s(e){let t=c(e);if(!t.valid)return t;let a=function(e){if(e.size>n.w){let t=(e.size/1048576).toFixed(1),a=n.w/1048576;return{valid:!1,error:"Datei ist zu gro\xdf (".concat(t," MB). Maximale Gr\xf6\xdfe: ").concat(a," MB.")}}return{valid:!0,error:null}}(e);return a.valid?{valid:!0,error:null}:a}function p(e){if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/Math.pow(1024,t)).toFixed(1))," ").concat(["B","KB","MB","GB"][t])}function y(e){return new Promise((t,a)=>{let n=new FileReader;n.onload=()=>t(n.result),n.onerror=()=>a(Error("Failed to read file")),n.readAsDataURL(e)})}function h(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():Array.from(crypto.getRandomValues(new Uint8Array(16))).map((e,t)=>([4,6,8,10].includes(t)?"-":"")+e.toString(16).padStart(2,"0")).join("")}},54141:(e,t,a)=>{a.d(t,{C7:()=>u,Kv:()=>l,Nk:()=>d,c9:()=>o,wY:()=>r});let n={m:1/60,min:1/60,minute:1/60,minutes:1/60,h:1,hr:1,hour:1,hours:1,d:8,day:8,days:8,w:40,wk:40,week:40,weeks:40},i=/(\d+(?:[.,]\d+)?)\s*(minutes?|min|m|hours?|hr|h|days?|d|weeks?|wk|w)/gi;function r(e){if(!e)return null;let t=e.trim().toLowerCase();if(!t)return null;let a=parseFloat(t.replace(",","."));if(!isNaN(a)&&/^\d+([.,]\d+)?$/.test(t))return a>0?a:null;let r=[...t.matchAll(i)];if(0===r.length)return null;let l=t;for(let e of r)l=l.replace(e[0],"");if((l=l.replace(/[\s,]+/g,"").replace(/und|and/gi,"")).length>0)return null;let o=0;for(let e of r){let t=parseFloat(e[1].replace(",",".")),a=e[2].toLowerCase();if(isNaN(t)||t<0)return null;let i=n[a];if(void 0===i)return null;o+=t*i}if(o<=0)return null;let u=Math.round(100*o)/100;return u>=.1?u:.1}function l(e){if(!e)return null;let t=e.trim().toLowerCase();if(!t)return null;let a=1;if(t.startsWith("-")?(a=-1,t=t.slice(1).trim()):t.startsWith("+")&&(t=t.slice(1).trim()),!t)return null;if(/^\d+([.,]\d+)?$/.test(t)){let e=parseFloat(t.replace(",","."));return isNaN(e)?null:a*Math.round(e)}let r=[...t.matchAll(i)];if(0===r.length)return null;let l=t;for(let e of r)l=l.replace(e[0],"");if((l=l.replace(/[\s,]+/g,"").replace(/und|and/gi,"")).length>0)return null;let o=0;for(let e of r){let t=parseFloat(e[1].replace(",",".")),a=e[2].toLowerCase();if(isNaN(t)||t<0)return null;let i=n[a];if(void 0===i)return null;o+=t*i}return a*Math.round(60*o)}function o(e){if(null==e||e<=0)return"-";let t=[],a=e;if(a>=40){let e=Math.floor(a/40);t.push("".concat(e,"w")),a%=40}if(a>=8){let e=Math.floor(a/8);t.push("".concat(e,"d")),a%=8}if(a>=1){let e=Math.floor(a);t.push("".concat(e,"h")),a%=1}if(a>0){let e=Math.round(60*a);e>0&&t.push("".concat(e,"m"))}return 0===t.length?"".concat(e.toFixed(1),"h"):t.join(" ")}function u(){return"z.B. 2h, 1h 30m, 1d 4h"}function d(){return"m = Minuten, h = Stunden, d = Tage (8h), w = Wochen (40h). Kombinierbar: 1h 30m"}},59968:(e,t,a)=>{a.d(t,{J:()=>u,b:()=>o});var n=a(25238),i=a(77536),r=a(61003),l=a(53839);function o(e){var t,a;let o=null!=(a=null==e?void 0:e.fetchAll)&&a,u=(0,i.useInfiniteQuery)({queryKey:l.lH.boards.list(e),queryFn:async t=>{let{pageParam:a}=t,{data:n,error:i}=await r.FH.GET("/api/v1/boards",{params:{query:{includeArchived:null==e?void 0:e.includeArchived,archivedOnly:null==e?void 0:e.archivedOnly,page:a,limit:o?100:24}}});if(i)throw i;return n},initialPageParam:1,getNextPageParam:e=>e.meta.page<e.meta.totalPages?e.meta.page+1:void 0}),{hasNextPage:d,isFetchingNextPage:c,fetchNextPage:s}=u;(0,n.useEffect)(()=>{o&&d&&!c&&s()},[o,d,c,s]);let p=null==(t=u.data)?void 0:t.pages.flatMap(e=>e.data);return{...u,data:p,isLoadingAll:o&&(u.isLoading||d)}}function u(){return o({archivedOnly:!0})}},71687:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},79061:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}
1],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]])},95141:(e,t,a)=>{a.d(t,{DL:()=>u,jV:()=>d,nD:()=>c});var n=a(78492),i=a(32401),r=a(17598),l=a(61003),o=a(53839);function u(e,t){return(0,n.useQuery)({queryKey:o.lH.boards.ticketTypes(e,t),queryFn:async()=>{var a;let n=new URLSearchParams;(null==t?void 0:t.includeHidden)&&n.append("includeHidden","true");let i=n.toString(),r="/boards/".concat(e,"/ticket-types").concat(i?"?".concat(i):""),{data:o,error:u}=await (0,l.v$)(r);if(u)throw u;return null!=(a=null==o?void 0:o.data)?a:[]},enabled:!!e,staleTime:3e5})}function d(e){return(0,n.useQuery)({queryKey:o.lH.boards.defaultTicketType(e),queryFn:async()=>{let{data:t,error:a}=await (0,l.v$)("/boards/".concat(e,"/ticket-types/default"));if(a)throw a;return null==t?void 0:t.data},enabled:!!e})}function c(e){let t=(0,i.useQueryClient)();return(0,r.useMutation)({mutationFn:async t=>{let{typeId:a,data:n}=t,{data:i,error:r}=await (0,l.v$)("/boards/".concat(e,"/ticket-types/").concat(a),{method:"PATCH",body:JSON.stringify(n)});if(r)throw r;return null==i?void 0:i.data},onSuccess:()=>{t.invalidateQueries({queryKey:["boards",e,"ticket-types"]})}})}},97945:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},99874:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(14557).A)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]])}}]);

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.