mirror of
https://github.com/vastxie/99AI.git
synced 2025-09-26 05:16:37 +08:00
47 lines
249 KiB
JavaScript
47 lines
249 KiB
JavaScript
var Hi=Object.defineProperty;var qi=(e,t,u)=>t in e?Hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u;var se=(e,t,u)=>(qi(e,typeof t!="symbol"?t+"":t,u),u),Hu=(e,t,u)=>{if(!t.has(e))throw TypeError("Cannot "+u)};var f=(e,t,u)=>(Hu(e,t,"read from private field"),u?u.call(e):t.get(e)),V=(e,t,u)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,u)},W=(e,t,u,n)=>(Hu(e,t,"write to private field"),n?n.call(e,u):t.set(e,u),u);var cu=(e,t,u,n)=>({set _(r){W(e,t,r,u)},get _(){return f(e,t,n)}}),B=(e,t,u)=>(Hu(e,t,"access private method"),u);import{u as _t,a as Me,b as Ui,f as Wi,c as Gi,t as L,d as gn,e as Vi,r as Xi,g as Zi,h as yr,i as Yi,j as Qi,s as Xt,k as Ji,l as Ki,m as eo,n as to,o as uo,p as _r,_ as vr,q as mn,v as no,w as ro,x as bn,y as xn,R as io,z as oo,A as ao,B as so,C as lo}from"./index-a70ad6b3.js";import{d as he,e as z,S as F,U as R,X as O,W as Z,a3 as m,m as Ln,c as K,a4 as M,M as y,r as H,w as we,f as Ce,V as Q,z as Tu,a5 as Y,k as rt,a6 as it,F as Ie,a7 as Ue,a8 as G,a9 as Ju,A as co,o as yn,H as Ge,n as Ot,a as ke,p as st,t as kr,x as Nt,aa as fo,ab as ho,h as po,ac as wr,ad as go,P as mo}from"./vue-cf46d111.js";import{u as Ke}from"./useBasicLayout-8e07f8d7.js";import{S as bo,a as xo}from"./Star-723ae1fb.js";import{C as Iu,a as yo,S as _o,U as Mn,M as vo,b as kt,D as ko,A as wo,c as Co,d as Ao,e as Eo,L as Do,g as So}from"./menu-1a8ade33.js";import{p as Cr,e as et,q as Ar,r as Zt,s as Er,t as Dr,v as _n,w as zu,d as Sr,x as qu,y as Fo,z as Fr,i as Tr,A as To,B as Io,C as zo,D as $o,E as Lo}from"./naive-ui-074da7ca.js";import{_ as $u}from"./_plugin-vue_export-helper-c27b6911.js";import{C as Ir,Q as Rn}from"./index-5ab11154.js";import{f as Mo}from"./crami-4d5edf1c.js";import{f as zr,a as Ro}from"./order-54d4bdde.js";import{_ as $r}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import"./vueuse-motion-d8fe070a.js";import"./index-08cceacb.js";const Bo={key:0},Po={key:1},Oo=he({__name:"index",props:{tooltip:{default:""},placement:{default:"bottom"}},emits:["click"],setup(e,{emit:t}){const u=e,n=t,r=z(()=>!!u.tooltip);function i(){n("click")}return(o,a)=>r.value?(F(),R("div",Bo,[O(y(Cr),{placement:o.placement,trigger:"hover"},{trigger:Z(()=>[m("button",{onClick:i},[Ln(o.$slots,"default")])]),default:Z(()=>[K(" "+M(o.tooltip),1)]),_:3},8,["placement"])])):(F(),R("div",Po,[m("button",{onClick:i},[Ln(o.$slots,"default")])]))}}),No={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},jo={class:"flex justify-between items-start mb-2"},Ho={class:"relative flex flex-1 w-full"},qo={for:"search-field",class:"sr-only"},Uo={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Wo=["placeholder"],Go={key:0,class:"relative",style:{"max-width":"60%",margin:"auto"}},Vo=["onClick"],Xo={key:0,class:"flex justify-between items-start my-1 h-14",style:{"max-width":"100%"}},Zo=["onClick"],Yo={class:"w-full flex flex-grow my-2 items-start"},Qo=["onClick"],Jo={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-full"},Ko=["src"],ea={class:"text-white text-sm"},ta={class:"flex-grow flex flex-col"},ua={class:"flex items-center font-medium text-base text-gray-600 dark:text-gray-400 my-1"},na={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},ra={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-1"},ia=he({__name:"AppDialog",props:{visible:{type:Boolean}},setup(e){var _;const t=e,{isMobile:u}=Ke(),n=_t();function r(){n.updateAppDialog(!1)}const i=Me();(_=i.globalConfig)!=null&&_.siteName,z(()=>i.globalConfig.appMenuHeaderTips);const o=et(),a=Ui(),s=H(""),l=H([]),c=z(()=>a.catId),d=H([]),p=H([]),g=z(()=>a.mineApps),h=H([]),b=H(0);function k(x){return g.value.some(D=>D.appId===x.id)}async function w(){var D;const x=await Wi();d.value=(D=x==null?void 0:x.data)==null?void 0:D.rows.map(T=>(T.loading=!1,T)),p.value=d.value}const A=z(()=>s.value?d.value.filter(x=>x.name.includes(s.value)):b.value===0?d.value:d.value.filter(x=>x.catId===b.value));async function C(x){x.loading=!0;try{const D=await Vi({appId:x.id});o.success(D.data),await a.queryMineApps(),x.loading=!1}catch{x.loading=!1}}async function E(x){const D=Number(x.id);r(),Xi.replace({path:"/chat",query:{appId:D}})}async function I(){var T;const x=await Gi(),D={id:0,name:L("app.allCategories")};h.value=[D,...(T=x==null?void 0:x.data)==null?void 0:T.rows]}async function $(){const x=await gn({menuPlatform:1});x.success&&(l.value=x.data)}function S(x){b.value=x}we(c,x=>{x?p.value=d.value.filter(D=>D.catId===x):p.value=d.value});function v(){const x=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return x[Math.floor(Math.random()*x.length)]}const N=H(null);return Ce(()=>{I(),w(),$()}),(x,D)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[t.visible?(F(),R("div",No,[m("div",{class:Y(["bg-white dark:bg-gray-900 shadow-lg flex flex-col",[y(u)?"w-full h-screen px-2 py-5":"w-[60vw] min-h-[50vh] max-h-[80vh] p-6 rounded-lg"]])},[m("div",jo,[m("div",{class:Y(["mx-1 flex rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800",[y(u)?"w-full mr-8":"w-[40%]"]])},[m("div",Ho,[m("label",qo,M(y(L)("app.searchAppNameQuickFind")),1),m("div",Uo,[O(y(bo),{theme:"outline",size:"24",class:"text-gray-400"})]),rt(m("input",{id:"search-field","onUpdate:modelValue":D[0]||(D[0]=T=>s.value=T),class:"z-1 w-full rounded-xl dark:bg-gray-800 pr-3 py-2 font-normal outline-0 delay-100 text-base pl-12 dark:text-gray-400",placeholder:y(L)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Wo),[[it,s.value]])])],2),y(u)?G("",!0):(F(),R("div",Go,[m("div",{ref_key:"scrollContainer",ref:N,class:"flex justify-between items-center scrollbar-hide overflow-x-auto",style:{"max-width":"95%",margin:"auto"}},[(F(!0),R(Ie,null,Ue(h.value,(T,P)=>(F(),R("div",{key:P,onClick:U=>S(T.id),class:Y([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":b.value===T.id,"text-gray-500":b.value!==T.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},M(T.name),11,Vo))),128))],512)])),O(y(Iu),{size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:r})]),y(u)?(F(),R("div",Xo,[m("div",{ref_key:"scrollContainer",ref:N,class:"flex justify-between items-center overflow-x-auto scrollbar-hide"},[(F(!0),R(Ie,null,Ue(h.value,(T,P)=>(F(),R("div",{key:P,onClick:U=>S(T.id),class:Y([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":b.value===T.id,"text-gray-500":b.value!==T.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},M(T.name),11,Zo))),128))],512)])):G("",!0),m("div",Yo,[O(co,{name:"list",tag:"div",class:Y(["w-full grid overflow-y-auto",[y(u)?"grid-cols-1 max-h-[85vh]":"h-[60vh] grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3 gap-3"]]),style:{"align-content":"start"}},{default:Z(()=>[(F(!0),R(Ie,null,Ue(A.value,T=>(F(),R("div",{key:T.id,onClick:P=>E(T),class:"custom-card cursor-pointer h-[7rem] flex items-center gap-5 rounded-xl bg-gray-50 px-3 py-3 mx-2 mb-3 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[T.coverImg?(F(),R("div",Jo,[m("img",{src:T.coverImg,class:"rounded-full w-16 h-16",alt:"app-image"},null,8,Ko)])):(F(),R("div",{key:1,class:Y([v(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-16 h-16 flex items-center justify-center"])},[m("span",ea,M(T.name.slice(0,3)),1)],2)),m("div",ta,[m("div",ua,[m("span",na,M(T.name),1),O(y(xo),{theme:k(T)?"filled":"outline",size:"20",fill:k(T)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:Ju(P=>C(T),["stop"])},null,8,["theme","fill","onClick"])]),m("span",ra,M(T.des),1)])],8,Qo))),128))]),_:1},8,["class"])])],2)])):G("",!0)]),_:1}))}});const oa=$u(ia,[["__scopeId","data-v-79922a01"]]),aa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},sa=m("path",{d:"M53.12 199.94l400-151.39a8 8 0 0 1 10.33 10.33l-151.39 400a8 8 0 0 1-15-.34l-67.4-166.09a16 16 0 0 0-10.11-10.11L53.46 215a8 8 0 0 1-.34-15.06z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),la=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M460 52L227 285"},null,-1),ca=[sa,la],Lr=he({name:"PaperPlaneOutline",render:function(t,u){return F(),R("svg",aa,ca)}}),da={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},fa=m("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),ha=m("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),pa=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M88 176v112"},null,-1),ga=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),ma=[fa,ha,pa,ga],ba=he({name:"PersonAddOutline",render:function(t,u){return F(),R("svg",da,ma)}}),xa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},ya=m("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_a=m("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),va=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),ka=[ya,_a,va],wa=he({name:"PersonRemoveOutline",render:function(t,u){return F(),R("svg",xa,ka)}}),Ca={class:"p-5 bg-white rounded dark:bg-slate-800"},Aa={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Ea=m("span",{class:"ml-[8px]"},"绑定微信账户",-1),Da={style:{"white-space":"nowrap"},class:"w-full text-center font-bold text-sm py-5"},Sa={class:"w-[55px] inline-block text-[red] text-left"},Fa={class:"my-2 flex justify-center relative"},Ta=m("span",{class:"flex items-center justify-center text-base py-5"}," 打开微信扫码绑定账户 ",-1),Ia=he({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=_t();let u;const n=H(),r=Me(),i=H(!1),o=H(""),a=H(""),s=et();async function l(){const b=await Zi();b.success&&(a.value=b.data,c())}async function c(){const b=await yr({sceneStr:a.value});b.success&&(i.value=!0,o.value=b.data,u=setInterval(()=>{d()},1e3))}async function d(){if(!a.value)return;const b=await Yi({sceneStr:a.value});if(b.data){clearInterval(u);const{status:k,msg:w}=b.data;k?s.success(w):s.error(w),r.getUserInfo(),t.updateBindwxDialog(!1)}}function p(){var b;clearInterval(u),l(),(b=n.value)==null||b.reset()}function g(){l()}function h(){clearInterval(u),o.value="",a.value="",i.value=!1}return(b,k)=>(F(),Q(y(Ar),{show:b.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":g,"on-after-leave":h},{default:Z(()=>[m("div",Ca,[m("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:k[0]||(k[0]=w=>y(t).updateBindwxDialog(!1))},[O(y(Zt),{size:"20",color:"#0e7a0d"},{default:Z(()=>[O(y(Ir))]),_:1})]),m("div",Aa,[O(y(Zt),{size:"25",color:"#0e7a0d"},{default:Z(()=>[O(y(Lr))]),_:1}),Ea]),m("div",null,[m("div",Da,[m("p",null,[K(" 请在 "),m("span",Sa,[O(y(Er),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":p},null,8,["active"])]),K(" 时间内完成绑定 ")])]),m("div",Fa,[o.value?(F(),Q(y(Dr),{key:0,"preview-disabled":"",width:"230",src:o.value},null,8,["src"])):(F(),Q(y(_n),{key:1,height:"230px",width:"230px"})),o.value?G("",!0):(F(),Q(y(zu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),Ta])])]),_:1},8,["show"]))}}),za={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},$a={class:"flex justify-between items-center p-3"},La={class:"text-xl font-bold"},Ma={class:"w-full overflow-y-auto p-4 mx-auto m-2 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"},Ra=["onClick"],Ba={class:"relative"},Pa={class:"text-lg font-semibold leading-8"},Oa={key:0,class:"flex justify-between items-end min-h-28"},Na={class:"text-sm font-bold mr-1 w-[120px]"},ja={class:"font-bold"},Ha={key:1,class:"flex justify-between items-end min-h-28"},qa={class:"text-sm font-bold mr-1 w-[120px]"},Ua={class:"font-bold"},Wa={key:2,class:"flex justify-between items-end min-h-28"},Ga={class:"text-sm font-bold mr-1 w-[120px]"},Va={class:"font-bold"},Xa={class:"mt-6 flex items-baseline gap-x-1"},Za={class:"text-4xl font-bold tracking-tight"},Ya={class:"mt-6 flex flex-col gap-4"},Qa=["onClick"],Ja={role:"list",class:"mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-gray-400"},Ka=he({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Me(),u=_t(),n=H(!0),r=H([]),i=et(),o=Sr(),a=H(!1),s=z(()=>t.globalConfig.model3Name||L("goods.basicModelQuota")),{isMobile:l}=Ke(),c=z(()=>t.globalConfig.model4Name)||L("goods.advancedModelQuota"),d=z(()=>t.globalConfig.drawMjName)||L("goods.drawingQuota"),p=z(()=>Number(t.globalConfig.isHideModel3Point)===1),g=z(()=>Number(t.globalConfig.isHideModel4Point)===1),h=z(()=>Number(t.globalConfig.isHideDrawMjPoint)===1),b=z(()=>{var x;const _=window.navigator.userAgent.toLowerCase();return _.match(/MicroMessenger/i)&&((x=_==null?void 0:_.match(/MicroMessenger/i))==null?void 0:x[0])==="micromessenger"}),k=z(()=>{const{payHupiStatus:_,payEpayStatus:x,payMpayStatus:D,payWechatStatus:T,payLtzfStatus:P}=t.globalConfig;return Number(T)===1?"wechat":Number(D)===1?"mpay":Number(_)===1?"hupi":Number(x)===1?"epay":Number(P)===1?"ltzf":null}),w=z(()=>{const{payEpayChannel:_,payMpayChannel:x}=t.globalConfig;return k.value==="mpay"?x?JSON.parse(x):[]:k.value==="epay"?_?JSON.parse(_):[]:k.value==="wechat"?["wxpay"]:k.value==="hupi"?["wxpay"]:k.value==="ltzf"?["wxpay"]:[]});Ce(()=>{I(),b.value&&A()}),yn(()=>{r.value=[],n.value=!0});async function A(){const _=window.location.href.replace(/#.*$/,""),x=await Qi({url:_}),{appId:D,nonceStr:T,timestamp:P,signature:U}=x.data;D&&(wx.config({debug:!1,appId:D,timestamp:P,nonceStr:T,signature:U,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function C(_){const{appId:x,timeStamp:D,nonceStr:T,package:P,signType:U,paySign:j}=_;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:x,timeStamp:D,nonceStr:T,package:P,signType:U,paySign:j},ue=>{ue.err_msg==="get_brand_wcpay_request:ok"?(i.success(L("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),u.updateGoodsDialog(!1)},500)):i.success(L("goods.paymentNotSuccessful"))})}async function E(_){if(!a.value){if(b.value&&k.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",C,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",C),document.attachEvent("onWeixinJSBridgeReady",C));else{const x=await zr({goodsId:_.id,payType:"jsapi"}),{success:D,data:T}=x;D&&C(T)}return}u.updateOrderInfo({pkgInfo:_}),u.updateGoodsDialog(!1),u.updatePayDialog(!0)}}async function I(){n.value=!0;try{const _=await Mo({status:1,size:30});r.value=_.data.rows,n.value=!1}catch{n.value=!1}}const $=H(""),S=_=>{$.value=_.name};function v(_){const{name:x}=_;o.success({title:L("goods.orderConfirmationTitle"),content:L("goods.orderConfirmationContent")+x,negativeText:L("goods.thinkAgain"),positiveText:L("goods.confirmPurchase"),onPositiveClick:()=>{w.value.length||i.warning(L("goods.paymentNotEnabled")),E(_)}})}function N(_){return _.split(`
|
||
`)}return(_,x)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[_.visible?(F(),R("div",za,[m("div",{class:Y(["bg-white dark:bg-gray-900 flex flex-col relative",y(l)?" w-full h-full":"max-h-[80vh] rounded-lg shadow-lg w-full max-w-7xl p-4 mx-2 "])},[m("div",$a,[m("span",La,M(y(L)("goods.selectProducts")),1),O(y(Iu),{size:"18",class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:x[0]||(x[0]=D=>y(u).updateGoodsDialog(!1))})]),m("div",Ma,[(F(!0),R(Ie,null,Ue(r.value,(D,T)=>(F(),R("div",{key:T,class:Y([D.name==$.value?"ring-2 ring-indigo-500 shadow-md":"ring-2 ring-gray-200 dark:ring-gray-800 ","rounded-lg p-8 hover:shadow-md"]),onClick:P=>S(D)},[m("div",Ba,[m("b",Pa,M(D.name),1)]),p.value?G("",!0):(F(),R("div",Oa,[m("span",Na,M(s.value),1),m("span",ja,M(D.model3Count),1)])),g.value?G("",!0):(F(),R("div",Ha,[m("span",qa,M(y(c)),1),m("span",Ua,M(D.model4Count),1)])),h.value?G("",!0):(F(),R("div",Wa,[m("span",Ga,M(y(d)),1),m("span",Va,M(D.drawMjCount),1)])),m("div",Xa,[m("span",Za,M(`¥${D.price}`),1)]),m("div",Ya,[m("button",{onClick:P=>v(D),class:Y(["block w-full rounded-md shadow-sm px-3 py-2 text-center text-sm font-semibold leading-6",[D.name==$.value?"text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 focus-visible:outline focus-visible:outline-2":"ring-1 ring-primary-200 dark:ring-gray-800 dark:bg-gray-800 text-primary-500 hover:ring-primary-300 dark:hover:bg-gray-700"]])},M(y(L)("goods.buyPackage")),11,Qa)]),m("ul",Ja,[(F(!0),R(Ie,null,Ue(N(D.des),(P,U)=>(F(),R("li",{key:U,class:"flex gap-x-3"},[O(y(yo),{theme:"filled",size:"24",class:"text-gray-500"}),K(" "+M(P),1)]))),128))])],10,Ra))),128))])],2)])):G("",!0)]),_:1}))}});const es=$u(Ka,[["__scopeId","data-v-19167cb2"]]),ts="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII=";const us={props:{canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:40},range:{type:Number,default:10},imgs:{type:Array},successText:{type:String,default:"验证通过!"},failText:{type:String,default:"验证失败,请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"}},data(){return{mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:ts}},mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(e){e?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){const e=this.startWidth+this.newX-this.startX;return e<this.sliderBaseSize?this.sliderBaseSize:e>this.canvasWidth?this.canvasWidth:e},puzzleBaseSize(){return Math.round(Math.max(Math.min(this.puzzleScale,2),.2)*52.5+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(this.canvasWidth*.5)),10)}},methods:{onClose(){!this.mouseDown&&!this.isSubmting&&(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(e){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=e.clientX||e.changedTouches[0].clientX,this.startX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseMove(e){this.mouseDown&&(e.preventDefault(),this.newX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(e){if(this.loading&&!e)return;this.loading=!0,this.isCanSlide=!1;const t=this.$refs.canvas1,u=this.$refs.canvas2,n=this.$refs.canvas3,r=t.getContext("2d"),i=u.getContext("2d"),o=n.getContext("2d"),a=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,s=document.createElement("img");if(r.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",r.clearRect(0,0,this.canvasWidth,this.canvasHeight),i.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),s.crossOrigin="anonymous",s.onload=()=>{const[l,c,d,p]=this.makeImgSize(s);r.save(),this.paintBrick(r),r.closePath(),a?(r.clip(),r.save(),r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.restore()):(r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.clip()),r.drawImage(s,l,c,d,p),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(s,l,c,d,p),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.closePath(),r.shadowColor="rgba(255, 255, 255, .8)",r.shadowOffsetX=-1,r.shadowOffsetY=-1,r.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),r.fillStyle="#ffffaa",r.fill();const g=r.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5);i.putImageData(g,0,this.pinY-20),r.restore(),r.clearRect(0,0,this.canvasWidth,this.canvasHeight),r.save(),this.paintBrick(r),r.globalAlpha=.8,r.fillStyle="#ffffff",r.fill(),r.restore(),r.save(),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.shadowColor="#000",r.shadowOffsetX=2,r.shadowOffsetY=2,r.shadowBlur=16,r.fill(),r.restore(),r.save(),r.globalCompositeOperation="destination-over",r.drawImage(s,l,c,d,p),r.restore(),this.loading=!1,this.isCanSlide=!0},s.onerror=()=>{this.init(!0)},!e&&this.imgs&&this.imgs.length){let l=this.getRandom(0,this.imgs.length-1);l===this.imgIndex&&(l===this.imgs.length-1?l=0:l++),this.imgIndex=l,s.src=this.imgs[l]}else s.src=this.makeImgWithCanvas()},getRandom(e,t){return Math.ceil(Math.random()*(t-e)+e)},makeImgSize(e){const t=e.width/e.height,u=this.canvasWidth/this.canvasHeight;let n=0,r=0,i=0,o=0;return t>u?(o=this.canvasHeight,i=t*o,r=0,n=(this.canvasWidth-i)/2):(i=this.canvasWidth,o=i/t,n=0,r=(this.canvasHeight-o)/2),[n,r,i,o]},paintBrick(e){const t=Math.ceil(15*this.puzzleScale);e.beginPath(),e.moveTo(this.pinX,this.pinY),e.lineTo(this.pinX+t,this.pinY),e.arcTo(this.pinX+t,this.pinY-t/2,this.pinX+t+t/2,this.pinY-t/2,t/2),e.arcTo(this.pinX+t+t,this.pinY-t/2,this.pinX+t+t,this.pinY,t/2),e.lineTo(this.pinX+t+t+t,this.pinY),e.lineTo(this.pinX+t+t+t,this.pinY+t),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t,this.pinX+t+t+t+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t+t,this.pinX+t+t+t,this.pinY+t+t,t/2),e.lineTo(this.pinX+t+t+t,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t),e.arcTo(this.pinX+t/2,this.pinY+t+t,this.pinX+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t/2,this.pinY+t,this.pinX,this.pinY+t,t/2),e.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const e=document.createElement("canvas"),t=e.getContext("2d");e.width=this.canvasWidth,e.height=this.canvasHeight,t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let u=0;u<12;u++)if(t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,this.getRandom(0,2)>1)t.save(),t.rotate(this.getRandom(-90,90)*Math.PI/180),t.fillRect(this.getRandom(-20,e.width-20),this.getRandom(-20,e.height-20),this.getRandom(10,e.width/2+10),this.getRandom(10,e.height/2+10)),t.restore();else{t.beginPath();const n=this.getRandom(-Math.PI,Math.PI);t.arc(this.getRandom(0,e.width),this.getRandom(0,e.height),this.getRandom(10,e.height/2+10),n,n+Math.PI*1.5),t.closePath(),t.fill()}return e.toDataURL("image/png")},submit(){this.isSubmting=!0;const e=Math.abs(this.pinX-(this.styleWidth-this.sliderBaseSize)+(this.puzzleBaseSize-this.sliderBaseSize)*((this.styleWidth-this.sliderBaseSize)/(this.canvasWidth-this.sliderBaseSize))-3);e<this.range?(this.infoText=this.successText,this.infoBoxFail=!1,this.infoBoxShow=!0,this.isCanSlide=!1,this.isSuccess=!0,clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.$emit("success",e)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",e),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},ns=["width","height"],rs=["width","height"],is=["width","height"],os=m("div",{class:"loading-gif_"},[m("span"),m("span"),m("span"),m("span"),m("span")],-1),as=[os],ss=["src"],ls={class:"auth-control_"},cs={class:"range-text"},ds=m("div",null,null,-1),fs=m("div",null,null,-1),hs=m("div",null,null,-1),ps=[ds,fs,hs];function gs(e,t,u,n,r,i){return F(),R("div",{class:Y(["vue-puzzle-vcode",{show_:u.show}]),onMousedown:t[5]||(t[5]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onMouseup:t[6]||(t[6]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o)),onTouchstart:t[7]||(t[7]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onTouchend:t[8]||(t[8]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o))},[m("div",{class:"vue-auth-box_ rounded-lg bg-white dark:bg-gray-800",onMousedown:t[3]||(t[3]=Ju(()=>{},["stop"])),onTouchstart:t[4]||(t[4]=Ju(()=>{},["stop"]))},[m("div",{class:"auth-body_",style:Ge(`height: ${u.canvasHeight}px`)},[m("canvas",{ref:"canvas1",width:u.canvasWidth,height:u.canvasHeight,style:Ge(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,12,ns),m("canvas",{ref:"canvas3",class:Y(["auth-canvas3_",{show:r.isSuccess}]),width:u.canvasWidth,height:u.canvasHeight,style:Ge(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,14,rs),m("canvas",{width:i.puzzleBaseSize,class:"auth-canvas2_",height:u.canvasHeight,ref:"canvas2",style:Ge(`width:${i.puzzleBaseSize}px;height:${u.canvasHeight}px;transform:translateX(${i.styleWidth-i.sliderBaseSize-(i.puzzleBaseSize-i.sliderBaseSize)*((i.styleWidth-i.sliderBaseSize)/(u.canvasWidth-i.sliderBaseSize))}px)`)},null,12,is),m("div",{class:Y(["loading-box_",{hide_:!r.loading}])},as,2),m("div",{class:Y(["info-box_",{show:r.infoBoxShow},{fail:r.infoBoxFail}])},M(r.infoText),3),m("div",{class:Y(["flash_",{show:r.isSuccess}]),style:Ge(`transform: translateX(${r.isSuccess?`${u.canvasWidth+u.canvasHeight*.578}px`:`-${u.canvasHeight*.578}px`}) skew(-30deg, 0);`)},null,6),m("img",{class:"reset_",onClick:t[0]||(t[0]=(...o)=>i.reset&&i.reset(...o)),src:r.resetSvg},null,8,ss)],4),m("div",ls,[m("div",{class:"range-box bg-gray-100 dark:bg-gray-700",style:Ge(`height:${i.sliderBaseSize}px`)},[m("div",cs,M(u.sliderText),1),m("div",{class:"range-slider",ref:"range-slider",style:Ge(`width:${i.styleWidth}px`)},[m("div",{class:Y(["range-btn",{isDown:r.mouseDown}]),style:Ge(`width:${i.sliderBaseSize}px`),onMousedown:t[1]||(t[1]=o=>i.onRangeMouseDown(o)),onTouchstart:t[2]||(t[2]=o=>i.onRangeMouseDown(o))},ps,38)],4)],4)])],32)],34)}const ms=$u(us,[["render",gs]]),bs={class:"sm:mx-auto sm:w-full sm:max-w-sm"},xs={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},ys={class:"mt-4 flex"},_s=["placeholder"],vs={key:0,class:"mt-4 relative"},ks=["placeholder"],ws=["disabled","loading"],Cs={class:"rounded-lg"},As={class:"mt-4"},Es=["placeholder"],Ds={class:"mt-4"},Ss=["placeholder"],Fs={key:1,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ts={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},Is={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},zs={class:"mt-4"},$s={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ls={class:"mt-2"},Ms=["placeholder"],Rs={class:"mt-4"},Bs={class:"mt-2"},Ps={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Os=["placeholder"],Ns={class:"flex items-center justify-between my-3"},js={class:"flex items-center"},Hs=m("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,-1),qs={for:"remember-me",class:"ml-3 block text-sm leading-6 text-gray-500 dark:text-gray-400"},Us={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ws={key:0},Gs=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),Vs={class:"mt-4 relative"},Xs=["placeholder"],Zs=["disabled","loading"],Ys={class:"mt-4 flex"},Qs=["placeholder"],Js={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Ks=he({__name:"Email",emits:["changeLoginType"],setup(e,{emit:t}){const u=t,n=H(null),r=et(),i=H(!0),o=H(!1),a=Me(),s=H(0),l=a.globalConfig.siteName,{isMobile:c}=Ke(),d=H(!1),p=H(!1),g=H({password:"",contact:"",invitedBy:"",captchaId:null,code:""}),h=H({username:"",password:"",contact:"",invitedBy:""}),b={username:[{required:!0,message:L("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:L("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:L("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:L("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:L("login.enterEmail"),trigger:"blur"},{type:"email",message:L("login.emailValid"),trigger:["blur","change"]}]},k=z(()=>Number(a.globalConfig.wechatRegisterStatus)===1),w=z(()=>Number(a.globalConfig.phoneLoginStatus)===1),A=z(()=>Number(a.globalConfig.noVerifyRegister)===1),C=z(()=>Number(a.globalConfig.emailLoginStatus)===1),E=z(()=>{if(C.value&&w.value)return L("login.emailPhone");if(C.value)return L("login.email");if(w.value)return L("login.phone")}),I=z(()=>{if(C.value&&w.value)return L("login.enterEmailOrPhone");if(C.value)return L("login.enterEmail");if(w.value)return L("login.enterPhone")});function $(){s.value>0&&setTimeout(()=>{s.value--,$()},1e3)}async function S(){var N;p.value=!1,(N=n.value)==null||N.validate(async _=>{if(!_)try{const{contact:x,captchaId:D}=g.value,T={contact:x,captchaId:D};let P;P=await Ji(T);const{success:U,message:j}=P;U?(r.success(P.data),s.value=60,$()):r.error(j)}catch{}})}function v(){var N;(N=n.value)==null||N.validate(async _=>{if(!_)try{o.value=!0;const x=i.value?Ki:eo,D=i.value?{username:h.value.username,password:h.value.password}:g.value,T=await x(D);o.value=!1;const{success:P,message:U}=T;if(!P)return r.error(U);if(i.value)r.success(L("login.loginSuccess")),a.setToken(T.data),a.getUserInfo(),a.setLoginDialog(!1),Xt.remove("invitedBy");else{r.success(L("login.registrationSuccess"));const{contact:j,password:ue}=g.value;h.value.username=j,h.value.password=ue,i.value=!i.value}}catch{o.value=!1}})}return Ce(()=>{const N=Xt.get("invitedBy");N&&(g.value.invitedBy=N)}),(N,_)=>(F(),R("div",{class:Y(["flex w-full flex-col h-full justify-center",y(c)?"px-5 py-5":"px-10 py-5"])},[!i.value&&!d.value?(F(),Q(y(qu),{key:0,ref_key:"formRef",ref:n,model:g.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[m("div",bs,[m("h2",xs,M(y(l))+" "+M(y(L)("login.registerTitle")),1)]),m("div",ys,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[0]||(_[0]=x=>g.value.contact=x),placeholder:y(L)("login.enterContact")+E.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,_s),[[it,g.value.contact]])]),A.value?G("",!0):(F(),R("div",vs,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[1]||(_[1]=x=>g.value.code=x),placeholder:y(L)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,ks),[[it,g.value.code]]),A.value?G("",!0):(F(),R("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:_[2]||(_[2]=x=>p.value=!0)},M(y(L)("login.sendVerificationCode")),9,ws))])),m("div",Cs,[O(ms,{show:p.value,onSuccess:_[3]||(_[3]=x=>S()),onClose:_[4]||(_[4]=x=>p.value=!1),class:"bg-red-500"},null,8,["show"])]),m("div",As,[rt(m("input",{id:"username",type:"password","onUpdate:modelValue":_[5]||(_[5]=x=>g.value.password=x),placeholder:y(L)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Es),[[it,g.value.password]])]),m("div",Ds,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[6]||(_[6]=x=>g.value.invitedBy=x),placeholder:y(L)("login.optionalInvitationCode"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ss),[[it,g.value.invitedBy]])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},M(y(L)("login.registerAccount")),1)]),C.value||w.value?(F(),R("p",Fs,[K(M(y(L)("login.alreadyHaveAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[7]||(_[7]=x=>i.value=!i.value)},M(y(L)("login.goToLogin")),1)])):G("",!0)]),_:1},8,["model"])):G("",!0),i.value&&!d.value?(F(),Q(y(qu),{key:1,size:"large",ref_key:"formRef",ref:n,model:h.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[m("div",Ts,[m("h2",Is,M(y(l))+" 登录 ",1)]),m("div",zs,[m("label",$s,M(E.value),1),m("div",Ls,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[8]||(_[8]=x=>h.value.username=x),placeholder:I.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ms),[[it,h.value.username]])])]),m("div",Rs,[m("div",Bs,[m("label",Ps,M(y(L)("login.password")),1),rt(m("input",{id:"password",type:"password","onUpdate:modelValue":_[9]||(_[9]=x=>h.value.password=x),placeholder:y(L)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Os),[[it,h.value.password]])])]),m("div",Ns,[m("div",js,[Hs,m("label",qs,M(y(L)("login.rememberAccount")),1)])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},M(y(L)("login.loginAccount")),1)]),C.value||w.value?(F(),R("p",Us,[K(M(y(L)("login.noAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[10]||(_[10]=x=>i.value=!i.value)},M(y(L)("login.register")),1),k.value?(F(),R("div",Ws,[K(M(y(L)("login.orUse")),1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[11]||(_[11]=x=>u("changeLoginType","wechat"))},M(y(L)("login.scanLogin")),1)])):G("",!0)])):G("",!0)]),_:1},8,["model"])):G("",!0),d.value?(F(),Q(y(qu),{key:2,ref_key:"formRef",ref:n,model:g.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[Gs,m("div",Vs,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[12]||(_[12]=x=>g.value.contact=x),placeholder:y(L)("login.enterContact")+E.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Xs),[[it,g.value.contact]]),m("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:S},M(y(L)("login.sendVerificationCode")),9,Zs)]),m("div",Ys,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[13]||(_[13]=x=>g.value.code=x),placeholder:y(L)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Qs),[[it,g.value.code]])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),C.value||w.value?(F(),R("p",Js,[K(" 继续使用密码登录? "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[14]||(_[14]=x=>d.value=!d.value)},"返回")])):G("",!0)]),_:1},8,["model"])):G("",!0)],2))}}),el={class:"sm:mx-auto sm:w-full sm:max-w-sm"},tl={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},ul={key:3,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},nl={key:4,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},rl=he({__name:"Wechat",emits:["changeLoginType"],setup(e,{emit:t}){const u=H(),n=H(),r=t,i=H(""),o=H(""),a=H(!1),s=et(),l=Me(),c=H(),{isMobile:d}=Ke(),p=z(()=>Number(l.globalConfig.phoneLoginStatus)===1),g=z(()=>Number(l.globalConfig.emailLoginStatus)===1),h=z(()=>{if(g.value&&p.value)return L("login.emailPhone");if(g.value)return L("login.email");if(p.value)return L("login.phone")});function b(E){return new Promise((I,$)=>{const S=new Image;S.onload=()=>I(S),S.onerror=$,S.src=E})}async function k(){const E={invitedBy:Xt.get("invitedBy")},I=await to(E);I.success&&(o.value=I.data,A())}async function w(){if(!o.value)return;const E=await uo({sceneStr:o.value});E.data&&(clearInterval(u.value),s.success(L("login.loginSuccess")),l.setToken(E.data),l.getUserInfo(),l.setLoginDialog(!1),Xt.remove("invitedBy"))}async function A(){const E=await yr({sceneStr:o.value});E.success&&(a.value=!0,await b(E.data),i.value=E.data,u.value=setInterval(()=>{w()},1e3))}function C(){var E;k(),(E=c.value)==null||E.reset()}return Ce(()=>{C(),n.value!==null&&clearInterval(n.value),n.value=setInterval(C,6e4)}),yn(()=>{u.value!==null&&clearInterval(u.value),n.value!==null&&clearInterval(n.value)}),(E,I)=>(F(),R("div",{class:Y(["w-full h-full flex flex-col items-center",y(d)?"px-10 py-10":" py-10"])},[m("div",el,[m("h2",tl,M(y(L)("login.wechatLogin")),1)]),i.value?(F(),Q(y(Dr),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(F(),Q(y(_n),{key:1,height:"220px",width:"220px",animated:""})),i.value?G("",!0):(F(),Q(y(zu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),g.value||p.value?(F(),R("p",ul,[K(M(y(L)("login.wechatScanFailed"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I[0]||(I[0]=$=>r("changeLoginType","email"))},M(h.value),1)])):(F(),R("p",nl,M(y(L)("login.useWechatScan")),1))],2))}});const il={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},ol={key:0,class:"flex items-center justify-center h-[600px]"},al={key:1,class:"flex-1 flex flex-col items-center"},sl=he({__name:"Login",props:{visible:{type:Boolean}},setup(e){const t=Me();H(!1),H(""),H("");const u=H(null),n=H(!0),r=H("email"),{isMobile:i}=Ke(),o=z(()=>Number(t.globalConfig.emailLoginStatus)===1),a=z(()=>Number(t.globalConfig.wechatRegisterStatus)===1),s=z(()=>Number(t.globalConfig.phoneLoginStatus)===1),l=z(()=>!a.value&&!s.value&&!o.value);function c(d){d==="wechat"?n.value=!0:(n.value=!1,r.value=d,Ot(()=>{var p;(p=u.value)==null||p.syncBarPosition()}))}return(d,p)=>d.visible?(F(),R("div",il,[m("div",{class:Y(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":y(i),"max-w-xl":!y(i)}])},[O(y(Iu),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:p[0]||(p[0]=g=>y(t).setLoginDialog(!1))}),l.value?(F(),R("div",ol,[O(y(Fo),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:Z(()=>[O(y(Fr),{size:"small",onClick:p[1]||(p[1]=g=>y(t).setLoginDialog(!1))},{default:Z(()=>[K(" 知道了 ")]),_:1})]),_:1})])):(F(),R("div",al,[a.value&&n.value?(F(),Q(rl,{key:0,onChangeLoginType:c})):(F(),Q(Ks,{key:1,onChangeLoginType:c}))]))],2)])):G("",!0)}});function ll(){return _r({url:"/config/notice"})}const cl=e=>{const t=typeof e;return t!=="function"&&t!=="object"||e===null},dl=e=>{const t=e.flags===""?void 0:e.flags;return new RegExp(e.source,t)},Wt=(e,t=new WeakMap)=>{if(e===null||cl(e))return e;if(t.has(e))return t.get(e);if(e instanceof RegExp)return dl(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof Function)return e;if(e instanceof Map){const n=new Map;return t.set(e,n),e.forEach((r,i)=>{n.set(i,Wt(r,t))}),n}if(e instanceof Set){const n=new Set;t.set(e,n);for(const r of e)n.add(Wt(r,t));return n}if(Array.isArray(e)){const n=[];return t.set(e,n),e.forEach(r=>{n.push(Wt(r,t))}),n}const u={};t.set(e,u);for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(u[n]=Wt(e[n],t));return u},Mr=(e,t=200)=>{let u=0;return(...n)=>new Promise(r=>{u&&(clearTimeout(u),r("cancel")),u=window.setTimeout(()=>{e.apply(void 0,n),u=0,r("done")},t)})},Ku=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Bn=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Rr=(e,t)=>{for(const u in t)Bn(t[u])&&Bn(e[u])?e[u]=Rr(e[u],t[u]):e[u]=t[u];return e},q="md-editor",fl="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",hl="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",oe="https://cdnjs.cloudflare.com/ajax/libs",pl=`${oe}/highlight.js/11.8.0/highlight.min.js`,Pn={main:`${oe}/prettier/2.8.0/standalone.js`,markdown:`${oe}/prettier/2.8.0/parser-markdown.js`},gl={css:`${oe}/cropperjs/1.5.13/cropper.min.css`,js:`${oe}/cropperjs/1.5.13/cropper.min.js`},ml=`${oe}/screenfull.js/5.2.0/screenfull.min.js`,bl=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],xl=["markdownTotal","=","scrollSwitch"],On={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},yl=`${oe}/mermaid/10.6.1/mermaid.esm.min.mjs`,_l={js:`${oe}/KaTeX/0.16.9/katex.min.js`,css:`${oe}/KaTeX/0.16.9/katex.min.css`},en={a11y:{light:`${oe}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${oe}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${oe}/highlight.js/11.8.0/styles/github.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${oe}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${oe}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${oe}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${oe}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${oe}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},Je={editorExtensions:{highlight:{js:pl,css:en},prettier:{standaloneJs:Pn.main,parserMarkdownJs:Pn.markdown},cropper:{...gl},iconfont:fl,iconfontClass:hl,screenfull:{js:ml},mermaid:{js:yl},katex:{..._l}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(e,t)=>t,markdownItConfig:()=>{},markdownItPlugins:e=>e,iconfontType:"svg",mermaidConfig:e=>e};var vl=Object.defineProperty,kl=(e,t,u)=>t in e?vl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u,wl=(e,t,u)=>(kl(e,typeof t!="symbol"?t+"":t,u),u);class Cl{constructor(){wl(this,"pools",{})}remove(t,u,n){const i=this.pools[t]&&this.pools[t][u];i&&(this.pools[t][u]=i.filter(o=>o!==n))}clear(t){this.pools[t]={}}on(t,u){return this.pools[t]||(this.pools[t]={}),this.pools[t][u.name]||(this.pools[t][u.name]=[]),this.pools[t][u.name].push(u.callback),this.pools[t][u.name].includes(u.callback)}emit(t,u,...n){this.pools[t]||(this.pools[t]={});const i=this.pools[t][u];i&&i.forEach(o=>{try{o(...n)}catch(a){console.error(`${u} monitor event exception!`,a)}})}}const ht=new Cl,Al="buildFinished",Uu="catalogChanged",El="pushCatalog",Br="rerender",at=(e,t,u="")=>{var n;const r=document.getElementById(t.id);if(r)u!==""&&(Reflect.get(window,u)?(n=t.onload)==null||n.call(r,new Event("load")):t.onload&&r.addEventListener("load",t.onload));else{const i={...t};i.onload=null;const o=Sl(e,i);t.onload&&o.addEventListener("load",t.onload),document.head.appendChild(o)}},Dl=(e,t)=>{const u=document.getElementById(t.id);u==null||u.remove(),at(e,t)},Sl=(e,t)=>{const u=document.createElement(e);return Object.keys(t).forEach(n=>{t[n]!==void 0&&(u[n]=t[n])}),u},Fl=e=>{if(!e)return e;const t=e.split(`
|
||
`),u=['<span rn-wrapper aria-hidden="true">'];return t.forEach(()=>{u.push("<span></span>")}),u.push("</span>"),`<span class="${q}-code-block">${e}</span>${u.join("")}`},Tl=(()=>{let e=0;return t=>t+ ++e})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var u=arguments[t];for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(e[n]=u[n])}return e},du=function(t){return t.tagName==="IMG"},Il=function(t){return NodeList.prototype.isPrototypeOf(t)},bu=function(t){return t&&t.nodeType===1},Nn=function(t){var u=t.currentSrc||t.src;return u.substr(-4).toLowerCase()===".svg"},jn=function(t){try{return Array.isArray(t)?t.filter(du):Il(t)?[].slice.call(t).filter(du):bu(t)?[t].filter(du):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(du):[]}catch{throw new TypeError(`The provided selector is invalid.
|
||
Expects a CSS selector, a Node element, a NodeList or an array.
|
||
See: https://github.com/francoischalifour/medium-zoom`)}},zl=function(t){var u=document.createElement("div");return u.classList.add("medium-zoom-overlay"),u.style.background=t,u},$l=function(t){var u=t.getBoundingClientRect(),n=u.top,r=u.left,i=u.width,o=u.height,a=t.cloneNode(),s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=n+s+"px",a.style.left=r+l+"px",a.style.width=i+"px",a.style.height=o+"px",a.style.transform="",a},Ft=function(t,u){var n=wt({bubbles:!1,cancelable:!1,detail:void 0},u);if(typeof window.CustomEvent=="function")return new CustomEvent(t,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r},Ll=function e(t){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(D){function T(){}D(T,T)},r=function(D){var T=D.target;if(T===N){h();return}C.indexOf(T)!==-1&&b({target:T})},i=function(){if(!(I||!v.original)){var D=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs($-D)>S.scrollOffset&&setTimeout(h,150)}},o=function(D){var T=D.key||D.keyCode;(T==="Escape"||T==="Esc"||T===27)&&h()},a=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D;if(D.background&&(N.style.background=D.background),D.container&&D.container instanceof Object&&(T.container=wt({},S.container,D.container)),D.template){var P=bu(D.template)?D.template:document.querySelector(D.template);T.template=P}return S=wt({},S,T),C.forEach(function(U){U.dispatchEvent(Ft("medium-zoom:update",{detail:{zoom:_}}))}),_},s=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(wt({},S,D))},l=function(){for(var D=arguments.length,T=Array(D),P=0;P<D;P++)T[P]=arguments[P];var U=T.reduce(function(j,ue){return[].concat(j,jn(ue))},[]);return U.filter(function(j){return C.indexOf(j)===-1}).forEach(function(j){C.push(j),j.classList.add("medium-zoom-image")}),E.forEach(function(j){var ue=j.type,ae=j.listener,xe=j.options;U.forEach(function(Ee){Ee.addEventListener(ue,ae,xe)})}),_},c=function(){for(var D=arguments.length,T=Array(D),P=0;P<D;P++)T[P]=arguments[P];v.zoomed&&h();var U=T.length>0?T.reduce(function(j,ue){return[].concat(j,jn(ue))},[]):C;return U.forEach(function(j){j.classList.remove("medium-zoom-image"),j.dispatchEvent(Ft("medium-zoom:detach",{detail:{zoom:_}}))}),C=C.filter(function(j){return U.indexOf(j)===-1}),_},d=function(D,T){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(U){U.addEventListener("medium-zoom:"+D,T,P)}),E.push({type:"medium-zoom:"+D,listener:T,options:P}),_},p=function(D,T){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(U){U.removeEventListener("medium-zoom:"+D,T,P)}),E=E.filter(function(U){return!(U.type==="medium-zoom:"+D&&U.listener.toString()===T.toString())}),_},g=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D.target,P=function(){var j={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ue=void 0,ae=void 0;if(S.container)if(S.container instanceof Object)j=wt({},j,S.container),ue=j.width-j.left-j.right-S.margin*2,ae=j.height-j.top-j.bottom-S.margin*2;else{var xe=bu(S.container)?S.container:document.querySelector(S.container),Ee=xe.getBoundingClientRect(),ne=Ee.width,ce=Ee.height,J=Ee.left,nt=Ee.top;j=wt({},j,{width:ne,height:ce,left:J,top:nt})}ue=ue||j.width-S.margin*2,ae=ae||j.height-S.margin*2;var vt=v.zoomedHd||v.original,Li=Nn(vt)?ue:vt.naturalWidth||ue,Mi=Nn(vt)?ae:vt.naturalHeight||ae,lu=vt.getBoundingClientRect(),Ri=lu.top,Bi=lu.left,Ou=lu.width,Nu=lu.height,Pi=Math.min(Math.max(Ou,Li),ue)/Ou,Oi=Math.min(Math.max(Nu,Mi),ae)/Nu,ju=Math.min(Pi,Oi),Ni=(-Bi+(ue-Ou)/2+S.margin+j.left)/ju,ji=(-Ri+(ae-Nu)/2+S.margin+j.top)/ju,$n="scale("+ju+") translate3d("+Ni+"px, "+ji+"px, 0)";v.zoomed.style.transform=$n,v.zoomedHd&&(v.zoomedHd.style.transform=$n)};return new n(function(U){if(T&&C.indexOf(T)===-1){U(_);return}var j=function ne(){I=!1,v.zoomed.removeEventListener("transitionend",ne),v.original.dispatchEvent(Ft("medium-zoom:opened",{detail:{zoom:_}})),U(_)};if(v.zoomed){U(_);return}if(T)v.original=T;else if(C.length>0){var ue=C;v.original=ue[0]}else{U(_);return}if(v.original.dispatchEvent(Ft("medium-zoom:open",{detail:{zoom:_}})),$=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,I=!0,v.zoomed=$l(v.original),document.body.appendChild(N),S.template){var ae=bu(S.template)?S.template:document.querySelector(S.template);v.template=document.createElement("div"),v.template.appendChild(ae.content.cloneNode(!0)),document.body.appendChild(v.template)}if(v.original.parentElement&&v.original.parentElement.tagName==="PICTURE"&&v.original.currentSrc&&(v.zoomed.src=v.original.currentSrc),document.body.appendChild(v.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),v.original.classList.add("medium-zoom-image--hidden"),v.zoomed.classList.add("medium-zoom-image--opened"),v.zoomed.addEventListener("click",h),v.zoomed.addEventListener("transitionend",j),v.original.getAttribute("data-zoom-src")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("srcset"),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading"),v.zoomedHd.src=v.zoomed.getAttribute("data-zoom-src"),v.zoomedHd.onerror=function(){clearInterval(xe),console.warn("Unable to reach the zoom image target "+v.zoomedHd.src),v.zoomedHd=null,P()};var xe=setInterval(function(){v.zoomedHd.complete&&(clearInterval(xe),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",h),document.body.appendChild(v.zoomedHd),P())},10)}else if(v.original.hasAttribute("srcset")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading");var Ee=v.zoomedHd.addEventListener("load",function(){v.zoomedHd.removeEventListener("load",Ee),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",h),document.body.appendChild(v.zoomedHd),P()})}else P()})},h=function(){return new n(function(D){if(I||!v.original){D(_);return}var T=function P(){v.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(v.zoomed),v.zoomedHd&&document.body.removeChild(v.zoomedHd),document.body.removeChild(N),v.zoomed.classList.remove("medium-zoom-image--opened"),v.template&&document.body.removeChild(v.template),I=!1,v.zoomed.removeEventListener("transitionend",P),v.original.dispatchEvent(Ft("medium-zoom:closed",{detail:{zoom:_}})),v.original=null,v.zoomed=null,v.zoomedHd=null,v.template=null,D(_)};I=!0,document.body.classList.remove("medium-zoom--opened"),v.zoomed.style.transform="",v.zoomedHd&&(v.zoomedHd.style.transform=""),v.template&&(v.template.style.transition="opacity 150ms",v.template.style.opacity=0),v.original.dispatchEvent(Ft("medium-zoom:close",{detail:{zoom:_}})),v.zoomed.addEventListener("transitionend",T)})},b=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D.target;return v.original?h():g({target:T})},k=function(){return S},w=function(){return C},A=function(){return v.original},C=[],E=[],I=!1,$=0,S=u,v={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?S=t:(t||typeof t=="string")&&l(t),S=wt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},S);var N=zl(S.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",i),window.addEventListener("resize",h);var _={open:g,close:h,toggle:b,update:a,clone:s,attach:l,detach:c,on:d,off:p,getOptions:k,getImages:w,getZoomedImage:A};return _};function Ml(e,t){t===void 0&&(t={});var u=t.insertAt;if(!(!e||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",u==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var Rl=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Ml(Rl);const Bl=Ll;var Pl=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,u=[],n=0;n<e.rangeCount;n++)u.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||u.forEach(function(r){e.addRange(r)}),t&&t.focus()}},Ol=Pl,Hn={"text/plain":"Text","text/html":"Url",default:"Text"},Nl="Copy to clipboard: #{key}, Enter";function jl(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function Hl(e,t){var u,n,r,i,o,a,s=!1;t||(t={}),u=t.debug||!1;try{r=Ol(),i=document.createRange(),o=document.getSelection(),a=document.createElement("span"),a.textContent=e,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=Hn[t.format]||Hn.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(a),i.selectNodeContents(a),o.addRange(i);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");s=!0}catch(c){u&&console.error("unable to copy using execCommand: ",c),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(d){u&&console.error("unable to copy using clipboardData: ",d),u&&console.error("falling back to prompt"),n=jl("message"in t?t.message:Nl),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),a&&document.body.removeChild(a),r()}return s}var ql=Hl;const Ul=Tr(ql),qn={};function Wl(e){let t=qn[e];if(t)return t;t=qn[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);t.push(n)}for(let u=0;u<e.length;u++){const n=e.charCodeAt(u);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function jt(e,t){typeof t!="string"&&(t=jt.defaultChars);const u=Wl(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(n){let r="";for(let i=0,o=n.length;i<o;i+=3){const a=parseInt(n.slice(i+1,i+3),16);if(a<128){r+=u[a];continue}if((a&224)===192&&i+3<o){const s=parseInt(n.slice(i+4,i+6),16);if((s&192)===128){const l=a<<6&1984|s&63;l<128?r+="<22><>":r+=String.fromCharCode(l),i+=3;continue}}if((a&240)===224&&i+6<o){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16);if((s&192)===128&&(l&192)===128){const c=a<<12&61440|s<<6&4032|l&63;c<2048||c>=55296&&c<=57343?r+="<22><><EFBFBD>":r+=String.fromCharCode(c),i+=6;continue}}if((a&248)===240&&i+9<o){const s=parseInt(n.slice(i+4,i+6),16),l=parseInt(n.slice(i+7,i+9),16),c=parseInt(n.slice(i+10,i+12),16);if((s&192)===128&&(l&192)===128&&(c&192)===128){let d=a<<18&1835008|s<<12&258048|l<<6&4032|c&63;d<65536||d>1114111?r+="<22><><EFBFBD><EFBFBD>":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),i+=9;continue}}r+="<22>"}return r})}jt.defaultChars=";/?:@&=+$,#";jt.componentChars="";const Un={};function Gl(e){let t=Un[e];if(t)return t;t=Un[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2))}for(let u=0;u<e.length;u++)t[e.charCodeAt(u)]=e[u];return t}function ou(e,t,u){typeof t!="string"&&(u=t,t=ou.defaultChars),typeof u>"u"&&(u=!0);const n=Gl(t);let r="";for(let i=0,o=e.length;i<o;i++){const a=e.charCodeAt(i);if(u&&a===37&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){r+=e.slice(i,i+3),i+=2;continue}if(a<128){r+=n[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1<o){const s=e.charCodeAt(i+1);if(s>=56320&&s<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}ou.defaultChars=";/?:@&=+$,-_.!~*'()#";ou.componentChars="-_.!~*'()";function vn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function wu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Vl=/^([a-z0-9.+-]+:)/i,Xl=/:[0-9]*$/,Zl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yl=["<",">",'"',"`"," ","\r",`
|
||
`," "],Ql=["{","}","|","\\","^","`"].concat(Yl),Jl=["'"].concat(Ql),Wn=["%","/","?",";","#"].concat(Jl),Gn=["/","?","#"],Kl=255,Vn=/^[+a-z0-9A-Z_-]{0,63}$/,e0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xn={javascript:!0,"javascript:":!0},Zn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function kn(e,t){if(e&&e instanceof wu)return e;const u=new wu;return u.parse(e,t),u}wu.prototype.parse=function(e,t){let u,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=Zl.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let o=Vl.exec(i);if(o&&(o=o[0],u=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(t||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(o&&Xn[o])&&(i=i.substr(2),this.slashes=!0)),!Xn[o]&&(r||o&&!Zn[o])){let l=-1;for(let h=0;h<Gn.length;h++)n=i.indexOf(Gn[h]),n!==-1&&(l===-1||n<l)&&(l=n);let c,d;l===-1?d=i.lastIndexOf("@"):d=i.lastIndexOf("@",l),d!==-1&&(c=i.slice(0,d),i=i.slice(d+1),this.auth=c),l=-1;for(let h=0;h<Wn.length;h++)n=i.indexOf(Wn[h]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=i.length),i[l-1]===":"&&l--;const p=i.slice(0,l);i=i.slice(l),this.parseHost(p),this.hostname=this.hostname||"";const g=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!g){const h=this.hostname.split(/\./);for(let b=0,k=h.length;b<k;b++){const w=h[b];if(w&&!w.match(Vn)){let A="";for(let C=0,E=w.length;C<E;C++)w.charCodeAt(C)>127?A+="x":A+=w[C];if(!A.match(Vn)){const C=h.slice(0,b),E=h.slice(b+1),I=w.match(e0);I&&(C.push(I[1]),E.unshift(I[2])),E.length&&(i=E.join(".")+i),this.hostname=C.join(".");break}}}}this.hostname.length>Kl&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");a!==-1&&(this.hash=i.substr(a),i=i.slice(0,a));const s=i.indexOf("?");return s!==-1&&(this.search=i.substr(s),i=i.slice(0,s)),i&&(this.pathname=i),Zn[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wu.prototype.parseHost=function(e){let t=Xl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const t0=Object.freeze(Object.defineProperty({__proto__:null,decode:jt,encode:ou,format:vn,parse:kn},Symbol.toStringTag,{value:"Module"})),Pr=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Or=/[\0-\x1F\x7F-\x9F]/,u0=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,wn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Nr=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,jr=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,n0=Object.freeze(Object.defineProperty({__proto__:null,Any:Pr,Cc:Or,Cf:u0,P:wn,S:Nr,Z:jr},Symbol.toStringTag,{value:"Module"})),r0=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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ȀDMPTLJNjǑǖ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;扐blè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;戥ǹ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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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;䅻Dzᕔ\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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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;ẝẤijạả;怄;怅怃Ā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;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱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ↄⅪ←ٖ↛ǰ↉\0proø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;䄼ìࢰâ┩;䐻Ȁ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⧓ସdz⧟\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᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\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Ȁ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽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㚆㚝㚵㚼Dz㚋\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;怌'.split("").map(e=>e.charCodeAt(0))),i0=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Wu;const o0=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]]),a0=(Wu=String.fromCodePoint)!==null&&Wu!==void 0?Wu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function s0(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=o0.get(e))!==null&&t!==void 0?t:e}var be;(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"})(be||(be={}));const l0=32;var xt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xt||(xt={}));function tn(e){return e>=be.ZERO&&e<=be.NINE}function c0(e){return e>=be.UPPER_A&&e<=be.UPPER_F||e>=be.LOWER_A&&e<=be.LOWER_F}function d0(e){return e>=be.UPPER_A&&e<=be.UPPER_Z||e>=be.LOWER_A&&e<=be.LOWER_Z||tn(e)}function f0(e){return e===be.EQUALS||d0(e)}var pe;(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"})(pe||(pe={}));var mt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(mt||(mt={}));class h0{constructor(t,u,n){this.decodeTree=t,this.emitCodePoint=u,this.errors=n,this.state=pe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=mt.Strict}startEntity(t){this.decodeMode=t,this.state=pe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case pe.EntityStart:return t.charCodeAt(u)===be.NUM?(this.state=pe.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=pe.NamedEntity,this.stateNamedEntity(t,u));case pe.NumericStart:return this.stateNumericStart(t,u);case pe.NumericDecimal:return this.stateNumericDecimal(t,u);case pe.NumericHex:return this.stateNumericHex(t,u);case pe.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|l0)===be.LOWER_X?(this.state=pe.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=pe.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,n,r){if(u!==n){const i=n-u;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(u,i),r),this.consumed+=i}}stateNumericHex(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(tn(r)||c0(r))u+=1;else return this.addToNumericResult(t,n,u,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,n,u,16),-1}stateNumericDecimal(t,u){const n=u;for(;u<t.length;){const r=t.charCodeAt(u);if(tn(r))u+=1;else return this.addToNumericResult(t,n,u,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,n,u,10),-1}emitNumericEntity(t,u){var n;if(this.consumed<=u)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===be.SEMI)this.consumed+=1;else if(this.decodeMode===mt.Strict)return 0;return this.emitCodePoint(s0(this.result),this.consumed),this.errors&&(t!==be.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,u){const{decodeTree:n}=this;let r=n[this.treeIndex],i=(r&xt.VALUE_LENGTH)>>14;for(;u<t.length;u++,this.excess++){const o=t.charCodeAt(u);if(this.treeIndex=p0(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===mt.Attribute&&(i===0||f0(o))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&xt.VALUE_LENGTH)>>14,i!==0){if(o===be.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==mt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:n}=this,r=(n[u]&xt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,n){const{decodeTree:r}=this;return this.emitCodePoint(u===1?r[t]&~xt.VALUE_LENGTH:r[t+1],n),u===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case pe.NamedEntity:return this.result!==0&&(this.decodeMode!==mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pe.NumericDecimal:return this.emitNumericEntity(0,2);case pe.NumericHex:return this.emitNumericEntity(0,3);case pe.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pe.EntityStart:return 0}}}function Hr(e){let t="";const u=new h0(e,n=>t+=a0(n));return function(r,i){let o=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(o,a),u.startEntity(i);const l=u.write(r,a+1);if(l<0){o=a+u.end();break}o=a+l,a=l===0?o+1:o}const s=t+r.slice(o);return t="",s}}function p0(e,t,u,n){const r=(t&xt.BRANCH_LENGTH)>>7,i=t&xt.JUMP_TABLE;if(r===0)return i!==0&&n===i?u:-1;if(i){const s=n-i;return s<0||s>=r?-1:e[u+s]-1}let o=u,a=o+r-1;for(;o<=a;){const s=o+a>>>1,l=e[s];if(l<n)o=s+1;else if(l>n)a=s-1;else return e[s+r]}return-1}const g0=Hr(r0);Hr(i0);function qr(e,t=mt.Legacy){return g0(e,t)}function m0(e){return Object.prototype.toString.call(e)}function Cn(e){return m0(e)==="[object String]"}const b0=Object.prototype.hasOwnProperty;function x0(e,t){return b0.call(e,t)}function Lu(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){if(u){if(typeof u!="object")throw new TypeError(u+"must be object");Object.keys(u).forEach(function(n){e[n]=u[n]})}}),e}function Ur(e,t,u){return[].concat(e.slice(0,t),u,e.slice(t+1))}function An(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Cu(e){if(e>65535){e-=65536;const t=55296+(e>>10),u=56320+(e&1023);return String.fromCharCode(t,u)}return String.fromCharCode(e)}const Wr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,y0=/&([a-z#][a-z0-9]{1,31});/gi,_0=new RegExp(Wr.source+"|"+y0.source,"gi"),v0=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function k0(e,t){if(t.charCodeAt(0)===35&&v0.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return An(n)?Cu(n):e}const u=qr(e);return u!==e?u:e}function w0(e){return e.indexOf("\\")<0?e:e.replace(Wr,"$1")}function Ht(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(_0,function(t,u,n){return u||k0(t,n)})}const C0=/[&<>"]/,A0=/[&<>"]/g,E0={"&":"&","<":"<",">":">",'"':"""};function D0(e){return E0[e]}function yt(e){return C0.test(e)?e.replace(A0,D0):e}const S0=/[.?*+^$[\]\\(){}|-]/g;function F0(e){return e.replace(S0,"\\$&")}function te(e){switch(e){case 9:case 32:return!0}return!1}function Yt(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Qt(e){return wn.test(e)||Nr.test(e)}function Jt(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Mu(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const T0={mdurl:t0,ucmicro:n0},I0=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ur,assign:Lu,escapeHtml:yt,escapeRE:F0,fromCodePoint:Cu,has:x0,isMdAsciiPunct:Jt,isPunctChar:Qt,isSpace:te,isString:Cn,isValidEntityCode:An,isWhiteSpace:Yt,lib:T0,normalizeReference:Mu,unescapeAll:Ht,unescapeMd:w0},Symbol.toStringTag,{value:"Module"}));function z0(e,t,u){let n,r,i,o;const a=e.posMax,s=e.pos;for(e.pos=t+1,n=1;e.pos<a;){if(i=e.src.charCodeAt(e.pos),i===93&&(n--,n===0)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),i===91){if(o===e.pos-1)n++;else if(u)return e.pos=s,-1}}let l=-1;return r&&(l=e.pos),e.pos=s,l}function $0(e,t,u){let n,r=t;const i={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<u;){if(n=e.charCodeAt(r),n===10||n===60)return i;if(n===62)return i.pos=r+1,i.str=Ht(e.slice(t+1,r)),i.ok=!0,i;if(n===92&&r+1<u){r+=2;continue}r++}return i}let o=0;for(;r<u&&(n=e.charCodeAt(r),!(n===32||n<32||n===127));){if(n===92&&r+1<u){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(n===40&&(o++,o>32))return i;if(n===41){if(o===0)break;o--}r++}return t===r||o!==0||(i.str=Ht(e.slice(t,r)),i.pos=r,i.ok=!0),i}function L0(e,t,u,n){let r,i=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(i>=u)return o;let a=e.charCodeAt(i);if(a!==34&&a!==39&&a!==40)return o;t++,i++,a===40&&(a=41),o.marker=a}for(;i<u;){if(r=e.charCodeAt(i),r===o.marker)return o.pos=i+1,o.str+=Ht(e.slice(t,i)),o.ok=!0,o;if(r===40&&o.marker===41)return o;r===92&&i+1<u&&i++,i++}return o.can_continue=!0,o.str+=Ht(e.slice(t,i)),o}const M0=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:$0,parseLinkLabel:z0,parseLinkTitle:L0},Symbol.toStringTag,{value:"Module"})),tt={};tt.code_inline=function(e,t,u,n,r){const i=e[t];return"<code"+r.renderAttrs(i)+">"+yt(i.content)+"</code>"};tt.code_block=function(e,t,u,n,r){const i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+yt(e[t].content)+`</code></pre>
|
||
`};tt.fence=function(e,t,u,n,r){const i=e[t],o=i.info?Ht(i.info).trim():"";let a="",s="";if(o){const c=o.split(/(\s+)/g);a=c[0],s=c.slice(2).join("")}let l;if(u.highlight?l=u.highlight(i.content,a,s)||yt(i.content):l=yt(i.content),l.indexOf("<pre")===0)return l+`
|
||
`;if(o){const c=i.attrIndex("class"),d=i.attrs?i.attrs.slice():[];c<0?d.push(["class",u.langPrefix+a]):(d[c]=d[c].slice(),d[c][1]+=" "+u.langPrefix+a);const p={attrs:d};return`<pre><code${r.renderAttrs(p)}>${l}</code></pre>
|
||
`}return`<pre><code${r.renderAttrs(i)}>${l}</code></pre>
|
||
`};tt.image=function(e,t,u,n,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,u,n),r.renderToken(e,t,u)};tt.hardbreak=function(e,t,u){return u.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};tt.softbreak=function(e,t,u){return u.breaks?u.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};tt.text=function(e,t){return yt(e[t].content)};tt.html_block=function(e,t){return e[t].content};tt.html_inline=function(e,t){return e[t].content};function qt(){this.rules=Lu({},tt)}qt.prototype.renderAttrs=function(t){let u,n,r;if(!t.attrs)return"";for(r="",u=0,n=t.attrs.length;u<n;u++)r+=" "+yt(t.attrs[u][0])+'="'+yt(t.attrs[u][1])+'"';return r};qt.prototype.renderToken=function(t,u,n){const r=t[u];let i="";if(r.hidden)return"";r.block&&r.nesting!==-1&&u&&t[u-1].hidden&&(i+=`
|
||
`),i+=(r.nesting===-1?"</":"<")+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,r.nesting===1&&u+1<t.length)){const a=t[u+1];(a.type==="inline"||a.hidden||a.nesting===-1&&a.tag===r.tag)&&(o=!1)}return i+=o?`>
|
||
`:">",i};qt.prototype.renderInline=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const a=e[i].type;typeof r[a]<"u"?n+=r[a](e,i,t,u,this):n+=this.renderToken(e,i,t)}return n};qt.prototype.renderInlineAsText=function(e,t,u){let n="";for(let r=0,i=e.length;r<i;r++)switch(e[r].type){case"text":n+=e[r].content;break;case"image":n+=this.renderInlineAsText(e[r].children,t,u);break;case"html_inline":case"html_block":n+=e[r].content;break;case"softbreak":case"hardbreak":n+=`
|
||
`;break}return n};qt.prototype.render=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i<o;i++){const a=e[i].type;a==="inline"?n+=this.renderInline(e[i].children,t,u):typeof r[a]<"u"?n+=r[a](e,i,t,u,this):n+=this.renderToken(e,i,t,u)}return n};function Ae(){this.__rules__=[],this.__cache__=null}Ae.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Ae.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(u){u.enabled&&u.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(u){e.__cache__[u]=[],e.__rules__.forEach(function(n){n.enabled&&(u&&n.alt.indexOf(u)<0||e.__cache__[u].push(n.fn))})})};Ae.prototype.at=function(e,t,u){const n=this.__find__(e),r=u||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null};Ae.prototype.before=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null};Ae.prototype.after=function(e,t,u,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:u,alt:i.alt||[]}),this.__cache__=null};Ae.prototype.push=function(e,t,u){const n=u||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};Ae.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!0,u.push(n)},this),this.__cache__=null,u};Ae.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(u){u.enabled=!1}),this.enable(e,t)};Ae.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const u=[];return e.forEach(function(n){const r=this.__find__(n);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[r].enabled=!1,u.push(n)},this),this.__cache__=null,u};Ae.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function We(e,t,u){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}We.prototype.attrIndex=function(t){if(!this.attrs)return-1;const u=this.attrs;for(let n=0,r=u.length;n<r;n++)if(u[n][0]===t)return n;return-1};We.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};We.prototype.attrSet=function(t,u){const n=this.attrIndex(t),r=[t,u];n<0?this.attrPush(r):this.attrs[n]=r};We.prototype.attrGet=function(t){const u=this.attrIndex(t);let n=null;return u>=0&&(n=this.attrs[u][1]),n};We.prototype.attrJoin=function(t,u){const n=this.attrIndex(t);n<0?this.attrPush([t,u]):this.attrs[n][1]=this.attrs[n][1]+" "+u};function Gr(e,t,u){this.src=e,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=t}Gr.prototype.Token=We;const R0=/\r\n?|\n/g,B0=/\0/g;function P0(e){let t;t=e.src.replace(R0,`
|
||
`),t=t.replace(B0,"<22>"),e.src=t}function O0(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function N0(e){const t=e.tokens;for(let u=0,n=t.length;u<n;u++){const r=t[u];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function j0(e){return/^<a[>\s]/i.test(e)}function H0(e){return/^<\/a\s*>/i.test(e)}function q0(e){const t=e.tokens;if(e.md.options.linkify)for(let u=0,n=t.length;u<n;u++){if(t[u].type!=="inline"||!e.md.linkify.pretest(t[u].content))continue;let r=t[u].children,i=0;for(let o=r.length-1;o>=0;o--){const a=r[o];if(a.type==="link_close"){for(o--;r[o].level!==a.level&&r[o].type!=="link_open";)o--;continue}if(a.type==="html_inline"&&(j0(a.content)&&i>0&&i--,H0(a.content)&&i++),!(i>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const s=a.content;let l=e.md.linkify.match(s);const c=[];let d=a.level,p=0;l.length>0&&l[0].index===0&&o>0&&r[o-1].type==="text_special"&&(l=l.slice(1));for(let g=0;g<l.length;g++){const h=l[g].url,b=e.md.normalizeLink(h);if(!e.md.validateLink(b))continue;let k=l[g].text;l[g].schema?l[g].schema==="mailto:"&&!/^mailto:/i.test(k)?k=e.md.normalizeLinkText("mailto:"+k).replace(/^mailto:/,""):k=e.md.normalizeLinkText(k):k=e.md.normalizeLinkText("http://"+k).replace(/^http:\/\//,"");const w=l[g].index;if(w>p){const I=new e.Token("text","",0);I.content=s.slice(p,w),I.level=d,c.push(I)}const A=new e.Token("link_open","a",1);A.attrs=[["href",b]],A.level=d++,A.markup="linkify",A.info="auto",c.push(A);const C=new e.Token("text","",0);C.content=k,C.level=d,c.push(C);const E=new e.Token("link_close","a",-1);E.level=--d,E.markup="linkify",E.info="auto",c.push(E),p=l[g].lastIndex}if(p<s.length){const g=new e.Token("text","",0);g.content=s.slice(p),g.level=d,c.push(g)}t[u].children=r=Ur(r,o,c)}}}}const Vr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,U0=/\((c|tm|r)\)/i,W0=/\((c|tm|r)\)/ig,G0={c:"©",r:"®",tm:"™"};function V0(e,t){return G0[t.toLowerCase()]}function X0(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&(n.content=n.content.replace(W0,V0)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Z0(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&Vr.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Y0(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(U0.test(e.tokens[t].content)&&X0(e.tokens[t].children),Vr.test(e.tokens[t].content)&&Z0(e.tokens[t].children))}const Q0=/['"]/,Yn=/['"]/g,Qn="’";function fu(e,t,u){return e.slice(0,t)+u+e.slice(t+1)}function J0(e,t){let u;const n=[];for(let r=0;r<e.length;r++){const i=e[r],o=e[r].level;for(u=n.length-1;u>=0&&!(n[u].level<=o);u--);if(n.length=u+1,i.type!=="text")continue;let a=i.content,s=0,l=a.length;e:for(;s<l;){Yn.lastIndex=s;const c=Yn.exec(a);if(!c)break;let d=!0,p=!0;s=c.index+1;const g=c[0]==="'";let h=32;if(c.index-1>=0)h=a.charCodeAt(c.index-1);else for(u=r-1;u>=0&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u--)if(e[u].content){h=e[u].content.charCodeAt(e[u].content.length-1);break}let b=32;if(s<l)b=a.charCodeAt(s);else for(u=r+1;u<e.length&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u++)if(e[u].content){b=e[u].content.charCodeAt(0);break}const k=Jt(h)||Qt(String.fromCharCode(h)),w=Jt(b)||Qt(String.fromCharCode(b)),A=Yt(h),C=Yt(b);if(C?d=!1:w&&(A||k||(d=!1)),A?p=!1:k&&(C||w||(p=!1)),b===34&&c[0]==='"'&&h>=48&&h<=57&&(p=d=!1),d&&p&&(d=k,p=w),!d&&!p){g&&(i.content=fu(i.content,c.index,Qn));continue}if(p)for(u=n.length-1;u>=0;u--){let E=n[u];if(n[u].level<o)break;if(E.single===g&&n[u].level===o){E=n[u];let I,$;g?(I=t.md.options.quotes[2],$=t.md.options.quotes[3]):(I=t.md.options.quotes[0],$=t.md.options.quotes[1]),i.content=fu(i.content,c.index,$),e[E.token].content=fu(e[E.token].content,E.pos,I),s+=$.length-1,E.token===r&&(s+=I.length-1),a=i.content,l=a.length,n.length=u;continue e}}d?n.push({token:r,pos:c.index,single:g,level:o}):p&&g&&(i.content=fu(i.content,c.index,Qn))}}}function K0(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Q0.test(e.tokens[t].content)||J0(e.tokens[t].children,e)}function ec(e){let t,u;const n=e.tokens,r=n.length;for(let i=0;i<r;i++){if(n[i].type!=="inline")continue;const o=n[i].children,a=o.length;for(t=0;t<a;t++)o[t].type==="text_special"&&(o[t].type="text");for(t=u=0;t<a;t++)o[t].type==="text"&&t+1<a&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==u&&(o[u]=o[t]),u++);t!==u&&(o.length=u)}}const Gu=[["normalize",P0],["block",O0],["inline",N0],["linkify",q0],["replacements",Y0],["smartquotes",K0],["text_join",ec]];function En(){this.ruler=new Ae;for(let e=0;e<Gu.length;e++)this.ruler.push(Gu[e][0],Gu[e][1])}En.prototype.process=function(e){const t=this.ruler.getRules("");for(let u=0,n=t.length;u<n;u++)t[u](e)};En.prototype.State=Gr;function ut(e,t,u,n){this.src=e,this.md=t,this.env=u,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let i=0,o=0,a=0,s=0,l=r.length,c=!1;o<l;o++){const d=r.charCodeAt(o);if(!c)if(te(d)){a++,d===9?s+=4-s%4:s++;continue}else c=!0;(d===10||o===l-1)&&(d!==10&&o++,this.bMarks.push(i),this.eMarks.push(o),this.tShift.push(a),this.sCount.push(s),this.bsCount.push(0),c=!1,a=0,s=0,i=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}ut.prototype.push=function(e,t,u){const n=new We(e,t,u);return n.block=!0,u<0&&this.level--,n.level=this.level,u>0&&this.level++,this.tokens.push(n),n};ut.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};ut.prototype.skipEmptyLines=function(t){for(let u=this.lineMax;t<u&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};ut.prototype.skipSpaces=function(t){for(let u=this.src.length;t<u;t++){const n=this.src.charCodeAt(t);if(!te(n))break}return t};ut.prototype.skipSpacesBack=function(t,u){if(t<=u)return t;for(;t>u;)if(!te(this.src.charCodeAt(--t)))return t+1;return t};ut.prototype.skipChars=function(t,u){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===u;t++);return t};ut.prototype.skipCharsBack=function(t,u,n){if(t<=n)return t;for(;t>n;)if(u!==this.src.charCodeAt(--t))return t+1;return t};ut.prototype.getLines=function(t,u,n,r){if(t>=u)return"";const i=new Array(u-t);for(let o=0,a=t;a<u;a++,o++){let s=0;const l=this.bMarks[a];let c=l,d;for(a+1<u||r?d=this.eMarks[a]+1:d=this.eMarks[a];c<d&&s<n;){const p=this.src.charCodeAt(c);if(te(p))p===9?s+=4-(s+this.bsCount[a])%4:s++;else if(c-l<this.tShift[a])s++;else break;c++}s>n?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,d):i[o]=this.src.slice(c,d)}return i.join("")};ut.prototype.Token=We;const tc=65536;function Vu(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(u,n)}function Jn(e){const t=[],u=e.length;let n=0,r=e.charCodeAt(n),i=!1,o=0,a="";for(;n<u;)r===124&&(i?(a+=e.substring(o,n-1),o=n):(t.push(a+e.substring(o,n)),a="",o=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(a+e.substring(o)),t}function uc(e,t,u,n){if(t+2>u)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58||i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58&&!te(a)||o===45&&te(a))return!1;for(;i<e.eMarks[r];){const E=e.src.charCodeAt(i);if(E!==124&&E!==45&&E!==58&&!te(E))return!1;i++}let s=Vu(e,t+1),l=s.split("|");const c=[];for(let E=0;E<l.length;E++){const I=l[E].trim();if(!I){if(E===0||E===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(I))return!1;I.charCodeAt(I.length-1)===58?c.push(I.charCodeAt(0)===58?"center":"right"):I.charCodeAt(0)===58?c.push("left"):c.push("")}if(s=Vu(e,t).trim(),s.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Jn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const d=l.length;if(d===0||d!==c.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),b=[t,0];h.map=b;const k=e.push("thead_open","thead",1);k.map=[t,t+1];const w=e.push("tr_open","tr",1);w.map=[t,t+1];for(let E=0;E<l.length;E++){const I=e.push("th_open","th",1);c[E]&&(I.attrs=[["style","text-align:"+c[E]]]);const $=e.push("inline","",0);$.content=l[E].trim(),$.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let A,C=0;for(r=t+2;r<u&&!(e.sCount[r]<e.blkIndent);r++){let E=!1;for(let $=0,S=g.length;$<S;$++)if(g[$](e,r,u,!0)){E=!0;break}if(E||(s=Vu(e,r).trim(),!s)||e.sCount[r]-e.blkIndent>=4||(l=Jn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),C+=d-l.length,C>tc))break;if(r===t+2){const $=e.push("tbody_open","tbody",1);$.map=A=[t+2,0]}const I=e.push("tr_open","tr",1);I.map=[r,r+1];for(let $=0;$<d;$++){const S=e.push("td_open","td",1);c[$]&&(S.attrs=[["style","text-align:"+c[$]]]);const v=e.push("inline","",0);v.content=l[$]?l[$].trim():"",v.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return A&&(e.push("tbody_close","tbody",-1),A[1]=r),e.push("table_close","table",-1),b[1]=r,e.parentType=p,e.line=r,!0}function nc(e,t,u){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,r=n;for(;n<u;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
||
`,i.map=[t,e.line],!0}function rc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let a=r;r=e.skipChars(r,o);let s=r-a;if(s<3)return!1;const l=e.src.slice(a,r),c=e.src.slice(r,i);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;d++,!(d>=u||(r=a=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],r<i&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(r)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(r=e.skipChars(r,o),!(r-a<s)&&(r=e.skipSpaces(r),!(r<i)))){p=!0;break}s=e.sCount[t],e.line=d+(p?1:0);const g=e.push("fence","code",0);return g.info=c,g.content=e.getLines(t+1,d,s,!0),g.markup=l,g.map=[t,e.line],!0}function ic(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const a=[],s=[],l=[],c=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let g=!1,h;for(h=t;h<u;h++){const C=e.sCount[h]<e.blkIndent;if(r=e.bMarks[h]+e.tShift[h],i=e.eMarks[h],r>=i)break;if(e.src.charCodeAt(r++)===62&&!C){let I=e.sCount[h]+1,$,S;e.src.charCodeAt(r)===32?(r++,I++,S=!1,$=!0):e.src.charCodeAt(r)===9?($=!0,(e.bsCount[h]+I)%4===3?(r++,I++,S=!1):S=!0):$=!1;let v=I;for(a.push(e.bMarks[h]),e.bMarks[h]=r;r<i;){const N=e.src.charCodeAt(r);if(te(N))N===9?v+=4-(v+e.bsCount[h]+(S?1:0))%4:v++;else break;r++}g=r>=i,s.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+($?1:0),l.push(e.sCount[h]),e.sCount[h]=v-I,c.push(e.tShift[h]),e.tShift[h]=r-e.bMarks[h];continue}if(g)break;let E=!1;for(let I=0,$=d.length;I<$;I++)if(d[I](e,h,u,!0)){E=!0;break}if(E){e.lineMax=h,e.blkIndent!==0&&(a.push(e.bMarks[h]),s.push(e.bsCount[h]),c.push(e.tShift[h]),l.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}a.push(e.bMarks[h]),s.push(e.bsCount[h]),c.push(e.tShift[h]),l.push(e.sCount[h]),e.sCount[h]=-1}const b=e.blkIndent;e.blkIndent=0;const k=e.push("blockquote_open","blockquote",1);k.markup=">";const w=[t,0];k.map=w,e.md.block.tokenize(e,t,h);const A=e.push("blockquote_close","blockquote",-1);A.markup=">",e.lineMax=o,e.parentType=p,w[1]=e.line;for(let C=0;C<c.length;C++)e.bMarks[C+t]=a[C],e.tShift[C+t]=c[C],e.sCount[C+t]=l[C],e.bsCount[C+t]=s[C];return e.blkIndent=b,!0}function oc(e,t,u,n){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(i++);if(o!==42&&o!==45&&o!==95)return!1;let a=1;for(;i<r;){const l=e.src.charCodeAt(i++);if(l!==o&&!te(l))return!1;l===o&&a++}if(a<3)return!1;if(n)return!0;e.line=t+1;const s=e.push("hr","hr",0);return s.map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(o)),!0}function Kn(e,t){const u=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(n++);if(r!==42&&r!==45&&r!==43)return-1;if(n<u){const i=e.src.charCodeAt(n);if(!te(i))return-1}return n}function er(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let r=u;if(r+1>=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-u>=10)return-1;continue}if(i===41||i===46)break;return-1}return r<n&&(i=e.src.charCodeAt(r),!te(i))?-1:r}function ac(e,t){const u=e.level+2;for(let n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===u&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function sc(e,t,u,n){let r,i,o,a,s=t,l=!0;if(e.sCount[s]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]<e.blkIndent)return!1;let c=!1;n&&e.parentType==="paragraph"&&e.sCount[s]>=e.blkIndent&&(c=!0);let d,p,g;if((g=er(e,s))>=0){if(d=!0,o=e.bMarks[s]+e.tShift[s],p=Number(e.src.slice(o,g-1)),c&&p!==1)return!1}else if((g=Kn(e,s))>=0)d=!1;else return!1;if(c&&e.skipSpaces(g)>=e.eMarks[s])return!1;if(n)return!0;const h=e.src.charCodeAt(g-1),b=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),p!==1&&(a.attrs=[["start",p]])):a=e.push("bullet_list_open","ul",1);const k=[s,0];a.map=k,a.markup=String.fromCharCode(h);let w=!1;const A=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";s<u;){i=g,r=e.eMarks[s];const E=e.sCount[s]+g-(e.bMarks[s]+e.tShift[s]);let I=E;for(;i<r;){const U=e.src.charCodeAt(i);if(U===9)I+=4-(I+e.bsCount[s])%4;else if(U===32)I++;else break;i++}const $=i;let S;$>=r?S=1:S=I-E,S>4&&(S=1);const v=E+S;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(h);const N=[s,0];a.map=N,d&&(a.info=e.src.slice(o,g-1));const _=e.tight,x=e.tShift[s],D=e.sCount[s],T=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=v,e.tight=!0,e.tShift[s]=$-e.bMarks[s],e.sCount[s]=I,$>=r&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,u):e.md.block.tokenize(e,s,u,!0),(!e.tight||w)&&(l=!1),w=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=T,e.tShift[s]=x,e.sCount[s]=D,e.tight=_,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(h),s=e.line,N[1]=s,s>=u||e.sCount[s]<e.blkIndent||e.sCount[s]-e.blkIndent>=4)break;let P=!1;for(let U=0,j=A.length;U<j;U++)if(A[U](e,s,u,!0)){P=!0;break}if(P)break;if(d){if(g=er(e,s),g<0)break;o=e.bMarks[s]+e.tShift[s]}else if(g=Kn(e,s),g<0)break;if(h!==e.src.charCodeAt(g-1))break}return d?a=e.push("ordered_list_close","ol",-1):a=e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(h),k[1]=s,e.line=s,e.parentType=C,l&&ac(e,b),!0}function lc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function a(A){const C=e.lineMax;if(A>=C||e.isEmpty(A))return null;let E=!1;if(e.sCount[A]-e.blkIndent>3&&(E=!0),e.sCount[A]<0&&(E=!0),!E){const S=e.md.block.ruler.getRules("reference"),v=e.parentType;e.parentType="reference";let N=!1;for(let _=0,x=S.length;_<x;_++)if(S[_](e,A,C,!0)){N=!0;break}if(e.parentType=v,N)return null}const I=e.bMarks[A]+e.tShift[A],$=e.eMarks[A];return e.src.slice(I,$+1)}let s=e.src.slice(r,i+1);i=s.length;let l=-1;for(r=1;r<i;r++){const A=s.charCodeAt(r);if(A===91)return!1;if(A===93){l=r;break}else if(A===10){const C=a(o);C!==null&&(s+=C,i=s.length,o++)}else if(A===92&&(r++,r<i&&s.charCodeAt(r)===10)){const C=a(o);C!==null&&(s+=C,i=s.length,o++)}}if(l<0||s.charCodeAt(l+1)!==58)return!1;for(r=l+2;r<i;r++){const A=s.charCodeAt(r);if(A===10){const C=a(o);C!==null&&(s+=C,i=s.length,o++)}else if(!te(A))break}const c=e.md.helpers.parseLinkDestination(s,r,i);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;r=c.pos;const p=r,g=o,h=r;for(;r<i;r++){const A=s.charCodeAt(r);if(A===10){const C=a(o);C!==null&&(s+=C,i=s.length,o++)}else if(!te(A))break}let b=e.md.helpers.parseLinkTitle(s,r,i);for(;b.can_continue;){const A=a(o);if(A===null)break;s+=A,r=i,i=s.length,o++,b=e.md.helpers.parseLinkTitle(s,r,i,b)}let k;for(r<i&&h!==r&&b.ok?(k=b.str,r=b.pos):(k="",r=p,o=g);r<i;){const A=s.charCodeAt(r);if(!te(A))break;r++}if(r<i&&s.charCodeAt(r)!==10&&k)for(k="",r=p,o=g;r<i;){const A=s.charCodeAt(r);if(!te(A))break;r++}if(r<i&&s.charCodeAt(r)!==10)return!1;const w=Mu(s.slice(1,l));return w?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[w]>"u"&&(e.env.references[w]={title:k,href:d}),e.line=o),!0):!1}const cc=["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"],dc="[a-zA-Z_:][a-zA-Z0-9:._-]*",fc="[^\"'=<>`\\x00-\\x20]+",hc="'[^']*'",pc='"[^"]*"',gc="(?:"+fc+"|"+hc+"|"+pc+")",mc="(?:\\s+"+dc+"(?:\\s*=\\s*"+gc+")?)",Xr="<[A-Za-z][A-Za-z0-9\\-]*"+mc+"*\\s*\\/?>",Zr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",bc="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",xc="<[?][\\s\\S]*?[?]>",yc="<![A-Za-z][^>]*>",_c="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",vc=new RegExp("^(?:"+Xr+"|"+Zr+"|"+bc+"|"+xc+"|"+yc+"|"+_c+")"),kc=new RegExp("^(?:"+Xr+"|"+Zr+")"),Tt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+cc.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(kc.source+"\\s*$"),/^$/,!1]];function wc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,i),a=0;for(;a<Tt.length&&!Tt[a][0].test(o);a++);if(a===Tt.length)return!1;if(n)return Tt[a][2];let s=t+1;if(!Tt[a][1].test(o)){for(;s<u&&!(e.sCount[s]<e.blkIndent);s++)if(r=e.bMarks[s]+e.tShift[s],i=e.eMarks[s],o=e.src.slice(r,i),Tt[a][1].test(o)){o.length!==0&&s++;break}}e.line=s;const l=e.push("html_block","",0);return l.map=[t,s],l.content=e.getLines(t,s,e.blkIndent,!0),!0}function Cc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=i)return!1;let a=1;for(o=e.src.charCodeAt(++r);o===35&&r<i&&a<=6;)a++,o=e.src.charCodeAt(++r);if(a>6||r<i&&!te(o))return!1;if(n)return!0;i=e.skipSpacesBack(i,r);const s=e.skipCharsBack(i,35,r);s>r&&te(e.src.charCodeAt(s-1))&&(i=s),e.line=t+1;const l=e.push("heading_open","h"+String(a),1);l.markup="########".slice(0,a),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(r,i).trim(),c.map=[t,e.line],c.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function Ac(e,t,u){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,o,a=t+1;for(;a<u&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a];const h=e.eMarks[a];if(g<h&&(o=e.src.charCodeAt(g),(o===45||o===61)&&(g=e.skipChars(g,o),g=e.skipSpaces(g),g>=h))){i=o===61?1:2;break}}if(e.sCount[a]<0)continue;let p=!1;for(let g=0,h=n.length;g<h;g++)if(n[g](e,a,u,!0)){p=!0;break}if(p)break}if(!i)return!1;const s=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a+1;const l=e.push("heading_open","h"+String(i),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=s,c.map=[t,e.line-1],c.children=[];const d=e.push("heading_close","h"+String(i),-1);return d.markup=String.fromCharCode(o),e.parentType=r,!0}function Ec(e,t,u){const n=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let i=t+1;for(e.parentType="paragraph";i<u&&!e.isEmpty(i);i++){if(e.sCount[i]-e.blkIndent>3||e.sCount[i]<0)continue;let l=!1;for(let c=0,d=n.length;c<d;c++)if(n[c](e,i,u,!0)){l=!0;break}if(l)break}const o=e.getLines(t,i,e.blkIndent,!1).trim();e.line=i;const a=e.push("paragraph_open","p",1);a.map=[t,e.line];const s=e.push("inline","",0);return s.content=o,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const hu=[["table",uc,["paragraph","reference"]],["code",nc],["fence",rc,["paragraph","reference","blockquote","list"]],["blockquote",ic,["paragraph","reference","blockquote","list"]],["hr",oc,["paragraph","reference","blockquote","list"]],["list",sc,["paragraph","reference","blockquote"]],["reference",lc],["html_block",wc,["paragraph","reference","blockquote"]],["heading",Cc,["paragraph","reference","blockquote"]],["lheading",Ac],["paragraph",Ec]];function Ru(){this.ruler=new Ae;for(let e=0;e<hu.length;e++)this.ruler.push(hu[e][0],hu[e][1],{alt:(hu[e][2]||[]).slice()})}Ru.prototype.tokenize=function(e,t,u){const n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting;let o=t,a=!1;for(;o<u&&(e.line=o=e.skipEmptyLines(o),!(o>=u||e.sCount[o]<e.blkIndent));){if(e.level>=i){e.line=u;break}const s=e.line;let l=!1;for(let c=0;c<r;c++)if(l=n[c](e,o,u,!1),l){if(s>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),o=e.line,o<u&&e.isEmpty(o)&&(a=!0,o++,e.line=o)}};Ru.prototype.parse=function(e,t,u,n){if(!e)return;const r=new this.State(e,t,u,n);this.tokenize(r,r.line,r.lineMax)};Ru.prototype.State=ut;function au(e,t,u,n){this.src=e,this.env=u,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}au.prototype.pushPending=function(){const e=new We("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};au.prototype.push=function(e,t,u){this.pending&&this.pushPending();const n=new We(e,t,u);let r=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};au.prototype.scanDelims=function(e,t){const u=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i<u&&this.src.charCodeAt(i)===n;)i++;const o=i-e,a=i<u?this.src.charCodeAt(i):32,s=Jt(r)||Qt(String.fromCharCode(r)),l=Jt(a)||Qt(String.fromCharCode(a)),c=Yt(r),d=Yt(a),p=!d&&(!l||c||s),g=!c&&(!s||d||l);return{can_open:p&&(t||!g||s),can_close:g&&(t||!p||l),length:o}};au.prototype.Token=We;function Dc(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function Sc(e,t){let u=e.pos;for(;u<e.posMax&&!Dc(e.src.charCodeAt(u));)u++;return u===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,u)),e.pos=u,!0)}const Fc=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Tc(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const u=e.pos,n=e.posMax;if(u+3>n||e.src.charCodeAt(u)!==58||e.src.charCodeAt(u+1)!==47||e.src.charCodeAt(u+2)!==47)return!1;const r=e.pending.match(Fc);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(u-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=a.length-i.length,!0}function Ic(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(u++;u<r&&te(e.src.charCodeAt(u));)u++;return e.pos=u,!0}const Dn=[];for(let e=0;e<256;e++)Dn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Dn[e.charCodeAt(0)]=1});function zc(e,t){let u=e.pos;const n=e.posMax;if(e.src.charCodeAt(u)!==92||(u++,u>=n))return!1;let r=e.src.charCodeAt(u);if(r===10){for(t||e.push("hardbreak","br",0),u++;u<n&&(r=e.src.charCodeAt(u),!!te(r));)u++;return e.pos=u,!0}let i=e.src[u];if(r>=55296&&r<=56319&&u+1<n){const a=e.src.charCodeAt(u+1);a>=56320&&a<=57343&&(i+=e.src[u+1],u++)}const o="\\"+i;if(!t){const a=e.push("text_special","",0);r<256&&Dn[r]!==0?a.content=i:a.content=o,a.markup=o,a.info="escape"}return e.pos=u+1,!0}function $c(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;const r=u;u++;const i=e.posMax;for(;u<i&&e.src.charCodeAt(u)===96;)u++;const o=e.src.slice(r,u),a=o.length;if(e.backticksScanned&&(e.backticks[a]||0)<=r)return t||(e.pending+=o),e.pos+=a,!0;let s=u,l;for(;(l=e.src.indexOf("`",s))!==-1;){for(s=l+1;s<i&&e.src.charCodeAt(s)===96;)s++;const c=s-l;if(c===a){if(!t){const d=e.push("code_inline","code",0);d.markup=o,d.content=e.src.slice(u,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=s,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=a,!0}function Lc(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==126)return!1;const r=e.scanDelims(e.pos,!0);let i=r.length;const o=String.fromCharCode(n);if(i<2)return!1;let a;i%2&&(a=e.push("text","",0),a.content=o,i--);for(let s=0;s<i;s+=2)a=e.push("text","",0),a.content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function tr(e,t){let u;const n=[],r=t.length;for(let i=0;i<r;i++){const o=t[i];if(o.marker!==126||o.end===-1)continue;const a=t[o.end];u=e.tokens[o.token],u.type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",u=e.tokens[a.token],u.type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",e.tokens[a.token-1].type==="text"&&e.tokens[a.token-1].content==="~"&&n.push(a.token-1)}for(;n.length;){const i=n.pop();let o=i+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,i!==o&&(u=e.tokens[o],e.tokens[o]=e.tokens[i],e.tokens[i]=u)}}function Mc(e){const t=e.tokens_meta,u=e.tokens_meta.length;tr(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&tr(e,t[n].delimiters)}const Yr={tokenize:Lc,postProcess:Mc};function Rc(e,t){const u=e.pos,n=e.src.charCodeAt(u);if(t||n!==95&&n!==42)return!1;const r=e.scanDelims(e.pos,n===42);for(let i=0;i<r.length;i++){const o=e.push("text","",0);o.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function ur(e,t){const u=t.length;for(let n=u-1;n>=0;n--){const r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function Bc(e){const t=e.tokens_meta,u=e.tokens_meta.length;ur(e,e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&ur(e,t[n].delimiters)}const Qr={tokenize:Rc,postProcess:Bc};function Pc(e,t){let u,n,r,i,o="",a="",s=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,d=e.posMax,p=e.pos+1,g=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(g<0)return!1;let h=g+1;if(h<d&&e.src.charCodeAt(h)===40){for(l=!1,h++;h<d&&(u=e.src.charCodeAt(h),!(!te(u)&&u!==10));h++);if(h>=d)return!1;if(s=h,r=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?h=r.pos:o="",s=h;h<d&&(u=e.src.charCodeAt(h),!(!te(u)&&u!==10));h++);if(r=e.md.helpers.parseLinkTitle(e.src,h,e.posMax),h<d&&s!==h&&r.ok)for(a=r.str,h=r.pos;h<d&&(u=e.src.charCodeAt(h),!(!te(u)&&u!==10));h++);}(h>=d||e.src.charCodeAt(h)!==41)&&(l=!0),h++}if(l){if(typeof e.env.references>"u")return!1;if(h<d&&e.src.charCodeAt(h)===91?(s=h+1,h=e.md.helpers.parseLinkLabel(e,h),h>=0?n=e.src.slice(s,h++):h=g+1):h=g+1,n||(n=e.src.slice(p,g)),i=e.env.references[Mu(n)],!i)return e.pos=c,!1;o=i.href,a=i.title}if(!t){e.pos=p,e.posMax=g;const b=e.push("link_open","a",1),k=[["href",o]];b.attrs=k,a&&k.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}function Oc(e,t){let u,n,r,i,o,a,s,l,c="";const d=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(i=h+1,i<p&&e.src.charCodeAt(i)===40){for(i++;i<p&&(u=e.src.charCodeAt(i),!(!te(u)&&u!==10));i++);if(i>=p)return!1;for(l=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?i=a.pos:c=""),l=i;i<p&&(u=e.src.charCodeAt(i),!(!te(u)&&u!==10));i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<p&&l!==i&&a.ok)for(s=a.str,i=a.pos;i<p&&(u=e.src.charCodeAt(i),!(!te(u)&&u!==10));i++);else s="";if(i>=p||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i<p&&e.src.charCodeAt(i)===91?(l=i+1,i=e.md.helpers.parseLinkLabel(e,i),i>=0?r=e.src.slice(l,i++):i=h+1):i=h+1,r||(r=e.src.slice(g,h)),o=e.env.references[Mu(r)],!o)return e.pos=d,!1;c=o.href,s=o.title}if(!t){n=e.src.slice(g,h);const b=[];e.md.inline.parse(n,e.md,e.env,b);const k=e.push("image","img",0),w=[["src",c],["alt",""]];k.attrs=w,k.children=b,k.content=n,s&&w.push(["title",s])}return e.pos=i,e.posMax=p,!0}const Nc=/^([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])?)*)$/,jc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Hc(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++u>=r)return!1;const o=e.src.charCodeAt(u);if(o===60)return!1;if(o===62)break}const i=e.src.slice(n+1,u);if(jc.test(i)){const o=e.md.normalizeLink(i);if(!e.md.validateLink(o))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",o]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Nc.test(i)){const o=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(o))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",o]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function qc(e){return/^<a[>\s]/i.test(e)}function Uc(e){return/^<\/a\s*>/i.test(e)}function Wc(e){const t=e|32;return t>=97&&t<=122}function Gc(e,t){if(!e.md.options.html)return!1;const u=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=u)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Wc(r))return!1;const i=e.src.slice(n).match(vc);if(!i)return!1;if(!t){const o=e.push("html_inline","",0);o.content=i[0],qc(o.content)&&e.linkLevel++,Uc(o.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Vc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Xc=/^&([a-z][a-z0-9]{1,31});/i;function Zc(e,t){const u=e.pos,n=e.posMax;if(e.src.charCodeAt(u)!==38||u+1>=n)return!1;if(e.src.charCodeAt(u+1)===35){const i=e.src.slice(u).match(Vc);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=An(o)?Cu(o):Cu(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(u).match(Xc);if(i){const o=qr(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function nr(e){const t={},u=e.length;if(!u)return;let n=0,r=-2;const i=[];for(let o=0;o<u;o++){const a=e[o];if(i.push(0),(e[n].marker!==a.marker||r!==a.token-1)&&(n=o),r=a.token,a.length=a.length||0,!a.close)continue;t.hasOwnProperty(a.marker)||(t[a.marker]=[-1,-1,-1,-1,-1,-1]);const s=t[a.marker][(a.open?3:0)+a.length%3];let l=n-i[n]-1,c=l;for(;l>s;l-=i[l]+1){const d=e[l];if(d.marker===a.marker&&d.open&&d.end<0){let p=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(p=!0),!p){const g=l>0&&!e[l-1].open?i[l-1]+1:0;i[o]=o-l+g,i[l]=g,a.open=!1,d.end=o,d.close=!1,c=-1,r=-2;break}}}c!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=c)}}function Yc(e){const t=e.tokens_meta,u=e.tokens_meta.length;nr(e.delimiters);for(let n=0;n<u;n++)t[n]&&t[n].delimiters&&nr(t[n].delimiters)}function Qc(e){let t,u,n=0;const r=e.tokens,i=e.tokens.length;for(t=u=0;t<i;t++)r[t].nesting<0&&n--,r[t].level=n,r[t].nesting>0&&n++,r[t].type==="text"&&t+1<i&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==u&&(r[u]=r[t]),u++);t!==u&&(r.length=u)}const Xu=[["text",Sc],["linkify",Tc],["newline",Ic],["escape",zc],["backticks",$c],["strikethrough",Yr.tokenize],["emphasis",Qr.tokenize],["link",Pc],["image",Oc],["autolink",Hc],["html_inline",Gc],["entity",Zc]],Zu=[["balance_pairs",Yc],["strikethrough",Yr.postProcess],["emphasis",Qr.postProcess],["fragments_join",Qc]];function su(){this.ruler=new Ae;for(let e=0;e<Xu.length;e++)this.ruler.push(Xu[e][0],Xu[e][1]);this.ruler2=new Ae;for(let e=0;e<Zu.length;e++)this.ruler2.push(Zu[e][0],Zu[e][1])}su.prototype.skipToken=function(e){const t=e.pos,u=this.ruler.getRules(""),n=u.length,r=e.md.options.maxNesting,i=e.cache;if(typeof i[t]<"u"){e.pos=i[t];return}let o=!1;if(e.level<r){for(let a=0;a<n;a++)if(e.level++,o=u[a](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,i[t]=e.pos};su.prototype.tokenize=function(e){const t=this.ruler.getRules(""),u=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos<n;){const i=e.pos;let o=!1;if(e.level<r){for(let a=0;a<u;a++)if(o=t[a](e,!1),o){if(i>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};su.prototype.parse=function(e,t,u,n){const r=new this.State(e,t,u,n);this.tokenize(r);const i=this.ruler2.getRules(""),o=i.length;for(let a=0;a<o;a++)i[a](r)};su.prototype.State=au;function Jc(e){const t={};e=e||{},t.src_Any=Pr.source,t.src_Cc=Or.source,t.src_Z=jr.source,t.src_P=wn.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const u="[><|]";return t.src_pseudo_letter="(?:(?!"+u+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+u+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+u+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+u+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function un(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){u&&Object.keys(u).forEach(function(n){e[n]=u[n]})}),e}function Bu(e){return Object.prototype.toString.call(e)}function Kc(e){return Bu(e)==="[object String]"}function ed(e){return Bu(e)==="[object Object]"}function td(e){return Bu(e)==="[object RegExp]"}function rr(e){return Bu(e)==="[object Function]"}function ud(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Jr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nd(e){return Object.keys(e||{}).reduce(function(t,u){return t||Jr.hasOwnProperty(u)},!1)}const rd={"http:":{validate:function(e,t,u){const n=e.slice(t);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(n)?n.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,u){const n=e.slice(t);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,u){const n=e.slice(t);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(n)?n.match(u.re.mailto)[0].length:0}}},id="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",od="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ad(e){e.__index__=-1,e.__text_cache__=""}function sd(e){return function(t,u){const n=t.slice(u);return e.test(n)?n.match(e)[0].length:0}}function ir(){return function(e,t){t.normalize(e)}}function Au(e){const t=e.re=Jc(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(id),u.push(t.src_xn),t.src_tlds=u.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(a,s){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+s)}Object.keys(e.__schemas__).forEach(function(a){const s=e.__schemas__[a];if(s===null)return;const l={validate:null,link:null};if(e.__compiled__[a]=l,ed(s)){td(s.validate)?l.validate=sd(s.validate):rr(s.validate)?l.validate=s.validate:i(a,s),rr(s.normalize)?l.normalize=s.normalize:s.normalize?i(a,s):l.normalize=ir();return}if(Kc(s)){r.push(a);return}i(a,s)}),r.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:ir()};const o=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(ud).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ad(e)}function ld(e,t){const u=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(u,n);this.schema=e.__schema__.toLowerCase(),this.index=u+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function nn(e,t){const u=new ld(e,t);return e.__compiled__[u.schema].normalize(u,e),u}function ze(e,t){if(!(this instanceof ze))return new ze(e,t);t||nd(e)&&(t=e,e={}),this.__opts__=un({},Jr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=un({},rd,e),this.__compiled__={},this.__tlds__=od,this.__tlds_replaced__=!1,this.re={},Au(this)}ze.prototype.add=function(t,u){return this.__schemas__[t]=u,Au(this),this};ze.prototype.set=function(t){return this.__opts__=un(this.__opts__,t),this};ze.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let u,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(u=s.exec(t))!==null;)if(i=this.testSchemaAt(t,u[2],s.lastIndex),i){this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};ze.prototype.pretest=function(t){return this.re.pretest.test(t)};ze.prototype.testSchemaAt=function(t,u,n){return this.__compiled__[u.toLowerCase()]?this.__compiled__[u.toLowerCase()].validate(t,n,this):0};ze.prototype.match=function(t){const u=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(u.push(nn(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)u.push(nn(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return u.length?u:null};ze.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const u=this.re.schema_at_start.exec(t);if(!u)return null;const n=this.testSchemaAt(t,u[2],u[0].length);return n?(this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+n,nn(this,0)):null};ze.prototype.tlds=function(t,u){return t=Array.isArray(t)?t:[t],u?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),Au(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Au(this),this)};ze.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};ze.prototype.onCompile=function(){};const zt=2147483647,Ye=36,Sn=1,Kt=26,cd=38,dd=700,Kr=72,ei=128,ti="-",fd=/^xn--/,hd=/[^\0-\x7F]/,pd=/[\x2E\u3002\uFF0E\uFF61]/g,gd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Yu=Ye-Sn,Qe=Math.floor,Qu=String.fromCharCode;function pt(e){throw new RangeError(gd[e])}function md(e,t){const u=[];let n=e.length;for(;n--;)u[n]=t(e[n]);return u}function ui(e,t){const u=e.split("@");let n="";u.length>1&&(n=u[0]+"@",e=u[1]),e=e.replace(pd,".");const r=e.split("."),i=md(r,t).join(".");return n+i}function ni(e){const t=[];let u=0;const n=e.length;for(;u<n;){const r=e.charCodeAt(u++);if(r>=55296&&r<=56319&&u<n){const i=e.charCodeAt(u++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),u--)}else t.push(r)}return t}const bd=e=>String.fromCodePoint(...e),xd=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ye},or=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ri=function(e,t,u){let n=0;for(e=u?Qe(e/dd):e>>1,e+=Qe(e/t);e>Yu*Kt>>1;n+=Ye)e=Qe(e/Yu);return Qe(n+(Yu+1)*e/(e+cd))},ii=function(e){const t=[],u=e.length;let n=0,r=ei,i=Kr,o=e.lastIndexOf(ti);o<0&&(o=0);for(let a=0;a<o;++a)e.charCodeAt(a)>=128&&pt("not-basic"),t.push(e.charCodeAt(a));for(let a=o>0?o+1:0;a<u;){const s=n;for(let c=1,d=Ye;;d+=Ye){a>=u&&pt("invalid-input");const p=xd(e.charCodeAt(a++));p>=Ye&&pt("invalid-input"),p>Qe((zt-n)/c)&&pt("overflow"),n+=p*c;const g=d<=i?Sn:d>=i+Kt?Kt:d-i;if(p<g)break;const h=Ye-g;c>Qe(zt/h)&&pt("overflow"),c*=h}const l=t.length+1;i=ri(n-s,l,s==0),Qe(n/l)>zt-r&&pt("overflow"),r+=Qe(n/l),n%=l,t.splice(n++,0,r)}return String.fromCodePoint(...t)},oi=function(e){const t=[];e=ni(e);const u=e.length;let n=ei,r=0,i=Kr;for(const s of e)s<128&&t.push(Qu(s));const o=t.length;let a=o;for(o&&t.push(ti);a<u;){let s=zt;for(const c of e)c>=n&&c<s&&(s=c);const l=a+1;s-n>Qe((zt-r)/l)&&pt("overflow"),r+=(s-n)*l,n=s;for(const c of e)if(c<n&&++r>zt&&pt("overflow"),c===n){let d=r;for(let p=Ye;;p+=Ye){const g=p<=i?Sn:p>=i+Kt?Kt:p-i;if(d<g)break;const h=d-g,b=Ye-g;t.push(Qu(or(g+h%b,0))),d=Qe(h/b)}t.push(Qu(or(d,0))),i=ri(r,l,a===o),r=0,++a}++r,++n}return t.join("")},yd=function(e){return ui(e,function(t){return fd.test(t)?ii(t.slice(4).toLowerCase()):t})},_d=function(e){return ui(e,function(t){return hd.test(t)?"xn--"+oi(t):t})},ai={version:"2.3.1",ucs2:{decode:ni,encode:bd},decode:ii,encode:oi,toASCII:_d,toUnicode:yd},vd={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},kd={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},wd={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Cd={default:vd,zero:kd,commonmark:wd},Ad=/^(vbscript|javascript|file|data):/,Ed=/^data:image\/(gif|png|jpeg|webp);/;function Dd(e){const t=e.trim().toLowerCase();return Ad.test(t)?Ed.test(t):!0}const si=["http:","https:","mailto:"];function Sd(e){const t=kn(e,!0);if(t.hostname&&(!t.protocol||si.indexOf(t.protocol)>=0))try{t.hostname=ai.toASCII(t.hostname)}catch{}return ou(vn(t))}function Fd(e){const t=kn(e,!0);if(t.hostname&&(!t.protocol||si.indexOf(t.protocol)>=0))try{t.hostname=ai.toUnicode(t.hostname)}catch{}return jt(vn(t),jt.defaultChars+"%")}function Le(e,t){if(!(this instanceof Le))return new Le(e,t);t||Cn(e)||(t=e||{},e="default"),this.inline=new su,this.block=new Ru,this.core=new En,this.renderer=new qt,this.linkify=new ze,this.validateLink=Dd,this.normalizeLink=Sd,this.normalizeLinkText=Fd,this.utils=I0,this.helpers=Lu({},M0),this.options={},this.configure(e),t&&this.set(t)}Le.prototype.set=function(e){return Lu(this.options,e),this};Le.prototype.configure=function(e){const t=this;if(Cn(e)){const u=e;if(e=Cd[u],!e)throw new Error('Wrong `markdown-it` preset "'+u+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(u){e.components[u].rules&&t[u].ruler.enableOnly(e.components[u].rules),e.components[u].rules2&&t[u].ruler2.enableOnly(e.components[u].rules2)}),this};Le.prototype.enable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.enable(e,!0))},this),u=u.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Le.prototype.disable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.disable(e,!0))},this),u=u.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Le.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Le.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const u=new this.core.State(e,this,t);return this.core.process(u),u.tokens};Le.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Le.prototype.parseInline=function(e,t){const u=new this.core.State(e,this,t);return u.inlineMode=!0,this.core.process(u),u.tokens};Le.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const ar=new Set([!0,!1,"alt","title"]);function li(e,t){return(Array.isArray(e)?e:[]).filter(([u])=>u!==t)}function ci(e,t){e&&e.attrs&&(e.attrs=li(e.attrs,t))}function Td(e,t){if(!ar.has(e))throw new TypeError(`figcaption must be one of: ${[...ar]}.`);if(e==="alt")return t.content;const u=t.attrs.find(([n])=>n==="title");return Array.isArray(u)&&u[1]?(ci(t,"title"),u[1]):void 0}function Id(e,t){t=t||{},e.core.ruler.before("linkify","image_figures",function(u){let n=1;for(let r=1,i=u.tokens.length;r<i-1;++r){const o=u.tokens[r];if(o.type!=="inline"||!o.children||o.children.length!==1&&o.children.length!==3||o.children.length===1&&o.children[0].type!=="image")continue;if(o.children.length===3){const[l,c,d]=o.children;if(l.type!=="link_open"||c.type!=="image"||d.type!=="link_close")continue}if(r!==0&&u.tokens[r-1].type!=="paragraph_open"||r!==i-1&&u.tokens[r+1].type!=="paragraph_close")continue;const a=u.tokens[r-1];let s;if(a.type="figure_open",a.tag="figure",u.tokens[r+1].type="figure_close",u.tokens[r+1].tag="figure",t.dataType&&u.tokens[r-1].attrPush(["data-type","image"]),t.link&&o.children.length===1){[s]=o.children;const l=new u.Token("link_open","a",1);l.attrPush(["href",s.attrGet("src")]),o.children.unshift(l),o.children.push(new u.Token("link_close","a",-1))}if(s=o.children.length===1?o.children[0]:o.children[1],t.figcaption){const l=Td(t.figcaption,s);if(l){const[c]=e.parseInline(l,u.env);o.children.push(new u.Token("figcaption_open","figcaption",1)),o.children.push(...c.children),o.children.push(new u.Token("figcaption_close","figcaption",-1)),s.attrs&&(s.attrs=li(s.attrs,"title"))}}if(t.copyAttrs&&s.attrs){const l=t.copyAttrs===!0?"":t.copyAttrs;a.attrs=s.attrs.filter(([c])=>c.match(l)).map(c=>Array.from(c))}if(t.tabindex&&(u.tokens[r-1].attrPush(["tabindex",n]),n++),t.lazy&&(s.attrs.some(([l])=>l==="loading")||s.attrs.push(["loading","lazy"])),t.async&&(s.attrs.some(([l])=>l==="decoding")||s.attrs.push(["decoding","async"])),t.classes&&typeof t.classes=="string"){let l=!1;for(let c=0,d=s.attrs.length;c<d&&!l;c++){const p=s.attrs[c];p[0]==="class"&&(p[1]=`${p[1]} ${t.classes}`,l=!0)}l||s.attrs.push(["class",t.classes])}if(t.removeSrc){const l=s.attrs.find(([c])=>c==="src");s.attrs.push(["data-src",l[1]]),ci(s,"src")}}})}var rn=!0,di=!1,fi=!1,zd=function(e,t){t&&(rn=!t.enabled,di=!!t.label,fi=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(u){for(var n=u.tokens,r=2;r<n.length;r++)Ld(n,r)&&(Md(n[r],u.Token),sr(n[r-2],"class","task-list-item"+(rn?"":" enabled")),sr(n[$d(n,r-2)],"class","contains-task-list"))})};function sr(e,t,u){var n=e.attrIndex(t),r=[t,u];n<0?e.attrPush(r):e.attrs[n]=r}function $d(e,t){for(var u=e[t].level-1,n=t-1;n>=0;n--)if(e[n].level===u)return n;return-1}function Ld(e,t){return Nd(e[t])&&jd(e[t-1])&&Hd(e[t-2])&&qd(e[t])}function Md(e,t){if(e.children.unshift(Rd(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),di)if(fi){e.children.pop();var u="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+u+'">',e.children.push(Od(e.content,u,t))}else e.children.unshift(Bd(t)),e.children.push(Pd(t))}function Rd(e,t){var u=new t("html_inline","",0),n=rn?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?u.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(u.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),u}function Bd(e){var t=new e("html_inline","",0);return t.content="<label>",t}function Pd(e){var t=new e("html_inline","",0);return t.content="</label>",t}function Od(e,t,u){var n=new u("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",n.attrs=[{for:t}],n}function Nd(e){return e.type==="inline"}function jd(e){return e.type==="paragraph_open"}function Hd(e){return e.type==="list_item_open"}function qd(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const Ud=Tr(zd),It=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,hi=new Set,on=typeof process=="object"&&process?process:{},pi=(e,t,u,n)=>{typeof on.emitWarning=="function"?on.emitWarning(e,t,u,n):console.error(`[${u}] ${t}: ${e}`)};let Eu=globalThis.AbortController,lr=globalThis.AbortSignal;var xr;if(typeof Eu>"u"){lr=class{constructor(){se(this,"onabort");se(this,"_onabort",[]);se(this,"reason");se(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},Eu=class{constructor(){se(this,"signal",new lr);t()}abort(n){var r,i;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(i=(r=this.signal).onabort)==null||i.call(r,n)}}};let e=((xr=on.env)==null?void 0:xr.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const t=()=>{e&&(e=!1,pi("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const Wd=e=>!hi.has(e),lt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),gi=e=>lt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?xu:null:null;class xu extends Array{constructor(t){super(t),this.fill(0)}}var $t;const Ct=class Ct{constructor(t,u){se(this,"heap");se(this,"length");if(!f(Ct,$t))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(t),this.length=0}static create(t){const u=gi(t);if(!u)return[];W(Ct,$t,!0);const n=new Ct(t,u);return W(Ct,$t,!1),n}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}};$t=new WeakMap,V(Ct,$t,!1);let an=Ct;var Re,De,Be,Pe,Lt,Mt,fe,Oe,de,ie,X,_e,Se,ye,ge,Ne,me,je,He,Fe,qe,bt,ve,eu,ln,At,ot,tu,Te,Fu,mi,Et,Rt,uu,Ve,ct,Xe,dt,nu,cn,Ph,Bt,yu,Pt,_u,ee,re,ru,dn,Dt,Gt,Ze,ft,iu,fn;const zn=class zn{constructor(t){V(this,eu);V(this,Fu);V(this,Ve);V(this,Xe);V(this,nu);V(this,Bt);V(this,Pt);V(this,ee);V(this,ru);V(this,Dt);V(this,Ze);V(this,iu);V(this,Re,void 0);V(this,De,void 0);V(this,Be,void 0);V(this,Pe,void 0);V(this,Lt,void 0);V(this,Mt,void 0);se(this,"ttl");se(this,"ttlResolution");se(this,"ttlAutopurge");se(this,"updateAgeOnGet");se(this,"updateAgeOnHas");se(this,"allowStale");se(this,"noDisposeOnSet");se(this,"noUpdateTTL");se(this,"maxEntrySize");se(this,"sizeCalculation");se(this,"noDeleteOnFetchRejection");se(this,"noDeleteOnStaleGet");se(this,"allowStaleOnFetchAbort");se(this,"allowStaleOnFetchRejection");se(this,"ignoreFetchAbort");V(this,fe,void 0);V(this,Oe,void 0);V(this,de,void 0);V(this,ie,void 0);V(this,X,void 0);V(this,_e,void 0);V(this,Se,void 0);V(this,ye,void 0);V(this,ge,void 0);V(this,Ne,void 0);V(this,me,void 0);V(this,je,void 0);V(this,He,void 0);V(this,Fe,void 0);V(this,qe,void 0);V(this,bt,void 0);V(this,ve,void 0);V(this,At,()=>{});V(this,ot,()=>{});V(this,tu,()=>{});V(this,Te,()=>!1);V(this,Et,t=>{});V(this,Rt,(t,u,n)=>{});V(this,uu,(t,u,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});se(this,Ph,"LRUCache");const{max:u=0,ttl:n,ttlResolution:r=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:s,dispose:l,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:p,maxSize:g=0,maxEntrySize:h=0,sizeCalculation:b,fetchMethod:k,memoMethod:w,noDeleteOnFetchRejection:A,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:E,allowStaleOnFetchAbort:I,ignoreFetchAbort:$}=t;if(u!==0&&!lt(u))throw new TypeError("max option must be a nonnegative integer");const S=u?gi(u):Array;if(!S)throw new Error("invalid max value: "+u);if(W(this,Re,u),W(this,De,g),this.maxEntrySize=h||f(this,De),this.sizeCalculation=b,this.sizeCalculation){if(!f(this,De)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(W(this,Mt,w),k!==void 0&&typeof k!="function")throw new TypeError("fetchMethod must be a function if specified");if(W(this,Lt,k),W(this,bt,!!k),W(this,de,new Map),W(this,ie,new Array(u).fill(void 0)),W(this,X,new Array(u).fill(void 0)),W(this,_e,new S(u)),W(this,Se,new S(u)),W(this,ye,0),W(this,ge,0),W(this,Ne,an.create(u)),W(this,fe,0),W(this,Oe,0),typeof l=="function"&&W(this,Be,l),typeof c=="function"?(W(this,Pe,c),W(this,me,[])):(W(this,Pe,void 0),W(this,me,void 0)),W(this,qe,!!f(this,Be)),W(this,ve,!!f(this,Pe)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!A,this.allowStaleOnFetchRejection=!!E,this.allowStaleOnFetchAbort=!!I,this.ignoreFetchAbort=!!$,this.maxEntrySize!==0){if(f(this,De)!==0&&!lt(f(this,De)))throw new TypeError("maxSize must be a positive integer if specified");if(!lt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");B(this,Fu,mi).call(this)}if(this.allowStale=!!s,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=lt(r)||r===0?r:1,this.ttlAutopurge=!!i,this.ttl=n||0,this.ttl){if(!lt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");B(this,eu,ln).call(this)}if(f(this,Re)===0&&this.ttl===0&&f(this,De)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!f(this,Re)&&!f(this,De)){const v="LRU_CACHE_UNBOUNDED";Wd(v)&&(hi.add(v),pi("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",v,zn))}}static unsafeExposeInternals(t){return{starts:f(t,He),ttls:f(t,Fe),sizes:f(t,je),keyMap:f(t,de),keyList:f(t,ie),valList:f(t,X),next:f(t,_e),prev:f(t,Se),get head(){return f(t,ye)},get tail(){return f(t,ge)},free:f(t,Ne),isBackgroundFetch:u=>{var n;return B(n=t,ee,re).call(n,u)},backgroundFetch:(u,n,r,i)=>{var o;return B(o=t,Pt,_u).call(o,u,n,r,i)},moveToTail:u=>{var n;return B(n=t,Dt,Gt).call(n,u)},indexes:u=>{var n;return B(n=t,Ve,ct).call(n,u)},rindexes:u=>{var n;return B(n=t,Xe,dt).call(n,u)},isStale:u=>{var n;return f(n=t,Te).call(n,u)}}}get max(){return f(this,Re)}get maxSize(){return f(this,De)}get calculatedSize(){return f(this,Oe)}get size(){return f(this,fe)}get fetchMethod(){return f(this,Lt)}get memoMethod(){return f(this,Mt)}get dispose(){return f(this,Be)}get disposeAfter(){return f(this,Pe)}getRemainingTTL(t){return f(this,de).has(t)?1/0:0}*entries(){for(const t of B(this,Ve,ct).call(this))f(this,X)[t]!==void 0&&f(this,ie)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield[f(this,ie)[t],f(this,X)[t]])}*rentries(){for(const t of B(this,Xe,dt).call(this))f(this,X)[t]!==void 0&&f(this,ie)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield[f(this,ie)[t],f(this,X)[t]])}*keys(){for(const t of B(this,Ve,ct).call(this)){const u=f(this,ie)[t];u!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield u)}}*rkeys(){for(const t of B(this,Xe,dt).call(this)){const u=f(this,ie)[t];u!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield u)}}*values(){for(const t of B(this,Ve,ct).call(this))f(this,X)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield f(this,X)[t])}*rvalues(){for(const t of B(this,Xe,dt).call(this))f(this,X)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield f(this,X)[t])}[Symbol.iterator](){return this.entries()}find(t,u={}){for(const n of B(this,Ve,ct).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;if(i!==void 0&&t(i,f(this,ie)[n],this))return this.get(f(this,ie)[n],u)}}forEach(t,u=this){for(const n of B(this,Ve,ct).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,f(this,ie)[n],this)}}rforEach(t,u=this){for(const n of B(this,Xe,dt).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,f(this,ie)[n],this)}}purgeStale(){let t=!1;for(const u of B(this,Xe,dt).call(this,{allowStale:!0}))f(this,Te).call(this,u)&&(B(this,Ze,ft).call(this,f(this,ie)[u],"expire"),t=!0);return t}info(t){const u=f(this,de).get(t);if(u===void 0)return;const n=f(this,X)[u],r=B(this,ee,re).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const i={value:r};if(f(this,Fe)&&f(this,He)){const o=f(this,Fe)[u],a=f(this,He)[u];if(o&&a){const s=o-(It.now()-a);i.ttl=s,i.start=Date.now()}}return f(this,je)&&(i.size=f(this,je)[u]),i}dump(){const t=[];for(const u of B(this,Ve,ct).call(this,{allowStale:!0})){const n=f(this,ie)[u],r=f(this,X)[u],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;if(i===void 0||n===void 0)continue;const o={value:i};if(f(this,Fe)&&f(this,He)){o.ttl=f(this,Fe)[u];const a=It.now()-f(this,He)[u];o.start=Math.floor(Date.now()-a)}f(this,je)&&(o.size=f(this,je)[u]),t.unshift([n,o])}return t}load(t){this.clear();for(const[u,n]of t){if(n.start){const r=Date.now()-n.start;n.start=It.now()-r}this.set(u,n.value,n)}}set(t,u,n={}){var p,g,h,b,k;if(u===void 0)return this.delete(t),this;const{ttl:r=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:s}=n;let{noUpdateTTL:l=this.noUpdateTTL}=n;const c=f(this,uu).call(this,t,u,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return s&&(s.set="miss",s.maxEntrySizeExceeded=!0),B(this,Ze,ft).call(this,t,"set"),this;let d=f(this,fe)===0?void 0:f(this,de).get(t);if(d===void 0)d=f(this,fe)===0?f(this,ge):f(this,Ne).length!==0?f(this,Ne).pop():f(this,fe)===f(this,Re)?B(this,Bt,yu).call(this,!1):f(this,fe),f(this,ie)[d]=t,f(this,X)[d]=u,f(this,de).set(t,d),f(this,_e)[f(this,ge)]=d,f(this,Se)[d]=f(this,ge),W(this,ge,d),cu(this,fe)._++,f(this,Rt).call(this,d,c,s),s&&(s.set="add"),l=!1;else{B(this,Dt,Gt).call(this,d);const w=f(this,X)[d];if(u!==w){if(f(this,bt)&&B(this,ee,re).call(this,w)){w.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:A}=w;A!==void 0&&!o&&(f(this,qe)&&((p=f(this,Be))==null||p.call(this,A,t,"set")),f(this,ve)&&((g=f(this,me))==null||g.push([A,t,"set"])))}else o||(f(this,qe)&&((h=f(this,Be))==null||h.call(this,w,t,"set")),f(this,ve)&&((b=f(this,me))==null||b.push([w,t,"set"])));if(f(this,Et).call(this,d),f(this,Rt).call(this,d,c,s),f(this,X)[d]=u,s){s.set="replace";const A=w&&B(this,ee,re).call(this,w)?w.__staleWhileFetching:w;A!==void 0&&(s.oldValue=A)}}else s&&(s.set="update")}if(r!==0&&!f(this,Fe)&&B(this,eu,ln).call(this),f(this,Fe)&&(l||f(this,tu).call(this,d,r,i),s&&f(this,ot).call(this,s,d)),!o&&f(this,ve)&&f(this,me)){const w=f(this,me);let A;for(;A=w==null?void 0:w.shift();)(k=f(this,Pe))==null||k.call(this,...A)}return this}pop(){var t;try{for(;f(this,fe);){const u=f(this,X)[f(this,ye)];if(B(this,Bt,yu).call(this,!0),B(this,ee,re).call(this,u)){if(u.__staleWhileFetching)return u.__staleWhileFetching}else if(u!==void 0)return u}}finally{if(f(this,ve)&&f(this,me)){const u=f(this,me);let n;for(;n=u==null?void 0:u.shift();)(t=f(this,Pe))==null||t.call(this,...n)}}}has(t,u={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=u,i=f(this,de).get(t);if(i!==void 0){const o=f(this,X)[i];if(B(this,ee,re).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(f(this,Te).call(this,i))r&&(r.has="stale",f(this,ot).call(this,r,i));else return n&&f(this,At).call(this,i),r&&(r.has="hit",f(this,ot).call(this,r,i)),!0}else r&&(r.has="miss");return!1}peek(t,u={}){const{allowStale:n=this.allowStale}=u,r=f(this,de).get(t);if(r===void 0||!n&&f(this,Te).call(this,r))return;const i=f(this,X)[r];return B(this,ee,re).call(this,i)?i.__staleWhileFetching:i}async fetch(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:s=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:g=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:b,forceRefresh:k=!1,status:w,signal:A}=u;if(!f(this,bt))return w&&(w.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,status:w});const C={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:a,size:s,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:h,ignoreFetchAbort:g,status:w,signal:A};let E=f(this,de).get(t);if(E===void 0){w&&(w.fetch="miss");const I=B(this,Pt,_u).call(this,t,E,C,b);return I.__returned=I}else{const I=f(this,X)[E];if(B(this,ee,re).call(this,I)){const _=n&&I.__staleWhileFetching!==void 0;return w&&(w.fetch="inflight",_&&(w.returnedStale=!0)),_?I.__staleWhileFetching:I.__returned=I}const $=f(this,Te).call(this,E);if(!k&&!$)return w&&(w.fetch="hit"),B(this,Dt,Gt).call(this,E),r&&f(this,At).call(this,E),w&&f(this,ot).call(this,w,E),I;const S=B(this,Pt,_u).call(this,t,E,C,b),N=S.__staleWhileFetching!==void 0&&n;return w&&(w.fetch=$?"stale":"refresh",N&&$&&(w.returnedStale=!0)),N?S.__staleWhileFetching:S.__returned=S}}async forceFetch(t,u={}){const n=await this.fetch(t,u);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(t,u={}){const n=f(this,Mt);if(!n)throw new Error("no memoMethod provided to constructor");const{context:r,forceRefresh:i,...o}=u,a=this.get(t,o);if(!i&&a!==void 0)return a;const s=n(t,a,{options:o,context:r});return this.set(t,s,o),s}get(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=u,a=f(this,de).get(t);if(a!==void 0){const s=f(this,X)[a],l=B(this,ee,re).call(this,s);return o&&f(this,ot).call(this,o,a),f(this,Te).call(this,a)?(o&&(o.get="stale"),l?(o&&n&&s.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?s.__staleWhileFetching:void 0):(i||B(this,Ze,ft).call(this,t,"expire"),o&&n&&(o.returnedStale=!0),n?s:void 0)):(o&&(o.get="hit"),l?s.__staleWhileFetching:(B(this,Dt,Gt).call(this,a),r&&f(this,At).call(this,a),s))}else o&&(o.get="miss")}delete(t){return B(this,Ze,ft).call(this,t,"delete")}clear(){return B(this,iu,fn).call(this,"delete")}};Ph=Symbol.toStringTag,Re=new WeakMap,De=new WeakMap,Be=new WeakMap,Pe=new WeakMap,Lt=new WeakMap,Mt=new WeakMap,fe=new WeakMap,Oe=new WeakMap,de=new WeakMap,ie=new WeakMap,X=new WeakMap,_e=new WeakMap,Se=new WeakMap,ye=new WeakMap,ge=new WeakMap,Ne=new WeakMap,me=new WeakMap,je=new WeakMap,He=new WeakMap,Fe=new WeakMap,qe=new WeakMap,bt=new WeakMap,ve=new WeakMap,eu=new WeakSet,ln=function(){const t=new xu(f(this,Re)),u=new xu(f(this,Re));W(this,Fe,t),W(this,He,u),W(this,tu,(i,o,a=It.now())=>{if(u[i]=o!==0?a:0,t[i]=o,o!==0&&this.ttlAutopurge){const s=setTimeout(()=>{f(this,Te).call(this,i)&&B(this,Ze,ft).call(this,f(this,ie)[i],"expire")},o+1);s.unref&&s.unref()}}),W(this,At,i=>{u[i]=t[i]!==0?It.now():0}),W(this,ot,(i,o)=>{if(t[o]){const a=t[o],s=u[o];if(!a||!s)return;i.ttl=a,i.start=s,i.now=n||r();const l=i.now-s;i.remainingTTL=a-l}});let n=0;const r=()=>{const i=It.now();if(this.ttlResolution>0){n=i;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return i};this.getRemainingTTL=i=>{const o=f(this,de).get(i);if(o===void 0)return 0;const a=t[o],s=u[o];if(!a||!s)return 1/0;const l=(n||r())-s;return a-l},W(this,Te,i=>{const o=u[i],a=t[i];return!!a&&!!o&&(n||r())-o>a})},At=new WeakMap,ot=new WeakMap,tu=new WeakMap,Te=new WeakMap,Fu=new WeakSet,mi=function(){const t=new xu(f(this,Re));W(this,Oe,0),W(this,je,t),W(this,Et,u=>{W(this,Oe,f(this,Oe)-t[u]),t[u]=0}),W(this,uu,(u,n,r,i)=>{if(B(this,ee,re).call(this,n))return 0;if(!lt(r))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(r=i(n,u),!lt(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),W(this,Rt,(u,n,r)=>{if(t[u]=n,f(this,De)){const i=f(this,De)-t[u];for(;f(this,Oe)>i;)B(this,Bt,yu).call(this,!0)}W(this,Oe,f(this,Oe)+t[u]),r&&(r.entrySize=n,r.totalCalculatedSize=f(this,Oe))})},Et=new WeakMap,Rt=new WeakMap,uu=new WeakMap,Ve=new WeakSet,ct=function*({allowStale:t=this.allowStale}={}){if(f(this,fe))for(let u=f(this,ge);!(!B(this,nu,cn).call(this,u)||((t||!f(this,Te).call(this,u))&&(yield u),u===f(this,ye)));)u=f(this,Se)[u]},Xe=new WeakSet,dt=function*({allowStale:t=this.allowStale}={}){if(f(this,fe))for(let u=f(this,ye);!(!B(this,nu,cn).call(this,u)||((t||!f(this,Te).call(this,u))&&(yield u),u===f(this,ge)));)u=f(this,_e)[u]},nu=new WeakSet,cn=function(t){return t!==void 0&&f(this,de).get(f(this,ie)[t])===t},Bt=new WeakSet,yu=function(t){var i,o;const u=f(this,ye),n=f(this,ie)[u],r=f(this,X)[u];return f(this,bt)&&B(this,ee,re).call(this,r)?r.__abortController.abort(new Error("evicted")):(f(this,qe)||f(this,ve))&&(f(this,qe)&&((i=f(this,Be))==null||i.call(this,r,n,"evict")),f(this,ve)&&((o=f(this,me))==null||o.push([r,n,"evict"]))),f(this,Et).call(this,u),t&&(f(this,ie)[u]=void 0,f(this,X)[u]=void 0,f(this,Ne).push(u)),f(this,fe)===1?(W(this,ye,W(this,ge,0)),f(this,Ne).length=0):W(this,ye,f(this,_e)[u]),f(this,de).delete(n),cu(this,fe)._--,u},Pt=new WeakSet,_u=function(t,u,n,r){const i=u===void 0?void 0:f(this,X)[u];if(B(this,ee,re).call(this,i))return i;const o=new Eu,{signal:a}=n;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});const s={signal:o.signal,options:n,context:r},l=(b,k=!1)=>{const{aborted:w}=o.signal,A=n.ignoreFetchAbort&&b!==void 0;if(n.status&&(w&&!k?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,A&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),w&&!A&&!k)return d(o.signal.reason);const C=g;return f(this,X)[u]===g&&(b===void 0?C.__staleWhileFetching?f(this,X)[u]=C.__staleWhileFetching:B(this,Ze,ft).call(this,t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(t,b,s.options))),b},c=b=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=b),d(b)),d=b=>{const{aborted:k}=o.signal,w=k&&n.allowStaleOnFetchAbort,A=w||n.allowStaleOnFetchRejection,C=A||n.noDeleteOnFetchRejection,E=g;if(f(this,X)[u]===g&&(!C||E.__staleWhileFetching===void 0?B(this,Ze,ft).call(this,t,"fetch"):w||(f(this,X)[u]=E.__staleWhileFetching)),A)return n.status&&E.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),E.__staleWhileFetching;if(E.__returned===E)throw b},p=(b,k)=>{var A;const w=(A=f(this,Lt))==null?void 0:A.call(this,t,i,s);w&&w instanceof Promise&&w.then(C=>b(C===void 0?void 0:C),k),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(b(void 0),n.allowStaleOnFetchAbort&&(b=C=>l(C,!0)))})};n.status&&(n.status.fetchDispatched=!0);const g=new Promise(p).then(l,c),h=Object.assign(g,{__abortController:o,__staleWhileFetching:i,__returned:void 0});return u===void 0?(this.set(t,h,{...s.options,status:void 0}),u=f(this,de).get(t)):f(this,X)[u]=h,h},ee=new WeakSet,re=function(t){if(!f(this,bt))return!1;const u=t;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof Eu},ru=new WeakSet,dn=function(t,u){f(this,Se)[u]=t,f(this,_e)[t]=u},Dt=new WeakSet,Gt=function(t){t!==f(this,ge)&&(t===f(this,ye)?W(this,ye,f(this,_e)[t]):B(this,ru,dn).call(this,f(this,Se)[t],f(this,_e)[t]),B(this,ru,dn).call(this,f(this,ge),t),W(this,ge,t))},Ze=new WeakSet,ft=function(t,u){var r,i,o,a;let n=!1;if(f(this,fe)!==0){const s=f(this,de).get(t);if(s!==void 0)if(n=!0,f(this,fe)===1)B(this,iu,fn).call(this,u);else{f(this,Et).call(this,s);const l=f(this,X)[s];if(B(this,ee,re).call(this,l)?l.__abortController.abort(new Error("deleted")):(f(this,qe)||f(this,ve))&&(f(this,qe)&&((r=f(this,Be))==null||r.call(this,l,t,u)),f(this,ve)&&((i=f(this,me))==null||i.push([l,t,u]))),f(this,de).delete(t),f(this,ie)[s]=void 0,f(this,X)[s]=void 0,s===f(this,ge))W(this,ge,f(this,Se)[s]);else if(s===f(this,ye))W(this,ye,f(this,_e)[s]);else{const c=f(this,Se)[s];f(this,_e)[c]=f(this,_e)[s];const d=f(this,_e)[s];f(this,Se)[d]=f(this,Se)[s]}cu(this,fe)._--,f(this,Ne).push(s)}}if(f(this,ve)&&((o=f(this,me))!=null&&o.length)){const s=f(this,me);let l;for(;l=s==null?void 0:s.shift();)(a=f(this,Pe))==null||a.call(this,...l)}return n},iu=new WeakSet,fn=function(t){var u,n,r;for(const i of B(this,Xe,dt).call(this,{allowStale:!0})){const o=f(this,X)[i];if(B(this,ee,re).call(this,o))o.__abortController.abort(new Error("deleted"));else{const a=f(this,ie)[i];f(this,qe)&&((u=f(this,Be))==null||u.call(this,o,a,t)),f(this,ve)&&((n=f(this,me))==null||n.push([o,a,t]))}}if(f(this,de).clear(),f(this,X).fill(void 0),f(this,ie).fill(void 0),f(this,Fe)&&f(this,He)&&(f(this,Fe).fill(0),f(this,He).fill(0)),f(this,je)&&f(this,je).fill(0),W(this,ye,0),W(this,ge,0),f(this,Ne).length=0,W(this,Oe,0),W(this,fe,0),f(this,ve)&&f(this,me)){const i=f(this,me);let o;for(;o=i==null?void 0:i.shift();)(r=f(this,Pe))==null||r.call(this,...o)}};let sn=zn;function Gd(e,t){for(var u=0;u<t.length;u++){const n=t[u];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Vd=(e,t)=>{const u=ke("editorId"),{noImgZoomIn:n}=e,r=Mr(()=>{const i=document.querySelectorAll(`#${u}-preview img:not(.not-zoom):not(.medium-zoom-image)`);i.length!==0&&Bl(i,{background:"#00000073"})});Ce(()=>{!n&&e.setting.preview&&r()}),we([t,kr(e.setting,"preview")],()=>{!n&&e.setting.preview&&r()})},Xd=(e,t,u)=>{const n=ke("editorId"),r=ke("usedLanguageText"),i=()=>{document.querySelectorAll(`#${n} .${q}-preview .${q}-code`).forEach(s=>{let l=-1;const c=s.querySelector(`.${q}-copy-button`);c&&(c.onclick=d=>{d.preventDefault(),clearTimeout(l);const g=(s.querySelector("input:checked + pre code")||s.querySelector("pre code")).textContent,h=Ul(e.formatCopiedText(g)),{text:b,successTips:k,failTips:w}=r.value.copyCode,A=h?k:w;c.dataset.isIcon?c.dataset.tips=A:c.innerHTML=A,l=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=b:c.innerHTML=b},1500)})})},o=()=>{Ot(i)},a=s=>{s&&Ot(i)};we([t,u],o),we(()=>e.setting.preview,a),we(()=>e.setting.htmlPreview,a),we(()=>r.value,i),Ce(i)},Zd=e=>{const t=ke("highlight"),u=Nt(Je.editorExtensions.highlight.instance);return Ce(()=>{e.noHighlight||u.value||(at("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`}),at("script",{...t.value.js,id:`${q}-hljs`,onload(){u.value=window.hljs}},"hljs"))}),we(()=>t.value.css,()=>{e.noHighlight||Dl("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`})}),u},Yd=e=>{const t=ke("theme"),{editorExtensions:u,editorExtensionsAttrs:n,mermaidConfig:r}=Je,i=Nt(u.mermaid.instance),o=Nt(-1),a=new sn({max:1e3,ttl:6e5}),s=()=>{const c=i.value;!e.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:t.value==="dark"?"dark":"default"})),o.value=o.value+1)};return we(()=>t.value,()=>{a.clear(),s()}),Ce(()=>{var c,d;if(e.noMermaid||i.value)return;const p=u.mermaid.js;/\.mjs/.test(p)?(at("link",{...(c=n.mermaid)==null?void 0:c.js,rel:"modulepreload",href:p,id:`${q}-mermaid-m`}),vr(()=>import(p),[],import.meta.url).then(g=>{i.value=g.default,s()})):at("script",{...(d=n.mermaid)==null?void 0:d.js,src:p,id:`${q}-mermaid`,onload(){i.value=window.mermaid,s()}},"mermaid")}),{mermaidRef:i,reRenderRef:o,replaceMermaid:()=>{Ot(()=>{if(!e.noMermaid&&i.value){const c=document.querySelectorAll(`div.${q}-mermaid`),d=document.createElement("div");d.style.width=document.body.offsetWidth+"px",d.style.height=document.body.offsetHeight+"px",d.style.position="fixed",d.style.zIndex="-10000",d.style.top="-10000";let p=c.length;p>0&&document.body.appendChild(d),c.forEach(async g=>{let h=a.get(g.innerText);if(!h){const k=Ku(),w=i.value.renderAsync||i.value.render;let A="";try{A=await w(k,g.innerText,d)}catch{}h=await e.sanitizeMermaid(typeof A=="string"?A:A.svg),a.set(g.innerText,h)}const b=document.createElement("p");b.className=`${q}-mermaid`,b.setAttribute("data-processed",""),b.innerHTML=h,g.dataset.line!==void 0&&(b.dataset.line=g.dataset.line),g.replaceWith(b),--p===0&&d.remove()})}})}}},Qd=e=>{const t=Nt(Je.editorExtensions.katex.instance);return Ce(()=>{if(e.noKatex||t.value)return;const{editorExtensions:u}=Je;at("script",{src:u.katex.js,id:`${q}-katex`,onload(){t.value=window.katex}},"katex"),at("link",{rel:"stylesheet",href:u.katex.css,id:`${q}-katexCss`})}),t},Jd=(e,t)=>{const u=e.renderer.rules.fence.bind(e.renderer.rules);e.renderer.rules.fence=(n,r,i,o,a)=>{const s=n[r],l=s.content.trim();if(s.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`<div class="${q}-mermaid" ${c!==void 0?"data-line="+c:""} data-mermaid-theme=${t.themeRef.value}>${l}</div>`}return u(n,r,i,o,a)}},Kd=Jd,Du=(e,t)=>{const u=e.attrs?e.attrs.slice():[];return t.forEach(n=>{const r=e.attrIndex(n[0]);r<0?u.push(n):(u[r]=u[r].slice(),u[r][1]+=` ${n[1]}`)}),u},cr=(e,t)=>{let u=!0,n=!0;const r=e.posMax,i=t>0?e.src.charCodeAt(t-1):-1,o=t+1<=r?e.src.charCodeAt(t+1):-1;return(i===32||i===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(u=!1),{can_open:u,can_close:n}},ef=(e,t)=>{let u,n,r,i;if(e.src[e.pos]!=="$")return!1;if(r=cr(e,e.pos),!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;const o=e.pos+1;for(u=o;(u=e.src.indexOf("$",u))!==-1;){for(i=u-1;e.src[i]==="\\";)i-=1;if((u-i)%2==1)break;u+=1}return u===-1?(t||(e.pending+="$"),e.pos=o,!0):u-o===0?(t||(e.pending+="$$"),e.pos=o+1,!0):(r=cr(e,u),r.can_close?(t||(n=e.push("math_inline","math",0),n.markup="$",n.content=e.src.slice(o,u)),e.pos=u+1,!0):(t||(e.pending+="$"),e.pos=o,!0))},tf=(e,t,u,n)=>{let r,i,o,a,s=!1,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(l+2>c||e.src.slice(l,l+2)!=="$$")return!1;if(l+=2,r=e.src.slice(l,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),s=!0),o=t;!s&&(o++,!(o>=u||(l=e.bMarks[o]+e.tShift[o],c=e.eMarks[o],l<c&&e.tShift[o]<e.blkIndent)));)e.src.slice(l,c).trim().slice(-2)==="$$"&&(a=e.src.slice(0,c).lastIndexOf("$$"),i=e.src.slice(l,a),s=!0);e.line=o+1;const d=e.push("math_block","math",0);return d.block=!0,d.content=(r&&r.trim()?r+`
|
||
`:"")+e.getLines(t+1,o,e.tShift[t],!0)+(i&&i.trim()?i:""),d.map=[t,e.line],d.markup="$$",!0},uf=(e,{katexRef:t})=>{const u=(r,i,o,a,s)=>{const l=r[i],c={attrs:Du(l,[["class",`${q}-katex-inline`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1});return`<span ${s.renderAttrs(c)} data-processed>${d}</span>`}else return`<span ${s.renderAttrs(c)}>${l.content}</span>`},n=(r,i,o,a,s)=>{const l=r[i],c={attrs:Du(l,[["class",`${q}-katex-block`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1,displayMode:!0});return`<p ${s.renderAttrs(c)} data-processed>${d}</p>`}else return`<p ${s.renderAttrs(c)}>${l.content}</p>`};e.inline.ruler.after("escape","math_inline",ef),e.block.ruler.after("blockquote","math_block",tf,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=u,e.renderer.rules.math_block=n},nf=uf,rf=(e,t)=>{t=t||{};const u=3,n=t.marker||"!",r=n.charCodeAt(0),i=n.length;let o="",a="";const s=(c,d,p,g,h)=>{const b=c[d];return b.type==="admonition_open"?c[d].attrPush(["class",`${q}-admonition ${q}-admonition-${b.info}`]):b.type==="admonition_title_open"&&c[d].attrPush(["class",`${q}-admonition-title`]),h.renderToken(c,d,p)},l=c=>{const d=c.trim().split(" ",2);a="",o=d[0],d.length>1&&(a=c.substring(o.length+2))};e.block.ruler.before("code","admonition",(c,d,p,g)=>{let h,b,k,w=!1,A=c.bMarks[d]+c.tShift[d],C=c.eMarks[d];if(r!==c.src.charCodeAt(A))return!1;for(h=A+1;h<=C&&n[(h-A)%i]===c.src[h];h++);const E=Math.floor((h-A)/i);if(E!==u)return!1;h-=(h-A)%i;const I=c.src.slice(A,h),$=c.src.slice(h,C);if(l($),g)return!0;for(b=d;b++,!(b>=p||(A=c.bMarks[b]+c.tShift[b],C=c.eMarks[b],A<C&&c.sCount[b]<c.blkIndent));)if(r===c.src.charCodeAt(A)&&!(c.sCount[b]-c.blkIndent>=4)){for(h=A+1;h<=C&&n[(h-A)%i]===c.src[h];h++);if(!(Math.floor((h-A)/i)<E)&&(h-=(h-A)%i,h=c.skipSpaces(h),!(h<C))){w=!0;break}}const S=c.parentType,v=c.lineMax;return c.parentType="root",c.lineMax=b,k=c.push("admonition_open","div",1),k.markup=I,k.block=!0,k.info=o,k.map=[d,b],a&&(k=c.push("admonition_title_open","p",1),k.markup=I+" "+o,k.map=[d,b],k=c.push("inline","",0),k.content=a,k.map=[d,c.line-1],k.children=[],k=c.push("admonition_title_close","p",-1),k.markup=I+" "+o),c.md.block.tokenize(c,d+1,b),k=c.push("admonition_close","div",-1),k.markup=c.src.slice(A,h),k.block=!0,c.parentType=S,c.lineMax=v,c.line=b+(w?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.admonition_open=s,e.renderer.rules.admonition_title_open=s,e.renderer.rules.admonition_title_close=s,e.renderer.rules.admonition_close=s},of=rf,af=(e,t)=>{e.renderer.rules.heading_open=(u,n)=>{var r;const i=u[n],o=((r=u[n+1].children)==null?void 0:r.reduce((s,l)=>s+(["text","code_inline"].includes(l.type)&&l.content||""),""))||"",a=i.markup.length;return t.headsRef.value.push({text:o,level:a}),i.map&&i.level===0&&i.attrSet("id",t.mdHeadingId(o,a,t.headsRef.value.length)),e.renderer.renderToken(u,n,t)},e.renderer.rules.heading_close=(u,n,r,i,o)=>o.renderToken(u,n,r)},sf=af,lf=(e,t)=>{if(typeof t[e]=="string")return t[e];const u=`<i class="${q}-iconfont ${q}-icon-${e}"></i>`;switch(Je.iconfontType){case"svg":return`<svg class="${q}-icon" aria-hidden="true"><use xlink:href="#${q}-icon-${e}"></use></svg>`;default:return u}},cf=lf,df=(e,t)=>{const u=e.renderer.rules.fence,n=e.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,i=/::(open|close)/,o=d=>d.info?n(d.info).trim():"",a=d=>{const p=o(d),[g=null,h=""]=(r.exec(p)||[]).slice(1);return[g,h]},s=d=>{const p=o(d);return p?p.split(/(\s+)/g)[0]:""},l=d=>{const p=d.info.match(i)||[],g=p[1]==="open"||p[1]!=="close"&&t.codeFoldable&&d.content.trim().split(`
|
||
`).length<t.autoFoldThreshold,h=p[1]||t.codeFoldable?"details":"div",b=p[1]||t.codeFoldable?"summary":"div";return{open:g,tagContainer:h,tagHeader:b}},c=(d,p,g,h,b)=>{var k;if(d[p].hidden)return"";const w=(k=t.usedLanguageTextRef.value)==null?void 0:k.copyCode.text,A=t.customIconRef.value.copy||w,C=!!t.customIconRef.value.copy,E=`<span class="${q}-collapse-tips">${cf("collapse-tips",t.customIconRef.value)}</span>`,[I]=a(d[p]);if(I===null){const{open:ae,tagContainer:xe,tagHeader:Ee}=l(d[p]),ne=[["class",`${q}-code`]];ae&&ne.push(["open",""]);const ce={attrs:Du(d[p],ne)};d[p].info=d[p].info.replace(i,"");const J=u(d,p,g,h,b);return`<${xe} ${b.renderAttrs(ce)}>
|
||
<${Ee} class="${q}-code-head">
|
||
<div class="${q}-code-flag"><span></span><span></span><span></span></div>
|
||
<div class="${q}-code-action">
|
||
<span class="${q}-code-lang">${d[p].info.trim()}</span>
|
||
<span class="${q}-copy-button" data-tips="${w}"${C?" data-is-icon=true":""}">${A}</span>
|
||
${xe==="details"?E:""}
|
||
</div>
|
||
</${Ee}>${J}</${xe}>`}let $,S,v,N,_="",x="",D="";const{open:T,tagContainer:P,tagHeader:U}=l(d[p]),j=[["class",`${q}-code`]];T&&j.push(["open",""]);const ue={attrs:Du(d[p],j)};for(let ae=p;ae<d.length&&($=d[ae],[S,v]=a($),S===I);ae++){$.info=$.info.replace(r,"").replace(i,""),$.hidden=!0;const xe=`${q}-codetab-${t.editorId}-${p}-${ae-p}`;N=ae-p>0?"":"checked",_+=`<li>
|
||
<input type="radio" name="${q}-codetab-label-${t.editorId}-${p}" class="${xe}" ${N}>
|
||
<label onclick="document.querySelectorAll('.${xe}').forEach(e => e.click())">${v||s($)}</label>
|
||
</li>`,x+=`<input type="radio" name="${q}-codetab-pre-${t.editorId}-${p}" class="${xe}" ${N}>
|
||
${u(d,ae,g,h,b)}`,D+=`<input type="radio" name="${q}-codetab-lang-${t.editorId}-${p}" class="${xe}" ${N}>
|
||
<span class=${q}-code-lang>${s($)}</span>`}return`<${P} ${b.renderAttrs(ue)}>
|
||
<${U} class="${q}-code-head">
|
||
<div class="${q}-code-flag">
|
||
<ul class="${q}-codetab-label">${_}</ul>
|
||
</div>
|
||
<div class="${q}-code-action">
|
||
<span class="${q}-codetab-lang">${D}</span>
|
||
<span class="${q}-copy-button" data-tips="${w}"${C?" data-is-icon=true":""}">${A}</span>
|
||
${P==="details"?E:""}
|
||
</div>
|
||
</${U}>${x}</${P}>`};e.renderer.rules.fence=c,e.renderer.rules.code_block=c},ff=df;function hf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hn={exports:{}},le={},pn={exports:{}},St={};function bi(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function pf(e,t,u){}function gf(e,t,u){}var mf=/javascript\s*\:/img;function bf(e,t){return mf.test(t)?"":t}St.whiteList=bi();St.getDefaultWhiteList=bi;St.onAttr=pf;St.onIgnoreAttr=gf;St.safeAttrValue=bf;var xf={indexOf:function(e,t){var u,n;if(Array.prototype.indexOf)return e.indexOf(t);for(u=0,n=e.length;u<n;u++)if(e[u]===t)return u;return-1},forEach:function(e,t,u){var n,r;if(Array.prototype.forEach)return e.forEach(t,u);for(n=0,r=e.length;n<r;n++)t.call(u,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Ut=xf;function yf(e,t){e=Ut.trimRight(e),e[e.length-1]!==";"&&(e+=";");var u=e.length,n=!1,r=0,i=0,o="";function a(){if(!n){var c=Ut.trim(e.slice(r,i)),d=c.indexOf(":");if(d!==-1){var p=Ut.trim(c.slice(0,d)),g=Ut.trim(c.slice(d+1));if(p){var h=t(r,o.length,p,g,c);h&&(o+=h+"; ")}}}r=i+1}for(;i<u;i++){var s=e[i];if(s==="/"&&e[i+1]==="*"){var l=e.indexOf("*/",i+2);if(l===-1)break;i=l+1,r=i+1,n=!1}else s==="("?n=!0:s===")"?n=!1:s===";"?n||a():s===`
|
||
`&&a()}return Ut.trim(o)}var _f=yf,pu=St,vf=_f;function dr(e){return e==null}function kf(e){var t={};for(var u in e)t[u]=e[u];return t}function xi(e){e=kf(e||{}),e.whiteList=e.whiteList||pu.whiteList,e.onAttr=e.onAttr||pu.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||pu.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||pu.safeAttrValue,this.options=e}xi.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,u=t.options,n=u.whiteList,r=u.onAttr,i=u.onIgnoreAttr,o=u.safeAttrValue,a=vf(e,function(s,l,c,d,p){var g=n[c],h=!1;if(g===!0?h=g:typeof g=="function"?h=g(d):g instanceof RegExp&&(h=g.test(d)),h!==!0&&(h=!1),d=o(c,d),!!d){var b={position:l,sourcePosition:s,source:p,isWhite:h};if(h){var k=r(c,d,b);return dr(k)?c+":"+d:k}else{var k=i(c,d,b);if(!dr(k))return k}}});return a};var wf=xi;(function(e,t){var u=St,n=wf;function r(o,a){var s=new n(a);return s.process(o)}t=e.exports=r,t.FilterCSS=n;for(var i in u)t[i]=u[i];typeof window<"u"&&(window.filterCSS=e.exports)})(pn,pn.exports);var Fn=pn.exports,Tn={indexOf:function(e,t){var u,n;if(Array.prototype.indexOf)return e.indexOf(t);for(u=0,n=e.length;u<n;u++)if(e[u]===t)return u;return-1},forEach:function(e,t,u){var n,r;if(Array.prototype.forEach)return e.forEach(t,u);for(n=0,r=e.length;n<r;n++)t.call(u,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,u=t.exec(e);return u?u.index:-1}},Cf=Fn.FilterCSS,Af=Fn.getDefaultWhiteList,Su=Tn;function yi(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var _i=new Cf;function Ef(e,t,u){}function Df(e,t,u){}function Sf(e,t,u){}function Ff(e,t,u){}function vi(e){return e.replace(If,"<").replace(zf,">")}function Tf(e,t,u,n){if(u=Di(u),t==="href"||t==="src"){if(u=Su.trim(u),u==="#")return"#";if(!(u.substr(0,7)==="http://"||u.substr(0,8)==="https://"||u.substr(0,7)==="mailto:"||u.substr(0,4)==="tel:"||u.substr(0,11)==="data:image/"||u.substr(0,6)==="ftp://"||u.substr(0,2)==="./"||u.substr(0,3)==="../"||u[0]==="#"||u[0]==="/"))return""}else if(t==="background"){if(gu.lastIndex=0,gu.test(u))return""}else if(t==="style"){if(fr.lastIndex=0,fr.test(u)||(hr.lastIndex=0,hr.test(u)&&(gu.lastIndex=0,gu.test(u))))return"";n!==!1&&(n=n||_i,u=n.process(u))}return u=Si(u),u}var If=/</g,zf=/>/g,$f=/"/g,Lf=/"/g,Mf=/&#([a-zA-Z0-9]*);?/gim,Rf=/:?/gim,Bf=/&newline;?/gim,gu=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,fr=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,hr=/u\s*r\s*l\s*\(.*/gi;function ki(e){return e.replace($f,""")}function wi(e){return e.replace(Lf,'"')}function Ci(e){return e.replace(Mf,function(u,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function Ai(e){return e.replace(Rf,":").replace(Bf," ")}function Ei(e){for(var t="",u=0,n=e.length;u<n;u++)t+=e.charCodeAt(u)<32?" ":e.charAt(u);return Su.trim(t)}function Di(e){return e=wi(e),e=Ci(e),e=Ai(e),e=Ei(e),e}function Si(e){return e=ki(e),e=vi(e),e}function Pf(){return""}function Of(e,t){typeof t!="function"&&(t=function(){});var u=!Array.isArray(e);function n(o){return u?!0:Su.indexOf(e,o)!==-1}var r=[],i=!1;return{onIgnoreTag:function(o,a,s){if(n(o))if(s.isClosing){var l="[/removed]",c=s.position+l.length;return r.push([i!==!1?i:s.position,c]),i=!1,l}else return i||(i=s.position),"[removed]";else return t(o,a,s)},remove:function(o){var a="",s=0;return Su.forEach(r,function(l){a+=o.slice(s,l[0]),s=l[1]}),a+=o.slice(s),a}}}function Nf(e){for(var t="",u=0;u<e.length;){var n=e.indexOf("<!--",u);if(n===-1){t+=e.slice(u);break}t+=e.slice(u,n);var r=e.indexOf("-->",n);if(r===-1)break;u=r+3}return t}function jf(e){var t=e.split("");return t=t.filter(function(u){var n=u.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}le.whiteList=yi();le.getDefaultWhiteList=yi;le.onTag=Ef;le.onIgnoreTag=Df;le.onTagAttr=Sf;le.onIgnoreTagAttr=Ff;le.safeAttrValue=Tf;le.escapeHtml=vi;le.escapeQuote=ki;le.unescapeQuote=wi;le.escapeHtmlEntities=Ci;le.escapeDangerHtml5Entities=Ai;le.clearNonPrintableCharacter=Ei;le.friendlyAttrValue=Di;le.escapeAttrValue=Si;le.onIgnoreTagStripAll=Pf;le.StripTagBody=Of;le.stripCommentTag=Nf;le.stripBlankChar=jf;le.attributeWrapSign='"';le.cssFilter=_i;le.getDefaultCSSWhiteList=Af;var Pu={},gt=Tn;function Hf(e){var t=gt.spaceIndex(e),u;return t===-1?u=e.slice(1,-1):u=e.slice(1,t+1),u=gt.trim(u).toLowerCase(),u.slice(0,1)==="/"&&(u=u.slice(1)),u.slice(-1)==="/"&&(u=u.slice(0,-1)),u}function qf(e){return e.slice(0,2)==="</"}function Uf(e,t,u){var n="",r=0,i=!1,o=!1,a=0,s=e.length,l="",c="";e:for(a=0;a<s;a++){var d=e.charAt(a);if(i===!1){if(d==="<"){i=a;continue}}else if(o===!1){if(d==="<"){n+=u(e.slice(r,a)),i=a,r=a;continue}if(d===">"||a===s-1){n+=u(e.slice(r,i)),c=e.slice(i,a+1),l=Hf(c),n+=t(i,n.length,l,c,qf(c)),r=a+1,i=!1;continue}if(d==='"'||d==="'")for(var p=1,g=e.charAt(a-p);g.trim()===""||g==="=";){if(g==="="){o=d;continue e}g=e.charAt(a-++p)}}else if(d===o){o=!1;continue}}return r<s&&(n+=u(e.substr(r))),n}var Wf=/[^a-zA-Z0-9\\_:.-]/gim;function Gf(e,t){var u=0,n=0,r=[],i=!1,o=e.length;function a(p,g){if(p=gt.trim(p),p=p.replace(Wf,"").toLowerCase(),!(p.length<1)){var h=t(p,g||"");h&&r.push(h)}}for(var s=0;s<o;s++){var l=e.charAt(s),c,d;if(i===!1&&l==="="){i=e.slice(u,s),u=s+1,n=e.charAt(u)==='"'||e.charAt(u)==="'"?u:Xf(e,s+1);continue}if(i!==!1&&s===n){if(d=e.indexOf(l,s+1),d===-1)break;c=gt.trim(e.slice(n+1,d)),a(i,c),i=!1,s=d,u=s+1;continue}if(/\s|\n|\t/.test(l))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(d=Vf(e,s),d===-1){c=gt.trim(e.slice(u,s)),a(c),i=!1,u=s+1;continue}else{s=d-1;continue}else if(d=Zf(e,s-1),d===-1){c=gt.trim(e.slice(u,s)),c=pr(c),a(i,c),i=!1,u=s+1;continue}else continue}return u<e.length&&(i===!1?a(e.slice(u)):a(i,pr(gt.trim(e.slice(u))))),gt.trim(r.join(" "))}function Vf(e,t){for(;t<e.length;t++){var u=e[t];if(u!==" ")return u==="="?t:-1}}function Xf(e,t){for(;t<e.length;t++){var u=e[t];if(u!==" ")return u==="'"||u==='"'?t:-1}}function Zf(e,t){for(;t>0;t--){var u=e[t];if(u!==" ")return u==="="?t:-1}}function Yf(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function pr(e){return Yf(e)?e.substr(1,e.length-2):e}Pu.parseTag=Uf;Pu.parseAttr=Gf;var Qf=Fn.FilterCSS,$e=le,Fi=Pu,Jf=Fi.parseTag,Kf=Fi.parseAttr,vu=Tn;function mu(e){return e==null}function e1(e){var t=vu.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=vu.trim(e.slice(t+1,-1));var u=e[e.length-1]==="/";return u&&(e=vu.trim(e.slice(0,-1))),{html:e,closing:u}}function t1(e){var t={};for(var u in e)t[u]=e[u];return t}function u1(e){var t={};for(var u in e)Array.isArray(e[u])?t[u.toLowerCase()]=e[u].map(function(n){return n.toLowerCase()}):t[u.toLowerCase()]=e[u];return t}function Ti(e){e=t1(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=$e.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=u1(e.whiteList||e.allowList):e.whiteList=$e.whiteList,this.attributeWrapSign=e.singleQuotedAttributeValue===!0?"'":$e.attributeWrapSign,e.onTag=e.onTag||$e.onTag,e.onTagAttr=e.onTagAttr||$e.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||$e.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||$e.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||$e.safeAttrValue,e.escapeHtml=e.escapeHtml||$e.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new Qf(e.css))}Ti.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,u=t.options,n=u.whiteList,r=u.onTag,i=u.onIgnoreTag,o=u.onTagAttr,a=u.onIgnoreTagAttr,s=u.safeAttrValue,l=u.escapeHtml,c=t.attributeWrapSign,d=t.cssFilter;u.stripBlankChar&&(e=$e.stripBlankChar(e)),u.allowCommentTag||(e=$e.stripCommentTag(e));var p=!1;u.stripIgnoreTagBody&&(p=$e.StripTagBody(u.stripIgnoreTagBody,i),i=p.onIgnoreTag);var g=Jf(e,function(h,b,k,w,A){var C={sourcePosition:h,position:b,isClosing:A,isWhite:Object.prototype.hasOwnProperty.call(n,k)},E=r(k,w,C);if(!mu(E))return E;if(C.isWhite){if(C.isClosing)return"</"+k+">";var I=e1(w),$=n[k],S=Kf(I.html,function(v,N){var _=vu.indexOf($,v)!==-1,x=o(k,v,N,_);return mu(x)?_?(N=s(k,v,N,d),N?v+"="+c+N+c:v):(x=a(k,v,N,_),mu(x)?void 0:x):x});return w="<"+k,S&&(w+=" "+S),I.closing&&(w+=" /"),w+=">",w}else return E=i(k,w,C),mu(E)?l(w):E},l);return p&&(g=p.remove(g)),g};var n1=Ti;(function(e,t){var u=le,n=Pu,r=n1;function i(a,s){var l=new r(s);return l.process(a)}t=e.exports=i,t.filterXSS=i,t.FilterXSS=r,function(){for(var a in u)t[a]=u[a];for(var s in n)t[s]=n[s]}(),typeof window<"u"&&(window.filterXSS=e.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)})(hn,hn.exports);var Vt=hn.exports;const r1=hf(Vt),i1=Gd({__proto__:null,default:r1},[Vt]),gr={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},o1=(e,t)=>{const{extendedWhiteList:u={},xss:n={}}=t;let r;if(typeof n=="function")r=new Vt.FilterXSS(n(i1));else{const i=Vt.getDefaultWhiteList();[...Object.keys(u),...Object.keys(gr)].forEach(a=>{const s=i[a]||[],l=gr[a]||[],c=u[a]||[];i[a]=[...new Set([...s,...l,...c])]}),r=new Vt.FilterXSS({whiteList:i,...n})}e.core.ruler.after("linkify","xss",i=>{for(let o=0;o<i.tokens.length;o++){const a=i.tokens[o];switch(a.type){case"html_block":{a.content=r.process(a.content);break}case"inline":{(a.children||[]).forEach(l=>{l.type==="html_inline"&&(l.content=r.process(l.content))});break}}}})},a1=o1,s1=e=>{e.core.ruler.push("init-line-number",t=>(t.tokens.forEach(u=>{u.map&&(u.attrs||(u.attrs=[]),u.attrs.push(["data-line",u.map[0].toString()]))}),!0))},l1=(e,t)=>{const{editorConfig:u,markdownItConfig:n,markdownItPlugins:r}=Je,i=ke("editorId"),o=ke("language"),a=ke("usedLanguageText"),s=ke("showCodeRowNumber"),l=ke("theme"),c=ke("customIcon"),d=H([]),p=Zd(e),g=Qd(e),{reRenderRef:h,replaceMermaid:b}=Yd(e),k=Le({html:!0,breaks:!0,linkify:!0});n(k,{editorId:i});const w=[{type:"image",plugin:Id,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:of,options:{}},{type:"taskList",plugin:Ud,options:{}},{type:"heading",plugin:sf,options:{mdHeadingId:e.mdHeadingId,headsRef:d}},{type:"code",plugin:ff,options:{editorId:i,usedLanguageTextRef:a,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:a1,options:{}}];e.noKatex||w.push({type:"katex",plugin:nf,options:{katexRef:g}}),e.noMermaid||w.push({type:"mermaid",plugin:Kd,options:{themeRef:l}}),r(w,{editorId:i}).forEach(v=>{k.use(v.plugin,v.options)});const A=k.options.highlight;k.set({highlight:(v,N,_)=>{if(A){const T=A(v,N,_);if(T)return T}let x;!e.noHighlight&&p.value?p.value.getLanguage(N)?x=p.value.highlight(v,{language:N,ignoreIllegals:!0}).value:x=p.value.highlightAuto(v).value:x=k.utils.escapeHtml(v);const D=s?Fl(x.replace(/^\n+|\n+$/g,"")):`<span class="${q}-code-block">${x.replace(/^\n+|\n+$/g,"")}</span>`;return`<pre><code class="language-${N}" language=${N}>${D}</code></pre>`}}),s1(k);const C=H(`_article-key_${Ku()}`),E=H(e.sanitize(k.render(e.modelValue))),I=()=>{ht.emit(i,Al,E.value),e.onHtmlChanged(E.value),e.onGetCatalog(d.value),ht.emit(i,Uu,d.value),b()};Ce(I);const $=()=>{d.value=[],E.value=e.sanitize(k.render(e.modelValue)),I()},S=z(()=>(e.noKatex||g.value)&&(e.noHighlight||p.value));return we([kr(e,"modelValue"),S,h,o],Mr($,t?0:u.renderDelay)),we(()=>e.setting.preview,()=>{e.setting.preview&&Ot(()=>{ht.emit(i,Uu,d.value)})}),Ce(()=>{ht.on(i,{name:El,callback(){ht.emit(i,Uu,d.value)}}),ht.on(i,{name:Br,callback:()=>{C.value=`_article-key_${Ku()}`,$()}})}),{html:E,key:C}},c1=l1,Ii={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:e=>e},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:e=>e},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}};({...Ii});const d1=he({name:"ContentPreview",props:Ii,setup(e){const t=ke("editorId"),u=ke("previewTheme"),n=ke("showCodeRowNumber"),{html:r,key:i}=c1(e,e.previewOnly);return Xd(e,r,i),Vd(e,r),()=>O(Ie,null,[e.setting.preview&&O("div",{id:`${t}-preview-wrapper`,class:`${q}-preview-wrapper`,key:"content-preview-wrapper"},[O("div",{key:i.value,id:`${t}-preview`,class:[`${q}-preview`,`${u==null?void 0:u.value}-theme`,n&&`${q}-scrn`],innerHTML:r.value},null)]),!e.previewOnly&&e.setting.htmlPreview&&O("div",{id:`${t}-html-wrapper`,class:`${q}-preview-wrapper`,key:"html-preview-wrapper"},[O("div",{class:`${q}-html`},[r.value])])])}}),f1=e=>{const{editorId:t}=e,u=Je.editorExtensions.highlight,n=Je.editorExtensionsAttrs.highlight;st("editorId",t),st("theme",z(()=>e.theme)),st("language",z(()=>e.language)),st("highlight",z(()=>{const{js:i}=u,o={...en,...u.css},{js:a,css:s={}}=n||{},l=e.codeStyleReverse&&e.codeStyleReverseList.includes(e.previewTheme)?"dark":e.theme,c=o[e.codeTheme]?o[e.codeTheme][l]:en.atom[l],d=o[e.codeTheme]&&s[e.codeTheme]?s[e.codeTheme][l]:s.atom?s.atom[l]:{};return{js:{src:i,...a},css:{href:c,...d}}})),st("showCodeRowNumber",e.showCodeRowNumber);const r=z(()=>{const i={...On,...Je.editorConfig.languageUserDefined};return Rr(Wt(On["en-US"]),i[e.language]||{})});st("usedLanguageText",r),st("previewTheme",z(()=>e.previewTheme)),st("customIcon",z(()=>e.customIcon))},h1=e=>{Ce(()=>{const{editorExtensions:t,editorExtensionsAttrs:u,iconfontType:n}=Je;e.noIconfont||(n==="svg"?at("script",{...u.iconfont,src:t.iconfont,id:`${q}-icon`}):at("link",{...u.iconfontClass,rel:"stylesheet",href:t.iconfontClass,id:`${q}-icon-class`}))})},p1=e=>e,zi={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>Tl("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:p1},sanitize:{type:Function,default:e=>e},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:e=>e},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:e=>Promise.resolve(e)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}};({...zi});const $i=["onHtmlChanged","onGetCatalog"];[...$i];const g1=(e,t)=>{const{editorId:u}=e,n={rerender(){ht.emit(u,Br)}};t.expose(n)},ku=he({name:"MdPreview",props:zi,emits:$i,setup(e,t){const{editorId:u,noKatex:n,noMermaid:r,noHighlight:i}=e;return f1(e),h1(e),g1(e,t),yn(()=>{ht.clear(u)}),()=>O("div",{id:u,class:[q,e.class,e.theme==="dark"&&`${q}-dark`,`${q}-previewOnly`],style:e.style},[O(d1,{modelValue:e.modelValue,onHtmlChanged:o=>{e.onHtmlChanged?e.onHtmlChanged(o):t.emit("onHtmlChanged",o)},onGetCatalog:o=>{e.onGetCatalog?e.onGetCatalog(o):t.emit("onGetCatalog",o)},mdHeadingId:e.mdHeadingId,noMermaid:r,sanitize:e.sanitize,noKatex:n,formatCopiedText:e.formatCopiedText,noHighlight:i,noImgZoomIn:e.noImgZoomIn,previewOnly:!0,sanitizeMermaid:e.sanitizeMermaid,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold},null)])}});ku.install=e=>(e.component(ku.name,ku),e);const m1={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},b1={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},x1={class:"flex justify-between items-center mb-3"},y1={key:0,class:"w-1/3 bg-gray-300 dark:bg-gray-700 h-6 rounded"},_1={key:1,class:"text-xl"},v1={class:"flex-1 overflow-y-auto"},k1={key:0,class:"space-y-2"},w1={class:"flex justify-end mt-3"},C1="preview-only",A1=he({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=H({noticeInfo:"",noticeTitle:""}),n=mn(),r=_t(),i=H(!0),o=z(()=>n.theme==="dark"),a=z(()=>u.value.noticeInfo?u.value.noticeInfo:"");function s(){r.updateNoticeDialog(!1)}async function l(){const p=await ll(),{success:g,data:h}=p;g&&(u.value=h)}async function c(){i.value=!0,await l(),i.value=!1}function d(){r.updateNoticeDialog(!1),Xt.set("showNotice",Date.now()+24*60*60*1e3)}return we(()=>t.visible,p=>{p&&c()}),(p,g)=>t.visible?(F(),R("div",m1,[m("div",b1,[O(y(Iu),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:s}),m("div",x1,[i.value?(F(),R("div",y1)):(F(),R("span",_1,M(u.value.noticeTitle),1))]),m("div",v1,[i.value?(F(),R("div",k1,[(F(),R(Ie,null,Ue(10,h=>m("div",{key:h,class:"bg-gray-300 dark:bg-gray-900 h-4 rounded"})),64))])):(F(),Q(y(ku),{key:1,editorId:C1,modelValue:a.value,theme:o.value?"dark":"light",class:"dark:bg-gray-900"},null,8,["modelValue","theme"]))]),m("div",w1,[m("button",{onClick:d,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},[m("span",null,M(y(L)("notice.doNotRemind24h")),1)])])])])):G("",!0)}}),mr=""+new URL("alipay-eab94eb8.png",import.meta.url).href,br=""+new URL("wxpay-2d8f84af.png",import.meta.url).href,E1={class:"p-4 bg-white rounded dark:bg-slate-800"},D1={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},S1={class:"ml-[8px]"},F1={class:"p-4"},T1={class:"whitespace-nowrap font-bold"},I1={class:"text-xl text-[red] font-bold"},z1={class:"mt-2 flex"},$1={class:"whitespace-nowrap font-bold"},L1={class:"ml-2"},M1={class:"mt-2 flex"},R1={class:"whitespace-nowrap font-bold"},B1={class:"ml-2"},P1={class:"flex items-center justify-center my-3 relative"},O1=["src"],N1=["src"],j1={class:"mb-10 mt-5 text-base"},H1=["src"],q1=["src"],U1={key:0,class:"flex items-center justify-center text-lg"},W1={class:"w-[60px] inline-block text-[red] text-left"},G1={class:"flex items-center"},V1=["src"],X1=1e3,Z1=he({__name:"PayDialog",props:{visible:{type:Boolean}},setup(e){const{isMobile:t}=Ke(),u=Me(),n=no(),r=et(),i=H(!0),o=H("wxpay"),a=z(()=>{var D;const x=window.navigator.userAgent.toLowerCase();return x.match(/MicroMessenger/i)&&((D=x==null?void 0:x.match(/MicroMessenger/i))==null?void 0:D[0])==="micromessenger"}),s=z(()=>{const{payHupiStatus:x,payEpayStatus:D,payMpayStatus:T,payWechatStatus:P,payLtzfStatus:U}=u.globalConfig;return Number(P)===1?"wechat":Number(D)===1?"epay":Number(T)===1?"mpay":Number(x)===1?"hupi":Number(U)===1?"ltzf":null}),l=z(()=>{const{payEpayChannel:x,payMpayChannel:D}=u.globalConfig;return s.value==="mpay"?D?JSON.parse(D):[]:s.value==="epay"?x?JSON.parse(x):[]:s.value==="wechat"?["wxpay"]:s.value==="hupi"?["wxpay"]:s.value==="ltzf"?["wxpay"]:[]}),c=z(()=>o.value==="wxpay"?L("pay.wechat"):L("pay.alipay")),d=H(),p=z(()=>{const{payEpayApiPayUrl:x}=u.globalConfig;return s.value==="epay"&&x.includes("submit")||s.value==="mpay"});we(o,()=>{var x;S(),(x=d.value)==null||x.reset()});const g=H("");let h;const b=z(()=>[{label:L("pay.wechatPay"),value:"wxpay",icon:br,payChannel:"wxpay"},{label:L("pay.alipayPay"),value:"alipay",icon:mr,payChannel:"alipay"}].filter(x=>l.value.includes(x.payChannel))),k=async()=>{if(!g.value)return;const x=await Ro({orderId:g.value}),{success:D,data:T}=x;if(D){const{status:P}=T;P===1&&(clearInterval(h),r.success(L("pay.paymentSuccess")),i.value=!1,u.getUserInfo(),setTimeout(()=>{n.updatePayDialog(!1)},2e3))}},w=z(()=>n==null?void 0:n.orderInfo),A=H(""),C=H(!0),E=H(!0),I=H("");function $(){n.updateOrderInfo({}),clearInterval(h)}async function S(){!p.value&&(C.value=!0),p.value&&(E.value=!0);let x=null;x=o.value,s.value==="wechat"&&(x=a.value?"jsapi":"native");try{const D=await zr({goodsId:w.value.pkgInfo.id,payType:x}),{data:T,success:P,message:U}=D;if(!P)return r.error(U);const{url_qrcode:j,orderId:ue,redirectUrl:ae}=T;I.value=ae,g.value=ue,A.value=j,C.value=!1,E.value=!1}catch{n.updatePayDialog(!1),C.value=!1,E.value=!1}}function v(){window.open(I.value)}async function N(){await S(),h=setInterval(()=>{k()},X1)}function _(){r.error(L("pay.paymentTimeout")),clearInterval(h),n.updatePayDialog(!1)}return(x,D)=>(F(),Q(y(Ar),{show:x.visible,style:{width:"100%","max-width":"750px"},"on-after-enter":N,"on-after-leave":$},{default:Z(()=>{var T,P,U;return[m("div",E1,[m("div",{class:"flex justify-between",onClick:D[0]||(D[0]=j=>y(n).updatePayDialog(!1))},[m("div",D1,[O(y(Zt),{size:"25",color:"#0e7a0d"},{default:Z(()=>[O(y(Lr))]),_:1}),m("span",S1,M(y(L)("pay.productPayment")),1)]),O(y(Zt),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:Z(()=>[O(y(Ir))]),_:1})]),m("div",F1,[m("div",null,[m("span",T1,M(y(L)("pay.amountDue")),1),m("i",I1,M(`¥${(T=w.value.pkgInfo)==null?void 0:T.price}`),1)]),m("div",z1,[m("span",$1,M(y(L)("pay.packageName")),1),m("span",L1,M((P=w.value.pkgInfo)==null?void 0:P.name),1)]),m("div",M1,[m("span",R1,M(y(L)("pay.packageDescription")),1),m("span",B1,M((U=w.value.pkgInfo)==null?void 0:U.des),1)]),m("div",{class:Y(["flex justify-center",[y(t)?"flex-col":"flex-row",p.value?"flex-row-reverse":""]])},[m("div",null,[m("div",P1,[C.value&&!p.value?(F(),Q(y(zu),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):G("",!0),C.value?(F(),Q(y(_n),{key:1,width:240,height:240,sharp:!1,size:"medium"})):G("",!0),s.value==="epay"&&!C.value&&!E.value&&!p.value?(F(),Q(Rn,{key:2,value:A.value,size:240},null,8,["value"])):G("",!0),o.value==="wxpay"&&!C.value&&!p.value?(F(),R("img",{key:3,src:y(br),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,O1)):G("",!0),o.value==="alipay"&&!C.value&&!p.value?(F(),R("img",{key:4,src:y(mr),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,N1)):G("",!0),s.value==="wechat"&&!C.value?(F(),Q(Rn,{key:5,value:A.value,size:240},null,8,["value"])):G("",!0),p.value?(F(),R("div",{key:6,class:Y(["flex flex-col",[p.value&&y(t)?"ml-0":"ml-20"]])},[m("span",j1,M(y(L)("pay.siteAdminEnabledRedirect")),1),p.value?(F(),Q(y(Fr),{key:0,type:"primary",ghost:"",disabled:E.value,loading:E.value,onClick:v},{default:Z(()=>[K(M(y(L)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):G("",!0)],2)):G("",!0),s.value==="hupi"&&!E.value?(F(),R("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:A.value,frameborder:"0"},null,8,H1)):G("",!0),s.value==="ltzf"&&!E.value?(F(),R("img",{key:8,src:A.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,q1)):G("",!0)]),p.value?G("",!0):(F(),R("span",U1,M(y(L)("pay.open"))+" "+M(c.value)+" "+M(y(L)("pay.scanToPay")),1))]),m("div",{class:Y(["flex flex-col",[y(t)?"w-full ":" ml-10 w-[200] "]])},[m("div",{style:{"white-space":"nowrap"},class:Y(["mt-6 w-full text-center font-bold text-sm",[y(t)?"mb-2":"mb-10"]])},[K(M(y(L)("pay.completePaymentWithin"))+" ",1),m("span",W1,[O(y(Er),{ref_key:"countdownRef",ref:d,active:i.value,duration:300*1e3,"on-finish":_},null,8,["active"])]),K(" "+M(y(L)("pay.timeToCompletePayment")),1)],2),O(y(zo),{value:o.value,"onUpdate:value":D[1]||(D[1]=j=>o.value=j),name:"radiogroup",class:"flex"},{default:Z(()=>[O(y(To),{vertical:!y(t),justify:"center",size:y(t)?10:35,class:"w-full"},{default:Z(()=>[(F(!0),R(Ie,null,Ue(b.value,j=>(F(),Q(y(Io),{key:j.value,value:j.value},{default:Z(()=>[m("div",G1,[m("img",{class:"h-4 object-contain mr-2",src:j.icon,alt:""},null,8,V1),K(" "+M(j.label),1)])]),_:2},1032,["value"]))),128))]),_:1},8,["vertical","size"])]),_:1},8,["value"])],2)],2)])])]}),_:1},8,["show"]))}});function Y1(){return ro({url:"/signin/sign"})}function Q1(){return _r({url:"/signin/signinLog"})}const In=e=>(fo("data-v-8f584477"),e=e(),ho(),e),J1={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},K1={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-xl max-h-[80vh] overflow-y-auto"},eh={class:"flex justify-between items-center mb-4"},th={class:"text-base"},uh={class:"text-[red]"},nh=In(()=>m("span",{class:"sr-only"},"Close",-1)),rh=In(()=>m("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)),ih=[nh,rh],oh={class:"bg-gray-50 mb-5 p-2 rounded-md border border-gray-200 dark:border-gray-700 dark:bg-gray-700"},ah={key:0},sh={class:"mx-2 text-primary-500"},lh={key:1},ch={class:"mx-2 text-primary-500"},dh={key:2},fh={class:"mx-2 text-primary-500"},hh=In(()=>m("div",{class:"mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500 dark:text-gray-400"},[m("div",null,"日"),m("div",null,"一"),m("div",null,"二"),m("div",null,"三"),m("div",null,"四"),m("div",null,"五"),m("div",null,"六")],-1)),ph={class:"mt-2 grid grid-cols-7 text-sm"},gh=["datetime"],mh={class:"flex mt-3 w-full"},bh=["disabled"],xh=he({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Me(),n=_t(),r=H(!1);Ke();const i=H([]),o=et(),a=H(!1),s=new Date().toISOString().split("T")[0],l=z(()=>i.value.map(_=>{var x;return{..._,day:(x=_.signInDate.split("-").pop())==null?void 0:x.replace(/^0/,""),isToday:_.signInDate===s}})),c=z(()=>u.globalConfig.model3Name||L("pay.baseModelQuota")),d=z(()=>u.globalConfig.model4Name)||L("pay.advancedModelQuota"),p=z(()=>u.globalConfig.drawMjName)||L("pay.MJDrawingQuota"),g=z(()=>Number(u.globalConfig.isHideModel3Point)===1),h=z(()=>Number(u.globalConfig.isHideModel4Point)===1),b=z(()=>Number(u.globalConfig.isHideDrawMjPoint)===1);function k(){n.updateSignInDialog(!1)}const w=z(()=>u.userInfo.consecutiveDays),A=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInModel3Count)||0}),C=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInModel4Count)||0}),E=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInMjDrawToken)||0}),I=z(()=>i.value.some(_=>_.signInDate===s&&_.isSigned));async function $(){try{r.value=!0;const _=await Q1();console.log("fetchSignLogAPI response:",_),_.success&&(i.value=_.data||[],console.log("signInData:",i.value)),r.value=!1}catch(_){r.value=!1,console.error("Error fetching sign-in log:",_)}}async function S(){try{a.value=!0;const _=await Y1();console.log("fetchSignInAPI response:",_),_.success&&(o.success("签到成功!"),await $(),u.getUserInfo()),a.value=!1}catch(_){a.value=!1,console.error("Error during sign-in:",_)}}async function v(){r.value=!0,await $(),r.value=!1}we(()=>t.visible,_=>{_&&v()});function N(_,x){return new Date(_,x,1).getDay()}return(_,x)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[t.visible?(F(),R("div",J1,[m("div",K1,[m("div",eh,[m("span",th,[K(" 签到奖励 "),m("span",null,[K("(已连续签到"),m("b",uh,M(w.value),1),K("天)")])]),m("button",{onClick:k,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},ih)]),m("div",oh,[K(" 每日签到赠送: "),A.value>0&&!g.value?(F(),R("span",ah,[m("b",sh,M(A.value),1),K(M(c.value),1)])):G("",!0),C.value>0&&!h.value?(F(),R("span",lh,[m("b",ch,M(C.value),1),K(M(y(d)),1)])):G("",!0),E.value>0&&!b.value?(F(),R("span",dh,[m("b",fh,M(E.value),1),K(M(y(p)),1)])):G("",!0)]),O(y(zu),{show:r.value},{default:Z(()=>[hh,m("div",ph,[(F(!0),R(Ie,null,Ue(N(new Date().getFullYear(),new Date().getMonth()),D=>(F(),R("div",{key:"empty-"+D,class:"py-2"}))),128)),(F(!0),R(Ie,null,Ue(l.value,D=>(F(),R("div",{key:D.signInDate,class:"py-2"},[m("button",{type:"button",class:Y([D.isToday?"bg-primary-600 text-white":D.isSigned?"text-primary-600":"text-gray-900 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700 mx-auto flex h-8 w-8 items-center justify-center rounded-full"])},[m("time",{datetime:D.signInDate},M(D.day),9,gh)],2)]))),128))])]),_:1},8,["show"]),m("div",mh,[m("button",{class:Y(["w-full py-2 px-4 rounded text-white",I.value?"bg-gray-400 cursor-not-allowed":"bg-primary-600"]),disabled:I.value,onClick:S}," 签到 ",10,bh)])])])):G("",!0)]),_:1}))}});const yh=$u(xh,[["__scopeId","data-v-8f584477"]]),_h={class:"bg-white dark:bg-[#25272c]"},vh=["onClick"],kh={class:"inline-block text-xl"},wh={class:"text-xs"},Ch=he({__name:"index",setup(e){const t=H([]),u=et();async function n(){const g=await gn({menuPlatform:0});g.success&&(t.value=g.data)}const r=_t(),i=bn(),o=xn(),a=z(()=>o.path),s=Me(),l=z(()=>r.iframeUrl),c=z(()=>s.isLogin);function d(g,h){g.stopPropagation();const{menuPath:b,isJump:k,menuIframeUrl:w,isNeedAuth:A}=h;if(A&&!c.value){u.warning("请先登录后访问!"),s.setLoginDialog(!0);return}if(r.updateIframeUrl(""),b)return i.replace({path:b});k?window.open(w):(r.updateIframeUrl(w),i.replace({path:"/extend"}))}function p(g){const{menuIframeUrl:h,menuPath:b}=g;if(h)return h===l.value;if(b)return b===a.value}return po(()=>{n()}),(g,h)=>(F(),R("footer",_h,[m("div",{class:"grid border-t py-1 dark:border-t-neutral-800 grid-cols-2",style:Ge({gridTemplateColumns:`repeat(${t.value.length}, minmax(0, 1fr))`})},[(F(!0),R(Ie,null,Ue(t.value,b=>(F(),R("a",{key:b.id,class:Y([[p(b)?"text-[#3076fd] dark:text-[#3076fd]":""],"cursor-pointer text-center leading-4"]),onClick:k=>d(k,b)},[m("span",kh,[O(y($r),{icon:b.menuIcon,class:"mb-1 inline-block text-lg"},null,8,["icon"])]),m("p",wh,M(b.menuTipText),1)],10,vh))),128))],4)]))}}),Ah=""+new URL("../favicon.ico",import.meta.url).href,Eh=["src"],Dh=he({__name:"Logo",setup(e){const t=Me(),u=z(()=>t.globalConfig.clientLogoPath),n=z(()=>t.globalConfig.clientHomePath||"/"),{isMobile:r}=Ke(),i=z(()=>r.value?["py-2","w-8","ml-3"]:["py-4","px-2","w-full"]);return(o,a)=>(F(),Q(y(io),{to:n.value},{default:Z(()=>[u.value?G("",!0):(F(),R("img",{key:0,src:Ah,class:Y([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,2)),u.value?(F(),R("img",{key:1,src:u.value,class:Y([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,10,Eh)):G("",!0)]),_:1},8,["to"]))}}),Sh={class:"px-2 w-full"},Fh={class:"flex h-full flex-col items-center space-y-3"},Th=["onClick"],Ih={class:"flex flex-col justify-between items-center"},zh={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},$h=["src"],Lh={class:"py-1"},Mh=he({__name:"index",setup(e){const t=go(()=>vr(()=>import("./index-2e737858.js"),["./index-2e737858.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./index-a70ad6b3.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-429097f0.css","./useBasicLayout-8e07f8d7.js"],import.meta.url)),{t:u,locale:n}=oo(),r=mn(),i=Me(),o=ao(),a=_t();et();const s=H(null);r.setEnv(),z(()=>i.userBalance);const l=Sr(),c=z(()=>i.userInfo.avatar),d=xn(),p=bn(),g=H(!1),h=z(()=>i.isLogin),b=z(()=>r.theme==="dark");z(()=>r.env);const k=Nt(ba);Nt(wa),z(()=>n.value==="zh-CN"?"mynaui:gift":"another-icon-for-english");async function w(){const ne=await gn({menuPlatform:1});ne.success&&(A.value=ne.data,Ot(()=>{j()}))}const A=H([]),C=H(!1);Ce(()=>{w()});const E=z(()=>{var ne;return Number((ne=i.globalConfig)==null?void 0:ne.signInStatus)===1});function I(){h.value?i.logOut():i.setLoginDialog(!0)}function $(){const ne=b.value?"light":"dark";r.setTheme(ne)}const{isMobile:S}=Ke(),v=z(()=>d.path);async function N(){l.warning({title:u("chat.clearConversation"),content:u("chat.clearAllNonFavoriteConversations"),positiveText:u("common.confirm"),negativeText:u("common.cancel"),onPositiveClick:async()=>{await o.delAllGroup()}})}const _=z(()=>S.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{}),x=z(()=>S.value?["flex-rol","w-full","border-0"]:["flex-col","w-sider","h-full","border-r"]),D=z(()=>S.value?["flex","flex-rol","items-center","pt-0","w-full"]:["flex","flex-col","pt-1","items-center"]),T=z(()=>a.iframeUrl);function P(ne){const{menuPath:ce,isJump:J,menuIframeUrl:nt,isNeedAuth:vt}=ne;if(vt&&!h.value){i.setLoginDialog(!0);return}if(a.updateIframeUrl(""),ce)return p.replace({path:ce});J?window.open(nt):(a.updateIframeUrl(nt),p.replace({path:"/extend"}))}function U(){if(!h.value){i.setLoginDialog(!0);return}a.updateSignInDialog(!0)}function j(){if(!s.value)return;const{clientHeight:ne=0,scrollHeight:ce=0}=s.value;C.value=ce>ne}async function ue(){await ae(),p.replace({path:"user-center"})}async function ae(){return new Promise(ne=>{setTimeout(()=>{i.isLogin||p.replace({path:"login"}),ne()},100)})}function xe(ne){const{menuIframeUrl:ce,menuPath:J}=ne;if(ce)return ce===T.value;if(J)return J===v.value}function Ee(){i.logOut(),p.replace("/")}return we(S,ne=>{r.setSiderCollapsed(ne)},{immediate:!0,flush:"post"}),(ne,ce)=>(F(),R(Ie,null,[m("div",{class:Y(["flex min-w-sm bg-opacity pb-2 dark:bg-gray-900 border-gray-100 dark:border-gray-800 select-none",x.value]),style:Ge(_.value)},[m("div",Sh,[O(Dh)]),m("main",{ref_key:"track",ref:s,class:Y(["flex-1 flex-grow-1 mb-5 overflow-auto",D.value])},[O(y($o),{size:1},{default:Z(()=>[m("div",Fh,[(F(!0),R(Ie,null,Ue(A.value,J=>(F(),R("div",{key:J.menuName,class:Y(["flex justify-center flex-col items-center",y(S)?"mt-0":"mt-3"]),onClick:nt=>P(J)},[O(y(Cr),{trigger:"hover",placement:"right"},{trigger:Z(()=>[m("div",{class:Y(["relative flex items-center justify-center h-10 w-10 rounded-md cursor-pointer duration-300",[xe(J)?["bg-white","text-primary-600","dark:bg-gray-750","dark:text-gray-100"]:["bg-opacity","dark:bg-gray-900","dark:text-gray-400"],"hover:bg-white","hover:text-primary-600","dark:hover:bg-gray-750","dark:hover:text-white"]])},[O(y($r),{icon:J.menuIcon,class:"text-2xl"},null,8,["icon"])],2)]),default:Z(()=>[K(" "+M(J.menuTipText),1)]),_:2},1024)],10,Th))),128))])]),_:1})],2),m("div",Ih,[h.value?(F(),Q(y(So),{key:0,as:"div",class:"relative inline-block text-left"},{default:Z(()=>[m("div",null,[O(y(_o),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md text-sm font-semibold"},{default:Z(()=>[m("div",zh,[c.value?(F(),R("img",{key:0,src:c.value,class:"w-full h-full object-cover"},null,8,$h)):G("",!0),c.value?G("",!0):(F(),Q(y(Mn),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),O(Tu,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:Z(()=>[O(y(vo),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 z-50"},{default:Z(()=>[m("div",Lh,[O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([[J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:N},[O(y(ko),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.clear")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[0]||(ce[0]=nt=>y(a).updateNoticeDialog(!0))},[O(y(wo),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.announcement")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[1]||(ce[1]=nt=>y(a).updateGoodsDialog(!0))},[O(y(Co),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.pointsMall")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:$},[O(y(Ao),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.toggleTheme")),1)],2)]),_:1}),E.value?(F(),Q(y(kt),{key:0},{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:U},[O(y(Eo),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.signInReward")),1)],2)]),_:1})):G("",!0),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[2]||(ce[2]=nt=>ue())},[O(y(Mn),{theme:"outline",size:"16",class:"mr-2"}),K(" 个人中心 ")],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[3]||(ce[3]=nt=>Ee())},[O(y(Do),{theme:"outline",size:"16",class:"mr-2"}),K(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):G("",!0),h.value?G("",!0):(F(),Q(y(Oo),{key:1,label:y(u)("siderBar.loginAccount"),placement:y(S)?"bottom":"right",class:Y(y(S)?"mb-0":"mb-5"),onClick:I},{default:Z(()=>[O(y(Zt),{size:"20",color:"#555"},{default:Z(()=>[(F(),Q(wr(k.value)))]),_:1})]),_:1},8,["label","placement","class"]))])],6),g.value?(F(),Q(y(t),{key:0,visible:g.value,"onUpdate:visible":ce[4]||(ce[4]=J=>g.value=J)},null,8,["visible"])):G("",!0)],64))}});const Rh={class:"h-full dark:bg-gray-900 transition-all p-0"},Bh={class:"h-full overflow-hidden"},tp=he({__name:"index",setup(e){const t=Me(),u=xn(),n=bn(),r=_t(),i=mn(),o=et(),a=z(()=>r.payDialog),s=z(()=>r.goodsDialog),l=z(()=>r.noticeDialog),c=z(()=>r.bindWxDialog),d=z(()=>r.signInDialog),p=z(()=>r.appDialog),g=z(()=>{var S;return Number((S=t.globalConfig)==null?void 0:S.isHideSidebar)===1}),{isMobile:h}=Ke(),b=z(()=>t.loginDialog);z(()=>i.theme);const k=z(()=>t.isLogin),w=z(()=>{var S;return Number((S=t.globalConfig)==null?void 0:S.wechatSilentLoginStatus)===1});function A(){const{token:S}=u.query;if(S){t.setToken(S);const v=u.name;n.replace({name:v,query:{}}),o.success("账户登录成功、开始体验吧!"),t.getUserInfo()}}async function C(){if(u.path==="/home"||!w.value||k.value)return;const v=new URLSearchParams(window.location.search).getAll("code"),N=v.length>0?v[v.length-1]:null;if(N){const _=await so({code:N});_.success&&(t.setToken(_.data),t.getUserInfo(),t.setLoginDialog(!1),n.replace("/chat"))}else{const _=window.location.href.split("#")[0],x=await lo({url:_});x.success&&(window.location.href=x.data)}}function E(){var v;const S=window.navigator.userAgent.toLowerCase();S.match(/MicroMessenger/i)&&((v=S==null?void 0:S.match(/MicroMessenger/i))==null?void 0:v[0])==="micromessenger"&&C()}Ce(()=>{E(),A()});const I=z(()=>h.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),$=z(()=>h.value?["flex-col"]:["dark:border-neutral-800"]);return(S,v)=>{const N=mo("RouterView");return F(),R("div",Rh,[m("div",Bh,[m("div",{class:Y(["z-40 transition flex h-full relative",$.value])},[!y(h)&&!g.value&&y(u).path!=="/home"?(F(),Q(Mh,{key:0})):G("",!0),O(y(Lo),{class:Y(["h-full",I.value]),style:{flex:"1"}},{default:Z(()=>[O(N,null,{default:Z(({Component:_,route:x})=>[(F(),Q(wr(_),{key:x.fullPath}))]),_:1})]),_:1},8,["class"]),y(h)&&!g.value?(F(),Q(Ch,{key:1})):G("",!0)],2),O(sl,{visible:b.value},null,8,["visible"]),O(Z1,{visible:a.value},null,8,["visible"]),O(es,{visible:s.value},null,8,["visible"]),O(A1,{visible:l.value},null,8,["visible"]),O(Ia,{visible:c.value},null,8,["visible"]),O(yh,{visible:d.value},null,8,["visible"]),O(oa,{visible:p.value},null,8,["visible"])])])}}});export{tp as default};
|