var bC=Object.create;var tu=Object.defineProperty;var SC=Object.getOwnPropertyDescriptor;var xC=Object.getOwnPropertyNames;var EC=Object.getPrototypeOf,LC=Object.prototype.hasOwnProperty;var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var TC=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of xC(t))!LC.call(e,s)&&s!==r&&tu(e,s,{get:()=>t[s],enumerable:!(o=SC(t,s))||o.enumerable});return e};var g=(e,t,r)=>(r=e!=null?bC(EC(e)):{},TC(t||!e||!e.__esModule?tu(r,"default",{value:e,enumerable:!0}):r,e));var Ti=L((pq,Us)=>{var CC=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function s(i,a){if(!o[i]){o[i]={};for(var l=0;l>>8,l[p*2+1]=d%256}return l},decompressFromUint8Array:function(i){if(i==null)return n.decompress(i);for(var a=new Array(i.length/2),l=0,p=a.length;l>1}else{for(c=1,p=0;p>1}m--,m==0&&(m=Math.pow(2,b),b++),delete h[y]}else for(c=d[y],p=0;p>1;m--,m==0&&(m=Math.pow(2,b),b++),d[u]=w++,y=String(v)}if(y!==""){if(Object.prototype.hasOwnProperty.call(h,y)){if(y.charCodeAt(0)<256){for(p=0;p>1}else{for(c=1,p=0;p>1}m--,m==0&&(m=Math.pow(2,b),b++),delete h[y]}else for(c=d[y],p=0;p>1;m--,m==0&&(m=Math.pow(2,b),b++)}for(c=2,p=0;p>1;for(;;)if(S=S<<1,x==a-1){f.push(l(S));break}else x++;return f.join("")},decompress:function(i){return i==null?"":i==""?null:n._decompress(i.length,32768,function(a){return i.charCodeAt(a)})},_decompress:function(i,a,l){var p=[],c,d=4,h=4,v=3,u="",y=[],m,w,b,f,S,x,T,E={val:l(0),position:a,index:1};for(m=0;m<3;m+=1)p[m]=m;for(b=0,S=Math.pow(2,2),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;switch(c=b){case 0:for(b=0,S=Math.pow(2,8),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;T=e(b);break;case 1:for(b=0,S=Math.pow(2,16),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;T=e(b);break;case 2:return""}for(p[3]=T,w=T,y.push(T);;){if(E.index>i)return"";for(b=0,S=Math.pow(2,v),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;switch(T=b){case 0:for(b=0,S=Math.pow(2,8),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;p[h++]=e(b),T=h-1,d--;break;case 1:for(b=0,S=Math.pow(2,16),x=1;x!=S;)f=E.val&E.position,E.position>>=1,E.position==0&&(E.position=a,E.val=l(E.index++)),b|=(f>0?1:0)*x,x<<=1;p[h++]=e(b),T=h-1,d--;break;case 2:return y.join("")}if(d==0&&(d=Math.pow(2,v),v++),p[T])u=p[T];else if(T===h)u=w+w.charAt(0);else return null;y.push(u),p[h++]=w+u.charAt(0),d--,w=u,d==0&&(d=Math.pow(2,v),v++)}}};return n}();typeof Us<"u"&&Us!=null&&(Us.exports=CC)});var Or=L((Ja,Jy)=>{var Mk=Object.prototype.hasOwnProperty;Ja=function(e,t){return Mk.call(e,t)};Jy.exports=Ja});var Ee=L((on,Zy)=>{var kk=Or();Object.keys?on=Object.keys:on=function(e){var t=[];for(var r in e)kk(e,r)&&t.push(r);return t};Zy.exports=on});var Dr=L((sn,Qy)=>{var Ik=Ee();sn=function(e){return jk.test(e)?e.replace(Uk,Ak):e};var Ky=sn.map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Yy="(?:"+Ik(Ky).join("|")+")",jk=new RegExp(Yy),Uk=new RegExp(Yy,"g"),Ak=function(e){return Ky[e]};Qy.exports=sn});var Pe=L((Za,Xy)=>{Za=function(e){return e==null?"":e.toString()};Xy.exports=Za});var tv=L((Ka,ev)=>{Ka=function(e,t,r){return Array.prototype.indexOf.call(e,t,r)};ev.exports=Ka});var ot=L((Ya,rv)=>{var Pk=Object.prototype.toString;Ya=function(e){return Pk.call(e)};rv.exports=Ya});var ee=L((Qa,ov)=>{var Hk=ot();Qa=function(e){return Hk(e)==="[object String]"};ov.exports=Qa});var Re=L((Xa,sv)=>{var qk=ot();Xa=function(e){return qk(e)==="[object Number]"};sv.exports=Xa});var Ie=L((el,nv)=>{var Nk=ot();el=function(e){var t=Nk(e);return t==="[object Function]"||t==="[object GeneratorFunction]"||t==="[object AsyncFunction]"};nv.exports=el});var Tt=L((tl,iv)=>{var Ok=Re(),Dk=Ie(),Rk=Math.pow(2,53)-1;tl=function(e){if(!e)return!1;var t=e.length;return Ok(t)&&t>=0&&t<=Rk&&!Dk(e)};iv.exports=tl});var Se=L((rl,av)=>{rl=function(e){return e===void 0};av.exports=rl});var sl=L((ol,lv)=>{var $k=Se();ol=function(e,t,r){if($k(t))return e;switch(r??3){case 1:return function(o){return e.call(t,o)};case 3:return function(o,s,n){return e.call(t,o,s,n)};case 4:return function(o,s,n,i){return e.call(t,o,s,n,i)}}return function(){return e.apply(t,arguments)}};lv.exports=ol});var G=L((nl,cv)=>{var Bk=Tt(),_k=Ee(),zk=sl();nl=function(e,t,r){t=zk(t,r);var o,s;if(Bk(e))for(o=0,s=e.length;o{var Fk=G();il=function(e){var t=[];return Fk(e,function(r){t.push(r)}),t};pv.exports=il});var Le=L((al,uv)=>{var Wk=tv(),Vk=ee(),Gk=Tt(),Jk=dv();al=function(e,t){return Vk(e)?e.indexOf(t)>-1:(Gk(e)||(e=Jk(e)),Wk(e,t)>=0)};uv.exports=al});var st=L((ll,mv)=>{ll=function(e,t){return e.indexOf(t)===0};mv.exports=ll});var pl=L((cl,fv)=>{var Zk=Pe();cl=function(e){return Zk(e).replace(Kk,function(t){switch(t){case'"':case"'":case"\\":return"\\"+t;case` `:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var Kk=/["'\\\n\r\u2028\u2029]/g;fv.exports=cl});var ul=L((dl,gv)=>{dl=function(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r};gv.exports=dl});var $e=L((nn,hv)=>{var Yk=ot();Array.isArray?nn=Array.isArray:nn=function(e){return Yk(e)==="[object Array]"};hv.exports=nn});var vv=L((ml,yv)=>{var Qk=ot();ml=function(e){return Qk(e)==="[object Arguments]"};yv.exports=ml});var an=L((fl,wv)=>{var Xk=Tt(),eI=$e(),tI=ee(),rI=vv(),oI=Ee();fl=function(e){return e==null?!0:Xk(e)&&(eI(e)||tI(e)||rI(e))?e.length===0:oI(e).length===0};wv.exports=fl});var ln=L((gl,Sv)=>{var sI=Se(),bv=G();gl=function(e,t){return function(r){return bv(arguments,function(o,s){if(s!==0){var n=e(o);bv(n,function(i){(!t||sI(r[i]))&&(r[i]=o[i])})}}),r}};Sv.exports=gl});var je=L((hl,xv)=>{hl=function(e){var t=typeof e;return!!e&&(t==="function"||t==="object")};xv.exports=hl});var cn=L((yl,Tv)=>{var nI=je(),iI=Ie(),Ev=Object.getPrototypeOf,Lv={}.constructor;yl=function(e){if(nI(e)){if(Ev)return Ev(e);var t=e.__proto__;if(t||t===null)return t;if(iI(e.constructor))return e.constructor.prototype;if(e instanceof Lv)return Lv.prototype}};Tv.exports=yl});var Mv=L((vl,Cv)=>{var aI=Ee(),lI=ln();vl=lI(aI);Cv.exports=vl});var Iv=L((wl,kv)=>{var cI=Ee();wl=function(e,t){var r=cI(t),o=r.length;if(e==null)return!o;e=Object(e);for(var s=0;s{var pI=Mv(),dI=Iv();bl=function(e){return e=pI({},e),function(t){return dI(t,e)}};jv.exports=bl});var Pv=L((Sl,Av)=>{Sl=function(e){return e};Av.exports=Sl});var pn=L((xl,Hv)=>{var uI=Or(),mI=$e();xl=function(e,t){if(mI(e))return e;if(t&&uI(t,e))return[e];var r=[];return e.replace(fI,function(o,s,n,i){r.push(n?i.replace(gI,"$1"):s||o)}),r};var fI=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gI=/\\(\\)?/g;Hv.exports=xl});var Ll=L((El,qv)=>{var hI=Se(),yI=pn();El=function(e,t){t=yI(t,e);var r;for(r=t.shift();!hI(r);){if(e=e[r],e==null)return;r=t.shift()}return e};qv.exports=El});var Ov=L((Tl,Nv)=>{var vI=$e(),wI=Ll();Tl=function(e){return vI(e)?function(t){return wI(t,e)}:bI(e)};function bI(e){return function(t){return t?.[e]}}Nv.exports=Tl});var tr=L((Cl,Dv)=>{var SI=Ie(),xI=je(),EI=$e(),LI=sl(),TI=Uv(),CI=Pv(),MI=Ov();Cl=function(e,t,r){return e==null?CI:SI(e)?LI(e,t,r):xI(e)&&!EI(e)?TI(e):MI(e)};Dv.exports=Cl});var Rr=L((Ml,Rv)=>{var kI=tr(),II=G();Ml=function(e,t,r){var o=[];return t=kI(t,r),II(e,function(s,n,i){t(s,n,i)&&o.push(s)}),o};Rv.exports=Ml});var Ho=L((kl,$v)=>{var jI=Rr();kl=function(e,t){return t=t||UI,jI(e,function(r,o,s){for(var n=s.length;++o{var Bv=Ee(),AI=cn(),PI=Ho(),Il=Object.getOwnPropertyNames,_v=Object.getOwnPropertySymbols;jl=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.prototype,o=r===void 0?!0:r,s=t.unenumerable,n=s===void 0?!1:s,i=t.symbol,a=i===void 0?!1:i,l=[];if((n||a)&&Il){var p=Bv;n&&Il&&(p=Il);do l=l.concat(p(e)),a&&_v&&(l=l.concat(_v(e)));while(o&&(e=AI(e))&&e!==Object.prototype);l=PI(l)}else if(o)for(var c in e)l.push(c);else l=Bv(e);return l};zv.exports=jl});var Ct=L((Ul,Fv)=>{var HI=ln(),qI=qo();Ul=HI(qI,!0);Fv.exports=Ul});var $r=L((Al,Wv)=>{var NI=Ct(),OI=Se();Al=function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};NI(r,DI);var o=r.ellipsis,s=r.separator,n=e.length;if(t>n)return e;var i=t-o.length;if(i<1)return o;var a=e.slice(0,i);if(OI(s))return a+o;if(e.indexOf(s,i)!==i){var l=a.lastIndexOf(s);l>-1&&(a=a.slice(0,l))}return a+o};var DI={ellipsis:"..."};Wv.exports=Al});var Br=L((Pl,Vv)=>{Pl=function(e){return e.length<1?e:e[0].toUpperCase()+e.slice(1)};Vv.exports=Pl});var Ge=L((Hl,Jv)=>{var RI=tr(),$I=Ee(),BI=Tt();Hl=function(e,t,r){t=RI(t,r);for(var o=!BI(e)&&$I(e),s=(o||e).length,n=Array(s),i=0;i{var _I=/^\s+/;ql=function(e,t){if(t==null)return e.trimLeft?e.trimLeft():e.replace(_I,"");for(var r=0,o=e.length,s=t.length,n=!0,i,a;n&&r=o?"":e.substr(r,o)};Zv.exports=ql});var Qv=L((Nl,Yv)=>{Nl=function(e,t){if(t==null){if(e.trimRight)return e.trimRight();t=` \r \f\v`}for(var r=e.length-1,o=t.length,s=!0,n,i;s&&r>=0;)for(s=!1,n=-1,i=e.charAt(r);++n=0?e.substring(0,r+1):""};Yv.exports=Nl});var Be=L((Ol,Xv)=>{var zI=Kv(),FI=Qv();Ol=function(e,t){return t==null&&e.trim?e.trim():zI(FI(e,t),t)};Xv.exports=Ol});var dn=L((Dl,ew)=>{Dl=typeof window=="object"&&typeof document=="object"&&document.nodeType===9;ew.exports=Dl});var yt=L((Rl,tw)=>{var WI=dn();Rl=WI?window:global;tw.exports=Rl});var Oo=L(($l,rw)=>{$l=function(e){var t=e?e.length:0;if(t)return e[t-1]};rw.exports=$l});var sw=L((Bl,ow)=>{var VI=G(),GI=Se(),JI=Ie();Bl=function(e,t){GI(t)&&(t=!0);var r=JI(t),o={};return VI(e,function(s){o[s]=r?t(s):t}),o};ow.exports=Bl});var Mt=L((_l,nw)=>{var ZI=Pe();_l=function(e){return ZI(e).toLocaleLowerCase()};nw.exports=_l});var pw=L((zl,cw)=>{var un=Oo(),KI=sw(),mn=st(),iw=Mt();zl=function(e,t){for(var r=[],o,s=e;e;){if(o=!0,!un(r)||!XI[un(r)]){if(mn(e,"");n>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1)}else if(mn(e,"]*>")).exec(e);if(d){var h=e.substring(0,d.index);e=e.substring(d.index+d[0].length),h&&t.text&&t.text(h)}u("",un(r))}if(s===e)throw Error("Parse Error: "+e);s=e}u();function v(y,m,w,b){if(m=iw(m),b=!!b,b||r.push(m),t.start){var f={};w.replace(QI,function(S,x,T,E,U){f[x]=T||E||U||""}),t.start(m,f,b)}}function u(y,m){m=iw(m);var w;if(!m)w=0;else for(w=r.length-1;w>=0&&r[w]!==m;w--);if(w>=0){for(var b=r.length-1;b>=w;b--)t.end&&t.end(r[b]);r.length=w}}};var YI=/^\s]+))?)*)\s*(\/?)>/i,aw=/^<\/([-A-Za-z0-9_]+)[^>]*>/,lw=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,QI=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,XI=KI("script,style".split(","));cw.exports=zl});var Je=L((Fl,dw)=>{var ej=ln(),tj=qo();Fl=ej(tj);dw.exports=Fl});var _e=L((Wl,uw)=>{var rj=Tt(),oj=Ge(),sj=$e(),nj=ee();Wl=function(e){return e?sj(e)?e:rj(e)&&!nj(e)?oj(e):[e]:[]};uw.exports=Wl});var Gl=L((Vl,fw)=>{var ij=je();Vl=function(e){if(!ij(e))return{};if(mw)return mw(e);function t(){}return t.prototype=e,new t};var mw=Object.create;fw.exports=Vl});var hw=L((Jl,gw)=>{var aj=Gl();Jl=function(e,t){e.prototype=aj(t.prototype)};gw.exports=Jl});var Kl=L((Zl,yw)=>{var lj=Ie();Zl=typeof wx<"u"&&lj(wx.openLocation);yw.exports=Zl});var kt=L((fn,xw)=>{var vw=Je(),ww=_e(),bw=hw(),cj=Ll(),pj=Kl();fn=function(e,t){return dj.extend(e,t)};function Sw(e,t,r){r=r||{};var o=t.className||cj(t,"initialize.name")||"";delete t.className;var s=function(){var n=ww(arguments);return this.initialize?this.initialize.apply(this,n)||this:this};if(!pj)try{s=new Function("toArr","return function "+o+"(){var args = toArr(arguments);return this.initialize ? this.initialize.apply(this, args) || this : this;};")(ww)}catch{}return bw(s,e),s.prototype.constructor=s,s.extend=function(n,i){return Sw(s,n,i)},s.inherits=function(n){bw(s,n)},s.methods=function(n){return vw(s.prototype,n),s},s.statics=function(n){return vw(s,n),s},s.methods(t).statics(r),s}var dj=fn.Base=Sw(Object,{className:"Base",callSuper:function(e,t,r){var o=e.prototype[t];return o.apply(this,r)},toString:function(){return this.constructor.name}});xw.exports=fn});var Lw=L((Yl,Ew)=>{Yl=function(e){var t=e.length,r=Array(t);t--;for(var o=0;o<=t;o++)r[t-o]=e[o];return r};Ew.exports=Yl});var Xl=L((Ql,Tw)=>{var uj=kt(),mj=Lw();Ql=uj({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(e){return this._items.push(e),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(e,t){t=arguments.length>1?t:this;for(var r=this._items,o=this.size-1,s=0;o>=0;o--,s++)e.call(t,r[o],s,this)},toArr:function(){return mj(this._items)}});Tw.exports=Ql});var Mw=L((ec,Cw)=>{var fj=tr(),gj=Ee();ec=function(e,t,r){t=fj(t,r);for(var o=gj(e),s=o.length,n={},i=0;i{var hj=pw(),yj=Xl(),Iw=$e(),kw=G(),vj=ee(),wj=Mw();function bj(e){var t=[],r=new yj;return hj(e,{start:function(o,s){s=wj(s,function(n){return Sj(n)}),r.push({tag:o,attrs:s})},end:function(){var o=r.pop();if(!r.size){t.push(o);return}var s=r.peek();Iw(s.content)||(s.content=[]),s.content.push(o)},comment:function(o){var s=""),n=r.peek();if(!n){t.push(s);return}n.content||(n.content=[]),n.content.push(s)},text:function(o){var s=r.peek();if(!s){t.push(o);return}s.content||(s.content=[]),s.content.push(o)}}),t}function tc(e){var t="";return Iw(e)?kw(e,function(r){return t+=tc(r)}):vj(e)?t=e:(t+="<".concat(e.tag),kw(e.attrs,function(r,o){return t+=" ".concat(o,'="').concat(xj(r),'"')}),t+=">",e.content&&(t+=tc(e.content)),t+="")),t}var Sj=function(e){return e.replace(/"/g,'"')},xj=function(e){return e.replace(/"/g,""")};rc={parse:bj,stringify:tc};jw.exports=rc});var It=L((oc,Aw)=>{var Ej=Re(),Uw=je(),Lj=Ie(),Tj=ee();oc=function(e){if(Ej(e))return e;if(Uw(e)){var t=Lj(e.valueOf)?e.valueOf():e;e=Uw(t)?t+"":t}return Tj(e)?+e:e===0?e:+e};Aw.exports=oc});var Hw=L((sc,Pw)=>{var Cj=ot();sc=typeof process<"u"&&Cj(process)==="[object process]";Pw.exports=sc});var Ro=L((nc,qw)=>{var Mj=dn(),kj=Hw();nc=function(e){!e&&Mj&&(e=navigator.userAgent);function t(n){return e.indexOf(n)>-1}if(e){if(e=e.toLowerCase(),t("windows phone"))return"windows phone";if(t("win"))return"windows";if(t("android"))return"android";if(t("ipad")||t("iphone")||t("ipod"))return"ios";if(t("mac"))return"os x";if(t("linux"))return"linux"}else if(kj){var r=process,o=r.platform,s=r.env;if(o==="win32"||s.OSTYPE==="cygwin"||s.OSTYPE==="msys")return"windows";if(o==="darwin")return"os x";if(o==="linux")return"linux"}return"unknown"};qw.exports=nc});var gn=L((ic,Nw)=>{ic=function(){};Nw.exports=ic});var $o=L((ac,Ow)=>{var Ij=gn();ac=function(e,t){t=t||Ij;var r=new Image;r.onload=function(){t(null,r)},r.onerror=function(o){t(o)},r.src=e};Ow.exports=ac});var rr=L((lc,Bw)=>{var $w=yt(),hn=$w.getComputedStyle,Dw=$w.document;lc=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.display,o=r===void 0?!0:r,s=t.visibility,n=s===void 0?!1:s,i=t.opacity,a=i===void 0?!1:i,l=t.size,p=l===void 0?!1:l,c=t.viewport,d=c===void 0?!1:c,h=t.overflow,v=h===void 0?!1:h,u=hn(e);if(o){var y=e.tagName;if(y==="BODY"||y==="HTML"||u.position==="fixed"){if(u.display==="none")return!0;for(var m=e;m=m.parentElement;){var w=hn(m);if(w.display==="none")return!0}}else if(e.offsetParent===null)return!0}if(n&&u.visibility==="hidden")return!0;if(a){if(u.opacity==="0")return!0;for(var b=e;b=b.parentElement;){var f=hn(b);if(f.opacity==="0")return!0}}var S=e.getBoundingClientRect();if(p&&(S.width===0||S.height===0))return!0;if(d){var x={top:0,left:0,right:Dw.documentElement.clientWidth,bottom:Dw.documentElement.clientHeight};return Rw(S,x)}if(v)for(var T=e;T=T.parentElement;){var E=hn(T),U=E.overflow;if(U==="scroll"||U==="hidden"){var O=T.getBoundingClientRect();if(Rw(S,O))return!0}}return!1};function Rw(e,t){return e.rightt.right||e.bottomt.bottom}Bw.exports=lc});var wn=L((uc,nb)=>{uc=function(e){return e===!0||e===!1};nb.exports=uc});var ab=L((mc,ib)=>{mc=function(e){return e==null};ib.exports=mc});var gc=L((fc,lb)=>{var qj=ab();fc=function(e){if(qj(e))return"";try{return Nj.call(e)}catch{}try{return e+""}catch{}return""};var Nj=Function.prototype.toString;lb.exports=fc});var yc=L((hc,pb)=>{var Oj=je(),cb=Ie();hc=function(e){return Oj(e)&&cb(e.then)&&cb(e.catch)};pb.exports=hc});var wc=L((vc,db)=>{var Dj=Re();vc=function(e){return Dj(e)&&e!==+e};db.exports=vc});var mb=L((bc,ub)=>{var Rj=Ie();bc=function(e){return e==null?!1:e._isBuffer?!0:e.constructor&&Rj(e.constructor.isBuffer)&&e.constructor.isBuffer(e)};ub.exports=bc});var bn=L((Sc,fb)=>{var $j=ot(),Bj=wc(),_j=Mt(),zj=mb();Sc=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r;return e===null&&(r="Null"),e===void 0&&(r="Undefined"),Bj(e)&&(r="NaN"),zj(e)&&(r="Buffer"),r||(r=$j(e).match(Fj),r&&(r=r[1])),r?t?_j(r):r:""};var Fj=/^\[object\s+(.*?)]$/;fb.exports=Sc});var Sn=L((xc,gb)=>{xc=function(e,t){return t=t==null?e.length-1:+t,function(){var r=Math.max(arguments.length-t,0),o=new Array(r),s;for(s=0;s{var Wj=Sn();Ec=Wj(function(e,t){for(var r=e.length,o=0,s=t.length;o{var Vj=kt(),Gj=ee(),Jj=G(),Zj=yb();Bo=Vj({className:"Select",initialize:function(e){if(this.length=0,!e)return this;if(Gj(e))return Kj.find(e);e.nodeType&&(this[0]=e,this.length=1)},find:function(e){var t=new Bo;return this.each(function(){Zj(t,this.querySelectorAll(e))}),t},each:function(e){return Jj(this,function(t,r){e.call(t,r,t)}),this}});var Kj=new Bo(document);vb.exports=Bo});var nt=L((Tc,wb)=>{var Yj=ee(),Qj=_e(),Xj=Lc();Tc=function(e){return Qj(Yj(e)?new Xj(e):e)};wb.exports=Tc});var Sb=L((Cc,bb)=>{var eU=nt();Cc=function(e){e=eU(e);var t=e[0],r=t.getBoundingClientRect();return{left:r.left+window.pageXOffset,top:r.top+window.pageYOffset,width:Math.round(r.width),height:Math.round(r.height)}};bb.exports=Cc});var Eb=L((kc,xb)=>{var tU=G(),rU=nt();kc=function(e){e=rU(e),tU(e,function(t){oU(t)&&(t.style.display=sU(t.nodeName))})};function oU(e){return getComputedStyle(e,"").getPropertyValue("display")=="none"}var Mc={};function sU(e){var t,r;return Mc[e]||(t=document.createElement(e),document.documentElement.appendChild(t),r=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),r=="none"&&(r="block"),Mc[e]=r),Mc[e]}xb.exports=kc});var jc=L((Ic,Lb)=>{var nU=/([A-Z])/g,iU=/[_.\- ]+/g,aU=/(^-)|(-$)/g;Ic=function(e){return e=e.replace(nU,"-$1").toLowerCase().replace(iU,"-").replace(aU,""),e.split("-")};Lb.exports=Ic});var Ac=L((Uc,Tb)=>{var lU=jc();Uc=function(e){return lU(e).join("-")};Tb.exports=Uc});var Mb=L((Pc,Cb)=>{var cU=Or();Pc=function(e,t){var r=function(o){var s=r.cache,n=""+(t?t.apply(this,arguments):o);return cU(s,n)||(s[n]=e.apply(this,arguments)),s[n]};return r.cache={},r};Cb.exports=Pc});var Ib=L((Hc,kb)=>{var pU=jc();Hc=function(e){var t=pU(e),r=t[0];return t.shift(),t.forEach(dU,t),r+=t.join(""),r};function dU(e,t){this[t]=e.replace(/\w/,function(r){return r.toUpperCase()})}kb.exports=Hc});var Nb=L((_o,qb)=>{var Pb=Mb(),uU=Ib(),mU=Br(),jb=Or(),fU=Ac();_o=Pb(function(e){if(e=e.replace(Hb,""),e=uU(e),jb(Ab,e))return e;for(var t=Ub.length;t--;){var r=Ub[t]+mU(e);if(jb(Ab,r))return r}return e});_o.dash=Pb(function(e){var t=_o(e);return(Hb.test(t)?"-":"")+fU(t)});var Ub=["O","ms","Moz","Webkit"],Hb=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,Ab=document.createElement("p").style;qb.exports=_o});var xn=L((qc,Rb)=>{var gU=ee(),hU=je(),yU=Ac(),vU=Se(),wU=Le(),bU=Re(),SU=nt(),Db=Nb(),Ob=G();qc=function(e,t,r){e=SU(e);var o=vU(r)&&gU(t);if(o)return xU(e[0],t);var s=t;hU(s)||(s={},s[t]=r),EU(e,s)};function xU(e,t){return e.style[Db(t)]||getComputedStyle(e,"").getPropertyValue(t)}function EU(e,t){Ob(e,function(r){var o=";";Ob(t,function(s,n){n=Db.dash(n),o+=n+":"+TU(n,s)+";"}),r.style.cssText+=o})}var LU=["column-count","columns","font-weight","line-weight","opacity","z-index","zoom"];function TU(e,t){var r=bU(t)&&!wU(LU,yU(e));return r?t+"px":t}Rb.exports=qc});var Nc=L((Ln,Bb)=>{var CU=_e(),MU=je(),kU=ee(),En=G(),IU=Se(),$b=nt();Ln=function(e,t,r){e=$b(e);var o=IU(r)&&kU(t);if(o)return jU(e[0],t);var s=t;MU(s)||(s={},s[t]=r),UU(e,s)};Ln.remove=function(e,t){e=$b(e),t=CU(t),En(e,function(r){En(t,function(o){r.removeAttribute(o)})})};function jU(e,t){return e.getAttribute(t)}function UU(e,t){En(e,function(r){En(t,function(o,s){r.setAttribute(s,o)})})}Bb.exports=Ln});var zb=L((Dc,_b)=>{var AU=Se(),PU=G(),HU=nt();Dc={html:Oc("innerHTML"),text:Oc("textContent"),val:Oc("value")};function Oc(e){return function(t,r){t=HU(t);var o=t[0];if(AU(r))return o?o[e]:"";o&&PU(t,function(s){s[e]=r})}}_b.exports=Dc});var Wb=L((Rc,Fb)=>{var qU=G(),NU=nt();Rc=function(e){e=NU(e),qU(e,function(t){var r=t.parentNode;r&&r.removeChild(t)})};Fb.exports=Rc});var Gb=L(($c,Vb)=>{var OU=Nc(),DU=ee(),RU=je(),$U=G(),hW=nt();$c=function(e,t,r){var o=t;return DU(t)&&(o="data-"+t),RU(t)&&(o={},$U(t,function(s,n){o["data-"+n]=s})),OU(e,o,r)};Vb.exports=$c});var Zb=L((Tn,Jb)=>{var BU=kt(),_U=Le();function Bc(){return!0}function _c(){return!1}function zU(e){var t=this.events[e.type],r,o=FU.call(this,e,t);e=new Tn.Event(e);for(var s=0,n,i,a;(i=o[s++])&&!e.isPropagationStopped();)for(e.curTarget=i.el,n=0;(r=i.handlers[n++])&&!e.isImmediatePropagationStopped();)a=r.handler.apply(i.el,[e]),a===!1&&(e.preventDefault(),e.stopPropagation())}function FU(e,t){var r=e.target,o=[],s=t.delegateCount,n,i,a,l;if(r.nodeType)for(;r!==this;r=r.parentNode||this){for(i=[],l=0;l{var WU=Zb(),VU=Se(),GU=nt(),JU=G();zc={on:Kb("add"),off:Kb("remove")};function Kb(e){return function(t,r,o,s){t=GU(t),VU(s)&&(s=o,o=void 0),JU(t,function(n){WU[e](n,r,o,s)})}}Yb.exports=zc});var Vc=L((Wc,Qb)=>{var ZU=tr(),KU=Tt(),YU=Ee();Wc=function(e,t,r){t=ZU(t,r);for(var o=!KU(e)&&YU(e),s=(o||e).length,n=0;n{var QU=_e(),XU=Vc(),Cn=nt(),e1=ee(),zo=G();or={add:function(e,t){e=Cn(e);var r=Xb(t);zo(e,function(o){var s=[];zo(r,function(n){or.has(o,n)||s.push(n)}),s.length!==0&&(o.className+=(o.className?" ":"")+s.join(" "))})},has:function(e,t){e=Cn(e);var r=new RegExp("(^|\\s)"+t+"(\\s|$)");return XU(e,function(o){return r.test(o.className)})},toggle:function(e,t){e=Cn(e),zo(e,function(r){if(!or.has(r,t))return or.add(r,t);or.remove(r,t)})},remove:function(e,t){e=Cn(e);var r=Xb(t);zo(e,function(o){zo(r,function(s){o.classList.remove(s)})})}};function Xb(e){return e1(e)?e.split(/\s+/):QU(e)}eS.exports=or});var rS=L((Jc,tS)=>{var t1=G(),r1=nt(),o1=ee();Jc={before:Mn("beforebegin"),after:Mn("afterend"),append:Mn("beforeend"),prepend:Mn("afterbegin")};function Mn(e){return function(t,r){t=r1(t),t1(t,function(o){if(o1(r))o.insertAdjacentHTML(e,r);else{var s=o.parentNode;switch(e){case"beforebegin":s&&s.insertBefore(r,o);break;case"afterend":s&&s.insertBefore(r,o.nextSibling);break;case"beforeend":o.appendChild(r);break;case"afterbegin":o.prepend(r);break}}})}}tS.exports=Jc});var vt=L((sr,iS)=>{var nS=Lc(),s1=Sb(),n1=Eb(),i1=xn(),oS=Nc(),Zc=zb(),a1=Oo(),l1=Wb(),c1=Gb(),sS=Fc(),kn=Gc(),In=rS(),jn=Se(),p1=ee();sr=function(e){return new nS(e)};nS.methods({offset:function(){return s1(this)},hide:function(){return this.css("display","none")},show:function(){return n1(this),this},first:function(){return sr(this[0])},last:function(){return sr(a1(this))},get:function(e){return this[e]},eq:function(e){return sr(this[e])},on:function(e,t,r){return sS.on(this,e,t,r),this},off:function(e,t,r){return sS.off(this,e,t,r),this},html:function(e){var t=Zc.html(this,e);return jn(e)?t:this},text:function(e){var t=Zc.text(this,e);return jn(e)?t:this},val:function(e){var t=Zc.val(this,e);return jn(e)?t:this},css:function(e,t){var r=i1(this,e,t);return Kc(e,t)?r:this},attr:function(e,t){var r=oS(this,e,t);return Kc(e,t)?r:this},data:function(e,t){var r=c1(this,e,t);return Kc(e,t)?r:this},rmAttr:function(e){return oS.remove(this,e),this},remove:function(){return l1(this),this},addClass:function(e){return kn.add(this,e),this},rmClass:function(e){return kn.remove(this,e),this},toggleClass:function(e){return kn.toggle(this,e),this},hasClass:function(e){return kn.has(this,e)},parent:function(){return sr(this[0].parentNode)},append:function(e){return In.append(this,e),this},prepend:function(e){return In.prepend(this,e),this},before:function(e){return In.before(this,e),this},after:function(e){return In.after(this,e),this}});var Kc=function(e,t){return jn(t)&&p1(e)};iS.exports=sr});var cS=L((Yc,lS)=>{var d1=$e();Yc=function(e){return aS(e,[])};function aS(e,t){for(var r=e.length,o=-1,s;r--;)s=e[++o],d1(s)?aS(s,t):t.push(s);return t}lS.exports=Yc});var Xc=L((Qc,pS)=>{var u1=Sn(),m1=cS(),f1=Rr(),g1=Le();Qc=u1(function(e,t){return t=m1(t),f1(e,function(r){return!g1(t,r)})});pS.exports=Qc});var tp=L((ep,dS)=>{ep=function(e,t){var r=[];t=t||1;for(var o=0,s=Math.ceil(e.length/t);o{var Un=st(),uS=yt(),mS=Pe();An=function(e){return e.sort(fS)};An.comparator=fS;function fS(e,t){if(e=mS(e),t=mS(t),Un(e,"_")&&!Un(t,"_"))return 1;if(Un(t,"_")&&!Un(e,"_"))return-1;for(var r=/^\d+|^\D+/,o,s,n,i;;){if(e){if(!t)return 1}else return t?-1:0;if(o=e.match(r)[0],s=t.match(r)[0],n=!uS.isNaN(o),i=!uS.isNaN(s),n&&!i)return-1;if(i&&!n)return 1;if(n&&i){var a=o-s;if(a)return a;if(o.length!==s.length)return!+o&&!+s?o.length-s.length:s.length-o.length}else if(o!==s)return o{var v1=0;rp=function(e){var t=++v1+"";return e?e+t:t};bS.exports=rp});var xS=L((op,SS)=>{op=function(e,t,r){var o=e.length;t==null?t=0:t<0?t=Math.max(o+t,0):t=Math.min(t,o),r==null?r=o:r<0?r=Math.max(o+r,0):r=Math.min(r,o);for(var s=[];t{var w1=Sn(),b1=_e();sp=w1(function(e,t){return function(){var r=[];return r=r.concat(t),r=r.concat(b1(arguments)),e.apply(this,r)}});ES.exports=sp});var CS=L((np,TS)=>{np=function(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}};TS.exports=np});var kS=L((ip,MS)=>{var S1=LS(),x1=CS();ip=S1(x1,2);MS.exports=ip});var Nn=L((ap,IS)=>{var E1=je(),L1=$e(),T1=Je();ap=function(e){return E1(e)?L1(e)?e.slice():T1({},e):e};IS.exports=ap});var jt=L((On,AS)=>{var C1=kt(),jS=Or(),US=G(),M1=xS(),k1=kS(),I1=Nn();On=C1({initialize:function(){this._events=this._events||{}},on:function(e,t){return this._events[e]=this._events[e]||[],this._events[e].push(t),this},off:function(e,t){var r=this._events;if(jS(r,e)){var o=r[e].indexOf(t);return o>-1&&r[e].splice(o,1),this}},once:function(e,t){return this.on(e,k1(t)),this},emit:function(e){var t=this;if(jS(this._events,e)){var r=M1(arguments,1),o=I1(this._events[e]);return US(o,function(s){return s.apply(t,r)},this),this}},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this}},{mixin:function(e){US(["on","off","once","emit","removeAllListeners"],function(t){e[t]=On.prototype[t]}),e._events=e._events||{}}});AS.exports=On});var Fr=L((cp,zS)=>{var H1=tr();cp=function(e,t,r){var o=[];t=H1(t,r);for(var s=-1,n=e.length;++s{var FS=jt();pp=FS.extend({className:"MediaQuery",initialize:function(e){var t=this;this.callSuper(FS,"initialize"),this._listener=function(){t.emit(t.isMatch()?"match":"unmatch")},this.setQuery(e)},setQuery:function(e){this._mql&&this._mql.removeListener(this._listener),this._mql=window.matchMedia(e),this._mql.addListener(this._listener)},isMatch:function(){return this._mql.matches}});WS.exports=pp});var Wo=L((Wr,GS)=>{var q1=jt(),N1=VS(),dp=new N1("(prefers-color-scheme: dark)");Wr={get:function(){return dp.isMatch()?"dark":"light"}};q1.mixin(Wr);dp.on("match",function(){return Wr.emit("change","dark")});dp.on("unmatch",function(){return Wr.emit("change","light")});GS.exports=Wr});var bp=L((wp,jx)=>{wp=function(){for(var e=arguments,t=e[0],r=1,o=e.length;r{var B1=ee(),_1=_e(),z1=bp(),F1=Ge(),W1=Be();Sp=function(e){B1(e)&&(e=_1(e));for(var t="",r=arguments.length,o=new Array(r>1?r-1:0),s=1;s0?z1.apply(null,l):0;return W1(F1(a,function(u){return u[0]===" "?u.slice(v):u}).join(` `))};var V1=/^(\s+)\S+/;Ux.exports=Sp});var zn=L((Lp,Jx)=>{Lp=function(e){return!!(e&&e.nodeType===1)};Jx.exports=Lp});var Ko=L((Mp,Yx)=>{var Zx=zn(),Tp=ee(),Cp=st(),K1=Gc(),Y1=xn(),Kx=G(),Q1=Ie();Mp=function(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s{var eA=kt(),tA=Nn(),Qx=G(),rA=_e();Fn=eA({initialize:function(){this._listeners=[]},addListener:function(e){this._listeners.push(e)},rmListener:function(e){var t=this._listeners.indexOf(e);t>-1&&this._listeners.splice(t,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var e=this,t=rA(arguments),r=tA(this._listeners);Qx(r,function(o){return o.apply(e,t)},this)}},{mixin:function(e){Qx(["addListener","rmListener","emit","rmAllListeners"],function(t){e[t]=Fn.prototype[t]}),e._listeners=e._listeners||[]}});Xx.exports=Fn});var Gn=L((Vn,oE)=>{var Wn=eE(),Yo=Ko(),tE=Fc(),kp=xn(),oA=Le(),Ip=Je(),rE=yt();rE.ResizeObserver?Vn=Wn.extend({initialize:function(t){var r=this;if(t._resizeSensor)return t._resizeSensor;this.callSuper(Wn,"initialize");var o=new rE.ResizeObserver(function(){return r.emit()});o.observe(t),t._resizeSensor=this,this._resizeObserver=o,this._el=t},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,this._resizeObserver.unobserve(e))}}):Vn=Wn.extend({initialize:function(t){if(t._resizeSensor)return t._resizeSensor;this.callSuper(Wn,"initialize"),this._el=t,t._resizeSensor=this,oA(["absolute","relative","fixed","sticky"],kp(t,"position"))||kp(t,"position","relative"),this._appendResizeSensor(),this._bindEvent()},destroy:function(){var e=this._el;e._resizeSensor&&(this.rmAllListeners(),delete e._resizeSensor,e.removeChild(this._resizeSensorEl))},_appendResizeSensor:function(){var e=this._el,t={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},r={position:"absolute",left:"0px",top:"0px",transition:"0s"},o=Yo("div",{style:r}),s=Yo("div.resize-sensor-expand",{style:t},o),n=Yo("div.resize-sensor-shrink",{style:t},Yo("div",{style:Ip({width:"200%",height:"200%"},r)})),i=Yo("div.resize-sensor",{dir:"ltr",style:t},s,n);this._expandEl=s,this._expandChildEl=o,this._shrinkEl=n,this._resizeSensorEl=i,e.appendChild(i),this._resetExpandShrink()},_bindEvent:function(){var e=this;tE.on(this._expandEl,"scroll",function(){return e._onScroll()}),tE.on(this._shrinkEl,"scroll",function(){return e._onScroll()})},_onScroll:function(){this.emit(),this._resetExpandShrink()},_resetExpandShrink:function(){var e=this._el,t=e.offsetWidth,r=e.offsetHeight;kp(this._expandChildEl,{width:t+10,height:r+10}),Ip(this._expandEl,{scrollLeft:t+10,scrollTop:r+10}),Ip(this._shrinkEl,{scrollLeft:t+10,scrollTop:r+10})}});oE.exports=Vn});var Up=L((jp,sE)=>{jp=function(e,t,r){var o;return function(){var s=this,n=arguments,i=function(){o=null,e.apply(s,n)};r||clearTimeout(o),(!r||!o)&&(o=setTimeout(i,t))}};sE.exports=jp});var Pp=L((Ap,nE)=>{var sA=Up();Ap=function(e,t){return sA(e,t,!0)};nE.exports=Ap});var Jn=L((Hp,iE)=>{Hp=function(e){return e===null};iE.exports=Hp});var Qo=L((qp,aE)=>{var nA=ot();qp=function(e){return nA(e)==="[object RegExp]"};aE.exports=qp});var pE=L((Np,cE)=>{var lE=Se();Np=function(e,t,r){return lE(r)&&(r=t,t=void 0),!lE(t)&&er?r:e};cE.exports=Np});var uE=L((Op,dE)=>{Op=function(){for(var e=arguments,t=e[0],r=1,o=e.length;rt&&(t=e[r]);return t};dE.exports=Op});var fE=L((Dp,mE)=>{var iA=Re();Dp=function(e){return iA(e)&&e%1===0};mE.exports=Dp});var hE=L((Rp,gE)=>{var aA=fE();Rp=function(e){return aA(e)?e%2!==0:!1};gE.exports=Rp});var Gr=L((Zn,yE)=>{Date.now?Zn=Date.now:Zn=function(){return new Date().getTime()};yE.exports=Zn});var bE=L(($p,wE)=>{var vE=yt(),lA={down:"touchstart",move:"touchmove",up:"touchend"},cA={down:"mousedown",move:"mousemove",up:"mouseup"},pA={down:"pointerdown",move:"pointermove",up:"pointerup"},dA="PointerEvent"in vE,uA="ontouchstart"in vE;$p=function(e){return dA?pA[e]:uA?lA[e]:cA[e]};wE.exports=$p});var oL=L((Gp,rL)=>{Gp=function(e){return window.ShadowRoot?e instanceof ShadowRoot:!1};rL.exports=Gp});var nL=L((rs,sL)=>{var yA=kt();rs=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;rs||(rs=yA({initialize:function(){},observe:function(){},disconnect:function(){},takeRecords:function(){}}));sL.exports=rs});var Jp=L((oi,iL)=>{var ri=G(),vA=Ct();oi=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"js",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};vA(r,wA),e=e.replace(//g,">"),t=Ft[t];var o=0,s=[];ri(t,function(i){i.language&&(e=e.replace(i.re,function(a,l){return l?(s[o++]=oi(l,i.language,r),a.replace(l,"___subtmpl"+(o-1)+"___")):a}))}),ri(t,function(i,a){Ft[i.language]||(e=e.replace(i.re,"___"+a+"___$1___end"+a+"___"))});var n=[];return e=e.replace(/___(?!subtmpl)\w+?___/g,function(i){var a=i.substr(3,3)==="end",l=(a?i.substr(6):i.substr(3)).replace(/_/g,""),p=n.length>0?n[n.length-1]:null;return!a&&(p==null||l==p||p!=null&&t[p]&&t[p].embed!=null&&t[p].embed.indexOf(l)>-1)?(n.push(l),i):a&&l==p?(n.pop(),i):""}),ri(t,function(i,a){var l=r[i.style]?' style="'.concat(r[i.style],'"'):"";e=e.replace(new RegExp("___end"+a+"___","g"),"").replace(new RegExp("___"+a+"___","g"),'"))}),ri(t,function(i){i.language&&(e=e.replace(/___subtmpl\d+___/g,function(a){var l=parseInt(a.replace(/___subtmpl(\d+)___/,"$1"),10);return s[l]}))}),e};var wA={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},Ft={};Ft.js={comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}};Ft.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:Ft.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}};Ft.css={comment:Ft.js.comment,string:Ft.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}};iL.exports=oi});var lL=L((Zp,aL)=>{var bA=tr(),SA=Tt(),xA=Ee();Zp=function(e,t,r){t=bA(t,r);for(var o=!SA(e)&&xA(e),s=(o||e).length,n=0;n{var EA=G();Kp=function(e){var t={};return EA(e,function(r,o){t[r]=o}),t};cL.exports=Kp});var uL=L((Yp,dL)=>{var LA=ee(),TA=pL();Yp=function(e){return LA(e)?Kr[e]:CA[e]};var Kr={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,windows:91,"right windows":92,"windows menu":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(os=97;os<123;os++)Kr[String.fromCharCode(os)]=os-32;var os;for(ss=48;ss<58;ss++)Kr[ss-48]=ss;var ss;for(ns=1;ns<13;ns++)Kr["f"+ns]=ns+111;var ns;for(is=0;is<10;is++)Kr["numpad "+is]=is+96;var is,CA=TA(Kr);dL.exports=Yp});var vL=L((ed,yL)=>{var MA=jt(),kA=uL(),mL=G(),IA=Ho(),jA=Be(),UA=Ge(),fL=Ie();ed={on:function(e,t,r){fL(t)&&(r=t,t={}),e=e.split(gL),mL(e,function(o){if(o=Xp(o),t.element){var s=t,n=s.element,i=n._hotkeyListeners||{};n._hotkeyListeners=i,i[o]=i[o]||[];var a=function(l){o===hL(l)&&r(l)};i[o].push({listener:a,origin:r}),n.addEventListener("keydown",a)}else Qp.on(o,r)})},off:function(e,t,r){fL(t)&&(r=t,t={}),e=e.split(gL),mL(e,function(o){if(o=Xp(o),t.element){var s=t,n=s.element,i=n._hotkeyListeners;if(i&&i[o]){for(var a=i[o],l,p=0,c=a.length;p{var HA=ot();ld=function(e){switch(HA(e)){case"[object Error]":case"[object DOMException]":return!0;default:return e instanceof Error}};ML.exports=ld});var jL=L((cd,IL)=>{cd=function(e){var t=typeof e;return e==null||t!=="function"&&t!=="object"};IL.exports=cd});var AL=L((pd,UL)=>{var qA=It();pd=function(e){return e?(e=qA(e),e-e%1):e===0?e:0};UL.exports=pd});var qL=L((dd,HL)=>{var PL=_e();dd=function(){for(var e=PL(arguments),t=[],r=0,o=e.length;r{var NA=bn(),OA=Br(),DA=Pe(),RA=Se(),$A=Ie(),BA=Qo();ud=function(e,t){return JSON.stringify(e,_A(),t)};function _A(){var e=[],t=[];return function(r,o){if(e.length>0){var s=e.indexOf(this);s>-1?(e.splice(s+1),t.splice(s,1/0,r)):(e.push(this),t.push(r));var n=e.indexOf(o);n>-1&&(e[0]===o?o="[Circular ~]":o="[Circular ~."+t.slice(0,n).join(".")+"]")}else e.push(o);return BA(o)||$A(o)?o="["+OA(NA(o))+" "+DA(o)+"]":RA(o)&&(o=null),o}}NL.exports=ud});var fd=L((md,DL)=>{var zA=Je(),FA=gn();md=function(e,t){t=t||FA;var r=document.createElement("textarea"),o=document.body;zA(r.style,{fontSize:"12pt",border:"0",padding:"0",margin:"0",position:"absolute",left:"-9999px"}),r.value=e,o.appendChild(r),r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,e.length);try{document.execCommand("copy"),t()}catch(s){t(s)}finally{o.removeChild(r)}};DL.exports=md});var hd=L((gd,RL)=>{gd=function(e){return typeof e=="symbol"};RL.exports=gd});var BL=L((yd,$L)=>{var WA=pn(),VA=Se(),GA=Pe(),JA=hd(),ZA=ee();yd=function(e,t,r){t=WA(t,e);var o=t.pop(),s;for(s=t.shift();!VA(s);){if(!ZA(s)&&!JA(s)&&(s=GA(s)),s==="__proto__"||s==="constructor"||s==="prototype")return;e[s]||(e[s]={}),e=e[s],s=t.shift()}e[o]=r};$L.exports=yd});var FL=L((vd,zL)=>{var KA=pn(),YA=ee(),QA=je(),XA=G();vd=function(e,t,r){return YA(t)?_L(e,t,r):QA(t)&&XA(t,function(o,s){_L(e,s,o)}),e};function _L(e,t,r){for(var o=KA(t,e),s=o.pop();t=o.shift();)e[t]||(e[t]={}),e=e[t];Object.defineProperty(e,s,r)}zL.exports=vd});var VL=L((wd,WL)=>{var eP=ee(),tP=$e(),rP=Le(),oP=G();wd=function(e,t,r){if(eP(t)&&(t=[t]),tP(t)){var o=t;t=function(i,a){return rP(o,a)}}var s={},n=function(i,a){t(i,a)&&(s[a]=i)};return r&&(n=function(i,a){t(i,a)||(s[a]=i)}),oP(e,n),s};WL.exports=wd});var oT=L((Vt,rT)=>{var sP=pl(),nP=bn(),Xr=Pe(),GL=ul(),iP=gc(),QL=Ee(),cs=G(),aP=kt(),XL=cn(),lP=Xc(),cP=Je(),pP=yc(),dP=Rr(),JL=Gr(),ZL=qo(),eT=Le(),xd=je(),uP=Kl(),KL=Gl(),mP=st(),fP=BL(),gP=FL(),YL=VL(),hP=Tt();Vt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.self,o=t.startTime,s=o===void 0?JL():o,n=t.timeout,i=n===void 0?0:n,a=t.depth,l=a===void 0?0:a,p=t.curDepth,c=p===void 0?1:p,d=t.visitor,h=d===void 0?new yP:d,v=t.unenumerable,u=v===void 0?!1:v,y=t.symbol,m=y===void 0?!1:y,w=t.accessGetter,b=w===void 0?!1:w,f=t.ignore,S=f===void 0?[]:f,x="",T={visitor:h,unenumerable:u,symbol:m,accessGetter:b,depth:l,curDepth:c+1,timeout:i,startTime:s,ignore:S},E=nP(e,!1);if(E==="String")x=Qr(e);else if(E==="Number")x=Xr(e),GL(x,"Infinity")&&(x='{"value":"'.concat(x,'","type":"Number"}'));else if(E==="NaN")x='{"value":"NaN","type":"Number"}';else if(E==="Boolean")x=e?"true":"false";else if(E==="Null")x="null";else if(E==="Undefined")x='{"type":"Undefined"}';else if(E==="Symbol"){var U="Symbol";try{U=Xr(e)}catch{}x='{"value":'.concat(Qr(U),',"type":"Symbol"}')}else{if(i&&JL()-s>i)return Qr("Timeout");if(l&&c>l)return Qr("{...}");x="{";var O=[],B=h.get(e),te;if(B?(te=B.id,O.push('"reference":'.concat(te))):(te=h.set(e),O.push('"id":'.concat(te))),O.push('"type":"'.concat(E,'"')),GL(E,"Function")?O.push('"value":'.concat(Qr(iP(e)))):E==="RegExp"&&O.push('"value":'.concat(Qr(e))),!B){var Z=QL(e);if(Z.length&&O.push(bd("enumerable",Z,r||e,T)),u){var re=lP(ZL(e,{prototype:!1,unenumerable:!0}),Z);re.length&&O.push(bd("unenumerable",re,r||e,T))}if(m){var K=dP(ZL(e,{prototype:!1,symbol:!0}),function(ve){return typeof ve=="symbol"});K.length&&O.push(bd("symbol",K,r||e,T))}var Y=XL(e);if(Y&&!eT(S,Y)){var ce='"proto":'.concat(Vt(Y,cP(T,{self:r||e})));O.push(ce)}}x+=O.join(",")+"}"}return x};function bd(e,t,r,o){var s=[];return cs(t,function(n){var i,a=Object.getOwnPropertyDescriptor(r,n),l=a&&a.get,p=a&&a.set;if(!o.accessGetter&&l)i="(...)";else try{if(i=r[n],eT(o.ignore,i))return;pP(i)&&i.catch(function(){})}catch(c){i=c.message}s.push("".concat(Sd(n),":").concat(Vt(i,o))),l&&s.push("".concat(Sd("get "+Xr(n)),":").concat(Vt(a.get,o))),p&&s.push("".concat(Sd("set "+Xr(n)),":").concat(Vt(a.set,o)))}),'"'.concat(e,'":{')+s.join(",")+"}"}function Sd(e){return'"'.concat(tT(e),'"')}function Qr(e){return'"'.concat(tT(Xr(e)),'"')}function tT(e){return sP(e).replace(/\\'/g,"'").replace(/\t/g,"\\t")}var yP=aP({initialize:function(){this.id=1,this.visited=[]},set:function(e){var t=this.visited,r=this.id,o={id:r,val:e};return t.push(o),this.id++,r},get:function(e){for(var t=this.visited,r=0,o=t.length;r{typeof process=="object"&&process.nextTick?ps=process.nextTick:typeof setImmediate=="function"?ps=function(e){setImmediate(sT(e))}:ps=function(e){setTimeout(sT(e),0)};function sT(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e}nT.exports=ps});var lT=L((Ed,aT)=>{var SP=Ho(),xP=Be(),EP=Ge(),LP=_e();Ed=function(e){var t=LP(e.match(TP));return SP(EP(t,function(r){return xP(r)}))};var TP=/((https?)|(ftp)):\/\/[\w.]+[^ \f\n\r\t\v"\\<>[\]\u2100-\uFFFF(),]*/gi;aT.exports=Ed});var pT=L((Ld,cT)=>{Ld=function(e){return e.replace(/\W/g,"\\$&")};cT.exports=Ld});var uT=L((Td,dT)=>{var CP=lT(),MP=G(),kP=pT();Td=function(e,t){t=t||IP;var r=CP(e);return MP(r,function(o){e=e.replace(new RegExp(kP(o),"g"),t)}),e};function IP(e){return''+e+""}dT.exports=Td});var fT=L((ai,mT)=>{var ds=document;ai=function(e){var t=ds.createElement("body");return t.innerHTML=e,t.childNodes[0]};ds.createRange&&ds.body&&(ii=ds.createRange(),ii.selectNode(ds.body),ii.createContextualFragment&&(ai=function(e){return ii.createContextualFragment(e).childNodes[0]}));var ii;mT.exports=ai});var QT=L((hs,YT)=>{var ZT=Gr(),KT=yt(),kd=KT.performance,di=KT.process,ui;kd&&kd.now?hs=function(){return kd.now()}:di&&di.hrtime?(Id=function(){var e=di.hrtime();return e[0]*1e9+e[1]},ui=Id()-di.uptime()*1e9,hs=function(){return(Id()-ui)/1e6}):(ui=ZT(),hs=function(){return ZT()-ui});var Id;YT.exports=hs});var t0=L((jd,e0)=>{var HP=ee(),qP=kt();jd=function(e,t){return HP(e)?NP(e):OP(e,t)};function NP(e){for(var t=[],r=document.evaluate(e,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),o=0;o1&&arguments[1]!==void 0?arguments[1]:!1;if(e.nodeType===Node.DOCUMENT_NODE)return"/";for(var r=[],o=e;o;){var s=DP(o,t);if(!s||(r.push(s),s.optimized))break;o=o.parentNode}return r.reverse(),(r.length&&r[0].optimized?"":"/")+r.join("/")}function DP(e,t){var r,o=RP(e);if(o===-1)return null;switch(e.nodeType){case Node.ELEMENT_NODE:if(t&&e.getAttribute("id"))return new XT('//*[@id="'+e.getAttribute("id")+'"]',!0);r=e.localName;break;case Node.ATTRIBUTE_NODE:r="@"+e.nodeName();break;case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:r="text()";break;case Node.PROCESSING_INSTRUCTION_NODE:r="processing-instruction()";break;case Node.COMMENT_NODE:r="comment()";break;case Node.DOCUMENT_NODE:r="";break;default:r="";break}return o>0&&(r+="["+o+"]"),new XT(r,e.nodeType===Node.DOCUMENT_NODE)}function RP(e){function t(a,l){if(a===l)return!0;if(a.nodeType===Node.ELEMENT_NODE&&l.nodeType===Node.ELEMENT_NODE)return a.localName===l.localName;if(a.nodeType===l.nodeType)return!0;var p=a.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:a.nodeType,c=l.nodeType===Node.CDATA_SECTION_NODE?Node.TEXT_NODE:l.nodeType;return p===c}var r=e.parentNode?e.parentNode.children:null;if(!r)return 0;for(var o,s=0;s{var $P=ot();Ud=function(e){return $P(e)==="[object Date]"};r0.exports=Ud});var n0=L((Ad,s0)=>{Ad=function(e,t){var r="";if(t<1)return"";for(;t>0;)t&1&&(r+=e),t>>=1,e+=e;return r};s0.exports=Ad});var a0=L((Pd,i0)=>{var BP=n0(),_P=Pe();Pd=function(e,t,r){e=_P(e);var o=e.length;return r=r||" ",o{var zP=ee(),FP=o0(),mi=Pe(),WP=a0();lt=function(e,t,r,o){arguments.length===1&&zP(e)&&!JP.test(e)&&(t=e,e=void 0),e=e||new Date,FP(e)||(e=new Date(e)),t=mi(lt.masks[t]||t||lt.masks.default);var s=t.slice(0,4);(s==="UTC:"||s==="GMT:")&&(t=t.slice(4),r=!0,s==="GMT:"&&(o=!0));var n=r?"getUTC":"get",i=e[n+"Date"](),a=e[n+"Day"](),l=e[n+"Month"](),p=e[n+"FullYear"](),c=e[n+"Hours"](),d=e[n+"Minutes"](),h=e[n+"Seconds"](),v=e[n+"Milliseconds"](),u=r?0:e.getTimezoneOffset(),y={d:i,dd:At(i),ddd:lt.i18n.dayNames[a],dddd:lt.i18n.dayNames[a+7],m:l+1,mm:At(l+1),mmm:lt.i18n.monthNames[l],mmmm:lt.i18n.monthNames[l+12],yy:mi(p).slice(2),yyyy:p,h:c%12||12,hh:At(c%12||12),H:c,HH:At(c),M:d,MM:At(d),s:h,ss:At(h),l:At(v,3),L:At(Math.round(v/10)),t:c<12?"a":"p",tt:c<12?"am":"pm",T:c<12?"A":"P",TT:c<12?"AM":"PM",Z:o?"GMT":r?"UTC":(mi(e).match(GP)||[""]).pop().replace(ZP,""),o:(u>0?"-":"+")+At(Math.floor(Math.abs(u)/60)*100+Math.abs(u)%60,4),S:["th","st","nd","rd"][i%10>3?0:(i%100-i%10!=10)*i%10]};return t.replace(VP,function(m){return m in y?y[m]:m.slice(1,m.length-1)})};var At=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return WP(mi(e),t,"0")},VP=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,GP=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,JP=/\d/,ZP=/[^-+\dA-Z]/g;lt.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"};lt.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};l0.exports=lt});var w0=L((Hd,v0)=>{var KP=Gr(),YP=dn(),wt,dr,h0=0;if(YP){for(wt=window.requestAnimationFrame,dr=window.cancelAnimationFrame,ws=["ms","moz","webkit","o"],eo=0,y0=ws.length;eo{v!==void 0&&p.searchParams.set(h,String(v))});let d=e.view==="headless"||s;if(i&&(console.warn(`Deprecation notice: "lite" option is deprecated. Use "config: { mode: 'lite' }" instead.`),typeof o=="object"&&o.mode==null?o.mode="lite":p.searchParams.set("lite","true")),a&&(console.warn('Deprecation notice: The "view" option has been moved to "config.view". For headless mode use "headless: true".'),typeof o=="object"&&o.view==null&&a!=="headless"?o.view=a:p.searchParams.set("view",a)),typeof o=="string")try{new URL(o),p.searchParams.set("config",encodeURIComponent(o))}catch{throw new Error('"config" is not a valid URL or configuration object.')}else o&&typeof o=="object"&&Object.keys(o).length>0&&(o.title&&o.title!=="Untitled Project"&&p.searchParams.set("title",o.title),o.description&&o.description.length>0&&p.searchParams.set("description",o.description),c.set("config","code/"+(0,Ci.compressToEncodedURIComponent)(JSON.stringify(o))));if(r&&typeof r=="object"&&Object.keys(r).length>0)try{c.set("params",(0,Ci.compressToEncodedURIComponent)(JSON.stringify(r)))}catch{Object.keys(r).forEach(h=>{p.searchParams.set(h,encodeURIComponent(String(r[h])))})}return n&&p.searchParams.set("x",encodeURIComponent(n)),d&&p.searchParams.set("headless","true"),p.hash=c.toString(),p.href}var MC=typeof btoa=="function",Mi=typeof Buffer=="function",uq=typeof TextDecoder=="function"?new TextDecoder:void 0,ou=typeof TextEncoder=="function"?new TextEncoder:void 0,kC="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",po=Array.prototype.slice.call(kC),mq=(e=>{let t={};return e.forEach((r,o)=>t[r]=o),t})(po);var dt=String.fromCharCode.bind(String),fq=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),IC=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_");var jC=e=>{let t,r,o,s,n="",i=e.length%3;for(let a=0;a255||(o=e.charCodeAt(a++))>255||(s=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|o<<8|s,n+=po[t>>18&63]+po[t>>12&63]+po[t>>6&63]+po[t&63]}return i?n.slice(0,i-3)+"===".substring(i):n},nu=MC?e=>btoa(e):Mi?e=>Buffer.from(e,"binary").toString("base64"):jC,UC=Mi?e=>Buffer.from(e).toString("base64"):e=>{let r=[];for(let o=0,s=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?dt(192|t>>>6)+dt(128|t&63):dt(224|t>>>12&15)+dt(128|t>>>6&63)+dt(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return dt(240|t>>>18&7)+dt(128|t>>>12&63)+dt(128|t>>>6&63)+dt(128|t&63)}},PC=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,HC=e=>e.replace(PC,AC),su=Mi?e=>Buffer.from(e,"utf8").toString("base64"):ou?e=>UC(ou.encode(e)):e=>nu(HC(e)),iu=(e,t=!1)=>t?IC(su(e)):su(e);var uo=(e,t)=>{let r;return(...o)=>{r&&clearTimeout(r),r=setTimeout(()=>e.apply(null,o),typeof t=="function"?t():t)}},au=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value};var ki=e=>e.replace(/<\/script>/g,"<\\/script>"),Kt=(e,t=!0)=>e.replace(/\\/g,t?"\\\\":"\\").replace(/`/g,"\\`").replace(/<\/script>/g,"<\\/script>");var mo=()=>{let e=!1,t=navigator.userAgent.toLowerCase();return function(r){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(r)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(r.substr(0,4)))&&(e=!0)}(t||navigator.vendor||window.opera),e},Ii=()=>navigator.userAgent.includes("Mac")||navigator.platform.includes("Mac"),he=e=>Ii()?e.metaKey:e.ctrlKey;var yr=e=>!e?.startsWith("http")&&!e?.startsWith("data:"),vr=(e,t=document.baseURI)=>yr(e)?new URL(e,t).href:e,Ze=e=>(globalThis.structuredClone||(t=>JSON.parse(JSON.stringify(t,(r,o)=>o===void 0?null:o))))(e),fo=(e,t)=>Object.fromEntries(Object.entries(e).map(([r,o],s)=>[r,t(o,r,s)])),wr=(e,t)=>Object.fromEntries(Object.entries(e).filter(([r,o],s)=>t(o,r,s))),As=e=>{if("clipboard"in navigator)return navigator.clipboard.writeText(e);if(document.queryCommandSupported&&document.queryCommandSupported("copy")){let t=document.createElement("textarea");t.textContent=e,t.style.position="fixed",document.body.appendChild(t),t.select();try{return document.execCommand("copy")}catch(r){return console.warn("Copy to clipboard failed.",r),!1}finally{document.body.removeChild(t)}}return!1};var Ps=(e,t=!1)=>{try{return JSON.stringify(e,void 0,t?2:void 0)}catch{return""}},ji=()=>String(Math.random())+"-"+Date.now().toFixed();var Hs=(e,t)=>new Promise((r,o)=>{if(t&&globalThis[t])return r(globalThis[t]);if(typeof globalThis.importScripts=="function")return globalThis.importScripts(e),t&&globalThis[t]?r(globalThis[t]):r(globalThis);let s=document.createElement("script");s.src=e,s.async=!0;let n=()=>{s.removeEventListener("load",i),s.removeEventListener("error",a)},i=()=>{if(n(),!t)return r("loaded: "+e);let l=setInterval(()=>{if(window[t])return clearInterval(l),r(window[t])},5)},a=()=>{n(),o("failed to load: "+e)};s.addEventListener("load",i),s.addEventListener("error",a),document.head.appendChild(s)}),br=(e,t,r)=>{if(t&&document.getElementById(t))return;let o=document.createElement("link");o.rel="stylesheet",o.href=e,o.id=t||"styles-"+ji(),o.crossOrigin="anonymous",document.head.insertBefore(o,r?document.querySelector(r):null)};var Nt=(e,t="text/javascript")=>`data:${t};charset=UTF-8;base64,`+iu(e);var Sr=e=>e.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*$/gm,"$1"),qC=e=>e.replace(/'[^\n']*'/gm,"''").replace(/"[^\n"]*"/gm,'""').replace(/`[^`]*`/gm,"``"),Ui=e=>qC(Sr(e)),R=(e,t)=>({...t.customSettings[e]}),go=e=>{if(!e)return null;let t=null;if(e.startsWith("http")||e.startsWith("data:"))try{t=new URL(e).href}catch{try{t=new URL(decodeURIComponent(e)).href}catch{}}return t};var Ai=e=>e.charAt(0).toUpperCase()+e.slice(1),lu=e=>e.replace(/[-_.]+/g," ").trim().replace(/^([A-Z])|\s+(\w)/g,function(t,r,o){return o?o.toUpperCase():r.toLowerCase()}),bt=e=>Array.from(new Set(e));var cu=(e,t)=>{if(typeof t=="object"){Object.entries(t).forEach(([o,s])=>e.setAttribute(o,s));return}let r=t.match(/[^\s="']+\s*=\s*(('[^']*')|("[^"]*"))/g)||[];for(let o of r){let[s,...n]=o.split("="),i=n.join("=");e.setAttribute(s,i.slice(1,-1))}};var pu=e=>{let t=document.createElement("div");t.style.height=e,t.style.display="none",document.body.appendChild(t);let r=window.getComputedStyle(t).height;return document.body.removeChild(t),r},du=e=>{let t=document.createElement("div");t.style.color=e,document.body.appendChild(t);let o=window.getComputedStyle(t).getPropertyValue("color")||"rgb(77, 121, 179)";document.body.removeChild(t);let s=o.split("(")[1].split(")")[0].split(",").map(p=>Number(p)),[n,i,a,l=1]=s;return{r:n,g:i,b:a,a:l}},NC=(e,t,r,o=1)=>{let s=e/255,n=t/255,i=r/255,a=Math.min(s,n,i),l=Math.max(s,n,i),p=l-a,c=0,d=0,h=0;return p===0?c=0:l===s?c=(n-i)/p%6:l===n?c=(i-s)/p+2:c=(s-n)/p+4,c=Math.round(c*60),c<0&&(c+=360),h=(l+a)/2,d=p===0?0:p/(1-Math.abs(2*h-1)),d=+(d*100).toFixed(0),h=+(h*100).toFixed(0),{h:c,s:d,l:h,a:o}},uu=e=>{let{r:t,g:r,b:o,a:s}=du(e);return NC(t,r,o,s)},OC=(e,t,r)=>"#"+((e<<16)+(t<<8)+r).toString(16).padStart(6,"0"),mu=e=>{let{r:t,g:r,b:o}=du(e);return OC(t,r,o)};var fu=e=>{let t=e.querySelector("textarea")||e.querySelector('[role="textbox"]');if(t){let r=()=>t.tabIndex=-1;new MutationObserver(s=>{for(let n of s)n.type==="attributes"&&n.attributeName==="tabindex"&&t.tabIndex!==-1&&r()}).observe(t,{attributes:!0}),r()}};var gu=e=>{if(!e||e.tabIndex<0)return!1;switch(e.tagName){case"A":return!!e.href;case"INPUT":return e.type!=="hidden"&&!e.disabled;case"SELECT":case"TEXTAREA":case"BUTTON":return!e.disabled;default:return!1}},Pi=(e,t)=>{let r=[];for(let o of Object.keys(e))if(typeof e[o]!="function")if(!(o in t))r.push(o);else if(e[o]!==null&&typeof e[o]=="object"){let s=Pi(e[o],t[o]).map(n=>`${o}.${n}`);r.push(...s)}else e[o]!==t[o]&&r.push(o);return r},ho={APP_VERSION:"46",SDK_VERSION:"0.11.1",COMMIT_SHA:"328cc81",REPO_URL:"https://github.com/live-codes/livecodes",DOCS_BASE_URL:"/docs/"};var hu='