1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0f7cf-0dc7-0000-8631-06d5ca4c7532";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="f97deda2-97c0-58e6-b0ce-fd44e327dea0")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,83622,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return n.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let n=e.r(30386),a=e.r(92721),o=e.r(78861)},35772,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return c},getImageProps:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let n=e.r(36437),a=e.r(4653),o=e.r(93616),u=n._(e.r(86987));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=o.Image},27359,(e,t,r)=>{t.exports=e.r(35772)},60488,71774,e=>{"use strict";var t=e.i(74760),r=e.i(28505),s=e.i(15799);function i(){return(0,r.useContext)(s.MuiContext)}e.s(["default",0,i],71774);var n=e.i(53593);e.s(["default",0,function({children:e,className:r,hrefParts:s,...a}){return i()?(0,t.jsx)(n.default,{...a,className:r,href:"/".concat(s.join("/").replace("@","?")),children:e}):(0,t.jsx)("span",{className:r,children:e})}],60488)},24844,e=>{"use strict";let t;var r=e.i(74760),s=e.i(28505),i=e.i(96746),n=e.i(37464),a=e.i(99207),o=e.i(62745),u=e.i(38089),l=e.i(77800),c=e.i(97368),h=e.i(81132),d=e.i(81202),p=e.i(21146),f=e.i(37630),m=e.i(27828),y=e.i(2968),b=e.i(66081),v=e.i(51430),g=e.i(20184),x=e.i(28428),R=class extends b.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#r=(0,v.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#i=void 0;#n=void 0;#a;#o;#r;#t;#u;#l;#c;#h;#d;#p;#f=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#s.addObserver(this),Q(this.#s,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return S(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return S(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#v(),this.#s.removeObserver(this)}setOptions(e){let t=this.options,r=this.#s;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,g.resolveQueryBoolean)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#g(),this.#s.setOptions(this.options),t._defaulted&&!(0,g.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let s=this.hasListeners();s&&T(this.#s,r,this.options,t)&&this.#m(),this.updateResult(),s&&(this.#s!==r||(0,g.resolveQueryBoolean)(this.options.enabled,this.#s)!==(0,g.resolveQueryBoolean)(t.enabled,this.#s)||(0,g.resolveStaleTime)(this.options.staleTime,this.#s)!==(0,g.resolveStaleTime)(t.staleTime,this.#s))&&this.#x();let i=this.#R();s&&(this.#s!==r||(0,g.resolveQueryBoolean)(this.options.enabled,this.#s)!==(0,g.resolveQueryBoolean)(t.enabled,this.#s)||i!==this.#p)&&this.#Q(i)}getOptimisticResult(e){var t,r;let s=this.#e.getQueryCache().build(this.#e,e),i=this.createResult(s,e);return t=this,r=i,(0,g.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#n=i,this.#o=this.options,this.#a=this.#s.state),i}getCurrentResult(){return this.#n}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#r.status||this.#r.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#f.add(e)}getCurrentQuery(){return this.#s}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#m(e){this.#g();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(g.noop)),t}#x(){this.#b();let e=(0,g.resolveStaleTime)(this.options.staleTime,this.#s);if(f.environmentManager.isServer()||this.#n.isStale||!(0,g.isValidTimeout)(e))return;let t=(0,g.timeUntilStale)(this.#n.dataUpdatedAt,e);this.#h=x.timeoutManager.setTimeout(()=>{this.#n.isStale||this.updateResult()},t+1)}#R(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#Q(e){this.#v(),this.#p=e,!f.environmentManager.isServer()&&!1!==(0,g.resolveQueryBoolean)(this.options.enabled,this.#s)&&(0,g.isValidTimeout)(this.#p)&&0!==this.#p&&(this.#d=x.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||p.focusManager.isFocused())&&this.#m()},this.#p))}#y(){this.#x(),this.#Q(this.#R())}#b(){void 0!==this.#h&&(x.timeoutManager.clearTimeout(this.#h),this.#h=void 0)}#v(){void 0!==this.#d&&(x.timeoutManager.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let r,s=this.#s,i=this.options,n=this.#n,a=this.#a,o=this.#o,u=e!==s?e.state:this.#i,{state:l}=e,c={...l},h=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&Q(e,t),a=r&&T(e,s,t,i);(n||a)&&(c={...c,...(0,y.fetchState)(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:p,status:f}=c;r=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===f){let e;n?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=n.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#c?.state.data,this.#c):t.placeholderData,void 0!==e&&(f="success",r=(0,g.replaceData)(n?.data,e,t),h=!0)}if(t.select&&void 0!==r&&!m)if(n&&r===a?.data&&t.select===this.#u)r=this.#l;else try{this.#u=t.select,r=t.select(r),r=(0,g.replaceData)(n?.data,r,t),this.#l=r,this.#t=null}catch(e){this.#t=e}this.#t&&(d=this.#t,r=this.#l,p=Date.now(),f="error");let b="fetching"===c.fetchStatus,x="pending"===f,R="error"===f,S=x&&b,j=void 0!==r,C={status:f,fetchStatus:c.fetchStatus,isPending:x,isSuccess:"success"===f,isError:R,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:p,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&!x,isLoadingError:R&&!j,isPaused:"paused"===c.fetchStatus,isPlaceholderData:h,isRefetchError:R&&j,isStale:I(e,t),refetch:this.refetch,promise:this.#r,isEnabled:!1!==(0,g.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==C.data,r="error"===C.status&&!t,i=e=>{r?e.reject(C.error):t&&e.resolve(C.data)},n=()=>{i(this.#r=C.promise=(0,v.pendingThenable)())},a=this.#r;switch(a.status){case"pending":e.queryHash===s.queryHash&&i(a);break;case"fulfilled":(r||C.data!==a.value)&&n();break;case"rejected":r&&C.error===a.reason||n()}}return C}updateResult(){let e=this.#n,t=this.createResult(this.#s,this.options);if(this.#a=this.#s.state,this.#o=this.options,void 0!==this.#a.data&&(this.#c=this.#s),(0,g.shallowEqualObjects)(t,e))return;this.#n=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#f.size)return!0;let s=new Set(r??this.#f);return this.options.throwOnError&&s.add("error"),Object.keys(this.#n).some(t=>this.#n[t]!==e[t]&&s.has(t))};this.#S({listeners:r()})}#g(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#i=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#S(e){m.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#n)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function Q(e,t){return!1!==(0,g.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,g.resolveQueryBoolean)(t.retryOnMount,e))||void 0!==e.state.data&&S(e,t,t.refetchOnMount)}function S(e,t,r){if(!1!==(0,g.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,g.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&I(e,t)}return!1}function T(e,t,r,s){return(e!==t||!1===(0,g.resolveQueryBoolean)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&I(e,r)}function I(e,t){return!1!==(0,g.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,g.resolveStaleTime)(t.staleTime,e))}var j=e.i(94787),C=s.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),O=s.createContext(!1);O.Provider;var w=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),k=e.i(83622);let E=(0,k.createServerReference)("404a4570fafdf47a5db8ede4ef93aa4174e89b8703",k.callServer,void 0,k.findSourceMapURL,"autocompleteAction");e.s(["default",0,function({ref:e,setIsOpen:t}){let p,y=(0,h.useSearchParams)(),b=(0,h.usePathname)(),v=y.get("suche")||"",[x,Q]=(0,s.use
1State)(v),S=function(e){let[t,r]=(0,s.useState)(e);return(0,s.useEffect)(()=>{let t=setTimeout(()=>{r(e)},350);return()=>{clearTimeout(t)}},[e,350]),t}(x),T=(0,l.useRouter)(),{t:I}=(0,i.useTranslation)("webapp/shared"),k=(0,s.useRef)(null),M=function(...e){return(0,s.useCallback)(t=>{e.forEach(e=>{e&&("function"==typeof e?e(t):e&&"current"in e&&(e.current=t))})},[...e])}(e,k),{data:P}=function(e,t,r){let i,n=s.useContext(O),a=s.useContext(C),o=(0,j.useQueryClient)(r),u=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(u);let l=o.getQueryCache().get(u.queryHash);if(u._optimisticResults=n?"isRestoring":"optimistic",u.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=u.staleTime;u.staleTime="function"==typeof t?(...r)=>e(t(...r)):e(t),"number"==typeof u.gcTime&&(u.gcTime=Math.max(u.gcTime,1e3))}i=l?.state.error&&"function"==typeof u.throwOnError?(0,g.shouldThrowError)(u.throwOnError,[l.state.error,l]):u.throwOnError,(u.suspense||u.experimental_prefetchInRender||i)&&!a.isReset()&&(u.retryOnMount=!1),s.useEffect(()=>{a.clearReset()},[a]);let c=!o.getQueryCache().get(u.queryHash),[h]=s.useState(()=>new t(o,u)),d=h.getOptimisticResult(u),p=!n&&!1!==e.subscribed;if(s.useSyncExternalStore(s.useCallback(e=>{let t=p?h.subscribe(m.notifyManager.batchCalls(e)):g.noop;return h.updateResult(),t},[h,p]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),s.useEffect(()=>{h.setOptions(u)},[u,h]),u?.suspense&&d.isPending)throw w(u,h,a);if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(i&&void 0===e.data||(0,g.shouldThrowError)(r,[e.error,s])))({result:d,errorResetBoundary:a,throwOnError:u.throwOnError,query:l,suspense:u.suspense}))throw d.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(u,d),u.experimental_prefetchInRender&&!f.environmentManager.isServer()&&d.isLoading&&d.isFetching&&!n){let e=c?w(u,h,a):l?.promise;e?.catch(g.noop).finally(()=>{h.updateResult()})}return u.notifyOnChangeProps?d:h.trackResult(d)}({queryKey:["autocomplete",p=S],queryFn:()=>E(p),enabled:!!p},R,void 0);(0,s.useEffect)(()=>{Q(y.get("suche")??"")},[b,y]);let{isOpen:D,getLabelProps:F,getMenuProps:B,getInputProps:_,highlightedIndex:L,getItemProps:U}=(0,c.useCombobox)({items:P??[],onSelectedItemChange:e=>{e.selectedItem&&N(e.selectedItem.text)},itemToString:e=>e?.text??"",inputValue:x,onStateChange:e=>{e.type===c.useCombobox.stateChangeTypes.InputKeyDownEnter&&N(e.inputValue??x)}}),N=e=>{t&&t(!1),T.push(`/s?suche=${encodeURIComponent(e)}`,{scroll:!1})};return(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),N(x)},children:[(0,r.jsx)("label",{...F(),className:"mb-1 inline-block",children:I("Suchfeld.Label")}),(0,r.jsxs)("div",{className:"grid grid-cols-[1fr_auto] py-1",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(u.default,{..._({ref:M,onChange:e=>Q(e.target.value)}),type:"search",inputMode:"search",enterKeyHint:"search",maxLength:260}),x&&x.length>0&&(0,r.jsx)(n.default,{className:"bg-background hover:bg-background absolute top-0.5 right-0.5 bottom-0.5 border-transparent hover:border-transparent",onClick:()=>{Q(""),k.current?.focus()},type:"button","aria-label":I("Suchfeld.Clear"),children:(0,r.jsx)(o.default,{className:"text-black","aria-hidden":!0})}),(0,r.jsx)("ul",{...B({"aria-label":void 0,"aria-labelledby":void 0}),className:(0,d.cx)("bg-background border-input-border absolute z-10 max-h-52 w-full overflow-y-auto border",!D&&"hidden"),children:D&&P&&P.map((e,t)=>(0,r.jsx)("li",{...U({item:e,index:t}),className:(0,d.cx)("bg-background text-onBackground border-b-secondary aria-selected:bg-secondary-alpha hover:bg-secondary-alpha cursor-pointer border-b px-4 py-3",L===t&&"bg-blue-200"),children:e.text},`${e.text}`))})]}),(0,r.jsxs)(n.default,{color:"accent",className:"flex gap-3 text-lg",type:"submit",children:[(0,r.jsx)(a.default,{"aria-hidden":!0,className:"size-5 invert"}),(0,r.jsx)("span",{className:"sr-only md:not-sr-only",children:I("Suchfeld.Action")})]})]})]})}],24844)},47215,e=>{"use strict";var t=e.i(74760);e.s(["default",0,function(e){let{title:r,...s}=e;return(0,t.jsxs)("svg",{width:"1em",height:"1em",stroke:"currentColor",fill:"none",viewBox:"0 0 30 30",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,"aria-hidden":!0,...s,children:[r&&(0,t.jsx)("title",{children:r}),(0,t.jsx)("path",{d:"M2.47,25l7.06-10L2.47,5l25.06,10L2.47,25z M27.53,15h-18"})]})}])},69707,e=>{"use strict";var t=e.i(74760);e.s(["default",0,function(e){let{title:r,...s}=e;return(0,t.jsxs)("svg",{width:"1em",height:"1em",x:"0px",y:"0px",viewBox:"0 0 1024 1024",stroke:"currentColor",fill:"
1currentColor",...s,children:[r&&(0,t.jsx)("title",{children:r}),(0,t.jsx)("g",{transform:"translate(0,950) scale(1, -1)",children:(0,t.jsx)("path",{d:"M512-12.8c254.493 0 460.8 206.307 460.8 460.8s-206.307 460.8-460.8 460.8c-254.493 0-460.8-206.307-460.8-460.8v0c0.286-254.378 206.422-460.514 460.773-460.8h0.027zM512 874.667c235.641 0 426.667-191.025 426.667-426.667s-191.025-426.667-426.667-426.667c-235.641 0-426.667 191.025-426.667 426.667v0c0.273 235.532 191.135 426.393 426.64 426.667h0.026zM513.635 668.265c0.003 0 0.006 0 0.009 0 9.421 0 17.057 7.637 17.057 17.057 0 0.003 0 0.006 0 0.010v0 63.369c0 9.426-7.641 17.067-17.067 17.067s-17.067-7.641-17.067-17.067v0-63.369c0-0.003 0-0.006 0-0.009 0-9.421 7.637-17.057 17.057-17.057 0.003 0 0.006 0 0.010 0v0zM371.367 208.766h281.269c9.426 0 17.067 7.641 17.067 17.067s-7.641 17.067-17.067 17.067v0h-121.935v302.333c0 0.003 0 0.008 0 0.012 0 9.419-7.636 17.055-17.055 17.055-0.004 0-0.008 0-0.012 0h-102.567c-9.426 0-17.067-7.641-17.067-17.067s7.641-17.067 17.067-17.067v0h85.501v-285.266h-125.201c-9.426 0-17.067-7.641-17.067-17.067s7.641-17.067 17.067-17.067v0z"})})]})}])},99207,e=>{"use strict";var t=e.i(74760),r=e.i(27359);e.s(["default",0,function(e){let{alt:s,className:i,width:n,height:a,...o}=e;return(0,t.jsx)(r.default,{src:"/images/icon-bcms_lupe.svg",alt:s??"",className:i,width:n??24,height:a??24,...o})}])},33104,e=>{"use strict";var t=e.i(74760);e.s(["default",0,function(e){let{title:r,...s}=e;return(0,t.jsxs)("svg",{x:"0px",y:"0px",width:"1em",height:"1em",viewBox:"0 0 30 30",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,...s,children:[r&&(0,t.jsx)("title",{children:r}),(0,t.jsx)("polyline",{points:"11.5,8 18.5,15 11.5,22 "})]})}])},38089,e=>{"use strict";var t=e.i(74760),r=e.i(81202);e.s(["default",0,function(e){let{className:s,...i}=e;return(0,t.jsx)("input",{...i,className:(0,r.cx)("bg-background text-onBackground placeholder:text-gray border-input-border w-full border px-3 py-2 text-lg focus:border-blue-300",s)})}])},13013,e=>{"use strict";var t=e.i(74760),r=e.i(96746),s=e.i(53593),i=e.i(60488),n=e.i(33104);e.s(["default",0,function(e){let{t:a}=(0,r.useTranslation)("fehler"),{errorCode:o}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h1",{className:"text-primary mb-4 text-3xl font-semibold",children:a("Status.Heading",{context:o})}),(0,t.jsx)("p",{"data-ph-capture-attribute-error-code":o,children:a("Status.Content",{context:o,br:(0,t.jsx)("br",{}),postProcess:"reactPostprocessor"})}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-4 md:flex-row md:gap-8",children:[(0,t.jsxs)(i.default,{hrefParts:["s"],className:"bg-primary text-onPrimary flex h-fit w-fit items-center gap-x-2 px-4 py-2 text-lg text-nowrap hover:bg-blue-600",children:[a("Actions.AlleVeröffentlichungen"),(0,t.jsx)(n.default,{})]}),(0,t.jsxs)(s.default,{href:"/",className:"bg-primary text-onPrimary flex h-fit w-fit items-center gap-x-2 px-4 py-2 text-lg text-nowrap hover:bg-blue-600",children:[a("Actions.Startseite"),(0,t.jsx)(n.default,{})]})]})]})}])}]); 2 3//# chunkId=f97deda2-97c0-58e6-b0ce-fd44e327dea0
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.