easy-email-pro-core 1.59.6 → 1.59.7
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.cjs.js +1 -1
- package/lib/index.es.js +34 -34
- package/lib/typings/typings/element-logic.d.ts +5 -2
- package/package.json +1 -1
package/lib/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var du=Object.defineProperty,pu=Object.defineProperties,hu=Object.getOwnPropertyDescriptors,or=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable,Fr=(t,e,r)=>e in t?du(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,q=(t,e)=>{for(var r in e||(e={}))ea.call(e,r)&&Fr(t,r,e[r]);if(or)for(var r of or(e))ra.call(e,r)&&Fr(t,r,e[r]);return t},X=(t,e)=>pu(t,hu(e)),_t=(t,e)=>{var r={};for(var n in t)ea.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&or)for(var n of or(t))e.indexOf(n)<0&&ra.call(t,n)&&(r[n]=t[n]);return r},at=(t,e,r)=>Fr(t,typeof e!="symbol"?e+"":e,r),Lt=(t,e,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(t,e)).next())});import{mergeWith as _u,cloneDeep as Tt,isArray as fu,get as rt,isString as te,set as qt,camelCase as na,omit as oe,forOwn as gu,isUndefined as jr,isNumber as mu,isBoolean as bu,merge as zr,pick as yu,startCase as vu,chunk as xu,pickBy as lr,identity as wu}from"lodash";import O,{useContext as Ge,useMemo as Eu,isValidElement as ku}from"react";import ia from"axios";import{renderToStaticMarkup as We}from"react-dom/server";function ge(...t){return t.filter(e=>typeof e=="string").join(" ")}function Au(t){return t}function Tu(t){return t}function Y(t,e){return _u(Tt(t),Tt(e),(r,n)=>fu(n)?n:void 0)}function aa(t,e,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=t+"="+e+";"+i}var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Du(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var sa={exports:{}};function Hr(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vr={exports:{}};const Su=Du(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var oa;Vr.exports;function pt(){return oa||(oa=1,Vr.exports=(t=t||function(e,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&&Ke!==void 0&&Ke.crypto&&(n=Ke.crypto),!n)try{n=Su}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 k;return u.prototype=m,k=new u,u.prototype=null,k}}(),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||x).stringify(this)},concat:function(u){var m=this.words,k=u.words,S=this.sigBytes,d=u.sigBytes;if(this.clamp(),S%4)for(var g=0;g<d;g++){var _=k[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]=k[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=e.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=[],k=0;k<u;k+=4)m.push(i());return new c.init(m,u)}}),y=o.enc={},x=y.Hex={stringify:function(u){for(var m=u.words,k=u.sigBytes,S=[],d=0;d<k;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,k=[],S=0;S<m;S+=2)k[S>>>3]|=parseInt(u.substr(S,2),16)<<24-S%8*4;return new c.init(k,m/2)}},E=y.Latin1={stringify:function(u){for(var m=u.words,k=u.sigBytes,S=[],d=0;d<k;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,k=[],S=0;S<m;S++)k[S>>>2]|=(255&u.charCodeAt(S))<<24-S%4*8;return new c.init(k,m)}},v=y.Utf8={stringify:function(u){try{return decodeURIComponent(escape(E.stringify(u)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(u){return E.parse(unescape(encodeURIComponent(u)))}},w=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(u){typeof u=="string"&&(u=v.parse(u)),this._data.concat(u),this._nDataBytes+=u.sigBytes},_process:function(u){var m,k=this._data,S=k.words,d=k.sigBytes,g=this.blockSize,_=d/(4*g),h=(_=u?e.ceil(_):e.max((0|_)-this._minBufferSize,0))*g,p=e.min(4*h,d);if(h){for(var T=0;T<h;T+=g)this._doProcessBlock(S,T);m=S.splice(0,h),k.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=w.extend({cfg:l.extend(),init:function(u){this.cfg=this.cfg.extend(u),this.reset()},reset:function(){w.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,k){return new u.init(k).finalize(m)}},_createHmacHelper:function(u){return function(m,k){return new b.HMAC.init(u,k).finalize(m)}}});var b=o.algo={};return o}(Math),t)),Vr.exports;var t}var la,$r={exports:{}};$r.exports;function cr(){return la||(la=1,$r.exports=(o=pt(),r=(e=o).lib,n=r.Base,i=r.WordArray,(a=e.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!=t?l:8*s.length},toX32:function(){for(var s=this.words,l=s.length,c=[],y=0;y<l;y++){var x=s[y];c.push(x.high),c.push(x.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 t,e,r,n,i,a,o}var ua,Gr={exports:{}};Gr.exports;function Nu(){return ua||(ua=1,Gr.exports=(t=pt(),function(){if(typeof ArrayBuffer=="function"){var e=t.lib.WordArray,r=e.init,n=e.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=e}}(),t.lib.WordArray)),Gr.exports;var t}var ca,Wr={exports:{}};Wr.exports;function Ru(){return ca||(ca=1,Wr.exports=(t=pt(),function(){var e=t,r=e.lib.WordArray,n=e.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)}}}(),t.enc.Utf16)),Wr.exports;var t}var da,Kr={exports:{}};Kr.exports;function me(){return da||(da=1,Kr.exports=(t=pt(),function(){var e=t,r=e.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)}e.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,x=0;x<4&&c+.75*x<o;x++)l.push(s.charAt(y>>>6*(3-x)&63));var E=s.charAt(64);if(E)for(;l.length%4;)l.push(E);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+/="}}(),t.enc.Base64)),Kr.exports;var t}var pa,Xr={exports:{}};Xr.exports;function Ou(){return pa||(pa=1,Xr.exports=(t=pt(),function(){var e=t,r=e.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)}e.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 x=(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,E=0;E<4&&y+.75*E<s;E++)c.push(l.charAt(x>>>6*(3-E)&63));var v=l.charAt(64);if(v)for(;c.length%4;)c.push(v);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 x=i.indexOf(y);x!==-1&&(o=x)}return n(i,o,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),t.enc.Base64url)),Xr.exports;var t}var ha,Jr={exports:{}};Jr.exports;function be(){return ha||(ha=1,Jr.exports=(t=pt(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[];(function(){for(var v=0;v<64;v++)s[v]=4294967296*e.abs(e.sin(v+1))|0})();var l=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,w){for(var b=0;b<16;b++){var u=w+b,m=v[u];v[u]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var k=this._hash.words,S=v[w+0],d=v[w+1],g=v[w+2],_=v[w+3],h=v[w+4],p=v[w+5],T=v[w+6],f=v[w+7],R=v[w+8],C=v[w+9],I=v[w+10],D=v[w+11],P=v[w+12],F=v[w+13],H=v[w+14],G=v[w+15],M=k[0],j=k[1],U=k[2],V=k[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=x(M,j=y(j,U,V,M,P,20,s[31]),U,V,p,4,s[32]),V=x(V,M,j,U,R,11,s[33]),U=x(U,V,M,j,D,16,s[34]),j=x(j,U,V,M,H,23,s[35]),M=x(M,j,U,V,d,4,s[36]),V=x(V,M,j,U,h,11,s[37]),U=x(U,V,M,j,f,16,s[38]),j=x(j,U,V,M,I,23,s[39]),M=x(M,j,U,V,F,4,s[40]),V=x(V,M,j,U,S,11,s[41]),U=x(U,V,M,j,_,16,s[42]),j=x(j,U,V,M,T,23,s[43]),M=x(M,j,U,V,C,4,s[44]),V=x(V,M,j,U,P,11,s[45]),U=x(U,V,M,j,G,16,s[46]),M=E(M,j=x(j,U,V,M,g,23,s[47]),U,V,S,6,s[48]),V=E(V,M,j,U,f,10,s[49]),U=E(U,V,M,j,H,15,s[50]),j=E(j,U,V,M,p,21,s[51]),M=E(M,j,U,V,P,6,s[52]),V=E(V,M,j,U,_,10,s[53]),U=E(U,V,M,j,I,15,s[54]),j=E(j,U,V,M,d,21,s[55]),M=E(M,j,U,V,R,6,s[56]),V=E(V,M,j,U,G,10,s[57]),U=E(U,V,M,j,T,15,s[58]),j=E(j,U,V,M,F,21,s[59]),M=E(M,j,U,V,h,6,s[60]),V=E(V,M,j,U,D,10,s[61]),U=E(U,V,M,j,g,15,s[62]),j=E(j,U,V,M,C,21,s[63]),k[0]=k[0]+M|0,k[1]=k[1]+j|0,k[2]=k[2]+U|0,k[3]=k[3]+V|0},_doFinalize:function(){var v=this._data,w=v.words,b=8*this._nDataBytes,u=8*v.sigBytes;w[u>>>5]|=128<<24-u%32;var m=e.floor(b/4294967296),k=b;w[15+(u+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),w[14+(u+64>>>9<<4)]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),v.sigBytes=4*(w.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 v=a.clone.call(this);return v._hash=this._hash.clone(),v}});function c(v,w,b,u,m,k,S){var d=v+(w&b|~w&u)+m+S;return(d<<k|d>>>32-k)+w}function y(v,w,b,u,m,k,S){var d=v+(w&u|b&~u)+m+S;return(d<<k|d>>>32-k)+w}function x(v,w,b,u,m,k,S){var d=v+(w^b^u)+m+S;return(d<<k|d>>>32-k)+w}function E(v,w,b,u,m,k,S){var d=v+(b^(w|~u))+m+S;return(d<<k|d>>>32-k)+w}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),t.MD5)),Jr.exports;var t}var _a,Yr={exports:{}};Yr.exports;function fa(){return _a||(_a=1,Yr.exports=(s=pt(),e=(t=s).lib,r=e.WordArray,n=e.Hasher,i=t.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,x=y[0],E=y[1],v=y[2],w=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 k=(x<<5|x>>>27)+b+a[u];k+=u<20?1518500249+(E&v|~E&w):u<40?1859775393+(E^v^w):u<60?(E&v|E&w|v&w)-1894007588:(E^v^w)-899497514,b=w,w=v,v=E<<30|E>>>2,E=x,x=k}y[0]=y[0]+x|0,y[1]=y[1]+E|0,y[2]=y[2]+v|0,y[3]=y[3]+w|0,y[4]=y[4]+b|0},_doFinalize:function(){var l=this._data,c=l.words,y=8*this._nDataBytes,x=8*l.sigBytes;return c[x>>>5]|=128<<24-x%32,c[14+(x+64>>>9<<4)]=Math.floor(y/4294967296),c[15+(x+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}}),t.SHA1=n._createHelper(o),t.HmacSHA1=n._createHmacHelper(o),s.SHA1)),Yr.exports;var t,e,r,n,i,a,o,s}var ga,Qr={exports:{}};Qr.exports;function Zr(){return ga||(ga=1,Qr.exports=(t=pt(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[],l=[];(function(){function x(b){for(var u=e.sqrt(b),m=2;m<=u;m++)if(!(b%m))return!1;return!0}function E(b){return 4294967296*(b-(0|b))|0}for(var v=2,w=0;w<64;)x(v)&&(w<8&&(s[w]=E(e.pow(v,.5))),l[w]=E(e.pow(v,1/3)),w++),v++})();var c=[],y=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(x,E){for(var v=this._hash.words,w=v[0],b=v[1],u=v[2],m=v[3],k=v[4],S=v[5],d=v[6],g=v[7],_=0;_<64;_++){if(_<16)c[_]=0|x[E+_];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=w&b^w&u^b&u,C=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),I=g+((k<<26|k>>>6)^(k<<21|k>>>11)^(k<<7|k>>>25))+(k&S^~k&d)+l[_]+c[_];g=d,d=S,S=k,k=m+I|0,m=u,u=b,b=w,w=I+(C+R)|0}v[0]=v[0]+w|0,v[1]=v[1]+b|0,v[2]=v[2]+u|0,v[3]=v[3]+m|0,v[4]=v[4]+k|0,v[5]=v[5]+S|0,v[6]=v[6]+d|0,v[7]=v[7]+g|0},_doFinalize:function(){var x=this._data,E=x.words,v=8*this._nDataBytes,w=8*x.sigBytes;return E[w>>>5]|=128<<24-w%32,E[14+(w+64>>>9<<4)]=e.floor(v/4294967296),E[15+(w+64>>>9<<4)]=v,x.sigBytes=4*E.length,this._process(),this._hash},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x}});r.SHA256=a._createHelper(y),r.HmacSHA256=a._createHmacHelper(y)}(Math),t.SHA256)),Qr.exports;var t}var ma,tn={exports:{}};tn.exports;var ba,en={exports:{}};en.exports;function ya(){return ba||(ba=1,en.exports=(t=pt(),cr(),function(){var e=t,r=e.lib.Hasher,n=e.x64,i=n.Word,a=n.WordArray,o=e.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 x=0;x<80;x++)c[x]=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(x,E){for(var v=this._hash.words,w=v[0],b=v[1],u=v[2],m=v[3],k=v[4],S=v[5],d=v[6],g=v[7],_=w.high,h=w.low,p=b.high,T=b.low,f=u.high,R=u.low,C=m.high,I=m.low,D=k.high,P=k.low,F=S.high,H=S.low,G=d.high,M=d.low,j=g.high,U=g.low,V=_,ut=h,kt=p,At=T,J=f,A=R,N=C,B=I,$=D,W=P,Z=F,ct=H,bt=G,wt=M,It=j,Nt=U,vt=0;vt<80;vt++){var xt,yt,$t=c[vt];if(vt<16)yt=$t.high=0|x[E+2*vt],xt=$t.low=0|x[E+2*vt+1];else{var ze=c[vt-15],Ne=ze.high,He=ze.low,Zl=(Ne>>>1|He<<31)^(Ne>>>8|He<<24)^Ne>>>7,Vi=(He>>>1|Ne<<31)^(He>>>8|Ne<<24)^(He>>>7|Ne<<25),$i=c[vt-2],Re=$i.high,Ve=$i.low,tu=(Re>>>19|Ve<<13)^(Re<<3|Ve>>>29)^Re>>>6,Gi=(Ve>>>19|Re<<13)^(Ve<<3|Re>>>29)^(Ve>>>6|Re<<26),Wi=c[vt-7],eu=Wi.high,ru=Wi.low,Ki=c[vt-16],nu=Ki.high,Xi=Ki.low;yt=(yt=(yt=Zl+eu+((xt=Vi+ru)>>>0<Vi>>>0?1:0))+tu+((xt+=Gi)>>>0<Gi>>>0?1:0))+nu+((xt+=Xi)>>>0<Xi>>>0?1:0),$t.high=yt,$t.low=xt}var fe,iu=$&Z^~$&bt,Ji=W&ct^~W&wt,au=V&kt^V&J^kt&J,su=ut&At^ut&A^At&A,ou=(V>>>28|ut<<4)^(V<<30|ut>>>2)^(V<<25|ut>>>7),Yi=(ut>>>28|V<<4)^(ut<<30|V>>>2)^(ut<<25|V>>>7),lu=($>>>14|W<<18)^($>>>18|W<<14)^($<<23|W>>>9),uu=(W>>>14|$<<18)^(W>>>18|$<<14)^(W<<23|$>>>9),Qi=l[vt],cu=Qi.high,Zi=Qi.low,$e=It+lu+((fe=Nt+uu)>>>0<Nt>>>0?1:0),ta=Yi+su;It=bt,Nt=wt,bt=Z,wt=ct,Z=$,ct=W,$=N+($e=($e=($e=$e+iu+((fe+=Ji)>>>0<Ji>>>0?1:0))+cu+((fe+=Zi)>>>0<Zi>>>0?1:0))+yt+((fe+=xt)>>>0<xt>>>0?1:0))+((W=B+fe|0)>>>0<B>>>0?1:0)|0,N=J,B=A,J=kt,A=At,kt=V,At=ut,V=$e+(ou+au+(ta>>>0<Yi>>>0?1:0))+((ut=fe+ta|0)>>>0<fe>>>0?1:0)|0}h=w.low=h+ut,w.high=_+V+(h>>>0<ut>>>0?1:0),T=b.low=T+At,b.high=p+kt+(T>>>0<At>>>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=k.low=P+W,k.high=D+$+(P>>>0<W>>>0?1:0),H=S.low=H+ct,S.high=F+Z+(H>>>0<ct>>>0?1:0),M=d.low=M+wt,d.high=G+bt+(M>>>0<wt>>>0?1:0),U=g.low=U+Nt,g.high=j+It+(U>>>0<Nt>>>0?1:0)},_doFinalize:function(){var x=this._data,E=x.words,v=8*this._nDataBytes,w=8*x.sigBytes;return E[w>>>5]|=128<<24-w%32,E[30+(w+128>>>10<<5)]=Math.floor(v/4294967296),E[31+(w+128>>>10<<5)]=v,x.sigBytes=4*E.length,this._process(),this._hash.toX32()},clone:function(){var x=r.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:32});e.SHA512=r._createHelper(y),e.HmacSHA512=r._createHmacHelper(y)}(),t.SHA512)),en.exports;var t}var va,rn={exports:{}};rn.exports;var xa,nn={exports:{}};nn.exports;function Lu(){return xa||(xa=1,nn.exports=(t=pt(),cr(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],y=[];(function(){for(var v=1,w=0,b=0;b<24;b++){l[v+5*w]=(b+1)*(b+2)/2%64;var u=(2*v+3*w)%5;v=w%5,w=u}for(v=0;v<5;v++)for(w=0;w<5;w++)c[v+5*w]=w+(2*v+3*w)%5*5;for(var m=1,k=0;k<24;k++){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[k]=o.create(S,d)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=o.create()})();var E=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],w=0;w<25;w++)v[w]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,w){for(var b=this._state,u=this.blockSize/2,m=0;m<u;m++){var k=v[w+2*m],S=v[w+2*m+1];k=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),(U=b[m]).high^=S,U.low^=k}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=x[g];T.high=_,T.low=h}for(g=0;g<5;g++){var f=x[(g+4)%5],R=x[(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=x[c[D]];G.high=_,G.low=h}var M=x[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=x[D],ut=x[(g+1)%5+5*p],kt=x[(g+2)%5+5*p];U.high=V.high^~ut.high&kt.high,U.low=V.low^~ut.low&kt.low}U=b[0];var At=y[d];U.high^=At.high,U.low^=At.low}},_doFinalize:function(){var v=this._data,w=v.words;this._nDataBytes;var b=8*v.sigBytes,u=32*this.blockSize;w[b>>>5]|=1<<24-b%32,w[(e.ceil((b+1)/u)*u>>>5)-1]|=128,v.sigBytes=4*w.length,this._process();for(var m=this._state,k=this.cfg.outputLength/8,S=k/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,k)},clone:function(){for(var v=a.clone.call(this),w=v._state=this._state.slice(0),b=0;b<25;b++)w[b]=w[b].clone();return v}});r.SHA3=a._createHelper(E),r.HmacSHA3=a._createHmacHelper(E)}(Math),t.SHA3)),nn.exports;var t}var wa,an={exports:{}};an.exports;var Ea,sn={exports:{}};sn.exports;function on(){return Ea||(Ea=1,sn.exports=(t=pt(),r=(e=t).lib.Base,n=e.enc.Utf8,void(e.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,x=c.words,E=0;E<o;E++)y[E]^=1549556828,x[E]^=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 t,e,r,n}var ka,ln={exports:{}};ln.exports;var Aa,un={exports:{}};un.exports;function le(){return Aa||(Aa=1,un.exports=(s=pt(),fa(),on(),e=(t=s).lib,r=e.Base,n=e.WordArray,i=t.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,x=this.cfg,E=x.hasher.create(),v=n.create(),w=v.words,b=x.keySize,u=x.iterations;w.length<b;){y&&E.update(y),y=E.update(l).finalize(c),E.reset();for(var m=1;m<u;m++)y=E.finalize(y),E.reset();v.concat(y)}return v.sigBytes=4*b,v}}),t.EvpKDF=function(l,c,y){return o.create(y).compute(l,c)},s.EvpKDF)),un.exports;var t,e,r,n,i,a,o,s}var Ta,cn={exports:{}};cn.exports;function Rt(){return Ta||(Ta=1,cn.exports=(t=pt(),le(),void(t.lib.Cipher||function(e){var r=t,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 x=r.mode={},E=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}}),v=x.CBC=function(){var d=E.extend();function g(_,h,p){var T,f=this._iv;f?(T=f,this._iv=e):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}(),w=(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:v,padding:w}),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}}),k=(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:k}),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 t}var Da,dn={exports:{}};dn.exports;var Sa,pn={exports:{}};pn.exports;var Na,hn={exports:{}};hn.exports;function Bu(){return Na||(Na=1,hn.exports=(t=pt(),Rt(),t.mode.CTRGladman=function(){var e=t.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=e.Encryptor=e.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 x=y.slice(0);s.encryptBlock(x,0);for(var E=0;E<l;E++)a[o+E]^=x[E]}});return e.Decryptor=i,e}(),t.mode.CTRGladman)),hn.exports;var t}var Ra,_n={exports:{}};_n.exports;var Oa,fn={exports:{}};fn.exports;var La,gn={exports:{}};gn.exports;var Ba,mn={exports:{}};mn.exports;var Ca,bn={exports:{}};bn.exports;var Ia,yn={exports:{}};yn.exports;var qa,vn={exports:{}};vn.exports;var Pa,xn={exports:{}};xn.exports;var Ma,wn={exports:{}};wn.exports;var Ua,En={exports:{}};En.exports;function Cu(){return Ua||(Ua=1,En.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib,n=r.WordArray,i=r.BlockCipher,a=e.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],x=a.DES=i.extend({_doReset:function(){for(var b=this._key.words,u=[],m=0;m<56;m++){var k=o[m]-1;u[m]=b[k>>>5]>>>31-k%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],E.call(this,4,252645135),E.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),E.call(this,1,1431655765);for(var k=0;k<16;k++){for(var S=m[k],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,E.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),E.call(this,16,65535),E.call(this,4,252645135),b[u]=this._lBlock,b[u+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function E(b,u){var m=(this._lBlock>>>b^this._rBlock)&u;this._rBlock^=m,this._lBlock^=m<<b}function v(b,u){var m=(this._rBlock>>>b^this._lBlock)&u;this._lBlock^=m,this._rBlock^=m<<b}e.DES=i._createHelper(x);var w=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),k=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=x.createEncryptor(n.create(u)),this._des2=x.createEncryptor(n.create(m)),this._des3=x.createEncryptor(n.create(k))},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});e.TripleDES=i._createHelper(w)}(),t.TripleDES)),En.exports;var t}var Fa,kn={exports:{}};kn.exports;var ja,An={exports:{}};An.exports;var za,Tn={exports:{}};Tn.exports;var Ha,Dn={exports:{}};Dn.exports;function Iu(){return Ha||(Ha=1,Dn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.BlockCipher,n=e.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(v,w){let b=w>>24&255,u=w>>16&255,m=w>>8&255,k=255&w,S=v.sbox[0][b]+v.sbox[1][u];return S^=v.sbox[2][m],S+=v.sbox[3][k],S}function c(v,w,b){let u,m=w,k=b;for(let S=0;S<i;++S)m^=v.pbox[S],k=l(v,m)^k,u=m,m=k,k=u;return u=m,m=k,k=u,k^=v.pbox[i],m^=v.pbox[i+1],{left:m,right:k}}function y(v,w,b){let u,m=w,k=b;for(let S=i+1;S>1;--S)m^=v.pbox[S],k=l(v,m)^k,u=m,m=k,k=u;return u=m,m=k,k=u,k^=v.pbox[1],m^=v.pbox[0],{left:m,right:k}}function x(v,w,b){for(let d=0;d<4;d++){v.sbox[d]=[];for(let g=0;g<256;g++)v.sbox[d][g]=o[d][g]}let u=0;for(let d=0;d<i+2;d++)v.pbox[d]=a[d]^w[u],u++,u>=b&&(u=0);let m=0,k=0,S=0;for(let d=0;d<i+2;d+=2)S=c(v,m,k),m=S.left,k=S.right,v.pbox[d]=m,v.pbox[d+1]=k;for(let d=0;d<4;d++)for(let g=0;g<256;g+=2)S=c(v,m,k),m=S.left,k=S.right,v.sbox[d][g]=m,v.sbox[d][g+1]=k;return!0}var E=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,w=v.words,b=v.sigBytes/4;x(s,w,b)}},encryptBlock:function(v,w){var b=c(s,v[w],v[w+1]);v[w]=b.left,v[w+1]=b.right},decryptBlock:function(v,w){var b=y(s,v[w],v[w+1]);v[w]=b.left,v[w+1]=b.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=r._createHelper(E)}(),t.Blowfish)),Dn.exports;var t}var Va,dr,$a,Sn,Xe,Nn,Rn;const ye=ur(Va?sa.exports:(Va=1,sa.exports=function(t){return t}(pt(),cr(),Nu(),Ru(),me(),Ou(),be(),fa(),Zr(),(ma||(ma=1,tn.exports=(Rn=pt(),Zr(),$a=(dr=Rn).lib.WordArray,Sn=dr.algo,Xe=Sn.SHA256,Nn=Sn.SHA224=Xe.extend({_doReset:function(){this._hash=new $a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=Xe._doFinalize.call(this);return t.sigBytes-=4,t}}),dr.SHA224=Xe._createHelper(Nn),dr.HmacSHA224=Xe._createHmacHelper(Nn),Rn.SHA224)),tn.exports),ya(),function(){return va||(va=1,rn.exports=(s=pt(),cr(),ya(),e=(t=s).x64,r=e.Word,n=e.WordArray,i=t.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}}),t.SHA384=a._createHelper(o),t.HmacSHA384=a._createHmacHelper(o),s.SHA384)),rn.exports;var t,e,r,n,i,a,o,s}(),Lu(),function(){return wa||(wa=1,an.exports=(t=pt(),function(e){var r=t,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]),x=i.create([0,1518500249,1859775393,2400959708,2840853838]),E=i.create([1352829926,1548603684,1836072691,2053994217,0]),v=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=x.words,V=E.words,ut=s.words,kt=l.words,At=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+ut[_]]|0,M+=_<16?w(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]:k(f,R,C)+U[4],M=(M=S(M|=0,At[_]))+I|0,T=I,I=C,C=S(R,10),R=f,f=M,M=D+d[g+kt[_]]|0,M+=_<16?k(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]:w(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 w(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 k(d,g,_){return d^(g|~_)}function S(d,g){return d<<g|d>>>32-g}r.RIPEMD160=a._createHelper(v),r.HmacRIPEMD160=a._createHmacHelper(v)}(),t.RIPEMD160)),an.exports;var t}(),on(),function(){return ka||(ka=1,ln.exports=(l=pt(),Zr(),on(),e=(t=l).lib,r=e.Base,n=e.WordArray,i=t.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 x=this.cfg,E=o.create(x.hasher,c),v=n.create(),w=n.create([1]),b=v.words,u=w.words,m=x.keySize,k=x.iterations;b.length<m;){var S=E.update(y).finalize(w);E.reset();for(var d=S.words,g=d.length,_=S,h=1;h<k;h++){_=E.finalize(_),E.reset();for(var p=_.words,T=0;T<g;T++)d[T]^=p[T]}v.concat(S),u[0]++}return v.sigBytes=4*m,v}}),t.PBKDF2=function(c,y,x){return s.create(x).compute(c,y)},l.PBKDF2)),ln.exports;var t,e,r,n,i,a,o,s,l}(),le(),Rt(),function(){return Da||(Da=1,dn.exports=(t=pt(),Rt(),t.mode.CFB=function(){var e=t.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 e.Encryptor=e.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)}}),e.Decryptor=e.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}}),e}(),t.mode.CFB)),dn.exports;var t}(),function(){return Sa||(Sa=1,pn.exports=(r=pt(),Rt(),r.mode.CTR=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.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]}}),t.Decryptor=e,t),r.mode.CTR)),pn.exports;var t,e,r}(),Bu(),function(){return Ra||(Ra=1,_n.exports=(r=pt(),Rt(),r.mode.OFB=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.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]}}),t.Decryptor=e,t),r.mode.OFB)),_n.exports;var t,e,r}(),function(){return Oa||(Oa=1,fn.exports=(e=pt(),Rt(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),t.Decryptor=t.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),t),e.mode.ECB)),fn.exports;var t,e}(),function(){return La||(La=1,gn.exports=(t=pt(),Rt(),t.pad.AnsiX923={pad:function(e,r){var n=e.sigBytes,i=4*r,a=i-n%i,o=n+a-1;e.clamp(),e.words[o>>>2]|=a<<24-o%4*8,e.sigBytes+=a},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},t.pad.Ansix923)),gn.exports;var t}(),function(){return Ba||(Ba=1,mn.exports=(t=pt(),Rt(),t.pad.Iso10126={pad:function(e,r){var n=4*r,i=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(i-1)).concat(t.lib.WordArray.create([i<<24],1))},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},t.pad.Iso10126)),mn.exports;var t}(),function(){return Ca||(Ca=1,bn.exports=(t=pt(),Rt(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971)),bn.exports;var t}(),function(){return Ia||(Ia=1,yn.exports=(t=pt(),Rt(),t.pad.ZeroPadding={pad:function(e,r){var n=4*r;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var r=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},t.pad.ZeroPadding)),yn.exports;var t}(),function(){return qa||(qa=1,vn.exports=(t=pt(),Rt(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding)),vn.exports;var t}(),function(){return Pa||(Pa=1,xn.exports=(n=pt(),Rt(),e=(t=n).lib.CipherParams,r=t.enc.Hex,t.format.Hex={stringify:function(i){return i.ciphertext.toString(r)},parse:function(i){var a=r.parse(i);return e.create({ciphertext:a})}},n.format.Hex)),xn.exports;var t,e,r,n}(),function(){return Ma||(Ma=1,wn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,i=[],a=[],o=[],s=[],l=[],c=[],y=[],x=[],E=[],v=[];(function(){for(var u=[],m=0;m<256;m++)u[m]=m<128?m<<1:m<<1^283;var k=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[k]=d,a[d]=k;var g=u[k],_=u[g],h=u[_],p=257*u[d]^16843008*d;o[k]=p<<24|p>>>8,s[k]=p<<16|p>>>16,l[k]=p<<8|p>>>24,c[k]=p,p=16843009*h^65537*_^257*g^16843008*k,y[d]=p<<24|p>>>8,x[d]=p<<16|p>>>16,E[d]=p<<8|p>>>24,v[d]=p,k?(k=g^u[u[u[h^g]]],S^=u[u[S]]):k=S=1}})();var w=[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,k=u.sigBytes/4,S=4*((this._nRounds=k+6)+1),d=this._keySchedule=[],g=0;g<S;g++)g<k?d[g]=m[g]:(p=d[g-1],g%k?k>6&&g%k==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^=w[g/k|0]<<24),d[g]=d[g-k]^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]]^x[i[p>>>16&255]]^E[i[p>>>8&255]]^v[i[255&p]]}}},encryptBlock:function(u,m){this._doCryptBlock(u,m,this._keySchedule,o,s,l,c,i)},decryptBlock:function(u,m){var k=u[m+1];u[m+1]=u[m+3],u[m+3]=k,this._doCryptBlock(u,m,this._invKeySchedule,y,x,E,v,a),k=u[m+1],u[m+1]=u[m+3],u[m+3]=k},_doCryptBlock:function(u,m,k,S,d,g,_,h){for(var p=this._nRounds,T=u[m]^k[0],f=u[m+1]^k[1],R=u[m+2]^k[2],C=u[m+3]^k[3],I=4,D=1;D<p;D++){var P=S[T>>>24]^d[f>>>16&255]^g[R>>>8&255]^_[255&C]^k[I++],F=S[f>>>24]^d[R>>>16&255]^g[C>>>8&255]^_[255&T]^k[I++],H=S[R>>>24]^d[C>>>16&255]^g[T>>>8&255]^_[255&f]^k[I++],G=S[C>>>24]^d[T>>>16&255]^g[f>>>8&255]^_[255&R]^k[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])^k[I++],F=(h[f>>>24]<<24|h[R>>>16&255]<<16|h[C>>>8&255]<<8|h[255&T])^k[I++],H=(h[R>>>24]<<24|h[C>>>16&255]<<16|h[T>>>8&255]<<8|h[255&f])^k[I++],G=(h[C>>>24]<<24|h[T>>>16&255]<<16|h[f>>>8&255]<<8|h[255&R])^k[I++],u[m]=P,u[m+1]=F,u[m+2]=H,u[m+3]=G},keySize:8});e.AES=r._createHelper(b)}(),t.AES)),wn.exports;var t}(),Cu(),function(){return Fa||(Fa=1,kn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=n.RC4=r.extend({_doReset:function(){for(var s=this._key,l=s.words,c=s.sigBytes,y=this._S=[],x=0;x<256;x++)y[x]=x;x=0;for(var E=0;x<256;x++){var v=x%c,w=l[v>>>2]>>>24-v%4*8&255;E=(E+y[x]+w)%256;var b=y[x];y[x]=y[E],y[E]=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,x=0;x<4;x++){c=(c+s[l=(l+1)%256])%256;var E=s[l];s[l]=s[c],s[c]=E,y|=s[(s[l]+s[c])%256]<<24-8*x}return this._i=l,this._j=c,y}e.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)}});e.RC4Drop=r._createHelper(o)}(),t.RC4)),kn.exports;var t}(),function(){return ja||(ja=1,An.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=[],a=[],o=[],s=n.Rabbit=r.extend({_doReset:function(){for(var c=this._key.words,y=this.cfg.iv,x=0;x<4;x++)c[x]=16711935&(c[x]<<8|c[x]>>>24)|4278255360&(c[x]<<24|c[x]>>>8);var E=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],v=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,x=0;x<4;x++)l.call(this);for(x=0;x<8;x++)v[x]^=E[x+4&7];if(y){var w=y.words,b=w[0],u=w[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),k=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&k,d=k<<16|65535&m;for(v[0]^=m,v[1]^=S,v[2]^=k,v[3]^=d,v[4]^=m,v[5]^=S,v[6]^=k,v[7]^=d,x=0;x<4;x++)l.call(this)}},_doProcessBlock:function(c,y){var x=this._X;l.call(this),i[0]=x[0]^x[5]>>>16^x[3]<<16,i[1]=x[2]^x[7]>>>16^x[5]<<16,i[2]=x[4]^x[1]>>>16^x[7]<<16,i[3]=x[6]^x[3]>>>16^x[1]<<16;for(var E=0;E<4;E++)i[E]=16711935&(i[E]<<8|i[E]>>>24)|4278255360&(i[E]<<24|i[E]>>>8),c[y+E]^=i[E]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,x=0;x<8;x++)a[x]=y[x];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,x=0;x<8;x++){var E=c[x]+y[x],v=65535&E,w=E>>>16,b=((v*v>>>17)+v*w>>>15)+w*w,u=((4294901760&E)*E|0)+((65535&E)*E|0);o[x]=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}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),An.exports;var t}(),function(){return za||(za=1,Tn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=[],a=[],o=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var c=this._key.words,y=this.cfg.iv,x=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],E=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 v=0;v<4;v++)l.call(this);for(v=0;v<8;v++)E[v]^=x[v+4&7];if(y){var w=y.words,b=w[0],u=w[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),k=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&k,d=k<<16|65535&m;for(E[0]^=m,E[1]^=S,E[2]^=k,E[3]^=d,E[4]^=m,E[5]^=S,E[6]^=k,E[7]^=d,v=0;v<4;v++)l.call(this)}},_doProcessBlock:function(c,y){var x=this._X;l.call(this),i[0]=x[0]^x[5]>>>16^x[3]<<16,i[1]=x[2]^x[7]>>>16^x[5]<<16,i[2]=x[4]^x[1]>>>16^x[7]<<16,i[3]=x[6]^x[3]>>>16^x[1]<<16;for(var E=0;E<4;E++)i[E]=16711935&(i[E]<<8|i[E]>>>24)|4278255360&(i[E]<<24|i[E]>>>8),c[y+E]^=i[E]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,x=0;x<8;x++)a[x]=y[x];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,x=0;x<8;x++){var E=c[x]+y[x],v=65535&E,w=E>>>16,b=((v*v>>>17)+v*w>>>15)+w*w,u=((4294901760&E)*E|0)+((65535&E)*E|0);o[x]=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}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Tn.exports;var t}(),Iu())));let ue="PENDING",On="",pr={};const qu=["127.0.0.1","localhost"],Pu=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],Ln=(t,e)=>{const r=ye.AES.decrypt(e,"easy_email_pro_"+t).toString(ye.enc.Utf8);return JSON.parse(r)},hr={getToken(){if(typeof document<"u")return function(t){let e="";return document.cookie.split(";").forEach(r=>{const n=r.split("=")[0];n.trim()===t&&(e=r.replace(`${n}=`,""))}),e}("e_e_p")},setToken(t){if(typeof document<"u")return aa("e_e_p",t,3600)},clearToken(){if(typeof document<"u")return aa("e_e_p","",-1)}},Ga=t=>{const e=Pu.find(r=>r.clidText===(n=>{const i=ye.enc.Utf8.parse("easy-email-pro"),a=ye.enc.Utf8.parse("easy-email-pro_multiple_years"),o=ye.mode.CFB,s=ye.pad.Pkcs7,l=n;return ye.AES.encrypt(l,i,{iv:a,mode:o,padding:s}).toString()})(t));if(e){if(e.expiredAt>+new Date/1e3){e.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(e.origins&&!r){if(qu.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!!e.origins.includes(n)}return ue="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let Bn;const Xt=Object.freeze(new class{auth(t){return Lt(this,null,function*(){On=t,Bn||(Bn=Lt(null,null,function*(){if(ue!=="PENDING")return;if(Ga(t))return!0;const e=hr.getToken();if(e)try{const n=Ln(t,e);n.expiredAt>+new Date/1e3&&(ue="SUCCESS",pr=n)}catch{hr.clearToken()}const r=()=>Lt(null,null,function*(){try{const n=t==="FREE"?"https://api.beacas.com":"https://api.easyemail.pro",{data:i}=yield ia(`${n}/api/public/token?client_id=${t}&v=1.59.6`,{method:"GET",withCredentials:!1});pr=Ln(t,i.access_token),hr.setToken(i.access_token),ue="SUCCESS"}catch{try{const{data:i}=yield ia(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${t}&v=1.59.6`,{method:"GET"});pr=Ln(t,i.access_token),hr.setToken(i.access_token),ue="SUCCESS"}catch(i){throw console.log("error",i),ue="ERROR",i}}});ue==="SUCCESS"?r():yield r()})),yield Bn})}get clientId(){return On}getAuthState(){return ue}getFeatureEnabled(t){return!!Ga(On)||rt(pr,"features",[]).includes(t)}});let Wa={},Ka=!1,Cn=!1;const In=Object.freeze(new class{checkLocaleData(){return Lt(this,null,function*(){const t=setInterval(()=>{Xt.getAuthState()==="SUCCESS"&&(Ka=Xt.getFeatureEnabled("LOCALIZATION"),Cn=!0,clearInterval(t))},100)})}setLocaleData(t){Wa=t,Cn||this.checkLocaleData()}translate(t,e){return this.translateWithParams(t,e)}translateWithParams(t,e){if(Cn&&!Ka)throw new Error("Current plan do not support localization");const r=rt(Wa,t,t);if(!e)return r;const n=r.split("***");return n.splice(1,0,e),te(e)?n.join(""):O.createElement(O.Fragment,null,n.map((i,a)=>O.createElement(O.Fragment,{key:a},i)))}}),Q=In.translate.bind(In),Xa=".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"},st={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"},Ja={FOR_EACH:"logic-for-each",SHOW:"logic-show"},L=q(q(q({},K),st),Ja),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"},Ya="easy_email_pro_preview_content_editable",qn="easy_email_pro_slate_node_placeholder",Pn="easy_email_pro_slate_code_block",Qa=["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=()=>Ge(Za),Je=t=>O.createElement(Za.Provider,{value:{context:t.context}},t.children);class Fn{constructor(e){at(this,"mode"),at(this,"headItems",[]),at(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=e.mode}getHeadContent(){return[...new Set(this.headItems.map(e=>e.content))].join(`
|
|
1
|
+
var du=Object.defineProperty,pu=Object.defineProperties,hu=Object.getOwnPropertyDescriptors,or=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable,Fr=(t,e,r)=>e in t?du(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,q=(t,e)=>{for(var r in e||(e={}))ea.call(e,r)&&Fr(t,r,e[r]);if(or)for(var r of or(e))ra.call(e,r)&&Fr(t,r,e[r]);return t},X=(t,e)=>pu(t,hu(e)),_t=(t,e)=>{var r={};for(var n in t)ea.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&or)for(var n of or(t))e.indexOf(n)<0&&ra.call(t,n)&&(r[n]=t[n]);return r},at=(t,e,r)=>Fr(t,typeof e!="symbol"?e+"":e,r),Lt=(t,e,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(t,e)).next())});import{mergeWith as _u,cloneDeep as Tt,isArray as fu,get as rt,isString as te,set as qt,camelCase as na,omit as oe,forOwn as gu,isUndefined as jr,isNumber as mu,isBoolean as bu,merge as zr,pick as yu,startCase as vu,chunk as xu,pickBy as lr,identity as wu}from"lodash";import O,{useContext as Ge,useMemo as Eu,isValidElement as ku}from"react";import ia from"axios";import{renderToStaticMarkup as We}from"react-dom/server";function ge(...t){return t.filter(e=>typeof e=="string").join(" ")}function Au(t){return t}function Tu(t){return t}function Y(t,e){return _u(Tt(t),Tt(e),(r,n)=>fu(n)?n:void 0)}function aa(t,e,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=t+"="+e+";"+i}var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Du(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var sa={exports:{}};function Hr(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Vr={exports:{}};const Su=Du(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var oa;Vr.exports;function pt(){return oa||(oa=1,Vr.exports=(t=t||function(e,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&&Ke!==void 0&&Ke.crypto&&(n=Ke.crypto),!n)try{n=Su}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 k;return u.prototype=m,k=new u,u.prototype=null,k}}(),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||x).stringify(this)},concat:function(u){var m=this.words,k=u.words,S=this.sigBytes,d=u.sigBytes;if(this.clamp(),S%4)for(var g=0;g<d;g++){var p=k[g>>>2]>>>24-g%4*8&255;m[S+g>>>2]|=p<<24-(S+g)%4*8}else for(var _=0;_<d;_+=4)m[S+_>>>2]=k[_>>>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=e.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=[],k=0;k<u;k+=4)m.push(i());return new c.init(m,u)}}),y=o.enc={},x=y.Hex={stringify:function(u){for(var m=u.words,k=u.sigBytes,S=[],d=0;d<k;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,k=[],S=0;S<m;S+=2)k[S>>>3]|=parseInt(u.substr(S,2),16)<<24-S%8*4;return new c.init(k,m/2)}},E=y.Latin1={stringify:function(u){for(var m=u.words,k=u.sigBytes,S=[],d=0;d<k;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,k=[],S=0;S<m;S++)k[S>>>2]|=(255&u.charCodeAt(S))<<24-S%4*8;return new c.init(k,m)}},v=y.Utf8={stringify:function(u){try{return decodeURIComponent(escape(E.stringify(u)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(u){return E.parse(unescape(encodeURIComponent(u)))}},w=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(u){typeof u=="string"&&(u=v.parse(u)),this._data.concat(u),this._nDataBytes+=u.sigBytes},_process:function(u){var m,k=this._data,S=k.words,d=k.sigBytes,g=this.blockSize,p=d/(4*g),_=(p=u?e.ceil(p):e.max((0|p)-this._minBufferSize,0))*g,h=e.min(4*_,d);if(_){for(var T=0;T<_;T+=g)this._doProcessBlock(S,T);m=S.splice(0,_),k.sigBytes-=h}return new c.init(m,h)},clone:function(){var u=l.clone.call(this);return u._data=this._data.clone(),u},_minBufferSize:0});s.Hasher=w.extend({cfg:l.extend(),init:function(u){this.cfg=this.cfg.extend(u),this.reset()},reset:function(){w.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,k){return new u.init(k).finalize(m)}},_createHmacHelper:function(u){return function(m,k){return new b.HMAC.init(u,k).finalize(m)}}});var b=o.algo={};return o}(Math),t)),Vr.exports;var t}var la,$r={exports:{}};$r.exports;function cr(){return la||(la=1,$r.exports=(o=pt(),r=(e=o).lib,n=r.Base,i=r.WordArray,(a=e.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!=t?l:8*s.length},toX32:function(){for(var s=this.words,l=s.length,c=[],y=0;y<l;y++){var x=s[y];c.push(x.high),c.push(x.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 t,e,r,n,i,a,o}var ua,Gr={exports:{}};Gr.exports;function Nu(){return ua||(ua=1,Gr.exports=(t=pt(),function(){if(typeof ArrayBuffer=="function"){var e=t.lib.WordArray,r=e.init,n=e.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=e}}(),t.lib.WordArray)),Gr.exports;var t}var ca,Wr={exports:{}};Wr.exports;function Ru(){return ca||(ca=1,Wr.exports=(t=pt(),function(){var e=t,r=e.lib.WordArray,n=e.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)}}}(),t.enc.Utf16)),Wr.exports;var t}var da,Kr={exports:{}};Kr.exports;function me(){return da||(da=1,Kr.exports=(t=pt(),function(){var e=t,r=e.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)}e.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,x=0;x<4&&c+.75*x<o;x++)l.push(s.charAt(y>>>6*(3-x)&63));var E=s.charAt(64);if(E)for(;l.length%4;)l.push(E);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+/="}}(),t.enc.Base64)),Kr.exports;var t}var pa,Xr={exports:{}};Xr.exports;function Ou(){return pa||(pa=1,Xr.exports=(t=pt(),function(){var e=t,r=e.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)}e.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 x=(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,E=0;E<4&&y+.75*E<s;E++)c.push(l.charAt(x>>>6*(3-E)&63));var v=l.charAt(64);if(v)for(;c.length%4;)c.push(v);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 x=i.indexOf(y);x!==-1&&(o=x)}return n(i,o,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),t.enc.Base64url)),Xr.exports;var t}var ha,Jr={exports:{}};Jr.exports;function be(){return ha||(ha=1,Jr.exports=(t=pt(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[];(function(){for(var v=0;v<64;v++)s[v]=4294967296*e.abs(e.sin(v+1))|0})();var l=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,w){for(var b=0;b<16;b++){var u=w+b,m=v[u];v[u]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var k=this._hash.words,S=v[w+0],d=v[w+1],g=v[w+2],p=v[w+3],_=v[w+4],h=v[w+5],T=v[w+6],f=v[w+7],R=v[w+8],C=v[w+9],I=v[w+10],D=v[w+11],P=v[w+12],F=v[w+13],H=v[w+14],G=v[w+15],M=k[0],j=k[1],U=k[2],V=k[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,p,22,s[3]),M=c(M,j,U,V,_,7,s[4]),V=c(V,M,j,U,h,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,h,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,_,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,p,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=x(M,j=y(j,U,V,M,P,20,s[31]),U,V,h,4,s[32]),V=x(V,M,j,U,R,11,s[33]),U=x(U,V,M,j,D,16,s[34]),j=x(j,U,V,M,H,23,s[35]),M=x(M,j,U,V,d,4,s[36]),V=x(V,M,j,U,_,11,s[37]),U=x(U,V,M,j,f,16,s[38]),j=x(j,U,V,M,I,23,s[39]),M=x(M,j,U,V,F,4,s[40]),V=x(V,M,j,U,S,11,s[41]),U=x(U,V,M,j,p,16,s[42]),j=x(j,U,V,M,T,23,s[43]),M=x(M,j,U,V,C,4,s[44]),V=x(V,M,j,U,P,11,s[45]),U=x(U,V,M,j,G,16,s[46]),M=E(M,j=x(j,U,V,M,g,23,s[47]),U,V,S,6,s[48]),V=E(V,M,j,U,f,10,s[49]),U=E(U,V,M,j,H,15,s[50]),j=E(j,U,V,M,h,21,s[51]),M=E(M,j,U,V,P,6,s[52]),V=E(V,M,j,U,p,10,s[53]),U=E(U,V,M,j,I,15,s[54]),j=E(j,U,V,M,d,21,s[55]),M=E(M,j,U,V,R,6,s[56]),V=E(V,M,j,U,G,10,s[57]),U=E(U,V,M,j,T,15,s[58]),j=E(j,U,V,M,F,21,s[59]),M=E(M,j,U,V,_,6,s[60]),V=E(V,M,j,U,D,10,s[61]),U=E(U,V,M,j,g,15,s[62]),j=E(j,U,V,M,C,21,s[63]),k[0]=k[0]+M|0,k[1]=k[1]+j|0,k[2]=k[2]+U|0,k[3]=k[3]+V|0},_doFinalize:function(){var v=this._data,w=v.words,b=8*this._nDataBytes,u=8*v.sigBytes;w[u>>>5]|=128<<24-u%32;var m=e.floor(b/4294967296),k=b;w[15+(u+64>>>9<<4)]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),w[14+(u+64>>>9<<4)]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),v.sigBytes=4*(w.length+1),this._process();for(var S=this._hash,d=S.words,g=0;g<4;g++){var p=d[g];d[g]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return S},clone:function(){var v=a.clone.call(this);return v._hash=this._hash.clone(),v}});function c(v,w,b,u,m,k,S){var d=v+(w&b|~w&u)+m+S;return(d<<k|d>>>32-k)+w}function y(v,w,b,u,m,k,S){var d=v+(w&u|b&~u)+m+S;return(d<<k|d>>>32-k)+w}function x(v,w,b,u,m,k,S){var d=v+(w^b^u)+m+S;return(d<<k|d>>>32-k)+w}function E(v,w,b,u,m,k,S){var d=v+(b^(w|~u))+m+S;return(d<<k|d>>>32-k)+w}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),t.MD5)),Jr.exports;var t}var _a,Yr={exports:{}};Yr.exports;function fa(){return _a||(_a=1,Yr.exports=(s=pt(),e=(t=s).lib,r=e.WordArray,n=e.Hasher,i=t.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,x=y[0],E=y[1],v=y[2],w=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 k=(x<<5|x>>>27)+b+a[u];k+=u<20?1518500249+(E&v|~E&w):u<40?1859775393+(E^v^w):u<60?(E&v|E&w|v&w)-1894007588:(E^v^w)-899497514,b=w,w=v,v=E<<30|E>>>2,E=x,x=k}y[0]=y[0]+x|0,y[1]=y[1]+E|0,y[2]=y[2]+v|0,y[3]=y[3]+w|0,y[4]=y[4]+b|0},_doFinalize:function(){var l=this._data,c=l.words,y=8*this._nDataBytes,x=8*l.sigBytes;return c[x>>>5]|=128<<24-x%32,c[14+(x+64>>>9<<4)]=Math.floor(y/4294967296),c[15+(x+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}}),t.SHA1=n._createHelper(o),t.HmacSHA1=n._createHmacHelper(o),s.SHA1)),Yr.exports;var t,e,r,n,i,a,o,s}var ga,Qr={exports:{}};Qr.exports;function Zr(){return ga||(ga=1,Qr.exports=(t=pt(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.algo,s=[],l=[];(function(){function x(b){for(var u=e.sqrt(b),m=2;m<=u;m++)if(!(b%m))return!1;return!0}function E(b){return 4294967296*(b-(0|b))|0}for(var v=2,w=0;w<64;)x(v)&&(w<8&&(s[w]=E(e.pow(v,.5))),l[w]=E(e.pow(v,1/3)),w++),v++})();var c=[],y=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(x,E){for(var v=this._hash.words,w=v[0],b=v[1],u=v[2],m=v[3],k=v[4],S=v[5],d=v[6],g=v[7],p=0;p<64;p++){if(p<16)c[p]=0|x[E+p];else{var _=c[p-15],h=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,T=c[p-2],f=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;c[p]=h+c[p-7]+f+c[p-16]}var R=w&b^w&u^b&u,C=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),I=g+((k<<26|k>>>6)^(k<<21|k>>>11)^(k<<7|k>>>25))+(k&S^~k&d)+l[p]+c[p];g=d,d=S,S=k,k=m+I|0,m=u,u=b,b=w,w=I+(C+R)|0}v[0]=v[0]+w|0,v[1]=v[1]+b|0,v[2]=v[2]+u|0,v[3]=v[3]+m|0,v[4]=v[4]+k|0,v[5]=v[5]+S|0,v[6]=v[6]+d|0,v[7]=v[7]+g|0},_doFinalize:function(){var x=this._data,E=x.words,v=8*this._nDataBytes,w=8*x.sigBytes;return E[w>>>5]|=128<<24-w%32,E[14+(w+64>>>9<<4)]=e.floor(v/4294967296),E[15+(w+64>>>9<<4)]=v,x.sigBytes=4*E.length,this._process(),this._hash},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x}});r.SHA256=a._createHelper(y),r.HmacSHA256=a._createHmacHelper(y)}(Math),t.SHA256)),Qr.exports;var t}var ma,tn={exports:{}};tn.exports;var ba,en={exports:{}};en.exports;function ya(){return ba||(ba=1,en.exports=(t=pt(),cr(),function(){var e=t,r=e.lib.Hasher,n=e.x64,i=n.Word,a=n.WordArray,o=e.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 x=0;x<80;x++)c[x]=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(x,E){for(var v=this._hash.words,w=v[0],b=v[1],u=v[2],m=v[3],k=v[4],S=v[5],d=v[6],g=v[7],p=w.high,_=w.low,h=b.high,T=b.low,f=u.high,R=u.low,C=m.high,I=m.low,D=k.high,P=k.low,F=S.high,H=S.low,G=d.high,M=d.low,j=g.high,U=g.low,V=p,ut=_,kt=h,At=T,J=f,A=R,N=C,B=I,$=D,W=P,Z=F,ct=H,bt=G,wt=M,It=j,Nt=U,vt=0;vt<80;vt++){var xt,yt,$t=c[vt];if(vt<16)yt=$t.high=0|x[E+2*vt],xt=$t.low=0|x[E+2*vt+1];else{var ze=c[vt-15],Ne=ze.high,He=ze.low,Zl=(Ne>>>1|He<<31)^(Ne>>>8|He<<24)^Ne>>>7,Vi=(He>>>1|Ne<<31)^(He>>>8|Ne<<24)^(He>>>7|Ne<<25),$i=c[vt-2],Re=$i.high,Ve=$i.low,tu=(Re>>>19|Ve<<13)^(Re<<3|Ve>>>29)^Re>>>6,Gi=(Ve>>>19|Re<<13)^(Ve<<3|Re>>>29)^(Ve>>>6|Re<<26),Wi=c[vt-7],eu=Wi.high,ru=Wi.low,Ki=c[vt-16],nu=Ki.high,Xi=Ki.low;yt=(yt=(yt=Zl+eu+((xt=Vi+ru)>>>0<Vi>>>0?1:0))+tu+((xt+=Gi)>>>0<Gi>>>0?1:0))+nu+((xt+=Xi)>>>0<Xi>>>0?1:0),$t.high=yt,$t.low=xt}var fe,iu=$&Z^~$&bt,Ji=W&ct^~W&wt,au=V&kt^V&J^kt&J,su=ut&At^ut&A^At&A,ou=(V>>>28|ut<<4)^(V<<30|ut>>>2)^(V<<25|ut>>>7),Yi=(ut>>>28|V<<4)^(ut<<30|V>>>2)^(ut<<25|V>>>7),lu=($>>>14|W<<18)^($>>>18|W<<14)^($<<23|W>>>9),uu=(W>>>14|$<<18)^(W>>>18|$<<14)^(W<<23|$>>>9),Qi=l[vt],cu=Qi.high,Zi=Qi.low,$e=It+lu+((fe=Nt+uu)>>>0<Nt>>>0?1:0),ta=Yi+su;It=bt,Nt=wt,bt=Z,wt=ct,Z=$,ct=W,$=N+($e=($e=($e=$e+iu+((fe+=Ji)>>>0<Ji>>>0?1:0))+cu+((fe+=Zi)>>>0<Zi>>>0?1:0))+yt+((fe+=xt)>>>0<xt>>>0?1:0))+((W=B+fe|0)>>>0<B>>>0?1:0)|0,N=J,B=A,J=kt,A=At,kt=V,At=ut,V=$e+(ou+au+(ta>>>0<Yi>>>0?1:0))+((ut=fe+ta|0)>>>0<fe>>>0?1:0)|0}_=w.low=_+ut,w.high=p+V+(_>>>0<ut>>>0?1:0),T=b.low=T+At,b.high=h+kt+(T>>>0<At>>>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=k.low=P+W,k.high=D+$+(P>>>0<W>>>0?1:0),H=S.low=H+ct,S.high=F+Z+(H>>>0<ct>>>0?1:0),M=d.low=M+wt,d.high=G+bt+(M>>>0<wt>>>0?1:0),U=g.low=U+Nt,g.high=j+It+(U>>>0<Nt>>>0?1:0)},_doFinalize:function(){var x=this._data,E=x.words,v=8*this._nDataBytes,w=8*x.sigBytes;return E[w>>>5]|=128<<24-w%32,E[30+(w+128>>>10<<5)]=Math.floor(v/4294967296),E[31+(w+128>>>10<<5)]=v,x.sigBytes=4*E.length,this._process(),this._hash.toX32()},clone:function(){var x=r.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:32});e.SHA512=r._createHelper(y),e.HmacSHA512=r._createHmacHelper(y)}(),t.SHA512)),en.exports;var t}var va,rn={exports:{}};rn.exports;var xa,nn={exports:{}};nn.exports;function Lu(){return xa||(xa=1,nn.exports=(t=pt(),cr(),function(e){var r=t,n=r.lib,i=n.WordArray,a=n.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],y=[];(function(){for(var v=1,w=0,b=0;b<24;b++){l[v+5*w]=(b+1)*(b+2)/2%64;var u=(2*v+3*w)%5;v=w%5,w=u}for(v=0;v<5;v++)for(w=0;w<5;w++)c[v+5*w]=w+(2*v+3*w)%5*5;for(var m=1,k=0;k<24;k++){for(var S=0,d=0,g=0;g<7;g++){if(1&m){var p=(1<<g)-1;p<32?d^=1<<p:S^=1<<p-32}128&m?m=m<<1^113:m<<=1}y[k]=o.create(S,d)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=o.create()})();var E=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],w=0;w<25;w++)v[w]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,w){for(var b=this._state,u=this.blockSize/2,m=0;m<u;m++){var k=v[w+2*m],S=v[w+2*m+1];k=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8),S=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),(U=b[m]).high^=S,U.low^=k}for(var d=0;d<24;d++){for(var g=0;g<5;g++){for(var p=0,_=0,h=0;h<5;h++)p^=(U=b[g+5*h]).high,_^=U.low;var T=x[g];T.high=p,T.low=_}for(g=0;g<5;g++){var f=x[(g+4)%5],R=x[(g+1)%5],C=R.high,I=R.low;for(p=f.high^(C<<1|I>>>31),_=f.low^(I<<1|C>>>31),h=0;h<5;h++)(U=b[g+5*h]).high^=p,U.low^=_}for(var D=1;D<25;D++){var P=(U=b[D]).high,F=U.low,H=l[D];H<32?(p=P<<H|F>>>32-H,_=F<<H|P>>>32-H):(p=F<<H-32|P>>>64-H,_=P<<H-32|F>>>64-H);var G=x[c[D]];G.high=p,G.low=_}var M=x[0],j=b[0];for(M.high=j.high,M.low=j.low,g=0;g<5;g++)for(h=0;h<5;h++){var U=b[D=g+5*h],V=x[D],ut=x[(g+1)%5+5*h],kt=x[(g+2)%5+5*h];U.high=V.high^~ut.high&kt.high,U.low=V.low^~ut.low&kt.low}U=b[0];var At=y[d];U.high^=At.high,U.low^=At.low}},_doFinalize:function(){var v=this._data,w=v.words;this._nDataBytes;var b=8*v.sigBytes,u=32*this.blockSize;w[b>>>5]|=1<<24-b%32,w[(e.ceil((b+1)/u)*u>>>5)-1]|=128,v.sigBytes=4*w.length,this._process();for(var m=this._state,k=this.cfg.outputLength/8,S=k/8,d=[],g=0;g<S;g++){var p=m[g],_=p.high,h=p.low;_=16711935&(_<<8|_>>>24)|4278255360&(_<<24|_>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),d.push(h),d.push(_)}return new i.init(d,k)},clone:function(){for(var v=a.clone.call(this),w=v._state=this._state.slice(0),b=0;b<25;b++)w[b]=w[b].clone();return v}});r.SHA3=a._createHelper(E),r.HmacSHA3=a._createHmacHelper(E)}(Math),t.SHA3)),nn.exports;var t}var wa,an={exports:{}};an.exports;var Ea,sn={exports:{}};sn.exports;function on(){return Ea||(Ea=1,sn.exports=(t=pt(),r=(e=t).lib.Base,n=e.enc.Utf8,void(e.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,x=c.words,E=0;E<o;E++)y[E]^=1549556828,x[E]^=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 t,e,r,n}var ka,ln={exports:{}};ln.exports;var Aa,un={exports:{}};un.exports;function le(){return Aa||(Aa=1,un.exports=(s=pt(),fa(),on(),e=(t=s).lib,r=e.Base,n=e.WordArray,i=t.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,x=this.cfg,E=x.hasher.create(),v=n.create(),w=v.words,b=x.keySize,u=x.iterations;w.length<b;){y&&E.update(y),y=E.update(l).finalize(c),E.reset();for(var m=1;m<u;m++)y=E.finalize(y),E.reset();v.concat(y)}return v.sigBytes=4*b,v}}),t.EvpKDF=function(l,c,y){return o.create(y).compute(l,c)},s.EvpKDF)),un.exports;var t,e,r,n,i,a,o,s}var Ta,cn={exports:{}};cn.exports;function Rt(){return Ta||(Ta=1,cn.exports=(t=pt(),le(),void(t.lib.Cipher||function(e){var r=t,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,p){this.cfg=this.cfg.extend(p),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(p,_,h){return d(_).encrypt(g,p,_,h)},decrypt:function(p,_,h){return d(_).decrypt(g,p,_,h)}}}}()});n.StreamCipher=y.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var x=r.mode={},E=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}}),v=x.CBC=function(){var d=E.extend();function g(p,_,h){var T,f=this._iv;f?(T=f,this._iv=e):T=this._prevBlock;for(var R=0;R<h;R++)p[_+R]^=T[R]}return d.Encryptor=d.extend({processBlock:function(p,_){var h=this._cipher,T=h.blockSize;g.call(this,p,_,T),h.encryptBlock(p,_),this._prevBlock=p.slice(_,_+T)}}),d.Decryptor=d.extend({processBlock:function(p,_){var h=this._cipher,T=h.blockSize,f=p.slice(_,_+T);h.decryptBlock(p,_),g.call(this,p,_,T),this._prevBlock=f}}),d}(),w=(r.pad={}).Pkcs7={pad:function(d,g){for(var p=4*g,_=p-d.sigBytes%p,h=_<<24|_<<16|_<<8|_,T=[],f=0;f<_;f+=4)T.push(h);var R=a.create(T,_);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:v,padding:w}),reset:function(){var d;y.reset.call(this);var g=this.cfg,p=g.iv,_=g.mode;this._xformMode==this._ENC_XFORM_MODE?d=_.createEncryptor:(d=_.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==d?this._mode.init(this,p&&p.words):(this._mode=d.call(_,this,p&&p.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,p=d.salt;return(p?a.create([1398893684,1701076831]).concat(p).concat(g):g).toString(l)},parse:function(d){var g,p=l.parse(d),_=p.words;return _[0]==1398893684&&_[1]==1701076831&&(g=a.create(_.slice(2,4)),_.splice(0,4),p.sigBytes-=16),b.create({ciphertext:p,salt:g})}},m=n.SerializableCipher=i.extend({cfg:i.extend({format:u}),encrypt:function(d,g,p,_){_=this.cfg.extend(_);var h=d.createEncryptor(p,_),T=h.finalize(g),f=h.cfg;return b.create({ciphertext:T,key:p,iv:f.iv,algorithm:d,mode:f.mode,padding:f.padding,blockSize:d.blockSize,formatter:_.format})},decrypt:function(d,g,p,_){return _=this.cfg.extend(_),g=this._parse(g,_.format),d.createDecryptor(p,_).finalize(g.ciphertext)},_parse:function(d,g){return typeof d=="string"?g.parse(d,this):d}}),k=(r.kdf={}).OpenSSL={execute:function(d,g,p,_,h){if(_||(_=a.random(8)),h)T=c.create({keySize:g+p,hasher:h}).compute(d,_);else var T=c.create({keySize:g+p}).compute(d,_);var f=a.create(T.words.slice(g),4*p);return T.sigBytes=4*g,b.create({key:T,iv:f,salt:_})}},S=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:k}),encrypt:function(d,g,p,_){var h=(_=this.cfg.extend(_)).kdf.execute(p,d.keySize,d.ivSize,_.salt,_.hasher);_.iv=h.iv;var T=m.encrypt.call(this,d,g,h.key,_);return T.mixIn(h),T},decrypt:function(d,g,p,_){_=this.cfg.extend(_),g=this._parse(g,_.format);var h=_.kdf.execute(p,d.keySize,d.ivSize,g.salt,_.hasher);return _.iv=h.iv,m.decrypt.call(this,d,g,h.key,_)}})}()))),cn.exports;var t}var Da,dn={exports:{}};dn.exports;var Sa,pn={exports:{}};pn.exports;var Na,hn={exports:{}};hn.exports;function Bu(){return Na||(Na=1,hn.exports=(t=pt(),Rt(),t.mode.CTRGladman=function(){var e=t.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=e.Encryptor=e.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 x=y.slice(0);s.encryptBlock(x,0);for(var E=0;E<l;E++)a[o+E]^=x[E]}});return e.Decryptor=i,e}(),t.mode.CTRGladman)),hn.exports;var t}var Ra,_n={exports:{}};_n.exports;var Oa,fn={exports:{}};fn.exports;var La,gn={exports:{}};gn.exports;var Ba,mn={exports:{}};mn.exports;var Ca,bn={exports:{}};bn.exports;var Ia,yn={exports:{}};yn.exports;var qa,vn={exports:{}};vn.exports;var Pa,xn={exports:{}};xn.exports;var Ma,wn={exports:{}};wn.exports;var Ua,En={exports:{}};En.exports;function Cu(){return Ua||(Ua=1,En.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib,n=r.WordArray,i=r.BlockCipher,a=e.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],x=a.DES=i.extend({_doReset:function(){for(var b=this._key.words,u=[],m=0;m<56;m++){var k=o[m]-1;u[m]=b[k>>>5]>>>31-k%32&1}for(var S=this._subKeys=[],d=0;d<16;d++){var g=S[d]=[],p=l[d];for(m=0;m<24;m++)g[m/6|0]|=u[(s[m]-1+p)%28]<<31-m%6,g[4+(m/6|0)]|=u[28+(s[m+24]-1+p)%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 _=this._invSubKeys=[];for(m=0;m<16;m++)_[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],E.call(this,4,252645135),E.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),E.call(this,1,1431655765);for(var k=0;k<16;k++){for(var S=m[k],d=this._lBlock,g=this._rBlock,p=0,_=0;_<8;_++)p|=c[_][((g^S[_])&y[_])>>>0];this._lBlock=g,this._rBlock=d^p}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,E.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),E.call(this,16,65535),E.call(this,4,252645135),b[u]=this._lBlock,b[u+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function E(b,u){var m=(this._lBlock>>>b^this._rBlock)&u;this._rBlock^=m,this._lBlock^=m<<b}function v(b,u){var m=(this._rBlock>>>b^this._lBlock)&u;this._lBlock^=m,this._rBlock^=m<<b}e.DES=i._createHelper(x);var w=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),k=b.length<6?b.slice(0,2):b.slice(4,6);this._des1=x.createEncryptor(n.create(u)),this._des2=x.createEncryptor(n.create(m)),this._des3=x.createEncryptor(n.create(k))},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});e.TripleDES=i._createHelper(w)}(),t.TripleDES)),En.exports;var t}var Fa,kn={exports:{}};kn.exports;var ja,An={exports:{}};An.exports;var za,Tn={exports:{}};Tn.exports;var Ha,Dn={exports:{}};Dn.exports;function Iu(){return Ha||(Ha=1,Dn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.BlockCipher,n=e.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(v,w){let b=w>>24&255,u=w>>16&255,m=w>>8&255,k=255&w,S=v.sbox[0][b]+v.sbox[1][u];return S^=v.sbox[2][m],S+=v.sbox[3][k],S}function c(v,w,b){let u,m=w,k=b;for(let S=0;S<i;++S)m^=v.pbox[S],k=l(v,m)^k,u=m,m=k,k=u;return u=m,m=k,k=u,k^=v.pbox[i],m^=v.pbox[i+1],{left:m,right:k}}function y(v,w,b){let u,m=w,k=b;for(let S=i+1;S>1;--S)m^=v.pbox[S],k=l(v,m)^k,u=m,m=k,k=u;return u=m,m=k,k=u,k^=v.pbox[1],m^=v.pbox[0],{left:m,right:k}}function x(v,w,b){for(let d=0;d<4;d++){v.sbox[d]=[];for(let g=0;g<256;g++)v.sbox[d][g]=o[d][g]}let u=0;for(let d=0;d<i+2;d++)v.pbox[d]=a[d]^w[u],u++,u>=b&&(u=0);let m=0,k=0,S=0;for(let d=0;d<i+2;d+=2)S=c(v,m,k),m=S.left,k=S.right,v.pbox[d]=m,v.pbox[d+1]=k;for(let d=0;d<4;d++)for(let g=0;g<256;g+=2)S=c(v,m,k),m=S.left,k=S.right,v.sbox[d][g]=m,v.sbox[d][g+1]=k;return!0}var E=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,w=v.words,b=v.sigBytes/4;x(s,w,b)}},encryptBlock:function(v,w){var b=c(s,v[w],v[w+1]);v[w]=b.left,v[w+1]=b.right},decryptBlock:function(v,w){var b=y(s,v[w],v[w+1]);v[w]=b.left,v[w+1]=b.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=r._createHelper(E)}(),t.Blowfish)),Dn.exports;var t}var Va,dr,$a,Sn,Xe,Nn,Rn;const ye=ur(Va?sa.exports:(Va=1,sa.exports=function(t){return t}(pt(),cr(),Nu(),Ru(),me(),Ou(),be(),fa(),Zr(),(ma||(ma=1,tn.exports=(Rn=pt(),Zr(),$a=(dr=Rn).lib.WordArray,Sn=dr.algo,Xe=Sn.SHA256,Nn=Sn.SHA224=Xe.extend({_doReset:function(){this._hash=new $a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=Xe._doFinalize.call(this);return t.sigBytes-=4,t}}),dr.SHA224=Xe._createHelper(Nn),dr.HmacSHA224=Xe._createHmacHelper(Nn),Rn.SHA224)),tn.exports),ya(),function(){return va||(va=1,rn.exports=(s=pt(),cr(),ya(),e=(t=s).x64,r=e.Word,n=e.WordArray,i=t.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}}),t.SHA384=a._createHelper(o),t.HmacSHA384=a._createHmacHelper(o),s.SHA384)),rn.exports;var t,e,r,n,i,a,o,s}(),Lu(),function(){return wa||(wa=1,an.exports=(t=pt(),function(e){var r=t,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]),x=i.create([0,1518500249,1859775393,2400959708,2840853838]),E=i.create([1352829926,1548603684,1836072691,2053994217,0]),v=o.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,g){for(var p=0;p<16;p++){var _=g+p,h=d[_];d[_]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}var T,f,R,C,I,D,P,F,H,G,M,j=this._hash.words,U=x.words,V=E.words,ut=s.words,kt=l.words,At=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],p=0;p<80;p+=1)M=T+d[g+ut[p]]|0,M+=p<16?w(f,R,C)+U[0]:p<32?b(f,R,C)+U[1]:p<48?u(f,R,C)+U[2]:p<64?m(f,R,C)+U[3]:k(f,R,C)+U[4],M=(M=S(M|=0,At[p]))+I|0,T=I,I=C,C=S(R,10),R=f,f=M,M=D+d[g+kt[p]]|0,M+=p<16?k(P,F,H)+V[0]:p<32?m(P,F,H)+V[1]:p<48?u(P,F,H)+V[2]:p<64?b(P,F,H)+V[3]:w(P,F,H)+V[4],M=(M=S(M|=0,J[p]))+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,p=8*this._nDataBytes,_=8*d.sigBytes;g[_>>>5]|=128<<24-_%32,g[14+(_+64>>>9<<4)]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),d.sigBytes=4*(g.length+1),this._process();for(var h=this._hash,T=h.words,f=0;f<5;f++){var R=T[f];T[f]=16711935&(R<<8|R>>>24)|4278255360&(R<<24|R>>>8)}return h},clone:function(){var d=a.clone.call(this);return d._hash=this._hash.clone(),d}});function w(d,g,p){return d^g^p}function b(d,g,p){return d&g|~d&p}function u(d,g,p){return(d|~g)^p}function m(d,g,p){return d&p|g&~p}function k(d,g,p){return d^(g|~p)}function S(d,g){return d<<g|d>>>32-g}r.RIPEMD160=a._createHelper(v),r.HmacRIPEMD160=a._createHmacHelper(v)}(),t.RIPEMD160)),an.exports;var t}(),on(),function(){return ka||(ka=1,ln.exports=(l=pt(),Zr(),on(),e=(t=l).lib,r=e.Base,n=e.WordArray,i=t.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 x=this.cfg,E=o.create(x.hasher,c),v=n.create(),w=n.create([1]),b=v.words,u=w.words,m=x.keySize,k=x.iterations;b.length<m;){var S=E.update(y).finalize(w);E.reset();for(var d=S.words,g=d.length,p=S,_=1;_<k;_++){p=E.finalize(p),E.reset();for(var h=p.words,T=0;T<g;T++)d[T]^=h[T]}v.concat(S),u[0]++}return v.sigBytes=4*m,v}}),t.PBKDF2=function(c,y,x){return s.create(x).compute(c,y)},l.PBKDF2)),ln.exports;var t,e,r,n,i,a,o,s,l}(),le(),Rt(),function(){return Da||(Da=1,dn.exports=(t=pt(),Rt(),t.mode.CFB=function(){var e=t.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 e.Encryptor=e.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)}}),e.Decryptor=e.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}}),e}(),t.mode.CFB)),dn.exports;var t}(),function(){return Sa||(Sa=1,pn.exports=(r=pt(),Rt(),r.mode.CTR=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.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]}}),t.Decryptor=e,t),r.mode.CTR)),pn.exports;var t,e,r}(),Bu(),function(){return Ra||(Ra=1,_n.exports=(r=pt(),Rt(),r.mode.OFB=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.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]}}),t.Decryptor=e,t),r.mode.OFB)),_n.exports;var t,e,r}(),function(){return Oa||(Oa=1,fn.exports=(e=pt(),Rt(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(r,n){this._cipher.encryptBlock(r,n)}}),t.Decryptor=t.extend({processBlock:function(r,n){this._cipher.decryptBlock(r,n)}}),t),e.mode.ECB)),fn.exports;var t,e}(),function(){return La||(La=1,gn.exports=(t=pt(),Rt(),t.pad.AnsiX923={pad:function(e,r){var n=e.sigBytes,i=4*r,a=i-n%i,o=n+a-1;e.clamp(),e.words[o>>>2]|=a<<24-o%4*8,e.sigBytes+=a},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},t.pad.Ansix923)),gn.exports;var t}(),function(){return Ba||(Ba=1,mn.exports=(t=pt(),Rt(),t.pad.Iso10126={pad:function(e,r){var n=4*r,i=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(i-1)).concat(t.lib.WordArray.create([i<<24],1))},unpad:function(e){var r=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=r}},t.pad.Iso10126)),mn.exports;var t}(),function(){return Ca||(Ca=1,bn.exports=(t=pt(),Rt(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971)),bn.exports;var t}(),function(){return Ia||(Ia=1,yn.exports=(t=pt(),Rt(),t.pad.ZeroPadding={pad:function(e,r){var n=4*r;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var r=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(r[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},t.pad.ZeroPadding)),yn.exports;var t}(),function(){return qa||(qa=1,vn.exports=(t=pt(),Rt(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding)),vn.exports;var t}(),function(){return Pa||(Pa=1,xn.exports=(n=pt(),Rt(),e=(t=n).lib.CipherParams,r=t.enc.Hex,t.format.Hex={stringify:function(i){return i.ciphertext.toString(r)},parse:function(i){var a=r.parse(i);return e.create({ciphertext:a})}},n.format.Hex)),xn.exports;var t,e,r,n}(),function(){return Ma||(Ma=1,wn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,i=[],a=[],o=[],s=[],l=[],c=[],y=[],x=[],E=[],v=[];(function(){for(var u=[],m=0;m<256;m++)u[m]=m<128?m<<1:m<<1^283;var k=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[k]=d,a[d]=k;var g=u[k],p=u[g],_=u[p],h=257*u[d]^16843008*d;o[k]=h<<24|h>>>8,s[k]=h<<16|h>>>16,l[k]=h<<8|h>>>24,c[k]=h,h=16843009*_^65537*p^257*g^16843008*k,y[d]=h<<24|h>>>8,x[d]=h<<16|h>>>16,E[d]=h<<8|h>>>24,v[d]=h,k?(k=g^u[u[u[_^g]]],S^=u[u[S]]):k=S=1}})();var w=[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,k=u.sigBytes/4,S=4*((this._nRounds=k+6)+1),d=this._keySchedule=[],g=0;g<S;g++)g<k?d[g]=m[g]:(h=d[g-1],g%k?k>6&&g%k==4&&(h=i[h>>>24]<<24|i[h>>>16&255]<<16|i[h>>>8&255]<<8|i[255&h]):(h=i[(h=h<<8|h>>>24)>>>24]<<24|i[h>>>16&255]<<16|i[h>>>8&255]<<8|i[255&h],h^=w[g/k|0]<<24),d[g]=d[g-k]^h);for(var p=this._invKeySchedule=[],_=0;_<S;_++){if(g=S-_,_%4)var h=d[g];else h=d[g-4];p[_]=_<4||g<=4?h:y[i[h>>>24]]^x[i[h>>>16&255]]^E[i[h>>>8&255]]^v[i[255&h]]}}},encryptBlock:function(u,m){this._doCryptBlock(u,m,this._keySchedule,o,s,l,c,i)},decryptBlock:function(u,m){var k=u[m+1];u[m+1]=u[m+3],u[m+3]=k,this._doCryptBlock(u,m,this._invKeySchedule,y,x,E,v,a),k=u[m+1],u[m+1]=u[m+3],u[m+3]=k},_doCryptBlock:function(u,m,k,S,d,g,p,_){for(var h=this._nRounds,T=u[m]^k[0],f=u[m+1]^k[1],R=u[m+2]^k[2],C=u[m+3]^k[3],I=4,D=1;D<h;D++){var P=S[T>>>24]^d[f>>>16&255]^g[R>>>8&255]^p[255&C]^k[I++],F=S[f>>>24]^d[R>>>16&255]^g[C>>>8&255]^p[255&T]^k[I++],H=S[R>>>24]^d[C>>>16&255]^g[T>>>8&255]^p[255&f]^k[I++],G=S[C>>>24]^d[T>>>16&255]^g[f>>>8&255]^p[255&R]^k[I++];T=P,f=F,R=H,C=G}P=(_[T>>>24]<<24|_[f>>>16&255]<<16|_[R>>>8&255]<<8|_[255&C])^k[I++],F=(_[f>>>24]<<24|_[R>>>16&255]<<16|_[C>>>8&255]<<8|_[255&T])^k[I++],H=(_[R>>>24]<<24|_[C>>>16&255]<<16|_[T>>>8&255]<<8|_[255&f])^k[I++],G=(_[C>>>24]<<24|_[T>>>16&255]<<16|_[f>>>8&255]<<8|_[255&R])^k[I++],u[m]=P,u[m+1]=F,u[m+2]=H,u[m+3]=G},keySize:8});e.AES=r._createHelper(b)}(),t.AES)),wn.exports;var t}(),Cu(),function(){return Fa||(Fa=1,kn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=n.RC4=r.extend({_doReset:function(){for(var s=this._key,l=s.words,c=s.sigBytes,y=this._S=[],x=0;x<256;x++)y[x]=x;x=0;for(var E=0;x<256;x++){var v=x%c,w=l[v>>>2]>>>24-v%4*8&255;E=(E+y[x]+w)%256;var b=y[x];y[x]=y[E],y[E]=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,x=0;x<4;x++){c=(c+s[l=(l+1)%256])%256;var E=s[l];s[l]=s[c],s[c]=E,y|=s[(s[l]+s[c])%256]<<24-8*x}return this._i=l,this._j=c,y}e.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)}});e.RC4Drop=r._createHelper(o)}(),t.RC4)),kn.exports;var t}(),function(){return ja||(ja=1,An.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=[],a=[],o=[],s=n.Rabbit=r.extend({_doReset:function(){for(var c=this._key.words,y=this.cfg.iv,x=0;x<4;x++)c[x]=16711935&(c[x]<<8|c[x]>>>24)|4278255360&(c[x]<<24|c[x]>>>8);var E=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],v=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,x=0;x<4;x++)l.call(this);for(x=0;x<8;x++)v[x]^=E[x+4&7];if(y){var w=y.words,b=w[0],u=w[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),k=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&k,d=k<<16|65535&m;for(v[0]^=m,v[1]^=S,v[2]^=k,v[3]^=d,v[4]^=m,v[5]^=S,v[6]^=k,v[7]^=d,x=0;x<4;x++)l.call(this)}},_doProcessBlock:function(c,y){var x=this._X;l.call(this),i[0]=x[0]^x[5]>>>16^x[3]<<16,i[1]=x[2]^x[7]>>>16^x[5]<<16,i[2]=x[4]^x[1]>>>16^x[7]<<16,i[3]=x[6]^x[3]>>>16^x[1]<<16;for(var E=0;E<4;E++)i[E]=16711935&(i[E]<<8|i[E]>>>24)|4278255360&(i[E]<<24|i[E]>>>8),c[y+E]^=i[E]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,x=0;x<8;x++)a[x]=y[x];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,x=0;x<8;x++){var E=c[x]+y[x],v=65535&E,w=E>>>16,b=((v*v>>>17)+v*w>>>15)+w*w,u=((4294901760&E)*E|0)+((65535&E)*E|0);o[x]=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}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),An.exports;var t}(),function(){return za||(za=1,Tn.exports=(t=pt(),me(),be(),le(),Rt(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,i=[],a=[],o=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var c=this._key.words,y=this.cfg.iv,x=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],E=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 v=0;v<4;v++)l.call(this);for(v=0;v<8;v++)E[v]^=x[v+4&7];if(y){var w=y.words,b=w[0],u=w[1],m=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),k=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),S=m>>>16|4294901760&k,d=k<<16|65535&m;for(E[0]^=m,E[1]^=S,E[2]^=k,E[3]^=d,E[4]^=m,E[5]^=S,E[6]^=k,E[7]^=d,v=0;v<4;v++)l.call(this)}},_doProcessBlock:function(c,y){var x=this._X;l.call(this),i[0]=x[0]^x[5]>>>16^x[3]<<16,i[1]=x[2]^x[7]>>>16^x[5]<<16,i[2]=x[4]^x[1]>>>16^x[7]<<16,i[3]=x[6]^x[3]>>>16^x[1]<<16;for(var E=0;E<4;E++)i[E]=16711935&(i[E]<<8|i[E]>>>24)|4278255360&(i[E]<<24|i[E]>>>8),c[y+E]^=i[E]},blockSize:4,ivSize:2});function l(){for(var c=this._X,y=this._C,x=0;x<8;x++)a[x]=y[x];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,x=0;x<8;x++){var E=c[x]+y[x],v=65535&E,w=E>>>16,b=((v*v>>>17)+v*w>>>15)+w*w,u=((4294901760&E)*E|0)+((65535&E)*E|0);o[x]=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}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Tn.exports;var t}(),Iu())));let ue="PENDING",On="",pr={};const qu=["127.0.0.1","localhost"],Pu=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],Ln=(t,e)=>{const r=ye.AES.decrypt(e,"easy_email_pro_"+t).toString(ye.enc.Utf8);return JSON.parse(r)},hr={getToken(){if(typeof document<"u")return function(t){let e="";return document.cookie.split(";").forEach(r=>{const n=r.split("=")[0];n.trim()===t&&(e=r.replace(`${n}=`,""))}),e}("e_e_p")},setToken(t){if(typeof document<"u")return aa("e_e_p",t,3600)},clearToken(){if(typeof document<"u")return aa("e_e_p","",-1)}},Ga=t=>{const e=Pu.find(r=>r.clidText===(n=>{const i=ye.enc.Utf8.parse("easy-email-pro"),a=ye.enc.Utf8.parse("easy-email-pro_multiple_years"),o=ye.mode.CFB,s=ye.pad.Pkcs7,l=n;return ye.AES.encrypt(l,i,{iv:a,mode:o,padding:s}).toString()})(t));if(e){if(e.expiredAt>+new Date/1e3){e.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(e.origins&&!r){if(qu.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!!e.origins.includes(n)}return ue="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let Bn;const Xt=Object.freeze(new class{auth(t){return Lt(this,null,function*(){On=t,Bn||(Bn=Lt(null,null,function*(){if(ue!=="PENDING")return;if(Ga(t))return!0;const e=hr.getToken();if(e)try{const n=Ln(t,e);n.expiredAt>+new Date/1e3&&(ue="SUCCESS",pr=n)}catch{hr.clearToken()}const r=()=>Lt(null,null,function*(){try{const n=t==="FREE"?"https://api.beacas.com":"https://api.easyemail.pro",{data:i}=yield ia(`${n}/api/public/token?client_id=${t}&v=1.59.7`,{method:"GET",withCredentials:!1});pr=Ln(t,i.access_token),hr.setToken(i.access_token),ue="SUCCESS"}catch{try{const{data:i}=yield ia(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${t}&v=1.59.7`,{method:"GET"});pr=Ln(t,i.access_token),hr.setToken(i.access_token),ue="SUCCESS"}catch(i){throw console.log("error",i),ue="ERROR",i}}});ue==="SUCCESS"?r():yield r()})),yield Bn})}get clientId(){return On}getAuthState(){return ue}getFeatureEnabled(t){return!!Ga(On)||rt(pr,"features",[]).includes(t)}});let Wa={},Ka=!1,Cn=!1;const In=Object.freeze(new class{checkLocaleData(){return Lt(this,null,function*(){const t=setInterval(()=>{Xt.getAuthState()==="SUCCESS"&&(Ka=Xt.getFeatureEnabled("LOCALIZATION"),Cn=!0,clearInterval(t))},100)})}setLocaleData(t){Wa=t,Cn||this.checkLocaleData()}translate(t,e){return this.translateWithParams(t,e)}translateWithParams(t,e){if(Cn&&!Ka)throw new Error("Current plan do not support localization");const r=rt(Wa,t,t);if(!e)return r;const n=r.split("***");return n.splice(1,0,e),te(e)?n.join(""):O.createElement(O.Fragment,null,n.map((i,a)=>O.createElement(O.Fragment,{key:a},i)))}}),Q=In.translate.bind(In),Xa=".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"},st={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"},Ja={FOR_EACH:"logic-for-each",SHOW:"logic-show"},L=q(q(q({},K),st),Ja),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"},Ya="easy_email_pro_preview_content_editable",qn="easy_email_pro_slate_node_placeholder",Pn="easy_email_pro_slate_code_block",Qa=["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=()=>Ge(Za),Je=t=>O.createElement(Za.Provider,{value:{context:t.context}},t.children);class Fn{constructor(e){at(this,"mode"),at(this,"headItems",[]),at(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=e.mode}getHeadContent(){return[...new Set(this.headItems.map(e=>e.content))].join(`
|
|
2
2
|
`)}addAttributeBySelector(e){this.addHeadItems({type:"selector",content:`<mj-html--attributes>
|
|
3
3
|
<mj-selector path="${e.selector}">
|
|
4
4
|
${Object.keys(e.attributes).map(r=>`<mj-html--attribute name="${r}">${e.attributes[r]}</mj-html--attribute>`)}
|
|
5
5
|
</mj-selector>
|
|
6
6
|
</mj-html--attributes>`})}addHeadItems(e){e.id&&this.headItems.find(r=>r.id===e.id)||this.headItems.push({id:e.id,content:e.content,type:e.type})}}const Za=O.createContext({});var ts,_r={exports:{}},fr,es,Oe=(ts||(ts=1,fr=_r,es=_r.exports,function(t){var e=es,r=fr&&fr.exports==e&&fr,n=typeof Ke=="object"&&Ke;n.global!==n&&n.window!==n||(t=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={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},x=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,E=/[\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]/,v=/&(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,w={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],k=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+=k((D-=65536)>>>10&1023|55296),D=56320|1023&D),F+=k(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&&E.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(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),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(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(s,function(U){return"&"+l[U]+";"})):G||(D=D.replace(c,j)),D.replace(i,function(U){var V=U.charCodeAt(0),ut=U.charCodeAt(1);return M(1024*(V-55296)+ut-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&&x.test(D)&&T("malformed character reference"),D.replace(v,function(H,G,M,j,U,V,ut,kt,At){var J,A,N,B,$,W;return G?w[$=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)):ut?(B=ut,A=kt,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(e&&!e.nodeType)if(r)r.exports=C;else for(var I in C)d(C,I)&&(e[I]=C[I]);else t.he=C}(_r.exports)),_r.exports);const ce=ur(Oe),Mu=[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],nt=class St{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,r){return`${e}.children.${r}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(e){var r;return e===St.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(e))==null?void 0:r[1])||""}static isVoidBlockElement(e){return St.isElement(e)?!!tt.getBlockByType(e.type).void:!1}static isUnsetElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return r.category===z.UNSET||r.category===z.SOCIAL_ELEMENT||r.category===z.NAVBAR_LINK}static isTable2Element(e){return!!St.isElement(e)&&e.type===L.STANDARD_TABLE2}static isAmpBlockElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.AMP_BLOCK:!1}static isTable2TrElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.TABLE2_TR:!1}static isTable2TdElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.TABLE2_TD:!1}static isTextNode(e){return rt(e,"text")!==void 0}static isElement(e){return!!(rt(e,"type")&&rt(e,"children")&&rt(e,"attributes"))}static isHTMLNodeElement(e){return St.isElement(e)&&e.type===L.HTML_NODE}static isHTMLBlockNodeElement(e){return St.isElement(e)&&e.type===L.HTML_BLOCK_NODE}static isBlockElement(e){const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!(n.inlineElement||St.isHTMLBlockNodeElement(e)||St.isTable2TrElement(e)||St.isTable2TdElement(e))}static isLineBreakElement(e){return rt(e,"type")===L.LINE_BREAK}static isUniversalElement(e){return!!St.isElement(e)&&!!e.uid}static isStandaloneElement(e){var r;return!!St.isElement(e)&&!!((r=tt.getBlockByType(e.type))!=null&&r.standalone)}static isInlineElement(e){if(!St.isElement(e))return!1;const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(e){if(!St.isElement(e))return!1;const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!!n.inlineElement&&n.type===K.MERGETAG}static isPageHeaderElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return!!r&&r.category===z.PAGE_HEADER}static isPageFooterElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return!!r&&r.category===z.PAGE_FOOTER}static isParentCategory(e,r){if(e===z.BLOCK_NODE&&r===z.BLOCK_NODE||[z.INLINE_TEXT,z.TEXT_LIST,z.BLOCK_NODE].includes(e)&&St.isContentElementCategory(r))return!0;if(St.isContentElementCategory(e))return!(!Be.autoComplete||r!==z.PAGE&&r!==z.WRAPPER)||r===z.COLUMN||r===z.HERO;switch(e){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(e,r){const n=tt.getBlockByType(e),i=tt.getBlockByType(r);return!(![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(e)||!St.isContentElement(i.create()))||!(!n.inlineElement||![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category)}};at(nt,"isContentElementCategory",t=>jn.includes(t)),at(nt,"isPageElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.PAGE:!1),at(nt,"isSectionElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SECTION:!1),at(nt,"isTableElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TABLE:!1),at(nt,"isHeroElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.HERO:!1),at(nt,"isNavbarLink",t=>!!nt.isElement(t)&&(t.type===L.NAVBAR_LINK||t.type===L.STANDARD_NAVBAR_LINK)),at(nt,"isDividerElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.DIVIDER:!1),at(nt,"isSpacerElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SPACER:!1),at(nt,"isButtonElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.BUTTON):!1),at(nt,"isImageElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.IMAGE:!1),at(nt,"isSocialElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SOCIAL:!1),at(nt,"isWidgetElement",t=>!!nt.isElement(t)&&[L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET].includes(t.type)),at(nt,"isWrapperElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.WRAPPER):!1),at(nt,"isRawElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.RAW):!1),at(nt,"isGroupElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.GROUP:!1),at(nt,"isColumnElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.COLUMN:!1),at(nt,"isContentElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type);return jn.includes(e.category)}),at(nt,"isAutoCompleteElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type).category;return jn.includes(e)&&e!==z.TABLE2_TD}),at(nt,"isUnelectableElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type);return Mu.includes(e.category)}),at(nt,"isTextElement",t=>{if(!nt.isElement(t))return!1;const e=tt.getBlockByType(t.type);return nt.isTable2TdElement(t)||e.category===z.TEXT||e.category===z.TEXT_LIST||e.category===z.TEXT_LIST_ITEM||e.category===z.INLINE_TEXT}),at(nt,"isPlaceholderElement",t=>!!nt.isElement(t)&&t.type===K.PLACEHOLDER),at(nt,"isTextListElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TEXT_LIST:!1),at(nt,"isTextListItemElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TEXT_LIST_ITEM:!1);let et=nt;var rs,ns={exports:{}},Ye={},gr={exports:{}},zn={},Hn={};function Vn(){if(rs)return Hn;function t(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 e(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 e(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 t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return rs=1,t.prototype.clone_empty=function(){var n=new t(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},t.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},t.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},t.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))},t.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)},t.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},t.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},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(n){this.__items.push(n);var i=n.lastIndexOf(`
|
|
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],k=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},p=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+=k((D-=65536)>>>10&1023|55296),D=56320|1023&D),F+=k(D))},_=function(D){return"&#x"+D.toString(16).toUpperCase()+";"},h=function(D){return"&#"+D+";"},T=function(D){throw Error("Parse error: "+D)},f=function(D,P){(P=g(P,f.options)).strict&&E.test(D)&&T("forbidden code point");var F=P.encodeEverything,H=P.useNamedReferences,G=P.allowUnsafeSymbols,M=P.decimal?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(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),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(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(s,function(U){return"&"+l[U]+";"})):G||(D=D.replace(c,j)),D.replace(i,function(U){var V=U.charCodeAt(0),ut=U.charCodeAt(1);return M(1024*(V-55296)+ut-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&&x.test(D)&&T("malformed character reference"),D.replace(v,function(H,G,M,j,U,V,ut,kt,At){var J,A,N,B,$,W;return G?w[$=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),p(J,F)):ut?(B=ut,A=kt,F&&!A&&T("character reference was not terminated by a semicolon"),J=parseInt(B,16),p(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(e&&!e.nodeType)if(r)r.exports=C;else for(var I in C)d(C,I)&&(e[I]=C[I]);else t.he=C}(_r.exports)),_r.exports);const ce=ur(Oe),Mu=[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],nt=class St{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,r){return`${e}.children.${r}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(e){var r;return e===St.getPageIdx()?"":((r=/(.*)\.children\.\d+$/.exec(e))==null?void 0:r[1])||""}static isVoidBlockElement(e){return St.isElement(e)?!!tt.getBlockByType(e.type).void:!1}static isUnsetElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return r.category===z.UNSET||r.category===z.SOCIAL_ELEMENT||r.category===z.NAVBAR_LINK}static isTable2Element(e){return!!St.isElement(e)&&e.type===L.STANDARD_TABLE2}static isAmpBlockElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.AMP_BLOCK:!1}static isTable2TrElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.TABLE2_TR:!1}static isTable2TdElement(e){return St.isElement(e)?tt.getBlockByType(e.type).category===z.TABLE2_TD:!1}static isTextNode(e){return rt(e,"text")!==void 0}static isElement(e){return!!(rt(e,"type")&&rt(e,"children")&&rt(e,"attributes"))}static isHTMLNodeElement(e){return St.isElement(e)&&e.type===L.HTML_NODE}static isHTMLBlockNodeElement(e){return St.isElement(e)&&e.type===L.HTML_BLOCK_NODE}static isBlockElement(e){const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!(n.inlineElement||St.isHTMLBlockNodeElement(e)||St.isTable2TrElement(e)||St.isTable2TdElement(e))}static isLineBreakElement(e){return rt(e,"type")===L.LINE_BREAK}static isUniversalElement(e){return!!St.isElement(e)&&!!e.uid}static isStandaloneElement(e){var r;return!!St.isElement(e)&&!!((r=tt.getBlockByType(e.type))!=null&&r.standalone)}static isInlineElement(e){if(!St.isElement(e))return!1;const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(e){if(!St.isElement(e))return!1;const r=rt(e,"type"),n=tt.getBlockByType(r);return!!n&&!!n.inlineElement&&n.type===K.MERGETAG}static isPageHeaderElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return!!r&&r.category===z.PAGE_HEADER}static isPageFooterElement(e){if(!St.isElement(e))return!1;const r=tt.getBlockByType(e.type);return!!r&&r.category===z.PAGE_FOOTER}static isParentCategory(e,r){if(e===z.BLOCK_NODE&&r===z.BLOCK_NODE||[z.INLINE_TEXT,z.TEXT_LIST,z.BLOCK_NODE].includes(e)&&St.isContentElementCategory(r))return!0;if(St.isContentElementCategory(e))return!(!Be.autoComplete||r!==z.PAGE&&r!==z.WRAPPER)||r===z.COLUMN||r===z.HERO;switch(e){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(e,r){const n=tt.getBlockByType(e),i=tt.getBlockByType(r);return!(![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(e)||!St.isContentElement(i.create()))||!(!n.inlineElement||![L.HTML_BLOCK_NODE,L.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category)}};at(nt,"isContentElementCategory",t=>jn.includes(t)),at(nt,"isPageElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.PAGE:!1),at(nt,"isSectionElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SECTION:!1),at(nt,"isTableElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TABLE:!1),at(nt,"isHeroElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.HERO:!1),at(nt,"isNavbarLink",t=>!!nt.isElement(t)&&(t.type===L.NAVBAR_LINK||t.type===L.STANDARD_NAVBAR_LINK)),at(nt,"isDividerElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.DIVIDER:!1),at(nt,"isSpacerElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SPACER:!1),at(nt,"isButtonElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.BUTTON):!1),at(nt,"isImageElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.IMAGE:!1),at(nt,"isSocialElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.SOCIAL:!1),at(nt,"isWidgetElement",t=>!!nt.isElement(t)&&[L.CONTENT_WIDGET,L.SECTION_WIDGET,L.WRAPPER_WIDGET].includes(t.type)),at(nt,"isWrapperElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.WRAPPER):!1),at(nt,"isRawElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category.includes(z.RAW):!1),at(nt,"isGroupElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.GROUP:!1),at(nt,"isColumnElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.COLUMN:!1),at(nt,"isContentElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type);return jn.includes(e.category)}),at(nt,"isAutoCompleteElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type).category;return jn.includes(e)&&e!==z.TABLE2_TD}),at(nt,"isUnelectableElement",t=>{if(!nt.isElement(t))return!1;if(t.type===K.PLACEHOLDER)return!0;const e=tt.getBlockByType(t.type);return Mu.includes(e.category)}),at(nt,"isTextElement",t=>{if(!nt.isElement(t))return!1;const e=tt.getBlockByType(t.type);return nt.isTable2TdElement(t)||e.category===z.TEXT||e.category===z.TEXT_LIST||e.category===z.TEXT_LIST_ITEM||e.category===z.INLINE_TEXT}),at(nt,"isPlaceholderElement",t=>!!nt.isElement(t)&&t.type===K.PLACEHOLDER),at(nt,"isTextListElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TEXT_LIST:!1),at(nt,"isTextListItemElement",t=>nt.isElement(t)?tt.getBlockByType(t.type).category===z.TEXT_LIST_ITEM:!1);let et=nt;var rs,ns={exports:{}},Ye={},gr={exports:{}},zn={},Hn={};function Vn(){if(rs)return Hn;function t(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 e(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 e(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 t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return rs=1,t.prototype.clone_empty=function(){var n=new t(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},t.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},t.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},t.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))},t.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)},t.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},t.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},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.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},t.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.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},e.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},e.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]},e.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},e.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!==`
|
|
@@ -14,44 +14,44 @@ var du=Object.defineProperty,pu=Object.defineProperties,hu=Object.getOwnProperty
|
|
|
14
14
|
`+i+`
|
|
15
15
|
You passed in: '`+this.raw_options[n]+"'");return o[0]},t.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},t.prototype._is_valid_selection=function(n,i){return n.length&&i.length&&!n.some(function(a){return i.indexOf(a)===-1})},Qe.Options=t,Qe.normalizeOpts=r,Qe.mergeOpts=e,Qe}function ds(){if(cs)return Gn;cs=1;var t=Wn().Options,e=["before-newline","after-newline","preserve-newline"];function r(n){t.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",e),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new t,Gn.Options=r,Gn}var ps,Le={},Kn={};function Xn(){if(ps)return Kn;ps=1;var t=RegExp.prototype.hasOwnProperty("sticky");function e(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return e.prototype.restart=function(){this.__position=0},e.prototype.back=function(){this.__position>0&&(this.__position-=1)},e.prototype.hasNext=function(){return this.__position<this.__input_length},e.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},e.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},e.prototype.__match=function(r,n){r.lastIndex=n;var i=r.exec(this.__input);return!i||t&&r.sticky||i.index!==n&&(i=null),i},e.prototype.test=function(r,n){return n=n||0,(n+=this.__position)>=0&&n<this.__input_length&&!!this.__match(r,n)},e.prototype.testChar=function(r,n){var i=this.peek(n);return r.lastIndex=0,i!==null&&r.test(i)},e.prototype.match=function(r){var n=this.__match(r,this.__position);return n?this.__position+=n[0].length:n=null,n},e.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},e.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},e.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},e.prototype.get_regexp=function(r,n){var i=null,a="g";return n&&t&&(a="y"),typeof r=="string"&&r!==""?i=new RegExp(r,a):r&&(i=new RegExp(r.source,a)),i},e.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},e.prototype.peekUntilAfter=function(r){var n=this.__position,i=this.readUntilAfter(r);return this.__position=n,i},e.prototype.lookBack=function(r){var n=this.__position-1;return n>=r.length&&this.__input.substring(n-r.length,n).toLowerCase()===r},Kn.InputScanner=e,Kn}var hs,mr={},Jn={},_s,fs,gs,Yn={},Qn={};function br(){if(_s)return Qn;function t(e,r){this._input=e,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 _s=1,t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.until=function(e){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.starting_with=function(e){var r=this._create();return r._starting_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype.matching=function(e){var r=this._create();return r._match_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},Qn.Pattern=t,Qn}function yr(){if(gs)return mr;gs=1;var t=Xn().InputScanner,e=as().Token,r=function(){if(hs)return Jn;function o(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}return hs=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(fs)return Yn;fs=1;var o=br().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,x=[],E=l.exec(c);E;)x.push(c.substring(y,E.index)),y=E.index+E[0].length,E=l.exec(c);return y<c.length?x.push(c.substring(y,c.length)):x.push(""),x},Yn.WhitespacePattern=s,Yn}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(o,s){this._input=new t(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 e(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 e(o,s,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},mr.Tokenizer=a,mr.TOKEN=i,mr}var ms,Zn={};function ti(){if(ms)return Zn;function t(e,r){e=typeof e=="string"?e:e.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+r,"g")}return ms=1,t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)r[n[1]]=n[2],n=this.__directive_pattern.exec(e);return r},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},Zn.Directives=t,Zn}var bs,ys,vs,xs,ei={};function ws(){if(bs)return ei;bs=1;var t=br().Pattern,e={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(n,i){t.call(this,n,i),this.__template_pattern=null,this._disabled=Object.assign({},e),this._excluded=Object.assign({},e),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 t(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 t,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 e)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},ei.TemplatablePattern=r,ei}function vr(){if(ys)return Le;ys=1;var t=Xn().InputScanner,e=yr().Tokenizer,r=yr().TOKEN,n=ti().Directives,i=ls(),a=br().Pattern,o=ws().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_]+)?/,x=/[0-9]/,E=/[^\d\.]/,v=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),w=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";w=(w="\\?\\.(?!\\d) "+(w=w.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var b,u=new RegExp(w),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),k=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),S=new RegExp("^(?:"+k.join("|")+")$"),d=function(g,_){e.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 e)._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
|
-
`),g.type!==l.DOT&&(g.type!==l.RESERVED||g.text!=="set"&&g.text!=="get")&&S.test(
|
|
19
|
-
`);if(
|
|
20
|
-
`);g=this._input.next();var
|
|
21
|
-
`),(
|
|
22
|
-
`),this._create_token(l.STRING,
|
|
23
|
-
`),this._create_token(l.STRING,
|
|
24
|
-
`&&this._input.next(),R+=this._input.next()):
|
|
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,v)||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===k||this._previous_flags.mode===S))||this._flags.last_token.type===s.WORD&&this._flags.mode===w&&!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=k):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(w),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(w):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(w):this.set_mode(u):this._flags.last_token.type===s.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(w):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(w),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,x)&&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===w?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!==w||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,x)||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,v)&&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 E.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 E.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 E.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,x)&&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!==w||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,`
|
|
17
|
+
You passed in: '`+this.raw_options[n]+"'");return o},t.prototype._is_valid_selection=function(n,i){return n.length&&i.length&&!n.some(function(a){return i.indexOf(a)===-1})},Qe.Options=t,Qe.normalizeOpts=r,Qe.mergeOpts=e,Qe}function ds(){if(cs)return Gn;cs=1;var t=Wn().Options,e=["before-newline","after-newline","preserve-newline"];function r(n){t.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",e),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new t,Gn.Options=r,Gn}var ps,Le={},Kn={};function Xn(){if(ps)return Kn;ps=1;var t=RegExp.prototype.hasOwnProperty("sticky");function e(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return e.prototype.restart=function(){this.__position=0},e.prototype.back=function(){this.__position>0&&(this.__position-=1)},e.prototype.hasNext=function(){return this.__position<this.__input_length},e.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},e.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},e.prototype.__match=function(r,n){r.lastIndex=n;var i=r.exec(this.__input);return!i||t&&r.sticky||i.index!==n&&(i=null),i},e.prototype.test=function(r,n){return n=n||0,(n+=this.__position)>=0&&n<this.__input_length&&!!this.__match(r,n)},e.prototype.testChar=function(r,n){var i=this.peek(n);return r.lastIndex=0,i!==null&&r.test(i)},e.prototype.match=function(r){var n=this.__match(r,this.__position);return n?this.__position+=n[0].length:n=null,n},e.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},e.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},e.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},e.prototype.get_regexp=function(r,n){var i=null,a="g";return n&&t&&(a="y"),typeof r=="string"&&r!==""?i=new RegExp(r,a):r&&(i=new RegExp(r.source,a)),i},e.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},e.prototype.peekUntilAfter=function(r){var n=this.__position,i=this.readUntilAfter(r);return this.__position=n,i},e.prototype.lookBack=function(r){var n=this.__position-1;return n>=r.length&&this.__input.substring(n-r.length,n).toLowerCase()===r},Kn.InputScanner=e,Kn}var hs,mr={},Jn={},_s,fs,gs,Yn={},Qn={};function br(){if(_s)return Qn;function t(e,r){this._input=e,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 _s=1,t.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(e){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.until=function(e){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(e),r._update(),r},t.prototype.starting_with=function(e){var r=this._create();return r._starting_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype.matching=function(e){var r=this._create();return r._match_pattern=this._input.get_regexp(e,!0),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},Qn.Pattern=t,Qn}function yr(){if(gs)return mr;gs=1;var t=Xn().InputScanner,e=as().Token,r=function(){if(hs)return Jn;function o(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}return hs=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(fs)return Yn;fs=1;var o=br().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,x=[],E=l.exec(c);E;)x.push(c.substring(y,E.index)),y=E.index+E[0].length,E=l.exec(c);return y<c.length?x.push(c.substring(y,c.length)):x.push(""),x},Yn.WhitespacePattern=s,Yn}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(o,s){this._input=new t(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 e(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 e(o,s,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},mr.Tokenizer=a,mr.TOKEN=i,mr}var ms,Zn={};function ti(){if(ms)return Zn;function t(e,r){e=typeof e=="string"?e:e.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+r,"g")}return ms=1,t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)r[n[1]]=n[2],n=this.__directive_pattern.exec(e);return r},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},Zn.Directives=t,Zn}var bs,ys,vs,xs,ei={};function ws(){if(bs)return ei;bs=1;var t=br().Pattern,e={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(n,i){t.call(this,n,i),this.__template_pattern=null,this._disabled=Object.assign({},e),this._excluded=Object.assign({},e),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 t(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 t,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 e)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},ei.TemplatablePattern=r,ei}function vr(){if(ys)return Le;ys=1;var t=Xn().InputScanner,e=yr().Tokenizer,r=yr().TOKEN,n=ti().Directives,i=ls(),a=br().Pattern,o=ws().TemplatablePattern;function s(g,p){return p.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_]+)?/,x=/[0-9]/,E=/[^\d\.]/,v=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),w=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";w=(w="\\?\\.(?!\\d) "+(w=w.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var b,u=new RegExp(w),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),k=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),S=new RegExp("^(?:"+k.join("|")+")$"),d=function(g,p){e.call(this,g,p),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var _=new a(this._input),h=new o(this._input).read_options(this._options);this.__patterns={template:h,identifier:h.starting_with(i.identifier).matching(i.identifierMatch),number:_.matching(y),punct:_.matching(u),comment:_.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:_.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:_.matching(/<!--/),html_comment_end:_.matching(/-->/),include:_.starting_with(/#include/).until_after(i.lineBreak),shebang:_.starting_with(/#!/).until_after(i.lineBreak),xml:_.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:h.until(/['\\\n\r\u2028\u2029]/),double_quote:h.until(/["\\\n\r\u2028\u2029]/),template_text:h.until(/[`\\$]/),template_expression:h.until(/[`}\\]/)}};return(d.prototype=new e)._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,p){return(g.type===l.END_BLOCK||g.type===l.END_EXPR)&&p&&(g.text==="]"&&p.text==="["||g.text===")"&&p.text==="("||g.text==="}"&&p.text==="{")},d.prototype._reset=function(){b=!1},d.prototype._get_next_token=function(g,p){var _=null;this._readWhitespace();var h=this._input.peek();return h===null?this._create_token(l.EOF,""):_=(_=(_=(_=(_=(_=(_=(_=(_=(_=_||this._read_non_javascript(h))||this._read_string(h))||this._read_pair(h,this._input.peek(1)))||this._read_word(g))||this._read_singles(h))||this._read_comment(h))||this._read_regexp(h,g))||this._read_xml(h,g))||this._read_punctuation())||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_word=function(g){var p;return(p=this.__patterns.identifier.read())!==""?(p=p.replace(i.allLineBreaks,`
|
|
18
|
+
`),g.type!==l.DOT&&(g.type!==l.RESERVED||g.text!=="set"&&g.text!=="get")&&S.test(p)?p!=="in"&&p!=="of"||g.type!==l.WORD&&g.type!==l.STRING?this._create_token(l.RESERVED,p):this._create_token(l.OPERATOR,p):this._create_token(l.WORD,p)):(p=this.__patterns.number.read())!==""?this._create_token(l.WORD,p):void 0},d.prototype._read_singles=function(g){var p=null;return g==="("||g==="["?p=this._create_token(l.START_EXPR,g):g===")"||g==="]"?p=this._create_token(l.END_EXPR,g):g==="{"?p=this._create_token(l.START_BLOCK,g):g==="}"?p=this._create_token(l.END_BLOCK,g):g===";"?p=this._create_token(l.SEMICOLON,g):g==="."&&E.test(this._input.peek(1))?p=this._create_token(l.DOT,g):g===","&&(p=this._create_token(l.COMMA,g)),p&&this._input.next(),p},d.prototype._read_pair=function(g,p){var _=null;return g==="#"&&p==="{"&&(_=this._create_token(l.START_BLOCK,g+p)),_&&(this._input.next(),this._input.next()),_},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 p="";if(g==="#"){if(this._is_first_token()&&(p=this.__patterns.shebang.read()))return this._create_token(l.UNKNOWN,p.trim()+`
|
|
19
|
+
`);if(p=this.__patterns.include.read())return this._create_token(l.UNKNOWN,p.trim()+`
|
|
20
|
+
`);g=this._input.next();var _="#";if(this._input.hasNext()&&this._input.testChar(x)){do _+=g=this._input.next();while(this._input.hasNext()&&g!=="#"&&g!=="=");return g==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(_+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(_+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,_)}this._input.back()}else if(g==="<"&&this._is_first_token()){if(p=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(i.newline);)p+=this._input.next();return b=!0,this._create_token(l.COMMENT,p)}}else if(b&&g==="-"&&(p=this.__patterns.html_comment_end.read()))return b=!1,this._create_token(l.COMMENT,p);return null},d.prototype._read_comment=function(g){var p=null;if(g==="/"){var _="";if(this._input.peek(1)==="*"){_=this.__patterns.block_comment.read();var h=c.get_directives(_);h&&h.ignore==="start"&&(_+=c.readIgnored(this._input)),_=_.replace(i.allLineBreaks,`
|
|
21
|
+
`),(p=this._create_token(l.BLOCK_COMMENT,_)).directives=h}else this._input.peek(1)==="/"&&(_=this.__patterns.comment.read(),p=this._create_token(l.COMMENT,_))}return p},d.prototype._read_string=function(g){if(g==="`"||g==="'"||g==='"'){var p=this._input.next();return this.has_char_escapes=!1,p+=g==="`"?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(g),this.has_char_escapes&&this._options.unescape_strings&&(p=function(_){for(var h="",T=0,f=new t(_),R=null;f.hasNext();)if((R=f.match(/([\s]|[^\\]|\\\\)+/g))&&(h+=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"){h+="\\",f.hasNext()&&(h+=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+=T>=0&&T<32||T>1114111?"\\"+R[0]:T===34||T===39||T===92?"\\"+String.fromCharCode(T):String.fromCharCode(T)}return h}(p)),this._input.peek()===g&&(p+=this._input.next()),p=p.replace(i.allLineBreaks,`
|
|
22
|
+
`),this._create_token(l.STRING,p)}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,p){if(g==="/"&&this._allow_regexp_or_xml(p)){for(var _=this._input.next(),h=!1,T=!1;this._input.hasNext()&&(h||T||this._input.peek()!==g)&&!this._input.testChar(i.newline);)_+=this._input.peek(),h?h=!1:(h=this._input.peek()==="\\",this._input.peek()==="["?T=!0:this._input.peek()==="]"&&(T=!1)),this._input.next();return this._input.peek()===g&&(_+=this._input.next(),_+=this._input.read(i.identifier)),this._create_token(l.STRING,_)}return null},d.prototype._read_xml=function(g,p){if(this._options.e4x&&g==="<"&&this._allow_regexp_or_xml(p)){var _="",h=this.__patterns.xml.read_match();if(h){for(var T=h[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),f=T.indexOf("{")===0,R=0;h;){var C=!!h[1],I=h[2];if(!(h[h.length-1]||I.slice(0,8)==="![CDATA[")&&(I===T||f&&I.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(C?--R:++R),_+=h[0],R<=0)break;h=this.__patterns.xml.read_match()}return h||(_+=this._input.match(/[\s\S]*/g)[0]),_=_.replace(i.allLineBreaks,`
|
|
23
|
+
`),this._create_token(l.STRING,_)}}return null},d.prototype._read_string_recursive=function(g,p,_){var h,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||!p&&i.newline.test(R)){this._input.back();break}R==="\\"&&this._input.hasNext()?((h=this._input.peek())==="x"||h==="u"?this.has_char_escapes=!0:h==="\r"&&this._input.peek(1)===`
|
|
24
|
+
`&&this._input.next(),R+=this._input.next()):_&&(_==="${"&&R==="$"&&this._input.peek()==="{"&&(R+=this._input.next()),_===R&&(R+=g==="`"?this._read_string_recursive("}",p,"`"):this._read_string_recursive("`",p,"${"),this._input.hasNext()&&(R+=this._input.next()))),f+=R+=T.read()}return f},Le.Tokenizer=d,Le.TOKEN=l,Le.positionable_operators=v.slice(),Le.line_starters=m.slice(),Le}function Uu(){if(vs)return zn;vs=1;var t=Vn().Output,e=as().Token,r=ls(),n=ds().Options,i=vr().Tokenizer,a=vr().line_starters,o=vr().positionable_operators,s=vr().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 x=["case","return","do","if","throw","else","await","break","continue","async"],E=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"]),v=[E.before_newline,E.preserve_newline],w="BlockStatement",b="Statement",u="ObjectLiteral",m="ArrayLiteral",k="ForInitializer",S="Conditional",d="Expression";function g(f,R){R.multiline_frame||R.mode===k||R.mode===S||f.remove_indent(R.start_line_index)}function p(f){return f===m}function _(f){return l(f,[d,k,S])}function h(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)}h.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 e(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}},h.prototype._reset=function(f){var R=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new t(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(w);var C=new i(f,this._options);return this._tokens=C.tokenize(),f},h.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
|
+
`,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)},h.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))},h.prototype.handle_whitespace_and_comments=function(f,R){var C=f.newlines,I=this._options.keep_array_indentation&&p(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 h.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,v)||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()}}},h.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)},h.prototype.print_token_line_indentation=function(f){this._output.just_added_newline()&&(this._options.keep_array_indentation&&f.newlines&&(f.text==="["||p(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))},h.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)}},h.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},h.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))},h.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)},h.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))},h.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"]))},h.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===k||this._previous_flags.mode===S))||this._flags.last_token.type===s.WORD&&this._flags.mode===w&&!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)},h.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,p(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=k):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()},h.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==="]"&&p(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)},h.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(w),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(w):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(w):this.set_mode(u):this._flags.last_token.type===s.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(w):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(w),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,x)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(!p(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()},h.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||(p(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)},h.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||_(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||!_(this._flags.mode)&&!p(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===w?R="NEWLINE":this._flags.last_token.type===s.SEMICOLON&&_(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!==w||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,x)||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&&p(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))},h.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)},h.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)},h.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},h.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?(_(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)},h.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,v)&&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 E.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 E.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 E.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,x)&&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===";"&&_(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!==w||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)},h.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))},h.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
|
-
`);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}},
|
|
29
|
-
`&&this.print_newline(!1,R)},
|
|
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}},h.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)},h.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,x)?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)},h.prototype.handle_unknown=function(f,R){this.print_token(f),f.text[f.text.length-1]===`
|
|
29
|
+
`&&this.print_newline(!1,R)},h.prototype.handle_eof=function(f){for(;this._flags.mode===b;)this.restore_mode();this.handle_whitespace_and_comments(f)},zn.Beautifier=h,zn}var Es,ks,As,xr={exports:{}},ri={},ni={};function Ts(){if(Es)return ni;Es=1;var t=Wn().Options;function e(r){t.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 e.prototype=new t,ni.Options=e,ni}function Fu(){if(As)return xr.exports;As=1;var t=function(){if(ks)return ri;ks=1;var r=Ts().Options,n=Vn().Output,i=Xn().InputScanner,a=new(ti()).Directives(/\/\*/,/\*\//),o=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,l=/\s/,c=/(?:\s|\n)+/g,y=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,x=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function E(v,w){this._source_text=v||"",this._options=new r(w),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 E.prototype.eatString=function(v){var w="";for(this._ch=this._input.next();this._ch;){if(w+=this._ch,this._ch==="\\")w+=this._input.next();else if(v.indexOf(this._ch)!==-1||this._ch===`
|
|
30
30
|
`)break;this._ch=this._input.next()}return w},E.prototype.eatWhitespace=function(v){for(var w=l.test(this._input.peek()),b=0;l.test(this._input.peek());)this._ch=this._input.next(),v&&this._ch===`
|
|
31
31
|
`&&(b===0||b<this._options.max_preserve_newlines)&&(b++,this._output.add_new_line(!0));return w},E.prototype.foundNestedPseudoClass=function(){for(var v=0,w=1,b=this._input.peek(w);b;){if(b==="{")return!0;if(b==="(")v+=1;else if(b===")"){if(v===0)return!1;v-=1}else if(b===";"||b==="}")return!1;w++,b=this._input.peek(w)}return!1},E.prototype.print_string=function(v){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(v)},E.prototype.preserveSingleSpace=function(v){v&&(this._output.space_before_token=!0)},E.prototype.indent=function(){this._indentLevel++},E.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},E.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var v=this._source_text,w=this._options.eol;w==="auto"&&(w=`
|
|
32
32
|
`,v&&o.test(v||"")&&(w=v.match(o)[0]));var b=(v=v.replace(s,`
|
|
33
|
-
`)).match(/^[\t ]*/)[0];this._output=new n(this._options,b),this._input=new i(v),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var u,m,k=0,S=!1,d=!1,g=!1,
|
|
33
|
+
`)).match(/^[\t ]*/)[0];this._output=new n(this._options,b),this._input=new i(v),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var u,m,k=0,S=!1,d=!1,g=!1,p=!1,_=!1,h=this._ch,T=!1;u=this._input.read(c)!=="",m=h,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),h=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(x)),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),k===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),k===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)):k!==0||d||(p=!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()),p=!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("(")||p||k!==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,k===0?(d&&(this.outdent(),d=!1),p=!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(),k++,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(")")),k&&(k--,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(),_=!0):(this.eatWhitespace(),k++,this.indent())}else if(this._ch===")")k&&(k--,this.outdent()),_&&this._input.peek()===";"&&this._options.selector_separator_newline&&(_=!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&&!_||k!==0||p?this._output.space_before_token=!0:this._output.add_new_line();else if(this._ch!==">"&&this._ch!=="+"&&this._ch!=="~"||d||k!==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
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(w)},ri.Beautifier=E,ri}().Beautifier,e=Ts().Options;return xr.exports=function(r,n){return new t(r,n).beautify()},xr.exports.defaultOptions=function(){return new e},xr.exports}var Ds,wr={exports:{}},ii={},ai={};function Ss(){if(Ds)return ai;Ds=1;var t=Wn().Options;function e(r){t.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 e.prototype=new t,ai.Options=e,ai}var Ns,Rs,Os,Ls,Bs,Er={};function Cs(){if(Ns)return Er;Ns=1;var t=yr().Tokenizer,e=yr().TOKEN,r=ti().Directives,n=ws().TemplatablePattern,i=br().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:e.START,RAW:e.RAW,EOF:e.EOF},o=new r(/<\!--/,/-->/),s=function(l,c){t.call(this,l,c),this._current_tag_name="";var y=new n(this._input).read_options(this._options),x=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:x.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:x.starting_with(/{{!--/).until_after(/--}}/),handlebars:x.starting_with(/{{/).until_after(/}}/),handlebars_open:x.until(/[\n\r\t }]/),handlebars_raw_close:x.until(/}}/),comment:x.starting_with(/<!--/).until_after(/-->/),cdata:x.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:x.starting_with(/<!\[/).until_after(/]>/),processing:x.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 E=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=x.matching(E).until_after(E)}};return(s.prototype=new t)._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 x=this._input.peek();return x===null?this._create_token(a.EOF,""):y=(y=(y=(y=(y=(y=(y=(y=(y=(y=y||this._read_open_handlebars(x,c))||this._read_attribute(x,l,c))||this._read_close(x,c))||this._read_control_flows(x,c))||this._read_raw_content(x,l,c))||this._read_content_word(x,c))||this._read_comment_or_cdata(x))||this._read_processing(x))||this._read_open(x,c))||this._create_token(a.UNKNOWN,this._input.next())},s.prototype._read_comment_or_cdata=function(l){var c=null,y=null,x=null;return l==="<"&&(this._input.peek(1)==="!"&&((y=this.__patterns.comment.read())?(x=o.get_directives(y))&&x.ignore==="start"&&(y+=o.readIgnored(this._input)):y=this.__patterns.cdata.read()),y&&((c=this._create_token(a.COMMENT,y)).directives=x)),c},s.prototype._read_processing=function(l){var c=null,y=null;if(l==="<"){var x=this._input.peek(1);x!=="!"&&x!=="?"||(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,x=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(),x=this._create_token(a.TAG_OPEN,y)),x},s.prototype._read_open_handlebars=function(l,c){var y=null,x=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(),x=this._create_token(a.COMMENT,y)):(y=this.__patterns.handlebars_open.read(),x=this._create_token(a.TAG_OPEN,y))),x},s.prototype._read_control_flows=function(l,c){var y="",x=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return x;if(l==="@"){if((y=this.__patterns.angular_control_flow_start.read())==="")return x;for(var E=y.endsWith("(")?1:0,v=0;!y.endsWith("{")||E!==v;){var w=this._input.next();if(w===null)break;w==="("?E++:w===")"&&v++,y+=w}x=this._create_token(a.CONTROL_FLOW_OPEN,y)}else l==="}"&&c&&c.type===a.CONTROL_FLOW_OPEN&&(y=this._input.next(),x=this._create_token(a.CONTROL_FLOW_CLOSE,y));return x},s.prototype._read_close=function(l,c){var y=null,x=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()),x=this._create_token(a.TAG_CLOSE,y)):c.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),x=this._create_token(a.TAG_CLOSE,"}}"))),x},s.prototype._read_attribute=function(l,c,y){var x=null,E="";if(y&&y.text[0]==="<")if(l==="=")x=this._create_token(a.EQUALS,this._input.next());else if(l==='"'||l==="'"){var v=this._input.next();v+=l==='"'?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),x=this._create_token(a.VALUE,v)}else(E=this.__patterns.attribute.read())&&(x=c.type===a.EQUALS?this._create_token(a.VALUE,E):this._create_token(a.ATTRIBUTE,E));return x},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 x="";if(y&&y.text[0]==="{")x=this.__patterns.handlebars_raw_close.read();else if(c.type===a.TAG_CLOSE&&c.opened.text[0]==="<"&&c.text[0]!=="/"){var E=c.opened.text.substr(1).toLowerCase();if(E==="script"||E==="style"){var v=this._read_comment_or_cdata(l);if(v)return v.type=a.TEXT,v;x=this._input.readUntil(new RegExp("</"+E+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(E)&&(x=this._input.readUntil(new RegExp("</"+E+"[\\n\\r\\t ]*?>","ig")))}return x?this._create_token(a.TEXT,x):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)},Er.Tokenizer=s,Er.TOKEN=a,Er}function ju(){if(Rs)return ii;Rs=1;var t=Ss().Options,e=Vn().Output,r=Cs().Tokenizer,n=Cs().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 e(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,k=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?k="css":m.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?k="javascript":m.search(/(text|application|dojo)\/(x-)?(html)/)>-1?k="html":m.search(/test\/null/)>-1&&(k="null"),k):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 x(b,u,m,k){this._source_text=b||"",u=u||{},this._js_beautify=m,this._css_beautify=k,this._tag_stack=null;var S=new t(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)},x.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
|
-
`)).match(/^[\t ]*/)[0],k={text:"",type:""},S=new E,d=new o(this._options,m),g=new r(b,this._options).tokenize();this._tag_stack=new y(d);for(var
|
|
37
|
-
`,d=T[4],T[5]&&(h
|
|
36
|
+
`)).match(/^[\t ]*/)[0],k={text:"",type:""},S=new E,d=new o(this._options,m),g=new r(b,this._options).tokenize();this._tag_stack=new y(d);for(var p=null,_=g.next();_.type!==n.EOF;)_.type===n.TAG_OPEN||_.type===n.COMMENT?S=p=this._handle_tag_open(d,_,S,k,g):_.type===n.ATTRIBUTE||_.type===n.EQUALS||_.type===n.VALUE||_.type===n.TEXT&&!S.tag_complete?p=this._handle_inside_tag(d,_,S,k):_.type===n.TAG_CLOSE?p=this._handle_tag_close(d,_,S):_.type===n.TEXT?p=this._handle_text(d,_,S):_.type===n.CONTROL_FLOW_OPEN?p=this._handle_control_flow_open(d,_):_.type===n.CONTROL_FLOW_CLOSE?p=this._handle_control_flow_close(d,_):d.add_raw_token(_),k=p,_=g.next();return d._output.get_code(u)},x.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},x.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},x.prototype._handle_tag_close=function(b,u,m){var k={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(),k},x.prototype._handle_inside_tag=function(b,u,m,k){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&&(k.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},x.prototype._handle_text=function(b,u,m){var k={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)),k},x.prototype._print_custom_beatifier_text=function(b,u,m){var k=this;if(u.text!==""){var S,d=u.text,g=1,p="",_="";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 x(C,I,k._js_beautify,k._css_beautify).beautify()}),this._options.indent_scripts==="keep"?g=0:this._options.indent_scripts==="separate"&&(g=-b.indent_level);var h=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=h+T[1]+`
|
|
37
|
+
`,d=T[4],T[5]&&(_=h+T[5]),d=d.replace(/\n[ \t]*$/,""),(T[2]||T[3].indexOf(`
|
|
38
38
|
`)!==-1)&&(T=T[3].match(/[ \t]+$/))&&(u.whitespace_before=T[0])}if(d)if(S){var f=function(){this.eol=`
|
|
39
|
-
`};f.prototype=this._options.raw_options,d=S(
|
|
39
|
+
`};f.prototype=this._options.raw_options,d=S(h+d,new f)}else{var R=u.whitespace_before;R&&(d=d.replace(new RegExp(`
|
|
40
40
|
(`+R+")?","g"),`
|
|
41
|
-
`)),d=
|
|
42
|
-
`+
|
|
43
|
-
`+
|
|
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&&!(k.is_inline_element||k.is_unformatted)&&!(S.type===n.TAG_CLOSE&&m.start_tag_token===k)&&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)},x.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 v=["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"],w=["a","audio","del","ins","map","noscript","video"];return x.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"&&v.indexOf(b.tag_name)!==-1){var m=b.parent.parent;m&&w.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=x,ii}function zu(){if(Ls)return Ye;Ls=1;var t=function(){if(xs)return gr.exports;xs=1;var i=Uu().Beautifier,a=ds().Options;return gr.exports=function(o,s){return new i(o,s).beautify()},gr.exports.defaultOptions=function(){return new a},gr.exports}(),e=Fu(),r=function(){if(Os)return wr.exports;Os=1;var i=ju().Beautifier,a=Ss().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||t,s=s||e)}return n.defaultOptions=r.defaultOptions,Ye.js=t,Ye.css=e,Ye.html=n,Ye}var Is,si,oi,li,ve,ee,Hu=(Bs||(Bs=1,Is=ns,(ee=zu()).js_beautify=ee.js,ee.css_beautify=ee.css,ee.html_beautify=ee.html,Is.exports=(oi=ee,li=ee,(ve=function(t,e){return si.js_beautify(t,e)}).js=(si=ee).js_beautify,ve.css=oi.css_beautify,ve.html=li.html_beautify,ve.js_beautify=si.js_beautify,ve.css_beautify=oi.css_beautify,ve.html_beautify=li.html_beautify,ve)),ns.exports);const Vu=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],Ze=(t,e)=>{var r;if(t.nodeType===Node.TEXT_NODE)return{text:((r=t.textContent)==null?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(t.nodeType===Node.ELEMENT_NODE&&t instanceof Element){const n=t.tagName.toLowerCase(),i={};return n.startsWith("mj-")?e(t):(t.getAttributeNames().forEach(a=>{let o=na(a);o==="class"&&(o="className"),i[o]=t.getAttribute(a)||""}),n==="iframe"?(i.srcdoc&&(i.srcdoc=ce.decode(i.srcdoc)),tt.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:"iframe"},children:[{text:""}]})):n.startsWith("amp-")?(i.content&&(i.content=ce.decode(i.content)),tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))})):n==="br"?tt.getBlockByType(L.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):Vu.includes(n)?tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))}):tt.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))}))}throw new Error("Invalid node")};var qs,Ps={exports:{}},$u=(qs||(qs=1,Ps.exports=function t(e,r,n){function i(s,l){if(!r[s]){if(!e[s]){if(!l&&Hr)return Hr(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}l=r[s]={exports:{}},e[s][0].call(l.exports,function(c){return i(e[s][1][c]||c)},l,l.exports,t,e,r,n)}return r[s].exports}for(var a=Hr,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("crypto");function v(d,g){var _;return(_=(g=u(d,g)).algorithm!=="passthrough"?E.createHash(g.algorithm):new S).write===void 0&&(_.write=_.update,_.end=_.update),k(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=e.exports=v).sha1=function(d){return v(d)},r.keys=function(d){return v(d,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(d){return v(d,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(d){return v(d,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var w=E.getHashes?E.getHashes().slice():["sha1","md5"],b=(w.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<w.length;++h)w[h].toLowerCase()===_.algorithm.toLowerCase()&&(_.algorithm=w[h]);if(w.indexOf(_.algorithm)===-1)throw new Error('Algorithm "'+_.algorithm+'" not supported. supported values: '+w.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 k(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 k(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
|
|
41
|
+
`)),d=h+d.replace(/\n/g,`
|
|
42
|
+
`+h)}p&&(d=d?p+d+`
|
|
43
|
+
`+_:p+_),b.print_newline(!1),d&&(u.text=d,u.whitespace_before="",u.newlines=0,b.add_raw_token(u),b.print_newline(!0))}},x.prototype._handle_tag_open=function(b,u,m,k,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,k),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,p=0;do(g=S.peek(p)).type===n.ATTRIBUTE&&(d.attr_count+=1),p+=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 E=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 k=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(k=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(k)))}else this.tag_complete=!0};x.prototype._get_tag_open_token=function(b){var u=new E(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},x.prototype._set_tag_position=function(b,u,m,k,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&&k.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&&!(k.is_inline_element||k.is_unformatted)&&!(S.type===n.TAG_CLOSE&&m.start_tag_token===k)&&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)},x.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 v=["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"],w=["a","audio","del","ins","map","noscript","video"];return x.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"&&v.indexOf(b.tag_name)!==-1){var m=b.parent.parent;m&&w.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=x,ii}function zu(){if(Ls)return Ye;Ls=1;var t=function(){if(xs)return gr.exports;xs=1;var i=Uu().Beautifier,a=ds().Options;return gr.exports=function(o,s){return new i(o,s).beautify()},gr.exports.defaultOptions=function(){return new a},gr.exports}(),e=Fu(),r=function(){if(Os)return wr.exports;Os=1;var i=ju().Beautifier,a=Ss().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||t,s=s||e)}return n.defaultOptions=r.defaultOptions,Ye.js=t,Ye.css=e,Ye.html=n,Ye}var Is,si,oi,li,ve,ee,Hu=(Bs||(Bs=1,Is=ns,(ee=zu()).js_beautify=ee.js,ee.css_beautify=ee.css,ee.html_beautify=ee.html,Is.exports=(oi=ee,li=ee,(ve=function(t,e){return si.js_beautify(t,e)}).js=(si=ee).js_beautify,ve.css=oi.css_beautify,ve.html=li.html_beautify,ve.js_beautify=si.js_beautify,ve.css_beautify=oi.css_beautify,ve.html_beautify=li.html_beautify,ve)),ns.exports);const Vu=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],Ze=(t,e)=>{var r;if(t.nodeType===Node.TEXT_NODE)return{text:((r=t.textContent)==null?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(t.nodeType===Node.ELEMENT_NODE&&t instanceof Element){const n=t.tagName.toLowerCase(),i={};return n.startsWith("mj-")?e(t):(t.getAttributeNames().forEach(a=>{let o=na(a);o==="class"&&(o="className"),i[o]=t.getAttribute(a)||""}),n==="iframe"?(i.srcdoc&&(i.srcdoc=ce.decode(i.srcdoc)),tt.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:"iframe"},children:[{text:""}]})):n.startsWith("amp-")?(i.content&&(i.content=ce.decode(i.content)),tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))})):n==="br"?tt.getBlockByType(L.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):Vu.includes(n)?tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))}):tt.getBlockByType(L.HTML_NODE).create({attributes:i,data:{tagName:n},children:[...t.childNodes].filter(a=>a.nodeType!==Node.COMMENT_NODE).map(a=>Ze(a,e))}))}throw new Error("Invalid node")};var qs,Ps={exports:{}},$u=(qs||(qs=1,Ps.exports=function t(e,r,n){function i(s,l){if(!r[s]){if(!e[s]){if(!l&&Hr)return Hr(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}l=r[s]={exports:{}},e[s][0].call(l.exports,function(c){return i(e[s][1][c]||c)},l,l.exports,t,e,r,n)}return r[s].exports}for(var a=Hr,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("crypto");function v(d,g){var p;return(p=(g=u(d,g)).algorithm!=="passthrough"?E.createHash(g.algorithm):new S).write===void 0&&(p.write=p.update,p.end=p.update),k(g,p).dispatch(d),p.update||p.end(""),p.digest?p.digest(g.encoding==="buffer"?void 0:g.encoding):(d=p.read(),g.encoding!=="buffer"?d.toString(g.encoding):d)}(r=e.exports=v).sha1=function(d){return v(d)},r.keys=function(d){return v(d,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(d){return v(d,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(d){return v(d,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var w=E.getHashes?E.getHashes().slice():["sha1","md5"],b=(w.push("passthrough"),["buffer","hex","binary","base64"]);function u(d,g){var p={};if(p.algorithm=(g=g||{}).algorithm||"sha1",p.encoding=g.encoding||"hex",p.excludeValues=!!g.excludeValues,p.algorithm=p.algorithm.toLowerCase(),p.encoding=p.encoding.toLowerCase(),p.ignoreUnknown=g.ignoreUnknown===!0,p.respectType=g.respectType!==!1,p.respectFunctionNames=g.respectFunctionNames!==!1,p.respectFunctionProperties=g.respectFunctionProperties!==!1,p.unorderedArrays=g.unorderedArrays===!0,p.unorderedSets=g.unorderedSets!==!1,p.unorderedObjects=g.unorderedObjects!==!1,p.replacer=g.replacer||void 0,p.excludeKeys=g.excludeKeys||void 0,d===void 0)throw new Error("Object argument required.");for(var _=0;_<w.length;++_)w[_].toLowerCase()===p.algorithm.toLowerCase()&&(p.algorithm=w[_]);if(w.indexOf(p.algorithm)===-1)throw new Error('Algorithm "'+p.algorithm+'" not supported. supported values: '+w.join(", "));if(b.indexOf(p.encoding)===-1&&p.algorithm!=="passthrough")throw new Error('Encoding "'+p.encoding+'" not supported. supported values: '+b.join(", "));return p}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 k(d,g,p){function _(h){return g.update?g.update(h,"utf8"):g.write(h,"utf8")}return p=p||[],{dispatch:function(h){return this["_"+((h=d.replacer?d.replacer(h):h)===null?"null":typeof h)](h)},_object:function(h){var T,f=Object.prototype.toString.call(h),R=/\[object (.*)\]/i.exec(f);if(R=(R=R?R[1]:"unknown:["+f+"]").toLowerCase(),0<=(f=p.indexOf(h)))return this.dispatch("[CIRCULAR:"+f+"]");if(p.push(h),a!==void 0&&a.isBuffer&&a.isBuffer(h))return _("buffer:"),_(h);if(R==="object"||R==="function"||R==="asyncfunction")return f=Object.keys(h),d.unorderedObjects&&(f=f.sort()),d.respectType===!1||m(h)||f.splice(0,0,"prototype","__proto__","constructor"),d.excludeKeys&&(f=f.filter(function(C){return!d.excludeKeys(C)})),_("object:"+f.length+":"),T=this,f.forEach(function(C){T.dispatch(C),_(":"),d.excludeValues||T.dispatch(h[C]),_(",")});if(!this["_"+R]){if(d.ignoreUnknown)return _("["+R+"]");throw new Error('Unknown object type "'+R+'"')}this["_"+R](h)},_array:function(h,T){T=T!==void 0?T:d.unorderedArrays!==!1;var f=this;if(_("array:"+h.length+":"),!T||h.length<=1)return h.forEach(function(C){return f.dispatch(C)});var R=[];return T=h.map(function(C){var I=new S,D=p.slice();return k(d,I,D).dispatch(C),R=R.concat(D.slice(p.length)),I.read().toString()}),p=p.concat(R),T.sort(),this._array(T,!1)},_date:function(h){return _("date:"+h.toJSON())},_symbol:function(h){return _("symbol:"+h.toString())},_error:function(h){return _("error:"+h.toString())},_boolean:function(h){return _("bool:"+h.toString())},_string:function(h){_("string:"+h.length+":"),_(h.toString())},_function:function(h){_("fn:"),m(h)?this.dispatch("[native]"):this.dispatch(h.toString()),d.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(h.name)),d.respectFunctionProperties&&this._object(h)},_number:function(h){return _("number:"+h.toString())},_xml:function(h){return _("xml:"+h.toString())},_null:function(){return _("Null")},_undefined:function(){return _("Undefined")},_regexp:function(h){return _("regex:"+h.toString())},_uint8array:function(h){return _("uint8array:"),this.dispatch(Array.prototype.slice.call(h))},_uint8clampedarray:function(h){return _("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(h))},_int8array:function(h){return _("int8array:"),this.dispatch(Array.prototype.slice.call(h))},_uint16array:function(h){return _("uint16array:"),this.dispatch(Array.prototype.slice.call(h))},_int16array:function(h){return _("int16array:"),this.dispatch(Array.prototype.slice.call(h))},_uint32array:function(h){return _("uint32array:"),this.dispatch(Array.prototype.slice.call(h))},_int32array:function(h){return _("int32array:"),this.dispatch(Array.prototype.slice.call(h))},_float32array:function(h){return _("float32array:"),this.dispatch(Array.prototype.slice.call(h))},_float64array:function(h){return _("float64array:"),this.dispatch(Array.prototype.slice.call(h))},_arraybuffer:function(h){return _("arraybuffer:"),this.dispatch(new Uint8Array(h))},_url:function(h){return _("url:"+h.toString())},_map:function(h){return _("map:"),h=Array.from(h),this._array(h,d.unorderedSets!==!1)},_set:function(h){return _("set:"),h=Array.from(h),this._array(h,d.unorderedSets!==!1)},_file:function(h){return _("file:"),this.dispatch([h.name,h.size,h.type,h.lastModfied])},_blob:function(){if(d.ignoreUnknown)return _("[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
|
-
`)},_domwindow:function(){return
|
|
48
|
-
list should be an Array.`),A.length===0)return new w(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 w(N),$=0,W=0;W<A.length;W++){var Z=A[W];Z.copy(B,$),$+=Z.length}return B},w.prototype.write=function(A,N,B,$){isFinite(N)?isFinite(B)||($=B,B=void 0):(wt=$,$=N,N=B,B=wt),N=Number(N)||0;var W,Z,ct,bt,wt=this.length-N;switch((!B||wt<(B=Number(B)))&&(B=wt),$=String($||"utf8").toLowerCase()){case"hex":W=function(It,Nt,vt,xt){vt=Number(vt)||0;var yt=It.length-vt;(!xt||yt<(xt=Number(xt)))&&(xt=yt),J((yt=Nt.length)%2==0,"Invalid hex string"),yt/2<xt&&(xt=yt/2);for(var $t=0;$t<xt;$t++){var ze=parseInt(Nt.substr(2*$t,2),16);J(!isNaN(ze),"Invalid hex string"),It[vt+$t]=ze}return w._charsWritten=2*$t,$t}(this,A,N,B);break;case"utf8":case"utf-8":Z=this,ct=N,bt=B,W=w._charsWritten=U(M(A),Z,ct,bt);break;case"ascii":case"binary":W=b(this,A,N,B);break;case"base64":Z=this,ct=N,bt=B,W=w._charsWritten=U(j(A),Z,ct,bt);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},w.prototype.toString=function(A,N,B){var $,W,Z,ct,bt=this;if(A=String(A||"utf8").toLowerCase(),N=Number(N)||0,(B=B!==void 0?Number(B):bt.length)===N)return"";switch(A){case"hex":$=function(wt,It,Nt){var vt=wt.length;(!It||It<0)&&(It=0),(!Nt||Nt<0||vt<Nt)&&(Nt=vt);for(var xt="",yt=It;yt<Nt;yt++)xt+=G(wt[yt]);return xt}(bt,N,B);break;case"utf8":case"utf-8":$=function(wt,It,Nt){var vt="",xt="";Nt=Math.min(wt.length,Nt);for(var yt=It;yt<Nt;yt++)wt[yt]<=127?(vt+=V(xt)+String.fromCharCode(wt[yt]),xt=""):xt+="%"+wt[yt].toString(16);return vt+V(xt)}(bt,N,B);break;case"ascii":case"binary":$=m(bt,N,B);break;case"base64":W=bt,ct=B,$=(Z=N)===0&&ct===W.length?E.fromByteArray(W):E.fromByteArray(W.slice(Z,ct));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":$=function(wt,It,Nt){for(var vt=wt.slice(It,Nt),xt="",yt=0;yt<vt.length;yt+=2)xt+=String.fromCharCode(vt[yt]+256*vt[yt+1]);return xt}(bt,N,B);break;default:throw new Error("Unknown encoding")}return $},w.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},w.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||!w._useTypedArrays)for(var Z=0;Z<W;Z++)A[Z+N]=this[Z+B];else A._set(this.subarray(B,B+W),N)}},w.prototype.slice=function(A,N){var B=this.length;if(A=P(A,B,0),N=P(N,B,B),w._useTypedArrays)return w._augment(this.subarray(A,N));for(var $=N-A,W=new w($,void 0,!0),Z=0;Z<$;Z++)W[Z]=this[Z+A];return W},w.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},w.prototype.set=function(A,N){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,N)},w.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]},w.prototype.readUInt16LE=function(A,N){return k(this,A,!0,N)},w.prototype.readUInt16BE=function(A,N){return k(this,A,!1,N)},w.prototype.readUInt32LE=function(A,N){return S(this,A,!0,N)},w.prototype.readUInt32BE=function(A,N){return S(this,A,!1,N)},w.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]},w.prototype.readInt16LE=function(A,N){return d(this,A,!0,N)},w.prototype.readInt16BE=function(A,N){return d(this,A,!1,N)},w.prototype.readInt32LE=function(A,N){return g(this,A,!0,N)},w.prototype.readInt32BE=function(A,N){return g(this,A,!1,N)},w.prototype.readFloatLE=function(A,N){return _(this,A,!0,N)},w.prototype.readFloatBE=function(A,N){return _(this,A,!1,N)},w.prototype.readDoubleLE=function(A,N){return h(this,A,!0,N)},w.prototype.readDoubleBE=function(A,N){return h(this,A,!1,N)},w.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"),ut(A,255)),N>=this.length||(this[N]=A)},w.prototype.writeUInt16LE=function(A,N,B){p(this,A,N,!0,B)},w.prototype.writeUInt16BE=function(A,N,B){p(this,A,N,!1,B)},w.prototype.writeUInt32LE=function(A,N,B){T(this,A,N,!0,B)},w.prototype.writeUInt32BE=function(A,N,B){T(this,A,N,!1,B)},w.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"),kt(A,127,-128)),N>=this.length||(0<=A?this.writeUInt8(A,N,B):this.writeUInt8(255+A+1,N,B))},w.prototype.writeInt16LE=function(A,N,B){f(this,A,N,!0,B)},w.prototype.writeInt16BE=function(A,N,B){f(this,A,N,!1,B)},w.prototype.writeInt32LE=function(A,N,B){R(this,A,N,!0,B)},w.prototype.writeInt32BE=function(A,N,B){R(this,A,N,!1,B)},w.prototype.writeFloatLE=function(A,N,B){C(this,A,N,!0,B)},w.prototype.writeFloatBE=function(A,N,B){C(this,A,N,!1,B)},w.prototype.writeDoubleLE=function(A,N,B){I(this,A,N,!0,B)},w.prototype.writeDoubleBE=function(A,N,B){I(this,A,N,!1,B)},w.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}},w.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(" ")+">"},w.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(w._useTypedArrays)return new w(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=w.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("%")),ct=0;ct<Z.length;ct++)N.push(parseInt(Z[ct],16))}return N}function j(A){return E.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 ut(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 kt(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 At(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")}w._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,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){a=t("buffer").Buffer;var E=4,v=new a(E);v.fill(0),e.exports={hash:function(w,b,u,m){for(var k=b(function(_,h){_.length%E!=0&&(p=_.length+(E-_.length%E),_=a.concat([_,v],p));for(var p,T=[],f=h?_.readInt32BE:_.readInt32LE,R=0;R<_.length;R+=E)T.push(f.call(_,R));return T}(w=a.isBuffer(w)?w:new a(w),m),8*w.length),S=(b=m,new a(u)),d=b?S.writeInt32BE:S.writeInt32LE,g=0;g<k.length;g++)d.call(S,k[g],4*g,!0);return S}}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){a=t("buffer").Buffer;var E=t("./sha"),v=t("./sha256"),w=t("./rng"),b={sha1:E,sha256:v,md5:t("./md5")},u=64,m=new a(u);function k(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 k(h)},r.createHmac=k,r.randomBytes=function(h,p){if(!p||!p.call)return new a(w(h));try{p.call(this,void 0,new a(w(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,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("./helpers");function v(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),_=k(_,h=m(h,p,T,_,d[f+2],23,-995338651),p,T,d[f+0],6,-198630844),T=k(T,_,h,p,d[f+7],10,1126891415),p=k(p,T,_,h,d[f+14],15,-1416354905),h=k(h,p,T,_,d[f+5],21,-57434055),_=k(_,h,p,T,d[f+12],6,1700485571),T=k(T,_,h,p,d[f+3],10,-1894986606),p=k(p,T,_,h,d[f+10],15,-1051523),h=k(h,p,T,_,d[f+1],21,-2054922799),_=k(_,h,p,T,d[f+8],6,1873313359),T=k(T,_,h,p,d[f+15],10,-30611744),p=k(p,T,_,h,d[f+6],15,-1560198380),h=k(h,p,T,_,d[f+13],21,1309151649),_=k(_,h,p,T,d[f+4],6,-145523070),T=k(T,_,h,p,d[f+11],10,-1120210379),p=k(p,T,_,h,d[f+2],15,718787259),h=k(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 w(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 w(g&_|~g&h,d,g,p,T,f)}function u(d,g,_,h,p,T,f){return w(g&h|_&~h,d,g,p,T,f)}function m(d,g,_,h,p,T,f){return w(g^_^h,d,g,p,T,f)}function k(d,g,_,h,p,T,f){return w(_^(g|~h),d,g,p,T,f)}function S(d,g){var _=(65535&d)+(65535&g);return(d>>16)+(g>>16)+(_>>16)<<16|65535&_}e.exports=function(d){return E.hash(d,v,16)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){e.exports=function(E){for(var v,w=new Array(E),b=0;b<E;b++)!(3&b)&&(v=4294967296*Math.random()),w[b]=v>>>((3&b)<<3)&255;return w}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("./helpers");function v(u,m){u[m>>5]|=128<<24-m%32,u[15+(m+64>>9<<4)]=m;for(var k,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=w(w(b(_,5),(G=h,S=p,d=T,(k=H)<20?G&S|~G&d:!(k<40)&&k<60?G&S|G&d|S&d:G^S^d)),w(w(f,g[H]),(k=H)<20?1518500249:k<40?1859775393:k<60?-1894007588:-899497514));f=T,T=p,p=b(h,30),h=_,_=G}_=w(_,C),h=w(h,I),p=w(p,D),T=w(T,P),f=w(f,F)}return Array(_,h,p,T,f)}function w(u,m){var k=(65535&u)+(65535&m);return(u>>16)+(m>>16)+(k>>16)<<16|65535&k}function b(u,m){return u<<m|u>>>32-m}e.exports=function(u){return E.hash(u,v,20,!0)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){function E(m,k){var S=(65535&m)+(65535&k);return(m>>16)+(k>>16)+(S>>16)<<16|65535&S}function v(m,k){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[k>>5]|=128<<24-k%32,m[15+(k+64>>9<<4)]=k;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]:E(E(E((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=E(E(E(E(H,b(p=D,6)^b(p,11)^b(p,25)),D&P^~D&F),d[G]),_[G]),h=E(b(h=f,2)^b(h,13)^b(h,22),f&R^f&C^R&C),H=F,F=P,P=D,D=E(I,S),I=C,C=R,R=f,f=E(S,h);g[0]=E(f,g[0]),g[1]=E(R,g[1]),g[2]=E(C,g[2]),g[3]=E(I,g[3]),g[4]=E(D,g[4]),g[5]=E(P,g[5]),g[6]=E(F,g[6]),g[7]=E(H,g[7])}return g}var w=t("./helpers"),b=function(m,k){return m>>>k|m<<32-k},u=function(m,k){return m>>>k};e.exports=function(m){return w.hash(m,v,32,!0)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){r.read=function(E,v,w,b,u){var m,k,S=8*u-b-1,d=(1<<S)-1,g=d>>1,_=-7,h=w?u-1:0,p=w?-1:1;for(u=E[v+h],h+=p,m=u&(1<<-_)-1,u>>=-_,_+=S;0<_;m=256*m+E[v+h],h+=p,_-=8);for(k=m&(1<<-_)-1,m>>=-_,_+=b;0<_;k=256*k+E[v+h],h+=p,_-=8);if(m===0)m=1-g;else{if(m===d)return k?NaN:1/0*(u?-1:1);k+=Math.pow(2,b),m-=g}return(u?-1:1)*k*Math.pow(2,m-b)},r.write=function(E,v,w,b,u,m){var k,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=v<0||v===0&&1/v<0?1:0,v=Math.abs(v),isNaN(v)||v===1/0?(S=isNaN(v)?1:0,k=g):(k=Math.floor(Math.log(v)/Math.LN2),v*(b=Math.pow(2,-k))<1&&(k--,b*=2),2<=(v+=1<=k+_?h/b:h*Math.pow(2,1-_))*b&&(k++,b/=2),g<=k+_?(S=0,k=g):1<=k+_?(S=(v*b-1)*Math.pow(2,u),k+=_):(S=v*Math.pow(2,_-1)*Math.pow(2,u),k=0));8<=u;E[w+p]=255&S,p+=T,S/=256,u-=8);for(k=k<<u|S,d+=u;0<d;E[w+p]=255&k,p+=T,k/=256,d-=8);E[w+p-T]|=128*m}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E,v,w;function b(){}(n=e.exports={}).nextTick=(v=typeof window<"u"&&window.setImmediate,w=typeof window<"u"&&window.postMessage&&window.addEventListener,v?function(u){return window.setImmediate(u)}:w?(E=[],window.addEventListener("message",function(u){var m=u.source;m!==window&&m!==null||u.data!=="process-tick"||(u.stopPropagation(),0<E.length&&E.shift()())},!0),function(u){E.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,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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)),Ps.exports);const Ms=ur($u),Jt=class Ql{static setAutoComplete(e){this.autoComplete=e}static auth(e){return Lt(this,null,function*(){yield Xt.auth(e)})}static toMJML(e){const r=Xt.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:x}=e,E=e.outputFormat||"mjml",v=tt.getBlockByType(n.type);if(!v)throw new Error(`Block ${n.type} not found`);if(!i&&v.category!==z.PAGE)throw new Error("Page element is required if element is not a page");const w=o?Ql.transformUniversalElements({universalElements:o.elements,content:Tt(n)}):Tt(n),b=new Fn({mode:s}),u={content:i||n};let m="",k="",S=c;if(v.category===z.PAGE){S=et.getPageIdx();const _=Tt(i||w);if(_.attributes=oe(_.attributes,"content-background-color"),e.headerElement||e.footerElement){if(!Xt.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const h={content:_};e.headerElement&&(m=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:h,displayMode:l,outputFormat:E,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:Tt(e.headerElement)})))))),e.footerElement&&(k=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:h,displayMode:l,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x,outputFormat:E},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:Tt(e.footerElement)}))))))}}let d=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:u,displayMode:l,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x,outputFormat:E},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:w})))));const g=b.getHeadContent();return d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=Xt.getFeatureEnabled("REMOVE_BRAND")?d.replace(/\<!-- EASY_EMAIL_BRAND --\>/g,""):d.replace(/\<!-- EASY_EMAIL_BRAND --\>/,`<mj-section padding-top="20px" padding-bottom="0px">
|
|
47
|
+
`)},_domwindow:function(){return _("domwindow")},_bigint:function(h){return _("bigint:"+h.toString())},_process:function(){return _("process")},_timer:function(){return _("timer")},_pipe:function(){return _("pipe")},_tcp:function(){return _("tcp")},_udp:function(){return _("udp")},_tty:function(){return _("tty")},_statwatcher:function(){return _("statwatcher")},_securecontext:function(){return _("securecontext")},_connection:function(){return _("connection")},_zlib:function(){return _("zlib")},_context:function(){return _("context")},_nodescript:function(){return _("nodescript")},_httpparser:function(){return _("httpparser")},_dataview:function(){return _("dataview")},_signal:function(){return _("signal")},_fsevent:function(){return _("fsevent")},_tlswrap:function(){return _("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,p){return p===void 0&&(p=g,g={}),k(g=u(d,g),p).dispatch(d)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(t,e,r){(function(n,i,a,o,s,l,c,y,x){(function(E){var v=typeof Uint8Array<"u"?Uint8Array:Array,w=43,b=47,u=48,m=97,k=65,S=45,d=95;function g(p){return(p=p.charCodeAt(0))===w||p===S?62:p===b||p===d?63:p<u?-1:p<u+10?p-u+26+26:p<k+26?p-k:p<m+26?p-m+26:void 0}E.toByteArray=function(p){var _,h;if(0<p.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var T=p.length,f=(T=p.charAt(T-2)==="="?2:p.charAt(T-1)==="="?1:0,new v(3*p.length/4-T)),R=0<T?p.length-4:p.length,C=0;function I(D){f[C++]=D}for(_=0;_<R;_+=4,0)I((16711680&(h=g(p.charAt(_))<<18|g(p.charAt(_+1))<<12|g(p.charAt(_+2))<<6|g(p.charAt(_+3))))>>16),I((65280&h)>>8),I(255&h);return T==2?I(255&(h=g(p.charAt(_))<<2|g(p.charAt(_+1))>>4)):T==1&&(I((h=g(p.charAt(_))<<10|g(p.charAt(_+1))<<4|g(p.charAt(_+2))>>2)>>8&255),I(255&h)),f},E.fromByteArray=function(p){var _,h,T,f,R=p.length%3,C="";function I(D){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(D)}for(_=0,T=p.length-R;_<T;_+=3)C+=I((f=h=(p[_]<<16)+(p[_+1]<<8)+p[_+2])>>18&63)+I(f>>12&63)+I(f>>6&63)+I(63&f);switch(R){case 1:C=(C+=I((h=p[p.length-1])>>2))+I(h<<4&63)+"==";break;case 2:C=(C=(C+=I((h=(p[p.length-2]<<8)+p[p.length-1])>>10))+I(h>>4&63))+I(h<<2&63)+"="}return C}})(r===void 0?this.base64js={}:r)}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,w,o,s,l,c,y,x){var E=t("base64-js"),v=t("ieee754");function w(A,N,B){if(!(this instanceof w))return new w(A,N,B);var $,W,Z,ct,bt=typeof A;if(N==="base64"&&bt=="string")for(A=(ct=A).trim?ct.trim():ct.replace(/^\s+|\s+$/g,"");A.length%4!=0;)A+="=";if(bt=="number")$=F(A);else if(bt=="string")$=w.byteLength(A,N);else{if(bt!="object")throw new Error("First argument needs to be a number, array or string.");$=F(A.length)}if(w._useTypedArrays?W=w._augment(new Uint8Array($)):((W=this).length=$,W._isBuffer=!0),w._useTypedArrays&&typeof A.byteLength=="number")W._set(A);else if(H(ct=A)||w.isBuffer(ct)||ct&&typeof ct=="object"&&typeof ct.length=="number")for(Z=0;Z<$;Z++)w.isBuffer(A)?W[Z]=A.readUInt8(Z):W[Z]=A[Z];else if(bt=="string")W.write(A,0,N);else if(bt=="number"&&!w._useTypedArrays&&!B)for(Z=0;Z<$;Z++)W[Z]=0;return W}function b(A,N,B,$){return w._charsWritten=U(function(W){for(var Z=[],ct=0;ct<W.length;ct++)Z.push(255&W.charCodeAt(ct));return Z}(N),A,B,$)}function u(A,N,B,$){return w._charsWritten=U(function(W){for(var Z,ct,bt=[],wt=0;wt<W.length;wt++)Z=(ct=W.charCodeAt(wt))>>8,ct%=256,bt.push(ct),bt.push(Z);return bt}(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 k(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&($=k(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 p(A,N,B,$){return $||(J(typeof B=="boolean","missing or invalid endian"),J(N+3<A.length,"Trying to read beyond buffer length")),v.read(A,N,B,23,4)}function _(A,N,B,$){return $||(J(typeof B=="boolean","missing or invalid endian"),J(N+7<A.length,"Trying to read beyond buffer length")),v.read(A,N,B,52,8)}function h(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"),ut(N,65535)),!((W=A.length)<=B))for(var Z=0,ct=Math.min(W-B,2);Z<ct;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"),ut(N,4294967295)),!((W=A.length)<=B))for(var Z=0,ct=Math.min(W-B,4);Z<ct;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"),kt(N,32767,-32768)),A.length<=B||h(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"),kt(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"),At(N,34028234663852886e22,-34028234663852886e22)),A.length<=B||v.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"),At(N,17976931348623157e292,-17976931348623157e292)),A.length<=B||v.write(A,N,B,$,52,8)}r.Buffer=w,r.SlowBuffer=w,r.INSPECT_MAX_BYTES=50,w.poolSize=8192,w._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}}(),w.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}},w.isBuffer=function(A){return!(A==null||!A._isBuffer)},w.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},w.concat=function(A,N){if(J(H(A),`Usage: Buffer.concat(list, [totalLength])
|
|
48
|
+
list should be an Array.`),A.length===0)return new w(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 w(N),$=0,W=0;W<A.length;W++){var Z=A[W];Z.copy(B,$),$+=Z.length}return B},w.prototype.write=function(A,N,B,$){isFinite(N)?isFinite(B)||($=B,B=void 0):(wt=$,$=N,N=B,B=wt),N=Number(N)||0;var W,Z,ct,bt,wt=this.length-N;switch((!B||wt<(B=Number(B)))&&(B=wt),$=String($||"utf8").toLowerCase()){case"hex":W=function(It,Nt,vt,xt){vt=Number(vt)||0;var yt=It.length-vt;(!xt||yt<(xt=Number(xt)))&&(xt=yt),J((yt=Nt.length)%2==0,"Invalid hex string"),yt/2<xt&&(xt=yt/2);for(var $t=0;$t<xt;$t++){var ze=parseInt(Nt.substr(2*$t,2),16);J(!isNaN(ze),"Invalid hex string"),It[vt+$t]=ze}return w._charsWritten=2*$t,$t}(this,A,N,B);break;case"utf8":case"utf-8":Z=this,ct=N,bt=B,W=w._charsWritten=U(M(A),Z,ct,bt);break;case"ascii":case"binary":W=b(this,A,N,B);break;case"base64":Z=this,ct=N,bt=B,W=w._charsWritten=U(j(A),Z,ct,bt);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},w.prototype.toString=function(A,N,B){var $,W,Z,ct,bt=this;if(A=String(A||"utf8").toLowerCase(),N=Number(N)||0,(B=B!==void 0?Number(B):bt.length)===N)return"";switch(A){case"hex":$=function(wt,It,Nt){var vt=wt.length;(!It||It<0)&&(It=0),(!Nt||Nt<0||vt<Nt)&&(Nt=vt);for(var xt="",yt=It;yt<Nt;yt++)xt+=G(wt[yt]);return xt}(bt,N,B);break;case"utf8":case"utf-8":$=function(wt,It,Nt){var vt="",xt="";Nt=Math.min(wt.length,Nt);for(var yt=It;yt<Nt;yt++)wt[yt]<=127?(vt+=V(xt)+String.fromCharCode(wt[yt]),xt=""):xt+="%"+wt[yt].toString(16);return vt+V(xt)}(bt,N,B);break;case"ascii":case"binary":$=m(bt,N,B);break;case"base64":W=bt,ct=B,$=(Z=N)===0&&ct===W.length?E.fromByteArray(W):E.fromByteArray(W.slice(Z,ct));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":$=function(wt,It,Nt){for(var vt=wt.slice(It,Nt),xt="",yt=0;yt<vt.length;yt+=2)xt+=String.fromCharCode(vt[yt]+256*vt[yt+1]);return xt}(bt,N,B);break;default:throw new Error("Unknown encoding")}return $},w.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},w.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||!w._useTypedArrays)for(var Z=0;Z<W;Z++)A[Z+N]=this[Z+B];else A._set(this.subarray(B,B+W),N)}},w.prototype.slice=function(A,N){var B=this.length;if(A=P(A,B,0),N=P(N,B,B),w._useTypedArrays)return w._augment(this.subarray(A,N));for(var $=N-A,W=new w($,void 0,!0),Z=0;Z<$;Z++)W[Z]=this[Z+A];return W},w.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},w.prototype.set=function(A,N){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,N)},w.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]},w.prototype.readUInt16LE=function(A,N){return k(this,A,!0,N)},w.prototype.readUInt16BE=function(A,N){return k(this,A,!1,N)},w.prototype.readUInt32LE=function(A,N){return S(this,A,!0,N)},w.prototype.readUInt32BE=function(A,N){return S(this,A,!1,N)},w.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]},w.prototype.readInt16LE=function(A,N){return d(this,A,!0,N)},w.prototype.readInt16BE=function(A,N){return d(this,A,!1,N)},w.prototype.readInt32LE=function(A,N){return g(this,A,!0,N)},w.prototype.readInt32BE=function(A,N){return g(this,A,!1,N)},w.prototype.readFloatLE=function(A,N){return p(this,A,!0,N)},w.prototype.readFloatBE=function(A,N){return p(this,A,!1,N)},w.prototype.readDoubleLE=function(A,N){return _(this,A,!0,N)},w.prototype.readDoubleBE=function(A,N){return _(this,A,!1,N)},w.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"),ut(A,255)),N>=this.length||(this[N]=A)},w.prototype.writeUInt16LE=function(A,N,B){h(this,A,N,!0,B)},w.prototype.writeUInt16BE=function(A,N,B){h(this,A,N,!1,B)},w.prototype.writeUInt32LE=function(A,N,B){T(this,A,N,!0,B)},w.prototype.writeUInt32BE=function(A,N,B){T(this,A,N,!1,B)},w.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"),kt(A,127,-128)),N>=this.length||(0<=A?this.writeUInt8(A,N,B):this.writeUInt8(255+A+1,N,B))},w.prototype.writeInt16LE=function(A,N,B){f(this,A,N,!0,B)},w.prototype.writeInt16BE=function(A,N,B){f(this,A,N,!1,B)},w.prototype.writeInt32LE=function(A,N,B){R(this,A,N,!0,B)},w.prototype.writeInt32BE=function(A,N,B){R(this,A,N,!1,B)},w.prototype.writeFloatLE=function(A,N,B){C(this,A,N,!0,B)},w.prototype.writeFloatBE=function(A,N,B){C(this,A,N,!1,B)},w.prototype.writeDoubleLE=function(A,N,B){I(this,A,N,!0,B)},w.prototype.writeDoubleBE=function(A,N,B){I(this,A,N,!1,B)},w.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}},w.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(" ")+">"},w.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(w._useTypedArrays)return new w(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=w.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("%")),ct=0;ct<Z.length;ct++)N.push(parseInt(Z[ct],16))}return N}function j(A){return E.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 ut(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 kt(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 At(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")}w._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,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){a=t("buffer").Buffer;var E=4,v=new a(E);v.fill(0),e.exports={hash:function(w,b,u,m){for(var k=b(function(p,_){p.length%E!=0&&(h=p.length+(E-p.length%E),p=a.concat([p,v],h));for(var h,T=[],f=_?p.readInt32BE:p.readInt32LE,R=0;R<p.length;R+=E)T.push(f.call(p,R));return T}(w=a.isBuffer(w)?w:new a(w),m),8*w.length),S=(b=m,new a(u)),d=b?S.writeInt32BE:S.writeInt32LE,g=0;g<k.length;g++)d.call(S,k[g],4*g,!0);return S}}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){a=t("buffer").Buffer;var E=t("./sha"),v=t("./sha256"),w=t("./rng"),b={sha1:E,sha256:v,md5:t("./md5")},u=64,m=new a(u);function k(_,h){var T=b[_=_||"sha1"],f=[];return T||S("algorithm:",_,"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=h?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,h,C):T(C),f=null,R?C.toString(R):C}}}function S(){var _=[].slice.call(arguments).join(" ");throw new Error([_,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
49
|
+
`))}m.fill(0),r.createHash=function(_){return k(_)},r.createHmac=k,r.randomBytes=function(_,h){if(!h||!h.call)return new a(w(_));try{h.call(this,void 0,new a(w(_)))}catch(T){h(T)}};var d,g=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],p=function(_){r[_]=function(){S("sorry,",_,"is not implemented yet")}};for(d in g)p(g[d])}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("./helpers");function v(d,g){d[g>>5]|=128<<g%32,d[14+(g+64>>>9<<4)]=g;for(var p=1732584193,_=-271733879,h=-1732584194,T=271733878,f=0;f<d.length;f+=16){var R=p,C=_,I=h,D=T;p=b(p,_,h,T,d[f+0],7,-680876936),T=b(T,p,_,h,d[f+1],12,-389564586),h=b(h,T,p,_,d[f+2],17,606105819),_=b(_,h,T,p,d[f+3],22,-1044525330),p=b(p,_,h,T,d[f+4],7,-176418897),T=b(T,p,_,h,d[f+5],12,1200080426),h=b(h,T,p,_,d[f+6],17,-1473231341),_=b(_,h,T,p,d[f+7],22,-45705983),p=b(p,_,h,T,d[f+8],7,1770035416),T=b(T,p,_,h,d[f+9],12,-1958414417),h=b(h,T,p,_,d[f+10],17,-42063),_=b(_,h,T,p,d[f+11],22,-1990404162),p=b(p,_,h,T,d[f+12],7,1804603682),T=b(T,p,_,h,d[f+13],12,-40341101),h=b(h,T,p,_,d[f+14],17,-1502002290),p=u(p,_=b(_,h,T,p,d[f+15],22,1236535329),h,T,d[f+1],5,-165796510),T=u(T,p,_,h,d[f+6],9,-1069501632),h=u(h,T,p,_,d[f+11],14,643717713),_=u(_,h,T,p,d[f+0],20,-373897302),p=u(p,_,h,T,d[f+5],5,-701558691),T=u(T,p,_,h,d[f+10],9,38016083),h=u(h,T,p,_,d[f+15],14,-660478335),_=u(_,h,T,p,d[f+4],20,-405537848),p=u(p,_,h,T,d[f+9],5,568446438),T=u(T,p,_,h,d[f+14],9,-1019803690),h=u(h,T,p,_,d[f+3],14,-187363961),_=u(_,h,T,p,d[f+8],20,1163531501),p=u(p,_,h,T,d[f+13],5,-1444681467),T=u(T,p,_,h,d[f+2],9,-51403784),h=u(h,T,p,_,d[f+7],14,1735328473),p=m(p,_=u(_,h,T,p,d[f+12],20,-1926607734),h,T,d[f+5],4,-378558),T=m(T,p,_,h,d[f+8],11,-2022574463),h=m(h,T,p,_,d[f+11],16,1839030562),_=m(_,h,T,p,d[f+14],23,-35309556),p=m(p,_,h,T,d[f+1],4,-1530992060),T=m(T,p,_,h,d[f+4],11,1272893353),h=m(h,T,p,_,d[f+7],16,-155497632),_=m(_,h,T,p,d[f+10],23,-1094730640),p=m(p,_,h,T,d[f+13],4,681279174),T=m(T,p,_,h,d[f+0],11,-358537222),h=m(h,T,p,_,d[f+3],16,-722521979),_=m(_,h,T,p,d[f+6],23,76029189),p=m(p,_,h,T,d[f+9],4,-640364487),T=m(T,p,_,h,d[f+12],11,-421815835),h=m(h,T,p,_,d[f+15],16,530742520),p=k(p,_=m(_,h,T,p,d[f+2],23,-995338651),h,T,d[f+0],6,-198630844),T=k(T,p,_,h,d[f+7],10,1126891415),h=k(h,T,p,_,d[f+14],15,-1416354905),_=k(_,h,T,p,d[f+5],21,-57434055),p=k(p,_,h,T,d[f+12],6,1700485571),T=k(T,p,_,h,d[f+3],10,-1894986606),h=k(h,T,p,_,d[f+10],15,-1051523),_=k(_,h,T,p,d[f+1],21,-2054922799),p=k(p,_,h,T,d[f+8],6,1873313359),T=k(T,p,_,h,d[f+15],10,-30611744),h=k(h,T,p,_,d[f+6],15,-1560198380),_=k(_,h,T,p,d[f+13],21,1309151649),p=k(p,_,h,T,d[f+4],6,-145523070),T=k(T,p,_,h,d[f+11],10,-1120210379),h=k(h,T,p,_,d[f+2],15,718787259),_=k(_,h,T,p,d[f+9],21,-343485551),p=S(p,R),_=S(_,C),h=S(h,I),T=S(T,D)}return Array(p,_,h,T)}function w(d,g,p,_,h,T){return S((g=S(S(g,d),S(_,T)))<<h|g>>>32-h,p)}function b(d,g,p,_,h,T,f){return w(g&p|~g&_,d,g,h,T,f)}function u(d,g,p,_,h,T,f){return w(g&_|p&~_,d,g,h,T,f)}function m(d,g,p,_,h,T,f){return w(g^p^_,d,g,h,T,f)}function k(d,g,p,_,h,T,f){return w(p^(g|~_),d,g,h,T,f)}function S(d,g){var p=(65535&d)+(65535&g);return(d>>16)+(g>>16)+(p>>16)<<16|65535&p}e.exports=function(d){return E.hash(d,v,16)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){e.exports=function(E){for(var v,w=new Array(E),b=0;b<E;b++)!(3&b)&&(v=4294967296*Math.random()),w[b]=v>>>((3&b)<<3)&255;return w}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E=t("./helpers");function v(u,m){u[m>>5]|=128<<24-m%32,u[15+(m+64>>9<<4)]=m;for(var k,S,d,g=Array(80),p=1732584193,_=-271733879,h=-1732584194,T=271733878,f=-1009589776,R=0;R<u.length;R+=16){for(var C=p,I=_,D=h,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=w(w(b(p,5),(G=_,S=h,d=T,(k=H)<20?G&S|~G&d:!(k<40)&&k<60?G&S|G&d|S&d:G^S^d)),w(w(f,g[H]),(k=H)<20?1518500249:k<40?1859775393:k<60?-1894007588:-899497514));f=T,T=h,h=b(_,30),_=p,p=G}p=w(p,C),_=w(_,I),h=w(h,D),T=w(T,P),f=w(f,F)}return Array(p,_,h,T,f)}function w(u,m){var k=(65535&u)+(65535&m);return(u>>16)+(m>>16)+(k>>16)<<16|65535&k}function b(u,m){return u<<m|u>>>32-m}e.exports=function(u){return E.hash(u,v,20,!0)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){function E(m,k){var S=(65535&m)+(65535&k);return(m>>16)+(k>>16)+(S>>16)<<16|65535&S}function v(m,k){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),p=new Array(64);m[k>>5]|=128<<24-k%32,m[15+(k+64>>9<<4)]=k;for(var _,h,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++)p[G]=G<16?m[G+T]:E(E(E((h=p[G-2],b(h,17)^b(h,19)^u(h,10)),p[G-7]),(h=p[G-15],b(h,7)^b(h,18)^u(h,3))),p[G-16]),S=E(E(E(E(H,b(h=D,6)^b(h,11)^b(h,25)),D&P^~D&F),d[G]),p[G]),_=E(b(_=f,2)^b(_,13)^b(_,22),f&R^f&C^R&C),H=F,F=P,P=D,D=E(I,S),I=C,C=R,R=f,f=E(S,_);g[0]=E(f,g[0]),g[1]=E(R,g[1]),g[2]=E(C,g[2]),g[3]=E(I,g[3]),g[4]=E(D,g[4]),g[5]=E(P,g[5]),g[6]=E(F,g[6]),g[7]=E(H,g[7])}return g}var w=t("./helpers"),b=function(m,k){return m>>>k|m<<32-k},u=function(m,k){return m>>>k};e.exports=function(m){return w.hash(m,v,32,!0)}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){r.read=function(E,v,w,b,u){var m,k,S=8*u-b-1,d=(1<<S)-1,g=d>>1,p=-7,_=w?u-1:0,h=w?-1:1;for(u=E[v+_],_+=h,m=u&(1<<-p)-1,u>>=-p,p+=S;0<p;m=256*m+E[v+_],_+=h,p-=8);for(k=m&(1<<-p)-1,m>>=-p,p+=b;0<p;k=256*k+E[v+_],_+=h,p-=8);if(m===0)m=1-g;else{if(m===d)return k?NaN:1/0*(u?-1:1);k+=Math.pow(2,b),m-=g}return(u?-1:1)*k*Math.pow(2,m-b)},r.write=function(E,v,w,b,u,m){var k,S,d=8*m-u-1,g=(1<<d)-1,p=g>>1,_=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=b?0:m-1,T=b?1:-1;for(m=v<0||v===0&&1/v<0?1:0,v=Math.abs(v),isNaN(v)||v===1/0?(S=isNaN(v)?1:0,k=g):(k=Math.floor(Math.log(v)/Math.LN2),v*(b=Math.pow(2,-k))<1&&(k--,b*=2),2<=(v+=1<=k+p?_/b:_*Math.pow(2,1-p))*b&&(k++,b/=2),g<=k+p?(S=0,k=g):1<=k+p?(S=(v*b-1)*Math.pow(2,u),k+=p):(S=v*Math.pow(2,p-1)*Math.pow(2,u),k=0));8<=u;E[w+h]=255&S,h+=T,S/=256,u-=8);for(k=k<<u|S,d+=u;0<d;E[w+h]=255&k,h+=T,k/=256,d-=8);E[w+h-T]|=128*m}}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,a,o,s,l,c,y,x){var E,v,w;function b(){}(n=e.exports={}).nextTick=(v=typeof window<"u"&&window.setImmediate,w=typeof window<"u"&&window.postMessage&&window.addEventListener,v?function(u){return window.setImmediate(u)}:w?(E=[],window.addEventListener("message",function(u){var m=u.source;m!==window&&m!==null||u.data!=="process-tick"||(u.stopPropagation(),0<E.length&&E.shift()())},!0),function(u){E.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,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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)),Ps.exports);const Ms=ur($u),Jt=class Ql{static setAutoComplete(e){this.autoComplete=e}static auth(e){return Lt(this,null,function*(){yield Xt.auth(e)})}static toMJML(e){const r=Xt.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:x}=e,E=e.outputFormat||"mjml",v=tt.getBlockByType(n.type);if(!v)throw new Error(`Block ${n.type} not found`);if(!i&&v.category!==z.PAGE)throw new Error("Page element is required if element is not a page");const w=o?Ql.transformUniversalElements({universalElements:o.elements,content:Tt(n)}):Tt(n),b=new Fn({mode:s}),u={content:i||n};let m="",k="",S=c;if(v.category===z.PAGE){S=et.getPageIdx();const p=Tt(i||w);if(p.attributes=oe(p.attributes,"content-background-color"),e.headerElement||e.footerElement){if(!Xt.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const _={content:p};e.headerElement&&(m=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:_,displayMode:l,outputFormat:E,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:Tt(e.headerElement)})))))),e.footerElement&&(k=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:_,displayMode:l,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x,outputFormat:E},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:Tt(e.footerElement)}))))))}}let d=Oe.unescape(We(O.createElement(Yt,{universalElements:o,mode:e.mode,context:u,displayMode:l,keepEmptyAttributes:!!e.keepEmptyAttributes,mergetagsData:y,attributesVariables:x,outputFormat:E},O.createElement(Je,{context:b},O.createElement(ot,{idx:S,node:w})))));const g=b.getHeadContent();return d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=Xt.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=${Xt.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 --\>/,k),e.mode!=="production"&&(d=d.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?Hu.html(d,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):d}static translate(e){return Lt(this,null,function*(){if(!Xt.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const r=[e.template.subject],n=s=>{var l;et.isMergetagElement(s)||(et.isElement(s)&&s.children.forEach(c=>{et.isTextNode(c)?c.text.trim()&&r.push(c.text):n(c)}),(l=e.helper)!=null&&l.extract&&e.helper.extract(s,r))};n(e.template.content);const i=yield e.translate([...new Set(r)]),a=s=>{var l;et.isMergetagElement(s)||(et.isElement(s)&&s.children.forEach(c=>{et.isTextNode(c)?c.text.trim()&&(c.text=i[c.text]):a(c)}),(l=e.helper)!=null&&l.replace&&e.helper.replace(s,i))},o=Tt(e.template.content);return a(o),{content:o,subject:i[e.template.subject]}})}static elementToMjml(e,r){const n=new Fn({mode:r.mode});return Oe.unescape(We(O.createElement(Yt,{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(Je,{context:n},O.createElement(ot,{node:Tt(e)})))))}static elementComponentToMjml(e,r){const n=new Fn({mode:r.mode});return Oe.unescape(We(O.createElement(Yt,{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(Je,{context:n},e))))}static isPageDataVariable(e){return/\$var\(([\s\S]+)\)/g.test(e)}};at(Jt,"autoComplete",!1),at(Jt,"version","0.14.0"),at(Jt,"mjmlToBlockElement",function(t){if(!t.trim())return{text:""};const e=new DOMParser,r=t.replace(/ /g," ").replace(/&/g,"&"),n=e.parseFromString(r,"text/xml"),i=a=>{if(!a)return{text:""};if(a.nodeType===8)return tt.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 Ze(o,i);let s={},l=o.tagName.toLocaleLowerCase().replace("mj-",""),c=o.getAttributeNames().filter(E=>!E.startsWith("element-")).reduce((E,v)=>X(q({},E),{[v]:o.getAttribute(v)||""}),{});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&&rt(c,"css-class","").includes(Pn)&&(l=L.DANGEROUS_CODE,s={code:ce.decode(o.innerHTML)}),o.tagName.toLocaleLowerCase()==="mj-table"&&(l=L.TABLE,s={code:ce.decode(o.innerHTML)});const y=tt.getBlockByType(l);if(!y)throw new Error(`Don't support ${o.tagName.toLocaleLowerCase()}`);let x=[];switch(l){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:x=((E,v)=>[...new DOMParser().parseFromString(`<root>${E}</root>`,"text/xml").documentElement.childNodes].map(w=>Ze(w,v)))(o.innerHTML||"",i);break;default:x=y.void?[]:o.childNodes.length>0?[...o.childNodes].map(i):[]}return{type:l,data:s,attributes:c,children:x}};return i(n.firstChild)}),at(Jt,"getPageVariableKey",t=>t.replace(/\$var\(([\s\S]+)\)/g,"$1")),at(Jt,"getPageDataVariables",(t,e)=>t?.reduce((r,n)=>X(q({},r),{[n.name]:n.value}),q({},e))||q({},e)),at(Jt,"renderWithPageVariables",(t,e,r)=>{if(!e)return t;const n=Tt(t);if(typeof n=="string")return n.replace(/\$var\(([^)]+)\)/g,(a,o)=>rt(e,o.trim(),""));const i=a=>{gu(a,(o,s)=>{typeof o=="object"?(s!=="children"||r)&&i(o):typeof o=="string"&&(a[s]=o.replace(/\$var\(([^)]+)\)/g,(l,c)=>rt(e,c.trim(),"")).replace(/\$input\(([^)]+)\)/g,(l,c)=>et.isElement(n)&&et.isWidgetElement(n)?`widget_element_${Ms(n.data.input)}.${c.trim()}`:c.trim()))})};return i(n),n}),at(Jt,"getWidgetElementsInputData",t=>{const e={},r=n=>{if(et.isWidgetElement(n)){const i="widget_element_"+Ms(n.data.input);e[i]=n.data.input}n.children&&n.children.forEach(i=>{et.isElement(i)&&r(i)})};return r(t),e}),at(Jt,"getUniversalElements",function(t){const e={},r=(n,i)=>{n.uid&&(e[n.uid]||(e[n.uid]=[]),e[n.uid].push({idx:i,blockData:n})),n.children.forEach((a,o)=>{et.isTextNode(a)||r(a,et.getChildIdx(i,o))})};return r(t.content,et.getPageIdx()),e}),at(Jt,"transformUniversalElements",function(t){const e=Tt(t),r=(n,i)=>{if(n.uid){if(!t.universalElements)throw new Error("No universalElements");if(!t.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);qt(e,i,Tt(t.universalElements[n.uid]))}n.children.forEach((a,o)=>{et.isTextNode(a)||r(a,et.getChildIdx(i,o))})};return r(e.content,et.getPageIdx()),e.content});let Be=Jt;const Us=O.createContext({}),tr=()=>Ge(Us),Yt=t=>{const e=Eu(()=>{const r=Be.getPageDataVariables(t.context.content.data.variables,t.attributesVariables||{});return X(q({},t),{pageVariables:r})},[t]);return O.createElement(Us.Provider,{value:e},t.children)};var Fs=(t=>(t.RESPONSIVE="RESPONSIVE",t.TEMPLATE_ENGINE="TEMPLATE_ENGINE",t))(Fs||{});class kr{constructor(){at(this,"enabledResponsive",!0)}}at(kr,"type","RESPONSIVE");class Ar{}at(Ar,"type","TEMPLATE_ENGINE");class js{}const de=class ae{static registerPlugins(e){e.forEach(r=>{ae.registerPlugin(r)})}static registerPlugin(e){const r=new e;r instanceof kr?(ae.enabledResponsive=r.enabledResponsive,ae.generateResponsive=r.generateResponsive):r instanceof Ar?(ae.generateIterationTemplate=r.generateIterationTemplate,ae.generateConditionTemplate=r.generateConditionTemplate,ae.generateVariable=r.generateVariable,ae.isVariable=r.isVariable,ae.renderWithData=r.renderWithData):r instanceof js&&r.generateElement()}};at(de,"enabledResponsive",!1),at(de,"generateResponsive",t=>{const e=tt.getBlockByType(t.node.type),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}=t;return e.render(X(q({},t),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}))}),at(de,"generateIterationTemplate",(t,e)=>e),at(de,"isVariable",t=>!1),at(de,"generateConditionTemplate",(t,e)=>e),at(de,"generateVariable",t=>t),at(de,"renderWithData",(t,e)=>t);let Gt=de;const zs=O.createContext({}),Gu=t=>O.createElement(zs.Provider,{value:t},t.children),Hs=O.createContext({}),Wu=t=>O.createElement(Hs.Provider,{value:t},t.children),Vs=O.createContext({}),ui=()=>Ge(Vs),ci=t=>O.createElement(Vs.Provider,{value:t},t.children),ot=t=>{var e,r,n,i,a,o;const{children:s,node:l,idx:c}=t,{mode:y,context:x,displayMode:E,keepEmptyAttributes:v,mergetagsData:w,pageVariables:b,variablesDisabled:u,outputFormat:m}=tr(),{element:k}=Ge(zs),{element:S}=Ge(Hs),{element:d}=ui(),g=tt.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"&&((e=l.data)==null?void 0:e.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=rt(p,"attributes.css-class")||"";y==="production"&&T&&qt(p,"attributes.css-class",T.replace(Ya,"").replace(qn,""));const f=(i=p.attributes["mj-class"])==null?void 0:i.trim();if(f&&x.content.data.classAttributes){const P={},F=f.split(" ").map(H=>H.trim()).filter(Boolean);Object.values(F).forEach(H=>{rt(x.content.data.classAttributes,H)&&Object.assign(P,rt(x.content.data.classAttributes,H))}),p.attributes=Y(P,p.attributes)}const R=(a=x.content.data.blockAttributes)==null?void 0:a[p.type];R&&(p.attributes=Y(R,p.attributes));const C=(o=x.content.data.categoryAttributes)==null?void 0:o[g.category];x.content.data.globalAttributes&&(et.isHTMLBlockNodeElement(p)||et.isTable2TdElement(p)||et.isTable2TrElement(p)||et.isHTMLNodeElement(p)||(p.attributes=Y(x.content.data.globalAttributes,p.attributes))),C&&(p.attributes=Y(C,p.attributes));const I=q({},tt.getBlockByType(p.type).defaultData.attributes);if(I&&(rt(p.attributes,"padding","").trim()&&(delete I.padding,delete I["padding-top"],delete I["padding-bottom"],delete I["padding-left"],delete I["padding-right"]),rt(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)),et.isSectionElement(l)||et.isWrapperElement(l)){const P=x.content.attributes["content-background-color"];P&&(S||y!=="production"||(p.attributes=Y({"background-color":P},p.attributes)))}if(!u){let P=b;et.isWidgetElement(p)?(P=Y(b,p.data.input),p=Be.renderWithPageVariables(p,P,!0)):p=Be.renderWithPageVariables(p,P)}let D=Gt.generateResponsive({mode:y,children:s,context:x,idx:c,node:p,keepEmptyAttributes:v,mergetagsData:w,displayMode:E,outputFormat:m});if(k)try{const P=k.data.input;h&&h.enabled&&(D=Gt.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Gt.generateConditionTemplate(Tt(_),D));const F=Be.elementComponentToMjml(D,{pageElement:x.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:P,displayMode:E}),H=Gt.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=Gt.generateIterationTemplate(h,D)),_&&_.enabled&&(D=Gt.generateConditionTemplate(Tt(_),D))),et.isWrapperElement(p)&&(D=O.createElement(Wu,{element:p},D)),et.isWidgetElement(p)&&!p.data.contentEditable&&p.data.staticLogicEnabled?O.createElement(Gu,{element:p},O.createElement(O.Fragment,null,D)):y==="production"&&p.id&&et.isContentElement(p)&&d&&(et.isPageElement(d)||et.isWrapperElement(d))?O.createElement(ci,{element:null},O.createElement(ot,{node:{type:K.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},O.createElement(ot,{node:{type:K.COLUMN,data:{},attributes:{},children:[]}},D))):p.id?O.createElement(ci,{element:p},D):O.createElement(O.Fragment,null,D)},jt=({node:t,extraStyle:e})=>{let r=t.text;const n=q({},e);if(!r)return null;const i=t;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:qt(n,a,rt(i,a))}}),te(r)&&Object.keys(n).length===0?O.createElement(O.Fragment,null,r):O.createElement("span",{style:n},r)};function ht(t){const{params:e,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:o,children:s}=t,l=s||i,c=wl(e,{keepEmptyAttributes:a,removeDefaultAttributes:e.mode==="production",mode:e.mode});if(Qa.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((x,E)=>{if(et.isTextNode(x)){let v=x.text;return E===0&&(v=v.replace(/^ {1}/g," ")),v=v.replace(/ {1}$/," "),v=v.replace(/ {2}/g," "),!v&&et.isHTMLBlockNodeElement(r)&&o.toLocaleLowerCase()==="div"&&r.children.length===1?" ":et.isTextListElement(r)?O.createElement(O.Fragment,{key:E},"<li>",O.createElement(jt,X(q({key:E},e),{node:X(q({},x),{text:v})})),"</li>"):O.createElement(jt,X(q({key:E},e),{node:X(q({},x),{text:v})}))}return O.createElement(ot,X(q({key:E},e),{idx:n?et.getChildIdx(n,E):null,node:x}))}),`</${o}>`);return O.createElement(O.Fragment,null,y)}const $s=t=>!!(ku(t)||te(t)||jr(t)||mu(t)||bu(t)||t===null)||!(!Array.isArray(t)||!t.every(e=>$s(e)))||void 0;function dt(t){return!!$s(t)}function di(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.WRAPPER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Gs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SECTION,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ws(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.GROUP,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ks(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.COLUMN,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function pi(t){const e=t,{data:r,children:n,idx:i}=e,a=_t(e,["data","children","idx"]),o={type:K.BUTTON,data:r||{},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})}function Xs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.IMAGE,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Tr(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.TEXT,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Js(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SPACER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ht(t){const e=t,{data:r,children:n,idx:i}=e,a=_t(e,["data","children","idx"]),o={type:K.RAW,data:r||{content:n||""},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})}function Ys(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.DIVIDER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Qs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.NAVBAR,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Zs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.NAVBAR_LINK,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function to(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SOCIAL,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function eo(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SOCIAL_ELEMENT,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function ro(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.HERO,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function hi(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:K.TABLE,data:{code:te(n)?String(n):""},attributes:q({},i),children:[]};return O.createElement(ot,{idx:r,node:a,children:te(n)?null:n})}const Ku=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:ht,BlockRenderer:ot,Button:pi,Code:function(t){const e=t,{children:r,idx:n}=e,i=_t(e,["children","idx"]),a={type:K.DANGEROUS_CODE,data:{code:String(r)},attributes:q({},i),children:[]};return O.createElement(ot,{idx:n,node:a,children:null})},Column:Ks,ContentLeaf:jt,Divider:Ys,ForEach:function(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:L.FOR_EACH,data:q({},i),attributes:{},children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:r,node:a,children:dt(n)?n:null})},Group:Ws,Hero:ro,HtmlDomNode:function(t){const e=t,{tagName:r,idx:n,children:i}=e,a=_t(e,["tagName","idx","children"]),o={type:L.HTML_DOM_NODE,data:{tagName:r},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})},HtmlNode:function(t){const e=t,{tagName:r,children:n,idx:i}=e,a=_t(e,["tagName","children","idx"]),o={type:K.HTML_NODE,data:{tagName:r},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})},Image:Xs,Navbar:Qs,NavbarLink:Zs,Raw:Ht,Section:Gs,Show:function(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:L.SHOW,data:X(q({},i),{component:n}),attributes:{},children:[]};return O.createElement(ot,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:t})=>O.createElement(ot,{node:X(q({},t),{attributes:X(q({},t.attributes),{"css-class":ge(t.attributes["css-class"],qn)})})}),Social:to,SocialElement:eo,Spacer:Js,Style:t=>{const{context:e}=Un(),{mode:r}=tr();return r==="production"?(e.addStyle(X(q({},t),{content:t.children})),O.createElement(O.Fragment,null)):O.createElement("style",null,t.children)},Table:hi,Text:Tr,Wrapper:di,useEmailGlobalContext:Un},Symbol.toStringTag,{value:"Module"})),Xu={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:t=>Y({type:K.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},t),category:z.PAGE,render(t){var e,r,n,i,a,o;const{node:s,node:{data:l,attributes:c},mode:y,outputFormat:x}=t,E=l.breakpoint?`<mj-breakpoint width="${l.breakpoint}" />`:"",v=[...l.headStyles||[]];y==="testing"?v.unshift({content:Xa}):(v.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}}"}),v.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 w=v.map(h=>`<mj-style ${h.inline?'inline="inline"':""}>${h.content}</mj-style>`).join(`
|
|
54
|
-
`)||"",b={color:((e=c["link-color"])==null?void 0:e.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(
|
|
53
|
+
</mj-section>`),d=d.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,g),d=d.replace(/\<!-- EASY_EMAIL_FROZEN_HEADER --\>/,m).replace(/\<!-- EASY_EMAIL_FROZEN_FOOTER --\>/,k),e.mode!=="production"&&(d=d.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?Hu.html(d,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):d}static translate(e){return Lt(this,null,function*(){if(!Xt.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const r=[e.template.subject],n=s=>{var l;et.isMergetagElement(s)||(et.isElement(s)&&s.children.forEach(c=>{et.isTextNode(c)?c.text.trim()&&r.push(c.text):n(c)}),(l=e.helper)!=null&&l.extract&&e.helper.extract(s,r))};n(e.template.content);const i=yield e.translate([...new Set(r)]),a=s=>{var l;et.isMergetagElement(s)||(et.isElement(s)&&s.children.forEach(c=>{et.isTextNode(c)?c.text.trim()&&(c.text=i[c.text]):a(c)}),(l=e.helper)!=null&&l.replace&&e.helper.replace(s,i))},o=Tt(e.template.content);return a(o),{content:o,subject:i[e.template.subject]}})}static elementToMjml(e,r){const n=new Fn({mode:r.mode});return Oe.unescape(We(O.createElement(Yt,{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(Je,{context:n},O.createElement(ot,{node:Tt(e)})))))}static elementComponentToMjml(e,r){const n=new Fn({mode:r.mode});return Oe.unescape(We(O.createElement(Yt,{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(Je,{context:n},e))))}static isPageDataVariable(e){return/\$var\(([\s\S]+)\)/g.test(e)}};at(Jt,"autoComplete",!1),at(Jt,"version","0.14.0"),at(Jt,"mjmlToBlockElement",function(t){if(!t.trim())return{text:""};const e=new DOMParser,r=t.replace(/ /g," ").replace(/&/g,"&"),n=e.parseFromString(r,"text/xml"),i=a=>{if(!a)return{text:""};if(a.nodeType===8)return tt.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 Ze(o,i);let s={},l=o.tagName.toLocaleLowerCase().replace("mj-",""),c=o.getAttributeNames().filter(E=>!E.startsWith("element-")).reduce((E,v)=>X(q({},E),{[v]:o.getAttribute(v)||""}),{});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&&rt(c,"css-class","").includes(Pn)&&(l=L.DANGEROUS_CODE,s={code:ce.decode(o.innerHTML)}),o.tagName.toLocaleLowerCase()==="mj-table"&&(l=L.TABLE,s={code:ce.decode(o.innerHTML)});const y=tt.getBlockByType(l);if(!y)throw new Error(`Don't support ${o.tagName.toLocaleLowerCase()}`);let x=[];switch(l){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:x=((E,v)=>[...new DOMParser().parseFromString(`<root>${E}</root>`,"text/xml").documentElement.childNodes].map(w=>Ze(w,v)))(o.innerHTML||"",i);break;default:x=y.void?[]:o.childNodes.length>0?[...o.childNodes].map(i):[]}return{type:l,data:s,attributes:c,children:x}};return i(n.firstChild)}),at(Jt,"getPageVariableKey",t=>t.replace(/\$var\(([\s\S]+)\)/g,"$1")),at(Jt,"getPageDataVariables",(t,e)=>t?.reduce((r,n)=>X(q({},r),{[n.name]:n.value}),q({},e))||q({},e)),at(Jt,"renderWithPageVariables",(t,e,r)=>{if(!e)return t;const n=Tt(t);if(typeof n=="string")return n.replace(/\$var\(([^)]+)\)/g,(a,o)=>rt(e,o.trim(),""));const i=a=>{gu(a,(o,s)=>{typeof o=="object"?(s!=="children"||r)&&i(o):typeof o=="string"&&(a[s]=o.replace(/\$var\(([^)]+)\)/g,(l,c)=>rt(e,c.trim(),"")).replace(/\$input\(([^)]+)\)/g,(l,c)=>et.isElement(n)&&et.isWidgetElement(n)?`widget_element_${Ms(n.data.input)}.${c.trim()}`:c.trim()))})};return i(n),n}),at(Jt,"getWidgetElementsInputData",t=>{const e={},r=n=>{if(et.isWidgetElement(n)){const i="widget_element_"+Ms(n.data.input);e[i]=n.data.input}n.children&&n.children.forEach(i=>{et.isElement(i)&&r(i)})};return r(t),e}),at(Jt,"getUniversalElements",function(t){const e={},r=(n,i)=>{n.uid&&(e[n.uid]||(e[n.uid]=[]),e[n.uid].push({idx:i,blockData:n})),n.children.forEach((a,o)=>{et.isTextNode(a)||r(a,et.getChildIdx(i,o))})};return r(t.content,et.getPageIdx()),e}),at(Jt,"transformUniversalElements",function(t){const e=Tt(t),r=(n,i)=>{if(n.uid){if(!t.universalElements)throw new Error("No universalElements");if(!t.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);qt(e,i,Tt(t.universalElements[n.uid]))}n.children.forEach((a,o)=>{et.isTextNode(a)||r(a,et.getChildIdx(i,o))})};return r(e.content,et.getPageIdx()),e.content});let Be=Jt;const Us=O.createContext({}),tr=()=>Ge(Us),Yt=t=>{const e=Eu(()=>{const r=Be.getPageDataVariables(t.context.content.data.variables,t.attributesVariables||{});return X(q({},t),{pageVariables:r})},[t]);return O.createElement(Us.Provider,{value:e},t.children)};var Fs=(t=>(t.RESPONSIVE="RESPONSIVE",t.TEMPLATE_ENGINE="TEMPLATE_ENGINE",t))(Fs||{});class kr{constructor(){at(this,"enabledResponsive",!0)}}at(kr,"type","RESPONSIVE");class Ar{}at(Ar,"type","TEMPLATE_ENGINE");class js{}const de=class ae{static registerPlugins(e){e.forEach(r=>{ae.registerPlugin(r)})}static registerPlugin(e){const r=new e;r instanceof kr?(ae.enabledResponsive=r.enabledResponsive,ae.generateResponsive=r.generateResponsive):r instanceof Ar?(ae.generateIterationTemplate=r.generateIterationTemplate,ae.generateConditionTemplate=r.generateConditionTemplate,ae.generateVariable=r.generateVariable,ae.isVariable=r.isVariable,ae.renderWithData=r.renderWithData):r instanceof js&&r.generateElement()}};at(de,"enabledResponsive",!1),at(de,"generateResponsive",t=>{const e=tt.getBlockByType(t.node.type),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}=t;return e.render(X(q({},t),{mode:r,children:n,context:i,idx:a,node:o,keepEmptyAttributes:s,mergetagsData:l}))}),at(de,"generateIterationTemplate",(t,e)=>e),at(de,"isVariable",t=>!1),at(de,"generateConditionTemplate",(t,e)=>e),at(de,"generateVariable",t=>t),at(de,"renderWithData",(t,e)=>t);let Gt=de;const zs=O.createContext({}),Gu=t=>O.createElement(zs.Provider,{value:t},t.children),Hs=O.createContext({}),Wu=t=>O.createElement(Hs.Provider,{value:t},t.children),Vs=O.createContext({}),ui=()=>Ge(Vs),ci=t=>O.createElement(Vs.Provider,{value:t},t.children),ot=t=>{var e,r,n,i,a,o;const{children:s,node:l,idx:c}=t,{mode:y,context:x,displayMode:E,keepEmptyAttributes:v,mergetagsData:w,pageVariables:b,variablesDisabled:u,outputFormat:m}=tr(),{element:k}=Ge(zs),{element:S}=Ge(Hs),{element:d}=ui(),g=tt.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"&&((e=l.data)==null?void 0:e.fallback)!==!0))return null;const p=(r=l.logic)==null?void 0:r.condition,_=(n=l.logic)==null?void 0:n.iteration;let h=X(q({},l),{attributes:q({},l.attributes),mobileAttributes:q({},l.mobileAttributes)});const T=rt(h,"attributes.css-class")||"";y==="production"&&T&&qt(h,"attributes.css-class",T.replace(Ya,"").replace(qn,""));const f=(i=h.attributes["mj-class"])==null?void 0:i.trim();if(f&&x.content.data.classAttributes){const P={},F=f.split(" ").map(H=>H.trim()).filter(Boolean);Object.values(F).forEach(H=>{rt(x.content.data.classAttributes,H)&&Object.assign(P,rt(x.content.data.classAttributes,H))}),h.attributes=Y(P,h.attributes)}const R=(a=x.content.data.blockAttributes)==null?void 0:a[h.type];R&&(h.attributes=Y(R,h.attributes));const C=(o=x.content.data.categoryAttributes)==null?void 0:o[g.category];x.content.data.globalAttributes&&(et.isHTMLBlockNodeElement(h)||et.isTable2TdElement(h)||et.isTable2TrElement(h)||et.isHTMLNodeElement(h)||(h.attributes=Y(x.content.data.globalAttributes,h.attributes))),C&&(h.attributes=Y(C,h.attributes));const I=q({},tt.getBlockByType(h.type).defaultData.attributes);if(I&&(rt(h.attributes,"padding","").trim()&&(delete I.padding,delete I["padding-top"],delete I["padding-bottom"],delete I["padding-left"],delete I["padding-right"]),rt(h.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"]),h.attributes=Y(I,h.attributes)),et.isSectionElement(l)||et.isWrapperElement(l)){const P=x.content.attributes["content-background-color"];P&&(S||y!=="production"||(h.attributes=Y({"background-color":P},h.attributes)))}if(!u){let P=b;et.isWidgetElement(h)?(P=Y(b,h.data.input),h=Be.renderWithPageVariables(h,P,!0)):h=Be.renderWithPageVariables(h,P)}let D=Gt.generateResponsive({mode:y,children:s,context:x,idx:c,node:h,keepEmptyAttributes:v,mergetagsData:w,displayMode:E,outputFormat:m});if(k)try{const P=k.data.input;_&&_.enabled&&(D=Gt.generateIterationTemplate(_,D)),p&&p.enabled&&(D=Gt.generateConditionTemplate("expression"in p?p.expression:Tt(p),D));const F=Be.elementComponentToMjml(D,{pageElement:x.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:P,displayMode:E}),H=Gt.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"&&(_&&_.enabled&&(D=Gt.generateIterationTemplate(_,D)),p&&p.enabled&&(D=Gt.generateConditionTemplate("expression"in p?p.expression:Tt(p),D))),et.isWrapperElement(h)&&(D=O.createElement(Wu,{element:h},D)),et.isWidgetElement(h)&&!h.data.contentEditable&&h.data.staticLogicEnabled?O.createElement(Gu,{element:h},O.createElement(O.Fragment,null,D)):y==="production"&&h.id&&et.isContentElement(h)&&d&&(et.isPageElement(d)||et.isWrapperElement(d))?O.createElement(ci,{element:null},O.createElement(ot,{node:{type:K.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},O.createElement(ot,{node:{type:K.COLUMN,data:{},attributes:{},children:[]}},D))):h.id?O.createElement(ci,{element:h},D):O.createElement(O.Fragment,null,D)},jt=({node:t,extraStyle:e})=>{let r=t.text;const n=q({},e);if(!r)return null;const i=t;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:qt(n,a,rt(i,a))}}),te(r)&&Object.keys(n).length===0?O.createElement(O.Fragment,null,r):O.createElement("span",{style:n},r)};function ht(t){const{params:e,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:o,children:s}=t,l=s||i,c=wl(e,{keepEmptyAttributes:a,removeDefaultAttributes:e.mode==="production",mode:e.mode});if(Qa.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((x,E)=>{if(et.isTextNode(x)){let v=x.text;return E===0&&(v=v.replace(/^ {1}/g," ")),v=v.replace(/ {1}$/," "),v=v.replace(/ {2}/g," "),!v&&et.isHTMLBlockNodeElement(r)&&o.toLocaleLowerCase()==="div"&&r.children.length===1?" ":et.isTextListElement(r)?O.createElement(O.Fragment,{key:E},"<li>",O.createElement(jt,X(q({key:E},e),{node:X(q({},x),{text:v})})),"</li>"):O.createElement(jt,X(q({key:E},e),{node:X(q({},x),{text:v})}))}return O.createElement(ot,X(q({key:E},e),{idx:n?et.getChildIdx(n,E):null,node:x}))}),`</${o}>`);return O.createElement(O.Fragment,null,y)}const $s=t=>!!(ku(t)||te(t)||jr(t)||mu(t)||bu(t)||t===null)||!(!Array.isArray(t)||!t.every(e=>$s(e)))||void 0;function dt(t){return!!$s(t)}function di(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.WRAPPER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Gs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SECTION,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ws(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.GROUP,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ks(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.COLUMN,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function pi(t){const e=t,{data:r,children:n,idx:i}=e,a=_t(e,["data","children","idx"]),o={type:K.BUTTON,data:r||{},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})}function Xs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.IMAGE,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Tr(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.TEXT,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Js(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SPACER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Ht(t){const e=t,{data:r,children:n,idx:i}=e,a=_t(e,["data","children","idx"]),o={type:K.RAW,data:r||{content:n||""},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})}function Ys(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.DIVIDER,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Qs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.NAVBAR,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function Zs(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.NAVBAR_LINK,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function to(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SOCIAL,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function eo(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.SOCIAL_ELEMENT,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function ro(t){const e=t,{data:r,idx:n,children:i}=e,a=_t(e,["data","idx","children"]),o={type:K.HERO,data:r||{},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})}function hi(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:K.TABLE,data:{code:te(n)?String(n):""},attributes:q({},i),children:[]};return O.createElement(ot,{idx:r,node:a,children:te(n)?null:n})}const Ku=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:ht,BlockRenderer:ot,Button:pi,Code:function(t){const e=t,{children:r,idx:n}=e,i=_t(e,["children","idx"]),a={type:K.DANGEROUS_CODE,data:{code:String(r)},attributes:q({},i),children:[]};return O.createElement(ot,{idx:n,node:a,children:null})},Column:Ks,ContentLeaf:jt,Divider:Ys,ForEach:function(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:L.FOR_EACH,data:q({},i),attributes:{},children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:r,node:a,children:dt(n)?n:null})},Group:Ws,Hero:ro,HtmlDomNode:function(t){const e=t,{tagName:r,idx:n,children:i}=e,a=_t(e,["tagName","idx","children"]),o={type:L.HTML_DOM_NODE,data:{tagName:r},attributes:q({},a),children:dt(i)?[]:i||[]};return O.createElement(ot,{idx:n,node:o,children:dt(i)?i:null})},HtmlNode:function(t){const e=t,{tagName:r,children:n,idx:i}=e,a=_t(e,["tagName","children","idx"]),o={type:K.HTML_NODE,data:{tagName:r},attributes:q({},a),children:dt(n)?[]:n||[]};return O.createElement(ot,{idx:i,node:o,children:dt(n)?n:null})},Image:Xs,Navbar:Qs,NavbarLink:Zs,Raw:Ht,Section:Gs,Show:function(t){const e=t,{idx:r,children:n}=e,i=_t(e,["idx","children"]),a={type:L.SHOW,data:X(q({},i),{component:n}),attributes:{},children:[]};return O.createElement(ot,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:t})=>O.createElement(ot,{node:X(q({},t),{attributes:X(q({},t.attributes),{"css-class":ge(t.attributes["css-class"],qn)})})}),Social:to,SocialElement:eo,Spacer:Js,Style:t=>{const{context:e}=Un(),{mode:r}=tr();return r==="production"?(e.addStyle(X(q({},t),{content:t.children})),O.createElement(O.Fragment,null)):O.createElement("style",null,t.children)},Table:hi,Text:Tr,Wrapper:di,useEmailGlobalContext:Un},Symbol.toStringTag,{value:"Module"})),Xu={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:t=>Y({type:K.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},t),category:z.PAGE,render(t){var e,r,n,i,a,o;const{node:s,node:{data:l,attributes:c},mode:y,outputFormat:x}=t,E=l.breakpoint?`<mj-breakpoint width="${l.breakpoint}" />`:"",v=[...l.headStyles||[]];y==="testing"?v.unshift({content:Xa}):(v.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}}"}),v.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 w=v.map(_=>`<mj-style ${_.inline?'inline="inline"':""}>${_.content}</mj-style>`).join(`
|
|
54
|
+
`)||"",b={color:((e=c["link-color"])==null?void 0:e.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(_=>b[_]?`${_}: ${b[_]}`:"").filter(Boolean).join(";"),m=x==="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>`,k=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>`:"",p=c.width||"600px";return O.createElement(O.Fragment,null,`
|
|
55
55
|
<mjml>
|
|
56
56
|
<mj-head>
|
|
57
57
|
${w}
|
|
@@ -59,12 +59,12 @@ list should be an Array.`),A.length===0)return new w(0);if(A.length===1)return A
|
|
|
59
59
|
<!-- GLOBAL_EXTRACT_HEADER -->
|
|
60
60
|
${E}
|
|
61
61
|
${g}
|
|
62
|
-
${(a=l.fonts)!=null&&a.length?(o=l.fonts)==null?void 0:o.filter(Boolean).map(
|
|
62
|
+
${(a=l.fonts)!=null&&a.length?(o=l.fonts)==null?void 0:o.filter(Boolean).map(_=>`<mj-font name="${_.name}" href="${_.href}" />`):""}
|
|
63
63
|
|
|
64
64
|
</mj-head>
|
|
65
|
-
<mj-body width="${
|
|
65
|
+
<mj-body width="${p}" ${k} css-class="mjbody">
|
|
66
66
|
${S}
|
|
67
|
-
`,"<!-- EASY_EMAIL_FROZEN_HEADER -->",s.children.map((h
|
|
67
|
+
`,"<!-- EASY_EMAIL_FROZEN_HEADER -->",s.children.map((_,h)=>O.createElement(ot,X(q({},t),{idx:et.getChildIdx(et.getPageIdx(),h),key:h,node:_}))),"<!-- EASY_EMAIL_FROZEN_FOOTER -->","<!-- EASY_EMAIL_BRAND -->",`
|
|
68
68
|
${d}
|
|
69
69
|
|
|
70
70
|
</mj-body></mjml>`)}},Ju=Xa,no={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:t=>Y({type:K.WRAPPER,data:{},attributes:{},children:[]},t),category:z.WRAPPER,render:t=>O.createElement(ht,{params:t,tag:"mj-wrapper"})},io={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:t=>Y({type:K.SECTION,data:{},attributes:{},children:[]},t),category:z.SECTION,render:t=>O.createElement(ht,{params:t,tag:"mj-section"})},ao={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:t=>Y({type:K.GROUP,data:{},attributes:{width:"100%"},children:[]},t),category:z.GROUP,render:t=>O.createElement(ht,{params:t,tag:"mj-group"})},so={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:t=>Y({type:K.COLUMN,data:{},attributes:{},children:[]},t),category:z.COLUMN,render:t=>O.createElement(ht,{params:t,tag:"mj-column"})},oo={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:t=>Y({type:K.TEXT,data:{},attributes:{},children:[]},t),category:z.TEXT,render:t=>O.createElement(ht,{params:t,tag:"mj-text"})},lo={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:t=>Y({type:K.BUTTON,data:{},attributes:{},children:[]},t),category:z.BUTTON,render:t=>O.createElement(ht,{params:t,tag:"mj-button"})},uo={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:t=>Y({type:K.IMAGE,data:{},attributes:{},children:[]},t),category:z.IMAGE,render:t=>O.createElement(ht,{params:t,tag:"mj-image"})},co={get name(){return Q("Spacer")},defaultData:{attributes:{height:"20px"},data:{}},type:K.SPACER,create:t=>Y({type:K.SPACER,data:{},attributes:{},children:[]},t),category:z.SPACER,render:t=>O.createElement(ht,{params:t,tag:"mj-spacer"})},Yu={get name(){return Q("Raw")},defaultData:{attributes:{},data:{content:""}},type:K.RAW,create:t=>Y({type:K.RAW,data:{content:""},attributes:{},children:[]},t),category:z.RAW,render:t=>t.mode==="testing"?O.createElement(ht,{tag:"span",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":K.RAW,"element-category":z.RAW,"element-data":encodeURIComponent(JSON.stringify(t.node.data))}})})}):O.createElement(ht,{params:t,tag:"mj-raw"},t.node.data.content)},Qu={get name(){return Q("Mergetag")},defaultData:{attributes:{},data:{}},type:K.MERGETAG,create:t=>Y({type:K.MERGETAG,data:{},attributes:{},children:[]},t),inlineElement:!0,category:z.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return O.createElement(jt,{node:X(q({},e),{text:Gt.generateVariable(e.text,t.node.data.default)})})}return O.createElement(ht,{tag:"span",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":K.MERGETAG,"element-category":z.INLINE_TEXT}})})})}},Zu={get name(){return Q("Line break")},defaultData:{attributes:{},data:{}},type:K.LINE_BREAK,create:t=>Y({type:K.LINE_BREAK,data:{},attributes:{},children:[]},t),inlineElement:!0,category:z.INLINE_TEXT,render(t){if(t.mode==="production"){const e=t.node.children[0];return O.createElement(jt,{node:X(q({},e),{text:"<br />"})})}return O.createElement(ht,{tag:"span",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":K.LINE_BREAK,"element-category":z.INLINE_TEXT}})})})}},po={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:t=>Y({type:K.SOCIAL,data:{},attributes:{},children:[]},t),category:z.SOCIAL,render:t=>O.createElement(ht,{params:t,tag:"mj-social"})},ho={get name(){return Q("Navbar")},defaultData:{attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","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:t=>Y({type:K.NAVBAR,data:{},attributes:{},children:[]},t),category:z.NAVBAR,render:t=>O.createElement(ht,{params:t,tag:"mj-navbar"})},_o={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:t=>Y({type:L.DIVIDER,data:{},attributes:{},children:[]},t),category:z.DIVIDER,render:t=>O.createElement(ht,{params:t,tag:"mj-divider"})},fo={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:t=>Y({type:K.NAVBAR_LINK,data:{},attributes:{},children:[]},t),category:z.NAVBAR_LINK,render:t=>O.createElement(ht,{params:t,tag:"mj-navbar-link"})},go={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:t=>Y({type:K.SOCIAL_ELEMENT,data:{},attributes:{},children:[]},t),category:z.SOCIAL_ELEMENT,render:t=>O.createElement(ht,{params:t,tag:"mj-social-element"})},mo={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:t=>Y({type:K.HERO,data:{},attributes:{},children:[]},t),category:z.HERO,render:t=>O.createElement(ht,{params:t,tag:"mj-hero"})},tc={get name(){return Q("Placeholder")},defaultData:{attributes:{},data:{}},type:K.PLACEHOLDER,create:t=>Y({type:K.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]},t),category:z.UNSET,render:t=>t.mode==="production"?null:O.createElement(ht,{tag:"span",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":K.PLACEHOLDER,"element-category":z.UNSET}})})})},ec={get name(){return Q("HtmlNode")},inlineElement:!0,defaultData:{attributes:{},data:{tagName:"span"}},type:L.HTML_NODE,create:t=>Y({type:L.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]},t),category:z.INLINE_TEXT,render:t=>t.mode==="production"?O.createElement(ht,{tag:t.node.data.tagName,params:t}):O.createElement(ht,{tag:t.node.data.tagName||"span",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":L.HTML_NODE,"element-category":z.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(t.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(t.node.attributes))}})})})},rc={get name(){return Q("HTML dom node")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_DOM_NODE,create:t=>Y({type:L.HTML_DOM_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},t),category:z.UNKNOWN_CONTENT,render(t){const{node:e,idx:r}=t;return t.mode==="production"?O.createElement(O.Fragment,null,e.children.map((n,i)=>et.isTextNode(n)?et.isTextListElement(e)?O.createElement(O.Fragment,{key:i},"<li>",O.createElement(jt,X(q({key:i},t),{node:n})),"</li>"):O.createElement(jt,X(q({key:i},t),{node:n})):O.createElement(ot,X(q({key:i},t),{idx:r?et.getChildIdx(r,i):null,node:n})))):O.createElement(ht,{tag:t.node.data.tagName||"div",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":L.HTML_DOM_NODE,"element-category":z.UNKNOWN_CONTENT,"element-data":encodeURIComponent(JSON.stringify(t.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(t.node.attributes))}})})})}},bo={attributes:{},data:{description:"",config:[],input:{}}},nc={get name(){return Q("Widget")},void:!0,defaultData:bo,type:K.CONTENT_WIDGET,create:t=>Y({type:K.CONTENT_WIDGET,title:"MY FIRST WIDGET",data:q({},bo.data),attributes:{},children:[{text:""}]},t),get category(){return z.UNKNOWN_CONTENT},render(t){const{node:e}=t,r=Tt(e.children[0]);return et.isElement(r)?O.createElement(ot,X(q({},t),{node:r})):null}},yo={attributes:{},data:{description:"",config:[],input:{}}},ic={get name(){return Q("Widget")},void:!0,defaultData:yo,type:K.SECTION_WIDGET,create:t=>Y({type:K.SECTION_WIDGET,title:"MY FIRST WIDGET",data:q({},yo.data),attributes:{},children:[{text:""}]},t),get category(){return z.SECTION},render(t){const{node:e}=t,r=Tt(e.children[0]);return et.isElement(r)?O.createElement(ot,X(q({},t),{node:r})):null}},vo={attributes:{},data:{description:"",config:[],input:{}}},ac={get name(){return Q("Widget")},void:!0,defaultData:vo,type:K.WRAPPER_WIDGET,create:t=>Y({type:K.WRAPPER_WIDGET,title:"MY FIRST WIDGET",data:q({},vo.data),attributes:{},children:[{text:""}]},t),get category(){return z.WRAPPER},render(t){const{node:e}=t;return O.createElement(di,{padding:"0px"},e.children.map(r=>et.isElement(r)?O.createElement(ot,X(q({},t),{node:r})):null))}},sc={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:t=>Y({type:L.DANGEROUS_CODE,data:{code:""},attributes:{},children:[{text:""}]},t),category:z.DANGEROUS_CODE,render(t){const e=Tt(t.node),r=t.mode==="production";r||(e.attributes["css-class"]=ge(e.attributes["css-class"],Pn));const n=t.node.data.code;return O.createElement(ht,{params:X(q({},t),{node:e}),tag:"mj-text",children:O.createElement(jt,{node:{text:r?n:ce.encode(n)}})})}},xo={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:""}},wo={get name(){return Q("Table")},defaultData:xo,type:K.TABLE,create:t=>Y({type:K.TABLE,data:{code:""},attributes:q({},xo.attributes),children:[]},t),category:z.TABLE,render(t){const e=t.mode==="production",r=t.node.data.code;return O.createElement(ht,{params:t,tag:"mj-table",children:t.children||O.createElement(jt,{node:{text:e?r:ce.encode(r)}})})}},oc={get name(){return Q("HtmlBlockNode")},defaultData:{attributes:{},data:{tagName:"div"}},type:L.HTML_BLOCK_NODE,create:t=>Y({type:L.HTML_BLOCK_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},t),category:z.BLOCK_NODE,render:t=>t.mode==="production"?O.createElement(ht,{tag:t.node.data.tagName,params:t}):O.createElement(ht,{tag:t.node.data.tagName||"div",params:X(q({},t),{node:X(q({},t.node),{attributes:{"element-type":L.HTML_BLOCK_NODE,"element-category":z.BLOCK_NODE,"element-data":encodeURIComponent(JSON.stringify(t.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(t.node.attributes))}})})})},Eo={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},lc={get name(){return Q("Header")},void:!0,defaultData:Eo,type:K.PAGE_HEADER,create:t=>Y({type:K.PAGE_HEADER,data:q({},Eo.data),attributes:{},children:[{text:""}]},t),get category(){return z.PAGE_HEADER},render(t){const e=X(q({},t.node),{type:K.WRAPPER,attributes:q({},t.node.attributes)});return O.createElement(ot,X(q({},t),{node:e}),t.node.data.content.map(r=>O.createElement(ot,X(q({key:r.id},t),{node:r}))))}},ko={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},uc={get name(){return Q("Footer")},void:!0,defaultData:ko,type:K.PAGE_FOOTER,create:t=>Y({type:K.PAGE_FOOTER,data:q({},ko.data),attributes:{},children:[{text:""}]},t),get category(){return z.PAGE_FOOTER},render(t){const e=X(q({},t.node),{type:K.WRAPPER,attributes:q({},t.node.attributes)});return O.createElement(ot,X(q({},t),{node:e}),t.node.data.content.map(r=>O.createElement(ot,X(q({key:r.id},t),{node:r}))))}},cc={[K.PAGE]:Xu,[K.HERO]:mo,[K.WRAPPER]:no,[K.SECTION]:io,[K.GROUP]:ao,[K.COLUMN]:so,[K.TEXT]:oo,[K.TABLE]:wo,[K.IMAGE]:uo,[K.BUTTON]:lo,[K.SPACER]:co,[K.DIVIDER]:_o,[K.SOCIAL]:po,[K.SOCIAL_ELEMENT]:go,[K.NAVBAR]:ho,[K.NAVBAR_LINK]:fo,[K.RAW]:Yu,[K.MERGETAG]:Qu,[K.LINE_BREAK]:Zu,[K.PLACEHOLDER]:tc,[K.DANGEROUS_CODE]:sc,[K.HTML_NODE]:ec,[K.HTML_BLOCK_NODE]:oc,[K.HTML_DOM_NODE]:rc,[K.CONTENT_WIDGET]:nc,[K.SECTION_WIDGET]:ic,[K.WRAPPER_WIDGET]:ac,[K.PAGE_HEADER]:lc,[K.PAGE_FOOTER]:uc},dc=Y(ao.defaultData,{attributes:{},data:{}}),pc={get name(){return Q("Group")},defaultData:dc,type:st.STANDARD_GROUP,create:t=>Y({type:st.STANDARD_GROUP,data:{},attributes:{},children:[]},t),category:z.GROUP,render(t){const{node:e}=t;return O.createElement(Ws,X(q({idx:t.idx},e.attributes),{data:e.data,children:t.children||e.children}))}},hc=Y(io.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),_c={get name(){return Q("Section")},defaultData:hc,type:st.STANDARD_SECTION,create:t=>Y({type:st.STANDARD_SECTION,data:{},attributes:{},children:[]},t),category:z.SECTION,render(t){const{node:e}=t,r=Tt(e.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_t(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(Gs,X(q({padding:"0px",idx:t.idx},l),{border:c,data:e.data,children:t.children||e.children}))}},fc=zr(so.defaultData,{attributes:{},data:{}}),gc={get name(){return Q("Column")},defaultData:fc,type:st.STANDARD_COLUMN,create:t=>Y({type:st.STANDARD_COLUMN,data:{},attributes:{},children:[]},t),category:z.COLUMN,render(t){const{node:e}=t,r=Tt(e.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_t(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i||"1px"} ${a||"solid"} ${o||"#AAAAAA"}`:"";return O.createElement(Ks,X(q({idx:t.idx},s),{border:l,data:e.data,children:t.children||e.children}))}},er=Y(lo.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:{}}),mc={get name(){return Q("Button")},defaultData:er,type:st.STANDARD_BUTTON,create:t=>Y({type:st.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:Q("Click")}]},t),category:z.BUTTON,render(t){const{node:e}=t,r=e.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":x,"icon-position":E,"icon-width":v,"icon-height":w,"icon-src":b,"icon-vertical-align":u}=r,m=_t(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"]),k=`${n||er.attributes["inner-padding-top"]} ${o||er.attributes["inner-padding-right"]} ${i||er.attributes["inner-padding-bottom"]} ${a||er.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"),x&&b?O.createElement(pi,X(q({idx:t.idx},m),{border:S,"inner-padding":k,data:e.data,children:O.createElement(O.Fragment,null,E==="left"&&O.createElement(O.Fragment,null,`<img
|
|
@@ -77,7 +77,7 @@ list should be an Array.`),A.length===0)return new w(0);if(A.length===1)return A
|
|
|
77
77
|
width='${v?.replace("px","")}'
|
|
78
78
|
height='${w?.replace("px","")}'
|
|
79
79
|
style='width: ${v}; height: ${w}; display: inline-block; vertical-align: ${u};'
|
|
80
|
-
/>`))})):O.createElement(pi,X(q({idx:t.idx},m),{border:S,"inner-padding":k,data:e.data,children:t.children||e.children}))}},bc=Y(uo.defaultData,{attributes:{},data:{}}),yc={get name(){return Q("Image")},void:!0,defaultData:bc,type:st.STANDARD_IMAGE,create:t=>Y({type:st.STANDARD_IMAGE,data:{},attributes:{},children:[]},t),category:z.IMAGE,render(t){const{node:e}=t,r=e.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_t(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i} ${a} ${o}`:"";return O.createElement(Xs,X(q({idx:t.idx},s),{data:e.data,border:l,children:t.children||e.children}))}},vc=Y(co.defaultData,{attributes:{},data:{}}),xc={get name(){return Q("Spacer")},void:!0,defaultData:vc,type:st.STANDARD_SPACER,create:t=>Y({type:st.STANDARD_SPACER,data:{},attributes:{},children:[]},t),category:z.SPACER,render(t){const{node:e}=t;return O.createElement(Js,X(q({idx:t.idx},e.attributes),{data:e.data,children:t.children||e.children}))}},wc=Y(ho.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:{}}),Ec={get name(){return Q("Navbar")},defaultData:wc,type:st.STANDARD_NAVBAR,create:t=>Y({type:st.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:""}}]},t),category:z.NAVBAR,render(t){const{node:e,idx:r}=t,n=_t(e.attributes,[]);return n.direction==="rtl"&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),O.createElement(Qs,X(q({idx:t.idx},oe(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:e.data}),t.children||e.children)}},Ce=(t,e)=>({get name(){return t.name},defaultData:e,type:t.type,create:r=>Y(oe(t,["name"]),r),category:z.TEXT,render(r){const{node:n}=r,i=Y(n.attributes,t.attributes);return i.direction==="rtl"&&(i["css-class"]||(i["css-class"]=""),i["css-class"]=i["css-class"]+" direction-rtl"),O.createElement(Tr,X(q({},i),{idx:r.idx}),r.children||n.children)}}),Ie=Tt(oo.defaultData),kc=Ce({get name(){return Q("Text")},type:st.STANDARD_TEXT,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{attributes:{},data:{}})),Ac=Ce({get name(){return Q("Text")},type:st.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Tc=Ce({get name(){return Q("Heading 1")},type:st.STANDARD_H1,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Dc=Ce({get name(){return Q("Heading 2")},type:st.STANDARD_H2,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Sc=Ce({get name(){return Q("Heading 3")},type:st.STANDARD_H3,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Nc=Ce({get name(){return Q("Heading 4")},type:st.STANDARD_H4,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Ao={type:st.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},Rc={get name(){return Q("Text list")},defaultData:Ao,type:st.STANDARD_TEXT_LIST_ITEM,create:t=>Y(Ao,t),category:z.TEXT_LIST_ITEM,render:t=>O.createElement(ht,{tag:"li",params:X(q({},t),{node:X(q({},t.node),{attributes:{}})})})},Oc={type:st.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:[]},Lc={get name(){return Q("Text list")},defaultData:Oc,type:st.STANDARD_TEXT_LIST,create:t=>Y({type:st.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},t),category:z.TEXT_LIST,render(t){const{node:e}=t,r=e.attributes;return O.createElement(Tr,q({idx:t.idx,data:e.data},r),O.createElement(ht,{tag:e.attributes["list-style"]==="number"?"ol":"ul",params:X(q({},t),{node:X(q({},t.node),{attributes:{}})})}))}},Bc=Y(no.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Cc={get name(){return Q("Container")},defaultData:Bc,type:st.STANDARD_WRAPPER,create:t=>Y({type:st.STANDARD_WRAPPER,data:{},attributes:{},children:[]},t),category:z.WRAPPER,render(t){const{node:e}=t,r=Tt(e.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_t(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:t.idx},l),{border:c,data:e.data,children:t.children||e.children}))}},Ic=Y(_o.defaultData,{attributes:{},data:{}}),qc={get name(){return Q("Divider")},defaultData:Ic,void:!0,type:st.STANDARD_DIVIDER,create:t=>Y({type:st.STANDARD_DIVIDER,data:{},attributes:{},children:[]},t),category:z.DIVIDER,render(t){const{node:e}=t;return O.createElement(Ys,X(q({idx:t.idx},e.attributes),{data:e.data,children:t.children||e.children}))}},Pc=Y(po.defaultData,{attributes:{spacing:"8px"},data:{}}),Mc={get name(){return Q("Social")},defaultData:Pc,type:st.STANDARD_SOCIAL,create:t=>Y({type:st.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"}}]},t),category:z.SOCIAL,render(t){const{node:e,idx:r}=t,n=_t(e.attributes,[]),i=t.node.attributes.spacing;return O.createElement(to,X(q({idx:t.idx},oe(n,["spacing"])),{data:e.data}),e.children.map((a,o)=>{if(!et.isElement(a))return null;const s=X(q({},a.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return t.node.attributes.mode==="horizontal"&&o!==0&&(s["padding-left"]=i),t.node.attributes.mode==="vertical"&&o!==0&&(s["padding-top"]=i),O.createElement(ot,X(q({},t),{idx:et.getChildIdx(et.getPageIdx(),o),key:o,node:X(q({},a),{attributes:s})}))}))}},Uc={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!"}]}]},Fc=Y(mo.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),jc={get name(){return Q("Hero")},defaultData:Fc,type:st.STANDARD_HERO,create:t=>Y(Uc,t),category:z.HERO,render(t){const{node:e}=t,r=Tt(e.attributes),n=_t(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),O.createElement(ro,X(q({idx:t.idx},n),{data:e.data,children:t.children||e.children}))}},To={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"}},zc=Y(go.defaultData,{attributes:{},data:{}}),Hc={get name(){return Q("Social Item")},defaultData:zc,type:L.STANDARD_SOCIAL_ELEMENT,create:t=>Y({type:L.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},t),category:z.SOCIAL_ELEMENT,render(t){var e;const{node:r}=t,n=r.attributes,{mode:i,name:a,src:o}=n,s=_t(n,["mode","name","src"]),l=a?To[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?(e=To[a])==null?void 0:e.src:o});return O.createElement(eo,X(q({idx:t.idx},c),{data:r.data,children:t.children||r.children}))}},Vc=Y(fo.defaultData,{attributes:{},data:{}}),$c={get name(){return Q("Navbar Link")},defaultData:Vc,type:L.STANDARD_NAVBAR_LINK,create:t=>Y({type:L.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},t),category:z.NAVBAR_LINK,render(t){const{node:e}=t;return O.createElement(Zs,X(q({idx:t.idx},e.attributes),{data:e.data}),t.children||e.children)}},Gc={type:st.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:[]},Wc={get name(){return Q("Blockquote")},defaultData:Gc,type:st.STANDARD_BLOCK_QUOTE,create:t=>Y({type:st.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},t),category:z.TEXT,render(t){const{node:e}=t,r=e.attributes;return O.createElement(Tr,q({idx:t.idx,data:e.data},r),O.createElement(ht,{tag:"blockquote",params:X(q({},t),{node:X(q({},t.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},Kc=Y(wo.defaultData,{attributes:{},data:{code:""}}),Xc={get name(){return Q("Table")},void:!0,defaultData:Kc,type:st.STANDARD_TABLE,create:t=>Y({type:st.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},t),category:z.TABLE,render(t){const{node:e,children:r}=t;return O.createElement(hi,X(q({idx:t.idx},e.attributes),{data:e.data}),r||e.data.code)}},rr={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:{}},Jc={get name(){return Q("Table")},void:!1,defaultData:rr,type:st.STANDARD_TABLE2,create:t=>Y({type:st.STANDARD_TABLE2,data:{},attributes:{},children:[]},t),category:z.TABLE,render(t){const{node:e}=t,r=e.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,x=_t(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),E=`${s||rr.attributes["cell-padding-top"]} ${y||rr.attributes["cell-padding-right"]} ${l||rr.attributes["cell-padding-bottom"]} ${c||rr.attributes["cell-padding-left"]}`;return O.createElement(hi,X(q({},x),{cellpadding:E}),O.createElement(O.Fragment,null,O.createElement("tbody",null,e.children.map((v,w)=>et.isTextNode(v)?O.createElement(O.Fragment,{key:w}):O.createElement(ot,{key:w,node:X(q({},v),{attributes:q({"border-color":o,"border-style":a,"border-width":i,"border-enabled":n,"text-align":e.attributes["text-align"]},v.attributes)})})))))}},Yc={get name(){return Q("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:st.STANDARD_TABLE2_TR,create:t=>Y({type:st.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},t),category:z.TABLE2_TR,render(t){const{node:e}=t,r=[],n=e.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),O.createElement(ht,{params:X(q({},t),{node:X(q({},e),{attributes:{style:r.join(";")}})}),tag:"tr",children:e.children.map((i,a)=>et.isTextNode(i)?O.createElement(O.Fragment,{key:a}):O.createElement(ot,{key:a,node:X(q({},i),{attributes:q(q({},yu(e.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),i.attributes)})}))})}},Qc={get name(){return Q("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:st.STANDARD_TABLE2_TD,create:t=>Y({type:st.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},t),category:z.TABLE2_TD,render(t){var e,r;const{node:n}=t,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(ht,{params:X(q({},t),{node:X(q({},n),{attributes:{style:i.join(";"),rowspan:((e=n.data.rowspan)==null?void 0:e.toString())||"1",colspan:((r=n.data.colspan)==null?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map((o,s)=>et.isTextNode(o)?O.createElement(jt,{key:s,node:o}):O.createElement(ot,{key:s,node:o}))})}},Zc={[L.STANDARD_HERO]:jc,[L.STANDARD_DIVIDER]:qc,[L.STANDARD_WRAPPER]:Cc,[L.STANDARD_SECTION]:_c,[L.STANDARD_GROUP]:pc,[L.STANDARD_SOCIAL]:Mc,[L.STANDARD_SOCIAL_ELEMENT]:Hc,[L.STANDARD_COLUMN]:gc,[L.STANDARD_BUTTON]:mc,[L.STANDARD_SPACER]:xc,[L.STANDARD_IMAGE]:yc,[L.STANDARD_TEXT]:kc,[L.STANDARD_NAVBAR]:Ec,[L.STANDARD_NAVBAR_LINK]:$c,[L.STANDARD_PARAGRAPH]:Ac,[L.STANDARD_H1]:Tc,[L.STANDARD_H2]:Dc,[L.STANDARD_H3]:Sc,[L.STANDARD_H4]:Nc,[L.STANDARD_TABLE]:Xc,[L.STANDARD_TEXT_LIST]:Lc,[L.STANDARD_TEXT_LIST_ITEM]:Rc,[L.STANDARD_BLOCK_QUOTE]:Wc,[L.STANDARD_TABLE2]:Jc,[L.STANDARD_TABLE2_TR]:Yc,[L.STANDARD_TABLE2_TD]:Qc},_i={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:O.createElement(O.Fragment,null)}},td={get name(){return Q("Show")},type:L.FOR_EACH,category:z.UNSET,defaultData:_i,create(t){const e={type:L.SHOW,data:q({},_i.data),attributes:q({},_i.attributes),children:[]};return zr(e,t)},render(t){const{node:e,mode:r}=t,n=e.data;return r==="testing"?n.showTruthyInTesting?O.createElement(O.Fragment,null,n.component):O.createElement(O.Fragment,null,n.fallback):Gt.generateConditionTemplate(n.expression,n.component,n.fallback)}},fi={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},ed={get name(){return Q("ForEach")},type:L.FOR_EACH,category:z.UNSET,defaultData:fi,create(t){const e={type:L.FOR_EACH,data:q({},fi.data),attributes:q({},fi.attributes),children:[]};return zr(e,t)},render(t){const{node:e,children:r,idx:n}=t;return Gt.generateIterationTemplate(X(q({mockQuantity:1,limit:999},e.data),{enabled:!0}),r||e.children.map((i,a)=>et.isTextNode(i)?et.isTextListElement(e)?O.createElement(O.Fragment,{key:a},"<li>",O.createElement(jt,X(q({key:a},t),{node:i})),"</li>"):O.createElement(jt,X(q({key:a},t),{node:i})):O.createElement(ot,X(q({key:a},t),{idx:n?et.getChildIdx(n,a):null,node:i}))))}},rd={[L.FOR_EACH]:ed,[L.SHOW]:td},Do=q(q(q({},cc),Zc),rd),gi=q({},Do),tt=Object.freeze(new class{registerBlocks(t){t.forEach(e=>{gi[e.type]=e})}getBlockByType(t){return gi[t]}getBlocks(){return Object.values(gi)}getBlockTitle(t){var e;return t.title?t.title:((e=this.getBlockByType(t.type))==null?void 0:e.name)||""}});var qe=(t=>(t.TRUTHY="truthy",t.FALSY="falsy",t.EMPTY="empty",t.NOT_EMPTY="not_empty",t.EQUAL="==",t.NOT_EQUAL="!=",t.GREATER=">",t.GREATER_OR_EQUAL=">=",t.LESS="<",t.LESS_OR_EQUAL="<=",t.CONTAINS="contains",t.NOT_CONTAINS="not_contains",t.STARTS_WITH="starts_with",t.ENDS_WITH="ends_with",t.IN="in",t.NOT_IN="not_in",t))(qe||{}),So=(t=>(t.AND="and",t.OR="or",t))(So||{});const nd=t=>`{{ ${t} }}`,id=()=>t=>`{{ ${t} }}`,ad=()=>t=>t;var No,Ro={exports:{}};const sd=ur((No||(No=1,Ro.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",y="quarter",x="year",E="date",v="Invalid Date",w=/^(\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},k={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:x,w:l,d:s,D:E,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=k;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(w);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()!==v},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,ut=this.$D,kt="set"+(this.$u?"UTC":"");switch(G){case x:return H?M(1,0):M(31,11);case c:return H?M(1,V):M(0,V+1);case l:var At=this.$locale().weekStart||0,J=(U<At?U+7:U)-At;return M(H?ut-J:ut+(6-J),V);case s:case E:return j(kt+"Hours",0);case o:return j(kt+"Minutes",1);case a:return j(kt+"Seconds",2);case i:return j(kt+"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[E]=G+"Date",F[c]=G+"Month",F[x]=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===x){var U=this.clone().set(E,1);U.$d[M](j),U.init(),this.$d=U.set(E,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 ut=p(H);return T.w(ut.date(ut.date()+Math.round(V*D)),H)};if(G===c)return this.set(c,this.$M+D);if(G===x)return this.set(x,this.$y+D);if(G===s)return M(1);if(G===l)return M(7);var j=(F={},F[a]=e,F[o]=r,F[i]=t,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||v;var H=D||"YYYY-MM-DDTHH:mm:ssZ",G=T.z(this),M=this.$H,j=this.$m,U=this.$M,V=F.weekdays,ut=F.months,kt=F.meridiem,At=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=kt||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 At(F.monthsShort,U,ut,3);case"MMMM":return At(ut,U);case"D":return P.$D;case"DD":return T.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return At(F.weekdaysMin,P.$W,V,2);case"ddd":return At(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())*e,V=this-j,ut=function(){return T.m(G,j)};switch(M){case x:H=ut()/12;break;case c:H=ut();break;case y:H=ut()/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/e;break;case i:H=V/t;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",x],["$D",E]].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}()),Ro.exports));class Vt{constructor(e,r,n,i,a){this.kind=e,this.input=r,this.begin=n,this.end=i,this.file=a}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,r]=[1,1];for(let n=0;n<this.begin;n++)this.input[n]===`
|
|
80
|
+
/>`))})):O.createElement(pi,X(q({idx:t.idx},m),{border:S,"inner-padding":k,data:e.data,children:t.children||e.children}))}},bc=Y(uo.defaultData,{attributes:{},data:{}}),yc={get name(){return Q("Image")},void:!0,defaultData:bc,type:st.STANDARD_IMAGE,create:t=>Y({type:st.STANDARD_IMAGE,data:{},attributes:{},children:[]},t),category:z.IMAGE,render(t){const{node:e}=t,r=e.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o}=r,s=_t(r,["border-enabled","border-width","border-style","border-color"]),l=n?`${i} ${a} ${o}`:"";return O.createElement(Xs,X(q({idx:t.idx},s),{data:e.data,border:l,children:t.children||e.children}))}},vc=Y(co.defaultData,{attributes:{},data:{}}),xc={get name(){return Q("Spacer")},void:!0,defaultData:vc,type:st.STANDARD_SPACER,create:t=>Y({type:st.STANDARD_SPACER,data:{},attributes:{},children:[]},t),category:z.SPACER,render(t){const{node:e}=t;return O.createElement(Js,X(q({idx:t.idx},e.attributes),{data:e.data,children:t.children||e.children}))}},wc=Y(ho.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:{}}),Ec={get name(){return Q("Navbar")},defaultData:wc,type:st.STANDARD_NAVBAR,create:t=>Y({type:st.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:""}}]},t),category:z.NAVBAR,render(t){const{node:e,idx:r}=t,n=_t(e.attributes,[]);return n.direction==="rtl"&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),O.createElement(Qs,X(q({idx:t.idx},oe(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:e.data}),t.children||e.children)}},Ce=(t,e)=>({get name(){return t.name},defaultData:e,type:t.type,create:r=>Y(oe(t,["name"]),r),category:z.TEXT,render(r){const{node:n}=r,i=Y(n.attributes,t.attributes);return i.direction==="rtl"&&(i["css-class"]||(i["css-class"]=""),i["css-class"]=i["css-class"]+" direction-rtl"),O.createElement(Tr,X(q({},i),{idx:r.idx}),r.children||n.children)}}),Ie=Tt(oo.defaultData),kc=Ce({get name(){return Q("Text")},type:st.STANDARD_TEXT,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{attributes:{},data:{}})),Ac=Ce({get name(){return Q("Text")},type:st.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Tc=Ce({get name(){return Q("Heading 1")},type:st.STANDARD_H1,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Dc=Ce({get name(){return Q("Heading 2")},type:st.STANDARD_H2,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Sc=Ce({get name(){return Q("Heading 3")},type:st.STANDARD_H3,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Nc=Ce({get name(){return Q("Heading 4")},type:st.STANDARD_H4,data:{},attributes:{},children:[{text:Q("This is a text block. Click here to edit it...")}]},Y(Ie,{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:{}})),Ao={type:st.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},Rc={get name(){return Q("Text list")},defaultData:Ao,type:st.STANDARD_TEXT_LIST_ITEM,create:t=>Y(Ao,t),category:z.TEXT_LIST_ITEM,render:t=>O.createElement(ht,{tag:"li",params:X(q({},t),{node:X(q({},t.node),{attributes:{}})})})},Oc={type:st.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:[]},Lc={get name(){return Q("Text list")},defaultData:Oc,type:st.STANDARD_TEXT_LIST,create:t=>Y({type:st.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},t),category:z.TEXT_LIST,render(t){const{node:e}=t,r=e.attributes;return O.createElement(Tr,q({idx:t.idx,data:e.data},r),O.createElement(ht,{tag:e.attributes["list-style"]==="number"?"ol":"ul",params:X(q({},t),{node:X(q({},t.node),{attributes:{}})})}))}},Bc=Y(no.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Cc={get name(){return Q("Container")},defaultData:Bc,type:st.STANDARD_WRAPPER,create:t=>Y({type:st.STANDARD_WRAPPER,data:{},attributes:{},children:[]},t),category:z.WRAPPER,render(t){const{node:e}=t,r=Tt(e.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":o,"vertical-align":s="top"}=r,l=_t(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:t.idx},l),{border:c,data:e.data,children:t.children||e.children}))}},Ic=Y(_o.defaultData,{attributes:{},data:{}}),qc={get name(){return Q("Divider")},defaultData:Ic,void:!0,type:st.STANDARD_DIVIDER,create:t=>Y({type:st.STANDARD_DIVIDER,data:{},attributes:{},children:[]},t),category:z.DIVIDER,render(t){const{node:e}=t;return O.createElement(Ys,X(q({idx:t.idx},e.attributes),{data:e.data,children:t.children||e.children}))}},Pc=Y(po.defaultData,{attributes:{spacing:"8px"},data:{}}),Mc={get name(){return Q("Social")},defaultData:Pc,type:st.STANDARD_SOCIAL,create:t=>Y({type:st.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"}}]},t),category:z.SOCIAL,render(t){const{node:e,idx:r}=t,n=_t(e.attributes,[]),i=t.node.attributes.spacing;return O.createElement(to,X(q({idx:t.idx},oe(n,["spacing"])),{data:e.data}),e.children.map((a,o)=>{if(!et.isElement(a))return null;const s=X(q({},a.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return t.node.attributes.mode==="horizontal"&&o!==0&&(s["padding-left"]=i),t.node.attributes.mode==="vertical"&&o!==0&&(s["padding-top"]=i),O.createElement(ot,X(q({},t),{idx:et.getChildIdx(et.getPageIdx(),o),key:o,node:X(q({},a),{attributes:s})}))}))}},Uc={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!"}]}]},Fc=Y(mo.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),jc={get name(){return Q("Hero")},defaultData:Fc,type:st.STANDARD_HERO,create:t=>Y(Uc,t),category:z.HERO,render(t){const{node:e}=t,r=Tt(e.attributes),n=_t(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),O.createElement(ro,X(q({idx:t.idx},n),{data:e.data,children:t.children||e.children}))}},To={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"}},zc=Y(go.defaultData,{attributes:{},data:{}}),Hc={get name(){return Q("Social Item")},defaultData:zc,type:L.STANDARD_SOCIAL_ELEMENT,create:t=>Y({type:L.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},t),category:z.SOCIAL_ELEMENT,render(t){var e;const{node:r}=t,n=r.attributes,{mode:i,name:a,src:o}=n,s=_t(n,["mode","name","src"]),l=a?To[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?(e=To[a])==null?void 0:e.src:o});return O.createElement(eo,X(q({idx:t.idx},c),{data:r.data,children:t.children||r.children}))}},Vc=Y(fo.defaultData,{attributes:{},data:{}}),$c={get name(){return Q("Navbar Link")},defaultData:Vc,type:L.STANDARD_NAVBAR_LINK,create:t=>Y({type:L.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},t),category:z.NAVBAR_LINK,render(t){const{node:e}=t;return O.createElement(Zs,X(q({idx:t.idx},e.attributes),{data:e.data}),t.children||e.children)}},Gc={type:st.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:[]},Wc={get name(){return Q("Blockquote")},defaultData:Gc,type:st.STANDARD_BLOCK_QUOTE,create:t=>Y({type:st.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},t),category:z.TEXT,render(t){const{node:e}=t,r=e.attributes;return O.createElement(Tr,q({idx:t.idx,data:e.data},r),O.createElement(ht,{tag:"blockquote",params:X(q({},t),{node:X(q({},t.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},Kc=Y(wo.defaultData,{attributes:{},data:{code:""}}),Xc={get name(){return Q("Table")},void:!0,defaultData:Kc,type:st.STANDARD_TABLE,create:t=>Y({type:st.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},t),category:z.TABLE,render(t){const{node:e,children:r}=t;return O.createElement(hi,X(q({idx:t.idx},e.attributes),{data:e.data}),r||e.data.code)}},rr={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:{}},Jc={get name(){return Q("Table")},void:!1,defaultData:rr,type:st.STANDARD_TABLE2,create:t=>Y({type:st.STANDARD_TABLE2,data:{},attributes:{},children:[]},t),category:z.TABLE,render(t){const{node:e}=t,r=e.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,x=_t(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),E=`${s||rr.attributes["cell-padding-top"]} ${y||rr.attributes["cell-padding-right"]} ${l||rr.attributes["cell-padding-bottom"]} ${c||rr.attributes["cell-padding-left"]}`;return O.createElement(hi,X(q({},x),{cellpadding:E}),O.createElement(O.Fragment,null,O.createElement("tbody",null,e.children.map((v,w)=>et.isTextNode(v)?O.createElement(O.Fragment,{key:w}):O.createElement(ot,{key:w,node:X(q({},v),{attributes:q({"border-color":o,"border-style":a,"border-width":i,"border-enabled":n,"text-align":e.attributes["text-align"]},v.attributes)})})))))}},Yc={get name(){return Q("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:st.STANDARD_TABLE2_TR,create:t=>Y({type:st.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},t),category:z.TABLE2_TR,render(t){const{node:e}=t,r=[],n=e.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),O.createElement(ht,{params:X(q({},t),{node:X(q({},e),{attributes:{style:r.join(";")}})}),tag:"tr",children:e.children.map((i,a)=>et.isTextNode(i)?O.createElement(O.Fragment,{key:a}):O.createElement(ot,{key:a,node:X(q({},i),{attributes:q(q({},yu(e.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),i.attributes)})}))})}},Qc={get name(){return Q("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:st.STANDARD_TABLE2_TD,create:t=>Y({type:st.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},t),category:z.TABLE2_TD,render(t){var e,r;const{node:n}=t,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(ht,{params:X(q({},t),{node:X(q({},n),{attributes:{style:i.join(";"),rowspan:((e=n.data.rowspan)==null?void 0:e.toString())||"1",colspan:((r=n.data.colspan)==null?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map((o,s)=>et.isTextNode(o)?O.createElement(jt,{key:s,node:o}):O.createElement(ot,{key:s,node:o}))})}},Zc={[L.STANDARD_HERO]:jc,[L.STANDARD_DIVIDER]:qc,[L.STANDARD_WRAPPER]:Cc,[L.STANDARD_SECTION]:_c,[L.STANDARD_GROUP]:pc,[L.STANDARD_SOCIAL]:Mc,[L.STANDARD_SOCIAL_ELEMENT]:Hc,[L.STANDARD_COLUMN]:gc,[L.STANDARD_BUTTON]:mc,[L.STANDARD_SPACER]:xc,[L.STANDARD_IMAGE]:yc,[L.STANDARD_TEXT]:kc,[L.STANDARD_NAVBAR]:Ec,[L.STANDARD_NAVBAR_LINK]:$c,[L.STANDARD_PARAGRAPH]:Ac,[L.STANDARD_H1]:Tc,[L.STANDARD_H2]:Dc,[L.STANDARD_H3]:Sc,[L.STANDARD_H4]:Nc,[L.STANDARD_TABLE]:Xc,[L.STANDARD_TEXT_LIST]:Lc,[L.STANDARD_TEXT_LIST_ITEM]:Rc,[L.STANDARD_BLOCK_QUOTE]:Wc,[L.STANDARD_TABLE2]:Jc,[L.STANDARD_TABLE2_TR]:Yc,[L.STANDARD_TABLE2_TD]:Qc},_i={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:O.createElement(O.Fragment,null)}},td={get name(){return Q("Show")},type:L.FOR_EACH,category:z.UNSET,defaultData:_i,create(t){const e={type:L.SHOW,data:q({},_i.data),attributes:q({},_i.attributes),children:[]};return zr(e,t)},render(t){const{node:e,mode:r}=t,n=e.data;return r==="testing"?n.showTruthyInTesting?O.createElement(O.Fragment,null,n.component):O.createElement(O.Fragment,null,n.fallback):Gt.generateConditionTemplate(n.expression,n.component,n.fallback)}},fi={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},ed={get name(){return Q("ForEach")},type:L.FOR_EACH,category:z.UNSET,defaultData:fi,create(t){const e={type:L.FOR_EACH,data:q({},fi.data),attributes:q({},fi.attributes),children:[]};return zr(e,t)},render(t){const{node:e,children:r,idx:n}=t;return Gt.generateIterationTemplate(X(q({mockQuantity:1,limit:999},e.data),{enabled:!0}),r||e.children.map((i,a)=>et.isTextNode(i)?et.isTextListElement(e)?O.createElement(O.Fragment,{key:a},"<li>",O.createElement(jt,X(q({key:a},t),{node:i})),"</li>"):O.createElement(jt,X(q({key:a},t),{node:i})):O.createElement(ot,X(q({key:a},t),{idx:n?et.getChildIdx(n,a):null,node:i}))))}},rd={[L.FOR_EACH]:ed,[L.SHOW]:td},Do=q(q(q({},cc),Zc),rd),gi=q({},Do),tt=Object.freeze(new class{registerBlocks(t){t.forEach(e=>{gi[e.type]=e})}getBlockByType(t){return gi[t]}getBlocks(){return Object.values(gi)}getBlockTitle(t){var e;return t.title?t.title:((e=this.getBlockByType(t.type))==null?void 0:e.name)||""}});var qe=(t=>(t.TRUTHY="truthy",t.FALSY="falsy",t.EMPTY="empty",t.NOT_EMPTY="not_empty",t.EQUAL="==",t.NOT_EQUAL="!=",t.GREATER=">",t.GREATER_OR_EQUAL=">=",t.LESS="<",t.LESS_OR_EQUAL="<=",t.CONTAINS="contains",t.NOT_CONTAINS="not_contains",t.STARTS_WITH="starts_with",t.ENDS_WITH="ends_with",t.IN="in",t.NOT_IN="not_in",t))(qe||{}),So=(t=>(t.AND="and",t.OR="or",t))(So||{});const nd=t=>`{{ ${t} }}`,id=()=>t=>`{{ ${t} }}`,ad=()=>t=>t;var No,Ro={exports:{}};const sd=ur((No||(No=1,Ro.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",c="month",y="quarter",x="year",E="date",v="Invalid Date",w=/^(\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},k={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:x,w:l,d:s,D:E,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",p=function(C){return C instanceof f||!(!C||!C[g])},_=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},h=function(C,I){if(p(C))return C.clone();var D=typeof I=="object"?I:{};return D.date=C,D.args=arguments,new f(D)},T=k;T.l=_,T.i=p,T.w=function(C,I){return h(C,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var f=function(){function C(D){this.$L=_(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(w);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()!==v},I.isSame=function(D,P){var F=h(D);return this.startOf(P)<=F&&F<=this.endOf(P)},I.isAfter=function(D,P){return h(D)<this.startOf(P)},I.isBefore=function(D,P){return this.endOf(P)<h(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,ut=this.$D,kt="set"+(this.$u?"UTC":"");switch(G){case x:return H?M(1,0):M(31,11);case c:return H?M(1,V):M(0,V+1);case l:var At=this.$locale().weekStart||0,J=(U<At?U+7:U)-At;return M(H?ut-J:ut+(6-J),V);case s:case E:return j(kt+"Hours",0);case o:return j(kt+"Minutes",1);case a:return j(kt+"Seconds",2);case i:return j(kt+"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[E]=G+"Date",F[c]=G+"Month",F[x]=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===x){var U=this.clone().set(E,1);U.$d[M](j),U.init(),this.$d=U.set(E,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 ut=h(H);return T.w(ut.date(ut.date()+Math.round(V*D)),H)};if(G===c)return this.set(c,this.$M+D);if(G===x)return this.set(x,this.$y+D);if(G===s)return M(1);if(G===l)return M(7);var j=(F={},F[a]=e,F[o]=r,F[i]=t,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||v;var H=D||"YYYY-MM-DDTHH:mm:ssZ",G=T.z(this),M=this.$H,j=this.$m,U=this.$M,V=F.weekdays,ut=F.months,kt=F.meridiem,At=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=kt||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 At(F.monthsShort,U,ut,3);case"MMMM":return At(ut,U);case"D":return P.$D;case"DD":return T.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return At(F.weekdaysMin,P.$W,V,2);case"ddd":return At(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=h(D),U=(j.utcOffset()-this.utcOffset())*e,V=this-j,ut=function(){return T.m(G,j)};switch(M){case x:H=ut()/12;break;case c:H=ut();break;case y:H=ut()/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/e;break;case i:H=V/t;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=_(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 h.prototype=R,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",c],["$y",x],["$D",E]].forEach(function(C){R[C[1]]=function(I){return this.$g(I,C[0],C[1])}}),h.extend=function(C,I){return C.$i||(C(I,f,h),C.$i=!0),h},h.locale=_,h.isDayjs=p,h.unix=function(C){return h(1e3*C)},h.en=d[S],h.Ls=d,h.p={},h}()),Ro.exports));class Vt{constructor(e,r,n,i,a){this.kind=e,this.input=r,this.begin=n,this.end=i,this.file=a}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,r]=[1,1];for(let n=0;n<this.begin;n++)this.input[n]===`
|
|
81
81
|
`?(e++,r=1):r++;return[e,r]}size(){return this.end-this.begin}}class xe{liquidMethodMissing(e){}}const od=Object.prototype.toString,Oo=String.prototype.toLowerCase,Lo=Object.hasOwnProperty;function Qt(t){return typeof t=="string"}function Ut(t){return typeof t=="function"}function ld(t){return t&&Ut(t.then)}function Dr(t){return t&&Ut(t.next)&&Ut(t.throw)&&Ut(t.return)}function it(t){return Qt(t=lt(t))?t:re(t)?"":Ot(t)?t.map(e=>it(e)).join(""):String(t)}function lt(t){return t instanceof xe&&Ut(t.valueOf)?t.valueOf():t}function Sr(t){return typeof t=="number"}function Bo(t){return t&&Ut(t.toLiquid)?Bo(t.toLiquid()):t}function re(t){return t==null}function Ot(t){return od.call(t)==="[object Array]"}function Co(t,e){t=t||{};for(const r in t)if(Lo.call(t,r)&&e(t[r],r,t)===!1)break;return t}function Io(t){return t[t.length-1]}function mi(t){const e=typeof t;return t!==null&&(e==="object"||e==="function")}function qo(t,e,r=1){const n=[];for(let i=t;i<e;i+=r)n.push(i);return n}function nr(t,e,r=" "){return Po(t,e,r,(n,i)=>i+n)}function Po(t,e,r,n){let i=e-(t=String(t)).length;for(;i-- >0;)t=n(t,r);return t}function Mo(t){return t}function Uo(t,e){return t==null&&e==null?0:t==null?1:e==null||(t=Oo.call(t))<(e=Oo.call(e))?-1:t>e?1:0}function zt(t){return(...e)=>t(...e.map(lt))}function bi(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Fo="__liquidClass__";class ir extends Error{constructor(e,r){super(typeof e=="string"?e:e.message),this.context="",typeof e!="string"&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:r,enumerable:!1}),Object.defineProperty(this,Fo,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:_d(this.token),enumerable:!1}),this.message=function(e,r){r.file&&(e+=`, file:${r.file}`);const[n,i]=r.getPosition();return e+=`, line:${n}, col:${i}`}(this.message,this.token),this.stack=this.message+`
|
|
82
82
|
`+this.context+`
|
|
83
83
|
`+this.stack,this.originalError&&(this.stack+=`
|
|
@@ -93,9 +93,9 @@ From `+this.originalError.stack)}static is(e){return e?.[Fo]==="LiquidError"}}cl
|
|
|
93
93
|
<!-- htmlmin:ignore -->
|
|
94
94
|
{% for ${e.itemName} in ${e.dataSource} ${e.limit?`limit:${e.limit}`:""} %}
|
|
95
95
|
<!-- htmlmin:ignore -->
|
|
96
|
-
`),r,O.createElement(Ht,null," <!-- htmlmin:ignore -->{% endfor %} <!-- htmlmin:ignore -->"))}generateConditionTemplate(e,r,n){if(typeof e=="string")return O.createElement(O.Fragment,null,O.createElement(Ht,null,`
|
|
96
|
+
`),r,O.createElement(Ht,null," <!-- htmlmin:ignore -->{% endfor %} <!-- htmlmin:ignore -->"))}generateConditionTemplate(e,r,n){if(typeof e=="string"){const x=n===void 0?null:O.createElement(O.Fragment,null,O.createElement(Ht,null,"<!-- htmlmin:ignore -->{% else %}<!-- htmlmin:ignore -->"),n);return O.createElement(O.Fragment,null,O.createElement(Ht,null,`
|
|
97
97
|
<!-- htmlmin:ignore -->{% if ${e} %}<!-- htmlmin:ignore -->
|
|
98
|
-
`),r,O.createElement(Ht,null,"<!-- htmlmin:ignore -->{%
|
|
98
|
+
`),r,x,O.createElement(Ht,null,"<!-- htmlmin:ignore -->{% endif %} <!-- htmlmin:ignore -->"))}if("expression"in e)return this.generateConditionTemplate(e.expression,r,n);const{symbol:i,groups:a}=e,o=x=>{return x.operator===qe.TRUTHY?x.left:x.operator===qe.FALSY?x.left+" == nil"||x.left+" == false":x.operator===qe.EMPTY?x.left+" == empty":x.operator===qe.NOT_EMPTY?x.left+" not empty":x.left+" "+x.operator+" "+(typeof(E=x.right)!="number"&&typeof E!="string"||isNaN(Number(E))?`"${ce.encode(x.right)}"`:x.right);var E},s=+new Date,l=a.map((x,E)=>`con_${E}_${s}`),c=a.map((x,E)=>`{% assign ${l[E]} = ${x.groups.map(o).join(` ${x.symbol} `)} %}`).join(`
|
|
99
99
|
`),y=l.join(` ${i} `);return O.createElement(O.Fragment,null,O.createElement(Ht,null,`
|
|
100
100
|
<!-- htmlmin:ignore -->
|
|
101
101
|
${c}
|
|
@@ -105,8 +105,8 @@ From `+this.originalError.stack)}static is(e){return e?.[Fo]==="LiquidError"}}cl
|
|
|
105
105
|
<!-- htmlmin:ignore -->
|
|
106
106
|
{% endif %}
|
|
107
107
|
<!-- htmlmin:ignore -->
|
|
108
|
-
`))}generateVariable(e,r){return r?`{{ ${e}| default: "${ce.encode(r)}" }}`:`{{ ${e} }}`}isVariable(e){return Ap.test(e)}renderWithData(e,r){const n=new Hi;n.plugin(function(){this.registerFilter("title_case",a=>vu(a)),this.registerFilter("chunk",(a,o=1)=>xu(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=>rt(c,o)===l)).filter(Boolean):null),this.registerFilter("arr_slice",(a,o,s)=>a?a.slice(o,s):null),this.registerFilter("date",a=>sd(a).format("MMM DD, YY")),this.registerFilter("money",a=>{const o=rt(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=rt(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=rt(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a)}):a}),this.registerFilter("img_url",a=>rt(a,"image")||rt(a,"src")||""),this.registerFilter("format_address",a=>a),this.registerFilter("payment_type_img_url",a=>a)});const i=n.parse(e);return n.renderSync(i,r)}}function Tp(t){const{desktop:e,mobile:r}=t,n=tr(),{displayMode:i="desktop-mobile"}=n;return i==="only-desktop"?O.createElement(Yt,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(e,null))):i==="only-mobile"?O.createElement(O.Fragment,null,n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Yt,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->")):O.createElement(O.Fragment,null,O.createElement(Yt,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(e,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Yt,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->"))}const fl="hide-desktop-block",gl="hide-mobile-block",ml="hide-desktop-inline-block",bl="hide-mobile-inline-block",yl=[L.GROUP,L.COLUMN,L.NAVBAR_LINK];class vl extends kr{constructor(){super(...arguments),at(this,"generateResponsive",e=>{const{mode:r,displayMode:n,node:i,keepEmptyAttributes:a,mergetagsData:o={},children:s,context:l,idx:c,outputFormat:y}=e,x=tt.getBlockByType(i.type);if(!x)throw new Error(`${i.type} block is not registered`);const E=i.mobileAttributes&&Object.keys(i.mobileAttributes).some(d=>i.mobileAttributes[d]!==void 0&&i.mobileAttributes[d]!==i.attributes[d]),v=yl.includes(x.type)?ml:fl,w=yl.includes(x.type)?bl:gl,b=rt(i,"attributes.css-class")||"";if(n==="only-desktop"){if(i.visible==="mobile"||b.includes(v))return null;b.includes(w)||qt(i,"attributes.css-class",ge(b,w))}else if(n==="only-mobile"){if(b.includes(w))return null;b.includes(v)||qt(i,"attributes.css-class",ge(b,v))}const u=q({},x.defaultData.attributes);if(u&&(rt(i.attributes,"padding","").trim()&&(delete u.padding,delete u["padding-top"],delete u["padding-bottom"],delete u["padding-left"],delete u["padding-right"]),rt(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"?qt(i,"attributes.css-class",ge(b,w)):i.visible==="mobile"&&qt(i,"attributes.css-class",ge(b,v)),i.visible;const m=i.visible==="desktop"?null:x.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}),k=x.render(X(q({},e),{mode:r,children:s,context:l,idx:c,node:i,keepEmptyAttributes:a,mergetagsData:o}));let S=k;return E&&(S=O.createElement(O.Fragment,null,O.createElement(Tp,{desktop:()=>O.createElement(O.Fragment,null,k),mobile:()=>O.createElement(O.Fragment,null,m)}))),S})}}const Pt={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,%)"}},Dp=["mj-class","css-class"],xl=(t,e)=>{switch(t.type){case L.TEXT:return Mt(t.attributes,Pt.Text);case L.WRAPPER:case L.SECTION:return Mt(t.attributes,Pt.Section);case L.COLUMN:return Mt(t.attributes,Pt.Column);case L.BUTTON:return Mt(t.attributes,Pt.Button);case L.DIVIDER:return Mt(t.attributes,Pt.Divider);case L.GROUP:return Mt(t.attributes,Pt.Group);case L.HERO:return Mt(t.attributes,Pt.Hero);case L.IMAGE:return Mt(t.attributes,Pt.Image);case L.NAVBAR:return Mt(t.attributes,Pt.Navbar);case L.NAVBAR_LINK:return Mt(t.attributes,Pt.NavbarLink);case L.SOCIAL:return Mt(t.attributes,Pt.Social);case L.SOCIAL_ELEMENT:return Mt(t.attributes,Pt.SocialElement);case L.SPACER:return Mt(t.attributes,Pt.Spacer);case L.RAW:return e==="production"?oe(Mt(t.attributes,Pt.Raw),"css-class"):t.attributes}return t.attributes},Mt=(t,e)=>lr(t,(r,n)=>!!Dp.includes(n)||Object.keys(e).includes(n)),Sp=["padding","mode"];function wl(t,e){var r,n;const{node:i}=t,a=(r=e?.keepEmptyAttributes)!=null&&r,o=(n=e?.removeDefaultAttributes)!=null&&n,s=q({},xl(i,e?.mode)),l=tt.getBlockByType(i.type).defaultData.attributes;let c="";for(const y in s){const x=y;let E=s[x];te(E)&&(E=E?.trim());const v=Object.values(K).includes(i.type);(!o||!v||l[x]!==E||Sp.includes(x))&&te(E)&&(E=E.trim(),a||E)&&(c+=`${y}="${E.replace(/"/gm,"").trim()}"`+" ")}return c}const El=t=>{const e=Array.from(t.childNodes).filter(o=>o.nodeType!==Node.COMMENT_NODE);if(!e.some(o=>o.nodeType===Node.ELEMENT_NODE&&kl({item:o})))return e;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 x="inline";y.nodeType===Node.ELEMENT_NODE&&kl({item:y})&&(x="block"),l&&l.display===x||(l={display:x,children:[]},s.push(l)),l.children.push(y)}return s}(t),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)},kl=({item:t})=>t instanceof Element&&Mn.includes(t.tagName.toLowerCase()),ar=t=>{const e=document.createElement("div");return e.innerHTML=t,El(e).map(r=>Al(r))},Al=t=>{var e,r,n,i;if(t.nodeType===Node.TEXT_NODE){let a=t.textContent||"";return((e=t.parentElement)==null?void 0:e.childNodes.length)===1&&t.parentElement.textContent===t.textContent&&(a=t.parentElement.innerHTML.replace(/ /gi," ")||""),a=a?.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,"")||"",t.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),((r=t.parentElement)==null?void 0:r.childNodes.length)===1&&(((n=t.parentElement)==null?void 0:n.previousSibling)instanceof HTMLBRElement||((i=t.parentElement)==null?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(t.nodeType===Node.ELEMENT_NODE&&t instanceof Element){const a={};t.getAttributeNames().forEach(c=>{let y=na(c);y==="class"&&(y="className"),a[y]=t.getAttribute(c)||""});const o=t.tagName.toLowerCase();if(o==="img")return tt.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:"img"},children:[{text:""}]});if(o==="a"&&t.children.length===0&&t.childNodes.length===1)return{text:(t.textContent||"").trim(),link:{href:t.getAttribute("href")||"",blank:t.getAttribute("target")==="_blank"}};let s=El(t).map(c=>Al(c));s.length===0&&s.push({text:""});const l=s[0];return o==="div"&&s.length===1&&et.isTextNode(l)&&l.text===" "&&(s=[{text:""}]),Mn.includes(o)?tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:a,data:{tagName:o},children:s}):tt.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:o},children:s})}throw console.log("Invalid Node",t),new Error("Invalid node")},Np={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},Rp=t=>{const e=Tt(t),r={},n={[z.TEXT]:{}};return e.data.value["font-family"]&&(r["font-family"]=e.data.value["font-family"]),e.data.value["font-size"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-size":e.data.value["font-size"]})),e.data.value["line-height"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"line-height":e.data.value["line-height"]})),e.data.value["font-weight"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-weight":e.data.value["font-weight"]})),e.data.value["text-color"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{color:e.data.value["text-color"]})),e.data.value["font-weight"]&&(r["font-weight"]=e.data.value["font-weight"]),tt.getBlockByType(L.PAGE).create({attributes:{width:e.attributes.width,"background-color":e.attributes["background-color"],"content-background-color":e.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:e.data.value.breakpoint,headStyles:e.data.value.headStyles,fonts:e.data.value.fonts},children:e.children.map(i=>Tl(i,t))})},Tl=(t,e)=>{var r,n,i,a;let o,s,l=t.children.map(v=>Tl(v,t));t.data.value.content&&(l=ar(t.data.value.content)),(t.type==="navbar"||t.type==="advanced_navbar")&&(l=t.data.value.links.map(v=>{const w=ar(v.content);return tt.getBlockByType(L.STANDARD_NAVBAR_LINK).create({attributes:q({},oe(v,"content")),children:w.length===0?[{text:""}]:w})})),(t.type==="social"||t.type==="advanced_social")&&(l=t.data.value.elements.map(v=>{const w=ar(v.content);return tt.getBlockByType(L.STANDARD_SOCIAL_ELEMENT).create({attributes:q({},oe(v,"content")),children:w.length===0?[{text:""}]:w})})),l.length===0&&(l=[{text:""}]),t.displayMode==="desktop"?o="desktop":t.displayMode==="mobile"&&(o="mobile"),(r=t.data.value)!=null&&r.condition&&(s||(s={}),s.condition=(n=t.data.value)==null?void 0:n.condition),(i=t.data.value)!=null&&i.iteration&&(s||(s={}),s.iteration=(a=t.data.value)==null?void 0:a.iteration);const c={type:Np[t.type]||t.type,attributes:lr(t.attributes,v=>!jr(v)&&v.trim()!==""),mobileAttributes:t.mobileAttributes?lr(t.mobileAttributes,v=>!jr(v)&&v.trim()!==""):void 0,data:oe(t.data.value,"content"),children:l,visible:o,logic:s},y=rt(c.attributes,"padding"),x=rt(c.attributes,"inner-padding");if(y){const v=document.createElement("div");v.style.setProperty("padding",y),qt(c.attributes,"padding-top",v.style.paddingTop),qt(c.attributes,"padding-bottom",v.style.paddingBottom),qt(c.attributes,"padding-left",v.style.paddingLeft),qt(c.attributes,"padding-right",v.style.paddingRight)}if(x){const v=document.createElement("div");v.style.setProperty("padding",x),qt(c.attributes,"inner-padding-top",v.style.paddingTop),qt(c.attributes,"inner-padding-bottom",v.style.paddingBottom),qt(c.attributes,"inner-padding-left",v.style.paddingLeft),qt(c.attributes,"inner-padding-right",v.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 v=document.createElement("div");v.style.setProperty("border",c.attributes.border),(c.attributes.border&&c.attributes.border.trim()!=="none"||c.attributes["border-width"])&&(c.attributes["border-width"]=v.style.getPropertyValue("border-width"),c.attributes["border-style"]=v.style.getPropertyValue("border-style"),c.attributes["border-color"]=v.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const E=lr(c,wu);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(t.type)&&e&&!e.type.includes("column")?tt.getBlockByType(L.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[tt.getBlockByType(L.STANDARD_COLUMN).create({children:[E]})]}):E},Dl=t=>{if(t.attributes.padding){const e=document.createElement("div");e.style.padding=rt(t.attributes,"padding"),rt(t.attributes,"padding-top")&&(e.style.paddingTop=rt(t.attributes,"padding-top")),rt(t.attributes,"padding-bottom")&&(e.style.paddingTop=rt(t.attributes,"padding-bottom")),rt(t.attributes,"padding-left")&&(e.style.paddingTop=rt(t.attributes,"padding-left")),rt(t.attributes,"padding-right")&&(e.style.paddingTop=rt(t.attributes,"padding-right")),delete t.attributes.padding,t.attributes["padding-top"]=e.style.paddingTop,t.attributes["padding-bottom"]=e.style.paddingBottom,t.attributes["padding-left"]=e.style.paddingLeft,t.attributes["padding-right"]=e.style.paddingRight}if(t.attributes["inner-padding"]){const e=document.createElement("div");e.style.padding=rt(t.attributes,"inner-padding"),rt(t.attributes,"inner-padding-top")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-top")),rt(t.attributes,"inner-padding-bottom")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-bottom")),rt(t.attributes,"inner-padding-left")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-left")),rt(t.attributes,"inner-padding-right")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-right")),delete t.attributes["inner-padding"],t.attributes["inner-padding-top"]=e.style.paddingTop,t.attributes["inner-padding-bottom"]=e.style.paddingBottom,t.attributes["inner-padding-left"]=e.style.paddingLeft,t.attributes["inner-padding-right"]=e.style.paddingRight}return t},Op=t=>{const{content:e,mjmlHelper:r}=t;if(!te(e))return Sl(e);const n=new DOMParser().parseFromString(e,"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(e,{validationLevel:"soft"});return Sl(a)}const i=a=>{if(a.tagName==="parsererror")throw new Error("Invalid content");const o={};a.getAttributeNames().forEach(c=>{const y=a.getAttribute(c);te(y)&&(o[c]=y)});const s=a.tagName.replace("mj-","");if(!(tt.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 Sl(t){const e=r=>{var n,i,a,o,s,l,c,y,x,E;const v=r.attributes;if(r.tagName==="mjml"){const w=(n=r.children)==null?void 0:n.find(g=>g.tagName==="mj-body");if(!w)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})),k=(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=tt.getBlockByType(L.PAGE).create({attributes:q({"margin-top":"0px","margin-bottom":"0px"},w.attributes),children:(c=w.children)==null?void 0:c.map(e),data:{headStyles:m,fonts:u,breakpoint:k?.attributes.breakpoint,preheader:S?.content}});return(((x=(y=b?.children)==null?void 0:y.find(g=>g.tagName==="mj-attributes"))==null?void 0:x.children)||[]).forEach(g=>{if((g=Dl(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 w=r.tagName.replace("mj-","").toLowerCase(),b=tt.getBlockByType(w);if(!b)throw new Error(`${w} block no found `);w==="social"&&(E=r.children)!=null&&E.every(m=>!(m.tagName!=="mj-social-element"||rt(m,"attributes.padding")||rt(m,"attributes.padding-left")||rt(m,"attributes.padding-right")||rt(m,"attributes.padding-top")||rt(m,"attributes.padding-bottom")))&&(v.spacing="8px"),w==="social-element"&&v.src&&(v.mode="custom");const u={type:b.type,attributes:v,data:{},children:[]};switch(b.type){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:u.children=ar(r.content||"");break;case L.TABLE:u.data.code=r.content||"";break;default:r.children&&(u.children=r.children.map(e))}return u.children.length===0&&(u.children=[{text:""}]),function(m){const k="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({},Dl(m)),{type:k})}return m}(b.create(u))}};return e(t)}const Lp=()=>{var t,e,r,n,i;const{element:a}=ui(),{context:o}=tr(),s=o.content;let l=parseFloat(((t=s.attributes)==null?void 0:t.width)||"600");return a&&et.isColumnElement(a)&&(l=(r=(e=a.attributes)==null?void 0:e.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}},Ir={id:"__easy_email_ai_agent_no_initial_selection__"};function Oi(t){return"selected"in t&&t.selected===!0}function Bp(t){return X(q({},t),{toolCalls:Array.isArray(t.toolCalls)?t.toolCalls:Array.isArray(t.tool_calls)?t.tool_calls:[],fallbackTemplate:t.fallbackTemplate===void 0?t.fallback_template:t.fallbackTemplate})}function Cp(t,e){const r=e||Ir;return t.map(n=>"target"in n&&Oi(n.target)?X(q({},n),{target:r}):n)}const Nl="AI_AGENT";function Rl(){if(!Xt.getFeatureEnabled(Nl))throw new Error("Current plan do not support AI Agent")}function Ol(t){return Lt(this,null,function*(){const e=yield t.text().catch(()=>"");if(!e)return`${t.status} ${t.statusText}`;try{const r=JSON.parse(e);if(typeof r.error=="string")return r.error;if(typeof r.message=="string")return r.message}catch{}return e})}function Li(t){let e="";const r=[];t.split(/\r?\n/).forEach(i=>{i&&!i.startsWith(":")&&(i.startsWith("event:")?e=i.slice(6).trim():i.startsWith("data:")&&r.push(i.slice(5).trimStart()))});const n=r.join(`
|
|
108
|
+
`))}generateVariable(e,r){return r?`{{ ${e}| default: "${ce.encode(r)}" }}`:`{{ ${e} }}`}isVariable(e){return Ap.test(e)}renderWithData(e,r){const n=new Hi;n.plugin(function(){this.registerFilter("title_case",a=>vu(a)),this.registerFilter("chunk",(a,o=1)=>xu(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=>rt(c,o)===l)).filter(Boolean):null),this.registerFilter("arr_slice",(a,o,s)=>a?a.slice(o,s):null),this.registerFilter("date",a=>sd(a).format("MMM DD, YY")),this.registerFilter("money",a=>{const o=rt(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=rt(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=rt(r,"shop.money_in_emails_format","");return o?this.parseAndRenderSync(o,{amount:Number(a)}):a}),this.registerFilter("img_url",a=>rt(a,"image")||rt(a,"src")||""),this.registerFilter("format_address",a=>a),this.registerFilter("payment_type_img_url",a=>a)});const i=n.parse(e);return n.renderSync(i,r)}}function Tp(t){const{desktop:e,mobile:r}=t,n=tr(),{displayMode:i="desktop-mobile"}=n;return i==="only-desktop"?O.createElement(Yt,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(e,null))):i==="only-mobile"?O.createElement(O.Fragment,null,n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Yt,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->")):O.createElement(O.Fragment,null,O.createElement(Yt,X(q({},n),{displayMode:"only-desktop"}),O.createElement(O.Fragment,null,O.createElement(e,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--[if !mso]><!--><!-- htmlmin:ignore -->"),O.createElement(Yt,X(q({},n),{displayMode:"only-mobile"}),O.createElement(O.Fragment,null,O.createElement(r,null))),n.mode==="production"&&O.createElement(Ht,null,"<!-- htmlmin:ignore --><!--<![endif]--><!-- htmlmin:ignore -->"))}const fl="hide-desktop-block",gl="hide-mobile-block",ml="hide-desktop-inline-block",bl="hide-mobile-inline-block",yl=[L.GROUP,L.COLUMN,L.NAVBAR_LINK];class vl extends kr{constructor(){super(...arguments),at(this,"generateResponsive",e=>{const{mode:r,displayMode:n,node:i,keepEmptyAttributes:a,mergetagsData:o={},children:s,context:l,idx:c,outputFormat:y}=e,x=tt.getBlockByType(i.type);if(!x)throw new Error(`${i.type} block is not registered`);const E=i.mobileAttributes&&Object.keys(i.mobileAttributes).some(d=>i.mobileAttributes[d]!==void 0&&i.mobileAttributes[d]!==i.attributes[d]),v=yl.includes(x.type)?ml:fl,w=yl.includes(x.type)?bl:gl,b=rt(i,"attributes.css-class")||"";if(n==="only-desktop"){if(i.visible==="mobile"||b.includes(v))return null;b.includes(w)||qt(i,"attributes.css-class",ge(b,w))}else if(n==="only-mobile"){if(b.includes(w))return null;b.includes(v)||qt(i,"attributes.css-class",ge(b,v))}const u=q({},x.defaultData.attributes);if(u&&(rt(i.attributes,"padding","").trim()&&(delete u.padding,delete u["padding-top"],delete u["padding-bottom"],delete u["padding-left"],delete u["padding-right"]),rt(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"?qt(i,"attributes.css-class",ge(b,w)):i.visible==="mobile"&&qt(i,"attributes.css-class",ge(b,v)),i.visible;const m=i.visible==="desktop"?null:x.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}),k=x.render(X(q({},e),{mode:r,children:s,context:l,idx:c,node:i,keepEmptyAttributes:a,mergetagsData:o}));let S=k;return E&&(S=O.createElement(O.Fragment,null,O.createElement(Tp,{desktop:()=>O.createElement(O.Fragment,null,k),mobile:()=>O.createElement(O.Fragment,null,m)}))),S})}}const Pt={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,%)"}},Dp=["mj-class","css-class"],xl=(t,e)=>{switch(t.type){case L.TEXT:return Mt(t.attributes,Pt.Text);case L.WRAPPER:case L.SECTION:return Mt(t.attributes,Pt.Section);case L.COLUMN:return Mt(t.attributes,Pt.Column);case L.BUTTON:return Mt(t.attributes,Pt.Button);case L.DIVIDER:return Mt(t.attributes,Pt.Divider);case L.GROUP:return Mt(t.attributes,Pt.Group);case L.HERO:return Mt(t.attributes,Pt.Hero);case L.IMAGE:return Mt(t.attributes,Pt.Image);case L.NAVBAR:return Mt(t.attributes,Pt.Navbar);case L.NAVBAR_LINK:return Mt(t.attributes,Pt.NavbarLink);case L.SOCIAL:return Mt(t.attributes,Pt.Social);case L.SOCIAL_ELEMENT:return Mt(t.attributes,Pt.SocialElement);case L.SPACER:return Mt(t.attributes,Pt.Spacer);case L.RAW:return e==="production"?oe(Mt(t.attributes,Pt.Raw),"css-class"):t.attributes}return t.attributes},Mt=(t,e)=>lr(t,(r,n)=>!!Dp.includes(n)||Object.keys(e).includes(n)),Sp=["padding","mode"];function wl(t,e){var r,n;const{node:i}=t,a=(r=e?.keepEmptyAttributes)!=null&&r,o=(n=e?.removeDefaultAttributes)!=null&&n,s=q({},xl(i,e?.mode)),l=tt.getBlockByType(i.type).defaultData.attributes;let c="";for(const y in s){const x=y;let E=s[x];te(E)&&(E=E?.trim());const v=Object.values(K).includes(i.type);(!o||!v||l[x]!==E||Sp.includes(x))&&te(E)&&(E=E.trim(),a||E)&&(c+=`${y}="${E.replace(/"/gm,"").trim()}"`+" ")}return c}const El=t=>{const e=Array.from(t.childNodes).filter(o=>o.nodeType!==Node.COMMENT_NODE);if(!e.some(o=>o.nodeType===Node.ELEMENT_NODE&&kl({item:o})))return e;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 x="inline";y.nodeType===Node.ELEMENT_NODE&&kl({item:y})&&(x="block"),l&&l.display===x||(l={display:x,children:[]},s.push(l)),l.children.push(y)}return s}(t),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)},kl=({item:t})=>t instanceof Element&&Mn.includes(t.tagName.toLowerCase()),ar=t=>{const e=document.createElement("div");return e.innerHTML=t,El(e).map(r=>Al(r))},Al=t=>{var e,r,n,i;if(t.nodeType===Node.TEXT_NODE){let a=t.textContent||"";return((e=t.parentElement)==null?void 0:e.childNodes.length)===1&&t.parentElement.textContent===t.textContent&&(a=t.parentElement.innerHTML.replace(/ /gi," ")||""),a=a?.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,"")||"",t.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),((r=t.parentElement)==null?void 0:r.childNodes.length)===1&&(((n=t.parentElement)==null?void 0:n.previousSibling)instanceof HTMLBRElement||((i=t.parentElement)==null?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(t.nodeType===Node.ELEMENT_NODE&&t instanceof Element){const a={};t.getAttributeNames().forEach(c=>{let y=na(c);y==="class"&&(y="className"),a[y]=t.getAttribute(c)||""});const o=t.tagName.toLowerCase();if(o==="img")return tt.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:"img"},children:[{text:""}]});if(o==="a"&&t.children.length===0&&t.childNodes.length===1)return{text:(t.textContent||"").trim(),link:{href:t.getAttribute("href")||"",blank:t.getAttribute("target")==="_blank"}};let s=El(t).map(c=>Al(c));s.length===0&&s.push({text:""});const l=s[0];return o==="div"&&s.length===1&&et.isTextNode(l)&&l.text===" "&&(s=[{text:""}]),Mn.includes(o)?tt.getBlockByType(L.HTML_BLOCK_NODE).create({attributes:a,data:{tagName:o},children:s}):tt.getBlockByType(L.HTML_NODE).create({attributes:a,data:{tagName:o},children:s})}throw console.log("Invalid Node",t),new Error("Invalid node")},Np={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},Rp=t=>{const e=Tt(t),r={},n={[z.TEXT]:{}};return e.data.value["font-family"]&&(r["font-family"]=e.data.value["font-family"]),e.data.value["font-size"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-size":e.data.value["font-size"]})),e.data.value["line-height"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"line-height":e.data.value["line-height"]})),e.data.value["font-weight"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{"font-weight":e.data.value["font-weight"]})),e.data.value["text-color"]&&(n[z.TEXT]=X(q({},n[z.TEXT]),{color:e.data.value["text-color"]})),e.data.value["font-weight"]&&(r["font-weight"]=e.data.value["font-weight"]),tt.getBlockByType(L.PAGE).create({attributes:{width:e.attributes.width,"background-color":e.attributes["background-color"],"content-background-color":e.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:e.data.value.breakpoint,headStyles:e.data.value.headStyles,fonts:e.data.value.fonts},children:e.children.map(i=>Tl(i,t))})},Tl=(t,e)=>{var r,n,i,a;let o,s,l=t.children.map(v=>Tl(v,t));t.data.value.content&&(l=ar(t.data.value.content)),(t.type==="navbar"||t.type==="advanced_navbar")&&(l=t.data.value.links.map(v=>{const w=ar(v.content);return tt.getBlockByType(L.STANDARD_NAVBAR_LINK).create({attributes:q({},oe(v,"content")),children:w.length===0?[{text:""}]:w})})),(t.type==="social"||t.type==="advanced_social")&&(l=t.data.value.elements.map(v=>{const w=ar(v.content);return tt.getBlockByType(L.STANDARD_SOCIAL_ELEMENT).create({attributes:q({},oe(v,"content")),children:w.length===0?[{text:""}]:w})})),l.length===0&&(l=[{text:""}]),t.displayMode==="desktop"?o="desktop":t.displayMode==="mobile"&&(o="mobile"),(r=t.data.value)!=null&&r.condition&&(s||(s={}),s.condition=(n=t.data.value)==null?void 0:n.condition),(i=t.data.value)!=null&&i.iteration&&(s||(s={}),s.iteration=(a=t.data.value)==null?void 0:a.iteration);const c={type:Np[t.type]||t.type,attributes:lr(t.attributes,v=>!jr(v)&&v.trim()!==""),mobileAttributes:t.mobileAttributes?lr(t.mobileAttributes,v=>!jr(v)&&v.trim()!==""):void 0,data:oe(t.data.value,"content"),children:l,visible:o,logic:s},y=rt(c.attributes,"padding"),x=rt(c.attributes,"inner-padding");if(y){const v=document.createElement("div");v.style.setProperty("padding",y),qt(c.attributes,"padding-top",v.style.paddingTop),qt(c.attributes,"padding-bottom",v.style.paddingBottom),qt(c.attributes,"padding-left",v.style.paddingLeft),qt(c.attributes,"padding-right",v.style.paddingRight)}if(x){const v=document.createElement("div");v.style.setProperty("padding",x),qt(c.attributes,"inner-padding-top",v.style.paddingTop),qt(c.attributes,"inner-padding-bottom",v.style.paddingBottom),qt(c.attributes,"inner-padding-left",v.style.paddingLeft),qt(c.attributes,"inner-padding-right",v.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 v=document.createElement("div");v.style.setProperty("border",c.attributes.border),(c.attributes.border&&c.attributes.border.trim()!=="none"||c.attributes["border-width"])&&(c.attributes["border-width"]=v.style.getPropertyValue("border-width"),c.attributes["border-style"]=v.style.getPropertyValue("border-style"),c.attributes["border-color"]=v.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const E=lr(c,wu);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(t.type)&&e&&!e.type.includes("column")?tt.getBlockByType(L.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[tt.getBlockByType(L.STANDARD_COLUMN).create({children:[E]})]}):E},Dl=t=>{if(t.attributes.padding){const e=document.createElement("div");e.style.padding=rt(t.attributes,"padding"),rt(t.attributes,"padding-top")&&(e.style.paddingTop=rt(t.attributes,"padding-top")),rt(t.attributes,"padding-bottom")&&(e.style.paddingTop=rt(t.attributes,"padding-bottom")),rt(t.attributes,"padding-left")&&(e.style.paddingTop=rt(t.attributes,"padding-left")),rt(t.attributes,"padding-right")&&(e.style.paddingTop=rt(t.attributes,"padding-right")),delete t.attributes.padding,t.attributes["padding-top"]=e.style.paddingTop,t.attributes["padding-bottom"]=e.style.paddingBottom,t.attributes["padding-left"]=e.style.paddingLeft,t.attributes["padding-right"]=e.style.paddingRight}if(t.attributes["inner-padding"]){const e=document.createElement("div");e.style.padding=rt(t.attributes,"inner-padding"),rt(t.attributes,"inner-padding-top")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-top")),rt(t.attributes,"inner-padding-bottom")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-bottom")),rt(t.attributes,"inner-padding-left")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-left")),rt(t.attributes,"inner-padding-right")&&(e.style.paddingTop=rt(t.attributes,"inner-padding-right")),delete t.attributes["inner-padding"],t.attributes["inner-padding-top"]=e.style.paddingTop,t.attributes["inner-padding-bottom"]=e.style.paddingBottom,t.attributes["inner-padding-left"]=e.style.paddingLeft,t.attributes["inner-padding-right"]=e.style.paddingRight}return t},Op=t=>{const{content:e,mjmlHelper:r}=t;if(!te(e))return Sl(e);const n=new DOMParser().parseFromString(e,"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(e,{validationLevel:"soft"});return Sl(a)}const i=a=>{if(a.tagName==="parsererror")throw new Error("Invalid content");const o={};a.getAttributeNames().forEach(c=>{const y=a.getAttribute(c);te(y)&&(o[c]=y)});const s=a.tagName.replace("mj-","");if(!(tt.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 Sl(t){const e=r=>{var n,i,a,o,s,l,c,y,x,E;const v=r.attributes;if(r.tagName==="mjml"){const w=(n=r.children)==null?void 0:n.find(g=>g.tagName==="mj-body");if(!w)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})),k=(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=tt.getBlockByType(L.PAGE).create({attributes:q({"margin-top":"0px","margin-bottom":"0px"},w.attributes),children:(c=w.children)==null?void 0:c.map(e),data:{headStyles:m,fonts:u,breakpoint:k?.attributes.breakpoint,preheader:S?.content}});return(((x=(y=b?.children)==null?void 0:y.find(g=>g.tagName==="mj-attributes"))==null?void 0:x.children)||[]).forEach(g=>{if((g=Dl(g)).tagName==="mj-all")d.data.globalAttributes=q(q({},d.data.globalAttributes),g.attributes);else if(g.tagName==="mj-class"){const p=g.attributes.name;delete g.attributes.name,d.data.classAttributes=X(q({},d.data.classAttributes),{[p]:g.attributes})}else d.data.categoryAttributes=X(q({},d.data.categoryAttributes),{[g.tagName.replace("mj-","")]:g.attributes})}),d}{const w=r.tagName.replace("mj-","").toLowerCase(),b=tt.getBlockByType(w);if(!b)throw new Error(`${w} block no found `);w==="social"&&(E=r.children)!=null&&E.every(m=>!(m.tagName!=="mj-social-element"||rt(m,"attributes.padding")||rt(m,"attributes.padding-left")||rt(m,"attributes.padding-right")||rt(m,"attributes.padding-top")||rt(m,"attributes.padding-bottom")))&&(v.spacing="8px"),w==="social-element"&&v.src&&(v.mode="custom");const u={type:b.type,attributes:v,data:{},children:[]};switch(b.type){case L.TEXT:case L.BUTTON:case L.NAVBAR_LINK:case L.SOCIAL_ELEMENT:u.children=ar(r.content||"");break;case L.TABLE:u.data.code=r.content||"";break;default:r.children&&(u.children=r.children.map(e))}return u.children.length===0&&(u.children=[{text:""}]),function(m){const k="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({},Dl(m)),{type:k})}return m}(b.create(u))}};return e(t)}const Lp=()=>{var t,e,r,n,i;const{element:a}=ui(),{context:o}=tr(),s=o.content;let l=parseFloat(((t=s.attributes)==null?void 0:t.width)||"600");return a&&et.isColumnElement(a)&&(l=(r=(e=a.attributes)==null?void 0:e.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}},Ir={id:"__easy_email_ai_agent_no_initial_selection__"};function Oi(t){return"selected"in t&&t.selected===!0}function Bp(t){return X(q({},t),{toolCalls:Array.isArray(t.toolCalls)?t.toolCalls:Array.isArray(t.tool_calls)?t.tool_calls:[],fallbackTemplate:t.fallbackTemplate===void 0?t.fallback_template:t.fallbackTemplate})}function Cp(t,e){const r=e||Ir;return t.map(n=>"target"in n&&Oi(n.target)?X(q({},n),{target:r}):n)}const Nl="AI_AGENT";function Rl(){if(!Xt.getFeatureEnabled(Nl))throw new Error("Current plan do not support AI Agent")}function Ol(t){return Lt(this,null,function*(){const e=yield t.text().catch(()=>"");if(!e)return`${t.status} ${t.statusText}`;try{const r=JSON.parse(e);if(typeof r.error=="string")return r.error;if(typeof r.message=="string")return r.message}catch{}return e})}function Li(t){let e="";const r=[];t.split(/\r?\n/).forEach(i=>{i&&!i.startsWith(":")&&(i.startsWith("event:")?e=i.slice(6).trim():i.startsWith("data:")&&r.push(i.slice(5).trimStart()))});const n=r.join(`
|
|
109
109
|
`);if(!n)return null;try{const i=JSON.parse(n);return!i.type&&e&&(i.type=e),i}catch{return null}}function Bi(t,e){return Lt(this,null,function*(){const r=t.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 x=Li(y);x&&(a.push(x),e?.(x))}}i+=n.decode();const o=Li(i);return o&&(a.push(o),e?.(o)),a})}function Ip(t,e){return Lt(this,null,function*(){if(Rl(),!t)throw new Error("onChat did not return a result");if(r=t,typeof Response<"u"&&r instanceof Response){if(!t.ok)throw new Error(yield Ol(t));if(!t.body)throw new Error("Streaming response body is empty");return Bi(t.body,e)}var r;return function(n){return typeof ReadableStream<"u"&&n instanceof ReadableStream}(t)?Bi(t,e):(e&&t.forEach(e),t)})}function qp(t){const e=t?.selected;return e?e.id?{id:e.id}:e.uid?{uid:e.uid}:null:null}function Ll(t){return t==="standard-image"||t==="image"}function qr(t,e){return!!t&&(!("id"in t)||t.id!==Ir.id)&&Ll("type"in t?t.type:e)}function Pp(t,e){return e?"id"in e&&e.id===Ir.id?null:"selected"in e?qr(t.selectedTarget,t.selectedType)?t.selectedTarget:null:"type"in e&&!Ll(e.type)?null:e:qr(t.selectedTarget,t.selectedType)?t.selectedTarget:null}function Bl(t,e){return!!t&&!("type"in t)&&(e==="high"||"id"in t||"uid"in t||"selected"in t)}function Cl(t,e){return!(!t||!e)&&("id"in t&&"id"in e?t.id===e.id:"uid"in t&&"uid"in e&&t.uid===e.uid)}function Mp(t,e,r){return!!Bl(e,r)&&!!qr(t.selectedTarget,t.selectedType)&&!!e&&(!!Oi(e)||Cl(t.selectedTarget,e))}function Il(t){const e=t.width&&t.height?`${t.width}x${t.height}`:"";return[t.title,e].filter(Boolean).join(" \xB7 ")||void 0}function Up(t,e,r="Image"){var n;return(n=t.candidates)!=null&&n.length?t.candidates:(e||[]).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:Il(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 Fp(t,e){if(!e)return"src";const r=(t||[]).find(n=>{if("id"in e)return n.id===e.id;if("uid"in e)return n.uid===e.uid;if("type"in e){const i=e.index||0;return(t||[]).filter(a=>a.type===e.type)[i]===n}return!1});return r?.attributeKey||"src"}function jp(t){const e=t.value;if(!e||typeof e!="object")return"src";const r=e.attributeKey;return typeof r=="string"&&r?r:"src"}const zp=Object.values(L),Hp=new Set(zp),Vp={[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"},$p=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 Ft(t){return!!(t&&typeof t=="object"&&!Array.isArray(t))}function Pr(t){return Ft(t)&&"text"in t&&!("type"in t)}function De(t){var e;return Pr(t)?X(q({},t),{text:typeof t.text=="string"?t.text:String((e=t.text)!=null?e:"")}):Ft(t)&&typeof t.type=="string"?X(q({},t),{data:Ft(t.data)?t.data:{},attributes:Ft(t.attributes)?t.attributes:{},children:Array.isArray(t.children)?t.children.map(De):[]}):t}function sr(t){return $p.has(t)?"content":Vp[t]||null}function ql(t,e){if(Pr(t))return typeof t.text=="string"?[]:[{path:`${e.path}.text`,code:"invalid_text",message:"Text node text must be a string"}];if(!Ft(t))return[{path:e.path,code:"invalid_element",message:"Easy Email node must be an object"}];const r=[],n=t.type;if(typeof n!="string")return r.push({path:`${e.path}.type`,code:"missing_field",message:"Easy Email element type is required"}),r;if(!Hp.has(n))return r.push({path:`${e.path}.type`,code:"unknown_type",message:`Unknown Easy Email element type: ${n}`}),r;(function(o,s){if(!s)return o===L.PAGE;const l=sr(o),c=sr(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,e.parentType)||r.push({path:e.path,code:"invalid_parent",message:e.parentType?`${n} cannot be a child of ${e.parentType}`:`${n} cannot be used as the root element`}),Ft(t.data)||r.push({path:`${e.path}.data`,code:"missing_field",message:`${n}.data must be an object`}),Ft(t.attributes)||r.push({path:`${e.path}.attributes`,code:"missing_field",message:`${n}.attributes must be an object`});const i=e.ids||new Set,a=e.uids||new Set;return typeof t.id=="string"&&t.id&&(i.has(t.id)&&r.push({path:`${e.path}.id`,code:"duplicate_id",message:`Duplicate Easy Email element id: ${t.id}`}),i.add(t.id)),typeof t.uid=="string"&&t.uid&&(a.has(t.uid)&&r.push({path:`${e.path}.uid`,code:"duplicate_uid",message:`Duplicate Easy Email element uid: ${t.uid}`}),a.add(t.uid)),Array.isArray(t.children)?(t.children.forEach((o,s)=>{r.push(...ql(o,{path:`${e.path}.children.${s}`,parentType:n,ids:i,uids:a}))}),r):(r.push({path:`${e.path}.children`,code:"missing_field",message:`${n}.children must be an array`}),r)}function Gp(t){return function(e,r={}){const n=ql(e,{path:r.path||"content",parentType:r.parentType,ids:new Set,uids:new Set});return{valid:n.length===0,errors:n}}(Ft(t)&&"content"in t?t.content:t,{path:"content"})}function Pl(t){if(Pr(t))return[De(t)];if(!Ft(t)||typeof t.type!="string")return[];const e=De(t);if(!Ft(e)||typeof e.type!="string")return[];const r=sr(e.type);return r==="content"||r==="inline"?[Mr(e,L.COLUMN)]:Array.isArray(e.children)?e.children.flatMap(Pl):[]}function Mr(t,e){if(Pr(t))return De(t);const r=De(t);if(!Ft(r)||typeof r.type!="string")return r;const n=(Array.isArray(r.children)?r.children:[]).flatMap(i=>{const a=Ft(i)&&typeof i.type=="string"?i.type:null,o=a?sr(a):null,s=sr(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")?[Mr(i,r.type)]:Pl(i)});return X(q({},r),{children:n})}function Ml(t){const e=function(r){return Ft(r)?"content"in r?X(q({},r),{content:De(r.content)}):De(r):r}(t);return Ft(e)?"content"in e?X(q({},e),{content:Mr(e.content)}):Mr(e):e}const Ci=["exact_color_hex","target_node","asset_url","link_url","replacement_text","image_target","design_reference","other_concrete_field"],Wp={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"}}}}}},Kp={type:"json_schema",name:"easy_email_action_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","mode","summary","confidence","assumptions","operations","clarification"],properties:{language:{type:"string"},mode:{type:"string",enum:["act","clarify"]},summary:{type:["string","null"]},confidence:{type:"string",enum:["high","medium","low"]},assumptions:{type:"array",items:{type:"string"}},operations:{type:"array",items:{type:"object",additionalProperties:!1,required:["type","target","key","value","text","attributes","prompt","size","sourceUrl","referenceImages","imageIntent","position","parentTarget","block"],properties:{type:{type:"string",enum:["update_attribute","update_attributes","update_text","insert_node","remove_node","move_node","replace_image","edit_image","generate_image"]},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"]}}},key:{type:["string","null"]},value:{type:["string","number","boolean","null"]},text:{type:["string","null"]},attributes:{type:["object","null"],additionalProperties:{type:["string","number","boolean","null"]}},prompt:{type:["string","null"]},size:{type:["string","null"],enum:["auto","1024x1024","1536x1024","1024x1536",null]},sourceUrl:{type:["string","null"]},referenceImages:{type:"array",items:{type:"string"}},imageIntent:{type:["string","null"],enum:["replace","insert","attach",null]},position:{type:["number","null"]},parentTarget:{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"]}}},block:{type:["string","null"]}}}},clarification:{type:["object","null"],additionalProperties:!1,required:["missingField","question","options","reason"],properties:{missingField:{type:"string",enum:Ci},question:{type:"string"},reason:{type:"string"},options:{type:"array",items:{type:"object",additionalProperties:!1,required:["label","value","type"],properties:{label:{type:"string"},value:{type:"string"},type:{type:"string",enum:["hex","url","node_id","text","asset","choice"]}}}}}}}}},Xp={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"}}}}}},Jp={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 Yp(t){if(!t||typeof t!="object")return null;const e=t;return{currentSnapshotId:typeof e.currentSnapshotId=="string"?e.currentSnapshotId:null,snapshots:Array.isArray(e.snapshots)?e.snapshots.slice(-20).map(r=>({id:r.id,title:r.title,summary:r.summary,createdAt:r.createdAt})):[],messages:Array.isArray(e.messages)?e.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 Qp(t){if(!t||typeof t!="object")return!1;const e=t.messages;return!!Array.isArray(e)&&e.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 Zp(t){if(!t||typeof t!="object")return[];const e=t.messages;if(!Array.isArray(e))return[];const r=[];for(const n of e.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 Ul(t){const e=new Set;return t.filter(r=>{const n=r.url||r.dataUrl||r.id||r.name;return!!n&&!e.has(n)&&(e.add(n),!0)})}function th(t){var e,r,n;const i=(r=(e=t.prompt)==null?void 0:e.text)==null?void 0:r.trim();if(!i)throw new Error("prompt.text is required");return{body:t,text:i,images:Ul([...(n=t.images)!=null?n:[],...Zp(t.history)]).slice(0,6)}}function eh(t){return{input:[{role:"user",content:[{type:"input_text",text:(e={text:t.text,imageCount:t.images.length,history:t.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: ${e.imageCount}`,"History has user image attachment: "+(Qp(e.history)?"yes":"no"),"","Latest user message:",e.text].join(`
|
|
110
110
|
`))}]}],text:{format:Jp},max_output_tokens:256,stream:!1,store:!1};var e}function rh(t){return function(e){try{const r=JSON.parse(e);if((r.intent==="ask"||r.intent==="action"||r.intent==="reference_rewrite")&&r.confidence==="high")return r.intent}catch{return"action"}return"action"}(Yl(t||{}))}function Ii(t){const e=function(s){const l=s.trim(),c=l.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);return c?c[1].trim():l}(t).trim();try{return JSON.parse(e),e}catch{}const r=[e.indexOf("{"),e.indexOf("[")].filter(s=>s>=0);if(!r.length)return e;const n=Math.min(...r),i=[];let a=!1,o=!1;for(let s=n;s<e.length;s+=1){const l=e[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 e.slice(n,s+1)}}else i.push("]");else i.push("}");else a=!0}return e}function Fl(t){const e=JSON.parse(Ii(t)),r=function(o,s){if(o.mode==="clarify"){const x=o.clarification||o;return function(E){return!mt(E)||!function(v){return typeof v=="string"&&Ci.includes(v)}(E.missingField)||typeof E.question!="string"||!E.question.trim()?!1:Array.isArray(E.options)&&E.options.length?E.options.every(ah):!0}(x)?{type:"decision_request",payload:je({id:`action-${x.missingField}`,kind:x.missingField==="target_node"||x.missingField==="image_target"?"target_block":"missing_detail",title:"More detail needed",message:x.question,allowCustom:!0,required:!0,choices:Array.isArray(x.options)?x.options.map((E,v)=>({id:`${x.missingField}-${v}`,label:String(E.label||E.value||""),description:x.reason||null,prompt:null,thumbnail:null,target:E.type==="node_id"?{selected:null,id:E.value,uid:null,type:null,index:null}:null,value:E.value||null})):[]})}:qi("Action clarification must name a concrete missingField and use typed concrete options.",s)}if(o.mode!=="act")return null;const l=Array.isArray(o.operations)?o.operations.filter(mt):[];if(!l.length)return qi("Action mode requires at least one executable operation.",s);const c=l.map(x=>function(E,v){return E.type!=="edit_image"&&E.type!=="generate_image"&&E.type!=="replace_image"?null:{action:E.type==="edit_image"?"edit":"generate",prompt:String(E.prompt||v.summary||"").trim(),size:Wl(E.size),summary:typeof v.summary=="string"&&v.summary.trim()?v.summary:null,target:Se(E.target),confidence:v.confidence==="high"||v.confidence==="medium"||v.confidence==="low"?v.confidence==="medium"?"high":v.confidence:"high",candidates:[],decision:null,intent:E.imageIntent||"replace"}}(x,o)).find(Boolean),y=l.map(sh).filter(Boolean);return c&&!y.length?{type:"easy_email_image_request",payload:c}:y.length?{type:"easy_email_tool_calls",payload:{summary:typeof o.summary=="string"?o.summary:null,toolCalls:y,fallbackTemplate:null},imageRequest:c||null}:qi("Action operations did not map to supported tools.",s)}(e,t);if(r)return r;const n=mt(e.payload)?e.payload:{},i=e.intent||(e.toolCalls?"tools":e.template?"modify":e.prompt&&e.action?"image":e.answer?"answer":null);if(i==="answer")return{type:"easy_email_answer",payload:{answer:String(n.answer||e.answer||"OK.")}};if(i==="decision_request")return{type:"decision_request",payload:je(mt(n.decision)?n.decision:e)};if(i==="tools"||i==="tool_calls"){const o=n.confidence||e.confidence;if(o==="ambiguous"||o==="low")return{type:"decision_request",payload:je(mt(n.decision)?n.decision:e)};const s=typeof n.toolCallsJson=="string"?zl(n.toolCallsJson):Array.isArray(n.toolCalls)?jl(n.toolCalls):Array.isArray(e.toolCalls)?e.toolCalls:[];return s.length?{type:"easy_email_tool_calls",payload:{summary:typeof n.summary=="string"?n.summary:typeof e.summary=="string"?e.summary:null,toolCalls:s,fallbackTemplate:e.fallbackTemplate||null}}:{type:"decision_request",payload:je(mt(n.decision)?n.decision:e)}}if(i==="image"){const o=mt(n.image)?n.image:e,s=o.confidence||n.confidence;return{type:"easy_email_image_request",payload:{action:o.action==="edit"?"edit":"generate",prompt:String(o.prompt||"").trim(),size:Wl(o.size),summary:typeof n.summary=="string"?n.summary:typeof e.summary=="string"?e.summary:null,target:Se(o.target),confidence:s==="high"||s==="low"||s==="ambiguous"?s:null,candidates:Gl(o.candidates),decision:(a=n.decision,mt(a)?je(a):null),intent:o.imageIntent==="insert"||o.imageIntent==="attach"||o.intentMode==="insert"||o.intentMode==="attach"?o.imageIntent||o.intentMode:"replace"}}}var a;return i==="modify"?{type:"easy_email_result",payload:{valid:!!e.template,errors:e.template?[]:["template is required for modify intent"],template:e.template||null,summary:typeof e.summary=="string"?e.summary:null}}:{type:"easy_email_answer",payload:{answer:t.trim()||"OK."}}}function nh(t){const e=Fl(t);return e.type!=="easy_email_answer"?e:{type:"decision_request",payload:je({id:"action-follow-up",kind:"missing_detail",title:"Choose the change",message:e.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 ih(t){return t==="ask"?Wp:t==="reference_rewrite"?Xp:Kp}function jl(t){return t.map(e=>{if(!mt(e))return e;const r=q({},e),n=Se(r.target);return r.target=n,Object.keys(r).forEach(i=>{r[i]===null&&delete r[i]}),r})}function zl(t){try{const e=JSON.parse(t);return Array.isArray(e)?jl(e):[]}catch{return[]}}function qi(t,e){return{type:"easy_email_retry",payload:{reason:t,previousOutput:e}}}function ah(t){if(!mt(t))return!1;const e=typeof t.value=="string"?t.value.trim():"";if(!e)return!1;switch(t.type){case"hex":return/^#[0-9a-f]{6}$/i.test(e);case"url":try{const r=new URL(e);return r.protocol==="http:"||r.protocol==="https:"}catch{return!1}case"node_id":case"text":case"asset":case"choice":return!0;default:return!1}}function sh(t){var e;const r=Se(t.target);switch(t.type){case"update_attribute":return{name:"update_attribute",target:r,key:t.key,value:t.value};case"update_attributes":return{name:"update_attributes",target:r,scope:t.scope||"desktop",attributes:t.attributes||{}};case"update_text":return{name:"update_text",target:r,text:(e=t.text)!=null?e:t.value};case"insert_node":return{name:"add_block_after",target:Se(t.parentTarget||t.target),block:t.block};case"remove_node":return{name:"delete_node",target:r};case"move_node":return{name:"move_down",target:r};default:return null}}function oh(t,e){return Lt(this,null,function*(){const r=JSON.parse(Ii(t)),n=mt(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(mt(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 Vl(a,e)}],fallbackTemplate:null}};const o=typeof n.toolCallsJson=="string"?zl(n.toolCallsJson):[];if(o.length)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:yield Mi(o,e),fallbackTemplate:null}};if(typeof n.templateJson=="string")throw new Error("Reference rewrite templateJson was not parseable JSON");return{type:"easy_email_answer",payload:{answer:t.trim()||"OK."}}})}function Pi(t,e){if(!mt(t))return null;if(typeof t.type=="string"&&e(t))return t;const r=t.children;if(!Array.isArray(r))return null;for(const n of r){const i=Pi(n,e);if(i)return i}return null}function Hl(t,e){if(!mt(t))return 0;let r=t.type===e?1:0;const n=t.children;if(Array.isArray(n))for(const i of n)r+=Hl(i,e);return r}function lh(t,e,r){var n;const i=Se(t);if(!i)return!1;const a=function(o){return mt(o)&&"content"in o?o.content:o}(e);if("selected"in i)return!!r?.selected;if("id"in i)return!!Pi(a,o=>o.id===i.id);if("uid"in i)return!!Pi(a,o=>o.uid===i.uid);if("type"in i){const o=(n=i.index)!=null?n:0;return Hl(a,i.type)>o}return!1}function Vl(t,e){return Lt(this,null,function*(){return mt(t)?mt(t.content)?yield Ml(t):t.type!=="page"?t:yield Ml(mt(e)?X(q({},e),{content:t}):{content:t}):t})}function Mi(t,e){return Lt(this,null,function*(){return yield Promise.all(t.map(r=>Lt(null,null,function*(){return mt(r)&&r.name==="apply_template"?X(q({},r),{template:yield Vl(r.template,e)}):r})))})}function $l(t){return Lt(this,null,function*(){var e;if(!mt(t)||t.name!=="apply_template")return"apply_template tool call is required";if(!function(n){if(!mt(n))return null;const i=mt(n.content)?n.content:n;return i.type==="page"&&Array.isArray(i.children)?i.children.length===0?null:i:null}(t.template))return"apply_template.template must include a non-empty page content element";const r=yield Gp(t.template);return r.valid?null:((e=r.errors[0])==null?void 0:e.message)||"apply_template.template is not a valid Easy Email template"})}function je(t){const e=Gl(t.choices).slice(0,6);return{id:typeof t.id=="string"&&t.id.trim()?t.id.trim():`decision-${Date.now()}`,kind:t.kind==="target_block"||t.kind==="missing_detail"?t.kind:"style_direction",title:typeof t.title=="string"&&t.title.trim()?t.title.trim():"Choose an option",message:typeof t.message=="string"&&t.message.trim()?t.message.trim():"Please provide the missing detail.",choices:e,allowCustom:t.allowCustom!==!1,required:!!t.required}}function uh(t){var e;const r=(e=t.candidates)!=null&&e.length?t.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:t.summary||"Which image block should use the generated image?",choices:r,allowCustom:!1,required:!1}}function ch(t){const e=/[\u3400-\u9fff]/.test(t.userPrompt),r=t.missingTargets.slice(0,4).join(", ");return{id:`missing-target-${Date.now()}`,kind:"missing_detail",title:e?"\u9700\u8981\u786E\u8BA4\u4FEE\u6539\u4F4D\u7F6E":"Confirm edit target",message:e?`\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 Gl(t){return Array.isArray(t)?t.map((e,r)=>{if(!e||typeof e!="object")return null;const n=e,i=Se(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 Se(t){if(!t||typeof t!="object")return null;const e=t;if(e.selected===!0)return{selected:!0};const r=Ui(e.id);if(r)return{id:r};const n=Ui(e.uid);if(n)return{uid:n};const i=Ui(e.type);if(i){const a={type:i};return typeof e.index=="number"&&Number.isFinite(e.index)&&e.index>=0&&(a.index=Math.floor(e.index)),a}return null}function Ui(t){if(typeof t!="string")return null;const e=t.trim();return!e||e==="..."||/^<.*>$/.test(e)?null:e}function Wl(t){return t==="1024x1024"||t==="1536x1024"||t==="1024x1536"||t==="auto"?t:"auto"}function Kl(t){if(typeof t=="number"&&Number.isFinite(t)&&t>0)return t;if(typeof t!="string")return null;const e=t.trim().match(/^(\d+(?:\.\d+)?)/);if(!e)return null;const r=Number.parseFloat(e[1]);return Number.isFinite(r)&&r>0?r:null}function Fi(t,e){const r=t/e;return r>=1.18?"1536x1024":r<=.85?"1024x1536":"1024x1024"}function mt(t){return!!(t&&typeof t=="object"&&!Array.isArray(t))}function Xl(t,e){if(!e||!mt(t))return null;if(function(n,i){return!!i&&(i.id&&n.id===i.id||i.uid&&n.uid===i.uid)}(t,e))return t;const r=t.children;if(!Array.isArray(r))return null;for(const n of r){const i=Xl(n,e);if(i)return i}return null}function ji(t){var e,r;if(!t)return null;const n=Kl((e=t.width)!=null?e:t["image-width"]),i=Kl((r=t.height)!=null?r:t["image-height"]);return n&&i?{width:n,height:i}:null}function dh(t){var e;if(t.requestedSize!=="auto")return t.requestedSize;const r=(e=t.editorContext)==null?void 0:e.selected,n=zi(t.editorContext,t.target);if(n?.width&&n.height)return Fi(n.width,n.height);const i=r?.layout;if(i?.width&&i.height)return Fi(i.width,i.height);const a=function(o){if(!o)return null;const s=ji(o);return s||ji(mt(o.attributes)?o.attributes:null)||ji(mt(o.data)?o.data:null)}(Xl(t.template,r)||(r?{attributes:r.attributes,data:r.data}:null));return a?Fi(a.width,a.height):"auto"}function zi(t,e){var r;const n=t?.images;if(!e||!Array.isArray(n))return null;const i=t?.selected;if("id"in e)return n.find(a=>a.id===e.id)||null;if("uid"in e)return n.find(a=>a.uid===e.uid)||null;if("type"in e){const a=(r=e.index)!=null?r:0;return n.filter(o=>o.type===e.type)[a]||null}return"selected"in e&&i&&n.find(a=>i.id&&a.id===i.id||i.uid&&a.uid===i.uid)||null}function Jl(t,e){const r=zi(t,e);return r?.src?{id:r.id||r.uid,name:r.title||"selected-image",mimeType:"image/png",url:r.src}:null}function ph(t,e){return Ul([...Jl(t.body.editorContext,e)?[Jl(t.body.editorContext,e)]:[],...t.images]).slice(0,6)}function Ct(t){return typeof t=="number"&&Number.isFinite(t)?t:void 0}function Yl(t){if(typeof t.output_text=="string")return t.output_text;const e=[];if(Array.isArray(t.output))for(const r of t.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"&&e.push(a)}}return e.join("")}function hh(t,e,r){const n=function(a){const o=a.intent==="ask",s=a.intent==="action",l=a.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.","",...o?["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.",""]:[],...s?["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 an operation plan. Prefer mode=act with concrete operations. Use the current template, editor context, reference images, and conversation history to make the best reasonable edit.",'For action planning, use {"language":"<latest-user-message-language>","mode":"act","summary":"Completed-change summary in the same language as the latest user message","confidence":"high","assumptions":[],"operations":[{"type":"update_attribute","target":{"selected":null,"id":"real-id-from-template","uid":null,"type":null,"index":null},"key":"background-color","value":"#e94b9a","text":null,"attributes":null,"prompt":null,"size":null,"sourceUrl":null,"referenceImages":[],"imageIntent":null,"position":null,"parentTarget":null,"block":null}],"clarification":null}.',"For each operation, set unused fields to null and set unused referenceImages to [].",'For text replacement, use an update_text operation: {"type":"update_text","target":{"selected":true,"id":null,"uid":null,"type":null,"index":null},"key":null,"value":null,"text":"New exact text","attributes":null,"prompt":null,"size":null,"sourceUrl":null,"referenceImages":[],"imageIntent":null,"position":null,"parentTarget":null,"block":null}.','For requests that change both text and style, return multiple operations, for example update_text plus update_attribute with key="font-size" and value="42px".','Use mode=clarify only when a concrete required field is missing. Return {"language":"<latest-user-message-language>","mode":"clarify","summary":null,"confidence":"low","assumptions":[],"operations":[],"clarification":{"missingField":"exact_color_hex","question":"Short question in the same language as the latest user message","options":[{"label":"#E94B9A","value":"#E94B9A","type":"hex"}],"reason":"Short concrete reason"}}.',`Allowed clarification missingField values: ${Ci.join(", ")}.`,'Clarification options must be concrete typed values. For type=hex, value must be a hex color such as "#E94B9A"; for type=url, value must be a URL; for type=node_id, value must be a real node id from the template; for type=text, value must be the exact text. Do not use abstract style directions as action clarification options.',"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.",""]:[],...l?["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.",""]:[],...o?["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}}',""]:[],...l||o?[]:["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.",""],...o?[]:["If the latest user message asks to generate, create, design, redraw, restyle, edit, modify, retouch, or transform an image asset, return mode=act with an image operation such as edit_image or generate_image.",'For selected image edits, use an operation like {"type":"edit_image","target":{"selected":true,"id":null,"uid":null,"type":null,"index":null},"key":null,"value":null,"text":null,"attributes":null,"prompt":"Detailed image edit prompt for the image model.","size":"auto","sourceUrl":null,"referenceImages":[],"imageIntent":"replace","position":null,"parentTarget":null,"block":null}.',"Selection priority: when Current editor selection context selected is an image asset and the user is asking about the current/selected/this image, or describes changing that image's visual appearance, tone, color, style, subject, composition, or brand fit, include an edit_image operation for the selected image. Do not satisfy a selected-image visual edit by only changing template/button/background/theme colors.",'When the user names the selected image as the subject of the change, e.g. "this image", "current image", "\u5F53\u524D\u7684\u56FE\u7247", or "\u8FD9\u5F20\u56FE", the change applies to the image asset itself even if they also mention brand/theme/color match. Use an edit_image operation.',"If the user asks to change the whole email theme, page, buttons, accents, text styles, or non-image blocks, choose tool_calls instead.","Use edit_image when uploaded/reference images are provided and the user asks to modify or transform them. Use generate_image 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.","For broad theme requests such as changing to a named color theme, pick reasonable color values, list that choice in assumptions, and return mode=act with concrete update_attribute operations. The user can iterate after the edit.","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(a.editorContext||null,null,2),"","Recent conversation history:",JSON.stringify(Yp(a.history),null,2),"","User decision response, if any:",JSON.stringify(a.decisionResponse||null,null,2),"","Current template JSON:",JSON.stringify(a.template||null,null,2),"","Latest user message:",a.userPrompt].join(`
|
|
111
111
|
`)}({userPrompt:t.text,template:t.body.template,editorContext:t.body.editorContext,history:t.body.history,decisionResponse:t.body.decisionResponse,intent:e}),i=[{type:"input_text",text:r?[n,"","Previous action plan was rejected by runtime validation:",r.reason,"","Rejected model output:",r.previousOutput,"","Return a corrected action plan. Prefer mode=act with concrete operations and reasonable assumptions. Use mode=clarify only when a concrete required missingField is missing."].join(`
|
|
112
|
-
`):n}];return t.images.forEach(a=>{const o=a.dataUrl||a.url;o&&i.push({type:"input_image",image_url:o})}),{input:[{role:"user",content:i}],text:{format:ih(e)},max_output_tokens:e==="reference_rewrite"?16e3:4096,stream:!1,store:!1}}function _h(t){return Lt(this,null,function*(){var e;const{session:r,intent:n}=t,i=t.payload||{};if(i.status==="incomplete"||((e=i.incomplete_details)==null?void 0:e.reason)==="max_output_tokens")throw new Error("AI response was truncated before template rewrite completed");const a=Yl(i),o=function(c,y="unknown"){var x,E,v,w,b,u,m,k,S,d,g,
|
|
112
|
+
`):n}];return t.images.forEach(a=>{const o=a.dataUrl||a.url;o&&i.push({type:"input_image",image_url:o})}),{input:[{role:"user",content:i}],text:{format:ih(e)},max_output_tokens:e==="reference_rewrite"?16e3:4096,stream:!1,store:!1}}function _h(t){return Lt(this,null,function*(){var e;const{session:r,intent:n}=t,i=t.payload||{};if(i.status==="incomplete"||((e=i.incomplete_details)==null?void 0:e.reason)==="max_output_tokens")throw new Error("AI response was truncated before template rewrite completed");const a=Yl(i),o=function(c,y="unknown"){var x,E,v,w,b,u,m,k,S,d,g,p;if(!c||typeof c!="object")return null;const _=c,h=_.input_tokens_details||_.inputTokenDetails||{},T=_.output_tokens_details||_.outputTokenDetails||{},f=(E=(x=Ct(_.input_tokens))!=null?x:Ct(_.inputTokens))!=null?E:Ct(_.prompt_tokens),R=(w=(v=Ct(_.output_tokens))!=null?v:Ct(_.outputTokens))!=null?w:Ct(_.completion_tokens),C=(u=(b=Ct(_.total_tokens))!=null?b:Ct(_.totalTokens))!=null?u:f!==void 0&&R!==void 0?f+R:void 0,I=(S=(k=(m=Ct(_.cached_input_tokens))!=null?m:Ct(_.cachedInputTokens))!=null?k:Ct(h.cached_tokens))!=null?S:Ct(h.cachedTokens),D=(p=(g=(d=Ct(_.reasoning_tokens))!=null?d:Ct(_.reasoningTokens))!=null?g:Ct(T.reasoning_tokens))!=null?p:Ct(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,t.model),s=[];o&&s.push({type:"usage",payload:o});let l=n==="reference_rewrite"?yield oh(a,r.body.template):n==="action"?nh(a):Fl(a);if(n==="action"){const c=function(y){const x=zi(y.body.editorContext,{selected:!0});if(!x)return null;const E=function(m){const k=m.match(/https?:\/\/[^\s"'<>),]+/i);return k?k[0].replace(/[.,;:!?]+$/,""):null}(y.text);if(!E)return null;const v=y.text.toLowerCase(),w=/\b(src|source|image\s+url|image\s+src|url)\b/i.test(y.text)||/(图片|图像|照片).{0,16}(链接|地址|url|src)/i.test(y.text),b=/\b(set|replace|change|update|use|apply)\b/i.test(y.text)||/(设置|替换|更换|修改|更新|使用)/.test(v);if(!w||!b)return null;const u=x.attributeKey||(x.source==="background"?"background-url":"src");return{type:"easy_email_tool_calls",payload:{summary:/[\u3400-\u9fff]/.test(y.text)?"\u5DF2\u66F4\u65B0\u9009\u4E2D\u56FE\u7247\u7684 URL\u3002":"Updated the selected image URL.",toolCalls:[{name:"update_attribute",target:{selected:!0},key:u,value:E}],fallbackTemplate:null}}}(r);c&&(l=c)}if(l.type==="easy_email_retry")return{events:s,retry:{reason:l.payload.reason,previousOutput:l.payload.previousOutput}};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 Mi(l.payload.toolCalls,r.body.template),y=yield function(x){return Lt(this,null,function*(){if(x.length!==1)return"reference rewrite must return exactly one apply_template call";const E=x[0];return yield $l(E)})}(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 Mi(l.payload.toolCalls,r.body.template),y=yield function(E){return Lt(this,null,function*(){for(const v of E){if(!mt(v)||v.name!=="apply_template")continue;const w=yield $l(v);if(w)return w}return null})}(c);if(y)throw new Error(y);const x=function(E,v,w){const b=[];for(const m of E)mt(m)?m.name!=="apply_template"&&(lh(m.target,v,w)||b.push(mt(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(x.length)return s.push({type:"decision_request",payload:ch({userPrompt:r.text,missingTargets:x})}),{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||uh({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:dh({requestedSize:l.payload.size,editorContext:r.body.editorContext,template:r.body.template,target:l.payload.target}),images:ph(r,l.payload.target)},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 fh(t){const{imageStep:e,image:r}=t;return{type:"image_result",payload:{summary:e.resultPayload.summary,images:[{id:r.id,name:r.name,mimeType:r.mimeType,dataUrl:r.dataUrl,url:r.url}],target:e.resultPayload.target,confidence:e.resultPayload.confidence,candidates:e.resultPayload.candidates,intent:e.resultPayload.intent,revisedPrompt:r.revisedPrompt||null,model:r.model,size:r.size}}}Gt.registerPlugins([_l,vl]);export{Nl as AI_AGENT_FEATURE,K as BasicType,tt as BlockManager,Ya as CONTENT_EDITABLE_CLASSNAME,qe as ConditionOperator,So as ConditionOperatorSymbol,Xt as EditorAuth,Be as EditorCore,Pt as ElementAllowAttributes,z as ElementCategory,js as ElementPlugin,L as ElementType,Yt as EmailRenderProvider,fl as HIDE_DESKTOP_BLOCK_CLASS_NAME,ml as HIDE_DESKTOP_INLINE_BLOCK_CLASS_NAME,gl as HIDE_MOBILE_BLOCK_CLASS_NAME,bl as HIDE_MOBILE_INLINE_BLOCK_CLASS_NAME,Mn as HTML_BLOCK_NODE_TAGS,Qa as HTML_NODE_VOID_TAGS,ar as HtmlNodeAdapter,In as I18nManager,Ja as LogicType,et as NodeUtils,Ju as PageTestingCss,ci as ParentElementProvider,Gt as PluginManager,Fs as PluginType,vl as Responsive,kr as ResponsivePlugin,Pn as SLATE_CODE_BLOCK_CLASSNAME,qn as SLATE_NODE_PLACEHOLDER_CLASSNAME,st as StandardType,_l as TemplateEngine,Ar as TemplateEnginePlugin,Rl as assertAiAgentFeatureEnabled,Do as blockMap,Mp as canAutoReplaceImageTarget,qr as canReplaceTargetImage,jp as choiceImageAttributeKey,ge as classnames,Ku as components,Au as createBlock,Tu as createCustomBlock,th as createEasyEmailAgentSession,fh as createEasyEmailImageResultEvent,eh as createEasyEmailIntentRequest,hh as createEasyEmailPlannerRequest,Mt as deleteNoAllowKey,Rp as easyEmailToEasyEmailPro,xl as formateBasicBlockAttribute,Cp as freezeSelectedTargets,wl as getAdapterAttributesString,Il as imageChoiceDescription,Up as imageDecisionChoices,Pp as imageReplacementTarget,Fp as imageTargetAttributeKey,Bl as isHighConfidenceImageTarget,Oi as isSelectedTarget,ad as keyGenerate,Y as mergeBlock,nd as mergeTagGenerate,Ir as missingInitialSelectionTarget,Op as mjmlToJsonCore,Bp as normalizeToolCallsPayload,Bi as parseEasyEmailAiStream,rh as parseEasyEmailIntentResponse,Li as parseEasyEmailSseMessage,Ol as readEasyEmailAiError,Ip as resolveAiChatResult,_h as resolveEasyEmailAgentTextResponse,qp as selectedTargetFromContext,Q as t,Cl as targetsSameBlock,Lp as useContainerWidth,Un as useEmailGlobalContext,tr as useEmailRenderContext,ui as useParentElementContext,id as variableGenerate};
|