1import{t as e}from"./rolldown-runtime.QTnfLwEv.js";import{t}from"./accordion.B7OcN9xi.js";var n=e=>e===`true`,r=(e,t,n=``)=>(window.getComputedStyle(e).getPropertyValue(t)||n).replace(` `,``),i=(e,t,n=``)=>{let r=``;return e.classList.forEach(e=>{e.includes(t)&&(r=e)}),r.match(/:(.*)]/)?r.match(/:(.*)]/)[1]:n},a=()=>/iPad|iPhone|iPod/.test(navigator.platform)?!0:navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),o=()=>navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),s=(e,t,n=null)=>{let r=new CustomEvent(e,{detail:{payload:n},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(r)},c=(e,t)=>{let n=()=>{t(),e.removeEventListener(`transitionend`,n,!0)},r=window.getComputedStyle(e),i=r.getPropertyValue(`transition-duration`);r.getPropertyValue(`transition-property`)!==`none`&&parseFloat(i)>0?e.addEventListener(`transitionend`,n,!0):t()},l={historyIndex:-1,addHistory(e){this.historyIndex=e},existsInHistory(e){return e>this.historyIndex},clearHistory(){this.historyIndex=-1}},u=Math.min,d=Math.max,f=Math.round,p=Math.floor,m=e=>({x:e,y:e}),h={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function g(e,t){return typeof e==`function`?e(t):e}function _(e){return e.split(`-`)[0]}function v(e){return e.split(`-`)[1]}function y(e){return e===`x`?`y`:`x`}function b(e){return e===`y`?`height`:`width`}function x(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function S(e){return y(x(e))}function C(e,t,n){n===void 0&&(n=!1);let r=v(e),i=S(e),a=b(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=A(o)),[o,A(o)]}function ee(e){let t=A(e);return[w(e),t,w(t)]}function w(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var T=[`left`,`right`],E=[`right`,`left`],D=[`top`,`bottom`],O=[`bottom`,`top`];function k(e,t,n){switch(e){case`top`:case`bottom`:return n?t?E:T:t?T:E;case`left`:case`right`:return t?D:O;default:return[]}}function te(e,t,n,r){let i=v(e),a=k(_(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(w)))),a}function A(e){let t=_(e);return h[t]+e.slice(t.length)}function ne(e){return{top:0,right:0,bottom:0,left:0,...e}}function re(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:ne(e)}function j(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ie(e,t,n){let{reference:r,floating:i}=e,a=x(t),o=S(t),s=b(o),c=_(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(v(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function ae(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=g(t,e),p=re(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=j(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),_=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),y=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},b=j(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:_,offsetParent:v,strategy:s}):_);return{top:(h.top-b.top+p.top)/y.y,bottom:(b.bottom-h.bottom+p.bottom)/y.y,left:(h.left-b.left+p.left)/y.x,right:(b.right-h.right+p.right)/y.x}}var oe=50,se=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ae},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}
vendor: 7,650 bytes, line 1
1),{x:u,y:d}=ie(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<oe&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=ie(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},ce=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=g(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let v=_(r),y=x(o),b=_(o)===o,S=await(s.isRTL==null?void 0:s.isRTL(c.floating)),w=d||(b||!m?[A(o)]:ee(o)),T=p!==`none`;!d&&T&&w.push(...te(o,m,p,S));let E=[o,...w],D=await s.detectOverflow(t,h),O=[],k=i.flip?.overflows||[];if(l&&O.push(D[v]),u){let e=C(r,a,S);O.push(D[e[0]],D[e[1]])}if(k=[...k,{placement:r,overflows:O}],!O.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=E[e];if(t&&(!(u===`alignment`&&y!==x(t))||k.every(e=>x(e.placement)===y?e.overflows[0]>0:!0)))return{data:{index:e,overflows:k},reset:{placement:t}};let n=k.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=k.filter(e=>{if(T){let t=x(e.placement);return t===y||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},le=new Set([`left`,`top`]);async function ue(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=_(n),s=v(n),c=x(n)===`y`,l=le.has(o)?-1:1,u=a&&c?-1:1,d=g(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var de=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ue(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}};function M(){return typeof window<`u`}function N(e){return fe(e)?(e.nodeName||``).toLowerCase():`#document`}function P(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function F(e){return((fe(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function fe(e){return M()?e instanceof Node||e instanceof P(e).Node:!1}function I(e){return M()?e instanceof Element||e instanceof P(e).Element:!1}function L(e){return M()?e instanceof HTMLElement||e instanceof P(e).HTMLElement:!1}function pe(e){return!M()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof P(e).ShadowRoot}function R(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=W(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function me(e){return/^(table|td|th)$/.test(N(e))}function z(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var he=/transform|translate|scale|rotate|perspective|filter/,ge=/paint|layout|strict|content/,B=e=>!!e&&e!==`none`,_e;function V(e){let t=I(e)?W(e):e;return B(t.transform)||B(t.translate)||B(t.scale)||B(t.rotate)||B(t.perspective)||!H()&&(B(t.backdropFilter)||B(t.filter))||he.test(t.willChange||``)||ge.test(t.contain||``)}function ve(e){let t=K(e);for(;L(t)&&!U(t);){if(V(t))return t;if(z(t))return null;t=K(t)}return null}function H(){return _e??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),_e}function U(e){return/^(html|body|#document)$/.test(N(e))}function W(e){return P(e).getComputedStyle(e)}function G(e){return I(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if(N(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||pe(e)&&e.host||F(e);return pe(t)?t.host:t}function ye(e){let t=K(e);return U(t)?e.ownerDocument?e.ownerDocument.body:e.body:L(t)&&R(t)?t:ye(t)}function q(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ye(e),i=r===e.ownerDocument?.body,a=P(r);if(i){let e=J(a);return t.concat(a,a.visualViewport||[],R(r)?r:[],e&&n?q(e):[])}else return t.concat(r,q(r,[],n))}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function be(e){let t=W(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=L(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=f(n)!==a||f(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Y(e){return I(e)?e:e.contextElement}function X(e){let t=Y(e);if(!L(t))return m(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=be(t),o=(a?f(n.width):n.width)/r,s=(a?f(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var xe=m(0);function Se(e){let t=P(e);return!H()||!t.visualViewport?xe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ce(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==P(e)?!1:t}function Z(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Y(e),o=m(1);t&&(r?I(r)&&(o=X(r)):o=X(e));let s=Ce(a,n,r)?Se(a):m(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=P(a),t=r&&I(r)?P(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=X(i),t=i.getBoundingClientRect(),r=W(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=P(i),i=J(n)}}return j({width:u,height:d,x:c,y:l})}function Q(e,t){let n=G(e).scrollLeft;return t?t.left+n:Z(F(e)).left+n}function we(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Q(e,n),y:n.top+t.scrollTop}}function Te(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=F(r),s=t?z(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=m(1),u=m(0),d=L(r);if((d||!d&&!a)&&((N(r)!==`body`||R(o))&&(c=G(r)),d)){let e=Z(r);l=X(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?we(o,c):m(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ee(e){return Array.from(e.getClientRects())}function De(e){let t=F(e),n=G(e),r=e.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=d(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Q(e),s=-n.scrollTop;return W(r).direction===`rtl`&&(o+=d(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Oe=25;function ke(e,t){let n=P(e),r=F(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=H();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Q(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Oe&&(a-=o)}else l<=Oe&&(a+=l);return{width:a,height:o,x:s,y:c}}function Ae(e,t){let n=Z(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=L(e)?X(e):m(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function je(e,t,n){let r;if(t===`viewport`)r=ke(e,n);
1else if(t===`document`)r=De(F(e));else if(I(t))r=Ae(t,n);else{let n=Se(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(r)}function Me(e,t){let n=K(e);return n===t||!I(n)||U(n)?!1:W(n).position===`fixed`||Me(n,t)}function Ne(e,t){let n=t.get(e);if(n)return n;let r=q(e,[],!1).filter(e=>I(e)&&N(e)!==`body`),i=null,a=W(e).position===`fixed`,o=a?K(e):e;for(;I(o)&&!U(o);){let t=W(o),n=V(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||R(o)&&!n&&Me(e,o))?r=r.filter(e=>e!==o):i=t,o=K(o)}return t.set(e,r),r}function Pe(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?z(t)?[]:Ne(t,this._c):[].concat(n),r],o=je(t,a[0],i),s=o.top,c=o.right,l=o.bottom,f=o.left;for(let e=1;e<a.length;e++){let n=je(t,a[e],i);s=d(n.top,s),c=u(n.right,c),l=u(n.bottom,l),f=d(n.left,f)}return{width:c-f,height:l-s,x:f,y:s}}function Fe(e){let{width:t,height:n}=be(e);return{width:t,height:n}}function Ie(e,t,n){let r=L(t),i=F(t),a=n===`fixed`,o=Z(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=m(0);function l(){c.x=Q(i)}if(r||!r&&!a)if((N(t)!==`body`||R(i))&&(s=G(t)),r){let e=Z(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?we(i,s):m(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function $(e){return W(e).position===`static`}function Le(e,t){if(!L(e)||W(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function Re(e,t){let n=P(e);if(z(e))return n;if(!L(e)){let t=K(e);for(;t&&!U(t);){if(I(t)&&!$(t))return t;t=K(t)}return n}let r=Le(e,t);for(;r&&me(r)&&$(r);)r=Le(r,t);return r&&U(r)&&$(r)&&!V(r)?n:r||ve(e)||n}var ze=async function(e){let t=this.getOffsetParent||Re,n=this.getDimensions,r=await n(e.floating);return{reference:Ie(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Be(e){return W(e).direction===`rtl`}var Ve={convertOffsetParentRelativeRectToViewportRelativeRect:Te,getDocumentElement:F,getClippingRect:Pe,getOffsetParent:Re,getElementRects:ze,getClientRects:Ee,getDimensions:Fe,getScale:X,isElement:I,isRTL:Be};function He(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ue(e,t){let n=null,r,i=F(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:f,top:m,width:h,height:g}=l;if(s||t(),!h||!g)return;let _=p(m),v=p(i.clientWidth-(f+h)),y=p(i.clientHeight-(m+g)),b=p(f),x={rootMargin:-_+`px `+-v+`px `+-y+`px `+-b+`px`,threshold:d(0,u(1,c))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(n!==c){if(!S)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!He(l,e.getBoundingClientRect())&&o(),S=!1}try{n=new IntersectionObserver(C,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(e)}return o(!0),a}function We(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Y(e),u=i||a?[...l?q(l):[],...t?q(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ue(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Z(e):null;c&&g();function g(){let t=Z(e);h&&!He(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Ge=de,Ke=ce,qe=(e,t,n)=>{let r=new Map,i={platform:Ve,...n},a={...i.platform,_c:r};return se(e,t,{...i,platform:a})},Je=class{el;options;events;constructor(e,t,n){this.el=e,this.options=t,this.events=n,this.el=e,this.options=t,this.events={}}createCollection(e,t){e.push({id:t?.el?.id||e.length+1,element:t})}fireEvent(e,t=null){if(this.events.hasOwnProperty(e))return this.events[e](t)}on(e,t){this.events[e]=t}},Ye={auto:`auto`,"auto-start":`auto-start`,"auto-end":`auto-end`,top:`top`,"top-left":`top-start`,"top-right":`top-end`,bottom:`bottom`,"bottom-left":`bottom-start`,"bottom-right":`bottom-end`,right:`right`,"right-start":`right-start`,"right-end":`right-end`,left:`left`,"left-start":`left-start`,"left-end":`left-end`},Xe=[`Escape`,`ArrowUp`,`ArrowDown`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`],Ze=class e extends Je{constructor(e,t,i){super(e,t,i),this.longPressTimer=null,this.onTouchStartListener=null,this.onTouchEndListener=null,this.toggle=this.el.querySelector(`:scope > .hs-dropdown-toggle`)||this.el.querySelector(`:scope > .hs-dropdown-toggle-wrapper > .hs-dropdown-toggle`)||this.el.children[0],this.closers=Array.from(this.el.querySelectorAll(`:scope .hs-dropdown-close`))||null,this.menu=this.el.querySelector(`:scope > .hs-dropdown-menu`),this.eventMode=r(this.el,`--trigger`,`click`),this.closeMode=r(this.el,`--auto-close`,`true`),this.hasAutofocus=n(r(this.el,`--has-autofocus`,`true`)||`true`),this.animationInProcess=!1,this.onCloserClickListener=[],this.toggle&&this.menu&&this.init()}elementMouseEnter(){this.onMouseEnterHandler()}elementMouseLeave(){this.onMouseLeaveHandler()}toggleClick(e){this.onClickHandler(e)}toggleContextMenu(e){e.preventDefault(),this.onContextMenuHandler(e)}handleTouchStart(e){this.longPressTimer=window.setTimeout(()=>{e.preventDefault();let t=e.touches[0],n=new MouseEvent(`contextmenu`,{bubbles:!0,cancelable:!0,view:window,clientX:t.clientX,clientY:t.clientY});this.toggle&&this.toggle.dispatchEvent(n)},400)}handleTouchEnd(e){this.longPressTimer&&=(clearTimeout(this.longPressTimer),null)}closerClick(){this.close()}init(){if(this.createCollection(window.$hsDropdownCollection,this),this.toggle.disabled)return!1;
1this.toggle&&this.buildToggle(),this.menu&&this.buildMenu(),this.closers&&this.buildClosers(),!a()&&!o()&&(this.onElementMouseEnterListener=()=>this.elementMouseEnter(),this.onElementMouseLeaveListener=()=>this.elementMouseLeave(),this.el.addEventListener(`mouseenter`,this.onElementMouseEnterListener),this.el.addEventListener(`mouseleave`,this.onElementMouseLeaveListener))}resizeHandler(){this.eventMode=r(this.el,`--trigger`,`click`),this.closeMode=r(this.el,`--auto-close`,`true`)}buildToggle(){this?.toggle?.ariaExpanded&&(this.el.classList.contains(`open`)?this.toggle.ariaExpanded=`true`:this.toggle.ariaExpanded=`false`),this.eventMode===`contextmenu`?(this.onToggleContextMenuListener=e=>this.toggleContextMenu(e),this.onTouchStartListener=this.handleTouchStart.bind(this),this.onTouchEndListener=this.handleTouchEnd.bind(this),this.toggle.addEventListener(`contextmenu`,this.onToggleContextMenuListener),this.toggle.addEventListener(`touchstart`,this.onTouchStartListener,{passive:!1}),this.toggle.addEventListener(`touchend`,this.onTouchEndListener),this.toggle.addEventListener(`touchmove`,this.onTouchEndListener)):(this.onToggleClickListener=e=>this.toggleClick(e),this.toggle.addEventListener(`click`,this.onToggleClickListener))}buildMenu(){this.menu.role=this.menu.getAttribute(`role`)||`menu`;let e=this.menu.querySelectorAll(`[role="menuitemcheckbox"]`),t=this.menu.querySelectorAll(`[role="menuitemradio"]`);e.forEach(e=>e.addEventListener(`click`,()=>this.selectCheckbox(e))),t.forEach(e=>e.addEventListener(`click`,()=>this.selectRadio(e)))}buildClosers(){this.closers.forEach(e=>{this.onCloserClickListener.push({el:e,fn:()=>this.closerClick()}),e.addEventListener(`click`,this.onCloserClickListener.find(t=>t.el===e).fn)})}getScrollbarSize(){let e=document.createElement(`div`);e.style.overflow=`scroll`,e.style.width=`6.25rem`,e.style.height=`6.25rem`,document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}onContextMenuHandler(t){let n={getBoundingClientRect:()=>new DOMRect};n.getBoundingClientRect=()=>new DOMRect(t.clientX,t.clientY,0,0),e.closeCurrentlyOpened(),this.el.classList.contains(`open`)&&!this.menu.classList.contains(`hidden`)?(this.close(),document.body.style.overflow=``,document.body.style.paddingRight=``):(document.body.style.overflow=`hidden`,document.body.style.paddingRight=`${this.get
1ScrollbarSize()}px`,this.open(n))}onClickHandler(e){this.el.classList.contains(`open`)&&!this.menu.classList.contains(`hidden`)?this.close():this.open()}onMouseEnterHandler(){if(this.eventMode!==`hover`)return!1;(!this.el._floatingUI||this.el._floatingUI&&!this.el.classList.contains(`open`))&&this.forceClearState(),!this.el.classList.contains(`open`)&&this.menu.classList.contains(`hidden`)&&this.open()}onMouseLeaveHandler(){if(this.eventMode!==`hover`)return!1;this.el.classList.contains(`open`)&&!this.menu.classList.contains(`hidden`)&&this.close()}destroyFloatingUI(){let e=(window.getComputedStyle(this.el).getPropertyValue(`--scope`)||``).trim();this.menu.classList.remove(`block`),this.menu.classList.add(`hidden`),this.menu.style.inset=null,this.menu.style.position=null,this.el&&this.el._floatingUI&&(this.el._floatingUI.destroy(),this.el._floatingUI=null),e===`window`&&this.el.appendChild(this.menu),this.animationInProcess=!1}focusElement(){let e=this.menu.querySelector(`[autofocus]`);if(e)e.focus();else return!1}setupFloatingUI(e){let t=e||this.el,n=window.getComputedStyle(this.el),r=(n.getPropertyValue(`--placement`)||``).trim(),i=(n.getPropertyValue(`--flip`)||`true`).trim(),a=(n.getPropertyValue(`--strategy`)||`fixed`).trim(),o=(n.getPropertyValue(`--offset`)||`10`).trim(),s=(n.getPropertyValue(`--gpu-acceleration`)||`true`).trim(),c=(window.getComputedStyle(this.el).getPropertyValue(`--adaptive`)||`adaptive`).replace(` `,``),l=a,u=parseInt(o,10),d={placement:Ye[r]||`bottom-start`,strategy:l,middleware:[...i===`true`?[Ke()]:[],Ge(u)]},f=e=>{let t=this.menu.getBoundingClientRect(),n=window.innerWidth-(window.innerWidth-document.documentElement.clientWidth);return e+t.width>n&&(e=n-t.width),e<0&&(e=0),e},p=()=>{qe(t,this.menu,d).then(({x:e,y:t,placement:n})=>{let r=f(e);l===`absolute`&&c===`none`?Object.assign(this.menu.style,{position:l,margin:`0`}):l===`absolute`?Object.assign(this.menu.style,{position:l,transform:`translate3d(${e}px, ${t}px, 0px)`,margin:`0`}):s===`true`?Object.assign(this.menu.style,{position:l,left:``,top:``,inset:`0px auto auto 0px`,margin:`0`,transform:`translate3d(${c===`adaptive`?r:0}px, ${t}px, 0)`}):Object.assign(this.menu.style,{position:l,left:`${e}px`,top:`${t}px`,transform:``}),this.menu.setAttribute(`data-placement`,n)})};return p(),{update:p,destroy:We(t,this.menu,p)}}selectCheckbox(e){e.ariaChecked=e.ariaChecked===`true`?`false`:`true`}selectRadio(e){if(e.ariaChecked===`true`)return!1;let t=e.closest(`.group`).querySelectorAll(`[role="menuitemradio"]`);Array.from(t).filter(t=>t!==e).forEach(e=>{e.ariaChecked=`false`}),e.ariaChecked=`true`}calculatePopperPosition(e){let t=this.setupFloatingUI(e),n=this.menu.getAttribute(`data-placement`);return t.update(),t.destroy(),n}open(e){if(this.el.classList.contains(`open`)||this.animationInProcess)return!1;this.animationInProcess=!0,this.menu.style.cssText=``;let t=e||this.el,n=window.getComputedStyle(this.el),r=(n.getPropertyValue(`--scope`)||``).trim(),i=(n.getPropertyValue(`--strategy`)||`fixed`).trim();r===`window`&&document.body.appendChild(this.menu),i!==`static`&&(this.el._floatingUI=this.setupFloatingUI(t)),this.menu.style.margin=null,this.menu.classList.remove(`hidden`),this.menu.classList.add(`block`),setTimeout(()=>{this?.toggle?.ariaExpanded&&(this.toggle.ariaExpanded=`true`),this.el.classList.add(`open`),r===`window`&&this.menu.classList.add(`open`),this.animationInProcess=!1,this.hasAutofocus&&this.focusElement(),this.fireEvent(`open`,this.el),s(`open.hs.dropdown`,this.el,this.el)})}close(e=!0){if(this.animationInProcess||!this.el.classList.contains(`open`))return!1;let t=(window.getComputedStyle(this.el).getPropertyValue(`--scope`)||``).trim(),n=()=>{this.menu.style.margin=null,this?.toggle?.ariaExpanded&&(this.toggle.ariaExpanded=`false`),this.el.classList.remove(`open`),this.fireEvent(`close`,this.el),s(`close.hs.dropdown`,this.el,this.el)};this.animationInProcess=!0,t===`window`&&this.menu.classList.remove(`open`),e?c(this.el.querySelector(`[data-hs-dropdown-transition]`)||this.menu,()=>this.destroyFloatingUI()):this.destroyFloatingUI(),n()}forceClearState(){this.destroyFloatingUI(),this.menu.style.margin=null,this.el.classList.remove(`open`),this.menu.classList.add(`hidden`)}destroy(){!a()&&!o()&&(this.el.removeEventListener(`mouseenter`,this.onElementMouseEnterListener),this.el.removeEventListener(`mouseleave`,()=>this.onElementMouseLeaveListener),this.onElementMouseEnterListener=null,this.onElementMouseLeaveListener=null),this.eventMode===`contextmenu`?(this.toggle&&(this.toggle.removeEventListener(`contextmenu`,this.onToggleContextMenuListener),this.toggle.removeEventListener(`touchstart`,this.onTouchStartListener),this.toggle.removeEventListener(`touchend`,this.onTouchEndListener),this.toggle.removeEventListener(`touchmove`,this.onTouchEndListener)),this.onToggleContextMenuListener=null,this.onTouchStartListener=null,this.onTouchEndListener=null):(this.toggle&&this.toggle.removeEventListener(`click`,this.onToggleClickListener),this.onToggleClickListener=null),this.closers.length&&(this.closers.forEac
1h(e=>{e.removeEventListener(`click`,this.onCloserClickListener.find(t=>t.el===e).fn)}),this.onCloserClickListener=null),this.el.classList.remove(`open`),this.destroyFloatingUI(),window.$hsDropdownCollection=window.$hsDropdownCollection.filter(({element:e})=>e.el!==this.el)}static findInCollection(t){return window.$hsDropdownCollection.find(n=>t instanceof e?n.element.el===t.el:typeof t==`string`?n.element.el===document.querySelector(t):n.element.el===t)||null}static getInstance(e,t){let n=window.$hsDropdownCollection.find(t=>t.element.el===(typeof e==`string`?document.querySelector(e):e));return n?t?n:n.element.el:null}static autoInit(){if(!window.$hsDropdownCollection){window.$hsDropdownCollection=[],document.addEventListener(`keydown`,t=>e.accessibility(t)),window.addEventListener(`click`,t=>{let n=t.target;e.closeCurrentlyOpened(n)});let t=window.innerWidth;window.addEventListener(`resize`,()=>{window.innerWidth!==t&&(t=innerWidth,e.closeCurrentlyOpened(null,!1))})}window.$hsDropdownCollection&&(window.$hsDropdownCollection=window.$hsDropdownCollection.filter(({element:e})=>document.contains(e.el))),document.querySelectorAll(`.hs-dropdown:not(.--prevent-on-load-init)`).forEach(t=>{window.$hsDropdownCollection.find(e=>e?.element?.el===t)||new e(t)})}static open(t){let n=e.findInCollection(t);n&&n.element.menu.classList.contains(`hidden`)&&n.element.open()}static close(t){let n=e.findInCollection(t);n&&!n.element.menu.classList.contains(`hidden`)&&n.element.close()}static accessibility(e){this.history=l;let t=window.$hsDropdownCollection.find(e=>e.element.el.classList.contains(`open`));if(t&&(Xe.includes(e.code)||e.code.length===4&&e.code[e.code.length-1].match(/^[A-Z]*$/))&&!e.metaKey&&!t.element.menu.querySelector(`input:focus`)&&!t.element.menu.querySelector(`textarea:focus`))switch(e.code){case`Escape`:t.element.menu.querySelector(`.hs-select.active`)||(e.preventDefault(),this.onEscape(e));break;case`Enter`:!t.element.menu.querySelector(`.hs-select button:focus`)&&!t.element.menu.querySelector(`.hs-collapse-toggle:focus`)&&this.onEnter(e);break;case`ArrowUp`:e.preventDefault(),e.stopImmediatePropagation(),this.onArrow();break;case`ArrowDown`:e.preventDefault(),e.stopImmediatePropagation(),this.onArrow(!1);break;case`ArrowRight`:e.preventDefault(),e.stopImmediatePropagation(),this.onArrowX(e,`right`);break;case`ArrowLeft`:e.preventDefault(),e.stopImmediatePropagation(),this.onArrowX(e,`left`);break;case`Home`:e.preventDefault(),e.stopImmediatePropagation(),this.onStartEnd();break;case`End`:e.preventDefault(),e.stopImmediatePropagation(),this.onStartEnd(!1);break;default:this.onFirstLetter(e.key);break}}static onEscape(e){let t=e.target.closest(`.hs-dropdown.open`);if(window.$hsDropdownCollection.find(e=>e.element.el===t)){let e=window.$hsDropdownCollection.find(e=>e.element.el===t);e&&(e.element.close(),e.element.toggle.focus())}else this.closeCurrentlyOpened()}static onEnter(e){let t=e.target,{element:n}=window.$hsDropdownCollection.find(e=>e.element.el===t.closest(`.hs-dropdown`))??null;if(n&&t.classList.contains(`hs-dropdown-toggle`))e.preventDefault(),n.open();else if(n&&t.getAttribute(`role`)===`menuitemcheckbox`)n.selectCheckbox(t),n.close();else if(n&&t.getAttribute(`role`)===`menuitemradio`)n.selectRadio(t),n.close();else return!1}static onArrow(e=!0){let t=window.$hsDropdownCollection.find(e=>e.element.el.classList.contains(`open`));if(t){let n=t.element.menu;if(!n)return!1;let r=e?Array.from(n.querySelectorAll(`a:not([hidden]), :scope button:not([hidden]), [role="button"]:not([hidden]), [role^="menuitem"]:not([hidden])`)).reverse():Array.from(n.querySelectorAll(`a:not([hidden]), :scope button:not([hidden]), [role="button"]:not([hidden]), [role^="menuitem"]:not([hidden])`)),i=Array.from(r).filter(e=>{let t=e;return t.closest(`[hidden]`)===null&&t.offsetParent!==null}).filter(e=>!e.classList.contains(`disabled`)),a=n.querySelector(`a:focus, button:focus, [role="button"]:focus, [role^="menuitem"]:focus`),o=i.findIndex(e=>e===a);o+1<i.length&&o++,i[o].focus()}}static onArrowX(t,n){let r=t.target,i=r.closest(`.hs-dropdown.open`),a=!!i&&!i?.parentElement.closest(`.hs-dropdown`),o=e.getInstance(r.closest(`.hs-dropdown`),!0)??null,s=o.element.menu.querySelector(`a, button, [role="button"], [role^="menuitem"]`);if(a&&!r.classList.contains(`hs-dropdown-toggle`))return!1;let c=e.getInstance(r.closest(`.hs-dropdown.open`),!0)??null;if(o.element.el.classList.contains(`open`)&&o.element.el._floatingUI.state.placement.includes(n))return s.focus(),!1;let l=o.element.calculatePopperPosition();if(a&&!l.includes(n))return!1;l.includes(n)&&r.classList.contains(`hs-dropdown-toggle`)?(o.element.open(),s.focus()):(c.element.close(!1),c.element.toggle.focus())}static onStartEnd(e=!0){let t=window.$hsDropdownCollection.find(e=>e.element.el.classList.contains(`open`));if(t){let n=t.element.menu;if(!n)return!1;let r=(e?Array.from(n.querySelectorAll(`a, button, [role="button"], [role^="menuitem"]`)):Array.from(n.querySelectorAll(`a, button, [role="button"], [role^="menuitem"]`)).reverse()).filter(e=>!e.classList.contains(`disabled`));r.length&&r[0].focus()}}static onFirstLetter(e){let t=window.$hsDropdownCollection.find(e=>e.element.el.classList.contains(`open`));if(t){let n=t.element.menu;if(!n)return!1;let r=Array.from(n.querySelectorAll(`a, [role="button"], [role^="menuitem"]`)),i=()=>r.findIndex((t,n)=>t.innerText.toLowerCase().charAt(0)===e.toLowerCase()&&this.history.existsInHistory(n)),a=i();a===-1&&(this.history.clearHistory(),a=i()),a!==-1&&(r[a].focus(),this.history.addHistory(a))}}static closeCurrentlyOpened(e=null,t=!0){let n=e&&e.closest(`.hs-dropdown`)&&e.closest(`.hs-dropdown`).parentElement.closest(`.hs-dropdown`)?e.closest(`.hs-dropdown`).parentElement.closest(`.hs-dropdown`):null,r=n?window.$hsDropdownCollection.filter(e=>e.element.el.classList.contains(`open`)&&e.element.menu.closest(`.hs-dropdown`).parentElement.closest(`.hs-dropdown`)===n):window.$hsDropdownCollection.filter(e=>e.element.el.classList.contains(`open`));e&&e.closest(`.hs-dropdown`)&&i(e.closest(`.hs-dropdown`),`--auto-close`)===`inside`&&(r=r.filter(t=>
1t.element.el!==e.closest(`.hs-dropdown`))),r&&r.forEach(e=>{if(e.element.closeMode===`false`||e.element.closeMode===`outside`)return!1;e.element.close(t)}),r&&r.forEach(e=>{if(i(e.element.el,`--trigger`)!==`contextmenu`)return!1;document.body.style.overflow=``,document.body.style.paddingRight=``})}static on(t,n,r){let i=e.findInCollection(n);i&&(i.element.events[t]=r)}};window.addEventListener(`load`,()=>{Ze.autoInit()}),window.addEventListener(`resize`,()=>{window.$hsDropdownCollection||(window.$hsDropdownCollection=[]),window.$hsDropdownCollection.forEach(e=>e.element.resizeHandler())}),typeof window<`u`&&(window.HSDropdown=Ze),e(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(self,(()=>(()=>{var e={223:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BREAKPOINTS=t.COMBO_BOX_ACCESSIBILITY_KEY_SET=t.SELECT_ACCESSIBILITY_KEY_SET=t.TABS_ACCESSIBILITY_KEY_SET=t.OVERLAY_ACCESSIBILITY_KEY_SET=t.DROPDOWN_ACCESSIBILITY_KEY_SET=t.POSITIONS=void 0,t.POSITIONS={auto:`auto`,"auto-start":`auto-start`,"auto-end":`auto-end`,top:`top`,"top-left":`top-start`,"top-right":`top-end`,bottom:`bottom`,"bottom-left":`bottom-start`,"bottom-right":`bottom-end`,right:`right`,"right-start":`right-start`,"right-end":`right-end`,left:`left`,"left-start":`left-start`,"left-end":`left-end`},t.DROPDOWN_ACCESSIBILITY_KEY_SET=[`Escape`,`ArrowUp`,`ArrowDown`,`ArrowRight`,`ArrowLeft`,`Home`,`End`,`Enter`],t.OVERLAY_ACCESSIBILITY_KEY_SET=[`Escape`,`Tab`],t.TABS_ACCESSIBILITY_KEY_SET=[`ArrowUp`,`ArrowLeft`,`ArrowDown`,`ArrowRight`,`Home`,`End`],t.SELECT_ACCESSIBILITY_KEY_SET=[`ArrowUp`,`ArrowLeft`,`ArrowDown`,`ArrowRight`,`Home`,`End`,`Escape`,`Enter`,`Space`,`Tab`],t.COMBO_BOX_ACCESSIBILITY_KEY_SET=[`ArrowUp`,`ArrowLeft`,`ArrowDown`,`ArrowRight`,`Home`,`End`,`Escape`,`Enter`],t.BREAKPOINTS={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536}},248:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(){this.components=[],this.currentlyOpenedComponents=[],this.activeComponent=null,this.allowedKeybindings=new Set([`Escape`,`Enter`,` `,`Space`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`,`Tab`,`Home`,`End`]),this.initGlobalListeners()}initGlobalListeners(){document.addEventListener(`keydown`,(e=>this.handleGlobalKeydown(e))),document.addEventListener(`focusin`,(e=>this.handleGlobalFocusin(e)))}isAllowedKeybinding(e){return!!this.allowedKeybindings.has(e.key)||!(e.key.length!==1||!/^[a-zA-Z]$/.test(e.key)||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)}getActiveComponent(e){if(!e)return null;let t=this.components.filter((t=>t.wrapper.contains(e)||t.context&&t.context.contains(e)));if(t.length===0)return null;if(t.length===1)return t[0];let n=null,r=2**53-1;for(let i of t){let t=0,a=e;for(;a&&a!==i.wrapper&&a!==i.context;)t++,a=a.parentElement;t<r&&(r=t,n=i)}return n}handleGlobalFocusin(e){let t=e.target;this.activeComponent=this.getActiveComponent(t)}handleGlobalKeydown(e){let t=e.target;if(this.activeComponent=this.getActiveComponent(t),this.activeComponent&&this.isAllowedKeybinding(e))switch(e.key){case`Escape`:if(this.activeComponent.isOpened)this.activeComponent.handlers.onEsc&&(this.activeComponent.handlers.onEsc(),e.preventDefault(),e.stopPropagation());else{let n=this.findClosestOpenParent(t);n!=null&&n.handlers.onEsc&&(n.handlers.onEsc(),e.preventDefault(),e.stopPropagation())}break;case`Enter`:this.activeComponent.handlers.onEnter&&(this.activeComponent.handlers.onEnter(),e.preventDefault(),e.stopPropagation());break;case` `:case`Space`:if(t.tagName===`INPUT`||t.tagName===`TEXTAREA`)return;this.activeComponent.handlers.onSpace&&(this.activeComponent.handlers.onSpace(),e.preventDefault(),e.stopPropagation());break;case`ArrowDown`:case`ArrowUp`:case`ArrowLeft`:case`ArrowRight`:if(this.activeComponent.handlers.onArrow){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;this.activeComponent.handlers.onArrow(e),e.preventDefault(),e.stopPropagation()}break;case`Tab`:if(!this.activeComponent.handlers.onTab)break;let n=e.shiftKey?this.activeComponent.handlers.onShiftTab:this.activeComponent.handlers.onTab;n&&n();break;case`Home`:this.activeComponent.handlers.onHome&&(this.activeComponent.handlers.onHome(),e.preventDefault(),e.stopPropagation());break;case`End`:this.activeComponent.handlers.onEnd&&(this.activeComponent.handlers.onEnd(),e.preventDefault(),e.stopPropagation());break;default:this.activeComponent.handlers.onFirstLetter&&e.key.length===1&&/^[a-zA-Z]$/.test(e.key)&&
1(this.activeComponent.handlers.onFirstLetter(e.key),e.preventDefault(),e.stopPropagation())}}findClosestOpenParent(e){let t=e.parentElement;for(;t;){let e=this.currentlyOpenedComponents.find((e=>e.wrapper===t&&e!==this.activeComponent));if(e)return e;t=t.parentElement}return null}registerComponent(e,t,n=!0,r=``,i=``,a){let o={wrapper:e,handlers:t,isOpened:n,name:r,selector:i,context:a,isRegistered:!0};return this.components.push(o),o}updateComponentState(e,t){e.isOpened=t,t?this.currentlyOpenedComponents.includes(e)||this.currentlyOpenedComponents.push(e):this.currentlyOpenedComponents=this.currentlyOpenedComponents.filter((t=>t!==e))}unregisterComponent(e){this.components=this.components.filter((t=>t!==e)),this.currentlyOpenedComponents=this.currentlyOpenedComponents.filter((t=>t!==e))}addAllowedKeybinding(e){this.allowedKeybindings.add(e)}removeAllowedKeybinding(e){this.allowedKeybindings.delete(e)}getAllowedKeybindings(){return Array.from(this.allowedKeybindings)}}},292:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.stringToBoolean=t.menuSearchHistory=t.isScrollable=t.isParentOrElementHidden=t.isJson=t.isIpadOS=t.isIOS=t.isFormElement=t.isFocused=t.isEnoughSpace=t.isDirectChild=t.htmlToElement=t.getZIndex=t.getHighestZIndex=t.getClassPropertyAlt=t.getClassProperty=t.dispatch=t.debounce=t.classToClassList=t.afterTransition=void 0,t.stringToBoolean=e=>e===`true`,t.getClassProperty=(e,t,n=``)=>(window.getComputedStyle(e).getPropertyValue(t)||n).replace(` `,``),t.getClassPropertyAlt=(e,t,n=``)=>{let r=``;return e.classList.forEach((e=>{e.includes(t)&&(r=e)})),r.match(/:(.*)]/)?r.match(/:(.*)]/)[1]:n};let n=e=>window.getComputedStyle(e).getPropertyValue(`z-index`);t.getZIndex=n,t.getHighestZIndex=e=>{let t=-1/0;return e.forEach((e=>{let r=n(e);r!==`auto`&&(r=parseInt(r,10),r>t&&(t=r))})),t},t.isDirectChild=(e,t)=>{let n=e.children;for(let e=0;e<n.length;e++)if(n[e]===t)return!0;return!1},t.isEnoughSpace=(e,t,n=`auto`,r=10,i=null)=>{let a=t.getBoundingClientRect(),o=i?i.getBoundingClientRect():null,s=window.innerHeight,c=o?a.top-o.top:a.top,l=(i?o.bottom:s)-a.bottom,u=e.clientHeight+r;return n===`bottom`?l>=u:n===`top`?c>=u:c>=u||l>=u},t.isFocused=e=>document.activeElement===e,t.isFormElement=e=>e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement,t.isIOS=()=>!!/iPad|iPhone|iPod/.test(navigator.platform)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),t.isIpadOS=()=>navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform),t.isJson=e=>{if(typeof e!=`string`)return!1;let t=e.trim()[0],n=e.trim().slice(-1);if(t===`{`&&n===`}`||t===`[`&&n===`]`)try{return JSON.parse(e),!0}catch{return!1}return!1};let r=e=>e?window.getComputedStyle(e).display===`none`||r(e.parentElement):!1;t.isParentOrElementHidden=r,t.isScrollable=e=>{let t=window.getComputedStyle(e),n=t.overflowY,r=t.overflowX,i=(n===`scroll`||n===`auto`)&&e.scrollHeight>e.clientHeight,a=(r===`scroll`||r===`auto`)&&e.scrollWidth>e.clientWidth;return i||a},t.debounce=(e,t=200)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}},t.dispatch=(e,t,n=null)=>{let r=new CustomEvent(e,{detail:{payload:n},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(r)},t.afterTransition=(e,t)=>{let n=()=>{t(),e.removeEventListener(`transitionend`,n,!0)},r=window.getComputedStyle(e),i=r.getPropertyValue(`transition-duration`);r.getPropertyValue(`transition-property`)!==`none`&&parseFloat(i)>0?e.addEventListener(`transitionend`,n,!0):t()},t.htmlToElement=e=>{let t=document.createElement(`template`);return e=e.trim(),t.innerHTML=e,t.content.firstChild},t.classToClassList=(e,t,n=` `,r=`add`)=>{e.split(n).forEach((e=>{e.trim()&&(r===`add`?t.classList.add(e):t.classList.remove(e))}))},t.menuSearchHistory={historyIndex:-1,addHistory(e){this.historyIndex=e},existsInHistory(e){return e>this.historyIndex},clearHistory(){this.historyIndex=-1}}},850:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
1Object.defineProperty(t,"__esModule",{value:!0});let i=n(292),a=n(223),o=r(n(961)),s=r(n(248));class c extends o.default{constructor(e,t,n){var r;super(e,t,n),this.lastFocusedToggle=null,this.initialZIndex=0,this.toggleButtons=Array.from(document.querySelectorAll(`[data-hs-overlay="#${this.el.id}"]`));let o=this.collectToggleParameters(this.toggleButtons);this.toggleMinifierButtons=Array.from(document.querySelectorAll(`[data-hs-overlay-minifier="#${this.el.id}"]`));let s=e.getAttribute(`data-hs-overlay-options`),c=s?JSON.parse(s):{},l=Object.assign(Object.assign(Object.assign({},c),o),t);this.hiddenClass=l?.hiddenClass||`hidden`,this.emulateScrollbarSpace=l?.emulateScrollbarSpace||!1,this.isClosePrev=(r=l?.isClosePrev)==null||r,this.backdropClasses=l?.backdropClasses??`hs-overlay-backdrop transition duration fixed inset-0 bg-gray-900/50 dark:bg-neutral-900/80`,this.backdropParent=typeof l.backdropParent==`string`?document.querySelector(l.backdropParent):document.body,this.backdropExtraClasses=l?.backdropExtraClasses??``,this.moveOverlayToBody=l?.moveOverlayToBody||null,this.openNextOverlay=!1,this.autoHide=null,this.initContainer=this.el?.parentElement||null,this.isCloseWhenClickInside=(0,i.stringToBoolean)((0,i.getClassProperty)(this.el,`--close-when-click-inside`,`false`)||`false`),this.isTabAccessibilityLimited=(0,i.stringToBoolean)((0,i.getClassProperty)(this.el,`--tab-accessibility-limited`,`true`)||`true`),this.isLayoutAffect=(0,i.stringToBoolean)((0,i.getClassProperty)(this.el,`--is-layout-affect`,`false`)||`false`),this.hasAutofocus=(0,i.stringToBoolean)((0,i.getClassProperty)(this.el,`--has-autofocus`,`true`)||`true`),this.hasDynamicZIndex=(0,i.stringToBoolean)((0,i.getClassProperty)(this.el,`--has-dynamic-z-index`,`false`)||`false`),this.hasAbilityToCloseOnBackdropClick=(0,i.stringToBoolean)(this.el.getAttribute(`data-hs-overlay-keyboard`)||`true`);let u=(0,i.getClassProperty)(this.el,`--auto-close`),d=(0,i.getClassProperty)(this.el,`--auto-close-equality-type`),f=(0,i.getClassProperty)(this.el,`--opened`);this.autoClose=!isNaN(+u)&&isFinite(+u)?+u:a.BREAKPOINTS[u]||null,this.autoCloseEqualityType=d??null,this.openedBreakpoint=(!isNaN(+f)&&isFinite(+f)?+f:a.BREAKPOINTS[f])||null,this.animationTarget=(this==null?void 0:this.el)?.querySelector(`.hs-overlay-animation-target`)||this.el,this.initialZIndex=parseInt(getComputedStyle(this.el).zIndex,10),this.onElementClickListener=[],this.onElementMinifierClickListener=[],this.initiallyOpened=document.body.classList.contains(`hs-overlay-body-open`),this.init()}elementClick(){let e=()=>{let e={el:this.el,isOpened:!!this.el.classList.contains(`open`)};this.fireEvent(`toggleClicked`,e),(0,i.dispatch)(`toggleClicked.hs.overlay`,this.el,e)};this.el.classList.contains(`opened`)?this.close(!1,e):this.open(e)}elementMinifierClick(){let e=()=>{let e={el:this.el,isMinified:!!this.el.classList.contains(`minified`)};this.fireEvent(`toggleMinifierClicked`,e),(0,i.dispatch)(`toggleMinifierClicked.hs.overlay`,this.el,e)};this.el.classList.contains(`minified`)?this.minify(!1,e):this.minify(!0,e)}minify(e,t=null){e?(this.el.classList.add(`minified`),document.body.classList.add(`hs-overlay-minified`),t&&t()):(this.el.classList.remove(`minified`),document.body.classList.remove(`hs-overlay-minified`),t&&t())}overlayClick(e){e.target.id&&`#${e.target.id}
1`===this.el.id&&this.isCloseWhenClickInside&&this.hasAbilityToCloseOnBackdropClick&&this.close()}backdropClick(){this.close()}init(){if(this.createCollection(window.$hsOverlayCollection,this),this.isLayoutAffect&&this.openedBreakpoint){let e=c.getInstance(this.el,!0);c.setOpened(this.openedBreakpoint,e)}this.onOverlayClickListener=e=>this.overlayClick(e),this.el.addEventListener(`click`,this.onOverlayClickListener),this.toggleButtons.length&&this.buildToggleButtons(this.toggleButtons),this.toggleMinifierButtons.length&&this.buildToggleMinifierButtons(),typeof window<`u`&&(window.HSAccessibilityObserver||(window.HSAccessibilityObserver=new s.default),this.setupAccessibility())}buildToggleButtons(e){e.forEach((e=>{this.el.classList.contains(`opened`)?e.ariaExpanded=`true`:e.ariaExpanded=`false`,this.onElementClickListener.push({el:e,fn:()=>this.elementClick()}),e.addEventListener(`click`,this.onElementClickListener.find((t=>t.el===e)).fn)}))}buildToggleMinifierButtons(){this.toggleMinifierButtons.forEach((e=>{this.el.classList.contains(`minified`)?e.ariaExpanded=`true`:e.ariaExpanded=`false`,this.onElementMinifierClickListener.push({el:e,fn:()=>this.elementMinifierClick()}),e.addEventListener(`click`,this.onElementMinifierClickListener.find((t=>t.el===e)).fn)}))}hideAuto(){let e=parseInt((0,i.getClassProperty)(this.el,`--auto-hide`,`0`));e&&(this.autoHide=setTimeout((()=>{this.close()}),e))}checkTimer(){this.autoHide&&=(clearTimeout(this.autoHide),null)}buildBackdrop(){let e=this.el.classList.value.split(` `),t=parseInt(window.getComputedStyle(this.el).getPropertyValue(`z-index`)),n=this.el.getAttribute(`data-hs-overlay-backdrop-container`)||!1;this.backdrop=document.createElement(`div`);let r=`${this.backdropClasses} ${this.backdropExtraClasses}`,a=(0,i.getClassProperty)(this.el,`--overlay-backdrop`,`true`)!==`static`,o=(0,i.getClassProperty)(this.el,`--overlay-backdrop`,`true`)===`false`;this.backdrop.id=`${this.el.id}-backdrop`,`style`in this.backdrop&&(this.backdrop.style.zIndex=``+(t-1));for(let t of e)(t.startsWith(`hs-overlay-backdrop-open:`)||t.includes(`:hs-overlay-backdrop-open:`))&&(r+=` ${t}`);o||(n&&(this.backdrop=document.querySelector(n).cloneNode(!0),this.backdrop.classList.remove(`hidden`),r=`${this.backdrop.classList.toString()}`,this.backdrop.classList.value=``),a&&(this.onBackdropClickListener=()=>this.backdropClick(),this.backdrop.addEventListener(`click`,this.onBackdropClickListener,!0)),this.backdrop.setAttribute(`data-hs-overlay-backdrop-template`,``),this.backdropParent.appendChild(this.backdrop),setTimeout((()=>{this.backdrop.classList.value=r})))}destroyBackdrop(){let e=document.querySelector(`#${this.el.id}-backdrop`);e&&(this.openNextOverlay&&(e.style.transitionDuration=1.8*parseFloat(window.getComputedStyle(e).transitionDuration.replace(/[^\d.-]/g,``))+`s`),e.classList.add(`opacity-0`),(0,i.afterTransition)(e,(()=>{e.remove()})))}focusElement(){let e=this.el.querySelector(`[autofocus]`);if(!e)return!1;e.focus()}getScrollbarSize(){let e=document.createElement(`div`);e.style.overflow=`scroll`,e.style.width=`100px`,e.style.height=`100px`,document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}collectToggleParameters(e){let t={};return e.forEach((e=>{let n=e.getAttribute(`data-hs-overlay-options`),r=n?JSON.parse(n):{};t=Object.assign(Object.assign({},t),r)})),t}isElementVisible(){let e=window.getComputedStyle(this.el);if(e.display===`none`||e.visibility===`hidden`||e.opacity===`0`)return!1;let t=this.el.getBoundingClientRect();if(t.width===0||t.height===0)return!1;let n=this.el.parentElement;for(;n;){let e=window.getComputedStyle(n);if(e.display===`none`||e.visibility===`hidden`||e.opacity===`0`)return!1;n=n.parentElement}return!0}isOpened(){return this.el.classList.contains(`open`)&&!this.el.classList.contains(this.hiddenClass)}open(e=null){this.el.classList.contains(`minified`)&&this.minify(!1),this.hasDynamicZIndex&&(c.currentZIndex<this.initialZIndex&&(c.currentZIndex=this.initialZIndex),c.currentZIndex++,this.el.style.zIndex=`${c.currentZIndex}`);let t=document.querySelectorAll(`.hs-overlay.open`),n=window.$hsOverlayCollection.find((e=>Array.from(t).includes(e.element.el)&&!e.element.isLayoutAffect)),r=document.querySelectorAll(`[data-hs-overlay="#${this.el.id}"]`),a=(0,i.getClassProperty)(this.el,`--body-scroll`,`false`)!==`true`;
1if(this.lastFocusedToggle=document.activeElement,this.isClosePrev&&n)return this.openNextOverlay=!0,n.element.close().then((()=>{this.open(),this.openNextOverlay=!1}));a&&(document.body.style.overflow=`hidden`,this.emulateScrollbarSpace&&(document.body.style.paddingRight=`${this.getScrollbarSize()}px`)),this.buildBackdrop(),this.checkTimer(),this.hideAuto(),r.forEach((e=>{e.ariaExpanded&&=`true`})),this.el.classList.remove(this.hiddenClass),this.el.setAttribute(`aria-overlay`,`true`),this.el.setAttribute(`tabindex`,`-1`),setTimeout((()=>{if(this.el.classList.contains(`opened`))return!1;this.el.classList.add(`open`,`opened`),this.isLayoutAffect&&document.body.classList.add(`hs-overlay-body-open`),this.initiallyOpened||(this.el.focus(),this.el.style.outline=`none`),this.initiallyOpened=!1,this.fireEvent(`open`,this.el),(0,i.dispatch)(`open.hs.overlay`,this.el,this.el),window.HSAccessibilityObserver&&this.accessibilityComponent&&window.HSAccessibilityObserver.updateComponentState(this.accessibilityComponent,!0),this.hasAutofocus&&this.focusElement(),typeof e==`function`&&e(),this.isElementVisible()&&c.openedItemsQty++}),50)}close(e=!1,t=null){this.isElementVisible()&&(c.openedItemsQty=c.openedItemsQty<=0?0:c.openedItemsQty-1),c.openedItemsQty===0&&this.isLayoutAffect&&document.body.classList.remove(`hs-overlay-body-open`);let n=e=>{if(this.el.classList.contains(`open`))return!1;document.querySelectorAll(`[data-hs-overlay="#${this.el.id}"]`).forEach((e=>{e.ariaExpanded&&=`false`})),this.el.classList.add(this.hiddenClass),this.hasDynamicZIndex&&(this.el.style.zIndex=``),this.destroyBackdrop(),this.fireEvent(`close`,this.el),(0,i.dispatch)(`close.hs.overlay`,this.el,this.el),window.HSAccessibilityObserver&&this.accessibilityComponent&&window.HSAccessibilityObserver.updateComponentState(this.accessibilityComponent,!1),document.querySelector(`.hs-overlay.opened`)||(document.body.style.overflow=``,this.emulateScrollbarSpace&&(document.body.style.paddingRight=``)),this.lastFocusedToggle&&=(this.lastFocusedToggle.focus(),null),e(this.el),typeof t==`function`&&t(),c.openedItemsQty===0&&(document.body.classList.remove(`hs-overlay-body-open`),this.hasDynamicZIndex&&(c.currentZIndex=0))};return new Promise((t=>{this.el.classList.remove(`open`,`opened`),this.el.removeAttribute(`aria-overlay`),this.el.removeAttribute(`tabindex`),this.el.style.outline=``,e?n(t):(0,i.afterTransition)(this.animationTarget,(()=>n(t)))}))}updateToggles(){let e=Array.from(document.querySelectorAll(`[data-hs-overlay="#${this.el.id}"]`)).filter((e=>!this.toggleButtons.includes(e)));e.length&&(this.toggleButtons.push(...e),this.buildToggleButtons(e)),this.toggleButtons=this.toggleButtons.filter((e=>{if(document.contains(e))return!0;let t=this.onElementClickListener?.find((t=>t.el===e));return t&&e.removeEventListener(`click`,t.fn),!1}))}destroy(){this.el.classList.remove(`open`,`opened`,this.hiddenClass),this.isLayoutAffect&&document.body.classList.remove(`hs-overlay-body-open`),this.el.removeEventListener(`click`,this.onOverlayClickListener),this.onElementClickListener.length&&(this.onElementClickListener.forEach((({el:e,fn:t})=>{e.removeEventListener(`click`,t)})),this.onElementClickListener=null),this.backdrop&&this.backdrop.removeEventListener(`click`,this.onBackdropClickListener),this.backdrop&&=(this.backdrop.remove(),null),window.$hsOverlayCollection=window.$hsOverlayCollection.filter((({element:e})=>e.el!==this.el))}static findInCollection(e){return window.$hsOverlayCollection.find((t=>e instanceof c?t.element.el===e.el:typeof e==`string`?t.element.el===document.querySelector(e):t.element.el===e))||null}static getInstance(e,t){let n=typeof e==`string`?document.querySelector(e):e,r=n?.getAttribute(`data-hs-overlay`)?n.getAttribute(`data-hs-overlay`):e,i=window.$hsOverlayCollection.find((e=>e.element.el===(typeof r==`string`?document.querySelector(r):r)||e.element.el===(typeof r==`string`?document.querySelector(r):r)));return i?t?i:i.element.el:null}static autoInit(){window.$hsOverlayCollection||(window.$hsOverlayCollection=[]),window.$hsOverlayCollection&&(window.$hsOverlayCollection=window.$hsOverlayCollection.filter((({element:e})=>document.contains(e.el)))),document.querySelectorAll(`.hs-overlay:not(.--prevent-on-load-init)`).forEach((e=>{window.$hsOverlayCollection.find((t=>t?.element?.el===e))||new c(e)}))}static open(e){let t=c.findInCollection(e);t&&t.element.el.classList.contains(t.element.hiddenClass)&&t.element.open()}static close(e){let t=c.findInCollection(e);t&&!t.element.el.classList.contains(t.element.hiddenClass)&&t.element.close()}static minify(e,t){let n=c.findInCollection(e);n&&n.element.minify(t)}static setOpened(e,t){document.body.clientWidth>=e?(t.element.el.classList.contains(`minified`)&&t.element.minify(!1),document.body.classList.add(`hs-overlay-body-open`),t.element.open()):t.element.close(!0)}setupAccessibility(){this.accessibilityComponent=window.HSAccessibilityObserver.registerComponent(this.el,{onEnter:()=>{this.isOpened()||this.open()},onEsc:()=>{this.isOpened()&&this.close()},onTab:()=>{var e;if(!this.isOpened()||!this.isTabAccessibilityLimited)return;let t=Array.from(this.el.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])`)).filter((e=>!e.hidden&&window.getComputedStyle(e).display!==`none`));if(t.length===0)return;let n=this.el.querySelector(`:focus`),r=n?t.indexOf(n):-1;window.event instanceof KeyboardEvent&&window.event.shiftKey?r<=0?t[t.length-1].focus():t[r-1].focus():r===t.length-1?t[0].focus():t[r+1].focus(),(e=window.event)==null||e.preventDefault()}},this.isOpened(),`Overlay`,`.hs-overlay`),this.toggleButtons.forEach((e=>{window.HSAccessibilityObserver.registerComponent(e,{onEnter:()=>{this.isOpened()||this.open()},onEsc:()=>{this.isOpened()&&this.close()}},this.isOpened(),`Overlay Toggle`,`[data-hs-overlay="#${this.el.id}"]`)}))}static on(e,t,n){let r=c.findInCollection(t);r&&(r.element.events[e]=n)}}c.openedItemsQty=0,c.currentZIndex=0;let l=null,u=()=>{if(!window.$hsOverlayCollection.length||!window.$hsOverlayCollection.find((e=>e.element.moveOverlayToBody)))return!1;window.$hsOverlayCollection.filter((e=>e.element.moveOverlayToBody)).forEach((e=>{let t=e.element.moveOverlayToBody,n=e.element.initContainer,r=document.querySelector(`body`),a=e.element.el;if(!n&&a)return!1;document.body.clientWidth<=t&&!(0,i.isDirectChild)(r,a)?r.appendChild(a):document.body.clientWidth>t&&!n.contains(a)&&n.appendChild(a)}))},d=()=>{var e;(e=window.$hsOverlayCollection)!=null&&e.length&&window.$hsOverlayCollection.forEach((e=>{let t=e.element;t.toggleMinifierButtons?.length>0&&t.openedBreakpoint&&(document.body.clientWidth>=t.openedBreakpoint?document.body.classList.add(`hs-overlay-body-open`):document.body.classList.remove(`hs-overlay-body-open`))}))};window.addEventListener(`load`,(()=>{c.autoInit(),u(),d()})),window.addEventListener(`resize`,(()=>{((e,t=150)=>{l&&clearTimeout(l),l=setTimeout(e,t)})((()=>{(()=>{if(!window.$hsOverlayCollection.length||!window.$hsOverlayCollection.find((e=>e.element.autoClose)))return!1;window.$hsOverlayCollection.filter((e=>e.element.autoClose)).forEach((e=>{let{autoCloseEqualityType:t,autoClose:n}=e.element;(t===`less-than`?document.body.clientWidth<=n:document.body.clientWidth>=n)&&e.element.el.classList.contains(`opened`)?(e.element.el.classList.contains(`minified`)&&e.element.minify(!1),e.element.close(!0)):e.element.isLayoutAffect&&e.element.el.classList.contains(`opened`)&&document.body.classList.add(`hs-overlay-body-open`)}))})(),(()=>{if(!window.$hsOverlayCollection.length||!window.$hsOverlayCollection.find((e=>e.element.openedBreakpoint)))return!1;window.$hsOverlayCollection.filter((e=>e.element.openedBreakpoint)).forEach((e=>{let{openedBreakpoint:t}=e.element;document.body.clientWidth>=t?e.element.el.classList.contains(`opened`)||c.setOpened(t,e):e.element.el.classList.contains(`opened`)&&(e.element.el.classList.contains(`minified`)&&e.element.minify(!1),e.element.close(!0))}))})()})),u(),(()=>{if(!window.$hsOverlayCollection.length||!window.$hsOverlayCollection.find((e=>e.element.el.classList.contains(`opened`))))return!1;window.$hsOverlayCollection.filter((e=>e.element.el.classList.contains(`opened`))).forEach((e=>{let t=parseInt(window.getComputedStyle(e.element.el).getPropertyValue(`z-index`)),n=document.querySelector(`#${e.element.el.id}-backdrop`);return!!n&&t!==parseInt(window.getComputedStyle(n).getPropertyValue(`z-index`))+1&&(`style`in n&&(n.style.zIndex=``+(t-1)),void document.body.classList.add(`hs-overlay-body-open`))}))})(),d()})),typeof window<`u`&&(window.HSOverlay=c),t.default=c},961:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(e,t,n){this.el=e,this.options=t,this.events=n,this.el=e,this.options=t,this.events={}}createCollection(e,t){e.push({id:t?.el?.id||e.length+1,element:t})}fireEvent(e,t=null){if(this.events.hasOwnProperty(e))return this.events[e](t)}on(e,t){this.events[e]=t}}}},t={};return function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}(850)})()))}))(),t();function Qe(){let e=document.querySelector(`.has-sticky-behavior`);if(!e)return;let t=window.scrollY,n=(n=!1)=>{let r=window.scrollY,i=Math.abs(r-t);if(r===0){e.classList.remove(`scroll-up`,`scroll-down`),t=r;return}r>0&&(n||i>=50)&&(r>t?(e.classList.remove(`scroll-up`),e.classList.add(`scroll-down`)):(e.classList.remove(`scroll-down`),e.classList.add(`scroll-up`)),t=r)};window.addEventListener(`scroll`,()=>n()),n(!0)}window.addEventListener(`load`,()=>{setTimeout(()=>Qe(),0)});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.