vendor: 22,124 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-CU67Zn6k.js","assets/html-GMplVEZG.js","assets/javascript-wDzz0qaB.js","assets/css-DPfMkruS.js","assets/angular-ts-BwZT4LLn.js","assets/scss-OYdSNvt2.js","assets/apl-dKokRX4l.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-CbQHKStN.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-DVc8C-J4.js","assets/html-derivative-BFtXZ54Q.js","assets/sql-BLtJtn59.js","assets/bsl-BO_Y6i37.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/cobol-nwyudZeR.js","assets/coffee-Ch7k5sss.js","assets/cpp-CofmeUqb.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/c-BIGW1oBm.js","assets/crystal-tKQVLTB8.js","assets/shellscript-Yzrsuije.js","assets/edge-BkV0erSs.js","assets/elixir-CDX3lj18.js","assets/elm-DbKCFpqz.js","assets/erb-BOJIQeun.js","assets/ruby-BvKwtOVI.js","assets/haml-B8DHNrY2.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BbnMAYS6.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-BZjJHVRy.js","assets/fortran-free-form-D22FLkUw.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-B7Tvp0Sc.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DTMYz4Jt.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Rg0-pVw9.js","assets/glimmer-ts-U6CK756n.js","assets/hack-CaT9iCJl.js","assets/handlebars-BL8al0AC.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-Bvhsp5Yf.js","assets/haxe-CzTSHFRz.js","assets/jinja-4LBKfQ-Z.js","assets/jison-wvAkD_A8.js","assets/julia-C8NyazO9.js","assets/r-DiinP2Uv.js","assets/latex-BUKiar2Z.js","assets/tex-Cppo0RY3.js","assets/liquid-DYVedYrR.js","assets/marko-CPi9NSCl.js","assets/less-B1dDrJ26.js","assets/mdc-DUICxH0z.js","assets/nginx-DknmC5AR.js","assets/nim-CVrawwO9.js","assets/perl-C0TMdlhV.js","assets/php-CDn_0X-4.js","assets/pug-CGlum2m_.js","assets/qml-3beO22l8.js","assets/razor-WgofotgN.js","assets/csharp-CX12Zw3r.js","assets/rst-B0xPkSld.js","assets/cmake-D1j8_8rp.js","assets/sas-cz2c8ADy.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-Brmx7dQM.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-BH5u7GGu.js","assets/svelte-3Dk4HxPD.js","assets/templ-W15q3VgB.js","assets/go-Dn2_MT6a.js","assets/ts-tags-zn1MmPIZ.js","assets/twig-CO9l9SDP.js","assets/vue-CCoi5OLL.js","assets/vue-html-DAAvJJDi.js","assets/vue-vine-_Ih-lPRR.js","assets/stylus-BEDo0Tqx.js","assets/xsl-CtQFsRM5.js","assets/InterpretarSuenos-DFAg7wrA.js","assets/credit-card-_-f-GdwI.js","assets/CartaAstral-CVTt8a4e.js"])))=>i.map(i=>d[i]); 2function OM(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Lm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ix={exports:{}},Ju={};/** 3 * @license React 4 * react-jsx-runtime.production.js 5 * 6 * Copyright (c) Meta Platforms, Inc. and affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var T8;function DM(){if(T8)return Ju;T8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var o=null;if(s!==void 0&&(o=""+s),a.key!==void 0&&(o=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:s}}return Ju.Fragment=t,Ju.jsx=n,Ju.jsxs=n,Ju}var A8;function IM(){return A8||(A8=1,ix.exports=DM()),ix.exports}var h=IM(),cl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},MM={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},PM=class{#t=MM;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},Yo=new PM;function LM(e){setTimeout(e,0)}var Xo=typeof window>"u"||"Deno"in globalThis;function cr(){}function jM(e,t){return typeof e=="function"?e(t):e}function Ob(e){return typeof e=="number"&&e>=0&&e!==1/0}function Y_(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Zi(e,t){return typeof e=="function"?e(t):e}function va(e,t){return typeof e=="function"?e(t):e}function S8(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:s,queryKey:o,stale:c}=e;if(o){if(r){if(t.queryHash!==lv(o,t.options))return!1}else if(!Ld(t.queryKey,o))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||s&&!s(t))}function C8(e,t){const{exact:n,status:r,predicate:a,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(to(t.options.mutationKey)!==to(s))return!1}else if(!Ld(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function lv(e,t){return(t?.queryKeyHashFn||to)(e)}function to(e){return JSON.stringify(e,(t,n)=>Db(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function Ld(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ld(e[n],t[n])):!1}var BM=Object.prototype.hasOwnProperty;function cv(e,t){if(e===t)return e;const n=k8(e)&&k8(t);if(!n&&!(Db(e)&&Db(t)))return t;const a=(n?e:Object.keys(e)).length,s=n?t:Object.keys(t),o=s.length,c=n?new Array(o):{};let u=0;for(let f=0;f<o;f++){const p=n?f:s[f],m=e[p],x=t[p];if(m===x){c[p]=m,(n?f<a:BM.call(e,p))&&u++;continue}if(m===null||x===null||typeof m!="object"||typeof x!="object"){c[p]=x;continue}const v=cv(m,x);c[p]=v,v===m&&u++}return a===o&&u===a?e:c}function jd(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function k8(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Db(e){if(!N8(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!N8(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function N8(e){return Object.prototype.toString.call(e)==="[object Object]"}function zM(e){return new Promise(t=>{Yo.setTimeout(t,e)})}function Ib(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?cv(e,t):t}function HM(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function UM(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ea=Symbol();function Q_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===ea?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function W_(e,t){return typeof e=="function"?e(...t):!!e}var FM=class extends cl{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!Xo&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},uv=new FM;function Mb(){let e,t;const n=new Promise((a,s)=>{e=a,t=s});n.status="pending",n.catch(()=>{});function r(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{r({status:"fulfilled",value:a}),e(a)},n.reject=a=>{r({status:"rejected",reason:a}),t(a)},n}var qM=LM;function $M(){let e=[],t=0,n=c=>{c()},r=c=>{c()},a=qM;const s=c=>{t?e.push(c):a(()=>{n(c)})},o=()=>{const c=e;e=[],c.length&&a(()=>{r(()=>{c.forEach(u=>{n(u)})})})};return{batch:c=>{let u;t++;try{u=c()}finally{t--,t||o()}return u},batchCalls:c=>(...u)=>{s(()=>{c(...u)})},schedule:s,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{a=c}}}var hn=$M(),VM=class extends cl{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!Xo&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},zh=new VM;function GM(e){return Math.min(1e3*2**e,3e4)}function K_(e){return(e??"online")==="online"?zh.isOnline():!0}var Pb=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function X_(e){let t=!1,n=0,r;const a=Mb(),s=()=>a.status!=="pending",o=_=>{if(!s()){const k=new Pb(_);x(k),e.onCancel?.(k)}},c=()=>{t=!0},u=()=>{t=!1},f=()=>uv.isFocused()&&(e.networkMode==="always"||zh.isOnline())&&e.canRun(),p=()=>K_(e.networkMode)&&e.canRun(),m=_=>{s()||(r?.(),a.resolve(_))},x=_=>{s()||(r?.(),a.reject(_))},v=()=>new Promise(_=>{r=k=>{(s()||f())&&_(k)},e.onPause?.()}).then(()=>{r=void 0,s()||e.onContinue?.()}),E=()=>{if(s())return;let _;const k=n===0?e.initialPromise:void 0;try{_=k??e.fn()}catch(S){_=Promise.reject(S)}Promise.resolve(_).then(m).catch(S=>{if(s())return;const O=e.retry??(Xo?0:3),R=e.retryDelay??GM,q=typeof R=="function"?R(n,S):R,H=O===!0||typeof O=="number"&&n<O||typeof O=="function"&&O(n,S);if(t||!H){x(S);return}n++,e.onFail?.(n,S),zM(q).then(()=>f()?void 0:v()).then(()=>{t?x(S):E()})})};return{promise:a,status:()=>a.status,cancel:o,continue:()=>(r?.(),a),cancelRetry:c,continueRetry:u,canStart:p,start:()=>(p()?E():v().then(E),a)}}var Z_=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ob(this.gcTime)&&(this.#t=Yo.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xo?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Yo.clearTimeout(this.#t),this.#t=void 0)}},YM=class extends Z_{#t;#e;#n;#a;#r;#s;#o;constructor(e){super(),this.#o=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=R8(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#s,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=R8(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=Ib(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(cr).catch(cr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>va(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ea||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Zi(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Y_(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#o?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(u=>u.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,r=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},a=()=>{const c=Q_(this.options,t),f=(()=>{const p={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(p),p})();return this.#o=!1,this.options.persister?this.options.persister(c,f,this):c(f)},o=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(c),c})();this.options.behavior?.onFetch(o,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=X_({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:c=>{c instanceof Pb&&c.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(c,u)=>{this.#i({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const c=await this.#r.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof Pb){if(c.silent)return this.#r.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#i({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...J_(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?r:void 0,r;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),hn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function J_(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:K_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function R8(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var n0=class extends cl{constructor(e,t){super(),this.options=t,this.#t=e,this.#i=null,this.#o=Mb(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#a=void 0;#r;#s;#o;#i;#h;#d;#f;#c;#u;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),O8(this.#e,this.options)?this.#m():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Lb(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Lb(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#E(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof va(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),t._defaulted&&!jd(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&D8(this.#e,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#e!==n||va(this.options.enabled,this.#e)!==va(t.enabled,this.#e)||Zi(this.options.staleTime,this.#e)!==Zi(t.staleTime,this.#e))&&this.#g();const a=this.#x();r&&(this.#e!==n||va(this.options.enabled,this.#e)!==va(t.enabled,this.#e)||a!==this.#l)&&this.#b(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return WM(this,n)&&(this.#a=n,this.#s=this.options,this.#r=this.#e.state),n}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,r))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#m(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(cr)),t}#g(){this.#y();const e=Zi(this.options.staleTime,this.#e);if(Xo||this.#a.isStale||!Ob(e))return;const n=Y_(this.#a.dataUpdatedAt,e)+1;this.#c=Yo.setTimeout(()=>{this.#a.isStale||this.updateResult()},n)}#x(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#b(e){this.#E(),this.#l=e,!(Xo||va(this.options.enabled,this.#e)===!1||!Ob(this.#l)||this.#l===0)&&(this.#u=Yo.setInterval(()=>{(this.options.refetchIntervalInBackground||uv.isFocused())&&this.#m()},this.#l))}#v(){this.#g(),this.#b(this.#x())}#y(){this.#c&&(Yo.clearTimeout(this.#c),this.#c=void 0)}#E(){this.#u&&(Yo.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#a,s=this.#r,o=this.#s,u=e!==n?e.state:this.#n,{state:f}=e;let p={...f},m=!1,x;if(t._optimisticResults){const B=this.hasListeners(),Z=!B&&O8(e,t),Y=B&&D8(e,n,t,r);(Z||Y)&&(p={...p,...J_(f.data,e.options)}),t._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:v,errorUpdatedAt:E,status:_}=p;x=p.data;let k=!1;if(t.placeholderData!==void 0&&x===void 0&&_==="pending"){let B;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(B=a.data,k=!0):B=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,B!==void 0&&(_="success",x=Ib(a?.data,B,t),m=!0)}if(t.select&&x!==void 0&&!k)if(a&&x===s?.data&&t.select===this.#h)x=this.#d;else try{this.#h=t.select,x=t.select(x),x=Ib(a?.data,x,t),this.#d=x,this.#i=null}catch(B){this.#i=B}this.#i&&(v=this.#i,x=this.#d,E=Date.now(),_="error");const S=p.fetchStatus==="fetching",O=_==="pending",R=_==="error",q=O&&S,H=x!==void 0,M={status:_,fetchStatus:p.fetchStatus,isPending:O,isSuccess:_==="success",isError:R,isInitialLoading:q,isLoading:q,data:x,dataUpdatedAt:p.dataUpdatedAt,error:v,errorUpdatedAt:E,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdate
10Count:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>u.dataUpdateCount||p.errorUpdateCount>u.errorUpdateCount,isFetching:S,isRefetching:S&&!O,isLoadingError:R&&!H,isPaused:p.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:R&&H,isStale:dv(e,t),refetch:this.refetch,promise:this.#o,isEnabled:va(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const B=ae=>{M.status==="error"?ae.reject(M.error):M.data!==void 0&&ae.resolve(M.data)},Z=()=>{const ae=this.#o=M.promise=Mb();B(ae)},Y=this.#o;switch(Y.status){case"pending":e.queryHash===n.queryHash&&B(Y);break;case"fulfilled":(M.status==="error"||M.data!==Y.value)&&Z();break;case"rejected":(M.status!=="error"||M.error!==Y.reason)&&Z();break}}return M}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#s=this.options,this.#r.data!==void 0&&(this.#f=this.#e),jd(t,e))return;this.#a=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;if(a==="all"||!a&&!this.#p.size)return!0;const s=new Set(a??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#a).some(o=>{const c=o;return this.#a[c]!==e[c]&&s.has(c)})};this.#_({listeners:n()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#_(e){hn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function QM(e,t){return va(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function O8(e,t){return QM(e,t)||e.state.data!==void 0&&Lb(e,t,t.refetchOnMount)}function Lb(e,t,n){if(va(t.enabled,e)!==!1&&Zi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&dv(e,t)}return!1}function D8(e,t,n,r){return(e!==t||va(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&dv(e,n)}function dv(e,t){return va(t.enabled,e)!==!1&&e.isStaleByTime(Zi(t.staleTime,e))}function WM(e,t){return!jd(e.getCurrentResult(),t)}function Hh(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},u=0;const f=async()=>{let p=!1;const m=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},x=Q_(t.options,t.fetchOptions),v=async(E,_,k)=>{if(p)return Promise.reject();if(_==null&&E.pages.length)return Promise.resolve(E);const O=(()=>{const L={client:t.client,queryKey:t.queryKey,pageParam:_,direction:k?"backward":"forward",meta:t.options.meta};return m(L),L})(),R=await x(O),{maxPages:q}=t.options,H=k?UM:HM;return{pages:H(E.pages,R,q),pageParams:H(E.pageParams,_,q)}};if(a&&s.length){const E=a==="backward",_=E?eT:jb,k={pages:s,pageParams:o},S=_(r,k);c=await v(k,S,E)}else{const E=e??s.length;do{const _=u===0?o[0]??r.initialPageParam:jb(r,c);if(u>0&&_==null)break;c=await v(c,_),u++}while(u<E)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function jb(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function eT(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function KM(e,t){return t?jb(e,t)!=null:!1}function XM(e,t){return!t||!e.getPreviousPageParam?!1:eT(e,t)!=null}var tT=class extends n0{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:Hh()})}getOptimisticResult(e){return e.behavior=Hh(),super.getOptimisticResult(e)}
10fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:s,isError:o,isRefetchError:c}=r,u=n.fetchMeta?.fetchMore?.direction,f=o&&u==="forward",p=a&&u==="forward",m=o&&u==="backward",x=a&&u==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:KM(t,n.data),hasPreviousPage:XM(t,n.data),isFetchNextPageError:f,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:x,isRefetchError:c&&!f&&!m,isRefetching:s&&!p&&!x}}},ZM=class extends Z_{#t;#e;#n;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||nT(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=X_({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(s,o)=>{this.#r({type:"failed",failureCount:s,error:o})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",a=!this.#a.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:a}),await this.#n.config.onMutate?.(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#r({type:"pending",context:o,variables:e,isPaused:a})}const s=await this.#a.start();return await this.#n.config.onSuccess?.(s,e,this.state.context,this,n),await this.options.onSuccess?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(s,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(s,null,e,this.state.context,n),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#n.config.onError?.(s,e,this.state.context,this,n),await this.options.onError?.(s,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,s,e,this.state.context,n),s}finally{this.#r({type:"error",error:s})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),hn.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function nT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var JM=class extends cl{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new ZM({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=Ff(e);
vendor: 1,027 bytes, line 10
10if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Ff(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Ff(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(a=>a.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=Ff(e);return typeof t=="string"?this.#e.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){hn.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>C8(t,n))}findAll(e={}){return this.getAll().filter(t=>C8(e,t))}notify(e){hn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>
10t.state.isPaused);return hn.batch(()=>Promise.all(e.map(t=>t.continue().catch(cr))))}};function Ff(e){return e.options.scope?.id}var eP=class extends cl{#t;#e=void 0;#n;#a;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),jd(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&to(n.mutationKey)!==to(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#s(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#s()}mutate(t,n){return this.#a=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??nT();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#s(t){hn.batch(()=>{if(this.#a&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#a.onSuccess?.(t.data,n,r,a),this.#a.onSettled?.(t.data,null,
10n,r,a)):t?.type==="error"&&(this.#a.onError?.(t.error,n,r,a),this.#a.onSettled?.(void 0,t.error,n,r,a))}this.listeners.forEach(n=>{n(this.#e)})})}};function I8(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function tP(e,t,n){const r=e.slice(0);return r[t]=n,r}var nP=class extends cl{#t;#e;#n;#a;#r;#s;#o;#i;#h=[];constructor(e,t,n){super(),this.#t=e,this.#a=n,this.#n=[],this.#r=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(t=>{this.#u(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#a=t,hn.batch(()=>{const n=this.#r,r=this.#c(this.#n);this.#h=r,r.forEach(p=>p.observer.setOptions(p.defaultedQueryOptions));const a=r.map(p=>p.observer),s=a.map(p=>p.getCurrentResult()),o=n.length!==a.length,c=a.some((p,m)=>p!==n[m]),u=o||c,f=u?!0:s.some((p,m)=>{const x=this.#e[m];return!x||!jd(p,x)});!u&&!f||(u&&(this.#r=a),this.#e=s,this.hasListeners()&&(u&&(I8(n,a).forEach(p=>{p.destroy()}),I8(a,n).forEach(p=>{p.subscribe(m=>{this.#u(p,m)})})),this.#l()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const n=this.#c(e),r=n.map(a=>a.observer.getOptimisticResult(a.defaultedQueryOptions));return[r,a=>this.#f(a??r,t),()=>this.#d(r,n)]}#d(e,t){return t.map((n,r)=>{const a=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?a:n.observer.trackResult(a,s=>{t.forEach(o=>{o.observer.trackProp(s)})})})}#f(e,t){return t?((!this.#s||this.#e!==this.#i||t!==this.#o)&&(this.#o=t,this.#i=this.#e,this.#s=cv(this.#s,t(e))),this.#s):e}#c(e){const t=new Map(this.#r.map(r=>[r.options.queryHash,r])),n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),s=t.get(a.queryHash);s?n.push({defaultedQueryOptions:a,observer:s}):n.push({defaultedQueryOptions:a,observer:new n0(this.#t,a)})}),n}#u(e,t){const n=this.#r.indexOf(e);n!==-1&&(this.#e=tP(this.#e,n,t),this.#l())}#l(){if(this.hasListeners()){const e=this.#s,t=this.#d(this.#e,this.#h),n=this.#f(t,this.#a?.combine);e!==n&&hn.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},rP=class extends cl{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??lv(r,t);let s=this.get(a);return s||(s=new YM({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){hn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>S8(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>S8(e,n)):t}notify(e){hn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){hn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){hn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},aP=class{#t;#e;#n;#a;#r;#s;#o;#i;constructor(e={}){this.#t=e.queryCache||new rP,this.#e=e.mutationCache||new JM,this.#n=e.defaultOptions||{},this.#a=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#o=uv.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#i=zh.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Zi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=this.#t.get(r.queryHash)?.state.data,o=jM(t,s);if(o!==void 0)return this.#t.build(this,r).setData(o,{...n,manual:!0})}
vendor: 11,463 bytes, lines 10-18
10setQueriesData(e,t,n){return hn.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;hn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return hn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=hn.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(cr).catch(cr)}invalidateQueries(e,t={}){return hn.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=hn.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let s=a.fetch(void 0,n);return n.throwOnError||(s=s.catch(cr)),a.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(cr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Zi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(cr).catch(cr)}fetchInfiniteQuery(e){return e.behavior=Hh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(cr).catch(cr)}ensureInfiniteQueryData(e){return e.behavior=Hh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return zh.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#a.set(to(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{Ld(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(to(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Ld(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=lv(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===ea&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},ox={exports:{}},lt={};/** 11 * @license React 12 * react.production.js 13 * 14 * Copyright (c) Meta Platforms, Inc. and affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var M8;function sP(){if(M8)return lt;M8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),x=Symbol.iterator;function v(G){return G===null||typeof G!="object"?null:(G=x&&G[x]||G["@@iterator"],typeof G=="function"?G:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,k={};function S(G,oe,D){this.props=G,this.context=oe,this.refs=k,this.updater=D||E}S.prototype.isReactComponent={},S.prototype.setState=function(G,oe){if(typeof G!="object"&&typeof G!="function"&&G!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,G,oe,"setState")},S.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function O(){}O.prototype=S.prototype;function R(G,oe,D){this.props=G,this.context=oe,this.refs=k,this.updater=D||E}var q=R.prototype=new O;q.constructor=R,_(q,S.prototype),q.isPureReactComponent=!0;var H=Array.isArray;function L(){}var M={H:null,A:null,T:null,S:null},B=Object.prototype.hasOwnProperty;function Z(G,oe,D){var ce=D.ref;return{$$typeof:e,type:G,key:oe,ref:ce!==void 0?ce:null,props:D}}function Y(G,oe){return Z(G.type,oe,G.props)}function ae(G){return typeof G=="object"&&G!==null&&G.$$typeof===e}function ne(G){var oe={"=":"=0",":":"=2"};return"$"+G.replace(/[=:]/g,function(D){return oe[D]})}var he=/\/+/g;function ie(G,oe){return typeof G=="object"&&G!==null&&G.key!=null?ne(""+G.key):oe.toString(36)}function pe(G){switch(G.status){case"fulfilled":return G.value;case"rejected":throw G.reason;default:switch(typeof G.status=="string"?G.then(L,L):(G.status="pending",G.then(function(oe){G.status==="pending"&&(G.status="fulfilled",G.value=oe)},function(oe){G.status==="pending"&&(G.status="rejected",G.reason=oe)})),G.status){case"fulfilled":return G.value;case"rejected":throw G.reason}}throw G}function $(G,oe,D,ce,we){var Se=typeof G;(Se==="undefined"||Se==="boolean")&&(G=null);var be=!1;if(G===null)be=!0;else switch(Se){case"bigint":case"string":case"number":be=!0;break;case"object":switch(G.$$typeof){case e:case t:be=!0;break;case p:return be=G._init,$(be(G._payload),oe,D,ce,we)}}if(be)return we=we(G),be=ce===""?"."+ie(G,0):ce,H(we)?(D="",be!=null&&(D=be.replace(he,"$&/")+"/"),$(we,oe,D,"",function(Xe){return Xe})):we!=null&&(ae(we)&&(we=Y(we,D+(we.key==null||G&&G.key===we.key?"":(""+we.key).replace(he,"$&/")+"/")+be)),oe.push(we)),1;be=0;var Pe=ce===""?".":ce+":";if(H(G))for(var Ye=0;Ye<G.length;Ye++)ce=G[Ye],Se=Pe+ie(ce,Ye),be+=$(ce,oe,D,Se,we);else if(Ye=v(G),typeof Ye=="function")for(G=Ye.call(G),Ye=0;!(ce=G.next()).done;)ce=ce.value,Se=Pe+ie(ce,Ye++),be+=$(ce,oe,D,Se,we);else if(Se==="object"){if(typeof G.then=="function")return $(pe(G),oe,D,ce,we);throw oe=String(G),Error("Objects are not valid as a React child (found: "+(oe==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":oe)+"). If you meant to render a collection of children, use an array instead.")}return be}function re(G,oe,D){if(G==null)return G;var ce=[],we=0;return $(G,ce,"","",function(Se){return oe.call(D,Se,we++)}),ce}function J(G){if(G._status===-1){var oe=G._result;oe=oe(),oe.then(function(D){(G._status===0||G._status===-1)&&(G._status=1,G._result=D)},function(D){(G._status===0||G._status===-1)&&(G._status=2,G._result=D)}),G._status===-1&&(G._status=0,G._result=oe)}if(G._status===1)return G._result.default;throw G._result}var ge=typeof reportError=="function"?reportError:function(G){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var oe=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof G=="object"&&G!==null&&typeof G.message=="string"?String(G.message):String(G),error:G});if(!window.dispatchEvent(oe))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",G);return}console.error(G)},U={map:re,forEach:function(G,oe,D){re(G,function(){oe.apply(this,arguments)},D)},count:function(G){var oe=0;return re(G,function(){oe++}),oe},toArray:function(G){return re(G,function(oe){return oe})||[]},only:function(G){if(!ae(G))throw Error("React.Children.only expected to receive a single React element child.");return G}};return lt.Activity=m,lt.Children=U,lt.Component=S,lt.Fragment=n,lt.Profiler=a,lt.PureComponent=R,lt.StrictMode=r,lt.Suspense=u,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,lt.__COMPILER_RUNTIME={__proto__:null,c:function(G){return M.H.useMemoCache(G)}},lt.cache=function(G){return function(){return G.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(G,oe,D){if(G==null)throw Error("The argument must be a React element, but you passed "+G+".");var ce=_({},G.props),we=G.key;if(oe!=null)for(Se in oe.key!==void 0&&(we=""+oe.key),oe)!B.call(oe,Se)||Se==="key"||Se==="__self"||Se==="__source"||Se==="ref"&&oe.ref===void 0||(ce[Se]=oe[Se]);var Se=arguments.length-2;if(Se===1)ce.children=D;else if(1<Se){for(var be=Array(Se),Pe=0;Pe<Se;Pe++)be[Pe]=arguments[Pe+2];ce.children=be}return Z(G.type,we,ce)},lt.createContext=function(G){return G={$$typeof:o,_currentValue:G,_currentValue2:G,_threadCount:0,Provider:null,Consumer:null},G.Provider=G,G.Consumer={$$typeof:s,_context:G},G},lt.createElement=function(G,oe,D){var ce,we={},Se=null;if(oe!=null)for(ce in oe.key!==void 0&&(Se=""+oe.key),oe)B.call(oe,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(we[ce]=oe[ce]);var be=arguments.length-2;if(be===1)we.children=D;else if(1<be){for(var Pe=Array(be),Ye=0;Ye<be;Ye++)Pe[Ye]=arguments[Ye+2];we.children=Pe}if(G&&G.defaultProps)for(ce in be=G.defaultProps,be)we[ce]===void 0&&(we[ce]=be[ce]);return Z(G,Se,we)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(G){return{$$typeof:c,render:G}},lt.isValidElement=ae,lt.lazy=function(G){return{$$typeof:p,_payload:{_status:-1,_result:G},_init:J}},lt.memo=function(G,oe){return{$$typeof:f,type:G,compare:oe===void 0?null:oe}},lt.startTransition=function(G){var oe=M.T,D={};M.T=D;try{var ce=G(),we=M.S;we!==null&&we(D,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(L,ge)}catch(Se){ge(Se)}finally{oe!==null&&D.types!==null&&(oe.types=D.types),M.T=oe}},lt.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},lt.use=function(G){return M.H.use(G)},lt.useActionState=function(G,oe,D){return M.H.useActionState(G,oe,D)},lt.useCallback=function(G,oe){return M.H.useCallback(G,oe)},lt.useContext=function(G){return M.H.useContext(G)},lt.useDebugValue=function(){},lt.useDeferredValue=function(G,oe){return M.H.useDeferredValue(G,oe)},lt.useEffect=function(G,oe){return M.H.useEffect(G,oe)},lt.useEffectEvent=function(G){return M.H.useEffectEvent(G)},lt.useId=function(){return M.H.useId()},lt.useImperativeHandle=function(G,oe,D){return M.H.useImperativeHandle(G,oe,D)},lt.useInsertionEffect=function(G,oe){return M.H.useInsertionEffect(G,oe)},lt.useLayoutEffect=function(G,oe){return M.H.useLayoutEffect(G,oe)},lt.useMemo=function(G,oe){return M.H.useMemo(G,oe)},lt.useOptimistic=function(G,oe){return M.H.useOptimistic(G,oe)},lt.useReducer=function(G,oe,D){return M.H.useReducer(G,oe,D)},lt.useRef=function(G){return M.H.useRef(G)},lt.useState=function(G){return M.H.useState(G)},lt.useSyncExternalStore=function(G,oe,D){return M.H.useSyncExternalStore(G,oe,D)},lt.useTransition=function(){return M.H.useTransition()},lt.version="19.2.1",lt}var P8;function jm(){return P8||(P8=1,ox.exports=sP()),ox.exports}var T=jm();const Le=Lm(T),Bm=OM({__proto__:null,default:Le},[T]);var rT=T.createContext(void 0),r0=e=>{const t=T.useContext(rT);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},iP=({client:e,children:t})=>(T.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(rT.Provider,{value:e,children:t})),aT=T.createContext(!1),sT=()=>T.useContext(aT);aT.Provider;function oP(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
18var lP=T.createContext(oP()),iT=()=>T.useContext(lP),oT=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},lT=e=>{T.useEffect(()=>{e.clearReset()},[e])},cT=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||W_(n,[e.error,r])),fv=(e,t)=>t.state.data===void 0,uT=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...a)=>n(r(...a)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},dT=(e,t)=>e.isLoading&&e.isFetching&&!t,Bb=(e,t)=>e?.suspense&&t.isPending,Uh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function fT({queries:e,...t},n){const r=r0(n),a=sT(),s=iT(),o=T.useMemo(()=>e.map(_=>{const k=r.defaultQueryOptions(_);return k._optimisticResults=a?"isRestoring":"optimistic",k}),[e,r,a]);o.forEach(_=>{uT(_),oT(_,s)}),lT(s);const[c]=T.useState(()=>new nP(r,o,t)),[u,f,p]=c.getOptimisticResult(o,t.combine),m=!a&&t.subscribed!==!1;T.useSyncExternalStore(T.useCallback(_=>m?c.subscribe(hn.batchCalls(_)):cr,[c,m]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),T.useEffect(()=>{c.setQueries(o,t)},[o,t,c]);const v=u.some((_,k)=>Bb(o[k],_))?u.flatMap((_,k)=>{const S=o[k];if(S){const O=new n0(r,S);if(Bb(S,_))return Uh(S,O,s);dT(_,a)&&Uh(S,O,s)}return[]}):[];if(v.length>0)throw Promise.all(v);const E=u.find((_,k)=>{const S=o[k];return S&&cT({result:_,errorResetBoundary:s,throwOnError:S.throwOnError,query:r.getQueryCache().get(S.queryHash),suspense:S.suspense})});if(E?.error)throw E.error;return f(p())}function zm(e,t,n){const r=sT(),a=iT(),s=r0(n),o=s.defaultQueryOptions(e);s.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=r?"isRestoring":"optimistic",uT(o),oT(o,a),lT(a);const c=!s.getQueryCache().get(o.queryHash),[u]=T.useState(()=>new t(s,o)),f=u.getOptimisticResult(o),p=!r&&e.subscribed!==!1;if(T.useSyncExternalStore(T.useCallback(m=>{const x=p?u.subscribe(hn.batchCalls(m)):cr;return u.updateResult(),x},[u,p]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),T.useEffect(()=>{u.setOptions(o)},[o,u]),Bb(o,f))throw Uh(o,u,a);if(cT({result:f,errorResetBoundary:a,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw f.error;return s.getDefaultOptions().queries?._experimental_afterQuery?.(o,f),o.experimental_prefetchInRender&&!Xo&&dT(f,r)&&(c?Uh(o,u,a):s.getQueryCache().get(o.queryHash)?.promise)?.catch(cr).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?f:u.trackResult(f)}function cP(e,t){return zm(e,n0,t)}function uP(e,t){return zm({...e,enabled:!0,suspense:!0,throwOnError:fv,placeholderData:void 0},n0,t)}function dP(e,t){return zm({...e,enabled:!0,suspense:!0,throwOnError:fv},tT,t)}function fP(e,t){return fT({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:fv,enabled:!0,placeholderData:void 0}))},t)}function hP(e,t){const n=r0(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function mP(e,t){const n=r0(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function pP(e,t){const n=r0(t),[r]=T.useState(()=>new eP(n,e));T.useEffect(()=>{r.setOptions(e)},[r,e]);const a=T.useSyncExternalStore(T.useCallback(o=>r.subscribe(hn.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=T.useCallback((o,c)=>{r.mutate(o,c).catch(cr)},[r]);if(a.error&&W_(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function gP(e,t){return zm(e,tT,t)}function Zo(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}const xP=typeof Symbol=="function"&&!!Symbol.asyncIterator;function hT(e){return xP&&Zo(e)&&Symbol.asyncIterator in e}var bP=Object.create,mT=Object.defineProperty,vP=Object.getOwnPropertyDescriptor,pT=Object.getOwnPropertyNames,yP=Object.getPrototypeOf,EP=Object.prototype.hasOwnProperty,a0=(e,t)=>function(){return t||(0,e[pT(e)[0]])((t={exports:{}}).exports,t),t.exports},wP=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=pT(t),s=0,o=a.length,c;s<o;s++)c=a[s],!EP.call(e,c)&&c!==n&&mT(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=vP(t,c))||r.enumerable});return e},Hm=(e,t,n)=>(n=e!=null?bP(yP(e)):{},wP(mT(n,"default",{value:e,enumerable:!0}),e));const gT=()=>{},L8=e=>{Object.freeze&&Object.freeze(e)};function xT(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(gT,{get(s,o){if(!(typeof o!="string"||o==="then"))return xT(e,[...t,o],n)},apply(s,o,c){const u=t[t.length-1];let f={args:c,path:t};return u==="call"?f={args:c.length>=2?[c[1]]:[],path:t.slice(0,-1)}:u==="apply"&&(f={args:c.length>=2?c[1]:[],path:t.slice(0,-1)}),L8(f.args),L8(f.path),e(f)}})),n[a]}const Um=e=>xT(e,[],Object.create(null)),hv=e=>new Proxy(gT,{get(t,n){if(n!=="then")return e(n)}});var bT=a0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
18,t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),_P=a0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=bT().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),TP=a0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=bT().default,r=_P();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),vT=a0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=TP();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),mv=a0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=vT();function r(s,o){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(s);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),c.push.apply(c,u)}return c}function a(s){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(s,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(s,u,Object.getOwnPropertyDescriptor(c,u))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});Hm(mv());Hm(vT());var qf=Hm(mv());function AP(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,qf.default)((0,qf.default)({},e),{},{error:r})}}return{ok:!0,result:(0,qf.default)((0,qf.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var lx=class extends Error{constructor(){super("Unable to transform response from server")}};function SP(e,t){let n;try{n=AP(e,t)}catch{throw new lx}if(!n.ok&&(!Zo(n.error.error)||typeof n.error.error.code!="number"))throw new lx;if(n.ok&&!Zo(n.result))throw new lx;return n}Hm(mv());function Fm(e){const t={subscribe(n){let r=null,a=!1,s=!1,o=!1;function c(){if(r===null){o=!0;return}s||(s=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(u){var f;a||(f=n.next)===null||f===void 0||f.call(n,u)},error(u){var f;a||(a=!0,(f=n.error)===null||f===void 0||f.call(n,u),c())},complete(){var u;a||(a=!0,(u=n.complete)===null||u===void 0||u.call(n),c())}}),o&&c(),{unsubscribe:c}},pipe(...n){return n.reduce(CP,t)}};return t}function CP(e,t){return t(e)}function kP(e){const t=new AbortController;return new Promise((r,a)=>{let s=!1;function o(){s||(s=!0,c.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const c=e.subscribe({next(u){s=!0,r(u),o()},error(u){a(u)},complete(){t.abort(),o()}})})}var NP=Object.create,yT=Object.defineProperty,RP=Object.getOwnPropertyDescriptor,ET=Object.getOwnPropertyNames,OP=Object.getPrototypeOf,DP=Object.prototype.hasOwnProperty,uo=(e,t)=>function(){return t||(0,e[ET(e)[0]])((t={exports:{}}).exports,t),t.exports},IP=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=ET(t),s=0,o=a.length,c;s<o;s++)c=a[s],!DP.call(e,c)&&c!==n&&yT(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=RP(t,c))||r.enumerable});return e},ul=(e,t,n)=>(n=e!=null?NP(OP(e)):{},IP(t||!e||!e.__esModule?yT(n,"default",{value:e,enumerable:!0}):n,e)),MP=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,a){if(r==null)return{};var s={};for(var o in r)if({}.hasOwnProperty.call(r,o)){if(a.includes(o))continue;s[o]=r[o]}return s}
18t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),PP=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=MP();function r(a,s){if(a==null)return{};var o,c,u=n(a,s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(c=0;c<f.length;c++)o=f[c],s.includes(o)||{}.propertyIsEnumerable.call(a,o)&&(u[o]=a[o])}return u}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),wT=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),LP=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=wT().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),jP=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=wT().default,r=LP();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),BP=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=jP();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),s0=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=BP();function r(s,o){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(s);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),c.push.apply(c,u)}return c}function a(s){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(s,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(s,u,Object.getOwnPropertyDescriptor(c,u))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),zP=ul(PP(),1),j8=ul(s0(),1);const HP=["cursor","direction"];function os(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&Zo(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:s}=t,o=(0,zP.default)(t,HP);return[r,{input:o,type:"infinite"}]}return[r,(0,j8.default)((0,j8.default)({},typeof t<"u"&&t!==ea&&{input:t}),n&&n!=="any"&&{type:n})]}function Th(e){return os(e,void 0,"any")}var UP=Object.create,_T=Object.defineProperty,FP=Object.getOwnPropertyDescriptor,TT=Object.getOwnPropertyNames,qP=Object.getPrototypeOf,$P=Object.prototype.hasOwnProperty,ws=(e,t)=>function(){return t||(0,e[TT(e)[0]])((t={exports:{}}).exports,t),t.exports},VP=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=TT(t),s=0,o=a.length,c;s<o;s++)c=a[s],!$P.call(e,c)&&c!==n&&_T(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=FP(t,c))||r.enumerable});return e},_n=(e,t,n)=>(n=e!=null?UP(qP(e)):{},VP(t||!e||!e.__esModule?_T(n,"default",{value:e,enumerable:!0}):n,e)),AT=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
18,t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),GP=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=AT().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,s||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),YP=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=AT().default,r=GP();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),dl=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=YP();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Fa=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=dl();function r(s,o){var c=Object.keys(s);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(s);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),c.push.apply(c,u)}return c}function a(s){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(s,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(s,u,Object.getOwnPropertyDescriptor(c,u))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function QP(e){return t=>{let n=0,r=null;const a=[];function s(){r||(r=t.subscribe({next(c){for(const f of a){var u;(u=f.next)===null||u===void 0||u.call(f,c)}},error(c){for(const f of a){var u;(u=f.error)===null||u===void 0||u.call(f,c)}},complete(){for(const u of a){var c;(c=u.complete)===null||c===void 0||c.call(u)}}}))}function o(){if(n===0&&r){const c=r;r=null,c.unsubscribe()}}return Fm(c=>(n++,a.push(c),s(),{unsubscribe(){n--,o();const u=a.findIndex(f=>f===c);u>-1&&a.splice(u,1)}}))}}function WP(e){let t=e;const n=[],r=o=>{t!==void 0&&o.next(t),n.push(o)},a=o=>{n.splice(n.indexOf(o),1)},s=Fm(o=>(r(o),()=>{a(o)}));return s.next=o=>{if(t!==o){t=o;for(const c of n)c.next(o)}},s.get=()=>t,s}function KP(e){return Fm(t=>{function n(a=0,s=e.op){const o=e.links[a];if(!o)throw new Error("No more links to execute - did you forget to add an ending link?");return o({op:s,next(u){return n(a+1,u)}})}return n().subscribe(t)})}var $f=_n(dl(),1),oc=_n(Fa(),1);function XP(e){return e instanceof Dc}function ZP(e){return Zo(e)&&Zo(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function JP(e,t){return typeof e=="string"?e:Zo(e)&&typeof e.message=="string"?e.message:t}var Dc=class Ah extends Error{constructor(t,n){var r,a;const s=n?.cause;super(t,{cause:s}),(0,$f.default)(this,"cause",void 0),(0,$f.default)(this,"shape",void 0),(0,$f.default)(this,"data",void 0),(0,$f.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=s,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(a=n.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Ah.prototype)}static from(t,n={}){const r=t;return XP(r)?(n.meta&&(r.meta=(0,oc.default)((0,oc.default)({},r.meta),n.meta)),r):ZP(r)?new Ah(r.error.message,(0,oc.default)((0,oc.default)({},n),{},{result:r})):new Ah(JP(r,"Unknown error"),(0,oc.default)((0,oc.default)({},n),{},{cause:r}))}};function eL(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n},output:{serialize:n=>n,deserialize:n=>n}}}const B8=e=>typeof e=="function";function tL(e){if(e)return e;if(typeof window<"u"&&B8(window.fetch))return window.fetch;if(typeof globalThis<"u"&&B8(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var yd=_n(Fa());function nL(e){return{url:e.url.toString(),fetch:e.fetch,transformer:eL(e.transformer),methodOverride:e.methodOverride}}function rL(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const aL={query:"GET",mutation:"POST",subscription:"PATCH"};function ST(e){return"input"in e?e.transformer.input.serialize(e.input):rL(e.inputs.map(t=>e.transformer.input.serialize(t)))}const CT=e=>{const t=e.url.split("?");let r=t[0].replace(/\/$/,"")+"/"+e.path;const a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),e.type==="query"||e.type==="subscription"){const s=ST(e);s!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(s))}`)}return a.length&&(r+="?"+a.join("&")),r},sL=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=ST(e);return t!==void 0?JSON.stringify(t):void 0},iL=e=>uL((0,yd.default)((0,yd.default)({},e),{},{contentTypeHeader:"application/json",getUrl:CT,getBody:sL}));
18var oL=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const lL=e=>{var t;if(e?.aborted)throw(t=e.throwIfAborted)===null||t===void 0||t.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new oL};async function cL(e){var t;lL(e.signal);const n=e.getUrl(e),r=e.getBody(e),a=(t=e.methodOverride)!==null&&t!==void 0?t:aL[e.type],s=await(async()=>{const c=await e.headers();return Symbol.iterator in c?Object.fromEntries(c):c})(),o=(0,yd.default)((0,yd.default)((0,yd.default)({},e.contentTypeHeader&&a!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),s);return tL(e.fetch)(n,{method:a,signal:e.signal,body:r,headers:o})}async function uL(e){const t={},n=await cL(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}_n(Fa(),1);const z8=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function H8(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(c){const u=[[]];let f=0;for(;;){const x=c[f];if(!x)break;const v=u[u.length-1];if(x.aborted){var p;(p=x.reject)===null||p===void 0||p.call(x,new Error("Aborted")),f++;continue}if(e.validate(v.concat(x).map(_=>_.key))){v.push(x),f++;continue}if(v.length===0){var m;(m=x.reject)===null||m===void 0||m.call(x,new Error("Input is too big for a single dispatch")),f++;continue}u.push([])}return u}function s(){const c=a(t);r();for(const u of c){if(!u.length)continue;const f={items:u};for(const m of u)m.batch=f;e.fetch(f.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(v,E)=>{const _=f.items[E];try{var k;const O=await Promise.resolve(v);(k=_.resolve)===null||k===void 0||k.call(_,O)}catch(O){var S;(S=_.reject)===null||S===void 0||S.call(_,O)}_.batch=null,_.reject=null,_.resolve=null}));for(const v of f.items){var x;(x=v.reject)===null||x===void 0||x.call(v,new Error("Missing result")),v.batch=null}}).catch(m=>{for(const v of f.items){var x;(x=v.reject)===null||x===void 0||x.call(v,m),v.batch=null}})}}function o(c){var u;const f={aborted:!1,key:c,batch:null,resolve:z8,reject:z8},p=new Promise((m,x)=>{var v;f.reject=x,f.resolve=m,(v=t)!==null&&v!==void 0||(t=[]),t.push(f)});return(u=n)!==null&&u!==void 0||(n=setTimeout(s)),p}return{load:o}}function dL(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const s of e)s?.aborted?a():s?.addEventListener("abort",a,{once:!0});return t.signal}var Vf=_n(Fa(),1);function fL(e){var t,n;const r=nL(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,s=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const o=p=>({validate(m){if(a===1/0&&s===1/0)return!0;if(m.length>s)return!1;const x=m.map(_=>_.path).join(","),v=m.map(_=>_.input);return CT((0,Vf.default)((0,Vf.default)({},r),{},{type:p,path:x,inputs:v,signal:null})).length<=a},async fetch(m){const x=m.map(O=>O.path).join(","),v=m.map(O=>O.input),E=dL(...m.map(O=>O.signal)),_=await iL((0,Vf.default)((0,Vf.default)({},r),{},{path:x,inputs:v,type:p,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:m}):e.headers:{}},signal:E}));return(Array.isArray(_.json)?_.json:m.map(()=>_.json)).map(O=>({meta:_.meta,json:O}))}}),c=H8(o("query")),u=H8(o("mutation")),f={query:c,mutation:u};return({op:p})=>Fm(m=>{/* istanbul ignore if -- @preserve */if(p.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const v=f[p.type].load(p);let E;return v.then(_=>{E=_;const k=SP(_.json,r.transformer.output);if(!k.ok){m.error(Dc.from(k.error,{meta:_.meta}));return}m.next({context:_.meta,result:k.result}),m.complete()}).catch(_=>{m.error(Dc.from(_,{meta:E?.meta}))}),()=>{}})}}_n(Fa(),1);const kT=(e,...t)=>typeof e=="function"?e(...t):e;_n(dl(),1);function hL(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function mL(e){const t=await kT(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function pL(e){const t={method:"connectionParams",data:await kT(e)};return JSON.stringify(t)}_n(dl(),1);var Fo=_n(dl(),1);function gL(e){const{promise:t,resolve:n,reject:r}=hL();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function xL(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function s(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function o(){clearTimeout(r),s()}function c(){clearTimeout(a),o()}e.addEventListener("open",s),e.addEventListener("message",({data:u})=>{clearTimeout(r),s(),u==="PONG"&&c()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var bL=class zb{constructor(t){var n;if((0,Fo.default)(this,"id",++zb.connectCount),(0,Fo.default)(this,"WebSocketPonyfill",void 0),(0,Fo.default)(this,"urlOptions",void 0),(0,Fo.default)(this,"keepAliveOpts",void 0),(0,Fo.default)(this,"wsObservable",WP(null)),(0,Fo.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++zb.connectCount;const n=mL(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&xL(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await gL(r),t.urlOptions.connectionParams&&r.send(await pL(t.urlOptions.connectionParams))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,Fo.default)(bL,"connectCount",0);_n(dl(),1);_n(Fa(),1);var cx=_n(dl(),1),U8=_n(Fa(),1),qm=class{constructor(e){(0,cx.default)(this,"links",void 0),(0,cx.default)(this,"runtime",void 0),(0,cx.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return KP({links:this.links,op:(0,U8.default)((0,U8.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(QP())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await kP(n)).result.data}catch(n){throw Dc.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(a){switch(a.result.type){case"state":{var s;(s=n.onConnectionStateChange)===null||s===void 0||s.call(n,a.result);break}case"started":{var o;(o=n.onStarted)===null||o===void 0||o.call(n,{context:a.context});break}case"stopped":{var c;
18(c=n.onStopped)===null||c===void 0||c.call(n);break}case"data":case void 0:{var u;(u=n.onData)===null||u===void 0||u.call(n,a.result.data);break}}},error(a){var s;(s=n.onError)===null||s===void 0||s.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const NT=Symbol.for("trpc_untypedClient"),vL={query:"query",mutate:"mutation",subscribe:"subscription"},yL=e=>vL[e];function RT(e){const t=Um(({path:n,args:r})=>{const a=[...n],s=yL(a.pop()),o=a.join(".");return e[s](o,...r)});return hv(n=>n===NT?e:t[n])}function EL(e){const t=new qm(e);return RT(t)}function pv(e){return e[NT]}_n(Fa(),1);_n(Fa(),1);var wL=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,o,c,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,c=Symbol.iterator);u--;){if(o&&(s=a[o])!=null)return s.call(a);if(c&&(s=a[c])!=null)return new r(s.call(a));o="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var c=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(c){var u=this.s.return;return u===void 0?Promise.resolve({value:c,done:!0}):s(u.apply(this.s,arguments))},throw:function(c){var u=this.s.return;return u===void 0?Promise.reject(c):s(u.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});_n(wL(),1);_n(Fa(),1);var _L=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(c,u){var f=Error();return f.name="SuppressedError",f.error=c,f.suppressed=u,f},a={},s=[];function o(c,u){if(u!=null){if(Object(u)!==u)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(c)var f=u[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(f===void 0&&(f=u[Symbol.dispose||Symbol.for("Symbol.dispose")],c))var p=f;if(typeof f!="function")throw new TypeError("Object is not disposable.");p&&(f=function(){try{p.call(u)}catch(x){return Promise.reject(x)}}),s.push({v:u,d:f,a:c})}else c&&s.push({d:u,a:c});return u}return{e:a,u:o.bind(null,!1),a:o.bind(null,!0),d:function(){var u,f=this.e,p=0;function m(){for(;u=s.pop();)try{if(!u.a&&p===1)return p=0,s.push(u),Promise.resolve().then(m);if(u.d){var v=u.d.call(u.v);if(u.a)return p|=2,Promise.resolve(v).then(m,x)}else p|=1}catch(E){return x(E)}if(p===1)return f!==a?Promise.reject(f):Promise.resolve();if(f!==a)throw f}function x(v){return f=f!==a?new r(v,f):v,m()}return m()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),OT=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,a){this.v=r,this.k=a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),TL=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=OT();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),AL=ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=OT();function r(s){return function(){return new a(s.apply(this,arguments))}}function a(s){var o,c;function u(p,m){try{var x=s[p](m),v=x.value,E=v instanceof n;Promise.resolve(E?v.v:v).then(function(_){if(E){var k=p==="return"?"return":"next";if(!v.k||_.done)return u(k,_);_=s[k](_).value}f(x.done?"return":"normal",_)},function(_){u("throw",_)})}catch(_){f("throw",_)}}function f(p,m){switch(p){case"return":o.resolve({value:m,done:!0});break;case"throw":o.reject(m);break;default:o.resolve({value:m,done:!1})}(o=o.next)?u(o.key,o.arg):c=null}this._invoke=function(p,m){return new Promise(function(x,v){var E={key:p,arg:m,resolve:x,reject:v,next:null};c?c=c.next=E:(o=c=E,u(p,m))})},typeof s.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(s){return this._invoke("next",s)},a.prototype.throw=function(s){return this._invoke("throw",s)},a.prototype.return=function(s){return this._invoke("return",s)}
18,t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});_n(_L(),1);_n(TL(),1);_n(AL(),1);_n(Fa(),1);function SL(e){return Um(({path:t,args:n})=>{var r;const a=[...t],s=a.pop();if(s==="useMutation")return e[s](a,...n);if(s==="_def")return{path:a};const[o,...c]=n,u=(r=c[0])!==null&&r!==void 0?r:{};return e[s](a,o,u)})}var ux;const CL=["client","ssrContext","ssrState","abortOnUnmount"],kL=(ux=T.createContext)===null||ux===void 0?void 0:ux.call(Bm,null),NL=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function RL(e){return Um(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],s=a.shift(),o=NL(r),c=os(n,s,o);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,c,a[0]),queryOptions:()=>e.queryOptions(n,c,...a),fetch:()=>e.fetchQuery(c,...a),fetchInfinite:()=>e.fetchInfiniteQuery(c,a[0]),prefetch:()=>e.prefetchQuery(c,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(c,a[0]),ensureData:()=>e.ensureQueryData(c,...a),invalidate:()=>e.invalidateQueries(c,...a),reset:()=>e.resetQueries(c,...a),refetch:()=>e.refetchQueries(c,...a),cancel:()=>e.cancelQuery(c,...a),setData:()=>{e.setQueryData(c,a[0],a[1])},setQueriesData:()=>e.setQueriesData(c,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(c,a[0],a[1])},getData:()=>e.getQueryData(c),getInfiniteData:()=>e.getInfiniteQueryData(c),setMutationDefaults:()=>e.setMutationDefaults(Th(n),s),getMutationDefaults:()=>e.getMutationDefaults(Th(n)),isMutating:()=>e.isMutating({mutationKey:Th(n)})}[r]()})}function OL(e){const t=RT(e.client),n=RL(e);return hv(r=>{const a=r;return a==="client"?t:CL.includes(a)?e[a]:n[r]})}var DL=ul(s0(),1);function F8(e){const t=e instanceof qm?e:pv(e);return Um(n=>{const r=n.path,a=r.join("."),[s,o]=n.args;return(0,DL.default)({queryKey:os(r,s,"query"),queryFn:()=>t.query(a,s,o?.trpc)},o)})}var dx=ul(s0(),1);function yr(e,t,n){var r;const a=e[0];let s=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var o;s=(0,dx.default)((0,dx.default)((0,dx.default)({},(o=s)!==null&&o!==void 0?o:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),s,t?.trpc]}var IL=uo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,o,c,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,c=Symbol.iterator);u--;){if(o&&(s=a[o])!=null)return s.call(a);if(c&&(s=a[c])!=null)return new r(s.call(a));o="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var c=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(c){var u=this.s.return;return u===void 0?Promise.resolve({value:c,done:!0}):s(u.apply(this.s,arguments))},throw:function(c){var u=this.s.return;return u===void 0?Promise.reject(c):s(u.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),ML=ul(IL(),1);function Hb(e){return{path:e.path.join(".")}}function ed(e){const t=Hb(e);return T.useMemo(()=>t,[t])}async function DT(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const s=[];var o=!1,c=!1,u;try{for(var f=(0,ML.default)(e),p;o=!(p=await f.next()).done;o=!1){const m=p.value;s.push(m),a.setState({data:[...s]})}}catch(m){c=!0,u=m}finally{try{o&&f.return!=null&&await f.return()}finally{if(c)throw u}}return s}var Pt=ul(s0(),1);function PL(e){const{client:t,queryClient:n}=e,r=t instanceof qm?t:pv(t);return{infiniteQueryOptions:(a,s,o)=>{var c,u;const f=((c=s[1])===null||c===void 0?void 0:c.input)===ea,p=async m=>{var x;const v=(0,Pt.default)((0,Pt.default)({},o),{},{trpc:(0,Pt.default)((0,Pt.default)({},o?.trpc),!(o==null||(x=o.trpc)===null||x===void 0)&&x.abortOnUnmount?{signal:m.signal}:{signal:null})});return await r.query(...yr(s,v,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,Pt.default)((0,Pt.default)({},o),{},{initialData:o?.initialData,queryKey:s,queryFn:f?ea:p,initialPageParam:(u=o?.initialCursor)!==null&&u!==void 0?u:null}),{trpc:Hb({path:a})})},queryOptions:(a,s,o)=>{var c;const u=((c=s[1])===null||c===void 0?void 0:c.input)===ea,f=async p=>{var m;const x=(0,Pt.default)((0,Pt.default)({},o),{},{trpc:(0,Pt.default)((0,Pt.default)({},o?.trpc),!(o==null||(m=o.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:p.signal}:{signal:null})}),v=await r.query(...yr(s,x));return hT(v)?DT(v,n,s):v};return Object.assign((0,Pt.default)((0,Pt.default)({},o),{},{initialData:o?.initialData,queryKey:s,queryFn:u?ea:f}),{trpc:Hb({path:a})})},fetchQuery:(a,s)=>n.fetchQuery((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...yr(a,s))})),fetchInfiniteQuery:(a,s)=>{var o;return n.fetchInfiniteQuery((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a,queryFn:({pageParam:c,direction:u})=>r.query(...yr(a,s,{pageParam:c,direction:u})),initialPageParam:(o=s?.initialCursor)!==null&&o!==void 0?o:null}))},prefetchQuery:(a,s)=>n.prefetchQuery((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...yr(a,s))})),prefetchInfiniteQuery:(a,s)=>{var o;return n.prefetchInfiniteQuery((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a,queryFn:({pageParam:c,direction:u})=>r.query(...yr(a,s,{pageParam:c,direction:u})),initialPageParam:(o=s?.initialCursor)!==null&&o!==void 0?o:null}))},ensureQueryData:(a,s)=>n.ensureQueryData((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...yr(a,s))})),invalidateQueries:(a,s,o)=>n.invalidateQueries((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a}),o),resetQueries:(a,s,o)=>n.resetQueries((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a}),o),refetchQueries:(a,s,o)=>n.refetchQueries((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a}),o),cancelQuery:(a,s)=>n.cancelQueries({queryKey:a},s),setQueryData:(a,s,o)=>n.setQueryData(a,s,o),setQueriesData:(a,s,o,c)=>n.setQueriesData((0,Pt.default)((0,Pt.default)({},s),{},{queryKey:a}),o,c),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,s,o)=>n.setQueryData(a,s,o),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,s)=>{const o=a[0],c=u=>r.mutation(...yr([o,{input:u}],e));return n.setMutationDefaults(a,typeof s=="function"?s({canonicalMutationFn:c}):s)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,Pt.default)((0,Pt.default)({},a),{},{exact:!0}))}}
18var He=ul(s0());const q8=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function LL(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:H=>H.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:kL,s=EL,o=H=>{var L;const{abortOnUnmount:M=!1,queryClient:B,ssrContext:Z}=H,[Y,ae]=T.useState((L=H.ssrState)!==null&&L!==void 0?L:!1),ne=H.client instanceof qm?H.client:pv(H.client),he=T.useMemo(()=>PL({client:ne,queryClient:B}),[ne,B]),ie=T.useMemo(()=>(0,He.default)({abortOnUnmount:M,queryClient:B,client:ne,ssrContext:Z??null,ssrState:Y},he),[M,ne,he,B,Z,Y]);return T.useEffect(()=>{ae(pe=>pe?"mounted":!1)},[]),h.jsx(a.Provider,{value:ie,children:H.children})};function c(){const H=T.useContext(a);if(!H)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return H}function u(H,L){var M;const{queryClient:B,ssrState:Z}=c();return Z&&Z!=="mounted"&&((M=B.getQueryCache().find({queryKey:H}))===null||M===void 0?void 0:M.state.status)==="error"?(0,He.default)({retryOnMount:!1},L):L}function f(H,L,M){var B,Z,Y,ae,ne;const he=c(),{abortOnUnmount:ie,client:pe,ssrState:$,queryClient:re,prefetchQuery:J}=he,ge=os(H,L,"query"),U=re.getQueryDefaults(ge),G=L===ea;typeof window>"u"&&$==="prepass"&&(M==null||(B=M.trpc)===null||B===void 0?void 0:B.ssr)!==!1&&((Z=M?.enabled)!==null&&Z!==void 0?Z:U?.enabled)!==!1&&!G&&!re.getQueryCache().find({queryKey:ge})&&J(ge,M);const oe=u(ge,(0,He.default)((0,He.default)({},U),M)),D=(Y=(ae=M==null||(ne=M.trpc)===null||ne===void 0?void 0:ne.abortOnUnmount)!==null&&ae!==void 0?ae:void 0)!==null&&Y!==void 0?Y:ie,ce=cP((0,He.default)((0,He.default)({},oe),{},{queryKey:ge,queryFn:G?L:async we=>{const Se=(0,He.default)((0,He.default)({},oe),{},{trpc:(0,He.default)((0,He.default)({},oe?.trpc),D?{signal:we.signal}:{signal:null})}),be=await pe.query(...yr(ge,Se));return hT(be)?DT(be,re,ge):be}}),re);return ce.trpc=ed({path:H}),ce}function p(H,L,M){var B,Z,Y;const ae=c(),ne=os(H,L,"query"),he=L===ea,ie=(B=(Z=M==null||(Y=M.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&B!==void 0?B:ae.abortOnUnmount;hP((0,He.default)((0,He.default)({},M),{},{queryKey:ne,queryFn:he?L:pe=>{const $={trpc:(0,He.default)((0,He.default)({},M?.trpc),ie?{signal:pe.signal}:{})};return ae.client.query(...yr(ne,$))}}))}function m(H,L,M){var B,Z,Y;const ae=c(),ne=os(H,L,"query"),he=(B=(Z=M==null||(Y=M.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&B!==void 0?B:ae.abortOnUnmount,ie=uP((0,He.default)((0,He.default)({},M),{},{queryKey:ne,queryFn:pe=>{const $=(0,He.default)((0,He.default)({},M),{},{trpc:(0,He.default)((0,He.default)({},M?.trpc),he?{signal:pe.signal}:{signal:null})});return ae.client.query(...yr(ne,$))}}),ae.queryClient);return ie.trpc=ed({path:H}),[ie.data,ie]}function x(H,L){const{client:M,queryClient:B}=c(),Z=Th(H),Y=B.defaultMutationOptions(B.getMutationDefaults(Z)),ae=pP((0,He.default)((0,He.default)({},L),{},{mutationKey:Z,mutationFn:ne=>M.mutation(...yr([H,{input:ne}],L)),onSuccess(...ne){var he,ie;return r({originalFn:()=>{var $,re,J;return($=L==null||(re=L.onSuccess)===null||re===void 0?void 0:re.call(L,...ne))!==null&&$!==void 0?$:Y==null||(J=Y.onSuccess)===null||J===void 0?void 0:J.call(Y,...ne)},queryClient:B,meta:(he=(ie=L?.meta)!==null&&ie!==void 0?ie:Y?.meta)!==null&&he!==void 0?he:{}})}}),B);return ae.trpc=ed({path:H}),ae}const v={data:void 0,error:null,status:"idle"},E={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function _(H,L,M){var B;const Z=(B=M?.enabled)!==null&&B!==void 0?B:L!==ea,Y=to(os(H,L,"any")),{client:ae}=c(),ne=T.useRef(M);T.useEffect(()=>{ne.current=M});const[he]=T.useState(new Set([])),ie=T.useCallback(G=>{he.add(G)},[he]),pe=T.useRef(null),$=T.useCallback(G=>{const oe=J.current,D=J.current=G(oe);let ce=!1;for(const we of he)if(oe[we]!==D[we]){ce=!0;break}ce&&U(q8(D,ie))},[ie,he]),re=T.useCallback(()=>{var G;if((G=pe.current)===null||G===void 0||G.unsubscribe(),!Z){$(()=>(0,He.default)((0,He.default)({},v),{},{reset:re}));return}$(()=>(0,He.default)((0,He.default)({},E),{},{reset:re}));const oe=ae.subscription(H.join("."),L??void 0,{onStarted:()=>{var D,ce;(D=(ce=ne.current).onStarted)===null||D===void 0||D.call(ce),$(we=>(0,He.default)((0,He.default)({},we),{},{status:"pending",error:null}))},onData:D=>{var ce,we;(ce=(we=ne.current).onData)===null||ce===void 0||ce.call(we,D),$(Se=>(0,He.default)((0,He.default)({},Se),{},{status:"pending",data:D,error:null}))},onError:D=>{var ce,we;(ce=(we=ne.current).onError)===null||ce===void 0||ce.call(we,D),$(Se=>(0,He.default)((0,He.default)({},Se),{},{status:"error",error:D}))},onConnectionStateChange:D=>{$(ce=>{switch(D.state){case"idle":return(0,He.default)((0,He.default)({},ce),{},{status:D.state,error:null,data:void 0});case"connecting":return(0,He.default)((0,He.default)({},ce),{},{error:D.error,status:D.state});
18case"pending":return ce}})},onComplete:()=>{var D,ce;(D=(ce=ne.current).onComplete)===null||D===void 0||D.call(ce),$(we=>(0,He.default)((0,He.default)({},we),{},{status:"idle",error:null,data:void 0}))}});pe.current=oe},[ae,Y,Z,$]);T.useEffect(()=>(re(),()=>{var G;(G=pe.current)===null||G===void 0||G.unsubscribe()}),[re]);const J=T.useRef(Z?(0,He.default)((0,He.default)({},E),{},{reset:re}):(0,He.default)((0,He.default)({},v),{},{reset:re})),[ge,U]=T.useState(q8(J.current,ie));return ge}function k(H,L,M){var B,Z,Y,ae,ne;const{client:he,ssrState:ie,prefetchInfiniteQuery:pe,queryClient:$,abortOnUnmount:re}=c(),J=os(H,L,"infinite"),ge=$.getQueryDefaults(J),U=L===ea;typeof window>"u"&&ie==="prepass"&&(M==null||(B=M.trpc)===null||B===void 0?void 0:B.ssr)!==!1&&((Z=M?.enabled)!==null&&Z!==void 0?Z:ge?.enabled)!==!1&&!U&&!$.getQueryCache().find({queryKey:J})&&pe(J,(0,He.default)((0,He.default)({},ge),M));const G=u(J,(0,He.default)((0,He.default)({},ge),M)),oe=(Y=M==null||(ae=M.trpc)===null||ae===void 0?void 0:ae.abortOnUnmount)!==null&&Y!==void 0?Y:re,D=gP((0,He.default)((0,He.default)({},G),{},{initialPageParam:(ne=M.initialCursor)!==null&&ne!==void 0?ne:null,persister:M.persister,queryKey:J,queryFn:U?L:ce=>{var we;const Se=(0,He.default)((0,He.default)({},G),{},{trpc:(0,He.default)((0,He.default)({},G?.trpc),oe?{signal:ce.signal}:{signal:null})});return he.query(...yr(J,Se,{pageParam:(we=ce.pageParam)!==null&&we!==void 0?we:M.initialCursor,direction:ce.direction}))}}),$);return D.trpc=ed({path:H}),D}function S(H,L,M){var B,Z,Y;const ae=c(),ne=os(H,L,"infinite"),he=ae.queryClient.getQueryDefaults(ne),ie=L===ea,pe=u(ne,(0,He.default)((0,He.default)({},he),M)),$=(B=M==null||(Z=M.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&B!==void 0?B:ae.abortOnUnmount;mP((0,He.default)((0,He.default)({},M),{},{initialPageParam:(Y=M.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:ne,queryFn:ie?L:re=>{var J;const ge=(0,He.default)((0,He.default)({},pe),{},{trpc:(0,He.default)((0,He.default)({},pe?.trpc),$?{signal:re.signal}:{})});return ae.client.query(...yr(ne,ge,{pageParam:(J=re.pageParam)!==null&&J!==void 0?J:M.initialCursor,direction:re.direction}))}}))}function O(H,L,M){var B,Z,Y;const ae=c(),ne=os(H,L,"infinite"),he=ae.queryClient.getQueryDefaults(ne),ie=u(ne,(0,He.default)((0,He.default)({},he),M)),pe=(B=M==null||(Z=M.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&B!==void 0?B:ae.abortOnUnmount,$=dP((0,He.default)((0,He.default)({},M),{},{initialPageParam:(Y=M.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:ne,queryFn:re=>{var J;const ge=(0,He.default)((0,He.default)({},ie),{},{trpc:(0,He.default)((0,He.default)({},ie?.trpc),pe?{signal:re.signal}:{})});return ae.client.query(...yr(ne,ge,{pageParam:(J=re.pageParam)!==null&&J!==void 0?J:M.initialCursor,direction:re.direction}))}}),ae.queryClient);return $.trpc=ed({path:H}),[$.data,$]}return{Provider:o,createClient:s,useContext:c,useUtils:c,useQuery:f,usePrefetchQuery:p,useSuspenseQuery:m,useQueries:(H,L)=>{const{ssrState:M,queryClient:B,prefetchQuery:Z,client:Y}=c(),ae=F8(Y),ne=H(ae);if(typeof window>"u"&&M==="prepass")for(const ie of ne){var he;const pe=ie;((he=pe.trpc)===null||he===void 0?void 0:he.ssr)!==!1&&!B.getQueryCache().find({queryKey:pe.queryKey})&&Z(pe.queryKey,pe)}return fT({queries:ne.map(ie=>(0,He.default)((0,He.default)({},ie),{},{queryKey:ie.queryKey}
vendor: 4,589 bytes, lines 18-26
18)),combine:L?.combine},B)},useSuspenseQueries:H=>{const{queryClient:L,client:M}=c(),B=F8(M),Z=H(B),Y=fP({queries:Z.map(ae=>(0,He.default)((0,He.default)({},ae),{},{queryFn:ae.queryFn,queryKey:ae.queryKey}))},L);return[Y.map(ae=>ae.data),Y]},useMutation:x,useSubscription:_,useInfiniteQuery:k,usePrefetchInfiniteQuery:S,useSuspenseInfiniteQuery:O}}function jL(e){const t=SL(e);return hv(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return T.useMemo(()=>OL(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function BL(e){const t=LL();return jL(t)}const De=BL(),zL="Please login (10001)";var fx={exports:{}},td={},hx={exports:{}},mx={};/** 19 * @license React 20 * scheduler.production.js 21 * 22 * Copyright (c) Meta Platforms, Inc. and affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */var $8;function HL(){return $8||($8=1,(function(e){function t($,re){var J=$.length;$.push(re);e:for(;0<J;){var ge=J-1>>>1,U=$[ge];if(0<a(U,re))$[ge]=re,$[J]=U,J=ge;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var re=$[0],J=$.pop();if(J!==re){$[0]=J;e:for(var ge=0,U=$.length,G=U>>>1;ge<G;){var oe=2*(ge+1)-1,D=$[oe],ce=oe+1,we=$[ce];if(0>a(D,J))ce<U&&0>a(we,D)?($[ge]=we,$[ce]=J,ge=ce):($[ge]=D,$[oe]=J,ge=oe);else if(ce<U&&0>a(we,J))$[ge]=we,$[ce]=J,ge=ce;else break e}}return re}function a($,re){var J=$.sortIndex-re.sortIndex;return J!==0?J:$.id-re.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,c=o.now();e.unstable_now=function(){return o.now()-c}}var u=[],f=[],p=1,m=null,x=3,v=!1,E=!1,_=!1,k=!1,S=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function q($){for(var re=n(f);re!==null;){if(re.callback===null)r(f);else if(re.startTime<=$)r(f),re.sortIndex=re.expirationTime,t(u,re);else break;re=n(f)}}function H($){if(_=!1,q($),!E)if(n(u)!==null)E=!0,L||(L=!0,ne());else{var re=n(f);re!==null&&pe(H,re.startTime-$)}}var L=!1,M=-1,B=5,Z=-1;function Y(){return k?!0:!(e.unstable_now()-Z<B)}function ae(){if(k=!1,L){var $=e.unstable_now();Z=$;var re=!0;try{e:{E=!1,_&&(_=!1,O(M),M=-1),v=!0;var J=x;try{t:{for(q($),m=n(u);m!==null&&!(m.expirationTime>$&&Y());){var ge=m.callback;if(typeof ge=="function"){m.callback=null,x=m.priorityLevel;var U=ge(m.expirationTime<=$);if($=e.unstable_now(),typeof U=="function"){m.callback=U,q($),re=!0;break t}m===n(u)&&r(u),q($)}else r(u);m=n(u)}if(m!==null)re=!0;else{var G=n(f);G!==null&&pe(H,G.startTime-$),re=!1}}break e}finally{m=null,x=J,v=!1}re=void 0}}finally{re?ne():L=!1}}}var ne;if(typeof R=="function")ne=function(){R(ae)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,ie=he.port2;he.port1.onmessage=ae,ne=function(){ie.postMessage(null)}}else ne=function(){S(ae,0)};function pe($,re){M=S(function(){$(e.unstable_now())},re)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function($){switch(x){case 1:case 2:case 3:var re=3;break;default:re=x}var J=x;x=re;try{return $()}finally{x=J}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function($,re){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var J=x;x=$;try{return re()}finally{x=J}},e.unstable_scheduleCallback=function($,re,J){var ge=e.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ge+J:ge):J=ge,$){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=J+U,$={id:p++,callback:re,priorityLevel:$,startTime:J,expirationTime:U,sortIndex:-1},J>ge?($.sortIndex=J,t(f,$),n(u)===null&&$===n(f)&&(_?(O(M),M=-1):_=!0,pe(H,J-ge))):($.sortIndex=U,t(u,$),E||v||(E=!0,L||(L=!0,ne()))),$},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function($){var re=x;return function(){var J=x;x=re;try{return $.apply(this,arguments)}finally{x=J}}}})(mx)),mx}var V8;function UL(){return V8||(V8=1,hx.exports=HL()),hx.exports}var px={exports:{}},or={};
vendor: 4,900 bytes, lines 26-42
26/** 27 * @license React 28 * react-dom.production.js 29 * 30 * Copyright (c) Meta Platforms, Inc. and affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var G8;function FL(){if(G8)return or;G8=1;var e=jm();function t(u){var f="https://react.dev/errors/"+u;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+u+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function s(u,f,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:u,containerInfo:f,implementation:p}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(u,f){if(u==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return or.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,or.createPortal=function(u,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return s(u,f,null,p)},or.flushSync=function(u){var f=o.T,p=r.p;try{if(o.T=null,r.p=2,u)return u()}finally{o.T=f,r.p=p,r.d.f()}},or.preconnect=function(u,f){typeof u=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(u,f))},or.prefetchDNS=function(u){typeof u=="string"&&r.d.D(u)},or.preinit=function(u,f){if(typeof u=="string"&&f&&typeof f.as=="string"){var p=f.as,m=c(p,f.crossOrigin),x=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;p==="style"?r.d.S(u,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:m,integrity:x,fetchPriority:v}):p==="script"&&r.d.X(u,{crossOrigin:m,integrity:x,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},or.preinitModule=function(u,f){if(typeof u=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var p=c(f.as,f.crossOrigin);r.d.M(u,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(u)},or.preload=function(u,f){if(typeof u=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var p=f.as,m=c(p,f.crossOrigin);r.d.L(u,p,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},or.preloadModule=function(u,f){if(typeof u=="string")if(f){var p=c(f.as,f.crossOrigin);r.d.m(u,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(u)},or.requestFormReset=function(u){r.d.r(u)},or.unstable_batchedUpdates=function(u,f){return u(f)},or.useFormState=function(u,f,p){return o.H.useFormState(u,f,p)},or.useFormStatus=function(){return o.H.useHostTransitionStatus()},or.version="19.2.1",or}var Y8;function IT(){if(Y8)return px.exports;Y8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),px.exports=FL(),px.exports}/** 35 * @license React 36 * react-dom-client.production.js 37 * 38 * Copyright (c) Meta Platforms, Inc. and affiliates. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE file in the root directory of this source tree. 42 */var Q8;function qL(){if(Q8)return td;Q8=1;var e=UL(),t=jm(),n=IT();function r(i){var l="https://react.dev/errors/"+i;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)l+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var l=i,d=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,(l.flags&4098)!==0&&(d=l.return),i=l.return;while(i)}return l.tag===3?d:null}function o(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}
vendor: 10,569 bytes, lines 42-49
42function c(i){if(i.tag===31){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function u(i){if(s(i)!==i)throw Error(r(188))}function f(i){var l=i.alternate;if(!l){if(l=s(i),l===null)throw Error(r(188));return l!==i?null:i}for(var d=i,g=l;;){var b=d.return;if(b===null)break;var y=b.alternate;if(y===null){if(g=b.return,g!==null){d=g;continue}break}if(b.child===y.child){for(y=b.child;y;){if(y===d)return u(b),i;if(y===g)return u(b),l;y=y.sibling}throw Error(r(188))}if(d.return!==g.return)d=b,g=y;else{for(var N=!1,P=b.child;P;){if(P===d){N=!0,d=b,g=y;break}if(P===g){N=!0,g=b,d=y;break}P=P.sibling}if(!N){for(P=y.child;P;){if(P===d){N=!0,d=y,g=b;break}if(P===g){N=!0,g=y,d=b;break}P=P.sibling}if(!N)throw Error(r(189))}}if(d.alternate!==g)throw Error(r(190))}if(d.tag!==3)throw Error(r(188));return d.stateNode.current===d?i:l}function p(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=p(i),l!==null)return l;i=i.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),R=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function ne(i){return i===null||typeof i!="object"?null:(i=ae&&i[ae]||i["@@iterator"],typeof i=="function"?i:null)}var he=Symbol.for("react.client.reference");function ie(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===he?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case _:return"Fragment";case S:return"Profiler";case k:return"StrictMode";case H:return"Suspense";case L:return"SuspenseList";case Z:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case E:return"Portal";case R:return i.displayName||"Context";case O:return(i._context.displayName||"Context")+".Consumer";case q:var l=i.render;return i=i.displayName,i||(i=l.displayName||l.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case M:return l=i.displayName||null,l!==null?l:ie(i.type)||"Memo";case B:l=i._payload,i=i._init;try{return ie(i(l))}catch{}}return null}var pe=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ge=[],U=-1;function G(i){return{current:i}}function oe(i){0>U||(i.current=ge[U],ge[U]=null,U--)}function D(i,l){U++,ge[U]=i.current,i.current=l}var ce=G(null),we=G(null),Se=G(null),be=G(null);function Pe(i,l){switch(D(Se,l),D(we,i),D(ce,null),l.nodeType){case 9:case 11:i=(i=l.documentElement)&&(i=i.namespaceURI)?Y5(i):0;break;default:if(i=l.tagName,l=l.namespaceURI)l=Y5(l),i=Q5(l,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}oe(ce),D(ce,i)}function Ye(){oe(ce),oe(we),oe(Se)}function Xe(i){i.memoizedState!==null&&D(be,i);var l=ce.current,d=Q5(l,i.type);l!==d&&(D(we,i),D(ce,d))}function it(i){we.current===i&&(oe(ce),oe(we)),be.current===i&&(oe(be),Wu._currentValue=J)}var xt,pn;function Jt(i){if(xt===void 0)try{throw Error()}catch(d){var l=d.stack.trim().match(/\n( *(at )?)/);xt=l&&l[1]||"",pn=-1<d.stack.indexOf(` 43 at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return` 44`+xt+i+pn}var pr=!1;function rr(i,l){if(!i||pr)return"";pr=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(l){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(xe){var me=xe}Reflect.construct(i,[],Te)}else{try{Te.call()}catch(xe){me=xe}i.call(Te.prototype)}}else{try{throw Error()}catch(xe){me=xe}(Te=i())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(xe){if(xe&&me&&typeof xe.stack=="string")return[xe.stack,me.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=g.DetermineComponentFrameRoot(),N=y[0],P=y[1];if(N&&P){var X=N.split(` 45`),fe=P.split(` 46`);for(b=g=0;g<X.length&&!X[g].includes("DetermineComponentFrameRoot");)g++;for(;b<fe.length&&!fe[b].includes("DetermineComponentFrameRoot");)b++;if(g===X.length||b===fe.length)for(g=X.length-1,b=fe.length-1;1<=g&&0<=b&&X[g]!==fe[b];)b--;for(;1<=g&&0<=b;g--,b--)if(X[g]!==fe[b]){if(g!==1||b!==1)do if(g--,b--,0>b||X[g]!==fe[b]){var ye=` 47`+X[g].replace(" at new "," at ");return i.displayName&&ye.includes("<anonymous>")&&(ye=ye.replace("<anonymous>",i.displayName)),ye}while(1<=g&&0<=b);break}}}finally{pr=!1,Error.prepareStackTrace=d}return(d=i?i.displayName||i.name:"")?Jt(d):""}function zn(i,l){switch(i.tag){case 26:case 27:case 5:return Jt(i.type);case 16:return Jt("Lazy");case 13:return i.child!==l&&l!==null?Jt("Suspense Fallback"):Jt("Suspense");case 19:return Jt("SuspenseList");case 0:case 15:return rr(i.type,!1);case 11:return rr(i.type.render,!1);case 1:return rr(i.type,!0);case 31:return Jt("Activity");default:return""}}function oa(i){try{var l="",d=null;do l+=zn(i,d),d=i,i=i.return;while(i);return l}catch(g){return` 48Error generating stack: `+g.message+` 49`+g.stack}}var gn=Object.prototype.hasOwnProperty,hi=e.unstable_scheduleCallback,xo=e.unstable_cancelCallback,Qn=e.unstable_shouldYield,Ya=e.unstable_requestPaint,Wn=e.unstable_now,cu=e.unstable_getCurrentPriorityLevel,Ee=e.unstable_ImmediatePriority,je=e.unstable_UserBlockingPriority,nt=e.unstable_NormalPriority,ht=e.unstable_LowPriority,Et=e.unstable_IdlePriority,ar=e.log,sr=e.unstable_setDisableYieldValue,Kn=null,xn=null;function Xn(i){if(typeof ar=="function"&&sr(i),xn&&typeof xn.setStrictMode=="function")try{xn.setStrictMode(Kn,i)}catch{}}var zt=Math.clz32?Math.clz32:Wa,Qa=Math.log,gr=Math.LN2;function Wa(i){return i>>>=0,i===0?32:31-(Qa(i)/gr|0)|0}var yl=256,El=262144,bo=4194304;function Ka(i){var l=i&42;if(l!==0)return l;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function st(i,l,d){var g=i.pendingLanes;if(g===0)return 0;var b=0,y=i.suspendedLanes,N=i.pingedLanes;i=i.warmLanes;var P=g&134217727;return P!==0?(g=P&~y,g!==0?b=Ka(g):(N&=P,N!==0?b=Ka(N):d||(d=P&~i,d!==0&&(b=Ka(d))))):(P=g&~y,P!==0?b=Ka(P):N!==0?b=Ka(N):d||(d=g&~i,d!==0&&(b=Ka(d)))),b===0?0:l!==0&&l!==b&&(l&y)===0&&(y=b&-b,d=l&-l,y>=d||y===32&&(d&4194048)!==0)?l:b}function nn(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function Hn(i,l){switch(i){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ir(){var i=bo;return bo<<=1,(bo&62914560)===0&&(bo=4194304),i}function mi(i){for(var l=[],d=0;31>d;d++)l.push(i);return l}function on(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Cr(i,l,d,g,b,y){var N=i.pendingLanes;i.pendingLanes=d,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=d,i.entangledLanes&=d,i.errorRecoveryDisabledLanes&=d,i.shellSuspendCounter=0;var P=i.entanglements,X=i.expirationTimes,fe=i.hiddenUpdates;for(d=N&~d;0<d;){var ye=31-zt(d),Te=1<<ye;P[ye]=0,X[ye]=-1;var me=fe[ye];if(me!==null)for(fe[ye]=null,ye=0;ye<me.length;ye++){var xe=me[ye];xe!==null&&(xe.lane&=-536870913)}d&=~Te}g!==0&&vo(i,g,0),y!==0&&b===0&&i.tag!==0&&(i.suspendedLanes|=y&~(N&~l))}function vo(i,l,d){i.pendingLanes|=l,i.suspendedLanes&=~l;var g=31-zt(l);i.entangledLanes|=l,i.entanglements[g]=i.entanglements[g]|1073741824|d&261930}function kr(i,l){var d=i.entangledLanes|=l;for(i=i.entanglements;d;){var g=31-zt(d),b=1<<g;b&l|i[g]&l&&(i[g]|=l),d&=~b}}function Nr(i,l){var d=l&-l;return d=(d&42)!==0?1:wl(d),(d&(i.suspendedLanes|l))!==0?0:d}function wl(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function Oa(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Kp(){var i=re.p;return i!==0?i:(i=window.event,i===void 0?32:x8(i.type))}function I4(i,l){var d=re.p;try{return re.p=i,l()}finally{re.p=d}}var pi=Math.random().toString(36).slice(2),Zn="__reactFiber$"+pi,Rr="__reactProps$"+pi,_l="__reactContainer$"+pi,Xp="__reactEvents$"+pi,yD="__reactListeners$"+pi,ED="__reactHandles$"+pi,M4="__reactResources$"+pi,uu="__reactMarker$"+pi;function Zp(i){delete i[Zn],delete i[Rr],delete i[Xp],delete i[yD],delete i[ED]}function Tl(i){var l=i[Zn];if(l)return l;for(var d=i.parentNode;d;){if(l=d[_l]||d[Zn]){if(d=l.alternate,l.child!==null||d!==null&&d.child!==null)for(i=t8(i);i!==null;){if(d=i[Zn])return d;i=t8(i)}return l}i=d,d=i.parentNode}return null}function Al(i){if(i=i[Zn]||i[_l]){var l=i.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return i}return null}function du(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i.stateNode;throw Error(r(33))}function Sl(i){var l=i[M4];return l||(l=i[M4]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Un(i){i[uu]=!0}var P4=new Set,L4={};function yo(i,l){Cl(i,l),Cl(i+"Capture",l)}function Cl(i,l){for(L4[i]=l,i=0;i<l.length;
vendor: 6,863 bytes, line 49
49i++)P4.add(l[i])}var wD=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),j4={},B4={};function _D(i){return gn.call(B4,i)?!0:gn.call(j4,i)?!1:wD.test(i)?B4[i]=!0:(j4[i]=!0,!1)}function N0(i,l,d){if(_D(l))if(d===null)i.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var g=l.toLowerCase().slice(0,5);if(g!=="data-"&&g!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+d)}}function R0(i,l,d){if(d===null)i.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+d)}}function Rs(i,l,d,g){if(g===null)i.removeAttribute(d);else{switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(d);return}i.setAttributeNS(l,d,""+g)}}function la(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function z4(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function TD(i,l,d){var g=Object.getOwnPropertyDescriptor(i.constructor.prototype,l);if(!i.hasOwnProperty(l)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var b=g.get,y=g.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return b.call(this)},set:function(N){d=""+N,y.call(this,N)}}),Object.defineProperty(i,l,{enumerable:g.enumerable}),{getValue:function(){return d},setValue:function(N){d=""+N},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function Jp(i){if(!i._valueTracker){var l=z4(i)?"checked":"value";i._valueTracker=TD(i,l,""+i[l])}}function H4(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var d=l.getValue(),g="";return i&&(g=z4(i)?i.checked?"true":"false":i.value),i=g,i!==d?(l.setValue(i),!0):!1}function O0(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var AD=/[\n"\\]/g;function ca(i){return i.replace(AD,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function e1(i,l,d,g,b,y,N,P){i.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?i.type=N:i.removeAttribute("type"),l!=null?N==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+la(l)):i.value!==""+la(l)&&(i.value=""+la(l)):N!=="submit"&&N!=="reset"||i.removeAttribute("value"),l!=null?t1(i,N,la(l)):d!=null?t1(i,N,la(d)):g!=null&&i.removeAttribute("value"),b==null&&y!=null&&(i.defaultChecked=!!y),b!=null&&(i.checked=b&&typeof b!="function"&&typeof b!="symbol"),P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"?i.name=""+la(P):i.removeAttribute("name")}function U4(i,l,d,g,b,y,N,P){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(i.type=y),l!=null||d!=null){if(!(y!=="submit"&&y!=="reset"||l!=null)){Jp(i);return}d=d!=null?""+la(d):"",l=l!=null?""+la(l):d,P||l===i.value||(i.value=l),i.defaultValue=l}g=g??b,g=typeof g!="function"&&typeof g!="symbol"&&!!g,i.checked=P?i.checked:!!g,i.defaultChecked=!!g,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(i.name=N),Jp(i)}function t1(i,l,d){l==="number"&&O0(i.ownerDocument)===i||i.defaultValue===""+d||(i.defaultValue=""+d)}function kl(i,l,d,g){if(i=i.options,l){l={};for(var b=0;b<d.length;b++)l["$"+d[b]]=!0;for(d=0;d<i.length;d++)b=l.hasOwnProperty("$"+i[d].value),i[d].selected!==b&&(i[d].selected=b),b&&g&&(i[d].defaultSelected=!0)}else{for(d=""+la(d),l=null,b=0;b<i.length;b++){if(i[b].value===d){i[b].selected=!0,g&&(i[b].defaultSelected=!0);return}l!==null||i[b].disabled||(l=i[b])}l!==null&&(l.selected=!0)}}function F4(i,l,d){if(l!=null&&(l=""+la(l),l!==i.value&&(i.value=l),d==null)){i.defaultValue!==l&&(i.defaultValue=l);return}i.defaultValue=d!=null?""+la(d):""}function q4(i,l,d,g){if(l==null){if(g!=null){if(d!=null)throw Error(r(92));if(pe(g)){if(1<g.length)throw Error(r(93));g=g[0]}d=g}d==null&&(d=""),l=d}d=la(l),i.defaultValue=d,g=i.textContent,g===d&&g!==""&&g!==null&&(i.value=g),Jp(i)}function Nl(i,l){if(l){var d=i.firstChild;if(d&&d===i.lastChild&&d.nodeType===3){d.nodeValue=l;return}}i.textContent=l}var SD=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function $4(i,l,d){var g=l.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?g?i.setProperty(l,""):l==="float"?i.cssFloat="":i[l]="":g?i.setProperty(l,d):typeof d!="number"||d===0||SD.has(l)?l==="float"?i.cssFloat=d:i[l]=(""+d).trim():i[l]=d+"px"}function V4(i,l,d){if(l!=null&&typeof l!="object")throw Error(r(62));if(i=i.style,d!=null){for(var g in d)!d.hasOwnProperty(g)||l!=null&&l.hasOwnProperty(g)||(g.indexOf("--")===0?i.setProperty(g,""):g==="float"?i.cssFloat="":i[g]="");for(var b in l)g=l[b],l.hasOwnProperty(b)&&d[b]!==g&&$4(i,b,g)}else for(var y in l)l.hasOwnProperty(y)&&$4(i,y,l[y])}function n1(i){if(i.indexOf("-")===-1)return!1;switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var CD=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
49dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),kD=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function D0(i){return kD.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function Os(){}var r1=null;function a1(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Rl=null,Ol=null;function G4(i){var l=Al(i);if(l&&(i=l.stateNode)){var d=i[Rr]||null;e:switch(i=l.stateNode,l.type){case"input":if(e1(i,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),l=d.name,d.type==="radio"&&l!=null){for(d=i;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+ca(""+l)+'"][type="radio"]'),l=0;l<d.length;l++){var g=d[l];if(g!==i&&g.form===i.form){var b=g[Rr]||null;if(!b)throw Error(r(90));e1(g,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(l=0;l<d.length;l++)g=d[l],g.form===i.form&&H4(g)}break e;case"textarea":F4(i,d.value,d.defaultValue);break e;case"select":l=d.value,l!=null&&kl(i,!!d.multiple,l,!1)}}}var s1=!1;function Y4(i,l,d){if(s1)return i(l,d);s1=!0;try{var g=i(l);return g}finally{if(s1=!1,(Rl!==null||Ol!==null)&&(yf(),Rl&&(l=Rl,i=Ol,Ol=Rl=null,G4(l),i)))for(l=0;l<i.length;l++)G4(i[l])}}function fu(i,l){var d=i.stateNode;if(d===null)return null;var g=d[Rr]||null;if(g===null)return null;d=g[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(i=i.type,g=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!g;break e;default:i=!1}if(i)return null;if(d&&typeof d!="function")throw Error(r(231,l,typeof d));return d}var Ds=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),i1=!1;if(Ds)try{var hu={};Object.defineProperty(hu,"passive",{get:function(){i1=!0}}),window.addEventListener("test",hu,hu),window.removeEventListener("test",hu,hu)}catch{i1=!1}var gi=null,o1=null,I0=null;function Q4(){if(I0)return I0;var i,l=o1,d=l.length,g,b="value"in gi?gi.value:gi.textContent,y=b.length;for(i=0;i<d&&l[i]===b[i];i++);var N=d-i;for(g=1;g<=N&&l[d-g]===b[y-g];g++);return I0=b.slice(i,1<g?1-g:void 0)}function M0(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&l===13&&(i=13)):i=l,i===10&&(i=13),32<=i||i===13?i:0}function P0(){return!0}function W4(){return!1}function Or(i){function l(d,g,b,y,N){this._reactName=d,this._targetInst=b,this.type=g,this.nativeEvent=y,this.target=N,this.currentTarget=null;for(var P in i)i.hasOwnProperty(P)&&(d=i[P],this[P]=d?d(y):y[P]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?P0:W4,this.isPropagationStopped=W4,this}return m(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=P0)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=P0)},persist:function(){},isPersistent:P0}),l}var Eo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},L0=Or(Eo),mu=m({},Eo,{view:0,detail:0}),ND=Or(mu),l1,c1,pu,j0=m({},mu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:d1,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==pu&&(pu&&i.type==="mousemove"?(l1=i.screenX-pu.screenX,c1=i.screenY-pu.screenY):c1=l1=0,pu=i),l1)},movementY:function(i){return"movementY"in i?i.movementY:c1}}),K4=Or(j0),RD=m({},j0,{dataTransfer:0}),OD=Or(RD),DD=m({},mu,{relatedTarget:0}),u1=Or(DD),ID=m({},Eo,{animationName:0,elapsedTime:0,pseudoElement:0}),MD=Or(ID),PD=m({}
vendor: 1,132 bytes, line 49
49,Eo,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),LD=Or(PD),jD=m({},Eo,{data:0}),X4=Or(jD),BD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zD={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},HD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function UD(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):(i=HD[i])?!!l[i]:!1}function d1(){return UD}var FD=m({},mu,{key:function(i){if(i.key){var l=BD[i.key]||i.key;if(l!=="Unidentified")return l}return i.type==="keypress"?(i=M0(i),i===13?"Enter":String.fromCharCode(i)):i.type==="
49keydown"||i.type==="keyup"?zD[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:d1,charCode:function(i){return i.type==="keypress"?M0(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?M0(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),qD=Or(FD),$D=m({},j0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Z4=Or($D),VD=m({},mu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:d1}),GD=Or(VD),YD=m({},Eo,{propertyName:0,elapsedTime:0,pseudoElement:0}),QD=Or(YD),WD=m({},j0,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),KD=Or(WD),XD=m({},Eo,{newState:0,oldState:0}),ZD=Or(XD),JD=[9,13,27,32],f1=Ds&&"CompositionEvent"in window,gu=null;Ds&&"documentMode"in document&&(gu=document.documentMode);var eI=Ds&&"TextEvent"in window&&!gu,J4=Ds&&(!f1||gu&&8<gu&&11>=gu),e3=" ",t3=!1;function n3(i,l){switch(i){case"keyup":return JD.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function r3(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Dl=!1;function tI(i,l){switch(i){case"compositionend":return r3(l);case"keypress":return l.which!==32?null:(t3=!0,e3);case"textInput":return i=l.data,i===e3&&t3?null:i;default:return null}}function nI(i,l){if(Dl)return i==="compositionend"||!f1&&n3(i,l)?(i=Q4(),I0=o1=gi=null,Dl=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return J4&&l.locale!=="ko"?null:l.data;default:return null}}var rI={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function a3(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!rI[i.type]:l==="textarea"}function s3(i,l,d,g){Rl?Ol?Ol.push(g):Ol=[g]:Rl=g,l=Cf(l,"onChange"),0<l.length&&(d=new L0("onChange","change",null,d,g),i.push({event:d,listeners:l}))}var xu=null,bu=null;function aI(i){U5(i,0)}function B0(i){var l=du(i);if(H4(l))return i}function i3(i,l){if(i==="change")return l}var o3=!1;if(Ds){var h1;if(Ds){var m1="oninput"in document;if(!m1){var l3=document.createElement("div");l3.setAttribute("oninput","return;"),m1=typeof l3.oninput=="function"}h1=m1}else h1=!1;o3=h1&&(!document.documentMode||9<document.documentMode)}function c3(){xu&&(xu.detachEvent("onpropertychange",u3),bu=xu=null)}function u3(i){if(i.propertyName==="value"&&B0(bu)){var l=[];s3(l,bu,i,a1(i)),Y4(aI,l)}}function sI(i,l,d){i==="focusin"?(c3(),xu=l,bu=d,xu.attachEvent("onpropertychange",u3)):i==="focusout"&&c3()}function iI(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return B0(bu)}function oI(i,l){if(i==="click")return B0(l)}function lI(i,l){if(i==="input"||i==="change")return B0(l)}function cI(i,l){return i===l&&(i!==0||1/i===1/l)||i!==i&&l!==l}var $r=typeof Object.is=="function"?Object.is:cI;function vu(i,l){if($r(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var d=Object.keys(i),g=Object.keys(l);if(d.length!==g.length)return!1;for(g=0;g<d.length;g++){var b=d[g];if(!gn.call(l,b)||!$r(i[b],l[b]))return!1}return!0}function d3(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function f3(i,l){var d=d3(i);i=0;for(var g;d;){if(d.nodeType===3){if(g=i+d.textContent.length,i<=l&&g>=l)return{node:d,offset:l-i};i=g}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=d3(d)}}function h3(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?h3(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function m3(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=O0(i.document);l instanceof i.HTMLIFrameElement;){try{var d=typeof l.contentWindow.location.href=="string"}catch{d=!1}if(d)i=l.contentWindow;else break;l=O0(i.document)}return l}function p1(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}var uI=Ds&&"documentMode"in document&&11>=document.documentMode,Il=null,g1=null,yu=null,x1=!1;function p3(i,l,d){var g=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;x1||Il==null||Il!==O0(g)||(g=Il,"selectionStart"in g&&p1(g)?g={start:g.
vendor: 16,500 bytes, line 49
49selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),yu&&vu(yu,g)||(yu=g,g=Cf(g1,"onSelect"),0<g.length&&(l=new L0("onSelect","select",null,l,d),i.push({event:l,listeners:g}),l.target=Il)))}function wo(i,l){var d={};return d[i.toLowerCase()]=l.toLowerCase(),d["Webkit"+i]="webkit"+l,d["Moz"+i]="moz"+l,d}var Ml={animationend:wo("Animation","AnimationEnd"),animationiteration:wo("Animation","AnimationIteration"),animationstart:wo("Animation","AnimationStart"),transitionrun:wo("Transition","TransitionRun"),transitionstart:wo("Transition","TransitionStart"),transitioncancel:wo("Transition","TransitionCancel"),transitionend:wo("Transition","TransitionEnd")},b1={},g3={};Ds&&(g3=document.createElement("div").style,"AnimationEvent"in window||(delete Ml.animationend.animation,delete Ml.animationiteration.animation,delete Ml.animationstart.animation),"TransitionEvent"in window||delete Ml.transitionend.transition);function _o(i){if(b1[i])return b1[i];if(!Ml[i])return i;var l=Ml[i],d;for(d in l)if(l.hasOwnProperty(d)&&d in g3)return b1[i]=l[d];return i}var x3=_o("animationend"),b3=_o("animationiteration"),v3=_o("animationstart"),dI=_o("transitionrun"),fI=_o("transitionstart"),hI=_o("transitioncancel"),y3=_o("transitionend"),E3=new Map,v1="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");v1.push("scrollEnd");function Da(i,l){E3.set(i,l),yo(l,[i])}var z0=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},ua=[],Pl=0,y1=0;function H0(){for(var i=Pl,l=y1=Pl=0;l<i;){var d=ua[l];ua[l++]=null;var g=ua[l];ua[l++]=null;var b=ua[l];ua[l++]=null;var y=ua[l];if(ua[l++]=null,g!==null&&b!==null){var N=g.pending;N===null?b.next=b:(b.next=N.next,N.next=b),g.pending=b}y!==0&&w3(d,b,y)}}function U0(i,l,d,g){ua[Pl++]=i,ua[Pl++]=l,ua[Pl++]=d,ua[Pl++]=g,y1|=g,i.lanes|=g,i=i.alternate,i!==null&&(i.lanes|=g)}function E1(i,l,d,g){return U0(i,l,d,g),F0(i)}function To(i,l){return U0(i,null,null,l),F0(i)}function w3(i,l,d){i.lanes|=d;var g=i.alternate;g!==null&&(g.lanes|=d);for(var b=!1,y=i.return;y!==null;)y.childLanes|=d,g=y.alternate,g!==null&&(g.childLanes|=d),y.tag===22&&(i=y.stateNode,i===null||i._visibility&1||(b=!0)),i=y,y=y.return;return i.tag===3?(y=i.stateNode,b&&l!==null&&(b=31-zt(d),i=y.hiddenUpdates,g=i[b],g===null?i[b]=[l]:g.push(l),l.lane=d|536870912),y):null}function F0(i){if(50<Fu)throw Fu=0,Rg=null,Error(r(185));for(var l=i.return;l!==null;)i=l,l=i.return;return i.tag===3?i.stateNode:null}var Ll={};function mI(i,l,d,g){this.tag=i,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vr(i,l,d,g){return new mI(i,l,d,g)}function w1(i){return i=i.prototype,!(!i||!i.isReactComponent)}function Is(i,l){var d=i.alternate;return d===null?(d=Vr(i.tag,l,i.key,i.mode),d.elementType=i.elementType,d.type=i.type,d.stateNode=i.stateNode,d.alternate=i,i.alternate=d):(d.pendingProps=l,d.type=i.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=i.flags&65011712,d.childLanes=i.childLanes,d.lanes=i.lanes,d.child=i.child,d.memoizedProps=i.memoizedProps,d.memoizedState=i.memoizedState,d.updateQueue=i.updateQueue,l=i.dependencies,d.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},d.sibling=i.sibling,d.index=i.index,d.ref=i.ref,d.refCleanup=i.refCleanup,d}function _3(i,l){i.flags&=65011714;var d=i.alternate;return d===null?(i.childLanes=0,i.lanes=l,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=d.childLanes,i.lanes=d.lanes,i.child=d.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=d.memoizedProps,i.memoizedState=d.memoizedState,i.updateQueue=d.updateQueue,i.type=d.type,l=d.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),i}function q0(i,l,d,g,b,y){var N=0;if(g=i,typeof i=="function")w1(i)&&(N=1);else if(typeof i=="string")N=vM(i,d,ce.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case Z:return i=Vr(31,d,l,b),i.elementType=Z,i.lanes=y,i;case _:return Ao(d.children,b,y,l);case k:N=8,b|=24;break;case S:return i=Vr(12,d,l,b|2),i.elementType=S,i.lanes=y,i;case H:return i=Vr(13,d,l,b),i.elementType=H,i.lanes=y,i;case L:return i=Vr(19,d,l,b),i.elementType=L,i.lanes=y,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case R:N=10;break e;case O:N=9;break e;case q:N=11;break e;case M:N=14;break e;case B:N=16,g=null;break e}N=29,d=Error(r(130,i===null?"null":typeof i,"")),g=null}return l=Vr(N,d,l,b),l.elementType=i,l.type=g,l.lanes=y,l}function Ao(i,l,d,g){return i=Vr(7,i,g,l),i.lanes=d,i}function _1(i,l,d){return i=Vr(6,i,null,l),i.lanes=d,i}function T3(i){var l=Vr(18,null,null,0);return l.stateNode=i,l}function T1(i,l,d){return l=Vr(4,i.children!==null?i.children:[],i.key,l),l.lanes=d,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}var A3=new WeakMap;function da(i,l){if(typeof i=="object"&&i!==null){var d=A3.get(i);return d!==void 0?d:(l={value:i,source:l,stack:oa(l)},A3.set(i,l),l)}return{value:i,source:l,stack:oa(l)}}var jl=[],Bl=0,$0=null,Eu=0,fa=[],ha=0,xi=null,Xa=1,Za="";function Ms(i,l){jl[Bl++]=Eu,jl[Bl++]=$0,$0=i,Eu=l}function S3(i,l,d){fa[ha++]=Xa,fa[ha++]=Za,fa[ha++]=xi,xi=i;var g=Xa;i=Za;var b=32-zt(g)-1;g&=~(1<<b),d+=1;var y=32-zt(l)+b;if(30<y){var N=b-b%5;y=(g&(1<<N)-1).toString(32),g>>=N,b-=N,Xa=1<<32-zt(l)+b|d<<b|g,Za=y+i}else Xa=1<<y|d<<b|g,Za=i}function A1(i){i.return!==null&&(Ms(i,1),S3(i,1,0))}function S1(i){for(;i===$0;)$0=jl[--Bl],jl[Bl]=null,Eu=jl[--Bl],jl[Bl]=null;for(;i===xi;)xi=fa[--ha],fa[ha]=null,Za=fa[--ha],fa[ha]=null,Xa=fa[--ha],fa[ha]=null}function C3(i,l){fa[ha++]=Xa,fa[ha++]=Za,fa[ha++]=xi,Xa=l.id,Za=l.overflow,xi=i}var Jn=null,en=null,Nt=!1,bi=null,ma=!1,C1=Error(r(519));function vi(i){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wu(da(l,i)),C1}function k3(i){var l=i.stateNode,d=i.type,g=i.memoizedProps;switch(l[Zn]=i,l[Rr]=g,d){case"dialog":_t("cancel",l),_t("close",l);break;case"iframe":case"object":case"embed":_t("load",l);break;case"video":case"audio":for(d=0;d<$u.length;d++)_t($u[d],l);break;case"source":_t("error",l);break;case"img":case"image":case"link":_t("error",l),_t("load",l);break;case"details":_t("toggle",l);break;case"input":_t("invalid",l),U4(l,g.value,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name,!0);break;case"select":_t("invalid",l);break;case"textarea":_t("invalid",l),q4(l,g.value,g.defaultValue,g.children)}d=g.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||l.textContent===""+d||g.suppressHydrationWarning===!0||V5(l.textContent,d)?(g.popover!=null&&(_t("beforetoggle",l),_t("toggle",l)),g.onScroll!=null&&_t("scroll",l),g.onScrollEnd!=null&&_t("scrollend",l),g.onClick!=null&&(l.onclick=Os),l=!0):l=!1,l||vi(i,!0)}function N3(i){for(Jn=i.return;Jn;)switch(Jn.tag){case 5:case 31:case 13:ma=!1;return;case 27:case 3:ma=!0;return;default:Jn=Jn.return}}function zl(i){if(i!==Jn)return!1;if(!Nt)return N3(i),Nt=!0,!1;var l=i.tag,d;if((d=l!==3&&l!==27)&&((d=l===5)&&(d=i.type,d=!(d!=="form"&&d!=="button")||Vg(i.type,i.memoizedProps)),d=!d),d&&en&&vi(i),N3(i),l===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));en=e8(i)}else if(l===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));en=e8(i)}else l===27?(l=en,Ii(i.type)?(i=Kg,Kg=null,en=i):en=l):en=Jn?ga(i.stateNode.nextSibling):null;return!0}function So(){en=Jn=null,Nt=!1}function k1(){var i=bi;return i!==null&&(Pr===null?Pr=i:Pr.push.apply(Pr,i),bi=null),i}function wu(i){bi===null?bi=[i]:bi.push(i)}var N1=G(null),Co=null,Ps=null;function yi(i,l,d){D(N1,l._currentValue),l._currentValue=d}function Ls(i){i._currentValue=N1.current,oe(N1)}function R1(i,l,d){for(;i!==null;){var g=i.alternate;if((i.childLanes&l)!==l?(i.childLanes|=l,g!==null&&(g.childLanes|=l)):g!==null&&(g.childLanes&l)!==l&&(g.childLanes|=l),i===d)break;i=i.return}}function O1(i,l,d,g){var b=i.child;for(b!==null&&(b.return=i);b!==null;){var y=b.dependencies;if(y!==null){var N=b.child;y=y.firstContext;e:for(;y!==null;){var P=y;y=b;for(var X=0;X<l.length;X++)if(P.context===l[X]){y.lanes|=d,P=y.alternate,P!==null&&(P.lanes|=d),R1(y.return,d,i),g||(N=null);break e}y=P.next}}else if(b.tag===18){if(N=b.return,N===null)throw Error(r(341));N.lanes|=d,y=N.alternate,y!==null&&(y.lanes|=d),R1(N,d,i),N=null}else N=b.child;if(N!==null)N.return=b;else for(N=b;N!==null;){if(N===i){N=null;break}if(b=N.sibling,b!==null){b.return=N.return,N=b;break}N=N.return}b=N}}function Hl(i,l,d,g){i=null;for(var b=l,y=!1;b!==null;){if(!y){if((b.flags&524288)!==0)y=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var N=b.alternate;if(N===null)throw Error(r(387));if(N=N.memoizedProps,N!==null){var P=b.type;$r(b.pendingProps.value,N.value)||(i!==null?i.push(P):i=[P])}}else if(b===be.current){if(N=b.alternate,N===null)throw Error(r(387));N.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(i!==null?i.push(Wu):i=[Wu])}b=b.return}i!==null&&O1(l,i,d,g),l.flags|=262144}function V0(i){for(i=i.firstContext;i!==null;){if(!$r(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function ko(i){Co=i,Ps=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function er(i){return R3(Co,i)}function G0(i,l){return Co===null&&ko(i),R3(i,l)}function R3(i,l){var d=l._currentValue;if(l={context:l,memoizedValue:d,next:null},Ps===null){if(i===null)throw Error(r(308));Ps=l,i.dependencies={lanes:0,firstContext:l},i.flags|=524288}else Ps=Ps.next=l;return d}var pI=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(d,g){i.push(g)}};this.abort=function(){l.aborted=!0,i.forEach(function(d){return d()})}},gI=e.unstable_scheduleCallback,xI=e.unstable_NormalPriority,Tn={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function D1(){return{controller:new pI,data:new Map,refCount:0}}function _u(i){i.refCount--,i.refCount===0&&gI(xI,function(){i.controller.abort()})}var Tu=null,I1=0,Ul=0,Fl=null;function bI(i,l){if(Tu===null){var d=Tu=[];I1=0,Ul=Lg(),Fl={status:"pending",value:void 0,then:function(g){d.push(g)}}}return I1++,l.then(O3,O3),l}function O3(){if(--I1===0&&Tu!==null){Fl!==null&&(Fl.status="fulfilled");var i=Tu;Tu=null,Ul=0,Fl=null;for(var l=0;l<i.length;l++)(0,i[l])()}}function vI(i,l){var d=[],g={status:"pending",value:null,reason:null,then:function(b){d.push(b)}};return i.then(function(){g.status="fulfilled",g.value=l;for(var b=0;b<d.length;b++)(0,d[b])(l)},function(b){for(g.status="rejected",g.reason=b,b=0;b<d.length;b++)(0,d[b])(void 0)}),g}var D3=$.S;$.S=function(i,l){p5=Wn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&bI(i,l),D3!==null&&D3(i,l)};var No=G(null);function M1(){var i=No.current;return i!==null?i:Gt.pooledCache}function Y0(i,l){l===null?D(No,No.current):D(No,l.pool)}function I3(){var i=M1();return i===null?null:{parent:Tn._currentValue,pool:i}}var ql=Error(r(460)),P1=Error(r(474)),Q0=Error(r(542)),W0={then:function(){}};function M3(i){return i=i.status,i==="fulfilled"||i==="rejected"}function P3(i,l,d){switch(d=i[d],d===void 0?i.push(l):d!==l&&(l.then(Os,Os),l=d),l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,j3(i),i;default:if(typeof l.status=="string")l.then(Os,Os);else{if(i=Gt,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=l,i.status="pending",i.then(function(g){if(l.status==="pending"){var b=l;b.status="fulfilled",b.value=g}},function(g){if(l.status==="pending"){var b=l;b.status="rejected",b.reason=g}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,j3(i),i}throw Oo=l,ql}}function Ro(i){try{var l=i._init;return l(i._payload)}catch(d){throw d!==null&&typeof d=="object"&&typeof d.then=="function"?(Oo=d,ql):d}}var Oo=null;function L3(){if(Oo===null)throw Error(r(459));var i=Oo;return Oo=null,i}function j3(i){if(i===ql||i===Q0)throw Error(r(483))}var $l=null,Au=0;function K0(i){var l=Au;return Au+=1,$l===null&&($l=[]),P3($l,i,l)}function Su(i,l){l=l.props.ref,i.ref=l!==void 0?l:null}function X0(i,l){throw l.$$typeof===x?Error(r(525)):(i=Object.prototype.toString.call(l),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":i)))}function B3(i){function l(se,ee){if(i){var ue=se.deletions;ue===null?(se.deletions=[ee],se.flags|=16):ue.push(ee)}}function d(se,ee){if(!i)return null;for(;ee!==null;)l(se,ee),ee=ee.sibling;return null}function g(se){for(var ee=new Map;se!==null;)se.key!==null?ee.set(se.key,se):ee.set(se.index,se),se=se.sibling;return ee}function b(se,ee){return se=Is(se,ee),se.index=0,se.sibling=null,se}function y(se,ee,ue){return se.index=ue,i?(ue=se.alternate,ue!==null?(ue=ue.index,ue<ee?(se.flags|=67108866,ee):ue):(se.flags|=67108866,ee)):(se.flags|=1048576,ee)}function N(se){return i&&se.alternate===null&&(se.flags|=67108866),se}function P(se,ee,ue,_e){return ee===null||ee.tag!==6?(ee=_1(ue,se.mode,_e),ee.return=se,ee):(ee=b(ee,ue),ee.return=se,ee)}function X(se,ee,ue,_e){var Ze=ue.type;return Ze===_?ye(se,ee,ue.props.children,_e,ue.key):ee!==null&&(ee.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===B&&Ro(Ze)===ee.type)?(ee=b(ee,ue.props),Su(ee,ue),ee.return=se,ee):(ee=q0(ue.type,ue.key,ue.props,null,se.mode,_e),Su(ee,ue),ee.return=se,ee)}function fe(se,ee,ue,_e){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==ue.containerInfo||ee.stateNode.implementation!==ue.implementation?(ee=T1(ue,se.mode,_e),ee.return=se,ee):(ee=b(ee,ue.children||[]),ee.return=se,ee)}function ye(se,ee,ue,_e,Ze){return ee===null||ee.tag!==7?(ee=Ao(ue,se.mode,_e,Ze),ee.return=se,ee):(ee=b(ee,ue),ee.return=se,ee)}function Te(se,ee,ue){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return ee=_1(""+ee,se.mode,ue),ee.return=se,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case v:return ue=q0(ee.type,ee.key,ee.props,null,se.mode,ue),Su(ue,ee),ue.return=se,ue;case E:return ee=T1(ee,se.mode,ue),ee.return=se,ee;case B:return ee=Ro(ee),Te(se,ee,ue)}if(pe(ee)||ne(ee))return ee=Ao(ee,se.mode,ue,null),ee.return=se,ee;if(typeof ee.then=="function")return Te(se,K0(ee),ue);if(ee.$$typeof===R)return Te(se,G0(se,ee),ue);X0(se,ee)}return null}function me(se,ee,ue,_e){var Ze=ee!==null?ee.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return Ze!==null?null:P(se,ee,""+ue,_e);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case v:return ue.key===Ze?X(se,ee,ue,_e):null;case E:return ue.key===Ze?fe(se,ee,ue,_e):null;case B:return ue=Ro(ue),me(se,ee,ue,_e)}if(pe(ue)||ne(ue))return Ze!==null?null:ye(se,ee,ue,_e,null);if(typeof ue.then=="function")return me(se,ee,K0(ue),_e);if(ue.$$typeof===R)return me(se,ee,G0(se,ue),_e);X0(se,ue)}return null}function xe(se,ee,ue,_e,Ze){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return se=se.get(ue)||null,P(ee,se,""+_e,Ze);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case v:return se=se.get(_e.key===null?ue:_e.key)||null,X(ee,se,_e,Ze);
vendor: 1,226 bytes, line 49
49case E:return se=se.get(_e.key===null?ue:_e.key)||null,fe(ee,se,_e,Ze);case B:return _e=Ro(_e),xe(se,ee,ue,_e,Ze)}if(pe(_e)||ne(_e))return se=se.get(ue)||null,ye(ee,se,_e,Ze,null);if(typeof _e.then=="function")return xe(se,ee,ue,K0(_e),Ze);if(_e.$$typeof===R)return xe(se,ee,ue,G0(ee,_e),Ze);X0(ee,_e)}return null}function $e(se,ee,ue,_e){for(var Ze=null,It=null,Qe=ee,mt=ee=0,Ct=null;Qe!==null&&mt<ue.length;mt++){Qe.index>mt?(Ct=Qe,Qe=null):Ct=Qe.sibling;var Mt=me(se,Qe,ue[mt],_e);if(Mt===null){Qe===null&&(Qe=Ct);break}i&&Qe&&Mt.alternate===null&&l(se,Qe),ee=y(Mt,ee,mt),It===null?Ze=Mt:It.sibling=Mt,It=Mt,Qe=Ct}if(mt===ue.length)return d(se,Qe),Nt&&Ms(se,mt),Ze;if(Qe===null){for(;mt<ue.length;mt++)Qe=Te(se,ue[mt],_e),Qe!==null&&(ee=y(Qe,ee,mt),It===null?Ze=Qe:It.sibling=Qe,It=Qe);return Nt&&Ms(se,mt),Ze}for(Qe=g(Qe);mt<ue.length;mt++)Ct=xe(Qe,se,mt,ue[mt],_e),Ct!==null&&(i&&Ct.alternate!==null&&Qe.delete(Ct.key===null?mt:Ct.key),ee=y(Ct,ee,mt),It===null?Ze=Ct:It.sibling=Ct,It=Ct);return i&&Qe.forEach(function(Bi){return l(se,Bi)}),Nt&&Ms(se,mt),Ze}function rt(se,ee,ue,_e){if(ue==null)throw Error(r(151));for(var Ze=null,It=null,Qe=ee,mt=ee=0,Ct=null,Mt=ue.next();Qe!==null&&!Mt.done;mt++,Mt=ue.next()){Qe.index>
vendor: 4,761 bytes, line 49
49mt?(Ct=Qe,Qe=null):Ct=Qe.sibling;var Bi=me(se,Qe,Mt.value,_e);if(Bi===null){Qe===null&&(Qe=Ct);break}i&&Qe&&Bi.alternate===null&&l(se,Qe),ee=y(Bi,ee,mt),It===null?Ze=Bi:It.sibling=Bi,It=Bi,Qe=Ct}if(Mt.done)return d(se,Qe),Nt&&Ms(se,mt),Ze;if(Qe===null){for(;!Mt.done;mt++,Mt=ue.next())Mt=Te(se,Mt.value,_e),Mt!==null&&(ee=y(Mt,ee,mt),It===null?Ze=Mt:It.sibling=Mt,It=Mt);return Nt&&Ms(se,mt),Ze}for(Qe=g(Qe);!Mt.done;mt++,Mt=ue.next())Mt=xe(Qe,se,mt,Mt.value,_e),Mt!==null&&(i&&Mt.alternate!==null&&Qe.delete(Mt.key===null?mt:Mt.key),ee=y(Mt,ee,mt),It===null?Ze=Mt:It.sibling=Mt,It=Mt);return i&&Qe.forEach(function(RM){return l(se,RM)}),Nt&&Ms(se,mt),Ze}function $t(se,ee,ue,_e){if(typeof ue=="object"&&ue!==null&&ue.type===_&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case v:e:{for(var Ze=ue.key;ee!==null;){if(ee.key===Ze){if(Ze=ue.type,Ze===_){if(ee.tag===7){d(se,ee.sibling),_e=b(ee,ue.props.children),_e.return=se,se=_e;break e}}else if(ee.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===B&&Ro(Ze)===ee.type){d(se,ee.sibling),_e=b(ee,ue.props),Su(_e,ue),_e.return=se,se=_e;break e}d(se,ee);break}else l(se,ee);ee=ee.sibling}ue.type===_?(_e=Ao(ue.props.children,se.mode,_e,ue.key),_e.return=se,se=_e):(_e=q0(ue.type,ue.key,ue.props,null,se.mode,_e),Su(_e,ue),_e.return=se,se=_e)}return N(se);case E:e:{for(Ze=ue.key;ee!==null;){if(ee.key===Ze)if(ee.tag===4&&ee.stateNode.containerInfo===ue.containerInfo&&ee.stateNode.implementation===ue.implementation){d(se,ee.sibling),_e=b(ee,ue.children||[]),_e.return=se,se=_e;break e}else{d(se,ee);break}else l(se,ee);ee=ee.sibling}_e=T1(ue,se.mode,_e),_e.return=se,se=_e}return N(se);case B:return ue=Ro(ue),$t(se,ee,ue,_e)}if(pe(ue))return $e(se,ee,ue,_e);if(ne(ue)){if(Ze=ne(ue),typeof Ze!="function")throw Error(r(150));return ue=Ze.call(ue),rt(se,ee,ue,_e)}if(typeof ue.then=="function")return $t(se,ee,K0(ue),_e);if(ue.$$typeof===R)return $t(se,ee,G0(se,ue),_e);X0(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,ee!==null&&ee.tag===6?(d(se,ee.sibling),_e=b(ee,ue),_e.return=se,se=_e):(d(se,ee),_e=_1(ue,se.mode,_e),_e.return=se,se=_e),N(se)):d(se,ee)}return function(se,ee,ue,_e){try{Au=0;var Ze=$t(se,ee,ue,_e);return $l=null,Ze}catch(Qe){if(Qe===ql||Qe===Q0)throw Qe;var It=Vr(29,Qe,null,se.mode);return It.lanes=_e,It.return=se,It}finally{}}}var Do=B3(!0),z3=B3(!1),Ei=!1;function L1(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function j1(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function wi(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function _i(i,l,d){var g=i.updateQueue;if(g===null)return null;if(g=g.shared,(Bt&2)!==0){var b=g.pending;return b===null?l.next=l:(l.next=b.next,b.next=l),g.pending=l,l=F0(i),w3(i,null,d),l}return U0(i,g,l,d),F0(i)}function Cu(i,l,d){if(l=l.updateQueue,l!==null&&(l=l.shared,(d&4194048)!==0)){var g=l.lanes;g&=i.pendingLanes,d|=g,l.lanes=d,kr(i,d)}}function B1(i,l){var d=i.updateQueue,g=i.alternate;if(g!==null&&(g=g.updateQueue,d===g)){var b=null,y=null;if(d=d.firstBaseUpdate,d!==null){do{var N={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};y===null?b=y=N:y=y.next=N,d=d.next}while(d!==null);y===null?b=y=l:y=y.next=l}else b=y=l;d={baseState:g.baseState,firstBaseUpdate:b,lastBaseUpdate:y,shared:g.shared,callbacks:g.callbacks},i.updateQueue=d;return}i=d.lastBaseUpdate,i===null?d.firstBaseUpdate=l:i.next=l,d.lastBaseUpdate=l}var z1=!1;function ku(){if(z1){var i=Fl;if(i!==null)throw i}}function Nu(i,l,d,g){z1=!1;var b=i.updateQueue;Ei=!1;var y=b.firstBaseUpdate,N=b.lastBaseUpdate,P=b.shared.pending;if(P!==null){b.shared.pending=null;var X=P,fe=X.next;X.next=null,N===null?y=fe:N.next=fe,N=X;var ye=i.alternate;ye!==null&&(ye=ye.updateQueue,P=ye.lastBaseUpdate,P!==N&&(P===null?ye.firstBaseUpdate=fe:P.next=fe,ye.lastBaseUpdate=X))}if(y!==null){var Te=b.baseState;N=0,ye=fe=X=null,P=y;do{var me=P.lane&-536870913,xe=me!==P.lane;if(xe?(St&me)===me:(g&me)===me){me!==0&&me===Ul&&(z1=!0),ye!==null&&(ye=ye.next={lane:0,tag:P.tag,payload:P.payload,callback:null,next:null});e:{var $e=i,rt=P;me=l;var $t=d;switch(rt.tag){case 1:if($e=rt.payload,typeof $e=="function"){Te=$e.call($t,Te,me);break e}Te=$e;break e;case 3:$e.flags=$e.flags&-65537|128;case 0:if($e=rt.payload,me=typeof $e=="function"?$e.call($t,Te,me):$e,me==null)break e;Te=m({},Te,me);break e;case 2:Ei=!0}}me=P.callback,me!==null&&(i.flags|=64,xe&&(i.flags|=8192),xe=b.callbacks,xe===null?b.callbacks=[me]:xe.pu
vendor: 5,534 bytes, line 49
49sh(me))}else xe={lane:me,tag:P.tag,payload:P.payload,callback:P.callback,next:null},ye===null?(fe=ye=xe,X=Te):ye=ye.next=xe,N|=me;if(P=P.next,P===null){if(P=b.shared.pending,P===null)break;xe=P,P=xe.next,xe.next=null,b.lastBaseUpdate=xe,b.shared.pending=null}}while(!0);ye===null&&(X=Te),b.baseState=X,b.firstBaseUpdate=fe,b.lastBaseUpdate=ye,y===null&&(b.shared.lanes=0),ki|=N,i.lanes=N,i.memoizedState=Te}}function H3(i,l){if(typeof i!="function")throw Error(r(191,i));i.call(l)}function U3(i,l){var d=i.callbacks;if(d!==null)for(i.callbacks=null,i=0;i<d.length;i++)H3(d[i],l)}var Vl=G(null),Z0=G(0);function F3(i,l){i=Vs,D(Z0,i),D(Vl,l),Vs=i|l.baseLanes}function H1(){D(Z0,Vs),D(Vl,Vl.current)}function U1(){Vs=Z0.current,oe(Vl),oe(Z0)}var Gr=G(null),pa=null;function Ti(i){var l=i.alternate;D(bn,bn.current&1),D(Gr,i),pa===null&&(l===null||Vl.current!==null||l.memoizedState!==null)&&(pa=i)}function F1(i){D(bn,bn.current),D(Gr,i),pa===null&&(pa=i)}function q3(i){i.tag===22?(D(bn,bn.current),D(Gr,i),pa===null&&(pa=i)):Ai()}function Ai(){D(bn,bn.current),D(Gr,Gr.current)}function Yr(i){oe(Gr),pa===i&&(pa=null),oe(bn)}var bn=G(0);function J0(i){for(var l=i;l!==null;){if(l.tag===13){var d=l.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||Qg(d)||Wg(d)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var js=0,dt=null,Ft=null,An=null,ef=!1,Gl=!1,Io=!1,tf=0,Ru=0,Yl=null,yI=0;function un(){throw Error(r(321))}function q1(i,l){if(l===null)return!1;for(var d=0;d<l.length&&d<i.length;d++)if(!$r(i[d],l[d]))return!1;return!0}function $1(i,l,d,g,b,y){return js=y,dt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,$.H=i===null||i.memoizedState===null?S6:sg,Io=!1,y=d(g,b),Io=!1,Gl&&(y=V3(l,d,g,b)),$3(i),y}function $3(i){$.H=Iu;var l=Ft!==null&&Ft.next!==null;if(js=0,An=Ft=dt=null,ef=!1,Ru=0,Yl=null,l)throw Error(r(300));i===null||Sn||(i=i.dependencies,i!==null&&V0(i)&&(Sn=!0))}function V3(i,l,d,g){dt=i;var b=0;do{if(Gl&&(Yl=null),Ru=0,Gl=!1,25<=b)throw Error(r(301));if(b+=1,An=Ft=null,i.updateQueue!=null){var y=i.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}$.H=C6,y=l(d,g)}while(Gl);return y}function EI(){var i=$.H,l=i.useState()[0];return l=typeof l.then=="function"?Ou(l):l,i=i.useState()[0],(Ft!==null?Ft.memoizedState:null)!==i&&(dt.flags|=1024),l}function V1(){var i=tf!==0;return tf=0,i}function G1(i,l,d){l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~d}function Y1(i){if(ef){for(i=i.memoizedState;i!==null;){var l=i.queue;l!==null&&(l.pending=null),i=i.next}ef=!1}js=0,An=Ft=dt=null,Gl=!1,Ru=tf=0,Yl=null}function xr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return An===null?dt.memoizedState=An=i:An=An.next=i,An}function vn(){if(Ft===null){var i=dt.alternate;i=i!==null?i.memoizedState:null}else i=Ft.next;var l=An===null?dt.memoizedState:An.next;if(l!==null)An=l,Ft=i;else{if(i===null)throw dt.alternate===null?Error(r(467)):Error(r(310));Ft=i,i={memoizedState:Ft.memoizedState,baseState:Ft.baseState,baseQueue:Ft.baseQueue,queue:Ft.queue,next:null},An===null?dt.memoizedState=An=i:An=An.next=i}return An}function nf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ou(i){var l=Ru;return Ru+=1,Yl===null&&(Yl=[]),i=P3(Yl,i,l),l=dt,(An===null?l.memoizedState:An.next)===null&&(l=l.alternate,$.H=l===null||l.memoizedState===null?S6:sg),i}function rf(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Ou(i);if(i.$$typeof===R)return er(i)}throw Error(r(438,String(i)))}function Q1(i){var l=null,d=dt.updateQueue;if(d!==null&&(l=d.memoCache),l==null){var g=dt.alternate;g!==null&&(g=g.updateQueue,g!==null&&(g=g.memoCache,g!=null&&(l={data:g.data.map(function(b){return b.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),d===null&&(d=nf(),dt.updateQueue=d),d.memoCache=l,d=l.data[l.index],d===void 0)for(d=l.data[l.index]=Array(i),g=0;g<i;g++)d[g]=Y;return l.index++,d}function Bs(i,l){return typeof l=="function"?l(i):l}function af(i){var l=vn();return W1(l,Ft,i)}function W1(i,l,d){var g=i.queue;if(g===null)throw Error(r(311));g.lastRenderedReducer=d;var b=i.baseQueue,y=g.pending;if(y!==null){if(b!==null){var N=b.next;b.next=y.next,y.next=N}l.baseQueue=b=y,g.pending=null}if(y=i.baseState,b===null)i.memoizedState=y;else{l=b.next;var P=N=null,X=null,fe=l,ye=!1;do{var Te=fe.lane&-536870913;if(Te!==fe.lane?(St&Te)===Te:(js&Te)===Te){var me=fe.revertLane;if(me===0)X!==null&&(X=X.next={lane:0,revertLane:0,gesture:null,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null}),Te===Ul&&(ye=!0);else if((js&me)===me){fe=fe.next,me===Ul&&(ye=!0);continue}else Te={lane:0,revertLane:fe.revertLane,gesture:null,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},X===null?(P=X=Te,N=y):X=X.next=Te,dt.lanes|=me,ki|=me;Te=fe.action,Io&&d(y,Te),y=fe.hasEagerState?fe.eagerState:d(y,Te)}else me={lane:Te,revertLane:fe.revertLane,gesture:fe.gesture,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},X===null?(P=X=me,N=y):X=X.next=me,dt.lanes|=Te,ki|=Te;fe=fe.next}
vendor: 14,178 bytes, line 49
49while(fe!==null&&fe!==l);if(X===null?N=y:X.next=P,!$r(y,i.memoizedState)&&(Sn=!0,ye&&(d=Fl,d!==null)))throw d;i.memoizedState=y,i.baseState=N,i.baseQueue=X,g.lastRenderedState=y}return b===null&&(g.lanes=0),[i.memoizedState,g.dispatch]}function K1(i){var l=vn(),d=l.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=i;var g=d.dispatch,b=d.pending,y=l.memoizedState;if(b!==null){d.pending=null;var N=b=b.next;do y=i(y,N.action),N=N.next;while(N!==b);$r(y,l.memoizedState)||(Sn=!0),l.memoizedState=y,l.baseQueue===null&&(l.baseState=y),d.lastRenderedState=y}return[y,g]}function G3(i,l,d){var g=dt,b=vn(),y=Nt;if(y){if(d===void 0)throw Error(r(407));d=d()}else d=l();var N=!$r((Ft||b).memoizedState,d);if(N&&(b.memoizedState=d,Sn=!0),b=b.queue,J1(W3.bind(null,g,b,i),[i]),b.getSnapshot!==l||N||An!==null&&An.memoizedState.tag&1){if(g.flags|=2048,Ql(9,{destroy:void 0},Q3.bind(null,g,b,d,l),null),Gt===null)throw Error(r(349));y||(js&127)!==0||Y3(g,l,d)}return d}function Y3(i,l,d){i.flags|=16384,i={getSnapshot:l,value:d},l=dt.updateQueue,l===null?(l=nf(),dt.updateQueue=l,l.stores=[i]):(d=l.stores,d===null?l.stores=[i]:d.push(i))}function Q3(i,l,d,g){l.value=d,l.getSnapshot=g,K3(l)&&X3(i)}function W3(i,l,d){return d(function(){K3(l)&&X3(i)})}function K3(i){var l=i.getSnapshot;i=i.value;try{var d=l();return!$r(i,d)}catch{return!0}}function X3(i){var l=To(i,2);l!==null&&Lr(l,i,2)}function X1(i){var l=xr();if(typeof i=="function"){var d=i;if(i=d(),Io){Xn(!0);try{d()}finally{Xn(!1)}}}return l.memoizedState=l.baseState=i,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bs,lastRenderedState:i},l}function Z3(i,l,d,g){return i.baseState=d,W1(i,Ft,typeof g=="function"?g:Bs)}function wI(i,l,d,g,b){if(lf(i))throw Error(r(485));if(i=l.action,i!==null){var y={payload:b,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(N){y.listeners.push(N)}};$.T!==null?d(!0):y.isTransition=!1,g(y),d=l.pending,d===null?(y.next=l.pending=y,J3(l,y)):(y.next=d.next,l.pending=d.next=y)}}function J3(i,l){var d=l.action,g=l.payload,b=i.state;if(l.isTransition){var y=$.T,N={};$.T=N;try{var P=d(b,g),X=$.S;X!==null&&X(N,P),e6(i,l,P)}catch(fe){Z1(i,l,fe)}finally{y!==null&&N.types!==null&&(y.types=N.types),$.T=y}}else try{y=d(b,g),e6(i,l,y)}catch(fe){Z1(i,l,fe)}}function e6(i,l,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(g){t6(i,l,g)},function(g){return Z1(i,l,g)}):t6(i,l,d)}function t6(i,l,d){l.status="fulfilled",l.value=d,n6(l),i.state=d,l=i.pending,l!==null&&(d=l.next,d===l?i.pending=null:(d=d.next,l.next=d,J3(i,d)))}function Z1(i,l,d){var g=i.pending;if(i.pending=null,g!==null){g=g.next;do l.status="rejected",l.reason=d,n6(l),l=l.next;while(l!==g)}i.action=null}function n6(i){i=i.listeners;for(var l=0;l<i.length;l++)(0,i[l])()}function r6(i,l){return l}function a6(i,l){if(Nt){var d=Gt.formState;if(d!==null){e:{var g=dt;if(Nt){if(en){t:{for(var b=en,y=ma;b.nodeType!==8;){if(!y){b=null;break t}if(b=ga(b.nextSibling),b===null){b=null;break t}}y=b.data,b=y==="F!"||y==="F"?b:null}if(b){en=ga(b.nextSibling),g=b.data==="F!";break e}}vi(g)}g=!1}g&&(l=d[0])}}return d=xr(),d.memoizedState=d.baseState=l,g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r6,lastRenderedState:l},d.queue=g,d=_6.bind(null,dt,g),g.dispatch=d,g=X1(!1),y=ag.bind(null,dt,!1,g.queue),g=xr(),b={state:l,dispatch:null,action:i,pending:null},g.queue=b,d=wI.bind(null,dt,b,y,d),b.dispatch=d,g.memoizedState=i,[l,d,!1]}function s6(i){var l=vn();return i6(l,Ft,i)}function i6(i,l,d){if(l=W1(i,l,r6)[0],i=af(Bs)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var g=Ou(l)}catch(N){throw N===ql?Q0:N}else g=l;l=vn();var b=l.queue,y=b.dispatch;return d!==l.memoizedState&&(dt.flags|=2048,Ql(9,{destroy:void 0},_I.bind(null,b,d),null)),[g,y,i]}function _I(i,l){i.action=l}function o6(i){var l=vn(),d=Ft;if(d!==null)return i6(l,d,i);vn(),l=l.memoizedState,d=vn();var g=d.queue.dispatch;return d.memoizedState=i,[l,g,!1]}function Ql(i,l,d,g){return i={tag:i,create:d,deps:g,inst:l,next:null},l=dt.updateQueue,l===null&&(l=nf(),dt.updateQueue=l),d=l.lastEffect,d===null?l.lastEffect=i.next=i:(g=d.next,d.next=i,i.next=g,l.lastEffect=i),i}function l6(){return vn().memoizedState}function sf(i,l,d,g){var b=xr();dt.flags|=i,b.memoizedState=Ql(1|l,{destroy:void 0},d,g===void 0?null:g)}function of(i,l,d,g){var b=vn();g=g===void 0?null:g;var y=b.memoizedState.inst;Ft!==null&&g!==null&&q1(g,Ft.memoizedState.deps)?b.memoizedState=Ql(l,y,d,g):(dt.flags|=i,b.memoizedState=Ql(1|l,y,d,g))}function c6(i,l){sf(8390656,8,i,l)}function J1(i,l){of(2048,8,i,l)}function TI(i){dt.flags|=4;var l=dt.updateQueue;if(l===null)l=nf(),dt.updateQueue=l,l.events=[i];else{var d=l.events;d===null?l.events=[i]:d.push(i)}}function u6(i){var l=vn().memoizedState;return TI({ref:l,nextImpl:i}),function(){if((Bt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function d6(i,l){return of(4,2,i,l)}function f6(i,l){return of(4,4,i,l)}function h6(i,l){if(typeof l=="function"){i=i();var d=l(i);return function(){typeof d=="function"?d():l(null)}}if(l!=null)return i=i(),l.current=i,function(){l.current=null}}function m6(i,l,d){d=d!=null?d.concat([i]):null,of(4,4,h6.bind(null,l,i),d)}function eg(){}function p6(i,l){var d=vn();l=l===void 0?null:l;var g=d.memoizedState;return l!==null&&q1(l,g[1])?g[0]:(d.memoizedState=[i,l],i)}function g6(i,l){var d=vn();l=l===void 0?null:l;var g=d.memoizedState;if(l!==null&&q1(l,g[1]))return g[0];if(g=i(),Io){Xn(!0);try{i()}finally{Xn(!1)}}return d.memoizedState=[g,l],g}function tg(i,l,d){return d===void 0||(js&1073741824)!==0&&(St&261930)===0?i.memoizedState=l:(i.memoizedState=d,i=x5(),dt.lanes|=i,ki|=i,d)}function x6(i,l,d,g){return $r(d,l)?d:Vl.current!==null?(i=tg(i,d,g),$r(i,l)||(Sn=!0),i):(js&42)===0||(js&1073741824)!==0&&(St&261930)===0?(Sn=!0,i.memoizedState=d):(i=x5(),dt.lanes|=i,ki|=i,l)}function b6(i,l,d,g,b){var y=re.p;re.p=y!==0&&8>y?y:8;var N=$.T,P={};$.T=P,ag(i,!1,l,d);try{var X=b(),fe=$.S;if(fe!==null&&fe(P,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ye=vI(X,g);Du(i,l,ye,Kr(i))}else Du(i,l,g,Kr(i))}catch(Te){Du(i,l,{then:function(){},status:"rejected",reason:Te},Kr())}finally{re.p=y,N!==null&&P.types!==null&&(N.types=P.types),$.T=N}}function AI(){}function ng(i,l,d,g){if(i.tag!==5)throw Error(r(476));var b=v6(i).queue;b6(i,b,l,J,d===null?AI:function(){return y6(i),d(g)})}function v6(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bs,lastRenderedState:J},next:null};var d={};return l.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bs,lastRenderedState:d},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function y6(i){var l=v6(i);l.next===null&&(l=i.alternate.memoizedState),Du(i,l.next.queue,{},Kr())}function rg(){return er(Wu)}function E6(){return vn().memoizedState}function w6(){return vn().memoizedState}function SI(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var d=Kr();i=wi(d);var g=_i(l,i,d);g!==null&&(Lr(g,l,d),Cu(g,l,d)),l={cache:D1()},i.payload=l;return}l=l.return}}function CI(i,l,d){var g=Kr();d={lane:g,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},lf(i)?T6(l,d):(d=E1(i,l,d,g),d!==null&&(Lr(d,i,g),A6(d,l,g)))}function _6(i,l,d){var g=Kr();Du(i,l,d,g)}function Du(i,l,d,g){var b={lane:g,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(lf(i))T6(l,b);else{var y=i.alternate;if(i.lanes===0&&(y===null||y.lanes===0)&&(y=l.lastRenderedReducer,y!==null))try{var N=l.lastRenderedState,P=y(N,d);if(b.hasEagerState=!0,b.eagerState=P,$r(P,N))return U0(i,l,b,0),Gt===null&&H0(),!1}catch{}finally{}if(d=E1(i,l,b,g),d!==null)return Lr(d,i,g),A6(d,l,g),!0}return!1}function ag(i,l,d,g){if(g={lane:2,revertLane:Lg(),gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null},lf(i)){if(l)throw Error(r(479))}else l=E1(i,d,g,2),l!==null&&Lr(l,i,2)}function lf(i){var l=i.alternate;return i===dt||l!==null&&l===dt}function T6(i,l){Gl=ef=!0;var d=i.pending;d===null?l.next=l:(l.next=d.next,d.next=l),i.pending=l}function A6(i,l,d){if((d&4194048)!==0){var g=l.lanes;g&=i.pendingLanes,d|=g,l.lanes=d,kr(i,d)}}var Iu={readContext:er,use:rf,useCallback:un,useContext:un,useEffect:un,useImperativeHandle:un,useLayoutEffect:un,useInsertionEffect:un,useMemo:un,useReducer:un,useRef:un,useState:un,useDebugValue:un,useDeferredValue:un,useTransition:un,useSyncExternalStore:un,useId:un,useHostTransitionStatus:un,useFormState:un,useActionState:un,useOptimistic:un,useMemoCache:un,useCacheRefresh:un};Iu.useEffectEvent=un;var S6={readContext:er,use:rf,useCallback:function(i,l){return xr().memoizedState=[i,l===void 0?null:l],i},useContext:er,useEffect:c6,useImperativeHandle:function(i,l,d){d=d!=null?d.concat([i]):null,sf(4194308,4,h6.bind(null,l,i),d)},useLayoutEffect:function(i,l){return sf(4194308,4,i,l)},useInsertionEffect:function(i,l){sf(4,2,i,l)},useMemo:function(i,l){var d=xr();l=l===void 0?null:l;var g=i();if(Io){Xn(!0);try{i()}finally{Xn(!1)}}return d.memoizedState=[g,l],g},useReducer:function(i,l,d){var g=xr();if(d!==void 0){var b=d(l);if(Io){Xn(!0);try{d(l)}finally{Xn(!1)}}}else b=l;return g.memoizedState=g.baseState=b,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:b},g.queue=i,i=i.dispatch=CI.bind(null,dt,i),[g.memoizedState,i]},useRef:function(i){var l=xr();return i={current:i},l.memoizedState=i},useState:function(i){i=X1(i);var l=i.queue,d=_6.bind(null,dt,l);return l.dispatch=d,[i.memoizedState,d]},useDebugValue:eg,useDeferredValue:function(i,l){var d=xr();return tg(d,i,l)},useTransition:function(){var i=X1(!1);return i=b6.bind(null,dt,i.queue,!0,!1),xr().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,d){var g=dt,b=xr();if(Nt){if(d===void 0)throw Error(r(407));d=d()}else{if(d=l(),Gt===null)throw Error(r(349));(St&127)!==0||Y3(g,l,d)}b.memoizedState=d;var y={value:d,getSnapshot:l};return b.queue=y,c6(W3.bind(null,g,y,i),[i]),g.flags|=2048,Ql(9,{destroy:void 0},Q3.bind(null,g,y,d,l),null),d},useId:function(){var i=xr(),l=Gt.identifierPrefix;if(Nt){var d=Za,g=Xa;d=(g&~(1<<32-zt(g)-1)).toString(32)+d,l="_"+l+"R_"+d,d=tf++,0<d&&(l+="H"+d.toString(32)),l+="_"}else d=yI++,l="_"+l+"r_"+d.toString(32)+"_";return i.memoizedState=l},useHostTransitionStatus:rg,useFormState:a6,useActionState:a6,useOptimistic:function(i){var l=xr();l.memoizedState=l.baseState=i;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=d,l=ag.bind(null,dt,!0,d),d.dispatch=l,[i,l]},useMemoCache:Q1,useCacheRefresh:function(){return xr().memoizedState=SI.bind(null,dt)},useEffectEvent:function(i){var l=xr(),d={impl:i};return l.memoizedState=d,function(){if((Bt&2)!==0)throw Error(r(440));return d.impl.apply(void 0,arguments)}}},sg={readContext:er,use:rf,useCallback:p6,useContext:er,useEffect:J1,useImperativeHandle:m6,useInsertionEffect:d6,useLayoutEffect:f6,useMemo:g6,useReducer:af,useRef:l6,useState:function(){return af(Bs)},useDebugValue:eg,useDeferredValue:function(i,l){var d=vn();return x6(d,Ft.memoizedState,i,l)},useTransition:function(){var i=af(Bs)[0],l=vn().memoizedState;return[typeof i=="boolean"?i:Ou(i),l]},useSyncExternalStore:G3,useId:E6,useHostTransitionStatus:rg,useFormState:s6,useActionState:s6,useOptimistic:function(i,l){var d=vn();return Z3(d,Ft,i,l)},useMemoCache:Q1,useCacheRefresh:w6};sg.useEffectEvent=u6;var C6={readContext:er,use:rf,useCallback:p6,useContext:er,useEffect:J1,useImperativeHandle:m6,useInsertionEffect:d6,useLayoutEffect:f6,useMemo:g6,useReducer:K1,useRef:l6,useState:function(){return K1(Bs)},useDebugValue:eg,useDeferredValue:function(i,l){var d=vn();return Ft===null?tg(d,i,l):x6(d,Ft.memoizedState,i,l)},useTransition:function(){var i=K1(Bs)[0],l=vn().memoizedState;return[typeof i=="boolean"?i:Ou(i),l]},useSyncExternalStore:G3,useId:E6,useHostTransitionStatus:rg,useFormState:o6,useActionState:o6,useOptimistic:function(i,l){var d=vn();return Ft!==null?Z3(d,Ft,i,l):(d.baseState=i,[i,d.queue.dispatch])},useMemoCache:Q1,useCacheRefresh:w6};C6.useEffectEvent=u6;function ig(i,l,d,g){l=i.memoizedState,d=d(g,l),d=d==null?l:m({},l,d),i.memoizedState=d,i.lanes===0&&(i.updateQueue.baseState=d)}var og={enqueueSetState:function(i,l,d){i=i._reactInternals;var g=Kr(),b=wi(g);b.payload=l,d!=null&&(b.callback=d),l=_i(i,b,g),l!==null&&(Lr(l,i,g),Cu(l,i,g))},enqueueReplaceState:function(i,l,d){i=i._reactInternals;var g=Kr(),b=wi(g);b.tag=1,b.payload=l,d!=null&&(b.callback=d),l=_i(i,b,g),l!==null&&(Lr(l,i,g),Cu(l,i,g))},enqueueForceUpdate:function(i,l){i=i._reactInternals;var d=Kr(),g=wi(d);g.tag=2,l!=null&&(g.callback=l),l=_i(i,g,d),l!==null&&(Lr(l,i,d),Cu(l,i,d))}};function k6(i,l,d,g,b,y,N){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(g,y,N):l.prototype&&l.prototype.isPureReactComponent?!vu(d,g)||!vu(b,y):!0}function N6(i,l,d,g){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(d,g),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(d,g),l.state!==i&&og.enqueueReplaceState(l,l.state,null)}function Mo(i,l){var d=l;if("ref"in l){d={};for(var g in l)g!=="ref"&&(d[g]=l[g])}if(i=i.defaultProps){d===l&&(d=m({},d));for(var b in i)d[b]===void 0&&(d[b]=i[b])}return d}function R6(i){z0(i)}function O6(i){console.error(i)}function D6(i){z0(i)}function cf(i,l){try{var d=i.onUncaughtError;d(l.value,{componentStack:l.stack})}catch(g){setTimeout(function(){throw g})}}function I6(i,l,d){try{var g=i.onCaughtError;g(d.value,{componentStack:d.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function lg(i,l,d){return d=wi(d),d.tag=3,d.payload={element:null},d.callback=function(){cf(i,l)},d}function M6(i){return i=wi(i),i.tag=3,i}function P6(i,l,d,g){var b=d.type.getDerivedStateFromError;if(typeof b=="function"){var y=g.value;i.payload=function(){return b(y)},i.callback=function(){I6(l,d,g)}}var N=d.stateNode;
vendor: 15,400 bytes, line 49
49N!==null&&typeof N.componentDidCatch=="function"&&(i.callback=function(){I6(l,d,g),typeof b!="function"&&(Ni===null?Ni=new Set([this]):Ni.add(this));var P=g.stack;this.componentDidCatch(g.value,{componentStack:P!==null?P:""})})}function kI(i,l,d,g,b){if(d.flags|=32768,g!==null&&typeof g=="object"&&typeof g.then=="function"){if(l=d.alternate,l!==null&&Hl(l,d,b,!0),d=Gr.current,d!==null){switch(d.tag){case 31:case 13:return pa===null?Ef():d.alternate===null&&dn===0&&(dn=3),d.flags&=-257,d.flags|=65536,d.lanes=b,g===W0?d.flags|=16384:(l=d.updateQueue,l===null?d.updateQueue=new Set([g]):l.add(g),Ig(i,g,b)),!1;case 22:return d.flags|=65536,g===W0?d.flags|=16384:(l=d.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([g])},d.updateQueue=l):(d=l.retryQueue,d===null?l.retryQueue=new Set([g]):d.add(g)),Ig(i,g,b)),!1}throw Error(r(435,d.tag))}return Ig(i,g,b),Ef(),!1}if(Nt)return l=Gr.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=b,g!==C1&&(i=Error(r(422),{cause:g}),wu(da(i,d)))):(g!==C1&&(l=Error(r(423),{cause:g}),wu(da(l,d))),i=i.current.alternate,i.flags|=65536,b&=-b,i.lanes|=b,g=da(g,d),b=lg(i.stateNode,g,b),B1(i,b),dn!==4&&(dn=2)),!1;var y=Error(r(520),{cause:g});if(y=da(y,d),Uu===null?Uu=[y]:Uu.push(y),dn!==4&&(dn=2),l===null)return!0;g=da(g,d),d=l;do{switch(d.tag){case 3:return d.flags|=65536,i=b&-b,d.lanes|=i,i=lg(d.stateNode,g,i),B1(d,i),!1;case 1:if(l=d.type,y=d.stateNode,(d.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Ni===null||!Ni.has(y))))return d.flags|=65536,b&=-b,d.lanes|=b,b=M6(b),P6(b,i,d,g),B1(d,b),!1}d=d.return}while(d!==null);return!1}var cg=Error(r(461)),Sn=!1;function tr(i,l,d,g){l.child=i===null?z3(l,null,d,g):Do(l,i.child,d,g)}function L6(i,l,d,g,b){d=d.render;var y=l.ref;if("ref"in g){var N={};for(var P in g)P!=="ref"&&(N[P]=g[P])}else N=g;return ko(l),g=$1(i,l,d,N,y,b),P=V1(),i!==null&&!Sn?(G1(i,l,b),zs(i,l,b)):(Nt&&P&&A1(l),l.flags|=1,tr(i,l,g,b),l.child)}function j6(i,l,d,g,b){if(i===null){var y=d.type;return typeof y=="function"&&!w1(y)&&y.defaultProps===void 0&&d.compare===null?(l.tag=15,l.type=y,B6(i,l,y,g,b)):(i=q0(d.type,null,g,l,l.mode,b),i.ref=l.ref,i.return=l,l.child=i)}if(y=i.child,!xg(i,b)){var N=y.memoizedProps;if(d=d.compare,d=d!==null?d:vu,d(N,g)&&i.ref===l.ref)return zs(i,l,b)}return l.flags|=1,i=Is(y,g),i.ref=l.ref,i.return=l,l.child=i}function B6(i,l,d,g,b){if(i!==null){var y=i.memoizedProps;if(vu(y,g)&&i.ref===l.ref)if(Sn=!1,l.pendingProps=g=y,xg(i,b))(i.flags&131072)!==0&&(Sn=!0);else return l.lanes=i.lanes,zs(i,l,b)}return ug(i,l,d,g,b)}function z6(i,l,d,g){var b=g.children,y=i!==null?i.memoizedState:null;if(i===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),g.mode==="hidden"){if((l.flags&128)!==0){if(y=y!==null?y.baseLanes|d:d,i!==null){for(g=l.child=i.child,b=0;g!==null;)b=b|g.lanes|g.childLanes,g=g.sibling;g=b&~y}else g=0,l.child=null;return H6(i,l,y,d,g)}if((d&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},i!==null&&Y0(l,y!==null?y.cachePool:null),y!==null?F3(l,y):H1(),q3(l);else return g=l.lanes=536870912,H6(i,l,y!==null?y.baseLanes|d:d,d,g)}else y!==null?(Y0(l,y.cachePool),F3(l,y),Ai(),l.memoizedState=null):(i!==null&&Y0(l,null),H1(),Ai());return tr(i,l,b,d),l.child}function Mu(i,l){return i!==null&&i.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function H6(i,l,d,g,b){var y=M1();return y=y===null?null:{parent:Tn._currentValue,pool:y},l.memoizedState={baseLanes:d,cachePool:y},i!==null&&Y0(l,null),H1(),q3(l),i!==null&&Hl(i,l,g,!0),l.childLanes=b,null}function uf(i,l){return l=ff({mode:l.mode,children:l.children},i.mode),l.ref=i.ref,i.child=l,l.return=i,l}function U6(i,l,d){return Do(l,i.child,null,d),i=uf(l,l.pendingProps),i.flags|=2,Yr(l),l.memoizedState=null,i}function NI(i,l,d){var g=l.pendingProps,b=(l.flags&128)!==0;if(l.flags&=-129,i===null){if(Nt){if(g.mode==="hidden")return i=uf(l,g),l.lanes=536870912,Mu(null,i);if(F1(l),(i=en)?(i=J5(i,ma),i=i!==null&&i.data==="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:xi!==null?{id:Xa,overflow:Za}:null,retryLane:536870912,hydrationErrors:null},d=T3(i),d.return=l,l.child=d,Jn=l,en=null)):i=null,i===null)throw vi(l);return l.lanes=536870912,null}return uf(l,g)}var y=i.memoizedState;if(y!==null){var N=y.dehydrated;if(F1(l),b)if(l.flags&256)l.flags&=-257,l=U6(i,l,d);else if(l.memoizedState!==null)l.child=i.child,l.flags|=128,l=null;else throw Error(r(558));else if(Sn||Hl(i,l,d,!1),b=(d&i.childLanes)!==0,Sn||b){if(g=Gt,g!==null&&(N=Nr(g,d),N!==0&&N!==y.retryLane))throw y.retryLane=N,To(i,N),Lr(g,i,N),cg;Ef(),l=U6(i,l,d)}else i=y.treeContext,en=ga(N.nextSibling),Jn=l,Nt=!0,bi=null,ma=!1,i!==null&&C3(l,i),l=uf(l,g),l.flags|=4096;return l}return i=Is(i.child,{mode:g.mode,children:g.children}),i.ref=l.ref,l.child=i,i.return=l,i}function df(i,l){var d=l.ref;if(d===null)i!==null&&i.ref!==null&&(l.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(r(284));(i===null||i.ref!==d)&&(l.flags|=4194816)}}function ug(i,l,d,g,b){return ko(l),d=$1(i,l,d,g,void 0,b),g=V1(),i!==null&&!Sn?(G1(i,l,b),zs(i,l,b)):(Nt&&g&&A1(l),l.flags|=1,tr(i,l,d,b),l.child)}function F6(i,l,d,g,b,y){return ko(l),l.updateQueue=null,d=V3(l,g,d,b),$3(i),g=V1(),i!==null&&!Sn?(G1(i,l,y),zs(i,l,y)):(Nt&&g&&A1(l),l.flags|=1,tr(i,l,d,y),l.child)}function q6(i,l,d,g,b){if(ko(l),l.stateNode===null){var y=Ll,N=d.contextType;typeof N=="object"&&N!==null&&(y=er(N)),y=new d(g,y),l.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=og,l.stateNode=y,y._reactInternals=l,y=l.stateNode,y.props=g,y.state=l.memoizedState,y.refs={},L1(l),N=d.contextType,y.context=typeof N=="object"&&N!==null?er(N):Ll,y.state=l.memoizedState,N=d.getDerivedStateFromProps,typeof N=="function"&&(ig(l,d,N,g),y.state=l.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(N=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),N!==y.state&&og.enqueueReplaceState(y,y.state,null),Nu(l,g,y,b),ku(),y.state=l.memoizedState),typeof y.componentDidMount=="function"&&(l.flags|=4194308),g=!0}else if(i===null){y=l.stateNode;var P=l.memoizedProps,X=Mo(d,P);y.props=X;var fe=y.context,ye=d.contextType;N=Ll,typeof ye=="object"&&ye!==null&&(N=er(ye));var Te=d.getDerivedStateFromProps;ye=typeof Te=="function"||typeof y.getSnapshotBeforeUpdate=="function",P=l.pendingProps!==P,ye||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(P||fe!==N)&&N6(l,y,g,N),Ei=!1;var me=l.memoizedState;y.state=me,Nu(l,g,y,b),ku(),fe=l.memoizedState,P||me!==fe||Ei?(typeof Te=="function"&&(ig(l,d,Te,g),fe=l.memoizedState),(X=Ei||k6(l,d,X,g,me,fe,N))?(ye||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(l.flags|=4194308)):(typeof y.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=g,l.memoizedState=fe),y.props=g,y.state=fe,y.context=N,g=X):(typeof y.componentDidMount=="function"&&(l.flags|=4194308),g=!1)}else{y=l.stateNode,j1(i,l),N=l.memoizedProps,ye=Mo(d,N),y.props=ye,Te=l.pendingProps,me=y.context,fe=d.contextType,X=Ll,typeof fe=="object"&&fe!==null&&(X=er(fe)),P=d.getDerivedStateFromProps,(fe=typeof P=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(N!==Te||me!==X)&&N6(l,y,g,X),Ei=!1,me=l.memoizedState,y.state=me,Nu(l,g,y,b),ku();var xe=l.memoizedState;N!==Te||me!==xe||Ei||i!==null&&i.dependencies!==null&&V0(i.dependencies)?(typeof P=="function"&&(ig(l,d,P,g),xe=l.memoizedState),(ye=Ei||k6(l,d,ye,g,me,xe,X)||i!==null&&i.dependencies!==null&&V0(i.dependencies))?(fe||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(g,xe,X),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(g,xe,X)),typeof y.componentDidUpdate=="function"&&(l.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof y.componentDidUpdate!="function"||N===i.memoizedProps&&me===i.memoizedState||(l.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&me===i.memoizedState||(l.flags|=1024),l.memoizedProps=g,l.memoizedState=xe),y.props=g,y.state=xe,y.context=X,g=ye):(typeof y.componentDidUpdate!="function"||N===i.memoizedProps&&me===i.memoizedState||(l.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&me===i.memoizedState||(l.flags|=1024),g=!1)}return y=g,df(i,l),g=(l.flags&128)!==0,y||g?(y=l.stateNode,d=g&&typeof d.getDerivedStateFromError!="function"?null:y.render(),l.flags|=1,i!==null&&g?(l.child=Do(l,i.child,null,b),l.child=Do(l,null,d,b)):tr(i,l,d,b),l.memoizedState=y.state,i=l.child):i=zs(i,l,b),i}function $6(i,l,d,g){return So(),l.flags|=256,tr(i,l,d,g),l.child}var dg={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fg(i){return{baseLanes:i,cachePool:I3()}}function hg(i,l,d){return i=i!==null?i.childLanes&~d:0,l&&(i|=Wr),i}function V6(i,l,d){var g=l.pendingProps,b=!1,y=(l.flags&128)!==0,N;if((N=y)||(N=i!==null&&i.memoizedState===null?!1:(bn.current&2)!==0),N&&(b=!0,l.flags&=-129),N=(l.flags&32)!==0,l.flags&=-33,i===null){if(Nt){if(b?Ti(l):Ai(),(i=en)?(i=J5(i,ma),i=i!==null&&i.data!=="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:xi!==null?{id:Xa,overflow:Za}:null,retryLane:536870912,hydrationErrors:null},d=T3(i),d.return=l,l.child=d,Jn=l,en=null)):i=null,i===null)throw vi(l);return Wg(i)?l.lanes=32:l.lanes=536870912,null}var P=g.children;return g=g.fallback,b?(Ai(),b=l.mode,P=ff({mode:"hidden",children:P},b),g=Ao(g,b,d,null),P.return=l,g.return=l,P.sibling=g,l.child=P,g=l.child,g.memoizedState=fg(d),g.childLanes=hg(i,N,d),l.memoizedState=dg,Mu(null,g)):(Ti(l),mg(l,P))}var X=i.memoizedState;if(X!==null&&(P=X.dehydrated,P!==null)){if(y)l.flags&256?(Ti(l),l.flags&=-257,l=pg(i,l,d)):l.memoizedState!==null?(Ai(),l.child=i.child,l.flags|=128,l=null):(Ai(),P=g.fallback,b=l.mode,g=ff({mode:"visible",children:g.children},b),P=Ao(P,b,d,null),P.flags|=2,g.return=l,P.return=l,g.sibling=P,l.child=g,Do(l,i.child,null,d),g=l.child,g.memoizedState=fg(d),g.childLanes=hg(i,N,d),l.memoizedState=dg,l=Mu(null,g));else if(Ti(l),Wg(P)){if(N=P.nextSibling&&P.nextSibling.dataset,N)var fe=N.dgst;N=fe,g=Error(r(419)),g.stack="",g.digest=N,wu({value:g,source:null,stack:null}),l=pg(i,l,d)}else if(Sn||Hl(i,l,d,!1),N=(d&i.childLanes)!==0,Sn||N){if(N=Gt,N!==null&&(g=Nr(N,d),g!==0&&g!==X.retryLane))throw X.retryLane=g,To(i,g),Lr(N,i,g),cg;Qg(P)||Ef(),l=pg(i,l,d)}else Qg(P)?(l.flags|=192,l.child=i.child,l=null):(i=X.treeContext,en=ga(P.nextSibling),Jn=l,Nt=!0,bi=null,ma=!1,i!==null&&C3(l,i),l=mg(l,g.children),l.flags|=4096);return l}return b?(Ai(),P=g.fallback,b=l.mode,X=i.child,fe=X.sibling,g=Is(X,{mode:"hidden",children:g.children}),g.subtreeFlags=X.subtreeFlags&65011712,fe!==null?P=Is(fe,P):(P=Ao(P,b,d,null),P.flags|=2),P.return=l,g.return=l,g.sibling=P,l.child=g,Mu(null,g),g=l.child,P=i.child.memoizedState,P===null?P=fg(d):(b=P.cachePool,b!==null?(X=Tn._currentValue,b=b.parent!==X?{parent:X,pool:X}:b):b=I3(),P={baseLanes:P.baseLanes|d,cachePool:b}),g.memoizedState=P,g.childLanes=hg(i,N,d),l.memoizedState=dg,Mu(i.child,g)):(Ti(l),d=i.child,i=d.sibling,d=Is(d,{mode:"visible",children:g.children}),d.return=l,d.sibling=null,i!==null&&(N=l.deletions,N===null?(l.deletions=[i],l.flags|=16):N.push(i)),l.child=d,l.memoizedState=null,d)}function mg(i,l){return l=ff({mode:"visible",children:l},i.mode),l.return=i,i.child=l}function ff(i,l){return i=Vr(22,i,null,l),i.lanes=0,i}function pg(i,l,d){return Do(l,i.child,null,d),i=mg(l,l.pendingProps.children),i.flags|=2,l.memoizedState=null,i}function G6(i,l,d){i.lanes|=l;var g=i.alternate;g!==null&&(g.lanes|=l),R1(i.return,l,d)}function gg(i,l,d,g,b,y){var N=i.memoizedState;N===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:g,tail:d,tailMode:b,treeForkCount:y}:(N.isBackwards=l,N.rendering=null,N.renderingStartTime=0,N.last=g,N.tail=d,N.tailMode=b,N.treeForkCount=y)}function Y6(i,l,d){var g=l.pendingProps,b=g.revealOrder,y=g.tail;g=g.children;var N=bn.current,P=(N&2)!==0;if(P?(N=N&1|2,l.flags|=128):N&=1,D(bn,N),tr(i,l,g,d),g=Nt?Eu:0,!P&&i!==null&&(i.flags&128)!==0)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&G6(i,d,l);else if(i.tag===19)G6(i,d,l);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(b){case"forwards":for(d=l.child,b=null;d!==null;)i=d.alternate,i!==null&&J0(i)===null&&(b=d),d=d.sibling;d=b,d===null?(b=l.child,l.child=null):(b=d.sibling,d.sibling=null),gg(l,!1,b,d,y,g);break;case"backwards":case"unstable_legacy-backwards":for(d=null,b=l.child,l.child=null;b!==null;){if(i=b.alternate,i!==null&&J0(i)===null){l.child=b;break}i=b.sibling,b.sibling=d,d=b,b=i}gg(l,!0,d,null,y,g);break;case"together":gg(l,!1,null,null,void 0,g);break;default:l.memoizedState=null}return l.child}function zs(i,l,d){if(i!==null&&(l.dependencies=i.dependencies),ki|=l.lanes,(d&l.childLanes)===0)if(i!==null){if(Hl(i,l,d,!1),(d&l.childLanes)===0)return null}else return null;if(i!==null&&l.child!==i.child)throw Error(r(153));if(l.child!==null){for(i=l.child,d=Is(i,i.pendingProps),l.child=d,d.return=l;i.sibling!==null;)i=i.sibling,d=d.sibling=Is(i,i.pendingProps),d.return=l;d.sibling=null}return l.child}function xg(i,l){return(i.lanes&l)!==0?!0:(i=i.dependencies,!!(i!==null&&V0(i)))}function RI(i,l,d){switch(l.tag){case 3:Pe(l,l.stateNode.containerInfo),yi(l,Tn,i.memoizedState.cache),So();break;case 27:case 5:Xe(l);break;case 4:Pe(l,l.stateNode.containerInfo);break;case 10:yi(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,F1(l),null;break;case 13:var g=l.memoizedState;if(g!==null)return g.dehydrated!==null?(Ti(l),l.flags|=128,null):(d&l.child.childLanes)!==0?V6(i,l,d):(Ti(l),i=zs(i,l,d),i!==null?i.sibling:null);Ti(l);break;case 19:var b=(i.flags&128)!==0;if(g=(d&l.childLanes)!==0,g||(Hl(i,l,d,!1),g=(d&l.childLanes)!==0),b){if(g)return Y6(i,l,d);l.flags|=128}if(b=l.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),D(bn,bn.current),g)break;return null;case 22:return l.lanes=0,z6(i,l,d,l.pendingProps);case 24:yi(l,Tn,i.memoizedState.cache)}return zs(i,l,d)}function Q6(i,l,d){if(i!==null)if(i.memoizedProps!==l.pendingProps)Sn=!0;else{if(!xg(i,d)&&(l.flags&128)===0)return Sn=!1,RI(i,l,d);Sn=(i.flags&131072)!==0}else Sn=!1,Nt&&(l.flags&1048576)!==0&&S3(l,Eu,l.index);switch(l.lanes=0,l.tag){case 16:e:{var g=l.pendingProps;if(i=Ro(l.elementType),l.type=i,typeof i=="function")w1(i)?(g=Mo(i,g),l.tag=1,l=q6(null,l,
vendor: 2,629 bytes, line 49
49i,g,d)):(l.tag=0,l=ug(null,l,i,g,d));else{if(i!=null){var b=i.$$typeof;if(b===q){l.tag=11,l=L6(null,l,i,g,d);break e}else if(b===M){l.tag=14,l=j6(null,l,i,g,d);break e}}throw l=ie(i)||i,Error(r(306,l,""))}}return l;case 0:return ug(i,l,l.type,l.pendingProps,d);case 1:return g=l.type,b=Mo(g,l.pendingProps),q6(i,l,g,b,d);case 3:e:{if(Pe(l,l.stateNode.containerInfo),i===null)throw Error(r(387));g=l.pendingProps;var y=l.memoizedState;b=y.element,j1(i,l),Nu(l,g,null,d);var N=l.memoizedState;if(g=N.cache,yi(l,Tn,g),g!==y.cache&&O1(l,[Tn],d,!0),ku(),g=N.element,y.isDehydrated)if(y={element:g,isDehydrated:!1,cache:N.cache},l.updateQueue.baseState=y,l.memoizedState=y,l.flags&256){l=$6(i,l,g,d);break e}else if(g!==b){b=da(Error(r(424)),l),wu(b),l=$6(i,l,g,d);break e}else{switch(i=l.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(en=ga(i.firstChild),Jn=l,Nt=!0,bi=null,ma=!0,d=z3(l,null,g,d),l.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(So(),g===b){l=zs(i,l,d);break e}tr(i,l,g,d)}l=l.child}return l;case 26:return df(i,l),i===null?(d=s8(l.type,null,l.pendingProps,null))?l.memoizedState=d:Nt||(d=l.type,i=l.pendingProps,g=kf(Se.current).createElement(d),g[Zn]=l,g[Rr]=i,nr(g,d,i),Un(g),l.stateNode=g):l.memoizedState=s8(l.type,i.memoizedProps,l.pendingProps,i.memoizedState),null;case 27:return Xe(l),i===null&&Nt&&(g=l.stateNode=n8(l.type,l.pendingProps,Se.current),Jn=l,ma=!0,b=en,Ii(l.type)?(Kg=b,en=ga(g.firstChild)):en=b),tr(i,l,l.pendingProps.children,d),df(i,l),i===null&&(l.flags|=4194304),l.child;case 5:return i===null&&Nt&&((b=g=en)&&(g=iM(g,l.type,l.pendingProps,ma),g!==null?(l.stateNode=g,Jn=l,en=ga(g.firstChild),ma=!1,b=!0):b=!1),b||vi(l)),Xe(l),b=l.type,y=l.pendingProps,N=i!==null?i.memoizedProps:null,g=y.children,Vg(b,y)?g=null:N!==null&&Vg(b,N)&&(l.flags|=32),l.memoizedState!==null&&(b=$1(i,l,EI,null,null,d),Wu._currentValue=b),df(i,l),tr(i,l,g,d),l.child;case 6:return i===null&&Nt&&((i=d=en)&&(d=oM(d,l.pendingProps,ma),d!==null?(l.stateNode=d,Jn=l,en=null,i=!0):i=!1),i||vi(l)),null;case 13:return V6(i,l,d);case 4:return Pe(l,l.stateNode.containerInfo),g=l.pendingProps,i===null?l.child=Do(l,null,g,d):tr(i,l,g,d),l.child;case 11:return L6(i,l,l.type,l.pendingProps,d);case 7:return tr(i,l,l.pendingProps,d),l.child;case 8:return tr(i,l,l.pendingProps.children,d),l.child;case 12:return tr(i,l,l.pendingProps.children,d),l.child;case 10:return g=l.pendingProps,yi(l,l.type,g.value),tr(i,l,g.children,d),l.child;case 9:return b=l.type._context,g=l.pendingProps.children,ko(l),b=er(b),g=g(b),l.flags|=1,tr(i,l,g,d),l.child;
vendor: 4,162 bytes, line 49
49case 14:return j6(i,l,l.type,l.pendingProps,d);case 15:return B6(i,l,l.type,l.pendingProps,d);case 19:return Y6(i,l,d);case 31:return NI(i,l,d);case 22:return z6(i,l,d,l.pendingProps);case 24:return ko(l),g=er(Tn),i===null?(b=M1(),b===null&&(b=Gt,y=D1(),b.pooledCache=y,y.refCount++,y!==null&&(b.pooledCacheLanes|=d),b=y),l.memoizedState={parent:g,cache:b},L1(l),yi(l,Tn,b)):((i.lanes&d)!==0&&(j1(i,l),Nu(l,null,null,d),ku()),b=i.memoizedState,y=l.memoizedState,b.parent!==g?(b={parent:g,cache:g},l.memoizedState=b,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=b),yi(l,Tn,g)):(g=y.cache,yi(l,Tn,g),g!==b.cache&&O1(l,[Tn],d,!0))),tr(i,l,l.pendingProps.children,d),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Hs(i){i.flags|=4}function bg(i,l,d,g,b){if((l=(i.mode&32)!==0)&&(l=!1),l){if(i.flags|=16777216,(b&335544128)===b)if(i.stateNode.complete)i.flags|=8192;else if(E5())i.flags|=8192;else throw Oo=W0,P1}else i.flags&=-16777217}function W6(i,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!u8(l))if(E5())i.flags|=8192;else throw Oo=W0,P1}function hf(i,l){l!==null&&(i.flags|=4),i.flags&16384&&(l=i.tag!==22?ir():536870912,i.lanes|=l,Zl|=l)}function Pu(i,l){if(!Nt)switch(i.tailMode){case"hidden":l=i.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?i.tail=null:d.sibling=null;break;case"collapsed":d=i.tail;for(var g=null;d!==null;)d.alternate!==null&&(g=d),d=d.sibling;g===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:g.sibling=null}}function tn(i){var l=i.alternate!==null&&i.alternate.child===i.child,d=0,g=0;if(l)for(var b=i.child;b!==null;)d|=b.lanes|b.childLanes,g|=b.subtreeFlags&65011712,g|=b.flags&65011712,b.return=i,b=b.sibling;else for(b=i.child;b!==null;)d|=b.lanes|b.childLanes,g|=b.subtreeFlags,g|=b.flags,b.return=i,b=b.sibling;return i.subtreeFlags|=g,i.childLanes=d,l}function OI(i,l,d){var g=l.pendingProps;switch(S1(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tn(l),null;case 1:return tn(l),null;case 3:return d=l.stateNode,g=null,i!==null&&(g=i.memoizedState.cache),l.memoizedState.cache!==g&&(l.flags|=2048),Ls(Tn),Ye(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(i===null||i.child===null)&&(zl(l)?Hs(l):i===null||i.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,k1())),tn(l),null;case 26:var b=l.type,y=l.memoizedState;return i===null?(Hs(l),y!==null?(tn(l),W6(l,y)):(tn(l),bg(l,b,null,g,d))):y?y!==i.memoizedState?(Hs(l),tn(l),W6(l,y)):(tn(l),l.flags&=-16777217):(i=i.memoizedProps,i!==g&&Hs(l),tn(l),bg(l,b,i,g,d)),null;case 27:if(it(l),d=Se.current,b=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==g&&Hs(l);else{if(!g){if(l.stateNode===null)throw Error(r(166));return tn(l),null}i=ce.current,zl(l)?k3(l):(i=n8(b,g,d),l.stateNode=i,Hs(l))}return tn(l),null;case 5:if(it(l),b=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==g&&Hs(l);else{if(!g){if(l.stateNode===null)throw Error(r(166));return tn(l),null}if(y=ce.current,zl(l))k3(l);else{var N=kf(Se.current);switch(y){case 1:y=N.createElementNS("http://www.w3.org/2000/svg",b);break;case 2:y=N.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;default:switch(b){case"svg":y=N.createElementNS("http://www.w3.org/2000/svg",b);break;case"math":y=N.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;case"script":y=N.createElement("div"),y.innerHTML="<script><\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof g.is=="string"?N.createElement("select",{is:g.is}):N.createElement("select"),g.multiple?y.multiple=!0:g.size&&(y.size=g.size);break;default:y=typeof g.is=="string"?N.createElement(b,{is:g.is}):N.createElement(b)}}y[Zn]=l,y[Rr]=g;e:for(N=l.child;N!==null;){if(N.tag===5||N.tag===6)y.appendChild(N.stateNode);else if(N.tag!==4&&N.tag!==27&&N.child!==null){N.child.return=N,N=N.child;continue}if(N===l)break e;for(;N.sibling===null;){if(N.return===null||N.return===l)break e;N=N.return}N.sibling.return=N.return,N=N.sibling}l.stateNode=y;e:switch(nr(y,b,g),b){case"button":case"input":case"select":case"textarea":g=!!g.autoF
vendor: 25,424 bytes, line 49
49ocus;break e;case"img":g=!0;break e;default:g=!1}g&&Hs(l)}}return tn(l),bg(l,l.type,i===null?null:i.memoizedProps,l.pendingProps,d),null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==g&&Hs(l);else{if(typeof g!="string"&&l.stateNode===null)throw Error(r(166));if(i=Se.current,zl(l)){if(i=l.stateNode,d=l.memoizedProps,g=null,b=Jn,b!==null)switch(b.tag){case 27:case 5:g=b.memoizedProps}i[Zn]=l,i=!!(i.nodeValue===d||g!==null&&g.suppressHydrationWarning===!0||V5(i.nodeValue,d)),i||vi(l,!0)}else i=kf(i).createTextNode(g),i[Zn]=l,l.stateNode=i}return tn(l),null;case 31:if(d=l.memoizedState,i===null||i.memoizedState!==null){if(g=zl(l),d!==null){if(i===null){if(!g)throw Error(r(318));if(i=l.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[Zn]=l}else So(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;tn(l),i=!1}else d=k1(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=d),i=!0;if(!i)return l.flags&256?(Yr(l),l):(Yr(l),null);if((l.flags&128)!==0)throw Error(r(558))}return tn(l),null;case 13:if(g=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(b=zl(l),g!==null&&g.dehydrated!==null){if(i===null){if(!b)throw Error(r(318));if(b=l.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[Zn]=l}else So(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;tn(l),b=!1}else b=k1(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=b),b=!0;if(!b)return l.flags&256?(Yr(l),l):(Yr(l),null)}return Yr(l),(l.flags&128)!==0?(l.lanes=d,l):(d=g!==null,i=i!==null&&i.memoizedState!==null,d&&(g=l.child,b=null,g.alternate!==null&&g.alternate.memoizedState!==null&&g.alternate.memoizedState.cachePool!==null&&(b=g.alternate.memoizedState.cachePool.pool),y=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(y=g.memoizedState.cachePool.pool),y!==b&&(g.flags|=2048)),d!==i&&d&&(l.child.flags|=8192),hf(l,l.updateQueue),tn(l),null);case 4:return Ye(),i===null&&Hg(l.stateNode.containerInfo),tn(l),null;case 10:return Ls(l.type),tn(l),null;case 19:if(oe(bn),g=l.memoizedState,g===null)return tn(l),null;if(b=(l.flags&128)!==0,y=g.rendering,y===null)if(b)Pu(g,!1);else{if(dn!==0||i!==null&&(i.flags&128)!==0)for(i=l.child;i!==null;){if(y=J0(i),y!==null){for(l.flags|=128,Pu(g,!1),i=y.updateQueue,l.updateQueue=i,hf(l,i),l.subtreeFlags=0,i=d,d=l.child;d!==null;)_3(d,i),d=d.sibling;return D(bn,bn.current&1|2),Nt&&Ms(l,g.treeForkCount),l.child}i=i.sibling}g.tail!==null&&Wn()>bf&&(l.flags|=128,b=!0,Pu(g,!1),l.lanes=4194304)}else{if(!b)if(i=J0(y),i!==null){if(l.flags|=128,b=!0,i=i.updateQueue,l.updateQueue=i,hf(l,i),Pu(g,!0),g.tail===null&&g.tailMode==="hidden"&&!y.alternate&&!Nt)return tn(l),null}else 2*Wn()-g.renderingStartTime>bf&&d!==536870912&&(l.flags|=128,b=!0,Pu(g,!1),l.lanes=4194304);g.isBackwards?(y.sibling=l.child,l.child=y):(i=g.last,i!==null?i.sibling=y:l.child=y,g.last=y)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=Wn(),i.sibling=null,d=bn.current,D(bn,b?d&1|2:d&1),Nt&&Ms(l,g.treeForkCount),i):(tn(l),null);case 22:case 23:return Yr(l),U1(),g=l.memoizedState!==null,i!==null?i.memoizedState!==null!==g&&(l.flags|=8192):g&&(l.flags|=8192),g?(d&536870912)!==0&&(l.flags&128)===0&&(tn(l),l.subtreeFlags&6&&(l.flags|=8192)):tn(l),d=l.updateQueue,d!==null&&hf(l,d.retryQueue),d=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),g=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(g=l.memoizedState.cachePool.pool),g!==d&&(l.flags|=2048),i!==null&&oe(No),null;case 24:return d=null,i!==null&&(d=i.memoizedState.cache),l.memoizedState.cache!==d&&(l.flags|=2048),Ls(Tn),tn(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function DI(i,l){switch(S1(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return Ls(Tn),Ye(),i=l.flags,(i&65536)!==0&&(i&128)===0?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return it(l),null;case 31:if(l.memoizedState!==null){if(Yr(l),l.alternate===null)throw Error(r(340));So()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 13:if(Yr(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(r(340));So()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 19:return oe(bn),null;case 4:return Ye(),null;case 10:return Ls(l.type),null;case 22:case 23:return Yr(l),U1(),i!==null&&oe(No),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return Ls(Tn),null;case 25:return null;default:return null}}function K6(i,l){switch(S1(l),l.tag){case 3:Ls(Tn),Ye();break;case 26:case 27:case 5:it(l);break;case 4:Ye();break;case 31:l.memoizedState!==null&&Yr(l);break;case 13:Yr(l);break;case 19:oe(bn);break;case 10:Ls(l.type);break;case 22:case 23:Yr(l),U1(),i!==null&&oe(No);break;case 24:Ls(Tn)}}function Lu(i,l){try{var d=l.updateQueue,g=d!==null?d.lastEffect:null;if(g!==null){var b=g.next;d=b;do{if((d.tag&i)===i){g=void 0;var y=d.create,N=d.inst;g=y(),N.destroy=g}d=d.next}while(d!==b)}}catch(P){Ut(l,l.return,P)}}function Si(i,l,d){try{var g=l.updateQueue,b=g!==null?g.lastEffect:null;if(b!==null){var y=b.next;g=y;do{if((g.tag&i)===i){var N=g.inst,P=N.destroy;if(P!==void 0){N.destroy=void 0,b=l;var X=d,fe=P;try{fe()}catch(ye){Ut(b,X,ye)}}}g=g.next}while(g!==y)}}catch(ye){Ut(l,l.return,ye)}}function X6(i){var l=i.updateQueue;if(l!==null){var d=i.stateNode;try{U3(l,d)}catch(g){Ut(i,i.return,g)}}}function Z6(i,l,d){d.props=Mo(i.type,i.memoizedProps),d.state=i.memoizedState;try{d.componentWillUnmount()}catch(g){Ut(i,l,g)}}function ju(i,l){try{var d=i.ref;if(d!==null){switch(i.tag){case 26:case 27:case 5:var g=i.stateNode;break;case 30:g=i.stateNode;break;default:g=i.stateNode}typeof d=="function"?i.refCleanup=d(g):d.current=g}}catch(b){Ut(i,l,b)}}function Ja(i,l){var d=i.ref,g=i.refCleanup;if(d!==null)if(typeof g=="function")try{g()}catch(b){Ut(i,l,b)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(b){Ut(i,l,b)}else d.current=null}function J6(i){var l=i.type,d=i.memoizedProps,g=i.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":d.autoFocus&&g.focus();break e;case"img":d.src?g.src=d.src:d.srcSet&&(g.srcset=d.srcSet)}}catch(b){Ut(i,i.return,b)}}function vg(i,l,d){try{var g=i.stateNode;eM(g,i.type,d,l),g[Rr]=l}catch(b){Ut(i,i.return,b)}}function e5(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Ii(i.type)||i.tag===4}function yg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||e5(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&Ii(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Eg(i,l,d){var g=i.tag;if(g===5||g===6)i=i.stateNode,l?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(i,l):(l=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,l.appendChild(i),d=d._reactRootContainer,d!=null||l.onclick!==null||(l.onclick=Os));else if(g!==4&&(g===27&&Ii(i.type)&&(d=i.stateNode,l=null),i=i.child,i!==null))for(Eg(i,l,d),i=i.sibling;i!==null;)Eg(i,l,d),i=i.sibling}function mf(i,l,d){var g=i.tag;if(g===5||g===6)i=i.stateNode,l?d.insertBefore(i,l):d.appendChild(i);else if(g!==4&&(g===27&&Ii(i.type)&&(d=i.stateNode),i=i.child,i!==null))for(mf(i,l,d),i=i.sibling;i!==null;)mf(i,l,d),i=i.sibling}function t5(i){var l=i.stateNode,d=i.memoizedProps;try{for(var g=i.type,b=l.attributes;b.length;)l.removeAttributeNode(b[0]);nr(l,g,d),l[Zn]=i,l[Rr]=d}catch(y){Ut(i,i.return,y)}}var Us=!1,Cn=!1,wg=!1,n5=typeof WeakSet=="function"?WeakSet:Set,Fn=null;function II(i,l){if(i=i.containerInfo,qg=Pf,i=m3(i),p1(i)){if("selectionStart"in i)var d={start:i.selectionStart,end:i.selectionEnd};else e:{d=(d=i.ownerDocument)&&d.defaultView||window;var g=d.getSelection&&d.getSelection();if(g&&g.rangeCount!==0){d=g.anchorNode;var b=g.anchorOffset,y=g.focusNode;g=g.focusOffset;try{d.nodeType,y.nodeType}catch{d=null;break e}var N=0,P=-1,X=-1,fe=0,ye=0,Te=i,me=null;t:for(;;){for(var xe;Te!==d||b!==0&&Te.nodeType!==3||(P=N+b),Te!==y||g!==0&&Te.nodeType!==3||(X=N+g),Te.nodeType===3&&(N+=Te.nodeValue.length),(xe=Te.firstChild)!==null;)me=Te,Te=xe;for(;;){if(Te===i)break t;if(me===d&&++fe===b&&(P=N),me===y&&++ye===g&&(X=N),(xe=Te.nextSibling)!==null)break;Te=me,me=Te.parentNode}Te=xe}d=P===-1||X===-1?null:{start:P,end:X}}else d=null}d=d||{start:0,end:0}}else d=null;for($g={focusedElem:i,selectionRange:d},Pf=!1,Fn=l;Fn!==null;)if(l=Fn,i=l.child,(l.subtreeFlags&1028)!==0&&i!==null)i.return=l,Fn=i;else for(;Fn!==null;){switch(l=Fn,y=l.alternate,i=l.flags,l.tag){case 0:if((i&4)!==0&&(i=l.updateQueue,i=i!==null?i.events:null,i!==null))for(d=0;d<i.length;d++)b=i[d],b.ref.impl=b.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&y!==null){i=void 0,d=l,b=y.memoizedProps,y=y.memoizedState,g=d.stateNode;try{var $e=Mo(d.type,b);i=g.getSnapshotBeforeUpdate($e,y),g.__reactInternalSnapshotBeforeUpdate=i}catch(rt){Ut(d,d.return,rt)}}break;case 3:if((i&1024)!==0){if(i=l.stateNode.containerInfo,d=i.nodeType,d===9)Yg(i);else if(d===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Yg(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(r(163))}if(i=l.sibling,i!==null){i.return=l.return,Fn=i;break}Fn=l.return}}function r5(i,l,d){var g=d.flags;switch(d.tag){case 0:case 11:case 15:qs(i,d),g&4&&Lu(5,d);break;case 1:if(qs(i,d),g&4)if(i=d.stateNode,l===null)try{i.componentDidMount()}catch(N){Ut(d,d.return,N)}else{var b=Mo(d.type,l.memoizedProps);l=l.memoizedState;try{i.componentDidUpdate(b,l,i.__reactInternalSnapshotBeforeUpdate)}catch(N){Ut(d,d.return,N)}}g&64&&X6(d),g&512&&ju(d,d.return);break;case 3:if(qs(i,d),g&64&&(i=d.updateQueue,i!==null)){if(l=null,d.child!==null)switch(d.child.tag){case 27:case 5:l=d.child.stateNode;break;case 1:l=d.child.stateNode}try{U3(i,l)}catch(N){Ut(d,d.return,N)}}break;case 27:l===null&&g&4&&t5(d);case 26:case 5:qs(i,d),l===null&&g&4&&J6(d),g&512&&ju(d,d.return);break;case 12:qs(i,d);break;case 31:qs(i,d),g&4&&i5(i,d);break;case 13:qs(i,d),g&4&&o5(i,d),g&64&&(i=d.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(d=FI.bind(null,d),lM(i,d))));break;case 22:if(g=d.memoizedState!==null||Us,!g){l=l!==null&&l.memoizedState!==null||Cn,b=Us;var y=Cn;Us=g,(Cn=l)&&!y?$s(i,d,(d.subtreeFlags&8772)!==0):qs(i,d),Us=b,Cn=y}break;case 30:break;default:qs(i,d)}}function a5(i){var l=i.alternate;l!==null&&(i.alternate=null,a5(l)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(l=i.stateNode,l!==null&&Zp(l)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var rn=null,Dr=!1;function Fs(i,l,d){for(d=d.child;d!==null;)s5(i,l,d),d=d.sibling}function s5(i,l,d){if(xn&&typeof xn.onCommitFiberUnmount=="function")try{xn.onCommitFiberUnmount(Kn,d)}catch{}switch(d.tag){case 26:Cn||Ja(d,l),Fs(i,l,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:Cn||Ja(d,l);var g=rn,b=Dr;Ii(d.type)&&(rn=d.stateNode,Dr=!1),Fs(i,l,d),Gu(d.stateNode),rn=g,Dr=b;break;case 5:Cn||Ja(d,l);case 6:if(g=rn,b=Dr,rn=null,Fs(i,l,d),rn=g,Dr=b,rn!==null)if(Dr)try{(rn.nodeType===9?rn.body:rn.nodeName==="HTML"?rn.ownerDocument.body:rn).removeChild(d.stateNode)}catch(y){Ut(d,l,y)}else try{rn.removeChild(d.stateNode)}catch(y){Ut(d,l,y)}break;case 18:rn!==null&&(Dr?(i=rn,X5(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,d.stateNode),ic(i)):X5(rn,d.stateNode));break;case 4:g=rn,b=Dr,rn=d.stateNode.containerInfo,Dr=!0,Fs(i,l,d),rn=g,Dr=b;break;case 0:case 11:case 14:case 15:Si(2,d,l),Cn||Si(4,d,l),Fs(i,l,d);break;case 1:Cn||(Ja(d,l),g=d.stateNode,typeof g.componentWillUnmount=="function"&&Z6(d,l,g)),Fs(i,l,d);break;case 21:Fs(i,l,d);break;case 22:Cn=(g=Cn)||d.memoizedState!==null,Fs(i,l,d),Cn=g;break;default:Fs(i,l,d)}}function i5(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{ic(i)}catch(d){Ut(l,l.return,d)}}}function o5(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{ic(i)}catch(d){Ut(l,l.return,d)}}function MI(i){switch(i.tag){case 31:case 13:case 19:var l=i.stateNode;return l===null&&(l=i.stateNode=new n5),l;case 22:return i=i.stateNode,l=i._retryCache,l===null&&(l=i._retryCache=new n5),l;default:throw Error(r(435,i.tag))}}function pf(i,l){var d=MI(i);l.forEach(function(g){if(!d.has(g)){d.add(g);var b=qI.bind(null,i,g);g.then(b,b)}})}function Ir(i,l){var d=l.deletions;if(d!==null)for(var g=0;g<d.length;g++){var b=d[g],y=i,N=l,P=N;e:for(;P!==null;){switch(P.tag){case 27:if(Ii(P.type)){rn=P.stateNode,Dr=!1;break e}break;case 5:rn=P.stateNode,Dr=!1;break e;case 3:case 4:rn=P.stateNode.containerInfo,Dr=!0;break e}P=P.return}if(rn===null)throw Error(r(160));s5(y,N,b),rn=null,Dr=!1,y=b.alternate,y!==null&&(y.return=null),b.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)l5(l,i),l=l.sibling}var Ia=null;function l5(i,l){var d=i.alternate,g=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:Ir(l,i),Mr(i),g&4&&(Si(3,i,i.return),Lu(3,i),Si(5,i,i.return));break;case 1:Ir(l,i),Mr(i),g&512&&(Cn||d===null||Ja(d,d.return)),g&64&&Us&&(i=i.updateQueue,i!==null&&(g=i.callbacks,g!==null&&(d=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=d===null?g:d.concat(g))));break;case 26:var b=Ia;if(Ir(l,i),Mr(i),g&512&&(Cn||d===null||Ja(d,d.return)),g&4){var y=d!==null?d.memoizedState:null;if(g=i.memoizedState,d===null)if(g===null)if(i.stateNode===null){e:{g=i.type,d=i.memoizedProps,b=b.ownerDocument||b;t:switch(g){case"title":y=b.getElementsByTagName("title")[0],(!y||y[uu]||y[Zn]||y.namespaceURI==="http://www.w3.org/2000/svg"||y.hasAttribute("itemprop"))&&(y=b.createElement(g),b.head.insertBefore(y,b.querySelector("head > title"))),nr(y,g,d),y[Zn]=i,Un(y),g=y;break e;case"link":var N=l8("link","href",b).get(g+(d.href||""));if(N){for(var P=0;P<N.length;P++)if(y=N[P],y.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&y.getAttribute("rel")===(d.rel==null?null:d.rel)&&y.getAttribute("title")===(d.title==null?null:d.title)&&y.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){N.splice(P,1);break t}}y=b.createElement(g),nr(y,g,d),b.head.appendChild(y);break;case"meta":if(N=l8("meta","content",b).get(g+(d.content||""))){for(P=0;P<N.length;P++)if(y=N[P],y.getAttribute("content")===(d.content==null?null:""+d.content)&&y.getAttribute("name")===(d.name==null?null:d.name)&&y.getAttribute("property")===(d.property==null?null:d.property)&&y.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&y.getAttribute("charset")===(d.charSet==null?null:d.charSet)){N.splice(P,1);break t}}y=b.createElement(g),nr(y,g,d),b.head.appendChild(y);break;default:throw Error(r(468,g))}y[Zn]=i,Un(y),g=y}i.stateNode=g}else c8(b,i.type,i.stateNode);else i.stateNode=o8(b,g,i.memoizedProps);else y!==g?(y===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):y.count--,g===null?c8(b,i.type,i.stateNode):o8(b,g,i.memoizedProps)):g===null&&i.stateNode!==null&&vg(i,i.memoizedProps,d.memoizedProps)}break;case 27:Ir(l,i),Mr(i),g&512&&(Cn||d===null||Ja(d,d.return)),d!==null&&g&4&&vg(i,i.memoizedProps,d.memoizedProps);break;case 5:if(Ir(l,i),Mr(i),g&512&&(Cn||d===null||Ja(d,d.return)),i.flags&32){b=i.stateNode;try{Nl(b,"")}catch($e){Ut(i,i.return,$e)}}g&4&&i.stateNode!=null&&(b=i.memoizedProps,vg(i,b,d!==null?d.memoizedProps:b)),g&1024&&(wg=!0);break;case 6:if(Ir(l,i),Mr(i),g&4){if(i.stateNode===null)throw Error(r(162));g=i.memoizedProps,d=i.stateNode;try{d.nodeValue=g}catch($e){Ut(i,i.return,$e)}}break;case 3:if(Of=null,b=Ia,Ia=Nf(l.containerInfo),Ir(l,i),Ia=b,Mr(i),g&4&&d!==null&&d.memoizedState.isDehydrated)try{ic(l.containerInfo)}catch($e){Ut(i,i.return,$e)}wg&&(wg=!1,c5(i));break;case 4:g=Ia,Ia=Nf(i.stateNode.containerInfo),Ir(l,i),Mr(i),Ia=g;break;case 12:Ir(l,i),Mr(i);break;case 31:Ir(l,i),Mr(i),g&4&&(g=i.updateQueue,g!==null&&(i.updateQueue=null,pf(i,g)));break;case 13:Ir(l,i),Mr(i),i.child.flags&8192&&i.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(xf=Wn()),g&4&&(g=i.updateQueue,g!==null&&(i.updateQueue=null,pf(i,g)));break;case 22:b=i.memoizedState!==null;var X=d!==null&&d.memoizedState!==null,fe=Us,ye=Cn;if(Us=fe||b,Cn=ye||X,Ir(l,i),Cn=ye,Us=fe,Mr(i),g&8192)e:for(l=i.stateNode,l._visibility=b?l._visibility&-2:l._visibility|1,b&&(d===null||X||Us||Cn||Po(i)),d=null,l=i;;){if(l.tag===5||l.tag===26){if(d===null){X=d=l;try{if(y=X.stateNode,b)N=y.style,typeof N.setProperty=="function"?N.setProperty("display","none","important"):N.display="none";else{P=X.stateNode;var Te=X.memoizedProps.style,me=Te!=null&&Te.hasOwnProperty("display")?Te.display:null;P.style.display=me==null||typeof me=="boolean"?"":(""+me).trim()}}catch($e){Ut(X,X.return,$e)}}}else if(l.tag===6){if(d===null){X=l;try{X.stateNode.nodeValue=b?"":X.memoizedProps}catch($e){Ut(X,X.return,$e)}}}else if(l.tag===18){if(d===null){X=l;try{var xe=X.stateNode;b?Z5(xe,!0):Z5(X.stateNode,!1)}catch($e){Ut(X,X.return,$e)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===i)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break e;for(;l.sibling===null;){if(l.return===null||l.return===i)break e;d===l&&(d=null),l=l.return}d===l&&(d=null),l.sibling.return=l.return,l=l.sibling}g&4&&(g=i.updateQueue,g!==null&&(d=g.retryQueue,d!==null&&(g.retryQueue=null,pf(i,d))));break;case 19:Ir(l,i),Mr(i),g&4&&(g=i.updateQueue,g!==null&&(i.updateQueue=null,pf(i,g)));break;case 30:break;case 21:break;default:Ir(l,i),Mr(i)}}function Mr(i){var l=i.flags;if(l&2){try{for(var d,g=i.return;g!==null;){if(e5(g)){d=g;break}g=g.return}if(d==null)throw Error(r(160));switch(d.tag){case 27:var b=d.stateNode,y=yg(i);mf(i,y,b);break;case 5:var N=d.stateNode;d.flags&32&&(Nl(N,""),d.flags&=-33);var P=yg(i);mf(i,P,N);break;case 3:case 4:var X=d.stateNode.containerInfo,fe=yg(i);Eg(i,fe,X);break;default:throw Error(r(161))}}catch(ye){Ut(i,i.return,ye)}i.flags&=-3}l&4096&&(i.flags&=-4097)}function c5(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var l=i;c5(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),i=i.sibling}}function qs(i,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)r5(i,l.alternate,l),l=l.sibling}function Po(i){for(i=i.child;i!==null;){var l=i;switch(l.tag){case 0:case 11:case 14:case 15:Si(4,l,l.return),Po(l);break;case 1:Ja(l,l.return);var d=l.stateNode;typeof d.componentWillUnmount=="function"&&Z6(l,l.return,d),Po(l);break;case 27:Gu(l.stateNode);case 26:case 5:Ja(l,l.return),Po(l);break;case 22:l.memoizedState===null&&Po(l);break;case 30:Po(l);break;default:Po(l)}i=i.sibling}}function $s(i,l,d){for(d=d&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var g=l.alternate,b=i,y=l,N=y.flags;switch(y.tag){case 0:case 11:case 15:$s(b,y,d),Lu(4,y);break;case 1:if($s(b,y,d),g=y,b=g.stateNode,typeof b.componentDidMount=="function")try{b.componentDidMount()}catch(fe){Ut(g,g.return,fe)}if(g=y,b=g.updateQueue,b!==null){var P=g.stateNode;try{var X=b.shared.hiddenCallbacks;if(X!==null)for(b.shared.hiddenCallbacks=null,b=0;b<X.length;b++)H3(X[b],P)}catch(fe){Ut(g,g.return,fe)}}d&&N&64&&X6(y),ju(y,y.return);break;case 27:t5(y);case 26:case 5:$s(b,y,d),d&&g===null&&N&4&&J6(y),ju(y,y.return);break;case 12:$s(b,y,d);break;case 31:$s(b,y,d),d&&N&4&&i5(b,y);break;case 13:$s(b,y,d),d&&N&4&&o5(b,y);break;case 22:y.memoizedState===null&&$s(b,y,d),ju(y,y.return);break;case 30:break;default:$s(b,y,d)}l=l.sibling}}function _g(i,l){var d=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==d&&(i!=null&&i.refCount++,d!=null&&_u(d))}function Tg(i,l){i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&_u(i))}function Ma(i,l,d,g){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)u5(i,l,d,g),l=l.sibling}function u5(i,l,d,g){var b=l.flags;switch(l.tag){case 0:case 11:case 15:Ma(i,l,d,g),b&2048&&Lu(9,l);break;case 1:Ma(i,l,d,g);break;case 3:Ma(i,l,d,g),b&2048&&(i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&_u(i)));break;case 12:if(b&2048){Ma(i,l,d,g),i=l.stateNode;try{var y=l.memoizedProps,N=y.id,P=y.onPostCommit;typeof P=="function"&&P(N,l.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(X){Ut(l,l.return,X)}}else Ma(i,l,d,g);break;case 31:Ma(i,l,d,g);break;case 13:Ma(i,l,d,g);break;case 23:break;case 22:y=l.stateNode,N=l.alternate,l.memoizedState!==null?y._visibility&2?Ma(i,l,d,g):Bu(i,l):y._visibility&2?Ma(i,l,d,g):(y._visibility|=2,Wl(i,l,d,g,(l.subtreeFlags&10256)!==0||!1)),b&2048&&_g(N,l);break;case 24:Ma(i,l,d,g),b&2048&&Tg(l.alternate,l);break;default:Ma(i,l,d,g)}}function Wl(i,l,d,g,b){for(b=b&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var y=i,N=l,P=d,X=g,fe=N.flags;switch(N.tag){case 0:case 11:case 15:Wl(y,N,P,X,b),Lu(8,N);break;case 23:break;case 22:var ye=N.stateNode;N.memoizedState!==null?ye._visibility&2?Wl(y,N,P,X,b):Bu(y,N):(ye._visibility|=2,Wl(y,N,P,X,b)),b&&fe&2048&&_g(N.alternate,N);break;case 24:Wl(y,N,P,X,b),b&&fe&2048&&Tg(N.alternate,N);break;default:Wl(y,N,P,X,b)}l=l.sibling}}function Bu(i,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var d=i,g=l,b=g.flags;switch(g.tag){case 22:Bu(d,g),b&2048&&_g(g.alternate,g);break;case 24:Bu(d,g),b&2048&&Tg(g.alternate,g);break;default:Bu(d,g)}l=l.sibling}}var zu=8192;function Kl(i,l,d){if(i.subtreeFlags&zu)for(i=i.child;i!==null;)d5(i,l,d),i=i.sibling}function d5(i,l,d){switch(i.tag){case 26:Kl(i,l,d),i.flags&zu&&i.memoizedState!==null&&yM(d,Ia,i.memoizedState,i.memoizedProps);break;case 5:Kl(i,l,d);break;case 3:case 4:var g=Ia;Ia=Nf(i.stateNode.containerInfo),Kl(i,l,d),Ia=g;break;case 22:i.memoizedState===null&&(g=i.alternate,g!==null&&g.memoizedState!==null?(g=zu,zu=16777216,Kl(i,l,d),zu=g):Kl(i,l,d));break;default:Kl(i,l,d)}}function f5(i){var l=i.alternate;if(l!==null&&(i=l.child,i!==null)){l.child=null;do l=i.sibling,i.sibling=null,i=l;while(i!==null)}}function Hu(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var g=l[d];Fn=g,m5(g,i)}f5(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)h5(i),i=i.sibling}function h5(i){switch(i.tag){case 0:case 11:case 15:Hu(i),i.flags&2048&&Si(9,i,i.return);break;case 3:Hu(i);break;case 12:Hu(i);break;case 22:var l=i.stateNode;i.memoizedState!==null&&l._visibility&2&&(i.return===null||i.return.tag!==13)?(l._visibility&=-3,gf(i)):Hu(i);break;default:Hu(i)}}function gf(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var g=l[d];Fn=g,m5(g,i)}f5(i)}for(i=i.child;i!==null;){switch(l=i,l.tag){case 0:case 11:case 15:Si(8,l,l.return),gf(l);break;case 22:d=l.stateNode,d._visibility&2&&(d._visibility&=-3,gf(l));break;default:gf(l)}i=i.sibling}}function m5(i,l){for(;Fn!==null;){var d=Fn;switch(d.tag){case 0:case 11:case 15:Si(8,d,l);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var g=d.memoizedState.cachePool.pool;g!=null&&g.refCount++}break;case 24:_u(d.memoizedState.cache)}if(g=d.child,g!==null)g.return=d,Fn=g;else e:for(d=i;Fn!==null;){g=Fn;var b=g.sibling,y=g.return;if(a5(g),g===d){Fn=null;break e}if(b!==null){b.return=y,Fn=b;break e}Fn=y}}}var PI={getCacheForType:function(i){var l=er(Tn),d=l.data.get(i);return d===void 0&&(d=i(),l.data.set(i,d)),d},cacheSignal:function(){return er(Tn).controller.signal}},LI=typeof WeakMap=="function"?WeakMap:Map,Bt=0,Gt=null,wt=null,St=0,Ht=0,Qr=null,Ci=!1,Xl=!1,Ag=!1,Vs=0,dn=0,ki=0,Lo=0,Sg=0,Wr=0,Zl=0,Uu=null,Pr=null,Cg=!1,xf=0,p5=0,bf=1/0,vf=null,Ni=null,In=0,Ri=null,Jl=null,Gs=0,kg=0,Ng=null,g5=null,Fu=0,Rg=null;function Kr(){return(Bt&2)!==0&&St!==0?St&-St:$.T!==null?Lg():Kp()}function x5(){if(Wr===0)if((St&536870912)===0||Nt){var i=El;El<<=1,(El&3932160)===0&&(El=262144),Wr=i}else Wr=536870912;return i=Gr.current,i!==null&&(i.flags|=32),Wr}function Lr(i,l,d){(i===Gt&&(Ht===2||Ht===9)||i.cancelPendingCommit!==null)&&(ec(i,0),Oi(i,St,Wr,!1)),on(i,d),((Bt&2)===0||i!==Gt)&&(i===Gt&&((Bt&2)===0&&(Lo|=d),dn===4&&Oi(i,St,Wr,!1)),es(i))}function b5(i,l,d){if((Bt&6)!==0)throw Error(r(327));var g=!d&&(l&127)===0&&(l&i.expiredLanes)===0||nn(i,l),b=g?zI(i,l):Dg(i,l,!0),y=g;do{if(b===0){Xl&&!g&&Oi(i,l,0,!1);break}else{if(d=i.current.alternate,y&&!jI(d)){b=Dg(i,l,!1),y=!1;continue}if(b===2){if(y=l,i.errorRecoveryDisabledLanes&y)var N=0;else N=i.pendingLanes&-536870913,N=N!==0?N:N&536870912?536870912:0;if(N!==0){l=N;e:{var P=i;b=Uu;var X=P.current.memoizedState.isDehydrated;if(X&&(ec(P,N).flags|=256),N=Dg(P,N,!1),N!==2){if(Ag&&!X){P.errorRecoveryDisabledLanes|=y,Lo|=y,b=4;break e}y=Pr,Pr=b,y!==null&&(Pr===null?Pr=y:Pr.push.apply(Pr,y))}b=N}if(y=!1,b!==2)continue}}if(b===1){ec(i,0),Oi(i,l,0,!0);break}e:{switch(g=i,y=b,y){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:Oi(g,l,Wr,!Ci);break e;case 2:Pr=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(b=xf+300-Wn(),10<b)){if(Oi(g,l,Wr,!Ci),st(g,0,!0)!==0)break e;
vendor: 15,533 bytes, line 49
49Gs=l,g.timeoutHandle=W5(v5.bind(null,g,d,Pr,vf,Cg,l,Wr,Lo,Zl,Ci,y,"Throttled",-0,0),b);break e}v5(g,d,Pr,vf,Cg,l,Wr,Lo,Zl,Ci,y,null,-0,0)}}break}while(!0);es(i)}function v5(i,l,d,g,b,y,N,P,X,fe,ye,Te,me,xe){if(i.timeoutHandle=-1,Te=l.subtreeFlags,Te&8192||(Te&16785408)===16785408){Te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Os},d5(l,y,Te);var $e=(y&62914560)===y?xf-Wn():(y&4194048)===y?p5-Wn():0;if($e=EM(Te,$e),$e!==null){Gs=y,i.cancelPendingCommit=$e(C5.bind(null,i,l,y,d,g,b,N,P,X,ye,Te,null,me,xe)),Oi(i,y,N,!fe);return}}C5(i,l,y,d,g,b,N,P,X)}function jI(i){for(var l=i;;){var d=l.tag;if((d===0||d===11||d===15)&&l.flags&16384&&(d=l.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var g=0;g<d.length;g++){var b=d[g],y=b.getSnapshot;b=b.value;try{if(!$r(y(),b))return!1}catch{return!1}}if(d=l.child,l.subtreeFlags&16384&&d!==null)d.return=l,l=d;else{if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Oi(i,l,d,g){l&=~Sg,l&=~Lo,i.suspendedLanes|=l,i.pingedLanes&=~l,g&&(i.warmLanes|=l),g=i.expirationTimes;for(var b=l;0<b;){var y=31-zt(b),N=1<<y;g[y]=-1,b&=~N}d!==0&&vo(i,d,l)}function yf(){return(Bt&6)===0?(qu(0),!1):!0}function Og(){if(wt!==null){if(Ht===0)var i=wt.return;else i=wt,Ps=Co=null,Y1(i),$l=null,Au=0,i=wt;for(;i!==null;)K6(i.alternate,i),i=i.return;wt=null}}function ec(i,l){var d=i.timeoutHandle;d!==-1&&(i.timeoutHandle=-1,rM(d)),d=i.cancelPendingCommit,d!==null&&(i.cancelPendingCommit=null,d()),Gs=0,Og(),Gt=i,wt=d=Is(i.current,null),St=l,Ht=0,Qr=null,Ci=!1,Xl=nn(i,l),Ag=!1,Zl=Wr=Sg=Lo=ki=dn=0,Pr=Uu=null,Cg=!1,(l&8)!==0&&(l|=l&32);var g=i.entangledLanes;if(g!==0)for(i=i.entanglements,g&=l;0<g;){var b=31-zt(g),y=1<<b;l|=i[b],g&=~y}return Vs=l,H0(),d}function y5(i,l){dt=null,$.H=Iu,l===ql||l===Q0?(l=L3(),Ht=3):l===P1?(l=L3(),Ht=4):Ht=l===cg?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Qr=l,wt===null&&(dn=1,cf(i,da(l,i.current)))}function E5(){var i=Gr.current;return i===null?!0:(St&4194048)===St?pa===null:(St&62914560)===St||(St&536870912)!==0?i===pa:!1}function w5(){var i=$.H;return $.H=Iu,i===null?Iu:i}function _5(){var i=$.A;return $.A=PI,i}function Ef(){dn=4,Ci||(St&4194048)!==St&&Gr.current!==null||(Xl=!0),(ki&134217727)===0&&(Lo&134217727)===0||Gt===null||Oi(Gt,St,Wr,!1)}function Dg(i,l,d){var g=Bt;Bt|=2;var b=w5(),y=_5();(Gt!==i||St!==l)&&(vf=null,ec(i,l)),l=!1;var N=dn;e:do try{if(Ht!==0&&wt!==null){var P=wt,X=Qr;switch(Ht){case 8:Og(),N=6;break e;case 3:case 2:case 9:case 6:Gr.current===null&&(l=!0);var fe=Ht;if(Ht=0,Qr=null,tc(i,P,X,fe),d&&Xl){N=0;break e}break;default:fe=Ht,Ht=0,Qr=null,tc(i,P,X,fe)}}BI(),N=dn;break}catch(ye){y5(i,ye)}while(!0);return l&&i.shellSuspendCounter++,Ps=Co=null,Bt=g,$.H=b,$.A=y,wt===null&&(Gt=null,St=0,H0()),N}function BI(){for(;wt!==null;)T5(wt)}function zI(i,l){var d=Bt;Bt|=2;var g=w5(),b=_5();Gt!==i||St!==l?(vf=null,bf=Wn()+500,ec(i,l)):Xl=nn(i,l);e:do try{if(Ht!==0&&wt!==null){l=wt;var y=Qr;t:switch(Ht){case 1:Ht=0,Qr=null,tc(i,l,y,1);break;case 2:case 9:if(M3(y)){Ht=0,Qr=null,A5(l);break}l=function(){Ht!==2&&Ht!==9||Gt!==i||(Ht=7),es(i)},y.then(l,l);break e;case 3:Ht=7;break e;case 4:Ht=5;break e;case 7:M3(y)?(Ht=0,Qr=null,A5(l)):(Ht=0,Qr=null,tc(i,l,y,7));break;case 5:var N=null;switch(wt.tag){case 26:N=wt.memoizedState;case 5:case 27:var P=wt;if(N?u8(N):P.stateNode.complete){Ht=0,Qr=null;var X=P.sibling;if(X!==null)wt=X;else{var fe=P.return;fe!==null?(wt=fe,wf(fe)):wt=null}break t}}Ht=0,Qr=null,tc(i,l,y,5);break;case 6:Ht=0,Qr=null,tc(i,l,y,6);break;case 8:Og(),dn=6;break e;default:throw Error(r(462))}}HI();break}catch(ye){y5(i,ye)}while(!0);return Ps=Co=null,$.H=g,$.A=b,Bt=d,wt!==null?0:(Gt=null,St=0,H0(),dn)}function HI(){for(;wt!==null&&!Qn();)T5(wt)}function T5(i){var l=Q6(i.alternate,i,Vs);i.memoizedProps=i.pendingProps,l===null?wf(i):wt=l}function A5(i){var l=i,d=l.alternate;switch(l.tag){case 15:case 0:l=F6(d,l,l.pendingProps,l.type,void 0,St);break;case 11:l=F6(d,l,l.pendingProps,l.type.render,l.ref,St);break;case 5:Y1(l);default:K6(d,l),l=wt=_3(l,Vs),l=Q6(d,l,Vs)}i.memoizedProps=i.pendingProps,l===null?wf(i):wt=l}function tc(i,l,d,g){Ps=Co=null,Y1(l),$l=null,Au=0;var b=l.return;try{if(kI(i,b,l,d,St)){dn=1,cf(i,da(d,i.current)),wt=null;return}}catch(y){if(b!==null)throw wt=b,y;dn=1,cf(i,da(d,i.current)),wt=null;return}l.flags&32768?(Nt||g===1?i=!0:Xl||(St&536870912)!==0?i=!1:(Ci=i=!0,(g===2||g===9||g===3||g===6)&&(g=Gr.current,g!==null&&g.tag===13&&(g.flags|=16384))),S5(l,i)):wf(l)}function wf(i){var l=i;do{if((l.flags&32768)!==0){S5(l,Ci);return}i=l.return;var d=OI(l.alternate,l,Vs);if(d!==null){wt=d;return}if(l=l.sibling,l!==null){wt=l;return}wt=l=i}while(l!==null);dn===0&&(dn=5)}function S5(i,l){do{var d=DI(i.alternate,i);if(d!==null){d.flags&=32767,wt=d;return}if(d=i.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!l&&(i=i.sibling,i!==null)){wt=i;return}wt=i=d}while(i!==null);dn=6,wt=null}function C5(i,l,d,g,b,y,N,P,X){i.cancelPendingCommit=null;do _f();while(In!==0);if((Bt&6)!==0)throw Error(r(327));if(l!==null){if(l===i.current)throw Error(r(177));if(y=l.lanes|l.childLanes,y|=y1,Cr(i,d,y,N,P,X),i===Gt&&(wt=Gt=null,St=0),Jl=l,Ri=i,Gs=d,kg=y,Ng=b,g5=g,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,$I(nt,function(){return D5(),null})):(i.callbackNode=null,i.callbackPriority=0),g=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||g){g=$.T,$.T=null,b=re.p,re.p=2,N=Bt,Bt|=4;try{II(i,l,d)}finally{Bt=N,re.p=b,$.T=g}}In=1,k5(),N5(),R5()}}function k5(){if(In===1){In=0;var i=Ri,l=Jl,d=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||d){d=$.T,$.T=null;var g=re.p;re.p=2;var b=Bt;Bt|=4;try{l5(l,i);var y=$g,N=m3(i.containerInfo),P=y.focusedElem,X=y.selectionRange;if(N!==P&&P&&P.ownerDocument&&h3(P.ownerDocument.documentElement,P)){if(X!==null&&p1(P)){var fe=X.start,ye=X.end;if(ye===void 0&&(ye=fe),"selectionStart"in P)P.selectionStart=fe,P.selectionEnd=Math.min(ye,P.value.length);else{var Te=P.ownerDocument||document,me=Te&&Te.defaultView||window;if(me.getSelection){var xe=me.getSelection(),$e=P.textContent.length,rt=Math.min(X.start,$e),$t=X.end===void 0?rt:Math.min(X.end,$e);!xe.extend&&rt>$t&&(N=$t,$t=rt,rt=N);var se=f3(P,rt),ee=f3(P,$t);if(se&&ee&&(xe.rangeCount!==1||xe.anchorNode!==se.node||xe.anchorOffset!==se.offset||xe.focusNode!==ee.node||xe.focusOffset!==ee.offset)){var ue=Te.createRange();ue.setStart(se.node,se.offset),xe.removeAllRanges(),rt>$t?(xe.addRange(ue),xe.extend(ee.node,ee.offset)):(ue.setEnd(ee.node,ee.offset),xe.addRange(ue))}}}}for(Te=[],xe=P;xe=xe.parentNode;)xe.nodeType===1&&Te.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof P.focus=="function"&&P.focus(),P=0;P<Te.length;P++){var _e=Te[P];_e.element.scrollLeft=_e.left,_e.element.scrollTop=_e.top}}Pf=!!qg,$g=qg=null}finally{Bt=b,re.p=g,$.T=d}}i.current=l,In=2}}function N5(){if(In===2){In=0;var i=Ri,l=Jl,d=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||d){d=$.T,$.T=null;var g=re.p;re.p=2;var b=Bt;Bt|=4;try{r5(i,l.alternate,l)}finally{Bt=b,re.p=g,$.T=d}}In=3}}function R5(){if(In===4||In===3){In=0,Ya();var i=Ri,l=Jl,d=Gs,g=g5;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?In=5:(In=0,Jl=Ri=null,O5(i,i.pendingLanes));var b=i.pendingLanes;if(b===0&&(Ni=null),Oa(d),l=l.stateNode,xn&&typeof xn.onCommitFiberRoot=="function")try{xn.onCommitFiberRoot(Kn,l,void 0,(l.current.flags&128)===128)}catch{}if(g!==null){l=$.T,b=re.p,re.p=2,$.T=null;try{for(var y=i.onRecoverableError,N=0;N<g.length;N++){var P=g[N];y(P.value,{componentStack:P.stack})}}finally{$.T=l,re.p=b}}(Gs&3)!==0&&_f(),es(i),b=i.pendingLanes,(d&261930)!==0&&(b&42)!==0?i===Rg?Fu++:(Fu=0,Rg=i):Fu=0,qu(0)}}function O5(i,l){(i.pooledCacheLanes&=l)===0&&(l=i.pooledCache,l!=null&&(i.pooledCache=null,_u(l)))}function _f(){return k5(),N5(),R5(),D5()}function D5(){if(In!==5)return!1;var i=Ri,l=kg;kg=0;var d=Oa(Gs),g=$.T,b=re.p;try{re.p=32>d?32:d,$.T=null,d=Ng,Ng=null;var y=Ri,N=Gs;if(In=0,Jl=Ri=null,Gs=0,(Bt&6)!==0)throw Error(r(331));var P=Bt;if(Bt|=4,h5(y.current),u5(y,y.current,N,d),Bt=P,qu(0,!1),xn&&typeof xn.onPostCommitFiberRoot=="function")try{xn.onPostCommitFiberRoot(Kn,y)}catch{}return!0}finally{re.p=b,$.T=g,O5(i,l)}}function I5(i,l,d){l=da(d,l),l=lg(i.stateNode,l,2),i=_i(i,l,2),i!==null&&(on(i,2),es(i))}function Ut(i,l,d){if(i.tag===3)I5(i,i,d);else for(;l!==null;){if(l.tag===3){I5(l,i,d);break}else if(l.tag===1){var g=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(Ni===null||!Ni.has(g))){i=da(d,i),d=M6(2),g=_i(l,d,2),g!==null&&(P6(d,g,l,i),on(g,2),es(g));break}}l=l.return}}function Ig(i,l,d){var g=i.pingCache;if(g===null){g=i.pingCache=new LI;var b=new Set;g.set(l,b)}else b=g.get(l),b===void 0&&(b=new Set,g.set(l,b));b.has(d)||(Ag=!0,b.add(d),i=UI.bind(null,i,l,d),l.then(i,i))}function UI(i,l,d){var g=i.pingCache;g!==null&&g.delete(l),i.pingedLanes|=i.suspendedLanes&d,i.warmLanes&=~d,Gt===i&&(St&d)===d&&(dn===4||dn===3&&(St&62914560)===St&&300>Wn()-xf?(Bt&2)===0&&ec(i,0):Sg|=d,Zl===St&&(Zl=0)),es(i)}function M5(i,l){l===0&&(l=ir()),i=To(i,l),i!==null&&(on(i,l),es(i))}function FI(i){var l=i.memoizedState,d=0;l!==null&&(d=l.retryLane),M5(i,d)}function qI(i,l){var d=0;switch(i.tag){case 31:case 13:var g=i.stateNode,b=i.memoizedState;b!==null&&(d=b.retryLane);break;case 19:g=i.stateNode;break;case 22:g=i.stateNode._retryCache;break;default:throw Error(r(314))}g!==null&&g.delete(l),M5(i,d)}function $I(i,l){return hi(i,l)}var Tf=null,nc=null,Mg=!1,Af=!1,Pg=!1,Di=0;function es(i){i!==nc&&i.next===null&&(nc===null?Tf=nc=i:nc=nc.next=i),Af=!0,Mg||(Mg=!0,GI())}function qu(i,l){if(!Pg&&Af){Pg=!0;do for(var d=!1,g=Tf;g!==null;){if(i!==0){var b=g.pendingLanes;if(b===0)var y=0;else{var N=g.suspendedLanes,P=g.pingedLanes;y=(1<<31-zt(42|i)+1)-1,y&=b&~(N&~P),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(d=!0,B5(g,y))}else y=St,y=st(g,g===Gt?y:0,g.cancelPendingCommit!==null||g.timeoutHandle!==-1),(y&3)===0||nn(g,y)||(d=!0,B5(g,y));g=g.next}while(d);Pg=!1}}function VI(){P5()}function P5(){Af=Mg=!1;var i=0;Di!==0&&nM()&&(i=Di);for(var l=Wn(),d=null,g=Tf;g!==null;){var b=g.next,y=L5(g,l);y===0?(g.next=null,d===null?Tf=b:d.next=b,b===null&&(nc=d)):(d=g,(i!==0||(y&3)!==0)&&(Af=!0)),g=b}In!==0&&In!==5||qu(i),Di!==0&&(Di=0)}function L5(i,l){for(var d=i.suspendedLanes,g=i.pingedLanes,b=i.expirationTimes,y=i.pendingLanes&-62914561;0<y;){var N=31-zt(y),P=1<<N,X=b[N];X===-1?((P&d)===0||(P&g)!==0)&&(b[N]=Hn(P,l)):X<=l&&(i.expiredLanes|=P),y&=~P}if(l=Gt,d=St,d=st(i,i===l?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),g=i.callbackNode,d===0||i===l&&(Ht===2||Ht===9)||i.cancelPendingCommit!==null)return g!==null&&g!==null&&xo(g),i.callbackNode=null,i.callbackPriority=0;if((d&3)===0||nn(i,d)){if(l=d&-d,l===i.callbackPriority)return l;switch(g!==null&&xo(g),Oa(d)){case 2:case 8:d=je;break;case 32:d=nt;break;case 268435456:d=Et;break;default:d=nt}return g=j5.bind(null,i),d=hi(d,g),i.callbackPriority=l,i.callbackNode=d,l}return g!==null&&g!==null&&xo(g),i.callbackPriority=2,i.callbackNode=null,2}function j5(i,l){if(In!==0&&In!==5)return i.callbackNode=null,i.callbackPriority=0,null;var d=i.callbackNode;if(_f()&&i.callbackNode!==d)return null;var g=St;return g=st(i,i===Gt?g:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),g===0?null:(b5(i,g,l),L5(i,Wn()),i.callbackNode!=null&&i.callbackNode===d?j5.bind(null,i):null)}function B5(i,l){if(_f())return null;b5(i,l,!0)}function GI(){aM(function(){(Bt&6)!==0?hi(Ee,VI):P5()})}function Lg(){if(Di===0){var i=Ul;i===0&&(i=yl,yl<<=1,(yl&261888)===0&&(yl=256)),Di=i}return Di}function z5(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:D0(""+i)}function H5(i,l){var d=l.ownerDocument.createElement("input");return d.name=l.name,d.value=l.value,i.id&&d.setAttribute("form",i.id),l.parentNode.insertBefore(d,l),i=new FormData(i),d.parentNode.removeChild(d),i}function YI(i,l,d,g,b){if(l==="submit"&&d&&d.stateNode===b){var y=z5((b[Rr]||null).action),N=g.submitter;N&&(l=(l=N[Rr]||null)?z5(l.formAction):N.getAttribute("formAction"),l!==null&&(y=l,N=null));var P=new L0("action","action",null,g,b);i.push({event:P,listeners:[{instance:null,listener:function(){if(g.defaultPrevented){if(Di!==0){var X=N?H5(b,N):new FormData(b);ng(d,{pending:!0,data:X,method:b.method,action:y},null,X)}}else typeof y=="function"&&(P.preventDefault(),X=N?H5(b,N):new FormData(b),ng(d,{pending:!0,data:X,method:b.method,action:y},y,X))},currentTarget:b}]})}}for(var jg=0;jg<v1.length;jg++){var Bg=v1[jg],QI=Bg.toLowerCase(),WI=Bg[0].toUpperCase()+Bg.slice(1);Da(QI,"on"+WI)}Da(x3,"onAnimationEnd"),Da(b3,"onAnimationIteration"),Da(v3,"onAnimationStart"),Da("dblclick","onDoubleClick"),Da("focusin","onFocus"),Da("focusout","onBlur"),Da(dI,"onTransitionRun"),Da(fI,"onTransitionStart"),Da(hI,"onTransitionCancel"),Da(y3,"onTransitionEnd"),Cl("onMouseEnter",["mouseout","mouseover"]),Cl("onMouseLeave",["mouseout","mouseover"]),Cl("onPointerEnter",["pointerout","pointerover"]),Cl("onPointerLeave",["pointerout","pointerover"]),yo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),yo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),yo("onBeforeInput",["compositionend","keypress","textInput","paste"]),yo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),yo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),yo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $u="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),KI=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($u));function U5(i,l){l=(l&4)!==0;for(var d=0;d<i.length;d++){var g=i[d],b=g.event;g=g.listeners;e:{var y=void 0;if(l)for(var N=g.length-1;0<=N;N--){var P=g[N],X=P.instance,fe=P.currentTarget;if(P=P.listener,X!==y&&b.isPropagationStopped())break e;y=P,b.currentTarget=fe;try{y(b)}catch(ye){z0(ye)}b.currentTarget=null,y=X}else for(N=0;N<g.length;N++){if(P=g[N],X=P.instance,fe=P.currentTarget,P=P.listener,X!==y&&b.isPropagationStopped())break e;y=P,b.currentTarget=fe;try{y(b)}catch(ye){z0(ye)}b.currentTarget=null,y=X}}}}function _t(i,l){var d=l[Xp];d===void 0&&(d=l[Xp]=new Set);var g=i+"__bubble";d.has(g)||(F5(l,i,2,!1),d.add(g))}function zg(i,l,d){var g=0;l&&(g|=4),F5(d,i,g,l)}var Sf="_reactListening"+Math.random().toString(36).slice(2);function Hg(i){if(!i[Sf]){i[Sf]=!0,P4.forEach(function(d){d!=="selectionchange"&&(KI.has(d)||zg(d,!1,i),zg(d,!0,i))});var l=i.nodeType===9?i:i.ownerDocument;l===null||l[Sf]||(l[Sf]=!0,zg("selectionchange",!1,l))}}function F5(i,l,d,g){switch(x8(l)){case 2:var b=TM;break;case 8:b=AM;break;default:b=tx}d=b.bind(null,l,d,i),b=void 0,!i1||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(b=!0),g?b!==void 0?i.addEventListener(l,d,{capture:!0,passive:b}):i.addEventListener(l,d,!0):b!==void 0?i.addEventListener(l,d,{passive:b}):i.addEventListener(l,d,!1)}function Ug(i,l,d,g,b){var y=g;if((l&1)===0&&(l&2)===0&&g!==null)e:for(;;){if(g===null)return;var N=g.tag;if(N===3||N===4){var P=g.stateNode.containerInfo;
vendor: 2,790 bytes, line 49
49if(P===b)break;if(N===4)for(N=g.return;N!==null;){var X=N.tag;if((X===3||X===4)&&N.stateNode.containerInfo===b)return;N=N.return}for(;P!==null;){if(N=Tl(P),N===null)return;if(X=N.tag,X===5||X===6||X===26||X===27){g=y=N;continue e}P=P.parentNode}}g=g.return}Y4(function(){var fe=y,ye=a1(d),Te=[];e:{var me=E3.get(i);if(me!==void 0){var xe=L0,$e=i;switch(i){case"keypress":if(M0(d)===0)break e;case"keydown":case"keyup":xe=qD;break;case"focusin":$e="focus",xe=u1;break;case"focusout":$e="blur",xe=u1;break;case"beforeblur":case"afterblur":xe=u1;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":xe=K4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":xe=OD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":xe=GD;break;case x3:case b3:case v3:xe=MD;break;case y3:xe=QD;break;case"scroll":case"scrollend":xe=ND;break;case"wheel":xe=KD;break;case"copy":case"cut":case"paste":xe=LD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":xe=Z4;break;case"toggle":case"beforetoggle":xe=ZD}var rt=(l&4)!==0,$t=!rt&&(i==="scroll"||i==="scrollend"),se=rt?me!==null?me+"Capture":null:me;rt=[];for(var ee=fe,ue;ee!==null;){var _e=ee;if(ue=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||ue===null||se===null||(_e=fu(ee,se),_e!=null&&rt.push(Vu(ee,_e,ue))),$t)break;ee=ee.return}0<rt.length&&(me=new xe(me,$e,null,d,ye),Te.push({event:me,listeners:rt}))}}if((l&7)===0){e:{if(me=i==="mouseover"||i==="pointerover",xe=i==="mouseout"||i==="pointerout",me&&d!==r1&&($e=d.relatedTarget||d.fromElement)&&(Tl($e)||$e[_l]))break e;if((xe||me)&&(me=ye.window===ye?ye:(me=ye.ownerDocument)?me.defaultView||me.parentWindow:window,xe?($e=d.relatedTarget||d.toElement,xe=fe,$e=$e?Tl($e):null,$e!==null&&($t=s($e),rt=$e.tag,$e!==$t||rt!==5&&rt!==27&&rt!==6)&&($e=null)):(xe=null,$e=fe),xe!==$e)){if(rt=K4,_e="onMouseLeave",se="onMouseEnter",ee="mouse",(i==="pointerout"||i==="pointerover")&&(rt=Z4,_e="onPointerLeave",se="onPointerEnter",ee="pointer"),$t=xe==null?me:du(xe),ue=$e==null?me:du($e),me=new rt(_e,ee+"leave",xe,d,ye),me.target=$t,me.relatedTarget=ue,_e=null,Tl(ye)===fe&&(rt=new rt(se,ee+"enter",$e,d,ye),rt.target=ue,rt.relatedTarget=$t,_e=rt),$t=_e,xe&&$e)t:{for(rt=XI,se=xe,ee=$e,ue=0,_e=se;_e;_e=rt(_e))ue++;_e=0;for(var Ze=ee;Ze;Ze=rt(Ze))_e++;for(;0<ue-_e;)se=rt(se),ue--;for(;0<_e-ue;)ee=rt(ee),_e--;for(;ue--;){if(se===ee||ee!==null&&se===ee.alternate){rt=se;break t}se=rt(se),ee=rt(ee)}rt=null}else rt=null;xe!==null&&q5(Te,me,xe,rt,!1),$e!==null&&$t!==null&&q5(Te,$t,$e,rt,!0)}}
vendor: 5,244 bytes, lines 49-50
49e:{if(me=fe?du(fe):window,xe=me.nodeName&&me.nodeName.toLowerCase(),xe==="select"||xe==="input"&&me.type==="file")var It=i3;else if(a3(me))if(o3)It=lI;else{It=iI;var Qe=sI}else xe=me.nodeName,!xe||xe.toLowerCase()!=="input"||me.type!=="checkbox"&&me.type!=="radio"?fe&&n1(fe.elementType)&&(It=i3):It=oI;if(It&&(It=It(i,fe))){s3(Te,It,d,ye);break e}Qe&&Qe(i,me,fe),i==="focusout"&&fe&&me.type==="number"&&fe.memoizedProps.value!=null&&t1(me,"number",me.value)}switch(Qe=fe?du(fe):window,i){case"focusin":(a3(Qe)||Qe.contentEditable==="true")&&(Il=Qe,g1=fe,yu=null);break;case"focusout":yu=g1=Il=null;break;case"mousedown":x1=!0;break;case"contextmenu":case"mouseup":case"dragend":x1=!1,p3(Te,d,ye);break;case"selectionchange":if(uI)break;case"keydown":case"keyup":p3(Te,d,ye)}var mt;if(f1)e:{switch(i){case"compositionstart":var Ct="onCompositionStart";break e;case"compositionend":Ct="onCompositionEnd";break e;case"compositionupdate":Ct="onCompositionUpdate";break e}Ct=void 0}else Dl?n3(i,d)&&(Ct="onCompositionEnd"):i==="keydown"&&d.keyCode===229&&(Ct="onCompositionStart");Ct&&(J4&&d.locale!=="ko"&&(Dl||Ct!=="onCompositionStart"?Ct==="onCompositionEnd"&&Dl&&(mt=Q4()):(gi=ye,o1="value"in gi?gi.value:gi.textContent,Dl=!0)),Qe=Cf(fe,Ct),0<Qe.length&&(Ct=new X4(Ct,i,null,d,ye),Te.push({event:Ct,listeners:Qe}),mt?Ct.data=mt:(mt=r3(d),mt!==null&&(Ct.data=mt)))),(mt=eI?tI(i,d):nI(i,d))&&(Ct=Cf(fe,"onBeforeInput"),0<Ct.length&&(Qe=new X4("onBeforeInput","beforeinput",null,d,ye),Te.push({event:Qe,listeners:Ct}),Qe.data=mt)),YI(Te,i,fe,d,ye)}U5(Te,l)})}function Vu(i,l,d){return{instance:i,listener:l,currentTarget:d}}function Cf(i,l){for(var d=l+"Capture",g=[];i!==null;){var b=i,y=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||y===null||(b=fu(i,d),b!=null&&g.unshift(Vu(i,b,y)),b=fu(i,l),b!=null&&g.push(Vu(i,b,y))),i.tag===3)return g;i=i.return}return[]}function XI(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function q5(i,l,d,g,b){for(var y=l._reactName,N=[];d!==null&&d!==g;){var P=d,X=P.alternate,fe=P.stateNode;if(P=P.tag,X!==null&&X===g)break;P!==5&&P!==26&&P!==27||fe===null||(X=fe,b?(fe=fu(d,y),fe!=null&&N.unshift(Vu(d,fe,X))):b||(fe=fu(d,y),fe!=null&&N.push(Vu(d,fe,X)))),d=d.return}N.length!==0&&i.push({event:l,listeners:N})}var ZI=/\r\n?/g,JI=/\u0000|\uFFFD/g;function $5(i){return(typeof i=="string"?i:""+i).replace(ZI,` 50`).replace(JI,"")}function V5(i,l){return l=$5(l),$5(i)===l}function qt(i,l,d,g,b,y){switch(d){case"children":typeof g=="string"?l==="body"||l==="textarea"&&g===""||Nl(i,g):(typeof g=="number"||typeof g=="bigint")&&l!=="body"&&Nl(i,""+g);break;case"className":R0(i,"class",g);break;case"tabIndex":R0(i,"tabindex",g);break;case"dir":case"role":case"viewBox":case"width":case"height":R0(i,d,g);break;case"style":V4(i,g,y);break;case"data":if(l!=="object"){R0(i,"data",g);break}case"src":case"href":if(g===""&&(l!=="a"||d!=="href")){i.removeAttribute(d);break}if(g==null||typeof g=="function"||typeof g=="symbol"||typeof g=="boolean"){i.removeAttribute(d);break}g=D0(""+g),i.setAttribute(d,g);break;case"action":case"formAction":if(typeof g=="function"){i.setAttribute(d,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(d==="formAction"?(l!=="input"&&qt(i,l,"name",b.name,b,null),qt(i,l,"formEncType",b.formEncType,b,null),qt(i,l,"formMethod",b.formMethod,b,null),qt(i,l,"formTarget",b.formTarget,b,null)):(qt(i,l,"encType",b.encType,b,null),qt(i,l,"method",b.method,b,null),qt(i,l,"target",b.target,b,null)));if(g==null||typeof g=="symbol"||typeof g=="boolean"){i.removeAttribute(d);break}g=D0(""+g),i.setAttribute(d,g);break;case"onClick":g!=null&&(i.onclick=Os);break;case"onScroll":g!=null&&_t("scroll",i);break;case"onScrollEnd":g!=null&&_t("scrollend",i);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(r(61));if(d=g.__html,d!=null){if(b.children!=null)throw Error(r(60));i.innerHTML=d}}break;case"multiple":i.multiple=g&&typeof g!="function"&&typeof g!="symbol";break;case"muted":i.muted=g&&typeof g!="function"&&typeof g!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(g==null||typeof g=="function"||typeof g=="boolean"||typeof g=="symbol"){i.removeAttribute("xlink:href");break}d=D0(""+g),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":g!=null&&typeof g!="function"&&typeof g!="symbol"?i.setAttribute(d,""+g):i.removeAttribute(d);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
50ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":g&&typeof g!="function"&&typeof g!="symbol"?i.setAttribute(d,""):i.removeAttribute(d);break;case"capture":case"download":g===!0?i.setAttribute(d,""):g!==!1&&g!=null&&typeof g!="function"&&typeof g!="symbol"?i.setAttribute(d,g):i.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":g!=null&&typeof g!="function"&&typeof g!="symbol"&&!isNaN(g)&&1<=g?i.setAttribute(d,g):i.removeAttribute(d);break;case"rowSpan":case"start":g==null||typeof g=="function"||typeof g=="symbol"||isNaN(g)?i.removeAttribute(d):i.setAttribute(d,g);break;case"popover":_t("beforetoggle",i),_t("toggle",i),N0(i,"popover",g);break;case"xlinkActuate":Rs(i,"http://www.w3.org/1999/xlink","xlink:actuate",g);break;case"xlinkArcrole":Rs(i,"http://www.w3.org/1999/xlink","xlink:arcrole",g);break;case"xlinkRole":Rs(i,"http://www.w3.org/1999/xlink","xlink:role",g);break;case"xlinkShow":Rs(i,"http://www.w3.org/1999/xlink","xlink:show",g);break;case"xlinkTitle":Rs(i,"http://www.w3.org/1999/xlink","xlink:title",g);break;case"xlinkType":Rs(i,"http://www.w3.org/1999/xlink","xlink:type",g);break;case"xmlBase":Rs(i,"http://www.w3.org/XML/1998/namespace","xml:base",g);break;case"xmlLang":Rs(i,"http://www.w3.org/XML/1998/namespace","xml:lang",g);break;case"xmlSpace":Rs(i,"http://www.w3.org/XML/1998/namespace","xml:space",g);break;case"is":N0(i,"is",g);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=CD.get(d)||d,N0(i,d,g))}}function Fg(i,l,d,g,b,y){switch(d){case"style":V4(i,g,y);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(r(61));if(d=g.__html,d!=null){if(b.children!=null)throw Error(r(60));i.innerHTML=d}}break;case"children":typeof g=="string"?Nl(i,g):(typeof g=="number"||typeof g=="bigint")&&Nl(i,""+g);break;case"onScroll":g!=null&&_t("scroll",i);break;case"onScrollEnd":g!=null&&_t("scrollend",i);break;case"onClick":g!=null&&(i.onclick=Os);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!L4.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(b=d.endsWith("Capture"),l=d.slice(2,b?d.length-7:void 0),y=i[Rr]||null,y=y!=null?y[d]:null,typeof y=="function"&&i.removeEventListener(l,y,b),typeof g=="function")){typeof y!="function"&&y!==null&&(d in i?i[d]=null:i.hasAttribute(d)&&i.removeAttribute(d)),i.addEventListener(l,g,b);break e}d in i?i[d]=g:g===!0?i.setAttribute(d,""):N0(i,d,g)}}}function nr(i,l,d){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",i),_t("load",i);var g=!1,b=!1,y;for(y in d)if(d.hasOwnProperty(y)){var N=d[y];if(N!=null)switch(y){case"src":g=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:qt(i,l,y,N,d,null)}}b&&qt(i,l,"srcSet",d.srcSet,d,null),g&&qt(i,l,"src",d.src,d,null);return;case"input":_t("invalid",i);var P=y=N=b=null,X=null,fe=null;for(g in d)if(d.hasOwnProperty(g)){var ye=d[g];if(ye!=null)switch(g){case"name":b=ye;break;case"type":N=ye;break;case"checked":X=ye;break;case"defaultChecked":fe=ye;break;case"value":y=ye;break;case"defaultValue":P=ye;break;case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(r(137,l));break;default:qt(i,l,g,ye,d,null)}}U4(i,y,P,X,fe,N,b,!1);return;case"select":_t("invalid",i),g=N=y=null;for(b in d)if(d.hasOwnProperty(b)&&(P=d[b],P!=null))switch(b){case"value":y=P;break;case"defaultValue":N=P;break;case"multiple":g=P;default:qt(i,l,b,P,d,null)}l=y,d=N,i.multiple=!!g,l!=null?kl(i,!!g,l,!1):d!=null&&kl(i,!!g,d,!0);return;case"textarea":_t("invalid",i),y=b=g=null;for(N in d)if(d.hasOwnProperty(N)&&(P=d[N],P!=null))switch(N){case"value":g=P;break;case"defaultValue":b=P;break;case"children":y=P;break;case"dangerouslySetInnerHTML":if(P!=null)throw Error(r(91));break;default:qt(i,l,N,P,d,null)}q4(i,g,b,y);return;case"option":for(X in d)if(d.hasOwnProperty(X)&&(g=d[X],g!=null))switch(X){case"selected":i.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:qt(i,l,X,g,d,null)}return;case"dialog":_t("beforetoggle",i),_t("toggle",i),_t("cancel",i),_t("close",i);break;case"iframe":case"object":_t("load",i);break;case"video":case"audio":for(g=0;g<$u.length;g++)_t($u[g],i);break;case"image":_t("error",i),_t("load",i);break;case"details":_t("toggle",i);break;case"embed":case"source":case"link":_t("error",i),_t("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(fe in d)if(d.hasOwnProperty(fe)&&(g=d[fe],g!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:qt(i,l,fe,g,d,null)}return;default:if(n1(l)){for(ye in d)d.hasOwnProperty(ye)&&(g=d[ye],g!==void 0&&Fg(i,l,ye,g,d,void 0));return}}for(P in d)d.hasOwnProperty(P)&&(g=d[P],g!=null&&qt(i,l,P,g,d,null))}function eM(i,l,d,g){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,y=null,N=null,P=null,X=null,fe=null,ye=null;for(xe in d){var Te=d[xe];if(d.hasOwnProperty(xe)&&Te!=null)switch(xe){case"checked":break;case"value":break;case"defaultValue":X=Te;default:g.hasOwnProperty(xe)||qt(i,l,xe,null,g,Te)}}for(var me in g){var xe=g[me];if(Te=d[me],g.hasOwnProperty(me)&&(xe!=null||Te!=null))switch(me){case"type":y=xe;break;case"name":b=xe;break;case"checked":fe=xe;break;case"defaultChecked":ye=xe;break;case"value":N=xe;break;case"defaultValue":P=xe;break;case"children":case"dangerouslySetInnerHTML":if(xe!=null)throw Error(r(137,l));break;default:xe!==Te&&qt(i,l,me,xe,g,Te)}}e1(i,N,P,X,fe,ye,y,b);return;case"select":xe=N=P=me=null;
vendor: 7,231 bytes, line 50
50for(y in d)if(X=d[y],d.hasOwnProperty(y)&&X!=null)switch(y){case"value":break;case"multiple":xe=X;default:g.hasOwnProperty(y)||qt(i,l,y,null,g,X)}for(b in g)if(y=g[b],X=d[b],g.hasOwnProperty(b)&&(y!=null||X!=null))switch(b){case"value":me=y;break;case"defaultValue":P=y;break;case"multiple":N=y;default:y!==X&&qt(i,l,b,y,g,X)}l=P,d=N,g=xe,me!=null?kl(i,!!d,me,!1):!!g!=!!d&&(l!=null?kl(i,!!d,l,!0):kl(i,!!d,d?[]:"",!1));return;case"textarea":xe=me=null;for(P in d)if(b=d[P],d.hasOwnProperty(P)&&b!=null&&!g.hasOwnProperty(P))switch(P){case"value":break;case"children":break;default:qt(i,l,P,null,g,b)}for(N in g)if(b=g[N],y=d[N],g.hasOwnProperty(N)&&(b!=null||y!=null))switch(N){case"value":me=b;break;case"defaultValue":xe=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:b!==y&&qt(i,l,N,b,g,y)}F4(i,me,xe);return;case"option":for(var $e in d)if(me=d[$e],d.hasOwnProperty($e)&&me!=null&&!g.hasOwnProperty($e))switch($e){case"selected":i.selected=!1;break;default:qt(i,l,$e,null,g,me)}for(X in g)if(me=g[X],xe=d[X],g.hasOwnProperty(X)&&me!==xe&&(me!=null||xe!=null))switch(X){case"selected":i.selected=me&&typeof me!="function"&&typeof me!="symbol";break;default:qt(i,l,X,me,g,xe)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var rt in d)me=d[rt],d.hasOwnProperty(rt)&&me!=null&&!g.hasOwnProperty(rt)&&qt(i,l,rt,null,g,me);for(fe in g)if(me=g[fe],xe=d[fe],g.hasOwnProperty(fe)&&me!==xe&&(me!=null||xe!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(r(137,l));break;default:qt(i,l,fe,me,g,xe)}return;default:if(n1(l)){for(var $t in d)me=d[$t],d.hasOwnProperty($t)&&me!==void 0&&!g.hasOwnProperty($t)&&Fg(i,l,$t,void 0,g,me);for(ye in g)me=g[ye],xe=d[ye],!g.hasOwnProperty(ye)||me===xe||me===void 0&&xe===void 0||Fg(i,l,ye,me,g,xe);return}}for(var se in d)me=d[se],d.hasOwnProperty(se)&&me!=null&&!g.hasOwnProperty(se)&&qt(i,l,se,null,g,me);for(Te in g)me=g[Te],xe=d[Te],!g.hasOwnProperty(Te)||me===xe||me==null&&xe==null||qt(i,l,Te,me,g,xe)}function G5(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function tM(){if(typeof performance.getEntriesByType=="function"){for(var i=0,l=0,d=performance.getEntriesByType("resource"),g=0;g<d.length;g++){var b=d[g],y=b.transferSize,N=b.initiatorType,P=b.duration;if(y&&P&&G5(N)){for(N=0,P=b.responseEnd,g+=1;g<d.length;g++){var X=d[g],fe=X.startTime;if(fe>P)break;var ye=X.transferSize,Te=X.initiatorType;ye&&G5(Te)&&(X=X.responseEnd,N+=ye*(X<P?1:(P-fe)/(X-fe)))}if(--g,l+=8*(y+N)/(b.duration/1e3),i++,10<i)break}}if(0<i)return l/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var qg=null,$g=null;function kf(i){return i.nodeType===9?i:i.ownerDocument}function Y5(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Q5(i,l){if(i===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&l==="foreignObject"?0:i}function Vg(i,l){return i==="textarea"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Gg=null;function nM(){var i=window.event;return i&&i.type==="popstate"?i===Gg?!1:(Gg=i,!0):(Gg=null,!1)}var W5=typeof setTimeout=="function"?setTimeout:void 0,rM=typeof clearTimeout=="function"?clearTimeout:void 0,K5=typeof Promise=="function"?Promise:void 0,aM=typeof queueMicrotask=="function"?queueMicrotask:typeof K5<"u"?function(i){return K5.resolve(null).then(i).catch(sM)}:W5;function sM(i){setTimeout(function(){throw i})}function Ii(i){return i==="head"}function X5(i,l){var d=l,g=0;do{var b=d.nextSibling;if(i.removeChild(d),b&&b.nodeType===8)if(d=b.data,d==="/$"||d==="/&"){if(g===0){i.removeChild(b),ic(l);return}g--}else if(d==="$"||d==="$?"||d==="$~"||d==="$!"||d==="&")g++;else if(d==="html")Gu(i.ownerDocument.documentElement);else if(d==="head"){d=i.ownerDocument.head,Gu(d);for(var y=d.firstChild;y;){var N=y.nextSibling,P=y.nodeName;y[uu]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&y.rel.toLowerCase()==="stylesheet"||d.removeChild(y),y=N}}else d==="body"&&Gu(i.ownerDocument.body);d=b}while(d);ic(l)}function Z5(i,l){var d=i;i=0;do{var g=d.nextSibling;if(d.nodeType===1?l?(d._stashedDisplay=d.style.display,d.style.display="none"):(d.style.display=d._stashedDisplay||"",d.getAttribute("style")===""&&d.removeAttribute("style")):d.nodeType===3&&(l?(d._stashedText=d.nodeValue,d.nodeValue=""):d.nodeValue=d._stashedText||""),g&&g.nodeType===8)if(d=g.data,d==="/$"){if(i===0)break;i--}else d!=="$"&&d!=="$?"&&d!=="$~"&&d!=="$!"||i++;d=g}while(d)}function Yg(i){var l=i.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var d=l;switch(l=l.nextSibling,d.nodeName){case"HTML":case"HEAD":case"BODY":Yg(d),Zp(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}i.removeChild(d)}}function iM(i,l,d,g){for(;i.nodeType===1;){var b=d;if(i.nodeName.toLowerCase()!==l.toLowerCase()){if(!g&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(g){if(!i[uu])switch(l){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(y=i.getAttribute("rel"),y==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(y!==b.rel||i.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||i.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||i.getAttribute("title")!==(b.title==null?null:b.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(y=i.getAttribute("src"),(y!==(b.src==null?null:b.src)||i.getAttribute("type")!==(b.type==null?null:b.type)||i.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&y&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(l==="input"&&i.type==="hidden"){var y=b.name==null?null:""+b.name;if(b.type==="hidden"&&i.getAttribute("name")===y)return i}else return i;if(i=ga(i.nextSibling),i===null)break}return null}function oM(i,l,d){if(l==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!d||(i=ga(i.nextSibling),i===null))return null;return i}function J5(i,l){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!l||(i=ga(i.nextSibling),i===null))return null;return i}function Qg(i){return i.data==="$?"||i.data==="$~"}function Wg(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function lM(i,l){var d=i.ownerDocument;if(i.data==="$~")i._reactRetry=l;else if(i.data!=="$?"||d.readyState!=="loading")l();else{var g=function(){l(),d.removeEventListener("DOMContentLoaded",g)};d.addEventListener("DOMContentLoaded",g),i._reactRetry=g}}function ga(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break;if(l===8){if(l=i.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;
vendor: 9,491 bytes, line 50
50if(l==="/$"||l==="/&")return null}}return i}var Kg=null;function e8(i){i=i.nextSibling;for(var l=0;i;){if(i.nodeType===8){var d=i.data;if(d==="/$"||d==="/&"){if(l===0)return ga(i.nextSibling);l--}else d!=="$"&&d!=="$!"&&d!=="$?"&&d!=="$~"&&d!=="&"||l++}i=i.nextSibling}return null}function t8(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var d=i.data;if(d==="$"||d==="$!"||d==="$?"||d==="$~"||d==="&"){if(l===0)return i;l--}else d!=="/$"&&d!=="/&"||l++}i=i.previousSibling}return null}function n8(i,l,d){switch(l=kf(d),i){case"html":if(i=l.documentElement,!i)throw Error(r(452));return i;case"head":if(i=l.head,!i)throw Error(r(453));return i;case"body":if(i=l.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function Gu(i){for(var l=i.attributes;l.length;)i.removeAttributeNode(l[0]);Zp(i)}var xa=new Map,r8=new Set;function Nf(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Ys=re.d;re.d={f:cM,r:uM,D:dM,C:fM,L:hM,m:mM,X:gM,S:pM,M:xM};function cM(){var i=Ys.f(),l=yf();return i||l}function uM(i){var l=Al(i);l!==null&&l.tag===5&&l.type==="form"?y6(l):Ys.r(i)}var rc=typeof document>"u"?null:document;function a8(i,l,d){var g=rc;if(g&&typeof l=="string"&&l){var b=ca(l);b='link[rel="'+i+'"][href="'+b+'"]',typeof d=="string"&&(b+='[crossorigin="'+d+'"]'),r8.has(b)||(r8.add(b),i={rel:i,crossOrigin:d,href:l},g.querySelector(b)===null&&(l=g.createElement("link"),nr(l,"link",i),Un(l),g.head.appendChild(l)))}}function dM(i){Ys.D(i),a8("dns-prefetch",i,null)}function fM(i,l){Ys.C(i,l),a8("preconnect",i,l)}function hM(i,l,d){Ys.L(i,l,d);var g=rc;if(g&&i&&l){var b='link[rel="preload"][as="'+ca(l)+'"]';l==="image"&&d&&d.imageSrcSet?(b+='[imagesrcset="'+ca(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(b+='[imagesizes="'+ca(d.imageSizes)+'"]')):b+='[href="'+ca(i)+'"]';var y=b;switch(l){case"style":y=ac(i);break;case"script":y=sc(i)}xa.has(y)||(i=m({rel:"preload",href:l==="image"&&d&&d.imageSrcSet?void 0:i,as:l},d),xa.set(y,i),g.querySelector(b)!==null||l==="style"&&g.querySelector(Yu(y))||l==="script"&&g.querySelector(Qu(y))||(l=g.createElement("link"),nr(l,"link",i),Un(l),g.head.appendChild(l)))}}function mM(i,l){Ys.m(i,l);var d=rc;if(d&&i){var g=l&&typeof l.as=="string"?l.as:"script",b='link[rel="modulepreload"][as="'+ca(g)+'"][href="'+ca(i)+'"]',y=b;switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=sc(i)}if(!xa.has(y)&&(i=m({rel:"modulepreload",href:i},l),xa.set(y,i),d.querySelector(b)===null)){switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(Qu(y)))return}g=d.createElement("link"),nr(g,"link",i),Un(g),d.head.appendChild(g)}}}function pM(i,l,d){Ys.S(i,l,d);var g=rc;if(g&&i){var b=Sl(g).hoistableStyles,y=ac(i);l=l||"default";var N=b.get(y);if(!N){var P={loading:0,preload:null};if(N=g.querySelector(Yu(y)))P.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":l},d),(d=xa.get(y))&&Xg(i,d);var X=N=g.createElement("link");Un(X),nr(X,"link",i),X._p=new Promise(function(fe,ye){X.onload=fe,X.onerror=ye}),X.addEventListener("load",function(){P.loading|=1}),X.addEventListener("error",function(){P.loading|=2}),P.loading|=4,Rf(N,l,g)}N={type:"stylesheet",instance:N,count:1,state:P},b.set(y,N)}}}function gM(i,l){Ys.X(i,l);var d=rc;if(d&&i){var g=Sl(d).hoistableScripts,b=sc(i),y=g.get(b);y||(y=d.querySelector(Qu(b)),y||(i=m({src:i,async:!0},l),(l=xa.get(b))&&Zg(i,l),y=d.createElement("script"),Un(y),nr(y,"link",i),d.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},g.set(b,y))}}function xM(i,l){Ys.M(i,l);var d=rc;if(d&&i){var g=Sl(d).hoistableScripts,b=sc(i),y=g.get(b);y||(y=d.querySelector(Qu(b)),y||(i=m({src:i,async:!0,type:"module"},l),(l=xa.get(b))&&Zg(i,l),y=d.createElement("script"),Un(y),nr(y,"link",i),d.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},g.set(b,y))}}function s8(i,l,d,g){var b=(b=Se.current)?Nf(b):null;if(!b)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(l=ac(d.href),d=Sl(b).hoistableStyles,g=d.get(l),g||(g={type:"style",instance:null,count:0,state:null},d.set(l,g)),g):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){i=ac(d.href);var y=Sl(b).hoistableStyles,N=y.get(i);if(N||(b=b.ownerDocument||b,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(i,N),(y=b.querySelector(Yu(i)))&&!y._p&&(N.instance=y,N.state.loading=5),xa.has(i)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},xa.set(i,d),y||bM(b,i,d,N.state))),l&&g===null)throw Error(r(528,""));return N}if(l&&g!==null)throw Error(r(529,""));return null;case"script":return l=d.async,d=d.src,typeof d=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=sc(d),d=Sl(b).hoistableScripts,g=d.get(l),g||(g={type:"script",instance:null,count:0,state:null},d.set(l,g)),g):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ac(i){return'href="'+ca(i)+'"'}function Yu(i){return'link[rel="stylesheet"]['+i+"]"}function i8(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function bM(i,l,d,g){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?g.loading=1:(l=i.createElement("link"),g.preload=l,l.addEventListener("load",function(){return g.loading|=1}),l.addEventListener("error",function(){return g.loading|=2}),nr(l,"link",d),Un(l),i.head.appendChild(l))}function sc(i){return'[src="'+ca(i)+'"]'}function Qu(i){return"script[async]"+i}function o8(i,l,d){if(l.count++,l.instance===null)switch(l.type){case"style":var g=i.querySelector('style[data-href~="'+ca(d.href)+'"]');if(g)return l.instance=g,Un(g),g;var b=m({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return g=(i.ownerDocument||i).createElement("style"),Un(g),nr(g,"style",b),Rf(g,d.precedence,i),l.instance=g;case"stylesheet":b=ac(d.href);var y=i.querySelector(Yu(b));if(y)return l.state.loading|=4,l.instance=y,Un(y),y;g=i8(d),(b=xa.get(b))&&Xg(g,b),y=(i.ownerDocument||i).createElement("link"),Un(y);var N=y;return N._p=new Promise(function(P,X){N.onload=P,N.onerror=X}),nr(y,"link",g),l.state.loading|=4,Rf(y,d.precedence,i),l.instance=y;case"script":return y=sc(d.src),(b=i.querySelector(Qu(y)))?(l.instance=b,Un(b),b):(g=d,(b=xa.get(y))&&(g=m({},d),Zg(g,b)),i=i.ownerDocument||i,b=i.createElement("script"),Un(b),nr(b,"link",g),i.head.appendChild(b),l.instance=b);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(g=l.instance,l.state.loading|=4,Rf(g,d.precedence,i));return l.instance}function Rf(i,l,d){for(var g=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=g.length?g[g.length-1]:null,y=b,N=0;N<g.length;N++){var P=g[N];if(P.dataset.precedence===l)y=P;else if(y!==b)break}y?y.parentNode.insertBefore(i,y.nextSibling):(l=d.nodeType===9?d.head:d,l.insertBefore(i,l.firstChild))}function Xg(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.title==null&&(i.title=l.title)}function Zg(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.integrity==null&&(i.integrity=l.integrity)}var Of=null;function l8(i,l,d){if(Of===null){var g=new Map,b=Of=new Map;b.set(d,g)}else b=Of,g=b.get(d),g||(g=new Map,b.set(d,g));if(g.has(i))return g;for(g.set(i,null),d=d.getElementsByTagName(i),b=0;b<d.length;b++){var y=d[b];if(!(y[uu]||y[Zn]||i==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!=="http://www.w3.org/2000/svg"){var N=y.getAttribute(l)||"";N=i+N;var P=g.get(N);P?P.push(y):g.set(N,[y])}}return g}function c8(i,l,d){i=i.ownerDocument||i,i.head.insertBefore(d,l==="title"?i.querySelector("head > title"):null)}function vM(i,l,d){if(d===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function u8(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function yM(i,l,d,g){if(d.type==="stylesheet"&&(typeof g.media!="string"||matchMedia(g.media).matches!==!1)&&(d.state.loading&4)===0){if(d.instance===null){var b=ac(g.href),y=l.querySelector(Yu(b));if(y){l=y._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(i.count++,i=Df.bind(i),l.then(i,i)),d.state.loading|=4,d.instance=y,Un(y);return}y=l.ownerDocument||l,g=i8(g),(b=xa.get(b))&&Xg(g,b),y=y.createElement("link"),Un(y);var N=y;N._p=new Promise(function(P,X){N.onload=P,N.onerror=X}),nr(y,"link",g),d.instance=y}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(d,l),(l=d.state.preload)&&(d.state.loading&3)===0&&(i.count++,d=Df.bind(i),l.addEventListener("load",d),l.addEventListener("error",d))}}var Jg=0;
vendor: 4,460 bytes, line 50
50function EM(i,l){return i.stylesheets&&i.count===0&&Mf(i,i.stylesheets),0<i.count||0<i.imgCount?function(d){var g=setTimeout(function(){if(i.stylesheets&&Mf(i,i.stylesheets),i.unsuspend){var y=i.unsuspend;i.unsuspend=null,y()}},6e4+l);0<i.imgBytes&&Jg===0&&(Jg=62500*tM());var b=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Mf(i,i.stylesheets),i.unsuspend)){var y=i.unsuspend;i.unsuspend=null,y()}},(i.imgBytes>Jg?50:800)+l);return i.unsuspend=d,function(){i.unsuspend=null,clearTimeout(g),clearTimeout(b)}}:null}function Df(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Mf(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var If=null;function Mf(i,l){i.stylesheets=null,i.unsuspend!==null&&(i.count++,If=new Map,l.forEach(wM,i),If=null,Df.call(i))}function wM(i,l){if(!(l.state.loading&4)){var d=If.get(i);if(d)var g=d.get(null);else{d=new Map,If.set(i,d);for(var b=i.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<b.length;y++){var N=b[y];(N.nodeName==="LINK"||N.getAttribute("media")!=="not all")&&(d.set(N.dataset.precedence,N),g=N)}g&&d.set(null,g)}b=l.instance,N=b.getAttribute("data-precedence"),y=d.get(N)||g,y===g&&d.set(null,b),d.set(N,b),this.count++,g=Df.bind(this),b.addEventListener("load",g),b.addEventListener("error",g),y?y.parentNode.insertBefore(b,y.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(b,i.firstChild)),l.state.loading|=4}}var Wu={$$typeof:R,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function _M(i,l,d,g,b,y,N,P,X){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mi(0),this.hiddenUpdates=mi(null),this.identifierPrefix=g,this.onUncaughtError=b,this.onCaughtError=y,this.onRecoverableError=N,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=X,this.incompleteTransitions=new Map}function d8(i,l,d,g,b,y,N,P,X,fe,ye,Te){return i=new _M(i,l,d,N,X,fe,ye,Te,P),l=1,y===!0&&(l|=24),y=Vr(3,null,null,l),i.current=y,y.stateNode=i,l=D1(),l.refCount++,i.pooledCache=l,l.refCount++,y.memoizedState={element:g,isDehydrated:d,cache:l},L1(y),i}function f8(i){return i?(i=Ll,i):Ll}function h8(i,l,d,g,b,y){b=f8(b),g.context===null?g.context=b:g.pendingContext=b,g=wi(l),g.payload={element:d},y=y===void 0?null:y,y!==null&&(g.callback=y),d=_i(i,g,l),d!==null&&(Lr(d,i,l),Cu(d,i,l))}function m8(i,l){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var d=i.retryLane;i.retryLane=d!==0&&d<l?d:l}}function ex(i,l){m8(i,l),(i=i.alternate)&&m8(i,l)}function p8(i){if(i.tag===13||i.tag===31){var l=To(i,67108864);l!==null&&Lr(l,i,67108864),ex(i,67108864)}}function g8(i){if(i.tag===13||i.tag===31){var l=Kr();l=wl(l);var d=To(i,l);d!==null&&Lr(d,i,l),ex(i,l)}}var Pf=!0;function TM(i,l,d,g){var b=$.T;$.T=null;var y=re.p;try{re.p=2,tx(i,l,d,g)}finally{re.p=y,$.T=b}}function AM(i,l,d,g){var b=$.T;$.T=null;var y=re.p;try{re.p=8,tx(i,l,d,g)}finally{re.p=y,$.T=b}}function tx(i,l,d,g){if(Pf){var b=nx(g);if(b===null)Ug(i,l,g,Lf,d),b8(i,g);else if(CM(b,i,l,d,g))g.stopPropagation();else if(b8(i,g),l&4&&-1<SM.indexOf(i)){for(;b!==null;){var y=Al(b);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var N=Ka(y.pendingLanes);if(N!==0){var P=y;for(P.pendingLanes|=2,P.entangledLanes|=2;N;){var X=1<<31-zt(N);P.entanglements[1]|=X,N&=~X}es(y),(Bt&6)===0&&(bf=Wn()+500,qu(0))}}break;case 31:case 13:P=To(y,2),P!==null&&Lr(P,y,2),yf(),ex(y,2)}if(y=nx(g),y===null&&Ug(i,l,g,Lf,d),y===b)break;b=y}b!==null&&g.stopPropagation()}else Ug(i,l,g,null,d)}}function nx(i){return i=a1(i),rx(i)}var Lf=null;function rx(i){if(Lf=null,i=Tl(i),i!==null){var l=s(i);if(l===null)i=null;else{var d=l.tag;if(d===13){if(i=o(l),i!==null)return i;i=null}else if(d===31){if(i=c(l),i!==null)return i;i=null}else if(d===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;i=null}else l!==i&&(i=null)}}return Lf=i,null}function x8(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 4,354 bytes, line 50
50:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(cu()){case Ee:return 2;case je:return 8;case nt:case ht:return 32;case Et:return 268435456;default:return 32}default:return 32}}var ax=!1,Mi=null,Pi=null,Li=null,Ku=new Map,Xu=new Map,ji=[],SM="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function b8(i,l){switch(i){case"focusin":case"focusout":Mi=null;break;case"dragenter":case"dragleave":Pi=null;break;case"mouseover":case"mouseout":Li=null;break;case"pointerover":case"pointerout":Ku.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xu.delete(l.pointerId)}}function Zu(i,l,d,g,b,y){return i===null||i.nativeEvent!==y?(i={blockedOn:l,domEventName:d,eventSystemFlags:g,nativeEvent:y,targetContainers:[b]},l!==null&&(l=Al(l),l!==null&&p8(l)),i):(i.eventSystemFlags|=g,l=i.targetContainers,b!==null&&l.indexOf(b)===-1&&l.push(b),i)}function CM(i,l,d,g,b){switch(l){case"focusin":return Mi=Zu(Mi,i,l,d,g,b),!0;case"dragenter":return Pi=Zu(Pi,i,l,d,g,b),!0;case"mouseover":return Li=Zu(Li,i,l,d,g,b),!0;case"pointerover":var y=b.pointerId;return Ku.set(y,Zu(Ku.get(y)||null,i,l,d,g,b)),!0;case"gotpointercapture":return y=b.pointerId,Xu.set(y,Zu(Xu.get(y)||null,i,l,d,g,b)),!0}return!1}function v8(i){var l=Tl(i.target);if(l!==null){var d=s(l);if(d!==null){if(l=d.tag,l===13){if(l=o(d),l!==null){i.blockedOn=l,I4(i.priority,function(){g8(d)});return}}else if(l===31){if(l=c(d),l!==null){i.blockedOn=l,I4(i.priority,function(){g8(d)});return}}else if(l===3&&d.stateNode.current.memoizedState.isDehydrated){i.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}i.blockedOn=null}function jf(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var d=nx(i.nativeEvent);if(d===null){d=i.nativeEvent;var g=new d.constructor(d.type,d);r1=g,d.target.dispatchEvent(g),r1=null}else return l=Al(d),l!==null&&p8(l),i.blockedOn=d,!1;l.shift()}return!0}function y8(i,l,d){jf(i)&&d.delete(l)}function kM(){ax=!1,Mi!==null&&jf(Mi)&&(Mi=null),Pi!==null&&jf(Pi)&&(Pi=null),Li!==null&&jf(Li)&&(Li=null),Ku.forEach(y8),Xu.forEach(y8)}function Bf(i,l){i.blockedOn===l&&(i.blockedOn=null,ax||(ax=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,kM)))}var zf=null;function E8(i){zf!==i&&(zf=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){zf===i&&(zf=null);for(var l=0;l<i.length;l+=3){var d=i[l],g=i[l+1],b=i[l+2];if(typeof g!="function"){if(rx(g||d)===null)continue;break}var y=Al(d);y!==null&&(i.splice(l,3),l-=3,ng(y,{pending:!0,data:b,method:d.method,action:g},g,b))}}))}function ic(i){function l(X){return Bf(X,i)}Mi!==null&&Bf(Mi,i),Pi!==null&&Bf(Pi,i),Li!==null&&Bf(Li,i),Ku.forEach(l),Xu.forEach(l);for(var d=0;d<ji.length;d++){var g=ji[d];g.blockedOn===i&&(g.blockedOn=null)}for(;0<ji.length&&(d=ji[0],d.blockedOn===null);)v8(d),d.blockedOn===null&&ji.shift();if(d=(i.ownerDocument||i).$$reactFormReplay,d!=null)for(g=0;g<d.length;g+=3){var b=d[g],y=d[g+1],N=b[Rr]||null;if(typeof y=="function")N||E8(d);else if(N){var P=null;if(y&&y.hasAttribute("formAction")){if(b=y,N=y[Rr]||null)P=N.formAction;else if(rx(b)!==null)continue}else P=N.action;
vendor: 1,987 bytes, line 50
50typeof P=="function"?d[g+1]=P:(d.splice(g,3),g-=3),E8(d)}}}function w8(){function i(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(N){return b=N})},focusReset:"manual",scroll:"manual"})}function l(){b!==null&&(b(),b=null),g||setTimeout(d,20)}function d(){if(!g&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var g=!1,b=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(d,100),function(){g=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),b!==null&&(b(),b=null)}}}function sx(i){this._internalRoot=i}Hf.prototype.render=sx.prototype.render=function(i){var l=this._internalRoot;if(l===null)throw Error(r(409));var d=l.current,g=Kr();h8(d,g,i,l,null,null)},Hf.prototype.unmount=sx.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var l=i.containerInfo;h8(i.current,2,null,i,null,null),yf(),l[_l]=null}};function Hf(i){this._internalRoot=i}Hf.prototype.unstable_scheduleHydration=function(i){if(i){var l=Kp();i={blockedOn:null,target:i,priority:l};for(var d=0;d<ji.length&&l!==0&&l<ji[d].priority;d++);ji.splice(d,0,i),d===0&&v8(i)}};var _8=t.version;if(_8!=="19.2.1")throw Error(r(527,_8,"19.2.1"));re.findDOMNode=function(i){var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=f(l),i=i!==null?p(i):null,i=i===null?null:i.stateNode,i};var NM={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Uf=__REACT_DEVTOOLS_GLOBAL_HOOK__;
50if(!Uf.isDisabled&&Uf.supportsFiber)try{Kn=Uf.inject(NM),xn=Uf}catch{}}return td.createRoot=function(i,l){if(!a(i))throw Error(r(299));var d=!1,g="",b=R6,y=O6,N=D6;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(g=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(y=l.onCaughtError),l.onRecoverableError!==void 0&&(N=l.onRecoverableError)),l=d8(i,1,!1,null,null,d,g,null,b,y,N,w8),i[_l]=l.current,Hg(i),new sx(l)},td.hydrateRoot=function(i,l,d){if(!a(i))throw Error(r(299));var g=!1,b="",y=R6,N=O6,P=D6,X=null;return d!=null&&(d.unstable_strictMode===!0&&(g=!0),d.identifierPrefix!==void 0&&(b=d.identifierPrefix),d.onUncaughtError!==void 0&&(y=d.onUncaughtError),d.onCaughtError!==void 0&&(N=d.onCaughtError),d.onRecoverableError!==void 0&&(P=d.onRecoverableError),d.formState!==void 0&&(X=d.formState)),l=d8(i,1,!0,l,d??null,g,b,X,y,N,P,w8),l.context=f8(null),d=l.current,g=Kr(),g=wl(g),b=wi(g),b.callback=null,_i(d,b,g),d=g,l.current.lanes=d,on(l,d),es(l),i[_l]=l.current,Hg(i),new Hf(l)},td.version="19.2.1",td}var W8;function $L(){if(W8)return fx.exports;W8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fx.exports=qL(),fx.exports}var VL=$L(),GL=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),MT=(function(){function e(t){this.generateIdentifier=t,this.kv=new GL}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),YL=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),QL=(function(e){YL(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(MT),WL=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s};function KL(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function XL(e,t){var n=KL(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var s=r[a];if(t(s))return s}}function Ic(e,t){Object.entries(e).forEach(function(n){var r=WL(n,2),a=r[0],s=r[1];return t(s,a)})}function Sh(e,t){return e.indexOf(t)!==-1}function K8(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var ZL=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return XL(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),JL=function(e){return Object.prototype.toString.call(e).slice(8,-1)},PT=function(e){return typeof e>"u"},ej=function(e){return e===null},Bd=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},Ub=function(e){return Bd(e)&&Object.keys(e).length===0},no=function(e){return Array.isArray(e)},tj=function(e){return typeof e=="string"},nj=function(e){return typeof e=="number"&&!isNaN(e)},rj=function(e){return typeof e=="boolean"},aj=function(e){return e instanceof RegExp},zd=function(e){return e instanceof Map},Hd=function(e){return e instanceof Set},LT=function(e){return JL(e)==="Symbol"},sj=function(e){return e instanceof Date&&!isNaN(e.valueOf())},ij=function(e){return e instanceof Error},X8=function(e){return typeof e=="number"&&isNaN(e)},oj=function(e){return rj(e)||ej(e)||PT(e)||nj(e)||tj(e)||LT(e)},lj=function(e){return typeof e=="bigint"},cj=function(e){return e===1/0||e===-1/0},uj=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},dj=function(e){return e instanceof URL},jT=function(e){return e.replace(/\./g,"\\.")},gx=function(e){return e.map(String).map(jT).join(".")},Ed=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),s=a==="\\"&&e.charAt(r+1)===".";if(s){n+=".",r++;continue}var o=a===".";if(o){t.push(n),n="";continue}n+=a}var c=n;return t.push(c),t},Fb=function(){return Fb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Fb.apply(this,arguments)},qb=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},$b=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function ts(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var BT=[ts(PT,"undefined",function(){return null},function(){}),ts(lj,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),ts(sj,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),ts(ij,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),ts(aj,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
50),ts(Hd,"set",function(e){return $b([],qb(e.values()))},function(e){return new Set(e)}),ts(zd,"map",function(e){return $b([],qb(e.entries()))},function(e){return new Map(e)}),ts(function(e){return X8(e)||cj(e)},"number",function(e){return X8(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),ts(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),ts(dj,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function $m(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var zT=$m(function(e,t){if(LT(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),fj=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),HT=$m(uj,function(e){return["typed-array",e.constructor.name]},function(e){return $b([],qb(e))},function(e,t){var n=fj[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function UT(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var FT=$m(UT,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return Fb({},e);var r={};return n.forEach(function(a){r[a]=e[a]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),qT=$m(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),hj=[FT,zT,qT,HT],Z8=function(e,t){var n=K8(hj,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=K8(BT,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},$T={};BT.forEach(function(e){$T[e.annotation]=e});var mj=function(e,t,n){if(no(t))switch(t[0]){case"symbol":return zT.untransform(e,t,n);case"class":return FT.untransform(e,t,n);case"custom":return qT.untransform(e,t,n);case"typed-array":return HT.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=$T[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},Ec=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function VT(e){if(Sh(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Sh(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Sh(e,"constructor"))throw new Error("constructor is not allowed as a property")}var pj=function(e,t){VT(t);for(var n=0;n<t.length;n++){var r=t[n];if(Hd(e))e=Ec(e,+r);else if(zd(e)){var a=+r,s=+t[++n]==0?"key":"value",o=Ec(e,a);switch(s){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[r]}return e},Vb=function(e,t,n){if(VT(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var s=t[a];if(no(r)){var o=+s;r=r[o]}else if(Bd(r))r=r[s];else if(Hd(r)){var c=+s;r=Ec(r,c)}else if(zd(r)){var u=a===t.length-2;if(u)break;var c=+s,f=+t[++a]==0?"key":"value",p=Ec(r,c);switch(f){case"key":r=p;break;case"value":r=r.get(p);break}}}var m=t[t.length-1];if(no(r)?r[+m]=n(r[+m]):Bd(r)&&(r[m]=n(r[m])),Hd(r)){var x=Ec(r,+m),v=n(x);x!==v&&(r.delete(x),r.add(v))}if(zd(r)){var c=+t[t.length-2],E=Ec(r,c),f=+m==0?"key":"value";switch(f){case"key":{var _=n(E);r.set(_,r.get(E)),_!==E&&r.delete(E);break}case"value":{r.set(E,n(r.get(E)));break}}}return e},Js=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},Wi=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Gb(e,t,n){if(n===void 0&&(n=[]),!!e){if(!no(e)){Ic(e,function(o,c){return Gb(o,t,Wi(Wi([],Js(n)),Js(Ed(c))))});return}var r=Js(e,2),a=r[0],s=r[1];s&&Ic(s,function(o,c){Gb(o,t,Wi(Wi([],Js(n)),Js(Ed(c))))}),t(a,n)}}function gj(e,t,n){return Gb(t,function(r,a){e=Vb(e,a,function(s){return mj(s,r,n)})}),e}function xj(e,t){function n(o,c){var u=pj(e,Ed(c));
50o.map(Ed).forEach(function(f){e=Vb(e,f,function(){return u})})}if(no(t)){var r=Js(t,2),a=r[0],s=r[1];a.forEach(function(o){e=Vb(e,Ed(o),function(){return e})}),s&&Ic(s,n)}else Ic(t,n);return e}var bj=function(e,t){return Bd(e)||no(e)||zd(e)||Hd(e)||UT(e,t)};function vj(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function yj(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(u){return u.map(String)}).sort(function(u,f){return u.length-f.length}));var s=Js(a),o=s[0],c=s.slice(1);o.length===0?r=c.map(gx):n[gx(o)]=c.map(gx)}}),r?Ub(n)?[r]:[r,n]:Ub(n)?void 0:n}var GT=function(e,t,n,r,a,s,o){var c;a===void 0&&(a=[]),s===void 0&&(s=[]),o===void 0&&(o=new Map);var u=oj(e);if(!u){vj(e,a,t);var f=o.get(e);if(f)return r?{transformedValue:null}:f}if(!bj(e,n)){var p=Z8(e,n),m=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return u||o.set(e,m),m}if(Sh(s,e))return{transformedValue:null};var x=Z8(e,n),v=(c=x?.value)!==null&&c!==void 0?c:e,E=no(v)?[]:{},_={};Ic(v,function(S,O){var R=GT(S,t,n,r,Wi(Wi([],Js(a)),[O]),Wi(Wi([],Js(s)),[e]),o);E[O]=R.transformedValue,no(R.annotations)?_[O]=R.annotations:Bd(R.annotations)&&Ic(R.annotations,function(q,H){_[jT(O)+"."+H]=q})});var k=Ub(_)?{transformedValue:E,annotations:x?[x.type]:void 0}:{transformedValue:E,annotations:x?[x.type,_]:_};return u||o.set(e,k),k};function YT(e){return Object.prototype.toString.call(e).slice(8,-1)}function J8(e){return YT(e)==="Array"}function Ej(e){if(YT(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function wj(e,t,n,r,a){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),a&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Yb(e,t={}){if(J8(e))return e.map(a=>Yb(a,t));if(!Ej(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,s)=>{if(J8(t.props)&&!t.props.includes(s))return a;const o=e[s],c=Yb(o,t);return wj(a,s,c,e,t.nonenumerable),a},{})}var $o=function(){return $o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},$o.apply(this,arguments)},_j=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},Tj=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},ui=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new QL,this.symbolRegistry=new MT(function(s){var o;return(o=s.description)!==null&&o!==void 0?o:""}),this.customTransformerRegistry=new ZL,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=GT(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=$o($o({},a.meta),{values:r.annotations}));var s=yj(n,this.dedupe);return s&&(a.meta=$o($o({},a.meta),{referentialEqualities:s})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=Yb(n);return r?.values&&(a=gj(a,r.values,this)),r?.referentialEqualities&&(a=xj(a,r.referentialEqualities)),a},e.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},e.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},e.prototype.registerClass=function(t,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register($o({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,Tj([],_j(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();ui.serialize;ui.deserialize;ui.stringify;ui.parse;ui.registerClass;ui.registerCustom;ui.registerSymbol;ui.allowErrorProps;const Aj="modulepreload",Sj=function(e){return"/"+e},e7={}
vendor: 4,317 bytes, line 50
50,F=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let u=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),c=o?.nonce||o?.getAttribute("nonce");a=u(n.map(f=>{if(f=Sj(f),f in e7)return;e7[f]=!0;const p=f.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${m}`))return;const x=document.createElement("link");if(x.rel=p?"stylesheet":Aj,p||(x.as="script"),x.crossOrigin="",x.href=f,c&&x.setAttribute("nonce",c),document.head.appendChild(x),p)return new Promise((v,E)=>{x.addEventListener("load",v),x.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${f}`)))})}))}function s(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return a.then(o=>{for(const c of o||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};function t7(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Vm(...e){return t=>{let n=!1;const r=e.map(a=>{const s=t7(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():t7(e[a],null)}}}}function Dt(...e){return T.useCallback(Vm(...e),e)}function Jo(e){const t=Cj(e),n=T.forwardRef((r,a)=>{const{children:s,...o}=r,c=T.Children.toArray(s),u=c.find(Nj);if(u){const f=u.props.children,p=c.map(m=>m===u?T.Children.count(f)>1?T.Children.only(null):T.isValidElement(f)?f.props.children:null:m);return h.jsx(t,{...o,ref:a,children:T.isValidElement(f)?T.cloneElement(f,void 0,p):null})}return h.jsx(t,{...o,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}var QT=Jo("Slot");function Cj(e){const t=T.forwardRef((n,r)=>{const{children:a,...s}=n;if(T.isValidElement(a)){const o=Oj(a),c=Rj(s,a.props);return a.type!==T.Fragment&&(c.ref=r?Vm(r,o):o),T.cloneElement(a,c)}return T.Children.count(a)>1?T.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WT=Symbol("radix.slottable");function kj(e){const t=({children:n})=>h.jsx(h.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=WT,t}function Nj(e){return T.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WT}function Rj(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...c)=>{const u=s(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function Oj(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function KT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=KT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function gv(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=KT(e))&&(r&&(r+=" "),r+=t);return r}const n7=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,r7=gv,XT=(e,t)=>n=>{var r;if(t?.variants==null)return r7(e,n?.class,n?.className);const{variants:a,defaultVariants:s}=t,o=Object.keys(a).map(f=>{const p=n?.[f],m=s?.[f];if(p===null)return null;const x=n7(p)||n7(m);return a[f][x]}),c=n&&Object.entries(n).reduce((f,p)=>{let[m,x]=p;return x===void 0||(f[m]=x),f},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,p)=>{let{class:m,className:x,...v}=p;return Object.entries(v).every(E=>{let[_,k]=E;return Array.isArray(k)?k.includes({...s,...c}[_]):{...s,...c}[_]===k})?[...f,m,x]:f},[]);return r7(e,o,u,n?.class,n?.className)},xv="-",Dj=e=>{const t=Mj(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const c=o.split(xv);return c[0]===""&&c.length!==1&&c.shift(),ZT(c,t)||Ij(o)},getConflictingClassGroupIds:(o,c)=>{const u=n[o]||[];return c&&r[o]?[...u,...r[o]]:u}}},ZT=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?ZT(e.slice(1),r):void 0;if(a)return a;
vendor: 7,034 bytes, line 50
50if(t.validators.length===0)return;const s=e.join(xv);return t.validators.find(({validator:o})=>o(s))?.classGroupId},a7=/^\[(.+)\]$/,Ij=e=>{if(a7.test(e)){const t=a7.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Mj=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)Qb(n[a],r,a,t);return r},Qb=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:s7(t,a);s.classGroupId=n;return}if(typeof a=="function"){if(Pj(a)){Qb(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,o])=>{Qb(o,s7(t,s),n,r)})})},s7=(e,t)=>{let n=e;return t.split(xv).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Pj=e=>e.isThemeGetter,Lj=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return a(s,o),o},set(s,o){n.has(s)?n.set(s,o):a(s,o)}}},Wb="!",Kb=":",jj=Kb.length,Bj=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let o=0,c=0,u=0,f;for(let E=0;E<a.length;E++){let _=a[E];if(o===0&&c===0){if(_===Kb){s.push(a.slice(u,E)),u=E+jj;continue}if(_==="/"){f=E;continue}}_==="["?o++:_==="]"?o--:_==="("?c++:_===")"&&c--}const p=s.length===0?a:a.substring(u),m=zj(p),x=m!==p,v=f&&f>u?f-u:void 0;return{modifiers:s,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:v}};if(t){const a=t+Kb,s=r;r=o=>o.startsWith(a)?s(o.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},zj=e=>e.endsWith(Wb)?e.substring(0,e.length-1):e.startsWith(Wb)?e.substring(1):e,Hj=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let s=[];return r.forEach(o=>{o[0]==="["||t[o]?(a.push(...s.sort(),o),s=[]):s.push(o)}),a.push(...s.sort()),a}},Uj=e=>({cache:Lj(e.cacheSize),parseClassName:Bj(e),sortModifiers:Hj(e),...Dj(e)}),Fj=/\s+/,qj=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,o=[],c=e.trim().split(Fj);let u="";for(let f=c.length-1;f>=0;f-=1){const p=c[f],{isExternal:m,modifiers:x,hasImportantModifier:v,baseClassName:E,maybePostfixModifierPosition:_}=n(p);if(m){u=p+(u.length>0?" "+u:u);continue}let k=!!_,S=r(k?E.substring(0,_):E);if(!S){if(!k){u=p+(u.length>0?" "+u:u);continue}if(S=r(E),!S){u=p+(u.length>0?" "+u:u);continue}k=!1}const O=s(x).join(":"),R=v?O+Wb:O,q=R+S;if(o.includes(q))continue;o.push(q);const H=a(S,k);for(let L=0;L<H.length;++L){const M=H[L];o.push(R+M)}u=p+(u.length>0?" "+u:u)}return u};function $j(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=JT(t))&&(r&&(r+=" "),r+=n);return r}const JT=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=JT(e[r]))&&(n&&(n+=" "),n+=t);return n};function Vj(e,...t){let n,r,a,s=o;function o(u){const f=t.reduce((p,m)=>m(p),e());return n=Uj(f),r=n.cache.get,a=n.cache.set,s=c,c(u)}function c(u){const f=r(u);if(f)return f;const p=qj(u,n);return a(u,p),p}return function(){return s($j.apply(null,arguments))}}const Mn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},eA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Gj=/^\d+\/\d+$/,Yj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Kj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,lc=e=>Gj.test(e),bt=e=>!!e&&!Number.isNaN(Number(e)),zi=e=>!!e&&Number.isInteger(Number(e)),xx=e=>e.endsWith("%")&&bt(e.slice(0,-1)),Qs=e=>Yj.test(e),Zj=()=>!0,Jj=e=>Qj.test(e)&&!Wj.test(e),nA=()=>!1,eB=e=>Kj.test(e),tB=e=>Xj.test(e),nB=e=>!Ve(e)&&!Ge(e),rB=e=>$c(e,sA,nA),Ve=e=>eA.test(e),jo=e=>$c(e,iA,Jj),bx=e=>$c(e,lB,bt),i7=e=>$c(e,rA,nA),aB=e=>$c(e,aA,tB),Gf=e=>$c(e,oA,eB),Ge=e=>tA.test(e),nd=e=>Vc(e,iA),sB=e=>Vc(e,cB),o7=e=>Vc(e,rA),iB=e=>Vc(e,sA),oB=e=>Vc(e,aA),Yf=e=>Vc(e,oA,!0),$c=(e,t,n)=>{const r=eA.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vc=(e,t,n=!1)=>{const r=tA.exec(e);return r?r[1]?t(r[1]):n:!1},rA=e=>e==="position"||e==="percentage",aA=e=>e==="image"||e==="url",sA=e=>e==="length"||e==="size"||e==="bg-size",iA=e=>e==="length",lB=e=>e==="number",cB=e=>e==="family-name",oA=e=>e==="shadow",uB=()=>{const e=Mn("color"),t=Mn("font"),n=Mn("text"),r=Mn("font-weight"),a=Mn("tracking"),s=Mn("leading"),o=Mn("breakpoint"),c=Mn("container"),u=Mn("spacing"),f=Mn("radius"),p=Mn("shadow"),m=Mn("inset-shadow"),x=Mn("text-shadow"),v=Mn("drop-shadow"),E=Mn("blur"),_=Mn("perspective"),k=Mn("aspect"),S=Mn("ease"),O=Mn("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...q(),Ge,Ve],L=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],B=()=>[Ge,Ve,u],Z=()=>[lc,"full","auto",...B()],Y=()=>[zi,"none","subgrid",Ge,Ve],ae=()=>["auto",{span:["full",zi,Ge,Ve]},zi,Ge,Ve],ne=()=>[zi,"auto",Ge,Ve],he=()=>["auto","min","max","fr",Ge,Ve],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...B()],re=()=>[lc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],J=()=>[e,Ge,Ve],ge=()=>[...q(),o7,i7,{position:[Ge,Ve]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",iB,rB,{size:[Ge,Ve]}],oe=()=>[xx,nd,jo],D=()=>["","none","full",f,Ge,Ve],ce=()=>["",bt,nd,jo],we=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>[bt,xx,o7,i7],Pe=()=>["","none",E,Ge,Ve],Ye=()=>["none",bt,Ge,Ve],Xe=()=>["none",bt,Ge,Ve],it=()=>[bt,Ge,Ve],xt=()=>[lc,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Qs],breakpoint:[Qs],color:[Zj],container:[Qs],"drop-shadow":[Qs],ease:["in","out","in-out"],font:[nB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Qs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Qs],shadow:[Qs],spacing:["px",bt],text:[Qs],"text-shadow":[Qs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",lc,Ve,Ge,k]}
vendor: 10,979 bytes, line 50
50],container:["container"],columns:[{columns:[bt,Ve,Ge,c]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:H()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Z()}],"inset-x":[{"inset-x":Z()}],"inset-y":[{"inset-y":Z()}],start:[{start:Z()}],end:[{end:Z()}],top:[{top:Z()}],right:[{right:Z()}],bottom:[{bottom:Z()}],left:[{left:Z()}],visibility:["visible","invisible","collapse"],z:[{z:[zi,"auto",Ge,Ve]}],basis:[{basis:[lc,"full","auto",c,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,lc,"auto","initial","none",Ve]}],grow:[{grow:["",bt,Ge,Ve]}],shrink:[{shrink:["",bt,Ge,Ve]}],order:[{order:[zi,"first","last","none",Ge,Ve]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:re()}],w:[{w:[c,"screen",...re()]}],"min-w":[{"min-w":[c,"screen","none",...re()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...re()]}],h:[{h:["screen","lh",...re()]}],"min-h":[{"min-h":["screen","lh","none",...re()]}],"max-h":[{"max-h":["screen","lh",...re()]}],"font-size":[{text:["base",n,nd,jo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ge,bx]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xx,Ve]}],"font-family":[{font:[sB,Ve,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Ge,Ve]}],"line-clamp":[{"line-clamp":[bt,"none",Ge,bx]}],leading:[{leading:[s,...B()]}],"list-image":[{"list-image":["none",Ge,Ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ge,Ve]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:J()}],"text-color":[{text:J()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",Ge,jo]}],"text-decoration-color":[{decoration:J()}],"underline-offset":[{"underline-offset":[bt,"auto",Ge,Ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ge,Ve]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ge,Ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ge()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zi,Ge,Ve],radial:["",Ge,Ve],conic:[zi,Ge,Ve]},oB,aB]}],"bg-color":[{bg:J()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:J()}],"gradient-via":[{via:J()}],"gradient-to":[{to:J()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:J()}],"border-color-x":[{"border-x":J()}],"border-color-y":[{"border-y":J()}],"border-color-s":[{"border-s":J()}],"border-color-e":[{"border-e":J()}],"border-color-t":[{"border-t":J()}],"border-color-r":[{"border-r":J()}],"border-color-b":[{"border-b":J()}],"border-color-l":[{"border-l":J()}],"divide-color":[{divide:J()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,Ge,Ve]}],"outline-w":[{outline:["",bt,nd,jo]}],"outline-color":[{outline:J()}],shadow:[{shadow:["","none",p,Yf,Gf]}],"shadow-color":[{shadow:J()}],"inset-shadow":[{"inset-shadow":["none",m,Yf,Gf]}],"inset-shadow-color":[{"inset-shadow":J()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:J()}],"ring-offset-w":[{"ring-offset":[bt,jo]}],"ring-offset-color":[{"ring-offset":J()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":J()}],"text-shadow":[{"text-shadow":["none",x,Yf,Gf]}],"text-shadow-color":[{"text-shadow":J()}],opacity:[{opacity:[bt,Ge,Ve]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":be()}],"mask-image-linear-to-pos":[{"mask-linear-to":be()}],"mask-image-linear-from-color":[{"mask-linear-from":J()}],"mask-image-linear-to-color":[{"mask-linear-to":J()}],"mask-image-t-from-pos":[{"mask-t-from":be()}],"mask-image-t-to-pos":[{"mask-t-to":be()}],"mask-image-t-from-color":[{"mask-t-from":J()}],"mask-image-t-to-color":[{"mask-t-to":J()}],"mask-image-r-from-pos":[{"mask-r-from":be()}],"mask-image-r-to-pos":[{"mask-r-to":be()}],"mask-image-r-from-color":[{"mask-r-from":J()}],"mask-image-r-to-color":[{"mask-r-to":J()}],"mask-image-b-from-pos":[{"mask-b-from":be()}],"mask-image-b-to-pos":[{"mask-b-to":be()}],"mask-image-b-from-color":[{"mask-b-from":J()}],"mask-image-b-to-color":[{"mask-b-to":J()}],"mask-image-l-from-pos":[{"mask-l-from":be()}],"mask-image-l-to-pos":[{"mask-l-to":be()}],"mask-image-l-from-color":[{"mask-l-from":J()}],"mask-image-l-to-color":[{"mask-l-to":J()}],"mask-image-x-from-pos":[{"mask-x-from":be()}],"mask-image-x-to-pos":[{"mask-x-to":be()}],"mask-image-x-from-color":[{"mask-x-from":J()}],"mask-image-x-to-color":[{"mask-x-to":J()}],"mask-image-y-from-pos":[{"mask-y-from":be()}],"mask-image-y-to-pos":[{"mask-y-to":be()}],"mask-image-y-from-color":[{"mask-y-from":J()}],"mask-image-y-to-color":[{"mask-y-to":J()}],"mask-image-radial":[{"mask-radial":[Ge,Ve]}],"mask-image-radial-from-pos":[{"mask-radial-from":be()}],"mask-image-radial-to-pos":[{"mask-radial-to":be()}],"mask-image-radial-from-color":[{"mask-radial-from":J()}],"mask-image-radial-to-color":[{"mask-radial-to":J()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":be()}],"mask-image-conic-to-pos":[{"mask-conic-to":be()}],"mask-image-conic-from-color":[{"mask-conic-from":J()}],"mask-image-conic-to-color":[{"mask-conic-to":J()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ge()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ge,Ve]}],filter:[{filter:["","none",Ge,Ve]}],blur:[{blur:Pe()}],brightness:[{brightness:[bt,Ge,Ve]}],contrast:[{contrast:[bt,Ge,Ve]}],"drop-shadow":[{"drop-shadow":["","none",v,Yf,Gf]}],"drop-shadow-color":[{"drop-shadow":J()}],grayscale:[{grayscale:["",bt,Ge,Ve]}],"hue-rotate":[{"hue-rotate":[bt,Ge,Ve]}],invert:[{invert:["",bt,Ge,Ve]}],saturate:[{saturate:[bt,Ge,Ve]}],sepia:[{sepia:["",bt,Ge,Ve]}],"backdrop-filter":[{"backdrop-filter":["","none",Ge,Ve]}
vendor: 7,850 bytes, line 50
50],"backdrop-blur":[{"backdrop-blur":Pe()}],"backdrop-brightness":[{"backdrop-brightness":[bt,Ge,Ve]}],"backdrop-contrast":[{"backdrop-contrast":[bt,Ge,Ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,Ge,Ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,Ge,Ve]}],"backdrop-invert":[{"backdrop-invert":["",bt,Ge,Ve]}],"backdrop-opacity":[{"backdrop-opacity":[bt,Ge,Ve]}],"backdrop-saturate":[{"backdrop-saturate":[bt,Ge,Ve]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,Ge,Ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ge,Ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",Ge,Ve]}],ease:[{ease:["linear","initial",S,Ge,Ve]}],delay:[{delay:[bt,Ge,Ve]}],animate:[{animate:["none",O,Ge,Ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,Ge,Ve]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Ye()}],"rotate-x":[{"rotate-x":Ye()}],"rotate-y":[{"rotate-y":Ye()}],"rotate-z":[{"rotate-z":Ye()}],scale:[{scale:Xe()}],"scale-x":[{"scale-x":Xe()}],"scale-y":[{"scale-y":Xe()}],"scale-z":[{"scale-z":Xe()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[Ge,Ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xt()}],"translate-x":[{"translate-x":xt()}],"translate-y":[{"translate-y":xt()}],"translate-z":[{"translate-z":xt()}],"translate-none":["translate-none"],accent:[{accent:J()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:J()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ge,Ve]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ge,Ve]}],fill:[{fill:["none",...J()]}],"stroke-w":[{stroke:[bt,nd,jo,bx]}],stroke:[{stroke:["none",...J()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},lA=Vj(uB);function At(...e){return lA(gv(e))}const dB=XT("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function Ae({className:e,variant:t,size:n,asChild:r=!1,...a}){const s=r?QT:"button";return h.jsx(s,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:At(dB({variant:t,size:n,className:e})),...a}
vendor: 5,130 bytes, line 50
50)}function fB(e,t){const n=T.createContext(t),r=s=>{const{children:o,...c}=s,u=T.useMemo(()=>c,Object.values(c));return h.jsx(n.Provider,{value:u,children:o})};r.displayName=e+"Provider";function a(s){const o=T.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,a]}function qa(e,t=[]){let n=[];function r(s,o){const c=T.createContext(o),u=n.length;n=[...n,o];const f=m=>{const{scope:x,children:v,...E}=m,_=x?.[e]?.[u]||c,k=T.useMemo(()=>E,Object.values(E));return h.jsx(_.Provider,{value:k,children:v})};f.displayName=s+"Provider";function p(m,x){const v=x?.[e]?.[u]||c,E=T.useContext(v);if(E)return E;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[f,p]}const a=()=>{const s=n.map(o=>T.createContext(o));return function(c){const u=c?.[e]||s;return T.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return a.scopeName=e,[r,hB(a,...t)]}function hB(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const o=r.reduce((c,{useScope:u,scopeName:f})=>{const m=u(s)[`__scope${f}`];return{...c,...m}},{});return T.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function qe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}var fr=globalThis?.document?T.useLayoutEffect:()=>{},mB=Bm[" useInsertionEffect ".trim().toString()]||fr;function ro({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,s,o]=pB({defaultProp:t,onChange:n}),c=e!==void 0,u=c?e:a;{const p=T.useRef(e!==void 0);T.useEffect(()=>{const m=p.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=c},[c,r])}const f=T.useCallback(p=>{if(c){const m=gB(p)?p(e):p;m!==e&&o.current?.(m)}else s(p)},[c,e,s,o]);return[u,f]}function pB({defaultProp:e,onChange:t}){const[n,r]=T.useState(e),a=T.useRef(n),s=T.useRef(t);return mB(()=>{s.current=t},[t]),T.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}function gB(e){return typeof e=="function"}function bv(e){const t=T.useRef({value:e,previous:e});return T.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function vv(e){const[t,n]=T.useState(void 0);return fr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let o,c;if("borderBoxSize"in s){const u=s.borderBoxSize,f=Array.isArray(u)?u[0]:u;o=f.inlineSize,c=f.blockSize}else o=e.offsetWidth,c=e.offsetHeight;n({width:o,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function xB(e,t){return T.useReducer((n,r)=>t[n][r]??n,e)}var $a=e=>{const{present:t,children:n}=e,r=bB(t),a=typeof n=="function"?n({present:r.isPresent}):T.Children.only(n),s=Dt(r.ref,vB(a));return typeof n=="function"||r.isPresent?T.cloneElement(a,{ref:s}):null};$a.displayName="Presence";function bB(e){const[t,n]=T.useState(),r=T.useRef(null),a=T.useRef(e),s=T.useRef("none"),o=e?"mounted":"unmounted",[c,u]=xB(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const f=Qf(r.current);s.current=c==="mounted"?f:"none"},[c]),fr(()=>{const f=r.current,p=a.current;if(p!==e){const x=s.current,v=Qf(f);e?u("MOUNT"):v==="none"||f?.display==="none"?u("UNMOUNT"):u(p&&x!==v?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),fr(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,m=v=>{const _=Qf(r.current).includes(CSS.escape(v.animationName));if(v.target===t&&_&&(u("ANIMATION_END"),!a.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},x=v=>{v.target===t&&(s.current=Qf(r.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:T.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function Qf(e){return e?.animationName||"none"}function vB(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var i0=IT();const cA=Lm(i0);var yB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=yB.reduce((e,t)=>
vendor: 4,562 bytes, lines 50-65
50{const n=Jo(`Primitive.${t}`),r=T.forwardRef((a,s)=>{const{asChild:o,...c}=a,u=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(u,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function uA(e,t){e&&i0.flushSync(()=>e.dispatchEvent(t))}var Gm="Checkbox",[EB]=qa(Gm),[wB,yv]=EB(Gm);function _B(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:a,disabled:s,form:o,name:c,onCheckedChange:u,required:f,value:p="on",internal_do_not_use_render:m}=e,[x,v]=ro({prop:n,defaultProp:a??!1,onChange:u,caller:Gm}),[E,_]=T.useState(null),[k,S]=T.useState(null),O=T.useRef(!1),R=E?!!o||!!E.closest("form"):!0,q={checked:x,disabled:s,setChecked:v,control:E,setControl:_,name:c,form:o,value:p,hasConsumerStoppedPropagationRef:O,required:f,defaultChecked:Ji(a)?!1:a,isFormControl:R,bubbleInput:k,setBubbleInput:S};return h.jsx(wB,{scope:t,...q,children:TB(m)?m(q):r})}var dA="CheckboxTrigger",fA=T.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},a)=>{const{control:s,value:o,disabled:c,checked:u,required:f,setControl:p,setChecked:m,hasConsumerStoppedPropagationRef:x,isFormControl:v,bubbleInput:E}=yv(dA,e),_=Dt(a,p),k=T.useRef(u);return T.useEffect(()=>{const S=s?.form;if(S){const O=()=>m(k.current);return S.addEventListener("reset",O),()=>S.removeEventListener("reset",O)}},[s,m]),h.jsx(ot.button,{type:"button",role:"checkbox","aria-checked":Ji(u)?"mixed":u,"aria-required":f,"data-state":bA(u),"data-disabled":c?"":void 0,disabled:c,value:o,...r,ref:_,onKeyDown:qe(t,S=>{S.key==="Enter"&&S.preventDefault()}),onClick:qe(n,S=>{m(O=>Ji(O)?!0:!O),E&&v&&(x.current=S.isPropagationStopped(),x.current||S.stopPropagation())})})});fA.displayName=dA;var hA=T.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:a,defaultChecked:s,required:o,disabled:c,value:u,onCheckedChange:f,form:p,...m}=e;return h.jsx(_B,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:c,required:o,onCheckedChange:f,name:r,form:p,value:u,internal_do_not_use_render:({isFormControl:x})=>h.jsxs(h.Fragment,{children:[h.jsx(fA,{...m,ref:t,__scopeCheckbox:n}),x&&h.jsx(xA,{__scopeCheckbox:n})]})})});hA.displayName=Gm;var mA="CheckboxIndicator",pA=T.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...a}=e,s=yv(mA,n);return h.jsx($a,{present:r||Ji(s.checked)||s.checked===!0,children:h.jsx(ot.span,{"data-state":bA(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});pA.displayName=mA;var gA="CheckboxBubbleInput",xA=T.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:o,required:c,disabled:u,name:f,value:p,form:m,bubbleInput:x,setBubbleInput:v}=yv(gA,e),E=Dt(n,v),_=bv(s),k=vv(r);T.useEffect(()=>{const O=x;if(!O)return;const R=window.HTMLInputElement.prototype,H=Object.getOwnPropertyDescriptor(R,"checked").set,L=!a.current;if(_!==s&&H){const M=new Event("click",{bubbles:L});O.indeterminate=Ji(s),H.call(O,Ji(s)?!1:s),O.dispatchEvent(M)}},[x,_,s,a]);const S=T.useRef(Ji(s)?!1:s);return h.jsx(ot.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??S.current,required:c,disabled:u,name:f,value:p,form:m,...t,tabIndex:-1,ref:E,style:{...t.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});xA.displayName=gA;function TB(e){return typeof e=="function"}function Ji(e){return e==="indeterminate"}function bA(e){return Ji(e)?"indeterminate":e?"checked":"unchecked"}/** 51 * @license lucide-react v0.453.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const AB=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vA=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** 56 * @license lucide-react v0.453.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */var SB={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 61 * @license lucide-react v0.453.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const CB=T.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:o,...c},u)=>T.createElement("svg",{ref:u,...SB,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:vA
vendor: 4,382 bytes, lines 65-134
65("lucide",a),...c},[...o.map(([f,p])=>T.createElement(f,p)),...Array.isArray(s)?s:[s]]));/** 66 * @license lucide-react v0.453.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Ke=(e,t)=>{const n=T.forwardRef(({className:r,...a},s)=>T.createElement(CB,{ref:s,iconNode:t,className:vA(`lucide-${AB(e)}`,r),...a}));return n.displayName=`${e}`,n};/** 71 * @license lucide-react v0.453.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Ym=Ke("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 76 * @license lucide-react v0.453.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const yA=Ke("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 81 * @license lucide-react v0.453.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const EA=Ke("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 86 * @license lucide-react v0.453.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Qm=Ke("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 91 * @license lucide-react v0.453.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const kB=Ke("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 96 * @license lucide-react v0.453.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Tc=Ke("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 101 * @license lucide-react v0.453.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const wA=Ke("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 106 * @license lucide-react v0.453.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const NB=Ke("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 111 * @license lucide-react v0.453.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const RB=Ke("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 116 * @license lucide-react v0.453.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const _A=Ke("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 121 * @license lucide-react v0.453.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const OB=Ke("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/** 126 * @license lucide-react v0.453.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Ev=Ke("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 131 * @license lucide-react v0.453.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree.
135 */const Mc=Ke("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 136 * @license lucide-react v0.453.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Fh=Ke("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 141 * @license lucide-react v0.453.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const wv=Ke("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 146 * @license lucide-react v0.453.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const DB=Ke("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 151 * @license lucide-react v0.453.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const IB=Ke("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 156 * @license lucide-react v0.453.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const MB=Ke("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 161 * @license lucide-react v0.453.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const qh=Ke("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 166 * @license lucide-react v0.453.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const PB=Ke("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 171 * @license lucide-react v0.453.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const LB=Ke("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 176 * @license lucide-react v0.453.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const jB=Ke("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 181 * @license lucide-react v0.453.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const Yn=Ke("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 186 * @license lucide-react v0.453.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const l7=Ke("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 191 * @license lucide-react v0.453.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const $h=Ke("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 196 * @license lucide-react v0.453.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const BB=Ke("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 201 * @license lucide-react v0.453.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const ds=Ke("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 206 * @license lucide-react v0.453.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const zB=Ke("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/** 211 * @license lucide-react v0.453.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const HB=Ke("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** 216 * @license lucide-react v0.453.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const el=Ke("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** 221 * @license lucide-react v0.453.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const _v=Ke("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** 226 * @license lucide-react v0.453.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const UB=Ke("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/** 231 * @license lucide-react v0.453.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const Wm=Ke("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** 236 * @license lucide-react v0.453.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const FB=Ke("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 241 * @license lucide-react v0.453.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const Tv=Ke("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 246 * @license lucide-react v0.453.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const qB=Ke("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** 251 * @license lucide-react v0.453.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const TA=Ke("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/** 256 * @license lucide-react v0.453.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const Vh=Ke("Scroll",[["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);/** 261 * @license lucide-react v0.453.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const $B=Ke("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 266 * @license lucide-react v0.453.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const VB=Ke("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 271 * @license lucide-react v0.453.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const Av=Ke("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 276 * @license lucide-react v0.453.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const GB=Ke("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
280y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** 281 * @license lucide-react v0.453.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const Ch=Ke("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 286 * @license lucide-react v0.453.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const Km=Ke("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 291 * @license lucide-react v0.453.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const Pc=Ke("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);/** 296 * @license lucide-react v0.453.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const On=Ke("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 301 * @license lucide-react v0.453.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const Gh=Ke("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** 306 * @license lucide-react v0.453.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const vs=Ke("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 311 * @license lucide-react v0.453.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const YB=Ke("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 316 * @license lucide-react v0.453.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const QB=Ke("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 321 * @license lucide-react v0.453.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const WB=Ke("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 326 * @license lucide-react v0.453.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const AA=Ke("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 331 * @license lucide-react v0.453.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree. 335 */const KB=Ke("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** 336 * @license lucide-react v0.453.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const vx=Ke("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);/** 341 * @license lucide-react v0.453.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree. 345 */const SA=Ke("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/** 346 * @license lucide-react v0.453.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const o0=Ke("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,432 bytes, lines 350-355
350],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 351 * @license lucide-react v0.453.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const XB=Ke("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function Sv({className:e,...t}){return h.jsx(hA,{"data-loc":"client/src/components/ui/checkbox.tsx:12","data-slot":"checkbox",className:At("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:h.jsx(pA,{"data-loc":"client/src/components/ui/checkbox.tsx:20","data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:h.jsx(Tc,{"data-loc":"client/src/components/ui/checkbox.tsx:24",className:"size-3.5"})})})}var ZB=Bm[" useId ".trim().toString()]||(()=>{}),JB=0;function gs(e){const[t,n]=T.useState(ZB());return fr(()=>{n(r=>r??String(JB++))},[e]),e||(t?`radix-${t}`:"")}function ys(e){const t=T.useRef(e);return T.useEffect(()=>{t.current=e}),T.useMemo(()=>(...n)=>t.current?.(...n),[])}function ez(e,t=globalThis?.document){const n=ys(e);T.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var tz="DismissableLayer",Xb="dismissableLayer.update",nz="dismissableLayer.pointerDownOutside",rz="dismissableLayer.focusOutside",c7,CA=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),l0=T.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:o,onDismiss:c,...u}=e,f=T.useContext(CA),[p,m]=T.useState(null),x=p?.ownerDocument??globalThis?.document,[,v]=T.useState({}),E=Dt(t,M=>m(M)),_=Array.from(f.layers),[k]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),S=_.indexOf(k),O=p?_.indexOf(p):-1,R=f.layersWithOutsidePointerEventsDisabled.size>0,q=O>=S,H=iz(M=>{const B=M.target,Z=[...f.branches].some(Y=>Y.contains(B));!q||Z||(a?.(M),o?.(M),M.defaultPrevented||c?.())},x),L=oz(M=>{const B=M.target;[...f.branches].some(Y=>Y.contains(B))||(s?.(M),o?.(M),M.defaultPrevented||c?.())},x);return ez(M=>{O===f.layers.size-1&&(r?.(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},x),T.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(c7=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),u7(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=c7)}},[p,x,n,f]),T.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),u7())},[p,f]),T.useEffect(()=>{const M=()=>v({});return document.addEventListener(Xb,M),()=>document.removeEventListener(Xb,M)},[]),h.jsx(ot.div,{...u,ref:E,style:{pointerEvents:R?q?"auto":"none":void 0,...e.style},onFocusCapture:qe(e.onFocusCapture,L.onFocusCapture),onBlurCapture:qe(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:qe(e.onPointerDownCapture,H.onPointerDownCapture)})});l0.displayName=tz;var az="DismissableLayerBranch",sz=T.forwardRef((e,t)=>{const n=T.useContext(CA),r=T.useRef(null),a=Dt(t,r);return T.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),h.jsx(ot.div,{...e,ref:a})});sz.displayName=az;function iz(e,t=globalThis?.document){const n=ys(e),r=T.useRef(!1),a=T.useRef(()=>{});return T.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let u=function(){kA(nz,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function oz(e,t=globalThis?.document){const n=ys(e),r=T.useRef(!1);return T.useEffect(()=>{const a=s=>{s.target&&!r.current&&kA(rz,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function u7(){const e=new CustomEvent(Xb);document.dispatchEvent(e)}function kA(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?uA(a,s):a.dispatchEvent(s)}var yx="focusScope.autoFocusOnMount",Ex="focusScope.autoFocusOnUnmount",d7={bubbles:!1,cancelable:!0},lz="FocusScope",Xm=T.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...o}=e,[c,u]=T.useState(null),f=ys(a),p=ys(s),m=T.useRef(null),x=Dt(t,_=>u(_)),v=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(r){let _=function(R){if(v.paused||!c)return;const q=R.target;c.contains(q)?m.current=q:$i(m.current,{select:!0})},k=function(R){if(v.paused||!c)return;const q=R.relatedTarget;q!==null&&(c.contains(q)||$i(m.current,{select:!0}))},S=function(R){if(document.activeElement===document.body)for(const H of R)H.removedNodes.length>0&&$i(c)};document.addEventListener("focusin",_),document.addEventListener("focusout",k);const O=new MutationObserver(S);return c&&O.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",_),document.removeEventListener("focusout",k),O.disconnect()}}},[r,c,v.paused]),T.useEffect(()=>{if(c){h7.add(v);const _=document.activeElement;if(!c.contains(_)){const S=new CustomEvent(yx,d7);c.addEventListener(yx,f),c.dispatchEvent(S),S.defaultPrevented||(cz(mz(NA(c)),{select:!0}),document.activeElement===_&&$i(c))}return()=>{c.removeEventListener(yx,f),setTimeout(()=>{const S=new CustomEvent(Ex,d7);c.addEventListener(Ex,p),c.dispatchEvent(S),S.defaultPrevented||$i(_??document.body,{select:!0}),c.removeEventListener(Ex,p),h7.remove(v)},0)}}},[c,f,p,v]);const E=T.useCallback(_=>{if(!n&&!r||v.paused)return;const k=_.key==="Tab"&&!_.altKey&&!_.ctrlKey&&!_.metaKey,S=document.activeElement;if(k&&S){const O=_.currentTarget,[R,q]=uz(O);R&&q?!_.shiftKey&&S===q?(_.preventDefault(),n&&$i(R,{select:!0})):_.shiftKey&&S===R&&(_.preventDefault(),n&&$i(q,{select:!0})):S===O&&_.preventDefault()}},[n,r,v.paused]);return h.jsx(ot.div,{tabIndex:-1,...o,ref:x,onKeyDown:E})});Xm.displayName=lz;function cz(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if($i(r,{select:t}),document.activeElement!==n)return}function uz(e){const t=NA(e),n=f7(t,e),r=f7(t.reverse(),e);return[n,r]}function NA(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f7(e,t){for(const n of e)if(!dz(n,{upTo:t}))return n}function dz(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function fz(e){return e instanceof HTMLInputElement&&"select"in e}function $i(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&fz(e)&&t&&e.select()}}var h7=hz();function hz(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=m7(e,t),e.unshift(t)},remove(t){e=m7(e,t),e[0]?.resume()}}}function m7(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mz(e){return e.filter(t=>t.tagName!=="A")}var pz="Portal",Zm=T.forwardRef((e,t)=>
vendor: 5,825 bytes, lines 355-356
355{const{container:n,...r}=e,[a,s]=T.useState(!1);fr(()=>s(!0),[]);const o=n||a&&globalThis?.document?.body;return o?cA.createPortal(h.jsx(ot.div,{...r,ref:t}),o):null});Zm.displayName=pz;var wx=0;function Cv(){T.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??p7()),document.body.insertAdjacentElement("beforeend",e[1]??p7()),wx++,()=>{wx===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wx--}},[])}function p7(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var us=function(){return us=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},us.apply(this,arguments)};function RA(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function gz(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var kh="right-scroll-bar-position",Nh="width-before-scroll-bar",xz="with-scroll-bars-hidden",bz="--removed-body-scroll-bar-size";function _x(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function vz(e,t){var n=T.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var yz=typeof window<"u"?T.useLayoutEffect:T.useEffect,g7=new WeakMap;function Ez(e,t){var n=vz(null,function(r){return e.forEach(function(a){return _x(a,r)})});return yz(function(){var r=g7.get(n);if(r){var a=new Set(r),s=new Set(e),o=n.current;a.forEach(function(c){s.has(c)||_x(c,null)}),s.forEach(function(c){a.has(c)||_x(c,o)})}g7.set(n,e)},[e]),n}function wz(e){return e}function _z(e,t){t===void 0&&(t=wz);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(c){return c!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var c=n;n=[],c.forEach(s),o=n}var u=function(){var p=o;o=[],p.forEach(s)},f=function(){return Promise.resolve().then(u)};f(),n={push:function(p){o.push(p),f()},filter:function(p){return o=o.filter(p),n}}}};return a}function Tz(e){e===void 0&&(e={});var t=_z(null);return t.options=us({async:!0,ssr:!1},e),t}var OA=function(e){var t=e.sideCar,n=RA(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return T.createElement(r,us({},n))};OA.isSideCarExport=!0;function Az(e,t){return e.useMedium(t),OA}var DA=Tz(),Tx=function(){},Jm=T.forwardRef(function(e,t){var n=T.useRef(null),r=T.useState({onScrollCapture:Tx,onWheelCapture:Tx,onTouchMoveCapture:Tx}),a=r[0],s=r[1],o=e.forwardProps,c=e.children,u=e.className,f=e.removeScrollBar,p=e.enabled,m=e.shards,x=e.sideCar,v=e.noRelative,E=e.noIsolation,_=e.inert,k=e.allowPinchZoom,S=e.as,O=S===void 0?"div":S,R=e.gapMode,q=RA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),H=x,L=Ez([n,t]),M=us(us({},q),a);return T.createElement(T.Fragment,null,p&&T.createElement(H,{sideCar:DA,removeScrollBar:f,shards:m,noRelative:v,noIsolation:E,inert:_,setCallbacks:s,allowPinchZoom:!!k,lockRef:n,gapMode:R}),o?T.cloneElement(T.Children.only(c),us(us({},M),{ref:L})):T.createElement(O,us({},M,{className:u,ref:L}),c))});Jm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Jm.classNames={fullWidth:Nh,zeroRight:kh};var Sz=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Cz(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Sz();return t&&e.setAttribute("nonce",t),e}function kz(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Nz(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Rz=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Cz())&&(kz(t,n),Nz(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Oz=function(){var e=Rz();return function(t,n){T.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},IA=function(){var e=Oz(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},Dz={left:0,top:0,right:0,gap:0},Ax=function(e){return parseInt(e||"",10)||0},Iz=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[Ax(n),Ax(r),Ax(a)]},Mz=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Dz;var t=Iz(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Pz=IA(),Ac="data-scroll-locked",Lz=function(e,t,n,r){var a=e.left,s=e.top,o=e.right,c=e.gap;return n===void 0&&(n="margin"),` 356 .`.concat(xz,` {
357 overflow: hidden `).concat(r,`; 358 padding-right: `).concat(c,"px ").concat(r,`; 359 } 360 body[`).concat(Ac,`] { 361 overflow: hidden `).concat(r,`; 362 overscroll-behavior: contain; 363 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 364 padding-left: `.concat(a,`px; 365 padding-top: `).concat(s,`px; 366 padding-right: `).concat(o,`px; 367 margin-left:0; 368 margin-top:0; 369 margin-right: `).concat(c,"px ").concat(r,`; 370 `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` 371 } 372 373 .`).concat(kh,` { 374 right: `).concat(c,"px ").concat(r,`; 375 } 376 377 .`).concat(Nh,` { 378 margin-right: `).concat(c,"px ").concat(r,`; 379 } 380 381 .`).concat(kh," .").concat(kh,` { 382 right: 0 `).concat(r,`; 383 } 384 385 .`).concat(Nh," .").concat(Nh,` { 386 margin-right: 0 `).concat(r,`; 387 } 388 389 body[`).concat(Ac,`] { 390 `).concat(bz,": ").concat(c,`px; 391 } 392`)},x7=function(){var e=parseInt(document.body.getAttribute(Ac)||"0",10);return isFinite(e)?e:0},jz=function(){T.useEffect(function(){return document.body.setAttribute(Ac,(x7()+1).toString()),function(){var e=x7()-1;e<=0?document.body.removeAttribute(Ac):document.body.setAttribute(Ac,e.toString())}},[])},Bz=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;jz();var s=T.useMemo(function(){return Mz(a)},[a]);return T.createElement(Pz,{styles:Lz(s,!t,a,n?"":"!important")})},Zb=!1;if(typeof window<"u")try{var Wf=Object.defineProperty({},"passive",{get:function(){return Zb=!0,!0}});window.addEventListener("test",Wf,Wf),window.removeEventListener("test",Wf,Wf)}catch{Zb=!1}var cc=Zb?{passive:!1}:!1,zz=function(e){return e.tagName==="TEXTAREA"},MA=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!zz(e)&&n[t]==="visible")},Hz=function(e){return MA(e,"overflowY")},Uz=function(e){return MA(e,"overflowX")},b7=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=PA(e,r);if(a){var s=LA(e,r),o=s[1],c=s[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Fz=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qz=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},PA=function(e,t){return e==="v"?Hz(t):Uz(t)},LA=function(e,t){return e==="v"?Fz(t):qz(t)},$z=function(e,t){return e==="h"&&t==="rtl"?-1:1},Vz=function(e,t,n,r,a){var s=$z(e,window.getComputedStyle(t).direction),o=s*r,c=n.target,u=t.contains(c),f=!1,p=o>0,m=0,x=0;do{if(!c)break;var v=LA(e,c),E=v[0],_=v[1],k=v[2],S=_-k-s*E;(E||S)&&PA(e,c)&&(m+=S,x+=E);var O=c.parentNode;c=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(p&&Math.abs(m)<1||!p&&Math.abs(x)<1)&&(f=!0),f},Kf=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},v7=function(e){return[e.deltaX,e.deltaY]},y7=function(e){return e&&"current"in e?e.current:e},Gz=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Yz=function(e){return` 393 .block-interactivity-`.concat(e,` {pointer-events: none;} 394 .allow-interactivity-`).concat(e,` {pointer-events: all;} 395`)},Qz=0,uc=[];function Wz(e){var t=T.useRef([]),n=T.useRef([0,0]),r=T.useRef(),a=T.useState(Qz++)[0],s=T.useState(IA)[0],o=T.useRef(e);T.useEffect(function(){o.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var _=gz([e.lockRef.current],(e.shards||[]).map(y7),!0).filter(Boolean);return _.forEach(function(k){return k.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),_.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=T.useCallback(function(_,k){if("touches"in _&&_.touches.length===2||_.type==="wheel"&&_.ctrlKey)return!o.current.allowPinchZoom;var S=Kf(_),O=n.current,R="deltaX"in _?_.deltaX:O[0]-S[0],q="deltaY"in _?_.deltaY:O[1]-S[1],H,L=_.target,M=Math.abs(R)>Math.abs(q)?"h":"v";if("touches"in _&&M==="h"&&L.type==="range")return!1;var B=b7(M,L);if(!B)return!0;
vendor: 4,542 bytes, line 395
395if(B?H=M:(H=M==="v"?"h":"v",B=b7(M,L)),!B)return!1;if(!r.current&&"changedTouches"in _&&(R||q)&&(r.current=H),!H)return!0;var Z=r.current||H;return Vz(Z,k,_,Z==="h"?R:q)},[]),u=T.useCallback(function(_){var k=_;if(!(!uc.length||uc[uc.length-1]!==s)){var S="deltaY"in k?v7(k):Kf(k),O=t.current.filter(function(H){return H.name===k.type&&(H.target===k.target||k.target===H.shadowParent)&&Gz(H.delta,S)})[0];if(O&&O.should){k.cancelable&&k.preventDefault();return}if(!O){var R=(o.current.shards||[]).map(y7).filter(Boolean).filter(function(H){return H.contains(k.target)}),q=R.length>0?c(k,R[0]):!o.current.noIsolation;q&&k.cancelable&&k.preventDefault()}}},[]),f=T.useCallback(function(_,k,S,O){var R={name:_,delta:k,target:S,should:O,shadowParent:Kz(S)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(q){return q!==R})},1)},[]),p=T.useCallback(function(_){n.current=Kf(_),r.current=void 0},[]),m=T.useCallback(function(_){f(_.type,v7(_),_.target,c(_,e.lockRef.current))},[]),x=T.useCallback(function(_){f(_.type,Kf(_),_.target,c(_,e.lockRef.current))},[]);T.useEffect(function(){return uc.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:x}),document.addEventListener("wheel",u,cc),document.addEventListener("touchmove",u,cc),document.addEventListener("touchstart",p,cc),function(){uc=uc.filter(function(_){return _!==s}),document.removeEventListener("wheel",u,cc),document.removeEventListener("touchmove",u,cc),document.removeEventListener("touchstart",p,cc)}},[]);var v=e.removeScrollBar,E=e.inert;return T.createElement(T.Fragment,null,E?T.createElement(s,{styles:Yz(a)}):null,v?T.createElement(Bz,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Kz(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Xz=Az(DA,Wz);var ep=T.forwardRef(function(e,t){return T.createElement(Jm,us({},e,{ref:t,sideCar:Xz}))});ep.classNames=Jm.classNames;var Zz=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dc=new WeakMap,Xf=new WeakMap,Zf={},Sx=0,jA=function(e){return e&&(e.host||jA(e.parentNode))},Jz=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jA(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},eH=function(e,t,n,r){var a=Jz(t,Array.isArray(e)?e:[e]);Zf[n]||(Zf[n]=new WeakMap);var s=Zf[n],o=[],c=new Set,u=new Set(a),f=function(m){!m||c.has(m)||(c.add(m),f(m.parentNode))};a.forEach(f);var p=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(x){if(c.has(x))p(x);else try{var v=x.getAttribute(r),E=v!==null&&v!=="false",_=(dc.get(x)||0)+1,k=(s.get(x)||0)+1;dc.set(x,_),s.set(x,k),o.push(x),_===1&&E&&Xf.set(x,!0),k===1&&x.setAttribute(n,"true"),E||x.setAttribute(r,"true")}catch(S){console.error("aria-hidden: cannot operate on ",x,S)}})};return p(t),c.clear(),Sx++,function(){o.forEach(function(m){var x=dc.get(m)-1,v=s.get(m)-1;dc.set(m,x),s.set(m,v),x||(Xf.has(m)||m.removeAttribute(r),Xf.delete(m)),v||m.removeAttribute(n)}),Sx--,Sx||(dc=new WeakMap,dc=new WeakMap,Xf=new WeakMap,Zf={})}},kv=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=Zz(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),eH(r,a,n,"aria-hidden")):function(){return null}},tp="Dialog",[BA]=qa(tp),[tH,Va]=BA(tp),zA=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:o=!0}=e,c=T.useRef(null),u=T.useRef(null),[f,p]=ro({prop:r,defaultProp:a??!1,onChange:s,caller:tp});return h.jsx(tH,{scope:t,triggerRef:c,contentRef:u,contentId:gs(),titleId:gs(),descriptionId:gs(),open:f,onOpenChange:p,onOpenToggle:T.useCallback(()=>p(m=>!m),[p]),modal:o,children:n})};zA.displayName=tp;var HA="DialogTrigger",nH=T.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Va(HA,n),s=Dt(t,a.triggerRef);return h.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ov(a.open),...r,ref:s,onClick:qe(e.onClick,a.onOpenToggle)})});nH.displayName=HA;var Nv="DialogPortal",[rH,UA]=BA(Nv,{forceMount:void 0}),FA=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,s=Va(Nv,t);return h.jsx(rH,{scope:t,forceMount:n,children:T.Children.map(r,o=>h.jsx($a,{present:n||s.open,children:h.jsx(Zm,{asChild:!0,container:a,children:o})}))})};FA.displayName=Nv;var Yh="DialogOverlay",qA=T.forwardRef((e,t)=>
395{const n=UA(Yh,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=Va(Yh,e.__scopeDialog);return s.modal?h.jsx($a,{present:r||s.open,children:h.jsx(sH,{...a,ref:t})}):null});qA.displayName=Yh;var aH=Jo("DialogOverlay.RemoveScroll"),sH=T.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Va(Yh,n);return h.jsx(ep,{as:aH,allowPinchZoom:!0,shards:[a.contentRef],children:h.jsx(ot.div,{"data-state":Ov(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),tl="DialogContent",$A=T.forwardRef((e,t)=>{const n=UA(tl,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=Va(tl,e.__scopeDialog);return h.jsx($a,{present:r||s.open,children:s.modal?h.jsx(iH,{...a,ref:t}):h.jsx(oH,{...a,ref:t})})});$A.displayName=tl;var iH=T.forwardRef((e,t)=>{const n=Va(tl,e.__scopeDialog),r=T.useRef(null),a=Dt(t,n.contentRef,r);return T.useEffect(()=>{const s=r.current;if(s)return kv(s)},[]),h.jsx(VA,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qe(e.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:qe(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&s.preventDefault()}),onFocusOutside:qe(e.onFocusOutside,s=>s.preventDefault())})}),oH=T.forwardRef((e,t)=>{const n=Va(tl,e.__scopeDialog),r=T.useRef(!1),a=T.useRef(!1);return h.jsx(VA,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=s.target;n.triggerRef.current?.contains(o)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),VA=T.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,...o}=e,c=Va(tl,n),u=T.useRef(null),f=Dt(t,u);return Cv(),h.jsxs(h.Fragment,{children:[h.jsx(Xm,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:h.jsx(l0,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Ov(c.open),...o,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(lH,{titleId:c.titleId}),h.jsx(uH,{contentRef:u,descriptionId:c.descriptionId})]})]})}),Rv="DialogTitle",GA=T.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Va(Rv,n);return h.jsx(ot.h2,{id:a.titleId,...r,ref:t})});GA.displayName=Rv;var YA="DialogDescription",QA=T.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Va(YA,n);return h.jsx(ot.p,{id:a.descriptionId,...r,ref:t})});QA.displayName=YA;var WA="DialogClose",KA=T.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Va(WA,n);return h.jsx(ot.button,{type:"button",...r,ref:t,onClick:qe(e.onClick,()=>a.onOpenChange(!1))})});KA.displayName=WA;function Ov(e){return e?"open":"closed"}var XA="DialogTitleWarning",[Nde,ZA]=fB(XA,{contentName:tl,titleName:Rv,docsSlug:"dialog"}),lH=({titleId:e})=>{const t=ZA(XA),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 396 397If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 398 399For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return T.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},cH="DialogDescriptionWarning",uH=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ZA(cH).contentName}}.`;return T.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},JA=zA,e9=FA,t9=qA,n9=$A,r9=GA,dH=QA,a9=KA;const s9=T.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),Dv=()=>T.useContext(s9);function Qh({...e}){const t=T.useRef(!1),n=T.useRef(!1),r=T.useRef(null),a=T.useMemo(()=>({isComposing:()=>t.current,setComposing:s=>{t.current=s},justEndedComposing:()=>n.current,markCompositionEnd:()=>{n.current=!0,r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n.current=!1},150)}}),[]);return h.jsx(s9.Provider,{"data-loc":"client/src/components/ui/dialog.tsx:50",value:a,children:h.jsx(JA,{"data-loc":"client/src/components/ui/dialog.tsx:51","data-slot":"dialog",...e})})}function fH({...e}){return h.jsx(e9,{"data-loc":"client/src/components/ui/dialog.tsx:65","data-slot":"dialog-portal",...e})}function i9({className:e,...t}){return h.jsx(t9,{"data-loc":"client/src/components/ui/dialog.tsx:79","data-slot":"dialog-overlay",className:At("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}i9.displayName="DialogOverlay";function Wh({className:e,children:t,showCloseButton:n=!0,onEscapeKeyDown:r,...a}){const{isComposing:s}=Dv(),o=T.useCallback(c=>{if(c.isComposing||s()){c.preventDefault();return}r?.(c)},[s,r]);return h.jsxs(fH,{"data-loc":"client/src/components/ui/dialog.tsx:122","data-slot":"dialog-portal",children:[h.jsx(i9,{"data-loc":"client/src/components/ui/dialog.tsx:123"}),h.jsxs(n9,{"data-loc":"client/src/components/ui/dialog.tsx:124","data-slot":"dialog-content",className:At("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
399ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),onEscapeKeyDown:o,...a,children:[t,n&&h.jsxs(a9,{"data-loc":"client/src/components/ui/dialog.tsx:135","data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[h.jsx(o0,{"data-loc":"client/src/components/ui/dialog.tsx:139"}),h.jsx("span",{"data-loc":"client/src/components/ui/dialog.tsx:140",className:"sr-only",children:"Close"})]})]})]})}function Kh({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/dialog.tsx:150","data-slot":"dialog-header",className:At("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Xh({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/dialog.tsx:160","data-slot":"dialog-footer",className:At("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Zh({className:e,...t}){return h.jsx(r9,{"data-loc":"client/src/components/ui/dialog.tsx:176","data-slot":"dialog-title",className:At("text-lg leading-none font-semibold",e),...t})}function Jh({className:e,...t}){return h.jsx(dH,{"data-loc":"client/src/components/ui/dialog.tsx:189","data-slot":"dialog-description",className:At("text-muted-foreground text-sm",e),...t})}function Jf(e){const t=T.useRef(e);t.current=e;const n=T.useRef(null);return n.current||(n.current=function(...r){return t.current.apply(this,r)}),n.current}function o9(e={}){const{onKeyDown:t,onCompositionStart:n,onCompositionEnd:r}=e,a=T.useRef(!1),s=T.useRef(null),o=T.useRef(null),c=Jf(m=>{s.current&&(clearTimeout(s.current),s.current=null),o.current&&(clearTimeout(o.current),o.current=null),a.current=!0,n?.(m)}),u=Jf(m=>{s.current=setTimeout(()=>{o.current=setTimeout(()=>{a.current=!1})}),r?.(m)}),f=Jf(m=>{if(a.current&&(m.key==="Escape"||m.key==="Enter"&&!m.shiftKey)){m.stopPropagation();return}t?.(m)}),p=Jf(()=>a.current);return{onCompositionStart:c,onCompositionEnd:u,onKeyDown:f,isComposing:p}}function ut({className:e,type:t,onKeyDown:n,onCompositionStart:r,onCompositionEnd:a,...s}){const o=Dv(),{onCompositionStart:c,onCompositionEnd:u,onKeyDown:f}=o9({onKeyDown:p=>{const m=p.nativeEvent.isComposing||o.justEndedComposing();p.key==="Enter"&&m||n?.(p)},onCompositionStart:p=>{o.setComposing(!0),r?.(p)},onCompositionEnd:p=>{o.markCompositionEnd(),setTimeout(()=>{o.setComposing(!1)},100),a?.(p)}});return h.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:At("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),onCompositionStart:c,onCompositionEnd:u,onKeyDown:f,...s})}var hH="Label",l9=T.forwardRef((e,t)=>h.jsx(ot.label,{...e,ref:t,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(e.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));l9.displayName=hH;var mH=l9;function Rt({className:e,...t}){return h.jsx(mH,{"data-loc":"client/src/components/ui/label.tsx:11","data-slot":"label",className:At("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function pH({...e}){return h.jsx(JA,{"data-loc":"client/src/components/ui/sheet.tsx:10","data-slot":"sheet",...e})}function gH({...e}){return h.jsx(e9,{"data-loc":"client/src/components/ui/sheet.tsx:28","data-slot":"sheet-portal",...e})}function xH({className:e,...t}){return h.jsx(t9,{"data-loc":"client/src/components/ui/sheet.tsx:36","data-slot":"sheet-overlay",className:At("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function bH({className:e,children:t,side:n="right",...r}){return h.jsxs(gH,{"data-loc":"client/src/components/ui/sheet.tsx:56",children:[h.jsx(xH,{"data-loc":"client/src/components/ui/sheet.tsx:57"}),h.jsxs(n9,{"data-loc":"client/src/components/ui/sheet.tsx:58","data-slot":"sheet-content",className:At("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,h.jsxs(a9,{"data-loc":"client/src/components/ui/sheet.tsx:75",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[h.jsx(o0,{"data-loc":"client/src/components/ui/sheet.tsx:76",className:"size-4"}),h.jsx("span",{"data-loc":"client/src/components/ui/sheet.tsx:77",className:"sr-only",children:"Close"})]})]})]})}function vH({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/sheet.tsx:86","data-slot":"sheet-header",className:At("flex flex-col gap-1.5 p-4",e),...t})}function yH({className:e,...t}){return h.jsx(r9,{"data-loc":"client/src/components/ui/sheet.tsx:109","data-slot":"sheet-title",className:At("text-foreground font-semibold",e),...t})}function xs({className:e,onKeyDown:t,onCompositionStart:n,onCompositionEnd:r,...a}){const s=Dv(),{onCompositionStart:o,onCompositionEnd:c,onKeyDown:u}=o9({onKeyDown:f=>{const p=f.nativeEvent.isComposing||s.justEndedComposing();f.key==="Enter"&&!f.shiftKey&&p||t?.(f)},onCompositionStart:f=>{s.setComposing(!0),n?.(f)},onCompositionEnd:f=>{s.markCompositionEnd(),setTimeout(()=>{s.setComposing(!1)},100),r?.(f)}});return h.jsx("textarea",{"data-loc":"client/src/components/ui/textarea.tsx:53","data-slot":"textarea",className:At("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),onCompositionStart:o,onCompositionEnd:c,onKeyDown:u,...a})}const c9=T.createContext(null),E7="esoterica-isis-cart";function EH({children:e}){const[t,n]=T.useState(()=>{if(typeof window>"u")return[];try{const p=localStorage.getItem(E7);if(!p)return[];const m=JSON.parse(p);if(Array.isArray(m))return m}catch{}return[]}),[r,a]=T.useState(!1);T.useEffect(()=>{try{localStorage.setItem(E7,JSON.stringify(t))}catch{}},[t]);const s=T.useCallback((p,m=1)=>{n(x=>x.find(E=>E.productId===p.productId)?x.map(E=>E.productId===p.productId?{...E,quantity:E.quantity+m}:E):[...x,{...p,quantity:m}]),a(!0)},[]),o=T.useCallback(p=>{n(m=>m.filter(x=>x.productId!==p))},[]),c=T.useCallback((p,m)=>{if(m<=0){o(p);return}n(x=>x.map(v=>v.productId===p?{...v,quantity:m}:v))},[o]),u=T.useCallback(()=>n([]),[]),f=T.useMemo(()=>{const p=t.reduce((x,v)=>x+v.quantity,0),m=t.reduce((x,v)=>x+v.priceCents*v.quantity,0);return{items:t,itemCount:p,totalCents:m,isOpen:r,open:()=>a(!0),close:()=>a(!1),toggle:()=>a(x=>!x),add:s,remove:o,setQuantity:c,clear:u}},[t,r,s,o,c,u]);return h.jsx(c9.Provider,{"data-loc":"client/src/contexts/CartContext.tsx:97",value:f,children:e})}function Iv(){const e=T.useContext(c9);
vendor: 6,801 bytes, line 399
399if(!e)throw new Error("useCart must be used inside CartProvider");return e}function Vo(e,t="USD"){const n=e/100;try{return new Intl.NumberFormat("es-CL",{style:"currency",currency:t,maximumFractionDigits:0}).format(n)}catch{return`$${n.toFixed(0)}`}}function wH(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const _H=e=>{switch(e){case"success":return SH;case"info":return kH;case"warning":return CH;case"error":return NH;default:return null}},TH=Array(12).fill(0),AH=({visible:e,className:t})=>Le.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Le.createElement("div",{className:"sonner-spinner"},TH.map((n,r)=>Le.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),SH=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),CH=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Le.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),kH=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),NH=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),RH=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Le.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Le.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),OH=()=>{const[e,t]=Le.useState(document.hidden);return Le.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Jb=1;class DH{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Jb++,o=this.toasts.find(u=>u.id===s),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(u=>u.id===s?(this.publish({...u,...t,id:s,title:r}),{...u,...t,id:s,dismissible:c,title:r}):u):this.addToast({title:r,...a,dismissible:c,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,o;const c=a.then(async f=>{if(o=["resolve",f],Le.isValidElement(f))s=!1,this.create({id:r,type:"default",message:f});else if(MH(f)&&!f.ok){s=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${f.status}`):n.error,x=typeof n.description=="function"?await n.description(`HTTP error! status: ${f.status}`):n.description,E=typeof m=="object"&&!Le.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...E})}else if(f instanceof Error){s=!1;const m=typeof n.error=="function"?await n.error(f):n.error,x=typeof n.description=="function"?await n.description(f):n.description,E=typeof m=="object"&&!Le.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...E})}else if(n.success!==void 0){s=!1;const m=typeof n.success=="function"?await n.success(f):n.success,x=typeof n.description=="function"?await n.description(f):n.description,E=typeof m=="object"&&!Le.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:x,...E})}}).catch(async f=>{if(o=["reject",f],n.error!==void 0){s=!1;const p=typeof n.error=="function"?await n.error(f):n.error,m=typeof n.description=="function"?await n.description(f):n.description,v=typeof p=="object"&&!Le.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:m,...v})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),u=()=>new Promise((f,p)=>c.then(()=>o[0]==="reject"?p(o[1]):f(o[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:u}:Object.assign(r,{unwrap:u})},this.custom=(t,n)=>{const r=n?.id||Jb++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Hr=new DH,IH=(e,t)=>{const n=t?.id||Jb++;return Hr.addToast({title:e,...t,id:n}),n},MH=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",PH=IH,LH=()=>Hr.toasts,jH=()=>Hr.getActiveToasts(),Ue=Object.assign(PH,{success:Hr.success,info:Hr.info,warning:Hr.warning,error:Hr.error,custom:Hr.custom,message:Hr.message,promise:Hr.promise,dismiss:Hr.dismiss,loading:Hr.loading},{getHistory:LH,getToasts:jH});wH
vendor: 4,787 bytes, line 399
399("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,086 bytes, line 399
399left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 2,460 bytes, line 399
399eh(e){return e.label!==void 0}const BH=3,zH="24px",HH="16px",w7=4e3,UH=356,FH=14,qH=45,$H=200;function ns(...e){return e.filter(Boolean).join(" ")}function VH(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const GH=e=>{var t,n,r,a,s,o,c,u,f;const{invert:p,toast:m,unstyled:x,interacting:v,setHeights:E,visibleToasts:_,heights:k,index:S,toasts:O,expanded:R,removeToast:q,defaultRichColors:H,closeButton:L,style:M,cancelButtonStyle:B,actionButtonStyle:Z,className:Y="",descriptionClassName:ae="",duration:ne,position:he,gap:ie,expandByDefault:pe,classNames:$,icons:re,closeButtonAriaLabel:J="Close toast"}=e,[ge,U]=Le.useState(null),[G,oe]=Le.useState(null),[D,ce]=Le.useState(!1),[we,Se]=Le.useState(!1),[be,Pe]=Le.useState(!1),[Ye,Xe]=Le.useState(!1),[it,xt]=Le.useState(!1),[pn,Jt]=Le.useState(0),[pr,rr]=Le.useState(0),zn=Le.useRef(m.duration||ne||w7),oa=Le.useRef(null),gn=Le.useRef(null),hi=S===0,xo=S+1<=_,Qn=m.type,Ya=m.dismissible!==!1,Wn=m.className||"",cu=m.descriptionClassName||"",Ee=Le.useMemo(()=>k.findIndex(st=>st.toastId===m.id)||0,[k,m.id]),je=Le.useMemo(()=>{var st;return(st=m.closeButton)!=null?st:L},[m.closeButton,L]),nt=Le.useMemo(()=>m.duration||ne||w7,[m.duration,ne]),ht=Le.useRef(0),Et=Le.useRef(0),ar=Le.useRef(0),sr=Le.useRef(null),[Kn,xn]=he.split("-"),Xn=Le.useMemo(()=>k.reduce((st,nn,Hn)=>Hn>=Ee?st:st+nn.height,0),[k,Ee]),zt=OH(),Qa=m.invert||p,gr=Qn==="loading";Et.current=Le.useMemo(()=>Ee*ie+Xn,[Ee,Xn]),Le.useEffect(()=>{zn.current=nt},[nt]),Le.useEffect(()=>{ce(!0)},[]),Le.useEffect(()=>{const st=gn.current;if(st){const nn=st.getBoundingClientRect().height;return rr(nn),E(Hn=>[{toastId:m.id,height:nn,position:m.position},...Hn]),()=>E(Hn=>Hn.filter(ir=>ir.toastId!==m.id))}},[E,m.id]),Le.useLayoutEffect(()=>{if(!D)return;const st=gn.current,nn=st.style.height;st.style.height="auto";const Hn=st.getBoundingClientRect().height;st.style.height=nn,rr(Hn),E(ir=>ir.find(on=>on.toastId===m.id)?ir.map(on=>on.toastId===m.id?{...on,height:Hn}:on):[{toastId:m.id,height:Hn,position:m.position},...ir])},[D,m.title,m.description,E,m.id,m.jsx,m.action,m.cancel]);const Wa=Le.useCallback(()=>{Se(!0),Jt(Et.current),E(st=>st.filter(nn=>nn.toastId!==m.id)),setTimeout(()=>{q(m)},$H)},[m,q,E,Et]);Le.useEffect(()=>{if(m.promise&&Qn==="loading"||m.duration===1/0||m.type==="loading")return;let st;return R||v||zt?(()=>{if(ar.current<ht.current){const ir=new Date().getTime()-ht.current;zn.current=zn.current-ir}
vendor: 4,797 bytes, line 399
399ar.current=new Date().getTime()})():(()=>{zn.current!==1/0&&(ht.current=new Date().getTime(),st=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Wa()},zn.current))})(),()=>clearTimeout(st)},[R,v,m,Qn,zt,Wa]),Le.useEffect(()=>{m.delete&&(Wa(),m.onDismiss==null||m.onDismiss.call(m,m))},[Wa,m.delete]);function yl(){var st;if(re?.loading){var nn;return Le.createElement("div",{className:ns($?.loader,m==null||(nn=m.classNames)==null?void 0:nn.loader,"sonner-loader"),"data-visible":Qn==="loading"},re.loading)}return Le.createElement(AH,{className:ns($?.loader,m==null||(st=m.classNames)==null?void 0:st.loader),visible:Qn==="loading"})}const El=m.icon||re?.[Qn]||_H(Qn);var bo,Ka;return Le.createElement("li",{tabIndex:0,ref:gn,className:ns(Y,Wn,$?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,$?.default,$?.[Qn],m==null||(n=m.classNames)==null?void 0:n[Qn]),"data-sonner-toast":"","data-rich-colors":(bo=m.richColors)!=null?bo:H,"data-styled":!(m.jsx||m.unstyled||x),"data-mounted":D,"data-promise":!!m.promise,"data-swiped":it,"data-removed":we,"data-visible":xo,"data-y-position":Kn,"data-x-position":xn,"data-index":S,"data-front":hi,"data-swiping":be,"data-dismissible":Ya,"data-type":Qn,"data-invert":Qa,"data-swipe-out":Ye,"data-swipe-direction":G,"data-expanded":!!(R||pe&&D),"data-testid":m.testId,style:{"--index":S,"--toasts-before":S,"--z-index":O.length-S,"--offset":`${we?pn:Et.current}px`,"--initial-height":pe?"auto":`${pr}px`,...M,...m.style},onDragEnd:()=>{Pe(!1),U(null),sr.current=null},onPointerDown:st=>{st.button!==2&&(gr||!Ya||(oa.current=new Date,Jt(Et.current),st.target.setPointerCapture(st.pointerId),st.target.tagName!=="BUTTON"&&(Pe(!0),sr.current={x:st.clientX,y:st.clientY})))},onPointerUp:()=>{var st,nn,Hn;if(Ye||!Ya)return;sr.current=null;const ir=Number(((st=gn.current)==null?void 0:st.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),mi=Number(((nn=gn.current)==null?void 0:nn.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),on=new Date().getTime()-((Hn=oa.current)==null?void 0:Hn.getTime()),Cr=ge==="x"?ir:mi,vo=Math.abs(Cr)/on;if(Math.abs(Cr)>=qH||vo>.11){Jt(Et.current),m.onDismiss==null||m.onDismiss.call(m,m),oe(ge==="x"?ir>0?"right":"left":mi>0?"down":"up"),Wa(),Xe(!0);return}else{var kr,Nr;(kr=gn.current)==null||kr.style.setProperty("--swipe-amount-x","0px"),(Nr=gn.current)==null||Nr.style.setProperty("--swipe-amount-y","0px")}xt(!1),Pe(!1),U(null)},onPointerMove:st=>{var nn,Hn,ir;if(!sr.current||!Ya||((nn=window.getSelection())==null?void 0:nn.toString().length)>0)return;const on=st.clientY-sr.current.y,Cr=st.clientX-sr.current.x;var vo;const kr=(vo=e.swipeDirections)!=null?vo:VH(he);!ge&&(Math.abs(Cr)>1||Math.abs(on)>1)&&U(Math.abs(Cr)>Math.abs(on)?"x":"y");let Nr={x:0,y:0};const wl=Oa=>1/(1.5+Math.abs(Oa)/20);if(ge==="y"){if(kr.includes("top")||kr.includes("bottom"))if(kr.includes("top")&&on<0||kr.includes("bottom")&&on>0)Nr.y=on;else{const Oa=on*wl(on);Nr.y=Math.abs(Oa)<Math.abs(on)?Oa:on}}else if(ge==="x"&&(kr.includes("left")||kr.includes("right")))if(kr.includes("left")&&Cr<0||kr.includes("right")&&Cr>0)Nr.x=Cr;else{const Oa=Cr*wl(Cr);Nr.x=Math.abs(Oa)<Math.abs(Cr)?Oa:Cr}(Math.abs(Nr.x)>0||Math.abs(Nr.y)>0)&&xt(!0),(Hn=gn.current)==null||Hn.style.setProperty("--swipe-amount-x",`${Nr.x}px`),(ir=gn.current)==null||ir.style.setProperty("--swipe-amount-y",`${Nr.y}px`)}},je&&!m.jsx&&Qn!=="loading"?Le.createElement("button",{"aria-label":J,"data-disabled":gr,"data-close-button":!0,onClick:gr||!Ya?()=>{}:()=>{Wa(),m.onDismiss==null||m.onDismiss.call(m,m)},className:ns($?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(Ka=re?.close)!=null?Ka:RH):null,(Qn||m.icon||m.promise)&&m.icon!==null&&(re?.[Qn]!==null||m.icon)?Le.createElement("div",{"data-icon":"",className:ns($?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||yl():null,m.type!=="loading"?El:null):null,Le.createElement("div",{"data-content":"",className:ns($?.content,m==null||(s=m.classNames)==null?void 0:s.content)},Le.createElement("div",{"data-title":"",className:ns($?.title,m==null||(o=m.classNames)==null?void 0:o.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?Le.createElement("div",{"data-description":"",className:ns(ae,cu,$?.description,m==null||(c=m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),Le.isValidElement(m.cancel)?m.cancel:m.cancel&&eh(m.cancel)?Le.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||B,onClick:st=>{eh(m.cancel)&&Ya&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,st),Wa())},className:ns($?.cancelButton,m==null||(u=m.classNames)==null?void 0:u.cancelButton)}
vendor: 6,848 bytes, line 399
399,m.cancel.label):null,Le.isValidElement(m.action)?m.action:m.action&&eh(m.action)?Le.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||Z,onClick:st=>{eh(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,st),!st.defaultPrevented&&Wa())},className:ns($?.actionButton,m==null||(f=m.classNames)==null?void 0:f.actionButton)},m.action.label):null)};function _7(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function YH(e,t){const n={};return[e,t].forEach((r,a)=>{const s=a===1,o=s?"--mobile-offset":"--offset",c=s?HH:zH;function u(f){["top","right","bottom","left"].forEach(p=>{n[`${o}-${p}`]=typeof f=="number"?`${f}px`:f})}typeof r=="number"||typeof r=="string"?u(r):typeof r=="object"?["top","right","bottom","left"].forEach(f=>{r[f]===void 0?n[`${o}-${f}`]=c:n[`${o}-${f}`]=typeof r[f]=="number"?`${r[f]}px`:r[f]}):u(c)}),n}const QH=Le.forwardRef(function(t,n){const{id:r,invert:a,position:s="bottom-right",hotkey:o=["altKey","KeyT"],expand:c,closeButton:u,className:f,offset:p,mobileOffset:m,theme:x="light",richColors:v,duration:E,style:_,visibleToasts:k=BH,toastOptions:S,dir:O=_7(),gap:R=FH,icons:q,containerAriaLabel:H="Notifications"}=t,[L,M]=Le.useState([]),B=Le.useMemo(()=>r?L.filter(D=>D.toasterId===r):L.filter(D=>!D.toasterId),[L,r]),Z=Le.useMemo(()=>Array.from(new Set([s].concat(B.filter(D=>D.position).map(D=>D.position)))),[B,s]),[Y,ae]=Le.useState([]),[ne,he]=Le.useState(!1),[ie,pe]=Le.useState(!1),[$,re]=Le.useState(x!=="system"?x:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),J=Le.useRef(null),ge=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),U=Le.useRef(null),G=Le.useRef(!1),oe=Le.useCallback(D=>{M(ce=>{var we;return(we=ce.find(Se=>Se.id===D.id))!=null&&we.delete||Hr.dismiss(D.id),ce.filter(({id:Se})=>Se!==D.id)})},[]);return Le.useEffect(()=>Hr.subscribe(D=>{if(D.dismiss){requestAnimationFrame(()=>{M(ce=>ce.map(we=>we.id===D.id?{...we,delete:!0}:we))});return}setTimeout(()=>{cA.flushSync(()=>{M(ce=>{const we=ce.findIndex(Se=>Se.id===D.id);return we!==-1?[...ce.slice(0,we),{...ce[we],...D},...ce.slice(we+1)]:[D,...ce]})})})}),[L]),Le.useEffect(()=>{if(x!=="system"){re(x);return}if(x==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?re("dark"):re("light")),typeof window>"u")return;const D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:ce})=>{re(ce?"dark":"light")})}catch{D.addListener(({matches:we})=>{try{re(we?"dark":"light")}catch(Se){console.error(Se)}})}},[x]),Le.useEffect(()=>{L.length<=1&&he(!1)},[L]),Le.useEffect(()=>{const D=ce=>{var we;if(o.every(Pe=>ce[Pe]||ce.code===Pe)){var be;he(!0),(be=J.current)==null||be.focus()}ce.code==="Escape"&&(document.activeElement===J.current||(we=J.current)!=null&&we.contains(document.activeElement))&&he(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[o]),Le.useEffect(()=>{if(J.current)return()=>{U.current&&(U.current.focus({preventScroll:!0}),U.current=null,G.current=!1)}},[J.current]),Le.createElement("section",{ref:n,"aria-label":`${H} ${ge}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},Z.map((D,ce)=>{var we;const[Se,be]=D.split("-");return B.length?Le.createElement("ol",{key:D,dir:O==="auto"?_7():O,tabIndex:-1,ref:J,className:f,"data-sonner-toaster":!0,"data-sonner-theme":$,"data-y-position":Se,"data-x-position":be,style:{"--front-toast-height":`${((we=Y[0])==null?void 0:we.height)||0}px`,"--width":`${UH}px`,"--gap":`${R}px`,..._,...YH(p,m)},onBlur:Pe=>{G.current&&!Pe.currentTarget.contains(Pe.relatedTarget)&&(G.current=!1,U.current&&(U.current.focus({preventScroll:!0}),U.current=null))},onFocus:Pe=>{Pe.target instanceof HTMLElement&&Pe.target.dataset.dismissible==="false"||G.current||(G.current=!0,U.current=Pe.relatedTarget)},onMouseEnter:()=>he(!0),onMouseMove:()=>he(!0),onMouseLeave:()=>{ie||he(!1)},onDragEnd:()=>he(!1),onPointerDown:Pe=>{Pe.target instanceof HTMLElement&&Pe.target.dataset.dismissible==="false"||pe(!0)},onPointerUp:()=>pe(!1)},B.filter(Pe=>!Pe.position&&ce===0||Pe.position===D).map((Pe,Ye)=>{var Xe,it;return Le.createElement(GH,{key:Pe.id,icons:q,index:Ye,toast:Pe,defaultRichColors:v,duration:(Xe=S?.duration)!=null?Xe:E,className:S?.className,descriptionClassName:S?.descriptionClassName,invert:a,visibleToasts:k,closeButton:(it=S?.closeButton)!=null?it:u,interacting:ie,position:D,style:S?.style,unstyled:S?.unstyled,classNames:S?.classNames,cancelButtonStyle:S?.cancelButtonStyle,actionButtonStyle:S?.actionButtonStyle,closeButtonAriaLabel:S?.closeButtonAriaLabel,removeToast:oe,toasts:B.filter(xt=>xt.position==Pe.position),heights:Y.filter(xt=>xt.position==Pe.position),setHeights:ae,expandByDefault:c,gap:R,expanded:ne,swipeDirections:t.swipeDirections})})):null}))});function T7(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const o=n.slice(a,r).trim();(o||!s)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function Mv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const WH=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,KH=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,XH={};function A7(e,t){return(XH.jsx?KH:WH).test(e)}const ZH=/[ \t\n\f\r]/g;function np(e){return typeof e=="object"?e.type==="text"?S7(e.value):!1:S7(e)}function S7(e){return e.replace(ZH,"")===""}let c0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};c0.prototype.normal={};c0.prototype.property={};c0.prototype.space=void 0;function u9(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new c0(n,r,t)}function Ud(e){return e.toLowerCase()}let Fr=class{constructor(t,n){this.attribute=n,this.property=t}};Fr.prototype.attribute="";Fr.prototype.booleanish=!1;Fr.prototype.boolean=!1;Fr.prototype.commaOrSpaceSeparated=!1;Fr.prototype.commaSeparated=!1;Fr.prototype.defined=!1;Fr.prototype.mustUseProperty=!1;Fr.prototype.number=!1;Fr.prototype.overloadedBoolean=!1;Fr.prototype.property="";Fr.prototype.spaceSeparated=!1;Fr.prototype.space=void 0;let JH=0;const pt=fl(),kn=fl(),e2=fl(),Ie=fl(),Kt=fl(),Sc=fl(),Xr=fl();function fl(){return 2**++JH}const t2=Object.freeze(Object.defineProperty({__proto__:null,boolean:pt,booleanish:kn,commaOrSpaceSeparated:Xr,commaSeparated:Sc,number:Ie,overloadedBoolean:e2,spaceSeparated:Kt},Symbol.toStringTag,{value:"Module"})),Cx=Object.keys(t2);let Pv=class extends Fr{constructor(t,n,r,a){let s=-1;
vendor: 4,264 bytes, line 399
399if(super(t,n),C7(this,"space",a),typeof r=="number")for(;++s<Cx.length;){const o=Cx[s];C7(this,Cx[s],(r&t2[o])===t2[o])}}};Pv.prototype.defined=!0;function C7(e,t,n){n&&(e[t]=n)}function Gc(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new Pv(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Ud(r)]=r,n[Ud(s.attribute)]=r}return new c0(t,n,e.space)}const d9=Gc({properties:{ariaActiveDescendant:null,ariaAtomic:kn,ariaAutoComplete:null,ariaBusy:kn,ariaChecked:kn,ariaColCount:Ie,ariaColIndex:Ie,ariaColSpan:Ie,ariaControls:Kt,ariaCurrent:null,ariaDescribedBy:Kt,ariaDetails:null,ariaDisabled:kn,ariaDropEffect:Kt,ariaErrorMessage:null,ariaExpanded:kn,ariaFlowTo:Kt,ariaGrabbed:kn,ariaHasPopup:null,ariaHidden:kn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Kt,ariaLevel:Ie,ariaLive:null,ariaModal:kn,ariaMultiLine:kn,ariaMultiSelectable:kn,ariaOrientation:null,ariaOwns:Kt,ariaPlaceholder:null,ariaPosInSet:Ie,ariaPressed:kn,ariaReadOnly:kn,ariaRelevant:null,ariaRequired:kn,ariaRoleDescription:Kt,ariaRowCount:Ie,ariaRowIndex:Ie,ariaRowSpan:Ie,ariaSelected:kn,ariaSetSize:Ie,ariaSort:null,ariaValueMax:Ie,ariaValueMin:Ie,ariaValueNow:Ie,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function f9(e,t){return t in e?e[t]:t}function h9(e,t){return f9(e,t.toLowerCase())}const eU=Gc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sc,acceptCharset:Kt,accessKey:Kt,action:null,allow:null,allowFullScreen:pt,allowPaymentRequest:pt,allowUserMedia:pt,alt:null,as:null,async:pt,autoCapitalize:null,autoComplete:Kt,autoFocus:pt,autoPlay:pt,blocking:Kt,capture:null,charSet:null,checked:pt,cite:null,className:Kt,cols:Ie,colSpan:null,content:null,contentEditable:kn,controls:pt,controlsList:Kt,coords:Ie|Sc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pt,defer:pt,dir:null,dirName:null,disabled:pt,download:e2,draggable:kn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pt,formTarget:null,headers:Kt,height:Ie,hidden:e2,high:Ie,href:null,hrefLang:null,htmlFor:Kt,httpEquiv:Kt,id:null,imageSizes:null,imageSrcSet:null,inert:pt,inputMode:null,integrity:null,is:null,isMap:pt,itemId:null,itemProp:Kt,itemRef:Kt,itemScope:pt,itemType:Kt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pt,low:Ie,manifest:null,max:null,maxLength:Ie,media:null,method:null,min:null,minLength:Ie,multiple:pt,muted:pt,name:null,nonce:null,noModule:pt,noValidate:pt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pt,optimum:Ie,pattern:null,ping:Kt,placeholder:null,playsInl
399ine:pt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:pt,referrerPolicy:null,rel:Kt,required:pt,reversed:pt,rows:Ie,rowSpan:Ie,sandbox:Kt,scope:null,scoped:pt,seamless:pt,selected:pt,shadowRootClonable:pt,shadowRootDelegatesFocus:pt,shadowRootMode:null,shape:null,size:Ie,sizes:null,slot:null,span:Ie,spellCheck:kn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ie,step:null,style:null,tabIndex:Ie,target:null,title:null,translate:null,type:null,typeMustMatch:pt,useMap:null,value:kn,width:Ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Kt,axis:null,background:null,bgColor:null,border:Ie,borderColor:null,bottomMargin:Ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pt,declare:pt,event:null,face:null,frame:null,frameBorder:null,hSpace:Ie,leftMargin:Ie,link:null,longDesc:null,lowSrc:null,marginHeight:Ie,marginWidth:Ie,noResize:pt,noHref:pt,noShade:pt,noWrap:pt,object:null,profile:null,prompt:null,rev:null,rightMargin:Ie,rules:null,scheme:null,scrolling:kn,standby:null,summary:null,text:null,topMargin:Ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pt,disableRemotePlayback:pt,prefix:null,property:null,results:Ie,security:null,unselectable:null},space:"html",transform:h9}),tU=Gc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
399-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xr,accentHeight:Ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ie,amplitude:Ie,arabicForm:null,ascent:Ie,attributeName:null,attributeType:null,azimuth:Ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ie,by:null,calcMode:null,capHeight:Ie,className:Kt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ie,diffuseConstant:Ie,direction:null,display:null,dur:null,divisor:Ie,dominantBaseline:null,download:pt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ie,enableBackground:null,end:null,event:null,exponent:Ie,externalResourcesRequired:null,fill:null,fillOpacity:Ie,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sc,g2:Sc,glyphName:Sc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ie,horizOriginX:Ie,horizOriginY:Ie,id:null,ideographic:Ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ie,k:Ie,k1:Ie,k2:Ie,k3:Ie,k4:Ie,kernelMatrix:Xr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ie,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ie,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,306 bytes, lines 399-400
399Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ie,overlineThickness:Ie,paintOrder:null,panose1:null,path:null,pathLength:Ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Kt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ie,pointsAtY:Ie,pointsAtZ:Ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xr,rev:Xr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xr,requiredFeatures:Xr,requiredFonts:Xr,requiredFormats:Xr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ie,specularExponent:Ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ie,strikethroughThickness:Ie,string:null,stroke:null,strokeDashArray:Xr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ie,strokeOpacity:Ie,strokeWidth:null,style:null,surfaceScale:Ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xr,tabIndex:Ie,tableValues:null,target:null,targetX:Ie,targetY:Ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ie,underlineThickness:Ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ie,values:null,vAlphabetic:Ie,vMathematical:Ie,vectorEffect:null,vHanging:Ie,vIdeographic:Ie,version:null,vertAdvY:Ie,vertOriginX:Ie,vertOriginY:Ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:f9}),m9=Gc({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),p9=Gc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:h9}),g9=Gc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),nU={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},rU=/[A-Z]/g,k7=/-[a-z]/g,aU=/^data[-\w.:]+$/i;function rp(e,t){const n=Ud(t);let r=t,a=Fr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&aU.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(k7,iU);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!k7.test(s)){let o=s.replace(rU,sU);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Pv}return new a(r,t)}function sU(e){return"-"+e.toLowerCase()}function iU(e){return e.charAt(1).toUpperCase()}const u0=u9([d9,eU,m9,p9,g9],"html"),fo=u9([d9,tU,m9,p9,g9],"svg");function N7(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Lv(e){return e.join(" ").trim()}var fc={},kx,R7;function oU(){if(R7)return kx;R7=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,u=` 400`,f="/",p="*",m="",x="comment",v="declaration";kx=function(_,k){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];k=k||{};var S=1,O=1;function R(he){var ie=he.match(t);ie&&(S+=ie.length);var pe=he.lastIndexOf(u);O=~pe?he.length-pe:O+he.length}function q(){var he={line:S,column:O};return function(ie){return ie.position=new H(he),B(),ie}}function H(he){this.start=he,this.end={line:S,column:O},this.source=k.source}H.prototype.content=_;function L(he){var ie=new Error(k.source+":"+S+":"+O+": "+he);if(ie.reason=he,ie.filename=k.source,ie.line=S,ie.column=O,ie.source=_,!k.silent)throw ie}function M(he){var ie=he.exec(_);if(ie){var pe=ie[0];return R(pe),_=_.slice(pe.length),ie}}function B(){M(n)}function Z(he){var ie;for(he=he||[];ie=Y();)ie!==!1&&he.push(ie);return he}function Y(){var he=q();if(!(f!=_.charAt(0)||p!=_.charAt(1))){for(var ie=2;m!=_.charAt(ie)&&(p!=_.charAt(ie)||f!=_.charAt(ie+1));)++ie;if(ie+=2,m===_.charAt(ie-1))return L("End of comment missing");var pe=_.slice(2,ie-2);return O+=2,R(pe),_=_.slice(ie),O+=2,he({type:x,comment:pe})}}function ae(){var he=q(),ie=M(r);if(ie){if(Y(),!M(a))return L("property missing ':'");var pe=M(s),$=he({type:v,property:E(ie[0].replace(e,m)),value:pe?E(pe[0].replace(e,m)):m});return M(o),$}}function ne(){var he=[];Z(he);for(var ie;ie=ae();
vendor: 3,943 bytes, line 400
400)ie!==!1&&(he.push(ie),Z(he));return he}return B(),ne()};function E(_){return _?_.replace(c,m):m}return kx}var O7;function lU(){if(O7)return fc;O7=1;var e=fc&&fc.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(fc,"__esModule",{value:!0}),fc.default=n;const t=e(oU());function n(r,a){let s=null;if(!r||typeof r!="string")return s;const o=(0,t.default)(r),c=typeof a=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:f,value:p}=u;c?a(f,p,u):p&&(s=s||{},s[f]=p)}),s}return fc}var rd={},D7;function cU(){if(D7)return rd;D7=1,Object.defineProperty(rd,"__esModule",{value:!0}),rd.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(f){return!f||n.test(f)||e.test(f)},o=function(f,p){return p.toUpperCase()},c=function(f,p){return"".concat(p,"-")},u=function(f,p){return p===void 0&&(p={}),s(f)?f:(f=f.toLowerCase(),p.reactCompat?f=f.replace(a,c):f=f.replace(r,c),f.replace(t,o))};return rd.camelCase=u,rd}var ad,I7;function uU(){if(I7)return ad;I7=1;var e=ad&&ad.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(lU()),n=cU();function r(a,s){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(c,u){c&&u&&(o[(0,n.camelCase)(c,s)]=u)}),o}return r.default=r,ad=r,ad}var dU=uU();const fU=Lm(dU),ap=x9("end"),_s=x9("start");function x9(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function hU(e){const t=_s(e),n=ap(e);if(t&&n)return{start:t,end:n}}function wd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?M7(e.position):"start"in e||"end"in e?M7(e):"line"in e||"column"in e?n2(e):""}function n2(e){return P7(e&&e.line)+":"+P7(e&&e.column)}function M7(e){return n2(e&&e.start)+"-"+n2(e&&e.end)}function P7(e){return e&&typeof e=="number"?e:1}class hr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(o=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=wd(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}hr.prototype.file="";hr.prototype.name="";hr.prototype.reason="";hr.prototype.message="";hr.prototype.stack="";hr.prototype.column=void 0;hr.prototype.line=void 0;hr.prototype.ancestors=void 0;hr.prototype.cause=void 0;hr.prototype.fatal=void 0;hr.prototype.place=void 0;hr.prototype.ruleId=void 0;hr.prototype.source=void 0;const jv={}.hasOwnProperty,mU=new Map,pU=/[A-Z]/g,gU=new Set(["table","tbody","thead","tfoot","tr"]),xU=new Set(["td","th"]),b9="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function bU(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=SU(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,016 bytes, line 400
400if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=AU(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?fo:u0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=v9(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function v9(e,t,n){if(t.type==="element")return vU(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return yU(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return wU(e,t,n);if(t.type==="mdxjsEsm")return EU(e,t);if(t.type==="root")return _U(e,t,n);if(t.type==="text")return TU(e,t)}function vU(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=fo,e.schema=a),e.ancestors.push(t);const s=E9(e,t.tagName,!1),o=CU(e,t);let c=zv(e,t);return gU.has(t.tagName)&&(c=c.filter(function(u){return typeof u=="string"?!np(u):!0})),y9(e,o,s,t),Bv(o,c),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function yU(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Fd(e,t.position)}function EU(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Fd(e,t.position)}function wU(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=fo,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:E9(e,t.name,!0),o=kU(e,t),c=zv(e,t);return y9(e,o,s,t),Bv(o,c),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function _U(e,t,n){const r={};return Bv(r,zv(e,t)),e.create(t,e.Fragment,r,n)}function TU(e,t){return t.value}function y9(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Bv(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function AU(e,t,n){return r;function r(a,s,o,c){const f=Array.isArray(o.children)?n:t;return c?f(s,o,c):f(s,o)}}function SU(e,t){return n;function n(r,a,s,o){const c=Array.isArray(s.children),u=_s(r);return t(a,s,o,c,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function CU(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&jv.call(t.properties,a)){const s=NU(e,a,t.properties[a]);if(s){const[o,c]=s;e.tableCellAlignToStyle&&o==="align"&&typeof c=="string"&&xU.has(t.tagName)?r=c:n[o]=c}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function kU(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const o=s.expression;o.type;const c=o.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else Fd(e,t.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const c=r.value.data.estree.body[0];c.type,s=e.evaluater.evaluateExpression(c.expression)}else Fd(e,t.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function zv(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:mU;for(;++r<t.children.length;){const s=t.children[r];let o;if(e.passKeys){const u=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(u){const f=a.get(u)||0;o=u+"-"+f,a.set(u,f+1)}}const c=v9(e,s,o);c!==void 0&&n.push(c)}return n}function NU(e,t,n){const r=rp(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Mv(n):Lv(n)),r.property==="style"){let a=typeof n=="object"?n:RU(e,String(n));return e.stylePropertyNameCase==="css"&&(a=OU(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?nU[r.property]||r.property:r.attribute,n]}}function RU(e,t){try{return fU(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new hr("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=b9+"#cannot-parse-style-attribute",a}}function E9(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,o;for(;++s<a.length;){const c=A7(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};o=o?{type:"MemberExpression",object:o,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}r=o}else r=A7(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return jv.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);Fd(e)}function Fd(e,t){const n=new hr("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=b9+"#cannot-handle-mdx-estrees-without-createevaluater",n}function OU(e){const t={};let n;for(n in e)jv.call(e,n)&&(t[DU(n)]=e[n]);return t}function DU(e){let t=e.replace(pU,IU);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function IU(e){return"-"+e.toLowerCase()}const Nx={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},MU={};function Hv(e,t){const n=MU,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return w9(e,r,a)}function w9(e,t,n){if(PU(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return L7(e.children,t,n)}
vendor: 15,068 bytes, line 400
400return Array.isArray(e)?L7(e,t,n):""}function L7(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=w9(e[a],t,n);return r.join("")}function PU(e){return!!(e&&typeof e=="object")}const j7=document.createElement("i");function Uv(e){const t="&"+e+";";j7.innerHTML=t;const n=j7.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function na(e,t,n,r){const a=e.length;let s=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function ya(e,t){return e.length>0?(na(e,e.length,0,t),e):t}const B7={}.hasOwnProperty;function _9(e){const t={};let n=-1;for(;++n<e.length;)LU(t,e[n]);return t}function LU(e,t){let n;for(n in t){const a=(B7.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){B7.call(a,o)||(a[o]=[]);const c=s[o];jU(a[o],Array.isArray(c)?c:c?[c]:[])}}}function jU(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);na(e,0,0,r)}function T9(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function za(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const wr=ho(/[A-Za-z]/),dr=ho(/[\dA-Za-z]/),BU=ho(/[#-'*+\--9=?A-Z^-~]/);function em(e){return e!==null&&(e<32||e===127)}const r2=ho(/\d/),zU=ho(/[\dA-Fa-f]/),HU=ho(/[!-/:-@[-`{-~]/);function We(e){return e!==null&&e<-2}function Qt(e){return e!==null&&(e<0||e===32)}function Tt(e){return e===-2||e===-1||e===32}const sp=ho(new RegExp("\\p{P}|\\p{S}","u")),nl=ho(/\s/);function ho(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Yc(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&dr(e.charCodeAt(n+1))&&dr(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(o=String.fromCharCode(s,c),a=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function yt(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(u){return Tt(u)?(e.enter(n),c(u)):t(u)}function c(u){return Tt(u)&&s++<a?(e.consume(u),c):(e.exit(n),t(u))}}const UU={tokenize:FU};function FU(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),yt(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),s(c)}function s(c){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(c)}function o(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return We(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),o)}}const qU={tokenize:$U},z7={tokenize:VU};function $U(e){const t=this,n=[];let r=0,a,s,o;return c;function c(R){if(r<n.length){const q=n[r];return t.containerState=q[1],e.attempt(q[0].continuation,u,f)(R)}return f(R)}function u(R){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&O();const q=t.events.length;let H=q,L;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){L=t.events[H][1].end;break}S(r);let M=q;for(;M<t.events.length;)t.events[M][1].end={...L},M++;return na(t.events,H+1,0,t.events.slice(q)),t.events.length=M,f(R)}return c(R)}function f(R){if(r===n.length){if(!a)return x(R);if(a.currentConstruct&&a.currentConstruct.concrete)return E(R);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(z7,p,m)(R)}function p(R){return a&&O(),S(r),x(R)}function m(R){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,E(R)}function x(R){return t.containerState={},e.attempt(z7,v,E)(R)}function v(R){return r++,n.push([t.currentConstruct,t.containerState]),x(R)}function E(R){if(R===null){a&&O(),S(0),e.consume(R);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),_(R)}function _(R){if(R===null){k(e.exit("chunkFlow"),!0),S(0),e.consume(R);return}return We(R)?(e.consume(R),k(e.exit("chunkFlow")),r=0,t.interrupt=void 0,c):(e.consume(R),_)}function k(R,q){const H=t.sliceStream(R);if(q&&H.push(null),R.previous=s,s&&(s.next=R),s=R,a.defineSkip(R.start),a.write(H),t.parser.lazy[R.start.line]){let L=a.events.length;for(;L--;)if(a.events[L][1].start.offset<o&&(!a.events[L][1].end||a.events[L][1].end.offset>o))return;const M=t.events.length;let B=M,Z,Y;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(Z){Y=t.events[B][1].end;break}Z=!0}for(S(r),L=M;L<t.events.length;)t.events[L][1].end={...Y},L++;na(t.events,B+1,0,t.events.slice(M)),t.events.length=L}}function S(R){let q=n.length;for(;q-- >R;){const H=n[q];t.containerState=H[1],H[0].exit.call(t,e)}n.length=R}function O(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function VU(e,t,n){return yt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Lc(e){if(e===null||Qt(e)||nl(e))return 1;if(sp(e))return 2}function ip(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const a2={name:"attention",resolveAll:GU,tokenize:YU};function GU(e,t){let n=-1,r,a,s,o,c,u,f,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const m={...e[r][1].end},x={...e[n][1].start};H7(m,-u),H7(x,u),o={type:u>1?"strongSequence":"emphasisSequence",start:m,end:{...e[r][1].end}},c={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:x},s={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:u>1?"strong":"emphasis",start:{...o.start},end:{...c.end}},e[r][1].end={...o.start},e[n][1].start={...c.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=ya(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=ya(f,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",s,t]]),f=ya(f,ip(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=ya(f,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,f=ya(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,na(e,r-1,n-r+3,f),n=r+f.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function YU(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=Lc(r);let s;return o;function o(u){return s=u,e.enter("attentionSequence"),c(u)}function c(u){if(u===s)return e.consume(u),c;const f=e.exit("attentionSequence"),p=Lc(u),m=!p||p===2&&a||n.includes(u),x=!a||a===2&&p||n.includes(r);return f._open=!!(s===42?m:m&&(a||!x)),f._close=!!(s===42?x:x&&(p||!m)),t(u)}}function H7(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const QU={name:"autolink",tokenize:WU};function WU(e,t,n){let r=0;return a;function a(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(v){return wr(v)?(e.consume(v),o):v===64?n(v):f(v)}function o(v){return v===43||v===45||v===46||dr(v)?(r=1,c(v)):f(v)}function c(v){return v===58?(e.consume(v),r=0,u):(v===43||v===45||v===46||dr(v))&&r++<32?(e.consume(v),c):(r=0,f(v))}function u(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||em(v)?n(v):(e.consume(v),u)}function f(v){return v===64?(e.consume(v),p):BU(v)?(e.consume(v),f):n(v)}function p(v){return dr(v)?m(v):n(v)}function m(v){return v===46?(e.consume(v),r=0,p):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):x(v)}function x(v){if((v===45||dr(v))&&r++<63){const E=v===45?x:m;return e.consume(v),E}return n(v)}}const d0={partial:!0,tokenize:KU};function KU(e,t,n){return r;function r(s){return Tt(s)?yt(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||We(s)?t(s):n(s)}}const A9={continuation:{tokenize:ZU},exit:JU,name:"blockQuote",tokenize:XU};function XU(e,t,n){const r=this;return a;function a(o){if(o===62){const c=r.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return Tt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function ZU(e,t,n){const r=this;return a;function a(o){return Tt(o)?yt(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(A9,t,n)(o)}}function JU(e){e.exit("blockQuote")}const S9={name:"characterEscape",tokenize:eF};function eF(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return HU(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const C9={name:"characterReference",tokenize:tF};function tF(e,t,n){const r=this;let a=0,s,o;return c;function c(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),u}function u(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),s=31,o=dr,p(m))}function f(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=zU,p):(e.enter("characterReferenceValue"),s=7,o=r2,p(m))}function p(m){if(m===59&&a){const x=e.exit("characterReferenceValue");return o===dr&&!Uv(r.sliceSerialize(x))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(m)&&a++<s?(e.consume(m),p):n(m)}}const U7={partial:!0,tokenize:rF},F7={concrete:!0,name:"codeFenced",tokenize:nF};function nF(e,t,n){const r=this,a={partial:!0,tokenize:H};let s=0,o=0,c;return u;function u(L){return f(L)}function f(L){const M=r.events[r.events.length-1];return s=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,c=L,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(L)}function p(L){return L===c?(o++,e.consume(L),p):o<3?n(L):(e.exit("codeFencedFenceSequence"),Tt(L)?yt(e,m,"whitespace")(L):m(L))}function m(L){return L===null||We(L)?(e.exit("codeFencedFence"),r.interrupt?t(L):e.check(U7,_,q)(L)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),x(L))}function x(L){return L===null||We(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(L)):Tt(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),yt(e,v,"whitespace")(L)):L===96&&L===c?n(L):(e.consume(L),x)}function v(L){return L===null||We(L)?m(L):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(L))}function E(L){return L===null||We(L)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(L)):L===96&&L===c?n(L):(e.consume(L),E)}function _(L){return e.attempt(a,q,k)(L)}function k(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),S}function S(L){return s>0&&Tt(L)?yt(e,O,"linePrefix",s+1)(L):O(L)}function O(L){return L===null||We(L)?e.check(U7,_,q)(L):(e.enter("codeFlowValue"),R(L))}function R(L){return L===null||We(L)?(e.exit("codeFlowValue"),O(L)):(e.consume(L),R)}function q(L){return e.exit("codeFenced"),t(L)}function H(L,M,B){let Z=0;return Y;function Y(pe){return L.enter("lineEnding"),L.consume(pe),L.exit("lineEnding"),ae}function ae(pe){return L.enter("codeFencedFence"),Tt(pe)?yt(L,ne,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(pe):ne(pe)}function ne(pe){return pe===c?(L.enter("codeFencedFenceSequence"),he(pe)):B(pe)}function he(pe){return pe===c?(Z++,L.consume(pe),he):Z>=o?(L.exit("codeFencedFenceSequence"),Tt(pe)?yt(L,ie,"whitespace")(pe):ie(pe)):B(pe)}function ie(pe){return pe===null||We(pe)?(L.exit("codeFencedFence"),M(pe)):B(pe)}}}function rF(e,t,n){const r=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Rx={name:"codeIndented",tokenize:sF},aF={partial:!0,tokenize:iF};function sF(e,t,n){const r=this;return a;function a(f){return e.enter("codeIndented"),yt(e,s,"linePrefix",5)(f)}function s(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(f):n(f)}function o(f){return f===null?u(f):We(f)?e.attempt(aF,o,u)(f):(e.enter("codeFlowValue"),c(f))}function c(f){return f===null||We(f)?(e.exit("codeFlowValue"),o(f)):(e.consume(f),c)}function u(f){return e.exit("codeIndented"),t(f)}}function iF(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):We(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):yt(e,s,"linePrefix",5)(o)}function s(o){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):We(o)?a(o):n(o)}}const oF={name:"codeText",previous:cF,resolve:lF,tokenize:uF};function lF(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function cF(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function uF(e,t,n){let r=0,a,s;return o;function o(m){return e.enter("codeText"),e.enter("codeTextSequence"),c(m)}function c(m){return m===96?(e.consume(m),r++,c):(e.exit("codeTextSequence"),u(m))}function u(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),u):m===96?(s=e.enter("co
400deTextSequence"),a=0,p(m)):We(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),u):(e.enter("codeTextData"),f(m))}function f(m){return m===null||m===32||m===96||We(m)?(e.exit("codeTextData"),u(m)):(e.consume(m),f)}function p(m){return m===96?(e.consume(m),a++,p):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",f(m))}}class dF{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&sd(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),sd(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),sd(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);sd(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);sd(this.left,n.reverse())}}}function sd(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function k9(e){const t={};let n=-1,r,a,s,o,c,u,f;const p=new dF(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,fF(p,n)),n=t[n],f=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(o=p.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(p.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=s);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;a&&(r[1].end={...p.get(a)[1].start},c=p.slice(a,n),c.unshift(r),p.splice(a,n-a+1,c))}}return na(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!f}function fF(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const c=o.events,u=[],f={};let p,m,x=-1,v=n,E=0,_=0;const k=[_];for(;v;){for(;e.get(++a)[1]!==v;);s.push(a),v._tokenizer||(p=r.sliceStream(v),v.next||p.push(null),m&&o.defineSkip(v.start),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=v,v=v.next}for(v=n;++x<c.length;)c[x][0]==="exit"&&c[x-1][0]==="enter"&&c[x][1].type===c[x-1][1].type&&c[x][1].start.line!==c[x][1].end.line&&(_=x+1,k.push(_),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(o.events=[],v?(v._tokenizer=void 0,v.previous=void 0):k.pop(),x=k.length;x--;){const S=c.slice(k[x],k[x+1]),O=s.pop();u.push([O,O+S.length-1]),e.splice(O,2,S)}for(u.reverse(),x=-1;++x<u.length;)f[E+u[x][0]]=E+u[x][1],E+=u[x][1]-u[x][0]-1;return f}const hF={resolve:pF,tokenize:gF},mF={partial:!0,tokenize:xF};function pF(e){return k9(e),e}function gF(e,t){let n;return r;function r(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?s(c):We(c)?e.check(mF,o,s)(c):(e.consume(c),a)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function o(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function xF(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),yt(e,s,"linePrefix")}function s(o){if(o===null||We(o))return n(o);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function N9(e,t,n,r,a,s,o,c,u){const f=u||Number.POSITIVE_INFINITY;let p=0;return m;function m(S){return S===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(S),e.exit(s),x):S===null||S===32||S===41||em(S)?n(S):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),_(S))}function x(S){return S===62?(e.enter(s),e.consume(S),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),v(S))}function v(S){return S===62?(e.exit("chunkString"),e.exit(c),x(S)):S===null||S===60||We(S)?n(S):(e.consume(S),S===92?E:v)}function E(S){return S===60||S===62||S===92?(e.consume(S),v):v(S)}function _(S){return!p&&(S===null||S===41||Qt(S))?(e.exit("chunkString"),e.exit(c),e.exit(o),e.exit(r),t(S)):p<f&&S===40?(e.consume(S),p++,_):S===41?(e.consume(S),p--,_):S===null||S===32||S===40||em(S)?n(S):(e.consume(S),S===92?k:_)}
vendor: 16,198 bytes, line 400
400function k(S){return S===40||S===41||S===92?(e.consume(S),_):_(S)}}function R9(e,t,n,r,a,s){const o=this;let c=0,u;return f;function f(v){return e.enter(r),e.enter(a),e.consume(v),e.exit(a),e.enter(s),p}function p(v){return c>999||v===null||v===91||v===93&&!u||v===94&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(v):v===93?(e.exit(s),e.enter(a),e.consume(v),e.exit(a),e.exit(r),t):We(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),m(v))}function m(v){return v===null||v===91||v===93||We(v)||c++>999?(e.exit("chunkString"),p(v)):(e.consume(v),u||(u=!Tt(v)),v===92?x:m)}function x(v){return v===91||v===92||v===93?(e.consume(v),c++,m):m(v)}}function O9(e,t,n,r,a,s){let o;return c;function c(x){return x===34||x===39||x===40?(e.enter(r),e.enter(a),e.consume(x),e.exit(a),o=x===40?41:x,u):n(x)}function u(x){return x===o?(e.enter(a),e.consume(x),e.exit(a),e.exit(r),t):(e.enter(s),f(x))}function f(x){return x===o?(e.exit(s),u(o)):x===null?n(x):We(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),yt(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===o||x===null||We(x)?(e.exit("chunkString"),f(x)):(e.consume(x),x===92?m:p)}function m(x){return x===o||x===92?(e.consume(x),p):p(x)}}function _d(e,t){let n;return r;function r(a){return We(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):Tt(a)?yt(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const bF={name:"definition",tokenize:yF},vF={partial:!0,tokenize:EF};function yF(e,t,n){const r=this;let a;return s;function s(v){return e.enter("definition"),o(v)}function o(v){return R9.call(r,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function c(v){return a=za(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),u):n(v)}function u(v){return Qt(v)?_d(e,f)(v):f(v)}function f(v){return N9(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(vF,m,m)(v)}function m(v){return Tt(v)?yt(e,x,"whitespace")(v):x(v)}function x(v){return v===null||We(v)?(e.exit("definition"),r.parser.defined.push(a),t(v)):n(v)}}function EF(e,t,n){return r;function r(c){return Qt(c)?_d(e,a)(c):n(c)}function a(c){return O9(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Tt(c)?yt(e,o,"whitespace")(c):o(c)}function o(c){return c===null||We(c)?t(c):n(c)}}const wF={name:"hardBreakEscape",tokenize:_F};function _F(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return We(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const TF={name:"headingAtx",resolve:AF,tokenize:SF};function AF(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},na(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function SF(e,t,n){let r=0;return a;function a(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||Qt(p)?(e.exit("atxHeadingSequence"),c(p)):n(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||We(p)?(e.exit("atxHeading"),t(p)):Tt(p)?yt(e,c,"whitespace")(p):(e.enter("atxHeadingText"),f(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),c(p))}function f(p){return p===null||p===35||Qt(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),f)}}const CF=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],q7=["pre","script","style","textarea"],kF={concrete:!0,name:"htmlFlow",resolveTo:OF,tokenize:DF},NF={partial:!0,tokenize:MF},RF={partial:!0,tokenize:IF};function OF(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function DF(e,t,n){const r=this;let a,s,o,c,u;return f;function f(D){return p(D)}function p(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),m}function m(D){return D===33?(e.consume(D),x):D===47?(e.consume(D),s=!0,_):D===63?(e.consume(D),a=3,r.interrupt?t:U):wr(D)?(e.consume(D),o=String.fromCharCode(D),k):n(D)}function x(D){return D===45?(e.consume(D),a=2,v):D===91?(e.consume(D),a=5,c=0,E):wr(D)?(e.consume(D),a=4,r.interrupt?t:U):n(D)}function v(D){return D===45?(e.consume(D),r.interrupt?t:U):n(D)}function E(D){const ce="CDATA[";return D===ce.charCodeAt(c++)?(e.consume(D),c===ce.length?r.interrupt?t:ne:E):n(D)}function _(D){return wr(D)?(e.consume(D),o=String.fromCharCode(D),k):n(D)}function k(D){if(D===null||D===47||D===62||Qt(D)){const ce=D===47,we=o.toLowerCase();return!ce&&!s&&q7.includes(we)?(a=1,r.interrupt?t(D):ne(D)):CF.includes(o.toLowerCase())?(a=6,ce?(e.consume(D),S):r.interrupt?t(D):ne(D)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):s?O(D):R(D))}return D===45||dr(D)?(e.consume(D),o+=String.fromCharCode(D),k):n(D)}function S(D){return D===62?(e.consume(D),r.interrupt?t:ne):n(D)}function O(D){return Tt(D)?(e.consume(D),O):Y(D)}function R(D){return D===47?(e.consume(D),Y):D===58||D===95||wr(D)?(e.consume(D),q):Tt(D)?(e.consume(D),R):Y(D)}function q(D){return D===45||D===46||D===58||D===95||dr(D)?(e.consume(D),q):H(D)}function H(D){return D===61?(e.consume(D),L):Tt(D)?(e.consume(D),H):R(D)}function L(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),u=D,M):Tt(D)?(e.consume(D),L):B(D)}function M(D){return D===u?(e.consume(D),u=null,Z):D===null||We(D)?n(D):(e.consume(D),M)}function B(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Qt(D)?H(D):(e.consume(D),B)}function Z(D){return D===47||D===62||Tt(D)?R(D):n(D)}function Y(D){return D===62?(e.consume(D),ae):n(D)}function ae(D){return D===null||We(D)?ne(D):Tt(D)?(e.consume(D),ae):n(D)}function ne(D){return D===45&&a===2?(e.consume(D),$):D===60&&a===1?(e.consume(D),re):D===62&&a===4?(e.consume(D),G):D===63&&a===3?(e.consume(D),U):D===93&&a===5?(e.consume(D),ge):We(D)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(NF,oe,he)(D)):D===null||We(D)?(e.exit("htmlFlowData"),he(D)):(e.consume(D),ne)}function he(D){return e.check(RF,ie,oe)(D)}function ie(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),pe}function pe(D){return D===null||We(D)?he(D):(e.enter("htmlFlowData"),ne(D))}function $(D){return D===45?(e.consume(D),U):ne(D)}function re(D){return D===47?(e.consume(D),o="",J):ne(D)}function J(D){if(D===62){const ce=o.toLowerCase();return q7.includes(ce)?(e.consume(D),G):ne(D)}return wr(D)&&o.length<8?(e.consume(D),o+=String.fromCharCode(D),J):ne(D)}function ge(D){return D===93?(e.consume(D),U):ne(D)}function U(D){return D===62?(e.consume(D),G):D===45&&a===2?(e.consume(D),U):ne(D)}function G(D){return D===null||We(D)?(e.exit("htmlFlowData"),oe(D)):(e.consume(D),G)}function oe(D){return e.exit("htmlFlow"),t(D)}}function IF(e,t,n){const r=this;return a;function a(o){return We(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function MF(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(d0,t,n)}}const PF={name:"htmlText",tokenize:LF};function LF(e,t,n){const r=this;let a,s,o;return c;function c(U){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(U),u}function u(U){return U===33?(e.consume(U),f):U===47?(e.consume(U),H):U===63?(e.consume(U),R):wr(U)?(e.consume(U),B):n(U)}function f(U){return U===45?(e.consume(U),p):U===91?(e.consume(U),s=0,E):wr(U)?(e.consume(U),O):n(U)}function p(U){return U===45?(e.consume(U),v):n(U)}function m(U){return U===null?n(U):U===45?(e.consume(U),x):We(U)?(o=m,re(U)):(e.consume(U),m)}function x(U){return U===45?(e.consume(U),v):m(U)}function v(U){return U===62?$(U):U===45?x(U):m(U)}function E(U){const G="CDATA[";return U===G.charCodeAt(s++)?(e.consume(U),s===G.length?_:E):n(U)}function _(U){return U===null?n(U):U===93?(e.consume(U),k):We(U)?(o=_,re(U)):(e.consume(U),_)}function k(U){return U===93?(e.consume(U),S):_(U)}function S(U){return U===62?$(U):U===93?(e.consume(U),S):_(U)}function O(U){return U===null||U===62?$(U):We(U)?(o=O,re(U)):(e.consume(U),O)}function R(U){return U===null?n(U):U===63?(e.consume(U),q):We(U)?(o=R,re(U)):(e.consume(U),R)}function q(U){return U===62?$(U):R(U)}function H(U){return wr(U)?(e.consume(U),L):n(U)}function L(U){return U===45||dr(U)?(e.consume(U),L):M(U)}function M(U){return We(U)?(o=M,re(U)):Tt(U)?(e.consume(U),M):$(U)}function B(U){return U===45||dr(U)?(e.consume(U),B):U===47||U===62||Qt(U)?Z(U):n(U)}function Z(U){return U===47?(e.consume(U),$):U===58||U===95||wr(U)?(e.consume(U),Y):We(U)?(o=Z,re(U)):Tt(U)?(e.consume(U),Z):$(U)}function Y(U){return U===45||U===46||U===58||U===95||dr(U)?(e.consume(U),Y):ae(U)}function ae(U){return U===61?(e.consume(U),ne):We(U)?(o=ae,re(U)):Tt(U)?(e.consume(U),ae):Z(U)}function ne(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),a=U,he):We(U)?(o=ne,re(U)):Tt(U)?(e.consume(U),ne):(e.consume(U),ie)}function he(U){return U===a?(e.consume(U),a=void 0,pe):U===null?n(U):We(U)?(o=he,re(U)):(e.consume(U),he)}function ie(U){return U===null||U===34||U===39||U===60||U===61||U===96?n(U):U===47||U===62||Qt(U)?Z(U):(e.consume(U),ie)}function pe(U){return U===47||U===62||Qt(U)?Z(U):n(U)}function $(U){return U===62?(e.consume(U),e.exit("htmlTextData"),e.exit("htmlText"),t):n(U)}function re(U){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),J}function J(U){return Tt(U)?yt(e,ge,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):ge(U)}function ge(U){return e.enter("htmlTextData"),o(U)}}const Fv={name:"labelEnd",resolveAll:HF,resolveTo:UF,tokenize:FF},jF={tokenize:qF},BF={tokenize:$F},zF={tokenize:VF};function HF(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&na(e,0,e.length,n),e}function UF(e,t){let n=e.length,r=0,a,s,o,c;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const u={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return c=[["enter",u,t],["enter",f,t]],c=ya(c,e.slice(s+1,s+r+3)),c=ya(c,[["enter",p,t]]),c=ya(c,ip(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),c=ya(c,[["exit",p,t],e[o-2],e[o-1],["exit",f,t]]),c=ya(c,e.slice(o+1)),c=ya(c,[["exit",u,t]]),na(e,s,e.length,c),e}function FF(e,t,n){const r=this;let a=r.events.length,s,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return c;function c(x){return s?s._inactive?m(x):(o=r.parser.defined.includes(za(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),u):n(x)}function u(x){return x===40?e.attempt(jF,p,o?p:m)(x):x===91?e.attempt(BF,p,o?f:m)(x):o?p(x):m(x)}function f(x){return e.attempt(zF,p,m)(x)}function p(x){return t(x)}function m(x){return s._balanced=!0,n(x)}}function qF(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),a}function a(m){return Qt(m)?_d(e,s)(m):s(m)}function s(m){return m===41?p(m):N9(e,o,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function o(m){return Qt(m)?_d(e,u)(m):p(m)}function c(m){return n(m)}function u(m){return m===34||m===39||m===40?O9(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function f(m){return Qt(m)?_d(e,p)(m):p(m)}function p(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function $F(e,t,n){const r=this;return a;function a(c){return R9.call(r,e,s,o,"reference","referenceMarker","referenceString")(c)}function s(c){return r.parser.defined.includes(za(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function o(c){return n(c)}}function VF(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const GF={name:"labelStartImage",resolveAll:Fv.resolveAll,tokenize:YF};function YF(e,t,n){const r=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),o):n(c)}function o(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const QF={name:"labelStartLink",resolveAll:Fv.resolveAll,tokenize:WF};function WF(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Ox={name:"lineEnding",tokenize:KF};function KF(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),yt(e,t,"linePrefix")}}const Rh={name:"thematicBreak",tokenize:XF};function XF(e,t,n){let r=0,a;return s;function s(f){return e.enter("thematicBreak"),o(f)}function o(f){return a=f,c(f)}function c(f){return f===a?(e.enter("thematicBreakSequence"),u(f)):r>=3&&(f===null||We(f))?(e.exit("thematicBreak"),t(f)):n(f)}function u(f){return f===a?(e.consume(f),r++,u):(e.exit("thematicBreakSequence"),Tt(f)?yt(e,c,"whitespace")(f):c(f))}}const Br={continuation:{tokenize:tq},exit:rq,name:"list",tokenize:eq},ZF={partial:!0,tokenize:aq},JF={partial:!0,tokenize:nq};function eq(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return c;function c(v){const E=r.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||v===r.containerState.marker:r2(v)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Rh,n,f)(v):f(v);if(!r.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(v)}return n(v)}function u(v){return r2(v)&&++o<10?(e.consume(v),u):(!r.interrupt||o<2)&&(r.containerState.marker?v===r.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),f(v)):n(v)}function f(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||v,e.check(d0,r.interrupt?n:p,e.attempt(ZF,x,m))}
vendor: 9,891 bytes, lines 400-402
400function p(v){return r.containerState.initialBlankLine=!0,s++,x(v)}function m(v){return Tt(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),x):n(v)}function x(v){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function tq(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(d0,a,s);function a(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,yt(e,t,"listItemIndent",r.containerState.size+1)(c)}function s(c){return r.containerState.furtherBlankLines||!Tt(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(JF,t,o)(c))}function o(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,yt(e,e.attempt(Br,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function nq(e,t,n){const r=this;return yt(e,a,"listItemIndent",r.containerState.size+1);function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function rq(e){e.exit(this.containerState.type)}function aq(e,t,n){const r=this;return yt(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const o=r.events[r.events.length-1];return!Tt(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const $7={name:"setextUnderline",resolveTo:sq,tokenize:iq};function sq(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function iq(e,t,n){const r=this;let a;return s;function s(f){let p=r.events.length,m;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){m=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),a=f,o(f)):n(f)}function o(f){return e.enter("setextHeadingLineSequence"),c(f)}function c(f){return f===a?(e.consume(f),c):(e.exit("setextHeadingLineSequence"),Tt(f)?yt(e,u,"lineSuffix")(f):u(f))}function u(f){return f===null||We(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const oq={tokenize:lq};function lq(e){const t=this,n=e.attempt(d0,r,e.attempt(this.parser.constructs.flowInitial,a,yt(e,e.attempt(this.parser.constructs.flow,a,e.attempt(hF,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const cq={resolveAll:I9()},uq=D9("string"),dq=D9("text");function D9(e){return{resolveAll:I9(e==="text"?fq:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,o,c);return o;function o(p){return f(p)?s(p):c(p)}function c(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),u}function u(p){return f(p)?(n.exit("data"),s(p)):(n.consume(p),u)}function f(p){if(p===null)return!0;const m=a[p];let x=-1;if(m)for(;++x<m.length;){const v=m[x];if(!v.previous||v.previous.call(r,r.previous))return!0}return!1}}}function I9(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}function fq(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let s=a.length,o=-1,c=0,u;for(;s--;){const f=a[s];if(typeof f=="string"){for(o=f.length;f.charCodeAt(o-1)===32;)c++,o--;if(o)break;o=-1}else if(f===-2)u=!0,c++;else if(f!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const f={type:n===e.length||u||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const hq={42:Br,43:Br,45:Br,48:Br,49:Br,50:Br,51:Br,52:Br,53:Br,54:Br,55:Br,56:Br,57:Br,62:A9},mq={91:bF},pq={[-2]:Rx,[-1]:Rx,32:Rx},gq={35:TF,42:Rh,45:[$7,Rh],60:kF,61:$7,95:Rh,96:F7,126:F7},xq={38:C9,92:S9},bq={[-5]:Ox,[-4]:Ox,[-3]:Ox,33:GF,38:C9,42:a2,60:[QU,PF],91:QF,92:[wF,S9],93:Fv,95:a2,96:oF},vq={null:[a2,cq]},yq={null:[42,95]},Eq={null:[]},wq=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:yq,contentInitial:mq,disable:Eq,document:hq,flow:gq,flowInitial:pq,insideSpan:vq,string:xq,text:bq},Symbol.toStringTag,{value:"Module"}));function _q(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let o=[],c=[];const u={attempt:M(H),check:M(L),consume:O,enter:R,exit:q,interrupt:M(L,{interrupt:!0})},f={code:null,containerState:{},defineSkip:_,events:[],now:E,parser:e,previous:null,sliceSerialize:x,sliceStream:v,write:m};let p=t.tokenize.call(f,u);return t.resolveAll&&s.push(t),f;function m(ae){return o=ya(o,ae),k(),o[o.length-1]!==null?[]:(B(t,0),f.events=ip(s,f.events,f),f.events)}function x(ae,ne){return Aq(v(ae),ne)}function v(ae){return Tq(o,ae)}function E(){const{_bufferIndex:ae,_index:ne,line:he,column:ie,offset:pe}=r;return{_bufferIndex:ae,_index:ne,line:he,column:ie,offset:pe}}function _(ae){a[ae.line]=ae.column,Y()}function k(){let ae;for(;r._index<o.length;){const ne=o[r._index];if(typeof ne=="string")for(ae=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ae&&r._bufferIndex<ne.length;)S(ne.charCodeAt(r._bufferIndex));else S(ne)}}function S(ae){p=p(ae)}function O(ae){We(ae)?(r.line++,r.column=1,r.offset+=ae===-3?2:1,Y()):ae!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=ae}function R(ae,ne){const he=ne||{};return he.type=ae,he.start=E(),f.events.push(["enter",he,f]),c.push(he),he}function q(ae){const ne=c.pop();return ne.end=E(),f.events.push(["exit",ne,f]),ne}function H(ae,ne){B(ae,ne.from)}function L(ae,ne){ne.restore()}function M(ae,ne){return he;function he(ie,pe,$){let re,J,ge,U;return Array.isArray(ie)?oe(ie):"tokenize"in ie?oe([ie]):G(ie);function G(Se){return be;function be(Pe){const Ye=Pe!==null&&Se[Pe],Xe=Pe!==null&&Se.null,it=[...Array.isArray(Ye)?Ye:Ye?[Ye]:[],...Array.isArray(Xe)?Xe:Xe?[Xe]:[]];return oe(it)(Pe)}}function oe(Se){return re=Se,J=0,Se.length===0?$:D(Se[J])}function D(Se){return be;function be(Pe){return U=Z(),ge=Se,Se.partial||(f.currentConstruct=Se),Se.name&&f.parser.constructs.disable.null.includes(Se.name)?we():Se.tokenize.call(ne?Object.assign(Object.create(f),ne):f,u,ce,we)(Pe)}}function ce(Se){return ae(ge,U),pe}function we(Se){return U.restore(),++J<re.length?D(re[J]):$}}}function B(ae,ne){ae.resolveAll&&!s.includes(ae)&&s.push(ae),ae.resolve&&na(f.events,ne,f.events.length-ne,ae.resolve(f.events.slice(ne),f)),ae.resolveTo&&(f.events=ae.resolveTo(f.events,f))}function Z(){const ae=E(),ne=f.previous,he=f.currentConstruct,ie=f.events.length,pe=Array.from(c);return{from:ie,restore:$};function $(){r=ae,f.previous=ne,f.currentConstruct=he,f.events.length=ie,c=pe,Y()}}function Y(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Tq(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,s)];else{if(o=e.slice(n,a),r>-1){const c=o[0];typeof c=="string"?o[0]=c.slice(r):o.shift()}s>0&&o.push(e[a].slice(0,s))}return o}function Aq(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=` 401`;break}case-3:{o=`\r 402`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(s)}a=s===-2,r.push(o)}return r.join("")}function Sq(e){const r={constructs:_9([wq,...(e||{}).extensions||[]]),content:a(UU),defined:[],document:a(qU),flow:a(oq),lazy:{},string:a(uq),text:a(dq)};return r;function a(s){return o;function o(c){return _q(r,s,c)}}}function Cq(e){for(;!k9(e););return e}const V7=/[\0\t\n\r]/g;function kq(){let e=1,t="",n=!0,r;return a;function a(s,o,c){const u=[];let f,p,m,x,v;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),m=0,t="",n&&(s.charCodeAt(0)===65279&&m++,n=void 0);m<s.length;){if(V7.lastIndex=m,f=V7.exec(s),x=f&&f.index!==void 0?f.index:s.length,v=s.charCodeAt(x),!f){t=s.slice(m);break}if(v===10&&m===x&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),m<x&&(u.push(s.slice(m,x)),e+=x-m),v){case 0:{u.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,u.push(-2);e++<p;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}m=x+1}return c&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Nq=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Rq(e){return e.replace(Nq,Oq)}function Oq(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return T9(n.slice(s?2:1),s?16:10)}return Uv(n)||e}const M9={}.hasOwnProperty;function Dq(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Iq(n)(Cq(Sq(n).document().write(kq()(e,t,!0))
vendor: 17,868 bytes, lines 402-406
402))}function Iq(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(gn),autolinkProtocol:Z,autolinkEmail:Z,atxHeading:s(pr),blockQuote:s(Xe),characterEscape:Z,characterReference:Z,codeFenced:s(it),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(it,o),codeText:s(xt,o),codeTextData:Z,data:Z,codeFlowValue:Z,definition:s(pn),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Jt),hardBreakEscape:s(rr),hardBreakTrailing:s(rr),htmlFlow:s(zn,o),htmlFlowData:Z,htmlText:s(zn,o),htmlTextData:Z,image:s(oa),label:o,link:s(gn),listItem:s(xo),listItemValue:x,listOrdered:s(hi,m),listUnordered:s(hi),paragraph:s(Qn),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(pr),strong:s(Ya),thematicBreak:s(cu)},exit:{atxHeading:u(),atxHeadingSequence:H,autolink:u(),autolinkEmail:Ye,autolinkProtocol:Pe,blockQuote:u(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:we,characterReferenceMarkerNumeric:we,characterReferenceValue:Se,characterReference:be,codeFenced:u(k),codeFencedFence:_,codeFencedFenceInfo:v,codeFencedFenceMeta:E,codeFlowValue:Y,codeIndented:u(S),codeText:u(pe),codeTextData:Y,data:Y,definition:u(),definitionDestinationString:q,definitionLabelString:O,definitionTitleString:R,emphasis:u(),hardBreakEscape:u(ne),hardBreakTrailing:u(ne),htmlFlow:u(he),htmlFlowData:Y,htmlText:u(ie),htmlTextData:Y,image:u(re),label:ge,labelText:J,lineEnding:ae,link:u($),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ce,resourceDestinationString:U,resourceTitleString:G,resource:oe,setextHeading:u(B),setextHeadingLineSequence:M,setextHeadingText:L,strong:u(),thematicBreak:u()}};P9(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Ee){let je={type:"root",children:[]};const nt={stack:[je],tokenStack:[],config:t,enter:c,exit:f,buffer:o,resume:p,data:n},ht=[];let Et=-1;for(;++Et<Ee.length;)if(Ee[Et][1].type==="listOrdered"||Ee[Et][1].type==="listUnordered")if(Ee[Et][0]==="enter")ht.push(Et);else{const ar=ht.pop();Et=a(Ee,ar,Et)}for(Et=-1;++Et<Ee.length;){const ar=t[Ee[Et][0]];M9.call(ar,Ee[Et][1].type)&&ar[Ee[Et][1].type].call(Object.assign({sliceSerialize:Ee[Et][2].sliceSerialize},nt),Ee[Et][1])}if(nt.tokenStack.length>0){const ar=nt.tokenStack[nt.tokenStack.length-1];(ar[1]||G7).call(nt,void 0,ar[0])}for(je.position={start:Hi(Ee.length>0?Ee[0][1].start:{line:1,column:1,offset:0}),end:Hi(Ee.length>0?Ee[Ee.length-2][1].end:{line:1,column:1,offset:0})},Et=-1;++Et<t.transforms.length;)je=t.transforms[Et](je)||je;return je}function a(Ee,je,nt){let ht=je-1,Et=-1,ar=!1,sr,Kn,xn,Xn;for(;++ht<=nt;){const zt=Ee[ht];switch(zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{zt[0]==="enter"?Et++:Et--,Xn=void 0;break}case"lineEndingBlank":{zt[0]==="enter"&&(sr&&!Xn&&!Et&&!xn&&(xn=ht),Xn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Xn=void 0}if(!Et&&zt[0]==="enter"&&zt[1].type==="listItemPrefix"||Et===-1&&zt[0]==="exit"&&(zt[1].type==="listUnordered"||zt[1].type==="listOrdered")){if(sr){let Qa=ht;for(Kn=void 0;Qa--;){const gr=Ee[Qa];if(gr[1].type==="lineEnding"||gr[1].type==="lineEndingBlank"){if(gr[0]==="exit")continue;Kn&&(Ee[Kn][1].type="lineEndingBlank",ar=!0),gr[1].type="lineEnding",Kn=Qa}else if(!(gr[1].type==="linePrefix"||gr[1].type==="blockQuotePrefix"||gr[1].type==="blockQuotePrefixWhitespace"||gr[1].type==="blockQuoteMarker"||gr[1].type==="listItemIndent"))break}xn&&(!Kn||xn<Kn)&&(sr._spread=!0),sr.end=Object.assign({},Kn?Ee[Kn][1].start:zt[1].end),Ee.splice(Kn||ht,0,["exit",sr,zt[2]]),ht++,nt++}if(zt[1].type==="listItemPrefix"){const Qa={type:"listItem",_spread:!1,start:Object.assign({},zt[1].start),end:void 0};sr=Qa,Ee.splice(ht,0,["enter",Qa,zt[2]]),ht++,nt++,xn=void 0,Xn=!0}}}return Ee[je][1]._spread=ar,nt}function s(Ee,je){return nt;function nt(ht){c.call(this,Ee(ht),ht),je&&je.call(this,ht)}}function o(){this.stack.push({type:"fragment",children:[]})}function c(Ee,je,nt){this.stack[this.stack.length-1].children.push(Ee),this.stack.push(Ee),this.tokenStack.push([je,nt||void 0]),Ee.position={start:Hi(je.start),end:void 0}}function u(Ee){return je;function je(nt){Ee&&Ee.call(this,nt),f.call(this,nt)}}function f(Ee,je){const nt=this.stack.pop(),ht=this.tokenStack.pop();if(ht)ht[0].type!==Ee.type&&(je?je.call(this,Ee,ht[0]):(ht[1]||G7).call(this,Ee,ht[0]));else throw new Error("Cannot close `"+Ee.type+"` ("+wd({start:Ee.start,end:Ee.end})+"): itâs not open");nt.position.end=Hi(Ee.end)}function p(){return Hv(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function x(Ee){if(this.data.expectingFirstListItemValue){const je=this.stack[this.stack.length-2];je.start=Number.parseInt(this.sliceSerialize(Ee),10),this.data.expectingFirstListItemValue=void 0}}function v(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.lang=Ee}function E(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.meta=Ee}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.value=Ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.value=Ee.replace(/(\r?\n|\r)$/g,"")}function O(Ee){const je=this.resume(),nt=this.stack[this.stack.length-1];nt.label=je,nt.identifier=za(this.sliceSerialize(Ee)).toLowerCase()}function R(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.title=Ee}function q(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.url=Ee}function H(Ee){const je=this.stack[this.stack.length-1];if(!je.depth){const nt=this.sliceSerialize(Ee).length;je.depth=nt}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function M(Ee){const je=this.stack[this.stack.length-1];je.depth=this.sliceSerialize(Ee).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function Z(Ee){const nt=this.stack[this.stack.length-1].children;let ht=nt[nt.length-1];(!ht||ht.type!=="text")&&(ht=Wn(),ht.position={start:Hi(Ee.start),end:void 0},nt.push(ht)),this.stack.push(ht)}function Y(Ee){const je=this.stack.pop();je.value+=this.sliceSerialize(Ee),je.position.end=Hi(Ee.end)}function ae(Ee){const je=this.stack[this.stack.length-1];if(this.data.atHardBreak){const nt=je.children[je.children.length-1];nt.position.end=Hi(Ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(je.type)&&(Z.call(this,Ee),Y.call(this,Ee))}function ne(){this.data.atHardBreak=!0}function he(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.value=Ee}function ie(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.value=Ee}function pe(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.value=Ee}function $(){const Ee=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";Ee.type+="Reference",Ee.referenceType=je,delete Ee.url,delete Ee.title}else delete Ee.identifier,delete Ee.label;this.data.referenceType=void 0}function re(){const Ee=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";Ee.type+="Reference",Ee.referenceType=je,delete Ee.url,delete Ee.title}else delete Ee.identifier,delete Ee.label;this.data.referenceType=void 0}function J(Ee){const je=this.sliceSerialize(Ee),nt=this.stack[this.stack.length-2];nt.label=Rq(je),nt.identifier=za(je).toLowerCase()}function ge(){const Ee=this.stack[this.stack.length-1],je=this.resume(),nt=this.stack[this.stack.length-1];if(this.data.inReference=!0,nt.type==="link"){const ht=Ee.children;nt.children=ht}else nt.alt=je}function U(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.url=Ee}function G(){const Ee=this.resume(),je=this.stack[this.stack.length-1];je.title=Ee}function oe(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function ce(Ee){const je=this.resume(),nt=this.stack[this.stack.length-1];nt.label=je,nt.identifier=za(this.sliceSerialize(Ee)).toLowerCase(),this.data.referenceType="full"}function we(Ee){this.data.characterReferenceType=Ee.type}function Se(Ee){const je=this.sliceSerialize(Ee),nt=this.data.characterReferenceType;let ht;nt?(ht=T9(je,nt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ht=Uv(je);const Et=this.stack[this.stack.length-1];Et.value+=ht}function be(Ee){const je=this.stack.pop();je.position.end=Hi(Ee.end)}function Pe(Ee){Y.call(this,Ee);const je=this.stack[this.stack.length-1];je.url=this.sliceSerialize(Ee)}function Ye(Ee){Y.call(this,Ee);const je=this.stack[this.stack.length-1];je.url="mailto:"+this.sliceSerialize(Ee)}function Xe(){return{type:"blockquote",children:[]}}function it(){return{type:"code",lang:null,meta:null,value:""}}function xt(){return{type:"inlineCode",value:""}}function pn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Jt(){return{type:"emphasis",children:[]}}function pr(){return{type:"heading",depth:0,children:[]}}function rr(){return{type:"break"}}function zn(){return{type:"html",value:""}}function oa(){return{type:"image",title:null,url:"",alt:null}}function gn(){return{type:"link",title:null,url:"",children:[]}}function hi(Ee){return{type:"list",ordered:Ee.type==="listOrdered",start:null,spread:Ee._spread,children:[]}}function xo(Ee){return{type:"listItem",spread:Ee._spread,checked:null,children:[]}}function Qn(){return{type:"paragraph",children:[]}}function Ya(){return{type:"strong",children:[]}}function Wn(){return{type:"text",value:""}}function cu(){return{type:"thematicBreak"}}}function Hi(e){return{line:e.line,column:e.column,offset:e.offset}}function P9(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?P9(e,r):Mq(e,r)}}function Mq(e,t){let n;for(n in t)if(M9.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function G7(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+wd({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+wd({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+wd({start:t.start,end:t.end})+") is still open")}function Pq(e){const t=this;t.parser=n;function n(r){return Dq(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Lq(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function jq(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 403`}]}function Bq(e,t){const n=t.value?t.value+` 404`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function zq(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hq(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Uq(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Yc(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,c+=1,e.footnoteCounts.set(r,c);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const f={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,f),e.applyData(t,f)}function Fq(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qq(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function L9(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function $q(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return L9(e,t);const a={src:Yc(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function Vq(e,t){const n={src:Yc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Gq(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Yq(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return L9(e,t);const a={href:Yc(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function Qq(e,t){const n={href:Yc(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Wq(e,t,n){const r=e.all(t),a=n?Kq(n):j9(t),s={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let m;p&&p.type==="element"&&p.tagName==="p"?m=p:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const p=r[c];(a||c!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:` 405`}),p.type==="element"&&p.tagName==="p"&&!a?o.push(...p.children):o.push(p)}const u=r[r.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 406`});const f={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,f),e.applyData(t,f)}function Kq(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=j9(n[r])}return t}function j9(e){const t=e.spread;return t??e.children.length>1}function Xq(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const o=r[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function Zq(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jq(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function e$(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function t$(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=_s(t.children[1]),u=ap(t.children[t.children.length-1]);c&&u&&(o.position={start:c,end:u}),a.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function n$(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,c=o?o.length:t.children.length;let u=-1;const f=[];for(;++u<c;){const m=t.children[u],x={},v=o?o[u]:void 0;v&&(x.align=v);let E={type:"element",tagName:s,properties:x,children:[]};m&&(E.children=e.all(m),e.patch(m,E),E=e.applyData(m,E)),f.push(E)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,p),e.applyData(t,p)}function r$(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Y7=9,Q7=32;function a$(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const s=[];for(;r;)s.push(W7(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return s.push(W7(t.slice(a),a>0,!1)),s.join("")}function W7(e,t,n){let r=0,a=e.length;if(t){let s=e.codePointAt(r);for(;s===Y7||s===Q7;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(a-1);for(;s===Y7||s===Q7;)a--,s=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function s$(e,t){const n={type:"text",value:a$(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function i$(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const o$={blockquote:Lq,break:jq,code:Bq,delete:zq,emphasis:Hq,footnoteReference:Uq,heading:Fq,html:qq,imageReference:$q,image:Vq,inlineCode:Gq,linkReference:Yq,link:Qq,listItem:Wq,list:Xq,paragraph:Zq,root:Jq,
vendor: 4,565 bytes, line 406
406strong:e$,table:t$,tableCell:r$,tableRow:n$,text:s$,thematicBreak:i$,toml:th,yaml:th,definition:th,footnoteDefinition:th};function th(){}const B9=-1,op=0,Td=1,tm=2,qv=3,$v=4,Vv=5,Gv=6,z9=7,H9=8,K7=typeof self=="object"?self:globalThis,l$=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),r=a=>{if(e.has(a))return e.get(a);const[s,o]=t[a];switch(s){case op:case B9:return n(o,a);case Td:{const c=n([],a);for(const u of o)c.push(r(u));return c}case tm:{const c=n({},a);for(const[u,f]of o)c[r(u)]=r(f);return c}case qv:return n(new Date(o),a);case $v:{const{source:c,flags:u}=o;return n(new RegExp(c,u),a)}case Vv:{const c=n(new Map,a);for(const[u,f]of o)c.set(r(u),r(f));return c}case Gv:{const c=n(new Set,a);for(const u of o)c.add(r(u));return c}case z9:{const{name:c,message:u}=o;return n(new K7[c](u),a)}case H9:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(new K7[s](o),a)};return r},X7=e=>l$(new Map,e)(0),hc="",{toString:c$}={},{keys:u$}=Object,id=e=>{const t=typeof e;if(t!=="object"||!e)return[op,t];const n=c$.call(e).slice(8,-1);switch(n){case"Array":return[Td,hc];case"Object":return[tm,hc];case"Date":return[qv,hc];case"RegExp":return[$v,hc];case"Map":return[Vv,hc];case"Set":return[Gv,hc];case"DataView":return[Td,n]}return n.includes("Array")?[Td,n]:n.includes("Error")?[z9,n]:[tm,n]},nh=([e,t])=>e===op&&(t==="function"||t==="symbol"),d$=(e,t,n,r)=>{const a=(o,c)=>{const u=r.push(o)-1;return n.set(c,u),u},s=o=>{if(n.has(o))return n.get(o);let[c,u]=id(o);switch(c){case op:{let p=o;switch(u){case"bigint":c=H9,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);p=null;break;case"undefined":return a([B9],o)}return a([c,p],o)}case Td:{if(u){let x=o;return u==="DataView"?x=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(x=new Uint8Array(o)),a([u,[...x]],o)}const p=[],m=a([c,p],o);for(const x of o)p.push(s(x));return m}case tm:{if(u)switch(u){case"BigInt":return a([u,o.toString()],o);case"Boolean":case"Number":case"String":return a([u,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const p=[],m=a([c,p],o);for(const x of u$(o))(e||!nh(id(o[x])))&&p.push([s(x),s(o[x])]);return m}case qv:return a([c,o.toISOString()],o);case $v:{const{source:p,flags:m}=o;return a([c,{source:p,flags:m}],o)}case Vv:{const p=[],m=a([c,p],o);for(const[x,v]of o)(e||!(nh(id(x))||nh(id(v))))&&p.push([s(x),s(v)]);return m}case Gv:{const p=[],m=a([c,p],o);for(const x of o)(e||!nh(id(x)))&&p.push(s(x));return m}}const{message:f}=o;return a([c,{name:u,message:f}],o)};return s},Z7=(e,{json:t,lossy:n}={})=>{const r=[];return d$(!(t||n),!!t,new Map,r)(e),r},jc=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?X7(Z7(e,t)):structuredClone(e):(e,t)=>X7(Z7(e,t));function f$(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function h$(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function m$(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||f$,r=e.options.footnoteBackLabel||h$,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let u=-1;for(;++u<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[u]);if(!f)continue;const p=e.all(f),m=String(f.identifier).toUpperCase(),x=Yc(m.toLowerCase());let v=0;const E=[],_=e.footnoteCounts.get(m);for(;_!==void 0&&++v<=_;){E.length>0&&E.push({type:"text",value:" "});let O=typeof n=="string"?n:n(u,v);typeof O=="string"&&(O={type:"text",value:O}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+x+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,v),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const k=p[p.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const O=k.children[k.children.length-1];O&&O.type==="text"?O.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...E)}else p.push(...E);const S={type:"element",tagName:"li",properties:{id:t+"fn-"+x},children:e.wrap(p,!0)};e.patch(f,S),c.push(S)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...jc(o),id:"footnote-label"},children:[{type:"text",value:a}]}
vendor: 5,016 bytes, lines 406-412
406,{type:"text",value:` 407`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:` 408`}]}}const f0=(function(e){if(e==null)return b$;if(typeof e=="function")return lp(e);if(typeof e=="object")return Array.isArray(e)?p$(e):g$(e);if(typeof e=="string")return x$(e);throw new Error("Expected function, string, or object as test")});function p$(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=f0(e[n]);return lp(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function g$(e){const t=e;return lp(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function x$(e){return lp(t);function t(n){return n&&n.type===e}}function lp(e){return t;function t(n,r,a){return!!(v$(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function b$(){return!0}function v$(e){return e!==null&&typeof e=="object"&&"type"in e}const U9=[],hd=!0,s2=!1,nm="skip";function Yv(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const s=f0(a),o=r?-1:1;c(e,void 0,[])();function c(u,f,p){const m=u&&typeof u=="object"?u:{};if(typeof m.type=="string"){const v=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(u.type+(v?"<"+v+">":""))+")"})}return x;function x(){let v=U9,E,_,k;if((!t||s(u,f,p[p.length-1]||void 0))&&(v=y$(n(u,p)),v[0]===s2))return v;if("children"in u&&u.children){const S=u;if(S.children&&v[0]!==nm)for(_=(r?S.children.length:-1)+o,k=p.concat(S);_>-1&&_<S.children.length;){const O=S.children[_];if(E=c(O,_,k)(),E[0]===s2)return E;_=typeof E[1]=="number"?E[1]:_+o}}return v}}}function y$(e){return Array.isArray(e)?e:typeof e=="number"?[hd,e]:e==null?U9:[e]}function rl(e,t,n,r){let a,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,a=n):(s=t,o=n,a=r),Yv(e,s,c,a);function c(u,f){const p=f[f.length-1],m=p?p.children.indexOf(u):void 0;return o(u,m,p)}}const i2={}.hasOwnProperty,E$={};function w$(e,t){const n=t||E$,r=new Map,a=new Map,s=new Map,o={...o$,...n.handlers},c={all:f,applyData:T$,definitionById:r,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:o,one:u,options:n,patch:_$,wrap:S$};return rl(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const m=p.type==="definition"?r:a,x=String(p.identifier).toUpperCase();m.has(x)||m.set(x,p)}}),c;function u(p,m){const x=p.type,v=c.handlers[x];if(i2.call(c.handlers,x)&&v)return v(c,p,m);if(c.options.passThrough&&c.options.passThrough.includes(x)){if("children"in p){const{children:_,...k}=p,S=jc(k);return S.children=c.all(p),S}return jc(p)}return(c.options.unknownHandler||A$)(c,p,m)}function f(p){const m=[];if("children"in p){const x=p.children;let v=-1;for(;++v<x.length;){const E=c.one(x[v],p);if(E){if(v&&x[v-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=J7(E.value)),!Array.isArray(E)&&E.type==="element")){const _=E.children[0];_&&_.type==="text"&&(_.value=J7(_.value))}Array.isArray(E)?m.push(...E):m.push(E)}}}return m}}function _$(e,t){e.position&&(t.position=hU(e))}function T$(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,jc(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function A$(e,t){const n=t.data||{},r="value"in t&&!(i2.call(n,"hProperties")||i2.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function S$(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 409`});++r<e.length;)r&&n.push({type:"text",value:` 410`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 411`}),n}function J7(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function eE(e,t){const n=w$(e,t),r=n.one(e,void 0),a=m$(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&s.children.push({type:"text",value:` 412`},a),s}function C$(e,t){return e&&"run"in e?async function(n,r){const a=eE(n,{file:r,...t});await e.run(a,r)}:function(n,r){return eE(n,{file:r,...e||t})}}function tE(e){if(e)throw e}var Dx,nE;function k$(){if(nE)return Dx;nE=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var p=e.call(f,"constructor"),m=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!p&&!m)return!1;var x;for(x in f);return typeof x>"u"||e.call(f,x)},o=function(f,p){n&&p.name==="__proto__"?n(f,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):f[p.name]=p.newValue}
vendor: 5,007 bytes, line 412
412,c=function(f,p){if(p==="__proto__")if(e.call(f,p)){if(r)return r(f,p).value}else return;return f[p]};return Dx=function u(){var f,p,m,x,v,E,_=arguments[0],k=1,S=arguments.length,O=!1;for(typeof _=="boolean"&&(O=_,_=arguments[1]||{},k=2),(_==null||typeof _!="object"&&typeof _!="function")&&(_={});k<S;++k)if(f=arguments[k],f!=null)for(p in f)m=c(_,p),x=c(f,p),_!==x&&(O&&x&&(s(x)||(v=a(x)))?(v?(v=!1,E=m&&a(m)?m:[]):E=m&&s(m)?m:{},o(_,{name:p,newValue:u(O,E,x)})):typeof x<"u"&&o(_,{name:p,newValue:x}));return _},Dx}var N$=k$();const Ix=Lm(N$);function o2(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function R$(){const e=[],t={run:n,use:r};return t;function n(...a){let s=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);c(null,...a);function c(u,...f){const p=e[++s];let m=-1;if(u){o(u);return}for(;++m<a.length;)(f[m]===null||f[m]===void 0)&&(f[m]=a[m]);a=f,p?O$(p,c)(...f):o(null,...f)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function O$(e,t){let n;return r;function r(...o){const c=e.length>o.length;let u;c&&o.push(a);try{u=e.apply(this,o)}catch(f){const p=f;if(c&&n)throw p;return a(p)}c||(u&&u.then&&typeof u.then=="function"?u.then(s,a):u instanceof Error?a(u):s(u))}function a(o,...c){n||(n=!0,t(o,...c))}function s(o){a(null,o)}}const is={basename:D$,dirname:I$,extname:M$,join:P$,sep:"/"};function D$(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');h0(e);let n=0,r=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else r<0&&(s=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else o<0&&(s=!0,o=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(r=a):(c=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function I$(e){if(h0(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function M$(e){h0(e);let t=e.length,n=-1,r=0,a=-1,s=0,o;for(;t--;){const c=e.codePointAt(t);if(c===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),c===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function P$(...e){let t=-1,n;for(;++t<e.length;)h0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":L$(n)}function L$(e){h0(e);const t=e.codePointAt(0)===47;let n=j$(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function j$(e,t){let n="",r=0,a=-1,s=0,o=-1,c,u;for(;++o<=e.length;){if(o<e.length)c=e.codePointAt(o);else{if(c===47)break;c=47}if(c===47){if(!(a===o-1||s===1))if(a!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),a=o,s=0;continue}}else if(n.length>0){n="",r=0,a=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,s=0}else c===46&&s>-1?s++:s=-1}return n}function h0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const B$={cwd:z$};function z$(){return"/"}function l2(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function H$(e){if(typeof e=="string")e=new URL(e);else if(!l2(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return U$(e)}function U$(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Mx=["history","path","basename","stem","extname","dirname"];class F9{constructor(t){let n;t?l2(t)?n={path:t}:typeof t=="string"||F$(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":B$.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Mx.length;){const s=Mx[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)Mx.includes(a)||(this[a]=n[a])}
vendor: 9,508 bytes, line 412
412get basename(){return typeof this.path=="string"?is.basename(this.path):void 0}set basename(t){Lx(t,"basename"),Px(t,"basename"),this.path=is.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?is.dirname(this.path):void 0}set dirname(t){rE(this.basename,"dirname"),this.path=is.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?is.extname(this.path):void 0}set extname(t){if(Px(t,"extname"),rE(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=is.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){l2(t)&&(t=H$(t)),Lx(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?is.basename(this.path,this.extname):void 0}set stem(t){Lx(t,"stem"),Px(t,"stem"),this.path=is.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new hr(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Px(e,t){if(e&&e.includes(is.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+is.sep+"`")}function Lx(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function rE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function F$(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const q$=(function(e){const r=this.constructor.prototype,a=r[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),$$={}.hasOwnProperty;class Qv extends q${constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=R$()}copy(){const t=new Qv;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Ix(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(zx("data",this.frozen),this.namespace[t]=n,this):$$.call(this.namespace,t)&&this.namespace[t]||void 0:t?(zx("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=rh(t),r=this.parser||this.Parser;return jx("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),jx("process",this.parser||this.Parser),Bx("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,o){const c=rh(t),u=r.parse(c);r.run(u,c,function(p,m,x){if(p||!m||!x)return f(p);const v=m,E=r.stringify(v,x);Y$(E)?x.value=E:x.result=E,f(p,x)});function f(p,m){p||!m?o(p):s?s(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),jx("processSync",this.parser||this.Parser),Bx("processSync",this.compiler||this.Compiler),this.process(t,a),sE("processSync","process",n),r;function a(s,o){n=!0,tE(s),r=o}}run(t,n,r){aE(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,c){const u=rh(n);a.run(t,u,f);function f(p,m,x){const v=m||t;p?c(p):o?o(v):r(void 0,v,x)}}}runSync(t,n){let r=!1,a;return this.run(t,n,s),sE("runSync","run",r),a;function s(o,c){tE(o),a=c,r=!0}}stringify(t,n){this.freeze();const r=rh(n),a=this.compiler||this.Compiler;return Bx("stringify",a),aE(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(zx("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(f){if(typeof f=="function")u(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[p,...m]=f;u(p,m)}else o(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function o(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");c(f.plugins),f.settings&&(a.settings=Ix(!0,a.settings,f.settings))}function c(f){let p=-1;if(f!=null)if(Array.isArray(f))for(;++p<f.length;){const m=f[p];s(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function u(f,p){let m=-1,x=-1;for(;++m<r.length;)if(r[m][0]===f){x=m;break}if(x===-1)r.push([f,...p]);else if(p.length>0){let[v,...E]=p;const _=r[x][1];o2(_)&&o2(v)&&(v=Ix(!0,_,v)),r[x]=[f,v,...E]}}}}const V$=new Qv().freeze();function jx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Bx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function zx(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function aE(e){if(!o2(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function sE(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function rh(e){return G$(e)?e:new F9(e)}function G$(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Y$(e){return typeof e=="string"||Q$(e)}function Q$(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const W$="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",iE=[],oE={allowDangerousHtml:!0},K$=/^(https?|ircs?|mailto|xmpp)$/i,X$=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Z$(e){const t=J$(e),n=eV(e);return tV(t.runSync(t.parse(n),n),e)}function J$(e){const t=e.rehypePlugins||iE,n=e.remarkPlugins||iE,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...oE}:oE;return V$().use(Pq).use(n).use(C$,r).use(t)}function eV(e){const t=e.children||"",n=new F9;return typeof t=="string"&&(n.value=t),n}function tV(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,o=t.skipHtml,c=t.unwrapDisallowed,u=t.urlTransform||nV;for(const p of X$)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+W$+p.id,void 0);return rl(e,f),bU(e,{Fragment:h.Fragment,components:a,ignoreInvalidStyle:!0,jsx:h.jsx,jsxs:h.jsxs,passKeys:!0,passNode:!0});function f(p,m,x){if(p.type==="raw"&&x&&typeof m=="number")return o?x.children.splice(m,1):x.children[m]={type:"text",value:p.value},m;if(p.type==="element"){let v;for(v in Nx)if(Object.hasOwn(Nx,v)&&Object.hasOwn(p.properties,v)){const E=p.properties[v],_=Nx[v];(_===null||_.includes(p.tagName))&&(p.properties[v]=u(String(E||""),v,p))}}if(p.type==="element"){let v=n?!n.includes(p.tagName):s?s.includes(p.tagName):!1;if(!v&&r&&typeof m=="number"&&(v=!r(p,m,x)),v&&x&&typeof m=="number")return c&&p.children?x.children.splice(m,1,...p.children):x.children.splice(m,1),m}}}function nV(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||K$.test(e.slice(0,t))?e:""}const lE=/[#.]/g;function rV(e,t){const n=e||"",r={};let a=0,s,o;for(;a<n.length;){lE.lastIndex=a;const c=lE.exec(n),u=n.slice(a,c?c.index:n.length);u&&(s?s==="#"?r.id=u:Array.isArray(r.className)?r.className.push(u):r.className=[u]:o=u,a+=u.length),c&&(s=c[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function q9(e,t,n){const r=n?oV(n):void 0;function a(s,o,...c){let u;if(s==null){u={type:"root",children:[]};const f=o;c.unshift(f)}else{u=rV(s,t);const f=u.tagName.toLowerCase(),p=r?r.get(f):void 0;if(u.tagName=p||f,aV(o))c.unshift(o);else for(const[m,x]of Object.entries(o))sV(e,u.properties,m,x)}for(const f of c)c2(u.children,f);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function aV(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 11,929 bytes, lines 412-414
412if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const o of s)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function sV(e,t,n,r){const a=rp(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=N7(r):a.commaSeparated?s=T7(r):a.commaOrSpaceSeparated?s=N7(T7(r).join(" ")):s=cE(a,a.property,r):Array.isArray(r)?s=[...r]:s=a.property==="style"?iV(r):String(r);if(Array.isArray(s)){const o=[];for(const c of s)o.push(cE(a,a.property,c));s=o}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function c2(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)c2(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?c2(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function cE(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Ud(n)===Ud(t)))return!0}return n}function iV(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function oV(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const lV=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],$9=q9(u0,"div"),V9=q9(fo,"g",lV),fs={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function cV(e,t){return G9(e,{})||{type:"root",children:[]}}function G9(e,t){const n=uV(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function uV(e,t){switch(e.nodeType){case 1:return mV(e,t);case 3:return fV(e);case 8:return hV(e);case 9:return uE(e,t);case 10:return dV();case 11:return uE(e,t);default:return}}function uE(e,t){return{type:"root",children:Y9(e,t)}}function dV(){return{type:"doctype"}}function fV(e){return{type:"text",value:e.nodeValue||""}}function hV(e){return{type:"comment",value:e.nodeValue||""}}function mV(e,t){const n=e.namespaceURI,r=n===fs.svg?V9:$9,a=n===fs.html?e.tagName.toLowerCase():e.tagName,s=n===fs.html&&a==="template"?e.content:e,o=e.getAttributeNames(),c={};let u=-1;for(;++u<o.length;)c[o[u]]=e.getAttribute(o[u])||"";return r(a,c,Y9(s,t))}function Y9(e,t){const n=e.childNodes,r=[];let a=-1;for(;++a<n.length;){const s=G9(n[a],t);s!==void 0&&r.push(s)}return r}new DOMParser;function pV(e,t){const n=gV(e);return cV(n)}function gV(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const dE=(function(e,t,n){const r=f0(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),hl=(function(e){if(e==null)return vV;if(typeof e=="string")return bV(e);if(typeof e=="object")return xV(e);if(typeof e=="function")return Wv(e);throw new Error("Expected function, string, or array as `test`")});function xV(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=hl(e[n]);return Wv(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function bV(e){return Wv(t);function t(n){return n.tagName===e}}function Wv(e){return t;function t(n,r,a){return!!(yV(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function vV(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function yV(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const fE=/\n/g,hE=/[\t ]+/g,u2=hl("br"),mE=hl(kV),EV=hl("p"),pE=hl("tr"),wV=hl(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",CV,NV]),Q9=hl(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function _V(e,t){const n=t||{},r="children"in e?e.children:[],a=Q9(e),s=X9(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...K9(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<r.length;)o.push(...W9(r[c],e,{whitespace:s,breakBefore:c?void 0:a,breakAfter:c<r.length-1?u2(r[c+1]):a}));const u=[];let f;for(c=-1;++c<o.length;){const p=o[c];typeof p=="number"?f!==void 0&&p>f&&(f=p):p&&(f!==void 0&&f>-1&&u.push(` 413`.repeat(f)||" "),f=-1,u.push(p))}return u.join("")}function W9(e,t,n){return e.type==="element"?TV(e,t,n):e.type==="text"?n.whitespace==="normal"?K9(e,n):AV(e):[]}function TV(e,t,n){const r=X9(e,n),a=e.children||[];let s=-1,o=[];if(wV(e))return o;let c,u;for(u2(e)||pE(e)&&dE(t,e,pE)?u=` 414`:EV(e)?(c=2,u=2):Q9(e)&&(c=1,u=1);++s<a.length;)o=o.concat(W9(a[s],e,{whitespace:r,breakBefore:s?void 0:c,breakAfter:s<a.length-1?u2(a[s+1]):u}));return mE(e)&&dE(t,e,mE)&&o.push(" "),c&&o.unshift(c),u&&o.push(u),o}function K9(e,t){const n=String(e.value),r=[],a=[];let s=0;for(;s<=n.length;){fE.lastIndex=s;const u=fE.exec(n),f=u&&"index"in u?u.index:n.length;r.push(SV(n.slice(s,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,f===n.length?t.breakAfter:!0)),s=f+1}let o=-1,c;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(a.push(r[o]),c=void 0):r[o]?(typeof c=="number"&&a.push(c),a.push(r[o]),c=0):(o===0||o===r.length-1)&&a.push(0);return a}function AV(e){return[String(e.value)]}function SV(e,t,n){const r=[];let a=0,s;for(;a<e.length;){hE.lastIndex=a;const o=hE.exec(e);s=o?o.index:e.length,!a&&!s&&o&&!t&&r.push(""),a!==s&&r.push(e.slice(a,s)),a=o?s+o[0].length:s}return a!==s&&!n&&r.push(""),r.join(" ")}function X9(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function CV(e){return!!(e.properties||{}).hidden}function kV(e){return e.tagName==="td"||e.tagName==="th"}function NV(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Ur{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Ur(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class ra{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new ra(n,Ur.range(this,t))}}class Oe{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,a,s,o=n&&n.loc;if(o&&o.start<=o.end){var c=o.lexer.input;a=o.start,s=o.end,a===c.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var u=c.slice(a,s).replace(/[^]/g,"$&̲"),f;a>15?f="â¦"+c.slice(a-15,a):f=c.slice(0,a);var p;s+15<c.length?p=c.slice(s,s+15)+"â¦":p=c.slice(s),r+=f+u+p}var m=new Error(r);return m.name="ParseError",m.__proto__=Oe.prototype,m.position=a,a!=null&&s!=null&&(m.length=s-a),m.rawMessage=t,m}}Oe.prototype.__proto__=Error.prototype;var RV=function(t,n){return t===void 0?n:t},OV=/([A-Z])/g,DV=function(t){return t.replace(OV,"-$1").toLowerCase()},IV={"&":"&",">":">","<":"<",'"':""","'":"'"},MV=/[&><"']/g;function PV(e){return String(e).replace(MV,t=>IV[t])}var Z9=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},LV=function(t){var n=Z9(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},jV=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},BV=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},Lt={deflt:RV,escape:PV,hyphenate:DV,getBaseElem:Z9,isCharacterBox:LV,protocolFromUrl:BV},Ad={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function zV(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;
vendor: 4,895 bytes, lines 414-446
414if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Kv{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in Ad)if(Ad.hasOwnProperty(n)){var r=Ad[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:zV(r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new Oe("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=Lt.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Ui{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return ls[HV[this.id]]}sub(){return ls[UV[this.id]]}fracNum(){return ls[FV[this.id]]}fracDen(){return ls[qV[this.id]]}cramp(){return ls[$V[this.id]]}text(){return ls[VV[this.id]]}isTight(){return this.size>=2}}var Xv=0,rm=1,Cc=2,ni=3,qd=4,Ta=5,Bc=6,_r=7,ls=[new Ui(Xv,0,!1),new Ui(rm,0,!0),new Ui(Cc,1,!1),new Ui(ni,1,!0),new Ui(qd,2,!1),new Ui(Ta,2,!0),new Ui(Bc,3,!1),new Ui(_r,3,!0)],HV=[qd,Ta,qd,Ta,Bc,_r,Bc,_r],UV=[Ta,Ta,Ta,Ta,_r,_r,_r,_r],FV=[Cc,ni,qd,Ta,Bc,_r,Bc,_r],qV=[ni,ni,Ta,Ta,_r,_r,_r,_r],$V=[rm,rm,ni,ni,Ta,Ta,_r,_r],VV=[Xv,rm,Cc,ni,Cc,ni,Cc,ni],tt={DISPLAY:ls[Xv],TEXT:ls[Cc],SCRIPT:ls[qd],SCRIPTSCRIPT:ls[Bc]},d2=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function GV(e){for(var t=0;t<d2.length;t++)for(var n=d2[t],r=0;r<n.blocks.length;r++){var a=n.blocks[r];if(e>=a[0]&&e<=a[1])return n.name}return null}var Oh=[];d2.forEach(e=>e.blocks.forEach(t=>Oh.push(...t)));function J9(e){for(var t=0;t<Oh.length;t+=2)if(e>=Oh[t]&&e<=Oh[t+1])return!0;return!1}var mc=80,YV=function(t,n){return"M95,"+(622+t+n)+` 415c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 416c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 417c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 418s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 419c69,-144,104.5,-217.7,106.5,-221 420l`+t/2.075+" -"+t+` 421c5.3,-9.3,12,-14,20,-14 422H400000v`+(40+t)+`H845.2724 423s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 424c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 425M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},QV=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 426c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 427c340,-704.7,510.7,-1060.3,512,-1067 428l`+t/2.084+" -"+t+` 429c4.7,-7.3,11,-11,19,-11 430H40000v`+(40+t)+`H1012.3 431s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 432c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 433s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 434c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 435M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},WV=function(t,n){return"M983 "+(10+t+n)+` 436l`+t/3.13+" -"+t+` 437c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` 438H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 439s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 440c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 441c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 442c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 443c53.7,-170.3,84.5,-266.8,92.5,-289.5z 444M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},KV=function(t,n){return"M424,"+(2398+t+n)+` 445c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 446c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
447s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 448s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 449l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 450v`+(40+t)+`H1014.6 451s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 452c-2,6,-10,9,-24,9 453c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` 454h400000v`+(40+t)+"h-400000z"},XV=function(t,n){return"M473,"+(2713+t+n)+` 455c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` 456c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 457s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 458c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 459c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 460s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 461606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},ZV=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},JV=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` 462H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 463h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 464c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 465219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},eG=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=YV(n,mc);break;case"sqrtSize1":a=QV(n,mc);break;case"sqrtSize2":a=WV(n,mc);break;case"sqrtSize3":a=KV(n,mc);break;case"sqrtSize4":a=XV(n,mc);break;case"sqrtTall":a=JV(n,mc,r)}return a},tG=function(t,n){switch(t){case"â":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"â£":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"â¥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"â":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"â¢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"â¥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"âª":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"â":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"â":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},gE
vendor: 15,381 bytes, lines 465-640
465={doubleleftarrow:`M262 157 466l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 467 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 468 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 469c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 470 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 471-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 472-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 473m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 474-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 475 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 476-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 477-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 478-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 479c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 480-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 481 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 482-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 483c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 484 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 485 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 486 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 487-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 488 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 489 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 490 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 491-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 492H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 493 435 0h399565z`,leftgroupunder:`M400000 262 494H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 495 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 496-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 497-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 498-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 499 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 500-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 501-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 502m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 503 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 504 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 505-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 506 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 507-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 508v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 509-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 510-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 511 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z 512M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z 513M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 514-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 515c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 516 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z 517M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 518c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 519-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 520 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 521 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 522c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 523 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 524 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 525-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 526-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 527m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 52860.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 529-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 530m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 531c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 532-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 533m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 53485.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 535-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 536m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 537c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 538-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 539 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 540 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 541-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 542-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 543 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 544-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 545s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 546c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 547 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 548-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 549 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 550 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 551-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 552-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 553 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 554-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 555 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z 556m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 557 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 558-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 559-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 560 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 561 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 562-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 563m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 564 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 565-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 566 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z 567M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 568 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 569-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 570-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 571 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 572-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 573-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 574-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 575 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 576c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 577 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 578 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 579-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 580 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 581-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 582 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 583 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 584-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 585-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 586 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 587c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 588 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 589-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 590 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 591 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 592 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 593-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 594 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 595 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 596 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 5973.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 59810.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 599-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 600-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 601H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 602c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 603c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 604-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 605-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 606-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, 607-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 608-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 609-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 610-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 611c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 612c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 613s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 614121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 615s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 616c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 617M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 618-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 61913.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 620-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 621-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 622-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 623151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 624c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 625c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 626c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 627c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 628M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 629c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 630-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 631c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 632M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 633c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 6341c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, 635-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 636M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 637c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 638-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 639c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 640M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,205 bytes, lines 640-668
640nG=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 641H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z 642M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 643c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 644c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 645c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 646c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z 647M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 648c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 649c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z 650MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z 651MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z 652M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z 653M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 654c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, 655-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 656949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 657c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 658-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 659l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 660-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 66163,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 662c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` 663c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 664c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 665c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 666c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 667l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 668-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let m0=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}};var hs
vendor: 57,629 bytes, line 668
668={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},
vendor: 2,744 bytes, line 668
668ah={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},xE={Ã
:"A",Ã:"D",Ã:"o",Ã¥:"a",ð:"d",þ:"o",Ð:"A",Ð:"B",Ð:"B",Ð:"F",Ð:"A",Ð:"E",Ð:"K",Ð:"3",Ð:"N",Ð:"N",Ð:"K",Ð:"N",Ð:"M",Ð:"H",Ð:"O",Ð:"N",Ð :"P",С:"C",Т:"T",У:"y",Ф:"O",Ð¥:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Ð:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",Ñ:"p",Ñ:"c",Ñ:"o",Ñ:"y",Ñ:"b",Ñ
:"x",Ñ:"n",Ñ:"n",Ñ:"w",Ñ:"w",Ñ:"a",Ñ:"m",Ñ:"a",Ñ:"e",Ñ:"m",Ñ:"r"};function eS(e,t){hs[e]=t}function Zv(e,t,n){if(!hs[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=hs[t][r];if(!a&&e[0]in xE&&(r=xE[e[0]].charCodeAt(0),a=hs[t][r]),!a&&n==="text"&&J9(r)&&(a=hs[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Hx={};function rG(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Hx[t]){var n=Hx[t]={cssEmPerMu:ah.quad[t]/18};for(var r in ah)ah.hasOwnProperty(r)&&(n[r]=ah[r][t])}return Hx[t]}var aG=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],bE=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vE=function(t,n){return n.size<2?t:aG[t-1][n.size-1]};class Zs{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Zs.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=bE[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,ph
vendor: 12,697 bytes, line 668
668antom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new Zs(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:vE(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:bE[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=vE(Zs.BASESIZE,t);return this.size===n&&this.textSize===Zs.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Zs.BASESIZE?["sizing","reset-size"+this.size,"size"+Zs.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=rG(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Zs.BASESIZE=6;var f2={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},sG={ex:!0,em:!0,mu:!0},tS=function(t){return typeof t!="string"&&(t=t.unit),t in f2||t in sG||t==="ex"},cn=function(t,n){var r;if(t.unit in f2)r=f2[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new Oe("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Be=function(t){return+t.toFixed(4)+"em"},ao=function(t){return t.filter(n=>n).join(" ")},nS=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},rS=function(t){var n=document.createElement(t);n.className=ao(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&n.setAttribute(a,this.attributes[a]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},iG=/[\s"'>/=\x00-\x1f]/,aS=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Lt.escape(ao(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=Lt.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+Lt.escape(r)+'"');for(var s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(iG.test(s))throw new Oe("Invalid attribute name '"+s+"'");n+=" "+s+'="'+Lt.escape(this.attributes[s])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class p0{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,nS.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return rS.call(this,"span")}toMarkup(){return aS.call(this,"span")}}let Jv=class{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,nS.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return rS.call(this,"a")}toMarkup(){return aS.call(this,"a")}};class oG{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t='<img src="'+Lt.escape(this.src)+'"'+(' alt="'+Lt.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=Lt.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+Lt.escape(n)+'"'),t+="'/>",t}}var lG={î:"ıÌ",ï:"ıÌ",Ã:"ıÌ",ì:"ıÌ"};class ka{constructor(t,n,r,a,s,o,c,u){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=r||0,this.italic=a||0,this.skew=s||0,this.width=o||0,this.classes=c||[],this.style=u||{},this.maxFontSize=0;var f=GV(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïÃì]/.test(this.text)&&(this.text=lG[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Be(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=ao(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=Lt.escape(ao(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=Lt.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+Lt.escape(r)+'"');var s=Lt.escape(this.text);return t?(n+=">",n+=s,n+="</span>",n):s}}class si{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Lt.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class so{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",gE[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Lt.escape(this.alternate)+'"/>':'<path d="'+Lt.escape(gE[this.pathName])+'"/>'}}class h2{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+Lt.escape(this.attributes[n])+'"');return t+="/>",t}}function yE(e){if(e instanceof ka)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function cG(e){if(e instanceof p0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var uG={bin:1,close:1,inner:1,open:1,punct:1,rel:1},dG={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Zt={math:{},text:{}};function A(e,t,n,r,a,s){Zt[e][a]={font:t,group:n,replace:r},s&&r&&(Zt[e][r]=Zt[e][a])}var C="math",Ce="text",I="main",Q="ams",sn="accent-token",Fe="bin",Ar="close",Qc="inner",et="mathord",Dn="op-token",ia="open",cp="punct",W="rel",di="spacing",te="textord";A(C,I,W,"â¡","\\equiv",!0);A(C,I,W,"âº","\\prec",!0);A(C,I,W,"â»","\\succ",!0);A(C,I,W,"â¼","\\sim",!0);A(C,I,W,"â¥","\\perp");A(C,I,W,"⪯","\\preceq",!0);A(C,I,W,"⪰","\\succeq",!0);A(C,I,W,"â","\\simeq",!0);A(C,I,W,"â£","\\mid",!0);A(C,I,W,"âª","\\ll",!0);A(C,I,W,"â«","\\gg",!0);A(C,I,W,"â","\\asymp",!0);A(C,I,W,"â¥","\\parallel");A(C,I,W,"â","\\bowtie",!0);A(C,I,W,"â£","\\smile",!0);A(C,I,W,"â","\\sqsubseteq",!0);A(C,I,W,"â","\\sqsupseteq",!0);A(C,I,W,"â","\\doteq",!0);A(C,I,W,"â¢","\\frown",!0);A(C,I,W,"â","\\ni",!0);A(C,I,W,"â","\\propto",!0);A(C,I,W,"â¢","\\vdash",!0);A(C,I,W,"â£","\\dashv",!0);A(C,I,W,"â","\\owns");A(C,I,cp,".","\\ldotp");A(C,I,cp,"â
","\\cdotp");A(C,I,te,"#","\\#");A(Ce,I,te,"#","\\#");A(C,I,te,"&","\\&");A(Ce,I,te,"&","\\&");A(C,I,te,"âµ","\\aleph",!0);A(C,I,te,"â","\\forall",!0);A(C,I,te,"â","\\hbar",!0);A(C,I,te,"â","\\exists",!0);A(C,I,te,"â","\\nabla",!0);A(C,I,te,"â","\\flat",!0);A(C,I,te,"â","\\ell",!0);A(C,I,te,"â®","\\natural",!0);A(C,I,te,"â£","\\clubsuit",!0);A(C,I,te,"â","\\wp",!0);A(C,I,te,"â¯","\\sharp",!0);A(C,I,te,"â¢","\\diamondsuit",!0);A(C,I,te,"â","\\Re",!0);A(C,I,te,"â¡","\\heartsuit",!0);A(C,I,te,"â","\\Im",!0);A(C,I,te,"â ","\\spadesuit",!0);A(C,I,te,"§","\\S",!0);A(Ce,I,te,"§","\\S");A(C,I,te,"¶","\\P",!0);A(Ce,I,te,"¶","\\P");A(C,I,te,"â ","\\dag");A(Ce,I,te,"â ","\\dag");A(Ce,I,te,"â ","\\textdagger");A(C,I,te,"â¡","\\ddag");A(Ce,I,te,"â¡","\\ddag");A(Ce,I,te,"â¡","\\textdaggerdbl");A(C,I,Ar,"â±","\\rmoustache",!0);A(C,I,ia,"â°","\\lmoustache",!0);A(C,I,Ar,"â¯","\\rgroup",!0);A(C,I,ia,"â®","\\lgroup",!0);A(C,I,Fe,"â","\\mp",!0);A(C,I,Fe,"â","\\ominus",!0);A(C,I,Fe,"â","\\uplus",!0);A(C,I,Fe,"â","\\sqcap",!0);A(C,I,Fe,"â","\\ast");A(C,I,Fe,"â","\\sqcup",!0);A(C,I,Fe,"â¯","\\bigcirc",!0);A(C,I,Fe,"â","\\bullet",!0);A(C,I,Fe,"â¡","\\ddagger");A(C,I,Fe,"â","\\wr",!0);A(C,I,Fe,"⨿","\\amalg");A(C,I,Fe,"&","\\And");A(C,I,W,"âµ","\\longleftarrow",!0);A(C,I,W,"â","\\Leftarrow",!0);A(C,I,W,"â¸","\\Longleftarrow",!0);A(C,I,W,"â¶","\\longrightarrow",!0);A(C,I,W,"â","\\Rightarrow",!0);A(C,I,W,"â¹","\\Longrightarrow",!0);A(C,I,W,"â","\\leftrightarrow",!0);A(C,I,W,"â·","\\longleftrightarrow",!0);A(C,I,W,"â","\\Leftrightarrow",!0);A(C,I,W,"âº","\\Longleftrightarrow",!0);A(C,I,W,"â¦","\\mapsto",!0);A(C,I,W,"â¼","\\longmapsto",!0);A(C,I,W,"â","\\nearrow",!0);A(C,I,W,"â©","\\hookleftarrow",!0);A(C,I,W,"âª","\\hookrightarrow",!0);A(C,I,W,"â","\\searrow",!0);A(C,I,W,"â¼","\\leftharpoonup",!0);A(C,I,W,"â","\\rightharpoonup",!0);A(C,I,W,"â","\\swarrow",!0);A(C,I,W,"â½","\\leftharpoondown",!0);A(C,I,W,"â","\\rightharpoondown",!0);A(C,I,W,"â","\\nwarrow",!0);A(C,I,W,"â","\\rightleftharpoons",!0);A(C,Q,W,"â®","\\nless",!0);A(C,Q,W,"î","\\@nleqslant");A(C,Q,W,"î","\\@nleqq");A(C,Q,W,"âª","\\lneq",!0);A(C,Q,W,"â¨","\\lneqq",!0);A(C,Q,W,"î","\\@lvertneqq");A(C,Q,W,"â¦","\\lnsim",!0);A(C,Q,W,"âª","\\lnapprox",!0);A(C,Q,W,"â","\\nprec",!0);A(C,Q,W,"â ","\\npreceq",!0);A(C,Q,W,"â¨","\\precnsim",!0);A(C,Q,W,"⪹","\\precnapprox",!0);A(C,Q,W,"â","\\nsim",!0);A(C,Q,W,"î","\\@nshortmid");A(C,Q,W,"â¤","\\nmid",!0);A(C,Q,W,"â¬","\\nvdash",!0);A(C,Q,W,"â","\\nvDash",!0);A(C,Q,W,"âª","\\ntriangleleft");A(C,Q,W,"â¬","\\ntrianglelefteq",!0);A(C,Q,W,"â","\\subsetneq",!0);A(C,Q,W,"î","\\@varsubsetneq");A(C,Q,W,"â«","\\subsetneqq",!0);A(C,Q,W,"î","\\@varsubsetneqq");A(C,Q,W,"â¯","\\ngtr",!0);A(C,Q,W,"î","\\@ngeqslant");A(C,Q,W,"î","\\@ngeqq");A(C,Q,W,"âª","\\gneq",!0);A(C,Q,W,"â©","\\gneqq",!0);A(C,Q,W,"î","\\@gvertneqq");A(C,Q,W,"â§","\\gnsim",!0);A(C,Q,W,"âª","\\gnapprox",!0);A(C,Q,W,"â","\\nsucc",!0);A(C,Q,W,"â¡","\\nsucceq",!0);A(C,Q,W,"â©","\\succnsim",!0);A(C,Q,W,"⪺","\\succnapprox",!0);A(C,Q,W,"â","\\ncong",!0);A(C,Q,W,"î","\\@nshortparallel");A(C,Q,W,"â¦","\\nparallel",!0);A(C,Q,W,"â¯","\\nVDash",!0);A(C,Q,W,"â«","\\ntriangleright");A(C,Q,W,"â","\\ntrianglerighteq",!0);A(C,Q,W,"î","\\@nsupseteqq");A(C,Q,W,"â","\\supsetneq",!0);A(C,Q,W,"î","\\@varsupsetneq");A(C,Q,W,"â«","\\supsetneqq",!0);A(C,Q,W,"î","\\@varsupsetneqq");A(C,Q,W,"â®","\\nVdash",!0);A(C,Q,W,"⪵","\\precneqq",!0);A(C,Q,W,"⪶","\\succneqq",!0);
668A(C,Q,W,"î","\\@nsubseteqq");A(C,Q,Fe,"â´","\\unlhd");A(C,Q,Fe,"âµ","\\unrhd");A(C,Q,W,"â","\\nleftarrow",!0);A(C,Q,W,"â","\\nrightarrow",!0);A(C,Q,W,"â","\\nLeftarrow",!0);A(C,Q,W,"â","\\nRightarrow",!0);A(C,Q,W,"â®","\\nleftrightarrow",!0);A(C,Q,W,"â","\\nLeftrightarrow",!0);A(C,Q,W,"â³","\\vartriangle");A(C,Q,te,"â","\\hslash");A(C,Q,te,"â½","\\triangledown");A(C,Q,te,"â","\\lozenge");A(C,Q,te,"â","\\circledS");A(C,Q,te,"®","\\circledR");A(Ce,Q,te,"®","\\circledR");A(C,Q,te,"â¡","\\measuredangle",!0);A(C,Q,te,"â","\\nexists");A(C,Q,te,"â§","\\mho");A(C,Q,te,"â²","\\Finv",!0);A(C,Q,te,"â
","\\Game",!0);A(C,Q,te,"âµ","\\backprime");A(C,Q,te,"â²","\\blacktriangle");A(C,Q,te,"â¼","\\blacktriangledown");A(C,Q,te,"â ","\\blacksquare");A(C,Q,te,"â§«","\\blacklozenge");A(C,Q,te,"â
","\\bigstar");A(C,Q,te,"â¢","\\sphericalangle",!0);A(C,Q,te,"â","\\complement",!0);A(C,Q,te,"ð","\\eth",!0);A(Ce,I,te,"ð","ð");A(C,Q,te,"â±","\\diagup");A(C,Q,te,"â²","\\diagdown");A(C,Q,te,"â¡","\\square");A(C,Q,te,"â¡","\\Box");A(C,Q,te,"â","\\Diamond");A(C,Q,te,"Â¥","\\yen",!0);A(Ce,Q,te,"Â¥","\\yen",!0);A(C,Q,te,"â","\\checkmark",!0);A(Ce,Q,te,"â","\\checkmark");A(C,Q,te,"â¶","\\beth",!0);A(C,Q,te,"â¸","\\daleth",!0);A(C,Q,te,"â·","\\gimel",!0);A(C,Q,te,"Ï","\\digamma",!0);A(C,Q,te,"ϰ","\\varkappa");A(C,Q,ia,"â","\\@ulcorner",!0);A(C,Q,Ar,"â","\\@urcorner",!0);A(C,Q,ia,"â","\\@llcorner",!0);A(C,Q,Ar,"â","\\@lrcorner",!0);A(C,Q,W,"â¦","\\leqq",!0);A(C,Q,W,"⩽","\\leqslant",!0);A(C,Q,W,"âª","\\eqslantless",!0);A(C,Q,W,"â²","\\lesssim",!0);A(C,Q,W,"âª
","\\lessapprox",!0);A(C,Q,W,"â","\\approxeq",!0);A(C,Q,Fe,"â","\\lessdot");A(C,Q,W,"â","\\lll",!0);A(C,Q,W,"â¶","\\lessgtr",!0);A(C,Q,W,"â","\\lesseqgtr",!0);A(C,Q,W,"âª","\\lesseqqgtr",!0);A(C,Q,W,"â","\\doteqdot");A(C,Q,W,"â","\\risingdotseq",!0);A(C,Q,W,"â","\\fallingdotseq",!0);A(C,Q,W,"â½","\\backsim",!0);A(C,Q,W,"â","\\backsimeq",!0);A(C,Q,W,"â«
","\\subseteqq",!0);A(C,Q,W,"â","\\Subset",!0);A(C,Q,W,"â","\\sqsubset",!0);A(C,Q,W,"â¼","\\preccurlyeq",!0);A(C,Q,W,"â","\\curlyeqprec",!0);A(C,Q,W,"â¾","\\precsim",!0);A(C,Q,W,"⪷","\\precapprox",!0);A(C,Q,W,"â²","\\vartriangleleft");A(C,Q,W,"â´","\\trianglelefteq");A(C,Q,W,"â¨","\\vDash",!0);A(C,Q,W,"âª","\\Vvdash",!0);A(C,Q,W,"â£","\\smallsmile");A(C,Q,W,"â¢","\\smallfrown");A(C,Q,W,"â","\\bumpeq",!0);A(C,Q,W,"â","\\Bumpeq",!0);A(C,Q,W,"â§","\\geqq",!0);A(C,Q,W,"⩾","\\geqslant",!0);A(C,Q,W,"âª","\\eqslantgtr",!0);A(C,Q,W,"â³","\\gtrsim",!0);A(C,Q,W,"âª","\\gtrapprox",!0);A(C,Q,Fe,"â","\\gtrdot");A(C,Q,W,"â","\\ggg",!0);A(C,Q,W,"â·","\\gtrless",!0);A(C,Q,W,"â","\\gtreqless",!0);A(C,Q,W,"âª","\\gtreqqless",!0);A(C,Q,W,"â","\\eqcirc",!0);A(C,Q,W,"â","\\circeq",!0);A(C,Q,W,"â","\\triangleq",!0);A(C,Q,W,"â¼","\\thicksim");A(C,Q,W,"â","\\thickapprox");A(C,Q,W,"â«","\\supseteqq",!0);A(C,Q,W,"â","\\Supset",!0);A(C,Q,W,"â","\\sqsupset",!0);A(C,Q,W,"â½","\\succcurlyeq",!0);A(C,Q,W,"â","\\curlyeqsucc",!0);A(C,Q,W,"â¿","\\succsim",!0);A(C,Q,W,"⪸","\\succapprox",!0);A(C,Q,W,"â³","\\vartriangleright");A(C,Q,W,"âµ","\\trianglerighteq");A(C,Q,W,"â©","\\Vdash",!0);A(C,Q,W,"â£","\\shortmid");A(C,Q,W,"â¥","\\shortparallel");A(C,Q,W,"â¬","\\between",!0);A(C,Q,W,"â","\\pitchfork",!0);A(C,Q,W,"â","\\varpropto");A(C,Q,W,"â","\\blacktriangleleft");A(C,Q,W,"â´","\\therefore",!0);A(C,Q,W,"â","\\backepsilon");A(C,Q,W,"â¶","\\blacktriangleright");A(C,Q,W,"âµ","\\because",!0);A(C,Q,W,"â","\\llless");A(C,Q,W,"â","\\gggtr");A(C,Q,Fe,"â²","\\lhd");A(C,Q,Fe,"â³","\\rhd");A(C,Q,W,"â","\\eqsim",!0);A(C,I,W,"â","\\Join");A(C,Q,W,"â","\\Doteq",!0);A(C,Q,Fe,"â","\\dotplus",!0);A(C,Q,Fe,"â","\\smallsetminus");A(C,Q,Fe,"â","\\Cap",!0);A(C,Q,Fe,"â","\\Cup",!0);A(C,Q,Fe,"â©","\\doublebarwedge",!0);A(C,Q,Fe,"â","\\boxminus",!0);A(C,Q,Fe,"â","\\boxplus",!0);A(C,Q,Fe,"â","\\divideontimes",!0);A(C,Q,Fe,"â","\\ltimes",!0);A(C,Q,Fe,"â","\\rtimes",!0);A(C,Q,Fe,"â","\\leftthreetimes",!0);A(C,Q,Fe,"â","\\rightthreetimes",!0);A(C,Q,Fe,"â","\\curlywedge",!0);A(C,Q,Fe,"â","\\curlyvee",!0);A(C,Q,Fe,"â","\\circleddash",!0);A(C,Q,Fe,"â","\\circledast",!0);A(C,Q,Fe,"â
","\\centerdot");A(C,Q,Fe,"âº","\\intercal",!0);A(C,Q,Fe,"â","\\doublecap");A(C,Q,Fe,"â","\\doublecup");A(C,Q,Fe,"â ","\\boxtimes",!0);A(C,Q,W,"â¢","\\dashrightarrow",!0);A(C,Q,W,"â ","\\dashleftarrow",!0);A(C,Q,W,"â","\\leftleftarrows",!0);A(C,Q,W,"â","\\leftrightarrows",!0);A(C,Q,W,"â","\\Lleftarrow",!0);A(C,Q,W,"â","\\twoheadleftarrow",!0);A(C,Q,W,"â¢","\\leftarrowtail",!0);A(C,Q,W,"â«","\\looparrowleft",!0);A(C,Q,W,"â","\\leftrightharpoons",!0);A(C,Q,W,"â¶","\\curvearrowleft",!0);A(C,Q,W,"âº","\\circlearrowleft",!0);A(C,Q,W,"â°","\\Lsh",!0);A(C,Q,W,"â","\\upuparrows",!0);A(C,Q,W,"â¿","\\upharpoonleft",!0);A(C,Q,W,"â","\\downharpoonleft",!0);A(C,I,W,"â¶","\\origof",!0);A(C,I,W,"â·","\\imageof",!0);A(C,Q,W,"â¸","\\multimap",!0);A(C,Q,W,"â","\\leftrightsquigarrow",!0);A(C,Q,W,"â","\\rightrightarrows",!0);A(C,Q,W,"â","\\rightleftarrows",!0);A(C,Q,W,"â ","\\twoheadrightarrow",!0);A(C,Q,W,"â£","\\rightarrowtail",!0);A(C,Q,W,"â¬","\\looparrowright",!0);A(C,Q,W,"â·","\\curvearrowright",!0);A(C,Q,W,"â»","\\circlearrowright",!0);A(C,Q,W,"â±","\\Rsh",!0);A(C,Q,W,"â","\\downdownarrows",!0);A(C,Q,W,"â¾","\\upharpoonright",!0);A(C,Q,W,"â","\\downharpoonright",!0);A(C,Q,W,"â","\\rightsquigarrow",!0);A(C,Q,W,"â","\\leadsto");A(C,Q,W,"â","\\Rrightarrow",!0);A(C,Q,W,"â¾","\\restriction");A(C,I,te,"â","`");A(C,I,te,"$","\\$");A(Ce,I,te,"$","\\$");A(Ce,I,te,"$","\\textdollar");A(C,I,te,"%","\\%");A(Ce,I,te,"%","\\%");A(C,I,te,"_","\\_");A(Ce,I,te,"_","\\_");A(Ce,I,te,"_","\\textunderscore");A(C,I,te,"â ","\\angle",!0);A(C,I,te,"â","\\infty",!0);A(C,I,te,"â²","\\prime");A(C,I,te,"â³","\\triangle");A(C,I,te,"Î","\\Gamma",!0);A(C,I,te,"Î","\\Delta",!0);A(C,I,te,"Î","\\Theta",!0);A(C,I,te,"Î","\\Lambda",!0);A(C,I,te,"Î","\\Xi",!0);A(C,I,te,"Î ","\\Pi",!0);A(C,I,te,"Σ","\\Sigma",!0);A(C,I,te,"Î¥","\\Upsilon",!0);A(C,I,te,"Φ","\\Phi",!0);A(C,I,te,"Ψ","\\Psi",!0);A(C,I,te,"Ω","\\Omega",!0);A(C,I,te,"A","Î");A(C,I,te,"B","Î");A(C,I,te,"E","Î");A(C,I,te,"Z","Î");A(C,I,te,"H","Î");A(C,I,te,"I","Î");A(C,I,te,"K","Î");A(C,I,te,"M","Î");A(C,I,te,"N","Î");A(C,I,te,"O","Î");A(C,I,te,"P","Ρ");A(C,I,te,"T","Τ");A(C,I,te,"X","Χ");A(C,I,te,"¬","\\neg",!0);A(C,I,te,"¬","\\lnot");A(C,I,te,"â¤","\\top");A(C,I,te,"â¥","\\bot");A(C,I,te,"â
","\\emptyset");A(C,Q,te,"â
","\\varnothing");A(C,I,et,"α","\\alpha",!0);A(C,I,et,"β","\\beta",!0);A(C,I,et,"γ","\\gamma",!0);A(C,I,et,"δ","\\delta",!0);A(C,I,et,"ϵ","\\epsilon",!0);A(C,I,et,"ζ","\\zeta",!0);A(C,I,et,"η","\\eta",!0);A(C,I,et,"θ","\\theta",!0);A(C,I,et,"ι","\\iota",!0);A(C,I,et,"κ","\\kappa",!0);A(C,I,et,"λ","\\lambda",!0);A(C,I,et,"μ","\\mu",!0);A(C,I,et,"ν","\\nu",!0);A(C,I,et,"ξ","\\xi",!0);A(C,I,et,"ο","\\omicron",!0);A(C,I,et,"Ï","\\pi",!0);A(C,I,et,"Ï","\\rho",!0);A(C,I,et,"Ï","\\sigma",!0);A(C,I,et,"Ï","\\tau",!0);A(C,I,et,"Ï
","\\upsilon",!0);A(C,I,et,"Ï","\\phi",!0);A(C,I,et,"Ï","\\chi",!0);A(C,I,et,"Ï","\\psi",!0);A(C,I,et,"Ï","\\omega",!0);A(C,I,et,"ε","\\varepsilon",!0);A(C,I,et,"Ï","\\vartheta",!0);A(C,I,et,"Ï","\\varpi",!0);A(C,I,et,"ϱ","\\varrho",!0);A(C,I,et,"Ï","\\varsigma",!0);A(C,I,et,"Ï","\\varphi",!0);A(C,I,Fe,"â","*",!0);A(C,I,Fe,"+","+");A(C,I,Fe,"â","-",!0);A(C,I,Fe,"â
","\\cdot",!0);A(C,I,Fe,"â","\\circ",!0);A(C,I,Fe,"÷","\\div",!0);A(C,I,Fe,"±","\\pm",!0);A(C,I,Fe,"Ã","\\times",!0);A(C,I,Fe,"â©","\\cap",!0);A(C,I,Fe,"âª","\\cup",!0);A(C,I,Fe,"â","\\setminus",!0);A(C,I,Fe,"â§","\\land");A(C,I,Fe,"â¨","\\lor");A(C,I,Fe,"â§","\\wedge",!0);A(C,I,Fe,"â¨","\\vee",!0);A(C,I,te,"â","\\surd");A(C,I,ia,"â¨","\\langle",!0);A(C,I,ia,"â£","\\lvert");A(C,I,ia,"â¥","\\lVert");A(C,I,Ar,"?","?");A(C,I,Ar,"!","!");A(C,I,Ar,"â©","\\rangle",!0);A(C,I,Ar,"â£","\\rvert");A(C,I,Ar,"â¥","\\rVert");A(C,I,W,"=","=");A(C,I,W,":",":");A(C,I,W,"â","\\approx",!0);A(C,I,W,"â
","\\cong",!0);A(C,I,W,"â¥","\\ge");A(C,I,W,"â¥","\\geq",!0);A(C,I,W,"â","\\gets");A(C,I,W,">","\\gt",!0);A(C,I,W,"â","\\in",!0);A(C,I,W,"î ","\\@not");A(C,I,W,"â","\\subset",!0);A(C,I,W,"â","\\supset",!0);A(C,I,W,"â","\\subseteq",!0);A(C,I,W,"â","\\supseteq",!0);A(C,Q,W,"â","\\nsubseteq",!0);A(C,Q,W,"â","\\nsupseteq",!0);A(C,I,W,"â¨","\\models");A(C,I,W,"â","\\leftarrow",!0);A(C,I,W,"â¤","\\le");A(C,I,W,"â¤","\\leq",!0);A(C,I,W,"<","\\lt",!0);A(C,I,W,"â","\\rightarrow",!0);A(C,I,W,"â","\\to");A(C,Q,W,"â±","\\ngeq",!0);A(C,Q,W,"â°","\\nleq",!0);A(C,I,di," ","\\ ");A(C,I,di," ","\\space");A(C,I,di," ","\\nobreakspace");A(Ce,I,di," ","\\ ");A(Ce,I,di," "," ");A(Ce,I,di," ","\\space");A(Ce,I,di," ","\\nobreakspace");A(C,I,di,null,"\\nobreak");A(C,I,di,null,"\\allowbreak");A(C,I,cp,",",",");A(C,I,cp,";",";");A(C,Q,Fe,"â¼","\\barwedge",!0);A(C,Q,Fe,"â»","\\veebar",!0);A(C,I,Fe,"â","\\odot",!0);A(C,I,Fe,"â","\\oplus",!0);A(C,I,Fe,"â","\\otimes",!0);A(C,I,te,"â","\\partial",!0);A(C,I,Fe,"â","\\oslash",!0);A(C,Q,Fe,"â","\\circledcirc",!0);A(C,Q,Fe,"â¡","\\boxdot",!0);
vendor: 8,384 bytes, line 668
668A(C,I,Fe,"â³","\\bigtriangleup");A(C,I,Fe,"â½","\\bigtriangledown");A(C,I,Fe,"â ","\\dagger");A(C,I,Fe,"â","\\diamond");A(C,I,Fe,"â","\\star");A(C,I,Fe,"â","\\triangleleft");A(C,I,Fe,"â¹","\\triangleright");A(C,I,ia,"{","\\{");A(Ce,I,te,"{","\\{");A(Ce,I,te,"{","\\textbraceleft");A(C,I,Ar,"}","\\}");A(Ce,I,te,"}","\\}");A(Ce,I,te,"}","\\textbraceright");A(C,I,ia,"{","\\lbrace");A(C,I,Ar,"}","\\rbrace");A(C,I,ia,"[","\\lbrack",!0);A(Ce,I,te,"[","\\lbrack",!0);A(C,I,Ar,"]","\\rbrack",!0);A(Ce,I,te,"]","\\rbrack",!0);A(C,I,ia,"(","\\lparen",!0);A(C,I,Ar,")","\\rparen",!0);A(Ce,I,te,"<","\\textless",!0);A(Ce,I,te,">","\\textgreater",!0);A(C,I,ia,"â","\\lfloor",!0);A(C,I,Ar,"â","\\rfloor",!0);A(C,I,ia,"â","\\lceil",!0);A(C,I,Ar,"â","\\rceil",!0);A(C,I,te,"\\","\\backslash");A(C,I,te,"â£","|");A(C,I,te,"â£","\\vert");A(Ce,I,te,"|","\\textbar",!0);A(C,I,te,"â¥","\\|");A(C,I,te,"â¥","\\Vert");A(Ce,I,te,"â¥","\\textbardbl");A(Ce,I,te,"~","\\textasciitilde");A(Ce,I,te,"\\","\\textbackslash");A(Ce,I,te,"^","\\textasciicircum");A(C,I,W,"â","\\uparrow",!0);A(C,I,W,"â","\\Uparrow",!0);A(C,I,W,"â","\\downarrow",!0);A(C,I,W,"â","\\Downarrow",!0);A(C,I,W,"â","\\updownarrow",!0);A(C,I,W,"â","\\Updownarrow",!0);A(C,I,Dn,"â","\\coprod");A(C,I,Dn,"â","\\bigvee");A(C,I,Dn,"â","\\bigwedge");A(C,I,Dn,"â¨","\\biguplus");A(C,I,Dn,"â","\\bigcap");A(C,I,Dn,"â","\\bigcup");A(C,I,Dn,"â«","\\int");A(C,I,Dn,"â«","\\intop");A(C,I,Dn,"â¬","\\iint");A(C,I,Dn,"â","\\iiint");A(C,I,Dn,"â","\\prod");A(C,I,Dn,"â","\\sum");A(C,I,Dn,"â¨","\\bigotimes");A(C,I,Dn,"â¨","\\bigoplus");A(C,I,Dn,"â¨","\\bigodot");A(C,I,Dn,"â®","\\oint");A(C,I,Dn,"â¯","\\oiint");A(C,I,Dn,"â°","\\oiiint");A(C,I,Dn,"â¨","\\bigsqcup");A(C,I,Dn,"â«","\\smallint");A(Ce,I,Qc,"â¦","\\textellipsis");A(C,I,Qc,"â¦","\\mathellipsis");A(Ce,I,Qc,"â¦","\\ldots",!0);A(C,I,Qc,"â¦","\\ldots",!0);A(C,I,Qc,"â¯","\\@cdots",!0);A(C,I,Qc,"â±","\\ddots",!0);A(C,I,te,"â®","\\varvdots");A(Ce,I,te,"â®","\\varvdots");A(C,I,sn,"Ë","\\acute");A(C,I,sn,"Ë","\\grave");A(C,I,sn,"¨","\\ddot");A(C,I,sn,"~","\\tilde");A(C,I,sn,"Ë","\\bar");A(C,I,sn,"Ë","\\breve");A(C,I,sn,"Ë","\\check");A(C,I,sn,"^","\\hat");A(C,I,sn,"â","\\vec");A(C,I,sn,"Ë","\\dot");A(C,I,sn,"Ë","\\mathring");A(C,I,et,"î±","\\@imath");A(C,I,et,"î·","\\@jmath");A(C,I,te,"ı","ı");A(C,I,te,"È·","È·");A(Ce,I,te,"ı","\\i",!0);A(Ce,I,te,"È·","\\j",!0);A(Ce,I,te,"Ã","\\ss",!0);A(Ce,I,te,"æ","\\ae",!0);A(Ce,I,te,"Å","\\oe",!0);A(Ce,I,te,"ø","\\o",!0);A(Ce,I,te,"Ã","\\AE",!0);A(Ce,I,te,"Å","\\OE",!0);A(Ce,I,te,"Ã","\\O",!0);A(Ce,I,sn,"Ë","\\'");A(Ce,I,sn,"Ë","\\`");A(Ce,I,sn,"Ë","\\^");A(Ce,I,sn,"Ë","\\~");A(Ce,I,sn,"Ë","\\=");A(Ce,I,sn,"Ë","\\u");A(Ce,I,sn,"Ë","\\.");A(Ce,I,sn,"¸","\\c");A(Ce,I,sn,"Ë","\\r");A(Ce,I,sn,"Ë","\\v");A(Ce,I,sn,"¨",'\\"');A(Ce,I,sn,"Ë","\\H");A(Ce,I,sn,"â¯","\\textcircled");var sS={"--":!0,"---":!0,"``":!0,"''":!0};A(Ce,I,te,"â","--",!0);A(Ce,I,te,"â","\\textendash");A(Ce,I,te,"â","---",!0);A(Ce,I,te,"â","\\textemdash");A(Ce,I,te,"â","`",!0);A(Ce,I,te,"â","\\textquoteleft");A(Ce,I,te,"â","'",!0);A(Ce,I,te,"â","\\textquoteright");A(Ce,I,te,"â","``",!0);A(Ce,I,te,"â","\\textquotedblleft");A(Ce,I,te,"â","''",!0);A(Ce,I,te,"â","\\textquotedblright");A(C,I,te,"°","\\degree",!0);A(Ce,I,te,"°","\\degree");A(Ce,I,te,"°","\\textdegree",!0);A(C,I,te,"£","\\pounds");A(C,I,te,"£","\\mathsterling",!0);A(Ce,I,te,"£","\\pounds");A(Ce,I,te,"£","\\textsterling",!0);A(C,Q,te,"â ","\\maltese");A(Ce,Q,te,"â ","\\maltese");var EE='0123456789/@."';for(var Ux=0;Ux<EE.length;Ux++){var wE=EE.charAt(Ux);A(C,I,te,wE,wE)}var _E='0123456789!@*()-=+";:?/.,';for(var Fx=0;Fx<_E.length;Fx++){var TE=_E.charAt(Fx);A(Ce,I,te,TE,TE)}var am="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var qx=0;qx<am.length;qx++){var sh=am.charAt(qx);A(C,I,et,sh,sh),A(Ce,I,te,sh,sh)}A(C,Q,te,"C","â");A(Ce,Q,te,"C","â");A(C,Q,te,"H","â");A(Ce,Q,te,"H","â");A(C,Q,te,"N","â");A(Ce,Q,te,"N","â");A(C,Q,te,"P","â");A(Ce,Q,te,"P","â");A(C,Q,te,"Q","â");A(Ce,Q,te,"Q","â");A(C,Q,te,"R","â");A(Ce,Q,te,"R","â");A(C,Q,te,"Z","â¤");A(Ce,Q,te,"Z","â¤");A(C,I,et,"h","â");A(Ce,I,et,"h","â");var at="";for(var br=0;br<am.length;br++){var fn=am.charAt(br);at=String.fromCharCode(55349,56320+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56372+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56424+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56580+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56684+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56736+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56788+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56840+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56944+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),br<26&&(at=String.fromCharCode(55349,56632+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at),at=String.fromCharCode(55349,56476+br),A(C,I,et,fn,at),A(Ce,I,te,fn,at))}at="ð";A(C,I,et,"k",at);A(Ce,I,te,"k",at);for(var Bo=0;Bo<10;Bo++){var Fi=Bo.toString();at=String.fromCharCode(55349,57294+Bo),A(C,I,et,Fi,at),A(Ce,I,te,Fi,at),at=String.fromCharCode(55349,57314+Bo),A(C,I,et,Fi,at),A(Ce,I,te,Fi,at),at=String.fromCharCode(55349,57324+Bo),A(C,I,et,Fi,at),A(Ce,I,te,Fi,at),at=String.fromCharCode(55349,57334+Bo),A(C,I,et,Fi,at),A(Ce,I,te,Fi,at)}var m2="ÃÃþ";for(var $x=0;$x<m2.length;$x++){var ih=m2.charAt($x);A(C,I,et,ih,ih),A(Ce,I,te,ih,ih)}var oh=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],AE=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],fG=function(t,n){var r=t.charCodeAt(0),a=t.charCodeAt(1),s=(r-55296)*1024+(a-56320)+65536,o=n==="math"?0:1;if(119808<=s&&s<120484){var c=Math.floor((s-119808)/26);return[oh[c][2],oh[c][o]]}else if(120782<=s&&s<=120831){var u=Math.floor((s-120782)/10);return[AE[u][2],AE[u][o]]}else{if(s===120485||s===120486)return[oh[0][2],oh[0][o]];if(120486<s&&s<120782)return["",""];throw new Oe("Unsupported character: "+t)}},up=function(t,n,r){return Zt[r][t]&&Zt[r][t].replace&&(t=Zt[r][t].replace),{value:t,metrics:Zv(t,n,r)}},La=function(t,n,r,a,s){var o=up(t,n,r),c=o.metrics;t=o.value;var u;if(c){var f=c.italic;(r==="text"||a&&a.font==="mathit")&&(f=0),u=new ka(t,c.height,c.depth,f,c.skew,c.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),u=new ka(t,0,0,0,0,0,s);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var p=a.getColor();p&&(u.style.color=p)}return u},hG=function(t,n,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&up(t,"Main-Bold",n).metrics?La(t,"Main-Bold",n,r,a.concat(["mathbf"])):t==="\\"||Zt[n][t].font==="main"?La(t,"Main-Regular",n,r,a):La(t,"AMS-Regular",n,r,a.concat(["amsrm"]))},mG=function(t,n,r,a,s){return s!=="textord"&&up(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pG=function(t,n,r){var a=t.mode,s=t.text,o=["mord"],c=a==="math"||a==="text"&&n.font,u=c?n.font:n.fontFamily,f="",p="";if(s.charCodeAt(0)===55349&&([f,p]=fG(s,a)),f.length>0)return La(s,f,a,n,o.concat(p));if(u){var m,x;if(u==="boldsymbol"){var v=mG(s,a,n,o,r);m=v.fontName,x=[v.fontClass]}
vendor: 5,220 bytes, line 668
668else c?(m=lS[u].fontName,x=[u]):(m=lh(u,n.fontWeight,n.fontShape),x=[u,n.fontWeight,n.fontShape]);if(up(s,m,a).metrics)return La(s,m,a,n,o.concat(x));if(sS.hasOwnProperty(s)&&m.slice(0,10)==="Typewriter"){for(var E=[],_=0;_<s.length;_++)E.push(La(s[_],m,a,n,o.concat(x)));return oS(E)}}if(r==="mathord")return La(s,"Math-Italic",a,n,o.concat(["mathnormal"]));if(r==="textord"){var k=Zt[a][s]&&Zt[a][s].font;if(k==="ams"){var S=lh("amsrm",n.fontWeight,n.fontShape);return La(s,S,a,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(k==="main"||!k){var O=lh("textrm",n.fontWeight,n.fontShape);return La(s,O,a,n,o.concat(n.fontWeight,n.fontShape))}else{var R=lh(k,n.fontWeight,n.fontShape);return La(s,R,a,n,o.concat(R,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},gG=(e,t)=>{if(ao(e.classes)!==ao(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},xG=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof ka&&r instanceof ka&&gG(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},ey=function(t){for(var n=0,r=0,a=0,s=0;s<t.children.length;s++){var o=t.children[s];o.height>n&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=a},zr=function(t,n,r,a){var s=new p0(t,n,r,a);return ey(s),s},iS=(e,t,n,r)=>new p0(e,t,n,r),bG=function(t,n,r){var a=zr([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Be(a.height),a.maxFontSize=1,a},vG=function(t,n,r,a){var s=new Jv(t,n,r,a);return ey(s),s},oS=function(t){var n=new m0(t);return ey(n),n},yG=function(t,n){return t instanceof m0?zr([],[t],n):t},EG=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,s=a,o=1;o<n.length;o++){var c=-n[o].shift-s-n[o].elem.depth,u=c-(n[o-1].elem.height+n[o-1].elem.depth);s=s+c,r.push({type:"kern",size:u}),r.push(n[o])}return{children:r,depth:a}}var f;if(t.positionType==="top"){for(var p=t.positionData,m=0;m<t.children.length;m++){var x=t.children[m];p-=x.type==="kern"?x.size:x.elem.height+x.elem.depth}f=p}else if(t.positionType==="bottom")f=-t.positionData;else{var v=t.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-v.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-v.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},wG=function(t,n){for(var{children:r,depth:a}=EG(t),s=0,o=0;o<r.length;o++){var c=r[o];if(c.type==="elem"){var u=c.elem;s=Math.max(s,u.maxFontSize,u.height)}}s+=2;var f=zr(["pstrut"],[]);f.style.height=Be(s);for(var p=[],m=a,x=a,v=a,E=0;E<r.length;E++){var _=r[E];if(_.type==="kern")v+=_.size;else{var k=_.elem,S=_.wrapperClasses||[],O=_.wrapperStyle||{},R=zr(S,[f,k],void 0,O);R.style.top=Be(-s-v-k.depth),_.marginLeft&&(R.style.marginLeft=_.marginLeft),_.marginRight&&(R.style.marginRight=_.marginRight),p.push(R),v+=k.height+k.depth}m=Math.min(m,v),x=Math.max(x,v)}var q=zr(["vlist"],p);q.style.height=Be(x);var H;if(m<0){var L=zr([],[]),M=zr(["vlist"],[L]);M.style.height=Be(-m);var B=zr(["vlist-s"],[new ka("â")]);H=[zr(["vlist-r"],[q,B]),zr(["vlist-r"],[M])]}else H=[zr(["vlist-r"],[q])];var Z=zr(["vlist-t"],H);return H.length===2&&Z.classes.push("vlist-t2"),Z.height=x,Z.depth=-m,Z},_G=(e,t)=>{var n=zr(["mspace"],[],t),r=cn(e,t);return n.style.marginRight=Be(r),n},lh=function(t,n,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var s;return n==="textbf"&&r==="textit"?s="BoldItalic":n==="textbf"?s="Bold":n==="textit"?s="Italic":s="Regular",a+"-"+s},lS={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},cS={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},TG=function(t,n){var[r,a,s]=cS[t],o=new so(r),c=new si([o],{width:Be(a),height:Be(s),style:"width:"+Be(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),u=iS(["overlay"],[c],n);return u.height=s,u.style.height=Be(s),u.style.width=Be(a),u}
vendor: 15,303 bytes, line 668
668,de={fontMap:lS,makeSymbol:La,mathsym:hG,makeSpan:zr,makeSvgSpan:iS,makeLineSpan:bG,makeAnchor:vG,makeFragment:oS,wrapFragment:yG,makeVList:wG,makeOrd:pG,makeGlue:_G,staticSvg:TG,svgData:cS,tryCombineChars:xG},ln={number:3,unit:"mu"},zo={number:4,unit:"mu"},Ws={number:5,unit:"mu"},AG={mord:{mop:ln,mbin:zo,mrel:Ws,minner:ln},mop:{mord:ln,mop:ln,mrel:Ws,minner:ln},mbin:{mord:zo,mop:zo,mopen:zo,minner:zo},mrel:{mord:Ws,mop:Ws,mopen:Ws,minner:Ws},mopen:{},mclose:{mop:ln,mbin:zo,mrel:Ws,minner:ln},mpunct:{mord:ln,mop:ln,mrel:Ws,mopen:ln,mclose:ln,mpunct:ln,minner:ln},minner:{mord:ln,mop:ln,mbin:zo,mrel:Ws,mopen:ln,mpunct:ln,minner:ln}},SG={mord:{mop:ln},mop:{mord:ln,mop:ln},mbin:{},mrel:{},mopen:{},mclose:{mop:ln},mpunct:{},minner:{mop:ln}},uS={},sm={},im={};function ze(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:o}=e,c={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},u=0;u<n.length;++u)uS[n[u]]=c;t&&(s&&(sm[t]=s),o&&(im[t]=o))}function ml(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;ze({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var om=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},wn=function(t){return t.type==="ordgroup"?t.body:[t]},ii=de.makeSpan,CG=["leftmost","mbin","mopen","mrel","mop","mpunct"],kG=["rightmost","mrel","mclose","mpunct"],NG={display:tt.DISPLAY,text:tt.TEXT,script:tt.SCRIPT,scriptscript:tt.SCRIPTSCRIPT},RG={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},jn=function(t,n,r,a){a===void 0&&(a=[null,null]);for(var s=[],o=0;o<t.length;o++){var c=Ot(t[o],n);if(c instanceof m0){var u=c.children;s.push(...u)}else s.push(c)}if(de.tryCombineChars(s),!r)return s;var f=n;if(t.length===1){var p=t[0];p.type==="sizing"?f=n.havingSize(p.size):p.type==="styling"&&(f=n.havingStyle(NG[p.style]))}var m=ii([a[0]||"leftmost"],[],n),x=ii([a[1]||"rightmost"],[],n),v=r==="root";return SE(s,(E,_)=>{var k=_.classes[0],S=E.classes[0];k==="mbin"&&kG.includes(S)?_.classes[0]="mord":S==="mbin"&&CG.includes(k)&&(E.classes[0]="mord")},{node:m},x,v),SE(s,(E,_)=>{var k=p2(_),S=p2(E),O=k&&S?E.hasClass("mtight")?SG[k][S]:AG[k][S]:null;if(O)return de.makeGlue(O,f)},{node:m},x,v),s},SE=function e(t,n,r,a,s){a&&t.push(a);for(var o=0;o<t.length;o++){var c=t[o],u=dS(c);if(u){e(u.children,n,r,null,s);continue}var f=!c.hasClass("mspace");if(f){var p=n(c,r.node);p&&(r.insertAfter?r.insertAfter(p):(t.unshift(p),o++))}f?r.node=c:s&&c.hasClass("newline")&&(r.node=ii(["leftmost"])),r.insertAfter=(m=>x=>{t.splice(m+1,0,x),o++})(o)}a&&t.pop()},dS=function(t){return t instanceof m0||t instanceof Jv||t instanceof p0&&t.hasClass("enclosing")?t:null},OG=function e(t,n){var r=dS(t);if(r){var a=r.children;if(a.length){if(n==="right")return e(a[a.length-1],"right");if(n==="left")return e(a[0],"left")}}return t},p2=function(t,n){return t?(n&&(t=OG(t,n)),RG[t.classes[0]]||null):null},$d=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return ii(n.concat(r))},Ot=function(t,n,r){if(!t)return ii();if(sm[t.type]){var a=sm[t.type](t,n);if(r&&n.size!==r.size){a=ii(n.sizingClasses(r),[a],n);var s=n.sizeMultiplier/r.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new Oe("Got group of unknown type: '"+t.type+"'")};function ch(e,t){var n=ii(["base"],e,t),r=ii(["strut"]);return r.style.height=Be(n.height+n.depth),n.depth&&(r.style.verticalAlign=Be(-n.depth)),n.children.unshift(r),n}function g2(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=jn(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var s=[],o=[],c=0;c<r.length;c++)if(o.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){for(var u=!1;c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline");)c++,o.push(r[c]),r[c].hasClass("nobreak")&&(u=!0);u||(s.push(ch(o,t)),o=[])}else r[c].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(ch(o,t)),o=[]),s.push(r[c]));o.length>0&&s.push(ch(o,t));var f;n?(f=ch(jn(n,t,!0)),f.classes=["tag"],s.push(f)):a&&s.push(a);var p=ii(["katex-html"],s);if(p.setAttribute("aria-hidden","true"),f){var m=f.children[0];m.style.height=Be(p.height+p.depth),p.depth&&(m.style.verticalAlign=Be(-p.depth))}return p}function fS(e){return new m0(e)}class ta{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=ao(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof ms&&this.children[r+1]instanceof ms){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof ms;)a+=this.children[++r].toText();t.appendChild(new ms(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=Lt.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Lt.escape(ao(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ms{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Lt.escape(this.toText())}toText(){return this.text}}class DG{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="â":t>=.1666&&t<=.1667?this.character="â":t>=.2222&&t<=.2223?this.character="â
":t>=.2777&&t<=.2778?this.character="â
â":t>=-.05556&&t<=-.05555?this.character="ââ£":t>=-.1667&&t<=-.1666?this.character="ââ£":t>=-.2223&&t<=-.2222?this.character="ââ£":t>=-.2778&&t<=-.2777?this.character="â
â£":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Be(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Be(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Re={MathNode:ta,TextNode:ms,SpaceNode:DG,newDocumentFragment:fS},Na=function(t,n,r){return Zt[n][t]&&Zt[n][t].replace&&t.charCodeAt(0)!==55349&&!(sS.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Zt[n][t].replace),new Re.TextNode(t)},ty=function(t){return t.length===1?t[0]:new Re.MathNode("mrow",t)},ny=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var s=t.text;if(["\\imath","\\jmath"].includes(s))return null;Zt[a][s]&&Zt[a][s].replace&&(s=Zt[a][s].replace);var o=de.fontMap[r].fontName;return Zv(s,o,a)?de.fontMap[r].variant:null};function Vx(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ms&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof ms&&n.text===","}else return!1}var qr=function(t,n,r){if(t.length===1){var a=Wt(t[0],n);return r&&a instanceof ta&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],o,c=0;c<t.length;c++){var u=Wt(t[c],n);if(u instanceof ta&&o instanceof ta){if(u.type==="mtext"&&o.type==="mtext"&&u.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...u.children);continue}else if(u.type==="mn"&&o.type==="mn"){o.children.push(...u.children);continue}else if(Vx(u)&&o.type==="mn"){o.children.push(...u.children);continue}else if(u.type==="mn"&&Vx(o))u.children=[...o.children,...u.children],s.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(o.type==="mn"||Vx(o))){var f=u.children[0];f instanceof ta&&f.type==="mn"&&(f.children=[...o.children,...f.children],s.pop())}else if(o.type==="mi"&&o.children.length===1){var p=o.children[0];if(p instanceof ms&&p.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var m=u.children[0];m instanceof ms&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),s.pop())}}}s.push(u),o=u}return s},io=function(t,n,r){return ty(qr(t,n,r))},Wt=function(t,n){if(!t)return new Re.MathNode("mrow");if(im[t.type]){var r=im[t.type](t,n);return r}else throw new Oe("Got group of unknown type: '"+t.type+"'")};function CE(e,t,n,r,a){var s=qr(e,n),o;s.length===1&&s[0]instanceof ta&&["mrow","mtable"].includes(s[0].type)?o=s[0]:o=new Re.MathNode("mrow",s);var c=new Re.MathNode("annotation",[new Re.TextNode(t)]);c.setAttribute("encoding","application/x-tex");var u=new Re.MathNode("semantics",[o,c]),f=new Re.MathNode("math",[u]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&f.setAttribute("display","block");var p=a?"katex":"katex-mathml";return de.makeSpan([p],[f])}var hS=function(t){return new Zs({style:t.displayMode?tt.DISPLAY:tt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},mS=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=de.makeSpan(r,[t])}return t},IG=function(t,n,r){var a=hS(r),s;if(r.output==="mathml")return CE(t,n,a,r.displayMode,!0);if(r.output==="html"){var o=g2(t,a);s=de.makeSpan(["katex"],[o])}else{var c=CE(t,n,a,r.displayMode,!1),u=g2(t,a);s=de.makeSpan(["katex"],[c,u])}return mS(s,r)},MG=function(t,n,r){var a=hS(r),s=g2(t,a),o=de.makeSpan(["katex"],[s]);return mS(o,r)},PG={widehat:"^",widecheck:"Ë",widetilde:"~",utilde:"~",overleftarrow:"â",underleftarrow:"â",xleftarrow:"â",overrightarrow:"â",underrightarrow:"â",xrightarrow:"â",underbrace:"â",overbrace:"â",overgroup:"â ",undergroup:"â¡",overleftrightarrow:"â",underleftrightarrow:"â",xleftrightarrow:"â",Overrightarrow:"â",xRightarrow:"â",overleftharpoon:"â¼",xleftharpoonup:"â¼",overrightharpoon:"â",xrightharpoonup:"â",xLeftarrow:"â",xLeftrightarrow:"â",xhookleftarrow:"â©",xhookrightarrow:"âª",xmapsto:"â¦",xrightharpoondown:"â",xleftharpoondown:"â½",xrightleftharpoons:"â",xleftrightharpoons:"â",xtwoheadleftarrow:"â",xtwoheadrightarrow:"â ",xlongequal:"=",xtofrom:"â",xrightleftarrows:"â",xrightequilibrium:"â",xleftequilibrium:"â","\\cdrightarrow":"â","\\cdleftarrow":"â","\\cdlongequal":"="},LG=function(t){var n=new Re.MathNode("mo",[new Re.TextNode(PG[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},jG={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},BG=function(t){return t.type==="ordgroup"?t.body.length:1},zG=function(t,n){function r(){var c=4e5,u=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(u)){var f=t,p=BG(f.base),m,x,v;if(p>5)u==="widehat"||u==="widecheck"?(m=420,c=2364,v=.42,x=u+"4"):(m=312,c=2340,v=.34,x="tilde4");else{var E=[1,1,2,2,3,3][p];u==="widehat"||u==="widecheck"?(c=[0,1062,2364,2364,2364][E],m=[0,239,300,360,420][E],v=[0,.24,.3,.3,.36,.42][E],x=u+E):(c=[0,600,1033,2339,2340][E],m=[0,260,286,306,312][E],v=[0,.26,.286,.3,.306,.34][E],x="tilde"+E)}var _=new so(x),k=new si([_],{width:"100%",height:Be(v),viewBox:"0 0 "+c+" "+m,preserveAspectRatio:"none"});return{span:de.makeSvgSpan([],[k],n),minWidth:0,height:v}}else{var S=[],O=jG[u],[R,q,H]=O,L=H/1e3,M=R.length,B,Z;if(M===1){var Y=O[3];B=["hide-tail"],Z=[Y]}else if(M===2)B=["halfarrow-left","halfarrow-right"],Z=["xMinYMin","xMaxYMin"];else if(M===3)B=["brace-left","brace-center","brace-right"],Z=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to supp
668ort 669 `+M+" children.");for(var ae=0;ae<M;ae++){var ne=new so(R[ae]),he=new si([ne],{width:"400em",height:Be(L),viewBox:"0 0 "+c+" "+H,preserveAspectRatio:Z[ae]+" slice"}),ie=de.makeSvgSpan([B[ae]],[he],n);if(M===1)return{span:ie,minWidth:q,height:L};ie.style.height=Be(L),S.push(ie)}return{span:de.makeSpan(["stretchy"],S,n),minWidth:q,height:L}}}var{span:a,minWidth:s,height:o}=r();return a.height=o,a.style.height=Be(o),s>0&&(a.style.minWidth=Be(s)),a},HG=function(t,n,r,a,s){var o,c=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(o=de.makeSpan(["stretchy",n],[],s),n==="fbox"){var u=s.color&&s.getColor();u&&(o.style.borderColor=u)}}else{var f=[];/^[bx]cancel$/.test(n)&&f.push(new h2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&f.push(new h2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new si(f,{width:"100%",height:Be(c)});o=de.makeSvgSpan([],[p],s)}return o.height=c,o.style.height=Be(c),o},oi={encloseSpan:HG,mathMLnode:LG,svgSpan:zG};function gt(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function ry(e){var t=dp(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function dp(e){return e&&(e.type==="atom"||dG.hasOwnProperty(e.type))?e:null}var ay=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=gt(e.base,"accent"),n=r.base,e.base=n,a=cG(Ot(e,t)),e.base=r):(r=gt(e,"accent"),n=r.base);var s=Ot(n,t.havingCrampedStyle()),o=r.isShifty&&Lt.isCharacterBox(n),c=0;if(o){var u=Lt.getBaseElem(n),f=Ot(u,t.havingCrampedStyle());c=yE(f).skew}var p=r.label==="\\c",m=p?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),x;if(r.isStretchy)x=oi.svgSpan(r,t),x=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:x,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+Be(2*c)+")",marginLeft:Be(2*c)}:void 0}]},t);else{var v,E;r.label==="\\vec"?(v=de.staticSvg("vec",t),E=de.svgData.vec[1]):(v=de.makeOrd({mode:r.mode,text:r.label},t,"textord"),v=yE(v),v.italic=0,E=v.width,p&&(m+=v.depth)),x=de.makeSpan(["accent-body"],[v]);var _=r.label==="\\textcircled";_&&(x.classes.push("accent-full"),m=s.height);var k=c;_||(k-=E/2),x.style.left=Be(k),r.label==="\\textcircled"&&(x.style.top=".2em"),x=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:x}]},t)}var S=de.makeSpan(["mord","accent"],[x],t);return a?(a.children[0]=S,a.height=Math.max(S.height,a.height),a.classes[0]="mord",a):S},pS=(e,t)=>{var n=e.isStretchy?oi.mathMLnode(e.label):new Re.MathNode("mo",[Na(e.label,e.mode)]),r=new Re.MathNode("mover",[Wt(e.base,t),n]);return r.setAttribute("accent","true"),r},UG=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ze({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=om(t[0]),r=!UG.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},htmlBuilder:ay,mathmlBuilder:pS});ze({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:ay,mathmlBuilder:pS});ze({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},htmlBuilder:(e,t)=>{var n=Ot(e.base,t),r=oi.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,s=de.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return de.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=oi.mathMLnode(e.label),r=new Re.MathNode("munder",[Wt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var uh=e=>{var t=new Re.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ze({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=de.wrapFragment(Ot(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=de.wrapFragment(Ot(e.below,r,t),t),o.classes.push(s+"-arrow-pad"));var c=oi.svgSpan(e,t),u=-t.fontMetrics().axisHeight+.5*c.height,f=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var p;if(o){var m=-t.fontMetrics().axisHeight+o.height+.5*c.height+.111;p=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:u},{type:"elem",elem:o,shift:m}]},t)}else p=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:u}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),de.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=oi.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=uh(Wt(e.body,t));if(e.below){var s=uh(Wt(e.below,t));r=new Re.MathNode("munderover",[n,s,a])}else r=new Re.MathNode("mover",[n,a])}else if(e.below){var o=uh(Wt(e.below,t));r=new Re.MathNode("munder",[n,o])}else r=uh(),r=new Re.MathNode("mover",[n,r]);return r}});var FG=de.makeSpan;function gS(e,t){var n=jn(e.body,t,!0);return FG([e.mclass],n,t)}function xS(e,t){var n,r=qr(e.body,t);return e.mclass==="minner"?n=new Re.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Re.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Re.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ze({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:wn(a),isCharacterBox:Lt.isCharacterBox(a)}},htmlBuilder:gS,mathmlBuilder:xS});var fp=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ze({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:fp(t[0]),body:wn(t[1]),isCharacterBox:Lt.isCharacterBox(t[1])}}});ze({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],s=t[0],o;r!=="\\stackrel"?o=fp(a):o="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:wn(a)},u={type:"supsub",mode:s.mode,base:c,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:o,body:[u],isCharacterBox:Lt.isCharacterBox(u)}},htmlBuilder:gS,mathmlBuilder:xS});ze({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:fp(t[0]),body:wn(t[0])}},htmlBuilder(e,t){var n=jn(e.body,t,!0),r=de.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=qr(e.body,t),r=new Re.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var qG={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},kE=()=>({type:"styling",body:[],mode:"math",style:"display"}),NE=e=>e.type==="textord"&&e.text==="@",$G=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function VG(e,t,n){var r=qG[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[s],[]),c=n.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,o,c]};return n.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);
vendor: 4,123 bytes, line 669
669case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function GG(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Oe("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],s=0;s<t.length;s++){for(var o=t[s],c=kE(),u=0;u<o.length;u++)if(!NE(o[u]))c.body.push(o[u]);else{r.push(c),u+=1;var f=ry(o[u]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var m=0;m<2;m++){for(var x=!0,v=u+1;v<o.length;v++){if($G(o[v],f)){x=!1,u=v;break}if(NE(o[v]))throw new Oe("Missing a "+f+" character to complete a CD arrow.",o[v]);p[m].body.push(o[v])}if(x)throw new Oe("Missing a "+f+" character to complete a CD arrow.",o[u])}else throw new Oe('Expected one of "<>AV=|." after @',o[u]);var E=VG(f,p,e),_={type:"styling",body:[E],mode:"math",style:"display"};r.push(_),c=kE()}s%2===0?r.push(c):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var k=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:k,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ze({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=de.wrapFragment(Ot(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Be(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Re.MathNode("mrow",[Wt(e.label,t)]);return n=new Re.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Re.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ze({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=de.wrapFragment(Ot(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Re.MathNode("mrow",[Wt(e.fragment,t)])}});ze({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=gt(t[0],"ordgroup"),a=r.body,s="",o=0;o<a.length;o++){var c=gt(a[o],"textord");s+=c.text}var u=parseInt(s),f;if(isNaN(u))throw new Oe("\\@char has non-numeric argument "+s);if(u<0||u>=1114111)throw new Oe("\\@char with invalid code point "+s);return u<=65535?f=String.fromCharCode(u):(u-=65536,f=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:n.mode,text:f}}});var bS=(e,t)=>{var n=jn(e.body,t.withColor(e.color),!1);return de.makeFragment(n)},vS=(e,t)=>{var n=qr(e.body,t.withColor(e.color)),r=new Re.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ze({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=gt(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:wn(a)}},htmlBuilder:bS,mathmlBuilder:vS});ze({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=gt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:bS,mathmlBuilder:vS});ze({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTe
669X, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:a&>(a,"size").value}},htmlBuilder(e,t){var n=de.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Be(cn(e.size,t)))),n},mathmlBuilder(e,t){var n=new Re.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Be(cn(e.size,t)))),n}});var x2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},yS=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Oe("Expected a control sequence",e);return t},YG=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},ES=(e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)};ze({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(x2[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=x2[r.text]),gt(t.parseFunction(),"internal");throw new Oe("Invalid token after macro prefix",r)}});ze({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new Oe("Expected a control sequence",r);for(var s=0,o,c=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),c[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Oe('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==s+1)throw new Oe('Argument number "'+r.text+'" out of order');s++,c.push([])}else{if(r.text==="EOF")throw new Oe("Expected a macro definition");c[s].push(r.text)}var{tokens:u}=t.gullet.consumeArg();return o&&u.unshift(o),(n==="\\edef"||n==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:s,delimiters:c},n===x2[n]),{type:"internal",mode:t.mode}}});ze({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=yS(t.gullet.popToken());t.gullet.consumeSpaces();var a=YG(t);return ES(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ze({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=yS(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return ES(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var md=function(t,n,r){var a=Zt.math[t]&&Zt.math[t].replace,s=Zv(a||t,n,r);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},sy=function(t,n,r,a){var s=r.havingBaseStyle(n),o=de.makeSpan(a.concat(s.sizingClasses(r)),[t],r),c=s.sizeMultiplier/r.sizeMultiplier;return o.height*=c,o.depth*=c,o.maxFontSize=s.sizeMultiplier,o},wS=function(t,n,r){var a=n.havingBaseStyle(r),s=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Be(s),t.height-=s,t.depth+=s},QG=function(t,n,r,a,s,o){var c=de.makeSymbol(t,"Main-Regular",s,a),u=sy(c,n,a,o);return r&&wS(u,a,n),u},WG=function(t,n,r,a){return de.makeSymbol(t,"Size"+n+"-Regular",r,a)},_S=function(t,n,r,a,s,o){var c=WG(t,n,s,a),u=sy(de.makeSpan(["delimsizing","size"+n],[c],a),tt.TEXT,a,o);return r&&wS(u,a,tt.TEXT),u},Gx=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=de.makeSpan(["delimsizinginner",a],[de.makeSpan([],[de.makeSymbol(t,n,r)])]);return{type:"elem",elem:s}},Yx=function(t,n,r){var a=hs["Size4-Regular"][t.charCodeAt(0)]?hs["Size4-Regular"][t.charCodeAt(0)][4]:hs["Size1-Regular"][t.charCodeAt(0)][4],s=new so("inner",tG(t,Math.round(1e3*n))),o=new si([s],{width:Be(a),height:Be(n),style:"width:"+Be(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),c=de.makeSvgSpan([],[o],r);
vendor: 8,155 bytes, line 669
669return c.height=n,c.style.height=Be(n),c.style.width=Be(a),{type:"elem",elem:c}},b2=.008,dh={type:"kern",size:-1*b2},KG=["|","\\lvert","\\rvert","\\vert"],XG=["\\|","\\lVert","\\rVert","\\Vert"],TS=function(t,n,r,a,s,o){var c,u,f,p,m="",x=0;c=f=p=t,u=null;var v="Size1-Regular";t==="\\uparrow"?f=p="â":t==="\\Uparrow"?f=p="â":t==="\\downarrow"?c=f="â":t==="\\Downarrow"?c=f="â":t==="\\updownarrow"?(c="\\uparrow",f="â",p="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",f="â",p="\\Downarrow"):KG.includes(t)?(f="â£",m="vert",x=333):XG.includes(t)?(f="â¥",m="doublevert",x=556):t==="["||t==="\\lbrack"?(c="â¡",f="â¢",p="â£",v="Size4-Regular",m="lbrack",x=667):t==="]"||t==="\\rbrack"?(c="â¤",f="â¥",p="â¦",v="Size4-Regular",m="rbrack",x=667):t==="\\lfloor"||t==="â"?(f=c="â¢",p="â£",v="Size4-Regular",m="lfloor",x=667):t==="\\lceil"||t==="â"?(c="â¡",f=p="â¢",v="Size4-Regular",m="lceil",x=667):t==="\\rfloor"||t==="â"?(f=c="â¥",p="â¦",v="Size4-Regular",m="rfloor",x=667):t==="\\rceil"||t==="â"?(c="â¤",f=p="â¥",v="Size4-Regular",m="rceil",x=667):t==="("||t==="\\lparen"?(c="â",f="â",p="â",v="Size4-Regular",m="lparen",x=875):t===")"||t==="\\rparen"?(c="â",f="â",p="â ",v="Size4-Regular",m="rparen",x=875):t==="\\{"||t==="\\lbrace"?(c="â§",u="â¨",p="â©",f="âª",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="â«",u="â¬",p="â",f="âª",v="Size4-Regular"):t==="\\lgroup"||t==="â®"?(c="â§",p="â©",f="âª",v="Size4-Regular"):t==="\\rgroup"||t==="â¯"?(c="â«",p="â",f="âª",v="Size4-Regular"):t==="\\lmoustache"||t==="â°"?(c="â§",p="â",f="âª",v="Size4-Regular"):(t==="\\rmoustache"||t==="â±")&&(c="â«",p="â©",f="âª",v="Size4-Regular");var E=md(c,v,s),_=E.height+E.depth,k=md(f,v,s),S=k.height+k.depth,O=md(p,v,s),R=O.height+O.depth,q=0,H=1;if(u!==null){var L=md(u,v,s);q=L.height+L.depth,H=2}var M=_+R+q,B=Math.max(0,Math.ceil((n-M)/(H*S))),Z=M+B*H*S,Y=a.fontMetrics().axisHeight;r&&(Y*=a.sizeMultiplier);var ae=Z/2-Y,ne=[];if(m.length>0){var he=Z-_-R,ie=Math.round(Z*1e3),pe=nG(m,Math.round(he*1e3)),$=new so(m,pe),re=(x/1e3).toFixed(3)+"em",J=(ie/1e3).toFixed(3)+"em",ge=new si([$],{width:re,height:J,viewBox:"0 0 "+x+" "+ie}),U=de.makeSvgSpan([],[ge],a);U.height=ie/1e3,U.style.width=re,U.style.height=J,ne.push({type:"elem",elem:U})}else{if(ne.push(Gx(p,v,s)),ne.push(dh),u===null){var G=Z-_-R+2*b2;ne.push(Yx(f,G,a))}else{var oe=(Z-_-R-q)/2+2*b2;ne.push(Yx(f,oe,a)),ne.push(dh),ne.push(Gx(u,v,s)),ne.push(dh),ne.push(Yx(f,oe,a))}ne.push(dh),ne.push(Gx(c,v,s))}var D=a.havingBaseStyle(tt.TEXT),ce=de.makeVList({positionType:"bottom",positionData:ae,children:ne},D);return sy(de.makeSpan(["delimsizing","mult"],[ce],D),tt.TEXT,a,o)},Qx=80,Wx=.08,Kx=function(t,n,r,a,s){var o=eG(t,a,r),c=new so(t,o),u=new si([c],{width:"400em",height:Be(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return de.makeSvgSpan(["hide-tail"],[u],s)},ZG=function(t,n){var r=n.havingBaseSizing(),a=kS("\\surd",t*r.sizeMultiplier,CS,r),s=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),c,u=0,f=0,p=0,m;return a.type==="small"?(p=1e3+1e3*o+Qx,t<1?s=1:t<1.4&&(s=.7),u=(1+o+Wx)/s,f=(1+o)/s,c=Kx("sqrtMain",u,p,o,n),c.style.minWidth="0.853em",m=.833/s):a.type==="large"?(p=(1e3+Qx)*Sd[a.size],f=(Sd[a.size]+o)/s,u=(Sd[a.size]+o+Wx)/s,c=Kx("sqrtSize"+a.size,u,p,o,n),c.style.minWidth="1.02em",m=1/s):(u=t+o+Wx,f=t+o,p=Math.floor(1e3*t+o)+Qx,c=Kx("sqrtTall",u,p,o,n),c.style.minWidth="0.742em",m=1.056),c.height=f,c.style.height=Be(u),{span:c,advanceWidth:m,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*s}},AS=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","\\surd"],JG=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±"],SS=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sd=[0,1.2,1.8,2.4,3],eY=function(t,n,r,a,s){if(t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle"),AS.includes(t)||SS.includes(t))return _S(t,n,!1,r,a,s);if(JG.includes(t))return TS(t,Sd[n],!1,r,a,s);throw new Oe("Illegal delimiter: '"+t+"'")},tY=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],nY=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"stack"}],CS=[{type:"small",style:tt.SCRIPTSCRIPT},{type:"small",style:tt.SCRIPT},{type:"small",style:tt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rY=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},kS=function(t,n,r,a){for(var s=Math.min(2,3-a.style.size),o=s;o<r.length&&r[o].type!=="stack";o++){var c=md(t,rY(r[o]),"math"),u=c.height+c.depth;if(r[o].type==="small"){var f=a.havingBaseStyle(r[o].style);u*=f.sizeMultiplier}if(u>n)return r[o]}return r[r.length-1]},NS=function(t,n,r,a,s,o){t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle");var c;SS.includes(t)?c=tY:AS.includes(t)?c=CS:c=nY;var u=kS(t,n,c,a);return u.type==="small"?QG(t,u.style,r,a,s,o):u.type==="large"?_S(t,u.size,r,a,s,o):TS(t,n,r,a,s,o)},aY=function(t,n,r,a,s,o){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,f=5/a.fontMetrics().ptPerEm,p=Math.max(n-c,r+c),m=Math.max(p/500*u,2*p-f);return NS(t,m,!0,a,s,o)},ri={sqrtImage:ZG,sizedDelim:eY,sizeToMaxHeight:Sd,customSizedDelim:NS,leftRightDelim:aY},RE={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},sY=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","<",">","\\langle","â¨","\\rangle","â©","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function hp(e,t){var n=dp(e);if(n&&sY.includes(n.text))return n;throw n?new Oe("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Oe("Invalid delimiter type '"+e.type+"'",e)}ze({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=hp(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:RE[e.funcName].size,mclass:RE[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?de.makeSpan([e.mclass]):ri.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Na(e.delim,e.mode));var n=new Re.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Be(ri.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function OE(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ze({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");
vendor: 12,932 bytes, line 669
669if(n&&typeof n!="string")throw new Oe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:hp(t[0],e).text,color:n}}});ze({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=hp(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=gt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{OE(e);for(var n=jn(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,o=0;o<n.length;o++)n[o].isMiddle?s=!0:(r=Math.max(n[o].height,r),a=Math.max(n[o].depth,a));r*=t.sizeMultiplier,a*=t.sizeMultiplier;var c;if(e.left==="."?c=$d(t,["mopen"]):c=ri.leftRightDelim(e.left,r,a,t,e.mode,["mopen"]),n.unshift(c),s)for(var u=1;u<n.length;u++){var f=n[u],p=f.isMiddle;p&&(n[u]=ri.leftRightDelim(p.delim,r,a,p.options,e.mode,[]))}var m;if(e.right===".")m=$d(t,["mclose"]);else{var x=e.rightColor?t.withColor(e.rightColor):t;m=ri.leftRightDelim(e.right,r,a,x,e.mode,["mclose"])}return n.push(m),de.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{OE(e);var n=qr(e.body,t);if(e.left!=="."){var r=new Re.MathNode("mo",[Na(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new Re.MathNode("mo",[Na(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return ty(n)}});ze({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=hp(t[0],e);if(!e.parser.leftrightDepth)throw new Oe("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=$d(t,[]);else{n=ri.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Na("|","text"):Na(e.delim,e.mode),r=new Re.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var iy=(e,t)=>{var n=de.wrapFragment(Ot(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,s,o=0,c=Lt.isCharacterBox(e.body);if(r==="sout")s=de.makeSpan(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var u=cn({number:.6,unit:"pt"},t),f=cn({number:.35,unit:"ex"},t),p=t.havingBaseSizing();a=a/p.sizeMultiplier;var m=n.height+n.depth+u+f;n.style.paddingLeft=Be(m/2+u);var x=Math.floor(1e3*m*a),v=ZV(x),E=new si([new so("phase",v)],{width:"400em",height:Be(x/1e3),viewBox:"0 0 400000 "+x,preserveAspectRatio:"xMinYMin slice"});s=de.makeSvgSpan(["hide-tail"],[E],t),s.style.height=Be(m),o=n.depth+u+f}else{/cancel/.test(r)?c||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var _=0,k=0,S=0;/box/.test(r)?(S=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),_=t.fontMetrics().fboxsep+(r==="colorbox"?0:S),k=_):r==="angl"?(S=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),_=4*S,k=Math.max(0,.25-n.depth)):(_=c?.2:0,k=_),s=oi.encloseSpan(n,r,_,k,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=Be(S)):r==="angl"&&S!==.049&&(s.style.borderTopWidth=Be(S),s.style.borderRightWidth=Be(S)),o=n.depth+k,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var O;if(e.backgroundColor)O=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var R=/cancel|phase/.test(r)?["svg-align"]:[];O=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:R}]},t)}return/cancel/.test(r)&&(O.height=n.height,O.depth=n.depth),/cancel/.test(r)&&!c?de.makeSpan(["mord","cancel-lap"],[O],t):de.makeSpan(["mord"],[O],t)},oy=(e,t)=>{var n=0,r=new Re.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Wt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ze({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=gt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:s,body:o}},htmlBuilder:iy,mathmlBuilder:oy});ze({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=gt(t[0],"color-token").color,o=gt(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,borderColor:s,body:c}},htmlBuilder:iy,mathmlBuilder:oy});ze({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});ze({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:iy,mathmlBuilder:oy});ze({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var RS={};function Ts(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:o}=e,c={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<n.length;++u)RS[n[u]]=c;s&&(sm[t]=s),o&&(im[t]=o)}var OS={};function j(e,t){OS[e]=t}function DE(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var mp=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Oe("{"+e.envName+"} can be used only in display mode.")};function ly(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function mo(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:s,arraystretch:o,colSeparationType:c,autoTag:u,singleRow:f,emptySingleRow:p,maxNumCols:m,leqno:x}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)o=1;else if(o=parseFloat(v),!o||o<0)throw new Oe("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var E=[],_=[E],k=[],S=[],O=u!=null?[]:void 0;function R(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function q(){O&&(e.gullet.macros.get("\\df@tag")?(O.push(e.subparse([new ra("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):O.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),S.push(DE(e));;){var H=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),H={type:"ordgroup",mode:e.mode,body:H},n&&(H={type:"styling",mode:e.mode,style:n,body:[H]}),E.push(H);var L=e.fetch().text;if(L==="&"){if(m&&E.length===m){if(f||c)throw new Oe("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(L==="\\end"){q(),E.length===1&&H.type==="styling"&&H.body[0].body.length===0&&(_.length>1||!p)&&_.pop(),S.length<_.length+1&&S.push([]);break}else if(L==="\\\\"){e.consume();var M=void 0;e.gullet.future().text!==" "&&(M=e.parseSizeGroup(!0)),k.push(M?M.value:null),q(),S.push(DE(e)),E=[],_.push(E),R()}else throw new Oe("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:_,cols:s,rowGaps:k,hskipBeforeAndAfter:r,hLinesBeforeRow:S,colSeparationType:c,tags:O,leqno:x}}function cy(e){return e.slice(0,1)==="d"?"display":"text"}var As=function(t,n){var r,a,s=t.body.length,o=t.hLinesBeforeRow,c=0,u=new Array(s),f=[],p=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),m=1/n.fontMetrics().ptPerEm,x=5*m;if(t.colSeparationType&&t.colSeparationType==="small"){var v=n.havingStyle(tt.SCRIPT).sizeMultiplier;x=.2778*(v/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?cn({number:3,unit:"ex"},n):12*m,_=3*m,k=t.arraystretch*E,S=.7*k,O=.3*k,R=0;function q(oa){for(var gn=0;gn<oa.length;++gn)gn>0&&(R+=.25),f.push({pos:R,isDashed:oa[gn]})}for(q(o[0]),r=0;r<t.body.length;++r){var H=t.body[r],L=S,M=O;c<H.length&&(c=H.length);var B=new Array(H.length);for(a=0;a<H.length;++a){var Z=Ot(H[a],n);M<Z.depth&&(M=Z.depth),L<Z.height&&(L=Z.height),B[a]=Z}var Y=t.rowGaps[r],ae=0;Y&&(ae=cn(Y,n),ae>0&&(ae+=O,M<ae&&(M=ae),ae=0)),t.addJot&&(M+=_),B.height=L,B.depth=M,R+=L,B.pos=R,R+=M+ae,u[r]=B,q(o[r+1])}var ne=R/2+n.fontMetrics().axisHeight,he=t.cols||[],ie=[],pe,$,re=[];if(t.tags&&t.tags.some(oa=>oa))for(r=0;r<s;++r){var J=u[r],ge=J.pos-ne,U=t.tags[r],G=void 0;U===!0?G=de.makeSpan(["eqn-num"],[],n):U===!1?G=de.makeSpan([],[],n):G=de.makeSpan([],jn(U,n,!0),n),G.depth=J.depth,G.height=J.height,re.push({type:"elem",elem:G,shift:ge})}for(a=0,$=0;a<c||$<he.length;++a,++$){for(var oe=he[$]||{},D=!0;oe.type==="separator";){if(D||(pe=de.makeSpan(["arraycolsep"],[]),pe.style.width=Be(n.fontMetrics().doubleRuleSep),ie.push(pe)),oe.separator==="|"||oe.separator===":"){var ce=oe.separator==="|"?"solid":"dashed",we=de.makeSpan(["vertical-separator"],[],n);we.style.height=Be(R),we.style.borderRightWidth=Be(p),we.style.borderRightStyle=ce,we.style.margin="0 "+Be(-p/2);var Se=R-ne;Se&&(we.style.verticalAlign=Be(-Se)),ie.push(we)}else throw new Oe("Invalid separator type: "+oe.separator);$++,oe=he[$]||{},D=!1}if(!(a>=c)){var be=void 0;(a>0||t.hskipBeforeAndAfter)&&(be=Lt.deflt(oe.pregap,x),be!==0&&(pe=de.makeSpan(["arraycolsep"],[]),pe.style.width=Be(be),ie.push(pe)));var Pe=[];for(r=0;r<s;++r){var Ye=u[r],Xe=Ye[a];if(Xe){var it=Ye.pos-ne;Xe.depth=Ye.depth,Xe.height=Ye.height,Pe.push({type:"elem",elem:Xe,shift:it})}}Pe=de.makeVList({positionType:"individualShift",children:Pe},n),Pe=de.makeSpan(["col-align-"+(oe.align||"c")],[Pe]),ie.push(Pe),(a<c-1||t.hskipBeforeAndAfter)&&(be=Lt.deflt(oe.postgap,x),be!==0&&(pe=de.makeSpan(["arraycolsep"],[]),pe.style.width=Be(be),ie.push(pe)))}}if(u=de.makeSpan(["mtable"],ie),f.length>0){for(var xt=de.makeLineSpan("hline",n,p),pn=de.makeLineSpan("hdashline",n,p),Jt=[{type:"elem",elem:u,shift:0}];f.length>0;){var pr=f.pop(),rr=pr.pos-ne;pr.isDashed?Jt.push({type:"elem",elem:pn,shift:rr}):Jt.push({type:"elem",elem:xt,shift:rr})}u=de.makeVList({positionType:"individualShift",children:Jt},n)}if(re.length===0)return de.makeSpan(["mord"],[u],n);var zn=de.makeVList({positionType:"individualShift",children:re},n);return zn=de.makeSpan(["tag"],[zn],n),de.makeFragment([u,zn])},iY={c:"center ",l:"left ",r:"right "},Ss=function(t,n){for(var r=[],a=new Re.MathNode("mtd",[],["mtr-glue"]),s=new Re.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var c=t.body[o],u=[],f=0;f<c.length;f++)u.push(new Re.MathNode("mtd",[Wt(c[f],n)]));t.tags&&t.tags[o]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(s):u.push(s)),r.push(new Re.MathNode("mtr",u))}var p=new Re.MathNode("mtable",r),m=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Be(m));var x="",v="";if(t.cols&&t.cols.length>0){var E=t.cols,_="",k=!1,S=0,O=E.length;E[0].type==="separator"&&(x+="top ",S=1),E[E.length-1].type==="separator"&&(x+="bottom ",O-=1);for(var R=S;R<O;R++)E[R].type==="align"?(v+=iY[E[R].align],k&&(_+="none "),k=!0):E[R].type==="separator"&&k&&(_+=E[R].separator==="|"?"solid ":"dashed ",k=!1);p.setAttribute("columnalign",v.trim()),/[sd]/.test(_)&&p.setAttribute("columnlines",_.trim())}if(t.colSeparationType==="align"){for(var q=t.cols||[],H="",L=1;L<q.length;L++)H+=L%2?"0em ":"1em ";p.setAttribute("columnspacing",H.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?p.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?p.setAttribute("columnspacing","0.5em"):p.setAttribute("columnspacing","1em");
vendor: 5,710 bytes, line 669
669var M="",B=t.hLinesBeforeRow;x+=B[0].length>0?"left ":"",x+=B[B.length-1].length>0?"right ":"";for(var Z=1;Z<B.length-1;Z++)M+=B[Z].length===0?"none ":B[Z][0]?"dashed ":"solid ";return/[sd]/.test(M)&&p.setAttribute("rowlines",M.trim()),x!==""&&(p=new Re.MathNode("menclose",[p]),p.setAttribute("notation",x.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Re.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},DS=function(t,n){t.envName.indexOf("ed")===-1&&mp(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",s=t.envName==="split",o=mo(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:ly(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),c,u=0,f={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var p="",m=0;m<n[0].body.length;m++){var x=gt(n[0].body[m],"textord");p+=x.text}c=Number(p),u=c*2}var v=!u;o.body.forEach(function(S){for(var O=1;O<S.length;O+=2){var R=gt(S[O],"styling"),q=gt(R.body[0],"ordgroup");q.body.unshift(f)}if(v)u<S.length&&(u=S.length);else{var H=S.length/2;if(c<H)throw new Oe("Too many math in a row: "+("expected "+c+", but got "+H),S[0])}});for(var E=0;E<u;++E){var _="r",k=0;E%2===1?_="l":E>0&&v&&(k=1),r[E]={type:"align",align:_,pregap:k,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};Ts({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=dp(t[0]),r=n?[t[0]]:gt(t[0],"ordgroup").body,a=r.map(function(o){var c=ry(o),u=c.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new Oe("Unknown column alignment: "+u,o)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return mo(e.parser,s,cy(e.envName))},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,"lcr".indexOf(n)===-1)throw new Oe("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var s=mo(e.parser,r,cy(e.envName)),o=Math.max(0,...s.body.map(c=>c.length));return s.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=mo(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=dp(t[0]),r=n?[t[0]]:gt(t[0],"ordgroup").body,a=r.map(function(o){var c=ry(o),u=c.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new Oe("Unknown column alignment: "+u,o)});if(a.length>1)throw new Oe("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=mo(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new Oe("{subarray} can contain only one column");return s},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=mo(e.parser,t,cy(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:DS,htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&mp(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ly(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return mo(e.parser,t,"display")},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:DS,htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){mp(e);var t={autoTag:ly(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return mo(e.parser,t,"display")},htmlBuilder:As,mathmlBuilder:Ss});Ts({type:"array",names:["CD"],props:{numArgs:0},handler(e){return mp(e),GG(e.parser)},htmlBuilder:As,mathmlBuilder:Ss});j("\\nonumber","\\gdef\\@eqnsw{0}");j("\\notag","\\nonumber");ze({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Oe(e.funcName+" valid only within array environment")}});var IE=RS;ze({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new Oe("Invalid environment name",a);for(var s="",o=0;o<a.body.length;++o)s+=gt(a.body[o],"textord").text;if(r==="\\begin"){if(!IE.hasOwnProperty(s))throw new Oe("No such environment: "+s,a);var c=IE[s],{args:u,optArgs:f}=n.parseArguments("\\begin{"+s+"}",c),p={mode:n.mode,envName:s,parser:n},m=c.handler(p,u,f);n.expect("\\end",!1);var x=n.nextToken,v=gt(n.parseFunction(),"environment");
vendor: 11,444 bytes, line 669
669if(v.name!==s)throw new Oe("Mismatch: \\begin{"+s+"} matched by \\end{"+v.name+"}",x);return m}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var IS=(e,t)=>{var n=e.font,r=t.withFont(n);return Ot(e.body,r)},MS=(e,t)=>{var n=e.font,r=t.withFont(n);return Wt(e.body,r)},ME={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ze({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=om(t[0]),s=r;return s in ME&&(s=ME[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},htmlBuilder:IS,mathmlBuilder:MS});ze({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=Lt.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:fp(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});ze({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:s}=n,o=n.parseExpression(!0,a),c="math"+r.slice(1);return{type:"font",mode:s,font:c,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:IS,mathmlBuilder:MS});var PS=(e,t)=>{var n=t;return e==="display"?n=n.id>=tt.SCRIPT.id?n.text():tt.DISPLAY:e==="text"&&n.size===tt.DISPLAY.size?n=tt.TEXT:e==="script"?n=tt.SCRIPT:e==="scriptscript"&&(n=tt.SCRIPTSCRIPT),n},uy=(e,t)=>{var n=PS(e.size,t.style),r=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(r);var o=Ot(e.numer,s,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;o.height=o.height<c?c:o.height,o.depth=o.depth<u?u:o.depth}s=t.havingStyle(a);var f=Ot(e.denom,s,t),p,m,x;e.hasBarLine?(e.barSize?(m=cn(e.barSize,t),p=de.makeLineSpan("frac-line",t,m)):p=de.makeLineSpan("frac-line",t),m=p.height,x=p.height):(p=null,m=0,x=t.fontMetrics().defaultRuleThickness);var v,E,_;n.size===tt.DISPLAY.size||e.size==="display"?(v=t.fontMetrics().num1,m>0?E=3*x:E=7*x,_=t.fontMetrics().denom1):(m>0?(v=t.fontMetrics().num2,E=x):(v=t.fontMetrics().num3,E=3*x),_=t.fontMetrics().denom2);var k;if(p){var O=t.fontMetrics().axisHeight;v-o.depth-(O+.5*m)<E&&(v+=E-(v-o.depth-(O+.5*m))),O-.5*m-(f.height-_)<E&&(_+=E-(O-.5*m-(f.height-_)));var R=-(O-.5*m);k=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:_},{type:"elem",elem:p,shift:R},{type:"elem",elem:o,shift:-v}]},t)}else{var S=v-o.depth-(f.height-_);S<E&&(v+=.5*(E-S),_+=.5*(E-S)),k=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:_},{type:"elem",elem:o,shift:-v}]},t)}s=t.havingStyle(n),k.height*=s.sizeMultiplier/t.sizeMultiplier,k.depth*=s.sizeMultiplier/t.sizeMultiplier;var q;n.size===tt.DISPLAY.size?q=t.fontMetrics().delim1:n.size===tt.SCRIPTSCRIPT.size?q=t.havingStyle(tt.SCRIPT).fontMetrics().delim2:q=t.fontMetrics().delim2;var H,L;return e.leftDelim==null?H=$d(t,["mopen"]):H=ri.customSizedDelim(e.leftDelim,q,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?L=de.makeSpan([]):e.rightDelim==null?L=$d(t,["mclose"]):L=ri.customSizedDelim(e.rightDelim,q,!0,t.havingStyle(n),e.mode,["mclose"]),de.makeSpan(["mord"].concat(s.sizingClasses(t)),[H,de.makeSpan(["mfrac"],[k]),L],t)},dy=(e,t)=>{var n=new Re.MathNode("mfrac",[Wt(e.numer,t),Wt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=cn(e.barSize,t);n.setAttribute("linethickness",Be(r))}var a=PS(e.size,t.style);if(a.size!==t.style.size){n=new Re.MathNode("mstyle",[n]);var s=a.size===tt.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",s),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var c=new Re.MathNode("mo",[new Re.TextNode(e.leftDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}if(o.push(n),e.rightDelim!=null){var u=new Re.MathNode("mo",[new Re.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),o.push(u)}return ty(o)}return n};ze({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1],o,c=null,u=null,f="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,c="(",u=")";break;case"\\\\bracefrac":o=!1,c="\\{",u="\\}";break;case"\\\\brackfrac":o=!1,c="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:s,hasBarLine:o,leftDelim:c,rightDelim:u,size:f,barSize:null}},htmlBuilder:uy,mathmlBuilder:dy});ze({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ze({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var PE=["display","text","script","scriptscript"],LE=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ze({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],s=om(t[0]),o=s.type==="atom"&&s.family==="open"?LE(s.text):null,c=om(t[1]),u=c.type==="atom"&&c.family==="close"?LE(c.text):null,f=gt(t[2],"size"),p,m=null;f.isBlank?p=!0:(m=f.value,p=m.number>0);var x="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var E=gt(v.body[0],"textord");x=PE[Number(E.text)]}}else v=gt(v,"textord"),x=PE[Number(v.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:p,barSize:m,leftDelim:o,rightDelim:u,size:x}},htmlBuilder:uy,mathmlBuilder:dy});ze({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:gt(t[0],"size").value,token:a}}});ze({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=jV(gt(t[1],"infix").size),o=t[2],c=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:o,continued:!1,hasBarLine:c,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:uy,mathmlBuilder:dy});var LS=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?Ot(e.sup,t.havingStyle(n.sup()),t):Ot(e.sub,t.havingStyle(n.sub()),t),a=gt(e.base,"horizBrace")):a=gt(e,"horizBrace");var s=Ot(a.base,t.havingBaseStyle(tt.DISPLAY)),o=oi.svgSpan(a,t),c;if(a.isOver?(c=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=de.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),r){var u=de.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t);a.isOver?c=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:r}]},t):c=de.makeVList({positionType:"bottom",positionData:u.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return de.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t)},oY=(e,t)=>{var n=oi.mathMLnode(e.label);return new Re.MathNode(e.isOver?"mover":"munder",[Wt(e.base,t),n])};ze({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:LS,mathmlBuilder:oY});ze({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=gt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:wn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=jn(e.body,t,!1);return de.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=io(e.body,t);return n instanceof ta||(n=new ta("mrow",[n])),n.setAttribute("href",e.href),n}});ze({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=gt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<r.length;s++){var o=r[s];o==="~"&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var c={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:wn(c)}}});ze({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:wn(t[0])}},htmlBuilder(e,t){var n=jn(e.body,t,!1);return de.makeFragment(n)},mathmlBuilder(e,t){return new Re.MathNode("mrow",qr(e.body,t))}});ze({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:a}=e,s=gt(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c,u={};switch(r){case"\\htmlClass":u.class=s,c={command:"\\htmlClass",class:s};break;case"\\htmlId":u.id=s,c={command:"\\htmlId",id:s};break;case"\\htmlStyle":u.style=s,c={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var f=s.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length!==2)throw new Oe("Error parsing key-value for \\htmlData");u["data-"+m[0].trim()]=m[1].trim()}c={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(c)?{type:"html",mode:n.mode,attributes:u,body:wn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=jn(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=de.makeSpan(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},mathmlBuilder:(e,t)=>io(e.body,t)});ze({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:wn(t[0]),mathml:wn(t[1])}},htmlBuilder:(e,t)=>{var n=jn(e.html,t,!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>io(e.mathml,t)});var Xx=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Oe("Invalid size: '"+t+"' in \\includegraphics");
vendor: 9,247 bytes, line 669
669var r={number:+(n[1]+n[2]),unit:n[3]};if(!tS(r))throw new Oe("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ze({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},c="";if(n[0])for(var u=gt(n[0],"raw").string,f=u.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length===2){var x=m[1].trim();switch(m[0].trim()){case"alt":c=x;break;case"width":a=Xx(x);break;case"height":s=Xx(x);break;case"totalheight":o=Xx(x);break;default:throw new Oe("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var v=gt(t[0],"url").url;return c===""&&(c=v,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:r.mode,alt:c,width:a,height:s,totalheight:o,src:v}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=cn(e.height,t),r=0;e.totalheight.number>0&&(r=cn(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=cn(e.width,t));var s={height:Be(n+r)};a>0&&(s.width=Be(a)),r>0&&(s.verticalAlign=Be(-r));var o=new oG(e.src,e.alt,s);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Re.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=cn(e.height,t),a=0;if(e.totalheight.number>0&&(a=cn(e.totalheight,t)-r,n.setAttribute("valign",Be(-a))),n.setAttribute("height",Be(r+a)),e.width.number>0){var s=cn(e.width,t);n.setAttribute("width",Be(s))}return n.setAttribute("src",e.src),n}});ze({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=gt(t[0],"size");if(n.settings.strict){var s=r[1]==="m",o=a.value.unit==="mu";s?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return de.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=cn(e.dimension,t);return new Re.SpaceNode(n)}});ze({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=de.makeSpan([],[Ot(e.body,t)]),n=de.makeSpan(["inner"],[n],t)):n=de.makeSpan(["inner"],[Ot(e.body,t)]);var r=de.makeSpan(["fix"],[]),a=de.makeSpan([e.alignment],[n,r],t),s=de.makeSpan(["strut"]);return s.style.height=Be(a.height+a.depth),a.depth&&(s.style.verticalAlign=Be(-a.depth)),a.children.unshift(s),a=de.makeSpan(["thinbox"],[a],t),de.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new Re.MathNode("mpadded",[Wt(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});ze({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",o=r.parseExpression(!1,s);return r.expect(s),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:o}}});ze({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Oe("Mismatched "+e.funcName)}});var jE=(e,t)=>{switch(t.style.size){case tt.DISPLAY.size:return e.display;case tt.TEXT.size:return e.text;case tt.SCRIPT.size:return e.script;case tt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ze({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:wn(t[0]),text:wn(t[1]),script:wn(t[2]),scriptscript:wn(t[3])}},htmlBuilder:(e,t)=>{var n=jE(e,t),r=jn(n,t,!1);return de.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=jE(e,t);return io(n,t)}});var jS=(e,t,n,r,a,s,o)=>{e=de.makeSpan([],[e]);var c=n&&Lt.isCharacterBox(n),u,f;if(t){var p=Ot(t,r.havingStyle(a.sup()),r);f={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var m=Ot(n,r.havingStyle(a.sub()),r);u={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-m.height)}}var x;if(f&&u){var v=r.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+o;x=de.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Be(-s)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Be(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(u){var E=e.height-o;x=de.makeVList({positionType:"top",positionData:E,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Be(-s)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},r)}else if(f){var _=e.depth+o;x=de.makeVList({positionType:"bottom",positionData:_,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Be(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var k=[x];if(u&&s!==0&&!c){var S=de.makeSpan(["mspace"],[],r);S.style.marginRight=Be(s),k.unshift(S)}return de.makeSpan(["mop","op-limits"],k,r)},BS=["\\smallint"],Wc=(e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=gt(e.base,"op"),a=!0):s=gt(e,"op");var o=t.style,c=!1;o.size===tt.DISPLAY.size&&s.symbol&&!BS.includes(s.name)&&(c=!0);var u;if(s.symbol){var f=c?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),u=de.makeSymbol(s.name,f,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),p.length>0){var m=u.italic,x=de.staticSvg(p+"Size"+(c?"2":"1"),t);u=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:x,shift:c?.08:0}]},t),s.name="\\"+p,u.classes.unshift("mop"),u.italic=m}}else if(s.body){var v=jn(s.body,t,!0);v.length===1&&v[0]instanceof ka?(u=v[0],u.classes[0]="mop"):u=de.makeSpan(["mop"],v,t)}else{for(var E=[],_=1;_<s.name.length;_++)E.push(de.mathsym(s.name[_],s.mode,t));u=de.makeSpan(["mop"],E,t)}var k=0,S=0;return(u instanceof ka||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(k=(u.height-u.depth)/2-t.fontMetrics().axisHeight,S=u.italic),a?jS(u,n,r,t,o,S,k):(k&&(u.style.position="relative",u.style.top=Be(k)),u)},g0=(e,t)=>{var n;if(e.symbol)n=new ta("mo",[Na(e.name,e.mode)]),BS.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ta("mo",qr(e.body,t));else{n=new ta("mi",[new ms(e.name.slice(1))]);var r=new ta("mo",[Na("â¡","text")]);e.parentIsSupSub?n=new ta("mrow",[n,r]):n=fS([n,r])}return n},lY={"â":"\\prod","â":"\\coprod","â":"\\sum","â":"\\bigwedge","â":"\\bigvee","â":"\\bigcap","â":"\\bigcup","â¨":"\\bigodot","â¨":"\\bigoplus","â¨":"\\bigotimes","â¨":"\\biguplus","â¨":"\\bigsqcup"};ze({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","â","â","â","â","â","â","â","â¨","â¨","â¨","â¨","â¨"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=lY[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Wc,mathmlBuilder:g0});ze({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:wn(r)}},htmlBuilder:Wc,mathmlBuilder:g0});var cY={"â«":"\\int","â¬":"\\iint","â":"\\iiint","â®":"\\oint","â¯":"\\oiint","â°":"\\oiiint"};ze({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Wc,mathmlBuilder:g0});ze({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Wc,mathmlBuilder:g0});ze({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","â«","â¬","â","â®","â¯","â°"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=cY[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Wc,mathmlBuilder:g0});var zS=(e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=gt(e.base,"operatorname"),a=!0):s=gt(e,"operatorname");var o;if(s.body.length>0){for(var c=s.body.map(m=>{var x=m.text;
vendor: 9,031 bytes, line 669
669return typeof x=="string"?{type:"textord",mode:m.mode,text:x}:m}),u=jn(c,t.withFont("mathrm"),!0),f=0;f<u.length;f++){var p=u[f];p instanceof ka&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=de.makeSpan(["mop"],u,t)}else o=de.makeSpan(["mop"],[],t);return a?jS(o,n,r,t,t.style,0,0):o},uY=(e,t)=>{for(var n=qr(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof Re.SpaceNode))if(s instanceof Re.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=s.children[0];s.children.length===1&&o instanceof Re.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var c=n.map(p=>p.toText()).join("");n=[new Re.TextNode(c)]}var u=new Re.MathNode("mi",n);u.setAttribute("mathvariant","normal");var f=new Re.MathNode("mo",[Na("â¡","text")]);return e.parentIsSupSub?new Re.MathNode("mrow",[u,f]):Re.newDocumentFragment([u,f])};ze({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:wn(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:zS,mathmlBuilder:uY});j("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ml({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?de.makeFragment(jn(e.body,t,!1)):de.makeSpan(["mord"],jn(e.body,t,!0),t)},mathmlBuilder(e,t){return io(e.body,t,!0)}});ze({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Ot(e.body,t.havingCrampedStyle()),r=de.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return de.makeSpan(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new Re.MathNode("mo",[new Re.TextNode("â¾")]);n.setAttribute("stretchy","true");var r=new Re.MathNode("mover",[Wt(e.body,t),n]);return r.setAttribute("accent","true"),r}});ze({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:wn(r)}},htmlBuilder:(e,t)=>{var n=jn(e.body,t.withPhantom(),!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=qr(e.body,t);return new Re.MathNode("mphantom",n)}});ze({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=de.makeSpan([],[Ot(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),de.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=qr(wn(e.body),t),r=new Re.MathNode("mphantom",n),a=new Re.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});ze({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=de.makeSpan(["inner"],[Ot(e.body,t.withPhantom())]),r=de.makeSpan(["fix"],[]);return de.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=qr(wn(e.body),t),r=new Re.MathNode("mphantom",n),a=new Re.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});ze({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=gt(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=Ot(e.body,t),r=cn(e.dy,t);return de.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Re.MathNode("mpadded",[Wt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});ze({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ze({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],s=gt(t[0],"size"),o=gt(t[1],"size");return{type:"rule",mode:r.mode,shift:a&>(a,"size").value,width:s.value,height:o.value}},htmlBuilder(e,t){var n=de.makeSpan(["mord","rule"],[],t),r=cn(e.width,t),a=cn(e.height,t),s=e.shift?cn(e.shift,t):0;return n.style.borderRightWidth=Be(r),n.style.borderTopWidth=Be(a),n.style.bottom=Be(s),n.width=r,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=cn(e.width,t),r=cn(e.height,t),a=e.shift?cn(e.shift,t):0,s=t.color&&t.getColor()||"black",o=new Re.MathNode("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",Be(n)),o.setAttribute("height",Be(r));var c=new Re.MathNode("mpadded",[o]);return a>=0?c.setAttribute("height",Be(a)):(c.setAttribute("height",Be(a)),c.setAttribute("depth",Be(-a))),c.setAttribute("voffset",Be(a)),c}});function HS(e,t,n){for(var r=jn(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var o=r[s].classes.indexOf("sizing");o<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[o+1]==="reset-size"+t.size&&(r[s].classes[o+1]="reset-size"+n.size),r[s].height*=a,r[s].depth*=a}return de.makeFragment(r)}var BE=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],dY=(e,t)=>{var n=t.havingSize(e.size);return HS(e.body,n,t)};ze({type:"sizing",names:BE,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:BE.indexOf(r)+1,body:s}},htmlBuilder:dY,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=qr(e.body,n),a=new Re.MathNode("mstyle",r);return a.setAttribute("mathsize",Be(n.sizeMultiplier)),a}});ze({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,a=!1,s=!1,o=n[0]&>(n[0],"ordgroup");if(o)for(var c="",u=0;u<o.body.length;++u){var f=o.body[u];if(c=f.text,c==="t")a=!0;else if(c==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var p=t[0];return{type:"smash",mode:r.mode,body:p,smashHeight:a,smashDepth:s}},htmlBuilder:(e,t)=>{var n=de.makeSpan([],[Ot(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].depth=0;var s=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return de.makeSpan(["mord"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Re.MathNode("mpadded",[Wt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ze({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:a}},htmlBuilder(e,t){var n=Ot(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=de.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,s=a;t.style.id<tt.TEXT.id&&(s=t.fontMetrics().xHeight);var o=a+s/4,c=n.height+n.depth+o+a,{span:u,ruleWidth:f,advanceWidth:p}=ri.sqrtImage(c,t),m=u.height-f;m>n.height+n.depth+o&&(o=(o+m-n.height-n.depth)/2);var x=u.height-n.height-o-f;n.style.paddingLeft=Be(p);var v=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+x)},{type:"elem",elem:u},{type:"kern",size:f}]},t);if(e.index){var E=t.havingStyle(tt.SCRIPTSCRIPT),_=Ot(e.index,E,t),k=.6*(v.height-v.depth),S=de.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:_}]},t),O=de.makeSpan(["root"],[S]);return de.makeSpan(["mord","sqrt"],[O,v],t)}else return de.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Re.MathNode("mroot",[Wt(n,t),Wt(r,t)]):new Re.MathNode("msqrt",[Wt(n,t)])}});var zE={display:tt.DISPLAY,text:tt.TEXT,script:tt.SCRIPT,scriptscript:tt.SCRIPTSCRIPT};ze({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:o,body:s}},htmlBuilder(e,t){var n=zE[e.style],r=t.havingStyle(n).withFont("");return HS(e.body,r,t)},mathmlBuilder(e,t){var n=zE[e.style],r=t.havingStyle(n),a=qr(e.body,r),s=new Re.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}
vendor: 12,582 bytes, lines 669-673
669,c=o[e.style];return s.setAttribute("scriptlevel",c[0]),s.setAttribute("displaystyle",c[1]),s}});var fY=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===tt.DISPLAY.size||r.alwaysHandleSupSub);return a?Wc:null}else if(r.type==="operatorname"){var s=r.alwaysHandleSupSub&&(n.style.size===tt.DISPLAY.size||r.limits);return s?zS:null}else{if(r.type==="accent")return Lt.isCharacterBox(r.base)?ay:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?LS:null}else return null}else return null};ml({type:"supsub",htmlBuilder(e,t){var n=fY(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:s}=e,o=Ot(r,t),c,u,f=t.fontMetrics(),p=0,m=0,x=r&&Lt.isCharacterBox(r);if(a){var v=t.havingStyle(t.style.sup());c=Ot(a,v,t),x||(p=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(s){var E=t.havingStyle(t.style.sub());u=Ot(s,E,t),x||(m=o.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var _;t.style===tt.DISPLAY?_=f.sup1:t.style.cramped?_=f.sup3:_=f.sup2;var k=t.sizeMultiplier,S=Be(.5/f.ptPerEm/k),O=null;if(u){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ka||R)&&(O=Be(-o.italic))}var q;if(c&&u){p=Math.max(p,_,c.depth+.25*f.xHeight),m=Math.max(m,f.sub2);var H=f.defaultRuleThickness,L=4*H;if(p-c.depth-(u.height-m)<L){m=L-(p-c.depth)+u.height;var M=.8*f.xHeight-(p-c.depth);M>0&&(p+=M,m-=M)}var B=[{type:"elem",elem:u,shift:m,marginRight:S,marginLeft:O},{type:"elem",elem:c,shift:-p,marginRight:S}];q=de.makeVList({positionType:"individualShift",children:B},t)}else if(u){m=Math.max(m,f.sub1,u.height-.8*f.xHeight);var Z=[{type:"elem",elem:u,marginLeft:O,marginRight:S}];q=de.makeVList({positionType:"shift",positionData:m,children:Z},t)}else if(c)p=Math.max(p,_,c.depth+.25*f.xHeight),q=de.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:c,marginRight:S}]},t);else throw new Error("supsub must have either sup or sub.");var Y=p2(o,"right")||"mord";return de.makeSpan([Y],[o,de.makeSpan(["msupsub"],[q])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[Wt(e.base,t)];e.sub&&s.push(Wt(e.sub,t)),e.sup&&s.push(Wt(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===tt.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===tt.DISPLAY||f.limits)?o="munderover":o="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===tt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===tt.DISPLAY)?o="munder":o="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===tt.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===tt.DISPLAY)?o="mover":o="msup"}return new Re.MathNode(o,s)}});ml({type:"atom",htmlBuilder(e,t){return de.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Re.MathNode("mo",[Na(e.text,e.mode)]);if(e.family==="bin"){var r=ny(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var US={mi:"italic",mn:"normal",mtext:"normal"};ml({type:"mathord",htmlBuilder(e,t){return de.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Re.MathNode("mi",[Na(e.text,e.mode,t)]),r=ny(e,t)||"italic";return r!==US[n.type]&&n.setAttribute("mathvariant",r),n}});ml({type:"textord",htmlBuilder(e,t){return de.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=Na(e.text,e.mode,t),r=ny(e,t)||"normal",a;return e.mode==="text"?a=new Re.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new Re.MathNode("mn",[n]):e.text==="\\prime"?a=new Re.MathNode("mo",[n]):a=new Re.MathNode("mi",[n]),r!==US[a.type]&&a.setAttribute("mathvariant",r),a}});var Zx={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Jx={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ml({type:"spacing",htmlBuilder(e,t){if(Jx.hasOwnProperty(e.text)){var n=Jx[e.text].className||"";if(e.mode==="text"){var r=de.makeOrd(e,t,"textord");return r.classes.push(n),r}else return de.makeSpan(["mspace",n],[de.mathsym(e.text,e.mode,t)],t)}else{if(Zx.hasOwnProperty(e.text))return de.makeSpan(["mspace",Zx[e.text]],[],t);throw new Oe('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Jx.hasOwnProperty(e.text))n=new Re.MathNode("mtext",[new Re.TextNode(" ")]);else{if(Zx.hasOwnProperty(e.text))return new Re.MathNode("mspace");throw new Oe('Unknown type of space "'+e.text+'"')}return n}});var HE=()=>{var e=new Re.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ml({type:"tag",mathmlBuilder(e,t){var n=new Re.MathNode("mtable",[new Re.MathNode("mtr",[HE(),new Re.MathNode("mtd",[io(e.body,t)]),HE(),new Re.MathNode("mtd",[io(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var UE={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},FE={"\\textbf":"textbf","\\textmd":"textmd"},hY={"\\textit":"textit","\\textup":"textup"},qE=(e,t)=>{var n=e.font;if(n){if(UE[n])return t.withTextFontFamily(UE[n]);if(FE[n])return t.withTextFontWeight(FE[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(hY[n])};ze({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:wn(a),font:r}},htmlBuilder(e,t){var n=qE(e,t),r=jn(e.body,n,!0);return de.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=qE(e,t);return io(e.body,n)}});ze({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Ot(e.body,t),r=de.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=de.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]},t);return de.makeSpan(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new Re.MathNode("mo",[new Re.TextNode("â¾")]);n.setAttribute("stretchy","true");var r=new Re.MathNode("munder",[Wt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});ze({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Ot(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return de.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Re.MathNode("mpadded",[Wt(e.body,t)],["vcenter"])}});ze({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Oe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=$E(e),r=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var o=n[s];o==="~"&&(o="\\textasciitilde"),r.push(de.makeSymbol(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return de.makeSpan(["mord","text"].concat(a.sizingClasses(t)),de.tryCombineChars(r),a)},mathmlBuilder(e,t){var n=new Re.TextNode($E(e)),r=new Re.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var $E=e=>e.body.replace(/ /g,e.star?"â£":" "),Ki=uS,FS=`[ \r 670 ]`,mY="\\\\[a-zA-Z@]+",pY="\\\\[^\uD800-\uDFFF]",gY="("+mY+")"+FS+"*",xY=`\\\\( 671|[ \r ]+ 672?)[ \r ]*`,v2="[Ì-ͯ]",bY=new RegExp(v2+"+$"),vY="("+FS+"+)|"+(xY+"|")+"([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]"+(v2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(v2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+gY)+("|"+pY+")");class VE{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(vY,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new ra("EOF",new Ur(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Oe("Unexpected character: '"+t[n]+"'",new ra(t[n],new Ur(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(` 673`,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new ra(a,new Ur(this,n,this.tokenRegex.lastIndex))}}class yY{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Oe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var EY=OS;j("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});j("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});j("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});j("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});j("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});j("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");j("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var GE={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};j("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Oe("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=GE[t.text],r==null||r>=n)throw new Oe("Invalid base-"+n+" digit "+t.text);for(var a;(a=GE[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var fy=(e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new Oe("\\newcommand's first argument must be a macro name");var s=a[0].text,o=e.isDefined(s);if(o&&!t)throw new Oe("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!o&&!n)throw new Oe("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var c=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)u+=f.text,f=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new Oe("Invalid number of arguments: "+u);c=parseInt(u),a=e.consumeArg().tokens}return o&&r||e.macros.set(s,{tokens:a,numArgs:c}),""};j("\\newcommand",e=>fy(e,!1,!0,!1));j("\\renewcommand",e=>fy(e,!0,!1,!1));j("\\providecommand",e=>fy(e,!0,!0,!0));j("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});j("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});j("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ki[n],Zt.math[n],Zt.text[n]),""});j("\\bgroup","{");j("\\egroup","}");
vendor: 6,450 bytes, line 673
673j("~","\\nobreakspace");j("\\lq","`");j("\\rq","'");j("\\aa","\\r a");j("\\AA","\\r A");j("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");j("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");j("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");j("â¬","\\mathscr{B}");j("â°","\\mathscr{E}");j("â±","\\mathscr{F}");j("â","\\mathscr{H}");j("â","\\mathscr{I}");j("â","\\mathscr{L}");j("â³","\\mathscr{M}");j("â","\\mathscr{R}");j("â","\\mathfrak{C}");j("â","\\mathfrak{H}");j("â¨","\\mathfrak{Z}");j("\\Bbbk","\\Bbb{k}");j("·","\\cdotp");j("\\llap","\\mathllap{\\textrm{#1}}");j("\\rlap","\\mathrlap{\\textrm{#1}}");j("\\clap","\\mathclap{\\textrm{#1}}");j("\\mathstrut","\\vphantom{(}");j("\\underbar","\\underline{\\text{#1}}");j("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');j("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}");j("\\ne","\\neq");j("â ","\\neq");j("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}");j("â","\\notin");j("â","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}");j("â","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}");j("â","\\perp");j("â¼","\\mathclose{!\\mkern-0.8mu!}");j("â","\\notni");j("â","\\ulcorner");j("â","\\urcorner");j("â","\\llcorner");j("â","\\lrcorner");j("©","\\copyright");j("®","\\textregistered");j("ï¸","\\textregistered");j("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');j("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');j("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');j("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');j("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");j("â®","\\vdots");j("\\varGamma","\\mathit{\\Gamma}");j("\\varDelta","\\mathit{\\Delta}");j("\\varTheta","\\mathit{\\Theta}");j("\\varLambda","\\mathit{\\Lambda}");j("\\varXi","\\mathit{\\Xi}");j("\\varPi","\\mathit{\\Pi}");j("\\varSigma","\\mathit{\\Sigma}");j("\\varUpsilon","\\mathit{\\Upsilon}");j("\\varPhi","\\mathit{\\Phi}");j("\\varPsi","\\mathit{\\Psi}");j("\\varOmega","\\mathit{\\Omega}");j("\\substack","\\begin{subarray}{c}#1\\end{subarray}");j("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");j("\\boxed","\\fbox{$\\displaystyle{#1}$}");j("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");j("\\implies","\\DOTSB\\;\\Longrightarrow\\;");j("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");j("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");j("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var YE={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};j("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in YE?t=YE[n]:(n.slice(0,4)==="\\not"||n in Zt.math&&["bin","rel"].includes(Zt.math[n].group))&&(t="\\dotsb"),t});var hy={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};j("\\dotso",function(e){var t=e.future().text;return t in hy?"\\ldots\\,":"\\ldots"});j("\\dotsc",function(e){var t=e.future().text;return t in hy&&t!==","?"\\ldots\\,":"\\ldots"});j("\\cdots",function(e){var t=e.future().text;return t in hy?"\\@cdots\\,":"\\@cdots"});j("\\dotsb","\\cdots");j("\\dotsm","\\cdots");j("\\dotsi","\\!\\cdots");j("\\dotsx","\\ldots\\,");j("\\DOTSI","\\relax");j("\\DOTSB","\\relax");j("\\DOTSX","\\relax");j("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");j("\\,","\\tmspace+{3mu}{.1667em}");j("\\thinspace","\\,");j("\\>","\\mskip{4mu}");j("\\:","\\tmspace+{4mu}{.2222em}");j("\\medspace","\\:");j("\\;","\\tmspace+{5mu}{.2777em}");j("\\thickspace","\\;");j("\\!","\\tmspace-{3mu}{.1667em}");j("\\negthinspace","\\!");j("\\negmedspace","\\tmspace-{4mu}{.2222em}");j("\\negthickspace","\\tmspace-{5mu}{.277em}");j("\\enspace","\\kern.5em ");j("\\enskip","\\hskip.5em\\relax");j("\\quad","\\hskip1em\\relax");j("\\qquad","\\hskip2em\\relax");j("\\tag","\\@ifstar\\tag@literal\\tag@paren");j("\\tag@paren","\\tag@literal{({#1})}");j("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Oe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});j("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");j("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");j("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");j("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");j("\\newline","\\\\\\relax");j("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var qS=Be(hs["Main-Regular"][84][1]-.7*hs["Main-Regular"][65][1]);j("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+qS+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
673j("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+qS+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");j("\\hspace","\\@ifstar\\@hspacer\\@hspace");j("\\@hspace","\\hskip #1\\relax");j("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");j("\\ordinarycolon",":");j("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");j("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');j("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');j("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');j("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');j("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');j("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');j("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');j("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');j("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');j("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');j("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');j("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');j("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');j("â·","\\dblcolon");j("â¹","\\eqcolon");j("â","\\coloneqq");j("â","\\eqqcolon");j("â©´","\\Coloneqq");j("\\ratio","\\vcentcolon");j("\\coloncolon","\\dblcolon");j("\\colonequals","\\coloneqq");j("\\coloncolonequals","\\Coloneqq");j("\\equalscolon","\\eqqcolon");j("\\equalscoloncolon","\\Eqqcolon");j("\\colonminus","\\coloneq");j("\\coloncolonminus","\\Coloneq");j("\\minuscolon","\\eqcolon");j("\\minuscoloncolon","\\Eqcolon");j("\\coloncolonapprox","\\Colonapprox");j("\\coloncolonsim","\\Colonsim");j("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}");j("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");j("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");j("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");j("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");j("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");j("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");j("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");j("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");j("\\gvertneqq","\\html@mathml{\\@gvertneqq}{â©}");j("\\lvertneqq","\\html@mathml{\\@lvertneqq}{â¨}");j("\\ngeqq","\\html@mathml{\\@ngeqq}{â±}");j("\\ngeqslant","\\html@mathml{\\@ngeqslant}{â±}");j("\\nleqq","\\html@mathml{\\@nleqq}{â°}");j("\\nleqslant","\\html@mathml{\\@nleqslant}{â°}");j("\\nshortmid","\\html@mathml{\\@nshortmid}{â¤}");j("\\nshortparallel","\\html@mathml{\\@nshortparallel}{â¦}");j("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{â}");j("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{â}");j("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{â}");j("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{â«}");j("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{â}");j("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{â«}");j("\\imath","\\html@mathml{\\@imath}{ı}");j("\\jmath","\\html@mathml{\\@jmath}{È·}");j("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}");j("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}");j("â¦","\\llbracket");j("â§","\\rrbracket");j("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
673{\\mathopen{\\char`â¦}}");j("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}");j("â¦","\\lBrace");j("â¦","\\rBrace");j("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");j("⦵","\\minuso");j("\\darr","\\downarrow");j("\\dArr","\\Downarrow");j("\\Darr","\\Downarrow");j("\\lang","\\langle");j("\\rang","\\rangle");j("\\uarr","\\uparrow");j("\\uArr","\\Uparrow");j("\\Uarr","\\Uparrow");j("\\N","\\mathbb{N}");j("\\R","\\mathbb{R}");j("\\Z","\\mathbb{Z}");j("\\alef","\\aleph");j("\\alefsym","\\aleph");j("\\Alpha","\\mathrm{A}");j("\\Beta","\\mathrm{B}");j("\\bull","\\bullet");j("\\Chi","\\mathrm{X}");j("\\clubs","\\clubsuit");j("\\cnums","\\mathbb{C}");j("\\Complex","\\mathbb{C}");j("\\Dagger","\\ddagger");j("\\diamonds","\\diamondsuit");j("\\empty","\\emptyset");j("\\Epsilon","\\mathrm{E}");j("\\Eta","\\mathrm{H}");j("\\exist","\\exists");j("\\harr","\\leftrightarrow");j("\\hArr","\\Leftrightarrow");j("\\Harr","\\Leftrightarrow");j("\\hearts","\\heartsuit");j("\\image","\\Im");j("\\infin","\\infty");j("\\Iota","\\mathrm{I}");j("\\isin","\\in");j("\\Kappa","\\mathrm{K}");j("\\larr","\\leftarrow");j("\\lArr","\\Leftarrow");j("\\Larr","\\Leftarrow");j("\\lrarr","\\leftrightarrow");j("\\lrArr","\\Leftrightarrow");j("\\Lrarr","\\Leftrightarrow");j("\\Mu","\\mathrm{M}");j("\\natnums","\\mathbb{N}");j("\\Nu","\\mathrm{N}");j("\\Omicron","\\mathrm{O}");j("\\plusmn","\\pm");j("\\rarr","\\rightarrow");j("\\rArr","\\Rightarrow");j("\\Rarr","\\Rightarrow");j("\\real","\\Re");j("\\reals","\\mathbb{R}");j("\\Reals","\\mathbb{R}");j("\\Rho","\\mathrm{P}");j("\\sdot","\\cdot");j("\\sect","\\S");j("\\spades","\\spadesuit");j("\\sub","\\subset");j("\\sube","\\subseteq");j("\\supe","\\supseteq");j("\\Tau","\\mathrm{T}");j("\\thetasym","\\vartheta");j("\\weierp","\\wp");j("\\Zeta","\\mathrm{Z}");j("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");j("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");j("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");j("\\bra","\\mathinner{\\langle{#1}|}");j("\\ket","\\mathinner{|{#1}\\rangle}");j("\\braket","\\mathinner{\\langle{#1}\\rangle}");j("\\Bra","\\left\\langle#1\\right|");j("\\Ket","\\left|#1\\right\\rangle");var $S=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,o=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var u=m=>x=>{e&&(x.macros.set("|",o),a.length&&x.macros.set("\\|",c));var v=m;if(!m&&a.length){var E=x.future();E.text==="|"&&(x.popToken(),v=!0)}return{tokens:v?a:r,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var f=t.consumeArg().tokens,p=t.expandTokens([...s,...f,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};j("\\bra@ket",$S(!1));j("\\bra@set",$S(!0));j("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");j("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");j("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");j("\\angln","{\\angl n}");j("\\blue","\\textcolor{##6495ed}{#1}");j("\\orange","\\textcolor{##ffa500}{#1}");j("\\pink","\\textcolor{##ff00af}{#1}");j("\\red","\\textcolor{##df0030}{#1}");j("\\green","\\textcolor{##28ae7b}{#1}");j("\\gray","\\textcolor{gray}{#1}");j("\\purple","\\textcolor{##9d38bd}{#1}");j("\\blueA","\\textcolor{##ccfaff}{#1}");j("\\blueB","\\textcolor{##80f6ff}{#1}");j("\\blueC","\\textcolor{##63d9ea}{#1}");j("\\blueD","\\textcolor{##11accd}{#1}");j("\\blueE","\\textcolor{##0c7f99}{#1}");j("\\tealA","\\textcolor{##94fff5}{#1}");j("\\tealB","\\textcolor{##26edd5}{#1}");j("\\tealC","\\textcolor{##01d1c1}{#1}");j("\\tealD","\\textcolor{##01a995}{#1}");j("\\tealE","\\textcolor{##208170}{#1}");j("\\greenA","\\textcolor{##b6ffb0}{#1}");j("\\greenB","\\textcolor{##8af281}{#1}");j("\\greenC","\\textcolor{##74cf70}{#1}");j("\\greenD","\\textcolor{##1fab54}{#1}");j("\\greenE","\\textcolor{##0d923f}{#1}");j("\\goldA","\\textcolor{##ffd0a9}{#1}");j("\\goldB","\\textcolor{##ffbb71}{#1}");j("\\goldC","\\textcolor{##ff9c39}{#1}");j("\\goldD","\\textcolor{##e07d10}{#1}");j("\\goldE","\\textcolor{##a75a05}{#1}");j("\\redA","\\textcolor{##fca9a9}{#1}");j("\\redB","\\textcolor{##ff8482}{#1}");j("\\redC","\\textcolor{##f9685d}{#1}");j("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,555 bytes, line 673
673j("\\redE","\\textcolor{##bc2612}{#1}");j("\\maroonA","\\textcolor{##ffbde0}{#1}");j("\\maroonB","\\textcolor{##ff92c6}{#1}");j("\\maroonC","\\textcolor{##ed5fa6}{#1}");j("\\maroonD","\\textcolor{##ca337c}{#1}");j("\\maroonE","\\textcolor{##9e034e}{#1}");j("\\purpleA","\\textcolor{##ddd7ff}{#1}");j("\\purpleB","\\textcolor{##c6b9fc}{#1}");j("\\purpleC","\\textcolor{##aa87ff}{#1}");j("\\purpleD","\\textcolor{##7854ab}{#1}");j("\\purpleE","\\textcolor{##543b78}{#1}");j("\\mintA","\\textcolor{##f5f9e8}{#1}");j("\\mintB","\\textcolor{##edf2df}{#1}");j("\\mintC","\\textcolor{##e0e5cc}{#1}");j("\\grayA","\\textcolor{##f6f7f7}{#1}");j("\\grayB","\\textcolor{##f0f1f2}{#1}");j("\\grayC","\\textcolor{##e3e5e6}{#1}");j("\\grayD","\\textcolor{##d6d8da}{#1}");j("\\grayE","\\textcolor{##babec2}{#1}");j("\\grayF","\\textcolor{##888d93}{#1}");j("\\grayG","\\textcolor{##626569}{#1}");j("\\grayH","\\textcolor{##3b3e40}{#1}");j("\\grayI","\\textcolor{##21242c}{#1}");j("\\kaBlue","\\textcolor{##314453}{#1}");j("\\kaGreen","\\textcolor{##71B307}{#1}");var VS={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class wY{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new yY(EY,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new VE(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new ra("EOF",r.loc)),this.pushTokens(a),new ra("",Ur.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),s,o=0,c=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++o;else if(s.text==="}"){if(--o,o===-1)throw new Oe("Extra }",s)}else if(s.text==="EOF")throw new Oe("Unexpected end of input in a macro argument, expected '"+(t&&r?t[c]:"}")+"'",s);if(t&&r)if((o===0||o===1&&t[c]==="{")&&s.text===t[c]){if(++c,c===t.length){n.splice(-c,c);break}}else c=0}while(o!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Oe("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var s=this.popToken();if(r[a]!==s.text)throw new Oe("Use of the macro doesn't match its definition",s)}}for(var o=[],c=0;c<t;c++)o.push(this.consumeArg(n&&n[c+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Oe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new Oe("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var c=s.length-1;c>=0;--c){var u=s[c];if(u.text==="#"){if(c===0)throw new Oe("Incomplete placeholder at end of macro body",u);if(u=s[--c],u.text==="#")s.splice(c+1,1);else if(/^[1-9]$/.test(u.text))s.splice(c,2,...o[+u.text-1]);else throw new Oe("Not a valid argument number",u)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new ra(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];
vendor: 5,115 bytes, line 673
673if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.indexOf("#")!==-1)for(var o=a.replace(/##/g,"");o.indexOf("#"+(s+1))!==-1;)++s;for(var c=new VE(a,this.settings),u=[],f=c.lex();f.text!=="EOF";)u.push(f),f=c.lex();u.reverse();var p={tokens:u,numArgs:s};return p}return a}isDefined(t){return this.macros.has(t)||Ki.hasOwnProperty(t)||Zt.math.hasOwnProperty(t)||Zt.text.hasOwnProperty(t)||VS.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ki.hasOwnProperty(t)&&!Ki[t].primitive}}var QE=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,fh=Object.freeze({"â":"+","â":"-","â":"=","â":"(","â":")","â":"0","â":"1","â":"2","â":"3","â":"4","â
":"5","â":"6","â":"7","â":"8","â":"9","â":"a","â":"e","â":"h","áµ¢":"i","â±¼":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","áµ£":"r","â":"s","â":"t","ᵤ":"u","áµ¥":"v","â":"x","ᵦ":"β","áµ§":"γ","ᵨ":"Ï","ᵩ":"Ï","ᵪ":"Ï","âº":"+","â»":"-","â¼":"=","â½":"(","â¾":")","â°":"0","¹":"1","²":"2","³":"3","â´":"4","âµ":"5","â¶":"6","â·":"7","â¸":"8","â¹":"9","á´¬":"A","á´®":"B","á´°":"D","á´±":"E","á´³":"G","á´´":"H","á´µ":"I","á´¶":"J","á´·":"K","á´¸":"L","á´¹":"M","á´º":"N","á´¼":"O","á´¾":"P","á´¿":"R","áµ":"T","áµ":"U","â±½":"V","áµ":"W","áµ":"a","áµ":"b","á¶":"c","áµ":"d","áµ":"e","á¶ ":"f","áµ":"g",ʰ:"h","â±":"i",ʲ:"j","áµ":"k",Ë¡:"l","áµ":"m",â¿:"n","áµ":"o","áµ":"p",ʳ:"r",Ë¢:"s","áµ":"t","áµ":"u","áµ":"v",Ê·:"w",Ë£:"x",ʸ:"y","á¶»":"z","áµ":"β","áµ":"γ","áµ":"δ","áµ ":"Ï","ᵡ":"Ï","á¶¿":"θ"}),eb={"Ì":{text:"\\'",math:"\\acute"},"Ì":{text:"\\`",math:"\\grave"},"Ì":{text:'\\"',math:"\\ddot"},"Ì":{text:"\\~",math:"\\tilde"},"Ì":{text:"\\=",math:"\\bar"},"Ì":{text:"\\u",math:"\\breve"},"Ì":{text:"\\v",math:"\\check"},"Ì":{text:"\\^",math:"\\hat"},"Ì":{text:"\\.",math:"\\dot"},"Ì":{text:"\\r",math:"\\mathring"},"Ì":{text:"\\H"},"̧":{text:"\\c"}},WE={á:"aÌ",à :"aÌ",ä:"aÌ",Ç:"aÌÌ",ã:"aÌ",Ä:"aÌ",Ä:"aÌ",ắ:"aÌÌ",ằ:"aÌÌ",ẵ:"aÌÌ",Ç:"aÌ",â:"aÌ",ấ:"aÌÌ",ầ:"aÌÌ",ẫ:"aÌÌ",ȧ:"aÌ",Ç¡:"aÌÌ",Ã¥:"aÌ",Ç»:"aÌÌ",á¸:"bÌ",Ä:"cÌ",á¸:"çÌ",Ä:"cÌ",Ä:"cÌ",Ä:"cÌ",ç:"ç",Ä:"dÌ",á¸:"dÌ",á¸:"ḑ",é:"eÌ",è:"eÌ",ë:"eÌ",ẽ:"eÌ",Ä:"eÌ",á¸:"eÌÌ",á¸:"eÌÌ",Ä:"eÌ",á¸:"ȩÌ",Ä:"eÌ",ê:"eÌ",ế:"eÌÌ",á»:"eÌÌ",á»
:"eÌÌ",Ä:"eÌ",È©:"ȩ",á¸:"fÌ",ǵ:"gÌ",ḡ:"gÌ",Ä:"gÌ",ǧ:"gÌ",Ä:"gÌ",Ä¡:"gÌ",Ä£:"ģ",ḧ:"hÌ",È:"hÌ",Ä¥:"hÌ",ḣ:"hÌ",ḩ:"ḩ",Ã:"iÌ",ì:"iÌ",ï:"iÌ",ḯ:"iÌÌ",Ä©:"iÌ",Ä«:"iÌ",Ä:"iÌ",Ç:"iÌ",î:"iÌ",ǰ:"jÌ",ĵ:"jÌ",ḱ:"kÌ",Ç©:"kÌ",Ä·:"ķ",ĺ:"lÌ",ľ:"lÌ",ļ:"ļ",ḿ:"mÌ",á¹:"mÌ",Å:"nÌ",ǹ:"nÌ",ñ:"nÌ",Å:"nÌ",á¹
:"nÌ",Å:"ņ",ó:"oÌ",ò:"oÌ",ö:"oÌ",È«:"oÌÌ",õ:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",È:"oÌÌ",Å:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",Å:"oÌ",Ç:"oÌ",ô:"oÌ",á»:"oÌÌ",á»:"oÌÌ",á»:"oÌÌ",ȯ:"oÌ",ȱ:"oÌÌ",Å:"oÌ",á¹:"pÌ",á¹:"pÌ",Å:"rÌ",Å:"rÌ",á¹:"rÌ",Å:"ŗ",Å:"sÌ",á¹¥:"sÌÌ",Å¡:"sÌ",á¹§:"sÌÌ",Å:"sÌ",ṡ:"sÌ",Å:"ş",áº:"tÌ",Å¥:"tÌ",ṫ:"tÌ",Å£:"ţ",ú:"uÌ",ù:"uÌ",ü:"uÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Å©:"uÌ",á¹¹:"uÌÌ",Å«:"uÌ",á¹»:"uÌÌ",Å:"uÌ",Ç:"uÌ",û:"uÌ",ů:"uÌ",ű:"uÌ",á¹½:"vÌ",áº:"wÌ",áº:"wÌ",áº
:"wÌ",ŵ:"wÌ",áº:"wÌ",áº:"wÌ",áº:"xÌ",áº:"xÌ",ý:"yÌ",ỳ:"yÌ",ÿ:"yÌ",ỹ:"yÌ",ȳ:"yÌ",Å·:"yÌ",áº:"yÌ",áº:"yÌ",ź:"zÌ",ž:"zÌ",áº:"zÌ",ż:"zÌ",Ã:"AÌ",Ã:"AÌ",Ã:"AÌ",Ç:"AÌÌ",Ã:"AÌ",Ä:"AÌ",Ä:"AÌ",Ắ:"AÌÌ",Ằ:"AÌÌ",Ẵ:"AÌÌ",Ç:"AÌ",Ã:"AÌ",Ấ:"AÌÌ",Ầ:"AÌÌ",Ẫ:"AÌÌ",Ȧ:"AÌ",Ç :"AÌÌ",Ã
:"AÌ",Ǻ:"AÌÌ",á¸:"BÌ",Ä:"CÌ",á¸:"ÇÌ",Ä:"CÌ",Ä:"CÌ",Ä:"CÌ",Ã:"Ç",Ä:"DÌ",á¸:"DÌ",á¸:"Ḑ",Ã:"EÌ",Ã:"EÌ",Ã:"EÌ",Ẽ:"EÌ",Ä:"EÌ",á¸:"EÌÌ",á¸:"EÌÌ",Ä:"EÌ",á¸:"ȨÌ",Ä:"EÌ",Ã:"EÌ",Ế:"EÌÌ",á»:"EÌÌ",á»:"EÌÌ",Ä:"EÌ",Ȩ:"Ȩ",á¸:"FÌ",Ç´:"GÌ",Ḡ:"GÌ",Ä:"GÌ",Ǧ:"GÌ",Ä:"GÌ",Ä :"GÌ",Ä¢:"Ģ",Ḧ:"HÌ",È:"HÌ",Ĥ:"HÌ",Ḣ:"HÌ",Ḩ:"Ḩ",Ã:"IÌ",Ã:"IÌ",Ã:"IÌ",Ḯ:"IÌÌ",Ĩ:"IÌ",Ī:"IÌ",Ĭ:"IÌ",Ç:"IÌ",Ã:"IÌ",İ:"IÌ",Ä´:"JÌ",Ḱ:"KÌ",Ǩ:"KÌ",Ķ:"Ķ",Ĺ:"LÌ",Ľ:"LÌ",Ä»:"Ļ",Ḿ:"MÌ",á¹:"MÌ",Å:"NÌ",Ǹ:"NÌ",Ã:"NÌ",Å:"NÌ",á¹:"NÌ",Å
:"Ņ",Ã:"OÌ",Ã:"OÌ",Ã:"OÌ",Ȫ:"OÌÌ",Ã:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Ȭ:"OÌÌ",Å:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Å:"OÌ",Ç:"OÌ",Ã:"OÌ",á»:"OÌÌ",á»:"OÌÌ",á»:"OÌÌ",È®:"OÌ",Ȱ:"OÌÌ",Å:"OÌ",á¹:"PÌ",á¹:"PÌ",Å:"RÌ",Å:"RÌ",á¹:"RÌ",Å:"Ŗ",Å:"SÌ",Ṥ:"SÌÌ",Å :"SÌ",Ṧ:"SÌÌ",Å:"SÌ",á¹ :"SÌ",Å:"Ş",Ť:"TÌ",Ṫ:"TÌ",Å¢:"Ţ",Ã:"UÌ",Ã:"UÌ",Ã:"UÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ũ:"UÌ",Ṹ:"UÌÌ",Ū:"UÌ",Ṻ:"UÌÌ",Ŭ:"UÌ",Ç:"UÌ",Ã:"UÌ",Å®:"UÌ",Ű:"UÌ",á¹¼:"VÌ",áº:"WÌ",áº:"WÌ",áº:"WÌ",Å´:"WÌ",áº:"WÌ",áº:"XÌ",áº:"XÌ",Ã:"YÌ",Ỳ:"YÌ",Ÿ:"YÌ",Ỹ:"YÌ",Ȳ
vendor: 16,763 bytes, lines 673-675
673:"YÌ",Ŷ:"YÌ",áº:"YÌ",Ź:"ZÌ",Ž:"ZÌ",áº:"ZÌ",Å»:"ZÌ",ά:"αÌ",á½°:"αÌ",á¾±:"αÌ",á¾°:"αÌ",Î:"εÌ",á½²:"εÌ",ή:"ηÌ",á½´:"ηÌ",ί:"ιÌ",á½¶:"ιÌ",Ï:"ιÌ",Î:"ιÌÌ",á¿:"ιÌÌ",á¿:"ιÌ",á¿:"ιÌ",Ï:"οÌ",ὸ:"οÌ",Ï:"Ï Ì",ὺ:"Ï Ì",Ï:"Ï Ì",ΰ:"Ï ÌÌ",á¿¢:"Ï ÌÌ",á¿¡:"Ï Ì",á¿ :"Ï Ì",Ï:"ÏÌ",á½¼:"ÏÌ",Î:"Î¥Ì",Ὺ:"Î¥Ì",Ϋ:"Î¥Ì",á¿©:"Î¥Ì",Ῠ:"Î¥Ì",Î:"ΩÌ",Ὼ:"ΩÌ"};let GS=class YS{constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new wY(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Oe("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new ra("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(YS.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&Ki[a.text]&&Ki[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a<t.length;a++)if(t[a].type==="infix"){if(n!==-1)throw new Oe("only one infix operator per group",t[a].token);n=a,r=t[a].replaceWith}if(n!==-1&&r){var s,o,c=t.slice(0,n),u=t.slice(n+1);c.length===1&&c[0].type==="ordgroup"?s=c[0]:s={type:"ordgroup",mode:this.mode,body:c},u.length===1&&u[0].type==="ordgroup"?o=u[0]:o={type:"ordgroup",mode:this.mode,body:u};var f;return r==="\\\\abovefrac"?f=this.callFunction(r,[s,t[n],o],[]):f=this.callFunction(r,[s,o],[]),[f]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new Oe("Expected group after '"+r+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var o=s.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new Oe("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new Oe("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new Oe("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new Oe("Double superscript",s);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];for(this.consume();this.fetch().text==="'";)u.push(c),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:u}}else if(fh[s.text]){var f=QE.test(s.text),p=[];for(p.push(new ra(fh[s.text])),this.consume();;){var m=this.fetch().text;if(!fh[m]||QE.test(m)!==f)break;p.unshift(new ra(fh[m])),this.consume()}var x=this.subparse(p);f?a={type:"ordgroup",mode:"math",body:x}:r={type:"ordgroup",mode:"math",body:x}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,s=Ki[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new Oe("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new Oe("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new Oe("Can't use function '"+a+"' in math mode",r);var{args:o,optArgs:c}=this.parseArguments(a,s);return this.callFunction(a,o,c,r,t)}callFunction(t,n,r,a,s){var o={funcName:t,parser:this,token:a,breakOnTokenText:s},c=Ki[t];if(c&&c.handler)return c.handler(o,n,r);throw new Oe("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],s=[],o=0;o<r;o++){var c=n.argTypes&&n.argTypes[o],u=o<n.numOptionalArgs;(n.primitive&&c==null||n.type==="sqrt"&&o===1&&s[0]==null)&&(c="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",c,u);if(u)s.push(f);else if(f!=null)a.push(f);else throw new Oe("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var a=this.parseArgumentGroup(r,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new Oe("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Oe("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Oe("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,s="",o;(o=this.fetch()).text!=="EOF"&&t.test(s+o.text);)a=o,s+=a.text,this.consume();if(s==="")throw new Oe("Invalid "+n+": '"+r.text+"'",r);return r.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new Oe("Invalid color: '"+n.text+"'",n);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new Oe("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!tS(s))throw new Oe("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(a),o}parseGroup(t,n){var r=this.fetch(),a=r.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var o=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,o),u=this.fetch();this.expect(o),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Ur.range(r,u),body:c,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!VS.hasOwnProperty(a)){if(this.settings.throwOnError)throw new Oe("Undefined control sequence: "+a,r);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r],s=a.text;s==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Ur.range(a,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Ur.range(a,t[r+1]),text:"--"}),n-=1)),(s==="'"||s==="`")&&t[r+1].text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:Ur.range(a,t[r+1]),text:s+s}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),a=r.charAt(0)==="*";if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new Oe(`\\verb assertion failed -- 674 please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}WE.hasOwnProperty(n[0])&&!Zt[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=WE[n[0]]+n.slice(1));var s=bY.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="È·"));var o;if(Zt[this.mode][n]){this.settings.strict&&this.mode==="math"&&m2.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var c=Zt[this.mode][n].group,u=Ur.range(t),f;if(uG.hasOwnProperty(c)){var p=c;f={type:"atom",mode:this.mode,family:p,loc:u,text:n}}else f={type:c,mode:this.mode,loc:u,text:n};o=f}else if(n.charCodeAt(0)>=128)this.settings.strict&&(J9(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:Ur.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var x=s[0][m];if(!eb[x])throw new Oe("Unknown accent ' "+x+"'",t);var v=eb[x][this.mode]||eb[x].text;if(!v)throw new Oe("Accent "+x+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Ur.range(t),label:v,isStretchy:!1,isShifty:!0,base:o}}return o}};GS.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var my=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new GS(t,n);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new Oe("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new ra("\\df@tag")])}]}return a},py=function(t,n,r){n.textContent="";var a=pp(t,r).toNode();n.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),py=function(){throw new Oe("KaTeX doesn't work in quirks mode.")});var QS=function(t,n){var r=pp(t,n).toMarkup();return r},WS=function(t,n){var r=new Kv(n);return my(t,r)},KS=function(t,n,r){if(r.throwOnError||!(t instanceof Oe))throw t;var a=de.makeSpan(["katex-error"],[new ka(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},pp=function(t,n){var r=new Kv(n);try{var a=my(t,r);return IG(a,t,r)}catch(s){return KS(s,t,r)}},XS=function(t,n){var r=new Kv(n);try{var a=my(t,r);return MG(a,t,r)}catch(s){return KS(s,t,r)}},ZS="0.16.25",JS={Span:p0,Anchor:Jv,SymbolNode:ka,SvgNode:si,PathNode:so,LineNode:h2},y2={version:ZS,render:py,renderToString:QS,ParseError:Oe,SETTINGS_SCHEMA:Ad,__parse:WS,__renderToDomTree:pp,__renderToHTMLTree:XS,__setFontMetrics:eS,__defineSymbol:A,__defineFunction:ze,__defineMacro:j,__domTree:JS};const Pde=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Oe,SETTINGS_SCHEMA:Ad,__defineFunction:ze,__defineMacro:j,__defineSymbol:A,__domTree:JS,__parse:WS,__renderToDomTree:pp,__renderToHTMLTree:XS,__setFontMetrics:eS,default:y2,get render(){return py},renderToString:QS,version:ZS},Symbol.toStringTag,{value:"Module"})),_Y={},TY=[];function AY(e){const t=e||_Y;return function(n,r){Yv(n,"element",function(a,s){const o=Array.isArray(a.properties.className)?a.properties.className:TY,c=o.includes("language-math"),u=o.includes("math-display"),f=o.includes("math-inline");let p=u;if(!c&&!u&&!f)return;let m=s[s.length-1],x=a;if(a.tagName==="code"&&c&&m&&m.type==="element"&&m.tagName==="pre"&&(x=m,m=s[s.length-2],p=!0),!m)return;const v=_V(x,{whitespace:"pre"});let E;try{E=y2.renderToString(v,{...t,displayMode:p,throwOnError:!0})}catch(k){const S=k,O=S.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...s,a],cause:S,place:a.position,ruleId:O,source:"rehype-katex"});try{E=y2.renderToString(v,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(k)},children:[{type:"text",value:v}]}]}}typeof E=="string"&&(E=pV(E).children);const _=m.children.indexOf(x);return m.children.splice(_,1,...E),nm})}}function SY(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let o=0;for(;;){let c=n[o];if(c===void 0){const u=KE(t,n[o-1]);c=u===-1?t.length+1:u+1,n[o]=c}if(c>s)return{line:o+1,column:s-(o>0?n[o-1]:0)+1,offset:s};o++}}}function a(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const c=n[n.length-1],u=KE(t,c),f=u===-1?t.length+1:u+1;if(c===f)break;n.push(f)}const o=(s.line>1?n[s.line-2]:0)+s.column-1;if(o<n[s.line-1])return o}}}function KE(e,t){const n=e.indexOf("\r",t),r=e.indexOf(` 675`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const eC={}.hasOwnProperty,CY=Object.prototype;function kY(e,t){const n=t||{};return gy({file:n.file||void 0,location:!1,schema:n.space==="svg"?fo:u0,verbose:n.verbose||!1},e)}function gy(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Dh(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:tC(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const s=String(e.file),o=SY(s),c=o.toPoint(0),u=o.toPoint(s.length);n.position={start:c,end:u}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Dh(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Dh(e,r,n),n}default:return n=NY(e,t),n}}function tC(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=gy(e,t[n]);r.push(a)}return r}function NY(e,t){const n=e.schema;e.schema=t.namespaceURI===fs.svg?fo:u0;let r=-1;const a={};for(;++r<t.attrs.length;){const c=t.attrs[r],u=(c.prefix?c.prefix+":":"")+c.name;eC.call(CY,u)||(a[u]=c.value)}const o=(e.schema.space==="svg"?V9:$9)(t.tagName,a,tC(e,t.childNodes));if(Dh(e,t,o),o.tagName==="template"){const c=t,u=c.sourceCodeLocation,f=u&&u.startTag&&wc(u.startTag),p=u&&u.endTag&&wc(u.endTag),m=gy(e,c.content);f&&p&&e.file&&(m.position={start:f.end,end:p.start}),o.content=m}return e.schema=n,o}function Dh(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=RY(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function RY(e,t,n){const r=wc(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const s={};let o;if(n.attrs)for(o in n.attrs)eC.call(n.attrs,o)&&(s[rp(e.schema,o).property]=wc(n.attrs[o]));n.startTag;const c=wc(n.startTag),u=n.endTag?wc(n.endTag):void 0,f={opening:c};u&&(f.closing=u),f.properties=s,t.data={position:f}}}return r}function wc(e){const t=XE({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=XE({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function XE(e){return e.line&&e.column?e:void 0}class x0{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}x0.prototype.property={};x0.prototype.normal={};x0.prototype.space=null;function nC(e,t){const n={},r={};let a=-1;for(;++a<e.length;
vendor: 4,191 bytes, line 675
675)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new x0(n,r,t)}function E2(e){return e.toLowerCase()}class Ra{constructor(t,n){this.property=t,this.attribute=n}}Ra.prototype.space=null;Ra.prototype.boolean=!1;Ra.prototype.booleanish=!1;Ra.prototype.overloadedBoolean=!1;Ra.prototype.number=!1;Ra.prototype.commaSeparated=!1;Ra.prototype.spaceSeparated=!1;Ra.prototype.commaOrSpaceSeparated=!1;Ra.prototype.mustUseProperty=!1;Ra.prototype.defined=!1;let OY=0;const ft=pl(),Nn=pl(),rC=pl(),Me=pl(),Xt=pl(),kc=pl(),Zr=pl();function pl(){return 2**++OY}const w2=Object.freeze(Object.defineProperty({__proto__:null,boolean:ft,booleanish:Nn,commaOrSpaceSeparated:Zr,commaSeparated:kc,number:Me,overloadedBoolean:rC,spaceSeparated:Xt},Symbol.toStringTag,{value:"Module"})),tb=Object.keys(w2);class xy extends Ra{constructor(t,n,r,a){let s=-1;if(super(t,n),ZE(this,"space",a),typeof r=="number")for(;++s<tb.length;){const o=tb[s];ZE(this,tb[s],(r&w2[o])===w2[o])}}}xy.prototype.defined=!0;function ZE(e,t,n){n&&(e[t]=n)}const DY={}.hasOwnProperty;function Kc(e){const t={},n={};let r;for(r in e.properties)if(DY.call(e.properties,r)){const a=e.properties[r],s=new xy(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[E2(r)]=r,n[E2(s.attribute)]=r}return new x0(t,n,e.space)}const aC=Kc({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),sC=Kc({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function iC(e,t){return t in e?e[t]:t}function oC(e,t){return iC(e,t.toLowerCase())}const lC=Kc({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:oC,properties:{xmlns:null,xmlnsXLink:null}}),cC=Kc({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Nn,ariaAutoComplete:null,ariaBusy:Nn,ariaChecked:Nn,ariaColCount:Me,ariaColIndex:Me,ariaColSpan:Me,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:Nn,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:Nn,ariaFlowTo:Xt,ariaGrabbed:Nn,ariaHasPopup:null,ariaHidden:Nn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:Me,ariaLive:null,ariaModal:Nn,ariaMultiLine:Nn,ariaMultiSelectable:Nn,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:Me,ariaPressed:Nn,ariaReadOnly:Nn,ariaRelevant:null,ariaRequired:Nn,ariaRoleDescription:Xt,ariaRowCount:Me,ariaRowIndex:Me,ariaRowSpan:Me,ariaSelected:Nn,ariaSetSize:Me,ariaSort:null,ariaValueMax:Me,ariaValueMin:Me,ariaValueNow:Me,ariaValueText:null,role:null}}),IY=Kc({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:oC,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kc,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:Xt,autoFocus:ft,autoPlay:ft,blocking:Xt,capture:null,charSet:null,checked:ft,cite:null,className:Xt,cols:Me,colSpan:null,content:null,contentEditable:Nn,controls:ft,controlsList:Xt,coords:Me|kc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:rC,draggable:Nn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:Xt,height:Me,hidden:ft,high:Me,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:ft,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:ft,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:Me,manifest:null,max:null,maxLength:Me,media:null,method:null,min:null,minLength:Me,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,onAbort:null,onAfterPrint:null,onAuxCl
675ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ft,optimum:Me,pattern:null,ping:Xt,placeholder:null,playsInline:ft,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:Xt,required:ft,reversed:ft,rows:Me,rowSpan:Me,sandbox:Xt,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootClonable:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:Me,sizes:null,slot:null,span:Me,spellCheck:Nn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Me,step:null,style:null,tabIndex:Me,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:Nn,width:Me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:Me,borderColor:null,bottomMargin:Me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:Me,leftMargin:Me,link:null,longDesc:null,lowSrc:null,marginHeight:Me,marginWidth:Me,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:Me,rules:null,scheme:null,scrolling:Nn,standby:null,summary:null,text:null,topMargin:Me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:Me,security:null,unselectable:null}}),MY=Kc({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
675-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:iC,properties:{about:Zr,accentHeight:Me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Me,amplitude:Me,arabicForm:null,ascent:Me,attributeName:null,attributeType:null,azimuth:Me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Me,by:null,calcMode:null,capHeight:Me,className:Xt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Me,diffuseConstant:Me,direction:null,display:null,dur:null,divisor:Me,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:Me,enableBackgroun
vendor: 5,416 bytes, line 675
675d:null,end:null,event:null,exponent:Me,externalResourcesRequired:null,fill:null,fillOpacity:Me,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:kc,g2:kc,glyphName:kc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Me,horizOriginX:Me,horizOriginY:Me,id:null,ideographic:Me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Me,k:Me,k1:Me,k2:Me,k3:Me,k4:Me,kernelMatrix:Zr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Me,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Me,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Me,overlineThickness:Me,paintOrder:null,panose1:null,path:null,pathLength:Me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Me,pointsAtY:Me,pointsAtZ:Me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Zr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Zr,rev:Zr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Zr,requiredFeatures:Zr,requiredFonts:Zr,requiredFormats:Zr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Me,specularExponent:Me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Me,strikethroughThickness:Me,string:null,stroke:null,strokeDashArray:Zr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Me,strokeOpacity:Me,strokeWidth:null,style:null,surfaceScale:Me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Zr,tabIndex:Me,tableValues:null,target:null,targetX:Me,targetY:Me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Zr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Me,underlineThickness:Me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Me,values:null,vAlphabetic:Me,vMathematical:Me,vectorEffect:null,vHanging:Me,vIdeographic:Me,version:null,vertAdvY:Me,vertOriginX:Me,vertOriginY:Me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),PY=/^data[-\w.:]+$/i,JE=/-[a-z]/g,LY=/[A-Z]/g;function jY(e,t){const n=E2(t);let r=t,a=Ra;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&PY.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(JE,zY);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!JE.test(s)){let o=s.replace(LY,BY);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=xy}return new a(r,t)}function BY(e){return"-"+e.toLowerCase()}function zY(e){return e.charAt(1).toUpperCase()}const HY=nC([sC,aC,lC,cC,IY],"html"),uC=nC([sC,aC,lC,cC,MY],"svg"),ew={}.hasOwnProperty;function by(e,t){const n=t||{};
vendor: 4,594 bytes, line 675
675function r(a,...s){let o=r.invalid;const c=r.handlers;if(a&&ew.call(a,e)){const u=String(a[e]);o=ew.call(c,u)?c[u]:r.unknown}if(o)return o.call(this,a,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const UY={},FY={}.hasOwnProperty,dC=by("type",{handlers:{root:$Y,element:WY,text:YY,comment:QY,doctype:GY}});function qY(e,t){const r=(t||UY).space;return dC(e,r==="svg"?uC:HY)}function $Y(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=vy(e.children,n,t),Xc(e,n),n}function VY(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=vy(e.children,n,t),Xc(e,n),n}function GY(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Xc(e,t),t}function YY(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Xc(e,t),t}function QY(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Xc(e,t),t}function WY(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=uC);const a=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&FY.call(e.properties,s)){const u=KY(r,s,e.properties[s]);u&&a.push(u)}}const o=r.space,c={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:fs[o],childNodes:[],parentNode:null};return c.childNodes=vy(e.children,c,r),Xc(e,c),e.tagName==="template"&&e.content&&(c.content=VY(e.content,r)),c}function KY(e,t,n){const r=jY(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Mv(n):Lv(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=a.name.indexOf(":");s<0?a.prefix="":(a.name=a.name.slice(s+1),a.prefix=r.attribute.slice(0,s)),a.namespace=fs[r.space]}return a}function vy(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const s=dC(e[r],n);s.parentNode=t,a.push(s)}return a}function Xc(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const fC=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],XY=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),an="�";var z;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(z||(z={}));const jr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function hC(e){return e>=55296&&e<=57343}function ZY(e){return e>=56320&&e<=57343}function JY(e,t){return(e-55296)*1024+9216+t}function mC(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function pC(e){return e>=64976&&e<=65007||XY.has(e)}var ve;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invali
vendor: 6,673 bytes, line 675
675dFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ve||(ve={}));const eQ=65536;class tQ{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=eQ,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:a,offset:s}=this,o=a+n,c=s+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:c,endOffset:c}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(ZY(n))return this.pos++,this._addGap(),JY(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,z.EOF;return this._err(ve.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,z.EOF;const r=this.html.charCodeAt(n);return r===z.CARRIAGE_RETURN?z.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,z.EOF;let t=this.html.charCodeAt(this.pos);return t===z.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,z.LINE_FEED):t===z.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,hC(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===z.LINE_FEED||t===z.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){mC(t)?this._err(ve.controlCharacterInInputStream):pC(t)&&this._err(ve.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var vt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(vt||(vt={}));function gC(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const nQ=new Uint16Array('
vendor: 16,129 bytes, line 675
675áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 675
675ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 675
675astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
675'.split("").map(e=>e.charCodeAt(0))),rQ=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function aQ(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=rQ.get(e))!==null&&t!==void 0?t:e}var Vn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Vn||(Vn={}));const sQ=32;var Xi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Xi||(Xi={}));function _2(e){return e>=Vn.ZERO&&e<=Vn.NINE}function iQ(e){return e>=Vn.UPPER_A&&e<=Vn.UPPER_F||e>=Vn.LOWER_A&&e<=Vn.LOWER_F}function oQ(e){return e>=Vn.UPPER_A&&e<=Vn.UPPER_Z||e>=Vn.LOWER_A&&e<=Vn.LOWER_Z||_2(e)}function lQ(e){return e===Vn.EQUALS||oQ(e)}var qn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(qn||(qn={}));var ei;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ei||(ei={}));class cQ{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=qn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ei.Strict}startEntity(t){this.decodeMode=t,this.state=qn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case qn.EntityStart:return t.charCodeAt(n)===Vn.NUM?(this.state=qn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=qn.NamedEntity,this.stateNamedEntity(t,n));case qn.NumericStart:return this.stateNumericStart(t,n);case qn.NumericDecimal:return this.stateNumericDecimal(t,n);case qn.NumericHex:return this.stateNumericHex(t,n);case qn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|sQ)===Vn.LOWER_X?(this.state=qn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=qn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const s=r-n;this.result=this.result*Math.pow(a,s)+Number.parseInt(t.substr(n,s),a),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(_2(a)||iQ(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(_2(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Vn.SEMI)this.consumed+=1;else if(this.decodeMode===ei.Strict)return 0;return this.emitCodePoint(aQ(this.result),this.consumed),this.errors&&(t!==Vn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],s=(a&Xi.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=uQ(r,a,this.treeIndex+Math.max(1,s),o),this.treeIndex<0)return this.result===0||this.decodeMode===ei.Attribute&&(s===0||lQ(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],s=(a&Xi.VALUE_LENGTH)>>14,s!==0){if(o===Vn.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==ei.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&Xi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~Xi.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case qn.NamedEntity:return this.result!==0&&(this.decodeMode!==ei.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qn.NumericDecimal:return this.emitNumericEntity(0,2);case qn.NumericHex:return this.emitNumericEntity(0,3);case qn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qn.EntityStart:return 0}}}
vendor: 4,177 bytes, line 675
675function uQ(e,t,n,r){const a=(t&Xi.BRANCH_LENGTH)>>7,s=t&Xi.JUMP_TABLE;if(a===0)return s!==0&&r===s?n:-1;if(s){const u=r-s;return u<0||u>=a?-1:e[n+u]-1}let o=n,c=o+a-1;for(;o<=c;){const u=o+c>>>1,f=e[u];if(f<r)o=u+1;else if(f>r)c=u-1;else return e[u+a]}return-1}var ke;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(ke||(ke={}));var Ko;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ko||(Ko={}));var Ea;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ea||(Ea={}));var le;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(le||(le={}));var w;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=6
6755]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(w||(w={}));const dQ=new Map([[le.A,w.A],[le.ADDRESS,w.ADDRESS],[le.ANNOTATION_XML,w.ANNOTATION_XML],[le.APPLET,w.APPLET],[le.AREA,w.AREA],[le.ARTICLE,w.ARTICLE],[le.ASIDE,w.ASIDE],[le.B,w.B],[le.BASE,w.BASE],[le.BASEFONT,w.BASEFONT],[le.BGSOUND,w.BGSOUND],[le.BIG,w.BIG],[le.BLOCKQUOTE,w.BLOCKQUOTE],[le.BODY,w.BODY],[le.BR,w.BR],[le.BUTTON,w.BUTTON],[le.CAPTION,w.CAPTION],[le.CENTER,w.CENTER],[le.CODE,w.CODE],[le.COL,w.COL],[le.COLGROUP,w.COLGROUP],[le.DD,w.DD],[le.DESC,w.DESC],[le.DETAILS,w.DETAILS],[le.DIALOG,w.DIALOG],[le.DIR,w.DIR],[le.DIV,w.DIV],[le.DL,w.DL],[le.DT,w.DT],[le.EM,w.EM],[le.EMBED,w.EMBED],[le.FIELDSET,w.FIELDSET],[le.FIGCAPTION,w.FIGCAPTION],[le.FIGURE,w.FIGURE],[le.FONT,w.FONT],[le.FOOTER,w.FOOTER],[le.FOREIGN_OBJECT,w.FOREIGN_OBJECT],[le.FORM,w.FORM],[le.FRAME,w.FRAME],[le.FRAMESET,w.FRAMESET],[le.H1,w.H1],[le.H2,w.H2],[le.H3,w.H3],[le.H4,w.H4],[le.H5,w.H5],[le.H6,w.H6],[le.HEAD,w.HEAD],[le.HEADER,w.HEADER],[le.HGROUP,w.HGROUP],[le.HR,w.HR],[le.HTML,w.HTML],[le.I,w.I],[le.IMG,w.IMG],[le.IMAGE,w.IMAGE],[le.INPUT,w.INPUT],[le.IFRAME,w.IFRAME],[le.KEYGEN,w.KEYGEN],[le.LABEL,w.LABEL],[le.LI,w.LI],[le.LINK,w.LINK],[le.LISTING,w.LISTING],[le.MAIN,w.MAIN],[le.MALIGNMARK,w.MALIGNMARK],[le.MARQUEE,w.MARQUEE],[le.MATH,w.MATH],[le.MENU,w.MENU],[le.META,w.META],[le.MGLYPH,w.MGLYPH],[le.MI,w.MI],[le.MO,w.MO],[le.MN,w.MN],[le.MS,w.MS],[le.MTEXT,w.MTEXT],[le.NAV,w.NAV],[le.NOBR,w.NOBR],[le.NOFRAMES,w.NOFRAMES],[le.NOEMBED,w.NOEMBED],[le.NOSCRIPT,w.NOSCRIPT],[le.OBJECT,w.OBJECT],[le.OL,w.OL],[le.OPTGROUP,w.OPTGROUP],[le.OPTION,w.OPTION],[le.P,w.P],[le.PARAM,w.PARAM],[le.PLAINTEXT,w.PLAINTEXT],[le.PRE,w.PRE],[le.RB,w.RB],[le.RP,w.RP],[le.RT,w.RT],[le.RTC,w.RTC],[le.RUBY,w.RUBY],[le.S,w.S],[le.SCRIPT,w.SCRIPT],[le.SEARCH,w.SEARCH],[le.SECTION,w.SECTION],[le.SELECT,w.SELECT],[le.SOURCE,w.SOURCE],[le.SMALL,w.SMALL],[le.SPAN,w.SPAN],[le.STRIKE,w.STRIKE],[le.STRONG,w.STRONG],[le.STYLE,w.STYLE],[le.SUB,w.SUB],[le.SUMMARY,w.SUMMARY],[le.SUP,w.SUP],[le.TABLE,w.TABLE],[le.TBODY,w.TBODY],[le.TEMPLATE,w.TEMPLATE],[le.TEXTAREA,w.TEXTAREA],[le.TFOOT,w.TFOOT],[le.TD,w.TD],[le.TH,w.TH],[le.THEAD,w.THEAD],[le.TITLE,w.TITLE],[le.TR,w.TR],[le.TRACK,w.TRACK],[le.TT,w.TT],[le.U,w.U],[le.UL,w.UL],[le.SVG,w.SVG],[le.VAR,w.VAR],[le.WBR,w.WBR],[le.XMP,w.XMP]]);function Zc(e){var t;return(t=dQ.get(e))!==null&&t!==void 0?t:w.UNKNOWN}const Ne=w,fQ={[ke.HTML]:new Set([Ne.ADDRESS,Ne.APPLET,Ne.AREA,Ne.ARTICLE,Ne.ASIDE,Ne.BASE,Ne.BASEFONT,Ne.BGSOUND,Ne.BLOCKQUOTE,Ne.BODY,Ne.BR,Ne.BUTTON,Ne.CAPTION,Ne.CENTER,Ne.COL,Ne.COLGROUP,Ne.DD,Ne.DETAILS,Ne.DIR,Ne.DIV,Ne.DL,Ne.DT,Ne.EMBED,Ne.FIELDSET,Ne.FIGCAPTION,Ne.FIGURE,Ne.FOOTER,Ne.FORM,Ne.FRAME,Ne.FRAMESET,Ne.H1,Ne.H2,Ne.H3,Ne.H4,Ne.H5,Ne.H6,Ne.HEAD,Ne.HEADER,Ne.HGROUP,Ne.HR,Ne.HTML,Ne.IFRAME,Ne.IMG,Ne.INPUT,Ne.LI,Ne.LINK,Ne.LISTING,Ne.MAIN,Ne.MARQUEE,Ne.MENU,Ne.META,Ne.NAV,Ne.NOEMBED,Ne.NOFRAMES,Ne.
vendor: 13,683 bytes, line 675
675NOSCRIPT,Ne.OBJECT,Ne.OL,Ne.P,Ne.PARAM,Ne.PLAINTEXT,Ne.PRE,Ne.SCRIPT,Ne.SECTION,Ne.SELECT,Ne.SOURCE,Ne.STYLE,Ne.SUMMARY,Ne.TABLE,Ne.TBODY,Ne.TD,Ne.TEMPLATE,Ne.TEXTAREA,Ne.TFOOT,Ne.TH,Ne.THEAD,Ne.TITLE,Ne.TR,Ne.TRACK,Ne.UL,Ne.WBR,Ne.XMP]),[ke.MATHML]:new Set([Ne.MI,Ne.MO,Ne.MN,Ne.MS,Ne.MTEXT,Ne.ANNOTATION_XML]),[ke.SVG]:new Set([Ne.TITLE,Ne.FOREIGN_OBJECT,Ne.DESC]),[ke.XLINK]:new Set,[ke.XML]:new Set,[ke.XMLNS]:new Set},T2=new Set([Ne.H1,Ne.H2,Ne.H3,Ne.H4,Ne.H5,Ne.H6]);le.STYLE,le.SCRIPT,le.XMP,le.IFRAME,le.NOEMBED,le.NOFRAMES,le.PLAINTEXT;var V;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(V||(V={}));const En={DATA:V.DATA,RCDATA:V.RCDATA,RAWTEXT:V.RAWTEXT,SCRIPT_DATA:V.SCRIPT_DATA,PLAINTEXT:V.PLAINTEXT,CDATA_SECTION:V.CDATA_SECTION};function hQ(e){return e>=z.DIGIT_0&&e<=z.DIGIT_9}function pd(e){return e>=z.LATIN_CAPITAL_A&&e<=z.LATIN_CAPITAL_Z}function mQ(e){return e>=z.LATIN_SMALL_A&&e<=z.LATIN_SMALL_Z}function Vi(e){return mQ(e)||pd(e)}function tw(e){return Vi(e)||hQ(e)}function hh(e){return e+32}function xC(e){return e===z.SPACE||e===z.LINE_FEED||e===z.TABULATION||e===z.FORM_FEED}function nw(e){return xC(e)||e===z.SOLIDUS||e===z.GREATER_THAN_SIGN}function pQ(e){return e===z.NULL?ve.nullCharacterReference:e>1114111?ve.characterReferenceOutsideUnicodeRange:hC(e)?ve.surrogateCharacterReference:pC(e)?ve.noncharacterCharacterReference:mC(e)||e===z.CARRIAGE_RETURN?ve.controlCharacterReference:null}class gQ{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=V.DATA,this.returnState=V.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new tQ(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new cQ(nQ,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ve.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(ve.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=pQ(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:vt.START_TAG,tagName:"",tagID:w.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:vt.END_TAG,tagName:"",tagID:w.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:vt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:vt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(gC(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ve.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Zc(t.tagName),t.type===vt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(ve.endTagWithAttributes),t.selfClosing&&this._err(ve.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case vt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case vt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case vt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:vt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=xC(t)?vt.WHITESPACE_CHARACTER:t===z.NULL?vt.NULL_CHARACTER:vt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(vt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=V.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ei.Attribute:ei.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===V.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===V.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===V.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case V.DATA:{this._stateData(t);break}case V.RCDATA:{this._stateRcdata(t);break}case V.RAWTEXT:{this._stateRawtext(t);break}case V.SCRIPT_DATA:{this._stateScriptData(t);break}case V.PLAINTEXT:{this._statePlaintext(t);break}case V.TAG_OPEN:{this._stateTagOpen(t);break}case V.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case V.TAG_NAME:{this._stateTagName(t);break}case V.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case V.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case V.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case V.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case V.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case V.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case V.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case V.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case V.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case V.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case V.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case V.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case V.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case V.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case V.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case V.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscape
vendor: 5,361 bytes, line 675
675Start(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case V.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case V.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case V.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case V.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case V.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case V.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case V.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case V.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case V.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case V.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case V.BOGUS_COMMENT:{this._stateBogusComment(t);break}case V.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case V.COMMENT_START:{this._stateCommentStart(t);break}case V.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case V.COMMENT:{this._stateComment(t);break}case V.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case V.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case V.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case V.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case V.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case V.COMMENT_END:{this._stateCommentEnd(t);break}case V.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case V.DOCTYPE:{this._stateDoctype(t);break}case V.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case V.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case V.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case V.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case V.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case V.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case V.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case V.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case V.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case V.CDATA_SECTION:{this._stateCdataSection(t);break}case V.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case V.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case V.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case V.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case z.LESS_THAN_SIGN:{this.state=V.TAG_OPEN;break}case z.AMPERSAND:{this._startCharacterReference();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitCodePoint(t);break}case z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case z.AMPERSAND:{this._startCharacterReference();break}case z.LESS_THAN_SIGN:{this.state=V.RCDATA_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case z.LESS_THAN_SIGN:{this.state=V.RAWTEXT_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Vi(t))this._createStartTagToken(),this.state=V.TAG_NAME,this._stateTagName(t);else switch(t){case z.EXCLAMATION_MARK:{this.state=V.MARKUP_DECLARATION_OPEN;break}case z.SOLIDUS:{this.state=V.END_TAG_OPEN;break}case z.QUESTION_MARK:{this._err(ve.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=V.BOGUS_COMMENT,this._stateBogusComment(t);break}case z.EOF:{this._err(ve.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}
vendor: 98,751 bytes, line 675
675default:this._err(ve.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=V.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Vi(t))this._createEndTagToken(),this.state=V.TAG_NAME,this._stateTagName(t);else switch(t){case z.GREATER_THAN_SIGN:{this._err(ve.missingEndTagName),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ve.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=V.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.BEFORE_ATTRIBUTE_NAME;break}case z.SOLIDUS:{this.state=V.SELF_CLOSING_START_TAG;break}case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentTagToken();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.tagName+=an;break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(pd(t)?hh(t):t)}}_stateRcdataLessThanSign(t){t===z.SOLIDUS?this.state=V.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=V.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Vi(t)?(this.state=V.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=V.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=V.BEFORE_ATTRIBUTE_NAME,!1;case z.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=V.SELF_CLOSING_START_TAG,!1;case z.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=V.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=V.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===z.SOLIDUS?this.state=V.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=V.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Vi(t)?(this.state=V.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=V.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=V.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case z.SOLIDUS:{this.state=V.SCRIPT_DATA_END_TAG_OPEN;break}case z.EXCLAMATION_MARK:{this.state=V.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=V.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Vi(t)?(this.state=V.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=V.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=V.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===z.HYPHEN_MINUS?(this.state=V.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=V.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===z.HYPHEN_MINUS?(this.state=V.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=V.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case z.HYPHEN_MINUS:{this.state=V.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case z.HYPHEN_MINUS:{this.state=V.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=V.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case z.HYPHEN_MINUS:{this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case z.GREATER_THAN_SIGN:{this.state=V.SCRIPT_DATA,this._emitChars(">");break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=V.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===z.SOLIDUS?this.state=V.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Vi(t)?(this._emitChars("<"),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Vi(t)?(this.state=V.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(jr.SCRIPT,!1)&&nw(this.preprocessor.peek(jr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<jr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=V.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case z.HYPHEN_MINUS:{this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case z.HYPHEN_MINUS:{this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case z.HYPHEN_MINUS:{this._emitChars("-");break}case z.LESS_THAN_SIGN:{this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case z.GREATER_THAN_SIGN:{this.state=V.SCRIPT_DATA,this._emitChars(">");break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case z.EOF:{this._err(ve.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===z.SOLIDUS?(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(jr.SCRIPT,!1)&&nw(this.preprocessor.peek(jr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<jr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=V.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=V.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.SOLIDUS:case z.GREATER_THAN_SIGN:case z.EOF:{this.state=V.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case z.EQUALS_SIGN:{this._err(ve.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=V.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=V.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:case z.SOLIDUS:case z.GREATER_THAN_SIGN:case z.EOF:{this._leaveAttrName(),this.state=V.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case z.EQUALS_SIGN:{this._leaveAttrName(),this.state=V.BEFORE_ATTRIBUTE_VALUE;break}case z.QUOTATION_MARK:case z.APOSTROPHE:case z.LESS_THAN_SIGN:{this._err(ve.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.name+=an;break}default:this.currentAttr.name+=String.fromCodePoint(pd(t)?hh(t):t)}}_stateAfterAttributeName(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.SOLIDUS:{this.state=V.SELF_CLOSING_START_TAG;break}case z.EQUALS_SIGN:{this.state=V.BEFORE_ATTRIBUTE_VALUE;break}case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentTagToken();break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=V.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:{this.state=V.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case z.APOSTROPHE:{this.state=V.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingAttributeValue),this.state=V.DATA,this.emitCurrentTagToken();break}default:this.state=V.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case z.QUOTATION_MARK:{this.state=V.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case z.AMPERSAND:{this._startCharacterReference();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=an;break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case z.APOSTROPHE:{this.state=V.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case z.AMPERSAND:{this._startCharacterReference();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=an;break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this._leaveAttrValue(),this.state=V.BEFORE_ATTRIBUTE_NAME;break}case z.AMPERSAND:{this._startCharacterReference();break}case z.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=V.DATA,this.emitCurrentTagToken();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),this.currentAttr.value+=an;break}case z.QUOTATION_MARK:case z.APOSTROPHE:case z.LESS_THAN_SIGN:case z.EQUALS_SIGN:case z.GRAVE_ACCENT:{this._err(ve.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this._leaveAttrValue(),this.state=V.BEFORE_ATTRIBUTE_NAME;break}case z.SOLIDUS:{this._leaveAttrValue(),this.state=V.SELF_CLOSING_START_TAG;break}case z.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=V.DATA,this.emitCurrentTagToken();break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._err(ve.missingWhitespaceBetweenAttributes),this.state=V.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case z.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=V.DATA,this.emitCurrentTagToken();break}case z.EOF:{this._err(ve.eofInTag),this._emitEOFToken();break}default:this._err(ve.unexpectedSolidusInTag),this.state=V.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentComment(n);break}case z.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.data+=an;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(jr.DASH_DASH,!0)?(this._createCommentToken(jr.DASH_DASH.length+1),this.state=V.COMMENT_START):this._consumeSequenceIfMatch(jr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(jr.DOCTYPE.length+1),this.state=V.DOCTYPE):this._consumeSequenceIfMatch(jr.CDATA_START,!0)?this.inForeignNode?this.state=V.CDATA_SECTION:(this._err(ve.cdataInHtmlContent),this._createCommentToken(jr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=V.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ve.incorrectlyOpenedComment),this._createCommentToken(2),this.state=V.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case z.HYPHEN_MINUS:{this.state=V.COMMENT_START_DASH;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptClosingOfEmptyComment),this.state=V.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=V.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case z.HYPHEN_MINUS:{this.state=V.COMMENT_END;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptClosingOfEmptyComment),this.state=V.DATA,this.emitCurrentComment(n);break}case z.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=V.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case z.HYPHEN_MINUS:{this.state=V.COMMENT_END_DASH;break}case z.LESS_THAN_SIGN:{n.data+="<",this.state=V.COMMENT_LESS_THAN_SIGN;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.data+=an;break}case z.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case z.EXCLAMATION_MARK:{n.data+="!",this.state=V.COMMENT_LESS_THAN_SIGN_BANG;break}case z.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=V.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===z.HYPHEN_MINUS?this.state=V.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=V.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===z.HYPHEN_MINUS?this.state=V.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=V.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==z.GREATER_THAN_SIGN&&t!==z.EOF&&this._err(ve.nestedComment),this.state=V.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case z.HYPHEN_MINUS:{this.state=V.COMMENT_END;break}case z.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=V.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentComment(n);break}case z.EXCLAMATION_MARK:{this.state=V.COMMENT_END_BANG;break}case z.HYPHEN_MINUS:{n.data+="-";break}case z.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=V.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case z.HYPHEN_MINUS:{n.data+="--!",this.state=V.COMMENT_END_DASH;break}case z.GREATER_THAN_SIGN:{this._err(ve.incorrectlyClosedComment),this.state=V.DATA,this.emitCurrentComment(n);break}case z.EOF:{this._err(ve.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=V.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.BEFORE_DOCTYPE_NAME;break}case z.GREATER_THAN_SIGN:{this.state=V.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case z.EOF:{this._err(ve.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingWhitespaceBeforeDoctypeName),this.state=V.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(pd(t))this._createDoctypeToken(String.fromCharCode(hh(t))),this.state=V.DOCTYPE_NAME;else switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.NULL:{this._err(ve.unexpectedNullCharacter),this._createDoctypeToken(an),this.state=V.DOCTYPE_NAME;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=V.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.AFTER_DOCTYPE_NAME;break}case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.name+=an;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(pd(t)?hh(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(jr.PUBLIC,!1)?this.state=V.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(jr.SYSTEM,!1)?this.state=V.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ve.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case z.QUOTATION_MARK:{this._err(ve.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{this._err(ve.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:{n.publicId="",this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{n.publicId="",this.state=V.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case z.QUOTATION_MARK:{this.state=V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.publicId+=an;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case z.APOSTROPHE:{this.state=V.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.publicId+=an;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case z.GREATER_THAN_SIGN:{this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.QUOTATION_MARK:{this._err(ve.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{this._err(ve.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.QUOTATION_MARK:{n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:{this.state=V.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case z.QUOTATION_MARK:{this._err(ve.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{this._err(ve.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.QUOTATION_MARK:{n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case z.APOSTROPHE:{n.systemId="",this.state=V.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case z.GREATER_THAN_SIGN:{this._err(ve.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.DATA,this.emitCurrentDoctype(n);break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case z.QUOTATION_MARK:{this.state=V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.systemId+=an;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case z.APOSTROPHE:{this.state=V.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case z.NULL:{this._err(ve.unexpectedNullCharacter),n.systemId+=an;break}case z.GREATER_THAN_SIGN:{this._err(ve.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case z.SPACE:case z.LINE_FEED:case z.TABULATION:case z.FORM_FEED:break;case z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.EOF:{this._err(ve.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ve.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=V.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=V.DATA;break}case z.NULL:{this._err(ve.unexpectedNullCharacter);break}case z.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case z.RIGHT_SQUARE_BRACKET:{this.state=V.CDATA_SECTION_BRACKET;break}case z.EOF:{this._err(ve.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===z.RIGHT_SQUARE_BRACKET?this.state=V.CDATA_SECTION_END:(this._emitChars("]"),this.state=V.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case z.GREATER_THAN_SIGN:{this.state=V.DATA;break}case z.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=V.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(z.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&tw(this.preprocessor.peek(1))?V.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){tw(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===z.SEMICOLON&&this._err(ve.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const bC=new Set([w.DD,w.DT,w.LI,w.OPTGROUP,w.OPTION,w.P,w.RB,w.RP,w.RT,w.RTC]),rw=new Set([...bC,w.CAPTION,w.COLGROUP,w.TBODY,w.TD,w.TFOOT,w.TH,w.THEAD,w.TR]),lm=new Set([w.APPLET,w.CAPTION,w.HTML,w.MARQUEE,w.OBJECT,w.TABLE,w.TD,w.TEMPLATE,w.TH]),xQ=new Set([...lm,w.OL,w.UL]),bQ=new Set([...lm,w.BUTTON]),aw=new Set([w.ANNOTATION_XML,w.MI,w.MN,w.MO,w.MS,w.MTEXT]),sw=new Set([w.DESC,w.FOREIGN_OBJECT,w.TITLE]),vQ=new Set([w.TR,w.TEMPLATE,w.HTML]),yQ=new Set([w.TBODY,w.TFOOT,w.THEAD,w.TEMPLATE,w.HTML]),EQ=new Set([w.TABLE,w.TEMPLATE,w.HTML]),wQ=new Set([w.TD,w.TH]);class _Q{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=w.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===w.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ke.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==ke.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(T2,ke.HTML)}popUntilTableCellPopped(){this.popUntilPopped(wQ,ke.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(EQ,ke.HTML)}clearBackToTableBodyContext(){this.clearBackTo(yQ,ke.HTML)}clearBackToTableRowContext(){this.clearBackTo(vQ,ke.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===w.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===w.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case ke.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case ke.SVG:{if(sw.has(a))return!1;break}case ke.MATHML:{if(aw.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,lm)}hasInListItemScope(t){return this.hasInDynamicScope(t,xQ)}hasInButtonScope(t){return this.hasInDynamicScope(t,bQ)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case ke.HTML:{if(T2.has(n))return!0;if(lm.has(n))return!1;break}case ke.SVG:{if(sw.has(n))return!1;break}case ke.MATHML:{if(aw.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ke.HTML)switch(this.tagIDs[n]){case t:return!0;case w.TABLE:case w.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ke.HTML)switch(this.tagIDs[t]){case w.TBODY:case w.THEAD:case w.TFOOT:return!0;case w.TABLE:case w.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ke.HTML)switch(this.tagIDs[n]){case t:return!0;case w.OPTION:case w.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&bC.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&rw.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&rw.has(this.currentTagId);)this.pop()}}const nb=3;var cs;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(cs||(cs={}));const iw={type:cs.Marker};class TQ{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,s=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let c=0;c<this.entries.length;c++){const u=this.entries[c];if(u.type===cs.Marker)break;const{element:f}=u;if(this.treeAdapter.getTagName(f)===s&&this.treeAdapter.getNamespaceURI(f)===o){const p=this.treeAdapter.getAttrList(f);p.length===a&&r.push({idx:c,attrs:p})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<nb)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<nb)return;const a=new Map(n.map(o=>[o.name,o.value]));let s=0;for(let o=0;o<r.length;o++){const c=r[o];c.attrs.every(u=>a.get(u.name)===u.value)&&(s+=1,s>=nb&&this.entries.splice(c.idx,1))}}insertMarker(){this.entries.unshift(iw)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:cs.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:cs.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(iw);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===cs.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===cs.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===cs.Element&&n.element===t)}}const Gi={createDocument(){return{nodeName:"#document",mode:Ea.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(s=>s.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Gi.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Gi.isTextNode(n)){n.value+=t;return}}Gi.appendChild(e,Gi.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Gi.isTextNode(r)?r.value+=t:Gi.insertBefore(e,Gi.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},vC="html",AQ="about:legacy-compat",SQ="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",yC=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],CQ=[...yC,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],kQ=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),EC=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],NQ=[...EC,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ow(e,t){return t.some(n=>e.startsWith(n))}function RQ(e){return e.name===vC&&e.publicId===null&&(e.systemId===null||e.systemId===AQ)}function OQ(e){if(e.name!==vC)return Ea.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===SQ)return Ea.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),kQ.has(n))return Ea.QUIRKS;let r=t===null?CQ:yC;if(ow(n,r))return Ea.QUIRKS;if(r=t===null?EC:NQ,ow(n,r))return Ea.LIMITED_QUIRKS}return Ea.NO_QUIRKS}const lw={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DQ="definitionurl",IQ="definitionURL",MQ=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),PQ=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ke.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ke.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ke.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ke.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ke.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ke.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ke.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ke.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ke.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ke.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ke.XMLNS}]]),LQ=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),jQ=new Set([w.B,w.BIG,w.BLOCKQUOTE,w.BODY,w.BR,w.CENTER,w.CODE,w.DD,w.DIV,w.DL,w.DT,w.EM,w.EMBED,w.H1,w.H2,w.H3,w.H4,w.H5,w.H6,w.HEAD,w.HR,w.I,w.IMG,w.LI,w.LISTING,w.MENU,w.META,w.NOBR,w.OL,w.P,w.PRE,w.RUBY,w.S,w.SMALL,w.SPAN,w.STRONG,w.STRIKE,w.SUB,w.SUP,w.TABLE,w.TT,w.U,w.UL,w.VAR]);function BQ(e){const t=e.tagID;return t===w.FONT&&e.attrs.some(({name:r})=>r===Ko.COLOR||r===Ko.SIZE||r===Ko.FACE)||jQ.has(t)}function wC(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===DQ){e.attrs[t].name=IQ;break}}function _C(e){for(let t=0;t<e.attrs.length;t++){const n=MQ.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function yy(e){for(let t=0;t<e.attrs.length;t++){const n=PQ.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function zQ(e){const t=LQ.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Zc(e.tagName))}function HQ(e,t){return t===ke.MATHML&&(e===w.MI||e===w.MO||e===w.MN||e===w.MS||e===w.MTEXT)}function UQ(e,t,n){if(t===ke.MATHML&&e===w.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Ko.ENCODING){const a=n[r].value.toLowerCase();return a===lw.TEXT_HTML||a===lw.APPLICATION_XML}}return t===ke.SVG&&(e===w.FOREIGN_OBJECT||e===w.DESC||e===w.TITLE)}function FQ(e,t,n,r){return(!r||r===ke.HTML)&&UQ(e,t,n)||(!r||r===ke.MATHML)&&HQ(e,t)}const qQ="hidden",$Q=8,VQ=3;var K;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(K||(K={}));const GQ={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},TC=new Set([w.TABLE,w.TBODY,w.TFOOT,w.THEAD,w.TR]),cw={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Gi,onParseError:null};class uw{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=K.INITIAL,this.originalInsertionMode=K.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...cw,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new gQ(this.options,this),this.activeFormattingElements=new TQ(this.treeAdapter),this.fragmentContextID=r?Zc(this.treeAdapter.getTagName(r)):w.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new _Q(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...cw,...n};t??(t=r.treeAdapter.createElement(le.TEMPLATE,ke.HTML,[]));const a=r.treeAdapter.createElement("documentmock",ke.HTML,[]),s=new this(r,a,t);return s.fragmentContextID===w.TEMPLATE&&s.tmplInsertionModeStack.unshift(K.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const s=(a=t.location)!==null&&a!==void 0?a:GQ,o={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,s;(s=(a=this.treeAdapter).onItemPush)===null||s===void 0||s.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let s,o;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,o=this.fragmentContextID):{current:s,currentTagId:o}=this.openElements,this._setContextModes(s,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===ke.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,ke.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=K.TEXT}switchToPlaintextParsing(){this.insertionMode=K.TEXT,this.originalInsertionMode=K.IN_BODY,this.tokenizer.state=En.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===le.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ke.HTML))switch(this.fragmentContextID){case w.TITLE:case w.TEXTAREA:{this.tokenizer.state=En.RCDATA;break}case w.STYLE:case w.XMP:case w.IFRAME:case w.NOEMBED:case w.NOFRAMES:case w.NOSCRIPT:{this.tokenizer.state=En.RAWTEXT;break}case w.SCRIPT:{this.tokenizer.state=En.SCRIPT_DATA;break}case w.PLAINTEXT:{this.tokenizer.state=En.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(c=>this.treeAdapter.isDocumentTypeNode(c));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,ke.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,ke.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(le.HTML,ke.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,w.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),s=r?a.lastIndexOf(r):a.length,o=a[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:u,endCol:f,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:u,endCol:f,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),s=n.type===vt.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===w.SVG&&this.treeAdapter.getTagName(n)===le.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===ke.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===w.MGLYPH||t.tagID===w.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,ke.HTML)}_processToken(t){switch(t.type){case vt.CHARACTER:{this.onCharacter(t);break}case vt.NULL_CHARACTER:{this.onNullCharacter(t);break}case vt.COMMENT:{this.onComment(t);break}case vt.DOCTYPE:{this.onDoctype(t);break}case vt.START_TAG:{this._processStartTag(t);break}case vt.END_TAG:{this.onEndTag(t);break}case vt.EOF:{this.onEof(t);break}case vt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return FQ(t,a,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===cs.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const s=this.activeFormattingElements.entries[a];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=K.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(w.P),this.openElements.popUntilTagNamePopped(w.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case w.TR:{this.insertionMode=K.IN_ROW;return}case w.TBODY:case w.THEAD:case w.TFOOT:{this.insertionMode=K.IN_TABLE_BODY;return}case w.CAPTION:{this.insertionMode=K.IN_CAPTION;return}case w.COLGROUP:{this.insertionMode=K.IN_COLUMN_GROUP;return}case w.TABLE:{this.insertionMode=K.IN_TABLE;return}case w.BODY:{this.insertionMode=K.IN_BODY;return}case w.FRAMESET:{this.insertionMode=K.IN_FRAMESET;return}case w.SELECT:{this._resetInsertionModeForSelect(t);return}case w.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case w.HTML:{this.insertionMode=this.headElement?K.AFTER_HEAD:K.BEFORE_HEAD;return}case w.TD:case w.TH:{if(t>0){this.insertionMode=K.IN_CELL;return}break}case w.HEAD:{if(t>0){this.insertionMode=K.IN_HEAD;return}break}}this.insertionMode=K.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===w.TEMPLATE)break;if(r===w.TABLE){this.insertionMode=K.IN_SELECT_IN_TABLE;return}}this.insertionMode=K.IN_SELECT}_isElementCausesFosterParenting(t){return TC.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case w.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===ke.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case w.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return fQ[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){wK(this,t);return}switch(this.insertionMode){case K.INITIAL:{od(this,t);break}case K.BEFORE_HTML:{Cd(this,t);break}case K.BEFORE_HEAD:{kd(this,t);break}case K.IN_HEAD:{Nd(this,t);break}case K.IN_HEAD_NO_SCRIPT:{Rd(this,t);break}case K.AFTER_HEAD:{Od(this,t);break}case K.IN_BODY:case K.IN_CAPTION:case K.IN_CELL:case K.IN_TEMPLATE:{SC(this,t);break}case K.TEXT:case K.IN_SELECT:case K.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case K.IN_TABLE:case K.IN_TABLE_BODY:case K.IN_ROW:{rb(this,t);break}case K.IN_TABLE_TEXT:{DC(this,t);break}case K.IN_COLUMN_GROUP:{cm(this,t);break}case K.AFTER_BODY:{um(this,t);break}case K.AFTER_AFTER_BODY:{Ih(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EK(this,t);return}switch(this.insertionMode){case K.INITIAL:{od(this,t);break}case K.BEFORE_HTML:{Cd(this,t);break}case K.BEFORE_HEAD:{kd(this,t);break}case K.IN_HEAD:{Nd(this,t);break}case K.IN_HEAD_NO_SCRIPT:{Rd(this,t);break}case K.AFTER_HEAD:{Od(this,t);break}case K.TEXT:{this._insertCharacters(t);break}case K.IN_TABLE:case K.IN_TABLE_BODY:case K.IN_ROW:{rb(this,t);break}case K.IN_COLUMN_GROUP:{cm(this,t);break}case K.AFTER_BODY:{um(this,t);break}case K.AFTER_AFTER_BODY:{Ih(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){A2(this,t);return}switch(this.insertionMode){case K.INITIAL:case K.BEFORE_HTML:case K.BEFORE_HEAD:case K.IN_HEAD:case K.IN_HEAD_NO_SCRIPT:case K.AFTER_HEAD:case K.IN_BODY:case K.IN_TABLE:case K.IN_CAPTION:case K.IN_COLUMN_GROUP:case K.IN_TABLE_BODY:case K.IN_ROW:case K.IN_CELL:case K.IN_SELECT:case K.IN_SELECT_IN_TABLE:case K.IN_TEMPLATE:case K.IN_FRAMESET:case K.AFTER_FRAMESET:{A2(this,t);break}case K.IN_TABLE_TEXT:{ld(this,t);break}case K.AFTER_BODY:{JQ(this,t);break}case K.AFTER_AFTER_BODY:case K.AFTER_AFTER_FRAMESET:{eW(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case K.INITIAL:{tW(this,t);break}case K.BEFORE_HEAD:case K.IN_HEAD:case K.IN_HEAD_NO_SCRIPT:case K.AFTER_HEAD:{this._err(t,ve.misplacedDoctype);break}case K.IN_TABLE_TEXT:{ld(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,ve.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?_K(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case K.INITIAL:{od(this,t);break}case K.BEFORE_HTML:{nW(this,t);break}case K.BEFORE_HEAD:{aW(this,t);break}case K.IN_HEAD:{Ga(this,t);break}case K.IN_HEAD_NO_SCRIPT:{oW(this,t);break}case K.AFTER_HEAD:{cW(this,t);break}case K.IN_BODY:{mr(this,t);break}case K.IN_TABLE:{zc(this,t);break}case K.IN_TABLE_TEXT:{ld(this,t);break}case K.IN_CAPTION:{sK(this,t);break}case K.IN_COLUMN_GROUP:{_y(this,t);break}case K.IN_TABLE_BODY:{bp(this,t);break}case K.IN_ROW:{vp(this,t);break}case K.IN_CELL:{lK(this,t);break}case K.IN_SELECT:{PC(this,t);break}case K.IN_SELECT_IN_TABLE:{uK(this,t);break}case K.IN_TEMPLATE:{fK(this,t);break}case K.AFTER_BODY:{mK(this,t);break}case K.IN_FRAMESET:{pK(this,t);break}case K.AFTER_FRAMESET:{xK(this,t);break}case K.AFTER_AFTER_BODY:{vK(this,t);break}case K.AFTER_AFTER_FRAMESET:{yK(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?TK(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case K.INITIAL:{od(this,t);break}case K.BEFORE_HTML:{rW(this,t);break}case K.BEFORE_HEAD:{sW(this,t);break}case K.IN_HEAD:{iW(this,t);break}case K.IN_HEAD_NO_SCRIPT:{lW(this,t);break}case K.AFTER_HEAD:{uW(this,t);break}case K.IN_BODY:{xp(this,t);break}case K.TEXT:{WW(this,t);break}case K.IN_TABLE:{Vd(this,t);break}case K.IN_TABLE_TEXT:{ld(this,t);break}case K.IN_CAPTION:{iK(this,t);break}case K.IN_COLUMN_GROUP:{oK(this,t);break}case K.IN_TABLE_BODY:{S2(this,t);break}case K.IN_ROW:{MC(this,t);break}case K.IN_CELL:{cK(this,t);break}case K.IN_SELECT:{LC(this,t);break}case K.IN_SELECT_IN_TABLE:{dK(this,t);break}case K.IN_TEMPLATE:{hK(this,t);break}case K.AFTER_BODY:{BC(this,t);break}case K.IN_FRAMESET:{gK(this,t);break}case K.AFTER_FRAMESET:{bK(this,t);break}case K.AFTER_AFTER_BODY:{Ih(this,t);break}}}onEof(t){switch(this.insertionMode){case K.INITIAL:{od(this,t);break}case K.BEFORE_HTML:{Cd(this,t);break}case K.BEFORE_HEAD:{kd(this,t);break}case K.IN_HEAD:{Nd(this,t);break}case K.IN_HEAD_NO_SCRIPT:{Rd(this,t);break}case K.AFTER_HEAD:{Od(this,t);break}case K.IN_BODY:case K.IN_TABLE:case K.IN_CAPTION:case K.IN_COLUMN_GROUP:case K.IN_TABLE_BODY:case K.IN_ROW:case K.IN_CELL:case K.IN_SELECT:case K.IN_SELECT_IN_TABLE:{RC(this,t);break}case K.TEXT:{KW(this,t);break}case K.IN_TABLE_TEXT:{ld(this,t);break}case K.IN_TEMPLATE:{jC(this,t);break}case K.AFTER_BODY:case K.IN_FRAMESET:case K.AFTER_FRAMESET:case K.AFTER_AFTER_BODY:case K.AFTER_AFTER_FRAMESET:{wy(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===z.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case K.IN_HEAD:case K.IN_HEAD_NO_SCRIPT:case K.AFTER_HEAD:case K.TEXT:case K.IN_COLUMN_GROUP:case K.IN_SELECT:case K.IN_SELECT_IN_TABLE:case K.IN_FRAMESET:case K.AFTER_FRAMESET:{this._insertCharacters(t);break}case K.IN_BODY:case K.IN_CAPTION:case K.IN_CELL:case K.IN_TEMPLATE:case K.AFTER_BODY:case K.AFTER_AFTER_BODY:case K.AFTER_AFTER_FRAMESET:{AC(this,t);break}case K.IN_TABLE:case K.IN_TABLE_BODY:case K.IN_ROW:{rb(this,t);break}case K.IN_TABLE_TEXT:{OC(this,t);break}}}}function YQ(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):NC(e,t),n}function QQ(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function WQ(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let s=0,o=a;o!==n;s++,o=a){a=e.openElements.getCommonAncestor(o);const c=e.activeFormattingElements.getElementEntry(o),u=c&&s>=VQ;!c||u?(u&&e.activeFormattingElements.removeEntry(c),e.openElements.remove(o)):(o=KQ(e,c),r===t&&(e.activeFormattingElements.bookmark=c),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function KQ(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function XQ(e,t,n){const r=e.treeAdapter.getTagName(t),a=Zc(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);a===w.TEMPLATE&&s===ke.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ZQ(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,s=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,a.tagID)}function Ey(e,t){for(let n=0;n<$Q;n++){const r=YQ(e,t);if(!r)break;const a=QQ(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const s=WQ(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),o&&XQ(e,o,s),ZQ(e,a,r)}}function A2(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function JQ(e,t){e._appendCommentNode(t,e.openElements.items[0])}function eW(e,t){e._appendCommentNode(t,e.document)}function wy(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(s);o&&!o.endTag&&e._setEndLocation(s,t)}}}}function tW(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ea.QUIRKS:OQ(t);RQ(t)||e._err(t,ve.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=K.BEFORE_HTML}function od(e,t){e._err(t,ve.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ea.QUIRKS),e.insertionMode=K.BEFORE_HTML,e._processToken(t)}function nW(e,t){t.tagID===w.HTML?(e._insertElement(t,ke.HTML),e.insertionMode=K.BEFORE_HEAD):Cd(e,t)}function rW(e,t){const n=t.tagID;(n===w.HTML||n===w.HEAD||n===w.BODY||n===w.BR)&&Cd(e,t)}function Cd(e,t){e._insertFakeRootElement(),e.insertionMode=K.BEFORE_HEAD,e._processToken(t)}function aW(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.HEAD:{e._insertElement(t,ke.HTML),e.headElement=e.openElements.current,e.insertionMode=K.IN_HEAD;break}default:kd(e,t)}}function sW(e,t){const n=t.tagID;n===w.HEAD||n===w.BODY||n===w.HTML||n===w.BR?kd(e,t):e._err(t,ve.endTagWithoutMatchingOpenElement)}function kd(e,t){e._insertFakeElement(le.HEAD,w.HEAD),e.headElement=e.openElements.current,e.insertionMode=K.IN_HEAD,e._processToken(t)}function Ga(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case w.TITLE:{e._switchToTextParsing(t,En.RCDATA);break}case w.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,En.RAWTEXT):(e._insertElement(t,ke.HTML),e.insertionMode=K.IN_HEAD_NO_SCRIPT);break}case w.NOFRAMES:case w.STYLE:{e._switchToTextParsing(t,En.RAWTEXT);break}case w.SCRIPT:{e._switchToTextParsing(t,En.SCRIPT_DATA);break}case w.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=K.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(K.IN_TEMPLATE);break}case w.HEAD:{e._err(t,ve.misplacedStartTagForHeadElement);break}default:Nd(e,t)}}function iW(e,t){switch(t.tagID){case w.HEAD:{e.openElements.pop(),e.insertionMode=K.AFTER_HEAD;break}case w.BODY:case w.BR:case w.HTML:{Nd(e,t);break}case w.TEMPLATE:{gl(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function gl(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==w.TEMPLATE&&e._err(t,ve.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(w.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ve.endTagWithoutMatchingOpenElement)}function Nd(e,t){e.openElements.pop(),e.insertionMode=K.AFTER_HEAD,e._processToken(t)}function oW(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.BASEFONT:case w.BGSOUND:case w.HEAD:case w.LINK:case w.META:case w.NOFRAMES:case w.STYLE:{Ga(e,t);break}case w.NOSCRIPT:{e._err(t,ve.nestedNoscriptInHead);break}default:Rd(e,t)}}function lW(e,t){switch(t.tagID){case w.NOSCRIPT:{e.openElements.pop(),e.insertionMode=K.IN_HEAD;break}case w.BR:{Rd(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function Rd(e,t){const n=t.type===vt.EOF?ve.openElementsLeftAfterEof:ve.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=K.IN_HEAD,e._processToken(t)}function cW(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.BODY:{e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=K.IN_BODY;break}case w.FRAMESET:{e._insertElement(t,ke.HTML),e.insertionMode=K.IN_FRAMESET;break}case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:case w.NOFRAMES:case w.SCRIPT:case w.STYLE:case w.TEMPLATE:case w.TITLE:{e._err(t,ve.abandonedHeadElementChild),e.openElements.push(e.headElement,w.HEAD),Ga(e,t),e.openElements.remove(e.headElement);break}case w.HEAD:{e._err(t,ve.misplacedStartTagForHeadElement);break}default:Od(e,t)}}function uW(e,t){switch(t.tagID){case w.BODY:case w.HTML:case w.BR:{Od(e,t);break}case w.TEMPLATE:{gl(e,t);break}default:e._err(t,ve.endTagWithoutMatchingOpenElement)}}function Od(e,t){e._insertFakeElement(le.BODY,w.BODY),e.insertionMode=K.IN_BODY,gp(e,t)}function gp(e,t){switch(t.type){case vt.CHARACTER:{SC(e,t);break}case vt.WHITESPACE_CHARACTER:{AC(e,t);break}case vt.COMMENT:{A2(e,t);break}case vt.START_TAG:{mr(e,t);break}case vt.END_TAG:{xp(e,t);break}case vt.EOF:{RC(e,t);break}}}function AC(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function SC(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function dW(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function fW(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function hW(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_FRAMESET)}function mW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML)}function pW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&T2.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ke.HTML)}function gW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function xW(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML),n||(e.formElement=e.openElements.current))}function bW(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===w.LI&&a===w.LI||(n===w.DD||n===w.DT)&&(a===w.DD||a===w.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==w.ADDRESS&&a!==w.DIV&&a!==w.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML)}function vW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.tokenizer.state=En.PLAINTEXT}function yW(e,t){e.openElements.hasInScope(w.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.framesetOk=!1}function EW(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(le.A);n&&(Ey(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wW(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function _W(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(w.NOBR)&&(Ey(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TW(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function AW(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ea.QUIRKS&&e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=K.IN_TABLE}function CC(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ke.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function kC(e){const t=gC(e,Ko.TYPE);return t!=null&&t.toLowerCase()===qQ}function SW(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ke.HTML),kC(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function CW(e,t){e._appendElement(t,ke.HTML),t.ackSelfClosing=!0}function kW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._appendElement(t,ke.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function NW(e,t){t.tagName=le.IMG,t.tagID=w.IMG,CC(e,t)}function RW(e,t){e._insertElement(t,ke.HTML),e.skipNextNewLine=!0,e.tokenizer.state=En.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=K.TEXT}function OW(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,En.RAWTEXT)}function DW(e,t){e.framesetOk=!1,e._switchToTextParsing(t,En.RAWTEXT)}function dw(e,t){e._switchToTextParsing(t,En.RAWTEXT)}function IW(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===K.IN_TABLE||e.insertionMode===K.IN_CAPTION||e.insertionMode===K.IN_TABLE_BODY||e.insertionMode===K.IN_ROW||e.insertionMode===K.IN_CELL?K.IN_SELECT_IN_TABLE:K.IN_SELECT}function MW(e,t){e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML)}function PW(e,t){e.openElements.hasInScope(w.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ke.HTML)}function LW(e,t){e.openElements.hasInScope(w.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(w.RTC),e._insertElement(t,ke.HTML)}function jW(e,t){e._reconstructActiveFormattingElements(),wC(t),yy(t),t.selfClosing?e._appendElement(t,ke.MATHML):e._insertElement(t,ke.MATHML),t.ackSelfClosing=!0}function BW(e,t){e._reconstructActiveFormattingElements(),_C(t),yy(t),t.selfClosing?e._appendElement(t,ke.SVG):e._insertElement(t,ke.SVG),t.ackSelfClosing=!0}function fw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML)}function mr(e,t){switch(t.tagID){case w.I:case w.S:case w.B:case w.U:case w.EM:case w.TT:case w.BIG:case w.CODE:case w.FONT:case w.SMALL:case w.STRIKE:case w.STRONG:{wW(e,t);break}case w.A:{EW(e,t);break}case w.H1:case w.H2:case w.H3:case w.H4:case w.H5:case w.H6:{pW(e,t);break}case w.P:case w.DL:case w.OL:case w.UL:case w.DIV:case w.DIR:case w.NAV:case w.MAIN:case w.MENU:case w.ASIDE:case w.CENTER:case w.FIGURE:case w.FOOTER:case w.HEADER:case w.HGROUP:case w.DIALOG:case w.DETAILS:case w.ADDRESS:case w.ARTICLE:case w.SEARCH:case w.SECTION:case w.SUMMARY:case w.FIELDSET:case w.BLOCKQUOTE:case w.FIGCAPTION:{mW(e,t);break}case w.LI:case w.DD:case w.DT:{bW(e,t);break}case w.BR:case w.IMG:case w.WBR:case w.AREA:case w.EMBED:case w.KEYGEN:{CC(e,t);break}case w.HR:{kW(e,t);break}case w.RB:case w.RTC:{PW(e,t);break}case w.RT:case w.RP:{LW(e,t);break}case w.PRE:case w.LISTING:{gW(e,t);break}case w.XMP:{OW(e,t);break}case w.SVG:{BW(e,t);break}case w.HTML:{dW(e,t);break}case w.BASE:case w.LINK:case w.META:case w.STYLE:case w.TITLE:case w.SCRIPT:case w.BGSOUND:case w.BASEFONT:case w.TEMPLATE:{Ga(e,t);break}case w.BODY:{fW(e,t);break}case w.FORM:{xW(e,t);break}case w.NOBR:{_W(e,t);break}case w.MATH:{jW(e,t);break}case w.TABLE:{AW(e,t);break}case w.INPUT:{SW(e,t);break}case w.PARAM:case w.TRACK:case w.SOURCE:{CW(e,t);break}case w.IMAGE:{NW(e,t);break}case w.BUTTON:{yW(e,t);break}case w.APPLET:case w.OBJECT:case w.MARQUEE:{TW(e,t);break}case w.IFRAME:{DW(e,t);break}case w.SELECT:{IW(e,t);break}case w.OPTION:case w.OPTGROUP:{MW(e,t);break}case w.NOEMBED:case w.NOFRAMES:{dw(e,t);break}case w.FRAMESET:{hW(e,t);break}case w.TEXTAREA:{RW(e,t);break}case w.NOSCRIPT:{e.options.scriptingEnabled?dw(e,t):fw(e,t);break}case w.PLAINTEXT:{vW(e,t);break}case w.COL:case w.TH:case w.TD:case w.TR:case w.HEAD:case w.FRAME:case w.TBODY:case w.TFOOT:case w.THEAD:case w.CAPTION:case w.COLGROUP:break;default:fw(e,t)}}function zW(e,t){if(e.openElements.hasInScope(w.BODY)&&(e.insertionMode=K.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function HW(e,t){e.openElements.hasInScope(w.BODY)&&(e.insertionMode=K.AFTER_BODY,BC(e,t))}function UW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function FW(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(w.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(w.FORM):n&&e.openElements.remove(n))}function qW(e){e.openElements.hasInButtonScope(w.P)||e._insertFakeElement(le.P,w.P),e._closePElement()}function $W(e){e.openElements.hasInListItemScope(w.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(w.LI),e.openElements.popUntilTagNamePopped(w.LI))}function VW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function GW(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function YW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function QW(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(le.BR,w.BR),e.openElements.pop(),e.framesetOk=!1}function NC(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==w.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(s,o))break}}function xp(e,t){switch(t.tagID){case w.A:case w.B:case w.I:case w.S:case w.U:case w.EM:case w.TT:case w.BIG:case w.CODE:case w.FONT:case w.NOBR:case w.SMALL:case w.STRIKE:case w.STRONG:{Ey(e,t);break}case w.P:{qW(e);break}case w.DL:case w.UL:case w.OL:case w.DIR:case w.DIV:case w.NAV:case w.PRE:case w.MAIN:case w.MENU:case w.ASIDE:case w.BUTTON:case w.CENTER:case w.FIGURE:case w.FOOTER:case w.HEADER:case w.HGROUP:case w.DIALOG:case w.ADDRESS:case w.ARTICLE:case w.DETAILS:case w.SEARCH:case w.SECTION:case w.SUMMARY:case w.LISTING:case w.FIELDSET:case w.BLOCKQUOTE:case w.FIGCAPTION:{UW(e,t);break}case w.LI:{$W(e);break}case w.DD:case w.DT:{VW(e,t);break}case w.H1:case w.H2:case w.H3:case w.H4:case w.H5:case w.H6:{GW(e);break}case w.BR:{QW(e);break}case w.BODY:{zW(e,t);break}case w.HTML:{HW(e,t);break}case w.FORM:{FW(e);break}case w.APPLET:case w.OBJECT:case w.MARQUEE:{YW(e,t);break}case w.TEMPLATE:{gl(e,t);break}default:NC(e,t)}}function RC(e,t){e.tmplInsertionModeStack.length>0?jC(e,t):wy(e,t)}function WW(e,t){var n;t.tagID===w.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function KW(e,t){e._err(t,ve.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function rb(e,t){if(e.openElements.currentTagId!==void 0&&TC.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=K.IN_TABLE_TEXT,t.type){case vt.CHARACTER:{DC(e,t);break}case vt.WHITESPACE_CHARACTER:{OC(e,t);break}}else b0(e,t)}function XW(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_CAPTION}function ZW(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_COLUMN_GROUP}function JW(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(le.COLGROUP,w.COLGROUP),e.insertionMode=K.IN_COLUMN_GROUP,_y(e,t)}function eK(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_TABLE_BODY}function tK(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(le.TBODY,w.TBODY),e.insertionMode=K.IN_TABLE_BODY,bp(e,t)}function nK(e,t){e.openElements.hasInTableScope(w.TABLE)&&(e.openElements.popUntilTagNamePopped(w.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function rK(e,t){kC(t)?e._appendElement(t,ke.HTML):b0(e,t),t.ackSelfClosing=!0}function aK(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ke.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function zc(e,t){switch(t.tagID){case w.TD:case w.TH:case w.TR:{tK(e,t);break}case w.STYLE:case w.SCRIPT:case w.TEMPLATE:{Ga(e,t);break}case w.COL:{JW(e,t);break}case w.FORM:{aK(e,t);break}case w.TABLE:{nK(e,t);break}case w.TBODY:case w.TFOOT:case w.THEAD:{eK(e,t);break}case w.INPUT:{rK(e,t);break}case w.CAPTION:{XW(e,t);break}case w.COLGROUP:{ZW(e,t);break}default:b0(e,t)}}function Vd(e,t){switch(t.tagID){case w.TABLE:{e.openElements.hasInTableScope(w.TABLE)&&(e.openElements.popUntilTagNamePopped(w.TABLE),e._resetInsertionMode());break}case w.TEMPLATE:{gl(e,t);break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TBODY:case w.TD:case w.TFOOT:case w.TH:case w.THEAD:case w.TR:break;default:b0(e,t)}}function b0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,gp(e,t),e.fosterParentingEnabled=n}function OC(e,t){e.pendingCharacterTokens.push(t)}function DC(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ld(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)b0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const IC=new Set([w.CAPTION,w.COL,w.COLGROUP,w.TBODY,w.TD,w.TFOOT,w.TH,w.THEAD,w.TR]);function sK(e,t){const n=t.tagID;IC.has(n)?e.openElements.hasInTableScope(w.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=K.IN_TABLE,zc(e,t)):mr(e,t)}function iK(e,t){const n=t.tagID;switch(n){case w.CAPTION:case w.TABLE:{e.openElements.hasInTableScope(w.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=K.IN_TABLE,n===w.TABLE&&Vd(e,t));break}case w.BODY:case w.COL:case w.COLGROUP:case w.HTML:case w.TBODY:case w.TD:case w.TFOOT:case w.TH:case w.THEAD:case w.TR:break;default:xp(e,t)}}function _y(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.COL:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case w.TEMPLATE:{Ga(e,t);break}default:cm(e,t)}}function oK(e,t){switch(t.tagID){case w.COLGROUP:{e.openElements.currentTagId===w.COLGROUP&&(e.openElements.pop(),e.insertionMode=K.IN_TABLE);break}case w.TEMPLATE:{gl(e,t);break}case w.COL:break;default:cm(e,t)}}function cm(e,t){e.openElements.currentTagId===w.COLGROUP&&(e.openElements.pop(),e.insertionMode=K.IN_TABLE,e._processToken(t))}function bp(e,t){switch(t.tagID){case w.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_ROW;break}case w.TH:case w.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(le.TR,w.TR),e.insertionMode=K.IN_ROW,vp(e,t);break}case w.CAPTION:case w.COL:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE,zc(e,t));break}default:zc(e,t)}}function S2(e,t){const n=t.tagID;switch(t.tagID){case w.TBODY:case w.TFOOT:case w.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE);break}case w.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE,Vd(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TD:case w.TH:case w.TR:break;default:Vd(e,t)}}function vp(e,t){switch(t.tagID){case w.TH:case w.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,ke.HTML),e.insertionMode=K.IN_CELL,e.activeFormattingElements.insertMarker();break}case w.CAPTION:case w.COL:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:case w.TR:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE_BODY,bp(e,t));break}default:zc(e,t)}}function MC(e,t){switch(t.tagID){case w.TR:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE_BODY);break}case w.TABLE:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE_BODY,S2(e,t));break}case w.TBODY:case w.TFOOT:case w.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(w.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=K.IN_TABLE_BODY,S2(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TD:case w.TH:break;default:Vd(e,t)}}function lK(e,t){const n=t.tagID;IC.has(n)?(e.openElements.hasInTableScope(w.TD)||e.openElements.hasInTableScope(w.TH))&&(e._closeTableCell(),vp(e,t)):mr(e,t)}function cK(e,t){const n=t.tagID;switch(n){case w.TD:case w.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=K.IN_ROW);break}case w.TABLE:case w.TBODY:case w.TFOOT:case w.THEAD:case w.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),MC(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:break;default:xp(e,t)}}function PC(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.OPTION:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e._insertElement(t,ke.HTML);break}case w.OPTGROUP:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ke.HTML);break}case w.HR:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case w.INPUT:case w.KEYGEN:case w.TEXTAREA:case w.SELECT:{e.openElements.hasInSelectScope(w.SELECT)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),t.tagID!==w.SELECT&&e._processStartTag(t));break}case w.SCRIPT:case w.TEMPLATE:{Ga(e,t);break}}}function LC(e,t){switch(t.tagID){case w.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===w.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===w.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop();break}case w.OPTION:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop();break}case w.SELECT:{e.openElements.hasInSelectScope(w.SELECT)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode());break}case w.TEMPLATE:{gl(e,t);break}}}function uK(e,t){const n=t.tagID;n===w.CAPTION||n===w.TABLE||n===w.TBODY||n===w.TFOOT||n===w.THEAD||n===w.TR||n===w.TD||n===w.TH?(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),e._processStartTag(t)):PC(e,t)}function dK(e,t){const n=t.tagID;n===w.CAPTION||n===w.TABLE||n===w.TBODY||n===w.TFOOT||n===w.THEAD||n===w.TR||n===w.TD||n===w.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),e.onEndTag(t)):LC(e,t)}function fK(e,t){switch(t.tagID){case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:case w.NOFRAMES:case w.SCRIPT:case w.STYLE:case w.TEMPLATE:case w.TITLE:{Ga(e,t);break}case w.CAPTION:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:{e.tmplInsertionModeStack[0]=K.IN_TABLE,e.insertionMode=K.IN_TABLE,zc(e,t);break}case w.COL:{e.tmplInsertionModeStack[0]=K.IN_COLUMN_GROUP,e.insertionMode=K.IN_COLUMN_GROUP,_y(e,t);break}case w.TR:{e.tmplInsertionModeStack[0]=K.IN_TABLE_BODY,e.insertionMode=K.IN_TABLE_BODY,bp(e,t);break}case w.TD:case w.TH:{e.tmplInsertionModeStack[0]=K.IN_ROW,e.insertionMode=K.IN_ROW,vp(e,t);break}default:e.tmplInsertionModeStack[0]=K.IN_BODY,e.insertionMode=K.IN_BODY,mr(e,t)}}function hK(e,t){t.tagID===w.TEMPLATE&&gl(e,t)}function jC(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(w.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):wy(e,t)}function mK(e,t){t.tagID===w.HTML?mr(e,t):um(e,t)}function BC(e,t){var n;if(t.tagID===w.HTML){if(e.fragmentContext||(e.insertionMode=K.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===w.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else um(e,t)}function um(e,t){e.insertionMode=K.IN_BODY,gp(e,t)}function pK(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.FRAMESET:{e._insertElement(t,ke.HTML);break}case w.FRAME:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case w.NOFRAMES:{Ga(e,t);break}}}function gK(e,t){t.tagID===w.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==w.FRAMESET&&(e.insertionMode=K.AFTER_FRAMESET))}function xK(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.NOFRAMES:{Ga(e,t);break}}}function bK(e,t){t.tagID===w.HTML&&(e.insertionMode=K.AFTER_AFTER_FRAMESET)}function vK(e,t){t.tagID===w.HTML?mr(e,t):Ih(e,t)}function Ih(e,t){e.insertionMode=K.IN_BODY,gp(e,t)}function yK(e,t){switch(t.tagID){case w.HTML:{mr(e,t);break}case w.NOFRAMES:{Ga(e,t);break}}}function EK(e,t){t.chars=an,e._insertCharacters(t)}function wK(e,t){e._insertCharacters(t),e.framesetOk=!1}function zC(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ke.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function _K(e,t){if(BQ(t))zC(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ke.MATHML?wC(t):r===ke.SVG&&(zQ(t),_C(t)),yy(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function TK(e,t){if(t.tagID===w.P||t.tagID===w.BR){zC(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===ke.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}le.AREA,le.BASE,le.BASEFONT,le.BGSOUND,le.BR,le.COL,le.EMBED,le.FRAME,le.HR,le.IMG,le.INPUT,le.KEYGEN,le.LINK,le.META,le.PARAM,le.SOURCE,le.TRACK,le.WBR;const AK=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,SK=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),hw={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function HC(e,t){const n=LK(e),r=by("type",{handlers:{root:CK,element:kK,text:NK,comment:FC,doctype:RK,raw:DK},unknown:IK}),a={parser:n?new uw(hw):uw.getFragmentParser(void 0,hw),handle(c){r(c,a)},stitches:!1,options:t||{}};r(e,a),Jc(a,_s());const s=n?a.parser.document:a.parser.getFragment(),o=kY(s,{file:a.options.file});return a.stitches&&rl(o,"comment",function(c,u,f){const p=c;if(p.value.stitch&&f&&u!==void 0){const m=f.children;return m[u]=p.value.stitch,u}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function UC(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function CK(e,t){UC(e.children,t)}function kK(e,t){MK(e,t),UC(e.children,t),PK(e,t)}function NK(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:vt.CHARACTER,chars:e.value,location:v0(e)};Jc(t,_s(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function RK(e,t){const n={type:vt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:v0(e)};Jc(t,_s(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function OK(e,t){t.stitches=!0;const n=jK(e);if("children"in e&&"children"in n){const r=HC({type:"root",children:e.children},t.options);n.children=r.children}FC({type:"comment",value:{stitch:n}},t)}function FC(e,t){const n=e.value,r={type:vt.COMMENT,data:n,location:v0(e)};Jc(t,_s(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function DK(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,qC(t,_s(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(AK,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function IK(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))OK(n,t);else{let r="";throw SK.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Jc(e,t){qC(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=En.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function qC(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function MK(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===En.PLAINTEXT)return;Jc(t,_s(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:fs.html;a===fs.html&&n==="svg"&&(a=fs.svg);const s=qY({...e,children:[]},{space:a===fs.svg?"svg":"html"}),o={type:vt.START_TAG,tagName:n,tagID:Zc(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:v0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function PK(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&fC.includes(n)||t.parser.tokenizer.state===En.PLAINTEXT)return;Jc(t,ap(e));const r={type:vt.END_TAG,tagName:n,tagID:Zc(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:v0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===En.RCDATA||t.parser.tokenizer.state===En.RAWTEXT||t.parser.tokenizer.state===En.SCRIPT_DATA)&&(t.parser.tokenizer.state=En.DATA)}function LK(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function v0(e){const t=_s(e)||{line:void 0,column:void 0,offset:void 0},n=ap(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function jK(e){return"children"in e?jc({...e,children:[]}):jc(e)}function BK(e){return function(t,n){return HC(t,{...e,file:n})}}function dm(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function zK(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function HK(e,t,n){const a=f0((n||{}).ignore||[]),s=UK(t);let o=-1;for(;++o<s.length;)Yv(e,"text",c);function c(f,p){let m=-1,x;for(;++m<p.length;){const v=p[m],E=x?x.children:void 0;if(a(v,E?E.indexOf(v):void 0,x))return;x=v}if(x)return u(f,p)}function u(f,p){const m=p[p.length-1],x=s[o][0],v=s[o][1];let E=0;const k=m.children.indexOf(f);let S=!1,O=[];x.lastIndex=0;let R=x.exec(f.value);for(;R;){const q=R.index,H={index:R.index,input:R.input,stack:[...p,f]};let L=v(...R,H);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?x.lastIndex=q+1:(E!==q&&O.push({type:"text",value:f.value.slice(E,q)}),Array.isArray(L)?O.push(...L):L&&O.push(L),E=q+R[0].length,S=!0),!x.global)break;R=x.exec(f.value)}return S?(E<f.value.length&&O.push({type:"text",value:f.value.slice(E)}),m.children.splice(k,1,...O)):O=[f],k+O.length}}function UK(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const a=n[r];t.push([FK(a[0]),qK(a[1])])}return t}function FK(e){return typeof e=="string"?new RegExp(zK(e),"g"):e}function qK(e){return typeof e=="function"?e:function(){return e}}const ab="phrasing",sb=["autolink","link","image","label"];function $K(){return{transforms:[XK],enter:{literalAutolink:GK,literalAutolinkEmail:ib,literalAutolinkHttp:ib,literalAutolinkWww:ib},exit:{literalAutolink:KK,literalAutolinkEmail:WK,literalAutolinkHttp:YK,literalAutolinkWww:QK}}}function VK(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ab,notInConstruct:sb},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ab,notInConstruct:sb},{character:":",before:"[ps]",after:"\\/",inConstruct:ab,notInConstruct:sb}]}}function GK(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ib(e){this.config.enter.autolinkProtocol.call(this,e)}function YK(e){this.config.exit.autolinkProtocol.call(this,e)}function QK(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function WK(e){this.config.exit.autolinkEmail.call(this,e)}function KK(e){this.exit(e)}function XK(e){HK(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ZK],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
675)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),JK]],{ignore:["link","linkReference"]})}function ZK(e,t,n,r,a){let s="";if(!$C(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!eX(n)))return!1;const o=tX(n+r);if(!o[0])return!1;const c={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[c,{type:"text",value:o[1]}]:c}function JK(e,t,n,r){return!$C(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function eX(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function tX(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=dm(e,"(");let s=dm(e,")");for(;r!==-1&&a>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function $C(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||nl(n)||sp(n))&&(!t||n!==47)}VC.peek=uX;function nX(){this.buffer()}function rX(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function aX(){this.buffer()}function sX(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function iX(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=za(this.sliceSerialize(e)).toLowerCase(),n.label=t}function oX(e){this.exit(e)}function lX(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=za(this.sliceSerialize(e)).toLowerCase(),n.label=t}function cX(e){this.exit(e)}function uX(){return"["}function VC(e,t,n,r){const a=n.createTracker(r);let s=a.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return s+=a.move(n.safe(n.associationId(e),{after:"]",before:s})),c(),o(),s+=a.move("]"),s}function dX(){return{enter:{gfmFootnoteCallString:nX,gfmFootnoteCall:rX,gfmFootnoteDefinitionLabelString:aX,gfmFootnoteDefinition:sX},exit:{gfmFootnoteCallString:iX,gfmFootnoteCall:oX,gfmFootnoteDefinitionLabelString:lX,gfmFootnoteDefinition:cX}}}function fX(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:VC},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,s,o){const c=s.createTracker(o);let u=c.move("[^");const f=s.enter("footnoteDefinition"),p=s.enter("label");return u+=c.move(s.safe(s.associationId(r),{before:u,after:"]"})),p(),u+=c.move("]:"),r.children&&r.children.length>0&&(c.shift(4),u+=c.move((t?` 676`:" ")+s.indentLines(s.containerFlow(r,c.current()),t?GC:hX))),f(),u}}function hX(e,t,n){return t===0?e:GC(e,t,n)}function GC(e,t,n){return(n?"":" ")+e}const mX=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];YC.peek=vX;function pX(){return{canContainEols:["delete"],enter:{strikethrough:xX},exit:{strikethrough:bX}}}function gX(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:mX}],handlers:{delete:YC}}}function xX(e){this.enter({type:"delete",children:[]},e)}function bX(e){this.exit(e)}function YC(e,t,n,r){const a=n.createTracker(r),s=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),s(),o}function vX(){return"~"}function yX(e){return e.length}function EX(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||yX,s=[],o=[],c=[],u=[];let f=0,p=-1;for(;++p<e.length;){const _=[],k=[];let S=-1;for(e[p].length>f&&(f=e[p].length);++S<e[p].length;){const O=wX(e[p][S]);if(n.alignDelimiters!==!1){const R=a(O);k[S]=R,(u[S]===void 0||R>u[S])&&(u[S]=R)}_.push(O)}o[p]=_,c[p]=k}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<f;)s[m]=mw(r[m]);else{const _=mw(r);for(;++m<f;)s[m]=_}m=-1;const x=[],v=[];for(;++m<f;){const _=s[m];let k="",S="";_===99?(k=":",S=":"):_===108?k=":":_===114&&(S=":");let O=n.alignDelimiters===!1?1:Math.max(1,u[m]-k.length-S.length);const R=k+"-".repeat(O)+S;n.alignDelimiters!==!1&&(O=k.length+O+S.length,O>u[m]&&(u[m]=O),v[m]=O),x[m]=R}o.splice(1,0,x),c.splice(1,0,v),p=-1;const E=[];for(;++p<o.length;){const _=o[p],k=c[p];m=-1;const S=[];for(;++m<f;){const O=_[m]||"";let R="",q="";
vendor: 10,362 bytes, lines 676-688
676if(n.alignDelimiters!==!1){const H=u[m]-(k[m]||0),L=s[m];L===114?R=" ".repeat(H):L===99?H%2?(R=" ".repeat(H/2+.5),q=" ".repeat(H/2-.5)):(R=" ".repeat(H/2),q=R):q=" ".repeat(H)}n.delimiterStart!==!1&&!m&&S.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&O==="")&&(n.delimiterStart!==!1||m)&&S.push(" "),n.alignDelimiters!==!1&&S.push(R),S.push(O),n.alignDelimiters!==!1&&S.push(q),n.padding!==!1&&S.push(" "),(n.delimiterEnd!==!1||m!==f-1)&&S.push("|")}E.push(n.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return E.join(` 677`)}function wX(e){return e==null?"":String(e)}function mw(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function _X(e,t,n,r){const a=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),TX);return a(),o}function TX(e,t,n){return">"+(n?"":" ")+e}function AX(e,t){return pw(e,t.inConstruct,!0)&&!pw(e,t.notInConstruct,!1)}function pw(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function gw(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===` 678`&&AX(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\ 679`}function QC(e,t){const n=String(e);let r=n.indexOf(t),a=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++s>o&&(o=s):s=1,a=r+t.length,r=n.indexOf(t,a);return o}function SX(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function CX(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function kX(e,t,n,r){const a=CX(n),s=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(SX(e,n)){const m=n.enter("codeIndented"),x=n.indentLines(s,NX);return m(),x}const c=n.createTracker(r),u=a.repeat(Math.max(QC(s,a)+1,3)),f=n.enter("codeFenced");let p=c.move(u);if(e.lang){const m=n.enter(`codeFencedLang${o}`);p+=c.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...c.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${o}`);p+=c.move(" "),p+=c.move(n.safe(e.meta,{before:p,after:` 680`,encode:["`"],...c.current()})),m()}return p+=c.move(` 681`),s&&(p+=c.move(s+` 682`)),p+=c.move(u),f(),p}function NX(e,t,n){return(n?"":" ")+e}function Ty(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function RX(e,t,n,r){const a=Ty(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const u=n.createTracker(r);let f=u.move("[");return f+=u.move(n.safe(n.associationId(e),{before:f,after:"]",...u.current()})),f+=u.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(n.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(c=n.enter("destinationRaw"),f+=u.move(n.safe(e.url,{before:f,after:e.title?" ":` 683`,...u.current()}))),c(),e.title&&(c=n.enter(`title${s}`),f+=u.move(" "+a),f+=u.move(n.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),c()),o(),f}function OX(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Gd(e){return"&#x"+e.toString(16).toUpperCase()+";"}function fm(e,t,n){const r=Lc(e),a=Lc(t);return r===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}WC.peek=DX;function WC(e,t,n,r){const a=OX(n),s=n.enter("emphasis"),o=n.createTracker(r),c=o.move(a);let u=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const f=u.charCodeAt(0),p=fm(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(u=Gd(f)+u.slice(1));const m=u.charCodeAt(u.length-1),x=fm(r.after.charCodeAt(0),m,a);x.inside&&(u=u.slice(0,-1)+Gd(m));const v=o.move(a);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:p.outside},c+u+v}function DX(e,t,n){return n.options.emphasis||"*"}function IX(e,t){let n=!1;return rl(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,s2}),!!((!e.depth||e.depth<3)&&Hv(e)&&(t.options.setext||n))}function MX(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(IX(e,n)){const p=n.enter("headingSetext"),m=n.enter("phrasing"),x=n.containerPhrasing(e,{...s.current(),before:` 684`,after:` 685`});return m(),p(),x+` 686`+(a===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(` 687`))+1))}const o="#".repeat(a),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(o+" ");let f=n.containerPhrasing(e,{before:"# ",after:` 688`,...s.current()});return/^[\t ]/.test(f)&&(f=Gd(f.charCodeAt(0))+f.slice(1)),f=f?o+" "+f:o,n.options.closeAtx&&(f+=" "+o),u(),c(),f}KC.peek=PX;function KC(e){return e.value||""}function PX(){return"<"}XC.peek=LX;function XC(e,t,n,r){const a=Ty(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let c=n.enter("label");const u=n.createTracker(r);let f=u.move("![");return f+=u.move(n.safe(e.alt,{before:f,after:"]",...u.current()})),f+=u.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(n.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(c=n.enter("destinationRaw"),f+=u.move(n.safe(e.url,{before:f,after:e.title?" ":")",...u.current()}))),c(),e.title&&(c=n.enter(`title${s}`),f+=u.move(" "+a),f+=u.move(n.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),c()),f+=u.move(")"),o(),f}function LX(){return"!"}ZC.peek=jX;function ZC(e,t,n,r){const a=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(r);let u=c.move("![");const f=n.safe(e.alt,{before:u,after:"]",...c.current()});u+=c.move(f+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:u,after:"]",...c.current()});return o(),n.stack=p,s(),a==="full"||!f||f!==m?u+=c.move(m+"]"):a==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function jX(){return"!"}JC.peek=BX;function JC(e,t,n){let r=e.value||"",a="`",s=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],c=n.compilePattern(o);let u;if(o.atBreak)for(;u=c.exec(r);){let f=u.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(u.index+1)}}return a+r+a}function BX(){return"`"}function ek(e,t){const n=Hv(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}tk.peek=zX;function tk(e,t,n,r){const a=Ty(n),s=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let c,u;if(ek(e,n)){const p=n.stack;n.stack=[],c=n.enter("autolink");let m=o.move("<");return m+=o.move(n.containerPhrasing(e,{before:m,after:">",...o.current()})),m+=o.move(">"),c(),n.stack=p,m}c=n.enter("link"),u=n.enter("label");let f=o.move("[");return f+=o.move(n.containerPhrasing(e,{before:f,after:"](",...o.current()})),f+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=o.move("<"),f+=o.move(n.safe(e.url,{before:f,after:">",...o.current()})),f+=o.move(">")):(u=n.enter("destinationRaw"),f+=o.move(n.safe(e.url,{before:f,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${s}`),f+=o.move(" "+a),f+=o.move(n.safe(e.title,{before:f,after:a,...o.current()})),f+=o.move(a),u()),f+=o.move(")"),c(),f}function zX(e,t,n){return ek(e,n)?"<":"["}nk.peek=HX;function nk(e,t,n,r){const a=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(r);let u=c.move("[");const f=n.containerPhrasing(e,{before:u,after:"]",...c.current()});u+=c.move(f+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:u,after:"]",...c.current()});return o(),n.stack=p,s(),a==="full"||!f||f!==m?u+=c.move(m+"]"):a==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function HX(){return"["}function Ay(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function UX(e){const t=Ay(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function FX(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function rk(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function qX(e,t,n,r){const a=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?FX(n):Ay(n);const c=e.ordered?o==="."?")":".":UX(n);let u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),rk(n)===o&&p){let m=-1;for(;++m<e.children.length;){const x=e.children[m];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=c),n.bulletCurrent=o;const f=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,a(),f}function $X(e){const t=e.options.listItemIndent||"one";
vendor: 6,615 bytes, lines 688-690
688if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function VX(e,t,n,r){const a=$X(n);let s=n.bulletCurrent||Ay(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const c=n.createTracker(r);c.move(s+" ".repeat(o-s.length)),c.shift(o);const u=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,c.current()),p);return u(),f;function p(m,x,v){return x?(v?"":" ".repeat(o))+m:(v?s:s+" ".repeat(o-s.length))+m}}function GX(e,t,n,r){const a=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),a(),o}const YX=f0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function QX(e,t,n,r){return(e.children.some(function(o){return YX(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function WX(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ak.peek=KX;function ak(e,t,n,r){const a=WX(n),s=n.enter("strong"),o=n.createTracker(r),c=o.move(a+a);let u=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const f=u.charCodeAt(0),p=fm(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(u=Gd(f)+u.slice(1));const m=u.charCodeAt(u.length-1),x=fm(r.after.charCodeAt(0),m,a);x.inside&&(u=u.slice(0,-1)+Gd(m));const v=o.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:p.outside},c+u+v}function KX(e,t,n){return n.options.strong||"*"}function XX(e,t,n,r){return n.safe(e.value,r)}function ZX(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function JX(e,t,n){const r=(rk(n)+(n.options.ruleSpaces?" ":"")).repeat(ZX(n));return n.options.ruleSpaces?r.slice(0,-1):r}const sk={blockquote:_X,break:gw,code:kX,definition:RX,emphasis:WC,hardBreak:gw,heading:MX,html:KC,image:XC,imageReference:ZC,inlineCode:JC,link:tk,linkReference:nk,list:qX,listItem:VX,paragraph:GX,root:QX,strong:ak,text:XX,thematicBreak:JX};function eZ(){return{enter:{table:tZ,tableData:xw,tableHeader:xw,tableRow:rZ},exit:{codeText:aZ,table:nZ,tableData:ob,tableHeader:ob,tableRow:ob}}}function tZ(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function nZ(e){this.exit(e),this.data.inTable=void 0}function rZ(e){this.enter({type:"tableRow",children:[]},e)}function ob(e){this.exit(e)}function xw(e){this.enter({type:"tableCell",children:[]},e)}function aZ(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,sZ));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function sZ(e,t){return t==="|"?t:e}function iZ(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 689`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:o,tableCell:u,tableRow:c}};function o(v,E,_,k){return f(p(v,_,k),v.align)}function c(v,E,_,k){const S=m(v,_,k),O=f([S]);return O.slice(0,O.indexOf(` 690`))}function u(v,E,_,k){const S=_.enter("tableCell"),O=_.enter("phrasing"),R=_.containerPhrasing(v,{...k,before:s,after:s});return O(),S(),R}function f(v,E){return EX(v,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function p(v,E,_){const k=v.children;let S=-1;const O=[],R=E.enter("table");for(;++S<k.length;)O[S]=m(k[S],E,_);return R(),O}function m(v,E,_){const k=v.children;let S=-1;const O=[],R=E.enter("tableRow");for(;++S<k.length;)O[S]=u(k[S],v,E,_);return R(),O}function x(v,E,_){let k=sk.inlineCode(v,E,_);return _.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function oZ(){return{exit:{taskListCheckValueChecked:bw,taskListCheckValueUnchecked:bw,paragraph:cZ}}}function lZ(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:uZ}}}function bw(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function cZ(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let s=-1,o;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){o=c;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function uZ(e,t,n,r){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",c=n.createTracker(r);s&&c.move(o);let u=sk.listItem(e,t,n,{...r,...c.current()});return s&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),u;function f(p){return p+o}}function dZ(){return[$K(),dX(),pX(),eZ(),oZ()]}function fZ(e){return{extensions:[VK(),fX(e),gX(),iZ(e),lZ()]}}const hZ={tokenize:vZ,partial:!0},ik={tokenize:yZ,partial:!0},ok={tokenize:EZ,partial:!0},lk={tokenize:wZ,partial:!0},mZ={tokenize:_Z,partial:!0},ck={name:"wwwAutolink",tokenize:xZ,previous:dk},uk={name:"protocolAutolink",tokenize:bZ,previous:fk},fi={name:"emailAutolink",tokenize:gZ,previous:hk},Cs={};function pZ(){return{text:Cs}}let Ho=48;for(;Ho<123;)Cs[Ho]=fi,Ho++,Ho===58?Ho=65:Ho===91&&(Ho=97);Cs[43]=fi;Cs[45]=fi;Cs[46]=fi;Cs[95]=fi;Cs[72]=[fi,uk];Cs[104]=[fi,uk];Cs[87]=[fi,ck];Cs[119]=[fi,ck];function gZ(e,t,n){const r=this;let a,s;return o;function o(m){return!C2(m)||!hk.call(r,r.previous)||Sy(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(m))}function c(m){return C2(m)?(e.consume(m),c):m===64?(e.consume(m),u):n(m)}function u(m){return m===46?e.check(mZ,p,f)(m):m===45||m===95||dr(m)?(s=!0,e.consume(m),u):p(m)}function f(m){return e.consume(m),a=!0,u}function p(m){return s&&a&&wr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function xZ(e,t,n){const r=this;return a;
vendor: 8,652 bytes, line 690
690function a(o){return o!==87&&o!==119||!dk.call(r,r.previous)||Sy(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(hZ,e.attempt(ik,e.attempt(ok,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function bZ(e,t,n){const r=this;let a="",s=!1;return o;function o(m){return(m===72||m===104)&&fk.call(r,r.previous)&&!Sy(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(m),e.consume(m),c):n(m)}function c(m){if(wr(m)&&a.length<5)return a+=String.fromCodePoint(m),e.consume(m),c;if(m===58){const x=a.toLowerCase();if(x==="http"||x==="https")return e.consume(m),u}return n(m)}function u(m){return m===47?(e.consume(m),s?f:(s=!0,u)):n(m)}function f(m){return m===null||em(m)||Qt(m)||nl(m)||sp(m)?n(m):e.attempt(ik,e.attempt(ok,p),n)(m)}function p(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function vZ(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function yZ(e,t,n){let r,a,s;return o;function o(f){return f===46||f===95?e.check(lk,u,c)(f):f===null||Qt(f)||nl(f)||f!==45&&sp(f)?u(f):(s=!0,e.consume(f),o)}function c(f){return f===95?r=!0:(a=r,r=void 0),e.consume(f),o}function u(f){return a||r||!s?n(f):t(f)}}function EZ(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(lk,t,s)(o):o===null||Qt(o)||nl(o)?t(o):(e.consume(o),a)}function s(o){return o===41&&r++,e.consume(o),a}}function wZ(e,t,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),r):c===38?(e.consume(c),s):c===93?(e.consume(c),a):c===60||c===null||Qt(c)||nl(c)?t(c):n(c)}function a(c){return c===null||c===40||c===91||Qt(c)||nl(c)?t(c):r(c)}function s(c){return wr(c)?o(c):n(c)}function o(c){return c===59?(e.consume(c),r):wr(c)?(e.consume(c),o):n(c)}}function _Z(e,t,n){return r;function r(s){return e.consume(s),a}function a(s){return dr(s)?n(s):t(s)}}function dk(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Qt(e)}function fk(e){return!wr(e)}function hk(e){return!(e===47||C2(e))}function C2(e){return e===43||e===45||e===46||e===95||dr(e)}function Sy(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const TZ={tokenize:DZ,partial:!0};function AZ(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:NZ,continuation:{tokenize:RZ},exit:OZ}},text:{91:{name:"gfmFootnoteCall",tokenize:kZ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:SZ,resolveTo:CZ}}}}function SZ(e,t,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const u=r.events[a][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return c;function c(u){if(!o||!o._balanced)return n(u);const f=za(r.sliceSerialize({start:o.end,end:r.now()}));return f.codePointAt(0)!==94||!s.includes(f.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function CZ(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...c),e}function kZ(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return c;function c(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),u}function u(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(m){if(s>999||m===93&&!o||m===null||m===91||Qt(m))return n(m);if(m===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return a.includes(za(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return Qt(m)||(o=!0),s++,e.consume(m),m===92?p:f}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function NZ(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,c;return u;function u(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(E)}function p(E){if(o>999||E===93&&!c||E===null||E===91||Qt(E))return n(E);if(E===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return s=za(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return Qt(E)||(c=!0),o++,e.consume(E),E===92?m:p}function m(E){return E===91||E===92||E===93?(e.consume(E),o++,p):p(E)}function x(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(s)||a.push(s),yt(e,v,"gfmFootnoteDefinitionWhitespace")):n(E)}function v(E){return t(E)}}function RZ(e,t,n){return e.check(d0,t,e.attempt(TZ,t,n))}function OZ(e){e.exit("gfmFootnoteDefinition")}function DZ(e,t,n){const r=this;return yt(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function IZ(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,c){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let f=u;for(;f--;)if(o[f][0]==="exit"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[f][1].end.offset-o[f][1].start.offset){o[u][1].type="strikethroughSequence",o[f][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[f][1].start),end:Object.assign({},o[u][1].end)},m={type:"strikethroughText",start:Object.assign({},o[f][1].end),end:Object.assign({},o[u][1].start)},x=[["enter",p,c],["enter",o[f][1],c],["exit",o[f][1],c],["enter",m,c]],v=c.parser.constructs.insideSpan.null;v&&na(x,x.length,0,ip(v,o.slice(f+1,u),c)),na(x,x.length,0,[["exit",m,c],["enter",o[u][1],c],["exit",o[u][1],c],["exit",p,c]]),na(o,f-1,u-f+3,x),u=f+x.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function s(o,c,u){const f=this.previous,p=this.events;let m=0;return x;function x(E){return f===126&&p[p.length-1][1].type!=="characterEscape"?u(E):(o.enter("strikethroughSequenceTemporary"),v(E))}function v(E){const _=Lc(f);if(E===126)return m>1?u(E):(o.consume(E),m++,v);if(m<2&&!n)return u(E);const k=o.exit("strikethroughSequenceTemporary"),S=Lc(E);return k._open=!S||S===2&&!!_,k._close=!_||_===2&&!!S,c(E)}}}class MZ{constructor(){this.map=[]}add(t,n,r){PZ(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];
vendor: 5,837 bytes, line 690
690r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const s of a)t.push(s);a=r.pop()}this.map.length=0}}function PZ(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function LZ(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function jZ(){return{flow:{null:{name:"table",tokenize:BZ,resolveAll:zZ}}}}function BZ(e,t,n){const r=this;let a=0,s=0,o;return c;function c(Y){let ae=r.events.length-1;for(;ae>-1;){const ie=r.events[ae][1].type;if(ie==="lineEnding"||ie==="linePrefix")ae--;else break}const ne=ae>-1?r.events[ae][1].type:null,he=ne==="tableHead"||ne==="tableRow"?L:u;return he===L&&r.parser.lazy[r.now().line]?n(Y):he(Y)}function u(Y){return e.enter("tableHead"),e.enter("tableRow"),f(Y)}function f(Y){return Y===124||(o=!0,s+=1),p(Y)}function p(Y){return Y===null?n(Y):We(Y)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),v):n(Y):Tt(Y)?yt(e,p,"whitespace")(Y):(s+=1,o&&(o=!1,a+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),m(Y)))}function m(Y){return Y===null||Y===124||Qt(Y)?(e.exit("data"),p(Y)):(e.consume(Y),Y===92?x:m)}function x(Y){return Y===92||Y===124?(e.consume(Y),m):m(Y)}function v(Y){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(Y):(e.enter("tableDelimiterRow"),o=!1,Tt(Y)?yt(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):E(Y))}function E(Y){return Y===45||Y===58?k(Y):Y===124?(o=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),_):H(Y)}function _(Y){return Tt(Y)?yt(e,k,"whitespace")(Y):k(Y)}function k(Y){return Y===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),S):Y===45?(s+=1,S(Y)):Y===null||We(Y)?q(Y):H(Y)}function S(Y){return Y===45?(e.enter("tableDelimiterFiller"),O(Y)):H(Y)}function O(Y){return Y===45?(e.consume(Y),O):Y===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(Y))}function R(Y){return Tt(Y)?yt(e,q,"whitespace")(Y):q(Y)}function q(Y){return Y===124?E(Y):Y===null||We(Y)?!o||a!==s?H(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):H(Y)}function H(Y){return n(Y)}function L(Y){return e.enter("tableRow"),M(Y)}function M(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),M):Y===null||We(Y)?(e.exit("tableRow"),t(Y)):Tt(Y)?yt(e,M,"whitespace")(Y):(e.enter("data"),B(Y))}function B(Y){return Y===null||Y===124||Qt(Y)?(e.exit("data"),M(Y)):(e.consume(Y),Y===92?Z:B)}function Z(Y){return Y===92||Y===124?(e.consume(Y),B):B(Y)}}function zZ(e,t){let n=-1,r=!0,a=0,s=[0,0,0,0],o=[0,0,0,0],c=!1,u=0,f,p,m;const x=new MZ;for(;++n<e.length;){const v=e[n],E=v[1];v[0]==="enter"?E.type==="tableHead"?(c=!1,u!==0&&(vw(x,t,u,f,p),p=void 0,u=0),f={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",f,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,m=void 0,s=[0,0,0,0],o=[0,n+1,0,0],c&&(c=!1,p={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",p,t]])),a=E.type==="tableDelimiterRow"?2:p?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],m=mh(x,t,s,a,void 0,m),s=[0,0,0,0]),o[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],m=mh(x,t,s,a,void 0,m)),s=o,o=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,u=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(u=n,s[1]!==0?(o[0]=o[1],m=mh(x,t,s,a,n,m)):o[1]!==0&&(m=mh(x,t,o,a,n,m)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&vw(x,t,u,f,p),x.consume(t.events),n=-1;++n<t.events.length;){const v=t.events[n];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=LZ(t.events,n))}return e}function mh(e,t,n,r,a,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},bc(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const u=bc(t.events,n[1]);if(s={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const f=bc(t.events,n[2]),p=bc(t.events,n[3]),m={type:c,start:Object.assign({},f),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const x=t.events[n[2]],v=t.events[n[3]];if(x[1].end=Object.assign({},v[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,_=n[3]-n[2]-1;e.add(E,_,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return a!==void 0&&(s.end=Object.assign({},bc(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function vw(e,t,n,r,a){const s=[],o=bc(t.events,n);a&&(a.end=Object.assign({},o),s.push(["exit",a,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function bc(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const HZ={name:"tasklistCheck",tokenize:FZ};function UZ(){return{text:{91:HZ}}}function FZ(e,t,n){const r=this;return a;function a(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),s)}function s(u){return Qt(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u
vendor: 4,629 bytes, lines 690-694
690===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(u)}function c(u){return We(u)?t(u):Tt(u)?e.check({tokenize:qZ},t,n)(u):n(u)}}function qZ(e,t,n){return yt(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function $Z(e){return _9([pZ(),AZ(),IZ(e),jZ(),UZ()])}const VZ={};function GZ(e){const t=this,n=e||VZ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push($Z(n)),s.push(dZ()),o.push(fZ(n))}function YZ(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:c,mathText:o,mathTextData:c}};function e(u){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},u)}function t(){this.buffer()}function n(){const u=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=f;const m=p.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:f}),this.data.mathFlowInside=void 0}function s(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function o(u){const f=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=f,p.data.hChildren.push({type:"text",value:f})}function c(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function QZ(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` 691`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,c,u){const f=s.value||"",p=c.createTracker(u),m="$".repeat(Math.max(QC(f,"$")+1,2)),x=c.enter("mathFlow");let v=p.move(m);if(s.meta){const E=c.enter("mathFlowMeta");v+=p.move(c.safe(s.meta,{after:` 692`,before:v,encode:["$"],...p.current()})),E()}return v+=p.move(` 693`),f&&(v+=p.move(f+` 694`)),v+=p.move(m),x(),v}function r(s,o,c){let u=s.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(u);)f++;const p="$".repeat(f);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let m=-1;for(;++m<c.unsafe.length;){const x=c.unsafe[m];if(!x.atBreak)continue;const v=c.compilePattern(x);let E;for(;E=v.exec(u);){let _=E.index;u.codePointAt(_)===10&&u.codePointAt(_-1)===13&&_--,u=u.slice(0,_)+" "+u.slice(E.index+1)}}return p+u+p}function a(){return"$"}}const WZ={tokenize:KZ,concrete:!0,name:"mathFlow"},yw={tokenize:XZ,partial:!0};function KZ(e,t,n){const r=this,a=r.events[r.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let o=0;return c;function c(O){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(O)}function u(O){return O===36?(e.consume(O),o++,u):o<2?n(O):(e.exit("mathFlowFenceSequence"),yt(e,f,"whitespace")(O))}function f(O){return O===null||We(O)?m(O):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||We(O)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),m(O)):O===36?n(O):(e.consume(O),p)}function m(O){return e.exit("mathFlowFence"),r.interrupt?t(O):e.attempt(yw,x,k)(O)}function x(O){return e.attempt({tokenize:S,partial:!0},k,v)(O)}function v(O){return(s?yt(e,E,"linePrefix",s+1):E)(O)}function E(O){return O===null?k(O):We(O)?e.attempt(yw,x,k)(O):(e.enter("mathFlowValue"),_(O))}function _(O){return O===null||We(O)?(e.exit("mathFlowValue"),E(O)):(e.consume(O),_)}function k(O){return e.exit("mathFlow"),t(O)}function S(O,R,q){let H=0;return yt(O,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(Z){return O.enter("mathFlowFence"),O.enter("mathFlowFenceSequence"),M(Z)}function M(Z){return Z===36?(H++,O.consume(Z),M):H<o?q(Z):(O.exit("mathFlowFenceSequence"),yt(O,B,"whitespace")(Z))}function B(Z){return Z===null||We(Z)?(O.exit("mathFlowFence"),R(Z)):q(Z)}}}
694function XZ(e,t,n){const r=this;return a;function a(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function ZZ(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:JZ,previous:eJ,name:"mathText"};function r(a,s,o){let c=0,u,f;return p;function p(_){return a.enter("mathText"),a.enter("mathTextSequence"),m(_)}function m(_){return _===36?(a.consume(_),c++,m):c<2&&!n?o(_):(a.exit("mathTextSequence"),x(_))}function x(_){return _===null?o(_):_===36?(f=a.enter("mathTextSequence"),u=0,E(_)):_===32?(a.enter("space"),a.consume(_),a.exit("space"),x):We(_)?(a.enter("lineEnding"),a.consume(_),a.exit("lineEnding"),x):(a.enter("mathTextData"),v(_))}function v(_){return _===null||_===32||_===36||We(_)?(a.exit("mathTextData"),x(_)):(a.consume(_),v)}function E(_){return _===36?(a.consume(_),u++,E):u===c?(a.exit("mathTextSequence"),a.exit("mathText"),s(_)):(f.type="mathTextData",v(_))}}}function JZ(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function eJ(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function tJ(e){return{flow:{36:WZ},text:{36:ZZ(e)}}}const nJ={};function rJ(e){const t=this,n=e||nJ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(tJ(n)),s.push(YZ()),o.push(QZ(n))}function aJ({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:s="text-gray-500"}){const o=t.length&&!t.every(u=>u==="*"),c=n.length&&!n.every(u=>u==="*");if(!e&&(o||c))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return u=>{const f=oJ(e,t,n,r,a,s);rl(u,f)}}function Ew(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}return null}}function sJ(e){return typeof e!="string"?!1:e.startsWith("/")}const iJ=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function ww(e,t,n,r=!1,a=!1){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&r&&e.startsWith("data:image/")?e:null;const s=Ew(e,n);if(!s||!iJ.has(s.protocol))return null;if(s.protocol==="mailto:")return s.href;const o=sJ(e);return s&&t.some(c=>{const u=Ew(c,n);return!u||u.origin!==s.origin?!1:s.href.startsWith(u.href)})?o?s.pathname+s.search+s.hash:s.href:t.includes("*")?s.protocol!=="https:"&&s.protocol!=="http:"?null:o?s.pathname+s.search+s.hash:s.href:null}const lb=Symbol("node-seen"),oJ=(e,t,n,r,a,s)=>{const o=(c,u,f)=>{if(c.type!=="element"||c[lb])return hd;if(c.tagName==="a"){const p=ww(c.properties.href,t,e,!1,!1);return p===null?(c[lb]=!0,rl(c,o),f&&typeof u=="number"&&(f.children[u]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(c.properties.href),class:s},children:[...c.children,{type:"text",value:" [blocked]"}]}),nm):(c.properties.href=p,c.properties.target="_blank",c.properties.rel="noopener noreferrer",hd)}if(c.tagName==="img"){const p=ww(c.properties.src,n,e,r,!0);return p===null?(c[lb]=!0,rl(c,o),f&&typeof u=="number"&&(f.children[u]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(c.properties.alt||"No description")+"]"}]}),nm):(c.properties.src=p,hd)}return hd};return o};/** 695 * @license lucide-react v0.542.0 - ISC 696 * 697 * This source code is licensed under the ISC license. 698 * See the LICENSE file in the root directory of this source tree. 699 */const lJ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cJ=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),_w=e=>{const t=cJ(e);return t.charAt(0).toUpperCase()+t.slice(1)},mk=(...e)=>
vendor: 4,782 bytes, lines 699-729
699e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),uJ=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 700 * @license lucide-react v0.542.0 - ISC 701 * 702 * This source code is licensed under the ISC license. 703 * See the LICENSE file in the root directory of this source tree. 704 */var dJ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 705 * @license lucide-react v0.542.0 - ISC 706 * 707 * This source code is licensed under the ISC license. 708 * See the LICENSE file in the root directory of this source tree. 709 */const fJ=T.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:o,...c},u)=>T.createElement("svg",{ref:u,...dJ,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:mk("lucide",a),...!s&&!uJ(c)&&{"aria-hidden":"true"},...c},[...o.map(([f,p])=>T.createElement(f,p)),...Array.isArray(s)?s:[s]]));/** 710 * @license lucide-react v0.542.0 - ISC 711 * 712 * This source code is licensed under the ISC license. 713 * See the LICENSE file in the root directory of this source tree. 714 */const Cy=(e,t)=>{const n=T.forwardRef(({className:r,...a},s)=>T.createElement(fJ,{ref:s,iconNode:t,className:mk(`lucide-${lJ(_w(e))}`,`lucide-${e}`,r),...a}));return n.displayName=_w(e),n};/** 715 * @license lucide-react v0.542.0 - ISC 716 * 717 * This source code is licensed under the ISC license. 718 * See the LICENSE file in the root directory of this source tree. 719 */const hJ=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],pk=Cy("check",hJ);/** 720 * @license lucide-react v0.542.0 - ISC 721 * 722 * This source code is licensed under the ISC license. 723 * See the LICENSE file in the root directory of this source tree. 724 */const mJ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],gk=Cy("copy",mJ);/** 725 * @license lucide-react v0.542.0 - ISC 726 * 727 * This source code is licensed under the ISC license. 728 * See the LICENSE file in the root directory of this source tree. 729 */const pJ=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ky=Cy("download",pJ);let Rn=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function gJ(e){return Ny(e)}function Ny(e){return Array.isArray(e)?xJ(e):e instanceof RegExp?e:typeof e=="object"?bJ(e):e}function xJ(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ny(e[n]);return t}function bJ(e){let t={};for(let n in e)t[n]=Ny(e[n]);return t}function xk(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function bk(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?bk(e.substring(0,e.length-1)):e.substr(~t+1)}var cb=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ph=class{static hasCaptures(e){return e===null?!1:(cb.lastIndex=0,cb.test(e))}static replaceCaptures(e,t,n){return e.replace(cb,(r,a,s,o)=>{let c=n[parseInt(a||s,10)];if(c){let u=t.substring(c.start,c.end);for(;u[0]===".";)u=u.substring(1);switch(o){case"downcase":return u.toLowerCase();case"upcase":return u.toUpperCase();default:return u}}else return r})}};function vk(e,t){return e<t?-1:e>t?1:0}function yk(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let a=0;a<n;a++){let s=vk(e[a],t[a]);if(s!==0)return s}return 0}return n-r}function Tw(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Ek(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var wk=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},hm=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(EJ(e),t)}static createFromParsedTheme(e,t){return _J(e,t)}_cachedMatchRoot=new wk(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(a=>vJ(e.parent,a.parentScopes));return r?new _k(r.fontStyle,r.foreground,r.background):null}},ub=class Mh{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Mh(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Mh(n,t[r]);return n}push(t){return new Mh(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}
vendor: 41,837 bytes, lines 729-731
729toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function vJ(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],a=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],a=!0}for(;e&&!yJ(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function yJ(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var _k=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function EJ(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,s=t.length;a<s;a++){let o=t[a];if(!o.settings)continue;let c;if(typeof o.scope=="string"){let m=o.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),c=m.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let m=o.settings.fontStyle.split(" ");for(let x=0,v=m.length;x<v;x++)switch(m[x]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let f=null;typeof o.settings.foreground=="string"&&Tw(o.settings.foreground)&&(f=o.settings.foreground);let p=null;typeof o.settings.background=="string"&&Tw(o.settings.background)&&(p=o.settings.background);for(let m=0,x=c.length;m<x;m++){let E=c[m].trim().split(" "),_=E[E.length-1],k=null;E.length>1&&(k=E.slice(0,E.length-1),k.reverse()),n[r++]=new wJ(_,k,a,u,f,p)}}return n}var wJ=class{constructor(e,t,n,r,a,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=s}},ur=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(ur||{});function _J(e,t){e.sort((u,f)=>{let p=vk(u.scope,f.scope);return p!==0||(p=yk(u.parentScopes,f.parentScopes),p!==0)?p:u.index-f.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(n=u.fontStyle),u.foreground!==null&&(r=u.foreground),u.background!==null&&(a=u.background)}let s=new TJ(t),o=new _k(n,s.getId(r),s.getId(a)),c=new SJ(new k2(0,null,-1,0,0),[]);for(let u=0,f=e.length;u<f;u++){let p=e[u];c.insert(0,p.scope,p.parentScopes,p.fontStyle,s.getId(p.foreground),s.getId(p.background))}return new hm(s,o,c)}var TJ=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},AJ=Object.freeze([]),k2=class Tk{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,a,s){this.scopeDepth=t,this.parentScopes=n||AJ,this.fontStyle=r,this.foreground=a,this.background=s}clone(){return new Tk(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,a=t.length;r<a;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},SJ=class N2{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,a=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=t.parentScopes.length||a>=n.parentScopes.length);){const s=n.parentScopes[a].length-t.parentScopes[r].length;if(s!==0)return s;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,s;if(r===-1?(a=t,s=""):(a=t.substring(0,r),s=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(N2._cmpBySpecificity),n}insert(t,n,r,a,s,o){if(n===""){this._doInsertHere(t,r,a,s,o);return}let c=n.indexOf("."),u,f;c===-1?(u=n,f=""):(u=n.substring(0,c),f=n.substring(c+1));let p;this._children.hasOwnProperty(u)?p=this._children[u]:(p=new N2(this._mainRule.clone(),k2.cloneArr(this._rulesWithParentScopes)),this._children[u]=p),p.insert(t+1,f,r,a,s,o)}_doInsertHere(t,n,r,a,s){if(n===null){this._mainRule.acceptOverwrite(t,r,a,s);return}for(let o=0,c=this._rulesWithParentScopes.length;o<c;o++){let u=this._rulesWithParentScopes[o];if(yk(u.parentScopes,n)===0){u.acceptOverwrite(t,r,a,s);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new k2(t,n,r,a,s))}},Hc=class ba{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ba.getLanguageId(t),r=ba.getTokenType(t),a=ba.getFontStyle(t),s=ba.getForeground(t),o=ba.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:s,background:o})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,a,s,o,c){let u=ba.getLanguageId(t),f=ba.getTokenType(t),p=ba.containsBalancedBrackets(t)?1:0,m=ba.getFontStyle(t),x=ba.getForeground(t),v=ba.getBackground(t);return n!==0&&(u=n),r!==8&&(f=r),a!==null&&(p=a?1:0),s!==-1&&(m=s),o!==0&&(x=o),c!==0&&(v=c),(u<<0|f<<8|p<<10|m<<11|x<<15|v<<24)>>>0}};function mm(e,t){const n=[],r=CJ(e);let a=r.next();for(;a!==null;){let u=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let f=o();if(n.push({matcher:f,priority:u}),a!==",")break;a=r.next()}return n;function s(){if(a==="-"){a=r.next();const u=s();return f=>!!u&&!u(f)}if(a==="("){a=r.next();const u=c();return a===")"&&(a=r.next()),u}if(Aw(a)){const u=[];do u.push(a),a=r.next();while(Aw(a));return f=>t(u,f)}return null}function o(){const u=[];let f=s();for(;f;)u.push(f),f=s();return p=>u.every(m=>m(p))}function c(){const u=[];let f=o();for(;f&&(u.push(f),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");f=o()}return p=>u.some(m=>m(p))}}function Aw(e){return!!e&&!!e.match(/[\w\.:]+/)}function CJ(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Ak(e){typeof e.dispose=="function"&&e.dispose()}var Yd=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},kJ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},NJ=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},RJ=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yd(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new NJ;for(const n of e)OJ(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yd){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function OJ(e,t,n,r){const a=n.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Yd?Ph({baseGrammar:s,selfGrammar:a},r):R2(e.ruleName,{baseGrammar:s,selfGrammar:a,repository:a.repository},r);const o=n.injections(e.scopeName);if(o)for(const c of o)r.add(new Yd(c))}function R2(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];pm([r],t,n)}}function Ph(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&pm(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&pm(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function pm(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?xk({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&pm(r.patterns,{...t,repository:a},n);const s=r.include;if(!s)continue;const o=Sk(s);switch(o.kind){case 0:Ph({...t,selfGrammar:t.baseGrammar},n);break;case 1:Ph(t,n);break;case 2:R2(o.ruleName,{...t,repository:a},n);break;case 3:case 4:const c=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(c){const u={baseGrammar:t.baseGrammar,selfGrammar:c,repository:a};o.kind===4?R2(o.ruleName,u,n):Ph(u,n)}else o.kind===4?n.add(new kJ(o.scopeName,o.ruleName)):n.add(new Yd(o.scopeName));break}}}var DJ=class{kind=0},IJ=class{kind=1},MJ=class{constructor(e){this.ruleName=e}kind=2},PJ=class{constructor(e){this.scopeName=e}kind=3},LJ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Sk(e){if(e==="$base")return new DJ;if(e==="$self")return new IJ;const t=e.indexOf("#");if(t===-1)return new PJ(e);if(t===0)return new MJ(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new LJ(n,r)}}var jJ=/\\(\d+)/,Sw=/\\(\d+)/g,BJ=-1,Ck=-2;var y0=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=ph.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=ph.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${bk(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:ph.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ph.replaceCaptures(this._contentName,e,t)}},zJ=class extends y0{retokenizeCapturedWithRuleId;constructor(e,t,n,r,a){super(e,t,n,r),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},HJ=class extends y0{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,null),this._match=new Qd(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Wd,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Cw=class extends y0{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,r),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Wd,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},O2=class extends y0{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a,s,o,c,u,f){super(e,t,n,r),this._begin=new Qd(a,this.id),this.beginCaptures=s,this._end=new Qd(o||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Wd;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},gm=class extends y0{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,a,s,o,c,u){super(e,t,n,r),this._begin=new Qd(a,this.id),this.beginCaptures=s,this.whileCaptures=c,this._while=new Qd(o,Ck),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Wd;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Wd,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},kk=class lr{static createCaptureRule(t,n,r,a,s){return t.registerRule(o=>new zJ(n,o,r,a,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new HJ(t.$vscodeTextmateLocation,t.id,t.name,t.match,lr._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=xk({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Cw(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,lr._compilePatterns(s,n,r))}return t.while?new gm(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,lr._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,lr._compileCaptures(t.whileCaptures||t.captures,n,r),lr._compilePatterns(t.patterns,n,r)):new O2(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,lr._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,lr._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,lr._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);c>s&&(s=c)}for(let o=0;o<=s;o++)a[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);let u=0;t[o].patterns&&(u=lr.getCompiledRuleId(t[o],n,r)),a[c]=lr.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let s=0,o=t.length;s<o;s++){const c=t[s];let u=-1;if(c.include){const f=Sk(c.include);switch(f.kind){case 0:case 1:u=lr.getCompiledRuleId(r[c.include],n,r);break;case 2:let p=r[f.ruleName];p&&(u=lr.getCompiledRuleId(p,n,r));break;case 3:case 4:const m=f.scopeName,x=f.kind===4?f.ruleName:null,v=n.getExternalGrammar(m,r);if(v)if(x){let E=v.repository[x];E&&(u=lr.getCompiledRuleId(E,n,v.repository))}else u=lr.getCompiledRuleId(v.repository.$self,n,v.repository);break}}else u=lr.getCompiledRuleId(c,n,r);if(u!==-1){const f=n.getRule(u);let p=!1;if((f instanceof Cw||f instanceof O2||f instanceof gm)&&f.hasMissingPatterns&&f.patterns.length===0&&(p=!0),p)continue;a.push(u)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},Qd=class Nk{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let a=0,s=[],o=!1;for(let c=0;c<r;c++)if(t.charAt(c)==="\\"&&c+1<r){const f=t.charAt(c+1);f==="z"?(s.push(t.substring(a,c)),s.push("$(?!\\n)(?<!\\n)"),a=c+2):(f==="A"||f==="G")&&(o=!0),c++}this.hasAnchor=o,a===0?this.source=t:(s.push(t.substring(a,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=jJ.test(this.source):this.hasBackReferences=!1}clone(){return new Nk(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(a=>t.substring(a.start,a.end));return Sw.lastIndex=0,this.source.replace(Sw,(a,s)=>Ek(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],a=[],s,o,c,u;for(s=0,o=this.source.length;s<o;s++)c=this.source.charAt(s),t[s]=c,n[s]=c,r[s]=c,a[s]=c,c==="\\"&&s+1<o&&(u=this.source.charAt(s+1),u==="A"?(t[s+1]="ï¿¿",n[s+1]="ï¿¿",r[s+1]="A",a[s+1]="A"):u==="G"?(t[s+1]="ï¿¿",n[s+1]="G",r[s+1]="ï¿¿",a[s+1]="G"):(t[s+1]=u,n[s+1]=u,r[s+1]=u,a[s+1]=u),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:a.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Wd=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new kw(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(a=>a.resolveAnchors(t,n));return new kw(e,r,this._items.map(a=>a.ruleId))}},kw=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(` 730`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},db=class{constructor(e,t){this.languageId=e,this.tokenType=t}},UJ=class D2{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new db(t,8),this._embeddedLanguagesMatcher=new FJ(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?D2._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new db(0,0);_getBasicScopeAttributes=new wk(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new db(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(D2.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},FJ=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Ek(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Nw=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Rk(e,t,n,r,a,s,o,c){const u=t.content.length;let f=!1,p=-1;if(o){const v=qJ(e,t,n,r,a,s);a=v.stack,r=v.linePos,n=v.isFirstLine,p=v.anchorPosition}const m=Date.now();for(;!f;){if(c!==0&&Date.now()-m>c)return new Nw(a,!0);x()}return new Nw(a,!1);function x(){const v=$J(e,t,n,r,a,p);if(!v){s.produce(a,u),f=!0;return}const E=v.captureIndices,_=v.matchedRuleId,k=E&&E.length>0?E[0].end>r:!1;if(_===BJ){const S=a.getRule(e);s.produce(a,E[0].start),a=a.withContentNameScopesList(a.nameScopesList),gd(e,t,n,a,s,S.endCaptures,E),s.produce(a,E[0].end);const O=a;if(a=a.parent,p=O.getAnchorPos(),!k&&O.getEnterPos()===r){a=O,s.produce(a,u),f=!0;return}}else{const S=e.getRule(_);s.produce(a,E[0].start);const O=a,R=S.getName(t.content,E),q=a.contentNameScopesList.pushAttributed(R,e);if(a=a.push(_,r,p,E[0].end===u,null,q,q),S instanceof O2){const H=S;gd(e,t,n,a,s,H.beginCaptures,E),s.produce(a,E[0].end),p=E[0].end;const L=H.getContentName(t.content,E),M=q.pushAttributed(L,e);if(a=a.withContentNameScopesList(M),H.endHasBackReferences&&(a=a.withEndRule(H.getEndWithResolvedBackReferences(t.content,E))),!k&&O.hasSameRuleAs(a)){a=a.pop(),s.produce(a,u),f=!0;return}}else if(S instanceof gm){const H=S;gd(e,t,n,a,s,H.beginCaptures,E),s.produce(a,E[0].end),p=E[0].end;const L=H.getContentName(t.content,E),M=q.pushAttributed(L,e);if(a=a.withContentNameScopesList(M),H.whileHasBackReferences&&(a=a.withEndRule(H.getWhileWithResolvedBackReferences(t.content,E))),!k&&O.hasSameRuleAs(a)){a=a.pop(),s.produce(a,u),f=!0;return}}else if(gd(e,t,n,a,s,S.captures,E),s.produce(a,E[0].end),a=a.pop(),!k){a=a.safePop(),s.produce(a,u),f=!0;return}}E[0].end>r&&(r=E[0].end,n=!1)}}function qJ(e,t,n,r,a,s){let o=a.beginRuleCapturedEOL?0:-1;const c=[];for(let u=a;u;u=u.pop()){const f=u.getRule(e);f instanceof gm&&c.push({rule:f,stack:u})}for(let u=c.pop();u;u=c.pop()){const{ruleScanner:f,findOptions:p}=YJ(u.rule,e,u.stack.endRule,n,r===o),m=f.findNextMatchSync(t,r,p);if(m){if(m.ruleId!==Ck){a=u.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(s.produce(u.stack,m.captureIndices[0].start),gd(e,t,n,u.stack,s,u.rule.whileCaptures,m.captureIndices),s.produce(u.stack,m.captureIndices[0].end),o=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{a=u.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:o,isFirstLine:n}}function $J(e,t,n,r,a,s){const o=VJ(e,t,n,r,a,s),c=e.getInjections();if(c.length===0)return o;const u=GJ(c,e,t,n,r,a,s);if(!u)return o;if(!o)return u;const f=o.captureIndices[0].start,p=u.captureIndices[0].start;return p<f||u.priorityMatch&&p===f?u:o}function VJ(e,t,n,r,a,s){const o=a.getRule(e),{ruleScanner:c,findOptions:u}=Ok(o,e,a.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function GJ(e,t,n,r,a,s,o){let c=Number.MAX_VALUE,u=null,f,p=0;const m=s.contentNameScopesList.getScopeNames();for(let x=0,v=e.length;x<v;x++){const E=e[x];if(!E.matcher(m))continue;const _=t.getRule(E.ruleId),{ruleScanner:k,findOptions:S}=Ok(_,t,null,r,a===o),O=k.findNextMatchSync(n,a,S);if(!O)continue;const R=O.captureIndices[0].start;if(!(R>=c)&&(c=R,u=O.captureIndices,f=O.ruleId,p=E.priority,c===a))break}return u?{priorityMatch:p===-1,captureIndices:u,matchedRuleId:f}:null}function Ok(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}function YJ(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}function gd(e,t,n,r,a,s,o){if(s.length===0)return;const c=t.content,u=Math.min(s.length,o.length),f=[],p=o[0].end;for(let m=0;m<u;m++){const x=s[m];if(x===null)continue;const v=o[m];if(v.length===0)continue;if(v.start>p)break;for(;f.length>0&&f[f.length-1].endPos<=v.start;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?a.produceFromScopes(f[f.length-1].scopes,v.start):a.produce(r,v.start),x.retokenizeCapturedWithRuleId){const _=x.getName(c,o),k=r.contentNameScopesList.pushAttributed(_,e),S=x.getContentName(c,o),O=k.pushAttributed(S,e),R=r.push(x.retokenizeCapturedWithRuleId,v.start,-1,!1,null,k,O),q=e.createOnigString(c.substring(0,v.end));Rk(e,q,n&&v.start===0,v.start,R,a,!1,0),Ak(q);continue}const E=x.getName(c,o);if(E!==null){const k=(f.length>0?f[f.length-1].scopes:r.contentNameScopesList).pushAttributed(E,e);f.push(new QJ(k,v.end))}}for(;f.length>0;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var QJ=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function WJ(e,t,n,r,a,s,o,c){return new XJ(e,t,n,r,a,s,o,c)}function Rw(e,t,n,r,a){const s=mm(t,xm),o=kk.getCompiledRuleId(n,r,a.repository);for(const c of s)e.push({debugSelector:t,matcher:c.matcher,ruleId:o,grammar:a,priority:c.priority})}function xm(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let a=n;a<t.length;a++)if(KJ(t[a],r))return n=a+1,!0;return!1})}function KJ(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var XJ=class{constructor(e,t,n,r,a,s,o,c){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=c,this._basicScopeAttributesProvider=new UJ(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=Ow(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const u of Object.keys(a)){const f=mm(u,xm);for(const p of f)this._tokenTypeMatchers.push({matcher:p.matcher,type:a[u]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const a=r.injections;if(a)for(let o in a)Rw(t,o,a[o],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(o=>{const c=this.getExternalGrammar(o);if(c){const u=c.injectionSelector;u&&Rw(t,u,c,this,c)}})}return t.sort((a,s)=>a.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=Ow(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=kk.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===I2.NULL){a=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),m=Hc.set(0,f.languageId,f.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),x=this.getRule(this._rootId).getName(null,null);let v;x?v=Dd.createRootAndLookUpScopeName(x,m,this):v=Dd.createRoot("unknown",m),t=new I2(null,this._rootId,-1,-1,!1,null,v,v)}else a=!1,t.reset();e=e+` 731`;const s=this.createOnigString(e),o=s.content.length,c=new JJ(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),u=Rk(this,s,a,0,t,c,!0,r);return Ak(s),{lineLength:o,lineTokens:c,ruleStack:u.stack,stoppedEarly:u.stoppedEarly}}};function Ow(e,t){return e=gJ(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Dd=class rs{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,a=t?.scopePath??null;for(const s of n)a=ub.push(a,s.scopeNames),r=new rs(r,a,s.encodedTokenAttributes);return r}static createRoot(t,n){return new rs(null,new ub(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),s=new ub(null,t),o=r.themeProvider.themeMatch(s),c=rs.mergeAttributes(n,a,o);return new rs(null,s,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return rs.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let a=-1,s=0,o=0;return r!==null&&(a=r.fontStyle,s=r.foregroundId,o=r.backgroundId),Hc.set(t,n.languageId,n.tokenType,null,a,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return rs._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const s of r)a=rs._pushAttributed(a,s,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),s=t.scopePath.push(n),o=r.themeProvider.themeMatch(s),c=rs.mergeAttributes(t.tokenAttributes,a,o);return new rs(t,s,c)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},I2=class qo{constructor(t,n,r,a,s,o,c,u){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=c,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new qo(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:qo._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Dd.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){qo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,a,s,o,c){return new qo(this,t,n,r,a,s,o,c)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new qo(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Dd.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new qo(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Dd.fromExtension(r,n.contentNameScopesList))}},ZJ=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):mm(n,xm).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>mm(n,xm).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},JJ=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=e?.getScopeNames()??[];for(const o of this._tokenTypeOverrides)o.matcher(s)&&(r=Hc.set(r,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(s))}if(a&&(r=Hc.set(r,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r<a;r++)n[r]=this._binaryTokens[r];return n}},eee=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,a){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,WJ(e,s,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},tee=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new eee(hm.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(hm.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ZJ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,a,s){const o=new RJ(this._syncRegistry,t);for(;o.Q.length>0;)o.Q.map(c=>this._loadSingleGrammar(c.scopeName)),o.processQueue();return this._grammarForScopeName(t,n,r,a,s)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,a=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,a)}_grammarForScopeName(t,n=0,r=null,a=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,a,s)}},M2=I2.NULL;const nee=/["&'<>`]/g,ree=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,aee=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,see=/[|\\{}()[\]^$+*?.]/g,Dw=new WeakMap;function iee(e,t){if(e=e.replace(t.subset?oee(t.subset):nee,r),t.subset||t.escapeOnly)return e;return e.replace(ree,n).replace(aee,r);function n(a,s,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(a,s,o){return t.format(a.charCodeAt(0),o.charCodeAt(s+1),t)}}function oee(e){let t=Dw.get(e);return t||(t=lee(e),Dw.set(e,t)),t}function lee(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(see,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const cee=/[\dA-Fa-f]/;function uee(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!cee.test(String.fromCharCode(t))?r:r+";"}const dee=/\d/;function fee(e,t,n){const r="&#"+String(e);return n&&t&&!dee.test(String.fromCharCode(t))?r:r+";"}const hee=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
731h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],fb={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"Â¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"Â",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"Ã",Aacute:"Ã",Acirc:"Ã",Atilde:"Ã",Auml:"Ã",Aring:"Ã
",AElig:"Ã",Ccedil:"Ã",Egrave:"Ã",Eacute:"Ã",Ecirc:"Ã",Euml:"Ã",Igrave:"Ã",Iacute:"Ã",Icirc:"Ã",Iuml:"Ã",ETH:"Ã",Ntilde:"Ã",Ograve:"Ã",Oacute:"Ã",Ocirc:"Ã",Otilde:"Ã",Ouml:"Ã",times:"Ã",Oslash:"Ã",Ugrave:"Ã",Uacute:"Ã",Ucirc:"Ã",Uuml:"Ã",Yacute:"Ã",THORN:"Ã",szlig:"Ã",agrave:"à ",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"Ã¥",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"Ã",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
vendor: 58,421 bytes, lines 731-740
731:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â ",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},mee=["cent","copy","divide","gt","lt","not","para","times"],Dk={}.hasOwnProperty,P2={};let gh;for(gh in fb)Dk.call(fb,gh)&&(P2[fb[gh]]=gh);const pee=/[^\dA-Za-z]/;function gee(e,t,n,r){const a=String.fromCharCode(e);if(Dk.call(P2,a)){const s=P2[a],o="&"+s;return n&&hee.includes(s)&&!mee.includes(s)&&(!r||t&&t!==61&&pee.test(String.fromCharCode(t)))?o:o+";"}return""}function xee(e,t,n){let r=uee(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=gee(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const s=fee(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function Nc(e,t){return iee(e,Object.assign({format:xee},t))}const bee=/^>|^->|<!--|-->|--!>|<!-$/g,vee=[">"],yee=["<",">"];function Eee(e,t,n,r){return r.settings.bogusComments?"<?"+Nc(e.value,Object.assign({},r.settings.characterReferences,{subset:vee}))+">":"<!--"+e.value.replace(bee,a)+"-->";function a(s){return Nc(s,Object.assign({},r.settings.characterReferences,{subset:yee}))}}function wee(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const Bn=Mk(1),Ik=Mk(-1),_ee=[];function Mk(e){return t;function t(n,r,a){const s=n?n.children:_ee;let o=(r||0)+e,c=s[o];if(!a)for(;c&&np(c);)o+=e,c=s[o];return c}}const Tee={}.hasOwnProperty;function Pk(e){return t;function t(n,r,a){return Tee.call(e,n.tagName)&&e[n.tagName](n,r,a)}}const Ry=Pk({body:See,caption:hb,colgroup:hb,dd:Ree,dt:Nee,head:hb,html:Aee,li:kee,optgroup:Oee,option:Dee,p:Cee,rp:Iw,rt:Iw,tbody:Mee,td:Mw,tfoot:Pee,th:Mw,thead:Iee,tr:Lee});function hb(e,t,n){const r=Bn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&np(r.value.charAt(0)))}function Aee(e,t,n){const r=Bn(n,t);return!r||r.type!=="comment"}function See(e,t,n){const r=Bn(n,t);return!r||r.type!=="comment"}function Cee(e,t,n){const r=Bn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function kee(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Nee(e,t,n){const r=Bn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Ree(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Iw(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Oee(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Dee(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Iee(e,t,n){const r=Bn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Mee(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Pee(e,t,n){return!Bn(n,t)}function Lee(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Mw(e,t,n){const r=Bn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const jee=Pk({body:Hee,colgroup:Uee,head:zee,html:Bee,tbody:Fee});function Bee(e){const t=Bn(e,-1);return!t||t.type!=="comment"}function zee(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function Hee(e){const t=Bn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&np(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Uee(e,t,n){const r=Ik(n,t),a=Bn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ry(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function Fee(e,t,n){const r=Ik(n,t),a=Bn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ry(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const xh={name:[[` 732\f\r &/=>`.split(""),` 733\f\r "&'/=>\``.split("")],[`\0 734\f\r "&'/<=>`.split(""),`\0 735\f\r "&'/<=>\``.split("")]],unquoted:[[` 736\f\r &>`.split(""),`\0 737\f\r "&'<=>\``.split("")],[`\0 738\f\r "&'<=>\``.split(""),`\0 739\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function qee(e,t,n,r){const a=r.schema,s=a.space==="svg"?!1:r.settings.omitOptionalTags;let o=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const c=[];let u;a.space==="html"&&e.tagName==="svg"&&(r.schema=fo);const f=$ee(r,e.properties),p=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,p&&(o=!1),(f||!s||!jee(e,t,n))&&(c.push("<",e.tagName,f?" "+f:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(u=f.charAt(f.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&c.push(" "),c.push("/")),c.push(">")),c.push(p),!o&&(!s||!Ry(e,t,n))&&c.push("</"+e.tagName+">"),c.join("")}function $ee(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const s=Vee(e,a,t[a]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function Vee(e,t,n){const r=rp(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,c;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=Nc(r.attribute,Object.assign({},e.settings.characterReferences,{subset:xh.name[a][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Mv:Lv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(c=Nc(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:xh.unquoted[a][s]}))),c!==n&&(e.settings.quoteSmart&&dm(n,o)>dm(n,e.alternative)&&(o=e.alternative),c=o+Nc(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?xh.single:xh.double)[a][s],attribute:!0}))+o),u+(c&&"="+c))}const Gee=["<","&"];function Lk(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Nc(e.value,Object.assign({},r.settings.characterReferences,{subset:Gee}))}function Yee(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Lk(e,t,n,r)}function Qee(e,t,n,r){return r.all(e)}const Wee=by("type",{invalid:Kee,unknown:Xee,handlers:{comment:Eee,doctype:wee,element:qee,raw:Yee,root:Qee,text:Lk}});function Kee(e){throw new Error("Expected node, not `"+e+"`")}function Xee(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Zee={},Jee={},ete=[];function tte(e,t){const n=t||Zee,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:nte,all:rte,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||fC,characterReferences:n.characterReferences||Jee,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?fo:u0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function nte(e,t,n){return Wee(e,t,n,this)}function rte(e){const t=[],n=e&&e.children||ete;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function bm(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[a]=s:a===r&&Object.assign(n,s);return n}function eo(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function ate(e){return Array.isArray(e)?e:[e]}async function jk(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Oy(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Bk(e){return e==="ansi"||Oy(e)}function Dy(e){return e==="none"}function zk(e){return Dy(e)}function Hk(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function yp(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const a=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];a.push([o,r]),r+=n[s].length,r+=n[s+1]?.length||0}return a}function ste(e){const t=yp(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=a,o=0;for(const c of t){if(s<c.length)break;s-=c.length,o++}return{line:o,character:s}}function r(a,s){let o=0;for(let c=0;c<a;c++)o+=t[c].length;return o+=s,o}return{lines:t,indexToPos:n,posToIndex:r}}const Iy="light-dark()",ite=["color","background-color"];function ote(e,t){let n=0;const r=[];for(const a of t)a>n&&r.push({...e,content:e.content.slice(n,a),offset:e.offset+n}),n=a;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function lte(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,a)=>r-a);return n.length?e.map(r=>r.flatMap(a=>{const s=n.filter(o=>a.offset<o&&o<a.offset+a.content.length).map(o=>o-a.offset).sort((o,c)=>o-c);return s.length?ote(a,s):a})):e}function cte(e,t,n,r,a="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(p=>vm(e.variants[p])),c=new Set(o.flatMap(p=>Object.keys(p))),u={},f=(p,m)=>{const x=m==="color"?"":m==="background-color"?"-bg":`-${m}`;return n+t[p]+(m==="color"?"":x)};return o.forEach((p,m)=>{for(const x of c){const v=p[x]||"inherit";if(m===0&&r&&ite.includes(x))if(r===Iy&&o.length>1){const E=t.findIndex(O=>O==="light"),_=t.findIndex(O=>O==="dark");if(E===-1||_===-1)throw new Rn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const k=o[E][x]||"inherit",S=o[_][x]||"inherit";u[x]=`light-dark(${k}, ${S})`,a==="css-vars"&&(u[f(m,x)]=v)}else u[x]=v;else a==="css-vars"&&(u[f(m,x)]=v)}}),s.htmlStyle=u,s}function vm(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ur.Italic&&(t["font-style"]="italic"),e.fontStyle&ur.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&ur.Underline&&n.push("underline"),e.fontStyle&ur.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function L2(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const Uk=new WeakMap;function Ep(e,t){Uk.set(e,t)}function Kd(e){return Uk.get(e)}class eu{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new eu(Object.fromEntries(ate(n).map(r=>[r,M2])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,a]=t;this.lang=r,this._stacks={[a]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return ute(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function ute(e){const t=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const s=a?.nameScopesList?.scopeName;s&&t.push(s),a.parent&&r(a.parent)}return r(e),t}function dte(e,t){if(!(e instanceof eu))throw new Rn("Invalid grammar state");return e.getInternalStack(t)}function fte(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>n.source.length)throw new Rn(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...a.indexToPos(o),offset:o}}else{const c=a.lines[o.line];if(c===void 0)throw new Rn(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${a.lines.length}`);let u=o.character;if(u<0&&(u=c.length+u),u<0||u>c.length)throw new Rn(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${c.length}`);return{...o,character:u,offset:a.posToIndex(o.line,u)}}};const a=ste(n.source),s=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));hte(s),e.set(n.meta,{decorations:s,converter:a,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const a=t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]);return lte(n,a)},code(n){if(!this.options.decorations?.length)return;const r=t(this),a=Array.from(n.children).filter(p=>p.type==="element"&&p.tagName==="span");if(a.length!==r.converter.lines.length)throw new Rn(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function s(p,m,x,v){const E=a[p];let _="",k=-1,S=-1;if(m===0&&(k=0),x===0&&(S=0),x===Number.POSITIVE_INFINITY&&(S=E.children.length),k===-1||S===-1)for(let R=0;R<E.children.length;R++)_+=Fk(E.children[R]),k===-1&&_.length===m&&(k=R+1),S===-1&&_.length===x&&(S=R+1);if(k===-1)throw new Rn(`Failed to find start index for decoration ${JSON.stringify(v.start)}`);if(S===-1)throw new Rn(`Failed to find end index for decoration ${JSON.stringify(v.end)}`);const O=E.children.slice(k,S);if(!v.alwaysWrap&&O.length===E.children.length)c(E,v,"line");else if(!v.alwaysWrap&&O.length===1&&O[0].type==="element")c(O[0],v,"token");else{const R={type:"element",tagName:"span",properties:{},children:O};c(R,v,"wrapper"),E.children.splice(k,O.length,R)}}function o(p,m){a[p]=c(a[p],m,"line")}function c(p,m,x){const v=m.properties||{},E=m.transform||(_=>_);return p.tagName=m.tagName||"span",p.properties={...p.properties,...v,class:p.properties.class},m.properties?.class&&Hk(p,m.properties.class),p=E(p,x)||p,p}const u=[],f=r.decorations.sort((p,m)=>m.start.offset-p.start.offset||p.end.offset-m.end.offset);for(const p of f){const{start:m,end:x}=p;if(m.line===x.line)s(m.line,m.character,x.character,p);else if(m.line<x.line){s(m.line,m.character,Number.POSITIVE_INFINITY,p);for(let v=m.line+1;v<x.line;v++)u.unshift(()=>o(v,p));s(x.line,0,x.character,p)}}u.forEach(p=>p())}}}function hte(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Rn(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],s=n.start.offset<=a.start.offset&&a.start.offset<n.end.offset,o=n.start.offset<a.end.offset&&a.end.offset<=n.end.offset,c=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,u=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(s||o||c||u){if(s&&o||c&&u||c&&n.start.offset===n.end.offset||o&&a.start.offset===a.end.offset)continue;throw new Rn(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function Fk(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Fk).join(""):""}const mte=[fte()];function ym(e){const t=pte(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...mte]}function pte(e){const t=[],n=[],r=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":n.push(a);break;default:r.push(a)}return{pre:t,post:n,normal:r}}var Qo=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],mb={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function gte(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Pw(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function xte(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)mb[r]&&t.push({type:"setDecoration",value:mb[r]});else if(r<=29){const a=mb[r-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Qo[r-30]}});else if(r===38){const a=Pw(e);a&&t.push({type:"setForegroundColor",value:a})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Qo[r-40]}});else if(r===48){const a=Pw(e);a&&t.push({type:"setBackgroundColor",value:a})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Qo[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Qo[r-100+8]}})}return t}function bte(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let s=0;do{const o=gte(r,s),c=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(c.length>0&&a.push({value:c,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const u=xte(o.sequence);for(const f of u)f.type==="resetAll"?(e=null,t=null,n.clear()):f.type==="resetForegroundColor"?e=null:f.type==="resetBackgroundColor"?t=null:f.type==="resetDecoration"&&n.delete(f.value);for(const f of u)f.type==="setForegroundColor"?e=f.value:f.type==="setBackgroundColor"?t=f.value:f.type==="setDecoration"&&n.add(f.value)}s=o.position}while(s<r.length);return a}}}var vte={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function yte(e=vte){function t(c){return e[c]}function n(c){return`#${c.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let f=0;f<Qo.length;f++)r.push(t(Qo[f]));let c=[0,95,135,175,215,255];for(let f=0;f<6;f++)for(let p=0;p<6;p++)for(let m=0;m<6;m++)r.push(n([c[f],c[p],c[m]]));let u=8;for(let f=0;f<24;f++,u+=10)r.push(n([u,u,u]));return r}function s(c){return a()[c]}function o(c){switch(c.type){case"named":return t(c.name);case"rgb":return n(c.rgb);case"table":return s(c.index)}}return{value:o}}function Ete(e,t,n){const r=bm(e,n),a=yp(t),s=yte(Object.fromEntries(Qo.map(c=>[c,e.colors?.[`terminal.ansi${c[0].toUpperCase()}${c.substring(1)}`]]))),o=bte();return a.map(c=>o.parse(c[0]).map(u=>{let f,p;u.decorations.has("reverse")?(f=u.background?s.value(u.background):e.bg,p=u.foreground?s.value(u.foreground):e.fg):(f=u.foreground?s.value(u.foreground):e.fg,p=u.background?s.value(u.background):void 0),f=eo(f,r),p=eo(p,r),u.decorations.has("dim")&&(f=wte(f));let m=ur.None;return u.decorations.has("bold")&&(m|=ur.Bold),u.decorations.has("italic")&&(m|=ur.Italic),u.decorations.has("underline")&&(m|=ur.Underline),u.decorations.has("strikethrough")&&(m|=ur.Strikethrough),{content:u.value,offset:c[1],color:f,bgColor:p,fontStyle:m}}))}function wte(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function My(e,t,n={}){const{lang:r="text",theme:a=e.getLoadedThemes()[0]}=n;if(Oy(r)||Dy(a))return yp(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:s,colorMap:o}=e.setTheme(a);if(r==="ansi")return Ete(s,t,n);const c=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==c.name)throw new Rn(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${c.name}"`);if(!n.grammarState.themes.includes(s.name))throw new Rn(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return Tte(t,c,s,o,n)}function _te(...e){if(e.length===2)return Kd(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:s=t.getLoadedThemes()[0]}=r;if(Oy(a)||Dy(s))throw new Rn("Plain language does not have grammar state");if(a==="ansi")throw new Rn("ANSI language does not have grammar state");const{theme:o,colorMap:c}=t.setTheme(s),u=t.getLanguage(a);return new eu(Em(n,u,o,c,r).stateStack,u.name,o.name)}function Tte(e,t,n,r,a){const s=Em(e,t,n,r,a),o=new eu(Em(e,t,n,r,a).stateStack,t.name,n.name);return Ep(s.tokens,o),s.tokens}function Em(e,t,n,r,a){const s=bm(n,a),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:c=500}=a,u=yp(e);let f=a.grammarState?dte(a.grammarState,n.name)??M2:a.grammarContextCode!=null?Em(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:M2,p=[];const m=[];for(let x=0,v=u.length;x<v;x++){const[E,_]=u[x];if(E===""){p=[],m.push([]);continue}if(o>0&&E.length>=o){p=[],m.push([{content:E,offset:_,color:"",fontStyle:0}]);continue}let k,S,O;a.includeExplanation&&(k=t.tokenizeLine(E,f,c),S=k.tokens,O=0);const R=t.tokenizeLine2(E,f,c),q=R.tokens.length/2;for(let H=0;H<q;H++){const L=R.tokens[2*H],M=H+1<q?R.tokens[2*H+2]:E.length;if(L===M)continue;const B=R.tokens[2*H+1],Z=eo(r[Hc.getForeground(B)],s),Y=Hc.getFontStyle(B),ae={content:E.substring(L,M),offset:_+L,color:Z,fontStyle:Y};if(a.includeExplanation){const ne=[];if(a.includeExplanation!=="scopeName")for(const ie of n.settings){let pe;switch(typeof ie.scope){case"string":pe=ie.scope.split(/,/).map($=>$.trim());break;case"object":pe=ie.scope;break;default:continue}ne.push({settings:ie,selectors:pe.map($=>$.split(/ /))})}ae.explanation=[];let he=0;for(;L+he<M;){const ie=S[O],pe=E.substring(ie.startIndex,ie.endIndex);he+=pe.length,ae.explanation.push({content:pe,scopes:a.includeExplanation==="scopeName"?Ate(ie.scopes):Ste(ne,ie.scopes)}),O+=1}}p.push(ae)}m.push(p),p=[],f=R.ruleStack}return{tokens:m,stateStack:f}}function Ate(e){return e.map(t=>({scopeName:t}))}function Ste(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const s=t[r];n[r]={scopeName:s,themeMatches:kte(e,s,t.slice(0,r))}}return n}function Lw(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Cte(e,t,n){if(!Lw(e[e.length-1],t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)Lw(e[r],n[a])&&(r-=1),a-=1;return r===-1}function kte(e,t,n){const r=[];for(const{selectors:a,settings:s}of e)for(const o of a)if(Cte(o,t,n)){r.push(s);break}return r}function qk(e,t,n){const r=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),a=r.map(u=>{const f=My(e,t,{...n,theme:u.theme}),p=Kd(f),m=typeof u.theme=="string"?u.theme:u.theme.name;return{tokens:f,state:p,theme:m}}),s=Nte(...a.map(u=>u.tokens)),o=s[0].map((u,f)=>u.map((p,m)=>{const x={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(x.explanation=p.explanation),s.forEach((v,E)=>{const{content:_,explanation:k,offset:S,...O}=v[f][m];x.variants[r[E].color]=O}),x})),c=a[0].state?new eu(Object.fromEntries(a.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),a[0].state.lang):void 0;return c&&Ep(o,c),o}function Nte(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(u=>u[r]),s=t.map(()=>[]);t.forEach((u,f)=>u.push(s[f]));const o=a.map(()=>0),c=a.map(u=>u[0]);for(;c.every(u=>u);){const u=Math.min(...c.map(f=>f.content.length));for(let f=0;f<n;f++){const p=c[f];p.content.length===u?(s[f].push(p),o[f]+=1,c[f]=a[f][o[f]]):(s[f].push({...p,content:p.content.slice(0,u)}),c[f]={...p,content:p.content.slice(u),offset:p.offset+u})}}}return t}function wm(e,t,n){let r,a,s,o,c,u;if("themes"in n){const{defaultColor:f="light",cssVariablePrefix:p="--shiki-",colorsRendering:m="css-vars"}=n,x=Object.entries(n.themes).filter(S=>S[1]).map(S=>({color:S[0],theme:S[1]})).sort((S,O)=>S.color===f?-1:O.color===f?1:0);if(x.length===0)throw new Rn("`themes` option must not be empty");const v=qk(e,t,n);if(u=Kd(v),f&&Iy!==f&&!x.find(S=>S.color===f))throw new Rn(`\`themes\` option must contain the defaultColor key \`${f}\``);const E=x.map(S=>e.getTheme(S.theme)),_=x.map(S=>S.color);s=v.map(S=>S.map(O=>cte(O,_,p,f,m))),u&&Ep(s,u);const k=x.map(S=>bm(S.theme,n));a=jw(x,E,k,p,f,"fg",m),r=jw(x,E,k,p,f,"bg",m),o=`shiki-themes ${E.map(S=>S.name).join(" ")}`,c=f?void 0:[a,r].join(";")}else if("theme"in n){const f=bm(n.theme,n);s=My(e,t,n);const p=e.getTheme(n.theme);r=eo(p.bg,f),a=eo(p.fg,f),o=p.name,u=Kd(s)}else throw new Rn("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:a,bg:r,themeName:o,rootStyle:c,grammarState:u}}function jw(e,t,n,r,a,s,o){return e.map((c,u)=>{const f=eo(t[u][s],n[u])||"inherit",p=`${r+c.color}${s==="bg"?"-bg":""}:${f}`;if(u===0&&a){if(a===Iy&&e.length>1){const m=e.findIndex(_=>_.color==="light"),x=e.findIndex(_=>_.color==="dark");if(m===-1||x===-1)throw new Rn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const v=eo(t[m][s],n[m])||"inherit",E=eo(t[x][s],n[x])||"inherit";return`light-dark(${v}, ${E});${p}`}return f}return o==="css-vars"?p:null}).filter(c=>!!c).join(";")}function _m(e,t,n,r={meta:{},options:n,codeToHast:(a,s)=>_m(e,a,s),codeToTokens:(a,s)=>wm(e,a,s)}){let a=t;for(const E of ym(n))a=E.preprocess?.call(r,a,n)||a;let{tokens:s,fg:o,bg:c,themeName:u,rootStyle:f,grammarState:p}=wm(e,a,n);const{mergeWhitespaces:m=!0,mergeSameStyleTokens:x=!1}=n;m===!0?s=Ote(s):m==="never"&&(s=Dte(s)),x&&(s=Ite(s));const v={...r,get source(){return a}};for(const E of ym(n))s=E.tokens?.call(v,s)||s;return Rte(s,{...n,fg:o,bg:c,themeName:u,rootStyle:f},v,p)}function Rte(e,t,n,r=Kd(e)){const a=ym(t),s=[],o={type:"root",children:[]},{structure:c="classic",tabindex:u="0"}=t;let f={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...u!==!1&&u!=null?{tabindex:u.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([E])=>!E.startsWith("_")))},children:[]},p={type:"element",tagName:"code",properties:{},children:s};const m=[],x={...n,structure:c,addClassToHast:Hk,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return f},get code(){return p},get lines(){return m}};if(e.forEach((E,_)=>{_&&(c==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):c==="classic"&&s.push({type:"text",value:` 740`}));let k={type:"element",tagName:"span",properties:{class:"line"},children:[]},S=0;for(const O of E){let R={type:"element",tagName:"span",properties:{...O.htmlAttrs},children:[{type:"text",value:O.content}]};const q=L2(O.htmlStyle||vm(O));q&&(R.properties.style=q);for(const H of a)R=H?.span?.call(x,R,_+1,S,k,O)||R;c==="inline"?o.children.push(R):c==="classic"&&k.children.push(R),S+=O.content.length}if(c==="classic"){for(const O of a)k=O?.line?.call(x,k,_+1)||k;m.push(k),s.push(k)}}),c==="classic"){for(const E of a)p=E?.code?.call(x,p)||p;f.children.push(p);for(const E of a)f=E?.pre?.call(x,f)||f;o.children.push(f)}let v=o;for(const E of a)v=E?.root?.call(x,v)||v;return r&&Ep(v,r),v}function Ote(e){return e.map(t=>{const n=[];let r="",a=0;return t.forEach((s,o)=>{const u=!(s.fontStyle&&(s.fontStyle&ur.Underline||s.fontStyle&ur.Strikethrough));u&&s.content.match(/^\s+$/)&&t[o+1]?(a||(a=s.offset),r+=s.content):r?(u?n.push({...s,offset:a,content:r+s.content}):n.push({content:r,offset:a},s),a=0,r=""):n.push(s)}),n})}function Dte(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,a,s,o]=r;if(!a&&!o)return n;const c=[{...n,offset:n.offset+a.length,content:s}];return a&&c.unshift({content:a,offset:n.offset}),o&&c.push({content:o,offset:n.offset+a.length+s.length}),c}))}function Ite(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const a=n[n.length-1],s=L2(a.htmlStyle||vm(a)),o=L2(r.htmlStyle||vm(r)),c=a.fontStyle&&(a.fontStyle&ur.Underline||a.fontStyle&ur.Strikethrough),u=r.fontStyle&&(r.fontStyle&ur.Underline||r.fontStyle&ur.Strikethrough);!c&&!u&&s===o?a.content+=r.content:n.push({...r})}return n})}const Mte=tte;function Pte(e,t,n){const r={meta:{},options:n,codeToHast:(s,o)=>_m(e,s,o),codeToTokens:(s,o)=>wm(e,s,o)};let a=Mte(_m(e,t,n,r));for(const s of ym(n))a=s.postprocess?.call(r,a,n)||a;return a}const Bw={light:"#333333",dark:"#bbbbbb"},zw={light:"#fffffe",dark:"#1e1e1e"},Hw="__shiki_resolved";function Py(e){if(e?.[Hw])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const c=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;c?.settings?.foreground&&(r=c.settings.foreground),c?.settings?.background&&(n=c.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Bw.light:Bw.dark),n||(n=t.type==="light"?zw.light:zw.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let a=0;const s=new Map;function o(c){if(s.has(c))return s.get(c);a+=1;const u=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(c):(s.set(c,u),u)}t.settings=t.settings.map(c=>{const u=c.settings?.foreground&&!c.settings.foreground.startsWith("#"),f=c.settings?.background&&!c.settings.background.startsWith("#");if(!u&&!f)return c;const p={...c,settings:{...c.settings}};if(u){const m=o(c.settings.foreground);t.colorReplacements[m]=c.settings.foreground,p.settings.foreground=m}if(f){const m=o(c.settings.background);t.colorReplacements[m]=c.settings.background,p.settings.background=m}return p});for(const c of Object.keys(t.colors||{}))if((c==="editor.foreground"||c==="editor.background"||c.startsWith("terminal.ansi"))&&!t.colors[c]?.startsWith("#")){const u=o(t.colors[c]);t.colorReplacements[u]=t.colors[c],t.colors[c]=u}return Object.defineProperty(t,Hw,{enumerable:!1,writable:!1,value:!0}),t}async function $k(e){return Array.from(new Set((await Promise.all(e.filter(t=>!Bk(t)).map(async t=>await jk(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Vk(e){return(await Promise.all(e.map(async n=>zk(n)?null:Py(await jk(n))))).filter(n=>!!n)}let Lte=3;function jte(e,t=3){t>Lte||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let _c=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class Bte extends tee{constructor(t,n,r,a={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=a,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Py(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=hm.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new _c(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const a=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(a.name=t.name,this._resolvedGrammars.set(t.name,a),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const a of t)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),r=n.filter(([a,s])=>!s);if(r.length){const a=n.filter(([s,o])=>o&&o.embeddedLangs?.some(c=>r.map(([u])=>u).includes(c))).filter(s=>!r.includes(s));throw new _c(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${a.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[a,s]of n)this._resolver.addLanguage(s);for(const[a,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class zte{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let a=1;a<=n.length;a++){const s=n.slice(0,a).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let cd=0;function Hte(e){cd+=1,e.warnings!==!1&&cd>=10&&cd%10===0&&console.warn(`[Shiki] ${cd} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new _c("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Py),a=new zte(e.engine,n),s=new Bte(a,r,n,e.langAlias);let o;function c(O){k();const R=s.getGrammar(typeof O=="string"?O:O.name);if(!R)throw new _c(`Language \`${O}\` not found, you may need to load it first`);return R}function u(O){if(O==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};k();const R=s.getTheme(O);if(!R)throw new _c(`Theme \`${O}\` not found, you may need to load it first`);return R}function f(O){k();const R=u(O);o!==O&&(s.setTheme(R),o=O);const q=s.getColorMap();return{theme:R,colorMap:q}}function p(){return k(),s.getLoadedThemes()}function m(){return k(),s.getLoadedLanguages()}function x(...O){k(),s.loadLanguages(O.flat(1))}async function v(...O){return x(await $k(O))}function E(...O){k();for(const R of O.flat(1))s.loadTheme(R)}async function _(...O){return k(),E(await Vk(O))}function k(){if(t)throw new _c("Shiki instance has been disposed")}function S(){t||(t=!0,s.dispose(),cd-=1)}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:p,getLoadedLanguages:m,loadLanguage:v,loadLanguageSync:x,loadTheme:_,loadThemeSync:E,dispose:S,[Symbol.dispose]:S}}async function Ute(e){e.engine||jte("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Vk(e.themes||[]),$k(e.langs||[]),e.engine]);return Hte({...e,themes:t,langs:n,engine:r})}async function Fte(e){const t=await Ute(e);return{getLastGrammarState:(...n)=>_te(t,...n),codeToTokensBase:(n,r)=>My(t,n,r),codeToTokensWithThemes:(n,r)=>qk(t,n,r),codeToTokens:(n,r)=>wm(t,n,r),codeToHast:(n,r)=>_m(t,n,r),codeToHtml:(n,r)=>Pte(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function qte(e){const t=e.langs,n=e.themes,r=e.engine;async function a(s){function o(m){if(typeof m=="string"){if(Bk(m))return[];m=s.langAlias?.[m]||m;const x=t[m];if(!x)throw new Rn(`Language \`${m}\` is not included in this bundle. You may want to load it from external source.`);return x}return m}function c(m){if(zk(m))return"none";if(typeof m=="string"){const x=n[m];if(!x)throw new Rn(`Theme \`${m}\` is not included in this bundle. You may want to load it from external source.`);return x}return m}const u=(s.themes??[]).map(m=>c(m)),f=(s.langs??[]).map(m=>o(m)),p=await Fte({engine:s.engine??r(),...s,themes:u,langs:f});return{...p,loadLanguage(...m){return p.loadLanguage(...m.map(o))},loadTheme(...m){return p.loadTheme(...m.map(c))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return a}const Gk=[{id:"abap",name:"ABAP",import:(()=>F(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>F(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>F(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>F(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>F(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>F(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>F(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>F(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>F(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>F(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>F(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>F(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>F(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>F(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>F(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>F(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>F(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>F(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>F(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>F(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>F(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>F(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>F(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>F(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>F(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>F(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>F(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>F(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>F(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>F(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>F(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>F(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>F(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>F(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>F(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>F(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>F(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>F(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>F(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>F(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>F(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>F(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>F(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>F(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>F(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>F(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>F(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>F(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>F(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>F(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>F(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>F(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>F(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>F(()=>import("./erb-BOJIQeun.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>F(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>F(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>F(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>F(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>F(()=>import("./fortran-fixed-form-BZjJHVRy.js"),__vite__mapDeps([41,42])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>F(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>F(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>F(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>F(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>F(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>F(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>F(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>F(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>F(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>F(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>F(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>F(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>F(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>F(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>F(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>F(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>F(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>F(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>F(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>F(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>F(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>F(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>F(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>F(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>F(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>F(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>F(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>F(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>F(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>F(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>F(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>F(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>F(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>F(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>F(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>F(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>F(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>F(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>F(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>F(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>F(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>F(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>F(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>F(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>F(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>F(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>F(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>F(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>F(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>F(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>F(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>F(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>F(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>F(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>F(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>F(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>F(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>F(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>F(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>F(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>F(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>F(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>F(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>F(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>F(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>F(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>F(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>F(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>F(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>F(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>F(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>F(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>F(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>F(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>F(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>F(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>F(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>F(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>F(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>F(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>F(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>F(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>F(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>F(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>F(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>F(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>F(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>F(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>F(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>F(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>F(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>F(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>F(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>F(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>F(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>F(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>F(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>F(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>F(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>F(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>F(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>F(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>F(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>F(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>F(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>F(()=>import("./rst-B0xPkSld.js"),__vite__mapDeps([77,15,1,2,3,23,24,25,26,16,20,28,38,78,33,34,7,8,35,11,36,13,37])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>F(()=>import("./ruby-BvKwtOVI.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>F(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>F(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>F(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>F(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>F(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>F(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>F(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>F(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>F(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>F(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>F(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>F(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>F(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>F(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>F(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>F(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>F(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>F(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>F(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>F(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>F(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>F(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>F(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>F(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>F(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>F(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>F(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>F(()=>import("./terraform-BETggiCN.js"),[]))}
740,{id:"tex",name:"TeX",import:(()=>F(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>F(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>F(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>F(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>F(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>F(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>F(()=>import("./twig-CO9l9SDP.js"),__vite__mapDeps([91,3,2,5,72,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>F(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>F(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>F(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,484 bytes, line 740
740,{id:"v",name:"V",import:(()=>F(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>F(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>F(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>F(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>F(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>F(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>F(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>F(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>F(()=>import("./vue-vine-_Ih-lPRR.js"),__vite__mapDeps([94,3,5,67,95,12,92,2,11,9,15,1])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>F(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>F(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["æè¨"],import:(()=>F(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>F(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>F(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>F(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>F(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>F(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>F(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>F(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>F(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>F(()=>import("./zig-VOosw3JB.js"),[]))}],$te=Object.fromEntries(Gk.map(e=>[e.id,e.import])),Vte=Object.fromEntries(Gk.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Yk={...$te,...Vte},Gte=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>F(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>F(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>F(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>F(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>F(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>F(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>F(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>F(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>F(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>F(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>F(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>F(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>F(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>F(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>F(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>F(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>F(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>F(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>F(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>F(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>F(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>F(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>F(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>F(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>F(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>F(()=>
740import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>F(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>F(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>F(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>F(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>F(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>F(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>F(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>F(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>F(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>F(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>F(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>F(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>F(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>F(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>F(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>F(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>F(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>F(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>F(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>F(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>F(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>F(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>F(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>F(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>F(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>F(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>F(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>F(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>F(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>F(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>F(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>F(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>F(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>F(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],Yte=Object.fromEntries(Gte.map(e=>[e.id,e.import]));
vendor: 19,624 bytes, lines 740-772
740class Ly extends Error{constructor(t){super(t),this.name="ShikiError"}}function Qte(){return 2147483648}function Wte(){return typeof performance<"u"?performance.now():Date.now()}const Kte=(e,t)=>e+(t-e%t)%t;async function Xte(e){let t,n;const r={};function a(v){n=v,r.HEAPU8=new Uint8Array(v),r.HEAPU32=new Uint32Array(v)}function s(v,E,_){r.HEAPU8.copyWithin(v,E,E+_)}function o(v){try{return t.grow(v-n.byteLength+65535>>>16),a(t.buffer),1}catch{}}function c(v){const E=r.HEAPU8.length;v=v>>>0;const _=Qte();if(v>_)return!1;for(let k=1;k<=4;k*=2){let S=E*(1+.2/k);S=Math.min(S,v+100663296);const O=Math.min(_,Kte(Math.max(v,S),65536));if(o(O))return!0}return!1}const u=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(v,E,_=1024){const k=E+_;let S=E;for(;v[S]&&!(S>=k);)++S;if(S-E>16&&v.buffer&&u)return u.decode(v.subarray(E,S));let O="";for(;E<S;){let R=v[E++];if(!(R&128)){O+=String.fromCharCode(R);continue}const q=v[E++]&63;if((R&224)===192){O+=String.fromCharCode((R&31)<<6|q);continue}const H=v[E++]&63;if((R&240)===224?R=(R&15)<<12|q<<6|H:R=(R&7)<<18|q<<12|H<<6|v[E++]&63,R<65536)O+=String.fromCharCode(R);else{const L=R-65536;O+=String.fromCharCode(55296|L>>10,56320|L&1023)}}return O}function p(v,E){return v?f(r.HEAPU8,v,E):""}const m={emscripten_get_now:Wte,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function x(){const E=await e({env:m,wasi_snapshot_preview1:m});t=E.memory,a(t.buffer),Object.assign(r,E),r.UTF8ToString=p}return await x(),r}var Zte=Object.defineProperty,Jte=(e,t,n)=>t in e?Zte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pn=(e,t,n)=>Jte(e,typeof t!="symbol"?t+"":t,n);let $n=null;function ene(e){throw new Ly(e.UTF8ToString(e.getLastOnigError()))}class wp{constructor(t){Pn(this,"utf16Length"),Pn(this,"utf8Length"),Pn(this,"utf16Value"),Pn(this,"utf8Value"),Pn(this,"utf16OffsetToUtf8"),Pn(this,"utf8OffsetToUtf16");const n=t.length,r=wp._utf8ByteLength(t),a=r!==n,s=a?new Uint32Array(n+1):null;a&&(s[n]=r);const o=a?new Uint32Array(r+1):null;a&&(o[r]=n);const c=new Uint8Array(r);let u=0;for(let f=0;f<n;f++){const p=t.charCodeAt(f);let m=p,x=!1;if(p>=55296&&p<=56319&&f+1<n){const v=t.charCodeAt(f+1);v>=56320&&v<=57343&&(m=(p-55296<<10)+65536|v-56320,x=!0)}a&&(s[f]=u,x&&(s[f+1]=u),m<=127?o[u+0]=f:m<=2047?(o[u+0]=f,o[u+1]=f):m<=65535?(o[u+0]=f,o[u+1]=f,o[u+2]=f):(o[u+0]=f,o[u+1]=f,o[u+2]=f,o[u+3]=f)),m<=127?c[u++]=m:m<=2047?(c[u++]=192|(m&1984)>>>6,c[u++]=128|(m&63)>>>0):m<=65535?(c[u++]=224|(m&61440)>>>12,c[u++]=128|(m&4032)>>>6,c[u++]=128|(m&63)>>>0):(c[u++]=240|(m&1835008)>>>18,c[u++]=128|(m&258048)>>>12,c[u++]=128|(m&4032)>>>6,c[u++]=128|(m&63)>>>0),x&&f++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=c,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(t){let n=0;for(let r=0,a=t.length;r<a;r++){const s=t.charCodeAt(r);let o=s,c=!1;if(s>=55296&&s<=56319&&r+1<a){const u=t.charCodeAt(r+1);u>=56320&&u<=57343&&(o=(s-55296<<10)+65536|u-56320,c=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,c&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const _p=class as{constructor(t){if(Pn(this,"id",++as.LAST_ID),Pn(this,"_onigBinding"),Pn(this,"content"),Pn(this,"utf16Length"),Pn(this,"utf8Length"),Pn(this,"utf16OffsetToUtf8"),Pn(this,"utf8OffsetToUtf16"),Pn(this,"ptr"),!$n)throw new Ly("Must invoke loadWasm first.");this._onigBinding=$n,this.content=t;const n=new wp(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!as._sharedPtrInUse?(as._sharedPtr||(as._sharedPtr=$n.omalloc(1e4)),as._sharedPtrInUse=!0,$n.HEAPU8.set(n.utf8Value,as._sharedPtr),this.ptr=as._sharedPtr):this.ptr=n.createString($n)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===as._sharedPtr?as._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Pn(_p,"LAST_ID",0);Pn(_p,"_sharedPtr",0);Pn(_p,"_sharedPtrInUse",!1);let Qk=_p;class tne{constructor(t){if(Pn(this,"_onigBinding"),Pn(this,"_ptr"),!$n)throw new Ly("Must invoke loadWasm first.");const n=[],r=[];for(let c=0,u=t.length;c<u;c++){const f=new wp(t[c]);n[c]=f.createString($n),r[c]=f.utf8Length}const a=$n.omalloc(4*t.length);$n.HEAPU32.set(n,a/4);const s=$n.omalloc(4*t.length);$n.HEAPU32.set(r,s/4);const o=$n.createOnigScanner(a,s,t.length);for(let c=0,u=t.length;c<u;c++)$n.ofree(n[c]);$n.ofree(s),$n.ofree(a),o===0&&ene($n),this._onigBinding=$n,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let a=0;if(typeof r=="number"&&(a=r),typeof t=="string"){t=new Qk(t);const s=this._findNextMatchSync(t,n,!1,a);return t.dispose(),s}return this._findNextMatchSync(t,n,!1,a)}_findNextMatchSync(t,n,r,a){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),a);if(o===0)return null;const c=s.HEAPU32;let u=o/4;const f=c[u++],p=c[u++],m=[];for(let x=0;x<p;x++){const v=t.convertUtf8OffsetToUtf16(c[u++]),E=t.convertUtf8OffsetToUtf16(c[u++]);m[x]={start:v,end:E,length:E-v}}return{index:f,captureIndices:m}}}function nne(e){return typeof e.instantiator=="function"}function rne(e){return typeof e.default=="function"}function ane(e){return typeof e.data<"u"}function sne(e){return typeof Response<"u"&&e instanceof Response}function ine(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let bh;function one(e){if(bh)return bh;async function t(){$n=await Xte(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),nne(r)?r=await r.instantiator(n):rne(r)?r=await r.default(n):(ane(r)&&(r=r.data),sne(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await lne(r)(n):r=await cne(r)(n):ine(r)?r=await pb(r)(n):r instanceof WebAssembly.Module?r=await pb(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await pb(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return bh=t(),bh}function pb(e){return t=>WebAssembly.instantiate(e,t)}function lne(e){return t=>WebAssembly.instantiateStreaming(e,t)}function cne(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function une(e){return e&&await one(e),{createScanner(t){return new tne(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new Qk(t)}}}const Uw=qte({langs:Yk,themes:Yte,engine:()=>une(F(()=>import("./wasm-CG6Dc4jp.js"),[]))});function tu(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function dne(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const jy=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Gn=String.raw;function nu(e,t){if(e==null)throw new Error(t??"Value expected");return e}const Wk=Gn`\[\^?`,Kk=`c.? | C(?:-.?)?|${Gn`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Gn`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Gn`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Gn`o\{[^\}]*\}?`}|${Gn`\d{1,3}`}`,By=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,vh=new RegExp(Gn` 741 \\ (?: 742 ${Kk} 743 | [gk]<[^>]*>? 744 | [gk]'[^']*'? 745 | . 746 ) 747 | \( (?: 748 \? (?: 749 [:=!>({] 750 | <[=!] 751 | <[^>]*> 752 | '[^']*' 753 | ~\|? 754 | #(?:[^)\\]|\\.?)* 755 | [^:)]*[:)] 756 )? 757 | \*[^\)]*\)? 758 )? 759 | (?:${By.source})+ 760 | ${Wk} 761 | . 762`.replace(/\s+/g,""),"gsu"),gb=new RegExp(Gn` 763 \\ (?: 764 ${Kk} 765 | . 766 ) 767 | \[:(?:\^?\p{Alpha}+|\^):\] 768 | ${Wk} 769 | && 770 | . 771`.replace(/\s+/g,""),"gsu");function fne(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=One(n.flags),a=[r.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(m){a.push(m)},replaceCurrentModX(m){a[a.length-1]=m},singleline:n.rules.singleline};let o=[],c;for(vh.lastIndex=0;c=vh.exec(e);){const m=hne(s,e,c[0],vh.lastIndex);m.tokens?o.push(...m.tokens):m.token&&o.push(m.token),m.lastIndex!==void 0&&(vh.lastIndex=m.lastIndex)}const u=[];let f=0;o.filter(m=>m.type==="GroupOpen").forEach(m=>{m.kind==="capturing"?m.number=++f:m.raw==="("&&u.push(m)}),f||u.forEach((m,x)=>{m.kind="capturing",m.number=x+1});const p=f||u.length;return{tokens:o.map(m=>m.type==="EscapedNumber"?Ine(m,p):m).flat(),flags:r}}function hne(e,t,n,r){const[a,s]=n;if(n==="["||n==="[^"){const o=mne(t,n,r);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(s))return{token:Fw(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Tne(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:Zk(n)}}if(s==="K")return{token:Jk("keep",n)};if(s==="N"||s==="R")return{token:Wo("newline",n,{negate:s==="N"})};if(s==="O")return{token:Wo("any",n)};if(s==="X")return{token:Wo("text_segment",n)};const o=Xk(n,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(a==="("){if(s==="*")return{token:kne(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:Cne(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:vc("group",n)};if(n==="(?>")return{token:vc("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:vc(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:vc("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:vc("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Ene(n)}}if(e.getCurrentModX()){if(n==="#"){const o=t.indexOf(` 772`,r);return{lastIndex:o===-1?t.length:o}}if(/^\s$/.test(n)){const o=/\s+/y;return o.lastIndex=r,{lastIndex:o.exec(t)?o.lastIndex:r}}}if(n===".")return{token:Wo("dot",n)};if(n==="^"||n==="$"){const o=e.singleline?{"^":Gn`\A`,$:Gn`\Z`}[n]:n;return{token:Fw(o,n)}}return n==="|"?{token:gne(n)}:By.test(n)?{tokens:Mne(n)}:{token:ti(tu(n),n)}}function mne(e,t,n){const r=[qw(t[1]==="^",t)];let a=1,s;for(gb.lastIndex=n;s=gb.exec(e);){const o=s[0];if(o[0]==="["&&o[1]!==":")a++,r.push(qw(o[1]==="^",o));else if(o==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(ti(93,o));else if(a--,r.push(xne(o)),!a)break}else{const c=pne(o);Array.isArray(c)?r.push(...c):r.push(c)}}return{tokens:r,lastIndex:gb.lastIndex||e.length}}function pne(e){if(e[0]==="\\")return Xk(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!jy.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Wo("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?bne(e):e==="&&"?vne(e):ti(tu(e),e)}function Xk(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return Sne(e);if("dDhHsSwW".includes(n))return Nne(e);if(e.startsWith(Gn`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Rne(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(o=>parseInt(o,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...a].map(o=>{const c=[...s.encode(o)].map(u=>`\\x${u.toString(16)}`).join("");return ti(tu(o),c)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return ti(Dne(e),e);if($w.has(n))return ti($w.get(n),e);if(/\d/.test(n))return yne(t,e);if(e==="\\")throw new Error(Gn`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return ti(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function gne(e){return{type:"Alternator",raw:e}}function Fw(e,t){return{type:"Assertion",kind:e,raw:t}}function Zk(e){return{type:"Backreference",raw:e}}function ti(e,t){return{type:"Character",value:e,raw:t}}function xne(e){return{type:"CharacterClassClose",raw:e}}function bne(e){return{type:"CharacterClassHyphen",raw:e}}function vne(e){return{type:"CharacterClassIntersector",raw:e}}function qw(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Wo(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function Jk(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:nu(n.flags),raw:t}}function yne(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function Ene(e){return{type:"GroupClose",raw:e}}function vc(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function wne(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function _ne(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function Tne(e){return{type:"Subroutine",raw:e}}const Ane=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),$w=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Sne(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return ti(tu(t.toUpperCase())-64,e)}function Cne(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const a=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),s=Gw(n),o=Gw(r),c={};if(s&&(c.enable=s),o&&(c.disable=o),e.endsWith(")"))return t.replaceCurrentModX(a),Jk("flags",e,{flags:c});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,vc("group",e,{...(s||o)&&{flags:c}});throw new Error(`Unexpected flag modifier "${e}"`)}function kne(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:a}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=a?a.split(",").filter(p=>p!=="").map(p=>/^[+-]?\d+$/.test(p)?+p:p):[],[o,c,u]=s,f=Ane.has(n)?n.toLowerCase():"custom";switch(f){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof o=="string")throw new Error(`Named callout argument must be a number "${o}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(s.length===2&&(typeof c=="number"||!/^[<>X]$/.test(c)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${c}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${o}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(typeof c=="number"||!/^(?:[<>!=]=|[<>])$/.test(c))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${c}"`);if(typeof u=="string"&&!/^[A-Za-z_]\w*$/.test(u))throw new Error(`Named callout argument three must be a tag or number "${u}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${f}"`)}return wne(f,r??null,a?.split(",")??null,e)}function Vw(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,o=1e5;if(+a>o||s&&+s>o)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=s===void 0?+a:s===""?1/0:+s,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return _ne(t,n,r,e)}function Nne(e){const t=e[1].toLowerCase();return Wo({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function Rne(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Wo("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function Gw(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function One(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function Dne(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function Ine(e,t){const{raw:n,inCharClass:r}=e,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[Zk(n)];const s=[],o=a.match(/^[0-7]+|\d/g);for(let c=0;c<o.length;c++){const u=o[c];let f;if(c===0&&u!=="8"&&u!=="9"){if(f=parseInt(u,8),f>127)throw new Error(Gn`Octal encoded byte above 177 unsupported "${n}"`)}else f=tu(u);s.push(ti(f,(c===0?"\\":"")+u))}return s}function Mne(e){const t=[],n=new RegExp(By,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(s){const{min:o,max:c}=s.groups;if(+o>+c&&a.endsWith("?")){n.lastIndex--,t.push(Vw(a.slice(0,-1)));continue}}}t.push(Vw(a))}return t}function eN(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function Pne(e){return Lne.has(e.type)}const Lne=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subrout
772ine"]);function tN(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=fne(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(x,v)=>{const E=r.tokens[s.nextIndex];switch(s.parent=x,s.nextIndex++,E.type){case"Alternator":return al();case"Assertion":return jne(E);case"Backreference":return Bne(E,s);case"Character":return Tp(E.value,{useLastValid:!!v.isCheckingRangeEnd});case"CharacterClassHyphen":return zne(E,s,v);case"CharacterClassOpen":return Hne(E,s,v);case"CharacterSet":return Une(E,s);case"Directive":return Yne(E.kind,{flags:E.flags});case"GroupOpen":return Fne(E,s,v);case"NamedCallout":return Wne(E.kind,E.tag,E.arguments);case"Quantifier":return qne(E,s);case"Subroutine":return $ne(E,s);default:throw new Error(`Unexpected token type "${E.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},o=Xne(Qne(r.flags));let c=o.body[0];for(;s.nextIndex<r.tokens.length;){const x=a(c,{});x.type==="Alternative"?(o.body.push(x),c=x):c.body.push(x)}const{capturingGroups:u,hasNumberedRef:f,namedGroupsByName:p,subroutines:m}=s;if(f&&p.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:x}of m)if(typeof x=="number"){if(x>u.length)throw new Error("Subroutine uses a group number that's not defined");x&&(u[x-1].isSubroutined=!0)}else if(p.has(x)){if(p.get(x).length>1)throw new Error(Gn`Subroutine uses a duplicate group name "\g<${x}>"`);p.get(x)[0].isSubroutined=!0}else throw new Error(Gn`Subroutine uses a group name that's not defined "\g<${x}>"`);return o}function jne({kind:e}){return j2(nu({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===Gn`\B`||e===Gn`\Y`})}function Bne({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(s,o=!1)=>{const c=t.capturingGroups.length;let u=!1;if(s>c)if(t.skipBackrefValidation)u=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,B2(o?c+1-s:s,{orphan:u})};if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(s)return a(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);
vendor: 18,526 bytes, lines 772-869
772if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return B2(r)}return a(+r)}function zne(e,t,n){const{tokens:r,walk:a}=t,s=t.parent,o=s.body.at(-1),c=r[t.nextIndex];if(!n.isCheckingRangeEnd&&o&&o.type!=="CharacterClass"&&o.type!=="CharacterClassRange"&&c&&c.type!=="CharacterClassOpen"&&c.type!=="CharacterClassClose"&&c.type!=="CharacterClassIntersector"){const u=a(s,{...n,isCheckingRangeEnd:!0});if(o.type==="Character"&&u.type==="Character")return s.body.pop(),Gne(o,u);throw new Error("Invalid character class range")}return Tp(tu("-"))}function Hne({negate:e},t,n){const{tokens:r,walk:a}=t,s=r[t.nextIndex],o=[Lh()];let c=Ww(s);for(;c.type!=="CharacterClassClose";){if(c.type==="CharacterClassIntersector")o.push(Lh()),t.nextIndex++;else{const f=o.at(-1);f.body.push(a(f,n))}c=Ww(r[t.nextIndex],s)}const u=Lh({negate:e});return o.length===1?u.body=o[0].body:(u.kind="intersection",u.body=o.map(f=>f.body.length===1?f.body[0]:f)),t.nextIndex++,u}function Une({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:o}=r;if(e==="property"){const c=Ap(n);if(jy.has(c)&&!o?.has(c))e="posix",n=c;else return yc(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:o})}return e==="posix"?Kne(n,{negate:t}):z2(e,{negate:t})}function Fne(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:s,skipLookbehindValidation:o,walk:c}=t,u=Zne(e),f=u.type==="AbsenceFunction",p=Qw(u),m=p&&u.negate;if(u.type==="CapturingGroup"&&(a.push(u),u.name&&dne(s,u.name,[]).push(u)),f&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let x=Kw(r[t.nextIndex]);for(;x.type!=="GroupClose";){if(x.type==="Alternator")u.body.push(al()),t.nextIndex++;else{const v=u.body.at(-1),E=c(v,{...n,isInAbsenceFunction:n.isInAbsenceFunction||f,isInLookbehind:n.isInLookbehind||p,isInNegLookbehind:n.isInNegLookbehind||m});if(v.body.push(E),(p||n.isInLookbehind)&&!o){const _="Lookbehind includes a pattern not allowed by Oniguruma";if(m||n.isInNegLookbehind){if(Yw(E)||E.type==="CapturingGroup")throw new Error(_)}else if(Yw(E)||Qw(E)&&E.negate)throw new Error(_)}}x=Kw(r[t.nextIndex])}return t.nextIndex++,u}function qne({kind:e,min:t,max:n},r){const a=r.parent,s=a.body.at(-1);if(!s||!Pne(s))throw new Error("Quantifier requires a repeatable token");const o=rN(e,t,n,s);return a.body.pop(),o}function $ne({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(s){const c=+s.groups.num,u=n.length;if(t.hasNumberedRef=!0,a={"":c,"+":u+c,"-":u+1-c}[s.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const o=aN(a);return r.push(o),o}function Vne(e,t){return{type:"AbsenceFunction",kind:e,body:E0(t?.body)}}function al(e){return{type:"Alternative",body:sN(e?.body)}}function j2(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function B2(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function nN(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!Jne(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:E0(t?.body)}}function Tp(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function Lh(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:sN(e?.body)}}function Gne(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function z2(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function Yne(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:nu(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function Qne(e){return{type:"Flags",...e}}function Ba(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:E0(e?.body)}}function Go(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:E0(e?.body)}}function Wne(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function Kne(e,t){const n=!!t?.negate;if(!jy.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function rN(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function Xne(e,t){return{type:"Regex",body:E0(t?.body),flags:e}}function aN(e){return{type:"Subroutine",ref:e}}function yc(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(Ap(e));if(!r){if(n.normalizeUnknownPropertyNames)r=ere(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(Gn`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function Zne({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return Vne("repeater");case"atomic":return Ba({atomic:!0});case"capturing":return nN(a,{name:n});case"group":return Ba({flags:e});case"lookahead":case"lookbehind":return Go({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function E0(e){if(e===void 0)e=[al()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function sN(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function Yw(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Qw(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function Jne(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function ere(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Ap(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Ww(e,t){return nu(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function Kw(e){return nu(e,"Unclosed group")}function Id(e,t,n=null){function r(s,o){for(let c=0;c<s.length;c++){const u=a(s[c],o,c,s);c=Math.max(-1,c+u)}}function a(s,o=null,c=null,u=null){let f=0,p=!1;const m={node:s,parent:o,key:c,container:u,root:e,remove(){yh(u).splice(Math.max(0,pc(c)+f),1),f--,p=!0},removeAllNextSiblings(){return yh(u).splice(pc(c)+1)},removeAllPrevSiblings(){const S=pc(c)+f;return f-=S,yh(u).splice(0,Math.max(0,S))},replaceWith(S,O={}){const R=!!O.traverse;u?u[Math.max(0,pc(c)+f)]=S:nu(o,"Can't replace root node")[c]=S,R&&a(S,o,c,u),p=!0},replaceWithMultiple(S,O={}){const R=!!O.traverse;if(yh(u).splice(Math.max(0,pc(c)+f),1,...S),f+=S.length-1,R){let q=0;for(let H=0;H<S.length;H++)q+=a(S[H],o,pc(c)+H+q,u)}p=!0},skip(){p=!0}},{type:x}=s,v=t["*"],E=t[x],_=typeof v=="function"?v:v?.enter,k=typeof E=="function"?E:E?.enter;if(_?.(m,n),k?.(m,n),!p)switch(x){case"AbsenceFunction":case"CapturingGroup":case"Group":r(s.body,s);break;case"Alternative":case"CharacterClass":r(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"LookaroundAssertion":r(s.body,s);break;case"Quantifier":a(s.body,s,"body");break;case"Regex":r(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${x}"`)}return E?.exit?.(m,n),v?.exit?.(m,n),f}return a(e),e}function yh(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function pc(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const tre=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function nre(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function rre(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const Aa=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function zy(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,c="";for(const u of e.matchAll(a)){const{0:f,groups:{$skip:p}}=u;if(!p&&(!r||r===Aa.DEFAULT==!o)){n instanceof Function?c+=n(u,{context:o?Aa.CHAR_CLASS:Aa.DEFAULT,negated:s[s.length-1]}):c+=n;continue}f[0]==="["?(o++,s.push(f[1]==="^")):f==="]"&&o&&(o--,s.pop()),c+=f}return c}function iN(e,t,n,r){zy(e,t,n,r)}function are(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let s=0,o;for(;o=a.exec(e);){const{0:c,groups:{$skip:u}}=o;if(!u&&(!r||r===Aa.DEFAULT==!s))return o;c==="["?s++:c==="]"&&s&&s--,a.lastIndex==o.index&&a.lastIndex++}return null}function Eh(e,t,n){return!!are(e,t,0,n)}function sre(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,s=1,o;for(;o=n.exec(e);){const[c]=o;if(c==="[")a++;else if(a)c==="]"&&a--;else if(c==="(")s++;else if(c===")"&&(s--,!s)){r=o.index;break}}return e.slice(t,r)}const Xw=new RegExp(String.raw`(?<noncapturingStart>${tre})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function ire(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",s="(?:(?=(",o=[0],c=[];let u=0,f=0,p=NaN,m;do{m=!1;let x=0,v=0,E=!1,_;for(Xw.lastIndex=Number.isNaN(p)?0:p+s.length;_=Xw.exec(e);){const{0:k,index:S,groups:{capturingStart:O,noncapturingStart:R}}=_;if(k==="[")x++;else if(x)k==="]"&&x--;else if(k===a&&!E)p=S,E=!0;else if(E&&R)v++;else if(O)E?v++:(u++,o.push(u+f));else if(k===")"&&E){if(!v){f++;const q=u+f;if(e=`${e.slice(0,p)}${s}${e.slice(p+a.length,S)}))<$$${q}>)${e.slice(S+1)}`,m=!0,c.push(q),nre(n,q),r.size){const H=new Map;r.forEach((L,M)=>{H.set(M>=q?M+1:M,L.map(B=>B>=q?B+1:B))}),r=H}break}v--}}}while(m);return n.push(...c),e=zy(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:x,groups:{backrefNum:v,wrappedBackrefNum:E}})=>{if(v){const _=+v;if(_>o.length-1)throw new Error(`Backref "${x}" greater than number of captures`);return`\\${o[_]}`}return`\\${E}`},Aa.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const oN=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,xb=new RegExp(String.raw` 773\\(?: \d+ 774 | c[A-Za-z] 775 | [gk]<[^>]+> 776 | [pPu]\{[^\}]+\} 777 | u[A-Fa-f\d]{4} 778 | x[A-Fa-f\d]{2} 779 ) 780| \((?: \? (?: [:=!>] 781 | <(?:[=!]|[^>]+>) 782 | [A-Za-z\-]+: 783 | \(DEFINE\) 784 ))? 785| (?<qBase>${oN})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?) 786| \\?. 787`.replace(/\s+/g,""),"gsu");function ore(e){if(!new RegExp(`${oN}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",s=0,o;for(xb.lastIndex=0;o=xb.exec(e);){const{0:c,index:u,groups:{qBase:f,qMod:p,invalidQ:m}}=o;if(c==="[")s||(r=u),s++;else if(c==="]")s?s--:r=null;else if(!s)if(p==="+"&&a&&!a.startsWith("(")){if(m)throw new Error(`Invalid quantifier "${c}"`);let x=-1;if(/^\{\d+\}$/.test(f))e=rre(e,u+f.length,p,"");else{if(a===")"||a==="]"){const v=a===")"?n:r;if(v===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,v)}(?>${e.slice(v,u)}${f})${e.slice(u+c.length)}`}else e=`${e.slice(0,u-a.length)}(?>${a}${f})${e.slice(u+c.length)}`;x+=4}xb.lastIndex+=x}else c[0]==="("?t.push(u):c===")"&&(n=t.length?t.pop():null);a=c}return{pattern:e}}const _a=String.raw,lre=_a`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,H2=_a`\(\?R=(?<rDepth>[^\)]+)\)|${lre}`,Sp=_a`\(\?<(?![=!])(?<captureName>[^>]+)>`,lN=_a`${Sp}|(?<unnamed>\()(?!\?)`,Uo=new RegExp(_a`${Sp}|${H2}|\(\?|\\?.`,"gsu"),bb="Cannot use multiple overlapping recursions";function cre(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(H2,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Eh(e,_a`\(\?\(DEFINE\)`,Aa.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],o=Eh(e,_a`\\[1-9]`,Aa.DEFAULT),c=new Map,u=[];let f=!1,p=0,m=0,x;for(Uo.lastIndex=0;x=Uo.exec(e);){const{0:v,groups:{captureName:E,rDepth:_,gRNameOrNum:k,gRDepth:S}}=x;if(v==="[")p++;else if(p)v==="]"&&p--;else if(_){if(Zw(_),f)throw new Error(bb);if(o)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const O=e.slice(0,x.index),R=e.slice(Uo.lastIndex);if(Eh(R,H2,Aa.DEFAULT))throw new Error(bb);const q=+_-1;e=Jw(O,R,q,!1,n,s,m),a=t_(a,O,q,s.length,0,m);break}else if(k){Zw(S);let O=!1;for(const ne of u)if(ne.name===k||ne.num===+k){if(O=!0,ne.hasRecursedWithin)throw new Error(bb);break}if(!O)throw new Error(_a`Recursive \g cannot be used outside the referenced group "${r==="external"?k:_a`\g<${k}&R=${S}>`}"`);const R=c.get(k),q=sre(e,R);if(o&&Eh(q,_a`${Sp}|\((?!\?)`,Aa.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const H=e.slice(R,x.index),L=q.slice(H.length+v.length),M=s.length,B=+S-1,Z=Jw(H,L,B,!0,n,s,m);a=t_(a,H,B,s.length-M,M,m);const Y=e.slice(0,R),ae=e.slice(R+q.length);e=`${Y}${Z}${ae}`,Uo.lastIndex+=Z.length-v.length-H.length-L.length,u.forEach(ne=>ne.hasRecursedWithin=!0),f=!0}else if(E)m++,c.set(String(m),Uo.lastIndex),c.set(E,Uo.lastIndex),u.push({num:m,name:E});else if(v[0]==="("){const O=v==="(";O&&(m++,c.set(String(m),Uo.lastIndex)),u.push(O?{num:m}:{})}else v===")"&&u.pop()}return n.push(...s),{pattern:e,captureTransfers:a,hiddenCaptures:n}}function Zw(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function Jw(e,t,n,r,a,s,o){const c=new Set;r&&iN(e+t,Sp,({groups:{captureName:f}})=>{c.add(f)},Aa.DEFAULT);const u=[n,r?c:null,a,s,o];return`${e}${e_(`(?:${e}`,"forward",...u)}(?:)${e_(`${t})`,"backward",...u)}${t}`}function e_(e,t,n,r,a,s,o){const u=p=>t==="forward"?p+2:n-p+2-1;let f="";for(let p=0;p<n;p++){const m=u(p);f+=zy(e,_a`${lN}|\\k<(?<backref>[^>]+)>`,({0:x,groups:{captureName:v,unnamed:E,backref:_}})=>{if(_&&r&&!r.has(_))return x;const k=`_$${m}`;if(E||v){const S=o+s.length+1;return s.push(S),ure(a,S),E?x:`(?<${v}${k}>`}return _a`\k<${_}${k}>`},Aa.DEFAULT)}return f}function ure(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function t_(e,t,n,r,a,s){if(e.size&&r){let o=0;iN(t,lN,()=>o++,Aa.DEFAULT);const c=s-o+a,u=new Map;return e.forEach((f,p)=>{const m=(r-o*n)/n,x=o*n,v=p>c+o?p+r:p,E=[];for(const _ of f)if(_<=c)E.push(_);else if(_>c+o+m)E.push(_+r);else if(_<=c+o)for(let k=0;k<=n;k++)E.push(_+o*k);else for(let k=0;k<=n;k++)E.push(_+x+m*k);u.set(v,E)}),u}return e}var Ln=String.fromCodePoint,ct=String.raw,ai={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};ai.bugFlagVLiteralHyphenIsRange=ai.unicodeSets?(()=>{try{new RegExp(ct`[\d\-a]`,"v")}catch{return!0}return!1})():!1;ai.bugNestedClassIgnoresNegation=ai.unicodeSets&&new RegExp("[[^a]]","v").test("a");function Tm(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function Xd(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function U2(e,t){return n_[e]>=n_[t]}function dre(e,t){if(e==null)throw new Error(t??"Value expected");return e}var n_={ES2025:2025,ES2024:2024,ES2018:2018},fre={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function cN(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!fre[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=ai.flagGroups?"ES2025":ai.unicodeSets?"ES2024":"ES2018"),t}var hre="[ -\r ]",mre=new Set([Ln(304),Ln(305)]),Ks=ct`[\p{L}\p{M}\p{N}\p{Pc}]`;function uN(e){if(mre.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=xre.get(n),s=pre.get(n),o=gre.get(n);return[...r].length===1&&t.add(r),o&&t.add(o),a&&t.add(a),t.add(n),s&&t.add(s),[...t]}var Hy=new Map(`C Other 788Cc Control cntrl 789Cf Format 790Cn Unassigned 791Co Private_Use 792Cs Surrogate 793L Letter 794LC Cased_Letter 795Ll Lowercase_Letter 796Lm Modifier_Letter 797Lo Other_Letter 798Lt Titlecase_Letter 799Lu Uppercase_Letter 800M Mark Combining_Mark 801Mc Spacing_Mark 802Me Enclosing_Mark 803Mn Nonspacing_Mark 804N Number 805Nd Decimal_Number digit 806Nl Letter_Number 807No Other_Number 808P Punctuation punct 809Pc Connector_Punctuation 810Pd Dash_Punctuation 811Pe Close_Punctuation 812Pf Final_Punctuation 813Pi Initial_Punctuation 814Po Other_Punctuation 815Ps Open_Punctuation 816S Symbol 817Sc Currency_Symbol 818Sk Modifier_Symbol 819Sm Math_Symbol 820So Other_Symbol 821Z Separator 822Zl Line_Separator 823Zp Paragraph_Separator 824Zs Space_Separator 825ASCII 826ASCII_Hex_Digit AHex 827Alphabetic Alpha 828Any 829Assigned 830Bidi_Control Bidi_C 831Bidi_Mirrored Bidi_M 832Case_Ignorable CI 833Cased 834Changes_When_Casefolded CWCF 835Changes_When_Casemapped CWCM 836Changes_When_Lowercased CWL 837Changes_When_NFKC_Casefolded CWKCF 838Changes_When_Titlecased CWT 839Changes_When_Uppercased CWU 840Dash 841Default_Ignorable_Code_Point DI 842Deprecated Dep 843Diacritic Dia 844Emoji 845Emoji_Component EComp 846Emoji_Modifier EMod 847Emoji_Modifier_Base EBase 848Emoji_Presentation EPres 849Extended_Pictographic ExtPict 850Extender Ext 851Grapheme_Base Gr_Base 852Grapheme_Extend Gr_Ext 853Hex_Digit Hex 854IDS_Binary_Operator IDSB 855IDS_Trinary_Operator IDST 856ID_Continue IDC 857ID_Start IDS 858Ideographic Ideo 859Join_Control Join_C 860Logical_Order_Exception LOE 861Lowercase Lower 862Math 863Noncharacter_Code_Point NChar 864Pattern_Syntax Pat_Syn 865Pattern_White_Space Pat_WS 866Quotation_Mark QMark 867Radical 868Regional_Indicator RI 869Sentence_Terminal STerm
870Soft_Dotted SD 871Terminal_Punctuation Term 872Unified_Ideograph UIdeo 873Uppercase Upper 874Variation_Selector VS 875White_Space space 876XID_Continue XIDC 877XID_Start XIDS`.split(/\s/).map(e=>[Ap(e),e])),pre=new Map([["s",Ln(383)],[Ln(383),"s"]]),gre=new Map([[Ln(223),Ln(7838)],[Ln(107),Ln(8490)],[Ln(229),Ln(8491)],[Ln(969),Ln(8486)]]),xre=new Map([Yi(453),Yi(456),Yi(459),Yi(498),...vb(8072,8079),...vb(8088,8095),...vb(8104,8111),Yi(8124),Yi(8140),Yi(8188)]),bre=new Map([["alnum",ct`[\p{Alpha}\p{Nd}]`],["alpha",ct`\p{Alpha}`],["ascii",ct`\p{ASCII}`],["blank",ct`[\p{Zs}\t]`],["cntrl",ct`\p{Cc}`],["digit",ct`\p{Nd}`],["graph",ct`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",ct`\p{Lower}`],["print",ct`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",ct`[\p{P}\p{S}]`],["space",ct`\p{space}`],["upper",ct`\p{Upper}`],["word",ct`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",ct`\p{AHex}`]]);function vre(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Yi(e){const t=Ln(e);return[t.toLowerCase(),t]}function vb(e,t){return vre(e,t).map(n=>Yi(n))}var dN=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function yre(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};fN(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:U2(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Id(e,Ere,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Id(e,wre,s);const o={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return Id(e,_re,o),e._originMap=s.groupOriginByCopy,e._strategy=r.strategy,e}var Ere={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const s=Ba();s.body[0].body.push(Go({negate:!0,body:r}),yc("Any"));const o=Ba();o.body[0].body.push(rN("greedy",0,1/0,s)),n(yn(o,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const a=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const o=t.body[s];Xd(r,o,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=mN(t.get(e));if(n){const r=Ba({flags:n});r.body[0].body=e.body,e.body=[yn(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:s,replaceWith:o},c){const{kind:u,negate:f}=e,{asciiWordBoundaries:p,avoidSubclass:m,supportedGNodes:x,wordIsAscii:v}=c;if(u==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${f?"Y":"y"}"`);if(u==="line_end")o(yn(Go({body:[al({body:[j2("string_end")]}),al({body:[Tp(10)]})]}),t));else if(u==="line_start")o(yn(Xs(ct`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(u==="search_start")if(x.has(e))a.flags.sticky=!0,s();else{const E=r[n-1];if(E&&Nre(E))o(yn(Go({negate:!0}),t));else{if(m)throw new Error(ct`Uses "\G" in a way that requires a subclass`);o(Qi(j2("string_start"),t)),c.strategy="clip_search"}}else if(!(u==="string_end"||u==="string_start"))if(u==="string_end_newline")o(yn(Xs(ct`(?=\n?\z)`),t));else if(u==="word_boundary"){if(!v&&!p){const E=`(?:(?<=${Ks})(?!${Ks})|(?<!${Ks})(?=${Ks}))`,_=`(?:(?<=${Ks})(?=${Ks})|(?<!${Ks})(?!${Ks}))`;o(yn(Xs(f?_:E),t))}}else throw new Error(`Unexpected assertion kind "${u}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Eb(n)&&(n=yb(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!Eb(r)&&(r=yb(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Lh({body:[e]});n(yn(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:s,spaceIsAscii:o,wordIsAscii:c}){const{kind:u,negate:f,value:p}=e;if(s&&(u==="digit"||p==="digit")){n(Qi(z2("digit",{negate:f}),t));return}if(o&&(u==="space"||p==="space")){n(yn(wb(Xs(hre),f),t));return}if(c&&(u==="word"||p==="word")){n(Qi(z2("word",{negate:f}),t));return}if(u==="any")n(Qi(yc("Any"),t));else if(u==="digit")n(Qi(yc("Nd",{negate:f}),t));else if(u!=="dot")if(u==="text_segment"){if(r==="strict")throw new Error(ct`Use of "\X" requires non-strict accuracy`);const m="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",x=ct`\p{RI}{2}|${m}(?:\u200D${m})*`;n(yn(Xs(ct`(?>\r\n|${a?ct`\p{RGI_Emoji}`:x}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}
vendor: 21,022 bytes, lines 877-880
877),t))}else if(u==="hex")n(Qi(yc("AHex",{negate:f}),t));else if(u==="newline")n(yn(Xs(f?`[^ 878]`:`(?>\r 879?|[ 880\v\f \u2028\u2029])`),t));else if(u==="posix")if(!a&&(p==="graph"||p==="print")){if(r==="strict")throw new Error(`POSIX class "${p}" requires min target ES2024 or non-strict accuracy`);let m={graph:"!-~",print:" -~"}[p];f&&(m=`\0-${Ln(m.codePointAt(0)-1)}${Ln(m.codePointAt(2)+1)}-ô¿¿`),n(yn(Xs(`[${m}]`),t))}else n(yn(wb(Xs(bre.get(p)),f),t));else if(u==="property")Hy.has(Ap(p))||(e.key="sc");else if(u==="space")n(Qi(yc("space",{negate:f}),t));else if(u==="word")n(yn(wb(Xs(Ks),f),t));else throw new Error(`Unexpected character set kind "${u}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:s,removeAllNextSiblings:o}){const{kind:c,flags:u}=e;if(c==="flags")if(!u.enable&&!u.disable)r();else{const f=Ba({flags:u});f.body[0].body=o(),a(yn(f,t),{traverse:!0})}else if(c==="keep"){const f=n.body[0],m=n.body.length===1&&eN(f,{type:"Group"})&&f.body[0].body.length===1?f.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(ct`Uses "\K" in a way that's unsupported`);const x=Go({behind:!0});x.body[0].body=s(),a(yn(x,t))}else throw new Error(`Unexpected directive kind "${c}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(yn(Go({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Ba();t.body[0].body.push(e.body),e.body=yn(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,a=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const o=gN(s.body);o?(r=!0,Array.isArray(o)?n.push(...o):n.push(o)):a=!0}r&&!a&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(ct`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Eb(n)&&(n=yb(n,t),e.ref=n)}},wre={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:c,reffedNodesByReferencer:u}){const f=a.get(e);if(f&&c.has(e.number)){const m=Qi(r_(e.number),t);u.set(m,c.get(e.number)),n(m);return}c.set(e.number,e),o.set(e.number,[]),e.name&&Xd(o,e.name,[]);const p=o.get(e.name??e.number);for(let m=0;m<p.length;m++){const x=p[m];if(f===x.node||f&&f===x.origin||e===x.origin){p.splice(m,1);break}}if(o.get(e.number).push({node:e,origin:f}),e.name&&o.get(e.name).push({node:e,origin:f}),e.name){const m=Xd(s,e.name,new Map);let x=!1;if(f)x=!0;else for(const v of m.values())if(!v.hasDuplicateNameToRemove){x=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:x})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Tm(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:s}=e;if(a){let p=t;for(;(p=p.parent)&&!(p.type==="CapturingGroup"&&(p.name===s||p.number===s)););r.reffedNodesByReferencer.set(e,p);return}const o=r.subroutineRefMap.get(s),c=s===0,u=c?r_(0):hN(o,r.groupOriginByCopy,null);let f=u;if(!c){const p=mN(Sre(o,x=>x.type==="Group"&&!!x.flags)),m=p?Tm(r.globalFlags,p):r.globalFlags;Tre(m,r.currentFlags)||(f=Ba({flags:Cre(m)}),f.body[0].body.push(u))}n(yn(f,t),{traverse:!c})}},_re={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const s=r.reffedNodesByReferencer.get(e).filter(o=>Are(o,e));if(!s.length)n(yn(Go({negate:!0}),t));else if(s.length>1){const o=Ba({atomic:!0,body:s.reverse().map(c=>al({body:[B2(c.number)]}))});n(yn(o,t))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const a=nN();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function fN(e){Id(e,{"*"({node:t,parent:n}){t.parent=n}})}function Tre(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function Are(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=pN(n.parent);for(const a of r){if(a===n)break;if(a===e||xN(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function hN(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[s,o]of Object.entries(e))s==="parent"?a.parent=Array.isArray(n)?r:n:o&&typeof o=="object"?a[s]=hN(o,t,a,n):(s==="type"&&o==="CapturingGroup"&&t.set(a,t.get(e)??e),a[s]=o);return a}function r_(e){const t=aN(e);return t.isRecursive=!0,t}function Sre(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function yb(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function mN(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(a=>{r.enable?.[a]&&(delete n.disable[a],n.enable[a]=!0),r.disable?.[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function Cre({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function pN(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function gN(e){const t=e.find(n=>n.kind==="search_start"||Rre(n,{negate:!1})||!kre(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const a=gN(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function xN(e,t){const n=pN(e)??[];for(const r of n)if(r===t||xN(r,t))return!0;return!1}function kre({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function Nre(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Rre(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&eN(e.body[0],{type:"Assertion",kind:"search_start"})}function Eb(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Xs(e,t){const r=tN(e,{...t,unicodePropertyMap:Hy}).body;return r.length>1||r[0].body.length>1?Ba({body:r}):r[0].body[0]}function wb(e,t){return e.negate=t,e}function Qi(e,t){return e.parent=t,e}function yn(e,t){return fN(e),e.parent=t,e}function Ore(e,t){const n=cN(t),r=U2(n.target,"ES2024"),a=U2(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,c=null;if(!a){const v=[e.flags.ignoreCase];Id(e,Dre,{getCurrentModI:()=>v.at(-1),popModI(){v.pop()},pushModI(E){v.push(E)},setHasCasedChar(){v.at(-1)?o=!0:c=!0}})}const u={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!c)};let f=e;const p={accuracy:n.accuracy,appliedGlobalFlags:u,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:f,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!a&&o&&c),useFlagMods:a,useFlagV:r,verbose:n.verbose};function m(v){return p.lastNode=f,f=v,dre(Ire[v.type],`Unexpected node type "${v.type}"`)(v,p,m)}const x={pattern:e.body.map(m).join("|"),flags:m(e.flags),options:{...e.options}};return r||(delete x.options.force.v,x.options.disable.v=!0,x.options.unicodeSetsPlugin=null),x._captureTransfers=new Map,x._hiddenCaptures=[],p.captureMap.forEach((v,E)=>{v.hidden&&x._hiddenCaptures.push(E),v.transferTo&&Xd(x._captureTransfers,v.transferTo,[]).push(E)}),x}var Dre={"*":{enter({node:e},t){if(s_(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Tm({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){s_(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Uy(Ln(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),bN(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&dN.has(e.value)&&t.setHasCasedChar()}},Ire={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?ct`\B`:ct`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:a,number:s}=e,o={ignoreCase:t.currentFlags.ignoreCase},c=t.originMap.get(e);return c&&(o.hidden=!0,s>c.number&&(o.transferTo=c.number)),t.captureMap.set(s,o),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=Ln(e),r=gc(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Uy(n)){const a=uN(n);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:a,parent:s}=e;let{body:o}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");ai.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(i_)&&(o=[Tp(45),...o.filter(f=>!i_(f))]);const c=()=>`[${a?"^":""}${o.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||ai.bugNestedClassIgnoresNegation)&&!a){const p=o.filter(m=>m.type==="CharacterClass"&&m.kind==="union"&&m.negate);if(p.length){const m=Ba(),x=m.body[0];return m.parent=s,x.parent=m,o=o.filter(v=>!p.includes(v)),e.body=o,o.length?(e.parent=x,x.body.push(e)):m.body.pop(),p.forEach(v=>{const E=al({body:[v]});v.parent=E,E.parent=m,m.body.push(E)}),n(m)}}t.inCharClass=!0;const f=c();return t.inCharClass=!1,f}const u=o[0];if(r==="union"&&!a&&u&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(ai.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&o.length===1&&u.type!=="CharacterClassRange"))return o.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return c()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=gc(n,a),o=gc(r,a),c=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const u=bN(e);Bre(u).forEach(p=>{c.add(Array.isArray(p)?`${gc(p[0],a)}-${gc(p[1],a)}`:gc(p,a))})}return`${s}-${o}${[...c].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":ct`[^\n]`;if(e==="digit")return t?ct`\D`:ct`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&dN.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?ct`\P`:ct`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?ct`\W`:ct`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},a,s){const o=a.currentFlags;n&&(a.currentFlags=Tm(o,n));const c=t.map(s).join("|"),u=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?c:`(?${zre(e,n,a.useFlagMods)}${c})`;return a.currentFlags=o,u},LookaroundAssertion({body:e,kind:t,negate:n},r,a){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,n){return n(e.body)+Hre(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:ct`\g<${t}&R=${r}>`}},Mre=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Pre=new Set(["-","\\","]","^","["]),Lre=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),a_=new Map([[9,ct`\t`],[10,ct`\n`],[11,ct`\v`],[12,ct`\f`],[13,ct`\r`],[8232,ct`\u2028`],[8233,ct`\u2029`],[65279,ct`\uFEFF`]]),jre=new RegExp("^\\p{Cased}$","u");function Uy(e){return jre.test(e)}function bN(e,t){const n=!!t?.firstOnly,r=e.min.value,a=e.max.value,s=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return s;for(let o=r;o<=a;o++){const c=Ln(o);if(!Uy(c))continue;const u=uN(c).filter(f=>{const p=f.codePointAt(0);return p<r||p>a});if(u.length&&(s.push(...u),n))break}return s}function gc(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(a_.has(e))return a_.get(e);if(e<32||e>126&&e<160||e>262143||t&&Ure(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?Lre:Pre:Mre,s=Ln(e);return(a.has(s)?"\\":"")+s}function Bre(e){const t=e.map(a=>a.codePointAt(0)).sort((a,s)=>a-s),n=[];let r=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?r??=t[a]:r===null?n.push(t[a]):(n.push([r,t[a]]),r=null);return n}function zre(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:s}=t;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(s?"-":"")+(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")}return`${r}:`}function Hre({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function s_({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function Ure(e){return e>47&&e<58}function i_({type:e,value:t}){return e==="Character"&&t===45}var Fre=class F2 extends RegExp{#t=new Map;#e=null;#n;#a=null;#r=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(t,n,r){const a=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const s=t;super(s,n),this.#n=s.source,s instanceof F2&&(this.#t=s.#t,this.#a=s.#a,this.#r=s.#r,this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":t,n),this.#n=t,this.#t=$re(s.hiddenCaptures,s.transfers),this.#r=s.strategy,this.rawOptions=r??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...s}=this.rawOptions;this.#e=new F2(this.#n,this.flags,s)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#r==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#s(t.slice(r));return a&&(qre(a,r,t,this.hasIndices),this.lastIndex+=r),a}return this.#s(t)}#s(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const r=[...n];n.length=1;let a;this.hasIndices&&(a=[...n.indices],n.indices.length=1);const s=[0];for(let o=1;o<r.length;o++){const{hidden:c,transferTo:u}=this.#t.get(o)??{};if(c?s.push(null):(s.push(n.length),n.push(r[o]),this.hasIndices&&n.indices.push(a[o])),u&&r[o]!==void 0){const f=s[u];if(!f)throw new Error(`Invalid capture transfer to "${f}"`);if(n[f]=r[o],this.hasIndices&&(n.indices[f]=a[o]),n.groups){this.#a||(this.#a=Vre(this.source));const p=this.#a.get(u);p&&(n.groups[p]=r[o],this.hasIndices&&(n.indices.groups[p]=a[o]))}}}return n}};function qre(e,t,n,r){if(e.index+=t,e.input=n,r){const a=e.indices;for(let o=0;o<a.length;o++){const c=a[o];c&&(a[o]=[c[0]+t,c[1]+t])}const s=a.groups;s&&Object.keys(s).forEach(o=>{const c=s[o];c&&(s[o]=[c[0]+t,c[1]+t])})}}function $re(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const s of a)Xd(n,s,{}).transferTo=r;return n}function Vre(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,s;for(;s=t.exec(e);){const{0:o,groups:{capture:c,name:u}}=s;o==="["?r++:r?o==="]"&&r--:c&&(a++,u&&n.set(a,u))}return n}function Gre(e,t){const n=Yre(e,t);return n.options?new Fre(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Yre(e,t){const n=cN(t),r=tN(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Hy}),a=yre(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=Ore(a,n),o=cre(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),c=ore(o.pattern),u=ire(c.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),f={pattern:u.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const p=u.hiddenCaptures.sort((E,_)=>E-_),m=Array.from(u.captureTransfers),x=a._strategy,v=f.pattern.length>=n.lazyCompileLength;(p.length||m.length||x||v)&&(f.options={...p.length&&{hiddenCaptures:p},...m.length&&{transfers:m},...x&&{strategy:x},...v&&{lazyCompile:v}})}return f}const o_=4294967295;class Qre{constructor(t,n={}){this.patterns=t,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:s}=n;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(o=>{if(typeof o!="string")return o;const c=a?.get(o);if(c){if(c instanceof RegExp)return c;if(r)return null;throw c}try{const u=s(o);return a?.set(o,u),u}catch(u){if(a?.set(o,u),r)return null;throw u}})}regexps;findNextMatchSync(t,n,r){const a=typeof t=="string"?t:t.content,s=[];function o(c,u,f=0){return{index:c,captureIndices:u.indices.map(p=>p==null?{start:o_,end:o_,length:0}:{start:p[0]+f,end:p[1]+f,length:p[1]-p[0]})}}for(let c=0;c<this.regexps.length;c++){const u=this.regexps[c];if(u)try{u.lastIndex=n;const f=u.exec(a);if(!f)continue;if(f.index===n)return o(c,f,0);s.push([c,f,0])}catch(f){if(this.options.forgiving)continue;throw f}}if(s.length){const c=Math.min(...s.map(u=>u[1].index));for(const[u,f,p]of s)if(f.index===c)return o(u,f,p)}return null}}function Wre(e,t){return Gre(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function Kre(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>Wre(n,{target:t.target}),{createScanner(n){return new Qre(n,t)},createString(n){return{content:n}}}}function Fy(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xl=Fy();function vN(e){xl=e}var Md={exec:()=>null};function jt(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(a,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(Tr.caret,"$1"),n=n.replace(a,o),r},getRegex:()=>new RegExp(n,t)};return r}var Tr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 6,585 bytes, lines 880-881
880:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Xre=/^(?:[ \t]*(?:\n|$))+/,Zre=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Jre=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,w0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eae=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,qy=/(?:[*+-]|\d{1,9}[.)])/,yN=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,EN=jt(yN).replace(/bull/g,qy).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tae=jt(yN).replace(/bull/g,qy).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),$y=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nae=/^[^\n]+/,Vy=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,rae=jt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Vy).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),aae=jt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,qy).getRegex(),Cp="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Gy=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,sae=jt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Gy).replace("tag",Cp).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),wN=jt($y).replace("hr",w0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),iae=jt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",wN).getRegex(),Yy={blockquote:iae,code:Zre,def:rae,fences:Jre,heading:eae,hr:w0,html:sae,lheading:EN,list:aae,newline:Xre,paragraph:wN,table:Md,text:nae},l_=jt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",w0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),oae={...Yy,lheading:tae,table:l_,paragraph:jt($y).replace("hr",w0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",l_).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex()},lae={...Yy,html:jt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Gy).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Md,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:jt($y).replace("hr",w0).replace("heading",` *#{1,6} *[^ 881]`).replace("lheading",EN).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},cae=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,uae=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,_N=/^( {2,}|\\)\n(?!\s*$)/,dae=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,kp=/[\p{P}\p{S}]/u,Qy=/[\s\p{P}\p{S}]/u,TN=/[^\s\p{P}\p{S}]/u,fae=jt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Qy).getRegex(),AN=/(?!~)[\p{P}\p{S}]/u,hae=/(?!~)[\s\p{P}\p{S}]/u,mae=/(?:[^\s\p{P}\p{S}
vendor: 4,226 bytes, line 881
881]|~)/u,pae=jt(/link|code|html/,"g").replace("link",new RegExp("\\[(?:[^\\[\\]`]|(?<!`)(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("code",new RegExp("(?<!`)(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),SN=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,gae=jt(SN,"u").replace(/punct/g,kp).getRegex(),xae=jt(SN,"u").replace(/punct/g,AN).getRegex(),CN="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",bae=jt(CN,"gu").replace(/notPunctSpace/g,TN).replace(/punctSpace/g,Qy).replace(/punct/g,kp).getRegex(),vae=jt(CN,"gu").replace(/notPunctSpace/g,mae).replace(/punctSpace/g,hae).replace(/punct/g,AN).getRegex(),yae=jt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,TN).replace(/punctSpace/g,Qy).replace(/punct/g,kp).getRegex(),Eae=jt(/\\(punct)/,"gu").replace(/punct/g,kp).getRegex(),wae=jt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_ae=jt(Gy).replace("(?:-->|$)","-->").getRegex(),Tae=jt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_ae).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Am=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Aae=jt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Am).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),kN=jt(/^!?\[(label)\]\[(ref)\]/).replace("label",Am).replace("ref",Vy).getRegex(),NN=jt(/^!?\[(ref)\](?:\[\])?/).replace("ref",Vy).getRegex(),Sae=jt("reflink|nolink(?!\\()","g").replace("reflink",kN).replace("nolink",NN).getRegex(),c_=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,Wy={_backpedal:Md,anyPunctuation:Eae,autolink:wae,blockSkip:pae,br:_N,code:uae,del:Md,emStrongLDelim:gae,emStrongRDelimAst:bae,emStrongRDelimUnd:yae,escape:cae,link:Aae,nolink:NN,punctuation:fae,reflink:kN,reflinkSearch:Sae,tag:Tae,text:dae,url:Md},Cae={...Wy,link:jt(/^!?\[(label)\]\((.*?)\)/).replace("label",Am).getRegex(),reflink:jt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Am).getRegex()},q2={...Wy,emStrongRDelimAst:vae,emStrongLDelim:xae,url:jt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",c_).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:jt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",c_).getRegex()},kae={...q2,br:jt(_N).replace("{2,}","*").getRegex(),text:jt(q2.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},wh={normal:Yy,gfm:oae,pedantic:lae},ud={normal:Wy,gfm:q2,breaks:kae,pedantic:Cae},Nae={"&":"&","<":"<",">":">",'"':""","'":"'"},u_=e=>Nae[e];function ss(e,t){if(t){if(Tr.escapeTest.test(e))return e.replace(Tr.escapeReplace,u_)}else if(Tr.escapeTestNoEncode.test(e))return e.replace(Tr.escapeReplaceNoEncode,u_);return e}function d_(e){try{e=encodeURI(e).replace(Tr.percentDecode,"%")}catch{return null}return e}function f_(e,t){let n=e.replace(Tr.findPipe,(s,o,c)=>{let u=!1,f=o;for(;--f>
vendor: 2,167 bytes, lines 881-887
881=0&&c[f]==="\\";)u=!u;return u?"|":" |"}),r=n.split(Tr.splitPipe),a=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(Tr.slashPipe,"|");return r}function dd(e,t,n){let r=e.length;if(r===0)return"";let a=0;for(;a<r&&e.charAt(r-a-1)===t;)a++;return e.slice(0,r-a)}function Rae(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function h_(e,t,n,r,a){let s=t.href,o=t.title||null,c=e[1].replace(a.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:s,title:o,text:c,tokens:r.inlineTokens(c)};return r.state.inLink=!1,u}function Oae(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let a=r[1];return t.split(` 882`).map(s=>{let o=s.match(n.other.beginningSpace);if(o===null)return s;let[c]=o;return c.length>=a.length?s.slice(a.length):s}).join(` 883`)}var Sm=class{options;rules;lexer;constructor(e){this.options=e||xl}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:dd(n,` 884`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=Oae(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=dd(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:dd(t[0],` 885`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=dd(t[0],` 886`).split(` 887`),r="",a="",s=[];for(;n.length>0;){let o=!1,c=[],u;for(u=0;
vendor: 5,766 bytes, lines 887-905
887u<n.length;u++)if(this.rules.other.blockquoteStart.test(n[u]))c.push(n[u]),o=!0;else if(!o)c.push(n[u]);else break;n=n.slice(u);let f=c.join(` 888`),p=f.replace(this.rules.other.blockquoteSetextReplace,` 889 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r} 890${f}`:f,a=a?`${a} 891${p}`:p;let m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=m,n.length===0)break;let x=s.at(-1);if(x?.type==="code")break;if(x?.type==="blockquote"){let v=x,E=v.raw+` 892`+n.join(` 893`),_=this.blockquote(E);s[s.length-1]=_,r=r.substring(0,r.length-v.raw.length)+_.raw,a=a.substring(0,a.length-v.text.length)+_.text;break}else if(x?.type==="list"){let v=x,E=v.raw+` 894`+n.join(` 895`),_=this.list(E);s[s.length-1]=_,r=r.substring(0,r.length-x.raw.length)+_.raw,a=a.substring(0,a.length-v.raw.length)+_.raw,n=E.substring(s.at(-1).raw.length).split(` 896`);continue}}return{type:"blockquote",raw:r,tokens:s,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,a={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let s=this.rules.other.listItemRegex(n),o=!1;for(;e;){let u=!1,f="",p="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let m=t[2].split(` 897`,1)[0].replace(this.rules.other.listReplaceTabs,S=>" ".repeat(3*S.length)),x=e.split(` 898`,1)[0],v=!m.trim(),E=0;if(this.options.pedantic?(E=2,p=m.trimStart()):v?E=t[1].length+1:(E=t[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,p=m.slice(E),E+=t[1].length),v&&this.rules.other.blankLine.test(x)&&(f+=x+` 899`,e=e.substring(x.length+1),u=!0),!u){let S=this.rules.other.nextBulletRegex(E),O=this.rules.other.hrRegex(E),R=this.rules.other.fencesBeginRegex(E),q=this.rules.other.headingBeginRegex(E),H=this.rules.other.htmlBeginRegex(E);for(;e;){let L=e.split(` 900`,1)[0],M;if(x=L,this.options.pedantic?(x=x.replace(this.rules.other.listReplaceNesting," "),M=x):M=x.replace(this.rules.other.tabCharGlobal," "),R.test(x)||q.test(x)||H.test(x)||S.test(x)||O.test(x))break;if(M.search(this.rules.other.nonSpaceChar)>=E||!x.trim())p+=` 901`+M.slice(E);else{if(v||m.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(m)||q.test(m)||O.test(m))break;p+=` 902`+x}!v&&!x.trim()&&(v=!0),f+=L+` 903`,e=e.substring(L.length+1),m=M.slice(E)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(o=!0));let _=null,k;this.options.gfm&&(_=this.rules.other.listIsTask.exec(p),_&&(k=_[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:f,task:!!_,checked:k,loose:!1,text:p,tokens:[]}),a.raw+=f}let c=a.items.at(-1);if(c)c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let u=0;u<a.items.length;u++)if(this.lexer.state.top=!1,a.items[u].tokens=this.lexer.blockTokens(a.items[u].text,[]),!a.loose){let f=a.items[u].tokens.filter(m=>m.type==="space"),p=f.length>0&&f.some(m=>this.rules.other.anyLine.test(m.raw));a.loose=p}if(a.loose)for(let u=0;u<a.items.length;u++)a.items[u].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=f_(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 904`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let o of r)this.rules.other.tableAlignRight.test(o)?s.align.push("right"):this.rules.other.tableAlignCenter.test(o)?s.align.push("center"):this.rules.other.tableAlignLeft.test(o)?s.align.push("left"):s.align.push(null);for(let o=0;o<n.length;o++)s.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:s.align[o]});for(let o of a)s.rows.push(f_(o,s.header.length).map((c,u)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:s.align[u]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===` 905`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if
vendor: 3,820 bytes, lines 905-906
905(!this.rules.other.endAngleBracket.test(n))return;let s=dd(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=Rae(t[2],"()");if(s===-2)return;if(s>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let r=t[2],a="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],a=s[3])}else a=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),h_(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[r.toLowerCase()];if(!a){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return h_(n,a,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let a=[...r[0]].length-1,s,o,c=a,u=0,f=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+a);(r=f.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(o=[...s].length,r[3]||r[4]){c+=o;continue}else if((r[5]||r[6])&&a%3&&!((a+o)%3)){u+=o;continue}if(c-=o,c>0)continue;o=Math.min(o,o+c+u);let p=[...r[0]][0].length,m=e.slice(0,a+r.index+p+o);if(Math.min(a,o)%2){let v=m.slice(1,-1);return{type:"em",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}let x=m.slice(2,-2);return{type:"strong",raw:m,text:x,tokens:this.lexer.inlineTokens(x)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},wa=class $2{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||xl,this.options.tokenizer=this.options.tokenizer||new Sm,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:Tr,block:wh.normal,inline:ud.normal};this.options.pedantic?(n.block=wh.pedantic,n.inline=ud.pedantic):this.options.gfm&&(n.block=wh.gfm,this.options.breaks?n.inline=ud.breaks:n.inline=ud.gfm),this.tokenizer.rules=n}static get rules(){return{block:wh,inline:ud}}static lex(t,n){return new $2(n).lex(t)}static lexInline(t,n){return new $2(n).inlineTokens(t)}lex(t){t=t.replace(Tr.carriageReturn,` 906`),this.blockTokens(t,this.tokens);for(let n=0;
vendor: 11,918 bytes, lines 906-938
906n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){for(this.options.pedantic&&(t=t.replace(Tr.tabCharGlobal," ").replace(Tr.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(o=>(a=o.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let o=n.at(-1);a.raw.length===1&&o!==void 0?o.raw+=` 907`:n.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(` 908`)?"":` 909`)+a.raw,o.text+=` 910`+a.text,this.inlineQueue.at(-1).src=o.text):n.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(` 911`)?"":` 912`)+a.raw,o.text+=` 913`+a.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),n.push(a);continue}let s=t;if(this.options.extensions?.startBlock){let o=1/0,c=t.slice(1),u;this.options.extensions.startBlock.forEach(f=>{u=f.call({lexer:this},c),typeof u=="number"&&u>=0&&(o=Math.min(o,u))}),o<1/0&&o>=0&&(s=t.substring(0,o+1))}if(this.state.top&&(a=this.tokenizer.paragraph(s))){let o=n.at(-1);r&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(` 914`)?"":` 915`)+a.raw,o.text+=` 916`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a),r=s.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(` 917`)?"":` 918`)+a.raw,o.text+=` 919`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a);continue}if(t){let o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,a=null;if(this.tokens.links){let c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)c.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let s=!1,o="";for(;t;){s||(o=""),s=!1;let c;if(this.options.extensions?.inline?.some(f=>(c=f.call({lexer:this},t,n))?(t=t.substring(c.raw.length),n.push(c),!0):!1))continue;if(c=this.tokenizer.escape(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.tag(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.link(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(c.raw.length);let f=n.at(-1);c.type==="text"&&f?.type==="text"?(f.raw+=c.raw,f.text+=c.text):n.push(c);continue}if(c=this.tokenizer.emStrong(t,r,o)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.codespan(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.br(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.del(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.autolink(t)){t=t.substring(c.raw.length),n.push(c);continue}if(!this.state.inLink&&(c=this.tokenizer.url(t))){t=t.substring(c.raw.length),n.push(c);continue}let u=t;if(this.options.extensions?.startInline){let f=1/0,p=t.slice(1),m;this.options.extensions.startInline.forEach(x=>{m=x.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(u=t.substring(0,f+1))}if(c=this.tokenizer.inlineText(u)){t=t.substring(c.raw.length),c.raw.slice(-1)!=="_"&&(o=c.raw.slice(-1)),s=!0;let f=n.at(-1);f?.type==="text"?(f.raw+=c.raw,f.text+=c.text):n.push(c);continue}if(t){let f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return n}},Cm=class{options;parser;constructor(t){this.options=t||xl}space(t){return""}code({text:t,lang:n,escaped:r}){let a=(n||"").match(Tr.notSpaceStart)?.[0],s=t.replace(Tr.endingNewline,"")+` 920`;return a?'<pre><code class="language-'+ss(a)+'">'+(r?s:ss(s,!0))+`</code></pre> 921`:"<pre><code>"+(r?s:ss(s,!0))+`</code></pre> 922`}blockquote({tokens:t}){return`<blockquote> 923${this.parser.parse(t)}</blockquote> 924`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}> 925`}hr(t){return`<hr> 926`}list(t){let n=t.ordered,r=t.start,a="";for(let c=0;c<t.items.length;c++){let u=t.items[c];a+=this.listitem(u)}let s=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+s+o+`> 927`+a+"</"+s+`> 928`}listitem(t){let n="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+ss(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`<li>${n}</li> 929`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 930`}table(t){let n="",r="";for(let s=0;s<t.header.length;s++)r+=this.tablecell(t.header[s]);n+=this.tablerow({text:r});let a="";for(let s=0;s<t.rows.length;s++){let o=t.rows[s];r="";for(let c=0;c<o.length;c++)r+=this.tablecell(o[c]);a+=this.tablerow({text:r})}return a&&(a=`<tbody>${a}</tbody>`),`<table> 931<thead> 932`+n+`</thead> 933`+a+`</table> 934`}tablerow({text:t}){return`<tr> 935${t}</tr> 936`}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}> 937`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${ss(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){let a=this.parser.parseInline(r),s=d_(t);if(s===null)return a;t=s;let o='<a href="'+t+'"';return n&&(o+=' title="'+ss(n)+'"'),o+=">"+a+"</a>",o}image({href:t,title:n,text:r,tokens:a}){a&&(r=this.parser.parseInline(a,this.parser.textRenderer));let s=d_(t);if(s===null)return ss(r);t=s;let o=`<img src="${t}" alt="${r}"`;return n&&(o+=` title="${ss(n)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:ss(t.text)}},Ky=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},ja=class V2{options;renderer;textRenderer;constructor(t){this.options=t||xl,this.options.renderer=this.options.renderer||new Cm,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ky}static parse(t,n){return new V2(n).parse(t)}static parseInline(t,n){return new V2(n).parseInline(t)}parse(t,n=!0){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let c=s,u=this.options.extensions.renderers[c.type].call({parser:this},c);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(c.type)){r+=u||"";continue}}let o=s;switch(o.type){case"space":{r+=this.renderer.space(o);continue}case"hr":{r+=this.renderer.hr(o);continue}case"heading":{r+=this.renderer.heading(o);continue}case"code":{r+=this.renderer.code(o);continue}case"table":{r+=this.renderer.table(o);continue}case"blockquote":{r+=this.renderer.blockquote(o);continue}case"list":{r+=this.renderer.list(o);continue}case"html":{r+=this.renderer.html(o);continue}case"def":{r+=this.renderer.def(o);continue}case"paragraph":{r+=this.renderer.paragraph(o);continue}case"text":{let c=o,u=this.renderer.text(c);for(;a+1<t.length&&t[a+1].type==="text";)c=t[++a],u+=` 938`+this.renderer.text(c);n?r+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u,escaped:!0}]}):r+=u;continue}default:{let c='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return r}parseInline(t,n=this.renderer){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let c=this.options.extensions.renderers[s.type].call({parser:this},s);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=c||"";continue}}let o=s;switch(o.type){case"escape":{r+=n.text(o);break}case"html":{r+=n.html(o);break}case"link":{r+=n.link(o);break}case"image":{r+=n.image(o);break}case"strong":{r+=n.strong(o);break}case"em":{r+=n.em(o);break}case"codespan":{r+=n.codespan(o);break}case"br":{r+=n.br(o);break}case"del":{r+=n.del(o);break}case"text":{r+=n.text(o);break}default:{let c='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return r}},xd=class{options;block;constructor(e){this.options=e||xl}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?wa.lex:wa.lexInline}provideParser(){return this.block?ja.parse:ja.parseInline}},Dae=class{defaults=Fy();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ja;Renderer=Cm;TextRenderer=Ky;Lexer=wa;Tokenizer=Sm;Hooks=xd;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{let a=r;for(let s of a.header)n=n.concat(this.walkTokens(s.tokens,t));for(let s of a.rows)for(let o of s)n=n.concat(this.walkTokens(o.tokens,t));break}case"list":{let a=r;n=n.concat(this.walkTokens(a.items,t));break}default:{let a=r;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(s=>{let o=a[s].flat(1/0);n=n.concat(this.walkTokens(o,t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let s=t.renderers[a.name];s?t.renderers[a.name]=function(...o){let c=a.renderer.apply(this,o);return c===!1&&(c=s.apply(this,o)),c}:t.renderers[a.name]=a.renderer}
938if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[a.level];s?s.unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),r.extensions=t),n.renderer){let a=this.defaults.renderer||new Cm(this.defaults);for(let s in n.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let o=s,c=n.renderer[o],u=a[o];a[o]=(...f)=>{let p=c.apply(a,f);return p===!1&&(p=u.apply(a,f)),p||""}}r.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new Sm(this.defaults);for(let s in n.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let o=s,c=n.tokenizer[o],u=a[o];a[o]=(...f)=>{let p=c.apply(a,f);return p===!1&&(p=u.apply(a,f)),p}}r.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new xd;for(let s in n.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let o=s,c=n.hooks[o],u=a[o];xd.passThroughHooks.has(s)?a[o]=f=>{if(this.defaults.async&&xd.passThroughHooksRespectAsync.has(s))return(async()=>{let m=await c.call(a,f);return u.call(a,m)})();let p=c.call(a,f);return u.call(a,p)}:a[o]=(...f)=>{if(this.defaults.async)return(async()=>{let m=await c.apply(a,f);return m===!1&&(m=await u.apply(a,f)),m})();let p=c.apply(a,f);return p===!1&&(p=u.apply(a,f)),p}}r.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,s=n.walkTokens;r.walkTokens=function(o){let c=[];return c.push(s.call(this,o)),a&&(c=c.concat(a.call(this,o))),c}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return wa.lex(e,t??this.defaults)}parser(e,t){return ja.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},a={...this.defaults,...r},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let o=a.hooks?await a.hooks.preprocess(t):t,c=await(a.hooks?await a.hooks.provideLexer():e?wa.lex:wa.lexInline)(o,a),u=a.hooks?await a.hooks.processAllTokens(c):c;a.walkTokens&&await Promise.all(this.walkTokens(u,a.walkTokens));let f=await(a.hooks?await a.hooks.provideParser():e?ja.parse:ja.parseInline)(u,a);return a.hooks?await a.hooks.postprocess(f):f})().catch(s);try{a.hooks&&(t=a.hooks.preprocess(t));let o=(a.hooks?a.hooks.provideLexer():e?wa.lex:wa.lexInline)(t,a);a.hooks&&(o=a.hooks.processAllTokens(o)),a.walkTokens&&this.walkTokens(o,a.walkTokens);let c=(a.hooks?a.hooks.provideParser():e?ja.parse:ja.parseInline)(o,a);return a.hooks&&(c=a.hooks.postprocess(c)),c}catch(o){return s(o)}}}onError(e,t){return n=>{if(n.message+=` 939Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+ss(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},sl=new Dae;function Vt(e,t){return sl.parse(e,t)}Vt.options=Vt.setOptions=function(e){return sl.setOptions(e),Vt.defaults=sl.defaults,vN(Vt.defaults),Vt};Vt.getDefaults=Fy;Vt.defaults=xl;Vt.use=function(...e){return sl.use(...e),Vt.defaults=sl.defaults,vN(Vt.defaults),Vt};Vt.walkTokens=function(e,t){return sl.walkTokens(e,t)};Vt.parseInline=sl.parseInline;Vt.Parser=ja;Vt.parser=ja.parse;Vt.Renderer=Cm;Vt.TextRenderer=Ky;Vt.Lexer=wa;Vt.lexer=wa.lex;Vt.Tokenizer=Sm;Vt.Hooks=xd;Vt.parse=Vt;Vt.options;Vt.setOptions;Vt.use;Vt.walkTokens;Vt.parseInline;ja.parse;wa.lex;var kt=(...e)=>lA(gv(e)),Xy=(e,t,n)=>{let r=typeof t=="string"?new Blob([t],{type:n}):t,a=URL.createObjectURL(r),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},Iae=/<pre(\s|>)/,Zy=T.createContext({code:""}),Mae=class{constructor(){this.lightHighlighter=null,this.darkHighlighter=null,this.lightTheme=null,this.darkTheme=null,this.loadedLanguages=new Set,this.initializationPromise=null}isLanguageSupported(e){return Object.hasOwn(Yk,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var n,r;let[a,s]=e,o=Kre({forgiving:!0}),c=!this.lightHighlighter||this.lightTheme!==a,u=!this.darkHighlighter||this.darkTheme!==s;(c||u)&&this.loadedLanguages.clear();let f=this.isLanguageSupported(t),p=!this.loadedLanguages.has(t)&&f;if(c?(this.lightHighlighter=await Uw({themes:[a],langs:f?[t]:[],engine:o}),this.lightTheme=a,f&&this.loadedLanguages.add(t)):p&&await((n=this.lightHighlighter)==null?void 0:n.loadLanguage(t)),u){let m=p?[...this.loadedLanguages].concat(f?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await Uw({themes:[s],langs:m.length>0?m:f?[t]:[],engine:o}),this.darkTheme=s}else p&&await((r=this.darkHighlighter)==null?void 0:r.loadLanguage(t));p&&this.loadedLanguages.add(t)}async highlightCode(e,t,n,r){var a,s;this.initializationPromise&&await this.initializationPromise,this.initializationPromise=this.ensureHighlightersInitialized(n,t),await this.initializationPromise,this.initializationPromise=null;let[o,c]=n,u=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),f=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:u,theme:o}),p=(s=this.darkHighlighter)==null?void 0:s.codeToHtml(e,{lang:u,theme:c}),m=x=>r?x.replace(Iae,`<pre class="${r}"$1`):x;return[m(f),m(p)]}},Pae=new Mae,Lae=({code:e,language:t,className:n,children:r,preClassName:a,...s})=>{let[o,c]=T.useState(""),[u,f]=T.useState(""),p=T.useRef(!1),[m,x]=T.useContext(aR);return T.useEffect(()=>(p.current=!0,Pae.highlightCode(e,t,[m,x],a).then(([v,E])=>{p.current&&(c(v),f(E))}),()=>{p.current=!1}),[e,t,m,x,a]),h.jsx(Zy.Provider,{value:{code:e},children:h.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[h.jsxs("div",{className:"flex items-center justify-between bg-muted/80 p-3 text-muted-foreground text-xs","data-code-block-header":!0,"data-language":t,children:[h.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),h.jsx("div",{className:"flex items-center gap-2",children:r})]}),h.jsx("div",{className:"w-full",children:h.jsxs("div",{className:"min-w-full",children:[h.jsx("div",{className:kt("overflow-x-auto dark:hidden",n),dangerouslySetInnerHTML:{__html:o},"data-code-block":!0,"data-language":t,...s}),h.jsx("div",{className:kt("hidden overflow-x-auto dark:block",n),dangerouslySetInnerHTML:{__html:u},"data-code-block":!0,"data-language":t,...s})]})})]})})},m_={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",da
939x:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",æè¨:"wy"},p_=({onDownload:e,onError:t,language:n,children:r,className:a,code:s,...o})=>{let{code:c}=T.useContext(Zy),{isAnimating:u}=T.useContext(_0),f=s??c,p=`file.${n&&n in m_?m_[n]:"txt"}`,m="text/plain",x=()=>{try{Xy(p,f,m),e?.()}catch(v){t?.(v)}};return h.jsx("button",{className:kt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:u,onClick:x,title:"Download file",type:"button",...o,children:r??h.jsx(ky,{size:14})})},g_=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:s,...o})=>{let[c,u]=T.useState(!1),f=T.useRef(0),{code:p}=T.useContext(Zy),{isAnimating:m}=T.useContext(_0),x=s??p,v=async()=>{var _;if(typeof window>"u"||!((_=navigator?.clipboard)!=null&&_.writeText)){t?.(new Error("Clipboard API not available"));return}try{c||(await navigator.clipboard.writeText(x),u(!0),e?.(),f.current=window.setTimeout(()=>u(!1),n))}catch(k){t?.(k)}};T.useEffect(()=>()=>{window.clearTimeout(f.current)},[]);let E=c?pk:gk;return h.jsx("button",{className:kt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:m,onClick:v,type:"button",...o,children:r??h.jsx(E,{size:14})})},jae=({node:e,className:t,src:n,alt:r,...a})=>{let s=async()=>{var o;if(n)try{let c=await(await fetch(n)).blob(),u=new URL(n,window.location.origin).pathname.split("/").pop()||"",f=u.includes(".")&&((o=u.split(".").pop())==null?void 0:o.length)<=4,p="";if(f)p=u;else{let m=c.type,x="png";m.includes("jpeg")||m.includes("jpg")?x="jpg":m.includes("png")?x="png":m.includes("svg")?x="svg":m.includes("gif")?x="gif":m.includes("webp")&&(x="webp"),p=`${(r||u||"image").replace(/\.[^/.]+$/,"")}.${x}`}Xy(p,c,c.type)}catch(c){console.error("Failed to download image:",c)}};return n?h.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[h.jsx("img",{alt:r,className:kt("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),h.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),h.jsx("button",{className:kt("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:s,title:"Download image",type:"button",children:h.jsx(ky,{size:14})})]}):null},Bae=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},n=(await F(async()=>{const{default:r}=await import("./mermaid.core-CYqU_LPM.js").then(a=>a.bC);return{default:r}},[])).default;return n.initialize(t),n},zae=({chart:e,className:t,config:n})=>{let[r,a]=T.useState(null),[s,o]=T.useState(!0),[c,u]=T.useState(""),[f,p]=T.useState("");
939if(T.useEffect(()=>{(async()=>{try{a(null),o(!0);let x=await Bae(n),v=e.split("").reduce((k,S)=>(k<<5)-k+S.charCodeAt(0)|0,0),E=`mermaid-${Math.abs(v)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:_}=await x.render(E,e);u(_),p(_)}catch(x){if(!(f||c)){let v=x instanceof Error?x.message:"Failed to render Mermaid chart";a(v)}}finally{o(!1)}})()},[e,n]),s&&!c&&!f)return h.jsx("div",{className:kt("my-4 flex justify-center p-4",t),children:h.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[h.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),h.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(r&&!c&&!f)return h.jsxs("div",{className:kt("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[h.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",r]}),h.jsxs("details",{className:"mt-2",children:[h.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),h.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let m=c||f;return h.jsx("div",{"aria-label":"Mermaid chart",className:kt("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:m},role:"img"})};function RN(e){var t,n;let r=[],a=[],s=e.querySelectorAll("thead th");for(let c of s)r.push(((t=c.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let c of o){let u=[],f=c.querySelectorAll("td");for(let p of f)u.push(((n=p.textContent)==null?void 0:n.trim())||"");a.push(u)}return{headers:r,rows:a}}function ON(e){let{headers:t,rows:n}=e,r=s=>s.includes(",")||s.includes('"')||s.includes(` 940`)?`"${s.replace(/"/g,'""')}"`:s,a=[];t.length>0&&a.push(t.map(r).join(","));for(let s of n)a.push(s.map(r).join(","));return a.join(` 941`)}function DN(e){let{headers:t,rows:n}=e;if(t.length===0)return"";let r=[],a=t.map(s=>s.replace(/\|/g,"\\|"));r.push(`| ${a.join(" | ")} |`),r.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let s of n){let o=[...s];for(;o.length<t.length;)o.push("");let c=o.map(u=>u.replace(/\|/g,"\\|"));r.push(`| ${c.join(" | ")} |`)}return r.join(` 942`)}var Hae=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3,format:s="markdown"})=>{let[o,c]=T.useState(!1),u=T.useRef(0),{isAnimating:f}=T.useContext(_0),p=async x=>{var v;if(typeof window>"u"||!((v=navigator?.clipboard)!=null&&v.write)){r?.(new Error("Clipboard API not available"));return}try{if(!o){let E=x.currentTarget.closest('[data-streamdown="table-wrapper"]'),_=E?.querySelector("table");if(!_){r?.(new Error("Table not found"));return}let k=RN(_),S=new ClipboardItem({"text/plain":s==="markdown"?DN(k):ON(k),"text/html":new Blob([_.outerHTML],{type:"text/html"})});await navigator.clipboard.write([S]),c(!0),n?.(),u.current=window.setTimeout(()=>c(!1),a)}}catch(E){r?.(E)}};T.useEffect(()=>()=>{window.clearTimeout(u.current)},[]);let m=o?pk:gk;return h.jsx("button",{className:kt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:f,onClick:p,title:`Copy table as ${s}`,type:"button",children:e??h.jsx(m,{size:14})})},Uae=({children:e,className:t,onDownload:n,onError:r})=>{let[a,s]=T.useState(!1),o=T.useRef(null),{isAnimating:c}=T.useContext(_0),u=f=>{var p;try{let m=(p=o.current)==null?void 0:p.closest('[data-streamdown="table-wrapper"]'),x=m?.querySelector("table");if(!x){r?.(new Error("Table not found"));return}let v=RN(x),E=f==="csv"?ON(v):DN(v);Xy(`table.${f==="csv"?"csv":"md"}`,E,f==="csv"?"text/csv":"text/markdown"),s(!1),n?.(f)}catch(m){r?.(m)}};return T.useEffect(()=>{let f=p=>{o.current&&!o.current.contains(p.target)&&s(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]),h.jsxs("div",{className:"relative",ref:o,children:[h.jsx("button",{className:kt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:c,onClick:()=>s(!a),title:"Download table",type:"button",children:e??h.jsx(ky,{size:14})}),a&&h.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] rounded-md border border-border bg-background shadow-lg",children:[h.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("csv"),type:"button",children:"CSV"}),h.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("markdown"),type:"button",children:"Markdown"})]})]})},Fae=/language-([^\s]+)/;function Np(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
942if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let n=e.position.start,r=t.position.start,a=e.position.end,s=t.position.end;return n?.line===r?.line&&n?.column===r?.column&&a?.line===s?.line&&a?.column===s?.column}function mn(e,t){return e.className===t.className&&Np(e.node,t.node)}var G2=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,Jy=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("ol",{className:kt("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>mn(e,t));Jy.displayName="MarkdownOl";var IN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("li",{className:kt("py-1",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&Np(e.node,t.node));IN.displayName="MarkdownLi";var MN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("ul",{className:kt("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>mn(e,t));MN.displayName="MarkdownUl";var PN=T.memo(({className:e,node:t,...n})=>h.jsx("hr",{className:kt("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>mn(e,t));PN.displayName="MarkdownHr";var LN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("span",{className:kt("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>mn(e,t));LN.displayName="MarkdownStrong";var jN=T.memo(({children:e,className:t,href:n,node:r,...a})=>{let s=n==="streamdown:incomplete-link";return h.jsx("a",{className:kt("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":s,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>mn(e,t)&&e.href===t.href);jN.displayName="MarkdownA";var BN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h1",{className:kt("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>mn(e,t));BN.displayName="MarkdownH1";var zN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h2",{className:kt("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>mn(e,t));zN.displayName="MarkdownH2";var HN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h3",{className:kt("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>mn(e,t));HN.displayName="MarkdownH3";var UN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h4",{className:kt("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>mn(e,t));UN.displayName="MarkdownH4";var FN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h5",{className:kt("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>mn(e,t));FN.displayName="MarkdownH5";var qN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("h6",{className:kt("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>mn(e,t));qN.displayName="MarkdownH6";var $N=T.memo(({children:e,className:t,node:n,...r})=>{let a=T.useContext(e4),s=G2(a,"table");return h.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[s&&h.jsxs("div",{className:"flex items-center justify-end gap-1",children:[h.jsx(Hae,{}),h.jsx(Uae,{})]}),h.jsx("div",{className:"overflow-x-auto",children:h.jsx("table",{className:kt("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]})},(e,t)=>mn(e,t));$N.displayName="MarkdownTable";var VN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("thead",{className:kt("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>mn(e,t));VN.displayName="MarkdownThead";var GN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("tbody",{className:kt("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>mn(e,t));GN.displayName="MarkdownTbody";var YN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("tr",{className:kt("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>mn(e,t));YN.displayName="MarkdownTr";var QN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("th",{className:kt("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e}),(e,t)=>mn(e,t));QN.displayName="MarkdownTh";var WN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("td",{className:kt("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>mn(e,t));WN.displayName="MarkdownTd";var KN=T.memo(({children:e,className:t,node:n,...r})=>
942h.jsx("blockquote",{className:kt("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e}),(e,t)=>mn(e,t));KN.displayName="MarkdownBlockquote";var XN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("sup",{className:kt("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>mn(e,t));XN.displayName="MarkdownSup";var ZN=T.memo(({children:e,className:t,node:n,...r})=>h.jsx("sub",{className:kt("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>mn(e,t));ZN.displayName="MarkdownSub";var JN=T.memo(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let a=o=>{var c,u;if(!T.isValidElement(o))return!1;let f=Array.isArray(o.props.children)?o.props.children:[o.props.children],p=!1,m=!1;for(let x of f)if(x){if(typeof x=="string")x.trim()!==""&&(p=!0);else if(T.isValidElement(x))if(((c=x.props)==null?void 0:c["data-footnote-backref"])!==void 0)m=!0;else{let v=Array.isArray(x.props.children)?x.props.children:[x.props.children];for(let E of v){if(typeof E=="string"&&E.trim()!==""){p=!0;break}if(T.isValidElement(E)&&((u=E.props)==null?void 0:u["data-footnote-backref"])===void 0){p=!0;break}}}}return m&&!p},s=Array.isArray(e)?e.map(o=>{if(!T.isValidElement(o))return o;if(o.type===Jy){let c=(Array.isArray(o.props.children)?o.props.children:[o.props.children]).filter(u=>!a(u));return c.length===0?null:{...o,props:{...o.props,children:c}}}return o}):e;return(Array.isArray(s)?s.some(o=>o!==null):s!==null)?h.jsx("section",{className:t,...r,children:s}):null}return h.jsx("section",{className:t,...r,children:e})},(e,t)=>mn(e,t));JN.displayName="MarkdownSection";var qae=({node:e,className:t,children:n,...r})=>{var a,s,o;let c=((a=e?.position)==null?void 0:a.start.line)===((s=e?.position)==null?void 0:s.end.line),u=T.useContext(sR),f=T.useContext(e4);if(c)return h.jsx("code",{className:kt("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let p=t?.match(Fae),m=(o=p?.at(1))!=null?o:"",x="";if(T.isValidElement(n)&&n.props&&typeof n.props=="object"&&"children"in n.props&&typeof n.props.children=="string"?x=n.props.children:typeof n=="string"&&(x=n),m==="mermaid"){let E=G2(f,"mermaid");return h.jsxs("div",{className:kt("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[E&&h.jsxs("div",{className:"flex items-center justify-end gap-2",children:[h.jsx(p_,{code:x,language:m}),h.jsx(g_,{code:x})]}),h.jsx(zae,{chart:x,config:u})]})}let v=G2(f,"code");return h.jsx(Lae,{className:kt("overflow-x-auto border-t",t),code:x,"data-language":m,"data-streamdown":"code-block",language:m,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:v&&h.jsxs(h.Fragment,{children:[h.jsx(p_,{code:x,language:m}),h.jsx(g_,{})]})})},eR=T.memo(qae,(e,t)=>e.className===t.className&&Np(e.node,t.node));eR.displayName="MarkdownCode";var tR=T.memo(jae,(e,t)=>e.className===t.className&&Np(e.node,t.node));tR.displayName="MarkdownImg";var nR=T.memo(({children:e,className:t,node:n,...r})=>{var a;let s=(Array.isArray(e)?e:[e]).filter(o=>o!=null&&o!=="");return s.length===1&&T.isValidElement(s[0])&&((a=s[0].props.node)==null?void 0:a.tagName)==="img"?h.jsx(h.Fragment,{children:e}):h.jsx("p",{className:t,...r,children:e})},(e,t)=>mn(e,t));nR.displayName="MarkdownParagraph";var $ae={ol:Jy,li:IN,ul:MN,hr:PN,strong:LN,a:jN,h1:BN,h2:zN,h3:HN,h4:UN,h5:FN,h6:qN,table:$N,thead:VN,tbody:GN,tr:YN,th:QN,td:WN,blockquote:KN,code:eR,img:tR,pre:({children:e})=>e,sup:XN,sub:ZN,p:nR,section:JN},Vae=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),n=/\[\^[^\]\s]{1,200}\]:/.test(e);if(t||n)return[e];let r=wa.lex(e,{gfm:!0}),a=[],s=[];for(let o=0;o<r.length;o++){let c=r[o],u=c.raw;if(s.length>0){if(a[a.length-1]+=u,c.type==="html"){let f=u.match(/<\/(\w+)>/);if(f){let p=f[1];s[s.length-1]===p&&s.pop()}}continue}if(c.type==="html"&&c.block){let f=u.match(/<(\w+)[\s>]/);if(f){let p=f[1];u.includes(`</${p}>`)||s.push(p)}}if(u.trim()==="$$"&&a.length>0){let f=a.at(-1);if(!f){a.push(u);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length;
942if(p&&m%2===1){a[a.length-1]=f+u;continue}}if(a.length>0&&u.trimEnd().endsWith("$$")){let f=a.at(-1);if(!f){a.push(u);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length,x=(u.match(/\$\$/g)||[]).length;if(p&&m%2===1&&!u.trimStart().startsWith("$$")&&x===1){a[a.length-1]=f+u;continue}}a.push(u)}return a},Gae=/(!?\[)([^\]]*?)$/,Yae=/(\*\*)([^*]*?)$/,Qae=/(__)([^_]*?)$/,Wae=/(\*\*\*)([^*]*?)$/,Kae=/(\*)([^*]*?)$/,Xae=/(_)([^_]*?)$/,Zae=/(`)([^`]*?)$/,Jae=/(~~)([^~]*?)$/,Rp=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(` 943`)},ese=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,n=e.match(t);if(n){let a=n[1]==="!",s=n[2],o=n[3],c=e.lastIndexOf(`${a?"!":""}[${s}](${o}`),u=e.substring(0,c);return a?u:`${u}[${s}](streamdown:incomplete-link)`}let r=e.match(Gae);if(r){if(r[1].startsWith("!")){let a=e.lastIndexOf(r[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},tse=e=>{if(Rp(e))return e;let t=e.match(Yae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(` 944`),s=a===-1?0:a+1,o=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(` 945`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},nse=e=>{let t=e.match(Qae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(` 946`),s=a===-1?0:a+1,o=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(` 947`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},rse=e=>e.split("").reduce((t,n,r)=>{if(n==="*"){let a=e[r-1],s=e[r+1];if(a==="\\")return t;let o=r;for(let c=r-1;c>=0;c--){if(e[c]===` 948`){o=c+1;break}if(c===0){o=0;break}}if(e.substring(o,r).trim()===""&&(s===" "||s===" "))return t;if(a!=="*"&&s!=="*")return t+1}return t},0),ase=e=>{if(Rp(e))return e;if(e.match(Kae)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="*"&&e[r-1]!=="*"&&e[r+1]!=="*"){t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(rse(e)%2===1)return`${e}*`}return e},rR=(e,t)=>{let n=!1,r=!1;for(let a=0;a<e.length&&a<t;a++){if(e[a]==="\\"&&e[a+1]==="$"){a++;continue}e[a]==="$"&&(e[a+1]==="$"?(r=!r,a++,n=!1):r||(n=!n))}return n||r},sse=e=>e.split("").reduce((t,n,r)=>{if(n==="_"){let a=e[r-1],s=e[r+1];if(a==="\\"||rR(e,r)||a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))return t;if(a!=="_"&&s!=="_")return t+1}return t},0),ise=e=>{if(Rp(e))return e;if(e.match(Xae)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!rR(e,r)){let a=r>0?e[r-1]:"",s=r<e.length-1?e[r+1]:"";if(a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))continue;t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(sse(e)%2===1){let r=e.match(/\n+$/);return r?`${e.slice(0,-r[0].length)}_${r[0]}`:`${e}_`}}return e},ose=(e,t)=>{let n=e.substring(t,t+3)==="```",r=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return n||r||a},lse=e=>{let t=0;for(let n=0;n<e.length;n++)e[n]==="`"&&!ose(e,n)&&t++;return t},cse=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(` 949`))return e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;let t=(e.match(/```/g)||[]).length,n=t%2===1;if(t>0&&t%2===0&&e.includes(` 950`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let r=e.match(Zae);if(r&&!n){let a=r[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(lse(e)%2===1)return`${e}\``}return e},use=e=>{let t=e.match(Jae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},dse=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(` 951`,t)!==-1&&!e.endsWith(` 952`)?`${e} 953$$`:`${e}$$`},fse=e=>{let t=0,n=e.match(/\*+/g)||[];for(let r of n){let a=r.length;a>=3&&(t+=Math.floor(a/3))}return t},hse=e=>{if(Rp(e)||/^\*{4,}$/.test(e))return e;let t=e.match(Wae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if(fse(e)%2===1)return`${e}***`}return e},mse=e=>{if(!e||typeof e!="string")return e;let t=e,n=ese(t);return n.endsWith("](streamdown:incomplete-link)")?n:(t=n,t=hse(t),t=tse(t),t=nse(t),t=ase(t),t=ise(t),t=cse(t),t=use(t),t=dse(t),t)},pse={harden:[aJ,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:BK,katex:[AY,{errorColor:"var(--color-muted-foreground)"}]},gse={gfm:[GZ,{}],math:[rJ,{singleDollarTextMath:!1}]},aR=T.createContext(["github-light","github-dark"]),sR=T.createContext(void 0),e4=T.createContext(!0),_0=T.createContext({isAnimating:!1}),iR=T.memo(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=T.useMemo(()=>typeof e=="string"&&t?mse(e.trim()):e,[e,t]);return h.jsx(Z$,{...n,children:r})},(e,t)=>e.content===t.content);iR.displayName="Block";var t4=T.memo(({children:e,parseIncompleteMarkdown:t=!0,components:n,rehypePlugins:r=Object.values(pse),remarkPlugins:a=Object.values(gse),className:s,shikiTheme:o=["github-light","github-dark"],mermaidConfig:c,controls:u=!0,isAnimating:f=!1,...p})=>{let m=T.useId(),x=T.useMemo(()=>Vae(typeof e=="string"?e:""),[e]);return h.jsx(aR.Provider,{value:o,children:h.jsx(sR.Provider,{value:c,children:h.jsx(e4.Provider,{value:u,children:h.jsx(_0.Provider,{value:{isAnimating:f},children:h.jsx("div",{className:kt("space-y-4",s),children:x.map((v,E)=>h.jsx(iR,{components:{...$ae,...n},content:v,rehypePlugins:r,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...p},`${m}-block-${E}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);t4.displayName="Streamdown";const jh=[{code:"es",flag:"ðªð¸",label:"Español"},{code:"en",flag:"ðºð¸",label:"English"},{code:"pt",flag:"ð§ð·",label:"Português"},{code:"fr",flag:"ð«ð·",label:"Français"}
953],_b={es:{"nav.home":"Inicio","nav.pantheon":"Panteón","nav.services":"Servicios","nav.news":"Noticias","nav.tips":"Consejos","nav.gallery":"GalerÃa","nav.reels":"Reels","nav.blog":"Blog","nav.about":"Sobre MÃ","nav.dreams":"Sueños IA","nav.astral":"Carta Astral","nav.cart":"Carrito","hero.tag":"SabidurÃa ancestral, magia luminosa","hero.cta.services":"Ver servicios","hero.cta.tips":"Consejos esotéricos","hero.cta.express":"Lectura Express US$56","hero.cta.express.sub":"Tu primera consulta · 20 min","hero.intro":"Lecturas de tarot y caracolas, terapias sagradas, cursos y rituales para que reconectes con tu esencia divina y abras los caminos del alma.","shop.badge":"Servicios sagrados","shop.title":"Tienda esotérica","shop.subtitle":"Cursos, terapias, lecturas de tarot y caracolas, y rituales personalizados. Cada experiencia está hecha con dedicación y amor.","shop.online":"Todos los cursos se imparten online, en horarios acordados con cada alumna.","shop.tab.all":"Todos","shop.empty":"No hay servicios en esta categorÃa aún.","shop.book":"Reservar","shop.viewRules":"Ver reglas y términos antes de reservar","category.curso":"Cursos","category.terapia":"Terapias","category.tarot":"Tarot","category.caracolas":"Caracolas","category.ritual":"Rituales","category.otro":"Otros","cart.title":"Tu canasta sagrada","cart.empty":"Tu canasta está vacÃa. Explora los servicios y rituales para llenarla de magia.","cart.keepBrowsing":"Seguir explorando","cart.total":"Total","cart.payWithPaypal":"Pagar con PayPal","cart.paypalNote":"Pago seguro vÃa PayPal a","cart.clear":"Vaciar canasta","cart.close":"Cerrar","cart.thanks.title":"¡Gracias por tu reserva!","cart.thanks.body":"Tu pedido {order}fue registrado. Recibirás novedades por correo electrónico y Kharen confirmará tu pago en breve.","cart.toast.completeNameEmail":"Completa tu nombre y email","cart.toast.mustAccept":"Debes aceptar las reglas y términos para continuar","cart.toast.orderError":"No pudimos crear tu pedido","cart.toast.paypalNotConfigured":"PayPal no está configurado todavÃa. Coordina por WhatsApp.","cart.toast.takingToPaypal":"Te llevamos a PayPal","cart.toast.takingToPaypalDesc":"Completa el pago en la pestaña que abrimos. Te avisaremos por email cuando se confirme.","cart.toast.bookingSent":"Reserva enviada","cart.toast.bookingSentDesc":"Te abrimos WhatsApp para coordinar el pago.","checkout.intro":"Completa tus datos y elige cómo deseas pagar. Recibirás confirmación por correo electrónico.","checkout.namePh":"Tu nombre","checkout.emailPh":"[email protected]","checkout.notesPh":"Cuéntame brevemente qué te llamó la atención","checkout.acceptPart1":"He leÃdo y acepto las","checkout.acceptLink":"reglas y términos de Esotérica Isis","checkout.acceptPart2":". Esta aceptación es obligatoria para reservar cualquier servicio.","checkout.paypalRecommended":"Pago seguro recomendado","checkout.processing":"Procesando...","checkout.payWith":"Pagar","checkout.withPaypal":"con PayPal","checkout.verifiedAccount":"Pago a la cuenta verificada","checkout.or":"o","checkout.backToCart":"Volver a la canasta","checkout.mustAccept":"Debes aceptar las reglas y términos para activar el pago","checkout.paypalLegal":"Al pagar con PayPal aceptas sus términos. Recibiremos un aviso automático en cada compra autorizada o rechazada por el banco.","rules.accept":"Acepto las reglas","rules.close":"Cerrar","checkout.title":"Reserva sagrada","checkout.name":"Nombre completo","checkout.email":"Correo electrónico","checkout.phone":"Teléfono / WhatsApp","checkout.notes":"Notas o intención","checkout.acceptRules":"He leÃdo y acepto las reglas y términos","checkout.rulesRequired":"Debes aceptar las reglas y términos para poder pagar.","checkout.payPaypal":"Pagar {amount} con PayPal","checkout.payWhatsapp":"Coordinar por WhatsApp","checkout.paypalNote":"Cuenta verificada: {email}","rules.modal.title":"Reglas y términos","rules.modal.close":"Cerrar","footer.rights":"Todos los derechos reservados.","footer.contact":"Contacto","lang.label":"Idioma"},en:{"nav.home":"Home","nav.pantheon":"Pantheon","nav.services":"Services","nav.news":"News","nav.tips":"Tips","nav.gallery":"Gallery","nav.reels":"Reels","nav.blog":"Blog","nav.about":"About me","nav.dreams":"Dreams AI","nav.astral":"Astral Chart","nav.cart":"Cart","hero.tag":"Ancestral wisdom, luminous magic","hero.cta.services":"View services","hero.cta.tips":"Esoteric tips","hero.cta.express":"Express Reading US$56","hero.cta.express.sub":"Your first consultation · 20 min","hero.intro":"Tarot and cowrie readings, sacred therapies, courses and rituals to reconnect with your divine essence and open the soul's pathways.","shop.badge":"Sacred services","shop.title":"Esoteric shop","shop.subtitle":"Courses, therapies, tarot and cowrie readings, and personalized rituals. Every experience is crafted with dedication and love.","shop.online":"All courses are taught online, with schedules arranged with each student.","shop.tab.all":"All","shop.empty":"No services in this category yet.","shop.book":"Book","shop.viewRules":"Read rules & terms before booking","category.curso":"Courses","category.tera
953pia":"Therapies","category.tarot":"Tarot","category.caracolas":"Cowries","category.ritual":"Rituals","category.otro":"Others","cart.title":"Your sacred basket","cart.empty":"Your basket is empty. Explore the services and rituals to fill it with magic.","cart.keepBrowsing":"Keep browsing","cart.total":"Total","cart.payWithPaypal":"Pay with PayPal","cart.paypalNote":"Secure payment via PayPal to","cart.clear":"Empty basket","cart.close":"Close","cart.thanks.title":"Thank you for your booking!","cart.thanks.body":"Your order {order}has been registered. You'll receive updates by email and Kharen will confirm your payment shortly.","cart.toast.completeNameEmail":"Please complete your name and email","cart.toast.mustAccept":"You must accept the rules and terms to continue","cart.toast.orderError":"We couldn't create your order","cart.toast.paypalNotConfigured":"PayPal isn't set up yet. Please coordinate via WhatsApp.","cart.toast.takingToPaypal":"Taking you to PayPal","cart.toast.takingToPaypalDesc":"Complete the payment in the tab we opened. We'll notify you by email when it's confirmed.","cart.toast.bookingSent":"Booking sent","cart.toast.bookingSentDesc":"We're opening WhatsApp so we can coordinate payment.","checkout.intro":"Fill in your details and choose how you want to pay. You'll get an email confirmation.","checkout.namePh":"Your name","checkout.emailPh":"[email protected]","checkout.notesPh":"Tell me briefly what caught your attention","checkout.acceptPart1":"I have read and accept the","checkout.acceptLink":"rules and terms of Esotérica Isis","checkout.acceptPart2":". This acceptance is mandatory to book any service.","checkout.paypalRecommended":"Recommended secure payment","checkout.processing":"Processing...","checkout.payWith":"Pay","checkout.withPaypal":"with PayPal","checkout.verifiedAccount":"Payment to verified account","checkout.or":"or","checkout.backToCart":"Back to basket","checkout.mustAccept":"You must accept the rules and terms to enable payment","checkout.paypalLegal":"By paying with PayPal you accept its terms. We receive an automatic notice for each purchase authorized or declined by the bank.","rules.accept":"I accept the rules","rules.close":"Close","checkout.title":"Sacred booking","checkout.name":"Full name","checkout.email":"Email","checkout.phone":"Phone / WhatsApp","checkout.notes":"Notes or intention","checkout.acceptRules":"I have read and accept the rules and terms","checkout.rulesRequired":"You must accept the rules and terms to pay.","checkout.payPaypal":"Pay {amount} with PayPal","checkout.payWhatsapp":"Coordinate via WhatsApp","checkout.paypalNote":"Verified account: {email}","rules.modal.title":"Rules and terms","rules.modal.close":"Close","footer.rights":"All rights reserved.","footer.contact":"Contact","lang.label":"Language"},pt:{"nav.home":"InÃcio","nav.pantheon":"Panteão","nav.services":"Serviços","nav.news":"NotÃcias","nav.tips":"Conselhos","nav.gallery":"Galeria","nav.reels":"Reels","nav.blog":"Blog","nav.about":"Sobre mim","nav.dreams":"Sonhos IA","nav.astral":"Mapa Astral","nav.cart":"Carrinho","hero.tag":"Sabedoria ancestral, magia luminosa","hero.cta.services":"Ver serviços","hero.cta.tips":"Conselhos esotéricos","hero.cta.express":"Leitura Express US$56","hero.cta.express.sub":"Sua primeira consulta · 20 min","hero.intro":"Leituras de tarô e búzios, terapias sagradas, cursos e rituais para você se reconectar com a sua essência divina e abrir os caminhos da alma.","shop.badge":"Serviços sagrados","shop.title":"Loja esotérica","shop.subtitle":"Cursos, terapias, leituras de tarô e búzios, e rituais personalizados. Cada experiência é feita com dedicação e amor.","shop.online":"Todos os cursos são online, com horários combinados com cada aluna.","shop.tab.all":"Todos","shop.empty":"Ainda não há serviços nesta categoria.","shop.book":"Reservar","shop.viewRules":"Ver regras e termos antes de reservar","category.curso":"Cursos","category.terapia":"Terapias","category.tarot":"Tarô","category.caracolas":"Búzios","category.ritual":"Rituais","category.otro":"Outros","cart.title":"Sua sacola sagrada","cart.empty":"Sua sacola está vazia. Explore os serviços e rituais para enche-la de magia.","cart.keepBrowsing":"Seguir explorando","cart.total":"Total","cart.payWithPaypal":"Pagar com PayPal","cart.paypalNote":"Pagamento seguro via PayPal para","cart.clear":"Esvaziar sacola","cart.close":"Fechar","cart.thanks.title":"Obrigada pela sua reserva!","cart.thanks.body":"Seu pedido {order}foi registrado. Você receberá novidades por e-mail e Kharen confirmará o pagamento em breve.","cart.toast.completeNameEmail"
953:"Complete seu nome e e-mail","cart.toast.mustAccept":"Você precisa aceitar as regras e termos para continuar","cart.toast.orderError":"Não foi possÃvel criar seu pedido","cart.toast.paypalNotConfigured":"O PayPal ainda não está configurado. Coordene pelo WhatsApp.","cart.toast.takingToPaypal":"Levando você para o PayPal","cart.toast.takingToPaypalDesc":"Conclua o pagamento na aba que abrimos. Avisaremos por e-mail quando for confirmado.","cart.toast.bookingSent":"Reserva enviada","cart.toast.bookingSentDesc":"Estamos abrindo o WhatsApp para coordenar o pagamento.","checkout.intro":"Preencha seus dados e escolha como deseja pagar. Você receberá confirmação por e-mail.","checkout.namePh":"Seu nome","checkout.emailPh":"[email protected]","checkout.notesPh":"Conte brevemente o que chamou sua atenção","checkout.acceptPart1":"Li e aceito as","checkout.acceptLink":"regras e termos da Esotérica Isis","checkout.acceptPart2":". Esta aceitação é obrigatória para reservar qualquer serviço.","checkout.paypalRecommended":"Pagamento seguro recomendado","checkout.processing":"Processando...","checkout.payWith":"Pagar","checkout.withPaypal":"com PayPal","checkout.verifiedAccount":"Pagamento para conta verificada","checkout.or":"ou","checkout.backToCart":"Voltar à sacola","checkout.mustAccept":"Você precisa aceitar as regras e termos para ativar o pagamento","checkout.paypalLegal":"Ao pagar com PayPal você aceita seus termos. Recebemos um aviso automático em cada compra autorizada ou recusada pelo banco.","rules.accept":"Aceito as regras","rules.close":"Fechar","checkout.title":"Reserva sagrada","checkout.name":"Nome completo","checkout.email":"E-mail","checkout.phone":"Telefone / WhatsApp","checkout.notes":"Notas ou intenção","checkout.acceptRules":"Li e aceito as regras e os termos","checkout.rulesRequired":"Você precisa aceitar as regras e termos para pagar.","checkout.payPaypal":"Pagar {amount} com PayPal","checkout.payWhatsapp":"Coordenar pelo WhatsApp","checkout.paypalNote":"Conta verificada: {email}","rules.modal.title":"Regras e termos","rules.modal.close":"Fechar","footer.rights":"Todos os direitos reservados.","footer.contact":"Contato","lang.label":"Idioma"},fr:{"nav.home":"Accueil","nav.pantheon":"Panthéon","nav.services":"Services","nav.news":"Actualités","nav.tips":"Conseils","nav.gallery":"Galerie","nav.reels":"Reels","nav.blog":"Blog","nav.about":"à propos","nav.dreams":"Rêves IA","nav.astral":"Carte Astrale","nav.cart":"Panier","hero.tag":"Sagesse ancestrale, magie lumineuse","hero.cta.services":"Voir les services","hero.cta.tips":"Conseils ésotériques","hero.cta.express":"Lecture Express US$56","hero.cta.express.sub":"Ta première consultation · 20 min","hero.intro":"Lectures de tarot et de coquillages, thérapies sacrées, cours et rituels pour renouer avec ton essence divine et ouvrir les chemins de l'âme.","shop.badge":"Services sacrés","shop.title":"Boutique ésotérique","shop.subtitle":"Cours, thérapies, lectures de tarot et de coquillages, et rituels personnalisés. Chaque expérience est créée avec dévouement et amour.","shop.online":"Tou
953s les cours sont en ligne, aux horaires convenus avec chaque élève.","shop.tab.all":"Tous","shop.empty":"Aucun service dans cette catégorie pour l'instant.","shop.book":"Réserver","shop.viewRules":"Lire les règles avant de réserver","category.curso":"Cours","category.terapia":"Thérapies","category.tarot":"Tarot","category.caracolas":"Coquillages","category.ritual":"Rituels","category.otro":"Autres","cart.title":"Ton panier sacré","cart.empty":"Ton panier est vide. Explore les services et rituels pour le remplir de magie.","cart.keepBrowsing":"Continuer à explorer","cart.total":"Total","cart.payWithPaypal":"Payer avec PayPal","cart.paypalNote":"Paiement sécurisé via PayPal vers","cart.clear":"Vider le panier","cart.close":"Fermer","cart.thanks.title":"Merci pour ta réservation !","cart.thanks.body":"Ta commande {order}a été enregistrée. Tu recevras des nouvelles par e-mail et Kharen confirmera ton paiement bientôt.","cart.toast.completeNameEmail":"Complète ton nom et e-mail","cart.toast.mustAccept":"Tu dois accepter les règles pour continuer","cart.toast.orderError":"Impossible de créer ta commande","cart.toast.paypalNotConfigured":"PayPal n'est pas encore configuré. Coordonne par WhatsApp.","cart.toast.takingToPaypal":"Direction PayPal","cart.toast.takingToPaypalDesc":"Termine le paiement dans l'onglet ouvert. Nous t'avertirons par e-mail quand il sera confirmé.","cart.toast.bookingSent":"Réservation envoyée","cart.toast.bookingSentDesc":"Nous ouvrons WhatsApp pour coordonner le paiement.","checkout.intro":"Complète tes informations et choisis comment payer. Tu recevras une confirmation par e-mail.","checkout.namePh":"Ton nom","checkout.emailPh":"[email protected]","checkout.notesPh":"Dis-moi brièvement ce qui t'a attiré","checkout.acceptPart1":"J'ai lu et j'accepte les","checkout.acceptLink":"règles et conditions d'Esotérica Isis","checkout.acceptPart2":". Cette acceptation est obligatoire pour réserver tout service.","checkout.paypalRecommended":"Paiement sécurisé recommandé","checkout.processing":"Traitement...","checkout.payWith":"Payer","checkout.withPaypal":"avec PayPal","checkout.verifiedAccount":"Paiement vers compte vérifié","checkout.or":"ou","checkout.backToCart":"Retour au panier","checkout.mustAccept":"Tu dois accepter les règles pour activer le paiement","checkout.paypalLegal":"En payant avec PayPal tu acceptes ses conditions. Nous recevons un avis automatique pour chaque achat autorisé ou refusé par la banque.","rules.accept":"J'accepte les règles","rules.close":"Fermer","checkout.title":"Réservation sacrée","checkout.name":"Nom complet","checkout.email":"E-mail","checkout.phone":"Téléphone / WhatsApp","checkout.notes":"Notes ou intention","checkout.acceptRules":"J'ai lu et j'accepte les règles et conditions","checkout.rulesRequired":"Tu dois accepter les règles et conditions pour payer.","checkout.payPaypal":"Payer {amount} avec PayPal","checkout.payWhatsapp":"Coordonner par WhatsApp","checkout.paypalNote":"Compte vérifié : {email}","rules.modal.title":"Règles et conditions","rules.modal.close":"Fermer","footer.rights":"Tous droits réservés.","footer.contact":"Contact","lang.label":"Langue"}},oR=T.createContext(void 0),lR="isis_lang";function xse(){if(typeof window>"u")return"es";const e=localStorage.getItem(lR);if(e&&jh.some(n=>n.code===e))return e;const t=navigator.language?.toLowerCase()??"es";return t.startsWith("en")?"en":t.startsWith("pt")?"pt":t.startsWith("fr")?"fr":"es"}function bse({children:e}){const[t,n]=T.useState(()=>xse());T.useEffect(()=>{typeof document<"u"&&(document.documentElement.lang=t),typeof window<"u"&&localStorage.setItem(lR,t)},[t]);const r=T.useMemo(()=>{const a=_b[t]??_b.es;return{lang:t,setLang:n,t:(o,c)=>{let u=a[o]??_b.es[o]??o;if(c)for(const[f,p]of Object.entries(c))u=u.replace(new RegExp(`\\{${f}\\}`,"g"),String(p));return u}}},[t]);return h.jsx(oR.Provider,{"data-loc":"client/src/contexts/LanguageContext.tsx:413",value:r,children:e})}function ru(){const e=T.useContext(oR);if(!e)throw new Error("useLanguage must be used within LanguageProvider");return e}function vse(){const{items:e,isOpen:t,close:n,totalCents:r,setQuantity:a,remove:s,clear:o}=Iv(),{t:c}=ru(),[u,f]=T.useState("cart"),[p,m]=T.useState(""),[x,v]=T.useState(""),[E,_]=T.useState(""),[k,S]=T.useState(""),[O,R
953]=T.useState(!1),[q,H]=T.useState(!1),[L,M]=T.useState(null),[B,Z]=T.useState(null),[Y,ae]=T.useState(null),{data:ne}=De.settings.getAll.useQuery(),he=ne?.rules_title||"Reglas y términos de Esotérica Isis",ie=ne?.rules_text||"",pe=ne?.paypal_email||"",$=ne?.paypal_currency||"USD",re=(ne?.contact_whatsapp||"+56973874059").replace(/[^0-9]/g,""),J=De.orders.create.useMutation({onError:D=>{Ue.error(c("cart.toast.orderError"),{description:D.message})}});function ge(){return!p.trim()||!x.trim()?(Ue.error(c("cart.toast.completeNameEmail")),!1):O?!0:(Ue.error(c("cart.toast.mustAccept")),!1)}async function U(D){if(ge())try{const ce=await J.mutateAsync({customerName:p.trim(),customerEmail:x.trim(),customerPhone:E.trim()||null,acceptedRules:!0,paymentMethod:D,notes:k.trim()||null,items:e.map(Se=>({productId:Se.productId,quantity:Se.quantity}))});M(ce.id);let we;if(D==="paypal"){const Se=(ce.totalCents/100).toFixed(2),be=e.map(Xe=>`${Xe.name} x${Xe.quantity}`).join(", ").slice(0,120),Pe=ne?.paypal_me_user||"escuelaesotericaisis",Ye=encodeURIComponent(`Esoterica Isis - Pedido #${ce.id} - ${be}`);we=`https://www.paypal.com/paypalme/${Pe}/${Se}${$}?country.x=CL&locale.x=es_CL&item=${Ye}`}else{const Se=e.map(Pe=>`⢠${Pe.name} x${Pe.quantity}`).join(` 954`),be=encodeURIComponent(`Hola Kharen ð Soy ${p.trim()}. 955Acabo de realizar la reserva #${ce.id} en el sitio Esotérica Isis. 956 957${Se} 958 959Total: ${Vo(ce.totalCents)} 960 961¿Cómo coordinamos el pago?`);we=`https://wa.me/${re}?text=${be}`}Z(we),ae(D);try{window.open(we,"_blank","noopener,noreferrer")}catch{}o(),f("thanks")}catch{}}function G(){f("cart"),m(""),v(""),_(""),S(""),R(!1),M(null),Z(null),ae(null),n()}async function oe(){if(B)try{await navigator.clipboard.writeText(B),Ue.success("Enlace copiado. Pégalo en tu navegador para pagar.")}catch{Ue.error("No se pudo copiar. Mantén presionado el enlace para copiarlo.")}}return h.jsx(pH,{"data-loc":"client/src/components/CartDrawer.tsx:119",open:t,onOpenChange:D=>!D&&n(),children:h.jsxs(bH,{"data-loc":"client/src/components/CartDrawer.tsx:120",className:"w-full sm:max-w-md flex flex-col",children:[h.jsx(vH,{"data-loc":"client/src/components/CartDrawer.tsx:121",children:h.jsxs(yH,{"data-loc":"client/src/components/CartDrawer.tsx:122",className:"font-display text-2xl text-[var(--mystic-deep)] flex items-center gap-2",children:[h.jsx(Pc,{"data-loc":"client/src/components/CartDrawer.tsx:123",className:"w-5 h-5 text-gold"}),c("cart.title")]})}),u==="thanks"?h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:129",className:"flex-1 flex flex-col items-center justify-center text-center gap-4 px-6 py-8 overflow-y-auto",children:[h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:130",className:"w-20 h-20 rounded-full bg-[var(--gold)]/15 flex items-center justify-center",children:h.jsx(_A,{"data-loc":"client/src/components/CartDrawer.tsx:131",className:"w-10 h-10 text-gold"})}),h.jsx("h3",{"data-loc":"client/src/components/CartDrawer.tsx:133",className:"font-display text-2xl text-[var(--mystic-deep)]",children:c("cart.thanks.title")}),h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:134",className:"text-sm text-muted-foreground",children:c("cart.thanks.body").replace("{order}",L?`#${L} `:"")}),B&&Y==="paypal"&&h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:139",className:"w-full space-y-3 border-2 border-[#FFC439] bg-[#FFF9E6] rounded-xl p-4",children:[h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:140",className:"text-sm font-bold text-[#003087]",children:"â Importante: completa el pago en PayPal para reservar tu lugar."}),h.jsxs("a",{"data-loc":"client/src/components/CartDrawer.tsx:141",href:B,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full bg-[#FFC439] hover:bg-[#FFB800] text-[#003087] font-bold rounded-lg h-14 text-base shadow-mystic",children:[h.jsx(vx,{"data-loc":"client/src/components/CartDrawer.tsx:147",className:"w-6 h-6"}),"Abrir PayPal y pagar ahora"]}),h.jsx("button",{"data-loc":"client/src/components/CartDrawer.tsx:150",onClick:oe,className:"text-xs text-[#003087] underline w-full",children:"o copiar el enlace de pago"}),h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:156",className:"text-[11px] text-[#003087]/80 text-center break-all",children:B})]}),B&&Y==="whatsapp"&&h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:163",className:"w-full space-y-3 border-2 border-[#25D366] bg-[#E8F8E9] rounded-xl p-4",children:[h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:164",className:"text-sm font-bold text-[#075E
96154]",children:"Coordina tu reserva por WhatsApp con Kharen."}),h.jsxs("a",{"data-loc":"client/src/components/CartDrawer.tsx:165",href:B,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full bg-[#25D366] hover:bg-[#1FB855] text-white font-bold rounded-lg h-14 text-base shadow-mystic",children:[h.jsx(ds,{"data-loc":"client/src/components/CartDrawer.tsx:171",className:"w-6 h-6"}),"Abrir WhatsApp con Kharen"]})]}),h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:177",onClick:G,variant:"ghost",className:"text-muted-foreground",children:c("cart.close")})]}):e.length===0?h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:180",className:"flex-1 flex flex-col items-center justify-center text-center gap-3 px-6 py-10",children:[h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:181",className:"w-16 h-16 rounded-full bg-[var(--gold)]/15 flex items-center justify-center",children:h.jsx(Pc,{"data-loc":"client/src/components/CartDrawer.tsx:182",className:"w-7 h-7 text-gold"})}),h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:184",className:"text-muted-foreground",children:c("cart.empty")}),h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:185",variant:"outline",onClick:n,children:c("cart.keepBrowsing")})]}):u==="cart"?h.jsxs(h.Fragment,{children:[h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:189",className:"flex-1 overflow-y-auto px-1 py-4 space-y-3",children:e.map(D=>h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:191",className:"flex gap-3 p-3 rounded-xl border border-[var(--gold)]/30 bg-card",children:[D.imageUrl&&h.jsx("img",{"data-loc":"client/src/components/CartDrawer.tsx:193",src:D.imageUrl,alt:"",className:"w-16 h-16 rounded-lg object-cover"}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:195",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:196",className:"text-sm font-medium text-[var(--mystic-deep)]",children:D.name}),h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:197",className:"text-xs text-muted-foreground",children:Vo(D.priceCents)}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:198",className:"mt-2 flex items-center gap-2",children:[h.jsx("button",{"data-loc":"client/src/components/CartDrawer.tsx:199",onClick:()=>a(D.productId,D.quantity-1),className:"w-7 h-7 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15","aria-label":"Disminuir",children:h.jsx(zB,{"data-loc":"client/src/components/CartDrawer.tsx:204",className:"w-3.5 h-3.5"})}),h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:206",className:"text-sm w-6 text-center",children:D.quantity}),h.jsx("button",{"data-loc":"client/src/components/CartDrawer.tsx:207",onClick:()=>a(D.productId,D.quantity+1),className:"w-7 h-7 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15","aria-label":"Aumentar",children:h.jsx(Tv,{"data-loc":"client/src/components/CartDrawer.tsx:212",className:"w-3.5 h-3.5"})}),h.jsx("button",{"data-loc":"client/src/components/CartDrawer.tsx:214",onClick:()=>s(D.productId),className:"ml-auto p-1.5 rounded-full text-destructive hover:bg-destructive/10","aria-label":"Eliminar",children:h.jsx(vs,{"data-loc":"client/src/components/CartDrawer.tsx:219",className:"w-4 h-4"})})]})]})]},D.productId))}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:226",className:"border-t border-[var(--gold)]/30 pt-4 px-1 space-y-3",children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:227",className:"flex items-center justify-between",children:[h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:228",className:"text-sm text-muted-foreground",children:c("cart.total")}),h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:229",className:"font-display text-2xl text-[var(--mystic-deep)]",children:Vo(r)})]}),h.jsxs(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:231",className:"w-full gradient-mystic text-white shadow-mystic h-11",onClick:()=>f("checkout"),children:[h.jsx(vx,{"data-loc":"client/src/components/CartDrawer.tsx:235",className:"w-4 h-4 mr-2"})," ",c("cart.payWithPaypal")]}),h.jsxs("p",{"data-loc":"client/src/components/CartDrawer.tsx:237",className:"text-[11px] text-muted-foreground text-center",children:[c("cart.paypalNote")," ",pe||"[email protected]"]}),h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:240",variant:"ghost",className:"w-full",onClick:o,children:c("cart.clear")})]})]}):h.jsxs(h.Fragment,{children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:245",className:"flex-1 overflow-y-auto px-1 py-4 space-y-3",children:[h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:246",className:"text-sm text-muted-foreground",children:c("checkout.intro")}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:249",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/components/CartDrawer.tsx:250",htmlFor:"name",children:c("checkout.name")}),h.jsx(ut,{"data-loc":"client/src/components/CartDrawer.tsx:251",id:"name",value:p,onChange:D=>m(D.target.value),placeholder:c("checkout.namePh")})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:253",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/components/CartDrawer.tsx:254",htmlFor:"email",children:c("checkout.email")}),h.jsx(ut,{"data-loc":"client/src/components/CartDrawer.tsx:255",id:"email",type:"email",value:x,onChange:D=>v(D.target.value),placeholder:c("checkout.emailPh")})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:257",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/components/CartDrawer.tsx:258",htmlFor:"phone",children:c("checkout.phone")}),h.jsx(ut,{"data-loc":"client/src/components/CartDrawer.tsx:259",id:"phone",value:E,onChange:D=>_(D.target.value),placeholder:"+56 9 ..."})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:261",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/components/CartDrawer.tsx:262",htmlFor:"notes",children:c("checkout.notes")}),h.jsx(xs,{"data-loc":"client/src/components/CartDrawer.tsx:263",id:"notes",value:k,onChange:D=>S(D.target.value),placeholder:c("checkout.notesPh"),rows:3})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:266",className:"rounded-xl border-2 border-[var(--gold)]/40 bg-[var(--gold)]/5 p-4 space-y-3",children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:267",className:"flex items-start gap-2",children:[h.jsx(Vh,{"data-loc":"client/src/components/CartDrawer.tsx:268",className:"w-5 h-5 text-gold flex-shrink-0 mt-0.5"}),h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:269",className:"text-sm font-medium text-[var(--mystic-deep)]",children:he})]}),h.jsxs("label",{"data-loc":"client/src/components/CartDrawer.tsx:271",className:"flex items-start gap-3 cursor-pointer",children:[h.jsx(Sv,{"data-loc":"client/src/components/CartDrawer.tsx:272",checked:O,onCheckedChange:D=>R(D===!0),className:"mt-1 border-[var(--gold)] data-[state=checked]:bg-[var(--mystic)] data-[state=checked]:border-[var(--mystic)]"}),h.jsxs("span",{"data-loc":"client/src/components/CartDrawer.tsx:277",className:"text-sm text-foreground leading-relaxed",children:[c("checkout.acceptPart1")," ",h.jsx("button",{"data-loc":"client/src/components/CartDrawer.tsx:279",type:"button",onClick:()=>H(!0),className:"underline text-[var(--mystic-deep)] font-medium hover:text-[var(--mystic)]",children:c("checkout.acceptLink")}),c("checkout.acceptPart2")]})]})]})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:291",className:"border-t border-[var(--gold)]/30 pt-4 px-1 space-y-2",children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:292",className:"flex items-center justify-between",children:[h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:293",className:"text-sm text-muted-foreground",children:"Total"}),h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:294",className:"font-display text-2xl text-[var(--mystic-deep)]",children:Vo(r)})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:296",className:"rounded-xl border-2 border-[#FFC439] bg-[#FFF9E6] p-3 space-y-2",children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:297",className:"flex items-center gap-2",children:[h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:298",className:"font-bold text-[#003087] text-base",children:"Pay"}),h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:299",className:"font-bold text-[#009CDE] text-base -ml-1",children:"Pal"}),h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:300",className:"text-xs text-[#003087] ml-auto",children:c("checkout.payp
961alRecommended")})]}),h.jsxs(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:302",className:"w-full bg-[#FFC439] hover:bg-[#FFB800] text-[#003087] font-bold shadow-mystic flex items-center justify-center gap-2 h-12 text-base",onClick:()=>U("paypal"),disabled:J.isPending||!O,children:[h.jsx(vx,{"data-loc":"client/src/components/CartDrawer.tsx:307",className:"w-5 h-5"}),J.isPending?c("checkout.processing"):`${c("checkout.payWith")} ${Vo(r)} ${c("checkout.withPaypal")}`]}),pe&&h.jsxs("p",{"data-loc":"client/src/components/CartDrawer.tsx:311",className:"text-[11px] text-[#003087]/80 text-center",children:[c("checkout.verifiedAccount"),": ",h.jsx("strong",{"data-loc":"client/src/components/CartDrawer.tsx:312",children:pe})]})]}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:316",className:"relative py-1",children:[h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:317",className:"absolute inset-0 flex items-center",children:h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:317",className:"w-full border-t border-[var(--gold)]/30"})}),h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:318",className:"relative flex justify-center",children:h.jsx("span",{"data-loc":"client/src/components/CartDrawer.tsx:318",className:"bg-background px-2 text-[11px] text-muted-foreground",children:c("checkout.or")})})]}),h.jsxs(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:320",variant:"outline",className:"w-full border-[#25D366] text-[#075E54] hover:bg-[#25D366]/10 flex items-center justify-center gap-2",onClick:()=>U("whatsapp"),disabled:J.isPending||!O,children:[h.jsx(ds,{"data-loc":"client/src/components/CartDrawer.tsx:326",className:"w-4 h-4"}),c("checkout.payWhatsapp")]}),h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:329",variant:"ghost",className:"w-full",onClick:()=>f("cart"),children:c("checkout.backToCart")}),!O&&h.jsxs("p",{"data-loc":"client/src/components/CartDrawer.tsx:333",className:"text-[11px] text-destructive text-center pt-1 font-medium",children:["â ",c("checkout.mustAccept")]}),h.jsx("p",{"data-loc":"client/src/components/CartDrawer.tsx:337",className:"text-[11px] text-muted-foreground text-center pt-1",children:c("checkout.paypalLegal")})]})]}),q&&h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:345",className:"fixed inset-0 z-[60] bg-[var(--mystic-deep)]/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:()=>H(!1),children:h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:349",className:"max-w-2xl w-full max-h-[85vh] overflow-y-auto bg-card rounded-2xl shadow-mystic border border-[var(--gold)]/40",onClick:D=>D.stopPropagation(),children:h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:353",className:"p-6 md:p-8 space-y-4",children:[h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:354",className:"flex items-center gap-2",children:[h.jsx(Vh,{"data-loc":"client/src/components/CartDrawer.tsx:355",className:"w-5 h-5 text-gold"}),h.jsx("h3",{"data-loc":"client/src/components/CartDrawer.tsx:356",className:"font-display text-2xl text-[var(--mystic-deep)]",children:he})]}),h.jsx("div",{"data-loc":"client/src/components/CartDrawer.tsx:358",className:"prose prose-sm max-w-none text-foreground",children:h.jsx(t4,{"data-loc":"client/src/components/CartDrawer.tsx:359",children:ie})}),h.jsxs("div",{"data-loc":"client/src/components/CartDrawer.tsx:361",className:"flex flex-wrap gap-2 pt-2",children:[h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:362",onClick:()=>{R(!0),H(!1)},className:"gradient-mystic text-white",children:c("rules.accept")}),h.jsx(Ae,{"data-loc":"client/src/components/CartDrawer.tsx:368",onClick:()=>H(!1),variant:"outline",className:"border-[var(--gold)]",children:c("rules.close")})]})]})})})]})})}function yse(e){if(!e)return null;try{const t=new URL(e.trim());if(!t.hostname.includes("spotify.com"))return null;const n=t.pathname.match(/\/(album|track|artist|playlist|episode|show)\/([a-zA-Z0-9]+)/);if(!n)return null;const[,r,a]=n;return`https://open.spotify.com/embed/${r}/${a}?utm_source=generator&theme=0`}catch{return null}}function Ese(){const{data:e}=De.settings.getAll.useQuery(),[t,n]=T.useState(!1),r=T.useMemo(()=>{const a=e?.spotify_url||"";return yse(a)},[e?.spotify_url]);return r?h.jsx("div",{"data-loc":"client/src/components/MusicPlayer.tsx:36",className:"fixed bottom-4 right-4 z-30",children:t?h.jsxs("div",{"data-loc":"client/src/components/MusicPlayer.tsx:55",className:"w-[340px] sm:w-[380px] rounded-2xl border border-[var(--gold)]/40 bg-background/95 backdrop-blur-xl shadow-mystic overflow-hidden",children:[h.jsxs("div",{"data-loc":"client/src/components/MusicPlayer.tsx:56",className:"flex items-center justify-between px-4 pt-3 pb-2",children:[h.jsxs("div",{"data-loc":"client/src/components/MusicPlayer.tsx:57",children:[h.jsx("div",{"data-loc":"client/src/components/MusicPlayer.tsx:58",className:"text-[10px] uppercase tracking-widest text-gold",children:"Sonando ahora"}),h.jsx("div",{"data-loc":"client/src/components/MusicPlayer.tsx:59",className:"font-display text-base text-[var(--mystic-deep)]",children:"Esotérica Isis · Spotify"})]}),h.jsx("button",{"data-loc":"client/src/components/MusicPlayer.tsx:61",onClick:()=>n(!1),className:"p-1.5 rounded-full hover:bg-[var(--gold)]/15","aria-label":"Cerrar reproductor",children:h.jsx(o0,{"data-loc":"client/src/components/MusicPlayer.tsx:66",className:"w-4 h-4 text-[var(--mystic-deep)]"})})]}),h.jsx("div",{"data-loc":"client/src/components/MusicPlayer.tsx:69",className:"px-3 pb-3",children:h.jsx("iframe",{"data-loc":"client/src/components/MusicPlayer.tsx:70",title:"Música de Esotérica Isis en Spotify",src:r,width:"100%",height:"352",frameBorder:0,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",className:"rounded-xl"})})]}):h.jsxs("button",{"data-loc":"client/src/components/MusicPlayer.tsx:38",onClick:()=>n(!0),className:"group flex items-center gap-3 rounded-full border border-[var(--gold)]/40 bg-background/85 backdrop-blur-xl px-4 py-2.5 shadow-mystic hover:shadow-glow transition-all","aria-label":"Abrir música de Esotérica Isis en Spotify",children:[h.jsxs("span",{"data-loc":"client/src/components/MusicPlayer.tsx:43",className:"relative w-9 h-9 rounded-full gradient-gold flex items-center justify-center",children:[h.jsx(el,{"data-loc":"client/src/components/MusicPlayer.tsx:44",className:"w-4 h-4 text-[var(--mystic-deep)]"}),h.jsx("span",{"data-loc":"client/src/components/MusicPlayer.tsx:45",className:"absolute inset-0 rounded-full border-2 border-[var(--gold)] animate-pulse-glow opacity-70"})]}),h.jsxs("span",{"data-loc":"client/src/components/MusicPlayer.tsx:47",className:"text-left",children:[h.jsx("span",{"data-loc":"client/src/components/MusicPlayer.tsx:48",className:"block text-[10px] uppercase tracking-widest text-gold",children:"Spotify"}),h.jsx("span",{"data-loc":"client/src/components/MusicPlayer.tsx:49",className:"block text-sm font-medium text-[var(--mystic-deep)]",children:"Música de Esotérica Isis"})]})]})}):null}var wse=(e,t,n,r,a,s,o,c)=>{let u=document.documentElement,f=["light","dark"];
961function p(v){(Array.isArray(e)?e:[e]).forEach(E=>{let _=E==="class",k=_&&s?a.map(S=>s[S]||S):a;_?(u.classList.remove(...k),u.classList.add(s&&s[v]?s[v]:v)):u.setAttribute(E,v)}),m(v)}function m(v){c&&f.includes(v)&&(u.style.colorScheme=v)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)p(r);else try{let v=localStorage.getItem(t)||n,E=o&&v==="system"?x():v;p(E)}catch{}},_se=T.createContext(void 0),Tse={setTheme:e=>{},themes:[]},Ase=()=>{var e;return(e=T.useContext(_se))!=null?e:Tse};T.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:s,value:o,themes:c,nonce:u,scriptProps:f})=>{let p=JSON.stringify([n,t,s,e,c,o,r,a]).slice(1,-1);return T.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(${wse.toString()})(${p})`}})});const Sse=({...e})=>{const{theme:t="system"}=Ase();return h.jsx(QH,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})},x_="esoterica_chatbot_session_v1";function Cse(){const[e,t]=T.useState(!1),[n,r]=T.useState(void 0),[a,s]=T.useState([{role:"assistant",content:"ð Bienvenida luminosa. Soy la asistente de Esotérica Isis. ¿En qué puedo guiarte hoy: tarot, caracolas, terapias, cursos o rituales?"}]),[o,c]=T.useState(""),[u,f]=T.useState(""),[p,m]=T.useState(""),[x,v]=T.useState(""),[E,_]=T.useState(!1),[k,S]=T.useState(!1),O=T.useRef(null),R=De.chatbot.sendMessage.useMutation();T.useEffect(()=>{try{const L=localStorage.getItem(x_);if(L){const M=JSON.parse(L);r(M.sessionId),Array.isArray(M.messages)&&M.messages.length>0&&s(M.messages)}}catch{}},[]),T.useEffect(()=>{if(n)try{localStorage.setItem(x_,JSON.stringify({sessionId:n,messages:a}))}catch{}},[n,a]),T.useEffect(()=>{O.current&&(O.current.scrollTop=O.current.scrollHeight)},[a,e,R.isPending]);const q=async()=>{const L=o.trim();if(!L||R.isPending)return;const M=[...a,{role:"user",content:L}];s(M),c("");try{const B=await R.mutateAsync({sessionId:n,message:L,history:a.slice(-12).map(Z=>({role:Z.role,content:Z.content})),customer:k?{name:u,email:p,whatsapp:x}:void 0});r(B.sessionId),s(Z=>[...Z,{role:"assistant",content:B.reply}])}catch{s(Z=>[...Z,{role:"assistant",content:"Disculpa, hubo un problema temporal. Inténtalo de nuevo en un momento."}])}},H=async()=>{if(!p&&!x){alert("Por favor déjame al menos tu email o WhatsApp para que Kharen te contacte.");return}S(!0),_(!1);try{await R.mutateAsync({sessionId:n,message:"Hola, me gustarÃa que Kharen me contacte para reservar.",history:a.slice(-12).map(L=>({role:L.role,content:L.content})),customer:{name:u,email:p,whatsapp:x}}),s(L=>[...L,{role:"user",content:`Mis datos: ${u||"â"} · ${p||"â"} · ${x||"â"}`},{role:"assistant",content:"⨠¡Gracias luminosa! Kharen recibió tus datos y te contactará pronto. Mientras tanto, sigue preguntándome lo que necesites."}])}catch{s(L=>[...L,{role:"assistant",content:"Tus datos quedaron registrados. Pronto te contactarán."}])}};return e?h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:106",className:"fixed bottom-6 right-6 z-50 flex h-[560px] w-[360px] max-w-[calc(100vw-2rem)] flex-col overflow-hidden rounded-2xl border border-purple-200 bg-white shadow-2xl",children:[h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:107",className:"flex items-center justify-between bg-gradient-to-r from-purple-700 via-violet-600 to-amber-500 px-4 py-3 text-white",children:[h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:108",className:"flex items-center gap-2",children:[h.jsx(ds,{"data-loc":"client/src/components/ChatbotWidget.tsx:109",className:"h-5 w-5"}),h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:110",children:[h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:111",className:"text-sm font-semibold",children:"Asistente Esotérica Isis"}),h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:112",className:"text-xs opacity-90",children:"En lÃnea â¨"})]})]}),h.jsx("button",{"data-loc":"client/src/components/ChatbotWidget.tsx:115",onClick:()=>t(!1),className:"rounded p-1 hover:bg-white/20","aria-label":"Cerrar chat",children:h.jsx(o0,{"data-loc":"client/src/components/ChatbotWidget.tsx:116",className:"h-5 w-5"})})]}),h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:119",ref:O,className:"flex-1 space-y-3 overflow-y-auto bg-gradient-to-b from-purple-50/40 to-amber-50/40 px-3 py-3",children:[a.map((L,M)=>h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:121",className:`flex ${L.role==="user"?"justify-end":"justify-start"}`,children:h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:122",className:`max-w-[85%] whitespace-pre-wrap rounded-2xl px-3 py-2 text-sm shadow-sm ${L.role==="user"?"bg-purple-600 text-white":"bg-white text-gray-800 border border-purple-100"}`,children:L.content})},M)),R.isPending&&h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:128",className:"flex justify-start",children:h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:129",className:"rounded-2xl border border-purple-100 bg-white px-3 py-2 text-sm text-gray-500 shadow-sm",children:"Consultando los astrosâ¦"})})]}),E?h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:134",className:"space-y-2 border-t bg-white p-3",children:[h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:135",className:"text-xs text-gray-600",children:"Déjame tus datos para que Kharen te contacte:"}),h.jsx(ut,{"data-loc":"client/src/components/ChatbotWidget.tsx:136",placeholder:"Tu nombre",value:u,onChange:L=>
961f(L.target.value)}),h.jsx(ut,{"data-loc":"client/src/components/ChatbotWidget.tsx:137",placeholder:"Email",value:p,onChange:L=>m(L.target.value)}),h.jsx(ut,{"data-loc":"client/src/components/ChatbotWidget.tsx:138",placeholder:"WhatsApp (con código paÃs)",value:x,onChange:L=>v(L.target.value)}),h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:139",className:"flex gap-2",children:[h.jsx(Ae,{"data-loc":"client/src/components/ChatbotWidget.tsx:140",size:"sm",className:"flex-1 bg-purple-600 hover:bg-purple-700",onClick:H,children:"Enviar"}),h.jsx(Ae,{"data-loc":"client/src/components/ChatbotWidget.tsx:141",size:"sm",variant:"outline",onClick:()=>_(!1),children:"Cancelar"})]})]}):h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:145",className:"border-t bg-white p-3",children:[h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:146",className:"mb-2 flex items-center justify-between",children:[h.jsx("button",{"data-loc":"client/src/components/ChatbotWidget.tsx:147",onClick:()=>_(!0),className:"text-xs text-purple-600 hover:underline",children:"ð© Quiero que Kharen me contacte"}),h.jsx("a",{"data-loc":"client/src/components/ChatbotWidget.tsx:148",href:"https://wa.me/56973874059",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-emerald-600 hover:underline",children:"WhatsApp directo"})]}),h.jsxs("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:150",className:"flex gap-2",children:[h.jsx(ut,{"data-loc":"client/src/components/ChatbotWidget.tsx:151",placeholder:"Escribe tu preguntaâ¦",value:o,onChange:L=>c(L.target.value),onKeyDown:L=>{L.key==="Enter"&&q()},disabled:R.isPending}),h.jsx(Ae,{"data-loc":"client/src/components/ChatbotWidget.tsx:158",size:"icon",onClick:q,disabled:R.isPending||!o.trim(),className:"bg-purple-600 hover:bg-purple-700",children:h.jsx($B,{"data-loc":"client/src/components/ChatbotWidget.tsx:159",className:"h-4 w-4"})})]}),h.jsx("div",{"data-loc":"client/src/components/ChatbotWidget.tsx:162",className:"mt-2 text-[10px] text-gray-400",children:"Tu conversación queda guardada para Kharen. Al enviar aceptas las reglas y términos del sitio."})]})]}):h.jsxs("button",{"data-loc":"client/src/components/ChatbotWidget.tsx:94",onClick:()=>t(!0),className:"fixed bottom-6 right-6 z-50 flex items-center gap-2 rounded-full bg-gradient-to-br from-purple-600 via-violet-600 to-amber-500 px-5 py-3 text-white shadow-2xl transition-transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-purple-400","aria-label":"Abrir chat con la asistente Esotérica Isis",children:[h.jsx(On,{"data-loc":"client/src/components/ChatbotWidget.tsx:99",className:"h-5 w-5"}),h.jsx("span",{"data-loc":"client/src/components/ChatbotWidget.tsx:100",className:"text-sm font-medium",children:"Hablar con Isis"})]})}function kse(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,s,o=[],c="",u=e.split("/");for(u[0]||u.shift();a=u.shift();)n=a[0],n==="*"?(o.push(n),c+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),s=a.indexOf(".",1),o.push(a.substring(1,~r?r:~s?s:a.length)),c+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(c+=(~r?"?":"")+"\\"+a.substring(s))):c+="/"+a;return{keys:o,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var Tb={exports:{}},Ab={};/** 962 * @license React 963 * use-sync-external-store-shim.production.js 964 * 965 * Copyright (c) Meta Platforms, Inc. and affiliates. 966 * 967 * This source code is licensed under the MIT license found in the 968 * LICENSE file in the root directory of this source tree. 969 */var b_;function Nse(){if(b_)return Ab;b_=1;var e=jm();function t(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,s=e.useLayoutEffect,o=e.useDebugValue;function c(m,x){var v=x(),E=r({inst:{value:v,getSnapshot:x}}),_=E[0].inst,k=E[1];return s(function(){_.value=v,_.getSnapshot=x,u(_)&&k({inst:_})},[m,v,x]),a(function(){return u(_)&&k({inst:_}),m(function(){u(_)&&k({inst:_})})},[m]),o(v),v}function u(m){var x=m.getSnapshot;m=m.value;try{var v=x();return!n(m,v)}catch{return!0}}function f(m,x){return x()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:c;return Ab.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Ab}var v_;
969function Rse(){return v_||(v_=1,Tb.exports=Nse()),Tb.exports}var Ose=Rse();const Dse=Bm.useInsertionEffect,Ise=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Mse=Ise?T.useLayoutEffect:T.useEffect,Pse=Dse||Mse,cR=e=>{const t=T.useRef([e,(...n)=>t[0](...n)]).current;return Pse(()=>{t[0]=e}),t[1]},Lse="popstate",n4="pushState",r4="replaceState",jse="hashchange",y_=[Lse,n4,r4,jse],Bse=e=>{for(const t of y_)addEventListener(t,e);return()=>{for(const t of y_)removeEventListener(t,e)}},uR=(e,t)=>Ose.useSyncExternalStore(Bse,e,t),zse=()=>location.search,Hse=({ssrSearch:e=""}={})=>uR(zse,()=>e),E_=()=>location.pathname,Use=({ssrPath:e}={})=>uR(E_,e?()=>e:E_),Fse=(e,{replace:t=!1,state:n=null}={})=>history[t?r4:n4](n,"",e),qse=(e={})=>[Use(e),Fse],w_=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[w_]>"u"){for(const e of[n4,r4]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,w_,{value:!0})}const $se=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",dR=(e="")=>e==="/"?"":e,Vse=(e,t)=>e[0]==="~"?e.slice(1):dR(t)+e,Gse=(e="",t)=>$se(__(dR(e)),__(t)),__=e=>{try{return decodeURI(e)}catch{return e}},fR={hook:qse,searchHook:Hse,parser:kse,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},hR=T.createContext(fR),au=()=>T.useContext(hR),mR={},pR=T.createContext(mR),a4=()=>T.useContext(pR),Op=e=>{const[t,n]=e.hook(e);return[Gse(e.base,t),cR((r,a)=>n(Vse(r,e.base),a))]},Dp=()=>Op(au()),s4=(e,t,n,r)=>{const{pattern:a,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),o=a.exec(n)||[],[c,...u]=o;return c!==void 0?[!0,(()=>{const f=s!==!1?Object.fromEntries(s.map((m,x)=>[m,u[x]])):o.groups;let p={...u};return f&&Object.assign(p,f),p})(),...r?[c]:[]]:[!1,null]},Yse=e=>s4(au().parser,e,Dp()[0]),Qse=({children:e,...t})=>{const n=au(),r=t.hook?fR:n;let a=r;const[s,o]=t.ssrPath?.split("?")??[];o&&(t.ssrSearch=o,t.ssrPath=s),t.hrefs=t.hrefs??t.hook?.hrefs;let c=T.useRef({}),u=c.current,f=u;for(let p in r){const m=p==="base"?r[p]+(t[p]||""):t[p]||r[p];u===f&&m!==f[p]&&(c.current=f={...f}),f[p]=m,(m!==r[p]||m!==a[p])&&(a=f)}return T.createElement(hR.Provider,{value:a,children:e})},T_=({children:e,component:t},n)=>t?T.createElement(t,{params:n}):typeof e=="function"?e(n):e,Wse=e=>{let t=T.useRef(mR);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,a])=>a!==n[r])?e:n},vr=({path:e,nest:t,match:n,...r})=>{const a=au(),[s]=Op(a),[o,c,u]=n??s4(a.parser,e,s,t),f=Wse({...a4(),...c});if(!o)return null;const p=u?T.createElement(Qse,{base:u},T_(r,f)):T_(r,f);return T.createElement(pR.Provider,{value:f,children:p})},Sa=T.forwardRef((e,t)=>{const n=au(),[r,a]=Op(n),{to:s="",href:o=s,onClick:c,asChild:u,children:f,className:p,replace:m,state:x,...v}=e,E=cR(k=>{k.ctrlKey||k.metaKey||k.altKey||k.shiftKey||k.button!==0||(c?.(k),k.defaultPrevented||(k.preventDefault(),a(o,e)))}),_=n.hrefs(o[0]==="~"?o.slice(1):n.base+o,n);return u&&T.isValidElement(f)?T.cloneElement(f,{onClick:E,href:_}):T.createElement("a",{...v,onClick:E,href:_,className:p?.call?p(r===o):p,children:f,ref:t})}),Y2=e=>Array.isArray(e)?e.flatMap(t=>Y2(t&&t.type===T.Fragment?t.props.children:t)):[e],Kse=({children:e,location:t})=>{const n=au(),[r]=Op(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Y2(e).forEach(s=>{if(T.isValidElement(s)&&s.props.path){const o=s.props.path;window.__WOUTER_ROUTES__.includes(o)||window.__WOUTER_ROUTES__.push(o)}}));for(const a of Y2(e)){let s=0;if(T.isValidElement(a)&&(s=s4(n.parser,a.props.path,t||r,a.props.nest))[0])return T.cloneElement(a,{match:s})}return null},Xse="56973874059";function Zse(){const[e]=Dp();if(e.startsWith("/admin"))return null;const t=encodeURIComponent("¡Hola Kharen! ð Vi tu sitio Esotérica Isis y quiero más información sobre tus servicios. ¿Me puedes orientar?"),n=`https://wa.me/${Xse}?text=${t}`;return h.jsxs("a",{"data-loc":"client/src/components/WhatsAppFloat.tsx:20",href:n,target:"_blank",rel:"noopener noreferrer","aria-label":"Contactar a Kharen por WhatsApp",className:"fixed bottom-5 left-5 z-50 flex items-center gap-2 rounded-full bg-[#25D366] px-4 py-3 text-white shadow-2xl ring-4 ring-white/40 hover:bg-[#1FB759] hover:scale-105 transition-all duration-200",style:{boxShadow:"0 10px 30px -5px rgba(37, 211, 102, 0.5), 0 4px 12px -2px rgba(0,0,0,0.2)"},children:[h.jsx("svg",{"data-loc":"client/src/components/WhatsAppFloat.tsx:31",viewBox:"0 0 24 24",className:"w-7 h-7 fill-current",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,
969children:h.jsx("path",{"data-loc":"client/src/components/WhatsAppFloat.tsx:37",d:"M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.515 5.26l-.999 3.648 3.973-1.607zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z"})}),h.jsx("span",{"data-loc":"client/src/components/WhatsAppFloat.tsx:39",className:"hidden sm:inline font-semibold text-sm pr-1",children:"Hablar por WhatsApp"})]})}const Jse=["top","right","bottom","left"],oo=Math.min,Jr=Math.max,km=Math.round,_h=Math.floor,bs=e=>({x:e,y:e}
vendor: 14,578 bytes, line 969
969),eie={left:"right",right:"left",bottom:"top",top:"bottom"},tie={start:"end",end:"start"};function Q2(e,t,n){return Jr(e,oo(t,n))}function li(e,t){return typeof e=="function"?e(t):e}function ci(e){return e.split("-")[0]}function su(e){return e.split("-")[1]}function i4(e){return e==="x"?"y":"x"}function o4(e){return e==="y"?"height":"width"}const nie=new Set(["top","bottom"]);function ps(e){return nie.has(ci(e))?"y":"x"}function l4(e){return i4(ps(e))}function rie(e,t,n){n===void 0&&(n=!1);const r=su(e),a=l4(e),s=o4(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Nm(o)),[o,Nm(o)]}function aie(e){const t=Nm(e);return[W2(e),t,W2(t)]}function W2(e){return e.replace(/start|end/g,t=>tie[t])}const A_=["left","right"],S_=["right","left"],sie=["top","bottom"],iie=["bottom","top"];function oie(e,t,n){switch(e){case"top":case"bottom":return n?t?S_:A_:t?A_:S_;case"left":case"right":return t?sie:iie;default:return[]}}function lie(e,t,n,r){const a=su(e);let s=oie(ci(e),n==="start",r);return a&&(s=s.map(o=>o+"-"+a),t&&(s=s.concat(s.map(W2)))),s}function Nm(e){return e.replace(/left|right|bottom|top/g,t=>eie[t])}function cie(e){return{top:0,right:0,bottom:0,left:0,...e}}function gR(e){return typeof e!="number"?cie(e):{top:e,right:e,bottom:e,left:e}}function Rm(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function C_(e,t,n){let{reference:r,floating:a}=e;const s=ps(t),o=l4(t),c=o4(o),u=ci(t),f=s==="y",p=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,x=r[c]/2-a[c]/2;let v;switch(u){case"top":v={x:p,y:r.y-a.height};break;case"bottom":v={x:p,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:m};break;case"left":v={x:r.x-a.width,y:m};break;default:v={x:r.x,y:r.y}}switch(su(t)){case"start":v[o]-=x*(n&&f?-1:1);break;case"end":v[o]+=x*(n&&f?-1:1);break}return v}const uie=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:o}=n,c=s.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let f=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:m}=C_(f,r,u),x=r,v={},E=0;for(let _=0;_<c.length;_++){const{name:k,fn:S}=c[_],{x:O,y:R,data:q,reset:H}=await S({x:p,y:m,initialPlacement:r,placement:x,strategy:a,middlewareData:v,rects:f,platform:o,elements:{reference:e,floating:t}});p=O??p,m=R??m,v={...v,[k]:{...v[k],...q}},H&&E<=50&&(E++,typeof H=="object"&&(H.placement&&(x=H.placement),H.rects&&(f=H.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:p,y:m}=C_(f,x,u)),_=-1)}return{x:p,y:m,placement:x,strategy:a,middlewareData:v}};async function Zd(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:o,elements:c,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:x=!1,padding:v=0}=li(t,e),E=gR(v),k=c[x?m==="floating"?"reference":"floating":m],S=Rm(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(k)))==null||n?k:k.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:p,strategy:u})),O=m==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),q=await(s.isElement==null?void 0:s.isElement(R))?await(s.getScale==null?void 0:s.getScale(R))||{x:1,y:1}:{x:1,y:1},H=Rm(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:O,offsetParent:R,strategy:u}):O);return{top:(S.top-H.top+E.top)/q.y,bottom:(H.bottom-S.bottom+E.bottom)/q.y,left:(S.left-H.left+E.left)/q.x,right:(H.right-S.right+E.right)/q.x}}const die=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:o,elements:c,middlewareData:u}=t,{element:f,padding:p=0}=li(e,t)||{};if(f==null)return{};const m=gR(p),x={x:n,y:r},v=l4(a),E=o4(v),_=await o.getDimensions(f),k=v==="y",S=k?"top":"left",O=k?"bottom":"right",R=k?"clientHeight":"clientWidth",q=s.reference[E]+s.reference[v]-x[v]-s.floating[E],H=x[v]-s.reference[v],L=await(o.getOffsetParent==null?void 0:o.getOffsetParent(f));let M=L?L[R]:0;(!M||!await(o.isElement==null?void 0:o.isElement(L)))&&(M=c.floating[R]||s.floating[E]);const B=q/2-H/2,Z=M/2-_[E]/2-1,Y=oo(m[S],Z),ae=oo(m[O],Z),ne=Y,he=M-_[E]-ae,ie=M/2-_[E]/2+B,pe=Q2(ne,ie,he),$=!u.arrow&&su(a)!=null&&ie!==pe&&s.reference[E]/2-(ie<ne?Y:ae)-_[E]/2<0,re=$?ie<ne?ie-ne:ie-he:0;return{[v]:x[v]+re,data:{[v]:pe,centerOffset:ie-pe-re,...$&&{alignmentOffset:re}},reset:$}}}),fie=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:o,initialPlacement:c,platform:u,elements:f}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:_=!0,...k}=li(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const S=ci(a),O=ps(c),R=ci(c)===c,q=await(u.isRTL==null?void 0:u.isRTL(f.floating)),H=x||(R||!_?[Nm(c)]:aie(c)),L=E!=="none";!x&&L&&H.push(...lie(c,_,E,q));const M=[c,...H],B=await Zd(t,k),Z=[];let Y=((r=s.flip)==null?void 0:r.overflows)||[];if(p&&Z.push(B[S]),m){const ie=rie(a,o,q);Z.push(B[ie[0]],B[ie[1]])}if(Y=[...Y,{placement:a,overflows:Z}],!Z.every(ie=>ie<=0)){var ae,ne;const ie=(((ae=s.flip)==null?void 0:ae.index)||0)+1,pe=M[ie];if(pe&&(!(m==="alignment"?O!==ps(pe):!1)||Y.every(J=>ps(J.placement)===O?J.overflows[0]>0:!0)))return{data:{index:ie,overflows:Y},reset:{placement:pe}};let $=(ne=Y.filter(re=>re.overflows[0]<=0).sort((re,J)=>re.overflows[1]-J.overflows[1])[0])==null?void 0:ne.placement;if(!$)switch(v){case"bestFit":{var he;const re=(he=Y.filter(J=>{if(L){const ge=ps(J.placement);return ge===O||ge==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(ge=>ge>0).reduce((ge,U)=>ge+U,0)]).sort((J,ge)=>J[1]-ge[1])[0])==null?void 0:he[0];re&&($=re);break}case"initialPlacement":$=c;break}if(a!==$)return{reset:{placement:$}}}return{}}}};function k_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N_(e){return Jse.some(t=>e[t]>=0)}const hie=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=li(e,t);switch(r){case"referenceHidden":{const s=await Zd(t,{...a,elementContext:"reference"}),o=k_(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:N_(o)}}}case"escaped":{const s=await Zd(t,{...a,altBoundary:!0}),o=k_(s,n.floating);return{data:{escapedOffsets:o,escaped:N_(o)}}}default:return{}}}}},xR=new Set(["left","top"]);async function mie(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=ci(n),c=su(n),u=ps(n)==="y",f=xR.has(o)?-1:1,p=s&&u?-1:1,m=li(t,e);let{mainAxis:x,crossAxis:v,alignmentAxis:E}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof E=="number"&&(v=c==="end"?E*-1:E),u?{x:v*p,y:x*f}:{x:x*f,y:v*p}}const pie=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:o,middlewareData:c}=t,u=await mie(t,e);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:s+u.y,data:{...u,placement:o}}}}},gie=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:c={fn:k=>{let{x:S,y:O}=k;return{x:S,y:O}}},...u}=li(e,t),f={x:n,y:r},p=await Zd(t,u),m=ps(ci(a)),x=i4(m);let v=f[x],E=f[m];if(s){const k=x==="y"?"top":"left",S=x==="y"?"bottom":"right",O=v+p[k],R=v-p[S];v=Q2(O,v,R)}if(o){const k=m==="y"?"top":"left",S=m==="y"?"bottom":"right",O=E+p[k],R=E-p[S];E=Q2(O,E,R)}const _=c.fn({...t,[x]:v,[m]:E});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[x]:s,[m]:o}}}}}},xie=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:o}=t,{offset:c=0,mainAxis:u=!0,crossAxis:f=!0}=li(e,t),p={x:n,y:r},m=ps(a),x=i4(m);let v=p[x],E=p[m];const _=li(c,t),k=typeof _=="number"?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(u){const R=x==="y"?"height":"width",q=s.reference[x]-s.floating[R]+k.mainAxis,H=s.reference[x]+s.reference[R]-k.mainAxis;v<q?v=q:v>H&&(v=H)}if(f){var S,O;const R=x==="y"?"width":"height",q=xR.has(ci(a)),H=s.reference[m]-s.floating[R]+(q&&((S=o.offset)==null?void 0:S[m])||0)+(q?0:k.crossAxis),L=s.reference[m]+s.reference[R]+(q?0:((O=o.offset)==null?void 0:O[m])||0)-(q?k.crossAxis:0);E<H?E=H:E>L&&(E=L)}return{[x]:v,[m]:E}}}},bie=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:o,elements:c}=t,{apply:u=()=>{},...f}=li(e,t),p=await Zd(t,f),m=ci(a),x=su(a),v=ps(a)==="y",{width:E,height:_}=s.floating;let k,S;m==="top"||m==="bottom"?(k=m,S=x===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(S=m,k=x==="end"?"top":"bottom");const O=_-p.top-p.bottom,R=E-p.left-p.right,q=oo(_-p[k],O),H=oo(E-p[S],R),L=!t.middlewareData.shift;let M=q,B=H;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(B=R),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=O),L&&!x){const Y=Jr(p.left,0),ae=Jr(p.right,0),ne=Jr(p.top,0),he=Jr(p.bottom,0);v?B=E-2*(Y!==0||ae!==0?Y+ae:Jr(p.left,p.right)):M=_-2*(ne!==0||he!==0?ne+he:Jr(p.top,p.bottom))}await u({...t,availableWidth:B,availableHeight:M});const Z=await o.getDimensions(c.floating);return E!==Z.width||_!==Z.height?{reset:{rects:!0}}:{}}}};function Ip(){return typeof window<"u"}function iu(e){return bR(e)?(e.nodeName||"").toLowerCase():"#document"}function aa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ks(e){var t;return(t=(bR(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bR(e){return Ip()?e instanceof Node||e instanceof aa(e).Node:!1}function Ha(e){return Ip()?e instanceof Element||e instanceof aa(e).Element:!1}function Es(e){return Ip()?e instanceof HTMLElement||e instanceof aa(e).HTMLElement:!1}function R_(e){return!Ip()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof aa(e).ShadowRoot}const vie=new Set(["inline","contents"]);function T0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Ua(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vie.has(a)}const yie=new Set(["table","td","th"]);function Eie(e){return yie.has(iu(e))}const wie=[":popover-open",":modal"];function Mp(e){return wie.some(t=>{try{return e.matches(t)}catch{return!1}})}const _ie=["transform","translate","scale","rotate","perspective"],Tie=["transform","translate","scale","rotate","perspective","filter"],Aie=["paint","layout","strict","content"];function c4(e){const t=u4(),n=Ha(e)?Ua(e):e;return _ie.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Tie.some(r=>(n.willChange||"").includes(r))||Aie.some(r=>(n.contain||"").includes(r))}function Sie(e){let t=lo(e);for(;Es(t)&&!Uc(t);){if(c4(t))return t;if(Mp(t))return null;t=lo(t)}return null}function u4(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Cie=new Set(["html","body","#document"]);function Uc(e){return Cie.has(iu(e))}function Ua(e){return aa(e).getComputedStyle(e)}function Pp(e){return Ha(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lo(e){if(iu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||R_(e)&&e.host||ks(e);return R_(t)?t.host:t}function vR(e){const t=lo(e);return Uc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Es(t)&&T0(t)?t:vR(t)}function Jd(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=vR(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),o=aa(a);if(s){const c=K2(o);return t.concat(o,o.visualViewport||[],T0(a)?a:[],c&&n?Jd(c):[])}return t.concat(a,Jd(a,[],n))}function K2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yR(e){const t=Ua(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=Es(e),s=a?e.offsetWidth:n,o=a?e.offsetHeight:r,c=km(n)!==s||km(r)!==o;return c&&(n=s,r=o),{width:n,height:r,$:c}}function d4(e){return Ha(e)?e:e.contextElement}function Rc(e){const t=d4(e);if(!Es(t))return bs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=yR(t);let o=(s?km(n.width):n.width)/r,c=(s?km(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const kie=bs(0);function ER(e){const t=aa(e);return!u4()||!t.visualViewport?kie:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Nie(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==aa(e)?!1:t}function il(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=d4(e);let o=bs(1);t&&(r?Ha(r)&&(o=Rc(r)):o=Rc(e));const c=Nie(s,n,r)?ER(s):bs(0);let u=(a.left+c.x)/o.x,f=(a.top+c.y)/o.y,p=a.width/o.x,m=a.height/o.y;if(s){const x=aa(s),v=r&&Ha(r)?aa(r):r;let E=x,_=K2(E);for(;_&&r&&v!==E;){const k=Rc(_),S=_.getBoundingClientRect(),O=Ua(_),R=S.left+(_.clientLeft+parseFloat(O.paddingLeft))*k.x,q=S.top+(_.clientTop+parseFloat(O.paddingTop))*k.y;u*=k.x,f*=k.y,p*=k.x,m*=k.y,u+=R,f+=q,E=aa(_),_=K2(E)}}return Rm({width:p,height:m,x:u,y:f})}function Lp(e,t){const n=Pp(e).scrollLeft;return t?t.left+n:il(ks(e)).left+n}function wR(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Lp(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function Rie(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",o=ks(r),c=t?Mp(t.floating):!1;if(r===o||c&&s)return n;let u={scrollLeft:0,scrollTop:0},f=bs(1);const p=bs(0),m=Es(r);if((m||!m&&!s)&&((iu(r)!=="body"||T0(o))&&(u=Pp(r)),Es(r))){const v=il(r);f=Rc(r),p.x=v.x+r.clientLeft,p.y=v.y+r.clientTop}const x=o&&!m&&!s?wR(o,u):bs(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+p.x+x.x,y:n.y*f.y-u.scrollTop*f.y+p.y+x.y}}function Oie(e){return Array.from(e.getClientRects())}function Die(e){const t=ks(e),n=Pp(e),r=e.ownerDocument.body,a=Jr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Jr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Lp(e);const c=-n.scrollTop;return Ua(r).direction==="rtl"&&(o+=Jr(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:o,y:c}}const O_=25;
vendor: 9,830 bytes, line 969
969function Iie(e,t){const n=aa(e),r=ks(e),a=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,c=0,u=0;if(a){s=a.width,o=a.height;const p=u4();(!p||p&&t==="fixed")&&(c=a.offsetLeft,u=a.offsetTop)}const f=Lp(r);if(f<=0){const p=r.ownerDocument,m=p.body,x=getComputedStyle(m),v=p.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,E=Math.abs(r.clientWidth-m.clientWidth-v);E<=O_&&(s-=E)}else f<=O_&&(s+=f);return{width:s,height:o,x:c,y:u}}const Mie=new Set(["absolute","fixed"]);function Pie(e,t){const n=il(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=Es(e)?Rc(e):bs(1),o=e.clientWidth*s.x,c=e.clientHeight*s.y,u=a*s.x,f=r*s.y;return{width:o,height:c,x:u,y:f}}function D_(e,t,n){let r;if(t==="viewport")r=Iie(e,n);else if(t==="document")r=Die(ks(e));else if(Ha(t))r=Pie(t,n);else{const a=ER(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Rm(r)}function _R(e,t){const n=lo(e);return n===t||!Ha(n)||Uc(n)?!1:Ua(n).position==="fixed"||_R(n,t)}function Lie(e,t){const n=t.get(e);if(n)return n;let r=Jd(e,[],!1).filter(c=>Ha(c)&&iu(c)!=="body"),a=null;const s=Ua(e).position==="fixed";let o=s?lo(e):e;for(;Ha(o)&&!Uc(o);){const c=Ua(o),u=c4(o);!u&&c.position==="fixed"&&(a=null),(s?!u&&!a:!u&&c.position==="static"&&!!a&&Mie.has(a.position)||T0(o)&&!u&&_R(e,o))?r=r.filter(p=>p!==o):a=c,o=lo(o)}return t.set(e,r),r}function jie(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?Mp(t)?[]:Lie(t,this._c):[].concat(n),r],c=o[0],u=o.reduce((f,p)=>{const m=D_(t,p,a);return f.top=Jr(m.top,f.top),f.right=oo(m.right,f.right),f.bottom=oo(m.bottom,f.bottom),f.left=Jr(m.left,f.left),f},D_(t,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Bie(e){const{width:t,height:n}=yR(e);return{width:t,height:n}}function zie(e,t,n){const r=Es(t),a=ks(t),s=n==="fixed",o=il(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const u=bs(0);function f(){u.x=Lp(a)}if(r||!r&&!s)if((iu(t)!=="body"||T0(a))&&(c=Pp(t)),r){const v=il(t,!0,s,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else a&&f();s&&!r&&a&&f();const p=a&&!r&&!s?wR(a,c):bs(0),m=o.left+c.scrollLeft-u.x-p.x,x=o.top+c.scrollTop-u.y-p.y;return{x:m,y:x,width:o.width,height:o.height}}function Sb(e){return Ua(e).position==="static"}function I_(e,t){if(!Es(e)||Ua(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ks(e)===n&&(n=n.ownerDocument.body),n}function TR(e,t){const n=aa(e);if(Mp(e))return n;if(!Es(e)){let a=lo(e);for(;a&&!Uc(a);){if(Ha(a)&&!Sb(a))return a;a=lo(a)}return n}let r=I_(e,t);for(;r&&Eie(r)&&Sb(r);)r=I_(r,t);return r&&Uc(r)&&Sb(r)&&!c4(r)?n:r||Sie(e)||n}const Hie=async function(e){const t=this.getOffsetParent||TR,n=this.getDimensions,r=await n(e.floating);return{reference:zie(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Uie(e){return Ua(e).direction==="rtl"}const Fie={convertOffsetParentRelativeRectToViewportRelativeRect:Rie,getDocumentElement:ks,getClippingRect:jie,getOffsetParent:TR,getElementRects:Hie,getClientRects:Oie,getDimensions:Bie,getScale:Rc,isElement:Ha,isRTL:Uie};function AR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function qie(e,t){let n=null,r;const a=ks(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),s();const f=e.getBoundingClientRect(),{left:p,top:m,width:x,height:v}=f;if(c||t(),!x||!v)return;const E=_h(m),_=_h(a.clientWidth-(p+x)),k=_h(a.clientHeight-(m+v)),S=_h(p),R={rootMargin:-E+"px "+-_+"px "+-k+"px "+-S+"px",threshold:Jr(0,oo(1,u))||1};let q=!0;function H(L){const M=L[0].intersectionRatio;if(M!==u){if(!q)return o();M?o(!1,M):r=setTimeout(()=>{o(!1,1e-7)},1e3)}M===1&&!AR(f,e.getBoundingClientRect())&&o(),q=!1}try{n=new IntersectionObserver(H,{...R,root:a.ownerDocument})}catch{n=new IntersectionObserver(H,R)}n.observe(e)}return o(!0),s}function $ie(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,f=d4(e),p=a||s?[...f?Jd(f):[],...Jd(t)]:[];p.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),s&&S.addEventListener("resize",n)});const m=f&&c?qie(f,n):null;let x=-1,v=null;o&&(v=new ResizeObserver(S=>{let[O]=S;O&&O.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var R;(R=v)==null||R.observe(t)})),n()}),f&&!u&&v.observe(f),v.observe(t));let E,_=u?il(e):null;u&&k();function k(){const S=il(e);_&&!AR(_,S)&&n(),_=S,E=requestAnimationFrame(k)}return n(),()=>{var S;p.forEach(O=>{a&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),m?.(),(S=v)==null||S.disconnect(),v=null,u&&cancelAnimationFrame(E)}}const Vie=pie,Gie=gie,Yie=fie,Qie=bie,Wie=hie,M_=die,Kie=xie,Xie=(e,t,n)=>{const r=new Map,a={platform:Fie,...n},s={...a.platform,_c:r};return uie(e,t,{...a,platform:s})};var Zie=typeof document<"u",Jie=function(){},Bh=Zie?T.useLayoutEffect:Jie;function Om(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Om(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!Om(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function SR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function P_(e,t){const n=SR(e);return Math.round(t*n)/n}function Cb(e){const t=T.useRef(e);return Bh(()=>{t.current=e}),t}function eoe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:o}={},transform:c=!0,whileElementsMounted:u,open:f}=e,[p,m]=T.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,v]=T.useState(r);Om(x,r)||v(r);const[E,_]=T.useState(null),[k,S]=T.useState(null),O=T.useCallback(J=>{J!==L.current&&(L.current=J,_(J))},[]),R=T.useCallback(J=>{J!==M.current&&(M.current=J,S(J))},[]),q=s||E,H=o||k,L=T.useRef(null),M=T.useRef(null),B=T.useRef(p),Z=u!=null,Y=Cb(u),ae=Cb(a),ne=Cb(f),he=T.useCallback(()=>{if(!L.current||!M.current)return;const J={placement:t,strategy:n,middleware:x};ae.current&&(J.platform=ae.current),Xie(L.current,M.current,J).then(ge=>{const U={...ge,isPositioned:ne.current!==!1};ie.current&&!Om(B.current,U)&&(B.current=U,i0.flushSync(()=>{m(U)}))})},[x,t,n,ae,ne]);Bh(()=>{f===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,m(J=>({...J,isPositioned:!1})))},[f]);const ie=T.useRef(!1);Bh(()=>(ie.current=!0,()=>{ie.current=!1}),[]),Bh(()=>{if(q&&(L.current=q),H&&(M.current=H),q&&H){if(Y.current)return Y.current(q,H,he);he()}},[q,H,he,Y,Z]);const pe=T.useMemo(()=>({reference:L,floating:M,setReference:O,setFloating:R}),[O,R]),$=T.useMemo(()=>({reference:q,floating:H}),[q,H]),re=T.useMemo(()=>{const J={position:n,left:0,top:0};if(!$.floating)return J;const ge=P_($.floating,p.x),U=P_($.floating,p.y);return c?{...J,transform:"translate("+ge+"px, "+U+"px)",...SR($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ge,top:U}},[n,c,$.floating,p.x,p.y]);return T.useMemo(()=>({...p,update:he,refs:pe,elements:$,floatingStyles:re}),[p,he,pe,$,re])}const toe=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?M_({element:r.current,padding:a}).fn(n):{}:r?M_({element:r,padding:a}).fn(n):{}}}},noe=(e,t)=>({...Vie(e),options:[e,t]}),roe=(e,t)=>({...Gie(e),options:[e,t]}),aoe=(e,t)=>({...Kie(e),options:[e,t]}),soe=(e,t)=>({...Yie(e),options:[e,t]}),ioe=(e,t)=>({...Qie(e),options:[e,t]}),ooe=(e,t)=>({...Wie(e),options:[e,t]}),loe=(e,t)=>({...toe(e),options:[e,t]});var coe="Arrow",CR=T.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return h.jsx(ot.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});CR.displayName=coe;var uoe=CR,f4="Popper",[kR,ou]=qa(f4),[doe,NR]=kR(f4),RR=e=>{const{__scopePopper:t,children:n}=e,[r,a]=T.useState(null);return h.jsx(doe,{scope:t,anchor:r,onAnchorChange:a,children:n})};RR.displayName=f4;var OR="PopperAnchor",DR=T.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,s=NR(OR,n),o=T.useRef(null),c=Dt(t,o),u=T.useRef(null);return T.useEffect(()=>{const f=u.current;u.current=r?.current||o.current,f!==u.current&&s.onAnchorChange(u.current)}),r?null:h.jsx(ot.div,{...a,ref:c})});DR.displayName=OR;var h4="PopperContent",[foe,hoe]=kR(h4),IR=T.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:v="optimized",onPlaced:E,..._}=e,k=NR(h4,n),[S,O]=T.useState(null),R=Dt(t,be=>O(be)),[q,H]=T.useState(null),L=vv(q),M=L?.width??0,B=L?.height??0,Z=r+(s!=="center"?"-"+s:""),Y=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},ae=Array.isArray(f)?f:[f],ne=ae.length>0,he={padding:Y,boundary:ae.filter(poe),altBoundary:ne},{refs:ie,floatingStyles:pe,placement:$,isPositioned:re,middlewareData:J}=eoe({strategy:"fixed",placement:Z,whileElementsMounted:(...be)=>$ie(...be,{animationFrame:v==="always"}),elements:{reference:k.anchor},middleware:[noe({mainAxis:a+B,alignmentAxis:o}),u&&roe({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?aoe():void 0,...he}),u&&soe({...he}
vendor: 4,604 bytes, line 969
969),ioe({...he,apply:({elements:be,rects:Pe,availableWidth:Ye,availableHeight:Xe})=>{const{width:it,height:xt}=Pe.reference,pn=be.floating.style;pn.setProperty("--radix-popper-available-width",`${Ye}px`),pn.setProperty("--radix-popper-available-height",`${Xe}px`),pn.setProperty("--radix-popper-anchor-width",`${it}px`),pn.setProperty("--radix-popper-anchor-height",`${xt}px`)}}),q&&loe({element:q,padding:c}),goe({arrowWidth:M,arrowHeight:B}),x&&ooe({strategy:"referenceHidden",...he})]}),[ge,U]=LR($),G=ys(E);fr(()=>{re&&G?.()},[re,G]);const oe=J.arrow?.x,D=J.arrow?.y,ce=J.arrow?.centerOffset!==0,[we,Se]=T.useState();return fr(()=>{S&&Se(window.getComputedStyle(S).zIndex)},[S]),h.jsx("div",{ref:ie.setFloating,"data-radix-popper-content-wrapper":"",style:{...pe,transform:re?pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(" "),...J.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(foe,{scope:n,placedSide:ge,onArrowChange:H,arrowX:oe,arrowY:D,shouldHideArrow:ce,children:h.jsx(ot.div,{"data-side":ge,"data-align":U,..._,ref:R,style:{..._.style,animation:re?void 0:"none"}})})})});IR.displayName=h4;var MR="PopperArrow",moe={top:"bottom",right:"left",bottom:"top",left:"right"},PR=T.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=hoe(MR,r),o=moe[s.placedSide];return h.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:h.jsx(uoe,{...a,ref:n,style:{...a.style,display:"block"}})})});PR.displayName=MR;function poe(e){return e!==null}var goe=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,o=a.arrow?.centerOffset!==0,c=o?0:e.arrowWidth,u=o?0:e.arrowHeight,[f,p]=LR(n),m={start:"0%",center:"50%",end:"100%"}[p],x=(a.arrow?.x??0)+c/2,v=(a.arrow?.y??0)+u/2;let E="",_="";return f==="bottom"?(E=o?m:`${x}px`,_=`${-u}px`):f==="top"?(E=o?m:`${x}px`,_=`${r.floating.height+u}px`):f==="right"?(E=`${-u}px`,_=o?m:`${v}px`):f==="left"&&(E=`${r.floating.width+u}px`,_=o?m:`${v}px`),{data:{x:E,y:_}}}});function LR(e){const[t,n="center"]=e.split("-");return[t,n]}var jR=RR,m4=DR,p4=IR,g4=PR,BR=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),xoe="VisuallyHidden",zR=T.forwardRef((e,t)=>h.jsx(ot.span,{...e,ref:t,style:{...BR,...e.style}}));zR.displayName=xoe;var boe=zR,[jp]=qa("Tooltip",[ou]),x4=ou(),HR="TooltipProvider",voe=700,L_="tooltip.open",[yoe,UR]=jp(HR),FR=e=>{const{__scopeTooltip:t,delayDuration:n=voe,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,o=T.useRef(!0),c=T.useRef(!1),u=T.useRef(0);return T.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),h.jsx(yoe,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:T.useCallback(()=>{window.clearTimeout(u.current),o.current=!1},[]),onClose:T.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:T.useCallback(f=>{c.current=f},[]),disableHoverableContent:a,children:s})};FR.displayName=HR;var qR="Tooltip",[Hde,Bp]=jp(qR),X2="TooltipTrigger",Eoe=T.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=Bp(X2,n),s=UR(X2,n),o=x4(n),c=T.useRef(null),u=Dt(t,c,a.onTriggerChange),f=T.useRef(!1),p=T.useRef(!1),m=T.useCallback(()=>f.current=!1,[]);return T.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),h.jsx(m4,{asChild:!0,...o,children:h.jsx(ot.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:u,onPointerMove:qe(e.onPointerMove,x=>{x.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:qe(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:qe(e.onPointerDown,()=>{a.open&&a.onClose(),f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:qe(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:qe(e.onBlur,a.onClose),onClick:qe(e.onClick,a.onClose)})})});Eoe.displayName=X2;var woe="TooltipPortal",[Ude,_oe]=jp(woe,{forceMount:void 0}),Fc="TooltipContent",Toe=T.forwardRef((e,t)=>
969{const n=_oe(Fc,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...s}=e,o=Bp(Fc,e.__scopeTooltip);return h.jsx($a,{present:r||o.open,children:o.disableHoverableContent?h.jsx($R,{side:a,...s,ref:t}):h.jsx(Aoe,{side:a,...s,ref:t})})}),Aoe=T.forwardRef((e,t)=>{const n=Bp(Fc,e.__scopeTooltip),r=UR(Fc,e.__scopeTooltip),a=T.useRef(null),s=Dt(t,a),[o,c]=T.useState(null),{trigger:u,onClose:f}=n,p=a.current,{onPointerInTransitChange:m}=r,x=T.useCallback(()=>{c(null),m(!1)},[m]),v=T.useCallback((E,_)=>{const k=E.currentTarget,S={x:E.clientX,y:E.clientY},O=Roe(S,k.getBoundingClientRect()),R=Ooe(S,O),q=Doe(_.getBoundingClientRect()),H=Moe([...R,...q]);c(H),m(!0)},[m]);return T.useEffect(()=>()=>x(),[x]),T.useEffect(()=>{if(u&&p){const E=k=>v(k,p),_=k=>v(k,u);return u.addEventListener("pointerleave",E),p.addEventListener("pointerleave",_),()=>{u.removeEventListener("pointerleave",E),p.removeEventListener("pointerleave",_)}}},[u,p,v,x]),T.useEffect(()=>{if(o){const E=_=>{const k=_.target,S={x:_.clientX,y:_.clientY},O=u?.contains(k)||p?.contains(k),R=!Ioe(S,o);O?x():R&&(x(),f())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[u,p,o,f,x]),h.jsx($R,{...e,ref:s})}),[Soe,Coe]=jp(qR,{isInside:!1}),koe=kj("TooltipContent"),$R=T.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:o,...c}=e,u=Bp(Fc,n),f=x4(n),{onClose:p}=u;return T.useEffect(()=>(document.addEventListener(L_,p),()=>document.removeEventListener(L_,p)),[p]),T.useEffect(()=>{if(u.trigger){const m=x=>{x.target?.contains(u.trigger)&&p()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[u.trigger,p]),h.jsx(l0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:m=>m.preventDefault(),onDismiss:p,children:h.jsxs(p4,{"data-state":u.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(koe,{children:r}),h.jsx(Soe,{scope:n,isInside:!0,children:h.jsx(boe,{id:u.contentId,role:"tooltip",children:a||r})})]})})});Toe.displayName=Fc;var VR="TooltipArrow",Noe=T.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=x4(n);return Coe(VR,n).isInside?null:h.jsx(g4,{...a,...r,ref:t})});Noe.displayName=VR;function Roe(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,a,s)){case s:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ooe(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Doe(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function Ioe(e,t){const{x:n,y:r}=e;let a=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const c=t[s],u=t[o],f=c.x,p=c.y,m=u.x,x=u.y;p>r!=x>r&&n<(m-f)*(r-p)/(x-p)+f&&(a=!a)}return a}function Moe(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Poe(t)}function Poe(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(a.y-o.y)>=(s.y-o.y)*(a.x-o.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(a.y-o.y)>=(s.y-o.y)*(a.x-o.x))n.pop();else break}n.push(a)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Loe=FR;function joe({delayDuration:e=0,...t}){return h.jsx(Loe,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const GR=T.createContext(null);function Boe({children:e}){const t=T.useRef(null),[n,r]=T.useState([]),[a,s]=T.useState(0),[o,c]=T.useState(!1),[u,f]=T.useState(0);T.useEffect(()=>{if(typeof window>"u")return;const R=new Audio;R.preload="metadata",t.current=R;const q=()=>{R.duration&&f(R.currentTime/R.duration)},H=()=>{c(!1),f(0),s(L=>(L+1)%Math.max(1,p.current.length))};return R.addEventListener("timeupdate",q),R.addEventListener("ended",H),()=>{R.pause(),R.removeEventListener("timeupdate",q),R.removeEventListener("ended",H)}},[]);const p=T.useRef([]);T.useEffect(()=>{p.current=n},[n]),T.useEffect(()=>{const R=t.current;if(!R)return;const q=n[a];q&&(R.src.endsWith(q.audioUrl)||(R.src=q.audioUrl),o&&R.play().catch(()=>c(!1)))},[a,n]);const m=T.useCallback(R=>{const q=t.current;if(q){if(R!==void 0&&R!==a){s(R);const H=n[R];H&&(q.src=H.audioUrl)}q.play().then(()=>c(!0)).catch(()=>c(!1))}},[a,n]),x=T.useCallback(()=>{const R=t.current;R&&(R.pause(),c(!1))},[]),v=T.useCallback(()=>{o?x():m()},[o,x,m]),E=T.useCallback(()=>{n.length!==0&&s(R=>(R+1)%n.length)},[n.length]),_=T.useCallback(()=>{n.length!==0&&s(R=>(R-1+n.length)%n.length)},[n.length]),k=T.useCallback(R=>{const q=t.current;!q||!q.duration||(q.currentTime=q.duration*R,f(R))},[]),S=T.useCallback(R=>{r(R),R.length===0&&s(0)},[]),O=T.useMemo(()=>({tracks:n,current:n[a]??null,currentIndex:a,isPlaying:o,progress:u,setTracks:S,play:m,pause:x,toggle:v,next:E,prev:_,seek:k}),[n,a,o,u,S,m,x,v,E,_,k]);return h.jsx(GR.Provider,{"data-loc":"client/src/contexts/MusicContext.tsx:145",value:O,children:e})}function zoe(){const e=T.useContext(GR);if(!e)throw new Error("useMusic must be used inside MusicProvider");return e}function Je({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:At("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Z2({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:20","data-slot":"card-header",className:At("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function J2({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:33","data-slot":"card-title",className:At("leading-none font-semibold",e),...t})}function ev({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:43","data-slot":"card-description",className:At("text-muted-foreground text-sm",e),...t})}function qc({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:At("px-6",e),...t})}function Hoe({className:e,...t}){return h.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:76","data-slot":"card-footer",className:At("flex items-center px-6 [.border-t]:pt-6",e),...t})}function j_(){const[,e]=Dp(),t=()=>{e("/")};return h.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:h.jsx(Je,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:h.jsxs(qc,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[h.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:h.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[h.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),h.jsx(RB,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),h.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),h.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),h.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",h.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),h.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:h.jsxs(Ae,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:t,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[h.jsx(PB,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Uoe extends T.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?h.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:h.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[h.jsx(YB,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),h.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),h.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:h.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),h.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:At("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[h.jsx(qB,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const Foe=T.createContext(void 0);function qoe({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=T.useState(()=>n&&localStorage.getItem("theme")||t);T.useEffect(()=>{const o=document.documentElement;
969r==="dark"?o.classList.add("dark"):o.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const s=n?()=>{a(o=>o==="light"?"dark":"light")}:void 0;return h.jsx(Foe.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:s,switchable:n},children:e})}const zp=()=>{const e="https://manus.im",t="6V8RdEoKH38jTBRcbHwiVL",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",n),a.searchParams.set("state",r),a.searchParams.set("type","signIn"),a.toString()};function b4(e){const{redirectOnUnauthenticated:t=!1,redirectPath:n=zp()}={},r=De.useUtils(),a=De.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),s=De.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),o=T.useCallback(async()=>{try{await s.mutateAsync()}catch(u){if(u instanceof Dc&&u.data?.code==="UNAUTHORIZED")return;throw u}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[s,r]),c=T.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(a.data)),{user:a.data??null,loading:a.isLoading||s.isPending,error:a.error??s.error??null,isAuthenticated:!!a.data}),[a.data,a.error,a.isLoading,s.error,s.isPending]);return T.useEffect(()=>{t&&(a.isLoading||s.isPending||c.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[t,n,s.isPending,a.isLoading,c.user]),{...c,refresh:()=>a.refetch(),logout:o}}function B_(e,[t,n]){return Math.min(n,Math.max(t,e))}function v4(e){const t=e+"CollectionProvider",[n,r]=qa(t),[a,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=_=>{const{scope:k,children:S}=_,O=Le.useRef(null),R=Le.useRef(new Map).current;return h.jsx(a,{scope:k,itemMap:R,collectionRef:O,children:S})};o.displayName=t;const c=e+"CollectionSlot",u=Jo(c),f=Le.forwardRef((_,k)=>{const{scope:S,children:O}=_,R=s(c,S),q=Dt(k,R.collectionRef);return h.jsx(u,{ref:q,children:O})});f.displayName=c;const p=e+"CollectionItemSlot",m="data-radix-collection-item",x=Jo(p),v=Le.forwardRef((_,k)=>{const{scope:S,children:O,...R}=_,q=Le.useRef(null),H=Dt(k,q),L=s(p,S);return Le.useEffect(()=>(L.itemMap.set(q,{ref:q,...R}),()=>void L.itemMap.delete(q))),h.jsx(x,{[m]:"",ref:H,children:O})});v.displayName=p;function E(_){const k=s(e+"CollectionConsumer",_);return Le.useCallback(()=>{const O=k.collectionRef.current;if(!O)return[];const R=Array.from(O.querySelectorAll(`[${m}]`));return Array.from(k.itemMap.values()).sort((L,M)=>R.indexOf(L.ref.current)-R.indexOf(M.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:o,Slot:f,ItemSlot:v},E,r]}var $oe=T.createContext(void 0);function Hp(e){const t=T.useContext($oe);return e||t||"ltr"}var Voe=[" ","Enter","ArrowUp","ArrowDown"],Goe=[" ","Enter"],ol="Select",[Up,Fp,Yoe]=v4(ol),[lu]=qa(ol,[Yoe,ou]),qp=ou(),[Qoe,po]=lu(ol),[Woe,Koe]=lu(ol),YR=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:a,onOpenChange:s,value:o,defaultValue:c,onValueChange:u,dir:f,name:p,autoComplete:m,disabled:x,required:v,form:E}=e,_=qp(t),[k,S]=T.useState(null),[O,R]=T.useState(null),[q,H]=T.useState(!1),L=Hp(f),[M,B]=ro({prop:r,defaultProp:a??!1,onChange:s,caller:ol}),[Z,Y]=ro({prop:o,defaultProp:c,onChange:u,caller:ol}),ae=T.useRef(null),ne=k?E||!!k.closest("form"):!0,[he,ie]=T.useState(new Set),pe=Array.from(he).map($=>$.props.value).join(";");return h.jsx(jR,{..._,children:h.jsxs(Qoe,{required:v,scope:t,trigger:k,onTriggerChange:S,valueNode:O,onValueNodeChange:R,valueNodeHasChildren:q,onValueNodeHasChildrenChange:H,contentId:gs(),value:Z,onValueChange:Y,open:M,onOpenChange:B,dir:L,triggerPointerDownPosRef:ae,disabled:x,children:[h.jsx(Up.Provider,{scope:t,children:h.jsx(Woe,{scope:e.__scopeSelect,onNativeOptionAdd:T.useCallback($=>{ie(re=>new Set(re).add($))},[]),onNativeOptionRemove:T.useCallback($=>{ie(re=>{const J=new Set(re);return J.delete($),J})},[]),children:n})}),ne?h.jsxs(pO,{"aria-hidden":!0,required:v,tabIndex:-1,name:p,autoComplete:m,value:Z,onChange:$=>Y($.target.value),disabled:x,form:E,children:[Z===void 0?h.jsx("option",{value:""}):null,Array.from(he)]},pe):null]})})};YR.displayName=ol;var QR="SelectTrigger",WR=T.forwardRef((e,t)=>
vendor: 14,809 bytes, line 969
969{const{__scopeSelect:n,disabled:r=!1,...a}=e,s=qp(n),o=po(QR,n),c=o.disabled||r,u=Dt(t,o.onTriggerChange),f=Fp(n),p=T.useRef("touch"),[m,x,v]=xO(_=>{const k=f().filter(R=>!R.disabled),S=k.find(R=>R.value===o.value),O=bO(k,_,S);O!==void 0&&o.onValueChange(O.value)}),E=_=>{c||(o.onOpenChange(!0),v()),_&&(o.triggerPointerDownPosRef.current={x:Math.round(_.pageX),y:Math.round(_.pageY)})};return h.jsx(m4,{asChild:!0,...s,children:h.jsx(ot.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":gO(o.value)?"":void 0,...a,ref:u,onClick:qe(a.onClick,_=>{_.currentTarget.focus(),p.current!=="mouse"&&E(_)}),onPointerDown:qe(a.onPointerDown,_=>{p.current=_.pointerType;const k=_.target;k.hasPointerCapture(_.pointerId)&&k.releasePointerCapture(_.pointerId),_.button===0&&_.ctrlKey===!1&&_.pointerType==="mouse"&&(E(_),_.preventDefault())}),onKeyDown:qe(a.onKeyDown,_=>{const k=m.current!=="";!(_.ctrlKey||_.altKey||_.metaKey)&&_.key.length===1&&x(_.key),!(k&&_.key===" ")&&Voe.includes(_.key)&&(E(),_.preventDefault())})})})});WR.displayName=QR;var KR="SelectValue",XR=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:a,children:s,placeholder:o="",...c}=e,u=po(KR,n),{onValueNodeHasChildrenChange:f}=u,p=s!==void 0,m=Dt(t,u.onValueNodeChange);return fr(()=>{f(p)},[f,p]),h.jsx(ot.span,{...c,ref:m,style:{pointerEvents:"none"},children:gO(u.value)?h.jsx(h.Fragment,{children:o}):s})});XR.displayName=KR;var Xoe="SelectIcon",ZR=T.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...a}=e;return h.jsx(ot.span,{"aria-hidden":!0,...a,ref:t,children:r||"â¼"})});ZR.displayName=Xoe;var Zoe="SelectPortal",JR=e=>h.jsx(Zm,{asChild:!0,...e});JR.displayName=Zoe;var ll="SelectContent",eO=T.forwardRef((e,t)=>{const n=po(ll,e.__scopeSelect),[r,a]=T.useState();if(fr(()=>{a(new DocumentFragment)},[]),!n.open){const s=r;return s?i0.createPortal(h.jsx(tO,{scope:e.__scopeSelect,children:h.jsx(Up.Slot,{scope:e.__scopeSelect,children:h.jsx("div",{children:e.children})})}),s):null}return h.jsx(nO,{...e,ref:t})});eO.displayName=ll;var Pa=10,[tO,go]=lu(ll),Joe="SelectContentImpl",ele=Jo("SelectContent.RemoveScroll"),nO=T.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:s,onPointerDownOutside:o,side:c,sideOffset:u,align:f,alignOffset:p,arrowPadding:m,collisionBoundary:x,collisionPadding:v,sticky:E,hideWhenDetached:_,avoidCollisions:k,...S}=e,O=po(ll,n),[R,q]=T.useState(null),[H,L]=T.useState(null),M=Dt(t,be=>q(be)),[B,Z]=T.useState(null),[Y,ae]=T.useState(null),ne=Fp(n),[he,ie]=T.useState(!1),pe=T.useRef(!1);T.useEffect(()=>{if(R)return kv(R)},[R]),Cv();const $=T.useCallback(be=>{const[Pe,...Ye]=ne().map(xt=>xt.ref.current),[Xe]=Ye.slice(-1),it=document.activeElement;for(const xt of be)if(xt===it||(xt?.scrollIntoView({block:"nearest"}),xt===Pe&&H&&(H.scrollTop=0),xt===Xe&&H&&(H.scrollTop=H.scrollHeight),xt?.focus(),document.activeElement!==it))return},[ne,H]),re=T.useCallback(()=>$([B,R]),[$,B,R]);T.useEffect(()=>{he&&re()},[he,re]);const{onOpenChange:J,triggerPointerDownPosRef:ge}=O;T.useEffect(()=>{if(R){let be={x:0,y:0};const Pe=Xe=>{be={x:Math.abs(Math.round(Xe.pageX)-(ge.current?.x??0)),y:Math.abs(Math.round(Xe.pageY)-(ge.current?.y??0))}},Ye=Xe=>{be.x<=10&&be.y<=10?Xe.preventDefault():R.contains(Xe.target)||J(!1),document.removeEventListener("pointermove",Pe),ge.current=null};return ge.current!==null&&(document.addEventListener("pointermove",Pe),document.addEventListener("pointerup",Ye,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Pe),document.removeEventListener("pointerup",Ye,{capture:!0})}}},[R,J,ge]),T.useEffect(()=>{const be=()=>J(!1);return window.addEventListener("blur",be),window.addEventListener("resize",be),()=>{window.removeEventListener("blur",be),window.removeEventListener("resize",be)}},[J]);const[U,G]=xO(be=>{const Pe=ne().filter(it=>!it.disabled),Ye=Pe.find(it=>it.ref.current===document.activeElement),Xe=bO(Pe,be,Ye);Xe&&setTimeout(()=>Xe.ref.current.focus())}),oe=T.useCallback((be,Pe,Ye)=>{const Xe=!pe.current&&!Ye;(O.value!==void 0&&O.value===Pe||Xe)&&(Z(be),Xe&&(pe.current=!0))},[O.value]),D=T.useCallback(()=>R?.focus(),[R]),ce=T.useCallback((be,Pe,Ye)=>{const Xe=!pe.current&&!Ye;(O.value!==void 0&&O.value===Pe||Xe)&&ae(be)},[O.value]),we=r==="popper"?tv:rO,Se=we===tv?{side:c,sideOffset:u,align:f,alignOffset:p,arrowPadding:m,collisionBoundary:x,collisionPadding:v,sticky:E,hideWhenDetached:_,avoidCollisions:k}:{};return h.jsx(tO,{scope:n,content:R,viewport:H,onViewportChange:L,itemRefCallback:oe,selectedItem:B,onItemLeave:D,itemTextRefCallback:ce,focusSelectedItem:re,selectedItemText:Y,position:r,isPositioned:he,searchRef:U,children:h.jsx(ep,{as:ele,allowPinchZoom:!0,children:h.jsx(Xm,{asChild:!0,trapped:O.open,onMountAutoFocus:be=>{be.preventDefault()},onUnmountAutoFocus:qe(a,be=>{O.trigger?.focus({preventScroll:!0}),be.preventDefault()}),children:h.jsx(l0,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:be=>be.preventDefault(),onDismiss:()=>O.onOpenChange(!1),children:h.jsx(we,{role:"listbox",id:O.contentId,"data-state":O.open?"open":"closed",dir:O.dir,onContextMenu:be=>be.preventDefault(),...S,...Se,onPlaced:()=>ie(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...S.style},onKeyDown:qe(S.onKeyDown,be=>{const Pe=be.ctrlKey||be.altKey||be.metaKey;if(be.key==="Tab"&&be.preventDefault(),!Pe&&be.key.length===1&&G(be.key),["ArrowUp","ArrowDown","Home","End"].includes(be.key)){let Xe=ne().filter(it=>!it.disabled).map(it=>it.ref.current);if(["ArrowUp","End"].includes(be.key)&&(Xe=Xe.slice().reverse()),["ArrowUp","ArrowDown"].includes(be.key)){const it=be.target,xt=Xe.indexOf(it);Xe=Xe.slice(xt+1)}setTimeout(()=>$(Xe)),be.preventDefault()}})})})})})})});nO.displayName=Joe;var tle="SelectItemAlignedPosition",rO=T.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...a}=e,s=po(ll,n),o=go(ll,n),[c,u]=T.useState(null),[f,p]=T.useState(null),m=Dt(t,M=>p(M)),x=Fp(n),v=T.useRef(!1),E=T.useRef(!0),{viewport:_,selectedItem:k,selectedItemText:S,focusSelectedItem:O}=o,R=T.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&f&&_&&k&&S){const M=s.trigger.getBoundingClientRect(),B=f.getBoundingClientRect(),Z=s.valueNode.getBoundingClientRect(),Y=S.getBoundingClientRect();if(s.dir!=="rtl"){const it=Y.left-B.left,xt=Z.left-it,pn=M.left-xt,Jt=M.width+pn,pr=Math.max(Jt,B.width),rr=window.innerWidth-Pa,zn=B_(xt,[Pa,Math.max(Pa,rr-pr)]);c.style.minWidth=Jt+"px",c.style.left=zn+"px"}else{const it=B.right-Y.right,xt=window.innerWidth-Z.right-it,pn=window.innerWidth-M.right-xt,Jt=M.width+pn,pr=Math.max(Jt,B.width),rr=window.innerWidth-Pa,zn=B_(xt,[Pa,Math.max(Pa,rr-pr)]);c.style.minWidth=Jt+"px",c.style.right=zn+"px"}const ae=x(),ne=window.innerHeight-Pa*2,he=_.scrollHeight,ie=window.getComputedStyle(f),pe=parseInt(ie.borderTopWidth,10),$=parseInt(ie.paddingTop,10),re=parseInt(ie.borderBottomWidth,10),J=parseInt(ie.paddingBottom,10),ge=pe+$+he+J+re,U=Math.min(k.offsetHeight*5,ge),G=window.getComputedStyle(_),oe=parseInt(G.paddingTop,10),D=parseInt(G.paddingBottom,10),ce=M.top+M.height/2-Pa,we=ne-ce,Se=k.offsetHeight/2,be=k.offsetTop+Se,Pe=pe+$+be,Ye=ge-Pe;if(Pe<=ce){const it=ae.length>0&&k===ae[ae.length-1].ref.current;c.style.bottom="0px";const xt=f.clientHeight-_.offsetTop-_.offsetHeight,pn=Math.max(we,Se+(it?D:0)+xt+re),Jt=Pe+pn;c.style.height=Jt+"px"}else{const it=ae.length>0&&k===ae[0].ref.current;c.style.top="0px";const pn=Math.max(ce,pe+_.offsetTop+(it?oe:0)+Se)+Ye;c.style.height=pn+"px",_.scrollTop=Pe-ce+_.offsetTop}c.style.margin=`${Pa}px 0`,c.style.minHeight=U+"px",c.style.maxHeight=ne+"px",r?.(),requestAnimationFrame(()=>v.current=!0)}},[x,s.trigger,s.valueNode,c,f,_,k,S,s.dir,r]);fr(()=>R(),[R]);const[q,H]=T.useState();fr(()=>{f&&H(window.getComputedStyle(f).zIndex)},[f]);const L=T.useCallback(M=>{M&&E.current===!0&&(R(),O?.(),E.current=!1)},[R,O]);return h.jsx(rle,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:v,onScrollButtonChange:L,children:h.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:q},children:h.jsx(ot.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});rO.displayName=tle;var nle="SelectPopperPosition",tv=T.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:a=Pa,...s}=e,o=qp(n);return h.jsx(p4,{...o,...s,ref:t,align:r,collisionPadding:a,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tv.displayName=nle;var[rle,y4]=lu(ll,{}),nv="SelectViewport",aO=T.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...a}=e,s=go(nv,n),o=y4(nv,n),c=Dt(t,s.onViewportChange),u=T.useRef(0);return h.jsxs(h.Fragment,{children:[h.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),h.jsx(Up.Slot,{scope:n,children:h.jsx(ot.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:qe(a.onScroll,f=>{const p=f.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:x}=o;if(x?.current&&m){const v=Math.abs(u.current-p.scrollTop);if(v>0){const E=window.innerHeight-Pa*2,_=parseFloat(m.style.minHeight),k=parseFloat(m.style.height),S=Math.max(_,k);if(S<E){const O=S+v,R=Math.min(E,O),q=O-R;m.style.height=R+"px",m.style.bottom==="0px"&&(p.scrollTop=q>0?q:0,m.style.justifyContent="flex-end")}}}u.current=p.scrollTop})})})]})});aO.displayName=nv;var sO="SelectGroup",[ale,sle]=lu(sO),ile=T.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=gs();return h.jsx(ale,{scope:n,id:a,children:h.jsx(ot.div,{role:"group","aria-labelledby":a,...r,ref:t})})});ile.displayName=sO;var iO="SelectLabel",ole=T.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=sle(iO,n);return h.jsx(ot.div,{id:a.id,...r,ref:t})});ole.displayName=iO;var Dm="SelectItem",[lle,oO]=lu(Dm),lO=T.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:a=!1,textValue:s,...o}=e,c=po(Dm,n),u=go(Dm,n),f=c.value===r,[p,m]=T.useState(s??""),[x,v]=T.useState(!1),E=Dt(t,O=>u.itemRefCallback?.(O,r,a)),_=gs(),k=T.useRef("touch"),S=()=>{a||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return h.jsx(lle,{scope:n,value:r,disabled:a,textId:_,isSelected:f,onItemTextChange:T.useCallback(O=>{m(R=>R||(O?.textContent??"").trim())},[]),children:h.jsx(Up.ItemSlot,{scope:n,value:r,disabled:a,textValue:p,children:h.jsx(ot.div,{role:"option","aria-labelledby":_,"data-highlighted":x?"":void 0,"aria-selected":f&&x,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:E,onFocus:qe(o.onFocus,()=>v(!0)),onBlur:qe(o.onBlur,()=>v(!1)),onClick:qe(o.onClick,()=>{k.current!=="mouse"&&S()}),onPointerUp:qe(o.onPointerUp,()=>{k.current==="mouse"&&S()}),onPointerDown:qe(o.onPointerDown,O=>{k.current=O.pointerType}),onPointerMove:qe(o.onPointerMove,O=>{k.current=O.pointerType,a?u.onItemLeave?.():k.current==="mouse"&&O.currentTarget.focus({preventScroll:!0})}),onPointerLeave:qe(o.onPointerLeave,O=>{O.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:qe(o.onKeyDown,O=>{u.searchRef?.current!==""&&O.key===" "||(Goe.includes(O.key)&&S(),O.key===" "&&O.preventDefault())})})})})});lO.displayName=Dm;var bd="SelectItemText",cO=T.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:a,...s}=e,o=po(bd,n),c=go(bd,n),u=oO(bd,n),f=Koe(bd,n),[p,m]=T.useState(null),x=Dt(t,S=>m(S),u.onItemTextChange,S=>c.itemTextRefCallback?.(S,u.value,u.disabled)),v=p?.textContent,E=T.useMemo(()=>h.jsx("option",{value:u.value,disabled:u.disabled,children:v},u.value),[u.disabled,u.value,v]),{onNativeOptionAdd:_,onNativeOptionRemove:k}=f;return fr(()=>(_(E),()=>k(E)),[_,k,E]),h.jsxs(h.Fragment,{children:[h.jsx(ot.span,{id:u.textId,...s,ref:x}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?i0.createPortal(s.children,o.valueNode):null]})});cO.displayName=bd;var uO="SelectItemIndicator",dO=T.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return oO(uO,n).isSelected?h.jsx(ot.span,{"aria-hidden":!0,...r,ref:t}):null});dO.displayName=uO;var rv="SelectScrollUpButton",fO=T.forwardRef((e,t)=>{const n=go(rv,e.__scopeSelect),r=y4(rv,e.__scopeSelect),[a,s]=T.useState(!1),o=Dt(t,r.onScrollButtonChange);return fr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const f=u.scrollTop>0;s(f)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?h.jsx(mO,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});fO.displayName=rv;var av="SelectScrollDownButton",hO=T.forwardRef((e,t)=>{const n=go(av,e.__scopeSelect),r=y4(av,e.__scopeSelect),[a,s]=T.useState(!1),o=Dt(t,r.onScrollButtonChange);return fr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const f=u.scrollHeight-u.clientHeight,p=Math.ceil(u.scrollTop)<f;s(p)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?h.jsx(mO,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});hO.displayName=av;var mO=T.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...a}=e,s=go("SelectScrollButton",n),o=T.useRef(null),c=Fp(n),u=T.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return T.useEffect(()=>()=>u(),[u]),fr(()=>{c().find(p=>p.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),h.jsx(ot.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:qe(a.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:qe(a.onPointerMove,()=>{s.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:qe(a.onPointerLeave,()=>{u()})})}),cle="SelectSeparator",ule=T.forwardRef((e,t)=>
vendor: 6,049 bytes, line 969
969{const{__scopeSelect:n,...r}=e;return h.jsx(ot.div,{"aria-hidden":!0,...r,ref:t})});ule.displayName=cle;var sv="SelectArrow",dle=T.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=qp(n),s=po(sv,n),o=go(sv,n);return s.open&&o.position==="popper"?h.jsx(g4,{...a,...r,ref:t}):null});dle.displayName=sv;var fle="SelectBubbleInput",pO=T.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const a=T.useRef(null),s=Dt(r,a),o=bv(t);return T.useEffect(()=>{const c=a.current;if(!c)return;const u=window.HTMLSelectElement.prototype,p=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==t&&p){const m=new Event("change",{bubbles:!0});p.call(c,t),c.dispatchEvent(m)}},[o,t]),h.jsx(ot.select,{...n,style:{...BR,...n.style},ref:s,defaultValue:t})});pO.displayName=fle;function gO(e){return e===""||e===void 0}function xO(e){const t=ys(e),n=T.useRef(""),r=T.useRef(0),a=T.useCallback(o=>{const c=n.current+o;t(c),(function u(f){n.current=f,window.clearTimeout(r.current),f!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[t]),s=T.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return T.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,s]}function bO(e,t,n){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=hle(e,Math.max(s,0));a.length===1&&(o=o.filter(f=>f!==n));const u=o.find(f=>f.textValue.toLowerCase().startsWith(a.toLowerCase()));return u!==n?u:void 0}function hle(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var mle=YR,ple=WR,gle=XR,xle=ZR,ble=JR,vle=eO,yle=aO,Ele=lO,wle=cO,_le=dO,Tle=fO,Ale=hO;function E4({...e}){return h.jsx(mle,{"data-loc":"client/src/components/ui/select.tsx:10","data-slot":"select",...e})}function w4({...e}){return h.jsx(gle,{"data-loc":"client/src/components/ui/select.tsx:22","data-slot":"select-value",...e})}function _4({className:e,size:t="default",children:n,...r}){return h.jsxs(ple,{"data-loc":"client/src/components/ui/select.tsx:34","data-slot":"select-trigger","data-size":t,className:At("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[n,h.jsx(xle,{"data-loc":"client/src/components/ui/select.tsx:44",asChild:!0,children:h.jsx(wA,{"data-loc":"client/src/components/ui/select.tsx:45",className:"size-4 opacity-50"})})]})}function T4({className:e,children:t,position:n="popper",align:r="center",...a}){return h.jsx(ble,{"data-loc":"client/src/components/ui/select.tsx:59",children:h.jsxs(vle,{"data-loc":"client/src/components/ui/select.tsx:60","data-slot":"select-content",className:At("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,align:r,...a,children:[h.jsx(Sle,{"data-loc":"client/src/components/ui/select.tsx:72"}),h.jsx(yle,{"data-loc":"client/src/components/ui/select.tsx:73",className:At("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),h.jsx(Cle,{"data-loc":"client/src/components/ui/select.tsx:82"})]})})}function Er({className:e,children:t,...n}){return h.jsxs(Ele,{"data-loc":"client/src/components/ui/select.tsx:107","data-slot":"select-item",className:At("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[h.jsx("span",{"data-loc":"client/src/components/ui/select.tsx:115",className:"absolute right-2 flex size-3.5 items-center justify-center",children:h.jsx(_le,{"data-loc":"client/src/components/ui/select.tsx:116",children:h.jsx(Tc,{"data-loc":"client/src/components/ui/select.tsx:117",className:"size-4"})})}),h.jsx(wle,{"data-loc":"client/src/components/ui/select.tsx:120",children:t})]})}function Sle({className:e,...t}){return h.jsx(Tle,{"data-loc":"client/src/components/ui/select.tsx:143","data-slot":"select-scroll-up-button",className:At("flex cursor-default items-center justify-center py-1",e),...t,children:h.jsx(NB,{"data-loc":"client/src/components/ui/select.tsx:151",className:"size-4"})})}function Cle({className:e,...t}){return h.jsx(Ale,{"data-loc":"client/src/components/ui/select.tsx:161","data-slot":"select-scroll-down-button",className:At("flex cursor-default items-center justify-center py-1",e),...t,children:h.jsx(wA,{"data-loc":"client/src/components/ui/select.tsx:169",className:"size-4"})})}var $p="Switch",[kle]=qa($p),[Nle,Rle]=kle($p),vO=T.forwardRef((e,t)=>
969{const{__scopeSwitch:n,name:r,checked:a,defaultChecked:s,required:o,disabled:c,value:u="on",onCheckedChange:f,form:p,...m}=e,[x,v]=T.useState(null),E=Dt(t,R=>v(R)),_=T.useRef(!1),k=x?p||!!x.closest("form"):!0,[S,O]=ro({prop:a,defaultProp:s??!1,onChange:f,caller:$p});return h.jsxs(Nle,{scope:n,checked:S,disabled:c,children:[h.jsx(ot.button,{type:"button",role:"switch","aria-checked":S,"aria-required":o,"data-state":_O(S),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:E,onClick:qe(e.onClick,R=>{O(q=>!q),k&&(_.current=R.isPropagationStopped(),_.current||R.stopPropagation())})}),k&&h.jsx(wO,{control:x,bubbles:!_.current,name:r,value:u,checked:S,required:o,disabled:c,form:p,style:{transform:"translateX(-100%)"}})]})});vO.displayName=$p;var yO="SwitchThumb",EO=T.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,a=Rle(yO,n);return h.jsx(ot.span,{"data-state":_O(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:t})});EO.displayName=yO;var Ole="SwitchBubbleInput",wO=T.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...a},s)=>{const o=T.useRef(null),c=Dt(o,s),u=bv(n),f=vv(t);return T.useEffect(()=>{const p=o.current;if(!p)return;const m=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&v){const E=new Event("click",{bubbles:r});v.call(p,n),p.dispatchEvent(E)}},[u,n,r]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:c,style:{...a.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});wO.displayName=Ole;function _O(e){return e?"checked":"unchecked"}var Dle=vO,Ile=EO;function A0({className:e,...t}){return h.jsx(Dle,{"data-loc":"client/src/components/ui/switch.tsx:11","data-slot":"switch",className:At("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:h.jsx(Ile,{"data-loc":"client/src/components/ui/switch.tsx:19","data-slot":"switch-thumb",className:At("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}const z_=[{id:"products",label:"Servicios",icon:Pc},{id:"articles",label:"Consejos",icon:EA},{id:"photos",label:"GalerÃa",icon:kB},{id:"tracks",label:"Música",icon:el},{id:"reels",label:"Redes sociales",icon:KB},{id:"orders",label:"Pedidos",icon:UB},{id:"blog",label:"Blog SEO",icon:_v},{id:"calendario",label:"Calendario Redes",icon:Qm},{id:"posicionamiento",label:"Posicionamiento SEO",icon:wv},{id:"marketing",label:"Centro de Marketing",icon:Av},{id:"guardian",label:"Guardián Digital",icon:Km},{id:"rules",label:"Reglas y términos",icon:TA},{id:"equipo",label:"Equipo (colaboradores)",icon:AA},{id:"settings",label:"Configuración",icon:VB}];function H_(){const{user:e,loading:t}=b4(),n=a4(),[,r]=Dp(),a=n.section||"products",s=["products","articles","photos","tracks","orders","marketing","rules","settings","reels","guardian","blog","calendario","posicionamiento","equipo"],o=s.includes(a)?a:"products";return T.useEffect(()=>{n.section&&!s.includes(n.section)&&r("/admin/products",{replace:!0})},[n.section]),t?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:51",className:"min-h-screen flex items-center justify-center",children:h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:52",className:"w-6 h-6 animate-spin text-gold"})}):e?e.role!=="admin"?h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:70",className:"min-h-screen flex flex-col items-center justify-center gap-4 p-6 text-center",children:[h.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:71",className:"font-display text-3xl text-[var(--mystic-deep)]",children:"Acceso restringido"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:72",className:"text-muted-foreground max-w-md",children:"Solo Kharen tiene acceso al panel administrativo. Si tú eres Kharen, asegúrate de iniciar sesión con tu cuenta de propietaria."}),h.jsx(Sa,{"data-loc":"client/src/pages/Admin.tsx:75",href:"/",children:h.jsx("a",{"data-loc":"client/src/pages/Admin.tsx:75",children:h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:75",variant:"outline",children:"Volver al inicio"})})})]}):h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:81",className:"min-h-screen flex",children:[h.jsxs("aside",{"data-loc":"client/src/pages/Admin.tsx:82",className:"w-64 hidden md:flex flex-col border-r border-[var(--gold)]/30 bg-card/60 backdrop-blur p-4 gap-1",children:[h.jsx(Sa,{"data-loc":"client/src/pages/Admin.tsx:83",href:"/",children:h.jsxs("a",{"data-loc":"client/src/pages/Admin.tsx:84",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground mb-3",children:[h.jsx(Ym,{"data-loc":"client/src/pages/Admin.tsx:85",className:"w-4 h-4"})," Volver al sitio"]})}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:88",className:"font-display text-xl text-[var(--mystic-deep)] mb-3",children:"Panel Esotérica Isis"}),z_.map(c=>h.jsxs("button",{"data-loc":"client/src/pages/Admin.tsx:90",onClick:()=>r(`/admin/${c.id}`),className:`flex items-center gap-2 px-3 py-2 rounded-lg text-sm transition-colors text-left ${o===c.id?"gradient-mystic text-white":"text-foreground hover:bg-[var(--gold)]/15"}`,children:[h.jsx(c.icon,{"data-loc":"client/src/pages/Admin.tsx:97",className:"w-4 h-4"}),c.label]},c.id))]}),h.jsxs("main",{"data-loc":"client/src/pages/Admin.tsx:102",className:"flex-1 p-6 md:p-10 overflow-x-hidden",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:103",className:"md:hidden mb-4 flex flex-wrap gap-2",children:z_.map(c=>h.jsx("button",{"data-loc":"client/src/pages/Admin.tsx:105",onClick:()=>r(`/admin/${c.id}`),className:`px-3 py-1.5 text-xs rounded-full ${o===c.id?"gradient-mystic text-white":"bg-card border border-[var(--gold)]/30"}`,children:c.label},c.id))}),o==="products"&&h.jsx(Mle,{"data-loc":"client/src/pages/Admin.tsx:116"}),o==="articles"&&h.jsx(Ple,{"data-loc":"client/src/pages/Admin.tsx:117"}),o==="photos"&&h.jsx(Lle,{"data-loc":"client/src/pages/Admin.tsx:118"}),o==="tracks"&&h.jsx(jle,{"data-loc":"client/src/pages/Admin.tsx:119"}),o==="reels"&&h.jsx(Gle,{"data-loc":"client/src/pages/Admin.tsx:120"}),o==="orders"&&h.jsx(Ble,{"data-loc":"client/src/pages/Admin.tsx:121"}),o==="marketing"&&h.jsx(Vle,{"data-loc":"client/src/pages/Admin.tsx:122"}),o==="guardian"&&h.jsx(Yle,{"data-loc":"client/src/pages/Admin.tsx:123"}),o==="rules"&&h.jsx(zle,{"data-loc":"client/src/pages/Admin.tsx:124"}),o==="settings"&&h.jsx(Hle,{"data-loc":"client/src/pages/Admin.tsx:125"}),o==="blog"&&h.jsx(Qle,{"data-loc":"client/src/pages/Admin.tsx:126"}
969),o==="calendario"&&h.jsx(Wle,{"data-loc":"client/src/pages/Admin.tsx:127"}),o==="posicionamiento"&&h.jsx(Kle,{"data-loc":"client/src/pages/Admin.tsx:128"}),o==="equipo"&&h.jsx(Xle,{"data-loc":"client/src/pages/Admin.tsx:129"})]})]}):h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:59",className:"min-h-screen flex flex-col items-center justify-center gap-4 p-6 text-center",children:[h.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:60",className:"font-display text-3xl text-[var(--mystic-deep)]",children:"Inicia sesión para administrar Esotérica Isis"}),h.jsx("a",{"data-loc":"client/src/pages/Admin.tsx:61",href:zp(),children:h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:62",className:"gradient-mystic text-white",children:"Ingresar"})})]})}function TO(){const e=De.uploads.putBase64.useMutation();return async t=>{const n=await t.arrayBuffer(),r=btoa(new Uint8Array(n).reduce((s,o)=>s+String.fromCharCode(o),""));return(await e.mutateAsync({filename:t.name,mimeType:t.type||"application/octet-stream",dataBase64:r})).url}}function co({accept:e,onUploaded:t,label:n}){const r=TO(),[a,s]=T.useState(!1);return h.jsxs("label",{"data-loc":"client/src/pages/Admin.tsx:156",className:"inline-flex",children:[h.jsx("input",{"data-loc":"client/src/pages/Admin.tsx:157",type:"file",accept:e,className:"hidden",onChange:async o=>{const c=o.target.files?.[0];if(c){s(!0);try{const u=await r(c);t(u),Ue.success("Archivo subido")}catch(u){Ue.error("Error al subir: "+u.message)}finally{s(!1),o.target.value=""}}}}),h.jsxs("span",{"data-loc":"client/src/pages/Admin.tsx:177",className:"inline-flex items-center gap-2 px-3 py-2 text-sm rounded-md border border-[var(--gold)]/40 hover:bg-[var(--gold)]/10 cursor-pointer",children:[a?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:178",className:"w-4 h-4 animate-spin"}):h.jsx(QB,{"data-loc":"client/src/pages/Admin.tsx:178",className:"w-4 h-4"})," ",n]})]})}function Ns({title:e,onCreate:t}){return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:186",className:"flex items-center justify-between mb-6",children:[h.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:187",className:"font-display text-3xl text-[var(--mystic-deep)]",children:e}),t&&h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:189",onClick:t,className:"gradient-mystic text-white",children:[h.jsx(Tv,{"data-loc":"client/src/pages/Admin.tsx:190",className:"w-4 h-4 mr-1"})," Nuevo"]})]})}function Mle(){const e=De.useUtils(),{data:t}=De.products.listAdmin.useQuery(),n=De.products.create.useMutation({onSuccess:()=>e.products.invalidate()}),r=De.products.update.useMutation({onSuccess:()=>e.products.invalidate()}),a=De.products.delete.useMutation({onSuccess:()=>e.products.invalidate()}),s=T.useMemo(()=>({category:"curso",name:"",shortDescription:"",description:"",priceCents:0,currency:"USD",durationMinutes:60,imageUrl:"",badge:"",visible:!0,sortOrder:0}),[]),[o,c]=T.useState(null),u=o&&!o.id;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:223",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:224",title:"Servicios (cursos, terapias, lecturas, rituales)",onCreate:()=>c(s)}),o&&h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:227",className:"p-5 mb-6 border-[var(--gold)]/40",children:[h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:228",className:"font-display text-xl mb-4",children:u?"Nuevo servicio":`Editar #${o.id}`}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:229",className:"grid md:grid-cols-2 gap-4",children:[h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:230",label:"Nombre",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:231",value:o.name,onChange:f=>c({...o,name:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:233",label:"CategorÃa",children:h.jsxs(E4,{"data-loc":"client/src/pages/Admin.tsx:234",value:o.category,onValueChange:f=>c({...o,category:f}),children:[h.jsx(_4,{"data-loc":"client/src/pages/Admin.tsx:235",children:h.jsx(w4,{"data-loc":"client/src/pages/Admin.tsx:235"})}),h.jsxs(T4,{"data-loc":"client/src/pages/Admin.tsx:236",children:[h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:237",value:"curso",children:"Curso"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:238",value:"terapia",children:"Terapia"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:239",value:"tarot",children:"Lectura de Tarot"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:240",value:"caracolas",children:"Lectura de Caracolas"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:241",value:"ritual",children:"Ritual"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:242",value:"otro",children:"Otro"})]})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:246",label:"Precio (en céntimos / centavos)",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:247",type:"number",value:o.priceCents,onChange:f=>c({...o,priceCents:parseInt(f.target.value)||0})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:249",label:"Moneda",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:250",value:o.currency,onChange:f=>c({...o,currency:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:252",label:"Duración (min)",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:253",type:"number",value:o.durationMinutes??"",onChange:f=>c({...o,durationMinutes:f.target.value?parseInt(f.target.value):null})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:255",label:"Etiqueta de
969stacada (opcional)",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:256",value:o.badge??"",onChange:f=>c({...o,badge:f.target.value}),placeholder:"Más popular"})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:258",label:"Descripción corta",full:!0,children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:259",value:o.shortDescription??"",onChange:f=>c({...o,shortDescription:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:261",label:"Descripción larga",full:!0,children:h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:262",value:o.description??"",onChange:f=>c({...o,description:f.target.value}),rows:4})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:264",label:"Imagen",full:!0,children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:265",className:"flex items-center gap-3",children:[o.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:266",src:o.imageUrl,alt:"",className:"w-16 h-16 rounded object-cover"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:267",value:o.imageUrl??"",onChange:f=>c({...o,imageUrl:f.target.value}),placeholder:"URL o sube archivo"}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:268",accept:"image/*",label:"Subir",onUploaded:f=>c({...o,imageUrl:f})})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:271",label:"Visible",children:h.jsx(A0,{"data-loc":"client/src/pages/Admin.tsx:272",checked:!!o.visible,onCheckedChange:f=>c({...o,visible:f})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:274",label:"Orden",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:275",type:"number",value:o.sortOrder,onChange:f=>c({...o,sortOrder:parseInt(f.target.value)||0})})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:278",className:"flex gap-2 mt-5",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:279",className:"gradient-mystic text-white",onClick:async()=>{try{const f={category:o.category,name:o.name,shortDescription:o.shortDescription||null,description:o.description||null,priceCents:o.priceCents,currency:o.currency||"USD",durationMinutes:o.durationMinutes??null,imageUrl:o.imageUrl||null,badge:o.badge||null,visible:!!o.visible,sortOrder:o.sortOrder??0};u?await n.mutateAsync(f):await r.mutateAsync({id:o.id,data:f}),Ue.success("Guardado"),c(null)}catch(f){Ue.error(f.message)}},children:"Guardar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:307",variant:"ghost",onClick:()=>c(null),children:"Cancelar"})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:312",className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:t?.map(f=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:314",className:"p-4 border-[var(--gold)]/30",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:315",className:"flex gap-3",children:[f.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:316",src:f.imageUrl,alt:"",className:"w-16 h-16 rounded object-cover"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:317",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:318",className:"text-[10px] uppercase tracking-widest text-gold",children:f.category}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:319",className:"font-medium text-[var(--mystic-deep)] truncate",children:f.name}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:320",className:"text-sm text-muted-foreground",children:[(f.priceCents/100).toLocaleString()," ",f.currency]})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:323",className:"flex gap-2 mt-3",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:324",size:"sm",variant:"outline",onClick:()=>c(f),children:[h.jsx(Wm,{"data-loc":"client/src/pages/Admin.tsx:325",className:"w-3 h-3 mr-1"})," Editar"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:327",size:"sm",variant:"outline",className:"text-destructive border-destructive/40",onClick:async()=>{confirm("¿Eliminar este servicio?")&&(await a.mutateAsync({id:f.id}),Ue.success("Eliminado"))},children:[h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:337",className:"w-3 h-3 mr-1"})," Eliminar"]})]})]},f.id))})]})}function Ple(){const e=De.useUtils(),{data:t}=De.articles.listAdmin.useQuery(),n=De.articles.create.useMutation({onSuccess:()=>e.articles.invalidate()}),r=De.articles.update.useMutation({onSuccess:()=>e.articles.invalidate()}),a=De.articles.delete.useMutation({onSuccess:()=>e.articles.invalidate()}),s={title:"",slug:"",excerpt:"",content:"",category:"consejo",imageUrl:"",visible:!0},[o,c]=T.useState(null),u=o&&!o.id;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:360",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:361",title:"Consejos esotéricos y rituales",onCreate:()=>c(s)}),o&&h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:363",className:"p-5 mb-6 border-[var(--gold)]/40",children:[h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:364",className:"font-display text-xl mb-4",children:u?"Nuevo artÃculo":`Editar #${o.id}`}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:365",className:"grid md:grid-cols-2 gap-4",children:[h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:366",label:"TÃtulo",full:!0,children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:367",value:o.title,onChange:f=>c({...o,title:f.target.value,slug:o.slug||kb(f.target.value)})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:369",label:"Slug (url)",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:370",value:o.slug,onChange:f=>c({...o,slug:kb(f.target.value)})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:372",label:"CategorÃa",children:h.jsxs(E4,{"data-loc":"client/src/pages/Admin.tsx:373",value:o.category,onValueChange:f=>c({...o,category:f}),children:[h.jsx(_4,{"data-loc":"client/src/pages/Admin.tsx:374",children:h.jsx(w4,{"data-loc":"client/src/pages/Admin.tsx:374"})}),h.jsxs(T4,{"data-loc":"client/src/pages/Admin.tsx:375",children:[h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:376",value:"consejo",children:"Consejo"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:377",value:"ritual",children:"Ritual"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:378",value:"reflexion",children:"Reflexión"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:379",value:"luna",children:"Luna"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:380",value:"tarot",children:"Tarot"})]})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:384",label:"Resumen",full:!0,children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:385",value:o.excerpt??"",onChange:f=>c({...o,excerpt:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:387",label:"Contenido (Markdown)",full:!0,children:h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:388",value:o.content,onChange:f=>c({...o,content:f.target.value}),rows:10})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:390",label:"Imagen",full:!0,children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:391",className:"flex items-center gap-3",children:[o.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:392",src:o.imageUrl,alt:"",className:"w-16 h-16 rounded object-cover"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:393",value:o.imageUrl??"",onChange:f=>c({...o,imageUrl:f.target.value})}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:394",accept:"image/*",label:"Subir",onUploaded:f=>c({...o,imageUrl:f})})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:397",label:"Visible",children:h.jsx(A0,{"data-loc":"client/src/pages/Admin.tsx:398",checked:!!o.visible,onCheckedChange:f=>c({...o,visible:f})})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:401",className:"flex gap-2 mt-5",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:402",className:"gradient-mystic text-white",onClick:async()=>{try{const f={title:o.title,slug:o.slug||kb(o.title),excerpt:o.excerpt||null,content:o.content,category:o.category,imageUrl:o.imageUrl||null,visible:!!o.visible};u?await n.mutateAsync(f):await r.mutateAsync({id:o.id,data:f}),Ue.success("Guardado"),c(null)}catch(f){Ue.error(f.message)}},children:"Guardar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:426",variant:"ghost",onClick:()=>c(null),children:"Cancelar"})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:431",className:"grid sm:grid-cols-2 gap-4",children:t?.map(f=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:433",className:"p-4 border-[var(--gold)]/30",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:434",className:"text-[10px] uppercase tracking-widest text-gold",children:f.category}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:435",className:"font-medium text-[var(--mystic-deep)]",children:f.title}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:436",className:"text-xs text-muted-foreground line-clamp-2 mt-1",children:f.excerpt}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:437",className:"flex gap-2 mt-3",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:438",size:"sm",variant:"outline",onClick:()=>c(f),children:[h.jsx(Wm,{"data-loc":"client/src/pages/Admin.tsx:439",className:"w-3 h-3 mr-1"})," Editar"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:441",size:"sm",variant:"outline",className:"text-destructive border-destructive/40",onClick:async()=>{confirm("¿Eliminar artÃculo?")&&await a.mutateAsync({id:f.id})},children:[h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:450",className:"w-3 h-3 mr-1"})," Eliminar"]})]})]},f.id))})]})}function Lle(){const e=De.useUtils(),{data:t}=De.photos.listAdmin.useQuery(),n=De.photos.create.useMutation({onSuccess:()=>e.photos.invalidate()}),r=De.photos.update.useMutation({onSuccess:()=>e.photos.invalidate()}),a=De.photos.delete.useMutation({onSuccess:()=>e.photos.invalidate()});return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:469",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:470",title:"GalerÃa de fotos"}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:471",className:"p-5 mb-6 border-[var(--gold)]/40",children:[h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:472",className:"font-display text-xl mb-3",children:"Subir nueva foto"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:473",className:"text-sm text-muted-foreground mb-3",children:"Selecciona una imagen desde tu computador. Se guardará automáticamente."}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:474",accept:"image/*",label:"Subir foto a la galerÃa",onUploaded:async s=>{await n.mutateAsync({imageUrl:s,title:"",caption:"",visible:!0,sortOrder:0}),Ue.success("Foto agregada")}})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:483",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:t?.map(s=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:485",className:"overflow-hidden border-[var(--gold)]/30",children:[h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:486",src:s.imageUrl,alt:"",className:"w-full aspect-square object-cover"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:487",className:"p-3 space-y-2",children:[h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:488",placeholder:"TÃtulo",defaultValue:s.title??"",onBlur:o=>r.mutate({id:s.id,data:{title:o.target.value}})}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:493",placeholder:"Descripción",defaultValue:s.caption??"",onBlur:o=>r.mutate({id:s.id,data:{caption:o.target.value}})}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:498",className:"flex items-center justify-between text-xs",children:[h.jsxs("label",{"data-loc":"client/src/pages/Admin.tsx:499",className:"flex items-center gap-1",children:["Visible",h.jsx(A0,{"data-loc":"client/src/pages/Admin.tsx:501",checked:s.visible,onCheckedChange:o=>r.mutate({id:s.id,data:{visible:o}})})]}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:503",size:"sm",variant:"outline",className:"text-destructive border-destructive/40",onClick:async()=>{confirm("¿Eliminar foto?")&&await a.mutateAsync({id:s.id})},children:h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:512",className:"w-3 h-3"})})]})]})]},s.id))})]})}function jle(){const e=De.useUtils(),{data:t}=De.tracks.listAdmin.useQuery(),n=De.tracks.create.useMutation({onSuccess:()=>e.tracks.invalidate()}),r=De.tracks.update.useMutation({onSuccess:()=>e.tracks.invalidate()}),a=De.tracks.delete.useMutation({onSuccess:()=>e.tracks.invalidate()}),s={title:"",artist:"Esotérica Isis",audioUrl:"",coverUrl:"",visible:!0,sortOrder:0},[o,c]=T.useState(null),u=o&&!o.id;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:536",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:537",title:"Música de Esotérica Isis",onCreate:()=>c(s)}),o&&h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:539",className:"p-5 mb-6 border-[var(--gold)]/40",children:[h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:540",className:"font-display text-xl mb-3",children:u?"Nueva canción":`Editar #${o.id}`}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:541",className:"grid md:grid-cols-2 gap-4",children:[h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:542",label:"TÃtulo",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:542",value:o.title,onChange:f=>c({...o,title:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:543",label:"Artista",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:543",value:o.artist,onChange:f=>c({...o,artist:f.target.value})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:544",label:"Archivo de audio (mp3)",full:!0,children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:545",className:"flex items-center gap-2",children:[h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:546",value:o.audioUrl,onChange:f=>c({...o,audioUrl:f.target.value}),placeholder:"URL"}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:547",accept:"audio/*",label:"Subir audio",onUploaded:f=>c({...o,audioUrl:f})})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:550",label:"Portada",full:!0,children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:551",className:"flex items-center gap-2",children:[o.coverUrl&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:552",src:o.coverUrl,alt:"",className:"w-12 h-12 rounded object-cover"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:553",value:o.coverUrl??"",onChange:f=>c({...o,coverUrl:f.target.value}),placeholder:"URL imagen"}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:554",accept:"image/*",label:"Subir portada",onUploaded:f=>c({...o,coverUrl:f})})]})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:557",label:"Visible",children:h.jsx(A0,{"data-loc":"client/src/pages/Admin.tsx:557",checked:!!o.visible,onCheckedChange:f=>c({...o,visible:f})})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:558",label:"Orden",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:558",type:"number",value:o.sortOrder,onChange:f=>c({...o,sortOrder:parseInt(f.target.value)||0})})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:560",className:"flex gap-2 mt-5",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:561",className:"gradient-mystic text-white",onClick:async()=>{const f={title:o.title,artist:o.artist,audioUrl:o.audioUrl,coverUrl:o.coverUrl||null,visible:!!o.visible,sortOrder:o.sortOrder??0};try{u?await n.mutateAsync(f):await r.mutateAsync({id:o.id,data:f}),Ue.success("Guardado"),c(null)}catch(p){Ue.error(p.message)}},children:"Guardar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:577",variant:"ghost",onClick:()=>c(null),children:"Cancelar"})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:581",className:"grid sm:grid-cols-2 gap-4",children:t?.map(f=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:583",className:"p-4 border-[var(--gold)]/30 flex gap-3 items-center",children:[f.coverUrl?h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:584",src:f.coverUrl,alt:"",className:"w-12 h-12 rounded object-cover"}):h.jsx(el,{"data-loc":"client/src/pages/Admin.tsx:584",className:"w-12 h-12 p-2 rounded gradient-gold text-[var(--mystic-deep)]"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:585",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:586",className:"font-medium truncate",children:f.title}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:587",className:"text-xs text-muted-foreground truncate",children:f.artist})
969]}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:589",size:"sm",variant:"outline",onClick:()=>c(f),children:h.jsx(Wm,{"data-loc":"client/src/pages/Admin.tsx:589",className:"w-3 h-3"})}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:590",size:"sm",variant:"outline",className:"text-destructive border-destructive/40",onClick:async()=>{confirm("¿Eliminar canción?")&&await a.mutateAsync({id:f.id})},children:h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:593",className:"w-3 h-3"})})]},f.id))})]})}function Ble(){const e=De.useUtils(),{data:t}=De.orders.listAdmin.useQuery(),n=De.orders.updateStatus.useMutation({onSuccess:()=>e.orders.invalidate()});return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:607",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:608",title:"Pedidos / Reservas"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:609",className:"space-y-3",children:[t?.length===0&&h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:610",className:"text-muted-foreground",children:"Aún no hay pedidos. Cuando alguien reserve aparecerá aquÃ."}),t?.map(r=>{const a=(()=>{try{return JSON.parse(r.itemsJson)}catch{return[]}})();return h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:614",className:"p-4 border-[var(--gold)]/30",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:615",className:"flex flex-wrap items-start justify-between gap-2",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:616",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:617",className:"font-medium text-[var(--mystic-deep)]",children:["#",r.id," · ",r.customerName]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:618",className:"text-xs text-muted-foreground",children:[r.customerEmail," · ",r.customerPhone||"sin teléfono"]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:619",className:"text-xs text-muted-foreground",children:new Date(r.createdAt).toLocaleString()}),r.acceptedRules?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:620",className:"text-[10px] text-green-700 mt-1",children:"â Aceptó reglas"}):h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:620",className:"text-[10px] text-destructive mt-1",children:"â No aceptó reglas"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:622",className:"text-right",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:623",className:"font-display text-2xl",children:[(r.totalCents/100).toLocaleString()," ",r.currency]}),h.jsxs(E4,{"data-loc":"client/src/pages/Admin.tsx:624",value:r.status,onValueChange:s=>n.mutate({id:r.id,status:s}),children:[h.jsx(_4,{"data-loc":"client/src/pages/Admin.tsx:625",className:"w-32",children:h.jsx(w4,{"data-loc":"client/src/pages/Admin.tsx:625"})}),h.jsxs(T4,{"data-loc":"client/src/pages/Admin.tsx:626",children:[h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:627",value:"pendiente",children:"Pendiente"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:628",value:"pagado",children:"Pagado"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:629",value:"completado",children:"Completado"}),h.jsx(Er,{"data-loc":"client/src/pages/Admin.tsx:630",value:"cancelado",children:"Cancelado"})]})]})]})]}),h.jsx("ul",{"data-loc":"client/src/pages/Admin.tsx:635",className:"mt-3 text-sm space-y-1",children:a.map((s,o)=>h.jsxs("li",{"data-loc":"client/src/pages/Admin.tsx:637",className:"flex justify-between border-b border-border/40 py-1",children:[h.jsxs("span",{"data-loc":"client/src/pages/Admin.tsx:638",children:[s.name," à ",s.quantity]}),h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:639",children:(s.subtotalCents/100).toLocaleString()})]},o))}),r.notes&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:643",className:"mt-2 text-xs italic text-muted-foreground",children:['"',r.notes,'"']})]},r.id)})]})]})}function zle(){const{data:e}=De.settings.getAll.useQuery(),t=De.settings.set.useMutation(),n=De.useUtils(),[r,a]=T.useState(""),[s,o]=T.useState("");return T.useEffect(()=>{e&&(a(e.rules_title||"Reglas y términos de Esotérica Isis"),o(e.rules_text||""))},[e]),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:667",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:668",title:"Reglas y términos"}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:669",className:"p-5 border-[var(--gold)]/40 space-y-4",children:[h.jsxs("p",{"data-loc":"client/src/pages/Admin.tsx:670",className:"text-sm text-muted-foreground",children:["Este texto aparece en cada tarjeta de servicio (botón âVer reglasâ) y es ",h.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:671",children:"obligatorio aceptarlo"})," en el checkout antes de pagar. Puedes editarlo cuando quieras."]}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:673",label:"TÃtulo de las reglas",children:h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:674",value:r,onChange:c=>a(c.target.value)})}),h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:676",label:"Texto completo (Markdown)",full:!0,children:h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:677",value:s,onChange:c=>o(c.target.value),rows:20})}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:679",className:"gradient-mystic text-white",onClick:async()=>{await t.mutateAsync({key:"rules_title",value:r}),await t.mutateAsync({key:"rules_text",value:s}),await n.settings.invalidate(),Ue.success("Reglas actualizadas")},children:"Guardar reglas"})]})]})}function Hle(){const{data:e}=De.settings.getAll.useQuery(),t=De.settings.set.useMutation(),n=De.useUtils(),[r,a]=T.useState({}
969),s=De.backup.sendNow.useMutation(),o=De.backup.downloadSnapshot.useQuery(void 0,{enabled:!1});async function c(){Ue.info("Generando backup...");const f=await o.refetch();if(!f.data){Ue.error("No se pudo generar el backup");return}const p=new Blob([JSON.stringify(f.data,null,2)],{type:"application/json"}),m=URL.createObjectURL(p),x=document.createElement("a");x.href=m,x.download=`esoterica-isis-backup-${new Date().toISOString().slice(0,10)}.json`,document.body.appendChild(x),x.click(),document.body.removeChild(x),URL.revokeObjectURL(m),Ue.success("⨠Backup descargado")}T.useEffect(()=>{e&&a(e)},[e]);const u=[{key:"hero_title",label:"TÃtulo principal del hero"},{key:"hero_subtitle",label:"SubtÃtulo del hero"},{key:"hero_description",label:"Descripción del hero",type:"textarea"},{key:"about_title",label:"TÃtulo Sobre MÃ"},{key:"about_subtitle",label:"SubtÃtulo Sobre MÃ"},{key:"about_text",label:"Texto Sobre MÃ",type:"textarea"},{key:"about_image",label:"Foto de Kharen",type:"image"},{key:"contact_email",label:"Email de contacto"},{key:"contact_whatsapp",label:"WhatsApp"},{key:"spotify_url",label:"URL del álbum/artista en Spotify"},{key:"social_instagram",label:"Instagram URL"},{key:"social_facebook",label:"Facebook URL"},{key:"social_youtube",label:"YouTube URL"},{key:"social_linkedin",label:"LinkedIn URL"},{key:"social_tiktok",label:"TikTok URL"}];return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:741",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:742",title:"Configuración del sitio"}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:743",className:"p-5 border-[var(--gold)]/40",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:744",className:"grid md:grid-cols-2 gap-4",children:u.map(f=>h.jsx(Yt,{"data-loc":"client/src/pages/Admin.tsx:746",label:f.label,full:f.type==="textarea"||f.type==="image",children:f.type==="textarea"?h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:748",value:r[f.key]||"",onChange:p=>a({...r,[f.key]:p.target.value}),rows:5}):f.type==="image"?h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:750",className:"flex items-center gap-3",children:[r[f.key]&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:751",src:r[f.key],alt:"",className:"w-16 h-16 rounded object-cover"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:752",value:r[f.key]||"",onChange:p=>a({...r,[f.key]:p.target.value})}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:753",accept:"image/*",label:"Subir",onUploaded:p=>a({...r,[f.key]:p})})]}):h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:756",value:r[f.key]||"",onChange:p=>a({...r,[f.key]:p.target.value})})},f.key))}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:761",className:"gradient-mystic text-white mt-4",onClick:async()=>{for(const f of u)await t.mutateAsync({key:f.key,value:r[f.key]||""});await n.settings.invalidate(),Ue.success("Configuración guardada")},children:"Guardar todo"})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:776",className:"p-5 mt-6 border-[var(--gold)]/40 bg-gradient-to-br from-amber-50 to-transparent",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:777",className:"flex items-center gap-2 mb-3",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:778",className:"text-2xl",children:"ð¡ï¸"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:779",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:780",className:"font-semibold text-[var(--mystic-deep)] text-lg",children:"Backup e independencia del sitio"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:781",className:"text-xs text-muted-foreground",children:"Tu sitio es 100% tuyo. Aquà puedes descargarlo o pedir que te envÃe una copia por correo."})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:784",className:"grid md:grid-cols-2 gap-3",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:785",variant:"outline",className:"border-[var(--gold)] text-[var(--mystic-deep)] hover:bg-amber-50",disabled:o.isFetching,onClick:c,children:[o.isFetching&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:791",className:"w-4 h-4 mr-2 animate-spin"}),"ð¾ Descargar mi sitio (JSON completo)"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:794",className:"gradient-mystic text-white",disabled:s.isPending,onClick:async()=>{(await s.mutateAsync()).success?Ue.success("ð§ Backup enviado a tu correo"):Ue.error("No se pudo enviar (revisa tu correo en unos minutos)")},children:[s.isPending&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:803",className:"w-4 h-4 mr-2 animate-spin"}),"ð§ Enviarme el backup a mi Gmail"]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:807",className:"mt-4 text-xs text-muted-foreground space-y-1",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:808",children:["⢠El backup mensual automático llega a ",h.jsx("b",{"data-loc":"client/src/pages/Admin.tsx:808",children:"[email protected]"})," el dÃa 1 de cada mes."]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:809",children:"⢠También recibes notificaciones por cada pedido, pago y alerta del Guardián Digital."}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:810",children:"⢠Puedes descargar el sitio cuando quieras y migrarlo a otro hosting si algún dÃa lo deseas."})]})]}),h.jsx(Fle,{"data-loc":"client/src/pages/Admin.tsx:814"}),h.jsx(qle,{"data-loc":"client/src/pages/Admin.tsx:815"}),h.jsx(Ule,{"data-loc":"client/src/pages/Admin.tsx:816"})]})}function Ule(){const t=De.customers.listAll.useQuery().data||[],[n,r]=T.useState("todos"),a=n==="todos"?t:t.filter(c=>c.tag===n),s={vip:"bg-amber-100 text-amber-800 border-amber-300",re
969currente:"bg-purple-100 text-purple-800 border-purple-300",caliente:"bg-rose-100 text-rose-800 border-rose-300",nuevo:"bg-emerald-100 text-emerald-800 border-emerald-300",frio:"bg-slate-100 text-slate-700 border-slate-300"},o={vip:"⨠VIP",recurrente:"ð Recurrente",caliente:"ð¥ Caliente",nuevo:"ð± Nuevo",frio:"âï¸ FrÃo"};return h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:844",className:"p-5 mt-6 border-amber-300/50 bg-gradient-to-br from-amber-50 to-transparent",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:845",className:"flex items-center gap-2 mb-3",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:846",className:"text-2xl",children:"ð¥"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:847",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:848",className:"font-semibold text-[var(--mystic-deep)] text-lg",children:"Base de datos de clientes"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:849",className:"text-xs text-muted-foreground",children:"Etiquetas automáticas: VIP / Recurrente / Caliente / Nuevo / FrÃo según compras y última actividad."})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:852",className:"flex flex-wrap gap-2 mb-3",children:["todos","vip","recurrente","caliente","nuevo","frio"].map(c=>h.jsx("button",{"data-loc":"client/src/pages/Admin.tsx:854",onClick:()=>r(c),className:`px-3 py-1 text-xs rounded-full border ${n===c?"bg-[var(--mystic-deep)] text-white border-transparent":"bg-white text-[var(--mystic-deep)] border-amber-300"}`,children:c==="todos"?`Todos (${t.length})`:o[c]??c},c))}),a.length===0?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:864",className:"text-sm text-muted-foreground italic",children:"No hay clientes en esta categorÃa todavÃa."}):h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:866",className:"space-y-2 max-h-[480px] overflow-y-auto",children:a.map((c,u)=>h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:868",className:"rounded border border-amber-200 bg-white px-3 py-2 text-sm",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:869",className:"flex items-center justify-between flex-wrap gap-2",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:870",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:871",className:"font-semibold",children:c.name||c.email}),h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:872",className:`ml-2 inline-block text-xs px-2 py-0.5 rounded border ${s[c.tag]??s.nuevo}`,children:o[c.tag]??c.tag})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:874",className:"text-xs text-muted-foreground",children:c.lastActivityAt?new Date(c.lastActivityAt).toLocaleString():"sin actividad"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:878",className:"text-xs text-muted-foreground mt-1",children:["ð§ ",c.email,c.whatsapp&&h.jsxs(h.Fragment,{children:[" · ð± ",c.whatsapp]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:882",className:"text-xs mt-1",children:["ð ",c.totalPurchases," intentos · â
USD ",Number(c.totalPaid).toFixed(2)," pagado",c.totalPending>0&&h.jsxs(h.Fragment,{children:[" · â³ USD ",Number(c.totalPending).toFixed(2)," pendiente"]}),c.totalRefunded>0&&h.jsxs(h.Fragment,{children:[" · â USD ",Number(c.totalRefunded).toFixed(2)," cancelado"]})]})]},(c.email||"x")+u))}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:891",className:"mt-4 text-xs text-muted-foreground space-y-1",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:892",children:"⢠Las etiquetas se calculan automáticamente en cada visita al panel."}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:893",children:"⢠⨠VIP: USD 100+ pagado o 3+ compras · ð Recurrente: 2+ compras · ð¥ Caliente: actividad reciente sin pago."})]})]})}function Fle(){const e=De.socialGuardian.listLatest.useQuery(),t=De.socialGuardian.runScan.useMutation({onSuccess:()=>{e.refetch(),Ue.success("Escaneo de redes completado")}}),n=De.socialGuardian.sendWeeklyReport.useMutation({onSuccess:()=>Ue.success("ð§ Reporte semanal enviado a tu correo")});return h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:908",className:"p-5 mt-6 border-purple-300/50 bg-gradient-to-br from-purple-50 to-transparent",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:909",className:"flex items-center gap-2 mb-3",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:910",className:"text-2xl",children:"ð¡ï¸"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:911",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:912",className:"font-semibold text-[var(--mystic-deep)] text-lg",children:"Guardián de Redes Sociales"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:913",className:"text-xs text-muted-foreground",children:"Vigila Instagram, TikTok, Facebook, YouTube y Spotify. Te avisa si algo falla."})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:916",className:"grid md:grid-cols-2 gap-3 mb-3",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:917",variant:"outline",className:"border-purple-400 text-purple-700 hover:bg-purple-50",disabled:t.isPending,onClick:()=>t.mutate(),children:[t.isPending&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:918",className:"w-4 h-4 mr-2 animate-spin"}
969),"ð Verificar mis redes ahora"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:921",className:"bg-purple-600 hover:bg-purple-700 text-white",disabled:n.isPending,onClick:()=>n.mutate(),children:[n.isPending&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:922",className:"w-4 h-4 mr-2 animate-spin"}),"ð§ Enviarme el reporte semanal"]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:926",className:"space-y-2",children:[(e.data||[]).length===0&&h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:928",className:"text-sm text-muted-foreground italic",children:'Aún no hay chequeos. Pulsa "Verificar mis redes ahora" para el primer escaneo.'}),(e.data||[]).map(r=>h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:931",className:"flex items-center justify-between rounded border border-purple-200 bg-white px-3 py-2 text-sm",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:932",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:933",className:"font-semibold uppercase text-purple-700",children:r.platform}),h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:934",className:"text-muted-foreground ml-2",children:r.detail})]}),h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:936",className:`text-xs px-2 py-0.5 rounded ${r.status==="ok"?"bg-emerald-100 text-emerald-700":"bg-rose-100 text-rose-700"}`,children:r.status})]},r.id))]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:940",className:"mt-4 text-xs text-muted-foreground space-y-1",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:941",children:["⢠Recibes ",h.jsx("b",{"data-loc":"client/src/pages/Admin.tsx:941",children:"reporte semanal automático"})," a tu correo con el estado de tus 5 redes."]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:942",children:["⢠Si una red cae o detecta suplantación, te llega ",h.jsx("b",{"data-loc":"client/src/pages/Admin.tsx:942",children:"alerta inmediata"}),"."]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:943",children:"⢠El Guardián NUNCA toca tus cuentas privadas, solo observa lo público."})]})]})}function qle(){const t=De.chatbot.listLeads.useQuery().data||[];return h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:953",className:"p-5 mt-6 border-emerald-300/50 bg-gradient-to-br from-emerald-50 to-transparent",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:954",className:"flex items-center gap-2 mb-3",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:955",className:"text-2xl",children:"ð¤"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:956",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:957",className:"font-semibold text-[var(--mystic-deep)] text-lg",children:"Leads del Chatbot Esotérica Isis"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:958",className:"text-xs text-muted-foreground",children:"Conversaciones recientes y datos de contacto que dejaron tus visitantes."})]})]}),t.length===0?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:962",className:"text-sm text-muted-foreground italic",children:"Aún no hay conversaciones. El chatbot ya está activo en tu sitio."}):h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:964",className:"space-y-2 max-h-96 overflow-y-auto",children:t.map(n=>h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:966",className:"rounded border border-emerald-200 bg-white px-3 py-2 text-sm",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:967",className:"flex items-center justify-between",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:968",className:"font-semibold",children:n.customerName||"(Visitante anónimo)"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:969",className:"text-xs text-muted-foreground",children:new Date(n.createdAt).toLocaleString()})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:971",className:"text-xs text-muted-foreground",children:[n.customerEmail&&h.jsxs(h.Fragment,{children:["ð§ ",n.customerEmail," · "]}),n.customerWhatsapp&&h.jsxs(h.Fragment,{children:["ð± ",n.customerWhatsapp]}),!n.customerEmail&&!n.customerWhatsapp&&h.jsx(h.Fragment,{children:"Sin datos de contacto"})]})]},n.id))}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:980",className:"mt-4 text-xs text-muted-foreground",children:["Cada vez que un visitante deja sus datos, te llega ",h.jsx("b",{"data-loc":"client/src/pages/Admin.tsx:981",children:"aviso inmediato"})," a tu correo."]})]})}function Yt({label:e,children:t,full:n}){return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:990",className:`space-y-1.5 ${n?"md:col-span-2":""}`,children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:991",children:e}),t]})}function kb(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,200)}const Nb=[{id:"instagram",label:"Instagram",color:"from-pink-500 to-amber-400",share:()=>"https://www.instagram.com/"},{id:"tiktok",label:"TikTok",color:"from-black to-pink-500",share:()=>"https://www.tiktok.com/upload"},{id:"facebook",label:"Facebook",color:"from-blue-600 to-blue-400",share:(e,t)=>
969`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(t)}"e=${encodeURIComponent(e)}`},{id:"whatsapp",label:"WhatsApp",color:"from-green-500 to-emerald-500",share:e=>`https://wa.me/?text=${encodeURIComponent(e)}`},{id:"telegram",label:"Telegram",color:"from-sky-500 to-blue-500",share:(e,t)=>`https://t.me/share/url?url=${encodeURIComponent(t)}&text=${encodeURIComponent(e)}`},{id:"twitter",label:"X (Twitter)",color:"from-slate-800 to-slate-600",share:(e,t)=>`https://twitter.com/intent/tweet?text=${encodeURIComponent(e)}&url=${encodeURIComponent(t)}`},{id:"linkedin",label:"LinkedIn",color:"from-sky-700 to-sky-400",share:(e,t)=>`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(t)}&summary=${encodeURIComponent(e)}`},{id:"youtube",label:"YouTube",color:"from-red-600 to-red-400",share:()=>"https://studio.youtube.com/"},{id:"general",label:"Universal",color:"from-amber-500 to-rose-400",share:()=>""}],$le=["Ritual de luna llena para limpiar tu energÃa","3 señales que las caracolas te están enviando","Beneficios de una lectura de tarot esta semana","Cómo proteger tu hogar con sales y velas","Mensaje de Isis para esta semana","Por qué necesitas una terapia esotérica este mes","Cómo abrir los caminos antes de fin de mes","Verdades del Akasha que cambian tu destino"];function Vle(){const e=De.useUtils(),{data:t,isLoading:n}=De.marketing.listAdmin.useQuery(),r=De.marketing.generate.useMutation({onSuccess:()=>{e.marketing.invalidate(),Ue.success("¡Publicación lista! Cópiala y pégala en tu red.")},onError:m=>Ue.error("No se pudo generar: "+m.message)}),a=De.marketing.generateDailyPack.useMutation({onSuccess:m=>{e.marketing.invalidate(),Ue.success(`¡Pack del dÃa listo! Se crearon ${m.count} publicaciones (Instagram, TikTok, Facebook, WhatsApp, Telegram).`)},onError:m=>Ue.error("No se pudo generar el pack: "+m.message)}),s=De.marketing.delete.useMutation({onSuccess:()=>e.marketing.invalidate()}),[o,c]=T.useState("instagram"),[u,f]=T.useState(""),p=typeof window<"u"?window.location.origin:"https://esotericaisis.com";return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1059",className:"space-y-6",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:1060",title:"Centro de Marketing â Esotérica Isis"}),h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1062",className:"p-6 bg-gradient-to-br from-amber-50 via-rose-50 to-violet-50 border-[var(--gold)]/40",children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1063",className:"flex items-start gap-3",children:[h.jsx(On,{"data-loc":"client/src/pages/Admin.tsx:1064",className:"w-6 h-6 text-amber-600 mt-1 flex-shrink-0"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1065",className:"text-sm text-stone-700 leading-relaxed",children:[h.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:1066",children:"Cómo funciona:"})," elige una red, escribe (o elige) un tema, y la IA generará en segundos una publicación lista con caption, hashtags, guion para video y llamada a la acción. Solo tienes que ",h.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:1066",children:"copiar y pegar"})," en tu red social. Es 100% legal y 100% tuyo."]})]})}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1071",className:"p-6 space-y-4",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1072",className:"grid md:grid-cols-2 gap-4",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1073",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1074",children:"Red social"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1075",className:"flex flex-wrap gap-2",children:Nb.map(m=>h.jsx("button",{"data-loc":"client/src/pages/Admin.tsx:1077",onClick:()=>c(m.id),className:`px-3 py-1.5 rounded-full text-sm border transition-all ${o===m.id?`bg-gradient-to-r ${m.color} text-white border-transparent shadow-md`:"border-[var(--gold)]/40 hover:bg-[var(--gold)]/10"}`,children:m.label},m.id))})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1091",className:"space-y-2",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1092",children:"Tema de la publicación"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1093",placeholder:"Ej: Ritual de luna llena de mayo",value:u,onChange:m=>f(m.target.value)})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1100",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1101",className:"text-xs text-muted-foreground",children:"Ideas rápidas (haz clic para usar)"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1102",className:"flex flex-wrap gap-2 mt-2",children:$le.map(m=>h.jsx("button",{"data-loc":"client/src/pages/Admin.tsx:1104",onClick:()=>f(m),className:"text-xs px-3 py-1 rounded-full border border-[var(--gold)]/30 hover:bg-[var(--gold)]/10 text-stone-600",children:m},m))})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1114",className:"flex flex-wrap gap-2",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1115",onClick:()=>
969{if(!u.trim())return Ue.error("Escribe un tema o elige una idea rápida");r.mutate({platform:o,topic:u.trim()})},disabled:r.isPending,className:"gradient-mystic text-white",children:[r.isPending?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1123",className:"w-4 h-4 mr-2 animate-spin"}):h.jsx(SA,{"data-loc":"client/src/pages/Admin.tsx:1123",className:"w-4 h-4 mr-2"}),"Generar 1 publicación"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1126",onClick:()=>{if(!u.trim())return Ue.error("Escribe un tema o elige una idea rápida para el Pack del DÃa");a.mutate({topic:u.trim()})},disabled:a.isPending,className:"bg-gradient-to-r from-amber-600 to-rose-600 text-white",children:[a.isPending?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1134",className:"w-4 h-4 mr-2 animate-spin"}):h.jsx(On,{"data-loc":"client/src/pages/Admin.tsx:1134",className:"w-4 h-4 mr-2"}),"Pack del DÃa (5 redes a la vez)"]})]}),h.jsxs("p",{"data-loc":"client/src/pages/Admin.tsx:1138",className:"text-xs text-stone-500 leading-relaxed pt-2 border-t border-amber-200",children:[h.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:1139",children:"Pack del DÃa"}),': con un solo click, la IA crea 5 publicaciones distintas (una para Instagram, TikTok, Facebook, WhatsApp y Telegram), todas optimizadas para tu cliente ideal: mujeres hispanohablantes 25-55 años interesadas en tarot, luna y sanación. Después solo copÃalas y pégalas con los botones "Abrir [red]" de cada tarjeta.']})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1143",children:[h.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:1144",className:"font-display text-xl text-[var(--mystic-deep)] mb-4",children:"Tu biblioteca de publicaciones"}),n&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1145",className:"w-5 h-5 animate-spin"}),!n&&(!t||t.length===0)&&h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1147",className:"text-sm text-muted-foreground",children:"Aún no tienes publicaciones. Genera tu primera arriba."}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1149",className:"grid gap-4",children:t?.map(m=>{const x=Nb.find(_=>_.id===m.platform)||Nb[5],v=`${m.caption} 970 971${m.hashtags||""} 972 973${m.callToAction||""} 974 975ð® ${p}`.trim(),E=x.share(v,p);return h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1155",className:"p-5",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1156",className:"flex items-start justify-between gap-3 mb-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1157",children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1158",className:`inline-block text-xs px-2 py-1 rounded-full bg-gradient-to-r ${x.color} text-white font-semibold uppercase tracking-wider`,children:x.label}),h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:1161",className:"font-display text-lg text-[var(--mystic-deep)] mt-2",children:m.topic})]}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1163",variant:"ghost",size:"icon",onClick:()=>{confirm("¿Eliminar esta publicación?")&&s.mutate({id:m.id})},children:h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:1171",className:"w-4 h-4 text-red-500"})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1174",className:"space-y-3 text-sm",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1175",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1176",className:"text-xs uppercase tracking-widest text-amber-600",children:"Caption"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1177",className:"whitespace-pre-line mt-1 text-stone-700",children:m.caption})]}),m.hashtags&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1180",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1181",className:"text-xs uppercase tracking-widest text-amber-600",children:"Hashtags"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1182",className:"mt-1 text-sky-700 break-words",children:m.hashtags})]}),m.videoScript&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1186",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1187",className:"text-xs uppercase tracking-widest text-amber-600",children:"Guion del video"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1188",className:"whitespace-pre-line mt-1 text-stone-600",children:m.videoScript})]}),m.callToAction&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1192",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1193",className:"text-xs uppercase tracking-widest text-amber-600",children:"Llamada a la acción"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1194",className:"mt-1 text-rose-600 italic",children:m.callToAction})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1198",className:"flex flex-wrap gap-2 mt-4 pt-4 border-t border-[var(--gold)]/20",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1199",variant:"outline",size:"sm",onClick:()=>{navigator.clipboard.writeText(v),Ue.success("¡Copiado! Ya puedes pegarlo en "+x.label)},children:[h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1207",className:"w-4 h-4 mr-1"})," Copiar todo"]}),E&&h.jsx("a",{"data-loc":"client/src/pages/Admin.tsx:1210",href:E,target:"_blank",rel:"noopener noreferrer",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1211",size:"sm",className:`bg-gradient-to-r ${x.color} text-white`,children:[h.jsx(Av,{"data-loc":"client/src/pages/Admin.tsx:1212",className:"w-4 h-4 mr-1"})," Abrir ",x.label]})})]})]},m.id)})})]})]})}function Gle(){const e=De.useUtils(),{data:t}=De.socialReels.listAdmin.useQuery(),n=De.socialReels.create.useMutation({onSuccess:()=>e.socialReels.invalidate()}),r=De.socialReels.update.useMutation({onSuccess:()=>e.socialReels.invalidate()}),a=De.socialReels.delete.useMutation({onSuccess:()=>e.socialReels.invalidate()}),s=De.socialReels.approve.useMutation({onSuccess:()=>e.socialReels.invalidate()}),o=De.socialReels.reject.useMutation({onSuccess:()=>e.socialReels.invalidate()}),c=De.socialReels.sendApprovalRequest.useMutation();TO();const u=T.useMemo(()=>({title:"",description:"",videoUrl:"",thumbnailUrl:"",caption:"",hashtags:"#EsotericaIsis #MagiaBlanca #FrecuenciaDeIsis #TarotDelDia #LunaLlena #Sacerdotisa #SabiduriaAncestral #MagiaLuminosa",spotifyTrack:"Frecuencia de Isis",visible:!0,sortOrder:0}),[]),[f,p]=T.useState(u),[m,x]=T.useState(null),[v,E]=T.useState(!1);function _(){p(u),x(null)}function k(R){p({title:R.title||"",description:R.description||"",videoUrl:R.videoUrl||"",thumbnailUrl:R.thumbnailUrl||"",caption:R.caption||"",hashtags:R.hashtags||"",spotifyTrack:R.spotifyTrack||"Frecuencia de Isis",visible:!!R.visible,sortOrder:R.sortOrder||0}),x(R.id)}
975async function S(){if(!f.title||!f.videoUrl){Ue.error("Faltan datos: tÃtulo y video son obligatorios");return}try{m?(await r.mutateAsync({id:m,data:f}),Ue.success("Reel actualizado")):(await n.mutateAsync(f),Ue.success("Reel creado")),p(u),x(null)}catch(R){Ue.error("Error: "+R.message)}}function O(R,q){navigator.clipboard.writeText(R),Ue.success(`${q} copiado al portapapeles`)}return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1300",className:"space-y-6",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:1301",title:"Redes sociales · Reels",onCreate:_}),h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1302",className:"p-4 bg-gradient-to-br from-[var(--gold)]/10 to-transparent border-[var(--gold)]/30",children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1303",className:"text-sm text-foreground space-y-2",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1304",className:"font-semibold text-[var(--mystic-deep)]",children:"Cómo usar este panel"}),h.jsxs("ol",{"data-loc":"client/src/pages/Admin.tsx:1305",className:"list-decimal list-inside space-y-1 text-muted-foreground",children:[h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1306",children:"Sube tu video vertical 9:16 (recomendado < 60s) y opcionalmente una miniatura."}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1307",children:"Escribe tÃtulo, descripción y caption con hashtags. La música oficial siempre será de tu Spotify."}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1308",children:"Cuando lo publiques en Instagram/TikTok/Facebook, marca como publicado para llevar control."}),h.jsxs("li",{"data-loc":"client/src/pages/Admin.tsx:1309",children:["Botón ",h.jsx("em",{"data-loc":"client/src/pages/Admin.tsx:1309",children:"Copiar caption"})," te deja el texto listo para pegar en cada red."]})]})]})}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1313",className:"p-4 space-y-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1314",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1315",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1316",children:"TÃtulo *"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1317",value:f.title,onChange:R=>p({...f,title:R.target.value})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1319",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1320",children:"Música (Spotify)"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1321",value:f.spotifyTrack,onChange:R=>p({...f,spotifyTrack:R.target.value})})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1324",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1325",children:"Descripción interna"}),h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:1326",value:f.description,onChange:R=>p({...f,description:R.target.value})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1328",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1329",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1330",children:"Video (URL pública)"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1331",className:"flex gap-2",children:[h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1332",value:f.videoUrl,onChange:R=>p({...f,videoUrl:R.target.value}),placeholder:"https://..."}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:1333",accept:"video/*",label:"Subir",onUploaded:R=>p({...f,videoUrl:R})})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1336",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1337",children:"Miniatura (URL pública)"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1338",className:"flex gap-2",children:[h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1339",value:f.thumbnailUrl,onChange:R=>p({...f,thumbnailUrl:R.target.value}),placeholder:"https://..."}),h.jsx(co,{"data-loc":"client/src/pages/Admin.tsx:1340",accept:"image/*",label:"Subir",onUploaded:R=>p({...f,thumbnailUrl:R})})]})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1344",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1345",children:"Caption (lo que se publica)"}),h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:1346",rows:4,value:f.caption,onChange:R=>p({...f,caption:R.target.value})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1348",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1349",children:"Hashtags"}),h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:1350",rows:2,value:f.hashtags,onChange:R=>p({...f,hashtags:R.target.value})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1352",className:"flex items-center gap-3",children:[h.jsx(A0,{"data-loc":"client/src/pages/Admin.tsx:1353",checked:f.visible,onCheckedChange:R=>p({...f,visible:R})}),h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1354",children:"Visible en la galerÃa pública del sitio"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1356",className:"flex justify-end gap-2 pt-2",children:[m&&h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1357",variant:"outline",onClick:()=>{p(u),x(null)},children:"Cancelar"}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1358",onClick:S,disabled:n.isPending||r.isPending,className:"gradient-mystic text-white",children:[(n.isPending||r.isPending)&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1359",className:"w-4 h-4 mr-1 animate-spin"}),m?"Guardar cambios":"Crear reel"]})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1365",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(t||[]).map(R=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1367",className:"p-4 space-y-2",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1368",className:"flex items-start gap-3",children:[R.thumbnailUrl?h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:1370",src:R.thumbnailUrl,alt:R.title,className:"w-20 h-32 object-cover rounded"}):h.jsx("video",{"data-loc":"client/src/pages/Admin.tsx:1372",src:R.videoUrl,className:"w-20 h-32 object-cover rounded bg-black"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1374",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1375",className:"font-semibold text-[var(--mystic-deep)] truncate",children:R.title}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1376",className:"text-xs text-muted-foreground truncate",children:["⪠",R.spotifyTrack]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1377",className:"flex flex-wrap gap-1 mt-1 text-xs",children:[R.approvalStatus==="approved"&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1378",className:"px-2 py-0.5 rounded-full bg-green-100 text-green-800 font-semibold",children:"â
Aprobado"}),R.approvalStatus==="rejected"&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1379",className:"px-2 py-0.5 rounded-full bg-red-100 text-red-800 font-semibold",children:"ð« Rechazado"}),(!R.approvalStatus||R.approvalStatus==="pending")&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1380",className:"px-2 py-0.5 rounded-full bg-amber-100 text-amber-800 font-semibold",children:"â³ Pendiente de aprobación"}),R.publishedInstagram&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1381",className:"px-2 py-0.5 rounded-full bg-pink-100 text-pink-700",children:"IG"}),R.publishedTiktok&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1382",className:"px-2 py-0.5 rounded-full bg-black text-white",children:"TT"}),R.publishedFacebook&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1383",className:"px-2 py-0.5 rounded-full bg-blue-100 text-blue-700",children:"FB"}),!R.visible&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1384",className:"px-2 py-0.5 rounded-full bg-gray-200 text-gray-700",children:"Oculto"})]})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1388",className:"flex flex-wrap gap-2 pt-2 border-t border-amber-200/40",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1389",size:"sm",className:"bg-green-600 hover:bg-green-700 text-white font-semibold",disabled:R.approvalStatus==="approved"||s.isPending,onClick:async()=>{await s.mutateAsync({id:R.id}),Ue.success("â
Reel aprobado para publicar")},children:"â
Aprobar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1394",size:"sm",variant:"outline",className:"border-red-500 text-red-700 hover:bg-red-50 font-semibold",disabled:R.approvalStatus==="rejected"||o.isPending,onClick:async()=>
975{const q=prompt("¿Por qué rechazas este reel? (opcional)")||void 0;await o.mutateAsync({id:R.id,reason:q}),Ue.success("ð« Reel rechazado")},children:"ð« Rechazar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1402",size:"sm",variant:"outline",className:"border-purple-500 text-purple-700 hover:bg-purple-50",disabled:c.isPending,onClick:async()=>{const q=await c.mutateAsync({id:R.id,origin:window.location.origin});q.email?Ue.success("ð§ Email enviado a [email protected]"):Ue.error("No se pudo enviar el email (revisa el log)"),q.whatsapp&&Ue.success("ð¬ WhatsApp enviado a +56973874059")},children:"ð§ Enviarme aviso aprobación"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1413",className:"flex flex-wrap gap-1",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1414",size:"sm",variant:"outline",onClick:()=>O((R.caption||"")+` 976 977`+(R.hashtags||""),"Caption"),children:[h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1415",className:"w-3 h-3 mr-1"})," Copiar caption"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1417",size:"sm",variant:"outline",onClick:()=>O(R.videoUrl,"URL del video"),children:[h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1418",className:"w-3 h-3 mr-1"})," URL video"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1420",size:"sm",variant:"outline",onClick:()=>k(R),children:[h.jsx(Wm,{"data-loc":"client/src/pages/Admin.tsx:1421",className:"w-3 h-3 mr-1"})," Editar"]}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1423",size:"sm",variant:"outline",onClick:()=>r.mutateAsync({id:R.id,data:{publishedInstagram:!R.publishedInstagram}}),children:R.publishedInstagram?"Quitar IG":"Marcar IG"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1426",size:"sm",variant:"outline",onClick:()=>r.mutateAsync({id:R.id,data:{publishedTiktok:!R.publishedTiktok}}),children:R.publishedTiktok?"Quitar TT":"Marcar TT"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1429",size:"sm",variant:"outline",onClick:()=>r.mutateAsync({id:R.id,data:{publishedFacebook:!R.publishedFacebook}}),children:R.publishedFacebook?"Quitar FB":"Marcar FB"}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1432",size:"sm",variant:"outline",onClick:async()=>{confirm("¿Eliminar este reel?")&&(await a.mutateAsync({id:R.id}),Ue.success("Reel eliminado"))},children:[h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:1438",className:"w-3 h-3 mr-1"})," Borrar"]})]})]},R.id)),!t?.length&&h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1444",className:"p-6 text-center text-muted-foreground col-span-full",children:"Aún no has subido reels. Sube tu primer video vertical 9:16 con el formulario de arriba."})]})]})}function Yle(){const{data:e,refetch:t}=De.guardian.listAdmin.useQuery({limit:100}),n=De.guardian.test.useMutation({onSuccess:()=>{Ue.success("Alerta de prueba enviada â revisa tu correo"),t()}}),r=De.guardian.resolve.useMutation({onSuccess:()=>t()});return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1460",className:"space-y-6",children:[h.jsx(Ns,{"data-loc":"client/src/pages/Admin.tsx:1461",title:"Guardián Digital Esotérica Isis"}),h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1462",className:"p-4 bg-gradient-to-br from-purple-100/40 to-amber-100/40 border-[var(--gold)]/30",children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1463",className:"flex items-start gap-3",children:[h.jsx(Km,{"data-loc":"client/src/pages/Admin.tsx:1464",className:"w-8 h-8 text-[var(--mystic-deep)] flex-shrink-0"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1465",className:"space-y-2 text-sm",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1466",className:"font-semibold text-[var(--mystic-deep)]",children:"Tu sitio está protegido 24/7"}),h.jsxs("p",{"data-loc":"client/src/pages/Admin.tsx:1467",className:"text-muted-foreground",children:["El Guardián Digital vigila tu página automáticamente y te avisa por correo (",h.jsx("b",{"data-loc":"client/src/pages/Admin.tsx:1468",children:"[email protected]"}),") cada vez que detecta:"]}),h.jsxs("ul",{"data-loc":"client/src/pages/Admin.tsx:1470",className:"list-disc list-inside text-muted-foreground space-y-0.5",children:[h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1471",children:"Intentos de acceso a rutas sensibles (.env, wp-admin, phpmyadmin, .git)"}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1472",children:"Inyecciones SQL o scripts maliciosos (XSS)"}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1473",children:"Herramientas automatizadas de hackeo (sqlmap, nikto, nmap, etc.)"}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1474",children:"Scraping masivo de tu información (más de 250 peticiones por minuto)"}),h.jsx("li",{"data-loc":"client/src/pages/Admin.tsx:1475",children:"Suplantación o accesos no autorizados al panel admin"})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1477",className:"pt-2",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1478",onClick:()=>n.mutate(),disabled:n.isPending,className:"gradient-mystic text-white",children:[n.isPending?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1479",className:"w-4 h-4 mr-1 animate-spin"}):h.jsx(On,{"data-loc":"client/src/pages/Admin.tsx:1479",className:"w-4 h-4 mr-1"}),"Enviar alerta de prueba a mi correo"]})})]})]})}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1486",className:"space-y-2",children:[h.jsxs("h2",{"data-loc":"client/src/pages/Admin.tsx:1487",className:"font-display text-xl text-[var(--mystic-deep)]",children:["Historial de alertas (",(e||[]).length,")"]}),(e||[]).length===0?h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1489",className:"p-6 text-center text-muted-foreground",children:"Sin alertas registradas. El Guardián está activo y vigilando."}):(e||[]).map(a=>h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1494",className:`p-3 border-l-4 ${a.severity==="critico"?"border-l-red-500":a.severity==="warn"?"border-l-amber-500":"border-l-blue-500"}`,children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1495",className:"flex items-start justify-between gap-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1496",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1497",className:"font-semibold text-sm",children:a.title}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1498",className:"text-xs text-muted-foreground",children:a.detail}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1499",className:"text-[11px] text-muted-foreground mt-1",children:["IP ",a.ip||"?"," · Ruta ",a.path||"?"," · ",new Date(a.createdAt).toLocaleStr
977ing()]})]}),!a.resolved&&h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1504",size:"sm",variant:"outline",onClick:()=>r.mutateAsync({id:a.id}),children:"Marcar resuelta"})]})},a.id))]})]})}function Qle(){const e=De.useUtils(),{data:t,isLoading:n}=De.blog.listAll.useQuery(),[r,a]=T.useState(""),[s,o]=T.useState(!1),c=De.blog.autoGenerate.useMutation(),u=De.blog.delete.useMutation(),f=De.blog.update.useMutation(),p=async()=>{if(!r.trim()){Ue.error("Escribe un tema para el artÃculo");return}o(!0);try{const m=await c.mutateAsync({topic:r.trim(),category:"esoterismo"});Ue.success(`ArtÃculo creado: ${m.title}`),a(""),e.blog.listAll.invalidate(),e.blog.list.invalidate()}catch(m){Ue.error("No se pudo generar: "+m.message)}finally{o(!1)}};return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1548",className:"space-y-6",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1549",children:[h.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:1550",className:"font-display text-3xl text-[var(--mystic-deep)] mb-1",children:"Blog SEO"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1551",className:"text-sm text-muted-foreground",children:"Cada artÃculo aquà publicado se indexa en Google y atrae visitas a tu sitio. La IA escribe el contenido completo en español, con meta descripción, keywords e imagen de portada."})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1556",className:"p-5 border-[var(--gold)]/30",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1557",className:"flex items-center gap-2 mb-3",children:[h.jsx(SA,{"data-loc":"client/src/pages/Admin.tsx:1558",className:"w-5 h-5 text-gold"}),h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:1559",className:"font-semibold",children:"Generar artÃculo automático con IA"})]}),h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1561",className:"text-xs",children:"Tema del artÃculo"}),h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:1562",placeholder:"Ej: Cómo abrir caminos con un ritual de canela y miel",value:r,onChange:m=>a(m.target.value),rows:2,className:"mt-1"}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1569",onClick:p,disabled:s,className:"mt-3 gradient-mystic text-white",children:[s?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1570",className:"w-4 h-4 mr-2 animate-spin"}):h.jsx(On,{"data-loc":"client/src/pages/Admin.tsx:1570",className:"w-4 h-4 mr-2"}),"Generar y publicar artÃculo SEO"]}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1573",className:"text-xs text-muted-foreground mt-2",children:'Demora ~30 segundos. El artÃculo se publica con tu firma "Kharen Nitza Ormazabal" y un CTA a tu WhatsApp.'})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1578",children:[h.jsxs("h3",{"data-loc":"client/src/pages/Admin.tsx:1579",className:"font-semibold mb-3",children:["ArtÃculos publicados (",t?.length??0,")"]}),n&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1580",className:"w-5 h-5 animate-spin text-gold"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1581",className:"space-y-2",children:(t??[]).map(m=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1583",className:"p-4 border-[var(--gold)]/25 flex items-start gap-3",children:[m.imageUrl?h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:1585",src:m.imageUrl,alt:"",className:"w-16 h-16 rounded object-cover"}):h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1587",className:"w-16 h-16 rounded bg-[var(--gold)]/15 flex items-center justify-center",children:h.jsx(_v,{"data-loc":"client/src/pages/Admin.tsx:1588",className:"w-6 h-6 text-gold"})}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1591",className:"flex-1 min-w-0",children:[h.jsxs("a",{"data-loc":"client/src/pages/Admin.tsx:1592",href:`/blog/${m.slug}`,target:"_blank",rel:"noreferrer",className:"font-medium hover:text-gold",children:[m.title," ",h.jsx(wv,{"data-loc":"client/src/pages/Admin.tsx:1593",className:"inline w-3 h-3"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1595",className:"text-xs text-muted-foreground line-clamp-1",children:["/blog/",m.slug," · ",m.readingMinutes," min · ",m.views??0," vistas"]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1597",className:"flex gap-2",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1598",size:"sm",variant:"outline",onClick:()=>{f.mutate({id:m.id,data:{visible:!m.visible}},{onSuccess:()=>
977{Ue.success(m.visible?"Oculto":"Visible"),e.blog.listAll.invalidate()}})},children:m.visible?"Ocultar":"Mostrar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1603",size:"sm",variant:"outline",onClick:()=>{confirm("¿Eliminar este artÃculo?")&&u.mutate({id:m.id},{onSuccess:()=>{Ue.success("Eliminado"),e.blog.listAll.invalidate()}})},children:h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:1606",className:"w-3.5 h-3.5"})})]})]},m.id))})]})]})}function Wle(){const e=De.useUtils(),{data:t,isLoading:n}=De.contentCalendar.list.useQuery(),r=De.contentCalendar.markPosted.useMutation(),a=De.contentCalendar.skip.useMutation(),s=T.useMemo(()=>{const p=new Map;return(t??[]).forEach(m=>{const x=new Date(m.scheduledDate).toLocaleDateString("es-CL",{weekday:"long",day:"numeric",month:"long"});p.has(x)||p.set(x,[]),p.get(x).push(m)}),Array.from(p.entries())},[t]),o=p=>{const m={pinterest:"bg-red-100 text-red-700",instagram:"bg-pink-100 text-pink-700",tiktok:"bg-black text-white",facebook:"bg-blue-100 text-blue-700"};return h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1640",className:`px-2 py-0.5 rounded-full text-[10px] font-bold uppercase ${m[p]??"bg-muted"}`,children:p})},c=p=>{const m=[];p.platform==="pinterest"&&p.pinTitle&&m.push(`TÃtulo del Pin: ${p.pinTitle}`),m.push(p.caption),p.hashtags&&m.push(` 978`+p.hashtags),p.destinationUrl&&m.push(` 979Link: `+p.destinationUrl),navigator.clipboard.writeText(m.join(` 980`)),Ue.success("Copiado · pega en "+p.platform)},u=(t??[]).filter(p=>p.status==="pendiente").length,f=(t??[]).filter(p=>p.status==="publicado").length;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1657",className:"space-y-6",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1658",children:[h.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:1659",className:"font-display text-3xl text-[var(--mystic-deep)] mb-1",children:"Calendario Redes Sociales"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1660",className:"text-sm text-muted-foreground",children:"30 publicaciones programadas para los próximos 30 dÃas entre Pinterest, Instagram y TikTok. Cada dÃa abre la tarjeta del dÃa, copia el texto y sube la imagen ya lista."}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1663",className:"flex gap-3 mt-3 text-sm",children:[h.jsxs("span",{"data-loc":"client/src/pages/Admin.tsx:1664",className:"px-3 py-1 rounded-full bg-amber-100 text-amber-800",children:["â³ ",u," pendientes"]}),h.jsxs("span",{"data-loc":"client/src/pages/Admin.tsx:1665",className:"px-3 py-1 rounded-full bg-green-100 text-green-800",children:[h.jsx(Tc,{"data-loc":"client/src/pages/Admin.tsx:1665",className:"inline w-3 h-3 mr-1"}),f," publicadas"]})]})]}),n&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1669",className:"w-5 h-5 animate-spin text-gold"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1671",className:"space-y-6",children:s.map(([p,m])=>h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1673",children:[h.jsxs("h3",{"data-loc":"client/src/pages/Admin.tsx:1674",className:"font-semibold capitalize text-[var(--mystic-deep)] mb-2 flex items-center gap-2",children:[h.jsx(Qm,{"data-loc":"client/src/pages/Admin.tsx:1675",className:"w-4 h-4 text-gold"})," ",p]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1677",className:"grid md:grid-cols-2 gap-3",children:(m??[]).map(x=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1679",className:`p-4 border-[var(--gold)]/25 ${x.status==="publicado"?"opacity-60":""}`,children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1680",className:"flex items-start gap-3",children:[x.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/Admin.tsx:1682",src:x.imageUrl,alt:"",className:"w-20 h-20 rounded object-cover"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1684",className:"flex-1 min-w-0",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1685",className:"flex items-center gap-2 mb-1",children:[o(x.platform),h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1687",className:"text-xs text-muted-foreground",children:new Date(x.scheduledDate).toLocaleTimeString("es-CL",{hour:"2-digit",minute:"2-digit"})})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1689",className:"font-medium text-sm",children:x.theme}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1690",className:"text-xs text-muted-foreground line-clamp-3 mt-1",children:x.caption})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1693",className:"flex gap-2 mt-3",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1694",size:"sm",variant:"outline",onClick:()=>c(x),children:[h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1695",className:"w-3.5 h-3.5 mr-1"})," Copiar texto"]}),x.imageUrl&&h.jsx("a",{"data-loc":"client/src/pages/Admin.tsx:1698",href:x.imageUrl,download:!0,target:"_blank",rel:"noreferrer",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1699",size:"sm",variant:"outline",children:[h.jsx(Fh,{"data-loc":"client/src/pages/Admin.tsx:1699",className:"w-3.5 h-3.5 mr-1"})," Imagen"]})}),x.status!=="publicado"?h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1703",size:"sm",className:"gradient-mystic text-white",onClick:()=>r.mutate({id:x.id},{onSuccess:()=>{Ue.success("Marcada como publicada"),e.contentCalendar.list.invali
980date()}}),children:[h.jsx(Tc,{"data-loc":"client/src/pages/Admin.tsx:1704",className:"w-3.5 h-3.5 mr-1"})," Publicada"]}):h.jsxs("span",{"data-loc":"client/src/pages/Admin.tsx:1707",className:"text-xs text-green-700 self-center",children:[h.jsx(Tc,{"data-loc":"client/src/pages/Admin.tsx:1707",className:"inline w-3 h-3"})," Publicada"]}),x.status==="pendiente"&&h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1710",size:"sm",variant:"ghost",onClick:()=>a.mutate({id:x.id},{onSuccess:()=>e.contentCalendar.list.invalidate()}),children:"Saltar"})]})]},x.id))})]},p))})]})}function Kle(){const[e,t]=T.useState("pendiente"),n=De.useUtils(),{data:r,isLoading:a}=De.seo.list.useQuery(e==="all"?void 0:{status:e}),s=De.seo.setStatus.useMutation({onSuccess:()=>n.seo.list.invalidate()}),o={reddit:"Reddit",facebook_group:"Grupo Facebook",directory:"Directorio",blog_comment:"Comentario en blog",pinterest:"Pinterest",instagram:"Instagram",tiktok:"TikTok",foro:"Foro",quora:"Quora"},c={reddit:"bg-orange-500/20 text-orange-200 border-orange-500/40",facebook_group:"bg-blue-500/20 text-blue-200 border-blue-500/40",directory:"bg-emerald-500/20 text-emerald-200 border-emerald-500/40",blog_comment:"bg-purple-500/20 text-purple-200 border-purple-500/40",pinterest:"bg-red-500/20 text-red-200 border-red-500/40",instagram:"bg-pink-500/20 text-pink-200 border-pink-500/40",tiktok:"bg-zinc-500/20 text-zinc-200 border-zinc-500/40",foro:"bg-cyan-500/20 text-cyan-200 border-cyan-500/40",quora:"bg-rose-500/20 text-rose-200 border-rose-500/40"},u=p=>{navigator.clipboard.writeText(p).then(()=>Ue.success("Copiado al portapapeles â¨"))},f=T.useMemo(()=>r?{total:r.length,pendiente:r.filter(p=>p.status==="pendiente").length,publicado:r.filter(p=>p.status==="publicado").length,saltado:r.filter(p=>p.status==="saltado").length}:{total:0,pendiente:0,publicado:0,saltado:0},[r]);return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1774",className:"space-y-6",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1775",children:[h.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:1776",className:"font-display text-3xl text-[var(--mystic-deep)]",children:"Posicionamiento SEO ð"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1777",className:"text-muted-foreground mt-2 max-w-3xl",children:'Lugares reales donde sembrar enlaces a tu sitio y blog para que Google y los buscadores te posicionen rápido. Cada tarjeta tiene el texto listo para copiar y pegar. Solo abre el link, pega el texto, y marca como "Publicado". Los buscadores ya recibieron tu sitio (IndexNow â).'})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1784",className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1785",className:"p-4 bg-card/60",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1785",className:"text-xs text-muted-foreground",children:"Total"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1785",className:"text-2xl font-bold",children:f.total})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1786",className:"p-4 bg-card/60",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1786",className:"text-xs text-muted-foreground",children:"Pendientes"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1786",className:"text-2xl font-bold text-amber-400",children:f.pendiente})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1787",className:"p-4 bg-card/60",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1787",className:"text-xs text-muted-foreground",children:"Publicados"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1787",className:"text-2xl font-bold text-emerald-400",children:f.publicado})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1788",className:"p-4 bg-card/60",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1788",className:"text-xs text-muted-foreground",children:"Omitidos"}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1788",className:"text-2xl font-bold text-muted-foreground",children:f.saltado})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1791",className:"flex flex-wrap gap-2",children:["pendiente","publicado","saltado","all"].map(p=>h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1793",variant:e===p?"default":"outline",size:"sm",onClick:()=>t(p),children:p==="all"?"Todos":p.charAt(0).toUpperCase()+p.slice(1)},p))}),a&&h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1804",className:"text-center py-8",children:h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1804",className:"w-6 h-6 animate-spin inline"})}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1806",className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:r?.map(p=>h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1808",className:"p-5 bg-card/70 border-[var(--gold)]/20 space-y-3",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1809",className:"flex items-start justify-between gap-2",children:h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1810",className:"flex-1 min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1811",className:`inline-block px-2 py-0.5 rounded text-xs border ${c[p.platform]??""} mb-2`,children:o[p.platform]??p.platform}),h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:1814",className:"font-semibold text-base",children:p.siteName}),h.jsxs("a",{"data-loc":"client/src/pages/Admin.tsx:1815",href:p.url,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-[var(--gold)] hover:underline break-all flex items-center gap-1 mt-1",children:[h.jsx(wv,{"data-loc":"client/src/pages/Admin.tsx:1821",className:"w-3 h-3 inline"})," ",p.url]}),p.audience&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1824",className:"text-xs text-muted-foreground mt-1",children:["Público: ",p.audience]})]})}),p.postTitle&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1830",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1831",className:"text-xs text-muted-foreground",children:"TÃtulo / Asunto"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1832",className:"flex items-center gap-2 mt-1",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1833",className:"flex-1 text-sm bg-background/40 px-3 py-2 rounded border border-border/40 truncate",children:p.postTitle}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1836",size:"sm",variant:"outline",onClick:()=>u(p.postTitle),children:h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1837",className:"w-3 h-3"})})]})]}),p.postBody&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1844",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1845",className:"text-xs text-muted-foreground",children:"Cuerpo del mensaje"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1846",className:"mt-1 relative",children:[h.jsx(xs,{"data-loc":"client/src/pages/Admin.tsx:1847",readOnly:!0,value:p.postBody,
980className:"min-h-[110px] text-xs bg-background/40 resize-none"}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1852",size:"sm",variant:"outline",className:"absolute top-2 right-2",onClick:()=>u(p.postBody),children:[h.jsx(Mc,{"data-loc":"client/src/pages/Admin.tsx:1858",className:"w-3 h-3"})," Copiar"]})]})]}),p.notes&&h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1865",className:"text-xs text-amber-300/80 bg-amber-500/10 border border-amber-500/30 rounded px-3 py-2",children:["â ",p.notes]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1870",className:"flex flex-wrap gap-2 pt-2 border-t border-border/30",children:p.status==="pendiente"?h.jsxs(h.Fragment,{children:[h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1873",size:"sm",onClick:()=>s.mutate({id:p.id,status:"publicado"}),children:[h.jsx(Tc,{"data-loc":"client/src/pages/Admin.tsx:1874",className:"w-3 h-3 mr-1"})," Marcar publicado"]}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1876",size:"sm",variant:"outline",onClick:()=>s.mutate({id:p.id,status:"saltado"}),children:"Omitir"})]}):h.jsxs(h.Fragment,{children:[h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:1882",className:`text-xs px-2 py-1 rounded ${p.status==="publicado"?"bg-emerald-500/20 text-emerald-300":"bg-zinc-500/20 text-muted-foreground"}`,children:p.status==="publicado"?"â Publicado":"Omitido"}),h.jsx(Ae,{"data-loc":"client/src/pages/Admin.tsx:1885",size:"sm",variant:"outline",onClick:()=>s.mutate({id:p.id,status:"pendiente"}),children:"Reabrir"})]})})]},p.id))}),r&&r.length===0&&h.jsx(Je,{"data-loc":"client/src/pages/Admin.tsx:1896",className:"p-10 text-center text-muted-foreground",children:e==="pendiente"?"ð ¡Excelente! No quedan publicaciones pendientes.":"Sin resultados en este filtro."})]})}function Xle(){const{user:e}=b4(),t=De.useUtils(),n=De.team.list.useQuery(void 0,{retry:!1}),r=De.team.invite.useMutation({onSuccess:()=>{t.team.list.invalidate(),Ue.success("Colaborador invitado"),o(""),u("")},onError:m=>Ue.error(m.message)}),a=De.team.revoke.useMutation({onSuccess:()=>{t.team.list.invalidate(),Ue.success("Acceso revocado")},onError:m=>Ue.error(m.message)}),[s,o]=T.useState(""),[c,u]=T.useState("");if(n.error)return h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1933",className:"max-w-2xl mx-auto p-6",children:h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1934",className:"p-6 bg-rose-50 border-rose-200",children:[h.jsx("h3",{"data-loc":"client/src/pages/Admin.tsx:1935",className:"font-display text-xl text-rose-900 mb-2",children:"Acceso restringido"}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1936",className:"text-rose-800 text-sm",children:"Solo la propietaria del sitio (Kharen) puede gestionar el equipo. Si tú eres Kharen y ves esto, asegúrate de haber iniciado sesión con tu cuenta de propietaria."})]})});const f=n.data,p=!!f&&e?.openId===f.ownerOpenId;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1949",className:"max-w-3xl mx-auto p-6 space-y-6",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1950",children:[h.jsxs("h2",{"data-loc":"client/src/pages/Admin.tsx:1951",className:"font-display text-3xl text-[var(--mystic-deep)] mb-2 flex items-center gap-2",children:[h.jsx(AA,{"data-loc":"client/src/pages/Admin.tsx:1952",className:"w-6 h-6 text-[var(--gold)]"})," Equipo y colaboradores"]}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1954",className:"text-sm text-muted-foreground",children:"Aquà puedes autorizar a otras personas para que entren al panel admin sin compartir tu clave. Cada persona usa su propia cuenta de Manus. Si después ya no trabaja contigo, le quitas el acceso con un click."})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1960",className:"p-5 space-y-4 bg-gradient-to-br from-white to-[var(--gold)]/5 border-[var(--gold)]/30",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1961",className:"font-display text-lg text-[var(--mystic-deep)]",children:"Invitar colaborador"}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1962",className:"grid gap-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1963",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1964",htmlFor:"invite-email",children:"Correo de la persona"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1965",id:"invite-email",type:"email",placeholder:"ej: [email protected]",value:s,onChange:m=>o(m.target.value)})]}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:1973",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Admin.tsx:1974",htmlFor:"invite-note",children:"Nota (opcional)"}),h.jsx(ut,{"data-loc":"client/src/pages/Admin.tsx:1975",id:"invite-note",placeholder:"ej: asistente de redes sociales",value:c,onChange:m=>u(m.target.value)})]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:1982",className:"gradient-mystic text-white",disabled:!s||r.isPending||!p,onClick:()=>r.mutate({email:s.trim(),note:c.trim()||void 0}),children:[r.isPending?h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1987",className:"w-4 h-4 animate-spin mr-2"}):h.jsx(Tv,{"data-loc":"client/src/pages/Admin.tsx:1987",className:"w-4 h-4 mr-2"}),"Invitar"]}),h.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:1990",className:"text-xs text-muted-foreground",children:"La próxima vez que esa persona inicie sesión en https://esotericaisis.manus.space con ese correo, será promovida automáticamente a admin del sitio."})]})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:1997",className:"p-5 space-y-3",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:1998",className:"font-display text-lg text-[var(--mystic-deep)]",children:"Administradores activos"}),n.isLoading&&h.jsx(Yn,{"data-loc":"client/src/pages/Admin.tsx:1999",className:"w-5 h-5 animate-spin text-[var(--gold)]"}),f?.admins&&f.admins.length>0?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2001",className:"space-y-2",children:f.admins.map(m=>{const x=m.openId===f.ownerOpenId;return h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2005",className:"flex items-center justify-between gap-3 p-3 rounded-lg border bg-card",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2006",className:"min-w-0",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2007",className:"font-medium truncate",children:[m.name||m.email||`Usuario #${m.id}`,x&&h.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:2009",className:"ml-2 text-xs bg-[var(--gold)]/20 text-[var(--mystic-deep)] px-2 py-0.5 rounded-full",children:"Propietaria"})]}),h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2011",className:"text-xs text-muted-foreground truncate",children:m.email||"(sin correo)"})]}),!x&&m.email&&h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:2014",size:"sm",variant:"outline",className:"text-rose-700 border-rose-300 hover:bg-rose-50",disabled:a.isPending,onClick:()=>{confirm(`¿Seguro que quieres quitar el acceso de admin a ${m.email}?`)&&a.mutate({email:m.email})},children:[h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:2025",className:"w-4 h-4 mr-1"})," Revocar"]})]},m.id)})}):!n.isLoading&&h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2033",className:"text-sm text-muted-foreground",children:"Aún no hay administradores activos."})]}),h.jsxs(Je,{"data-loc":"client/src/pages/Admin.tsx:2037",className:"p-5 space-y-3",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2038",className:"font-display text-lg text-[var(--mystic-deep)]",children:"Invitaciones"}),f?.invites&&f.invites.length>0?h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2040",className:"space-y-2",children:f.invites.map(m=>h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2042",className:"flex items-center justify-between gap-3 p-3 rounded-lg border bg-card",children:[h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2043",className:"min-w-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2044",className:"font-medium truncate",children:m.email}),h.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:2045",className:"text-xs text-muted-foreground truncate",children:[m.status==="pending"&&"Esperando primer inicio de sesión",m.status==="accepted"&&"Aceptada · ya es admin",m.status==="revoked"&&"Revocada",m.note?` · ${m.note}`:""]})]}),m.status!=="revoked"&&h.jsxs(Ae,{"data-loc":"client/src/pages/Admin.tsx:2053",size:"sm",variant:"outline",className:"text-rose-700 border-rose-300 hover:bg-rose-50",disabled:a.isPending,onClick:()=>{confirm(`¿Revocar invitación de ${m.email}?`)&&a.mutate({email:m.email})},children:[h.jsx(vs,{"data-loc":"client/src/pages/Admin.tsx:2064",className:"w-4 h-4 mr-1"})," Revocar"]})]},m.id))}):!n.isLoading&&h.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:2071",className:"text-sm text-muted-foreground",children:"Aún no enviaste invitaciones."})]})]})}function Zle(){const{data:e}=De.settings.getAll.useQuery(),t=e?.social_instagram||"#",n=e?.social_facebook||"#",r=e?.social_youtube||"#",a=e?.social_linkedin||"",s=e?.social_tiktok||"",o=e?.contact_email,c=e?.contact_whatsapp;return h.jsxs("footer",{"data-loc":"client/src/components/Footer.tsx:15",className:"mt-20 border-t border-[var(--gold)]/30 bg-background/60",children:[h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:16",className:"container py-12 grid md:grid-cols-3 gap-10",children:[h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:17",children:[h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:18",className:"flex items-center gap-2 mb-3",children:[h.jsx("div",{"data-loc":"client/src/components/Footer.tsx:19",className:"w-9 h-9 rounded-full gradient-mystic flex items-center justify-center",children:h.jsx(On,{"data-loc":"client/src/components/Footer.tsx:20",className:"w-5 h-5 text-[var(--gold)]"})}),h.jsx("div",{"data-loc":"client/src/components/Footer.tsx:22",className:"font-display text-xl text-[var(--mystic-deep)]",children:"Esotérica Isis"})]}),h.jsx("p",{"data-loc":"client/src/components/Footer.tsx:24",className:"text-sm text-muted-foreground leading-relaxed",children:"Espacio sagrado de Kharen Nitza Ormazábal Morales. SabidurÃa ancestral, magia luminosa y sanación para el alma."})]}),h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:29",children:[h.jsx("h4",{"data-loc":"client/src/components/Footer.tsx:30",className:"font-display text-lg text-[var(--mystic-deep)] mb-3",children:"Contacto"}),h.jsxs("ul",{"data-loc":"client/src/components/Footer.tsx:31",className:"space-y-2 text-sm text-muted-foreground",children:[o&&h.jsxs("li",{"data-loc":"client/src/components/Footer.tsx:33",className:"flex items-center gap-2",children:[h.jsx($h,{"data-loc":"client/src/components/Footer.tsx:34",className:"w-4 h-4 text-gold"}),h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:35",href:`mailto:${o}`,className:"hover:text-[var(--mystic-deep)]",children:o})]}),c&&h.jsxs("li",{"data-loc":"client/src/components/Footer.tsx:39",className:"flex items-center gap-2",children:[h.jsx(FB,{"data-loc":"client/src/components/Footer.tsx:40",className:"w-4 h-4 text-gold"}),h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:41",href:`https://wa.me/${c.replace(/\D/g,"")}`,target:"_blank",rel:"noreferrer",className:"hover:text-[var(--mystic-deep)]",children:c})]})]})]}),h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:47",children:[h.jsx("h4",{"data-loc":"client/src/components/Footer.tsx:48",className:"font-display text-lg text-[var(--mystic-deep)] mb-3",children:"SÃgueme"}),h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:49",className:"flex items-center gap-3",children:[h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:50",href:t,target:"_blank",rel:"noreferrer",className:"w-10 h-10 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15 transition-colors","aria-label":"Instagram",children:h.jsx(LB,{"data-loc":"client/src/components/Footer.tsx:51",className:"w-5 h-5 text-[var(--mystic-deep)]"})}),h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:53",href:n,target:"_blank",rel:"noreferrer",className:"w-10 h-10 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15 transition-colors","aria-label":"Facebook",children:h.jsx(DB,{"data-loc":"client/src/components/Footer.tsx:54",className:"w-5 h-5 text-[var(--mystic-deep)]"})}),r!=="#"&&h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:57",href:r,target:"_blank",rel:"noreferrer",className:"w-10 h-10 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15 transition-colors","aria-label":"YouTube",children:h.jsx(XB,{"data-loc":"client/src/components/Footer.tsx:58",className:"w-5 h-5 text-[var(--mystic-deep)]"})}),a&&h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:62",href:a,target:"_blank",rel:"noreferrer",className:"w-10 h-10 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15 transition-colors","aria-label":"LinkedIn",children:h.jsx(jB,{"data-loc":"client/src/components/Footer.tsx:63",className:"w-5 h-5 text-[var(--mystic-deep)]"})}),s&&h.jsx("a",{"data-loc":"client/src/components/Footer.tsx:67",href:s,target:"_blank",rel:"noreferrer",className:"w-10 h-10 rounded-full border border-[var(--gold)]/40 flex items-center justify-center hover:bg-[var(--gold)]/15 transition-colors","aria-label":"TikTok",children:h.jsx("svg",{"data-loc":"client/src/components/Footer.tsx:68",viewBox:"0 0 24 24",className:"w-5 h-5 text-[var(--mystic-deep)]",fill:"currentColor","aria-hidden":"true",children:h.jsx("path",{"data-loc":"client/src/components/Footer.tsx:69",d:"M19.5 7.5a6.5 6.5 0 01-3.8-1.2v8.2a5.5 5.5 0 11-5.5-5.5c.3 0 .6 0 .9.1v2.7a2.8 2.8 0 102 2.7V2h2.7a3.8 3.8 0 003.7 3.5z"})})})]})]})]}),h.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:76",className:"border-t border-[var(--gold)]/20 py-4 text-center text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," Esotérica Isis · Kharen Nitza Ormazábal Morales · Hecho con magia y amor."]})]})}function Jle({centerImage:e}){const t=T.useRef(null),[n,r]=T.useState({x:0,y:0});T.useEffect(()=>{const u=f=>{const p=t.current;
980if(!p)return;const m=p.getBoundingClientRect(),x=(f.clientX-m.left-m.width/2)/m.width,v=(f.clientY-m.top-m.height/2)/m.height;r({x:Math.max(-.5,Math.min(.5,x)),y:Math.max(-.5,Math.min(.5,v))})};return window.addEventListener("mousemove",u),()=>window.removeEventListener("mousemove",u)},[]);const a=n.x*30,s=n.y*30,o=-n.y*8,c=n.x*8;return h.jsxs("div",{"data-loc":"client/src/components/HeroAnimation.tsx:30",ref:t,className:"relative w-full aspect-[4/5] sm:aspect-[3/4] perspective-deep",style:{perspective:"1500px"},children:[h.jsx("div",{"data-loc":"client/src/components/HeroAnimation.tsx:36",className:"absolute inset-8 rounded-full animate-pulse-glow",style:{background:"radial-gradient(circle, oklch(0.9 0.15 85 / 0.7), oklch(0.78 0.14 305 / 0.4) 50%, transparent 70%)",filter:"blur(40px)"}}),h.jsx("div",{"data-loc":"client/src/components/HeroAnimation.tsx:46",className:"absolute inset-6 rounded-full border-2 border-dashed border-[var(--gold)]/40 animate-spin-slow",style:{transform:`translate3d(${a*.4}px, ${s*.4}px, 0)`}}),h.jsx("div",{"data-loc":"client/src/components/HeroAnimation.tsx:50",className:"absolute inset-12 rounded-full border border-[var(--gold)]/30 animate-spin-slow",style:{animationDirection:"reverse",animationDuration:"80s"}}),h.jsxs("div",{"data-loc":"client/src/components/HeroAnimation.tsx:56",className:"absolute inset-4 rounded-3xl overflow-hidden shadow-mystic border border-[var(--gold)]/30",style:{transform:`perspective(1500px) rotateX(${o}deg) rotateY(${c}deg) translate3d(${a*.3}px, ${s*.3}px, 0)`,transition:"transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1)",transformStyle:"preserve-3d",background:"linear-gradient(160deg, oklch(0.96 0.04 305) 0%, oklch(0.94 0.06 85 / 0.6) 50%, oklch(0.96 0.05 195 / 0.6) 100%)"},children:[h.jsx("img",{"data-loc":"client/src/components/HeroAnimation.tsx:66",src:e,alt:"Kharen Nitza Ormazábal Morales - Esotérica Isis",className:"w-full h-full object-contain",loading:"eager",decoding:"async",fetchPriority:"high",style:{transform:"translateZ(40px)"},onError:u=>{const f=u.currentTarget;f.dataset.fallback||(f.dataset.fallback="1",f.src="/manus-storage/kharen-real-mobile_34bc3f54.webp")}}),h.jsx("div",{"data-loc":"client/src/components/HeroAnimation.tsx:82",className:"pointer-events-none absolute inset-0 bg-gradient-to-t from-[var(--mystic-deep)]/20 via-transparent to-transparent"})]}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:86",emoji:"â¨",className:"top-2 left-4 text-4xl animate-float-slow",style:{transform:`translate3d(${a*1.2}px, ${s*1.2}px, 0)`}}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:91",emoji:"ð",className:"top-8 right-4 text-5xl animate-float-mid",style:{transform:`translate3d(${-a*1.4}px, ${-s*.8}px, 0)`}}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:96",emoji:"ð®",className:"bottom-12 left-2 text-4xl animate-float-fast",style:{transform:`translate3d(${a*1.5}px, ${-s*1.5}px, 0)`}}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:101",emoji:"ðª·",className:"bottom-4 right-8 text-4xl animate-float-slow",style:{transform:`translate3d(${-a*.9}px, ${s*1.3}px, 0)`}}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:106",emoji:"â",className:"top-1/3 right-0 text-2xl animate-sparkle",style:{transform:`translate3d(${-a*2}px, ${s*.6}px, 0)`}}),h.jsx(xc,{"data-loc":"client/src/components/HeroAnimation.tsx:111",emoji:"â¦",className:"top-2/3 left-0 text-3xl text-[var(--gold)] animate-sparkle",style:{animationDelay:"1s",transform:`translate3d(${a*1.8}px, ${-s*.6}px, 0)`}})]})}function xc({emoji:e,className:t,style:n}){return h.jsx("div",{"data-loc":"client/src/components/HeroAnimation.tsx:130",className:`absolute pointer-events-none drop-shadow-[0_4px_16px_rgba(180,120,255,0.4)] ${t??""}`,style:n,children:e})}var Rb="rovingFocusGroup.onEntryFocus",ece={bubbles:!1,cancelable:!0},S0="RovingFocusGroup",[iv,AO,tce]=v4(S0),[nce,Vp]=qa(S0,[tce]),[rce,ace]=nce(S0),SO=T.forwardRef((e,t)=>h.jsx(iv.Provider,{scope:e.__scopeRovingFocusGroup,children:h.jsx(iv.Slot,{scope:e.__scopeRovingFocusGroup,children:h.jsx(sce,{...e,ref:t})})}));SO.displayName=S0;var sce=T.forwardRef((e,t)=>
vendor: 4,189 bytes, line 980
980{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:s,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:f,preventScrollOnEntryFocus:p=!1,...m}=e,x=T.useRef(null),v=Dt(t,x),E=Hp(s),[_,k]=ro({prop:o,defaultProp:c??null,onChange:u,caller:S0}),[S,O]=T.useState(!1),R=ys(f),q=AO(n),H=T.useRef(!1),[L,M]=T.useState(0);return T.useEffect(()=>{const B=x.current;if(B)return B.addEventListener(Rb,R),()=>B.removeEventListener(Rb,R)},[R]),h.jsx(rce,{scope:n,orientation:r,dir:E,loop:a,currentTabStopId:_,onItemFocus:T.useCallback(B=>k(B),[k]),onItemShiftTab:T.useCallback(()=>O(!0),[]),onFocusableItemAdd:T.useCallback(()=>M(B=>B+1),[]),onFocusableItemRemove:T.useCallback(()=>M(B=>B-1),[]),children:h.jsx(ot.div,{tabIndex:S||L===0?-1:0,"data-orientation":r,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:qe(e.onMouseDown,()=>{H.current=!0}),onFocus:qe(e.onFocus,B=>{const Z=!H.current;if(B.target===B.currentTarget&&Z&&!S){const Y=new CustomEvent(Rb,ece);if(B.currentTarget.dispatchEvent(Y),!Y.defaultPrevented){const ae=q().filter($=>$.focusable),ne=ae.find($=>$.active),he=ae.find($=>$.id===_),pe=[ne,he,...ae].filter(Boolean).map($=>$.ref.current);NO(pe,p)}}H.current=!1}),onBlur:qe(e.onBlur,()=>O(!1))})})}),CO="RovingFocusGroupItem",kO=T.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:s,children:o,...c}=e,u=gs(),f=s||u,p=ace(CO,n),m=p.currentTabStopId===f,x=AO(n),{onFocusableItemAdd:v,onFocusableItemRemove:E,currentTabStopId:_}=p;return T.useEffect(()=>{if(r)return v(),()=>E()},[r,v,E]),h.jsx(iv.ItemSlot,{scope:n,id:f,focusable:r,active:a,children:h.jsx(ot.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:qe(e.onMouseDown,k=>{r?p.onItemFocus(f):k.preventDefault()}),onFocus:qe(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:qe(e.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){p.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const S=lce(k,p.orientation,p.dir);if(S!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let R=x().filter(q=>q.focusable).map(q=>q.ref.current);if(S==="last")R.reverse();else if(S==="prev"||S==="next"){S==="prev"&&R.reverse();const q=R.indexOf(k.currentTarget);R=p.loop?cce(R,q+1):R.slice(q+1)}setTimeout(()=>NO(R))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:_!=null}):o})})});kO.displayName=CO;var ice={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function oce(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function lce(e,t,n){const r=oce(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ice[r]}function NO(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function cce(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var RO=SO,OO=kO,ov=["Enter"," "],uce=["ArrowDown","PageUp","Home"],DO=["ArrowUp","PageDown","End"],dce=[...uce,...DO],fce={ltr:[...ov,"ArrowRight"],rtl:[...ov,"ArrowLeft"]},hce={ltr:["ArrowLeft"],rtl:["ArrowRight"]},C0="Menu",[e0,mce,pce]=v4(C0),[bl,IO]=qa(C0,[pce,ou,Vp]),Gp=ou(),MO=Vp(),[gce,vl]=bl(C0),[xce,k0]=bl(C0),PO=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:s,modal:o=!0}=e,c=Gp(t),[u,f]=T.useState(null),p=T.useRef(!1),m=ys(s),x=Hp(a);return T.useEffect(()=>{const v=()=>{p.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},E=()=>p.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),h.jsx(jR,{...c,children:h.jsx(gce,{scope:t,open:n,onOpenChange:m,content:u,onContentChange:f,children:h.jsx(xce,{scope:t,onClose:T.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:x,modal:o,children:r})})})};PO.displayName=C0;var bce="MenuAnchor",A4=T.forwardRef((e,t)=>
vendor: 13,593 bytes, line 980
980{const{__scopeMenu:n,...r}=e,a=Gp(n);return h.jsx(m4,{...a,...r,ref:t})});A4.displayName=bce;var S4="MenuPortal",[vce,LO]=bl(S4,{forceMount:void 0}),jO=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:a}=e,s=vl(S4,t);return h.jsx(vce,{scope:t,forceMount:n,children:h.jsx($a,{present:n||s.open,children:h.jsx(Zm,{asChild:!0,container:a,children:r})})})};jO.displayName=S4;var Ca="MenuContent",[yce,C4]=bl(Ca),BO=T.forwardRef((e,t)=>{const n=LO(Ca,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,s=vl(Ca,e.__scopeMenu),o=k0(Ca,e.__scopeMenu);return h.jsx(e0.Provider,{scope:e.__scopeMenu,children:h.jsx($a,{present:r||s.open,children:h.jsx(e0.Slot,{scope:e.__scopeMenu,children:o.modal?h.jsx(Ece,{...a,ref:t}):h.jsx(wce,{...a,ref:t})})})})}),Ece=T.forwardRef((e,t)=>{const n=vl(Ca,e.__scopeMenu),r=T.useRef(null),a=Dt(t,r);return T.useEffect(()=>{const s=r.current;if(s)return kv(s)},[]),h.jsx(k4,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:qe(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),wce=T.forwardRef((e,t)=>{const n=vl(Ca,e.__scopeMenu);return h.jsx(k4,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),_ce=Jo("MenuContent.ScrollLock"),k4=T.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEntryFocus:u,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:x,onDismiss:v,disableOutsideScroll:E,..._}=e,k=vl(Ca,n),S=k0(Ca,n),O=Gp(n),R=MO(n),q=mce(n),[H,L]=T.useState(null),M=T.useRef(null),B=Dt(t,M,k.onContentChange),Z=T.useRef(0),Y=T.useRef(""),ae=T.useRef(0),ne=T.useRef(null),he=T.useRef("right"),ie=T.useRef(0),pe=E?ep:T.Fragment,$=E?{as:_ce,allowPinchZoom:!0}:void 0,re=ge=>{const U=Y.current+ge,G=q().filter(be=>!be.disabled),oe=document.activeElement,D=G.find(be=>be.ref.current===oe)?.textValue,ce=G.map(be=>be.textValue),we=Pce(ce,U,D),Se=G.find(be=>be.textValue===we)?.ref.current;(function be(Pe){Y.current=Pe,window.clearTimeout(Z.current),Pe!==""&&(Z.current=window.setTimeout(()=>be(""),1e3))})(U),Se&&setTimeout(()=>Se.focus())};T.useEffect(()=>()=>window.clearTimeout(Z.current),[]),Cv();const J=T.useCallback(ge=>he.current===ne.current?.side&&jce(ge,ne.current?.area),[]);return h.jsx(yce,{scope:n,searchRef:Y,onItemEnter:T.useCallback(ge=>{J(ge)&&ge.preventDefault()},[J]),onItemLeave:T.useCallback(ge=>{J(ge)||(M.current?.focus(),L(null))},[J]),onTriggerLeave:T.useCallback(ge=>{J(ge)&&ge.preventDefault()},[J]),pointerGraceTimerRef:ae,onPointerGraceIntentChange:T.useCallback(ge=>{ne.current=ge},[]),children:h.jsx(pe,{...$,children:h.jsx(Xm,{asChild:!0,trapped:a,onMountAutoFocus:qe(s,ge=>{ge.preventDefault(),M.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:h.jsx(l0,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:x,onDismiss:v,children:h.jsx(RO,{asChild:!0,...R,dir:S.dir,orientation:"vertical",loop:r,currentTabStopId:H,onCurrentTabStopIdChange:L,onEntryFocus:qe(u,ge=>{S.isUsingKeyboardRef.current||ge.preventDefault()}),preventScrollOnEntryFocus:!0,children:h.jsx(p4,{role:"menu","aria-orientation":"vertical","data-state":eD(k.open),"data-radix-menu-content":"",dir:S.dir,...O,..._,ref:B,style:{outline:"none",..._.style},onKeyDown:qe(_.onKeyDown,ge=>{const G=ge.target.closest("[data-radix-menu-content]")===ge.currentTarget,oe=ge.ctrlKey||ge.altKey||ge.metaKey,D=ge.key.length===1;G&&(ge.key==="Tab"&&ge.preventDefault(),!oe&&D&&re(ge.key));const ce=M.current;if(ge.target!==ce||!dce.includes(ge.key))return;ge.preventDefault();const Se=q().filter(be=>!be.disabled).map(be=>be.ref.current);DO.includes(ge.key)&&Se.reverse(),Ice(Se)}),onBlur:qe(e.onBlur,ge=>{ge.currentTarget.contains(ge.target)||(window.clearTimeout(Z.current),Y.current="")}),onPointerMove:qe(e.onPointerMove,t0(ge=>{const U=ge.target,G=ie.current!==ge.clientX;if(ge.currentTarget.contains(U)&&G){const oe=ge.clientX>ie.current?"right":"left";he.current=oe,ie.current=ge.clientX}}))})})})})})})});BO.displayName=Ca;var Tce="MenuGroup",N4=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ot.div,{role:"group",...r,ref:t})});N4.displayName=Tce;var Ace="MenuLabel",zO=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ot.div,{...r,ref:t})});zO.displayName=Ace;var Im="MenuItem",U_="menu.itemSelect",Yp=T.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...a}=e,s=T.useRef(null),o=k0(Im,e.__scopeMenu),c=C4(Im,e.__scopeMenu),u=Dt(t,s),f=T.useRef(!1),p=()=>{const m=s.current;if(!n&&m){const x=new CustomEvent(U_,{bubbles:!0,cancelable:!0});m.addEventListener(U_,v=>r?.(v),{once:!0}),uA(m,x),x.defaultPrevented?f.current=!1:o.onClose()}};return h.jsx(HO,{...a,ref:u,disabled:n,onClick:qe(e.onClick,p),onPointerDown:m=>{e.onPointerDown?.(m),f.current=!0},onPointerUp:qe(e.onPointerUp,m=>{f.current||m.currentTarget?.click()}),onKeyDown:qe(e.onKeyDown,m=>{const x=c.searchRef.current!=="";n||x&&m.key===" "||ov.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});Yp.displayName=Im;var HO=T.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:a,...s}=e,o=C4(Im,n),c=MO(n),u=T.useRef(null),f=Dt(t,u),[p,m]=T.useState(!1),[x,v]=T.useState("");return T.useEffect(()=>{const E=u.current;E&&v((E.textContent??"").trim())},[s.children]),h.jsx(e0.ItemSlot,{scope:n,disabled:r,textValue:a??x,children:h.jsx(OO,{asChild:!0,...c,focusable:!r,children:h.jsx(ot.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:f,onPointerMove:qe(e.onPointerMove,t0(E=>{r?o.onItemLeave(E):(o.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:qe(e.onPointerLeave,t0(E=>o.onItemLeave(E))),onFocus:qe(e.onFocus,()=>m(!0)),onBlur:qe(e.onBlur,()=>m(!1))})})})}),Sce="MenuCheckboxItem",UO=T.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return h.jsx(GO,{scope:e.__scopeMenu,checked:n,children:h.jsx(Yp,{role:"menuitemcheckbox","aria-checked":Mm(n)?"mixed":n,...a,ref:t,"data-state":O4(n),onSelect:qe(a.onSelect,()=>r?.(Mm(n)?!0:!n),{checkForDefaultPrevented:!1})})})});UO.displayName=Sce;var FO="MenuRadioGroup",[Cce,kce]=bl(FO,{value:void 0,onValueChange:()=>{}}),qO=T.forwardRef((e,t)=>{const{value:n,onValueChange:r,...a}=e,s=ys(r);return h.jsx(Cce,{scope:e.__scopeMenu,value:n,onValueChange:s,children:h.jsx(N4,{...a,ref:t})})});qO.displayName=FO;var $O="MenuRadioItem",VO=T.forwardRef((e,t)=>{const{value:n,...r}=e,a=kce($O,e.__scopeMenu),s=n===a.value;return h.jsx(GO,{scope:e.__scopeMenu,checked:s,children:h.jsx(Yp,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":O4(s),onSelect:qe(r.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});VO.displayName=$O;var R4="MenuItemIndicator",[GO,Nce]=bl(R4,{checked:!1}),YO=T.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...a}=e,s=Nce(R4,n);return h.jsx($a,{present:r||Mm(s.checked)||s.checked===!0,children:h.jsx(ot.span,{...a,ref:t,"data-state":O4(s.checked)})})});YO.displayName=R4;var Rce="MenuSeparator",QO=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return h.jsx(ot.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});QO.displayName=Rce;var Oce="MenuArrow",WO=T.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=Gp(n);return h.jsx(g4,{...a,...r,ref:t})});WO.displayName=Oce;var Dce="MenuSub",[Fde,KO]=bl(Dce),vd="MenuSubTrigger",XO=T.forwardRef((e,t)=>{const n=vl(vd,e.__scopeMenu),r=k0(vd,e.__scopeMenu),a=KO(vd,e.__scopeMenu),s=C4(vd,e.__scopeMenu),o=T.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:u}=s,f={__scopeMenu:e.__scopeMenu},p=T.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return T.useEffect(()=>p,[p]),T.useEffect(()=>{const m=c.current;return()=>{window.clearTimeout(m),u(null)}},[c,u]),h.jsx(A4,{asChild:!0,...f,children:h.jsx(HO,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":eD(n.open),...e,ref:Vm(t,a.onTriggerChange),onClick:m=>{e.onClick?.(m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:qe(e.onPointerMove,t0(m=>{s.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(s.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:qe(e.onPointerLeave,t0(m=>{p();const x=n.content?.getBoundingClientRect();if(x){const v=n.content?.dataset.side,E=v==="right",_=E?-5:5,k=x[E?"left":"right"],S=x[E?"right":"left"];s.onPointerGraceIntentChange({area:[{x:m.clientX+_,y:m.clientY},{x:k,y:x.top},{x:S,y:x.top},{x:S,y:x.bottom},{x:k,y:x.bottom}],side:v}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(m),m.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:qe(e.onKeyDown,m=>{const x=s.searchRef.current!=="";e.disabled||x&&m.key===" "||fce[r.dir].includes(m.key)&&(n.onOpenChange(!0),n.content?.focus(),m.preventDefault())})})})});XO.displayName=vd;var ZO="MenuSubContent",JO=T.forwardRef((e,t)=>{const n=LO(Ca,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,s=vl(Ca,e.__scopeMenu),o=k0(Ca,e.__scopeMenu),c=KO(ZO,e.__scopeMenu),u=T.useRef(null),f=Dt(t,u);return h.jsx(e0.Provider,{scope:e.__scopeMenu,children:h.jsx($a,{present:r||s.open,children:h.jsx(e0.Slot,{scope:e.__scopeMenu,children:h.jsx(k4,{id:c.contentId,"aria-labelledby":c.triggerId,...a,ref:f,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{o.isUsingKeyboardRef.current&&u.current?.focus(),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:qe(e.onFocusOutside,p=>{p.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:qe(e.onEscapeKeyDown,p=>{o.onClose(),p.preventDefault()}),onKeyDown:qe(e.onKeyDown,p=>{const m=p.currentTarget.contains(p.target),x=hce[o.dir].includes(p.key);m&&x&&(s.onOpenChange(!1),c.trigger?.focus(),p.preventDefault())})})})})})});JO.displayName=ZO;function eD(e){return e?"open":"closed"}function Mm(e){return e==="indeterminate"}function O4(e){return Mm(e)?"indeterminate":e?"checked":"unchecked"}function Ice(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Mce(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Pce(e,t,n){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=Mce(e,Math.max(s,0));a.length===1&&(o=o.filter(f=>f!==n));const u=o.find(f=>f.toLowerCase().startsWith(a.toLowerCase()));return u!==n?u:void 0}function Lce(e,t){const{x:n,y:r}=e;let a=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const c=t[s],u=t[o],f=c.x,p=c.y,m=u.x,x=u.y;p>r!=x>r&&n<(m-f)*(r-p)/(x-p)+f&&(a=!a)}return a}function jce(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Lce(n,t)}function t0(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Bce=PO,zce=A4,Hce=jO,Uce=BO,Fce=N4,qce=zO,$ce=Yp,Vce=UO,Gce=qO,Yce=VO,Qce=YO,Wce=QO,Kce=WO,Xce=XO,Zce=JO,Qp="DropdownMenu",[Jce]=qa(Qp,[IO]),Sr=IO(),[eue,tD]=Jce(Qp),nD=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:a,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,u=Sr(t),f=T.useRef(null),[p,m]=ro({prop:a,defaultProp:s??!1,onChange:o,caller:Qp});return h.jsx(eue,{scope:t,triggerId:gs(),triggerRef:f,contentId:gs(),open:p,onOpenChange:m,onOpenToggle:T.useCallback(()=>m(x=>!x),[m]),modal:c,children:h.jsx(Bce,{...u,open:p,onOpenChange:m,dir:r,modal:c,children:n})})};nD.displayName=Qp;var rD="DropdownMenuTrigger",aD=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,s=tD(rD,n),o=Sr(n);return h.jsx(zce,{asChild:!0,...o,children:h.jsx(ot.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...a,ref:Vm(t,s.triggerRef),onPointerDown:qe(e.onPointerDown,c=>{!r&&c.button===0&&c.ctrlKey===!1&&(s.onOpenToggle(),s.open||c.preventDefault())}),onKeyDown:qe(e.onKeyDown,c=>{r||(["Enter"," "].includes(c.key)&&s.onOpenToggle(),c.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});aD.displayName=rD;var tue="DropdownMenuPortal",sD=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Sr(t);return h.jsx(Hce,{...r,...n})};sD.displayName=tue;var iD="DropdownMenuContent",oD=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=tD(iD,n),s=Sr(n),o=T.useRef(!1);return h.jsx(Uce,{id:a.contentId,"aria-labelledby":a.triggerId,...s,...r,ref:t,onCloseAutoFocus:qe(e.onCloseAutoFocus,c=>{o.current||a.triggerRef.current?.focus(),o.current=!1,c.preventDefault()}),onInteractOutside:qe(e.onInteractOutside,c=>{const u=c.detail.originalEvent,f=u.button===0&&u.ctrlKey===!0,p=u.button===2||f;(!a.modal||p)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});oD.displayName=iD;var nue="DropdownMenuGroup",rue=T.forwardRef((e,t)=>
980{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Fce,{...a,...r,ref:t})});rue.displayName=nue;var aue="DropdownMenuLabel",sue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(qce,{...a,...r,ref:t})});sue.displayName=aue;var iue="DropdownMenuItem",lD=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx($ce,{...a,...r,ref:t})});lD.displayName=iue;var oue="DropdownMenuCheckboxItem",lue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Vce,{...a,...r,ref:t})});lue.displayName=oue;var cue="DropdownMenuRadioGroup",uue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Gce,{...a,...r,ref:t})});uue.displayName=cue;var due="DropdownMenuRadioItem",fue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Yce,{...a,...r,ref:t})});fue.displayName=due;var hue="DropdownMenuItemIndicator",mue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Qce,{...a,...r,ref:t})});mue.displayName=hue;var pue="DropdownMenuSeparator",gue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Wce,{...a,...r,ref:t})});gue.displayName=pue;var xue="DropdownMenuArrow",bue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Kce,{...a,...r,ref:t})});bue.displayName=xue;var vue="DropdownMenuSubTrigger",yue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Xce,{...a,...r,ref:t})});yue.displayName=vue;var Eue="DropdownMenuSubContent",wue=T.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=Sr(n);return h.jsx(Zce,{...a,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});wue.displayName=Eue;var _ue=nD,Tue=aD,Aue=sD,Sue=oD,Cue=lD;function kue({...e}){return h.jsx(_ue,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:10","data-slot":"dropdown-menu",...e})}function Nue({...e}){return h.jsx(Tue,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:25","data-slot":"dropdown-menu-trigger",...e})}function Rue({className:e,sideOffset:t=4,...n}){return h.jsx(Aue,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:38",children:h.jsx(Sue,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:39","data-slot":"dropdown-menu-content",sideOffset:t,className:At("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...n})})}function Oue({className:e,inset:t,variant:n="default",...r}){return h.jsx(Cue,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:70","data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:At("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function Due({variant:e="ghost",compact:t=!1}){const{lang:n,setLang:r,t:a}=ru(),s=jh.find(o=>o.code===n)??jh[0];return h.jsxs(kue,{"data-loc":"client/src/components/LanguageSwitcher.tsx:20",children:[h.jsx(Nue,{"data-loc":"client/src/components/LanguageSwitcher.tsx:21",asChild:!0,children:h.jsxs(Ae,{"data-loc":"client/src/components/LanguageSwitcher.tsx:22",variant:e,size:"sm","aria-label":a("lang.label"),className:"gap-1.5 px-2",children:[h.jsx(MB,{"data-loc":"client/src/components/LanguageSwitcher.tsx:28",className:"size-4","aria-hidden":!0}),h.jsx("span",{"data-loc":"client/src/components/LanguageSwitcher.tsx:29",className:"text-base leading-none",children:s.flag}),!t&&h.jsx("span",{"data-loc":"client/src/components/LanguageSwitcher.tsx:31",className:"hidden sm:inline text-xs uppercase tracking-wide",children:s.code})]})}),h.jsx(Rue,{"data-loc":"client/src/components/LanguageSwitcher.tsx:37",align:"end",className:"min-w-[180px]",children:jh.map(o=>h.jsxs(Oue,{"data-loc":"client/src/components/LanguageSwitcher.tsx:39",onSelect:()=>r(o.code),className:o.code===n?"font-semibold":"",children:[h.jsx("span",{"data-loc":"client/src/components/LanguageSwitcher.tsx:44",className:"mr-2",children:o.flag}),o.label]},o.code))})]})}const F_=[{href:"#inicio",key:"nav.home"},{href:"#panteon",key:"nav.pantheon"},{href:"#servicios",key:"nav.services"},{href:"#noticias",key:"nav.news"},{href:"#consejos",key:"nav.tips"}
980,{href:"#galeria",key:"nav.gallery"},{href:"/reels",key:"nav.reels"},{href:"/blog",key:"nav.blog"},{href:"/interpretar-suenos",key:"nav.dreams"},{href:"/carta-astral",key:"nav.astral"},{href:"#sobre-mi",key:"nav.about"}];function Pd(){const{user:e}=b4(),{itemCount:t,open:n}=Iv(),{t:r}=ru(),[a,s]=T.useState(!1);return h.jsxs("header",{"data-loc":"client/src/components/Navbar.tsx:32",className:"sticky top-0 z-40 backdrop-blur-md bg-background/70 border-b border-[var(--gold)]/30",children:[h.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:33",className:"container flex items-center justify-between py-3",children:[h.jsx(Sa,{"data-loc":"client/src/components/Navbar.tsx:34",href:"/",children:h.jsxs("a",{"data-loc":"client/src/components/Navbar.tsx:35",className:"flex items-center gap-2 group",children:[h.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:36",className:"relative w-10 h-10 rounded-full gradient-mystic flex items-center justify-center shadow-glow group-hover:scale-105 transition-transform",children:[h.jsx(On,{"data-loc":"client/src/components/Navbar.tsx:37",className:"w-5 h-5 text-[var(--gold)]"}),h.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:38",className:"absolute inset-0 rounded-full border border-[var(--gold)]/40 animate-spin-slow"})]}),h.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:40",className:"leading-tight",children:[h.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:41",className:"font-display text-xl text-[var(--mystic-deep)]",children:"Esotérica Isis"}),h.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:42",className:"text-[10px] uppercase tracking-[0.25em] text-gold",children:"Kharen Nitza"})]})]})}),h.jsx("nav",{"data-loc":"client/src/components/Navbar.tsx:47",className:"hidden md:flex items-center gap-7",children:F_.map(o=>h.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:49",href:o.href,className:"text-sm font-medium text-[var(--mystic-deep)] hover:text-gold transition-colors relative after:content-[''] after:absolute after:left-0 after:-bottom-1 after:h-px after:w-0 after:bg-[var(--gold)] after:transition-all hover:after:w-full",children:r(o.key)},o.href))}),h.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:59",className:"flex items-center gap-1.5",children:[h.jsx(Due,{"data-loc":"client/src/components/Navbar.tsx:60"}),h.jsxs("button",{"data-loc":"client/src/components/Navbar.tsx:62",onClick:n,"aria-label":r("nav.cart"),className:"relative p-2 rounded-full hover:bg-[var(--gold)]/15 transition-colors",children:[h.jsx(Pc,{"data-loc":"client/src/components/Navbar.tsx:67",className:"w-5 h-5 text-[var(--mystic-deep)]"}),t>0&&h.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:69",className:"absolute -top-1 -right-1 bg-[var(--gold)] text-[var(--mystic-deep)] text-[10px] font-bold w-5 h-5 rounded-full flex items-center justify-center shadow",children:t})]}),e?.role==="admin"?h.jsx(Sa,{"data-loc":"client/src/components/Navbar.tsx:76",href:"/admin",children:h.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:77",children:h.jsx(Ae,{"data-loc":"client/src/components/Navbar.tsx:78",variant:"outline",size:"sm",className:"hidden sm:inline-flex border-[var(--gold)] text-[var(--mystic-deep)] hover:bg-[var(--gold)]/15",children:r("nav.admin")})})}):null,!e&&h.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:90",href:zp(),className:"hidden sm:inline-flex",children:h.jsx(Ae,{"data-loc":"client/src/components/Navbar.tsx:91",size:"sm",className:"gradient-mystic text-white shadow-mystic hover:opacity-90",children:r("nav.home")==="Inicio"?"Ingresar":r("nav.home")==="Home"?"Sign in":r("nav.home")==="InÃcio"?"Entrar":"Connexion"})}),h.jsx("button",{"data-loc":"client/src/components/Navbar.tsx:97",onClick:()=>s(o=>!o),"aria-label":"Menu",className:"md:hidden p-2 rounded-full hover:bg-[var(--gold)]/15",children:a?h.jsx(o0,{"data-loc":"client/src/components/Navbar.tsx:102",className:"w-5 h-5"}):h.jsx(BB,{"data-loc":"client/src/components/Navbar.tsx:102",className:"w-5 h-5"})})]})]}),a&&h.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:108",className:"md:hidden border-t border-[var(--gold)]/30 bg-background/95 backdrop-blur-md",children:h.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:109",className:"container py-3 flex flex-col gap-2",children:[F_.map(o=>h.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:111",href:o.href,onClick:()=>s(!1),className:"py-2 text-[var(--mystic-deep)] font-medium",children:r(o.key)},o.href)),e?.role==="admin"&&h.jsx(Sa,{"data-loc":"client/src/components/Navbar.tsx:121",href:"/admin",children:h.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:122",className:"py-2 text-gold font-semibold",children:r("nav.admin")})})]})})]})}const Iue=[{name:"Isis",role:"Diosa madre · Magia y sabidurÃa",de
980scription:"Patrona de la Escuela Esotérica Isis. Guardiana de los misterios sagrados, sanación y maternidad cósmica. Su luz envuelve y restaura el alma.",img:"https://d2xsxph8kpxj0f.cloudfront.net/310519663617200414/6V8RdEoKH38jTBRcbHwiVL/dios-isis-GP9fo5LawG8XNpssEVFAxP.webp",aura:"from-amber-200/40 via-rose-200/30 to-fuchsia-300/30"},{name:"Horus",role:"El ojo que todo lo ve · Protección",description:"Dios halcón del cielo. Otorga visión espiritual, protección ante lo invisible y fuerza para alcanzar la victoria del alma.",img:"https://d2xsxph8kpxj0f.cloudfront.net/310519663617200414/6V8RdEoKH38jTBRcbHwiVL/dios-horus-4tTc5LrqbULnQDup5z5zBy.webp",aura:"from-amber-200/40 via-cyan-200/30 to-violet-300/30"},{name:"Thot",role:"SabidurÃa · Palabra y escritura sagrada",description:"Maestro de la palabra creadora, los hechizos y la memoria del cosmos. Inspira los rituales, las oraciones y los códigos sagrados.",img:"https://d2xsxph8kpxj0f.cloudfront.net/310519663617200414/6V8RdEoKH38jTBRcbHwiVL/dios-thot-AynJ2FaxEWWPNmKZCwVSDw.webp",aura:"from-violet-300/40 via-indigo-200/30 to-amber-200/30"},{name:"Maat",role:"Verdad · Justicia y equilibrio",description:"Diosa de la armonÃa cósmica. Su pluma pesa el corazón del alma. Trae paz, justicia divina y restablece el orden en cada lectura.",img:"https://d2xsxph8kpxj0f.cloudfront.net/310519663617200414/6V8RdEoKH38jTBRcbHwiVL/dios-maat-cwTHMdg2aM77wR2rVi5udw.webp",aura:"from-rose-200/40 via-amber-200/30 to-cyan-200/30"}];function Mue({god:e,index:t}){const n=T.useRef(null),[r,a]=T.useState({x:0,y:0}),[s,o]=T.useState(!1);T.useEffect(()=>{const f=n.current;if(!f)return;const p=new IntersectionObserver(m=>{m.forEach(x=>{x.isIntersecting&&o(!0)})},{threshold:.2});return p.observe(f),()=>p.disconnect()},[]);function c(f){const p=n.current;if(!p)return;const m=p.getBoundingClientRect(),x=(f.clientX-m.left)/m.width-.5,v=(f.clientY-m.top)/m.height-.5;a({x:-v*14,y:x*14})}function u(){a({x:0,y:0})}return h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:72",ref:n,onMouseMove:c,onMouseLeave:u,className:`group relative transition-all duration-1000 ${s?"opacity-100 translate-y-0":"opacity-0 translate-y-12"}`,style:{perspective:1200,transitionDelay:`${t*150}ms`},children:[h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:85",className:`pointer-events-none absolute -inset-6 rounded-[2.5rem] bg-gradient-to-br ${e.aura} blur-3xl opacity-70 group-hover:opacity-100 animate-pulse transition-opacity`}),h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:89",className:"relative rounded-[2rem] bg-gradient-to-br from-white/90 via-rose-50/80 to-amber-50/70 backdrop-blur-md border border-amber-200/60 shadow-[0_20px_60px_-20px_rgba(180,140,80,0.4)] overflow-hidden",style:{transform:`rotateX(${r.x}deg) rotateY(${r.y}deg)`,transformStyle:"preserve-3d",transition:"transform 0.18s ease-out"},children:[h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:98",className:"absolute inset-0 pointer-events-none border-[3px] border-amber-300/30 rounded-[2rem] m-2"}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:99",className:"absolute top-3 left-1/2 -translate-x-1/2 text-amber-500/60 text-xs tracking-[0.4em] font-serif",children:"⥠⦠â¥"}),h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:104",className:"relative h-[26rem] flex items-end justify-center overflow-hidden",children:[h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:105",className:"absolute inset-0 bg-gradient-to-b from-amber-100/60 via-rose-100/40 to-violet-100/40","aria-hidden":!0}),h.jsx("img",{"data-loc":"client/src/components/Pantheon.tsx:109",src:e.img,alt:e.name,className:"relative h-[25rem] w-auto object-contain drop-shadow-[0_15px_30px_rgba(180,140,80,0.45)] animate-float",style:{transform:"translateZ(40px)"}}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:116",className:"absolute top-6 right-8 w-2 h-2 rounded-full bg-amber-300 shadow-[0_0_18px_6px_rgba(252,211,77,0.7)] animate-pulse"}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:117",className:"absolute bottom-12 left-10 w-1.5 h-1.5 rounded-full bg-rose-300 shadow-[0_0_15px_5px_rgba(251,113,133,0.6)] animate-pulse [animation-delay:600ms]"}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:118",className:"absolute top-1/3 left-6 w-1 h-1 rounded-full bg-cyan-300 shadow-[0_0_12px_4px_rgba(103,232,249,0.6)] animate-pulse [animation-delay:1200ms]"})]}),h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:122",className:"relative px-6 pb-7 pt-4 text-center",style:{transform:"translateZ(20px)"},children:[h.jsx("h3",{"data-loc":"client/src/components/Pantheon.tsx:123",className:"font-serif text-3xl text-amber-700 tracking-wide",children:e.name}),h.jsx("p",{"data-loc":"client/src/components/Pantheon.tsx:124",className:"mt-1 text-xs uppercase tracking-[0.25em] text-rose-500/80 font-semibold",children:e.role}),h.jsx("p",{"data-loc":"client/src/components/Pantheon.tsx:127",className:"mt-3 text-sm text-stone-600 leading-relaxed",children:e.description})]})]})]})}function Pue(){return h.jsxs("section",{"data-loc":"client/src/components/Pantheon.tsx:136",id:"panteon",className:"relative py-24 overflow-hidden",style:{background:"radial-gradient(ellipse at top, rgba(253, 230, 138, 0.25), transparent 60%), radial-gradient(ellipse at bottom, rgba(216, 180, 254, 0.25), transparent 60%), linear-gradient(180deg, #fffaf3 0%, #fef3ec 50%, #fbeaf3 100%)"},children:[h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:145",className:"absolute inset-0 pointer-events-none opacity-30",children:[h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:146",className:"absolute top-10 left-10 text-7xl text-amber-300/40",children:"â¥"}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:147",className:"absolute bottom-20 right-12 text-7xl text-rose-300/40",children:"ð"}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:148",className:"absolute top-1/2 left-1/4 text-5xl text-violet-300/40",children:"ð£"})]}),h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:151",className:"container relative",children:[h.jsxs("div",{"data-loc":"client/src/components/Pantheon.tsx:152",className:"text-center max-w-3xl mx-auto mb-14",children:[h.jsx("p",{"data-loc":"client/src/components/Pantheon.tsx:153",className:"text-sm uppercase tracking-[0.4em] text-amber-600 font-semibold mb-3",children:"â½ Panteón sagrado â¾"}),h.jsxs("h2",{"data-loc":"client/src/components/Pantheon.tsx:156",className:"font-serif text-4xl md:text-5xl text-stone-800 leading-tight",children:["Los dioses que guÃan ",h.jsx("span",{"data-loc":"client/src/components/Pantheon.tsx:157",className:"text-amber-600",children:"Esotérica Isis"})]}),h.jsx("p",{"data-loc":"client/src/components/Pantheon.tsx:159",className:"mt-5 text-stone-600 text-lg leading-relaxed",children:"En cada terapia, lectura y ritual invocamos la presencia luminosa de los dioses egipcios. Mueve el cursor sobre cada uno para sentir su energÃa."})]}),h.jsx("div",{"data-loc":"client/src/components/Pantheon.tsx:165",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8",children:Iue.map((e,t)=>h.jsx(Mue,{"data-loc":"client/src/components/Pantheon.tsx:167",god:e,index:t},e.name))})]})]})}
980const Lue=XT("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function sa({className:e,variant:t,asChild:n=!1,...r}){const a=n?QT:"span";return h.jsx(a,{"data-loc":"client/src/components/ui/badge.tsx:38","data-slot":"badge",className:At(Lue({variant:t}),e),...r})}const jue=[{title:"Predije el apagón eléctrico de Chile con caracolas",date:"Predicción viral · Confirmada por los hechos",summary:"Antes de que ocurriera el histórico apagón eléctrico que dejó sin luz a gran parte de Chile, advertà en mi canal lo que las caracolas mostraban. Mi mensaje se viralizó cuando los hechos confirmaron la lectura. Aquà puedes ver el video original.",youtubeId:"aP1zUAA-WqQ",tag:"VIRAL"}];function Bue(){return h.jsx("section",{"data-loc":"client/src/components/NewsSection.tsx:18",id:"noticias",className:"relative py-24",style:{background:"linear-gradient(180deg, #fff7ee 0%, #fdeee2 60%, #fbeaf3 100%)"},children:h.jsxs("div",{"data-loc":"client/src/components/NewsSection.tsx:26",className:"container",children:[h.jsxs("div",{"data-loc":"client/src/components/NewsSection.tsx:27",className:"text-center max-w-3xl mx-auto mb-12",children:[h.jsxs("p",{"data-loc":"client/src/components/NewsSection.tsx:28",className:"text-sm uppercase tracking-[0.4em] text-amber-600 font-semibold mb-3 flex items-center justify-center gap-2",children:[h.jsx(_v,{"data-loc":"client/src/components/NewsSection.tsx:29",className:"w-4 h-4"})," Noticias y prensa"]}),h.jsxs("h2",{"data-loc":"client/src/components/NewsSection.tsx:31",className:"font-serif text-4xl md:text-5xl text-stone-800 leading-tight",children:["Predicciones que se hicieron ",h.jsx("span",{"data-loc":"client/src/components/NewsSection.tsx:32",className:"text-amber-600",children:"realidad"})]}),h.jsx("p",{"data-loc":"client/src/components/NewsSection.tsx:34",className:"mt-4 text-stone-600 text-lg",children:"Lo que las caracolas y los oráculos anuncian, el tiempo lo confirma."})]}),h.jsx("div",{"data-loc":"client/src/components/NewsSection.tsx:39",className:"grid lg:grid-cols-2 gap-10 items-center max-w-6xl mx-auto",children:jue.map(e=>h.jsx(zue,{"data-loc":"client/src/components/NewsSection.tsx:41",news:e},e.title))})]})})}function zue({news:e}){return h.jsxs(h.Fragment,{children:[h.jsxs("div",{"data-loc":"client/src/components/NewsSection.tsx:52",className:"relative",children:[h.jsx("div",{"data-loc":"client/src/components/NewsSection.tsx:53",className:"absolute -inset-3 rounded-3xl bg-gradient-to-br from-amber-200/40 via-rose-200/40 to-violet-200/40 blur-2xl"}),h.jsx("div",{"data-loc":"client/src/components/NewsSection.tsx:54",className:"relative rounded-3xl overflow-hidden shadow-2xl border-4 border-amber-200/50 bg-black aspect-video",children:h.jsx("iframe",{"data-loc":"client/src/components/NewsSection.tsx:55",className:"w-full h-full",src:`https://www.youtube.com/embed/${e.youtubeId}`,title:e.title,frameBorder:0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})})]}),h.jsxs(Je,{"data-loc":"client/src/components/NewsSection.tsx:65",className:"relative bg-gradient-to-br from-white via-amber-50/60 to-rose-50/60 border-amber-200/60 p-8 lg:p-10 shadow-xl",children:[h.jsxs(sa,{"data-loc":"client/src/components/NewsSection.tsx:66",className:"bg-rose-500 hover:bg-rose-500 text-white tracking-widest text-xs px-3 py-1",children:[h.jsx(OB,{"data-loc":"client/src/components/NewsSection.tsx:67",className:"w-3 h-3 mr-1"})," ",e.tag]}),h.jsx("h3",{"data-loc":"client/src/components/NewsSection.tsx:69",className:"mt-4 font-serif text-3xl text-stone-800 leading-tight",children:e.title}),h.jsx("p",{"data-loc":"client/src/components/NewsSection.tsx:70",className:"mt-2 text-sm uppercase tracking-widest text-amber-600 font-semibold",children:e.date}),h.jsx("p",{"data-loc":"client/src/components/NewsSection.tsx:73",className:"mt-5 text-stone-700 leading-relaxed text-lg",children:e.summary}),h.jsxs("div",{"data-loc":"client/src/components/NewsSection.tsx:74",className:"mt-6 flex items-center gap-2 text-stone-500 text-sm italic",children:[h.jsx("span",{"data-loc":"client/src/components/NewsSection.tsx:75",className:"text-amber-500",children:"â¦"}),h.jsx("span",{"data-loc":"client/src/components/NewsSection.tsx:76",children:"Las caracolas hablan. La verdad emerge."})]})]})]})}var Wp="Tabs",[Hue]=qa(Wp,[Vp]),cD=Vp(),[Uue,D4]=Hue(Wp),uD=T.forwardRef((e,t)=>
980{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:s,orientation:o="horizontal",dir:c,activationMode:u="automatic",...f}=e,p=Hp(c),[m,x]=ro({prop:r,onChange:a,defaultProp:s??"",caller:Wp});return h.jsx(Uue,{scope:n,baseId:gs(),value:m,onValueChange:x,orientation:o,dir:p,activationMode:u,children:h.jsx(ot.div,{dir:p,"data-orientation":o,...f,ref:t})})});uD.displayName=Wp;var dD="TabsList",fD=T.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,s=D4(dD,n),o=cD(n);return h.jsx(RO,{asChild:!0,...o,orientation:s.orientation,dir:s.dir,loop:r,children:h.jsx(ot.div,{role:"tablist","aria-orientation":s.orientation,...a,ref:t})})});fD.displayName=dD;var hD="TabsTrigger",mD=T.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...s}=e,o=D4(hD,n),c=cD(n),u=xD(o.baseId,r),f=bD(o.baseId,r),p=r===o.value;return h.jsx(OO,{asChild:!0,...c,focusable:!a,active:p,children:h.jsx(ot.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":f,"data-state":p?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:u,...s,ref:t,onMouseDown:qe(e.onMouseDown,m=>{!a&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:qe(e.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:qe(e.onFocus,()=>{const m=o.activationMode!=="manual";!p&&!a&&m&&o.onValueChange(r)})})})});mD.displayName=hD;var pD="TabsContent",gD=T.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:s,...o}=e,c=D4(pD,n),u=xD(c.baseId,r),f=bD(c.baseId,r),p=r===c.value,m=T.useRef(p);return T.useEffect(()=>{const x=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(x)},[]),h.jsx($a,{present:a||p,children:({present:x})=>h.jsx(ot.div,{"data-state":p?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!x,id:f,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:x&&s})})});gD.displayName=pD;function xD(e,t){return`${e}-trigger-${t}`}function bD(e,t){return`${e}-content-${t}`}var Fue=uD,que=fD,$ue=mD,Vue=gD;function Gue({className:e,...t}){return h.jsx(Fue,{"data-loc":"client/src/components/ui/tabs.tsx:11","data-slot":"tabs",className:At("flex flex-col gap-2",e),...t})}function Yue({className:e,...t}){return h.jsx(que,{"data-loc":"client/src/components/ui/tabs.tsx:24","data-slot":"tabs-list",className:At("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function q_({className:e,...t}){return h.jsx($ue,{"data-loc":"client/src/components/ui/tabs.tsx:40","data-slot":"tabs-trigger",className:At("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function Que({className:e,...t}){return h.jsx(Vue,{"data-loc":"client/src/components/ui/tabs.tsx:56","data-slot":"tabs-content",className:At("flex-1 outline-none",e),...t})}function Wue(){const{data:e}=De.settings.getAll.useQuery(),{lang:t}=ru(),{data:n}=De.products.listPublic.useQuery({lang:t}),{data:r}=De.articles.listPublic.useQuery(),{data:a}=De.photos.listPublic.useQuery(),{data:s}=De.tracks.listPublic.useQuery(),{add:o}=Iv(),c=zoe();T.useEffect(()=>{s&&c.setTracks(s.map(x=>({id:x.id,title:x.title,artist:x.artist,audioUrl:x.audioUrl,coverUrl:x.coverUrl,durationSeconds:x.durationSeconds})))},[s]);const u=e?.about_image||"/manus-storage/kharen-real-optimized_bcabb5f8.webp",f=e?.hero_title||"Esotérica Isis",p=e?.hero_subtitle||"SabidurÃa ancestral, magia luminosa",m=e?.hero_description||"Lecturas, rituales y terapias para reconectarte con tu esencia divina.";return h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:53",className:"min-h-screen flex flex-col",children:[h.jsx(Pd,{"data-loc":"client/src/pages/Home.tsx:54"}),h.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:55",className:"flex-1",children:[h.jsx(Kue,{"data-loc":"client/src/pages/Home.tsx:56",title:f,subtitle:p,description:m,image:u}),h.jsx(Xue,{"data-loc":"client/src/pages/Home.tsx:62"}),h.jsx(Pue,{"data-loc":"client/src/pages/Home.tsx:63"}),h.jsx(Zue,{"data-loc":"client/src/pages/Home.tsx:64",products:n||[],addToCart:o,rulesTitle:e?.rules_title||"Reglas y términos de Esotérica Isis",rulesText:e?.rules_text||""}),h.jsx(Bue,{"data-loc":"client/src/pages/Home.tsx:70"}),h.jsx(Jue,{"data-loc":"client/src/pages/Home.tsx:71",articles:r||[]}),h.jsx(ede,{"data-loc":"client/src/pages/Home.tsx:72",photos:a||[]}),h.jsx(tde,{"data-loc":"client/src/pages/Home.tsx:73",tracks:s||[]}),h.jsx(nde,{"data-loc":"client/src/pages/Home.tsx:74",settings:e||{}}),h.jsx(rde,{"data-loc":"client/src/pages/Home.tsx:75",image:u})]}),h.jsx(Zle,{"data-loc":"client/src/pages/Home.tsx:77"})]})}
980function Kue({title:e,subtitle:t,description:n,image:r}){const{t:a,lang:s}=ru(),o=s==="es"?t:a("hero.tag"),c=s==="es"?n:a("hero.intro");return h.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:89",id:"inicio",className:"relative overflow-hidden",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:91",className:"absolute inset-0 pointer-events-none overflow-hidden",children:Array.from({length:30}).map((u,f)=>h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:93",className:"absolute text-[var(--gold)] animate-sparkle",style:{top:`${Math.random()*100}%`,left:`${Math.random()*100}%`,fontSize:`${8+Math.random()*14}px`,animationDelay:`${Math.random()*3}s`,animationDuration:`${2+Math.random()*4}s`,opacity:.6},children:"â¦"},f))}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:110",className:"container py-16 md:py-24 grid md:grid-cols-2 gap-12 items-center relative",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:111",className:"space-y-6",children:[h.jsxs(sa,{"data-loc":"client/src/pages/Home.tsx:112",className:"bg-[var(--gold)]/15 text-gold border-[var(--gold)]/30 hover:bg-[var(--gold)]/20",children:[h.jsx(On,{"data-loc":"client/src/pages/Home.tsx:113",className:"w-3 h-3 mr-1"}),o]}),h.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:116",className:"font-display text-5xl md:text-7xl leading-[1.05] text-[var(--mystic-deep)]",children:[e,h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:118",className:"block text-gold text-glow-gold",children:"â¦"})]}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:120",className:"text-lg text-muted-foreground max-w-xl leading-relaxed",children:c}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"flex flex-wrap gap-3",children:[h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:122",href:"#servicios",className:"group",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:123",size:"lg",className:"bg-gradient-to-r from-rose-500 via-pink-500 to-fuchsia-500 hover:from-rose-400 hover:via-pink-400 hover:to-fuchsia-400 text-white shadow-xl shadow-pink-300/40 ring-2 ring-white/40 hover:scale-[1.03] transition-all",children:[h.jsx(On,{"data-loc":"client/src/pages/Home.tsx:124",className:"w-4 h-4 mr-2"}),h.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:125",className:"flex flex-col items-start leading-tight",children:[h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:126",className:"font-semibold",children:a("hero.cta.express")}),h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:127",className:"text-[11px] opacity-90 font-normal",children:a("hero.cta.express.sub")})]})]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:131",href:"#servicios",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:132",size:"lg",variant:"outline",className:"border-[var(--mystic-deep)]/30 text-[var(--mystic-deep)] hover:bg-[var(--mystic-deep)]/5",children:[h.jsx(Pc,{"data-loc":"client/src/pages/Home.tsx:133",className:"w-4 h-4 mr-2"}),a("hero.cta.services")]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:137",href:"#consejos",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:138",size:"lg",variant:"outline",className:"border-[var(--gold)] text-[var(--mystic-deep)] hover:bg-[var(--gold)]/10",children:[h.jsx(qh,{"data-loc":"client/src/pages/Home.tsx:139",className:"w-4 h-4 mr-2"}),a("hero.cta.tips")]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:143",href:"/productos-digitales",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:144",size:"lg",className:"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-400 hover:to-amber-500 text-white shadow-lg",children:[h.jsx(On,{"data-loc":"client/src/pages/Home.tsx:145",className:"w-4 h-4 mr-2"}),"Productos Digitales"]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:149",href:"/certificados",children:h.jsx(Ae,{"data-loc":"client/src/pages/Home.tsx:150",size:"lg",variant:"outline",className:"border-amber-500/60 text-amber-700 hover:bg-amber-50 shadow-lg",children:"Certificado oficial"})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:154",href:"/interpretar-suenos",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:155",size:"lg",className:"bg-gradient-to-r from-purple-600 to-indigo-600 hover:from-purple-500 hover:to-indigo-500 text-white shadow-lg shadow-purple-300/40",children:[h.jsx(HB,{"data-loc":"client/src/pages/Home.tsx:156",className:"w-4 h-4 mr-2"}
980),"Interpretar Sueños IA"]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:160",href:"/carta-astral",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:161",size:"lg",className:"bg-gradient-to-r from-indigo-600 to-cyan-600 hover:from-indigo-500 hover:to-cyan-500 text-white shadow-lg shadow-indigo-300/40",children:[h.jsx(Gh,{"data-loc":"client/src/pages/Home.tsx:162",className:"w-4 h-4 mr-2"}),"Carta Astral IA"]})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:167",className:"flex items-center gap-6 pt-4 text-sm text-muted-foreground",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:168",className:"flex items-center gap-1.5",children:[h.jsx(Gh,{"data-loc":"client/src/pages/Home.tsx:169",className:"w-4 h-4 fill-[var(--gold)] text-[var(--gold)]"}),h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:170",children:"+1.500 lecturas"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:172",className:"flex items-center gap-1.5",children:[h.jsx(qh,{"data-loc":"client/src/pages/Home.tsx:173",className:"w-4 h-4 text-[var(--rose-quartz)]"}),h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:174",children:"15+ años de experiencia"})]})]})]}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:179",className:"relative",children:h.jsx(Jle,{"data-loc":"client/src/pages/Home.tsx:180",centerImage:r})})]})]})}function Xue(){const e=[{icon:On,title:"Elige tu camino",text:"Explora cursos, terapias y lecturas. Conecta con lo que tu alma te pide en este momento."},{icon:qh,title:"Reserva tu sesión",text:"Agrega a tu canasta y recibe confirmación con cariño. Acordamos juntas el dÃa y la hora sagrada."},{icon:Gh,title:"Vive la experiencia",text:"Te acompaño en un espacio seguro, lleno de luz, intención y magia para tu transformación."}];return h.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:206",className:"container py-16",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:207",className:"text-center mb-12",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:208",className:"bg-[var(--rose-quartz)]/30 text-[var(--mystic-deep)] border-[var(--rose-quartz)]",children:"Cómo funciona"}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:211",className:"font-display text-4xl md:text-5xl mt-3 text-[var(--mystic-deep)]",children:"Tres pasos hacia tu luz"})]}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:213",className:"grid md:grid-cols-3 gap-6",children:e.map((t,n)=>h.jsxs(Je,{"data-loc":"client/src/pages/Home.tsx:215",className:"card-3d p-7 text-center bg-card/80 backdrop-blur border border-[var(--gold)]/30",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:216",className:"w-14 h-14 rounded-full gradient-gold mx-auto flex items-center justify-center shadow-glow mb-4",children:h.jsx(t.icon,{"data-loc":"client/src/pages/Home.tsx:217",className:"w-7 h-7 text-[var(--mystic-deep)]"})}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:219",className:"text-xs uppercase tracking-widest text-gold mb-2",children:["Paso ",n+1]}),h.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:220",className:"font-display text-2xl text-[var(--mystic-deep)] mb-2",children:t.title}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:221",className:"text-sm text-muted-foreground leading-relaxed",children:t.text})]},n))})]})}function Zue({products:e,addToCart:t,rulesTitle:n,rulesText:r}){const{t:a}=ru(),[s,o]=T.useState(!1),c=T.useMemo(()=>{const x=new Set(e.map(v=>v.category));return Array.from(x)},[e]),[u,f]=T.useState("todos"),p=x=>a(`category.${x}`),m=T.useMemo(()=>[...u==="todos"?e:e.filter(v=>v.category===u)].sort((v,E)=>v.priceCents-E.priceCents),[e,u]);return h.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:267",id:"servicios",className:"container py-16",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:268",className:"text-center mb-10",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:269",className:"bg-[var(--turquoise)]/30 text-[var(--mystic-deep)] border-[var(--turquoise)]",children:a("shop.badge")}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:272",className:"font-display text-4xl md:text-5xl mt-3 text-[var(--mystic-deep)]",children:a("shop.title")}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:273",className:"text-muted-foreground mt-3 max-w-2xl mx-auto",children:a("shop.subtitle")})]}),h.jsxs(Gue,{"data-loc":"client/src/pages/Home.tsx:278",value:u,onValueChange:f,className:"w-full",children:[h.jsxs(Yue,{"data-loc":"client/src/pages/Home.tsx:279",className:"mx-auto flex flex-wrap justify-center bg-card/60 backdrop-blur border border-[var(--gold)]/30 h-auto p-1.5 mb-8",children:[h.jsx(q_,{"data-loc":"client/src/pages/Home.tsx:280",value:"todos",className:"data-[state=active]:gradient-mystic data-[state=active]:text-white",children:a("shop.tab.all")}),c.map(x=>h.jsx(q_,{"data-loc":"client/src/pages/Home.tsx:284",value:x,className:"data-[state=active]:gradient-mystic data-[state=active]:text-white",children:p(x)},x))]}),h.jsxs(Que,{"data-loc":"client/src/pages/Home.tsx:289",value:u,children:[(u==="todos"||u==="curso")&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:291",className:"mb-6 flex justify-center",children:h.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:292",className:"inline-flex items-center gap-2 rounded-full bg-[var(--gold)]/15 border border-[var(--gold)]/40 px-4 py-1.5 text-sm text-[var(--mystic-deep)]",children:[h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:293","aria-hidden":!0,
980children:"â"}),a("shop.online")]})}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:298",className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:[m.length===0&&h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:300",className:"text-center col-span-full text-muted-foreground py-10",children:a("shop.empty")}),m.map(x=>h.jsxs(Je,{"data-loc":"client/src/pages/Home.tsx:303",className:"card-3d overflow-hidden bg-card/85 backdrop-blur border border-[var(--gold)]/30 group",children:[x.imageUrl&&h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:305",className:"relative aspect-[4/3] overflow-hidden",children:[h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:306",src:x.imageUrl,alt:x.name,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}),x.badge&&h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:308",className:"absolute top-3 left-3 bg-[var(--gold)] text-[var(--mystic-deep)] border-0",children:x.badge}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:312",className:"absolute inset-0 bg-gradient-to-t from-[var(--mystic-deep)]/40 via-transparent to-transparent"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:315",className:"p-5 space-y-3",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:316",className:"text-[10px] uppercase tracking-widest text-gold",children:p(x.category)}),h.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:317",className:"font-display text-2xl text-[var(--mystic-deep)] leading-tight",children:x.name}),x.shortDescription&&h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:319",className:"text-sm text-muted-foreground leading-relaxed line-clamp-3",children:x.shortDescription}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:321",className:"flex items-center justify-between pt-2",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:322",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:323",className:"font-display text-2xl text-[var(--mystic-deep)]",children:Vo(x.priceCents,x.currency)}),x.durationMinutes&&h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:325",className:"flex items-center gap-1 text-xs text-muted-foreground",children:[h.jsx(Ev,{"data-loc":"client/src/pages/Home.tsx:326",className:"w-3 h-3"}),x.durationMinutes," min"]})]}),h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:331",size:"sm",onClick:()=>t({productId:x.id,name:x.name,priceCents:x.priceCents,imageUrl:x.imageUrl}),className:"gradient-gold text-[var(--mystic-deep)] hover:opacity-90",children:[h.jsx(Pc,{"data-loc":"client/src/pages/Home.tsx:338",className:"w-4 h-4 mr-1"})," ",a("shop.book")]})]}),h.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:341",href:`https://wa.me/56973874059?text=${encodeURIComponent(`¡Hola Kharen! ð Me interesa "${x.name}" (${Vo(x.priceCents,x.currency)}). ¿Me puedes dar más información y disponibilidad?`)}`,target:"_blank",rel:"noopener noreferrer",className:"w-full mt-2 inline-flex items-center justify-center gap-1.5 text-sm font-semibold rounded-md py-2 bg-[#25D366] text-white hover:bg-[#1FB759] transition shadow",children:[h.jsx("svg",{"data-loc":"client/src/pages/Home.tsx:347",viewBox:"0 0 24 24",className:"w-4 h-4 fill-current",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("path",{"data-loc":"client/src/pages/Home.tsx:347",d:"M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.515 5.26l-.999 3.648 3.973-1.607zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z"})}),"Consultar por WhatsApp"]}),h.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:350",type:"button",onClick:()=>o(!0),className:"w-full inline-flex items-center justify-center gap-1.5 text-xs font-medium text-[var(--mystic-deep)] underline-offset-4 underline hover:text-[var(--mystic)] transition",children:[h.jsx(Vh,{"data-loc":"client/src/pages/Home.tsx:355",className:"w-3.5 h-3.5 text-gold"}),a("shop.viewRules")]})]})]},x.id))]})]})]}),s&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:366",className:"fixed inset-0 z-[60] bg-[var(--mystic-deep)]/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:()=>o(!1),children:h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:370",className:"max-w-2xl w-full max-h-[85vh] overflow-y-auto bg-card rounded-2xl shadow-mystic border border-[var(--gold)]/40",onClick:x=>x.stopPropagation(),children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:374",className:"p-6 md:p-8 space-y-4",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:375",className:"flex items-center gap-2",children:[h.jsx(Vh,{"data-loc":"client/src/pages/Home.tsx:376",className:"w-5 h-5 text-gold"}),h.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:377",className:"font-display text-2xl text-[var(--mystic-deep)]",children:n})]}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:379",className:"prose prose-sm max-w-none text-foreground",children:h.jsx(t4,{"data-loc":"client/src/pages/Home.tsx:380",children:r})}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:382",className:"text-xs text-muted-foreground border-t border-[var(--gold)]/30 pt-3",children:"Al reservar y pagar cualquier servicio confirmas que has leÃdo y aceptas estas reglas. La aceptación también se solicitará explÃcitamente en el checkout."}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:385",className:"flex justify-end",children:h.jsx(Ae,{"data-loc":"client/src/pages/Home.tsx:386",onClick:()=>o(!1),className:"gradient-mystic text-white",children:"Entendido"})})]})})})]})}function Jue({articles:e}){const[t,n]=T.useState(null),r=e.find(a=>a.id===t)??null;return h.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:403",id:"c
980onsejos",className:"container py-16",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:404",className:"text-center mb-10",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:405",className:"bg-[var(--lavender)]/40 text-[var(--mystic-deep)] border-[var(--lavender)]",children:"Consejos y rituales"}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:408",className:"font-display text-4xl md:text-5xl mt-3 text-[var(--mystic-deep)]",children:"SabidurÃa para tu dÃa a dÃa"})]}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:410",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(a=>h.jsxs(Je,{"data-loc":"client/src/pages/Home.tsx:412",className:"card-3d overflow-hidden bg-card/85 backdrop-blur border border-[var(--gold)]/30 group cursor-pointer",onClick:()=>n(a.id),children:[a.imageUrl&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:414",className:"aspect-video overflow-hidden",children:h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:415",src:a.imageUrl,alt:a.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"})}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:418",className:"p-5 space-y-2",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:419",className:"text-[10px] uppercase tracking-widest text-gold",children:a.category}),h.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:420",className:"font-display text-xl text-[var(--mystic-deep)]",children:a.title}),a.excerpt&&h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:421",className:"text-sm text-muted-foreground line-clamp-3",children:a.excerpt}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:422",className:"text-sm text-gold font-medium",children:"Leer más â"})]})]},a.id))}),r&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:429",className:"fixed inset-0 z-50 bg-[var(--mystic-deep)]/70 backdrop-blur-sm flex items-center justify-center p-4",onClick:()=>n(null),children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:430",className:"max-w-2xl w-full max-h-[85vh] overflow-y-auto bg-card rounded-2xl shadow-mystic border border-[var(--gold)]/40",onClick:a=>a.stopPropagation(),children:[r.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:431",src:r.imageUrl,alt:r.title,className:"w-full aspect-[2/1] object-cover rounded-t-2xl"}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:432",className:"p-6 md:p-8 space-y-4",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:433",className:"text-xs uppercase tracking-widest text-gold",children:r.category}),h.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:434",className:"font-display text-3xl text-[var(--mystic-deep)]",children:r.title}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:435",className:"prose prose-sm max-w-none text-foreground whitespace-pre-line leading-relaxed",children:r.content}),h.jsx(Ae,{"data-loc":"client/src/pages/Home.tsx:436",onClick:()=>n(null),variant:"outline",className:"border-[var(--gold)]",children:"Cerrar"})]})]})})]})}function ede({photos:e}){const[t,n]=T.useState(null);return h.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:449",id:"galeria",className:"container py-16",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:450",className:"text-center mb-10",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:451",className:"bg-[var(--rose-quartz)]/30 text-[var(--mystic-deep)] border-[var(--rose-quartz)]",children:"GalerÃa sagrada"}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:454",className:"font-display text-4xl md:text-5xl mt-3 text-[var(--mystic-deep)]",children:"Momentos de magia"})]}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:456",className:"grid grid-cols-2 md:grid-cols-4 gap-4 perspective-deep",children:e.map((r,a)=>h.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:458",onClick:()=>n(r.id),className:"relative group aspect-square rounded-2xl overflow-hidden border border-[var(--gold)]/30 shadow-mystic transition-transform hover:scale-[1.03]",style:{transform:`perspective(1200px) rotateY(${a%2===0?4:-4}deg)`},children:[h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:466",src:r.imageUrl,alt:r.title||"",className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-700"}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:467",className:"absolute inset-0 bg-gradient-to-t from-[var(--mystic-deep)]/60 via-trans
980parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity flex items-end p-4",children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:468",className:"text-white",children:[r.title&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:469",className:"font-display text-lg",children:r.title}),r.caption&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:470",className:"text-xs text-white/80",children:r.caption})]})})]},r.id))}),t!==null&&(()=>{const r=e.find(a=>a.id===t);return r?h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:481",className:"fixed inset-0 z-50 bg-[var(--mystic-deep)]/85 backdrop-blur-md flex items-center justify-center p-4",onClick:()=>n(null),children:h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:482",src:r.imageUrl,alt:r.title||"",className:"max-w-full max-h-[85vh] rounded-2xl shadow-glow"})}):null})()]})}const $_="6qjoujp4Qyo95csdS29EpL",V_=[{name:"Frecuencia de Isis",id:"6qjoujp4Qyo95csdS29EpL",year:"2026"}];function tde({tracks:e}){const t=`https://open.spotify.com/artist/${$_}`,n="ð Te invito a escuchar mi música sagrada Esotérica Isis en Spotify. Cada canción lleva conjuros de amor, abundancia y luz. â¨",r=()=>{const s=`https://wa.me/?text=${encodeURIComponent(n+" "+t)}`;window.open(s,"_blank")},a=async()=>{if(typeof navigator<"u"&&navigator.share)try{await navigator.share({title:"Esotérica Isis en Spotify",text:n,url:t});return}catch{}typeof navigator<"u"&&navigator.clipboard?(await navigator.clipboard.writeText(t),alert("Enlace copiado al portapapeles ð")):window.open(t,"_blank")};return h.jsx("section",{"data-loc":"client/src/pages/Home.tsx:524",id:"musica",className:"container py-16",children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:525",className:"rounded-3xl gradient-mystic p-8 md:p-12 relative overflow-hidden shadow-mystic",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:526",className:"absolute inset-0 opacity-30 pointer-events-none",children:Array.from({length:24}).map((s,o)=>h.jsx("span",{"data-loc":"client/src/pages/Home.tsx:528",className:"absolute text-[var(--gold)] animate-sparkle",style:{top:`${Math.random()*100}%`,left:`${Math.random()*100}%`,fontSize:`${10+Math.random()*16}px`,animationDelay:`${Math.random()*3}s`},children:"â¦"},o))}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:542",className:"relative z-10 grid md:grid-cols-[1.1fr_1fr] gap-10 items-start",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:543",className:"text-white space-y-5",children:[h.jsxs(sa,{"data-loc":"client/src/pages/Home.tsx:544",className:"bg-[var(--gold)] text-[var(--mystic-deep)] border-0",children:[h.jsx(el,{"data-loc":"client/src/pages/Home.tsx:545",className:"w-3 h-3 mr-1"}),"Música oficial Esotérica Isis · Spotify"]}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:548",className:"font-display text-4xl md:text-5xl leading-tight",children:"Mi música sagrada en Spotify"}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:551",className:"text-white/90 leading-relaxed",children:"Cada una de mis canciones lleva un conjuro vibracional para abrir el corazón, sanar el alma y elevar tu frecuencia. Escúchalas mientras meditas, durante tus rituales o cuando necesites recordar tu poder."}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:555",className:"text-white/80 text-sm leading-relaxed",children:"â¡ Toda mi música está registrada y distribuida vÃa DistroKid. Reproducirla en tus reels y stories es totalmente bienvenido: cada reproducción se reporta como tuya en créditos oficiales."}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:558",className:"flex flex-wrap gap-3 pt-2",children:[h.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:559",href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-[#1ED760] hover:bg-[#1AC34F] text-black font-semibold px-5 py-2.5 transition-colors",children:[h.jsx(el,{"data-loc":"client/src/pages/Home.tsx:565",className:"w-4 h-4"}),"Escuchar en Spotify"]}),h.jsx("button",{"data-loc":"client/src/pages/Home.tsx:568",onClick:r,className:"inline-flex items-center gap-2 rounded-full bg-white/15 hover:bg-white/25 border border-white/30 text-white font-medium px-5 py-2.5 transition-colors",children:"Compartir por WhatsApp"}),h.jsx("button",{"data-loc":"client/src/pages/Home.tsx:574",onClick:a,className:"inline-flex items-center gap-2 rounded-full bg-white/10 hover:bg-white/20 border border-white/20 text-white font-medium px-5 py-2.5 transition-colors",children:"Copiar enlace"})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:582",className:"space-y-4",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:583",className:"rounded-2xl overflow-hidden border-2 border-[var(--gold)]/50 shadow-glow bg-black/30",children:h.jsx("iframe",{"data-loc":"client/src/pages/Home.tsx:584",title:"Esotérica Isis en Spotify",src:`https://open.spotify.com/embed/artist/${$_}?utm_source=esotericaisis&theme=0`,width:"100%",height:"352",frameBorder:0,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy"})}),V_.length>1&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:595",className:"grid grid-cols-1 gap-3",children:V_.slice(1).map(s=>h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:597",className:"rounded-xl overflow-hidden border border-white/20 bg-black/30",children:h.jsx("iframe",{"data-loc":"client/src/pages/Home.tsx:598",title:`Ãlbum ${s.name}`,src:`https://open.spotify.com/embed/album/${s.id}?utm_source=esotericaisis&theme=0`,width:"100%",height:"152",frameBorder:0,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy"})},s.id))})]})]})]})})}
980function nde({settings:e}){const t=e.about_title||"Soy Kharen Nitza Ormazábal Morales",n=e.about_subtitle||"GuÃa espiritual y tejedora de magia",r=e.about_text||"",a=e.about_image||"";return h.jsx("section",{"data-loc":"client/src/pages/Home.tsx:625",id:"sobre-mi",className:"container py-16",children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:626",className:"grid md:grid-cols-2 gap-12 items-center",children:[h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:627",className:"relative",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:628",className:"absolute -inset-6 rounded-[2rem] animate-pulse-glow",style:{background:"radial-gradient(circle, oklch(0.85 0.14 85 / 0.5), transparent 70%)",filter:"blur(40px)"}}),a&&h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:637",className:"relative rounded-3xl overflow-hidden shadow-mystic border-4 border-[var(--gold)]/50 animate-tilt-3d preserve-3d",style:{background:"linear-gradient(160deg, oklch(0.96 0.04 305) 0%, oklch(0.94 0.06 85 / 0.6) 50%, oklch(0.96 0.05 195 / 0.6) 100%)"},children:h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:644",src:a,alt:"Kharen Nitza",className:"w-full aspect-[3/4] object-contain"})})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:648",className:"space-y-5",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:649",className:"bg-[var(--gold)]/20 text-gold border-[var(--gold)]",children:"Sobre mÃ"}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:650",className:"font-display text-4xl md:text-5xl text-[var(--mystic-deep)]",children:t}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:651",className:"text-lg italic text-gold",children:n}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:652",className:"text-muted-foreground leading-relaxed whitespace-pre-line",children:r})]})]})})}function rde({image:e}){return h.jsx("section",{"data-loc":"client/src/pages/Home.tsx:661",className:"container py-16",children:h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:662",className:"rounded-3xl gradient-soft border border-[var(--gold)]/40 p-10 md:p-16 relative overflow-hidden shadow-mystic",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:663",className:"absolute top-4 left-4 text-3xl animate-float-slow",children:"â¨"}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:664",className:"absolute bottom-4 right-4 text-4xl animate-float-mid",children:"ð"}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:665",className:"absolute top-1/2 right-8 text-2xl animate-float-fast",children:"ðª·"}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:666",className:"grid md:grid-cols-[auto_1fr] gap-10 items-center relative z-10",children:[e&&h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:668",className:"relative mx-auto md:mx-0",children:[h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:669",className:"absolute -inset-4 rounded-full animate-pulse-glow",style:{background:"radial-gradient(circle, oklch(0.85 0.14 85 / 0.55), transparent 70%)",filter:"blur(30px)"}}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:677",className:"relative w-48 h-48 md:w-56 md:h-56 rounded-full overflow-hidden border-4 border-[var(--gold)]/60 shadow-mystic animate-float-slow",style:{background:"linear-gradient(160deg, oklch(0.96 0.04 305) 0%, oklch(0.94 0.06 85 / 0.6) 50%, oklch(0.96 0.05 195 / 0.6) 100%)"},children:h.jsx("img",{"data-loc":"client/src/pages/Home.tsx:684",src:e,alt:"Kharen Nitza Ormazábal Morales",className:"w-full h-full object-cover"})}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:690",className:"absolute -top-2 -right-2 text-2xl animate-float-fast",children:"â¨"}),h.jsx("div",{"data-loc":"client/src/pages/Home.tsx:691",className:"absolute -bottom-1 -left-2 text-2xl animate-float-mid",children:"ð"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:694",className:"text-center md:text-left",children:[h.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:695",className:"bg-[var(--gold)]/20 text-gold border-[var(--gold)] mb-3",children:"Te acompaño en tu camino"}),h.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:696",className:"font-display text-4xl md:text-5xl text-[var(--mystic-deep)]",children:"¿Lista para tu siguiente paso?"}),h.jsx("p",{"data-loc":"client/src/pages/Home.tsx:697",className:"text-muted-foreground mt-4 max-w-xl mx-auto md:mx-0",children:"Reserva tu lectura, terapia o curso. El universo ya conoce el camino, solo necesita tu sÃ. Estoy aquà para guiarte con amor y sabidurÃa ancestral."}),h.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:700",className:"mt-6 flex gap-3 justify-center md:justify-start flex-wrap",children:[h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:701",href:"#servicios",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:702",size:"lg",className:"gradient-mystic text-white shadow-mystic",children:[h.jsx(On,{"data-loc":"client/src/pages/Home.tsx:703",className:"w-4 h-4 mr-2"})," Ver servicios"]})}),h.jsx("a",{"data-loc":"client/src/pages/Home.tsx:706",href:"#sobre-mi",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Home.tsx:707",size:"lg",variant:"outline",className:"border-[var(--gold)] text-[var(--mystic-deep)] hover:bg-[var(--gold)]/10",children:[h.jsx(qh,{"data-loc":"client/src/pages/Home.tsx:708",className:"w-4 h-4 mr-2"})," Conoce mi historia"]})})]})]})]})]})})}function ade(){const{data:e,isLoading:t}=De.socialReels.listPublic.useQuery();return h.jsx("div",{"data-loc":"client/src/pages/Reels.tsx:11",className:"min-h-screen bg-gradient-to-b from-[#fdf7ff] via-white to-[#f8f4ff]",children:h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:12",className:"container py-10 md:py-16 max-w-6xl",children:[h.jsx(Sa,{"data-loc":"client/src/pages/Reels.tsx:13",href:"/",children:h.jsxs("a",{"data-loc":"client/src/pages/Reels.tsx:14",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-[var(--mystic-deep)] mb-4",children:[h.jsx(Ym,{"data-loc":"client/src/pages/Reels.tsx:15",className:"w-4 h-4"})," Volver al inicio"]})}),h.jsxs("header",{"data-loc":"client/src/pages/Reels.tsx:18",className:"text-center mb-10",children:[h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:19",className:"inline-flex items-center gap-2 text-xs uppercase tracking-[0.2em] text-[var(--gold-dark,#a07a1f)] mb-3",children:[h.jsx(On,{"data-loc":"client/src/pages/Reels.tsx:20",className:"w-4 h-4"})," Reels Esotérica Isis"]}),h.jsx("h1",{"data-loc":"client/src/pages/Reels.tsx:22",className:"font-display text-4xl md:text-5xl text-[var(--mystic-deep)] mb-3",children:"Magia luminosa en movimiento"}),h.jsx("p",{"data-loc":"client/src/pages/Reels.tsx:25",className:"text-muted-foreground max-w-2xl mx-auto",children:"Rituales, mensajes del tarot, magia blanca y meditaciones â
980con la música original de Esotérica Isis. Sigue mis redes para no perderte ninguna luna nueva."}),h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:28",className:"flex flex-wrap justify-center gap-2 mt-5",children:[h.jsx("a",{"data-loc":"client/src/pages/Reels.tsx:29",href:"https://www.instagram.com/esoterica_isis",target:"_blank",rel:"noreferrer",children:h.jsx(Ae,{"data-loc":"client/src/pages/Reels.tsx:30",variant:"outline",size:"sm",children:"Seguir en Instagram"})}),h.jsx("a",{"data-loc":"client/src/pages/Reels.tsx:32",href:"https://www.tiktok.com/@esotericaisis",target:"_blank",rel:"noreferrer",children:h.jsx(Ae,{"data-loc":"client/src/pages/Reels.tsx:33",variant:"outline",size:"sm",children:"Seguir en TikTok"})}),h.jsx("a",{"data-loc":"client/src/pages/Reels.tsx:35",href:"https://open.spotify.com/artist/6qjoujp4Qyo95csdS29EpL",target:"_blank",rel:"noreferrer",children:h.jsxs(Ae,{"data-loc":"client/src/pages/Reels.tsx:36",variant:"outline",size:"sm",children:[h.jsx(el,{"data-loc":"client/src/pages/Reels.tsx:36",className:"w-3.5 h-3.5 mr-1"})," Escuchar en Spotify"]})})]})]}),t?h.jsx("div",{"data-loc":"client/src/pages/Reels.tsx:42",className:"text-center py-20",children:h.jsx(Yn,{"data-loc":"client/src/pages/Reels.tsx:42",className:"w-8 h-8 animate-spin mx-auto text-[var(--gold)]"})}):!e||e.length===0?h.jsx(Je,{"data-loc":"client/src/pages/Reels.tsx:44",className:"p-10 text-center",children:h.jsx("p",{"data-loc":"client/src/pages/Reels.tsx:45",className:"text-muted-foreground",children:"Pronto verás aquà los reels más recientes ð"})}):h.jsx("div",{"data-loc":"client/src/pages/Reels.tsx:48",className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-5",children:e.map(n=>h.jsxs(Je,{"data-loc":"client/src/pages/Reels.tsx:50",className:"overflow-hidden bg-card hover:shadow-xl transition-shadow border-[var(--gold)]/20",children:[h.jsx("div",{"data-loc":"client/src/pages/Reels.tsx:51",className:"relative aspect-[9/16] bg-black",children:h.jsx("video",{"data-loc":"client/src/pages/Reels.tsx:52",src:n.videoUrl,poster:n.thumbnailUrl||void 0,controls:!0,playsInline:!0,preload:"metadata",className:"w-full h-full object-cover"})}),h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:61",className:"p-4 space-y-1.5",children:[h.jsx("h2",{"data-loc":"client/src/pages/Reels.tsx:62",className:"font-display text-lg text-[var(--mystic-deep)] leading-tight",children:n.title}),n.spotifyTrack&&h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:64",className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[h.jsx(el,{"data-loc":"client/src/pages/Reels.tsx:65",className:"w-3 h-3"})," ⪠",n.spotifyTrack," · Esotérica Isis"]}),n.description&&h.jsx("p",{"data-loc":"client/src/pages/Reels.tsx:68",className:"text-sm text-muted-foreground line-clamp-3",children:n.description})]})]},n.id))}),h.jsxs("div",{"data-loc":"client/src/pages/Reels.tsx:75",className:"mt-12 text-center text-xs text-muted-foreground",children:["Toda la música y contenido es propiedad intelectual de ",h.jsx("b",{"data-loc":"client/src/pages/Reels.tsx:76",children:"Kharen Ormazabal · Esotérica Isis"})," ©",h.jsx("br",{"data-loc":"client/src/pages/Reels.tsx:77"}),"Distribuida por DistroKid · Hashtag oficial ",h.jsx("span",{"data-loc":"client/src/pages/Reels.tsx:77",className:"text-[var(--mystic-deep)]",children:"#EsotericaIsisOriginal"})]})]})})}const sde="56973874059",ide="escuelaesotericaisis",ode=[{id:"manual-rituales-lunares",title:"Manual de Rituales Lunares",subtitle:"GuÃa completa para activar tu magia con cada fase de la luna",price:9.9,oldPrice:24.9,type:"pdf",cover:"/manus-storage/cover_01_lunar_ff3ed8a6.png",category:"eBook",highlights:["32 páginas","10 rituales paso a paso","Calendario lunar incluido","Descarga inmediata"],description:"Aprende a trabajar con las cuatro fases lunares (luna nueva, creciente, llena y menguante) con rituales sencillos y profundos. Incluye cómo preparar tu altar, escribir intenciones, ritual de luna llena para abundancia, ritual de luna menguante para liberar, calendario lunar personal, eclipses y lunas especiales."},{id:"tarot-principiantes",title:"Tarot para Principiantes",subtitle:"Curso completo de 10 módulos para aprender a leer las cartas desde cero",price:19.9,oldPrice:49.9,type:"pdf",cover:"/manus-storage/cover_02_tarot_c0ea2e8a.png",category:"Curso PDF",highlights:["42 páginas","10 módulos","78 cartas explicadas","Plan 30 dÃas"],description:"Curso completo en formato PDF para iniciar el camino del tarot. Incluye historia, cómo elegir y consagrar tu primera baraja, los 22 Arcanos Mayores, los 56 Arcanos Menores, formular preguntas, 3 tiradas esenciales, ética del tarotista, plan de práctica de 30 dÃas y cómo cobrar por tus lecturas."},{id:"pack-musica-sanadora",title:"Pack Música Sanadora",subtitle:"5 álbumes con guÃa completa de uso para meditación, ritual y sanación",price:14.9,oldPrice:39.9,type:"pdf",cover:"/manus-storage/cover_03_musica_1eab8333.png",category:"Pack Musical",highlights:["24 páginas guÃa","5 álbumes oficiales","+4 horas de música","Acceso 12 meses"],description:"Pack de los 5 álbumes oficiales de Esotérica Isis con guÃa detallada que explica para qué sirve cada pista, cómo usarla en rituales, y qué momentos del dÃa son ideales. Incluye sesión privada de bienvenida por WhatsApp y acceso a futuros álbumes durante 12 meses."},{id:"lectura-privada",title:"Lectura Privada con Kharen",subtitle:"30 minutos de lectura personalizada por videollamada de WhatsApp",price:50,type:"service",cover:"/manus-storage/cover_02_tarot_c0ea2e8a.png",category:"Servicio en vivo",highlights:["30 min en vivo","Audio grabado para ti","Tarot o caracolas","Ritual personalizado de bonus"],description:"¿Quieres ir más profundo? Agenda una lectura personalizada conmigo. 30 minutos de claridad espiritual exclusiva por videollamada de WhatsApp. Tirada personalizada de tarot o caracolas, recomendaciones espirituales para tu situación, audio grabado y ritual personalizado según tu tirada."}];function lde(e){const t=encodeURIComponent(`Esoterica Isis - ${e.title}`),n=e.price.toFixed(2);return`https://www.paypal.com/paypalme/${ide}/${n}USD?country.x=CL&locale.x=es_CL&item=${t}`}function cde(e){const t=e.type==="service"?`¡Hola Kharen! ð Quiero reservar una *${e.title}* (USD ${e.price}). ¿Cuáles son tus horarios disponibles esta semana?`:`¡Hola Kharen! ð Me interesa *${e.title}* (USD ${e.price}). ¿Me confirmas el método de pago y cómo recibo el material?`;return`https://wa.me/${sde}?text=${encodeURIComponent(t)}`}function ude(){const[e,t]=T.useState({}),[n,r]=T.useState(!1),[a,s]=T.useState(!1),[o,c]=T.useState(null),[u,f]=T.useState(null),[p,m]=T.useState(()=>localStorage.getItem("buyer_name")||""),[x,v]=T.useState(()=>localStorage.getItem("buyer_email")||""),[E,_]=T.useState(()=>localStorage.getItem("buyer_whatsapp")||"");function k(M,B){if(!e[M.id]){c(M),f(B),r(!0);return}c(M),f(B),s(!0)}function S(M){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(M)}function O(){if(!o||!u)return;const M=p.trim(),B=x.trim(),Z=E.trim();if(M.length<2){Ue.error("Falta tu nombre",{description:"Necesitamos tu nombre para enviarte el material."});return}if(!S(B)){Ue.error("Email inválido",{description:"Escribe un email correcto donde te enviaremos la descarga firmada."});return}localStorage.setItem("buyer_name",M),localStorage.setItem("buyer_email",B),Z&&localStorage.setItem("buyer_whatsapp",Z),s(!1),R(o,u,{name:M,email:B,whatsapp:Z}),Ue.success("⨠Te llevamos a PayPal",{description:"Tras pagar, vuelve a esta pestaña y haz clic en 'Ya pagué' para recibir tu material firmado."})}function R(M,B,Z){const Y=B==="paypal"?lde(M):cde(M);window.open(Y,"_blank","noopener,noreferrer"),fetch("/api/digital-intent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({productId:M.id,productTitle:M.title,price:M.price,method:B,customerName:Z?.name,customerEmail:Z?.email,customerWhatsapp:Z?.whatsapp})}).catch(()=>{})}function q(M){const B=(p||localStorage.getItem("buyer_name")||"").trim(),Z=(x||localStorage.getItem("buyer_email")||"").trim();if(!S(Z)){Ue.error("Falta tu email",{description:"Para confirmar el pago necesitamos tu email."});return}fetch("/api/digital-intent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({productId:M.id,productTitle:M.title,price:M.price,method:"paypal",status:"success",customerName:B,customerEmail:Z})}).then(()=>{Ue.success("â
Pago reportado a Kharen",{description:"Recibirás tu material firmado en tu email en cuanto Kharen confirme el pago en PayPal."})}).catch(()=>{Ue.error("No pudimos avisar",{description:"EscrÃbenos por WhatsApp para confirmar tu pago."})})}function H(){!o||!u||(t(M=>({...M,[o.id]:!0})),r(!1),s(!0))}const L={userSelect:"none",WebkitUserSelect:"none"};return h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:215",className:"min-h-screen bg-gradient-to-b from-[#0a0420] via-[#1a0d3d] to-[#0a0420] text-white",onContextMenu:M=>M.preventDefault(),style:L,children:[h.jsx("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:221",className:"border-b border-amber-500/20 bg-black/40 backdrop-blur-sm sticky top-0 z-30",children:h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:222",className:"container py-4 flex items-center justify-between gap-4",children:[h.jsx(Sa,{"data-loc":"client/src/pages/ProductosDigitales.tsx:223",href:"/",children:h.jsxs(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:224",variant:"ghost",size:"sm",className:"text-amber-200 hover:text-amber-100",children:[h.jsx(Ym,{"data-loc":"client/src/pages/ProductosDigitales.tsx:225",className:"w-4 h-4 mr-2"})," Volver al sitio"]})}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:228",className:"flex items-center gap-2 text-amber-200 text-sm",children:[h.jsx(Ch,{"data-loc":"client/src/pages/ProductosDigitales.tsx:229",className:"w-4 h-4"})," Compra 100% segura · PayPal"]})]})}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:235",className:"container py-16 text-center",children:[h.jsxs(sa,{"data-loc":"client/src/pages/ProductosDigitales.tsx:236",className:"bg-amber-500/20 text-amber-200 border-amber-500/40 mb-4",children:[h.jsx(On,{"data-loc":"client/src/pages/ProductosDigitales.tsx:237",className:"w-3 h-3 mr-1"})," Lanzamiento especial"]}),h.jsx("h1",{"data-loc":"client/src/pages/ProductosDigitales.tsx:239",className:"text-4xl md:text-6xl font-serif text-amber-100 mb-4 drop-shadow-[0_0_20px_rgba(212,175,55,0.4)]",children:"Productos Digitales · Esotérica Isis"}),h.jsxs("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:242",className:"text-lg md:text-xl text-amber-100/80 max-w-3xl mx-auto leading-relaxed",children:["Activa tu magia desde casa. Cursos, manuales y música sagrada con descarga inmediata.",h.jsx("br",{"data-loc":"client/src/pages/ProductosDigitales.tsx:244"}),h.jsx("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:245",className:"text-amber-200",children:"Hasta 60% off solo durante el lanzamiento."})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:248",className:"flex flex-wrap items-center justify-center gap-6 mt-8 text-sm text-amber-100/70",children:[h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:249",className:"flex items-center gap-2",children:[h.jsx(Fh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:249",className:"w-4 h-4"})," Descarga inmediata"]}),h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:250",className:"flex items-center gap-2",children:[h.jsx(l7,{"data-loc":"client/src/pages/ProductosDigitales.tsx:250",className:"w-4 h-4"})," Pago seguro PayPal"]}),h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:251",className:"flex items-center gap-2",children:[h.jsx(ds,{"data-loc":"client/src/pages/ProductosDigitales.tsx:251",className:"w-4 h-4"})," Soporte por WhatsApp"]}),h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:252",className:"flex items-center gap-2",children:[h.jsx(Gh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:252",className:"w-4 h-4 text-amber-300"})," Material original"]})]})]}),h.jsx("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:257",className:"container pb-20",children:h.jsx("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:258",className:"grid md:grid-cols-2 gap-8",children:ode.map(M=>h.jsxs(Je,{"data-loc":"client/src/pages/ProductosDigitales.tsx:260",className:"bg-black/40 border-amber-500/30 overflow-hidden backdrop-blur-sm hover:border-amber-400/60 transition-all",children:[h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:261",className:"relative aspect-[3/4] md:aspect-auto md:h-80 overflow-hidden bg-gradient-to-br from-purple-900/40 to-indigo-900/40",children:[h.jsx("img",{"data-loc":"client/src/pages/ProductosDigitales.tsx:262",src:M.cover,alt:M.title,className:"w-full h-full object-cover pointer-events-none",draggable:!1,onContextMenu:B=>B.preventDefault()}),h.jsx(sa,{"data-loc":"client/src/pages/ProductosDigitales.tsx:269",className:"absolute top-3 left-3 bg-
980amber-500/90 text-black border-0",children:M.category}),M.oldPrice&&h.jsxs(sa,{"data-loc":"client/src/pages/ProductosDigitales.tsx:271",className:"absolute top-3 right-3 bg-rose-500/90 text-white border-0",children:[Math.round((1-M.price/M.oldPrice)*100),"% OFF"]})]}),h.jsxs(qc,{"data-loc":"client/src/pages/ProductosDigitales.tsx:276",className:"p-6 space-y-4",children:[h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:277",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:278",className:"text-2xl font-serif text-amber-100",children:M.title}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:279",className:"text-sm text-amber-100/70 mt-1",children:M.subtitle})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:282",className:"flex items-baseline gap-3",children:[h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:283",className:"text-3xl font-bold text-amber-300",children:["USD ",M.price.toFixed(2)]}),M.oldPrice&&h.jsxs("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:284",className:"text-lg text-amber-100/40 line-through",children:["USD ",M.oldPrice.toFixed(2)]})]}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:287",className:"text-sm text-amber-100/80 leading-relaxed",children:M.description}),h.jsx("ul",{"data-loc":"client/src/pages/ProductosDigitales.tsx:289",className:"grid grid-cols-2 gap-2 text-xs text-amber-100/70",children:M.highlights.map(B=>h.jsxs("li",{"data-loc":"client/src/pages/ProductosDigitales.tsx:291",className:"flex items-center gap-1.5",children:[h.jsx(On,{"data-loc":"client/src/pages/ProductosDigitales.tsx:292",className:"w-3 h-3 text-amber-300 flex-shrink-0"})," ",B]},B))}),h.jsx("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:297",className:"mt-2 rounded-lg bg-amber-50 border-2 border-amber-400 p-3 shadow-inner",children:h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:298",className:"flex items-start gap-2.5",children:[h.jsx(Sv,{"data-loc":"client/src/pages/ProductosDigitales.tsx:299",id:`terms-${M.id}`,checked:!!e[M.id],onCheckedChange:B=>t(Z=>({...Z,[M.id]:B===!0})),className:"mt-0.5 h-5 w-5 border-2 border-amber-700 bg-white data-[state=checked]:bg-amber-600 data-[state=checked]:border-amber-700 data-[state=checked]:text-white"}),h.jsxs("label",{"data-loc":"client/src/pages/ProductosDigitales.tsx:305",htmlFor:`terms-${M.id}`,className:"text-sm text-slate-900 leading-relaxed cursor-pointer font-medium",children:[h.jsx("span",{"data-loc":"client/src/pages/ProductosDigitales.tsx:306",className:"block text-amber-900 font-bold mb-0.5",children:"â Acepto las reglas de compra"}),"Acepto los"," ",h.jsx("button",{"data-loc":"client/src/pages/ProductosDigitales.tsx:308",type:"button",onClick:()=>r(!0),className:"underline text-amber-800 font-bold hover:text-amber-900",children:"Términos y Condiciones"})," ","y entiendo que este material es de ",h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:311",children:"uso personal"}),", no se puede copiar ni distribuir, y que ",h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:311",children:"NO se garantiza ningún resultado especÃfico"}),"."]})]})}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:316",className:"grid grid-cols-2 gap-2 pt-2",children:[h.jsxs(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:317",className:"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-400 hover:to-amber-500 text-black font-semibold",onClick:()=>k(M,"paypal"),children:[h.jsx(l7,{"data-loc":"client/src/pages/ProductosDigitales.tsx:321",className:"w-4 h-4 mr-1.5"})," Pagar PayPal"]}),h.jsxs(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:323",variant:"outline",className:"border-emerald-500/60 bg-emerald-500/10 text-emerald-200 hover:bg-emerald-500/20",onClick:()=>k(M,"whatsapp"),children:[h.jsx(ds,{"data-loc":"client/src/pages/ProductosDigitales.tsx:328",className:"w-4 h-4 mr-1.5"})," WhatsApp"]})]}),h.jsxs(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:331",type:"button",variant:"ghost",size:"sm",className:"w-full text-amber-200 hover:text-amber-100 hover:bg-amber-500/10 text-xs mt-1",onClick:()=>q(M),children:[h.jsx(Ch,{"data-loc":"client/src/pages/ProductosDigitales.tsx:338",className:"w-3.5 h-3.5 mr-1.5"})," Ya pagué - avisar a Kharen"]})]})]},M.id))})}),h.jsx("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:347",className:"container pb-16",children:h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:348",className:"grid md:grid-cols-3 gap-4 text-center",children:[h.jsxs(Je,{"data-loc":"client/src/pages/ProductosDigitales.tsx:349",className:"bg-black/40 border-amber-500/20 p-6",children:[h.jsx(Ch,{"data-loc":"client/src/pages/ProductosDigitales.tsx:350",className:"w-10 h-10 text-amber-300 mx-auto mb-3"}),h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:351",className:"font-serif text-amber-100 mb-2",children:"Pago 100% seguro"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:352",className:"text-xs text-amber-100/70",children:"PayPal protege tu pago. Tu información financiera nunca se comparte."})]}),h.jsxs(Je,{"data-loc":"client/src/pages/ProductosDigitales.tsx:354",className:"bg-black/40 border-amber-500/20 p-6",children:[h.jsx(Fh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:355",className:"w-10 h-10 text-amber-300 mx-auto mb-3"}),h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:356",className:"font-serif text-amber-100 mb-2",children:"Descarga inmediata"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:357",className:"text-xs text-amber-100/70",children:"Tras el pago recibes el material en tu correo en cuestión de minutos."})]}),h.jsxs(Je,{"data-loc":"client/src/pages/ProductosDigitales.tsx:359",className:"bg-black/40 border-amber-500/20 p-6",children:[h.jsx(ds,{"data-loc":"client/src/pages/ProductosDigitales.tsx:360",className:"w-10 h-10 text-amber-300 mx-auto mb-3"}),h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:361",className:"font-serif text-amber-100 mb-2",children:"Soporte directo"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:362",className:"text-xs text-amber-100/70",children:"¿Dudas? EscrÃbeme por WhatsApp y te atiendo personalmente."})]})]})}),h.jsx("footer",{"data-loc":"client/src/pages/ProductosDigitales.tsx:368",className:"border-t border-amber-500/20 bg-black/60 py-8",children:h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:369",className:"container text-xs text-amber-100/50 text-center space-y-2",children:[h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:370",children:"© 2026 Esotérica Isis · Kharen Ormazabal · Todos los derechos reservados."}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:371",children:"Material protegido por derechos de autor. Reproducción, copia o distribución prohibida."}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:372",className:"text-amber-100/40",children:"Los servicios y productos son de naturaleza espiritual y orientativa. No se garantiza ningún resultado especÃfico de ningún tipo (sentimental, económico, salud, etc.)."})]})}),h.jsx(Qh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:379",open:a,onOpenChange:s,children:h.jsxs(Wh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:380",className:"max-w-md bg-amber-50 border-2 border-amber-600 text-slate-900",children:[h.jsxs(Kh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:381",children:[h.jsxs(Zh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:382",className:"text-2xl font-serif text-amber-900 flex items-center gap-2",children:[h.jsx($h,{"data-loc":"client/src/pages/ProductosDigitales.tsx:383",className:"w-5 h-5"})," Ãltimos datos antes de pagar"]}),h.jsx(Jh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:385",className:"text-slate-700 font-medium",children:"Necesitamos tu email para enviarte la descarga firmada con tu nombre tras confirmar el pago."})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:389",className:"space-y-4",children:[h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:390",children:[h.jsxs(Rt,{"data-loc":"client/src/pages/ProductosDigitales.tsx:391",htmlFor:"buyer-name",className:"text-amber-900 font-semibold flex items-center gap-1.5",children:[h.jsx(WB,{"data-loc":"client/src/pages/ProductosDigitales.tsx:392",className:"w-4 h-4"})," Tu nombre completo"]}),h.jsx(ut,{"data-loc":"client/src/pages/ProductosDigitales.tsx:394",id:"buyer-name",value:p,onChange:M=>m(M.target.value),placeholder:"MarÃa González",className:"mt-1 bg-white border-amber-700 text-slate-900",autoFocus:!0})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:403",children:[h.jsxs(Rt,{"data-loc":"client/src/pages/ProductosDigitales.tsx:404",htmlFor:"buyer-email",className:"text-amber-900 font-semibold flex items-center gap-1.5",children:[h.jsx($h,{"data-loc":"client/src/pages/ProductosDigitales.tsx:405",className:"w-4 h-4"})," Tu email (lo principal)"]}),h.jsx(ut,{"data-loc":"client/src/pages/ProductosDigitales.tsx:407",id:"buyer-email",type:"email",value:x,onChange:M=>v(M.target.value),placeholder:"[email protected]",className:"mt-1 bg-white border-amber-700 text-slate-900"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:415",className:"text-xs text-slate-700 mt-1",children:"A este email te enviaremos tu PDF firmado con tu nombre."})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:417",children:[h.jsxs(Rt,{"data-loc":"client/src/pages/ProductosDigitales.tsx:418",htmlFor:"buyer-whatsapp",className:"text-amber-900 font-semibold flex items-center gap-1.5",children:[h.jsx(ds,{"data-loc":"client/src/pages/ProductosDigitales.tsx:419",className:"w-4 h-4"})," WhatsApp (opcional)"]}),h.jsx(ut,{"data-loc":"client/src/pages/ProductosDigitales.tsx:421",id:"buyer-whatsapp",value:E,onChange:M=>_(M.target.value),placeholder:"+56 9 1234 5678",className:"mt-1 bg-white border-amber-700 text-slate-900"})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:429",className:"text-xs bg-amber-100 border border-amber-300 rounded p-2 text-slate-800",children:[h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:430",children:"¿Qué pasa ahora?"})," 1) Te llevamos a PayPal. 2) Pagas con tu cuenta o tarjeta. 3) Vuelves a esta página y haces clic en ",h.jsx("em",{"data-loc":"client/src/pages/ProductosDigitales.tsx:430",children:"Ya pagué"}),". 4) Kharen recibe el aviso y te envÃa tu material firmado a tu email."]})]}),h.jsxs(Xh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:433",children:[h.jsx(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:434",variant:"outline",onClick:()=>s(!1),className:"border-2 border-amber-700 text-amber-900 bg-white hover:bg-amber-50",children:"Cancelar"}),h.jsx(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:437",onClick:O,className:"bg-gradient-to-r from-amber-600 to-amber-700 hover:from-amber-700 hover:to-amber-800 text-white font-bold",children:"Continuar a PayPal"})]})]})}),h.jsx(Qh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:448",open:n,onOpenChange:r,children:h.jsxs(Wh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:449",className:"max-w-2xl max-h-[85vh] overflow-y-auto bg-amber-50 border-2 border-amber-600 text-slate-900",children:[h.jsxs(Kh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:450",children:[h.jsxs(Zh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:451",className:"text-2xl font-serif text-amber-900 flex items-center gap-2",children:[h.jsx(IB,{"data-loc":"client/src/pages/ProductosDigitales.tsx:452",className:"w-5 h-5"})," Términos y Condiciones"]}),h.jsx(Jh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:454",className:"text-slate-700 font-medium",children:"Lee atentamente antes de comprar."})]}),h.jsxs("div",{"data-loc":"client/src/pages/ProductosDigitales.tsx:458",className:"space-y-4 text-base leading-relaxed text-slate-900",children:[h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:459",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:460",className:"font-bold text-amber-900 mb
980-1 text-lg",children:"1. Naturaleza orientativa"}),h.jsxs("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:461",children:["Los servicios y materiales esotéricos ofrecidos por Esotérica Isis · Kharen Ormazabal tienen fines orientativos, espirituales y de crecimiento personal. ",h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:461",children:"NO se garantiza ningún resultado especÃfico"})," (sentimental, económico, salud, suerte, retorno de pareja, etc.)."]})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:463",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:464",className:"font-bold text-amber-900 mb-1 text-lg",children:"2. Responsabilidad del cliente"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:465",children:"Cualquier decisión que tomes basada en lecturas, rituales o materiales adquiridos es de tu exclusiva responsabilidad. Esotérica Isis no se hace responsable de daños directos o indirectos derivados del uso de los servicios."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:467",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:468",className:"font-bold text-amber-900 mb-1 text-lg",children:"3. Derechos de autor"}),h.jsxs("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:469",children:["Todo el material (textos, audios, videos, imágenes, PDFs) es propiedad intelectual exclusiva de Kharen Ormazabal · Esotérica Isis. ",h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:469",children:"Queda prohibida la reproducción, copia, distribución, reventa, retransmisión, publicación o cualquier uso comercial"})," sin autorización escrita previa."]})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:471",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:472",className:"font-bold text-amber-900 mb-1 text-lg",children:"4. Uso personal"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:473",children:"Los productos digitales adquiridos son para tu uso personal exclusivo. No se permite compartirlos, prestarlos ni publicarlos."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:475",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:476",className:"font-bold text-amber-900 mb-1 text-lg",children:"5. Lecturas privadas â Confidencialidad"}),h.jsxs("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:477",children:["Las sesiones en vivo (videollamada por WhatsApp) son confidenciales para ambas partes. ",h.jsx("strong",{"data-loc":"client/src/pages/ProductosDigitales.tsx:477",children:"Está prohibido grabar, fotografiar, transcribir o difundir"})," el contenido de la sesión sin autorización escrita previa de Kharen Ormazabal."]})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:479",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:480",className:"font-bold text-amber-900 mb-1 text-lg",children:"6. Pagos y reembolsos"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:481",children:"Los pagos se procesan a través de PayPal o coordinación directa por WhatsApp. Por la naturaleza digital del producto, una vez entregado el material o realizada la sesión, no se aceptan reembolsos."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:483",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:484",className:"font-bold text-amber-900 mb-1 text-lg",children:"7. Privacidad"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:485",children:"Tu información personal (nombre, correo, WhatsApp) se utiliza únicamente para la entrega del producto y la atención de tu pedido. No se comparte con terceros. Puedes solicitar la eliminación de tus datos escribiendo a [email protected]."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:487",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:488",className:"font-bold text-amber-900 mb
980-1 text-lg",children:"8. Edad mÃnima"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:489",children:"Los productos y servicios están destinados a personas mayores de 18 años."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:491",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:492",className:"font-bold text-amber-900 mb-1 text-lg",children:"9. Jurisdicción"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:493",children:"Estas condiciones se rigen por las leyes de la República de Chile. Cualquier controversia será resuelta en los tribunales competentes de Santiago, Chile."})]}),h.jsxs("section",{"data-loc":"client/src/pages/ProductosDigitales.tsx:495",children:[h.jsx("h3",{"data-loc":"client/src/pages/ProductosDigitales.tsx:496",className:"font-bold text-amber-900 mb-1 text-lg",children:"10. Aceptación"}),h.jsx("p",{"data-loc":"client/src/pages/ProductosDigitales.tsx:497",children:"Al marcar la casilla de aceptación y proceder al pago, declaras haber leÃdo, entendido y aceptado Ãntegramente estos Términos y Condiciones."})]})]}),h.jsxs(Xh,{"data-loc":"client/src/pages/ProductosDigitales.tsx:500",className:"gap-2 sm:gap-2",children:[h.jsx(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:501",variant:"outline",onClick:()=>r(!1),className:"border-2 border-amber-700 text-amber-900 bg-white hover:bg-amber-50 font-semibold",children:"Cancelar"}),o&&h.jsx(Ae,{"data-loc":"client/src/pages/ProductosDigitales.tsx:505",onClick:H,className:"bg-gradient-to-r from-amber-600 to-amber-700 hover:from-amber-700 hover:to-amber-800 text-white font-bold shadow-lg",children:"Acepto y continuar con la compra"})]})]})})]})}function dde(){const e="56973874059",t=encodeURIComponent("¡Hola Kharen! ð Acabo de completar mi compra de un producto digital. ¿Me puedes confirmar el envÃo del material?");return h.jsx("div",{"data-loc":"client/src/pages/Gracias.tsx:13",className:"min-h-screen bg-gradient-to-b from-[#0a0420] via-[#1a0d3d] to-[#0a0420] text-amber-100 flex items-center justify-center p-6",children:h.jsx(Je,{"data-loc":"client/src/pages/Gracias.tsx:14",className:"max-w-xl bg-black/40 border-amber-500/40 backdrop-blur-sm",children:h.jsxs(qc,{"data-loc":"client/src/pages/Gracias.tsx:15",className:"p-8 text-center space-y-6",children:[h.jsx("div",{"data-loc":"client/src/pages/Gracias.tsx:16",className:"flex justify-center",children:h.jsx("div",{"data-loc":"client/src/pages/Gracias.tsx:17",className:"w-20 h-20 rounded-full bg-emerald-500/20 border-2 border-emerald-400 flex items-center justify-center",children:h.jsx(_A,{"data-loc":"client/src/pages/Gracias.tsx:18",className:"w-12 h-12 text-emerald-400"})})}),h.jsxs("div",{"data-loc":"client/src/pages/Gracias.tsx:22",className:"space-y-2",children:[h.jsxs("h1",{"data-loc":"client/src/pages/Gracias.tsx:23",className:"text-3xl font-serif text-amber-100 flex items-center justify-center gap-2",children:[h.jsx(On,{"data-loc":"client/src/pages/Gracias.tsx:24",className:"w-6 h-6 text-amber-300"})," ¡Gracias por tu compra!"]}),h.jsx("p",{"data-loc":"client/src/pages/Gracias.tsx:26",className:"text-amber-100/80",children:"Tu pago fue recibido correctamente. La energÃa sagrada ya está en camino hacia ti. ð"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Gracias.tsx:31",className:"border-t border-amber-500/20 pt-4 space-y-3 text-sm text-amber-100/80",children:[h.jsxs("p",{"data-loc":"client/src/pages/Gracias.tsx:32",className:"flex items-start gap-2",children:[h.jsx($h,{"data-loc":"client/src/pages/Gracias.tsx:33",className:"w-4 h-4 mt-0.5 text-amber-300 flex-shrink-0"}),h.jsx("span",{"data-loc":"client/src/pages/Gracias.tsx:34",children:"En los próximos minutos recibirás el material en el correo asociado a tu PayPal. Si no llega en una hora, revisa la carpeta de spam o contáctame."})]}),h.jsxs("p",{"data-loc":"client/src/pages/Gracias.tsx:39",className:"flex items-start gap-2",children:[h.jsx(ds,{"data-loc":"client/src/pages/Gracias.tsx:40",className:"w-4 h-4 mt-0.5 text-emerald-300 flex-shrink-0"}),h.jsx("span",{"data-loc":"client/src/pages/Gracias.tsx:41",children:"Si tienes alguna duda o quieres confirmar la recepción, escrÃbeme directamente por WhatsApp."})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Gracias.tsx:47",className:"flex flex-col sm:flex-row gap-3 pt-2",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Gracias.tsx:48",asChild:!0,className:"flex-1 bg-emerald-500 hover:bg-emerald-400 text-black font-semibold",children:h.jsxs("a",{"data-loc":"client/src/pages/Gracias.tsx:49",href:`https://wa.me/${e}?text=${t}`,target:"_blank",rel:"noopener noreferrer",children:[h.jsx(ds,{"data-loc":"client/src/pages/Gracias.tsx:50",className:"w-4 h-4 mr-2"})," Confirmar por WhatsApp"]})}),h.jsx(Ae,{"data-loc":"client/src/pages/Gracias.tsx:53",asChild:!0,variant:"outline",className:"flex-1 border-amber-500/40 text-amber-200",children:h.jsx(Sa,{"data-loc":"client/src/pages/Gracias.tsx:54",href:"/",children:"Volver al inicio"})})]}),h.jsx("p",{"data-loc":"client/src/pages/Gracias.tsx:58",className:"text-xs text-amber-100/50 pt-2",children:"Recuerda: el material es de uso personal y está protegido por derechos de autor. Gracias por tu respeto a mi trabajo. â¨"})]})})})}const fde="https://paypal.me/escuelaesotericaisis";function hde(){const{data:e,isLoading:t}=De.certificates.listCoursePrices.useQuery(),[n,r]=T.useState(null),[a,s]=T.useState(""),[o,c]=T.useState(""),[u,f]=T.useState(""),[p,m]=T.useState(!1),[x,v]=T.useState(null),[E,_]=T.useState(""),[k,S]=T.useState(null),[O,R]=T.useState(!1),q=De.useUtils();async function H(B,Z){R(!0);try{const Y=await q.certificates.hasPurchasedCourse.fetch({courseProductId:B,studentEmail:Z});Y.purchased?(S({productId:B,email:Z,reference:Y.reference||"compra confirmada"}),c(Z),Ue.success(`Compra verificada (${Y.reference||Y.via}). Completa tus datos.`)):Ue.error("No encontramos tu compra de este curso bajo ese email. Si pagaste por transferencia o en persona, escribe a Kharen al WhatsApp +56973874059.")}catch(Y){const ae=Y instanceof Error?Y.message:"Error de verificacion";Ue.error(ae)}finally{R(!1)}}const L=De.certificates.request.useMutation({onSuccess:B=>{const Z=(B.amountCents/100).toFixed(2),Y=encodeURIComponent(`Certificado ${B.seri
980alNumber} - ${B.courseName} - ${B.studentName}`),ae=`${fde}/${Z}USD?locale.x=es_CL&utm_content=${Y}`;v({url:ae,serial:B.serialNumber,amountUsd:Z,courseName:B.courseName}),Ue.success(`Certificado ${B.serialNumber} reservado. Completa el pago en PayPal.`);try{window.open(ae,"_blank","noopener,noreferrer")}catch{}r(null),s(""),c(""),f(""),m(!1)},onError:B=>Ue.error(B.message||"No se pudo solicitar el certificado. Intenta de nuevo.")});function M(){if(n){if(a.trim().length<2)return Ue.error("Escribe tu nombre completo");if(!/^\S+@\S+\.\S+$/.test(o))return Ue.error("Escribe un email valido");if(!p)return Ue.error("Debes aceptar los terminos");L.mutate({courseProductId:n.productId,studentName:a.trim(),studentEmail:o.trim().toLowerCase(),studentWhatsapp:u.trim()||void 0,acceptedTerms:!0})}}return h.jsx("div",{"data-loc":"client/src/pages/Certificados.tsx:86",className:"min-h-screen bg-gradient-to-br from-[#0c1733] via-[#1a1140] to-[#1a0c2e] py-16 px-4",children:h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:87",className:"container max-w-6xl mx-auto",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:88",className:"text-center mb-12",children:[h.jsx("div",{"data-loc":"client/src/pages/Certificados.tsx:89",className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-br from-yellow-400 via-amber-500 to-yellow-700 mb-4 shadow-2xl shadow-amber-500/40",children:h.jsx(yA,{"data-loc":"client/src/pages/Certificados.tsx:90",className:"w-10 h-10 text-[#0c1733]"})}),h.jsx("h1",{"data-loc":"client/src/pages/Certificados.tsx:92",className:"text-4xl md:text-5xl font-bold text-amber-200 mb-3",style:{fontFamily:"Cinzel, serif"},children:"Certificado Oficial"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:95",className:"text-xl text-amber-100/80 mb-2",children:"Escuela Esoterica Isis · Tradicion Egipcia Ancestral"}),h.jsxs("p",{"data-loc":"client/src/pages/Certificados.tsx:96",className:"text-base text-amber-100/60 max-w-2xl mx-auto",children:["Obtén el certificado oficial de tu curso, firmado por ",h.jsx("strong",{"data-loc":"client/src/pages/Certificados.tsx:97",children:"Kharen Nitza Ormazabal"}),", con número de serie único verificable y diseño dorado-egipcio listo para imprimir o compartir."]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:102",className:"grid md:grid-cols-3 gap-4 mb-12 text-center",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:103",className:"p-4 rounded-lg bg-white/5 border border-amber-400/20",children:[h.jsx(On,{"data-loc":"client/src/pages/Certificados.tsx:104",className:"w-6 h-6 text-amber-400 mx-auto mb-2"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:105",className:"text-amber-100 font-semibold",children:"Diseño dorado egipcio"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:106",className:"text-sm text-amber-100/60",children:"Plantilla Real Azul-Oro con la diosa Isis y sello oficial"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:108",className:"p-4 rounded-lg bg-white/5 border border-amber-400/20",children:[h.jsx(Km,{"data-loc":"client/src/pages/Certificados.tsx:109",className:"w-6 h-6 text-amber-400 mx-auto mb-2"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:110",className:"text-amber-100 font-semibold",children:"Verificable online"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:111",className:"text-sm text-amber-100/60",children:"Cualquiera puede confirmar la autenticidad con tu numero de serie"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:113",className:"p-4 rounded-lg bg-white/5 border border-amber-400/20",children:[h.jsx(TA,{"data-loc":"client/src/pages/Certificados.tsx:114",className:"w-6 h-6 text-amber-400 mx-auto mb-2"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:115",className:"text-amber-100 font-semibold",children:"PDF descargable"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:116",className:"text-sm text-amber-100/60",children:"Recibes el PDF firmado por correo después del pago"})]})]}),h.jsx("h2",{"data-loc":"client/src/pages/Certificados.tsx:120",className:"text-2xl font-bold text-amber-200 mb-6",style:{fontFamily:"Cinzel, serif"},children:"Elige tu curso"}),t&&h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:124",className:"text-amber-100/60",children:"Cargando catalogo de cursos..."}),e&&e.length===0&&h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:127",className:"text-amber-100/60",children:"Aún no hay cursos disponibles."}),h.jsx("div",{"data-loc":"client/src/pages/Certificados.tsx:130",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e?.map(B=>h.jsxs(Je,{"data-loc":"client/src/pages/Certificados.tsx:132",className:"bg-white/5 border-amber-400/30 hover:border-amber-400/60 transition-all",children:[h.jsxs(Z2,{"data-loc":"client/src/pages/Certificados.tsx:133",children:[h.jsx(J2,{"data-loc":"client/src/pages/Certificados.tsx:134",className:"text-amber-100",children:B.courseName}),h.jsx(ev,{"data-loc":"client/src/pages/Certificados.tsx:135",className:"text-amber-100/60",children:"Certificado oficial"})]}),h.jsxs(qc,{"data-loc":"client/src/pages/Certificados.tsx:137",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:138",className:"text-3xl font-bold text-amber-300",children:["USD ",(B.certificatePriceCents/100).toFixed(2)]}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:141",className:"text-xs text-amber-100/50 mt-2",children:"Pago aparte del curso. Personalizado con tu nombre y firmado."})]}),h.jsx(Hoe,{"data-loc":"client/src/pages/Certificados.tsx:145",children:h.jsx(Ae,{"data-loc":"client/src/pages/Certificados.tsx:146",onClick:()=>r(B),className:"w-full bg-gradient-to-r from-amber-500 to-yellow-600 hover:from-amber-400 hover:to-yellow-500 text-[#0c1733] font-bold",children:"Solicitar certificado"})})]},B.productId))}),h.jsx(Qh,{"data-loc":"client/src/pages/Certificados.tsx:157",open:!!n,onOpenChange:B=>{B||(r(null),S(null),_(""))},children:h.jsxs(Wh,{"data-loc":"client/src/pages/Certificados.tsx:158",className:"bg-[#1a1140] border-amber-400/40 text-amber-100",children:[h.jsxs(Kh,{"data-loc":"client/src/pages/Certificados.tsx:159",children:[h.jsx(Zh,{"data-loc":"client/src/pages/Certificados.tsx:160",className:"text-amber-200",children:"Solicitar certificado oficial"}),h.jsxs(Jh,{"data-loc":"client/src/pages/Certificados.tsx:161",className:"text-amber-100/70",children:[n?.courseName," - USD ",n?(n.certificatePriceCents/100).toFixed(2):""]})]}),!k&&n&&h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:167",className:"space-y-3 py-2",children:[h.jsx("div",{"data-loc":"client/src/pages/Certificados.tsx:168",className:"rounded-lg bg-amber-500/10 border border-amber-400/30 p-3",children:h.jsxs("p",{"data-loc":"client/src/pages/Certificados.tsx:169",className:"text-sm text-amber-100",children:["Para emitir el certificado primero verificamos que ya compraste y completaste el curso ",h.jsx("strong",{"data-loc":"client/src/pages/Certificados.tsx:170",children:n.courseName}),". Escribe el mismo email con el que pagaste el curso."]})}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:174",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Certificados.tsx:175",htmlFor:"verify-email",className:"text-amber-200 font-medium",children:"Email con el que compraste el curso"}),h.jsx(ut,{"data-loc":"client/src/pages/Certificados.tsx:176",id:"verify-email",type:"email",value:E,onChange:B=>_(B.target.value),placeholder:"[email protected]",className:"bg-white/10 border-amber-400/40 text-amber-50 placeholder:text-amber-100/40 mt-1"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:178",className:"flex flex-col sm:flex-row gap-2 pt-2",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Certificados.tsx:179",onClick:()=>
980{if(!/^\S+@\S+\.\S+$/.test(E))return Ue.error("Escribe un email valido");H(n.productId,E.trim().toLowerCase())},disabled:O,className:"flex-1 bg-gradient-to-r from-amber-500 to-yellow-600 text-[#0c1733] font-bold",children:O?"Verificando...":"Verificar mi compra"}),h.jsx("a",{"data-loc":"client/src/pages/Certificados.tsx:189",href:"/services",className:"flex-1 text-center rounded-md border border-amber-400/40 text-amber-100 px-4 py-2 hover:bg-amber-500/10",children:"Aun no compre el curso"})]}),h.jsxs("p",{"data-loc":"client/src/pages/Certificados.tsx:193",className:"text-xs text-amber-100/60 pt-2",children:["¿Pagaste el curso por transferencia o en persona? Escribe a Kharen via WhatsApp ",h.jsx("a",{"data-loc":"client/src/pages/Certificados.tsx:194",href:"https://wa.me/56973874059",className:"underline text-amber-300",children:"+56 9 7387 4059"})," y ella te emitira el certificado manualmente."]})]}),k&&h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:200",className:"space-y-3",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:201",className:"rounded-lg bg-emerald-500/10 border border-emerald-400/40 p-2 text-sm text-emerald-100",children:["â Compra verificada (",k.reference,"). Completa los datos para emitir tu certificado."]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:204",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Certificados.tsx:205",htmlFor:"cert-name",className:"text-amber-200 font-medium",children:"Nombre completo (como debe aparecer en el certificado)"}),h.jsx(ut,{"data-loc":"client/src/pages/Certificados.tsx:206",id:"cert-name",value:a,onChange:B=>s(B.target.value),placeholder:"Maria Gonzalez Aravena",className:"bg-white/10 border-amber-400/40 text-amber-50 placeholder:text-amber-100/40 mt-1"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:208",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Certificados.tsx:209",htmlFor:"cert-email",className:"text-amber-200 font-medium",children:"Email donde recibiras el PDF"}),h.jsx(ut,{"data-loc":"client/src/pages/Certificados.tsx:210",id:"cert-email",type:"email",value:o,onChange:B=>c(B.target.value),placeholder:"[email protected]",className:"bg-white/10 border-amber-400/40 text-amber-50 placeholder:text-amber-100/40 mt-1"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:212",children:[h.jsx(Rt,{"data-loc":"client/src/pages/Certificados.tsx:213",htmlFor:"cert-wa",className:"text-amber-200 font-medium",children:"WhatsApp (opcional)"}),h.jsx(ut,{"data-loc":"client/src/pages/Certificados.tsx:214",id:"cert-wa",value:u,onChange:B=>f(B.target.value),placeholder:"+56 9 1234 5678",className:"bg-white/10 border-amber-400/40 text-amber-50 placeholder:text-amber-100/40 mt-1"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:216",className:"flex items-start gap-2 pt-2",children:[h.jsx(Sv,{"data-loc":"client/src/pages/Certificados.tsx:217",id:"cert-terms",checked:p,onCheckedChange:B=>m(!!B)}),h.jsx(Rt,{"data-loc":"client/src/pages/Certificados.tsx:218",htmlFor:"cert-terms",className:"text-sm text-amber-100/80 leading-snug",children:"Acepto que mi nombre aparezca tal cual lo escribi en el certificado, que el pago se hace via PayPal a paypal.me/escuelaesotericaisis y que el PDF se enviara cuando Kharen confirme la recepcion del pago."})]})]}),k&&h.jsxs(Xh,{"data-loc":"client/src/pages/Certificados.tsx:225",children:[h.jsx(Ae,{"data-loc":"client/src/pages/Certificados.tsx:226",variant:"outline",onClick:()=>{r(null),S(null)},children:"Cancelar"}),h.jsx(Ae,{"data-loc":"client/src/pages/Certificados.tsx:227",onClick:M,disabled:L.isPending,className:"bg-gradient-to-r from-amber-500 to-yellow-600 text-[#0c1733] font-bold",children:L.isPending?"Procesando...":"Solicitar y pagar con PayPal"})]})]})}),h.jsx(Qh,{"data-loc":"client/src/pages/Certificados.tsx:235",open:!!x,onOpenChange:B=>!B&&v(null),children:h.jsxs(Wh,{"data-loc":"client/src/pages/Certificados.tsx:236",className:"bg-[#1a1140] border-amber-400/40 text-amber-100",children:[h.jsxs(Kh,{"data-loc":"client/src/pages/Certificados.tsx:237",children:[h.jsx(Zh,{"data-loc":"client/src/pages/Certificados.tsx:238",className:"text-amber-200",children:"Completa tu pago en PayPal"}),h.jsxs(Jh,{"data-loc":"client/src/pages/Certificados.tsx:239",className:"text-amber-100/70",children:["Certificado ",h.jsx("strong",{"data-loc":"client/src/pages/Certificados.tsx:240",children:x?.serial})," - ",x?.courseName]})]}),h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:243",className:"space-y-4 py-2",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:244",className:"text-center",children:[h.jsxs("div",{"data-loc":"client/src/pages/Certificados.tsx:245",className:"text-4xl font-bold text-amber-300",children:["USD ",x?.amountUsd]}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:246",className:"text-sm text-amber-100/70 mt-1",children:"Pago via PayPal a paypal.me/escuelaesotericaisis"})]}),h.jsx("a",{"data-loc":"client/src/pages/Certificados.tsx:248",href:x?.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full bg-[#FFC439] hover:bg-[#FFB800] text-[#003087] font-bold rounded-lg h-14 text-lg",children:"Abrir PayPal y pagar ahora"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:256",className:"text-xs text-amber-100/60 text-center",children:"Si no se abre en tu navegador, copia este enlace:"}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:259",className:"text-[11px] text-amber-200/80 text-center break-all bg-black/30 p-2 rounded",children:x?.url}),h.jsx("p",{"data-loc":"client/src/pages/Certificados.tsx:262",className:"text-xs text-amber-100/70 text-center",children:"Cuando Kharen confirme tu pago, recibiras el PDF firmado en tu correo."})]}),h.jsx(Xh,{"data-loc":"client/src/pages/Certificados.tsx:266",children:h.jsx(Ae,{"data-loc":"client/src/pages/Certificados.tsx:267",variant:"outline",onClick:()=>v(null),children:"Cerrar"})})]})})]})})}function mde(){const t=a4().token,{data:n,isLoading:r,error:a}=De.certificates.verify.useQuery({token:t},{enabled:!!t,retry:!1});return h.jsx("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:17",className:"min-h-screen bg-gradient-to-br from-[#0c1733] via-[#1a1140] to-[#1a0c2e] py-16 px-4",children:h.jsxs("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:18",className:"container max-w-2xl mx-auto",children:[h.jsxs("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:19",className:"text-center mb-8",children:[h.jsx(yA,{"data-loc":"client/src/pages/VerificarCertificado.tsx:20",className:"w-16 h-16 text-amber-400 mx-auto mb-3"}),h.jsx("h1",{"data-loc":"client/src/pages/VerificarCertificado.tsx:21",className:"text-3xl font-bold text-amber-200",style:{fontFamily:"Cinzel, serif"},children:"Verificacion de Certificado"}),h.jsx("p",{"data-loc":"client/src/pages/VerificarCertificado.tsx:24",className:"text-amber-100/70 mt-2",children:"Escuela Esoterica Isis"})]}),r&&h.jsx(Je,{"data-loc":"client/src/pages/VerificarCertificado.tsx:28",className:"bg-white/5 border-amber-400/30",children:h.jsx(qc,{"data-loc":"client/src/pages/VerificarCertificado.tsx:29",className:"py-12 text-center text-amber-100/70",children:"Verificando..."})}),!r&&(!n||a)&&h.jsx(Je,{"data-loc":"client/src/pages/VerificarCertificado.tsx:34",className:"bg-red-950/40 border-red-400/40",children:h.jsxs(Z2,{"data-loc":"client/src/pages/VerificarCertificado.tsx:35",children:[h.jsx(GB,{"data-loc":"client/src/pages/VerificarCertificado.tsx:36",className:"w-10 h-10 text-red-300 mx-auto"}),h.jsx(J2,{"data-loc":"client/src/pages/VerificarCertificado.tsx:37",className:"text-red-200 text-center",children:"Certificado no encontrado"}),h.jsxs(ev,{"data-loc":"client/src/pages/VerificarCertificado.tsx:38",className:"text-red-100/70 text-center",children:["El codigo ",t," no corresponde a ningun certificado emitido por Escuela Esoterica Isis. Si crees que es un error, escribenos a [email protected]."]})]})}),n&&h.jsxs(Je,{"data-loc":"client/src/pages/VerificarCertificado.tsx:47",className:"bg-white/5 border-amber-400/40",children:[h.jsxs(Z2,{"data-loc":"client/src/pages/VerificarCertificado.tsx:48",children:[h.jsx("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:49",className:"flex items-center justify-center gap-2 mb-2",children:n.status==="issued"?h.jsx(Ch,{"data-loc":"client/src/pages/VerificarCertificado.tsx:51",className:"w-12 h-12 text-emerald-400"}):h.jsx(Km,{"data-loc":"client/src/pages/VerificarCertificado.tsx:53",className:"w-12 h-12 text-amber-400"})}),h.jsx(J2,{"data-loc":"client/src/pages/VerificarCertificado.tsx:56",className:"text-2xl text-amber-200 text-center",style:{fontFamily:"Cinzel, serif"},children:n.status==="issued"?"Certificado autentico":"Certificado en proceso"}),h.jsx(ev,{"data-loc":"client/src/pages/VerificarCertificado.tsx:59",className:"text-center text-amber-100/70",children:n.status==="issued"?"Este certificado fue emitido oficialmente por Escuela Esoterica Isis":"Este certificado existe pero aun no ha sido emitido (pago en revision)"})]}),h.jsxs(qc,{"data-loc":"client/src/pages/VerificarCertificado.tsx:65",className:"space-y-3 text-amber-100",children:[h.jsx(fd,{"data-loc":"client/src/pages/VerificarCertificado.tsx:66",label:"Numero de serie",value:n.serialNumber}),h.jsx(fd,{"data-loc":"client/src/pages/VerificarCertificado.tsx:67",label:"Estudiante",value:n.studentName}),h.jsx(fd,{"data-loc":"client/src/pages/VerificarCertificado.tsx:68",label:"Curso",value:n.courseName}),h.jsx(fd,{"data-loc":"client/src/pages/VerificarCertificado.tsx:69",label:"Firmado por",value:n.signedBy}),n.issuedAt&&h.jsx(fd,{"data-loc":"client/src/pages/VerificarCertificado.tsx:71",label:"Fecha de emision",value:new Date(n.issuedAt).toLocaleDateString("es-CL",{day:"2-digit",month:"long",year:"numeric"})}),n.pdfUrl&&h.jsx("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:74",className:"pt-4 text-center",children:h.jsx(Ae,{"data-loc":"client/src/pages/VerificarCertificado.tsx:75",asChild:!0,className:"bg-gradient-to-r from-amber-500 to-yellow-600 text-[#0c1733] font-bold",children:h.jsxs("a",{"data-loc":"client/src/pages/VerificarCertificado.tsx:76",href:n.pdfUrl,target:"_blank",rel:"noopener noreferrer",children:[h.jsx(Fh,{"data-loc":"client/src/pages/VerificarCertificado.tsx:77",className:"w-4 h-4 mr-2"}),"Descargar PDF oficial"]})})})]})]})]})})}function fd({label:e,value:t}){return h.jsxs("div",{"data-loc":"client/src/pages/VerificarCertificado.tsx:93",className:"flex flex-col sm:flex-row sm:justify-between border-b border-amber-400/15 pb-2",children:[h.jsx("span",{"data-loc":"client/src/pages/VerificarCertificado.tsx:94",className:"text-amber-100/60 text-sm",children:e}),h.jsx("span",{"data-loc":"client/src/pages/VerificarCertificado.tsx:95",className:"font-semibold text-right",children:t})]})}const pde="https://esotericaisis.manus.space";function gde(){const{data:e,isLoading:t}=De.blog.list.useQuery();return T.useEffect(()=>{if(typeof document>"u")return;document.title="Blog Esotérica Isis · Tarot, rituales y magia ancestral";const n=document.querySelector('meta[name="description"]'),r="ArtÃculos esotéricos sobre tarot egipcio, c
980aracolas, rituales de luna llena, magia ancestral y desarrollo espiritual escritos por Kharen Nitza Ormazabal.";if(n)n.setAttribute("content",r);else{const s=document.createElement("meta");s.name="description",s.content=r,document.head.appendChild(s)}let a=document.querySelector('link[rel="canonical"]');a||(a=document.createElement("link"),a.setAttribute("rel","canonical"),document.head.appendChild(a)),a.setAttribute("href",`${pde}/blog`)},[]),h.jsxs("div",{"data-loc":"client/src/pages/BlogList.tsx:34",className:"min-h-screen bg-gradient-to-b from-[#fdfbf7] via-[#f6efe2] to-[#fdfbf7]",children:[h.jsx(Pd,{"data-loc":"client/src/pages/BlogList.tsx:35"}),h.jsxs("header",{"data-loc":"client/src/pages/BlogList.tsx:36",className:"container py-12 md:py-20 text-center",children:[h.jsxs("div",{"data-loc":"client/src/pages/BlogList.tsx:37",className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-[var(--gold)]/40 bg-white/60 text-xs uppercase tracking-[0.25em] text-gold mb-6",children:[h.jsx(EA,{"data-loc":"client/src/pages/BlogList.tsx:38",className:"w-3.5 h-3.5"})," Blog Esotérica Isis"]}),h.jsx("h1",{"data-loc":"client/src/pages/BlogList.tsx:40",className:"font-display text-4xl md:text-6xl text-[var(--mystic-deep)] leading-tight max-w-3xl mx-auto",children:"SabidurÃa esotérica para tu camino diario"}),h.jsx("p",{"data-loc":"client/src/pages/BlogList.tsx:43",className:"mt-5 max-w-2xl mx-auto text-[var(--mystic-deep)]/75 text-lg",children:"Tarot egipcio, caracolas, rituales de luna, magia ancestral y enseñanzas que comparto contigo desde mi escuela en Chile."})]}),h.jsxs("main",{"data-loc":"client/src/pages/BlogList.tsx:48",className:"container pb-24",children:[t&&h.jsx("div",{"data-loc":"client/src/pages/BlogList.tsx:50",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:Array.from({length:6}).map((n,r)=>h.jsx("div",{"data-loc":"client/src/pages/BlogList.tsx:52",className:"rounded-2xl bg-white/70 h-72 animate-pulse"},r))}),!t&&e&&e.length===0&&h.jsxs("div",{"data-loc":"client/src/pages/BlogList.tsx:58",className:"text-center text-[var(--mystic-deep)]/70 py-12",children:[h.jsx(On,{"data-loc":"client/src/pages/BlogList.tsx:59",className:"w-10 h-10 mx-auto text-gold mb-4"}),h.jsx("p",{"data-loc":"client/src/pages/BlogList.tsx:60",children:"Pronto publicaré los primeros artÃculos. Vuelve en unos dÃas."})]}),h.jsx("div",{"data-loc":"client/src/pages/BlogList.tsx:64",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:(e??[]).map(n=>h.jsx(Sa,{"data-loc":"client/src/pages/BlogList.tsx:66",href:`/blog/${n.slug}`,children:h.jsxs("a",{"data-loc":"client/src/pages/BlogList.tsx:67",className:"group block rounded-2xl bg-white/70 backdrop-blur-sm border border-[var(--gold)]/25 overflow-hidden hover:shadow-mystic transition-all hover:-translate-y-1",children:[n.imageUrl?h.jsx("img",{"data-loc":"client/src/pages/BlogList.tsx:69",src:n.imageUrl,alt:n.title,className:"w-full h-48 object-cover",loading:"lazy"}):h.jsx("div",{"data-loc":"client/src/pages/BlogList.tsx:71",className:"w-full h-48 gradient-mystic flex items-center justify-center",children:h.jsx(On,{"data-loc":"client/src/pages/BlogList.tsx:72",className:"w-12 h-12 text-[var(--gold)]"})}),h.jsxs("div",{"data-loc":"client/src/pages/BlogList.tsx:75",className:"p-5",children:[h.jsxs("div",{"data-loc":"client/src/pages/BlogList.tsx:76",className:"flex items-center gap-3 text-xs text-[var(--mystic-deep)]/60 mb-2",children:[h.jsxs("span",{"data-loc":"client/src/pages/BlogList.tsx:77",className:"flex items-center gap-1",children:[h.jsx(Qm,{"data-loc":"client/src/pages/BlogList.tsx:77",className:"w-3 h-3"}),new Date(n.publishedAt).toLocaleDateString("es-CL")]}),h.jsxs("span",{"data-loc":"client/src/pages/BlogList.tsx:78",className:"flex items-center gap-1",children:[h.jsx(Ev,{"data-loc":"client/src/pages/BlogList.tsx:78",className:"w-3 h-3"}),n.readingMinutes," min"]})]}),h.jsx("h2",{"data-loc":"client/src/pages/BlogList.tsx:80",className:"font-display text-xl text-[var(--mystic-deep)] leading-snug mb-2 group-hover:text-gold transition-colors",children:n.title}),h.jsx("p",{"data-loc":"client/src/pages/BlogList.tsx:83",className:"text-sm text-[var(--mystic-deep)]/75 line-clamp-3",children:n.excerpt})]})]})},n.id))})]})]})}const Oc="https://esotericaisis.manus.space",xde="+56973874059";function qi(e,t,n=!1){if(typeof document>"u")return;const r=n?`meta[property="${e}"]`:`meta[name="${e}"]`;let a=document.querySelector(r);a||(a=document.createElement("meta"),n?a.setAttribute("property",e):a.setAttribute("name",e),document.head.appendChild(a)),a.setAttribute("content",t)}function bde(e){if(typeof document>"u")return;let t=document.querySelector('link[rel="canonical"]');t||(t=document.createElement("link"),t.setAttribute("rel","canonical"),document.head.appendChild(t)),t.setAttribute("href",e)}function vde(e){if(typeof document>"u")return;const t="blog-jsonld";document.getElementById(t)?.remove();const n={"@context":"https://schema.org","@type":"BlogPosting",headline:e.title,de
980scription:e.excerpt??"",image:e.imageUrl??`${Oc}/og-image.jpg`,datePublished:new Date(e.publishedAt).toISOString(),author:{"@type":"Person",name:e.author},publisher:{"@type":"Organization",name:"Esotérica Isis",logo:{"@type":"ImageObject",url:`${Oc}/logo.png`}},mainEntityOfPage:`${Oc}/blog/${e.slug}`},r=document.createElement("script");r.id=t,r.type="application/ld+json",r.text=JSON.stringify(n),document.head.appendChild(r)}function yde(){const[,e]=Yse("/blog/:slug"),t=e?.slug??"",{data:n,isLoading:r}=De.blog.getBySlug.useQuery({slug:t},{enabled:!!t});if(T.useEffect(()=>{n&&(document.title=`${n.title} · Blog Esotérica Isis`,qi("description",n.metaDescription??n.excerpt??""),n.metaKeywords&&qi("keywords",n.metaKeywords),qi("og:title",n.title,!0),qi("og:description",n.metaDescription??n.excerpt??"",!0),qi("og:type","article",!0),qi("og:url",`${Oc}/blog/${n.slug}`,!0),n.imageUrl&&qi("og:image",n.imageUrl,!0),qi("twitter:card","summary_large_image"),bde(`${Oc}/blog/${n.slug}`),vde(n))},[n]),r)return h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:79",className:"min-h-screen bg-gradient-to-b from-[#fdfbf7] via-[#f6efe2] to-[#fdfbf7]",children:[h.jsx(Pd,{"data-loc":"client/src/pages/BlogPost.tsx:80"}),h.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:81",className:"container py-20 text-center text-[var(--mystic-deep)]/70",children:"Cargando artÃculoâ¦"})]});if(!n)return h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:88",className:"min-h-screen bg-gradient-to-b from-[#fdfbf7] via-[#f6efe2] to-[#fdfbf7]",children:[h.jsx(Pd,{"data-loc":"client/src/pages/BlogPost.tsx:89"}),h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:90",className:"container py-20 text-center",children:[h.jsx("h1",{"data-loc":"client/src/pages/BlogPost.tsx:91",className:"font-display text-3xl text-[var(--mystic-deep)] mb-4",children:"ArtÃculo no encontrado"}),h.jsx(Sa,{"data-loc":"client/src/pages/BlogPost.tsx:92",href:"/blog",children:h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:92",className:"text-gold underline",children:"Volver al blog"})})]})]});const a=`${Oc}/blog/${n.slug}`,s=encodeURIComponent(`Hola Kharen, leà tu artÃculo "${n.title}" y me gustarÃa saber más.`);return h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:102",className:"min-h-screen bg-gradient-to-b from-[#fdfbf7] via-[#f6efe2] to-[#fdfbf7]",children:[h.jsx(Pd,{"data-loc":"client/src/pages/BlogPost.tsx:103"}),h.jsxs("article",{"data-loc":"client/src/pages/BlogPost.tsx:104",className:"container max-w-3xl py-10 md:py-16",children:[h.jsx(Sa,{"data-loc":"client/src/pages/BlogPost.tsx:105",href:"/blog",children:h.jsxs("a",{"data-loc":"client/src/pages/BlogPost.tsx:106",className:"inline-flex items-center gap-2 text-sm text-[var(--mystic-deep)]/70 hover:text-gold mb-6",children:[h.jsx(Ym,{"data-loc":"client/src/pages/BlogPost.tsx:107",className:"w-4 h-4"})," Volver al blog"]})}),n.imageUrl&&h.jsx("img",{"data-loc":"client/src/pages/BlogPost.tsx:112",src:n.imageUrl,alt:n.title,className:"w-full h-72 md:h-96 object-cover rounded-2xl shadow-mystic mb-8"}),h.jsxs("header",{"data-loc":"client/src/pages/BlogPost.tsx:115",className:"mb-8",children:[h.jsx("h1",{"data-loc":"client/src/pages/BlogPost.tsx:116",className:"font-display text-3xl md:text-5xl text-[var(--mystic-deep)] leading-tight mb-4",children:n.title}),h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:119",className:"flex flex-wrap items-center gap-4 text-sm text-[var(--mystic-deep)]/65",children:[h.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:120",className:"flex items-center gap-1.5",children:[h.jsx(On,{"data-loc":"client/src/pages/BlogPost.tsx:120",className:"w-4 h-4 text-gold"}),n.author]}),h.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:121",className:"flex items-center gap-1.5",children:[h.jsx(Qm,{"data-loc":"client/src/pages/BlogPost.tsx:121",className:"w-4 h-4"}),new Date(n.publishedAt).toLocaleDateString("es-CL",{year:"numeric",month:"long",day:"numeric"})]}),h.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:122",className:"flex items-center gap-1.5",children:[h.jsx(Ev,{"data-loc":"client/src/pages/BlogPost.tsx:122",className:"w-4 h-4"}),n.readingMinutes," min de lectura"]})]})]}),h.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:126",className:"prose prose-lg max-w-none text-[var(--mystic-deep)] [&_h2]:font-display [&_h2]:text-3xl [&_h2]:text-[var(--mystic-deep)] [&_h2]:mt-10 [&_h2]:mb-4 [&_h3]:font-display [&_h3]:text-2xl [&_h3]:mt-8 [&_h3]:mb-3 [&_p]:leading-relaxed [&_p]:mb-4 [&_ul]:list-disc [&_ul]:pl-6 [&_ul]:mb-4 [&_li]:mb-2 [&_strong]:text-gold",dangerouslySetInnerHTML:{__html:n.content}}),h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:131",className:"mt-12 p-6 rounded-2xl gradient-mystic text-white text-center shadow-mystic",children:[h.jsx("h3",{"data-loc":"client/src/pages/BlogPost.tsx:132",className:"font-display text-2xl mb-3",children:"¿Quieres tu lectura personalizada?"}),h.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:133",className:"mb-5 opacity-90",children:"EscrÃbeme directamente por WhatsApp o explora mis cursos y servicios."}),h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:134",className:"flex flex-wrap justify-center gap-3",children:[h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:135",href:`https://wa.me/${xde.replace(/\D/g,"")}?text=${s}`,target:"_blank",rel:"noopener noreferrer",children:h.jsxs(Ae,{"data-loc":"client/src/pages/BlogPost.tsx:136",size:"lg",className:"bg-white text-[var(--mystic-deep)] hover:bg-white/90",children:[h.jsx(ds,{"data-loc":"client/src/pages/BlogPost.tsx:137",className:"w-4 h-4 mr-2"})," Hablar por WhatsApp"]})}),h.jsx(Sa,{"data-loc":"client/src/pages/BlogPost.tsx:140",href:"/#servicios",children:h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:140",children:h.jsx(Ae,{"data-loc":"client/src/pages/BlogPost.tsx:140",size:"lg",variant:"outline",className:"border-white text-white hover:bg-white/10",children:"Ver servicios"})})})]})]}),h.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:144",className:"mt-8 flex items-center gap-3 justify-center text-sm text-[var(--mystic-deep)]/60",children:[h.jsx(Av,{"data-loc":"client/src/pages/BlogPost.tsx:145",className:"w-4 h-4"}),h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:146",href:`https://wa.me/?text=${encodeURIComponent(n.title+" "+a)}`,target:"_blank",rel:"noopener noreferrer",className:"hover:text-gold",children:"WhatsApp"}),h.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:147",children:"·"}),h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:148",href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(a)}`,target:"_blank",rel:"noopener noreferrer",className:"hover:text-gold",children:"Facebook"}),h.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:149",children:"·"}),h.jsx("a",{"data-loc":"client/src/pages/BlogPost.tsx:150",href:`https://twitter.com/intent/tweet?url=${encodeURIComponent(a)}&text=${encodeURIComponent(n.title)}`,target:"_blank",rel:"noopener noreferrer",className:"hover:text-gold",children:"X"})]})]})]})}const G_=[{id:1,titulo:"Lectura Express US$56",descripcion:"Lectura express de tarot 20 minutos con Kharen Nitza.",img:"/manus-storage/post01b-tarot-luna_protected_381ee999.jpg"},{id:2,titulo:"Magia Egipcia",descripcion:"Curso completo de Magia Egipcia online.",img:"/manus-storage/post02b-magia-egipcia_protected_1784006b.jpg"},{id:3,titulo:"Lectura de Caracolas",descripcion:"Mensaje ancestral con caracolas.",img:"/manus-storage/post03b-caracolas_protected_e21a1535.jpg"}
980,{id:4,titulo:"Ritual de Luna Llena",descripcion:"Ritual lunar para limpieza y manifestación.",img:"/manus-storage/post04b-ritual-luna_protected_93f15356.jpg"},{id:5,titulo:"Cábala Sagrada",descripcion:"El Ãrbol de la Vida que despierta tu alma.",img:"/manus-storage/post05b-cabala-arbol_protected_b80e64c6.jpg"},{id:6,titulo:"Terapia de Ãngeles",descripcion:"Sanación con tu guÃa celestial.",img:"/manus-storage/post06b-angeles_protected_fdb266d5.jpg"},{id:7,titulo:"Amor y Reconciliación",descripcion:"Amarres éticos para reavivar el amor verdadero.",img:"/manus-storage/post07b-amarre_protected_3ca05bda.jpg"},{id:8,titulo:"Limpieza Energética",descripcion:"Renueva tu casa y tu aura.",img:"/manus-storage/post08b-limpieza_protected_079cbb64.jpg"},{id:9,titulo:"Ritual de Prosperidad",descripcion:"Atrae abundancia y dinero.",img:"/manus-storage/post09b-prosperidad_protected_96b2aaa0.jpg"},{id:10,titulo:"Testimonio Real",descripcion:"Testimonios reales de clientas.",img:"/manus-storage/post10b-testimonio_protected_4c788972.jpg"}];function Ede(){return T.useEffect(()=>{document.title="GalerÃa Oficial · Escuela Esotérica Isis · Kharen Nitza";const e=r=>{const a=r.target;a&&a.tagName==="IMG"&&r.preventDefault()},t=r=>r.preventDefault();document.addEventListener("contextmenu",e),document.addEventListener("dragstart",t);const n=document.createElement("script");return n.type="application/ld+json",n.text=JSON.stringify({"@context":"https://schema.org","@type":"ImageGallery",name:"GalerÃa Oficial Escuela Esotérica Isis",creator:{"@type":"Person",name:"Kharen Nitza Ormazábal Morales",url:"https://esotericaisis.manus.space/"},copyrightHolder:{"@type":"Person",name:"Kharen Nitza Ormazábal Morales"},copyrightNotice:"© 2026 Kharen Nitza Ormazábal Morales. Todos los derechos reservados.",license:"https://esotericaisis.manus.space/galeria",image:G_.map(r=>({"@type":"ImageObject",contentUrl:`https://esotericaisis.manus.space${r.img}`,name:`${r.titulo} - Escuela Esotérica Isis - Kharen Nitza`,creator:{"@type":"Person",name:"Kharen Nitza Ormazábal Morales"},copyrightNotice:"© 2026 Kharen Nitza Ormazábal Morales",creditText:"Escuela Esotérica Isis · esotericaisis.manus.space",license:"https://esotericaisis.manus.space/galeria",acquireLicensePage:"https://esotericaisis.manus.space/"}))}),document.head.appendChild(n),()=>{document.removeEventListener("contextmenu",e),document.removeEventListener("dragstart",t),document.head.removeChild(n)}},[]),h.jsxs("div",{"data-loc":"client/src/pages/Galeria.tsx:68",className:"min-h-screen bg-gradient-to-b from-amber-50 via-purple-50 to-pink-50",children:[h.jsxs("header",{"data-loc":"client/src/pages/Galeria.tsx:69",className:"text-center py-12 px-4",children:[h.jsx("h1",{"data-loc":"client/src/pages/Galeria.tsx:70",className:"text-4xl md:text-6xl font-serif text-amber-700 mb-4 drop-shadow-lg",children:"GalerÃa Oficial"}),h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:73",className:"text-xl text-purple-700 font-light",children:"Escuela Esotérica Isis · Kharen Nitza Ormazábal Morales"}),h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:76",className:"mt-3 text-amber-600 text-lg font-bold",children:"ð esotericaisis.manus.space ð"}),h.jsx("div",{"data-loc":"client/src/pages/Galeria.tsx:79",className:"mt-6 max-w-2xl mx-auto bg-amber-100 border-2 border-amber-400 rounded-2xl p-4",children:h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:80",className:"text-amber-800 font-semibold",children:"ð¡ï¸ Todas las imágenes están protegidas por derechos de autor. Marca de agua visible e invisible (EXIF) embebida. Cualquier uso no autorizado será denunciado vÃa DMCA."})})]}),h.jsx("section",{"data-loc":"client/src/pages/Galeria.tsx:88",className:"max-w-6xl mx-auto px-4 pb-20",children:h.jsx("div",{"data-loc":"client/src/pages/Galeria.tsx:89",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8",children:G_.map(e=>h.jsxs("article",{"data-loc":"client/src/pages/Galeria.tsx:91",className:"bg-white rounded-2xl shadow-xl overflow-hidden hover:scale-[1.02] transition-transform border-2 border-amber-200",children:[h.jsxs("div",{"data-loc":"client/src/pages/Galeria.tsx:95",className:"relative",children:[h.jsx("img",{"data-loc":"client/src/pages/Galeria.tsx:96",src:e.img,alt:`${e.titulo} - Escuela Esotérica Isis - Kharen Nitza Ormazábal - © 2026 esotericaisis.manus.space`,title:"© 2026 Kharen Nitza Ormazábal · Escuela Esotérica Isis",loading:"lazy",draggable:!1,onContextMenu:t=>t.preventDefault(),className:"w-full aspect-[3/4] object-cover select-none pointer-events-none",style:{userSelect:"none",WebkitUserSelect:"none"}}),h.jsx("div",{"data-loc":"client/src/pages/Galeria.tsx:106",className:"absolute top-2 left-2 bg-black/70 text-amber-300 text-xs px-2 py-1 rounded",children:"© Kharen Nitza"})]}),h.jsxs("div",{"data-loc":"client/src/pages/Galeria.tsx:110",className:"p-5",children:[h.jsx("h2",{"data-loc":"client/src/pages/Galeria.tsx:111",className:"text-xl font-serif text-amber-700 mb-2",children:e.titulo}),h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:112",className:"text-gray-700 text-sm mb-4",children:e.descripcion}),h.jsx("a",{"data-loc":"client/src/pages/Galeria.tsx:113",href:"/",className:"inline-block bg-gradient-to-r from-amber-500 to-yellow-500 text-white font-bold px-5 py-2 rounded-full shadow-md hover:shadow-lg transition-shadow",children:"Ver en la página principal â"})]})]},e.id))})}),h.jsxs("footer",{"data-loc":"client/src/pages/Galeria.tsx:125",className:"text-center py-10 text-purple-700 bg-amber-50 border-t-2 border-amber-200",children:[h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:126",className:"font-serif text-lg",children:"© 2026 Escuela Esotérica Isis · Kharen Nitza Ormazábal Morales"}),h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:129",className:"mt-2 text-sm max-w-2xl mx-auto px-4",children:"ð Todas las imágenes son obra original y están protegidas por derechos de autor (Ley 17.336 de Chile, Convenio de Berna y DMCA). Prohibido reproducir, copiar, descargar, redistribuir o capturar sin autorización escrita."}),h.jsx("p",{"data-loc":"client/src/pages/Galeria.tsx:133",className:"mt-3 text-xs text-amber-700",children:"Sitio único oficial: esotericaisis.manus.space"})]})]})}const wde=T.lazy(()=>F(()=>import("./InterpretarSuenos-DFAg7wrA.js"),__vite__mapDeps([97,98]))),_de=T.lazy(()=>F(()=>import("./CartaAstral-CVTt8a4e.js"),__vite__mapDeps([99,98])));function Tde(){return h.jsxs(Kse,{"data-loc":"client/src/App.tsx:32",children:[h.jsx(vr,{"data-loc":"client/src/App.tsx:33",path:"/",component:Wue}),h.jsx(vr,{"data-loc":"client/src/App.tsx:34",path:"/admin",component:H_}),h.jsx(vr,{"data-loc":"client/src/App.tsx:35",path:"/admin/:section",component:H_}),h.jsx(vr,{"data-loc":"client/src/App.tsx:36",path:"/reels",component:ade}),h.jsx(vr,{"data-loc":"client/src/App.tsx:37",path:"/productos-digitales",component:ude}),h.jsx(vr,{"data-loc":"client/src/App.tsx:38",path:"/gracias",component:dde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:39",path:"/certificados",component:hde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:40",path:"/certificado/:token",component:mde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:41",path:"/blog",component:gde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:42",path:"/blog/:slug",component:yde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:43",path:"/galeria",component:Ede}),h.jsx(vr,{"data-loc":"client/src/App.tsx:44",path:"/interpretar-suenos",component:wde}),h.jsx(vr,{"data-loc":"client/src/App.tsx:45",path:"/carta-astral",component:_de}),h.jsx(vr,{"data-loc":"client/src/App.tsx:46",path:"/404",component:j_}),h.jsx(vr,{"data-loc":"client/src/App.tsx:47",component:j_})]})}function Ade(){const e=De.orders.markPayment.useMutation();return T.useEffect(()=>{if(typeof window>"u")return;const t=new URL(window.location.href),n=t.searchParams.get("order"),r=t.searchParams.get("gracias"),a=t.searchParams.get("cancelado");if(!n||!r&&!a)return;const s=parseInt(n,10);Number.isFinite(s)&&(e.mutate({id:s,result:r?"approved":"cancelled",paymentRef:r?"PayPal Standard return":null,message:r?"Cliente regresó desde PayPal con éxito":"Cliente canceló en PayPal"},{onSuccess:()=>{r?Ue.success("¡Gracias! Tu pago fue procesado por PayPal."):Ue.info("Compra cancelada. Puedes volver a intentarlo cuando quieras.")}}),t.searchParams.delete("gracias"),t.searchParams.delete("cancelado"),t.searchParams.delete("order"),window.history.replaceState({},"",t.toString()))},[]),null}function Sde(){return h.jsx(Uoe,{"data-loc":"client/src/App.tsx:88",children:h.jsx(qoe,{"data-loc":"client/src/App.tsx:89",defaultTheme:"light",children:h.jsx(joe,{"data-loc":"client/src/App.tsx:90",children:h.jsx(EH,{"data-loc":"client/src/App.tsx:91",children:h.jsxs(Boe,{"data-loc":"client/src/App.tsx:92",children:[h.jsx(Sse,{"data-loc":"client/src/App.tsx:93"}),h.jsx(Ade,{"data-loc":"client/src/App.tsx:94"}),h.jsx(Tde,{"data-loc":"client/src/App.tsx:95"}),h.jsx(vse,{"data-loc":"client/src/App.tsx:96"}),h.jsx(Ese,{"data-loc":"client/src/App.tsx:97"}),h.jsx(Cse,{"data-loc":"client/src/App.tsx:98"}),h.jsx(Zse,{"data-loc":"client/src/App.tsx:99"})]})})})})})}const Pm=new aP,vD=e=>{!(e instanceof Dc)||typeof window>"u"||!(e.message===zL)||(window.location.href=zp())};Pm.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;vD(t),console.error("[API Query Error]",t)}});Pm.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;vD(t),console.error("[API Mutation Error]",t)}});const Cde=De.createClient({links:[fL({url:"/api/trpc",transformer:ui,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});VL.createRoot(document.getElementById("root")).render(h.jsx(De.Provider,{"data-loc":"client/src/main.tsx:57",client:Cde,queryClient:Pm,children:h.jsx(iP,{"data-loc":"client/src/main.tsx:58",client:Pm,children:h.jsx(bse,{"data-loc":"client/src/main.tsx:59",children:h.jsx(Sde,{"data-loc":"client/src/main.tsx:60"})})})}));export{Ae as B,Tc as C,ut as I,Sa as L,HB as M,$B as S,F as _,Ev as a,Yn as b,On as c,Gh as d,Ke as e,Pde as f,Lm as g,h as j,Vt as k,T as r,De as t};
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.