@insightphp/insight
Version:
Laravel package for building control panels.
11 lines • 130 kB
JavaScript
(function(C,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue"),require("@insightphp/inertia-view"),require("@inertiajs/inertia"),require("@insightphp/elements"),require("@inertiajs/inertia-vue3")):typeof define=="function"&&define.amd?define(["exports","vue","@insightphp/inertia-view","@inertiajs/inertia","@insightphp/elements","@inertiajs/inertia-vue3"],r):(C=typeof globalThis<"u"?globalThis:C||self,r(C.Insight={},C.Vue,C.InertiaView,C.Inertia,C.Elements,C.InertiaVue))})(this,function(C,r,F,Dr,z,Me){"use strict";class Tr{}const Mr=new Tr;function Ao(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z","clip-rule":"evenodd"})])}function G(t,e,...n){if(t in e){let i=e[t];return typeof i=="function"?i(...n):i}let o=new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,G),o}var Xe=(t=>(t[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t))(Xe||{}),ee=(t=>(t[t.Unmount=0]="Unmount",t[t.Hidden=1]="Hidden",t))(ee||{});function H({visible:t=!0,features:e=0,ourProps:n,theirProps:o,...i}){var a;let l=ko(o,n),c=Object.assign(i,{props:l});if(t||e&2&&l.static)return wt(c);if(e&1){let s=(a=l.unmount)==null||a?0:1;return G(s,{[0](){return null},[1](){return wt({...i,props:{...l,hidden:!0,style:{display:"none"}}})}})}return wt(c)}function wt({props:t,attrs:e,slots:n,slot:o,name:i}){var a;let{as:l,...c}=Rr(t,["unmount","static"]),s=(a=n.default)==null?void 0:a.call(n,o),f={};if(o){let u=!1,d=[];for(let[p,y]of Object.entries(o))typeof y=="boolean"&&(u=!0),y===!0&&d.push(p);u&&(f["data-headlessui-state"]=d.join(" "))}if(l==="template"){if(s=Ir(s!=null?s:[]),Object.keys(c).length>0||Object.keys(e).length>0){let[u,...d]=s!=null?s:[];if(!No(u)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(c).concat(Object.keys(e)).sort((p,y)=>p.localeCompare(y)).map(p=>` - ${p}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(`
`)].join(`
`));return r.cloneVNode(u,Object.assign({},c,f))}return Array.isArray(s)&&s.length===1?s[0]:s}return r.h(l,Object.assign({},c,f),s)}function Ir(t){return t.flatMap(e=>e.type===r.Fragment?Ir(e.children):[e])}function ko(...t){if(t.length===0)return{};if(t.length===1)return t[0];let e={},n={};for(let o of t)for(let i in o)i.startsWith("on")&&typeof o[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(o[i])):e[i]=o[i];if(e.disabled||e["aria-disabled"])return Object.assign(e,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(e,{[o](i,...a){let l=n[o];for(let c of l){if(i instanceof Event&&i.defaultPrevented)return;c(i,...a)}}});return e}function Rr(t,e=[]){let n=Object.assign({},t);for(let o of e)o in n&&delete n[o];return n}function No(t){return t==null?!1:typeof t.type=="string"||typeof t.type=="object"||typeof t.type=="function"}let Co=0;function Bo(){return++Co}function fe(){return Bo()}var Lr=(t=>(t.Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t))(Lr||{});function Y(t){var e;return t==null||t.value==null?null:(e=t.value.$el)!=null?e:t.value}let jr=Symbol("Context");var ue=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(ue||{});function Fo(){return St()!==null}function St(){return r.inject(jr,null)}function Vo(t){r.provide(jr,t)}const et=typeof window>"u"||typeof document>"u";function be(t){if(et)return null;if(t instanceof Node)return t.ownerDocument;if(t!=null&&t.hasOwnProperty("value")){let e=Y(t);if(e)return e.ownerDocument}return document}let $t=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(t=>`${t}:not([tabindex='-1'])`).join(",");var Ie=(t=>(t[t.First=1]="First",t[t.Previous=2]="Previous",t[t.Next=4]="Next",t[t.Last=8]="Last",t[t.WrapAround=16]="WrapAround",t[t.NoScroll=32]="NoScroll",t))(Ie||{}),Ur=(t=>(t[t.Error=0]="Error",t[t.Overflow=1]="Overflow",t[t.Success=2]="Success",t[t.Underflow=3]="Underflow",t))(Ur||{}),Do=(t=>(t[t.Previous=-1]="Previous",t[t.Next=1]="Next",t))(Do||{});function To(t=document.body){return t==null?[]:Array.from(t.querySelectorAll($t))}var Wr=(t=>(t[t.Strict=0]="Strict",t[t.Loose=1]="Loose",t))(Wr||{});function Mo(t,e=0){var n;return t===((n=be(t))==null?void 0:n.body)?!1:G(e,{[0](){return t.matches($t)},[1](){let o=t;for(;o!==null;){if(o.matches($t))return!0;o=o.parentElement}return!1}})}function Re(t){t==null||t.focus({preventScroll:!0})}let Io=["textarea","input"].join(",");function Ro(t){var e,n;return(n=(e=t==null?void 0:t.matches)==null?void 0:e.call(t,Io))!=null?n:!1}function Lo(t,e=n=>n){return t.slice().sort((n,o)=>{let i=e(n),a=e(o);if(i===null||a===null)return 0;let l=i.compareDocumentPosition(a);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Et(t,e,n=!0,o=null){var i;let a=(i=Array.isArray(t)?t.length>0?t[0].ownerDocument:document:t==null?void 0:t.ownerDocument)!=null?i:document,l=Array.isArray(t)?n?Lo(t):t:To(t);o=o!=null?o:a.activeElement;let c=(()=>{if(e&5)return 1;if(e&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(e&1)return 0;if(e&2)return Math.max(0,l.indexOf(o))-1;if(e&4)return Math.max(0,l.indexOf(o))+1;if(e&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=e&32?{preventScroll:!0}:{},u=0,d=l.length,p;do{if(u>=d||u+d<=0)return 0;let y=s+u;if(e&16)y=(y+d)%d;else{if(y<0)return 3;if(y>=d)return 1}p=l[y],p==null||p.focus(f),u+=c}while(p!==a.activeElement);return e&6&&Ro(p)&&p.select(),p.hasAttribute("tabindex")||p.setAttribute("tabindex","0"),2}function xt(t,e,n){et||r.watchEffect(o=>{document.addEventListener(t,e,n),o(()=>document.removeEventListener(t,e,n))})}function jo(t,e,n=r.computed(()=>!0)){function o(a,l){if(!n.value||a.defaultPrevented)return;let c=l(a);if(c===null||!c.ownerDocument.documentElement.contains(c))return;let s=function f(u){return typeof u=="function"?f(u()):Array.isArray(u)||u instanceof Set?u:[u]}(t);for(let f of s){if(f===null)continue;let u=f instanceof HTMLElement?f:Y(f);if(u!=null&&u.contains(c))return}return!Mo(c,Wr.Loose)&&c.tabIndex!==-1&&a.preventDefault(),e(a,c)}let i=r.ref(null);xt("mousedown",a=>{var l,c;n.value&&(i.value=((c=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:c[0])||a.target)},!0),xt("click",a=>{!i.value||(o(a,()=>i.value),i.value=null)},!0),xt("blur",a=>o(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var tt=(t=>(t[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t))(tt||{});let _t=r.defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(t,{slots:e,attrs:n}){return()=>{let{features:o,...i}=t,a={"aria-hidden":(o&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(o&4)===4&&(o&2)!==2&&{display:"none"}}};return H({ourProps:a,theirProps:i,slot:{},attrs:n,slots:e,name:"Hidden"})}}});function Uo(t,e,n){et||r.watchEffect(o=>{window.addEventListener(t,e,n),o(()=>window.removeEventListener(t,e,n))})}var Pt=(t=>(t[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t))(Pt||{});function Wo(){let t=r.ref(0);return Uo("keydown",e=>{e.key==="Tab"&&(t.value=e.shiftKey?1:0)}),t}function zr(t,e,n,o){et||r.watchEffect(i=>{t=t!=null?t:window,t.addEventListener(e,n,o),i(()=>t.removeEventListener(e,n,o))})}function zo(t){typeof queueMicrotask=="function"?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e}))}var Hr=(t=>(t[t.None=1]="None",t[t.InitialFocus=2]="InitialFocus",t[t.TabLock=4]="TabLock",t[t.FocusLock=8]="FocusLock",t[t.RestoreFocus=16]="RestoreFocus",t[t.All=30]="All",t))(Hr||{});let Le=Object.assign(r.defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:Object,default:r.ref(new Set)}},inheritAttrs:!1,setup(t,{attrs:e,slots:n,expose:o}){let i=r.ref(null);o({el:i,$el:i});let a=r.computed(()=>be(i));Ho({ownerDocument:a},r.computed(()=>Boolean(t.features&16)));let l=Go({ownerDocument:a,container:i,initialFocus:r.computed(()=>t.initialFocus)},r.computed(()=>Boolean(t.features&2)));Qo({ownerDocument:a,container:i,containers:t.containers,previousActiveElement:l},r.computed(()=>Boolean(t.features&8)));let c=Wo();function s(){let f=Y(i);!f||G(c.value,{[Pt.Forwards]:()=>Et(f,Ie.First),[Pt.Backwards]:()=>Et(f,Ie.Last)})}return()=>{let f={},u={ref:i},{features:d,initialFocus:p,containers:y,...m}=t;return r.h(r.Fragment,[Boolean(d&4)&&r.h(_t,{as:"button",type:"button",onFocus:s,features:tt.Focusable}),H({ourProps:u,theirProps:{...e,...m},slot:f,attrs:e,slots:n,name:"FocusTrap"}),Boolean(d&4)&&r.h(_t,{as:"button",type:"button",onFocus:s,features:tt.Focusable})])}}}),{features:Hr});function Ho({ownerDocument:t},e){let n=r.ref(null);function o(){var a;n.value||(n.value=(a=t.value)==null?void 0:a.activeElement)}function i(){!n.value||(Re(n.value),n.value=null)}r.onMounted(()=>{r.watch(e,(a,l)=>{a!==l&&(a?o():i())},{immediate:!0})}),r.onUnmounted(i)}function Go({ownerDocument:t,container:e,initialFocus:n},o){let i=r.ref(null),a=r.ref(!1);return r.onMounted(()=>a.value=!0),r.onUnmounted(()=>a.value=!1),r.onMounted(()=>{r.watch([e,n,o],(l,c)=>{if(l.every((f,u)=>(c==null?void 0:c[u])===f)||!o.value)return;let s=Y(e);!s||zo(()=>{var f,u;if(!a.value)return;let d=Y(n),p=(f=t.value)==null?void 0:f.activeElement;if(d){if(d===p){i.value=p;return}}else if(s.contains(p)){i.value=p;return}d?Re(d):Et(s,Ie.First|Ie.NoScroll)===Ur.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.value=(u=t.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),i}function Qo({ownerDocument:t,container:e,containers:n,previousActiveElement:o},i){var a;zr((a=t.value)==null?void 0:a.defaultView,"focus",l=>{if(!i.value)return;let c=new Set(n==null?void 0:n.value);c.add(e);let s=o.value;if(!s)return;let f=l.target;f&&f instanceof HTMLElement?qo(c,f)?(o.value=f,Re(f)):(l.preventDefault(),l.stopPropagation(),Re(s)):Re(o.value)},!0)}function qo(t,e){var n;for(let o of t)if((n=o.value)!=null&&n.contains(e))return!0;return!1}let Gr="body > *",we=new Set,te=new Map;function Qr(t){t.setAttribute("aria-hidden","true"),t.inert=!0}function qr(t){let e=te.get(t);!e||(e["aria-hidden"]===null?t.removeAttribute("aria-hidden"):t.setAttribute("aria-hidden",e["aria-hidden"]),t.inert=e.inert)}function Jo(t,e=r.ref(!0)){r.watchEffect(n=>{if(!e.value||!t.value)return;let o=t.value,i=be(o);if(i){we.add(o);for(let a of te.keys())a.contains(o)&&(qr(a),te.delete(a));i.querySelectorAll(Gr).forEach(a=>{if(a instanceof HTMLElement){for(let l of we)if(a.contains(l))return;we.size===1&&(te.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),Qr(a))}}),n(()=>{if(we.delete(o),we.size>0)i.querySelectorAll(Gr).forEach(a=>{if(a instanceof HTMLElement&&!te.has(a)){for(let l of we)if(a.contains(l))return;te.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),Qr(a)}});else for(let a of te.keys())qr(a),te.delete(a)})}})}let Jr=Symbol("ForcePortalRootContext");function Ko(){return r.inject(Jr,!1)}let Ot=r.defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(t,{slots:e,attrs:n}){return r.provide(Jr,t.force),()=>{let{force:o,...i}=t;return H({theirProps:i,ourProps:{},slot:{},slots:e,attrs:n,name:"ForcePortalRoot"})}}});function Yo(t){let e=be(t);if(!e){if(t===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${t}`)}let n=e.getElementById("headlessui-portal-root");if(n)return n;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)}let Kr=r.defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(t,{slots:e,attrs:n}){let o=r.ref(null),i=r.computed(()=>be(o)),a=Ko(),l=r.inject(Yr,null),c=r.ref(a===!0||l==null?Yo(o.value):l.resolveTarget());return r.watchEffect(()=>{a||l!=null&&(c.value=l.resolveTarget())}),r.onUnmounted(()=>{var s,f;let u=(s=i.value)==null?void 0:s.getElementById("headlessui-portal-root");!u||c.value===u&&c.value.children.length<=0&&((f=c.value.parentElement)==null||f.removeChild(c.value))}),()=>{if(c.value===null)return null;let s={ref:o,"data-headlessui-portal":""};return r.h(r.Teleport,{to:c.value},H({ourProps:s,theirProps:t,slot:{},attrs:n,slots:e,name:"Portal"}))}}}),Yr=Symbol("PortalGroupContext"),Zo=r.defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(t,{attrs:e,slots:n}){let o=r.reactive({resolveTarget(){return t.target}});return r.provide(Yr,o),()=>{let{target:i,...a}=t;return H({theirProps:a,ourProps:{},slot:{},attrs:e,slots:n,name:"PortalGroup"})}}}),Zr=Symbol("StackContext");var At=(t=>(t[t.Add=0]="Add",t[t.Remove=1]="Remove",t))(At||{});function Xo(){return r.inject(Zr,()=>{})}function ea({type:t,enabled:e,element:n,onUpdate:o}){let i=Xo();function a(...l){o==null||o(...l),i(...l)}r.onMounted(()=>{r.watch(e,(l,c)=>{l?a(0,t,n):c===!0&&a(1,t,n)},{immediate:!0,flush:"sync"})}),r.onUnmounted(()=>{e.value&&a(1,t,n)}),r.provide(Zr,a)}let Xr=Symbol("DescriptionContext");function ta(){let t=r.inject(Xr,null);if(t===null)throw new Error("Missing parent");return t}function ra({slot:t=r.ref({}),name:e="Description",props:n={}}={}){let o=r.ref([]);function i(a){return o.value.push(a),()=>{let l=o.value.indexOf(a);l!==-1&&o.value.splice(l,1)}}return r.provide(Xr,{register:i,slot:t,name:e,props:n}),r.computed(()=>o.value.length>0?o.value.join(" "):void 0)}let na=r.defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"}},setup(t,{attrs:e,slots:n}){let o=ta(),i=`headlessui-description-${fe()}`;return r.onMounted(()=>r.onUnmounted(o.register(i))),()=>{let{name:a="Description",slot:l=r.ref({}),props:c={}}=o,s=t,f={...Object.entries(c).reduce((u,[d,p])=>Object.assign(u,{[d]:r.unref(p)}),{}),id:i};return H({ourProps:f,theirProps:s,slot:l.value,attrs:e,slots:n,name:a})}}});function kt(){let t=[],e=[],n={enqueue(o){e.push(o)},addEventListener(o,i,a,l){return o.addEventListener(i,a,l),n.add(()=>o.removeEventListener(i,a,l))},requestAnimationFrame(...o){let i=requestAnimationFrame(...o);n.add(()=>cancelAnimationFrame(i))},nextFrame(...o){n.requestAnimationFrame(()=>{n.requestAnimationFrame(...o)})},setTimeout(...o){let i=setTimeout(...o);n.add(()=>clearTimeout(i))},add(o){t.push(o)},dispose(){for(let o of t.splice(0))o()},async workQueue(){for(let o of e.splice(0))await o()}};return n}function oa(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var aa=(t=>(t[t.Open=0]="Open",t[t.Closed=1]="Closed",t))(aa||{});let Nt=Symbol("DialogContext");function je(t){let e=r.inject(Nt,null);if(e===null){let n=new Error(`<${t} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,je),n}return e}let rt="DC8F892D-2EBD-447C-A4C8-A03058436FF4",ia=r.defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:rt},initialFocus:{type:Object,default:null}},emits:{close:t=>!0},setup(t,{emit:e,attrs:n,slots:o,expose:i}){var a;let l=r.ref(!1);r.onMounted(()=>{l.value=!0});let c=r.ref(0),s=St(),f=r.computed(()=>t.open===rt&&s!==null?G(s.value,{[ue.Open]:!0,[ue.Closed]:!1}):t.open),u=r.ref(new Set),d=r.ref(null),p=r.ref(null),y=r.computed(()=>be(d));if(i({el:d,$el:d}),!(t.open!==rt||s!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof f.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${f.value===rt?void 0:t.open}`);let m=r.computed(()=>l.value&&f.value?0:1),g=r.computed(()=>m.value===0),_=r.computed(()=>c.value>1),h=r.inject(Nt,null)!==null,O=r.computed(()=>_.value?"parent":"leaf");Jo(d,r.computed(()=>_.value?g.value:!1)),ea({type:"Dialog",enabled:r.computed(()=>m.value===0),element:d,onUpdate:(v,w,b)=>{if(w==="Dialog")return G(v,{[At.Add](){u.value.add(b),c.value+=1},[At.Remove](){u.value.delete(b),c.value-=1}})}});let B=ra({name:"DialogDescription",slot:r.computed(()=>({open:f.value}))}),L=`headlessui-dialog-${fe()}`,M=r.ref(null),V={titleId:M,panelRef:r.ref(null),dialogState:m,setTitleId(v){M.value!==v&&(M.value=v)},close(){e("close",!1)}};return r.provide(Nt,V),jo(()=>{var v,w,b;return[...Array.from((w=(v=y.value)==null?void 0:v.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?w:[]).filter(E=>!(!(E instanceof HTMLElement)||E.contains(Y(p))||V.panelRef.value&&E.contains(V.panelRef.value))),(b=V.panelRef.value)!=null?b:d.value]},(v,w)=>{V.close(),r.nextTick(()=>w==null?void 0:w.focus())},r.computed(()=>m.value===0&&!_.value)),zr((a=y.value)==null?void 0:a.defaultView,"keydown",v=>{v.defaultPrevented||v.key===Lr.Escape&&m.value===0&&(_.value||(v.preventDefault(),v.stopPropagation(),V.close()))}),r.watchEffect(v=>{var w;if(m.value!==0||h)return;let b=y.value;if(!b)return;let E=kt();function x(P,A,W){let ge=P.style.getPropertyValue(A);return Object.assign(P.style,{[A]:W}),E.add(()=>{Object.assign(P.style,{[A]:ge})})}let N=b==null?void 0:b.documentElement,k=((w=b.defaultView)!=null?w:window).innerWidth-N.clientWidth;if(x(N,"overflow","hidden"),k>0){let P=N.clientWidth-N.offsetWidth,A=k-P;x(N,"paddingRight",`${A}px`)}if(oa()){let P=window.pageYOffset;x(N,"position","fixed"),x(N,"marginTop",`-${P}px`),x(N,"width","100%"),E.add(()=>window.scrollTo(0,P))}v(E.dispose)}),r.watchEffect(v=>{if(m.value!==0)return;let w=Y(d);if(!w)return;let b=new IntersectionObserver(E=>{for(let x of E)x.boundingClientRect.x===0&&x.boundingClientRect.y===0&&x.boundingClientRect.width===0&&x.boundingClientRect.height===0&&V.close()});b.observe(w),v(()=>b.disconnect())}),()=>{let v={...n,ref:d,id:L,role:"dialog","aria-modal":m.value===0?!0:void 0,"aria-labelledby":M.value,"aria-describedby":B.value},{open:w,initialFocus:b,...E}=t,x={open:m.value===0};return r.h(Ot,{force:!0},()=>[r.h(Kr,()=>r.h(Zo,{target:d.value},()=>r.h(Ot,{force:!1},()=>r.h(Le,{initialFocus:b,containers:u,features:g.value?G(O.value,{parent:Le.features.RestoreFocus,leaf:Le.features.All&~Le.features.FocusLock}):Le.features.None},()=>H({ourProps:v,theirProps:E,slot:x,attrs:n,slots:o,visible:m.value===0,features:Xe.RenderStrategy|Xe.Static,name:"Dialog"}))))),r.h(_t,{features:tt.Hidden,ref:p})])}}});r.defineComponent({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"}},setup(t,{attrs:e,slots:n}){let o=je("DialogOverlay"),i=`headlessui-dialog-overlay-${fe()}`;function a(l){l.target===l.currentTarget&&(l.preventDefault(),l.stopPropagation(),o.close())}return()=>H({ourProps:{id:i,"aria-hidden":!0,onClick:a},theirProps:t,slot:{open:o.dialogState.value===0},attrs:e,slots:n,name:"DialogOverlay"})}}),r.defineComponent({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"}},inheritAttrs:!1,setup(t,{attrs:e,slots:n,expose:o}){let i=je("DialogBackdrop"),a=`headlessui-dialog-backdrop-${fe()}`,l=r.ref(null);return o({el:l,$el:l}),r.onMounted(()=>{if(i.panelRef.value===null)throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.")}),()=>{let c=t,s={id:a,ref:l,"aria-hidden":!0};return r.h(Ot,{force:!0},()=>r.h(Kr,()=>H({ourProps:s,theirProps:{...e,...c},slot:{open:i.dialogState.value===0},attrs:e,slots:n,name:"DialogBackdrop"})))}}});let la=r.defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"}},setup(t,{attrs:e,slots:n,expose:o}){let i=je("DialogPanel"),a=`headlessui-dialog-panel-${fe()}`;o({el:i.panelRef,$el:i.panelRef});function l(c){c.stopPropagation()}return()=>{let c={id:a,ref:i.panelRef,onClick:l};return H({ourProps:c,theirProps:t,slot:{open:i.dialogState.value===0},attrs:e,slots:n,name:"DialogPanel"})}}}),ca=r.defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"}},setup(t,{attrs:e,slots:n}){let o=je("DialogTitle"),i=`headlessui-dialog-title-${fe()}`;return r.onMounted(()=>{o.setTitleId(i),r.onUnmounted(()=>o.setTitleId(null))}),()=>H({ourProps:{id:i},theirProps:t,slot:{open:o.dialogState.value===0},attrs:e,slots:n,name:"DialogTitle"})}}),sa=na;function fa(t){let e={called:!1};return(...n)=>{if(!e.called)return e.called=!0,t(...n)}}function Ct(t,...e){t&&e.length>0&&t.classList.add(...e)}function nt(t,...e){t&&e.length>0&&t.classList.remove(...e)}var Bt=(t=>(t.Finished="finished",t.Cancelled="cancelled",t))(Bt||{});function ua(t,e){let n=kt();if(!t)return n.dispose;let{transitionDuration:o,transitionDelay:i}=getComputedStyle(t),[a,l]=[o,i].map(c=>{let[s=0]=c.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,u)=>u-f);return s});return a!==0?n.setTimeout(()=>e("finished"),a+l):e("finished"),n.add(()=>e("cancelled")),n.dispose}function en(t,e,n,o,i,a){let l=kt(),c=a!==void 0?fa(a):()=>{};return nt(t,...i),Ct(t,...e,...n),l.nextFrame(()=>{nt(t,...n),Ct(t,...o),l.add(ua(t,s=>(nt(t,...o,...e),Ct(t,...i),c(s))))}),l.add(()=>nt(t,...e,...n,...o,...i)),l.add(()=>c("cancelled")),l.dispose}function pe(t=""){return t.split(" ").filter(e=>e.trim().length>1)}let Ft=Symbol("TransitionContext");var pa=(t=>(t.Visible="visible",t.Hidden="hidden",t))(pa||{});function da(){return r.inject(Ft,null)!==null}function ya(){let t=r.inject(Ft,null);if(t===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return t}function ma(){let t=r.inject(Vt,null);if(t===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return t}let Vt=Symbol("NestingContext");function ot(t){return"children"in t?ot(t.children):t.value.filter(({state:e})=>e==="visible").length>0}function tn(t){let e=r.ref([]),n=r.ref(!1);r.onMounted(()=>n.value=!0),r.onUnmounted(()=>n.value=!1);function o(a,l=ee.Hidden){let c=e.value.findIndex(({id:s})=>s===a);c!==-1&&(G(l,{[ee.Unmount](){e.value.splice(c,1)},[ee.Hidden](){e.value[c].state="hidden"}}),!ot(e)&&n.value&&(t==null||t()))}function i(a){let l=e.value.find(({id:c})=>c===a);return l?l.state!=="visible"&&(l.state="visible"):e.value.push({id:a,state:"visible"}),()=>o(a,ee.Unmount)}return{children:e,register:i,unregister:o}}let rn=Xe.RenderStrategy,Dt=r.defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(t,{emit:e,attrs:n,slots:o,expose:i}){if(!da()&&Fo())return()=>r.h(nn,{...t,onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave")},o);let a=r.ref(null),l=r.ref("visible"),c=r.computed(()=>t.unmount?ee.Unmount:ee.Hidden);i({el:a,$el:a});let{show:s,appear:f}=ya(),{register:u,unregister:d}=ma(),p={value:!0},y=fe(),m={value:!1},g=tn(()=>{m.value||(l.value="hidden",d(y),e("afterLeave"))});r.onMounted(()=>{let w=u(y);r.onUnmounted(w)}),r.watchEffect(()=>{if(c.value===ee.Hidden&&!!y){if(s&&l.value!=="visible"){l.value="visible";return}G(l.value,{hidden:()=>d(y),visible:()=>u(y)})}});let _=pe(t.enter),h=pe(t.enterFrom),O=pe(t.enterTo),B=pe(t.entered),L=pe(t.leave),M=pe(t.leaveFrom),V=pe(t.leaveTo);r.onMounted(()=>{r.watchEffect(()=>{if(l.value==="visible"){let w=Y(a);if(w instanceof Comment&&w.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function v(w){let b=p.value&&!f.value,E=Y(a);!E||!(E instanceof HTMLElement)||b||(m.value=!0,s.value&&e("beforeEnter"),s.value||e("beforeLeave"),w(s.value?en(E,_,h,O,B,x=>{m.value=!1,x===Bt.Finished&&e("afterEnter")}):en(E,L,M,V,B,x=>{m.value=!1,x===Bt.Finished&&(ot(g)||(l.value="hidden",d(y),e("afterLeave")))})))}return r.onMounted(()=>{r.watch([s],(w,b,E)=>{v(E),p.value=!1},{immediate:!0})}),r.provide(Vt,g),Vo(r.computed(()=>G(l.value,{visible:ue.Open,hidden:ue.Closed}))),()=>{let{appear:w,show:b,enter:E,enterFrom:x,enterTo:N,entered:k,leave:P,leaveFrom:A,leaveTo:W,...ge}=t;return H({theirProps:ge,ourProps:{ref:a},slot:{},slots:o,attrs:n,features:rn,visible:l.value==="visible",name:"TransitionChild"})}}}),ha=Dt,nn=r.defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(t,{emit:e,attrs:n,slots:o}){let i=St(),a=r.computed(()=>t.show===null&&i!==null?G(i.value,{[ue.Open]:!0,[ue.Closed]:!1}):t.show);r.watchEffect(()=>{if(![!0,!1].includes(a.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let l=r.ref(a.value?"visible":"hidden"),c=tn(()=>{l.value="hidden"}),s=r.ref(!0),f={show:a,appear:r.computed(()=>t.appear||!s.value)};return r.onMounted(()=>{r.watchEffect(()=>{s.value=!1,a.value?l.value="visible":ot(c)||(l.value="hidden")})}),r.provide(Vt,c),r.provide(Ft,f),()=>{let u=Rr(t,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),d={unmount:t.unmount};return H({ourProps:{...d,as:"template"},theirProps:{},slot:{},slots:{...o,default:()=>[r.h(ha,{onBeforeEnter:()=>e("beforeEnter"),onAfterEnter:()=>e("afterEnter"),onBeforeLeave:()=>e("beforeLeave"),onAfterLeave:()=>e("afterLeave"),...n,...d,...u},o.default)]},attrs:{},features:rn,visible:l.value==="visible",name:"Transition"})}}});const ga={class:"inline-flex flex-row gap-3"},va={key:0,class:"w-10 h-10 flex-shrink-0 flex items-center justify-center"},ba={class:"inline-flex flex-col"},wa={class:"inline-flex flex-row-reverse self-end gap-3 mt-4"},Sa=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"ConfirmableDialog",props:{title:null,message:null,icon:null,confirmLabel:null,cancelLabel:null,look:{default:"primary"},close:null,confirmUsing:null},setup(t){const e=t,n=()=>{e.close()};return(o,i)=>(r.openBlock(),r.createBlock(r.unref(la),{class:"flex relative flex-col w-full max-w-lg transform overflow-hidden rounded-xl bg-white p-6 text-left align-middle shadow-xl transition-all"},{default:r.withCtx(()=>[r.createElementVNode("button",{onClick:i[0]||(i[0]=r.withModifiers((...a)=>t.close&&t.close(...a),["prevent"])),class:"absolute right-4 top-4 text-gray-600 hover:text-gray-700 transition-colors duration-300"},[r.createVNode(r.unref(Ao),{class:"w-4 h-4"})]),r.createElementVNode("div",ga,[t.icon?(r.openBlock(),r.createElementBlock("div",va,[r.createElementVNode("div",{class:r.normalizeClass([[`bg-${t.look}-50`],"w-10 h-10 absolute rounded-full"])},null,2),r.createElementVNode("div",{class:r.normalizeClass([[`bg-${t.look}-100`],"w-6 h-6 absolute rounded-full"])},null,2),r.createVNode(r.unref(F.Portal),{class:r.normalizeClass([[`text-${t.look}-600`],"absolute"]),component:t.icon},null,8,["class","component"])])):r.createCommentVNode("",!0),r.createElementVNode("div",ba,[r.createVNode(r.unref(ca),{class:"font-semibold text-gray-900 text-lg"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(t.title),1)]),_:1}),t.message?(r.openBlock(),r.createBlock(r.unref(sa),{key:0,class:"text-gray-600 text-sm mt-1"},{default:r.withCtx(()=>[r.createTextVNode(r.toDisplayString(t.message),1)]),_:1})):r.createCommentVNode("",!0)])]),r.createElementVNode("div",wa,[t.confirmUsing?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:t.confirmUsing,onSuccess:n},null,8,["component"])):(r.openBlock(),r.createElementBlock("button",{key:1,onClick:i[1]||(i[1]=r.withModifiers((...a)=>t.close&&t.close(...a),["prevent"])),class:r.normalizeClass(["btn",[t.look]])},r.toDisplayString(t.confirmLabel),3)),r.createElementVNode("button",{onClick:i[2]||(i[2]=r.withModifiers((...a)=>t.close&&t.close(...a),["prevent"])),class:"btn"},r.toDisplayString(t.cancelLabel),1)])]),_:1}))}})},Symbol.toStringTag,{value:"Module"})),$a=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"DestroyResourcesDialog",setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("p",null,"Are you sure you want to delete user?"))}})},Symbol.toStringTag,{value:"Module"}));function Tt(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})])}function Ea(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"})])}function xa(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z"})])}function _a(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])}function Pa(t,e){return r.openBlock(),r.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"})])}function Mt(t){const e=l=>({items:l.items.map(c=>({item:c,isActive:r.ref(c.link.isActive),childNavigation:c.childNavigation?e(c.childNavigation):null,isExpanded:r.ref(!1)})),childActive:r.ref(!1)}),n=l=>l.items.some(c=>c.isActive.value?!0:c.childNavigation?n(c.childNavigation):!1),o=(l,c=!1)=>{l.items.forEach(s=>{if(s.childNavigation){if(c&&s.isExpanded.value){o(s.childNavigation,c);return}s.isExpanded.value=s.isActive.value||n(s.childNavigation),o(s.childNavigation)}else{if(c&&s.isExpanded.value)return;s.isExpanded.value=s.isActive.value}})},i=(l,c)=>{l.items.forEach(s=>{const f=c.items.find(u=>u.link.location===s.item.link.location);f&&(s.isActive.value=f.link.isActive,s.childNavigation&&f.childNavigation&&i(s.childNavigation,f.childNavigation))})},a=e(t.value);return r.watch(t,l=>{i(a,l),o(a,!0)}),o(a),{navigation:a}}function on(t,e){r.onMounted(()=>{window.addEventListener(t,e)}),r.onBeforeUnmount(()=>{window.removeEventListener(t,e)})}function an(t){r.onMounted(()=>{window.addEventListener("keydown",t)}),r.onBeforeUnmount(()=>{window.removeEventListener("keydown",t)})}function ln(t,e){an(n=>{n.code===t&&e(n)})}function cn(t){ln("Escape",t)}function Oa(t,e){const n={};return t.forEach(o=>{n[o.id]={selected:e[o.id].selected,value:e[o.id].value}}),r.reactive(n)}const Aa={class:"flex flex-col w-full"},ka=["checked","id"],Na=["for"],Ca=r.defineComponent({__name:"CollapsibleFilterable",props:{isLast:{type:Boolean},id:null,name:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=o=>{e("update:modelValue",o.target.checked)};return(o,i)=>(r.openBlock(),r.createElementBlock("div",Aa,[r.createElementVNode("div",{class:r.normalizeClass(["inline-flex items-center px-2 py-2",{"border-b":!(t.isLast&&!t.modelValue)}])},[r.createElementVNode("input",{onChange:n,checked:t.modelValue,id:`filter-toggle-${t.id}`,type:"checkbox",class:"form-check"},null,40,ka),r.createElementVNode("label",{class:"text-sm ml-2 font-medium",for:`filter-toggle-${t.id}`},r.toDisplayString(t.name),9,Na)],2),r.withDirectives(r.createElementVNode("div",{class:r.normalizeClass(["bg-gray-25",{"rounded-b":t.isLast}])},[r.renderSlot(o.$slots,"default")],2),[[r.vShow,t.modelValue]])]))}});function Ba(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(o){var i=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return t[o]}})}),n}var Fa=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;e[n]=i;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},sn=typeof Symbol<"u"&&Symbol,Va=Fa,Da=function(){return typeof sn!="function"||typeof Symbol!="function"||typeof sn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Va()},Ta="Function.prototype.bind called on incompatible ",It=Array.prototype.slice,Ma=Object.prototype.toString,Ia="[object Function]",Ra=function(e){var n=this;if(typeof n!="function"||Ma.call(n)!==Ia)throw new TypeError(Ta+n);for(var o=It.call(arguments,1),i,a=function(){if(this instanceof i){var u=n.apply(this,o.concat(It.call(arguments)));return Object(u)===u?u:this}else return n.apply(e,o.concat(It.call(arguments)))},l=Math.max(0,n.length-o.length),c=[],s=0;s<l;s++)c.push("$"+s);if(i=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var f=function(){};f.prototype=n.prototype,i.prototype=new f,f.prototype=null}return i},La=Ra,Rt=Function.prototype.bind||La,ja=Rt,Ua=ja.call(Function.call,Object.prototype.hasOwnProperty),S,Se=SyntaxError,fn=Function,$e=TypeError,Lt=function(t){try{return fn('"use strict"; return ('+t+").constructor;")()}catch{}},de=Object.getOwnPropertyDescriptor;if(de)try{de({},"")}catch{de=null}var jt=function(){throw new $e},Wa=de?function(){try{return arguments.callee,jt}catch{try{return de(arguments,"callee").get}catch{return jt}}}():jt,Ee=Da(),re=Object.getPrototypeOf||function(t){return t.__proto__},xe={},za=typeof Uint8Array>"u"?S:re(Uint8Array),_e={"%AggregateError%":typeof AggregateError>"u"?S:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?S:ArrayBuffer,"%ArrayIteratorPrototype%":Ee?re([][Symbol.iterator]()):S,"%AsyncFromSyncIteratorPrototype%":S,"%AsyncFunction%":xe,"%AsyncGenerator%":xe,"%AsyncGeneratorFunction%":xe,"%AsyncIteratorPrototype%":xe,"%Atomics%":typeof Atomics>"u"?S:Atomics,"%BigInt%":typeof BigInt>"u"?S:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?S:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?S:Float32Array,"%Float64Array%":typeof Float64Array>"u"?S:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?S:FinalizationRegistry,"%Function%":fn,"%GeneratorFunction%":xe,"%Int8Array%":typeof Int8Array>"u"?S:Int8Array,"%Int16Array%":typeof Int16Array>"u"?S:Int16Array,"%Int32Array%":typeof Int32Array>"u"?S:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ee?re(re([][Symbol.iterator]())):S,"%JSON%":typeof JSON=="object"?JSON:S,"%Map%":typeof Map>"u"?S:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ee?S:re(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?S:Promise,"%Proxy%":typeof Proxy>"u"?S:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?S:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?S:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ee?S:re(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?S:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ee?re(""[Symbol.iterator]()):S,"%Symbol%":Ee?Symbol:S,"%SyntaxError%":Se,"%ThrowTypeError%":Wa,"%TypedArray%":za,"%TypeError%":$e,"%Uint8Array%":typeof Uint8Array>"u"?S:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?S:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?S:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?S:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?S:WeakMap,"%WeakRef%":typeof WeakRef>"u"?S:WeakRef,"%WeakSet%":typeof WeakSet>"u"?S:WeakSet},Ha=function t(e){var n;if(e==="%AsyncFunction%")n=Lt("async function () {}");else if(e==="%GeneratorFunction%")n=Lt("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Lt("async function* () {}");else if(e==="%AsyncGenerator%"){var o=t("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&(n=re(i.prototype))}return _e[e]=n,n},un={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ue=Rt,at=Ua,Ga=Ue.call(Function.call,Array.prototype.concat),Qa=Ue.call(Function.apply,Array.prototype.splice),pn=Ue.call(Function.call,String.prototype.replace),it=Ue.call(Function.call,String.prototype.slice),qa=Ue.call(Function.call,RegExp.prototype.exec),Ja=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ka=/\\(\\)?/g,Ya=function(e){var n=it(e,0,1),o=it(e,-1);if(n==="%"&&o!=="%")throw new Se("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&n!=="%")throw new Se("invalid intrinsic syntax, expected opening `%`");var i=[];return pn(e,Ja,function(a,l,c,s){i[i.length]=c?pn(s,Ka,"$1"):l||a}),i},Za=function(e,n){var o=e,i;if(at(un,o)&&(i=un[o],o="%"+i[0]+"%"),at(_e,o)){var a=_e[o];if(a===xe&&(a=Ha(o)),typeof a>"u"&&!n)throw new $e("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new Se("intrinsic "+e+" does not exist!")},Ut=function(e,n){if(typeof e!="string"||e.length===0)throw new $e("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new $e('"allowMissing" argument must be a boolean');if(qa(/^%?[^%]*%?$/g,e)===null)throw new Se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=Ya(e),i=o.length>0?o[0]:"",a=Za("%"+i+"%",n),l=a.name,c=a.value,s=!1,f=a.alias;f&&(i=f[0],Qa(o,Ga([0,1],f)));for(var u=1,d=!0;u<o.length;u+=1){var p=o[u],y=it(p,0,1),m=it(p,-1);if((y==='"'||y==="'"||y==="`"||m==='"'||m==="'"||m==="`")&&y!==m)throw new Se("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(s=!0),i+="."+p,l="%"+i+"%",at(_e,l))c=_e[l];else if(c!=null){if(!(p in c)){if(!n)throw new $e("base intrinsic for "+e+" exists, but the property is not available.");return}if(de&&u+1>=o.length){var g=de(c,p);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?c=g.get:c=c[p]}else d=at(c,p),c=c[p];d&&!s&&(_e[l]=c)}}return c},dn={exports:{}};(function(t){var e=Rt,n=Ut,o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||e.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),s=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(d){var p=a(e,i,arguments);if(l&&c){var y=l(p,"length");y.configurable&&c(p,"length",{value:1+s(0,d.length-(arguments.length-1))})}return p};var f=function(){return a(e,o,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f})(dn);var yn=Ut,mn=dn.exports,Xa=mn(yn("String.prototype.indexOf")),ei=function(e,n){var o=yn(e,!!n);return typeof o=="function"&&Xa(e,".prototype.")>-1?mn(o):o};const hn=Ba(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Wt=typeof Map=="function"&&Map.prototype,zt=Object.getOwnPropertyDescriptor&&Wt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,lt=Wt&&zt&&typeof zt.get=="function"?zt.get:null,ti=Wt&&Map.prototype.forEach,Ht=typeof Set=="function"&&Set.prototype,Gt=Object.getOwnPropertyDescriptor&&Ht?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ct=Ht&&Gt&&typeof Gt.get=="function"?Gt.get:null,ri=Ht&&Set.prototype.forEach,ni=typeof WeakMap=="function"&&WeakMap.prototype,We=ni?WeakMap.prototype.has:null,oi=typeof WeakSet=="function"&&WeakSet.prototype,ze=oi?WeakSet.prototype.has:null,ai=typeof WeakRef=="function"&&WeakRef.prototype,gn=ai?WeakRef.prototype.deref:null,ii=Boolean.prototype.valueOf,li=Object.prototype.toString,ci=Function.prototype.toString,si=String.prototype.match,Qt=String.prototype.slice,ne=String.prototype.replace,fi=String.prototype.toUpperCase,vn=String.prototype.toLowerCase,bn=RegExp.prototype.test,wn=Array.prototype.concat,Q=Array.prototype.join,ui=Array.prototype.slice,Sn=Math.floor,qt=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Jt=Object.getOwnPropertySymbols,Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",j=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Pe?"object":"symbol")?Symbol.toStringTag:null,$n=Object.prototype.propertyIsEnumerable,En=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function xn(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||bn.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var o=t<0?-Sn(-t):Sn(t);if(o!==t){var i=String(o),a=Qt.call(e,i.length+1);return ne.call(i,n,"$&_")+"."+ne.call(ne.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ne.call(e,n,"$&_")}var Yt=hn,_n=Yt.custom,Pn=kn(_n)?_n:null,pi=function t(e,n,o,i){var a=n||{};if(oe(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(oe(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=oe(a,"customInspect")?a.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(oe(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(oe(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Cn(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return c?xn(e,s):s}if(typeof e=="bigint"){var f=String(e)+"n";return c?xn(e,f):f}var u=typeof a.depth>"u"?5:a.depth;if(typeof o>"u"&&(o=0),o>=u&&u>0&&typeof e=="object")return Zt(e)?"[Array]":"[Object]";var d=Ni(a,o);if(typeof i>"u")i=[];else if(Nn(i,e)>=0)return"[Circular]";function p(k,P,A){if(P&&(i=ui.call(i),i.push(P)),A){var W={depth:a.depth};return oe(a,"quoteStyle")&&(W.quoteStyle=a.quoteStyle),t(k,W,o+1,i)}return t(k,a,o+1,i)}if(typeof e=="function"&&!An(e)){var y=Si(e),m=st(e,p);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(m.length>0?" { "+Q.call(m,", ")+" }":"")}if(kn(e)){var g=Pe?ne.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kt.call(e);return typeof e=="object"&&!Pe?He(g):g}if(Oi(e)){for(var _="<"+vn.call(String(e.nodeName)),h=e.attributes||[],O=0;O<h.length;O++)_+=" "+h[O].name+"="+On(di(h[O].value),"double",a);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+vn.call(String(e.nodeName))+">",_}if(Zt(e)){if(e.length===0)return"[]";var B=st(e,p);return d&&!ki(B)?"["+er(B,d)+"]":"[ "+Q.call(B,", ")+" ]"}if(mi(e)){var L=st(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!$n.call(e,"cause")?"{ ["+String(e)+"] "+Q.call(wn.call("[cause]: "+p(e.cause),L),", ")+" }":L.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Q.call(L,", ")+" }"}if(typeof e=="object"&&l){if(Pn&&typeof e[Pn]=="function"&&Yt)return Yt(e,{depth:u-o});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if($i(e)){var M=[];return ti.call(e,function(k,P){M.push(p(P,e,!0)+" => "+p(k,e))}),Bn("Map",lt.call(e),M,d)}if(_i(e)){var V=[];return ri.call(e,function(k){V.push(p(k,e))}),Bn("Set",ct.call(e),V,d)}if(Ei(e))return Xt("WeakMap");if(Pi(e))return Xt("WeakSet");if(xi(e))return Xt("WeakRef");if(gi(e))return He(p(Number(e)));if(bi(e))return He(p(qt.call(e)));if(vi(e))return He(ii.call(e));if(hi(e))return He(p(String(e)));if(!yi(e)&&!An(e)){var v=st(e,p),w=En?En(e)===Object.prototype:e instanceof Object||e.constructor===Object,b=e instanceof Object?"":"null prototype",E=!w&&j&&Object(e)===e&&j in e?Qt.call(ae(e),8,-1):b?"Object":"",x=w||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",N=x+(E||b?"["+Q.call(wn.call([],E||[],b||[]),": ")+"] ":"");return v.length===0?N+"{}":d?N+"{"+er(v,d)+"}":N+"{ "+Q.call(v,", ")+" }"}return String(e)};function On(t,e,n){var o=(n.quoteStyle||e)==="double"?'"':"'";return o+t+o}function di(t){return ne.call(String(t),/"/g,""")}function Zt(t){return ae(t)==="[object Array]"&&(!j||!(typeof t=="object"&&j in t))}function yi(t){return ae(t)==="[object Date]"&&(!j||!(typeof t=="object"&&j in t))}function An(t){return ae(t)==="[object RegExp]"&&(!j||!(typeof t=="object"&&j in t))}function mi(t){return ae(t)==="[object Error]"&&(!j||!(typeof t=="object"&&j in t))}function hi(t){return ae(t)==="[object String]"&&(!j||!(typeof t=="object"&&j in t))}function gi(t){return ae(t)==="[object Number]"&&(!j||!(typeof t=="object"&&j in t))}function vi(t){return ae(t)==="[object Boolean]"&&(!j||!(typeof t=="object"&&j in t))}function kn(t){if(Pe)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Kt)return!1;try{return Kt.call(t),!0}catch{}return!1}function bi(t){if(!t||typeof t!="object"||!qt)return!1;try{return qt.call(t),!0}catch{}return!1}var wi=Object.prototype.hasOwnProperty||function(t){return t in this};function oe(t,e){return wi.call(t,e)}function ae(t){return li.call(t)}function Si(t){if(t.name)return t.name;var e=si.call(ci.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Nn(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1}function $i(t){if(!lt||!t||typeof t!="object")return!1;try{lt.call(t);try{ct.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Ei(t){if(!We||!t||typeof t!="object")return!1;try{We.call(t,We);try{ze.call(t,ze)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function xi(t){if(!gn||!t||typeof t!="object")return!1;try{return gn.call(t),!0}catch{}return!1}function _i(t){if(!ct||!t||typeof t!="object")return!1;try{ct.call(t);try{lt.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Pi(t){if(!ze||!t||typeof t!="object")return!1;try{ze.call(t,ze);try{We.call(t,We)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Oi(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Cn(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return Cn(Qt.call(t,0,e.maxStringLength),e)+o}var i=ne.call(ne.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ai);return On(i,"single",e)}function Ai(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+fi.call(e.toString(16))}function He(t){return"Object("+t+")"}function Xt(t){return t+" { ? }"}function Bn(t,e,n,o){var i=o?er(n,o):Q.call(n,", ");return t+" ("+e+") {"+i+"}"}function ki(t){for(var e=0;e<t.length;e++)if(Nn(t[e],`
`)>=0)return!1;return!0}function Ni(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=Q.call(Array(t.indent+1)," ");else return null;return{base:n,prev:Q.call(Array(e+1),n)}}function er(t,e){if(t.length===0)return"";var n=`
`+e.prev+e.base;return n+Q.call(t,","+n)+`
`+e.prev}function st(t,e){var n=Zt(t),o=[];if(n){o.length=t.length;for(var i=0;i<t.length;i++)o[i]=oe(t,i)?e(t[i],t):""}var a=typeof Jt=="function"?Jt(t):[],l;if(Pe){l={};for(var c=0;c<a.length;c++)l["$"+a[c]]=a[c]}for(var s in t)!oe(t,s)||n&&String(Number(s))===s&&s<t.length||Pe&&l["$"+s]instanceof Symbol||(bn.call(/[^\w$]/,s)?o.push(e(s,t)+": "+e(t[s],t)):o.push(s+": "+e(t[s],t)));if(typeof Jt=="function")for(var f=0;f<a.length;f++)$n.call(t,a[f])&&o.push("["+e(a[f])+"]: "+e(t[a[f]],t));return o}var tr=Ut,Oe=ei,Ci=pi,Bi=tr("%TypeError%"),ft=tr("%WeakMap%",!0),ut=tr("%Map%",!0),Fi=Oe("WeakMap.prototype.get",!0),Vi=Oe("WeakMap.prototype.set",!0),Di=Oe("WeakMap.prototype.has",!0),Ti=Oe("Map.prototype.get",!0),Mi=Oe("Map.prototype.set",!0),Ii=Oe("Map.prototype.has",!0),rr=function(t,e){for(var n=t,o;(o=n.next)!==null;n=o)if(o.key===e)return n.next=o.next,o.next=t.next,t.next=o,o},Ri=function(t,e){var n=rr(t,e);return n&&n.value},Li=function(t,e,n){var o=rr(t,e);o?o.value=n:t.next={key:e,next:t.next,value:n}},ji=function(t,e){return!!rr(t,e)},Ui=function(){var e,n,o,i={assert:function(a){if(!i.has(a))throw new Bi("Side channel does not contain "+Ci(a))},get:function(a){if(ft&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Fi(e,a)}else if(ut){if(n)return Ti(n,a)}else if(o)return Ri(o,a)},has:function(a){if(ft&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Di(e,a)}else if(ut){if(n)return Ii(n,a)}else if(o)return ji(o,a);return!1},set:function(a,l){ft&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new ft),Vi(e,a,l)):ut?(n||(n=new ut),Mi(n,a,l)):(o||(o={key:{},next:null}),Li(o,a,l))}};return i},Wi=String.prototype.replace,zi=/%20/g,nr={RFC1738:"RFC1738",RFC3986:"RFC3986"},or={default:nr.RFC3986,formatters:{RFC1738:function(t){return Wi.call(t,zi,"+")},RFC3986:function(t){return String(t)}},RFC1738:nr.RFC1738,RFC3986:nr.RFC3986},Hi=or,ar=Object.prototype.hasOwnProperty,ye=Array.isArray,q=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Gi=function(e){for(;e.length>1;){var n=e.pop(),o=n.obj[n.prop];if(ye(o)){for(var i=[],a=0;a<o.length;++a)typeof o[a]<"u"&&i.push(o[a]);n.obj[n.prop]=i}}},Fn=function(e,n){for(var o=n&&n.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(o[i]=e[i]);return o},Qi=function t(e,n,o){if(!n)return e;if(typeof n!="object"){if(ye(e))e.push(n);else if(e&&typeof e=="object")(o&&(o.plainObjects||o.allowPrototypes)||!ar.call(Object.prototype,n))&&(e[n]=!0);else return[e,n];return e}if(!e||typeof e!="object")return[e].concat(n);var i=e;return ye(e)&&!ye(n)&&(i=Fn(e,o)),ye(e)&&ye(n)?(n.forEach(function(a,l){if(ar.call(e,l)){var c=e[l];c&&typeof c=="object"&&a&&typeof a=="object"?e[l]=t(c,a,o):e.push(a)}else e[l]=a}),e):Object.keys(n).reduce(function(a,l){var c=n[l];return ar.call(a,l)?a[l]=t(a[l],c,o):a[l]=c,a},i)},qi=function(e,n){return Object.keys(n).reduce(function(o,i){return o[i]=n[i],o},e)},Ji=function(t,e,n){var o=t.replace(/\+/g," ");if(n==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},Ki=function(e,n,o,i,a){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),o==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(u){return"%26%23"+parseInt(u.slice(2),16)+"%3B"});for(var c="",s=0;s<l.length;++s){var f=l.charCodeAt(s);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===Hi.RFC1738&&(f===40||f===41)){c+=l.charAt(s);continue}if(f<128){c=c+q[f];continue}if(f<2048){c=c+(q[192|f>>6]+q[128|f&63]);continue}if(f<55296||f>=57344){c=c+(q[224|f>>12]+q[128|f>>6&63]+q[128|f&63]);continue}s+=1,f=65536+((f&1023)<<10|l.charCodeAt(s)&1023),c+=q[240|f>>18]+q[128|f>>12&63]+q[128|f>>6&63]+q[128|f&63]}return c},Yi=function(e){for(var n=[{obj:{o:e},prop:"o"}],o=[],i=0;i<n.length;++i)for(var a=n[i],l=a.obj[a.prop],c=Object.keys(l),s=0;s<c.length;++s){var f=c[s],u=l[f];typeof u=="object"&&u!==null&&o.indexOf(u)===-1&&(n.push({obj:l,prop:f}),o.push(u))}return Gi(n),e},Zi=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Xi=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},el=function(e,n){return[].concat(e,n)},tl=function(e,n){if(ye(e)){for(var o=[],i=0;i<e.length;i+=1)o.push(n(e[i]));return o}return n(e)},Vn={arrayToObject:Fn,assign:qi,combine:el,compact:Yi,decode:Ji,encode:Ki,isBuffer:Xi,isRegExp:Zi,maybeMap:tl,merge:Qi},Dn=Ui,ir=Vn,Ge=or,rl=Object.prototype.hasOwnProperty,Tn={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},Z=Array.isArray,nl=String.prototype.split,ol=Array.prototype.push,Mn=function(t,e){ol.apply(t,Z(e)?e:[e])},al=Date.prototype.toISOString,In=Ge.default,I={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ir.encode,encodeValuesOnly:!1,format:In,formatter:Ge.formatters[In],indices:!1,serializeDate:function(e){return al.call(e)},skipNulls:!1,strictNullHandling:!1},il=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},lr={},ll=function t(e,n,o,i,a,l,c,s,f,u,d,p,y,m,g,_){for(var h=e,O=_,B=0,L=!1;(O=O.get(lr))!==void 0&&!L;){var M=O.get(e);if(B+=1,typeof M<"u"){if(M===B)throw new RangeError("Cyclic object value");L=!0}typeof O.get(lr)>"u"&&(B=0)}if(typeof s=="function"?h=s(n,h):h instanceof Date?h=d(h):o==="comma"&&Z(h)&&(h=ir.maybeMap(h,function(ve){return ve instanceof Date?d(ve):ve})),h===null){if(a)return c&&!m?c(n,I.encoder,g,"key",p):n;h=""}if(il(h)||ir.isBuffer(h)){if(c){var V=m?n:c(n,I.encoder,g,"key",p);if(o==="comma"&&m){for(var v=nl.call(String(h),","),w="",b=0;b<v.length;++b)w+=(b===0?"":",")+y(c(v[b],I.encoder,g,"value",p));return[y(V)+(i&&Z(h)&&v.length===1?"[]":"")+"="+w]}return[y(V)+"="+y(c(h,I.encoder,g,"value",p))]}return[y(n)+"="+y(String(h))]}var E=[];if(typeof h>"u")return E;var x;if(o==="comma"&&Z(h))x=[{value:h.length>0?h.join(",")||null:void 0}];else if(Z(s))x=s;else{var N=Object.keys(h);x=f?N.sort(f):N}for(var k=i&&Z(h)&&h.length===1?n+"[]":n,P=0;P<x.length;++P){var A=x[P],W=typeof A=="object"&&typeof A.value<"u"?A.value:h[A];if(!(l&&W===null)){var ge=Z(h)?typeof o=="function"?o(k,A):k:k+(u?"."+A:"["+A+"]");_.set(e,B);var Ze=Dn();Ze.set(lr,_),Mn(E,t(W,ge,o,i,a,l,c,s,f,u,d,p,y,m,g,Ze))}}return E},cl=function(e){if(!e)return I;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=e.charset||I.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=Ge.default;if(typeof e.format<"u"){if(!rl.call(Ge.formatters,e.format))throw new TypeError("Unknown format option provided.");o=e.format}var i=Ge.formatters[o],a=I.filter;return(typeof e.filter=="function"||Z(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:I.addQueryPrefix,allowDots:typeof e.allowDots>"u"?I.allowDots:!!e.allowDots,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:I.charsetSentinel,delimiter:typeof e.delimiter>"u"?I.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:I.encode,encoder:typeof e.encoder=="function"?e.encoder:I.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:I.encodeValuesOnly,filter:a,format:o,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:I.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:I.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:I.strictNullHandling}},sl=function(t,e){var n=t,o=cl(e),i,a;typeof o.filter=="function"?(a=o.filter,n=a("",n)):Z(o.filter)&&(a=o.filter,i=a);var l=[];if(typeof n!="object"||n===null)return"";var c;e&&e.arrayFormat in Tn?c=e.arrayFormat:e&&"indices"in e?c=e.indices?"indices":"repeat":c="indices";var s=Tn[c];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=s==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(n)),o.sort&&i.sort(o.sort);for(var u=Dn(),d=0;d<i.length;++d){var p=i[d];o.skipNulls&&n[p]===null||Mn(l,ll(n[p],p,s,f,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var y=l.join(o.delimiter),m=o.addQueryPrefix===!0?"?":"";return o.charsetSentinel&&(o.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),y.length>0?m+y:""},Ae=Vn,cr=Object.prototype.hasOwnProperty,fl=Array.isArray,D={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ae.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},ul=function(t){return t.replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))})},Rn=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},pl="utf8=%26%2310003%3B",dl="utf8=%E2%9C%93",yl=function(e,n){var o={},i=n.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=n.parameterLimit===1/0?void 0:n.parameterLimit,l=i.split(n.delimiter,a),c=-1,s,f=n.charset;if(n.charsetSentinel)for(s=0;s<l.length;++s)l[s].indexOf("utf8=")===0&&(l[s]===dl?f="utf-8":l[s]===pl&&(f="iso-8859-1"),c=s,s=l.length);for(s=0;s<l.length;++s)if(s!==c){var u=l[s],d=u.indexOf("]="),p=d===-1?u.indexOf("="):d+1,y,m;p===-1?(y=n.decoder(u,D.decoder,f,"key"),m=n.strictNullHandling?null:""):(y=n.decoder(u.slice(0,p),D.decoder,f,"key"),m=Ae.maybeMap(Rn(u.slice(p+1),n),function(g){return n.decoder(g,D.decoder,f,"value")})),m&&n.interpretNumericEntities&&f==="iso-8859-1"&&(m=ul(m)),u.indexOf("[]=")>-1&&(m=fl(m)?[m]:m),cr.call(o,y)?o[y]=Ae.combine(o[y],m):o[y]=m}return o},ml=function(t,e,n,o){for(var i=o?e:Rn(e,n),a=t.length-1;a>=0;--a){var l,c=t[a];if(c==="[]"&&n.parseArrays)l=[].concat(i);else{l=n.plainObjects?Object.create(null):{};var s=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,f=parseInt(s,10);!n.parseArrays&&s===""?l={0:i}:!isNaN(f)&&c!==s&&String(f)===s&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[],l[f]=i):s!=="__proto__"&&(l[s]=i)}i=l}return i},hl=function(e,n,o,i){if(!!e){var a=o.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,s=o.depth>0&&l.exec(a),f=s?a.slice(0,s.index):a,u=[];if(f){if(!o.plainObjects&&cr.call(Object.prototype,f)&&!o.allowPrototypes)return;u.push(f)}for(var d=0;o.depth>0&&(s=c.exec(a))!==null&&d<o.depth;){if(d+=1,!o.plainObjects&&cr.call(Object.prototype,s[1].slice(1,-1))&&!o.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),ml(u,n,o,i)}},gl=function(e){if(!e)return D;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof e.charset>"u"?D.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?D.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:D.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:D.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:D.arrayLimit,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:D.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:D.comma,decoder:typeof e.decoder=="function"?e.decoder:D.decoder,delimiter:typeof e.delimiter=="string"||Ae.isRegExp(e.delimiter)?e.delimiter:D.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:D.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:D.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:D.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:D.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:D.strictNullHandling}},vl=function(t,e){var n=gl(e);if(t===""||t===null||typeof t>"u")return n.plainObjects?Object.create(null):{};for(var o=typeof t=="string"?yl(t,n):t,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),l=0;l<a.length;++l){var c=a[l],s=hl(c,o[c],n,typeof t=="string");i=Ae.merge(i,s,n)}return n.allowSparse===!0?i:Ae.compact(i)},bl=sl,wl=vl,Sl=or,Ln={formats:Sl,parse:wl,stringify:bl};const $l=["onClick"],El=r.createTextVNode(" Filter "),xl=r.createElementVNode("span",{class:"block h-4 border-r border-gray-400"},null,-1),_l={class:"text-primary-700 font-semibold"},Pl={key:1,class:"-top-1/2 mt-1 right-0 absolute"},Ol=[r.createElementVNode("div",{class:"relative inline-flex items-center justify-center"},[r.createElementVNode("div",{class:"absolute block w-4 h-4 bg-primary-100 rounded-full"}),r.createElementVNode("div",{class:"absolute block w-3 h-3 bg-primary-300 rounded-full"}),r.createElementVNode("div",{class:"absolute block w-2 h-2 bg-primary-600 rounded-full"})],-1)],Al={key:0,class:"flex flex-col bg-white w-64 absolute z-10 mt-2 right-0 rounded-md border border-gray-200"},kl={class:"w-full grid grid-cols-3 bg-gray-50 rounded-t border-b p-2"},Nl={class:"flex justify-start items-center"},Cl=["onClick"],Bl=r.createElementVNode("div",{class:"flex justify-center items-center"},[r.createElementVNode("span",{class:"text-sm font-semibold text-gray-700"},"Filter")],-1),Fl={class:"flex justify-end items-center"},Vl=["onClick"],jn=r.defineComponent({__name:"Filter",props:{filterables:null,initialValue:null},setup(t){const e=t,n=r.ref(!1),o=r.ref(),i=r.ref([]),a=Oa(e.filterables,e.initialValue),l=()=>{e.filterables.forEach(p=>{a[p.id].selected=e.initialValue[p.id].selected,a[p.id].value=e.initialValue[p.id].value})},c=()=>{const p=d.value;e.filterables.forEach(m=>{a[m.id].selected=!1});const y=d.value;p!=y&&s()},s=()=>{const p=Ln.parse(window.location.search.replace("?",""));e.filterables.forEach((g,_)=>{const h=i.value[_];if(!a[g.id].selected){typeof h.removeFilterValueFromQuery=="function"?h.removeFilterValueFromQuery(p):delete p[g.id];return}const O=a[g.id].value;typeof h.setFilterValueOnQuery=="function"?h.setFilterValueOnQuery(p,O):p[g.id]=O});let y=window.location.href.split("?")[0];const m=Ln.stringify(p);m&&m.length>0&&(y=`${y}?${m}`),n.value=!1,Dr.Inertia.visit(y)},f=()=>{l(),n.value=!1},u=()=>{if(!n.value){n.value=!0;return}f()};on("click",p=>{!o.value.contains(p.target)&&n.value&&f()}),cn(()=>{n.value&&f()});const d=r.computed(()=>e.filterables.filter(p=>a[p.id].selected).length);return(p,y)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"filterEl",ref:o,class:"relative"},[r.createElementVNode("button",{class:"relative btn gap-2 inline-flex items-center",onClick:r.withModifiers(u,["prevent"])},[r.createVNode(r.unref(xa),{class:"w-4 h-4"}),El,r.unref(d)>0?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[xl,r.createElementVNode("span",_l,r.toDisplayString(r.unref(d)),1)],64)):r.createCommentVNode("",!0),r.unref(d)>0?(r.openBlock(),r.createElementBlock("span",Pl,Ol)):r.createCommentVNode("",!0)],8,$l),r.createVNode(r.Transition,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"transform scale-95 opacity-0","enter-to-class":"transform scale-100 opacity-100","leave-active-class":"transition duration-200 ease-out","leave-from-class":"transform scale-100 opacity-100","leave-to-class":"transform scale-95 opacity-0"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",Al,[r.createElementVNode("div",kl,[r.createElementVNode("div",Nl,[r.createElementVNode("button",{onClick:r.withModifiers(c,["prevent"]),class:"btn bg-white hover:bg-gray-50 text-xs px-2 py-1"},"Clear",8,Cl)]),Bl,r.createElementVNode("div",Fl,[r.createElementVNode("button",{onClick:r.withModifiers(s,["prevent"]),class:"btn primary small text-xs"}," Apply ",8,Vl)])]),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.filterables,(m,g)=>(r.openBlock(),r.createBlock(Ca,{id:m.id,name:m.title,modelValue:r.unref(a)[m.id].selected,"onUpdate:modelValue":_=>r.unref(a)[m.id].selected=_,"is-last":g+1===t.filterables.length},{default:r.withCtx(()=>[r.createVNode(r.unref(F.Portal),{ref_for:!0,ref_key:"filterableComponents",ref:i,component:m,modelValue:r.unref(a)[m.id].value,"onUpdate:modelValue":_=>r.unref(a)[m.id].value=_},null,8,["component","modelValue","onUpdate:modelValue"])]),_:2},1032,["id","name","modelValue","onUpdate:modelValue","is-last"]))),256))])):r.createCommentVNode("",!0)]),_:1})],512))}}),Dl=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"})),Tl={class:"flex flex-col w-full px-2 py-1"},Ml={class:"inline-flex flex-row items-center py-0.5"},Il=["onUpdate:modelValue","id"],Rl=["for"],Ll=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"BooleanFilterable",props:{id:null,options:null,modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=r.reactive(n.options.map(i=>({option:i,selected:n.modelValue.includes(i.id)})));return r.watch(o,i=>{e("update:modelValue",i.filter(a=>a.selected).map(a=>a.option.id).sort())}),e("update:modelValue",o.filter(i=>i.selected).map(i=>i.option.id).sort()),(i,a)=>(r.openBlock(),r.createElementBlock("div",Tl,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(o,l=>(r.openBlock(),r.createElementBlock("div",Ml,[r.withDirectives(r.createElementVNode("input",{"onUpdate:modelValue":c=>l.selected=c,id:`checkbox-option-${t.id}-${l.option.id}`,type:"checkbox"},null,8,Il),[[r.vModelCheckbox,l.selected]]),r.createElementVNode("label",{class:"text-sm text-gray-700 ml-2",for:`checkbox-option-${t.id}-${l.option.id}`},r.toDisplayString(l.option.title),9,Rl)]))),256))]))}})},Symbol.toStringTag,{value:"Module"})),jl={class:"px-4 py-3"},Ul=["value"],Wl=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"SelectFilterable",props:{id:null,options:null,modelValue:null},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=r.ref(n.modelValue===null?n.options[0].id:n.modelValue);n.modelValue===null&&e("update:modelValue",o.value);const i=()=>{e("update:modelValue",o.value)};return r.watch(n,a=>{n.modelValue!==a.modelValue&&(o.value=a.modelValue===null?a.options[0].id:a.modelValue,e("update:modelValue",o.value))}),(a,l)=>(r.openBlock(),r.createElementBlock("div",jl,[r.withDirectives(r.createElementVNode("select",{onChange:i,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value=c),class:"w-full text-xs px-2 py-1"},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.options,c=>(r.openBlock(),r.createElementBlock("option",{value:c.id},r.toDisplayString(c.title),9,Ul))),256))],544),[[r.vModelSelect,o.value]])]))}})},Symbol.toStringTag,{value:"Module"})),zl={class:"bg-white grid grid-cols-5 h-16 border-b border-gray-200 px-4"},Hl={class:"lg:col-span-2 flex flex-row items-center"},Gl=r.createElementVNode("div",{class:"hidden lg:inline-flex items-center"},[r.createElementVNode("svg",{class:"w-8 h-8 mr-2 text-primary-500",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 54.1 54.1","xml:space":"preserve"},[r.createElementVNode("path",{fill:"currentColor",d:"M27,0C12.1,0,0,12.1,0,27c0,14.9,12.1,27,27,27c14.9,0,27-12.1,27-27C54,12.1,41.9,0,27,0z M43.3,19l-8.1,1.8l-8,1.8l8,1.8v7.3v0V39L27,40.8l-8.1,1.8v-7.3l8.1-1.8l8-1.8l-8-1.8l-8.1-1.8l-8.1-1.8v0v-7.3v0l8.1-1.8l8.1-1.8l8.1-1.8l8.1-1.8V19z"})]),r.createElementVNode("span",{class:"text-black font-medium text-lg"},"Insight")],-1),Ql=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"})],-1)],ql={class:"hidden lg:block ml-4"},Jl={class:"col-span-3 lg:col-span-1 flex flex-row items-center justify-center"},Kl=r.createElementVNode("span",{class:"inline-flex items-center text-gray-500"},[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75l-2.489-2.489m0 0a3.375 3.375 0 10-4.773-4.773 3.375 3.375 0 004.774 4.774zM21 12a9 9 0 11-18 0 9 9 0 0118 0z"})]),r.createElementVNode("span",{class:"text-sm ml-2"},"Search\u2026")],-1),Yl={class:"inline-flex items-center space-x-2"},Zl={key:0,class:"text-xs font-sans text-gray-400 border rounded px-2"},Xl={key:1,class:"text-xs font-sans text-gray-400 border rounded px-2"},ec={class:"lg:col-span-2 flex flex-row items-center justify-end"},tc={class:"hidden lg:block mr-2"},rc={key:0},nc={class:"gap-2 inline-flex items-center hover:bg-primary-50 text-sm text-gray-900 hover:text-primary-700 font-medium py-1 px-2 rounded-lg transition-colors duration-300"},oc=["src"],ac={key:1,class:"w-8 h-8 flex items-center justify-center bg-primary-100 rounded-full text-primary-700"},ic=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"})],-1)],lc={key:2},Un=r.defineComponent({__name:"Header",props:{mobileOpen:{type:Boolean,default:!1},leftNavigation:null,rightNavigation:null,userNavigation:null,user:null,showSearch:{type:Boolean,default:!1}},emits:["toggleDrawer","toggleSearch"],setup(t,{emit:e}){const n=t,o=r.computed(()=>!!(n.userNavigation&&n.userNavigation.items.length>0)),i=r.computed(()=>navigator.platform.toUpperCase().indexOf("MAC")>=0);return(a,l)=>(r.openBlock(),r.createElementBlock("div",zl,[r.createElementVNode("div",Hl,[Gl,r.createElementVNode("button",{onClick:l[0]||(l[0]=r.withModifiers(c=>e("toggleDrawer"),["prevent"])),class:r.normalizeClass(["lg:hidden rounded-lg p-2 transition-colors duration-300",[t.mobileOpen?"text-primary-700 bg-primary-100":"hover:bg-primary-100 hover:text-primary-700"]])},Ql,2),r.createElementVNode("div",ql,[r.renderSlot(a.$slots,"left-navigation",{},()=>[t.leftNavigation?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:t.leftNavigation},null,8,["component"])):r.createCommentVNode("",!0)])])]),r.createElementVNode("div",Jl,[r.renderSlot(a.$slots,"center",{},()=>[t.showSearch?(r.openBlock(),r.createElementBlock("button",{key:0,onClick:l[1]||(l[1]=r.withModifiers(c=>e("toggleSearch"),["prevent"])),class:"w-full max-w-xs flex justify-between items-center border border-gray-300 rounded-lg px-2 py-2"},[Kl,r.createElementVNode("div",Yl,[r.unref(i)?(r.openBlock(),r.createElementBlock("kbd",Zl,"\u2318K")):(r.openBlock(),r.createElementBlock("kbd",Xl,"CTRL+K"))])])):r.createCommentVNode("",!0)])]),r.createElementVNode("div",ec,[r.createElementVNode("div",tc,[r.renderSlot(a.$slots,"right-navigation",{},()=>[t.rightNavigation?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:t.rightNavigation},null,8,["component"])):r.createCommentVNode("",!0)])]),r.unref(o)?(r.openBlock(),r.createElementBlock("div",rc,[r.createVNode(r.unref(z.Menu),{class:"w-48",placement:"bottom-right"},{toggle:r.withCtx(()=>{var c,s,f;return[r.createElementVNode("button",nc,[(c=t.user)!=null&&c.profilePhotoUrl?(r.openBlock(),r.createElementBlock("img",{key:0,class:"w-8 h-8 rounded-full",src:t.user.profilePhotoUrl},null,8,oc)):(r.openBlock(),r.createElementBlock("div",ac,ic)),((s=t.user)==null?void 0:s.name)&&((f=t.user)==null?void 0:f.shouldShowName)?(r.openBlock(),r.createElementBlock("span",lc,r.toDisplayString(t.user.name),1)):r.createCommentVNode("",!0)])]}),default:r.withCtx(()=>[t.userNavigation?(r.openBlock(!0),r.createElementBlock(r.Fragment,{key:0},r.renderList(t.userNavigation.items,c=>(r.openBlock(),r.createBlock(r.unref(z.MenuItem),{as:"template"},{default:r.withCtx(({active:s,close:f})=>[r.createVNode(r.unref(z.Link),r.mergeProps({onClick:f,class:"menu-item flex w-full"},c.link,{"is-active":c.link.isActive||s}),null,16,["onClick","is-active"])]),_:2},1024))),256)):r.createCommentVNode("",!0)]),_:1})])):r.createCommentVNode("",!0)])]))}}),cc=Object.freeze(Object.defineProperty({__proto__:null,default:Un},Symbol.toStringTag,{value:"Module"})),sc={class:"flex flex-row"},fc=r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",class:"w-5 h-5 ml-0.5"},[r.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"})],-1),Wn=r.defineComponent({__name:"HeaderNavigation",props:{navigation:null},setup(t){const e=t,n=r.computed(()=>e.navigation),{navigation:o}=Mt(n);return(i,a)=>(r.openBlock(),r.createElementBlock("ul",sc,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(o).items,l=>(r.openBlock(),r.createElementBlock("li",null,[l.childNavigation?(r.openBlock(),r.createBlock(r.unref(z.Menu),{key:0,class:"w-48"},{toggle:r.withCtx(()=>[r.createElementVNode("button",{class:r.normalizeClass(["inline-flex items-center text-sm font-medium text-gray-700 px-3 py-2 rounded-lg transition-colors duration-150",[l.isActive.value||l.childNavigation.childActive.value?"bg-primary-50 text-primary-700":"hover:text-gray-600"]])},[r.createTextVNode(r.toDisplayString(l.item.link.title)+" ",1),fc],2)]),default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.childNavigation.items,c=>(r.openBlock(),r.createBlock(r.unref(z.MenuItem),{as:"template"},{default:r.withCtx(()=>[r.createVNode(r.unref(F.Portal),{class:r.normalizeClass(["menu-item",{"bg-primary-50 text-primary-700":c.isActive.value}]),component:c.item.link},null,8,["component","class"])]),_:2},1024))),256))]),_:2},1024)):(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:1,class:r.normalizeClass(["text-sm font-medium text-gray-700 px-3 py-2 rounded-lg transition-colors duration-150 flex",{"bg-primary-50 text-primary-700":l.isActive.value}]),component:l.item.link},null,8,["class","component"]))]))),256))]))}}),uc=Object.freeze(Object.defineProperty({__proto__:null,default:Wn},Symbol.toStringTag,{value:"Module"}));function zn(t,e){const n=e?e[t]:void 0;if(!n)throw new Error(`The Heroicon [${t}] could not be rendered. Source is missing.`);const o=document.createElement("template");o.innerHTML=n;const i=o.content.firstChild,a={};return Array.from(i.getAttributeNames()).forEach(l=>{l&&(a[l]=i.getAttribute(l))}),a.innerHTML=i.innerHTML,a}const Hn=r.defineComponent({props:{fullName:{type:String,required:!0},dimensions:{type:String,required:!0}},setup(t){const e=Me.usePage(),n=r.ref(zn(t.fullName,e.props.value._heroicons));return r.watch(t,o=>{n.value=zn(o.fullName,e.props.value._heroicons)}),()=>r.h("svg",r.mergeProps(n.value,{class:t.dimensions}))}}),pc=Object.freeze(Object.defineProperty({__proto__:null,default:Hn},Symbol.toStringTag,{value:"Module"})),dc=r.defineComponent({__name:"Pressable",props:{content:null,type:{default:"primary"}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["inline-flex text-gray-600 rounded-md transition-colors duration-300 p-2",[`hover:bg-${t.type}-50`,`hover:text-${t.type}-600`]])},[t.content?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:t.content},null,8,["component"])):r.renderSlot(e.$slots,"default",{key:1})],2))}}),yc=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"Menu",props:{navigation:null,toggle:null},setup(t){return(e,n)=>(r.openBlock(),r.createBlock(r.unref(z.Menu),{class:"w-48",placement:"bottom-right"},{toggle:r.withCtx(()=>[r.createElementVNode("button",null,[t.toggle?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:t.toggle},null,8,["component"])):(r.openBlock(),r.createBlock(dc,{key:1},{default:r.withCtx(()=>[r.createVNode(r.unref(Ea),{class:"w-4 h-4"})]),_:1}))])]),default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.navigation.items,o=>(r.openBlock(),r.createBlock(r.unref(z.MenuItem),{as:"template"},{default:r.withCtx(({active:i,close:a})=>[r.createVNode(r.unref(z.Link),r.mergeProps({onClick:a,class:"menu-item flex w-full"},o.link,{"is-active":o.link.isActive||i}),null,16,["onClick","is-active"])]),_:2},1024))),256))]),_:1}))}})},Symbol.toStringTag,{value:"Module"}));r.defineComponent({props:{dialog:{type:Object,required:!0}},setup(t,{slots:e}){return()=>r.h(qn,{visible:t.dialog.visible.value,onClose:()=>t.dialog.close(!1),onClosed:()=>t.dialog.hideContent()},t.dialog.visibleContent.value?e.default:void 0)}});const Gn=r.ref(null),pt=r.ref(!1),Qn=[],sr=[];function mc(){const t=(o,i=!1)=>{if(!o.id){console.warn("The dialog does not have identifier. Does the dialog extend the Dialog component?");return}Qn.includes(o.id)&&!i||(sr.push(o),e())},e=()=>{if(pt.value||sr.length<=0)return;const o=sr.shift();o&&(Gn.value=o,Qn.push(o.id),pt.value=!0)};return{pushDialogComponent:t,showNextDialog:e,dialog:Gn,close:()=>{pt.value=!1},isVisible:pt}}const hc=r.createElementVNode("div",{class:"fixed inset-0 bg-black bg-opacity-25"},null,-1),gc={class:"fixed inset-0 overflow-y-auto"},vc={class:"flex min-h-full items-center justify-center p-4 text-center"},qn=r.defineComponent({__name:"DialogScreen",props:{visible:{type:Boolean}},emits:["close","closed"],setup(t,{emit:e}){return(n,o)=>(r.openBlock(),r.createBlock(r.unref(nn),{appear:"",show:t.visible,as:"template",onAfterLeave:o[1]||(o[1]=i=>e("closed"))},{default:r.withCtx(()=>[r.createVNode(r.unref(ia),{as:"div",onClose:o[0]||(o[0]=i=>e("close")),class:"relative z-50"},{default:r.withCtx(()=>[r.createVNode(r.unref(Dt),{as:"template",enter:"duration-200 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:r.withCtx(()=>[hc]),_:1}),r.createElementVNode("div",gc,[r.createElementVNode("div",vc,[r.createVNode(r.unref(Dt),{as:"template",enter:"duration-200 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:r.withCtx(()=>[r.renderSlot(n.$slots,"default")]),_:3})])])]),_:3})]),_:3},8,["show"]))}}),bc=r.defineComponent({__name:"DialogPortal",setup(t){const e=Me.usePage(),{pushDialogComponent:n,isVisible:o,close:i,dialog:a,showNextDialog:l}=mc(),c=s=>{s&&n(s)};return r.watch(e.props,s=>{c(s._dialog||null)}),c(e.props.value._dialog||null),(s,f)=>(r.openBlock(),r.createBlock(qn,{visible:r.unref(o),onClose:r.unref(i),onClosed:r.unref(l)},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:r.unref(a),close:r.unref(i)},null,8,["component","close"])):r.createCommentVNode("",!0)]),_:1},8,["visible","onClose","onClosed"]))}});function wc(t,e,n){if(n.childNavigation){const o=[];return n.item.link.location=="#"?o.push(r.h("button",{onClick:r.withModifiers(()=>{n.isExpanded.value=!n.isExpanded.value},["prevent"])},n.item.link.title)):o.push(r.h(F.Portal,{component:n.item.link,onClick:r.withModifiers(()=>{n.isExpanded.value=!0},["prevent"])})),e&&o.push(r.h(e,{toggle:()=>{n.isExpanded.value=!n.isExpanded.value}})),o.push(Jn(t,e,n.childNavigation)),r.h("li",r.mergeProps({class:{expanded:n.isExpanded.value,active:n.isActive.value}}),o)}else return r.h(t,{item:n.item,active:n.isActive})}function Jn(t,e,n,o={}){const i=[];return n.items.forEach(a=>{i.push(wc(t,e,a))}),r.h("ul",o,i)}const Sc=r.defineComponent({props:{navigation:{type:Object,required:!0}},setup(t,{slots:e}){const n=e.item,o=e.caret;if(!n)throw new Error("The #item slot is missing from NavigationTree component.");const i=r.computed(()=>t.navigation),a=Mt(i);return()=>Jn(n,o,a.navigation,{class:["side-menu"]})}}),$c={class:"px-4 pt-4"},Ec=["onClick"],xc=[r.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},[r.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"})],-1)],_c=r.defineComponent({__name:"Drawer",props:{mobileOpen:{type:Boolean,default:!1},navigation:null},emits:["mobileClose"],setup(t,{emit:e}){return(n,o)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["fixed bg-white border-r border-gray-200 z-10 min-h-full h-full w-full sm:w-56 pt-16 lg:left-0 transition-all duration-300",[t.mobileOpen?"left-0":"-left-full sm:-left-56"]])},[r.createElementVNode("div",$c,[r.createVNode(Sc,{navigation:t.navigation},{item:r.withCtx(({item:i,active:a})=>[r.createElementVNode("li",{class:r.normalizeClass({active:a.value})},[r.createVNode(r.unref(F.Portal),{component:i.link},null,8,["component"])],2)]),caret:r.withCtx(({toggle:i})=>[r.createElementVNode("span",{onClick:r.withModifiers(i,["prevent"]),class:"caret"},xc,8,Ec)]),_:1},8,["navigation"])])],2))}}),Pc={class:"bg-white min-h-full"},Oc={class:"fixed z-20 w-full"},Ac={class:"h-full min-w-max-content lg:pl-56 pt-16"},kc=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"DrawerLayout",props:{header:null,navigation:null},setup(t){const e=r.ref(!1);return(n,o)=>(r.openBlock(),r.createElementBlock("div",Pc,[r.renderSlot(n.$slots,"header",{},()=>[r.createElementVNode("div",Oc,[r.createVNode(r.unref(F.Portal),{component:t.header,"mobile-open":e.value,onToggleDrawer:o[0]||(o[0]=i=>e.value=!e.value)},null,8,["component","mobile-open"])])]),r.renderSlot(n.$slots,"sidebar",{},()=>[r.createVNode(r.unref(_c),{"mobile-open":e.value,navigation:t.navigation},null,8,["mobile-open","navigation"])]),r.createElementVNode("div",Ac,[r.renderSlot(n.$slots,"default")])]))}})},Symbol.toStringTag,{value:"Module"})),Nc=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"InsightLayout",setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(e.$slots,"default"),r.createVNode(r.unref(bc))],64))}})},Symbol.toStringTag,{value:"Module"})),Cc={class:"w-full max-w-7xl mx-auto px-4 pt-12 pb-16"},Bc={class:"inline-flex items-center gap-3 mb-6"},Fc={class:"font-semibold text-gray-900 text-xl"},Vc={key:0,class:"badge danger"},Dc=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"ResourceDetailLayout",props:{title:null,listResourcesLink:null,trashed:{type:Boolean},breadcrumbItems:null},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",Cc,[t.breadcrumbItems?(r.openBlock(),r.createBlock(r.unref(z.Breadcrumbs),{key:0,class:"mb-4",items:t.breadcrumbItems},{separator:r.withCtx(()=>[r.createVNode(r.unref(Tt),{class:"w-4 h-4 mx-2 text-gray-300"})]),_:1},8,["items"])):r.createCommentVNode("",!0),r.createElementVNode("div",Bc,[r.createElementVNode("h4",Fc,r.toDisplayString(t.title),1),t.trashed?(r.openBlock(),r.createElementBlock("span",Vc,"Deleted")):r.createCommentVNode("",!0)]),r.renderSlot(e.$slots,"default")]))}})},Symbol.toStringTag,{value:"Module"}));function Tc(t={}){return F.registerPages(Object.assign({"./Pages/HomePage.vue":()=>Promise.resolve().then(()=>Uc),"./Pages/ListResourcesPage.vue":()=>Promise.resolve().then(()=>tu),"./Pages/ResourceFormPage.vue":()=>Promise.resolve().then(()=>au),"./Pages/ShowResourcePage.vue":()=>Promise.resolve().then(()=>lu)}),"insight"),F.registerComponents(Object.assign({"./View/Components/Dialogs/ConfirmableDialog.vue":Sa,"./View/Components/Dialogs/DestroyResourcesDialog.vue":$a,"./View/Components/Filter.vue":Dl,"./View/Components/Filterables/BooleanFilterable.vue":Ll,"./View/Components/Filterables/SelectFilterable.vue":Wl,"./View/Components/Header.vue":cc,"./View/Components/HeaderNavigation.vue":uc,"./View/Components/Heroicon.vue":pc,"./View/Components/Menu.vue":yc}),"insight"),F.registerComponents(Object.assign({"./View/Layouts/DrawerLayout.vue":kc,"./View/Layouts/InsightLayout.vue":Nc,"./View/Layouts/ResourceDetailLayout.vue":Dc}),"insight"),Mr}const Mc={class:"p-8"},Ic=r.createElementVNode("h4",{class:"text-2xl font-medium"},"Welcome Back, Peter",-1),Rc={class:"bg-white mt-6 border border-gray-200 shadow-sm drop-shadow-sm p-4 rounded-lg"},Lc=r.createTextVNode("Dashboard / Overview"),jc={class:"mt-4"},Uc=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"HomePage",props:{location:null},setup(t){const e=r.ref(1);return(n,o)=>(r.openBlock(),r.createElementBlock("div",Mc,[Ic,r.createElementVNode("div",Rc,[r.createElementVNode("p",null,r.toDisplayString(t.location),1),r.createVNode(r.unref(Me.Link),{href:"/insight/dashboard/overview"},{default:r.withCtx(()=>[Lc]),_:1})]),r.createElementVNode("div",jc,[r.createElementVNode("p",null,"Counter: "+r.toDisplayString(e.value),1),r.createElementVNode("button",{class:"btn small mt-2",onClick:o[0]||(o[0]=r.withModifiers(i=>e.value++,["prevent"]))},"Add")])]))}})},Symbol.toStringTag,{value:"Module"}));var Wc=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;e[n]=i;for(n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},Kn=typeof Symbol<"u"&&Symbol,zc=Wc,Hc=function(){return typeof Kn!="function"||typeof Symbol!="function"||typeof Kn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:zc()},Gc="Function.prototype.bind called on incompatible ",fr=Array.prototype.slice,Qc=Object.prototype.toString,qc="[object Function]",Jc=function(e){var n=this;if(typeof n!="function"||Qc.call(n)!==qc)throw new TypeError(Gc+n);for(var o=fr.call(arguments,1),i,a=function(){if(this instanceof i){var u=n.apply(this,o.concat(fr.call(arguments)));return Object(u)===u?u:this}else return n.apply(e,o.concat(fr.call(arguments)))},l=Math.max(0,n.length-o.length),c=[],s=0;s<l;s++)c.push("$"+s);if(i=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var f=function(){};f.prototype=n.prototype,i.prototype=new f,f.prototype=null}return i},Kc=Jc,ur=Function.prototype.bind||Kc,Yc=ur,Zc=Yc.call(Function.call,Object.prototype.hasOwnProperty),$,ke=SyntaxError,Yn=Function,Ne=TypeError,pr=function(t){try{return Yn('"use strict"; return ('+t+").constructor;")()}catch{}},me=Object.getOwnPropertyDescriptor;if(me)try{me({},"")}catch{me=null}var dr=function(){throw new Ne},Xc=me?function(){try{return arguments.callee,dr}catch{try{return me(arguments,"callee").get}catch{return dr}}}():dr,Ce=Hc(),ie=Object.getPrototypeOf||function(t){return t.__proto__},Be={},es=typeof Uint8Array>"u"?$:ie(Uint8Array),Fe={"%AggregateError%":typeof AggregateError>"u"?$:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?$:ArrayBuffer,"%ArrayIteratorPrototype%":Ce?ie([][Symbol.iterator]()):$,"%AsyncFromSyncIteratorPrototype%":$,"%AsyncFunction%":Be,"%AsyncGenerator%":Be,"%AsyncGeneratorFunction%":Be,"%AsyncIteratorPrototype%":Be,"%Atomics%":typeof Atomics>"u"?$:Atomics,"%BigInt%":typeof BigInt>"u"?$:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?$:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?$:Float32Array,"%Float64Array%":typeof Float64Array>"u"?$:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?$:FinalizationRegistry,"%Function%":Yn,"%GeneratorFunction%":Be,"%Int8Array%":typeof Int8Array>"u"?$:Int8Array,"%Int16Array%":typeof Int16Array>"u"?$:Int16Array,"%Int32Array%":typeof Int32Array>"u"?$:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ce?ie(ie([][Symbol.iterator]())):$,"%JSON%":typeof JSON=="object"?JSON:$,"%Map%":typeof Map>"u"?$:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ce?$:ie(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?$:Promise,"%Proxy%":typeof Proxy>"u"?$:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?$:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?$:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ce?$:ie(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?$:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ce?ie(""[Symbol.iterator]()):$,"%Symbol%":Ce?Symbol:$,"%SyntaxError%":ke,"%ThrowTypeError%":Xc,"%TypedArray%":es,"%TypeError%":Ne,"%Uint8Array%":typeof Uint8Array>"u"?$:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?$:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?$:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?$:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?$:WeakMap,"%WeakRef%":typeof WeakRef>"u"?$:WeakRef,"%WeakSet%":typeof WeakSet>"u"?$:WeakSet},ts=function t(e){var n;if(e==="%AsyncFunction%")n=pr("async function () {}");else if(e==="%GeneratorFunction%")n=pr("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=pr("async function* () {}");else if(e==="%AsyncGenerator%"){var o=t("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&(n=ie(i.prototype))}return Fe[e]=n,n},Zn={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Qe=ur,dt=Zc,rs=Qe.call(Function.call,Array.prototype.concat),ns=Qe.call(Function.apply,Array.prototype.splice),Xn=Qe.call(Function.call,String.prototype.replace),yt=Qe.call(Function.call,String.prototype.slice),os=Qe.call(Function.call,RegExp.prototype.exec),as=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,is=/\\(\\)?/g,ls=function(e){var n=yt(e,0,1),o=yt(e,-1);if(n==="%"&&o!=="%")throw new ke("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&n!=="%")throw new ke("invalid intrinsic syntax, expected opening `%`");var i=[];return Xn(e,as,function(a,l,c,s){i[i.length]=c?Xn(s,is,"$1"):l||a}),i},cs=function(e,n){var o=e,i;if(dt(Zn,o)&&(i=Zn[o],o="%"+i[0]+"%"),dt(Fe,o)){var a=Fe[o];if(a===Be&&(a=ts(o)),typeof a>"u"&&!n)throw new Ne("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:o,value:a}}throw new ke("intrinsic "+e+" does not exist!")},yr=function(e,n){if(typeof e!="string"||e.length===0)throw new Ne("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Ne('"allowMissing" argument must be a boolean');if(os(/^%?[^%]*%?$/,e)===null)throw new ke("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=ls(e),i=o.length>0?o[0]:"",a=cs("%"+i+"%",n),l=a.name,c=a.value,s=!1,f=a.alias;f&&(i=f[0],ns(o,rs([0,1],f)));for(var u=1,d=!0;u<o.length;u+=1){var p=o[u],y=yt(p,0,1),m=yt(p,-1);if((y==='"'||y==="'"||y==="`"||m==='"'||m==="'"||m==="`")&&y!==m)throw new ke("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(s=!0),i+="."+p,l="%"+i+"%",dt(Fe,l))c=Fe[l];else if(c!=null){if(!(p in c)){if(!n)throw new Ne("base intrinsic for "+e+" exists, but the property is not available.");return}if(me&&u+1>=o.length){var g=me(c,p);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?c=g.get:c=c[p]}else d=dt(c,p),c=c[p];d&&!s&&(Fe[l]=c)}}return c},eo={exports:{}};(function(t){var e=ur,n=yr,o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||e.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),s=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(d){var p=a(e,i,arguments);if(l&&c){var y=l(p,"length");y.configurable&&c(p,"length",{value:1+s(0,d.length-(arguments.length-1))})}return p};var f=function(){return a(e,o,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f})(eo);var to=yr,ro=eo.exports,ss=ro(to("String.prototype.indexOf")),fs=function(e,n){var o=to(e,!!n);return typeof o=="function"&&ss(e,".prototype.")>-1?ro(o):o},mr=typeof Map=="function"&&Map.prototype,hr=Object.getOwnPropertyDescriptor&&mr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mt=mr&&hr&&typeof hr.get=="function"?hr.get:null,us=mr&&Map.prototype.forEach,gr=typeof Set=="function"&&Set.prototype,vr=Object.getOwnPropertyDescriptor&&gr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ht=gr&&vr&&typeof vr.get=="function"?vr.get:null,ps=gr&&Set.prototype.forEach,ds=typeof WeakMap=="function"&&WeakMap.prototype,qe=ds?WeakMap.prototype.has:null,ys=typeof WeakSet=="function"&&WeakSet.prototype,Je=ys?WeakSet.prototype.has:null,ms=typeof WeakRef=="function"&&WeakRef.prototype,no=ms?WeakRef.prototype.deref:null,hs=Boolean.prototype.valueOf,gs=Object.prototype.toString,vs=Function.prototype.toString,bs=String.prototype.match,br=String.prototype.slice,le=String.prototype.replace,ws=String.prototype.toUpperCase,oo=String.prototype.toLowerCase,ao=RegExp.prototype.test,io=Array.prototype.concat,J=Array.prototype.join,Ss=Array.prototype.slice,lo=Math.floor,wr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Sr=Object.getOwnPropertySymbols,$r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="object",U=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ve?"object":"symbol")?Symbol.toStringTag:null,co=Object.prototype.propertyIsEnumerable,so=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function fo(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ao.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var o=t<0?-lo(-t):lo(t);if(o!==t){var i=String(o),a=br.call(e,i.length+1);return le.call(i,n,"$&_")+"."+le.call(le.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return le.call(e,n,"$&_")}var Er=hn,uo=Er.custom,po=ho(uo)?uo:null,$s=function t(e,n,o,i){var a=n||{};if(ce(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ce(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=ce(a,"customInspect")?a.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ce(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ce(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return vo(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return c?fo(e,s):s}if(typeof e=="bigint"){var f=String(e)+"n";return c?fo(e,f):f}var u=typeof a.depth>"u"?5:a.depth;if(typeof o>"u"&&(o=0),o>=u&&u>0&&typeof e=="object")return xr(e)?"[Array]":"[Object]";var d=Ls(a,o);if(typeof i>"u")i=[];else if(go(i,e)>=0)return"[Circular]";function p(k,P,A){if(P&&(i=Ss.call(i),i.push(P)),A){var W={depth:a.depth};return ce(a,"quoteStyle")&&(W.quoteStyle=a.quoteStyle),t(k,W,o+1,i)}return t(k,a,o+1,i)}if(typeof e=="function"&&!mo(e)){var y=Cs(e),m=gt(e,p);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(m.length>0?" { "+J.call(m,", ")+" }":"")}if(ho(e)){var g=Ve?le.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):$r.call(e);return typeof e=="object"&&!Ve?Ke(g):g}if(Ms(e)){for(var _="<"+oo.call(String(e.nodeName)),h=e.attributes||[],O=0;O<h.length;O++)_+=" "+h[O].name+"="+yo(Es(h[O].value),"double",a);return _+=">",e.childNodes&&e.childNodes.length&&(_+="..."),_+="</"+oo.call(String(e.nodeName))+">",_}if(xr(e)){if(e.length===0)return"[]";var B=gt(e,p);return d&&!Rs(B)?"["+Pr(B,d)+"]":"[ "+J.call(B,", ")+" ]"}if(_s(e)){var L=gt(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!co.call(e,"cause")?"{ ["+String(e)+"] "+J.call(io.call("[cause]: "+p(e.cause),L),", ")+" }":L.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+J.call(L,", ")+" }"}if(typeof e=="object"&&l){if(po&&typeof e[po]=="function"&&Er)return Er(e,{depth:u-o});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Bs(e)){var M=[];return us.call(e,function(k,P){M.push(p(P,e,!0)+" => "+p(k,e))}),bo("Map",mt.call(e),M,d)}if(Ds(e)){var V=[];return ps.call(e,function(k){V.push(p(k,e))}),bo("Set",ht.call(e),V,d)}if(Fs(e))return _r("WeakMap");if(Ts(e))return _r("WeakSet");if(Vs(e))return _r("WeakRef");if(Os(e))return Ke(p(Number(e)));if(ks(e))return Ke(p(wr.call(e)));if(As(e))return Ke(hs.call(e));if(Ps(e))return Ke(p(String(e)));if(!xs(e)&&!mo(e)){var v=gt(e,p),w=so?so(e)===Object.prototype:e instanceof Object||e.constructor===Object,b=e instanceof Object?"":"null prototype",E=!w&&U&&Object(e)===e&&U in e?br.call(se(e),8,-1):b?"Object":"",x=w||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",N=x+(E||b?"["+J.call(io.call([],E||[],b||[]),": ")+"] ":"");return v.length===0?N+"{}":d?N+"{"+Pr(v,d)+"}":N+"{ "+J.call(v,", ")+" }"}return String(e)};function yo(t,e,n){var o=(n.quoteStyle||e)==="double"?'"':"'";return o+t+o}function Es(t){return le.call(String(t),/"/g,""")}function xr(t){return se(t)==="[object Array]"&&(!U||!(typeof t=="object"&&U in t))}function xs(t){return se(t)==="[object Date]"&&(!U||!(typeof t=="object"&&U in t))}function mo(t){return se(t)==="[object RegExp]"&&(!U||!(typeof t=="object"&&U in t))}function _s(t){return se(t)==="[object Error]"&&(!U||!(typeof t=="object"&&U in t))}function Ps(t){return se(t)==="[object String]"&&(!U||!(typeof t=="object"&&U in t))}function Os(t){return se(t)==="[object Number]"&&(!U||!(typeof t=="object"&&U in t))}function As(t){return se(t)==="[object Boolean]"&&(!U||!(typeof t=="object"&&U in t))}function ho(t){if(Ve)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!$r)return!1;try{return $r.call(t),!0}catch{}return!1}function ks(t){if(!t||typeof t!="object"||!wr)return!1;try{return wr.call(t),!0}catch{}return!1}var Ns=Object.prototype.hasOwnProperty||function(t){return t in this};function ce(t,e){return Ns.call(t,e)}function se(t){return gs.call(t)}function Cs(t){if(t.name)return t.name;var e=bs.call(vs.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function go(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1}function Bs(t){if(!mt||!t||typeof t!="object")return!1;try{mt.call(t);try{ht.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Fs(t){if(!qe||!t||typeof t!="object")return!1;try{qe.call(t,qe);try{Je.call(t,Je)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Vs(t){if(!no||!t||typeof t!="object")return!1;try{return no.call(t),!0}catch{}return!1}function Ds(t){if(!ht||!t||typeof t!="object")return!1;try{ht.call(t);try{mt.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Ts(t){if(!Je||!t||typeof t!="object")return!1;try{Je.call(t,Je);try{qe.call(t,qe)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Ms(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function vo(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return vo(br.call(t,0,e.maxStringLength),e)+o}var i=le.call(le.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Is);return yo(i,"single",e)}function Is(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+ws.call(e.toString(16))}function Ke(t){return"Object("+t+")"}function _r(t){return t+" { ? }"}function bo(t,e,n,o){var i=o?Pr(n,o):J.call(n,", ");return t+" ("+e+") {"+i+"}"}function Rs(t){for(var e=0;e<t.length;e++)if(go(t[e],`
`)>=0)return!1;return!0}function Ls(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=J.call(Array(t.indent+1)," ");else return null;return{base:n,prev:J.call(Array(e+1),n)}}function Pr(t,e){if(t.length===0)return"";var n=`
`+e.prev+e.base;return n+J.call(t,","+n)+`
`+e.prev}function gt(t,e){var n=xr(t),o=[];if(n){o.length=t.length;for(var i=0;i<t.length;i++)o[i]=ce(t,i)?e(t[i],t):""}var a=typeof Sr=="function"?Sr(t):[],l;if(Ve){l={};for(var c=0;c<a.length;c++)l["$"+a[c]]=a[c]}for(var s in t)!ce(t,s)||n&&String(Number(s))===s&&s<t.length||Ve&&l["$"+s]instanceof Symbol||(ao.call(/[^\w$]/,s)?o.push(e(s,t)+": "+e(t[s],t)):o.push(s+": "+e(t[s],t)));if(typeof Sr=="function")for(var f=0;f<a.length;f++)co.call(t,a[f])&&o.push("["+e(a[f])+"]: "+e(t[a[f]],t));return o}var Or=yr,De=fs,js=$s,Us=Or("%TypeError%"),vt=Or("%WeakMap%",!0),bt=Or("%Map%",!0),Ws=De("WeakMap.prototype.get",!0),zs=De("WeakMap.prototype.set",!0),Hs=De("WeakMap.prototype.has",!0),Gs=De("Map.prototype.get",!0),Qs=De("Map.prototype.set",!0),qs=De("Map.prototype.has",!0),Ar=function(t,e){for(var n=t,o;(o=n.next)!==null;n=o)if(o.key===e)return n.next=o.next,o.next=t.next,t.next=o,o},Js=function(t,e){var n=Ar(t,e);return n&&n.value},Ks=function(t,e,n){var o=Ar(t,e);o?o.value=n:t.next={key:e,next:t.next,value:n}},Ys=function(t,e){return!!Ar(t,e)},Zs=function(){var e,n,o,i={assert:function(a){if(!i.has(a))throw new Us("Side channel does not contain "+js(a))},get:function(a){if(vt&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Ws(e,a)}else if(bt){if(n)return Gs(n,a)}else if(o)return Js(o,a)},has:function(a){if(vt&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Hs(e,a)}else if(bt){if(n)return qs(n,a)}else if(o)return Ys(o,a);return!1},set:function(a,l){vt&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new vt),zs(e,a,l)):bt?(n||(n=new bt),Qs(n,a,l)):(o||(o={key:{},next:null}),Ks(o,a,l))}};return i},Xs=String.prototype.replace,ef=/%20/g,kr={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nr={default:kr.RFC3986,formatters:{RFC1738:function(t){return Xs.call(t,ef,"+")},RFC3986:function(t){return String(t)}},RFC1738:kr.RFC1738,RFC3986:kr.RFC3986},tf=Nr,Cr=Object.prototype.hasOwnProperty,he=Array.isArray,K=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),rf=function(e){for(;e.length>1;){var n=e.pop(),o=n.obj[n.prop];if(he(o)){for(var i=[],a=0;a<o.length;++a)typeof o[a]<"u"&&i.push(o[a]);n.obj[n.prop]=i}}},wo=function(e,n){for(var o=n&&n.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(o[i]=e[i]);return o},nf=function t(e,n,o){if(!n)return e;if(typeof n!="object"){if(he(e))e.push(n);else if(e&&typeof e=="object")(o&&(o.plainObjects||o.allowPrototypes)||!Cr.call(Object.prototype,n))&&(e[n]=!0);else return[e,n];return e}if(!e||typeof e!="object")return[e].concat(n);var i=e;return he(e)&&!he(n)&&(i=wo(e,o)),he(e)&&he(n)?(n.forEach(function(a,l){if(Cr.call(e,l)){var c=e[l];c&&typeof c=="object"&&a&&typeof a=="object"?e[l]=t(c,a,o):e.push(a)}else e[l]=a}),e):Object.keys(n).reduce(function(a,l){var c=n[l];return Cr.call(a,l)?a[l]=t(a[l],c,o):a[l]=c,a},i)},of=function(e,n){return Object.keys(n).reduce(function(o,i){return o[i]=n[i],o},e)},af=function(t,e,n){var o=t.replace(/\+/g," ");if(n==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},lf=function(e,n,o,i,a){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),o==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(u){return"%26%23"+parseInt(u.slice(2),16)+"%3B"});for(var c="",s=0;s<l.length;++s){var f=l.charCodeAt(s);if(f===45||f===46||f===95||f===126||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===tf.RFC1738&&(f===40||f===41)){c+=l.charAt(s);continue}if(f<128){c=c+K[f];continue}if(f<2048){c=c+(K[192|f>>6]+K[128|f&63]);continue}if(f<55296||f>=57344){c=c+(K[224|f>>12]+K[128|f>>6&63]+K[128|f&63]);continue}s+=1,f=65536+((f&1023)<<10|l.charCodeAt(s)&1023),c+=K[240|f>>18]+K[128|f>>12&63]+K[128|f>>6&63]+K[128|f&63]}return c},cf=function(e){for(var n=[{obj:{o:e},prop:"o"}],o=[],i=0;i<n.length;++i)for(var a=n[i],l=a.obj[a.prop],c=Object.keys(l),s=0;s<c.length;++s){var f=c[s],u=l[f];typeof u=="object"&&u!==null&&o.indexOf(u)===-1&&(n.push({obj:l,prop:f}),o.push(u))}return rf(n),e},sf=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},ff=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},uf=function(e,n){return[].concat(e,n)},pf=function(e,n){if(he(e)){for(var o=[],i=0;i<e.length;i+=1)o.push(n(e[i]));return o}return n(e)},So={arrayToObject:wo,assign:of,combine:uf,compact:cf,decode:af,encode:lf,isBuffer:ff,isRegExp:sf,maybeMap:pf,merge:nf},$o=Zs,Br=So,Ye=Nr,df=Object.prototype.hasOwnProperty,Eo={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},X=Array.isArray,yf=String.prototype.split,mf=Array.prototype.push,xo=function(t,e){mf.apply(t,X(e)?e:[e])},hf=Date.prototype.toISOString,_o=Ye.default,R={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Br.encode,encodeValuesOnly:!1,format:_o,formatter:Ye.formatters[_o],indices:!1,serializeDate:function(e){return hf.call(e)},skipNulls:!1,strictNullHandling:!1},gf=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Fr={},vf=function t(e,n,o,i,a,l,c,s,f,u,d,p,y,m,g,_){for(var h=e,O=_,B=0,L=!1;(O=O.get(Fr))!==void 0&&!L;){var M=O.get(e);if(B+=1,typeof M<"u"){if(M===B)throw new RangeError("Cyclic object value");L=!0}typeof O.get(Fr)>"u"&&(B=0)}if(typeof s=="function"?h=s(n,h):h instanceof Date?h=d(h):o==="comma"&&X(h)&&(h=Br.maybeMap(h,function(ve){return ve instanceof Date?d(ve):ve})),h===null){if(a)return c&&!m?c(n,R.encoder,g,"key",p):n;h=""}if(gf(h)||Br.isBuffer(h)){if(c){var V=m?n:c(n,R.encoder,g,"key",p);if(o==="comma"&&m){for(var v=yf.call(String(h),","),w="",b=0;b<v.length;++b)w+=(b===0?"":",")+y(c(v[b],R.encoder,g,"value",p));return[y(V)+(i&&X(h)&&v.length===1?"[]":"")+"="+w]}return[y(V)+"="+y(c(h,R.encoder,g,"value",p))]}return[y(n)+"="+y(String(h))]}var E=[];if(typeof h>"u")return E;var x;if(o==="comma"&&X(h))x=[{value:h.length>0?h.join(",")||null:void 0}];else if(X(s))x=s;else{var N=Object.keys(h);x=f?N.sort(f):N}for(var k=i&&X(h)&&h.length===1?n+"[]":n,P=0;P<x.length;++P){var A=x[P],W=typeof A=="object"&&typeof A.value<"u"?A.value:h[A];if(!(l&&W===null)){var ge=X(h)?typeof o=="function"?o(k,A):k:k+(u?"."+A:"["+A+"]");_.set(e,B);var Ze=$o();Ze.set(Fr,_),xo(E,t(W,ge,o,i,a,l,c,s,f,u,d,p,y,m,g,Ze))}}return E},bf=function(e){if(!e)return R;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=e.charset||R.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=Ye.default;if(typeof e.format<"u"){if(!df.call(Ye.formatters,e.format))throw new TypeError("Unknown format option provided.");o=e.format}var i=Ye.formatters[o],a=R.filter;return(typeof e.filter=="function"||X(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:R.addQueryPrefix,allowDots:typeof e.allowDots>"u"?R.allowDots:!!e.allowDots,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:R.charsetSentinel,delimiter:typeof e.delimiter>"u"?R.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:R.encode,encoder:typeof e.encoder=="function"?e.encoder:R.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:R.encodeValuesOnly,filter:a,format:o,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:R.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:R.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:R.strictNullHandling}},wf=function(t,e){var n=t,o=bf(e),i,a;typeof o.filter=="function"?(a=o.filter,n=a("",n)):X(o.filter)&&(a=o.filter,i=a);var l=[];if(typeof n!="object"||n===null)return"";var c;e&&e.arrayFormat in Eo?c=e.arrayFormat:e&&"indices"in e?c=e.indices?"indices":"repeat":c="indices";var s=Eo[c];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=s==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(n)),o.sort&&i.sort(o.sort);for(var u=$o(),d=0;d<i.length;++d){var p=i[d];o.skipNulls&&n[p]===null||xo(l,vf(n[p],p,s,f,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var y=l.join(o.delimiter),m=o.addQueryPrefix===!0?"?":"";return o.charsetSentinel&&(o.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),y.length>0?m+y:""},Te=So,Vr=Object.prototype.hasOwnProperty,Sf=Array.isArray,T={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Te.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},$f=function(t){return t.replace(/&#(\d+);/g,function(e,n){return String.fromCharCode(parseInt(n,10))})},Po=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},Ef="utf8=%26%2310003%3B",xf="utf8=%E2%9C%93",_f=function(e,n){var o={},i=n.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=n.parameterLimit===1/0?void 0:n.parameterLimit,l=i.split(n.delimiter,a),c=-1,s,f=n.charset;if(n.charsetSentinel)for(s=0;s<l.length;++s)l[s].indexOf("utf8=")===0&&(l[s]===xf?f="utf-8":l[s]===Ef&&(f="iso-8859-1"),c=s,s=l.length);for(s=0;s<l.length;++s)if(s!==c){var u=l[s],d=u.indexOf("]="),p=d===-1?u.indexOf("="):d+1,y,m;p===-1?(y=n.decoder(u,T.decoder,f,"key"),m=n.strictNullHandling?null:""):(y=n.decoder(u.slice(0,p),T.decoder,f,"key"),m=Te.maybeMap(Po(u.slice(p+1),n),function(g){return n.decoder(g,T.decoder,f,"value")})),m&&n.interpretNumericEntities&&f==="iso-8859-1"&&(m=$f(m)),u.indexOf("[]=")>-1&&(m=Sf(m)?[m]:m),Vr.call(o,y)?o[y]=Te.combine(o[y],m):o[y]=m}return o},Pf=function(t,e,n,o){for(var i=o?e:Po(e,n),a=t.length-1;a>=0;--a){var l,c=t[a];if(c==="[]"&&n.parseArrays)l=[].concat(i);else{l=n.plainObjects?Object.create(null):{};var s=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,f=parseInt(s,10);!n.parseArrays&&s===""?l={0:i}:!isNaN(f)&&c!==s&&String(f)===s&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[],l[f]=i):s!=="__proto__"&&(l[s]=i)}i=l}return i},Of=function(e,n,o,i){if(!!e){var a=o.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,s=o.depth>0&&l.exec(a),f=s?a.slice(0,s.index):a,u=[];if(f){if(!o.plainObjects&&Vr.call(Object.prototype,f)&&!o.allowPrototypes)return;u.push(f)}for(var d=0;o.depth>0&&(s=c.exec(a))!==null&&d<o.depth;){if(d+=1,!o.plainObjects&&Vr.call(Object.prototype,s[1].slice(1,-1))&&!o.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),Pf(u,n,o,i)}},Af=function(e){if(!e)return T;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof e.charset>"u"?T.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?T.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:T.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:T.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:T.arrayLimit,charset:n,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:T.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:T.comma,decoder:typeof e.decoder=="function"?e.decoder:T.decoder,delimiter:typeof e.delimiter=="string"||Te.isRegExp(e.delimiter)?e.delimiter:T.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:T.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:T.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:T.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:T.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:T.strictNullHandling}},kf=function(t,e){var n=Af(e);if(t===""||t===null||typeof t>"u")return n.plainObjects?Object.create(null):{};for(var o=typeof t=="string"?_f(t,n):t,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),l=0;l<a.length;++l){var c=a[l],s=Of(c,o[c],n,typeof t=="string");i=Te.merge(i,s,n)}return n.allowSparse===!0?i:Te.compact(i)},Nf=wf,Cf=kf,Bf=Nr,Oo={formats:Bf,parse:Cf,stringify:Nf};function Ff(t,e=400){let n;return r.customRef((o,i)=>({get(){return o(),t},set(a){clearTimeout(n),n=setTimeout(()=>{t=a,i()},e)}}))}function Vf(t){if(t.includes(":")){const[e,n]=t.split(":");return{sortAs:e,direction:n}}return{sortAs:"",direction:"asc"}}function Df(t,e,n,o){const i=`${o}${n}`;if(e.hasOwnProperty(i)){const a=parseInt(`${e[i]}`);if(!isNaN(a)&&a>0)return a}return t}function Tf(t,e,n,o,i){const a=`${i}${o}`;t===e?delete n[a]:n[a]=`${t}`}function Mf(t,e,n){const o=`${n}${e}`;return t.hasOwnProperty(o)?`${t[o]}`:""}function If(t,e,n,o,i){const a=`${i}${o}`;t===e?delete n[a]:n[a]=`${t}`}function Rf(t,e,n,o,i){const a=`${i}${n}`;if(t.hasOwnProperty(a)){const l=t[a];if(typeof l=="string"&&l.length>0){const c=`${i}${o}`,s=t[c];return`${l}:${s==="asc"||s==="desc"?s:e}`}}return""}function Lf(t,e,n,o,i){const a=`${i}${n}`,l=`${i}${o}`,c=Vf(t);c.sortAs.length>0?(e[a]=c.sortAs,e[l]=c.direction):(delete e[a],delete e[l])}function jf(t={prefix:"",perPageParam:"limit",searchParam:"s",sortAsParam:"sort_by",sortDirectionParam:"sort_as"}){const e=r.ref(25),n=r.ref(""),o=r.ref(""),i=Ff(""),a=d=>{e.value=Df(25,d,t.perPageParam,t.prefix),n.value=Mf(d,t.searchParam,t.prefix),o.value=Rf(d,"desc",t.sortAsParam,t.sortDirectionParam,t.prefix)},l=r.computed(()=>n.value.length>0),c=()=>{let d=window.location.search;return d.startsWith("?")&&(d=d.slice(1,d.length)),Oo.parse(d)},s=d=>{const p=Oo.stringify(d,{encode:!0}),y=window.location.href.split("?")[0];return p.length>0?`${y}?${p}`:y};let f=c();a(f);const u=()=>{const d=c();JSON.stringify(d).split("").sort().join()!=JSON.stringify(f).split("").sort().join()&&Dr.Inertia.visit(s(f),{preserveState:!0})};return r.watch(e,d=>{Tf(d,25,f,t.perPageParam,t.prefix),u()}),r.watch(n,d=>{i.value=d}),r.watch(i,d=>{If(d,"",f,t.searchParam,t.prefix),u()}),r.watch(o,d=>{Lf(d,f,t.sortAsParam,t.sortDirectionParam,t.prefix),u()}),{perPage:e,searchTerm:n,sortAs:o,isSearching:l}}const Uf={class:"w-full max-w-7xl mx-auto px-4 pt-12 pb-16"},Wf={class:"w-full flex flex-row items-center justify-between"},zf=r.createElementVNode("div",{class:"inline-flex"},null,-1),Hf={class:"inline-flex flex-row gap-3"},Gf={key:0,class:"block relative"},Qf=["onUpdate:modelValue"],qf={class:"w-full flex flex-row items-center justify-between"},Jf={class:"inline-flex items-center gap-3"},Kf=["onClick"],Yf={class:"font-medium text-primary-700 text-sm"},Zf={key:0,class:"inline-flex flex-row gap-3"},Xf={class:"btn primary gap-2"},eu=r.createTextVNode(" Actions "),tu=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"ListResourcesPage",setup(t){const e=Me.usePage(),n=r.computed(()=>e.props.value.resources),o=jf(),i=r.computed(()=>e.props.value.isSearchable||!!e.props.value.filter);return(a,l)=>(r.openBlock(),r.createElementBlock("div",Uf,[r.unref(e).props.value.breadcrumbItems?(r.openBlock(),r.createBlock(r.unref(z.Breadcrumbs),{key:0,items:r.unref(e).props.value.breadcrumbItems,class:"mb-4"},{separator:r.withCtx(()=>[r.createVNode(r.unref(Tt),{class:"w-4 h-4 mx-2 text-gray-300"})]),_:1},8,["items"])):r.createCommentVNode("",!0),r.unref(n)?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:1,class:"w-full",component:r.unref(n),handler:r.unref(o)},r.createSlots({bulkActions:r.withCtx(({selection:c,total:s,clear:f})=>[r.createElementVNode("div",qf,[r.createElementVNode("div",Jf,[r.createElementVNode("button",{class:"btn-link danger",onClick:r.withModifiers(f,["prevent"])}," Clear ",8,Kf),r.createElementVNode("span",Yf,"Selected "+r.toDisplayString(c.length)+" of "+r.toDisplayString(s),1)]),r.unref(e).props.value.bulkActions.length>0?(r.openBlock(),r.createElementBlock("div",Zf,[r.createVNode(r.unref(z.Menu),{class:"w-48",placement:"bottom-right"},{toggle:r.withCtx(()=>[r.createElementVNode("button",Xf,[r.createVNode(r.unref(Pa),{class:"w-4 h-4"}),eu])]),default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(e).props.value.bulkActions,u=>(r.openBlock(),r.createBlock(r.unref(z.MenuItem),{as:"template"},{default:r.withCtx(({active:d,close:p})=>[r.createVNode(r.unref(F.Portal),{onClick:p,class:"menu-item flex w-full",component:u,"additional-data":{resources:c}},null,8,["onClick","component","additional-data"])]),_:2},1024))),256))]),_:2},1024)])):r.createCommentVNode("",!0)])]),_:2},[r.unref(i)?{name:"actions",fn:r.withCtx(({handler:c})=>[r.createElementVNode("div",Wf,[zf,r.createElementVNode("div",Hf,[r.unref(e).props.value.isSearchable?(r.openBlock(),r.createElementBlock("div",Gf,[r.withDirectives(r.createElementVNode("input",{"onUpdate:modelValue":s=>c.searchTerm.value=s,type:"text",placeholder:"Search\u2026",class:"pl-7"},null,8,Qf),[[r.vModelText,c.searchTerm.value]]),r.createVNode(r.unref(_a),{class:"text-gray-500 absolute top-1/2 -mt-2 left-2 w-4 h-4"})])):r.createCommentVNode("",!0),r.unref(e).props.value.filter?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:1,component:r.unref(e).props.value.filter},null,8,["component"])):r.createCommentVNode("",!0)])])])}:void 0]),1032,["component","handler"])):r.createCommentVNode("",!0)]))}})},Symbol.toStringTag,{value:"Module"})),ru={class:"w-full max-w-7xl mx-auto px-4 pt-12 pb-16"},nu={class:"inline-flex items-center gap-3 mt-4"},ou={class:"font-semibold text-gray-900 text-xl"},au=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"ResourceFormPage",props:{edit:{type:Boolean},title:null,breadcrumbItems:null,form:null},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",ru,[r.createVNode(r.unref(z.Breadcrumbs),{items:t.breadcrumbItems},{separator:r.withCtx(()=>[r.createVNode(r.unref(Tt),{class:"w-4 h-4 mx-2 text-gray-300"})]),_:1},8,["items"]),r.createElementVNode("div",nu,[r.createElementVNode("h4",ou,r.toDisplayString(t.title),1)]),t.form?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,class:"mt-4",component:t.form},null,8,["component"])):r.createCommentVNode("",!0)]))}})},Symbol.toStringTag,{value:"Module"})),iu={class:"flex flex-col w-full"},lu=Object.freeze(Object.defineProperty({__proto__:null,default:r.defineComponent({__name:"ShowResourcePage",setup(t){const e=Me.usePage();return(n,o)=>(r.openBlock(),r.createElementBlock("div",iu,[r.unref(e).props.value.details?(r.openBlock(),r.createBlock(r.unref(F.Portal),{key:0,component:r.unref(e).props.value.details},null,8,["component"])):r.createCommentVNode("",!0)]))}})},Symbol.toStringTag,{value:"Module"}));C.Filter=jn,C.Header=Un,C.HeaderNavigation=Wn,C.Heroicon=Hn,C.Insight=Mr,C.InsightApp=Tr,C.bootInsight=Tc,C.onEscapePress=cn,C.onKeyDown=ln,C.useKeyboardListener=an,C.useStatefulNavigation=Mt,C.useWindowEvent=on,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});