diff --git a/dist/assets/index-BILrXVKr.js b/dist/assets/index-BILrXVKr.js deleted file mode 100644 index 944452f..0000000 --- a/dist/assets/index-BILrXVKr.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();const at=!1,ct=(e,t)=>e===t,me=Symbol("solid-proxy"),st=typeof Proxy=="function",lt=Symbol("solid-track"),ae={equals:ct};let Ve=We;const j=1,ce=2,qe={owned:null,cleanups:null,context:null,owner:null};var _=null;let ge=null,dt=null,x=null,k=null,B=null,ue=0;function ie(e,t){const n=x,r=_,i=e.length===0,o=t===void 0?r:t,a=i?qe:{owned:null,cleanups:null,context:o?o.context:null,owner:o},c=i?e:()=>e(()=>D(()=>X(a)));_=a,x=null;try{return te(c,!0)}finally{x=n,_=r}}function p(e,t){t=t?Object.assign({},ae,t):ae;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},r=i=>(typeof i=="function"&&(i=i(n.value)),Ke(n,i));return[Ge.bind(n),r]}function v(e,t,n){const r=Ce(e,t,!1,j);ee(r)}function S(e,t,n){Ve=mt;const r=Ce(e,t,!1,j);r.user=!0,B?B.push(r):ee(r)}function m(e,t,n){n=n?Object.assign({},ae,n):ae;const r=Ce(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,ee(r),Ge.bind(r)}function D(e){if(x===null)return e();const t=x;x=null;try{return e()}finally{x=t}}function Q(e){S(()=>D(e))}function G(e){return _===null||(_.cleanups===null?_.cleanups=[e]:_.cleanups.push(e)),e}function ut(e,t){const n=Symbol("context");return{id:n,Provider:vt(n),defaultValue:e}}function ft(e){let t;return _&&_.context&&(t=_.context[e.id])!==void 0?t:e.defaultValue}function ht(e){const t=m(e),n=m(()=>pe(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}function Ge(){if(this.sources&&this.state)if(this.state===j)ee(this);else{const e=k;k=null,te(()=>le(this),!1),k=e}if(x){const e=this.observers?this.observers.length:0;x.sources?(x.sources.push(this),x.sourceSlots.push(e)):(x.sources=[this],x.sourceSlots=[e]),this.observers?(this.observers.push(x),this.observerSlots.push(x.sources.length-1)):(this.observers=[x],this.observerSlots=[x.sources.length-1])}return this.value}function Ke(e,t,n){let r=e.value;return(!e.comparator||!e.comparator(r,t))&&(e.value=t,e.observers&&e.observers.length&&te(()=>{for(let i=0;i1e6)throw k=[],new Error},!1)),t}function ee(e){if(!e.fn)return;X(e);const t=ue;gt(e,e.value,t)}function gt(e,t,n){let r;const i=_,o=x;x=_=e;try{r=e.fn(t)}catch(a){return e.pure&&(e.state=j,e.owned&&e.owned.forEach(X),e.owned=null),e.updatedAt=n+1,Xe(a)}finally{x=o,_=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?Ke(e,r):e.value=r,e.updatedAt=n)}function Ce(e,t,n,r=j,i){const o={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:_,context:_?_.context:null,pure:n};return _===null||_!==qe&&(_.owned?_.owned.push(o):_.owned=[o]),o}function se(e){if(e.state===0)return;if(e.state===ce)return le(e);if(e.suspense&&D(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;n--)if(e=t[n],e.state===j)ee(e);else if(e.state===ce){const r=k;k=null,te(()=>le(e,t[0]),!1),k=r}}function te(e,t){if(k)return e();let n=!1;t||(k=[]),B?n=!0:B=[],ue++;try{const r=e();return bt(n),r}catch(r){n||(B=null),k=null,Xe(r)}}function bt(e){if(k&&(We(k),k=null),e)return;const t=B;B=null,t.length&&te(()=>Ve(t),!1)}function We(e){for(let t=0;t=0;t--)X(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)X(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function pt(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Xe(e,t=_){throw pt(e)}function pe(e){if(typeof e=="function"&&!e.length)return pe(e());if(Array.isArray(e)){const t=[];for(let n=0;ni=D(()=>(_.context={..._.context,[e]:r.value},ht(()=>r.children))),void 0),i}}const yt=Symbol("fallback");function Ee(e){for(let t=0;t1?[]:null;return G(()=>Ee(o)),()=>{let s=e()||[],l=s.length,f,d;return s[lt],D(()=>{let y,w,L,A,M,P,C,I,F;if(l===0)a!==0&&(Ee(o),o=[],r=[],i=[],a=0,c&&(c=[])),n.fallback&&(r=[yt],i[0]=ie(ot=>(o[0]=ot,n.fallback())),a=1);else if(a===0){for(i=new Array(l),d=0;d=P&&I>=P&&r[C]===s[I];C--,I--)L[I]=i[C],A[I]=o[C],c&&(M[I]=c[C]);for(y=new Map,w=new Array(I+1),d=I;d>=P;d--)F=s[d],f=y.get(F),w[d]=f===void 0?-1:f,y.set(F,d);for(f=P;f<=C;f++)F=r[f],d=y.get(F),d!==void 0&&d!==-1?(L[d]=i[f],A[d]=o[f],c&&(M[d]=c[f]),d=w[d],y.set(F,d)):o[f]();for(d=P;de(t||{}))}function ne(){return!0}const Le={get(e,t,n){return t===me?n:e.get(t)},has(e,t){return t===me?!0:e.has(t)},set:ne,deleteProperty:ne,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:ne,deleteProperty:ne}},ownKeys(e){return e.keys()}};function $t(e,...t){const n=t.length;if(st&&me in e){const i=n>1?t.flat():t[0],o=t.map(a=>new Proxy({get(c){return a.includes(c)?e[c]:void 0},has(c){return a.includes(c)&&c in e},keys(){return a.filter(c=>c in e)}},Le));return o.push(new Proxy({get(a){return i.includes(a)?void 0:e[a]},has(a){return i.includes(a)?!1:a in e},keys(){return Object.keys(e).filter(a=>!i.includes(a))}},Le)),o}const r=[];for(let i=0;i<=n;i++)r[i]={};for(const i of Object.getOwnPropertyNames(e)){let o=n;for(let s=0;s`Stale read from <${e}>.`;function T(e){const t="fallback"in e&&{fallback:()=>e.fallback};return m(_t(()=>e.each,e.children,t||void 0))}function N(e){const t=e.keyed,n=m(()=>e.when,void 0,void 0),r=t?n:m(n,void 0,{equals:(i,o)=>!i==!o});return m(()=>{const i=r();if(i){const o=e.children;return typeof o=="function"&&o.length>0?D(()=>o(t?i:()=>{if(!D(r))throw xt("Show");return n()})):o}return e.fallback},void 0,void 0)}const wt=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],St=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...wt]),Ct=new Set(["innerHTML","textContent","innerText","children"]),kt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),Et=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function Lt(e,t){const n=Et[e];return typeof n=="object"?n[t]?n.$:void 0:n}const Mt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Pt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),At={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Nt=e=>m(()=>e());function Tt(e,t,n){let r=n.length,i=t.length,o=r,a=0,c=0,s=t[i-1].nextSibling,l=null;for(;af-c){const w=t[a];for(;c{i=o,t===document?e():u(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=""}}function h(e,t,n,r){let i;const o=()=>{const c=r?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return c.innerHTML=e,n?c.content.firstChild.firstChild:r?c.firstChild:c.content.firstChild},a=t?()=>D(()=>document.importNode(i||(i=o()),!0)):()=>(i||(i=o())).cloneNode(!0);return a.cloneNode=a,a}function E(e,t=window.document){const n=t[Me]||(t[Me]=new Set);for(let r=0,i=e.length;ri.call(e,n[1],o))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Rt(e,t,n={}){const r=Object.keys(t||{}),i=Object.keys(n);let o,a;for(o=0,a=i.length;oi.children=Y(e,t.children,i.children)),v(()=>typeof t.ref=="function"&&he(t.ref,e)),v(()=>Ut(e,t,n,!0,i,!0)),i}function he(e,t,n){return D(()=>e(t,n))}function u(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return Y(e,t,r,n);v(i=>Y(e,t(),i,n),r)}function Ut(e,t,n,r,i={},o=!1){t||(t={});for(const a in i)if(!(a in t)){if(a==="children")continue;i[a]=Ae(e,a,null,i[a],n,o,t)}for(const a in t){if(a==="children")continue;const c=t[a];i[a]=Ae(e,a,c,i[a],n,o,t)}}function Ft(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function Pe(e,t,n){const r=t.trim().split(/\s+/);for(let i=0,o=r.length;i-1&&At[t.split(":")[0]];b?Ot(e,b,t,n):O(e,kt[t]||t,n)}return n}function jt(e){let t=e.target;const n=`$$${e.type}`,r=e.target,i=e.currentTarget,o=s=>Object.defineProperty(e,"target",{configurable:!0,value:s}),a=()=>{const s=t[n];if(s&&!t.disabled){const l=t[`${n}Data`];if(l!==void 0?s.call(t,l,e):s.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&o(t.host),!0},c=()=>{for(;a()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),e.composedPath){const s=e.composedPath();o(s[0]);for(let l=0;l{let c=t();for(;typeof c=="function";)c=c();n=Y(e,c,n,r)}),()=>n;if(Array.isArray(t)){const c=[],s=n&&Array.isArray(n);if(ve(c,t,n,i))return v(()=>n=Y(e,c,n,r,!0)),()=>n;if(c.length===0){if(n=H(e,n,r),a)return n}else s?n.length===0?Ne(e,c,r):Tt(e,n,c):(n&&H(e),Ne(e,c));n=c}else if(t.nodeType){if(Array.isArray(n)){if(a)return n=H(e,n,r,t);H(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function ve(e,t,n,r){let i=!1;for(let o=0,a=t.length;o=0;a--){const c=t[a];if(i!==c){const s=c.parentNode===e;!o&&!a?s?e.replaceChild(i,c):e.insertBefore(i,n):s&&c.remove()}else o=!0}}else e.insertBefore(i,n);return[i]}const zt="http://www.w3.org/2000/svg";function Ht(e,t=!1,n=void 0){return t?document.createElementNS(zt,e):document.createElement(e,{is:n})}function Vt(e,t){const n=m(e);return m(()=>{const r=n();switch(typeof r){case"function":return D(()=>r(t));case"string":const i=Pt.has(r),o=Ht(r,i,D(()=>t.is));return Bt(o,t,i),o}})}function qt(e){const[,t]=$t(e,["component"]);return Vt(()=>e.component,t)}const Gt="modulepreload",Kt=function(e){return"/"+e},Te={},Wt=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let s=function(l){return Promise.all(l.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");i=s(n.map(l=>{if(l=Kt(l),l in Te)return;Te[l]=!0;const f=l.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const b=document.createElement("link");if(b.rel=f?"stylesheet":Gt,f||(b.as="script"),b.crossOrigin="",b.href=l,c&&b.setAttribute("nonce",c),document.head.appendChild(b),f)return new Promise((y,w)=>{b.addEventListener("load",y),b.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return i.then(a=>{for(const c of a||[])c.status==="rejected"&&o(c.reason);return t().catch(o)})};var Ye="s:id",Je="s\\:id",de=new Set,K=new Map;{let e=document.head.querySelectorAll(`style[${Je}]`);for(let t=0,n=e.length;t1)K.set(e,n-1);else{K.set(e,0);let r=document.head.querySelector(`style[${Je}="${e}"]`);r&&document.head.removeChild(r),de.delete(e)}}var Yt=Zt,Jt=Xt,Qt=ut();function en(e,t,n){var r;let i=(r=ft(Qt))!=null?r:{insert:Yt,remove:Jt},o=`${e}-${t}`;i.insert(o,n),G(()=>{i.remove(o)})}var $=en;function Ie(e,t){const n=self.crypto.randomUUID();return e.postMessage({...t,id:n}),new Promise(r=>{const i=o=>{o.data.id===n&&(r(o.data.payload),e.removeEventListener("message",i))};e.addEventListener("message",i)})}const Qe=["Cased_Letter","Close_Punctuation","Connector_Punctuation","Control","Currency_Symbol","Dash_Punctuation","Decimal_Number","Enclosing_Mark","Final_Punctuation","Format","Initial_Punctuation","Letter","Letter_Number","Line_Separator","Lowercase_Letter","Mark","Math_Symbol","Modifier_Letter","Modifier_Symbol","Nonspacing_Mark","Number","Open_Punctuation","Other","Other_Letter","Other_Number","Other_Punctuation","Other_Symbol","Paragraph_Separator","Private_Use","Punctuation","Separator","Space_Separator","Spacing_Mark","Surrogate","Symbol","Titlecase_Letter","Unassigned","Uppercase_Letter"],tn=["Adlam","Ahom","Anatolian_Hieroglyphs","Arabic","Armenian","Avestan","Balinese","Bamum","Bassa_Vah","Batak","Bengali","Bhaiksuki","Bopomofo","Brahmi","Braille","Buginese","Buhid","Canadian_Aboriginal","Carian","Caucasian_Albanian","Chakma","Cham","Chorasmian","Cherokee","Common","Coptic","Cuneiform","Cypriot","Cyrillic","Deseret","Devanagari","Dives_Akuru","Dogra","Duployan","Egyptian_Hieroglyphs","Elbasan","Elymaic","Ethiopic","Georgian","Glagolitic","Gothic","Grantha","Greek","Gujarati","Gunjala_Gondi","Gurmukhi","Han","Hangul","Hanifi_Rohingya","Hanunoo","Hatran","Hebrew","Hiragana","Imperial_Aramaic","Inherited","Inscriptional_Pahlavi","Inscriptional_Parthian","Javanese","Kaithi","Kannada","Katakana","Kayah_Li","Kharoshthi","Khitan_Small_Script","Khmer","Khojki","Khudawadi","Lao","Latin","Lepcha","Limbu","Linear_A","Linear_B","Lisu","Lycian","Lydian","Mahajani","Makasar","Malayalam","Mandaic","Manichaean","Marchen","Medefaidrin","Masaram_Gondi","Meetei_Mayek","Mende_Kikakui","Meroitic_Cursive","Meroitic_Hieroglyphs","Miao","Modi","Mongolian","Mro","Multani","Myanmar","Nabataean","Nandinagari","New_Tai_Lue","Newa","Nko","Nushu","Nyiakeng_Puachue_Hmong","Ogham","Ol_Chiki","Old_Hungarian","Old_Italic","Old_North_Arabian","Old_Permic","Old_Persian","Old_Sogdian","Old_South_Arabian","Old_Turkic","Oriya","Osage","Osmanya","Pahawh_Hmong","Palmyrene","Pau_Cin_Hau","Phags_Pa","Phoenician","Psalter_Pahlavi","Rejang","Runic","Samaritan","Saurashtra","Sharada","Shavian","Siddham","SignWriting","Sinhala","Sogdian","Sora_Sompeng","Soyombo","Sundanese","Syloti_Nagri","Syriac","Tagalog","Tagbanwa","Tai_Le","Tai_Tham","Tai_Viet","Takri","Tamil","Tangut","Telugu","Thaana","Thai","Tibetan","Tifinagh","Tirhuta","Ugaritic","Vai","Wancho","Warang_Citi","Yezidi","Yi","Zanabazar_Square"],et=["ASCII","ASCII_Hex_Digit","Alphabetic","Any","Assigned","Bidi_Control","Bidi_Mirrored","Case_Ignorable","Cased","Changes_When_Casefolded","Changes_When_Casemapped","Changes_When_Lowercased","Changes_When_NFKC_Casefolded","Changes_When_Titlecased","Changes_When_Uppercased","Dash","Default_Ignorable_Code_Point","Deprecated","Diacritic","Emoji","Emoji_Component","Emoji_Modifier","Emoji_Modifier_Base","Emoji_Presentation","Extended_Pictographic","Extender","Grapheme_Base","Grapheme_Extend","Hex_Digit","IDS_Binary_Operator","IDS_Trinary_Operator","ID_Continue","ID_Start","Ideographic","Join_Control","Logical_Order_Exception","Lowercase","Math","Noncharacter_Code_Point","Pattern_Syntax","Pattern_White_Space","Quotation_Mark","Radical","Regional_Indicator","Sentence_Terminal","Soft_Dotted","Terminal_Punctuation","Unified_Ideograph","Uppercase","Variation_Selector","White_Space","XID_Continue","XID_Start"],ye=tn.filter(e=>{const t=String.raw`^\p{Script=${e}}$`;try{new RegExp(t,"u")}catch{return!1}return!0}),Oe=[...Qe,...et,"Script"].sort(),nn=[...Qe,...et,...ye.map(e=>`Script=${e}`)].map(e=>{const t=String.raw`^\p{${e}}$`,n=new RegExp(t,"u");return[e,n]});function rn(e){if([...e].length>1)throw new Error("Cannot match on string with length over 1");return nn.filter(([,t])=>t.test(e)).map(([t])=>t)}const oe=2**16,_e=new Map([[0,"Basic Multilingual Plane"],[1,"Supplementary Multilingual Plane"],[2,"Supplementary Ideographic Plane"],[3,"Tertiary Ideographic Plane"],[14,"Supplementary Special-purpose Plane"],[15,"Supplementary Private Use Area Plane"],[16,"Supplementary Private Use Area Plane"]]);function on(e){const t=Math.floor(e/oe);return _e.has(t)?{number:t,name:_e.get(t)}:{number:t}}function eo(e){return e.split(` -`).map(t=>{const[n,r]=t.split(",");return{range:n.split("..").map(o=>parseInt(o.slice(2),16)),name:r}})}function an(e,t){for(const n of e){const{range:r,name:i}=n;if(!(t>r[1]))return{range:[...r],name:i}}throw new Error("codepoint does not match any block")}function cn(e){const t=e.match(/<([a-zA-Z]+)> ([A-Z0-9 ]+)/);if(!t)return null;const{1:n,2:r}=t,i=r.split(" ").map(o=>parseInt(o.trim(),16));return{type:n,codepoints:i}}const sn={Lu:"Uppercase_Letter",Ll:"Lowercase_Letter",Lt:"Titlecase_Letter",LC:"Cased_Letter",Lm:"Modifier_Letter",Lo:"Other_Letter",Mn:"Nonspacing_Mark",Mc:"Spacing_Mark",Me:"Enclosing_Mark",Nd:"Decimal_Number",Nl:"Letter_Number",No:"Other_Number",Pc:"Connector_Punctuation",Pd:"Dash_Punctuation",Ps:"Open_Punctuation",Pe:"Close_Punctuation",Pi:"Initial_Punctuation",Pf:"Final_Punctuation",Po:"Other_Punctuation",Sm:"Math_Symbol",Sc:"Currency_Symbol",Sk:"Modifier_Symbol",So:"Other_Symbol",Zs:"Space_Separator",Zl:"Line_Separator",Zp:"Paragraph_Separator",Cc:"Control",Cf:"Format",Cs:"Surrogate",Co:"Private_Use",Cn:"Unassigned"},tt=new Map([["L","Left-to-Right"],["R","Right-to-Left"],["AL","Arabic Letter"],["EN","European Number"],["ES","European Separator"],["ET","European Number Terminator"],["AN","Arabic Number"],["CS","Common Number Separator"],["NSM","Nonspacing Mark"],["BN","Boundary Neutral"],["B","Paragraph Separator"],["S","Segment Separator"],["WS","Whitespace"],["ON","Other Neutrals"],["LRE","Left-to-Right Embedding"],["LRO","Left-to-Right Override"],["RLE","Right-to-Left Embedding"],["RLO","Right-to-Left Override"],["PDF","Pop Directional Format"],["LRI","Left-to-Right Isolate"],["RLI","Right-to-Left Isolate"],["FSI","First Strong Isolate"],["PDI","Pop Directional Isolate"]]),$e=()=>({name:"Codepoint Range",data:{from:0,to:65535},matchType:"Require"}),ln=e=>{const t=ke();return e.filter(r=>r.data).map(r=>{const i=r.matchType==="Exclude",{name:o,data:a}=r;if(o==="Codepoint Range")return{type:"range",negated:i,value:[a.from,a.to]};if(o==="Name Includes")return{type:"name",negated:i,value:a.toUpperCase()};if(o==="Regex Match")return a.matchOn==="Character"?{type:"character",negated:i,value:a.regex.toString()}:{type:"name",negated:i,value:a.regex.toString()};if(o==="Bidi Class")return{type:"bidi",negated:i,value:a};if(o==="Unicode Property")return{type:"character",negated:i,value:`/\\p{${a}}/`};if(o==="Unicode Block"){if(!t)return;const c=t.find(s=>s.name===a)?.range;return c?{type:"range",negated:i,value:c}:void 0}if(o==="Unicode Plane")return{type:"range",negated:i,value:[oe*a,oe*a+oe]}}).filter(Boolean)},[xe,re]=p([$e()]),[dn,to]=p(null),[un,no]=p(!1),[we,De]=p(!1),[W,fn]=p("simple"),[Se,hn]=p(""),gn=m(()=>ln(xe())),[R,Re]=p([]);S(()=>{const e=Se(),t=gn(),n=un(),r=dn(),i=W();!n||!r||(i==="simple"?Ie(r,{name:"simple-query",payload:e}).then(o=>{we()||De(!0),Re(o)}):Ie(r,{name:"advanced-query",payload:t}).then(o=>{we()||De(!0),Re(o)}))});p([]);const[J,Z]=p(-1);S(()=>{R(),Z(-1)});const V=m(()=>{const e=J();return R()?.[e]?.[1]}),[ke,ro]=p([]),[be,bn]=p("hex"),[mn,io]=p(new Map);var pn=h('');const vn="unicode-b6c5416e-0",yn="svg[s\\:unicode-b6c5416e-0]{position:absolute;top:0;right:0}";function _n(e){return $(vn,1,yn),(()=>{var t=pn(),n=t.firstChild;return v(r=>{var i=e.size??60,o=e.size??60,a=e.href;return i!==r.e&&O(t,"width",r.e=i),o!==r.t&&O(t,"height",r.t=o),a!==r.a&&O(n,"href",r.a=a),r},{e:void 0,t:void 0,a:void 0}),t})()}function $n(e){return`U+${e.toString(16).toLowerCase().padStart(4,"0")}`}function xn(e){const t=String.fromCodePoint(e),n=e>65535?new Uint16Array(2).map((i,o)=>t.charCodeAt(o)):Uint16Array.from([e]),r=n.map(i=>(i&255)<<8|i>>8&255);return{utf8:new TextEncoder().encode(t),utf16BE:n,utf16LE:r}}var wn=h("
");const Sn="unicode-6be4b367-0",Cn='.row[s\\:unicode-6be4b367-0]{background-color:var(--bg-offset);border:1px solid transparent;width:100%;position:relative}.row[s\\:unicode-6be4b367-0]:after{content:attr(data-codepoint);opacity:.5;padding:.5rem;font-size:.8rem;display:block;position:absolute;bottom:0;right:0}.row[s\\:unicode-6be4b367-0].active{border:1px solid #00f}.content[s\\:unicode-6be4b367-0]{grid-template-columns:auto 1fr;gap:1rem;width:100%;padding:.5rem;display:grid}.symbol[s\\:unicode-6be4b367-0]{text-align:center;width:2rem}.symbol[s\\:unicode-6be4b367-0]:before,.symbol[s\\:unicode-6be4b367-0]:after{content:"\\""}.name[s\\:unicode-6be4b367-0]{text-align:left;opacity:.75}';function kn(e){let t;return S(()=>{J()===e.index&&t?.focus()}),$(Sn,1,Cn),(()=>{var n=wn(),r=n.firstChild,i=r.firstChild,o=i.firstChild,a=i.nextSibling,c=a.firstChild;n.$$contextmenu=l=>{l.preventDefault(),navigator.clipboard.writeText(String.fromCodePoint(e.codepoint)),t?.animate([{transform:"scale(1)"},{transform:"scale(0.95)"},{transform:"scale(1.02)"},{transform:"scale(1)"}],{duration:400,iterations:1,easing:"ease-out"})},n.$$click=()=>{Z(e.index)};var s=t;return typeof s=="function"?he(s,n):t=n,u(o,()=>String.fromCodePoint(e.codepoint)),u(c,()=>e.info.label.toLowerCase()),v(l=>{var f=`row ${J()===e.index?"active":""}`,d=$n(e.codepoint);return f!==l.e&&U(n,l.e=f),d!==l.t&&O(n,"data-codepoint",l.t=d),l},{e:void 0,t:void 0}),n})()}E(["click","contextmenu"]);var En=h("

result"),Ln=h("

");const Mn="unicode-1d33c8bb-0",Pn=".table[s\\:unicode-1d33c8bb-0]{text-align:left}p[s\\:unicode-1d33c8bb-0]{text-align:left;opacity:.7;margin:0;font-size:.8rem}.intersection-observer[s\\:unicode-1d33c8bb-0]{height:5rem}";function An(){const[e,t]=p(50);let n;S(()=>{R(),t(50)}),S(()=>{if(!n)return;const a=new IntersectionObserver(c=>{c[0]?.isIntersecting&&R().length>e()&&t(l=>l+50)},{rootMargin:"0px",threshold:.8});a.observe(n),G(()=>a.disconnect())});const r=m(()=>R().slice(0,e()));function i(a){const c=a.target.querySelector("img")?.dataset.index;c&&Z(Number(c))}function o(a){a.key==="ArrowDown"&&J()c+1):a.key==="ArrowUp"&&J()>=0&&Z(c=>c-1)}return $(Mn,1,Pn),[(()=>{var a=En(),c=a.firstChild;return u(a,()=>R().length,c),u(a,()=>R().length>1?"s":"",null),a})(),(()=>{var a=Ln(),c=a.firstChild;a.$$keydown=o,a.$$focusin=i,u(a,g(T,{get each(){return r()},children:([l,f],d)=>g(kn,{get index(){return d()},codepoint:l,info:f})}),c);var s=n;return typeof s=="function"?he(s,c):n=c,a})()]}E(["focusin","keydown"]);function Nn(e,t){let n;return function(...i){clearTimeout(n),n=setTimeout(e,t,...i)}}var Tn=h("
"),In=h(""),On=h("
");const Dn="unicode-dccdd2a2-0",Rn="input[s\\:unicode-dccdd2a2-0]{border:1px solid transparent;width:90%;margin:0 auto;box-shadow:-3px 4px 2px rgba(0,0,0,.06)}:root[data-theme=dark] input[s\\:unicode-dccdd2a2-0]{color:#fff;background-color:#151515;border:1px solid #6b6b6b;box-shadow:1px 1px 1px 2px rgba(0,0,0,.43)}input[s\\:unicode-dccdd2a2-0]::-webkit-input-placeholder{opacity:.5}input[s\\:unicode-dccdd2a2-0]:focus{outline:1px solid #a5b5ff;box-shadow:-3px 4px 2px rgba(137,74,255,.06)}";function Bn(e){const[t,n]=p("");let r;const i=Nn(()=>e.onSearch?.(),100);function o(s){const l=s.match(/\/(.+?)\/([a-z]+)?/);if(!l)return!1;const[,f,d]=l;try{return new RegExp(f,d),!1}catch{return!0}}function a(){if(o(Se())){n("Regex Error. Please verify search text.");return}n(""),i()}function c(s){if(document.activeElement!==r&&!(s.key.length>1||new RegExp("\\p{C}","u").test(s.key))&&!(s.ctrlKey||s.altKey||s.metaKey)){if(s.key===" "){s.preventDefault();return}r?.focus()}}return Q(()=>{window.addEventListener("keydown",c),G(()=>window.removeEventListener("keydown",c))}),$(Dn,1,Rn),(()=>{var s=On(),l=s.firstChild;s.addEventListener("submit",d=>{d.preventDefault(),a()}),l.$$input=d=>{hn(d.currentTarget.value),a()};var f=r;return typeof f=="function"?he(f,l):r=l,u(s,g(N,{get when(){return t()},get children(){return[Tn(),(()=>{var d=In();return u(d,t),d})()]}}),null),v(()=>l.value=Se()),s})()}E(["input"]);var Un=h('');function Fn(e){const t=()=>e.active?"var(--hsl-bg)":"var(--hsl)";return(()=>{var n=Un(),r=n.firstChild;return v(i=>{var o=t(),a=t();return o!==i.e&&O(r,"fill",i.e=o),a!==i.t&&O(r,"stroke",i.t=a),i},{e:void 0,t:void 0}),n})()}var jn=h('');const zn="unicode-c72a352f-0",Hn=":root[data-theme=dark] svg[s\\:unicode-c72a352f-0].theme-sun{fill:#fff}:root[data-theme=light] svg[s\\:unicode-c72a352f-0].theme-sun{fill:#000}";function Vn(){return $(zn,1,Hn),jn()}var qn=h("

Simple Search"),Xn=h("

Unicode Lookup


');const Vr="unicode-4cb7e0c1-0",qr=".content[s\\:unicode-4cb7e0c1-0]{justify-content:center;margin-top:-1px;padding:40px;display:grid;position:relative}button[s\\:unicode-4cb7e0c1-0]{z-index:2;cursor:pointer;background:0 0;border:none;margin:0;padding:3px;font-size:2em;line-height:.8em;position:absolute;top:5px;right:10px}hr[s\\:unicode-4cb7e0c1-0]{opacity:.4;margin:10px -40px}";function Gr(e){const[t,n]=p(e.name),r=m(()=>[...He.keys()]),i=m(()=>He.get(t()));return S(()=>{e.onNameChange?.(t()),e.onDataChange?.(void 0)}),$(Vr,1,qr),(()=>{var o=Hr(),a=o.firstChild,c=a.nextSibling;return fe(a,"click",e.onClose,!0),u(a,g(gr,{})),u(o,g(fr,{get options(){return r()},get value(){return t()},onChange:s=>n(String(s)),hue:35}),c),u(o,g(qt,{get component(){return i()},get data(){return e.data},get onDataChange(){return e.onDataChange}}),null),v(s=>z(o,`--hue: ${e.hue??200}`,s)),o})()}E(["click"]);var Kr=h("