easy-email-pro-core 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.es.js CHANGED
@@ -1,37 +1,37 @@
1
- var au=Object.defineProperty,su=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable,Fr=(e,t,r)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))Zi.call(t,r)&&Fr(e,r,t[r]);if(sr)for(var r of sr(t))ea.call(t,r)&&Fr(e,r,t[r]);return e},X=(e,t)=>su(e,ou(t)),_e=(e,t)=>{var r={};for(var n in e)Zi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sr)for(var n of sr(e))t.indexOf(n)<0&&ea.call(e,n)&&(r[n]=e[n]);return r},ae=(e,t,r)=>Fr(e,typeof t!="symbol"?t+"":t,r),Le=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(c){i(c)}},o=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});import{mergeWith as lu,cloneDeep as Te,isArray as uu,get as re,isString as et,set as qe,camelCase as ta,omit as ot,forOwn as cu,isUndefined as jr,isNumber as du,isBoolean as pu,merge as zr,pick as hu,startCase as _u,chunk as fu,pickBy as or,identity as gu}from"lodash";import O,{useContext as Vt,useMemo as mu,isValidElement as bu}from"react";import ra from"axios";import{renderToStaticMarkup as $t}from"react-dom/server";function gt(...e){return e.filter(t=>typeof t=="string").join(" ")}function yu(e){return e}function vu(e){return e}function Y(e,t){return lu(Te(e),Te(t),(r,n)=>uu(n)?n:void 0)}function na(e,t,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i}var Gt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wu(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var ia={exports:{}};function Hr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vr={exports:{}};const xu=wu(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var aa;Vr.exports;function pe(){return aa||(aa=1,Vr.exports=(e=e||function(t,r){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&Gt!==void 0&&Gt.crypto&&(n=Gt.crypto),!n)try{n=xu}catch{}var i=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function u(){}return function(m){var E;return u.prototype=m,E=new u,u.prototype=null,E}}(),o={},s=o.lib={},l=s.Base=function(){return{extend:function(u){var m=a(this);return u&&m.mixIn(u),m.hasOwnProperty("init")&&this.init!==m.init||(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var u=this.extend();return u.init.apply(u,arguments),u},init:function(){},mixIn:function(u){for(var m in u)u.hasOwnProperty(m)&&(this[m]=u[m]);u.hasOwnProperty("toString")&&(this.toString=u.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(u,m){u=this.words=u||[],this.sigBytes=m!=r?m:4*u.length},toString:function(u){return(u||v).stringify(this)},concat:function(u){var m=this.words,E=u.words,S=this.sigBytes,d=u.sigBytes;if(this.clamp(),S%4)for(var g=0;g<d;g++){var _=E[g>>>2]>>>24-g%4*8&255;m[S+g>>>2]|=_<<24-(S+g)%4*8}else for(var h=0;h<d;h+=4)m[S+h>>>2]=E[h>>>2];return this.sigBytes+=d,this},clamp:function(){var u=this.words,m=this.sigBytes;u[m>>>2]&=4294967295<<32-m%4*8,u.length=t.ceil(m/4)},clone:function(){var u=l.clone.call(this);return u.words=this.words.slice(0),u},random:function(u){for(var m=[],E=0;E<u;E+=4)m.push(i());return new c.init(m,u)}}),y=o.enc={},v=y.Hex={stringify:function(u){for(var m=u.words,E=u.sigBytes,S=[],d=0;d<E;d++){var g=m[d>>>2]>>>24-d%4*8&255;S.push((g>>>4).toString(16)),S.push((15&g).toString(16))}return S.join("")},parse:function(u){for(var m=u.length,E=[],S=0;S<m;S+=2)E[S>>>3]|=parseInt(u.substr(S,2),16)<<24-S%8*4;return new c.init(E,m/2)}},k=y.Latin1={stringify:function(u){for(var m=u.words,E=u.sigBytes,S=[],d=0;d<E;d++){var g=m[d>>>2]>>>24-d%4*8&255;S.push(String.fromCharCode(g))}return S.join("")},parse:function(u){for(var m=u.length,E=[],S=0;S<m;S++)E[S>>>2]|=(255&u.charCodeAt(S))<<24-S%4*8;return new c.init(E,m)}},w=y.Utf8={stringify:function(u){try{return decodeURIComponent(escape(k.stringify(u)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(u){return k.parse(unescape(encodeURIComponent(u)))}},x=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(u){typeof u=="string"&&(u=w.parse(u)),this._data.concat(u),this._nDataBytes+=u.sigBytes},_process:function(u){var m,E=this._data,S=E.words,d=E.sigBytes,g=this.blockSize,_=d/(4*g),h=(_=u?t.ceil(_):t.max((0|_)-this._minBufferSize,0))*g,p=t.min(4*h,d);if(h){for(var T=0;T<h;T+=g)this._doProcessBlock(S,T);m=S.splice(0,h),E.sigBytes-=p}return new c.init(m,p)},clone:function(){var u=l.clone.call(this);return u._data=this._data.clone(),u},_minBufferSize:0});s.Hasher=x.extend({cfg:l.extend(),init:function(u){this.cfg=this.cfg.extend(u),this.reset()},reset:function(){x.reset.call(this),this._doReset()},update:function(u){return this._append(u),this._process(),this},finalize:function(u){return u&&this._append(u),this._doFinalize()},blockSize:16,_createHelper:function(u){return function(m,E){return new u.init(E).finalize(m)}},_createHmacHelper:function(u){return function(m,E){return new b.HMAC.init(u,E).finalize(m)}}});var b=o.algo={};return o}(Math),e)),Vr.exports;var e}var sa,$r={exports:{}};$r.exports;function ur(){return sa||(sa=1,$r.exports=(o=pe(),r=(t=o).lib,n=r.Base,i=r.WordArray,(a=t.x64={}).Word=n.extend({init:function(s,l){this.high=s,this.low=l}}),a.WordArray=n.extend({init:function(s,l){s=this.words=s||[],this.sigBytes=l!=e?l:8*s.length},toX32:function(){for(var s=this.words,l=s.length,c=[],y=0;y<l;y++){var v=s[y];c.push(v.high),c.push(v.low)}return i.create(c,this.sigBytes)},clone:function(){for(var s=n.clone.call(this),l=s.words=this.words.slice(0),c=l.length,y=0;y<c;y++)l[y]=l[y].clone();return s}}),o)),$r.exports;var e,t,r,n,i,a,o}var oa,Gr={exports:{}};Gr.exports;function Eu(){return oa||(oa=1,Gr.exports=(e=pe(),function(){if(typeof ArrayBuffer=="function"){var t=e.lib.WordArray,r=t.init,n=t.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var a=i.byteLength,o=[],s=0;s<a;s++)o[s>>>2]|=i[s]<<24-s%4*8;r.call(this,o,a)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),Gr.exports;var e}var la,Wr={exports:{}};Wr.exports;function ku(){return la||(la=1,Wr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(a){return a<<8&4278255360|a>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(a){for(var o=a.words,s=a.sigBytes,l=[],c=0;c<s;c+=2){var y=o[c>>>2]>>>16-c%4*8&65535;l.push(String.fromCharCode(y))}return l.join("")},parse:function(a){for(var o=a.length,s=[],l=0;l<o;l++)s[l>>>1]|=a.charCodeAt(l)<<16-l%2*16;return r.create(s,2*o)}},n.Utf16LE={stringify:function(a){for(var o=a.words,s=a.sigBytes,l=[],c=0;c<s;c+=2){var y=i(o[c>>>2]>>>16-c%4*8&65535);l.push(String.fromCharCode(y))}return l.join("")},parse:function(a){for(var o=a.length,s=[],l=0;l<o;l++)s[l>>>1]|=i(a.charCodeAt(l)<<16-l%2*16);return r.create(s,2*o)}}}(),e.enc.Utf16)),Wr.exports;var e}var ua,Kr={exports:{}};Kr.exports;function mt(){return ua||(ua=1,Kr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray;function n(i,a,o){for(var s=[],l=0,c=0;c<a;c++)if(c%4){var y=o[i.charCodeAt(c-1)]<<c%4*2|o[i.charCodeAt(c)]>>>6-c%4*2;s[l>>>2]|=y<<24-l%4*8,l++}return r.create(s,l)}t.enc.Base64={stringify:function(i){var a=i.words,o=i.sigBytes,s=this._map;i.clamp();for(var l=[],c=0;c<o;c+=3)for(var y=(a[c>>>2]>>>24-c%4*8&255)<<16|(a[c+1>>>2]>>>24-(c+1)%4*8&255)<<8|a[c+2>>>2]>>>24-(c+2)%4*8&255,v=0;v<4&&c+.75*v<o;v++)l.push(s.charAt(y>>>6*(3-v)&63));var k=s.charAt(64);if(k)for(;l.length%4;)l.push(k);return l.join("")},parse:function(i){var a=i.length,o=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var l=0;l<o.length;l++)s[o.charCodeAt(l)]=l}var c=o.charAt(64);if(c){var y=i.indexOf(c);y!==-1&&(a=y)}return n(i,a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),Kr.exports;var e}var ca,Xr={exports:{}};Xr.exports;function Au(){return ca||(ca=1,Xr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray;function n(i,a,o){for(var s=[],l=0,c=0;c<a;c++)if(c%4){var y=o[i.charCodeAt(c-1)]<<c%4*2|o[i.charCodeAt(c)]>>>6-c%4*2;s[l>>>2]|=y<<24-l%4*8,l++}return r.create(s,l)}t.enc.Base64url={stringify:function(i,a){a===void 0&&(a=!0);var o=i.words,s=i.sigBytes,l=a?this._safe_map:this._map;i.clamp();for(var c=[],y=0;y<s;y+=3)for(var v=(o[y>>>2]>>>24-y%4*8&255)<<16|(o[y+1>>>2]>>>24-(y+1)%4*8&255)<<8|o[y+2>>>2]>>>24-(y+2)%4*8&255,k=0;k<4&&y+.75*k<s;k++)c.push(l.charAt(v>>>6*(3-k)&63));var w=l.charAt(64);if(w)for(;c.length%4;)c.push(w);return c.join("")},parse:function(i,a){a===void 0&&(a=!0);var o=i.length,s=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var c=0;c<s.length;c++)l[s.charCodeAt(c)]=c}var y=s.charAt(64);if(y){var v=i.indexOf(y);v!==-1&&(o=v)}return n(i,o,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),Xr.exports;var e}var da,Jr={exports:{}};Jr.exports;function bt(){return da||(da=1,Jr.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[];(function(){for(var w=0;w<64;w++)s[w]=4294967296*t.abs(t.sin(w+1))|0})();var l=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(w,x){for(var b=0;b<16;b++){var u=x+b,m=w[u];w[u]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var E=this._hash.words,S=w[x+0],d=w[x+1],g=w[x+2],_=w[x+3],h=w[x+4],p=w[x+5],T=w[x+6],f=w[x+7],R=w[x+8],C=w[x+9],I=w[x+10],D=w[x+11],P=w[x+12],F=w[x+13],H=w[x+14],G=w[x+15],M=E[0],j=E[1],U=E[2],V=E[3];M=c(M,j,U,V,S,7,s[0]),V=c(V,M,j,U,d,12,s[1]),U=c(U,V,M,j,g,17,s[2]),j=c(j,U,V,M,_,22,s[3]),M=c(M,j,U,V,h,7,s[4]),V=c(V,M,j,U,p,12,s[5]),U=c(U,V,M,j,T,17,s[6]),j=c(j,U,V,M,f,22,s[7]),M=c(M,j,U,V,R,7,s[8]),V=c(V,M,j,U,C,12,s[9]),U=c(U,V,M,j,I,17,s[10]),j=c(j,U,V,M,D,22,s[11]),M=c(M,j,U,V,P,7,s[12]),V=c(V,M,j,U,F,12,s[13]),U=c(U,V,M,j,H,17,s[14]),M=y(M,j=c(j,U,V,M,G,22,s[15]),U,V,d,5,s[16]),V=y(V,M,j,U,T,9,s[17]),U=y(U,V,M,j,D,14,s[18]),j=y(j,U,V,M,S,20,s[19]),M=y(M,j,U,V,p,5,s[20]),V=y(V,M,j,U,I,9,s[21]),U=y(U,V,M,j,G,14,s[22]),j=y(j,U,V,M,h,20,s[23]),M=y(M,j,U,V,C,5,s[24]),V=y(V,M,j,U,H,9,s[25]),U=y(U,V,M,j,_,14,s[26]),j=y(j,U,V,M,R,20,s[27]),M=y(M,j,U,V,F,5,s[28]),V=y(V,M,j,U,g,9,s[29]),U=y(U,V,M,j,f,14,s[30]),M=v(M,j=y(j,U,V,M,P,20,s[31]),U,V,p,4,s[32]),V=v(V,M,j,U,R,11,s[33]),U=v(U,V,M,j,D,16,s[34]),j=v(j,U,V,M,H,23,s[35]),M=v(M,j,U,V,d,4,s[36]),V=v(V,M,j,U,h,11,s[37]),U=v(U,V,M,j,f,16,s[38]),j=v(j,U,V,M,I,23,s[39]),M=v(M,j,U,V,F,4,s[40]),V=v(V,M,j,U,S,11,s[41]),U=v(U,V,M,j,_,16,s[42]),j=v(j,U,V,M,T,23,s[43]),M=v(M,j,U,V,C,4,s[44]),V=v(V,M,j,U,P,11,s[45]),U=v(U,V,M,j,G,16,s[46]),M=k(M,j=v(j,U,V,M,g,23,s[47]),U,V,S,6,s[48]),V=k(V,M,j,U,f,10,s[49]),U=k(U,V,M,j,H,15,s[50]),j=k(j,U,V,M,p,21,s[51]),M=k(M,j,U,V,P,6,s[52]),V=k(V,M,j,U,_,10,s[53]),U=k(U,V,M,j,I,15,s[54]),j=k(j,U,V,M,d,21,s[55]),M=k(M,j,U,V,R,6,s[56]),V=k(V,M,j,U,G,10,s[57]),U=k(U,V,M,j,T,15,s[58]),j=k(j,U,V,M,F,21,s[59]),M=k(M,j,U,V,h,6,s[60]),V=k(V,M,j,U,D,10,s[61]),U=k(U,V,M,j,g,15,s[62]),j=k(j,U,V,M,C,21,s[63]),E[0]=E[0]+M|0,E[1]=E[1]+j|0,E[2]=E[2]+U|0,E[3]=E[3]+V|0},_doFinalize:function(){var w=this._data,x=w.words,b=8*this._nDataBytes,u=8*w.sigBytes;x[u>>>5]|=128<<24-u%32;var m=t.floor(b/4294967296),E=b;x[15+(u+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),x[14+(u+64>>>9<<4)]=16711935&(E<<8|E>>>24)|4278255360&(E<<24|E>>>8),w.sigBytes=4*(x.length+1),this._process();for(var S=this._hash,d=S.words,g=0;g<4;g++){var _=d[g];d[g]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}return S},clone:function(){var w=a.clone.call(this);return w._hash=this._hash.clone(),w}});function c(w,x,b,u,m,E,S){var d=w+(x&b|~x&u)+m+S;return(d<<E|d>>>32-E)+x}function y(w,x,b,u,m,E,S){var d=w+(x&u|b&~u)+m+S;return(d<<E|d>>>32-E)+x}function v(w,x,b,u,m,E,S){var d=w+(x^b^u)+m+S;return(d<<E|d>>>32-E)+x}function k(w,x,b,u,m,E,S){var d=w+(b^(x|~u))+m+S;return(d<<E|d>>>32-E)+x}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),Jr.exports;var e}var pa,Yr={exports:{}};Yr.exports;function ha(){return pa||(pa=1,Yr.exports=(s=pe(),t=(e=s).lib,r=t.WordArray,n=t.Hasher,i=e.algo,a=[],o=i.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,c){for(var y=this._hash.words,v=y[0],k=y[1],w=y[2],x=y[3],b=y[4],u=0;u<80;u++){if(u<16)a[u]=0|l[c+u];else{var m=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=m<<1|m>>>31}var E=(v<<5|v>>>27)+b+a[u];E+=u<20?1518500249+(k&w|~k&x):u<40?1859775393+(k^w^x):u<60?(k&w|k&x|w&x)-1894007588:(k^w^x)-899497514,b=x,x=w,w=k<<30|k>>>2,k=v,v=E}y[0]=y[0]+v|0,y[1]=y[1]+k|0,y[2]=y[2]+w|0,y[3]=y[3]+x|0,y[4]=y[4]+b|0},_doFinalize:function(){var l=this._data,c=l.words,y=8*this._nDataBytes,v=8*l.sigBytes;return c[v>>>5]|=128<<24-v%32,c[14+(v+64>>>9<<4)]=Math.floor(y/4294967296),c[15+(v+64>>>9<<4)]=y,l.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var l=n.clone.call(this);return l._hash=this._hash.clone(),l}}),e.SHA1=n._createHelper(o),e.HmacSHA1=n._createHmacHelper(o),s.SHA1)),Yr.exports;var e,t,r,n,i,a,o,s}var _a,Qr={exports:{}};Qr.exports;function Zr(){return _a||(_a=1,Qr.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[],l=[];(function(){function v(b){for(var u=t.sqrt(b),m=2;m<=u;m++)if(!(b%m))return!1;return!0}function k(b){return 4294967296*(b-(0|b))|0}for(var w=2,x=0;x<64;)v(w)&&(x<8&&(s[x]=k(t.pow(w,.5))),l[x]=k(t.pow(w,1/3)),x++),w++})();var c=[],y=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(v,k){for(var w=this._hash.words,x=w[0],b=w[1],u=w[2],m=w[3],E=w[4],S=w[5],d=w[6],g=w[7],_=0;_<64;_++){if(_<16)c[_]=0|v[k+_];else{var h=c[_-15],p=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,T=c[_-2],f=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;c[_]=p+c[_-7]+f+c[_-16]}var R=x&b^x&u^b&u,C=(x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22),I=g+((E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25))+(E&S^~E&d)+l[_]+c[_];g=d,d=S,S=E,E=m+I|0,m=u,u=b,b=x,x=I+(C+R)|0}w[0]=w[0]+x|0,w[1]=w[1]+b|0,w[2]=w[2]+u|0,w[3]=w[3]+m|0,w[4]=w[4]+E|0,w[5]=w[5]+S|0,w[6]=w[6]+d|0,w[7]=w[7]+g|0},_doFinalize:function(){var v=this._data,k=v.words,w=8*this._nDataBytes,x=8*v.sigBytes;return k[x>>>5]|=128<<24-x%32,k[14+(x+64>>>9<<4)]=t.floor(w/4294967296),k[15+(x+64>>>9<<4)]=w,v.sigBytes=4*k.length,this._process(),this._hash},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});r.SHA256=a._createHelper(y),r.HmacSHA256=a._createHmacHelper(y)}(Math),e.SHA256)),Qr.exports;var e}var fa,en={exports:{}};en.exports;var ga,tn={exports:{}};tn.exports;function ma(){return ga||(ga=1,tn.exports=(e=pe(),ur(),function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,a=n.WordArray,o=t.algo;function s(){return i.create.apply(i,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];(function(){for(var v=0;v<80;v++)c[v]=s()})();var y=o.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(v,k){for(var w=this._hash.words,x=w[0],b=w[1],u=w[2],m=w[3],E=w[4],S=w[5],d=w[6],g=w[7],_=x.high,h=x.low,p=b.high,T=b.low,f=u.high,R=u.low,C=m.high,I=m.low,D=E.high,P=E.low,F=S.high,H=S.low,G=d.high,M=d.low,j=g.high,U=g.low,V=_,ue=h,ke=p,Ae=T,J=f,A=R,N=C,B=I,$=D,W=P,Z=F,ce=H,me=G,xe=M,Ie=j,Ne=U,ye=0;ye<80;ye++){var ve,be,$e=c[ye];if(ye<16)be=$e.high=0|v[k+2*ye],ve=$e.low=0|v[k+2*ye+1];else{var Ft=c[ye-15],St=Ft.high,jt=Ft.low,Wl=(St>>>1|jt<<31)^(St>>>8|jt<<24)^St>>>7,zi=(jt>>>1|St<<31)^(jt>>>8|St<<24)^(jt>>>7|St<<25),Hi=c[ye-2],Nt=Hi.high,zt=Hi.low,Kl=(Nt>>>19|zt<<13)^(Nt<<3|zt>>>29)^Nt>>>6,Vi=(zt>>>19|Nt<<13)^(zt<<3|Nt>>>29)^(zt>>>6|Nt<<26),$i=c[ye-7],Xl=$i.high,Jl=$i.low,Gi=c[ye-16],Yl=Gi.high,Wi=Gi.low;be=(be=(be=Wl+Xl+((ve=zi+Jl)>>>0<zi>>>0?1:0))+Kl+((ve+=Vi)>>>0<Vi>>>0?1:0))+Yl+((ve+=Wi)>>>0<Wi>>>0?1:0),$e.high=be,$e.low=ve}var ft,Ql=$&Z^~$&me,Ki=W&ce^~W&xe,Zl=V&ke^V&J^ke&J,eu=ue&Ae^ue&A^Ae&A,tu=(V>>>28|ue<<4)^(V<<30|ue>>>2)^(V<<25|ue>>>7),Xi=(ue>>>28|V<<4)^(ue<<30|V>>>2)^(ue<<25|V>>>7),ru=($>>>14|W<<18)^($>>>18|W<<14)^($<<23|W>>>9),nu=(W>>>14|$<<18)^(W>>>18|$<<14)^(W<<23|$>>>9),Ji=l[ye],iu=Ji.high,Yi=Ji.low,Ht=Ie+ru+((ft=Ne+nu)>>>0<Ne>>>0?1:0),Qi=Xi+eu;Ie=me,Ne=xe,me=Z,xe=ce,Z=$,ce=W,$=N+(Ht=(Ht=(Ht=Ht+Ql+((ft+=Ki)>>>0<Ki>>>0?1:0))+iu+((ft+=Yi)>>>0<Yi>>>0?1:0))+be+((ft+=ve)>>>0<ve>>>0?1:0))+((W=B+ft|0)>>>0<B>>>0?1:0)|0,N=J,B=A,J=ke,A=Ae,ke=V,Ae=ue,V=Ht+(tu+Zl+(Qi>>>0<Xi>>>0?1:0))+((ue=ft+Qi|0)>>>0<ft>>>0?1:0)|0}h=x.low=h+ue,x.high=_+V+(h>>>0<ue>>>0?1:0),T=b.low=T+Ae,b.high=p+ke+(T>>>0<Ae>>>0?1:0),R=u.low=R+A,u.high=f+J+(R>>>0<A>>>0?1:0),I=m.low=I+B,m.high=C+N+(I>>>0<B>>>0?1:0),P=E.low=P+W,E.high=D+$+(P>>>0<W>>>0?1:0),H=S.low=H+ce,S.high=F+Z+(H>>>0<ce>>>0?1:0),M=d.low=M+xe,d.high=G+me+(M>>>0<xe>>>0?1:0),U=g.low=U+Ne,g.high=j+Ie+(U>>>0<Ne>>>0?1:0)},_doFinalize:function(){var v=this._data,k=v.words,w=8*this._nDataBytes,x=8*v.sigBytes;return k[x>>>5]|=128<<24-x%32,k[30+(x+128>>>10<<5)]=Math.floor(w/4294967296),k[31+(x+128>>>10<<5)]=w,v.sigBytes=4*k.length,this._process(),this._hash.toX32()},clone:function(){var v=r.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:32});t.SHA512=r._createHelper(y),t.HmacSHA512=r._createHmacHelper(y)}(),e.SHA512)),tn.exports;var e}var ba,rn={exports:{}};rn.exports;var ya,nn={exports:{}};nn.exports;function Tu(){return ya||(ya=1,nn.exports=(e=pe(),ur(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],y=[];(function(){for(var w=1,x=0,b=0;b<24;b++){l[w+5*x]=(b+1)*(b+2)/2%64;var u=(2*w+3*x)%5;w=x%5,x=u}for(w=0;w<5;w++)for(x=0;x<5;x++)c[w+5*x]=x+(2*w+3*x)%5*5;for(var m=1,E=0;E<24;E++){for(var S=0,d=0,g=0;g<7;g++){if(1&m){var _=(1<<g)-1;_<32?d^=1<<_:S^=1<<_-32}128&m?m=m<<1^113:m<<=1}y[E]=o.create(S,d)}})();var v=[];(function(){for(var w=0;w<25;w++)v[w]=o.create()})();var k=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var w=this._state=[],x=0;x<25;x++)w[x]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(w,x){for(var b=this._state,u=this.blockSize/2,m=0;m<u;m++){var E=w[x+2*m],S=w[x+2*m+1];E=16711935&(E<<8|E>>>24)|4278255360&(E<<24|E>>>8),S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),(U=b[m]).high^=S,U.low^=E}for(var d=0;d<24;d++){for(var g=0;g<5;g++){for(var _=0,h=0,p=0;p<5;p++)_^=(U=b[g+5*p]).high,h^=U.low;var T=v[g];T.high=_,T.low=h}for(g=0;g<5;g++){var f=v[(g+4)%5],R=v[(g+1)%5],C=R.high,I=R.low;for(_=f.high^(C<<1|I>>>31),h=f.low^(I<<1|C>>>31),p=0;p<5;p++)(U=b[g+5*p]).high^=_,U.low^=h}for(var D=1;D<25;D++){var P=(U=b[D]).high,F=U.low,H=l[D];H<32?(_=P<<H|F>>>32-H,h=F<<H|P>>>32-H):(_=F<<H-32|P>>>64-H,h=P<<H-32|F>>>64-H);var G=v[c[D]];G.high=_,G.low=h}var M=v[0],j=b[0];for(M.high=j.high,M.low=j.low,g=0;g<5;g++)for(p=0;p<5;p++){var U=b[D=g+5*p],V=v[D],ue=v[(g+1)%5+5*p],ke=v[(g+2)%5+5*p];U.high=V.high^~ue.high&ke.high,U.low=V.low^~ue.low&ke.low}U=b[0];var Ae=y[d];U.high^=Ae.high,U.low^=Ae.low}},_doFinalize:function(){var w=this._data,x=w.words;this._nDataBytes;var b=8*w.sigBytes,u=32*this.blockSize;x[b>>>5]|=1<<24-b%32,x[(t.ceil((b+1)/u)*u>>>5)-1]|=128,w.sigBytes=4*x.length,this._process();for(var m=this._state,E=this.cfg.outputLength/8,S=E/8,d=[],g=0;g<S;g++){var _=m[g],h=_.high,p=_.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),d.push(p),d.push(h)}return new i.init(d,E)},clone:function(){for(var w=a.clone.call(this),x=w._state=this._state.slice(0),b=0;b<25;b++)x[b]=x[b].clone();return w}});r.SHA3=a._createHelper(k),r.HmacSHA3=a._createHmacHelper(k)}(Math),e.SHA3)),nn.exports;var e}var va,an={exports:{}};an.exports;var wa,sn={exports:{}};sn.exports;function on(){return wa||(wa=1,sn.exports=(e=pe(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(i,a){i=this._hasher=new i.init,typeof a=="string"&&(a=n.parse(a));var o=i.blockSize,s=4*o;a.sigBytes>s&&(a=i.finalize(a)),a.clamp();for(var l=this._oKey=a.clone(),c=this._iKey=a.clone(),y=l.words,v=c.words,k=0;k<o;k++)y[k]^=1549556828,v[k]^=909522486;l.sigBytes=c.sigBytes=s,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var a=this._hasher,o=a.finalize(i);return a.reset(),a.finalize(this._oKey.clone().concat(o))}})))),sn.exports;var e,t,r,n}var xa,ln={exports:{}};ln.exports;var Ea,un={exports:{}};un.exports;function lt(){return Ea||(Ea=1,un.exports=(s=pe(),ha(),on(),t=(e=s).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.MD5,o=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,c){for(var y,v=this.cfg,k=v.hasher.create(),w=n.create(),x=w.words,b=v.keySize,u=v.iterations;x.length<b;){y&&k.update(y),y=k.update(l).finalize(c),k.reset();for(var m=1;m<u;m++)y=k.finalize(y),k.reset();w.concat(y)}return w.sigBytes=4*b,w}}),e.EvpKDF=function(l,c,y){return o.create(y).compute(l,c)},s.EvpKDF)),un.exports;var e,t,r,n,i,a,o,s}var ka,cn={exports:{}};cn.exports;function Re(){return ka||(ka=1,cn.exports=(e=pe(),lt(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,a=n.WordArray,o=n.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var l=s.Base64,c=r.algo.EvpKDF,y=n.Cipher=o.extend({cfg:i.extend(),createEncryptor:function(d,g){return this.create(this._ENC_XFORM_MODE,d,g)},createDecryptor:function(d,g){return this.create(this._DEC_XFORM_MODE,d,g)},init:function(d,g,_){this.cfg=this.cfg.extend(_),this._xformMode=d,this._key=g,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(d){return this._append(d),this._process()},finalize:function(d){return d&&this._append(d),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function d(g){return typeof g=="string"?S:m}return function(g){return{encrypt:function(_,h,p){return d(h).encrypt(g,_,h,p)},decrypt:function(_,h,p){return d(h).decrypt(g,_,h,p)}}}}()});n.StreamCipher=y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var v=r.mode={},k=n.BlockCipherMode=i.extend({createEncryptor:function(d,g){return this.Encryptor.create(d,g)},createDecryptor:function(d,g){return this.Decryptor.create(d,g)},init:function(d,g){this._cipher=d,this._iv=g}}),w=v.CBC=function(){var d=k.extend();function g(_,h,p){var T,f=this._iv;f?(T=f,this._iv=t):T=this._prevBlock;for(var R=0;R<p;R++)_[h+R]^=T[R]}return d.Encryptor=d.extend({processBlock:function(_,h){var p=this._cipher,T=p.blockSize;g.call(this,_,h,T),p.encryptBlock(_,h),this._prevBlock=_.slice(h,h+T)}}),d.Decryptor=d.extend({processBlock:function(_,h){var p=this._cipher,T=p.blockSize,f=_.slice(h,h+T);p.decryptBlock(_,h),g.call(this,_,h,T),this._prevBlock=f}}),d}(),x=(r.pad={}).Pkcs7={pad:function(d,g){for(var _=4*g,h=_-d.sigBytes%_,p=h<<24|h<<16|h<<8|h,T=[],f=0;f<h;f+=4)T.push(p);var R=a.create(T,h);d.concat(R)},unpad:function(d){var g=255&d.words[d.sigBytes-1>>>2];d.sigBytes-=g}};n.BlockCipher=y.extend({cfg:y.cfg.extend({mode:w,padding:x}),reset:function(){var d;y.reset.call(this);var g=this.cfg,_=g.iv,h=g.mode;this._xformMode==this._ENC_XFORM_MODE?d=h.createEncryptor:(d=h.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==d?this._mode.init(this,_&&_.words):(this._mode=d.call(h,this,_&&_.words),this._mode.__creator=d)},_doProcessBlock:function(d,g){this._mode.processBlock(d,g)},_doFinalize:function(){var d,g=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(g.pad(this._data,this.blockSize),d=this._process(!0)):(d=this._process(!0),g.unpad(d)),d},blockSize:4});var b=n.CipherParams=i.extend({init:function(d){this.mixIn(d)},toString:function(d){return(d||this.formatter).stringify(this)}}),u=(r.format={}).OpenSSL={stringify:function(d){var g=d.ciphertext,_=d.salt;return(_?a.create([1398893684,1701076831]).concat(_).concat(g):g).toString(l)},parse:function(d){var g,_=l.parse(d),h=_.words;return h[0]==1398893684&&h[1]==1701076831&&(g=a.create(h.slice(2,4)),h.splice(0,4),_.sigBytes-=16),b.create({ciphertext:_,salt:g})}},m=n.SerializableCipher=i.extend({cfg:i.extend({format:u}),encrypt:function(d,g,_,h){h=this.cfg.extend(h);var p=d.createEncryptor(_,h),T=p.finalize(g),f=p.cfg;return b.create({ciphertext:T,key:_,iv:f.iv,algorithm:d,mode:f.mode,padding:f.padding,blockSize:d.blockSize,formatter:h.format})},decrypt:function(d,g,_,h){return h=this.cfg.extend(h),g=this._parse(g,h.format),d.createDecryptor(_,h).finalize(g.ciphertext)},_parse:function(d,g){return typeof d=="string"?g.parse(d,this):d}}),E=(r.kdf={}).OpenSSL={execute:function(d,g,_,h,p){if(h||(h=a.random(8)),p)T=c.create({keySize:g+_,hasher:p}).compute(d,h);else var T=c.create({keySize:g+_}).compute(d,h);var f=a.create(T.words.slice(g),4*_);return T.sigBytes=4*g,b.create({key:T,iv:f,salt:h})}},S=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:E}),encrypt:function(d,g,_,h){var p=(h=this.cfg.extend(h)).kdf.execute(_,d.keySize,d.ivSize,h.salt,h.hasher);h.iv=p.iv;var T=m.encrypt.call(this,d,g,p.key,h);return T.mixIn(p),T},decrypt:function(d,g,_,h){h=this.cfg.extend(h),g=this._parse(g,h.format);var p=h.kdf.execute(_,d.keySize,d.ivSize,g.salt,h.hasher);return h.iv=p.iv,m.decrypt.call(this,d,g,p.key,h)}})}()))),cn.exports;var e}var Aa,dn={exports:{}};dn.exports;var Ta,pn={exports:{}};pn.exports;var Da,hn={exports:{}};hn.exports;function Du(){return Da||(Da=1,hn.exports=(e=pe(),Re(),e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(a){if(255&~(a>>24))a+=1<<24;else{var o=a>>16&255,s=a>>8&255,l=255&a;o===255?(o=0,s===255?(s=0,l===255?l=0:++l):++s):++o,a=0,a+=o<<16,a+=s<<8,a+=l}return a}function n(a){return(a[0]=r(a[0]))===0&&(a[1]=r(a[1])),a}var i=t.Encryptor=t.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize,c=this._iv,y=this._counter;c&&(y=this._counter=c.slice(0),this._iv=void 0),n(y);var v=y.slice(0);s.encryptBlock(v,0);for(var k=0;k<l;k++)a[o+k]^=v[k]}});return t.Decryptor=i,t}(),e.mode.CTRGladman)),hn.exports;var e}var Sa,_n={exports:{}};_n.exports;var Na,fn={exports:{}};fn.exports;var Ra,gn={exports:{}};gn.exports;var Oa,mn={exports:{}};mn.exports;var La,bn={exports:{}};bn.exports;var Ba,yn={exports:{}};yn.exports;var Ca,vn={exports:{}};vn.exports;var Ia,wn={exports:{}};wn.exports;var qa,xn={exports:{}};xn.exports;var Pa,En={exports:{}};En.exports;function Su(){return Pa||(Pa=1,En.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,a=t.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],y=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],v=a.DES=i.extend({_doReset:function(){for(var b=this._key.words,u=[],m=0;m<56;m++){var E=o[m]-1;u[m]=b[E>>>5]>>>31-E%32&1}for(var S=this._subKeys=[],d=0;d<16;d++){var g=S[d]=[],_=l[d];for(m=0;m<24;m++)g[m/6|0]|=u[(s[m]-1+_)%28]<<31-m%6,g[4+(m/6|0)]|=u[28+(s[m+24]-1+_)%28]<<31-m%6;for(g[0]=g[0]<<1|g[0]>>>31,m=1;m<7;m++)g[m]=g[m]>>>4*(m-1)+3;g[7]=g[7]<<5|g[7]>>>27}var h=this._invSubKeys=[];for(m=0;m<16;m++)h[m]=S[15-m]},encryptBlock:function(b,u){this._doCryptBlock(b,u,this._subKeys)},decryptBlock:function(b,u){this._doCryptBlock(b,u,this._invSubKeys)},_doCryptBlock:function(b,u,m){this._lBlock=b[u],this._rBlock=b[u+1],k.call(this,4,252645135),k.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),k.call(this,1,1431655765);for(var E=0;E<16;E++){for(var S=m[E],d=this._lBlock,g=this._rBlock,_=0,h=0;h<8;h++)_|=c[h][((g^S[h])&y[h])>>>0];this._lBlock=g,this._rBlock=d^_}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,k.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),k.call(this,16,65535),k.call(this,4,252645135),b[u]=this._lBlock,b[u+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function k(b,u){var m=(this._lBlock>>>b^this._rBlock)&u;this._rBlock^=m,this._lBlock^=m<<b}function w(b,u){var m=(this._rBlock>>>b^this._lBlock)&u;this._lBlock^=m,this._rBlock^=m<<b}t.DES=i._createHelper(v);var x=a.TripleDES=i.extend({_doReset:function(){var b=this._key.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var u=b.slice(0,2),m=b.length<4?b.slice(0,2):b.slice(2,4),E=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=v.createEncryptor(n.create(u)),this._des2=v.createEncryptor(n.create(m)),this._des3=v.createEncryptor(n.create(E))},encryptBlock:function(b,u){this._des1.encryptBlock(b,u),this._des2.decryptBlock(b,u),this._des3.encryptBlock(b,u)},decryptBlock:function(b,u){this._des3.decryptBlock(b,u),this._des2.encryptBlock(b,u),this._des1.decryptBlock(b,u)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(x)}(),e.TripleDES)),En.exports;var e}var Ma,kn={exports:{}};kn.exports;var Ua,An={exports:{}};An.exports;var Fa,Tn={exports:{}};Tn.exports;var ja,Dn={exports:{}};Dn.exports;function Nu(){return ja||(ja=1,Dn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const i=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function l(w,x){let b=x>>24&255,u=x>>16&255,m=x>>8&255,E=255&x,S=w.sbox[0][b]+w.sbox[1][u];return S^=w.sbox[2][m],S+=w.sbox[3][E],S}function c(w,x,b){let u,m=x,E=b;for(let S=0;S<i;++S)m^=w.pbox[S],E=l(w,m)^E,u=m,m=E,E=u;return u=m,m=E,E=u,E^=w.pbox[i],m^=w.pbox[i+1],{left:m,right:E}}function y(w,x,b){let u,m=x,E=b;for(let S=i+1;S>1;--S)m^=w.pbox[S],E=l(w,m)^E,u=m,m=E,E=u;return u=m,m=E,E=u,E^=w.pbox[1],m^=w.pbox[0],{left:m,right:E}}function v(w,x,b){for(let d=0;d<4;d++){w.sbox[d]=[];for(let g=0;g<256;g++)w.sbox[d][g]=o[d][g]}let u=0;for(let d=0;d<i+2;d++)w.pbox[d]=a[d]^x[u],u++,u>=b&&(u=0);let m=0,E=0,S=0;for(let d=0;d<i+2;d+=2)S=c(w,m,E),m=S.left,E=S.right,w.pbox[d]=m,w.pbox[d+1]=E;for(let d=0;d<4;d++)for(let g=0;g<256;g+=2)S=c(w,m,E),m=S.left,E=S.right,w.sbox[d][g]=m,w.sbox[d][g+1]=E;return!0}var k=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var w=this._keyPriorReset=this._key,x=w.words,b=w.sigBytes/4;v(s,x,b)}},encryptBlock:function(w,x){var b=c(s,w[x],w[x+1]);w[x]=b.left,w[x+1]=b.right},decryptBlock:function(w,x){var b=y(s,w[x],w[x+1]);w[x]=b.left,w[x+1]=b.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(k)}(),e.Blowfish)),Dn.exports;var e}var za,cr,Ha,Sn,Wt,Nn,Rn;const yt=lr(za?ia.exports:(za=1,ia.exports=function(e){return e}(pe(),ur(),Eu(),ku(),mt(),Au(),bt(),ha(),Zr(),(fa||(fa=1,en.exports=(Rn=pe(),Zr(),Ha=(cr=Rn).lib.WordArray,Sn=cr.algo,Wt=Sn.SHA256,Nn=Sn.SHA224=Wt.extend({_doReset:function(){this._hash=new Ha.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=Wt._doFinalize.call(this);return e.sigBytes-=4,e}}),cr.SHA224=Wt._createHelper(Nn),cr.HmacSHA224=Wt._createHmacHelper(Nn),Rn.SHA224)),en.exports),ma(),function(){return ba||(ba=1,rn.exports=(s=pe(),ur(),ma(),t=(e=s).x64,r=t.Word,n=t.WordArray,i=e.algo,a=i.SHA512,o=i.SHA384=a.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var l=a._doFinalize.call(this);return l.sigBytes-=16,l}}),e.SHA384=a._createHelper(o),e.HmacSHA384=a._createHmacHelper(o),s.SHA384)),rn.exports;var e,t,r,n,i,a,o,s}(),Tu(),function(){return va||(va=1,an.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=i.create([0,1518500249,1859775393,2400959708,2840853838]),k=i.create([1352829926,1548603684,1836072691,2053994217,0]),w=o.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,g){for(var _=0;_<16;_++){var h=g+_,p=d[h];d[h]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}var T,f,R,C,I,D,P,F,H,G,M,j=this._hash.words,U=v.words,V=k.words,ue=s.words,ke=l.words,Ae=c.words,J=y.words;for(D=T=j[0],P=f=j[1],F=R=j[2],H=C=j[3],G=I=j[4],_=0;_<80;_+=1)M=T+d[g+ue[_]]|0,M+=_<16?x(f,R,C)+U[0]:_<32?b(f,R,C)+U[1]:_<48?u(f,R,C)+U[2]:_<64?m(f,R,C)+U[3]:E(f,R,C)+U[4],M=(M=S(M|=0,Ae[_]))+I|0,T=I,I=C,C=S(R,10),R=f,f=M,M=D+d[g+ke[_]]|0,M+=_<16?E(P,F,H)+V[0]:_<32?m(P,F,H)+V[1]:_<48?u(P,F,H)+V[2]:_<64?b(P,F,H)+V[3]:x(P,F,H)+V[4],M=(M=S(M|=0,J[_]))+G|0,D=G,G=H,H=S(F,10),F=P,P=M;M=j[1]+R+H|0,j[1]=j[2]+C+G|0,j[2]=j[3]+I+D|0,j[3]=j[4]+T+P|0,j[4]=j[0]+f+F|0,j[0]=M},_doFinalize:function(){var d=this._data,g=d.words,_=8*this._nDataBytes,h=8*d.sigBytes;g[h>>>5]|=128<<24-h%32,g[14+(h+64>>>9<<4)]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),d.sigBytes=4*(g.length+1),this._process();for(var p=this._hash,T=p.words,f=0;f<5;f++){var R=T[f];T[f]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8)}return p},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d}});function x(d,g,_){return d^g^_}function b(d,g,_){return d&g|~d&_}function u(d,g,_){return(d|~g)^_}function m(d,g,_){return d&_|g&~_}function E(d,g,_){return d^(g|~_)}function S(d,g){return d<<g|d>>>32-g}r.RIPEMD160=a._createHelper(w),r.HmacRIPEMD160=a._createHmacHelper(w)}(),e.RIPEMD160)),an.exports;var e}(),on(),function(){return xa||(xa=1,ln.exports=(l=pe(),Zr(),on(),t=(e=l).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.SHA256,o=i.HMAC,s=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,y){for(var v=this.cfg,k=o.create(v.hasher,c),w=n.create(),x=n.create([1]),b=w.words,u=x.words,m=v.keySize,E=v.iterations;b.length<m;){var S=k.update(y).finalize(x);k.reset();for(var d=S.words,g=d.length,_=S,h=1;h<E;h++){_=k.finalize(_),k.reset();for(var p=_.words,T=0;T<g;T++)d[T]^=p[T]}w.concat(S),u[0]++}return w.sigBytes=4*m,w}}),e.PBKDF2=function(c,y,v){return s.create(v).compute(c,y)},l.PBKDF2)),ln.exports;var e,t,r,n,i,a,o,s,l}(),lt(),Re(),function(){return Aa||(Aa=1,dn.exports=(e=pe(),Re(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(n,i,a,o){var s,l=this._iv;l?(s=l.slice(0),this._iv=void 0):s=this._prevBlock,o.encryptBlock(s,0);for(var c=0;c<a;c++)n[i+c]^=s[c]}return t.Encryptor=t.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize;r.call(this,n,i,o,a),this._prevBlock=n.slice(i,i+o)}}),t.Decryptor=t.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=n.slice(i,i+o);r.call(this,n,i,o,a),this._prevBlock=s}}),t}(),e.mode.CFB)),dn.exports;var e}(),function(){return Ta||(Ta=1,pn.exports=(r=pe(),Re(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=this._iv,l=this._counter;s&&(l=this._counter=s.slice(0),this._iv=void 0);var c=l.slice(0);a.encryptBlock(c,0),l[o-1]=l[o-1]+1|0;for(var y=0;y<o;y++)n[i+y]^=c[y]}}),e.Decryptor=t,e),r.mode.CTR)),pn.exports;var e,t,r}(),Du(),function(){return Sa||(Sa=1,_n.exports=(r=pe(),Re(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=this._iv,l=this._keystream;s&&(l=this._keystream=s.slice(0),this._iv=void 0),a.encryptBlock(l,0);for(var c=0;c<o;c++)n[i+c]^=l[c]}}),e.Decryptor=t,e),r.mode.OFB)),_n.exports;var e,t,r}(),function(){return Na||(Na=1,fn.exports=(t=pe(),Re(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),e.Decryptor=e.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),e),t.mode.ECB)),fn.exports;var e,t}(),function(){return Ra||(Ra=1,gn.exports=(e=pe(),Re(),e.pad.AnsiX923={pad:function(t,r){var n=t.sigBytes,i=4*r,a=i-n%i,o=n+a-1;t.clamp(),t.words[o>>>2]|=a<<24-o%4*8,t.sigBytes+=a},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},e.pad.Ansix923)),gn.exports;var e}(),function(){return Oa||(Oa=1,mn.exports=(e=pe(),Re(),e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},e.pad.Iso10126)),mn.exports;var e}(),function(){return La||(La=1,bn.exports=(e=pe(),Re(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),bn.exports;var e}(),function(){return Ba||(Ba=1,yn.exports=(e=pe(),Re(),e.pad.ZeroPadding={pad:function(t,r){var n=4*r;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){var r=t.words,n=t.sigBytes-1;for(n=t.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},e.pad.ZeroPadding)),yn.exports;var e}(),function(){return Ca||(Ca=1,vn.exports=(e=pe(),Re(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),vn.exports;var e}(),function(){return Ia||(Ia=1,wn.exports=(n=pe(),Re(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(i){return i.ciphertext.toString(r)},parse:function(i){var a=r.parse(i);return t.create({ciphertext:a})}},n.format.Hex)),wn.exports;var e,t,r,n}(),function(){return qa||(qa=1,xn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],a=[],o=[],s=[],l=[],c=[],y=[],v=[],k=[],w=[];(function(){for(var u=[],m=0;m<256;m++)u[m]=m<128?m<<1:m<<1^283;var E=0,S=0;for(m=0;m<256;m++){var d=S^S<<1^S<<2^S<<3^S<<4;d=d>>>8^255&d^99,i[E]=d,a[d]=E;var g=u[E],_=u[g],h=u[_],p=257*u[d]^16843008*d;o[E]=p<<24|p>>>8,s[E]=p<<16|p>>>16,l[E]=p<<8|p>>>24,c[E]=p,p=16843009*h^65537*_^257*g^16843008*E,y[d]=p<<24|p>>>8,v[d]=p<<16|p>>>16,k[d]=p<<8|p>>>24,w[d]=p,E?(E=g^u[u[u[h^g]]],S^=u[u[S]]):E=S=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var u=this._keyPriorReset=this._key,m=u.words,E=u.sigBytes/4,S=4*((this._nRounds=E+6)+1),d=this._keySchedule=[],g=0;g<S;g++)g<E?d[g]=m[g]:(p=d[g-1],g%E?E>6&&g%E==4&&(p=i[p>>>24]<<24|i[p>>>16&255]<<16|i[p>>>8&255]<<8|i[255&p]):(p=i[(p=p<<8|p>>>24)>>>24]<<24|i[p>>>16&255]<<16|i[p>>>8&255]<<8|i[255&p],p^=x[g/E|0]<<24),d[g]=d[g-E]^p);for(var _=this._invKeySchedule=[],h=0;h<S;h++){if(g=S-h,h%4)var p=d[g];else p=d[g-4];_[h]=h<4||g<=4?p:y[i[p>>>24]]^v[i[p>>>16&255]]^k[i[p>>>8&255]]^w[i[255&p]]}}},encryptBlock:function(u,m){this._doCryptBlock(u,m,this._keySchedule,o,s,l,c,i)},decryptBlock:function(u,m){var E=u[m+1];u[m+1]=u[m+3],u[m+3]=E,this._doCryptBlock(u,m,this._invKeySchedule,y,v,k,w,a),E=u[m+1],u[m+1]=u[m+3],u[m+3]=E},_doCryptBlock:function(u,m,E,S,d,g,_,h){for(var p=this._nRounds,T=u[m]^E[0],f=u[m+1]^E[1],R=u[m+2]^E[2],C=u[m+3]^E[3],I=4,D=1;D<p;D++){var P=S[T>>>24]^d[f>>>16&255]^g[R>>>8&255]^_[255&C]^E[I++],F=S[f>>>24]^d[R>>>16&255]^g[C>>>8&255]^_[255&T]^E[I++],H=S[R>>>24]^d[C>>>16&255]^g[T>>>8&255]^_[255&f]^E[I++],G=S[C>>>24]^d[T>>>16&255]^g[f>>>8&255]^_[255&R]^E[I++];T=P,f=F,R=H,C=G}P=(h[T>>>24]<<24|h[f>>>16&255]<<16|h[R>>>8&255]<<8|h[255&C])^E[I++],F=(h[f>>>24]<<24|h[R>>>16&255]<<16|h[C>>>8&255]<<8|h[255&T])^E[I++],H=(h[R>>>24]<<24|h[C>>>16&255]<<16|h[T>>>8&255]<<8|h[255&f])^E[I++],G=(h[C>>>24]<<24|h[T>>>16&255]<<16|h[f>>>8&255]<<8|h[255&R])^E[I++],u[m]=P,u[m+1]=F,u[m+2]=H,u[m+3]=G},keySize:8});t.AES=r._createHelper(b)}(),e.AES)),xn.exports;var e}(),Su(),function(){return Ma||(Ma=1,kn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var s=this._key,l=s.words,c=s.sigBytes,y=this._S=[],v=0;v<256;v++)y[v]=v;v=0;for(var k=0;v<256;v++){var w=v%c,x=l[w>>>2]>>>24-w%4*8&255;k=(k+y[v]+x)%256;var b=y[v];y[v]=y[k],y[k]=b}this._i=this._j=0},_doProcessBlock:function(s,l){s[l]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var s=this._S,l=this._i,c=this._j,y=0,v=0;v<4;v++){c=(c+s[l=(l+1)%256])%256;var k=s[l];s[l]=s[c],s[c]=k,y|=s[(s[l]+s[c])%256]<<24-8*v}return this._i=l,this._j=c,y}t.RC4=r._createHelper(i);var o=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)a.call(this)}});t.RC4Drop=r._createHelper(o)}(),e.RC4)),kn.exports;var e}(),function(){return Ua||(Ua=1,An.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],o=[],s=n.Rabbit=r.extend({_doReset:function(){for(var c=this._key.words,y=this.cfg.iv,v=0;v<4;v++)c[v]=16711935&(c[v]<<8|c[v]>>>24)|4278255360&(c[v]<<24|c[v]>>>8);var k=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],w=this._C=[c[2]<<16|c[2]>>>16,4294901760&c[0]|65535&c[1],c[3]<<16|c[3]>>>16,4294901760&c[1]|65535&c[2],c[0]<<16|c[0]>>>16,4294901760&c[2]|65535&c[3],c[1]<<16|c[1]>>>16,4294901760&c[3]|65535&c[0]];for(this._b=0,v=0;v<4;v++)l.call(this);for(v=0;v<8;v++)w[v]^=k[v+4&7];if(y){var x=y.words,b=x[0],u=x[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),E=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&E,d=E<<16|65535&m;for(w[0]^=m,w[1]^=S,w[2]^=E,w[3]^=d,w[4]^=m,w[5]^=S,w[6]^=E,w[7]^=d,v=0;v<4;v++)l.call(this)}},_doProcessBlock:function(c,y){var v=this._X;l.call(this),i[0]=v[0]^v[5]>>>16^v[3]<<16,i[1]=v[2]^v[7]>>>16^v[5]<<16,i[2]=v[4]^v[1]>>>16^v[7]<<16,i[3]=v[6]^v[3]>>>16^v[1]<<16;for(var k=0;k<4;k++)i[k]=16711935&(i[k]<<8|i[k]>>>24)|4278255360&(i[k]<<24|i[k]>>>8),c[y+k]^=i[k]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,v=0;v<8;v++)a[v]=y[v];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<a[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<a[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<a[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<a[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<a[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<a[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<a[6]>>>0?1:0)|0,this._b=y[7]>>>0<a[7]>>>0?1:0,v=0;v<8;v++){var k=c[v]+y[v],w=65535&k,x=k>>>16,b=((w*w>>>17)+w*x>>>15)+x*x,u=((4294901760&k)*k|0)+((65535&k)*k|0);o[v]=b^u}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=r._createHelper(s)}(),e.Rabbit)),An.exports;var e}(),function(){return Fa||(Fa=1,Tn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],o=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var c=this._key.words,y=this.cfg.iv,v=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],k=this._C=[c[2]<<16|c[2]>>>16,4294901760&c[0]|65535&c[1],c[3]<<16|c[3]>>>16,4294901760&c[1]|65535&c[2],c[0]<<16|c[0]>>>16,4294901760&c[2]|65535&c[3],c[1]<<16|c[1]>>>16,4294901760&c[3]|65535&c[0]];this._b=0;for(var w=0;w<4;w++)l.call(this);for(w=0;w<8;w++)k[w]^=v[w+4&7];if(y){var x=y.words,b=x[0],u=x[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),E=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&E,d=E<<16|65535&m;for(k[0]^=m,k[1]^=S,k[2]^=E,k[3]^=d,k[4]^=m,k[5]^=S,k[6]^=E,k[7]^=d,w=0;w<4;w++)l.call(this)}},_doProcessBlock:function(c,y){var v=this._X;l.call(this),i[0]=v[0]^v[5]>>>16^v[3]<<16,i[1]=v[2]^v[7]>>>16^v[5]<<16,i[2]=v[4]^v[1]>>>16^v[7]<<16,i[3]=v[6]^v[3]>>>16^v[1]<<16;for(var k=0;k<4;k++)i[k]=16711935&(i[k]<<8|i[k]>>>24)|4278255360&(i[k]<<24|i[k]>>>8),c[y+k]^=i[k]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,v=0;v<8;v++)a[v]=y[v];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<a[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<a[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<a[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<a[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<a[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<a[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<a[6]>>>0?1:0)|0,this._b=y[7]>>>0<a[7]>>>0?1:0,v=0;v<8;v++){var k=c[v]+y[v],w=65535&k,x=k>>>16,b=((w*w>>>17)+w*x>>>15)+x*x,u=((4294901760&k)*k|0)+((65535&k)*k|0);o[v]=b^u}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=r._createHelper(s)}(),e.RabbitLegacy)),Tn.exports;var e}(),Nu())));let ut="PENDING",On="",dr={};const Ru=["127.0.0.1","localhost"],Ou=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],Ln=(e,t)=>{const r=yt.AES.decrypt(t,"easy_email_pro_"+e).toString(yt.enc.Utf8);return JSON.parse(r)},pr={getToken(){if(typeof document<"u")return function(e){let t="";return document.cookie.split(";").forEach(r=>{const n=r.split("=")[0];n.trim()===e&&(t=r.replace(`${n}=`,""))}),t}("e_e_p")},setToken(e){if(typeof document<"u")return na("e_e_p",e,3600)},clearToken(){if(typeof document<"u")return na("e_e_p","",-1)}},Va=e=>{const t=Ou.find(r=>r.clidText===(n=>{const i=yt.enc.Utf8.parse("easy-email-pro"),a=yt.enc.Utf8.parse("easy-email-pro_multiple_years"),o=yt.mode.CFB,s=yt.pad.Pkcs7,l=n;return yt.AES.encrypt(l,i,{iv:a,mode:o,padding:s}).toString()})(e));if(t){if(t.expiredAt>+new Date/1e3){t.expiredAt-+new Date/1e3<5184e3&&(console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"));const r=typeof window>"u"||window.location===void 0;if(t.origins&&!r){if(Ru.includes(window.location.hostname))return!0;const n=function(i){var a;let o=(a=i.match(/(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/im))==null?void 0:a[1];if(!o)return i;if(o.split(".").length>2){const s=o.split(".");o=s.slice(s.length-2).join(".")}return o}(window.location.origin);return!!t.origins.includes(n)}return ut="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let Bn;const Xe=Object.freeze(new class{auth(e){return Le(this,null,function*(){On=e,Bn||(Bn=Le(null,null,function*(){if(ut!=="PENDING")return;if(Va(e))return!0;const t=pr.getToken();if(t)try{const n=Ln(e,t);n.expiredAt>+new Date/1e3&&(ut="SUCCESS",dr=n)}catch{pr.clearToken()}const r=()=>Le(null,null,function*(){try{const n=e==="FREE"?"https://api.beacas.com":"https://api.easyemail.pro",{data:i}=yield ra(`${n}/api/public/token?client_id=${e}&v=1.59.0`,{method:"GET",withCredentials:!1});dr=Ln(e,i.access_token),pr.setToken(i.access_token),ut="SUCCESS"}catch{try{const{data:i}=yield ra(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${e}&v=1.59.0`,{method:"GET"});dr=Ln(e,i.access_token),pr.setToken(i.access_token),ut="SUCCESS"}catch(i){throw console.log("error",i),ut="ERROR",i}}});ut==="SUCCESS"?r():yield r()})),yield Bn})}get clientId(){return On}getAuthState(){return ut}getFeatureEnabled(e){return!!Va(On)||re(dr,"features",[]).includes(e)}});let $a={},Ga=!1,Cn=!1;const In=Object.freeze(new class{checkLocaleData(){return Le(this,null,function*(){const e=setInterval(()=>{Xe.getAuthState()==="SUCCESS"&&(Ga=Xe.getFeatureEnabled("LOCALIZATION"),Cn=!0,clearInterval(e))},100)})}setLocaleData(e){$a=e,Cn||this.checkLocaleData()}translate(e,t){return this.translateWithParams(e,t)}translateWithParams(e,t){if(Cn&&!Ga)throw new Error("Current plan do not support localization");const r=re($a,e,e);if(!t)return r;const n=r.split("***");return n.splice(1,0,t),et(t)?n.join(""):O.createElement(O.Fragment,null,n.map((i,a)=>O.createElement(O.Fragment,{key:a},i)))}}),Q=In.translate.bind(In),Wa=".mjbody a{color:inherit}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}[data-view=PC] .hide-desktop-block,[data-view=PC] .hide-desktop-inline-block,[data-view=PC] .mobile-responsive-preview{display:none!important}[data-view=MOBILE] .node-type-page{margin:auto}[data-view=MOBILE] .hide-mobile-block,[data-view=MOBILE] .hide-mobile-inline-block,[data-view=MOBILE] .desktop-responsive-preview{display:none!important}",K={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",DANGEROUS_CODE:"dangerous-code",HTML_NODE:"html-node",HTML_BLOCK_NODE:"html-block-node",HTML_DOM_NODE:"html-dom-node",CONTENT_WIDGET:"content_widget",SECTION_WIDGET:"section_widget",WRAPPER_WIDGET:"wrapper_widget",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},se={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TABLE:"standard-table",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item",STANDARD_BLOCK_QUOTE:"standard-blockquote",STANDARD_TABLE2:"standard-table2",STANDARD_TABLE2_TR:"standard-table2-tr",STANDARD_TABLE2_TD:"standard-table2-td"},Ka={FOR_EACH:"logic-for-each",SHOW:"logic-show"},L=q(q(q({},K),se),Ka),z={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",TABLE:"table",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",BLOCK_NODE:"block-node",DANGEROUS_CODE:"dangerous_code",UNKNOWN_CONTENT:"unknown-content ",AMP_BLOCK:"amp-block",UNSET:"unset",UNSET_RENDER:"unset-render",TABLE2_TR:"table2-tr",TABLE2_TD:"table2-td",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Xa="easy_email_pro_preview_content_editable",qn="easy_email_pro_slate_node_placeholder",Pn="easy_email_pro_slate_code_block",Ja=["img","br","hr","area","base","col","embed","input","link","meta","source"],Mn=["div","p","h1","h2","h3","h4","h5","h6","article","aside","nav","section","header","footer","address","ul","ol","li","table","td","th","tr","blockquote","pre","tbody","center"],Un=()=>Vt(Ya),Kt=e=>O.createElement(Ya.Provider,{value:{context:e.context}},e.children);class Fn{constructor(t){ae(this,"mode"),ae(this,"headItems",[]),ae(this,"addStyle",r=>{this.addHeadItems({type:"style",id:r.id,content:`<mj-style ${r.inline&&this.mode==="production"?'inline="inline"':""}>${r.content}</mj-style>`})}),this.mode=t.mode}getHeadContent(){return[...new Set(this.headItems.map(t=>t.content))].join(`
1
+ var au=Object.defineProperty,su=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,Fr=(e,t,r)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))Qi.call(t,r)&&Fr(e,r,t[r]);if(sr)for(var r of sr(t))Zi.call(t,r)&&Fr(e,r,t[r]);return e},X=(e,t)=>su(e,ou(t)),_e=(e,t)=>{var r={};for(var n in e)Qi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&sr)for(var n of sr(e))t.indexOf(n)<0&&Zi.call(e,n)&&(r[n]=e[n]);return r},ae=(e,t,r)=>Fr(e,typeof t!="symbol"?t+"":t,r),Le=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(c){i(c)}},o=l=>{try{s(r.throw(l))}catch(c){i(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});import{mergeWith as lu,cloneDeep as Te,isArray as uu,get as re,isString as et,set as qe,camelCase as ea,omit as ot,forOwn as cu,isUndefined as jr,isNumber as du,isBoolean as pu,merge as zr,pick as hu,startCase as _u,chunk as fu,pickBy as or,identity as gu}from"lodash";import O,{useContext as Vt,useMemo as mu,isValidElement as bu}from"react";import ta from"axios";import{renderToStaticMarkup as $t}from"react-dom/server";function gt(...e){return e.filter(t=>typeof t=="string").join(" ")}function yu(e){return e}function vu(e){return e}function Y(e,t){return lu(Te(e),Te(t),(r,n)=>uu(n)?n:void 0)}function ra(e,t,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i}var Gt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wu(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var na={exports:{}};function Hr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vr={exports:{}};const xu=wu(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ia;Vr.exports;function pe(){return ia||(ia=1,Vr.exports=(e=e||function(t,r){var n;if(typeof window<"u"&&window.crypto&&(n=window.crypto),typeof self<"u"&&self.crypto&&(n=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&typeof window<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&Gt!==void 0&&Gt.crypto&&(n=Gt.crypto),!n)try{n=xu}catch{}var i=function(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function u(){}return function(m){var E;return u.prototype=m,E=new u,u.prototype=null,E}}(),o={},s=o.lib={},l=s.Base=function(){return{extend:function(u){var m=a(this);return u&&m.mixIn(u),m.hasOwnProperty("init")&&this.init!==m.init||(m.init=function(){m.$super.init.apply(this,arguments)}),m.init.prototype=m,m.$super=this,m},create:function(){var u=this.extend();return u.init.apply(u,arguments),u},init:function(){},mixIn:function(u){for(var m in u)u.hasOwnProperty(m)&&(this[m]=u[m]);u.hasOwnProperty("toString")&&(this.toString=u.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=s.WordArray=l.extend({init:function(u,m){u=this.words=u||[],this.sigBytes=m!=r?m:4*u.length},toString:function(u){return(u||v).stringify(this)},concat:function(u){var m=this.words,E=u.words,S=this.sigBytes,d=u.sigBytes;if(this.clamp(),S%4)for(var g=0;g<d;g++){var _=E[g>>>2]>>>24-g%4*8&255;m[S+g>>>2]|=_<<24-(S+g)%4*8}else for(var h=0;h<d;h+=4)m[S+h>>>2]=E[h>>>2];return this.sigBytes+=d,this},clamp:function(){var u=this.words,m=this.sigBytes;u[m>>>2]&=4294967295<<32-m%4*8,u.length=t.ceil(m/4)},clone:function(){var u=l.clone.call(this);return u.words=this.words.slice(0),u},random:function(u){for(var m=[],E=0;E<u;E+=4)m.push(i());return new c.init(m,u)}}),y=o.enc={},v=y.Hex={stringify:function(u){for(var m=u.words,E=u.sigBytes,S=[],d=0;d<E;d++){var g=m[d>>>2]>>>24-d%4*8&255;S.push((g>>>4).toString(16)),S.push((15&g).toString(16))}return S.join("")},parse:function(u){for(var m=u.length,E=[],S=0;S<m;S+=2)E[S>>>3]|=parseInt(u.substr(S,2),16)<<24-S%8*4;return new c.init(E,m/2)}},k=y.Latin1={stringify:function(u){for(var m=u.words,E=u.sigBytes,S=[],d=0;d<E;d++){var g=m[d>>>2]>>>24-d%4*8&255;S.push(String.fromCharCode(g))}return S.join("")},parse:function(u){for(var m=u.length,E=[],S=0;S<m;S++)E[S>>>2]|=(255&u.charCodeAt(S))<<24-S%4*8;return new c.init(E,m)}},w=y.Utf8={stringify:function(u){try{return decodeURIComponent(escape(k.stringify(u)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(u){return k.parse(unescape(encodeURIComponent(u)))}},x=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(u){typeof u=="string"&&(u=w.parse(u)),this._data.concat(u),this._nDataBytes+=u.sigBytes},_process:function(u){var m,E=this._data,S=E.words,d=E.sigBytes,g=this.blockSize,_=d/(4*g),h=(_=u?t.ceil(_):t.max((0|_)-this._minBufferSize,0))*g,p=t.min(4*h,d);if(h){for(var T=0;T<h;T+=g)this._doProcessBlock(S,T);m=S.splice(0,h),E.sigBytes-=p}return new c.init(m,p)},clone:function(){var u=l.clone.call(this);return u._data=this._data.clone(),u},_minBufferSize:0});s.Hasher=x.extend({cfg:l.extend(),init:function(u){this.cfg=this.cfg.extend(u),this.reset()},reset:function(){x.reset.call(this),this._doReset()},update:function(u){return this._append(u),this._process(),this},finalize:function(u){return u&&this._append(u),this._doFinalize()},blockSize:16,_createHelper:function(u){return function(m,E){return new u.init(E).finalize(m)}},_createHmacHelper:function(u){return function(m,E){return new b.HMAC.init(u,E).finalize(m)}}});var b=o.algo={};return o}(Math),e)),Vr.exports;var e}var aa,$r={exports:{}};$r.exports;function ur(){return aa||(aa=1,$r.exports=(o=pe(),r=(t=o).lib,n=r.Base,i=r.WordArray,(a=t.x64={}).Word=n.extend({init:function(s,l){this.high=s,this.low=l}}),a.WordArray=n.extend({init:function(s,l){s=this.words=s||[],this.sigBytes=l!=e?l:8*s.length},toX32:function(){for(var s=this.words,l=s.length,c=[],y=0;y<l;y++){var v=s[y];c.push(v.high),c.push(v.low)}return i.create(c,this.sigBytes)},clone:function(){for(var s=n.clone.call(this),l=s.words=this.words.slice(0),c=l.length,y=0;y<c;y++)l[y]=l[y].clone();return s}}),o)),$r.exports;var e,t,r,n,i,a,o}var sa,Gr={exports:{}};Gr.exports;function Eu(){return sa||(sa=1,Gr.exports=(e=pe(),function(){if(typeof ArrayBuffer=="function"){var t=e.lib.WordArray,r=t.init,n=t.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var a=i.byteLength,o=[],s=0;s<a;s++)o[s>>>2]|=i[s]<<24-s%4*8;r.call(this,o,a)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),Gr.exports;var e}var oa,Wr={exports:{}};Wr.exports;function ku(){return oa||(oa=1,Wr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(a){return a<<8&4278255360|a>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(a){for(var o=a.words,s=a.sigBytes,l=[],c=0;c<s;c+=2){var y=o[c>>>2]>>>16-c%4*8&65535;l.push(String.fromCharCode(y))}return l.join("")},parse:function(a){for(var o=a.length,s=[],l=0;l<o;l++)s[l>>>1]|=a.charCodeAt(l)<<16-l%2*16;return r.create(s,2*o)}},n.Utf16LE={stringify:function(a){for(var o=a.words,s=a.sigBytes,l=[],c=0;c<s;c+=2){var y=i(o[c>>>2]>>>16-c%4*8&65535);l.push(String.fromCharCode(y))}return l.join("")},parse:function(a){for(var o=a.length,s=[],l=0;l<o;l++)s[l>>>1]|=i(a.charCodeAt(l)<<16-l%2*16);return r.create(s,2*o)}}}(),e.enc.Utf16)),Wr.exports;var e}var la,Kr={exports:{}};Kr.exports;function mt(){return la||(la=1,Kr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray;function n(i,a,o){for(var s=[],l=0,c=0;c<a;c++)if(c%4){var y=o[i.charCodeAt(c-1)]<<c%4*2|o[i.charCodeAt(c)]>>>6-c%4*2;s[l>>>2]|=y<<24-l%4*8,l++}return r.create(s,l)}t.enc.Base64={stringify:function(i){var a=i.words,o=i.sigBytes,s=this._map;i.clamp();for(var l=[],c=0;c<o;c+=3)for(var y=(a[c>>>2]>>>24-c%4*8&255)<<16|(a[c+1>>>2]>>>24-(c+1)%4*8&255)<<8|a[c+2>>>2]>>>24-(c+2)%4*8&255,v=0;v<4&&c+.75*v<o;v++)l.push(s.charAt(y>>>6*(3-v)&63));var k=s.charAt(64);if(k)for(;l.length%4;)l.push(k);return l.join("")},parse:function(i){var a=i.length,o=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var l=0;l<o.length;l++)s[o.charCodeAt(l)]=l}var c=o.charAt(64);if(c){var y=i.indexOf(c);y!==-1&&(a=y)}return n(i,a,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),Kr.exports;var e}var ua,Xr={exports:{}};Xr.exports;function Au(){return ua||(ua=1,Xr.exports=(e=pe(),function(){var t=e,r=t.lib.WordArray;function n(i,a,o){for(var s=[],l=0,c=0;c<a;c++)if(c%4){var y=o[i.charCodeAt(c-1)]<<c%4*2|o[i.charCodeAt(c)]>>>6-c%4*2;s[l>>>2]|=y<<24-l%4*8,l++}return r.create(s,l)}t.enc.Base64url={stringify:function(i,a){a===void 0&&(a=!0);var o=i.words,s=i.sigBytes,l=a?this._safe_map:this._map;i.clamp();for(var c=[],y=0;y<s;y+=3)for(var v=(o[y>>>2]>>>24-y%4*8&255)<<16|(o[y+1>>>2]>>>24-(y+1)%4*8&255)<<8|o[y+2>>>2]>>>24-(y+2)%4*8&255,k=0;k<4&&y+.75*k<s;k++)c.push(l.charAt(v>>>6*(3-k)&63));var w=l.charAt(64);if(w)for(;c.length%4;)c.push(w);return c.join("")},parse:function(i,a){a===void 0&&(a=!0);var o=i.length,s=a?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var c=0;c<s.length;c++)l[s.charCodeAt(c)]=c}var y=s.charAt(64);if(y){var v=i.indexOf(y);v!==-1&&(o=v)}return n(i,o,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),Xr.exports;var e}var ca,Jr={exports:{}};Jr.exports;function bt(){return ca||(ca=1,Jr.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[];(function(){for(var w=0;w<64;w++)s[w]=4294967296*t.abs(t.sin(w+1))|0})();var l=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(w,x){for(var b=0;b<16;b++){var u=x+b,m=w[u];w[u]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var E=this._hash.words,S=w[x+0],d=w[x+1],g=w[x+2],_=w[x+3],h=w[x+4],p=w[x+5],T=w[x+6],f=w[x+7],R=w[x+8],C=w[x+9],I=w[x+10],D=w[x+11],P=w[x+12],F=w[x+13],H=w[x+14],G=w[x+15],M=E[0],j=E[1],U=E[2],V=E[3];M=c(M,j,U,V,S,7,s[0]),V=c(V,M,j,U,d,12,s[1]),U=c(U,V,M,j,g,17,s[2]),j=c(j,U,V,M,_,22,s[3]),M=c(M,j,U,V,h,7,s[4]),V=c(V,M,j,U,p,12,s[5]),U=c(U,V,M,j,T,17,s[6]),j=c(j,U,V,M,f,22,s[7]),M=c(M,j,U,V,R,7,s[8]),V=c(V,M,j,U,C,12,s[9]),U=c(U,V,M,j,I,17,s[10]),j=c(j,U,V,M,D,22,s[11]),M=c(M,j,U,V,P,7,s[12]),V=c(V,M,j,U,F,12,s[13]),U=c(U,V,M,j,H,17,s[14]),M=y(M,j=c(j,U,V,M,G,22,s[15]),U,V,d,5,s[16]),V=y(V,M,j,U,T,9,s[17]),U=y(U,V,M,j,D,14,s[18]),j=y(j,U,V,M,S,20,s[19]),M=y(M,j,U,V,p,5,s[20]),V=y(V,M,j,U,I,9,s[21]),U=y(U,V,M,j,G,14,s[22]),j=y(j,U,V,M,h,20,s[23]),M=y(M,j,U,V,C,5,s[24]),V=y(V,M,j,U,H,9,s[25]),U=y(U,V,M,j,_,14,s[26]),j=y(j,U,V,M,R,20,s[27]),M=y(M,j,U,V,F,5,s[28]),V=y(V,M,j,U,g,9,s[29]),U=y(U,V,M,j,f,14,s[30]),M=v(M,j=y(j,U,V,M,P,20,s[31]),U,V,p,4,s[32]),V=v(V,M,j,U,R,11,s[33]),U=v(U,V,M,j,D,16,s[34]),j=v(j,U,V,M,H,23,s[35]),M=v(M,j,U,V,d,4,s[36]),V=v(V,M,j,U,h,11,s[37]),U=v(U,V,M,j,f,16,s[38]),j=v(j,U,V,M,I,23,s[39]),M=v(M,j,U,V,F,4,s[40]),V=v(V,M,j,U,S,11,s[41]),U=v(U,V,M,j,_,16,s[42]),j=v(j,U,V,M,T,23,s[43]),M=v(M,j,U,V,C,4,s[44]),V=v(V,M,j,U,P,11,s[45]),U=v(U,V,M,j,G,16,s[46]),M=k(M,j=v(j,U,V,M,g,23,s[47]),U,V,S,6,s[48]),V=k(V,M,j,U,f,10,s[49]),U=k(U,V,M,j,H,15,s[50]),j=k(j,U,V,M,p,21,s[51]),M=k(M,j,U,V,P,6,s[52]),V=k(V,M,j,U,_,10,s[53]),U=k(U,V,M,j,I,15,s[54]),j=k(j,U,V,M,d,21,s[55]),M=k(M,j,U,V,R,6,s[56]),V=k(V,M,j,U,G,10,s[57]),U=k(U,V,M,j,T,15,s[58]),j=k(j,U,V,M,F,21,s[59]),M=k(M,j,U,V,h,6,s[60]),V=k(V,M,j,U,D,10,s[61]),U=k(U,V,M,j,g,15,s[62]),j=k(j,U,V,M,C,21,s[63]),E[0]=E[0]+M|0,E[1]=E[1]+j|0,E[2]=E[2]+U|0,E[3]=E[3]+V|0},_doFinalize:function(){var w=this._data,x=w.words,b=8*this._nDataBytes,u=8*w.sigBytes;x[u>>>5]|=128<<24-u%32;var m=t.floor(b/4294967296),E=b;x[15+(u+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),x[14+(u+64>>>9<<4)]=16711935&(E<<8|E>>>24)|4278255360&(E<<24|E>>>8),w.sigBytes=4*(x.length+1),this._process();for(var S=this._hash,d=S.words,g=0;g<4;g++){var _=d[g];d[g]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8)}return S},clone:function(){var w=a.clone.call(this);return w._hash=this._hash.clone(),w}});function c(w,x,b,u,m,E,S){var d=w+(x&b|~x&u)+m+S;return(d<<E|d>>>32-E)+x}function y(w,x,b,u,m,E,S){var d=w+(x&u|b&~u)+m+S;return(d<<E|d>>>32-E)+x}function v(w,x,b,u,m,E,S){var d=w+(x^b^u)+m+S;return(d<<E|d>>>32-E)+x}function k(w,x,b,u,m,E,S){var d=w+(b^(x|~u))+m+S;return(d<<E|d>>>32-E)+x}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),Jr.exports;var e}var da,Yr={exports:{}};Yr.exports;function pa(){return da||(da=1,Yr.exports=(s=pe(),t=(e=s).lib,r=t.WordArray,n=t.Hasher,i=e.algo,a=[],o=i.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,c){for(var y=this._hash.words,v=y[0],k=y[1],w=y[2],x=y[3],b=y[4],u=0;u<80;u++){if(u<16)a[u]=0|l[c+u];else{var m=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=m<<1|m>>>31}var E=(v<<5|v>>>27)+b+a[u];E+=u<20?1518500249+(k&w|~k&x):u<40?1859775393+(k^w^x):u<60?(k&w|k&x|w&x)-1894007588:(k^w^x)-899497514,b=x,x=w,w=k<<30|k>>>2,k=v,v=E}y[0]=y[0]+v|0,y[1]=y[1]+k|0,y[2]=y[2]+w|0,y[3]=y[3]+x|0,y[4]=y[4]+b|0},_doFinalize:function(){var l=this._data,c=l.words,y=8*this._nDataBytes,v=8*l.sigBytes;return c[v>>>5]|=128<<24-v%32,c[14+(v+64>>>9<<4)]=Math.floor(y/4294967296),c[15+(v+64>>>9<<4)]=y,l.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var l=n.clone.call(this);return l._hash=this._hash.clone(),l}}),e.SHA1=n._createHelper(o),e.HmacSHA1=n._createHmacHelper(o),s.SHA1)),Yr.exports;var e,t,r,n,i,a,o,s}var ha,Qr={exports:{}};Qr.exports;function Zr(){return ha||(ha=1,Qr.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[],l=[];(function(){function v(b){for(var u=t.sqrt(b),m=2;m<=u;m++)if(!(b%m))return!1;return!0}function k(b){return 4294967296*(b-(0|b))|0}for(var w=2,x=0;x<64;)v(w)&&(x<8&&(s[x]=k(t.pow(w,.5))),l[x]=k(t.pow(w,1/3)),x++),w++})();var c=[],y=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(v,k){for(var w=this._hash.words,x=w[0],b=w[1],u=w[2],m=w[3],E=w[4],S=w[5],d=w[6],g=w[7],_=0;_<64;_++){if(_<16)c[_]=0|v[k+_];else{var h=c[_-15],p=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,T=c[_-2],f=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;c[_]=p+c[_-7]+f+c[_-16]}var R=x&b^x&u^b&u,C=(x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22),I=g+((E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25))+(E&S^~E&d)+l[_]+c[_];g=d,d=S,S=E,E=m+I|0,m=u,u=b,b=x,x=I+(C+R)|0}w[0]=w[0]+x|0,w[1]=w[1]+b|0,w[2]=w[2]+u|0,w[3]=w[3]+m|0,w[4]=w[4]+E|0,w[5]=w[5]+S|0,w[6]=w[6]+d|0,w[7]=w[7]+g|0},_doFinalize:function(){var v=this._data,k=v.words,w=8*this._nDataBytes,x=8*v.sigBytes;return k[x>>>5]|=128<<24-x%32,k[14+(x+64>>>9<<4)]=t.floor(w/4294967296),k[15+(x+64>>>9<<4)]=w,v.sigBytes=4*k.length,this._process(),this._hash},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});r.SHA256=a._createHelper(y),r.HmacSHA256=a._createHmacHelper(y)}(Math),e.SHA256)),Qr.exports;var e}var _a,en={exports:{}};en.exports;var fa,tn={exports:{}};tn.exports;function ga(){return fa||(fa=1,tn.exports=(e=pe(),ur(),function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,a=n.WordArray,o=t.algo;function s(){return i.create.apply(i,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];(function(){for(var v=0;v<80;v++)c[v]=s()})();var y=o.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(v,k){for(var w=this._hash.words,x=w[0],b=w[1],u=w[2],m=w[3],E=w[4],S=w[5],d=w[6],g=w[7],_=x.high,h=x.low,p=b.high,T=b.low,f=u.high,R=u.low,C=m.high,I=m.low,D=E.high,P=E.low,F=S.high,H=S.low,G=d.high,M=d.low,j=g.high,U=g.low,V=_,ue=h,ke=p,Ae=T,J=f,A=R,N=C,B=I,$=D,W=P,Z=F,ce=H,me=G,xe=M,Ie=j,Ne=U,ye=0;ye<80;ye++){var ve,be,$e=c[ye];if(ye<16)be=$e.high=0|v[k+2*ye],ve=$e.low=0|v[k+2*ye+1];else{var Ft=c[ye-15],St=Ft.high,jt=Ft.low,Wl=(St>>>1|jt<<31)^(St>>>8|jt<<24)^St>>>7,ji=(jt>>>1|St<<31)^(jt>>>8|St<<24)^(jt>>>7|St<<25),zi=c[ye-2],Nt=zi.high,zt=zi.low,Kl=(Nt>>>19|zt<<13)^(Nt<<3|zt>>>29)^Nt>>>6,Hi=(zt>>>19|Nt<<13)^(zt<<3|Nt>>>29)^(zt>>>6|Nt<<26),Vi=c[ye-7],Xl=Vi.high,Jl=Vi.low,$i=c[ye-16],Yl=$i.high,Gi=$i.low;be=(be=(be=Wl+Xl+((ve=ji+Jl)>>>0<ji>>>0?1:0))+Kl+((ve+=Hi)>>>0<Hi>>>0?1:0))+Yl+((ve+=Gi)>>>0<Gi>>>0?1:0),$e.high=be,$e.low=ve}var ft,Ql=$&Z^~$&me,Wi=W&ce^~W&xe,Zl=V&ke^V&J^ke&J,eu=ue&Ae^ue&A^Ae&A,tu=(V>>>28|ue<<4)^(V<<30|ue>>>2)^(V<<25|ue>>>7),Ki=(ue>>>28|V<<4)^(ue<<30|V>>>2)^(ue<<25|V>>>7),ru=($>>>14|W<<18)^($>>>18|W<<14)^($<<23|W>>>9),nu=(W>>>14|$<<18)^(W>>>18|$<<14)^(W<<23|$>>>9),Xi=l[ye],iu=Xi.high,Ji=Xi.low,Ht=Ie+ru+((ft=Ne+nu)>>>0<Ne>>>0?1:0),Yi=Ki+eu;Ie=me,Ne=xe,me=Z,xe=ce,Z=$,ce=W,$=N+(Ht=(Ht=(Ht=Ht+Ql+((ft+=Wi)>>>0<Wi>>>0?1:0))+iu+((ft+=Ji)>>>0<Ji>>>0?1:0))+be+((ft+=ve)>>>0<ve>>>0?1:0))+((W=B+ft|0)>>>0<B>>>0?1:0)|0,N=J,B=A,J=ke,A=Ae,ke=V,Ae=ue,V=Ht+(tu+Zl+(Yi>>>0<Ki>>>0?1:0))+((ue=ft+Yi|0)>>>0<ft>>>0?1:0)|0}h=x.low=h+ue,x.high=_+V+(h>>>0<ue>>>0?1:0),T=b.low=T+Ae,b.high=p+ke+(T>>>0<Ae>>>0?1:0),R=u.low=R+A,u.high=f+J+(R>>>0<A>>>0?1:0),I=m.low=I+B,m.high=C+N+(I>>>0<B>>>0?1:0),P=E.low=P+W,E.high=D+$+(P>>>0<W>>>0?1:0),H=S.low=H+ce,S.high=F+Z+(H>>>0<ce>>>0?1:0),M=d.low=M+xe,d.high=G+me+(M>>>0<xe>>>0?1:0),U=g.low=U+Ne,g.high=j+Ie+(U>>>0<Ne>>>0?1:0)},_doFinalize:function(){var v=this._data,k=v.words,w=8*this._nDataBytes,x=8*v.sigBytes;return k[x>>>5]|=128<<24-x%32,k[30+(x+128>>>10<<5)]=Math.floor(w/4294967296),k[31+(x+128>>>10<<5)]=w,v.sigBytes=4*k.length,this._process(),this._hash.toX32()},clone:function(){var v=r.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:32});t.SHA512=r._createHelper(y),t.HmacSHA512=r._createHmacHelper(y)}(),e.SHA512)),tn.exports;var e}var ma,rn={exports:{}};rn.exports;var ba,nn={exports:{}};nn.exports;function Tu(){return ba||(ba=1,nn.exports=(e=pe(),ur(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],y=[];(function(){for(var w=1,x=0,b=0;b<24;b++){l[w+5*x]=(b+1)*(b+2)/2%64;var u=(2*w+3*x)%5;w=x%5,x=u}for(w=0;w<5;w++)for(x=0;x<5;x++)c[w+5*x]=x+(2*w+3*x)%5*5;for(var m=1,E=0;E<24;E++){for(var S=0,d=0,g=0;g<7;g++){if(1&m){var _=(1<<g)-1;_<32?d^=1<<_:S^=1<<_-32}128&m?m=m<<1^113:m<<=1}y[E]=o.create(S,d)}})();var v=[];(function(){for(var w=0;w<25;w++)v[w]=o.create()})();var k=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var w=this._state=[],x=0;x<25;x++)w[x]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(w,x){for(var b=this._state,u=this.blockSize/2,m=0;m<u;m++){var E=w[x+2*m],S=w[x+2*m+1];E=16711935&(E<<8|E>>>24)|4278255360&(E<<24|E>>>8),S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),(U=b[m]).high^=S,U.low^=E}for(var d=0;d<24;d++){for(var g=0;g<5;g++){for(var _=0,h=0,p=0;p<5;p++)_^=(U=b[g+5*p]).high,h^=U.low;var T=v[g];T.high=_,T.low=h}for(g=0;g<5;g++){var f=v[(g+4)%5],R=v[(g+1)%5],C=R.high,I=R.low;for(_=f.high^(C<<1|I>>>31),h=f.low^(I<<1|C>>>31),p=0;p<5;p++)(U=b[g+5*p]).high^=_,U.low^=h}for(var D=1;D<25;D++){var P=(U=b[D]).high,F=U.low,H=l[D];H<32?(_=P<<H|F>>>32-H,h=F<<H|P>>>32-H):(_=F<<H-32|P>>>64-H,h=P<<H-32|F>>>64-H);var G=v[c[D]];G.high=_,G.low=h}var M=v[0],j=b[0];for(M.high=j.high,M.low=j.low,g=0;g<5;g++)for(p=0;p<5;p++){var U=b[D=g+5*p],V=v[D],ue=v[(g+1)%5+5*p],ke=v[(g+2)%5+5*p];U.high=V.high^~ue.high&ke.high,U.low=V.low^~ue.low&ke.low}U=b[0];var Ae=y[d];U.high^=Ae.high,U.low^=Ae.low}},_doFinalize:function(){var w=this._data,x=w.words;this._nDataBytes;var b=8*w.sigBytes,u=32*this.blockSize;x[b>>>5]|=1<<24-b%32,x[(t.ceil((b+1)/u)*u>>>5)-1]|=128,w.sigBytes=4*x.length,this._process();for(var m=this._state,E=this.cfg.outputLength/8,S=E/8,d=[],g=0;g<S;g++){var _=m[g],h=_.high,p=_.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),d.push(p),d.push(h)}return new i.init(d,E)},clone:function(){for(var w=a.clone.call(this),x=w._state=this._state.slice(0),b=0;b<25;b++)x[b]=x[b].clone();return w}});r.SHA3=a._createHelper(k),r.HmacSHA3=a._createHmacHelper(k)}(Math),e.SHA3)),nn.exports;var e}var ya,an={exports:{}};an.exports;var va,sn={exports:{}};sn.exports;function on(){return va||(va=1,sn.exports=(e=pe(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(i,a){i=this._hasher=new i.init,typeof a=="string"&&(a=n.parse(a));var o=i.blockSize,s=4*o;a.sigBytes>s&&(a=i.finalize(a)),a.clamp();for(var l=this._oKey=a.clone(),c=this._iKey=a.clone(),y=l.words,v=c.words,k=0;k<o;k++)y[k]^=1549556828,v[k]^=909522486;l.sigBytes=c.sigBytes=s,this.reset()},reset:function(){var i=this._hasher;i.reset(),i.update(this._iKey)},update:function(i){return this._hasher.update(i),this},finalize:function(i){var a=this._hasher,o=a.finalize(i);return a.reset(),a.finalize(this._oKey.clone().concat(o))}})))),sn.exports;var e,t,r,n}var wa,ln={exports:{}};ln.exports;var xa,un={exports:{}};un.exports;function lt(){return xa||(xa=1,un.exports=(s=pe(),pa(),on(),t=(e=s).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.MD5,o=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(l){this.cfg=this.cfg.extend(l)},compute:function(l,c){for(var y,v=this.cfg,k=v.hasher.create(),w=n.create(),x=w.words,b=v.keySize,u=v.iterations;x.length<b;){y&&k.update(y),y=k.update(l).finalize(c),k.reset();for(var m=1;m<u;m++)y=k.finalize(y),k.reset();w.concat(y)}return w.sigBytes=4*b,w}}),e.EvpKDF=function(l,c,y){return o.create(y).compute(l,c)},s.EvpKDF)),un.exports;var e,t,r,n,i,a,o,s}var Ea,cn={exports:{}};cn.exports;function Re(){return Ea||(Ea=1,cn.exports=(e=pe(),lt(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,a=n.WordArray,o=n.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var l=s.Base64,c=r.algo.EvpKDF,y=n.Cipher=o.extend({cfg:i.extend(),createEncryptor:function(d,g){return this.create(this._ENC_XFORM_MODE,d,g)},createDecryptor:function(d,g){return this.create(this._DEC_XFORM_MODE,d,g)},init:function(d,g,_){this.cfg=this.cfg.extend(_),this._xformMode=d,this._key=g,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(d){return this._append(d),this._process()},finalize:function(d){return d&&this._append(d),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function d(g){return typeof g=="string"?S:m}return function(g){return{encrypt:function(_,h,p){return d(h).encrypt(g,_,h,p)},decrypt:function(_,h,p){return d(h).decrypt(g,_,h,p)}}}}()});n.StreamCipher=y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var v=r.mode={},k=n.BlockCipherMode=i.extend({createEncryptor:function(d,g){return this.Encryptor.create(d,g)},createDecryptor:function(d,g){return this.Decryptor.create(d,g)},init:function(d,g){this._cipher=d,this._iv=g}}),w=v.CBC=function(){var d=k.extend();function g(_,h,p){var T,f=this._iv;f?(T=f,this._iv=t):T=this._prevBlock;for(var R=0;R<p;R++)_[h+R]^=T[R]}return d.Encryptor=d.extend({processBlock:function(_,h){var p=this._cipher,T=p.blockSize;g.call(this,_,h,T),p.encryptBlock(_,h),this._prevBlock=_.slice(h,h+T)}}),d.Decryptor=d.extend({processBlock:function(_,h){var p=this._cipher,T=p.blockSize,f=_.slice(h,h+T);p.decryptBlock(_,h),g.call(this,_,h,T),this._prevBlock=f}}),d}(),x=(r.pad={}).Pkcs7={pad:function(d,g){for(var _=4*g,h=_-d.sigBytes%_,p=h<<24|h<<16|h<<8|h,T=[],f=0;f<h;f+=4)T.push(p);var R=a.create(T,h);d.concat(R)},unpad:function(d){var g=255&d.words[d.sigBytes-1>>>2];d.sigBytes-=g}};n.BlockCipher=y.extend({cfg:y.cfg.extend({mode:w,padding:x}),reset:function(){var d;y.reset.call(this);var g=this.cfg,_=g.iv,h=g.mode;this._xformMode==this._ENC_XFORM_MODE?d=h.createEncryptor:(d=h.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==d?this._mode.init(this,_&&_.words):(this._mode=d.call(h,this,_&&_.words),this._mode.__creator=d)},_doProcessBlock:function(d,g){this._mode.processBlock(d,g)},_doFinalize:function(){var d,g=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(g.pad(this._data,this.blockSize),d=this._process(!0)):(d=this._process(!0),g.unpad(d)),d},blockSize:4});var b=n.CipherParams=i.extend({init:function(d){this.mixIn(d)},toString:function(d){return(d||this.formatter).stringify(this)}}),u=(r.format={}).OpenSSL={stringify:function(d){var g=d.ciphertext,_=d.salt;return(_?a.create([1398893684,1701076831]).concat(_).concat(g):g).toString(l)},parse:function(d){var g,_=l.parse(d),h=_.words;return h[0]==1398893684&&h[1]==1701076831&&(g=a.create(h.slice(2,4)),h.splice(0,4),_.sigBytes-=16),b.create({ciphertext:_,salt:g})}},m=n.SerializableCipher=i.extend({cfg:i.extend({format:u}),encrypt:function(d,g,_,h){h=this.cfg.extend(h);var p=d.createEncryptor(_,h),T=p.finalize(g),f=p.cfg;return b.create({ciphertext:T,key:_,iv:f.iv,algorithm:d,mode:f.mode,padding:f.padding,blockSize:d.blockSize,formatter:h.format})},decrypt:function(d,g,_,h){return h=this.cfg.extend(h),g=this._parse(g,h.format),d.createDecryptor(_,h).finalize(g.ciphertext)},_parse:function(d,g){return typeof d=="string"?g.parse(d,this):d}}),E=(r.kdf={}).OpenSSL={execute:function(d,g,_,h,p){if(h||(h=a.random(8)),p)T=c.create({keySize:g+_,hasher:p}).compute(d,h);else var T=c.create({keySize:g+_}).compute(d,h);var f=a.create(T.words.slice(g),4*_);return T.sigBytes=4*g,b.create({key:T,iv:f,salt:h})}},S=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:E}),encrypt:function(d,g,_,h){var p=(h=this.cfg.extend(h)).kdf.execute(_,d.keySize,d.ivSize,h.salt,h.hasher);h.iv=p.iv;var T=m.encrypt.call(this,d,g,p.key,h);return T.mixIn(p),T},decrypt:function(d,g,_,h){h=this.cfg.extend(h),g=this._parse(g,h.format);var p=h.kdf.execute(_,d.keySize,d.ivSize,g.salt,h.hasher);return h.iv=p.iv,m.decrypt.call(this,d,g,p.key,h)}})}()))),cn.exports;var e}var ka,dn={exports:{}};dn.exports;var Aa,pn={exports:{}};pn.exports;var Ta,hn={exports:{}};hn.exports;function Du(){return Ta||(Ta=1,hn.exports=(e=pe(),Re(),e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(a){if(255&~(a>>24))a+=1<<24;else{var o=a>>16&255,s=a>>8&255,l=255&a;o===255?(o=0,s===255?(s=0,l===255?l=0:++l):++s):++o,a=0,a+=o<<16,a+=s<<8,a+=l}return a}function n(a){return(a[0]=r(a[0]))===0&&(a[1]=r(a[1])),a}var i=t.Encryptor=t.extend({processBlock:function(a,o){var s=this._cipher,l=s.blockSize,c=this._iv,y=this._counter;c&&(y=this._counter=c.slice(0),this._iv=void 0),n(y);var v=y.slice(0);s.encryptBlock(v,0);for(var k=0;k<l;k++)a[o+k]^=v[k]}});return t.Decryptor=i,t}(),e.mode.CTRGladman)),hn.exports;var e}var Da,_n={exports:{}};_n.exports;var Sa,fn={exports:{}};fn.exports;var Na,gn={exports:{}};gn.exports;var Ra,mn={exports:{}};mn.exports;var Oa,bn={exports:{}};bn.exports;var La,yn={exports:{}};yn.exports;var Ba,vn={exports:{}};vn.exports;var Ca,wn={exports:{}};wn.exports;var Ia,xn={exports:{}};xn.exports;var qa,En={exports:{}};En.exports;function Su(){return qa||(qa=1,En.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,a=t.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],y=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],v=a.DES=i.extend({_doReset:function(){for(var b=this._key.words,u=[],m=0;m<56;m++){var E=o[m]-1;u[m]=b[E>>>5]>>>31-E%32&1}for(var S=this._subKeys=[],d=0;d<16;d++){var g=S[d]=[],_=l[d];for(m=0;m<24;m++)g[m/6|0]|=u[(s[m]-1+_)%28]<<31-m%6,g[4+(m/6|0)]|=u[28+(s[m+24]-1+_)%28]<<31-m%6;for(g[0]=g[0]<<1|g[0]>>>31,m=1;m<7;m++)g[m]=g[m]>>>4*(m-1)+3;g[7]=g[7]<<5|g[7]>>>27}var h=this._invSubKeys=[];for(m=0;m<16;m++)h[m]=S[15-m]},encryptBlock:function(b,u){this._doCryptBlock(b,u,this._subKeys)},decryptBlock:function(b,u){this._doCryptBlock(b,u,this._invSubKeys)},_doCryptBlock:function(b,u,m){this._lBlock=b[u],this._rBlock=b[u+1],k.call(this,4,252645135),k.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),k.call(this,1,1431655765);for(var E=0;E<16;E++){for(var S=m[E],d=this._lBlock,g=this._rBlock,_=0,h=0;h<8;h++)_|=c[h][((g^S[h])&y[h])>>>0];this._lBlock=g,this._rBlock=d^_}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,k.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),k.call(this,16,65535),k.call(this,4,252645135),b[u]=this._lBlock,b[u+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function k(b,u){var m=(this._lBlock>>>b^this._rBlock)&u;this._rBlock^=m,this._lBlock^=m<<b}function w(b,u){var m=(this._rBlock>>>b^this._lBlock)&u;this._lBlock^=m,this._rBlock^=m<<b}t.DES=i._createHelper(v);var x=a.TripleDES=i.extend({_doReset:function(){var b=this._key.words;if(b.length!==2&&b.length!==4&&b.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var u=b.slice(0,2),m=b.length<4?b.slice(0,2):b.slice(2,4),E=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=v.createEncryptor(n.create(u)),this._des2=v.createEncryptor(n.create(m)),this._des3=v.createEncryptor(n.create(E))},encryptBlock:function(b,u){this._des1.encryptBlock(b,u),this._des2.decryptBlock(b,u),this._des3.encryptBlock(b,u)},decryptBlock:function(b,u){this._des3.decryptBlock(b,u),this._des2.encryptBlock(b,u),this._des1.decryptBlock(b,u)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(x)}(),e.TripleDES)),En.exports;var e}var Pa,kn={exports:{}};kn.exports;var Ma,An={exports:{}};An.exports;var Ua,Tn={exports:{}};Tn.exports;var Fa,Dn={exports:{}};Dn.exports;function Nu(){return Fa||(Fa=1,Dn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const i=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function l(w,x){let b=x>>24&255,u=x>>16&255,m=x>>8&255,E=255&x,S=w.sbox[0][b]+w.sbox[1][u];return S^=w.sbox[2][m],S+=w.sbox[3][E],S}function c(w,x,b){let u,m=x,E=b;for(let S=0;S<i;++S)m^=w.pbox[S],E=l(w,m)^E,u=m,m=E,E=u;return u=m,m=E,E=u,E^=w.pbox[i],m^=w.pbox[i+1],{left:m,right:E}}function y(w,x,b){let u,m=x,E=b;for(let S=i+1;S>1;--S)m^=w.pbox[S],E=l(w,m)^E,u=m,m=E,E=u;return u=m,m=E,E=u,E^=w.pbox[1],m^=w.pbox[0],{left:m,right:E}}function v(w,x,b){for(let d=0;d<4;d++){w.sbox[d]=[];for(let g=0;g<256;g++)w.sbox[d][g]=o[d][g]}let u=0;for(let d=0;d<i+2;d++)w.pbox[d]=a[d]^x[u],u++,u>=b&&(u=0);let m=0,E=0,S=0;for(let d=0;d<i+2;d+=2)S=c(w,m,E),m=S.left,E=S.right,w.pbox[d]=m,w.pbox[d+1]=E;for(let d=0;d<4;d++)for(let g=0;g<256;g+=2)S=c(w,m,E),m=S.left,E=S.right,w.sbox[d][g]=m,w.sbox[d][g+1]=E;return!0}var k=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var w=this._keyPriorReset=this._key,x=w.words,b=w.sigBytes/4;v(s,x,b)}},encryptBlock:function(w,x){var b=c(s,w[x],w[x+1]);w[x]=b.left,w[x+1]=b.right},decryptBlock:function(w,x){var b=y(s,w[x],w[x+1]);w[x]=b.left,w[x+1]=b.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(k)}(),e.Blowfish)),Dn.exports;var e}var ja,cr,za,Sn,Wt,Nn,Rn;const yt=lr(ja?na.exports:(ja=1,na.exports=function(e){return e}(pe(),ur(),Eu(),ku(),mt(),Au(),bt(),pa(),Zr(),(_a||(_a=1,en.exports=(Rn=pe(),Zr(),za=(cr=Rn).lib.WordArray,Sn=cr.algo,Wt=Sn.SHA256,Nn=Sn.SHA224=Wt.extend({_doReset:function(){this._hash=new za.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=Wt._doFinalize.call(this);return e.sigBytes-=4,e}}),cr.SHA224=Wt._createHelper(Nn),cr.HmacSHA224=Wt._createHmacHelper(Nn),Rn.SHA224)),en.exports),ga(),function(){return ma||(ma=1,rn.exports=(s=pe(),ur(),ga(),t=(e=s).x64,r=t.Word,n=t.WordArray,i=e.algo,a=i.SHA512,o=i.SHA384=a.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var l=a._doFinalize.call(this);return l.sigBytes-=16,l}}),e.SHA384=a._createHelper(o),e.HmacSHA384=a._createHmacHelper(o),s.SHA384)),rn.exports;var e,t,r,n,i,a,o,s}(),Tu(),function(){return ya||(ya=1,an.exports=(e=pe(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),y=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),v=i.create([0,1518500249,1859775393,2400959708,2840853838]),k=i.create([1352829926,1548603684,1836072691,2053994217,0]),w=o.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,g){for(var _=0;_<16;_++){var h=g+_,p=d[h];d[h]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}var T,f,R,C,I,D,P,F,H,G,M,j=this._hash.words,U=v.words,V=k.words,ue=s.words,ke=l.words,Ae=c.words,J=y.words;for(D=T=j[0],P=f=j[1],F=R=j[2],H=C=j[3],G=I=j[4],_=0;_<80;_+=1)M=T+d[g+ue[_]]|0,M+=_<16?x(f,R,C)+U[0]:_<32?b(f,R,C)+U[1]:_<48?u(f,R,C)+U[2]:_<64?m(f,R,C)+U[3]:E(f,R,C)+U[4],M=(M=S(M|=0,Ae[_]))+I|0,T=I,I=C,C=S(R,10),R=f,f=M,M=D+d[g+ke[_]]|0,M+=_<16?E(P,F,H)+V[0]:_<32?m(P,F,H)+V[1]:_<48?u(P,F,H)+V[2]:_<64?b(P,F,H)+V[3]:x(P,F,H)+V[4],M=(M=S(M|=0,J[_]))+G|0,D=G,G=H,H=S(F,10),F=P,P=M;M=j[1]+R+H|0,j[1]=j[2]+C+G|0,j[2]=j[3]+I+D|0,j[3]=j[4]+T+P|0,j[4]=j[0]+f+F|0,j[0]=M},_doFinalize:function(){var d=this._data,g=d.words,_=8*this._nDataBytes,h=8*d.sigBytes;g[h>>>5]|=128<<24-h%32,g[14+(h+64>>>9<<4)]=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),d.sigBytes=4*(g.length+1),this._process();for(var p=this._hash,T=p.words,f=0;f<5;f++){var R=T[f];T[f]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8)}return p},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d}});function x(d,g,_){return d^g^_}function b(d,g,_){return d&g|~d&_}function u(d,g,_){return(d|~g)^_}function m(d,g,_){return d&_|g&~_}function E(d,g,_){return d^(g|~_)}function S(d,g){return d<<g|d>>>32-g}r.RIPEMD160=a._createHelper(w),r.HmacRIPEMD160=a._createHmacHelper(w)}(),e.RIPEMD160)),an.exports;var e}(),on(),function(){return wa||(wa=1,ln.exports=(l=pe(),Zr(),on(),t=(e=l).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.SHA256,o=i.HMAC,s=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,y){for(var v=this.cfg,k=o.create(v.hasher,c),w=n.create(),x=n.create([1]),b=w.words,u=x.words,m=v.keySize,E=v.iterations;b.length<m;){var S=k.update(y).finalize(x);k.reset();for(var d=S.words,g=d.length,_=S,h=1;h<E;h++){_=k.finalize(_),k.reset();for(var p=_.words,T=0;T<g;T++)d[T]^=p[T]}w.concat(S),u[0]++}return w.sigBytes=4*m,w}}),e.PBKDF2=function(c,y,v){return s.create(v).compute(c,y)},l.PBKDF2)),ln.exports;var e,t,r,n,i,a,o,s,l}(),lt(),Re(),function(){return ka||(ka=1,dn.exports=(e=pe(),Re(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(n,i,a,o){var s,l=this._iv;l?(s=l.slice(0),this._iv=void 0):s=this._prevBlock,o.encryptBlock(s,0);for(var c=0;c<a;c++)n[i+c]^=s[c]}return t.Encryptor=t.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize;r.call(this,n,i,o,a),this._prevBlock=n.slice(i,i+o)}}),t.Decryptor=t.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=n.slice(i,i+o);r.call(this,n,i,o,a),this._prevBlock=s}}),t}(),e.mode.CFB)),dn.exports;var e}(),function(){return Aa||(Aa=1,pn.exports=(r=pe(),Re(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=this._iv,l=this._counter;s&&(l=this._counter=s.slice(0),this._iv=void 0);var c=l.slice(0);a.encryptBlock(c,0),l[o-1]=l[o-1]+1|0;for(var y=0;y<o;y++)n[i+y]^=c[y]}}),e.Decryptor=t,e),r.mode.CTR)),pn.exports;var e,t,r}(),Du(),function(){return Da||(Da=1,_n.exports=(r=pe(),Re(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(n,i){var a=this._cipher,o=a.blockSize,s=this._iv,l=this._keystream;s&&(l=this._keystream=s.slice(0),this._iv=void 0),a.encryptBlock(l,0);for(var c=0;c<o;c++)n[i+c]^=l[c]}}),e.Decryptor=t,e),r.mode.OFB)),_n.exports;var e,t,r}(),function(){return Sa||(Sa=1,fn.exports=(t=pe(),Re(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),e.Decryptor=e.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),e),t.mode.ECB)),fn.exports;var e,t}(),function(){return Na||(Na=1,gn.exports=(e=pe(),Re(),e.pad.AnsiX923={pad:function(t,r){var n=t.sigBytes,i=4*r,a=i-n%i,o=n+a-1;t.clamp(),t.words[o>>>2]|=a<<24-o%4*8,t.sigBytes+=a},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},e.pad.Ansix923)),gn.exports;var e}(),function(){return Ra||(Ra=1,mn.exports=(e=pe(),Re(),e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(t){var r=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=r}},e.pad.Iso10126)),mn.exports;var e}(),function(){return Oa||(Oa=1,bn.exports=(e=pe(),Re(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),bn.exports;var e}(),function(){return La||(La=1,yn.exports=(e=pe(),Re(),e.pad.ZeroPadding={pad:function(t,r){var n=4*r;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){var r=t.words,n=t.sigBytes-1;for(n=t.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},e.pad.ZeroPadding)),yn.exports;var e}(),function(){return Ba||(Ba=1,vn.exports=(e=pe(),Re(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),vn.exports;var e}(),function(){return Ca||(Ca=1,wn.exports=(n=pe(),Re(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(i){return i.ciphertext.toString(r)},parse:function(i){var a=r.parse(i);return t.create({ciphertext:a})}},n.format.Hex)),wn.exports;var e,t,r,n}(),function(){return Ia||(Ia=1,xn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],a=[],o=[],s=[],l=[],c=[],y=[],v=[],k=[],w=[];(function(){for(var u=[],m=0;m<256;m++)u[m]=m<128?m<<1:m<<1^283;var E=0,S=0;for(m=0;m<256;m++){var d=S^S<<1^S<<2^S<<3^S<<4;d=d>>>8^255&d^99,i[E]=d,a[d]=E;var g=u[E],_=u[g],h=u[_],p=257*u[d]^16843008*d;o[E]=p<<24|p>>>8,s[E]=p<<16|p>>>16,l[E]=p<<8|p>>>24,c[E]=p,p=16843009*h^65537*_^257*g^16843008*E,y[d]=p<<24|p>>>8,v[d]=p<<16|p>>>16,k[d]=p<<8|p>>>24,w[d]=p,E?(E=g^u[u[u[h^g]]],S^=u[u[S]]):E=S=1}})();var x=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var u=this._keyPriorReset=this._key,m=u.words,E=u.sigBytes/4,S=4*((this._nRounds=E+6)+1),d=this._keySchedule=[],g=0;g<S;g++)g<E?d[g]=m[g]:(p=d[g-1],g%E?E>6&&g%E==4&&(p=i[p>>>24]<<24|i[p>>>16&255]<<16|i[p>>>8&255]<<8|i[255&p]):(p=i[(p=p<<8|p>>>24)>>>24]<<24|i[p>>>16&255]<<16|i[p>>>8&255]<<8|i[255&p],p^=x[g/E|0]<<24),d[g]=d[g-E]^p);for(var _=this._invKeySchedule=[],h=0;h<S;h++){if(g=S-h,h%4)var p=d[g];else p=d[g-4];_[h]=h<4||g<=4?p:y[i[p>>>24]]^v[i[p>>>16&255]]^k[i[p>>>8&255]]^w[i[255&p]]}}},encryptBlock:function(u,m){this._doCryptBlock(u,m,this._keySchedule,o,s,l,c,i)},decryptBlock:function(u,m){var E=u[m+1];u[m+1]=u[m+3],u[m+3]=E,this._doCryptBlock(u,m,this._invKeySchedule,y,v,k,w,a),E=u[m+1],u[m+1]=u[m+3],u[m+3]=E},_doCryptBlock:function(u,m,E,S,d,g,_,h){for(var p=this._nRounds,T=u[m]^E[0],f=u[m+1]^E[1],R=u[m+2]^E[2],C=u[m+3]^E[3],I=4,D=1;D<p;D++){var P=S[T>>>24]^d[f>>>16&255]^g[R>>>8&255]^_[255&C]^E[I++],F=S[f>>>24]^d[R>>>16&255]^g[C>>>8&255]^_[255&T]^E[I++],H=S[R>>>24]^d[C>>>16&255]^g[T>>>8&255]^_[255&f]^E[I++],G=S[C>>>24]^d[T>>>16&255]^g[f>>>8&255]^_[255&R]^E[I++];T=P,f=F,R=H,C=G}P=(h[T>>>24]<<24|h[f>>>16&255]<<16|h[R>>>8&255]<<8|h[255&C])^E[I++],F=(h[f>>>24]<<24|h[R>>>16&255]<<16|h[C>>>8&255]<<8|h[255&T])^E[I++],H=(h[R>>>24]<<24|h[C>>>16&255]<<16|h[T>>>8&255]<<8|h[255&f])^E[I++],G=(h[C>>>24]<<24|h[T>>>16&255]<<16|h[f>>>8&255]<<8|h[255&R])^E[I++],u[m]=P,u[m+1]=F,u[m+2]=H,u[m+3]=G},keySize:8});t.AES=r._createHelper(b)}(),e.AES)),xn.exports;var e}(),Su(),function(){return Pa||(Pa=1,kn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var s=this._key,l=s.words,c=s.sigBytes,y=this._S=[],v=0;v<256;v++)y[v]=v;v=0;for(var k=0;v<256;v++){var w=v%c,x=l[w>>>2]>>>24-w%4*8&255;k=(k+y[v]+x)%256;var b=y[v];y[v]=y[k],y[k]=b}this._i=this._j=0},_doProcessBlock:function(s,l){s[l]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var s=this._S,l=this._i,c=this._j,y=0,v=0;v<4;v++){c=(c+s[l=(l+1)%256])%256;var k=s[l];s[l]=s[c],s[c]=k,y|=s[(s[l]+s[c])%256]<<24-8*v}return this._i=l,this._j=c,y}t.RC4=r._createHelper(i);var o=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var s=this.cfg.drop;s>0;s--)a.call(this)}});t.RC4Drop=r._createHelper(o)}(),e.RC4)),kn.exports;var e}(),function(){return Ma||(Ma=1,An.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],o=[],s=n.Rabbit=r.extend({_doReset:function(){for(var c=this._key.words,y=this.cfg.iv,v=0;v<4;v++)c[v]=16711935&(c[v]<<8|c[v]>>>24)|4278255360&(c[v]<<24|c[v]>>>8);var k=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],w=this._C=[c[2]<<16|c[2]>>>16,4294901760&c[0]|65535&c[1],c[3]<<16|c[3]>>>16,4294901760&c[1]|65535&c[2],c[0]<<16|c[0]>>>16,4294901760&c[2]|65535&c[3],c[1]<<16|c[1]>>>16,4294901760&c[3]|65535&c[0]];for(this._b=0,v=0;v<4;v++)l.call(this);for(v=0;v<8;v++)w[v]^=k[v+4&7];if(y){var x=y.words,b=x[0],u=x[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),E=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&E,d=E<<16|65535&m;for(w[0]^=m,w[1]^=S,w[2]^=E,w[3]^=d,w[4]^=m,w[5]^=S,w[6]^=E,w[7]^=d,v=0;v<4;v++)l.call(this)}},_doProcessBlock:function(c,y){var v=this._X;l.call(this),i[0]=v[0]^v[5]>>>16^v[3]<<16,i[1]=v[2]^v[7]>>>16^v[5]<<16,i[2]=v[4]^v[1]>>>16^v[7]<<16,i[3]=v[6]^v[3]>>>16^v[1]<<16;for(var k=0;k<4;k++)i[k]=16711935&(i[k]<<8|i[k]>>>24)|4278255360&(i[k]<<24|i[k]>>>8),c[y+k]^=i[k]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,v=0;v<8;v++)a[v]=y[v];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<a[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<a[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<a[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<a[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<a[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<a[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<a[6]>>>0?1:0)|0,this._b=y[7]>>>0<a[7]>>>0?1:0,v=0;v<8;v++){var k=c[v]+y[v],w=65535&k,x=k>>>16,b=((w*w>>>17)+w*x>>>15)+x*x,u=((4294901760&k)*k|0)+((65535&k)*k|0);o[v]=b^u}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=r._createHelper(s)}(),e.Rabbit)),An.exports;var e}(),function(){return Ua||(Ua=1,Tn.exports=(e=pe(),mt(),bt(),lt(),Re(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],o=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var c=this._key.words,y=this.cfg.iv,v=this._X=[c[0],c[3]<<16|c[2]>>>16,c[1],c[0]<<16|c[3]>>>16,c[2],c[1]<<16|c[0]>>>16,c[3],c[2]<<16|c[1]>>>16],k=this._C=[c[2]<<16|c[2]>>>16,4294901760&c[0]|65535&c[1],c[3]<<16|c[3]>>>16,4294901760&c[1]|65535&c[2],c[0]<<16|c[0]>>>16,4294901760&c[2]|65535&c[3],c[1]<<16|c[1]>>>16,4294901760&c[3]|65535&c[0]];this._b=0;for(var w=0;w<4;w++)l.call(this);for(w=0;w<8;w++)k[w]^=v[w+4&7];if(y){var x=y.words,b=x[0],u=x[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),E=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&E,d=E<<16|65535&m;for(k[0]^=m,k[1]^=S,k[2]^=E,k[3]^=d,k[4]^=m,k[5]^=S,k[6]^=E,k[7]^=d,w=0;w<4;w++)l.call(this)}},_doProcessBlock:function(c,y){var v=this._X;l.call(this),i[0]=v[0]^v[5]>>>16^v[3]<<16,i[1]=v[2]^v[7]>>>16^v[5]<<16,i[2]=v[4]^v[1]>>>16^v[7]<<16,i[3]=v[6]^v[3]>>>16^v[1]<<16;for(var k=0;k<4;k++)i[k]=16711935&(i[k]<<8|i[k]>>>24)|4278255360&(i[k]<<24|i[k]>>>8),c[y+k]^=i[k]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,v=0;v<8;v++)a[v]=y[v];for(y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<a[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<a[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<a[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<a[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<a[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<a[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<a[6]>>>0?1:0)|0,this._b=y[7]>>>0<a[7]>>>0?1:0,v=0;v<8;v++){var k=c[v]+y[v],w=65535&k,x=k>>>16,b=((w*w>>>17)+w*x>>>15)+x*x,u=((4294901760&k)*k|0)+((65535&k)*k|0);o[v]=b^u}c[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,c[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,c[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,c[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,c[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,c[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,c[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,c[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=r._createHelper(s)}(),e.RabbitLegacy)),Tn.exports;var e}(),Nu())));let ut="PENDING",On="",dr={};const Ru=["127.0.0.1","localhost"],Ou=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],Ln=(e,t)=>{const r=yt.AES.decrypt(t,"easy_email_pro_"+e).toString(yt.enc.Utf8);return JSON.parse(r)},pr={getToken(){if(typeof document<"u")return function(e){let t="";return document.cookie.split(";").forEach(r=>{const n=r.split("=")[0];n.trim()===e&&(t=r.replace(`${n}=`,""))}),t}("e_e_p")},setToken(e){if(typeof document<"u")return ra("e_e_p",e,3600)},clearToken(){if(typeof document<"u")return ra("e_e_p","",-1)}},Ha=e=>{const t=Ou.find(r=>r.clidText===(n=>{const i=yt.enc.Utf8.parse("easy-email-pro"),a=yt.enc.Utf8.parse("easy-email-pro_multiple_years"),o=yt.mode.CFB,s=yt.pad.Pkcs7,l=n;return yt.AES.encrypt(l,i,{iv:a,mode:o,padding:s}).toString()})(e));if(t){if(t.expiredAt>+new Date/1e3){t.expiredAt-+new Date/1e3<5184e3&&(console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"));const r=typeof window>"u"||window.location===void 0;if(t.origins&&!r){if(Ru.includes(window.location.hostname))return!0;const n=function(i){var a;let o=(a=i.match(/(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/im))==null?void 0:a[1];if(!o)return i;if(o.split(".").length>2){const s=o.split(".");o=s.slice(s.length-2).join(".")}return o}(window.location.origin);return!!t.origins.includes(n)}return ut="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let Bn;const Xe=Object.freeze(new class{auth(e){return Le(this,null,function*(){On=e,Bn||(Bn=Le(null,null,function*(){if(ut!=="PENDING")return;if(Ha(e))return!0;const t=pr.getToken();if(t)try{const n=Ln(e,t);n.expiredAt>+new Date/1e3&&(ut="SUCCESS",dr=n)}catch{pr.clearToken()}const r=()=>Le(null,null,function*(){try{const n=e==="FREE"?"https://api.beacas.com":"https://api.easyemail.pro",{data:i}=yield ta(`${n}/api/public/token?client_id=${e}&v=1.59.2`,{method:"GET",withCredentials:!1});dr=Ln(e,i.access_token),pr.setToken(i.access_token),ut="SUCCESS"}catch{try{const{data:i}=yield ta(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${e}&v=1.59.2`,{method:"GET"});dr=Ln(e,i.access_token),pr.setToken(i.access_token),ut="SUCCESS"}catch(i){throw console.log("error",i),ut="ERROR",i}}});ut==="SUCCESS"?r():yield r()})),yield Bn})}get clientId(){return On}getAuthState(){return ut}getFeatureEnabled(e){return!!Ha(On)||re(dr,"features",[]).includes(e)}});let Va={},$a=!1,Cn=!1;const In=Object.freeze(new class{checkLocaleData(){return Le(this,null,function*(){const e=setInterval(()=>{Xe.getAuthState()==="SUCCESS"&&($a=Xe.getFeatureEnabled("LOCALIZATION"),Cn=!0,clearInterval(e))},100)})}setLocaleData(e){Va=e,Cn||this.checkLocaleData()}translate(e,t){return this.translateWithParams(e,t)}translateWithParams(e,t){if(Cn&&!$a)throw new Error("Current plan do not support localization");const r=re(Va,e,e);if(!t)return r;const n=r.split("***");return n.splice(1,0,t),et(t)?n.join(""):O.createElement(O.Fragment,null,n.map((i,a)=>O.createElement(O.Fragment,{key:a},i)))}}),Q=In.translate.bind(In),Ga=".mjbody a{color:inherit}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}[data-view=PC] .hide-desktop-block,[data-view=PC] .hide-desktop-inline-block,[data-view=PC] .mobile-responsive-preview{display:none!important}[data-view=MOBILE] .node-type-page{margin:auto}[data-view=MOBILE] .hide-mobile-block,[data-view=MOBILE] .hide-mobile-inline-block,[data-view=MOBILE] .desktop-responsive-preview{display:none!important}",K={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",DANGEROUS_CODE:"dangerous-code",HTML_NODE:"html-node",HTML_BLOCK_NODE:"html-block-node",HTML_DOM_NODE:"html-dom-node",CONTENT_WIDGET:"content_widget",SECTION_WIDGET:"section_widget",WRAPPER_WIDGET:"wrapper_widget",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},se={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TABLE:"standard-table",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item",STANDARD_BLOCK_QUOTE:"standard-blockquote",STANDARD_TABLE2:"standard-table2",STANDARD_TABLE2_TR:"standard-table2-tr",STANDARD_TABLE2_TD:"standard-table2-td"},Wa={FOR_EACH:"logic-for-each",SHOW:"logic-show"},L=q(q(q({},K),se),Wa),z={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",TABLE:"table",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",BLOCK_NODE:"block-node",DANGEROUS_CODE:"dangerous_code",UNKNOWN_CONTENT:"unknown-content ",AMP_BLOCK:"amp-block",UNSET:"unset",UNSET_RENDER:"unset-render",TABLE2_TR:"table2-tr",TABLE2_TD:"table2-td",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Ka="easy_email_pro_preview_content_editable",qn="easy_email_pro_slate_node_placeholder",Pn="easy_email_pro_slate_code_block",Xa=["img","br","hr","area","base","col","embed","input","link","meta","source"],Mn=["div","p","h1","h2","h3","h4","h5","h6","article","aside","nav","section","header","footer","address","ul","ol","li","table","td","th","tr","blockquote","pre","tbody","center"],Un=()=>Vt(Ja),Kt=e=>O.createElement(Ja.Provider,{value:{context:e.context}},e.children);class Fn{constructor(t){ae(this,"mode"),ae(this,"headItems",[]),ae(this,"addStyle",r=>{this.addHeadItems({type:"style",id:r.id,content:`<mj-style ${r.inline&&this.mode==="production"?'inline="inline"':""}>${r.content}</mj-style>`})}),this.mode=t.mode}getHeadContent(){return[...new Set(this.headItems.map(t=>t.content))].join(`
2
2
  `)}addAttributeBySelector(t){this.addHeadItems({type:"selector",content:`<mj-html--attributes>
3
3
  <mj-selector path="${t.selector}">
4
4
  ${Object.keys(t.attributes).map(r=>`<mj-html--attribute name="${r}">${t.attributes[r]}</mj-html--attribute>`)}
5
5
  </mj-selector>
6
- </mj-html--attributes>`})}addHeadItems(t){t.id&&this.headItems.find(r=>r.id===t.id)||this.headItems.push({id:t.id,content:t.content,type:t.type})}}const Ya=O.createContext({});var Qa,hr={exports:{}},_r,Za,Rt=(Qa||(Qa=1,_r=hr,Za=hr.exports,function(e){var t=Za,r=_r&&_r.exports==t&&_r,n=typeof Gt=="object"&&Gt;n.global!==n&&n.window!==n||(e=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,o=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},c=/["&'<>`]/g,y={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},v=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,k=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,w=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,x={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
7
- `,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},b={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},u={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},m=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,S={}.hasOwnProperty,d=function(D,P){return S.call(D,P)},g=function(D,P){if(!D)return P;var F,H={};for(F in P)H[F]=d(D,F)?D[F]:P[F];return H},_=function(D,P){var F="";return D>=55296&&D<=57343||D>1114111?(P&&T("character reference outside the permissible Unicode range"),"\uFFFD"):d(u,D)?(P&&T("disallowed character reference"),u[D]):(P&&function(H,G){for(var M=-1,j=H.length;++M<j;)if(H[M]==G)return!0;return!1}(m,D)&&T("disallowed character reference"),D>65535&&(F+=E((D-=65536)>>>10&1023|55296),D=56320|1023&D),F+=E(D))},h=function(D){return"&#x"+D.toString(16).toUpperCase()+";"},p=function(D){return"&#"+D+";"},T=function(D){throw Error("Parse error: "+D)},f=function(D,P){(P=g(P,f.options)).strict&&k.test(D)&&T("forbidden code point");var F=P.encodeEverything,H=P.useNamedReferences,G=P.allowUnsafeSymbols,M=P.decimal?p:h,j=function(U){return M(U.charCodeAt(0))};return F?(D=D.replace(a,function(U){return H&&d(l,U)?"&"+l[U]+";":j(U)}),H&&(D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),H&&(D=D.replace(s,function(U){return"&"+l[U]+";"}))):H?(G||(D=D.replace(c,function(U){return"&"+l[U]+";"})),D=(D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(s,function(U){return"&"+l[U]+";"})):G||(D=D.replace(c,j)),D.replace(i,function(U){var V=U.charCodeAt(0),ue=U.charCodeAt(1);return M(1024*(V-55296)+ue-56320+65536)}).replace(o,j)};f.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var R=function(D,P){var F=(P=g(P,R.options)).strict;return F&&v.test(D)&&T("malformed character reference"),D.replace(w,function(H,G,M,j,U,V,ue,ke,Ae){var J,A,N,B,$,W;return G?x[$=G]:M?($=M,(W=j)&&P.isAttributeValue?(F&&W=="="&&T("`&` did not start a character reference"),H):(F&&T("named character reference was not terminated by a semicolon"),b[$]+(W||""))):U?(N=U,A=V,F&&!A&&T("character reference was not terminated by a semicolon"),J=parseInt(N,10),_(J,F)):ue?(B=ue,A=ke,F&&!A&&T("character reference was not terminated by a semicolon"),J=parseInt(B,16),_(J,F)):(F&&T("named character reference was not terminated by a semicolon"),H)})};R.options={isAttributeValue:!1,strict:!1};var C={version:"1.2.0",encode:f,decode:R,escape:function(D){return D.replace(c,function(P){return y[P]})},unescape:R};if(t&&!t.nodeType)if(r)r.exports=C;else for(var I in C)d(C,I)&&(t[I]=C[I]);else e.he=C}(hr.exports)),hr.exports);const ct=lr(Rt),Lu=[z.COLUMN,z.GROUP,z.UNSET,z.TEXT_LIST_ITEM,z.UNKNOWN_CONTENT],jn=[z.DANGEROUS_CODE,z.TABLE,z.TEXT,z.BUTTON,z.DIVIDER,z.IMAGE,z.NAVBAR,z.SOCIAL,z.SPACER,z.TEXT_LIST,z.TEXT_LIST_ITEM,z.UNKNOWN_CONTENT,z.TABLE2_TD,z.AMP_BLOCK],ne=class Se{static getPageIdx(){return"content"}static getUniversalElementsIdx(t){return`blocks.${t}`}static getChildIdx(t,r){return`${t}.children.${r}`}static getNodeIdxClassName(t){return`node-idx-${t}`}static getParentIdx(t){var r;return t===Se.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(t))==null?void 0:r[1])||""}static isVoidBlockElement(t){return Se.isElement(t)?!!ee.getBlockByType(t.type).void:!1}static isUnsetElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return r.category===z.UNSET||r.category===z.SOCIAL_ELEMENT||r.category===z.NAVBAR_LINK}static isTable2Element(t){return!!Se.isElement(t)&&t.type===L.STANDARD_TABLE2}static isAmpBlockElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.AMP_BLOCK:!1}static isTable2TrElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.TABLE2_TR:!1}static isTable2TdElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.TABLE2_TD:!1}static isTextNode(t){return re(t,"text")!==void 0}static isElement(t){return!!(re(t,"type")&&re(t,"children")&&re(t,"attributes"))}static isHTMLNodeElement(t){return Se.isElement(t)&&t.type===L.HTML_NODE}static isHTMLBlockNodeElement(t){return Se.isElement(t)&&t.type===L.HTML_BLOCK_NODE}static isBlockElement(t){const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!(n.inlineElement||Se.isHTMLBlockNodeElement(t)||Se.isTable2TrElement(t)||Se.isTable2TdElement(t))}static isLineBreakElement(t){return re(t,"type")===L.LINE_BREAK}static isUniversalElement(t){return!!Se.isElement(t)&&!!t.uid}static isStandaloneElement(t){var r;return!!Se.isElement(t)&&!!((r=ee.getBlockByType(t.type))!=null&&r.standalone)}static isInlineElement(t){if(!Se.isElement(t))return!1;const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(t){if(!Se.isElement(t))return!1;const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!!n.inlineElement&&n.type===K.MERGETAG}static isPageHeaderElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return!!r&&r.category===z.PAGE_HEADER}static isPageFooterElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return!!r&&r.category===z.PAGE_FOOTER}static isParentCategory(t,r){if(t===z.BLOCK_NODE&&r===z.BLOCK_NODE||[z.INLINE_TEXT,z.TEXT_LIST,z.BLOCK_NODE].includes(t)&&Se.isContentElementCategory(r))return!0;if(Se.isContentElementCategory(t))return!(!Lt.autoComplete||r!==z.PAGE&&r!==z.WRAPPER)||r===z.COLUMN||r===z.HERO;switch(t){case z.COLUMN:return r===z.GROUP||r===z.SECTION;case z.GROUP:return r===z.SECTION;case z.SECTION:case z.HERO:return r===z.WRAPPER||r===z.PAGE;case z.WRAPPER:return r===z.PAGE;case z.SOCIAL_ELEMENT:return r===z.SOCIAL;case z.NAVBAR_LINK:return r===z.NAVBAR}return!1}static isParentCategoryType(t,r){const n=ee.getBlockByType(t),i=ee.getBlockByType(r);return!(![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(t)||!Se.isContentElement(i.create()))||!(!n.inlineElement||![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category)}};ae(ne,"isContentElementCategory",e=>jn.includes(e)),ae(ne,"isPageElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.PAGE:!1),ae(ne,"isSectionElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SECTION:!1),ae(ne,"isTableElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TABLE:!1),ae(ne,"isHeroElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.HERO:!1),ae(ne,"isNavbarLink",e=>!!ne.isElement(e)&&(e.type===L.NAVBAR_LINK||e.type===L.STANDARD_NAVBAR_LINK)),ae(ne,"isDividerElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.DIVIDER:!1),ae(ne,"isSpacerElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SPACER:!1),ae(ne,"isButtonElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.BUTTON):!1),ae(ne,"isImageElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.IMAGE:!1),ae(ne,"isSocialElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SOCIAL:!1),ae(ne,"isWidgetElement",e=>!!ne.isElement(e)&&[L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET].includes(e.type)),ae(ne,"isWrapperElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.WRAPPER):!1),ae(ne,"isRawElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.RAW):!1),ae(ne,"isGroupElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.GROUP:!1),ae(ne,"isColumnElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.COLUMN:!1),ae(ne,"isContentElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type);return jn.includes(t.category)}),ae(ne,"isAutoCompleteElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type).category;return jn.includes(t)&&t!==z.TABLE2_TD}),ae(ne,"isUnelectableElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type);return Lu.includes(t.category)}),ae(ne,"isTextElement",e=>{if(!ne.isElement(e))return!1;const t=ee.getBlockByType(e.type);return ne.isTable2TdElement(e)||t.category===z.TEXT||t.category===z.TEXT_LIST||t.category===z.TEXT_LIST_ITEM||t.category===z.INLINE_TEXT}),ae(ne,"isPlaceholderElement",e=>!!ne.isElement(e)&&e.type===K.PLACEHOLDER),ae(ne,"isTextListElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TEXT_LIST:!1),ae(ne,"isTextListItemElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TEXT_LIST_ITEM:!1);let te=ne;var es,ts={exports:{}},Xt={},fr={exports:{}},zn={},Hn={};function Vn(){if(es)return Hn;function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function t(n,i){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),i=i||"",n.indent_level>0&&(i=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=i,this.__base_string_length=i.length}function r(n,i){this.__indent_cache=new t(n,i),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return es=1,e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var i=this.__items.length-1;i>=0;i--)if(this.__items[i].match(n))return!0;return!1},e.prototype.set_indent=function(n,i){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=i||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var i=n.lastIndexOf(`
6
+ </mj-html--attributes>`})}addHeadItems(t){t.id&&this.headItems.find(r=>r.id===t.id)||this.headItems.push({id:t.id,content:t.content,type:t.type})}}const Ja=O.createContext({});var Ya,hr={exports:{}},_r,Qa,Rt=(Ya||(Ya=1,_r=hr,Qa=hr.exports,function(e){var t=Qa,r=_r&&_r.exports==t&&_r,n=typeof Gt=="object"&&Gt;n.global!==n&&n.window!==n||(e=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,o=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xAD":"shy","\u200C":"zwnj","\u200D":"zwj","\u200E":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200F":"rlm","\u200B":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20DB":"tdot","\u20DC":"DotDot"," ":"Tab","\n":"NewLine","\u2008":"puncsp","\u205F":"MediumSpace","\u2009":"thinsp","\u200A":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xA0":"nbsp","\u205F\u200A":"ThickSpace","\u203E":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204F":"bsemi",":":"colon","\u2A74":"Colone","!":"excl","\xA1":"iexcl","?":"quest","\xBF":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xB7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201A":"sbquo","\u2039":"lsaquo","\u203A":"rsaquo",'"':"quot","\u201C":"ldquo","\u201D":"rdquo","\u201E":"bdquo","\xAB":"laquo","\xBB":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230A":"lfloor","\u230B":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298B":"lbrke","\u298C":"rbrke","\u298D":"lbrkslu","\u298E":"rbrksld","\u298F":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27E6":"lobrk","\u27E7":"robrk","\u27E8":"lang","\u27E9":"rang","\u27EA":"Lang","\u27EB":"Rang","\u27EC":"loang","\u27ED":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xA7":"sect","\xB6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xB4":"acute","\u02DC":"tilde","^":"Hat","\xAF":"macr","\u02D8":"breve","\u02D9":"dot","\xA8":"die","\u02DA":"ring","\u02DD":"dblac","\xB8":"cedil","\u02DB":"ogon","\u02C6":"circ","\u02C7":"caron","\xB0":"deg","\xA9":"copy","\xAE":"reg","\u2117":"copysr","\u2118":"wp","\u211E":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219A":"nlarr","\u2192":"rarr","\u219B":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21AE":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219D":"rarrw","\u219D\u0338":"nrarrw","\u219E":"Larr","\u219F":"Uarr","\u21A0":"Rarr","\u21A1":"Darr","\u21A2":"larrtl","\u21A3":"rarrtl","\u21A4":"mapstoleft","\u21A5":"mapstoup","\u21A6":"map","\u21A7":"mapstodown","\u21A9":"larrhk","\u21AA":"rarrhk","\u21AB":"larrlp","\u21AC":"rarrlp","\u21AD":"harrw","\u21B0":"lsh","\u21B1":"rsh","\u21B2":"ldsh","\u21B3":"rdsh","\u21B5":"crarr","\u21B6":"cularr","\u21B7":"curarr","\u21BA":"olarr","\u21BB":"orarr","\u21BC":"lharu","\u21BD":"lhard","\u21BE":"uharr","\u21BF":"uharl","\u21C0":"rharu","\u21C1":"rhard","\u21C2":"dharr","\u21C3":"dharl","\u21C4":"rlarr","\u21C5":"udarr","\u21C6":"lrarr","\u21C7":"llarr","\u21C8":"uuarr","\u21C9":"rrarr","\u21CA":"ddarr","\u21CB":"lrhar","\u21CC":"rlhar","\u21D0":"lArr","\u21CD":"nlArr","\u21D1":"uArr","\u21D2":"rArr","\u21CF":"nrArr","\u21D3":"dArr","\u21D4":"iff","\u21CE":"nhArr","\u21D5":"vArr","\u21D6":"nwArr","\u21D7":"neArr","\u21D8":"seArr","\u21D9":"swArr","\u21DA":"lAarr","\u21DB":"rAarr","\u21DD":"zigrarr","\u21E4":"larrb","\u21E5":"rarrb","\u21F5":"duarr","\u21FD":"loarr","\u21FE":"roarr","\u21FF":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220B":"ni","\u220C":"notni","\u03F6":"bepsi","\u220F":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xB1":"pm","\xF7":"div","\xD7":"times","<":"lt","\u226E":"nlt","<\u20D2":"nvlt","=":"equals","\u2260":"ne","=\u20E5":"bne","\u2A75":"Equal",">":"gt","\u226F":"ngt",">\u20D2":"nvgt","\xAC":"not","|":"vert","\xA6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221A":"Sqrt","\u221D":"prop","\u221E":"infin","\u221F":"angrt","\u2220":"ang","\u2220\u20D2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\uFE00":"caps","\u222A":"cup","\u222A\uFE00":"cups","\u222B":"int","\u222C":"Int","\u222D":"tint","\u2A0C":"qint","\u222E":"oint","\u222F":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223A":"mDDot","\u223B":"homtht","\u223C":"sim","\u2241":"nsim","\u223C\u20D2":"nvsim","\u223D":"bsim","\u223D\u0331":"race","\u223E":"ac","\u223E\u0333":"acE","\u223F":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224A":"ape","\u224B":"apid","\u224B\u0338":"napid","\u224C":"bcong","\u224D":"CupCap","\u226D":"NotCupCap","\u224D\u20D2":"nvap","\u224E":"bump","\u224E\u0338":"nbump","\u224F":"bumpe","\u224F\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225A":"veeeq","\u225C":"trie","\u225F":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20E5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20D2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20D2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\uFE00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\uFE00":"gvnE","\u226A":"ll","\u226A\u0338":"nLtv","\u226A\u20D2":"nLt","\u226B":"gg","\u226B\u0338":"nGtv","\u226B\u20D2":"nGt","\u226C":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227A":"pr","\u2280":"npr","\u227B":"sc","\u2281":"nsc","\u227C":"prcue","\u22E0":"nprcue","\u227D":"sccue","\u22E1":"nsccue","\u227E":"prsim","\u227F":"scsim","\u227F\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20D2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20D2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228A\uFE00":"vsubne","\u228A":"subne","\u228B\uFE00":"vsupne","\u228B":"supne","\u228D":"cupdot","\u228E":"uplus","\u228F":"sqsub","\u228F\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22E2":"nsqsube","\u2292":"sqsupe","\u22E3":"nsqsupe","\u2293":"sqcap","\u2293\uFE00":"sqcaps","\u2294":"sqcup","\u2294\uFE00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229A":"ocir","\u229B":"oast","\u229D":"odash","\u229E":"plusb","\u229F":"minusb","\u22A0":"timesb","\u22A1":"sdotb","\u22A2":"vdash","\u22AC":"nvdash","\u22A3":"dashv","\u22A4":"top","\u22A5":"bot","\u22A7":"models","\u22A8":"vDash","\u22AD":"nvDash","\u22A9":"Vdash","\u22AE":"nVdash","\u22AA":"Vvdash","\u22AB":"VDash","\u22AF":"nVDash","\u22B0":"prurel","\u22B2":"vltri","\u22EA":"nltri","\u22B3":"vrtri","\u22EB":"nrtri","\u22B4":"ltrie","\u22EC":"nltrie","\u22B4\u20D2":"nvltrie","\u22B5":"rtrie","\u22ED":"nrtrie","\u22B5\u20D2":"nvrtrie","\u22B6":"origof","\u22B7":"imof","\u22B8":"mumap","\u22B9":"hercon","\u22BA":"intcal","\u22BB":"veebar","\u22BD":"barvee","\u22BE":"angrtvb","\u22BF":"lrtri","\u22C0":"Wedge","\u22C1":"Vee","\u22C2":"xcap","\u22C3":"xcup","\u22C4":"diam","\u22C5":"sdot","\u22C6":"Star","\u22C7":"divonx","\u22C8":"bowtie","\u22C9":"ltimes","\u22CA":"rtimes","\u22CB":"lthree","\u22CC":"rthree","\u22CD":"bsime","\u22CE":"cuvee","\u22CF":"cuwed","\u22D0":"Sub","\u22D1":"Sup","\u22D2":"Cap","\u22D3":"Cup","\u22D4":"fork","\u22D5":"epar","\u22D6":"ltdot","\u22D7":"gtdot","\u22D8":"Ll","\u22D8\u0338":"nLl","\u22D9":"Gg","\u22D9\u0338":"nGg","\u22DA\uFE00":"lesg","\u22DA":"leg","\u22DB":"gel","\u22DB\uFE00":"gesl","\u22DE":"cuepr","\u22DF":"cuesc","\u22E6":"lnsim","\u22E7":"gnsim","\u22E8":"prnsim","\u22E9":"scnsim","\u22EE":"vellip","\u22EF":"ctdot","\u22F0":"utdot","\u22F1":"dtdot","\u22F2":"disin","\u22F3":"isinsv","\u22F4":"isins","\u22F5":"isindot","\u22F5\u0338":"notindot","\u22F6":"notinvc","\u22F7":"notinvb","\u22F9":"isinE","\u22F9\u0338":"notinE","\u22FA":"nisd","\u22FB":"xnis","\u22FC":"nis","\u22FD":"notnivc","\u22FE":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230C":"drcrop","\u230D":"dlcrop","\u230E":"urcrop","\u230F":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231C":"ulcorn","\u231D":"urcorn","\u231E":"dlcorn","\u231F":"drcorn","\u2322":"frown","\u2323":"smile","\u232D":"cylcty","\u232E":"profalar","\u2336":"topbot","\u233D":"ovbar","\u233F":"solbar","\u237C":"angzarr","\u23B0":"lmoust","\u23B1":"rmoust","\u23B4":"tbrk","\u23B5":"bbrk","\u23B6":"bbrktbrk","\u23DC":"OverParenthesis","\u23DD":"UnderParenthesis","\u23DE":"OverBrace","\u23DF":"UnderBrace","\u23E2":"trpezium","\u23E7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250C":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251C":"boxvr","\u2524":"boxvl","\u252C":"boxhd","\u2534":"boxhu","\u253C":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255A":"boxUR","\u255B":"boxuL","\u255C":"boxUl","\u255D":"boxUL","\u255E":"boxvR","\u255F":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256A":"boxvH","\u256B":"boxVh","\u256C":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25A1":"squ","\u25AA":"squf","\u25AB":"EmptyVerySmallSquare","\u25AD":"rect","\u25AE":"marker","\u25B1":"fltns","\u25B3":"xutri","\u25B4":"utrif","\u25B5":"utri","\u25B8":"rtrif","\u25B9":"rtri","\u25BD":"xdtri","\u25BE":"dtrif","\u25BF":"dtri","\u25C2":"ltrif","\u25C3":"ltri","\u25CA":"loz","\u25CB":"cir","\u25EC":"tridot","\u25EF":"xcirc","\u25F8":"ultri","\u25F9":"urtri","\u25FA":"lltri","\u25FB":"EmptySmallSquare","\u25FC":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260E":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266A":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27C8":"bsolhsub","\u27C9":"suphsol","\u27F5":"xlarr","\u27F6":"xrarr","\u27F7":"xharr","\u27F8":"xlArr","\u27F9":"xrArr","\u27FA":"xhArr","\u27FC":"xmap","\u27FF":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290C":"lbarr","\u290D":"rbarr","\u290E":"lBarr","\u290F":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291A":"ratail","\u291B":"lAtail","\u291C":"rAtail","\u291D":"larrfs","\u291E":"rarrfs","\u291F":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292A":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293C":"curarrm","\u293D":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294A":"lurdshar","\u294B":"ldrushar","\u294E":"LeftRightVector","\u294F":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295A":"LeftTeeVector","\u295B":"RightTeeVector","\u295C":"RightUpTeeVector","\u295D":"RightDownTeeVector","\u295E":"DownLeftTeeVector","\u295F":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296A":"lharul","\u296B":"llhard","\u296C":"rharul","\u296D":"lrhard","\u296E":"udhar","\u296F":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297B":"suplarr","\u297C":"lfisht","\u297D":"rfisht","\u297E":"ufisht","\u297F":"dfisht","\u299A":"vzigzag","\u299C":"vangrt","\u299D":"angrtvbd","\u29A4":"ange","\u29A5":"range","\u29A6":"dwangle","\u29A7":"uwangle","\u29A8":"angmsdaa","\u29A9":"angmsdab","\u29AA":"angmsdac","\u29AB":"angmsdad","\u29AC":"angmsdae","\u29AD":"angmsdaf","\u29AE":"angmsdag","\u29AF":"angmsdah","\u29B0":"bemptyv","\u29B1":"demptyv","\u29B2":"cemptyv","\u29B3":"raemptyv","\u29B4":"laemptyv","\u29B5":"ohbar","\u29B6":"omid","\u29B7":"opar","\u29B9":"operp","\u29BB":"olcross","\u29BC":"odsold","\u29BE":"olcir","\u29BF":"ofcir","\u29C0":"olt","\u29C1":"ogt","\u29C2":"cirscir","\u29C3":"cirE","\u29C4":"solb","\u29C5":"bsolb","\u29C9":"boxbox","\u29CD":"trisb","\u29CE":"rtriltri","\u29CF":"LeftTriangleBar","\u29CF\u0338":"NotLeftTriangleBar","\u29D0":"RightTriangleBar","\u29D0\u0338":"NotRightTriangleBar","\u29DC":"iinfin","\u29DD":"infintie","\u29DE":"nvinfin","\u29E3":"eparsl","\u29E4":"smeparsl","\u29E5":"eqvparsl","\u29EB":"lozf","\u29F4":"RuleDelayed","\u29F6":"dsol","\u2A00":"xodot","\u2A01":"xoplus","\u2A02":"xotime","\u2A04":"xuplus","\u2A06":"xsqcup","\u2A0D":"fpartint","\u2A10":"cirfnint","\u2A11":"awint","\u2A12":"rppolint","\u2A13":"scpolint","\u2A14":"npolint","\u2A15":"pointint","\u2A16":"quatint","\u2A17":"intlarhk","\u2A22":"pluscir","\u2A23":"plusacir","\u2A24":"simplus","\u2A25":"plusdu","\u2A26":"plussim","\u2A27":"plustwo","\u2A29":"mcomma","\u2A2A":"minusdu","\u2A2D":"loplus","\u2A2E":"roplus","\u2A2F":"Cross","\u2A30":"timesd","\u2A31":"timesbar","\u2A33":"smashp","\u2A34":"lotimes","\u2A35":"rotimes","\u2A36":"otimesas","\u2A37":"Otimes","\u2A38":"odiv","\u2A39":"triplus","\u2A3A":"triminus","\u2A3B":"tritime","\u2A3C":"iprod","\u2A3F":"amalg","\u2A40":"capdot","\u2A42":"ncup","\u2A43":"ncap","\u2A44":"capand","\u2A45":"cupor","\u2A46":"cupcap","\u2A47":"capcup","\u2A48":"cupbrcap","\u2A49":"capbrcup","\u2A4A":"cupcup","\u2A4B":"capcap","\u2A4C":"ccups","\u2A4D":"ccaps","\u2A50":"ccupssm","\u2A53":"And","\u2A54":"Or","\u2A55":"andand","\u2A56":"oror","\u2A57":"orslope","\u2A58":"andslope","\u2A5A":"andv","\u2A5B":"orv","\u2A5C":"andd","\u2A5D":"ord","\u2A5F":"wedbar","\u2A66":"sdote","\u2A6A":"simdot","\u2A6D":"congdot","\u2A6D\u0338":"ncongdot","\u2A6E":"easter","\u2A6F":"apacir","\u2A70":"apE","\u2A70\u0338":"napE","\u2A71":"eplus","\u2A72":"pluse","\u2A73":"Esim","\u2A77":"eDDot","\u2A78":"equivDD","\u2A79":"ltcir","\u2A7A":"gtcir","\u2A7B":"ltquest","\u2A7C":"gtquest","\u2A7D":"les","\u2A7D\u0338":"nles","\u2A7E":"ges","\u2A7E\u0338":"nges","\u2A7F":"lesdot","\u2A80":"gesdot","\u2A81":"lesdoto","\u2A82":"gesdoto","\u2A83":"lesdotor","\u2A84":"gesdotol","\u2A85":"lap","\u2A86":"gap","\u2A87":"lne","\u2A88":"gne","\u2A89":"lnap","\u2A8A":"gnap","\u2A8B":"lEg","\u2A8C":"gEl","\u2A8D":"lsime","\u2A8E":"gsime","\u2A8F":"lsimg","\u2A90":"gsiml","\u2A91":"lgE","\u2A92":"glE","\u2A93":"lesges","\u2A94":"gesles","\u2A95":"els","\u2A96":"egs","\u2A97":"elsdot","\u2A98":"egsdot","\u2A99":"el","\u2A9A":"eg","\u2A9D":"siml","\u2A9E":"simg","\u2A9F":"simlE","\u2AA0":"simgE","\u2AA1":"LessLess","\u2AA1\u0338":"NotNestedLessLess","\u2AA2":"GreaterGreater","\u2AA2\u0338":"NotNestedGreaterGreater","\u2AA4":"glj","\u2AA5":"gla","\u2AA6":"ltcc","\u2AA7":"gtcc","\u2AA8":"lescc","\u2AA9":"gescc","\u2AAA":"smt","\u2AAB":"lat","\u2AAC":"smte","\u2AAC\uFE00":"smtes","\u2AAD":"late","\u2AAD\uFE00":"lates","\u2AAE":"bumpE","\u2AAF":"pre","\u2AAF\u0338":"npre","\u2AB0":"sce","\u2AB0\u0338":"nsce","\u2AB3":"prE","\u2AB4":"scE","\u2AB5":"prnE","\u2AB6":"scnE","\u2AB7":"prap","\u2AB8":"scap","\u2AB9":"prnap","\u2ABA":"scnap","\u2ABB":"Pr","\u2ABC":"Sc","\u2ABD":"subdot","\u2ABE":"supdot","\u2ABF":"subplus","\u2AC0":"supplus","\u2AC1":"submult","\u2AC2":"supmult","\u2AC3":"subedot","\u2AC4":"supedot","\u2AC5":"subE","\u2AC5\u0338":"nsubE","\u2AC6":"supE","\u2AC6\u0338":"nsupE","\u2AC7":"subsim","\u2AC8":"supsim","\u2ACB\uFE00":"vsubnE","\u2ACB":"subnE","\u2ACC\uFE00":"vsupnE","\u2ACC":"supnE","\u2ACF":"csub","\u2AD0":"csup","\u2AD1":"csube","\u2AD2":"csupe","\u2AD3":"subsup","\u2AD4":"supsub","\u2AD5":"subsub","\u2AD6":"supsup","\u2AD7":"suphsub","\u2AD8":"supdsub","\u2AD9":"forkv","\u2ADA":"topfork","\u2ADB":"mlcp","\u2AE4":"Dashv","\u2AE6":"Vdashl","\u2AE7":"Barv","\u2AE8":"vBar","\u2AE9":"vBarv","\u2AEB":"Vbar","\u2AEC":"Not","\u2AED":"bNot","\u2AEE":"rnmid","\u2AEF":"cirmid","\u2AF0":"midcir","\u2AF1":"topcir","\u2AF2":"nhpar","\u2AF3":"parsim","\u2AFD":"parsl","\u2AFD\u20E5":"nparsl","\u266D":"flat","\u266E":"natur","\u266F":"sharp","\xA4":"curren","\xA2":"cent",$:"dollar","\xA3":"pound","\xA5":"yen","\u20AC":"euro","\xB9":"sup1","\xBD":"half","\u2153":"frac13","\xBC":"frac14","\u2155":"frac15","\u2159":"frac16","\u215B":"frac18","\xB2":"sup2","\u2154":"frac23","\u2156":"frac25","\xB3":"sup3","\xBE":"frac34","\u2157":"frac35","\u215C":"frac38","\u2158":"frac45","\u215A":"frac56","\u215D":"frac58","\u215E":"frac78","\u{1D4B6}":"ascr","\u{1D552}":"aopf","\u{1D51E}":"afr","\u{1D538}":"Aopf","\u{1D504}":"Afr","\u{1D49C}":"Ascr",\u00AA:"ordf",\u00E1:"aacute",\u00C1:"Aacute",\u00E0:"agrave",\u00C0:"Agrave",\u0103:"abreve",\u0102:"Abreve",\u00E2:"acirc",\u00C2:"Acirc",\u00E5:"aring",\u00C5:"angst",\u00E4:"auml",\u00C4:"Auml",\u00E3:"atilde",\u00C3:"Atilde",\u0105:"aogon",\u0104:"Aogon",\u0101:"amacr",\u0100:"Amacr",\u00E6:"aelig",\u00C6:"AElig","\u{1D4B7}":"bscr","\u{1D553}":"bopf","\u{1D51F}":"bfr","\u{1D539}":"Bopf",\u212C:"Bscr","\u{1D505}":"Bfr","\u{1D520}":"cfr","\u{1D4B8}":"cscr","\u{1D554}":"copf",\u212D:"Cfr","\u{1D49E}":"Cscr",\u2102:"Copf",\u0107:"cacute",\u0106:"Cacute",\u0109:"ccirc",\u0108:"Ccirc",\u010D:"ccaron",\u010C:"Ccaron",\u010B:"cdot",\u010A:"Cdot",\u00E7:"ccedil",\u00C7:"Ccedil","\u2105":"incare","\u{1D521}":"dfr","\u2146":"dd","\u{1D555}":"dopf","\u{1D4B9}":"dscr","\u{1D49F}":"Dscr","\u{1D507}":"Dfr","\u2145":"DD","\u{1D53B}":"Dopf",\u010F:"dcaron",\u010E:"Dcaron",\u0111:"dstrok",\u0110:"Dstrok",\u00F0:"eth",\u00D0:"ETH","\u2147":"ee",\u212F:"escr","\u{1D522}":"efr","\u{1D556}":"eopf",\u2130:"Escr","\u{1D508}":"Efr","\u{1D53C}":"Eopf",\u00E9:"eacute",\u00C9:"Eacute",\u00E8:"egrave",\u00C8:"Egrave",\u00EA:"ecirc",\u00CA:"Ecirc",\u011B:"ecaron",\u011A:"Ecaron",\u00EB:"euml",\u00CB:"Euml",\u0117:"edot",\u0116:"Edot",\u0119:"eogon",\u0118:"Eogon",\u0113:"emacr",\u0112:"Emacr","\u{1D523}":"ffr","\u{1D557}":"fopf","\u{1D4BB}":"fscr","\u{1D509}":"Ffr","\u{1D53D}":"Fopf",\u2131:"Fscr",\uFB00:"fflig",\uFB03:"ffilig",\uFB04:"ffllig",\uFB01:"filig",fj:"fjlig",\uFB02:"fllig",\u0192:"fnof",\u210A:"gscr","\u{1D558}":"gopf","\u{1D524}":"gfr","\u{1D4A2}":"Gscr","\u{1D53E}":"Gopf","\u{1D50A}":"Gfr",\u01F5:"gacute",\u011F:"gbreve",\u011E:"Gbreve",\u011D:"gcirc",\u011C:"Gcirc",\u0121:"gdot",\u0120:"Gdot",\u0122:"Gcedil","\u{1D525}":"hfr",\u210E:"planckh","\u{1D4BD}":"hscr","\u{1D559}":"hopf",\u210B:"Hscr",\u210C:"Hfr",\u210D:"Hopf",\u0125:"hcirc",\u0124:"Hcirc",\u210F:"hbar",\u0127:"hstrok",\u0126:"Hstrok","\u{1D55A}":"iopf","\u{1D526}":"ifr","\u{1D4BE}":"iscr","\u2148":"ii","\u{1D540}":"Iopf",\u2110:"Iscr",\u2111:"Im",\u00ED:"iacute",\u00CD:"Iacute",\u00EC:"igrave",\u00CC:"Igrave",\u00EE:"icirc",\u00CE:"Icirc",\u00EF:"iuml",\u00CF:"Iuml",\u0129:"itilde",\u0128:"Itilde",\u0130:"Idot",\u012F:"iogon",\u012E:"Iogon",\u012B:"imacr",\u012A:"Imacr",\u0133:"ijlig",\u0132:"IJlig",\u0131:"imath","\u{1D4BF}":"jscr","\u{1D55B}":"jopf","\u{1D527}":"jfr","\u{1D4A5}":"Jscr","\u{1D50D}":"Jfr","\u{1D541}":"Jopf",\u0135:"jcirc",\u0134:"Jcirc","\u0237":"jmath","\u{1D55C}":"kopf","\u{1D4C0}":"kscr","\u{1D528}":"kfr","\u{1D4A6}":"Kscr","\u{1D542}":"Kopf","\u{1D50E}":"Kfr",\u0137:"kcedil",\u0136:"Kcedil","\u{1D529}":"lfr","\u{1D4C1}":"lscr",\u2113:"ell","\u{1D55D}":"lopf",\u2112:"Lscr","\u{1D50F}":"Lfr","\u{1D543}":"Lopf",\u013A:"lacute",\u0139:"Lacute",\u013E:"lcaron",\u013D:"Lcaron",\u013C:"lcedil",\u013B:"Lcedil",\u0142:"lstrok",\u0141:"Lstrok",\u0140:"lmidot",\u013F:"Lmidot","\u{1D52A}":"mfr","\u{1D55E}":"mopf","\u{1D4C2}":"mscr","\u{1D510}":"Mfr","\u{1D544}":"Mopf",\u2133:"Mscr","\u{1D52B}":"nfr","\u{1D55F}":"nopf","\u{1D4C3}":"nscr",\u2115:"Nopf","\u{1D4A9}":"Nscr","\u{1D511}":"Nfr",\u0144:"nacute",\u0143:"Nacute",\u0148:"ncaron",\u0147:"Ncaron",\u00F1:"ntilde",\u00D1:"Ntilde",\u0146:"ncedil",\u0145:"Ncedil","\u2116":"numero",\u014B:"eng",\u014A:"ENG","\u{1D560}":"oopf","\u{1D52C}":"ofr",\u2134:"oscr","\u{1D4AA}":"Oscr","\u{1D512}":"Ofr","\u{1D546}":"Oopf",\u00BA:"ordm",\u00F3:"oacute",\u00D3:"Oacute",\u00F2:"ograve",\u00D2:"Ograve",\u00F4:"ocirc",\u00D4:"Ocirc",\u00F6:"ouml",\u00D6:"Ouml",\u0151:"odblac",\u0150:"Odblac",\u00F5:"otilde",\u00D5:"Otilde",\u00F8:"oslash",\u00D8:"Oslash",\u014D:"omacr",\u014C:"Omacr",\u0153:"oelig",\u0152:"OElig","\u{1D52D}":"pfr","\u{1D4C5}":"pscr","\u{1D561}":"popf",\u2119:"Popf","\u{1D513}":"Pfr","\u{1D4AB}":"Pscr","\u{1D562}":"qopf","\u{1D52E}":"qfr","\u{1D4C6}":"qscr","\u{1D4AC}":"Qscr","\u{1D514}":"Qfr",\u211A:"Qopf",\u0138:"kgreen","\u{1D52F}":"rfr","\u{1D563}":"ropf","\u{1D4C7}":"rscr",\u211B:"Rscr",\u211C:"Re",\u211D:"Ropf",\u0155:"racute",\u0154:"Racute",\u0159:"rcaron",\u0158:"Rcaron",\u0157:"rcedil",\u0156:"Rcedil","\u{1D564}":"sopf","\u{1D4C8}":"sscr","\u{1D530}":"sfr","\u{1D54A}":"Sopf","\u{1D516}":"Sfr","\u{1D4AE}":"Sscr","\u24C8":"oS",\u015B:"sacute",\u015A:"Sacute",\u015D:"scirc",\u015C:"Scirc",\u0161:"scaron",\u0160:"Scaron",\u015F:"scedil",\u015E:"Scedil",\u00DF:"szlig","\u{1D531}":"tfr","\u{1D4C9}":"tscr","\u{1D565}":"topf","\u{1D4AF}":"Tscr","\u{1D517}":"Tfr","\u{1D54B}":"Topf",\u0165:"tcaron",\u0164:"Tcaron",\u0163:"tcedil",\u0162:"Tcedil","\u2122":"trade",\u0167:"tstrok",\u0166:"Tstrok","\u{1D4CA}":"uscr","\u{1D566}":"uopf","\u{1D532}":"ufr","\u{1D54C}":"Uopf","\u{1D518}":"Ufr","\u{1D4B0}":"Uscr",\u00FA:"uacute",\u00DA:"Uacute",\u00F9:"ugrave",\u00D9:"Ugrave",\u016D:"ubreve",\u016C:"Ubreve",\u00FB:"ucirc",\u00DB:"Ucirc",\u016F:"uring",\u016E:"Uring",\u00FC:"uuml",\u00DC:"Uuml",\u0171:"udblac",\u0170:"Udblac",\u0169:"utilde",\u0168:"Utilde",\u0173:"uogon",\u0172:"Uogon",\u016B:"umacr",\u016A:"Umacr","\u{1D533}":"vfr","\u{1D567}":"vopf","\u{1D4CB}":"vscr","\u{1D519}":"Vfr","\u{1D54D}":"Vopf","\u{1D4B1}":"Vscr","\u{1D568}":"wopf","\u{1D4CC}":"wscr","\u{1D534}":"wfr","\u{1D4B2}":"Wscr","\u{1D54E}":"Wopf","\u{1D51A}":"Wfr",\u0175:"wcirc",\u0174:"Wcirc","\u{1D535}":"xfr","\u{1D4CD}":"xscr","\u{1D569}":"xopf","\u{1D54F}":"Xopf","\u{1D51B}":"Xfr","\u{1D4B3}":"Xscr","\u{1D536}":"yfr","\u{1D4CE}":"yscr","\u{1D56A}":"yopf","\u{1D4B4}":"Yscr","\u{1D51C}":"Yfr","\u{1D550}":"Yopf",\u00FD:"yacute",\u00DD:"Yacute",\u0177:"ycirc",\u0176:"Ycirc",\u00FF:"yuml",\u0178:"Yuml","\u{1D4CF}":"zscr","\u{1D537}":"zfr","\u{1D56B}":"zopf",\u2128:"Zfr",\u2124:"Zopf","\u{1D4B5}":"Zscr",\u017A:"zacute",\u0179:"Zacute",\u017E:"zcaron",\u017D:"Zcaron",\u017C:"zdot",\u017B:"Zdot",\u01B5:"imped",\u00FE:"thorn",\u00DE:"THORN",\u0149:"napos",\u03B1:"alpha",\u0391:"Alpha",\u03B2:"beta",\u0392:"Beta",\u03B3:"gamma",\u0393:"Gamma",\u03B4:"delta",\u0394:"Delta",\u03B5:"epsi","\u03F5":"epsiv",\u0395:"Epsilon",\u03DD:"gammad",\u03DC:"Gammad",\u03B6:"zeta",\u0396:"Zeta",\u03B7:"eta",\u0397:"Eta",\u03B8:"theta",\u03D1:"thetav",\u0398:"Theta",\u03B9:"iota",\u0399:"Iota",\u03BA:"kappa",\u03F0:"kappav",\u039A:"Kappa",\u03BB:"lambda",\u039B:"Lambda",\u03BC:"mu",\u00B5:"micro",\u039C:"Mu",\u03BD:"nu",\u039D:"Nu",\u03BE:"xi",\u039E:"Xi",\u03BF:"omicron",\u039F:"Omicron",\u03C0:"pi",\u03D6:"piv",\u03A0:"Pi",\u03C1:"rho",\u03F1:"rhov",\u03A1:"Rho",\u03C3:"sigma",\u03A3:"Sigma",\u03C2:"sigmaf",\u03C4:"tau",\u03A4:"Tau",\u03C5:"upsi",\u03A5:"Upsilon",\u03D2:"Upsi",\u03C6:"phi",\u03D5:"phiv",\u03A6:"Phi",\u03C7:"chi",\u03A7:"Chi",\u03C8:"psi",\u03A8:"Psi",\u03C9:"omega",\u03A9:"ohm",\u0430:"acy",\u0410:"Acy",\u0431:"bcy",\u0411:"Bcy",\u0432:"vcy",\u0412:"Vcy",\u0433:"gcy",\u0413:"Gcy",\u0453:"gjcy",\u0403:"GJcy",\u0434:"dcy",\u0414:"Dcy",\u0452:"djcy",\u0402:"DJcy",\u0435:"iecy",\u0415:"IEcy",\u0451:"iocy",\u0401:"IOcy",\u0454:"jukcy",\u0404:"Jukcy",\u0436:"zhcy",\u0416:"ZHcy",\u0437:"zcy",\u0417:"Zcy",\u0455:"dscy",\u0405:"DScy",\u0438:"icy",\u0418:"Icy",\u0456:"iukcy",\u0406:"Iukcy",\u0457:"yicy",\u0407:"YIcy",\u0439:"jcy",\u0419:"Jcy",\u0458:"jsercy",\u0408:"Jsercy",\u043A:"kcy",\u041A:"Kcy",\u045C:"kjcy",\u040C:"KJcy",\u043B:"lcy",\u041B:"Lcy",\u0459:"ljcy",\u0409:"LJcy",\u043C:"mcy",\u041C:"Mcy",\u043D:"ncy",\u041D:"Ncy",\u045A:"njcy",\u040A:"NJcy",\u043E:"ocy",\u041E:"Ocy",\u043F:"pcy",\u041F:"Pcy",\u0440:"rcy",\u0420:"Rcy",\u0441:"scy",\u0421:"Scy",\u0442:"tcy",\u0422:"Tcy",\u045B:"tshcy",\u040B:"TSHcy",\u0443:"ucy",\u0423:"Ucy",\u045E:"ubrcy",\u040E:"Ubrcy",\u0444:"fcy",\u0424:"Fcy",\u0445:"khcy",\u0425:"KHcy",\u0446:"tscy",\u0426:"TScy",\u0447:"chcy",\u0427:"CHcy",\u045F:"dzcy",\u040F:"DZcy",\u0448:"shcy",\u0428:"SHcy",\u0449:"shchcy",\u0429:"SHCHcy",\u044A:"hardcy",\u042A:"HARDcy",\u044B:"ycy",\u042B:"Ycy",\u044C:"softcy",\u042C:"SOFTcy",\u044D:"ecy",\u042D:"Ecy",\u044E:"yucy",\u042E:"YUcy",\u044F:"yacy",\u042F:"YAcy",\u2135:"aleph",\u2136:"beth",\u2137:"gimel",\u2138:"daleth"},c=/["&'<>`]/g,y={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},v=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,k=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,w=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,x={aacute:"\xE1",Aacute:"\xC1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",acy:"\u0430",Acy:"\u0410",aelig:"\xE6",AElig:"\xC6",af:"\u2061",afr:"\u{1D51E}",Afr:"\u{1D504}",agrave:"\xE0",Agrave:"\xC0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2A3F",amp:"&",AMP:"&",and:"\u2227",And:"\u2A53",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1D552}",Aopf:"\u{1D538}",ap:"\u2248",apacir:"\u2A6F",ape:"\u224A",apE:"\u2A70",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",Aring:"\xC5",ascr:"\u{1D4B6}",Ascr:"\u{1D49C}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",beta:"\u03B2",Beta:"\u0392",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",Bfr:"\u{1D505}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bNot:"\u2AED",bopf:"\u{1D553}",Bopf:"\u{1D539}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpe:"\u224F",bumpE:"\u2AAE",bumpeq:"\u224F",Bumpeq:"\u224E",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22D2",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",ccaron:"\u010D",Ccaron:"\u010C",ccedil:"\xE7",Ccedil:"\xC7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",Cdot:"\u010A",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",Chi:"\u03A7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29C3",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2A74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",cscr:"\u{1D4B8}",Cscr:"\u{1D49E}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",Cup:"\u22D3",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21D3",Darr:"\u21A1",dash:"\u2010",dashv:"\u22A3",Dashv:"\u2AE4",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",Dcaron:"\u010E",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",delta:"\u03B4",Delta:"\u0394",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",Dfr:"\u{1D507}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",Dopf:"\u{1D53B}",dot:"\u02D9",Dot:"\xA8",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21D3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",Dscr:"\u{1D49F}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29F6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",DZcy:"\u040F",dzigrarr:"\u27FF",eacute:"\xE9",Eacute:"\xC9",easter:"\u2A6E",ecaron:"\u011B",Ecaron:"\u011A",ecir:"\u2256",ecirc:"\xEA",Ecirc:"\xCA",ecolon:"\u2255",ecy:"\u044D",Ecy:"\u042D",eDDot:"\u2A77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",Efr:"\u{1D508}",eg:"\u2A9A",egrave:"\xE8",Egrave:"\xC8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014B",ENG:"\u014A",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1D556}",Eopf:"\u{1D53C}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",Epsilon:"\u0395",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2A73",eta:"\u03B7",Eta:"\u0397",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",Ffr:"\u{1D509}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",Fopf:"\u{1D53D}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",gamma:"\u03B3",Gamma:"\u0393",gammad:"\u03DD",Gammad:"\u03DC",gap:"\u2A86",gbreve:"\u011F",Gbreve:"\u011E",Gcedil:"\u0122",gcirc:"\u011D",Gcirc:"\u011C",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22DB",gEl:"\u2A8C",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",Gfr:"\u{1D50A}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",Gopf:"\u{1D53E}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",gscr:"\u210A",Gscr:"\u{1D4A2}",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",Gt:"\u226B",GT:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",HARDcy:"\u042A",harr:"\u2194",hArr:"\u21D4",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",Iacute:"\xCD",ic:"\u2063",icirc:"\xEE",Icirc:"\xCE",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",igrave:"\xEC",Igrave:"\xCC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012B",Imacr:"\u012A",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",Int:"\u222C",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012F",Iogon:"\u012E",iopf:"\u{1D55A}",Iopf:"\u{1D540}",iota:"\u03B9",Iota:"\u0399",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xEF",Iuml:"\xCF",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1D527}",Jfr:"\u{1D50D}",jmath:"\u0237",jopf:"\u{1D55B}",Jopf:"\u{1D541}",jscr:"\u{1D4BF}",Jscr:"\u{1D4A5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03BA",Kappa:"\u039A",kappav:"\u03F0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043A",Kcy:"\u041A",kfr:"\u{1D528}",Kfr:"\u{1D50E}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045C",KJcy:"\u040C",kopf:"\u{1D55C}",Kopf:"\u{1D542}",kscr:"\u{1D4C0}",Kscr:"\u{1D4A6}",lAarr:"\u21DA",lacute:"\u013A",Lacute:"\u0139",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",Lambda:"\u039B",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",Larr:"\u219E",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",lAtail:"\u291B",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",Lcaron:"\u013D",lcedil:"\u013C",Lcedil:"\u013B",lceil:"\u2308",lcub:"{",lcy:"\u043B",Lcy:"\u041B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",leftarrow:"\u2190",Leftarrow:"\u21D0",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",Leftrightarrow:"\u21D4",LeftRightArrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",leg:"\u22DA",lEg:"\u2A8B",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",Lfr:"\u{1D50F}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226A",Ll:"\u22D8",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",Lmidot:"\u013F",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",Longleftarrow:"\u27F8",LongLeftArrow:"\u27F5",longleftrightarrow:"\u27F7",Longleftrightarrow:"\u27FA",LongLeftRightArrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",Longrightarrow:"\u27F9",LongRightArrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",Lopf:"\u{1D543}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226A",LT:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",Map:"\u2905",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",Mcy:"\u041C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",mfr:"\u{1D52A}",Mfr:"\u{1D510}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",Mopf:"\u{1D544}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",mu:"\u03BC",Mu:"\u039C",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",Ncy:"\u041D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
7
+ `,nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",Nfr:"\u{1D511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",ngt:"\u226F",nGt:"\u226B\u20D2",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",NJcy:"\u040A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nlt:"\u226E",nLt:"\u226A\u20D2",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",not:"\xAC",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",Nscr:"\u{1D4A9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2AC5\u0338",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2AC6\u0338",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",Ntilde:"\xD1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",Nu:"\u039D",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xF3",Oacute:"\xD3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",Ocirc:"\xD4",ocy:"\u043E",Ocy:"\u041E",odash:"\u229D",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29BF",ofr:"\u{1D52C}",Ofr:"\u{1D512}",ogon:"\u02DB",ograve:"\xF2",Ograve:"\xD2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",Omacr:"\u014C",omega:"\u03C9",Omega:"\u03A9",omicron:"\u03BF",Omicron:"\u039F",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",Oopf:"\u{1D546}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",or:"\u2228",Or:"\u2A54",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",oscr:"\u2134",Oscr:"\u{1D4AA}",oslash:"\xF8",Oslash:"\xD8",osol:"\u2298",otilde:"\xF5",Otilde:"\xD5",otimes:"\u2297",Otimes:"\u2A37",otimesas:"\u2A36",ouml:"\xF6",Ouml:"\xD6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",pcy:"\u043F",Pcy:"\u041F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",Pfr:"\u{1D513}",phi:"\u03C6",Phi:"\u03A6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",Pi:"\u03A0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",pr:"\u227A",Pr:"\u2ABB",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prE:"\u2AB3",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",Pscr:"\u{1D4AB}",psi:"\u03C8",Psi:"\u03A8",puncsp:"\u2008",qfr:"\u{1D52E}",Qfr:"\u{1D514}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",qscr:"\u{1D4C6}",Qscr:"\u{1D4AC}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",Rarr:"\u21A0",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",Rarrtl:"\u2916",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",Rho:"\u03A1",rhov:"\u03F1",RightAngleBracket:"\u27E9",rightarrow:"\u2192",Rightarrow:"\u21D2",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",Sacute:"\u015A",sbquo:"\u201A",sc:"\u227B",Sc:"\u2ABC",scap:"\u2AB8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",scedil:"\u015F",Scedil:"\u015E",scirc:"\u015D",Scirc:"\u015C",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",Scy:"\u0421",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",Sfr:"\u{1D516}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",sigma:"\u03C3",Sigma:"\u03A3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",SOFTcy:"\u042C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",Sopf:"\u{1D54A}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",Sscr:"\u{1D4AE}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",Star:"\u22C6",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",sube:"\u2286",subE:"\u2AC5",subedot:"\u2AC3",submult:"\u2AC1",subne:"\u228A",subnE:"\u2ACB",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup:"\u2283",Sup:"\u22D1",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supE:"\u2AC6",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supne:"\u228B",supnE:"\u2ACC",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",tau:"\u03C4",Tau:"\u03A4",tbrk:"\u23B4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",Tfr:"\u{1D517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03B8",Theta:"\u0398",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",THORN:"\xDE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",Topf:"\u{1D54B}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",Tscr:"\u{1D4AF}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045B",TSHcy:"\u040B",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uacute:"\xFA",Uacute:"\xDA",uarr:"\u2191",uArr:"\u21D1",Uarr:"\u219F",Uarrocir:"\u2949",ubrcy:"\u045E",Ubrcy:"\u040E",ubreve:"\u016D",Ubreve:"\u016C",ucirc:"\xFB",Ucirc:"\xDB",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21C5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",Ufr:"\u{1D518}",ugrave:"\xF9",Ugrave:"\xD9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",Umacr:"\u016A",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1D566}",Uopf:"\u{1D54C}",uparrow:"\u2191",Uparrow:"\u21D1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",Updownarrow:"\u21D5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",upsilon:"\u03C5",Upsilon:"\u03A5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",Uring:"\u016E",urtri:"\u25F9",uscr:"\u{1D4CA}",Uscr:"\u{1D4B0}",utdot:"\u22F0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",Uuml:"\xDC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",vee:"\u2228",Vee:"\u22C1",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",vfr:"\u{1D533}",Vfr:"\u{1D519}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",Vopf:"\u{1D54D}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",Vscr:"\u{1D4B1}",vsubne:"\u228A\uFE00",vsubnE:"\u2ACB\uFE00",vsupne:"\u228B\uFE00",vsupnE:"\u2ACC\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",Wfr:"\u{1D51A}",wopf:"\u{1D568}",Wopf:"\u{1D54E}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",Wscr:"\u{1D4B2}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",Xfr:"\u{1D51B}",xharr:"\u27F7",xhArr:"\u27FA",xi:"\u03BE",Xi:"\u039E",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",Xopf:"\u{1D54F}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",xscr:"\u{1D4CD}",Xscr:"\u{1D4B3}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",Yacute:"\xDD",yacy:"\u044F",YAcy:"\u042F",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044B",Ycy:"\u042B",yen:"\xA5",yfr:"\u{1D536}",Yfr:"\u{1D51C}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1D56A}",Yopf:"\u{1D550}",yscr:"\u{1D4CE}",Yscr:"\u{1D4B4}",yucy:"\u044E",YUcy:"\u042E",yuml:"\xFF",Yuml:"\u0178",zacute:"\u017A",Zacute:"\u0179",zcaron:"\u017E",Zcaron:"\u017D",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017C",Zdot:"\u017B",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",zeta:"\u03B6",Zeta:"\u0396",zfr:"\u{1D537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",zscr:"\u{1D4CF}",Zscr:"\u{1D4B5}",zwj:"\u200D",zwnj:"\u200C"},b={aacute:"\xE1",Aacute:"\xC1",acirc:"\xE2",Acirc:"\xC2",acute:"\xB4",aelig:"\xE6",AElig:"\xC6",agrave:"\xE0",Agrave:"\xC0",amp:"&",AMP:"&",aring:"\xE5",Aring:"\xC5",atilde:"\xE3",Atilde:"\xC3",auml:"\xE4",Auml:"\xC4",brvbar:"\xA6",ccedil:"\xE7",Ccedil:"\xC7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",Eacute:"\xC9",ecirc:"\xEA",Ecirc:"\xCA",egrave:"\xE8",Egrave:"\xC8",eth:"\xF0",ETH:"\xD0",euml:"\xEB",Euml:"\xCB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",iacute:"\xED",Iacute:"\xCD",icirc:"\xEE",Icirc:"\xCE",iexcl:"\xA1",igrave:"\xEC",Igrave:"\xCC",iquest:"\xBF",iuml:"\xEF",Iuml:"\xCF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",Ntilde:"\xD1",oacute:"\xF3",Oacute:"\xD3",ocirc:"\xF4",Ocirc:"\xD4",ograve:"\xF2",Ograve:"\xD2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",Oslash:"\xD8",otilde:"\xF5",Otilde:"\xD5",ouml:"\xF6",Ouml:"\xD6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",THORN:"\xDE",times:"\xD7",uacute:"\xFA",Uacute:"\xDA",ucirc:"\xFB",Ucirc:"\xDB",ugrave:"\xF9",Ugrave:"\xD9",uml:"\xA8",uuml:"\xFC",Uuml:"\xDC",yacute:"\xFD",Yacute:"\xDD",yen:"\xA5",yuml:"\xFF"},u={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},m=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,S={}.hasOwnProperty,d=function(D,P){return S.call(D,P)},g=function(D,P){if(!D)return P;var F,H={};for(F in P)H[F]=d(D,F)?D[F]:P[F];return H},_=function(D,P){var F="";return D>=55296&&D<=57343||D>1114111?(P&&T("character reference outside the permissible Unicode range"),"\uFFFD"):d(u,D)?(P&&T("disallowed character reference"),u[D]):(P&&function(H,G){for(var M=-1,j=H.length;++M<j;)if(H[M]==G)return!0;return!1}(m,D)&&T("disallowed character reference"),D>65535&&(F+=E((D-=65536)>>>10&1023|55296),D=56320|1023&D),F+=E(D))},h=function(D){return"&#x"+D.toString(16).toUpperCase()+";"},p=function(D){return"&#"+D+";"},T=function(D){throw Error("Parse error: "+D)},f=function(D,P){(P=g(P,f.options)).strict&&k.test(D)&&T("forbidden code point");var F=P.encodeEverything,H=P.useNamedReferences,G=P.allowUnsafeSymbols,M=P.decimal?p:h,j=function(U){return M(U.charCodeAt(0))};return F?(D=D.replace(a,function(U){return H&&d(l,U)?"&"+l[U]+";":j(U)}),H&&(D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),H&&(D=D.replace(s,function(U){return"&"+l[U]+";"}))):H?(G||(D=D.replace(c,function(U){return"&"+l[U]+";"})),D=(D=D.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(s,function(U){return"&"+l[U]+";"})):G||(D=D.replace(c,j)),D.replace(i,function(U){var V=U.charCodeAt(0),ue=U.charCodeAt(1);return M(1024*(V-55296)+ue-56320+65536)}).replace(o,j)};f.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var R=function(D,P){var F=(P=g(P,R.options)).strict;return F&&v.test(D)&&T("malformed character reference"),D.replace(w,function(H,G,M,j,U,V,ue,ke,Ae){var J,A,N,B,$,W;return G?x[$=G]:M?($=M,(W=j)&&P.isAttributeValue?(F&&W=="="&&T("`&` did not start a character reference"),H):(F&&T("named character reference was not terminated by a semicolon"),b[$]+(W||""))):U?(N=U,A=V,F&&!A&&T("character reference was not terminated by a semicolon"),J=parseInt(N,10),_(J,F)):ue?(B=ue,A=ke,F&&!A&&T("character reference was not terminated by a semicolon"),J=parseInt(B,16),_(J,F)):(F&&T("named character reference was not terminated by a semicolon"),H)})};R.options={isAttributeValue:!1,strict:!1};var C={version:"1.2.0",encode:f,decode:R,escape:function(D){return D.replace(c,function(P){return y[P]})},unescape:R};if(t&&!t.nodeType)if(r)r.exports=C;else for(var I in C)d(C,I)&&(t[I]=C[I]);else e.he=C}(hr.exports)),hr.exports);const ct=lr(Rt),Lu=[z.COLUMN,z.GROUP,z.UNSET,z.TEXT_LIST_ITEM,z.UNKNOWN_CONTENT],jn=[z.DANGEROUS_CODE,z.TABLE,z.TEXT,z.BUTTON,z.DIVIDER,z.IMAGE,z.NAVBAR,z.SOCIAL,z.SPACER,z.TEXT_LIST,z.TEXT_LIST_ITEM,z.UNKNOWN_CONTENT,z.TABLE2_TD,z.AMP_BLOCK],ne=class Se{static getPageIdx(){return"content"}static getUniversalElementsIdx(t){return`blocks.${t}`}static getChildIdx(t,r){return`${t}.children.${r}`}static getNodeIdxClassName(t){return`node-idx-${t}`}static getParentIdx(t){var r;return t===Se.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(t))==null?void 0:r[1])||""}static isVoidBlockElement(t){return Se.isElement(t)?!!ee.getBlockByType(t.type).void:!1}static isUnsetElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return r.category===z.UNSET||r.category===z.SOCIAL_ELEMENT||r.category===z.NAVBAR_LINK}static isTable2Element(t){return!!Se.isElement(t)&&t.type===L.STANDARD_TABLE2}static isAmpBlockElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.AMP_BLOCK:!1}static isTable2TrElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.TABLE2_TR:!1}static isTable2TdElement(t){return Se.isElement(t)?ee.getBlockByType(t.type).category===z.TABLE2_TD:!1}static isTextNode(t){return re(t,"text")!==void 0}static isElement(t){return!!(re(t,"type")&&re(t,"children")&&re(t,"attributes"))}static isHTMLNodeElement(t){return Se.isElement(t)&&t.type===L.HTML_NODE}static isHTMLBlockNodeElement(t){return Se.isElement(t)&&t.type===L.HTML_BLOCK_NODE}static isBlockElement(t){const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!(n.inlineElement||Se.isHTMLBlockNodeElement(t)||Se.isTable2TrElement(t)||Se.isTable2TdElement(t))}static isLineBreakElement(t){return re(t,"type")===L.LINE_BREAK}static isUniversalElement(t){return!!Se.isElement(t)&&!!t.uid}static isStandaloneElement(t){var r;return!!Se.isElement(t)&&!!((r=ee.getBlockByType(t.type))!=null&&r.standalone)}static isInlineElement(t){if(!Se.isElement(t))return!1;const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(t){if(!Se.isElement(t))return!1;const r=re(t,"type"),n=ee.getBlockByType(r);return!!n&&!!n.inlineElement&&n.type===K.MERGETAG}static isPageHeaderElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return!!r&&r.category===z.PAGE_HEADER}static isPageFooterElement(t){if(!Se.isElement(t))return!1;const r=ee.getBlockByType(t.type);return!!r&&r.category===z.PAGE_FOOTER}static isParentCategory(t,r){if(t===z.BLOCK_NODE&&r===z.BLOCK_NODE||[z.INLINE_TEXT,z.TEXT_LIST,z.BLOCK_NODE].includes(t)&&Se.isContentElementCategory(r))return!0;if(Se.isContentElementCategory(t))return!(!Lt.autoComplete||r!==z.PAGE&&r!==z.WRAPPER)||r===z.COLUMN||r===z.HERO;switch(t){case z.COLUMN:return r===z.GROUP||r===z.SECTION;case z.GROUP:return r===z.SECTION;case z.SECTION:case z.HERO:return r===z.WRAPPER||r===z.PAGE;case z.WRAPPER:return r===z.PAGE;case z.SOCIAL_ELEMENT:return r===z.SOCIAL;case z.NAVBAR_LINK:return r===z.NAVBAR}return!1}static isParentCategoryType(t,r){const n=ee.getBlockByType(t),i=ee.getBlockByType(r);return!(![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(t)||!Se.isContentElement(i.create()))||!(!n.inlineElement||![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category)}};ae(ne,"isContentElementCategory",e=>jn.includes(e)),ae(ne,"isPageElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.PAGE:!1),ae(ne,"isSectionElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SECTION:!1),ae(ne,"isTableElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TABLE:!1),ae(ne,"isHeroElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.HERO:!1),ae(ne,"isNavbarLink",e=>!!ne.isElement(e)&&(e.type===L.NAVBAR_LINK||e.type===L.STANDARD_NAVBAR_LINK)),ae(ne,"isDividerElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.DIVIDER:!1),ae(ne,"isSpacerElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SPACER:!1),ae(ne,"isButtonElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.BUTTON):!1),ae(ne,"isImageElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.IMAGE:!1),ae(ne,"isSocialElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.SOCIAL:!1),ae(ne,"isWidgetElement",e=>!!ne.isElement(e)&&[L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET].includes(e.type)),ae(ne,"isWrapperElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.WRAPPER):!1),ae(ne,"isRawElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category.includes(z.RAW):!1),ae(ne,"isGroupElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.GROUP:!1),ae(ne,"isColumnElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.COLUMN:!1),ae(ne,"isContentElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type);return jn.includes(t.category)}),ae(ne,"isAutoCompleteElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type).category;return jn.includes(t)&&t!==z.TABLE2_TD}),ae(ne,"isUnelectableElement",e=>{if(!ne.isElement(e))return!1;if(e.type===K.PLACEHOLDER)return!0;const t=ee.getBlockByType(e.type);return Lu.includes(t.category)}),ae(ne,"isTextElement",e=>{if(!ne.isElement(e))return!1;const t=ee.getBlockByType(e.type);return ne.isTable2TdElement(e)||t.category===z.TEXT||t.category===z.TEXT_LIST||t.category===z.TEXT_LIST_ITEM||t.category===z.INLINE_TEXT}),ae(ne,"isPlaceholderElement",e=>!!ne.isElement(e)&&e.type===K.PLACEHOLDER),ae(ne,"isTextListElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TEXT_LIST:!1),ae(ne,"isTextListItemElement",e=>ne.isElement(e)?ee.getBlockByType(e.type).category===z.TEXT_LIST_ITEM:!1);let te=ne;var Za,es={exports:{}},Xt={},fr={exports:{}},zn={},Hn={};function Vn(){if(Za)return Hn;function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function t(n,i){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),i=i||"",n.indent_level>0&&(i=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=i,this.__base_string_length=i.length}function r(n,i){this.__indent_cache=new t(n,i),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Za=1,e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var i=this.__items.length-1;i>=0;i--)if(this.__items[i].match(n))return!0;return!1},e.prototype.set_indent=function(n,i){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=i||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var i=n.lastIndexOf(`
8
8
  `);i!==-1?this.__character_count=n.length-i:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n},t.prototype.get_indent_size=function(n,i){var a=this.__base_string_length;return i=i||0,n<0&&(a=0),a+=n*this.__indent_size,a+=i},t.prototype.get_indent_string=function(n,i){var a=this.__base_string;return i=i||0,n<0&&(n=0,a=""),i+=n*this.__indent_size,this.__ensure_cache(i),a+=this.__cache[i]},t.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var n=this.__cache.length,i=0,a="";this.__indent_size&&n>=this.__indent_size&&(n-=(i=Math.floor(n/this.__indent_size))*this.__indent_size,a=new Array(i+1).join(this.__indent_string)),n&&(a+=new Array(n+1).join(" ")),this.__cache.push(a)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(n,i){return this.__indent_cache.get_indent_string(n,i)},r.prototype.get_indent_size=function(n,i){return this.__indent_cache.get_indent_size(n,i)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(n){return!(this.is_empty()||!n&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(n){this.trim(!0);var i=this.current_line.pop();i&&(i[i.length-1]===`
9
9
  `&&(i=i.replace(/\n+$/g,"")),this.current_line.push(i)),this._end_with_newline&&this.__add_outputline();var a=this.__lines.join(`
10
10
  `);return n!==`
11
- `&&(a=a.replace(/[\n]/g,n)),a},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(n,i){return n=n||0,i=i||0,this.next_line.set_indent(n,i),this.__lines.length>1?(this.current_line.set_indent(n,i),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(n){for(var i=0;i<n.newlines;i++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(n){for(var i=this.__lines.length;n<i;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(n){for(n=n!==void 0&&n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(n,i){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(n)!==0&&o.item(-1)!==i){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},Hn.Output=r,Hn}var rs,$n={};function ns(){return rs||(rs=1,$n.Token=function(e,t,r,n){this.type=e,this.text=t,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}),$n}var is,as={};function ss(){return is||(is=1,function(e){var t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",n="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+i+"|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+r+"])",o="(?:"+i+"|["+t+r+n+"])*";e.identifier=new RegExp(a+o,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+i+"|["+t+r+n+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
12
- |`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(as)),as}var os,ls,Gn={},Jt={};function Wn(){if(os)return Jt;function e(n,i){this.raw_options=t(n,i),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}function t(n,i){var a,o={};for(a in n=r(n))a!==i&&(o[a]=n[a]);if(i&&n[i])for(a in n[i])o[a]=n[i][a];return o}function r(n){var i,a={};for(i in n)a[i.replace(/-/g,"_")]=n[i];return a}return os=1,e.prototype._get_array=function(n,i){var a=this.raw_options[n],o=i||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(n,i){var a=this.raw_options[n];return a===void 0?!!i:!!a},e.prototype._get_characters=function(n,i){var a=this.raw_options[n],o=i||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
11
+ `&&(a=a.replace(/[\n]/g,n)),a},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(n,i){return n=n||0,i=i||0,this.next_line.set_indent(n,i),this.__lines.length>1?(this.current_line.set_indent(n,i),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(n){for(var i=0;i<n.newlines;i++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(n){for(var i=this.__lines.length;n<i;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(n){for(n=n!==void 0&&n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(n,i){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(n)!==0&&o.item(-1)!==i){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},Hn.Output=r,Hn}var ts,$n={};function rs(){return ts||(ts=1,$n.Token=function(e,t,r,n){this.type=e,this.text=t,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}),$n}var ns,is={};function as(){return ns||(ns=1,function(e){var t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",n="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+i+"|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+r+"])",o="(?:"+i+"|["+t+r+n+"])*";e.identifier=new RegExp(a+o,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+i+"|["+t+r+n+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
12
+ |`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(is)),is}var ss,os,Gn={},Jt={};function Wn(){if(ss)return Jt;function e(n,i){this.raw_options=t(n,i),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}function t(n,i){var a,o={};for(a in n=r(n))a!==i&&(o[a]=n[a]);if(i&&n[i])for(a in n[i])o[a]=n[i][a];return o}function r(n){var i,a={};for(i in n)a[i.replace(/-/g,"_")]=n[i];return a}return ss=1,e.prototype._get_array=function(n,i){var a=this.raw_options[n],o=i||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(n,i){var a=this.raw_options[n];return a===void 0?!!i:!!a},e.prototype._get_characters=function(n,i){var a=this.raw_options[n],o=i||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
13
13
  `).replace(/\\t/," ")),o},e.prototype._get_number=function(n,i){var a=this.raw_options[n];i=parseInt(i,10),isNaN(i)&&(i=0);var o=parseInt(a,10);return isNaN(o)&&(o=i),o},e.prototype._get_selection=function(n,i,a){var o=this._get_selection_list(n,i,a);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
14
14
  `+i+`
15
15
  You passed in: '`+this.raw_options[n]+"'");return o[0]},e.prototype._get_selection_list=function(n,i,a){if(!i||i.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[i[0]],!this._is_valid_selection(a,i))throw new Error("Invalid Default Value!");var o=this._get_array(n,a);if(!this._is_valid_selection(o,i))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
16
16
  `+i+`
17
- You passed in: '`+this.raw_options[n]+"'");return o},e.prototype._is_valid_selection=function(n,i){return n.length&&i.length&&!n.some(function(a){return i.indexOf(a)===-1})},Jt.Options=e,Jt.normalizeOpts=r,Jt.mergeOpts=t,Jt}function us(){if(ls)return Gn;ls=1;var e=Wn().Options,t=["before-newline","after-newline","preserve-newline"];function r(n){e.call(this,n,"js");var i=this.raw_options.brace_style||null;i==="expand-strict"?this.raw_options.brace_style="expand":i==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var a=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var o=0;o<a.length;o++)a[o]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=a[o];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new e,Gn.Options=r,Gn}var cs,Ot={},Kn={};function Xn(){if(cs)return Kn;cs=1;var e=RegExp.prototype.hasOwnProperty("sticky");function t(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},t.prototype.peek=function(r){var n=null;return r=r||0,(r+=this.__position)>=0&&r<this.__input_length&&(n=this.__input.charAt(r)),n},t.prototype.__match=function(r,n){r.lastIndex=n;var i=r.exec(this.__input);return!i||e&&r.sticky||i.index!==n&&(i=null),i},t.prototype.test=function(r,n){return n=n||0,(n+=this.__position)>=0&&n<this.__input_length&&!!this.__match(r,n)},t.prototype.testChar=function(r,n){var i=this.peek(n);return r.lastIndex=0,i!==null&&r.test(i)},t.prototype.match=function(r){var n=this.__match(r,this.__position);return n?this.__position+=n[0].length:n=null,n},t.prototype.read=function(r,n,i){var a,o="";return r&&(a=this.match(r))&&(o+=a[0]),!n||!a&&r||(o+=this.readUntil(n,i)),o},t.prototype.readUntil=function(r,n){var i,a=this.__position;r.lastIndex=this.__position;var o=r.exec(this.__input);return o?(a=o.index,n&&(a+=o[0].length)):a=this.__input_length,i=this.__input.substring(this.__position,a),this.__position=a,i},t.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},t.prototype.get_regexp=function(r,n){var i=null,a="g";return n&&e&&(a="y"),typeof r=="string"&&r!==""?i=new RegExp(r,a):r&&(i=new RegExp(r.source,a)),i},t.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(r){var n=this.__position,i=this.readUntilAfter(r);return this.__position=n,i},t.prototype.lookBack=function(r){var n=this.__position-1;return n>=r.length&&this.__input.substring(n-r.length,n).toLowerCase()===r},Kn.InputScanner=t,Kn}var ds,gr={},Jn={},ps,hs,_s,Yn={},Qn={};function mr(){if(ps)return Qn;function e(t,r){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,r&&(this._starting_pattern=this._input.get_regexp(r._starting_pattern,!0),this._match_pattern=this._input.get_regexp(r._match_pattern,!0),this._until_pattern=this._input.get_regexp(r._until_pattern),this._until_after=r._until_after)}return ps=1,e.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(t){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.until=function(t){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.starting_with=function(t){var r=this._create();return r._starting_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype.matching=function(t){var r=this._create();return r._match_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},Qn.Pattern=e,Qn}function br(){if(_s)return gr;_s=1;var e=Xn().InputScanner,t=ns().Token,r=function(){if(ds)return Jn;function o(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}return ds=1,o.prototype.restart=function(){this.__position=0},o.prototype.isEmpty=function(){return this.__tokens_length===0},o.prototype.hasNext=function(){return this.__position<this.__tokens_length},o.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},o.prototype.peek=function(s){var l=null;return s=s||0,(s+=this.__position)>=0&&s<this.__tokens_length&&(l=this.__tokens[s]),l},o.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},Jn.TokenStream=o,Jn}().TokenStream,n=function(){if(hs)return Yn;hs=1;var o=mr().Pattern;function s(l,c){o.call(this,l,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return s.prototype=new o,s.prototype.__set_whitespace_patterns=function(l,c){l+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+l+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},s.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var l=this._input.read(this._match_pattern);if(l===" ")this.whitespace_before_token=" ";else if(l){var c=this.__split(this._newline_regexp,l);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return l},s.prototype.matching=function(l,c){var y=this._create();return y.__set_whitespace_patterns(l,c),y._update(),y},s.prototype._create=function(){return new s(this._input,this)},s.prototype.__split=function(l,c){l.lastIndex=0;for(var y=0,v=[],k=l.exec(c);k;)v.push(c.substring(y,k.index)),y=k.index+k[0].length,k=l.exec(c);return y<c.length?v.push(c.substring(y,c.length)):v.push(""),v},Yn.WhitespacePattern=s,Yn}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(o,s){this._input=new e(o),this._options=s||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};return a.prototype.tokenize=function(){var o;this._input.restart(),this.__tokens=new r,this._reset();for(var s=new t(i.START,""),l=null,c=[],y=new r;s.type!==i.EOF;){for(o=this._get_next_token(s,l);this._is_comment(o);)y.add(o),o=this._get_next_token(s,l);y.isEmpty()||(o.comments_before=y,y=new r),o.parent=l,this._is_opening(o)?(c.push(l),l=o):l&&this._is_closing(o,l)&&(o.opened=l,l.closed=o,l=c.pop(),o.parent=l),o.previous=s,s.next=o,this.__tokens.add(o),s=o}return this.__tokens},a.prototype._is_first_token=function(){return this.__tokens.isEmpty()},a.prototype._reset=function(){},a.prototype._get_next_token=function(o,s){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(i.RAW,l):this._create_token(i.EOF,"")},a.prototype._is_comment=function(o){return!1},a.prototype._is_opening=function(o){return!1},a.prototype._is_closing=function(o,s){return!1},a.prototype._create_token=function(o,s){return new t(o,s,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},gr.Tokenizer=a,gr.TOKEN=i,gr}var fs,Zn={};function ei(){if(fs)return Zn;function e(t,r){t=typeof t=="string"?t:t.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+r,"g")}return fs=1,e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)r[n[1]]=n[2],n=this.__directive_pattern.exec(t);return r},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},Zn.Directives=e,Zn}var gs,ms,bs,ys,ti={};function vs(){if(gs)return ti;gs=1;var e=mr().Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(n,i){e.call(this,n,i),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),i&&(this.__template_pattern=this._input.get_regexp(i.__template_pattern),this._excluded=Object.assign(this._excluded,i._excluded),this._disabled=Object.assign(this._disabled,i._disabled));var a=new e(n);this.__patterns={handlebars_comment:a.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:a.starting_with(/{{{/).until_after(/}}}/),handlebars:a.starting_with(/{{/).until_after(/}}/),php:a.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:a.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:a.starting_with(/{%/).until_after(/%}/),django_value:a.starting_with(/{{/).until_after(/}}/),django_comment:a.starting_with(/{#/).until_after(/#}/),smarty:a.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:a.starting_with(/{\*/).until_after(/\*}/),smarty_literal:a.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new e,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(n){var i=this._create();return i._disabled[n]=!0,i._update(),i},r.prototype.read_options=function(n){var i=this._create();for(var a in t)i._disabled[a]=n.templating.indexOf(a)===-1;return i._update(),i},r.prototype.exclude=function(n){var i=this._create();return i._excluded[n]=!0,i._update(),i},r.prototype.read=function(){var n="";n=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var i=this._read_template();i;)this._match_pattern?i+=this._input.read(this._match_pattern):i+=this._input.readUntil(this.__template_pattern),n+=i,i=this._read_template();return this._until_after&&(n+=this._input.readUntilAfter(this._until_pattern)),n},r.prototype.__set_templated_pattern=function(){var n=[];this._disabled.php||n.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||n.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||n.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(n.push(this.__patterns.django._starting_pattern.source),n.push(this.__patterns.django_value._starting_pattern.source),n.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||n.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&n.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+n.join("|")+")")},r.prototype._read_template=function(){var n="",i=this._input.peek();if(i==="<"){var a=this._input.peek(1);this._disabled.php||this._excluded.php||a!=="?"||(n=n||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||a!=="%"||(n=n||this.__patterns.erb.read())}else i==="{"&&(this._disabled.handlebars||this._excluded.handlebars||(n=(n=(n=n||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(n=n||this.__patterns.django_value.read()),this._excluded.django||(n=(n=n||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(n=(n=(n=n||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return n},ti.TemplatablePattern=r,ti}function yr(){if(ms)return Ot;ms=1;var e=Xn().InputScanner,t=br().Tokenizer,r=br().TOKEN,n=ei().Directives,i=ss(),a=mr().Pattern,o=vs().TemplatablePattern;function s(g,_){return _.indexOf(g)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new n(/\/\*/,/\*\//),y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,v=/[0-9]/,k=/[^\d\.]/,w=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),x=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";x=(x="\\?\\.(?!\\d) "+(x=x.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var b,u=new RegExp(x),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),E=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),S=new RegExp("^(?:"+E.join("|")+")$"),d=function(g,_){t.call(this,g,_),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var h=new a(this._input),p=new o(this._input).read_options(this._options);this.__patterns={template:p,identifier:p.starting_with(i.identifier).matching(i.identifierMatch),number:h.matching(y),punct:h.matching(u),comment:h.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:h.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:h.matching(/<!--/),html_comment_end:h.matching(/-->/),include:h.starting_with(/#include/).until_after(i.lineBreak),shebang:h.starting_with(/#!/).until_after(i.lineBreak),xml:h.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:p.until(/['\\\n\r\u2028\u2029]/),double_quote:p.until(/["\\\n\r\u2028\u2029]/),template_text:p.until(/[`\\$]/),template_expression:p.until(/[`}\\]/)}};return(d.prototype=new t)._is_comment=function(g){return g.type===l.COMMENT||g.type===l.BLOCK_COMMENT||g.type===l.UNKNOWN},d.prototype._is_opening=function(g){return g.type===l.START_BLOCK||g.type===l.START_EXPR},d.prototype._is_closing=function(g,_){return(g.type===l.END_BLOCK||g.type===l.END_EXPR)&&_&&(g.text==="]"&&_.text==="["||g.text===")"&&_.text==="("||g.text==="}"&&_.text==="{")},d.prototype._reset=function(){b=!1},d.prototype._get_next_token=function(g,_){var h=null;this._readWhitespace();var p=this._input.peek();return p===null?this._create_token(l.EOF,""):h=(h=(h=(h=(h=(h=(h=(h=(h=(h=h||this._read_non_javascript(p))||this._read_string(p))||this._read_pair(p,this._input.peek(1)))||this._read_word(g))||this._read_singles(p))||this._read_comment(p))||this._read_regexp(p,g))||this._read_xml(p,g))||this._read_punctuation())||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_word=function(g){var _;return(_=this.__patterns.identifier.read())!==""?(_=_.replace(i.allLineBreaks,`
17
+ You passed in: '`+this.raw_options[n]+"'");return o},e.prototype._is_valid_selection=function(n,i){return n.length&&i.length&&!n.some(function(a){return i.indexOf(a)===-1})},Jt.Options=e,Jt.normalizeOpts=r,Jt.mergeOpts=t,Jt}function ls(){if(os)return Gn;os=1;var e=Wn().Options,t=["before-newline","after-newline","preserve-newline"];function r(n){e.call(this,n,"js");var i=this.raw_options.brace_style||null;i==="expand-strict"?this.raw_options.brace_style="expand":i==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var a=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var o=0;o<a.length;o++)a[o]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=a[o];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new e,Gn.Options=r,Gn}var us,Ot={},Kn={};function Xn(){if(us)return Kn;us=1;var e=RegExp.prototype.hasOwnProperty("sticky");function t(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},t.prototype.peek=function(r){var n=null;return r=r||0,(r+=this.__position)>=0&&r<this.__input_length&&(n=this.__input.charAt(r)),n},t.prototype.__match=function(r,n){r.lastIndex=n;var i=r.exec(this.__input);return!i||e&&r.sticky||i.index!==n&&(i=null),i},t.prototype.test=function(r,n){return n=n||0,(n+=this.__position)>=0&&n<this.__input_length&&!!this.__match(r,n)},t.prototype.testChar=function(r,n){var i=this.peek(n);return r.lastIndex=0,i!==null&&r.test(i)},t.prototype.match=function(r){var n=this.__match(r,this.__position);return n?this.__position+=n[0].length:n=null,n},t.prototype.read=function(r,n,i){var a,o="";return r&&(a=this.match(r))&&(o+=a[0]),!n||!a&&r||(o+=this.readUntil(n,i)),o},t.prototype.readUntil=function(r,n){var i,a=this.__position;r.lastIndex=this.__position;var o=r.exec(this.__input);return o?(a=o.index,n&&(a+=o[0].length)):a=this.__input_length,i=this.__input.substring(this.__position,a),this.__position=a,i},t.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},t.prototype.get_regexp=function(r,n){var i=null,a="g";return n&&e&&(a="y"),typeof r=="string"&&r!==""?i=new RegExp(r,a):r&&(i=new RegExp(r.source,a)),i},t.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(r){var n=this.__position,i=this.readUntilAfter(r);return this.__position=n,i},t.prototype.lookBack=function(r){var n=this.__position-1;return n>=r.length&&this.__input.substring(n-r.length,n).toLowerCase()===r},Kn.InputScanner=t,Kn}var cs,gr={},Jn={},ds,ps,hs,Yn={},Qn={};function mr(){if(ds)return Qn;function e(t,r){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,r&&(this._starting_pattern=this._input.get_regexp(r._starting_pattern,!0),this._match_pattern=this._input.get_regexp(r._match_pattern,!0),this._until_pattern=this._input.get_regexp(r._until_pattern),this._until_after=r._until_after)}return ds=1,e.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(t){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.until=function(t){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.starting_with=function(t){var r=this._create();return r._starting_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype.matching=function(t){var r=this._create();return r._match_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},Qn.Pattern=e,Qn}function br(){if(hs)return gr;hs=1;var e=Xn().InputScanner,t=rs().Token,r=function(){if(cs)return Jn;function o(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}return cs=1,o.prototype.restart=function(){this.__position=0},o.prototype.isEmpty=function(){return this.__tokens_length===0},o.prototype.hasNext=function(){return this.__position<this.__tokens_length},o.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},o.prototype.peek=function(s){var l=null;return s=s||0,(s+=this.__position)>=0&&s<this.__tokens_length&&(l=this.__tokens[s]),l},o.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},Jn.TokenStream=o,Jn}().TokenStream,n=function(){if(ps)return Yn;ps=1;var o=mr().Pattern;function s(l,c){o.call(this,l,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return s.prototype=new o,s.prototype.__set_whitespace_patterns=function(l,c){l+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+l+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},s.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var l=this._input.read(this._match_pattern);if(l===" ")this.whitespace_before_token=" ";else if(l){var c=this.__split(this._newline_regexp,l);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return l},s.prototype.matching=function(l,c){var y=this._create();return y.__set_whitespace_patterns(l,c),y._update(),y},s.prototype._create=function(){return new s(this._input,this)},s.prototype.__split=function(l,c){l.lastIndex=0;for(var y=0,v=[],k=l.exec(c);k;)v.push(c.substring(y,k.index)),y=k.index+k[0].length,k=l.exec(c);return y<c.length?v.push(c.substring(y,c.length)):v.push(""),v},Yn.WhitespacePattern=s,Yn}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(o,s){this._input=new e(o),this._options=s||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};return a.prototype.tokenize=function(){var o;this._input.restart(),this.__tokens=new r,this._reset();for(var s=new t(i.START,""),l=null,c=[],y=new r;s.type!==i.EOF;){for(o=this._get_next_token(s,l);this._is_comment(o);)y.add(o),o=this._get_next_token(s,l);y.isEmpty()||(o.comments_before=y,y=new r),o.parent=l,this._is_opening(o)?(c.push(l),l=o):l&&this._is_closing(o,l)&&(o.opened=l,l.closed=o,l=c.pop(),o.parent=l),o.previous=s,s.next=o,this.__tokens.add(o),s=o}return this.__tokens},a.prototype._is_first_token=function(){return this.__tokens.isEmpty()},a.prototype._reset=function(){},a.prototype._get_next_token=function(o,s){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(i.RAW,l):this._create_token(i.EOF,"")},a.prototype._is_comment=function(o){return!1},a.prototype._is_opening=function(o){return!1},a.prototype._is_closing=function(o,s){return!1},a.prototype._create_token=function(o,s){return new t(o,s,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},gr.Tokenizer=a,gr.TOKEN=i,gr}var _s,Zn={};function ei(){if(_s)return Zn;function e(t,r){t=typeof t=="string"?t:t.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+r,"g")}return _s=1,e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)r[n[1]]=n[2],n=this.__directive_pattern.exec(t);return r},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},Zn.Directives=e,Zn}var fs,gs,ms,bs,ti={};function ys(){if(fs)return ti;fs=1;var e=mr().Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(n,i){e.call(this,n,i),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),i&&(this.__template_pattern=this._input.get_regexp(i.__template_pattern),this._excluded=Object.assign(this._excluded,i._excluded),this._disabled=Object.assign(this._disabled,i._disabled));var a=new e(n);this.__patterns={handlebars_comment:a.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:a.starting_with(/{{{/).until_after(/}}}/),handlebars:a.starting_with(/{{/).until_after(/}}/),php:a.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:a.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:a.starting_with(/{%/).until_after(/%}/),django_value:a.starting_with(/{{/).until_after(/}}/),django_comment:a.starting_with(/{#/).until_after(/#}/),smarty:a.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:a.starting_with(/{\*/).until_after(/\*}/),smarty_literal:a.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new e,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(n){var i=this._create();return i._disabled[n]=!0,i._update(),i},r.prototype.read_options=function(n){var i=this._create();for(var a in t)i._disabled[a]=n.templating.indexOf(a)===-1;return i._update(),i},r.prototype.exclude=function(n){var i=this._create();return i._excluded[n]=!0,i._update(),i},r.prototype.read=function(){var n="";n=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var i=this._read_template();i;)this._match_pattern?i+=this._input.read(this._match_pattern):i+=this._input.readUntil(this.__template_pattern),n+=i,i=this._read_template();return this._until_after&&(n+=this._input.readUntilAfter(this._until_pattern)),n},r.prototype.__set_templated_pattern=function(){var n=[];this._disabled.php||n.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||n.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||n.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(n.push(this.__patterns.django._starting_pattern.source),n.push(this.__patterns.django_value._starting_pattern.source),n.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||n.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&n.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+n.join("|")+")")},r.prototype._read_template=function(){var n="",i=this._input.peek();if(i==="<"){var a=this._input.peek(1);this._disabled.php||this._excluded.php||a!=="?"||(n=n||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||a!=="%"||(n=n||this.__patterns.erb.read())}else i==="{"&&(this._disabled.handlebars||this._excluded.handlebars||(n=(n=(n=n||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(n=n||this.__patterns.django_value.read()),this._excluded.django||(n=(n=n||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(n=(n=(n=n||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return n},ti.TemplatablePattern=r,ti}function yr(){if(gs)return Ot;gs=1;var e=Xn().InputScanner,t=br().Tokenizer,r=br().TOKEN,n=ei().Directives,i=as(),a=mr().Pattern,o=ys().TemplatablePattern;function s(g,_){return _.indexOf(g)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new n(/\/\*/,/\*\//),y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,v=/[0-9]/,k=/[^\d\.]/,w=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),x=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";x=(x="\\?\\.(?!\\d) "+(x=x.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var b,u=new RegExp(x),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),E=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),S=new RegExp("^(?:"+E.join("|")+")$"),d=function(g,_){t.call(this,g,_),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var h=new a(this._input),p=new o(this._input).read_options(this._options);this.__patterns={template:p,identifier:p.starting_with(i.identifier).matching(i.identifierMatch),number:h.matching(y),punct:h.matching(u),comment:h.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:h.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:h.matching(/<!--/),html_comment_end:h.matching(/-->/),include:h.starting_with(/#include/).until_after(i.lineBreak),shebang:h.starting_with(/#!/).until_after(i.lineBreak),xml:h.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:p.until(/['\\\n\r\u2028\u2029]/),double_quote:p.until(/["\\\n\r\u2028\u2029]/),template_text:p.until(/[`\\$]/),template_expression:p.until(/[`}\\]/)}};return(d.prototype=new t)._is_comment=function(g){return g.type===l.COMMENT||g.type===l.BLOCK_COMMENT||g.type===l.UNKNOWN},d.prototype._is_opening=function(g){return g.type===l.START_BLOCK||g.type===l.START_EXPR},d.prototype._is_closing=function(g,_){return(g.type===l.END_BLOCK||g.type===l.END_EXPR)&&_&&(g.text==="]"&&_.text==="["||g.text===")"&&_.text==="("||g.text==="}"&&_.text==="{")},d.prototype._reset=function(){b=!1},d.prototype._get_next_token=function(g,_){var h=null;this._readWhitespace();var p=this._input.peek();return p===null?this._create_token(l.EOF,""):h=(h=(h=(h=(h=(h=(h=(h=(h=(h=h||this._read_non_javascript(p))||this._read_string(p))||this._read_pair(p,this._input.peek(1)))||this._read_word(g))||this._read_singles(p))||this._read_comment(p))||this._read_regexp(p,g))||this._read_xml(p,g))||this._read_punctuation())||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_word=function(g){var _;return(_=this.__patterns.identifier.read())!==""?(_=_.replace(i.allLineBreaks,`
18
18
  `),g.type!==l.DOT&&(g.type!==l.RESERVED||g.text!=="set"&&g.text!=="get")&&S.test(_)?_!=="in"&&_!=="of"||g.type!==l.WORD&&g.type!==l.STRING?this._create_token(l.RESERVED,_):this._create_token(l.OPERATOR,_):this._create_token(l.WORD,_)):(_=this.__patterns.number.read())!==""?this._create_token(l.WORD,_):void 0},d.prototype._read_singles=function(g){var _=null;return g==="("||g==="["?_=this._create_token(l.START_EXPR,g):g===")"||g==="]"?_=this._create_token(l.END_EXPR,g):g==="{"?_=this._create_token(l.START_BLOCK,g):g==="}"?_=this._create_token(l.END_BLOCK,g):g===";"?_=this._create_token(l.SEMICOLON,g):g==="."&&k.test(this._input.peek(1))?_=this._create_token(l.DOT,g):g===","&&(_=this._create_token(l.COMMA,g)),_&&this._input.next(),_},d.prototype._read_pair=function(g,_){var h=null;return g==="#"&&_==="{"&&(h=this._create_token(l.START_BLOCK,g+_)),h&&(this._input.next(),this._input.next()),h},d.prototype._read_punctuation=function(){var g=this.__patterns.punct.read();if(g!=="")return g==="="?this._create_token(l.EQUALS,g):g==="?."?this._create_token(l.DOT,g):this._create_token(l.OPERATOR,g)},d.prototype._read_non_javascript=function(g){var _="";if(g==="#"){if(this._is_first_token()&&(_=this.__patterns.shebang.read()))return this._create_token(l.UNKNOWN,_.trim()+`
19
19
  `);if(_=this.__patterns.include.read())return this._create_token(l.UNKNOWN,_.trim()+`
20
20
  `);g=this._input.next();var h="#";if(this._input.hasNext()&&this._input.testChar(v)){do h+=g=this._input.next();while(this._input.hasNext()&&g!=="#"&&g!=="=");return g==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(h+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(h+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,h)}this._input.back()}else if(g==="<"&&this._is_first_token()){if(_=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(i.newline);)_+=this._input.next();return b=!0,this._create_token(l.COMMENT,_)}}else if(b&&g==="-"&&(_=this.__patterns.html_comment_end.read()))return b=!1,this._create_token(l.COMMENT,_);return null},d.prototype._read_comment=function(g){var _=null;if(g==="/"){var h="";if(this._input.peek(1)==="*"){h=this.__patterns.block_comment.read();var p=c.get_directives(h);p&&p.ignore==="start"&&(h+=c.readIgnored(this._input)),h=h.replace(i.allLineBreaks,`
21
21
  `),(_=this._create_token(l.BLOCK_COMMENT,h)).directives=p}else this._input.peek(1)==="/"&&(h=this.__patterns.comment.read(),_=this._create_token(l.COMMENT,h))}return _},d.prototype._read_string=function(g){if(g==="`"||g==="'"||g==='"'){var _=this._input.next();return this.has_char_escapes=!1,_+=g==="`"?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(g),this.has_char_escapes&&this._options.unescape_strings&&(_=function(h){for(var p="",T=0,f=new e(h),R=null;f.hasNext();)if((R=f.match(/([\s]|[^\\]|\\\\)+/g))&&(p+=R[0]),f.peek()==="\\"){if(f.next(),f.peek()==="x")R=f.match(/x([0-9A-Fa-f]{2})/g);else{if(f.peek()!=="u"){p+="\\",f.hasNext()&&(p+=f.next());continue}(R=f.match(/u([0-9A-Fa-f]{4})/g))||(R=f.match(/u\{([0-9A-Fa-f]+)\}/g))}if(!R||(T=parseInt(R[1],16))>126&&T<=255&&R[0].indexOf("x")===0)return h;p+=T>=0&&T<32||T>1114111?"\\"+R[0]:T===34||T===39||T===92?"\\"+String.fromCharCode(T):String.fromCharCode(T)}return p}(_)),this._input.peek()===g&&(_+=this._input.next()),_=_.replace(i.allLineBreaks,`
22
22
  `),this._create_token(l.STRING,_)}return null},d.prototype._allow_regexp_or_xml=function(g){return g.type===l.RESERVED&&s(g.text,["return","case","throw","else","do","typeof","yield"])||g.type===l.END_EXPR&&g.text===")"&&g.opened.previous.type===l.RESERVED&&s(g.opened.previous.text,["if","while","for"])||s(g.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},d.prototype._read_regexp=function(g,_){if(g==="/"&&this._allow_regexp_or_xml(_)){for(var h=this._input.next(),p=!1,T=!1;this._input.hasNext()&&(p||T||this._input.peek()!==g)&&!this._input.testChar(i.newline);)h+=this._input.peek(),p?p=!1:(p=this._input.peek()==="\\",this._input.peek()==="["?T=!0:this._input.peek()==="]"&&(T=!1)),this._input.next();return this._input.peek()===g&&(h+=this._input.next(),h+=this._input.read(i.identifier)),this._create_token(l.STRING,h)}return null},d.prototype._read_xml=function(g,_){if(this._options.e4x&&g==="<"&&this._allow_regexp_or_xml(_)){var h="",p=this.__patterns.xml.read_match();if(p){for(var T=p[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),f=T.indexOf("{")===0,R=0;p;){var C=!!p[1],I=p[2];if(!(p[p.length-1]||I.slice(0,8)==="![CDATA[")&&(I===T||f&&I.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(C?--R:++R),h+=p[0],R<=0)break;p=this.__patterns.xml.read_match()}return p||(h+=this._input.match(/[\s\S]*/g)[0]),h=h.replace(i.allLineBreaks,`
23
23
  `),this._create_token(l.STRING,h)}}return null},d.prototype._read_string_recursive=function(g,_,h){var p,T;g==="'"?T=this.__patterns.single_quote:g==='"'?T=this.__patterns.double_quote:g==="`"?T=this.__patterns.template_text:g==="}"&&(T=this.__patterns.template_expression);for(var f=T.read(),R="";this._input.hasNext();){if((R=this._input.next())===g||!_&&i.newline.test(R)){this._input.back();break}R==="\\"&&this._input.hasNext()?((p=this._input.peek())==="x"||p==="u"?this.has_char_escapes=!0:p==="\r"&&this._input.peek(1)===`
24
- `&&this._input.next(),R+=this._input.next()):h&&(h==="${"&&R==="$"&&this._input.peek()==="{"&&(R+=this._input.next()),h===R&&(R+=g==="`"?this._read_string_recursive("}",_,"`"):this._read_string_recursive("`",_,"${"),this._input.hasNext()&&(R+=this._input.next()))),f+=R+=T.read()}return f},Ot.Tokenizer=d,Ot.TOKEN=l,Ot.positionable_operators=w.slice(),Ot.line_starters=m.slice(),Ot}function Bu(){if(bs)return zn;bs=1;var e=Vn().Output,t=ns().Token,r=ss(),n=us().Options,i=yr().Tokenizer,a=yr().line_starters,o=yr().positionable_operators,s=yr().TOKEN;function l(f,R){return R.indexOf(f)!==-1}function c(f,R){return f&&f.type===s.RESERVED&&f.text===R}function y(f,R){return f&&f.type===s.RESERVED&&l(f.text,R)}var v=["case","return","do","if","throw","else","await","break","continue","async"],k=function(f){for(var R={},C=0;C<f.length;C++)R[f[C].replace(/-/g,"_")]=f[C];return R}(["before-newline","after-newline","preserve-newline"]),w=[k.before_newline,k.preserve_newline],x="BlockStatement",b="Statement",u="ObjectLiteral",m="ArrayLiteral",E="ForInitializer",S="Conditional",d="Expression";function g(f,R){R.multiline_frame||R.mode===E||R.mode===S||f.remove_indent(R.start_line_index)}function _(f){return f===m}function h(f){return l(f,[d,E,S])}function p(f,R){R=R||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new n(R)}p.prototype.create_flags=function(f,R){var C=0;return f&&(C=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>C&&(C=f.line_indent_level)),{mode:R,parent:f,last_token:f?f.last_token:new t(s.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:C,alignment:0,line_indent_level:f?f.line_indent_level:C,start_line_index:this._output.get_line_number(),ternary_depth:0}},p.prototype._reset=function(f){var R=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(x);var C=new i(f,this._options);return this._tokens=C.tokenize(),f},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._reset(this._source_text),R=this._options.eol;this._options.eol==="auto"&&(R=`
24
+ `&&this._input.next(),R+=this._input.next()):h&&(h==="${"&&R==="$"&&this._input.peek()==="{"&&(R+=this._input.next()),h===R&&(R+=g==="`"?this._read_string_recursive("}",_,"`"):this._read_string_recursive("`",_,"${"),this._input.hasNext()&&(R+=this._input.next()))),f+=R+=T.read()}return f},Ot.Tokenizer=d,Ot.TOKEN=l,Ot.positionable_operators=w.slice(),Ot.line_starters=m.slice(),Ot}function Bu(){if(ms)return zn;ms=1;var e=Vn().Output,t=rs().Token,r=as(),n=ls().Options,i=yr().Tokenizer,a=yr().line_starters,o=yr().positionable_operators,s=yr().TOKEN;function l(f,R){return R.indexOf(f)!==-1}function c(f,R){return f&&f.type===s.RESERVED&&f.text===R}function y(f,R){return f&&f.type===s.RESERVED&&l(f.text,R)}var v=["case","return","do","if","throw","else","await","break","continue","async"],k=function(f){for(var R={},C=0;C<f.length;C++)R[f[C].replace(/-/g,"_")]=f[C];return R}(["before-newline","after-newline","preserve-newline"]),w=[k.before_newline,k.preserve_newline],x="BlockStatement",b="Statement",u="ObjectLiteral",m="ArrayLiteral",E="ForInitializer",S="Conditional",d="Expression";function g(f,R){R.multiline_frame||R.mode===E||R.mode===S||f.remove_indent(R.start_line_index)}function _(f){return f===m}function h(f){return l(f,[d,E,S])}function p(f,R){R=R||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new n(R)}p.prototype.create_flags=function(f,R){var C=0;return f&&(C=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>C&&(C=f.line_indent_level)),{mode:R,parent:f,last_token:f?f.last_token:new t(s.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:C,alignment:0,line_indent_level:f?f.line_indent_level:C,start_line_index:this._output.get_line_number(),ternary_depth:0}},p.prototype._reset=function(f){var R=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(x);var C=new i(f,this._options);return this._tokens=C.tokenize(),f},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._reset(this._source_text),R=this._options.eol;this._options.eol==="auto"&&(R=`
25
25
  `,f&&r.lineBreak.test(f||"")&&(R=f.match(r.lineBreak)[0]));for(var C=this._tokens.next();C;)this.handle_token(C),this._last_last_text=this._flags.last_token.text,this._flags.last_token=C,C=this._tokens.next();return this._output.get_code(R)},p.prototype.handle_token=function(f,R){f.type===s.START_EXPR?this.handle_start_expr(f):f.type===s.END_EXPR?this.handle_end_expr(f):f.type===s.START_BLOCK?this.handle_start_block(f):f.type===s.END_BLOCK?this.handle_end_block(f):f.type===s.WORD||f.type===s.RESERVED?this.handle_word(f):f.type===s.SEMICOLON?this.handle_semicolon(f):f.type===s.STRING?this.handle_string(f):f.type===s.EQUALS?this.handle_equals(f):f.type===s.OPERATOR?this.handle_operator(f):f.type===s.COMMA?this.handle_comma(f):f.type===s.BLOCK_COMMENT?this.handle_block_comment(f,R):f.type===s.COMMENT?this.handle_comment(f,R):f.type===s.DOT?this.handle_dot(f):f.type===s.EOF?this.handle_eof(f):(f.type,s.UNKNOWN,this.handle_unknown(f,R))},p.prototype.handle_whitespace_and_comments=function(f,R){var C=f.newlines,I=this._options.keep_array_indentation&&_(this._flags.mode);if(f.comments_before)for(var D=f.comments_before.next();D;)this.handle_whitespace_and_comments(D,R),this.handle_token(D,R),D=f.comments_before.next();if(I)for(var P=0;P<C;P+=1)this.print_newline(P>0,R);else if(this._options.max_preserve_newlines&&C>this._options.max_preserve_newlines&&(C=this._options.max_preserve_newlines),this._options.preserve_newlines&&C>1){this.print_newline(!1,R);for(var F=1;F<C;F+=1)this.print_newline(!0,R)}};var T=["async","break","continue","return","throw","yield"];return p.prototype.allow_wrap_or_preserved_newline=function(f,R){if(R=R!==void 0&&R,!this._output.just_added_newline()){var C=this._options.preserve_newlines&&f.newlines||R;if(l(this._flags.last_token.text,o)||l(f.text,o)){var I=l(this._flags.last_token.text,o)&&l(this._options.operator_position,w)||l(f.text,o);C=C&&I}if(C)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(y(this._flags.last_token,T))return;this._output.set_wrap_point()}}},p.prototype.print_newline=function(f,R){if(!R&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==s.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var C=this._tokens.peek();!(this._flags.mode!==b||this._flags.if_block&&c(C,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(f)&&(this._flags.multiline_frame=!0)},p.prototype.print_token_line_indentation=function(f){this._output.just_added_newline()&&(this._options.keep_array_indentation&&f.newlines&&(f.text==="["||_(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(f.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},p.prototype.print_token=function(f){if(this._output.raw)this._output.add_raw_token(f);else{if(this._options.comma_first&&f.previous&&f.previous.type===s.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var R=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(R),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(f),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(f),this._output.non_breaking_space=!0,this._output.add_token(f.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},p.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},p.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},p.prototype.set_mode=function(f){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,f),this._flags=this.create_flags(this._previous_flags,f),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},p.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===b&&g(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},p.prototype.start_of_object_property=function(){return this._flags.parent.mode===u&&this._flags.mode===b&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||y(this._flags.last_token,["get","set"]))},p.prototype.start_of_statement=function(f){var R=!1;return!!(R=(R=(R=(R=(R=(R=(R=R||y(this._flags.last_token,["var","let","const"])&&f.type===s.WORD)||c(this._flags.last_token,"do"))||!(this._flags.parent.mode===u&&this._flags.mode===b)&&y(this._flags.last_token,T)&&!f.newlines)||c(this._flags.last_token,"else")&&!(c(f,"if")&&!f.comments_before))||this._flags.last_token.type===s.END_EXPR&&(this._previous_flags.mode===E||this._previous_flags.mode===S))||this._flags.last_token.type===s.WORD&&this._flags.mode===x&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==s.WORD&&f.type!==s.RESERVED)||this._flags.mode===u&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||y(this._flags.last_token,["get","set"])))&&(this.set_mode(b),this.indent(),this.handle_whitespace_and_comments(f,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(f,y(f,["do","for","if","while"])),!0)},p.prototype.handle_start_expr=function(f){this.start_of_statement(f)||this.handle_whitespace_and_comments(f);var R=d;if(f.text==="["){if(this._flags.last_token.type===s.WORD||this._flags.last_token.text===")")return y(this._flags.last_token,a)&&(this._output.space_before_token=!0),this.print_token(f),this.set_mode(R),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));R=m,_(this._flags.mode)&&(this._flags.last_token.text!=="["&&(this._flags.last_token.text!==","||this._last_last_text!=="]"&&this._last_last_text!=="}")||this._options.keep_array_indentation||this.print_newline()),l(this._flags.last_token.type,[s.START_EXPR,s.END_EXPR,s.WORD,s.OPERATOR,s.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===s.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,R=E):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,R=S):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&f.whitespace_before===""?this._output.space_before_token=!1:(l(this._flags.last_token.text,a)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===s.EQUALS||this._flags.last_token.type===s.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(f);else if(this._flags.last_token.type===s.WORD){this._output.space_before_token=!1;var C=this._tokens.peek(-3);if(this._options.space_after_named_function&&C){var I=this._tokens.peek(-4);y(C,["async","function"])||C.text==="*"&&y(I,["async","function"])?this._output.space_before_token=!0:this._flags.mode===u?C.text!=="{"&&C.text!==","&&(C.text!=="*"||I.text!=="{"&&I.text!==",")||(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(f);(this._flags.last_token.type===s.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===u&&l(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===s.START_BLOCK?this.print_newline():this._flags.last_token.type!==s.END_EXPR&&this._flags.last_token.type!==s.START_EXPR&&this._flags.last_token.type!==s.END_BLOCK&&this._flags.last_token.text!=="."&&this._flags.last_token.type!==s.COMMA||this.allow_wrap_or_preserved_newline(f,f.newlines),this.print_token(f),this.set_mode(R),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},p.prototype.handle_end_expr=function(f){for(;this._flags.mode===b;)this.restore_mode();this.handle_whitespace_and_comments(f),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(f,f.text==="]"&&_(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==s.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(f),this.restore_mode(),g(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===S&&(this._previous_flags.mode=d,this._flags.do_block=!1,this._flags.do_while=!1)},p.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var R=this._tokens.peek(),C=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===s.END_EXPR?(this.set_mode(x),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(x):C&&(l(C.text,[":",","])&&l(R.type,[s.STRING,s.WORD,s.RESERVED])||l(R.text,["get","set","..."])&&l(C.type,[s.WORD,s.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(C.text,[":",","])?this.set_mode(x):this.set_mode(u):this._flags.last_token.type===s.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(x):l(this._flags.last_token.type,[s.EQUALS,s.START_EXPR,s.COMMA,s.OPERATOR])||y(this._flags.last_token,["return","throw","import","default"])?this.set_mode(u):this.set_mode(x),this._flags.last_token&&y(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var I=!R.comments_before&&R.text==="}",D=I&&this._flags.last_word==="function"&&this._flags.last_token.type===s.END_EXPR;if(this._options.brace_preserve_inline){var P=0,F=null;this._flags.inline_frame=!0;do if(P+=1,(F=this._tokens.peek(P-1)).newlines){this._flags.inline_frame=!1;break}while(F.type!==s.EOF&&(F.type!==s.END_BLOCK||F.opened!==f))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==s.OPERATOR&&(D||this._flags.last_token.type===s.EQUALS||y(this._flags.last_token,v)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(!_(this._previous_flags.mode)||this._flags.last_token.type!==s.START_EXPR&&this._flags.last_token.type!==s.COMMA||((this._flags.last_token.type===s.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===s.COMMA||this._flags.last_token.type===s.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(f),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==s.OPERATOR&&this._flags.last_token.type!==s.START_EXPR&&(l(this._flags.last_token.type,[s.START_BLOCK,s.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(f),this.indent(),I||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},p.prototype.handle_end_block=function(f){for(this.handle_whitespace_and_comments(f);this._flags.mode===b;)this.restore_mode();var R=this._flags.last_token.type===s.START_BLOCK;this._flags.inline_frame&&!R?this._output.space_before_token=!0:this._options.brace_style==="expand"?R||this.print_newline():R||(_(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(f)},p.prototype.handle_word=function(f){if(f.type===s.RESERVED&&(l(f.text,["set","get"])&&this._flags.mode!==u||f.text==="import"&&l(this._tokens.peek().text,["(","."])||l(f.text,["as","from"])&&!this._flags.import_block||this._flags.mode===u&&this._tokens.peek().text===":")&&(f.type=s.WORD),this.start_of_statement(f)?y(this._flags.last_token,["var","let","const"])&&f.type===s.WORD&&(this._flags.declaration_statement=!0):!f.newlines||h(this._flags.mode)||this._flags.last_token.type===s.OPERATOR&&this._flags.last_token.text!=="--"&&this._flags.last_token.text!=="++"||this._flags.last_token.type===s.EQUALS||!this._options.preserve_newlines&&y(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(f):(this.handle_whitespace_and_comments(f),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(c(f,"while"))return this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&c(f,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===b;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&y(f,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(f),void(this._flags.in_case=!0);if(this._flags.last_token.type!==s.COMMA&&this._flags.last_token.type!==s.START_EXPR&&this._flags.last_token.type!==s.EQUALS&&this._flags.last_token.type!==s.OPERATOR||this.start_of_object_property()||l(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===u||this.allow_wrap_or_preserved_newline(f),c(f,"function"))return(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!l(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==s.OPERATOR)&&(this._output.just_added_blankline()||f.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===s.RESERVED||this._flags.last_token.type===s.WORD?y(this._flags.last_token,["get","set","new","export"])||y(this._flags.last_token,T)||c(this._flags.last_token,"default")&&this._last_last_text==="export"||this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===s.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:(this._flags.multiline_frame||!h(this._flags.mode)&&!_(this._flags.mode))&&this.print_newline(),this.print_token(f),void(this._flags.last_word=f.text);var R="NONE";this._flags.last_token.type===s.END_BLOCK?this._previous_flags.inline_frame?R="SPACE":y(f,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines?R="NEWLINE":(R="SPACE",this._output.space_before_token=!0):R="NEWLINE":this._flags.last_token.type===s.SEMICOLON&&this._flags.mode===x?R="NEWLINE":this._flags.last_token.type===s.SEMICOLON&&h(this._flags.mode)?R="SPACE":this._flags.last_token.type===s.STRING?R="NEWLINE":this._flags.last_token.type===s.RESERVED||this._flags.last_token.type===s.WORD||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===u&&l(this._last_last_text,["{",","]))?R="SPACE":this._flags.last_token.type===s.START_BLOCK?R=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===s.END_EXPR&&(this._output.space_before_token=!0,R="NEWLINE"),y(f,a)&&this._flags.last_token.text!==")"&&(R=this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?"SPACE":"NEWLINE"),y(f,["else","catch","finally"])?(this._flags.last_token.type!==s.END_BLOCK||this._previous_flags.mode!==x||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),this._output.current_line.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0):R==="NEWLINE"?y(this._flags.last_token,v)||this._flags.last_token.text==="declare"&&y(f,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==s.END_EXPR?this._flags.last_token.type===s.START_EXPR&&y(f,["var","let","const"])||this._flags.last_token.text===":"||(c(f,"if")&&c(f.previous,"else")?this._output.space_before_token=!0:this.print_newline()):y(f,a)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&_(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():R==="SPACE"&&(this._output.space_before_token=!0),!f.previous||f.previous.type!==s.WORD&&f.previous.type!==s.RESERVED||(this._output.space_before_token=!0),this.print_token(f),this._flags.last_word=f.text,f.type===s.RESERVED&&(f.text==="do"?this._flags.do_block=!0:f.text==="if"?this._flags.if_block=!0:f.text==="import"?this._flags.import_block=!0:this._flags.import_block&&c(f,"from")&&(this._flags.import_block=!1))},p.prototype.handle_semicolon=function(f){this.start_of_statement(f)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(f);for(var R=this._tokens.peek();!(this._flags.mode!==b||this._flags.if_block&&c(R,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(f)},p.prototype.handle_string=function(f){(!f.text.startsWith("`")||f.newlines!==0||f.whitespace_before!==""||f.previous.text!==")"&&this._flags.last_token.type!==s.WORD)&&(this.start_of_statement(f)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(f),this._flags.last_token.type===s.RESERVED||this._flags.last_token.type===s.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===s.COMMA||this._flags.last_token.type===s.START_EXPR||this._flags.last_token.type===s.EQUALS||this._flags.last_token.type===s.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(f):!f.text.startsWith("`")||this._flags.last_token.type!==s.END_EXPR||f.previous.text!=="]"&&f.previous.text!==")"||f.newlines!==0?this.print_newline():this._output.space_before_token=!0)),this.print_token(f)},p.prototype.handle_equals=function(f){this.start_of_statement(f)||this.handle_whitespace_and_comments(f),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0},p.prototype.handle_comma=function(f){this.handle_whitespace_and_comments(f,!0),this.print_token(f),this._output.space_before_token=!0,this._flags.declaration_statement?(h(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(f)):this._flags.mode===u||this._flags.mode===b&&this._flags.parent.mode===u?(this._flags.mode===b&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(f)},p.prototype.handle_operator=function(f){var R=f.text==="*"&&(y(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[s.START_BLOCK,s.COMMA,s.END_BLOCK,s.SEMICOLON])),C=l(f.text,["-","+"])&&(l(this._flags.last_token.type,[s.START_BLOCK,s.START_EXPR,s.EQUALS,s.OPERATOR])||l(this._flags.last_token.text,a)||this._flags.last_token.text===",");if(!this.start_of_statement(f)){var I=!R;this.handle_whitespace_and_comments(f,I)}if(f.text!=="*"||this._flags.last_token.type!==s.DOT)if(f.text!=="::")if(l(f.text,["-","+"])&&this.start_of_object_property())this.print_token(f);else{if(this._flags.last_token.type===s.OPERATOR&&l(this._options.operator_position,w)&&this.allow_wrap_or_preserved_newline(f),f.text===":"&&this._flags.in_case)return this.print_token(f),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==s.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var D=!0,P=!0,F=!1;if(f.text===":"?this._flags.ternary_depth===0?D=!1:(this._flags.ternary_depth-=1,F=!0):f.text==="?"&&(this._flags.ternary_depth+=1),!C&&!R&&this._options.preserve_newlines&&l(f.text,o)){var H=f.text===":",G=H&&F,M=H&&!F;switch(this._options.operator_position){case k.before_newline:return this._output.space_before_token=!M,this.print_token(f),H&&!G||this.allow_wrap_or_preserved_newline(f),void(this._output.space_before_token=!0);case k.after_newline:return this._output.space_before_token=!0,!H||G?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(f):this._output.space_before_token=!1,this.print_token(f),void(this._output.space_before_token=!0);case k.preserve_newline:return M||this.allow_wrap_or_preserved_newline(f),D=!(this._output.just_added_newline()||M),this._output.space_before_token=D,this.print_token(f),void(this._output.space_before_token=!0)}}if(R){this.allow_wrap_or_preserved_newline(f),D=!1;var j=this._tokens.peek();P=j&&l(j.type,[s.WORD,s.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),D=this._flags.last_token.type===s.START_BLOCK,P=!1;else if(l(f.text,["--","++","!","~"])||C){if(this._flags.last_token.type!==s.COMMA&&this._flags.last_token.type!==s.START_EXPR||this.allow_wrap_or_preserved_newline(f),D=!1,P=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var U=y(this._flags.last_token,v)&&f.newlines;U&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(U,!0)}this._flags.last_token.text===";"&&h(this._flags.mode)&&(D=!0),this._flags.last_token.type===s.RESERVED?D=!0:this._flags.last_token.type===s.END_EXPR?D=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++")):this._flags.last_token.type===s.OPERATOR&&(D=l(f.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(f.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(P=!0)),(this._flags.mode!==x||this._flags.inline_frame)&&this._flags.mode!==b||this._flags.last_token.text!=="{"&&this._flags.last_token.text!==";"||this.print_newline()}this._output.space_before_token=this._output.space_before_token||D,this.print_token(f),this._output.space_before_token=P}else this.print_token(f);else this.print_token(f)},p.prototype.handle_block_comment=function(f,R){return this._output.raw?(this._output.add_raw_token(f),void(f.directives&&f.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw))):f.directives?(this.print_newline(!1,R),this.print_token(f),f.directives.preserve==="start"&&(this._output.raw=!0),void this.print_newline(!1,!0)):r.newline.test(f.text)||f.newlines?void this.print_block_commment(f,R):(this._output.space_before_token=!0,this.print_token(f),void(this._output.space_before_token=!0))},p.prototype.print_block_commment=function(f,R){var C,I=function(G){for(var M=[],j=(G=G.replace(r.allLineBreaks,`
26
26
  `)).indexOf(`
27
27
  `);j!==-1;)M.push(G.substring(0,j)),j=(G=G.substring(j+1)).indexOf(`
28
28
  `);return G.length&&M.push(G),M}(f.text),D=!1,P=!1,F=f.whitespace_before,H=F.length;if(this.print_newline(!1,R),this.print_token_line_indentation(f),this._output.add_token(I[0]),this.print_newline(!1,R),I.length>1){for(D=function(G,M){for(var j=0;j<G.length;j++)if(G[j].trim().charAt(0)!==M)return!1;return!0}(I=I.slice(1),"*"),P=function(G,M){for(var j,U=0,V=G.length;U<V;U++)if((j=G[U])&&j.indexOf(M)!==0)return!1;return!0}(I,F),D&&(this._flags.alignment=1),C=0;C<I.length;C++)D?(this.print_token_line_indentation(f),this._output.add_token(I[C].replace(/^\s+/g,""))):P&&I[C]?(this.print_token_line_indentation(f),this._output.add_token(I[C].substring(H))):(this._output.current_line.set_indent(-1),this._output.add_token(I[C])),this.print_newline(!1,R);this._flags.alignment=0}},p.prototype.handle_comment=function(f,R){f.newlines?this.print_newline(!1,R):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,R)},p.prototype.handle_dot=function(f){this.start_of_statement(f)||this.handle_whitespace_and_comments(f,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),y(this._flags.last_token,v)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(f,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(f)},p.prototype.handle_unknown=function(f,R){this.print_token(f),f.text[f.text.length-1]===`
29
- `&&this.print_newline(!1,R)},p.prototype.handle_eof=function(f){for(;this._flags.mode===b;)this.restore_mode();this.handle_whitespace_and_comments(f)},zn.Beautifier=p,zn}var ws,xs,Es,vr={exports:{}},ri={},ni={};function ks(){if(ws)return ni;ws=1;var e=Wn().Options;function t(r){e.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var n=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||n;var i=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var a=0;a<i.length;a++)i[a]!=="expand"?this.brace_style="collapse":this.brace_style=i[a]}return t.prototype=new e,ni.Options=t,ni}function Cu(){if(Es)return vr.exports;Es=1;var e=function(){if(xs)return ri;xs=1;var r=ks().Options,n=Vn().Output,i=Xn().InputScanner,a=new(ei()).Directives(/\/\*/,/\*\//),o=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,l=/\s/,c=/(?:\s|\n)+/g,y=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,v=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function k(w,x){this._source_text=w||"",this._options=new r(x),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return k.prototype.eatString=function(w){var x="";for(this._ch=this._input.next();this._ch;){if(x+=this._ch,this._ch==="\\")x+=this._input.next();else if(w.indexOf(this._ch)!==-1||this._ch===`
29
+ `&&this.print_newline(!1,R)},p.prototype.handle_eof=function(f){for(;this._flags.mode===b;)this.restore_mode();this.handle_whitespace_and_comments(f)},zn.Beautifier=p,zn}var vs,ws,xs,vr={exports:{}},ri={},ni={};function Es(){if(vs)return ni;vs=1;var e=Wn().Options;function t(r){e.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var n=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||n;var i=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var a=0;a<i.length;a++)i[a]!=="expand"?this.brace_style="collapse":this.brace_style=i[a]}return t.prototype=new e,ni.Options=t,ni}function Cu(){if(xs)return vr.exports;xs=1;var e=function(){if(ws)return ri;ws=1;var r=Es().Options,n=Vn().Output,i=Xn().InputScanner,a=new(ei()).Directives(/\/\*/,/\*\//),o=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,l=/\s/,c=/(?:\s|\n)+/g,y=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,v=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function k(w,x){this._source_text=w||"",this._options=new r(x),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return k.prototype.eatString=function(w){var x="";for(this._ch=this._input.next();this._ch;){if(x+=this._ch,this._ch==="\\")x+=this._input.next();else if(w.indexOf(this._ch)!==-1||this._ch===`
30
30
  `)break;this._ch=this._input.next()}return x},k.prototype.eatWhitespace=function(w){for(var x=l.test(this._input.peek()),b=0;l.test(this._input.peek());)this._ch=this._input.next(),w&&this._ch===`
31
31
  `&&(b===0||b<this._options.max_preserve_newlines)&&(b++,this._output.add_new_line(!0));return x},k.prototype.foundNestedPseudoClass=function(){for(var w=0,x=1,b=this._input.peek(x);b;){if(b==="{")return!0;if(b==="(")w+=1;else if(b===")"){if(w===0)return!1;w-=1}else if(b===";"||b==="}")return!1;x++,b=this._input.peek(x)}return!1},k.prototype.print_string=function(w){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(w)},k.prototype.preserveSingleSpace=function(w){w&&(this._output.space_before_token=!0)},k.prototype.indent=function(){this._indentLevel++},k.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},k.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var w=this._source_text,x=this._options.eol;x==="auto"&&(x=`
32
32
  `,w&&o.test(w||"")&&(x=w.match(o)[0]));var b=(w=w.replace(s,`
33
33
  `)).match(/^[\t ]*/)[0];this._output=new n(this._options,b),this._input=new i(w),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var u,m,E=0,S=!1,d=!1,g=!1,_=!1,h=!1,p=this._ch,T=!1;u=this._input.read(c)!=="",m=p,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),p=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var f=this._input.read(y),R=a.get_directives(f);R&&R.ignore==="start"&&(f+=a.readIgnored(this._input)),this.print_string(f),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(v)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(u),this.print_string(this._ch);var C=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);C.match(/[ :]$/)&&(C=this.eatString(": ").replace(/\s+$/,""),this.print_string(C),this._output.space_before_token=!0),E===0&&C.indexOf(":")!==-1&&(d=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(u),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var I=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);I.match(/[ :]$/)&&(I=this.eatString(": ").replace(/\s+$/,""),this.print_string(I),this._output.space_before_token=!0),E===0&&I.indexOf(":")!==-1?(d=!0,this.indent()):I in this.NESTED_AT_RULE?(this._nestedLevel+=1,I in this.CONDITIONAL_GROUP_RULE&&(g=!0)):E!==0||d||(_=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(u),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")d&&(d=!1,this.outdent()),_=!1,g?(g=!1,S=this._indentLevel>=this._nestedLevel):S=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&S&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(m==="("?this._output.space_before_token=!1:m!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),m==="{"&&this._output.trim(!0),d&&(this.outdent(),d=!1),this.print_string(this._ch),S=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var D=0;D<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;D++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[D])){T=!0;break}!S&&!g||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||E!==0?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),d||(d=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()))}else if(this._ch==='"'||this._ch==="'"){var P=m==='"'||m==="'";this.preserveSingleSpace(P||u),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")T=!1,E===0?(d&&(this.outdent(),d=!1),_=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),E++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),E&&(E--,this.outdent()));else{var F=!1;this._input.lookBack("with")&&(F=!0),this.preserveSingleSpace(u||F),this.print_string(this._ch),d&&m==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),h=!0):(this.eatWhitespace(),E++,this.indent())}else if(this._ch===")")E&&(E--,this.outdent()),h&&this._input.peek()===";"&&this._options.selector_separator_newline&&(h=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||d&&!h||E!==0||_?this._output.space_before_token=!0:this._output.add_new_line();else if(this._ch!==">"&&this._ch!=="+"&&this._ch!=="~"||d||E!==0)if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(u),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),l.test(this._ch)&&(this._ch="");else if(this._ch!=="!"||this._input.lookBack("\\")){var H=m==='"'||m==="'";this.preserveSingleSpace(H||u),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
34
- `&&T&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&l.test(this._ch)&&(this._ch=""));return this._output.get_code(x)},ri.Beautifier=k,ri}().Beautifier,t=ks().Options;return vr.exports=function(r,n){return new e(r,n).beautify()},vr.exports.defaultOptions=function(){return new t},vr.exports}var As,wr={exports:{}},ii={},ai={};function Ts(){if(As)return ai;As=1;var e=Wn().Options;function t(r){e.call(this,r,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,ai.Options=t,ai}var Ds,Ss,Ns,Rs,Os,xr={};function Ls(){if(Ds)return xr;Ds=1;var e=br().Tokenizer,t=br().TOKEN,r=ei().Directives,n=vs().TemplatablePattern,i=mr().Pattern,a={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},o=new r(/<\!--/,/-->/),s=function(l,c){e.call(this,l,c),this._current_tag_name="";var y=new n(this._input).read_options(this._options),v=new i(this._input);if(this.__patterns={word:y.until(/[\n\r\t <]/),word_control_flow_close_excluded:y.until(/[\n\r\t <}]/),single_quote:y.until_after(/'/),double_quote:y.until_after(/"/),attribute:y.until(/[\n\r\t =>]|\/>/),element_name:y.until(/[\n\r\t >\/]/),angular_control_flow_start:v.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),handlebars_open:v.until(/[\n\r\t }]/),handlebars_raw_close:v.until(/}}/),comment:v.starting_with(/<!--/).until_after(/-->/),cdata:v.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:v.starting_with(/<!\[/).until_after(/]>/),processing:v.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var k=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=v.matching(k).until_after(k)}};return(s.prototype=new e)._is_comment=function(l){return!1},s.prototype._is_opening=function(l){return l.type===a.TAG_OPEN||l.type===a.CONTROL_FLOW_OPEN},s.prototype._is_closing=function(l,c){return l.type===a.TAG_CLOSE&&c&&((l.text===">"||l.text==="/>")&&c.text[0]==="<"||l.text==="}}"&&c.text[0]==="{"&&c.text[1]==="{")||l.type===a.CONTROL_FLOW_CLOSE&&l.text==="}"&&c.text.endsWith("{")},s.prototype._reset=function(){this._current_tag_name=""},s.prototype._get_next_token=function(l,c){var y=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(a.EOF,""):y=(y=(y=(y=(y=(y=(y=(y=(y=(y=y||this._read_open_handlebars(v,c))||this._read_attribute(v,l,c))||this._read_close(v,c))||this._read_control_flows(v,c))||this._read_raw_content(v,l,c))||this._read_content_word(v,c))||this._read_comment_or_cdata(v))||this._read_processing(v))||this._read_open(v,c))||this._create_token(a.UNKNOWN,this._input.next())},s.prototype._read_comment_or_cdata=function(l){var c=null,y=null,v=null;return l==="<"&&(this._input.peek(1)==="!"&&((y=this.__patterns.comment.read())?(v=o.get_directives(y))&&v.ignore==="start"&&(y+=o.readIgnored(this._input)):y=this.__patterns.cdata.read()),y&&((c=this._create_token(a.COMMENT,y)).directives=v)),c},s.prototype._read_processing=function(l){var c=null,y=null;if(l==="<"){var v=this._input.peek(1);v!=="!"&&v!=="?"||(y=(y=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),y&&((c=this._create_token(a.COMMENT,y)).directives=null)}return c},s.prototype._read_open=function(l,c){var y=null,v=null;return c&&c.type!==a.CONTROL_FLOW_OPEN||l==="<"&&(y=this._input.next(),this._input.peek()==="/"&&(y+=this._input.next()),y+=this.__patterns.element_name.read(),v=this._create_token(a.TAG_OPEN,y)),v},s.prototype._read_open_handlebars=function(l,c){var y=null,v=null;return c&&c.type!==a.CONTROL_FLOW_OPEN||this._options.indent_handlebars&&l==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(y=(y=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),v=this._create_token(a.COMMENT,y)):(y=this.__patterns.handlebars_open.read(),v=this._create_token(a.TAG_OPEN,y))),v},s.prototype._read_control_flows=function(l,c){var y="",v=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return v;if(l==="@"){if((y=this.__patterns.angular_control_flow_start.read())==="")return v;for(var k=y.endsWith("(")?1:0,w=0;!y.endsWith("{")||k!==w;){var x=this._input.next();if(x===null)break;x==="("?k++:x===")"&&w++,y+=x}v=this._create_token(a.CONTROL_FLOW_OPEN,y)}else l==="}"&&c&&c.type===a.CONTROL_FLOW_OPEN&&(y=this._input.next(),v=this._create_token(a.CONTROL_FLOW_CLOSE,y));return v},s.prototype._read_close=function(l,c){var y=null,v=null;return c&&c.type===a.TAG_OPEN&&(c.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(y=this._input.next(),l==="/"&&(y+=this._input.next()),v=this._create_token(a.TAG_CLOSE,y)):c.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),v=this._create_token(a.TAG_CLOSE,"}}"))),v},s.prototype._read_attribute=function(l,c,y){var v=null,k="";if(y&&y.text[0]==="<")if(l==="=")v=this._create_token(a.EQUALS,this._input.next());else if(l==='"'||l==="'"){var w=this._input.next();w+=l==='"'?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),v=this._create_token(a.VALUE,w)}else(k=this.__patterns.attribute.read())&&(v=c.type===a.EQUALS?this._create_token(a.VALUE,k):this._create_token(a.ATTRIBUTE,k));return v},s.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},s.prototype._read_raw_content=function(l,c,y){var v="";if(y&&y.text[0]==="{")v=this.__patterns.handlebars_raw_close.read();else if(c.type===a.TAG_CLOSE&&c.opened.text[0]==="<"&&c.text[0]!=="/"){var k=c.opened.text.substr(1).toLowerCase();if(k==="script"||k==="style"){var w=this._read_comment_or_cdata(l);if(w)return w.type=a.TEXT,w;v=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(k)&&(v=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig")))}return v?this._create_token(a.TEXT,v):null},s.prototype._read_content_word=function(l,c){var y="";if(this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(y=this.__patterns.unformatted_content_delimiter.read()),y||(y=c&&c.type===a.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),y)return this._create_token(a.TEXT,y)},xr.Tokenizer=s,xr.TOKEN=a,xr}function Iu(){if(Ss)return ii;Ss=1;var e=Ts().Options,t=Vn().Output,r=Ls().Tokenizer,n=Ls().TOKEN,i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,o=function(b,u){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new t(b,u)};o.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},o.prototype.set_space_before_token=function(b,u){this._output.space_before_token=b,this._output.non_breaking_space=u},o.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},o.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},o.prototype.print_preserved_newlines=function(b){var u=0;b.type!==n.TEXT&&b.previous.type!==n.TEXT&&(u=b.newlines?1:0),this.preserve_newlines&&(u=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var m=0;m<u;m++)this.print_newline(m>0);return u!==0},o.prototype.traverse_whitespace=function(b){return!(!b.whitespace_before&&!b.newlines)&&(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0)},o.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},o.prototype.print_newline=function(b){this._output.add_new_line(b)},o.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},o.prototype.indent=function(){this.indent_level++},o.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},o.prototype.get_full_indent=function(b){return(b=this.indent_level+(b||0))<1?"":this._output.get_indent_string(b)};var s=function(b,u){var m=null,E=null;return u.closed?(b==="script"?m="text/javascript":b==="style"&&(m="text/css"),m=function(S){for(var d=null,g=S.next;g.type!==n.EOF&&S.closed!==g;){if(g.type===n.ATTRIBUTE&&g.text==="type"){g.next&&g.next.type===n.EQUALS&&g.next.next&&g.next.next.type===n.VALUE&&(d=g.next.next.text);break}g=g.next}return d}(u)||m,m.search("text/css")>-1?E="css":m.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?E="javascript":m.search(/(text|application|dojo)\/(x-)?(html)/)>-1?E="html":m.search(/test\/null/)>-1&&(E="null"),E):null};function l(b,u){return u.indexOf(b)!==-1}function c(b,u,m){this.parent=b||null,this.tag=u?u.tag_name:"",this.indent_level=m||0,this.parser_token=u||null}function y(b){this._printer=b,this._current_frame=null}function v(b,u,m,E){this._source_text=b||"",u=u||{},this._js_beautify=m,this._css_beautify=E,this._tag_stack=null;var S=new e(u,"html");this._options=S,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}y.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},y.prototype.record_tag=function(b){var u=new c(this._current_frame,b,this._printer.indent_level);this._current_frame=u},y.prototype._try_pop_frame=function(b){var u=null;return b&&(u=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),u},y.prototype._get_frame=function(b,u){for(var m=this._current_frame;m&&b.indexOf(m.tag)===-1;){if(u&&u.indexOf(m.tag)!==-1){m=null;break}m=m.parent}return m},y.prototype.try_pop=function(b,u){var m=this._get_frame([b],u);return this._try_pop_frame(m)},y.prototype.indent_to_tag=function(b){var u=this._get_frame(b);u&&(this._printer.indent_level=u.indent_level)},v.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,u=this._options.eol;this._options.eol==="auto"&&(u=`
34
+ `&&T&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&l.test(this._ch)&&(this._ch=""));return this._output.get_code(x)},ri.Beautifier=k,ri}().Beautifier,t=Es().Options;return vr.exports=function(r,n){return new e(r,n).beautify()},vr.exports.defaultOptions=function(){return new t},vr.exports}var ks,wr={exports:{}},ii={},ai={};function As(){if(ks)return ai;ks=1;var e=Wn().Options;function t(r){e.call(this,r,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,ai.Options=t,ai}var Ts,Ds,Ss,Ns,Rs,xr={};function Os(){if(Ts)return xr;Ts=1;var e=br().Tokenizer,t=br().TOKEN,r=ei().Directives,n=ys().TemplatablePattern,i=mr().Pattern,a={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},o=new r(/<\!--/,/-->/),s=function(l,c){e.call(this,l,c),this._current_tag_name="";var y=new n(this._input).read_options(this._options),v=new i(this._input);if(this.__patterns={word:y.until(/[\n\r\t <]/),word_control_flow_close_excluded:y.until(/[\n\r\t <}]/),single_quote:y.until_after(/'/),double_quote:y.until_after(/"/),attribute:y.until(/[\n\r\t =>]|\/>/),element_name:y.until(/[\n\r\t >\/]/),angular_control_flow_start:v.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),handlebars_open:v.until(/[\n\r\t }]/),handlebars_raw_close:v.until(/}}/),comment:v.starting_with(/<!--/).until_after(/-->/),cdata:v.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:v.starting_with(/<!\[/).until_after(/]>/),processing:v.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var k=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=v.matching(k).until_after(k)}};return(s.prototype=new e)._is_comment=function(l){return!1},s.prototype._is_opening=function(l){return l.type===a.TAG_OPEN||l.type===a.CONTROL_FLOW_OPEN},s.prototype._is_closing=function(l,c){return l.type===a.TAG_CLOSE&&c&&((l.text===">"||l.text==="/>")&&c.text[0]==="<"||l.text==="}}"&&c.text[0]==="{"&&c.text[1]==="{")||l.type===a.CONTROL_FLOW_CLOSE&&l.text==="}"&&c.text.endsWith("{")},s.prototype._reset=function(){this._current_tag_name=""},s.prototype._get_next_token=function(l,c){var y=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(a.EOF,""):y=(y=(y=(y=(y=(y=(y=(y=(y=(y=y||this._read_open_handlebars(v,c))||this._read_attribute(v,l,c))||this._read_close(v,c))||this._read_control_flows(v,c))||this._read_raw_content(v,l,c))||this._read_content_word(v,c))||this._read_comment_or_cdata(v))||this._read_processing(v))||this._read_open(v,c))||this._create_token(a.UNKNOWN,this._input.next())},s.prototype._read_comment_or_cdata=function(l){var c=null,y=null,v=null;return l==="<"&&(this._input.peek(1)==="!"&&((y=this.__patterns.comment.read())?(v=o.get_directives(y))&&v.ignore==="start"&&(y+=o.readIgnored(this._input)):y=this.__patterns.cdata.read()),y&&((c=this._create_token(a.COMMENT,y)).directives=v)),c},s.prototype._read_processing=function(l){var c=null,y=null;if(l==="<"){var v=this._input.peek(1);v!=="!"&&v!=="?"||(y=(y=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),y&&((c=this._create_token(a.COMMENT,y)).directives=null)}return c},s.prototype._read_open=function(l,c){var y=null,v=null;return c&&c.type!==a.CONTROL_FLOW_OPEN||l==="<"&&(y=this._input.next(),this._input.peek()==="/"&&(y+=this._input.next()),y+=this.__patterns.element_name.read(),v=this._create_token(a.TAG_OPEN,y)),v},s.prototype._read_open_handlebars=function(l,c){var y=null,v=null;return c&&c.type!==a.CONTROL_FLOW_OPEN||this._options.indent_handlebars&&l==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(y=(y=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),v=this._create_token(a.COMMENT,y)):(y=this.__patterns.handlebars_open.read(),v=this._create_token(a.TAG_OPEN,y))),v},s.prototype._read_control_flows=function(l,c){var y="",v=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return v;if(l==="@"){if((y=this.__patterns.angular_control_flow_start.read())==="")return v;for(var k=y.endsWith("(")?1:0,w=0;!y.endsWith("{")||k!==w;){var x=this._input.next();if(x===null)break;x==="("?k++:x===")"&&w++,y+=x}v=this._create_token(a.CONTROL_FLOW_OPEN,y)}else l==="}"&&c&&c.type===a.CONTROL_FLOW_OPEN&&(y=this._input.next(),v=this._create_token(a.CONTROL_FLOW_CLOSE,y));return v},s.prototype._read_close=function(l,c){var y=null,v=null;return c&&c.type===a.TAG_OPEN&&(c.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(y=this._input.next(),l==="/"&&(y+=this._input.next()),v=this._create_token(a.TAG_CLOSE,y)):c.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),v=this._create_token(a.TAG_CLOSE,"}}"))),v},s.prototype._read_attribute=function(l,c,y){var v=null,k="";if(y&&y.text[0]==="<")if(l==="=")v=this._create_token(a.EQUALS,this._input.next());else if(l==='"'||l==="'"){var w=this._input.next();w+=l==='"'?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),v=this._create_token(a.VALUE,w)}else(k=this.__patterns.attribute.read())&&(v=c.type===a.EQUALS?this._create_token(a.VALUE,k):this._create_token(a.ATTRIBUTE,k));return v},s.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},s.prototype._read_raw_content=function(l,c,y){var v="";if(y&&y.text[0]==="{")v=this.__patterns.handlebars_raw_close.read();else if(c.type===a.TAG_CLOSE&&c.opened.text[0]==="<"&&c.text[0]!=="/"){var k=c.opened.text.substr(1).toLowerCase();if(k==="script"||k==="style"){var w=this._read_comment_or_cdata(l);if(w)return w.type=a.TEXT,w;v=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(k)&&(v=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig")))}return v?this._create_token(a.TEXT,v):null},s.prototype._read_content_word=function(l,c){var y="";if(this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(y=this.__patterns.unformatted_content_delimiter.read()),y||(y=c&&c.type===a.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),y)return this._create_token(a.TEXT,y)},xr.Tokenizer=s,xr.TOKEN=a,xr}function Iu(){if(Ds)return ii;Ds=1;var e=As().Options,t=Vn().Output,r=Os().Tokenizer,n=Os().TOKEN,i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,o=function(b,u){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new t(b,u)};o.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},o.prototype.set_space_before_token=function(b,u){this._output.space_before_token=b,this._output.non_breaking_space=u},o.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},o.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},o.prototype.print_preserved_newlines=function(b){var u=0;b.type!==n.TEXT&&b.previous.type!==n.TEXT&&(u=b.newlines?1:0),this.preserve_newlines&&(u=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var m=0;m<u;m++)this.print_newline(m>0);return u!==0},o.prototype.traverse_whitespace=function(b){return!(!b.whitespace_before&&!b.newlines)&&(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0)},o.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},o.prototype.print_newline=function(b){this._output.add_new_line(b)},o.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},o.prototype.indent=function(){this.indent_level++},o.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},o.prototype.get_full_indent=function(b){return(b=this.indent_level+(b||0))<1?"":this._output.get_indent_string(b)};var s=function(b,u){var m=null,E=null;return u.closed?(b==="script"?m="text/javascript":b==="style"&&(m="text/css"),m=function(S){for(var d=null,g=S.next;g.type!==n.EOF&&S.closed!==g;){if(g.type===n.ATTRIBUTE&&g.text==="type"){g.next&&g.next.type===n.EQUALS&&g.next.next&&g.next.next.type===n.VALUE&&(d=g.next.next.text);break}g=g.next}return d}(u)||m,m.search("text/css")>-1?E="css":m.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?E="javascript":m.search(/(text|application|dojo)\/(x-)?(html)/)>-1?E="html":m.search(/test\/null/)>-1&&(E="null"),E):null};function l(b,u){return u.indexOf(b)!==-1}function c(b,u,m){this.parent=b||null,this.tag=u?u.tag_name:"",this.indent_level=m||0,this.parser_token=u||null}function y(b){this._printer=b,this._current_frame=null}function v(b,u,m,E){this._source_text=b||"",u=u||{},this._js_beautify=m,this._css_beautify=E,this._tag_stack=null;var S=new e(u,"html");this._options=S,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}y.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},y.prototype.record_tag=function(b){var u=new c(this._current_frame,b,this._printer.indent_level);this._current_frame=u},y.prototype._try_pop_frame=function(b){var u=null;return b&&(u=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),u},y.prototype._get_frame=function(b,u){for(var m=this._current_frame;m&&b.indexOf(m.tag)===-1;){if(u&&u.indexOf(m.tag)!==-1){m=null;break}m=m.parent}return m},y.prototype.try_pop=function(b,u){var m=this._get_frame([b],u);return this._try_pop_frame(m)},y.prototype.indent_to_tag=function(b){var u=this._get_frame(b);u&&(this._printer.indent_level=u.indent_level)},v.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,u=this._options.eol;this._options.eol==="auto"&&(u=`
35
35
  `,b&&i.test(b)&&(u=b.match(i)[0]));var m=(b=b.replace(a,`
36
36
  `)).match(/^[\t ]*/)[0],E={text:"",type:""},S=new k,d=new o(this._options,m),g=new r(b,this._options).tokenize();this._tag_stack=new y(d);for(var _=null,h=g.next();h.type!==n.EOF;)h.type===n.TAG_OPEN||h.type===n.COMMENT?S=_=this._handle_tag_open(d,h,S,E,g):h.type===n.ATTRIBUTE||h.type===n.EQUALS||h.type===n.VALUE||h.type===n.TEXT&&!S.tag_complete?_=this._handle_inside_tag(d,h,S,E):h.type===n.TAG_CLOSE?_=this._handle_tag_close(d,h,S):h.type===n.TEXT?_=this._handle_text(d,h,S):h.type===n.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(d,h):h.type===n.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(d,h):d.add_raw_token(h),E=_,h=g.next();return d._output.get_code(u)},v.prototype._handle_control_flow_open=function(b,u){var m={text:u.text,type:u.type};return b.set_space_before_token(u.newlines||u.whitespace_before!=="",!0),u.newlines?b.print_preserved_newlines(u):b.set_space_before_token(u.newlines||u.whitespace_before!=="",!0),b.print_token(u),b.indent(),m},v.prototype._handle_control_flow_close=function(b,u){var m={text:u.text,type:u.type};return b.deindent(),u.newlines?b.print_preserved_newlines(u):b.set_space_before_token(u.newlines||u.whitespace_before!=="",!0),b.print_token(u),m},v.prototype._handle_tag_close=function(b,u,m){var E={text:u.text,type:u.type};return b.alignment_size=0,m.tag_complete=!0,b.set_space_before_token(u.newlines||u.whitespace_before!=="",!0),m.is_unformatted?b.add_raw_token(u):(m.tag_start_char==="<"&&(b.set_space_before_token(u.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&m.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(u)),!m.indent_content||m.is_unformatted||m.is_content_unformatted||(b.indent(),m.indent_content=!1),m.is_inline_element||m.is_unformatted||m.is_content_unformatted||b.set_wrap_point(),E},v.prototype._handle_inside_tag=function(b,u,m,E){var S=m.has_wrapped_attrs,d={text:u.text,type:u.type};return b.set_space_before_token(u.newlines||u.whitespace_before!=="",!0),m.is_unformatted?b.add_raw_token(u):m.tag_start_char==="{"&&u.type===n.TEXT?b.print_preserved_newlines(u)?(u.newlines=0,b.add_raw_token(u)):b.print_token(u):(u.type===n.ATTRIBUTE?b.set_space_before_token(!0):(u.type===n.EQUALS||u.type===n.VALUE&&u.previous.type===n.EQUALS)&&b.set_space_before_token(!1),u.type===n.ATTRIBUTE&&m.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(u),S=S||u.newlines!==0),this._is_wrap_attributes_force&&m.attr_count>=this._options.wrap_attributes_min_attrs&&(E.type!==n.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),S=!0)),b.print_token(u),S=S||b.previous_token_wrapped(),m.has_wrapped_attrs=S),d},v.prototype._handle_text=function(b,u,m){var E={text:u.text,type:"TK_CONTENT"};return m.custom_beautifier_name?this._print_custom_beatifier_text(b,u,m):m.is_unformatted||m.is_content_unformatted?b.add_raw_token(u):(b.traverse_whitespace(u),b.print_token(u)),E},v.prototype._print_custom_beatifier_text=function(b,u,m){var E=this;if(u.text!==""){var S,d=u.text,g=1,_="",h="";m.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?S=this._js_beautify:m.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?S=this._css_beautify:m.custom_beautifier_name==="html"&&(S=function(C,I){return new v(C,I,E._js_beautify,E._css_beautify).beautify()}),this._options.indent_scripts==="keep"?g=0:this._options.indent_scripts==="separate"&&(g=-b.indent_level);var p=b.get_full_indent(g);if(d=d.replace(/\n[ \t]*$/,""),m.custom_beautifier_name!=="html"&&d[0]==="<"&&d.match(/^(<!--|<!\[CDATA\[)/)){var T=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(d);if(!T)return void b.add_raw_token(u);_=p+T[1]+`
37
37
  `,d=T[4],T[5]&&(h=p+T[5]),d=d.replace(/\n[ \t]*$/,""),(T[2]||T[3].indexOf(`
@@ -41,16 +41,16 @@ You passed in: '`+this.raw_options[n]+"'");return o},e.prototype._is_valid_selec
41
41
  `)),d=p+d.replace(/\n/g,`
42
42
  `+p)}_&&(d=d?_+d+`
43
43
  `+h:_+h),b.print_newline(!1),d&&(u.text=d,u.whitespace_before="",u.newlines=0,b.add_raw_token(u),b.print_newline(!0))}},v.prototype._handle_tag_open=function(b,u,m,E,S){var d=this._get_tag_open_token(u);if(!m.is_unformatted&&!m.is_content_unformatted||m.is_empty_element||u.type!==n.TAG_OPEN||d.is_start_tag?(b.traverse_whitespace(u),this._set_tag_position(b,u,d,m,E),d.is_inline_element||b.set_wrap_point(),b.print_token(u)):(b.add_raw_token(u),d.start_tag_token=this._tag_stack.try_pop(d.tag_name)),d.is_start_tag&&this._is_wrap_attributes_force){var g,_=0;do(g=S.peek(_)).type===n.ATTRIBUTE&&(d.attr_count+=1),_+=1;while(g.type!==n.EOF&&g.type!==n.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(d.alignment_size=u.text.length+1),d.tag_complete||d.is_unformatted||(b.alignment_size=d.alignment_size),d};var k=function(b,u){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",u){var m;this.tag_start_char=u.text[0],this.text=u.text,this.tag_start_char==="<"?(m=u.text.match(/^<([^\s>]*)/),this.tag_check=m?m[1]:""):(m=u.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=m?m[1]:"",(u.text.startsWith("{{#>")||u.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&u.next!==null?this.tag_check=u.next.text.split(" ")[0]:this.tag_check=u.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),u.type===n.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||u.closed&&u.closed.text==="/>";var E=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(E=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(E)))}else this.tag_complete=!0};v.prototype._get_tag_open_token=function(b){var u=new k(this._tag_stack.get_parser_token(),b);return u.alignment_size=this._options.wrap_attributes_indent_size,u.is_end_tag=u.is_end_tag||l(u.tag_check,this._options.void_elements),u.is_empty_element=u.tag_complete||u.is_start_tag&&u.is_end_tag,u.is_unformatted=!u.tag_complete&&l(u.tag_check,this._options.unformatted),u.is_content_unformatted=!u.is_empty_element&&l(u.tag_check,this._options.content_unformatted),u.is_inline_element=l(u.tag_name,this._options.inline)||this._options.inline_custom_elements&&u.tag_name.includes("-")||u.tag_start_char==="{",u},v.prototype._set_tag_position=function(b,u,m,E,S){if(m.is_empty_element||(m.is_end_tag?m.start_tag_token=this._tag_stack.try_pop(m.tag_name):(this._do_optional_end_element(m)&&(m.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(m),m.tag_name!=="script"&&m.tag_name!=="style"||m.is_unformatted||m.is_content_unformatted||(m.custom_beautifier_name=s(m.tag_check,u)))),l(m.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),m.is_empty_element)m.tag_start_char==="{"&&m.tag_check==="else"&&(this._tag_stack.indent_to_tag(["if","unless","each"]),m.indent_content=!0,b.current_line_has_match(/{{#if/)||b.print_newline(!1)),m.tag_name==="!--"&&S.type===n.TAG_CLOSE&&E.is_end_tag&&m.text.indexOf(`
44
- `)===-1||(m.is_inline_element||m.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,m));else if(m.is_end_tag){var d=!1;d=(d=m.start_tag_token&&m.start_tag_token.multiline_content)||!m.is_inline_element&&!(E.is_inline_element||E.is_unformatted)&&!(S.type===n.TAG_CLOSE&&m.start_tag_token===E)&&S.type!=="TK_CONTENT",(m.is_content_unformatted||m.is_unformatted)&&(d=!1),d&&b.print_newline(!1)}else m.indent_content=!m.custom_beautifier_name,m.tag_start_char==="<"&&(m.tag_name==="html"?m.indent_content=this._options.indent_inner_html:m.tag_name==="head"?m.indent_content=this._options.indent_head_inner_html:m.tag_name==="body"&&(m.indent_content=this._options.indent_body_inner_html)),m.is_inline_element||m.is_unformatted||S.type==="TK_CONTENT"&&!m.is_content_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,m)},v.prototype._calcluate_parent_multiline=function(b,u){!u.parent||!b._output.just_added_newline()||(u.is_inline_element||u.is_unformatted)&&u.parent.is_inline_element||(u.parent.multiline_content=!0)};var w=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],x=["a","audio","del","ins","map","noscript","video"];return v.prototype._do_optional_end_element=function(b){var u=null;if(!b.is_empty_element&&b.is_start_tag&&b.parent){if(b.tag_name==="body")u=u||this._tag_stack.try_pop("head");else if(b.tag_name==="li")u=u||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")u=(u=u||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&w.indexOf(b.tag_name)!==-1){var m=b.parent.parent;m&&x.indexOf(m.tag_name)!==-1||(u=u||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?u=(u=u||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):b.tag_name==="optgroup"?u=u||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?u=u||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?u=u||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):b.tag_name==="tbody"||b.tag_name==="tfoot"?u=(u=(u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):b.tag_name==="tr"?u=(u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):b.tag_name!=="th"&&b.tag_name!=="td"||(u=(u=u||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),u}},ii.Beautifier=v,ii}function qu(){if(Rs)return Xt;Rs=1;var e=function(){if(ys)return fr.exports;ys=1;var i=Bu().Beautifier,a=us().Options;return fr.exports=function(o,s){return new i(o,s).beautify()},fr.exports.defaultOptions=function(){return new a},fr.exports}(),t=Cu(),r=function(){if(Ns)return wr.exports;Ns=1;var i=Iu().Beautifier,a=Ts().Options;return wr.exports=function(o,s,l,c){return new i(o,s,l,c).beautify()},wr.exports.defaultOptions=function(){return new a},wr.exports}();function n(i,a,o,s){return r(i,a,o=o||e,s=s||t)}return n.defaultOptions=r.defaultOptions,Xt.js=e,Xt.css=t,Xt.html=n,Xt}var Bs,si,oi,li,vt,tt,Pu=(Os||(Os=1,Bs=ts,(tt=qu()).js_beautify=tt.js,tt.css_beautify=tt.css,tt.html_beautify=tt.html,Bs.exports=(oi=tt,li=tt,(vt=function(e,t){return si.js_beautify(e,t)}).js=(si=tt).js_beautify,vt.css=oi.css_beautify,vt.html=li.html_beautify,vt.js_beautify=si.js_beautify,vt.css_beautify=oi.css_beautify,vt.html_beautify=li.html_beautify,vt)),ts.exports);const Mu=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],Yt=(e,t)=>{var r;if(e.nodeType===Node.TEXT_NODE)return{text:((r=e.textContent)==null?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const n=e.tagName.toLowerCase(),i={};return n.startsWith("mj-")?t(e):(e.getAttributeNames().forEach(a=>{let o=ta(a);o==="class"&&(o="className"),i[o]=e.getAttribute(a)||""}),n==="iframe"?(i.srcdoc&&(i.srcdoc=ct.decode(i.srcdoc)),ee.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:"iframe"},children:[{text:""}]})):n.startsWith("amp-")?(i.content&&(i.content=ct.decode(i.content)),ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))})):n==="br"?ee.getBlockByType(L.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):Mu.includes(n)?ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))}):ee.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))}))}throw new Error("Invalid node")};var Cs,Is={exports:{}},Uu=(Cs||(Cs=1,Is.exports=function e(t,r,n){function i(s,l){if(!r[s]){if(!t[s]){if(!l&&Hr)return Hr(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}l=r[s]={exports:{}},t[s][0].call(l.exports,function(c){return i(t[s][1][c]||c)},l,l.exports,e,t,r,n)}return r[s].exports}for(var a=Hr,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("crypto");function w(d,g){var _;return(_=(g=u(d,g)).algorithm!=="passthrough"?k.createHash(g.algorithm):new S).write===void 0&&(_.write=_.update,_.end=_.update),E(g,_).dispatch(d),_.update||_.end(""),_.digest?_.digest(g.encoding==="buffer"?void 0:g.encoding):(d=_.read(),g.encoding!=="buffer"?d.toString(g.encoding):d)}(r=t.exports=w).sha1=function(d){return w(d)},r.keys=function(d){return w(d,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(d){return w(d,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(d){return w(d,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var x=k.getHashes?k.getHashes().slice():["sha1","md5"],b=(x.push("passthrough"),["buffer","hex","binary","base64"]);function u(d,g){var _={};if(_.algorithm=(g=g||{}).algorithm||"sha1",_.encoding=g.encoding||"hex",_.excludeValues=!!g.excludeValues,_.algorithm=_.algorithm.toLowerCase(),_.encoding=_.encoding.toLowerCase(),_.ignoreUnknown=g.ignoreUnknown===!0,_.respectType=g.respectType!==!1,_.respectFunctionNames=g.respectFunctionNames!==!1,_.respectFunctionProperties=g.respectFunctionProperties!==!1,_.unorderedArrays=g.unorderedArrays===!0,_.unorderedSets=g.unorderedSets!==!1,_.unorderedObjects=g.unorderedObjects!==!1,_.replacer=g.replacer||void 0,_.excludeKeys=g.excludeKeys||void 0,d===void 0)throw new Error("Object argument required.");for(var h=0;h<x.length;++h)x[h].toLowerCase()===_.algorithm.toLowerCase()&&(_.algorithm=x[h]);if(x.indexOf(_.algorithm)===-1)throw new Error('Algorithm "'+_.algorithm+'" not supported. supported values: '+x.join(", "));if(b.indexOf(_.encoding)===-1&&_.algorithm!=="passthrough")throw new Error('Encoding "'+_.encoding+'" not supported. supported values: '+b.join(", "));return _}function m(d){if(typeof d=="function")return/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(d))!=null}function E(d,g,_){function h(p){return g.update?g.update(p,"utf8"):g.write(p,"utf8")}return _=_||[],{dispatch:function(p){return this["_"+((p=d.replacer?d.replacer(p):p)===null?"null":typeof p)](p)},_object:function(p){var T,f=Object.prototype.toString.call(p),R=/\[object (.*)\]/i.exec(f);if(R=(R=R?R[1]:"unknown:["+f+"]").toLowerCase(),0<=(f=_.indexOf(p)))return this.dispatch("[CIRCULAR:"+f+"]");if(_.push(p),a!==void 0&&a.isBuffer&&a.isBuffer(p))return h("buffer:"),h(p);if(R==="object"||R==="function"||R==="asyncfunction")return f=Object.keys(p),d.unorderedObjects&&(f=f.sort()),d.respectType===!1||m(p)||f.splice(0,0,"prototype","__proto__","constructor"),d.excludeKeys&&(f=f.filter(function(C){return!d.excludeKeys(C)})),h("object:"+f.length+":"),T=this,f.forEach(function(C){T.dispatch(C),h(":"),d.excludeValues||T.dispatch(p[C]),h(",")});if(!this["_"+R]){if(d.ignoreUnknown)return h("["+R+"]");throw new Error('Unknown object type "'+R+'"')}this["_"+R](p)},_array:function(p,T){T=T!==void 0?T:d.unorderedArrays!==!1;var f=this;if(h("array:"+p.length+":"),!T||p.length<=1)return p.forEach(function(C){return f.dispatch(C)});var R=[];return T=p.map(function(C){var I=new S,D=_.slice();return E(d,I,D).dispatch(C),R=R.concat(D.slice(_.length)),I.read().toString()}),_=_.concat(R),T.sort(),this._array(T,!1)},_date:function(p){return h("date:"+p.toJSON())},_symbol:function(p){return h("symbol:"+p.toString())},_error:function(p){return h("error:"+p.toString())},_boolean:function(p){return h("bool:"+p.toString())},_string:function(p){h("string:"+p.length+":"),h(p.toString())},_function:function(p){h("fn:"),m(p)?this.dispatch("[native]"):this.dispatch(p.toString()),d.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(p.name)),d.respectFunctionProperties&&this._object(p)},_number:function(p){return h("number:"+p.toString())},_xml:function(p){return h("xml:"+p.toString())},_null:function(){return h("Null")},_undefined:function(){return h("Undefined")},_regexp:function(p){return h("regex:"+p.toString())},_uint8array:function(p){return h("uint8array:"),this.dispatch(Array.prototype.slice.call(p))},_uint8clampedarray:function(p){return h("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(p))},_int8array:function(p){return h("int8array:"),this.dispatch(Array.prototype.slice.call(p))},_uint16array:function(p){return h("uint16array:"),this.dispatch(Array.prototype.slice.call(p))},_int16array:function(p){return h("int16array:"),this.dispatch(Array.prototype.slice.call(p))},_uint32array:function(p){return h("uint32array:"),this.dispatch(Array.prototype.slice.call(p))},_int32array:function(p){return h("int32array:"),this.dispatch(Array.prototype.slice.call(p))},_float32array:function(p){return h("float32array:"),this.dispatch(Array.prototype.slice.call(p))},_float64array:function(p){return h("float64array:"),this.dispatch(Array.prototype.slice.call(p))},_arraybuffer:function(p){return h("arraybuffer:"),this.dispatch(new Uint8Array(p))},_url:function(p){return h("url:"+p.toString())},_map:function(p){return h("map:"),p=Array.from(p),this._array(p,d.unorderedSets!==!1)},_set:function(p){return h("set:"),p=Array.from(p),this._array(p,d.unorderedSets!==!1)},_file:function(p){return h("file:"),this.dispatch([p.name,p.size,p.type,p.lastModfied])},_blob:function(){if(d.ignoreUnknown)return h("[blob]");throw Error(`Hashing Blob objects is currently not supported
44
+ `)===-1||(m.is_inline_element||m.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,m));else if(m.is_end_tag){var d=!1;d=(d=m.start_tag_token&&m.start_tag_token.multiline_content)||!m.is_inline_element&&!(E.is_inline_element||E.is_unformatted)&&!(S.type===n.TAG_CLOSE&&m.start_tag_token===E)&&S.type!=="TK_CONTENT",(m.is_content_unformatted||m.is_unformatted)&&(d=!1),d&&b.print_newline(!1)}else m.indent_content=!m.custom_beautifier_name,m.tag_start_char==="<"&&(m.tag_name==="html"?m.indent_content=this._options.indent_inner_html:m.tag_name==="head"?m.indent_content=this._options.indent_head_inner_html:m.tag_name==="body"&&(m.indent_content=this._options.indent_body_inner_html)),m.is_inline_element||m.is_unformatted||S.type==="TK_CONTENT"&&!m.is_content_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,m)},v.prototype._calcluate_parent_multiline=function(b,u){!u.parent||!b._output.just_added_newline()||(u.is_inline_element||u.is_unformatted)&&u.parent.is_inline_element||(u.parent.multiline_content=!0)};var w=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],x=["a","audio","del","ins","map","noscript","video"];return v.prototype._do_optional_end_element=function(b){var u=null;if(!b.is_empty_element&&b.is_start_tag&&b.parent){if(b.tag_name==="body")u=u||this._tag_stack.try_pop("head");else if(b.tag_name==="li")u=u||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")u=(u=u||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&w.indexOf(b.tag_name)!==-1){var m=b.parent.parent;m&&x.indexOf(m.tag_name)!==-1||(u=u||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?u=(u=u||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):b.tag_name==="optgroup"?u=u||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?u=u||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?u=u||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):b.tag_name==="tbody"||b.tag_name==="tfoot"?u=(u=(u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):b.tag_name==="tr"?u=(u=(u=u||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):b.tag_name!=="th"&&b.tag_name!=="td"||(u=(u=u||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),u}},ii.Beautifier=v,ii}function qu(){if(Ns)return Xt;Ns=1;var e=function(){if(bs)return fr.exports;bs=1;var i=Bu().Beautifier,a=ls().Options;return fr.exports=function(o,s){return new i(o,s).beautify()},fr.exports.defaultOptions=function(){return new a},fr.exports}(),t=Cu(),r=function(){if(Ss)return wr.exports;Ss=1;var i=Iu().Beautifier,a=As().Options;return wr.exports=function(o,s,l,c){return new i(o,s,l,c).beautify()},wr.exports.defaultOptions=function(){return new a},wr.exports}();function n(i,a,o,s){return r(i,a,o=o||e,s=s||t)}return n.defaultOptions=r.defaultOptions,Xt.js=e,Xt.css=t,Xt.html=n,Xt}var Ls,si,oi,li,vt,tt,Pu=(Rs||(Rs=1,Ls=es,(tt=qu()).js_beautify=tt.js,tt.css_beautify=tt.css,tt.html_beautify=tt.html,Ls.exports=(oi=tt,li=tt,(vt=function(e,t){return si.js_beautify(e,t)}).js=(si=tt).js_beautify,vt.css=oi.css_beautify,vt.html=li.html_beautify,vt.js_beautify=si.js_beautify,vt.css_beautify=oi.css_beautify,vt.html_beautify=li.html_beautify,vt)),es.exports);const Mu=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],Yt=(e,t)=>{var r;if(e.nodeType===Node.TEXT_NODE)return{text:((r=e.textContent)==null?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const n=e.tagName.toLowerCase(),i={};return n.startsWith("mj-")?t(e):(e.getAttributeNames().forEach(a=>{let o=ea(a);o==="class"&&(o="className"),i[o]=e.getAttribute(a)||""}),n==="iframe"?(i.srcdoc&&(i.srcdoc=ct.decode(i.srcdoc)),ee.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:"iframe"},children:[{text:""}]})):n.startsWith("amp-")?(i.content&&(i.content=ct.decode(i.content)),ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))})):n==="br"?ee.getBlockByType(L.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):Mu.includes(n)?ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))}):ee.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:n},children:[...e.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Yt(a,t))}))}throw new Error("Invalid node")};var Bs,Cs={exports:{}},Uu=(Bs||(Bs=1,Cs.exports=function e(t,r,n){function i(s,l){if(!r[s]){if(!t[s]){if(!l&&Hr)return Hr(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}l=r[s]={exports:{}},t[s][0].call(l.exports,function(c){return i(t[s][1][c]||c)},l,l.exports,e,t,r,n)}return r[s].exports}for(var a=Hr,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("crypto");function w(d,g){var _;return(_=(g=u(d,g)).algorithm!=="passthrough"?k.createHash(g.algorithm):new S).write===void 0&&(_.write=_.update,_.end=_.update),E(g,_).dispatch(d),_.update||_.end(""),_.digest?_.digest(g.encoding==="buffer"?void 0:g.encoding):(d=_.read(),g.encoding!=="buffer"?d.toString(g.encoding):d)}(r=t.exports=w).sha1=function(d){return w(d)},r.keys=function(d){return w(d,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(d){return w(d,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(d){return w(d,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var x=k.getHashes?k.getHashes().slice():["sha1","md5"],b=(x.push("passthrough"),["buffer","hex","binary","base64"]);function u(d,g){var _={};if(_.algorithm=(g=g||{}).algorithm||"sha1",_.encoding=g.encoding||"hex",_.excludeValues=!!g.excludeValues,_.algorithm=_.algorithm.toLowerCase(),_.encoding=_.encoding.toLowerCase(),_.ignoreUnknown=g.ignoreUnknown===!0,_.respectType=g.respectType!==!1,_.respectFunctionNames=g.respectFunctionNames!==!1,_.respectFunctionProperties=g.respectFunctionProperties!==!1,_.unorderedArrays=g.unorderedArrays===!0,_.unorderedSets=g.unorderedSets!==!1,_.unorderedObjects=g.unorderedObjects!==!1,_.replacer=g.replacer||void 0,_.excludeKeys=g.excludeKeys||void 0,d===void 0)throw new Error("Object argument required.");for(var h=0;h<x.length;++h)x[h].toLowerCase()===_.algorithm.toLowerCase()&&(_.algorithm=x[h]);if(x.indexOf(_.algorithm)===-1)throw new Error('Algorithm "'+_.algorithm+'" not supported. supported values: '+x.join(", "));if(b.indexOf(_.encoding)===-1&&_.algorithm!=="passthrough")throw new Error('Encoding "'+_.encoding+'" not supported. supported values: '+b.join(", "));return _}function m(d){if(typeof d=="function")return/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(d))!=null}function E(d,g,_){function h(p){return g.update?g.update(p,"utf8"):g.write(p,"utf8")}return _=_||[],{dispatch:function(p){return this["_"+((p=d.replacer?d.replacer(p):p)===null?"null":typeof p)](p)},_object:function(p){var T,f=Object.prototype.toString.call(p),R=/\[object (.*)\]/i.exec(f);if(R=(R=R?R[1]:"unknown:["+f+"]").toLowerCase(),0<=(f=_.indexOf(p)))return this.dispatch("[CIRCULAR:"+f+"]");if(_.push(p),a!==void 0&&a.isBuffer&&a.isBuffer(p))return h("buffer:"),h(p);if(R==="object"||R==="function"||R==="asyncfunction")return f=Object.keys(p),d.unorderedObjects&&(f=f.sort()),d.respectType===!1||m(p)||f.splice(0,0,"prototype","__proto__","constructor"),d.excludeKeys&&(f=f.filter(function(C){return!d.excludeKeys(C)})),h("object:"+f.length+":"),T=this,f.forEach(function(C){T.dispatch(C),h(":"),d.excludeValues||T.dispatch(p[C]),h(",")});if(!this["_"+R]){if(d.ignoreUnknown)return h("["+R+"]");throw new Error('Unknown object type "'+R+'"')}this["_"+R](p)},_array:function(p,T){T=T!==void 0?T:d.unorderedArrays!==!1;var f=this;if(h("array:"+p.length+":"),!T||p.length<=1)return p.forEach(function(C){return f.dispatch(C)});var R=[];return T=p.map(function(C){var I=new S,D=_.slice();return E(d,I,D).dispatch(C),R=R.concat(D.slice(_.length)),I.read().toString()}),_=_.concat(R),T.sort(),this._array(T,!1)},_date:function(p){return h("date:"+p.toJSON())},_symbol:function(p){return h("symbol:"+p.toString())},_error:function(p){return h("error:"+p.toString())},_boolean:function(p){return h("bool:"+p.toString())},_string:function(p){h("string:"+p.length+":"),h(p.toString())},_function:function(p){h("fn:"),m(p)?this.dispatch("[native]"):this.dispatch(p.toString()),d.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(p.name)),d.respectFunctionProperties&&this._object(p)},_number:function(p){return h("number:"+p.toString())},_xml:function(p){return h("xml:"+p.toString())},_null:function(){return h("Null")},_undefined:function(){return h("Undefined")},_regexp:function(p){return h("regex:"+p.toString())},_uint8array:function(p){return h("uint8array:"),this.dispatch(Array.prototype.slice.call(p))},_uint8clampedarray:function(p){return h("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(p))},_int8array:function(p){return h("int8array:"),this.dispatch(Array.prototype.slice.call(p))},_uint16array:function(p){return h("uint16array:"),this.dispatch(Array.prototype.slice.call(p))},_int16array:function(p){return h("int16array:"),this.dispatch(Array.prototype.slice.call(p))},_uint32array:function(p){return h("uint32array:"),this.dispatch(Array.prototype.slice.call(p))},_int32array:function(p){return h("int32array:"),this.dispatch(Array.prototype.slice.call(p))},_float32array:function(p){return h("float32array:"),this.dispatch(Array.prototype.slice.call(p))},_float64array:function(p){return h("float64array:"),this.dispatch(Array.prototype.slice.call(p))},_arraybuffer:function(p){return h("arraybuffer:"),this.dispatch(new Uint8Array(p))},_url:function(p){return h("url:"+p.toString())},_map:function(p){return h("map:"),p=Array.from(p),this._array(p,d.unorderedSets!==!1)},_set:function(p){return h("set:"),p=Array.from(p),this._array(p,d.unorderedSets!==!1)},_file:function(p){return h("file:"),this.dispatch([p.name,p.size,p.type,p.lastModfied])},_blob:function(){if(d.ignoreUnknown)return h("[blob]");throw Error(`Hashing Blob objects is currently not supported
45
45
  (see https://github.com/puleos/object-hash/issues/26)
46
46
  Use "options.replacer" or "options.ignoreUnknown"
47
47
  `)},_domwindow:function(){return h("domwindow")},_bigint:function(p){return h("bigint:"+p.toString())},_process:function(){return h("process")},_timer:function(){return h("timer")},_pipe:function(){return h("pipe")},_tcp:function(){return h("tcp")},_udp:function(){return h("udp")},_tty:function(){return h("tty")},_statwatcher:function(){return h("statwatcher")},_securecontext:function(){return h("securecontext")},_connection:function(){return h("connection")},_zlib:function(){return h("zlib")},_context:function(){return h("context")},_nodescript:function(){return h("nodescript")},_httpparser:function(){return h("httpparser")},_dataview:function(){return h("dataview")},_signal:function(){return h("signal")},_fsevent:function(){return h("fsevent")},_tlswrap:function(){return h("tlswrap")}}}function S(){return{buf:"",write:function(d){this.buf+=d},end:function(d){this.buf+=d},read:function(){return this.buf}}}r.writeToStream=function(d,g,_){return _===void 0&&(_=g,g={}),E(g=u(d,g),_).dispatch(d)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){(function(k){var w=typeof Uint8Array<"u"?Uint8Array:Array,x=43,b=47,u=48,m=97,E=65,S=45,d=95;function g(_){return(_=_.charCodeAt(0))===x||_===S?62:_===b||_===d?63:_<u?-1:_<u+10?_-u+26+26:_<E+26?_-E:_<m+26?_-m+26:void 0}k.toByteArray=function(_){var h,p;if(0<_.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var T=_.length,f=(T=_.charAt(T-2)==="="?2:_.charAt(T-1)==="="?1:0,new w(3*_.length/4-T)),R=0<T?_.length-4:_.length,C=0;function I(D){f[C++]=D}for(h=0;h<R;h+=4,0)I((16711680&(p=g(_.charAt(h))<<18|g(_.charAt(h+1))<<12|g(_.charAt(h+2))<<6|g(_.charAt(h+3))))>>16),I((65280&p)>>8),I(255&p);return T==2?I(255&(p=g(_.charAt(h))<<2|g(_.charAt(h+1))>>4)):T==1&&(I((p=g(_.charAt(h))<<10|g(_.charAt(h+1))<<4|g(_.charAt(h+2))>>2)>>8&255),I(255&p)),f},k.fromByteArray=function(_){var h,p,T,f,R=_.length%3,C="";function I(D){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(D)}for(h=0,T=_.length-R;h<T;h+=3)C+=I((f=p=(_[h]<<16)+(_[h+1]<<8)+_[h+2])>>18&63)+I(f>>12&63)+I(f>>6&63)+I(63&f);switch(R){case 1:C=(C+=I((p=_[_.length-1])>>2))+I(p<<4&63)+"==";break;case 2:C=(C=(C+=I((p=(_[_.length-2]<<8)+_[_.length-1])>>10))+I(p>>4&63))+I(p<<2&63)+"="}return C}})(r===void 0?this.base64js={}:r)}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(n,i,x,o,s,l,c,y,v){var k=e("base64-js"),w=e("ieee754");function x(A,N,B){if(!(this instanceof x))return new x(A,N,B);var $,W,Z,ce,me=typeof A;if(N==="base64"&&me=="string")for(A=(ce=A).trim?ce.trim():ce.replace(/^\s+|\s+$/g,"");A.length%4!=0;)A+="=";if(me=="number")$=F(A);else if(me=="string")$=x.byteLength(A,N);else{if(me!="object")throw new Error("First argument needs to be a number, array or string.");$=F(A.length)}if(x._useTypedArrays?W=x._augment(new Uint8Array($)):((W=this).length=$,W._isBuffer=!0),x._useTypedArrays&&typeof A.byteLength=="number")W._set(A);else if(H(ce=A)||x.isBuffer(ce)||ce&&typeof ce=="object"&&typeof ce.length=="number")for(Z=0;Z<$;Z++)x.isBuffer(A)?W[Z]=A.readUInt8(Z):W[Z]=A[Z];else if(me=="string")W.write(A,0,N);else if(me=="number"&&!x._useTypedArrays&&!B)for(Z=0;Z<$;Z++)W[Z]=0;return W}function b(A,N,B,$){return x._charsWritten=U(function(W){for(var Z=[],ce=0;ce<W.length;ce++)Z.push(255&W.charCodeAt(ce));return Z}(N),A,B,$)}function u(A,N,B,$){return x._charsWritten=U(function(W){for(var Z,ce,me=[],xe=0;xe<W.length;xe++)Z=(ce=W.charCodeAt(xe))>>8,ce%=256,me.push(ce),me.push(Z);return me}(N),A,B,$)}function m(A,N,B){var $="";B=Math.min(A.length,B);for(var W=N;W<B;W++)$+=String.fromCharCode(A[W]);return $}function E(A,N,B,$){var W;if($||(J(typeof B=="boolean","missing or invalid endian"),J(N!=null,"missing offset"),J(N+1<A.length,"Trying to read beyond buffer length")),!(($=A.length)<=N))return B?(W=A[N],N+1<$&&(W|=A[N+1]<<8)):(W=A[N]<<8,N+1<$&&(W|=A[N+1])),W}function S(A,N,B,$){var W;if($||(J(typeof B=="boolean","missing or invalid endian"),J(N!=null,"missing offset"),J(N+3<A.length,"Trying to read beyond buffer length")),!(($=A.length)<=N))return B?(N+2<$&&(W=A[N+2]<<16),N+1<$&&(W|=A[N+1]<<8),W|=A[N],N+3<$&&(W+=A[N+3]<<24>>>0)):(N+1<$&&(W=A[N+1]<<16),N+2<$&&(W|=A[N+2]<<8),N+3<$&&(W|=A[N+3]),W+=A[N]<<24>>>0),W}function d(A,N,B,$){if($||(J(typeof B=="boolean","missing or invalid endian"),J(N!=null,"missing offset"),J(N+1<A.length,"Trying to read beyond buffer length")),!(A.length<=N))return 32768&($=E(A,N,B,!0))?-1*(65535-$+1):$}function g(A,N,B,$){if($||(J(typeof B=="boolean","missing or invalid endian"),J(N!=null,"missing offset"),J(N+3<A.length,"Trying to read beyond buffer length")),!(A.length<=N))return 2147483648&($=S(A,N,B,!0))?-1*(4294967295-$+1):$}function _(A,N,B,$){return $||(J(typeof B=="boolean","missing or invalid endian"),J(N+3<A.length,"Trying to read beyond buffer length")),w.read(A,N,B,23,4)}function h(A,N,B,$){return $||(J(typeof B=="boolean","missing or invalid endian"),J(N+7<A.length,"Trying to read beyond buffer length")),w.read(A,N,B,52,8)}function p(A,N,B,$,W){if(W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+1<A.length,"trying to write beyond buffer length"),ue(N,65535)),!((W=A.length)<=B))for(var Z=0,ce=Math.min(W-B,2);Z<ce;Z++)A[B+Z]=(N&255<<8*($?Z:1-Z))>>>8*($?Z:1-Z)}function T(A,N,B,$,W){if(W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+3<A.length,"trying to write beyond buffer length"),ue(N,4294967295)),!((W=A.length)<=B))for(var Z=0,ce=Math.min(W-B,4);Z<ce;Z++)A[B+Z]=N>>>8*($?Z:3-Z)&255}function f(A,N,B,$,W){W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+1<A.length,"Trying to write beyond buffer length"),ke(N,32767,-32768)),A.length<=B||p(A,0<=N?N:65535+N+1,B,$,W)}function R(A,N,B,$,W){W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+3<A.length,"Trying to write beyond buffer length"),ke(N,2147483647,-2147483648)),A.length<=B||T(A,0<=N?N:4294967295+N+1,B,$,W)}function C(A,N,B,$,W){W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+3<A.length,"Trying to write beyond buffer length"),Ae(N,34028234663852886e22,-34028234663852886e22)),A.length<=B||w.write(A,N,B,$,23,4)}function I(A,N,B,$,W){W||(J(N!=null,"missing value"),J(typeof $=="boolean","missing or invalid endian"),J(B!=null,"missing offset"),J(B+7<A.length,"Trying to write beyond buffer length"),Ae(N,17976931348623157e292,-17976931348623157e292)),A.length<=B||w.write(A,N,B,$,52,8)}r.Buffer=x,r.SlowBuffer=x,r.INSPECT_MAX_BYTES=50,x.poolSize=8192,x._useTypedArrays=function(){try{var A=new ArrayBuffer(0),N=new Uint8Array(A);return N.foo=function(){return 42},N.foo()===42&&typeof N.subarray=="function"}catch{return!1}}(),x.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.isBuffer=function(A){return!(A==null||!A._isBuffer)},x.byteLength=function(A,N){var B;switch(A+="",N||"utf8"){case"hex":B=A.length/2;break;case"utf8":case"utf-8":B=M(A).length;break;case"ascii":case"binary":case"raw":B=A.length;break;case"base64":B=j(A).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":B=2*A.length;break;default:throw new Error("Unknown encoding")}return B},x.concat=function(A,N){if(J(H(A),`Usage: Buffer.concat(list, [totalLength])
48
48
  list should be an Array.`),A.length===0)return new x(0);if(A.length===1)return A[0];if(typeof N!="number")for(W=N=0;W<A.length;W++)N+=A[W].length;for(var B=new x(N),$=0,W=0;W<A.length;W++){var Z=A[W];Z.copy(B,$),$+=Z.length}return B},x.prototype.write=function(A,N,B,$){isFinite(N)?isFinite(B)||($=B,B=void 0):(xe=$,$=N,N=B,B=xe),N=Number(N)||0;var W,Z,ce,me,xe=this.length-N;switch((!B||xe<(B=Number(B)))&&(B=xe),$=String($||"utf8").toLowerCase()){case"hex":W=function(Ie,Ne,ye,ve){ye=Number(ye)||0;var be=Ie.length-ye;(!ve||be<(ve=Number(ve)))&&(ve=be),J((be=Ne.length)%2==0,"Invalid hex string"),be/2<ve&&(ve=be/2);for(var $e=0;$e<ve;$e++){var Ft=parseInt(Ne.substr(2*$e,2),16);J(!isNaN(Ft),"Invalid hex string"),Ie[ye+$e]=Ft}return x._charsWritten=2*$e,$e}(this,A,N,B);break;case"utf8":case"utf-8":Z=this,ce=N,me=B,W=x._charsWritten=U(M(A),Z,ce,me);break;case"ascii":case"binary":W=b(this,A,N,B);break;case"base64":Z=this,ce=N,me=B,W=x._charsWritten=U(j(A),Z,ce,me);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":W=u(this,A,N,B);break;default:throw new Error("Unknown encoding")}return W},x.prototype.toString=function(A,N,B){var $,W,Z,ce,me=this;if(A=String(A||"utf8").toLowerCase(),N=Number(N)||0,(B=B!==void 0?Number(B):me.length)===N)return"";switch(A){case"hex":$=function(xe,Ie,Ne){var ye=xe.length;(!Ie||Ie<0)&&(Ie=0),(!Ne||Ne<0||ye<Ne)&&(Ne=ye);for(var ve="",be=Ie;be<Ne;be++)ve+=G(xe[be]);return ve}(me,N,B);break;case"utf8":case"utf-8":$=function(xe,Ie,Ne){var ye="",ve="";Ne=Math.min(xe.length,Ne);for(var be=Ie;be<Ne;be++)xe[be]<=127?(ye+=V(ve)+String.fromCharCode(xe[be]),ve=""):ve+="%"+xe[be].toString(16);return ye+V(ve)}(me,N,B);break;case"ascii":case"binary":$=m(me,N,B);break;case"base64":W=me,ce=B,$=(Z=N)===0&&ce===W.length?k.fromByteArray(W):k.fromByteArray(W.slice(Z,ce));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":$=function(xe,Ie,Ne){for(var ye=xe.slice(Ie,Ne),ve="",be=0;be<ye.length;be+=2)ve+=String.fromCharCode(ye[be]+256*ye[be+1]);return ve}(me,N,B);break;default:throw new Error("Unknown encoding")}return $},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},x.prototype.copy=function(A,N,B,$){if(N=N||0,($=$||$===0?$:this.length)!==(B=B||0)&&A.length!==0&&this.length!==0){J(B<=$,"sourceEnd < sourceStart"),J(0<=N&&N<A.length,"targetStart out of bounds"),J(0<=B&&B<this.length,"sourceStart out of bounds"),J(0<=$&&$<=this.length,"sourceEnd out of bounds"),$>this.length&&($=this.length);var W=($=A.length-N<$-B?A.length-N+B:$)-B;if(W<100||!x._useTypedArrays)for(var Z=0;Z<W;Z++)A[Z+N]=this[Z+B];else A._set(this.subarray(B,B+W),N)}},x.prototype.slice=function(A,N){var B=this.length;if(A=P(A,B,0),N=P(N,B,B),x._useTypedArrays)return x._augment(this.subarray(A,N));for(var $=N-A,W=new x($,void 0,!0),Z=0;Z<$;Z++)W[Z]=this[Z+A];return W},x.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},x.prototype.set=function(A,N){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,N)},x.prototype.readUInt8=function(A,N){if(N||(J(A!=null,"missing offset"),J(A<this.length,"Trying to read beyond buffer length")),!(A>=this.length))return this[A]},x.prototype.readUInt16LE=function(A,N){return E(this,A,!0,N)},x.prototype.readUInt16BE=function(A,N){return E(this,A,!1,N)},x.prototype.readUInt32LE=function(A,N){return S(this,A,!0,N)},x.prototype.readUInt32BE=function(A,N){return S(this,A,!1,N)},x.prototype.readInt8=function(A,N){if(N||(J(A!=null,"missing offset"),J(A<this.length,"Trying to read beyond buffer length")),!(A>=this.length))return 128&this[A]?-1*(255-this[A]+1):this[A]},x.prototype.readInt16LE=function(A,N){return d(this,A,!0,N)},x.prototype.readInt16BE=function(A,N){return d(this,A,!1,N)},x.prototype.readInt32LE=function(A,N){return g(this,A,!0,N)},x.prototype.readInt32BE=function(A,N){return g(this,A,!1,N)},x.prototype.readFloatLE=function(A,N){return _(this,A,!0,N)},x.prototype.readFloatBE=function(A,N){return _(this,A,!1,N)},x.prototype.readDoubleLE=function(A,N){return h(this,A,!0,N)},x.prototype.readDoubleBE=function(A,N){return h(this,A,!1,N)},x.prototype.writeUInt8=function(A,N,B){B||(J(A!=null,"missing value"),J(N!=null,"missing offset"),J(N<this.length,"trying to write beyond buffer length"),ue(A,255)),N>=this.length||(this[N]=A)},x.prototype.writeUInt16LE=function(A,N,B){p(this,A,N,!0,B)},x.prototype.writeUInt16BE=function(A,N,B){p(this,A,N,!1,B)},x.prototype.writeUInt32LE=function(A,N,B){T(this,A,N,!0,B)},x.prototype.writeUInt32BE=function(A,N,B){T(this,A,N,!1,B)},x.prototype.writeInt8=function(A,N,B){B||(J(A!=null,"missing value"),J(N!=null,"missing offset"),J(N<this.length,"Trying to write beyond buffer length"),ke(A,127,-128)),N>=this.length||(0<=A?this.writeUInt8(A,N,B):this.writeUInt8(255+A+1,N,B))},x.prototype.writeInt16LE=function(A,N,B){f(this,A,N,!0,B)},x.prototype.writeInt16BE=function(A,N,B){f(this,A,N,!1,B)},x.prototype.writeInt32LE=function(A,N,B){R(this,A,N,!0,B)},x.prototype.writeInt32BE=function(A,N,B){R(this,A,N,!1,B)},x.prototype.writeFloatLE=function(A,N,B){C(this,A,N,!0,B)},x.prototype.writeFloatBE=function(A,N,B){C(this,A,N,!1,B)},x.prototype.writeDoubleLE=function(A,N,B){I(this,A,N,!0,B)},x.prototype.writeDoubleBE=function(A,N,B){I(this,A,N,!1,B)},x.prototype.fill=function(A,N,B){if(N=N||0,B=B||this.length,J(typeof(A=typeof(A=A||0)=="string"?A.charCodeAt(0):A)=="number"&&!isNaN(A),"value is not a number"),J(N<=B,"end < start"),B!==N&&this.length!==0){J(0<=N&&N<this.length,"start out of bounds"),J(0<=B&&B<=this.length,"end out of bounds");for(var $=N;$<B;$++)this[$]=A}},x.prototype.inspect=function(){for(var A=[],N=this.length,B=0;B<N;B++)if(A[B]=G(this[B]),B===r.INSPECT_MAX_BYTES){A[B+1]="...";break}return"<Buffer "+A.join(" ")+">"},x.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(x._useTypedArrays)return new x(this).buffer;for(var A=new Uint8Array(this.length),N=0,B=A.length;N<B;N+=1)A[N]=this[N];return A.buffer};var D=x.prototype;function P(A,N,B){return typeof A!="number"?B:N<=(A=~~A)?N:0<=A||0<=(A+=N)?A:0}function F(A){return(A=~~Math.ceil(+A))<0?0:A}function H(A){return(Array.isArray||function(N){return Object.prototype.toString.call(N)==="[object Array]"})(A)}function G(A){return A<16?"0"+A.toString(16):A.toString(16)}function M(A){for(var N=[],B=0;B<A.length;B++){var $=A.charCodeAt(B);if($<=127)N.push(A.charCodeAt(B));else for(var W=B,Z=(55296<=$&&$<=57343&&B++,encodeURIComponent(A.slice(W,B+1)).substr(1).split("%")),ce=0;ce<Z.length;ce++)N.push(parseInt(Z[ce],16))}return N}function j(A){return k.toByteArray(A)}function U(A,N,B,$){for(var W=0;W<$&&!(W+B>=N.length||W>=A.length);W++)N[W+B]=A[W];return W}function V(A){try{return decodeURIComponent(A)}catch{return"\uFFFD"}}function ue(A,N){J(typeof A=="number","cannot write a non-number as a number"),J(0<=A,"specified a negative value for writing an unsigned value"),J(A<=N,"value is larger than maximum value for type"),J(Math.floor(A)===A,"value has a fractional component")}function ke(A,N,B){J(typeof A=="number","cannot write a non-number as a number"),J(A<=N,"value larger than maximum allowed value"),J(B<=A,"value smaller than minimum allowed value"),J(Math.floor(A)===A,"value has a fractional component")}function Ae(A,N,B){J(typeof A=="number","cannot write a non-number as a number"),J(A<=N,"value larger than maximum allowed value"),J(B<=A,"value smaller than minimum allowed value")}function J(A,N){if(!A)throw new Error(N||"Failed assertion")}x._augment=function(A){return A._isBuffer=!0,A._get=A.get,A._set=A.set,A.get=D.get,A.set=D.set,A.write=D.write,A.toString=D.toString,A.toLocaleString=D.toString,A.toJSON=D.toJSON,A.copy=D.copy,A.slice=D.slice,A.readUInt8=D.readUInt8,A.readUInt16LE=D.readUInt16LE,A.readUInt16BE=D.readUInt16BE,A.readUInt32LE=D.readUInt32LE,A.readUInt32BE=D.readUInt32BE,A.readInt8=D.readInt8,A.readInt16LE=D.readInt16LE,A.readInt16BE=D.readInt16BE,A.readInt32LE=D.readInt32LE,A.readInt32BE=D.readInt32BE,A.readFloatLE=D.readFloatLE,A.readFloatBE=D.readFloatBE,A.readDoubleLE=D.readDoubleLE,A.readDoubleBE=D.readDoubleBE,A.writeUInt8=D.writeUInt8,A.writeUInt16LE=D.writeUInt16LE,A.writeUInt16BE=D.writeUInt16BE,A.writeUInt32LE=D.writeUInt32LE,A.writeUInt32BE=D.writeUInt32BE,A.writeInt8=D.writeInt8,A.writeInt16LE=D.writeInt16LE,A.writeInt16BE=D.writeInt16BE,A.writeInt32LE=D.writeInt32LE,A.writeInt32BE=D.writeInt32BE,A.writeFloatLE=D.writeFloatLE,A.writeFloatBE=D.writeFloatBE,A.writeDoubleLE=D.writeDoubleLE,A.writeDoubleBE=D.writeDoubleBE,A.fill=D.fill,A.inspect=D.inspect,A.toArrayBuffer=D.toArrayBuffer,A}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){a=e("buffer").Buffer;var k=4,w=new a(k);w.fill(0),t.exports={hash:function(x,b,u,m){for(var E=b(function(_,h){_.length%k!=0&&(p=_.length+(k-_.length%k),_=a.concat([_,w],p));for(var p,T=[],f=h?_.readInt32BE:_.readInt32LE,R=0;R<_.length;R+=k)T.push(f.call(_,R));return T}(x=a.isBuffer(x)?x:new a(x),m),8*x.length),S=(b=m,new a(u)),d=b?S.writeInt32BE:S.writeInt32LE,g=0;g<E.length;g++)d.call(S,E[g],4*g,!0);return S}}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){a=e("buffer").Buffer;var k=e("./sha"),w=e("./sha256"),x=e("./rng"),b={sha1:k,sha256:w,md5:e("./md5")},u=64,m=new a(u);function E(h,p){var T=b[h=h||"sha1"],f=[];return T||S("algorithm:",h,"is not yet supported"),{update:function(R){return a.isBuffer(R)||(R=new a(R)),f.push(R),R.length,this},digest:function(R){var C=a.concat(f);return C=p?function(I,D,P){a.isBuffer(D)||(D=new a(D)),a.isBuffer(P)||(P=new a(P)),D.length>u?D=I(D):D.length<u&&(D=a.concat([D,m],u));for(var F=new a(u),H=new a(u),G=0;G<u;G++)F[G]=54^D[G],H[G]=92^D[G];return P=I(a.concat([F,P])),I(a.concat([H,P]))}(T,p,C):T(C),f=null,R?C.toString(R):C}}}function S(){var h=[].slice.call(arguments).join(" ");throw new Error([h,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
49
- `))}m.fill(0),r.createHash=function(h){return E(h)},r.createHmac=E,r.randomBytes=function(h,p){if(!p||!p.call)return new a(x(h));try{p.call(this,void 0,new a(x(h)))}catch(T){p(T)}};var d,g=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],_=function(h){r[h]=function(){S("sorry,",h,"is not implemented yet")}};for(d in g)_(g[d])}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("./helpers");function w(d,g){d[g>>5]|=128<<g%32,d[14+(g+64>>>9<<4)]=g;for(var _=1732584193,h=-271733879,p=-1732584194,T=271733878,f=0;f<d.length;f+=16){var R=_,C=h,I=p,D=T;_=b(_,h,p,T,d[f+0],7,-680876936),T=b(T,_,h,p,d[f+1],12,-389564586),p=b(p,T,_,h,d[f+2],17,606105819),h=b(h,p,T,_,d[f+3],22,-1044525330),_=b(_,h,p,T,d[f+4],7,-176418897),T=b(T,_,h,p,d[f+5],12,1200080426),p=b(p,T,_,h,d[f+6],17,-1473231341),h=b(h,p,T,_,d[f+7],22,-45705983),_=b(_,h,p,T,d[f+8],7,1770035416),T=b(T,_,h,p,d[f+9],12,-1958414417),p=b(p,T,_,h,d[f+10],17,-42063),h=b(h,p,T,_,d[f+11],22,-1990404162),_=b(_,h,p,T,d[f+12],7,1804603682),T=b(T,_,h,p,d[f+13],12,-40341101),p=b(p,T,_,h,d[f+14],17,-1502002290),_=u(_,h=b(h,p,T,_,d[f+15],22,1236535329),p,T,d[f+1],5,-165796510),T=u(T,_,h,p,d[f+6],9,-1069501632),p=u(p,T,_,h,d[f+11],14,643717713),h=u(h,p,T,_,d[f+0],20,-373897302),_=u(_,h,p,T,d[f+5],5,-701558691),T=u(T,_,h,p,d[f+10],9,38016083),p=u(p,T,_,h,d[f+15],14,-660478335),h=u(h,p,T,_,d[f+4],20,-405537848),_=u(_,h,p,T,d[f+9],5,568446438),T=u(T,_,h,p,d[f+14],9,-1019803690),p=u(p,T,_,h,d[f+3],14,-187363961),h=u(h,p,T,_,d[f+8],20,1163531501),_=u(_,h,p,T,d[f+13],5,-1444681467),T=u(T,_,h,p,d[f+2],9,-51403784),p=u(p,T,_,h,d[f+7],14,1735328473),_=m(_,h=u(h,p,T,_,d[f+12],20,-1926607734),p,T,d[f+5],4,-378558),T=m(T,_,h,p,d[f+8],11,-2022574463),p=m(p,T,_,h,d[f+11],16,1839030562),h=m(h,p,T,_,d[f+14],23,-35309556),_=m(_,h,p,T,d[f+1],4,-1530992060),T=m(T,_,h,p,d[f+4],11,1272893353),p=m(p,T,_,h,d[f+7],16,-155497632),h=m(h,p,T,_,d[f+10],23,-1094730640),_=m(_,h,p,T,d[f+13],4,681279174),T=m(T,_,h,p,d[f+0],11,-358537222),p=m(p,T,_,h,d[f+3],16,-722521979),h=m(h,p,T,_,d[f+6],23,76029189),_=m(_,h,p,T,d[f+9],4,-640364487),T=m(T,_,h,p,d[f+12],11,-421815835),p=m(p,T,_,h,d[f+15],16,530742520),_=E(_,h=m(h,p,T,_,d[f+2],23,-995338651),p,T,d[f+0],6,-198630844),T=E(T,_,h,p,d[f+7],10,1126891415),p=E(p,T,_,h,d[f+14],15,-1416354905),h=E(h,p,T,_,d[f+5],21,-57434055),_=E(_,h,p,T,d[f+12],6,1700485571),T=E(T,_,h,p,d[f+3],10,-1894986606),p=E(p,T,_,h,d[f+10],15,-1051523),h=E(h,p,T,_,d[f+1],21,-2054922799),_=E(_,h,p,T,d[f+8],6,1873313359),T=E(T,_,h,p,d[f+15],10,-30611744),p=E(p,T,_,h,d[f+6],15,-1560198380),h=E(h,p,T,_,d[f+13],21,1309151649),_=E(_,h,p,T,d[f+4],6,-145523070),T=E(T,_,h,p,d[f+11],10,-1120210379),p=E(p,T,_,h,d[f+2],15,718787259),h=E(h,p,T,_,d[f+9],21,-343485551),_=S(_,R),h=S(h,C),p=S(p,I),T=S(T,D)}return Array(_,h,p,T)}function x(d,g,_,h,p,T){return S((g=S(S(g,d),S(h,T)))<<p|g>>>32-p,_)}function b(d,g,_,h,p,T,f){return x(g&_|~g&h,d,g,p,T,f)}function u(d,g,_,h,p,T,f){return x(g&h|_&~h,d,g,p,T,f)}function m(d,g,_,h,p,T,f){return x(g^_^h,d,g,p,T,f)}function E(d,g,_,h,p,T,f){return x(_^(g|~h),d,g,p,T,f)}function S(d,g){var _=(65535&d)+(65535&g);return(d>>16)+(g>>16)+(_>>16)<<16|65535&_}t.exports=function(d){return k.hash(d,w,16)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){t.exports=function(k){for(var w,x=new Array(k),b=0;b<k;b++)!(3&b)&&(w=4294967296*Math.random()),x[b]=w>>>((3&b)<<3)&255;return x}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("./helpers");function w(u,m){u[m>>5]|=128<<24-m%32,u[15+(m+64>>9<<4)]=m;for(var E,S,d,g=Array(80),_=1732584193,h=-271733879,p=-1732584194,T=271733878,f=-1009589776,R=0;R<u.length;R+=16){for(var C=_,I=h,D=p,P=T,F=f,H=0;H<80;H++){g[H]=H<16?u[R+H]:b(g[H-3]^g[H-8]^g[H-14]^g[H-16],1);var G=x(x(b(_,5),(G=h,S=p,d=T,(E=H)<20?G&S|~G&d:!(E<40)&&E<60?G&S|G&d|S&d:G^S^d)),x(x(f,g[H]),(E=H)<20?1518500249:E<40?1859775393:E<60?-1894007588:-899497514));f=T,T=p,p=b(h,30),h=_,_=G}_=x(_,C),h=x(h,I),p=x(p,D),T=x(T,P),f=x(f,F)}return Array(_,h,p,T,f)}function x(u,m){var E=(65535&u)+(65535&m);return(u>>16)+(m>>16)+(E>>16)<<16|65535&E}function b(u,m){return u<<m|u>>>32-m}t.exports=function(u){return k.hash(u,w,20,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){function k(m,E){var S=(65535&m)+(65535&E);return(m>>16)+(E>>16)+(S>>16)<<16|65535&S}function w(m,E){var S,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),g=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),_=new Array(64);m[E>>5]|=128<<24-E%32,m[15+(E+64>>9<<4)]=E;for(var h,p,T=0;T<m.length;T+=16){for(var f=g[0],R=g[1],C=g[2],I=g[3],D=g[4],P=g[5],F=g[6],H=g[7],G=0;G<64;G++)_[G]=G<16?m[G+T]:k(k(k((p=_[G-2],b(p,17)^b(p,19)^u(p,10)),_[G-7]),(p=_[G-15],b(p,7)^b(p,18)^u(p,3))),_[G-16]),S=k(k(k(k(H,b(p=D,6)^b(p,11)^b(p,25)),D&P^~D&F),d[G]),_[G]),h=k(b(h=f,2)^b(h,13)^b(h,22),f&R^f&C^R&C),H=F,F=P,P=D,D=k(I,S),I=C,C=R,R=f,f=k(S,h);g[0]=k(f,g[0]),g[1]=k(R,g[1]),g[2]=k(C,g[2]),g[3]=k(I,g[3]),g[4]=k(D,g[4]),g[5]=k(P,g[5]),g[6]=k(F,g[6]),g[7]=k(H,g[7])}return g}var x=e("./helpers"),b=function(m,E){return m>>>E|m<<32-E},u=function(m,E){return m>>>E};t.exports=function(m){return x.hash(m,w,32,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){r.read=function(k,w,x,b,u){var m,E,S=8*u-b-1,d=(1<<S)-1,g=d>>1,_=-7,h=x?u-1:0,p=x?-1:1;for(u=k[w+h],h+=p,m=u&(1<<-_)-1,u>>=-_,_+=S;0<_;m=256*m+k[w+h],h+=p,_-=8);for(E=m&(1<<-_)-1,m>>=-_,_+=b;0<_;E=256*E+k[w+h],h+=p,_-=8);if(m===0)m=1-g;else{if(m===d)return E?NaN:1/0*(u?-1:1);E+=Math.pow(2,b),m-=g}return(u?-1:1)*E*Math.pow(2,m-b)},r.write=function(k,w,x,b,u,m){var E,S,d=8*m-u-1,g=(1<<d)-1,_=g>>1,h=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=b?0:m-1,T=b?1:-1;for(m=w<0||w===0&&1/w<0?1:0,w=Math.abs(w),isNaN(w)||w===1/0?(S=isNaN(w)?1:0,E=g):(E=Math.floor(Math.log(w)/Math.LN2),w*(b=Math.pow(2,-E))<1&&(E--,b*=2),2<=(w+=1<=E+_?h/b:h*Math.pow(2,1-_))*b&&(E++,b/=2),g<=E+_?(S=0,E=g):1<=E+_?(S=(w*b-1)*Math.pow(2,u),E+=_):(S=w*Math.pow(2,_-1)*Math.pow(2,u),E=0));8<=u;k[x+p]=255&S,p+=T,S/=256,u-=8);for(E=E<<u|S,d+=u;0<d;k[x+p]=255&E,p+=T,E/=256,d-=8);k[x+p-T]|=128*m}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k,w,x;function b(){}(n=t.exports={}).nextTick=(w=typeof window<"u"&&window.setImmediate,x=typeof window<"u"&&window.postMessage&&window.addEventListener,w?function(u){return window.setImmediate(u)}:x?(k=[],window.addEventListener("message",function(u){var m=u.source;m!==window&&m!==null||u.data!=="process-tick"||(u.stopPropagation(),0<k.length&&k.shift()())},!0),function(u){k.push(u),window.postMessage("process-tick","*")}):function(u){setTimeout(u,0)}),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=b,n.addListener=b,n.once=b,n.off=b,n.removeListener=b,n.removeAllListeners=b,n.emit=b,n.binding=function(u){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(u){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)),Is.exports);const qs=lr(Uu),Je=class Gl{static setAutoComplete(t){this.autoComplete=t}static auth(t){return Le(this,null,function*(){yield Xe.auth(t)})}static toMJML(t){const r=Xe.getAuthState();if(r==="PENDING")throw new Error("Please call EditorCore.auth first");if(r==="ERROR")throw new Error("Auth error");const{element:n,pageElement:i,beautify:a,universalElements:o,mode:s,displayMode:l="desktop-mobile",idx:c,mergetagsData:y,attributesVariables:v}=t,k=t.outputFormat||"mjml",w=ee.getBlockByType(n.type);if(!w)throw new Error(`Block ${n.type} not found`);if(!i&&w.category!==z.PAGE)throw new Error("Page element is required if element is not a page");const x=o?Gl.transformUniversalElements({universalElements:o.elements,content:Te(n)}):Te(n),b=new Fn({mode:s}),u={content:i||n};let m="",E="",S=c;if(w.category===z.PAGE){S=te.getPageIdx();const _=Te(i||x);if(_.attributes=ot(_.attributes,"content-background-color"),t.headerElement||t.footerElement){if(!Xe.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const h={content:_};t.headerElement&&(m=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:h,displayMode:l,outputFormat:k,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:Te(t.headerElement)})))))),t.footerElement&&(E=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:h,displayMode:l,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v,outputFormat:k},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:Te(t.footerElement)}))))))}}let d=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:u,displayMode:l,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v,outputFormat:k},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:x})))));const g=b.getHeadContent();return d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=Xe.getFeatureEnabled("REMOVE_BRAND")?d.replace(/\<!-- EASY_EMAIL_BRAND --\>/g,""):d.replace(/\<!-- EASY_EMAIL_BRAND --\>/,`<mj-section padding-top="20px" padding-bottom="0px">
49
+ `))}m.fill(0),r.createHash=function(h){return E(h)},r.createHmac=E,r.randomBytes=function(h,p){if(!p||!p.call)return new a(x(h));try{p.call(this,void 0,new a(x(h)))}catch(T){p(T)}};var d,g=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],_=function(h){r[h]=function(){S("sorry,",h,"is not implemented yet")}};for(d in g)_(g[d])}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("./helpers");function w(d,g){d[g>>5]|=128<<g%32,d[14+(g+64>>>9<<4)]=g;for(var _=1732584193,h=-271733879,p=-1732584194,T=271733878,f=0;f<d.length;f+=16){var R=_,C=h,I=p,D=T;_=b(_,h,p,T,d[f+0],7,-680876936),T=b(T,_,h,p,d[f+1],12,-389564586),p=b(p,T,_,h,d[f+2],17,606105819),h=b(h,p,T,_,d[f+3],22,-1044525330),_=b(_,h,p,T,d[f+4],7,-176418897),T=b(T,_,h,p,d[f+5],12,1200080426),p=b(p,T,_,h,d[f+6],17,-1473231341),h=b(h,p,T,_,d[f+7],22,-45705983),_=b(_,h,p,T,d[f+8],7,1770035416),T=b(T,_,h,p,d[f+9],12,-1958414417),p=b(p,T,_,h,d[f+10],17,-42063),h=b(h,p,T,_,d[f+11],22,-1990404162),_=b(_,h,p,T,d[f+12],7,1804603682),T=b(T,_,h,p,d[f+13],12,-40341101),p=b(p,T,_,h,d[f+14],17,-1502002290),_=u(_,h=b(h,p,T,_,d[f+15],22,1236535329),p,T,d[f+1],5,-165796510),T=u(T,_,h,p,d[f+6],9,-1069501632),p=u(p,T,_,h,d[f+11],14,643717713),h=u(h,p,T,_,d[f+0],20,-373897302),_=u(_,h,p,T,d[f+5],5,-701558691),T=u(T,_,h,p,d[f+10],9,38016083),p=u(p,T,_,h,d[f+15],14,-660478335),h=u(h,p,T,_,d[f+4],20,-405537848),_=u(_,h,p,T,d[f+9],5,568446438),T=u(T,_,h,p,d[f+14],9,-1019803690),p=u(p,T,_,h,d[f+3],14,-187363961),h=u(h,p,T,_,d[f+8],20,1163531501),_=u(_,h,p,T,d[f+13],5,-1444681467),T=u(T,_,h,p,d[f+2],9,-51403784),p=u(p,T,_,h,d[f+7],14,1735328473),_=m(_,h=u(h,p,T,_,d[f+12],20,-1926607734),p,T,d[f+5],4,-378558),T=m(T,_,h,p,d[f+8],11,-2022574463),p=m(p,T,_,h,d[f+11],16,1839030562),h=m(h,p,T,_,d[f+14],23,-35309556),_=m(_,h,p,T,d[f+1],4,-1530992060),T=m(T,_,h,p,d[f+4],11,1272893353),p=m(p,T,_,h,d[f+7],16,-155497632),h=m(h,p,T,_,d[f+10],23,-1094730640),_=m(_,h,p,T,d[f+13],4,681279174),T=m(T,_,h,p,d[f+0],11,-358537222),p=m(p,T,_,h,d[f+3],16,-722521979),h=m(h,p,T,_,d[f+6],23,76029189),_=m(_,h,p,T,d[f+9],4,-640364487),T=m(T,_,h,p,d[f+12],11,-421815835),p=m(p,T,_,h,d[f+15],16,530742520),_=E(_,h=m(h,p,T,_,d[f+2],23,-995338651),p,T,d[f+0],6,-198630844),T=E(T,_,h,p,d[f+7],10,1126891415),p=E(p,T,_,h,d[f+14],15,-1416354905),h=E(h,p,T,_,d[f+5],21,-57434055),_=E(_,h,p,T,d[f+12],6,1700485571),T=E(T,_,h,p,d[f+3],10,-1894986606),p=E(p,T,_,h,d[f+10],15,-1051523),h=E(h,p,T,_,d[f+1],21,-2054922799),_=E(_,h,p,T,d[f+8],6,1873313359),T=E(T,_,h,p,d[f+15],10,-30611744),p=E(p,T,_,h,d[f+6],15,-1560198380),h=E(h,p,T,_,d[f+13],21,1309151649),_=E(_,h,p,T,d[f+4],6,-145523070),T=E(T,_,h,p,d[f+11],10,-1120210379),p=E(p,T,_,h,d[f+2],15,718787259),h=E(h,p,T,_,d[f+9],21,-343485551),_=S(_,R),h=S(h,C),p=S(p,I),T=S(T,D)}return Array(_,h,p,T)}function x(d,g,_,h,p,T){return S((g=S(S(g,d),S(h,T)))<<p|g>>>32-p,_)}function b(d,g,_,h,p,T,f){return x(g&_|~g&h,d,g,p,T,f)}function u(d,g,_,h,p,T,f){return x(g&h|_&~h,d,g,p,T,f)}function m(d,g,_,h,p,T,f){return x(g^_^h,d,g,p,T,f)}function E(d,g,_,h,p,T,f){return x(_^(g|~h),d,g,p,T,f)}function S(d,g){var _=(65535&d)+(65535&g);return(d>>16)+(g>>16)+(_>>16)<<16|65535&_}t.exports=function(d){return k.hash(d,w,16)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){t.exports=function(k){for(var w,x=new Array(k),b=0;b<k;b++)!(3&b)&&(w=4294967296*Math.random()),x[b]=w>>>((3&b)<<3)&255;return x}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k=e("./helpers");function w(u,m){u[m>>5]|=128<<24-m%32,u[15+(m+64>>9<<4)]=m;for(var E,S,d,g=Array(80),_=1732584193,h=-271733879,p=-1732584194,T=271733878,f=-1009589776,R=0;R<u.length;R+=16){for(var C=_,I=h,D=p,P=T,F=f,H=0;H<80;H++){g[H]=H<16?u[R+H]:b(g[H-3]^g[H-8]^g[H-14]^g[H-16],1);var G=x(x(b(_,5),(G=h,S=p,d=T,(E=H)<20?G&S|~G&d:!(E<40)&&E<60?G&S|G&d|S&d:G^S^d)),x(x(f,g[H]),(E=H)<20?1518500249:E<40?1859775393:E<60?-1894007588:-899497514));f=T,T=p,p=b(h,30),h=_,_=G}_=x(_,C),h=x(h,I),p=x(p,D),T=x(T,P),f=x(f,F)}return Array(_,h,p,T,f)}function x(u,m){var E=(65535&u)+(65535&m);return(u>>16)+(m>>16)+(E>>16)<<16|65535&E}function b(u,m){return u<<m|u>>>32-m}t.exports=function(u){return k.hash(u,w,20,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){function k(m,E){var S=(65535&m)+(65535&E);return(m>>16)+(E>>16)+(S>>16)<<16|65535&S}function w(m,E){var S,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),g=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),_=new Array(64);m[E>>5]|=128<<24-E%32,m[15+(E+64>>9<<4)]=E;for(var h,p,T=0;T<m.length;T+=16){for(var f=g[0],R=g[1],C=g[2],I=g[3],D=g[4],P=g[5],F=g[6],H=g[7],G=0;G<64;G++)_[G]=G<16?m[G+T]:k(k(k((p=_[G-2],b(p,17)^b(p,19)^u(p,10)),_[G-7]),(p=_[G-15],b(p,7)^b(p,18)^u(p,3))),_[G-16]),S=k(k(k(k(H,b(p=D,6)^b(p,11)^b(p,25)),D&P^~D&F),d[G]),_[G]),h=k(b(h=f,2)^b(h,13)^b(h,22),f&R^f&C^R&C),H=F,F=P,P=D,D=k(I,S),I=C,C=R,R=f,f=k(S,h);g[0]=k(f,g[0]),g[1]=k(R,g[1]),g[2]=k(C,g[2]),g[3]=k(I,g[3]),g[4]=k(D,g[4]),g[5]=k(P,g[5]),g[6]=k(F,g[6]),g[7]=k(H,g[7])}return g}var x=e("./helpers"),b=function(m,E){return m>>>E|m<<32-E},u=function(m,E){return m>>>E};t.exports=function(m){return x.hash(m,w,32,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){r.read=function(k,w,x,b,u){var m,E,S=8*u-b-1,d=(1<<S)-1,g=d>>1,_=-7,h=x?u-1:0,p=x?-1:1;for(u=k[w+h],h+=p,m=u&(1<<-_)-1,u>>=-_,_+=S;0<_;m=256*m+k[w+h],h+=p,_-=8);for(E=m&(1<<-_)-1,m>>=-_,_+=b;0<_;E=256*E+k[w+h],h+=p,_-=8);if(m===0)m=1-g;else{if(m===d)return E?NaN:1/0*(u?-1:1);E+=Math.pow(2,b),m-=g}return(u?-1:1)*E*Math.pow(2,m-b)},r.write=function(k,w,x,b,u,m){var E,S,d=8*m-u-1,g=(1<<d)-1,_=g>>1,h=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=b?0:m-1,T=b?1:-1;for(m=w<0||w===0&&1/w<0?1:0,w=Math.abs(w),isNaN(w)||w===1/0?(S=isNaN(w)?1:0,E=g):(E=Math.floor(Math.log(w)/Math.LN2),w*(b=Math.pow(2,-E))<1&&(E--,b*=2),2<=(w+=1<=E+_?h/b:h*Math.pow(2,1-_))*b&&(E++,b/=2),g<=E+_?(S=0,E=g):1<=E+_?(S=(w*b-1)*Math.pow(2,u),E+=_):(S=w*Math.pow(2,_-1)*Math.pow(2,u),E=0));8<=u;k[x+p]=255&S,p+=T,S/=256,u-=8);for(E=E<<u|S,d+=u;0<d;k[x+p]=255&E,p+=T,E/=256,d-=8);k[x+p-T]|=128*m}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(n,i,a,o,s,l,c,y,v){var k,w,x;function b(){}(n=t.exports={}).nextTick=(w=typeof window<"u"&&window.setImmediate,x=typeof window<"u"&&window.postMessage&&window.addEventListener,w?function(u){return window.setImmediate(u)}:x?(k=[],window.addEventListener("message",function(u){var m=u.source;m!==window&&m!==null||u.data!=="process-tick"||(u.stopPropagation(),0<k.length&&k.shift()())},!0),function(u){k.push(u),window.postMessage("process-tick","*")}):function(u){setTimeout(u,0)}),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=b,n.addListener=b,n.once=b,n.off=b,n.removeListener=b,n.removeAllListeners=b,n.emit=b,n.binding=function(u){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(u){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)),Cs.exports);const Is=lr(Uu),Je=class Gl{static setAutoComplete(t){this.autoComplete=t}static auth(t){return Le(this,null,function*(){yield Xe.auth(t)})}static toMJML(t){const r=Xe.getAuthState();if(r==="PENDING")throw new Error("Please call EditorCore.auth first");if(r==="ERROR")throw new Error("Auth error");const{element:n,pageElement:i,beautify:a,universalElements:o,mode:s,displayMode:l="desktop-mobile",idx:c,mergetagsData:y,attributesVariables:v}=t,k=t.outputFormat||"mjml",w=ee.getBlockByType(n.type);if(!w)throw new Error(`Block ${n.type} not found`);if(!i&&w.category!==z.PAGE)throw new Error("Page element is required if element is not a page");const x=o?Gl.transformUniversalElements({universalElements:o.elements,content:Te(n)}):Te(n),b=new Fn({mode:s}),u={content:i||n};let m="",E="",S=c;if(w.category===z.PAGE){S=te.getPageIdx();const _=Te(i||x);if(_.attributes=ot(_.attributes,"content-background-color"),t.headerElement||t.footerElement){if(!Xe.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const h={content:_};t.headerElement&&(m=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:h,displayMode:l,outputFormat:k,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:Te(t.headerElement)})))))),t.footerElement&&(E=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:h,displayMode:l,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v,outputFormat:k},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:Te(t.footerElement)}))))))}}let d=Rt.unescape($t(O.createElement(Ye,{universalElements:o,mode:t.mode,context:u,displayMode:l,keepEmptyAttributes:!!t.keepEmptyAttributes,mergetagsData:y,attributesVariables:v,outputFormat:k},O.createElement(Kt,{context:b},O.createElement(oe,{idx:S,node:x})))));const g=b.getHeadContent();return d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=Xe.getFeatureEnabled("REMOVE_BRAND")?d.replace(/\<!-- EASY_EMAIL_BRAND --\>/g,""):d.replace(/\<!-- EASY_EMAIL_BRAND --\>/,`<mj-section padding-top="20px" padding-bottom="0px">
50
50
  <mj-column width="150px">
51
51
  <mj-image target="_blank" alt="easy email pro" href="https://www.easyemail.pro/?utm_source=brand_logo&utm_client_id=${Xe.clientId}" padding="5px 10px" container-background-color="#fafafa" src="https://cdn.shopify.com/s/files/1/0863/8971/9346/files/image.png" />
52
52
  </mj-column>
53
- </mj-section>`),d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=d.replace(/\<!-- EASY_EMAIL_FROZEN_HEADER --\>/,m).replace(/\<!-- EASY_EMAIL_FROZEN_FOOTER --\>/,E),t.mode!=="production"&&(d=d.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?Pu.html(d,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):d}static translate(t){return Le(this,null,function*(){if(!Xe.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const r=[t.template.subject],n=s=>{var l;te.isMergetagElement(s)||(te.isElement(s)&&s.children.forEach(c=>{te.isTextNode(c)?c.text.trim()&&r.push(c.text):n(c)}),(l=t.helper)!=null&&l.extract&&t.helper.extract(s,r))};n(t.template.content);const i=yield t.translate([...new Set(r)]),a=s=>{var l;te.isMergetagElement(s)||(te.isElement(s)&&s.children.forEach(c=>{te.isTextNode(c)?c.text.trim()&&(c.text=i[c.text]):a(c)}),(l=t.helper)!=null&&l.replace&&t.helper.replace(s,i))},o=Te(t.template.content);return a(o),{content:o,subject:i[t.template.subject]}})}static elementToMjml(t,r){const n=new Fn({mode:r.mode});return Rt.unescape($t(O.createElement(Ye,{outputFormat:r.outputFormat||"mjml",universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData,attributesVariables:r.attributesVariables},O.createElement(Kt,{context:n},O.createElement(oe,{node:Te(t)})))))}static elementComponentToMjml(t,r){const n=new Fn({mode:r.mode});return Rt.unescape($t(O.createElement(Ye,{outputFormat:r.outputFormat||"mjml",universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData,attributesVariables:r.attributesVariables},O.createElement(Kt,{context:n},t))))}static isPageDataVariable(t){return/\$var\(([\s\S]+)\)/g.test(t)}};ae(Je,"autoComplete",!1),ae(Je,"version","0.14.0"),ae(Je,"mjmlToBlockElement",function(e){if(!e.trim())return{text:""};const t=new DOMParser,r=e.replace(/&nbsp;/g," ").replace(/&/g,"&amp;"),n=t.parseFromString(r,"text/xml"),i=a=>{if(!a)return{text:""};if(a.nodeType===8)return ee.getBlockByType(L.RAW).create({data:{content:a.textContent||""}});if(a.nodeType===3)return{text:a.textContent||""};if(a.nodeType!==1)throw console.log("Invalid Node",a,a.nodeType),new Error("Invalid Node");const o=a;if(!o.tagName.toLocaleLowerCase().startsWith("mj-"))return Yt(o,i);let s={},l=o.tagName.toLocaleLowerCase().replace("mj-",""),c=o.getAttributeNames().filter(k=>!k.startsWith("element-")).reduce((k,w)=>X(q({},k),{[w]:o.getAttribute(w)||""}),{});o.getAttribute("element-type")&&(l=o.getAttribute("element-type")),o.getAttribute("element-data")&&(s=JSON.parse(decodeURIComponent(o.getAttribute("element-data")))),o.getAttribute("element-attributes")&&(c=JSON.parse(decodeURIComponent(o.getAttribute("element-attributes")))||{}),l===L.TEXT&&re(c,"css-class","").includes(Pn)&&(l=L.DANGEROUS_CODE,s={code:ct.decode(o.innerHTML)}),o.tagName.toLocaleLowerCase()==="mj-table"&&(l=L.TABLE,s={code:ct.decode(o.innerHTML)});const y=ee.getBlockByType(l);if(!y)throw new Error(`Don't support ${o.tagName.toLocaleLowerCase()}`);let v=[];switch(l){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:v=((k,w)=>[...new DOMParser().parseFromString(`<root>${k}</root>`,"text/xml").documentElement.childNodes].map(x=>Yt(x,w)))(o.innerHTML||"",i);break;default:v=y.void?[]:o.childNodes.length>0?[...o.childNodes].map(i):[]}return{type:l,data:s,attributes:c,children:v}};return i(n.firstChild)}),ae(Je,"getPageVariableKey",e=>e.replace(/\$var\(([\s\S]+)\)/g,"$1")),ae(Je,"getPageDataVariables",(e,t)=>e?.reduce((r,n)=>X(q({},r),{[n.name]:n.value}),q({},t))||q({},t)),ae(Je,"renderWithPageVariables",(e,t,r)=>{if(!t)return e;const n=Te(e);if(typeof n=="string")return n.replace(/\$var\(([^)]+)\)/g,(a,o)=>re(t,o.trim(),""));const i=a=>{cu(a,(o,s)=>{typeof o=="object"?(s!=="children"||r)&&i(o):typeof o=="string"&&(a[s]=o.replace(/\$var\(([^)]+)\)/g,(l,c)=>re(t,c.trim(),"")).replace(/\$input\(([^)]+)\)/g,(l,c)=>te.isElement(n)&&te.isWidgetElement(n)?`widget_element_${qs(n.data.input)}.${c.trim()}`:c.trim()))})};return i(n),n}),ae(Je,"getWidgetElementsInputData",e=>{const t={},r=n=>{if(te.isWidgetElement(n)){const i="widget_element_"+qs(n.data.input);t[i]=n.data.input}n.children&&n.children.forEach(i=>{te.isElement(i)&&r(i)})};return r(e),t}),ae(Je,"getUniversalElements",function(e){const t={},r=(n,i)=>{n.uid&&(t[n.uid]||(t[n.uid]=[]),t[n.uid].push({idx:i,blockData:n})),n.children.forEach((a,o)=>{te.isTextNode(a)||r(a,te.getChildIdx(i,o))})};return r(e.content,te.getPageIdx()),t}),ae(Je,"transformUniversalElements",function(e){const t=Te(e),r=(n,i)=>{if(n.uid){if(!e.universalElements)throw new Error("No universalElements");if(!e.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);qe(t,i,Te(e.universalElements[n.uid]))}n.children.forEach((a,o)=>{te.isTextNode(a)||r(a,te.getChildIdx(i,o))})};return r(t.content,te.getPageIdx()),t.content});let Lt=Je;const Ps=O.createContext({}),Qt=()=>Vt(Ps),Ye=e=>{const t=mu(()=>{const r=Lt.getPageDataVariables(e.context.content.data.variables,e.attributesVariables||{});return X(q({},e),{pageVariables:r})},[e]);return O.createElement(Ps.Provider,{value:t},e.children)};var Ms=(e=>(e.RESPONSIVE="RESPONSIVE",e.TEMPLATE_ENGINE="TEMPLATE_ENGINE",e))(Ms||{});class Er{constructor(){ae(this,"enabledResponsive",!0)}}ae(Er,"type","RESPONSIVE");class kr{}ae(kr,"type","TEMPLATE_ENGINE");class Us{}const dt=class at{static registerPlugins(t){t.forEach(r=>{at.registerPlugin(r)})}static registerPlugin(t){const r=new t;r instanceof Er?(at.enabledResponsive=r.enabledResponsive,at.generateResponsive=r.generateResponsive):r instanceof kr?(at.generateIterationTemplate=r.generateIterationTemplate,at.generateConditionTemplate=r.generateConditionTemplate,at.generateVariable=r.generateVariable,at.isVariable=r.isVariable,at.renderWithData=r.renderWithData):r instanceof Us&&r.generateElement()}};ae(dt,"enabledResponsive",!1),ae(dt,"generateResponsive",e=>{const t=ee.getBlockByType(e.node.type),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}=e;return t.render(X(q({},e),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}))}),ae(dt,"generateIterationTemplate",(e,t)=>t),ae(dt,"isVariable",e=>!1),ae(dt,"generateConditionTemplate",(e,t)=>t),ae(dt,"generateVariable",e=>e),ae(dt,"renderWithData",(e,t)=>e);let Ge=dt;const Fs=O.createContext({}),Fu=e=>O.createElement(Fs.Provider,{value:e},e.children),js=O.createContext({}),ju=e=>O.createElement(js.Provider,{value:e},e.children),zs=O.createContext({}),ui=()=>Vt(zs),ci=e=>O.createElement(zs.Provider,{value:e},e.children),oe=e=>{var t,r,n,i,a,o;const{children:s,node:l,idx:c}=e,{mode:y,context:v,displayMode:k,keepEmptyAttributes:w,mergetagsData:x,pageVariables:b,variablesDisabled:u,outputFormat:m}=Qt(),{element:E}=Vt(Fs),{element:S}=Vt(js),{element:d}=ui(),g=ee.getBlockByType(l.type);if(!g)throw new Error(`${l.type} block is not registered`);if(y==="production"&&(m==="amp-mjml"&&l.outputTarget==="html"||m==="mjml"&&l.outputTarget==="amp"&&((t=l.data)==null?void 0:t.fallback)!==!0))return null;const _=(r=l.logic)==null?void 0:r.condition,h=(n=l.logic)==null?void 0:n.iteration;let p=X(q({},l),{attributes:q({},l.attributes),mobileAttributes:q({},l.mobileAttributes)});const T=re(p,"attributes.css-class")||"";y==="production"&&T&&qe(p,"attributes.css-class",T.replace(Xa,"").replace(qn,""));const f=(i=p.attributes["mj-class"])==null?void 0:i.trim();if(f&&v.content.data.classAttributes){const P={},F=f.split(" ").map(H=>H.trim()).filter(Boolean);Object.values(F).forEach(H=>{re(v.content.data.classAttributes,H)&&Object.assign(P,re(v.content.data.classAttributes,H))}),p.attributes=Y(P,p.attributes)}const R=(a=v.content.data.blockAttributes)==null?void 0:a[p.type];R&&(p.attributes=Y(R,p.attributes));const C=(o=v.content.data.categoryAttributes)==null?void 0:o[g.category];v.content.data.globalAttributes&&(te.isHTMLBlockNodeElement(p)||te.isTable2TdElement(p)||te.isTable2TrElement(p)||te.isHTMLNodeElement(p)||(p.attributes=Y(v.content.data.globalAttributes,p.attributes))),C&&(p.attributes=Y(C,p.attributes));const I=q({},ee.getBlockByType(p.type).defaultData.attributes);if(I&&(re(p.attributes,"padding","").trim()&&(delete I.padding,delete I["padding-top"],delete I["padding-bottom"],delete I["padding-left"],delete I["padding-right"]),re(p.attributes,"inner-padding","").trim()&&(delete I["inner-padding"],delete I["inner-padding-top"],delete I["inner-padding-bottom"],delete I["inner-padding-left"],delete I["inner-padding-right"]),p.attributes=Y(I,p.attributes)),te.isSectionElement(l)||te.isWrapperElement(l)){const P=v.content.attributes["content-background-color"];P&&(S||y!=="production"||(p.attributes=Y({"background-color":P},p.attributes)))}if(!u){let P=b;te.isWidgetElement(p)?(P=Y(b,p.data.input),p=Lt.renderWithPageVariables(p,P,!0)):p=Lt.renderWithPageVariables(p,P)}let D=Ge.generateResponsive({mode:y,children:s,context:v,idx:c,node:p,keepEmptyAttributes:w,mergetagsData:x,displayMode:k,outputFormat:m});if(E)try{const P=E.data.input;h&&h.enabled&&(D=Ge.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Ge.generateConditionTemplate(Te(_),D));const F=Lt.elementComponentToMjml(D,{pageElement:v.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:P,displayMode:k}),H=Ge.renderWithData(F,P);return O.createElement(O.Fragment,null,H)}catch(P){if(y==="production")throw P;return O.createElement(O.Fragment,null)}return y==="production"&&(h&&h.enabled&&(D=Ge.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Ge.generateConditionTemplate(Te(_),D))),te.isWrapperElement(p)&&(D=O.createElement(ju,{element:p},D)),te.isWidgetElement(p)&&!p.data.contentEditable&&p.data.staticLogicEnabled?O.createElement(Fu,{element:p},O.createElement(O.Fragment,null,D)):y==="production"&&p.id&&te.isContentElement(p)&&d&&(te.isPageElement(d)||te.isWrapperElement(d))?O.createElement(ci,{element:null},O.createElement(oe,{node:{type:K.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},O.createElement(oe,{node:{type:K.COLUMN,data:{},attributes:{},children:[]}},D))):p.id?O.createElement(ci,{element:p},D):O.createElement(O.Fragment,null,D)},je=({node:e,extraStyle:t})=>{let r=e.text;const n=q({},t);if(!r)return null;const i=e;return Object.keys(i).filter(a=>a!=="text").forEach(a=>{switch(a){case"bold":r=O.createElement("strong",null,r);break;case"italic":r=O.createElement("em",null,r);break;case"underline":r=O.createElement("u",null,r);break;case"strikethrough":r=O.createElement("del",null,r);break;case"color":n.color=i.color;break;case"bgColor":n.backgroundColor=i.bgColor;break;case"fontSize":n.fontSize=i.fontSize;break;case"fontFamily":n.fontFamily=i.fontFamily;break;case"link":i.link&&(r=O.createElement("a",{style:n,href:i.link.href,target:i.link.blank?"_blank":void 0},r));break;default:qe(n,a,re(i,a))}}),et(r)&&Object.keys(n).length===0?O.createElement(O.Fragment,null,r):O.createElement("span",{style:n},r)};function he(e){const{params:t,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:o,children:s}=e,l=s||i,c=yl(t,{keepEmptyAttributes:a,removeDefaultAttributes:t.mode==="production",mode:t.mode});if(Ja.includes(o))return O.createElement(O.Fragment,null,`<${o} ${c?` ${c}`:""} />`);const y=O.createElement(O.Fragment,null,`<${o}${c?` ${c}`:""}>`,l||r.children.map((v,k)=>{if(te.isTextNode(v)){let w=v.text;return k===0&&(w=w.replace(/^ {1}/g,"&nbsp;")),w=w.replace(/ {1}$/,"&nbsp;"),w=w.replace(/ {2}/g," &nbsp;"),!w&&te.isHTMLBlockNodeElement(r)&&o.toLocaleLowerCase()==="div"&&r.children.length===1?"&nbsp;":te.isTextListElement(r)?O.createElement(O.Fragment,{key:k},"<li>",O.createElement(je,X(q({key:k},t),{node:X(q({},v),{text:w})})),"</li>"):O.createElement(je,X(q({key:k},t),{node:X(q({},v),{text:w})}))}return O.createElement(oe,X(q({key:k},t),{idx:n?te.getChildIdx(n,k):null,node:v}))}),`</${o}>`);return O.createElement(O.Fragment,null,y)}const Hs=e=>!!(bu(e)||et(e)||jr(e)||du(e)||pu(e)||e===null)||!(!Array.isArray(e)||!e.every(t=>Hs(t)))||void 0;function de(e){return!!Hs(e)}function di(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.WRAPPER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Vs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SECTION,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function $s(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.GROUP,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Gs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.COLUMN,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function pi(e){const t=e,{data:r,children:n,idx:i}=t,a=_e(t,["data","children","idx"]),o={type:K.BUTTON,data:r||{},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})}function Ws(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.IMAGE,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ar(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.TEXT,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ks(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SPACER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function He(e){const t=e,{data:r,children:n,idx:i}=t,a=_e(t,["data","children","idx"]),o={type:K.RAW,data:r||{content:n||""},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})}function Xs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.DIVIDER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Js(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.NAVBAR,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ys(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.NAVBAR_LINK,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Qs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SOCIAL,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Zs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SOCIAL_ELEMENT,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function eo(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.HERO,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function hi(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:K.TABLE,data:{code:et(n)?String(n):""},attributes:q({},i),children:[]};return O.createElement(oe,{idx:r,node:a,children:et(n)?null:n})}const zu=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:he,BlockRenderer:oe,Button:pi,Code:function(e){const t=e,{children:r,idx:n}=t,i=_e(t,["children","idx"]),a={type:K.DANGEROUS_CODE,data:{code:String(r)},attributes:q({},i),children:[]};return O.createElement(oe,{idx:n,node:a,children:null})},Column:Gs,ContentLeaf:je,Divider:Xs,ForEach:function(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:L.FOR_EACH,data:q({},i),attributes:{},children:de(n)?[]:n||[]};return O.createElement(oe,{idx:r,node:a,children:de(n)?n:null})},Group:$s,Hero:eo,HtmlDomNode:function(e){const t=e,{tagName:r,idx:n,children:i}=t,a=_e(t,["tagName","idx","children"]),o={type:L.HTML_DOM_NODE,data:{tagName:r},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})},HtmlNode:function(e){const t=e,{tagName:r,children:n,idx:i}=t,a=_e(t,["tagName","children","idx"]),o={type:K.HTML_NODE,data:{tagName:r},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})},Image:Ws,Navbar:Js,NavbarLink:Ys,Raw:He,Section:Vs,Show:function(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:L.SHOW,data:X(q({},i),{component:n}),attributes:{},children:[]};return O.createElement(oe,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:e})=>O.createElement(oe,{node:X(q({},e),{attributes:X(q({},e.attributes),{"css-class":gt(e.attributes["css-class"],qn)})})}),Social:Qs,SocialElement:Zs,Spacer:Ks,Style:e=>{const{context:t}=Un(),{mode:r}=Qt();return r==="production"?(t.addStyle(X(q({},e),{content:e.children})),O.createElement(O.Fragment,null)):O.createElement("style",null,e.children)},Table:hi,Text:Ar,Wrapper:di,useEmailGlobalContext:Un},Symbol.toStringTag,{value:"Module"})),Hu={get name(){return Q("Page")},defaultData:{attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},type:K.PAGE,create:e=>Y({type:K.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},e),category:z.PAGE,render(e){var t,r,n,i,a,o;const{node:s,node:{data:l,attributes:c},mode:y,outputFormat:v}=e,k=l.breakpoint?`<mj-breakpoint width="${l.breakpoint}" />`:"",w=[...l.headStyles||[]];y==="testing"?w.unshift({content:Wa}):(w.unshift({content:".mjbody a{color:inherit}@media(max-width:480px){.hide-mobile-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-block{display:block!important}.hide-mobile-inline-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-inline-block{display:inline-block!important}}"}),w.unshift({content:".hide-desktop-block,.hide-desktop-inline-block,.hide-block{display:none!important;mso-hide:all!important}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}",inline:"inline"}));const x=w.map(h=>`<mj-style ${h.inline?'inline="inline"':""}>${h.content}</mj-style>`).join(`
53
+ </mj-section>`),d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=d.replace(/\<!-- EASY_EMAIL_FROZEN_HEADER --\>/,m).replace(/\<!-- EASY_EMAIL_FROZEN_FOOTER --\>/,E),t.mode!=="production"&&(d=d.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?Pu.html(d,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):d}static translate(t){return Le(this,null,function*(){if(!Xe.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const r=[t.template.subject],n=s=>{var l;te.isMergetagElement(s)||(te.isElement(s)&&s.children.forEach(c=>{te.isTextNode(c)?c.text.trim()&&r.push(c.text):n(c)}),(l=t.helper)!=null&&l.extract&&t.helper.extract(s,r))};n(t.template.content);const i=yield t.translate([...new Set(r)]),a=s=>{var l;te.isMergetagElement(s)||(te.isElement(s)&&s.children.forEach(c=>{te.isTextNode(c)?c.text.trim()&&(c.text=i[c.text]):a(c)}),(l=t.helper)!=null&&l.replace&&t.helper.replace(s,i))},o=Te(t.template.content);return a(o),{content:o,subject:i[t.template.subject]}})}static elementToMjml(t,r){const n=new Fn({mode:r.mode});return Rt.unescape($t(O.createElement(Ye,{outputFormat:r.outputFormat||"mjml",universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData,attributesVariables:r.attributesVariables},O.createElement(Kt,{context:n},O.createElement(oe,{node:Te(t)})))))}static elementComponentToMjml(t,r){const n=new Fn({mode:r.mode});return Rt.unescape($t(O.createElement(Ye,{outputFormat:r.outputFormat||"mjml",universalElements:r.universalElements,mode:r.mode,context:{content:r.pageElement},displayMode:r.displayMode||"desktop-mobile",keepEmptyAttributes:!!r.keepEmptyAttributes,mergetagsData:r.mergetagsData,attributesVariables:r.attributesVariables},O.createElement(Kt,{context:n},t))))}static isPageDataVariable(t){return/\$var\(([\s\S]+)\)/g.test(t)}};ae(Je,"autoComplete",!1),ae(Je,"version","0.14.0"),ae(Je,"mjmlToBlockElement",function(e){if(!e.trim())return{text:""};const t=new DOMParser,r=e.replace(/&nbsp;/g," ").replace(/&/g,"&amp;"),n=t.parseFromString(r,"text/xml"),i=a=>{if(!a)return{text:""};if(a.nodeType===8)return ee.getBlockByType(L.RAW).create({data:{content:a.textContent||""}});if(a.nodeType===3)return{text:a.textContent||""};if(a.nodeType!==1)throw console.log("Invalid Node",a,a.nodeType),new Error("Invalid Node");const o=a;if(!o.tagName.toLocaleLowerCase().startsWith("mj-"))return Yt(o,i);let s={},l=o.tagName.toLocaleLowerCase().replace("mj-",""),c=o.getAttributeNames().filter(k=>!k.startsWith("element-")).reduce((k,w)=>X(q({},k),{[w]:o.getAttribute(w)||""}),{});o.getAttribute("element-type")&&(l=o.getAttribute("element-type")),o.getAttribute("element-data")&&(s=JSON.parse(decodeURIComponent(o.getAttribute("element-data")))),o.getAttribute("element-attributes")&&(c=JSON.parse(decodeURIComponent(o.getAttribute("element-attributes")))||{}),l===L.TEXT&&re(c,"css-class","").includes(Pn)&&(l=L.DANGEROUS_CODE,s={code:ct.decode(o.innerHTML)}),o.tagName.toLocaleLowerCase()==="mj-table"&&(l=L.TABLE,s={code:ct.decode(o.innerHTML)});const y=ee.getBlockByType(l);if(!y)throw new Error(`Don't support ${o.tagName.toLocaleLowerCase()}`);let v=[];switch(l){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:v=((k,w)=>[...new DOMParser().parseFromString(`<root>${k}</root>`,"text/xml").documentElement.childNodes].map(x=>Yt(x,w)))(o.innerHTML||"",i);break;default:v=y.void?[]:o.childNodes.length>0?[...o.childNodes].map(i):[]}return{type:l,data:s,attributes:c,children:v}};return i(n.firstChild)}),ae(Je,"getPageVariableKey",e=>e.replace(/\$var\(([\s\S]+)\)/g,"$1")),ae(Je,"getPageDataVariables",(e,t)=>e?.reduce((r,n)=>X(q({},r),{[n.name]:n.value}),q({},t))||q({},t)),ae(Je,"renderWithPageVariables",(e,t,r)=>{if(!t)return e;const n=Te(e);if(typeof n=="string")return n.replace(/\$var\(([^)]+)\)/g,(a,o)=>re(t,o.trim(),""));const i=a=>{cu(a,(o,s)=>{typeof o=="object"?(s!=="children"||r)&&i(o):typeof o=="string"&&(a[s]=o.replace(/\$var\(([^)]+)\)/g,(l,c)=>re(t,c.trim(),"")).replace(/\$input\(([^)]+)\)/g,(l,c)=>te.isElement(n)&&te.isWidgetElement(n)?`widget_element_${Is(n.data.input)}.${c.trim()}`:c.trim()))})};return i(n),n}),ae(Je,"getWidgetElementsInputData",e=>{const t={},r=n=>{if(te.isWidgetElement(n)){const i="widget_element_"+Is(n.data.input);t[i]=n.data.input}n.children&&n.children.forEach(i=>{te.isElement(i)&&r(i)})};return r(e),t}),ae(Je,"getUniversalElements",function(e){const t={},r=(n,i)=>{n.uid&&(t[n.uid]||(t[n.uid]=[]),t[n.uid].push({idx:i,blockData:n})),n.children.forEach((a,o)=>{te.isTextNode(a)||r(a,te.getChildIdx(i,o))})};return r(e.content,te.getPageIdx()),t}),ae(Je,"transformUniversalElements",function(e){const t=Te(e),r=(n,i)=>{if(n.uid){if(!e.universalElements)throw new Error("No universalElements");if(!e.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);qe(t,i,Te(e.universalElements[n.uid]))}n.children.forEach((a,o)=>{te.isTextNode(a)||r(a,te.getChildIdx(i,o))})};return r(t.content,te.getPageIdx()),t.content});let Lt=Je;const qs=O.createContext({}),Qt=()=>Vt(qs),Ye=e=>{const t=mu(()=>{const r=Lt.getPageDataVariables(e.context.content.data.variables,e.attributesVariables||{});return X(q({},e),{pageVariables:r})},[e]);return O.createElement(qs.Provider,{value:t},e.children)};var Ps=(e=>(e.RESPONSIVE="RESPONSIVE",e.TEMPLATE_ENGINE="TEMPLATE_ENGINE",e))(Ps||{});class Er{constructor(){ae(this,"enabledResponsive",!0)}}ae(Er,"type","RESPONSIVE");class kr{}ae(kr,"type","TEMPLATE_ENGINE");class Ms{}const dt=class at{static registerPlugins(t){t.forEach(r=>{at.registerPlugin(r)})}static registerPlugin(t){const r=new t;r instanceof Er?(at.enabledResponsive=r.enabledResponsive,at.generateResponsive=r.generateResponsive):r instanceof kr?(at.generateIterationTemplate=r.generateIterationTemplate,at.generateConditionTemplate=r.generateConditionTemplate,at.generateVariable=r.generateVariable,at.isVariable=r.isVariable,at.renderWithData=r.renderWithData):r instanceof Ms&&r.generateElement()}};ae(dt,"enabledResponsive",!1),ae(dt,"generateResponsive",e=>{const t=ee.getBlockByType(e.node.type),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}=e;return t.render(X(q({},e),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}))}),ae(dt,"generateIterationTemplate",(e,t)=>t),ae(dt,"isVariable",e=>!1),ae(dt,"generateConditionTemplate",(e,t)=>t),ae(dt,"generateVariable",e=>e),ae(dt,"renderWithData",(e,t)=>e);let Ge=dt;const Us=O.createContext({}),Fu=e=>O.createElement(Us.Provider,{value:e},e.children),Fs=O.createContext({}),ju=e=>O.createElement(Fs.Provider,{value:e},e.children),js=O.createContext({}),ui=()=>Vt(js),ci=e=>O.createElement(js.Provider,{value:e},e.children),oe=e=>{var t,r,n,i,a,o;const{children:s,node:l,idx:c}=e,{mode:y,context:v,displayMode:k,keepEmptyAttributes:w,mergetagsData:x,pageVariables:b,variablesDisabled:u,outputFormat:m}=Qt(),{element:E}=Vt(Us),{element:S}=Vt(Fs),{element:d}=ui(),g=ee.getBlockByType(l.type);if(!g)throw new Error(`${l.type} block is not registered`);if(y==="production"&&(m==="amp-mjml"&&l.outputTarget==="html"||m==="mjml"&&l.outputTarget==="amp"&&((t=l.data)==null?void 0:t.fallback)!==!0))return null;const _=(r=l.logic)==null?void 0:r.condition,h=(n=l.logic)==null?void 0:n.iteration;let p=X(q({},l),{attributes:q({},l.attributes),mobileAttributes:q({},l.mobileAttributes)});const T=re(p,"attributes.css-class")||"";y==="production"&&T&&qe(p,"attributes.css-class",T.replace(Ka,"").replace(qn,""));const f=(i=p.attributes["mj-class"])==null?void 0:i.trim();if(f&&v.content.data.classAttributes){const P={},F=f.split(" ").map(H=>H.trim()).filter(Boolean);Object.values(F).forEach(H=>{re(v.content.data.classAttributes,H)&&Object.assign(P,re(v.content.data.classAttributes,H))}),p.attributes=Y(P,p.attributes)}const R=(a=v.content.data.blockAttributes)==null?void 0:a[p.type];R&&(p.attributes=Y(R,p.attributes));const C=(o=v.content.data.categoryAttributes)==null?void 0:o[g.category];v.content.data.globalAttributes&&(te.isHTMLBlockNodeElement(p)||te.isTable2TdElement(p)||te.isTable2TrElement(p)||te.isHTMLNodeElement(p)||(p.attributes=Y(v.content.data.globalAttributes,p.attributes))),C&&(p.attributes=Y(C,p.attributes));const I=q({},ee.getBlockByType(p.type).defaultData.attributes);if(I&&(re(p.attributes,"padding","").trim()&&(delete I.padding,delete I["padding-top"],delete I["padding-bottom"],delete I["padding-left"],delete I["padding-right"]),re(p.attributes,"inner-padding","").trim()&&(delete I["inner-padding"],delete I["inner-padding-top"],delete I["inner-padding-bottom"],delete I["inner-padding-left"],delete I["inner-padding-right"]),p.attributes=Y(I,p.attributes)),te.isSectionElement(l)||te.isWrapperElement(l)){const P=v.content.attributes["content-background-color"];P&&(S||y!=="production"||(p.attributes=Y({"background-color":P},p.attributes)))}if(!u){let P=b;te.isWidgetElement(p)?(P=Y(b,p.data.input),p=Lt.renderWithPageVariables(p,P,!0)):p=Lt.renderWithPageVariables(p,P)}let D=Ge.generateResponsive({mode:y,children:s,context:v,idx:c,node:p,keepEmptyAttributes:w,mergetagsData:x,displayMode:k,outputFormat:m});if(E)try{const P=E.data.input;h&&h.enabled&&(D=Ge.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Ge.generateConditionTemplate(Te(_),D));const F=Lt.elementComponentToMjml(D,{pageElement:v.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:P,displayMode:k}),H=Ge.renderWithData(F,P);return O.createElement(O.Fragment,null,H)}catch(P){if(y==="production")throw P;return O.createElement(O.Fragment,null)}return y==="production"&&(h&&h.enabled&&(D=Ge.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Ge.generateConditionTemplate(Te(_),D))),te.isWrapperElement(p)&&(D=O.createElement(ju,{element:p},D)),te.isWidgetElement(p)&&!p.data.contentEditable&&p.data.staticLogicEnabled?O.createElement(Fu,{element:p},O.createElement(O.Fragment,null,D)):y==="production"&&p.id&&te.isContentElement(p)&&d&&(te.isPageElement(d)||te.isWrapperElement(d))?O.createElement(ci,{element:null},O.createElement(oe,{node:{type:K.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},O.createElement(oe,{node:{type:K.COLUMN,data:{},attributes:{},children:[]}},D))):p.id?O.createElement(ci,{element:p},D):O.createElement(O.Fragment,null,D)},je=({node:e,extraStyle:t})=>{let r=e.text;const n=q({},t);if(!r)return null;const i=e;return Object.keys(i).filter(a=>a!=="text").forEach(a=>{switch(a){case"bold":r=O.createElement("strong",null,r);break;case"italic":r=O.createElement("em",null,r);break;case"underline":r=O.createElement("u",null,r);break;case"strikethrough":r=O.createElement("del",null,r);break;case"color":n.color=i.color;break;case"bgColor":n.backgroundColor=i.bgColor;break;case"fontSize":n.fontSize=i.fontSize;break;case"fontFamily":n.fontFamily=i.fontFamily;break;case"link":i.link&&(r=O.createElement("a",{style:n,href:i.link.href,target:i.link.blank?"_blank":void 0},r));break;default:qe(n,a,re(i,a))}}),et(r)&&Object.keys(n).length===0?O.createElement(O.Fragment,null,r):O.createElement("span",{style:n},r)};function he(e){const{params:t,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:o,children:s}=e,l=s||i,c=yl(t,{keepEmptyAttributes:a,removeDefaultAttributes:t.mode==="production",mode:t.mode});if(Xa.includes(o))return O.createElement(O.Fragment,null,`<${o} ${c?` ${c}`:""} />`);const y=O.createElement(O.Fragment,null,`<${o}${c?` ${c}`:""}>`,l||r.children.map((v,k)=>{if(te.isTextNode(v)){let w=v.text;return k===0&&(w=w.replace(/^ {1}/g,"&nbsp;")),w=w.replace(/ {1}$/,"&nbsp;"),w=w.replace(/ {2}/g," &nbsp;"),!w&&te.isHTMLBlockNodeElement(r)&&o.toLocaleLowerCase()==="div"&&r.children.length===1?"&nbsp;":te.isTextListElement(r)?O.createElement(O.Fragment,{key:k},"<li>",O.createElement(je,X(q({key:k},t),{node:X(q({},v),{text:w})})),"</li>"):O.createElement(je,X(q({key:k},t),{node:X(q({},v),{text:w})}))}return O.createElement(oe,X(q({key:k},t),{idx:n?te.getChildIdx(n,k):null,node:v}))}),`</${o}>`);return O.createElement(O.Fragment,null,y)}const zs=e=>!!(bu(e)||et(e)||jr(e)||du(e)||pu(e)||e===null)||!(!Array.isArray(e)||!e.every(t=>zs(t)))||void 0;function de(e){return!!zs(e)}function di(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.WRAPPER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Hs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SECTION,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Vs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.GROUP,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function $s(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.COLUMN,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function pi(e){const t=e,{data:r,children:n,idx:i}=t,a=_e(t,["data","children","idx"]),o={type:K.BUTTON,data:r||{},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})}function Gs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.IMAGE,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ar(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.TEXT,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ws(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SPACER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function He(e){const t=e,{data:r,children:n,idx:i}=t,a=_e(t,["data","children","idx"]),o={type:K.RAW,data:r||{content:n||""},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})}function Ks(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.DIVIDER,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Xs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.NAVBAR,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Js(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.NAVBAR_LINK,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Ys(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SOCIAL,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Qs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.SOCIAL_ELEMENT,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function Zs(e){const t=e,{data:r,idx:n,children:i}=t,a=_e(t,["data","idx","children"]),o={type:K.HERO,data:r||{},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})}function hi(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:K.TABLE,data:{code:et(n)?String(n):""},attributes:q({},i),children:[]};return O.createElement(oe,{idx:r,node:a,children:et(n)?null:n})}const zu=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:he,BlockRenderer:oe,Button:pi,Code:function(e){const t=e,{children:r,idx:n}=t,i=_e(t,["children","idx"]),a={type:K.DANGEROUS_CODE,data:{code:String(r)},attributes:q({},i),children:[]};return O.createElement(oe,{idx:n,node:a,children:null})},Column:$s,ContentLeaf:je,Divider:Ks,ForEach:function(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:L.FOR_EACH,data:q({},i),attributes:{},children:de(n)?[]:n||[]};return O.createElement(oe,{idx:r,node:a,children:de(n)?n:null})},Group:Vs,Hero:Zs,HtmlDomNode:function(e){const t=e,{tagName:r,idx:n,children:i}=t,a=_e(t,["tagName","idx","children"]),o={type:L.HTML_DOM_NODE,data:{tagName:r},attributes:q({},a),children:de(i)?[]:i||[]};return O.createElement(oe,{idx:n,node:o,children:de(i)?i:null})},HtmlNode:function(e){const t=e,{tagName:r,children:n,idx:i}=t,a=_e(t,["tagName","children","idx"]),o={type:K.HTML_NODE,data:{tagName:r},attributes:q({},a),children:de(n)?[]:n||[]};return O.createElement(oe,{idx:i,node:o,children:de(n)?n:null})},Image:Gs,Navbar:Xs,NavbarLink:Js,Raw:He,Section:Hs,Show:function(e){const t=e,{idx:r,children:n}=t,i=_e(t,["idx","children"]),a={type:L.SHOW,data:X(q({},i),{component:n}),attributes:{},children:[]};return O.createElement(oe,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:e})=>O.createElement(oe,{node:X(q({},e),{attributes:X(q({},e.attributes),{"css-class":gt(e.attributes["css-class"],qn)})})}),Social:Ys,SocialElement:Qs,Spacer:Ws,Style:e=>{const{context:t}=Un(),{mode:r}=Qt();return r==="production"?(t.addStyle(X(q({},e),{content:e.children})),O.createElement(O.Fragment,null)):O.createElement("style",null,e.children)},Table:hi,Text:Ar,Wrapper:di,useEmailGlobalContext:Un},Symbol.toStringTag,{value:"Module"})),Hu={get name(){return Q("Page")},defaultData:{attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},type:K.PAGE,create:e=>Y({type:K.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},e),category:z.PAGE,render(e){var t,r,n,i,a,o;const{node:s,node:{data:l,attributes:c},mode:y,outputFormat:v}=e,k=l.breakpoint?`<mj-breakpoint width="${l.breakpoint}" />`:"",w=[...l.headStyles||[]];y==="testing"?w.unshift({content:Ga}):(w.unshift({content:".mjbody a{color:inherit}@media(max-width:480px){.hide-mobile-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-block{display:block!important}.hide-mobile-inline-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-inline-block{display:inline-block!important}}"}),w.unshift({content:".hide-desktop-block,.hide-desktop-inline-block,.hide-block{display:none!important;mso-hide:all!important}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}",inline:"inline"}));const x=w.map(h=>`<mj-style ${h.inline?'inline="inline"':""}>${h.content}</mj-style>`).join(`
54
54
  `)||"",b={color:((t=c["link-color"])==null?void 0:t.trim())||"inherit","font-weight":(r=c["link-font-weight"])==null?void 0:r.trim(),"text-decoration":(n=c["link-text-decoration"])==null?void 0:n.trim(),"font-style":(i=c["link-font-style"])==null?void 0:i.trim()},u=Object.keys(b).map(h=>b[h]?`${h}: ${b[h]}`:"").filter(Boolean).join(";"),m=v==="amp-mjml"?`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active {${u}}</mj-style>`:`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active, .mjbody a[href], .mjbody a[href]:hover, .mjbody a[href]:active {${u}}</mj-style>`,E=c["background-color"]?`background-color="${c["background-color"]}"`:"",S=c["margin-top"]&&c["margin-top"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${c["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",d=c["margin-bottom"]&&c["margin-bottom"]!=="0px"?`<mj-section padding="0px"><mj-column><mj-spacer height="${c["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",g=l.preheader?`<mj-preview>${l.preheader}</mj-preview>`:"",_=c.width||"600px";return O.createElement(O.Fragment,null,`
55
55
  <mjml>
56
56
  <mj-head>
@@ -67,7 +67,7 @@ list should be an Array.`),A.length===0)return new x(0);if(A.length===1)return A
67
67
  `,"<!-- EASY_EMAIL_FROZEN_HEADER -->",s.children.map((h,p)=>O.createElement(oe,X(q({},e),{idx:te.getChildIdx(te.getPageIdx(),p),key:p,node:h}))),"<!-- EASY_EMAIL_FROZEN_FOOTER -->","<!-- EASY_EMAIL_BRAND -->",`
68
68
  ${d}
69
69
 
70
- </mj-body></mjml>`)}},Vu=Wa,to={get name(){return Q("Wrapper")},defaultData:{attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:K.WRAPPER,create:e=>Y({type:K.WRAPPER,data:{},attributes:{},children:[]},e),category:z.WRAPPER,render:e=>O.createElement(he,{params:e,tag:"mj-wrapper"})},ro={get name(){return Q("Row")},defaultData:{attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:K.SECTION,create:e=>Y({type:K.SECTION,data:{},attributes:{},children:[]},e),category:z.SECTION,render:e=>O.createElement(he,{params:e,tag:"mj-section"})},no={get name(){return Q("Group")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.GROUP,create:e=>Y({type:K.GROUP,data:{},attributes:{width:"100%"},children:[]},e),category:z.GROUP,render:e=>O.createElement(he,{params:e,tag:"mj-group"})},io={get name(){return Q("Column")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.COLUMN,create:e=>Y({type:K.COLUMN,data:{},attributes:{},children:[]},e),category:z.COLUMN,render:e=>O.createElement(he,{params:e,tag:"mj-column"})},ao={get name(){return Q("Text")},defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},type:K.TEXT,create:e=>Y({type:K.TEXT,data:{},attributes:{},children:[]},e),category:z.TEXT,render:e=>O.createElement(he,{params:e,tag:"mj-text"})},so={get name(){return Q("Button")},defaultData:{attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"120%",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},type:K.BUTTON,create:e=>Y({type:K.BUTTON,data:{},attributes:{},children:[]},e),category:z.BUTTON,render:e=>O.createElement(he,{params:e,tag:"mj-button"})},oo={get name(){return Q("Image")},void:!0,defaultData:{attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},type:K.IMAGE,create:e=>Y({type:K.IMAGE,data:{},attributes:{},children:[]},e),category:z.IMAGE,render:e=>O.createElement(he,{params:e,tag:"mj-image"})},lo={get name(){return Q("Spacer")},defaultData:{attributes:{height:"20px"},data:{}},type:K.SPACER,create:e=>Y({type:K.SPACER,data:{},attributes:{},children:[]},e),category:z.SPACER,render:e=>O.createElement(he,{params:e,tag:"mj-spacer"})},$u={get name(){return Q("Raw")},defaultData:{attributes:{},data:{content:""}},type:K.RAW,create:e=>Y({type:K.RAW,data:{content:""},attributes:{},children:[]},e),category:z.RAW,render:e=>e.mode==="testing"?O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.RAW,"element-category":z.RAW,"element-data":encodeURIComponent(JSON.stringify(e.node.data))}})})}):O.createElement(he,{params:e,tag:"mj-raw"},e.node.data.content)},Gu={get name(){return Q("Mergetag")},defaultData:{attributes:{},data:{}},type:K.MERGETAG,create:e=>Y({type:K.MERGETAG,data:{},attributes:{},children:[]},e),inlineElement:!0,category:z.INLINE_TEXT,render(e){if(e.mode==="production"){const t=e.node.children[0];return O.createElement(je,{node:X(q({},t),{text:Ge.generateVariable(t.text,e.node.data.default)})})}return O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.MERGETAG,"element-category":z.INLINE_TEXT}})})})}},Wu={get name(){return Q("Line break")},defaultData:{attributes:{},data:{}},type:K.LINE_BREAK,create:e=>Y({type:K.LINE_BREAK,data:{},attributes:{},children:[]},e),inlineElement:!0,category:z.INLINE_TEXT,render(e){if(e.mode==="production"){const t=e.node.children[0];return O.createElement(je,{node:X(q({},t),{text:"<br />"})})}return O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.LINE_BREAK,"element-category":z.INLINE_TEXT}})})})}},uo={get name(){return Q("Social")},defaultData:{attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},type:K.SOCIAL,create:e=>Y({type:K.SOCIAL,data:{},attributes:{},children:[]},e),category:z.SOCIAL,render:e=>O.createElement(he,{params:e,tag:"mj-social"})},co={get name(){return Q("Navbar")},defaultData:{attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"&#9776;","ico-close":"&#8855;","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.NAVBAR,create:e=>Y({type:K.NAVBAR,data:{},attributes:{},children:[]},e),category:z.NAVBAR,render:e=>O.createElement(he,{params:e,tag:"mj-navbar"})},po={get name(){return Q("Divider")},defaultData:{attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},type:L.DIVIDER,create:e=>Y({type:L.DIVIDER,data:{},attributes:{},children:[]},e),category:z.DIVIDER,render:e=>O.createElement(he,{params:e,tag:"mj-divider"})},ho={get name(){return Q("Navbar Link")},defaultData:{attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},type:K.NAVBAR_LINK,create:e=>Y({type:K.NAVBAR_LINK,data:{},attributes:{},children:[]},e),category:z.NAVBAR_LINK,render:e=>O.createElement(he,{params:e,tag:"mj-navbar-link"})},_o={get name(){return Q("Social Item")},defaultData:{attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},type:K.SOCIAL_ELEMENT,create:e=>Y({type:K.SOCIAL_ELEMENT,data:{},attributes:{},children:[]},e),category:z.SOCIAL_ELEMENT,render:e=>O.createElement(he,{params:e,tag:"mj-social-element"})},fo={get name(){return Q("Hero")},defaultData:{attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fixed-height","vertical-align":"top"},data:{}},type:K.HERO,create:e=>Y({type:K.HERO,data:{},attributes:{},children:[]},e),category:z.HERO,render:e=>O.createElement(he,{params:e,tag:"mj-hero"})},Ku={get name(){return Q("Placeholder")},defaultData:{attributes:{},data:{}},type:K.PLACEHOLDER,create:e=>Y({type:K.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]},e),category:z.UNSET,render:e=>e.mode==="production"?null:O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.PLACEHOLDER,"element-category":z.UNSET}})})})},Xu={get name(){return Q("HtmlNode")},inlineElement:!0,defaultData:{attributes:{},data:{tagName:"span"}},type:L.HTML_NODE,create:e=>Y({type:L.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]},e),category:z.INLINE_TEXT,render:e=>e.mode==="production"?O.createElement(he,{tag:e.node.data.tagName,params:e}):O.createElement(he,{tag:e.node.data.tagName||"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_NODE,"element-category":z.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Ju={get name(){return Q("HTML dom node")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_DOM_NODE,create:e=>Y({type:L.HTML_DOM_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:z.UNKNOWN_CONTENT,render(e){const{node:t,idx:r}=e;return e.mode==="production"?O.createElement(O.Fragment,null,t.children.map((n,i)=>te.isTextNode(n)?te.isTextListElement(t)?O.createElement(O.Fragment,{key:i},"<li>",O.createElement(je,X(q({key:i},e),{node:n})),"</li>"):O.createElement(je,X(q({key:i},e),{node:n})):O.createElement(oe,X(q({key:i},e),{idx:r?te.getChildIdx(r,i):null,node:n})))):O.createElement(he,{tag:e.node.data.tagName||"div",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_DOM_NODE,"element-category":z.UNKNOWN_CONTENT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})}},go={attributes:{},data:{description:"",config:[],input:{}}},Yu={get name(){return Q("Widget")},void:!0,defaultData:go,type:K.CONTENT_WIDGET,create:e=>Y({type:K.CONTENT_WIDGET,title:"MY FIRST WIDGET",data:q({},go.data),attributes:{},children:[{text:""}]},e),get category(){return z.UNKNOWN_CONTENT},render(e){const{node:t}=e,r=Te(t.children[0]);return te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null}},mo={attributes:{},data:{description:"",config:[],input:{}}},Qu={get name(){return Q("Widget")},void:!0,defaultData:mo,type:K.SECTION_WIDGET,create:e=>Y({type:K.SECTION_WIDGET,title:"MY FIRST WIDGET",data:q({},mo.data),attributes:{},children:[{text:""}]},e),get category(){return z.SECTION},render(e){const{node:t}=e,r=Te(t.children[0]);return te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null}},bo={attributes:{},data:{description:"",config:[],input:{}}},Zu={get name(){return Q("Widget")},void:!0,defaultData:bo,type:K.WRAPPER_WIDGET,create:e=>Y({type:K.WRAPPER_WIDGET,title:"MY FIRST WIDGET",data:q({},bo.data),attributes:{},children:[{text:""}]},e),get category(){return z.WRAPPER},render(e){const{node:t}=e;return O.createElement(di,{padding:"0px"},t.children.map(r=>te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null))}},ec={get name(){return Q("Code")},void:!0,defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{code:""}},type:L.DANGEROUS_CODE,create:e=>Y({type:L.DANGEROUS_CODE,data:{code:""},attributes:{},children:[{text:""}]},e),category:z.DANGEROUS_CODE,render(e){const t=Te(e.node),r=e.mode==="production";r||(t.attributes["css-class"]=gt(t.attributes["css-class"],Pn));const n=e.node.data.code;return O.createElement(he,{params:X(q({},e),{node:t}),tag:"mj-text",children:O.createElement(je,{node:{text:r?n:ct.encode(n)}})})}},yo={attributes:{align:"left",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%"},data:{code:""}},vo={get name(){return Q("Table")},defaultData:yo,type:K.TABLE,create:e=>Y({type:K.TABLE,data:{code:""},attributes:q({},yo.attributes),children:[]},e),category:z.TABLE,render(e){const t=e.mode==="production",r=e.node.data.code;return O.createElement(he,{params:e,tag:"mj-table",children:e.children||O.createElement(je,{node:{text:t?r:ct.encode(r)}})})}},tc={get name(){return Q("HtmlBlockNode")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_BLOCK_NODE,create:e=>Y({type:L.HTML_BLOCK_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:z.BLOCK_NODE,render:e=>e.mode==="production"?O.createElement(he,{tag:e.node.data.tagName,params:e}):O.createElement(he,{tag:e.node.data.tagName||"div",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_BLOCK_NODE,"element-category":z.BLOCK_NODE,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},wo={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},rc={get name(){return Q("Header")},void:!0,defaultData:wo,type:K.PAGE_HEADER,create:e=>Y({type:K.PAGE_HEADER,data:q({},wo.data),attributes:{},children:[{text:""}]},e),get category(){return z.PAGE_HEADER},render(e){const t=X(q({},e.node),{type:K.WRAPPER,attributes:q({},e.node.attributes)});return O.createElement(oe,X(q({},e),{node:t}),e.node.data.content.map(r=>O.createElement(oe,X(q({key:r.id},e),{node:r}))))}},xo={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},nc={get name(){return Q("Footer")},void:!0,defaultData:xo,type:K.PAGE_FOOTER,create:e=>Y({type:K.PAGE_FOOTER,data:q({},xo.data),attributes:{},children:[{text:""}]},e),get category(){return z.PAGE_FOOTER},render(e){const t=X(q({},e.node),{type:K.WRAPPER,attributes:q({},e.node.attributes)});return O.createElement(oe,X(q({},e),{node:t}),e.node.data.content.map(r=>O.createElement(oe,X(q({key:r.id},e),{node:r}))))}},ic={[K.PAGE]:Hu,[K.HERO]:fo,[K.WRAPPER]:to,[K.SECTION]:ro,[K.GROUP]:no,[K.COLUMN]:io,[K.TEXT]:ao,[K.TABLE]:vo,[K.IMAGE]:oo,[K.BUTTON]:so,[K.SPACER]:lo,[K.DIVIDER]:po,[K.SOCIAL]:uo,[K.SOCIAL_ELEMENT]:_o,[K.NAVBAR]:co,[K.NAVBAR_LINK]:ho,[K.RAW]:$u,[K.MERGETAG]:Gu,[K.LINE_BREAK]:Wu,[K.PLACEHOLDER]:Ku,[K.DANGEROUS_CODE]:ec,[K.HTML_NODE]:Xu,[K.HTML_BLOCK_NODE]:tc,[K.HTML_DOM_NODE]:Ju,[K.CONTENT_WIDGET]:Yu,[K.SECTION_WIDGET]:Qu,[K.WRAPPER_WIDGET]:Zu,[K.PAGE_HEADER]:rc,[K.PAGE_FOOTER]:nc},ac=Y(no.defaultData,{attributes:{},data:{}}),sc={get name(){return Q("Group")},defaultData:ac,type:se.STANDARD_GROUP,create:e=>Y({type:se.STANDARD_GROUP,data:{},attributes:{},children:[]},e),category:z.GROUP,render(e){const{node:t}=e;return O.createElement($s,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},oc=Y(ro.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),lc={get name(){return Q("Section")},defaultData:oc,type:se.STANDARD_SECTION,create:e=>Y({type:se.STANDARD_SECTION,data:{},attributes:{},children:[]},e),category:z.SECTION,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_e(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);l["background-image-enabled"]||(delete l["background-image-enabled"],delete l["background-url"],delete l["background-position"],delete l["background-position-x"],delete l["background-position-y"],delete l["background-repeat"],delete l["background-size"]);const c=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(Vs,X(q({padding:"0px",idx:e.idx},l),{border:c,data:t.data,children:e.children||t.children}))}},uc=zr(io.defaultData,{attributes:{},data:{}}),cc={get name(){return Q("Column")},defaultData:uc,type:se.STANDARD_COLUMN,create:e=>Y({type:se.STANDARD_COLUMN,data:{},attributes:{},children:[]},e),category:z.COLUMN,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_e(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(Gs,X(q({idx:e.idx},s),{border:l,data:t.data,children:e.children||t.children}))}},Zt=Y(so.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),dc={get name(){return Q("Button")},defaultData:Zt,type:se.STANDARD_BUTTON,create:e=>Y({type:se.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:Q("Click")}]},e),category:z.BUTTON,render(e){const{node:t}=e,r=t.attributes,{"inner-padding-top":n,"inner-padding-bottom":i,"inner-padding-left":a,"inner-padding-right":o,"border-enabled":s,"border-width":l,"border-style":c,"border-color":y,"icon-enabled":v,"icon-position":k,"icon-width":w,"icon-height":x,"icon-src":b,"icon-vertical-align":u}=r,m=_e(r,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color","icon-enabled","icon-position","icon-width","icon-height","icon-src","icon-vertical-align"]),E=`${n||Zt.attributes["inner-padding-top"]} ${o||Zt.attributes["inner-padding-right"]} ${i||Zt.attributes["inner-padding-bottom"]} ${a||Zt.attributes["inner-padding-left"]}`,S=s?`${l||"1px"} ${c||"solid"} ${y||"#AAAAAA"}`:"";return m.direction==="rtl"&&(m["css-class"]||(m["css-class"]=""),m["css-class"]=m["css-class"]+" direction-rtl"),v&&b?O.createElement(pi,X(q({idx:e.idx},m),{border:S,"inner-padding":E,data:t.data,children:O.createElement(O.Fragment,null,k==="left"&&O.createElement(O.Fragment,null,`<img
70
+ </mj-body></mjml>`)}},Vu=Ga,eo={get name(){return Q("Wrapper")},defaultData:{attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:K.WRAPPER,create:e=>Y({type:K.WRAPPER,data:{},attributes:{},children:[]},e),category:z.WRAPPER,render:e=>O.createElement(he,{params:e,tag:"mj-wrapper"})},to={get name(){return Q("Row")},defaultData:{attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:K.SECTION,create:e=>Y({type:K.SECTION,data:{},attributes:{},children:[]},e),category:z.SECTION,render:e=>O.createElement(he,{params:e,tag:"mj-section"})},ro={get name(){return Q("Group")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.GROUP,create:e=>Y({type:K.GROUP,data:{},attributes:{width:"100%"},children:[]},e),category:z.GROUP,render:e=>O.createElement(he,{params:e,tag:"mj-group"})},no={get name(){return Q("Column")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.COLUMN,create:e=>Y({type:K.COLUMN,data:{},attributes:{},children:[]},e),category:z.COLUMN,render:e=>O.createElement(he,{params:e,tag:"mj-column"})},io={get name(){return Q("Text")},defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},type:K.TEXT,create:e=>Y({type:K.TEXT,data:{},attributes:{},children:[]},e),category:z.TEXT,render:e=>O.createElement(he,{params:e,tag:"mj-text"})},ao={get name(){return Q("Button")},defaultData:{attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"120%",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},type:K.BUTTON,create:e=>Y({type:K.BUTTON,data:{},attributes:{},children:[]},e),category:z.BUTTON,render:e=>O.createElement(he,{params:e,tag:"mj-button"})},so={get name(){return Q("Image")},void:!0,defaultData:{attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},type:K.IMAGE,create:e=>Y({type:K.IMAGE,data:{},attributes:{},children:[]},e),category:z.IMAGE,render:e=>O.createElement(he,{params:e,tag:"mj-image"})},oo={get name(){return Q("Spacer")},defaultData:{attributes:{height:"20px"},data:{}},type:K.SPACER,create:e=>Y({type:K.SPACER,data:{},attributes:{},children:[]},e),category:z.SPACER,render:e=>O.createElement(he,{params:e,tag:"mj-spacer"})},$u={get name(){return Q("Raw")},defaultData:{attributes:{},data:{content:""}},type:K.RAW,create:e=>Y({type:K.RAW,data:{content:""},attributes:{},children:[]},e),category:z.RAW,render:e=>e.mode==="testing"?O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.RAW,"element-category":z.RAW,"element-data":encodeURIComponent(JSON.stringify(e.node.data))}})})}):O.createElement(he,{params:e,tag:"mj-raw"},e.node.data.content)},Gu={get name(){return Q("Mergetag")},defaultData:{attributes:{},data:{}},type:K.MERGETAG,create:e=>Y({type:K.MERGETAG,data:{},attributes:{},children:[]},e),inlineElement:!0,category:z.INLINE_TEXT,render(e){if(e.mode==="production"){const t=e.node.children[0];return O.createElement(je,{node:X(q({},t),{text:Ge.generateVariable(t.text,e.node.data.default)})})}return O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.MERGETAG,"element-category":z.INLINE_TEXT}})})})}},Wu={get name(){return Q("Line break")},defaultData:{attributes:{},data:{}},type:K.LINE_BREAK,create:e=>Y({type:K.LINE_BREAK,data:{},attributes:{},children:[]},e),inlineElement:!0,category:z.INLINE_TEXT,render(e){if(e.mode==="production"){const t=e.node.children[0];return O.createElement(je,{node:X(q({},t),{text:"<br />"})})}return O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.LINE_BREAK,"element-category":z.INLINE_TEXT}})})})}},lo={get name(){return Q("Social")},defaultData:{attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},type:K.SOCIAL,create:e=>Y({type:K.SOCIAL,data:{},attributes:{},children:[]},e),category:z.SOCIAL,render:e=>O.createElement(he,{params:e,tag:"mj-social"})},uo={get name(){return Q("Navbar")},defaultData:{attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"&#9776;","ico-close":"&#8855;","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:K.NAVBAR,create:e=>Y({type:K.NAVBAR,data:{},attributes:{},children:[]},e),category:z.NAVBAR,render:e=>O.createElement(he,{params:e,tag:"mj-navbar"})},co={get name(){return Q("Divider")},defaultData:{attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},type:L.DIVIDER,create:e=>Y({type:L.DIVIDER,data:{},attributes:{},children:[]},e),category:z.DIVIDER,render:e=>O.createElement(he,{params:e,tag:"mj-divider"})},po={get name(){return Q("Navbar Link")},defaultData:{attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},type:K.NAVBAR_LINK,create:e=>Y({type:K.NAVBAR_LINK,data:{},attributes:{},children:[]},e),category:z.NAVBAR_LINK,render:e=>O.createElement(he,{params:e,tag:"mj-navbar-link"})},ho={get name(){return Q("Social Item")},defaultData:{attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},type:K.SOCIAL_ELEMENT,create:e=>Y({type:K.SOCIAL_ELEMENT,data:{},attributes:{},children:[]},e),category:z.SOCIAL_ELEMENT,render:e=>O.createElement(he,{params:e,tag:"mj-social-element"})},_o={get name(){return Q("Hero")},defaultData:{attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fixed-height","vertical-align":"top"},data:{}},type:K.HERO,create:e=>Y({type:K.HERO,data:{},attributes:{},children:[]},e),category:z.HERO,render:e=>O.createElement(he,{params:e,tag:"mj-hero"})},Ku={get name(){return Q("Placeholder")},defaultData:{attributes:{},data:{}},type:K.PLACEHOLDER,create:e=>Y({type:K.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]},e),category:z.UNSET,render:e=>e.mode==="production"?null:O.createElement(he,{tag:"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":K.PLACEHOLDER,"element-category":z.UNSET}})})})},Xu={get name(){return Q("HtmlNode")},inlineElement:!0,defaultData:{attributes:{},data:{tagName:"span"}},type:L.HTML_NODE,create:e=>Y({type:L.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]},e),category:z.INLINE_TEXT,render:e=>e.mode==="production"?O.createElement(he,{tag:e.node.data.tagName,params:e}):O.createElement(he,{tag:e.node.data.tagName||"span",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_NODE,"element-category":z.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Ju={get name(){return Q("HTML dom node")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_DOM_NODE,create:e=>Y({type:L.HTML_DOM_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:z.UNKNOWN_CONTENT,render(e){const{node:t,idx:r}=e;return e.mode==="production"?O.createElement(O.Fragment,null,t.children.map((n,i)=>te.isTextNode(n)?te.isTextListElement(t)?O.createElement(O.Fragment,{key:i},"<li>",O.createElement(je,X(q({key:i},e),{node:n})),"</li>"):O.createElement(je,X(q({key:i},e),{node:n})):O.createElement(oe,X(q({key:i},e),{idx:r?te.getChildIdx(r,i):null,node:n})))):O.createElement(he,{tag:e.node.data.tagName||"div",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_DOM_NODE,"element-category":z.UNKNOWN_CONTENT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})}},fo={attributes:{},data:{description:"",config:[],input:{}}},Yu={get name(){return Q("Widget")},void:!0,defaultData:fo,type:K.CONTENT_WIDGET,create:e=>Y({type:K.CONTENT_WIDGET,title:"MY FIRST WIDGET",data:q({},fo.data),attributes:{},children:[{text:""}]},e),get category(){return z.UNKNOWN_CONTENT},render(e){const{node:t}=e,r=Te(t.children[0]);return te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null}},go={attributes:{},data:{description:"",config:[],input:{}}},Qu={get name(){return Q("Widget")},void:!0,defaultData:go,type:K.SECTION_WIDGET,create:e=>Y({type:K.SECTION_WIDGET,title:"MY FIRST WIDGET",data:q({},go.data),attributes:{},children:[{text:""}]},e),get category(){return z.SECTION},render(e){const{node:t}=e,r=Te(t.children[0]);return te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null}},mo={attributes:{},data:{description:"",config:[],input:{}}},Zu={get name(){return Q("Widget")},void:!0,defaultData:mo,type:K.WRAPPER_WIDGET,create:e=>Y({type:K.WRAPPER_WIDGET,title:"MY FIRST WIDGET",data:q({},mo.data),attributes:{},children:[{text:""}]},e),get category(){return z.WRAPPER},render(e){const{node:t}=e;return O.createElement(di,{padding:"0px"},t.children.map(r=>te.isElement(r)?O.createElement(oe,X(q({},e),{node:r})):null))}},ec={get name(){return Q("Code")},void:!0,defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{code:""}},type:L.DANGEROUS_CODE,create:e=>Y({type:L.DANGEROUS_CODE,data:{code:""},attributes:{},children:[{text:""}]},e),category:z.DANGEROUS_CODE,render(e){const t=Te(e.node),r=e.mode==="production";r||(t.attributes["css-class"]=gt(t.attributes["css-class"],Pn));const n=e.node.data.code;return O.createElement(he,{params:X(q({},e),{node:t}),tag:"mj-text",children:O.createElement(je,{node:{text:r?n:ct.encode(n)}})})}},bo={attributes:{align:"left",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%"},data:{code:""}},yo={get name(){return Q("Table")},defaultData:bo,type:K.TABLE,create:e=>Y({type:K.TABLE,data:{code:""},attributes:q({},bo.attributes),children:[]},e),category:z.TABLE,render(e){const t=e.mode==="production",r=e.node.data.code;return O.createElement(he,{params:e,tag:"mj-table",children:e.children||O.createElement(je,{node:{text:t?r:ct.encode(r)}})})}},tc={get name(){return Q("HtmlBlockNode")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_BLOCK_NODE,create:e=>Y({type:L.HTML_BLOCK_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:z.BLOCK_NODE,render:e=>e.mode==="production"?O.createElement(he,{tag:e.node.data.tagName,params:e}):O.createElement(he,{tag:e.node.data.tagName||"div",params:X(q({},e),{node:X(q({},e.node),{attributes:{"element-type":L.HTML_BLOCK_NODE,"element-category":z.BLOCK_NODE,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},vo={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},rc={get name(){return Q("Header")},void:!0,defaultData:vo,type:K.PAGE_HEADER,create:e=>Y({type:K.PAGE_HEADER,data:q({},vo.data),attributes:{},children:[{text:""}]},e),get category(){return z.PAGE_HEADER},render(e){const t=X(q({},e.node),{type:K.WRAPPER,attributes:q({},e.node.attributes)});return O.createElement(oe,X(q({},e),{node:t}),e.node.data.content.map(r=>O.createElement(oe,X(q({key:r.id},e),{node:r}))))}},wo={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},nc={get name(){return Q("Footer")},void:!0,defaultData:wo,type:K.PAGE_FOOTER,create:e=>Y({type:K.PAGE_FOOTER,data:q({},wo.data),attributes:{},children:[{text:""}]},e),get category(){return z.PAGE_FOOTER},render(e){const t=X(q({},e.node),{type:K.WRAPPER,attributes:q({},e.node.attributes)});return O.createElement(oe,X(q({},e),{node:t}),e.node.data.content.map(r=>O.createElement(oe,X(q({key:r.id},e),{node:r}))))}},ic={[K.PAGE]:Hu,[K.HERO]:_o,[K.WRAPPER]:eo,[K.SECTION]:to,[K.GROUP]:ro,[K.COLUMN]:no,[K.TEXT]:io,[K.TABLE]:yo,[K.IMAGE]:so,[K.BUTTON]:ao,[K.SPACER]:oo,[K.DIVIDER]:co,[K.SOCIAL]:lo,[K.SOCIAL_ELEMENT]:ho,[K.NAVBAR]:uo,[K.NAVBAR_LINK]:po,[K.RAW]:$u,[K.MERGETAG]:Gu,[K.LINE_BREAK]:Wu,[K.PLACEHOLDER]:Ku,[K.DANGEROUS_CODE]:ec,[K.HTML_NODE]:Xu,[K.HTML_BLOCK_NODE]:tc,[K.HTML_DOM_NODE]:Ju,[K.CONTENT_WIDGET]:Yu,[K.SECTION_WIDGET]:Qu,[K.WRAPPER_WIDGET]:Zu,[K.PAGE_HEADER]:rc,[K.PAGE_FOOTER]:nc},ac=Y(ro.defaultData,{attributes:{},data:{}}),sc={get name(){return Q("Group")},defaultData:ac,type:se.STANDARD_GROUP,create:e=>Y({type:se.STANDARD_GROUP,data:{},attributes:{},children:[]},e),category:z.GROUP,render(e){const{node:t}=e;return O.createElement(Vs,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},oc=Y(to.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),lc={get name(){return Q("Section")},defaultData:oc,type:se.STANDARD_SECTION,create:e=>Y({type:se.STANDARD_SECTION,data:{},attributes:{},children:[]},e),category:z.SECTION,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_e(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);l["background-image-enabled"]||(delete l["background-image-enabled"],delete l["background-url"],delete l["background-position"],delete l["background-position-x"],delete l["background-position-y"],delete l["background-repeat"],delete l["background-size"]);const c=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(Hs,X(q({padding:"0px",idx:e.idx},l),{border:c,data:t.data,children:e.children||t.children}))}},uc=zr(no.defaultData,{attributes:{},data:{}}),cc={get name(){return Q("Column")},defaultData:uc,type:se.STANDARD_COLUMN,create:e=>Y({type:se.STANDARD_COLUMN,data:{},attributes:{},children:[]},e),category:z.COLUMN,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_e(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement($s,X(q({idx:e.idx},s),{border:l,data:t.data,children:e.children||t.children}))}},Zt=Y(ao.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),dc={get name(){return Q("Button")},defaultData:Zt,type:se.STANDARD_BUTTON,create:e=>Y({type:se.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:Q("Click")}]},e),category:z.BUTTON,render(e){const{node:t}=e,r=t.attributes,{"inner-padding-top":n,"inner-padding-bottom":i,"inner-padding-left":a,"inner-padding-right":o,"border-enabled":s,"border-width":l,"border-style":c,"border-color":y,"icon-enabled":v,"icon-position":k,"icon-width":w,"icon-height":x,"icon-src":b,"icon-vertical-align":u}=r,m=_e(r,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color","icon-enabled","icon-position","icon-width","icon-height","icon-src","icon-vertical-align"]),E=`${n||Zt.attributes["inner-padding-top"]} ${o||Zt.attributes["inner-padding-right"]} ${i||Zt.attributes["inner-padding-bottom"]} ${a||Zt.attributes["inner-padding-left"]}`,S=s?`${l||"1px"} ${c||"solid"} ${y||"#AAAAAA"}`:"";return m.direction==="rtl"&&(m["css-class"]||(m["css-class"]=""),m["css-class"]=m["css-class"]+" direction-rtl"),v&&b?O.createElement(pi,X(q({idx:e.idx},m),{border:S,"inner-padding":E,data:t.data,children:O.createElement(O.Fragment,null,k==="left"&&O.createElement(O.Fragment,null,`<img
71
71
  src='${b}'
72
72
  width='${w?.replace("px","")}'
73
73
  height='${x?.replace("px","")}'
@@ -77,19 +77,19 @@ list should be an Array.`),A.length===0)return new x(0);if(A.length===1)return A
77
77
  width='${w?.replace("px","")}'
78
78
  height='${x?.replace("px","")}'
79
79
  style='width: ${w}; height: ${x}; display: inline-block; vertical-align: ${u};'
80
- />`))})):O.createElement(pi,X(q({idx:e.idx},m),{border:S,"inner-padding":E,data:t.data,children:e.children||t.children}))}},pc=Y(oo.defaultData,{attributes:{},data:{}}),hc={get name(){return Q("Image")},void:!0,defaultData:pc,type:se.STANDARD_IMAGE,create:e=>Y({type:se.STANDARD_IMAGE,data:{},attributes:{},children:[]},e),category:z.IMAGE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_e(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i} ${a} ${o}`:"";return O.createElement(Ws,X(q({idx:e.idx},s),{data:t.data,border:l,children:e.children||t.children}))}},_c=Y(lo.defaultData,{attributes:{},data:{}}),fc={get name(){return Q("Spacer")},void:!0,defaultData:_c,type:se.STANDARD_SPACER,create:e=>Y({type:se.STANDARD_SPACER,data:{},attributes:{},children:[]},e),category:z.SPACER,render(e){const{node:t}=e;return O.createElement(Ks,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},gc=Y(co.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px",color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px","padding-top":"0","padding-right":"0","padding-bottom":"0","padding-left":"0","letter-spacing":"0px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}}),mc={get name(){return Q("Navbar")},defaultData:gc,type:se.STANDARD_NAVBAR,create:e=>Y({type:se.STANDARD_NAVBAR,data:{},attributes:{},children:[{data:{},type:"standard-navbar-link",children:[{text:"Shop"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"About"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Contact"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Blog"}],attributes:{href:""}}]},e),category:z.NAVBAR,render(e){const{node:t,idx:r}=e,n=_e(t.attributes,[]);return n.direction==="rtl"&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),O.createElement(Js,X(q({idx:e.idx},ot(n,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:t.data}),e.children||t.children)}},Bt=(e,t)=>({get name(){return e.name},defaultData:t,type:e.type,create:r=>Y(ot(e,["name"]),r),category:z.TEXT,render(r){const{node:n}=r,i=Y(n.attributes,e.attributes);return i.direction==="rtl"&&(i["css-class"]||(i["css-class"]=""),i["css-class"]=i["css-class"]+" direction-rtl"),O.createElement(Ar,X(q({},i),{idx:r.idx}),r.children||n.children)}}),Ct=Te(ao.defaultData),bc=Bt({get name(){return Q("Text")},type:se.STANDARD_TEXT,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{},data:{}})),yc=Bt({get name(){return Q("Text")},type:se.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"1.3","font-weight":"normal",align:"center"},data:{}})),vc=Bt({get name(){return Q("Heading 1")},type:se.STANDARD_H1,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),wc=Bt({get name(){return Q("Heading 2")},type:se.STANDARD_H2,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),xc=Bt({get name(){return Q("Heading 3")},type:se.STANDARD_H3,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Ec=Bt({get name(){return Q("Heading 4")},type:se.STANDARD_H4,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Eo={type:se.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},kc={get name(){return Q("Text list")},defaultData:Eo,type:se.STANDARD_TEXT_LIST_ITEM,create:e=>Y(Eo,e),category:z.TEXT_LIST_ITEM,render:e=>O.createElement(he,{tag:"li",params:X(q({},e),{node:X(q({},e.node),{attributes:{}})})})},Ac={type:se.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},Tc={get name(){return Q("Text list")},defaultData:Ac,type:se.STANDARD_TEXT_LIST,create:e=>Y({type:se.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},e),category:z.TEXT_LIST,render(e){const{node:t}=e,r=t.attributes;return O.createElement(Ar,q({idx:e.idx,data:t.data},r),O.createElement(he,{tag:t.attributes["list-style"]==="number"?"ol":"ul",params:X(q({},e),{node:X(q({},e.node),{attributes:{}})})}))}},Dc=Y(to.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Sc={get name(){return Q("Container")},defaultData:Dc,type:se.STANDARD_WRAPPER,create:e=>Y({type:se.STANDARD_WRAPPER,data:{},attributes:{},children:[]},e),category:z.WRAPPER,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_e(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);l["background-image-enabled"]||(delete l["background-image-enabled"],delete l["background-url"],delete l["background-position"],delete l["background-position-x"],delete l["background-position-y"],delete l["background-repeat"],delete l["background-size"]);const c=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(di,X(q({padding:"0px",idx:e.idx},l),{border:c,data:t.data,children:e.children||t.children}))}},Nc=Y(po.defaultData,{attributes:{},data:{}}),Rc={get name(){return Q("Divider")},defaultData:Nc,void:!0,type:se.STANDARD_DIVIDER,create:e=>Y({type:se.STANDARD_DIVIDER,data:{},attributes:{},children:[]},e),category:z.DIVIDER,render(e){const{node:t}=e;return O.createElement(Xs,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},Oc=Y(uo.defaultData,{attributes:{spacing:"8px"},data:{}}),Lc={get name(){return Q("Social")},defaultData:Oc,type:se.STANDARD_SOCIAL,create:e=>Y({type:se.STANDARD_SOCIAL,data:{},attributes:{spacing:"8px","icon-size":"30px"},children:[{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/psyz-f1z-ryy95lv2rh7g_image.png",href:"","padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rxxjzpus7vy2cxi0vp6hr_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/obdwqmxv5cljc16-ebnja_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}}]},e),category:z.SOCIAL,render(e){const{node:t,idx:r}=e,n=_e(t.attributes,[]),i=e.node.attributes.spacing;return O.createElement(Qs,X(q({idx:e.idx},ot(n,["spacing"])),{data:t.data}),t.children.map((a,o)=>{if(!te.isElement(a))return null;const s=X(q({},a.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return e.node.attributes.mode==="horizontal"&&o!==0&&(s["padding-left"]=i),e.node.attributes.mode==="vertical"&&o!==0&&(s["padding-top"]=i),O.createElement(oe,X(q({},e),{idx:te.getChildIdx(te.getPageIdx(),o),key:o,node:X(q({},a),{attributes:s})}))}))}},Bc={type:"standard-hero",data:{},attributes:{"padding-top":"100px","padding-bottom":"50px","background-image-enabled":!0,"background-color":"#c5900c","background-position":"center center",mode:"fluid-height"},children:[{type:"standard-h1",data:{},attributes:{color:"#FFFFFF"},children:[{text:"We Serve Healthy & Delicious Foods"}]},{type:"standard-paragraph",data:{},attributes:{color:"#FFFFFF"},children:[{text:"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."}]},{type:"standard-button",data:{content:"Button"},attributes:{"padding-top":"30px","padding-bottom":"30px","background-color":"#8b2a36"},children:[{text:"Get Your Order Here!"}]}]},Cc=Y(fo.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),Ic={get name(){return Q("Hero")},defaultData:Cc,type:se.STANDARD_HERO,create:e=>Y(Bc,e),category:z.HERO,render(e){const{node:t}=e,r=Te(t.attributes),n=_e(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),O.createElement(eo,X(q({idx:e.idx},n),{data:t.data,children:e.children||t.children}))}},_i={facebook:{"share-url":"https://www.facebook.com/sharer/sharer.php?u=[[URL]]","background-color":"#3b5998",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/cxhzkclel5ojn_dzo1o7v_facebook.png"},twitter:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#55acee",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/amgedgwcqlylvnrwyr5kq_twitter.png"},x:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#000000",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/vjjjm0-8wv5-oumveqyna_twitter-x.png"},google:{"share-url":"https://plus.google.com/share?url=[[URL]]","background-color":"#dc4e41",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rosf8w1cze_igfziroy-a_google-plus.png"},pinterest:{"share-url":"https://pinterest.com/pin/create/button/?url=[[URL]]&media=&description=","background-color":"#bd081c",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/5nbnpewsfwjzqtps05xmc_pinterest.png"},linkedin:{"share-url":"https://www.linkedin.com/shareArticle?mini=true&url=[[URL]]&title=&summary=&source=","background-color":"#0077b5",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mgqz7skw2nldk67b-nrwm_linkedin.png"},instagram:{"background-color":"#3f729b",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/yyeuinjdwnclhwonzm04p_instagram.png"},web:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/n-r5usz1urkhrcromjxjc_web.png","background-color":"#4BADE9"},snapchat:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/ab3wb9y0cd6zdwvqjf-gi_snapchat.png","background-color":"#FFFA54"},youtube:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/j5wv-vgx4tse62wzjde4q_youtube.png","background-color":"#EB3323"},tumblr:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/osjreug28o8-zvwduvdm5_tumblr.png","share-url":"https://www.tumblr.com/widgets/share/tool?canonicalUrl=[[URL]]","background-color":"#344356"},github:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/sx2srmw6aeepxzr_l0i9w_github.png","background-color":"#000000"},xing:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/3syvpbhnvbs_uguqf8auu_xing.png","share-url":"https://www.xing.com/app/user?op=share&url=[[URL]]","background-color":"#296366"},vimeo:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/uihefqcygdxyocasyi23__vimeo.png","background-color":"#53B4E7"},medium:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mxkhtn4agyjm92ph9igzb_medium.png","background-color":"#000000"},soundcloud:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/f8kv_yofbeejet2sdvur2_soundcloud.png","background-color":"#EF7F31"},dribbble:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/atueuzuwh4k9n2nxnahrh_dribbble.png","background-color":"#D95988"}},qc=Y(_o.defaultData,{attributes:{},data:{}}),Pc={get name(){return Q("Social Item")},defaultData:qc,type:L.STANDARD_SOCIAL_ELEMENT,create:e=>Y({type:L.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},e),category:z.SOCIAL_ELEMENT,render(e){var t,r,n;const{node:i}=e,a=i.attributes,{mode:o,name:s,src:l}=a,c=_e(a,["mode","name","src"]),y=q(q({},c),o==="prebuilt"?{name:void 0,"background-color":s?(t=_i[s])==null?void 0:t["background-color"]:c["background-color"],src:s?(r=_i[s])==null?void 0:r.src:void 0}:o==="custom"?{name:void 0,src:l}:{name:void 0,src:s?(n=_i[s])==null?void 0:n.src:l});return O.createElement(Zs,X(q({idx:e.idx},y),{data:i.data,children:e.children||i.children}))}},Mc=Y(ho.defaultData,{attributes:{},data:{}}),Uc={get name(){return Q("Navbar Link")},defaultData:Mc,type:L.STANDARD_NAVBAR_LINK,create:e=>Y({type:L.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},e),category:z.NAVBAR_LINK,render(e){const{node:t}=e;return O.createElement(Ys,X(q({idx:e.idx},t.attributes),{data:t.data}),e.children||t.children)}},Fc={type:se.STANDARD_BLOCK_QUOTE,data:{},attributes:{"padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal","border-width":"2px","border-color":"#000000"},children:[]},jc={get name(){return Q("Blockquote")},defaultData:Fc,type:se.STANDARD_BLOCK_QUOTE,create:e=>Y({type:se.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},e),category:z.TEXT,render(e){const{node:t}=e,r=t.attributes;return O.createElement(Ar,q({idx:e.idx,data:t.data},r),O.createElement(he,{tag:"blockquote",params:X(q({},e),{node:X(q({},e.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},zc=Y(vo.defaultData,{attributes:{},data:{code:""}}),Hc={get name(){return Q("Table")},void:!0,defaultData:zc,type:se.STANDARD_TABLE,create:e=>Y({type:se.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},e),category:z.TABLE,render(e){const{node:t,children:r}=e;return O.createElement(hi,X(q({idx:e.idx},t.attributes),{data:t.data}),r||t.data.code)}},er={attributes:{align:"left","text-align":"center",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%","border-color":"#000000","border-style":"solid","border-width":"1px","border-enabled":!0,"cell-padding-top":"10px","cell-padding-bottom":"10px","cell-padding-right":"10px","cell-padding-left":"10px"},data:{}},Vc={get name(){return Q("Table")},void:!1,defaultData:er,type:se.STANDARD_TABLE2,create:e=>Y({type:se.STANDARD_TABLE2,data:{},attributes:{},children:[]},e),category:z.TABLE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n=!0,"border-width":i,"border-style":a,"border-color":o,"cell-padding-top":s,"cell-padding-bottom":l,"cell-padding-left":c,"cell-padding-right":y}=r,v=_e(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),k=`${s||er.attributes["cell-padding-top"]} ${y||er.attributes["cell-padding-right"]} ${l||er.attributes["cell-padding-bottom"]} ${c||er.attributes["cell-padding-left"]}`;return O.createElement(hi,X(q({},v),{cellpadding:k}),O.createElement(O.Fragment,null,O.createElement("tbody",null,t.children.map((w,x)=>te.isTextNode(w)?O.createElement(O.Fragment,{key:x}):O.createElement(oe,{key:x,node:X(q({},w),{attributes:q({"border-color":o,"border-style":a,"border-width":i,"border-enabled":n,"text-align":t.attributes["text-align"]},w.attributes)})})))))}},$c={get name(){return Q("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:se.STANDARD_TABLE2_TR,create:e=>Y({type:se.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},e),category:z.TABLE2_TR,render(e){const{node:t}=e,r=[],n=t.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),O.createElement(he,{params:X(q({},e),{node:X(q({},t),{attributes:{style:r.join(";")}})}),tag:"tr",children:t.children.map((i,a)=>te.isTextNode(i)?O.createElement(O.Fragment,{key:a}):O.createElement(oe,{key:a,node:X(q({},i),{attributes:q(q({},hu(t.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),i.attributes)})}))})}},Gc={get name(){return Q("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:se.STANDARD_TABLE2_TD,create:e=>Y({type:se.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},e),category:z.TABLE2_TD,render(e){var t,r;const{node:n}=e,i=[],a=n.attributes;return a["border-enabled"]&&i.push(`border: ${a["border-width"]} ${a["border-color"]} ${a["border-style"]}`),a["text-align"]&&i.push(`text-align: ${a["text-align"]}`),O.createElement(he,{params:X(q({},e),{node:X(q({},n),{attributes:{style:i.join(";"),rowspan:((t=n.data.rowspan)==null?void 0:t.toString())||"1",colspan:((r=n.data.colspan)==null?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map((o,s)=>te.isTextNode(o)?O.createElement(je,{key:s,node:o}):O.createElement(oe,{key:s,node:o}))})}},Wc={[L.STANDARD_HERO]:Ic,[L.STANDARD_DIVIDER]:Rc,[L.STANDARD_WRAPPER]:Sc,[L.STANDARD_SECTION]:lc,[L.STANDARD_GROUP]:sc,[L.STANDARD_SOCIAL]:Lc,[L.STANDARD_SOCIAL_ELEMENT]:Pc,[L.STANDARD_COLUMN]:cc,[L.STANDARD_BUTTON]:dc,[L.STANDARD_SPACER]:fc,[L.STANDARD_IMAGE]:hc,[L.STANDARD_TEXT]:bc,[L.STANDARD_NAVBAR]:mc,[L.STANDARD_NAVBAR_LINK]:Uc,[L.STANDARD_PARAGRAPH]:yc,[L.STANDARD_H1]:vc,[L.STANDARD_H2]:wc,[L.STANDARD_H3]:xc,[L.STANDARD_H4]:Ec,[L.STANDARD_TABLE]:Hc,[L.STANDARD_TEXT_LIST]:Tc,[L.STANDARD_TEXT_LIST_ITEM]:kc,[L.STANDARD_BLOCK_QUOTE]:jc,[L.STANDARD_TABLE2]:Vc,[L.STANDARD_TABLE2_TR]:$c,[L.STANDARD_TABLE2_TD]:Gc},fi={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:O.createElement(O.Fragment,null)}},Kc={get name(){return Q("Show")},type:L.FOR_EACH,category:z.UNSET,defaultData:fi,create(e){const t={type:L.SHOW,data:q({},fi.data),attributes:q({},fi.attributes),children:[]};return zr(t,e)},render(e){const{node:t,mode:r}=e,n=t.data;return r==="testing"?n.showTruthyInTesting?O.createElement(O.Fragment,null,n.component):O.createElement(O.Fragment,null,n.fallback):Ge.generateConditionTemplate(n.expression,n.component,n.fallback)}},gi={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},Xc={get name(){return Q("ForEach")},type:L.FOR_EACH,category:z.UNSET,defaultData:gi,create(e){const t={type:L.FOR_EACH,data:q({},gi.data),attributes:q({},gi.attributes),children:[]};return zr(t,e)},render(e){const{node:t,children:r,idx:n}=e;return Ge.generateIterationTemplate(X(q({mockQuantity:1,limit:999},t.data),{enabled:!0}),r||t.children.map((i,a)=>te.isTextNode(i)?te.isTextListElement(t)?O.createElement(O.Fragment,{key:a},"<li>",O.createElement(je,X(q({key:a},e),{node:i})),"</li>"):O.createElement(je,X(q({key:a},e),{node:i})):O.createElement(oe,X(q({key:a},e),{idx:n?te.getChildIdx(n,a):null,node:i}))))}},Jc={[L.FOR_EACH]:Xc,[L.SHOW]:Kc},ko=q(q(q({},ic),Wc),Jc),mi=q({},ko),ee=Object.freeze(new class{registerBlocks(e){e.forEach(t=>{mi[t.type]=t})}getBlockByType(e){return mi[e]}getBlocks(){return Object.values(mi)}getBlockTitle(e){var t;return e.title?e.title:((t=this.getBlockByType(e.type))==null?void 0:t.name)||""}});var It=(e=>(e.TRUTHY="truthy",e.FALSY="falsy",e.EMPTY="empty",e.NOT_EMPTY="not_empty",e.EQUAL="==",e.NOT_EQUAL="!=",e.GREATER=">",e.GREATER_OR_EQUAL=">=",e.LESS="<",e.LESS_OR_EQUAL="<=",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.STARTS_WITH="starts_with",e.ENDS_WITH="ends_with",e.IN="in",e.NOT_IN="not_in",e))(It||{}),Ao=(e=>(e.AND="and",e.OR="or",e))(Ao||{});const Yc=e=>`{{ ${e} }}`,Qc=()=>e=>`{{ ${e} }}`,Zc=()=>e=>e;var To,Do={exports:{}};const ed=lr((To||(To=1,Do.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",y="quarter",v="year",k="date",w="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var I=["th","st","nd","rd"],D=C%100;return"["+C+(I[(D-20)%10]||I[D]||I[0])+"]"}},m=function(C,I,D){var P=String(C);return!P||P.length>=I?C:""+Array(I+1-P.length).join(D)+C},E={s:m,z:function(C){var I=-C.utcOffset(),D=Math.abs(I),P=Math.floor(D/60),F=D%60;return(I<=0?"+":"-")+m(P,2,"0")+":"+m(F,2,"0")},m:function C(I,D){if(I.date()<D.date())return-C(D,I);var P=12*(D.year()-I.year())+(D.month()-I.month()),F=I.clone().add(P,c),H=D-F<0,G=I.clone().add(P+(H?-1:1),c);return+(-(P+(D-F)/(H?F-G:G-F))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:c,y:v,w:l,d:s,D:k,h:o,m:a,s:i,ms:n,Q:y}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},S="en",d={};d[S]=u;var g="$isDayjsObject",_=function(C){return C instanceof f||!(!C||!C[g])},h=function C(I,D,P){var F;if(!I)return S;if(typeof I=="string"){var H=I.toLowerCase();d[H]&&(F=H),D&&(d[H]=D,F=H);var G=I.split("-");if(!F&&G.length>1)return C(G[0])}else{var M=I.name;d[M]=I,F=M}return!P&&F&&(S=F),F||!P&&S},p=function(C,I){if(_(C))return C.clone();var D=typeof I=="object"?I:{};return D.date=C,D.args=arguments,new f(D)},T=E;T.l=h,T.i=_,T.w=function(C,I){return p(C,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var f=function(){function C(D){this.$L=h(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[g]=!0}var I=C.prototype;return I.parse=function(D){this.$d=function(P){var F=P.date,H=P.utc;if(F===null)return new Date(NaN);if(T.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var G=F.match(x);if(G){var M=G[2]-1||0,j=(G[7]||"0").substring(0,3);return H?new Date(Date.UTC(G[1],M,G[3]||1,G[4]||0,G[5]||0,G[6]||0,j)):new Date(G[1],M,G[3]||1,G[4]||0,G[5]||0,G[6]||0,j)}}return new Date(F)}(D),this.init()},I.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},I.$utils=function(){return T},I.isValid=function(){return this.$d.toString()!==w},I.isSame=function(D,P){var F=p(D);return this.startOf(P)<=F&&F<=this.endOf(P)},I.isAfter=function(D,P){return p(D)<this.startOf(P)},I.isBefore=function(D,P){return this.endOf(P)<p(D)},I.$g=function(D,P,F){return T.u(D)?this[P]:this.set(F,D)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(D,P){var F=this,H=!!T.u(P)||P,G=T.p(D),M=function(A,N){var B=T.w(F.$u?Date.UTC(F.$y,N,A):new Date(F.$y,N,A),F);return H?B:B.endOf(s)},j=function(A,N){return T.w(F.toDate()[A].apply(F.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(N)),F)},U=this.$W,V=this.$M,ue=this.$D,ke="set"+(this.$u?"UTC":"");switch(G){case v:return H?M(1,0):M(31,11);case c:return H?M(1,V):M(0,V+1);case l:var Ae=this.$locale().weekStart||0,J=(U<Ae?U+7:U)-Ae;return M(H?ue-J:ue+(6-J),V);case s:case k:return j(ke+"Hours",0);case o:return j(ke+"Minutes",1);case a:return j(ke+"Seconds",2);case i:return j(ke+"Milliseconds",3);default:return this.clone()}},I.endOf=function(D){return this.startOf(D,!1)},I.$set=function(D,P){var F,H=T.p(D),G="set"+(this.$u?"UTC":""),M=(F={},F[s]=G+"Date",F[k]=G+"Date",F[c]=G+"Month",F[v]=G+"FullYear",F[o]=G+"Hours",F[a]=G+"Minutes",F[i]=G+"Seconds",F[n]=G+"Milliseconds",F)[H],j=H===s?this.$D+(P-this.$W):P;if(H===c||H===v){var U=this.clone().set(k,1);U.$d[M](j),U.init(),this.$d=U.set(k,Math.min(this.$D,U.daysInMonth())).$d}else M&&this.$d[M](j);return this.init(),this},I.set=function(D,P){return this.clone().$set(D,P)},I.get=function(D){return this[T.p(D)]()},I.add=function(D,P){var F,H=this;D=Number(D);var G=T.p(P),M=function(V){var ue=p(H);return T.w(ue.date(ue.date()+Math.round(V*D)),H)};if(G===c)return this.set(c,this.$M+D);if(G===v)return this.set(v,this.$y+D);if(G===s)return M(1);if(G===l)return M(7);var j=(F={},F[a]=t,F[o]=r,F[i]=e,F)[G]||1,U=this.$d.getTime()+D*j;return T.w(U,this)},I.subtract=function(D,P){return this.add(-1*D,P)},I.format=function(D){var P=this,F=this.$locale();if(!this.isValid())return F.invalidDate||w;var H=D||"YYYY-MM-DDTHH:mm:ssZ",G=T.z(this),M=this.$H,j=this.$m,U=this.$M,V=F.weekdays,ue=F.months,ke=F.meridiem,Ae=function(N,B,$,W){return N&&(N[B]||N(P,H))||$[B].slice(0,W)},J=function(N){return T.s(M%12||12,N,"0")},A=ke||function(N,B,$){var W=N<12?"AM":"PM";return $?W.toLowerCase():W};return H.replace(b,function(N,B){return B||function($){switch($){case"YY":return String(P.$y).slice(-2);case"YYYY":return T.s(P.$y,4,"0");case"M":return U+1;case"MM":return T.s(U+1,2,"0");case"MMM":return Ae(F.monthsShort,U,ue,3);case"MMMM":return Ae(ue,U);case"D":return P.$D;case"DD":return T.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return Ae(F.weekdaysMin,P.$W,V,2);case"ddd":return Ae(F.weekdaysShort,P.$W,V,3);case"dddd":return V[P.$W];case"H":return String(M);case"HH":return T.s(M,2,"0");case"h":return J(1);case"hh":return J(2);case"a":return A(M,j,!0);case"A":return A(M,j,!1);case"m":return String(j);case"mm":return T.s(j,2,"0");case"s":return String(P.$s);case"ss":return T.s(P.$s,2,"0");case"SSS":return T.s(P.$ms,3,"0");case"Z":return G}return null}(N)||G.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(D,P,F){var H,G=this,M=T.p(P),j=p(D),U=(j.utcOffset()-this.utcOffset())*t,V=this-j,ue=function(){return T.m(G,j)};switch(M){case v:H=ue()/12;break;case c:H=ue();break;case y:H=ue()/3;break;case l:H=(V-U)/6048e5;break;case s:H=(V-U)/864e5;break;case o:H=V/r;break;case a:H=V/t;break;case i:H=V/e;break;default:H=V}return F?H:T.a(H)},I.daysInMonth=function(){return this.endOf(c).$D},I.$locale=function(){return d[this.$L]},I.locale=function(D,P){if(!D)return this.$L;var F=this.clone(),H=h(D,P,!0);return H&&(F.$L=H),F},I.clone=function(){return T.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},C}(),R=f.prototype;return p.prototype=R,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",v],["$D",k]].forEach(function(C){R[C[1]]=function(I){return this.$g(I,C[0],C[1])}}),p.extend=function(C,I){return C.$i||(C(I,f,p),C.$i=!0),p},p.locale=h,p.isDayjs=_,p.unix=function(C){return p(1e3*C)},p.en=d[S],p.Ls=d,p.p={},p}()),Do.exports));class Ve{constructor(t,r,n,i,a){this.kind=t,this.input=r,this.begin=n,this.end=i,this.file=a}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[t,r]=[1,1];for(let n=0;n<this.begin;n++)this.input[n]===`
81
- `?(t++,r=1):r++;return[t,r]}size(){return this.end-this.begin}}class wt{liquidMethodMissing(t){}}const td=Object.prototype.toString,So=String.prototype.toLowerCase,No=Object.hasOwnProperty;function Qe(e){return typeof e=="string"}function Ue(e){return typeof e=="function"}function rd(e){return e&&Ue(e.then)}function Tr(e){return e&&Ue(e.next)&&Ue(e.throw)&&Ue(e.return)}function ie(e){return Qe(e=le(e))?e:rt(e)?"":Oe(e)?e.map(t=>ie(t)).join(""):String(e)}function le(e){return e instanceof wt&&Ue(e.valueOf)?e.valueOf():e}function Dr(e){return typeof e=="number"}function Ro(e){return e&&Ue(e.toLiquid)?Ro(e.toLiquid()):e}function rt(e){return e==null}function Oe(e){return td.call(e)==="[object Array]"}function Oo(e,t){e=e||{};for(const r in e)if(No.call(e,r)&&t(e[r],r,e)===!1)break;return e}function Lo(e){return e[e.length-1]}function bi(e){const t=typeof e;return e!==null&&(t==="object"||t==="function")}function Bo(e,t,r=1){const n=[];for(let i=e;i<t;i+=r)n.push(i);return n}function tr(e,t,r=" "){return Co(e,t,r,(n,i)=>i+n)}function Co(e,t,r,n){let i=t-(e=String(e)).length;for(;i-- >0;)e=n(e,r);return e}function Io(e){return e}function qo(e,t){return e==null&&t==null?0:e==null?1:t==null||(e=So.call(e))<(t=So.call(t))?-1:e>t?1:0}function ze(e){return(...t)=>e(...t.map(le))}function yi(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Po="__liquidClass__";class rr extends Error{constructor(t,r){super(typeof t=="string"?t:t.message),this.context="",typeof t!="string"&&Object.defineProperty(this,"originalError",{value:t,enumerable:!1}),Object.defineProperty(this,"token",{value:r,enumerable:!1}),Object.defineProperty(this,Po,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:ld(this.token),enumerable:!1}),this.message=function(t,r){r.file&&(t+=`, file:${r.file}`);const[n,i]=r.getPosition();return t+=`, line:${n}, col:${i}`}(this.message,this.token),this.stack=this.message+`
80
+ />`))})):O.createElement(pi,X(q({idx:e.idx},m),{border:S,"inner-padding":E,data:t.data,children:e.children||t.children}))}},pc=Y(so.defaultData,{attributes:{},data:{}}),hc={get name(){return Q("Image")},void:!0,defaultData:pc,type:se.STANDARD_IMAGE,create:e=>Y({type:se.STANDARD_IMAGE,data:{},attributes:{},children:[]},e),category:z.IMAGE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_e(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i} ${a} ${o}`:"";return O.createElement(Gs,X(q({idx:e.idx},s),{data:t.data,border:l,children:e.children||t.children}))}},_c=Y(oo.defaultData,{attributes:{},data:{}}),fc={get name(){return Q("Spacer")},void:!0,defaultData:_c,type:se.STANDARD_SPACER,create:e=>Y({type:se.STANDARD_SPACER,data:{},attributes:{},children:[]},e),category:z.SPACER,render(e){const{node:t}=e;return O.createElement(Ws,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},gc=Y(uo.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px",color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px","padding-top":"0","padding-right":"0","padding-bottom":"0","padding-left":"0","letter-spacing":"0px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}}),mc={get name(){return Q("Navbar")},defaultData:gc,type:se.STANDARD_NAVBAR,create:e=>Y({type:se.STANDARD_NAVBAR,data:{},attributes:{},children:[{data:{},type:"standard-navbar-link",children:[{text:"Shop"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"About"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Contact"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Blog"}],attributes:{href:""}}]},e),category:z.NAVBAR,render(e){const{node:t,idx:r}=e,n=_e(t.attributes,[]);return n.direction==="rtl"&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),O.createElement(Xs,X(q({idx:e.idx},ot(n,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:t.data}),e.children||t.children)}},Bt=(e,t)=>({get name(){return e.name},defaultData:t,type:e.type,create:r=>Y(ot(e,["name"]),r),category:z.TEXT,render(r){const{node:n}=r,i=Y(n.attributes,e.attributes);return i.direction==="rtl"&&(i["css-class"]||(i["css-class"]=""),i["css-class"]=i["css-class"]+" direction-rtl"),O.createElement(Ar,X(q({},i),{idx:r.idx}),r.children||n.children)}}),Ct=Te(io.defaultData),bc=Bt({get name(){return Q("Text")},type:se.STANDARD_TEXT,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{},data:{}})),yc=Bt({get name(){return Q("Text")},type:se.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"1.3","font-weight":"normal",align:"center"},data:{}})),vc=Bt({get name(){return Q("Heading 1")},type:se.STANDARD_H1,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),wc=Bt({get name(){return Q("Heading 2")},type:se.STANDARD_H2,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),xc=Bt({get name(){return Q("Heading 3")},type:se.STANDARD_H3,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),Ec=Bt({get name(){return Q("Heading 4")},type:se.STANDARD_H4,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ct,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),xo={type:se.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},kc={get name(){return Q("Text list")},defaultData:xo,type:se.STANDARD_TEXT_LIST_ITEM,create:e=>Y(xo,e),category:z.TEXT_LIST_ITEM,render:e=>O.createElement(he,{tag:"li",params:X(q({},e),{node:X(q({},e.node),{attributes:{}})})})},Ac={type:se.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},Tc={get name(){return Q("Text list")},defaultData:Ac,type:se.STANDARD_TEXT_LIST,create:e=>Y({type:se.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},e),category:z.TEXT_LIST,render(e){const{node:t}=e,r=t.attributes;return O.createElement(Ar,q({idx:e.idx,data:t.data},r),O.createElement(he,{tag:t.attributes["list-style"]==="number"?"ol":"ul",params:X(q({},e),{node:X(q({},e.node),{attributes:{}})})}))}},Dc=Y(eo.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Sc={get name(){return Q("Container")},defaultData:Dc,type:se.STANDARD_WRAPPER,create:e=>Y({type:se.STANDARD_WRAPPER,data:{},attributes:{},children:[]},e),category:z.WRAPPER,render(e){const{node:t}=e,r=Te(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_e(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);l["background-image-enabled"]||(delete l["background-image-enabled"],delete l["background-url"],delete l["background-position"],delete l["background-position-x"],delete l["background-position-y"],delete l["background-repeat"],delete l["background-size"]);const c=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(di,X(q({padding:"0px",idx:e.idx},l),{border:c,data:t.data,children:e.children||t.children}))}},Nc=Y(co.defaultData,{attributes:{},data:{}}),Rc={get name(){return Q("Divider")},defaultData:Nc,void:!0,type:se.STANDARD_DIVIDER,create:e=>Y({type:se.STANDARD_DIVIDER,data:{},attributes:{},children:[]},e),category:z.DIVIDER,render(e){const{node:t}=e;return O.createElement(Ks,X(q({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},Oc=Y(lo.defaultData,{attributes:{spacing:"8px"},data:{}}),Lc={get name(){return Q("Social")},defaultData:Oc,type:se.STANDARD_SOCIAL,create:e=>Y({type:se.STANDARD_SOCIAL,data:{},attributes:{spacing:"8px","icon-size":"30px"},children:[{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/psyz-f1z-ryy95lv2rh7g_image.png",href:"","padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rxxjzpus7vy2cxi0vp6hr_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/obdwqmxv5cljc16-ebnja_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}}]},e),category:z.SOCIAL,render(e){const{node:t,idx:r}=e,n=_e(t.attributes,[]),i=e.node.attributes.spacing;return O.createElement(Ys,X(q({idx:e.idx},ot(n,["spacing"])),{data:t.data}),t.children.map((a,o)=>{if(!te.isElement(a))return null;const s=X(q({},a.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return e.node.attributes.mode==="horizontal"&&o!==0&&(s["padding-left"]=i),e.node.attributes.mode==="vertical"&&o!==0&&(s["padding-top"]=i),O.createElement(oe,X(q({},e),{idx:te.getChildIdx(te.getPageIdx(),o),key:o,node:X(q({},a),{attributes:s})}))}))}},Bc={type:"standard-hero",data:{},attributes:{"padding-top":"100px","padding-bottom":"50px","background-image-enabled":!0,"background-color":"#c5900c","background-position":"center center",mode:"fluid-height"},children:[{type:"standard-h1",data:{},attributes:{color:"#FFFFFF"},children:[{text:"We Serve Healthy & Delicious Foods"}]},{type:"standard-paragraph",data:{},attributes:{color:"#FFFFFF"},children:[{text:"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."}]},{type:"standard-button",data:{content:"Button"},attributes:{"padding-top":"30px","padding-bottom":"30px","background-color":"#8b2a36"},children:[{text:"Get Your Order Here!"}]}]},Cc=Y(_o.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),Ic={get name(){return Q("Hero")},defaultData:Cc,type:se.STANDARD_HERO,create:e=>Y(Bc,e),category:z.HERO,render(e){const{node:t}=e,r=Te(t.attributes),n=_e(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),O.createElement(Zs,X(q({idx:e.idx},n),{data:t.data,children:e.children||t.children}))}},Eo={facebook:{"share-url":"https://www.facebook.com/sharer/sharer.php?u=[[URL]]","background-color":"#3b5998",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/cxhzkclel5ojn_dzo1o7v_facebook.png"},twitter:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#55acee",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/amgedgwcqlylvnrwyr5kq_twitter.png"},x:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#000000",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/vjjjm0-8wv5-oumveqyna_twitter-x.png"},google:{"share-url":"https://plus.google.com/share?url=[[URL]]","background-color":"#dc4e41",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rosf8w1cze_igfziroy-a_google-plus.png"},pinterest:{"share-url":"https://pinterest.com/pin/create/button/?url=[[URL]]&media=&description=","background-color":"#bd081c",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/5nbnpewsfwjzqtps05xmc_pinterest.png"},linkedin:{"share-url":"https://www.linkedin.com/shareArticle?mini=true&url=[[URL]]&title=&summary=&source=","background-color":"#0077b5",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mgqz7skw2nldk67b-nrwm_linkedin.png"},instagram:{"background-color":"#3f729b",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/yyeuinjdwnclhwonzm04p_instagram.png"},web:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/n-r5usz1urkhrcromjxjc_web.png","background-color":"#4BADE9"},snapchat:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/ab3wb9y0cd6zdwvqjf-gi_snapchat.png","background-color":"#FFFA54"},youtube:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/j5wv-vgx4tse62wzjde4q_youtube.png","background-color":"#EB3323"},tumblr:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/osjreug28o8-zvwduvdm5_tumblr.png","share-url":"https://www.tumblr.com/widgets/share/tool?canonicalUrl=[[URL]]","background-color":"#344356"},github:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/sx2srmw6aeepxzr_l0i9w_github.png","background-color":"#000000"},xing:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/3syvpbhnvbs_uguqf8auu_xing.png","share-url":"https://www.xing.com/app/user?op=share&url=[[URL]]","background-color":"#296366"},vimeo:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/uihefqcygdxyocasyi23__vimeo.png","background-color":"#53B4E7"},medium:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mxkhtn4agyjm92ph9igzb_medium.png","background-color":"#000000"},soundcloud:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/f8kv_yofbeejet2sdvur2_soundcloud.png","background-color":"#EF7F31"},dribbble:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/atueuzuwh4k9n2nxnahrh_dribbble.png","background-color":"#D95988"}},qc=Y(ho.defaultData,{attributes:{},data:{}}),Pc={get name(){return Q("Social Item")},defaultData:qc,type:L.STANDARD_SOCIAL_ELEMENT,create:e=>Y({type:L.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},e),category:z.SOCIAL_ELEMENT,render(e){var t;const{node:r}=e,n=r.attributes,{mode:i,name:a,src:o}=n,s=_e(n,["mode","name","src"]),l=a?Eo[a]:void 0,c=q(q({},s),i==="prebuilt"?{name:void 0,"background-color":s["background-color"]||l?.["background-color"],src:l?.src}:i==="custom"?{name:void 0,src:o}:{name:void 0,src:a?(t=Eo[a])==null?void 0:t.src:o});return O.createElement(Qs,X(q({idx:e.idx},c),{data:r.data,children:e.children||r.children}))}},Mc=Y(po.defaultData,{attributes:{},data:{}}),Uc={get name(){return Q("Navbar Link")},defaultData:Mc,type:L.STANDARD_NAVBAR_LINK,create:e=>Y({type:L.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},e),category:z.NAVBAR_LINK,render(e){const{node:t}=e;return O.createElement(Js,X(q({idx:e.idx},t.attributes),{data:t.data}),e.children||t.children)}},Fc={type:se.STANDARD_BLOCK_QUOTE,data:{},attributes:{"padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal","border-width":"2px","border-color":"#000000"},children:[]},jc={get name(){return Q("Blockquote")},defaultData:Fc,type:se.STANDARD_BLOCK_QUOTE,create:e=>Y({type:se.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},e),category:z.TEXT,render(e){const{node:t}=e,r=t.attributes;return O.createElement(Ar,q({idx:e.idx,data:t.data},r),O.createElement(he,{tag:"blockquote",params:X(q({},e),{node:X(q({},e.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},zc=Y(yo.defaultData,{attributes:{},data:{code:""}}),Hc={get name(){return Q("Table")},void:!0,defaultData:zc,type:se.STANDARD_TABLE,create:e=>Y({type:se.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},e),category:z.TABLE,render(e){const{node:t,children:r}=e;return O.createElement(hi,X(q({idx:e.idx},t.attributes),{data:t.data}),r||t.data.code)}},er={attributes:{align:"left","text-align":"center",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%","border-color":"#000000","border-style":"solid","border-width":"1px","border-enabled":!0,"cell-padding-top":"10px","cell-padding-bottom":"10px","cell-padding-right":"10px","cell-padding-left":"10px"},data:{}},Vc={get name(){return Q("Table")},void:!1,defaultData:er,type:se.STANDARD_TABLE2,create:e=>Y({type:se.STANDARD_TABLE2,data:{},attributes:{},children:[]},e),category:z.TABLE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n=!0,"border-width":i,"border-style":a,"border-color":o,"cell-padding-top":s,"cell-padding-bottom":l,"cell-padding-left":c,"cell-padding-right":y}=r,v=_e(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),k=`${s||er.attributes["cell-padding-top"]} ${y||er.attributes["cell-padding-right"]} ${l||er.attributes["cell-padding-bottom"]} ${c||er.attributes["cell-padding-left"]}`;return O.createElement(hi,X(q({},v),{cellpadding:k}),O.createElement(O.Fragment,null,O.createElement("tbody",null,t.children.map((w,x)=>te.isTextNode(w)?O.createElement(O.Fragment,{key:x}):O.createElement(oe,{key:x,node:X(q({},w),{attributes:q({"border-color":o,"border-style":a,"border-width":i,"border-enabled":n,"text-align":t.attributes["text-align"]},w.attributes)})})))))}},$c={get name(){return Q("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:se.STANDARD_TABLE2_TR,create:e=>Y({type:se.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},e),category:z.TABLE2_TR,render(e){const{node:t}=e,r=[],n=t.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),O.createElement(he,{params:X(q({},e),{node:X(q({},t),{attributes:{style:r.join(";")}})}),tag:"tr",children:t.children.map((i,a)=>te.isTextNode(i)?O.createElement(O.Fragment,{key:a}):O.createElement(oe,{key:a,node:X(q({},i),{attributes:q(q({},hu(t.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),i.attributes)})}))})}},Gc={get name(){return Q("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:se.STANDARD_TABLE2_TD,create:e=>Y({type:se.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},e),category:z.TABLE2_TD,render(e){var t,r;const{node:n}=e,i=[],a=n.attributes;return a["border-enabled"]&&i.push(`border: ${a["border-width"]} ${a["border-color"]} ${a["border-style"]}`),a["text-align"]&&i.push(`text-align: ${a["text-align"]}`),O.createElement(he,{params:X(q({},e),{node:X(q({},n),{attributes:{style:i.join(";"),rowspan:((t=n.data.rowspan)==null?void 0:t.toString())||"1",colspan:((r=n.data.colspan)==null?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map((o,s)=>te.isTextNode(o)?O.createElement(je,{key:s,node:o}):O.createElement(oe,{key:s,node:o}))})}},Wc={[L.STANDARD_HERO]:Ic,[L.STANDARD_DIVIDER]:Rc,[L.STANDARD_WRAPPER]:Sc,[L.STANDARD_SECTION]:lc,[L.STANDARD_GROUP]:sc,[L.STANDARD_SOCIAL]:Lc,[L.STANDARD_SOCIAL_ELEMENT]:Pc,[L.STANDARD_COLUMN]:cc,[L.STANDARD_BUTTON]:dc,[L.STANDARD_SPACER]:fc,[L.STANDARD_IMAGE]:hc,[L.STANDARD_TEXT]:bc,[L.STANDARD_NAVBAR]:mc,[L.STANDARD_NAVBAR_LINK]:Uc,[L.STANDARD_PARAGRAPH]:yc,[L.STANDARD_H1]:vc,[L.STANDARD_H2]:wc,[L.STANDARD_H3]:xc,[L.STANDARD_H4]:Ec,[L.STANDARD_TABLE]:Hc,[L.STANDARD_TEXT_LIST]:Tc,[L.STANDARD_TEXT_LIST_ITEM]:kc,[L.STANDARD_BLOCK_QUOTE]:jc,[L.STANDARD_TABLE2]:Vc,[L.STANDARD_TABLE2_TR]:$c,[L.STANDARD_TABLE2_TD]:Gc},_i={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:O.createElement(O.Fragment,null)}},Kc={get name(){return Q("Show")},type:L.FOR_EACH,category:z.UNSET,defaultData:_i,create(e){const t={type:L.SHOW,data:q({},_i.data),attributes:q({},_i.attributes),children:[]};return zr(t,e)},render(e){const{node:t,mode:r}=e,n=t.data;return r==="testing"?n.showTruthyInTesting?O.createElement(O.Fragment,null,n.component):O.createElement(O.Fragment,null,n.fallback):Ge.generateConditionTemplate(n.expression,n.component,n.fallback)}},fi={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},Xc={get name(){return Q("ForEach")},type:L.FOR_EACH,category:z.UNSET,defaultData:fi,create(e){const t={type:L.FOR_EACH,data:q({},fi.data),attributes:q({},fi.attributes),children:[]};return zr(t,e)},render(e){const{node:t,children:r,idx:n}=e;return Ge.generateIterationTemplate(X(q({mockQuantity:1,limit:999},t.data),{enabled:!0}),r||t.children.map((i,a)=>te.isTextNode(i)?te.isTextListElement(t)?O.createElement(O.Fragment,{key:a},"<li>",O.createElement(je,X(q({key:a},e),{node:i})),"</li>"):O.createElement(je,X(q({key:a},e),{node:i})):O.createElement(oe,X(q({key:a},e),{idx:n?te.getChildIdx(n,a):null,node:i}))))}},Jc={[L.FOR_EACH]:Xc,[L.SHOW]:Kc},ko=q(q(q({},ic),Wc),Jc),gi=q({},ko),ee=Object.freeze(new class{registerBlocks(e){e.forEach(t=>{gi[t.type]=t})}getBlockByType(e){return gi[e]}getBlocks(){return Object.values(gi)}getBlockTitle(e){var t;return e.title?e.title:((t=this.getBlockByType(e.type))==null?void 0:t.name)||""}});var It=(e=>(e.TRUTHY="truthy",e.FALSY="falsy",e.EMPTY="empty",e.NOT_EMPTY="not_empty",e.EQUAL="==",e.NOT_EQUAL="!=",e.GREATER=">",e.GREATER_OR_EQUAL=">=",e.LESS="<",e.LESS_OR_EQUAL="<=",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.STARTS_WITH="starts_with",e.ENDS_WITH="ends_with",e.IN="in",e.NOT_IN="not_in",e))(It||{}),Ao=(e=>(e.AND="and",e.OR="or",e))(Ao||{});const Yc=e=>`{{ ${e} }}`,Qc=()=>e=>`{{ ${e} }}`,Zc=()=>e=>e;var To,Do={exports:{}};const ed=lr((To||(To=1,Do.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",y="quarter",v="year",k="date",w="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var I=["th","st","nd","rd"],D=C%100;return"["+C+(I[(D-20)%10]||I[D]||I[0])+"]"}},m=function(C,I,D){var P=String(C);return!P||P.length>=I?C:""+Array(I+1-P.length).join(D)+C},E={s:m,z:function(C){var I=-C.utcOffset(),D=Math.abs(I),P=Math.floor(D/60),F=D%60;return(I<=0?"+":"-")+m(P,2,"0")+":"+m(F,2,"0")},m:function C(I,D){if(I.date()<D.date())return-C(D,I);var P=12*(D.year()-I.year())+(D.month()-I.month()),F=I.clone().add(P,c),H=D-F<0,G=I.clone().add(P+(H?-1:1),c);return+(-(P+(D-F)/(H?F-G:G-F))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:c,y:v,w:l,d:s,D:k,h:o,m:a,s:i,ms:n,Q:y}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},S="en",d={};d[S]=u;var g="$isDayjsObject",_=function(C){return C instanceof f||!(!C||!C[g])},h=function C(I,D,P){var F;if(!I)return S;if(typeof I=="string"){var H=I.toLowerCase();d[H]&&(F=H),D&&(d[H]=D,F=H);var G=I.split("-");if(!F&&G.length>1)return C(G[0])}else{var M=I.name;d[M]=I,F=M}return!P&&F&&(S=F),F||!P&&S},p=function(C,I){if(_(C))return C.clone();var D=typeof I=="object"?I:{};return D.date=C,D.args=arguments,new f(D)},T=E;T.l=h,T.i=_,T.w=function(C,I){return p(C,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var f=function(){function C(D){this.$L=h(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[g]=!0}var I=C.prototype;return I.parse=function(D){this.$d=function(P){var F=P.date,H=P.utc;if(F===null)return new Date(NaN);if(T.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var G=F.match(x);if(G){var M=G[2]-1||0,j=(G[7]||"0").substring(0,3);return H?new Date(Date.UTC(G[1],M,G[3]||1,G[4]||0,G[5]||0,G[6]||0,j)):new Date(G[1],M,G[3]||1,G[4]||0,G[5]||0,G[6]||0,j)}}return new Date(F)}(D),this.init()},I.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},I.$utils=function(){return T},I.isValid=function(){return this.$d.toString()!==w},I.isSame=function(D,P){var F=p(D);return this.startOf(P)<=F&&F<=this.endOf(P)},I.isAfter=function(D,P){return p(D)<this.startOf(P)},I.isBefore=function(D,P){return this.endOf(P)<p(D)},I.$g=function(D,P,F){return T.u(D)?this[P]:this.set(F,D)},I.unix=function(){return Math.floor(this.valueOf()/1e3)},I.valueOf=function(){return this.$d.getTime()},I.startOf=function(D,P){var F=this,H=!!T.u(P)||P,G=T.p(D),M=function(A,N){var B=T.w(F.$u?Date.UTC(F.$y,N,A):new Date(F.$y,N,A),F);return H?B:B.endOf(s)},j=function(A,N){return T.w(F.toDate()[A].apply(F.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(N)),F)},U=this.$W,V=this.$M,ue=this.$D,ke="set"+(this.$u?"UTC":"");switch(G){case v:return H?M(1,0):M(31,11);case c:return H?M(1,V):M(0,V+1);case l:var Ae=this.$locale().weekStart||0,J=(U<Ae?U+7:U)-Ae;return M(H?ue-J:ue+(6-J),V);case s:case k:return j(ke+"Hours",0);case o:return j(ke+"Minutes",1);case a:return j(ke+"Seconds",2);case i:return j(ke+"Milliseconds",3);default:return this.clone()}},I.endOf=function(D){return this.startOf(D,!1)},I.$set=function(D,P){var F,H=T.p(D),G="set"+(this.$u?"UTC":""),M=(F={},F[s]=G+"Date",F[k]=G+"Date",F[c]=G+"Month",F[v]=G+"FullYear",F[o]=G+"Hours",F[a]=G+"Minutes",F[i]=G+"Seconds",F[n]=G+"Milliseconds",F)[H],j=H===s?this.$D+(P-this.$W):P;if(H===c||H===v){var U=this.clone().set(k,1);U.$d[M](j),U.init(),this.$d=U.set(k,Math.min(this.$D,U.daysInMonth())).$d}else M&&this.$d[M](j);return this.init(),this},I.set=function(D,P){return this.clone().$set(D,P)},I.get=function(D){return this[T.p(D)]()},I.add=function(D,P){var F,H=this;D=Number(D);var G=T.p(P),M=function(V){var ue=p(H);return T.w(ue.date(ue.date()+Math.round(V*D)),H)};if(G===c)return this.set(c,this.$M+D);if(G===v)return this.set(v,this.$y+D);if(G===s)return M(1);if(G===l)return M(7);var j=(F={},F[a]=t,F[o]=r,F[i]=e,F)[G]||1,U=this.$d.getTime()+D*j;return T.w(U,this)},I.subtract=function(D,P){return this.add(-1*D,P)},I.format=function(D){var P=this,F=this.$locale();if(!this.isValid())return F.invalidDate||w;var H=D||"YYYY-MM-DDTHH:mm:ssZ",G=T.z(this),M=this.$H,j=this.$m,U=this.$M,V=F.weekdays,ue=F.months,ke=F.meridiem,Ae=function(N,B,$,W){return N&&(N[B]||N(P,H))||$[B].slice(0,W)},J=function(N){return T.s(M%12||12,N,"0")},A=ke||function(N,B,$){var W=N<12?"AM":"PM";return $?W.toLowerCase():W};return H.replace(b,function(N,B){return B||function($){switch($){case"YY":return String(P.$y).slice(-2);case"YYYY":return T.s(P.$y,4,"0");case"M":return U+1;case"MM":return T.s(U+1,2,"0");case"MMM":return Ae(F.monthsShort,U,ue,3);case"MMMM":return Ae(ue,U);case"D":return P.$D;case"DD":return T.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return Ae(F.weekdaysMin,P.$W,V,2);case"ddd":return Ae(F.weekdaysShort,P.$W,V,3);case"dddd":return V[P.$W];case"H":return String(M);case"HH":return T.s(M,2,"0");case"h":return J(1);case"hh":return J(2);case"a":return A(M,j,!0);case"A":return A(M,j,!1);case"m":return String(j);case"mm":return T.s(j,2,"0");case"s":return String(P.$s);case"ss":return T.s(P.$s,2,"0");case"SSS":return T.s(P.$ms,3,"0");case"Z":return G}return null}(N)||G.replace(":","")})},I.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},I.diff=function(D,P,F){var H,G=this,M=T.p(P),j=p(D),U=(j.utcOffset()-this.utcOffset())*t,V=this-j,ue=function(){return T.m(G,j)};switch(M){case v:H=ue()/12;break;case c:H=ue();break;case y:H=ue()/3;break;case l:H=(V-U)/6048e5;break;case s:H=(V-U)/864e5;break;case o:H=V/r;break;case a:H=V/t;break;case i:H=V/e;break;default:H=V}return F?H:T.a(H)},I.daysInMonth=function(){return this.endOf(c).$D},I.$locale=function(){return d[this.$L]},I.locale=function(D,P){if(!D)return this.$L;var F=this.clone(),H=h(D,P,!0);return H&&(F.$L=H),F},I.clone=function(){return T.w(this.$d,this)},I.toDate=function(){return new Date(this.valueOf())},I.toJSON=function(){return this.isValid()?this.toISOString():null},I.toISOString=function(){return this.$d.toISOString()},I.toString=function(){return this.$d.toUTCString()},C}(),R=f.prototype;return p.prototype=R,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",v],["$D",k]].forEach(function(C){R[C[1]]=function(I){return this.$g(I,C[0],C[1])}}),p.extend=function(C,I){return C.$i||(C(I,f,p),C.$i=!0),p},p.locale=h,p.isDayjs=_,p.unix=function(C){return p(1e3*C)},p.en=d[S],p.Ls=d,p.p={},p}()),Do.exports));class Ve{constructor(t,r,n,i,a){this.kind=t,this.input=r,this.begin=n,this.end=i,this.file=a}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[t,r]=[1,1];for(let n=0;n<this.begin;n++)this.input[n]===`
81
+ `?(t++,r=1):r++;return[t,r]}size(){return this.end-this.begin}}class wt{liquidMethodMissing(t){}}const td=Object.prototype.toString,So=String.prototype.toLowerCase,No=Object.hasOwnProperty;function Qe(e){return typeof e=="string"}function Ue(e){return typeof e=="function"}function rd(e){return e&&Ue(e.then)}function Tr(e){return e&&Ue(e.next)&&Ue(e.throw)&&Ue(e.return)}function ie(e){return Qe(e=le(e))?e:rt(e)?"":Oe(e)?e.map(t=>ie(t)).join(""):String(e)}function le(e){return e instanceof wt&&Ue(e.valueOf)?e.valueOf():e}function Dr(e){return typeof e=="number"}function Ro(e){return e&&Ue(e.toLiquid)?Ro(e.toLiquid()):e}function rt(e){return e==null}function Oe(e){return td.call(e)==="[object Array]"}function Oo(e,t){e=e||{};for(const r in e)if(No.call(e,r)&&t(e[r],r,e)===!1)break;return e}function Lo(e){return e[e.length-1]}function mi(e){const t=typeof e;return e!==null&&(t==="object"||t==="function")}function Bo(e,t,r=1){const n=[];for(let i=e;i<t;i+=r)n.push(i);return n}function tr(e,t,r=" "){return Co(e,t,r,(n,i)=>i+n)}function Co(e,t,r,n){let i=t-(e=String(e)).length;for(;i-- >0;)e=n(e,r);return e}function Io(e){return e}function qo(e,t){return e==null&&t==null?0:e==null?1:t==null||(e=So.call(e))<(t=So.call(t))?-1:e>t?1:0}function ze(e){return(...t)=>e(...t.map(le))}function bi(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Po="__liquidClass__";class rr extends Error{constructor(t,r){super(typeof t=="string"?t:t.message),this.context="",typeof t!="string"&&Object.defineProperty(this,"originalError",{value:t,enumerable:!1}),Object.defineProperty(this,"token",{value:r,enumerable:!1}),Object.defineProperty(this,Po,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:ld(this.token),enumerable:!1}),this.message=function(t,r){r.file&&(t+=`, file:${r.file}`);const[n,i]=r.getPosition();return t+=`, line:${n}, col:${i}`}(this.message,this.token),this.stack=this.message+`
82
82
  `+this.context+`
83
83
  `+this.stack,this.originalError&&(this.stack+=`
84
84
  From `+this.originalError.stack)}static is(t){return t?.[Po]==="LiquidError"}}class nd extends rr{constructor(t,r){super(t,r),this.name="TokenizationError",super.update()}}class id extends rr{constructor(t,r){super(t,r),this.name="ParseError",this.message=t.message,super.update()}}class Mo extends rr{constructor(t,r){super(t,r.token),this.name="RenderError",this.message=t.message,super.update()}static is(t){return t.name==="RenderError"}}class ad extends rr{constructor(t,r){super(t,r),this.name="UndefinedVariableError",this.message=t.message,super.update()}}class sd extends Error{constructor(t){super(`undefined variable: ${t}`),this.name="InternalUndefinedVariableError",this.variableName=t}}class od extends Error{constructor(t){super(t),this.name="AssertionError",this.message=t+""}}function ld(e){const[t,r]=e.getPosition(),n=e.input.split(`
85
85
  `),i=Math.max(t-2,1),a=Math.min(t+3,n.length);return Bo(i,a+1).map(o=>{let s=`${o===t?">> ":" "}${tr(String(o),String(a).length)}| `;const l=o===t?`
86
86
  `+tr("^",r+s.length):"";return s+=n[o-1],s+=l,s}).join(`
87
- `)}const fe=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ud=1,qt=4,Uo=16;function Sr(e){const t=e.charCodeAt(0);return t>=128?!fe[t]:!!(fe[t]&ud)}function We(e,t){if(!e){const r=typeof t=="function"?t():t||`expect ${e} to be true`;throw new od(r)}}fe[160]=fe[5760]=fe[6158]=fe[8192]=fe[8193]=fe[8194]=fe[8195]=fe[8196]=fe[8197]=fe[8198]=fe[8199]=fe[8200]=fe[8201]=fe[8202]=fe[8232]=fe[8233]=fe[8239]=fe[8287]=fe[12288]=qt,fe[8220]=fe[8221]=128;class Ur extends wt{equals(t){return!(t instanceof Ur)&&(Qe(t=le(t))||Oe(t)?t.length===0:!!bi(t)&&Object.keys(t).length===0)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}}class vi extends wt{constructor(t,r,n){super(),this.i=0,this.length=t,this.name=`${n}-${r}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return this.i===0}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Fo extends wt{constructor(t=()=>""){super(),this.superBlockRender=t}super(){return this.superBlockRender()}}function Ke(e){return e&&Ue(e.equals)}const jo=new class extends wt{equals(e){return rt(le(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}},zo={true:!0,false:!1,nil:jo,null:jo,empty:new Ur,blank:new class extends Ur{equals(e){return e===!1||!!rt(le(e))||(Qe(e)?/^\s*$/.test(e):super.equals(e))}}};function Ho(e){const t={};for(const[r,n]of Object.entries(e)){let i=t;for(let a=0;a<r.length;a++){const o=r[a];i[o]=i[o]||{},a===r.length-1&&Sr(r[a])&&(i[o].needBoundary=!0),i=i[o]}i.data=n,i.end=!0}return t}var Nr=function(){return Nr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Nr.apply(this,arguments)};function nt(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(c){try{l(n.next(c))}catch(y){a(y)}}function s(c){try{l(n.throw(c))}catch(y){a(y)}}function l(c){var y;c.done?i(c.value):(y=c.value,y instanceof r?y:new r(function(v){v(y)})).then(o,s)}l((n=n.apply(e,[])).next())})}function pt(e){return nt(this,0,void 0,function*(){if(!Tr(e))return e;let t,r=!1,n="next";do{const i=e[n](t);r=i.done,t=i.value,n="next";try{Tr(t)&&(t=pt(t)),rd(t)&&(t=yield t)}catch(a){n="throw",t=a}}while(!r);return t})}function ht(e){if(!Tr(e))return e;let t,r=!1,n="next";do{const i=e[n](t);if(r=i.done,t=i.value,n="next",Tr(t))try{t=ht(t)}catch(a){n="throw",t=a}}while(!r);return t}function wi(e){return Oe(e=le(e))?e:Qe(e)&&e.length>0?[e]:bi(t=e)&&Symbol.iterator in t?Array.from(e):bi(e)?Object.keys(e).map(r=>[r,e[r]]):[];var t}function Ze(e){return rt(e)?[]:Oe(e)?e:[e]}const cd=/%([-_0^#:]+)?(\d+)?([EO])?(.)/,Vo=["January","February","March","April","May","June","July","August","September","October","November","December"],$o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dd=Vo.map(Go),pd=$o.map(Go);function Go(e){return e.slice(0,3)}function hd(e){return[31,function(r){const n=r.getFullYear();return!(3&n||!(n%100||n%400==0&&n))}(e)?29:28,31,30,31,30,31,31,30,31,30,31]}function Wo(e){let t=0;for(let r=0;r<e.getMonth();++r)t+=hd(e)[r];return t+e.getDate()}function Ko(e,t){const r=Wo(e)+(t-e.getDay()),n=7-new Date(e.getFullYear(),0,1).getDay()+t;return String(Math.floor((r-n)/7)+1)}const _d={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},fd={a:" ",A:" ",b:" ",B:" ",c:" ",e:" ",k:" ",l:" ",p:" ",P:" "},xi={a:e=>pd[e.getDay()],A:e=>$o[e.getDay()],b:e=>dd[e.getMonth()],B:e=>Vo[e.getMonth()],c:e=>e.toLocaleString(),C:e=>function(t){return parseInt(t.getFullYear().toString().substring(0,2),10)}(e),d:e=>e.getDate(),e:e=>e.getDate(),H:e=>e.getHours(),I:e=>String(e.getHours()%12||12),j:e=>Wo(e),k:e=>e.getHours(),l:e=>String(e.getHours()%12||12),L:e=>e.getMilliseconds(),m:e=>e.getMonth()+1,M:e=>e.getMinutes(),N:(e,t)=>{const r=Number(t.width)||9;return function(n,i,a=" "){return Co(n,i,a,(o,s)=>o+s)}(String(e.getMilliseconds()).slice(0,r),r,"0")},p:e=>e.getHours()<12?"AM":"PM",P:e=>e.getHours()<12?"am":"pm",q:e=>function(t){const r=t.getDate();let n="th";switch(r){case 11:case 12:case 13:break;default:switch(r%10){case 1:n="st";break;case 2:n="nd";break;case 3:n="rd"}}return n}(e),s:e=>Math.round(e.getTime()/1e3),S:e=>e.getSeconds(),u:e=>e.getDay()||7,U:e=>Ko(e,0),w:e=>e.getDay(),W:e=>Ko(e,1),x:e=>e.toLocaleDateString(),X:e=>e.toLocaleTimeString(),y:e=>e.getFullYear().toString().slice(2,4),Y:e=>e.getFullYear(),z:(e,t)=>{const r=Math.abs(e.getTimezoneOffset()),n=Math.floor(r/60),i=r%60;return(e.getTimezoneOffset()>0?"-":"+")+tr(n,2,"0")+(t.flags[":"]?":":"")+tr(i,2,"0")},t:()=>" ",n:()=>`
88
- `,"%":()=>"%"};function gd(e,t){const[r,n="",i,a,o]=t,s=xi[o];if(!s)return r;const l={};for(const w of n)l[w]=!0;let c=String(s(e,{flags:l,width:i,modifier:a})),y=fd[o]||"0",v=i||_d[o]||0;var k;return l["^"]?c=c.toUpperCase():l["#"]&&(k=c,c=[...k].some(w=>w>="a"&&w<="z")?k.toUpperCase():k.toLowerCase()),l._?y=" ":l[0]&&(y="0"),l["-"]&&(v=0),tr(c,v,y)}xi.h=xi.b;const md=/([zZ]|([+-])(\d{2}):(\d{2}))$/;class st{constructor(t,r){this.date=t instanceof st?t.date:new Date(t),this.timezoneOffset=r;const n=6e4*(this.date.getTimezoneOffset()-this.timezoneOffset),i=this.date.getTime()+n;this.displayDate=new Date(i)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(t,r){return r?.timeZone?this.date.toLocaleString(t,r):this.displayDate.toLocaleString(t,r)}toLocaleTimeString(t){return this.displayDate.toLocaleTimeString(t)}toLocaleDateString(t){return this.displayDate.toLocaleDateString(t)}getTimezoneOffset(){return this.timezoneOffset}static createDateFixedToTimezone(t){const r=t.match(md);if(r&&r[1]==="Z")return new st(+new Date(t),0);if(r&&r[2]&&r[3]&&r[4]){const[,,n,i,a]=r,o=(n==="+"?-1:1)*(60*parseInt(i,10)+parseInt(a,10));return new st(+new Date(t),o)}return new Date(t)}}class Ei extends Ve{constructor(t,[r,n],i,a,o,s,l,c){super(t,i,a,o,c),this.trimLeft=!1,this.trimRight=!1;const y=i[r]==="-",v=i[n-1]==="-";let k=y?r+1:r,w=v?n-1:n;for(;k<w&&fe[i.charCodeAt(k)]&qt;)k++;for(;w>k&&fe[i.charCodeAt(w-1)]&qt;)w--;this.contentRange=[k,w],this.trimLeft=y||s,this.trimRight=v||l}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class Xo extends Ei{constructor(t,r,n,i,a){const{trimTagLeft:o,trimTagRight:s,tagDelimiterLeft:l,tagDelimiterRight:c}=i,[y,v]=[r+l.length,n-c.length];super(Ee.Tag,[y,v],t,r,n,o,s,a),this.tokenizer=new Pt(t,i.operators,a,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal tag syntax, tag name expected"),this.tokenizer.skipBlank()}get args(){return this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class bd extends Ei{constructor(t,r,n,i,a){const{trimOutputLeft:o,trimOutputRight:s,outputDelimiterLeft:l,outputDelimiterRight:c}=i,y=[r+l.length,n-c.length];super(Ee.Output,y,t,r,n,o,s,a)}}class Jo extends Ve{constructor(t,r,n,i){super(Ee.HTML,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class yd extends Ve{constructor(t,r,n,i){super(Ee.Number,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=Number(this.getText())}}class ki extends Ve{constructor(t,r,n,i){super(Ee.Word,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=this.getText()}isNumber(t=!1){for(let r=t&&64&fe[this.input.charCodeAt(this.begin)]?this.begin+1:this.begin;r<this.end;r++)if(!(32&fe[this.input.charCodeAt(r)]))return!1;return!0}}class vd extends Ve{constructor(t,r,n,i){super(Ee.Literal,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.literal=this.getText(),this.content=zo[this.literal]}}const Yo={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},wd={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class xd extends Ve{constructor(t,r,n,i){super(Ee.Operator,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.operator=this.getText()}getPrecedence(){const t=this.getText();return t in Yo?Yo[t]:1}}class Ed extends Ve{constructor(t,r,n,i,a,o){super(Ee.PropertyAccess,n,i,a,o),this.variable=t,this.props=r}}class kd extends Ve{constructor(t,r,n,i,a,o){super(Ee.Filter,n,i,a,o),this.name=t,this.args=r}}class Ad extends Ve{constructor(t,r,n,i,a,o){super(Ee.Hash,t,r,n,o),this.input=t,this.begin=r,this.end=n,this.name=i,this.value=a,this.file=o}}const Td=/[\da-fA-F]/,Qo=/[0-7]/,Zo={b:"\b",f:"\f",n:`
89
- `,r:"\r",t:" ",v:"\v"};function el(e){const t=e.charCodeAt(0);return t>=97?t-87:t>=65?t-55:t-48}class Dd extends Ve{constructor(t,r,n,i){super(Ee.Quoted,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=function(a){let o="";for(let s=1;s<a.length-1;s++)if(a[s]==="\\")if(Zo[a[s+1]]!==void 0)o+=Zo[a[++s]];else if(a[s+1]==="u"){let l=0,c=s+2;for(;c<=s+5&&Td.test(a[c]);)l=16*l+el(a[c++]);s=c-1,o+=String.fromCharCode(l)}else if(Qo.test(a[s+1])){let l=s+1,c=0;for(;l<=s+3&&Qo.test(a[l]);)c=8*c+el(a[l++]);s=l-1,o+=String.fromCharCode(c)}else o+=a[++s];else o+=a[s];return o}(this.getText())}}class Sd extends Ve{constructor(t,r,n,i,a,o){super(Ee.Range,t,r,n,o),this.input=t,this.begin=r,this.end=n,this.lhs=i,this.rhs=a,this.file=o}}class Nd extends Ei{constructor(t,r,n,i,a){super(Ee.Tag,[r,n],t,r,n,!1,!1,a),this.tokenizer=new Pt(t,i.operators,a,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal liquid tag syntax"),this.tokenizer.skipBlank(),this.args=this.tokenizer.remaining()}}class Rd extends Ve{constructor(t,r,n,i,a,o){super(Ee.FilteredValue,n,i,a,o),this.initial=t,this.filters=r,this.input=n,this.begin=i,this.end=a,this.file=o}}class Od{constructor(){this.buffer=""}write(t){this.buffer+=ie(t)}}class Ld{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class Bd{constructor(){this.buffer=""}write(t){typeof(t=le(t))!="string"&&this.buffer===""?this.buffer=t:this.buffer=ie(this.buffer)+ie(t)}}class Cd{renderTemplatesToNodeStream(t,r){const n=new Ld;return Promise.resolve().then(()=>pt(this.renderTemplates(t,r,n))).then(()=>n.end(),i=>n.error(i)),n.stream}*renderTemplates(t,r,n){n||(n=r.opts.keepOutputType?new Bd:new Od);for(const i of t)try{const a=yield i.render(r,n);if(a&&n.write(a),n.break||n.continue)break}catch(a){throw Mo.is(a)?a:new Mo(a,i)}return n.buffer}}class Id{constructor(t){this.postfix=[...qd(t)]}*evaluate(t,r){We(t,"unable to evaluate: context not defined");const n=[];for(const i of this.postfix)if(sl(i)){const a=n.pop();let o;if(wd[i.operator]===1)o=yield t.opts.operators[i.operator](a,t);else{const s=n.pop();o=yield t.opts.operators[i.operator](s,a,t)}n.push(o)}else n.push(yield Be(i,t,r&&this.postfix.length===1));return n[0]}valid(){return!!this.postfix.length}}function*Be(e,t,r=!1){if(e)return"content"in e?e.content:_t(e)===Ee.PropertyAccess?yield function*(n,i,a){const o=[],s=yield Be(n.variable,i,a);for(const l of n.props)o.push(yield Be(l,i,!1));try{return n.variable?yield i._getFromScope(s,o):yield i._get(o)}catch(l){if(a&&l.name==="InternalUndefinedVariableError")return null;throw new ad(l,n)}}(e,t,r):function(n){return _t(n)===Ee.Range}(e)?yield function*(n,i){const a=yield Be(n.lhs,i),o=yield Be(n.rhs,i);return Bo(+a,+o+1)}(e,t):void 0}function tl(e){return e.content}function*qd(e){const t=[];for(const r of e)if(sl(r)){for(;t.length&&t[t.length-1].getPrecedence()>r.getPrecedence();)yield t.pop();t.push(r)}else yield r;for(;t.length;)yield t.pop()}function xt(e,t){return!Rr(e,t)}function Rr(e,t){return t.opts.jsTruthy?!e:e===!1||e==null}const Pd={"==":Or,"!=":(e,t)=>!Or(e,t),">":(e,t)=>Ke(e)?e.gt(t):Ke(t)?t.lt(e):le(e)>le(t),"<":(e,t)=>Ke(e)?e.lt(t):Ke(t)?t.gt(e):le(e)<le(t),">=":(e,t)=>Ke(e)?e.geq(t):Ke(t)?t.leq(e):le(e)>=le(t),"<=":(e,t)=>Ke(e)?e.leq(t):Ke(t)?t.geq(e):le(e)<=le(t),contains:(e,t)=>Oe(e=le(e))?e.some(r=>Or(r,t)):!!Qe(e)&&e.indexOf(le(t))>-1,not:(e,t)=>Rr(le(e),t),and:(e,t,r)=>xt(le(e),r)&&xt(le(t),r),or:(e,t,r)=>xt(le(e),r)||xt(le(t),r)};function Or(e,t){return Ke(e)?e.equals(t):Ke(t)?t.equals(e):(e=le(e),t=le(t),Oe(e)?Oe(t)&&function(r,n){return r.length===n.length&&!r.some((i,a)=>!Or(i,n[a]))}(e,t):e===t)}let Ai=class{constructor(e,t,r,n){this.key=e,this.value=t,this.next=r,this.prev=n}};class rl{constructor(t,r=0){this.limit=t,this.size=r,this.cache={},this.head=new Ai("HEAD",null,null,null),this.tail=new Ai("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(t,r){if(this.cache[t])this.cache[t].value=r;else{const n=new Ai(t,r,this.head.next,this.head);this.head.next.prev=n,this.head.next=n,this.cache[t]=n,this.size++,this.ensureLimit()}}read(t){if(!this.cache[t])return;const{value:r}=this.cache[t];return this.remove(t),this.write(t,r),r}remove(t){const r=this.cache[t];r.prev.next=r.next,r.next.prev=r.prev,delete this.cache[t],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function nl(e,t){const r=document.createElement("base");r.href=e;const n=document.getElementsByTagName("head")[0];n.insertBefore(r,n.firstChild);const i=document.createElement("a");i.href=t;const a=i.href;return n.removeChild(r),a}var Md=Object.freeze({__proto__:null,resolve:function(e,t,r){return e.length&&Lo(e)!=="/"&&(e+="/"),nl(e,t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,(n,i,a)=>{const o=a.split("/").pop();return/\.\w+$/.test(o)?n:i+a+r})},readFile:function(e){return nt(this,0,void 0,function*(){return new Promise((t,r)=>{const n=new XMLHttpRequest;n.onload=()=>{n.status>=200&&n.status<300?t(n.responseText):r(new Error(n.statusText))},n.onerror=()=>{r(new Error("An error occurred whilst receiving the response."))},n.open("GET",e),n.send()})})},readFileSync:function(e){const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(),t.status<200||t.status>=300)throw new Error(t.statusText);return t.responseText},exists:function(e){return nt(this,0,void 0,function*(){return!0})},existsSync:function(e){return!0},dirname:function(e){return nl(e,".")},sep:"/"});function il(e,t=0){return JSON.stringify(e,null,t)}const Ud={raw:!0,handler:Io},Fd={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},jd={"&amp;":"&","&lt;":"<","&gt;":">","&#34;":'"',"&#39;":"'"};function Ti(e){return ie(e).replace(/&|<|>|"|'/g,t=>Fd[t])}var zd=Object.freeze({__proto__:null,escape:Ti,escape_once:function(e){return Ti(function(t){return ie(t).replace(/&(amp|lt|gt|#34|#39);/g,r=>jd[r])}(ie(e)))},newline_to_br:function(e){return ie(e).replace(/\r?\n/gm,`<br />
90
- `)},strip_html:function(e){return ie(e).replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<.*?>|<!--[\s\S]*?-->/g,"")}});const Et={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,cache:void 0,extname:"",fs:Md,dynamicPartials:!0,jsTruthy:!1,dateFormat:"%A, %B %-e, %Y at %-l:%M %P %z",trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:Pd};function Hd(e){if(e.hasOwnProperty("root")&&(e.hasOwnProperty("partials")||(e.partials=e.root),e.hasOwnProperty("layouts")||(e.layouts=e.root)),e.hasOwnProperty("cache")){let r;r=typeof e.cache=="number"?e.cache>0?new rl(e.cache):void 0:typeof e.cache=="object"?e.cache:e.cache?new rl(1024):void 0,e.cache=r}var t;return(e=Object.assign(Object.assign(Object.assign({},Et),e.jekyllInclude?{dynamicPartials:!1}:{}),e)).fs.dirname&&e.fs.sep||!e.relativeReference||(console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"),e.relativeReference=!1),e.root=Lr(e.root),e.partials=Lr(e.partials),e.layouts=Lr(e.layouts),e.outputEscape=e.outputEscape&&((t=e.outputEscape)==="escape"?Ti:t==="json"?il:(We(Ue(t),"`outputEscape` need to be of type string or function"),t)),e}function Lr(e){let t=[];return Oe(e)&&(t=e),Qe(e)&&(t=[e]),t}function Vd(e,t){if(!e||!Ni(e))return;const r=t?qt:Uo;for(;fe[e.input.charCodeAt(e.end-1-e.trimRight)]&r;)e.trimRight++}function $d(e,t){if(!e||!Ni(e))return;const r=t?qt:Uo;for(;fe[e.input.charCodeAt(e.begin+e.trimLeft)]&r;)e.trimLeft++;e.input.charAt(e.begin+e.trimLeft)===`
87
+ `)}const fe=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],ud=1,qt=4,Uo=16;function Sr(e){const t=e.charCodeAt(0);return t>=128?!fe[t]:!!(fe[t]&ud)}function We(e,t){if(!e){const r=typeof t=="function"?t():t||`expect ${e} to be true`;throw new od(r)}}fe[160]=fe[5760]=fe[6158]=fe[8192]=fe[8193]=fe[8194]=fe[8195]=fe[8196]=fe[8197]=fe[8198]=fe[8199]=fe[8200]=fe[8201]=fe[8202]=fe[8232]=fe[8233]=fe[8239]=fe[8287]=fe[12288]=qt,fe[8220]=fe[8221]=128;class Ur extends wt{equals(t){return!(t instanceof Ur)&&(Qe(t=le(t))||Oe(t)?t.length===0:!!mi(t)&&Object.keys(t).length===0)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}}class yi extends wt{constructor(t,r,n){super(),this.i=0,this.length=t,this.name=`${n}-${r}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return this.i===0}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Fo extends wt{constructor(t=()=>""){super(),this.superBlockRender=t}super(){return this.superBlockRender()}}function Ke(e){return e&&Ue(e.equals)}const jo=new class extends wt{equals(e){return rt(le(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}},zo={true:!0,false:!1,nil:jo,null:jo,empty:new Ur,blank:new class extends Ur{equals(e){return e===!1||!!rt(le(e))||(Qe(e)?/^\s*$/.test(e):super.equals(e))}}};function Ho(e){const t={};for(const[r,n]of Object.entries(e)){let i=t;for(let a=0;a<r.length;a++){const o=r[a];i[o]=i[o]||{},a===r.length-1&&Sr(r[a])&&(i[o].needBoundary=!0),i=i[o]}i.data=n,i.end=!0}return t}var Nr=function(){return Nr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Nr.apply(this,arguments)};function nt(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(c){try{l(n.next(c))}catch(y){a(y)}}function s(c){try{l(n.throw(c))}catch(y){a(y)}}function l(c){var y;c.done?i(c.value):(y=c.value,y instanceof r?y:new r(function(v){v(y)})).then(o,s)}l((n=n.apply(e,[])).next())})}function pt(e){return nt(this,0,void 0,function*(){if(!Tr(e))return e;let t,r=!1,n="next";do{const i=e[n](t);r=i.done,t=i.value,n="next";try{Tr(t)&&(t=pt(t)),rd(t)&&(t=yield t)}catch(a){n="throw",t=a}}while(!r);return t})}function ht(e){if(!Tr(e))return e;let t,r=!1,n="next";do{const i=e[n](t);if(r=i.done,t=i.value,n="next",Tr(t))try{t=ht(t)}catch(a){n="throw",t=a}}while(!r);return t}function vi(e){return Oe(e=le(e))?e:Qe(e)&&e.length>0?[e]:mi(t=e)&&Symbol.iterator in t?Array.from(e):mi(e)?Object.keys(e).map(r=>[r,e[r]]):[];var t}function Ze(e){return rt(e)?[]:Oe(e)?e:[e]}const cd=/%([-_0^#:]+)?(\d+)?([EO])?(.)/,Vo=["January","February","March","April","May","June","July","August","September","October","November","December"],$o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dd=Vo.map(Go),pd=$o.map(Go);function Go(e){return e.slice(0,3)}function hd(e){return[31,function(r){const n=r.getFullYear();return!(3&n||!(n%100||n%400==0&&n))}(e)?29:28,31,30,31,30,31,31,30,31,30,31]}function Wo(e){let t=0;for(let r=0;r<e.getMonth();++r)t+=hd(e)[r];return t+e.getDate()}function Ko(e,t){const r=Wo(e)+(t-e.getDay()),n=7-new Date(e.getFullYear(),0,1).getDay()+t;return String(Math.floor((r-n)/7)+1)}const _d={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},fd={a:" ",A:" ",b:" ",B:" ",c:" ",e:" ",k:" ",l:" ",p:" ",P:" "},wi={a:e=>pd[e.getDay()],A:e=>$o[e.getDay()],b:e=>dd[e.getMonth()],B:e=>Vo[e.getMonth()],c:e=>e.toLocaleString(),C:e=>function(t){return parseInt(t.getFullYear().toString().substring(0,2),10)}(e),d:e=>e.getDate(),e:e=>e.getDate(),H:e=>e.getHours(),I:e=>String(e.getHours()%12||12),j:e=>Wo(e),k:e=>e.getHours(),l:e=>String(e.getHours()%12||12),L:e=>e.getMilliseconds(),m:e=>e.getMonth()+1,M:e=>e.getMinutes(),N:(e,t)=>{const r=Number(t.width)||9;return function(n,i,a=" "){return Co(n,i,a,(o,s)=>o+s)}(String(e.getMilliseconds()).slice(0,r),r,"0")},p:e=>e.getHours()<12?"AM":"PM",P:e=>e.getHours()<12?"am":"pm",q:e=>function(t){const r=t.getDate();let n="th";switch(r){case 11:case 12:case 13:break;default:switch(r%10){case 1:n="st";break;case 2:n="nd";break;case 3:n="rd"}}return n}(e),s:e=>Math.round(e.getTime()/1e3),S:e=>e.getSeconds(),u:e=>e.getDay()||7,U:e=>Ko(e,0),w:e=>e.getDay(),W:e=>Ko(e,1),x:e=>e.toLocaleDateString(),X:e=>e.toLocaleTimeString(),y:e=>e.getFullYear().toString().slice(2,4),Y:e=>e.getFullYear(),z:(e,t)=>{const r=Math.abs(e.getTimezoneOffset()),n=Math.floor(r/60),i=r%60;return(e.getTimezoneOffset()>0?"-":"+")+tr(n,2,"0")+(t.flags[":"]?":":"")+tr(i,2,"0")},t:()=>" ",n:()=>`
88
+ `,"%":()=>"%"};function gd(e,t){const[r,n="",i,a,o]=t,s=wi[o];if(!s)return r;const l={};for(const w of n)l[w]=!0;let c=String(s(e,{flags:l,width:i,modifier:a})),y=fd[o]||"0",v=i||_d[o]||0;var k;return l["^"]?c=c.toUpperCase():l["#"]&&(k=c,c=[...k].some(w=>w>="a"&&w<="z")?k.toUpperCase():k.toLowerCase()),l._?y=" ":l[0]&&(y="0"),l["-"]&&(v=0),tr(c,v,y)}wi.h=wi.b;const md=/([zZ]|([+-])(\d{2}):(\d{2}))$/;class st{constructor(t,r){this.date=t instanceof st?t.date:new Date(t),this.timezoneOffset=r;const n=6e4*(this.date.getTimezoneOffset()-this.timezoneOffset),i=this.date.getTime()+n;this.displayDate=new Date(i)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(t,r){return r?.timeZone?this.date.toLocaleString(t,r):this.displayDate.toLocaleString(t,r)}toLocaleTimeString(t){return this.displayDate.toLocaleTimeString(t)}toLocaleDateString(t){return this.displayDate.toLocaleDateString(t)}getTimezoneOffset(){return this.timezoneOffset}static createDateFixedToTimezone(t){const r=t.match(md);if(r&&r[1]==="Z")return new st(+new Date(t),0);if(r&&r[2]&&r[3]&&r[4]){const[,,n,i,a]=r,o=(n==="+"?-1:1)*(60*parseInt(i,10)+parseInt(a,10));return new st(+new Date(t),o)}return new Date(t)}}class xi extends Ve{constructor(t,[r,n],i,a,o,s,l,c){super(t,i,a,o,c),this.trimLeft=!1,this.trimRight=!1;const y=i[r]==="-",v=i[n-1]==="-";let k=y?r+1:r,w=v?n-1:n;for(;k<w&&fe[i.charCodeAt(k)]&qt;)k++;for(;w>k&&fe[i.charCodeAt(w-1)]&qt;)w--;this.contentRange=[k,w],this.trimLeft=y||s,this.trimRight=v||l}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class Xo extends xi{constructor(t,r,n,i,a){const{trimTagLeft:o,trimTagRight:s,tagDelimiterLeft:l,tagDelimiterRight:c}=i,[y,v]=[r+l.length,n-c.length];super(Ee.Tag,[y,v],t,r,n,o,s,a),this.tokenizer=new Pt(t,i.operators,a,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal tag syntax, tag name expected"),this.tokenizer.skipBlank()}get args(){return this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class bd extends xi{constructor(t,r,n,i,a){const{trimOutputLeft:o,trimOutputRight:s,outputDelimiterLeft:l,outputDelimiterRight:c}=i,y=[r+l.length,n-c.length];super(Ee.Output,y,t,r,n,o,s,a)}}class Jo extends Ve{constructor(t,r,n,i){super(Ee.HTML,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class yd extends Ve{constructor(t,r,n,i){super(Ee.Number,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=Number(this.getText())}}class Ei extends Ve{constructor(t,r,n,i){super(Ee.Word,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=this.getText()}isNumber(t=!1){for(let r=t&&64&fe[this.input.charCodeAt(this.begin)]?this.begin+1:this.begin;r<this.end;r++)if(!(32&fe[this.input.charCodeAt(r)]))return!1;return!0}}class vd extends Ve{constructor(t,r,n,i){super(Ee.Literal,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.literal=this.getText(),this.content=zo[this.literal]}}const Yo={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},wd={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class xd extends Ve{constructor(t,r,n,i){super(Ee.Operator,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.operator=this.getText()}getPrecedence(){const t=this.getText();return t in Yo?Yo[t]:1}}class Ed extends Ve{constructor(t,r,n,i,a,o){super(Ee.PropertyAccess,n,i,a,o),this.variable=t,this.props=r}}class kd extends Ve{constructor(t,r,n,i,a,o){super(Ee.Filter,n,i,a,o),this.name=t,this.args=r}}class Ad extends Ve{constructor(t,r,n,i,a,o){super(Ee.Hash,t,r,n,o),this.input=t,this.begin=r,this.end=n,this.name=i,this.value=a,this.file=o}}const Td=/[\da-fA-F]/,Qo=/[0-7]/,Zo={b:"\b",f:"\f",n:`
89
+ `,r:"\r",t:" ",v:"\v"};function el(e){const t=e.charCodeAt(0);return t>=97?t-87:t>=65?t-55:t-48}class Dd extends Ve{constructor(t,r,n,i){super(Ee.Quoted,t,r,n,i),this.input=t,this.begin=r,this.end=n,this.file=i,this.content=function(a){let o="";for(let s=1;s<a.length-1;s++)if(a[s]==="\\")if(Zo[a[s+1]]!==void 0)o+=Zo[a[++s]];else if(a[s+1]==="u"){let l=0,c=s+2;for(;c<=s+5&&Td.test(a[c]);)l=16*l+el(a[c++]);s=c-1,o+=String.fromCharCode(l)}else if(Qo.test(a[s+1])){let l=s+1,c=0;for(;l<=s+3&&Qo.test(a[l]);)c=8*c+el(a[l++]);s=l-1,o+=String.fromCharCode(c)}else o+=a[++s];else o+=a[s];return o}(this.getText())}}class Sd extends Ve{constructor(t,r,n,i,a,o){super(Ee.Range,t,r,n,o),this.input=t,this.begin=r,this.end=n,this.lhs=i,this.rhs=a,this.file=o}}class Nd extends xi{constructor(t,r,n,i,a){super(Ee.Tag,[r,n],t,r,n,!1,!1,a),this.tokenizer=new Pt(t,i.operators,a,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal liquid tag syntax"),this.tokenizer.skipBlank(),this.args=this.tokenizer.remaining()}}class Rd extends Ve{constructor(t,r,n,i,a,o){super(Ee.FilteredValue,n,i,a,o),this.initial=t,this.filters=r,this.input=n,this.begin=i,this.end=a,this.file=o}}class Od{constructor(){this.buffer=""}write(t){this.buffer+=ie(t)}}class Ld{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class Bd{constructor(){this.buffer=""}write(t){typeof(t=le(t))!="string"&&this.buffer===""?this.buffer=t:this.buffer=ie(this.buffer)+ie(t)}}class Cd{renderTemplatesToNodeStream(t,r){const n=new Ld;return Promise.resolve().then(()=>pt(this.renderTemplates(t,r,n))).then(()=>n.end(),i=>n.error(i)),n.stream}*renderTemplates(t,r,n){n||(n=r.opts.keepOutputType?new Bd:new Od);for(const i of t)try{const a=yield i.render(r,n);if(a&&n.write(a),n.break||n.continue)break}catch(a){throw Mo.is(a)?a:new Mo(a,i)}return n.buffer}}class Id{constructor(t){this.postfix=[...qd(t)]}*evaluate(t,r){We(t,"unable to evaluate: context not defined");const n=[];for(const i of this.postfix)if(sl(i)){const a=n.pop();let o;if(wd[i.operator]===1)o=yield t.opts.operators[i.operator](a,t);else{const s=n.pop();o=yield t.opts.operators[i.operator](s,a,t)}n.push(o)}else n.push(yield Be(i,t,r&&this.postfix.length===1));return n[0]}valid(){return!!this.postfix.length}}function*Be(e,t,r=!1){if(e)return"content"in e?e.content:_t(e)===Ee.PropertyAccess?yield function*(n,i,a){const o=[],s=yield Be(n.variable,i,a);for(const l of n.props)o.push(yield Be(l,i,!1));try{return n.variable?yield i._getFromScope(s,o):yield i._get(o)}catch(l){if(a&&l.name==="InternalUndefinedVariableError")return null;throw new ad(l,n)}}(e,t,r):function(n){return _t(n)===Ee.Range}(e)?yield function*(n,i){const a=yield Be(n.lhs,i),o=yield Be(n.rhs,i);return Bo(+a,+o+1)}(e,t):void 0}function tl(e){return e.content}function*qd(e){const t=[];for(const r of e)if(sl(r)){for(;t.length&&t[t.length-1].getPrecedence()>r.getPrecedence();)yield t.pop();t.push(r)}else yield r;for(;t.length;)yield t.pop()}function xt(e,t){return!Rr(e,t)}function Rr(e,t){return t.opts.jsTruthy?!e:e===!1||e==null}const Pd={"==":Or,"!=":(e,t)=>!Or(e,t),">":(e,t)=>Ke(e)?e.gt(t):Ke(t)?t.lt(e):le(e)>le(t),"<":(e,t)=>Ke(e)?e.lt(t):Ke(t)?t.gt(e):le(e)<le(t),">=":(e,t)=>Ke(e)?e.geq(t):Ke(t)?t.leq(e):le(e)>=le(t),"<=":(e,t)=>Ke(e)?e.leq(t):Ke(t)?t.geq(e):le(e)<=le(t),contains:(e,t)=>Oe(e=le(e))?e.some(r=>Or(r,t)):!!Qe(e)&&e.indexOf(le(t))>-1,not:(e,t)=>Rr(le(e),t),and:(e,t,r)=>xt(le(e),r)&&xt(le(t),r),or:(e,t,r)=>xt(le(e),r)||xt(le(t),r)};function Or(e,t){return Ke(e)?e.equals(t):Ke(t)?t.equals(e):(e=le(e),t=le(t),Oe(e)?Oe(t)&&function(r,n){return r.length===n.length&&!r.some((i,a)=>!Or(i,n[a]))}(e,t):e===t)}let ki=class{constructor(e,t,r,n){this.key=e,this.value=t,this.next=r,this.prev=n}};class rl{constructor(t,r=0){this.limit=t,this.size=r,this.cache={},this.head=new ki("HEAD",null,null,null),this.tail=new ki("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(t,r){if(this.cache[t])this.cache[t].value=r;else{const n=new ki(t,r,this.head.next,this.head);this.head.next.prev=n,this.head.next=n,this.cache[t]=n,this.size++,this.ensureLimit()}}read(t){if(!this.cache[t])return;const{value:r}=this.cache[t];return this.remove(t),this.write(t,r),r}remove(t){const r=this.cache[t];r.prev.next=r.next,r.next.prev=r.prev,delete this.cache[t],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function nl(e,t){const r=document.createElement("base");r.href=e;const n=document.getElementsByTagName("head")[0];n.insertBefore(r,n.firstChild);const i=document.createElement("a");i.href=t;const a=i.href;return n.removeChild(r),a}var Md=Object.freeze({__proto__:null,resolve:function(e,t,r){return e.length&&Lo(e)!=="/"&&(e+="/"),nl(e,t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,(n,i,a)=>{const o=a.split("/").pop();return/\.\w+$/.test(o)?n:i+a+r})},readFile:function(e){return nt(this,0,void 0,function*(){return new Promise((t,r)=>{const n=new XMLHttpRequest;n.onload=()=>{n.status>=200&&n.status<300?t(n.responseText):r(new Error(n.statusText))},n.onerror=()=>{r(new Error("An error occurred whilst receiving the response."))},n.open("GET",e),n.send()})})},readFileSync:function(e){const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(),t.status<200||t.status>=300)throw new Error(t.statusText);return t.responseText},exists:function(e){return nt(this,0,void 0,function*(){return!0})},existsSync:function(e){return!0},dirname:function(e){return nl(e,".")},sep:"/"});function il(e,t=0){return JSON.stringify(e,null,t)}const Ud={raw:!0,handler:Io},Fd={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"},jd={"&amp;":"&","&lt;":"<","&gt;":">","&#34;":'"',"&#39;":"'"};function Ai(e){return ie(e).replace(/&|<|>|"|'/g,t=>Fd[t])}var zd=Object.freeze({__proto__:null,escape:Ai,escape_once:function(e){return Ai(function(t){return ie(t).replace(/&(amp|lt|gt|#34|#39);/g,r=>jd[r])}(ie(e)))},newline_to_br:function(e){return ie(e).replace(/\r?\n/gm,`<br />
90
+ `)},strip_html:function(e){return ie(e).replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<.*?>|<!--[\s\S]*?-->/g,"")}});const Et={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,cache:void 0,extname:"",fs:Md,dynamicPartials:!0,jsTruthy:!1,dateFormat:"%A, %B %-e, %Y at %-l:%M %P %z",trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:Pd};function Hd(e){if(e.hasOwnProperty("root")&&(e.hasOwnProperty("partials")||(e.partials=e.root),e.hasOwnProperty("layouts")||(e.layouts=e.root)),e.hasOwnProperty("cache")){let r;r=typeof e.cache=="number"?e.cache>0?new rl(e.cache):void 0:typeof e.cache=="object"?e.cache:e.cache?new rl(1024):void 0,e.cache=r}var t;return(e=Object.assign(Object.assign(Object.assign({},Et),e.jekyllInclude?{dynamicPartials:!1}:{}),e)).fs.dirname&&e.fs.sep||!e.relativeReference||(console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"),e.relativeReference=!1),e.root=Lr(e.root),e.partials=Lr(e.partials),e.layouts=Lr(e.layouts),e.outputEscape=e.outputEscape&&((t=e.outputEscape)==="escape"?Ai:t==="json"?il:(We(Ue(t),"`outputEscape` need to be of type string or function"),t)),e}function Lr(e){let t=[];return Oe(e)&&(t=e),Qe(e)&&(t=[e]),t}function Vd(e,t){if(!e||!Si(e))return;const r=t?qt:Uo;for(;fe[e.input.charCodeAt(e.end-1-e.trimRight)]&r;)e.trimRight++}function $d(e,t){if(!e||!Si(e))return;const r=t?qt:Uo;for(;fe[e.input.charCodeAt(e.begin+e.trimLeft)]&r;)e.trimLeft++;e.input.charAt(e.begin+e.trimLeft)===`
91
91
  `&&e.trimLeft++}class Pt{constructor(t,r=Et.operators,n,i){this.input=t,this.file=n,this.range=i,this.rawBeginAt=-1,this.p=i?i[0]:0,this.N=i?i[1]:t.length,this.opTrie=Ho(r),this.literalTrie=Ho(zo)}readExpression(){return new Id(this.readExpressionTokens())}*readExpressionTokens(){for(;this.p<this.N;){const t=this.readOperator();if(t){yield t;continue}const r=this.readValue();if(!r)return;yield r}}readOperator(){this.skipBlank();const t=this.matchTrie(this.opTrie);if(t!==-1)return new xd(this.input,this.p,this.p=t,this.file)}matchTrie(t){let r,n=t,i=this.p;for(;n[this.input[i]]&&i<this.N;)n=n[this.input[i++]],n.end&&(r=n);return r?r.needBoundary&&Sr(this.peek(i-this.p))?-1:i:-1}readFilteredValue(){const t=this.p,r=this.readExpression();this.assert(r.valid(),`invalid value expression: ${this.snapshot()}`);const n=this.readFilters();return new Rd(r,n,this.input,t,this.p,this.file)}readFilters(){const t=[];for(;;){const r=this.readFilter();if(!r)return t;t.push(r)}}readFilter(){if(this.skipBlank(),this.end())return null;this.assert(this.peek()==="|",'expected "|" before filter'),this.p++;const t=this.p,r=this.readIdentifier();if(!r.size())return this.assert(this.end(),"expected filter name"),null;const n=[];if(this.skipBlank(),this.peek()===":")do{++this.p;const i=this.readFilterArg();i&&n.push(i),this.skipBlank(),this.assert(this.end()||this.peek()===","||this.peek()==="|",()=>`unexpected character ${this.snapshot()}`)}while(this.peek()===",");else if(this.peek()!=="|"&&!this.end())throw this.error('expected ":" after filter name');return new kd(r.getText(),n,this.input,t,this.p,this.file)}readFilterArg(){const t=this.readValue();if(!t)return;if(this.skipBlank(),this.peek()!==":")return t;++this.p;const r=this.readValue();return[t.getText(),r]}readTopLevelTokens(t=Et){const r=[];for(;this.p<this.N;){const n=this.readTopLevelToken(t);r.push(n)}return function(n,i){let a=!1;for(let o=0;o<n.length;o++){const s=n[o];_t(s)&Ee.Delimited&&(!a&&s.trimLeft&&Vd(n[o-1],i.greedy),Tt(s)&&(s.name==="raw"?a=!0:s.name==="endraw"&&(a=!1)),!a&&s.trimRight&&$d(n[o+1],i.greedy))}}(r,t),r}readTopLevelToken(t){const{tagDelimiterLeft:r,outputDelimiterLeft:n}=t;return this.rawBeginAt>-1?this.readEndrawOrRawContent(t):this.match(r)?this.readTagToken(t):this.match(n)?this.readOutputToken(t):this.readHTMLToken([r,n])}readHTMLToken(t){const r=this.p;for(;this.p<this.N&&!t.some(n=>this.match(n));)++this.p;return new Jo(this.input,r,this.p,this.file)}readTagToken(t=Et){const{file:r,input:n}=this,i=this.p;if(this.readToDelimiter(t.tagDelimiterRight)===-1)throw this.error(`tag ${this.snapshot(i)} not closed`,i);const a=new Xo(n,i,this.p,t,r);return a.name==="raw"&&(this.rawBeginAt=i),a}readToDelimiter(t,r=!1){for(this.skipBlank();this.p<this.N;)if(r&&8&this.peekType())this.readQuoted();else if(++this.p,this.rmatch(t))return this.p;return-1}readOutputToken(t=Et){const{file:r,input:n}=this,{outputDelimiterRight:i}=t,a=this.p;if(this.readToDelimiter(i,!0)===-1)throw this.error(`output ${this.snapshot(a)} not closed`,a);return new bd(n,a,this.p,t,r)}readEndrawOrRawContent(t){const{tagDelimiterLeft:r,tagDelimiterRight:n}=t,i=this.p;let a=this.readTo(r)-r.length;for(;this.p<this.N;)if(this.readIdentifier().getText()==="endraw")for(;this.p<=this.N;){if(this.rmatch(n)){const o=this.p;return i===a?(this.rawBeginAt=-1,new Xo(this.input,i,o,t,this.file)):(this.p=a,new Jo(this.input,i,a,this.file))}if(this.rmatch(r))break;this.p++}else a=this.readTo(r)-r.length;throw this.error(`raw ${this.snapshot(this.rawBeginAt)} not closed`,i)}readLiquidTagTokens(t=Et){const r=[];for(;this.p<this.N;){const n=this.readLiquidTagToken(t);n&&r.push(n)}return r}readLiquidTagToken(t){if(this.skipBlank(),this.end())return;const r=this.p;this.readToDelimiter(`
92
- `);const n=this.p;return new Nd(this.input,r,n,t,this.file)}error(t,r=this.p){return new nd(t,new ki(this.input,r,this.N,this.file))}assert(t,r,n){if(!t)throw this.error(typeof r=="function"?r():r,n)}snapshot(t=this.p){return JSON.stringify((r=this.input.slice(t,this.N),n=32,r.length>n?r.slice(0,n-3)+"...":r));var r,n}readWord(){return this.readIdentifier()}readIdentifier(){this.skipBlank();const t=this.p;for(;!this.end()&&Sr(this.peek());)++this.p;return new ki(this.input,t,this.p,this.file)}readTagName(){return this.skipBlank(),this.input[this.p]==="#"?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(t){const r=[];for(;;){const n=this.readHash(t);if(!n)return r;r.push(n)}}readHash(t){this.skipBlank(),this.peek()===","&&++this.p;const r=this.p,n=this.readIdentifier();if(!n.size())return;let i;this.skipBlank();const a=t?"=":":";return this.peek()===a&&(++this.p,i=this.readValue()),new Ad(this.input,r,this.p,n,i,this.file)}remaining(){return this.input.slice(this.p,this.N)}advance(t=1){this.p+=t}end(){return this.p>=this.N}readTo(t){for(;this.p<this.N;)if(++this.p,this.rmatch(t))return this.p;return-1}readValue(){this.skipBlank();const t=this.p,r=this.readLiteral()||this.readQuoted()||this.readRange()||this.readNumber(),n=[];for(;;)if(this.peek()!=="["){if(!r&&!n.length){const i=this.readIdentifier();if(i.size()){n.push(i);continue}}if(this.peek()!=="."||this.peek(1)===".")break;{this.p++;const i=this.readIdentifier();if(!i.size())break;n.push(i)}}else{this.p++;const i=this.readValue()||new ki(this.input,this.p,this.p,this.file);this.assert(this.readTo("]")!==-1,"[ not closed"),n.push(i)}return n.length?new Ed(r,n,this.input,t,this.p):r}readNumber(){this.skipBlank();let t=!1,r=!1,n=0;for(64&this.peekType()&&n++;this.p+n<=this.N;)if(32&this.peekType(n))r=!0,n++;else{if(this.peek(n)!=="."||this.peek(n+1)===".")break;if(t||!r)return;t=!0,n++}if(r&&!Sr(this.peek(n))){const i=new yd(this.input,this.p,this.p+n,this.file);return this.advance(n),i}}readLiteral(){this.skipBlank();const t=this.matchTrie(this.literalTrie);if(t===-1)return;const r=new vd(this.input,this.p,t,this.file);return this.p=t,r}readRange(){this.skipBlank();const t=this.p;if(this.peek()!=="(")return;++this.p;const r=this.readValueOrThrow();this.p+=2;const n=this.readValueOrThrow();return++this.p,new Sd(this.input,t,this.p,r,n,this.file)}readValueOrThrow(){const t=this.readValue();return this.assert(t,()=>`unexpected token ${this.snapshot()}, value expected`),t}readQuoted(){this.skipBlank();const t=this.p;if(!(8&this.peekType()))return;++this.p;let r=!1;for(;this.p<this.N&&(++this.p,this.input[this.p-1]!==this.input[t]||r);)r?r=!1:this.input[this.p-1]==="\\"&&(r=!0);return new Dd(this.input,t,this.p,this.file)}*readFileNameTemplate(t){const{outputDelimiterLeft:r}=t,n=[","," ",r],i=new Set(n);for(;this.p<this.N&&!i.has(this.peek());)yield this.match(r)?this.readOutputToken(t):this.readHTMLToken(n)}match(t){for(let r=0;r<t.length;r++)if(t[r]!==this.input[this.p+r])return!1;return!0}rmatch(t){for(let r=0;r<t.length;r++)if(t[t.length-1-r]!==this.input[this.p-1-r])return!1;return!0}peekType(t=0){return this.p+t>=this.N?0:fe[this.input.charCodeAt(this.p+t)]}peek(t=0){return this.p+t>=this.N?"":this.input[this.p+t]}skipBlank(){for(;this.peekType()&qt;)++this.p}}class Gd{constructor(t,r){this.handlers={},this.stopRequested=!1,this.tokens=t,this.parseToken=r}on(t,r){return this.handlers[t]=r,this}trigger(t,r){const n=this.handlers[t];return!!n&&(n.call(this,r),!0)}start(){let t;for(this.trigger("start");!this.stopRequested&&(t=this.tokens.shift());){if(this.trigger("token",t)||Tt(t)&&this.trigger(`tag:${t.name}`,t))continue;const r=this.parseToken(t,this.tokens);this.trigger("template",r)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class Di{constructor(t){this.token=t}}class De extends Di{constructor(t,r,n){super(t),this.name=t.name,this.liquid=n,this.tokenizer=t.tokenizer}}class Mt{constructor(t,r){this.hash={};const n=new Pt(t,{});for(const i of n.readHashes(r))this.hash[i.name.content]=i.value}*render(t){const r={};for(const n of Object.keys(this.hash))r[n]=this.hash[n]===void 0||(yield Be(this.hash[n],t));return r}}class al{constructor(t,r,n,i){this.name=t,this.handler=Ue(r)?r:Ue(r?.handler)?r.handler:Io,this.raw=!Ue(r)&&!!r?.raw,this.args=n,this.liquid=i}*render(t,r){const n=[];for(const i of this.args)Oe(i)?n.push([i[0],yield Be(i[1],r)]):n.push(yield Be(i,r));return yield this.handler.apply({context:r,liquid:this.liquid},[t,...n])}}class it{constructor(t,r){this.filters=[];const n=typeof t=="string"?new Pt(t,r.options.operators).readFilteredValue():t;this.initial=n.initial,this.filters=n.filters.map(({name:i,args:a})=>new al(i,this.getFilter(r,i),a,r))}*value(t,r){r=r||t.opts.lenientIf&&this.filters.length>0&&this.filters[0].name==="default";let n=yield this.initial.evaluate(t,r);for(const i of this.filters)n=yield i.render(n,t);return n}getFilter(t,r){const n=t.filters[r];return We(n||!t.options.strictFilters,()=>`undefined filter: ${r}`),n}}class Wd extends Di{constructor(t,r){var n;super(t);const i=new Pt(t.input,r.options.operators,t.file,t.contentRange);this.value=new it(i.readFilteredValue(),r);const a=this.value.filters,o=r.options.outputEscape;!(!((n=a[a.length-1])===null||n===void 0)&&n.raw)&&o&&a.push(new al(toString.call(o),o,[],r))}*render(t,r){const n=yield this.value.value(t,!1);r.write(n)}}class Kd extends Di{constructor(t){super(t),this.str=t.getContent()}*render(t,r){r.write(this.str)}}var kt,Si,Ee,ge,At,Br;(Si=kt||(kt={})).Partials="partials",Si.Layouts="layouts",Si.Root="root";class Xd{constructor(t){if(this.options=t,t.relativeReference){const r=t.fs.sep;We(r,"`fs.sep` is required for relative reference");const n=new RegExp(["."+r,".."+r,"./","../"].map(i=>i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|"));this.shouldLoadRelative=i=>n.test(i)}else this.shouldLoadRelative=r=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(t,r,n,i){const{fs:a}=this.options,o=this.options[r];for(const s of this.candidates(t,o,i,r!==kt.Root))if(n?a.existsSync(s):yield a.exists(s))return s;throw this.lookupError(t,o)}*candidates(t,r,n,i){const{fs:a,extname:o}=this.options;if(this.shouldLoadRelative(t)&&n){const s=a.resolve(this.dirname(n),t,o);for(const l of r)if(!i||this.contains(l,s)){yield s;break}}for(const s of r){const l=a.resolve(s,t,o);i&&!this.contains(s,l)||(yield l)}if(a.fallback!==void 0){const s=a.fallback(t);s!==void 0&&(yield s)}}dirname(t){const r=this.options.fs;return We(r.dirname,"`fs.dirname` is required for relative reference"),r.dirname(t)}lookupError(t,r){const n=new Error("ENOENT");return n.message=`ENOENT: Failed to lookup "${t}" in "${r}"`,n.code="ENOENT",n}}class Jd{constructor(t){this.liquid=t,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Xd(this.liquid.options)}parse(t,r){const n=new Pt(t,this.liquid.options.operators,r).readTopLevelTokens(this.liquid.options);return this.parseTokens(n)}parseTokens(t){let r;const n=[];for(;r=t.shift();)n.push(this.parseToken(r,t));return n}parseToken(t,r){try{if(Tt(t)){const n=this.liquid.tags[t.name];return We(n,`tag "${t.name}" not found`),new n(t,r,this.liquid)}return _t(t)===Ee.Output?new Wd(t,this.liquid):new Kd(t)}catch(n){throw rr.is(n)?n:new id(n,t)}}parseStream(t){return new Gd(t,(r,n)=>this.parseToken(r,n))}*_parseFileCached(t,r,n=kt.Root,i){const a=this.cache,o=this.loader.shouldLoadRelative(t)?i+","+t:n+":"+t,s=yield a.read(o);if(s)return s;const l=this._parseFile(t,r,n,i),c=r?yield l:pt(l);a.write(o,c);try{return yield c}catch(y){throw a.remove(o),y}}*_parseFile(t,r,n=kt.Root,i){const a=yield this.loader.lookup(t,n,r,i);return this.liquid.parse(r?this.fs.readFileSync(a):yield this.fs.readFile(a),a)}}function sl(e){return _t(e)===Ee.Operator}function Ni(e){return _t(e)===Ee.HTML}function Tt(e){return _t(e)===Ee.Tag}function _t(e){return e?e.kind:-1}(ge=Ee||(Ee={}))[ge.Number=1]="Number",ge[ge.Literal=2]="Literal",ge[ge.Tag=4]="Tag",ge[ge.Output=8]="Output",ge[ge.HTML=16]="HTML",ge[ge.Filter=32]="Filter",ge[ge.Hash=64]="Hash",ge[ge.PropertyAccess=128]="PropertyAccess",ge[ge.Word=256]="Word",ge[ge.Range=512]="Range",ge[ge.Quoted=1024]="Quoted",ge[ge.Operator=2048]="Operator",ge[ge.FilteredValue=4096]="FilteredValue",ge[ge.Delimited=12]="Delimited";class Ut{constructor(t={},r=Et,n={}){var i,a,o;this.scopes=[{}],this.registers={},this.sync=!!n.sync,this.opts=r,this.globals=(i=n.globals)!==null&&i!==void 0?i:r.globals,this.environments=t,this.strictVariables=(a=n.strictVariables)!==null&&a!==void 0?a:this.opts.strictVariables,this.ownPropertyOnly=(o=n.ownPropertyOnly)!==null&&o!==void 0?o:r.ownPropertyOnly}getRegister(t){return this.registers[t]=this.registers[t]||{}}setRegister(t,r){return this.registers[t]=r}saveRegister(...t){return t.map(r=>[r,this.getRegister(r)])}restoreRegister(t){return t.forEach(([r,n])=>this.setRegister(r,n))}getAll(){return[this.globals,this.environments,...this.scopes].reduce((t,r)=>Nr(t,r),{})}get(t){return this.getSync(t)}getSync(t){return ht(this._get(t))}*_get(t){const r=this.findScope(t[0]);return yield this._getFromScope(r,t)}getFromScope(t,r){return ht(this._getFromScope(t,r))}*_getFromScope(t,r,n=this.strictVariables){Qe(r)&&(r=r.split("."));for(let i=0;i<r.length;i++)if(t=yield Yd(t,r[i],this.ownPropertyOnly),n&&t===void 0)throw new sd(r.slice(0,i+1).join("."));return t}push(t){return this.scopes.push(t)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(t){for(let r=this.scopes.length-1;r>=0;r--){const n=this.scopes[r];if(t in n)return n}return t in this.environments?this.environments:this.globals}}function Yd(e,t,r){if(rt(e=Ro(e)))return e;if(Oe(e)&&t<0)return e[e.length+ +t];const n=function(i,a,o){return!o||Object.hasOwnProperty.call(i,a)||i instanceof wt?i[a]:void 0}(e,t,r);return n===void 0&&e instanceof wt?e.liquidMethodMissing(t):Ue(n)?n.call(e):t==="size"?function(i){if(i.hasOwnProperty("size")||i.size!==void 0)return i.size;if(Oe(i)||Qe(i))return i.length;if(typeof i=="object")return Object.keys(i).length}(e):t==="first"?function(i){return Oe(i)?i[0]:i.first}(e):t==="last"?function(i){return Oe(i)?i[i.length-1]:i.last}(e):n}(Br=At||(At={}))[Br.OUTPUT=0]="OUTPUT",Br[Br.STORE=1]="STORE";const Qd=ze(Math.abs),Zd=ze(Math.max),ep=ze(Math.min),tp=ze(Math.ceil),rp=ze((e,t,r=!1)=>r?Math.floor(e/t):e/t),np=ze(Math.floor),ip=ze((e,t)=>e-t),ap=ze((e,t)=>e%t),sp=ze((e,t)=>e*t);var op=Object.freeze({__proto__:null,abs:Qd,at_least:Zd,at_most:ep,ceil:tp,divided_by:rp,floor:np,minus:ip,modulo:ap,times:sp,round:function(e,t=0){e=le(e),t=le(t);const r=Math.pow(10,t);return Math.round(e*r)/r},plus:function(e,t){return e=le(e),t=le(t),Number(e)+Number(t)}}),lp=Object.freeze({__proto__:null,url_decode:e=>ie(e).split("+").map(decodeURIComponent).join(" "),url_encode:e=>ie(e).split(" ").map(encodeURIComponent).join("+")});const up=ze((e,t)=>Ze(e).join(t===void 0?" ":t)),cp=ze(e=>Oe(e)?Lo(e):""),dp=ze(e=>Oe(e)?e[0]:""),pp=ze(e=>[...Ze(e)].reverse());function ol(e,t=[]){return e=le(e),t=Ze(t).map(r=>le(r)),Ze(e).concat(t)}var hp=Object.freeze({__proto__:null,join:up,last:cp,first:dp,reverse:pp,sort:function*(e,t){const r=[];for(const n of Ze(le(e)))r.push([n,t?yield this.context._getFromScope(n,ie(t).split("."),!1):n]);return r.sort((n,i)=>{const a=n[1],o=i[1];return a<o?-1:a>o?1:0}).map(n=>n[0])},sort_natural:function(e,t){e=le(e);const r=ie(t),n=t===void 0?qo:(i,a)=>qo(i[r],a[r]);return[...Ze(e)].sort(n)},size:e=>e&&e.length||0,map:function*(e,t){const r=[];for(const n of Ze(le(e)))r.push(yield this.context._getFromScope(n,ie(t),!1));return r},sum:function*(e,t){let r=0;for(const n of Ze(le(e))){const i=Number(t?yield this.context._getFromScope(n,ie(t),!1):n);r+=Number.isNaN(i)?0:i}return r},compact:function(e){return Ze(e=le(e)).filter(t=>!rt(le(t)))},concat:ol,push:function(e,t){return ol(e,[t])},slice:function(e,t,r=1){return rt(e=le(e))?[]:(Oe(e)||(e=ie(e)),t=t<0?e.length+t:t,e.slice(t,t+r))},where:function*(e,t,r){const n=[];e=Ze(le(e));for(const i of e)n.push(yield this.context._getFromScope(i,ie(t).split("."),!1));return e.filter((i,a)=>r===void 0?xt(n[a],this.context):Ke(r)?r.equals(n[a]):n[a]===r)},uniq:function(e){e=le(e);const t={};return(e||[]).filter(r=>!No.call(t,String(r))&&(t[String(r)]=!0,!0))},sample:function(e,t=1){if(rt(e=le(e)))return[];Oe(e)||(e=ie(e));const r=[...e].sort(()=>Math.random()-.5);return t===1?r[0]:r.slice(0,t)}});function ll(e,t){if(Dr(t))return t;const r=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(e.toLocaleString("en-US",{timeZone:t}));return(r.getTime()-n.getTime())/6e4}var _p=Object.freeze({__proto__:null,date:function(e,t,r){const n=this.context.opts;let i;return e=le(e),t=rt(t=le(t))?n.dateFormat:ie(t),i=e==="now"||e==="today"?new Date:Dr(e)?new Date(1e3*e):Qe(e)?/^\d+$/.test(e)?new Date(1e3*+e):n.preserveTimezones?st.createDateFixedToTimezone(e):new Date(e):e,function(a){return(a instanceof Date||a instanceof st)&&!isNaN(a.getTime())}(i)?(r!==void 0?i=new st(i,ll(i,r)):i instanceof st||n.timezoneOffset===void 0||(i=new st(i,ll(i,n.timezoneOffset))),function(a,o){let s,l="",c=o;for(;s=cd.exec(c);)l+=c.slice(0,s.index),c=c.slice(s.index+s[0].length),l+=gd(a,s);return l+c}(i,t)):e}}),fp=Object.freeze({__proto__:null,append:function(e,t){return We(arguments.length===2,"append expect 2 arguments"),ie(e)+ie(t)},prepend:function(e,t){return We(arguments.length===2,"prepend expect 2 arguments"),ie(t)+ie(e)},lstrip:function(e,t){return t?(t=yi(ie(t)),ie(e).replace(new RegExp(`^[${t}]+`,"g"),"")):ie(e).replace(/^\s+/,"")},downcase:function(e){return ie(e).toLowerCase()},upcase:function(e){return ie(e).toUpperCase()},remove:function(e,t){return ie(e).split(String(t)).join("")},remove_first:function(e,t){return ie(e).replace(String(t),"")},remove_last:function(e,t){const r=ie(e),n=String(t),i=r.lastIndexOf(n);return i===-1?r:r.substring(0,i)+r.substring(i+n.length)},rstrip:function(e,t){return t?(t=yi(ie(t)),ie(e).replace(new RegExp(`[${t}]+$`,"g"),"")):ie(e).replace(/\s+$/,"")},split:function(e,t){const r=ie(e).split(String(t));for(;r.length&&r[r.length-1]==="";)r.pop();return r},strip:function(e,t){return t?(t=yi(ie(t)),ie(e).replace(new RegExp(`^[${t}]+`,"g"),"").replace(new RegExp(`[${t}]+$`,"g"),"")):ie(e).trim()},strip_newlines:function(e){return ie(e).replace(/\r?\n/gm,"")},capitalize:function(e){return(e=ie(e)).charAt(0).toUpperCase()+e.slice(1).toLowerCase()},replace:function(e,t,r){return ie(e).split(String(t)).join(r)},replace_first:function(e,t,r){return ie(e).replace(String(t),r)},replace_last:function(e,t,r){const n=ie(e),i=String(t),a=n.lastIndexOf(i);if(a===-1)return n;const o=String(r);return n.substring(0,a)+o+n.substring(a+i.length)},truncate:function(e,t=50,r="..."){return(e=ie(e)).length<=t?e:e.substring(0,t-r.length)+r},truncatewords:function(e,t=15,r="..."){const n=ie(e).split(/\s+/);t<=0&&(t=1);let i=n.slice(0,t).join(" ");return n.length>=t&&(i+=r),i}});const gp=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},zd),op),lp),hp),_p),fp),{json:il,raw:Ud,default:function(e,t,...r){return Oe(e=le(e))||Qe(e)?e.length?e:t:(e!==!1||!new Map(r).get("allow_false"))&&(Rr(e,this.context)?t:e)}}),ul=["offset","limit","reversed"];function Ri(e,t){if(t.options.dynamicPartials){const i=e.readValue();return e.assert(i,"illegal file path"),i.getText()==="none"?void 0:_t(i)===Ee.Quoted?cl(t.parse(tl(i))):i}const r=[...e.readFileNameTemplate(t.options)],n=cl(t.parser.parseTokens(r));return n==="none"?void 0:n}function cl(e){return e.length===1&&Ni(e[0].token)?e[0].token.getContent():e}function*Oi(e,t,r){return typeof e=="string"?e:Array.isArray(e)?r.renderer.renderTemplates(e,t):yield Be(e,t)}class mp extends vi{constructor(t,r,n,i){super(t,n,i),this.length=t,this.cols=r}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return this.col0()===0}col_last(){return this.col()===this.cols}}const bp={assign:class extends De{constructor(e,t,r){super(e,t,r),this.key=this.tokenizer.readIdentifier().content,this.tokenizer.assert(this.key,"expected variable name"),this.tokenizer.skipBlank(),this.tokenizer.assert(this.tokenizer.peek()==="=",'expected "="'),this.tokenizer.advance(),this.value=new it(this.tokenizer.readFilteredValue(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}},for:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier(),i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(!n.size()||i.content!=="in"||!a)throw new Error(`illegal tag: ${e.getText()}`);let o;this.variable=n.content,this.collection=a,this.hash=new Mt(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];const s=this.liquid.parser.parseStream(t).on("start",()=>o=this.templates).on("tag:else",()=>o=this.elseTemplates).on("tag:endfor",()=>s.stop()).on("template",l=>o.push(l)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});s.start()}*render(e,t){const r=this.liquid.renderer;let n=wi(yield Be(this.collection,e));if(!n.length)return void(yield r.renderTemplates(this.elseTemplates,e,t));const i="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(i)});const a=yield this.hash.render(e);e.pop(),n=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter(s=>ul.includes(s)):ul.filter(s=>a[s]!==void 0)).reduce((s,l)=>{return l==="offset"?(c=s,y=a.offset,c.slice(y)):l==="limit"?function(v,k){return v.slice(0,k)}(s,a.limit):function(v){return[...v].reverse()}(s);var c,y},n),e.setRegister(i,(a.offset||0)+n.length);const o={forloop:new vi(n.length,this.collection.getText(),this.variable)};e.push(o);for(const s of n){if(o[this.variable]=s,yield r.renderTemplates(this.templates,e,t),t.break){t.break=!1;break}t.continue=!1,o.forloop.next()}e.pop()}},capture:class extends De{constructor(e,t,r){for(super(e,t,r),this.templates=[],this.variable=this.readVariableName();t.length;){const n=t.shift();if(Tt(n)&&n.name==="endcapture")return;this.templates.push(r.parser.parseToken(n,t))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const t=this.liquid.renderer,r=yield t.renderTemplates(this.templates,e);e.bottom()[this.variable]=r}readVariableName(){const e=this.tokenizer.readIdentifier().content;if(e)return e;const t=this.tokenizer.readQuoted();if(t)return tl(t);throw this.tokenizer.error("invalid capture name")}},case:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[],this.value=new it(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let n=[],i=0;const a=this.liquid.parser.parseStream(t).on("tag:when",o=>{if(i>0)return;n=[];const s=[];for(;!o.tokenizer.end();)s.push(o.tokenizer.readValueOrThrow()),o.tokenizer.skipBlank(),o.tokenizer.peek()===","?o.tokenizer.readTo(","):o.tokenizer.readTo("or");this.branches.push({values:s,templates:n})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endcase",()=>a.stop()).on("template",o=>{n===this.elseTemplates&&i!==1||n.push(o)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});a.start()}*render(e,t){const r=this.liquid.renderer,n=le(yield this.value.value(e,e.opts.lenientIf));let i=!1;for(const a of this.branches)for(const o of a.values)if(n===(yield Be(o,e,e.opts.lenientIf))){yield r.renderTemplates(a.templates,e,t),i=!0;break}i||(yield r.renderTemplates(this.elseTemplates,e,t))}},comment:class extends De{constructor(e,t,r){for(super(e,t,r);t.length;){const n=t.shift();if(Tt(n)&&n.name==="endcomment")return}throw new Error(`tag ${e.getText()} not closed`)}render(){}},include:class extends De{constructor(e,t,r){super(e,t,r);const{tokenizer:n}=e;this.file=Ri(n,this.liquid),this.currentFile=e.file;const i=n.p;n.readIdentifier().content==="with"?(n.skipBlank(),n.peek()!==":"?this.withVar=n.readValue():n.p=i):n.p=i,this.hash=new Mt(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,t){const{liquid:r,hash:n,withVar:i}=this,{renderer:a}=r,o=yield Oi(this.file,e,r);We(o,()=>`illegal file path "${o}"`);const s=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",At.OUTPUT);const l=yield n.render(e);i&&(l[o]=yield Be(i,e));const c=yield r._parsePartialFile(o,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:l}:l),yield a.renderTemplates(c,e,t),e.pop(),e.restoreRegister(s)}},render:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer;for(this.file=Ri(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const i=n.p,a=n.readIdentifier();if((a.content==="with"||a.content==="for")&&(n.skipBlank(),n.peek()!==":")){const o=n.readValue();if(o){const s=n.p;let l;n.readIdentifier().content==="as"?l=n.readIdentifier():n.p=s,this[a.content]={value:o,alias:l&&l.content},n.skipBlank(),n.peek()===","&&n.advance();continue}}n.p=i;break}this.hash=new Mt(n.remaining())}*render(e,t){const{liquid:r,hash:n}=this,i=yield Oi(this.file,e,r);We(i,()=>`illegal file path "${i}"`);const a=new Ut({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),o=a.bottom();if(Nr(o,yield n.render(e)),this.with){const{value:s,alias:l}=this.with;o[l||i]=yield Be(s,e)}if(this.for){const{value:s,alias:l}=this.for,c=wi(yield Be(s,e));o.forloop=new vi(c.length,s.getText(),l);for(const y of c){o[l]=y;const v=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(v,a,t),o.forloop.next()}}else{const s=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(s,a,t)}}},decrement:class extends De{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;Dr(r[this.variable])||(r[this.variable]=0),t.write(ie(--r[this.variable]))}},increment:class extends De{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;Dr(r[this.variable])||(r[this.variable]=0);const n=r[this.variable];r[this.variable]++,t.write(ie(n))}},cycle:class extends De{constructor(e,t,r){super(e,t,r),this.candidates=[];const n=this.tokenizer.readValue();for(this.tokenizer.skipBlank(),n&&(this.tokenizer.peek()===":"?(this.group=n,this.tokenizer.advance()):this.candidates.push(n));!this.tokenizer.end();){const i=this.tokenizer.readValue();i&&this.candidates.push(i),this.tokenizer.readTo(",")}this.tokenizer.assert(this.candidates.length,()=>`empty candidates: "${e.getText()}"`)}*render(e,t){const r=`cycle:${yield Be(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let i=n[r];i===void 0&&(i=n[r]=0);const a=this.candidates[i];return i=(i+1)%this.candidates.length,n[r]=i,yield Be(a,e)}},if:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;r.parser.parseStream(t).on("start",()=>this.branches.push({value:new it(e.args,this.liquid),templates:n=[]})).on("tag:elsif",a=>{i>0?n=[]:this.branches.push({value:new it(a.args,this.liquid),templates:n=[]})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endif",function(){this.stop()}).on("template",a=>{n===this.elseTemplates&&i!==1||n.push(a)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,templates:i}of this.branches)if(xt(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(i,e,t));yield r.renderTemplates(this.elseTemplates,e,t)}},layout:class extends De{constructor(e,t,r){super(e,t,r),this.file=Ri(this.tokenizer,this.liquid),this.currentFile=e.file,this.args=new Mt(this.tokenizer.remaining()),this.templates=this.liquid.parser.parseTokens(t)}*render(e,t){const{liquid:r,args:n,file:i}=this,{renderer:a}=r;if(i===void 0)return e.setRegister("blockMode",At.OUTPUT),void(yield a.renderTemplates(this.templates,e,t));const o=yield Oi(this.file,e,r);We(o,()=>`illegal file path "${o}"`);const s=yield r._parseLayoutFile(o,e.sync,this.currentFile);e.setRegister("blockMode",At.STORE);const l=yield a.renderTemplates(this.templates,e),c=e.getRegister("blocks");c[""]===void 0&&(c[""]=(y,v)=>v.write(l)),e.setRegister("blockMode",At.OUTPUT),e.push(yield n.render(e)),yield a.renderTemplates(s,e,t),e.pop()}},block:class extends De{constructor(e,t,r){super(e,t,r),this.templates=[];const n=/\w+/.exec(e.args);for(this.block=n?n[0]:"";t.length;){const i=t.shift();if(Tt(i)&&i.name==="endblock")return;const a=r.parser.parseToken(i,t);this.templates.push(a)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,t){const r=this.getBlockRender(e);e.getRegister("blockMode")===At.STORE?e.getRegister("blocks")[this.block]=r:yield r(new Fo,t)}getBlockRender(e){const{liquid:t,templates:r}=this,n=e.getRegister("blocks")[this.block],i=function*(a,o){e.push({block:a}),yield t.renderer.renderTemplates(r,e,o),e.pop()};return n?(a,o)=>n(new Fo(()=>i(a,o)),o):i}},raw:class extends De{constructor(e,t,r){for(super(e,t,r),this.tokens=[];t.length;){const n=t.shift();if(Tt(n)&&n.name==="endraw")return;this.tokens.push(n)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map(e=>e.getText()).join("")}},tablerow:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier();this.tokenizer.skipBlank();const i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(i.content!=="in"||!a)throw new Error(`illegal tag: ${e.getText()}`);let o;this.variable=n.content,this.collection=a,this.args=new Mt(this.tokenizer.remaining()),this.templates=[];const s=this.liquid.parser.parseStream(t).on("start",()=>o=this.templates).on("tag:endtablerow",()=>s.stop()).on("template",l=>o.push(l)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});s.start()}*render(e,t){let r=wi(yield Be(this.collection,e));const n=yield this.args.render(e),i=n.offset||0,a=n.limit===void 0?r.length:n.limit;r=r.slice(i,i+a);const o=n.cols||r.length,s=this.liquid.renderer,l=new mp(r.length,o,this.collection.getText(),this.variable),c={tablerowloop:l};e.push(c);for(let y=0;y<r.length;y++,l.next())c[this.variable]=r[y],l.col0()===0&&(l.row()!==1&&t.write("</tr>"),t.write(`<tr class="row${l.row()}">`)),t.write(`<td class="col${l.col()}">`),yield s.renderTemplates(this.templates,e,t),t.write("</td>");r.length&&t.write("</tr>"),e.pop()}},unless:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;this.liquid.parser.parseStream(t).on("start",()=>this.branches.push({value:new it(e.args,this.liquid),test:Rr,templates:n=[]})).on("tag:elsif",a=>{i>0?n=[]:this.branches.push({value:new it(a.args,this.liquid),test:xt,templates:n=[]})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endunless",function(){this.stop()}).on("template",a=>{n===this.elseTemplates&&i!==1||n.push(a)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,test:i,templates:a}of this.branches)if(i(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(a,e,t));yield r.renderTemplates(this.elseTemplates,e,t)}},break:class extends De{render(e,t){t.break=!0}},continue:class extends De{render(e,t){t.continue=!0}},echo:class extends De{constructor(e,t,r){super(e,t,r),this.tokenizer.skipBlank(),this.tokenizer.end()||(this.value=new it(this.tokenizer.readFilteredValue(),this.liquid))}*render(e,t){if(!this.value)return;const r=yield this.value.value(e,!1);t.write(r)}},liquid:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,t){yield this.liquid.renderer.renderTemplates(this.templates,e,t)}},"#":class extends De{constructor(e,t,r){if(super(e,t,r),e.args.search(/\n\s*[^#\s]/g)!==-1)throw new Error("every line of an inline comment must start with a '#' character")}render(){}}};class ji{constructor(t={}){this.renderer=new Cd,this.filters={},this.tags={},this.options=Hd(t),this.parser=new Jd(this),Oo(bp,(r,n)=>this.registerTag(n,r)),Oo(gp,(r,n)=>this.registerFilter(n,r))}parse(t,r){return this.parser.parse(t,r)}_render(t,r,n){const i=r instanceof Ut?r:new Ut(r,this.options,n);return this.renderer.renderTemplates(t,i)}render(t,r,n){return nt(this,0,void 0,function*(){return pt(this._render(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}renderSync(t,r,n){return ht(this._render(t,r,Object.assign(Object.assign({},n),{sync:!0})))}renderToNodeStream(t,r,n={}){const i=new Ut(r,this.options,n);return this.renderer.renderTemplatesToNodeStream(t,i)}_parseAndRender(t,r,n){const i=this.parse(t);return this._render(i,r,n)}parseAndRender(t,r,n){return nt(this,0,void 0,function*(){return pt(this._parseAndRender(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}parseAndRenderSync(t,r,n){return ht(this._parseAndRender(t,r,Object.assign(Object.assign({},n),{sync:!0})))}_parsePartialFile(t,r,n){return this.parser.parseFile(t,r,kt.Partials,n)}_parseLayoutFile(t,r,n){return this.parser.parseFile(t,r,kt.Layouts,n)}_parseFile(t,r,n,i){return this.parser.parseFile(t,r,n,i)}parseFile(t,r){return nt(this,0,void 0,function*(){return pt(this.parser.parseFile(t,!1,r))})}parseFileSync(t,r){return ht(this.parser.parseFile(t,!0,r))}*_renderFile(t,r,n){const i=yield this._parseFile(t,n.sync,n.lookupType);return yield this._render(i,r,n)}renderFile(t,r,n){return nt(this,0,void 0,function*(){return pt(this._renderFile(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}renderFileSync(t,r,n){return ht(this._renderFile(t,r,Object.assign(Object.assign({},n),{sync:!0})))}renderFileToNodeStream(t,r,n){return nt(this,0,void 0,function*(){const i=yield this.parseFile(t);return this.renderToNodeStream(i,r,n)})}_evalValue(t,r){const n=new it(t,this),i=r instanceof Ut?r:new Ut(r,this.options);return n.value(i)}evalValue(t,r){return nt(this,0,void 0,function*(){return pt(this._evalValue(t,r))})}evalValueSync(t,r){return ht(this._evalValue(t,r))}registerFilter(t,r){this.filters[t]=r}registerTag(t,r){var n;this.tags[t]=Ue(r)?r:(n=r,class extends De{constructor(i,a,o){super(i,a,o),Ue(n.parse)&&n.parse.call(this,i,a)}*render(i,a){const o=yield new Mt(this.token.args).render(i);return yield n.render.call(this,i,a,o)}})}plugin(t){return t.call(this,ji)}express(){const t=this;let r=!0;return function(n,i,a){if(r){r=!1;const o=Lr(this.root);t.options.root.unshift(...o),t.options.layouts.unshift(...o),t.options.partials.unshift(...o)}t.renderFile(n,i).then(o=>a(null,o),a)}}}const yp=/{{([\s\S]+?)}}/;class dl extends kr{generateIterationTemplate(t,r){return O.createElement(O.Fragment,null,O.createElement(He,null,`
92
+ `);const n=this.p;return new Nd(this.input,r,n,t,this.file)}error(t,r=this.p){return new nd(t,new Ei(this.input,r,this.N,this.file))}assert(t,r,n){if(!t)throw this.error(typeof r=="function"?r():r,n)}snapshot(t=this.p){return JSON.stringify((r=this.input.slice(t,this.N),n=32,r.length>n?r.slice(0,n-3)+"...":r));var r,n}readWord(){return this.readIdentifier()}readIdentifier(){this.skipBlank();const t=this.p;for(;!this.end()&&Sr(this.peek());)++this.p;return new Ei(this.input,t,this.p,this.file)}readTagName(){return this.skipBlank(),this.input[this.p]==="#"?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(t){const r=[];for(;;){const n=this.readHash(t);if(!n)return r;r.push(n)}}readHash(t){this.skipBlank(),this.peek()===","&&++this.p;const r=this.p,n=this.readIdentifier();if(!n.size())return;let i;this.skipBlank();const a=t?"=":":";return this.peek()===a&&(++this.p,i=this.readValue()),new Ad(this.input,r,this.p,n,i,this.file)}remaining(){return this.input.slice(this.p,this.N)}advance(t=1){this.p+=t}end(){return this.p>=this.N}readTo(t){for(;this.p<this.N;)if(++this.p,this.rmatch(t))return this.p;return-1}readValue(){this.skipBlank();const t=this.p,r=this.readLiteral()||this.readQuoted()||this.readRange()||this.readNumber(),n=[];for(;;)if(this.peek()!=="["){if(!r&&!n.length){const i=this.readIdentifier();if(i.size()){n.push(i);continue}}if(this.peek()!=="."||this.peek(1)===".")break;{this.p++;const i=this.readIdentifier();if(!i.size())break;n.push(i)}}else{this.p++;const i=this.readValue()||new Ei(this.input,this.p,this.p,this.file);this.assert(this.readTo("]")!==-1,"[ not closed"),n.push(i)}return n.length?new Ed(r,n,this.input,t,this.p):r}readNumber(){this.skipBlank();let t=!1,r=!1,n=0;for(64&this.peekType()&&n++;this.p+n<=this.N;)if(32&this.peekType(n))r=!0,n++;else{if(this.peek(n)!=="."||this.peek(n+1)===".")break;if(t||!r)return;t=!0,n++}if(r&&!Sr(this.peek(n))){const i=new yd(this.input,this.p,this.p+n,this.file);return this.advance(n),i}}readLiteral(){this.skipBlank();const t=this.matchTrie(this.literalTrie);if(t===-1)return;const r=new vd(this.input,this.p,t,this.file);return this.p=t,r}readRange(){this.skipBlank();const t=this.p;if(this.peek()!=="(")return;++this.p;const r=this.readValueOrThrow();this.p+=2;const n=this.readValueOrThrow();return++this.p,new Sd(this.input,t,this.p,r,n,this.file)}readValueOrThrow(){const t=this.readValue();return this.assert(t,()=>`unexpected token ${this.snapshot()}, value expected`),t}readQuoted(){this.skipBlank();const t=this.p;if(!(8&this.peekType()))return;++this.p;let r=!1;for(;this.p<this.N&&(++this.p,this.input[this.p-1]!==this.input[t]||r);)r?r=!1:this.input[this.p-1]==="\\"&&(r=!0);return new Dd(this.input,t,this.p,this.file)}*readFileNameTemplate(t){const{outputDelimiterLeft:r}=t,n=[","," ",r],i=new Set(n);for(;this.p<this.N&&!i.has(this.peek());)yield this.match(r)?this.readOutputToken(t):this.readHTMLToken(n)}match(t){for(let r=0;r<t.length;r++)if(t[r]!==this.input[this.p+r])return!1;return!0}rmatch(t){for(let r=0;r<t.length;r++)if(t[t.length-1-r]!==this.input[this.p-1-r])return!1;return!0}peekType(t=0){return this.p+t>=this.N?0:fe[this.input.charCodeAt(this.p+t)]}peek(t=0){return this.p+t>=this.N?"":this.input[this.p+t]}skipBlank(){for(;this.peekType()&qt;)++this.p}}class Gd{constructor(t,r){this.handlers={},this.stopRequested=!1,this.tokens=t,this.parseToken=r}on(t,r){return this.handlers[t]=r,this}trigger(t,r){const n=this.handlers[t];return!!n&&(n.call(this,r),!0)}start(){let t;for(this.trigger("start");!this.stopRequested&&(t=this.tokens.shift());){if(this.trigger("token",t)||Tt(t)&&this.trigger(`tag:${t.name}`,t))continue;const r=this.parseToken(t,this.tokens);this.trigger("template",r)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class Ti{constructor(t){this.token=t}}class De extends Ti{constructor(t,r,n){super(t),this.name=t.name,this.liquid=n,this.tokenizer=t.tokenizer}}class Mt{constructor(t,r){this.hash={};const n=new Pt(t,{});for(const i of n.readHashes(r))this.hash[i.name.content]=i.value}*render(t){const r={};for(const n of Object.keys(this.hash))r[n]=this.hash[n]===void 0||(yield Be(this.hash[n],t));return r}}class al{constructor(t,r,n,i){this.name=t,this.handler=Ue(r)?r:Ue(r?.handler)?r.handler:Io,this.raw=!Ue(r)&&!!r?.raw,this.args=n,this.liquid=i}*render(t,r){const n=[];for(const i of this.args)Oe(i)?n.push([i[0],yield Be(i[1],r)]):n.push(yield Be(i,r));return yield this.handler.apply({context:r,liquid:this.liquid},[t,...n])}}class it{constructor(t,r){this.filters=[];const n=typeof t=="string"?new Pt(t,r.options.operators).readFilteredValue():t;this.initial=n.initial,this.filters=n.filters.map(({name:i,args:a})=>new al(i,this.getFilter(r,i),a,r))}*value(t,r){r=r||t.opts.lenientIf&&this.filters.length>0&&this.filters[0].name==="default";let n=yield this.initial.evaluate(t,r);for(const i of this.filters)n=yield i.render(n,t);return n}getFilter(t,r){const n=t.filters[r];return We(n||!t.options.strictFilters,()=>`undefined filter: ${r}`),n}}class Wd extends Ti{constructor(t,r){var n;super(t);const i=new Pt(t.input,r.options.operators,t.file,t.contentRange);this.value=new it(i.readFilteredValue(),r);const a=this.value.filters,o=r.options.outputEscape;!(!((n=a[a.length-1])===null||n===void 0)&&n.raw)&&o&&a.push(new al(toString.call(o),o,[],r))}*render(t,r){const n=yield this.value.value(t,!1);r.write(n)}}class Kd extends Ti{constructor(t){super(t),this.str=t.getContent()}*render(t,r){r.write(this.str)}}var kt,Di,Ee,ge,At,Br;(Di=kt||(kt={})).Partials="partials",Di.Layouts="layouts",Di.Root="root";class Xd{constructor(t){if(this.options=t,t.relativeReference){const r=t.fs.sep;We(r,"`fs.sep` is required for relative reference");const n=new RegExp(["."+r,".."+r,"./","../"].map(i=>i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")).join("|"));this.shouldLoadRelative=i=>n.test(i)}else this.shouldLoadRelative=r=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(t,r,n,i){const{fs:a}=this.options,o=this.options[r];for(const s of this.candidates(t,o,i,r!==kt.Root))if(n?a.existsSync(s):yield a.exists(s))return s;throw this.lookupError(t,o)}*candidates(t,r,n,i){const{fs:a,extname:o}=this.options;if(this.shouldLoadRelative(t)&&n){const s=a.resolve(this.dirname(n),t,o);for(const l of r)if(!i||this.contains(l,s)){yield s;break}}for(const s of r){const l=a.resolve(s,t,o);i&&!this.contains(s,l)||(yield l)}if(a.fallback!==void 0){const s=a.fallback(t);s!==void 0&&(yield s)}}dirname(t){const r=this.options.fs;return We(r.dirname,"`fs.dirname` is required for relative reference"),r.dirname(t)}lookupError(t,r){const n=new Error("ENOENT");return n.message=`ENOENT: Failed to lookup "${t}" in "${r}"`,n.code="ENOENT",n}}class Jd{constructor(t){this.liquid=t,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Xd(this.liquid.options)}parse(t,r){const n=new Pt(t,this.liquid.options.operators,r).readTopLevelTokens(this.liquid.options);return this.parseTokens(n)}parseTokens(t){let r;const n=[];for(;r=t.shift();)n.push(this.parseToken(r,t));return n}parseToken(t,r){try{if(Tt(t)){const n=this.liquid.tags[t.name];return We(n,`tag "${t.name}" not found`),new n(t,r,this.liquid)}return _t(t)===Ee.Output?new Wd(t,this.liquid):new Kd(t)}catch(n){throw rr.is(n)?n:new id(n,t)}}parseStream(t){return new Gd(t,(r,n)=>this.parseToken(r,n))}*_parseFileCached(t,r,n=kt.Root,i){const a=this.cache,o=this.loader.shouldLoadRelative(t)?i+","+t:n+":"+t,s=yield a.read(o);if(s)return s;const l=this._parseFile(t,r,n,i),c=r?yield l:pt(l);a.write(o,c);try{return yield c}catch(y){throw a.remove(o),y}}*_parseFile(t,r,n=kt.Root,i){const a=yield this.loader.lookup(t,n,r,i);return this.liquid.parse(r?this.fs.readFileSync(a):yield this.fs.readFile(a),a)}}function sl(e){return _t(e)===Ee.Operator}function Si(e){return _t(e)===Ee.HTML}function Tt(e){return _t(e)===Ee.Tag}function _t(e){return e?e.kind:-1}(ge=Ee||(Ee={}))[ge.Number=1]="Number",ge[ge.Literal=2]="Literal",ge[ge.Tag=4]="Tag",ge[ge.Output=8]="Output",ge[ge.HTML=16]="HTML",ge[ge.Filter=32]="Filter",ge[ge.Hash=64]="Hash",ge[ge.PropertyAccess=128]="PropertyAccess",ge[ge.Word=256]="Word",ge[ge.Range=512]="Range",ge[ge.Quoted=1024]="Quoted",ge[ge.Operator=2048]="Operator",ge[ge.FilteredValue=4096]="FilteredValue",ge[ge.Delimited=12]="Delimited";class Ut{constructor(t={},r=Et,n={}){var i,a,o;this.scopes=[{}],this.registers={},this.sync=!!n.sync,this.opts=r,this.globals=(i=n.globals)!==null&&i!==void 0?i:r.globals,this.environments=t,this.strictVariables=(a=n.strictVariables)!==null&&a!==void 0?a:this.opts.strictVariables,this.ownPropertyOnly=(o=n.ownPropertyOnly)!==null&&o!==void 0?o:r.ownPropertyOnly}getRegister(t){return this.registers[t]=this.registers[t]||{}}setRegister(t,r){return this.registers[t]=r}saveRegister(...t){return t.map(r=>[r,this.getRegister(r)])}restoreRegister(t){return t.forEach(([r,n])=>this.setRegister(r,n))}getAll(){return[this.globals,this.environments,...this.scopes].reduce((t,r)=>Nr(t,r),{})}get(t){return this.getSync(t)}getSync(t){return ht(this._get(t))}*_get(t){const r=this.findScope(t[0]);return yield this._getFromScope(r,t)}getFromScope(t,r){return ht(this._getFromScope(t,r))}*_getFromScope(t,r,n=this.strictVariables){Qe(r)&&(r=r.split("."));for(let i=0;i<r.length;i++)if(t=yield Yd(t,r[i],this.ownPropertyOnly),n&&t===void 0)throw new sd(r.slice(0,i+1).join("."));return t}push(t){return this.scopes.push(t)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(t){for(let r=this.scopes.length-1;r>=0;r--){const n=this.scopes[r];if(t in n)return n}return t in this.environments?this.environments:this.globals}}function Yd(e,t,r){if(rt(e=Ro(e)))return e;if(Oe(e)&&t<0)return e[e.length+ +t];const n=function(i,a,o){return!o||Object.hasOwnProperty.call(i,a)||i instanceof wt?i[a]:void 0}(e,t,r);return n===void 0&&e instanceof wt?e.liquidMethodMissing(t):Ue(n)?n.call(e):t==="size"?function(i){if(i.hasOwnProperty("size")||i.size!==void 0)return i.size;if(Oe(i)||Qe(i))return i.length;if(typeof i=="object")return Object.keys(i).length}(e):t==="first"?function(i){return Oe(i)?i[0]:i.first}(e):t==="last"?function(i){return Oe(i)?i[i.length-1]:i.last}(e):n}(Br=At||(At={}))[Br.OUTPUT=0]="OUTPUT",Br[Br.STORE=1]="STORE";const Qd=ze(Math.abs),Zd=ze(Math.max),ep=ze(Math.min),tp=ze(Math.ceil),rp=ze((e,t,r=!1)=>r?Math.floor(e/t):e/t),np=ze(Math.floor),ip=ze((e,t)=>e-t),ap=ze((e,t)=>e%t),sp=ze((e,t)=>e*t);var op=Object.freeze({__proto__:null,abs:Qd,at_least:Zd,at_most:ep,ceil:tp,divided_by:rp,floor:np,minus:ip,modulo:ap,times:sp,round:function(e,t=0){e=le(e),t=le(t);const r=Math.pow(10,t);return Math.round(e*r)/r},plus:function(e,t){return e=le(e),t=le(t),Number(e)+Number(t)}}),lp=Object.freeze({__proto__:null,url_decode:e=>ie(e).split("+").map(decodeURIComponent).join(" "),url_encode:e=>ie(e).split(" ").map(encodeURIComponent).join("+")});const up=ze((e,t)=>Ze(e).join(t===void 0?" ":t)),cp=ze(e=>Oe(e)?Lo(e):""),dp=ze(e=>Oe(e)?e[0]:""),pp=ze(e=>[...Ze(e)].reverse());function ol(e,t=[]){return e=le(e),t=Ze(t).map(r=>le(r)),Ze(e).concat(t)}var hp=Object.freeze({__proto__:null,join:up,last:cp,first:dp,reverse:pp,sort:function*(e,t){const r=[];for(const n of Ze(le(e)))r.push([n,t?yield this.context._getFromScope(n,ie(t).split("."),!1):n]);return r.sort((n,i)=>{const a=n[1],o=i[1];return a<o?-1:a>o?1:0}).map(n=>n[0])},sort_natural:function(e,t){e=le(e);const r=ie(t),n=t===void 0?qo:(i,a)=>qo(i[r],a[r]);return[...Ze(e)].sort(n)},size:e=>e&&e.length||0,map:function*(e,t){const r=[];for(const n of Ze(le(e)))r.push(yield this.context._getFromScope(n,ie(t),!1));return r},sum:function*(e,t){let r=0;for(const n of Ze(le(e))){const i=Number(t?yield this.context._getFromScope(n,ie(t),!1):n);r+=Number.isNaN(i)?0:i}return r},compact:function(e){return Ze(e=le(e)).filter(t=>!rt(le(t)))},concat:ol,push:function(e,t){return ol(e,[t])},slice:function(e,t,r=1){return rt(e=le(e))?[]:(Oe(e)||(e=ie(e)),t=t<0?e.length+t:t,e.slice(t,t+r))},where:function*(e,t,r){const n=[];e=Ze(le(e));for(const i of e)n.push(yield this.context._getFromScope(i,ie(t).split("."),!1));return e.filter((i,a)=>r===void 0?xt(n[a],this.context):Ke(r)?r.equals(n[a]):n[a]===r)},uniq:function(e){e=le(e);const t={};return(e||[]).filter(r=>!No.call(t,String(r))&&(t[String(r)]=!0,!0))},sample:function(e,t=1){if(rt(e=le(e)))return[];Oe(e)||(e=ie(e));const r=[...e].sort(()=>Math.random()-.5);return t===1?r[0]:r.slice(0,t)}});function ll(e,t){if(Dr(t))return t;const r=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(e.toLocaleString("en-US",{timeZone:t}));return(r.getTime()-n.getTime())/6e4}var _p=Object.freeze({__proto__:null,date:function(e,t,r){const n=this.context.opts;let i;return e=le(e),t=rt(t=le(t))?n.dateFormat:ie(t),i=e==="now"||e==="today"?new Date:Dr(e)?new Date(1e3*e):Qe(e)?/^\d+$/.test(e)?new Date(1e3*+e):n.preserveTimezones?st.createDateFixedToTimezone(e):new Date(e):e,function(a){return(a instanceof Date||a instanceof st)&&!isNaN(a.getTime())}(i)?(r!==void 0?i=new st(i,ll(i,r)):i instanceof st||n.timezoneOffset===void 0||(i=new st(i,ll(i,n.timezoneOffset))),function(a,o){let s,l="",c=o;for(;s=cd.exec(c);)l+=c.slice(0,s.index),c=c.slice(s.index+s[0].length),l+=gd(a,s);return l+c}(i,t)):e}}),fp=Object.freeze({__proto__:null,append:function(e,t){return We(arguments.length===2,"append expect 2 arguments"),ie(e)+ie(t)},prepend:function(e,t){return We(arguments.length===2,"prepend expect 2 arguments"),ie(t)+ie(e)},lstrip:function(e,t){return t?(t=bi(ie(t)),ie(e).replace(new RegExp(`^[${t}]+`,"g"),"")):ie(e).replace(/^\s+/,"")},downcase:function(e){return ie(e).toLowerCase()},upcase:function(e){return ie(e).toUpperCase()},remove:function(e,t){return ie(e).split(String(t)).join("")},remove_first:function(e,t){return ie(e).replace(String(t),"")},remove_last:function(e,t){const r=ie(e),n=String(t),i=r.lastIndexOf(n);return i===-1?r:r.substring(0,i)+r.substring(i+n.length)},rstrip:function(e,t){return t?(t=bi(ie(t)),ie(e).replace(new RegExp(`[${t}]+$`,"g"),"")):ie(e).replace(/\s+$/,"")},split:function(e,t){const r=ie(e).split(String(t));for(;r.length&&r[r.length-1]==="";)r.pop();return r},strip:function(e,t){return t?(t=bi(ie(t)),ie(e).replace(new RegExp(`^[${t}]+`,"g"),"").replace(new RegExp(`[${t}]+$`,"g"),"")):ie(e).trim()},strip_newlines:function(e){return ie(e).replace(/\r?\n/gm,"")},capitalize:function(e){return(e=ie(e)).charAt(0).toUpperCase()+e.slice(1).toLowerCase()},replace:function(e,t,r){return ie(e).split(String(t)).join(r)},replace_first:function(e,t,r){return ie(e).replace(String(t),r)},replace_last:function(e,t,r){const n=ie(e),i=String(t),a=n.lastIndexOf(i);if(a===-1)return n;const o=String(r);return n.substring(0,a)+o+n.substring(a+i.length)},truncate:function(e,t=50,r="..."){return(e=ie(e)).length<=t?e:e.substring(0,t-r.length)+r},truncatewords:function(e,t=15,r="..."){const n=ie(e).split(/\s+/);t<=0&&(t=1);let i=n.slice(0,t).join(" ");return n.length>=t&&(i+=r),i}});const gp=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},zd),op),lp),hp),_p),fp),{json:il,raw:Ud,default:function(e,t,...r){return Oe(e=le(e))||Qe(e)?e.length?e:t:(e!==!1||!new Map(r).get("allow_false"))&&(Rr(e,this.context)?t:e)}}),ul=["offset","limit","reversed"];function Ni(e,t){if(t.options.dynamicPartials){const i=e.readValue();return e.assert(i,"illegal file path"),i.getText()==="none"?void 0:_t(i)===Ee.Quoted?cl(t.parse(tl(i))):i}const r=[...e.readFileNameTemplate(t.options)],n=cl(t.parser.parseTokens(r));return n==="none"?void 0:n}function cl(e){return e.length===1&&Si(e[0].token)?e[0].token.getContent():e}function*Ri(e,t,r){return typeof e=="string"?e:Array.isArray(e)?r.renderer.renderTemplates(e,t):yield Be(e,t)}class mp extends yi{constructor(t,r,n,i){super(t,n,i),this.length=t,this.cols=r}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return this.col0()===0}col_last(){return this.col()===this.cols}}const bp={assign:class extends De{constructor(e,t,r){super(e,t,r),this.key=this.tokenizer.readIdentifier().content,this.tokenizer.assert(this.key,"expected variable name"),this.tokenizer.skipBlank(),this.tokenizer.assert(this.tokenizer.peek()==="=",'expected "="'),this.tokenizer.advance(),this.value=new it(this.tokenizer.readFilteredValue(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}},for:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier(),i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(!n.size()||i.content!=="in"||!a)throw new Error(`illegal tag: ${e.getText()}`);let o;this.variable=n.content,this.collection=a,this.hash=new Mt(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];const s=this.liquid.parser.parseStream(t).on("start",()=>o=this.templates).on("tag:else",()=>o=this.elseTemplates).on("tag:endfor",()=>s.stop()).on("template",l=>o.push(l)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});s.start()}*render(e,t){const r=this.liquid.renderer;let n=vi(yield Be(this.collection,e));if(!n.length)return void(yield r.renderTemplates(this.elseTemplates,e,t));const i="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(i)});const a=yield this.hash.render(e);e.pop(),n=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter(s=>ul.includes(s)):ul.filter(s=>a[s]!==void 0)).reduce((s,l)=>{return l==="offset"?(c=s,y=a.offset,c.slice(y)):l==="limit"?function(v,k){return v.slice(0,k)}(s,a.limit):function(v){return[...v].reverse()}(s);var c,y},n),e.setRegister(i,(a.offset||0)+n.length);const o={forloop:new yi(n.length,this.collection.getText(),this.variable)};e.push(o);for(const s of n){if(o[this.variable]=s,yield r.renderTemplates(this.templates,e,t),t.break){t.break=!1;break}t.continue=!1,o.forloop.next()}e.pop()}},capture:class extends De{constructor(e,t,r){for(super(e,t,r),this.templates=[],this.variable=this.readVariableName();t.length;){const n=t.shift();if(Tt(n)&&n.name==="endcapture")return;this.templates.push(r.parser.parseToken(n,t))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const t=this.liquid.renderer,r=yield t.renderTemplates(this.templates,e);e.bottom()[this.variable]=r}readVariableName(){const e=this.tokenizer.readIdentifier().content;if(e)return e;const t=this.tokenizer.readQuoted();if(t)return tl(t);throw this.tokenizer.error("invalid capture name")}},case:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[],this.value=new it(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let n=[],i=0;const a=this.liquid.parser.parseStream(t).on("tag:when",o=>{if(i>0)return;n=[];const s=[];for(;!o.tokenizer.end();)s.push(o.tokenizer.readValueOrThrow()),o.tokenizer.skipBlank(),o.tokenizer.peek()===","?o.tokenizer.readTo(","):o.tokenizer.readTo("or");this.branches.push({values:s,templates:n})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endcase",()=>a.stop()).on("template",o=>{n===this.elseTemplates&&i!==1||n.push(o)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});a.start()}*render(e,t){const r=this.liquid.renderer,n=le(yield this.value.value(e,e.opts.lenientIf));let i=!1;for(const a of this.branches)for(const o of a.values)if(n===(yield Be(o,e,e.opts.lenientIf))){yield r.renderTemplates(a.templates,e,t),i=!0;break}i||(yield r.renderTemplates(this.elseTemplates,e,t))}},comment:class extends De{constructor(e,t,r){for(super(e,t,r);t.length;){const n=t.shift();if(Tt(n)&&n.name==="endcomment")return}throw new Error(`tag ${e.getText()} not closed`)}render(){}},include:class extends De{constructor(e,t,r){super(e,t,r);const{tokenizer:n}=e;this.file=Ni(n,this.liquid),this.currentFile=e.file;const i=n.p;n.readIdentifier().content==="with"?(n.skipBlank(),n.peek()!==":"?this.withVar=n.readValue():n.p=i):n.p=i,this.hash=new Mt(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,t){const{liquid:r,hash:n,withVar:i}=this,{renderer:a}=r,o=yield Ri(this.file,e,r);We(o,()=>`illegal file path "${o}"`);const s=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",At.OUTPUT);const l=yield n.render(e);i&&(l[o]=yield Be(i,e));const c=yield r._parsePartialFile(o,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:l}:l),yield a.renderTemplates(c,e,t),e.pop(),e.restoreRegister(s)}},render:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer;for(this.file=Ni(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const i=n.p,a=n.readIdentifier();if((a.content==="with"||a.content==="for")&&(n.skipBlank(),n.peek()!==":")){const o=n.readValue();if(o){const s=n.p;let l;n.readIdentifier().content==="as"?l=n.readIdentifier():n.p=s,this[a.content]={value:o,alias:l&&l.content},n.skipBlank(),n.peek()===","&&n.advance();continue}}n.p=i;break}this.hash=new Mt(n.remaining())}*render(e,t){const{liquid:r,hash:n}=this,i=yield Ri(this.file,e,r);We(i,()=>`illegal file path "${i}"`);const a=new Ut({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),o=a.bottom();if(Nr(o,yield n.render(e)),this.with){const{value:s,alias:l}=this.with;o[l||i]=yield Be(s,e)}if(this.for){const{value:s,alias:l}=this.for,c=vi(yield Be(s,e));o.forloop=new yi(c.length,s.getText(),l);for(const y of c){o[l]=y;const v=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(v,a,t),o.forloop.next()}}else{const s=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(s,a,t)}}},decrement:class extends De{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;Dr(r[this.variable])||(r[this.variable]=0),t.write(ie(--r[this.variable]))}},increment:class extends De{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;Dr(r[this.variable])||(r[this.variable]=0);const n=r[this.variable];r[this.variable]++,t.write(ie(n))}},cycle:class extends De{constructor(e,t,r){super(e,t,r),this.candidates=[];const n=this.tokenizer.readValue();for(this.tokenizer.skipBlank(),n&&(this.tokenizer.peek()===":"?(this.group=n,this.tokenizer.advance()):this.candidates.push(n));!this.tokenizer.end();){const i=this.tokenizer.readValue();i&&this.candidates.push(i),this.tokenizer.readTo(",")}this.tokenizer.assert(this.candidates.length,()=>`empty candidates: "${e.getText()}"`)}*render(e,t){const r=`cycle:${yield Be(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let i=n[r];i===void 0&&(i=n[r]=0);const a=this.candidates[i];return i=(i+1)%this.candidates.length,n[r]=i,yield Be(a,e)}},if:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;r.parser.parseStream(t).on("start",()=>this.branches.push({value:new it(e.args,this.liquid),templates:n=[]})).on("tag:elsif",a=>{i>0?n=[]:this.branches.push({value:new it(a.args,this.liquid),templates:n=[]})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endif",function(){this.stop()}).on("template",a=>{n===this.elseTemplates&&i!==1||n.push(a)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,templates:i}of this.branches)if(xt(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(i,e,t));yield r.renderTemplates(this.elseTemplates,e,t)}},layout:class extends De{constructor(e,t,r){super(e,t,r),this.file=Ni(this.tokenizer,this.liquid),this.currentFile=e.file,this.args=new Mt(this.tokenizer.remaining()),this.templates=this.liquid.parser.parseTokens(t)}*render(e,t){const{liquid:r,args:n,file:i}=this,{renderer:a}=r;if(i===void 0)return e.setRegister("blockMode",At.OUTPUT),void(yield a.renderTemplates(this.templates,e,t));const o=yield Ri(this.file,e,r);We(o,()=>`illegal file path "${o}"`);const s=yield r._parseLayoutFile(o,e.sync,this.currentFile);e.setRegister("blockMode",At.STORE);const l=yield a.renderTemplates(this.templates,e),c=e.getRegister("blocks");c[""]===void 0&&(c[""]=(y,v)=>v.write(l)),e.setRegister("blockMode",At.OUTPUT),e.push(yield n.render(e)),yield a.renderTemplates(s,e,t),e.pop()}},block:class extends De{constructor(e,t,r){super(e,t,r),this.templates=[];const n=/\w+/.exec(e.args);for(this.block=n?n[0]:"";t.length;){const i=t.shift();if(Tt(i)&&i.name==="endblock")return;const a=r.parser.parseToken(i,t);this.templates.push(a)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,t){const r=this.getBlockRender(e);e.getRegister("blockMode")===At.STORE?e.getRegister("blocks")[this.block]=r:yield r(new Fo,t)}getBlockRender(e){const{liquid:t,templates:r}=this,n=e.getRegister("blocks")[this.block],i=function*(a,o){e.push({block:a}),yield t.renderer.renderTemplates(r,e,o),e.pop()};return n?(a,o)=>n(new Fo(()=>i(a,o)),o):i}},raw:class extends De{constructor(e,t,r){for(super(e,t,r),this.tokens=[];t.length;){const n=t.shift();if(Tt(n)&&n.name==="endraw")return;this.tokens.push(n)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map(e=>e.getText()).join("")}},tablerow:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier();this.tokenizer.skipBlank();const i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(i.content!=="in"||!a)throw new Error(`illegal tag: ${e.getText()}`);let o;this.variable=n.content,this.collection=a,this.args=new Mt(this.tokenizer.remaining()),this.templates=[];const s=this.liquid.parser.parseStream(t).on("start",()=>o=this.templates).on("tag:endtablerow",()=>s.stop()).on("template",l=>o.push(l)).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)});s.start()}*render(e,t){let r=vi(yield Be(this.collection,e));const n=yield this.args.render(e),i=n.offset||0,a=n.limit===void 0?r.length:n.limit;r=r.slice(i,i+a);const o=n.cols||r.length,s=this.liquid.renderer,l=new mp(r.length,o,this.collection.getText(),this.variable),c={tablerowloop:l};e.push(c);for(let y=0;y<r.length;y++,l.next())c[this.variable]=r[y],l.col0()===0&&(l.row()!==1&&t.write("</tr>"),t.write(`<tr class="row${l.row()}">`)),t.write(`<td class="col${l.col()}">`),yield s.renderTemplates(this.templates,e,t),t.write("</td>");r.length&&t.write("</tr>"),e.pop()}},unless:class extends De{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;this.liquid.parser.parseStream(t).on("start",()=>this.branches.push({value:new it(e.args,this.liquid),test:Rr,templates:n=[]})).on("tag:elsif",a=>{i>0?n=[]:this.branches.push({value:new it(a.args,this.liquid),test:xt,templates:n=[]})}).on("tag:else",()=>{i++,n=this.elseTemplates}).on("tag:endunless",function(){this.stop()}).on("template",a=>{n===this.elseTemplates&&i!==1||n.push(a)}).on("end",()=>{throw new Error(`tag ${e.getText()} not closed`)}).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,test:i,templates:a}of this.branches)if(i(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(a,e,t));yield r.renderTemplates(this.elseTemplates,e,t)}},break:class extends De{render(e,t){t.break=!0}},continue:class extends De{render(e,t){t.continue=!0}},echo:class extends De{constructor(e,t,r){super(e,t,r),this.tokenizer.skipBlank(),this.tokenizer.end()||(this.value=new it(this.tokenizer.readFilteredValue(),this.liquid))}*render(e,t){if(!this.value)return;const r=yield this.value.value(e,!1);t.write(r)}},liquid:class extends De{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,t){yield this.liquid.renderer.renderTemplates(this.templates,e,t)}},"#":class extends De{constructor(e,t,r){if(super(e,t,r),e.args.search(/\n\s*[^#\s]/g)!==-1)throw new Error("every line of an inline comment must start with a '#' character")}render(){}}};class Fi{constructor(t={}){this.renderer=new Cd,this.filters={},this.tags={},this.options=Hd(t),this.parser=new Jd(this),Oo(bp,(r,n)=>this.registerTag(n,r)),Oo(gp,(r,n)=>this.registerFilter(n,r))}parse(t,r){return this.parser.parse(t,r)}_render(t,r,n){const i=r instanceof Ut?r:new Ut(r,this.options,n);return this.renderer.renderTemplates(t,i)}render(t,r,n){return nt(this,0,void 0,function*(){return pt(this._render(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}renderSync(t,r,n){return ht(this._render(t,r,Object.assign(Object.assign({},n),{sync:!0})))}renderToNodeStream(t,r,n={}){const i=new Ut(r,this.options,n);return this.renderer.renderTemplatesToNodeStream(t,i)}_parseAndRender(t,r,n){const i=this.parse(t);return this._render(i,r,n)}parseAndRender(t,r,n){return nt(this,0,void 0,function*(){return pt(this._parseAndRender(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}parseAndRenderSync(t,r,n){return ht(this._parseAndRender(t,r,Object.assign(Object.assign({},n),{sync:!0})))}_parsePartialFile(t,r,n){return this.parser.parseFile(t,r,kt.Partials,n)}_parseLayoutFile(t,r,n){return this.parser.parseFile(t,r,kt.Layouts,n)}_parseFile(t,r,n,i){return this.parser.parseFile(t,r,n,i)}parseFile(t,r){return nt(this,0,void 0,function*(){return pt(this.parser.parseFile(t,!1,r))})}parseFileSync(t,r){return ht(this.parser.parseFile(t,!0,r))}*_renderFile(t,r,n){const i=yield this._parseFile(t,n.sync,n.lookupType);return yield this._render(i,r,n)}renderFile(t,r,n){return nt(this,0,void 0,function*(){return pt(this._renderFile(t,r,Object.assign(Object.assign({},n),{sync:!1})))})}renderFileSync(t,r,n){return ht(this._renderFile(t,r,Object.assign(Object.assign({},n),{sync:!0})))}renderFileToNodeStream(t,r,n){return nt(this,0,void 0,function*(){const i=yield this.parseFile(t);return this.renderToNodeStream(i,r,n)})}_evalValue(t,r){const n=new it(t,this),i=r instanceof Ut?r:new Ut(r,this.options);return n.value(i)}evalValue(t,r){return nt(this,0,void 0,function*(){return pt(this._evalValue(t,r))})}evalValueSync(t,r){return ht(this._evalValue(t,r))}registerFilter(t,r){this.filters[t]=r}registerTag(t,r){var n;this.tags[t]=Ue(r)?r:(n=r,class extends De{constructor(i,a,o){super(i,a,o),Ue(n.parse)&&n.parse.call(this,i,a)}*render(i,a){const o=yield new Mt(this.token.args).render(i);return yield n.render.call(this,i,a,o)}})}plugin(t){return t.call(this,Fi)}express(){const t=this;let r=!0;return function(n,i,a){if(r){r=!1;const o=Lr(this.root);t.options.root.unshift(...o),t.options.layouts.unshift(...o),t.options.partials.unshift(...o)}t.renderFile(n,i).then(o=>a(null,o),a)}}}const yp=/{{([\s\S]+?)}}/;class dl extends kr{generateIterationTemplate(t,r){return O.createElement(O.Fragment,null,O.createElement(He,null,`
93
93
  <!-- htmlmin:ignore -->
94
94
  {% for ${t.itemName} in ${t.dataSource} ${t.limit?`limit:${t.limit}`:""} %}
95
95
  <!-- htmlmin:ignore -->
@@ -105,7 +105,7 @@ From `+this.originalError.stack)}static is(t){return t?.[Po]==="LiquidError"}}cl
105
105
  <!-- htmlmin:ignore -->
106
106
  {% endif %}
107
107
  <!-- htmlmin:ignore -->
108
- `))}generateVariable(t,r){return r?`{{ ${t}| default: "${ct.encode(r)}" }}`:`{{ ${t} }}`}isVariable(t){return yp.test(t)}renderWithData(t,r){const n=new ji;n.plugin(function(){this.registerFilter("title_case",a=>_u(a)),this.registerFilter("chunk",(a,o=1)=>fu(a,o)),this.registerFilter("arr_filter",(a,o,...s)=>a?a.filter(l=>s.includes(l[o])):null),this.registerFilter("arr_filter_sort",(a,o,...s)=>a&&s?s.map(l=>a.find(c=>re(c,o)===l)).filter(Boolean):null),this.registerFilter("arr_slice",(a,o,s)=>a?a.slice(o,s):null),this.registerFilter("date",a=>ed(a).format("MMM DD, YY")),this.registerFilter("money",a=>{const o=re(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a).toFixed(2)}):a}),this.registerFilter("money_with_currency",a=>{const o=re(r,"shop.money_with_currency_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a).toFixed(2)}):a}),this.registerFilter("money_without_currency",a=>Number(a).toFixed(2)),this.registerFilter("money_without_trailing_zeros",a=>{const o=re(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a)}):a}),this.registerFilter("img_url",a=>re(a,"image")||re(a,"src")||""),this.registerFilter("format_address",a=>a),this.registerFilter("payment_type_img_url",a=>a)});const i=n.parse(t);return n.renderSync(i,r)}}function vp(e){const{desktop:t,mobile:r}=e,n=Qt(),{displayMode:i="desktop-mobile"}=n;return i==="only-desktop"?O.createElement(Ye,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(t,null))):i==="only-mobile"?O.createElement(O.Fragment,null,n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Ye,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->")):O.createElement(O.Fragment,null,O.createElement(Ye,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(t,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Ye,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->"))}const pl="hide-desktop-block",hl="hide-mobile-block",_l="hide-desktop-inline-block",fl="hide-mobile-inline-block",gl=[L.GROUP,L.COLUMN,L.NAVBAR_LINK];class ml extends Er{constructor(){super(...arguments),ae(this,"generateResponsive",t=>{const{mode:r,displayMode:n,node:i,keepEmptyAttributes:a,mergetagsData:o={},children:s,context:l,idx:c,outputFormat:y}=t,v=ee.getBlockByType(i.type);if(!v)throw new Error(`${i.type} block is not registered`);const k=i.mobileAttributes&&Object.keys(i.mobileAttributes).some(d=>i.mobileAttributes[d]!==void 0&&i.mobileAttributes[d]!==i.attributes[d]),w=gl.includes(v.type)?_l:pl,x=gl.includes(v.type)?fl:hl,b=re(i,"attributes.css-class")||"";if(n==="only-desktop"){if(i.visible==="mobile"||b.includes(w))return null;b.includes(x)||qe(i,"attributes.css-class",gt(b,x))}else if(n==="only-mobile"){if(b.includes(x))return null;b.includes(w)||qe(i,"attributes.css-class",gt(b,w))}const u=q({},v.defaultData.attributes);if(u&&(re(i.attributes,"padding","").trim()&&(delete u.padding,delete u["padding-top"],delete u["padding-bottom"],delete u["padding-left"],delete u["padding-right"]),re(i.attributes,"inner-padding","").trim()&&(delete u["inner-padding"],delete u["inner-padding-top"],delete u["inner-padding-bottom"],delete u["inner-padding-left"],delete u["inner-padding-right"])),n==="only-mobile"){if(i.visible==="desktop")return null;i.attributes=Y(Y(u),i.attributes)}else i.attributes=Y(u,i.attributes);i.visible==="desktop"?qe(i,"attributes.css-class",gt(b,x)):i.visible==="mobile"&&qe(i,"attributes.css-class",gt(b,w)),i.visible;const m=i.visible==="desktop"?null:v.render({mode:r,children:s,context:l,idx:c,node:X(q({},i),{attributes:Y(i.attributes,i.mobileAttributes),mobileAttributes:void 0}),keepEmptyAttributes:a,mergetagsData:o,displayMode:n,outputFormat:y}),E=v.render(X(q({},t),{mode:r,children:s,context:l,idx:c,node:i,keepEmptyAttributes:a,mergetagsData:o}));let S=E;return k&&(S=O.createElement(O.Fragment,null,O.createElement(vp,{desktop:()=>O.createElement(O.Fragment,null,E),mobile:()=>O.createElement(O.Fragment,null,m)}))),S})}}const Pe={Text:{align:"enum(left,right,center,justify)","background-color":"color",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)"},Section:{"background-color":"color","background-url":"string","background-repeat":"enum(repeat,no-repeat)","background-size":"string","background-position":"string","background-position-x":"string","background-position-y":"string",border:"string","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","full-width":"enum(full-width,false,)",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","text-align":"enum(left,center,right)"},Column:{"background-color":"color",border:"string","border-bottom":"string","border-left":"string","border-radius":"unit(px,%){1,4}","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","inner-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","inner-border":"string","inner-border-bottom":"string","inner-border-left":"string","inner-border-radius":"unit(px,%){1,4}","inner-border-right":"string","inner-border-top":"string",padding:"unit(px,%){1,4}","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Button:{align:"enum(left,center,right)","background-color":"color","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",border:"string",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)",href:"string",name:"string",title:"string","inner-padding":"unit(px,%){1,4}","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",rel:"string",target:"string","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)","text-align":"enum(left,right,center)",width:"unit(px,%)"},Divider:{"border-color":"color","border-style":"string","border-width":"unit(px)","container-background-color":"color",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",width:"unit(px,%)",align:"enum(left,center,right)"},Group:{"background-color":"color",direction:"enum(ltr,rtl)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Hero:{mode:"string",height:"unit(px,%)","background-url":"string","background-width":"unit(px,%)","background-height":"unit(px,%)","background-position":"string","border-radius":"string","container-background-color":"color","inner-background-color":"color","inner-padding":"unit(px,%){1,4}","inner-padding-top":"unit(px,%)","inner-padding-left":"unit(px,%)","inner-padding-right":"unit(px,%)","inner-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","background-color":"color","vertical-align":"enum(top,bottom,middle)"},Image:{alt:"string",href:"string",name:"string",src:"string",srcset:"string",sizes:"string",title:"string",rel:"string",align:"enum(left,center,right)",border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","border-radius":"unit(px,%){1,4}","container-background-color":"color","fluid-on-mobile":"boolean",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",target:"string",width:"unit(px)",height:"unit(px,auto)","max-height":"unit(px,%)","font-size":"unit(px)",usemap:"string"},Navbar:{align:"enum(left,center,right)","base-url":"string",hamburger:"string","container-background-color":"color","ico-align":"enum(left,center,right)","ico-open":"string","ico-close":"string","ico-color":"color","ico-font-size":"unit(px,%)","ico-font-family":"string","ico-text-transform":"string","ico-padding":"unit(px,%){1,4}","ico-padding-left":"unit(px,%)","ico-padding-top":"unit(px,%)","ico-padding-right":"unit(px,%)","ico-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-left":"unit(px,%)","padding-top":"unit(px,%)","padding-right":"unit(px,%)","padding-bottom":"unit(px,%)","ico-text-decoration":"string","ico-line-height":"unit(px,%,)"},NavbarLink:{color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string",name:"string",target:"string",rel:"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string"},Social:{align:"enum(left,right,center)","border-radius":"unit(px,%)","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","inner-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",mode:"enum(horizontal,vertical)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","table-layout":"enum(auto,fixed)","text-padding":"unit(px,%){1,4}","text-decoration":"string","vertical-align":"enum(top,bottom,middle)"},SocialElement:{align:"enum(left,center,right)","background-color":"color",color:"color","border-radius":"unit(px)","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",name:"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-padding":"unit(px,%){1,4}",rel:"string",src:"string",srcset:"string",sizes:"string",alt:"string",title:"string",target:"string","text-decoration":"string","vertical-align":"enum(top,middle,bottom)"},Spacer:{border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","container-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",height:"unit(px,%)"},Raw:{},Table:{align:"enum(left,right,center)",border:"string",cellpadding:"integer",cellspacing:"integer","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-weight":"string","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",role:"enum(none,presentation)","table-layout":"enum(auto,fixed,initial,inherit)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}},wp=["mj-class","css-class"],bl=(e,t)=>{switch(e.type){case L.TEXT:return Me(e.attributes,Pe.Text);case L.WRAPPER:case L.SECTION:return Me(e.attributes,Pe.Section);case L.COLUMN:return Me(e.attributes,Pe.Column);case L.BUTTON:return Me(e.attributes,Pe.Button);case L.DIVIDER:return Me(e.attributes,Pe.Divider);case L.GROUP:return Me(e.attributes,Pe.Group);case L.HERO:return Me(e.attributes,Pe.Hero);case L.IMAGE:return Me(e.attributes,Pe.Image);case L.NAVBAR:return Me(e.attributes,Pe.Navbar);case L.NAVBAR_LINK:return Me(e.attributes,Pe.NavbarLink);case L.SOCIAL:return Me(e.attributes,Pe.Social);case L.SOCIAL_ELEMENT:return Me(e.attributes,Pe.SocialElement);case L.SPACER:return Me(e.attributes,Pe.Spacer);case L.RAW:return t==="production"?ot(Me(e.attributes,Pe.Raw),"css-class"):e.attributes}return e.attributes},Me=(e,t)=>or(e,(r,n)=>!!wp.includes(n)||Object.keys(t).includes(n)),xp=["padding","mode"];function yl(e,t){var r,n;const{node:i}=e,a=(r=t?.keepEmptyAttributes)!=null&&r,o=(n=t?.removeDefaultAttributes)!=null&&n,s=q({},bl(i,t?.mode)),l=ee.getBlockByType(i.type).defaultData.attributes;let c="";for(const y in s){const v=y;let k=s[v];et(k)&&(k=k?.trim());const w=Object.values(K).includes(i.type);(!o||!w||l[v]!==k||xp.includes(v))&&et(k)&&(k=k.trim(),a||k)&&(c+=`${y}="${k.replace(/"/gm,"").trim()}"`+" ")}return c}const vl=e=>{const t=Array.from(e.childNodes).filter(o=>o.nodeType!==Node.COMMENT_NODE);if(!t.some(o=>o.nodeType===Node.ELEMENT_NODE&&wl({item:o})))return t;const r=[],n=function(o){const s=[];let l=null;const c=Array.from(o.childNodes).filter(y=>y.nodeType!==Node.COMMENT_NODE);for(const y of c){let v="inline";y.nodeType===Node.ELEMENT_NODE&&wl({item:y})&&(v="block"),l&&l.display===v||(l={display:v,children:[]},s.push(l)),l.children.push(y)}return s}(e),i=[];n.forEach(o=>{if(o.display==="inline"){const s=document.createElement("div");o.children.forEach(l=>{var c;(c=l.textContent)!=null&&c.trim()&&s.appendChild(l)}),s.childNodes.length>0&&i.push(s)}else i.push(...o.children)}),i.forEach((o,s)=>{o instanceof HTMLBRElement&&(i[s-1]instanceof HTMLBRElement||r.push(s))}),r.reverse().forEach(o=>{i.splice(o,1)});const a=document.createElement("div");return a.replaceChildren(...i.map(o=>o.cloneNode(!0))),Array.from(a.childNodes)},wl=({item:e})=>e instanceof Element&&Mn.includes(e.tagName.toLowerCase()),nr=e=>{const t=document.createElement("div");return t.innerHTML=e,vl(t).map(r=>xl(r))},xl=e=>{var t,r,n,i;if(e.nodeType===Node.TEXT_NODE){let a=e.textContent||"";return((t=e.parentElement)==null?void 0:t.childNodes.length)===1&&e.parentElement.textContent===e.textContent&&(a=e.parentElement.innerHTML.replace(/&nbsp;/gi," ")||""),a=a?.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,"")||"",e.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),((r=e.parentElement)==null?void 0:r.childNodes.length)===1&&(((n=e.parentElement)==null?void 0:n.previousSibling)instanceof HTMLBRElement||((i=e.parentElement)==null?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const a={};e.getAttributeNames().forEach(c=>{let y=ta(c);y==="class"&&(y="className"),a[y]=e.getAttribute(c)||""});const o=e.tagName.toLowerCase();if(o==="img")return ee.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:"img"},children:[{text:""}]});if(o==="a"&&e.children.length===0&&e.childNodes.length===1)return{text:(e.textContent||"").trim(),link:{href:e.getAttribute("href")||"",blank:e.getAttribute("target")==="_blank"}};let s=vl(e).map(c=>xl(c));s.length===0&&s.push({text:""});const l=s[0];return o==="div"&&s.length===1&&te.isTextNode(l)&&l.text==="&nbsp;"&&(s=[{text:""}]),Mn.includes(o)?ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:a,data:{tagName:o},children:s}):ee.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:o},children:s})}throw console.log("Invalid Node",e),new Error("Invalid node")},Ep={text:L.STANDARD_PARAGRAPH,button:L.STANDARD_BUTTON,image:L.STANDARD_IMAGE,divider:L.STANDARD_DIVIDER,spacer:L.STANDARD_SPACER,social:L.STANDARD_SOCIAL,navbar:L.STANDARD_NAVBAR,wrapper:L.STANDARD_WRAPPER,section:L.STANDARD_SECTION,group:L.STANDARD_GROUP,column:L.STANDARD_COLUMN,advanced_text:L.STANDARD_TEXT,advanced_button:L.STANDARD_BUTTON,advanced_image:L.STANDARD_IMAGE,advanced_divider:L.STANDARD_DIVIDER,advanced_hero:L.STANDARD_HERO,advanced_spacer:L.STANDARD_SPACER,advanced_social:L.STANDARD_SOCIAL,advanced_navbar:L.STANDARD_NAVBAR,advanced_wrapper:L.STANDARD_WRAPPER,advanced_section:L.STANDARD_SECTION,advanced_group:L.STANDARD_GROUP,advanced_column:L.STANDARD_COLUMN},kp=e=>{const t=Te(e),r={},n={[z.TEXT]:{}};return t.data.value["font-family"]&&(r["font-family"]=t.data.value["font-family"]),t.data.value["font-size"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-size":t.data.value["font-size"]})),t.data.value["line-height"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"line-height":t.data.value["line-height"]})),t.data.value["font-weight"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-weight":t.data.value["font-weight"]})),t.data.value["text-color"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{color:t.data.value["text-color"]})),t.data.value["font-weight"]&&(r["font-weight"]=t.data.value["font-weight"]),ee.getBlockByType(L.PAGE).create({attributes:{width:t.attributes.width,"background-color":t.attributes["background-color"],"content-background-color":t.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:t.data.value.breakpoint,headStyles:t.data.value.headStyles,fonts:t.data.value.fonts},children:t.children.map(i=>El(i,e))})},El=(e,t)=>{var r,n,i,a;let o,s,l=e.children.map(w=>El(w,e));e.data.value.content&&(l=nr(e.data.value.content)),(e.type==="navbar"||e.type==="advanced_navbar")&&(l=e.data.value.links.map(w=>{const x=nr(w.content);return ee.getBlockByType(L.STANDARD_NAVBAR_LINK).create({attributes:q({},ot(w,"content")),children:x.length===0?[{text:""}]:x})})),(e.type==="social"||e.type==="advanced_social")&&(l=e.data.value.elements.map(w=>{const x=nr(w.content);return ee.getBlockByType(L.STANDARD_SOCIAL_ELEMENT).create({attributes:q({},ot(w,"content")),children:x.length===0?[{text:""}]:x})})),l.length===0&&(l=[{text:""}]),e.displayMode==="desktop"?o="desktop":e.displayMode==="mobile"&&(o="mobile"),(r=e.data.value)!=null&&r.condition&&(s||(s={}),s.condition=(n=e.data.value)==null?void 0:n.condition),(i=e.data.value)!=null&&i.iteration&&(s||(s={}),s.iteration=(a=e.data.value)==null?void 0:a.iteration);const c={type:Ep[e.type]||e.type,attributes:or(e.attributes,w=>!jr(w)&&w.trim()!==""),mobileAttributes:e.mobileAttributes?or(e.mobileAttributes,w=>!jr(w)&&w.trim()!==""):void 0,data:ot(e.data.value,"content"),children:l,visible:o,logic:s},y=re(c.attributes,"padding"),v=re(c.attributes,"inner-padding");if(y){const w=document.createElement("div");w.style.setProperty("padding",y),qe(c.attributes,"padding-top",w.style.paddingTop),qe(c.attributes,"padding-bottom",w.style.paddingBottom),qe(c.attributes,"padding-left",w.style.paddingLeft),qe(c.attributes,"padding-right",w.style.paddingRight)}if(v){const w=document.createElement("div");w.style.setProperty("padding",v),qe(c.attributes,"inner-padding-top",w.style.paddingTop),qe(c.attributes,"inner-padding-bottom",w.style.paddingBottom),qe(c.attributes,"inner-padding-left",w.style.paddingLeft),qe(c.attributes,"inner-padding-right",w.style.paddingRight)}if([L.STANDARD_HERO,L.STANDARD_SECTION].includes(c.type)&&(c.attributes["background-image-enabled"]=!0),[L.STANDARD_BUTTON,L.STANDARD_IMAGE,L.STANDARD_SECTION].includes(c.type)){const w=document.createElement("div");w.style.setProperty("border",c.attributes.border),(c.attributes.border&&c.attributes.border.trim()!=="none"||c.attributes["border-width"])&&(c.attributes["border-width"]=w.style.getPropertyValue("border-width"),c.attributes["border-style"]=w.style.getPropertyValue("border-style"),c.attributes["border-color"]=w.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const k=or(c,gu);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(e.type)&&t&&!t.type.includes("column")?ee.getBlockByType(L.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[ee.getBlockByType(L.STANDARD_COLUMN).create({children:[k]})]}):k},kl=e=>{if(e.attributes.padding){const t=document.createElement("div");t.style.padding=re(e.attributes,"padding"),re(e.attributes,"padding-top")&&(t.style.paddingTop=re(e.attributes,"padding-top")),re(e.attributes,"padding-bottom")&&(t.style.paddingTop=re(e.attributes,"padding-bottom")),re(e.attributes,"padding-left")&&(t.style.paddingTop=re(e.attributes,"padding-left")),re(e.attributes,"padding-right")&&(t.style.paddingTop=re(e.attributes,"padding-right")),delete e.attributes.padding,e.attributes["padding-top"]=t.style.paddingTop,e.attributes["padding-bottom"]=t.style.paddingBottom,e.attributes["padding-left"]=t.style.paddingLeft,e.attributes["padding-right"]=t.style.paddingRight}if(e.attributes["inner-padding"]){const t=document.createElement("div");t.style.padding=re(e.attributes,"inner-padding"),re(e.attributes,"inner-padding-top")&&(t.style.paddingTop=re(e.attributes,"inner-padding-top")),re(e.attributes,"inner-padding-bottom")&&(t.style.paddingTop=re(e.attributes,"inner-padding-bottom")),re(e.attributes,"inner-padding-left")&&(t.style.paddingTop=re(e.attributes,"inner-padding-left")),re(e.attributes,"inner-padding-right")&&(t.style.paddingTop=re(e.attributes,"inner-padding-right")),delete e.attributes["inner-padding"],e.attributes["inner-padding-top"]=t.style.paddingTop,e.attributes["inner-padding-bottom"]=t.style.paddingBottom,e.attributes["inner-padding-left"]=t.style.paddingLeft,e.attributes["inner-padding-right"]=t.style.paddingRight}return e},Ap=e=>{const{content:t,mjmlHelper:r}=e;if(!et(t))return Al(t);const n=new DOMParser().parseFromString(t,"text/xml").firstChild;if(n.tagName!=="mjml")throw new Error("mjmlToJson: invalid mjml. First node must be mjml");if(n.tagName==="mjml"){const{json:a}=r(t,{validationLevel:"soft"});return Al(a)}const i=a=>{if(a.tagName==="parsererror")throw new Error("Invalid content");const o={};a.getAttributeNames().forEach(c=>{const y=a.getAttribute(c);et(y)&&(o[c]=y)});const s=a.tagName.replace("mj-","");if(!(ee.getBlockByType(s)||a.parentElement&&a.parentElement.tagName==="mj-text"))throw new Error("Invalid content");const l={type:s,attributes:o,data:{},children:[...a.children].filter(c=>c instanceof Element).map(i)};return s===L.TEXT&&(l.data.value.content=a.innerHTML,l.children=[]),l};return i(n)};function Al(e){const t=r=>{var n,i,a,o,s,l,c,y,v,k;const w=r.attributes;if(r.tagName==="mjml"){const x=(n=r.children)==null?void 0:n.find(g=>g.tagName==="mj-body");if(!x)throw new Error("Invalid content");const b=(i=r.children)==null?void 0:i.find(g=>g.tagName==="mj-head"),u=((a=b?.children)==null?void 0:a.filter(g=>g.tagName==="mj-font").map(g=>({name:g.attributes.name,href:g.attributes.href})))||[],m=(o=b?.children)==null?void 0:o.filter(g=>g.tagName==="mj-style").map(g=>({content:g.content||"",inline:g.inline})),E=(s=b?.children)==null?void 0:s.find(g=>g.tagName==="mj-breakpoint"),S=(l=b?.children)==null?void 0:l.find(g=>g.tagName==="mj-preview"),d=ee.getBlockByType(L.PAGE).create({attributes:q({"margin-top":"0px","margin-bottom":"0px"},x.attributes),children:(c=x.children)==null?void 0:c.map(t),data:{headStyles:m,fonts:u,breakpoint:E?.attributes.breakpoint,preheader:S?.content}});return(((v=(y=b?.children)==null?void 0:y.find(g=>g.tagName==="mj-attributes"))==null?void 0:v.children)||[]).forEach(g=>{if((g=kl(g)).tagName==="mj-all")d.data.globalAttributes=q(q({},d.data.globalAttributes),g.attributes);else if(g.tagName==="mj-class"){const _=g.attributes.name;delete g.attributes.name,d.data.classAttributes=X(q({},d.data.classAttributes),{[_]:g.attributes})}else d.data.categoryAttributes=X(q({},d.data.categoryAttributes),{[g.tagName.replace("mj-","")]:g.attributes})}),d}{const x=r.tagName.replace("mj-","").toLowerCase(),b=ee.getBlockByType(x);if(!b)throw new Error(`${x} block no found `);x==="social"&&(k=r.children)!=null&&k.every(m=>!(m.tagName!=="mj-social-element"||re(m,"attributes.padding")||re(m,"attributes.padding-left")||re(m,"attributes.padding-right")||re(m,"attributes.padding-top")||re(m,"attributes.padding-bottom")))&&(w.spacing="8px"),x==="social-element"&&w.src&&(w.mode="custom");const u={type:b.type,attributes:w,data:{},children:[]};switch(b.type){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:u.children=nr(r.content||"");break;case L.TABLE:u.data.code=r.content||"";break;default:r.children&&(u.children=r.children.map(t))}return u.children.length===0&&(u.children=[{text:""}]),function(m){const E="standard-"+m.type;switch(m.type){case L.WRAPPER:case L.HERO:case L.SECTION:case L.GROUP:case L.COLUMN:case L.TEXT:case L.BUTTON:case L.IMAGE:case L.NAVBAR:case L.SOCIAL:case L.DIVIDER:case L.SPACER:case L.SOCIAL_ELEMENT:case L.NAVBAR_LINK:case L.TABLE:const S=q({},m);return[L.HERO,L.SECTION].includes(m.type)&&(S.attributes["background-image-enabled"]=!0),[L.BUTTON,L.IMAGE,L.SECTION].includes(m.type)&&(S.attributes.border&&S.attributes.border.trim()!=="none"||S.attributes["border-width"])&&(S.attributes["border-enabled"]=!0),X(q({},kl(m)),{type:E})}return m}(b.create(u))}};return t(e)}const Tp=()=>{var e,t,r,n,i;const{element:a}=ui(),{context:o}=Qt(),s=o.content;let l=parseFloat(((e=s.attributes)==null?void 0:e.width)||"600");return a&&te.isColumnElement(a)&&(l=(r=(t=a.attributes)==null?void 0:t.width)!=null&&r.includes("%")?l*parseFloat(((n=a.attributes)==null?void 0:n.width)||"0")/100:parseFloat(((i=a.attributes)==null?void 0:i.width)||"600")),{containerWidth:l}},Cr={id:"__easy_email_ai_agent_no_initial_selection__"};function Li(e){return"selected"in e&&e.selected===!0}function Dp(e){return X(q({},e),{toolCalls:Array.isArray(e.toolCalls)?e.toolCalls:Array.isArray(e.tool_calls)?e.tool_calls:[],fallbackTemplate:e.fallbackTemplate===void 0?e.fallback_template:e.fallbackTemplate})}function Sp(e,t){const r=t||Cr;return e.map(n=>"target"in n&&Li(n.target)?X(q({},n),{target:r}):n)}const Tl="AI_AGENT";function Dl(){if(!Xe.getFeatureEnabled(Tl))throw new Error("Current plan do not support AI Agent")}function Sl(e){return Le(this,null,function*(){const t=yield e.text().catch(()=>"");if(!t)return`${e.status} ${e.statusText}`;try{const r=JSON.parse(t);if(typeof r.error=="string")return r.error;if(typeof r.message=="string")return r.message}catch{}return t})}function Bi(e){let t="";const r=[];e.split(/\r?\n/).forEach(i=>{i&&!i.startsWith(":")&&(i.startsWith("event:")?t=i.slice(6).trim():i.startsWith("data:")&&r.push(i.slice(5).trimStart()))});const n=r.join(`
109
- `);if(!n)return null;try{const i=JSON.parse(n);return!i.type&&t&&(i.type=t),i}catch{return null}}function Ci(e,t){return Le(this,null,function*(){const r=e.getReader(),n=new TextDecoder;let i="";const a=[];for(;;){const{done:s,value:l}=yield r.read();if(s)break;i+=n.decode(l,{stream:!0});const c=i.split(/\n\n|\r\n\r\n/);i=c.pop()||"";for(const y of c){const v=Bi(y);v&&(a.push(v),t?.(v))}}i+=n.decode();const o=Bi(i);return o&&(a.push(o),t?.(o)),a})}function Np(e,t){return Le(this,null,function*(){if(Dl(),!e)throw new Error("onChat did not return a result");if(r=e,typeof Response<"u"&&r instanceof Response){if(!e.ok)throw new Error(yield Sl(e));if(!e.body)throw new Error("Streaming response body is empty");return Ci(e.body,t)}var r;return function(n){return typeof ReadableStream<"u"&&n instanceof ReadableStream}(e)?Ci(e,t):(t&&e.forEach(t),e)})}function Rp(e){const t=e?.selected;return t?t.id?{id:t.id}:t.uid?{uid:t.uid}:null:null}function Nl(e){return e==="standard-image"||e==="image"}function Ir(e,t){return!!e&&(!("id"in e)||e.id!==Cr.id)&&Nl("type"in e?e.type:t)}function Op(e,t){return t?"id"in t&&t.id===Cr.id?null:"selected"in t?Ir(e.selectedTarget,e.selectedType)?e.selectedTarget:null:"type"in t&&!Nl(t.type)?null:t:Ir(e.selectedTarget,e.selectedType)?e.selectedTarget:null}function Rl(e,t){return!!e&&!("type"in e)&&(t==="high"||"id"in e||"uid"in e||"selected"in e)}function Ol(e,t){return!(!e||!t)&&("id"in e&&"id"in t?e.id===t.id:"uid"in e&&"uid"in t&&e.uid===t.uid)}function Lp(e,t,r){return!!Rl(t,r)&&!!Ir(e.selectedTarget,e.selectedType)&&!!t&&(!!Li(t)||Ol(e.selectedTarget,t))}function Ll(e){const t=e.width&&e.height?`${e.width}x${e.height}`:"";return[e.title,t].filter(Boolean).join(" \xB7 ")||void 0}function Bp(e,t,r="Image"){var n;return(n=e.candidates)!=null&&n.length?e.candidates:(t||[]).filter(i=>i.id||i.uid).slice(0,8).map((i,a)=>({id:i.id||i.uid||`image-${a}`,label:i.title||`${r} ${a+1}`,description:Ll(i),thumbnail:i.src,value:i.attributeKey?{attributeKey:i.attributeKey}:void 0,target:i.id?{id:i.id}:i.uid?{uid:i.uid}:void 0})).filter(i=>i.target)}function Cp(e,t){if(!t)return"src";const r=(e||[]).find(n=>{if("id"in t)return n.id===t.id;if("uid"in t)return n.uid===t.uid;if("type"in t){const i=t.index||0;return(e||[]).filter(a=>a.type===t.type)[i]===n}return!1});return r?.attributeKey||"src"}function Ip(e){const t=e.value;if(!t||typeof t!="object")return"src";const r=t.attributeKey;return typeof r=="string"&&r?r:"src"}const qp=Object.values(L),Pp=new Set(qp),Mp={[L.PAGE]:"page",[L.HERO]:"hero",[L.STANDARD_HERO]:"hero",[L.WRAPPER]:"wrapper",[L.STANDARD_WRAPPER]:"wrapper",[L.SECTION]:"section",[L.STANDARD_SECTION]:"section",[L.GROUP]:"group",[L.STANDARD_GROUP]:"group",[L.COLUMN]:"column",[L.STANDARD_COLUMN]:"column",[L.NAVBAR_LINK]:"unset",[L.STANDARD_NAVBAR_LINK]:"unset",[L.SOCIAL_ELEMENT]:"unset",[L.STANDARD_SOCIAL_ELEMENT]:"unset",[L.MERGETAG]:"inline",[L.LINE_BREAK]:"inline",[L.HTML_NODE]:"inline",[L.STANDARD_TABLE2_TR]:"table-row",[L.STANDARD_TABLE2_TD]:"table-cell"},Up=new Set([L.TEXT,L.STANDARD_TEXT,L.STANDARD_PARAGRAPH,L.STANDARD_H1,L.STANDARD_H2,L.STANDARD_H3,L.STANDARD_H4,L.BUTTON,L.STANDARD_BUTTON,L.IMAGE,L.STANDARD_IMAGE,L.DIVIDER,L.STANDARD_DIVIDER,L.SPACER,L.STANDARD_SPACER,L.NAVBAR,L.STANDARD_NAVBAR,L.SOCIAL,L.STANDARD_SOCIAL,L.TABLE,L.STANDARD_TABLE,L.STANDARD_TABLE2,L.STANDARD_TEXT_LIST,L.STANDARD_TEXT_LIST_ITEM,L.STANDARD_BLOCK_QUOTE,L.DANGEROUS_CODE,L.HTML_BLOCK_NODE,L.HTML_DOM_NODE,L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET,L.RAW]);function Fe(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}function qr(e){return Fe(e)&&"text"in e&&!("type"in e)}function Dt(e){var t;return qr(e)?X(q({},e),{text:typeof e.text=="string"?e.text:String((t=e.text)!=null?t:"")}):Fe(e)&&typeof e.type=="string"?X(q({},e),{data:Fe(e.data)?e.data:{},attributes:Fe(e.attributes)?e.attributes:{},children:Array.isArray(e.children)?e.children.map(Dt):[]}):e}function ir(e){return Up.has(e)?"content":Mp[e]||null}function Bl(e,t){if(qr(e))return typeof e.text=="string"?[]:[{path:`${t.path}.text`,code:"invalid_text",message:"Text node text must be a string"}];if(!Fe(e))return[{path:t.path,code:"invalid_element",message:"Easy Email node must be an object"}];const r=[],n=e.type;if(typeof n!="string")return r.push({path:`${t.path}.type`,code:"missing_field",message:"Easy Email element type is required"}),r;if(!Pp.has(n))return r.push({path:`${t.path}.type`,code:"unknown_type",message:`Unknown Easy Email element type: ${n}`}),r;(function(o,s){if(!s)return o===L.PAGE;const l=ir(o),c=ir(s);return!(!l||!c||(l==="wrapper"?c!=="page":l==="section"?c!=="page"&&c!=="wrapper":l==="group"?c!=="section":l==="column"?c!=="section"&&c!=="group":l==="content"?c!=="column"&&c!=="hero"&&c!=="content":l==="inline"?c!=="content":l==="unset"?(o!==L.NAVBAR_LINK&&o!==L.STANDARD_NAVBAR_LINK||s!==L.NAVBAR&&s!==L.STANDARD_NAVBAR)&&(o!==L.SOCIAL_ELEMENT&&o!==L.STANDARD_SOCIAL_ELEMENT||s!==L.SOCIAL&&s!==L.STANDARD_SOCIAL):l==="table-row"?s!==L.STANDARD_TABLE2:l!=="table-cell"||s!==L.STANDARD_TABLE2_TR))})(n,t.parentType)||r.push({path:t.path,code:"invalid_parent",message:t.parentType?`${n} cannot be a child of ${t.parentType}`:`${n} cannot be used as the root element`}),Fe(e.data)||r.push({path:`${t.path}.data`,code:"missing_field",message:`${n}.data must be an object`}),Fe(e.attributes)||r.push({path:`${t.path}.attributes`,code:"missing_field",message:`${n}.attributes must be an object`});const i=t.ids||new Set,a=t.uids||new Set;return typeof e.id=="string"&&e.id&&(i.has(e.id)&&r.push({path:`${t.path}.id`,code:"duplicate_id",message:`Duplicate Easy Email element id: ${e.id}`}),i.add(e.id)),typeof e.uid=="string"&&e.uid&&(a.has(e.uid)&&r.push({path:`${t.path}.uid`,code:"duplicate_uid",message:`Duplicate Easy Email element uid: ${e.uid}`}),a.add(e.uid)),Array.isArray(e.children)?(e.children.forEach((o,s)=>{r.push(...Bl(o,{path:`${t.path}.children.${s}`,parentType:n,ids:i,uids:a}))}),r):(r.push({path:`${t.path}.children`,code:"missing_field",message:`${n}.children must be an array`}),r)}function Fp(e){return function(t,r={}){const n=Bl(t,{path:r.path||"content",parentType:r.parentType,ids:new Set,uids:new Set});return{valid:n.length===0,errors:n}}(Fe(e)&&"content"in e?e.content:e,{path:"content"})}function Cl(e){if(qr(e))return[Dt(e)];if(!Fe(e)||typeof e.type!="string")return[];const t=Dt(e);if(!Fe(t)||typeof t.type!="string")return[];const r=ir(t.type);return r==="content"||r==="inline"?[Pr(t,L.COLUMN)]:Array.isArray(t.children)?t.children.flatMap(Cl):[]}function Pr(e,t){if(qr(e))return Dt(e);const r=Dt(e);if(!Fe(r)||typeof r.type!="string")return r;const n=(Array.isArray(r.children)?r.children:[]).flatMap(i=>{const a=Fe(i)&&typeof i.type=="string"?i.type:null,o=a?ir(a):null,s=ir(r.type);return(r.type!==L.COLUMN&&r.type!==L.STANDARD_COLUMN||o!=="section"&&o!=="group"&&o!=="column")&&(s!=="content"||o!=="wrapper"&&o!=="section"&&o!=="group"&&o!=="column")?[Pr(i,r.type)]:Cl(i)});return X(q({},r),{children:n})}function Il(e){const t=function(r){return Fe(r)?"content"in r?X(q({},r),{content:Dt(r.content)}):Dt(r):r}(e);return Fe(t)?"content"in t?X(q({},t),{content:Pr(t.content)}):Pr(t):t}const jp={type:"json_schema",name:"easy_email_ask_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["answer"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"string"},summary:{type:"null"},confidence:{type:"null"},decision:{type:"null"},toolCallsJson:{type:"null"},image:{type:"null"}}}}}},zp={type:"json_schema",name:"easy_email_action_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["decision_request","tool_calls","image"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"null"},summary:{type:["string","null"]},confidence:{type:["string","null"],enum:["high","ambiguous","low",null]},decision:{type:["object","null"],additionalProperties:!1,required:["id","kind","title","message","choices","allowCustom","required"],properties:{id:{type:"string"},kind:{type:"string",enum:["style_direction","target_block","missing_detail"]},title:{type:"string"},message:{type:"string"},allowCustom:{type:"boolean"},required:{type:"boolean"},choices:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}}}},toolCallsJson:{type:["string","null"]},image:{type:["object","null"],additionalProperties:!1,required:["action","prompt","size","target","confidence","candidates","imageIntent"],properties:{action:{type:"string",enum:["generate","edit"]},prompt:{type:"string"},size:{type:"string",enum:["auto","1024x1024","1536x1024","1024x1536"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},confidence:{type:"string",enum:["high","ambiguous","low"]},candidates:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}},imageIntent:{type:"string",enum:["replace","insert","attach"]}}}}}}}},Hp={type:"json_schema",name:"easy_email_reference_rewrite_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["tool_calls"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","templateJson","image"],properties:{answer:{type:"null"},summary:{type:"string"},confidence:{type:"string",enum:["high"]},decision:{type:"null"},toolCallsJson:{type:"null"},templateJson:{type:"string",description:"A JSON object string that starts with { and parses to a complete Easy Email template."},image:{type:"null"}}}}}},Vp={type:"json_schema",name:"easy_email_intent_router_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["intent","confidence","reason"],properties:{intent:{type:"string",enum:["ask","action","reference_rewrite"]},confidence:{type:"string",enum:["high","low"]},reason:{type:"string"}}}};function $p(e){if(!e||typeof e!="object")return null;const t=e;return{currentSnapshotId:typeof t.currentSnapshotId=="string"?t.currentSnapshotId:null,snapshots:Array.isArray(t.snapshots)?t.snapshots.slice(-20).map(r=>({id:r.id,title:r.title,summary:r.summary,createdAt:r.createdAt})):[],messages:Array.isArray(t.messages)?t.messages.slice(-16).map(r=>({role:r.role,content:r.content,status:r.status,createdAt:r.createdAt,attachments:Array.isArray(r.attachments)?r.attachments.map(n=>{const i=n;return{type:i.type,name:i.name,mimeType:i.mimeType}}):[]})):[]}}function Gp(e){if(!e||typeof e!="object")return!1;const t=e.messages;return!!Array.isArray(t)&&t.some(r=>{if(!r||typeof r!="object"||r.role!=="user")return!1;const n=r.attachments;return Array.isArray(n)&&n.some(i=>{if(!i||typeof i!="object")return!1;const a=i,o=typeof a.type=="string"?a.type:"",s=typeof a.mimeType=="string"?a.mimeType:"";return o==="image"||s.startsWith("image/")})})}function Wp(e){if(!e||typeof e!="object")return[];const t=e.messages;if(!Array.isArray(t))return[];const r=[];for(const n of t.slice(-8)){if(!n||typeof n!="object"||n.role!=="user")continue;const i=n.attachments;if(Array.isArray(i))for(const a of i){if(!a||typeof a!="object")continue;const o=a,s=typeof o.url=="string"?o.url:void 0,l=typeof o.dataUrl=="string"?o.dataUrl:void 0,c=typeof o.mimeType=="string"?o.mimeType:void 0,y=typeof o.type=="string"?o.type:"";(s||l)&&(y==="image"||c?.startsWith("image/"))&&r.push({id:typeof o.id=="string"?o.id:void 0,name:typeof o.name=="string"?o.name:"reference-image",mimeType:c||"image/png",url:s,dataUrl:l,size:typeof o.size=="number"?o.size:void 0})}}return r}function Kp(e){const t=new Set;return e.filter(r=>{const n=r.url||r.dataUrl||r.id||r.name;return!!n&&!t.has(n)&&(t.add(n),!0)})}function Xp(e){var t,r,n;const i=(r=(t=e.prompt)==null?void 0:t.text)==null?void 0:r.trim();if(!i)throw new Error("prompt.text is required");return{body:e,text:i,images:Kp([...(n=e.images)!=null?n:[],...Wp(e.history)]).slice(0,6)}}function Jp(e){return{input:[{role:"user",content:[{type:"input_text",text:(t={text:e.text,imageCount:e.images.length,history:e.body.history},["Route the latest Easy Email AI request.","Return ask only when the user is asking a question, asking for analysis, or discussing strategy without asking you to change the email now.","Return action when the user wants the email, text, layout, styles, links, blocks, or image assets changed, even if the requested change is broad or lacks details.","Return reference_rewrite only when the user explicitly asks to replace, rebuild, recreate, or rewrite the whole email/template from uploaded or previous reference image(s).","If the request is unclear but could require changing the email, return action so the planner can ask a decision question.","",`Reference image count: ${t.imageCount}`,"History has user image attachment: "+(Gp(t.history)?"yes":"no"),"","Latest user message:",t.text].join(`
108
+ `))}generateVariable(t,r){return r?`{{ ${t}| default: "${ct.encode(r)}" }}`:`{{ ${t} }}`}isVariable(t){return yp.test(t)}renderWithData(t,r){const n=new Fi;n.plugin(function(){this.registerFilter("title_case",a=>_u(a)),this.registerFilter("chunk",(a,o=1)=>fu(a,o)),this.registerFilter("arr_filter",(a,o,...s)=>a?a.filter(l=>s.includes(l[o])):null),this.registerFilter("arr_filter_sort",(a,o,...s)=>a&&s?s.map(l=>a.find(c=>re(c,o)===l)).filter(Boolean):null),this.registerFilter("arr_slice",(a,o,s)=>a?a.slice(o,s):null),this.registerFilter("date",a=>ed(a).format("MMM DD, YY")),this.registerFilter("money",a=>{const o=re(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a).toFixed(2)}):a}),this.registerFilter("money_with_currency",a=>{const o=re(r,"shop.money_with_currency_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a).toFixed(2)}):a}),this.registerFilter("money_without_currency",a=>Number(a).toFixed(2)),this.registerFilter("money_without_trailing_zeros",a=>{const o=re(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a)}):a}),this.registerFilter("img_url",a=>re(a,"image")||re(a,"src")||""),this.registerFilter("format_address",a=>a),this.registerFilter("payment_type_img_url",a=>a)});const i=n.parse(t);return n.renderSync(i,r)}}function vp(e){const{desktop:t,mobile:r}=e,n=Qt(),{displayMode:i="desktop-mobile"}=n;return i==="only-desktop"?O.createElement(Ye,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(t,null))):i==="only-mobile"?O.createElement(O.Fragment,null,n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Ye,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->")):O.createElement(O.Fragment,null,O.createElement(Ye,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(t,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Ye,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(He,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->"))}const pl="hide-desktop-block",hl="hide-mobile-block",_l="hide-desktop-inline-block",fl="hide-mobile-inline-block",gl=[L.GROUP,L.COLUMN,L.NAVBAR_LINK];class ml extends Er{constructor(){super(...arguments),ae(this,"generateResponsive",t=>{const{mode:r,displayMode:n,node:i,keepEmptyAttributes:a,mergetagsData:o={},children:s,context:l,idx:c,outputFormat:y}=t,v=ee.getBlockByType(i.type);if(!v)throw new Error(`${i.type} block is not registered`);const k=i.mobileAttributes&&Object.keys(i.mobileAttributes).some(d=>i.mobileAttributes[d]!==void 0&&i.mobileAttributes[d]!==i.attributes[d]),w=gl.includes(v.type)?_l:pl,x=gl.includes(v.type)?fl:hl,b=re(i,"attributes.css-class")||"";if(n==="only-desktop"){if(i.visible==="mobile"||b.includes(w))return null;b.includes(x)||qe(i,"attributes.css-class",gt(b,x))}else if(n==="only-mobile"){if(b.includes(x))return null;b.includes(w)||qe(i,"attributes.css-class",gt(b,w))}const u=q({},v.defaultData.attributes);if(u&&(re(i.attributes,"padding","").trim()&&(delete u.padding,delete u["padding-top"],delete u["padding-bottom"],delete u["padding-left"],delete u["padding-right"]),re(i.attributes,"inner-padding","").trim()&&(delete u["inner-padding"],delete u["inner-padding-top"],delete u["inner-padding-bottom"],delete u["inner-padding-left"],delete u["inner-padding-right"])),n==="only-mobile"){if(i.visible==="desktop")return null;i.attributes=Y(Y(u),i.attributes)}else i.attributes=Y(u,i.attributes);i.visible==="desktop"?qe(i,"attributes.css-class",gt(b,x)):i.visible==="mobile"&&qe(i,"attributes.css-class",gt(b,w)),i.visible;const m=i.visible==="desktop"?null:v.render({mode:r,children:s,context:l,idx:c,node:X(q({},i),{attributes:Y(i.attributes,i.mobileAttributes),mobileAttributes:void 0}),keepEmptyAttributes:a,mergetagsData:o,displayMode:n,outputFormat:y}),E=v.render(X(q({},t),{mode:r,children:s,context:l,idx:c,node:i,keepEmptyAttributes:a,mergetagsData:o}));let S=E;return k&&(S=O.createElement(O.Fragment,null,O.createElement(vp,{desktop:()=>O.createElement(O.Fragment,null,E),mobile:()=>O.createElement(O.Fragment,null,m)}))),S})}}const Pe={Text:{align:"enum(left,right,center,justify)","background-color":"color",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)"},Section:{"background-color":"color","background-url":"string","background-repeat":"enum(repeat,no-repeat)","background-size":"string","background-position":"string","background-position-x":"string","background-position-y":"string",border:"string","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","full-width":"enum(full-width,false,)",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","text-align":"enum(left,center,right)"},Column:{"background-color":"color",border:"string","border-bottom":"string","border-left":"string","border-radius":"unit(px,%){1,4}","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","inner-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","inner-border":"string","inner-border-bottom":"string","inner-border-left":"string","inner-border-radius":"unit(px,%){1,4}","inner-border-right":"string","inner-border-top":"string",padding:"unit(px,%){1,4}","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Button:{align:"enum(left,center,right)","background-color":"color","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",border:"string",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)",href:"string",name:"string",title:"string","inner-padding":"unit(px,%){1,4}","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",rel:"string",target:"string","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)","text-align":"enum(left,right,center)",width:"unit(px,%)"},Divider:{"border-color":"color","border-style":"string","border-width":"unit(px)","container-background-color":"color",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",width:"unit(px,%)",align:"enum(left,center,right)"},Group:{"background-color":"color",direction:"enum(ltr,rtl)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Hero:{mode:"string",height:"unit(px,%)","background-url":"string","background-width":"unit(px,%)","background-height":"unit(px,%)","background-position":"string","border-radius":"string","container-background-color":"color","inner-background-color":"color","inner-padding":"unit(px,%){1,4}","inner-padding-top":"unit(px,%)","inner-padding-left":"unit(px,%)","inner-padding-right":"unit(px,%)","inner-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","background-color":"color","vertical-align":"enum(top,bottom,middle)"},Image:{alt:"string",href:"string",name:"string",src:"string",srcset:"string",sizes:"string",title:"string",rel:"string",align:"enum(left,center,right)",border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","border-radius":"unit(px,%){1,4}","container-background-color":"color","fluid-on-mobile":"boolean",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",target:"string",width:"unit(px)",height:"unit(px,auto)","max-height":"unit(px,%)","font-size":"unit(px)",usemap:"string"},Navbar:{align:"enum(left,center,right)","base-url":"string",hamburger:"string","container-background-color":"color","ico-align":"enum(left,center,right)","ico-open":"string","ico-close":"string","ico-color":"color","ico-font-size":"unit(px,%)","ico-font-family":"string","ico-text-transform":"string","ico-padding":"unit(px,%){1,4}","ico-padding-left":"unit(px,%)","ico-padding-top":"unit(px,%)","ico-padding-right":"unit(px,%)","ico-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-left":"unit(px,%)","padding-top":"unit(px,%)","padding-right":"unit(px,%)","padding-bottom":"unit(px,%)","ico-text-decoration":"string","ico-line-height":"unit(px,%,)"},NavbarLink:{color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string",name:"string",target:"string",rel:"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string"},Social:{align:"enum(left,right,center)","border-radius":"unit(px,%)","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","inner-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",mode:"enum(horizontal,vertical)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","table-layout":"enum(auto,fixed)","text-padding":"unit(px,%){1,4}","text-decoration":"string","vertical-align":"enum(top,bottom,middle)"},SocialElement:{align:"enum(left,center,right)","background-color":"color",color:"color","border-radius":"unit(px)","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",name:"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-padding":"unit(px,%){1,4}",rel:"string",src:"string",srcset:"string",sizes:"string",alt:"string",title:"string",target:"string","text-decoration":"string","vertical-align":"enum(top,middle,bottom)"},Spacer:{border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","container-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",height:"unit(px,%)"},Raw:{},Table:{align:"enum(left,right,center)",border:"string",cellpadding:"integer",cellspacing:"integer","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-weight":"string","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",role:"enum(none,presentation)","table-layout":"enum(auto,fixed,initial,inherit)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}},wp=["mj-class","css-class"],bl=(e,t)=>{switch(e.type){case L.TEXT:return Me(e.attributes,Pe.Text);case L.WRAPPER:case L.SECTION:return Me(e.attributes,Pe.Section);case L.COLUMN:return Me(e.attributes,Pe.Column);case L.BUTTON:return Me(e.attributes,Pe.Button);case L.DIVIDER:return Me(e.attributes,Pe.Divider);case L.GROUP:return Me(e.attributes,Pe.Group);case L.HERO:return Me(e.attributes,Pe.Hero);case L.IMAGE:return Me(e.attributes,Pe.Image);case L.NAVBAR:return Me(e.attributes,Pe.Navbar);case L.NAVBAR_LINK:return Me(e.attributes,Pe.NavbarLink);case L.SOCIAL:return Me(e.attributes,Pe.Social);case L.SOCIAL_ELEMENT:return Me(e.attributes,Pe.SocialElement);case L.SPACER:return Me(e.attributes,Pe.Spacer);case L.RAW:return t==="production"?ot(Me(e.attributes,Pe.Raw),"css-class"):e.attributes}return e.attributes},Me=(e,t)=>or(e,(r,n)=>!!wp.includes(n)||Object.keys(t).includes(n)),xp=["padding","mode"];function yl(e,t){var r,n;const{node:i}=e,a=(r=t?.keepEmptyAttributes)!=null&&r,o=(n=t?.removeDefaultAttributes)!=null&&n,s=q({},bl(i,t?.mode)),l=ee.getBlockByType(i.type).defaultData.attributes;let c="";for(const y in s){const v=y;let k=s[v];et(k)&&(k=k?.trim());const w=Object.values(K).includes(i.type);(!o||!w||l[v]!==k||xp.includes(v))&&et(k)&&(k=k.trim(),a||k)&&(c+=`${y}="${k.replace(/"/gm,"").trim()}"`+" ")}return c}const vl=e=>{const t=Array.from(e.childNodes).filter(o=>o.nodeType!==Node.COMMENT_NODE);if(!t.some(o=>o.nodeType===Node.ELEMENT_NODE&&wl({item:o})))return t;const r=[],n=function(o){const s=[];let l=null;const c=Array.from(o.childNodes).filter(y=>y.nodeType!==Node.COMMENT_NODE);for(const y of c){let v="inline";y.nodeType===Node.ELEMENT_NODE&&wl({item:y})&&(v="block"),l&&l.display===v||(l={display:v,children:[]},s.push(l)),l.children.push(y)}return s}(e),i=[];n.forEach(o=>{if(o.display==="inline"){const s=document.createElement("div");o.children.forEach(l=>{var c;(c=l.textContent)!=null&&c.trim()&&s.appendChild(l)}),s.childNodes.length>0&&i.push(s)}else i.push(...o.children)}),i.forEach((o,s)=>{o instanceof HTMLBRElement&&(i[s-1]instanceof HTMLBRElement||r.push(s))}),r.reverse().forEach(o=>{i.splice(o,1)});const a=document.createElement("div");return a.replaceChildren(...i.map(o=>o.cloneNode(!0))),Array.from(a.childNodes)},wl=({item:e})=>e instanceof Element&&Mn.includes(e.tagName.toLowerCase()),nr=e=>{const t=document.createElement("div");return t.innerHTML=e,vl(t).map(r=>xl(r))},xl=e=>{var t,r,n,i;if(e.nodeType===Node.TEXT_NODE){let a=e.textContent||"";return((t=e.parentElement)==null?void 0:t.childNodes.length)===1&&e.parentElement.textContent===e.textContent&&(a=e.parentElement.innerHTML.replace(/&nbsp;/gi," ")||""),a=a?.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,"")||"",e.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),((r=e.parentElement)==null?void 0:r.childNodes.length)===1&&(((n=e.parentElement)==null?void 0:n.previousSibling)instanceof HTMLBRElement||((i=e.parentElement)==null?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const a={};e.getAttributeNames().forEach(c=>{let y=ea(c);y==="class"&&(y="className"),a[y]=e.getAttribute(c)||""});const o=e.tagName.toLowerCase();if(o==="img")return ee.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:"img"},children:[{text:""}]});if(o==="a"&&e.children.length===0&&e.childNodes.length===1)return{text:(e.textContent||"").trim(),link:{href:e.getAttribute("href")||"",blank:e.getAttribute("target")==="_blank"}};let s=vl(e).map(c=>xl(c));s.length===0&&s.push({text:""});const l=s[0];return o==="div"&&s.length===1&&te.isTextNode(l)&&l.text==="&nbsp;"&&(s=[{text:""}]),Mn.includes(o)?ee.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:a,data:{tagName:o},children:s}):ee.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:o},children:s})}throw console.log("Invalid Node",e),new Error("Invalid node")},Ep={text:L.STANDARD_PARAGRAPH,button:L.STANDARD_BUTTON,image:L.STANDARD_IMAGE,divider:L.STANDARD_DIVIDER,spacer:L.STANDARD_SPACER,social:L.STANDARD_SOCIAL,navbar:L.STANDARD_NAVBAR,wrapper:L.STANDARD_WRAPPER,section:L.STANDARD_SECTION,group:L.STANDARD_GROUP,column:L.STANDARD_COLUMN,advanced_text:L.STANDARD_TEXT,advanced_button:L.STANDARD_BUTTON,advanced_image:L.STANDARD_IMAGE,advanced_divider:L.STANDARD_DIVIDER,advanced_hero:L.STANDARD_HERO,advanced_spacer:L.STANDARD_SPACER,advanced_social:L.STANDARD_SOCIAL,advanced_navbar:L.STANDARD_NAVBAR,advanced_wrapper:L.STANDARD_WRAPPER,advanced_section:L.STANDARD_SECTION,advanced_group:L.STANDARD_GROUP,advanced_column:L.STANDARD_COLUMN},kp=e=>{const t=Te(e),r={},n={[z.TEXT]:{}};return t.data.value["font-family"]&&(r["font-family"]=t.data.value["font-family"]),t.data.value["font-size"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-size":t.data.value["font-size"]})),t.data.value["line-height"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"line-height":t.data.value["line-height"]})),t.data.value["font-weight"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-weight":t.data.value["font-weight"]})),t.data.value["text-color"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{color:t.data.value["text-color"]})),t.data.value["font-weight"]&&(r["font-weight"]=t.data.value["font-weight"]),ee.getBlockByType(L.PAGE).create({attributes:{width:t.attributes.width,"background-color":t.attributes["background-color"],"content-background-color":t.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:t.data.value.breakpoint,headStyles:t.data.value.headStyles,fonts:t.data.value.fonts},children:t.children.map(i=>El(i,e))})},El=(e,t)=>{var r,n,i,a;let o,s,l=e.children.map(w=>El(w,e));e.data.value.content&&(l=nr(e.data.value.content)),(e.type==="navbar"||e.type==="advanced_navbar")&&(l=e.data.value.links.map(w=>{const x=nr(w.content);return ee.getBlockByType(L.STANDARD_NAVBAR_LINK).create({attributes:q({},ot(w,"content")),children:x.length===0?[{text:""}]:x})})),(e.type==="social"||e.type==="advanced_social")&&(l=e.data.value.elements.map(w=>{const x=nr(w.content);return ee.getBlockByType(L.STANDARD_SOCIAL_ELEMENT).create({attributes:q({},ot(w,"content")),children:x.length===0?[{text:""}]:x})})),l.length===0&&(l=[{text:""}]),e.displayMode==="desktop"?o="desktop":e.displayMode==="mobile"&&(o="mobile"),(r=e.data.value)!=null&&r.condition&&(s||(s={}),s.condition=(n=e.data.value)==null?void 0:n.condition),(i=e.data.value)!=null&&i.iteration&&(s||(s={}),s.iteration=(a=e.data.value)==null?void 0:a.iteration);const c={type:Ep[e.type]||e.type,attributes:or(e.attributes,w=>!jr(w)&&w.trim()!==""),mobileAttributes:e.mobileAttributes?or(e.mobileAttributes,w=>!jr(w)&&w.trim()!==""):void 0,data:ot(e.data.value,"content"),children:l,visible:o,logic:s},y=re(c.attributes,"padding"),v=re(c.attributes,"inner-padding");if(y){const w=document.createElement("div");w.style.setProperty("padding",y),qe(c.attributes,"padding-top",w.style.paddingTop),qe(c.attributes,"padding-bottom",w.style.paddingBottom),qe(c.attributes,"padding-left",w.style.paddingLeft),qe(c.attributes,"padding-right",w.style.paddingRight)}if(v){const w=document.createElement("div");w.style.setProperty("padding",v),qe(c.attributes,"inner-padding-top",w.style.paddingTop),qe(c.attributes,"inner-padding-bottom",w.style.paddingBottom),qe(c.attributes,"inner-padding-left",w.style.paddingLeft),qe(c.attributes,"inner-padding-right",w.style.paddingRight)}if([L.STANDARD_HERO,L.STANDARD_SECTION].includes(c.type)&&(c.attributes["background-image-enabled"]=!0),[L.STANDARD_BUTTON,L.STANDARD_IMAGE,L.STANDARD_SECTION].includes(c.type)){const w=document.createElement("div");w.style.setProperty("border",c.attributes.border),(c.attributes.border&&c.attributes.border.trim()!=="none"||c.attributes["border-width"])&&(c.attributes["border-width"]=w.style.getPropertyValue("border-width"),c.attributes["border-style"]=w.style.getPropertyValue("border-style"),c.attributes["border-color"]=w.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const k=or(c,gu);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(e.type)&&t&&!t.type.includes("column")?ee.getBlockByType(L.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[ee.getBlockByType(L.STANDARD_COLUMN).create({children:[k]})]}):k},kl=e=>{if(e.attributes.padding){const t=document.createElement("div");t.style.padding=re(e.attributes,"padding"),re(e.attributes,"padding-top")&&(t.style.paddingTop=re(e.attributes,"padding-top")),re(e.attributes,"padding-bottom")&&(t.style.paddingTop=re(e.attributes,"padding-bottom")),re(e.attributes,"padding-left")&&(t.style.paddingTop=re(e.attributes,"padding-left")),re(e.attributes,"padding-right")&&(t.style.paddingTop=re(e.attributes,"padding-right")),delete e.attributes.padding,e.attributes["padding-top"]=t.style.paddingTop,e.attributes["padding-bottom"]=t.style.paddingBottom,e.attributes["padding-left"]=t.style.paddingLeft,e.attributes["padding-right"]=t.style.paddingRight}if(e.attributes["inner-padding"]){const t=document.createElement("div");t.style.padding=re(e.attributes,"inner-padding"),re(e.attributes,"inner-padding-top")&&(t.style.paddingTop=re(e.attributes,"inner-padding-top")),re(e.attributes,"inner-padding-bottom")&&(t.style.paddingTop=re(e.attributes,"inner-padding-bottom")),re(e.attributes,"inner-padding-left")&&(t.style.paddingTop=re(e.attributes,"inner-padding-left")),re(e.attributes,"inner-padding-right")&&(t.style.paddingTop=re(e.attributes,"inner-padding-right")),delete e.attributes["inner-padding"],e.attributes["inner-padding-top"]=t.style.paddingTop,e.attributes["inner-padding-bottom"]=t.style.paddingBottom,e.attributes["inner-padding-left"]=t.style.paddingLeft,e.attributes["inner-padding-right"]=t.style.paddingRight}return e},Ap=e=>{const{content:t,mjmlHelper:r}=e;if(!et(t))return Al(t);const n=new DOMParser().parseFromString(t,"text/xml").firstChild;if(n.tagName!=="mjml")throw new Error("mjmlToJson: invalid mjml. First node must be mjml");if(n.tagName==="mjml"){const{json:a}=r(t,{validationLevel:"soft"});return Al(a)}const i=a=>{if(a.tagName==="parsererror")throw new Error("Invalid content");const o={};a.getAttributeNames().forEach(c=>{const y=a.getAttribute(c);et(y)&&(o[c]=y)});const s=a.tagName.replace("mj-","");if(!(ee.getBlockByType(s)||a.parentElement&&a.parentElement.tagName==="mj-text"))throw new Error("Invalid content");const l={type:s,attributes:o,data:{},children:[...a.children].filter(c=>c instanceof Element).map(i)};return s===L.TEXT&&(l.data.value.content=a.innerHTML,l.children=[]),l};return i(n)};function Al(e){const t=r=>{var n,i,a,o,s,l,c,y,v,k;const w=r.attributes;if(r.tagName==="mjml"){const x=(n=r.children)==null?void 0:n.find(g=>g.tagName==="mj-body");if(!x)throw new Error("Invalid content");const b=(i=r.children)==null?void 0:i.find(g=>g.tagName==="mj-head"),u=((a=b?.children)==null?void 0:a.filter(g=>g.tagName==="mj-font").map(g=>({name:g.attributes.name,href:g.attributes.href})))||[],m=(o=b?.children)==null?void 0:o.filter(g=>g.tagName==="mj-style").map(g=>({content:g.content||"",inline:g.inline})),E=(s=b?.children)==null?void 0:s.find(g=>g.tagName==="mj-breakpoint"),S=(l=b?.children)==null?void 0:l.find(g=>g.tagName==="mj-preview"),d=ee.getBlockByType(L.PAGE).create({attributes:q({"margin-top":"0px","margin-bottom":"0px"},x.attributes),children:(c=x.children)==null?void 0:c.map(t),data:{headStyles:m,fonts:u,breakpoint:E?.attributes.breakpoint,preheader:S?.content}});return(((v=(y=b?.children)==null?void 0:y.find(g=>g.tagName==="mj-attributes"))==null?void 0:v.children)||[]).forEach(g=>{if((g=kl(g)).tagName==="mj-all")d.data.globalAttributes=q(q({},d.data.globalAttributes),g.attributes);else if(g.tagName==="mj-class"){const _=g.attributes.name;delete g.attributes.name,d.data.classAttributes=X(q({},d.data.classAttributes),{[_]:g.attributes})}else d.data.categoryAttributes=X(q({},d.data.categoryAttributes),{[g.tagName.replace("mj-","")]:g.attributes})}),d}{const x=r.tagName.replace("mj-","").toLowerCase(),b=ee.getBlockByType(x);if(!b)throw new Error(`${x} block no found `);x==="social"&&(k=r.children)!=null&&k.every(m=>!(m.tagName!=="mj-social-element"||re(m,"attributes.padding")||re(m,"attributes.padding-left")||re(m,"attributes.padding-right")||re(m,"attributes.padding-top")||re(m,"attributes.padding-bottom")))&&(w.spacing="8px"),x==="social-element"&&w.src&&(w.mode="custom");const u={type:b.type,attributes:w,data:{},children:[]};switch(b.type){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:u.children=nr(r.content||"");break;case L.TABLE:u.data.code=r.content||"";break;default:r.children&&(u.children=r.children.map(t))}return u.children.length===0&&(u.children=[{text:""}]),function(m){const E="standard-"+m.type;switch(m.type){case L.WRAPPER:case L.HERO:case L.SECTION:case L.GROUP:case L.COLUMN:case L.TEXT:case L.BUTTON:case L.IMAGE:case L.NAVBAR:case L.SOCIAL:case L.DIVIDER:case L.SPACER:case L.SOCIAL_ELEMENT:case L.NAVBAR_LINK:case L.TABLE:const S=q({},m);return[L.HERO,L.SECTION].includes(m.type)&&(S.attributes["background-image-enabled"]=!0),[L.BUTTON,L.IMAGE,L.SECTION].includes(m.type)&&(S.attributes.border&&S.attributes.border.trim()!=="none"||S.attributes["border-width"])&&(S.attributes["border-enabled"]=!0),X(q({},kl(m)),{type:E})}return m}(b.create(u))}};return t(e)}const Tp=()=>{var e,t,r,n,i;const{element:a}=ui(),{context:o}=Qt(),s=o.content;let l=parseFloat(((e=s.attributes)==null?void 0:e.width)||"600");return a&&te.isColumnElement(a)&&(l=(r=(t=a.attributes)==null?void 0:t.width)!=null&&r.includes("%")?l*parseFloat(((n=a.attributes)==null?void 0:n.width)||"0")/100:parseFloat(((i=a.attributes)==null?void 0:i.width)||"600")),{containerWidth:l}},Cr={id:"__easy_email_ai_agent_no_initial_selection__"};function Oi(e){return"selected"in e&&e.selected===!0}function Dp(e){return X(q({},e),{toolCalls:Array.isArray(e.toolCalls)?e.toolCalls:Array.isArray(e.tool_calls)?e.tool_calls:[],fallbackTemplate:e.fallbackTemplate===void 0?e.fallback_template:e.fallbackTemplate})}function Sp(e,t){const r=t||Cr;return e.map(n=>"target"in n&&Oi(n.target)?X(q({},n),{target:r}):n)}const Tl="AI_AGENT";function Dl(){if(!Xe.getFeatureEnabled(Tl))throw new Error("Current plan do not support AI Agent")}function Sl(e){return Le(this,null,function*(){const t=yield e.text().catch(()=>"");if(!t)return`${e.status} ${e.statusText}`;try{const r=JSON.parse(t);if(typeof r.error=="string")return r.error;if(typeof r.message=="string")return r.message}catch{}return t})}function Li(e){let t="";const r=[];e.split(/\r?\n/).forEach(i=>{i&&!i.startsWith(":")&&(i.startsWith("event:")?t=i.slice(6).trim():i.startsWith("data:")&&r.push(i.slice(5).trimStart()))});const n=r.join(`
109
+ `);if(!n)return null;try{const i=JSON.parse(n);return!i.type&&t&&(i.type=t),i}catch{return null}}function Bi(e,t){return Le(this,null,function*(){const r=e.getReader(),n=new TextDecoder;let i="";const a=[];for(;;){const{done:s,value:l}=yield r.read();if(s)break;i+=n.decode(l,{stream:!0});const c=i.split(/\n\n|\r\n\r\n/);i=c.pop()||"";for(const y of c){const v=Li(y);v&&(a.push(v),t?.(v))}}i+=n.decode();const o=Li(i);return o&&(a.push(o),t?.(o)),a})}function Np(e,t){return Le(this,null,function*(){if(Dl(),!e)throw new Error("onChat did not return a result");if(r=e,typeof Response<"u"&&r instanceof Response){if(!e.ok)throw new Error(yield Sl(e));if(!e.body)throw new Error("Streaming response body is empty");return Bi(e.body,t)}var r;return function(n){return typeof ReadableStream<"u"&&n instanceof ReadableStream}(e)?Bi(e,t):(t&&e.forEach(t),e)})}function Rp(e){const t=e?.selected;return t?t.id?{id:t.id}:t.uid?{uid:t.uid}:null:null}function Nl(e){return e==="standard-image"||e==="image"}function Ir(e,t){return!!e&&(!("id"in e)||e.id!==Cr.id)&&Nl("type"in e?e.type:t)}function Op(e,t){return t?"id"in t&&t.id===Cr.id?null:"selected"in t?Ir(e.selectedTarget,e.selectedType)?e.selectedTarget:null:"type"in t&&!Nl(t.type)?null:t:Ir(e.selectedTarget,e.selectedType)?e.selectedTarget:null}function Rl(e,t){return!!e&&!("type"in e)&&(t==="high"||"id"in e||"uid"in e||"selected"in e)}function Ol(e,t){return!(!e||!t)&&("id"in e&&"id"in t?e.id===t.id:"uid"in e&&"uid"in t&&e.uid===t.uid)}function Lp(e,t,r){return!!Rl(t,r)&&!!Ir(e.selectedTarget,e.selectedType)&&!!t&&(!!Oi(t)||Ol(e.selectedTarget,t))}function Ll(e){const t=e.width&&e.height?`${e.width}x${e.height}`:"";return[e.title,t].filter(Boolean).join(" \xB7 ")||void 0}function Bp(e,t,r="Image"){var n;return(n=e.candidates)!=null&&n.length?e.candidates:(t||[]).filter(i=>i.id||i.uid).slice(0,8).map((i,a)=>({id:i.id||i.uid||`image-${a}`,label:i.title||`${r} ${a+1}`,description:Ll(i),thumbnail:i.src,value:i.attributeKey?{attributeKey:i.attributeKey}:void 0,target:i.id?{id:i.id}:i.uid?{uid:i.uid}:void 0})).filter(i=>i.target)}function Cp(e,t){if(!t)return"src";const r=(e||[]).find(n=>{if("id"in t)return n.id===t.id;if("uid"in t)return n.uid===t.uid;if("type"in t){const i=t.index||0;return(e||[]).filter(a=>a.type===t.type)[i]===n}return!1});return r?.attributeKey||"src"}function Ip(e){const t=e.value;if(!t||typeof t!="object")return"src";const r=t.attributeKey;return typeof r=="string"&&r?r:"src"}const qp=Object.values(L),Pp=new Set(qp),Mp={[L.PAGE]:"page",[L.HERO]:"hero",[L.STANDARD_HERO]:"hero",[L.WRAPPER]:"wrapper",[L.STANDARD_WRAPPER]:"wrapper",[L.SECTION]:"section",[L.STANDARD_SECTION]:"section",[L.GROUP]:"group",[L.STANDARD_GROUP]:"group",[L.COLUMN]:"column",[L.STANDARD_COLUMN]:"column",[L.NAVBAR_LINK]:"unset",[L.STANDARD_NAVBAR_LINK]:"unset",[L.SOCIAL_ELEMENT]:"unset",[L.STANDARD_SOCIAL_ELEMENT]:"unset",[L.MERGETAG]:"inline",[L.LINE_BREAK]:"inline",[L.HTML_NODE]:"inline",[L.STANDARD_TABLE2_TR]:"table-row",[L.STANDARD_TABLE2_TD]:"table-cell"},Up=new Set([L.TEXT,L.STANDARD_TEXT,L.STANDARD_PARAGRAPH,L.STANDARD_H1,L.STANDARD_H2,L.STANDARD_H3,L.STANDARD_H4,L.BUTTON,L.STANDARD_BUTTON,L.IMAGE,L.STANDARD_IMAGE,L.DIVIDER,L.STANDARD_DIVIDER,L.SPACER,L.STANDARD_SPACER,L.NAVBAR,L.STANDARD_NAVBAR,L.SOCIAL,L.STANDARD_SOCIAL,L.TABLE,L.STANDARD_TABLE,L.STANDARD_TABLE2,L.STANDARD_TEXT_LIST,L.STANDARD_TEXT_LIST_ITEM,L.STANDARD_BLOCK_QUOTE,L.DANGEROUS_CODE,L.HTML_BLOCK_NODE,L.HTML_DOM_NODE,L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET,L.RAW]);function Fe(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}function qr(e){return Fe(e)&&"text"in e&&!("type"in e)}function Dt(e){var t;return qr(e)?X(q({},e),{text:typeof e.text=="string"?e.text:String((t=e.text)!=null?t:"")}):Fe(e)&&typeof e.type=="string"?X(q({},e),{data:Fe(e.data)?e.data:{},attributes:Fe(e.attributes)?e.attributes:{},children:Array.isArray(e.children)?e.children.map(Dt):[]}):e}function ir(e){return Up.has(e)?"content":Mp[e]||null}function Bl(e,t){if(qr(e))return typeof e.text=="string"?[]:[{path:`${t.path}.text`,code:"invalid_text",message:"Text node text must be a string"}];if(!Fe(e))return[{path:t.path,code:"invalid_element",message:"Easy Email node must be an object"}];const r=[],n=e.type;if(typeof n!="string")return r.push({path:`${t.path}.type`,code:"missing_field",message:"Easy Email element type is required"}),r;if(!Pp.has(n))return r.push({path:`${t.path}.type`,code:"unknown_type",message:`Unknown Easy Email element type: ${n}`}),r;(function(o,s){if(!s)return o===L.PAGE;const l=ir(o),c=ir(s);return!(!l||!c||(l==="wrapper"?c!=="page":l==="section"?c!=="page"&&c!=="wrapper":l==="group"?c!=="section":l==="column"?c!=="section"&&c!=="group":l==="content"?c!=="column"&&c!=="hero"&&c!=="content":l==="inline"?c!=="content":l==="unset"?(o!==L.NAVBAR_LINK&&o!==L.STANDARD_NAVBAR_LINK||s!==L.NAVBAR&&s!==L.STANDARD_NAVBAR)&&(o!==L.SOCIAL_ELEMENT&&o!==L.STANDARD_SOCIAL_ELEMENT||s!==L.SOCIAL&&s!==L.STANDARD_SOCIAL):l==="table-row"?s!==L.STANDARD_TABLE2:l!=="table-cell"||s!==L.STANDARD_TABLE2_TR))})(n,t.parentType)||r.push({path:t.path,code:"invalid_parent",message:t.parentType?`${n} cannot be a child of ${t.parentType}`:`${n} cannot be used as the root element`}),Fe(e.data)||r.push({path:`${t.path}.data`,code:"missing_field",message:`${n}.data must be an object`}),Fe(e.attributes)||r.push({path:`${t.path}.attributes`,code:"missing_field",message:`${n}.attributes must be an object`});const i=t.ids||new Set,a=t.uids||new Set;return typeof e.id=="string"&&e.id&&(i.has(e.id)&&r.push({path:`${t.path}.id`,code:"duplicate_id",message:`Duplicate Easy Email element id: ${e.id}`}),i.add(e.id)),typeof e.uid=="string"&&e.uid&&(a.has(e.uid)&&r.push({path:`${t.path}.uid`,code:"duplicate_uid",message:`Duplicate Easy Email element uid: ${e.uid}`}),a.add(e.uid)),Array.isArray(e.children)?(e.children.forEach((o,s)=>{r.push(...Bl(o,{path:`${t.path}.children.${s}`,parentType:n,ids:i,uids:a}))}),r):(r.push({path:`${t.path}.children`,code:"missing_field",message:`${n}.children must be an array`}),r)}function Fp(e){return function(t,r={}){const n=Bl(t,{path:r.path||"content",parentType:r.parentType,ids:new Set,uids:new Set});return{valid:n.length===0,errors:n}}(Fe(e)&&"content"in e?e.content:e,{path:"content"})}function Cl(e){if(qr(e))return[Dt(e)];if(!Fe(e)||typeof e.type!="string")return[];const t=Dt(e);if(!Fe(t)||typeof t.type!="string")return[];const r=ir(t.type);return r==="content"||r==="inline"?[Pr(t,L.COLUMN)]:Array.isArray(t.children)?t.children.flatMap(Cl):[]}function Pr(e,t){if(qr(e))return Dt(e);const r=Dt(e);if(!Fe(r)||typeof r.type!="string")return r;const n=(Array.isArray(r.children)?r.children:[]).flatMap(i=>{const a=Fe(i)&&typeof i.type=="string"?i.type:null,o=a?ir(a):null,s=ir(r.type);return(r.type!==L.COLUMN&&r.type!==L.STANDARD_COLUMN||o!=="section"&&o!=="group"&&o!=="column")&&(s!=="content"||o!=="wrapper"&&o!=="section"&&o!=="group"&&o!=="column")?[Pr(i,r.type)]:Cl(i)});return X(q({},r),{children:n})}function Il(e){const t=function(r){return Fe(r)?"content"in r?X(q({},r),{content:Dt(r.content)}):Dt(r):r}(e);return Fe(t)?"content"in t?X(q({},t),{content:Pr(t.content)}):Pr(t):t}const jp={type:"json_schema",name:"easy_email_ask_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["answer"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"string"},summary:{type:"null"},confidence:{type:"null"},decision:{type:"null"},toolCallsJson:{type:"null"},image:{type:"null"}}}}}},zp={type:"json_schema",name:"easy_email_action_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["decision_request","tool_calls","image"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"null"},summary:{type:["string","null"]},confidence:{type:["string","null"],enum:["high","ambiguous","low",null]},decision:{type:["object","null"],additionalProperties:!1,required:["id","kind","title","message","choices","allowCustom","required"],properties:{id:{type:"string"},kind:{type:"string",enum:["style_direction","target_block","missing_detail"]},title:{type:"string"},message:{type:"string"},allowCustom:{type:"boolean"},required:{type:"boolean"},choices:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}}}},toolCallsJson:{type:["string","null"]},image:{type:["object","null"],additionalProperties:!1,required:["action","prompt","size","target","confidence","candidates","imageIntent"],properties:{action:{type:"string",enum:["generate","edit"]},prompt:{type:"string"},size:{type:"string",enum:["auto","1024x1024","1536x1024","1024x1536"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},confidence:{type:"string",enum:["high","ambiguous","low"]},candidates:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}},imageIntent:{type:"string",enum:["replace","insert","attach"]}}}}}}}},Hp={type:"json_schema",name:"easy_email_reference_rewrite_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["tool_calls"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","templateJson","image"],properties:{answer:{type:"null"},summary:{type:"string"},confidence:{type:"string",enum:["high"]},decision:{type:"null"},toolCallsJson:{type:"null"},templateJson:{type:"string",description:"A JSON object string that starts with { and parses to a complete Easy Email template."},image:{type:"null"}}}}}},Vp={type:"json_schema",name:"easy_email_intent_router_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["intent","confidence","reason"],properties:{intent:{type:"string",enum:["ask","action","reference_rewrite"]},confidence:{type:"string",enum:["high","low"]},reason:{type:"string"}}}};function $p(e){if(!e||typeof e!="object")return null;const t=e;return{currentSnapshotId:typeof t.currentSnapshotId=="string"?t.currentSnapshotId:null,snapshots:Array.isArray(t.snapshots)?t.snapshots.slice(-20).map(r=>({id:r.id,title:r.title,summary:r.summary,createdAt:r.createdAt})):[],messages:Array.isArray(t.messages)?t.messages.slice(-16).map(r=>({role:r.role,content:r.content,status:r.status,createdAt:r.createdAt,attachments:Array.isArray(r.attachments)?r.attachments.map(n=>{const i=n;return{type:i.type,name:i.name,mimeType:i.mimeType}}):[]})):[]}}function Gp(e){if(!e||typeof e!="object")return!1;const t=e.messages;return!!Array.isArray(t)&&t.some(r=>{if(!r||typeof r!="object"||r.role!=="user")return!1;const n=r.attachments;return Array.isArray(n)&&n.some(i=>{if(!i||typeof i!="object")return!1;const a=i,o=typeof a.type=="string"?a.type:"",s=typeof a.mimeType=="string"?a.mimeType:"";return o==="image"||s.startsWith("image/")})})}function Wp(e){if(!e||typeof e!="object")return[];const t=e.messages;if(!Array.isArray(t))return[];const r=[];for(const n of t.slice(-8)){if(!n||typeof n!="object"||n.role!=="user")continue;const i=n.attachments;if(Array.isArray(i))for(const a of i){if(!a||typeof a!="object")continue;const o=a,s=typeof o.url=="string"?o.url:void 0,l=typeof o.dataUrl=="string"?o.dataUrl:void 0,c=typeof o.mimeType=="string"?o.mimeType:void 0,y=typeof o.type=="string"?o.type:"";(s||l)&&(y==="image"||c?.startsWith("image/"))&&r.push({id:typeof o.id=="string"?o.id:void 0,name:typeof o.name=="string"?o.name:"reference-image",mimeType:c||"image/png",url:s,dataUrl:l,size:typeof o.size=="number"?o.size:void 0})}}return r}function Kp(e){const t=new Set;return e.filter(r=>{const n=r.url||r.dataUrl||r.id||r.name;return!!n&&!t.has(n)&&(t.add(n),!0)})}function Xp(e){var t,r,n;const i=(r=(t=e.prompt)==null?void 0:t.text)==null?void 0:r.trim();if(!i)throw new Error("prompt.text is required");return{body:e,text:i,images:Kp([...(n=e.images)!=null?n:[],...Wp(e.history)]).slice(0,6)}}function Jp(e){return{input:[{role:"user",content:[{type:"input_text",text:(t={text:e.text,imageCount:e.images.length,history:e.body.history},["Route the latest Easy Email AI request.","Return ask only when the user is asking a question, asking for analysis, or discussing strategy without asking you to change the email now.","Return action when the user wants the email, text, layout, styles, links, blocks, or image assets changed, even if the requested change is broad or lacks details.","Return reference_rewrite only when the user explicitly asks to replace, rebuild, recreate, or rewrite the whole email/template from uploaded or previous reference image(s).","If the request is unclear but could require changing the email, return action so the planner can ask a decision question.","",`Reference image count: ${t.imageCount}`,"History has user image attachment: "+(Gp(t.history)?"yes":"no"),"","Latest user message:",t.text].join(`
110
110
  `))}]}],text:{format:Vp},max_output_tokens:256,stream:!1,store:!1};var t}function Yp(e){return function(t){try{const r=JSON.parse(t);if((r.intent==="ask"||r.intent==="action"||r.intent==="reference_rewrite")&&r.confidence==="high")return r.intent}catch{return"action"}return"action"}($l(e||{}))}function Qp(e){const t=e.intent==="ask",r=e.intent==="action",n=e.intent==="reference_rewrite";return["You are an AI assistant inside a visual Easy Email Pro email editor.","Always write user-facing text in the same language as the latest user message. This includes answers, summaries, decision titles, decision messages, decision choice labels/descriptions, and image summaries.","First infer the latest user message language. Put that language in the top-level language field, such as the language name or a BCP 47 tag.","The language value is metadata only. Do not let the example JSON language placeholder decide the response language.","Decide whether the latest user message is asking a question or asking you to change the email.","Return exactly one JSON object matching the provided schema. Use null for fields that do not apply and [] for unused arrays.","For any edit result, write summary as a completed-change summary, not a plan. Say what was changed in 1-2 short sentences. Do not say 'I will', '\u6211\u4F1A', or describe future intent after changes are applied.","",...t?["ASK MODE:","The router classified the latest user message as a question or strategy discussion.","Return intent=answer only. Do not propose tool calls or template changes.",""]:[],...r?["ACTION MODE:","The router classified the latest user message as a request to change the email or an email asset.","Do not return intent=answer. Do not only confirm that you can make the change.","Return executable tool_calls or image. Use the current template, editor context, reference images, and conversation history to make the best reasonable edit.","When the user asks to change the layout or structure to match a reference image or previous context, treat that as a request to move the whole email closer to the reference layout unless a selected block is clearly the target.","For reference layout requests, choose the best full-match direction yourself and return tool_calls; do not ask which layout direction to use.","Return decision_request only when there is no safe target or the request has multiple materially different meanings that would cause a likely unwanted change.",""]:[],...n?["REFERENCE DESIGN REWRITE MODE:","The user uploaded a reference/design image and explicitly asked to recreate or rewrite the whole template from it.","Do not ask a decision question. Do not return decision_request. Do not ask which direction to use.","Return intent=tool_calls with payload.templateJson containing the complete rewritten Easy Email template as a JSON string.","payload.templateJson must start with { and end with }. Do not put Markdown, prose, comments, or another quoted JSON string inside templateJson.","The templateJson must parse to a complete Easy Email template object using the current template shape: include subject when present and content as a page element with type='page', attributes, data, and children.","Use only legal Easy Email hierarchy: page children are standard-section, standard-wrapper, or standard-hero. standard-section children are standard-column or standard-group. standard-group children are standard-column. standard-column children are content blocks such as standard-paragraph, standard-h1, standard-h2, standard-h3, standard-h4, standard-button, standard-image, standard-divider, standard-spacer, standard-navbar, standard-social, or standard-table. Never put a section inside a column.","Match the reference image overall, including layout, typography, color, spacing, hierarchy, and content structure. Use the current template only as a starting point.","Set payload.toolCallsJson=null. The worker will wrap templateJson into an apply_template tool call.",""]:[],...t?["If the latest user message asks a question or discusses strategy without requesting an immediate edit, return:",'{"language":"<latest-user-message-language>","intent":"answer","payload":{"answer":"Concise answer in the same language as the latest user message.","summary":null,"confidence":null,"decision":null,"toolCallsJson":null,"image":null}}',""]:[],...n||t?[]:["If an edit cannot be made safely because the target or required detail is genuinely missing, ask the user to choose before editing. Return:",'{"language":"<latest-user-message-language>","intent":"decision_request","payload":{"answer":null,"summary":null,"confidence":null,"decision":{"id":"style-direction","kind":"style_direction","title":"Short title in the same language as the latest user message","message":"Short question in the same language as the latest user message","allowCustom":true,"required":false,"choices":[{"id":"premium","label":"Choice label in the same language as the latest user message","description":"Choice description in the same language as the latest user message","prompt":"Instruction in the same language as the latest user message.","thumbnail":null,"target":null,"value":null}]},"toolCallsJson":null,"image":null}}',"Do not ask a decision question only because the request is broad. For broad style, layout, or conversion improvements, make a best-effort edit using the available template and reference context.","If the user asks for the layout to follow a reference or previous image, apply the closest layout you can with available tool calls instead of asking for a direction.","Do not ask a decision question for clear quick actions such as translate, shorten, update CTA, or when the user has already answered a decisionResponse.","Do not ask a decision question when the latest user message explicitly asks to match an uploaded/reference/design image overall, recreate a design, rewrite the template from a reference, or make it pixel-by-pixel close to the reference.",""],...t?[]:["If the latest user message asks to generate, create, design, redraw, restyle, edit, modify, retouch, or transform an image asset, return:",'{"language":"<latest-user-message-language>","intent":"image","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":null,"image":{"action":"generate","prompt":"Detailed image prompt for the image model.","size":"auto","target":{"selected":null,"id":"real-id-from-template","uid":null,"type":null,"index":null},"confidence":"high","candidates":[],"imageIntent":"replace"}}}',"Use action=edit when uploaded/reference images are provided and the user asks to modify or transform them. Use action=generate when creating a new image from text.","Choose size from the user's requested image format: 1536x1024 for landscape/banner/hero-wide, 1024x1536 for portrait/story/tall, 1024x1024 for square, or auto when the user did not specify an aspect ratio.","For image requests, choose target from Current editor selection context selected when it is an image asset, otherwise choose from Current editor selection context images. The image list includes normal image blocks (attributeKey=src) and background images on supported blocks such as section, wrapper/container, and hero (attributeKey=background-url). Match the screenshot/user wording to the image list by role, source, size, order, title, src, and dimensions. Prefer exact id/uid from the image list.","A screenshot or uploaded reference image is not an editor selection. If no image block is selected and several image blocks could match, do not guess the replacement block.","Do not use {type,index} as a high-confidence image replacement target. If you cannot identify a specific image block id/uid, set image.confidence=ambiguous, image.target=null, include candidates, and include a target_block decision in payload.decision.","For image prompts, include the desired subject, composition, style, visible text requirements, and any constraints from the email/template context.","","If the latest user message asks to edit, rewrite, translate, recolor, resize, move, add, remove, or restyle the email, prefer small tool calls and return:",'{"language":"<latest-user-message-language>","intent":"tool_calls","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":"[{\\"name\\":\\"update_text\\",\\"target\\":{\\"id\\":\\"real-id-from-template\\"},\\"text\\":\\"new text\\"}]","image":null}}',"toolCallsJson must be a JSON string containing an array of tool calls. If the edit direction, target block, or required detail is unclear, set payload.confidence=ambiguous, include a decision, and set toolCallsJson=null.",'For an explicit reference design rewrite, full-template recreation, or pixel-by-pixel match request, use toolCallsJson with a single apply_template call: [{"name":"apply_template","template":{...full Easy Email Pro template JSON...}}]. This is allowed only for those explicit full-template reference-design requests.',""],'Tool target can be {"selected":true}, {"id":"real-id-from-template"}, {"uid":"real-uid-from-template"}, or {"type":"block-type","index":0}. Never invent ids such as subject, header, hero, title, or cta. Use only ids/uids that appear in Current template JSON.','Use {"selected":true} only when Current editor selection context has a selected node and the user explicitly refers to the selected/current/this block. If selected is null, never use {"selected":true}.',"When the user says current block, selected block, this section, or this block, scope the edit to Current editor selection context selected. If selected.descendants contains multiple matching text nodes, generate tool calls for every matching descendant, not just the first match.","When the user mentions mobile, phone, small screen, responsive mobile, or asks to change only mobile styles, use update_mobile_attribute so desktop attributes remain unchanged.","Use update_attribute for desktop/default styles. Use update_mobile_attribute for mobile-only overrides. The key should be the raw attribute key such as font-size, padding-top, width, align, or line-height, not mobileAttributes.font-size.","For broad style requests such as brand color, inspect the template and target the relevant existing nodes by real id/uid/type. Make a best-effort edit across the relevant existing nodes; ask a decision question only when there is no safe target.","Available tool call names:",'- update_text: {"name":"update_text","target":target,"text":"new text"}','- update_attribute: {"name":"update_attribute","target":target,"key":"background-color","value":"#111111"}','- update_mobile_attribute: {"name":"update_mobile_attribute","target":target,"key":"font-size","value":"12px"}. Use this for mobile-only style changes.','- update_attributes: {"name":"update_attributes","target":target,"scope":"desktop","attributes":{"font-size":"14px","line-height":"1.4"}}. Use this when changing multiple style attributes on one block. Use scope=mobile for mobile-only attributes.','- update_data: {"name":"update_data","target":target,"key":"...","value":...}','- replace_children: {"name":"replace_children","target":target,"children":[...]}','- set_visibility: {"name":"set_visibility","target":target,"desktop":true,"mobile":false}. Use this to show a block only on desktop/mobile or restore both devices.','- replace_block: {"name":"replace_block","target":target,"block":{...Easy Email node...}}. Use this to replace one existing block, not the whole template.','- update_link: {"name":"update_link","target":target,"href":"https://example.com","blank":true,"title":"Optional title"}. Use this for button, image, navbar, and social links.','- move_up / move_down / duplicate / delete_node: {"name":"move_up","target":target}','- add_block_after: {"name":"add_block_after","target":target,"block":{...Easy Email node...}}','- add_block_before: {"name":"add_block_before","target":target,"block":{...Easy Email node...}}. Use this for requests like adding content above/before an existing price or heading.','- select_node: {"name":"select_node","target":target}','- apply_template: {"name":"apply_template","template":{...full Easy Email Pro template JSON...}}. Use only for explicit full-template reference-design or pixel-by-pixel rewrite requests.',"For update_text, target text-bearing nodes such as standard-paragraph, standard-button, or html-block-node. Do not target page, standard-section, or standard-column for text replacement.","For merchandising price edits, distinguish update vs add. If the user asks to add a compare price / original price / crossed-out price, do not overwrite the current price text. Insert a separate text block before/above the current price, or replace the local product card structure if needed. For a selected/current block containing multiple product prices, apply the same rule to each matching price in that block and calculate compare prices from each current price.","When generating new blocks, keep the Easy Email hierarchy valid: page -> standard-section/standard-wrapper/standard-hero -> standard-column -> content blocks. Never nest standard-section under standard-column.","","Preservation rules:","- Do not recreate the template from scratch for small edits.","- Preserve id, uid, title, visible, mobileAttributes, outputTarget, logic, and unknown fields unless directly involved.","- Never replace text children with raw strings. Easy Email text children must remain TextNode objects.","- Never output custom schemas such as brand/hero/products.","","Current editor selection context:",JSON.stringify(e.editorContext||null,null,2),"","Recent conversation history:",JSON.stringify($p(e.history),null,2),"","User decision response, if any:",JSON.stringify(e.decisionResponse||null,null,2),"","Current template JSON:",JSON.stringify(e.template||null,null,2),"","Latest user message:",e.userPrompt].join(`
111
- `)}function Ii(e){const t=function(s){const l=s.trim(),c=l.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);return c?c[1].trim():l}(e).trim();try{return JSON.parse(t),t}catch{}const r=[t.indexOf("{"),t.indexOf("[")].filter(s=>s>=0);if(!r.length)return t;const n=Math.min(...r),i=[];let a=!1,o=!1;for(let s=n;s<t.length;s+=1){const l=t[s];if(a)o?o=!1:l==="\\"?o=!0:l==='"'&&(a=!1);else if(l!=='"')if(l!=="{")if(l!=="["){if(l==="}"||l==="]"){if(i[i.length-1]!==l)break;if(i.pop(),i.length===0)return t.slice(n,s+1)}}else i.push("]");else i.push("}");else a=!0}return t}function ql(e){const t=JSON.parse(Ii(e)),r=we(t.payload)?t.payload:{},n=t.intent||(t.toolCalls?"tools":t.template?"modify":t.prompt&&t.action?"image":t.answer?"answer":null);if(n==="answer")return{type:"easy_email_answer",payload:{answer:String(r.answer||t.answer||"OK.")}};if(n==="decision_request")return{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)};if(n==="tools"||n==="tool_calls"){const a=r.confidence||t.confidence;if(a==="ambiguous"||a==="low")return{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)};const o=typeof r.toolCallsJson=="string"?Ml(r.toolCallsJson):Array.isArray(r.toolCalls)?Pl(r.toolCalls):Array.isArray(t.toolCalls)?t.toolCalls:[];return o.length?{type:"easy_email_tool_calls",payload:{summary:typeof r.summary=="string"?r.summary:typeof t.summary=="string"?t.summary:null,toolCalls:o,fallbackTemplate:t.fallbackTemplate||null}}:{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)}}if(n==="image"){const a=we(r.image)?r.image:t,o=a.confidence||r.confidence;return{type:"easy_email_image_request",payload:{action:a.action==="edit"?"edit":"generate",prompt:String(a.prompt||"").trim(),size:ah(a.size),summary:typeof r.summary=="string"?r.summary:typeof t.summary=="string"?t.summary:null,target:Mr(a.target),confidence:o==="high"||o==="low"||o==="ambiguous"?o:null,candidates:zl(a.candidates),decision:(i=r.decision,we(i)?ar(i):null),intent:a.imageIntent==="insert"||a.imageIntent==="attach"||a.intentMode==="insert"||a.intentMode==="attach"?a.imageIntent||a.intentMode:"replace"}}}var i;return n==="modify"?{type:"easy_email_result",payload:{valid:!!t.template,errors:t.template?[]:["template is required for modify intent"],template:t.template||null,summary:typeof t.summary=="string"?t.summary:null}}:{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}function Zp(e){const t=ql(e);return t.type!=="easy_email_answer"?t:{type:"decision_request",payload:ar({id:"action-follow-up",kind:"missing_detail",title:"Choose the change",message:t.payload.answer||null||"I understand you want to change the email. Please choose a direction or describe the exact change.",allowCustom:!0,required:!1,choices:[]})}}function eh(e){return e==="ask"?jp:e==="reference_rewrite"?Hp:zp}function Pl(e){return e.map(t=>{if(!we(t))return t;const r=q({},t),n=Mr(r.target);return r.target=n,Object.keys(r).forEach(i=>{r[i]===null&&delete r[i]}),r})}function Ml(e){try{const t=JSON.parse(e);return Array.isArray(t)?Pl(t):[]}catch{return[]}}function th(e,t){return Le(this,null,function*(){const r=JSON.parse(Ii(e)),n=we(r.payload)?r.payload:{},i=typeof n.summary=="string"?n.summary:typeof r.summary=="string"?r.summary:null,a=function(s){if(typeof s!="string"||!s.trim())return null;let l=s;try{for(let c=0;c<3;c+=1){const y=JSON.parse(Ii(l));if(we(y))return y;if(typeof y!="string"||!y.trim())return null;l=y}return null}catch{return null}}(n.templateJson);if(a)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:[{name:"apply_template",template:yield Fl(a,t)}],fallbackTemplate:null}};const o=typeof n.toolCallsJson=="string"?Ml(n.toolCallsJson):[];if(o.length)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:yield Pi(o,t),fallbackTemplate:null}};if(typeof n.templateJson=="string")throw new Error("Reference rewrite templateJson was not parseable JSON");return{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}})}function qi(e,t){if(!we(e))return null;if(typeof e.type=="string"&&t(e))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const i=qi(n,t);if(i)return i}return null}function Ul(e,t){if(!we(e))return 0;let r=e.type===t?1:0;const n=e.children;if(Array.isArray(n))for(const i of n)r+=Ul(i,t);return r}function rh(e,t,r){var n;const i=Mr(e);if(!i)return!1;const a=function(o){return we(o)&&"content"in o?o.content:o}(t);if("selected"in i)return!!r?.selected;if("id"in i)return!!qi(a,o=>o.id===i.id);if("uid"in i)return!!qi(a,o=>o.uid===i.uid);if("type"in i){const o=(n=i.index)!=null?n:0;return Ul(a,i.type)>o}return!1}function Fl(e,t){return Le(this,null,function*(){return we(e)?we(e.content)?yield Il(e):e.type!=="page"?e:yield Il(we(t)?X(q({},t),{content:e}):{content:e}):e})}function Pi(e,t){return Le(this,null,function*(){return yield Promise.all(e.map(r=>Le(null,null,function*(){return we(r)&&r.name==="apply_template"?X(q({},r),{template:yield Fl(r.template,t)}):r})))})}function jl(e){return Le(this,null,function*(){var t;if(!we(e)||e.name!=="apply_template")return"apply_template tool call is required";if(!function(n){if(!we(n))return null;const i=we(n.content)?n.content:n;return i.type==="page"&&Array.isArray(i.children)?i.children.length===0?null:i:null}(e.template))return"apply_template.template must include a non-empty page content element";const r=yield Fp(e.template);return r.valid?null:((t=r.errors[0])==null?void 0:t.message)||"apply_template.template is not a valid Easy Email template"})}function ar(e){const t=zl(e.choices).slice(0,6);return{id:typeof e.id=="string"&&e.id.trim()?e.id.trim():`decision-${Date.now()}`,kind:e.kind==="target_block"||e.kind==="missing_detail"?e.kind:"style_direction",title:typeof e.title=="string"&&e.title.trim()?e.title.trim():"Choose an option",message:typeof e.message=="string"&&e.message.trim()?e.message.trim():"Which direction should I use?",choices:t.length?t:[{id:"premium",label:"More premium",description:"Refine typography, spacing, CTA, and visual restraint.",prompt:"Make the template feel more premium while preserving the current structure."},{id:"conversion",label:"More conversion focused",description:"Strengthen hierarchy, CTA clarity, and offer visibility.",prompt:"Make the template more conversion focused with clearer hierarchy and CTA."},{id:"minimal",label:"Cleaner and simpler",description:"Reduce clutter, tighten copy, and simplify the layout.",prompt:"Make the template cleaner and simpler without changing the core content."}],allowCustom:e.allowCustom!==!1,required:!!e.required}}function nh(e){var t;const r=(t=e.candidates)!=null&&t.length?e.candidates:[{id:"choose-target",label:"Choose target image",description:"Pick the image block that should be replaced.",prompt:"Use this image block as the replacement target.",thumbnail:void 0,target:null,value:null}];return{id:`target-image-${Date.now()}`,kind:"target_block",title:"Choose image block",message:e.summary||"Which image block should use the generated image?",choices:r,allowCustom:!1,required:!1}}function ih(e){const t=/[\u3400-\u9fff]/.test(e.userPrompt),r=e.missingTargets.slice(0,4).join(", ");return{id:`missing-target-${Date.now()}`,kind:"missing_detail",title:t?"\u9700\u8981\u786E\u8BA4\u4FEE\u6539\u4F4D\u7F6E":"Confirm edit target",message:t?`\u6211\u627E\u4E0D\u5230\u8981\u4FEE\u6539\u7684\u6A21\u5757\uFF1A${r}\u3002\u8BF7\u6307\u5B9A\u5177\u4F53\u8981\u6539\u54EA\u4E00\u5757\uFF0C\u6216\u5148\u9009\u4E2D\u76EE\u6807 block \u540E\u518D\u8BD5\u3002`:`I could not find these edit targets: ${r}. Please specify the block to edit, or select the target block and try again.`,choices:[],allowCustom:!0,required:!1}}function zl(e){return Array.isArray(e)?e.map((t,r)=>{if(!t||typeof t!="object")return null;const n=t,i=Mr(n.target),a=typeof n.label=="string"&&n.label.trim()?n.label.trim():`Option ${r+1}`;return{id:typeof n.id=="string"&&n.id.trim()?n.id.trim():`choice-${r+1}`,label:a,description:typeof n.description=="string"?n.description:void 0,prompt:typeof n.prompt=="string"?n.prompt:void 0,thumbnail:typeof n.thumbnail=="string"?n.thumbnail:typeof n.src=="string"?n.src:void 0,target:i,value:n.value}}).filter(Boolean):[]}function Mr(e){if(!e||typeof e!="object")return null;const t=e;if(t.selected===!0)return{selected:!0};const r=Mi(t.id);if(r)return{id:r};const n=Mi(t.uid);if(n)return{uid:n};const i=Mi(t.type);if(i){const a={type:i};return typeof t.index=="number"&&Number.isFinite(t.index)&&t.index>=0&&(a.index=Math.floor(t.index)),a}return null}function Mi(e){if(typeof e!="string")return null;const t=e.trim();return!t||t==="..."||/^<.*>$/.test(t)?null:t}function ah(e){return e==="1024x1024"||e==="1536x1024"||e==="1024x1536"||e==="auto"?e:"auto"}function Hl(e){if(typeof e=="number"&&Number.isFinite(e)&&e>0)return e;if(typeof e!="string")return null;const t=e.trim().match(/^(\d+(?:\.\d+)?)/);if(!t)return null;const r=Number.parseFloat(t[1]);return Number.isFinite(r)&&r>0?r:null}function Ui(e,t){const r=e/t;return r>=1.18?"1536x1024":r<=.85?"1024x1536":"1024x1024"}function we(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}function Vl(e,t){if(!t||!we(e))return null;if(function(n,i){return!!i&&(i.id&&n.id===i.id||i.uid&&n.uid===i.uid)}(e,t))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const i=Vl(n,t);if(i)return i}return null}function Fi(e){var t,r;if(!e)return null;const n=Hl((t=e.width)!=null?t:e["image-width"]),i=Hl((r=e.height)!=null?r:e["image-height"]);return n&&i?{width:n,height:i}:null}function sh(e){var t;if(e.requestedSize!=="auto")return e.requestedSize;const r=(t=e.editorContext)==null?void 0:t.selected,n=function(o,s){var l;const c=o?.images;if(!s||!Array.isArray(c))return null;const y=o?.selected;if("id"in s)return c.find(v=>v.id===s.id)||null;if("uid"in s)return c.find(v=>v.uid===s.uid)||null;if("type"in s){const v=(l=s.index)!=null?l:0;return c.filter(k=>k.type===s.type)[v]||null}return"selected"in s&&y&&c.find(v=>y.id&&v.id===y.id||y.uid&&v.uid===y.uid)||null}(e.editorContext,e.target);if(n?.width&&n.height)return Ui(n.width,n.height);const i=r?.layout;if(i?.width&&i.height)return Ui(i.width,i.height);const a=function(o){if(!o)return null;const s=Fi(o);return s||Fi(we(o.attributes)?o.attributes:null)||Fi(we(o.data)?o.data:null)}(Vl(e.template,r)||(r?{attributes:r.attributes,data:r.data}:null));return a?Ui(a.width,a.height):"auto"}function Ce(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function $l(e){if(typeof e.output_text=="string")return e.output_text;const t=[];if(Array.isArray(e.output))for(const r of e.output){if(!r||typeof r!="object")continue;const n=r.content;if(Array.isArray(n))for(const i of n){if(!i||typeof i!="object")continue;const a=i.text;typeof a=="string"&&t.push(a)}}return t.join("")}function oh(e,t){const r=[{type:"input_text",text:Qp({userPrompt:e.text,template:e.body.template,editorContext:e.body.editorContext,history:e.body.history,decisionResponse:e.body.decisionResponse,intent:t})}];return e.images.forEach(n=>{const i=n.dataUrl||n.url;i&&r.push({type:"input_image",image_url:i})}),{input:[{role:"user",content:r}],text:{format:eh(t)},max_output_tokens:t==="reference_rewrite"?16e3:4096,stream:!1,store:!1}}function lh(e){return Le(this,null,function*(){var t;const{session:r,intent:n}=e,i=e.payload||{};if(i.status==="incomplete"||((t=i.incomplete_details)==null?void 0:t.reason)==="max_output_tokens")throw new Error("AI response was truncated before template rewrite completed");const a=$l(i),o=function(c,y="unknown"){var v,k,w,x,b,u,m,E,S,d,g,_;if(!c||typeof c!="object")return null;const h=c,p=h.input_tokens_details||h.inputTokenDetails||{},T=h.output_tokens_details||h.outputTokenDetails||{},f=(k=(v=Ce(h.input_tokens))!=null?v:Ce(h.inputTokens))!=null?k:Ce(h.prompt_tokens),R=(x=(w=Ce(h.output_tokens))!=null?w:Ce(h.outputTokens))!=null?x:Ce(h.completion_tokens),C=(u=(b=Ce(h.total_tokens))!=null?b:Ce(h.totalTokens))!=null?u:f!==void 0&&R!==void 0?f+R:void 0,I=(S=(E=(m=Ce(h.cached_input_tokens))!=null?m:Ce(h.cachedInputTokens))!=null?E:Ce(p.cached_tokens))!=null?S:Ce(p.cachedTokens),D=(_=(g=(d=Ce(h.reasoning_tokens))!=null?d:Ce(h.reasoningTokens))!=null?g:Ce(T.reasoning_tokens))!=null?_:Ce(T.reasoningTokens);return f===void 0&&R===void 0&&C===void 0&&I===void 0&&D===void 0?null:{model:y,inputTokens:f,outputTokens:R,totalTokens:C,cachedInputTokens:I,reasoningTokens:D}}(i.usage,e.model),s=[];o&&s.push({type:"usage",payload:o});const l=n==="reference_rewrite"?yield th(a,r.body.template):n==="action"?Zp(a):ql(a);if(n==="reference_rewrite"){if(l.type!=="easy_email_tool_calls")throw new Error("Reference rewrite did not return template changes. Please try again.");const c=yield Pi(l.payload.toolCalls,r.body.template),y=yield function(v){return Le(this,null,function*(){if(v.length!==1)return"reference rewrite must return exactly one apply_template call";const k=v[0];return yield jl(k)})}(c);if(y)throw new Error(y);return s.push({type:"easy_email_tool_calls",payload:X(q({},l.payload),{toolCalls:c})}),{events:s}}if(l.type==="easy_email_tool_calls"){const c=yield Pi(l.payload.toolCalls,r.body.template),y=yield function(k){return Le(this,null,function*(){for(const w of k){if(!we(w)||w.name!=="apply_template")continue;const x=yield jl(w);if(x)return x}return null})}(c);if(y)throw new Error(y);const v=function(k,w,x){const b=[];for(const m of k)we(m)?m.name!=="apply_template"&&(rh(m.target,w,x)||b.push(we(u=m.target)?u.selected===!0?"selected":typeof u.id=="string"?`id:${u.id}`:typeof u.uid=="string"?`uid:${u.uid}`:typeof u.type=="string"?`type:${u.type}`:"unknown target":"missing target")):b.push("invalid tool call");var u;return Array.from(new Set(b))}(c,r.body.template,r.body.editorContext);if(v.length)return s.push({type:"decision_request",payload:ih({userPrompt:r.text,missingTargets:v})}),{events:s};l.payload.toolCalls=c}if(l.type==="easy_email_image_request"){if(l.payload.confidence!=="high")return s.push({type:"decision_request",payload:l.payload.decision||nh({summary:l.payload.summary,candidates:l.payload.candidates})}),{events:s};if(!l.payload.prompt)throw new Error("Image prompt is required");const c=l.payload.action==="edit"?"edit":"generate";return s.push({type:"input",payload:{text:"Generating image"}}),{events:s,imageStep:{request:{action:c,prompt:l.payload.prompt,size:sh({requestedSize:l.payload.size,editorContext:r.body.editorContext,template:r.body.template,target:l.payload.target}),images:r.images},resultPayload:{summary:l.payload.summary||"Generated image.",target:l.payload.target,confidence:l.payload.confidence,candidates:l.payload.candidates,intent:l.payload.intent}}}}return s.push({type:l.type,payload:l.payload}),{events:s}})}function uh(e){const{imageStep:t,image:r}=e;return{type:"image_result",payload:{summary:t.resultPayload.summary,images:[{id:r.id,name:r.name,mimeType:r.mimeType,dataUrl:r.dataUrl,url:r.url}],target:t.resultPayload.target,confidence:t.resultPayload.confidence,candidates:t.resultPayload.candidates,intent:t.resultPayload.intent,revisedPrompt:r.revisedPrompt||null,model:r.model,size:r.size}}}Ge.registerPlugins([dl,ml]);export{Tl as AI_AGENT_FEATURE,K as BasicType,ee as BlockManager,Xa as CONTENT_EDITABLE_CLASSNAME,It as ConditionOperator,Ao as ConditionOperatorSymbol,Xe as EditorAuth,Lt as EditorCore,Pe as ElementAllowAttributes,z as ElementCategory,Us as ElementPlugin,L as ElementType,Ye as EmailRenderProvider,pl as HIDE_DESKTOP_BLOCK_CLASS_NAME,_l as HIDE_DESKTOP_INLINE_BLOCK_CLASS_NAME,hl as HIDE_MOBILE_BLOCK_CLASS_NAME,fl as HIDE_MOBILE_INLINE_BLOCK_CLASS_NAME,Mn as HTML_BLOCK_NODE_TAGS,Ja as HTML_NODE_VOID_TAGS,nr as HtmlNodeAdapter,In as I18nManager,Ka as LogicType,te as NodeUtils,Vu as PageTestingCss,ci as ParentElementProvider,Ge as PluginManager,Ms as PluginType,ml as Responsive,Er as ResponsivePlugin,Pn as SLATE_CODE_BLOCK_CLASSNAME,qn as SLATE_NODE_PLACEHOLDER_CLASSNAME,se as StandardType,dl as TemplateEngine,kr as TemplateEnginePlugin,Dl as assertAiAgentFeatureEnabled,ko as blockMap,Lp as canAutoReplaceImageTarget,Ir as canReplaceTargetImage,Ip as choiceImageAttributeKey,gt as classnames,zu as components,yu as createBlock,vu as createCustomBlock,Xp as createEasyEmailAgentSession,uh as createEasyEmailImageResultEvent,Jp as createEasyEmailIntentRequest,oh as createEasyEmailPlannerRequest,Me as deleteNoAllowKey,kp as easyEmailToEasyEmailPro,bl as formateBasicBlockAttribute,Sp as freezeSelectedTargets,yl as getAdapterAttributesString,Ll as imageChoiceDescription,Bp as imageDecisionChoices,Op as imageReplacementTarget,Cp as imageTargetAttributeKey,Rl as isHighConfidenceImageTarget,Li as isSelectedTarget,Zc as keyGenerate,Y as mergeBlock,Yc as mergeTagGenerate,Cr as missingInitialSelectionTarget,Ap as mjmlToJsonCore,Dp as normalizeToolCallsPayload,Ci as parseEasyEmailAiStream,Yp as parseEasyEmailIntentResponse,Bi as parseEasyEmailSseMessage,Sl as readEasyEmailAiError,Np as resolveAiChatResult,lh as resolveEasyEmailAgentTextResponse,Rp as selectedTargetFromContext,Q as t,Ol as targetsSameBlock,Tp as useContainerWidth,Un as useEmailGlobalContext,Qt as useEmailRenderContext,ui as useParentElementContext,Qc as variableGenerate};
111
+ `)}function Ci(e){const t=function(s){const l=s.trim(),c=l.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);return c?c[1].trim():l}(e).trim();try{return JSON.parse(t),t}catch{}const r=[t.indexOf("{"),t.indexOf("[")].filter(s=>s>=0);if(!r.length)return t;const n=Math.min(...r),i=[];let a=!1,o=!1;for(let s=n;s<t.length;s+=1){const l=t[s];if(a)o?o=!1:l==="\\"?o=!0:l==='"'&&(a=!1);else if(l!=='"')if(l!=="{")if(l!=="["){if(l==="}"||l==="]"){if(i[i.length-1]!==l)break;if(i.pop(),i.length===0)return t.slice(n,s+1)}}else i.push("]");else i.push("}");else a=!0}return t}function ql(e){const t=JSON.parse(Ci(e)),r=we(t.payload)?t.payload:{},n=t.intent||(t.toolCalls?"tools":t.template?"modify":t.prompt&&t.action?"image":t.answer?"answer":null);if(n==="answer")return{type:"easy_email_answer",payload:{answer:String(r.answer||t.answer||"OK.")}};if(n==="decision_request")return{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)};if(n==="tools"||n==="tool_calls"){const a=r.confidence||t.confidence;if(a==="ambiguous"||a==="low")return{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)};const o=typeof r.toolCallsJson=="string"?Ml(r.toolCallsJson):Array.isArray(r.toolCalls)?Pl(r.toolCalls):Array.isArray(t.toolCalls)?t.toolCalls:[];return o.length?{type:"easy_email_tool_calls",payload:{summary:typeof r.summary=="string"?r.summary:typeof t.summary=="string"?t.summary:null,toolCalls:o,fallbackTemplate:t.fallbackTemplate||null}}:{type:"decision_request",payload:ar(we(r.decision)?r.decision:t)}}if(n==="image"){const a=we(r.image)?r.image:t,o=a.confidence||r.confidence;return{type:"easy_email_image_request",payload:{action:a.action==="edit"?"edit":"generate",prompt:String(a.prompt||"").trim(),size:ah(a.size),summary:typeof r.summary=="string"?r.summary:typeof t.summary=="string"?t.summary:null,target:Mr(a.target),confidence:o==="high"||o==="low"||o==="ambiguous"?o:null,candidates:zl(a.candidates),decision:(i=r.decision,we(i)?ar(i):null),intent:a.imageIntent==="insert"||a.imageIntent==="attach"||a.intentMode==="insert"||a.intentMode==="attach"?a.imageIntent||a.intentMode:"replace"}}}var i;return n==="modify"?{type:"easy_email_result",payload:{valid:!!t.template,errors:t.template?[]:["template is required for modify intent"],template:t.template||null,summary:typeof t.summary=="string"?t.summary:null}}:{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}function Zp(e){const t=ql(e);return t.type!=="easy_email_answer"?t:{type:"decision_request",payload:ar({id:"action-follow-up",kind:"missing_detail",title:"Choose the change",message:t.payload.answer||null||"I understand you want to change the email. Please choose a direction or describe the exact change.",allowCustom:!0,required:!1,choices:[]})}}function eh(e){return e==="ask"?jp:e==="reference_rewrite"?Hp:zp}function Pl(e){return e.map(t=>{if(!we(t))return t;const r=q({},t),n=Mr(r.target);return r.target=n,Object.keys(r).forEach(i=>{r[i]===null&&delete r[i]}),r})}function Ml(e){try{const t=JSON.parse(e);return Array.isArray(t)?Pl(t):[]}catch{return[]}}function th(e,t){return Le(this,null,function*(){const r=JSON.parse(Ci(e)),n=we(r.payload)?r.payload:{},i=typeof n.summary=="string"?n.summary:typeof r.summary=="string"?r.summary:null,a=function(s){if(typeof s!="string"||!s.trim())return null;let l=s;try{for(let c=0;c<3;c+=1){const y=JSON.parse(Ci(l));if(we(y))return y;if(typeof y!="string"||!y.trim())return null;l=y}return null}catch{return null}}(n.templateJson);if(a)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:[{name:"apply_template",template:yield Fl(a,t)}],fallbackTemplate:null}};const o=typeof n.toolCallsJson=="string"?Ml(n.toolCallsJson):[];if(o.length)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:yield qi(o,t),fallbackTemplate:null}};if(typeof n.templateJson=="string")throw new Error("Reference rewrite templateJson was not parseable JSON");return{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}})}function Ii(e,t){if(!we(e))return null;if(typeof e.type=="string"&&t(e))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const i=Ii(n,t);if(i)return i}return null}function Ul(e,t){if(!we(e))return 0;let r=e.type===t?1:0;const n=e.children;if(Array.isArray(n))for(const i of n)r+=Ul(i,t);return r}function rh(e,t,r){var n;const i=Mr(e);if(!i)return!1;const a=function(o){return we(o)&&"content"in o?o.content:o}(t);if("selected"in i)return!!r?.selected;if("id"in i)return!!Ii(a,o=>o.id===i.id);if("uid"in i)return!!Ii(a,o=>o.uid===i.uid);if("type"in i){const o=(n=i.index)!=null?n:0;return Ul(a,i.type)>o}return!1}function Fl(e,t){return Le(this,null,function*(){return we(e)?we(e.content)?yield Il(e):e.type!=="page"?e:yield Il(we(t)?X(q({},t),{content:e}):{content:e}):e})}function qi(e,t){return Le(this,null,function*(){return yield Promise.all(e.map(r=>Le(null,null,function*(){return we(r)&&r.name==="apply_template"?X(q({},r),{template:yield Fl(r.template,t)}):r})))})}function jl(e){return Le(this,null,function*(){var t;if(!we(e)||e.name!=="apply_template")return"apply_template tool call is required";if(!function(n){if(!we(n))return null;const i=we(n.content)?n.content:n;return i.type==="page"&&Array.isArray(i.children)?i.children.length===0?null:i:null}(e.template))return"apply_template.template must include a non-empty page content element";const r=yield Fp(e.template);return r.valid?null:((t=r.errors[0])==null?void 0:t.message)||"apply_template.template is not a valid Easy Email template"})}function ar(e){const t=zl(e.choices).slice(0,6);return{id:typeof e.id=="string"&&e.id.trim()?e.id.trim():`decision-${Date.now()}`,kind:e.kind==="target_block"||e.kind==="missing_detail"?e.kind:"style_direction",title:typeof e.title=="string"&&e.title.trim()?e.title.trim():"Choose an option",message:typeof e.message=="string"&&e.message.trim()?e.message.trim():"Which direction should I use?",choices:t.length?t:[{id:"premium",label:"More premium",description:"Refine typography, spacing, CTA, and visual restraint.",prompt:"Make the template feel more premium while preserving the current structure."},{id:"conversion",label:"More conversion focused",description:"Strengthen hierarchy, CTA clarity, and offer visibility.",prompt:"Make the template more conversion focused with clearer hierarchy and CTA."},{id:"minimal",label:"Cleaner and simpler",description:"Reduce clutter, tighten copy, and simplify the layout.",prompt:"Make the template cleaner and simpler without changing the core content."}],allowCustom:e.allowCustom!==!1,required:!!e.required}}function nh(e){var t;const r=(t=e.candidates)!=null&&t.length?e.candidates:[{id:"choose-target",label:"Choose target image",description:"Pick the image block that should be replaced.",prompt:"Use this image block as the replacement target.",thumbnail:void 0,target:null,value:null}];return{id:`target-image-${Date.now()}`,kind:"target_block",title:"Choose image block",message:e.summary||"Which image block should use the generated image?",choices:r,allowCustom:!1,required:!1}}function ih(e){const t=/[\u3400-\u9fff]/.test(e.userPrompt),r=e.missingTargets.slice(0,4).join(", ");return{id:`missing-target-${Date.now()}`,kind:"missing_detail",title:t?"\u9700\u8981\u786E\u8BA4\u4FEE\u6539\u4F4D\u7F6E":"Confirm edit target",message:t?`\u6211\u627E\u4E0D\u5230\u8981\u4FEE\u6539\u7684\u6A21\u5757\uFF1A${r}\u3002\u8BF7\u6307\u5B9A\u5177\u4F53\u8981\u6539\u54EA\u4E00\u5757\uFF0C\u6216\u5148\u9009\u4E2D\u76EE\u6807 block \u540E\u518D\u8BD5\u3002`:`I could not find these edit targets: ${r}. Please specify the block to edit, or select the target block and try again.`,choices:[],allowCustom:!0,required:!1}}function zl(e){return Array.isArray(e)?e.map((t,r)=>{if(!t||typeof t!="object")return null;const n=t,i=Mr(n.target),a=typeof n.label=="string"&&n.label.trim()?n.label.trim():`Option ${r+1}`;return{id:typeof n.id=="string"&&n.id.trim()?n.id.trim():`choice-${r+1}`,label:a,description:typeof n.description=="string"?n.description:void 0,prompt:typeof n.prompt=="string"?n.prompt:void 0,thumbnail:typeof n.thumbnail=="string"?n.thumbnail:typeof n.src=="string"?n.src:void 0,target:i,value:n.value}}).filter(Boolean):[]}function Mr(e){if(!e||typeof e!="object")return null;const t=e;if(t.selected===!0)return{selected:!0};const r=Pi(t.id);if(r)return{id:r};const n=Pi(t.uid);if(n)return{uid:n};const i=Pi(t.type);if(i){const a={type:i};return typeof t.index=="number"&&Number.isFinite(t.index)&&t.index>=0&&(a.index=Math.floor(t.index)),a}return null}function Pi(e){if(typeof e!="string")return null;const t=e.trim();return!t||t==="..."||/^<.*>$/.test(t)?null:t}function ah(e){return e==="1024x1024"||e==="1536x1024"||e==="1024x1536"||e==="auto"?e:"auto"}function Hl(e){if(typeof e=="number"&&Number.isFinite(e)&&e>0)return e;if(typeof e!="string")return null;const t=e.trim().match(/^(\d+(?:\.\d+)?)/);if(!t)return null;const r=Number.parseFloat(t[1]);return Number.isFinite(r)&&r>0?r:null}function Mi(e,t){const r=e/t;return r>=1.18?"1536x1024":r<=.85?"1024x1536":"1024x1024"}function we(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}function Vl(e,t){if(!t||!we(e))return null;if(function(n,i){return!!i&&(i.id&&n.id===i.id||i.uid&&n.uid===i.uid)}(e,t))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const i=Vl(n,t);if(i)return i}return null}function Ui(e){var t,r;if(!e)return null;const n=Hl((t=e.width)!=null?t:e["image-width"]),i=Hl((r=e.height)!=null?r:e["image-height"]);return n&&i?{width:n,height:i}:null}function sh(e){var t;if(e.requestedSize!=="auto")return e.requestedSize;const r=(t=e.editorContext)==null?void 0:t.selected,n=function(o,s){var l;const c=o?.images;if(!s||!Array.isArray(c))return null;const y=o?.selected;if("id"in s)return c.find(v=>v.id===s.id)||null;if("uid"in s)return c.find(v=>v.uid===s.uid)||null;if("type"in s){const v=(l=s.index)!=null?l:0;return c.filter(k=>k.type===s.type)[v]||null}return"selected"in s&&y&&c.find(v=>y.id&&v.id===y.id||y.uid&&v.uid===y.uid)||null}(e.editorContext,e.target);if(n?.width&&n.height)return Mi(n.width,n.height);const i=r?.layout;if(i?.width&&i.height)return Mi(i.width,i.height);const a=function(o){if(!o)return null;const s=Ui(o);return s||Ui(we(o.attributes)?o.attributes:null)||Ui(we(o.data)?o.data:null)}(Vl(e.template,r)||(r?{attributes:r.attributes,data:r.data}:null));return a?Mi(a.width,a.height):"auto"}function Ce(e){return typeof e=="number"&&Number.isFinite(e)?e:void 0}function $l(e){if(typeof e.output_text=="string")return e.output_text;const t=[];if(Array.isArray(e.output))for(const r of e.output){if(!r||typeof r!="object")continue;const n=r.content;if(Array.isArray(n))for(const i of n){if(!i||typeof i!="object")continue;const a=i.text;typeof a=="string"&&t.push(a)}}return t.join("")}function oh(e,t){const r=[{type:"input_text",text:Qp({userPrompt:e.text,template:e.body.template,editorContext:e.body.editorContext,history:e.body.history,decisionResponse:e.body.decisionResponse,intent:t})}];return e.images.forEach(n=>{const i=n.dataUrl||n.url;i&&r.push({type:"input_image",image_url:i})}),{input:[{role:"user",content:r}],text:{format:eh(t)},max_output_tokens:t==="reference_rewrite"?16e3:4096,stream:!1,store:!1}}function lh(e){return Le(this,null,function*(){var t;const{session:r,intent:n}=e,i=e.payload||{};if(i.status==="incomplete"||((t=i.incomplete_details)==null?void 0:t.reason)==="max_output_tokens")throw new Error("AI response was truncated before template rewrite completed");const a=$l(i),o=function(c,y="unknown"){var v,k,w,x,b,u,m,E,S,d,g,_;if(!c||typeof c!="object")return null;const h=c,p=h.input_tokens_details||h.inputTokenDetails||{},T=h.output_tokens_details||h.outputTokenDetails||{},f=(k=(v=Ce(h.input_tokens))!=null?v:Ce(h.inputTokens))!=null?k:Ce(h.prompt_tokens),R=(x=(w=Ce(h.output_tokens))!=null?w:Ce(h.outputTokens))!=null?x:Ce(h.completion_tokens),C=(u=(b=Ce(h.total_tokens))!=null?b:Ce(h.totalTokens))!=null?u:f!==void 0&&R!==void 0?f+R:void 0,I=(S=(E=(m=Ce(h.cached_input_tokens))!=null?m:Ce(h.cachedInputTokens))!=null?E:Ce(p.cached_tokens))!=null?S:Ce(p.cachedTokens),D=(_=(g=(d=Ce(h.reasoning_tokens))!=null?d:Ce(h.reasoningTokens))!=null?g:Ce(T.reasoning_tokens))!=null?_:Ce(T.reasoningTokens);return f===void 0&&R===void 0&&C===void 0&&I===void 0&&D===void 0?null:{model:y,inputTokens:f,outputTokens:R,totalTokens:C,cachedInputTokens:I,reasoningTokens:D}}(i.usage,e.model),s=[];o&&s.push({type:"usage",payload:o});const l=n==="reference_rewrite"?yield th(a,r.body.template):n==="action"?Zp(a):ql(a);if(n==="reference_rewrite"){if(l.type!=="easy_email_tool_calls")throw new Error("Reference rewrite did not return template changes. Please try again.");const c=yield qi(l.payload.toolCalls,r.body.template),y=yield function(v){return Le(this,null,function*(){if(v.length!==1)return"reference rewrite must return exactly one apply_template call";const k=v[0];return yield jl(k)})}(c);if(y)throw new Error(y);return s.push({type:"easy_email_tool_calls",payload:X(q({},l.payload),{toolCalls:c})}),{events:s}}if(l.type==="easy_email_tool_calls"){const c=yield qi(l.payload.toolCalls,r.body.template),y=yield function(k){return Le(this,null,function*(){for(const w of k){if(!we(w)||w.name!=="apply_template")continue;const x=yield jl(w);if(x)return x}return null})}(c);if(y)throw new Error(y);const v=function(k,w,x){const b=[];for(const m of k)we(m)?m.name!=="apply_template"&&(rh(m.target,w,x)||b.push(we(u=m.target)?u.selected===!0?"selected":typeof u.id=="string"?`id:${u.id}`:typeof u.uid=="string"?`uid:${u.uid}`:typeof u.type=="string"?`type:${u.type}`:"unknown target":"missing target")):b.push("invalid tool call");var u;return Array.from(new Set(b))}(c,r.body.template,r.body.editorContext);if(v.length)return s.push({type:"decision_request",payload:ih({userPrompt:r.text,missingTargets:v})}),{events:s};l.payload.toolCalls=c}if(l.type==="easy_email_image_request"){if(l.payload.confidence!=="high")return s.push({type:"decision_request",payload:l.payload.decision||nh({summary:l.payload.summary,candidates:l.payload.candidates})}),{events:s};if(!l.payload.prompt)throw new Error("Image prompt is required");const c=l.payload.action==="edit"?"edit":"generate";return s.push({type:"input",payload:{text:"Generating image"}}),{events:s,imageStep:{request:{action:c,prompt:l.payload.prompt,size:sh({requestedSize:l.payload.size,editorContext:r.body.editorContext,template:r.body.template,target:l.payload.target}),images:r.images},resultPayload:{summary:l.payload.summary||"Generated image.",target:l.payload.target,confidence:l.payload.confidence,candidates:l.payload.candidates,intent:l.payload.intent}}}}return s.push({type:l.type,payload:l.payload}),{events:s}})}function uh(e){const{imageStep:t,image:r}=e;return{type:"image_result",payload:{summary:t.resultPayload.summary,images:[{id:r.id,name:r.name,mimeType:r.mimeType,dataUrl:r.dataUrl,url:r.url}],target:t.resultPayload.target,confidence:t.resultPayload.confidence,candidates:t.resultPayload.candidates,intent:t.resultPayload.intent,revisedPrompt:r.revisedPrompt||null,model:r.model,size:r.size}}}Ge.registerPlugins([dl,ml]);export{Tl as AI_AGENT_FEATURE,K as BasicType,ee as BlockManager,Ka as CONTENT_EDITABLE_CLASSNAME,It as ConditionOperator,Ao as ConditionOperatorSymbol,Xe as EditorAuth,Lt as EditorCore,Pe as ElementAllowAttributes,z as ElementCategory,Ms as ElementPlugin,L as ElementType,Ye as EmailRenderProvider,pl as HIDE_DESKTOP_BLOCK_CLASS_NAME,_l as HIDE_DESKTOP_INLINE_BLOCK_CLASS_NAME,hl as HIDE_MOBILE_BLOCK_CLASS_NAME,fl as HIDE_MOBILE_INLINE_BLOCK_CLASS_NAME,Mn as HTML_BLOCK_NODE_TAGS,Xa as HTML_NODE_VOID_TAGS,nr as HtmlNodeAdapter,In as I18nManager,Wa as LogicType,te as NodeUtils,Vu as PageTestingCss,ci as ParentElementProvider,Ge as PluginManager,Ps as PluginType,ml as Responsive,Er as ResponsivePlugin,Pn as SLATE_CODE_BLOCK_CLASSNAME,qn as SLATE_NODE_PLACEHOLDER_CLASSNAME,se as StandardType,dl as TemplateEngine,kr as TemplateEnginePlugin,Dl as assertAiAgentFeatureEnabled,ko as blockMap,Lp as canAutoReplaceImageTarget,Ir as canReplaceTargetImage,Ip as choiceImageAttributeKey,gt as classnames,zu as components,yu as createBlock,vu as createCustomBlock,Xp as createEasyEmailAgentSession,uh as createEasyEmailImageResultEvent,Jp as createEasyEmailIntentRequest,oh as createEasyEmailPlannerRequest,Me as deleteNoAllowKey,kp as easyEmailToEasyEmailPro,bl as formateBasicBlockAttribute,Sp as freezeSelectedTargets,yl as getAdapterAttributesString,Ll as imageChoiceDescription,Bp as imageDecisionChoices,Op as imageReplacementTarget,Cp as imageTargetAttributeKey,Rl as isHighConfidenceImageTarget,Oi as isSelectedTarget,Zc as keyGenerate,Y as mergeBlock,Yc as mergeTagGenerate,Cr as missingInitialSelectionTarget,Ap as mjmlToJsonCore,Dp as normalizeToolCallsPayload,Bi as parseEasyEmailAiStream,Yp as parseEasyEmailIntentResponse,Li as parseEasyEmailSseMessage,Sl as readEasyEmailAiError,Np as resolveAiChatResult,lh as resolveEasyEmailAgentTextResponse,Rp as selectedTargetFromContext,Q as t,Ol as targetsSameBlock,Tp as useContainerWidth,Un as useEmailGlobalContext,Qt as useEmailRenderContext,ui as useParentElementContext,Qc as variableGenerate};