PluralKit/docs/assets/vendor.c083fd67.js

48 lines
1.4 MiB
JavaScript
Raw Normal View History

2021-12-15 12:57:29 +00:00
var vd=Object.defineProperty,Id=Object.defineProperties;var yd=Object.getOwnPropertyDescriptors;var _0=Object.getOwnPropertySymbols;var Ld=Object.prototype.hasOwnProperty,Dd=Object.prototype.propertyIsEnumerable;var d0=(e,t,n)=>t in e?vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dn=(e,t)=>{for(var n in t||(t={}))Ld.call(t,n)&&d0(e,n,t[n]);if(_0)for(var n of _0(t))Dd.call(t,n)&&d0(e,n,t[n]);return e},Xn=(e,t)=>Id(e,yd(t));function be(){}const li=e=>e;function L(e,t){for(const n in t)e[n]=t[n];return e}function u0(e){return e()}function p0(){return Object.create(null)}function ke(e){e.forEach(u0)}function Pt(e){return typeof e=="function"}function Se(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let _i;function XL(e,t){return _i||(_i=document.createElement("a")),_i.href=t,e===_i.href}function Pd(e){return Object.keys(e).length===0}function Oo(e,...t){if(e==null)return be;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Vn(e){let t;return Oo(e,n=>t=n)(),t}function St(e,t,n){e.$$.on_destroy.push(Oo(t,n))}function de(e,t,n,a){if(e){const i=m0(e,t,n,a);return e[0](i)}}function m0(e,t,n,a){return e[1]&&a?L(n.ctx.slice(),e[1](a(t))):n.ctx}function ue(e,t,n,a){if(e[2]&&a){const i=e[2](a(n));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],r=Math.max(t.dirty.length,i.length);for(let s=0;s<r;s+=1)o[s]=t.dirty[s]|i[s];return o}return t.dirty|i}return t.dirty}function pe(e,t,n,a,i,o){if(i){const r=m0(t,n,a,o);e.p(r,i)}}function me(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let a=0;a<n;a++)t[a]=-1;return t}return-1}function ge(e){const t={};for(const n in e)n[0]!=="$"&&(t[n]=e[n]);return t}function $(e,t){const n={};t=new Set(t);for(const a in e)!t.has(a)&&a[0]!=="$"&&(n[a]=e[a]);return n}function wd(e){const t={};for(const n in e)t[n]=!0;return t}function Ma(e){return e&&Pt(e.destroy)?e.destroy:be}const f0=typeof window!="undefined";let No=f0?()=>window.performance.now():()=>Date.now(),Ro=f0?e=>requestAnimationFrame(e):be;const Kn=new Set;function E0(e){Kn.forEach(t=>{t.c(e)||(Kn.delete(t),t.f())}),Kn.size!==0&&Ro(E0)}function ho(e){let t;return Kn.size===0&&Ro(E0),{promise:new Promise(n=>{Kn.add(t={c:e,f:n})}),abort(){Kn.delete(t)}}}function Qe(e,t){e.appendChild(t)}function g0(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function kd(e){const t=Q("style");return zd(g0(e),t),t}function zd(e,t){Qe(e.head||e,t)}function F(e,t,n){e.insertBefore(t,n||null)}function x(e){e.parentNode.removeChild(e)}function Bd(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function Q(e){return document.createElement(e)}function un(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function at(e){return document.createTextNode(e)}function Et(){return at(" ")}function it(){return at("")}function R(e,t,n,a){return e.addEventListener(t,n,a),()=>e.removeEventListener(t,n,a)}function ce(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function q(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const a in t)t[a]==null?e.removeAttribute(a):a==="style"?e.style.cssText=t[a]:a==="__value"?e.value=e[a]=t[a]:n[a]&&n[a].set?e[a]=t[a]:ce(e,a,t[a])}function Co(e){return e===""?null:+e}function xd(e){return Array.from(e.childNodes)}function ut(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function qe(e,t){e.value=t==null?"":t}function vo(e,t,n,a){e.style.setProperty(t,n,a?"important":"")}function di(e,t){for(let n=0;n<e.options.length;n+=1){const a=e.options[n];if(a.__value===t){a.selected=!0;return}}e.selectedIndex=-1}function b0(e,t){for(let n=0;n<e.options.length;n+=1){const a=e.options[n];a.selected=~t.indexOf(a.__value)}}function Ud(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}function jt(e,t,n){e.classList[n?"add":"remove"](t)}function S0(e,t,n=!1){const a=document.createEvent("CustomEvent");return a.initCustomEvent(e,n,!1,t),a}class VL{constructor(){this.e=this.n=null}c(t){this.h(t)}m(t,n,a=null){this.e||(this.
2021-12-12 11:05:24 +00:00
`;for(let g=0;g<=1;g+=c){const S=t+(n-t)*o(g);l+=g*100+`%{${r(S,1-S)}}
`}const _=l+`100% {${r(n,1-n)}}
2021-12-15 12:57:29 +00:00
}`,d=`__svelte_${Fd(_)}_${s}`,u=g0(e);Io.add(u);const p=u.__svelte_stylesheet||(u.__svelte_stylesheet=kd(e).sheet),f=u.__svelte_rules||(u.__svelte_rules={});f[d]||(f[d]=!0,p.insertRule(`@keyframes ${d} ${_}`,p.cssRules.length));const m=e.style.animation||"";return e.style.animation=`${m?`${m}, `:""}${d} ${a}ms linear ${i}ms 1 both`,ui+=1,d}function mi(e,t){const n=(e.style.animation||"").split(", "),a=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),i=n.length-a.length;i&&(e.style.animation=a.join(", "),ui-=i,ui||qd())}function qd(){Ro(()=>{ui||(Io.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),Io.clear())})}let fi;function Ei(e){fi=e}function Qn(){if(!fi)throw new Error("Function called outside component initialization");return fi}function Ln(e){Qn().$$.on_mount.push(e)}function Wd(e){Qn().$$.after_update.push(e)}function Aa(e){Qn().$$.on_destroy.push(e)}function Dn(){const e=Qn();return(t,n)=>{const a=e.$$.callbacks[t];if(a){const i=S0(t,n);a.slice().forEach(o=>{o.call(e,i)})}}}function pn(e,t){Qn().$$.context.set(e,t)}function Nt(e){return Qn().$$.context.get(e)}function D(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach(a=>a.call(this,t))}const Oa=[],ze=[],gi=[],yo=[],T0=Promise.resolve();let Lo=!1;function M0(){Lo||(Lo=!0,T0.then(A0))}function Gd(){return M0(),T0}function Ut(e){gi.push(e)}function Na(e){yo.push(e)}let Do=!1;const Po=new Set;function A0(){if(!Do){Do=!0;do{for(let e=0;e<Oa.length;e+=1){const t=Oa[e];Ei(t),Yd(t.$$)}for(Ei(null),Oa.length=0;ze.length;)ze.pop()();for(let e=0;e<gi.length;e+=1){const t=gi[e];Po.has(t)||(Po.add(t),t())}gi.length=0}while(Oa.length);for(;yo.length;)yo.pop()();Lo=!1,Do=!1,Po.clear()}}function Yd(e){if(e.fragment!==null){e.update(),ke(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ut)}}let Ra;function wo(){return Ra||(Ra=Promise.resolve(),Ra.then(()=>{Ra=null})),Ra}function Pn(e,t,n){e.dispatchEvent(S0(`${t?"intro":"outro"}${n}`))}const bi=new Set;let $t;function We(){$t={r:0,c:[],p:$t}}function Ge(){$t.r||ke($t.c),$t=$t.p}function w(e,t){e&&e.i&&(bi.delete(e),e.i(t))}function B(e,t,n,a){if(e&&e.o){if(bi.has(e))return;bi.add(e),$t.c.push(()=>{bi.delete(e),a&&(n&&e.d(1),a())}),e.o(t)}}const ko={duration:0};function zo(e,t,n){let a=t(e,n),i=!1,o,r,s=0;function c(){o&&mi(e,o)}function l(){const{delay:d=0,duration:u=300,easing:p=li,tick:f=be,css:m}=a||ko;m&&(o=pi(e,0,1,u,d,p,m,s++)),f(0,1);const g=No()+d,S=g+u;r&&r.abort(),i=!0,Ut(()=>Pn(e,!0,"start")),r=ho(M=>{if(i){if(M>=S)return f(1,0),Pn(e,!0,"end"),c(),i=!1;if(M>=g){const T=p((M-g)/u);f(T,1-T)}}return i})}let _=!1;return{start(){_||(_=!0,mi(e),Pt(a)?(a=a(),wo().then(l)):l())},invalidate(){_=!1},end(){i&&(c(),i=!1)}}}function Bo(e,t,n){let a=t(e,n),i=!0,o;const r=$t;r.r+=1;function s(){const{delay:c=0,duration:l=300,easing:_=li,tick:d=be,css:u}=a||ko;u&&(o=pi(e,1,0,l,c,_,u));const p=No()+c,f=p+l;Ut(()=>Pn(e,!1,"start")),ho(m=>{if(i){if(m>=f)return d(0,1),Pn(e,!1,"end"),--r.r||ke(r.c),!1;if(m>=p){const g=_((m-p)/l);d(1-g,g)}}return i})}return Pt(a)?wo().then(()=>{a=a(),s()}):s(),{end(c){c&&a.tick&&a.tick(1,0),i&&(o&&mi(e,o),i=!1)}}}function O0(e,t,n,a){let i=t(e,n),o=a?0:1,r=null,s=null,c=null;function l(){c&&mi(e,c)}function _(u,p){const f=u.b-o;return p*=Math.abs(f),{a:o,b:u.b,d:f,duration:p,start:u.start,end:u.start+p,group:u.group}}function d(u){const{delay:p=0,duration:f=300,easing:m=li,tick:g=be,css:S}=i||ko,M={start:No()+p,b:u};u||(M.group=$t,$t.r+=1),r||s?s=M:(S&&(l(),c=pi(e,o,u,f,p,m,S)),u&&g(0,1),r=_(M,f),Ut(()=>Pn(e,u,"start")),ho(T=>{if(s&&T>s.start&&(r=_(s,f),s=null,Pn(e,r.b,"start"),S&&(l(),c=pi(e,o,r.b,r.duration,0,m,i.css))),r){if(T>=r.end)g(o=r.b,1-o),Pn(e,r.b,"end"),s||(r.b?l():--r.group.r||ke(r.group.c)),r=null;else if(T>=r.start){const A=T-r.start;o=r.a+r.d*m(A/r.duration),g(o,1-o)}}return!!(r||s)}))}return{run(u){Pt(i)?wo().then(()=>{i=i(),d(u)}):d(u)},end(){l(),r=s=null}}}function KL(e,t){B(e,1,1,()=>{t.delete(e.key)})}function QL(e,t,n,a,i,o,r,s,c,l,_,d){let u=e.len
2021-12-12 11:05:24 +00:00
2021-12-15 12:57:29 +00:00
Occurred in: ${i}`:"",r=Yo(e),s=R0(t)?t(r):t;return`<${r}> ${s}${o}`}const x0=e=>(...t)=>e(ru(...t)),U0=x0(e=>{throw new Error(e)}),Si=x0(console.warn),F0=4,ou=3,su=2,cu=1,lu=1;function _u(e,t){const n=e.default?0:en(e.fullPath).reduce((a,i)=>{let o=a;return o+=F0,Jd(i)?o+=lu:jd(i)?o+=su:L0(i)?o-=F0+cu:o+=ou,o},0);return{route:e,score:n,index:t}}function du(e){return e.map(_u).sort((t,n)=>t.score<n.score?1:t.score>n.score?-1:t.index-n.index)}function q0(e,t){let n,a;const[i]=t.split("?"),o=en(i),r=o[0]==="",s=du(e);for(let c=0,l=s.length;c<l;c++){const{route:_}=s[c];let d=!1;const u={},p=S=>Xn(dn({},_),{params:u,uri:S});if(_.default){a=p(t);continue}const f=en(_.fullPath),m=Math.max(o.length,f.length);let g=0;for(;g<m;g++){const S=f[g],M=o[g];if(!N0(S)&&L0(S)){const A=S==="*"?"*":S.slice(1);u[A]=o.slice(g).map(decodeURIComponent).join("/");break}if(N0(M)){d=!0;break}const T=y0.exec(S);if(T&&!r){const A=decodeURIComponent(M);u[T[1]]=A}else if(S!==M){d=!0;break}}if(!d){n=p(va(...o.slice(0,g)));break}}return n||a||null}function W0(e,t){return q0([e],t)}function uu(e,t){if(Fo(e,"/"))return e;const[n,a]=e.split("?"),[i]=t.split("?"),o=en(n),r=en(i);if(o[0]==="")return qo(i,a);if(!Fo(o[0],".")){const l=r.concat(o).join("/");return qo((i==="/"?"":"/")+l,a)}const s=r.concat(o),c=[];return s.forEach(l=>{l===".."?c.pop():l!=="."&&c.push(l)}),qo(`/${c.join("/")}`,a)}function G0(e,t){const{pathname:n,hash:a="",search:i="",state:o}=e,r=en(t,!0),s=en(n,!0);for(;r.length;)r[0]!==s[0]&&U0(wn,`Invalid state: All locations must begin with the basepath "${t}", found "${n}"`),r.shift(),s.shift();return{pathname:va(...s),hash:a,search:i,state:o}}const Y0=e=>e.length===1?"":e;function H0(e){const t=e.indexOf("?"),n=e.indexOf("#"),a=t!==-1,i=n!==-1,o=i?Y0(e.substr(n)):"",r=i?e.substr(0,n):e,s=a?Y0(r.substr(t)):"";return{pathname:a?r.substr(0,t):r,search:s,hash:o}}function pu(e,t,n){return va(n,uu(e,t))}function mu(e,t){const n=Wo($d(e)),a=en(n,!0),i=en(t,!0).slice(0,a.length),o=W0({fullPath:n},va(...i));return o&&o.uri}const Ho="POP",fu="PUSH",Eu="REPLACE";function Xo(e){return Xn(dn({},e.location),{pathname:encodeURI(decodeURI(e.location.pathname)),state:e.history.state,_key:e.history.state&&e.history.state._key||"initial"})}function gu(e){let t=[],n=Xo(e),a=Ho;const i=(o=t)=>o.forEach(r=>r({location:n,action:a}));return{get location(){return n},listen(o){t.push(o);const r=()=>{n=Xo(e),a=Ho,i([o])};i([o]);const s=v0(e,"popstate",r);return()=>{s(),t=t.filter(c=>c!==o)}},navigate(o,r){const{state:s={},replace:c=!1}=r||{};if(a=c?Eu:fu,h0(o))r&&Si(B0,"Navigation options (state or replace) are not supported, when passing a number as the first argument to navigate. They are ignored."),a=Ho,e.history.go(o);else{const l=Xn(dn({},s),{_key:Vd()});try{e.history[c?"replaceState":"pushState"](l,"",o)}catch{e.location[c?"replace":"assign"](o)}}n=Xo(e),i()}}}function Vo(e,t){return Xn(dn({},H0(t)),{state:e})}function bu(e="/"){let t=0,n=[Vo(null,e)];return{get entries(){return n},get location(){return n[t]},addEventListener(){},removeEventListener(){},history:{get state(){return n[t].state},pushState(a,i,o){t++,n=n.slice(0,t),n.push(Vo(a,o))},replaceState(a,i,o){n[t]=Vo(a,o)},go(a){const i=t+a;i<0||i>n.length-1||(t=i)}}}}const Su=!!(!Rn&&window.document&&window.document.createElement),Tu=!Rn&&window.location.origin==="null",X0=gu(Su&&!Tu?window:bu()),{navigate:ZL}=X0;let mn=null,V0=!0;function Mu(e,t){const n=document.querySelectorAll("[data-svnav-router]");for(let a=0;a<n.length;a++){const i=n[a],o=Number(i.dataset.svnavRouter);if(o===e)return!0;if(o===t)return!1}return!1}function Au(e){(!mn||e.level>mn.level||e.level===mn.level&&Mu(e.routerId,mn.routerId))&&(mn=e)}function Ou(){mn=null}function Nu(){V0=!1}function K0(e){if(!e)return!1;const t="tabindex";try{if(!e.hasAttribute(t)){e.setAttribute(t,"-1");let n;n=v0(e,"blur",()=>{e.removeAttribute(t),n()})}return e.focus(),document.activeElement===e}catch{return!1}}function Ru(e,t){return Number(e.dataset.svnavRouteEnd)===t}function hu(e){return/^H[1-6]$/i.test(e.tagName)}function Q0(e,t=document){return t.
2021-12-12 11:05:24 +00:00
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
2021-12-15 12:57:29 +00:00
var e1;function oe(){return e1.apply(null,arguments)}function jg(e){e1=e}function Kt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Bn(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ve(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ns(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ve(e,t))return!1;return!0}function It(e){return e===void 0}function fn(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function xa(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function t1(e,t){var n=[],a;for(a=0;a<e.length;++a)n.push(t(e[a],a));return n}function Cn(e,t){for(var n in t)Ve(t,n)&&(e[n]=t[n]);return Ve(t,"toString")&&(e.toString=t.toString),Ve(t,"valueOf")&&(e.valueOf=t.valueOf),e}function rn(e,t,n,a){return C1(e,t,n,a,!0).utc()}function $g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Be(e){return e._pf==null&&(e._pf=$g()),e._pf}var as;Array.prototype.some?as=Array.prototype.some:as=function(e){var t=Object(this),n=t.length>>>0,a;for(a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};function is(e){if(e._isValid==null){var t=Be(e),n=as.call(t.parsedDateParts,function(i){return i!=null}),a=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(a=a&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=a;else return a}return e._isValid}function Ri(e){var t=rn(NaN);return e!=null?Cn(Be(t),e):Be(t).userInvalidated=!0,t}var rs=oe.momentProperties=[],os=!1;function ss(e,t){var n,a,i;if(It(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),It(t._i)||(e._i=t._i),It(t._f)||(e._f=t._f),It(t._l)||(e._l=t._l),It(t._strict)||(e._strict=t._strict),It(t._tzm)||(e._tzm=t._tzm),It(t._isUTC)||(e._isUTC=t._isUTC),It(t._offset)||(e._offset=t._offset),It(t._pf)||(e._pf=Be(t)),It(t._locale)||(e._locale=t._locale),rs.length>0)for(n=0;n<rs.length;n++)a=rs[n],i=t[a],It(i)||(e[a]=i);return e}function Ua(e){ss(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),os===!1&&(os=!0,oe.updateOffset(this),os=!1)}function Qt(e){return e instanceof Ua||e!=null&&e._isAMomentObject!=null}function n1(e){oe.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Yt(e,t){var n=!0;return Cn(function(){if(oe.deprecationHandler!=null&&oe.deprecationHandler(null,e),n){var a=[],i,o,r;for(o=0;o<arguments.length;o++){if(i="",typeof arguments[o]=="object"){i+=`
[`+o+"] ";for(r in arguments[0])Ve(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[o];a.push(i)}n1(e+`
2021-12-12 11:05:24 +00:00
Arguments: `+Array.prototype.slice.call(a).join("")+`
2021-12-15 12:57:29 +00:00
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var a1={};function i1(e,t){oe.deprecationHandler!=null&&oe.deprecationHandler(e,t),a1[e]||(n1(t),a1[e]=!0)}oe.suppressDeprecationWarnings=!1;oe.deprecationHandler=null;function on(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function eb(e){var t,n;for(n in e)Ve(e,n)&&(t=e[n],on(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function cs(e,t){var n=Cn({},e),a;for(a in t)Ve(t,a)&&(Bn(e[a])&&Bn(t[a])?(n[a]={},Cn(n[a],e[a]),Cn(n[a],t[a])):t[a]!=null?n[a]=t[a]:delete n[a]);for(a in e)Ve(e,a)&&!Ve(t,a)&&Bn(e[a])&&(n[a]=Cn({},n[a]));return n}function ls(e){e!=null&&this.set(e)}var _s;Object.keys?_s=Object.keys:_s=function(e){var t,n=[];for(t in e)Ve(e,t)&&n.push(t);return n};var tb={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function nb(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return on(a)?a.call(t,n):a}function sn(e,t,n){var a=""+Math.abs(e),i=t-a.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+a}var ds=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,hi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,us={},ra={};function Oe(e,t,n,a){var i=a;typeof a=="string"&&(i=function(){return this[a]()}),e&&(ra[e]=i),t&&(ra[t[0]]=function(){return sn(i.apply(this,arguments),t[1],t[2])}),n&&(ra[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ab(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ib(e){var t=e.match(ds),n,a;for(n=0,a=t.length;n<a;n++)ra[t[n]]?t[n]=ra[t[n]]:t[n]=ab(t[n]);return function(i){var o="",r;for(r=0;r<a;r++)o+=on(t[r])?t[r].call(i,e):t[r];return o}}function Ci(e,t){return e.isValid()?(t=r1(t,e.localeData()),us[t]=us[t]||ib(t),us[t](e)):e.localeData().invalidDate()}function r1(e,t){var n=5;function a(i){return t.longDateFormat(i)||i}for(hi.lastIndex=0;n>=0&&hi.test(e);)e=e.replace(hi,a),hi.lastIndex=0,n-=1;return e}var rb={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ob(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ds).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),this._longDateFormat[e])}var sb="Invalid date";function cb(){return this._invalidDate}var lb="%d",_b=/\d{1,2}/;function db(e){return this._ordinal.replace("%d",e)}var ub={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function pb(e,t,n,a){var i=this._relativeTime[n];return on(i)?i(e,t,n,a):i.replace(/%d/i,e)}function mb(e,t){var n=this._relativeTime[e>0?"future":"past"];return on(n)?n(t):n.replace(/%s/i,t)}var Fa={};function Tt(e,t){var n=e.toLowerCase();Fa[n]=Fa[n+"s"]=Fa[t]=e}function Ht(e){return typeof e=="string"?Fa[e]||Fa[e.toLowerCase()]:void 0}function ps(e){var t={},n,a;for(a in e)Ve(e,a)&&(n=Ht(a),n&&(t[n]=e[a]));return t}var o1={};function Mt(e,t){o1[e]=t}function fb(e){var t=[],n;for(n in e)Ve(e,n)&&t.push({unit:n,priority:o1[n]});return t.sort(function(a,i){return a.priority-i.priority}),t}function vi(e){return e%4==0&&e%100!=0||e%400==0}function Xt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ue(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Xt(t)),n}function oa(e,t){return function(n){return n!=null?(s1(this,e,n),oe.updateOffset(this,t),this):Ii(this,e)}}function Ii(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function
oe.version="2.29.1";jg(ot);oe.fn=ee;oe.min=xS;oe.max=US;oe.now=FS;oe.utc=rn;oe.unix=mM;oe.months=EM;oe.isDate=xa;oe.locale=vn;oe.invalid=Ri;oe.duration=Jt;oe.isMoment=Qt;oe.weekdays=bM;oe.parseZone=fM;oe.localeData=Sn;oe.isDuration=qi;oe.monthsShort=gM;oe.weekdaysMin=TM;oe.defineLocale=Ts;oe.updateLocale=fS;oe.locales=ES;oe.weekdaysShort=SM;oe.normalizeUnits=Ht;oe.relativeTimeRounding=KM;oe.relativeTimeThreshold=QM;oe.calendarFormat=dT;oe.prototype=ee;oe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var JM=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:oe}),Q1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function jM(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),t}var Z1={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(Q1,function(){var n=/\r\n?/g,a=/\t/g,i=/\f/g,o=function(b){return b.replace(n,`
`).replace(i,"").replace(a," ")},r=function(b,y){var v=b||{};if(y!=null)for(var H in y)Object.prototype.hasOwnProperty.call(y,H)&&(v[H]=y[H]);return v},s=function(b,y){var v=Object.keys(b).filter(function(X){var J=b[X];if(J==null||J.match==null)return!1;var _e=J.order;return(typeof _e!="number"||!isFinite(_e))&&typeof console!="undefined"&&console.warn("simple-markdown: Invalid order for rule `"+X+"`: "+String(_e)),!0});v.sort(function(X,J){var _e=b[X],ye=b[J],Pe=_e.order,je=ye.order;if(Pe!==je)return Pe-je;var nt=_e.quality?0:1,dt=ye.quality?0:1;return nt!==dt?nt-dt:X<J?-1:X>J?1:0});var H,se=function(X,J){var _e=[];for(J=J||H,H=J;X;){var ye=null,Pe=null,je=null,nt=NaN,dt=0,ft=v[0],lt=b[ft];do{var Rt=lt.order,Ot=J.prevCapture==null?"":J.prevCapture[0],ht=lt.match(X,J,Ot);if(ht){var Nn=lt.quality?lt.quality(ht,J,Ot):0;Nn<=nt||(ye=ft,Pe=lt,je=ht,nt=Nn)}dt++,ft=v[dt],lt=b[ft]}while(lt&&(!je||lt.order===Rt&&lt.quality));if(Pe==null||je==null)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+v[v.length-1]+`'. It seems to not match the following source:
`+X);if(je.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var Dt=Pe.parse(je,se,J);Array.isArray(Dt)?Array.prototype.push.apply(_e,Dt):(Dt.type==null&&(Dt.type=ye),_e.push(Dt)),J.prevCapture=je,X=X.substring(J.prevCapture[0].length)}return _e},G=function(X,J){return H=r(J,y),!H.inline&&!H.disableAutoBlockNewlines&&(X=X+`
2021-12-12 11:05:24 +00:00
2021-12-15 12:57:29 +00:00
`),H.prevCapture=null,se(o(X),H)};return G},c=function(b){var y=function(v,H){return H.inline?b.exec(v):null};return y.regex=b,y},l=function(b){var y=function(v,H){return H.inline?null:b.exec(v)};return y.regex=b,y},_=function(b){var y=function(v,H){return b.exec(v)};return y.regex=b,y},d=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103,u=function(b,y,v){var H={$$typeof:d,type:b,key:y==null?void 0:y,ref:null,props:v,_owner:null};return H},p=function(b,y,v,H){v=v||{},H=typeof H!="undefined"?H:!0;var se="";for(var G in v){var X=v[G];Object.prototype.hasOwnProperty.call(v,G)&&X&&(se+=" "+M(G)+'="'+M(X)+'"')}var J="<"+b+se+">";return H?J+y+"</"+b+">":J},f={},m=function(b){if(b==null)return null;try{var y=decodeURIComponent(b).replace(/[^A-Za-z0-9/:]/g,"").toLowerCase();if(y.indexOf("javascript:")===0||y.indexOf("vbscript:")===0||y.indexOf("data:")===0)return null}catch{return null}return b},g=/[<>&"']/g,S={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#96;"},M=function(b){return String(b).replace(g,function(y){return S[y]})},T=/\\([^0-9A-Za-z\s])/g,A=function(b){return b.replace(T,"$1")},N=function(b,y,v){var H=v.inline||!1;v.inline=!0;var se=b(y,v);return v.inline=H,se},C=function(b,y,v){var H=v.inline||!1;v.inline=!1;var se=b(y+`
2021-12-12 11:05:24 +00:00
2021-12-15 12:57:29 +00:00
`,v);return v.inline=H,se},O=function(b,y,v){return{content:N(y,b[1],v)}},j=function(){return{}},te="(?:[*+-]|\\d+\\.)",U="( *)("+te+") +",k=new RegExp("^"+U),Ae=new RegExp(U+"[^\\n]*(?:\\n(?!\\1"+te+` )[^\\n]*)*(
|$)`,"gm"),Ne=/\n{2,}$/,Ie=/^ (?= *`)|(` *) $/g,ve=Ne,P=/ *\n+$/,z=new RegExp("^( *)("+te+`) [\\s\\S]+?(?:
{2,}(?! )(?!\\1`+te+` )\\n*|\\s*
*$)`),ie=/(?:^|\n)( *)$/,K=function(){var b=/^ *\| *| *\| *$/g,y=/ *$/,v=/^ *-+: *$/,H=/^ *:-+: *$/,se=/^ *:-+ *$/,G=function(Pe){return v.test(Pe)?"right":H.test(Pe)?"center":se.test(Pe)?"left":null},X=function(Pe,je,nt,dt){dt&&(Pe=Pe.replace(b,""));var ft=Pe.trim().split("|");return ft.map(G)},J=function(Pe,je,nt,dt){var ft=nt.inTable;nt.inTable=!0;var lt=je(Pe.trim(),nt);nt.inTable=ft;var Rt=[[]];return lt.forEach(function(Ot,ht){Ot.type==="tableSeparator"?(!dt||ht!==0&&ht!==lt.length-1)&&Rt.push([]):(Ot.type==="text"&&(lt[ht+1]==null||lt[ht+1].type==="tableSeparator")&&(Ot.content=Ot.content.replace(y,"")),Rt[Rt.length-1].push(Ot))}),Rt},_e=function(Pe,je,nt,dt){var ft=Pe.trim().split(`
`);return ft.map(function(lt){return J(lt,je,nt,dt)})},ye=function(Pe){return function(je,nt,dt){dt.inline=!0;var ft=J(je[1],nt,dt,Pe),lt=X(je[2],nt,dt,Pe),Rt=_e(je[3],nt,dt,Pe);return dt.inline=!1,{type:"table",header:ft,align:lt,cells:Rt}}};return{parseTable:ye(!0),parseNpTable:ye(!1),TABLE_REGEX:/^ *(\|.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/,NPTABLE_REGEX:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/}}(),re="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",Ce=`\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*`,Fe=/mailto:/i,Je=function(b,y,v){var H=(b[2]||b[1]).replace(/\s+/g," ").toLowerCase();if(y._defs&&y._defs[H]){var se=y._defs[H];v.target=se.target,v.title=se.title}return y._refs=y._refs||{},y._refs[H]=y._refs[H]||[],y._refs[H].push(v),v},le=0,De={Array:{react:function(b,y,v){for(var H=v.key,se=[],G=0,X=0;G<b.length;G++,X++){v.key=""+G;var J=b[G];if(J.type==="text")for(J={type:"text",content:J.content};G+1<b.length&&b[G+1].type==="text";G++)J.content+=b[G+1].content;se.push(y(J,v))}return v.key=H,se},html:function(b,y,v){for(var H="",se=0;se<b.length;se++){var G=b[se];if(G.type==="text")for(G={type:"text",content:G.content};se+1<b.length&&b[se+1].type==="text";se++)G.content+=b[se+1].content;H+=y(G,v)}return H}},heading:{order:le++,match:l(/^ *(#{1,6})([^\n]+?)#* *(?:\n *)+\n/),parse:function(b,y,v){return{level:b[1].length,content:N(y,b[2].trim(),v)}},react:function(b,y,v){return u("h"+b.level,v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("h"+b.level,y(b.content,v))}},nptable:{order:le++,match:l(K.NPTABLE_REGEX),parse:K.parseNpTable,react:null,html:null},lheading:{order:le++,match:l(/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/),parse:function(b,y,v){return{type:"heading",level:b[2]==="="?1:2,content:N(y,b[1],v)}},react:null,html:null},hr:{order:le++,match:l(/^( *[-*_]){3,} *(?:\n *)+\n/),parse:j,react:function(b,y,v){return u("hr",v.key,f)},html:function(b,y,v){return"<hr>"}},codeBlock:{order:le++,match:l(/^(?: [^\n]+\n*)+(?:\n *)+\n/),parse:function(b,y,v){var H=b[0].replace(/^ /gm,"").replace(/\n+$/,"");return{lang:void 0,content:H}},react:function(b,y,v){var H=b.lang?"markdown-code-"+b.lang:void 0;return u("pre",v.key,{children:u("code",null,{className:H,children:b.content})})},html:function(b,y,v){var H=b.lang?"markdown-code-"+b.lang:void 0,se=p("code",M(b.content),{class:H});return p("pre",se)}},fence:{order:le++,match:l(/^ *(`{3,}|~{3,}) *(?:(\S+) *)?\n([\s\S]+?)\n?\1 *(?:\n *)+\n/),parse:function(b,y,v){return{type:"codeBlock",lang:b[2]||void 0,content:b[3]}},react:null,html:null},blockQuote:{order:le++,match:l(/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/),parse:function(b,y,v){var H=b[0].replace(/^ *> ?/gm,"");return{content:y(H,v)}},react:function(b,y,v){return u("blockquote",v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("blockquote",y(b.content,v))}},list:{order:le++,match:function(b,y){var v=y.prevCapture==null?"":y.prevCapture[0],H=ie.exec(v),se=y._list||!y.inline;return H&&se?(b=H[1]+b,z.exec(b)):null},parse:function(b,y,v){var H=b[2],se=H.length>1,G=se?+H:void 0,X=b[0].replace(ve,`
`).match(Ae),J=!1,_e=X.map(function(ye,Pe){var je=k.exec(ye),nt=je?je[0].length:0,dt=new RegExp("^ {1,"+nt+"}","gm"),ft=ye.replace(dt,"").replace(k,""),lt=Pe===X.length-1,Rt=ft.indexOf(`
2021-12-12 11:05:24 +00:00
2021-12-15 12:57:29 +00:00
`)!==-1,Ot=Rt||lt&&J;J=Ot;var ht=v.inline,Nn=v._list;v._list=!0;var Dt;Ot?(v.inline=!1,Dt=ft.replace(P,`
2021-12-12 11:05:24 +00:00
2021-12-15 12:57:29 +00:00
`)):(v.inline=!0,Dt=ft.replace(P,""));var Sa=y(Dt,v);return v.inline=ht,v._list=Nn,Sa});return{ordered:se,start:G,items:_e}},react:function(b,y,v){var H=b.ordered?"ol":"ul";return u(H,v.key,{start:b.start,children:b.items.map(function(se,G){return u("li",""+G,{children:y(se,v)})})})},html:function(b,y,v){var H=b.items.map(function(X){return p("li",y(X,v))}).join(""),se=b.ordered?"ol":"ul",G={start:b.start};return p(se,H,G)}},def:{order:le++,match:l(/^ *\[([^\]]+)\]: *<?([^\s>]*)>?(?: +["(]([^\n]+)[")])? *\n(?: *\n)*/),parse:function(b,y,v){var H=b[1].replace(/\s+/g," ").toLowerCase(),se=b[2],G=b[3];return v._refs&&v._refs[H]&&v._refs[H].forEach(function(X){X.target=se,X.title=G}),v._defs=v._defs||{},v._defs[H]={target:se,title:G},{def:H,target:se,title:G}},react:function(){return null},html:function(){return""}},table:{order:le++,match:l(K.TABLE_REGEX),parse:K.parseTable,react:function(b,y,v){var H=function(X){return b.align[X]==null?{}:{textAlign:b.align[X]}},se=b.header.map(function(X,J){return u("th",""+J,{style:H(J),scope:"col",children:y(X,v)})}),G=b.cells.map(function(X,J){return u("tr",""+J,{children:X.map(function(_e,ye){return u("td",""+ye,{style:H(ye),children:y(_e,v)})})})});return u("table",v.key,{children:[u("thead","thead",{children:u("tr",null,{children:se})}),u("tbody","tbody",{children:G})]})},html:function(b,y,v){var H=function(_e){return b.align[_e]==null?"":"text-align:"+b.align[_e]+";"},se=b.header.map(function(_e,ye){return p("th",y(_e,v),{style:H(ye),scope:"col"})}).join(""),G=b.cells.map(function(_e){var ye=_e.map(function(Pe,je){return p("td",y(Pe,v),{style:H(je)})}).join("");return p("tr",ye)}).join(""),X=p("thead",p("tr",se)),J=p("tbody",G);return p("table",X+J)}},newline:{order:le++,match:l(/^(?:\n *)*\n/),parse:j,react:function(b,y,v){return`
`},html:function(b,y,v){return`
`}},paragraph:{order:le++,match:l(/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/),parse:O,react:function(b,y,v){return u("div",v.key,{className:"paragraph",children:y(b.content,v)})},html:function(b,y,v){var H={class:"paragraph"};return p("div",y(b.content,v),H)}},escape:{order:le++,match:c(/^\\([^0-9A-Za-z\s])/),parse:function(b,y,v){return{type:"text",content:b[1]}},react:null,html:null},tableSeparator:{order:le++,match:function(b,y){return y.inTable?/^ *\| */.exec(b):null},parse:function(){return{type:"tableSeparator"}},react:function(){return" | "},html:function(){return" &vert; "}},autolink:{order:le++,match:c(/^<([^: >]+:\/[^ >]+)>/),parse:function(b,y,v){return{type:"link",content:[{type:"text",content:b[1]}],target:b[1]}},react:null,html:null},mailto:{order:le++,match:c(/^<([^ >]+@[^ >]+)>/),parse:function(b,y,v){var H=b[1],se=b[1];return Fe.test(se)||(se="mailto:"+se),{type:"link",content:[{type:"text",content:H}],target:se}},react:null,html:null},url:{order:le++,match:c(/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/),parse:function(b,y,v){return{type:"link",content:[{type:"text",content:b[1]}],target:b[1],title:void 0}},react:null,html:null},link:{order:le++,match:c(new RegExp("^\\[("+re+")\\]\\("+Ce+"\\)")),parse:function(b,y,v){var H={content:y(b[1],v),target:A(b[2]),title:b[3]};return H},react:function(b,y,v){return u("a",v.key,{href:m(b.target),title:b.title,children:y(b.content,v)})},html:function(b,y,v){var H={href:m(b.target),title:b.title};return p("a",y(b.content,v),H)}},image:{order:le++,match:c(new RegExp("^!\\[("+re+")\\]\\("+Ce+"\\)")),parse:function(b,y,v){var H={alt:b[1],target:A(b[2]),title:b[3]};return H},react:function(b,y,v){return u("img",v.key,{src:m(b.target),alt:b.alt,title:b.title})},html:function(b,y,v){var H={src:m(b.target),alt:b.alt,title:b.title};return p("img","",H,!1)}},reflink:{order:le++,match:c(new RegExp("^\\[("+re+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(b,y,v){return Je(b,v,{type:"link",content:y(b[1],v)})},react:null,html:null},refimage:{order:le++,match:c(new RegExp("^!\\[("+re+")\\]\\s*\\[([^\\]]*)\\]")),parse:function(b,y,v){return Je(b,v,{type:"image",alt:b[1]})},react:null,html:null},em:{order:le,match:c(new RegExp("^\\b_((?:__|\\\\[\\s\\S]|[^\\\\_])+?)_\\b|^\\*(?=\\S)((?:\\*\\*|\\\\[\\s\\S]|\\s+(?:\\\\[\\s\\S]|[^\\s\\*\\\\]|\\*\\*)|[^\\s\\*\\\\])+?)\\*(?!\\*)")),quality:function(b){return b[0].length+.2},parse:function(b,y,v){return{content:y(b[2]||b[1],v)}},react:function(b,y,v){return u("em",v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("em",y(b.content,v))}},strong:{order:le,match:c(/^\*\*((?:\\[\s\S]|[^\\])+?)\*\*(?!\*)/),quality:function(b){return b[0].length+.1},parse:O,react:function(b,y,v){return u("strong",v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("strong",y(b.content,v))}},u:{order:le++,match:c(/^__((?:\\[\s\S]|[^\\])+?)__(?!_)/),quality:function(b){return b[0].length},parse:O,react:function(b,y,v){return u("u",v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("u",y(b.content,v))}},del:{order:le++,match:c(/^~~(?=\S)((?:\\[\s\S]|~(?!~)|[^\s~\\]|\s(?!~~))+?)~~/),parse:O,react:function(b,y,v){return u("del",v.key,{children:y(b.content,v)})},html:function(b,y,v){return p("del",y(b.content,v))}},inlineCode:{order:le++,match:c(/^(`+)([\s\S]*?[^`])\1(?!`)/),parse:function(b,y,v){return{content:b[2].replace(Ie,"$1")}},react:function(b,y,v){return u("code",v.key,{children:b.content})},html:function(b,y,v){return p("code",M(b.content))}},br:{order:le++,match:_(/^ {2,}\n/),parse:j,react:function(b,y,v){return u("br",v.key,f)},html:function(b,y,v){return"<br>"}},text:{order:le++,match:_(/^[\s\S]+?(?=[^0-9A-Za-z\s\u00c0-\uffff]|\n\n| {2,}\n|\w+:\S|$)/),parse:function(b,y,v){return{content:b[0]}},react:function(b,y,v){return b.content},html:function(b,y,v){return M(b.content)}}},he=function(b,y){!y&&typeof console!="undefined"&&console.warn("simple-markdown ruleOutput should take 'react' or 'html' as the second argument.");var v=function(H,se,G){return b[H.type][y](H,se,G)};return v},Z=function(b){var y=function(v,H){if(H=H||{},Arra
https://github.com/highlightjs/highlight.js/issues/2277`),re=P,K=z),ie===void 0&&(ie=!0);const Ce={code:K,language:re};Ie("before:highlight",Ce);const Fe=Ce.result?Ce.result:d(Ce.language,Ce.code,ie);return Fe.code=Ce.code,Ie("after:highlight",Fe),Fe}function d(P,z,ie,K){const re=Object.create(null);function Ce(G,X){return G.keywords[X]}function Fe(){if(!ae.keywords){xe.addText(b);return}let G=0;ae.keywordPatternRe.lastIndex=0;let X=ae.keywordPatternRe.exec(b),J="";for(;X;){J+=b.substring(G,X.index);const _e=Y.case_insensitive?X[0].toLowerCase():X[0],ye=Ce(ae,_e);if(ye){const[Pe,je]=ye;if(xe.addText(J),J="",re[_e]=(re[_e]||0)+1,re[_e]<=HA&&(y+=je),Pe.startsWith("_"))J+=X[0];else{const nt=Y.classNameAliases[Pe]||Pe;xe.addKeyword(X[0],nt)}}else J+=X[0];G=ae.keywordPatternRe.lastIndex,X=ae.keywordPatternRe.exec(b)}J+=b.substr(G),xe.addText(J)}function Je(){if(b==="")return;let G=null;if(typeof ae.subLanguage=="string"){if(!t[ae.subLanguage]){xe.addText(b);return}G=d(ae.subLanguage,b,!0,et[ae.subLanguage]),et[ae.subLanguage]=G._top}else G=p(b,ae.subLanguage.length?ae.subLanguage:null);ae.relevance>0&&(y+=G.relevance),xe.addSublanguage(G._emitter,G.language)}function le(){ae.subLanguage!=null?Je():Fe(),b=""}function De(G,X){let J=1;for(;X[J]!==void 0;){if(!G._emit[J]){J++;continue}const _e=Y.classNameAliases[G[J]]||G[J],ye=X[J];_e?xe.addKeyword(ye,_e):(b=ye,Fe(),b=""),J++}}function he(G,X){return G.scope&&typeof G.scope=="string"&&xe.openNode(Y.classNameAliases[G.scope]||G.scope),G.beginScope&&(G.beginScope._wrap?(xe.addKeyword(b,Y.classNameAliases[G.beginScope._wrap]||G.beginScope._wrap),b=""):G.beginScope._multi&&(De(G.beginScope,X),b="")),ae=Object.create(G,{parent:{value:ae}}),ae}function Z(G,X,J){let _e=sA(G.endRe,J);if(_e){if(G["on:end"]){const ye=new J1(G);G["on:end"](X,ye),ye.isMatchIgnored&&(_e=!1)}if(_e){for(;G.endsParent&&G.parent;)G=G.parent;return G}}if(G.endsWithParent)return Z(G.parent,X,J)}function st(G){return ae.matcher.regexIndex===0?(b+=G[0],1):(se=!0,0)}function we(G){const X=G[0],J=G.rule,_e=new J1(J),ye=[J.__beforeBegin,J["on:begin"]];for(const Pe of ye)if(!!Pe&&(Pe(G,_e),_e.isMatchIgnored))return st(X);return J.skip?b+=X:(J.excludeBegin&&(b+=X),le(),!J.returnBegin&&!J.excludeBegin&&(b=X)),he(J,G),J.returnBegin?0:X.length}function pt(G){const X=G[0],J=z.substr(G.index),_e=Z(ae,G,J);if(!_e)return ul;const ye=ae;ae.endScope&&ae.endScope._wrap?(le(),xe.addKeyword(X,ae.endScope._wrap)):ae.endScope&&ae.endScope._multi?(le(),De(ae.endScope,G)):ye.skip?b+=X:(ye.returnEnd||ye.excludeEnd||(b+=X),le(),ye.excludeEnd&&(b=X));do ae.scope&&xe.closeNode(),!ae.skip&&!ae.subLanguage&&(y+=ae.relevance),ae=ae.parent;while(ae!==_e.parent);return _e.starts&&he(_e.starts,G),ye.returnEnd?0:X.length}function ct(){const G=[];for(let X=ae;X!==Y;X=X.parent)X.scope&&G.unshift(X.scope);G.forEach(X=>xe.openNode(X))}let h={};function V(G,X){const J=X&&X[0];if(b+=G,J==null)return le(),0;if(h.type==="begin"&&X.type==="end"&&h.index===X.index&&J===""){if(b+=z.slice(X.index,X.index+1),!i){const _e=new Error(`0 width match regex (${P})`);throw _e.languageName=P,_e.badRule=h.rule,_e}return 1}if(h=X,X.type==="begin")return we(X);if(X.type==="illegal"&&!ie){const _e=new Error('Illegal lexeme "'+J+'" for mode "'+(ae.scope||"<unnamed>")+'"');throw _e.mode=ae,_e}else if(X.type==="end"){const _e=pt(X);if(_e!==ul)return _e}if(X.type==="illegal"&&J==="")return 1;if(H>1e5&&H>X.index*3)throw new Error("potential infinite loop, way more iterations than matches");return b+=J,J.length}const Y=te(P);if(!Y)throw Wn(o.replace("{}",P)),new Error('Unknown language: "'+P+'"');const W=qA(Y);let Ee="",ae=K||W;const et={},xe=new s.__emitter(s);ct();let b="",y=0,v=0,H=0,se=!1;try{for(ae.matcher.considerAll();;){H++,se?se=!1:ae.matcher.considerAll(),ae.matcher.lastIndex=v;const G=ae.matcher.exec(z);if(!G)break;const X=z.substring(v,G.index),J=V(X,G);v=G.index+J}return V(z.substr(v)),xe.closeAllNodes(),xe.finalize(),Ee=xe.toHTML(),{language:P,value:Ee,relevance:y,illegal:!1,_emitter:xe,_top:ae}}catch(G){if(G.message&&G.message.includes("Illegal"))return{language:
2021-12-12 11:05:24 +00:00
]`,`[\\[\\]\\.,\\+\\-<> \r
2021-12-15 12:57:29 +00:00
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[t]},t]}}var FO=UO;function qO(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="<[^<>]+>",r="("+a+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(o)+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},_={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},p=t.optional(i)+e.IDENT_RE+"\\s*\\(",g={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},S=[d,s,n,e.C_BLOCK_COMMENT_MODE,_,l],M={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:S.concat([{begin:/\(/,end:/\)/,keywords:g,contains:S.concat(["self"]),relevance:0}]),relevance:0},T={begin:"("+r+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:g,relevance:0},{begin:p,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,l,_,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,l,_,s]}]},s,n,e.C_BLOCK_COMMENT_MODE,d]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(M,T,S,[d,{begin:e.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:d,strings:l,keywords:g}}}var WO=qO;function GO(e){const t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n="
`},l]}}var wh=Ph;function kh(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("<!--","-->",{relevance:0}),r={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},c={className:"symbol",begin:"'"+t+"'"},l=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},r,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},r,s].concat(l)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(l)}}var zh=kh;function Bh(e){const n=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(U=>U+"(?![a-zA-Z@:_])")),a=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}var Cv=hv;function vv(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,a,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,a]}]}}var Iv=vv;function yv(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}var Lv=yv;function Dv(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z]\w+_fnc_\w+/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["case","catch","default","do","else","exit","exitWith","for","forEach","from","if","private","switch","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],r=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinish
2021-12-12 11:05:24 +00:00
]*?"'`},{begin:`"[^\r
2021-12-15 12:57:29 +00:00
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}var Uv=xv;function Fv(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}var qv=Fv;const Wv=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Gv=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Yv=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Hv=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-l
2021-12-12 11:05:24 +00:00
(multipart)?`,end:`\\]
2021-12-15 12:57:29 +00:00
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}var Jv=Zv;function Nl(e){return e?typeof e=="string"?e:e.source:null}function nr(e){return tt("(?=",e,")")}function tt(...e){return e.map(n=>Nl(n)).join("")}function jv(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function yt(...e){const t=jv(e);return"("+(t.capture?"":"?:")+e.map(a=>Nl(a)).join("|")+")"}const Hs=e=>tt(/\b/,e,/\w$/.test(e)?/\b/:/\B/),$v=["Protocol","Type"].map(Hs),Rl=["init","self"].map(Hs),eI=["Any","Self"],Xs=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],hl=["false","nil","true"],tI=["assignment","associativity","higherThan","left","lowerThan","none","right"],nI=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],Cl=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],vl=yt(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Il=yt(vl,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Vs=tt(vl,Il,"*"),yl=yt(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),ar=yt(yl,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),On=tt(yl,ar,"*"),Ks=tt(/[A-Z]/,ar,"*"),aI=["autoclosure",tt(/convention\(/,yt("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",tt(/objc\(/,On,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],iI=["iOS","iOSApplicationExtension","macOS","macOS
`),function(s){if(o=s.indexOf(":"),a=n0.trim(s.substr(0,o)).toLowerCase(),i=n0.trim(s.substr(o+1)),a){if(n[a]&&ky.indexOf(a)>=0)return;a==="set-cookie"?n[a]=(n[a]?n[a]:[]).concat([i]):n[a]=n[a]?n[a]+", "+i:i}}),n},Ql=Bt,By=Ql.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),a;function i(o){var r=o;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=i(window.location.href),function(r){var s=Ql.isString(r)?i(r):r;return s.protocol===a.protocol&&s.host===a.host}}():function(){return function(){return!0}}();function a0(e){this.message=e}a0.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};a0.prototype.__CANCEL__=!0;var cr=a0,lr=Bt,xy=vy,Uy=Iy,Fy=Xl,qy=wy,Wy=zy,Gy=By,i0=Kl,Yy=dr,Hy=cr,Zl=function(t){return new Promise(function(a,i){var o=t.data,r=t.headers,s=t.responseType,c;function l(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}lr.isFormData(o)&&delete r["Content-Type"];var _=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",u=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.Authorization="Basic "+btoa(d+":"+u)}var p=qy(t.baseURL,t.url);_.open(t.method.toUpperCase(),Fy(p,t.params,t.paramsSerializer),!0),_.timeout=t.timeout;function f(){if(!!_){var g="getAllResponseHeaders"in _?Wy(_.getAllResponseHeaders()):null,S=!s||s==="text"||s==="json"?_.responseText:_.response,M={data:S,status:_.status,statusText:_.statusText,headers:g,config:t,request:_};xy(function(A){a(A),l()},function(A){i(A),l()},M),_=null}}if("onloadend"in _?_.onloadend=f:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(f)},_.onabort=function(){!_||(i(i0("Request aborted",t,"ECONNABORTED",_)),_=null)},_.onerror=function(){i(i0("Network Error",t,null,_)),_=null},_.ontimeout=function(){var S=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",M=t.transitional||Yy.transitional;t.timeoutErrorMessage&&(S=t.timeoutErrorMessage),i(i0(S,t,M.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",_)),_=null},lr.isStandardBrowserEnv()){var m=(t.withCredentials||Gy(p))&&t.xsrfCookieName?Uy.read(t.xsrfCookieName):void 0;m&&(r[t.xsrfHeaderName]=m)}"setRequestHeader"in _&&lr.forEach(r,function(S,M){typeof o=="undefined"&&M.toLowerCase()==="content-type"?delete r[M]:_.setRequestHeader(M,S)}),lr.isUndefined(t.withCredentials)||(_.withCredentials=!!t.withCredentials),s&&s!=="json"&&(_.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&_.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(g){!_||(i(!g||g&&g.type?new Hy("canceled"):g),_.abort(),_=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),o||(o=null),_.send(o)})},bt=Bt,Jl=Ry,Xy=Vl,Vy={"Content-Type":"application/x-www-form-urlencoded"};function jl(e,t){!bt.isUndefined(e)&&bt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Ky(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Zl),e}function Qy(e,t,n){if(bt.isString(e))try{return(t||JSON.parse)(e),bt.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}var _r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Ky(),transformRequest:[function(t,n){return Jl(n,"Accept"),Jl(n,"Content-Type"),bt.isFormData(t)||bt.isArrayBuffer(t)||bt.isBuffer(t)||bt.isStream(t)||bt.isFile(t)||bt.isBlob(t)?t:bt.isArrayBufferView(t)?t.buffer:bt.isURLSearchParams(t)
2021-12-12 11:05:24 +00:00
//! version : 0.5.34
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2021-12-15 12:57:29 +00:00
(function(t,n){e.exports?e.exports=n(gL):n(t.moment)})(Q1,function(t){t.version===void 0&&t.default&&(t=t.default);var n="0.5.34",a={},i={},o={},r={},s={},c;(!t||typeof t.version!="string")&&De("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var l=t.version.split("."),_=+l[0],d=+l[1];(_<2||_===2&&d<6)&&De("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com");function u(h){return h>96?h-87:h>64?h-29:h-48}function p(h){var V=0,Y=h.split("."),W=Y[0],Ee=Y[1]||"",ae=1,et,xe=0,b=1;for(h.charCodeAt(0)===45&&(V=1,b=-1),V;V<W.length;V++)et=u(W.charCodeAt(V)),xe=60*xe+et;for(V=0;V<Ee.length;V++)ae=ae/60,et=u(Ee.charCodeAt(V)),xe+=et*ae;return xe*b}function f(h){for(var V=0;V<h.length;V++)h[V]=p(h[V])}function m(h,V){for(var Y=0;Y<V;Y++)h[Y]=Math.round((h[Y-1]||0)+h[Y]*6e4);h[V-1]=1/0}function g(h,V){var Y=[],W;for(W=0;W<V.length;W++)Y[W]=h[V[W]];return Y}function S(h){var V=h.split("|"),Y=V[2].split(" "),W=V[3].split(""),Ee=V[4].split(" ");return f(Y),f(W),f(Ee),m(Ee,W.length),{name:V[0],abbrs:g(V[1].split(" "),W),offsets:g(Y,W),untils:Ee,population:V[5]|0}}function M(h){h&&this._set(S(h))}M.prototype={_set:function(h){this.name=h.name,this.abbrs=h.abbrs,this.untils=h.untils,this.offsets=h.offsets,this.population=h.population},_index:function(h){var V=+h,Y=this.untils,W;for(W=0;W<Y.length;W++)if(V<Y[W])return W},countries:function(){var h=this.name;return Object.keys(o).filter(function(V){return o[V].zones.indexOf(h)!==-1})},parse:function(h){var V=+h,Y=this.offsets,W=this.untils,Ee=W.length-1,ae,et,xe,b;for(b=0;b<Ee;b++)if(ae=Y[b],et=Y[b+1],xe=Y[b&&b-1],ae<et&&he.moveAmbiguousForward?ae=et:ae>xe&&he.moveInvalidForward&&(ae=xe),V<W[b]-ae*6e4)return Y[b];return Y[Ee]},abbr:function(h){return this.abbrs[this._index(h)]},offset:function(h){return De("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(h)]},utcOffset:function(h){return this.offsets[this._index(h)]}};function T(h,V){this.name=h,this.zones=V}function A(h){var V=h.toTimeString(),Y=V.match(/\([a-z ]+\)/i);Y&&Y[0]?(Y=Y[0].match(/[A-Z]/g),Y=Y?Y.join(""):void 0):(Y=V.match(/[A-Z]{3,5}/g),Y=Y?Y[0]:void 0),Y==="GMT"&&(Y=void 0),this.at=+h,this.abbr=Y,this.offset=h.getTimezoneOffset()}function N(h){this.zone=h,this.offsetScore=0,this.abbrScore=0}N.prototype.scoreOffsetAt=function(h){this.offsetScore+=Math.abs(this.zone.utcOffset(h.at)-h.offset),this.zone.abbr(h.at).replace(/[^A-Z]/g,"")!==h.abbr&&this.abbrScore++};function C(h,V){for(var Y,W;W=((V.at-h.at)/12e4|0)*6e4;)Y=new A(new Date(h.at+W)),Y.offset===h.offset?h=Y:V=Y;return h}function O(){var h=new Date().getFullYear()-2,V=new A(new Date(h,0,1)),Y=[V],W,Ee,ae;for(ae=1;ae<48;ae++)Ee=new A(new Date(h,ae,1)),Ee.offset!==V.offset&&(W=C(V,Ee),Y.push(W),Y.push(new A(new Date(W.at+6e4)))),V=Ee;for(ae=0;ae<4;ae++)Y.push(new A(new Date(h+ae,0,1))),Y.push(new A(new Date(h+ae,6,1)));return Y}function j(h,V){return h.offsetScore!==V.offsetScore?h.offsetScore-V.offsetScore:h.abbrScore!==V.abbrScore?h.abbrScore-V.abbrScore:h.zone.population!==V.zone.population?V.zone.population-h.zone.population:V.zone.name.localeCompare(h.zone.name)}function te(h,V){var Y,W;for(f(V),Y=0;Y<V.length;Y++)W=V[Y],s[W]=s[W]||{},s[W][h]=!0}function U(h){var V=h.length,Y={},W=[],Ee,ae,et;for(Ee=0;Ee<V;Ee++){et=s[h[Ee].offset]||{};for(ae in et)et.hasOwnProperty(ae)&&(Y[ae]=!0)}for(Ee in Y)Y.hasOwnProperty(Ee)&&W.push(r[Ee]);return W}function k(){try{var h=Intl.DateTimeFormat().resolvedOptions().timeZone;if(h&&h.length>3){var V=r[Ne(h)];if(V)return V;De("Moment Timezone found "+h+" from the Intl api, but did not have that data loaded.")}}catch{}var Y=O(),W=Y.length,Ee=U(Y),ae=[],et,xe,b;for(xe=0;xe<Ee.length;xe++){for(et=new N(ve(Ee[xe]),W),b=0;b<W;b++)et.scoreOffsetAt(Y[b]);ae.push(et)}return ae.sort(j),ae.length>0?ae[0].zone.name:void 0}function Ae(h){return(!c||h)&&(c=k()),c}function Ne(h){return(h||"").toLowerCase().replace(/\//g,"_")}function Ie(h){var V,Y,W,Ee;for(typeof h=="string"&&(h=[h]),V=0;V<h.length;V++)W=h[V].split("|