PageSourceSearch

https://typeshare.co/_next/static/immutable/chunks/0mu0ik8q637e9.js

js typeshare.co collected 2026-09-25 19:40:15 UTC 265,759 bytes, 221 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,178502,(e,r,n)=>{r.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},50378,(e,r,n)=>{var a=e.r(178502);r.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},24528,(e,r,n)=>{r.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},356329,(e,r,n)=>{var a=e.r(24528);r.exports=function(e){return Object(a(e))}},250040,(e,r,n)=>{var a=Math.ceil,o=Math.floor;r.exports=function(e){return isNaN(e*=1)?0:(e>0?o:a)(e)}},199165,(e,r,n)=>{var a=e.r(250040),o=Math.min;r.exports=function(e){return e>0?o(a(e),0x1fffffffffffff):0}},765216,(e,r,n)=>{var a=e.r(250040),o=e.r(24528);r.exports=function(e){return function(r,n){var i,u,c=String(o(r)),s=a(n),d=c.length;return s<0||s>=d?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===d||(u=c.charCodeAt(s+1))<56320||u>57343?e?c.charAt(s):i:e?c.slice(s,s+2):(i-55296<<10)+(u-56320)+65536}}},280490,(e,r,n)=>{"use strict";var a=e.r(765216)(!0);r.exports=function(e,r,n){return r+(n?a(e,r).length:1)}},883460,(e,r,n)=>{var a={}.toString;r.exports=function(e){return a.call(e).slice(8,-1)}},151328,(e,r,n)=>{var a=r.exports={version:"2.6.12"};"number"==typeof __e&&(__e=a)},685490,(e,r,n)=>{var a=r.exports="u">typeof window&&window.Math==Math?window:"u">typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)},678799,(e,r,n)=>{r.exports=!1},296803,(e,r,n)=>{var a=e.r(151328),o=e.r(685490),i="__core-js_shared__",u=o[i]||(o[i]={});(r.exports=function(e,r){return u[e]||(u[e]=void 0!==r?r:{})})("versions",[]).push({version:a.version,mode:e.r(678799)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},398068,(e,r,n)=>{var a=0,o=Math.random();r.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++a+o).toString(36))}},245548,(e,r,n)=>{var a=e.r(296803)("wks"),o=e.r(398068),i=e.r(685490).Symbol,u="function"==typeof i;(r.exports=function(e){return a[e]||(a[e]=u&&i[e]||(u?i:o)("Symbol."+e))}).store=a},484469,(e,r,n)=>{var a=e.r(883460),o=e.r(245548)("toStringTag"),i="Arguments"==a(function(){return arguments}()),u=function(e,r){try{return e[r]}catch(e){}};r.exports=function(e){var r,n,c;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(r=Object(e),o))?n:i?a(r):"Object"==(c=a(r))&&"function"==typeof r.callee?"Arguments":c}},496597,(e,r,n)=>{"use strict";var a=e.r(484469),o=RegExp.prototype.exec;r.exports=function(e,r){var n=e.exec;if("function"==typeof n){var i=n.call(e,r);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==a(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,r)}},484446,(e,r,n)=>{"use strict";var a=e.r(50378);r.exports=function(){var e=a(this),r="";return e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.unicode&&(r+="u"),e.sticky&&(r+="y"),r}},336678,(e,r,n)=>{"use strict";var a,o,i=e.r(484446),u=RegExp.prototype.exec,c=String.prototype.replace,s=u,d="lastIndex",l=(a=/a/,o=/b*/g,u.call(a,"a"),u.call(o,"a"),0!==a[d]||0!==o[d]),f=void 0!==/()??/.exec("")[1];(l||f)&&(s=function(e){var r,n,a,o;return f&&(n=RegExp("^"+this.source+"$(?!\\s)",i.call(this))),l&&(r=this[d]),a=u.call(this,e),l&&a&&(this[d]=this.global?a.index+a[0].length:r),f&&a&&a.length>1&&c.call(a[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a}),r.exports=s},403727,(e,r,n)=>{r.exports=function(e){try{return!!e()}catch(e){return!0}}},803638,(e,r,n)=>{r.exports=!e.r(403727)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},624941,(e,r,n)=>{var a=e.r(178502),o=e.r(685490).document,i=a(o)&&a(o.createElement);r.exports=function(e){return i?o.createElement(e):{}}},587157,(e,r,n)=>{r.exports=!e.r(803638)&&!e.r(403727)(function(){return 7!=Object.defineProperty(e.r(624941)("div"),"a",{get:function(){return 7}}).a})},715626,(e,r,n)=>{var a=e.r(178502);r.exports=function(e,r){var n,o;if(!a(e))return e;if(r&&"function"==typeof(n=e.toString)&&!a(o=n.call(e))||"function"==typeof(n=e.valueOf)&&!a(o=n.call(e))||!r&&"function"==typeof(n=e.toString)&&!a(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},920916,(e,r,n)=>{var a=e.r(50378),o=e.r(587157),i=e.r(715626),u=Object.defineProperty;n.f=e.r(803638)?Object.defineProperty:function(e,r,n){if(a(e),r=i(r,!0),a(n),o)try{return u(e,r,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[r]=n.value),e}},309763,(e,r,n)=>{r.exports=function(e,r){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:r}}},473207,(e,r,n)=>{var a=e.r(920916),o=e.r(309763);r.exports=e.r(803638)?function(e,r,n){return a.f(e,r,o(1,n))}:function(e,r,n){return e[r]=n,e}},843444,(e,r,n)=>{var a={}.hasOwnProperty;
1r.exports=function(e,r){return a.call(e,r)}},39789,(e,r,n)=>{r.exports=e.r(296803)("native-function-to-string",Function.toString)},195897,(e,r,n)=>{var a=e.r(685490),o=e.r(473207),i=e.r(843444),u=e.r(398068)("src"),c=e.r(39789),s="toString",d=(""+c).split(s);e.r(151328).inspectSource=function(e){return c.call(e)},(r.exports=function(e,r,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",r)),e[r]!==n&&(s&&(i(n,u)||o(n,u,e[r]?""+e[r]:d.join(String(r)))),e===a?e[r]=n:c?e[r]?e[r]=n:o(e,r,n):(delete e[r],o(e,r,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[u]||c.call(this)})},207557,(e,r,n)=>{r.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},934633,(e,r,n)=>{var a=e.r(207557);r.exports=function(e,r,n){if(a(e),void 0===r)return e;switch(n){case 1:return function(n){return e.call(r,n)};case 2:return function(n,a){return e.call(r,n,a)};case 3:return function(n,a,o){return e.call(r,n,a,o)}}return function(){return e.apply(r,arguments)}}},180316,(e,r,n)=>{var a=e.r(685490),o=e.r(151328),i=e.r(473207),u=e.r(195897),c=e.r(934633),s="prototype",d=function(e,r,n){var l,f,p,h,g=e&d.F,y=e&d.G,m=e&d.S,b=e&d.P,v=e&d.B,w=y?a:m?a[r]||(a[r]={}):(a[r]||{})[s],x=y?o:o[r]||(o[r]={}),k=x[s]||(x[s]={});for(l in y&&(n=r),n)p=((f=!g&&w&&void 0!==w[l])?w:n)[l],h=v&&f?c(p,a):b&&"function"==typeof p?c(Function.call,p):p,w&&u(w,l,p,e&d.U),x[l]!=p&&i(x,l,h),b&&k[l]!=p&&(k[l]=p)};a.core=o,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,r.exports=d},413019,(e,r,n)=>{"use strict";var a=e.r(336678);e.r(180316)({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},952095,(e,r,n)=>{"use strict";e.r(413019);var a,o,i,u=e.r(195897),c=e.r(473207),s=e.r(403727),d=e.r(24528),l=e.r(245548),f=e.r(336678),p=l("species"),h=!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),g=(o=(a=/(?:)/).exec,a.exec=function(){return o.apply(this,arguments)},2===(i="ab".split(a)).length&&"a"===i[0]&&"b"===i[1]);r.exports=function(e,r,n){var a=l(e),o=!s(function(){var r={};return r[a]=function(){return 7},7!=""[e](r)}),i=o?!s(function(){var r=!1,n=/a/;return n.exec=function(){return r=!0,null},"split"===e&&(n.constructor={},n.constructor[p]=function(){return n}),n[a](""),!r}):void 0;if(!o||!i||"replace"===e&&!h||"split"===e&&!g){var y=/./[a],m=n(d,a,""[e],function(e,r,n,a,i){return r.exec===f?o&&!i?{done:!0,value:y.call(r,n,a)}:{done:!0,value:e.call(n,r,a)}:{done:!1}}),b=m[0],v=m[1];u(String.prototype,e,b),c(RegExp.prototype,a,2==r?function(e,r){return v.call(e,this,r)}:function(e){return v.call(e,this)})}}},952096,(e,r,n)=>{"use strict";var a=e.r(50378),o=e.r(356329),i=e.r(199165),u=e.r(250040),c=e.r(280490),s=e.r(496597),d=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;e.r(952095)("replace",2,function(e,r,n,g){return[function(a,o){var i=e(this),u=void 0==a?void 0:a[r];return void 0!==u?u.call(a,i,o):n.call(String(i),a,o)},function(e,r){var y=g(n,e,this,r);if(y.done)return y.value;var m=a(e),b=String(this),v="function"==typeof r;v||(r=String(r));var w=m.global;if(w){var x=m.unicode;m.lastIndex=0}for(var k=[];;){var A=s(m,b);if(null===A||(k.push(A),!w))break;""===String(A[0])&&(m.lastIndex=c(b,i(m.lastIndex),x))}for(var S="",E=0,j=0;j<k.length;j++){for(var _,P=String((A=k[j])[0]),C=d(l(u(A.index),b.length),0),U=[],T=1;T<A.length;T++)U.push(void 0===(_=A[T])?_:String(_));var O=A.groups;if(v){var F=[P].concat(U,C,b);void 0!==O&&F.push(O);var M=String(r.apply(void 0,F))}else M=function(e,r,a,i,u,c){var s=a+e.length,d=i.length,l=h;return void 0!==u&&(u=o(u),l=p),n.call(c,l,function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,a);case"'":return r.slice(s);case"<":c=u[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>d){var p=f(l/10);if(0===p)return n;if(p<=d)return void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1);return n}c=i[l-1]}return void 0===c?"":c})}(P,b,C,U,O,r);C>=E&&(S+=b.slice(E,C)+M,E=C+P.length)}return S+b.slice(E)}]})},508097,(e,r,n)=>{var a=e.r(883460);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},934418,(e,r,n)=>{var a=e.r(508097),o=e.r(24528);r.exports=function(e){return a(o(e))}},188633,(e,r,n)=>{var a=e.r(250040),o=Math.max,i=Math.min;r.exports=function(e,r){return(e=a(e))<0?o(e+r,0):i(e,r)}},531512,(e,r,n)=>
1{var a=e.r(934418),o=e.r(199165),i=e.r(188633);r.exports=function(e){return function(r,n,u){var c,s=a(r),d=o(s.length),l=i(u,d);if(e&&n!=n){for(;d>l;)if((c=s[l++])!=c)return!0}else for(;d>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},878401,(e,r,n)=>{"use strict";var a=e.r(403727);r.exports=function(e,r){return!!e&&a(function(){r?e.call(null,function(){},1):e.call(null)})}},533326,(e,r,n)=>{"use strict";var a=e.r(180316),o=e.r(531512)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;a(a.P+a.F*(u||!e.r(878401)(i)),"Array",{indexOf:function(e){return u?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},126513,(e,r,n)=>{n.f=({}).propertyIsEnumerable},836158,(e,r,n)=>{var a=e.r(126513),o=e.r(309763),i=e.r(934418),u=e.r(715626),c=e.r(843444),s=e.r(587157),d=Object.getOwnPropertyDescriptor;n.f=e.r(803638)?d:function(e,r){if(e=i(e),r=u(r,!0),s)try{return d(e,r)}catch(e){}if(c(e,r))return o(!a.f.call(e,r),e[r])}},651182,(e,r,n)=>{var a=e.r(178502),o=e.r(50378),i=function(e,r){if(o(e),!a(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};r.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(r,n,a){try{(a=e.r(934633)(Function.call,e.r(836158).f(Object.prototype,"__proto__").set,2))(r,[]),n=!(r instanceof Array)}catch(e){n=!0}return function(e,r){return i(e,r),n?e.__proto__=r:a(e,r),e}}({},!1):void 0),check:i}},227402,(e,r,n)=>{var a=e.r(178502),o=e.r(651182).set;r.exports=function(e,r,n){var i,u=r.constructor;return u!==n&&"function"==typeof u&&(i=u.prototype)!==n.prototype&&a(i)&&o&&o(e,i),e}},460605,(e,r,n)=>{var a=e.r(296803)("keys"),o=e.r(398068);r.exports=function(e){return a[e]||(a[e]=o(e))}},437474,(e,r,n)=>{var a=e.r(843444),o=e.r(934418),i=e.r(531512)(!1),u=e.r(460605)("IE_PROTO");r.exports=function(e,r){var n,c=o(e),s=0,d=[];for(n in c)n!=u&&a(c,n)&&d.push(n);for(;r.length>s;)a(c,n=r[s++])&&(~i(d,n)||d.push(n));return d}},594613,(e,r,n)=>{r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},839877,(e,r,n)=>{var a=e.r(437474),o=e.r(594613).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return a(e,o)}},527113,(e,r,n)=>{var a=e.r(178502),o=e.r(883460),i=e.r(245548)("match");r.exports=function(e){var r;return a(e)&&(void 0!==(r=e[i])?!!r:"RegExp"==o(e))}},2456,(e,r,n)=>{"use strict";var a=e.r(685490),o=e.r(920916),i=e.r(803638),u=e.r(245548)("species");r.exports=function(e){var r=a[e];i&&r&&!r[u]&&o.f(r,u,{configurable:!0,get:function(){return this}})}},482644,(e,r,n)=>{var a=e.r(685490),o=e.r(227402),i=e.r(920916).f,u=e.r(839877).f,c=e.r(527113),s=e.r(484446),d=a.RegExp,l=d,f=d.prototype,p=/a/g,h=/a/g,g=new d(p)!==p;if(e.r(803638)&&(!g||e.r(403727)(function(){return h[e.r(245548)("match")]=!1,d(p)!=p||d(h)==h||"/a/i"!=d(p,"i")}))){d=function(e,r){var n=this instanceof d,a=c(e),i=void 0===r;return!n&&a&&e.constructor===d&&i?e:o(g?new l(a&&!i?e.source:e,r):l((a=e instanceof d)?e.source:e,a&&i?s.call(e):r),n?this:f,d)};for(var y=function(e){e in d||i(d,e,{configurable:!0,get:function(){return l[e]},set:function(r){l[e]=r}})},m=u(l),b=0;m.length>b;)y(m[b++]);f.constructor=d,d.prototype=f,e.r(195897)(a,"RegExp",d)}e.r(2456)("RegExp")},973667,(e,r,n)=>{"use strict";var a=e.r(50378),o=e.r(199165),i=e.r(280490),u=e.r(496597);e.r(952095)("match",1,function(e,r,n,c){return[function(n){var a=e(this),o=void 0==n?void 0:n[r];return void 0!==o?o.call(n,a):new RegExp(n)[r](String(a))},function(e){var r,s=c(n,e,this);if(s.done)return s.value;var d=a(e),l=String(this);if(!d.global)return u(d,l);var f=d.unicode;d.lastIndex=0;for(var p=[],h=0;null!==(r=u(d,l));){var g=String(r[0]);p[h]=g,""===g&&(d.lastIndex=i(l,o(d.lastIndex),f)),h++}return 0===h?null:p}]})},672761,(e,r,n)=>{var a=e.r(50378),o=e.r(207557),i=e.r(245548)("species");r.exports=function(e,r){var n,u=a(e).constructor;return void 0===u||void 0==(n=a(u)[i])?r:o(n)}},703002,(e,r,n)=>{"use strict";var a=e.r(527113),o=e.r(50378),i=e.r(672761),u=e.r(280490),c=e.r(199165),s=e.r(496597),d=e.r(336678),l=e.r(403727),f=Math.min,p=[].push,h="split",g="length",y="lastIndex",m=!l(function(){RegExp(0xffffffff,"y")});e.r(952095)("split",2,function(e,r,n,l){var b;return b="c"=="abbc"[h](/(b)*/)[1]||4!="test"[h](/(?:)/,-1)[g]||2!="ab"[h](/(?:ab)*/)[g]||4!="."[h](/(.?)(.?)/)[g]||"."[h](/()()/)[g]>1||""[h](/.?/)[g]?function(e,r){var o,i,u,c=String(this);if(void 0===e&&0===r)return[];if(!a(e))return n.call(c,e,r);for(var s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===r?0xffffffff:r>>>0,m=RegExp(e.source,l+"g");(o=d.call(m,c))&&(!((i=m[y])>f)||(s.push(c.slice(f,o.index)),o[g]>1&&o.index<c[g]&&p.apply(s,o.slice(1)),u=o[0][g],f=i,!(s[g]>=h)));)m[y]===o.index&&m[y]++;return f===c[g]?(u||!m.test(""))&&s.push(""):s.push(c.slice(f)),s[g]>h?s.slice(0,h):s}:"0"[h](void 0,0)[g]?function(e,r){return void 0===e&&0===r?[]:n.call(this,e,r)}:n,[function(n,a){var o=e(this),i=void 0==n?void 0:n[r];return void 0!==i?i.call(n,o,a):b.call(String(o),n,a)},function(e,r){var a=l(b,e,this,r,b!==n);if(a.done)return a.value;var d=o(e),p=String(this),h=i(d,RegExp),g=d.unicode,y=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new h(m?d:"^(?:"+d.source+")",y),w=void 0===r?0xffffffff:r>>>0;if(0===w)return[];if(0===p.length)return null===s(v,p)?[p]:[];for(var x=0,k=0,A=[];k<p.length;){v.lastIndex=m?k:0;var S,E=s(v,m?p:p.slice(k));if(null===E||(S=f(c(v.lastIndex+(m?0:k)),p.length))===x)k=u(p,k,g);
1else{if(A.push(p.slice(x,k)),A.length===w)return A;for(var j=1;j<=E.length-1;j++)if(A.push(E[j]),A.length===w)return A;k=x=S}}return A.push(p.slice(x)),A}]})},229010,(e,r,n)=>{!function(a){var o=n&&!n.nodeType&&n,i=r&&!r.nodeType&&r,u=e.g;(u.global===u||u.window===u||u.self===u)&&(a=u);var c,s,d=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,g=String.fromCharCode;function y(e){throw RangeError(p[e])}function m(e,r){for(var n=e.length,a=[];n--;)a[n]=r(e[n]);return a}function b(e,r){var n=e.split("@"),a="";return n.length>1&&(a=n[0]+"@",e=n[1]),a+m((e=e.replace(f,".")).split("."),r).join(".")}function v(e){for(var r,n,a=[],o=0,i=e.length;o<i;)(r=e.charCodeAt(o++))>=55296&&r<=56319&&o<i?(64512&(n=e.charCodeAt(o++)))==56320?a.push(((1023&r)<<10)+(1023&n)+65536):(a.push(r),o--):a.push(r);return a}function w(e){return m(e,function(e){var r="";return e>65535&&(e-=65536,r+=g(e>>>10&1023|55296),e=56320|1023&e),r+=g(e)}).join("")}function x(e,r){return e+22+75*(e<26)-((0!=r)<<5)}function k(e,r,n){var a=0;for(e=n?h(e/700):e>>1,e+=h(e/r);e>455;a+=36)e=h(e/35);return h(a+36*e/(e+38))}function A(e){var r,n,a,o,i,u,c,s,d,l,f,p=[],g=e.length,m=0,b=128,v=72;for((a=e.lastIndexOf("-"))<0&&(a=0),o=0;o<a;++o)e.charCodeAt(o)>=128&&y("not-basic"),p.push(e.charCodeAt(o));for(i=a>0?a+1:0;i<g;){for(u=m,c=1,s=36;i>=g&&y("invalid-input"),((d=(r=e.charCodeAt(i++))-48<10?r-22:r-65<26?r-65:r-97<26?r-97:36)>=36||d>h((0x7fffffff-m)/c))&&y("overflow"),m+=d*c,!(d<(l=s<=v?1:s>=v+26?26:s-v));s+=36){;c>h(0x7fffffff/(f=36-l))&&y("overflow"),c*=f}v=k(m-u,n=p.length+1,0==u),h(m/n)>0x7fffffff-b&&y("overflow"),b+=h(m/n),m%=n,p.splice(m++,0,b)}return w(p)}function S(e){var r,n,a,o,i,u,c,s,d,l,f,p,m,b,w,A=[];for(p=(e=v(e)).length,r=128,n=0,i=72,u=0;u<p;++u)(f=e[u])<128&&A.push(g(f));for(a=o=A.length,o&&A.push("-");a<p;){for(c=0x7fffffff,u=0;u<p;++u)(f=e[u])>=r&&f<c&&(c=f);for(c-r>h((0x7fffffff-n)/(m=a+1))&&y("overflow"),n+=(c-r)*m,r=c,u=0;u<p;++u)if((f=e[u])<r&&++n>0x7fffffff&&y("overflow"),f==r){for(s=n,d=36;!(s<(l=d<=i?1:d>=i+26?26:d-i));d+=36)w=s-l,b=36-l,A.push(g(x(l+w%b,0))),s=h(w/b);A.push(g(x(s,0))),i=k(n,m,a==o),n=0,++a}++n,++r}return A.join("")}if(c={version:"1.4.1",ucs2:{decode:v,encode:w},decode:A,encode:S,toASCII:function(e){return b(e,function(e){return l.test(e)?"xn--"+S(e):e})},toUnicode:function(e){return b(e,function(e){return d.test(e)?A(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)e.r,void 0!==c&&e.v(c);else if(o&&i)if(r.exports==o)i.exports=c;else for(s in c)c.hasOwnProperty(s)&&(o[s]=c[s]);else a.punycode=c}(e.e)},769619,(e,r,n)=>{"use strict";var a=e.r(180316),o=e.r(207557),i=e.r(356329),u=e.r(403727),c=[].sort,s=[1,2,3];a(a.P+a.F*(u(function(){s.sort(void 0)})||!u(function(){s.sort(null)})||!e.r(878401)(c)),"Array",{sort:function(e){return void 0===e?c.call(i(this)):c.call(i(this),o(e))}})},600953,(e,r,n)=>{e.r(803638)&&"g"!=/./g.flags&&e.r(920916).f(RegExp.prototype,"flags",{configurable:!0,get:e.r(484446)})},406403,(e,r,n)=>{"use strict";e.r(600953);var a=e.r(50378),o=e.r(484446),i=e.r(803638),u="toString",c=/./[u],s=function(r){e.r(195897)(RegExp.prototype,u,r,!0)};e.r(403727)(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?s(function(){var e=a(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):c.name!=u&&s(function(){return c.call(this)})},62425,(e,r,n)=>{var a=Date.prototype,o="Invalid Date",i="toString",u=a[i],c=a.getTime;new Date(NaN)+""!=o&&e.r(195897)(a,i,function(){var e=c.call(this);return e==e?u.call(this):o})},290080,(e,r,n)=>{"use strict";var a=e.r(484469),o={};o[e.r(245548)("toStringTag")]="z",o+""!="[object z]"&&e.r(195897)(Object.prototype,"toString",function(){return"[object "+a(this)+"]"},!0)},437569,(e,r,n)=>{var a=e.r(883460);r.exports=Array.isArray||function(e){return"Array"==a(e)}},902406,(e,r,n)=>{var a=e.r(180316);a(a.S,"Array",{isArray:e.r(437569)})},46667,(e,r,n)=>
1{var a=e.r(207557),o=e.r(356329),i=e.r(508097),u=e.r(199165);r.exports=function(e,r,n,c,s){a(r);var d=o(e),l=i(d),f=u(d.length),p=s?f-1:0,h=s?-1:1;if(n<2)for(;;){if(p in l){c=l[p],p+=h;break}if(p+=h,s?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;s?p>=0:f>p;p+=h)p in l&&(c=r(c,l[p],p,d));return c}},470792,(e,r,n)=>{"use strict";var a=e.r(180316),o=e.r(46667);a(a.P+!e.r(878401)([].reduce,!0)*a.F,"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},4325,(e,r,n)=>{var a=e.r(245548)("unscopables"),o=Array.prototype;void 0==o[a]&&e.r(473207)(o,a,{}),r.exports=function(e){o[a][e]=!0}},196451,(e,r,n)=>{r.exports=function(e,r){return{value:r,done:!!e}}},560623,(e,r,n)=>{r.exports={}},439682,(e,r,n)=>{var a=e.r(437474),o=e.r(594613);r.exports=Object.keys||function(e){return a(e,o)}},61867,(e,r,n)=>{var a=e.r(920916),o=e.r(50378),i=e.r(439682);r.exports=e.r(803638)?Object.defineProperties:function(e,r){o(e);for(var n,u=i(r),c=u.length,s=0;c>s;)a.f(e,n=u[s++],r[n]);return e}},789613,(e,r,n)=>{var a=e.r(685490).document;r.exports=a&&a.documentElement},459696,(e,r,n)=>{var a=e.r(50378),o=e.r(61867),i=e.r(594613),u=e.r(460605)("IE_PROTO"),c=function(){},s="prototype",d=function(){var r,n=e.r(624941)("iframe"),a=i.length;for(n.style.display="none",e.r(789613).appendChild(n),n.src="javascript:",(r=n.contentWindow.document).open(),r.write("<script>document.F=Object</script>"),r.close(),d=r.F;a--;)delete d[s][i[a]];return d()};r.exports=Object.create||function(e,r){var n;return null!==e?(c[s]=a(e),n=new c,c[s]=null,n[u]=e):n=d(),void 0===r?n:o(n,r)}},419519,(e,r,n)=>{var a=e.r(920916).f,o=e.r(843444),i=e.r(245548)("toStringTag");r.exports=function(e,r,n){e&&!o(e=n?e:e.prototype,i)&&a(e,i,{configurable:!0,value:r})}},115845,(e,r,n)=>{"use strict";var a=e.r(459696),o=e.r(309763),i=e.r(419519),u={};e.r(473207)(u,e.r(245548)("iterator"),function(){return this}),r.exports=function(e,r,n){e.prototype=a(u,{next:o(1,n)}),i(e,r+" Iterator")}},245561,(e,r,n)=>{var a=e.r(843444),o=e.r(356329),i=e.r(460605)("IE_PROTO"),u=Object.prototype;r.exports=Object.getPrototypeOf||function(e){return a(e=o(e),i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},844694,(e,r,n)=>{"use strict";var a=e.r(678799),o=e.r(180316),i=e.r(195897),u=e.r(473207),c=e.r(560623),s=e.r(115845),d=e.r(419519),l=e.r(245561),f=e.r(245548)("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",g="values",y=function(){return this};r.exports=function(e,r,n,m,b,v,w){s(n,r,m);var x,k,A,S=function(e){if(!p&&e in P)return P[e];switch(e){case h:case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=r+" Iterator",j=b==g,_=!1,P=e.prototype,C=P[f]||P["@@iterator"]||b&&P[b],U=C||S(b),T=b?j?S("entries"):U:void 0,O="Array"==r&&P.entries||C;if(O&&(A=l(O.call(new e)))!==Object.prototype&&A.next&&(d(A,E,!0),a||"function"==typeof A[f]||u(A,f,y)),j&&C&&C.name!==g&&(_=!0,U=function(){return C.call(this)}),(!a||w)&&(p||_||!P[f])&&u(P,f,U),c[r]=U,c[E]=y,b)if(x={values:j?U:S(g),keys:v?U:S(h),entries:T},w)for(k in x)k in P||i(P,k,x[k]);else o(o.P+o.F*(p||_),r,x);return x}},615572,(e,r,n)=>{"use strict";var a=e.r(4325),o=e.r(196451),i=e.r(560623),u=e.r(934418);r.exports=e.r(844694)(Array,"Array",function(e,r){this._t=u(e),this._i=0,this._k=r},function(){var e=this._t,r=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==r?o(0,n):"values"==r?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},696783,(e,r,n)=>{for(var a=e.r(615572),o=e.r(439682),i=e.r(195897),u=e.r(685490),c=e.r(473207),s=e.r(560623),d=e.r(245548),l=d("iterator"),f=d("toStringTag"),p=s.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=o(h),y=0;y<g.length;y++){var m,b=g[y],v=h[b],w=u[b],x=w&&w.prototype;if(x&&(x[l]||c(x,l,p),x[f]||c(x,f,b),s[b]=p,v))for(m in a)x[m]||i(x,m,a[m],!0)}},21182,(e,r,n)=>{var a=e.r(180316),o=e.r(151328),i=e.r(403727);r.exports=function(e,r){var n=(o.Object||{})[e]||Object[e],u={};u[e]=r(n),a(a.S+a.F*i(function(){n(1)}),"Object",u)}},931007,(e,r,n)=>{var a=e.r(356329),o=e.r(439682);e.r(21182)("keys",function(){return function(e){return o(a(e))}})},488616,(e,r,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=/(?:\ud83d[\udc68\udc69])(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddb0-\uddb3])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u23
11a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\uddb5\uddb6\uddb8\uddb9\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a-\udc6d\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\udeeb\udeec\udef4-\udef9]|\ud83e[\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd40-\udd45\udd47-\udd70\udd73-\udd76\udd7a\udd7c-\udda2\uddb4\uddb7\uddc0-\uddc2\uddd0\uddde
1-\uddff]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g},152486,(e,r,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TypeName=void 0,n.parse=function(e,r){var n=r&&r.assetType?r.assetType:"svg",a=r&&r.buildUrl?r.buildUrl:function(e,r){return"png"===r?"https://twemoji.maxcdn.com/2/72x72/"+e+".png":"https://twemoji.maxcdn.com/2/svg/"+e+".svg"},u=[];for(o.default.lastIndex=0;;){var c=o.default.exec(e);if(!c)break;var l=c[0],f=d(s(l)).join("-");u.push({url:f?a(f,n):"",indices:[c.index,o.default.lastIndex],text:l,type:i})}return u},n.toCodePoints=d;var a,o=(a=e.r(488616))&&a.__esModule?a:{default:a},i=n.TypeName="emoji",u=/\uFE0F/g,c=String.fromCharCode(8205),s=function(e){return 0>e.indexOf(c)?e.replace(u,""):e};function d(e){for(var r=[],n=0,a=0,o=0;o<e.length;)n=e.charCodeAt(o++),a?(r.push((65536+(a-55296<<10)+(n-56320)).toString(16)),a=0):n>55296&&n<=56319?a=n:r.push(n.toString(16));return r}},466940,(e,r,n)=>{var a=e.r(180316);a(a.S+!e.r(803638)*a.F,"Object",{defineProperty:e.r(920916).f})},918461,(e,r,n)=>{var a=e.r(180316);a(a.S+!e.r(803638)*a.F,"Object",{defineProperties:e.r(61867)})},175820,(e,r,n)=>{n.f=Object.getOwnPropertySymbols},160196,(e,r,n)=>{var a=e.r(839877),o=e.r(175820),i=e.r(50378),u=e.r(685490).Reflect;r.exports=u&&u.ownKeys||function(e){var r=a.f(i(e)),n=o.f;return n?r.concat(n(e)):r}},683959,(e,r,n)=>{"use strict";var a=e.r(920916),o=e.r(309763);r.exports=function(e,r,n){r in e?a.f(e,r,o(0,n)):e[r]=n}},775701,(e,r,n)=>{var a=e.r(180316),o=e.r(160196),i=e.r(934418),u=e.r(836158),c=e.r(683959);a(a.S,"Object",{getOwnPropertyDescriptors:function(e){for(var r,n,a=i(e),s=u.f,d=o(a),l={},f=0;d.length>f;)void 0!==(n=s(a,r=d[f++]))&&c(l,r,n);return l}})},814660,(e,r,n)=>{var a=e.r(178502),o=e.r(437569),i=e.r(245548)("species");r.exports=function(e){var r;return o(e)&&("function"==typeof(r=e.constructor)&&(r===Array||o(r.prototype))&&(r=void 0),a(r)&&null===(r=r[i])&&(r=void 0)),void 0===r?Array:r}},470127,(e,r,n)=>{var a=e.r(814660);r.exports=function(e,r){return new(a(e))(r)}},514598,(e,r,n)=>
1{var a=e.r(934633),o=e.r(508097),i=e.r(356329),u=e.r(199165),c=e.r(470127);r.exports=function(e,r){var n=1==e,s=2==e,d=3==e,l=4==e,f=6==e,p=5==e||f,h=r||c;return function(r,c,g){for(var y,m,b=i(r),v=o(b),w=a(c,g,3),x=u(v.length),k=0,A=n?h(r,x):s?h(r,0):void 0;x>k;k++)if((p||k in v)&&(m=w(y=v[k],k,b),e)){if(n)A[k]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return k;case 2:A.push(y)}else if(l)return!1}return f?-1:d||l?l:A}}},437417,(e,r,n)=>{"use strict";var a=e.r(180316),o=e.r(514598)(0),i=e.r(878401)([].forEach,!0);a(a.P+!i*a.F,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},756876,(e,r,n)=>{"use strict";var a=e.r(180316),o=e.r(514598)(2);a(a.P+!e.r(878401)([].filter,!0)*a.F,"Array",{filter:function(e){return o(this,e,arguments[1])}})},637559,(e,r,n)=>{var a=e.r(398068)("meta"),o=e.r(178502),i=e.r(843444),u=e.r(920916).f,c=0,s=Object.isExtensible||function(){return!0},d=!e.r(403727)(function(){return s(Object.preventExtensions({}))}),l=function(e){u(e,a,{value:{i:"O"+ ++c,w:{}}})},f=r.exports={KEY:a,NEED:!1,fastKey:function(e,r){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,a)){if(!s(e))return"F";if(!r)return"E";l(e)}return e[a].i},getWeak:function(e,r){if(!i(e,a)){if(!s(e))return!0;if(!r)return!1;l(e)}return e[a].w},onFreeze:function(e){return d&&f.NEED&&s(e)&&!i(e,a)&&l(e),e}}},206893,(e,r,n)=>{n.f=e.r(245548)},848431,(e,r,n)=>{var a=e.r(685490),o=e.r(151328),i=e.r(678799),u=e.r(206893),c=e.r(920916).f;r.exports=function(e){var r=o.Symbol||(o.Symbol=i?{}:a.Symbol||{});"_"==e.charAt(0)||e in r||c(r,e,{value:u.f(e)})}},120093,(e,r,n)=>{var a=e.r(439682),o=e.r(175820),i=e.r(126513);r.exports=function(e){var r=a(e),n=o.f;if(n)for(var u,c=n(e),s=i.f,d=0;c.length>d;)s.call(e,u=c[d++])&&r.push(u);return r}},440632,(e,r,n)=>{var a=e.r(934418),o=e.r(839877).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(e){return u.slice()}};r.exports.f=function(e){return u&&"[object Window]"==i.call(e)?c(e):o(a(e))}},776556,(e,r,n)=>{"use strict";var a=e.r(685490),o=e.r(843444),i=e.r(803638),u=e.r(180316),c=e.r(195897),s=e.r(637559).KEY,d=e.r(403727),l=e.r(296803),f=e.r(419519),p=e.r(398068),h=e.r(245548),g=e.r(206893),y=e.r(848431),m=e.r(120093),b=e.r(437569),v=e.r(50378),w=e.r(178502),x=e.r(356329),k=e.r(934418),A=e.r(715626),S=e.r(309763),E=e.r(459696),j=e.r(440632),_=e.r(836158),P=e.r(175820),C=e.r(920916),U=e.r(439682),T=_.f,O=C.f,F=j.f,M=a.Symbol,B=a.JSON,I=B&&B.stringify,R="prototype",L=h("_hidden"),D=h("toPrimitive"),N={}.propertyIsEnumerable,z=l("symbol-registry"),H=l("symbols"),W=l("op-symbols"),$=Object[R],q="function"==typeof M&&!!P.f,Q=a.QObject,G=!Q||!Q[R]||!Q[R].findChild,V=i&&d(function(){return 7!=E(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,r,n){var a=T($,r);a&&delete $[r],O(e,r,n),a&&e!==$&&O($,r,a)}:O,Z=function(e){var r=H[e]=E(M[R]);return r._k=e,r},J=q&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},K=function(e,r,n){return(e===$&&K(W,r,n),v(e),r=A(r,!0),v(n),o(H,r))?(n.enumerable?(o(e,L)&&e[L][r]&&(e[L][r]=!1),n=E(n,{enumerable:S(0,!1)})):(o(e,L)||O(e,L,S(1,{})),e[L][r]=!0),V(e,r,n)):O(e,r,n)},X=function(e,r){v(e);for(var n,a=m(r=k(r)),o=0,i=a.length;i>o;)K(e,n=a[o++],r[n]);return e},Y=function(e){var r=N.call(this,e=A(e,!0));return(!(this===$&&o(H,e))||!!o(W,e))&&(!(r||!o(this,e)||!o(H,e)||o(this,L)&&this[L][e])||r)},ee=function(e,r){if(e=k(e),r=A(r,!0),!(e===$&&o(H,r))||o(W,r)){var n=T(e,r);return n&&o(H,r)&&!(o(e,L)&&e[L][r])&&(n.enumerable=!0),n}},et=function(e){for(var r,n=F(k(e)),a=[],i=0;n.length>i;)o(H,r=n[i++])||r==L||r==s||a.push(r);return a},er=function(e){for(var r,n=e===$,a=F(n?W:k(e)),i=[],u=0;a.length>u;)o(H,r=a[u++])&&(!n||o($,r))&&i.push(H[r]);return i};q||(c((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),r=function(n){this===$&&r.call(W,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),V(this,e,S(1,n))};return i&&G&&V($,e,{configurable:!0,set:r}),Z(e)})[R],"toString",function(){return this._k}),_.f=ee,C.f=K,e.r(839877).f=j.f=et,e.r(126513).f=Y,P.f=er,i&&!e.r(678799)&&c($,"propertyIsEnumerable",Y,!0),g.f=function(e){return Z(h(e))}),u(u.G+u.W+!q*u.F,{Symbol:M});for(var en="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ea=0;en.length>ea;)h(en[ea++]);for(var eo=U(h.store),ei=0;eo.length>ei;)y(eo[ei++]);u(u.S+!q*u.F,"Symbol",{for:function(e){return o(z,e+="")?z[e]:z[e]=M(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var r in z)if(z[r]===e)return r},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+!q*u.F,"Object",{create:function(e,r){return void 0===r?E(e):X(E(e),r)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:et,getOwnPropertySymbols:er});var eu=d(function(){P.f(1)});u(u.S+u.F*eu,"Object",{getOwnPropertySymbols:function(e){return P.f(x(e))}}),B&&u(u.S+u.F*(!q||d(function(){var e=M();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var r,n,a=[e],o=1;arguments.length>o;)a.push(arguments[o++]);if(n=r=a[1],!(!w(r)&&void 0===e||J(e)))return b(r)||(r=function(e,r){if("function"==typeof n&&(r=n.call(this,e,r)),!J(r))return r}),a[1]=r,I.apply(B,a)}}),M[R][D]||e.r(473207)(M[R],D,M[R].valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(a.JSON,"JSON",!0)},475893,(e,r,n)=>{"use strict";var a=e.r(765216)(!0);e.r(844694)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,r=this._t,n=this._i;return n>=r.length?{value:void 0,done:!0}:(e=a(r,n),this._i+=e.length,{value:e,done:!1})})},794475,(e,r,n)=>{var a=e.r(50378);r.exports=function(e,r,n,o){try{return o?r(a(n)[0],n[1]):r(n)}catch(r){var i=e.return;throw void 0!==i&&a(i.call(e)),r}}},950610,(e,r,n)=>{var a=e.r(560623),o=e.r(245548)("iterator"),i=Array.prototype;r.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},267602,(e,r,n)=>{var a=e.r(484469),o=e.r(245548)("iterator"),i=e.r(560623);r.exports=e.r(151328).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[a(e)]}},379953,(e,r,n)=>{var a=e.r(245548)("iterator"),o=!1;try{var i=[7][a]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}r.exports=function(e,r){if(!r&&!o)return!1;var n=!1;try{var i=[7],u=i[a]();u.next=function(){return{done:n=!0}},i[a]=function(){return u},e(i)}catch(e){}return n}},416471,(e,r,n)=>{"use strict";var a=e.r(934633),o=e.r(180316),i=e.r(356329),u=e.r(794475),c=e.r(950610),s=e.r(199165
1),d=e.r(683959),l=e.r(267602);o(o.S+!e.r(379953)(function(e){Array.from(e)})*o.F,"Array",{from:function(e){var r,n,o,f,p=i(e),h="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=0,v=l(p);if(m&&(y=a(y,g>2?arguments[2]:void 0,2)),void 0==v||h==Array&&c(v))for(n=new h(r=s(p.length));r>b;b++)d(n,b,m?y(p[b],b):p[b]);else for(f=v.call(p),n=new h;!(o=f.next()).done;b++)d(n,b,m?u(f,y,[o.value,b],!0):o.value);return n.length=b,n}})},709735,e=>{"use strict";e.i(952096),e.i(533326);let r=/[a-z]{1,6}(?:[._][a-z]{1,2})?/i,n=/\!'#%&'\(\)*\+,\\\-\.\/:;<=>\?@\[\]\^_{|}~\$/;function a(e,r,n){return n=n||"","string"!=typeof e&&(e.global&&0>n.indexOf("g")&&(n+="g"),e.ignoreCase&&0>n.indexOf("i")&&(n+="i"),e.multiline&&0>n.indexOf("m")&&(n+="m"),e=e.source),new RegExp(e.replace(/#\{(\w+)\}/g,function(e,n){var a=r[n]||"";return"string"!=typeof a&&(a=a.source),a}),n)}e.i(482644);let o=/\x09-\x0D\x20\x85\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000/,i=a(/[#{spacesGroup}]/,{spacesGroup:o});var u=a("(^|#{spaces})(\\$)(#{cashtag})(?=$|\\s|[#{punct}])",{cashtag:r,spaces:i,punct:n},"gi");function c(e){if(!e||-1===e.indexOf("$"))return[];var r=[];return e.replace(u,function(e,n,a,o,i,u){var c=i+n.length,s=c+o.length+1;r.push({cashtag:o,indices:[c,s]})}),r}e.i(973667);let s=/[##]/;var d=a(/^(?:#{hashSigns}|:\/\/)/,{hashSigns:s}),l=a(RegExp("(?:(?:한국|香港|澳門|新加坡|台灣|台湾|中國|中国|გე|ລາວ|ไทย|ලංකා|ഭാരതം|ಭಾರತ|భారత్|சிங்கப்பூர்|இலங்கை|இந்தியா|ଭାରତ|ભારત|ਭਾਰਤ|ভাৰত|ভারত|বাংলা|भारोत|भारतम्|भारत|ڀارت|پاکستان|موريتانيا|مليسيا|مصر|قطر|فلسطين|عمان|عراق|سورية|سودان|تونس|بھارت|بارت|ایران|امارات|المغرب|السعودية|الجزائر|البحرين|الاردن|հայ|қаз|укр|срб|рф|мон|мкд|ею|бел|бг|ευ|ελ|zw|zm|za|yt|ye|ws|wf|vu|vn|vi|vg|ve|vc|va|uz|uy|us|um|uk|ug|ua|tz|tw|tv|tt|tr|tp|to|tn|tm|tl|tk|tj|th|tg|tf|td|tc|sz|sy|sx|sv|su|st|ss|sr|so|sn|sm|sl|sk|sj|si|sh|sg|se|sd|sc|sb|sa|rw|ru|rs|ro|re|qa|py|pw|pt|ps|pr|pn|pm|pl|pk|ph|pg|pf|pe|pa|om|nz|nu|nr|np|no|nl|ni|ng|nf|ne|nc|na|mz|my|mx|mw|mv|mu|mt|ms|mr|mq|mp|mo|mn|mm|ml|mk|mh|mg|mf|me|md|mc|ma|ly|lv|lu|lt|ls|lr|lk|li|lc|lb|la|kz|ky|kw|kr|kp|kn|km|ki|kh|kg|ke|jp|jo|jm|je|it|is|ir|iq|io|in|im|il|ie|id|hu|ht|hr|hn|hm|hk|gy|gw|gu|gt|gs|gr|gq|gp|gn|gm|gl|gi|gh|gg|gf|ge|gd|gb|ga|fr|fo|fm|fk|fj|fi|eu|et|es|er|eh|eg|ee|ec|dz|do|dm|dk|dj|de|cz|cy|cx|cw|cv|cu|cr|co|cn|cm|cl|ck|ci|ch|cg|cf|cd|cc|ca|bz|by|bw|bv|bt|bs|br|bq|bo|bn|bm|bl|bj|bi|bh|bg|bf|be|bd|bb|ba|az|ax|aw|au|at|as|ar|aq|ao|an|am|al|ai|ag|af|ae|ad|ac)(?=[^0-9a-zA-Z@+-]|$))"));let f=/\u202A-\u202E\u061C\u200E\u200F\u2066\u2067\u2068\u2069/,p=/\uFFFE\uFEFF\uFFFF/;function h(e,r){return e.replace(/#\{(\w+)\}/g,function(e,n){return r[n]||""})}var g=h("#{punct}#{spacesGroup}#{invalidCharsGroup}#{directionalMarkersGroup}",{punct:n,spacesGroup:o,invalidCharsGroup:p,directionalMarkersGroup:f}),y=a(/[^#{invalidDomainChars}]/,{invalidDomainChars:g}),m=a(/(?:(?:#{validDomainChars}(?:-|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:y}),b=a(RegExp("(?:(?:삼성|닷컴|닷넷|香格里拉|餐厅|食品|飞利浦|電訊盈科|集团|通販|购物|谷歌|诺基亚|联通|网络|网站|网店|网址|组织机构|移动|珠宝|点看|游戏|淡马锡|机构|書籍|时尚|新闻|政府|政务|招聘|手表|手机|我爱你|慈善|微博|广东|工行|家電|娱乐|天主教|大拿|大众汽车|在线|嘉里大酒店|嘉里|商标|商店|商城|公益|公司|八卦|健康|信息|佛山|企业|中文网|中信|世界|ポイント|ファッション|セール|ストア|コム|グーグル|クラウド|みんな|คอม|संगठन|नेट|कॉम|همراه|موقع|موبايلي|كوم|كاثوليك|عرب|شبكة|بيتك|بازار|العليان|ارامكو|اتصالات|ابوظبي|קום|сайт|рус|орг|онлайн|москва|ком|католик|дети|zuerich|zone|zippo|zip|zero|zara|zappos|yun|youtube|you|yokohama|yoga|yodobashi|yandex|yamaxun|yahoo|yachts|xyz|xxx|xperia|xin|xihuan|xfinity|xerox|xbox|wtf|wtc|wow|world|works|work|woodside|wolterskluwer|wme|winners|wine|windows|win|williamhill|wiki|wien|whoswho|weir|weibo|wedding|wed|website|weber|webcam|weatherchannel|weather|watches|watch|warman|wanggou|wang|walter|walmart|wales|vuelos|voyage|voto|voting|vote|volvo|volkswagen|vodka|vlaanderen|vivo|viva|vistaprint|vista|vision|visa|virgin|vip|vin|villas|viking|vig|video|viajes|vet|versicherung|vermögensberatung|vermögensberater|verisign|ventures|vegas|vanguard|vana|vacations|ups|uol|uno|university|unicom|uconnect|ubs|ubank|tvs|tushu|tunes|tui|tube|trv|trust|travelersinsurance|travelers|travelchannel|travel|training|trading|trade|toys|toyota|town|tours|total|toshiba|toray|top|tools|tokyo|today|tmall|tkmaxx|tjx|tjmaxx|tirol|tires|tips|tiffany|tienda|tickets|tiaa|theatre|theater|thd|teva|tennis|temasek|telefonica|telecity|tel|technology|tech|team|tdk|tci|taxi|tax|tattoo|tatar|tatamotors|target|taobao|talk|taipei|tab|systems|symantec|sydney|swiss|swiftcover|swatch|suzuki|surgery|surf|support|supply|supplies|sucks|style|study|studio|stream|store|storage|stockholm|stcgroup|stc|statoil|statefarm|statebank|starhub|star|staples|stada|srt|srl|spreadbetting|spot|sport|spiegel|space|soy|sony|song|solutions|solar|sohu|softw
1are|softbank|social|soccer|sncf|smile|smart|sling|skype|sky|skin|ski|site|singles|sina|silk|shriram|showtime|show|shouji|shopping|shop|shoes|shiksha|shia|shell|shaw|sharp|shangrila|sfr|sexy|sex|sew|seven|ses|services|sener|select|seek|security|secure|seat|search|scot|scor|scjohnson|science|schwarz|schule|school|scholarships|schmidt|schaeffler|scb|sca|sbs|sbi|saxo|save|sas|sarl|sapo|sap|sanofi|sandvikcoromant|sandvik|samsung|samsclub|salon|sale|sakura|safety|safe|saarland|ryukyu|rwe|run|ruhr|rugby|rsvp|room|rogers|rodeo|rocks|rocher|rmit|rip|rio|ril|rightathome|ricoh|richardli|rich|rexroth|reviews|review|restaurant|rest|republican|report|repair|rentals|rent|ren|reliance|reit|reisen|reise|rehab|redumbrella|redstone|red|recipes|realty|realtor|realestate|read|raid|radio|racing|qvc|quest|quebec|qpon|pwc|pub|prudential|pru|protection|property|properties|promo|progressive|prof|productions|prod|pro|prime|press|praxi|pramerica|post|porn|politie|poker|pohl|pnc|plus|plumbing|playstation|play|place|pizza|pioneer|pink|ping|pin|pid|pictures|pictet|pics|piaget|physio|photos|photography|photo|phone|philips|phd|pharmacy|pfizer|pet|pccw|pay|passagens|party|parts|partners|pars|paris|panerai|panasonic|pamperedchef|page|ovh|ott|otsuka|osaka|origins|orientexpress|organic|org|orange|oracle|open|ooo|onyourside|online|onl|ong|one|omega|ollo|oldnavy|olayangroup|olayan|okinawa|office|off|observer|obi|nyc|ntt|nrw|nra|nowtv|nowruz|now|norton|northwesternmutual|nokia|nissay|nissan|ninja|nikon|nike|nico|nhk|ngo|nfl|nexus|nextdirect|next|news|newholland|new|neustar|network|netflix|netbank|net|nec|nba|navy|natura|nationwide|name|nagoya|nadex|nab|mutuelle|mutual|museum|mtr|mtpc|mtn|msd|movistar|movie|mov|motorcycles|moto|moscow|mortgage|mormon|mopar|montblanc|monster|money|monash|mom|moi|moe|moda|mobily|mobile|mobi|mma|mls|mlb|mitsubishi|mit|mint|mini|mil|microsoft|miami|metlife|merckmsd|meo|menu|men|memorial|meme|melbourne|meet|media|med|mckinsey|mcdonalds|mcd|mba|mattel|maserati|marshalls|marriott|markets|marketing|market|map|mango|management|man|makeup|maison|maif|madrid|macys|luxury|luxe|lupin|lundbeck|ltda|ltd|lplfinancial|lpl|love|lotto|lotte|london|lol|loft|locus|locker|loans|loan|llp|llc|lixil|living|live|lipsy|link|linde|lincoln|limo|limited|lilly|like|lighting|lifestyle|lifeinsurance|life|lidl|liaison|lgbt|lexus|lego|legal|lefrak|leclerc|lease|lds|lawyer|law|latrobe|latino|lat|lasalle|lanxess|landrover|land|lancome|lancia|lancaster|lamer|lamborghini|ladbrokes|lacaixa|kyoto|kuokgroup|kred|krd|kpn|kpmg|kosher|komatsu|koeln|kiwi|kitchen|kindle|kinder|kim|kia|kfh|kerryproperties|kerrylogistics|kerryhotels|kddi|kaufen|juniper|juegos|jprs|jpmorgan|joy|jot|joburg|jobs|jnj|jmp|jll|jlc|jio|jewelry|jetzt|jeep|jcp|jcb|java|jaguar|iwc|iveco|itv|itau|istanbul|ist|ismaili|iselect|irish|ipiranga|investments|intuit|international|intel|int|insure|insurance|institute|ink|ing|info|infiniti|industries|inc|immobilien|immo|imdb|imamat|ikano|iinet|ifm|ieee|icu|ice|icbc|ibm|hyundai|hyatt|hughes|htc|hsbc|how|house|hotmail|hotels|hoteles|hot|hosting|host|hospital|horse|honeywell|honda|homesense|homes|homegoods|homedepot|holiday|holdings|hockey|hkt|hiv|hitachi|hisamitsu|hiphop|hgtv|hermes|here|helsinki|help|healthcare|health|hdfcbank|hdfc|hbo|haus|hangout|hamburg|hair|guru|guitars|guide|guge|gucci|guardian|group|grocery|gripe|green|gratis|graphics|grainger|gov|got|gop|google|goog|goodyear|goodhands|goo|golf|goldpoint|gold|godaddy|gmx|gmo|gmbh|gmail|globo|global|gle|glass|glade|giving|gives|gifts|gift|ggee|george|genting|gent|gea|gdn|gbiz|gay|garden|gap|games|game|gallup|gallo|gallery|gal|fyi|futbol|furniture|fund|fun|fujixerox|fujitsu|ftr|frontier|frontdoor|frogans|frl|fresenius|free|fox|foundation|forum|forsale|forex|ford|football|foodnetwork|food|foo|fly|flsmidth|flowers|florist|flir|flights|flickr|fitness|fit|fishing|fish|firmdale|firestone|fire|financial|finance|final|film|fido|fidelity|fiat|ferrero|ferrari|feedback|fedex|fast|fashion|farmers|farm|fans|fan|family|faith|fairwinds|fail|fage|extraspace|express|exposed|expert|exchange|everbank|events|eus|eurovision|etisalat|esurance|estate|esq|erni|ericsson|equipment|epson|epost|enterprises|engineering|engineer|energy|emerck|email|education|edu|edeka|eco|eat|earth|dvr|dvag|durban|dupont|duns|dunlop|duck|dubai|dtv|drive|download|dot|doosan|domains|doha|dog|dodge|doctor|docs|dnp|diy|dish|discover|discount|directory|direct|digital|diet|diamonds|dhl|dev|design|desi|dentist|dental|democrat|delta|deloitte|dell|delivery|degree|deals|dealer|deal|dds|dclk|day|datsun|dating|date|data|dance|dad|dabur|cyou|cymru|cuisinella|csc|cruises|cruise|crs|crown|cricket|creditunion|creditcard|credit|cpa|courses|coupons|coupon|country|corsica|coop|cool|cookingchannel|cooking|contractors|contact|consulting|construction|condos|comsec|computer|compare|c
1ompany|community|commbank|comcast|com|cologne|college|coffee|codes|coach|clubmed|club|cloud|clothing|clinique|clinic|click|cleaning|claims|cityeats|city|citic|citi|citadel|cisco|circle|cipriani|church|chrysler|chrome|christmas|chloe|chintai|cheap|chat|chase|charity|channel|chanel|cfd|cfa|cern|ceo|center|ceb|cbs|cbre|cbn|cba|catholic|catering|cat|casino|cash|caseih|case|casa|cartier|cars|careers|career|care|cards|caravan|car|capitalone|capital|capetown|canon|cancerresearch|camp|camera|cam|calvinklein|call|cal|cafe|cab|bzh|buzz|buy|business|builders|build|bugatti|budapest|brussels|brother|broker|broadway|bridgestone|bradesco|box|boutique|bot|boston|bostik|bosch|boots|booking|book|boo|bond|bom|bofa|boehringer|boats|bnpparibas|bnl|bmw|bms|blue|bloomberg|blog|blockbuster|blanco|blackfriday|black|biz|bio|bingo|bing|bike|bid|bible|bharti|bet|bestbuy|best|berlin|bentley|beer|beauty|beats|bcn|bcg|bbva|bbt|bbc|bayern|bauhaus|basketball|baseball|bargains|barefoot|barclays|barclaycard|barcelona|bar|bank|band|bananarepublic|banamex|baidu|baby|azure|axa|aws|avianca|autos|auto|author|auspost|audio|audible|audi|auction|attorney|athleta|associates|asia|asda|arte|art|arpa|army|archi|aramco|arab|aquarelle|apple|app|apartments|aol|anz|anquan|android|analytics|amsterdam|amica|amfam|amex|americanfamily|americanexpress|alstom|alsace|ally|allstate|allfinanz|alipay|alibaba|alfaromeo|akdn|airtel|airforce|airbus|aigo|aig|agency|agakhan|africa|afl|afamilycompany|aetna|aero|aeg|adult|ads|adac|actor|active|aco|accountants|accountant|accenture|academy|abudhabi|abogado|able|abc|abbvie|abbott|abb|abarth|aarp|aaa|onion)(?=[^0-9a-zA-Z@+-]|$))"));let v=/(?:xn--[\-0-9a-z]+)/;var w=a(/(?:(?:#{validDomainChars}(?:[_-]|#{validDomainChars})*)?#{validDomainChars}\.)/,{validDomainChars:y}),x=a(/(?:#{validSubdomain}*#{validDomainName}(?:#{validGTLD}|#{validCCTLD}|#{validPunycode}))/,{validDomainName:m,validSubdomain:w,validGTLD:b,validCCTLD:l,validPunycode:v});let k=/[0-9]+/,A=/\u0400-\u04FF/,S=/\xC0-\xD6\xD8-\xF6\xF8-\xFF\u0100-\u024F\u0253\u0254\u0256\u0257\u0259\u025B\u0263\u0268\u026F\u0272\u0289\u028B\u02BB\u0300-\u036F\u1E00-\u1EFF/;var E=a(/[a-z#{cyrillicLettersAndMarks}0-9!\*';:=\+,\.\$\/%#\[\]\-\u2013_~@\|&#{latinAccentChars}]/i,{cyrillicLettersAndMarks:A,latinAccentChars:S}),j=a("\\((?:#{validGeneralUrlPathChars}+|(?:#{validGeneralUrlPathChars}*\\(#{validGeneralUrlPathChars}+\\)#{validGeneralUrlPathChars}*))\\)",{validGeneralUrlPathChars:E},"i"),_=a(/[\+\-a-z#{cyrillicLettersAndMarks}0-9=_#\/#{latinAccentChars}]|(?:#{validUrlBalancedParens})/i,{cyrillicLettersAndMarks:A,latinAccentChars:S,validUrlBalancedParens:j}),P=a("(?:(?:#{validGeneralUrlPathChars}*(?:#{validUrlBalancedParens}#{validGeneralUrlPathChars}*)*#{validUrlPathEndingChars})|(?:@#{validGeneralUrlPathChars}+/))",{validGeneralUrlPathChars:E,validUrlBalancedParens:j,validUrlPathEndingChars:_},"i"),C=a(/(?:[^A-Za-z0-9@@$###{invalidCharsGroup}]|[#{directionalMarkersGroup}]|^)/,{invalidCharsGroup:p,directionalMarkersGroup:f});let U=/[a-z0-9!?\*'@\(\);:&=\+\$\/%#\[\]\-_\.,~|]/i,T=/[a-z0-9\-_&=#\/]/i;var O=a("((#{validUrlPrecedingChars})((https?:\\/\\/)?(#{validDomain})(?::(#{validPortNumber}))?(\\/#{validUrlPath}*)?(\\?#{validUrlQueryChars}*#{validUrlQueryEndingChars})?))",{validUrlPrecedingChars:C,validDomain:x,validPortNumber:k,validUrlPath:P,validUrlQueryChars:U,validUrlQueryEndingChars:T},"gi");let F=/[-_.\/]$/;e.i(703002);var M=e.i(229010),B=a(/(?:(?:[\-a-z0-9#{latinAccentChars}]+)\.)+(?:#{validGTLD}|#{validCCTLD}|#{validPunycode})/gi,{latinAccentChars:S,validGTLD:b,validCCTLD:l,validPunycode:v});let I=function(e){if("xn--"!==e.substring(0,4)||e.match(B)){for(var r=e.split("."),n=0;n<r.length;n++){var a=r[n],o=M.default.toASCII(a);if(o.length<1||o.length>63)return}return r.join(".")}};var R=a(/^https?:\/\/t\.co\/([a-z0-9]+)(?:\?#{validUrlQueryChars}*#{validUrlQueryEndingChars})?/,{validUrlQueryChars:U,validUrlQueryEndingChars:T},"i"),L={extractUrlsWithoutProtocol:!0},D=function(e,r,n){var a=e.length,o=I(n);return!!o&&!!o.length&&(a=a+o.length-n.length,r.length+a<=4096)};let N=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;if(!e||(r.extractUrlsWithoutProtocol?!e.match(/\./):!e.match(/:/)))return[];for(var n=[];O.exec(e);)if("continue"===function(){var e=RegExp.$2,a=RegExp.$3,o=RegExp.$4,i=RegExp.$5,u=RegExp.$7,c=O.lastIndex,s=c-a.length;if(!D(a,o||"https://",i))return"continue";if(o){if(a.match(R)){var d=RegExp.$1;if(d&&d.length>40)return"continue";c=s+(a=RegExp.lastMatch).length}n.push({url:a,indices:[s,c]})}else{if(!r.extractUrlsWithoutProtocol||e.match(F))return"continue";var l=null,f=0;if(i.replace(B,function(e){var r=i.indexOf(e,f);f=r+e.length,l={url:e,indices:[s+r,s+f]},n.push(l)}),null==l)return"continue";u&&(l.url=a.replace(i,l.url),l.indices[1]=c)}}())continue;return n};
1function z(e){e.sort(function(e,r){return e.indices[0]-r.indices[0]});for(var r=e[0],n=1;n<e.length;n++)r.indices[1]>e[n].indices[0]?(e.splice(n,1),n--):r=e[n]}e.i(769619);let H=/\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf30-\udf40\udf42-\udf49\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf]|\ud801[\udc00-\udc9d\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48]|\ud804[\udc00-\udc46\udc7f-\udcba\udcd0-\udce8\udd00-\udd34\udd50-\udd73\udd76\udd80-\uddc4\uddda\ude00-\ude11\ude13-\ude37\udeb0-\udeea\udf01-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3c-\udf44\udf47\udf48\udf4b-\udf4d\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc80-\udcc5\udcc7\udd80-\uddb5\uddb8-\uddc0\ude00-\ude40\ude44\ude80-\udeb7]|\ud806[\udca0-\udcdf\udcff\udec0-\udef8]|\ud808[\udc00-\udf98]|\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50-\udf7e\udf8f-\udf9f]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud83a[\udc00-\udcc4\udcd0-\udcd6]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud840[\udc00-\udfff]|\ud841[\udc00-\udfff]|\ud842[\udc00-\udfff]|\ud843[\udc00-\udfff]|\ud844[\udc00-\udfff]|\ud845[\udc00-\udfff]|\ud846[\udc00-\udfff]|\ud847[\udc00-\udfff]|\ud848[\udc00-\udfff]|\ud849[\udc00-\udfff]|\ud84a[\udc00-\udfff]|\ud84b[\udc00-\udfff]|\ud84c[\udc00-\udfff]|\ud84d[\udc00-\udfff]|\ud84e[\udc00-\udfff]|\ud84f[\udc00-\udfff]|\ud850[\udc00-\udfff]|\ud851[\udc00-\udfff]|\ud852[\udc00-\udfff]|\ud853[\udc00-\udfff]|\ud854[\udc00-\udfff]|\ud855[\udc00-\udfff]|\ud856[\udc00-\udfff]|\ud857[\udc00-\udfff]|\ud858[\udc00-\udfff]|\ud859[\udc00-\udfff]|\ud85a[\udc00-\udfff]|\ud85b[\udc00-\udfff]|\ud85c[\udc00-\udfff]|\ud85d[\udc00-\udfff]|\ud85e[\udc00-\udfff]|\ud85f[\udc00-\udfff]|\ud860[\udc00-\udfff]|\ud861[\udc00-\udfff]|\ud862[\udc00-\udfff]|\ud863[\udc00-\udfff]|\ud864[\udc00-\udfff]|\ud865[\udc00-\udfff]|\ud866[\udc00-\udfff]|\ud867[\udc00-\udfff]|\ud868[\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86a[\udc00-\udfff]|\ud86b[\udc00-\udfff]|\ud86c[\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef]/,W=/A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u065f\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06ef\u06fa-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07ca-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0971-\u0983\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7\u09c8\u09cb-\u09ce\u09d7\u09dc\u09dd\u09df-\u09e3\u09f0\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a70-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0
1ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b71\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58\u0c59\u0c60-\u0c63\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0cf1\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d7a-\u0d7f\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0edc-\u0edf\u0f00\u0f18\u0f19\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u103f\u1050-\u108f\u109a-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16f1-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772\u1773\u1780-\u17d3\u17d7\u17dc\u17dd\u180b-\u180d\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f\u1aa7\u1ab0-\u1abe\u1b00-\u1b4b\u1b6b-\u1b73\u1b80-\u1baf\u1bba-\u1bf3\u1c00-\u1c37\u1c4d-\u1c4f\u1c5a-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u20d0-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2183\u2184\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005\u3006\u302a-\u302f\u3031-\u3035\u303b\u303c\u3041-\u3096\u3099\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua672\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6e5\ua6f0\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8e0-\ua8f7\ua8fb\ua90a-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf\ua9e0-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64\uab65\uabc0-\uabea\uabec\uabed\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf870-\uf87f\uf882\uf884-\uf89f\uf8b8\uf8c1-\uf8d6\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc/,$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/gm;var q=a(/(?:[#{bmpLetterAndMarks}]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}))/,{bmpLetterAndMarks:W,nonBmpCodePairs:$,astralLetterAndMarks:H});let Q=/\ud801[\udca0-\udca9]|\ud804[\udc66-\udc6f\udcf0-\udcf9\udd36-\udd3f\uddd0-\uddd9\udef0-\udef9]|\ud805[\udcd0-\udcd9\ude50-\ude59\udec0-\udec9]|\ud806[\udce0-\udce9]|\ud81a[\ude60-\ude69\udf50-\udf59]|\ud835[\udfce-\udfff]/,G=/0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0de6-\u0def\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1
1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\ua9f0-\ua9f9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19/,V=/_\u200c\u200d\ua67e\u05be\u05f3\u05f4\uff5e\u301c\u309b\u309c\u30a0\u30fb\u3003\u0f0b\u0f0c\xb7/;var Z=a(/(?:[#{bmpLetterAndMarks}#{bmpNumerals}#{hashtagSpecialChars}]|(?=#{nonBmpCodePairs})(?:#{astralLetterAndMarks}|#{astralNumerals}))/,{bmpLetterAndMarks:W,bmpNumerals:G,hashtagSpecialChars:V,nonBmpCodePairs:$,astralLetterAndMarks:H,astralNumerals:Q});let J=/(?:[^\uD800-\uDFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])/;var K=a(/(?:^|\uFE0E|\uFE0F|$|(?!#{hashtagAlphaNumeric}|&)#{codePoint})/,{codePoint:J,hashtagAlphaNumeric:Z}),X=a(/(#{hashtagBoundary})(#{hashSigns})(?!\uFE0F|\u20E3)(#{hashtagAlphaNumeric}*#{hashtagAlpha}#{hashtagAlphaNumeric}*)/gi,{hashtagBoundary:K,hashSigns:s,hashtagAlphaNumeric:Z,hashtagAlpha:q});let Y=function(e,r){if(r||(r={checkUrlOverlap:!0}),!e||!e.match(s))return[];var n=[];if(e.replace(X,function(e,r,a,o,i,u){if(!u.slice(i+e.length).match(d)){var c=i+r.length,s=c+o.length+1;n.push({hashtag:o,indices:[c,s]})}}),r.checkUrlOverlap){var a=N(e);if(a.length>0){var o=n.concat(a);z(o),n=[];for(var i=0;i<o.length;i++)o[i].hashtag&&n.push(o[i])}}return n},ee=/[@@]/;var et=a(/^(?:#{atSigns}|[#{latinAccentChars}]|:\/\/)/,{atSigns:ee,latinAccentChars:S});let er=/(?:^|[^a-zA-Z0-9_!#$%&*@@]|(?:^|[^a-zA-Z0-9_+~.-])(?:rt|RT|rT|Rt):?)/;var en=a("(#{validMentionPrecedingChars})(#{atSigns})([a-zA-Z0-9_]{1,20})(/[a-zA-Z][a-zA-Z0-9_-]{0,24})?",{validMentionPrecedingChars:er,atSigns:ee},"g");function ea(e){if(!e||!e.match(ee))return[];var r=[];return e.replace(en,function(e,n,a,o,i,u,c){if(!c.slice(u+e.length).match(et)){i=i||"";var s=u+n.length,d=s+o.length+i.length+1;r.push({screenName:o,listSlug:i,indices:[s,d]})}}),r}function eo(e,r){var n=N(e,r).concat(ea(e)).concat(Y(e,{checkUrlOverlap:!1})).concat(c(e));return 0==n.length?[]:(z(n),n)}function ei(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r}var eu={disabled:!0,readonly:!0,multiple:!0,checked:!0},ec={urlClass:!0,listClass:!0,usernameClass:!0,hashtagClass:!0,cashtagClass:!0,usernameUrlBase:!0,listUrlBase:!0,hashtagUrlBase:!0,cashtagUrlBase:!0,usernameUrlBlock:!0,listUrlBlock:!0,hashtagUrlBlock:!0,linkUrlBlock:!0,usernameIncludeSymbol:!0,suppressLists:!0,suppressNoFollow:!0,targetBlank:!0,suppressDataScreenName:!0,urlEntities:!0,symbolTag:!0,textWithSymbolTag:!0,urlTarget:!0,invisibleTagAttrs:!0,linkAttributeBlock:!0,linkTextBlock:!0,htmlEscapeNonEntities:!0};function es(e){var r={};for(var n in e){var a=e[n];ec[n]||(eu[n]&&(a=a?n:null),null!=a&&(r[n]=a))}return r}var ed={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#39;"};function el(e){return e&&e.replace(/[&"'><]/g,function(e){return ed[e]})}e.i(406403),e.i(62425),e.i(290080);var ef={disabled:!0,readonly:!0,multiple:!0,checked:!0};function ep(e){var r="";for(var n in e){var a=e[n];ef[n]&&(a=a?n:null),null!=a&&(r+=" ".concat(el(n),'="').concat(el(a.toString()),'"'))}return r}function eh(e,r,n,a){return a.suppressNoFollow||(n.rel="nofollow"),a.linkAttributeBlock&&a.linkAttributeBlock(e,n),a.linkTextBlock&&(r=a.linkTextBlock(e,r)),h("<a#{attr}>#{text}</a>",{text:r,attr:ep(n)})}function eg(e,r,n,a,o){var i=o.symbolTag?"<".concat(o.symbolTag,">").concat(r,"</").concat(o.symbolTag,">"):r;n=el(n);var u=o.textWithSymbolTag?"<".concat(o.textWithSymbolTag,">").concat(n,"</").concat(o.textWithSymbolTag,">"):n;return o.usernameIncludeSymbol||!r.match(ee)?eh(e,i+u,a,o):i+eh(e,u,a,o)}function ey(e,r,n){var a=el(e.cashtag),o=ei(n.htmlAttrs||{});return o.href=n.cashtagUrlBase+a,o.title="$".concat(a),o.class=n.cashtagClass,n.targetBlank&&(o.target="_blank"),eg(e,"$",a,o,n)}let em=/[\u0600-\u06FF]|[\u0750-\u077F]|[\u0590-\u05FF]|[\uFE70-\uFEFF]/gm;function eb(e,r,n){var a=r.substring(e.indices[0],e.indices[0]+1),o=el(e.hashtag),i=ei(n.htmlAttrs||{});return i.href=n.hashtagUrlBase+o,i.title="#".concat(o),i.class=n.hashtagClass,o.charAt(0).match(em)&&(i.class+=" rtl"),n.targetBlank&&(i.target="_blank"),eg(e,a,o,i,n)}function ev(e,r){var n=e.display_url,a=e.expanded_url,o=n.replace(/…/g,"");if(-1!=a.indexOf(o)){var i=a.indexOf(o),u={displayUrlSansEllipses:o,beforeDisplayUrl:a.substr(0,i),afterDis
1playUrl:a.substr(i+o.length),precedingEllipsis:n.match(/^…/)?"…":"",followingEllipsis:n.match(/…$/)?"…":""};for(var c in u)u.hasOwnProperty(c)&&(u[c]=el(u[c]));return u.invisible=r.invisibleTagAttrs,h("<span class='tco-ellipsis'>#{precedingEllipsis}<span #{invisible}>&nbsp;</span></span><span #{invisible}>#{beforeDisplayUrl}</span><span class='js-display-url'>#{displayUrlSansEllipses}</span><span #{invisible}>#{afterDisplayUrl}</span><span class='tco-ellipsis'><span #{invisible}>&nbsp;</span>#{followingEllipsis}</span>",u)}return n}let ew=/^https?:\/\//i;function ex(e,r,n){var a=e.url,o=el(a),i=n.urlEntities&&n.urlEntities[a]||e;i.display_url&&(o=ev(i,n));var u=ei(n.htmlAttrs||{});return a.match(ew)||(a="http://".concat(a)),u.href=a,n.targetBlank&&(u.target="_blank"),n.urlClass&&(u.class=n.urlClass),n.urlTarget&&(u.target=n.urlTarget),!n.title&&i.display_url&&(u.title=i.expanded_url),eh(e,o,u,n)}function ek(e,r,n){var a=r.substring(e.indices[0],e.indices[0]+1),o=el(e.screenName),i=el(e.listSlug),u=e.listSlug&&!n.suppressLists,c=ei(n.htmlAttrs||{});return c.class=u?n.listClass:n.usernameClass,c.href=u?n.listUrlBase+o+i:n.usernameUrlBase+o,u||n.suppressDataScreenName||(c["data-screen-name"]=o),n.targetBlank&&(c.target="_blank"),eg(e,a,u?o+i:o,c,n)}function eA(e,r,n){var a,o,i,n=ei(n||{});if(n.hashtagClass=n.hashtagClass||"tweet-url hashtag",n.hashtagUrlBase=n.hashtagUrlBase||"https://twitter.com/search?q=%23",n.cashtagClass=n.cashtagClass||"tweet-url cashtag",n.cashtagUrlBase=n.cashtagUrlBase||"https://twitter.com/search?q=%24",n.listClass=n.listClass||"tweet-url list-slug",n.usernameClass=n.usernameClass||"tweet-url username",n.usernameUrlBase=n.usernameUrlBase||"https://twitter.com/",n.listUrlBase=n.listUrlBase||"https://twitter.com/",n.htmlAttrs=es(n),n.invisibleTagAttrs=n.invisibleTagAttrs||"style='position:absolute;left:-9999px;'",n.urlEntities){for(o=0,a={},i=n.urlEntities.length;o<i;o++)a[n.urlEntities[o].url]=n.urlEntities[o];n.urlEntities=a}var u="",c=0;r.sort(function(e,r){return e.indices[0]-r.indices[0]});for(var s=n.htmlEscapeNonEntities?el:function(e){return e},o=0;o<r.length;o++){var d=r[o];
1u+=s(e.substring(c,d.indices[0])),d.url?u+=ex(d,e,n):d.hashtag?u+=eb(d,e,n):d.screenName?u+=ek(d,e,n):d.cashtag&&(u+=ey(d,e,n)),c=d.indices[1]}return u+s(e.substring(c,e.length))}let eS=function(e,r,n){if(0!==r.length){var a=0,o=0;r.sort(function(e,r){return e.indices[0]-r.indices[0]});for(var i=0,u=r[0];a<e.length;){if(u.indices[0]===(n?a:o)){var c=u.indices[1]-u.indices[0];if(u.indices[0]=n?o:a,u.indices[1]=u.indices[0]+c,++i===r.length)break;u=r[i]}var s=e.charCodeAt(a);s>=55296&&s<=56319&&a<e.length-1&&(s=e.charCodeAt(a+1))>=56320&&s<=57343&&a++,o++,a++}}};function eE(e,r){eS(e,r,!1)}let ej={version1:{version:1,maxWeightedTweetLength:140,scale:1,defaultWeight:1,transformedURLLength:23,ranges:[]},version2:{version:2,maxWeightedTweetLength:280,scale:100,defaultWeight:200,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]},version3:{version:3,maxWeightedTweetLength:280,scale:100,defaultWeight:200,emojiParsingEnabled:!0,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]},defaults:{version:3,maxWeightedTweetLength:280,scale:100,defaultWeight:200,emojiParsingEnabled:!0,transformedURLLength:23,ranges:[{start:0,end:4351,weight:100},{start:8192,end:8205,weight:100},{start:8208,end:8223,weight:100},{start:8242,end:8247,weight:100}]}};function e_(e){for(var r=[],n=Y(e),a=0;a<n.length;a++)r.push(n[a].hashtag);return r}function eP(e){for(var r,n=[],a=ea(e),o=0;o<a.length;o++)""===(r=a[o]).listSlug&&n.push({screenName:r.screenName,indices:r.indices});return n}function eC(e){for(var r=[],n=eP(e),a=0;a<n.length;a++){var o=n[a].screenName;r.push(o)}return r}var eU=a(/^(?:#{spaces})*#{atSigns}([a-zA-Z0-9_]{1,20})/,{atSigns:ee,spaces:i});e.i(902406);let eT=function(e,r){var n=r.defaultWeight,a=r.ranges,o=n,i=e.charCodeAt(0);if(Array.isArray(a))for(var u=0,c=a.length;u<c;u++){var s=a[u];if(i>=s.start&&i<=s.end){o=s.weight;break}}return o};e.i(470792),e.i(696783),e.i(615572),e.i(931007);var eO=a(/[#{invalidCharsGroup}]/,{invalidCharsGroup:p});function eF(e){return eO.test(e)}var eM=e.i(152486),eB=function(e){return e.reduce(function(e,r){return e[r.indices[0]]=r,e},{})},eI=function(e,r){if(r<e.length-1){var n=e.charCodeAt(r),a=e.charCodeAt(r+1);return 55296<=n&&n<=56319&&56320<=a&&a<=57343}return!1};let eR=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ej.defaults,n=Object.keys(r).length?r:ej.defaults,a=n.defaultWeight,o=n.emojiParsingEnabled,i=n.scale,u=n.maxWeightedTweetLength,c=n.transformedURLLength,s="function"==typeof String.prototype.normalize?e.normalize():e,d=eB(N(s)),l=o?eB((0,eM.parse)(s)):[],f=s.length,p=0,h=0,g=!0,y=0;y<f;y++){if(d[y]){var m=d[y],b=m.url;m.indices,p+=c*i,y+=b.length-1}else if(o&&l[y]){var v=l[y],w=v.text;v.indices,p+=a,y+=w.length-1}else y+=+!!eI(s,y),p+=eT(s.charAt(y),n);g&&(g=!eF(s.substring(y,y+1))),g&&p<=u*i&&(h=y)}p/=i,g=g&&p>0&&p<=u;var x=Math.floor(p/u*1e3);return{weightedLength:p,valid:g,permillage:x,validRangeStart:0,validRangeEnd:h+=e.length-s.length,displayRangeStart:0,displayRangeEnd:e.length>0?e.length-1:0}},eL=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ej.defaults;return eR(e,r).weightedLength};function eD(e){return e.replace($," ").length}function eN(e){for(var r,n,a=e.split("<"),o=[],i=0;i<a.length;i+=1)if(n=a[i]){r=n.split(">");for(var u=0;u<r.length;u+=1)o.push(r[u])}else o.push("");return o}function ez(e){return(ez="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eH(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function eW(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ej.defaults;if(!e)return"empty";var n=function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
1r%2?eH(n,!0).forEach(function(r){!function(e,r,n){var a;(a=function(e,r){if("object"!=ez(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,r||"default");if("object"!=ez(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(r,"string"),(r="symbol"==ez(a)?a:a+"")in e)?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n}(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eH(n).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}({},ej.defaults,{},r),a=n.maxWeightedTweetLength;return eL(e,n)>a?"too_long":!!eF(e)&&"invalid_characters"}e.i(466940),e.i(918461),e.i(775701),e.i(437417),e.i(756876),e.i(776556);var e$=a(/^#{validMentionOrList}$/,{validMentionOrList:en});let eq=/[a-z\u0400-\u04FF0-9\-._~]/i,eQ=/(?:%[0-9a-f]{2})/i,eG=/[!$&'()*+,;=]/i;var eV=a("(?:#{validateUrlUnreserved}|#{validateUrlPctEncoded}|#{validateUrlSubDelims}|:)*",{validateUrlUnreserved:eq,validateUrlPctEncoded:eQ,validateUrlSubDelims:eG},"i");let eZ=/(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?)/i,eJ=/(?:[a-z](?:[a-z0-9\-]*[a-z0-9])?)/i,eK=/(?:[a-z0-9](?:[a-z0-9_\-]*[a-z0-9])?)/i;var eX=a(/(?:(?:#{validateUrlSubDomainSegment}\.)*(?:#{validateUrlDomainSegment}\.)#{validateUrlDomainTld})/i,{validateUrlSubDomainSegment:eK,validateUrlDomainSegment:eZ,validateUrlDomainTld:eJ});let eY=/(?:[0-9]|(?:[1-9][0-9])|(?:1[0-9]{2})|(?:2[0-4][0-9])|(?:25[0-5]))/i;var e0=a(/(?:#{validateUrlDecOctet}(?:\.#{validateUrlDecOctet}){3})/i,{validateUrlDecOctet:eY});let e1=/(?:\[[a-f0-9:\.]+\])/i;var e2=a("(?:#{validateUrlIpv4}|#{validateUrlIpv6})",{validateUrlIpv4:e0,validateUrlIpv6:e1},"i"),e3=a("(?:#{validateUrlIp}|#{validateUrlDomain})",{validateUrlIp:e2,validateUrlDomain:eX},"i");let e5=/[0-9]{1,5}/;var e8=a("(?:(#{validateUrlUserinfo})@)?(#{validateUrlHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:eV,validateUrlHost:e3,validateUrlPort:e5},"i"),e6=a("(?:#{validateUrlUnreserved}|#{validateUrlPctEncoded}
1|#{validateUrlSubDelims}|[:|@])",{validateUrlUnreserved:eq,validateUrlPctEncoded:eQ,validateUrlSubDelims:eG},"i"),e4=a(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:e6}),e7=a(/(\/#{validateUrlPchar}*)*/i,{validateUrlPchar:e6}),e9=a(/(#{validateUrlPchar}|\/|\?)*/i,{validateUrlPchar:e6});let te=/(?:[a-z][a-z0-9+\-.]*)/i;var tt=a("^(?:([^:/?#]+):\\/\\/)?([^/?#]*)([^?#]*)(?:\\?([^#]*))?(?:#(.*))?$","i");let tr=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9_\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,tn=/(?:(?:[a-z0-9]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i,ta=/(?:(?:[a-z]|[^\u0000-\u007f])(?:(?:[a-z0-9\-]|[^\u0000-\u007f])*(?:[a-z0-9]|[^\u0000-\u007f]))?)/i;var to=a(/(?:(?:#{validateUrlUnicodeSubDomainSegment}\.)*(?:#{validateUrlUnicodeDomainSegment}\.)#{validateUrlUnicodeDomainTld})/i,{validateUrlUnicodeSubDomainSegment:tr,validateUrlUnicodeDomainSegment:tn,validateUrlUnicodeDomainTld:ta}),ti=a("(?:#{validateUrlIp}|#{validateUrlUnicodeDomain})",{validateUrlIp:e2,validateUrlUnicodeDomain:to},"i"),tu=a("(?:(#{validateUrlUserinfo})@)?(#{validateUrlUnicodeHost})(?::(#{validateUrlPort}))?",{validateUrlUserinfo:eV,validateUrlUnicodeHost:ti,validateUrlPort:e5},"i");function tc(e,r,n){return n?!e||e.match(r)&&RegExp["$&"]===e:"string"==typeof e&&e.match(r)&&RegExp["$&"]===e}e.i(475893),e.i(416471),e.s(["default",0,{autoLink:function(e,r){var n=eo(e,{extractUrlsWithoutProtocol:!1});return eA(e,n,r)},autoLinkCashtags:function(e,r){var n=c(e);return eA(e,n,r)},autoLinkEntities:eA,autoLinkHashtags:function(e,r){var n=Y(e);return eA(e,n,r)},autoLinkUrlsCustom:function(e,r){var n=N(e,{extractUrlsWithoutProtocol:!1});return eA(e,n,r)},autoLinkUsernamesOrLists:function(e,r){var n=ea(e);return eA(e,n,r)},autoLinkWithJSON:function(e,r,n){if(r.user_mentions)for(var a=0;a<r.user_mentions.length;a++)r.user_mentions[a].screenName=r.user_mentions[a].screen_name;if(r.hashtags)for(var a=0;a<r.hashtags.length;a++)r.hashtags[a].hashtag=r.hashtags[a].text;if(r.symbols)for(var a=0;a<r.symbols.length;a++)r.symbols[a].cashtag=r.symbols[a].text;var o=[];for(var i in r)o=o.concat(r[i]);return eE(e,o),eA(e,o,n)},configs:ej,convertUnicodeIndices:function(e,r,n){if(0!=r.length){var a=0,o=0;r.sort(function(e,r){return e.indices[0]-r.indices[0]});for(var i=0,u=r[0];a<e.length;){if(u.indices[0]==(n?a:o)){var c=u.indices[1]-u.indices[0];if(u.indices[0]=n?o:a,u.indices[1]=u.indices[0]+c,++i==r.length)break;u=r[i]}var s=e.charCodeAt(a);s>=55296&&s<=56319&&a<e.length-1&&(s=e.charCodeAt(a+1))>=56320&&s<=57343&&a++,o++,a++}}},extractCashtags:function(e){for(var r=[],n=c(e),a=0;a<n.length;a++)r.push(n[a].cashtag);return r},extractCashtagsWithIndices:c,extractEntitiesWithIndices:eo,extractHashtags:e_,extractHashtagsWithIndices:Y,extractHtmlAttrsFromOptions:es,extractMentions:eC,extractMentionsOrListsWithIndices:ea,extractMentionsWithIndices:eP,extractReplies:function(e){if(!e)return null;var r=e.match(eU);return!r||RegExp.rightContext.match(et)?null:r[1]},extractUrls:function(e,r){for(var n=[],a=N(e,r),o=0;o<a.length;o++)n.push(a[o].url);return n},extractUrlsWithIndices:N,getTweetLength:eL,getUnicodeTextLength:eD,hasInvalidCharacters:eF,hitHighlight:function(e,r,n){if(n=n||{},0===(r=r||[]).length)return e;var a,o,i,u,c,s,d,l=n.tag||"em",f=["<".concat(l,">"),"</".concat(l,">")],p=eN(e),h="",g=0,y=p[0],m=0,b=0,v=!1,w=y,x=[];for(a=0;a<r.length;a+=1)for(o=0;o<r[a].length;o+=1)x.push(r[a][o]);for(i=0;i<x.length;i+=1){for(u=x[i],c=f[i%2],s=!1;null!=y&&u>=m+y.length;)h+=w.slice(b),v&&u===m+w.length&&(h+=c,s=!0),p[g+1]&&(h+="<".concat(p[g+1],">")),m+=w.length,b=0,g+=2,w=y=p[g],v=!1;s||null==y?s||(s=!0,h+=c):(d=u-m,h+=w.slice(b,d)+c,b=d,v=i%2==0)}if(null!=y)for(b<w.length&&(h+=w.slice(b)),i=g+1;i<p.length;i+=1)h+=i%2==0?p[i]:"<".concat(p[i],">");return h},htmlEscape:el,isInvalidTweet:eW,isValidHashtag:function(e){if(!e)return!1;var r=e_(e);return 1===r.length&&r[0]===e.slice(1)},isValidList:function(e){var r=e.match(e$);return!!(r&&""==r[1]&&r[4])},isValidTweetText:function(e,r){return!eW(e,r)},isValidUrl:function(e,r,n){if(null==r&&(r=!0),null==n&&(n=!0),!e)return!1;var a=e.match(tt);if(!a||a[0]!==e)return!1;var o=a[1],i=a[2],u=a[3],c=a[4],s=a[5];return!!((!n||tc(o,te)&&o.match(/^https?$/i))&&tc(u,e7)&&tc(c,e9,!0)&&tc(s,e4,!0))&&(r&&tc(i,tu)||!r&&tc(i,e8))},isValidUsername:function(e){if(!e)return!1;var r=eC(e);return 1===r.length&&r[0]===e.slice(1)},linkTextWithEntity:ev,linkToCashtag:ey,linkToHashtag:eb,linkToMentionAndList:ek,linkToText:eh,linkToTextWithSymbol:eg,linkToUrl:ex,modifyIndicesFromUTF16ToUnicode:function(e,r){eS(e,r,!0)},modifyIndicesFromUnicodeToUTF16:eE,regexen:{astralLetterAndMarks:H,astralNumerals:Q,atSigns:ee,bmpLetterAndMarks:W,bmpNumerals:G,cashtag:r,codePoint:J,cyrillicLettersAndMarks:A,endHashtagMatch:d,endMentionMatch:et,extractUrl:O,hashSigns:s,hashtagAlpha:q,hashtagAlphaNumeric:Z,hashtagBoundary:K,hashtagSpecialChars:V,invalidChars:eO,invalidCharsGroup:p,invalidDomainChars:g,invali
1dUrlWithoutProtocolPrecedingChars:F,latinAccentChars:S,nonBmpCodePairs:$,punct:n,rtlChars:em,spaces:i,spacesGroup:o,urlHasHttps:/^https:\/\//i,urlHasProtocol:ew,validAsciiDomain:B,validateUrlAuthority:e8,validateUrlDecOctet:eY,validateUrlDomain:eX,validateUrlDomainSegment:eZ,validateUrlDomainTld:eJ,validateUrlFragment:e4,validateUrlHost:e3,validateUrlIp:e2,validateUrlIpv4:e0,validateUrlIpv6:e1,validateUrlPath:e7,validateUrlPchar:e6,validateUrlPctEncoded:eQ,validateUrlPort:e5,validateUrlQuery:e9,validateUrlScheme:te,validateUrlSubDelims:eG,validateUrlSubDomainSegment:eK,validateUrlUnencoded:tt,validateUrlUnicodeAuthority:tu,validateUrlUnicodeDomain:to,validateUrlUnicodeDomainSegment:tn,validateUrlUnicodeDomainTld:ta,validateUrlUnicodeHost:ti,validateUrlUnicodeSubDomainSegment:tr,validateUrlUnreserved:eq,validateUrlUserinfo:eV,validCashtag:u,validCCTLD:l,validDomain:x,validDomainChars:y,validDomainName:m,validGeneralUrlPathChars:E,validGTLD:b,validHashtag:X,validMentionOrList:en,validMentionPrecedingChars:er,validPortNumber:k,validPunycode:v,validReply:eU,validSubdomain:w,validTcoUrl:R,validUrlBalancedParens:j,validUrlPath:P,validUrlPathEndingChars:_,validUrlPrecedingChars:C,validUrlQueryChars:U,validUrlQueryEndingChars:T},removeOverlappingEntities:z,parseTweet:eR,splitTags:eN,standardizeIndices:function(e,r,n){var a=eD(e);if(e.length-a>0){var o=Array.from(e),i=0===r?"":o.slice(0,r).join(""),u=o.slice(r,n).join("");return[i.length,i.length+u.length]}return[r,n]},tagAttrs:ep}],709735)},948163,(e,r,n)=>{"use strict";var a=e.r(199260);r.exports=function(){return a()&&!!Symbol.toStringTag}},105295,(e,r,n)=>{"use strict";var a=e.r(948163)(),o=e.r(795081)("Object.prototype.toString"),i=function(e){return(!a||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===o(e)},u=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"callee"in e&&"[object Function]"===o(e.callee)},c=function(){return i(arguments)}();i.isLegacyArguments=u,r.exports=c?i:u},701054,(e,r,n)=>{"use strict";var a=Function.prototype.call,o=Object.prototype.hasOwnProperty;r.exports=e.r(78387).call(a,o)},787405,(e,r,n)=>{var a="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=a&&o&&"function"==typeof o.get?o.get:null,u=a&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=c&&s&&"function"==typeof s.get?s.get:null,l=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,b=String.prototype.match,v=String.prototype.slice,w=String.prototype.replace,x=String.prototype.toUpperCase,k=String.prototype.toLowerCase,A=RegExp.prototype.test,S=Array.prototype.concat,E=Array.prototype.join,j=Array.prototype.slice,_=Math.floor,P="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,O="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T?"object":"symbol")?Symbol.toStringTag:null,F=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,r){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||A.call(/e/,r))return r;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var a=e<0?-_(-e):_(e);if(a!==e){var o=String(a),i=v.call(r,o.length+1);return w.call(o,n,"$&_")+"."+w.call(w.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(r,n,"$&_")}var I={},R=I.custom,L=q(R)?R:null,D={__proto__:null,double:'"',single:"'"},N={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,r,n){var a=D[n.quoteStyle||r];return a+e+a}function H(e){return!O||!("object"==typeof e&&(O in e||void 0!==e[O]))}function W(e){return"[object Array]"===V(e)&&H(e)}function $(e){return"[object RegExp]"===V(e)&&H(e)}function q(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
1if(!e||"object"!=typeof e||!U)return!1;try{return U.call(e),!0}catch(e){}return!1}r.exports=function r(n,a,o,c){var s,y,x,A,_,C=a||{};if(G(C,"quoteStyle")&&!G(D,C.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(C,"maxStringLength")&&("number"==typeof C.maxStringLength?C.maxStringLength<0&&C.maxStringLength!==1/0:null!==C.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var R=!G(C,"customInspect")||C.customInspect;if("boolean"!=typeof R&&"symbol"!==R)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(C,"indent")&&null!==C.indent&&"	"!==C.indent&&!(parseInt(C.indent,10)===C.indent&&C.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(C,"numericSeparator")&&"boolean"!=typeof C.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Q=C.numericSeparator;if(void 0===n)return"undefined";if(null===n)return"null";if("boolean"==typeof n)return n?"true":"false";if("string"==typeof n)return function e(r,n){if(r.length>n.maxStringLength){var a=r.length-n.maxStringLength;return e(v.call(r,0,n.maxStringLength),n)+("... "+a)+" more character"+(a>1?"s":"")}var o=N[n.quoteStyle||"single"];return o.lastIndex=0,z(w.call(w.call(r,o,"\\$1"),/[\x00-\x1f]/g,J),"single",n)}(n,C);if("number"==typeof n){if(0===n)return 1/0/n>0?"0":"-0";var er=String(n);return Q?B(n,er):er}if("bigint"==typeof n){var en=String(n)+"n";return Q?B(n,en):en}var ea=void 0===C.depth?5:C.depth;if(void 0===o&&(o=0),o>=ea&&ea>0&&"object"==typeof n)return W(n)?"[Array]":"[Object]";var eo=function(e,r){var n;if("	"===e.indent)n="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(r+1),n)}}(C,o);if(void 0===c)c=[];else if(Z(c,n)>=0)return"[Circular]";function ei(e,n,a){if(n&&(c=j.call(c)).push(n),a){var i={depth:C.depth};return G(C,"quoteStyle")&&(i.quoteStyle=C.quoteStyle),r(e,i,o+1,c)}return r(e,C,o+1,c)}if("function"==typeof n&&!$(n)){var eu=function(e){if(e.name)return e.name;var r=b.call(m.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}(n),ec=et(n,ei);return"[Function"+(eu?": "+eu:" (anonymous)")+"]"+(ec.length>0?" { "+E.call(ec,", ")+" }":"")}if(q(n)){var es=T?w.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):U.call(n);return"object"!=typeof n||T?es:K(es)}if((ed=n)&&"object"==typeof ed&&("u">typeof HTMLElement&&ed instanceof HTMLElement||"string"==typeof ed.nodeName&&"function"==typeof ed.getAttribute)){for(var ed,el,ef="<"+k.call(String(n.nodeName)),ep=n.attributes||[],eh=0;eh<ep.length;eh++){ef+=" "+ep[eh].name+"="+z((el=ep[eh].value,w.call(String(el),/"/g,"&quot;")),"double",C)}return ef+=">",n.childNodes&&n.childNodes.length&&(ef+="..."),ef+="</"+k.call(String(n.nodeName))+">"}if(W(n)){if(0===n.length)return"[]";var eg=et(n,ei);return eo&&!function(e){for(var r=0;r<e.length;r++)if(Z(e[r],"\n")>=0)return!1;return!0}(eg)?"["+ee(eg,eo)+"]":"[ "+E.call(eg,", ")+" ]"}if("[object Error]"===V(s=n)&&H(s)){var ey=et(n,ei);return"cause"in Error.prototype||!("cause"in n)||F.call(n,"cause")?0===ey.length?"["+String(n)+"]":"{ ["+String(n)+"] "+E.call(ey,", ")+" }":"{ ["+String(n)+"] "+E.call(S.call("[cause]: "+ei(n.cause),ey),", ")+" }"}if("object"==typeof n&&R){if(L&&"function"==typeof n[L]&&I)return I(n,{depth:ea-o});else if("symbol"!==R&&"function"==typeof n.inspect)return n.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{d.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(n)){var em=[];return u&&u.call(n,function(e,r){em.push(ei(r,n,!0)+" => "+ei(e,n))}),Y("Map",i.call(n),em,eo)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(n)){var eb=[];return l&&l.call(n,function(e){eb.push(ei(e,n))}),Y("Set",d.call(n),eb,eo)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(n))return X("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(n))return X("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(n))return X("WeakRef");if("[object Number]"===V(y=n)&&H(y))return K(ei(Number(n)));if(function(e){if(!e||"object"!=typeof e||!P)return!1;try{return P.call(e),!0}catch(e){}return!1}(n))return K(ei(P.call(n)));if("[object Boolean]"===V(x=n)&&H(x))return K(g.call(n));if("[object String]"===V(A=n)&&H(A))return K(ei(String(n)));if("u">typeof window&&n===window)return"{ [object Window] }";if("u">typeof globalThis&&n===globalThis||n===e.g)return"{ [object globalThis] }";if(!("[object Date]"===V(_=n)&&H(_))&&!$(n)){var ev=et(n,ei),ew=M?M(n)===Object.prototype:n instanceof Object||n.constructor===Object,ex=n instanceof Object?"":"null prototype",ek=!ew&&O&&Object(n)===n&&O in n?v.call(V(n),8,-1):ex?"Object":"",eA=(ew||"function"!=typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"")+(ek||ex?"["+E.call(S.call([],ek||[],ex||[]),": ")+"] ":"");return 0===ev.length?eA+"{}":eo?eA+"{"+ee(ev,eo)+"}":eA+"{ "+E.call(ev,", ")+" }"}return String(n)};var Q=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,r){return Q.call(e,r)}
1function V(e){return y.call(e)}function Z(e,r){if(e.indexOf)return e.indexOf(r);for(var n=0,a=e.length;n<a;n++)if(e[n]===r)return n;return -1}function J(e){var r=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return n?"\\"+n:"\\x"+(r<16?"0":"")+x.call(r.toString(16))}function K(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Y(e,r,n,a){return e+" ("+r+") {"+(a?ee(n,a):E.call(n,", "))+"}"}function ee(e,r){if(0===e.length)return"";var n="\n"+r.prev+r.base;return n+E.call(e,","+n)+"\n"+r.prev}function et(e,r){var n,a=W(e),o=[];if(a){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=G(e,i)?r(e[i],e):""}var u="function"==typeof C?C(e):[];if(T){n={};for(var c=0;c<u.length;c++)n["$"+u[c]]=u[c]}for(var s in e)if(G(e,s)&&(!a||String(Number(s))!==s||!(s<e.length)))if(T&&n["$"+s]instanceof Symbol)continue;else A.call(/[^\w$]/,s)?o.push(r(s,e)+": "+r(e[s],e)):o.push(s+": "+r(e[s],e));if("function"==typeof C)for(var d=0;d<u.length;d++)F.call(e,u[d])&&o.push("["+r(u[d])+"]: "+r(e[u[d]],e));return o}},174353,(e,r,n)=>{"use strict";var a=e.r(787405),o=e.r(231473),i=function(e,r,n){for(var a,o=e;null!=(a=o.next);o=a)if(a.key===r)return o.next=a.next,n||(a.next=e.next,e.next=a),a},u=function(e,r){if(e){var n=i(e,r);return n&&n.value}},c=function(e,r,n){var a=i(e,r);a?a.value=n:e.next={key:r,next:e.next,value:n}},s=function(e,r){if(e)return i(e,r,!0)};r.exports=function(){var e,r={assert:function(e){if(!r.has(e))throw new o("Side channel does not contain "+a(e))},delete:function(r){var n=s(e,r);return n&&e&&!e.next&&(e=void 0),!!n},get:function(r){return u(e,r)},has:function(r){var n;return!!(n=e)&&!!i(n,r)},set:function(r,n){e||(e={next:void 0}),c(e,r,n)}};return r}},975251,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(795081),i=e.r(787405),u=e.r(231473),c=a("%Map%",!0),s=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),l=o("Map.prototype.has",!0),f=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);r.exports=!!c&&function(){var e,r={assert:function(e){if(!r.has(e))throw new u("Side channel does not contain "+i(e))},delete:function(r){if(e){var n=f(e,r);return 0===p(e)&&(e=void 0),n}return!1},get:function(r){if(e)return s(e,r)},has:function(r){return!!e&&l(e,r)},set:function(r,n){e||(e=new c),d(e,r,n)}};return r}},720719,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(795081),i=e.r(787405),u=e.r(975251),c=e.r(231473),s=a("%WeakMap%",!0),d=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);r.exports=s?function(){var e,r,n={assert:function(e){if(!n.has(e))throw new c("Side channel does not contain "+i(e))},delete:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(u&&r)return r.delete(n);return!1},get:function(n){return s&&n&&("object"==typeof n||"function"==typeof n)&&e?d(e,n):r&&r.get(n)},has:function(n){return s&&n&&("object"==typeof n||"function"==typeof n)&&e?f(e,n):!!r&&r.has(n)},set:function(n,a){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),l(e,n,a)):u&&(r||(r=u()),r.set(n,a))}};return n}:u},305479,(e,r,n)=>{"use strict";var a=e.r(231473),o=e.r(787405),i=e.r(174353),u=e.r(975251),c=e.r(720719)||u||i;r.exports=function(){var e,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+(e&&Object(e)===e?"the given object key":o(e)))},delete:function(r){return!!e&&e.delete(r)},get:function(r){return e&&e.get(r)},has:function(r){return!!e&&e.has(r)},set:function(r,n){e||(e=c()),e.set(r,n)}};return r}},50968,(e,r,n)=>{"use strict";var a=e.r(701054),o=e.r(305479)(),i=e.r(231473),u={assert:function(e,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof r)throw new i("`slot` must be a string");if(o.assert(e),!u.has(e,r))throw new i("`"+r+"` is not present on `O`")},get:function(e,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof r)throw new i("`slot` must be a string");var n=o.get(e);return n&&n["$"+r]},has:function(e,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");
1if("string"!=typeof r)throw new i("`slot` must be a string");var n=o.get(e);return!!n&&a(n,"$"+r)},set:function(e,r,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`O` is not an object");if("string"!=typeof r)throw new i("`slot` must be a string");var a=o.get(e);a||(a={},o.set(e,a)),a["$"+r]=n}};Object.freeze&&Object.freeze(u),r.exports=u},510413,(e,r,n)=>{"use strict";var a=e.r(50968),o=e.r(26857),i="object"==typeof StopIteration?StopIteration:null;r.exports=function(e){if(!i)throw new o("this environment lacks StopIteration");a.set(e,"[[Done]]",!1);var r={next:function(){var e=a.get(this,"[[Iterator]]"),r=!!a.get(e,"[[Done]]");try{return{done:r,value:r?void 0:e.next()}}catch(r){if(a.set(e,"[[Done]]",!0),r!==i)throw r;return{done:!0,value:void 0}}}};return a.set(r,"[[Iterator]]",e),r}},691037,(e,r,n)=>{var a={}.toString;r.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},526079,(e,r,n)=>{"use strict";var a=e.r(795081),o=a("String.prototype.valueOf"),i=function(e){try{return o(e),!0}catch(e){return!1}},u=a("Object.prototype.toString"),c=e.r(948163)();r.exports=function(e){return"string"==typeof e||!!e&&"object"==typeof e&&(c?i(e):"[object String]"===u(e))}},181479,(e,r,n)=>{"use strict";var a,o="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;o||(a=function(e){return!1});var u=o?Map.prototype.has:null,c=i?Set.prototype.has:null;a||u||(a=function(e){return!1}),r.exports=a||function(e){if(!e||"object"!=typeof e)return!1;try{if(u.call(e),c)try{c.call(e)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},422296,(e,r,n)=>{"use strict";var a,o="function"==typeof Map&&Map.prototype?Map:null,i="function"==typeof Set&&Set.prototype?Set:null;i||(a=function(e){return!1});var u=o?Map.prototype.has:null,c=i?Set.prototype.has:null;a||c||(a=function(e){return!1}),r.exports=a||function(e){if(!e||"object"!=typeof e)return!1;try{if(c.call(e),u)try{u.call(e)}catch(e){return!0}return e instanceof i}catch(e){}return!1}},56403,(e,r,n)=>{"use strict";var a=e.i(24826),o=e.r(105295),i=e.r(510413);if(e.r(811880)()||e.r(199260)()){var u=Symbol.iterator;r.exports=function(e){return null!=e&&void 0!==e[u]?e[u]():o(e)?Array.prototype[u].call(e):void 0}}else{var c=e.r(691037),s=e.r(526079),d=e.r(343473),l=d("%Map%",!0),f=d("%Set%",!0),p=e.r(819392),h=p("Array.prototype.push"),g=p("String.prototype.charCodeAt"),y=p("String.prototype.slice"),m=function(e,r){if(r+1>=e.length)return r+1;var n=g(e,r);if(n<55296||n>56319)return r+1;var a=g(e,r+1);return a<56320||a>57343?r+1:r+2},b=function(e){var r=0;return{next:function(){var n,a=r>=e.length;return a||(n=e[r],r+=1),{done:a,value:n}}}},v=function(e,r){if(c(e)||o(e))return b(e);if(s(e)){var n=0;return{next:function(){var r=m(e,n),a=y(e,n,r);return n=r,{done:r>e.length,value:a}}}}if(r&&void 0!==e["_es6-shim iterator_"])return e["_es6-shim iterator_"]()};if(l||f){var w=e.r(181479),x=e.r(422296),k=p("Map.prototype.forEach",!0),A=p("Set.prototype.forEach",!0);if(void 0===a.default||!a.default.versions||!a.default.versions.node)var S=p("Map.prototype.iterator",!0),E=p("Set.prototype.iterator",!0);var j=p("Map.prototype.@@iterator",!0)||p("Map.prototype._es6-shim iterator_",!0),_=p("Set.prototype.@@iterator",!0)||p("Set.prototype._es6-shim iterator_",!0),P=function(e){if(w(e)){if(S)return i(S(e));if(j)return j(e);if(k){var r=[];return k(e,function(e,n){h(r,[n,e])}),b(r)}}if(x(e)){if(E)return i(E(e));if(_)return _(e);if(A){var n=[];return A(e,function(e){h(n,e)}),b(n)}}};r.exports=function(e){return P(e)||v(e)}}else r.exports=function(e){if(null!=e)return v(e,!0)}}},524270,(e,r,n)=>{"use strict";var a=e.r(787405),o=e.r(231473),i=function(e,r,n){for(var a,o=e;null!=(a=o.next);o=a)if(a.key===r)return o.next=a.next,n||(a.next=e.next,e.next=a),a},u=function(e,r){if(e){var n=i(e,r);return n&&n.value}},c=function(e,r,n){var a=i(e,r);a?a.value=n:e.next={key:r,next:e.next,value:n}},s=function(e,r){if(e)return i(e,r,!0)};r.exports=function(){var e,r={assert:function(e){if(!r.has(e))throw new o("Side channel does not contain "+a(e))},delete:function(r){var n=e&&e.next,a=s(e,r);return a&&n&&n===a&&(e=void 0),!!a},get:function(r){return u(e,r)},has:function(r){var n;return!!(n=e)&&!!i(n,r)},set:function(r,n){e||(e={next:void 0}),c(e,r,n)}};return r}},168251,(e,r,n)=>{"use strict";var a=e.r(231473),o=e.r(787405),i=e.r(524270),u=e.r(975251),c=e.r(720719)||u||i;r.exports=function(){var e,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(r){return!!e&&e.delete(r)},get:function(r){return e&&e.get(r)},has:function(r){return!!e&&e.has(r)},set:function(r,n){e||(e=c()),e.set(r,n)}};return r}},964683,(e,r,n)=>{"use strict";var a=function(e){return e!=e};r.exports=function(e,r){return 0===e&&0===r?1/e==1/r:!!(e===r||a(e)&&a(r))}},310568,(e,r,n)=>{"use strict";var a=e.r(964683);r.exports=function(){return"function"==typeof Object.is?Object.is:a}},712164,(e,r,n)=>{"use strict";var a=e.r(310568),o=e.r(395882);r.exports=function(){var e=a();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},88282,(e,r,n)=>{"use strict";var a=e.r(395882),o=e.r(63366),i=e.r(964683),u=e.r(310568),c=e.r(712164),s=o(u(),Object);a(s,{getPolyfill:u,implementation:i,shim:c}),r.exports=s},61490,(e,r,n)=>{"use strict";var a=e.r(63366),o=e.r(795081),i=e.r(343473)("%ArrayBuffer%",!0),u=o("ArrayBuffer.prototype.byteLength",!0),c=o("Ob
1ject.prototype.toString"),s=!!i&&!u&&new i(0).slice,d=!!s&&a(s);r.exports=u||d?function(e){if(!e||"object"!=typeof e)return!1;try{return u?u(e):d(e,0),!0}catch(e){return!1}}:i?function(e){return"[object ArrayBuffer]"===c(e)}:function(e){return!1}},841020,(e,r,n)=>{"use strict";var a=e.r(795081),o=a("Date.prototype.getDay"),i=function(e){try{return o(e),!0}catch(e){return!1}},u=a("Object.prototype.toString"),c=e.r(948163)();r.exports=function(e){return"object"==typeof e&&null!==e&&(c?i(e):"[object Date]"===u(e))}},650865,(e,r,n)=>{"use strict";var a,o=e.r(795081),i=e.r(948163)(),u=e.r(816322),c=e.r(83585);if(i){var s=o("RegExp.prototype.exec"),d={},l=function(){throw d},f={toString:l,valueOf:l};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=l),a=function(e){if(!e||"object"!=typeof e)return!1;var r=c(e,"lastIndex");if(!(r&&u(r,"value")))return!1;try{s(e,f)}catch(e){return e===d}}}else{var p=o("Object.prototype.toString");a=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===p(e)}}r.exports=a},40500,(e,r,n)=>{"use strict";var a=e.r(795081)("SharedArrayBuffer.prototype.byteLength",!0);r.exports=a?function(e){if(!e||"object"!=typeof e)return!1;try{return a(e),!0}catch(e){return!1}}:function(e){return!1}},812289,(e,r,n)=>{"use strict";var a=e.r(795081),o=a("Number.prototype.toString"),i=function(e){try{return o(e),!0}catch(e){return!1}},u=a("Object.prototype.toString"),c=e.r(948163)();r.exports=function(e){return"number"==typeof e||!!e&&"object"==typeof e&&(c?i(e):"[object Number]"===u(e))}},248664,(e,r,n)=>{"use strict";var a=e.r(795081),o=a("Boolean.prototype.toString"),i=a("Object.prototype.toString"),u=function(e){try{return o(e),!0}catch(e){return!1}},c=e.r(948163)();r.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(c?u(e):"[object Boolean]"===i(e))}},280885,(e,r,n)=>{"use strict";var a=e.r(795081),o=e.r(650865),i=a("RegExp.prototype.exec"),u=e.r(231473);r.exports=function(e){if(!o(e))throw new u("`regex` must be a RegExp");return function(r){return null!==i(e,r)}}},981889,(e,r,n)=>{"use strict";var a=e.r(795081),o=a("Object.prototype.toString"),i=e.r(811880)(),u=e.r(280885);if(i){var c=a("Symbol.prototype.toString"),s=u(/^Symbol\(.*\)$/);r.exports=function(e){if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||"[object Symbol]"!==o(e))return!1;try{return"symbol"==typeof e.valueOf()&&s(c(e))}catch(e){return!1}}}else r.exports=function(e){return!1}},874635,(e,r,n)=>{"use strict";var a="u">typeof BigInt&&BigInt;r.exports=function(){return"function"==typeof a&&"function"==typeof BigInt&&"bigint"==typeof a(42)&&"bigint"==typeof BigInt(42)}},124612,(e,r,n)=>{"use strict";if(e.r(874635)()){var a=BigInt.prototype.valueOf,o=function(e){try{return a.call(e),!0}catch(e){}return!1};r.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||o(e))}}else r.exports=function(e){return!1}},616437,(e,r,n)=>{"use strict";var a=e.r(526079),o=e.r(812289),i=e.r(248664),u=e.r(981889),c=e.r(124612);r.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:a(e)?"String":o(e)?"Number":i(e)?"Boolean":u(e)?"Symbol":c(e)?"BigInt":void 0}},684968,(e,r,n)=>{"use strict";var a,o="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,i="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;o||(a=function(e){return!1});var u=o?o.prototype.has:null,c=i?i.prototype.has:null;a||u||(a=function(e){return!1}),r.exports=a||function(e){if(!e||"object"!=typeof e)return!1;try{if(u.call(e,u),c)try{c.call(e,c)}catch(e){return!0}return e instanceof o}catch(e){}return!1}},169149,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(795081),i=a("%WeakSet%",!0),u=o("WeakSet.prototype.has",!0);if(u){var c=o("WeakMap.prototype.has",!0);r.exports=function(e){if(!e||"object"!=typeof e)return!1;try{if(u(e,u),c)try{c(e,c)}catch(e){return!0}return e instanceof i}catch(e){}return!1}}else r.exports=function(e){return!1}},943412,(e,r,n)=>{"use strict";var a=e.r(181479),o=e.r(422296),i=e.r(684968),u=e.r(169149);r.exports=function(e){if(e&&"object"==typeof e){if(a(e))return"Map";if(o(e))return"Set";if(i(e))return"WeakMap";if(u(e))return"WeakSet"}return!1}},108354,(e,r,n)=>{"use strict";var a,o,i=Function.prototype.toString,u="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof u&&"function"==typeof Object.defineProperty)try{a=Object.defineProperty({},"length",{get:function(){throw o}}),o={},u(function(){throw 42},null,a)}catch(e){e!==o&&(u=null)}else u=null;var c=/^\s*class\b/,s=function(e){try{var r=i.call(e);return c.test(r)}catch(e){return!1}},d=function(e){try{if(s(e))return!1;return i.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,f="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),h=function(){return!1};if("object"==typeof document){var g=document.all;l.call(g)===l.call(document.all)&&(h=function(e){if((p||!e)&&(void 0===e||"object"==typeof e))try{var r=l.call(e);return("[object HTMLAllCollection]"===r||"[object HTML document.all class]"===r||"[object HTMLCollection]"===r||"[object Object]"===r)&&null==e("")}catch(e){}return!1})}r.exports=u?function(e){if(h(e))return!0;
1if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{u(e,null,a)}catch(e){if(e!==o)return!1}return!s(e)&&d(e)}:function(e){if(h(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(f)return d(e);if(s(e))return!1;var r=l.call(e);return("[object Function]"===r||"[object GeneratorFunction]"===r||!!/^\[object HTML/.test(r))&&d(e)}},80925,(e,r,n)=>{"use strict";var a=e.r(108354),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,u=function(e,r,n){for(var a=0,o=e.length;a<o;a++)i.call(e,a)&&(null==n?r(e[a],a,e):r.call(n,e[a],a,e))},c=function(e,r,n){for(var a=0,o=e.length;a<o;a++)null==n?r(e.charAt(a),a,e):r.call(n,e.charAt(a),a,e)},s=function(e,r,n){for(var a in e)i.call(e,a)&&(null==n?r(e[a],a,e):r.call(n,e[a],a,e))};r.exports=function(e,r,n){var i;if(!a(r))throw TypeError("iterator must be a function");(arguments.length>=3&&(i=n),"[object Array]"===o.call(e))?u(e,r,i):"string"==typeof e?c(e,r,i):s(e,r,i)}},611741,(e,r,n)=>{"use strict";r.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},44253,(e,r,n)=>{"use strict";var a=e.r(611741),o="u"<typeof globalThis?e.g:globalThis;r.exports=function(){for(var e=[],r=0;r<a.length;r++)"function"==typeof o[a[r]]&&(e[e.length]=a[r]);return e}},960549,(e,r,n)=>{"use strict";var a=e.r(80925),o=e.r(44253),i=e.r(63366),u=e.r(795081),c=e.r(83585),s=e.r(211915),d=u("Object.prototype.toString"),l=e.r(948163)(),f="u"<typeof globalThis?e.g:globalThis,p=o(),h=u("String.prototype.slice"),g=u("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return -1},y={__proto__:null};l&&c&&s?a(p,function(e){var r=new f[e];
1if(Symbol.toStringTag in r&&s){var n=s(r),a=c(n,Symbol.toStringTag);!a&&n&&(a=c(s(n),Symbol.toStringTag)),y["$"+e]=i(a.get)}}):a(p,function(e){var r=new f[e],n=r.slice||r.set;n&&(y["$"+e]=i(n))});var m=function(e){var r=!1;return a(y,function(n,a){if(!r)try{"$"+n(e)===a&&(r=h(a,1))}catch(e){}}),r},b=function(e){var r=!1;return a(y,function(n,a){if(!r)try{n(e),r=h(a,1)}catch(e){}}),r};r.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!l){var r=h(d(e),8,-1);return g(p,r)>-1?r:"Object"===r&&b(e)}return c?m(e):null}},249753,(e,r,n)=>{"use strict";var a=e.r(795081)("ArrayBuffer.prototype.byteLength",!0),o=e.r(61490);r.exports=function(e){return o(e)?a?a(e):e.byteLength:NaN}},221332,(e,r,n)=>{"use strict";var a=e.r(735676),o=e.r(819392),i=e.r(495516),u=e.r(343473),c=e.r(56403),s=e.r(168251),d=e.r(88282),l=e.r(105295),f=e.r(691037),p=e.r(61490),h=e.r(841020),g=e.r(650865),y=e.r(40500),m=e.r(625229),b=e.r(616437),v=e.r(943412),w=e.r(960549),x=e.r(249753),k=o("SharedArrayBuffer.prototype.byteLength",!0),A=o("Date.prototype.getTime"),S=Object.getPrototypeOf,E=o("Object.prototype.toString"),j=u("%Set%",!0),_=o("Map.prototype.has",!0),P=o("Map.prototype.get",!0),C=o("Map.prototype.size",!0),U=o("Set.prototype.add",!0),T=o("Set.prototype.delete",!0),O=o("Set.prototype.has",!0),F=o("Set.prototype.size",!0);function M(e,r,n,a){for(var o,i=c(e);(o=i.next())&&!o.done;)if(R(r,o.value,n,a))return T(e,o.value),!0;return!1}function B(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function I(e,r,n,a,o,i){for(var u,s,d=c(e);(u=d.next())&&!u.done;)if(R(n,s=u.value,o,i)&&R(a,P(r,s),o,i))return T(e,s),!0;return!1}function R(e,r,n,o){var u,s=n||{};if(s.strict?d(e,r):e===r)return!0;if(b(e)!==b(r))return!1;if(!e||!r||"object"!=typeof e&&"object"!=typeof r)return s.strict?d(e,r):e==r;var T=o.has(e),D=o.has(r);if(T&&D){if(o.get(e)===o.get(r))return!0}else u={};return T||o.set(e,u),D||o.set(r,u),function(e,r,n,o){if(typeof e!=typeof r||null==e||null==r||E(e)!==E(r)||l(e)!==l(r)||f(e)!==f(r))return!1;var u,s,d=e instanceof Error,b=r instanceof Error;if(d!==b||(d||b)&&(e.name!==r.name||e.message!==r.message))return!1;var T=g(e),D=g(r);if(T!==D||(T||D)&&(e.source!==r.source||i(e)!==i(r)))return!1;var N=h(e),z=h(r);if(N!==z||(N||z)&&A(e)!==A(r)||n.strict&&S&&S(e)!==S(r))return!1;var H=w(e),W=w(r);if(H!==W)return!1;if(H||W){if(e.length!==r.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==r[u])return!1;return!0}var $=L(e),q=L(r);if($!==q)return!1;if($||q){if(e.length!==r.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==r[u])return!1;return!0}var Q=p(e),G=p(r);if(Q!==G)return!1;if(Q||G)return x(e)===x(r)&&"function"==typeof Uint8Array&&R(new Uint8Array(e),new Uint8Array(r),n,o);var V=y(e),Z=y(r);if(V!==Z)return!1;if(V||Z)return k(e)===k(r)&&"function"==typeof Uint8Array&&R(new Uint8Array(e),new Uint8Array(r),n,o);if(typeof e!=typeof r)return!1;var J=m(e),K=m(r);if(J.length!==K.length)return!1;for(J.sort(),K.sort(),u=J.length-1;u>=0;u--)if(J[u]!=K[u])return!1;for(u=J.length-1;u>=0;u--)if(!R(e[s=J[u]],r[s],n,o))return!1;var X=v(e),Y=v(r);return X===Y&&("Set"===X||"Set"===Y?function(e,r,n,a){if(F(e)!==F(r))return!1;for(var o,i,u,s=c(e),d=c(r);(o=s.next())&&!o.done;)if(o.value&&"object"==typeof o.value)u||(u=new j),U(u,o.value);else if(!O(r,o.value)){if(n.strict||!function(e,r,n){var a=B(n);return null!=a?a:O(r,a)&&!O(e,a)}(e,r,o.value))return!1;u||(u=new j),U(u,o.value)}if(u){for(;(i=d.next())&&!i.done;
1)if(i.value&&"object"==typeof i.value){if(!M(u,i.value,n.strict,a))return!1}else if(!n.strict&&!O(e,i.value)&&!M(u,i.value,n.strict,a))return!1;return 0===F(u)}return!0}(e,r,n,o):"Map"!==X||function(e,r,n,o){if(C(e)!==C(r))return!1;for(var i,u,s,d,l,f,p=c(e),h=c(r);(i=p.next())&&!i.done;)if(d=i.value[0],l=i.value[1],d&&"object"==typeof d)s||(s=new j),U(s,d);else if(void 0===(f=P(r,d))&&!_(r,d)||!R(l,f,n,o)){if(n.strict||!function(e,r,n,o,i,u){var c=B(n);if(null!=c)return c;var s=P(r,c),d=a({},i,{strict:!1});return(void 0!==s||!!_(r,c))&&!!R(o,s,d,u)&&!_(e,c)&&R(o,s,d,u)}(e,r,d,l,n,o))return!1;s||(s=new j),U(s,d)}if(s){for(;(u=h.next())&&!u.done;)if(d=u.value[0],f=u.value[1],d&&"object"==typeof d){if(!I(s,e,d,f,n,o))return!1}else if(!n.strict&&(!e.has(d)||!R(P(e,d),f,n,o))&&!I(s,e,d,f,a({},n,{strict:!1}),o))return!1;return 0===F(s)}return!0}(e,r,n,o))}(e,r,s,o)}function L(e){return!!e&&"object"==typeof e&&"number"==typeof e.length&&"function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0)||"number"==typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}r.exports=function(e,r,n){return R(e,r,n,s())}},742760,(e,r,n)=>{var a,o="__lodash_hash_undefined__",i="[object Arguments]",u="[object Boolean]",c="[object Date]",s="[object Function]",d="[object GeneratorFunction]",l="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",g="[object RegExp]",y="[object Set]",m="[object String]",b="[object Symbol]",v="[object WeakMap]",w="[object ArrayBuffer]",x="[object DataView]",k="[object Float32Array]",A="[object Float64Array]",S="[object Int8Array]",E="[object Int16Array]",j="[object Int32Array]",_="[object Uint8Array]",P="[object Uint8ClampedArray]",C="[object Uint16Array]",U="[object Uint32Array]",T=/\w*$/,O=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,M={};M[i]=M["[object Array]"]=M[w]=M[x]=M[u]=M[c]=M[k]=M[A]=M[S]=M[E]=M[j]=M[l]=M[f]=M[p]=M[g]=M[y]=M[m]=M[b]=M[_]=M[P]=M[C]=M[U]=!0,M["[object Error]"]=M[s]=M[v]=!1;var B=e.g&&e.g.Object===Object&&e.g,I="object"==typeof self&&self&&self.Object===Object&&self,R=B||I||Function("return this")(),L=n&&!n.nodeType&&n,D=L&&r&&!r.nodeType&&r,N=D&&D.exports===L;function z(e,r){return e.set(r[0],r[1]),e}function H(e,r){return e.add(r),e}function W(e,r,n,a){var o=-1,i=e?e.length:0;for(a&&i&&(n=e[++o]);++o<i;)n=r(n,e[o],o,e);return n}function $(e){var r=!1;if(null!=e&&"function"!=typeof e.toString)try{r=!!(e+"")}catch(e){}return r}function q(e){var r=-1,n=Array(e.size);return e.forEach(function(e,a){n[++r]=[a,e]}),n}function Q(e,r){return function(n){return e(r(n))}}function G(e){var r=-1,n=Array(e.size);return e.forEach(function(e){n[++r]=e}),n}var V=Array.prototype,Z=Function.prototype,J=Object.prototype,K=R["__core-js_shared__"],X=(a=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",Y=Z.toString,ee=J.hasOwnProperty,et=J.toString,er=RegExp("^"+Y.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=N?R.Buffer:void 0,ea=R.Symbol,eo=R.Uint8Array,ei=Q(Object.getPrototypeOf,Object),eu=Object.create,ec=J.propertyIsEnumerable,es=V.splice,ed=Object.getOwnPropertySymbols,el=en?en.isBuffer:void 0,ef=Q(Object.keys,Object),ep=eB(R,"DataView"),eh=eB(R,"Map"),eg=eB(R,"Promise"),ey=eB(R,"Set"),em=eB(R,"WeakMap"),eb=eB(Object,"create"),ev=eD(ep),ew=eD(eh),ex=eD(eg),ek=eD(ey),eA=eD(em),eS=ea?ea.prototype:void 0,eE=eS?eS.valueOf:void 0;function ej(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function e_(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function eP(e){var r=-1,n=e?e.length:0;for(this.clear();++r<n;){var a=e[r];this.set(a[0],a[1])}}function eC(e){this.__data__=new e_(e)}function eU(e,r,n){var a=e[r];ee.call(e,r)&&eN(a,n)&&(void 0!==n||r in e)||(e[r]=n)}function eT(e,r){for(var n=e.length;n--;)if(eN(e[n][0],r))return n;return -1}function eO(e){var r=new e.constructor(e.byteLength);return new eo(r).set(new eo(e)),r}function eF(e,r,n,a){n||(n={});for(var o=-1,i=r.length;++o<i;){var u=r[o],c=a?a(n[u],e[u],u,n,e):void 0;eU(n,u,void 0===c?e[u]:c)}return n}function eM(e,r){var n,a,o=e.__data__;return("string"==(a=typeof(n=r))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function eB(e,r){var n,a=null==e?void 0:e[r];return!(!eq(a)||(n=a,X&&X in n))&&(e$(a)||$(a)?er:O).test(eD(a))?a:void 0}ej.prototype.clear=function(){this.__data__=eb?eb(null):{}},ej.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ej.prototype.get=function(e){var r=this.__data__;if(eb){var n=r[e];return n===o?void 0:n}return ee.call(r,e)?r[e]:void 0},ej.prototype.has=function(e){var r=this.__data__;return eb?void 0!==r[e]:ee.call(r,e)},ej.prototype.set=function(e,r){return this.__data__[e]=eb&&void 0===r?o:r,this},e_.prototype.clear=function(){this.__data__=[]},e_.prototype.delete=function(e){var r=this.__data__,n=eT(r,e);return!(n<0)&&(n==r.length-1?r.pop():es.call(r,n,1),!0)},e_.prototype.get=function(e){var r=this.__data__,n=eT(r,e);return n<0?void 0:r[n][1]},e_.prototype.has=function(e){return eT(this.__data__,e)>-1},e_.prototype.set=function(e,r){var n=this.__data__,a=eT(n,e);return a<0?n.push([e,r]):n[a][1]=r,this},eP.prototype.clear=function(){this.__data__={hash:new ej,map:new(eh||e_),string:new ej}},eP.prototype.delete=function(e){return eM(this,e).delete(e)},eP.prototype.get=function(e){return eM(this,e).get(e)},eP.prototype.has=function(e){return eM(this,e).has(e)},eP.prototype.set=function(e,r){return eM(this,e).set(e,r),this},eC.prototype.clear=function(){this.__data__=new e_},eC.prototype.delete=function(e){return this.__data__.delete(e)},eC.prototype.get=function(e){return this.__data__.get(e)},eC.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.set=function(e,r){var n=this.__data__;if(n instanceof e_){var a=n.__data__;if(!eh||a.length<199)return a.push([e,r]),this;n=this.__data__=new eP(a)}return n.set(e,r),this};var eI=ed?Q(ed,Object):function(){return[]},eR=function(e){return et.call(e)};function eL(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||J)}function eD(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eN(e,r){return e===r||e!=e&&r!=r}(ep&&eR(new ep(new ArrayBuffer(1)))!=x||eh&&eR(new eh)!=l||eg&&eR(eg.resolve())!=h||ey&&eR(new ey)!=y||em&&eR(new em)!=v)&&(eR=function(e){var r=et.call(e),n=r==p?e.constructor:void 0,a=n?eD(n):void 0;if(a)switch(a){case ev:return x;case ew:return l;case ex:return h;case ek:return y;case eA:return v}return r});var ez=Array.isArray;function eH(e){var r;return null!=e&&"number"==typeof(r=e.length)&&r>-1&&r%1==0&&r<=0x1fffffffffffff&&!e$(e)}var eW=el||function(){return!1};function e$(e){var r=eq(e)?et.call(e):"";return r==s||r==d}function eq(e){var r=typeof e;return!!e&&("object"==r||"function"==r)}function eQ(e){return eH(e)?function(e){var r,n,a,o,u,c=ez(e)||(a=n=r=e)&&"object"==typeof a&&eH(n)&&ee.call(r,"callee")&&(!ec.call(r,"callee")||et.call(r)==i)?function(e,r){for(var n=-1,a=Array(e);++n<e;)a[n]=r(n);return a}(e.length,String):[],s=c.length,d=!!s;for(var l in e){ee.call(e,l)&&!(d&&("length"==l||(o=l,(u=null==(u=s)?0x1fffffffffffff:u)&&("number"==typeof o||F.test(o))&&o>-1&&o%1==0&&o<u)))&&c.push(l)}return c}(e):function(e){if(!eL(e))return ef(e);var r=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&r.push(n);return r}(e)}r.exports=function(e){return function e(r,n,a,o,h,v,O){if(o&&(F=v?o(r,h,v,O):o(r)),void 0!==F)return F;if(!eq(r))return r;var F,B=ez(r);if(B){if(R=(I=r).length,L=I.constructor(R),R&&"string"==typeof I[0]&&ee.call(I,"index")&&(L.index=I.index,L.input=I.input),F=L,!n){var I,R,L,D=r,N=F,Q=-1,V=D.length;for(N||(N=Array(V));++Q<V;)N[Q]=D[Q];return N}}else{var Z,J,K,X,Y,et=eR(r),er=et==s||et==d;if(eW(r)){var en=r,ea=n;if(ea)return en.slice();
1var eo=new en.constructor(en.length);return en.copy(eo),eo}if(et==p||et==i||er&&!v){if($(r))return v?r:{};if(F="function"!=typeof(Z=er?{}:r).constructor||eL(Z)?{}:eq(J=ei(Z))?eu(J):{},!n){return K=r,X=(Y=F)&&eF(r,eQ(r),Y),eF(K,eI(K),X)}}else{if(!M[et])return v?r:{};F=function(e,r,n,a){var o,i,s,d=e.constructor;switch(r){case w:return eO(e);case u:case c:return new d(+e);case x:return o=a?eO(e.buffer):e.buffer,new e.constructor(o,e.byteOffset,e.byteLength);case k:case A:case S:case E:case j:case _:case P:case C:case U:return i=a?eO(e.buffer):e.buffer,new e.constructor(i,e.byteOffset,e.length);case l:return W(a?n(q(e),!0):q(e),z,new e.constructor);case f:case m:return new d(e);case g:return(s=new e.constructor(e.source,T.exec(e))).lastIndex=e.lastIndex,s;case y:return W(a?n(G(e),!0):G(e),H,new e.constructor);case b:return eE?Object(eE.call(e)):{}}}(r,et,e,n)}}O||(O=new eC);var ec=O.get(r);if(ec)return ec;if(O.set(r,F),!B)var es=a?function(e){var r;return r=eQ(e),ez(e)?r:function(e,r){for(var n=-1,a=r.length,o=e.length;++n<a;)e[o+n]=r[n];return e}(r,eI(e))}(r):eQ(r);return!function(e,r){for(var n=-1,a=e?e.length:0;++n<a&&!1!==r(e[n],n,e););}(es||r,function(i,u){es&&(i=r[u=i]),eU(F,u,e(i,n,a,o,u,r,O))}),F}(e,!0,!0)}},662831,(e,r,n)=>{"use strict";var a=Object.prototype.toString;r.exports=function(e){var r=a.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===a.call(e.callee)),n}},117247,(e,r,n)=>{"use strict";var a;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,u=e.r(662831),c=Object.prototype.propertyIsEnumerable,s=!c.call({toString:null},"toString"),d=c.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var r=e.constructor;return r&&r.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("u"<typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),g=function(e){if("u"<typeof window||!h)return f(e);try{return f(e)}catch(e){return!1}};a=function(e){var r=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),a=u(e),c=r&&"[object String]"===i.call(e),f=[];if(!r&&!n&&!a)throw TypeError("Object.keys called on a non-object");var p=d&&n;if(c&&e.length>0&&!o.call(e,0))for(var h=0;h<e.length;++h)f.push(String(h));if(a&&e.length>0)for(var y=0;y<e.length;++y)f.push(String(y));else for(var m in e)!(p&&"prototype"===m)&&o.call(e,m)&&f.push(String(m));if(s)for(var b=g(e),v=0;v<l.length;++v)!(b&&"constructor"===l[v])&&o.call(e,l[v])&&f.push(l[v]);return f}}r.exports=a},625229,(e,r,n)=>{"use strict";var a=Array.prototype.slice,o=e.r(662831),i=Object.keys,u=i?function(e){return i(e)}:e.r(117247),c=Object.keys;u.shim=function(){return Object.keys?!function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)&&(Object.keys=function(e){return o(e)?c(a.call(e)):c(e)}):Object.keys=u,Object.keys||u},r.exports=u},393155,(e,r,n)=>{"use strict";var a=Object.defineProperty||!1;if(a)try{a({},"a",{value:1})}catch(e){a=!1}r.exports=a},26857,(e,r,n)=>{"use strict";r.exports=SyntaxError},231473,(e,r,n)=>{"use strict";r.exports=TypeError},484153,(e,r,n)=>{"use strict";r.exports=Object.getOwnPropertyDescriptor},83585,(e,r,n)=>{"use strict";var a=e.r(484153);if(a)try{a([],"length")}catch(e){a=null}r.exports=a},533308,(e,r,n)=>{"use strict";var a=e.r(393155),o=e.r(26857),i=e.r(231473),u=e.r(83585);r.exports=function(e,r,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof r&&"symbol"!=typeof r)throw new i("`property` must be a string or a symbol`");
1if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],f=!!u&&u(e,r);if(a)a(e,r,{configurable:null===d&&f?f.configurable:!d,enumerable:null===c&&f?f.enumerable:!c,value:n,writable:null===s&&f?f.writable:!s});else if(!l&&(c||s||d))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[r]=n}},425311,(e,r,n)=>{"use strict";var a=e.r(393155),o=function(){return!!a};o.hasArrayLengthDefineBug=function(){if(!a)return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},r.exports=o},395882,(e,r,n)=>{"use strict";var a=e.r(625229),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,u=Array.prototype.concat,c=e.r(533308),s=e.r(425311)(),d=function(e,r,n,a){if(r in e){if(!0===a){if(e[r]===n)return}else if("function"!=typeof a||"[object Function]"!==i.call(a)||!a())return}s?c(e,r,n,!0):c(e,r,n)},l=function(e,r){var n=arguments.length>2?arguments[2]:{},i=a(r);o&&(i=u.call(i,Object.getOwnPropertySymbols(r)));for(var c=0;c<i.length;c+=1)d(e,i[c],r[i[c]],n[i[c]])};l.supportsDescriptors=!!s,r.exports=l},314174,(e,r,n)=>{"use strict";r.exports=Object},892715,(e,r,n)=>{"use strict";r.exports=Error},607829,(e,r,n)=>{"use strict";r.exports=EvalError},498493,(e,r,n)=>{"use strict";r.exports=RangeError},167914,(e,r,n)=>{"use strict";r.exports=ReferenceError},991878,(e,r,n)=>{"use strict";r.exports=URIError},978866,(e,r,n)=>{"use strict";r.exports=Math.abs},365335,(e,r,n)=>{"use strict";r.exports=Math.floor},922083,(e,r,n)=>{"use strict";r.exports=Math.max},640465,(e,r,n)=>{"use strict";r.exports=Math.min},18849,(e,r,n)=>{"use strict";r.exports=Math.pow},97988,(e,r,n)=>{"use strict";r.exports=Math.round},636469,(e,r,n)=>{"use strict";r.exports=Number.isNaN||function(e){return e!=e}},366205,(e,r,n)=>{"use strict";var a=e.r(636469);r.exports=function(e){return a(e)||0===e?e:e<0?-1:1}},199260,(e,r,n)=>{"use strict";r.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},r=Symbol("test"),n=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var a in e[r]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,r);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},811880,(e,r,n)=>{"use strict";var a="u">typeof Symbol&&Symbol,o=e.r(199260);r.exports=function(){return"function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&o()}},277146,(e,r,n)=>{"use strict";r.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},121572,(e,r,n)=>{"use strict";r.exports=Object},818991,(e,r,n)=>{"use strict";r.exports=e.r(121572).getPrototypeOf||null},992819,(e,r,n)=>{"use strict";var a=Object.prototype.toString,o=Math.max,i=function(e,r){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var o=0;o<r.length;o+=1)n[o+e.length]=r[o];return n},u=function(e,r){for(var n=[],a=r||0,o=0;a<e.length;a+=1,o+=1)n[o]=e[a];return n},c=function(e,r){for(var n="",a=0;a<e.length;a+=1)n+=e[a],a+1<e.length&&(n+=r);return n};r.exports=function(e){var r,n=this;if("function"!=typeof n||"[object Function]"!==a.apply(n))throw TypeError("Function.prototype.bind called on incompatible "+n);
1for(var s=u(arguments,1),d=o(0,n.length-s.length),l=[],f=0;f<d;f++)l[f]="$"+f;if(r=Function("binder","return function ("+c(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof r){var a=n.apply(this,i(s,arguments));return Object(a)===a?a:this}return n.apply(e,i(s,arguments))}),n.prototype){var p=function(){};p.prototype=n.prototype,r.prototype=new p,p.prototype=null}return r}},78387,(e,r,n)=>{"use strict";var a=e.r(992819);r.exports=Function.prototype.bind||a},487957,(e,r,n)=>{"use strict";r.exports=Function.prototype.call},996077,(e,r,n)=>{"use strict";r.exports=Function.prototype.apply},628403,(e,r,n)=>{"use strict";r.exports="u">typeof Reflect&&Reflect&&Reflect.apply},510938,(e,r,n)=>{"use strict";var a=e.r(78387),o=e.r(996077),i=e.r(487957);r.exports=e.r(628403)||a.call(i,o)},954767,(e,r,n)=>{"use strict";var a=e.r(78387),o=e.r(231473),i=e.r(487957),u=e.r(510938);r.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return u(a,i,e)}},905408,(e,r,n)=>{"use strict";var a,o=e.r(954767),i=e.r(83585);try{a=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var u=!!a&&i&&i(Object.prototype,"__proto__"),c=Object,s=c.getPrototypeOf;r.exports=u&&"function"==typeof u.get?o([u.get]):"function"==typeof s&&function(e){return s(null==e?e:c(e))}},211915,(e,r,n)=>{"use strict";var a=e.r(277146),o=e.r(818991),i=e.r(905408);r.exports=a?function(e){return a(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},816322,(e,r,n)=>{"use strict";var a=Function.prototype.call,o=Object.prototype.hasOwnProperty;r.exports=e.r(78387).call(a,o)},343473,(e,r,n)=>{"use strict";var a=e.r(314174),o=e.r(892715),i=e.r(607829),u=e.r(498493),c=e.r(167914),s=e.r(26857),d=e.r(231473),l=e.r(991878),f=e.r(978866),p=e.r(365335),h=e.r(922083),g=e.r(640465),y=e.r(18849),m=e.r(97988),b=e.r(366205),v=Function,w=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=e.r(83585),k=e.r(393155),A=function(){throw new d},S=x?function(){try{return arguments.callee,A}catch(e){try{return x(arguments,"callee").get}catch(e){return A}}}():A,E=e.r(811880)(),j=e.r(211915),_=e.r(818991),P=e.r(277146),C=e.r(996077),U=e.r(487957),T={},O="u">typeof Uint8Array&&j?j(Uint8Array):void 0,F={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":E&&j?j([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"u"<typeof Atomics?void 0:Atomics,"%BigInt%":"u"<typeof BigInt?void 0:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"u"<typeof Float16Array?void 0:Float16Array,"%Float32Array%":"u"<typeof Float32Array?void 0:Float32Array,"%Float64Array%":"u"<typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":T,"%Int8Array%":"u"<typeof Int8Array?void 0:Int8Array,"%Int16Array%":"u"<typeof Int16Array?void 0:Int16Array,"%Int32Array%":"u"<typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":E&&j?j(j([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"u"<typeof Map?void 0:Map,"%MapIteratorPrototype%":"u">typeof Map&&E&&j?j(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?void 0:Promise,"%Proxy%":"u"<typeof Proxy?void 0:Proxy,"%RangeError%":u,"%ReferenceError%":c,"%Reflect%":"u"<typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?void 0:Set,"%SetIteratorPrototype%":"u">typeof Set&&E&&j?j(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&j?j(""[Symbol.iterator]()):void 0,"%Symbol%":E?Symbol:void 0,"%SyntaxError%":s,"%ThrowTypeError%":S,"%TypedArray%":O,"%TypeError%":d,"%Uint8Array%":"u"<typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?void 0:Uint32Array,"%URIError%":l,"%WeakMap%":"u"<typeof WeakMap?void 0:WeakMap,"%WeakRef%":"u"<typeof WeakRef?void 0:WeakRef,"%WeakSet%":"u"<typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":U,"%Function.prototype.apply%":C,"%Object.defineProperty%":k,"%Object.getPrototypeOf%":_,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":g,"%Math.pow%":y,"%Math.round%":m,"%Math.sign%":b,"%Reflect.getPrototypeOf%":P};if(j)try{null.error}catch(e){var M=j(j(e));F["%Error.prototype%"]=M}var B=function e(r){var n;if("%AsyncFunction%"===r)n=w("async function () {}");else if("%GeneratorFunction%"===r)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===r)n=w("async function* () {}");else if("%AsyncGenerator%"===r){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===r){var o=e("%AsyncGenerator%");o&&j&&(n=j(o.prototype))}return F[r]=n,n},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=e.r(78387),L=e.r(816322),D=R.call(U,Array.prototype.concat),N=R.call(C,Array.prototype.splice),z=R.call(U,String.prototype.replace),H=R.call(U,String.prototype.slice),W=R.call(U,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,q=/\\(\\)?/g,Q=function(e){var r=H(e,0,1),n=H(e,-1);if("%"===r&&"%"!==n)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new s("invalid intrinsic syntax, expected opening `%`");var a=[];return z(e,$,function(e,r,n,o){a[a.length]=n?z(o,q,"$1"):r||e}),a},G=function(e,r){var n,a=e;if(L(I,a)&&(a="%"+(n=I[a])[0]+"%"),L(F,a)){var o=F[a];if(o===T&&(o=B(a)),void 0===o&&!r)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:o}}throw new s("intrinsic "+e+" does not exist!")};
1r.exports=function(e,r){if("string"!=typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new d('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Q(e),a=n.length>0?n[0]:"",o=G("%"+a+"%",r),i=o.name,u=o.value,c=!1,l=o.alias;l&&(a=l[0],N(n,D([0,1],l)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f],g=H(h,0,1),y=H(h,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new s("property names with quotes must have matching quotes");if("constructor"!==h&&p||(c=!0),a+="."+h,L(F,i="%"+a+"%"))u=F[i];else if(null!=u){if(!(h in u)){if(!r)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&f+1>=n.length){var m=x(u,h);u=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:u[h]}else p=L(u,h),u=u[h];p&&!c&&(F[i]=u)}}return u}},693549,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(533308),i=e.r(425311)(),u=e.r(83585),c=e.r(231473),s=a("%Math.floor%");r.exports=function(e,r){if("function"!=typeof e)throw new c("`fn` is not a function");if("number"!=typeof r||r<0||r>0xffffffff||s(r)!==r)throw new c("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,d=!0;if("length"in e&&u){var l=u(e,"length");l&&!l.configurable&&(a=!1),l&&!l.writable&&(d=!1)}return(a||d||!n)&&(i?o(e,"length",r,!0,!0):o(e,"length",r)),e}},389973,(e,r,n)=>{"use strict";var a=e.r(78387),o=e.r(996077),i=e.r(510938);r.exports=function(){return i(a,o,arguments)}},63366,(e,r,n)=>{"use strict";var a=e.r(693549),o=e.r(393155),i=e.r(954767),u=e.r(389973);r.exports=function(e){var r=i(arguments),n=e.length-(arguments.length-1);return a(r,1+(n>0?n:0),!0)},o?o(r.exports,"apply",{value:u}):r.exports.apply=u},795081,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(954767),i=o([a("%String.prototype.indexOf%")]);r.exports=function(e,r){var n=a(e,!!r);return"function"==typeof n&&i(e,".prototype.")>-1?o([n]):n}},603272,(e,r,n)=>{"use strict";var a=e.r(625229),o=e.r(199260)(),i=e.r(795081),u=e.r(314174),c=i("Array.prototype.push"),s=i("Object.prototype.propertyIsEnumerable"),d=o?u.getOwnPropertySymbols:null;r.exports=function(e,r){if(null==e)throw TypeError("target must be an object");var n=u(e);if(1==arguments.length)return n;for(var i=1;i<arguments.length;++i){var l=u(arguments[i]),f=a(l),p=o&&(u.getOwnPropertySymbols||d);if(p)for(var h=p(l),g=0;g<h.length;++g){var y=h[g];s(l,y)&&c(f,y)}for(var m=0;m<f.length;++m){var b=f[m];if(s(l,b)){var v=l[b];n[b]=v}}}return n}},614637,(e,r,n)=>{"use strict";var a=e.r(603272),o=function(){for(var e="abcdefghijklmnopqrst",r=e.split(""),n={},a=0;a<r.length;++a)n[r[a]]=r[a];var o=Object.assign({},n),i="";for(var u in o)i+=u;return e!==i},i=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(r){return"y"===e[1]}return!1};r.exports=function(){return o()||i()?a:Object.assign}},327773,(e,r,n)=>{"use strict";var a=e.r(395882),o=e.r(614637);r.exports=function(){var e=o();return a(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},735676,(e,r,n)=>{"use strict";var a=e.r(395882),o=e.r(63366),i=e.r(603272),u=e.r(614637),c=e.r(327773),s=o.apply(u()),d=function(e,r){return s(Object,arguments)};a(d,{getPolyfill:u,implementation:i,shim:c}),r.exports=d},819392,(e,r,n)=>{"use strict";var a=e.r(343473),o=e.r(63366),i=o(a("String.prototype.indexOf"));r.exports=function(e,r){var n=a(e,!!r);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},506754,(e,r,n)=>{"use strict";var a=function(){return"string"==typeof(function(){}).name},o=Object.getOwnPropertyDescriptor;if(o)try{o([],"length")}catch(e){o=null}a.functionsHaveConfigurableNames=function(){if(!a()||!o)return!1;var e=o(function(){},"name");return!!e&&!!e.configurable};var i=Function.prototype.bind;a.boundFunctionsHaveNames=function(){return a()&&"function"==typeof i&&""!==(function(){}).bind().name},r.exports=a},346335,(e,r,n)=>{"use strict";var a=e.r(533308),o=e.r(425311)(),i=e.r(506754).functionsHaveConfigurableNames(),u=e.r(231473);r.exports=function(e,r){if("function"!=typeof e)throw new u("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||i)&&(o?a(e,"name",r,!0,!0):a(e,"name",r)),e}}
1,491215,(e,r,n)=>{"use strict";var a=e.r(346335),o=e.r(231473),i=Object;r.exports=a(function(){if(this==null||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)},480124,(e,r,n)=>{"use strict";var a=e.r(491215),o=e.r(395882).supportsDescriptors,i=Object.getOwnPropertyDescriptor;r.exports=function(){if(o&&"gim"===/a/mig.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),e.get.call(n),"dy"===r)return e.get}}return a}},566135,(e,r,n)=>{"use strict";var a=e.r(395882).supportsDescriptors,o=e.r(480124),i=e.r(83585),u=Object.defineProperty,c=e.r(892715),s=e.r(211915),d=/a/;r.exports=function(){if(!a||!s)throw new c("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),r=s(d),n=i(r,"flags");return n&&n.get===e||u(r,"flags",{configurable:!0,enumerable:!1,get:e}),e}},495516,(e,r,n)=>{"use strict";var a=e.r(395882),o=e.r(63366),i=e.r(491215),u=e.r(480124),c=e.r(566135),s=o(u());a(s,{getPolyfill:u,implementation:i,shim:c}),r.exports=s},873462,75717,647336,682587,309085,865853,124036,e=>{"use strict";e.s(["EditorProvider",()=>H,"EditorTypes",()=>D,"default",()=>W,"sizeByType",()=>N],873462);var r=e.i(47153),n=e.i(855815),a=e.i(585458),o=e.i(804132),i=e.i(987325),u=e.i(884065),c=e.i(63869),s=e.i(135268),d=e.i(320034),l=e.i(62388),f=e.i(311315),p=e.i(674214),h=e.i(426002),g=e.i(197895),y=e.i(818279),m=e.i(6705),b=e.i(869141),v=e.i(765638),w=e.i(709735);function x(e){return w.default.parseTweet(e)}var k=e.i(742760);let A=function(e,r,n){let a=(0,k.default)(e);if(!a.content)return{...a.attrs,text:"",charCount:0};let o=a.type,i=(a.content??[]).map(e=>Array.isArray(e.content)?e.content.map(e=>e.text).join(""):e.content&&"object"==typeof e.content&&e.content.text||"").join("\n"),u=String(i).match(/status\/(\d+)/)?.[1]||"",c=function(e){if(!e||!Array.isArray(e))return[];let r=e.filter(e=>"image"===e.type);return r.length?r.map(e=>({url:e.attrs.src,alt:e.attrs.alt,id:e.attrs.id})):[]}(a?.content),s={...a.attrs,text:i,link:u,charCount:0,isThreadFinisher:!1,isSelected:!1,images:c};if(r){let e=r[r.length-1],u=e?.attrs?.id===a?.attrs?.id,c=r[n]?.attrs?.id===a?.attrs?.id;s.charCount="Tweet_Thread_Post"===o?x(i).weightedLength:i.length,s.isThreadFinisher=u,s.isSelected=c}return s},S=({editor:e})=>{let r=e.getJSON().content;if(!r)return;let n="Tweet_Thread_Post";r.forEach(a=>{if("Tweet_Thread_Post"===a.type||"Threads_Thread_Post"===a.type||"Bluesky_Thread_Post"===a.type){n=a.type;let o=A(a,r,(0,v.getSelectedTweetIndex)(e));a.attrs=o}});let a=e.view.state.selection.head;e.chain().setMeta("preventUpdate",!0).setContent(r).setTextSelection(a).run();let o=e.chain();for(let a=0;a<r.length;a++){let{start:i,end:u}=(0,v.tweetEditorPosition)(e,a);o.setMeta("preventUpdate",!0).setTextSelection({from:i,to:u}).unsetHighlight();let c=((e.storage.kvStorage?.headNumbering??[])[a]??0)+((e.storage.kvStorage.tailNumbering??[])[a]??0),s=r[a],d=s?.attrs?.text||"",l=n?.toString().replace("_Post",""),f=(0,b.getPlatformConfig)(l),p=localStorage?.getItem("twitter-verified")==="true",h="Tweet_Thread"===l&&p&&f.longformLimit||f.characterLimit;if("Threads_Thread_Post"===n||"Bluesky_Thread_Post"===n)d.length>h&&o.setTextSelection({from:i+h,to:u}).setHighlight({color:"hsla(360, 100%, 65%, 0.25)"});else if("Tweet_Thread_Post"===n&&!x(String(c)+d).valid&&s){let e=d.substring(0,h).split("\n").length+1,r=i+h+e,n=function(e){let r=[],n=e.attrs.text;e?.content?.length&&(r=e.content.map(e=>e?.content?.find(e=>e?.type==="mention")).filter(e=>!!e).map(e=>e?.attrs?.id?e.attrs.id:null).filter(e=>null!==e));let a=w.default.extractMentionsWithIndices(n);if(r.length){let n=a.filter(e=>r.includes(e.screenName));return n.length?n.filter(r=>
1r.indices[0]<e.attrs.charCount).reduce((e,r)=>e+r.screenName.length,0):0}return 0}(s);o.setTextSelection({from:r-c-n,to:u}).setHighlight({color:"hsla(360, 100%, 65%, 0.25)"})}}if(o.setTextSelection(a).run(),r.length,e.chain().focus(1),e.extensionStorage.customHistory.shouldIgnoreAddToHistory)e.extensionStorage.customHistory.shouldIgnoreAddToHistory=!1;else{let{addToHistory:r}=e.commands;r()}return r};e.s(["default",0,S],75717);let E=e=>{let r=[...e];return r.sort((e,r)=>null===e.order||null===r.order?0:e.order-r.order),r};function j({className:e}){return(0,r.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M7 18C7 18.5523 7.44772 19 8 19H20C20.5523 19 21 18.5523 21 18C21 17.4477 20.5523 17 20 17H8C7.44772 17 7 17.4477 7 18ZM7 12C7 12.5523 7.44772 13 8 13H20C20.5523 13 21 12.5523 21 12C21 11.4477 20.5523 11 20 11H8C7.44772 11 7 11.4477 7 12ZM8 5C7.44772 5 7 5.44772 7 6C7 6.55228 7.44772 7 8 7H20C20.5523 7 21 6.55228 21 6C21 5.44772 20.5523 5 20 5H8Z"}),(0,r.jsx)("path",{d:"M3.44105 5.092C3.29705 5.272 3.11705 5.424 2.90105 5.548C2.68505 5.672 2.45505 5.748 2.21105 5.776V4.9C2.51105 4.836 2.76905 4.72 2.98505 4.552C3.20105 4.38 3.36305 4.17 3.47105 3.922H4.40705V8.5H3.44105V5.092Z"}),(0,r.jsx)("path",{d:"M1.89305 14.5V13.792L3.31505 12.514C3.58705 12.274 3.78705 12.056 3.91505 11.86C4.04705 11.664 4.11305 11.476 4.11305 11.296C4.11305 11.1 4.05905 10.944 3.95105 10.828C3.84705 10.712 3.68505 10.654 3.46505 10.654C3.22905 10.654 3.04705 10.728 2.91905 10.876C2.79505 11.02 2.72505 11.246 2.70905 11.554H1.83305C1.84905 10.994 1.99705 10.568 2.27705 10.276C2.56105 9.984 2.96105 9.838 3.47705 9.838C3.76905 9.838 4.02905 9.894 4.25705 10.006C4.48505 10.114 4.66305 10.272 4.79105 10.48C4.92305 10.688 4.98905 10.932 4.98905 11.212C4.98905 11.564 4.88705 11.892 4.68305 12.196C4.47905 12.5 4.22905 12.792 3.93305 13.072L3.32705 13.63H5.18105V14.5H1.89305Z"}),(0,r.jsx)("path",{d:"M3.51905 20.59C3.18305 20.59 2.88505 20.528 2.62505 20.404C2.36505 20.276 2.15905 20.096 2.00705 19.864C1.85505 19.628 1.77105 19.352 1.75505 19.036H2.72705C2.78305 19.528 3.05305 19.774 3.53705 19.774C3.76505 19.774 3.93705 19.714 4.05305 19.594C4.17305 19.474 4.23305 19.312 4.23305 19.108C4.23305 18.692 3.95905 18.484 3.41105 18.484H3.13505V17.716H3.37505C3.56305 17.716 3.71305 17.668 3.82505 17.572C3.94105 17.472 3.99905 17.338 3.99905 17.17C3.99905 17.01 3.95105 16.884 3.85505 16.792C3.76305 16.7 3.62505 16.654 3.44105 16.654C3.07305 16.654 2.86105 16.854 2.80505 17.254H1.93505C1.95105 16.97 2.02505 16.72 2.15705 16.504C2.28905 16.288 2.46705 16.122 2.69105 16.006C2.91505 15.89 3.17105 15.832 3.45905 15.832C3.74705 15.832 4.00105 15.888 4.22105 16C4.44505 16.108 4.61905 16.258 4.74305 16.45C4.86705 16.642 4.92905 16.858 4.92905 17.098C4.92905 17.322 4.86905 17.516 4.74905 17.68C4.63305 17.844 4.46905 17.95 4.25705 17.998C4.57305 18.034 4.80905 18.158 4.96505 18.37C5.12505 18.578 5.20505 18.828 5.20505 19.12C5.20505 19.408 5.13505 19.664 4.99505 19.888C4.85505 20.108 4.65705 20.28 4.40105 20.404C4.14505 20.528 3.85105 20.59 3.51905 20.59Z"})]})}function _({className:e}
1){return(0,r.jsx)("svg",{className:e,fill:"currentColor",stroke:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M4 10.5C3.17 10.5 2.5 11.17 2.5 12C2.5 12.83 3.17 13.5 4 13.5C4.83 13.5 5.5 12.83 5.5 12C5.5 11.17 4.83 10.5 4 10.5ZM4 4.5C3.17 4.5 2.5 5.17 2.5 6C2.5 6.83 3.17 7.5 4 7.5C4.83 7.5 5.5 6.83 5.5 6C5.5 5.17 4.83 4.5 4 4.5ZM4 16.5C3.17 16.5 2.5 17.18 2.5 18C2.5 18.82 3.18 19.5 4 19.5C4.82 19.5 5.5 18.82 5.5 18C5.5 17.18 4.83 16.5 4 16.5ZM7 18C7 18.5523 7.44772 19 8 19H20C20.5523 19 21 18.5523 21 18V18C21 17.4477 20.5523 17 20 17H8C7.44772 17 7 17.4477 7 18V18ZM7 12C7 12.5523 7.44772 13 8 13H20C20.5523 13 21 12.5523 21 12V12C21 11.4477 20.5523 11 20 11H8C7.44772 11 7 11.4477 7 12V12ZM8 5C7.44772 5 7 5.44772 7 6V6C7 6.55228 7.44772 7 8 7H20C20.5523 7 21 6.55228 21 6V6C21 5.44772 20.5523 5 20 5H8Z"})})}e.s(["orderImagesByOrderAttr",0,E],647336);let P=[{name:"Text",text:"Simple, plain text",value:"p",icon:(0,r.jsx)("div",{className:"flex h-4 w-4 items-center justify-center text-xs font-medium",children:(0,r.jsx)("span",{children:"P"})})},{name:"Heading 1",text:"A big heading",value:"h1",icon:(0,r.jsx)("div",{className:"flex h-4 w-4 items-center justify-center text-xs font-medium",children:(0,r.jsx)("span",{children:"H1"})})},{name:"Heading 2",text:"A medium heading",value:"h2",icon:(0,r.jsx)("div",{className:"flex h-4 w-4 items-center justify-center text-xs font-medium",children:(0,r.jsx)("span",{children:"H2"})})},{name:"Heading 3",text:"A small heading",value:"h3",icon:(0,r.jsx)("div",{className:"flex h-4 w-4 items-center justify-center text-xs font-medium",children:(0,r.jsx)("span",{children:"H3"})})},{name:"Blockquote",text:"A quote block",value:"blockquote",icon:(0,r.jsx)("div",{className:"font-primary flex h-4 w-4 items-center justify-center pt-2.5 text-xl font-medium",children:(0,r.jsx)("span",{children:"”"})})},{name:"Code",text:"A code block",value:"code",icon:(0,r.jsx)(_,{className:"h-4 w-4"})},{name:"Bullet List",text:"An unordered list",value:"bullet-list",icon:(0,r.jsx)(_,{className:"h-4 w-4 fill-current"})},{name:"Numbered List",text:"A numbered list",value:"numbered-list",icon:(0,r.jsx)(j,{className:"h-4 w-4 fill-current"})}],C=[{name:"Paragraph",text:"Simple, plain text",value:"p",icon:(0,r.jsx)("div",{className:"flex h-5 w-5 items-center justify-center text-base font-medium",children:(0,r.jsx)("p",{children:"P"})}),type:"any"},{name:"Heading 1",text:"A big heading",value:"h1",icon:(0,r.jsx)("div",{className:"flex h-5 w-5 items-center justify-center text-base font-medium",children:(0,r.jsx)("p",{children:"H1"})}),type:"essay"},{name:"Heading 2",text:"A medium heading",value:"h2",icon:(0,r.jsx)("div",{className:"flex h-5 w-5 items-center justify-center text-base font-medium",children:(0,r.jsx)("p",{children:"H2"})}),type:"essay"},{name:"Image",text:"Upload an image or gif",value:"img",icon:(0,r.jsx)(function({className:e}){return(0,r.jsx)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.75 16L7.49619 12.5067C8.2749 11.5161 9.76453 11.4837 10.5856 12.4395L13 15.25M10.915 12.823C11.9522 11.5037 13.3973 9.63455 13.4914 9.51294C13.4947 9.50859 13.4979 9.50448 13.5013 9.50017C14.2815 8.51598 15.7663 8.48581 16.5856 9.43947L19 12.25M6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25Z"})})},{className:"h-5 w-5"}),type:"any"},{name:"Blockquote",text:"A quote block",value:"blockquote",icon:(0,r.jsx)("div",{className:"font-primary flex h-5 w-5 items-center justify-center pt-2 text-2xl font-medium",children:(0,r.jsx)("p",{children:"”"})}),type:"essay"},{name:"Code",text:"A code block",value:"code",icon:(0,r.jsx)(_,{className:"h-5 w-5"}),type:"essay"},{name:"Bullet List",text:"An unordered list",value:"bullet-list",icon:(0,r.jsx)(_,{className:"h-5 w-5 fill-current"}),type:"any"},{name:"Numbered List",text:"A numbered list",value:"numbered-list",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),type:"essay"}],U=[{value:"tips",name:"Tips",emoji:"💡",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>A few tips to solve {Problem}:</p><p></p><p>• {Tip #1}</p><p>• {Tip #2}</p><p>• {Tip #3}</p><p></p><p>The reason is because {Reason}.</p>"},{value:"steps",name:"Steps",emoji:"🪜",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>A few steps you can take to solve {Problem} & unlock {Outcome}:</p><p></p><p>• {Step #1}</p><p>• {Step #2}</p><p>• {Step #3}</p><p></p><p>Just focus on these.</p><p></p><p>Ignore everything else.</p>"},{value:"lessons",name:"Lessons",emoji:"🧑‍🏫",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>
1Most people have to learn these lessons the hard way:</p><p></p><p>• {Lesson #1}</p><p>• {Lesson #2}</p><p>• {Lesson #3}</p><p></p><p>Hopefully, by reading this you won’t have to.</p>"},{value:"story",name:"Story",emoji:"📖",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>In the beginning, {Beginning Of Story}.</p><p></p><p>And by the end, {End Of Story}.</p><p></p><p>The lesson?</p><p></p><p>{Lesson}.</p>"},{value:"framework",name:"Framework",emoji:"🏗️",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>Here’s an easy framework to understand how this works:</p><p></p><p>• {Action Step #1}</p><p>• {Action Step #2}</p><p>• {Action Step #3}</p><p></p><p>See? Easy.</p>"},{value:"benefits",name:"Benefits",emoji:"🎁",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>If you do this, here’s what’s going to happen:</p><p></p><p>• {Benefit #1}</p><p>• {Benefit #2}</p><p>• {Benefit #3}</p><p>• {Benefit #4}</p><p>• {Benefit #5}</p><p></p><p>Life-changing stuff.</p>"},{value:"examples",name:"Examples",emoji:"📚",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>Here are a few examples to reinforce the point:</p><p></p><p>• {Example}</p><p>• {Example}</p><p>• {Example}</p><p></p><p>Success stories like these are everywhere.</p>"},{value:"questions",name:"Questions",emoji:"🧑‍🏫",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>A few questions you can ask yourself to {Outcome}:</p><p></p><p>1. {Question}</p><p>2. {Question}</p><p>3. {Question}</p><p></p><p>These will steer you in the right direction.</p>"},{value:"resources",name:"Resources",emoji:"📒",pro:!1,includes:["thread"],content:"<p>{Main Point}</p><p></p><p>Here are some resources if you’re struggling with {Problem}:</p><p></p><p>• {Resource #1}</p><p>• {Resource #2}</p><p>• {Resource #3}</p><p></p><p>Bookmark these.</p>"},{value:"recap",name:"Recap",emoji:"📝",pro:!1,includes:["thread"],content:"<p>{Topic} Recap:</p><p></p><p>• {Main Point #1}</p><p>• {Main Point #2}</p><p>• {Main Point #3}</p><p>• {Main Point #4}</p><p>• {Main Point #5}</p>"},{name:"1/3/1 Introduction",text:"Template for great intros",value:"131-intro",icon:(0,r.jsx)("div",{className:"flex h-5 w-5 items-center justify-center text-sm",children:(0,r.jsx)("p",{children:"131"})}),pro:!1,includes:["Atomic_Essay","Atomic_Essay_v2","Medium_Story","Blog_Post","LinkedIn_Post"],content:"<p>Single sentence strong opinion.</p><p>Three sentences explaining why you have this opinion. Explain where it comes from and why it's so important to you. Give an example.</p><p>And here's why you should care too.</p><p></p>"},{name:"1/3/1 + 1/3/1 Section",text:"1/3/1 template for sections",value:"131-section",icon:(0,r.jsx)("div",{className:"flex h-5 w-5 items-center justify-center text-sm",children:(0,r.jsx)("p",{children:"131"})}),pro:!1,includes:["Atomic_Essay","Atomic_Essay_v2","Medium_Story","Blog_Post","LinkedIn_Post"],content:"<p>Strong opinion single sentence opener.</p><p>Explain to the reader why you have this opinion. Tell them why it matters so much to you, how you adopted this opinion, who you learned it from or how you discovered it for yourself. Then give them a quick example.</p><p>Unfortunately, most people don't agree.</p><p>Now give them a single-sentence myth as to why most people disagree.</p><p>Explain what most people get wrong and misunderstand. Say why this causes them to stay stuck where they are. And point out the benefit they can unlock if they follow your advice, overcome the myth, and move in a different direction.</p>"},{name:"Quick List of Reasons",text:"Reasons people should do...",value:"reasons-list",icon:(0,r.jsx)(_,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay","Atomic_Essay_v2","Medium_Story","thread","LinkedIn_Post","Blog_Post"],content:"<p>There are 5 reasons why most people should do X:</p><ul><li><p>Reason #1: What is it, and why does it matter?</p></li><li><p>Reason #2: What is it, and why does it matter?</p></li><li><p>Reason #3: What is it, and why does it matter?</p></li><li><p>Reason #4: What is it, and why does it matter?</p></li><li><p>Reason #5: What is it, and why does it matter?</p></li></ul>"},{name:"Quick List of Mistakes",text:"Common mistakes when doing...",value:"thread-opener",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay","Atomic_Essay_v2","Medium_Story","thread","LinkedIn_Post","Blog_Post"],content:"<p>There are 3 big mistakes most people make when trying to do X:</p><ul><li><p>Mistake #1: What is it, and why does it matter?</p></li><li><p>Mistake #2: What is it, and why does it matter?</p></li><li><p>Mistake #3: What is it, and why does it matter?</p></li></ul>"}],T=[{name:"Simple Point",text:"Simple Point",value:"simple-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
2    <rhythmblock data-rhythm-block-structure="simple-point" data-block-type="Introduction Block" data-title="Simple Point" data-logo="simple-point" data-rhythm-block-view="edit" >
3      <structuredsentences data-rhythm-block-structure="simple-point" data-order=1 data-color="pink" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
4        <p></p>
5      </structuredsentences>
6      <structuredsentences data-rhythm-block-structure="simple-point" data-order=2 data-color="purple" data-title="Three Sentence Body" data-description="These 3 sentences will be combined into a paragraph" data-length="3" data-rhythm-block-view="edit" >
7        <p></p>
8      </structuredsentences>
9      <structuredsentences data-rhythm-block-structure="simple-point" data-order=3 data-color="pink" data-title="Single Sentence Conclusion" data-description="Writing a closing sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
10        <p></p>
11      </structuredsentences>
12    </rhythmblock>
13    `},{name:"Detailed Point",text:"Detailed Point",value:"detailed-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
14    <rhythmblock data-rhythm-block-structure="detailed-point" data-block-type="Introduction Block" data-title="Detailed Point" data-logo="detailed-point" data-rhythm-block-view="edit">
15      <structuredsentences data-rhythm-block-structure="detailed-point" data-order=1 data-color="pink" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
16        <p></p>
17      </structuredsentences>
18      <structuredsentences data-rhythm-block-structure="detailed-point" data-order=2 data-color="purple" data-title="Five Sentence Body" data-description="These 5 sentences will be combined into a paragraph" data-length="5" data-rhythm-block-view="edit" >
19        <p></p>
20      </structuredsentences>
21      <structuredsentences data-rhythm-block-structure="detailed-point" data-order=3 data-color="pink" data-title="Single Sentence Conclusion" data-description="Writing a closing sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
22        <p></p>
23      </structuredsentences>
24    </rhythmblock>
25    `},{name:"Descending Point",text:"Descending Point",value:"descending-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
26    <rhythmblock data-rhythm-block-structure="descending-point" data-block-type="Introduction Block" data-title="Descending Point" data-logo="descending-point" data-rhythm-block-view="edit">
27      <structuredsentences data-rhythm-block-structure="descending-point" data-order=1 data-color="pink" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section." data-length="1" data-rhythm-block-view="edit" >
28        <p></p>
29      </structuredsentences>
30      <structuredsentences data-rhythm-block-structure="descending-point" data-order=2 data-color="purple" data-title="Amplified Explanation" data-description="Expanding on the initial statement with clarity, reinforcement, and a rounded argument." data-length="3" data-rhythm-block-view="edit" >
31        <p></p>
32      </structuredsentences>
33      <structuredsentences data-rhythm-block-structure="descending-point" data-order=3 data-color="pink" data-title="Strong Conclusion and Reasoning" data-description="Finalizing the point while providing deeper reasoning for the conclusion." data-length="2" data-rhythm-block-view="edit" >
34        <p></p>
35      </structuredsentences>
36      <structuredsentences data-rhythm-block-structure="descending-point" data-order=4 data-color="purple" data-title="Transition to Next Point" data-description="Introducing the topic or argument to be discussed in the following section." data-length="1" data-rhythm-block-view="edit" >
37        <p></p>
38      </structuredsentences>
39    </rhythmblock>
40    `},{name:"Ascending Point",text:"Ascending Point",value:"ascending-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
41    <rhythmblock data-block-type="Introduction Block" data-title="Ascending Point" data-logo="detailed-point" data-rhythm-block-view="edit">
42      <structuredsentences data-rhythm-block-structure="ascending-point" data-order=1 data-color="pink" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section." data-length="1" data-rhythm-block-view="edit" >
43        <p></p>
44      </structuredsentences>
45      <structuredsentences data-rhythm-block-structure="ascending-point" data-order=2 data-color="purple" data-title="Amplified Explanation" data-description="Expanding on the initial statement with clarity, reinforcement, and a rounded argument." data-length="5" data-rhythm-block-view="edit" >
46        <p></p>
47      </structuredsentences>
48      <structuredsentences data-rhythm-block-structure="ascending-point" data-order=3 data-color="pink" data-title="Strong Conclusion and Reasoning" data-description="Finalizing the point while providing deeper reasoning for the conclusion." data-length="2" data-rhythm-block-view="edit" >
49        <p></p>
50      </structuredsentences>
51      <structuredsentences data-rhythm-block-structure="ascending-point" data-order=4 data-color="purple" data-title="Transition to Next Point" data-description="Introducing the topic or argument to be discussed in the following section." data-length="1" data-rhythm-block-view="edit" >
52        <p></p>
53      </structuredsentences>
54    </rhythmblock>
55    `},{name:"Punchy Point",text:"Punchy Point",value:"punchy-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
56    <rhythmblock data-rhythm-block-structure="punchy-point" data-block-type="Introduction Block" data-title="Punchy Point" data-logo="punchy-point" data-rhythm-block-view="edit">
57      <structuredsentences data-rhythm-block-structure="punchy-point" data-order=1 data-color="pink" data-title="Engaging Start" data-description="Introducing the topic or statement with a clear opener." data-length="1" data-rhythm-block-view="edit" >
58        <p></p>
59      </structuredsentences>
60      <structuredsentences data-rhythm-block-structure="punchy-point" data-order=2 data-color="purple" data-title="Comprehensive Elaboration" data-description="Building on the opener with clarity, reinforcement, and presenting the broader context, while establishing an emotional connection for the reader." data-length="4" data-rhythm-block-view="edit" >
61        <p></p>
62      </structuredsentences>
63      <structuredsentences data-rhythm-block-structure="punchy-point" data-order=3 data-color="pink" data-title="Definitive Close" data-description="Summarizing the discussion with a strong conclusion." data-length="1" data-rhythm-block-view="edit" >
64        <p></p>
65      </structuredsentences>
66      <structuredsentences data-rhythm-block-structure="punchy-point" data-order=4 data-color="purple" data-title="Conclusion Justification" data-description="Explaining the significance and importance of the drawn conclusion." data-length="1" data-rhythm-block-view="edit" >
67        <p></p>
68      </structuredsentences>
69    </rhythmblock>
70    `},{name:"Quick Intro",text:"Quick Intro",value:"quick-intro",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
71    <rhythmblock data-rhythm-block-structure="quick-intro" data-block-type="Introduction Block" data-title="Quick Intro" data-logo="quick-intro" data-rhythm-block-view="edit">
72      <structuredsentences data-rhythm-block-structure="quick-intro" data-order=1 data-color="pink" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
73        <p></p>
74      </structuredsentences>
75      <structuredsentencesheading data-rhythm-block-structure="quick-intro" data-order=2 data-color="purple" data-title="Subhead" data-description="Hit the reader with the first milestone" data-length="H" data-rhythm-block-view="edit" >
76        <h2></h2>
77      </structuredsentencesheading>
78    </rhythmblock>
79    `},{name:"Quick Point",text:"Quick Point",value:"quick-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
80    <rhythmblock data-rhythm-block-structure="quick-point" data-block-type="Main Point Block" data-title="Quick Point" data-logo="quick-point" data-rhythm-block-view="edit" >
81      <structuredsentencesheading data-rhythm-block-structure="quick-point" data-order=1 data-color="pink" data-title="Section Heading" data-description="Write a heading to describe this section" data-length="H" data-rhythm-block-view="edit" >
82        <h2></h2>
83      </structuredsentencesheading>
84      <structuredsentences data-rhythm-block-structure="quick-point" data-order=2 data-color="purple" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
85        <p></p>
86      </structuredsentences>
87      <structuredsentences data-rhythm-block-structure="quick-point" data-order=3 data-color="pink" data-title="Three Sentence Body" data-description="These 3 sentences will be combined into a paragraph" data-length="3" data-rhythm-block-view="edit" >
88        <p></p>
89      </structuredsentences>
90      <structuredsentences data-rhythm-block-structure="quick-point" data-order=4 data-color="purple" data-title="Single Sentence Conclusion" data-description="Writing a closing sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
91        <p></p>
92      </structuredsentences>
93    </rhythmblock>
94    `},{name:"Quick Point",text:"Quick Point",value:"quick-point-linkedin",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
95    <rhythmblock data-rhythm-block-structure="quick-point-linkedin" data-block-type="Main Point Block" data-title="Quick Point" data-logo="quick-point" data-rhythm-block-view="edit" >
96      <structuredsentences data-rhythm-block-structure="quick-point-linkedin" data-order=2 data-color="purple" data-title="Single Sentence Opener" data-description="Write an opening sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
97        <p></p>
98      </structuredsentences>
99      <structuredsentences data-rhythm-block-structure="quick-point-linkedin" data-order=3 data-color="pink" data-title="Three Sentence Body" data-description="These 3 sentences will be combined into a paragraph" data-length="3" data-rhythm-block-view="edit" >
100        <p></p>
101      </structuredsentences>
102      <structuredsentences data-rhythm-block-structure="quick-point-linkedin" data-order=4 data-color="purple" data-title="Single Sentence Conclusion" data-description="Writing a closing sentence to describe this section" data-length="1" data-rhythm-block-view="edit" >
103        <p></p>
104      </structuredsentences>
105    </rhythmblock>
106    `},{name:"Big Explanation",text:"Big Explanation",value:"big-explanation",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
107    <rhythmblock data-rhythm-block-structure="big-explanation" data-block-type="Main Point Block" data-title="Big Explanation" data-logo="big-explanation" data-rhythm-block-view="edit">
108      <structuredsentencesheading data-rhythm-block-structure="big-explanation" data-order=1 data-color="pink" data-title="Section Heading" data-description="Write a heading to describe this section" data-length="1" data-rhythm-block-view="edit" >
109        <h2></h2>
110      </structuredsentencesheading>
111      <structuredsentences data-rhythm-block-structure="big-explanation" data-order=2 data-color="pink" data-title="Engaging Start" data-description="Introducing the topic or statement succinctly." data-length="1" data-rhythm-block-view="edit" >
112        <p></p>
113      </structuredsentences>
114      <structuredsentences data-rhythm-block-structure="big-explanation" data-order=3 data-color="purple" data-title="Clarification & Relevance" data-description="Clarifying the opener and highlighting its importance to the reader." data-length="2" data-rhythm-block-view="edit" >
115        <p></p>
116      </structuredsentences>
117      <structuredsentences data-rhythm-block-structure="big-explanation" data-order=4 data-color="pink" data-title="Expanding with Insight" data-description="Delving deeper into the topic, sharing a narrative or credible piece of insight, and highlighting a mini-conclusion with its significance." data-length="5" data-rhythm-block-view="edit" >
118        <p></p>
119      </structuredsentences>
120      <structuredsentences data-rhythm-block-structure="big-explanation" data-order=5 data-color="purple" data-title="Reinforcement & Summary" data-description="Recapping the information, bolstering the main argument with additional information, and asserting the main point firmly." data-length="3" data-rhythm-block-view="edit" >
121        <p></p>
122      </structuredsentences>
123      <structuredsentences data-rhythm-block-structure="big-explanation" data-order=6 data-color="pink" data-title="Key Takeaway" data-description="Re-emphasizing the most crucial point or lesson for the reader to remember." data-length="1" data-rhythm-block-view="edit" >
124        <p></p>
125      </structuredsentences>
126    </rhythmblock>
127    `},{name:"Big Explanation",text:"Big Explanation",value:"big-explanation-linkedin",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
128    <rhythmblock data-rhythm-block-structure="big-explanation-linkedin" data-block-type="Main Point Block" data-title="Big Explanation" data-logo="big-explanation" data-rhythm-block-view="edit">
129      <structuredsentences data-rhythm-block-structure="big-explanation-linkedin" data-order=2 data-color="pink" data-title="Engaging Start" data-description="Introducing the topic or statement succinctly." data-length="1" data-rhythm-block-view="edit" >
130        <p></p>
131      </structuredsentences>
132      <structuredsentences data-rhythm-block-structure="big-explanation-linkedin" data-order=3 data-color="purple" data-title="Clarification & Relevance" data-description="Clarifying the opener and highlighting its importance to the reader." data-length="2" data-rhythm-block-view="edit" >
133        <p></p>
134      </structuredsentences>
135      <structuredsentences data-rhythm-block-structure="big-explanation-linkedin" data-order=4 data-color="pink" data-title="Expanding with Insight" data-description="Delving deeper into the topic, sharing a narrative or credible piece of insight, and highlighting a mini-conclusion with its significance." data-length="5" data-rhythm-block-view="edit" >
136        <p></p>
137      </structuredsentences>
138      <structuredsentences data-rhythm-block-structure="big-explanation-linkedin" data-order=5 data-color="purple" data-title="Reinforcement & Summary" data-description="Recapping the information, bolstering the main argument with additional information, and asserting the main point firmly." data-length="3" data-rhythm-block-view="edit" >
139        <p></p>
140      </structuredsentences>
141      <structuredsentences data-rhythm-block-structure="big-explanation-linkedin" data-order=6 data-color="pink" data-title="Key Takeaway" data-description="Re-emphasizing the most crucial point or lesson for the reader to remember." data-length="1" data-rhythm-block-view="edit" >
142        <p></p>
143      </structuredsentences>
144    </rhythmblock>
145    `},{name:"Punchy Conclusion",text:"Punchy Conclusion",value:"punchy-conclusion",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
146    <rhythmblock data-rhythm-block-structure="punchy-conclusion" data-block-type="Main Point Block" data-title="Punchy Conclusion" data-logo="punchy-conclusion" data-rhythm-block-view="edit">
147      <structuredsentencesheading data-rhythm-block-structure="punchy-conclusion" data-order=1 data-color="pink" data-title="Section Heading" data-description="Write a heading to describe this section" data-length="1" data-rhythm-block-view="edit" >
148        <h2></h2>
149      </structuredsentencesheading>
150      <structuredsentences data-rhythm-block-structure="punchy-conclusion" data-order=2 data-color="pink" data-title="Bold Proclamation" data-description="Starting with a compelling and assertive point." data-length="1" data-rhythm-block-view="edit" >
151        <p></p>
152      </structuredsentences>
153      <structuredsentences data-rhythm-block-structure="punchy-conclusion" data-order=3 data-color="purple" data-title="Amplified Reinforcement" data-description="Expanding upon or reiterating the initial statement for greater impact." data-length="1" data-rhythm-block-view="edit" >
154        <p></p>
155      </structuredsentences>
156      <structuredsentences data-rhythm-block-structure="punchy-conclusion" data-order=4 data-color="pink" data-title="Continued Emphasis" data-description="Further emphasizing the main point to solidify its importance." data-length="1" data-rhythm-block-view="edit" >
157        <p></p>
158      </structuredsentences>
159    </rhythmblock>
160    `},{name:"Punchy Conclusion",text:"Punchy Conclusion",value:"punchy-conclusion-linkedin",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
161    <rhythmblock data-rhythm-block-structure="punchy-conclusion-linkedin" data-block-type="Main Point Block" data-title="Punchy Conclusion" data-logo="punchy-conclusion" data-rhythm-block-view="edit">
162      <structuredsentences data-rhythm-block-structure="punchy-conclusion-linkedin" data-order=2 data-color="pink" data-title="Bold Proclamation" data-description="Starting with a compelling and assertive point." data-length="1" data-rhythm-block-view="edit" >
163        <p></p>
164      </structuredsentences>
165      <structuredsentences data-rhythm-block-structure="punchy-conclusion-linkedin" data-order=3 data-color="purple" data-title="Amplified Reinforcement" data-description="Expanding upon or reiterating the initial statement for greater impact." data-length="1" data-rhythm-block-view="edit" >
166        <p></p>
167      </structuredsentences>
168      <structuredsentences data-rhythm-block-structure="punchy-conclusion-linkedin" data-order=4 data-color="pink" data-title="Continued Emphasis" data-description="Further emphasizing the main point to solidify its importance." data-length="1" data-rhythm-block-view="edit" >
169        <p></p>
170      </structuredsentences>
171    </rhythmblock>
172    `},{name:"Multiple Main Points",text:"Multiple Main Points",value:"multiple-main-points",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
173    <rhythmblock data-rhythm-block-structure="multiple-main-points" data-block-type="Main Point Block" data-title="Multiple Main Points" data-logo="multiple-main-points" data-rhythm-block-view="edit">
174      <structuredsentencesheading data-rhythm-block-structure="multiple-main-points" data-order=1 data-color="pink" data-title="Section Heading" data-description="Write a heading to describe this section" data-length="1" data-rhythm-block-view="edit" >
175        <h2></h2>
176      </structuredsentencesheading>
177      <structuredsentences data-rhythm-block-structure="multiple-main-points" data-order=2 data-color="pink" data-title="Bold Proclamation" data-description="Starting with a compelling and assertive point." data-length="1" data-rhythm-block-view="edit" >
178        <p></p>
179      </structuredsentences>
180      <structuredsentences data-rhythm-block-structure="multiple-main-points" data-order=3 data-color="purple" data-title="Amplified Reinforcement" data-description="Expanding upon or reiterating the initial statement for greater impact." data-length="3" data-rhythm-block-view="edit" >
181        <p></p>
182      </structuredsentences>
183    </rhythmblock>
184    `},{name:"Multiple Main Points",text:"Multiple Main Points",value:"multiple-main-points-linkedin",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
185    <rhythmblock data-rhythm-block-structure="multiple-main-points-linkedin" data-block-type="Main Point Block" data-title="Multiple Main Points" data-logo="multiple-main-points" data-rhythm-block-view="edit">
186      <structuredsentences data-rhythm-block-structure="multiple-main-points-linkedin" data-order=2 data-color="pink" data-title="Bold Proclamation" data-description="Starting with a compelling and assertive point." data-length="1" data-rhythm-block-view="edit" >
187        <p></p>
188      </structuredsentences>
189      <structuredsentences data-rhythm-block-structure="multiple-main-points-linkedin" data-order=3 data-color="purple" data-title="Amplified Reinforcement" data-description="Expanding upon or reiterating the initial statement for greater impact." data-length="3" data-rhythm-block-view="edit" >
190        <p></p>
191      </structuredsentences>
192    </rhythmblock>
193    `},{name:"The Cliff",text:"The Cliff",value:"the-cliff",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
194    <rhythmblock data-rhythm-block-structure="the-cliff" data-block-type="Conclusion Block" data-title="The Cliff" data-logo="the-cliff" data-rhythm-block-view="edit">
195      <structuredsentences data-rhythm-block-structure="the-cliff" data-order=1 data-color="pink" data-title="The Cliff" data-description="The reader got what they came for and they’re happy you delivered on that PROMISE." data-length="1" data-rhythm-block-view="edit" >
196        <p></p>
197      </structuredsentences>
198    </rhythmblock>
199    `},{name:"The Extended Final Main Point",text:"The Extended Final Main Point",value:"the-extended-final-main-point",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
200    <rhythmblock data-rhythm-block-structure="the-extended-final-main-point" data-block-type="Conclusion Block" data-title="The Extended Final Main Point" data-logo="the-extended-final-main-point" data-rhythm-block-view="edit">
201      <structuredsentences data-rhythm-block-structure="the-extended-final-main-point" data-order=1 data-color="pink" data-title="Extended Final Main Point" data-description="Bake your mini conclusion into the very last Main Point." data-length="2" data-rhythm-block-view="edit" >
202        <p></p>
203      </structuredsentences>
204    </rhythmblock>
205    `},{name:"The Summary",text:"The Summary",value:"the-summary",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
206    <rhythmblock data-rhythm-block-structure="the-summary" data-block-type="Conclusion Block" data-title="The Summary" data-logo="the-summary" data-rhythm-block-view="edit">
207      <structuredsentences data-rhythm-block-structure="the-summary" data-color="pink" data-title="Summary" data-description="Recap the Main Points in a bulleted list to make the reader feel like they had the Sparknotes version. Then add one single sentence at the very end as an all-encompassing conclusion." >
208        <ul>
209          <li>
210            <p></p>
211          </li>
212        </ul>
213      </structuredsentences>
214    </rhythmblock>
215    `},{name:"The Strong Opinion",text:"The Strong Opinion",value:"the-strong-opinion",icon:(0,r.jsx)(j,{className:"h-5 w-5 fill-current"}),pro:!1,includes:["Atomic_Essay"],content:`
216    <rhythmblock data-rhythm-block-structure="the-strong-opinion" data-block-type="Conclusion Block" data-title="The Strong Opinion" data-logo="the-strong-opinion" data-rhythm-block-view="edit">
217      <structuredsentences data-rhythm-block-structure="the-strong-opinion" data-order=1 data-color="pink" data-title="Strong Opinion" data-description="Say what you want to say, and be done. Let readers feel like you could have said more, but didn't." >
218       <p></p>
219      </structuredsentences>
220    </rhythmblock>
221    `}];e.s(["RHYTHM_BLOCKS",0,T,"basicBlocks",0,C,"contentBlocks",0,U,"turnIntoBlocks",0,P],682587);let O=({editor:e})=>{let[r,a]=(0,n.useState)(null);(0,n.useEffect)(()=>{r&&e&&!e.isDestroyed&&("h1"===r.value&&e.chain().focus().toggleHeading({level:1}).run(),"h2"===r.value&&e.chain().focus().toggleHeading({level:2}).run(),"h3"===r.value&&e.chain().focus().toggleHeading({level:3}).run(),U.filter(e=>e.value===r.value).length>0&&(e.chain().focus().insertContent(U?.find(e=>e.value===r.value)?.content,{parseOptions:{preserveWhitespace:!1}}).run(),console.log(U.find(e=>e.value===r.value)?.name,"blockUsed")),"p"===r.value&&e.chain().focus().setParagraph().run(),"code"===r.value&&e.chain().focus().setCodeBlock().run(),"bullet-list"===r.value&&e.chain().focus().toggleBulletList().run(),"numbered-list"===r.value&&e.chain().focus().toggleOrderedList().run(),"blockquote"===r.value&&e.chain().focus().toggleBlockquote().run(),e.commands.focus(),a(null))},[r,e]);let[o,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{null===e||e.isDestroyed||null===o||(o?.value==="numbered-list"&&(e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.chain().focus().toggleOrderedList().run()),o?.value==="bullet-list"&&(e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.chain().focus().toggleBulletList().run()),o?.value==="h1"&&(e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("orderedList")&&e.chain().focus().toggleOrderedList().run(),e.chain().focus().toggleHeading({level:1}).run()),o?.value==="h2"&&(e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("orderedList")&&e.chain().focus().toggleOrderedList().run(),e.chain().focus().toggleHeading({level:2}).run()),o?.value==="h3"&&(e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("orderedList")&&e.chain().focus().toggleOrderedList().run(),e.chain().focus().toggleHeading({level:3}).run()),o?.value==="code"&&(e.isActive("heading",{level:1})&&e.chain().focus().toggleHeading({level:1}).run(),e.isActive("heading",{level:2})&&e.chain().focus().toggleHeading({level:2}).run(),e.isActive("heading",{level:3})&&e.chain().focus().toggleHeading({level:3}).run(),e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("orderedList")&&e.chain().focus().toggleOrderedList().run(),e.chain().focus().toggleCodeBlock().run()),o?.value==="blockquote"&&(e.isActive("heading",{level:1})&&e.chain().focus().toggleHeading({level:1}).run(),e.isActive("heading",{level:2})&&e.chain().focus().toggleHeading({level:2}).run(),e.isActive("heading",{level:3})&&e.chain().focus().toggleHeading({level:3}).run(),e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("orderedList")&&e.chain().focus().toggleOrderedList().run(),e.chain().focus().toggleBlockquote().run()),o?.value==="p"&&(e.isActive("codeBlock")&&e.chain().focus().toggleCodeBlock().run(),e.isActive("heading",{level:1})&&e.chain().focus().toggleHeading({level:1}).run(),e.isActive("heading",{level:2})&&e.chain().focus().toggleHeading({level:2}).run(),e.isActive("heading",{level:3})&&e.chain().focus().toggleHeading({level:3}).run(),e.isActive("bulletList")&&e.chain().focus().toggleBulletList().run(),e.isActive("numberedList")&&e.chain().focus().toggleOrderedList().run(),e.isActive("blockquote")&&e.chain().focus().toggleBlockquote().run()),i(null))},[o,e]),{selectedBlock:r,setSelectedBlock:a,selectedTurnIntoBlock:o,setSelectedTurnIntoBlock:i}};e.s(["default",0,O],309085);var F=e.i(270112),M=e.i(379751);let B={tooWordy:{background:"bg-purple-500/30",color:"bg-purple-500",highlight:"#8b5cf640"},passive:{background:"bg-green-500/30",color:"bg-green-500",highlight:"#bbf7d0"},veryHardToRead:{background:"bg-red-500/30",color:"bg-red-500",highlight:"#fecdd3"},hardToRead:{background:"bg-yellow-400/30",color:"bg-yellow-400",highlight:"#fef08a"},sentencePairs:{background:"bg-yellow-400/30",color:"bg-yellow-400",highlight:"#fefce8"},noSemicolons:{background:"bg-orange-500/30",color:"bg-orange-500",highlight:"#fed7aa"},adverbWhere:{background:"bg-blue-500/30",color:"bg-blue-500",highlight:"#c7e2f2"},nounStrings:{background:"bg-lime-500/30",color:"bg-lime-500",highlight:"#d9f99d"}};function I({draft:e,editor:r,user:a,mode:o,setVoiceProfileLoading:c}
221){let[s,d]=(0,n.useState)(null),[l,f]=(0,n.useState)([]),[p,g]=(0,n.useState)([]),[y,m]=(0,n.useState)(null),[b,v]=(0,n.useState)(null),w=(0,u.usePathname)(),x=!!w?.includes("screenshot/editor");(0,n.useEffect)(()=>{p.length&&A(!1)},[p]);let k=(0,n.useRef)((0,i.default)((e,r,n)=>A("edit"===n,e,r),200)).current;(0,n.useEffect)(()=>(r&&!x&&k(r.getHTML()||e?.bodyDraft||"",r,o),()=>{k.cancel()}),[e,r,o,x]);let A=async(e,r,n)=>{try{if(!n||!r)return;let o=(0,M.convertHtmlToPlainText)(r),i=!!(0,F.hasFeatureAccess)("edits",a?.id),u=await fetch("/api/athena/edits",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:o,ignoredSuggestions:i?p:[],shouldGetSuggestions:i})});if(!u.ok){console.error("Error fetching Athena Edit Suggestions from /api/athena/edits"),console.error(u);return}let c=await u.json();if(m(c.actionScore??null),d(c.readability??{}),!i||(f(c.suggestions??[]),!e||!c.suggestions?.length))return;let{tr:s,schema:l}=n.state,{doc:h}=s,{highlight:g}=l.marks;h.descendants((e,r)=>{for(let n of e.marks)n.type===g&&n.attrs.color&&s.removeMark(r,r+e?.nodeSize,g);return!0}),c.suggestions.forEach(e=>{let{index:r,offset:n}=e,a=e.name,o=B[a]?.highlight||"yellow";g&&s.addMark(r+1,r+n+1,g.create({color:o}))}),s.docChanged&&n.view.dispatch(s.setMeta("addToHistory",!1))}catch(e){console.error("Error fetching Athena Edit Suggestions",e)}},S=(0,n.useRef)((0,i.default)(e=>E(e),1e3)).current;async function E(e){try{c(!0);let r=(0,M.convertHtmlToPlainText)(e),n=await fetch("/api/athena/edits/voice-profile",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:r})});if(!n.ok){console.error("Error fetching Athena Voice Profile"),h.toast.error("Error fetching Athena Voice Profile. Please try again.");return}let a=await n.json();c(!1),a?.error?h.toast.error(a?.error):v(a.profile)}catch(e){c(!1),console.error("Error handling text while fetching athena voice profile:",e),h.toast.error("Error fetching Athena Voice Profile. Please try again.")}}return(0,n.useEffect)(()=>("stats"===o&&r&&S(r.getHTML()||e?.bodyDraft||""),()=>{S.cancel()}),[e,o]),{readability:s,suggestions:l,fetchSuggestions:A,addToIgnoredSuggestions:e=>{g([...p,e])},actionScore:y,writerProfile:b}}e.s(["suggestionColors",0,B,"useEditSuggestions",0,I],865853);let R={Extra_Small:{highlight:"#879A3950",bg:"bg-[#879A39]",text:"text-teal-600",gradient:"bg-linear-to-b from-[#879A3980] to-[#879A39]"},Small:{highlight:"#3AA99F50",bg:"bg-[#3AA99F]",text:"text-purple-600",gradient:"bg-linear-to-b from-[#3AA99F80] to-[#3AA99F]"},Medium:{highlight:"#8B7EC850",bg:"bg-[#8B7EC8]",text:"text-yellow-600",gradient:"bg-linear-to-b from-[#8b7ec880] to-[#8B7EC8]"},Long:{highlight:"#DA702C50",bg:"bg-[#DA702C]",text:"text-sky-600",gradient:"bg-linear-to-b from-[#DA702C80] to-[#DA702C]"},Very_Long:{highlight:"#CE5D9750",bg:"bg-[#CE5D97]",text:"text-red-600",gradient:"bg-linear-to-b from-[#CE5D9780] to-[#CE5D97]"}};function L({draft:e,editor:r,user:a,mode:o,postId:u,type:c}){let[s,d]=(0,n.useState)(!1),[l,f]=(0,n.useState)(null),[p,g]=(0,n.useState)(!1),[m,b]=(0,n.useState)([]),[v,w]=(0,n.useState)(0),[x,k]=(0,n.useState)(0),A=y.api.privateBlogPost.update.useMutation(),S=async()=>{_(),g(!1),await A.mutateAsync({id:u,xRayMode:!1}),C(r)};async function E(e,r,n){d(!0);let a=n?.getText(),o=await fetch("/api/athena/edits/sentence-length",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({text:a})});if(!o.ok){console.error("Error fetching sentence length suggestions"),h.default.error("Error fetching sentence length suggestions. Please try again."),d(!1);return}let i=await o.json();if(i.error){console.error(i.error),d(!1);return}if(i.buckets){let e=i?.buckets;f(e),b(i?.suggestions||[]),w(i?.sentenceVarietyScore||0),k(i?.averageSentenceLength||0),r&&P(e,n,!0)}d(!1)}let j=(0,n.useRef)((0,i.default)((e,r,n)=>E(e,r,n),1e3)).current,_=(0,n.useCallback)(()=>{j.cancel()},[j]);(0,n.useEffect)(()=>("stats"===o&&r&&j(r.getHTML()||e?.bodyDraft||"",p,r),()=>{j.cancel()}),[e,o,r]);let P=(r,n,a)=>{if(n&&r)try{let{tr:o,schema:i,doc:u}=n.state,{highlight:c}=i.marks,s=n.getHTML()||e?.bodyDraft;if(!s)return;let d=!1;if(!a){let e=s?.match(/<mark[^>]*>.*?<\/mark>/gi);d=!!e&&e.length>0}if(d&&confirm("This will remove all highlights, are you sure you want to continue?"),!c)return;o.removeMark(0,u.content.size,c);let l=[];for(let[e,n]of Object.entries(r))for(let r of n)l.push({suggestion:r,bucket:e});l.forEach(({suggestion:e,bucket:r})=>{let{index:n,offset:a}=e,i=R[r]?.highlight||"yellow";try{let e=n+1,r=n+a+1;if(e<0||r>u.content.size)return void console.warn(`Invalid range: ${e} to ${r}. Document size: ${u.content.size}`);if(0===u.textBetween(e,r).length)return void console.warn(`No content in range: ${e} to ${r}`);o?.addMark(e,r,c.create({color:i}))}catch(e){console.error("Error adding highlight mark:",e)}}),o?.docChanged&&n.view.dispatch(o.setMeta("addToHistory",!1))}catch(e){console.error("Error highlighting sentences",e)}},C=e=>{if(e)try{let{tr:r,schema:n,doc:a}=e.state,{highlight:o}=n.marks;r.removeMark(0,a.content.size,o),r?.docChanged&&e.view.dispatch(r.setMeta("addToHistory",!1)),_()}catch(e){console.error("Error removing all marks",e)}};return{sentenceLengthBuckets:l,loading:s,xRayMode:p,setXRayMode:g,sentenceLengthSuggestions:m,sentenceVarietyScore:v,toggleXRayMode:()=>{_();let n=!p;return n&&!(()=>
221{if(!r||!l)return h.default.error("Error fetching sentence length suggestions. Please try again."),!1;let n=r.getHTML()||e?.bodyDraft,a=n?.includes("<li"),o=n?.includes("<rhythmblock");return!a&&!o||(h.default.error("List items and Rhythm Blocks cannot be used with sentence length highlighting. Please remove these and try again."),!1)})()?(console.error("Cannot enable x ray mode"),!1):r?(g(n),A.mutateAsync({id:u,xRayMode:n}),n?l&&P(l,r,!1):C(r),!0):(console.error("No editor found.."),!1)},averageSentenceLength:x,disableXRayMode:S}}e.s(["bucketColors",0,R,"useSentenceVariation",0,L],124036);let D=["Atomic_Essay","Visual_Writing","Visual_Writing_Atomic_Essay","Tweet_Thread","Tweet_Longform","LinkedIn_Post","Deck","Medium_Story","Blog_Post","Threads_Thread","Bluesky_Thread"],N={Atomic_Essay:{mobile:"max-w-[600px]",desktop:"max-w-[600px]"},Visual_Writing_Atomic_Essay:{mobile:"w-full",desktop:"w-full"},Visual_Writing:{mobile:"w-full",desktop:"w-full"},LinkedIn_Post:{mobile:"max-w-[454px]",desktop:"max-w-[680px]"},Deck:{mobile:"w-full",desktop:"w-full"},Medium_Story:{mobile:"max-w-[680px]",desktop:"max-w-[680px]"},Tweet_Thread:{mobile:"max-w-[390px]",desktop:"max-w-[600px]"},Tweet_Longform:{mobile:"max-w-[390px]",desktop:"max-w-[556px]"},Blog_Post:{mobile:"max-w-[712px]",desktop:"max-w-[712px]"},Threads_Thread:{mobile:"max-w-[390px]",desktop:"max-w-[700px]"},Bluesky_Thread:{mobile:"max-w-[390px]",desktop:"max-w-[600px]"}},z=(0,n.createContext)(null),H=({children:e,user:b,post:v})=>{let w=(({user:e,post:r})=>{let b,v=(0,u.usePathname)(),w=!v?.includes("screenshot/editor"),x=(b="Atomic_Essay",r?.type&&D.includes(r.type)&&(b=r.type),b),[k,A]=(0,n.use
221State)(!1),[j,_]=(0,n.useState)(null),[P,C]=(0,n.useState)(0),[U,T]=(0,n.useState)({from:0,to:0}),[F,M]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>{window.innerWidth<1024?M(!0):M(!1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let[B,R]=(0,n.useState)("desktop"),z="desktop"===B?N[x].desktop:N[x].mobile,H=JSON.parse(localStorage?.getItem(`blogPostDraft-${r.id}`)||"{}"),W=H.draftUpdatedAt&&(0,a.default)(H.draftUpdatedAt).isAfter((0,a.default)(r.draftUpdatedAt))?H:r,{draft:$,updateDraft:q,savingState:Q}=(0,d.default)({id:r.id,post:W}),G=(0,s.default)({post:$}),[V,Z]=(0,n.useState)(!1),[J,K]=(0,n.useState)("templates"),X=(0,n.useRef)(null);(0,l.default)(j,$?.bodyDraft||"",X);let[Y,ee]=(0,n.useState)("templates");(0,n.useEffect)(()=>{r?.type==="Deck"&&ee(null)},[r]);let[et,er]=(0,n.useState)(!1),en=!!["Blog_Post","Medium_Story","Atomic_Essay","Tweet_Thread","Threads_Thread","Bluesky_Thread","LinkedIn_Post"].includes(x),[ea,eo]=(0,n.useState)(!0),ei=function({draft:e,editor:r,user:n,mode:a,setVoiceProfileLoading:o,postId:i,type:u}){let{readability:c,suggestions:s,fetchSuggestions:d,addToIgnoredSuggestions:l,writerProfile:f,actionScore:p}=I({draft:e,editor:r,user:n,mode:a,setVoiceProfileLoading:o}),{sentenceLengthBuckets:h,loading:g,xRayMode:y,setXRayMode:m,sentenceLengthSuggestions:b,sentenceVarietyScore:v,toggleXRayMode:w,averageSentenceLength:x,disableXRayMode:k}=L({draft:e,editor:r,user:n,mode:a,postId:i,type:u});return{readability:c,editSuggestions:s,fetchSuggestions:d,addToIgnoredSuggestions:l,writerProfile:f,actionScore:p,sentenceLengthBuckets:h,sentenceLengthLoading:g,sentenceLengthSuggestions:b,xRayMode:y,setXRayMode:m,disableXRayMode:k,sentenceVarietyScore:v,averageSentenceLength:x,toggleXRayMode:w}}({draft:$,editor:j,user:e,mode:Y,setVoiceProfileLoading:er,postId:r.id,type:x}),eu=["Deck","Tweet_Thread","Threads_Thread","Bluesky_Thread"],ec=!eu.includes(r?.type);(0,n.useEffect)(()=>{if(!j)return;let e=r?.xRayMode,n=r?.type;e&&(eu.includes(n)?ei.disableXRayMode():(ee("stats"),ei.setXRayMode(e)))},[r?.id,j]);let es=(0,f.default)(x),ed=O({editor:j}),el=(({editor:e,type:r,post:a,draft:o,updateDraft:i})=>{let u=(0,n.useRef)(null),[c,s]=(0,n.useState)(E(a.images||[])),[d,l]=(0,n.use
221State)(!1),[f,b]=(0,n.useState)(null),v=m.FORMATS.find(e=>e.id===r),w=v?.imageLimit??0,x=y.api.blogImages.create.useMutation(),k=y.api.blogImages.delete.useMutation();(0,n.useEffect)(()=>{if(e?.state)if("LinkedIn_Post"===r)l(c.length>w);else{let r=0;e.state.doc.descendants(e=>{"image"===e.type.name&&r++}),l(r>w)}},[e,e?.state,w,c,r]);let A=async(e,r,n)=>{if(!e)return void h.toast.error("No file selected");if(e.size>m.MAX_IMAGE_SIZE_BYTES)return void h.toast.error("File size too large. Max 10 MB.");let o=h.toast.loading(n?"Uploading images...":"Uploading image..."),i=a.id,u=new FormData,c=(0,g.v4)();try{let n=e;e.size>4194304&&(n=await (0,p.default)(e,{maxSizeMB:4,useWebWorker:!0}),console.log("compressedFile instanceof Blob",n instanceof Blob),console.log(`compressedFile size ${n.size/1024/1024} MB`)),u.set("file",n),u.set("customName",`post/${i}/images/${c}`);let a=await fetch("/api/upload",{method:"POST",body:u});if(!a.ok){console.error("Error uploading image"),h.toast.error("Error uploading image"),console.error(a);return}let s=(await a.json()).url;return r&&h.toast.success("Image uploaded!",{id:o}),s}catch(e){console.log(e),h.toast.error("Error uploading image",{id:o});return}},j=async e=>{try{await k.mutateAsync({id:e});let r=c.filter(r=>r.id!==e);s(r),i({...o,images:r})}catch(e){console.error(e),h.toast.error("Error while deleting image")}},_=(n,a)=>{if(console.log("IMAGE SELECTED"),!e)return;let o=e.view.state.selection.from;if("Tweet_Thread"===r||"Threads_Thread"===r||"Bluesky_Thread"===r){let r=e.getJSON();if(!r||!r.content)return;r.content[a]=r.content[a]||{content:[]},r.content[a].content.push({type:"image",attrs:{src:n.url,id:n.id,alt:n.alt}}),e.chain().focus(o).setContent(r).run(),e.commands.focus(o);return}"LinkedIn_Post"!==r&&e.chain().focus(o).setImage({src:n.url,alt:n.alt}).run()};return{images:c,selectFile:(n,c)=>{if(!e)return Promise.reject(Error("No editor instance found"));let d=n.target,l=d.files?Array.from(d.files):[];if(d.value="",l.length>0){let n=l.length;n>w&&h.toast.error(`You can upload up ${w} in total. You're trying to upload ${n} images.`);let d=l.slice(0,w);return(async()=>{let n=d.map(async(e,n)=>{let o=n===d.length-1,i=await A(e,o,d.length>1);if(i){let e={alt:"",url:i,blogPostId:a.id,..."Tweet_Thread"===r||"Threads_Thread"===r||"Bluesky_Thread"===r?{subPostNumber:c}:{},order:n},o=await x.mutateAsync(e);return _(e,c),o}}),u=(await Promise.all(n)).filter(e=>void 0!==e);s(e=>[...e,...u]);let l=[...o?.images||[],...u];("Tweet_Thread"===r||"Threads_Thread"===r||"Bluesky_Thread"===r)&&e&&(e.view.dispatch(e.state.tr),S({editor:e}),i({...o,images:l,bodyDraft:e.getHTML()})),"LinkedIn_Post"===r&&i({...o,images:l,bodyDraft:e.getHTML()})})().then(()=>{u.current&&(u.current.value="")}
221)}return Promise.resolve()},removeImage:j,imgRef:u,imageSelected:_,imageLimit:w,activeImage:f,setActiveImage:b,imageLimitExceeded:d}})({post:r,draft:$,updateDraft:q,type:x,editor:j}),{twitterSize:ef,targetRef:ep}=(0,c.default)(),[eh,eg]=(0,n.useState)(!1),[ey,em]=(0,n.useState)(null),[eb,ev]=(0,n.useState)(!1),[ew,ex]=(0,n.useState)(""),[ek,eA]=(0,n.useState)(!1);(0,n.useEffect)(()=>{""===(0,o.convert)($?.bodyDraft??"")&&!1!==ey?em(!0):em(!1)},[$,x]);let eS=()=>{A(!0),j&&j.off("focus",eS)};(0,n.useEffect)(()=>{let e=setTimeout(()=>{!k&&(A(!0),j&&j.off("focus",eS))},2500);return()=>{clearTimeout(e)}},[k]),(0,n.useEffect)(()=>{if(j&&"Deck"===x)return j.on("focus",eS),()=>{j.off("focus",eS)}},[j,x]);let[eE,ej]=(0,n.useState)(0),[e_,eP]=(0,n.useState)(!0),eC=(0,i.default)(e=>{ej(e)},100),eU=(0,n.useCallback)(e=>{_(e)},[]);return{editor:j,description:$.descriptionDraft??"",headline:$.titleDraft??"",setDescription:e=>{q({descriptionDraft:e})},setHeadline:e=>{q({titleDraft:e})},hasHeadline:!!$.titleDraft&&!!$.titleDraft.length,coverImage:$.coverImage??null,setCoverImage:e=>{q({coverImage:e})},contentHasSaved:!1,isEditorEmpty:!$.bodyDraft||"<p></p>"===$.bodyDraft,updateDraft:q,type:x,canEdit:w,user:e,post:r,width:z,twitterSize:ef,targetRef:ep,aboveFoldPreview:eh,setAboveFoldPreview:eg,savingState:Q,...el,selectFile:el.selectFile,...ed,...es,...ei,...G,showEmptyState:ey,setShowEmptyState:em,showOutline:eb,setShowOutline:ev,outlineNotes:ew,setOutlineNotes:ex,mode:Y,setMode:ee,previewSize:B,setPreviewSize:R,editorScrollRef:X,isSlideoverOpen:V,setIsSlideoverOpen:Z,slideoverTab:J,setSlideoverTab:K,isAthenaActive:en,showAthena:ea,setShowAthena:eo,voiceProfileLoading:et,deckHasMounted:k,isMobile:F,currentIndex:eE,setCurrentIndex:ej,debouncedSetCurrentIndex:eC,allowCurrentIndexChanges:e_,setAllowCurrentIndexChanges:eP,sidebarReorder:U,setSidebarReorder:T,compatibleWithHighlighting:ec,showExpand:ek,setShowExpand:eA,updateEditorState:eU,draft:$,activeThreadIndex:P,setActiveThreadIndex:C}})({user:b,post:v});return(0,r.jsx)(z.Provider,{value:w,children:e})},W=()=>{let e=(0,n.useContext)(z);if(!e)throw Error("use must be used within a EditorProvider");return e}},63869,135268,320034,62388,311315,674214,197895,869141,948024,867004,765638,e=>{"use strict";let r,n;var a,o,i,u,c=e.i(855815),s=e.i(6705);e.s(["default",0,()=>{let[e,r]=(0,c.useState)(null),n=(0,c.useCallback)(e=>{null===e?r(null):r(e)},[]),[a,o]=(0,c.useState)("Perfect"),[i,u]=(0,c.useState)(0);return(0,c.useEffect)(()=>{i&&(i*s.DEVICE_SCALE_FACTOR>=s.MAX_IMAGE_WIDTH?o("Too large"):i>800?o("Not optimal"):o("Perfect"))},[i]),(0,c.useEffect)(()=>{if(!e)return;let r=new ResizeObserver(e=>{e&&e[0]&&u(e[0].contentRect.height)});return r.observe(e),()=>{r.unobserve(e)}},[e]),{targetRef:n,twitterSize:a}}],63869);var d=e.i(232647),l=e.i(426002),f=e.i(480),p=e.i(832356);let h=["proven_approach","topic","outcome","audience"];(0,f.object)({id:(0,f.string)(),letter:(0,f.string)(),next:(0,f.string)().nullable()}),(0,f.object)({headline:(0,f.string)()}),(0,f.object)({element:(0,f.string)(),headline:(0,f.string)(),action:(0,f.string)(),replacementText:(0,f.string)().optional()}),(0,f.object)({topic:(0,f.string)(),audience:(0,f.string)(),outcome:(0,f.string)(),approach:(0,f.string)(),element:p.z.enum(h)});let g=(0,f.object)({text:(0,f.string)()}),y=(0,f.array)(g),m=(0,f.object)({replacementText:(0,f.nullable)((0,f.string)()),action:p.z.enum(["insert","replace","nothing"]),description:(0,f.string)()}).extend({id:(0,f.string)(),headlineElement:p.z.enum(h),message:(0,f.string)(),options:(0,f.array)(g)}),b=(0,f.array)(m);(0,f.object)({replacementText:(0,f.nullable)((0,f.string)()),action:(0,f.string)(),description:(0,f.string)()});let v=(0,f.object)({newHeadline:(0,f.string)()});e.s(["default",0,({post:e})=>{let[r,n]=(0,c.useState)(!1),[a,o]=(0,c.useState)(!1),[i,u]=(0,c.useState)([]),[s,f]=(0,c.useState)(""),[p,h]=(0,c.useState)(!1);return{fetchAIFeedback:()=>{n(!0),d.default.track("Athena Headline Review",{headline:e.titleDraft||""}),console.log("Requesting AI Feedback"),fetch("/api/athena/headline",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({headline:e.titleDraft})}).then(e=>{if(!e.ok)throw 429===e.status?l.toast.error("You've reached your daily limit of Athena requests."):l.toast.error("Error talking to Athena."),Error("Error fetching Athena feedback for headline");return e.json()}).then(e=>{let{success:r,data:n}=e;if(!r)throw Error("Error fetching Athena feedback for headline");let a=b.safeParse(n);if(!a.success)throw Error("Error parsing AI feedback for headline");u(a.data)}).catch(e=>console.error(e)).finally(()=>n(!1))},suggestions:i,isFetchingAIFeedback:r,replacementSelectedAI:(e,r,n,a)=>{o(!0),d.default.track("Athena Headline Review - Write",{element:n});let c="audience"===n?e:i.find(e=>"audience"===e.headlineElement)?.replacementText,s="topic"===n?e:i.find(e=>"topic"===e.headlineElement)?.replacementText,p="outcome"===n?e:i.find(e=>"outcome"===e.headlineElement)?.replacementText,h="proven_approach"===n?e:i.find(e=>"proven_approach"===e.headlineElement)?.replacementText;console.log(s,c,p,h,n,e),fetch("/api/athena/headline/write",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({topic:s,audience:c,outcome:p,approach:h,element:n})}).then(e=>{if(!e.ok)throw 429===e.status?l.toast.error("You've reached your daily limit of Athena requests."):l.toast.error("Error talking to Athena."),Error("Error fetching Athena feedback for headline");return e.json()}).then(r=>{let{success:o,data:c}=r;if(!o)throw Error("Error fetching write for headline");let s=v.safeParse(c);if(!s.success)throw Error("Error parsing write for headline");let d={action:"nothing",replacementText:e,headlineElement:n,message:"",options:[{text:"none"}],description:"audience"===n?"Audience is great!":"topic"===n?"Topic is great!":"proven_approach"===n?"Proven Approach is great!":"outcome"===n?"Outcome is great!":"",id:a};u(i.map(e=>e.id===a?d:e)),f(s.data.newHeadline)}).catch(e=>console.error(e)).finally(()=>o(!1))},isFetchingAIReplacement:a,updatedHeadline:s,removeSuggestion:e=>{u(r=>r.filter(r=>r.id!==e))},refreshOptions:(r,n)=>{let a=i.find(e=>e.id===n);h(!0),d.default.track("Athena Headline Review - Refresh",{element:r}),fetch("/api/athena/headline/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({element:r,headline:e.titleDraft,action:a?.action,replacementText:a?.replacementText})}).then(e=>{if(!e.ok)throw 429===e.status?l.toast.error("You've reached your daily limit of Athena requests."):l.toast.error("Error talking to Athena."),Error("Error fetching options for headline");return e.json()}).then(e=>{let{success:r,data:o}=e;if(!r)throw Error("Error fetching options for headline");let c=y.safeParse(o);if(!c.success)throw Error("Error parsing refreshing options for headline");let s=c.data,d={...a,options:s};u(i.map(e=>e.id===n?d:e))}).catch(e=>{console.log(e)}).finally(()=>{h(!1)})},refreshingOptions:p}}],135268);var w=e.i(987325),x=e.i(818279);function k(e,r){return new Promise(function(n,a){let o;return A(e).then(function(e){try{return o=e,n(new Blob([r.slice(0,2),o,r.slice(2)],{type:"image/jpeg"}))}catch(e){return a(e)}},a)})}e.s(["default",0,({id:e,post:r})=>{let n=x.api.privateBlogPost.update.useMutation(),[a,o]=(0,c.useState)(r),[i,u]=(0,c.useState)(null),s=(0,c.useRef)((0,w.default)(r=>{try{n.mutate({id:e,type:r.type||"Atomic_Essay",titleDraft:r.titleDraft,descriptionDraft:r.descriptionDraft,bodyDraft:r.bodyDraft,coverImage:r.coverImage,draftUpdatedAt:r.draftUpdatedAt?"string"==typeof r.draftUpdatedAt?r.draftUpdatedAt:r.draftUpdatedAt instanceof Date?r.draftUpdatedAt.toISOString():void 0:void 0},{onSuccess:()=>{u("saved")},onError:()=>{u("error")}})}catch(e){console.log("Error updating"),console.error(e)}},500)).current;return(0,c.useEffect)(()=>{null!==i&&u("unsaved");try{localStorage?.setItem(`blogPostDraft-${e}`,JSON.stringify(a))}catch{}},[a,e]),(0,c.useEffect)(()=>()=>{s.cancel()}
221,[s]),{draft:a,updateDraft:e=>{o(r=>{let n={...r,...e,draftUpdatedAt:new Date};return s(n),n})},savingState:i,setSavingState:u}}],320034),e.s(["default",0,function(e,r,n){(0,c.useEffect)(()=>{if(!e||!n.current)return;let r=function(e){let{head:r}=e.state.selection,n=e.view.coordsAtPos(r);return document.elementFromPoint(n.left,n.top)}(e);r&&function(e,r){let n=e.getBoundingClientRect(),a=window.innerHeight-80;if(n.bottom>=a){let e=n.bottom-a+48,o=r.scrollTop+e;r.scrollTo({top:o,behavior:"smooth"})}}(r,n.current)},[e,r,n])}],62388),e.s(["default",0,e=>{let[r,n]=(0,c.useState)(0),a=(0,c.useRef)(null);return(0,c.useEffect)(()=>{a?.current?.clientHeight&&"LinkedIn_Post"===e&&n(a?.current?.clientHeight)},[e]),{editorHeight:r,editorRef:a}}],311315);let A=e=>new Promise((r,n)=>{let a=new FileReader;a.addEventListener("load",({target:{result:e}})=>{let a=new DataView(e),o=0;if(65496!==a.getUint16(o))return n("not a valid JPEG");for(o+=2;;){let i=a.getUint16(o);if(65498===i)break;let u=a.getUint16(o+2);if(65505===i&&0x45786966===a.getUint32(o+4)){let i,c=o+10;switch(a.getUint16(c)){case 18761:i=!0;break;case 19789:i=!1;break;default:return n("TIFF header contains invalid endian")}if(42!==a.getUint16(c+2,i))return n("TIFF header contains invalid version");let s=a.getUint32(c+4,i),d=c+s+2+12*a.getUint16(c+s,i);for(let e=c+s+2;e<d;e+=12)if(274==a.getUint16(e,i)){if(3!==a.getUint16(e+2,i))return n("Orientation data type is invalid");if(1!==a.getUint32(e+4,i))return n("Orientation data count is invalid");a.setUint16(e+8,1,i);break}return r(e.slice(o,o+2+u))}o+=2+u}return r(new Blob)}),a.readAsArrayBuffer(e)});var S={};({get exports(){return S},set exports(t){S=t}}).exports=i={},i.parse=function(e,r){for(var n=i.bin.readUshort,a=i.bin.readUint,o=0,u={},c=new Uint8Array(e),s=c.length-4;0x6054b50!=a(c,s);)s--;var d=n(c,o=s+4+4);n(c,o+=2);var l=a(c,o+=2),f=a(c,o+=4);o+=4,o=f;for(var p=0;p<d;p++){a(c,o),o+=4,o+=4,o+=4,a(c,o+=4),l=a(c,o+=4);var h=a(c,o+=4),g=n(c,o+=4),y=n(c,o+2),m=n(c,o+4);o+=6;var b=a(c,o+=8);o+=4,o+=g+y+m,i._readLocal(c,b,u,l,h,r)}return u},i._readLocal=function(e,r,n,a,o,u){var c=i.bin.readUshort,s=i.bin.readUint;s(e,r),c(e,r+=4),c(e,r+=2);var d=c(e,r+=2);s(e,r+=2),s(e,r+=4),r+=4;var l=c(e,r+=8),f=c(e,r+=2);r+=2;var p=i.bin.readUTF8(e,r,l);if(r+=l,r+=f,u)n[p]={size:o,csize:a};else{var h=new Uint8Array(e.buffer,r);if(0==d)n[p]=new Uint8Array(h.buffer.slice(r,r+a));else{if(8!=d)throw"unknown compression method: "+d;var g=new Uint8Array(o);i.inflateRaw(h,g),n[p]=g}}},i.inflateRaw=function(e,r){return i.F.inflate(e,r)},i.inflate=function(e,r){return e[0],e[1],i.inflateRaw(new Uint8Array(e.buffer,e.byteOffset+2,e.length-6),r)},i.deflate=function(e,r){null==r&&(r={level:6});var n=0,a=new Uint8Array(50+Math.floor(1.1*e.length));a[n]=120,a[n+1]=156,n+=2,n=i.F.deflateRaw(e,a,n,r.level);var o=i.adler(e,0,e.length);return a[n+0]=o>>>24&255,a[n+1]=o>>>16&255,a[n+2]=o>>>8&255,a[n+3]=o>>>0&255,new Uint8Array(a.buffer,0,n+4)},i.deflateRaw=function(e,r){null==r&&(r={level:6});var n=new Uint8Array(50+Math.floor(1.1*e.length)),a=i.F.deflateRaw(e,n,a,r.level);return new Uint8Array(n.buffer,0,a)},i.encode=function(e,r){null==r&&(r=!1);var n=0,a=i.bin.writeUint,o=i.bin.writeUshort,u={};for(var c in e){var s=!i._noNeed(c)&&!r,d=e[c],l=i.crc.crc(d,0,d.length);u[c]={cpr:s,usize:d.length,crc:l,file:s?i.deflateRaw(d):d}}for(var c in u)n+=u[c].file.length+30+46+2*i.bin.sizeUTF8(c);var f=new Uint8Array(n+=22),p=0,h=[];for(var c in u){var g=u[c];h.push(p),p=i._writeHeader(f,p,c,g,0)}var y=0,m=p;for(var c in u)g=u[c],h.push(p),p=i._writeHeader(f,p,c,g,1,h[y++]);var b=p-m;return a(f,p,0x6054b50),p+=4,o(f,p+=4,y),o(f,p+=2,y),a(f,p+=2,b),a(f,p+=4,m),p+=4,p+=2,f.buffer},i._noNeed=function(e){var r=e.split(".").pop().toLowerCase();return -1!="png,jpg,jpeg,zip".indexOf(r)},i._writeHeader=function(e,r,n,a,o,u){var c=i.bin.writeUint,s=i.bin.writeUshort,d=a.file;return c(e,r,0==o?0x4034b50:0x2014b50),r+=4,1==o&&(r+=2),s(e,r,20),s(e,r+=2,0),s(e,r+=2,8*!!a.cpr),c(e,r+=2,0),c(e,r+=4,a.crc),c(e,r+=4,d.length),c(e,r+=4,a.usize),s(e,r+=4,i.bin.sizeUTF8(n)),s(e,r+=2,0),r+=2,1==o&&(r+=2,r+=2,c(e,r+=6,u),r+=4),r+=i.bin.writeUTF8(e,r,n),0==o&&(e.set(d,r),r+=d.length),r},i.crc={table:function(){for(var e=new Uint32Array(256),r=0;r<256;r++){for(var n=r,a=0;a<8;a++)1&n?n=0xedb88320^n>>>1:n>>>=1;e[r]=n}return e}(),update:function(e,r,n,a){for(var o=0;o<a;o++)e=i.crc.table[255&(e^r[n+o])]^e>>>8;return e},crc:function(e,r,n){return 0xffffffff^i.crc.update(0xffffffff,e,r,n)}},i.adler=function(e,r,n){for(var a=1,o=0,i=r,u=r+n;i<u;){for(var c=Math.min(i+5552,u);i<c;)o+=a+=e[i++];a%=65521,o%=65521}return o<<16|a},i.bin={readUshort:function(e,r){return e[r]|e[r+1]<<8},writeUshort:function(e,r,n){e[r]=255&n,e[r+1]=n>>8&255},readUint:function(e,r){return 0x1000000*e[r+3]+(e[r+2]<<16|e[r+1]<<8|e[r])},writeUint:function(e,r,n){e[r]=255&n,e[r+1]=n>>8&255,e[r+2]=n>
vendor: 4,787 bytes, line 221
221>16&255,e[r+3]=n>>24&255},readASCII:function(e,r,n){for(var a="",o=0;o<n;o++)a+=String.fromCharCode(e[r+o]);return a},writeASCII:function(e,r,n){for(var a=0;a<n.length;a++)e[r+a]=n.charCodeAt(a)},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,r,n){for(var a,o="",u=0;u<n;u++)o+="%"+i.bin.pad(e[r+u].toString(16));try{a=decodeURIComponent(o)}catch(a){return i.bin.readASCII(e,r,n)}return a},writeUTF8:function(e,r,n){for(var a=n.length,o=0,i=0;i<a;i++){var u=n.charCodeAt(i);if(0==(0xffffff80&u))e[r+o]=u,o++;else if(0==(0xfffff800&u))e[r+o]=192|u>>6,e[r+o+1]=128|63&u,o+=2;else if(0==(0xffff0000&u))e[r+o]=224|u>>12,e[r+o+1]=128|u>>6&63,e[r+o+2]=128|63&u,o+=3;else{if(0!=(0xffe00000&u))throw"e";e[r+o]=240|u>>18,e[r+o+1]=128|u>>12&63,e[r+o+2]=128|u>>6&63,e[r+o+3]=128|63&u,o+=4}}return o},sizeUTF8:function(e){for(var r=e.length,n=0,a=0;a<r;a++){var o=e.charCodeAt(a);if(0==(0xffffff80&o))n++;else if(0==(0xfffff800&o))n+=2;else if(0==(0xffff0000&o))n+=3;else{if(0!=(0xffe00000&o))throw"e";n+=4}}return n}},i.F={},i.F.deflateRaw=function(e,r,n,a){var o=[[0,0,0,0,0],[4,4,8,4,0],[4,5,16,8,0],[4,6,16,16,0],[4,10,16,32,0],[8,16,32,32,0],[8,16,128,128,0],[8,32,128,256,0],[32,128,258,1024,1],[32,258,258,4096,1]][a],u=i.F.U,c=i.F._goodIndex;i.F._hash;var s=i.F._putsE,d=0,l=n<<3,f=0,p=e.length;if(0==a){for(;d<p;)s(r,l,+(d+(E=Math.min(65535,p-d))==p)),l=i.F._copyExact(e,d,E,r,l+8),d+=E;return l>>>3}var h=u.lits,g=u.strt,y=u.prev,m=0,b=0,v=0,w=0,x=0,k=0;for(p>2&&(g[k=i.F._hash(e,0)]=0),d=0;d<p;d++){if(x=k,d+1<p-2){k=i.F._hash(e,d+1);var A=d+1&32767;y[A]=g[k],g[k]=A}if(f<=d){(m>14e3||b>26697)&&p-d>100&&(f<d&&(h[m]=d-f,m+=2,f=d),l=i.F._writeBlock(+(d==p-1||f==p),h,m,w,e,v,d-v,r,l),m=b=w=0,v=d);var S=0;d<p-2&&(S=i.F._bestMatch(e,d,y,x,Math.min(o[2],p-d),o[3]));var E=S>>>16,j=65535&S;if(0!=S){j=65535&S;var _=c(E=S>>>16,u.of0);u.lhst[257+_]++;var P=c(j,u.df0);u.dhst[P]++,w+=u.exb[_]+u.dxb[P],h[m]=E<<23|d-f,h[m+1]=j<<16|_<<8|P,m+=2,f=d+E}else u.lhst[e[d]]++;b++}}for(v==d&&0!=e.length||(f<d&&(h[m]=d-f,m+=2,f=d),l=i.F._writeBlock(1,h,m,w,e,v,d-v,r,l),m=0,b=0,m=b=w=0,v=d);0!=(7&l);)l++;return l>>>3},i.F._bestMatch=function(e,r,n,a,o,u){var c=32767&r,s=n[c],d=c-s+32768&32767;if(s==c||a!=i.F._hash(e,r-d))return 0;for(var l=0,f=0,p=Math.min(32767,r);d<=p&&0!=--u&&s!=c;){if(0==l||e[r+l]==e[r+l-d]){var h=i.F._howLong(e,r,d);if(h>l){if(f=d,(l=h)>=o)break;d+2<h&&(h=d+2);for(var g=0,y=0;y<h-2;y++){var m=r-d+y+32768&32767,b=m-n[m]+32768&32767;b>g&&(g=b,s=m)}}}d+=(c=s)-(s=n[c])+32768&32767}return l<<16|f},i.F._howLong=function(e,r,n){if(e[r]!=e[r-n]||e[r+1]!=e[r+1-n]||e[r+2]!=e[r+2-n])return 0;var a=r,o=Math.min(e.length,r+258);for(r+=3;r<o&&e[r]==e[r-n];)r++;return r-a},i.F._hash=function(e,r){return(e[r]<<8|e[r+1])+(e[r+2]<<4)&65535},i.saved=0,i.F._writeBlock=function(e,r,n,a,o,u,c,s,d){var l,f,p,h,g,y,m,b,v,w,x,k=i.F.U,A=i.F._putsF,S=i.F._putsE;k.lhst[256]++,h=(p=i.F.getTrees())[0],g=p[1],y=p[2],m=p[3],b=p[4],v=p[5],w=p[6],x=p[7];var E=32+(0==(d+3&7)?0:8-(d+3&7))+(c<<3),j=a+i.F.contSize(k.fltree,k.lhst)+i.F.contSize(k.fdtree,k.dhst),_=a+i.F.contSize(k.ltree,k.lhst)+i.F.contSize(k.dtree,k.dhst);_+=14+3*v+i.F.contSize(k.itree,k.ihst)+(2*k.ihst[16]+3*k.ihst[17]+7*k.ihst[18]);for(var P=0;P<286;P++)k.lhst[P]=0;for(P=0;P<30;P++)k.dhst[P]=0;for(P=0;P<19;P++)k.ihst[P]=0;var C=E<j&&E<_?0:j<_?1:2;if(A(s,d,e),A(s,d+1,C),d+=3,0==C){for(;0!=(7&d);)d++;d=i.F._copyExact(o,u,c,s,d)}else{if(1==C&&(l=k.fltree,f=k.fdtree),2==C){i.F.makeCodes(k.ltree,h),i.F.revCodes(k.ltree,h),i.F.makeCodes(k.dtree,g),i.F.revCodes(k.dtree,g),i.F.makeCodes(k.itree,y),i.F.revCodes(k.itree,y),l=k.ltree,f=k.dtree,S(s,d,m-257),S(s,d+=5,b-1),S(s,d+=5,v-4),d+=4;for(var U=0;U<v;U++)S(s,d+3*U,k.itree[1+(k.ordr[U]<<1)]);d+=3*v,d=i.F._codeTiny(w,k.itree,s,d),d=i.F._codeTiny(x,k.itree,s,d)}for(var T=u,O=0;O<n;O+=2){for(var F=r[O],M=F>>>23,B=T+(8388607&F);T<B;)d=i.F._writeLit(o[T++],l,s,d);if(0!=M){var I=r[O+1],R=I>>16,L=I>>8&255,D=255&I;S(s,d=i.F._writeLit(257+L,l,s,d),M-k.of0[L]),d+=k.exb[L],A(s,d=i.F._writeLit(D,f,s,d),R-k.df0[D]),d+=k.dxb[D],T+=M}}d=i.F._writeLit(256,l,s,d)}return d},i.F._copyExact=function(e,r,n,a,o){var i=o>>>3;return a[i]=n,a[i+1]=n>>>8,a[i+2]=255-a[i],a[i+3]=255-a[i+1],i+=4,a.set(new Uint8Array(e.buffer,r,n),i),o+(n+4<<3)},i.F.getTrees=function(){for(var e=i.F.U,r=i.F._hufTree(e.lhst,e.ltree,15),n=i.F._hufTree(e.dhst,e.dtree,15),a=[],o=i.F._lenCodes(e.ltree,a),u=[],c=i.F._lenCodes(e.dtree,u),s=0;s<a.length;s+=2)e.ihst[a[s]]++;for(s=0;s<u.length;s+=2)e.ihst[u[s]]++;for(var d=i.F._hufTree(e.ihst,e.itree,7),l=19;l>4&&0==e.itree[1+(e.ordr[l-1]<<1)];)l--;return[r,n,d,o,c,l,a,u]},i.F.getSecond=function(e){for(var r=[],n=0;n<e.length;n+=2)r.push(e[n+1]);return r},i.F.nonZero=function(e){for(var r="",n=0;n<e.length;n+=2)0!=e[n+1]&&(r+=(n>>1)+",");return r}
221,i.F.contSize=function(e,r){for(var n=0,a=0;a<r.length;a++)n+=r[a]*e[1+(a<<1)];return n},i.F._codeTiny=function(e,r,n,a){for(var o=0;o<e.length;o+=2){var u=e[o],c=e[o+1];a=i.F._writeLit(u,r,n,a);var s=16==u?2:17==u?3:7;u>15&&(i.F._putsE(n,a,c,s),a+=s)}return a},i.F._lenCodes=function(e,r){for(var n=e.length;2!=n&&0==e[n-1];)n-=2;for(var a=0;a<n;a+=2){var o=e[a+1],i=a+3<n?e[a+3]:-1,u=a+5<n?e[a+5]:-1,c=0==a?-1:e[a-1];if(0==o&&i==o&&u==o){for(var s=a+5;s+2<n&&e[s+2]==o;)s+=2;(d=Math.min(s+1-a>>>1,138))<11?r.push(17,d-3):r.push(18,d-11),a+=2*d-2}else if(o==c&&i==o&&u==o){for(s=a+5;s+2<n&&e[s+2]==o;)s+=2;var d=Math.min(s+1-a>>>1,6);r.push(16,d-3),a+=2*d-2}else r.push(o,0)}return n>>>1},i.F._hufTree=function(e,r,n){var a=[],o=e.length,u=r.length,c=0;for(c=0;c<u;c+=2)r[c]=0,r[c+1]=0;for(c=0;c<o;c++)0!=e[c]&&a.push({lit:c,f:e[c]});var s=a.length,d=a.slice(0);if(0==s)return 0;if(1==s){var l=a[0].lit;return d=+(0==l),r[1+(l<<1)]=1,r[1+(d<<1)]=1,1}a.sort(function(e,r){return e.f-r.f});var f=a[0],p=a[1],h=0,g=1,y=2;for(a[0]={lit:-1,f:f.f+p.f,l:f,r:p,d:0};g!=s-1;)f=h!=g&&(y==s||a[h].f<a[y].f)?a[h++]:a[y++],p=h!=g&&(y==s||a[h].f<a[y].f)?a[h++]:a[y++],a[g++]={lit:-1,f:f.f+p.f,l:f,r:p};var m=i.F.setDepth(a[g-1],0);for(m>n&&(i.F.restrictDepth(d,n,m),m=n),c=0;c<s;c++)r[1+(d[c].lit<<1)]=d[c].d;return m},i.F.setDepth=function(e,r){return -1!=e.lit?(e.d=r,r):Math.max(i.F.setDepth(e.l,r+1),i.F.setDepth(e.r,r+1))},i.F.restrictDepth=function(e,r,n){var a=0,o=1<<n-r,i=0;for(e.sort(function(e,r){return r.d==e.d?e.f-r.f:r.d-e.d}),a=0;a<e.length&&e[a].d>r;a++){var u=e[a].d;e[a].d=r,i+=o-(1<<n-u)}for(i>>>=n-r;i>0;)(u=e[a].d)<r?(e[a].d++,i-=1<<r-u-1):a++;for(;a>=0;a--)e[a].d==r&&i<0&&(e[a].d--,i++);0!=i&&console.log("debt left")},i.F._goodIndex=function(e,r){var n=0;return r[16]<=e&&(n|=16),r[8|n]<=e&&(n|=8),r[4|n]<=e&&(n|=4),r[2|n]<=e&&(n|=2),r[1|n]<=e&&(n|=1),n},i.F._writeLit=function(e,r,n,a){return i.F._putsF(n,a,r[e<<1]),a+r[1+(e<<1)]},i.F.inflate=function(e,r){var n=Uint8Array;
vendor: 4,436 bytes, line 221
221if(3==e[0]&&0==e[1])return r||new n(0);var a=i.F,o=a._bitsF,u=a._bitsE,c=a._decodeTiny,s=a.makeCodes,d=a.codes2map,l=a._get17,f=a.U,p=null==r;p&&(r=new n(e.length>>>2<<3));for(var h,g,y=0,m=0,b=0,v=0,w=0,x=0,k=0,A=0,S=0;0==y;)if(y=o(e,S,1),m=o(e,S+1,2),S+=3,0!=m){if(p&&(r=i.F._check(r,A+131072)),1==m&&(h=f.flmap,g=f.fdmap,x=511,k=31),2==m){b=u(e,S,5)+257,v=u(e,S+5,5)+1,w=u(e,S+10,4)+4,S+=14;for(var E=0;E<38;E+=2)f.itree[E]=0,f.itree[E+1]=0;var j=1;for(E=0;E<w;E++){var _=u(e,S+3*E,3);f.itree[1+(f.ordr[E]<<1)]=_,_>j&&(j=_)}S+=3*w,s(f.itree,j),d(f.itree,j,f.imap),h=f.lmap,g=f.dmap,S=c(f.imap,(1<<j)-1,b+v,e,S,f.ttree);var P=a._copyOut(f.ttree,0,b,f.ltree);x=(1<<P)-1;var C=a._copyOut(f.ttree,b,v,f.dtree);k=(1<<C)-1,s(f.ltree,P),d(f.ltree,P,h),s(f.dtree,C),d(f.dtree,C,g)}for(;;){var U=h[l(e,S)&x];S+=15&U;var T=U>>>4;if(T>>>8==0)r[A++]=T;else{if(256==T)break;var O=A+T-254;if(T>264){var F=f.ldef[T-257];O=A+(F>>>3)+u(e,S,7&F),S+=7&F}var M=g[l(e,S)&k];S+=15&M;var B=M>>>4,I=f.ddef[B],R=(I>>>4)+o(e,S,15&I);for(S+=15&I,p&&(r=i.F._check(r,A+131072));A<O;)r[A]=r[A++-R],r[A]=r[A++-R],r[A]=r[A++-R],r[A]=r[A++-R];A=O}}}else{0!=(7&S)&&(S+=8-(7&S));var L=4+(S>>>3),D=e[L-4]|e[L-3]<<8;p&&(r=i.F._check(r,A+D)),r.set(new n(e.buffer,e.byteOffset+L,D),A),S=L+D<<3,A+=D}return r.length==A?r:r.slice(0,A)},i.F._check=function(e,r){var n=e.length;if(r<=n)return e;var a=new Uint8Array(Math.max(n<<1,r));return a.set(e,0),a},i.F._decodeTiny=function(e,r,n,a,o,u){for(var c=i.F._bitsE,s=i.F._get17,d=0;d<n;){var l=e[s(a,o)&r];o+=15&l;var f=l>>>4;if(f<=15)u[d]=f,d++;else{var p=0,h=0;16==f?(h=3+c(a,o,2),o+=2,p=u[d-1]):17==f?(h=3+c(a,o,3),o+=3):18==f&&(h=11+c(a,o,7),o+=7);for(var g=d+h;d<g;)u[d]=p,d++}}return o},i.F._copyOut=function(e,r,n,a){for(var o=0,i=0,u=a.length>>>1;i<n;){var c=e[i+r];a[i<<1]=0,a[1+(i<<1)]=c,c>o&&(o=c),i++}for(;i<u;)a[i<<1]=0,a[1+(i<<1)]=0,i++;return o},i.F.makeCodes=function(e,r){for(var n,a,o,u,c=i.F.U,s=e.length,d=c.bl_count,l=0;l<=r;l++)d[l]=0;for(l=1;l<s;l+=2)d[e[l]]++;var f=c.next_code;for(n=0,d[0]=0,a=1;a<=r;a++)n=n+d[a-1]<<1,f[a]=n;for(o=0;o<s;o+=2)0!=(u=e[o+1])&&(e[o]=f[u],f[u]++)},i.F.codes2map=function(e,r,n){for(var a=e.length,o=i.F.U.rev15,u=0;u<a;u+=2)if(0!=e[u+1])for(var c=u>>1,s=e[u+1],d=c<<4|s,l=r-s,f=e[u]<<l,p=f+(1<<l);f!=p;)n[o[f]>>>15-r]=d,f++},i.F.revCodes=function(e,r){for(var n=i.F.U.rev15,a=15-r,o=0;o<e.length;o+=2){var u=e[o]<<r-e[o+1];e[o]=n[u]>>>a}},i.F._putsE=function(e,r,n){n<<=7&r;var a=r>>>3;e[a]|=n,e[a+1]|=n>>>8},i.F._putsF=function(e,r,n){n<<=7&r;var a=r>>>3;e[a]|=n,e[a+1]|=n>>>8,e[a+2]|=n>>>16},i.F._bitsE=function(e,r,n){return(e[r>>>3]|e[1+(r>>>3)]<<8)>>>(7&r)&(1<<n)-1},i.F._bitsF=function(e,r,n){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16)>>>(7&r)&(1<<n)-1},i.F._get17=function(e,r){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16)>>>(7&r)},i.F._get25=function(e,r){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16|e[3+(r>>>3)]<<24)>>>(7&r)},i.F.U=(a=Uint16Array,o=Uint32Array,{next_code:new a(16),bl_count:new a(16),ordr:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],of0:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],exb:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],ldef:new a(32),df0:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],dxb:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],ddef:new o(32),flmap:new a(512),fltree:[],fdmap:new a(32),fdtree:[],lmap:new a(32768),ltree:[],ttree:[],dmap:new a(32768),dtree:[],imap:new a(512),itree:[],rev15:new a(32768),lhst:new o(286),dhst:new o(30),ihst:new o(19),lits:new o(15e3),strt:new a(65536),prev:new a(32768)}),function(){for(var e=i.F.U,r=0;r<32768;r++){var n=r;n=(0xff00ff00&(n=(0xf0f0f0f0&(n=(0xcccccccc&(n=(0xaaaaaaaa&n)>>>1|(0x55555555&n)<<1))>>>2|(0x33333333&n)<<2))>>>4|(0xf0f0f0f&n)<<4))>>>8|(0xff00ff&n)<<8,e.rev15[r]=(n>>>16|n<<16)>>>17}function a(e,r,n){for(;0!=r--;)e.push(0,n)}for(r=0;r<32;r++)e.ldef[r]=e.of0[r]<<3|e.exb[r],e.ddef[r]=e.df0[r]<<4|e.dxb[r];a(e.fltree,144,8),a(e.fltree,112,9),a(e.fltree,24,7),a(e.fltree,8,8),i.F.makeCodes(e.fltree,9),i.F.codes2map(e.fltree,9,e.flmap),i.F.revCodes(e.fltree,9),a(e.fdtree,32,5),i.F.makeCodes(e.fdtree,5),i.F.codes2map(e.fdtree,5,e.fdmap),i.F.revCodes(e.fdtree,5),a(e.itree,19,0),a(e.ltree,286,0),a(e.dtree,30,0),a(e.ttree,320,0)}();var E=(u={__proto__:null,default:S}
221,[S].forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(r){if("default"!==r&&!(r in u)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(u,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})}),Object.freeze(u));let j=function(){let e,r,n;var a={nextZero(e,r){for(;0!=e[r];)r++;return r},readUshort:(e,r)=>e[r]<<8|e[r+1],writeUshort(e,r,n){e[r]=n>>8&255,e[r+1]=255&n},readUint:(e,r)=>0x1000000*e[r]+(e[r+1]<<16|e[r+2]<<8|e[r+3]),writeUint(e,r,n){e[r]=n>>24&255,e[r+1]=n>>16&255,e[r+2]=n>>8&255,e[r+3]=255&n},readASCII(e,r,n){let a="";for(let o=0;o<n;o++)a+=String.fromCharCode(e[r+o]);return a},writeASCII(e,r,n){for(let a=0;a<n.length;a++)e[r+a]=n.charCodeAt(a)},readBytes(e,r,n){let a=[];for(let o=0;o<n;o++)a.push(e[r+o]);return a},pad:e=>e.length<2?`0${e}`:e,readUTF8(e,r,n){let o,i="";for(let o=0;o<n;o++)i+=`%${a.pad(e[r+o].toString(16))}`;try{o=decodeURIComponent(i)}catch(o){return a.readASCII(e,r,n)}return o}};function o(e,r,n,o){let i=r*n,u=Math.ceil(r*s(o)/8),c=new Uint8Array(4*i),d=new Uint32Array(c.buffer),{ctype:l}=o,{depth:f}=o,p=a.readUshort;if(6==l){let r=i<<2;if(8==f)for(var h=0;h<r;h+=4)c[h]=e[h],c[h+1]=e[h+1],c[h+2]=e[h+2],c[h+3]=e[h+3];if(16==f)for(h=0;h<r;h++)c[h]=e[h<<1]}else if(2==l){let r=o.tabs.tRNS;if(null==r){if(8==f)for(h=0;h<i;h++){var g=3*h;d[h]=-0x1000000|e[g+2]<<16|e[g+1]<<8|e[g]}if(16==f)for(h=0;h<i;h++)g=6*h,d[h]=-0x1000000|e[g+4]<<16|e[g+2]<<8|e[g]}else{var y=r[0];let n=r[1],a=r[2];if(8==f)for(h=0;h<i;h++){var m=h<<2;g=3*h,d[h]=-0x1000000|e[g+2]<<16|e[g+1]<<8|e[g],e[g]==y&&e[g+1]==n&&e[g+2]==a&&(c[m+3]=0)}if(16==f)for(h=0;h<i;h++)m=h<<2,g=6*h,d[h]=-0x1000000|e[g+4]<<16|e[g+2]<<8|e[g],p(e,g)==y&&p(e,g+2)==n&&p(e,g+4)==a&&(c[m+3]=0)}}else if(3==l){let a=o.tabs.PLTE,s=o.tabs.tRNS,d=s?s.length:0;if(1==f)for(var b,v=0;v<n;v++){var w=v*u,x=v*r;for(h=0;h<r;h++){m=x+h<<2;var k=3*(b=e[w+(h>>3)]>>7-(7&h)&1);c[m]=a[k],c[m+1]=a[k+1],c[m+2]=a[k+2],c[m+3]=b<d?s[b]:255}}if(2==f)for(v=0;v<n;v++)for(w=v*u,x=v*r,h=0;h<r;h++)m=x+h<<2,k=3*(b=e[w+(h>>2)]>>6-((3&h)<<1)&3),c[m]=a[k],c[m+1]=a[k+1],c[m+2]=a[k+2],c[m+3]=b<d?s[b]:255;if(4==f)for(v=0;v<n;v++)for(w=v*u,x=v*r,h=0;h<r;h++)m=x+h<<2,k=3*(b=e[w+(h>>1)]>>4-((1&h)<<2)&15),c[m]=a[k],c[m+1]=a[k+1],c[m+2]=a[k+2],c[m+3]=b<d?s[b]:255;if(8==f)for(h=0;h<i;h++)m=h<<2,k=3*(b=e[h]),c[m]=a[k],c[m+1]=a[k+1],c[m+2]=a[k+2],c[m+3]=b<d?s[b]:255}else if(4==l){if(8==f)for(h=0;h<i;h++){m=h<<2;var A,S=e[A=h<<1];c[m]=S,c[m+1]=S,c[m+2]=S,c[m+3]=e[A+1]}if(16==f)for(h=0;h<i;h++)m=h<<2,S=e[A=h<<2],c[m]=S,c[m+1]=S,c[m+2]=S,c[m+3]=e[A+2]}else if(0==l)for(y=o.tabs.tRNS?o.tabs.tRNS:-1,v=0;v<n;v++){let n=v*u,a=v*r;if(1==f)for(var E=0;E<r;E++){var j=255*((S=255*(e[n+(E>>>3)]>>>7-(7&E)&1))!=255*y);d[a+E]=j<<24|S<<16|S<<8|S}else if(2==f)for(E=0;E<r;E++)j=255*((S=85*(e[n+(E>>>2)]>>>6-((3&E)<<1)&3))!=85*y),d[a+E]=j<<24|S<<16|S<<8|S;else if(4==f)for(E=0;E<r;E++)j=255*((S=17*(e[n+(E>>>1)]>>>4-((1&E)<<2)&15))!=17*y),d[a+E]=j<<24|S<<16|S<<8|S;else if(8==f)for(E=0;E<r;E++)j=255*((S=e[n+E])!=y),d[a+E]=j<<24|S<<16|S<<8|S;else if(16==f)for(E=0;E<r;E++)S=e[n+(E<<1)],j=255*(p(e,n+(E<<1))!=y),d[a+E]=j<<24|S<<16|S<<8|S}return c}function i(e,r,n,a){let o=new Uint8Array((Math.ceil(n*s(e)/8)+1+e.interlace)*a);return r=e.tabs.CgBI?c(r,o):u(r,o),0==e.interlace?r=d(r,e,0,n,a):1==e.interlace&&(r=function(e,r){let n=r.width,a=r.height,o=s(r),i=o>>3,u=Math.ceil(n*o/8),c=new Uint8Array(a*u),l=0,f=[0,0,4,0,2,0,1],p=[0,4,0,2,0,1,0],h=[8,8,8,4,4,2,2],g=[8,8,4,4,2,2,1],y=0;for(;y<7;){let s=h[y],b=g[y],v=0,w=0,x=f[y];for(;x<a;)x+=s,w++;let k=p[y];for(;k<n;)k+=b,v++;let A=Math.ceil(v*o/8);d(e,r,l,v,w);let S=0,E=f[y];for(;E<a;){let r=p[y],a=l+S*A<<3;for(;r<n;){var m;if(1==o&&(m=(m=e[a>>3])>>7-(7&a)&1,c[E*u+(r>>3)]|=m<<7-(7&r)),2==o&&(m=(m=e[a>>3])>>6-(7&a)&3,c[E*u+(r>>2)]|=m<<6-((3&r)<<1)),4==o&&(m=(m=e[a>>3])>>4-(7&a)&15,c[E*u+(r>>1)]|=m<<4-((1&r)<<2)),o>=8){let n=E*u+r*i;for(let r=0;r<i;r++)c[n+r]=e[(a>>3)+r]}a+=o,r+=b}S++,E+=s}v*w!=0&&(l+=w*(1+A)),y+=1}return c}(r,e)),r}function u(e,r){return c(new Uint8Array(e.buffer,2,e.length-6),r)}var c=((e={}).N=function(r,n){let a=Uint8Array,o,i,u=0,c=0,s=0,d=0,l=0,f=0,p=0,h=0,g=0;if(3==r[0]&&0==r[1])return n||new a(0);let y=e.b,m=e.e,b=e.R,v=e.n,w=e.A,x=e.Z,k=e.m,A=null==n;for(A&&(n=new a(r.length>>>2<<5));0==u;)if(u=y(r,g,1),c=y(r,g+1,2),g+=3,0!=c){if(A&&(n=e.W(n,h+131072)),1==c&&(o=k.J,i=k.h,f=511,p=31),2==c){s=m(r,g,5)+257,d=m(r,g+5,5)+1,l=m(r,g+10,4)+4,g+=14;let n=1;for(var S=0;S<38;S+=2)k.Q[S]=0,k.Q[S+1]=0;for(S=0;S<l;S++){let e=m(r,g+3*S,3);k.Q[1+(k.X[S]<<1)]=e,e>n&&(n=e)}g+=3*l,v(k.Q,n),w(k.Q,n,k.u),o=k.w,i=k.d,g=b(k.u,(1<<n)-1,s+d,r,g,k.v);let a=e.V(k.v,0,s,k.C);f=(1<<a)-1;let u=e.V(k.v,s,d,k.D);p=(1<<u)-1,v(k.C,a),w(k.C,a,o),v(k.D,u),w(k.D,u,i)}for(;;){let e=o[x(r,g)&f];g+=15&e;let a=e>>>4;if(a>>>8==0)n[h++]=a;else{if(256==a)break;{let e=h+a-254;if(a>264){let n=k.q[a-257];e=h+(n>>>3)+m(r,g,7&n),g+=7&n}let o=i[x(r,g)&p];g+=15&o;let u=o>>>4,c=k.c[u],s=(c>>>4)+y(r,g,15&c);for(g+=15&c;h<e;)n[h]=n[h++-s],n[h]=n[h++-s],n[h]=n[h++-s],n[h]=n[h++-s];h=e}}}}else{0!=(7&g)&&(g+=8-(7&g));let o=4+(g>>>3),i=r[o-4]|r[o-3]<<8;A&&(n=e.W(n,h+i)),n.set(new a(r.buffer,r.byteOffset+o,i),h),g=o+i<<3,h+=i}return n.length==h?n:n.slice(0,h)},e.W=function(e,r){let n=e.length;if(r<=n)return e;let a=new Uint8Array(n<<1);return a.set(e,0),a},e.R=function(r,n,a,o,i,u){let c=e.e,s=e.Z,d=0;for(;d<a;){let e=r[s(o,i)&n];i+=15&e;let a=e>>>4;if(a<=15)u[d]=a,d++;else{let e=0,r=0;16==a?(r=3+c(o,i,2),i+=2,e=u[d-1]):17==a?(r=3+c(o,i,3),i+=3):18==a&&(r=11+c(o,i,7),i+=7);let n=d+r;for(;d<n;)u[d]=e,d++}}return i},e.V=function(e,r,n,a){let o=0,i=0,u=a.length>>>1;for(;i<n;){let n=e[i+r];a[i<<1]=0,a[1+(i<<1)]=n,n>o&&(o=n),i++}for(;i<u;)a[i<<1]=0,a[1+(i<<1)]=0,i++;return o},e.n=function(r,n){let a,o,i,u,c=e.m,s=r.length,d=c.j;for(var l=0;l<=n;l++)d[l]=0;for(l=1;l<s;l+=2)d[r[l]]++;let f=c.K;for(a=0,d[0]=0,o=1;o<=n;o++)a=a+d[o-1]<<1,f[o]=a;for(i=0;i<s;i+=2)0!=(u=r[i+1])&&(r[i]=f[u],f[u]++)},e.A=function(r,n,a){let o=r.length,i=e.m.r;for(let e=0;e<o;e+=2)if(0!=r[e+1]){let o=e>>
2211,u=r[e+1],c=o<<4|u,s=n-u,d=r[e]<<s,l=d+(1<<s);for(;d!=l;)a[i[d]>>>15-n]=c,d++}},e.l=function(r,n){let a=e.m.r,o=15-n;for(let e=0;e<r.length;e+=2){let i=r[e]<<n-r[e+1];r[e]=a[i]>>>o}},e.M=function(e,r,n){n<<=7&r;let a=r>>>3;e[a]|=n,e[a+1]|=n>>>8},e.I=function(e,r,n){n<<=7&r;let a=r>>>3;e[a]|=n,e[a+1]|=n>>>8,e[a+2]|=n>>>16},e.e=function(e,r,n){return(e[r>>>3]|e[1+(r>>>3)]<<8)>>>(7&r)&(1<<n)-1},e.b=function(e,r,n){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16)>>>(7&r)&(1<<n)-1},e.Z=function(e,r){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16)>>>(7&r)},e.i=function(e,r){return(e[r>>>3]|e[1+(r>>>3)]<<8|e[2+(r>>>3)]<<16|e[3+(r>>>3)]<<24)>>>(7&r)},r=Uint16Array,n=Uint32Array,e.m={K:new r(16),j:new r(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new r(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new n(32),J:new r(512),_:[],h:new r(32),$:[],w:new r(32768),C:[],v:[],d:new r(32768),D:[],u:new r(512),Q:[],r:new r(32768),s:new n(286),Y:new n(30),a:new n(19),t:new n(15e3),k:new r(65536),g:new r(32768)},function(){let r=e.m;for(var n=0;n<32768;n++){let e=n;e=(0xff00ff00&(e=(0xf0f0f0f0&(e=(0xcccccccc&(e=(0xaaaaaaaa&e)>>>1|(0x55555555&e)<<1))>>>2|(0x33333333&e)<<2))>>>4|(0xf0f0f0f&e)<<4))>>>8|(0xff00ff&e)<<8,r.r[n]=(e>>>16|e<<16)>>>17}function a(e,r,n){for(;0!=r--;)e.push(0,n)}for(n=0;n<32;n++)r.q[n]=r.S[n]<<3|r.T[n],r.c[n]=r.p[n]<<4|r.z[n];a(r._,144,8),a(r._,112,9),a(r._,24,7),a(r._,8,8),e.n(r._,9),e.A(r._,9,r.J),e.l(r._,9),a(r.$,32,5),e.n(r.$,5),e.A(r.$,5,r.h),e.l(r.$,5),a(r.Q,19,0),a(r.C,286,0),a(r.D,30,0),a(r.v,320,0)}(),e.N);function s(e){return[1,null,3,1,2,null,4][e.ctype]*e.depth}function d(e,r,n,a,o){let i,u,c=s(r),d=Math.ceil(a*c/8);c=Math.ceil(c/8);let f=e[n],p=0;if(f>1&&(e[n]=[0,0,1][f-2]),3==f)for(p=c;p<d;p++)e[p+1]=e[p+1]+(e[p+1-c]>>>1)&255;for(let r=0;r<o;r++)if(f=e[(u=(i=n+r*d)+r+1)-1],p=0,0==f)for(;p<d;p++)e[i+p]=e[u+p];else if(1==f){for(;p<c;p++)e[i+p]=e[u+p];for(;p<d;p++)e[i+p]=e[u+p]+e[i+p-c]}else if(2==f)for(;p<d;p++)e[i+p]=e[u+p]+e[i+p-d];else if(3==f){for(;p<c;p++)e[i+p]=e[u+p]+(e[i+p-d]>>>1);for(;p<d;p++)e[i+p]=e[u+p]+(e[i+p-d]+e[i+p-c]>>>1)}else{for(;p<c;p++)e[i+p]=e[u+p]+l(0,e[i+p-d],0);for(;p<d;p++)e[i+p]=e[u+p]+l(e[i+p-c],e[i+p-d],e[i+p-c-d])}return e}function l(e,r,n){let a=e+r-n,o=a-e,i=a-r,u=a-n;return o*o<=i*i&&o*o<=u*u?e:i*i<=u*u?r:n}function f(e,r,n,a,o,i,u,c,s){let d=Math.min(r,o),l=Math.min(n,i),f=0,p=0;for(let n=0;n<l;n++)for(let i=0;i<d;i++)if(u>=0&&c>=0?(f=n*r+i<<2,p=(c+n)*o+u+i<<2):(f=(-c+n)*r-u+i<<2,p=n*o+i<<2),0==s)a[p]=e[f],a[p+1]=e[f+1],a[p+2]=e[f+2],a[p+3]=e[f+3];else if(1==s){var h=e[f+3]*(1/255),g=e[f]*h,y=e[f+1]*h,m=e[f+2]*h,b=a[p+3]*(1/255),v=a[p]*b,w=a[p+1]*b,x=a[p+2]*b;let r=1-h,n=h+b*r,o=0==n?0:1/n;a[p+3]=255*n,a[p+0]=(g+v*r)*o,a[p+1]=(y+w*r)*o,a[p+2]=(m+x*r)*o}else if(2==s)h=e[f+3],g=e[f],y=e[f+1],m=e[f+2],b=a[p+3],v=a[p],w=a[p+1],x=a[p+2],h==b&&g==v&&y==w&&m==x?(a[p]=0,a[p+1]=0,a[p+2]=0,a[p+3]=0):(a[p]=g,a[p+1]=y,a[p+2]=m,a[p+3]=h);else if(3==s){if(h=e[f+3],g=e[f],y=e[f+1],m=e[f+2],b=a[p+3],v=a[p],w=a[p+1],x=a[p+2],h==b&&g==v&&y==w&&m==x)continue;if(h<220&&b>20)return!1}return!0}return{decode:function(e){let r=new Uint8Array(e),n=8,o=a.readUshort,s=a.readUint,d={tabs:{},frames:[]},l=new Uint8Array(r.length),f,p=0,h=0,g=[137,80,78,71,13,10,26,10];for(var y,m=0;m<8;m++)if(r[m]!=g[m])throw"The input is not a PNG file!";for(;n<r.length;){let e=a.readUint(r,n);n+=4;let g=a.readASCII(r,n,4);if(n+=4,"IHDR"==g)b=n,d.width=a.readUint(r,b),b+=4,d.height=a.readUint(r,b),d.depth=r[b+=4],d.ctype=r[++b],d.compress=r[++b],d.filter=r[++b],d.interlace=r[++b],b++;else if("iCCP"==g){for(var b,v,w=n;0!=r[w];)w++;a.readASCII(r,n,w-n),r[w+1];let o=r.slice(w+2,n+e),i=null;try{i=u(o)}catch(e){i=c(o)}d.tabs[g]=i}else if("CgBI"==g)d.tabs[g]=r.slice(n,n+4);else if("IDAT"==g){for(m=0;m<e;m++)l[p+m]=r[n+m];p+=e}else if("acTL"==g)d.tabs[g]={num_frames:s(r,n),num_plays:s(r,n+4)},f=new Uint8Array(r.length);else if("fcTL"==g){0!=h&&((y=d.frames[d.frames.length-1]).data=i(d,f.slice(0,h),y.rect.width,y.rect.height),h=0);let e={x:s(r,n+12),y:s(r,n+16),width:s(r,n+4),height:s(r,n+8)},a=o(r,n+22),u={rect:e,delay:Math.round(1e3*(a=o(r,n+20)/(0==a?100:a))),dispose:r[n+24],blend:r[n+25]};d.frames.push(u)}else if("fdAT"==g){for(m=0;m<e-4;m++)f[h+m]=r[n+m+4];h+=e-4}else if("pHYs"==g)d.tabs[g]=[a.readUint(r,n),a.readUint(r,n+4),r[n+8]];else if("cHRM"==g)for(d.tabs[g]=[],m=0;m<8;m++)d.tabs[g].push(a.readUint(r,n+4*m));else if("tEXt"==g||"zTXt"==g){null==d.tabs[g]&&(d.tabs[g]={});var x=a.nextZero(r,n),k=a.readASCII(r,n,x-n),A=n+e-x-1;if("tEXt"==g)v=a.readASCII(r,x+1,A);else{var S=u(r.slice(x+2,x+2+A));v=a.readUTF8(S,0,S.length)}d.tabs[g][k]=v}else if("iTXt"==g){null==d.tabs[g]&&(d.tabs[g]={}),x=0,w=n,x=a.nextZero(r,w),k=a.readASCII(r,w,x-w);let o=r[w=x+1];r[w+1],w+=2,x=a.nextZero(r,w),a.readASCII(r,w,x-w),w=x+1,x=a.nextZero(r,w),a.readUTF8(r,w,x-w),A=e-((w=x+1)-n),0==o?v=a.readUTF8(r,w,A):(S=u(r.slice(w,w+A)),v=a.readUTF8(S,0,S.length)),d.tabs[g][k]=v}else if("PLTE"==g)d.tabs[g]=a.readBytes(r,n,e);else if("hIST"==g){let e=d.tabs.PLTE.length/3;for(d.tabs[g]=[],m=0;m<e;m++)d.tabs[g].push(o(r,n+2*m))}else if("tRNS"==g)3==d.ctype?d.tabs[g]=a.readBytes(r,n,e):0==d.ctype?d.tabs[g]=o(r,n):2==d.ctype&&(d.tabs[g]=[o(r,n),o(r,n+2),o(r,n+4)]);else if("gAMA"==g)d.tabs[g]=a.readUint(r,n)/1e5;else if("sRGB"==g)d.tabs[g]=r[n];else if("bKGD"==g)0==d.ctype||4==d.ctype?d.tabs[g]=[o(r,n)]:2==d.ctype||6==d.ctype?d.tabs[g]=[o(r,n),o(r,n+2),o(r,n+4)]:3==d.ctype&&(d.tabs[g]=r[n]);else if("IEND"==g)break;n+=e,a.readUint(r,n),n+=4}return 0!=h&&((y=d.frames[d.frames.length-1]).data=i(d,f.slice(0,h),y.rect.width,y.rect.height)),d.data=i(d,l,d.width,d.height),delete d.compress,delete d.interlace,delete d.filter,d}
221,toRGBA8:function(e){let r=e.width,n=e.height;if(null==e.tabs.acTL)return[o(e.data,r,n,e).buffer];let a=[];null==e.frames[0].data&&(e.frames[0].data=e.data);let i=r*n*4,u=new Uint8Array(i),c=new Uint8Array(i),s=new Uint8Array(i);for(let l=0;l<e.frames.length;l++){let p=e.frames[l],h=p.rect.x,g=p.rect.y,y=p.rect.width,m=p.rect.height,b=o(p.data,y,m,e);if(0!=l)for(var d=0;d<i;d++)s[d]=u[d];if(0==p.blend?f(b,y,m,u,r,n,h,g,0):1==p.blend&&f(b,y,m,u,r,n,h,g,1),a.push(u.buffer.slice(0)),0==p.dispose);else if(1==p.dispose)f(c,y,m,u,r,n,h,g,0);else if(2==p.dispose)for(d=0;d<i;d++)u[d]=s[d]}return a},_paeth:l,_copyTile:f,_bin:a}}();!function(){let{_copyTile:e}=j,{_bin:r}=j,n=j._paeth;var a={table:function(){let e=new Uint32Array(256);for(let r=0;r<256;r++){let n=r;for(let e=0;e<8;e++)1&n?n=0xedb88320^n>>>1:n>>>=1;e[r]=n}return e}(),update(e,r,n,o){for(let i=0;i<o;i++)e=a.table[255&(e^r[n+i])]^e>>>8;return e},crc:(e,r,n)=>0xffffffff^a.update(0xffffffff,e,r,n)};function o(e,r,n,a){r[n]+=e[0]*a>>4,r[n+1]+=e[1]*a>>4,r[n+2]+=e[2]*a>>4,r[n+3]+=e[3]*a>>4}function i(e){return Math.max(0,Math.min(255,e))}function u(e,r){let n=e[0]-r[0],a=e[1]-r[1],o=e[2]-r[2],i=e[3]-r[3];return n*n+a*a+o*o+i*i}function c(e,r,n,a,c,s,d){null==d&&(d=1);let l=a.length,f=[];for(var p,h=0;h<l;h++){let e=a[h];f.push([e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255])}for(h=0;h<l;h++){let e=0xffffffff;for(var g=0,y=0;y<l;y++){var m=u(f[h],f[y]);y!=h&&m<e&&(e=m,g=y)}}let b=new Uint32Array(c.buffer),v=new Int16Array(r*n*4),w=[0,8,2,10,12,4,14,6,3,11,1,9,15,7,13,5];for(h=0;h<w.length;h++)w[h]=255*((w[h]+.5)/16-.5);for(let c=0;c<n;c++)for(let x=0;x<r;x++){h=4*(c*r+x),2!=d?p=[i(e[h]+v[h]),i(e[h+1]+v[h+1]),i(e[h+2]+v[h+2]),i(e[h+3]+v[h+3])]:(m=w[4*(3&c)+(3&x)],p=[i(e[h]+m),i(e[h+1]+m),i(e[h+2]+m),i(e[h+3]+m)]),g=0;let k=0xffffff;for(y=0;y<l;y++){let e=u(p,f[y]);e<k&&(k=e,g=y)}let A=f[g],S=[p[0]-A[0],p[1]-A[1],p[2]-A[2],p[3]-A[3]];1==d&&(x!=r-1&&o(S,v,h+4,7),c!=n-1&&(0!=x&&o(S,v,h+4*r-4,3),o(S,v,h+4*r,5),x!=r-1&&o(S,v,h+4*r+4,1))),s[h>>2]=g,b[h>>2]=a[g]}}function s(e,n,o,i,u){null==u&&(u={});let{crc:c}=a,s=r.writeUint,d=r.writeUshort,l=r.writeASCII,f=8,p=e.frames.length>1,h,g=!1,y=33+20*!!p;if(null!=u.sRGB&&(y+=13),null!=u.pHYs&&(y+=21),null!=u.iCCP&&(y+=21+(h=pako.deflate(u.iCCP)).length+4),3==e.ctype){for(var m=e.plte.length,b=0;b<m;b++)e.plte[b]>>>24!=255&&(g=!0);y+=8+3*m+4+(g?8+ +m+4:0)}for(var v=0;v<e.frames.length;v++)p&&(y+=38),y+=(A=e.frames[v]).cimg.length+12,0!=v&&(y+=4);let w=new Uint8Array(y+=12),x=[137,80,78,71,13,10,26,10];for(b=0;b<8;b++)w[b]=x[b];if(s(w,f,13),l(w,f+=4,"IHDR"),s(w,f+=4,n),s(w,f+=4,o),w[f+=4]=e.depth,w[++f]=e.ctype,w[++f]=0,w[++f]=0,w[++f]=0,s(w,++f,c(w,f-17,17)),f+=4,null!=u.sRGB&&(s(w,f,1),l(w,f+=4,"sRGB"),w[f+=4]=u.sRGB,s(w,++f,c(w,f-5,5)),f+=4),null!=u.iCCP){let e=13+h.length;s(w,f,e),l(w,f+=4,"iCCP"),l(w,f+=4,"ICC profile"),f+=11,f+=2,w.set(h,f),s(w,f+=h.length,c(w,f-(e+4),e+4)),f+=4}if(null!=u.pHYs&&(s(w,f,9),l(w,f+=4,"pHYs"),s(w,f+=4,u.pHYs[0]),s(w,f+=4,u.pHYs[1]),w[f+=4]=u.pHYs[2],s(w,++f,c(w,f-13,13)),f+=4),p&&(s(w,f,8),l(w,f+=4,"acTL"),s(w,f+=4,e.frames.length),s(w,f+=4,null!=u.loop?u.loop:0),s(w,f+=4,c(w,f-12,12)),f+=4),3==e.ctype){for(s(w,f,3*(m=e.plte.length)),l(w,f+=4,"PLTE"),f+=4,b=0;b<m;b++){let r=3*b,n=e.plte[b],a=255&n,o=n>>>8&255,i=n>>>16&255;w[f+r+0]=a,w[f+r+1]=o,w[f+r+2]=i}if(s(w,f+=3*m,c(w,f-3*m-4,3*m+4)),f+=4,g){for(s(w,f,m),l(w,f+=4,"tRNS"),f+=4,b=0;b<m;b++)w[f+b]=e.plte[b]>>>24&255;s(w,f+=m,c(w,f-m-4,m+4)),f+=4}}let k=0;for(v=0;v<e.frames.length;v++){var A=e.frames[v];p&&(s(w,f,26),l(w,f+=4,"fcTL"),s(w,f+=4,k++),s(w,f+=4,A.rect.width),s(w,f+=4,A.rect.height),s(w,f+=4,A.rect.x),s(w,f+=4,A.rect.y),d(w,f+=4,i[v]),d(w,f+=2,1e3),w[f+=2]=A.dispose,w[++f]=A.blend,s(w,++f,c(w,f-30,30)),f+=4);let r=A.cimg;s(w,f,(m=r.length)+4*(0!=v));let n=f+=4;l(w,f,0==v?"IDAT":"fdAT"),f+=4,0!=v&&(s(w,f,k++),f+=4),w.set(r,f),s(w,f+=m,c(w,n,f-n)),f+=4}return s(w,f,0),l(w,f+=4,"IEND"),s(w,f+=4,c(w,f-4,4)),f+=4,w.buffer}function d(e,r,a){for(let o=0;o<e.frames.length;o++){let i=e.frames[o];i.rect.width;let u=i.rect.height,c=new Uint8Array(u*i.bpl+u);i.cimg=function(e,r,a,o,i,u,c){let s=[],d,l=[0,1,2,3,4];-1!=u?l=[u]:(r*o>5e5||1==a)&&(l=[0]),c&&(d={level:0});for(var f=0;f<l.length;f++){for(let u=0;u<r;u++)!function(e,r,a,o,i,u){let c=a*o,s=c+a;if(e[s]=u,s++,0==u)if(o<500)for(var d=0;d<o;d++)e[s+d]=r[c+d];else e.set(new Uint8Array(r.buffer,c,o),s);else if(1==u){for(d=0;d<i;d++)e[s+d]=r[c+d];for(d=i;d<o;d++)e[s+d]=r[c+d]-r[c+d-i]+256&255}else if(0==a){for(d=0;d<i;d++)e[s+d]=r[c+d];if(2==u)for(d=i;d<o;d++)e[s+d]=r[c+d];if(3==u)for(d=i;d<o;d++)e[s+d]=r[c+d]-(r[c+d-i]>>1)+256&255;if(4==u)for(d=i;d<o;d++)e[s+d]=r[c+d]-n(r[c+d-i],0,0)+256&255}else{if(2==u)for(d=0;d<o;d++)e[s+d]=r[c+d]+256-r[c+d-o]&255;if(3==u){for(d=0;d<i;d++)e[s+d]=r[c+d]+256-(r[c+d-o]>>1)&255;for(d=i;d<o;d++)e[s+d]=r[c+d]+256-(r[c+d-o]+r[c+d-i]>>1)&255}if(4==u){for(d=0;d<i;d++)e[s+d]=r[c+d]+256-n(0,r[c+d-o],0)&255;for(d=i;d<o;d++)e[s+d]=r[c+d]+256-n(r[c+d-i],r[c+d-o],r[c+d-i-o])&255}}}(i,e,u,o,a,l[f]);s.push(E.deflate(i,d))}let p,h=1e9;for(f=0;f<s.length;f++)s[f].length<h&&(p=f,h=s[f].length);return s[p]}(i.img,u,i.bpp,i.bpl,c,r,a)}}function l(r,n,a,o,i){let u=i[0],s=i[1],d=i[2],l=i[3],g=i[4],y=i[5],m=6,b=8,v=255;for(var w=0;w<r.length;w++){let e=new Uint8Array(r[w]);for(var x=e.length,k=0;k<x;k+=4)v&=e[k+3]}let A=255!=v,S=function(r,n,a,o,i,u){let c=[];for(var s,d=0;d<r.length;d++){let s=new Uint8Array(r[d]),f=new Uint32Array(s.buffer),y=0,m=0,b=n,v=a,w=+!!o;if(0!=d){let x=u||o||1==d||0!=c[d-2].dispose?1:2,k=0,A=1e9;for(let e=0;e<x;e++){var l,h=new Uint8Array(r[d-1-e]);let o=new Uint32Array(r[d-1-e]),u=n,c=a,s=-1,p=-1;for(let e=0;e<a;e++)for(let r=0;r<n;r++)f[g=e*n+r]!=o[g]&&(r<u&&(u=r),r>s&&(s=r),e<c&&(c=e),e>p&&(p=e));-1==s&&(u=c=s=p=0),i&&(1==(1&u)&&u--,1==(1&c)&&c--);let w=(s-u+1)*(p-c+1);w<A&&(A=w,k=e,y=u,m=c,b=s-u+1,v=p-c+1)}h=new Uint8Array(r[d-1-k]),1==k&&(c[d-1].dispose=2),e(h,n,a,l=new Uint8Array(b*v*4),b,v,-y,-m,0),1==(w=+!!e(s,n,a,l,b,v,-y,-m,3))?p(s,n,a,l,{x:y,y:m,width:b,height:v}):e(s,n,a,l,b,v,-y,-m,0)}else l=s.slice(0);c.push({rect:{x:y,y:m,width:b,height:v},img:l,blend:w,dispose:0})}if(o)for(d=0;d<c.length;d++){if(1==(s=c[d]).blend)continue;let e=s.rect,o=c[d-1].rect,u=Math.min(e.x,o.x),l=Math.min(e.y,o.y),p={x:u,y:l,width:Math.max(e.x+e.width,o.x+o.width)-u,height:Math.max(e.y+e.height,o.y+o.height)-l};c[d-1].dispose=1,d-1!=0&&f(r,n,a,c,d-1,p,i),f(r,n,a,c,d,p,i)}if(1!=r.length)for(var g=0;g<c.length;g++)(s=c[g]).rect.width,s.rect.height;return c}(r,n,a,u,s,d),E={},j=[],_=[];
221if(0!=o){let e=[];for(k=0;k<S.length;k++)e.push(S[k].img.buffer);let r=h(function(e){let r=0;for(var n=0;n<e.length;n++)r+=e[n].byteLength;let a=new Uint8Array(r),o=0;for(n=0;n<e.length;n++){let r=new Uint8Array(e[n]),i=r.length;for(let e=0;e<i;e+=4){let n=r[e],i=r[e+1],u=r[e+2],c=r[e+3];0==c&&(n=i=u=0),a[o+e]=n,a[o+e+1]=i,a[o+e+2]=u,a[o+e+3]=c}o+=i}return a.buffer}(e),o);for(k=0;k<r.plte.length;k++)j.push(r.plte[k].est.rgba);let n=0;for(k=0;k<S.length;k++){let e=(C=S[k]).img.length;var P=new Uint8Array(r.inds.buffer,n>>2,e>>2);_.push(P);let a=new Uint8Array(r.abuf,n,e);y&&c(C.img,C.rect.width,C.rect.height,j,a,P),C.img.set(a),n+=e}}else for(w=0;w<S.length;w++){var C=S[w];let e=new Uint32Array(C.img.buffer);var U=C.rect.width;for(P=new Uint8Array(x=e.length),_.push(P),k=0;k<x;k++){let r=e[k];if(0!=k&&r==e[k-1])P[k]=P[k-1];else if(k>U&&r==e[k-U])P[k]=P[k-U];else{let e=E[r];if(null==e&&(E[r]=e=j.length,j.push(r),j.length>=300))break;P[k]=e}}}let T=j.length;for(T<=256&&0==g&&(b=Math.max(b=T<=2?1:T<=4?2:T<=16?4:8,l)),w=0;w<S.length;w++){(C=S[w]).rect.x,C.rect.y,U=C.rect.width;let e=C.rect.height,r=C.img;new Uint32Array(r.buffer);let n=4*U,a=4;if(T<=256&&0==g){var O=new Uint8Array((n=Math.ceil(b*U/8))*e);let o=_[w];for(let r=0;r<e;r++){k=r*n;let e=r*U;if(8==b)for(var F=0;F<U;F++)O[k+F]=o[e+F];else if(4==b)for(F=0;F<U;F++)O[k+(F>>1)]|=o[e+F]<<4-4*(1&F);else if(2==b)for(F=0;F<U;F++)O[k+(F>>2)]|=o[e+F]<<6-2*(3&F);else if(1==b)for(F=0;F<U;F++)O[k+(F>>3)]|=o[e+F]<<7-(7&F)}r=O,m=3,a=1}else if(0==A&&1==S.length){O=new Uint8Array(U*e*3);let o=U*e;for(k=0;k<o;k++){let e=3*k,n=4*k;O[e]=r[n],O[e+1]=r[n+1],O[e+2]=r[n+2]}r=O,m=2,a=3,n=3*U}C.img=r,C.bpl=n,C.bpp=a}return{ctype:m,depth:b,plte:j,frames:S}}function f(r,n,a,o,i,u,c){let s=Uint8Array,d=Uint32Array,l=new s(r[i-1]),f=new d(r[i-1]),h=i+1<r.length?new s(r[i+1]):null,g=new s(r[i]),y=new d(g.buffer),m=n,b=a,v=-1,w=-1;for(let e=0;e<u.height;e++)for(let r=0;r<u.width;r++){let a=u.x+r,c=u.y+e,s=c*n+a,d=y[s];0==d||0==o[i-1].dispose&&f[s]==d&&(null==h||0!=h[4*s+3])||(a<m&&(m=a),a>v&&(v=a),c<b&&(b=c),c>w&&(w=c))}-1==v&&(m=b=v=w=0),c&&(1==(1&m)&&m--,1==(1&b)&&b--),u={x:m,y:b,width:v-m+1,height:w-b+1};let x=o[i];x.rect=u,x.blend=1,x.img=new Uint8Array(u.width*u.height*4),0==o[i-1].dispose?(e(l,n,a,x.img,u.width,u.height,-u.x,-u.y,0),p(g,n,a,x.img,u)):e(g,n,a,x.img,u.width,u.height,-u.x,-u.y,0)}function p(r,n,a,o,i){e(r,n,a,o,i.width,i.height,-i.x,-i.y,2)}function h(e,r){let n,a=new Uint8Array(e),o=a.slice(0),i=new Uint32Array(o.buffer),u=g(o,r),c=u[0],s=u[1],d=a.length,l=new Uint8Array(d>>2);if(a.length<2e7)for(var f=0;f<d;f+=4)n=y(c,p=a[f]*(1/255),h=a[f+1]*(1/255),b=a[f+2]*(1/255),v=a[f+3]*(1/255)),l[f>>2]=n.ind,i[f>>2]=n.est.rgba;else for(f=0;f<d;f+=4){var p=a[f]*(1/255),h=a[f+1]*(1/255),b=a[f+2]*(1/255),v=a[f+3]*(1/255);for(n=c;n.left;)n=0>=m(n.est,p,h,b,v)?n.left:n.right;l[f>>2]=n.ind,i[f>>2]=n.est.rgba}return{abuf:o.buffer,inds:l,plte:s}}function g(e,r,n){null==n&&(n=1e-4);let a=new Uint32Array(e.buffer),o={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};o.bst=v(e,o.i0,o.i1),o.est=w(o.bst);let i=[o];for(;i.length<r;){let r=0,o=0;for(var u=0;u<i.length;u++)i[u].est.L>r&&(r=i[u].est.L,o=u);if(r<n)break;let c=i[o],s=function(e,r,n,a,o,i){for(a-=4;n<a;){for(;b(e,n,o)<=i;)n+=4;for(;b(e,a,o)>i;)a-=4;if(n>=a)break;let u=r[n>>2];r[n>>2]=r[a>>2],r[a>>2]=u,n+=4,a-=4}for(;b(e,n,o)>i;)n-=4;return n+4}(e,a,c.i0,c.i1,c.est.e,c.est.eMq255);if(c.i0>=s||c.i1<=s){c.est.L=0;continue}let d={i0:c.i0,i1:s,bst:null,est:null,tdst:0,left:null,right:null};d.bst=v(e,d.i0,d.i1),d.est=w(d.bst);let l={i0:s,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};for(l.bst={R:[],m:[],N:c.bst.N-d.bst.N},u=0;u<16;u++)l.bst.R[u]=c.bst.R[u]-d.bst.R[u];for(u=0;u<4;u++)l.bst.m[u]=c.bst.m[u]-d.bst.m[u];l.est=w(l.bst),c.left=d,c.right=l,i[o]=d,i.push(l)}for(i.sort((e,r)=>r.bst.N-e.bst.N),u=0;u<i.length;u++)i[u].ind=u;return[o,i]}function y(e,r,n,a,o){if(null==e.left){var i;let u,c,s,d;return i=e.est.q,u=r-i[0],c=n-i[1],s=a-i[2],e.tdst=u*u+c*c+s*s+(d=o-i[3])*d,e}let u=m(e.est,r,n,a,o),c=e.left,s=e.right;u>0&&(c=e.right,s=e.left);let d=y(c,r,n,a,o);if(d.tdst<=u*u)return d;let l=y(s,r,n,a,o);return l.tdst<d.tdst?l:d}function m(e,r,n,a,o){let{e:i}=e;return i[0]*r+i[1]*n+i[2]*a+i[3]*o-e.eMq}function b(e,r,n){return e[r]*n[0]+e[r+1]*n[1]+e[r+2]*n[2]+e[r+3]*n[3]}function v(e,r,n){let a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o=[0,0,0,0];for(let i=r;i<n;i+=4){let r=e[i]*(1/255),n=e[i+1]*(1/255),u=e[i+2]*(1/255),c=e[i+3]*(1/255);o[0]+=r,o[1]+=n,o[2]+=u,o[3]+=c,a[0]+=r*r,a[1]+=r*n,a[2]+=r*u,a[3]+=r*c,a[5]+=n*n,a[6]+=n*u,a[7]+=n*c,a[10]+=u*u,a[11]+=u*c,a[15]+=c*c}return a[4]=a[1],a[8]=a[2],a[9]=a[6],a[12]=a[3],a[13]=a[7],a[14]=a[11],{R:a,m:o,N:n-r>>2}}function w(e){let{R:r}=e,{m:n}=e,{N:a}=e,o=n[0],i=n[1],u=n[2],c=n[3],s=0==a?0:1/a,d=[r[0]-o*o*s,r[1]-o*i*s,r[2]-o*u*s,r[3]-o*c*s,r[4]-i*o*s,r[5]-i*i*s,r[6]-i*u*s,r[7]-i*c*s,r[8]-u*o*s,r[9]-u*i*s,r[10]-u*u*s,r[11]-u*c*s,r[12]-c*o*s,r[13]-c*i*s,r[14]-c*u*s,r[15]-c*c*s],l=[Math.random(),Math.random(),Math.random(),Math.random()],f=0,p=0;if(0!=a)for(let e=0;e<16&&(l=x.multVec(d,l),p=Math.sqrt(x.dot(l,l)),l=x.sml(1/p,l),!(0!=e&&1e-9>Math.abs(p-f)));e++)f=p;let h=[o*s,i*s,u*s,c*s];return{Cov:d,q:h,e:l,L:f,eMq255:x.dot(x.sml(255,h),l),eMq:x.dot(l,h),rgba:(Math.round(255*h[3])<<24|Math.round(255*h[2])<<16|Math.round(255*h[1])<<8|(0|Math.round(255*h[0])))>>>0}}var x={multVec:(e,r)=>[e[0]*r[0]+e[1]*r[1]+e[2]*r[2]+e[3]*r[3],e[4]*r[0]+e[5]*r[1]+e[6]*r[2]+e[7]*r[3],e[8]*r[0]+e[9]*r[1]+e[10]*r[2]+e[11]*r[3],e[12]*r[0]+e[13]*r[1]+e[14]*r[2]+e[15]*r[3]],dot:(e,r)=>e[0]*r[0]+e[1]*r[1]+e[2]*r[2]+e[3]*r[3],sml:(e,r)=>[e*r[0],e*r[1],e*r[2],e*r[3]]};j.encode=function(e,r,n,a,o,i,u){null==a&&(a=0),null==u&&(u=!1);let c=l(e,r,n,a,[!1,!1,!1,0,u,!1]);return d(c,-1),s(c,r,n,o,i)},j.encodeLL=function(e,r,n,a,o,i,u,c){let l={ctype:0+2*(1!=a)+4*(0!=o),depth:i,frames:[]},f=(a+o)*i,p=f*r;for(let a=0;a<e.length;a++)l.frames.push({rect:{x:0,y:0,width:r,height:n},img:new Uint8Array(e[a]),blend:0,dispose:1,bpp:Math.ceil(f/8),bpl:Math.ceil(p/8)});return d(l,0,!0),s(l,r,n,u,c)},j.encode.compress=l,j.encode.dither=c,j.quantize=h,j.quantize.getKDtree=g,j.quantize.getNearest=y}();let _={toArrayBuffer(e,r){let n=e.width,a=e.height,o=n<<2,i=new Uint32Array(e.getContext("2d").getImageData(0,0,n,a).data.buffer),u=(32*n+31)/32<<2,c=u*a,s=122+c,d=new ArrayBuffer(s),l=new DataView(d),f,p,h,g,y=1048576,m=0,b=0,v=0;function w(e){l.setUint16(b,e,!0),b+=2}function x(e){l.setUint32(b,e,!0),b+=4}w(19778),x(s),b+=4,x(122),x(108),x(n),x(-a>>>0),w(1),w(32),x(3),x(c),x(2835),x(2835),b+=8,x(0xff0000),x(65280),x(255),x(0xff000000),x(0x57696e20),function e(){for(;m<a&&y>0;){for(g=122+m*u,f=0;f<o;)y--,h=(p=i[v++])>>>24,l.setUint32(g+f,p<<8|h),f+=4;m++}v<i.length?(y=1048576,setTimeout(e,_._dly)):r(d)}()},toBlob(e,r){this.toArrayBuffer(e,e=>{r(new Blob([e],{type:"image/bmp"}))})},_dly:9};var P={CHROME:"CHROME",FIREFOX:"FIREFOX",DESKTOP_SAFARI:"DESKTOP_SAFARI",IE:"IE",IOS:"IOS",ETC:"ETC"},C={[P.CHROME]:16384,[P.FIREFOX]:11180,[P.DESKTOP_SAFARI]:16384,[P.IE]:8192,[P.IOS]:4096,[P.ETC]:8192};let U="u">typeof window,T="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,O=U&&window.cordova&&window.cordova.require&&window.cordova.require("cordova/modulemapper"),F=(U||T)&&(O&&O.getOriginalSymbol(window,"File")||"u">typeof File&&File),M=(U||T)&&(O&&O.getOriginalSymbol(window,"FileReader")||"u">typeof FileReader&&FileReader);function B(e,r,n=Date.now()){return new Promise(a=>{let o=e.split(","),i=o[0].match(/:(.*?);/)[1],u=globalThis.atob(o[1]),c=u.length,s=new Uint8Array(c);for(;c--;)s[c]=u.charCodeAt(c);let d=new Blob([s],{type:i});d.name=r,d.lastModified=n,a(d)})}function I(e){return new Promise((r,n)=>{let a=new M;a.onload=()=>r(a.result),a.onerror=e=>n(e),a.readAsDataURL(e)})}function R(e){return new Promise((r,n)=>{let a=new Image;a.onload=()=>r(a),a.onerror=e=>n(e),a.src=e})}function L(){if(void 0!==L.cachedResult)return L.cachedResult;let e=P.ETC,{userAgent:r}=navigator;return/Chrom(e|ium)/i.test(r)?e=P.CHROME:/iP(ad|od|hone)/i.test(r)&&/WebKit/i.test(r)?e=P.IOS:/Safari/i.test(r)?e=P.DESKTOP_SAFARI:/Firefox/i.test(r)?e=P.FIREFOX:(/MSIE/i.test(r)||!0==!!document.documentMode)&&(e=P.IE),L.cachedResult=e,L.cachedResult}function D(e,r){let n=C[L()],a=e,o=r,i=a*o,u=a>o?o/a:a/o;for(;i>n*n;){let e=(n+a)/2,r=(n+o)/2;e<r?(o=r,a=r*u):(o=e*u,a=e),i=a*o}return{width:a,height:o}}function N(e,r){let n,a;try{if(a=(n=new OffscreenCanvas(e,r)).getContext("2d"),null===a)throw Error("getContext of OffscreenCanvas returns null")}catch(e){a=(n=document.createElement("canvas")).getContext("2d")}return n.width=e,n.height=r,[n,a]}function z(e,r){let{width:n,height:a}=D(e.width,e.height),[o,i]=N(n,a);return r&&/jpe?g/.test(r)&&(i.fillStyle="white",i.fillRect(0,0,o.width,o.height)),i.drawImage(e,0,0,o.width,o.height),o}function H(){return void 0!==H.cachedResult||(H.cachedResult=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"u">typeof document&&"ontouchend"in document),H.cachedResult}function W(e,r={}){return new Promise(function(n,a){let o,i;var u=function(){try{return i=z(o,r.fileType||e.type),n([o,i])}catch(e){return a(e)}},c=function(r){try{var n=function(e){try{throw e}catch(e){return a(e)}};try{let r;return I(e).then(function(e){try{return r=e,R(r).then(function(e){try{return o=e,function(){try{return u()}catch(e){return a(e)}}()}catch(e){return n(e)}},n)}catch(e){return n(e)}},n)}catch(e){n(e)}}catch(e){return a(e)}};try{if(H()||[P.DESKTOP_SAFARI,P.MOBILE_SAFARI].includes(L()))throw Error("Skip createImageBitmap on IOS and Safari");return createImageBitmap(e).then(function(e){try{return o=e,u()}catch(e){return c()}},c)}catch(e){c()}})}function $(e,r,n,a,o=1){return new Promise(function(i,u){let c;if("image/png"===r){let i,u;return i=e.getContext("2d"),{data:u}=i.getImageData(0,0,e.width,e.height),(c=new Blob([j.encode([u.buffer],e.width,e.height,4096*o)],{type:r})).name=n,c.lastModified=a,l.call(this)}if("image/bmp"===r)return new Promise(r=>_.toBlob(e,r)).then((function(e){try{return(c=e).name=n,c.lastModified=a,d.call(this)}catch(e){return u(e)}}).bind(this),u);if("function"==typeof OffscreenCanvas&&e instanceof OffscreenCanvas)return e.convertToBlob({type:r,quality:o}).then((function(e){try{return(c=e).name=n,c.lastModified=a,s.call(this)}catch(e){return u(e)}}).bind(this),u);return B(e.toDataURL(r,o),n,a).then((function(e){try{return c=e,s.call(this)}catch(e){return u(e)}}).bind(this),u);function s(){return d.call(this)}function d(){return l.call(this)}function l(){return i(c)}})}function q(e){e.width=0,e.height=0}function Q(){return new Promise(function(e,r){let n,a,o,i;return void 0!==Q.cachedResult?e(Q.cachedResult):B("data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q==","test.jpg",Date.now()).then(function(u){try{return n=u,W(n).then(function(u){try{return a=u[1],$(a,n.type,n.name,n.lastModified).then(function(n){try{return o=n,q(a),W(o).then(function(n){try{return i=n[0],Q.cachedResult=1===i.width&&2===i.height,e
221(Q.cachedResult)}catch(e){return r(e)}},r)}catch(e){return r(e)}},r)}catch(e){return r(e)}},r)}catch(e){return r(e)}},r)})}function G(e){return new Promise((r,n)=>{let a=new M;a.onload=e=>{let n=new DataView(e.target.result);if(65496!=n.getUint16(0,!1))return r(-2);let a=n.byteLength,o=2;for(;o<a&&!(8>=n.getUint16(o+2,!1));){let e=n.getUint16(o,!1);if(o+=2,65505==e){if(0x45786966!=n.getUint32(o+=2,!1))return r(-1);let e=18761==n.getUint16(o+=6,!1);o+=n.getUint32(o+4,e);let a=n.getUint16(o,e);o+=2;for(let i=0;i<a;i++)if(274==n.getUint16(o+12*i,e))return r(n.getUint16(o+12*i+8,e))}else{if(65280!=(65280&e))break;o+=n.getUint16(o,!1)}}return r(-1)},a.onerror=e=>n(e),a.readAsArrayBuffer(e)})}function V(e,r){let{width:n}=e,{height:a}=e,{maxWidthOrHeight:o}=r,i,u=e;return isFinite(o)&&(n>o||a>o)&&([u,i]=N(n,a),n>a?(u.width=o,u.height=a/n*o):(u.width=n/a*o,u.height=o),i.drawImage(e,0,0,u.width,u.height),q(e)),u}function Z(e,r){let{width:n}=e,{height:a}=e,[o,i]=N(n,a);switch(r>4&&r<9?(o.width=a,o.height=n):(o.width=n,o.height=a),r){case 2:i.transform(-1,0,0,1,n,0);break;case 3:i.transform(-1,0,0,-1,n,a);break;case 4:i.transform(1,0,0,-1,0,a);break;case 5:i.transform(0,1,1,0,0,0);break;case 6:i.transform(0,1,-1,0,a,0);break;case 7:i.transform(0,-1,-1,0,a,n);break;case 8:i.transform(0,-1,1,0,0,n)}return i.drawImage(e,0,0,n,a),q(e),o}function J(e,r,n=0){return new Promise(function(a,o){let i,u,c,s,d,l,f,p,h,g,y,m,b,v,w,x,k,A,S,E;function j(e=5){if(r.signal&&r.signal.aborted)throw r.signal.reason;i+=e,r.onProgress(Math.min(i,100))}function _(e){if(r.signal&&r.signal.aborted)throw r.signal.reason;i=Math.min(Math.max(e,i),100),r.onProgress(i)}return i=n,u=r.maxIteration||10,c=1024*r.maxSizeMB*1024,j(),W(e,r).then((function(n){try{return[,s]=n,j(),d=V(s,r),j(),new Promise(function(n,a){var o;if(!(o=r.exifOrientation))return G(e).then((function(e){try{return o=e,i.call(this)}catch(e){return a(e)}}).bind(this),a);function i(){return n(o)}return i.call(this)}).then((function(n){try{return l=n,j(),Q().then((function(n){try{return f=n?d:Z(d,l),j(),p=r.initialQuality||1,h=r.fileType||e.type,$(f,h,e.name,e.lastModified,p).then((function(n){try{var i;if(g=n,j(),y=g.size>c,m=g.size>e.size,!y&&!m)return _(100),a(g);function l(){if(u--&&(w>c||w>b)){let r,n;return r=E?.95*S.width:S.width,n=E?.95*S.height:S.height,[k,A]=N(r,n),A.drawImage(S,0,0,r,n),p*="image/png"===h?.85:.95,$(k,h,e.name,e.lastModified,p).then(function(e){try{return x=e,q(S),S=k,w=x.size,_(Math.min(99,Math.floor((v-w)/(v-c)*100))),l}catch(e){return o(e)}},o)}return[1]}return b=e.size,w=v=g.size,S=f,E=!r.alwaysKeepResolution&&y,(i=(function(e){for(;e;){if(e.then)return void e.then(i,o);try{if(e.pop){if(e.length)return e.pop()?P.call(this):e;e=l}else e=e.call(this)}catch(e){return o(e)}}}).bind(this))(l);function P(){return q(S),q(k),q(d),q(f),q(s),_(100),a(x)}}catch(e){return o(e)}}).bind(this),o)}catch(e){return o(e)}}).bind(this),o)}catch(e){return o(e)}}).bind(this),o)}catch(e){return o(e)}}).bind(this),o)})}function K(e,n){return new Promise(function(a,o){let i,u,c,s,d,l;if(i={...n},c=0,{onProgress:s}=i,i.maxSizeMB=i.maxSizeMB||1/0,d="boolean"!=typeof i.useWebWorker||i.useWebWorker,delete i.useWebWorker,i.onProgress=e=>{c=e,"function"==typeof s&&s(c)},!(e instanceof Blob||e instanceof F))return o(Error("The file given is not an instance of Blob or File"));if(!/^image/.test(e.type))return o(Error("The file given is not an image"));if(l="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,!d||"function"!=typeof Worker||l)return J(e,i).then((function(e){try{return u=e,h.call(this)}catch(e){return o(e)}}).bind(this),o);var f=(function(){try{return h.call(this)}catch(e){return o(e)}}).bind(this),p=function(r){try{return J(e,i).then(function(e){try{return u=e,f()}catch(e){return o(e)}},o)}catch(e){return o(e)}};try{return i.libURL=i.libURL||"https://cdn.jsdelivr.net/npm/[email protected]/dist/browser-image-compression.js",new Promise((n,a)=>{var o;let u;r||(u=[],"function"==typeof(o="\nlet scriptImported = false\nself.addEventListener('message', async (e) => {\n  const { file, id, imageCompressionLibUrl, options } = e.data\n  options.onProgress = (progress) => self.postMessage({ progress, id })\n  try {\n    if (!scriptImported) {\n      // console.log('[worker] 
221importScripts', imageCompressionLibUrl)\n      self.importScripts(imageCompressionLibUrl)\n      scriptImported = true\n    }\n    // console.log('[worker] self', self)\n    const compressedFile = await imageCompression(file, options)\n    self.postMessage({ file: compressedFile, id })\n  } catch (e) {\n    // console.error('[worker] error', e)\n    self.postMessage({ error: e.message + '\\n' + e.stack, id })\n  }\n})\n")?u.push(`(${o})()`):u.push(o),r=URL.createObjectURL(new Blob(u)));let c=new Worker(r);c.addEventListener("message",function(e){if(i.signal&&i.signal.aborted)c.terminate();else if(void 0===e.data.progress){if(e.data.error)return a(Error(e.data.error)),void c.terminate();n(e.data.file),c.terminate()}else i.onProgress(e.data.progress)}),c.addEventListener("error",a),i.signal&&i.signal.addEventListener("abort",()=>{a(i.signal.reason),c.terminate()}),c.postMessage({file:e,imageCompressionLibUrl:i.libURL,options:{...i,onProgress:void 0,signal:void 0}})}).then(function(e){try{return u=e,f()}catch(e){return p()}},p)}catch(e){p()}function h(){try{u.name=e.name,u.lastModified=e.lastModified}catch(e){}try{i.preserveExif&&"image/jpeg"===e.type&&(!i.fileType||i.fileType&&i.fileType===e.type)&&(u=k(e,u))}catch(e){}return a(u)}})}K.getDataUrlFromFile=I,K.getFilefromDataUrl=B,K.loadImage=R,K.drawImageInCanvas=z,K.drawFileInCanvas=W,K.canvasToFile=$,K.getExifOrientation=G,K.handleMaxWidthOrHeight=V,K.followExifOrientation=Z,K.cleanupCanvasMemory=q,K.isAutoOrientationInBrowser=Q,K.approximateBelowMaximumCanvasSizeOfBrowser=D,K.copyExifWithoutOrientation=k,K.getBrowserName=L,K.version="2.0.2",e.s(["default",0,K],674214);let X="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Y=new Uint8Array(16),ee=[];for(let e=0;e<256;++e)ee.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,r,a){if(X&&!r&&!e)return X();let o=(e=e||{}).random??e.rng?.()??function(){if(!n){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(Y)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,r){if((a=a||0)<0||a+16>r.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[a+e]=o[e];return r}return function(e,r=0){return(ee[e[r+0]]+ee[e[r+1]]+ee[e[r+2]]+ee[e[r+3]]+"-"+ee[e[r+4]]+ee[e[r+5]]+"-"+ee[e[r+6]]+ee[e[r+7]]+"-"+ee[e[r+8]]+ee[e[r+9]]+"-"+ee[e[r+10]]+ee[e[r+11]]+ee[e[r+12]]+ee[e[r+13]]+ee[e[r+14]]+ee[e[r+15]]).toLowerCase()}(o)}],197895);let et={Tweet_Thread:{characterLimit:280,longformLimit:4e3,imageLimit:4,name:"Twitter Thread"},Bluesky_Thread:{characterLimit:300,imageLimit:4,name:"Bluesky Thread"},Threads_Thread:{characterLimit:500,imageLimit:10,name:"Threads Thread"}};e.s(["getPlatformConfig",0,e=>{let r=et[e];return r||{characterLimit:280,imageLimit:4,name:"Twitter Thread"}}],869141);var er=e.i(221332),en=e.i(742760);class ea{static text={default:"",stripIfUnchanged:!1};static charCount={default:0,stripIfUnchanged:!1};static images={default:[],stripIfUnchanged:!0};static link={default:"",stripIfUnchanged:!0};static isSelected={default:!1,stripIfUnchanged:!0};static isThreadFinisher={default:!1,stripIfUnchanged:!0};static getDefaultAttrs(e){return{id:"",type:e,text:this.text.default,charCount:this.charCount.default,link:this.link.default,isSelected:this.isSelected.default,images:this.images.default,isThreadFinisher:this.isThreadFinisher.default}}static stripDefaultAttrs(e){let r=(0,en.default)(e);for(let e of Object.keys(ea)){let n=ea[e];if(!0===n.stripIfUnchanged&&(0,er.default)(r[e],n.default)){let{[e]:n,...a}=r;r=a}}return r}}e.s(["TweetAttrs",0,ea],948024);let eo=function(e){return{type:e,attrs:ea.getDefaultAttrs(e),content:[{type:"paragraph"}]}};function ei(e,r={},n=!1){let{content:a,index:o,focusStart:i=!1,images:u}=r,c=e.options.editorProps.attributes.type,s=e.getJSON().content;if(console.log("initial content",s),!s)return!1;let d=eo(c+"_Post");a&&(d.content=a.filter(e=>void 0!==e.content));let l="number"==typeof o?o:s.length;return s.splice(l,0,d),e.chain().setContent(s).focus(i?"start":"end").run(),u&&!n&&function(e,r,n){let a=e||es(r);if(-1===a)return;let o=r.getJSON();if(!o?.content)return;o.content[a]?.content||(o.content[a]={content:[]}
221),n.forEach(e=>{(o.content[a]?.content).push({type:"image",attrs:{src:e.url,id:e.id,alt:e.alt}})});let i=r.view.state.selection.from;r.chain().focus(i).setContent(o).run(),r.commands.focus(i)}(l,e,u),!0}function eu(e,r){let n=0,a=0;return e.state.doc.forEach((e,o,i)=>{if(i<=r&&(n=a,a+=e.nodeSize),i===r)return!1}),{start:n,end:a}}function ec(e){let{selection:r}=e.state,n=r.$from,a=n.node(-1);if(a?.type.name!=="Tweet_Thread_Post"&&a?.type.name!=="Threads_Thread_Post"&&a?.type.name!=="Bluesky_Thread_Post")return"";let o=n.end(-1);return e.state.doc.textBetween(r.from,o,"\n","\n").trim()}function es(e){let{selection:r}=e.state,n=r.$from.node(-1);if(!n||"Tweet_Thread_Post"!==n.type.name&&"Threads_Thread_Post"!==n.type.name&&"Bluesky_Thread_Post"!==n.type.name)return -1;let a=e.getJSON().content;return a?a.findIndex(e=>e.attrs?.id===n.attrs.id):-1}e.s(["default",0,eo],867004),e.s(["detectNumberOfConsecutiveEmptyLinesInTweet",0,function(e,r){let n=e.getJSON().content;if(!n)return 0;let a=n[r];if(!a?.content)return 0;let o=0,i=0;for(let e=a.content.length-1;e>=0;e--){let r=a.content[e];r&&(r.content&&0!==r.content.length||"image"===r.type?(i=Math.max(i,o),o=0):o++)}return Math.max(i,o)},"focusCursorToTweetStart",0,function(e,r){let{start:n,end:a}=eu(e,r);return e.commands.focus(n+2),!0},"getCurrentTweetIndex",0,es,"getSelectedTweetIndex",0,function(e){let{selection:r}=e.state,{from:n}=r,a=0;return e.state.doc.nodesBetween(0,n,(e,r)=>{("Tweet_Thread_Post"===e.type.name||"Threads_Thread_Post"===e.type.name||"Bluesky_Thread_Post"===e.type.name)&&a++}),a-1},"getTextAfterCursorInCurrentNode",0,ec,"insertTweet",0,ei,"isCursorAtTweetEnd",0,function(e){let{selection:r}=e.state,n=r.$from;if(!r.empty)return!1;let a=n.node(-1);return!!a&&"tweet"===a.type.name&&n.parentOffset===n.parent.content.size},"isCursorAtTweetStart",0,function(e){let{selection:r}=e.state,n=r.$from;if(!r.empty)return!1;let a=n.node(-1);if(!a||"Tweet_Thread_Post"!==a.type.name&&"Threads_Thread_Post"!==a.type.name&&"Bluesky_Thread_Post"!==a.type.name)return!1;let o=n.start(-1);return r.from===o+1},"splitTweetAtCursor",0,function(e){let r=ec(e);if(!r||0===r.length)return!1;let n=e.getJSON().content;if(!n)return!1;let{selection:a}=e.state,o=a.$from,i=o.node(-1);if(i?.type.name!=="Tweet_Thread_Post"&&i?.type.name!=="Threads_Thread_Post"&&i?.type.name!=="Bluesky_Thread_Post")return!1;let{images:u}=i.attrs,c=o.end(-1),s=n.findIndex(e=>e.attrs?.id===i.attrs.id);if(-1===s)return!1;let d=r.split("\n").map(e=>({type:"paragraph",content:e.length?[{type:"text",text:e}]:[]}));return e.chain().focus().command(({tr:e})=>(e.delete(a.from,c),!0)).run(),e.chain().focus().command(({tr:e,state:r})=>{let n=e.selection.from,a=n,o=e.selection.$from.start(-1);if(r.doc.textBetween(o,n).trim().length>0){for(;a>0;){let e=r.doc.textBetween(a-1,a);if("\n"!==e&&""!==e)break;a--}a<n&&e.delete(a,n)}return!0}).run(),ei(e,{content:d,images:u,index:s+1,focusStart:!0}),!0},"tweetEditorPosition",0,eu],765638)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.