PageSourceSearch

https://disue.com/plugins/PluginSearchWidget/assets/static/search-widget.iife.js?version=1.7.1

js disue.com collected 2026-10-06 13:14:49 UTC 104,510 bytes, 383 lines download raw bytes

1var SearchWidget=function(exports){var t=Object.defineProperty,n=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})};
2/**
3* @license
4* Copyright 2021 Google LLC
5* SPDX-License-Identifier: BSD-3-Clause
6*/
7let r=`lit-localize-status`,i=e=>typeof e!=`string`&&`strTag`in e,a=(e,t,n)=>{let r=e[0];for(let i=1;i<e.length;i++)r+=t[n?n[i-1]:i-1],r+=e[i];return r},o=e=>i(e)?a(e.strings,e.values):e,s=o,c=!1;function l(e){if(c)throw Error(`lit-localize can only be configured once`);s=e,c=!0}
8/**
9* @license
10* Copyright 2020 Google LLC
11* SPDX-License-Identifier: BSD-3-Clause
12*/
13var u=class{constructor(){this.settled=!1,this.promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}resolve(e){this.settled=!0,this._resolve(e)}reject(e){this.settled=!0,this._reject(e)}};
14/**
15* @license
16* Copyright 2014 Travis Webb
17* SPDX-License-Identifier: MIT
18*/
19let d=[];for(let e=0;e<256;e++)d[e]=(e>>4&15).toString(16)+(e&15).toString(16);function f(e){let t=0,n=8997,r=0,i=33826,a=0,o=40164,s=0,c=52210;for(let l=0;l<e.length;l++)n^=e.charCodeAt(l),t=n*435,r=i*435,a=o*435,s=c*435,a+=n<<8,s+=i<<8,r+=t>>>16,n=t&65535,a+=r>>>16,i=r&65535,c=s+(a>>>16)&65535,o=a&65535;return d[c>>8]+d[c&255]+d[o>>8]+d[o&255]+d[i>>8]+d[i&255]+d[n>>8]+d[n&255]}let p=`�`,m=`h`,h=`s`;function g(e,t){return(t?m:h)+f(typeof e==`string`?e:e.join(p))}let _=new WeakMap,v=new Map;function y(e,t,n){if(e){let r=n?.id??b(t),i=e[r];if(i){if(typeof i==`string`)return i;if(`strTag`in i)return a(i.strings,t.values,i.values);{let e=_.get(i);return e===void 0&&(e=i.values,_.set(i,e)),{...i,values:e.map(e=>t.values[e])}}}}return o(t)}function b(e){let t=typeof e==`string`?e:e.strings,n=v.get(t);return n===void 0&&(n=g(t,typeof e!=`string`&&!(`strTag`in e)),v.set(t,n)),n}function x(e){window.dispatchEvent(new CustomEvent(r,{detail:e}))}let S=``,C,w,T,E,D,O=new u;O.resolve();let k=0,A=e=>(l((e,t)=>y(D,e,t)),S=w=e.sourceLocale,T=new Set(e.targetLocales),T.add(e.sourceLocale),E=e.loadLocale,{getLocale:ee,setLocale:j}),ee=()=>S,j=e=>{if(e===(C??S))return O.promise;if(!T||!E)throw Error(`Internal error`);if(!T.has(e))throw Error(`Invalid locale code`);k++;let t=k;C=e,O.settled&&(O=new u),x({status:`loading`,loadingLocale:e});let n=e===w?Promise.resolve({templates:void 0}):E(e);return n.then(n=>{k===t&&(S=e,C=void 0,D=n.templates,x({status:`ready`,readyLocale:e}),O.resolve())},n=>{k===t&&(x({status:`error`,errorLocale:e,errorMessage:n.toString()}),O.reject(n))}),O.promise};var M=`*,:before,:after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:before,:after{--un-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}
19[hidden]:where(:not([hidden=until-found])){display:none}`;function N(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i);n.has(a)||n.set(a,i)}return Array.from(n.values())}function P(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{f(),c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}function F(e){return e}function te(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function ne(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function re(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function I(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}let ie=`[object RegExp]`,L=`[object String]`,R=`[object Number]`,z=`[object Boolean]`,ae=`[object Arguments]`,oe=`[object Symbol]`,se=`[object Date]`,ce=`[object Map]`,le=`[object Set]`,ue=`[object Array]`,de=`[object ArrayBuffer]`,fe=`[object Object]`,pe=`[object DataView]`,me=`[object Uint8Array]`,he=`[object Uint8ClampedArray]`,ge=`[object Uint16Array]`,_e=`[object Uint32Array]`,ve=`[object Int8Array]`,ye=`[object Int16Array]`,be=`[object Int32Array]`,xe=`[object Float32Array]`,Se=`[object Float64Array]`;function Ce(e,t){return we(e,void 0,e,new Map,t)}function we(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!=null)return a;
19if(te(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=we(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,we(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(we(a,void 0,n,r,i));return t}if(typeof Buffer<`u`&&Buffer.isBuffer(e))return e.subarray();if(ne(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=we(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),Te(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),Te(t,e,n,r,i),t}if(e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),Te(t,e,n,r,i),t}if(e instanceof Error){let t=new e.constructor;return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,Te(t,e,n,r,i),t}if(typeof e==`object`&&Ee(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),Te(t,e,n,r,i),t}return e}function Te(e,t,n=e,r,i){let a=[...Object.keys(t),...re(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=we(t[s],s,n,r,i))}}function Ee(e){switch(I(e)){case ae:case ue:case de:case pe:case z:case se:case xe:case Se:case ve:case ye:case be:case ce:case R:case fe:case ie:case le:case L:case oe:case me:case he:case ge:case _e:return!0;default:return!1}}function De(e){return we(e,void 0,e,new Map,void 0)}function Oe(e){return e===`__proto__`}function ke(e){return typeof e==`object`&&!!e}function Ae(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function je(e){return Number.isSafeInteger(e)&&e>=0}function Me(e){return e!=null&&typeof e!=`function`&&je(e.length)}function Ne(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}function Pe(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}function Fe(e){let t=[],n=e.length;if(n===0)return t;let r=0,i=``,a=``,o=!1;for(e.charCodeAt(0)===46&&(t.push(``),r++);r<n;){let s=e[r];a?s===`\\`&&r+1<n?(r++,i+=e[r]):s===a?a=``:i+=s:o?s===`"`||s===`'`?a=s:s===`]`?(o=!1,t.push(i),i=``):i+=s:s===`[`?(o=!0,i&&(t.push(i),i=``)):s===`.`?i&&(t.push(i),i=``):i+=s,r++}return i&&t.push(i),t}function Ie(e,t,n){if(e==null)return n;switch(typeof t){case`string`:{if(Oe(t))return n;let r=e[t];return r===void 0?Ne(t)?Ie(e,Fe(t),n):n:r}case`number`:case`symbol`:{typeof t==`number`&&(t=Pe(t));let r=e[t];return r===void 0?n:r}default:{if(Array.isArray(t))return Le(e,t,n);if(t=Object.is(t?.valueOf(),-0)?`-0`:String(t),Oe(t))return n;let r=e[t];return r===void 0?n:r}}}function Le(e,t,n){if(t.length===0)return n;let r=e;for(let e=0;e<t.length;e++){if(r==null||Oe(t[e]))return n;r=r[t[e]]}return r===void 0?n:r}function Re(e){return function(t){return Ie(t,e)}}function ze(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}function Be(e,t,n){return typeof n==`function`?Ve(e,t,function e(t,r,i,a,o,s){let c=n(t,r,i,a,o,s);return c===void 0?Ve(t,r,e,s):!!c},new Map):Ke(e,t)}function Ve(e,t,n,r){if(t===e)return!0;switch(typeof t){case`object`:return He(e,t,n,r);case`function`:{let i=Object.keys(t);return i.length>0?Ve(e,{...t},n,r):Ae(e,t)}default:return ze(e)?typeof t==`string`?t===``:!0:Ae(e,t)}}function He(e,t,n,r){if(t==null)return!0;if(Array.isArray(t))return We(e,t,n,r);if(t instanceof Map)return Ue(e,t,n,r);if(t instanceof Set)return Ge(e,t,n,r);let i=Object.keys(t);if(e==null)return i.length===0;if(i.length===0)return!0;if(r&&r.has(t))return r.get(t)===e;r&&r.set(t,e);try{for(let a=0;a<i.length;a++){let o=i[a];if(!te(e)&&!(o in e)||t[o]===void 0&&e[o]!==void 0||t[o]===null&&e[o
19]!==null)return!1;let s=n(e[o],t[o],o,e,t,r);if(!s)return!1}return!0}finally{r&&r.delete(t)}}function Ue(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries()){let o=e.get(i),s=n(o,a,i,e,t,r);if(s===!1)return!1}return!0}function We(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1,d=n(l,o,a,e,t,r);if(d&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function Ge(e,t,n,r){return t.size===0?!0:e instanceof Set?We([...e],[...t],n,r):!1}function Ke(e,t){return Be(e,t,()=>void 0)}function qe(e){return e=De(e),t=>Ke(t,e)}function Je(e,t){return Ce(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!=null)return o;if(typeof e==`object`)switch(Object.prototype.toString.call(e)){case R:case L:case z:{let t=new e.constructor(e?.valueOf());return Te(t,e),t}case ae:{let t={};return Te(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}})}function Ye(e){return Je(e)}let Xe=/^(?:0|[1-9]\d*)$/;function Ze(e,t=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<t;case`symbol`:return!1;case`string`:return Xe.test(e)}}function Qe(e){return typeof e==`object`&&!!e&&I(e)===`[object Arguments]`}function $e(e,t){let n;if(n=Array.isArray(t)?t:typeof t==`string`&&Ne(t)&&e?.[t]==null?Fe(t):[t],n.length===0)return!1;let r=e;for(let e=0;e<n.length;e++){let t=n[e];if(r==null||!Object.hasOwn(r,t)){let e=(Array.isArray(r)||Qe(r))&&Ze(t)&&t<r.length;if(!e)return!1}r=r[t]}return!0}function et(e,t){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=Pe(e);break}return t=Ye(t),function(n){let r=Ie(n,e);return r===void 0?$e(n,e):t===void 0?r===void 0:Ke(r,t)}}function tt(e){if(e==null)return F;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?et(e[0],e[1]):qe(e);case`string`:case`symbol`:case`number`:return Re(e)}}function nt(e){return ke(e)&&Me(e)}function rt(e,t=F){return nt(e)?N(Array.from(e),tt(t)):[]}
20/**
21* @license
22* Copyright 2019 Google LLC
23* SPDX-License-Identifier: BSD-3-Clause
24*/
25let it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,ot=Symbol(),st=new WeakMap;var ct=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(at&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=st.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&st.set(t,e))}return e}toString(){return this.cssText}};let lt=e=>new ct(typeof e==`string`?e:e+``,void 0,ot),ut=(e,...t)=>{let n=e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]);return new ct(n,e,ot)},dt=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=it.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},ft=at?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return lt(t)})(e):e,{is:pt,defineProperty:mt,getOwnPropertyDescriptor:ht,getOwnPropertyNames:gt,getOwnPropertySymbols:_t,getPrototypeOf:vt}=Object,yt=globalThis,bt=yt.trustedTypes,xt=bt?bt.emptyScript:``,St=yt.reactiveElementPolyfillSupport,Ct=(e,t)=>e,wt={toAttribute(e,t){switch(t){case Boolean:e=e?xt:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},Tt=(e,t)=>!pt(e,t),Et={attribute:!0,type:String,converter:wt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol(`metadata`),yt.litPropertyMetadata??=new WeakMap;var Dt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Et){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&mt(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=ht(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){let a=r?.call(this);i.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Et}static _$Ei(){if(this.hasOwnProperty(Ct(`elementProperties`)))return;let e=vt(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct(`properties`))){let e=this.properties,t=[...gt(e),..._t(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(ft(e))}else e!==void 0&&t.push(ft(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e
vendor: 9,245 bytes, lines 25-32
25=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return dt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?wt:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?wt:e.converter;this._$Em=r,this[r]=i.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,n){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Tt)(this[e],t))return;this.P(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e)!0!==n.wrapped||this._$AL.has(t)||this[t]===void 0||this.P(t,this[t],n)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(e=>this._$EC(e,this[e])),this._$EU()}updated(e){}firstUpdated(e){}};Dt.elementStyles=[],Dt.shadowRootOptions={mode:`open`},Dt[Ct(`elementProperties`)]=new Map,Dt[Ct(`finalized`)]=new Map,St?.({ReactiveElement:Dt}),(yt.reactiveElementVersions??=[]).push(`2.0.4`);
26/**
27* @license
28* Copyright 2017 Google LLC
29* SPDX-License-Identifier: BSD-3-Clause
30*/
31let Ot=globalThis,kt=Ot.trustedTypes,At=kt?kt.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,jt=`$lit$`,Mt=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt=`?`+Mt,Pt=`<${Nt}>`,Ft=document,It=()=>Ft.createComment(``),Lt=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Rt=Array.isArray,zt=e=>Rt(e)||typeof e?.[Symbol.iterator]==`function`,Bt=`[ 	
32\f\r]`,Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,Ut=/>/g,Wt=RegExp(`>|${Bt}(?:([^\\s"'>=/]+)(${Bt}*=${Bt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),Gt=/'/g,Kt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Jt=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),B=Jt(1),Yt=Jt(2),Xt=Jt(3),Zt=Symbol.for(`lit-noChange`),V=Symbol.for(`lit-nothing`),Qt=new WeakMap,$t=Ft.createTreeWalker(Ft,129);function en(e,t){if(!Rt(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return At===void 0?t:At.createHTML(t)}let tn=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=Vt;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===Vt?c[1]===`!--`?o=Ht:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=Wt):(qt.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=Wt):o=Ut:o===Wt?c[0]===`>`?(o=i??Vt,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?Wt:c[3]===`"`?Kt:Gt):o===Kt||o===Gt?o=Wt:o===Ht||o===Ut?o=Vt:(o=Wt,i=void 0);let d=o===Wt&&e[t+1].startsWith(`/>`)?` `:``;a+=o===Vt?n+Pt:l>=0?(r.push(s),n.slice(0,l)+jt+n.slice(l)+Mt+d):n+Mt+(l===-2?t:d)}return[en(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]};var nn=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=tn(t,n);if(this.el=e.createElement(l,r),$t.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=$t.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(jt)){let t=u[o++],n=i.getAttribute(e).split(Mt),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?cn:r[1]===`?`?ln:r[1]===`@`?un:sn}),i.removeAttribute(e)}else e.startsWith(Mt)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(qt.test(i.tagName)){let e=i.textContent.split(Mt),t=e.length-1;if(t>0){i.textContent=kt?kt.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],It()),$t.nextNode(),c.push({type:2,index:++a});i.append(e[t],It())}}}else if(i.nodeType===8)if(i.data===Nt)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(Mt,e+1))!==-1;)c.push({type:7,index:a}),e+=Mt.length-1}a++}}static createElement(e,t){let n=Ft.createElement(`template`);return n.innerHTML=e,n}};function rn(e,t,n=e,r){if(t===Zt)return t;let i=r===void 0?n.l:n.o?.[r],a=Lt(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n.l=i:(n.o??=[])[r]=i),i!==void 0&&(t=rn(e,i._$AS(e,t.values),i,r)),t}var an=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??Ft).importNode(t,!0);$t.currentNode=r;let i=$t.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new on(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new dn(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=$t.nextNode(),a++)}return $t.currentNode=Ft,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},on=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(e,t,n,r){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=rn(this,e,t),Lt(e)?e===V||e==null||e===``?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Zt&&this._(e):e._$litType$===void 0?e.nodeType===void 0?zt(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==V&&Lt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ft.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=nn.createElement(en(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new an(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=Qt.get(e.strings);return t===void 0&&Qt.set(e.strings,t=new nn(e)),t}k(t){Rt(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(It()),this.O(It()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let t=e.nextSibling;e.remove(),e=t}}setConnected(e){this._$AM===void 0&&(this.v=e,this._$AP?.(e))}},sn=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=rn(this,e,t,0),a=!Lt(e)||e!==this._$AH&&e!==Zt,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=rn(this,r[n+o],t,o),s===Zt&&(s=this._$AH[o]),a||=!Lt(s)||s!==this._$AH[o],s===V?e=V:e!==V&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},cn=class extends sn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===V?void 0:e}},ln=class extends sn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},un=class extends sn{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}
32_$AI(e,t=this){if((e=rn(this,e,t,0)??V)===Zt)return;let n=this._$AH,r=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==V&&(n===V||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},dn=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){rn(this,e)}};let fn={M:jt,P:Mt,A:Nt,C:1,L:tn,R:an,D:zt,V:rn,I:on,H:sn,N:ln,U:un,B:cn,F:dn},pn=Ot.litHtmlPolyfillSupport;pn?.(nn,on),(Ot.litHtmlVersions??=[]).push(`3.2.0`);let mn=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new on(t.insertBefore(It(),e),e,void 0,n??{})}return i._$AI(e),i};
33/**
34* @license
35* Copyright 2017 Google LLC
36* SPDX-License-Identifier: BSD-3-Clause
37*/var hn=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=mn(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return Zt}};hn._$litElement$=!0,hn.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:hn});let gn=globalThis.litElementPolyfillSupport;gn?.({LitElement:hn}),(globalThis.litElementVersions??=[]).push(`4.1.0`);
38/**
39* @license
40* Copyright 2017 Google LLC
41* SPDX-License-Identifier: BSD-3-Clause
42*/let _n={attribute:!0,type:String,converter:wt,reflect:!1,hasChanged:Tt},vn=(e=_n,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e)},init(t){return t!==void 0&&this.P(r,void 0,e),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e)}}throw Error(`Unsupported decorator location: `+r)};function yn(e){return(t,n)=>typeof n==`object`?vn(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,r?{...e,wrapped:!0}:e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}
43/**
44* @license
45* Copyright 2017 Google LLC
46* SPDX-License-Identifier: BSD-3-Clause
47*/function bn(e){return yn({...e,state:!0,attribute:!1})}
48/**
49* @license
50* Copyright 2020 Google LLC
51* SPDX-License-Identifier: BSD-3-Clause
52*/let{I:xn}=fn,Sn=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Cn={HTML:1,SVG:2,MATHML:3},wn=(e,t)=>t===void 0?e?._$litType$!==void 0:e?._$litType$===t,Tn=e=>e?._$litType$?.h!=null,En=e=>e?._$litDirective$!==void 0,Dn=e=>e?._$litDirective$,On=e=>e.strings===void 0,kn=()=>document.createComment(``),An=(e,t,n)=>{let r=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(n===void 0){let t=r.insertBefore(kn(),i),a=r.insertBefore(kn(),i);n=new xn(t,a,e,e.options)}else{let t=n._$AB.nextSibling,a=n._$AM,o=a!==e;if(o){let t;n._$AQ?.(e),n._$AM=e,n._$AP!==void 0&&(t=e._$AU)!==a._$AU&&n._$AP(t)}if(t!==i||o){let e=n._$AA;for(;e!==t;){let t=e.nextSibling;r.insertBefore(e,i),e=t}}}return n},jn=(e,t,n=e)=>(e._$AI(t,n),e),Mn={},Nn=(e,t=Mn)=>e._$AH=t,Pn=e=>e._$AH,Fn=e=>{e._$AP?.(!1,!0);let t=e._$AA,n=e._$AB.nextSibling;for(;t!==n;){let e=t.nextSibling;t.remove(),t=e}},In=e=>{e._$AR()},Ln={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rn=e=>(...t)=>({_$litDirective$:e,values:t});var zn=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this.t=e,this._$AM=t,this.i=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};
53/**
54* @license
55* Copyright 2017 Google LLC
56* SPDX-License-Identifier: BSD-3-Clause
57*/let Bn=(e,t)=>{let n=e._$AN;if(n===void 0)return!1;for(let e of n)e._$AO?.(t,!1),Bn(e,t);return!0},Vn=e=>{let t,n;do{if((t=e._$AM)===void 0)break;n=t._$AN,n.delete(e),e=t}while(n?.size===0)},Hn=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(n===void 0)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),Gn(t)}};function Un(e){this._$AN===void 0?this._$AM=e:(Vn(this),this._$AM=e,Hn(this))}function Wn(e,t=!1,n=0){let r=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(r))for(let e=n;e<r.length;e++)Bn(r[e],!1),Vn(r[e]);else r!=null&&(Bn(r,!1),Vn(r));else Bn(this,e)}let Gn=e=>{e.type==Ln.CHILD&&(e._$AP??=Wn,e._$AQ??=Un)};var Kn=class extends zn{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),Hn(this),this.isConnected=e._$AU}_$AO(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(Bn(this,e),Vn(this))}setValue(e){if(On(this.t))this.t._$AI(e,this);else{let t=[...this.t._$AH];t[this.i]=e,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};
58/**
59* @license
60* Copyright 2020 Google LLC
61* SPDX-License-Identifier: BSD-3-Clause
62*/let qn=()=>new Jn;var Jn=class{};let Yn=new WeakMap,Xn=Rn(class extends Kn{render(e){return V}update(e,[t]){let n=t!==this.Y;return n&&this.Y!==void 0&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.Y=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),V}rt(e){if(this.isConnected||(e=void 0),typeof this.Y==`function`){let t=this.ht??globalThis,n=Yn.get(t);n===void 0&&(n=new WeakMap,Yn.set(t,n)),n.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),n.set(this.Y,e),e!==void 0&&this.Y.call(this.ht,e)}else this.Y.value=e}get lt(){return typeof this.Y==`function`?Yn.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});
63/**
64* @license
65* Copyright 2017 Google LLC
66* SPDX-License-Identifier: BSD-3-Clause
67*/var Zn=class extends zn{constructor(e){if(super(e),this.it=V,e.type!==Ln.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===V||e==null)return this._t=void 0,this.it=e;if(e===Zt)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Zn.directiveName=`unsafeHTML`,Zn.resultType=1;let Qn=Rn(Zn),$n=`halo:search-widgets:history:hits`,er=50,tr=ut`
68  :host {
69    font-size: var(--halo-search-widget-base-font-size, 1em);
70    font-family: var(
71      --halo-search-widget-base-font-family,
72      ui-sans-serif,
73      system-ui,
74      sans-serif,
75      'Apple Color Emoji',
76      'Segoe UI Emoji',
77      'Segoe UI Symbol',
78      'Noto Color Emoji'
79    );
80  }
81`;var nr=tr;function rr(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var ir=class extends hn{constructor(){super(),this.baseUrl=``,this.options={},this.keyword=``,this.loading=!1,this.selectedIndex=0,this.historyHits=[],this.inputRef=qn(),this.fetchHits=P(async e=>{let t={...this.options,highlightPostTag:`</mark>`,highlightPreTag:`<mark>`,keyword:e,limit:20},n=await fetch(`/apis/api.halo.run/v1alpha1/indices/-/search`,{headers:{"Content-Type":`application/json`},body:JSON.stringify(t),method:`post`}),r=await n.json();this.searchResult=r,this.loading=!1},300),this.handleKeydown=e=>{let{key:t,ctrlKey:n}=e,r=this.keyword?this.searchResult?.hits:this.historyHits;if(r&&((t===`ArrowUp`||t===`k`&&n)&&(this.selectedIndex=Math.max(0,this.selectedIndex-1),this.handleScrollIntoSelected(),e.preventDefault()),(t===`ArrowDown`||t===`j`&&n)&&(this.selectedIndex=Math.min(r.length||0,this.selectedIndex+1),this.handleScrollIntoSelected(),e.preventDefault()),t===`Enter`)){let e=r[this.selectedIndex];e&&this.handleOpenLink(e)}},this.addEventListener(`keydown`,this.handleKeydown),this.historyHits=JSON.parse(localStorage.getItem($n)||`[]`),setTimeout(()=>{this.inputRef.value?.focus()},0)}render(){return B`
82      <div class="p-3 z-1 bg-base sticky top-0 border-b border-divider">
83        <form
84          class="flex items-center ring-2 h-12 rounded-base px-2.5 ring-primary bg-base"
85          @submit=${e=>e.preventDefault()}
86        >
87          <span
88            class="shrink flex-none size-6 text-primary ${this.loading?`i-lucide-loader-circle animate-spin`:`i-lucide-search`}"
89          ></span>
90          <input
91            @input="${this.onInput}"
92            placeholder=${s(`Enter keywords to search`)}
93            autocomplete="off"
94            spellcheck="false"
95            ${Xn(this.inputRef)}
96            class="flex-1 min-w-0 outline-none text-content h-full px-2.5 bg-transparent"
97          />
98          ${this.keyword?B`
99                <span
100                  @click=${this.handleClearInput}
101                  class="flex-none cursor-pointer shrink i-lucide-x size-5 text-muted hover:text-content"
102                ></span>
103              `:``}
104        </form>
105      </div>
106
107      ${this.keyword?this.renderItems():this.renderHistoryItems()}
108
109      <div
110        class="border-t border-divider p-3 bg-base sticky bottom-0 space-x-5 flex justify-end"
111      >
112        ${[{text:B`${s(`Select`)}`,kbdIcons:[`i-lucide-arrow-up`,`i-lucide-arrow-down`]},{text:B`${s(`Confirm`)}`,kbdIcons:[`i-lucide-corner-down-left`]},{text:B`${s(`Close`)}`,kbdIcons:[`i-mdi-keyboard-esc`]}].map(e=>B`
113            <div class="flex items-center space-x-1.5">
114              ${e.kbdIcons.map(e=>B`
115                  <kbd
116                    class="inline-flex justify-center items-center py-1 px-1.5 bg-base border border-kbd font-mono text-sm text-content roun
116ded-base shadow-kbd"
117                  >
118                    <i class="${e}"></i>
119                  </kbd>
120                `)}
121              <span class="text-xs text-muted">${e.text}</span>
122            </div>
123          `)}
124      </div>
125    `}handleClearInput(){this.keyword=``,this.searchResult=void 0,this.inputRef.value&&(this.inputRef.value.value=``,this.inputRef.value.focus())}renderItems(){return B`<div class="p-3">
126      ${this.searchResult?.hits?.length?``:this.renderEmpty()}
127      <ul class="space-y-1.5" role="list">
128        ${this.searchResult?.hits?.map((e,t)=>this.renderListItem(e,t,`i-lucide-file-text`))}
129      </ul>
130    </div>`}renderEmpty(){return B`<div class="flex py-4 justify-center text-sm text-muted">
131      <span>${s(`No search results`)}</span>
132    </div>`}renderHistoryItems(){return B`
133      <div class="p-3">
134        ${this.historyHits.length?B`<div class="flex justify-between items-center">
135                <h3 class="text-sm font-medium text-primary">
136                  ${s(`Recent`)}
137                </h3>
138                <span
139                  class="text-xs cursor-pointer text-muted hover:text-content"
140                  @click=${this.handleClearHistory}
141                >
142                  ${s(`Clear`)}
143                </span>
144              </div>
145              <ul class="mt-3 space-y-1.5" role="list">
146                ${this.historyHits?.map((e,t)=>this.renderListItem(e,t,`i-lucide-history`))}
147              </ul>`:this.renderEmpty()}
148      </div>
149    `}renderListItem(e,t,n){return B`
150      <li
151        @click="${()=>this.handleOpenLink(e)}"
152        @mouseenter=${()=>{this.selectedIndex=t}}
153        class="shadow-sm flex items-center space-x-3 rounded-base cursor-pointer p-3 bg-hit [&_mark]:text-primary [&_mark]:font-semibold [&_mark]:bg-transparent ${t===this.selectedIndex?`!bg-primary [&_mark]:!text-white [&_mark]:underline`:``}"
154        data-index=${t}
155      >
156        <span
157          class="flex-none shrink ${n} ${this.selectedIndex===t?`text-white`:`text-muted`}"
158        ></span>
159        <div class="flex-1 space-y-1.5 min-w-0">
160          <h2
161            class="text-sm font-medium ${this.selectedIndex===t?`text-white`:`text-content`}"
162          >
163            ${Qn(e.title)}
164          </h2>
165          ${e.description?B`
166                <p
167                  class="text-xs leading-6 ${this.selectedIndex===t?`text-white/90`:`text-muted`}"
168                >
169                  ${Qn(e.description)}
170                </p>
171              `:``}
172        </div>
173        <span
174          class="i-lucide-corner-down-left flex-none shrink text-white invisible ${this.selectedIndex===t?`!visible`:``}"
175        ></span>
176      </li>
177    `}onInput(e){let t=e.target,n=t.value;if(this.keyword=n||``,this.selectedIndex=0,n===``){this.searchResult=void 0;return}this.loading=!0,this.fetchHits(n)}handleClearHistory(){localStorage.removeItem($n),this.historyHits=[]}handleOpenLink(e){let t=rt([e,...this.historyHits],`id`).slice(0,er);localStorage.setItem($n,JSON.stringify(t)),this.historyHits=t,window.location.href=e.permalink}handleScrollIntoSelected(){let e=this.shadowRoot?.querySelector(`[data-index="${this.selectedIndex}"]`);e&&e.scrollIntoView({behavior:`smooth`,block:`center`})}static#_=this.styles=[lt(M),nr,ut`
178      /* layer: preflights */
179*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);
179--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}
180/* layer: icons */
181.i-lucide-arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 5v14m7-7l-7 7l-7-7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
182.i-lucide-arrow-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 12l7-7l7 7m-7 7V5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
183.i-lucide-corner-down-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m9 10l-5 5l5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
184.i-lucide-file-text{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4M10 9H8m8 4H8m8 4H8'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
185.i-lucide-history{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5m4-1v5l4 2'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
186.i-lucide-loader-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
187.i-lucide-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21l-4.3-4.3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
188.i-lucide-x{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
189.i-mdi-keyboard-esc{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1 7h6v2H3v2h4v2H3v2h4v2H1zm10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
190/* layer: shortcuts */
191.border-divider{border-color:var(--halo-search-widget-divider-color,var(--halo-search-widget-color-form-divider,#f1f5f9));}
192.border-kbd{border-color:var(--halo-search-widget-kbd-border-color,var(--halo-search-widget-color-command-kbd-border,#e2e8f0));}
193.bg-base{background-color:var(--halo-search-widget-base-bg-color,var(--halo-search-widget-color-modal-content-bg,#fff)) /* var(--halo-search-widget-base-bg-color,var(--halo-search-widget-color-modal-content-bg,#fff)) */;}
194.bg-hit{background-color:var(--halo-search-widget-hit-bg-color,var(--halo-search-widget-color-result-item-bg,#fff)) /* var(--halo-search-widget-hit-bg-color,var(--halo-search-widget-color-result-item-bg,#fff)) */;}
195.shadow-kbd{--un-shadow:var(--halo-search-widget-kbd-shadow,0px 2px 0px 0px rgba(0,0,0,0.08));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
196/* layer: default */
197.\\!visible{visibility:visible !important;}
198.invisible{visibility:hidden;}
199.sticky{position:sticky;}
200.static{position:static;}
201.bottom-0{bottom:0;}
202.top-0{top:0;}
203.z-1{z-index:1;}
204.mt-3{margin-top:0.75em;}
205.block{display:block;}
206.size-5{width:1.25em;height:1.25em;}
207.size-6{width:1.5em;height:1.5em;}
208.h-12{height:3em;}
209.h-full{height:100%;}
210.min-w-0{min-width:0;}
211.flex{display:flex;}
212.inline-flex{display:inline-flex;}
213.flex-1{flex:1 1 0%;}
214.flex-none{flex:none;}
215.shrink{flex-shrink:1;}
216@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
217.animate-spin{animation:spin 1s linear infinite;}
218.cursor-pointer{cursor:pointer;}
219.items-center{align-items:center;}
220.justify-end{justify-content:flex-end;}
221.justify-center{justify-content:center;}
222.justify-between{justify-content:space-between;}
223.space-x-1\\.5>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.375em * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.375em * var(--un-space-x-reverse));}
224.space-x-3>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(0.75em * calc(1 - var(--un-space-x-reverse)));margin-right:calc(0.75em * var(--un-space-x-reverse));}
225.space-x-5>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(1.25em * calc(1 - var(--un-space-x-reverse)));margin-right:calc(1.25em * var(--un-space-x-reverse));}
226.space-y-1\\.5>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(0.375em * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(0.375em * var(--un-space-y-reverse));}
227.border{border-width:1px;}
228.border-b{border-bottom-width:1px;}
229.border-t{border-top-width:1px;}
230.rounded-base{border-radius:var(--halo-search-widget-base-rounded, 0.4em);}
231.\\!bg-primary{background-color:var(--halo-search-widget-primary-color,#4CCBA0) /* var(--halo-search-widget-primary-color,#4CCBA0) */ !important;}
232.\\[\\&_mark\\]\\:bg-transparent mark,
233.bg-transparent{background-color:transparent /* transparent */;}
234.p-3{padding:0.75em;}
235.px-1\\.5{padding-left:0.375em;padding-right:0.375em;}
236.px-2\\.5{padding-left:0.625em;padding-right:0.625em;}
237.py-1{padding-top:0.25em;padding-bottom:0.25em;}
238.py-4{padding-top:1em;padding-bottom:1em;}
239.text-sm{font-size:0.875em;line-height:1.25em;}
240.text-xs{font-size:0.75em;line-height:1em;}
241.\\[\\&_mark\\]\\:\\!text-white mark{--un-text-opacity:1 !important;color:rgb(255 255 255 / var(--un-text-opacity)) /* #fff */ !important;}
242.\\[\\&_mark\\]\\:text-primary mark,
243.text-primary{color:var(--halo-search-widget-primary-color,#4CCBA0) /* var(--halo-search-widget-primary-color,#4CCBA0) */;}
244.text-content{color:var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a)) /* var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a)) */;}
245.text-muted{color:var(--halo-search-widget-muted-color,#475569) /* var(--halo-search-widget-muted-color,#475569) */;}
246.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity)) /* #fff */;}
247.text-white\\/90{color:rgb(255 255 255 / 0.9) /* #fff */;}
248.hover\\:text-content:hover{color:var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a)) /* var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a)) */;}
249.\\[\\&_mark\\]\\:font-semibold mark{font-weight:600;}
250.font-medium{font-weight:500;}
251.leading-6{line-height:1.5em;}
252.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;}
253.\\[\\&_mark\\]\\:underline mark{text-decoration-line:underline;}
254.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
255.outline-none{outline:2px solid transparent;outline-offset:2px;}
256.ring-2{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
257.ring-primary{--un-ring-color:var(--halo-search-widget-primary-color,#4CCBA0) /* var(--halo-search-widget-primary-color,#4CCBA0) */;};
258    `]};rr([yn({type:String})],ir.prototype,`baseUrl`,void 0),rr([yn({type:Object})],ir.prototype,`options`,void 0),rr([bn()],ir.prototype,`keyword`,void 0),rr([bn()],ir.prototype,`searchResult`,void 0),rr([bn()],ir.prototype,`loading`,void 0),rr([bn()],ir.prototype,`selectedIndex`,void 0),rr([bn()],ir.prototype,`historyHits`,void 0),customElements.get(`search-form`)||customElements.define(`search-form`,ir);
259/**
260* @license
261* Copyright 2018 Google LLC
262* SPDX-License-Identifier: BSD-3-Clause
263*/let ar=`important`,or=` !`+ar,sr=Rn(class extends zn{constructor(e){if(super(e),e.type!==Ln.ATTRIBUTE||e.name!==`style`||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return r==null?t:t+`${n=n.includes(`-`)?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,`-$&`).toLowerCase()}:${r};`},``)}update(e,[t]){let{style:n}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)t[e]??(this.ft.delete(e),e.includes(`-`)?n.removeProperty(e):n[e]=null);for(let e in t){let r=t[e];if(r!=null){this.ft.add(e);let t=typeof r==`string`&&r.endsWith(or);e.includes(`-`)||t?n.setProperty(e,t?r.slice(0,-11):r,t?ar:``):n[e]=r}}return Zt}}),H=(e,t)=>{let{o:n,i:r,u:i}=e,a=n,o,s=(e,t)=>{let n=a,s=e,c=t||(r?!r(n,s):n!==s);return(c||i)&&(a=s,o=n),[a,c,o]},c=e=>s(t(a,o),e),l=e=>[a,!!e,o];return[t?c:s,l]},cr=typeof window<`u`&&typeof HTMLElement<`u`&&!!window.document,U=cr?window:{},lr=Math.max,ur=Math.min,dr=Math.round,fr=Math.abs,pr=Math.sign,mr=U.cancelAnimationFrame,hr=U.requestAnimationFrame,gr=U.setTimeout,_r=U.clearTimeout,vr=e=>U[e]===void 0?void 0:U[e],yr=vr(`MutationObserver`),br=vr(`IntersectionObserver`),xr=vr(`ResizeObserver`),Sr=vr(`ScrollTimeline`),Cr=e=>e===void 0,wr=e=>e===null,Tr=e=>typeof e==`number`,Er=e=>typeof e==`string`,Dr=e=>typeof e==`boolean`,W=e=>typeof e==`function`,Or=e=>Array.isArray(e),kr=e=>typeof e==`object`&&!Or(e)&&!wr(e),Ar=e=>{let t=!!e&&e.length,n=Tr(t)&&t>-1&&t%1==0;return Or(e)||!W(e)&&n?t>0&&kr(e)?t-1 in e:!0:!1},jr=e=>!!e&&e.constructor===Object,Mr=e=>e instanceof HTMLElement,Nr=e=>e instanceof Element;function G(e,t){if(Ar(e))for(let n=0;n<e.length&&t(e[n],n,e)!==!1;n++);else e&&G(Object.keys(e),n=>t(e[n],n,e));return e}let Pr=(e,t)=>e.indexOf(t)>=0,Fr=(e,t)=>e.concat(t),K=(e,t,n)=>(!n&&!Er(t)&&Ar(t)?Array.prototype.push.apply(e,t):e.push(t),e),Ir=e=>Array.from(e||[]),Lr=e=>Or(e)?e:!Er(e)&&Ar(e)?Ir(e):[e],Rr=e=>!!e&&!e.length,zr=e=>Ir(new Set(e)),q=(e,t,n)=>{let r=e=>e?e.apply(void 0,t||[]):!0;G(e,r),!n&&(e.length=0)},Br=`paddingTop`,Vr=`paddingRight`,Hr=`paddingLeft`,Ur=`paddingBottom`,Wr=`marginLeft`,Gr=`marginRight`,Kr=`marginBottom`,qr=`overflowX`,Jr=`overflowY`,Yr=`width`,Xr=`height`,Zr=`visible`,Qr=`hidden`,$r=`scroll`,ei=e=>{let t=String(e||``);return t?t[0].toUpperCase()+t.slice(1):``},ti=(e,t,n,r)=>{if(e&&t){let i=!0;return G(n,n=>{let a=r?r(e[n]):e[n],o=r?r(t[n]):t[n];a!==o&&(i=!1)}),i}return!1},ni=(e,t)=>ti(e,t,[`w`,`h`]),ri=(e,t)=>ti(e,t,[`x`,`y`]),ii=(e,t)=>ti(e,t,[`t`,`r`,`b`,`l`]),ai=()=>{},J=(e,...t)=>e.bind(0,...t),oi=e=>{let t,n=e?gr:hr,r=e?_r:mr;return[i=>{r(t),t=n(()=>i(),W(e)?e():e)},()=>r(t)]},si=(e,t)=>{let{_:n,v:r,p:i,S:a}=t||{},o,s,c,l,u=ai,d=function(t){u(),_r(o),l=o=s=void 0,u=ai,e.apply(this,t)},f=e=>a&&s?a(s,e):e,p=()=>{u!==ai&&d(f(c)||c)},m=function(){let e=Ir(arguments),t=W(n)?n():n,a=Tr(t)&&t>=0;if(a){let n=W(r)?r():r,a=Tr(n)&&n>=0,m=t>0?gr:hr,h=t>0?_r:mr,g=f(e),_=g||e,v=d.bind(0,_),y;u(),i&&!l?(v(),l=!0,y=m(()=>l=void 0,t)):(y=m(v,t),a&&!o&&(o=gr(p,n))),u=()=>h(y),s=c=_}else d(e)};return m.m=p,m},ci=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),li=e=>e?Object.keys(e):[],Y=(e,t,n,r,i,a,o)=>{let s=[t,n,r,i,a,o];return(typeof e!=`object`||wr(e))&&!W(e)&&(e={}),G(s,t=>{G(t,(n,r)=>{let i=t[r];if(e===i)return!0;let a=Or(i);if(i&&jr(i)){let t=e[r],n=t;a&&!Or(t)?n=[]:!a&&!jr(t)&&(n={}),e[r]=Y(n,i)}else e[r]=a?i.slice():i})}),e},ui=(e,t)=>G(Y({},e),(e,n,r)=>{e===void 0?delete r[n]:t&&e&&jr(e)&&(r[n]=ui(e,t))}),di=e=>!li(e).length,fi=(e,t,n)=>lr(e,ur(t,n)),pi=e=>zr((Or(e)?e:(e||``).split(` `)).filter(e=>e)),mi=(e,t)=>e&&e.getAttribute(t),hi=(e,t)=>e&&e.hasAttribute(t),gi=(e,t,n)=>{G(pi(t),t=>{e&&e.setAttribute(t,String(n||``))})},_i=(e,t)=>{G(pi(t),t=>e&&e.removeAttribute(t))},vi=(e,t)=>{let n=pi(mi(e,t)),r=J(gi,e,t),i=(e,t)=>{let r=new Set(n);return G(pi(e),e=>{r[t](e)}),Ir(r).join(` `)};return{O:e=>r(i(e,`delete`)),$:e=>r(i(e,`add`)),C:e=>{let t=pi(e);return t.reduce((e,t)=>e&&n.includes(t),t.length>0)}}},yi=(e,t,n)=>(vi(e,t).O(n),J(bi,e,t,n)),bi=(e,t,n)=>(vi(e,t).$(n),J(yi,e,t,n)),xi=(e,t,n,r)=>
263(r?bi:yi)(e,t,n),Si=(e,t,n)=>vi(e,t).C(n),Ci=e=>vi(e,`class`),wi=(e,t)=>{Ci(e).O(t)},Ti=(e,t)=>(Ci(e).$(t),J(wi,e,t)),Ei=(e,t)=>{let n=t?Nr(t)&&t:document;return n?Ir(n.querySelectorAll(e)):[]},Di=(e,t)=>{let n=t?Nr(t)&&t:document;return n&&n.querySelector(e)},Oi=(e,t)=>Nr(e)&&e.matches(t),ki=e=>Oi(e,`body`),Ai=e=>e?Ir(e.childNodes):[],ji=e=>e&&e.parentElement,Mi=(e,t)=>Nr(e)&&e.closest(t),Ni=e=>(e||document).activeElement,Pi=(e,t,n)=>{let r=Mi(e,t),i=e&&Di(n,r),a=Mi(i,t)===r;return r&&i?r===e||i===e||a&&Mi(Mi(e,n),t)!==r:!1},Fi=e=>{G(Lr(e),e=>{let t=ji(e);e&&t&&t.removeChild(e)})},X=(e,t)=>J(Fi,e&&t&&G(Lr(t),t=>{t&&e.appendChild(t)})),Ii=e=>{let t=document.createElement(`div`);return gi(t,`class`,e),t},Li=e=>{let t=Ii();return t.innerHTML=e.trim(),G(Ai(t),e=>Fi(e))},Ri=(e,t)=>e.getPropertyValue(t)||e[t]||``,zi=e=>{let t=e||0;return isFinite(t)?t:0},Bi=e=>zi(parseFloat(e||``)),Vi=e=>Math.round(e*1e4)/1e4,Hi=e=>`${Vi(zi(e))}px`;function Ui(e,t){e&&t&&G(t,(t,n)=>{try{let r=e.style,i=wr(t)||Dr(t)?``:Tr(t)?Hi(t):t;n.indexOf(`--`)===0?r.setProperty(n,i):r[n]=i}catch{}})}function Wi(e,t,n){let r=Er(t),i=r?``:{};if(e){let a=U.getComputedStyle(e,n)||e.style;i=r?Ri(a,t):Ir(t).reduce((e,t)=>(e[t]=Ri(a,t),e),i)}return i}let Gi=(e,t,n)=>{let r=t?`${t}-`:``,i=n?`-${n}`:``,a=`${r}top${i}`,o=`${r}right${i}`,s=`${r}bottom${i}`,c=`${r}left${i}`,l=Wi(e,[a,o,s,c]);return{t:Bi(l[a]),r:Bi(l[o]),b:Bi(l[s]),l:Bi(l[c])}},Ki=(e,t)=>`translate${kr(e)?`(${e.x},${e.y})`:`${t?`X`:`Y`}(${e})`}`,qi=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),Ji={w:0,h:0},Yi=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:Ji,Xi=e=>Yi(`inner`,e||U),Zi=J(Yi,`offset`),Qi=J(Yi,`client`),$i=J(Yi,`scroll`),ea=e=>{let t=parseFloat(Wi(e,Yr))||0,n=parseFloat(Wi(e,Xr))||0;return{w:t-dr(t),h:n-dr(n)}},ta=e=>e.getBoundingClientRect(),na=e=>!!e&&qi(e),ra=e=>!!(e&&(e[Xr]||e[Yr])),ia=(e,t)=>{let n=ra(e),r=ra(t);return!r&&n},aa=(e,t,n,r)=>{G(pi(t),t=>{e&&e.removeEventListener(t,n,r)})},Z=(e,t,n,r)=>{var i;let a=(i=r&&r.H)??!0,o=r&&r.I||!1,s=r&&r.A||!1,c={passive:a,capture:o};return J(q,pi(t).map(t=>{let r=s?i=>{aa(e,t,r,o),n&&n(i)}:n;return e&&e.addEventListener(t,r,c),J(aa,e,t,r,o)}))},oa=e=>e.stopPropagation(),sa=e=>e.preventDefault(),ca=e=>oa(e)||sa(e),la=(e,t)=>{let{x:n,y:r}=Tr(t)?{x:t,y:t}:t||{};Tr(n)&&(e.scrollLeft=n),Tr(r)&&(e.scrollTop=r)},Q=e=>({x:e.scrollLeft,y:e.scrollTop}),ua=()=>({D:{x:0,y:0},M:{x:0,y:0}}),da=(e,t)=>{let{D:n,M:r}=e,{w:i,h:a}=t,o=(e,t,n)=>{let r=pr(e)*n,i=pr(t)*n;if(r===i){let n=fr(e),a=fr(t);i=n>a?0:i,r=n<a?0:r}return r=r===i?0:r,[r+0,i+0]},[s,c]=o(n.x,r.x,i),[l,u]=o(n.y,r.y,a);return{D:{x:s,y:l},M:{x:c,y:u}}},fa=({D:e,M:t})=>{let n=(e,t)=>e===0&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},pa=({D:e,M:t},n)=>{let r=(e,t,n)=>fi(0,1,(e-n)/(e-t)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},ma=e=>{e&&e.focus&&e.focus({preventScroll:!0})},ha=(e,t)=>{G(Lr(t),e)},ga=e=>{let t=new Map,n=(e,n)=>{if(e){let r=t.get(e);ha(e=>{r&&r[e?`delete`:`clear`](e)},n)}else t.forEach(e=>{e.clear()}),t.clear()},r=(e,i)=>{if(Er(e)){let r=t.get(e)||new Set;return t.set(e,r),ha(e=>{W(e)&&r.add(e)},i),J(n,e,i)}Dr(i)&&i&&n();let a=li(e),o=[];return G(a,t=>{let n=e[t];n&&K(o,r(t,n))}),J(q,o)},i=(e,n)=>{G(Ir(t.get(e)),e=>{n&&!Rr(n)?e.apply(0,n):e()})};return r(e||{}),[r,n,i]},_a=e=>JSON.stringify(e,(e,t)=>{if(W(t))throw 0;return t}),va=(e,t)=>e?`${t}`.split(`.`).reduce((e,t)=>e&&ci(e,t)?e[t]:void 0,e):void 0,ya={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[[`img`,`load`]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:`scroll`,y:`scroll`},scrollbars:{theme:`os-theme-dark`,visibility:`auto`,autoHide:`never`,autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:[`mouse`,`touch`,`pen`]}},ba=(e,t)=>{let n={},r=Fr(li(t),li(e));return G(r,r=>{let i=e[r],a=t[r];if(kr(i)&&kr(a))Y(n[r]={},ba(i,a)),di(n[r])&&delete n[r];else if(ci(t,r)&&a!==i){let e=!0;if(Or(i)||Or(a))try{_a(i)===_a(a)&&(e=!1)}catch{}e&&(n[r]=a)}}),n},xa=(e,t,n)=>r=>[va(e,r),n||va(t,r)!==void 0],Sa=`data-overlayscrollbars`,Ca=`os-environment`,wa=`${Ca}-scrollbar-hidden`,Ta=`${Sa}-initialize`,Ea=`noClipping`,Da=`${Sa}-body`,Oa=Sa,ka=`host`,Aa=`${Sa}-viewport`,ja=qr,Ma=Jr,Na=`arrange`,Pa=`measuring`,Fa=`scrolling`,Ia=`scrollbarHidden`,La=`noContent`,Ra=`${Sa}-padding`,za=`${Sa}-content`,Ba=`os-size-observer`,Va=`${Ba}-appear`,Ha=`${Ba}-listener`,Ua=`${Ha}-scroll`,Wa=`${Ha}-item`,Ga=`${Wa}
263-final`,Ka=`os-trinsic-observer`,qa=`os-theme-none`,$=`os-scrollbar`,Ja=`${$}-rtl`,Ya=`${$}-horizontal`,Xa=`${$}-vertical`,Za=`${$}-track`,Qa=`${$}-handle`,$a=`${$}-visible`,eo=`${$}-cornerless`,to=`${$}-interaction`,no=`${$}-unusable`,ro=`${$}-auto-hide`,io=`${ro}-hidden`,ao=`${$}-wheel`,oo=`${Za}-interactive`,so=`${Qa}-interactive`,co,lo=()=>co,uo=e=>{co=e},fo,po=()=>{let e=(e,t,n)=>{X(document.body,e),X(document.body,e);let r=Qi(e),i=Zi(e),a=ea(t);return n&&Fi(e),{x:i.h-r.h+a.h,y:i.w-r.w+a.w}},t=e=>{let t=!1,n=Ti(e,wa);try{t=Wi(e,`scrollbar-width`)===`none`||Wi(e,`display`,`::-webkit-scrollbar`)===`none`}catch{}return n(),t},n=`.${Ca}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${Ca} div{width:200%;height:200%;margin:10px 0}.${wa}{scrollbar-width:none!important}.${wa}::-webkit-scrollbar,.${wa}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,r=Li(`<div class="${Ca}"><div></div><style>${n}</style></div>`),i=r[0],a=i.firstChild,o=i.lastChild,s=lo();s&&(o.nonce=s);let[c,,l]=ga(),[u,d]=H({o:e(i,a),i:ri},J(e,i,a,!0)),[f]=d(),p=t(i),m={x:f.x===0,y:f.y===0},h={elements:{host:null,padding:!p,viewport:e=>p&&ki(e)&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},g=Y({},ya),_=J(Y,{},g),v=J(Y,{},h),y={T:f,k:m,R:p,V:!!Sr,L:J(c,`r`),U:v,P:e=>Y(h,e)&&v(),N:_,q:e=>Y(g,e)&&_(),B:Y({},h),F:Y({},g)};if(_i(i,`style`),Fi(i),Z(U,`resize`,()=>{l(`r`,[])}),W(U.matchMedia)&&!p&&(!m.x||!m.y)){let e=t=>{let n=U.matchMedia(`(resolution: ${U.devicePixelRatio}dppx)`);Z(n,`change`,()=>{t(),e(t)},{A:!0})};e(()=>{let[e,t]=u();Y(y.T,e),l(`r`,[t])})}return y},mo=()=>(fo||=po(),fo),ho=(e,t)=>W(t)?t.apply(0,e):t,go=(e,t,n,r)=>{let i=Cr(r)?n:r,a=ho(e,i);return a||t.apply(0,e)},_o=(e,t,n,r)=>{let i=Cr(r)?n:r,a=ho(e,i);return!!a&&(Mr(a)?a:t.apply(0,e))},vo=(e,t)=>{let{nativeScrollbarsOverlaid:n,body:r}=t||{},{k:i,R:a,U:o}=mo(),{nativeScrollbarsOverlaid:s,body:c}=o().cancel,l=n??s,u=Cr(r)?c:r,d=(i.x||i.y)&&l,f=e&&(wr(u)?!a:u);return!!d||!!f},yo=new WeakMap,bo=(e,t)=>{yo.set(e,t)},xo=e=>{yo.delete(e)},So=e=>yo.get(e),Co=(e,t,n)=>{let r=!1,i=n?new WeakMap:!1,a=()=>{r=!0},o=a=>{if(i&&n){let o=n.map(t=>{let[n,r]=t||[],i=r&&n?(a||Ei)(n,e):[];return[i,r]});G(o,n=>G(n[0],a=>{let o=n[1],s=i.get(a)||[],c=e.contains(a);if(c&&o){let e=Z(a,o,n=>{r?(e(),i.delete(a)):t(n)});i.set(a,K(s,e))}else q(s),i.delete(a)}))}};return o(),[a,o]},wo=(e,t,n,r)=>{let i=!1,{j:a,X:o,Y:s,W:c,J:l,G:u}=r||{},d=si(()=>i&&n(!0),{_:33,v:99}),[f,p]=Co(e,d,s),m=a||[],h=o||[],g=Fr(m,h),_=(i,a)=>{if(!Rr(a)){let o=l||ai,s=u||ai,d=[],f=[],m=!1,g=!1;if(G(a,n=>{let{attributeName:i,target:a,type:l,oldValue:u,addedNodes:p,removedNodes:_}=n,v=l===`attributes`,y=l===`childList`,b=e===a,x=v&&i,S=x&&mi(a,i||``),C=Er(S)?S:null,w=x&&u!==C,T=Pr(h,i)&&w;if(t&&(y||!b)){let t=v&&w,l=t&&c&&Oi(a,c),f=l?!o(a,i,u,C):!v||t,m=f&&!s(n,!!l,e,r);G(p,e=>K(d,e)),G(_,e=>K(d,e)),g||=m}!t&&b&&w&&!o(a,i,u,C)&&(K(f,i),m||=T)}),p(e=>zr(d).reduce((t,n)=>(K(t,Ei(e,n)),Oi(n,e)?K(t,n):t),[])),t)return!i&&g&&n(!1),[!1];if(!Rr(f)||m){let e=[zr(f),m];return!i&&n.apply(0,e),e}}},v=new yr(J(_,!1));return[()=>(v.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:g,subtree:t,childList:t,characterData:t}),i=!0,()=>{i&&(f(),v.disconnect(),i=!1)}),()=>{if(i)return d.m(),_(!0,v.takeRecords())}]},To={},Eo={},Do=e=>{G(e,e=>G(e,(t,n)=>{To[n]=e[n]}))},Oo=(e,t,n)=>li(e).map(r=>{let{static:i,instance:a}=e[r],[o,s,c]=n||[],l=n?a:i;if(l){let e=n?l(o,s,t):l(t);return(c||Eo)[r]=e}}),ko=e=>Eo[e],Ao=`__osOptionsValidationPlugin`,jo=`__osSizeObserverPlugin`,Mo=(e,t)=>{let{k:n}=t,[r,i]=e(`showNativeOverlaidScrollbars`);return[r&&n.x&&n.y,i]},No=e=>e.indexOf(Zr)===0,Po=(e,t)=>{let n=(e,t,n,r)=>{let i=e===Zr?Qr:e.replace(`${Zr}-`,``),a=No(e),o=No(n);if(!t&&!r)return Qr;if(a&&o)return Zr;if(a){let e=t?Zr:Qr;return t&&r?i:e}let s=o&&r?Zr:Qr;return t?i:s},r={x:n(t.x,e.x,t.y,e.y),y:n(t.y,e.y,t.x,e.x)};return{K:r,Z:{x:r.x===$r,y:r.y===$r}}},Fo=`__osScrollbarsHidingPlugin`,Io=`__osClickScrollPlugin`,Lo=(e,t,n)=>{let{dt:r}=n||{},i=ko(jo),[a]=H({o:!1,u:!0});return()=>{let n=[],o=Li(`<div class="${Ba}"><div class="${Ha}"></div></div>`),s=o[0],c=s.firstChild,l=e=>{let n=e instanceof ResizeObserverEntry,r=!1,i=!1;if(n){let[t,,n]=a(e.contentRect),o=ra(t);
263i=ia(t,n),r=!i&&!o}else i=e===!0;r||t({ft:!0,dt:i})};if(xr){let e=new xr(e=>l(e.pop()));e.observe(c),K(n,()=>{e.disconnect()})}else if(i){let[e,t]=i(c,l,r);K(n,Fr([Ti(s,Va),Z(s,`animationstart`,e)],t))}else return ai;return J(q,K(n,X(e,s)))}},Ro=(e,t)=>{let n,r=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,i=Ii(Ka),[a]=H({o:!1}),o=(e,n)=>{if(e){let i=a(r(e)),[,o]=i;return o&&!n&&t(i)&&[i]}},s=(e,t)=>o(t.pop(),e);return[()=>{let t=[];if(br)n=new br(J(s,!1),{root:e}),n.observe(i),K(t,()=>{n.disconnect()});else{let e=()=>{let e=Zi(i);o(e)};K(t,Lo(i,e)()),e()}return J(q,K(t,X(e,i)))},()=>n&&s(!0,n.takeRecords())]},zo=(e,t,n,r)=>{let i,a,o,s,c,l,u=`[${Oa}]`,d=`[${Aa}]`,f=[`id`,`class`,`style`,`open`,`wrap`,`cols`,`rows`],{vt:p,ht:m,ot:h,gt:g,bt:_,nt:v,wt:y,yt:b,St:x,Ot:S}=e,C=e=>Wi(e,`direction`)===`rtl`,w={$t:!1,ct:C(p)},T=mo(),E=ko(Fo),[D]=H({i:ni,o:{w:0,h:0}},()=>{let r=E&&E.tt(e,t,w,T,n).ut,i=y&&v,a=!i&&Si(m,Oa,Ea),o=!v&&b(Na),s=o&&Q(g),c=s&&S(),l=x(Pa,a),u=o&&r&&r()[0],d=$i(h),f=ea(h);return u&&u(),la(g,s),c&&c(),a&&l(),{w:d.w+f.w,h:d.h+f.h}}),O=si(r,{_:()=>i,v:()=>a,S(e,t){let[n]=e,[r]=t;return[Fr(li(n),li(r)).reduce((e,t)=>(e[t]=n[t]||r[t],e),{})]}}),k=e=>{let t=C(p);Y(e,{Ct:l!==t}),Y(w,{ct:t}),l=t},A=(e,t)=>
263{let[n,i]=e,a={xt:i};return Y(w,{$t:n}),!t&&r(a),a},ee=({ft:e,dt:t})=>{let n=e&&!t,i=!n&&T.R?O:r,a={ft:e||t,dt:t};k(a),i(a)},j=(e,t)=>{let[,n]=D(),i={Ht:n};k(i);let a=e?r:O;return n&&!t&&a(i),i},M=(e,t,n)=>{let r={Et:t};return k(r),t&&!n&&O(r),r},[N,P]=_?Ro(m,A):[],F=!v&&Lo(m,ee,{dt:!0}),[te,ne]=wo(m,!1,M,{X:f,j:f}),re=v&&xr&&new xr(e=>{let t=e[e.length-1].contentRect;ee({ft:!0,dt:ia(t,c)}),c=t}),I=si(()=>{let[,e]=D();r({Ht:e})},{_:222,p:!0});return[()=>{re&&re.observe(m);let e=F&&F(),t=N&&N(),n=te(),r=T.L(e=>{e?O({zt:e}):I()});return()=>{re&&re.disconnect(),e&&e(),t&&t(),s&&s(),n(),r()}},({It:e,At:t,Dt:n})=>{let r={},[c]=e(`update.ignoreMutation`),[l,p]=e(`update.attributes`),[m,g]=e(`update.elementEvents`),[y,b]=e(`update.debounce`),x=g||p,S=t||n,C=e=>W(c)&&c(e);if(x){o&&o(),s&&s();let[e,t]=wo(_||h,!0,j,{j:Fr(f,l||[]),Y:m,W:u,G:(e,t)=>{let{target:n,attributeName:r}=e,i=!t&&r&&!v?Pi(n,u,d):!1;return i||!!Mi(n,`.${$}`)||!!C(e)}});s=e(),o=t}if(b)if(O.m(),Or(y)){let e=y[0],t=y[1];i=Tr(e)&&e,a=Tr(t)&&t}else Tr(y)?(i=y,a=!1):(i=!1,a=!1);if(S){let e=ne(),t=P&&P(),n=o&&o();e&&Y(r,M(e[0],e[1],S)),t&&Y(r,A(t[0],S)),n&&Y(r,j(n[0],S))}return k(r),r},w]},Bo=(e,t,n,r)=>{let i=`--os-viewport-percent`,a=`--os-scroll-percent`,o=`--os-scroll-direction`,{U:s}=mo(),{scrollbars:c}=s(),{slot:l}=c,{vt:u,ht:d,ot:f,Mt:p,gt:m,wt:h,nt:g}=t,{scrollbars:_}=p?{}:e,{slot:v}=_||{},y=[],b=[],x=[],S=_o([u,d,f],()=>g&&h?u:d,l,v),C=e=>{if(Sr){let t=new Sr({source:m,axis:e}),n=e=>{let n=e.Tt.animate({clear:[`left`],[a]:[0,1]},{timeline:t});return()=>n.cancel()};return{kt:n}}},w={x:C(`x`),y:C(`y`)},T=()=>{let{Rt:e,Vt:t}=n,r=(e,t)=>fi(0,1,e/(e+t)||0);return{x:r(t.x,e.x),y:r(t.y,e.y)}},E=(e,t,n)=>{let r=n?Ti:wi;G(e,e=>{r(e.Tt,t)})},D=(e,t)=>{G(e,e=>{let[n,r]=t(e);Ui(n,r)})},O=(e,t,n)=>{let r=Dr(n),i=r?n:!0,a=r?!n:!0;i&&E(b,e,t),a&&E(x,e,t)},k=()=>{let e=T(),t=e=>t=>[t.Tt,{[i]:Vi(e)+``}];D(b,t(e.x)),D(x,t(e.y))},A=()=>{if(!Sr){let{Lt:e}=n,t=pa(e,Q(m)),r=e=>t=>[t.Tt,{[a]:Vi(e)+``}];D(b,r(t.x)),D(x,r(t.y))}},ee=()=>{let{Lt:e}=n,t=fa(e),r=e=>t=>[t.Tt,{[o]:e?`0`:`1`}];D(b,r(t.x)),D(x,r(t.y))},j=()=>
263{if(g&&!h){let{Rt:e,Lt:t}=n,r=fa(t),i=pa(t,Q(m)),a=t=>{let{Tt:n}=t,a=ji(n)===f&&n,o=(e,t,n)=>{let r=t*e;return Hi(n?r:-r)};return[a,a&&{transform:Ki({x:o(i.x,e.x,r.x),y:o(i.y,e.y,r.y)})}]};D(b,a),D(x,a)}},M=e=>{let t=e?`x`:`y`,n=e?Ya:Xa,i=Ii(`${$} ${n}`),a=Ii(Za),o=Ii(Qa),s={Tt:i,Ut:a,Pt:o},c=w[t];return K(e?b:x,s),K(y,[X(i,a),X(a,o),J(Fi,i),c&&c.kt(s),r(s,O,e)]),s},N=J(M,!0),P=J(M,!1),F=()=>(X(S,b[0].Tt),X(S,x[0].Tt),J(q,y));return N(),P(),[{Nt:k,qt:A,Bt:ee,Ft:j,jt:O,Xt:{Yt:b,Wt:N,Jt:J(D,b)},Gt:{Yt:x,Wt:P,Jt:J(D,x)}},F]},Vo=(e,t,n,r)=>(i,a,o)=>{let{ht:s,ot:c,nt:l,gt:u,Kt:d,Ot:f}=t,{Tt:p,Ut:m,Pt:h}=i,[g,_]=oi(333),[v,y]=oi(444),b=e=>{W(u.scrollBy)&&u.scrollBy({behavior:`smooth`,left:e.x,top:e.y})},x=()=>{let t=`pointerup pointercancel lostpointercapture`,r=`client${o?`X`:`Y`}`,i=o?Yr:Xr,a=o?`left`:`top`,s=o?`w`:`h`,c=o?`x`:`y`,l=(e,t)=>r=>{let{Rt:i}=n,a=Zi(m)[s]-Zi(h)[s],o=t*r/a,l=o*i[c];la(u,{[c]:e+l})},p=[];return Z(m,`pointerdown`,n=>{let o=Mi(n.target,`.${Qa}`)===h,g=o?h:m,_=e.scrollbars,x=_[o?`dragScroll`:`clickScroll`],{button:S,isPrimary:C,pointerType:w}=n,{pointers:T}=_,E=S===0&&C&&x&&(T||[]).includes(w);if(E){q(p),y();let e=!o&&(n.shiftKey||x===`instant`),_=J(ta,h),S=J(ta,m),C=(e,t)=>(e||_())[a]-(t||S())[a],w=dr(ta(u)[i])/Zi(u)[s]||1,T=l(Q(u)[c],1/w),E=n[r],D=_(),O=S(),k=D[i],A=C(D,O)+k/2,ee=E-O[a],j=o?0:ee-A,M=e=>{q(F),g.releasePointerCapture(e.pointerId)},N=o||e,P=f(),F=[Z(d,t,M),Z(d,`selectstart`,e=>sa(e),{H:!1}),Z(m,t,M),N&&Z(m,`pointermove`,e=>T(j+(e[r]-E))),N&&(()=>{let e=Q(u);P();let t=Q(u),n={x:t.x-e.x,y:t.y-e.y};(fr(n.x)>3||fr(n.y)>3)&&(f(),la(u,e),b(n),v(P))})];if(g.setPointerCapture(n.pointerId),e)T(j);else if(!o){let e=ko(Io);if(e){let t=e(T,j,k,e=>{e?P():K(F,P)});K(F,t),K(p,J(t,!0))}}}})},S=!0;return J(q,[Z(h,`pointermove pointerleave`,r),Z(p,`pointerenter`,()=>{a(to,!0)}),Z(p,`pointerleave pointercancel`,()=>{a(to,!1)}),!l&&Z(p,`mousedown`,()=>{let e=Ni();(hi(e,Aa)||hi(e,Oa)||e===document.body)&&gr(J(ma,c),25)}),Z(p,`wheel`,e=>{let{deltaX:t,deltaY:n,deltaMode:r}=e;S&&r===0&&ji(p)===s&&b({x:t,y:n}),S=!1,a(ao,!0),g(()=>{S=!0,a(ao)}),sa(e)},{H:!1,I:!0}),Z(p,`pointerdown`,J(Z,d,`click`,ca,{A:!0,I:!0,H:!1}),{I:!0}),x(),_,y])},Ho=(e,t,n,r,i,a)=>{let o,s,c,l,u,d=ai,f=0,p=e=>e.pointerType===`mouse`,[m,h]=oi(),[g,_]=oi(100),[v,y]=oi(100),[b,x]=oi(()=>f),[S,C]=Bo(e,i,r,Vo(t,i,r,e=>p(e)&&M())),{ht:w,Qt:T,wt:E}=i,{jt:D,Nt:O,qt:k,Bt:A,Ft:ee}=S,j=(e,t)=>{if(x(),e)D(io);else{let e=J(D,io,!0);f>0&&!t?b(e):e()}},M=()=>{(c?!o:!l)&&(j(!0),g(()=>{j(!1)}))},N=e=>{D(ro,e,!0),D(ro,e,!1)},P=e=>{p(e)&&(o=c,c&&j(!0))},F=[x,_,y,h,()=>d(),Z(w,`pointerover`,P,{A:!0}),Z(w,`pointerenter`,P),Z(w,`pointerleave`,e=>{p(e)&&(o=!1,c&&j(!1))}),Z(w,`pointermove`,e=>{p(e)&&s&&M()}),Z(T,`scroll`,e=>{m(()=>{k(),M()}),a(e),ee()})];return[()=>J(q,K(F,C())),({It:e,Dt:t,Zt:i,tn:a})=>{let{nn:o,sn:p,en:m,cn:h}=a||{},{Ct:g,dt:_}=i||{},{ct:y}=n,{k:b}=mo(),{K:x,rn:S}=r,[C,w]=e(`showNativeOverlaidScrollbars`),[M,P]=e(`scrollbars.theme`),[F,te]=e(`scrollbars.visibility`),[ne,re]=e(`scrollbars.autoHide`),[I,ie]=e(`scrollbars.autoHideSuspend`),[L]=e(`scrollbars.autoHideDelay`),[R,z]=e(`scrollbars.dragScroll`),[ae,oe]=e(`scrollbars.clickScroll`),[se,ce]=e(`overflow`),le=_&&!t,ue=S.x||S.y,de=o||p||h||g||t,fe=m||te||ce,pe=C&&b.x&&b.y,me=(e,t,n)=>{let r=e.includes($r)&&(F===Zr||F===`auto`&&t===$r);return D($a,r,n),r};if(f=L,le&&(I&&ue?(N(!1),d(),v(()=>{d=Z(T,`scroll`,J(N,!0),{A:!0})})):N(!0)),w&&D(qa,pe),P&&(D(u),D(M,!0),u=M),ie&&!I&&N(!0),re&&(s=ne===`move`,c=ne===`leave`,l=ne===`never`,j(l,!0)),z&&D(so,R),oe&&D(oo,!!ae),fe){let e=me(se.x,x.x,!0),t=me(se.y,x.y,!1),n=e&&t;D(eo,!n)}de&&(k(),O(),ee(),h&&A(),D(no,!S.x,!0),D(no,!S.y,!1),D(Ja,y&&!E))},{},S]},Uo=e=>{let t=mo(),{U:n,R:r}=t,{elements:i}=n(),{padding:a,viewport:o,content:s}=i,c=Mr(e),l=c?{}:e,{elements:u}=l,{padding:d,viewport:f,content:p}=u||{},m=c?e:l.target,h=ki(m),g=m.ownerDocument,_=g.documentElement,v=()=>g.defaultView||U,y=J(go,[m]),b=J(_o,[m]),x=J(Ii,``),S=J(y,x,o),C=J(b,x,s),w=e=>{let t=Zi(e),n=$i(e),r=Wi(e,qr),i=Wi(e,Jr);return n.w-t.w>0&&!No(r)||n.h-t.h>0&&!No(i)},T=S(f),E=T===m,D=E&&h,O=!E&&C(p),k=!E&&T===O,A=D?_:T,ee=D?A:m,j=!E&&b(x,a,d),M=!k&&O,N=[M,A,j,ee].map(e=>Mr(e)&&!ji(e)&&e),P=e=>e&&Pr(N,e),F=!P(A)&&w(A)?A:m,te=D?_:A,ne=D?g:A,re={vt:m,ht:ee,ot:A,ln:j,bt:M,gt:te,Qt:ne,an:
263h?_:F,Kt:g,wt:h,Mt:c,nt:E,un:v,yt:e=>Si(A,Aa,e),St:(e,t)=>xi(A,Aa,e,t),Ot:()=>xi(te,Aa,Fa,!0)},{vt:I,ht:ie,ln:L,ot:R,bt:z}=re,ae=[()=>{_i(ie,[Oa,Ta]),_i(I,Ta),h&&_i(_,[Ta,Oa])}],oe=Ai([z,R,L,ie,I].find(e=>e&&!P(e))),se=D?I:z||R,ce=J(q,ae),le=()=>{let e=v(),t=Ni(),n=e=>{X(ji(e),Ai(e)),Fi(e)},i=e=>Z(e,`focusin focusout focus blur`,ca,{I:!0,H:!1}),a=`tabindex`,o=mi(R,a),s=i(t);return gi(ie,Oa,E?``:ka),gi(L,Ra,``),gi(R,Aa,``),gi(z,za,``),E||(gi(R,a,o||`-1`),h&&gi(_,Da,``)),X(se,oe),X(ie,L),X(L||ie,!E&&R),X(R,z),K(ae,[s,()=>{let e=Ni(),t=P(R),r=t&&e===R?I:e,s=i(r);_i(L,Ra),_i(z,za),_i(R,Aa),h&&_i(_,Da),o?gi(R,a,o):_i(R,a),P(z)&&n(z),t&&n(R),P(L)&&n(L),ma(r),s()}]),r&&!E&&(bi(R,Aa,Ia),K(ae,J(_i,R,Aa))),ma(!E&&h&&t===I&&e.top===e?R:t),s(),oe=0,ce};return[re,le,ce]},Wo=({bt:e})=>({Zt:t,_n:n,Dt:r})=>{let{xt:i}=t||{},{$t:a}=n,o=e&&(i||r);o&&Ui(e,{[Xr]:a&&`100%`})},Go=({ht:e,ln:t,ot:n,nt:r},i)=>{let[a,o]=H({i:ii,o:Gi()},J(Gi,e,`padding`,``));return({It:e,Zt:s,_n:c,Dt:l})=>{let[u,d]=o(l),{R:f}=mo(),{ft:p,Ht:m,Ct:h}=s||{},{ct:g}=c,[_,v]=e(`paddingAbsolute`),y=l||m;(p||d||y)&&([u,d]=a(l));let b=!r&&(v||h||d);if(b){let e=!_||!t&&!f,r=u.r+u.l,a=u.t+u.b,o={[Gr]:e&&!g?-r:0,[Kr]:e?-a:0,[Wr]:e&&g?-r:0,top:e?-u.t:0,right:e?g?-u.r:`auto`:0,left:e?g?`auto`:-u.l:0,[Yr]:e&&`calc(100% + ${r}px)`},s={[Br]:e?u.t:0,[Vr]:e?u.r:0,[Ur]:e?u.b:0,[Hr]:e?u.l:0};Ui(t||n,o),Ui(n,s),Y(i,{ln:u,dn:!e,rt:t?s:Y({},o,s)})}return{fn:b}}},Ko=(e,t)=>{let n=mo(),{ht:r,ln:i,ot:a,nt:o,Qt:s,gt:c,wt:l,St:u,un:d}=e,{R:f}=n,p=l&&o,m=J(lr,0),h={display:()=>!1,direction:e=>e!==`ltr`,flexDirection:e=>e.endsWith(`-reverse`),writingMode:e=>e!==`horizontal-tb`},g=li(h),_={i:ni,o:{w:0,h:0}},v={i:ri,o:{}},y=e=>{u(Pa,!p&&e)},b=e=>{let t=g.some(t=>{let n=e[t];return n&&h[t](n)});if(!t)return{D:{x:0,y:0},M:{x:1,y:1}};y(!0);let n=Q(c),r=u(La,!0),i=Z(s,$r,e=>{let t=Q(c);e.isTrusted&&t.x===n.x&&t.y===n.y&&oa(e)},{I:!0,A:!0});la(c,{x:0,y:0}),r();let a=Q(c),o=$i(c);la(c,{x:o.w,y:o.h});let l=Q(c);la(c,{x:l.x-a.x<1&&-o.w,y:l.y-a.y<1&&-o.h});let d=Q(c);return la(c,n),hr(()=>i()),{D:a,M:d}},x=(e,t)=>{let n=U.devicePixelRatio%1==0?0:1,r={w:m(e.w-t.w),h:m(e.h-t.h)};return{w:r.w>n?r.w:0,h:r.h>n?r.h:0}},[S,C]=H(_,J(ea,a)),[w,T]=H(_,J($i,a)),[E,D]=H(_),[O]=H(v),[k,A]=H(_),[ee]=H(v),[j]=H({i:(e,t)=>ti(e,t,g),o:{}},()=>na(a)?Wi(a,g):{}),[M,N]=H({i:(e,t)=>ri(e.D,t.D)&&ri(e.M,t.M),o:ua()}),P=ko(Fo),F=(e,t)=>{let n=t?ja:Ma;return`${n}${ei(e)}`},te=e=>{let t=e=>[Zr,Qr,$r].map(t=>F(t,e)),n=t(!0).concat(t()).join(` `);u(n),u(li(e).map(t=>F(e[t],t===`x`)).join(` `),!0)};return({It:o,Zt:s,_n:c,Dt:l},{fn:h})=>{let{ft:g,Ht:_,Ct:v,dt:F,zt:ne}=s||{},re=P&&P.tt(e,t,c,n,o),{it:I,ut:ie,_t:L}=re||{},[R,z]=Mo(o,n),[ae,oe]=o(`overflow`),se=No(ae.x),ce=No(ae.y),le=!0,ue=C(l),de=T(l),fe=D(l),pe=A(l);z&&f&&u(Ia,!R);{Si(r,Oa,Ea)&&y(!0);let[e]=ie?ie():[],[t]=ue=S(l),[n]=de=w(l),i=Qi(a),o=p&&Xi(d()),s={w:m(n.w+t.w),h:m(n.h+t.h)},c={w:m((o?o.w:i.w+m(i.w-n.w))+t.w),h:m((o?o.h:i.h+m(i.h-n.h))+t.h)};e&&e(),pe=k(c),fe=E(x(s,c),l)}let[me,he]=pe,[ge,_e]=fe,[ve,ye]=de,[be,xe]=ue,[Se,Ce]=O({x:ge.w>0,y:ge.h>0}),we=se&&ce&&(Se.x||Se.y)||se&&Se.x&&!Se.y||ce&&Se.y&&!Se.x,Te=h||v||ne||xe||ye||he||_e||oe||z||le,Ee=Po(Se,ae),[De,Oe]=ee(Ee.K),[ke,Ae]=j(l),je=v||F||Ae||Ce||l,[Me,Ne]=je?M(b(ke),l):N();return Te&&(Oe&&te(Ee.K),L&&I&&Ui(a,L(Ee,c,I(Ee,ve,be)))),y(!1),xi(r,Oa,Ea,we),xi(i,Ra,Ea,we),Y(t,{K:De,Vt:{x:me.w,y:me.h},Rt:{x:ge.w,y:ge.h},rn:Se,Lt:da(Me,ge)}),{en:Oe,nn:he,sn:_e,cn:Ne||_e,vn:je}}},qo=e=>{let[t,n,r]=Uo(e),i={ln:{t:0,r:0,b:0,l:0},dn:!1,rt:{[Gr]:0,[Kr]:0,[Wr]:0,[Br]:0,[Vr]:0,[Ur]:0,[Hr]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},K:{x:Qr,y:Qr},rn:{x:!1,y:!1},Lt:ua()},{vt:a,gt:o,nt:s,Ot:c}=t,{R:l,k:u}=mo(),d=!l&&(u.x||u.y),f=[Wo(t),Go(t,i),Ko(t,i)];return[n,e=>{let t={},n=d,r=n&&Q(o),i=r&&c();return G(f,n=>{Y(t,n(e,t)||{})}),la(o,r),i&&i(),!s&&la(a,0),t},i,t,r]},Jo=(e,t,n,r,i)=>{let a=!1,o=xa(t,{}),[s,c,l,u,d]=qo(e),[f,p,m]=zo(u,l,o,e=>{y({},e)}),[h,g,,_]=Ho(e,t,m,l,u,i),v=e=>li(e).some(t=>!!e[t]),y=(e,i)=>{if(n())return!1;let{pn:o,Dt:s,At:l,hn:u}=e,d=o||{},f=!!s||!a,h={It:xa(t,d,f),pn:d,Dt:f};if(u)return g(h),!1;let _=i||p(Y({},h,{At:l})),y=c(Y({},h,{_n:m,Zt:_}));g(Y({},h,{Zt:_,tn:y}));let b=v(_),x=v(y),S=b||x||!di(d)||f;return a=!0,S&&r(e,{Zt:_,tn:y}),S};return[()=>{let{an:e,gt:t,Ot:n}=u,r=Q(e),i=[f(),s(),h()],a=n();return la(t,r),a(),J(q,i)},y,()=>({gn:m,bn:l}),{wn:u,yn:_},d]},Yo=(e,t,n)=>{let{N:r}=mo(),i=Mr(e),a=i?e:e.target,o=So(a);if(t&&!o){let o=!1,s=[],c={},l=e=>{let t=ui(e,!0),n=ko(Ao);return n?n(t,!0):t},u=Y({},r(),l(t)),[d,f,p]=ga(),[m,h,g]=ga(n),_=(e,t)=>
263{g(e,t),p(e,t)},[v,y,b,x,S]=Jo(e,u,()=>o,({pn:e,Dt:t},{Zt:n,tn:r})=>{let{ft:i,Ct:a,xt:o,Ht:s,Et:c,dt:l}=n,{nn:u,sn:d,en:f,cn:p}=r;_(`updated`,[w,{updateHints:{sizeChanged:!!i,directionChanged:!!a,heightIntrinsicChanged:!!o,overflowEdgeChanged:!!u,overflowAmountChanged:!!d,overflowStyleChanged:!!f,scrollCoordinatesChanged:!!p,contentMutation:!!s,hostMutation:!!c,appear:!!l},changedOptions:e||{},force:!!t}])},e=>_(`scroll`,[w,e])),C=e=>{xo(a),q(s),o=!0,_(`destroyed`,[w,e]),f(),h()},w={options(e,t){if(e){let n=t?r():{},i=ba(u,Y(n,l(e)));di(i)||(Y(u,i),y({pn:i}))}return Y({},u)},on:m,off:(e,t)=>{e&&t&&h(e,t)},state(){let{gn:e,bn:t}=b(),{ct:n}=e,{Vt:r,Rt:i,K:a,rn:s,ln:c,dn:l,Lt:u}=t;return Y({},{overflowEdge:r,overflowAmount:i,overflowStyle:a,hasOverflow:s,scrollCoordinates:{start:u.D,end:u.M},padding:c,paddingAbsolute:l,directionRTL:n,destroyed:o})},elements(){let{vt:e,ht:t,ln:n,ot:r,bt:i,gt:a,Qt:o}=x.wn,{Xt:s,Gt:c}=x.yn,l=e=>{let{Pt:t,Ut:n,Tt:r}=e;return{scrollbar:r,track:n,handle:t}},u=e=>{let{Yt:t,Wt:n}=e,r=l(t[0]);return Y({},r,{clone:()=>{let e=l(n());return y({hn:!0}),e}})};return Y({},{target:e,host:t,padding:n||r,viewport:r,content:i||r,scrollOffsetElement:a,scrollEventElement:o,scrollbarHorizontal:u(s),scrollbarVertical:u(c)})},update:e=>y({Dt:e,At:!0}),destroy:J(C,!1),plugin:e=>c[li(e)[0]]};return K(s,[S]),bo(a,w),Oo(To,Yo,[w,d,c]),vo(x.wn.wt,!i&&e.cancel)?(C(!0),w):(K(s,v()),_(`initialized`,[w]),w.update(),w)}return o};Yo.plugin=e=>{let t=Or(e),n=t?e:[e],r=n.map(e=>Oo(e,Yo)[0]);return Do(n),t?r:r[0]},Yo.valid=e=>{let t=e&&e.elements,n=W(t)&&t();return jr(n)&&!!So(n.target)},Yo.env=()=>{let{T:e,k:t,R:n,V:r,B:i,F:a,U:o,P:s,N:c,q:l}=mo();return Y({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:i,staticDefaultOptions:a,getDefaultInitialization:o,setDefaultInitialization:s,getDefaultOptions:c,setDefaultOptions:l})},Yo.nonce=uo;var Xo=`/*! 
264 * OverlayScrollbars
265 * Version: 2.10.0
266 * 
267 * Copyright (c) Rene Haas | KingSora.
268 * https://github.com/KingSora
269 * 
270 * Released under the MIT license.
271 */
272.os-size-observer,.os-size-observer-listener{direction:inherit;pointer-events:none;visibility:hidden;box-sizing:border-box;overflow:hidden;scroll-behavior:auto!important}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;top:0;left:0}.os-size-observer{z-index:-1;contain:strict;padding:inherit;border:inherit;box-sizing:inherit;flex-flow:row;margin:-133px;display:flex;inset:0;transform:scale(.1)}.os-size-observer:before{content:"";box-sizing:inherit;flex:none;width:10px;height:10px;padding:10px}.os-size-observer-appear{animation:1ms forwards os-size-observer-appear-animation}.os-size-observer-listener{box-sizing:border-box;padding:inherit;border:inherit;flex:auto;margin:-133px;position:relative;transform:scale(10)}.os-size-observer-listener.ltr{margin-left:0;margin-right:-266px}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{padding:inherit;border:inherit;box-sizing:content-box;flex:auto;display:block;position:relative}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{direction:ltr;flex:none;bottom:0;right:0;overflow:hidden}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{box-sizing:border-box;z-index:-1;contain:strict;border:none;flex:none;max-width:0;height:0;max-height:1px;margin:0;padding:0;position:relative;top:calc(100% + 1px);overflow:hidden}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;min-width:1px;height:1000%;min-height:1px}[data-overlayscrollbars-initialize],[data-overlayscrollbars-viewport~=scrollbarHidden]{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar{appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner{appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar{appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner{appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}html[data-overlayscrollbars-body]{overflow:hidden}html[data-overlayscrollbars-body],html[data-overlayscrollbars-body]>body{width:100%;height:100%;margin:0}html[data-overlayscrollbars-body]>body{margin:0;overflow:visible}[data-overlayscrollbars]{position:relative}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;scroll-behavior:auto!important;flex-flow:row!important;align-items:stretch!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){box-sizing:inherit;z-index:0;border:none;width:100%;min-width:0;height:auto;margin:0;padding:0;position:relative;flex:auto!important}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){--os-vaw:0;--os-vah:0;outline:none}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus{outline:none}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah);position:absolute}[data-overlayscrollbars],[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{overflow:hidden!important}[data-overlayscrollbars~=noClipping],[data-overlayscrollbars-padding~=noClipping]{overflow:visible!important}[data-overlayscrollbars-viewport~=measuring]{scroll-behavior:auto!important;scroll-snap-type:none!important;overflow:hidden!important}
272[data-overlayscrollbars-viewport~=overflowXVisible]:not([data-overlayscrollbars-viewport~=measuring]){overflow-x:visible!important}[data-overlayscrollbars-viewport~=overflowXHidden]{overflow-x:hidden!important}[data-overlayscrollbars-viewport~=overflowXScroll]{overflow-x:scroll!important}[data-overlayscrollbars-viewport~=overflowYVisible]:not([data-overlayscrollbars-viewport~=measuring]){overflow-y:visible!important}[data-overlayscrollbars-viewport~=overflowYHidden]{overflow-y:hidden!important}[data-overlayscrollbars-viewport~=overflowYScroll]{overflow-y:scroll!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId){font-size:0!important;line-height:0!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):before,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):after,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)>*{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;display:none!important;position:absolute!important;overflow:hidden!important}[data-overlayscrollbars-viewport~=scrolling]{scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{grid-template:1fr/1fr;display:grid}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{width:auto!important;height:auto!important}@property --os-scroll-percent{syntax:"<number>";inherits:true;initial-value:0}@property --os-viewport-percent{syntax:"<number>";inherits:true;initial-value:0}.os-scrollbar{--os-viewport-percent:0;--os-scroll-percent:0;--os-scroll-direction:0;--os-scroll-percent-directional:calc(var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent))*-1)*var(--os-scroll-direction));contain:size layout;contain:size layout style;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;position:absolute}body>.os-scrollbar{z-index:99999;position:fixed}.os-scrollbar-transitionless{transition:none!important}.os-scrollbar-track{position:relative;border:none!important;padding:0!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{left:0;right:auto}.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important;transition:none!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0;left:calc(var(--os-scroll-percent-directional)*100%);transform:translateX(calc(var(--os-scroll-percent-directional)*-100%));width:calc(var(--os-viewport-percent)*100%)}.os-scrollbar-vertical .os-scrollbar-handle{right:0;top:calc(var(--os-scroll-percent-directional)*100%);transform:translateY(calc(var(--os-scroll-percent-directional)*-100%));height:calc(var(--os-viewport-percent)*100%)}@supports (container-type:size){.os-scrollbar-track{container-type:size}.os-scrollbar-horizontal .os-scrollbar-handle{transform:translateX(calc(var(--os-scroll-percent-directional)*100cqw + var(--os-scroll-percent-directional)*-100%));left:auto}.os-scrollbar-vertical .os-scrollbar-handle{transform:translateY(calc(var(--os-scroll-percent-directional)*100cqh + var(--os-scroll-percent-directional)*-100%));top:auto}.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle{left:0;right:auto}}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{left:0;right:auto}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}@media print{.os-scrollbar{display:none}}.os-scrollbar{--os-size:0;--os-padding-perpendicular:0;--os-padding-axis:0;--os-track-border-radius:0;--os-track-bg:none;--os-track-bg-hover:none;--os-track-bg-active:none;--os-track-border:none;--os-track-border-hover:none;--os-track-border-active:none;--os-handle-border-radius:0;--os-handle-bg:none;--os-handle-bg-hover:none;--os-handle-bg-active:none;--os-handle-border:none;--os-handle-border-hover:none;--os-handle-border-active:none;--os-handle-min-size:33px;--os-handle-max-size:none;--os-handle-perpendicular-size:100%;--os-handle-perpendicular-size-hover:100%;--os-handle-perpendicular-size-active:100%;--os-handle-interactive-area-offset:0}.os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-track:before,.os-scrollbar-handle:before{content:"";display:block;position:absolute;inset:0}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular)var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-track:before{top:calc(var(--os-padding-perpendicular)*-1);bottom:calc(var(--os-padding-perpendicular)*-1)}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1);bottom:calc(var(--os-padding-perpendicular)*-1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis)var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-track:before{left:calc(var(--os-padding-perpendicular)*-1);right:calc(var(--os-padding-perpendicular)*-1)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1);right:calc(var(--os-padding-perpendicular)*-1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset))*-1);left:calc(var(--os-padding-perpendicular)*-1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars-viewport~=measuring]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size:10px;--os-padding-perpendicular:2px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-handle-interactive-area-offset:4px;--os-handle-border-radius:10px}.os-theme-dark{--os-handle-bg:#00000070;--os-handle-bg-hover:#0000008c;--os-handle-bg-active:#000000a8}.os-theme-light{--os-handle-bg:#ffffff70;--os-handle-bg-hover:#ffffff8c;--os-handle-bg-active:#ffffffa8}`,Zo=class extends hn{constructor(){super(),this.open=!1,this.baseUrl=``,this.options={},this.handleKeydown=e=>{let{key:t}=e;t===`Escape`&&(this.close(),e.preventDefault())},setTimeout(()=>{let e=this.shadowRoot?.querySelector(`.modal__content`);e&&Yo(e,{scrollbars:{autoHide:`scroll`,autoHideDelay:600}})},0)}
272willUpdate(e){e.has(`open`)&&(this.open?document.body.style.overflow=`hidden`:document.body.style.removeProperty(`overflow`))}render(){return B`<div
273      class="modal__wrapper"
274      style="${sr({display:this.open?`flex`:`none`})}"
275    >
276      <div class="modal__layer" @click="${this.close}"></div>
277      <div
278        data-overlayscrollbars-initialize
279        class="modal__content shadow-xl bg-modal"
280      >
281        ${this.open?B`<search-form
282              .baseUrl=${this.baseUrl}
283              .options=${this.options}
284            ></search-form>`:``}
285      </div>
286    </div>`}close(){this.open=!1}connectedCallback(){super.connectedCallback(),window.addEventListener(`keydown`,this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(`keydown`,this.handleKeydown)}static#_=this.styles=[lt(M),lt(Xo),nr,ut`
287      :host {
288        // @deprecated --halo-search-widget-color-modal-layer and
289        // --halo-search-widget-base-border-radius will be removed in future
290        --base-rounded: var(
291          --halo-search-widget-base-rounded,
292          var(--halo-search-widget-base-border-radius, 0.4em)
293        );
294        --modal-layer-color: var(
295          --halo-search-widget-modal-layer-color,
296          var(--halo-search-widget-color-modal-layer, rgb(107 114 128 / 0.75))
297        );
298      }
299
300      .modal__wrapper {
301        position: fixed;
302        left: 0px;
303        top: 0px;
304        display: flex;
305        height: 100%;
306        width: 100%;
307        flex-direction: row;
308        align-items: flex-start;
309        justify-content: center;
310        padding-top: 3em;
311        padding-bottom: 3em;
312        z-index: 999;
313      }
314
315      .modal__layer {
316        background-color: var(--modal-layer-color, rgb(107 114 128 / 0.75));
317        position: absolute;
318        top: 0px;
319        left: 0px;
320        height: 100%;
321        width: 100%;
322        flex: none;
323        animation: fadeIn 0.15s both;
324      }
325
326      .modal__content {
327        border-radius: var(--base-rounded, 0.4em);
328        position: relative;
329        display: flex;
330        flex-direction: column;
331        align-items: stretch;
332        width: calc(100vw - 20px);
333        max-height: calc(100vh - 5em);
334        max-width: 580px;
335        overflow: auto;
336        animation: fadeInUp 0.3s both;
337      }
338
339      @keyframes fadeIn {
340        from {
341          opacity: 0;
342        }
343
344        to {
345          opacity: 1;
346        }
347      }
348
349      @keyframes fadeInUp {
350        from {
351          opacity: 0;
352          transform: translate3d(0, 10%, 0);
353        }
354
355        to {
356          opacity: 1;
357          transform: translate3d(0, 0, 0);
358        }
359      }
360
361      /* layer: preflights */
362*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);
362--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / 0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}
363/* layer: icons */
364.i-lucide-arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 5v14m7-7l-7 7l-7-7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
365.i-lucide-arrow-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 12l7-7l7 7m-7 7V5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
366.i-lucide-corner-down-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m9 10l-5 5l5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
367.i-lucide-file-text{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4M10 9H8m8 4H8m8 4H8'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
368.i-lucide-history{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5m4-1v5l4 2'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
369.i-lucide-loader-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
370.i-lucide-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21l-4.3-4.3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
371.i-mdi-keyboard-esc{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1 7h6v2H3v2h4v2H3v2h4v2H1zm10 0h4v2h-4v2h2a2 2 0 0 1 2 2v2c0 1.11-.89 2-2 2H9v-2h4v-2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2m8 0h2a2 2 0 0 1 2 2v1h-2V9h-2v6h2v-1h2v1c0 1.11-.89 2-2 2h-2a2 2 0 0 1-2-2V9c0-1.1.9-2 2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
372/* layer: shortcuts */
373.bg-modal{background-color:var(--halo-search-widget-modal-bg-color,var(--halo-search-widget-color-modal-content-bg,#f8fafc)) /* var(--halo-search-widget-modal-bg-color,var(--halo-search-widget-color-modal-content-bg,#f8fafc)) */;}
374/* layer: default */
375.absolute{position:absolute;}
376.fixed{position:fixed;}
377.relative{position:relative;}
378.static{position:static;}
379.hidden{display:none;}
380.flex{display:flex;}
381.transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
382.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / 0.1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);};
383    `]};rr([yn({type:Boolean})],Zo.prototype,`open`,void 0),rr([yn({type:String})],Zo.prototype,`baseUrl`,void 0),rr([yn({type:Object})],Zo.prototype,`options`,void 0),customElements.get(`search-modal`)||customElements.define(`search-modal`,Zo);let Qo=`en`,$o=[`es`,`zh-CN`,`zh-TW`],es=[`en`,`es`,`zh-CN`,`zh-TW`];var ts={};n(ts,{templates:()=>ns});let ns={s5e8250fb85d64c23:`Cerrar`,sa84142fc34654130:`Sin resultados de búsqueda`,sad5f82f8364e5a1c:`Introducir palabras clave para buscar`,sb4f1dffbb6be6302:`Borrar`,sb85774dc5d18ff0f:`Confirmar`,sbce70cbdb856635e:`Recientes`,sfc63e31ac7c956ed:`Seleccionar`};var rs={};n(rs,{templates:()=>os});let os={s5e8250fb85d64c23:`关闭`,sa84142fc34654130:`没有搜索结果`,sad5f82f8364e5a1c:`输入关键词以搜索`,sb4f1dffbb6be6302:`清空`,sb85774dc5d18ff0f:`确认`,sbce70cbdb856635e:`最近搜索`,sfc63e31ac7c956ed:`选择`};var ss={};n(ss,{templates:()=>cs});let cs={s5e8250fb85d64c23:`關閉`,sa84142fc34654130:`沒有搜尋結果`,sad5f82f8364e5a1c:`輸入關鍵字以搜尋`,sb4f1dffbb6be6302:`清空`,sb85774dc5d18ff0f:`確認`,sbce70cbdb856635e:`最近搜尋`,sfc63e31ac7c956ed:`選擇`},ls=new Map([[`es`,ts],[`zh-CN`,rs],[`zh-TW`,ss]]),{setLocale:us}=A({sourceLocale:Qo,targetLocales:$o,loadLocale:async e=>ls.get(e)});us(ps());function ds(){let e=document.cookie.match(/(^| )language=([^;]+)/),t=es.find(t=>t===e?.[2]);return t}function fs(){let e=es.find(e=>e===navigator.language);return e}function ps(){return ds()||fs()||Qo}let ms=document.createElement(`search-modal`);document.body.append(ms);function hs(e){ms.options=e,ms.open=!0}return exports.SearchModal=Zo,exports.open=hs,exports}({});

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.