{const{slotScopeIds:c}=t;c&&(o=o?o.concat(c):c);const f=s(e),d=p(i(e),t,f,n,r,o,a);return d&&vi(d)&&"]"===d.data?i(t.anchor=d):(pi(),l(t.anchor=u("]"),f,d),d)},v=(e,t,r,o,l,u)=>{if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&gn("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":vi(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),pi(),t.el=null,u){const t=g(e);for(;;){const n=i(e);if(!n||n===t)break;a(n)}}const c=i(e),f=s(e);return a(e),n(null,t,f,c,r,o,hi(f),l),c},g=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&vi(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},m=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let o=n;for(;o;)o.vnode.el===t&&(o.vnode.el=o.subTree.el=e),o=o.parent},y=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&gn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Bn(),void(t._vnode=e);f(t.firstChild,e,null,null,null),Bn(),t._vnode=e},f]}function mi(e,t,n,r,o){let i,s,a,l;if("class"===t)a=e.getAttribute("class"),l=X(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(yi(a||""),yi(l))||(i=s="class");else if("style"===t){a=e.getAttribute("style")||"",l=C(n)?n:function(e){let t="";if(!e||C(e))return t;for(const n in e){const r=e[n];(C(r)||"number"==typeof r)&&(t+=`${n.startsWith("--")?n:M(n)}:${r};`)}return t}(K(n));const t=bi(a),u=bi(l);if(r.dirs)for(const{dir:e,value:t}of r.dirs)"show"!==e.name||t||u.set("display","none");o&&wi(o,r,u),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}(t,u)||(i=s="style")}else(e instanceof SVGElement&&ce(t)||e instanceof HTMLElement&&(ae(t)||ue(t)))&&(ae(t)?(a=e.hasAttribute(t),l=le(n)):null==n?(a=e.hasAttribute(t),l=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==l&&(i="attribute",s=t));if(i){const t=e=>!1===e?"(not rendered)":`${s}="${e}"`;return gn(`Hydration ${i} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function yi(e){return new Set(e.trim().split(/\s+/))}function bi(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=e.trim(),r=r&&r.trim(),e&&r&&t.set(e,r)}return t}function wi(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===as&&r.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${e}`,String(t[e]))}t===r&&e.parent&&wi(e.parent,e.vnode,n)}const Ci=is;function _i(e){return Si(e)}function xi(e){return Si(e,gi)}function Si(e,t){"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(z().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);z().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:i,createText:u,createComment:c,setText:f,setElementText:d,parentNode:p,nextSibling:h,setScopeId:g=l,insertStaticContent:m}=e,y=(e,t,n,r=null,o=null,i=null,s=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!_s(e,t)&&(r=G(e),q(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:f}=t;switch(u){case ls:b(e,t,n,r);break;case us:w(e,t,n,r);break;case cs:null==e&&C(t,n,r,s);break;case as:P(e,t,n,r,o,i,s,a,l);break;default:1&f?x(e,t,n,r,o,i,s,a,l):6&f?R(e,t,n,r,o,i,s,a,l):(64&f||128&f)&&u.process(e,t,n,r,o,i,s,a,l,X)}null!=c&&o&&ti(c,e&&e.ref,i,t||e,!t)},b=(e,t,r,o)=>{if(null==e)n(t.el=u(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},w=(e,t,r,o)=>{null==e?n(t.el=c(t.children||""),r,o):t.el=e.el},C=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},_=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),r(e),e=n;r(t)},x=(e,t,n,r,o,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?S(t,n,r,o,i,s,a,l):E(e,t,o,i,s,a,l)},S=(e,t,r,s,a,l,u,c)=>{let f,p;const{props:h,shapeFlag:v,transition:g,dirs:m}=e;if(f=e.el=i(e.type,l,h&&h.is,h),8&v?d(f,e.children):16&v&&O(e.children,f,null,s,a,ki(e,l),u,c),m&&er(e,null,s,"created"),k(f,e,e.scopeId,u,s),h){for(const e in h)"value"===e||L(e)||o(f,e,null,h[e],l,s);"value"in h&&o(f,"value",null,h.value,l),(p=h.onVnodeBeforeMount)&&Ds(p,s,e)}m&&er(e,null,s,"beforeMount");const y=Ei(a,g);y&&g.beforeEnter(f),n(f,t,r),((p=h&&h.onVnodeMounted)||y||m)&&Ci((()=>{p&&Ds(p,s,e),y&&g.enter(f),m&&er(e,null,s,"mounted")}),a)},k=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let t=0;t
")},tw=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,(function(e){return t[e]}))},nw=function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);var n=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),n&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n))},rw=function(e,t,n){var r=e.currentRoute.value,o={host:r.query.host||void 0,file:r.query.file||void 0,query:r.query.query||void 0,page:r.query.page||void 0};"host"===t?(o.file=void 0,o.page=void 0):"file"===t&&void 0!==o.page&&(o.page=void 0),o[t]=n?String(n):void 0,e.push({name:"home",query:o})},ow=function(){var e=Yt({});return{dropdownDirections:e,calculateDropdownDirection:function(t){e.value[t.dataset.toggleId]=function(e){window.innerWidth||document.documentElement.clientWidth;var t=window.innerHeight||document.documentElement.clientHeight;return e.getBoundingClientRect().bottom+190
"):t}),2)),en(i).query)},null,8,WS)],64)):Is("",!0),n.extra&&n.extra.log_text_incomplete?(ps(),bs("div",ZS,[Ps(" The contents of this log have been cut short to the first "+he(e.LogViewer.max_log_size_formatted)+". The full size of this log entry is ",1),Os("strong",null,he(n.extra.log_size_formatted),1)])):Is("",!0)];var t})),_:2},1024)]})),_:2},1032,["tabs"])):Is("",!0)],8,US)],512),[[Ya,en(o).isOpen(r)]])],10,OS)})),128)):(ps(),bs("tbody",KS,[Os("tr",null,[Os("td",YS,[Os("div",GS,[JS,Os("div",QS,[(null===(n=en(i).query)||void 0===n?void 0:n.length)>0?(ps(),bs("button",{key:0,class:"px-3 py-2 border dark:border-gray-700 text-gray-800 dark:text-gray-200 hover:border-brand-600 dark:hover:border-brand-700 rounded-md",onClick:u},"Clear search query ")):Is("",!0),(null===(a=en(i).query)||void 0===a?void 0:a.length)>0&&en(r).selectedFile?(ps(),bs("button",{key:1,class:"px-3 ml-3 py-2 border dark:border-gray-700 text-gray-800 dark:text-gray-200 hover:border-brand-600 dark:hover:border-brand-700 rounded-md",onClick:Zl(l,["prevent"])},"Search all files ")):Is("",!0),en(s).levelsFound.length>0&&0===en(s).levelsSelected.length?(ps(),bs("button",{key:2,class:"px-3 ml-3 py-2 border dark:border-gray-700 text-gray-800 dark:text-gray-200 hover:border-brand-600 dark:hover:border-brand-700 rounded-md",onClick:t[1]||(t[1]=function(){var e;return en(s).selectAllLevels&&(e=en(s)).selectAllLevels.apply(e,arguments)})},"Select all severities ")):Is("",!0)])])])])]))])}}},ek=XS;var tk={class:"text-sm text-gray-500 dark:text-gray-400"},nk=Os("label",{for:"log-sort-direction",class:"sr-only"},"Sort direction",-1),rk=[Os("option",{value:"desc"},"Newest first",-1),Os("option",{value:"asc"},"Oldest first",-1)],ok=Os("label",{for:"items-per-page",class:"sr-only"},"Items per page",-1),ik=[Rs('',6)];const sk={__name:"PaginationOptions",setup:function(e){var t=Wb();return function(e,n){return ps(),bs("div",tk,[nk,Xn(Os("select",{id:"log-sort-direction","onUpdate:modelValue":n[0]||(n[0]=function(e){return en(t).direction=e}),class:"select mr-4"},rk,512),[[Dl,en(t).direction]]),ok,Xn(Os("select",{id:"items-per-page","onUpdate:modelValue":n[1]||(n[1]=function(e){return en(t).resultsPerPage=e}),class:"select"},ik,512),[[Dl,en(t).resultsPerPage]])])}}};var ak={class:"h-full w-full py-5 log-list"},lk={class:"flex flex-col h-full w-full md:mx-3 mb-4"},uk={class:"md:px-4 mb-4 flex flex-col-reverse lg:flex-row items-start"},ck={key:0,class:"flex items-center mr-5 mt-3 md:mt-0"},fk={class:"w-full lg:w-auto flex-1 flex justify-end min-h-[38px]"},dk={class:"hidden md:block ml-5"},pk={class:"hidden md:block"},hk={class:"md:hidden"},vk={type:"button",class:"menu-button"},gk={key:0,class:"flex justify-end md:px-4 my-1 mx-2"},mk={key:1,class:"relative overflow-hidden h-full text-sm"},yk={class:"inline-block min-w-full max-w-full align-middle"},bk={class:"absolute inset-0 top-9 md:px-4 z-20"},wk={class:"rounded-md bg-white text-gray-800 dark:bg-gray-700 dark:text-gray-200 opacity-90 w-full h-full flex items-center justify-center"},Ck={key:2,class:"flex h-full items-center justify-center text-gray-600 dark:text-gray-400"},_k={key:0},xk={key:1},Sk={key:3,class:"md:px-4"},kk={class:"hidden lg:block"},Ok={class:"lg:hidden"};const Ek={__name:"LogList",setup:function(e){Am();var t=Xb(),n=Wb(),r=Ub(),o=Vb(),i=fa((function(){return t.selectedFile||String(r.query||"").trim().length>0})),s=fa((function(){return n.logs&&(n.logs.length>0||!n.hasMoreResults)&&(n.selectedFile||r.hasQuery)}));Fi([function(){return n.direction},function(){return n.resultsPerPage}],(function(){return n.loadLogs()}));var a=Yt(!0);return Fi((function(){return n.columns}),(function(){a.value="message"===n.columns[n.columns.length-1].data_path})),function(e,r){return ps(),bs("div",ak,[Os("div",lk,[Os("div",uk,[i.value?(ps(),bs("div",ck,[Es(yx)])):Is("",!0),Os("div",fk,[Es(Rx),Os("div",dk,[Os("button",{onClick:r[0]||(r[0]=function(e){return en(n).loadLogs()}),id:"reload-logs-button",title:"Reload current results",class:"menu-button"},[Es(en(H_),{class:"w-5 h-5"})])]),Os("div",pk,[Es(CC,{class:"ml-2",id:"desktop-site-settings"})]),Os("div",hk,[Os("button",vk,[Es(en($_),{class:"w-5 h-5 ml-2",onClick:en(t).toggleSidebar},null,8,["onClick"])])])])]),a.value?Is("",!0):(ps(),bs("div",gk,[Es(sk)])),s.value?(ps(),bs("div",mk,[a.value?(ps(),ws(sk,{key:0,class:"mx-2 mt-1 mb-2 text-right lg:mx-0 lg:mt-0 lg:mb-0 lg:absolute lg:top-2 lg:right-6 z-20"})):Is("",!0),Os("div",{class:"log-item-container h-full overflow-y-auto md:px-4",onScroll:r[1]||(r[1]=function(e){return en(n).onScroll(e)})},[Os("div",yk,[Es(ek)])],32),Xn(Os("div",bk,[Os("div",wk,[Es(uw,{class:"w-14 h-14"})])],512),[[Ya,en(n).loading&&(!en(n).isMobile||!en(t).sidebarOpen)]])])):(ps(),bs("div",Ck,[en(n).hasMoreResults?(ps(),bs("span",_k,"Searching...")):(ps(),bs("span",xk,"Select a file or start searching..."))])),s.value&&en(o).hasPages?(ps(),bs("div",Sk,[Os("div",kk,[Es(ox,{loading:en(n).loading},null,8,["loading"])]),Os("div",Ok,[Es(ox,{loading:en(n).loading,short:!0},null,8,["loading"])])])):Is("",!0)])])}}};var Tk={width:"4169",height:"913",viewBox:"0 0 4169 913",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ak=[Rs('=a?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++ri?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o>>1,s=e[i];null!==s&&!ua(s)&&(n?s<=t:s0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,o,i]},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={895:0,524:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[s,a,l]=n,u=0;if(s.some((t=>0!==e[t]))){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(l)var c=l(r)}for(t&&t(n);u