@kangtae49/just-layout 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +19 -1
- package/dist/index.es.js +1413 -1401
- package/dist/index.umd.js +11 -11
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(ce,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react"),require("inversify"),require("mobx"),require("inversify-react"),require("react/jsx-runtime"),require("react-dnd"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","inversify","mobx","inversify-react","react/jsx-runtime","react-dnd","react-dom"],k):(ce=typeof globalThis<"u"?globalThis:ce||self,k(ce.JustLayout={},ce.React,ce.inversify,ce.mobx,ce.inversifyReact,ce.jsxRuntime,ce.ReactDnd,ce.ReactDOM))})(this,(function(ce,k,Vr,lr,ph,$,Zr,cr){"use strict";function eu(a){return JSON.stringify(ma(a))}function ma(a){return Array.isArray(a)?a.map(ma):a&&typeof a=="object"?Object.fromEntries(Object.entries(a).sort((i,n)=>i[0].localeCompare(n[0])).map(([i,n])=>[i,ma(n)])):a}const kt={JustLayoutService:Symbol.for("JustLayoutService"),JustLayoutStore:Symbol.for("JustLayoutStore"),JustLayoutStoreCacheMap:Symbol.for("JustLayoutStoreCacheMap"),JustLayoutFactory:Symbol.for("JustLayoutFactory")};var Qt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var dr={exports:{}};var vh=dr.exports,tu;function gh(){return tu||(tu=1,(function(a,i){(function(){var n,o="4.17.23",u=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",p="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",y=500,_="__lodash_placeholder__",w=1,O=2,x=4,E=1,A=2,T=1,L=2,W=4,U=8,Z=16,R=32,de=64,C=128,P=256,q=512,ee=30,J="...",ie=800,K=16,We=1,Je=2,Ye=3,Et=1/0,ze=9007199254740991,Do=17976931348623157e292,At=NaN,nt=4294967295,xi=nt-1,Ei=nt>>>1,Ar=[["ary",C],["bind",T],["bindKey",L],["curry",U],["curryRight",Z],["flip",q],["partial",R],["partialRight",de],["rearg",P]],Ut="[object Arguments]",bn="[object Array]",Tr="[object AsyncFunction]",_n="[object Boolean]",rn="[object Date]",Ir="[object DOMException]",Hn="[object Error]",qn="[object Function]",Ai="[object GeneratorFunction]",Ie="[object Map]",an="[object Number]",Ti="[object Null]",rt="[object Object]",Ue="[object Promise]",jn="[object Proxy]",Oe="[object RegExp]",Ke="[object Set]",on="[object String]",Be="[object Symbol]",Wo="[object Undefined]",wn="[object WeakMap]",Bo="[object WeakSet]",Sn="[object ArrayBuffer]",He="[object DataView]",Gn="[object Float32Array]",Or="[object Float64Array]",xn="[object Int8Array]",En="[object Int16Array]",Cr="[object Int32Array]",Nr="[object Uint8Array]",Jn="[object Uint8ClampedArray]",Lr="[object Uint16Array]",Pr="[object Uint32Array]",Ii=/\b__p \+= '';/g,fe=/\b(__p \+=) '' \+/g,Pe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xe=/&(?:amp|lt|gt|quot|#39);/g,it=/[&<>"']/g,Ee=RegExp(Xe.source),Yn=RegExp(it.source),Ro=/<%-([\s\S]+?)%>/g,$o=/<%([\s\S]+?)%>/g,An=/<%=([\s\S]+?)%>/g,zo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Uo=/^\w*$/,Oi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fr=/[\\^$.*+?()[\]{}|]/g,Ho=RegExp(Fr.source),Ht=/^\s+/,Mr=/\s/,kr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kn=/\{\n\/\* \[wrapped with (.+)\] \*/,N0=/,? & /,L0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,P0=/[()=,{}\[\]\/\s]/,F0=/\\(\\)?/g,M0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ul=/\w*$/,k0=/^[-+]0x[0-9a-f]+$/i,D0=/^0b[01]+$/i,W0=/^\[object .+?Constructor\]$/,B0=/^0o[0-7]+$/i,R0=/^(?:0|[1-9]\d*)$/,$0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ci=/($^)/,z0=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",U0="\\u0300-\\u036f",H0="\\ufe20-\\ufe2f",q0="\\u20d0-\\u20ff",Hl=U0+H0+q0,ql="\\u2700-\\u27bf",jl="a-z\\xdf-\\xf6\\xf8-\\xff",j0="\\xac\\xb1\\xd7\\xf7",G0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",J0="\\u2000-\\u206f",Y0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gl="A-Z\\xc0-\\xd6\\xd8-\\xde",Jl="\\ufe0e\\ufe0f",Yl=j0+G0+J0+Y0,qo="['’]",K0="["+Ni+"]",Kl="["+Yl+"]",Li="["+Hl+"]",Xl="\\d+",X0="["+ql+"]",Vl="["+jl+"]",Zl="[^"+Ni+Yl+Xl+ql+jl+Gl+"]",jo="\\ud83c[\\udffb-\\udfff]",V0="(?:"+Li+"|"+jo+")",Ql="[^"+Ni+"]",Go="(?:\\ud83c[\\udde6-\\uddff]){2}",Jo="[\\ud800-\\udbff][\\udc00-\\udfff]",Xn="["+Gl+"]",ec="\\u200d",tc="(?:"+Vl+"|"+Zl+")",Z0="(?:"+Xn+"|"+Zl+")",nc="(?:"+qo+"(?:d|ll|m|re|s|t|ve))?",rc="(?:"+qo+"(?:D|LL|M|RE|S|T|VE))?",ic=V0+"?",ac="["+Jl+"]?",Q0="(?:"+ec+"(?:"+[Ql,Go,Jo].join("|")+")"+ac+ic+")*",ey="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ty="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",oc=ac+ic+Q0,ny="(?:"+[X0,Go,Jo].join("|")+")"+oc,ry="(?:"+[Ql+Li+"?",Li,Go,Jo,K0].join("|")+")",iy=RegExp(qo,"g"),ay=RegExp(Li,"g"),Yo=RegExp(jo+"(?="+jo+")|"+ry+oc,"g"),oy=RegExp([Xn+"?"+Vl+"+"+nc+"(?="+[Kl,Xn,"$"].join("|")+")",Z0+"+"+rc+"(?="+[Kl,Xn+tc,"$"].join("|")+")",Xn+"?"+tc+"+"+nc,Xn+"+"+rc,ty,ey,Xl,ny].join("|"),"g"),sy=RegExp("["+ec+Ni+Hl+Jl+"]"),uy=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fy=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ly=-1,_e={};_e[Gn]=_e[Or]=_e[xn]=_e[En]=_e[Cr]=_e[Nr]=_e[Jn]=_e[Lr]=_e[Pr]=!0,_e[Ut]=_e[bn]=_e[Sn]=_e[_n]=_e[He]=_e[rn]=_e[Hn]=_e[qn]=_e[Ie]=_e[an]=_e[rt]=_e[Oe]=_e[Ke]=_e[on]=_e[wn]=!1;var ye={};ye[Ut]=ye[bn]=ye[Sn]=ye[He]=ye[_n]=ye[rn]=ye[Gn]=ye[Or]=ye[xn]=ye[En]=ye[Cr]=ye[Ie]=ye[an]=ye[rt]=ye[Oe]=ye[Ke]=ye[on]=ye[Be]=ye[Nr]=ye[Jn]=ye[Lr]=ye[Pr]=!0,ye[Hn]=ye[qn]=ye[wn]=!1;var cy={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},dy={"&":"&","<":"<",">":">",'"':""","'":"'"},hy={"&":"&","<":"<",">":">",""":'"',"'":"'"},py={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vy=parseFloat,gy=parseInt,sc=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt,my=typeof self=="object"&&self&&self.Object===Object&&self,ke=sc||my||Function("return this")(),Ko=i&&!i.nodeType&&i,Tn=Ko&&!0&&a&&!a.nodeType&&a,uc=Tn&&Tn.exports===Ko,Xo=uc&&sc.process,dt=(function(){try{var b=Tn&&Tn.require&&Tn.require("util").types;return b||Xo&&Xo.binding&&Xo.binding("util")}catch{}})(),fc=dt&&dt.isArrayBuffer,lc=dt&&dt.isDate,cc=dt&&dt.isMap,dc=dt&&dt.isRegExp,hc=dt&&dt.isSet,pc=dt&&dt.isTypedArray;function at(b,N,I){switch(I.length){case 0:return b.call(N);case 1:return b.call(N,I[0]);case 2:return b.call(N,I[0],I[1]);case 3:return b.call(N,I[0],I[1],I[2])}return b.apply(N,I)}function yy(b,N,I,H){for(var Q=-1,pe=b==null?0:b.length;++Q<pe;){var Ne=b[Q];N(H,Ne,I(Ne),b)}return H}function ht(b,N){for(var I=-1,H=b==null?0:b.length;++I<H&&N(b[I],I,b)!==!1;);return b}function by(b,N){for(var I=b==null?0:b.length;I--&&N(b[I],I,b)!==!1;);return b}function vc(b,N){for(var I=-1,H=b==null?0:b.length;++I<H;)if(!N(b[I],I,b))return!1;return!0}function sn(b,N){for(var I=-1,H=b==null?0:b.length,Q=0,pe=[];++I<H;){var Ne=b[I];N(Ne,I,b)&&(pe[Q++]=Ne)}return pe}function Pi(b,N){var I=b==null?0:b.length;return!!I&&Vn(b,N,0)>-1}function Vo(b,N,I){for(var H=-1,Q=b==null?0:b.length;++H<Q;)if(I(N,b[H]))return!0;return!1}function we(b,N){for(var I=-1,H=b==null?0:b.length,Q=Array(H);++I<H;)Q[I]=N(b[I],I,b);return Q}function un(b,N){for(var I=-1,H=N.length,Q=b.length;++I<H;)b[Q+I]=N[I];return b}function Zo(b,N,I,H){var Q=-1,pe=b==null?0:b.length;for(H&&pe&&(I=b[++Q]);++Q<pe;)I=N(I,b[Q],Q,b);return I}function _y(b,N,I,H){var Q=b==null?0:b.length;for(H&&Q&&(I=b[--Q]);Q--;)I=N(I,b[Q],Q,b);return I}function Qo(b,N){for(var I=-1,H=b==null?0:b.length;++I<H;)if(N(b[I],I,b))return!0;return!1}var wy=es("length");function Sy(b){return b.split("")}function xy(b){return b.match(L0)||[]}function gc(b,N,I){var H;return I(b,function(Q,pe,Ne){if(N(Q,pe,Ne))return H=pe,!1}),H}function Fi(b,N,I,H){for(var Q=b.length,pe=I+(H?1:-1);H?pe--:++pe<Q;)if(N(b[pe],pe,b))return pe;return-1}function Vn(b,N,I){return N===N?ky(b,N,I):Fi(b,mc,I)}function Ey(b,N,I,H){for(var Q=I-1,pe=b.length;++Q<pe;)if(H(b[Q],N))return Q;return-1}function mc(b){return b!==b}function yc(b,N){var I=b==null?0:b.length;return I?ns(b,N)/I:At}function es(b){return function(N){return N==null?n:N[b]}}function ts(b){return function(N){return b==null?n:b[N]}}function bc(b,N,I,H,Q){return Q(b,function(pe,Ne,me){I=H?(H=!1,pe):N(I,pe,Ne,me)}),I}function Ay(b,N){var I=b.length;for(b.sort(N);I--;)b[I]=b[I].value;return b}function ns(b,N){for(var I,H=-1,Q=b.length;++H<Q;){var pe=N(b[H]);pe!==n&&(I=I===n?pe:I+pe)}return I}function rs(b,N){for(var I=-1,H=Array(b);++I<b;)H[I]=N(I);return H}function Ty(b,N){return we(N,function(I){return[I,b[I]]})}function _c(b){return b&&b.slice(0,Ec(b)+1).replace(Ht,"")}function ot(b){return function(N){return b(N)}}function is(b,N){return we(N,function(I){return b[I]})}function Dr(b,N){return b.has(N)}function wc(b,N){for(var I=-1,H=b.length;++I<H&&Vn(N,b[I],0)>-1;);return I}function Sc(b,N){for(var I=b.length;I--&&Vn(N,b[I],0)>-1;);return I}function Iy(b,N){for(var I=b.length,H=0;I--;)b[I]===N&&++H;return H}var Oy=ts(cy),Cy=ts(dy);function Ny(b){return"\\"+py[b]}function Ly(b,N){return b==null?n:b[N]}function Zn(b){return sy.test(b)}function Py(b){return uy.test(b)}function Fy(b){for(var N,I=[];!(N=b.next()).done;)I.push(N.value);return I}function as(b){var N=-1,I=Array(b.size);return b.forEach(function(H,Q){I[++N]=[Q,H]}),I}function xc(b,N){return function(I){return b(N(I))}}function fn(b,N){for(var I=-1,H=b.length,Q=0,pe=[];++I<H;){var Ne=b[I];(Ne===N||Ne===_)&&(b[I]=_,pe[Q++]=I)}return pe}function Mi(b){var N=-1,I=Array(b.size);return b.forEach(function(H){I[++N]=H}),I}function My(b){var N=-1,I=Array(b.size);return b.forEach(function(H){I[++N]=[H,H]}),I}function ky(b,N,I){for(var H=I-1,Q=b.length;++H<Q;)if(b[H]===N)return H;return-1}function Dy(b,N,I){for(var H=I+1;H--;)if(b[H]===N)return H;return H}function Qn(b){return Zn(b)?By(b):wy(b)}function Tt(b){return Zn(b)?Ry(b):Sy(b)}function Ec(b){for(var N=b.length;N--&&Mr.test(b.charAt(N)););return N}var Wy=ts(hy);function By(b){for(var N=Yo.lastIndex=0;Yo.test(b);)++N;return N}function Ry(b){return b.match(Yo)||[]}function $y(b){return b.match(oy)||[]}var zy=(function b(N){N=N==null?ke:er.defaults(ke.Object(),N,er.pick(ke,fy));var I=N.Array,H=N.Date,Q=N.Error,pe=N.Function,Ne=N.Math,me=N.Object,os=N.RegExp,Uy=N.String,pt=N.TypeError,ki=I.prototype,Hy=pe.prototype,tr=me.prototype,Di=N["__core-js_shared__"],Wi=Hy.toString,ve=tr.hasOwnProperty,qy=0,Ac=(function(){var e=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),Bi=tr.toString,jy=Wi.call(me),Gy=ke._,Jy=os("^"+Wi.call(ve).replace(Fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ri=uc?N.Buffer:n,ln=N.Symbol,$i=N.Uint8Array,Tc=Ri?Ri.allocUnsafe:n,zi=xc(me.getPrototypeOf,me),Ic=me.create,Oc=tr.propertyIsEnumerable,Ui=ki.splice,Cc=ln?ln.isConcatSpreadable:n,Wr=ln?ln.iterator:n,In=ln?ln.toStringTag:n,Hi=(function(){try{var e=Pn(me,"defineProperty");return e({},"",{}),e}catch{}})(),Yy=N.clearTimeout!==ke.clearTimeout&&N.clearTimeout,Ky=H&&H.now!==ke.Date.now&&H.now,Xy=N.setTimeout!==ke.setTimeout&&N.setTimeout,qi=Ne.ceil,ji=Ne.floor,ss=me.getOwnPropertySymbols,Vy=Ri?Ri.isBuffer:n,Nc=N.isFinite,Zy=ki.join,Qy=xc(me.keys,me),Le=Ne.max,Re=Ne.min,e1=H.now,t1=N.parseInt,Lc=Ne.random,n1=ki.reverse,us=Pn(N,"DataView"),Br=Pn(N,"Map"),fs=Pn(N,"Promise"),nr=Pn(N,"Set"),Rr=Pn(N,"WeakMap"),$r=Pn(me,"create"),Gi=Rr&&new Rr,rr={},r1=Fn(us),i1=Fn(Br),a1=Fn(fs),o1=Fn(nr),s1=Fn(Rr),Ji=ln?ln.prototype:n,zr=Ji?Ji.valueOf:n,Pc=Ji?Ji.toString:n;function d(e){if(xe(e)&&!te(e)&&!(e instanceof ue)){if(e instanceof vt)return e;if(ve.call(e,"__wrapped__"))return Fd(e)}return new vt(e)}var ir=(function(){function e(){}return function(t){if(!Se(t))return{};if(Ic)return Ic(t);e.prototype=t;var r=new e;return e.prototype=n,r}})();function Yi(){}function vt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}d.templateSettings={escape:Ro,evaluate:$o,interpolate:An,variable:"",imports:{_:d}},d.prototype=Yi.prototype,d.prototype.constructor=d,vt.prototype=ir(Yi.prototype),vt.prototype.constructor=vt;function ue(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=nt,this.__views__=[]}function u1(){var e=new ue(this.__wrapped__);return e.__actions__=Ve(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ve(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ve(this.__views__),e}function f1(){if(this.__filtered__){var e=new ue(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function l1(){var e=this.__wrapped__.value(),t=this.__dir__,r=te(e),s=t<0,l=r?e.length:0,h=Sb(0,l,this.__views__),v=h.start,m=h.end,S=m-v,F=s?m:v-1,M=this.__iteratees__,D=M.length,z=0,j=Re(S,this.__takeCount__);if(!r||!s&&l==S&&j==S)return nd(e,this.__actions__);var X=[];e:for(;S--&&z<j;){F+=t;for(var ae=-1,V=e[F];++ae<D;){var se=M[ae],le=se.iteratee,ft=se.type,Ge=le(V);if(ft==Je)V=Ge;else if(!Ge){if(ft==We)continue e;break e}}X[z++]=V}return X}ue.prototype=ir(Yi.prototype),ue.prototype.constructor=ue;function On(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function c1(){this.__data__=$r?$r(null):{},this.size=0}function d1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function h1(e){var t=this.__data__;if($r){var r=t[e];return r===g?n:r}return ve.call(t,e)?t[e]:n}function p1(e){var t=this.__data__;return $r?t[e]!==n:ve.call(t,e)}function v1(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$r&&t===n?g:t,this}On.prototype.clear=c1,On.prototype.delete=d1,On.prototype.get=h1,On.prototype.has=p1,On.prototype.set=v1;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function g1(){this.__data__=[],this.size=0}function m1(e){var t=this.__data__,r=Ki(t,e);if(r<0)return!1;var s=t.length-1;return r==s?t.pop():Ui.call(t,r,1),--this.size,!0}function y1(e){var t=this.__data__,r=Ki(t,e);return r<0?n:t[r][1]}function b1(e){return Ki(this.__data__,e)>-1}function _1(e,t){var r=this.__data__,s=Ki(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}qt.prototype.clear=g1,qt.prototype.delete=m1,qt.prototype.get=y1,qt.prototype.has=b1,qt.prototype.set=_1;function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function w1(){this.size=0,this.__data__={hash:new On,map:new(Br||qt),string:new On}}function S1(e){var t=sa(this,e).delete(e);return this.size-=t?1:0,t}function x1(e){return sa(this,e).get(e)}function E1(e){return sa(this,e).has(e)}function A1(e,t){var r=sa(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}jt.prototype.clear=w1,jt.prototype.delete=S1,jt.prototype.get=x1,jt.prototype.has=E1,jt.prototype.set=A1;function Cn(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}function T1(e){return this.__data__.set(e,g),this}function I1(e){return this.__data__.has(e)}Cn.prototype.add=Cn.prototype.push=T1,Cn.prototype.has=I1;function It(e){var t=this.__data__=new qt(e);this.size=t.size}function O1(){this.__data__=new qt,this.size=0}function C1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function N1(e){return this.__data__.get(e)}function L1(e){return this.__data__.has(e)}function P1(e,t){var r=this.__data__;if(r instanceof qt){var s=r.__data__;if(!Br||s.length<u-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(s)}return r.set(e,t),this.size=r.size,this}It.prototype.clear=O1,It.prototype.delete=C1,It.prototype.get=N1,It.prototype.has=L1,It.prototype.set=P1;function Fc(e,t){var r=te(e),s=!r&&Mn(e),l=!r&&!s&&vn(e),h=!r&&!s&&!l&&ur(e),v=r||s||l||h,m=v?rs(e.length,Uy):[],S=m.length;for(var F in e)(t||ve.call(e,F))&&!(v&&(F=="length"||l&&(F=="offset"||F=="parent")||h&&(F=="buffer"||F=="byteLength"||F=="byteOffset")||Kt(F,S)))&&m.push(F);return m}function Mc(e){var t=e.length;return t?e[_s(0,t-1)]:n}function F1(e,t){return ua(Ve(e),Nn(t,0,e.length))}function M1(e){return ua(Ve(e))}function ls(e,t,r){(r!==n&&!Ot(e[t],r)||r===n&&!(t in e))&&Gt(e,t,r)}function Ur(e,t,r){var s=e[t];(!(ve.call(e,t)&&Ot(s,r))||r===n&&!(t in e))&&Gt(e,t,r)}function Ki(e,t){for(var r=e.length;r--;)if(Ot(e[r][0],t))return r;return-1}function k1(e,t,r,s){return cn(e,function(l,h,v){t(s,l,r(l),v)}),s}function kc(e,t){return e&&Ft(t,Fe(t),e)}function D1(e,t){return e&&Ft(t,Qe(t),e)}function Gt(e,t,r){t=="__proto__"&&Hi?Hi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function cs(e,t){for(var r=-1,s=t.length,l=I(s),h=e==null;++r<s;)l[r]=h?n:js(e,t[r]);return l}function Nn(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function gt(e,t,r,s,l,h){var v,m=t&w,S=t&O,F=t&x;if(r&&(v=l?r(e,s,l,h):r(e)),v!==n)return v;if(!Se(e))return e;var M=te(e);if(M){if(v=Eb(e),!m)return Ve(e,v)}else{var D=$e(e),z=D==qn||D==Ai;if(vn(e))return ad(e,m);if(D==rt||D==Ut||z&&!l){if(v=S||z?{}:Ed(e),!m)return S?hb(e,D1(v,e)):db(e,kc(v,e))}else{if(!ye[D])return l?e:{};v=Ab(e,D,m)}}h||(h=new It);var j=h.get(e);if(j)return j;h.set(e,v),Qd(e)?e.forEach(function(V){v.add(gt(V,t,r,V,e,h))}):Vd(e)&&e.forEach(function(V,se){v.set(se,gt(V,t,r,se,e,h))});var X=F?S?Ls:Ns:S?Qe:Fe,ae=M?n:X(e);return ht(ae||e,function(V,se){ae&&(se=V,V=e[se]),Ur(v,se,gt(V,t,r,se,e,h))}),v}function W1(e){var t=Fe(e);return function(r){return Dc(r,e,t)}}function Dc(e,t,r){var s=r.length;if(e==null)return!s;for(e=me(e);s--;){var l=r[s],h=t[l],v=e[l];if(v===n&&!(l in e)||!h(v))return!1}return!0}function Wc(e,t,r){if(typeof e!="function")throw new pt(c);return Kr(function(){e.apply(n,r)},t)}function Hr(e,t,r,s){var l=-1,h=Pi,v=!0,m=e.length,S=[],F=t.length;if(!m)return S;r&&(t=we(t,ot(r))),s?(h=Vo,v=!1):t.length>=u&&(h=Dr,v=!1,t=new Cn(t));e:for(;++l<m;){var M=e[l],D=r==null?M:r(M);if(M=s||M!==0?M:0,v&&D===D){for(var z=F;z--;)if(t[z]===D)continue e;S.push(M)}else h(t,D,s)||S.push(M)}return S}var cn=ld(Pt),Bc=ld(hs,!0);function B1(e,t){var r=!0;return cn(e,function(s,l,h){return r=!!t(s,l,h),r}),r}function Xi(e,t,r){for(var s=-1,l=e.length;++s<l;){var h=e[s],v=t(h);if(v!=null&&(m===n?v===v&&!ut(v):r(v,m)))var m=v,S=h}return S}function R1(e,t,r,s){var l=e.length;for(r=re(r),r<0&&(r=-r>l?0:l+r),s=s===n||s>l?l:re(s),s<0&&(s+=l),s=r>s?0:th(s);r<s;)e[r++]=t;return e}function Rc(e,t){var r=[];return cn(e,function(s,l,h){t(s,l,h)&&r.push(s)}),r}function De(e,t,r,s,l){var h=-1,v=e.length;for(r||(r=Ib),l||(l=[]);++h<v;){var m=e[h];t>0&&r(m)?t>1?De(m,t-1,r,s,l):un(l,m):s||(l[l.length]=m)}return l}var ds=cd(),$c=cd(!0);function Pt(e,t){return e&&ds(e,t,Fe)}function hs(e,t){return e&&$c(e,t,Fe)}function Vi(e,t){return sn(t,function(r){return Xt(e[r])})}function Ln(e,t){t=hn(t,e);for(var r=0,s=t.length;e!=null&&r<s;)e=e[Mt(t[r++])];return r&&r==s?e:n}function zc(e,t,r){var s=t(e);return te(e)?s:un(s,r(e))}function qe(e){return e==null?e===n?Wo:Ti:In&&In in me(e)?wb(e):Mb(e)}function ps(e,t){return e>t}function $1(e,t){return e!=null&&ve.call(e,t)}function z1(e,t){return e!=null&&t in me(e)}function U1(e,t,r){return e>=Re(t,r)&&e<Le(t,r)}function vs(e,t,r){for(var s=r?Vo:Pi,l=e[0].length,h=e.length,v=h,m=I(h),S=1/0,F=[];v--;){var M=e[v];v&&t&&(M=we(M,ot(t))),S=Re(M.length,S),m[v]=!r&&(t||l>=120&&M.length>=120)?new Cn(v&&M):n}M=e[0];var D=-1,z=m[0];e:for(;++D<l&&F.length<S;){var j=M[D],X=t?t(j):j;if(j=r||j!==0?j:0,!(z?Dr(z,X):s(F,X,r))){for(v=h;--v;){var ae=m[v];if(!(ae?Dr(ae,X):s(e[v],X,r)))continue e}z&&z.push(X),F.push(j)}}return F}function H1(e,t,r,s){return Pt(e,function(l,h,v){t(s,r(l),h,v)}),s}function qr(e,t,r){t=hn(t,e),e=Od(e,t);var s=e==null?e:e[Mt(yt(t))];return s==null?n:at(s,e,r)}function Uc(e){return xe(e)&&qe(e)==Ut}function q1(e){return xe(e)&&qe(e)==Sn}function j1(e){return xe(e)&&qe(e)==rn}function jr(e,t,r,s,l){return e===t?!0:e==null||t==null||!xe(e)&&!xe(t)?e!==e&&t!==t:G1(e,t,r,s,jr,l)}function G1(e,t,r,s,l,h){var v=te(e),m=te(t),S=v?bn:$e(e),F=m?bn:$e(t);S=S==Ut?rt:S,F=F==Ut?rt:F;var M=S==rt,D=F==rt,z=S==F;if(z&&vn(e)){if(!vn(t))return!1;v=!0,M=!1}if(z&&!M)return h||(h=new It),v||ur(e)?wd(e,t,r,s,l,h):bb(e,t,S,r,s,l,h);if(!(r&E)){var j=M&&ve.call(e,"__wrapped__"),X=D&&ve.call(t,"__wrapped__");if(j||X){var ae=j?e.value():e,V=X?t.value():t;return h||(h=new It),l(ae,V,r,s,h)}}return z?(h||(h=new It),_b(e,t,r,s,l,h)):!1}function J1(e){return xe(e)&&$e(e)==Ie}function gs(e,t,r,s){var l=r.length,h=l,v=!s;if(e==null)return!h;for(e=me(e);l--;){var m=r[l];if(v&&m[2]?m[1]!==e[m[0]]:!(m[0]in e))return!1}for(;++l<h;){m=r[l];var S=m[0],F=e[S],M=m[1];if(v&&m[2]){if(F===n&&!(S in e))return!1}else{var D=new It;if(s)var z=s(F,M,S,e,t,D);if(!(z===n?jr(M,F,E|A,s,D):z))return!1}}return!0}function Hc(e){if(!Se(e)||Cb(e))return!1;var t=Xt(e)?Jy:W0;return t.test(Fn(e))}function Y1(e){return xe(e)&&qe(e)==Oe}function K1(e){return xe(e)&&$e(e)==Ke}function X1(e){return xe(e)&&pa(e.length)&&!!_e[qe(e)]}function qc(e){return typeof e=="function"?e:e==null?et:typeof e=="object"?te(e)?Jc(e[0],e[1]):Gc(e):dh(e)}function ms(e){if(!Yr(e))return Qy(e);var t=[];for(var r in me(e))ve.call(e,r)&&r!="constructor"&&t.push(r);return t}function V1(e){if(!Se(e))return Fb(e);var t=Yr(e),r=[];for(var s in e)s=="constructor"&&(t||!ve.call(e,s))||r.push(s);return r}function ys(e,t){return e<t}function jc(e,t){var r=-1,s=Ze(e)?I(e.length):[];return cn(e,function(l,h,v){s[++r]=t(l,h,v)}),s}function Gc(e){var t=Fs(e);return t.length==1&&t[0][2]?Td(t[0][0],t[0][1]):function(r){return r===e||gs(r,e,t)}}function Jc(e,t){return ks(e)&&Ad(t)?Td(Mt(e),t):function(r){var s=js(r,e);return s===n&&s===t?Gs(r,e):jr(t,s,E|A)}}function Zi(e,t,r,s,l){e!==t&&ds(t,function(h,v){if(l||(l=new It),Se(h))Z1(e,t,v,r,Zi,s,l);else{var m=s?s(Ws(e,v),h,v+"",e,t,l):n;m===n&&(m=h),ls(e,v,m)}},Qe)}function Z1(e,t,r,s,l,h,v){var m=Ws(e,r),S=Ws(t,r),F=v.get(S);if(F){ls(e,r,F);return}var M=h?h(m,S,r+"",e,t,v):n,D=M===n;if(D){var z=te(S),j=!z&&vn(S),X=!z&&!j&&ur(S);M=S,z||j||X?te(m)?M=m:Ae(m)?M=Ve(m):j?(D=!1,M=ad(S,!0)):X?(D=!1,M=od(S,!0)):M=[]:Xr(S)||Mn(S)?(M=m,Mn(m)?M=nh(m):(!Se(m)||Xt(m))&&(M=Ed(S))):D=!1}D&&(v.set(S,M),l(M,S,s,h,v),v.delete(S)),ls(e,r,M)}function Yc(e,t){var r=e.length;if(r)return t+=t<0?r:0,Kt(t,r)?e[t]:n}function Kc(e,t,r){t.length?t=we(t,function(h){return te(h)?function(v){return Ln(v,h.length===1?h[0]:h)}:h}):t=[et];var s=-1;t=we(t,ot(Y()));var l=jc(e,function(h,v,m){var S=we(t,function(F){return F(h)});return{criteria:S,index:++s,value:h}});return Ay(l,function(h,v){return cb(h,v,r)})}function Q1(e,t){return Xc(e,t,function(r,s){return Gs(e,s)})}function Xc(e,t,r){for(var s=-1,l=t.length,h={};++s<l;){var v=t[s],m=Ln(e,v);r(m,v)&&Gr(h,hn(v,e),m)}return h}function eb(e){return function(t){return Ln(t,e)}}function bs(e,t,r,s){var l=s?Ey:Vn,h=-1,v=t.length,m=e;for(e===t&&(t=Ve(t)),r&&(m=we(e,ot(r)));++h<v;)for(var S=0,F=t[h],M=r?r(F):F;(S=l(m,M,S,s))>-1;)m!==e&&Ui.call(m,S,1),Ui.call(e,S,1);return e}function Vc(e,t){for(var r=e?t.length:0,s=r-1;r--;){var l=t[r];if(r==s||l!==h){var h=l;Kt(l)?Ui.call(e,l,1):xs(e,l)}}return e}function _s(e,t){return e+ji(Lc()*(t-e+1))}function tb(e,t,r,s){for(var l=-1,h=Le(qi((t-e)/(r||1)),0),v=I(h);h--;)v[s?h:++l]=e,e+=r;return v}function ws(e,t){var r="";if(!e||t<1||t>ze)return r;do t%2&&(r+=e),t=ji(t/2),t&&(e+=e);while(t);return r}function oe(e,t){return Bs(Id(e,t,et),e+"")}function nb(e){return Mc(fr(e))}function rb(e,t){var r=fr(e);return ua(r,Nn(t,0,r.length))}function Gr(e,t,r,s){if(!Se(e))return e;t=hn(t,e);for(var l=-1,h=t.length,v=h-1,m=e;m!=null&&++l<h;){var S=Mt(t[l]),F=r;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(l!=v){var M=m[S];F=s?s(M,S,m):n,F===n&&(F=Se(M)?M:Kt(t[l+1])?[]:{})}Ur(m,S,F),m=m[S]}return e}var Zc=Gi?function(e,t){return Gi.set(e,t),e}:et,ib=Hi?function(e,t){return Hi(e,"toString",{configurable:!0,enumerable:!1,value:Ys(t),writable:!0})}:et;function ab(e){return ua(fr(e))}function mt(e,t,r){var s=-1,l=e.length;t<0&&(t=-t>l?0:l+t),r=r>l?l:r,r<0&&(r+=l),l=t>r?0:r-t>>>0,t>>>=0;for(var h=I(l);++s<l;)h[s]=e[s+t];return h}function ob(e,t){var r;return cn(e,function(s,l,h){return r=t(s,l,h),!r}),!!r}function Qi(e,t,r){var s=0,l=e==null?s:e.length;if(typeof t=="number"&&t===t&&l<=Ei){for(;s<l;){var h=s+l>>>1,v=e[h];v!==null&&!ut(v)&&(r?v<=t:v<t)?s=h+1:l=h}return l}return Ss(e,t,et,r)}function Ss(e,t,r,s){var l=0,h=e==null?0:e.length;if(h===0)return 0;t=r(t);for(var v=t!==t,m=t===null,S=ut(t),F=t===n;l<h;){var M=ji((l+h)/2),D=r(e[M]),z=D!==n,j=D===null,X=D===D,ae=ut(D);if(v)var V=s||X;else F?V=X&&(s||z):m?V=X&&z&&(s||!j):S?V=X&&z&&!j&&(s||!ae):j||ae?V=!1:V=s?D<=t:D<t;V?l=M+1:h=M}return Re(h,xi)}function Qc(e,t){for(var r=-1,s=e.length,l=0,h=[];++r<s;){var v=e[r],m=t?t(v):v;if(!r||!Ot(m,S)){var S=m;h[l++]=v===0?0:v}}return h}function ed(e){return typeof e=="number"?e:ut(e)?At:+e}function st(e){if(typeof e=="string")return e;if(te(e))return we(e,st)+"";if(ut(e))return Pc?Pc.call(e):"";var t=e+"";return t=="0"&&1/e==-Et?"-0":t}function dn(e,t,r){var s=-1,l=Pi,h=e.length,v=!0,m=[],S=m;if(r)v=!1,l=Vo;else if(h>=u){var F=t?null:mb(e);if(F)return Mi(F);v=!1,l=Dr,S=new Cn}else S=t?[]:m;e:for(;++s<h;){var M=e[s],D=t?t(M):M;if(M=r||M!==0?M:0,v&&D===D){for(var z=S.length;z--;)if(S[z]===D)continue e;t&&S.push(D),m.push(M)}else l(S,D,r)||(S!==m&&S.push(D),m.push(M))}return m}function xs(e,t){t=hn(t,e);var r=-1,s=t.length;if(!s)return!0;for(var l=e==null||typeof e!="object"&&typeof e!="function";++r<s;){var h=t[r];if(typeof h=="string"){if(h==="__proto__"&&!ve.call(e,"__proto__"))return!1;if(h==="constructor"&&r+1<s&&typeof t[r+1]=="string"&&t[r+1]==="prototype"){if(l&&r===0)continue;return!1}}}var v=Od(e,t);return v==null||delete v[Mt(yt(t))]}function td(e,t,r,s){return Gr(e,t,r(Ln(e,t)),s)}function ea(e,t,r,s){for(var l=e.length,h=s?l:-1;(s?h--:++h<l)&&t(e[h],h,e););return r?mt(e,s?0:h,s?h+1:l):mt(e,s?h+1:0,s?l:h)}function nd(e,t){var r=e;return r instanceof ue&&(r=r.value()),Zo(t,function(s,l){return l.func.apply(l.thisArg,un([s],l.args))},r)}function Es(e,t,r){var s=e.length;if(s<2)return s?dn(e[0]):[];for(var l=-1,h=I(s);++l<s;)for(var v=e[l],m=-1;++m<s;)m!=l&&(h[l]=Hr(h[l]||v,e[m],t,r));return dn(De(h,1),t,r)}function rd(e,t,r){for(var s=-1,l=e.length,h=t.length,v={};++s<l;){var m=s<h?t[s]:n;r(v,e[s],m)}return v}function As(e){return Ae(e)?e:[]}function Ts(e){return typeof e=="function"?e:et}function hn(e,t){return te(e)?e:ks(e,t)?[e]:Pd(ge(e))}var sb=oe;function pn(e,t,r){var s=e.length;return r=r===n?s:r,!t&&r>=s?e:mt(e,t,r)}var id=Yy||function(e){return ke.clearTimeout(e)};function ad(e,t){if(t)return e.slice();var r=e.length,s=Tc?Tc(r):new e.constructor(r);return e.copy(s),s}function Is(e){var t=new e.constructor(e.byteLength);return new $i(t).set(new $i(e)),t}function ub(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function fb(e){var t=new e.constructor(e.source,Ul.exec(e));return t.lastIndex=e.lastIndex,t}function lb(e){return zr?me(zr.call(e)):{}}function od(e,t){var r=t?Is(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function sd(e,t){if(e!==t){var r=e!==n,s=e===null,l=e===e,h=ut(e),v=t!==n,m=t===null,S=t===t,F=ut(t);if(!m&&!F&&!h&&e>t||h&&v&&S&&!m&&!F||s&&v&&S||!r&&S||!l)return 1;if(!s&&!h&&!F&&e<t||F&&r&&l&&!s&&!h||m&&r&&l||!v&&l||!S)return-1}return 0}function cb(e,t,r){for(var s=-1,l=e.criteria,h=t.criteria,v=l.length,m=r.length;++s<v;){var S=sd(l[s],h[s]);if(S){if(s>=m)return S;var F=r[s];return S*(F=="desc"?-1:1)}}return e.index-t.index}function ud(e,t,r,s){for(var l=-1,h=e.length,v=r.length,m=-1,S=t.length,F=Le(h-v,0),M=I(S+F),D=!s;++m<S;)M[m]=t[m];for(;++l<v;)(D||l<h)&&(M[r[l]]=e[l]);for(;F--;)M[m++]=e[l++];return M}function fd(e,t,r,s){for(var l=-1,h=e.length,v=-1,m=r.length,S=-1,F=t.length,M=Le(h-m,0),D=I(M+F),z=!s;++l<M;)D[l]=e[l];for(var j=l;++S<F;)D[j+S]=t[S];for(;++v<m;)(z||l<h)&&(D[j+r[v]]=e[l++]);return D}function Ve(e,t){var r=-1,s=e.length;for(t||(t=I(s));++r<s;)t[r]=e[r];return t}function Ft(e,t,r,s){var l=!r;r||(r={});for(var h=-1,v=t.length;++h<v;){var m=t[h],S=s?s(r[m],e[m],m,r,e):n;S===n&&(S=e[m]),l?Gt(r,m,S):Ur(r,m,S)}return r}function db(e,t){return Ft(e,Ms(e),t)}function hb(e,t){return Ft(e,Sd(e),t)}function ta(e,t){return function(r,s){var l=te(r)?yy:k1,h=t?t():{};return l(r,e,Y(s,2),h)}}function ar(e){return oe(function(t,r){var s=-1,l=r.length,h=l>1?r[l-1]:n,v=l>2?r[2]:n;for(h=e.length>3&&typeof h=="function"?(l--,h):n,v&&je(r[0],r[1],v)&&(h=l<3?n:h,l=1),t=me(t);++s<l;){var m=r[s];m&&e(t,m,s,h)}return t})}function ld(e,t){return function(r,s){if(r==null)return r;if(!Ze(r))return e(r,s);for(var l=r.length,h=t?l:-1,v=me(r);(t?h--:++h<l)&&s(v[h],h,v)!==!1;);return r}}function cd(e){return function(t,r,s){for(var l=-1,h=me(t),v=s(t),m=v.length;m--;){var S=v[e?m:++l];if(r(h[S],S,h)===!1)break}return t}}function pb(e,t,r){var s=t&T,l=Jr(e);function h(){var v=this&&this!==ke&&this instanceof h?l:e;return v.apply(s?r:this,arguments)}return h}function dd(e){return function(t){t=ge(t);var r=Zn(t)?Tt(t):n,s=r?r[0]:t.charAt(0),l=r?pn(r,1).join(""):t.slice(1);return s[e]()+l}}function or(e){return function(t){return Zo(lh(fh(t).replace(iy,"")),e,"")}}function Jr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=ir(e.prototype),s=e.apply(r,t);return Se(s)?s:r}}function vb(e,t,r){var s=Jr(e);function l(){for(var h=arguments.length,v=I(h),m=h,S=sr(l);m--;)v[m]=arguments[m];var F=h<3&&v[0]!==S&&v[h-1]!==S?[]:fn(v,S);if(h-=F.length,h<r)return md(e,t,na,l.placeholder,n,v,F,n,n,r-h);var M=this&&this!==ke&&this instanceof l?s:e;return at(M,this,v)}return l}function hd(e){return function(t,r,s){var l=me(t);if(!Ze(t)){var h=Y(r,3);t=Fe(t),r=function(m){return h(l[m],m,l)}}var v=e(t,r,s);return v>-1?l[h?t[v]:v]:n}}function pd(e){return Yt(function(t){var r=t.length,s=r,l=vt.prototype.thru;for(e&&t.reverse();s--;){var h=t[s];if(typeof h!="function")throw new pt(c);if(l&&!v&&oa(h)=="wrapper")var v=new vt([],!0)}for(s=v?s:r;++s<r;){h=t[s];var m=oa(h),S=m=="wrapper"?Ps(h):n;S&&Ds(S[0])&&S[1]==(C|U|R|P)&&!S[4].length&&S[9]==1?v=v[oa(S[0])].apply(v,S[3]):v=h.length==1&&Ds(h)?v[m]():v.thru(h)}return function(){var F=arguments,M=F[0];if(v&&F.length==1&&te(M))return v.plant(M).value();for(var D=0,z=r?t[D].apply(this,F):M;++D<r;)z=t[D].call(this,z);return z}})}function na(e,t,r,s,l,h,v,m,S,F){var M=t&C,D=t&T,z=t&L,j=t&(U|Z),X=t&q,ae=z?n:Jr(e);function V(){for(var se=arguments.length,le=I(se),ft=se;ft--;)le[ft]=arguments[ft];if(j)var Ge=sr(V),lt=Iy(le,Ge);if(s&&(le=ud(le,s,l,j)),h&&(le=fd(le,h,v,j)),se-=lt,j&&se<F){var Te=fn(le,Ge);return md(e,t,na,V.placeholder,r,le,Te,m,S,F-se)}var Ct=D?r:this,Zt=z?Ct[e]:e;return se=le.length,m?le=kb(le,m):X&&se>1&&le.reverse(),M&&S<se&&(le.length=S),this&&this!==ke&&this instanceof V&&(Zt=ae||Jr(Zt)),Zt.apply(Ct,le)}return V}function vd(e,t){return function(r,s){return H1(r,e,t(s),{})}}function ra(e,t){return function(r,s){var l;if(r===n&&s===n)return t;if(r!==n&&(l=r),s!==n){if(l===n)return s;typeof r=="string"||typeof s=="string"?(r=st(r),s=st(s)):(r=ed(r),s=ed(s)),l=e(r,s)}return l}}function Os(e){return Yt(function(t){return t=we(t,ot(Y())),oe(function(r){var s=this;return e(t,function(l){return at(l,s,r)})})})}function ia(e,t){t=t===n?" ":st(t);var r=t.length;if(r<2)return r?ws(t,e):t;var s=ws(t,qi(e/Qn(t)));return Zn(t)?pn(Tt(s),0,e).join(""):s.slice(0,e)}function gb(e,t,r,s){var l=t&T,h=Jr(e);function v(){for(var m=-1,S=arguments.length,F=-1,M=s.length,D=I(M+S),z=this&&this!==ke&&this instanceof v?h:e;++F<M;)D[F]=s[F];for(;S--;)D[F++]=arguments[++m];return at(z,l?r:this,D)}return v}function gd(e){return function(t,r,s){return s&&typeof s!="number"&&je(t,r,s)&&(r=s=n),t=Vt(t),r===n?(r=t,t=0):r=Vt(r),s=s===n?t<r?1:-1:Vt(s),tb(t,r,s,e)}}function aa(e){return function(t,r){return typeof t=="string"&&typeof r=="string"||(t=bt(t),r=bt(r)),e(t,r)}}function md(e,t,r,s,l,h,v,m,S,F){var M=t&U,D=M?v:n,z=M?n:v,j=M?h:n,X=M?n:h;t|=M?R:de,t&=~(M?de:R),t&W||(t&=-4);var ae=[e,t,l,j,D,X,z,m,S,F],V=r.apply(n,ae);return Ds(e)&&Cd(V,ae),V.placeholder=s,Nd(V,e,t)}function Cs(e){var t=Ne[e];return function(r,s){if(r=bt(r),s=s==null?0:Re(re(s),292),s&&Nc(r)){var l=(ge(r)+"e").split("e"),h=t(l[0]+"e"+(+l[1]+s));return l=(ge(h)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return t(r)}}var mb=nr&&1/Mi(new nr([,-0]))[1]==Et?function(e){return new nr(e)}:Vs;function yd(e){return function(t){var r=$e(t);return r==Ie?as(t):r==Ke?My(t):Ty(t,e(t))}}function Jt(e,t,r,s,l,h,v,m){var S=t&L;if(!S&&typeof e!="function")throw new pt(c);var F=s?s.length:0;if(F||(t&=-97,s=l=n),v=v===n?v:Le(re(v),0),m=m===n?m:re(m),F-=l?l.length:0,t&de){var M=s,D=l;s=l=n}var z=S?n:Ps(e),j=[e,t,r,s,l,M,D,h,v,m];if(z&&Pb(j,z),e=j[0],t=j[1],r=j[2],s=j[3],l=j[4],m=j[9]=j[9]===n?S?0:e.length:Le(j[9]-F,0),!m&&t&(U|Z)&&(t&=-25),!t||t==T)var X=pb(e,t,r);else t==U||t==Z?X=vb(e,t,m):(t==R||t==(T|R))&&!l.length?X=gb(e,t,r,s):X=na.apply(n,j);var ae=z?Zc:Cd;return Nd(ae(X,j),e,t)}function bd(e,t,r,s){return e===n||Ot(e,tr[r])&&!ve.call(s,r)?t:e}function _d(e,t,r,s,l,h){return Se(e)&&Se(t)&&(h.set(t,e),Zi(e,t,n,_d,h),h.delete(t)),e}function yb(e){return Xr(e)?n:e}function wd(e,t,r,s,l,h){var v=r&E,m=e.length,S=t.length;if(m!=S&&!(v&&S>m))return!1;var F=h.get(e),M=h.get(t);if(F&&M)return F==t&&M==e;var D=-1,z=!0,j=r&A?new Cn:n;for(h.set(e,t),h.set(t,e);++D<m;){var X=e[D],ae=t[D];if(s)var V=v?s(ae,X,D,t,e,h):s(X,ae,D,e,t,h);if(V!==n){if(V)continue;z=!1;break}if(j){if(!Qo(t,function(se,le){if(!Dr(j,le)&&(X===se||l(X,se,r,s,h)))return j.push(le)})){z=!1;break}}else if(!(X===ae||l(X,ae,r,s,h))){z=!1;break}}return h.delete(e),h.delete(t),z}function bb(e,t,r,s,l,h,v){switch(r){case He:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Sn:return!(e.byteLength!=t.byteLength||!h(new $i(e),new $i(t)));case _n:case rn:case an:return Ot(+e,+t);case Hn:return e.name==t.name&&e.message==t.message;case Oe:case on:return e==t+"";case Ie:var m=as;case Ke:var S=s&E;if(m||(m=Mi),e.size!=t.size&&!S)return!1;var F=v.get(e);if(F)return F==t;s|=A,v.set(e,t);var M=wd(m(e),m(t),s,l,h,v);return v.delete(e),M;case Be:if(zr)return zr.call(e)==zr.call(t)}return!1}function _b(e,t,r,s,l,h){var v=r&E,m=Ns(e),S=m.length,F=Ns(t),M=F.length;if(S!=M&&!v)return!1;for(var D=S;D--;){var z=m[D];if(!(v?z in t:ve.call(t,z)))return!1}var j=h.get(e),X=h.get(t);if(j&&X)return j==t&&X==e;var ae=!0;h.set(e,t),h.set(t,e);for(var V=v;++D<S;){z=m[D];var se=e[z],le=t[z];if(s)var ft=v?s(le,se,z,t,e,h):s(se,le,z,e,t,h);if(!(ft===n?se===le||l(se,le,r,s,h):ft)){ae=!1;break}V||(V=z=="constructor")}if(ae&&!V){var Ge=e.constructor,lt=t.constructor;Ge!=lt&&"constructor"in e&&"constructor"in t&&!(typeof Ge=="function"&&Ge instanceof Ge&&typeof lt=="function"&< instanceof lt)&&(ae=!1)}return h.delete(e),h.delete(t),ae}function Yt(e){return Bs(Id(e,n,Dd),e+"")}function Ns(e){return zc(e,Fe,Ms)}function Ls(e){return zc(e,Qe,Sd)}var Ps=Gi?function(e){return Gi.get(e)}:Vs;function oa(e){for(var t=e.name+"",r=rr[t],s=ve.call(rr,t)?r.length:0;s--;){var l=r[s],h=l.func;if(h==null||h==e)return l.name}return t}function sr(e){var t=ve.call(d,"placeholder")?d:e;return t.placeholder}function Y(){var e=d.iteratee||Ks;return e=e===Ks?qc:e,arguments.length?e(arguments[0],arguments[1]):e}function sa(e,t){var r=e.__data__;return Ob(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Fs(e){for(var t=Fe(e),r=t.length;r--;){var s=t[r],l=e[s];t[r]=[s,l,Ad(l)]}return t}function Pn(e,t){var r=Ly(e,t);return Hc(r)?r:n}function wb(e){var t=ve.call(e,In),r=e[In];try{e[In]=n;var s=!0}catch{}var l=Bi.call(e);return s&&(t?e[In]=r:delete e[In]),l}var Ms=ss?function(e){return e==null?[]:(e=me(e),sn(ss(e),function(t){return Oc.call(e,t)}))}:Zs,Sd=ss?function(e){for(var t=[];e;)un(t,Ms(e)),e=zi(e);return t}:Zs,$e=qe;(us&&$e(new us(new ArrayBuffer(1)))!=He||Br&&$e(new Br)!=Ie||fs&&$e(fs.resolve())!=Ue||nr&&$e(new nr)!=Ke||Rr&&$e(new Rr)!=wn)&&($e=function(e){var t=qe(e),r=t==rt?e.constructor:n,s=r?Fn(r):"";if(s)switch(s){case r1:return He;case i1:return Ie;case a1:return Ue;case o1:return Ke;case s1:return wn}return t});function Sb(e,t,r){for(var s=-1,l=r.length;++s<l;){var h=r[s],v=h.size;switch(h.type){case"drop":e+=v;break;case"dropRight":t-=v;break;case"take":t=Re(t,e+v);break;case"takeRight":e=Le(e,t-v);break}}return{start:e,end:t}}function xb(e){var t=e.match(Kn);return t?t[1].split(N0):[]}function xd(e,t,r){t=hn(t,e);for(var s=-1,l=t.length,h=!1;++s<l;){var v=Mt(t[s]);if(!(h=e!=null&&r(e,v)))break;e=e[v]}return h||++s!=l?h:(l=e==null?0:e.length,!!l&&pa(l)&&Kt(v,l)&&(te(e)||Mn(e)))}function Eb(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&ve.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Ed(e){return typeof e.constructor=="function"&&!Yr(e)?ir(zi(e)):{}}function Ab(e,t,r){var s=e.constructor;switch(t){case Sn:return Is(e);case _n:case rn:return new s(+e);case He:return ub(e,r);case Gn:case Or:case xn:case En:case Cr:case Nr:case Jn:case Lr:case Pr:return od(e,r);case Ie:return new s;case an:case on:return new s(e);case Oe:return fb(e);case Ke:return new s;case Be:return lb(e)}}function Tb(e,t){var r=t.length;if(!r)return e;var s=r-1;return t[s]=(r>1?"& ":"")+t[s],t=t.join(r>2?", ":" "),e.replace(kr,`{
|
|
1
|
+
(function(ce,M){typeof exports=="object"&&typeof module<"u"?M(exports,require("react"),require("inversify"),require("mobx"),require("inversify-react"),require("react/jsx-runtime"),require("react-dnd"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","inversify","mobx","inversify-react","react/jsx-runtime","react-dnd","react-dom"],M):(ce=typeof globalThis<"u"?globalThis:ce||self,M(ce.JustLayout={},ce.React,ce.inversify,ce.mobx,ce.inversifyReact,ce.jsxRuntime,ce.ReactDnd,ce.ReactDOM))})(this,(function(ce,M,Vr,lr,ph,z,Zr,cr){"use strict";function Qs(a){return JSON.stringify(ma(a))}function ma(a){return Array.isArray(a)?a.map(ma):a&&typeof a=="object"?Object.fromEntries(Object.entries(a).sort((i,n)=>i[0].localeCompare(n[0])).map(([i,n])=>[i,ma(n)])):a}const kt={JustLayoutService:Symbol.for("JustLayoutService"),JustLayoutStore:Symbol.for("JustLayoutStore"),JustLayoutStoreCacheMap:Symbol.for("JustLayoutStoreCacheMap"),JustLayoutFactory:Symbol.for("JustLayoutFactory")};var Qt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var dr={exports:{}};var vh=dr.exports,eu;function gh(){return eu||(eu=1,(function(a,i){(function(){var n,o="4.17.23",u=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",p="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",y=500,w="__lodash_placeholder__",_=1,O=2,E=4,x=1,A=2,T=1,k=2,W=4,R=8,Z=16,$=32,de=64,C=128,L=256,q=512,ne=30,J="...",ee=800,Y=16,We=1,Je=2,Ye=3,Et=1/0,ze=9007199254740991,ko=17976931348623157e292,At=NaN,nt=4294967295,xi=nt-1,Ei=nt>>>1,Ar=[["ary",C],["bind",T],["bindKey",k],["curry",R],["curryRight",Z],["flip",q],["partial",$],["partialRight",de],["rearg",L]],Ut="[object Arguments]",bn="[object Array]",Tr="[object AsyncFunction]",_n="[object Boolean]",rn="[object Date]",Ir="[object DOMException]",Hn="[object Error]",qn="[object Function]",Ai="[object GeneratorFunction]",Ie="[object Map]",an="[object Number]",Ti="[object Null]",rt="[object Object]",Ue="[object Promise]",jn="[object Proxy]",Oe="[object RegExp]",Ke="[object Set]",on="[object String]",Be="[object Symbol]",Do="[object Undefined]",wn="[object WeakMap]",Wo="[object WeakSet]",Sn="[object ArrayBuffer]",He="[object DataView]",Gn="[object Float32Array]",Or="[object Float64Array]",xn="[object Int8Array]",En="[object Int16Array]",Cr="[object Int32Array]",Nr="[object Uint8Array]",Jn="[object Uint8ClampedArray]",Lr="[object Uint16Array]",Pr="[object Uint32Array]",Ii=/\b__p \+= '';/g,fe=/\b(__p \+=) '' \+/g,Pe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xe=/&(?:amp|lt|gt|quot|#39);/g,it=/[&<>"']/g,Ee=RegExp(Xe.source),Yn=RegExp(it.source),Bo=/<%-([\s\S]+?)%>/g,Ro=/<%([\s\S]+?)%>/g,An=/<%=([\s\S]+?)%>/g,$o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zo=/^\w*$/,Oi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fr=/[\\^$.*+?()[\]{}|]/g,Uo=RegExp(Fr.source),Ht=/^\s+/,Mr=/\s/,kr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kn=/\{\n\/\* \[wrapped with (.+)\] \*/,N0=/,? & /,L0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,P0=/[()=,{}\[\]\/\s]/,F0=/\\(\\)?/g,M0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ul=/\w*$/,k0=/^[-+]0x[0-9a-f]+$/i,D0=/^0b[01]+$/i,W0=/^\[object .+?Constructor\]$/,B0=/^0o[0-7]+$/i,R0=/^(?:0|[1-9]\d*)$/,$0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ci=/($^)/,z0=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",U0="\\u0300-\\u036f",H0="\\ufe20-\\ufe2f",q0="\\u20d0-\\u20ff",Hl=U0+H0+q0,ql="\\u2700-\\u27bf",jl="a-z\\xdf-\\xf6\\xf8-\\xff",j0="\\xac\\xb1\\xd7\\xf7",G0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",J0="\\u2000-\\u206f",Y0=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gl="A-Z\\xc0-\\xd6\\xd8-\\xde",Jl="\\ufe0e\\ufe0f",Yl=j0+G0+J0+Y0,Ho="['’]",K0="["+Ni+"]",Kl="["+Yl+"]",Li="["+Hl+"]",Xl="\\d+",X0="["+ql+"]",Vl="["+jl+"]",Zl="[^"+Ni+Yl+Xl+ql+jl+Gl+"]",qo="\\ud83c[\\udffb-\\udfff]",V0="(?:"+Li+"|"+qo+")",Ql="[^"+Ni+"]",jo="(?:\\ud83c[\\udde6-\\uddff]){2}",Go="[\\ud800-\\udbff][\\udc00-\\udfff]",Xn="["+Gl+"]",ec="\\u200d",tc="(?:"+Vl+"|"+Zl+")",Z0="(?:"+Xn+"|"+Zl+")",nc="(?:"+Ho+"(?:d|ll|m|re|s|t|ve))?",rc="(?:"+Ho+"(?:D|LL|M|RE|S|T|VE))?",ic=V0+"?",ac="["+Jl+"]?",Q0="(?:"+ec+"(?:"+[Ql,jo,Go].join("|")+")"+ac+ic+")*",ey="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ty="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",oc=ac+ic+Q0,ny="(?:"+[X0,jo,Go].join("|")+")"+oc,ry="(?:"+[Ql+Li+"?",Li,jo,Go,K0].join("|")+")",iy=RegExp(Ho,"g"),ay=RegExp(Li,"g"),Jo=RegExp(qo+"(?="+qo+")|"+ry+oc,"g"),oy=RegExp([Xn+"?"+Vl+"+"+nc+"(?="+[Kl,Xn,"$"].join("|")+")",Z0+"+"+rc+"(?="+[Kl,Xn+tc,"$"].join("|")+")",Xn+"?"+tc+"+"+nc,Xn+"+"+rc,ty,ey,Xl,ny].join("|"),"g"),sy=RegExp("["+ec+Ni+Hl+Jl+"]"),uy=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fy=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ly=-1,_e={};_e[Gn]=_e[Or]=_e[xn]=_e[En]=_e[Cr]=_e[Nr]=_e[Jn]=_e[Lr]=_e[Pr]=!0,_e[Ut]=_e[bn]=_e[Sn]=_e[_n]=_e[He]=_e[rn]=_e[Hn]=_e[qn]=_e[Ie]=_e[an]=_e[rt]=_e[Oe]=_e[Ke]=_e[on]=_e[wn]=!1;var ye={};ye[Ut]=ye[bn]=ye[Sn]=ye[He]=ye[_n]=ye[rn]=ye[Gn]=ye[Or]=ye[xn]=ye[En]=ye[Cr]=ye[Ie]=ye[an]=ye[rt]=ye[Oe]=ye[Ke]=ye[on]=ye[Be]=ye[Nr]=ye[Jn]=ye[Lr]=ye[Pr]=!0,ye[Hn]=ye[qn]=ye[wn]=!1;var cy={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},dy={"&":"&","<":"<",">":">",'"':""","'":"'"},hy={"&":"&","<":"<",">":">",""":'"',"'":"'"},py={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vy=parseFloat,gy=parseInt,sc=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt,my=typeof self=="object"&&self&&self.Object===Object&&self,ke=sc||my||Function("return this")(),Yo=i&&!i.nodeType&&i,Tn=Yo&&!0&&a&&!a.nodeType&&a,uc=Tn&&Tn.exports===Yo,Ko=uc&&sc.process,dt=(function(){try{var b=Tn&&Tn.require&&Tn.require("util").types;return b||Ko&&Ko.binding&&Ko.binding("util")}catch{}})(),fc=dt&&dt.isArrayBuffer,lc=dt&&dt.isDate,cc=dt&&dt.isMap,dc=dt&&dt.isRegExp,hc=dt&&dt.isSet,pc=dt&&dt.isTypedArray;function at(b,N,I){switch(I.length){case 0:return b.call(N);case 1:return b.call(N,I[0]);case 2:return b.call(N,I[0],I[1]);case 3:return b.call(N,I[0],I[1],I[2])}return b.apply(N,I)}function yy(b,N,I,H){for(var Q=-1,pe=b==null?0:b.length;++Q<pe;){var Ne=b[Q];N(H,Ne,I(Ne),b)}return H}function ht(b,N){for(var I=-1,H=b==null?0:b.length;++I<H&&N(b[I],I,b)!==!1;);return b}function by(b,N){for(var I=b==null?0:b.length;I--&&N(b[I],I,b)!==!1;);return b}function vc(b,N){for(var I=-1,H=b==null?0:b.length;++I<H;)if(!N(b[I],I,b))return!1;return!0}function sn(b,N){for(var I=-1,H=b==null?0:b.length,Q=0,pe=[];++I<H;){var Ne=b[I];N(Ne,I,b)&&(pe[Q++]=Ne)}return pe}function Pi(b,N){var I=b==null?0:b.length;return!!I&&Vn(b,N,0)>-1}function Xo(b,N,I){for(var H=-1,Q=b==null?0:b.length;++H<Q;)if(I(N,b[H]))return!0;return!1}function we(b,N){for(var I=-1,H=b==null?0:b.length,Q=Array(H);++I<H;)Q[I]=N(b[I],I,b);return Q}function un(b,N){for(var I=-1,H=N.length,Q=b.length;++I<H;)b[Q+I]=N[I];return b}function Vo(b,N,I,H){var Q=-1,pe=b==null?0:b.length;for(H&&pe&&(I=b[++Q]);++Q<pe;)I=N(I,b[Q],Q,b);return I}function _y(b,N,I,H){var Q=b==null?0:b.length;for(H&&Q&&(I=b[--Q]);Q--;)I=N(I,b[Q],Q,b);return I}function Zo(b,N){for(var I=-1,H=b==null?0:b.length;++I<H;)if(N(b[I],I,b))return!0;return!1}var wy=Qo("length");function Sy(b){return b.split("")}function xy(b){return b.match(L0)||[]}function gc(b,N,I){var H;return I(b,function(Q,pe,Ne){if(N(Q,pe,Ne))return H=pe,!1}),H}function Fi(b,N,I,H){for(var Q=b.length,pe=I+(H?1:-1);H?pe--:++pe<Q;)if(N(b[pe],pe,b))return pe;return-1}function Vn(b,N,I){return N===N?ky(b,N,I):Fi(b,mc,I)}function Ey(b,N,I,H){for(var Q=I-1,pe=b.length;++Q<pe;)if(H(b[Q],N))return Q;return-1}function mc(b){return b!==b}function yc(b,N){var I=b==null?0:b.length;return I?ts(b,N)/I:At}function Qo(b){return function(N){return N==null?n:N[b]}}function es(b){return function(N){return b==null?n:b[N]}}function bc(b,N,I,H,Q){return Q(b,function(pe,Ne,me){I=H?(H=!1,pe):N(I,pe,Ne,me)}),I}function Ay(b,N){var I=b.length;for(b.sort(N);I--;)b[I]=b[I].value;return b}function ts(b,N){for(var I,H=-1,Q=b.length;++H<Q;){var pe=N(b[H]);pe!==n&&(I=I===n?pe:I+pe)}return I}function ns(b,N){for(var I=-1,H=Array(b);++I<b;)H[I]=N(I);return H}function Ty(b,N){return we(N,function(I){return[I,b[I]]})}function _c(b){return b&&b.slice(0,Ec(b)+1).replace(Ht,"")}function ot(b){return function(N){return b(N)}}function rs(b,N){return we(N,function(I){return b[I]})}function Dr(b,N){return b.has(N)}function wc(b,N){for(var I=-1,H=b.length;++I<H&&Vn(N,b[I],0)>-1;);return I}function Sc(b,N){for(var I=b.length;I--&&Vn(N,b[I],0)>-1;);return I}function Iy(b,N){for(var I=b.length,H=0;I--;)b[I]===N&&++H;return H}var Oy=es(cy),Cy=es(dy);function Ny(b){return"\\"+py[b]}function Ly(b,N){return b==null?n:b[N]}function Zn(b){return sy.test(b)}function Py(b){return uy.test(b)}function Fy(b){for(var N,I=[];!(N=b.next()).done;)I.push(N.value);return I}function is(b){var N=-1,I=Array(b.size);return b.forEach(function(H,Q){I[++N]=[Q,H]}),I}function xc(b,N){return function(I){return b(N(I))}}function fn(b,N){for(var I=-1,H=b.length,Q=0,pe=[];++I<H;){var Ne=b[I];(Ne===N||Ne===w)&&(b[I]=w,pe[Q++]=I)}return pe}function Mi(b){var N=-1,I=Array(b.size);return b.forEach(function(H){I[++N]=H}),I}function My(b){var N=-1,I=Array(b.size);return b.forEach(function(H){I[++N]=[H,H]}),I}function ky(b,N,I){for(var H=I-1,Q=b.length;++H<Q;)if(b[H]===N)return H;return-1}function Dy(b,N,I){for(var H=I+1;H--;)if(b[H]===N)return H;return H}function Qn(b){return Zn(b)?By(b):wy(b)}function Tt(b){return Zn(b)?Ry(b):Sy(b)}function Ec(b){for(var N=b.length;N--&&Mr.test(b.charAt(N)););return N}var Wy=es(hy);function By(b){for(var N=Jo.lastIndex=0;Jo.test(b);)++N;return N}function Ry(b){return b.match(Jo)||[]}function $y(b){return b.match(oy)||[]}var zy=(function b(N){N=N==null?ke:er.defaults(ke.Object(),N,er.pick(ke,fy));var I=N.Array,H=N.Date,Q=N.Error,pe=N.Function,Ne=N.Math,me=N.Object,as=N.RegExp,Uy=N.String,pt=N.TypeError,ki=I.prototype,Hy=pe.prototype,tr=me.prototype,Di=N["__core-js_shared__"],Wi=Hy.toString,ve=tr.hasOwnProperty,qy=0,Ac=(function(){var e=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),Bi=tr.toString,jy=Wi.call(me),Gy=ke._,Jy=as("^"+Wi.call(ve).replace(Fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ri=uc?N.Buffer:n,ln=N.Symbol,$i=N.Uint8Array,Tc=Ri?Ri.allocUnsafe:n,zi=xc(me.getPrototypeOf,me),Ic=me.create,Oc=tr.propertyIsEnumerable,Ui=ki.splice,Cc=ln?ln.isConcatSpreadable:n,Wr=ln?ln.iterator:n,In=ln?ln.toStringTag:n,Hi=(function(){try{var e=Pn(me,"defineProperty");return e({},"",{}),e}catch{}})(),Yy=N.clearTimeout!==ke.clearTimeout&&N.clearTimeout,Ky=H&&H.now!==ke.Date.now&&H.now,Xy=N.setTimeout!==ke.setTimeout&&N.setTimeout,qi=Ne.ceil,ji=Ne.floor,os=me.getOwnPropertySymbols,Vy=Ri?Ri.isBuffer:n,Nc=N.isFinite,Zy=ki.join,Qy=xc(me.keys,me),Le=Ne.max,Re=Ne.min,e1=H.now,t1=N.parseInt,Lc=Ne.random,n1=ki.reverse,ss=Pn(N,"DataView"),Br=Pn(N,"Map"),us=Pn(N,"Promise"),nr=Pn(N,"Set"),Rr=Pn(N,"WeakMap"),$r=Pn(me,"create"),Gi=Rr&&new Rr,rr={},r1=Fn(ss),i1=Fn(Br),a1=Fn(us),o1=Fn(nr),s1=Fn(Rr),Ji=ln?ln.prototype:n,zr=Ji?Ji.valueOf:n,Pc=Ji?Ji.toString:n;function d(e){if(xe(e)&&!te(e)&&!(e instanceof ue)){if(e instanceof vt)return e;if(ve.call(e,"__wrapped__"))return Fd(e)}return new vt(e)}var ir=(function(){function e(){}return function(t){if(!Se(t))return{};if(Ic)return Ic(t);e.prototype=t;var r=new e;return e.prototype=n,r}})();function Yi(){}function vt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}d.templateSettings={escape:Bo,evaluate:Ro,interpolate:An,variable:"",imports:{_:d}},d.prototype=Yi.prototype,d.prototype.constructor=d,vt.prototype=ir(Yi.prototype),vt.prototype.constructor=vt;function ue(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=nt,this.__views__=[]}function u1(){var e=new ue(this.__wrapped__);return e.__actions__=Ve(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ve(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ve(this.__views__),e}function f1(){if(this.__filtered__){var e=new ue(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function l1(){var e=this.__wrapped__.value(),t=this.__dir__,r=te(e),s=t<0,l=r?e.length:0,h=Sb(0,l,this.__views__),v=h.start,m=h.end,S=m-v,P=s?m:v-1,F=this.__iteratees__,D=F.length,U=0,j=Re(S,this.__takeCount__);if(!r||!s&&l==S&&j==S)return nd(e,this.__actions__);var X=[];e:for(;S--&&U<j;){P+=t;for(var ae=-1,V=e[P];++ae<D;){var se=F[ae],le=se.iteratee,ft=se.type,Ge=le(V);if(ft==Je)V=Ge;else if(!Ge){if(ft==We)continue e;break e}}X[U++]=V}return X}ue.prototype=ir(Yi.prototype),ue.prototype.constructor=ue;function On(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function c1(){this.__data__=$r?$r(null):{},this.size=0}function d1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function h1(e){var t=this.__data__;if($r){var r=t[e];return r===g?n:r}return ve.call(t,e)?t[e]:n}function p1(e){var t=this.__data__;return $r?t[e]!==n:ve.call(t,e)}function v1(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$r&&t===n?g:t,this}On.prototype.clear=c1,On.prototype.delete=d1,On.prototype.get=h1,On.prototype.has=p1,On.prototype.set=v1;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function g1(){this.__data__=[],this.size=0}function m1(e){var t=this.__data__,r=Ki(t,e);if(r<0)return!1;var s=t.length-1;return r==s?t.pop():Ui.call(t,r,1),--this.size,!0}function y1(e){var t=this.__data__,r=Ki(t,e);return r<0?n:t[r][1]}function b1(e){return Ki(this.__data__,e)>-1}function _1(e,t){var r=this.__data__,s=Ki(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}qt.prototype.clear=g1,qt.prototype.delete=m1,qt.prototype.get=y1,qt.prototype.has=b1,qt.prototype.set=_1;function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function w1(){this.size=0,this.__data__={hash:new On,map:new(Br||qt),string:new On}}function S1(e){var t=sa(this,e).delete(e);return this.size-=t?1:0,t}function x1(e){return sa(this,e).get(e)}function E1(e){return sa(this,e).has(e)}function A1(e,t){var r=sa(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}jt.prototype.clear=w1,jt.prototype.delete=S1,jt.prototype.get=x1,jt.prototype.has=E1,jt.prototype.set=A1;function Cn(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new jt;++t<r;)this.add(e[t])}function T1(e){return this.__data__.set(e,g),this}function I1(e){return this.__data__.has(e)}Cn.prototype.add=Cn.prototype.push=T1,Cn.prototype.has=I1;function It(e){var t=this.__data__=new qt(e);this.size=t.size}function O1(){this.__data__=new qt,this.size=0}function C1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function N1(e){return this.__data__.get(e)}function L1(e){return this.__data__.has(e)}function P1(e,t){var r=this.__data__;if(r instanceof qt){var s=r.__data__;if(!Br||s.length<u-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new jt(s)}return r.set(e,t),this.size=r.size,this}It.prototype.clear=O1,It.prototype.delete=C1,It.prototype.get=N1,It.prototype.has=L1,It.prototype.set=P1;function Fc(e,t){var r=te(e),s=!r&&Mn(e),l=!r&&!s&&vn(e),h=!r&&!s&&!l&&ur(e),v=r||s||l||h,m=v?ns(e.length,Uy):[],S=m.length;for(var P in e)(t||ve.call(e,P))&&!(v&&(P=="length"||l&&(P=="offset"||P=="parent")||h&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||Kt(P,S)))&&m.push(P);return m}function Mc(e){var t=e.length;return t?e[bs(0,t-1)]:n}function F1(e,t){return ua(Ve(e),Nn(t,0,e.length))}function M1(e){return ua(Ve(e))}function fs(e,t,r){(r!==n&&!Ot(e[t],r)||r===n&&!(t in e))&&Gt(e,t,r)}function Ur(e,t,r){var s=e[t];(!(ve.call(e,t)&&Ot(s,r))||r===n&&!(t in e))&&Gt(e,t,r)}function Ki(e,t){for(var r=e.length;r--;)if(Ot(e[r][0],t))return r;return-1}function k1(e,t,r,s){return cn(e,function(l,h,v){t(s,l,r(l),v)}),s}function kc(e,t){return e&&Ft(t,Fe(t),e)}function D1(e,t){return e&&Ft(t,Qe(t),e)}function Gt(e,t,r){t=="__proto__"&&Hi?Hi(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function ls(e,t){for(var r=-1,s=t.length,l=I(s),h=e==null;++r<s;)l[r]=h?n:qs(e,t[r]);return l}function Nn(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function gt(e,t,r,s,l,h){var v,m=t&_,S=t&O,P=t&E;if(r&&(v=l?r(e,s,l,h):r(e)),v!==n)return v;if(!Se(e))return e;var F=te(e);if(F){if(v=Eb(e),!m)return Ve(e,v)}else{var D=$e(e),U=D==qn||D==Ai;if(vn(e))return ad(e,m);if(D==rt||D==Ut||U&&!l){if(v=S||U?{}:Ed(e),!m)return S?hb(e,D1(v,e)):db(e,kc(v,e))}else{if(!ye[D])return l?e:{};v=Ab(e,D,m)}}h||(h=new It);var j=h.get(e);if(j)return j;h.set(e,v),Qd(e)?e.forEach(function(V){v.add(gt(V,t,r,V,e,h))}):Vd(e)&&e.forEach(function(V,se){v.set(se,gt(V,t,r,se,e,h))});var X=P?S?Ns:Cs:S?Qe:Fe,ae=F?n:X(e);return ht(ae||e,function(V,se){ae&&(se=V,V=e[se]),Ur(v,se,gt(V,t,r,se,e,h))}),v}function W1(e){var t=Fe(e);return function(r){return Dc(r,e,t)}}function Dc(e,t,r){var s=r.length;if(e==null)return!s;for(e=me(e);s--;){var l=r[s],h=t[l],v=e[l];if(v===n&&!(l in e)||!h(v))return!1}return!0}function Wc(e,t,r){if(typeof e!="function")throw new pt(c);return Kr(function(){e.apply(n,r)},t)}function Hr(e,t,r,s){var l=-1,h=Pi,v=!0,m=e.length,S=[],P=t.length;if(!m)return S;r&&(t=we(t,ot(r))),s?(h=Xo,v=!1):t.length>=u&&(h=Dr,v=!1,t=new Cn(t));e:for(;++l<m;){var F=e[l],D=r==null?F:r(F);if(F=s||F!==0?F:0,v&&D===D){for(var U=P;U--;)if(t[U]===D)continue e;S.push(F)}else h(t,D,s)||S.push(F)}return S}var cn=ld(Pt),Bc=ld(ds,!0);function B1(e,t){var r=!0;return cn(e,function(s,l,h){return r=!!t(s,l,h),r}),r}function Xi(e,t,r){for(var s=-1,l=e.length;++s<l;){var h=e[s],v=t(h);if(v!=null&&(m===n?v===v&&!ut(v):r(v,m)))var m=v,S=h}return S}function R1(e,t,r,s){var l=e.length;for(r=ie(r),r<0&&(r=-r>l?0:l+r),s=s===n||s>l?l:ie(s),s<0&&(s+=l),s=r>s?0:th(s);r<s;)e[r++]=t;return e}function Rc(e,t){var r=[];return cn(e,function(s,l,h){t(s,l,h)&&r.push(s)}),r}function De(e,t,r,s,l){var h=-1,v=e.length;for(r||(r=Ib),l||(l=[]);++h<v;){var m=e[h];t>0&&r(m)?t>1?De(m,t-1,r,s,l):un(l,m):s||(l[l.length]=m)}return l}var cs=cd(),$c=cd(!0);function Pt(e,t){return e&&cs(e,t,Fe)}function ds(e,t){return e&&$c(e,t,Fe)}function Vi(e,t){return sn(t,function(r){return Xt(e[r])})}function Ln(e,t){t=hn(t,e);for(var r=0,s=t.length;e!=null&&r<s;)e=e[Mt(t[r++])];return r&&r==s?e:n}function zc(e,t,r){var s=t(e);return te(e)?s:un(s,r(e))}function qe(e){return e==null?e===n?Do:Ti:In&&In in me(e)?wb(e):Mb(e)}function hs(e,t){return e>t}function $1(e,t){return e!=null&&ve.call(e,t)}function z1(e,t){return e!=null&&t in me(e)}function U1(e,t,r){return e>=Re(t,r)&&e<Le(t,r)}function ps(e,t,r){for(var s=r?Xo:Pi,l=e[0].length,h=e.length,v=h,m=I(h),S=1/0,P=[];v--;){var F=e[v];v&&t&&(F=we(F,ot(t))),S=Re(F.length,S),m[v]=!r&&(t||l>=120&&F.length>=120)?new Cn(v&&F):n}F=e[0];var D=-1,U=m[0];e:for(;++D<l&&P.length<S;){var j=F[D],X=t?t(j):j;if(j=r||j!==0?j:0,!(U?Dr(U,X):s(P,X,r))){for(v=h;--v;){var ae=m[v];if(!(ae?Dr(ae,X):s(e[v],X,r)))continue e}U&&U.push(X),P.push(j)}}return P}function H1(e,t,r,s){return Pt(e,function(l,h,v){t(s,r(l),h,v)}),s}function qr(e,t,r){t=hn(t,e),e=Od(e,t);var s=e==null?e:e[Mt(yt(t))];return s==null?n:at(s,e,r)}function Uc(e){return xe(e)&&qe(e)==Ut}function q1(e){return xe(e)&&qe(e)==Sn}function j1(e){return xe(e)&&qe(e)==rn}function jr(e,t,r,s,l){return e===t?!0:e==null||t==null||!xe(e)&&!xe(t)?e!==e&&t!==t:G1(e,t,r,s,jr,l)}function G1(e,t,r,s,l,h){var v=te(e),m=te(t),S=v?bn:$e(e),P=m?bn:$e(t);S=S==Ut?rt:S,P=P==Ut?rt:P;var F=S==rt,D=P==rt,U=S==P;if(U&&vn(e)){if(!vn(t))return!1;v=!0,F=!1}if(U&&!F)return h||(h=new It),v||ur(e)?wd(e,t,r,s,l,h):bb(e,t,S,r,s,l,h);if(!(r&x)){var j=F&&ve.call(e,"__wrapped__"),X=D&&ve.call(t,"__wrapped__");if(j||X){var ae=j?e.value():e,V=X?t.value():t;return h||(h=new It),l(ae,V,r,s,h)}}return U?(h||(h=new It),_b(e,t,r,s,l,h)):!1}function J1(e){return xe(e)&&$e(e)==Ie}function vs(e,t,r,s){var l=r.length,h=l,v=!s;if(e==null)return!h;for(e=me(e);l--;){var m=r[l];if(v&&m[2]?m[1]!==e[m[0]]:!(m[0]in e))return!1}for(;++l<h;){m=r[l];var S=m[0],P=e[S],F=m[1];if(v&&m[2]){if(P===n&&!(S in e))return!1}else{var D=new It;if(s)var U=s(P,F,S,e,t,D);if(!(U===n?jr(F,P,x|A,s,D):U))return!1}}return!0}function Hc(e){if(!Se(e)||Cb(e))return!1;var t=Xt(e)?Jy:W0;return t.test(Fn(e))}function Y1(e){return xe(e)&&qe(e)==Oe}function K1(e){return xe(e)&&$e(e)==Ke}function X1(e){return xe(e)&&pa(e.length)&&!!_e[qe(e)]}function qc(e){return typeof e=="function"?e:e==null?et:typeof e=="object"?te(e)?Jc(e[0],e[1]):Gc(e):dh(e)}function gs(e){if(!Yr(e))return Qy(e);var t=[];for(var r in me(e))ve.call(e,r)&&r!="constructor"&&t.push(r);return t}function V1(e){if(!Se(e))return Fb(e);var t=Yr(e),r=[];for(var s in e)s=="constructor"&&(t||!ve.call(e,s))||r.push(s);return r}function ms(e,t){return e<t}function jc(e,t){var r=-1,s=Ze(e)?I(e.length):[];return cn(e,function(l,h,v){s[++r]=t(l,h,v)}),s}function Gc(e){var t=Ps(e);return t.length==1&&t[0][2]?Td(t[0][0],t[0][1]):function(r){return r===e||vs(r,e,t)}}function Jc(e,t){return Ms(e)&&Ad(t)?Td(Mt(e),t):function(r){var s=qs(r,e);return s===n&&s===t?js(r,e):jr(t,s,x|A)}}function Zi(e,t,r,s,l){e!==t&&cs(t,function(h,v){if(l||(l=new It),Se(h))Z1(e,t,v,r,Zi,s,l);else{var m=s?s(Ds(e,v),h,v+"",e,t,l):n;m===n&&(m=h),fs(e,v,m)}},Qe)}function Z1(e,t,r,s,l,h,v){var m=Ds(e,r),S=Ds(t,r),P=v.get(S);if(P){fs(e,r,P);return}var F=h?h(m,S,r+"",e,t,v):n,D=F===n;if(D){var U=te(S),j=!U&&vn(S),X=!U&&!j&&ur(S);F=S,U||j||X?te(m)?F=m:Ae(m)?F=Ve(m):j?(D=!1,F=ad(S,!0)):X?(D=!1,F=od(S,!0)):F=[]:Xr(S)||Mn(S)?(F=m,Mn(m)?F=nh(m):(!Se(m)||Xt(m))&&(F=Ed(S))):D=!1}D&&(v.set(S,F),l(F,S,s,h,v),v.delete(S)),fs(e,r,F)}function Yc(e,t){var r=e.length;if(r)return t+=t<0?r:0,Kt(t,r)?e[t]:n}function Kc(e,t,r){t.length?t=we(t,function(h){return te(h)?function(v){return Ln(v,h.length===1?h[0]:h)}:h}):t=[et];var s=-1;t=we(t,ot(K()));var l=jc(e,function(h,v,m){var S=we(t,function(P){return P(h)});return{criteria:S,index:++s,value:h}});return Ay(l,function(h,v){return cb(h,v,r)})}function Q1(e,t){return Xc(e,t,function(r,s){return js(e,s)})}function Xc(e,t,r){for(var s=-1,l=t.length,h={};++s<l;){var v=t[s],m=Ln(e,v);r(m,v)&&Gr(h,hn(v,e),m)}return h}function eb(e){return function(t){return Ln(t,e)}}function ys(e,t,r,s){var l=s?Ey:Vn,h=-1,v=t.length,m=e;for(e===t&&(t=Ve(t)),r&&(m=we(e,ot(r)));++h<v;)for(var S=0,P=t[h],F=r?r(P):P;(S=l(m,F,S,s))>-1;)m!==e&&Ui.call(m,S,1),Ui.call(e,S,1);return e}function Vc(e,t){for(var r=e?t.length:0,s=r-1;r--;){var l=t[r];if(r==s||l!==h){var h=l;Kt(l)?Ui.call(e,l,1):Ss(e,l)}}return e}function bs(e,t){return e+ji(Lc()*(t-e+1))}function tb(e,t,r,s){for(var l=-1,h=Le(qi((t-e)/(r||1)),0),v=I(h);h--;)v[s?h:++l]=e,e+=r;return v}function _s(e,t){var r="";if(!e||t<1||t>ze)return r;do t%2&&(r+=e),t=ji(t/2),t&&(e+=e);while(t);return r}function oe(e,t){return Ws(Id(e,t,et),e+"")}function nb(e){return Mc(fr(e))}function rb(e,t){var r=fr(e);return ua(r,Nn(t,0,r.length))}function Gr(e,t,r,s){if(!Se(e))return e;t=hn(t,e);for(var l=-1,h=t.length,v=h-1,m=e;m!=null&&++l<h;){var S=Mt(t[l]),P=r;if(S==="__proto__"||S==="constructor"||S==="prototype")return e;if(l!=v){var F=m[S];P=s?s(F,S,m):n,P===n&&(P=Se(F)?F:Kt(t[l+1])?[]:{})}Ur(m,S,P),m=m[S]}return e}var Zc=Gi?function(e,t){return Gi.set(e,t),e}:et,ib=Hi?function(e,t){return Hi(e,"toString",{configurable:!0,enumerable:!1,value:Js(t),writable:!0})}:et;function ab(e){return ua(fr(e))}function mt(e,t,r){var s=-1,l=e.length;t<0&&(t=-t>l?0:l+t),r=r>l?l:r,r<0&&(r+=l),l=t>r?0:r-t>>>0,t>>>=0;for(var h=I(l);++s<l;)h[s]=e[s+t];return h}function ob(e,t){var r;return cn(e,function(s,l,h){return r=t(s,l,h),!r}),!!r}function Qi(e,t,r){var s=0,l=e==null?s:e.length;if(typeof t=="number"&&t===t&&l<=Ei){for(;s<l;){var h=s+l>>>1,v=e[h];v!==null&&!ut(v)&&(r?v<=t:v<t)?s=h+1:l=h}return l}return ws(e,t,et,r)}function ws(e,t,r,s){var l=0,h=e==null?0:e.length;if(h===0)return 0;t=r(t);for(var v=t!==t,m=t===null,S=ut(t),P=t===n;l<h;){var F=ji((l+h)/2),D=r(e[F]),U=D!==n,j=D===null,X=D===D,ae=ut(D);if(v)var V=s||X;else P?V=X&&(s||U):m?V=X&&U&&(s||!j):S?V=X&&U&&!j&&(s||!ae):j||ae?V=!1:V=s?D<=t:D<t;V?l=F+1:h=F}return Re(h,xi)}function Qc(e,t){for(var r=-1,s=e.length,l=0,h=[];++r<s;){var v=e[r],m=t?t(v):v;if(!r||!Ot(m,S)){var S=m;h[l++]=v===0?0:v}}return h}function ed(e){return typeof e=="number"?e:ut(e)?At:+e}function st(e){if(typeof e=="string")return e;if(te(e))return we(e,st)+"";if(ut(e))return Pc?Pc.call(e):"";var t=e+"";return t=="0"&&1/e==-Et?"-0":t}function dn(e,t,r){var s=-1,l=Pi,h=e.length,v=!0,m=[],S=m;if(r)v=!1,l=Xo;else if(h>=u){var P=t?null:mb(e);if(P)return Mi(P);v=!1,l=Dr,S=new Cn}else S=t?[]:m;e:for(;++s<h;){var F=e[s],D=t?t(F):F;if(F=r||F!==0?F:0,v&&D===D){for(var U=S.length;U--;)if(S[U]===D)continue e;t&&S.push(D),m.push(F)}else l(S,D,r)||(S!==m&&S.push(D),m.push(F))}return m}function Ss(e,t){t=hn(t,e);var r=-1,s=t.length;if(!s)return!0;for(var l=e==null||typeof e!="object"&&typeof e!="function";++r<s;){var h=t[r];if(typeof h=="string"){if(h==="__proto__"&&!ve.call(e,"__proto__"))return!1;if(h==="constructor"&&r+1<s&&typeof t[r+1]=="string"&&t[r+1]==="prototype"){if(l&&r===0)continue;return!1}}}var v=Od(e,t);return v==null||delete v[Mt(yt(t))]}function td(e,t,r,s){return Gr(e,t,r(Ln(e,t)),s)}function ea(e,t,r,s){for(var l=e.length,h=s?l:-1;(s?h--:++h<l)&&t(e[h],h,e););return r?mt(e,s?0:h,s?h+1:l):mt(e,s?h+1:0,s?l:h)}function nd(e,t){var r=e;return r instanceof ue&&(r=r.value()),Vo(t,function(s,l){return l.func.apply(l.thisArg,un([s],l.args))},r)}function xs(e,t,r){var s=e.length;if(s<2)return s?dn(e[0]):[];for(var l=-1,h=I(s);++l<s;)for(var v=e[l],m=-1;++m<s;)m!=l&&(h[l]=Hr(h[l]||v,e[m],t,r));return dn(De(h,1),t,r)}function rd(e,t,r){for(var s=-1,l=e.length,h=t.length,v={};++s<l;){var m=s<h?t[s]:n;r(v,e[s],m)}return v}function Es(e){return Ae(e)?e:[]}function As(e){return typeof e=="function"?e:et}function hn(e,t){return te(e)?e:Ms(e,t)?[e]:Pd(ge(e))}var sb=oe;function pn(e,t,r){var s=e.length;return r=r===n?s:r,!t&&r>=s?e:mt(e,t,r)}var id=Yy||function(e){return ke.clearTimeout(e)};function ad(e,t){if(t)return e.slice();var r=e.length,s=Tc?Tc(r):new e.constructor(r);return e.copy(s),s}function Ts(e){var t=new e.constructor(e.byteLength);return new $i(t).set(new $i(e)),t}function ub(e,t){var r=t?Ts(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function fb(e){var t=new e.constructor(e.source,Ul.exec(e));return t.lastIndex=e.lastIndex,t}function lb(e){return zr?me(zr.call(e)):{}}function od(e,t){var r=t?Ts(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function sd(e,t){if(e!==t){var r=e!==n,s=e===null,l=e===e,h=ut(e),v=t!==n,m=t===null,S=t===t,P=ut(t);if(!m&&!P&&!h&&e>t||h&&v&&S&&!m&&!P||s&&v&&S||!r&&S||!l)return 1;if(!s&&!h&&!P&&e<t||P&&r&&l&&!s&&!h||m&&r&&l||!v&&l||!S)return-1}return 0}function cb(e,t,r){for(var s=-1,l=e.criteria,h=t.criteria,v=l.length,m=r.length;++s<v;){var S=sd(l[s],h[s]);if(S){if(s>=m)return S;var P=r[s];return S*(P=="desc"?-1:1)}}return e.index-t.index}function ud(e,t,r,s){for(var l=-1,h=e.length,v=r.length,m=-1,S=t.length,P=Le(h-v,0),F=I(S+P),D=!s;++m<S;)F[m]=t[m];for(;++l<v;)(D||l<h)&&(F[r[l]]=e[l]);for(;P--;)F[m++]=e[l++];return F}function fd(e,t,r,s){for(var l=-1,h=e.length,v=-1,m=r.length,S=-1,P=t.length,F=Le(h-m,0),D=I(F+P),U=!s;++l<F;)D[l]=e[l];for(var j=l;++S<P;)D[j+S]=t[S];for(;++v<m;)(U||l<h)&&(D[j+r[v]]=e[l++]);return D}function Ve(e,t){var r=-1,s=e.length;for(t||(t=I(s));++r<s;)t[r]=e[r];return t}function Ft(e,t,r,s){var l=!r;r||(r={});for(var h=-1,v=t.length;++h<v;){var m=t[h],S=s?s(r[m],e[m],m,r,e):n;S===n&&(S=e[m]),l?Gt(r,m,S):Ur(r,m,S)}return r}function db(e,t){return Ft(e,Fs(e),t)}function hb(e,t){return Ft(e,Sd(e),t)}function ta(e,t){return function(r,s){var l=te(r)?yy:k1,h=t?t():{};return l(r,e,K(s,2),h)}}function ar(e){return oe(function(t,r){var s=-1,l=r.length,h=l>1?r[l-1]:n,v=l>2?r[2]:n;for(h=e.length>3&&typeof h=="function"?(l--,h):n,v&&je(r[0],r[1],v)&&(h=l<3?n:h,l=1),t=me(t);++s<l;){var m=r[s];m&&e(t,m,s,h)}return t})}function ld(e,t){return function(r,s){if(r==null)return r;if(!Ze(r))return e(r,s);for(var l=r.length,h=t?l:-1,v=me(r);(t?h--:++h<l)&&s(v[h],h,v)!==!1;);return r}}function cd(e){return function(t,r,s){for(var l=-1,h=me(t),v=s(t),m=v.length;m--;){var S=v[e?m:++l];if(r(h[S],S,h)===!1)break}return t}}function pb(e,t,r){var s=t&T,l=Jr(e);function h(){var v=this&&this!==ke&&this instanceof h?l:e;return v.apply(s?r:this,arguments)}return h}function dd(e){return function(t){t=ge(t);var r=Zn(t)?Tt(t):n,s=r?r[0]:t.charAt(0),l=r?pn(r,1).join(""):t.slice(1);return s[e]()+l}}function or(e){return function(t){return Vo(lh(fh(t).replace(iy,"")),e,"")}}function Jr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=ir(e.prototype),s=e.apply(r,t);return Se(s)?s:r}}function vb(e,t,r){var s=Jr(e);function l(){for(var h=arguments.length,v=I(h),m=h,S=sr(l);m--;)v[m]=arguments[m];var P=h<3&&v[0]!==S&&v[h-1]!==S?[]:fn(v,S);if(h-=P.length,h<r)return md(e,t,na,l.placeholder,n,v,P,n,n,r-h);var F=this&&this!==ke&&this instanceof l?s:e;return at(F,this,v)}return l}function hd(e){return function(t,r,s){var l=me(t);if(!Ze(t)){var h=K(r,3);t=Fe(t),r=function(m){return h(l[m],m,l)}}var v=e(t,r,s);return v>-1?l[h?t[v]:v]:n}}function pd(e){return Yt(function(t){var r=t.length,s=r,l=vt.prototype.thru;for(e&&t.reverse();s--;){var h=t[s];if(typeof h!="function")throw new pt(c);if(l&&!v&&oa(h)=="wrapper")var v=new vt([],!0)}for(s=v?s:r;++s<r;){h=t[s];var m=oa(h),S=m=="wrapper"?Ls(h):n;S&&ks(S[0])&&S[1]==(C|R|$|L)&&!S[4].length&&S[9]==1?v=v[oa(S[0])].apply(v,S[3]):v=h.length==1&&ks(h)?v[m]():v.thru(h)}return function(){var P=arguments,F=P[0];if(v&&P.length==1&&te(F))return v.plant(F).value();for(var D=0,U=r?t[D].apply(this,P):F;++D<r;)U=t[D].call(this,U);return U}})}function na(e,t,r,s,l,h,v,m,S,P){var F=t&C,D=t&T,U=t&k,j=t&(R|Z),X=t&q,ae=U?n:Jr(e);function V(){for(var se=arguments.length,le=I(se),ft=se;ft--;)le[ft]=arguments[ft];if(j)var Ge=sr(V),lt=Iy(le,Ge);if(s&&(le=ud(le,s,l,j)),h&&(le=fd(le,h,v,j)),se-=lt,j&&se<P){var Te=fn(le,Ge);return md(e,t,na,V.placeholder,r,le,Te,m,S,P-se)}var Ct=D?r:this,Zt=U?Ct[e]:e;return se=le.length,m?le=kb(le,m):X&&se>1&&le.reverse(),F&&S<se&&(le.length=S),this&&this!==ke&&this instanceof V&&(Zt=ae||Jr(Zt)),Zt.apply(Ct,le)}return V}function vd(e,t){return function(r,s){return H1(r,e,t(s),{})}}function ra(e,t){return function(r,s){var l;if(r===n&&s===n)return t;if(r!==n&&(l=r),s!==n){if(l===n)return s;typeof r=="string"||typeof s=="string"?(r=st(r),s=st(s)):(r=ed(r),s=ed(s)),l=e(r,s)}return l}}function Is(e){return Yt(function(t){return t=we(t,ot(K())),oe(function(r){var s=this;return e(t,function(l){return at(l,s,r)})})})}function ia(e,t){t=t===n?" ":st(t);var r=t.length;if(r<2)return r?_s(t,e):t;var s=_s(t,qi(e/Qn(t)));return Zn(t)?pn(Tt(s),0,e).join(""):s.slice(0,e)}function gb(e,t,r,s){var l=t&T,h=Jr(e);function v(){for(var m=-1,S=arguments.length,P=-1,F=s.length,D=I(F+S),U=this&&this!==ke&&this instanceof v?h:e;++P<F;)D[P]=s[P];for(;S--;)D[P++]=arguments[++m];return at(U,l?r:this,D)}return v}function gd(e){return function(t,r,s){return s&&typeof s!="number"&&je(t,r,s)&&(r=s=n),t=Vt(t),r===n?(r=t,t=0):r=Vt(r),s=s===n?t<r?1:-1:Vt(s),tb(t,r,s,e)}}function aa(e){return function(t,r){return typeof t=="string"&&typeof r=="string"||(t=bt(t),r=bt(r)),e(t,r)}}function md(e,t,r,s,l,h,v,m,S,P){var F=t&R,D=F?v:n,U=F?n:v,j=F?h:n,X=F?n:h;t|=F?$:de,t&=~(F?de:$),t&W||(t&=-4);var ae=[e,t,l,j,D,X,U,m,S,P],V=r.apply(n,ae);return ks(e)&&Cd(V,ae),V.placeholder=s,Nd(V,e,t)}function Os(e){var t=Ne[e];return function(r,s){if(r=bt(r),s=s==null?0:Re(ie(s),292),s&&Nc(r)){var l=(ge(r)+"e").split("e"),h=t(l[0]+"e"+(+l[1]+s));return l=(ge(h)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return t(r)}}var mb=nr&&1/Mi(new nr([,-0]))[1]==Et?function(e){return new nr(e)}:Xs;function yd(e){return function(t){var r=$e(t);return r==Ie?is(t):r==Ke?My(t):Ty(t,e(t))}}function Jt(e,t,r,s,l,h,v,m){var S=t&k;if(!S&&typeof e!="function")throw new pt(c);var P=s?s.length:0;if(P||(t&=-97,s=l=n),v=v===n?v:Le(ie(v),0),m=m===n?m:ie(m),P-=l?l.length:0,t&de){var F=s,D=l;s=l=n}var U=S?n:Ls(e),j=[e,t,r,s,l,F,D,h,v,m];if(U&&Pb(j,U),e=j[0],t=j[1],r=j[2],s=j[3],l=j[4],m=j[9]=j[9]===n?S?0:e.length:Le(j[9]-P,0),!m&&t&(R|Z)&&(t&=-25),!t||t==T)var X=pb(e,t,r);else t==R||t==Z?X=vb(e,t,m):(t==$||t==(T|$))&&!l.length?X=gb(e,t,r,s):X=na.apply(n,j);var ae=U?Zc:Cd;return Nd(ae(X,j),e,t)}function bd(e,t,r,s){return e===n||Ot(e,tr[r])&&!ve.call(s,r)?t:e}function _d(e,t,r,s,l,h){return Se(e)&&Se(t)&&(h.set(t,e),Zi(e,t,n,_d,h),h.delete(t)),e}function yb(e){return Xr(e)?n:e}function wd(e,t,r,s,l,h){var v=r&x,m=e.length,S=t.length;if(m!=S&&!(v&&S>m))return!1;var P=h.get(e),F=h.get(t);if(P&&F)return P==t&&F==e;var D=-1,U=!0,j=r&A?new Cn:n;for(h.set(e,t),h.set(t,e);++D<m;){var X=e[D],ae=t[D];if(s)var V=v?s(ae,X,D,t,e,h):s(X,ae,D,e,t,h);if(V!==n){if(V)continue;U=!1;break}if(j){if(!Zo(t,function(se,le){if(!Dr(j,le)&&(X===se||l(X,se,r,s,h)))return j.push(le)})){U=!1;break}}else if(!(X===ae||l(X,ae,r,s,h))){U=!1;break}}return h.delete(e),h.delete(t),U}function bb(e,t,r,s,l,h,v){switch(r){case He:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Sn:return!(e.byteLength!=t.byteLength||!h(new $i(e),new $i(t)));case _n:case rn:case an:return Ot(+e,+t);case Hn:return e.name==t.name&&e.message==t.message;case Oe:case on:return e==t+"";case Ie:var m=is;case Ke:var S=s&x;if(m||(m=Mi),e.size!=t.size&&!S)return!1;var P=v.get(e);if(P)return P==t;s|=A,v.set(e,t);var F=wd(m(e),m(t),s,l,h,v);return v.delete(e),F;case Be:if(zr)return zr.call(e)==zr.call(t)}return!1}function _b(e,t,r,s,l,h){var v=r&x,m=Cs(e),S=m.length,P=Cs(t),F=P.length;if(S!=F&&!v)return!1;for(var D=S;D--;){var U=m[D];if(!(v?U in t:ve.call(t,U)))return!1}var j=h.get(e),X=h.get(t);if(j&&X)return j==t&&X==e;var ae=!0;h.set(e,t),h.set(t,e);for(var V=v;++D<S;){U=m[D];var se=e[U],le=t[U];if(s)var ft=v?s(le,se,U,t,e,h):s(se,le,U,e,t,h);if(!(ft===n?se===le||l(se,le,r,s,h):ft)){ae=!1;break}V||(V=U=="constructor")}if(ae&&!V){var Ge=e.constructor,lt=t.constructor;Ge!=lt&&"constructor"in e&&"constructor"in t&&!(typeof Ge=="function"&&Ge instanceof Ge&&typeof lt=="function"&< instanceof lt)&&(ae=!1)}return h.delete(e),h.delete(t),ae}function Yt(e){return Ws(Id(e,n,Dd),e+"")}function Cs(e){return zc(e,Fe,Fs)}function Ns(e){return zc(e,Qe,Sd)}var Ls=Gi?function(e){return Gi.get(e)}:Xs;function oa(e){for(var t=e.name+"",r=rr[t],s=ve.call(rr,t)?r.length:0;s--;){var l=r[s],h=l.func;if(h==null||h==e)return l.name}return t}function sr(e){var t=ve.call(d,"placeholder")?d:e;return t.placeholder}function K(){var e=d.iteratee||Ys;return e=e===Ys?qc:e,arguments.length?e(arguments[0],arguments[1]):e}function sa(e,t){var r=e.__data__;return Ob(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Ps(e){for(var t=Fe(e),r=t.length;r--;){var s=t[r],l=e[s];t[r]=[s,l,Ad(l)]}return t}function Pn(e,t){var r=Ly(e,t);return Hc(r)?r:n}function wb(e){var t=ve.call(e,In),r=e[In];try{e[In]=n;var s=!0}catch{}var l=Bi.call(e);return s&&(t?e[In]=r:delete e[In]),l}var Fs=os?function(e){return e==null?[]:(e=me(e),sn(os(e),function(t){return Oc.call(e,t)}))}:Vs,Sd=os?function(e){for(var t=[];e;)un(t,Fs(e)),e=zi(e);return t}:Vs,$e=qe;(ss&&$e(new ss(new ArrayBuffer(1)))!=He||Br&&$e(new Br)!=Ie||us&&$e(us.resolve())!=Ue||nr&&$e(new nr)!=Ke||Rr&&$e(new Rr)!=wn)&&($e=function(e){var t=qe(e),r=t==rt?e.constructor:n,s=r?Fn(r):"";if(s)switch(s){case r1:return He;case i1:return Ie;case a1:return Ue;case o1:return Ke;case s1:return wn}return t});function Sb(e,t,r){for(var s=-1,l=r.length;++s<l;){var h=r[s],v=h.size;switch(h.type){case"drop":e+=v;break;case"dropRight":t-=v;break;case"take":t=Re(t,e+v);break;case"takeRight":e=Le(e,t-v);break}}return{start:e,end:t}}function xb(e){var t=e.match(Kn);return t?t[1].split(N0):[]}function xd(e,t,r){t=hn(t,e);for(var s=-1,l=t.length,h=!1;++s<l;){var v=Mt(t[s]);if(!(h=e!=null&&r(e,v)))break;e=e[v]}return h||++s!=l?h:(l=e==null?0:e.length,!!l&&pa(l)&&Kt(v,l)&&(te(e)||Mn(e)))}function Eb(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&ve.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Ed(e){return typeof e.constructor=="function"&&!Yr(e)?ir(zi(e)):{}}function Ab(e,t,r){var s=e.constructor;switch(t){case Sn:return Ts(e);case _n:case rn:return new s(+e);case He:return ub(e,r);case Gn:case Or:case xn:case En:case Cr:case Nr:case Jn:case Lr:case Pr:return od(e,r);case Ie:return new s;case an:case on:return new s(e);case Oe:return fb(e);case Ke:return new s;case Be:return lb(e)}}function Tb(e,t){var r=t.length;if(!r)return e;var s=r-1;return t[s]=(r>1?"& ":"")+t[s],t=t.join(r>2?", ":" "),e.replace(kr,`{
|
|
2
2
|
/* [wrapped with `+t+`] */
|
|
3
|
-
`)}function Ib(e){return te(e)||Mn(e)||!!(Cc&&e&&e[Cc])}function Kt(e,t){var r=typeof e;return t=t??ze,!!t&&(r=="number"||r!="symbol"&&R0.test(e))&&e>-1&&e%1==0&&e<t}function je(e,t,r){if(!Se(r))return!1;var s=typeof t;return(s=="number"?Ze(r)&&Kt(t,r.length):s=="string"&&t in r)?Ot(r[t],e):!1}function ks(e,t){if(te(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ut(e)?!0:Uo.test(e)||!zo.test(e)||t!=null&&e in me(t)}function Ob(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ds(e){var t=oa(e),r=d[t];if(typeof r!="function"||!(t in ue.prototype))return!1;if(e===r)return!0;var s=Ps(r);return!!s&&e===s[0]}function Cb(e){return!!Ac&&Ac in e}var Nb=Di?Xt:Qs;function Yr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||tr;return e===r}function Ad(e){return e===e&&!Se(e)}function Td(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in me(r))}}function Lb(e){var t=da(e,function(s){return r.size===y&&r.clear(),s}),r=t.cache;return t}function Pb(e,t){var r=e[1],s=t[1],l=r|s,h=l<(T|L|C),v=s==C&&r==U||s==C&&r==P&&e[7].length<=t[8]||s==(C|P)&&t[7].length<=t[8]&&r==U;if(!(h||v))return e;s&T&&(e[2]=t[2],l|=r&T?0:W);var m=t[3];if(m){var S=e[3];e[3]=S?ud(S,m,t[4]):m,e[4]=S?fn(e[3],_):t[4]}return m=t[5],m&&(S=e[5],e[5]=S?fd(S,m,t[6]):m,e[6]=S?fn(e[5],_):t[6]),m=t[7],m&&(e[7]=m),s&C&&(e[8]=e[8]==null?t[8]:Re(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}function Fb(e){var t=[];if(e!=null)for(var r in me(e))t.push(r);return t}function Mb(e){return Bi.call(e)}function Id(e,t,r){return t=Le(t===n?e.length-1:t,0),function(){for(var s=arguments,l=-1,h=Le(s.length-t,0),v=I(h);++l<h;)v[l]=s[t+l];l=-1;for(var m=I(t+1);++l<t;)m[l]=s[l];return m[t]=r(v),at(e,this,m)}}function Od(e,t){return t.length<2?e:Ln(e,mt(t,0,-1))}function kb(e,t){for(var r=e.length,s=Re(t.length,r),l=Ve(e);s--;){var h=t[s];e[s]=Kt(h,r)?l[h]:n}return e}function Ws(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Cd=Ld(Zc),Kr=Xy||function(e,t){return ke.setTimeout(e,t)},Bs=Ld(ib);function Nd(e,t,r){var s=t+"";return Bs(e,Tb(s,Db(xb(s),r)))}function Ld(e){var t=0,r=0;return function(){var s=e1(),l=K-(s-r);if(r=s,l>0){if(++t>=ie)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ua(e,t){var r=-1,s=e.length,l=s-1;for(t=t===n?s:t;++r<t;){var h=_s(r,l),v=e[h];e[h]=e[r],e[r]=v}return e.length=t,e}var Pd=Lb(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Oi,function(r,s,l,h){t.push(l?h.replace(F0,"$1"):s||r)}),t});function Mt(e){if(typeof e=="string"||ut(e))return e;var t=e+"";return t=="0"&&1/e==-Et?"-0":t}function Fn(e){if(e!=null){try{return Wi.call(e)}catch{}try{return e+""}catch{}}return""}function Db(e,t){return ht(Ar,function(r){var s="_."+r[0];t&r[1]&&!Pi(e,s)&&e.push(s)}),e.sort()}function Fd(e){if(e instanceof ue)return e.clone();var t=new vt(e.__wrapped__,e.__chain__);return t.__actions__=Ve(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Wb(e,t,r){(r?je(e,t,r):t===n)?t=1:t=Le(re(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var l=0,h=0,v=I(qi(s/t));l<s;)v[h++]=mt(e,l,l+=t);return v}function Bb(e){for(var t=-1,r=e==null?0:e.length,s=0,l=[];++t<r;){var h=e[t];h&&(l[s++]=h)}return l}function Rb(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),r=arguments[0],s=e;s--;)t[s-1]=arguments[s];return un(te(r)?Ve(r):[r],De(t,1))}var $b=oe(function(e,t){return Ae(e)?Hr(e,De(t,1,Ae,!0)):[]}),zb=oe(function(e,t){var r=yt(t);return Ae(r)&&(r=n),Ae(e)?Hr(e,De(t,1,Ae,!0),Y(r,2)):[]}),Ub=oe(function(e,t){var r=yt(t);return Ae(r)&&(r=n),Ae(e)?Hr(e,De(t,1,Ae,!0),n,r):[]});function Hb(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:re(t),mt(e,t<0?0:t,s)):[]}function qb(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:re(t),t=s-t,mt(e,0,t<0?0:t)):[]}function jb(e,t){return e&&e.length?ea(e,Y(t,3),!0,!0):[]}function Gb(e,t){return e&&e.length?ea(e,Y(t,3),!0):[]}function Jb(e,t,r,s){var l=e==null?0:e.length;return l?(r&&typeof r!="number"&&je(e,t,r)&&(r=0,s=l),R1(e,t,r,s)):[]}function Md(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:re(r);return l<0&&(l=Le(s+l,0)),Fi(e,Y(t,3),l)}function kd(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return r!==n&&(l=re(r),l=r<0?Le(s+l,0):Re(l,s-1)),Fi(e,Y(t,3),l,!0)}function Dd(e){var t=e==null?0:e.length;return t?De(e,1):[]}function Yb(e){var t=e==null?0:e.length;return t?De(e,Et):[]}function Kb(e,t){var r=e==null?0:e.length;return r?(t=t===n?1:re(t),De(e,t)):[]}function Xb(e){for(var t=-1,r=e==null?0:e.length,s={};++t<r;){var l=e[t];s[l[0]]=l[1]}return s}function Wd(e){return e&&e.length?e[0]:n}function Vb(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:re(r);return l<0&&(l=Le(s+l,0)),Vn(e,t,l)}function Zb(e){var t=e==null?0:e.length;return t?mt(e,0,-1):[]}var Qb=oe(function(e){var t=we(e,As);return t.length&&t[0]===e[0]?vs(t):[]}),e_=oe(function(e){var t=yt(e),r=we(e,As);return t===yt(r)?t=n:r.pop(),r.length&&r[0]===e[0]?vs(r,Y(t,2)):[]}),t_=oe(function(e){var t=yt(e),r=we(e,As);return t=typeof t=="function"?t:n,t&&r.pop(),r.length&&r[0]===e[0]?vs(r,n,t):[]});function n_(e,t){return e==null?"":Zy.call(e,t)}function yt(e){var t=e==null?0:e.length;return t?e[t-1]:n}function r_(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s;return r!==n&&(l=re(r),l=l<0?Le(s+l,0):Re(l,s-1)),t===t?Dy(e,t,l):Fi(e,mc,l,!0)}function i_(e,t){return e&&e.length?Yc(e,re(t)):n}var a_=oe(Bd);function Bd(e,t){return e&&e.length&&t&&t.length?bs(e,t):e}function o_(e,t,r){return e&&e.length&&t&&t.length?bs(e,t,Y(r,2)):e}function s_(e,t,r){return e&&e.length&&t&&t.length?bs(e,t,n,r):e}var u_=Yt(function(e,t){var r=e==null?0:e.length,s=cs(e,t);return Vc(e,we(t,function(l){return Kt(l,r)?+l:l}).sort(sd)),s});function f_(e,t){var r=[];if(!(e&&e.length))return r;var s=-1,l=[],h=e.length;for(t=Y(t,3);++s<h;){var v=e[s];t(v,s,e)&&(r.push(v),l.push(s))}return Vc(e,l),r}function Rs(e){return e==null?e:n1.call(e)}function l_(e,t,r){var s=e==null?0:e.length;return s?(r&&typeof r!="number"&&je(e,t,r)?(t=0,r=s):(t=t==null?0:re(t),r=r===n?s:re(r)),mt(e,t,r)):[]}function c_(e,t){return Qi(e,t)}function d_(e,t,r){return Ss(e,t,Y(r,2))}function h_(e,t){var r=e==null?0:e.length;if(r){var s=Qi(e,t);if(s<r&&Ot(e[s],t))return s}return-1}function p_(e,t){return Qi(e,t,!0)}function v_(e,t,r){return Ss(e,t,Y(r,2),!0)}function g_(e,t){var r=e==null?0:e.length;if(r){var s=Qi(e,t,!0)-1;if(Ot(e[s],t))return s}return-1}function m_(e){return e&&e.length?Qc(e):[]}function y_(e,t){return e&&e.length?Qc(e,Y(t,2)):[]}function b_(e){var t=e==null?0:e.length;return t?mt(e,1,t):[]}function __(e,t,r){return e&&e.length?(t=r||t===n?1:re(t),mt(e,0,t<0?0:t)):[]}function w_(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:re(t),t=s-t,mt(e,t<0?0:t,s)):[]}function S_(e,t){return e&&e.length?ea(e,Y(t,3),!1,!0):[]}function x_(e,t){return e&&e.length?ea(e,Y(t,3)):[]}var E_=oe(function(e){return dn(De(e,1,Ae,!0))}),A_=oe(function(e){var t=yt(e);return Ae(t)&&(t=n),dn(De(e,1,Ae,!0),Y(t,2))}),T_=oe(function(e){var t=yt(e);return t=typeof t=="function"?t:n,dn(De(e,1,Ae,!0),n,t)});function I_(e){return e&&e.length?dn(e):[]}function O_(e,t){return e&&e.length?dn(e,Y(t,2)):[]}function C_(e,t){return t=typeof t=="function"?t:n,e&&e.length?dn(e,n,t):[]}function $s(e){if(!(e&&e.length))return[];var t=0;return e=sn(e,function(r){if(Ae(r))return t=Le(r.length,t),!0}),rs(t,function(r){return we(e,es(r))})}function Rd(e,t){if(!(e&&e.length))return[];var r=$s(e);return t==null?r:we(r,function(s){return at(t,n,s)})}var N_=oe(function(e,t){return Ae(e)?Hr(e,t):[]}),L_=oe(function(e){return Es(sn(e,Ae))}),P_=oe(function(e){var t=yt(e);return Ae(t)&&(t=n),Es(sn(e,Ae),Y(t,2))}),F_=oe(function(e){var t=yt(e);return t=typeof t=="function"?t:n,Es(sn(e,Ae),n,t)}),M_=oe($s);function k_(e,t){return rd(e||[],t||[],Ur)}function D_(e,t){return rd(e||[],t||[],Gr)}var W_=oe(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r=="function"?(e.pop(),r):n,Rd(e,r)});function $d(e){var t=d(e);return t.__chain__=!0,t}function B_(e,t){return t(e),e}function fa(e,t){return t(e)}var R_=Yt(function(e){var t=e.length,r=t?e[0]:0,s=this.__wrapped__,l=function(h){return cs(h,e)};return t>1||this.__actions__.length||!(s instanceof ue)||!Kt(r)?this.thru(l):(s=s.slice(r,+r+(t?1:0)),s.__actions__.push({func:fa,args:[l],thisArg:n}),new vt(s,this.__chain__).thru(function(h){return t&&!h.length&&h.push(n),h}))});function $_(){return $d(this)}function z_(){return new vt(this.value(),this.__chain__)}function U_(){this.__values__===n&&(this.__values__=eh(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function H_(){return this}function q_(e){for(var t,r=this;r instanceof Yi;){var s=Fd(r);s.__index__=0,s.__values__=n,t?l.__wrapped__=s:t=s;var l=s;r=r.__wrapped__}return l.__wrapped__=e,t}function j_(){var e=this.__wrapped__;if(e instanceof ue){var t=e;return this.__actions__.length&&(t=new ue(this)),t=t.reverse(),t.__actions__.push({func:fa,args:[Rs],thisArg:n}),new vt(t,this.__chain__)}return this.thru(Rs)}function G_(){return nd(this.__wrapped__,this.__actions__)}var J_=ta(function(e,t,r){ve.call(e,r)?++e[r]:Gt(e,r,1)});function Y_(e,t,r){var s=te(e)?vc:B1;return r&&je(e,t,r)&&(t=n),s(e,Y(t,3))}function K_(e,t){var r=te(e)?sn:Rc;return r(e,Y(t,3))}var X_=hd(Md),V_=hd(kd);function Z_(e,t){return De(la(e,t),1)}function Q_(e,t){return De(la(e,t),Et)}function ew(e,t,r){return r=r===n?1:re(r),De(la(e,t),r)}function zd(e,t){var r=te(e)?ht:cn;return r(e,Y(t,3))}function Ud(e,t){var r=te(e)?by:Bc;return r(e,Y(t,3))}var tw=ta(function(e,t,r){ve.call(e,r)?e[r].push(t):Gt(e,r,[t])});function nw(e,t,r,s){e=Ze(e)?e:fr(e),r=r&&!s?re(r):0;var l=e.length;return r<0&&(r=Le(l+r,0)),va(e)?r<=l&&e.indexOf(t,r)>-1:!!l&&Vn(e,t,r)>-1}var rw=oe(function(e,t,r){var s=-1,l=typeof t=="function",h=Ze(e)?I(e.length):[];return cn(e,function(v){h[++s]=l?at(t,v,r):qr(v,t,r)}),h}),iw=ta(function(e,t,r){Gt(e,r,t)});function la(e,t){var r=te(e)?we:jc;return r(e,Y(t,3))}function aw(e,t,r,s){return e==null?[]:(te(t)||(t=t==null?[]:[t]),r=s?n:r,te(r)||(r=r==null?[]:[r]),Kc(e,t,r))}var ow=ta(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function sw(e,t,r){var s=te(e)?Zo:bc,l=arguments.length<3;return s(e,Y(t,4),r,l,cn)}function uw(e,t,r){var s=te(e)?_y:bc,l=arguments.length<3;return s(e,Y(t,4),r,l,Bc)}function fw(e,t){var r=te(e)?sn:Rc;return r(e,ha(Y(t,3)))}function lw(e){var t=te(e)?Mc:nb;return t(e)}function cw(e,t,r){(r?je(e,t,r):t===n)?t=1:t=re(t);var s=te(e)?F1:rb;return s(e,t)}function dw(e){var t=te(e)?M1:ab;return t(e)}function hw(e){if(e==null)return 0;if(Ze(e))return va(e)?Qn(e):e.length;var t=$e(e);return t==Ie||t==Ke?e.size:ms(e).length}function pw(e,t,r){var s=te(e)?Qo:ob;return r&&je(e,t,r)&&(t=n),s(e,Y(t,3))}var vw=oe(function(e,t){if(e==null)return[];var r=t.length;return r>1&&je(e,t[0],t[1])?t=[]:r>2&&je(t[0],t[1],t[2])&&(t=[t[0]]),Kc(e,De(t,1),[])}),ca=Ky||function(){return ke.Date.now()};function gw(e,t){if(typeof t!="function")throw new pt(c);return e=re(e),function(){if(--e<1)return t.apply(this,arguments)}}function Hd(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Jt(e,C,n,n,n,n,t)}function qd(e,t){var r;if(typeof t!="function")throw new pt(c);return e=re(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var zs=oe(function(e,t,r){var s=T;if(r.length){var l=fn(r,sr(zs));s|=R}return Jt(e,s,t,r,l)}),jd=oe(function(e,t,r){var s=T|L;if(r.length){var l=fn(r,sr(jd));s|=R}return Jt(t,s,e,r,l)});function Gd(e,t,r){t=r?n:t;var s=Jt(e,U,n,n,n,n,n,t);return s.placeholder=Gd.placeholder,s}function Jd(e,t,r){t=r?n:t;var s=Jt(e,Z,n,n,n,n,n,t);return s.placeholder=Jd.placeholder,s}function Yd(e,t,r){var s,l,h,v,m,S,F=0,M=!1,D=!1,z=!0;if(typeof e!="function")throw new pt(c);t=bt(t)||0,Se(r)&&(M=!!r.leading,D="maxWait"in r,h=D?Le(bt(r.maxWait)||0,t):h,z="trailing"in r?!!r.trailing:z);function j(Te){var Ct=s,Zt=l;return s=l=n,F=Te,v=e.apply(Zt,Ct),v}function X(Te){return F=Te,m=Kr(se,t),M?j(Te):v}function ae(Te){var Ct=Te-S,Zt=Te-F,hh=t-Ct;return D?Re(hh,h-Zt):hh}function V(Te){var Ct=Te-S,Zt=Te-F;return S===n||Ct>=t||Ct<0||D&&Zt>=h}function se(){var Te=ca();if(V(Te))return le(Te);m=Kr(se,ae(Te))}function le(Te){return m=n,z&&s?j(Te):(s=l=n,v)}function ft(){m!==n&&id(m),F=0,s=S=l=m=n}function Ge(){return m===n?v:le(ca())}function lt(){var Te=ca(),Ct=V(Te);if(s=arguments,l=this,S=Te,Ct){if(m===n)return X(S);if(D)return id(m),m=Kr(se,t),j(S)}return m===n&&(m=Kr(se,t)),v}return lt.cancel=ft,lt.flush=Ge,lt}var mw=oe(function(e,t){return Wc(e,1,t)}),yw=oe(function(e,t,r){return Wc(e,bt(t)||0,r)});function bw(e){return Jt(e,q)}function da(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new pt(c);var r=function(){var s=arguments,l=t?t.apply(this,s):s[0],h=r.cache;if(h.has(l))return h.get(l);var v=e.apply(this,s);return r.cache=h.set(l,v)||h,v};return r.cache=new(da.Cache||jt),r}da.Cache=jt;function ha(e){if(typeof e!="function")throw new pt(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function _w(e){return qd(2,e)}var ww=sb(function(e,t){t=t.length==1&&te(t[0])?we(t[0],ot(Y())):we(De(t,1),ot(Y()));var r=t.length;return oe(function(s){for(var l=-1,h=Re(s.length,r);++l<h;)s[l]=t[l].call(this,s[l]);return at(e,this,s)})}),Us=oe(function(e,t){var r=fn(t,sr(Us));return Jt(e,R,n,t,r)}),Kd=oe(function(e,t){var r=fn(t,sr(Kd));return Jt(e,de,n,t,r)}),Sw=Yt(function(e,t){return Jt(e,P,n,n,n,t)});function xw(e,t){if(typeof e!="function")throw new pt(c);return t=t===n?t:re(t),oe(e,t)}function Ew(e,t){if(typeof e!="function")throw new pt(c);return t=t==null?0:Le(re(t),0),oe(function(r){var s=r[t],l=pn(r,0,t);return s&&un(l,s),at(e,this,l)})}function Aw(e,t,r){var s=!0,l=!0;if(typeof e!="function")throw new pt(c);return Se(r)&&(s="leading"in r?!!r.leading:s,l="trailing"in r?!!r.trailing:l),Yd(e,t,{leading:s,maxWait:t,trailing:l})}function Tw(e){return Hd(e,1)}function Iw(e,t){return Us(Ts(t),e)}function Ow(){if(!arguments.length)return[];var e=arguments[0];return te(e)?e:[e]}function Cw(e){return gt(e,x)}function Nw(e,t){return t=typeof t=="function"?t:n,gt(e,x,t)}function Lw(e){return gt(e,w|x)}function Pw(e,t){return t=typeof t=="function"?t:n,gt(e,w|x,t)}function Fw(e,t){return t==null||Dc(e,t,Fe(t))}function Ot(e,t){return e===t||e!==e&&t!==t}var Mw=aa(ps),kw=aa(function(e,t){return e>=t}),Mn=Uc((function(){return arguments})())?Uc:function(e){return xe(e)&&ve.call(e,"callee")&&!Oc.call(e,"callee")},te=I.isArray,Dw=fc?ot(fc):q1;function Ze(e){return e!=null&&pa(e.length)&&!Xt(e)}function Ae(e){return xe(e)&&Ze(e)}function Ww(e){return e===!0||e===!1||xe(e)&&qe(e)==_n}var vn=Vy||Qs,Bw=lc?ot(lc):j1;function Rw(e){return xe(e)&&e.nodeType===1&&!Xr(e)}function $w(e){if(e==null)return!0;if(Ze(e)&&(te(e)||typeof e=="string"||typeof e.splice=="function"||vn(e)||ur(e)||Mn(e)))return!e.length;var t=$e(e);if(t==Ie||t==Ke)return!e.size;if(Yr(e))return!ms(e).length;for(var r in e)if(ve.call(e,r))return!1;return!0}function zw(e,t){return jr(e,t)}function Uw(e,t,r){r=typeof r=="function"?r:n;var s=r?r(e,t):n;return s===n?jr(e,t,n,r):!!s}function Hs(e){if(!xe(e))return!1;var t=qe(e);return t==Hn||t==Ir||typeof e.message=="string"&&typeof e.name=="string"&&!Xr(e)}function Hw(e){return typeof e=="number"&&Nc(e)}function Xt(e){if(!Se(e))return!1;var t=qe(e);return t==qn||t==Ai||t==Tr||t==jn}function Xd(e){return typeof e=="number"&&e==re(e)}function pa(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ze}function Se(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function xe(e){return e!=null&&typeof e=="object"}var Vd=cc?ot(cc):J1;function qw(e,t){return e===t||gs(e,t,Fs(t))}function jw(e,t,r){return r=typeof r=="function"?r:n,gs(e,t,Fs(t),r)}function Gw(e){return Zd(e)&&e!=+e}function Jw(e){if(Nb(e))throw new Q(f);return Hc(e)}function Yw(e){return e===null}function Kw(e){return e==null}function Zd(e){return typeof e=="number"||xe(e)&&qe(e)==an}function Xr(e){if(!xe(e)||qe(e)!=rt)return!1;var t=zi(e);if(t===null)return!0;var r=ve.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Wi.call(r)==jy}var qs=dc?ot(dc):Y1;function Xw(e){return Xd(e)&&e>=-ze&&e<=ze}var Qd=hc?ot(hc):K1;function va(e){return typeof e=="string"||!te(e)&&xe(e)&&qe(e)==on}function ut(e){return typeof e=="symbol"||xe(e)&&qe(e)==Be}var ur=pc?ot(pc):X1;function Vw(e){return e===n}function Zw(e){return xe(e)&&$e(e)==wn}function Qw(e){return xe(e)&&qe(e)==Bo}var eS=aa(ys),tS=aa(function(e,t){return e<=t});function eh(e){if(!e)return[];if(Ze(e))return va(e)?Tt(e):Ve(e);if(Wr&&e[Wr])return Fy(e[Wr]());var t=$e(e),r=t==Ie?as:t==Ke?Mi:fr;return r(e)}function Vt(e){if(!e)return e===0?e:0;if(e=bt(e),e===Et||e===-Et){var t=e<0?-1:1;return t*Do}return e===e?e:0}function re(e){var t=Vt(e),r=t%1;return t===t?r?t-r:t:0}function th(e){return e?Nn(re(e),0,nt):0}function bt(e){if(typeof e=="number")return e;if(ut(e))return At;if(Se(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Se(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_c(e);var r=D0.test(e);return r||B0.test(e)?gy(e.slice(2),r?2:8):k0.test(e)?At:+e}function nh(e){return Ft(e,Qe(e))}function nS(e){return e?Nn(re(e),-ze,ze):e===0?e:0}function ge(e){return e==null?"":st(e)}var rS=ar(function(e,t){if(Yr(t)||Ze(t)){Ft(t,Fe(t),e);return}for(var r in t)ve.call(t,r)&&Ur(e,r,t[r])}),rh=ar(function(e,t){Ft(t,Qe(t),e)}),ga=ar(function(e,t,r,s){Ft(t,Qe(t),e,s)}),iS=ar(function(e,t,r,s){Ft(t,Fe(t),e,s)}),aS=Yt(cs);function oS(e,t){var r=ir(e);return t==null?r:kc(r,t)}var sS=oe(function(e,t){e=me(e);var r=-1,s=t.length,l=s>2?t[2]:n;for(l&&je(t[0],t[1],l)&&(s=1);++r<s;)for(var h=t[r],v=Qe(h),m=-1,S=v.length;++m<S;){var F=v[m],M=e[F];(M===n||Ot(M,tr[F])&&!ve.call(e,F))&&(e[F]=h[F])}return e}),uS=oe(function(e){return e.push(n,_d),at(ih,n,e)});function fS(e,t){return gc(e,Y(t,3),Pt)}function lS(e,t){return gc(e,Y(t,3),hs)}function cS(e,t){return e==null?e:ds(e,Y(t,3),Qe)}function dS(e,t){return e==null?e:$c(e,Y(t,3),Qe)}function hS(e,t){return e&&Pt(e,Y(t,3))}function pS(e,t){return e&&hs(e,Y(t,3))}function vS(e){return e==null?[]:Vi(e,Fe(e))}function gS(e){return e==null?[]:Vi(e,Qe(e))}function js(e,t,r){var s=e==null?n:Ln(e,t);return s===n?r:s}function mS(e,t){return e!=null&&xd(e,t,$1)}function Gs(e,t){return e!=null&&xd(e,t,z1)}var yS=vd(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Bi.call(t)),e[t]=r},Ys(et)),bS=vd(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Bi.call(t)),ve.call(e,t)?e[t].push(r):e[t]=[r]},Y),_S=oe(qr);function Fe(e){return Ze(e)?Fc(e):ms(e)}function Qe(e){return Ze(e)?Fc(e,!0):V1(e)}function wS(e,t){var r={};return t=Y(t,3),Pt(e,function(s,l,h){Gt(r,t(s,l,h),s)}),r}function SS(e,t){var r={};return t=Y(t,3),Pt(e,function(s,l,h){Gt(r,l,t(s,l,h))}),r}var xS=ar(function(e,t,r){Zi(e,t,r)}),ih=ar(function(e,t,r,s){Zi(e,t,r,s)}),ES=Yt(function(e,t){var r={};if(e==null)return r;var s=!1;t=we(t,function(h){return h=hn(h,e),s||(s=h.length>1),h}),Ft(e,Ls(e),r),s&&(r=gt(r,w|O|x,yb));for(var l=t.length;l--;)xs(r,t[l]);return r});function AS(e,t){return ah(e,ha(Y(t)))}var TS=Yt(function(e,t){return e==null?{}:Q1(e,t)});function ah(e,t){if(e==null)return{};var r=we(Ls(e),function(s){return[s]});return t=Y(t),Xc(e,r,function(s,l){return t(s,l[0])})}function IS(e,t,r){t=hn(t,e);var s=-1,l=t.length;for(l||(l=1,e=n);++s<l;){var h=e==null?n:e[Mt(t[s])];h===n&&(s=l,h=r),e=Xt(h)?h.call(e):h}return e}function OS(e,t,r){return e==null?e:Gr(e,t,r)}function CS(e,t,r,s){return s=typeof s=="function"?s:n,e==null?e:Gr(e,t,r,s)}var oh=yd(Fe),sh=yd(Qe);function NS(e,t,r){var s=te(e),l=s||vn(e)||ur(e);if(t=Y(t,4),r==null){var h=e&&e.constructor;l?r=s?new h:[]:Se(e)?r=Xt(h)?ir(zi(e)):{}:r={}}return(l?ht:Pt)(e,function(v,m,S){return t(r,v,m,S)}),r}function LS(e,t){return e==null?!0:xs(e,t)}function PS(e,t,r){return e==null?e:td(e,t,Ts(r))}function FS(e,t,r,s){return s=typeof s=="function"?s:n,e==null?e:td(e,t,Ts(r),s)}function fr(e){return e==null?[]:is(e,Fe(e))}function MS(e){return e==null?[]:is(e,Qe(e))}function kS(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=bt(r),r=r===r?r:0),t!==n&&(t=bt(t),t=t===t?t:0),Nn(bt(e),t,r)}function DS(e,t,r){return t=Vt(t),r===n?(r=t,t=0):r=Vt(r),e=bt(e),U1(e,t,r)}function WS(e,t,r){if(r&&typeof r!="boolean"&&je(e,t,r)&&(t=r=n),r===n&&(typeof t=="boolean"?(r=t,t=n):typeof e=="boolean"&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Vt(e),t===n?(t=e,e=0):t=Vt(t)),e>t){var s=e;e=t,t=s}if(r||e%1||t%1){var l=Lc();return Re(e+l*(t-e+vy("1e-"+((l+"").length-1))),t)}return _s(e,t)}var BS=or(function(e,t,r){return t=t.toLowerCase(),e+(r?uh(t):t)});function uh(e){return Js(ge(e).toLowerCase())}function fh(e){return e=ge(e),e&&e.replace($0,Oy).replace(ay,"")}function RS(e,t,r){e=ge(e),t=st(t);var s=e.length;r=r===n?s:Nn(re(r),0,s);var l=r;return r-=t.length,r>=0&&e.slice(r,l)==t}function $S(e){return e=ge(e),e&&Yn.test(e)?e.replace(it,Cy):e}function zS(e){return e=ge(e),e&&Ho.test(e)?e.replace(Fr,"\\$&"):e}var US=or(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),HS=or(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),qS=dd("toLowerCase");function jS(e,t,r){e=ge(e),t=re(t);var s=t?Qn(e):0;if(!t||s>=t)return e;var l=(t-s)/2;return ia(ji(l),r)+e+ia(qi(l),r)}function GS(e,t,r){e=ge(e),t=re(t);var s=t?Qn(e):0;return t&&s<t?e+ia(t-s,r):e}function JS(e,t,r){e=ge(e),t=re(t);var s=t?Qn(e):0;return t&&s<t?ia(t-s,r)+e:e}function YS(e,t,r){return r||t==null?t=0:t&&(t=+t),t1(ge(e).replace(Ht,""),t||0)}function KS(e,t,r){return(r?je(e,t,r):t===n)?t=1:t=re(t),ws(ge(e),t)}function XS(){var e=arguments,t=ge(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var VS=or(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function ZS(e,t,r){return r&&typeof r!="number"&&je(e,t,r)&&(t=r=n),r=r===n?nt:r>>>0,r?(e=ge(e),e&&(typeof t=="string"||t!=null&&!qs(t))&&(t=st(t),!t&&Zn(e))?pn(Tt(e),0,r):e.split(t,r)):[]}var QS=or(function(e,t,r){return e+(r?" ":"")+Js(t)});function ex(e,t,r){return e=ge(e),r=r==null?0:Nn(re(r),0,e.length),t=st(t),e.slice(r,r+t.length)==t}function tx(e,t,r){var s=d.templateSettings;r&&je(e,t,r)&&(t=n),e=ge(e),t=ga({},t,s,bd);var l=ga({},t.imports,s.imports,bd),h=Fe(l),v=is(l,h),m,S,F=0,M=t.interpolate||Ci,D="__p += '",z=os((t.escape||Ci).source+"|"+M.source+"|"+(M===An?M0:Ci).source+"|"+(t.evaluate||Ci).source+"|$","g"),j="//# sourceURL="+(ve.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ly+"]")+`
|
|
4
|
-
`;e.replace(
|
|
3
|
+
`)}function Ib(e){return te(e)||Mn(e)||!!(Cc&&e&&e[Cc])}function Kt(e,t){var r=typeof e;return t=t??ze,!!t&&(r=="number"||r!="symbol"&&R0.test(e))&&e>-1&&e%1==0&&e<t}function je(e,t,r){if(!Se(r))return!1;var s=typeof t;return(s=="number"?Ze(r)&&Kt(t,r.length):s=="string"&&t in r)?Ot(r[t],e):!1}function Ms(e,t){if(te(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ut(e)?!0:zo.test(e)||!$o.test(e)||t!=null&&e in me(t)}function Ob(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ks(e){var t=oa(e),r=d[t];if(typeof r!="function"||!(t in ue.prototype))return!1;if(e===r)return!0;var s=Ls(r);return!!s&&e===s[0]}function Cb(e){return!!Ac&&Ac in e}var Nb=Di?Xt:Zs;function Yr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||tr;return e===r}function Ad(e){return e===e&&!Se(e)}function Td(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in me(r))}}function Lb(e){var t=da(e,function(s){return r.size===y&&r.clear(),s}),r=t.cache;return t}function Pb(e,t){var r=e[1],s=t[1],l=r|s,h=l<(T|k|C),v=s==C&&r==R||s==C&&r==L&&e[7].length<=t[8]||s==(C|L)&&t[7].length<=t[8]&&r==R;if(!(h||v))return e;s&T&&(e[2]=t[2],l|=r&T?0:W);var m=t[3];if(m){var S=e[3];e[3]=S?ud(S,m,t[4]):m,e[4]=S?fn(e[3],w):t[4]}return m=t[5],m&&(S=e[5],e[5]=S?fd(S,m,t[6]):m,e[6]=S?fn(e[5],w):t[6]),m=t[7],m&&(e[7]=m),s&C&&(e[8]=e[8]==null?t[8]:Re(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}function Fb(e){var t=[];if(e!=null)for(var r in me(e))t.push(r);return t}function Mb(e){return Bi.call(e)}function Id(e,t,r){return t=Le(t===n?e.length-1:t,0),function(){for(var s=arguments,l=-1,h=Le(s.length-t,0),v=I(h);++l<h;)v[l]=s[t+l];l=-1;for(var m=I(t+1);++l<t;)m[l]=s[l];return m[t]=r(v),at(e,this,m)}}function Od(e,t){return t.length<2?e:Ln(e,mt(t,0,-1))}function kb(e,t){for(var r=e.length,s=Re(t.length,r),l=Ve(e);s--;){var h=t[s];e[s]=Kt(h,r)?l[h]:n}return e}function Ds(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Cd=Ld(Zc),Kr=Xy||function(e,t){return ke.setTimeout(e,t)},Ws=Ld(ib);function Nd(e,t,r){var s=t+"";return Ws(e,Tb(s,Db(xb(s),r)))}function Ld(e){var t=0,r=0;return function(){var s=e1(),l=Y-(s-r);if(r=s,l>0){if(++t>=ee)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ua(e,t){var r=-1,s=e.length,l=s-1;for(t=t===n?s:t;++r<t;){var h=bs(r,l),v=e[h];e[h]=e[r],e[r]=v}return e.length=t,e}var Pd=Lb(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Oi,function(r,s,l,h){t.push(l?h.replace(F0,"$1"):s||r)}),t});function Mt(e){if(typeof e=="string"||ut(e))return e;var t=e+"";return t=="0"&&1/e==-Et?"-0":t}function Fn(e){if(e!=null){try{return Wi.call(e)}catch{}try{return e+""}catch{}}return""}function Db(e,t){return ht(Ar,function(r){var s="_."+r[0];t&r[1]&&!Pi(e,s)&&e.push(s)}),e.sort()}function Fd(e){if(e instanceof ue)return e.clone();var t=new vt(e.__wrapped__,e.__chain__);return t.__actions__=Ve(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Wb(e,t,r){(r?je(e,t,r):t===n)?t=1:t=Le(ie(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var l=0,h=0,v=I(qi(s/t));l<s;)v[h++]=mt(e,l,l+=t);return v}function Bb(e){for(var t=-1,r=e==null?0:e.length,s=0,l=[];++t<r;){var h=e[t];h&&(l[s++]=h)}return l}function Rb(){var e=arguments.length;if(!e)return[];for(var t=I(e-1),r=arguments[0],s=e;s--;)t[s-1]=arguments[s];return un(te(r)?Ve(r):[r],De(t,1))}var $b=oe(function(e,t){return Ae(e)?Hr(e,De(t,1,Ae,!0)):[]}),zb=oe(function(e,t){var r=yt(t);return Ae(r)&&(r=n),Ae(e)?Hr(e,De(t,1,Ae,!0),K(r,2)):[]}),Ub=oe(function(e,t){var r=yt(t);return Ae(r)&&(r=n),Ae(e)?Hr(e,De(t,1,Ae,!0),n,r):[]});function Hb(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:ie(t),mt(e,t<0?0:t,s)):[]}function qb(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:ie(t),t=s-t,mt(e,0,t<0?0:t)):[]}function jb(e,t){return e&&e.length?ea(e,K(t,3),!0,!0):[]}function Gb(e,t){return e&&e.length?ea(e,K(t,3),!0):[]}function Jb(e,t,r,s){var l=e==null?0:e.length;return l?(r&&typeof r!="number"&&je(e,t,r)&&(r=0,s=l),R1(e,t,r,s)):[]}function Md(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:ie(r);return l<0&&(l=Le(s+l,0)),Fi(e,K(t,3),l)}function kd(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return r!==n&&(l=ie(r),l=r<0?Le(s+l,0):Re(l,s-1)),Fi(e,K(t,3),l,!0)}function Dd(e){var t=e==null?0:e.length;return t?De(e,1):[]}function Yb(e){var t=e==null?0:e.length;return t?De(e,Et):[]}function Kb(e,t){var r=e==null?0:e.length;return r?(t=t===n?1:ie(t),De(e,t)):[]}function Xb(e){for(var t=-1,r=e==null?0:e.length,s={};++t<r;){var l=e[t];s[l[0]]=l[1]}return s}function Wd(e){return e&&e.length?e[0]:n}function Vb(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:ie(r);return l<0&&(l=Le(s+l,0)),Vn(e,t,l)}function Zb(e){var t=e==null?0:e.length;return t?mt(e,0,-1):[]}var Qb=oe(function(e){var t=we(e,Es);return t.length&&t[0]===e[0]?ps(t):[]}),e_=oe(function(e){var t=yt(e),r=we(e,Es);return t===yt(r)?t=n:r.pop(),r.length&&r[0]===e[0]?ps(r,K(t,2)):[]}),t_=oe(function(e){var t=yt(e),r=we(e,Es);return t=typeof t=="function"?t:n,t&&r.pop(),r.length&&r[0]===e[0]?ps(r,n,t):[]});function n_(e,t){return e==null?"":Zy.call(e,t)}function yt(e){var t=e==null?0:e.length;return t?e[t-1]:n}function r_(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s;return r!==n&&(l=ie(r),l=l<0?Le(s+l,0):Re(l,s-1)),t===t?Dy(e,t,l):Fi(e,mc,l,!0)}function i_(e,t){return e&&e.length?Yc(e,ie(t)):n}var a_=oe(Bd);function Bd(e,t){return e&&e.length&&t&&t.length?ys(e,t):e}function o_(e,t,r){return e&&e.length&&t&&t.length?ys(e,t,K(r,2)):e}function s_(e,t,r){return e&&e.length&&t&&t.length?ys(e,t,n,r):e}var u_=Yt(function(e,t){var r=e==null?0:e.length,s=ls(e,t);return Vc(e,we(t,function(l){return Kt(l,r)?+l:l}).sort(sd)),s});function f_(e,t){var r=[];if(!(e&&e.length))return r;var s=-1,l=[],h=e.length;for(t=K(t,3);++s<h;){var v=e[s];t(v,s,e)&&(r.push(v),l.push(s))}return Vc(e,l),r}function Bs(e){return e==null?e:n1.call(e)}function l_(e,t,r){var s=e==null?0:e.length;return s?(r&&typeof r!="number"&&je(e,t,r)?(t=0,r=s):(t=t==null?0:ie(t),r=r===n?s:ie(r)),mt(e,t,r)):[]}function c_(e,t){return Qi(e,t)}function d_(e,t,r){return ws(e,t,K(r,2))}function h_(e,t){var r=e==null?0:e.length;if(r){var s=Qi(e,t);if(s<r&&Ot(e[s],t))return s}return-1}function p_(e,t){return Qi(e,t,!0)}function v_(e,t,r){return ws(e,t,K(r,2),!0)}function g_(e,t){var r=e==null?0:e.length;if(r){var s=Qi(e,t,!0)-1;if(Ot(e[s],t))return s}return-1}function m_(e){return e&&e.length?Qc(e):[]}function y_(e,t){return e&&e.length?Qc(e,K(t,2)):[]}function b_(e){var t=e==null?0:e.length;return t?mt(e,1,t):[]}function __(e,t,r){return e&&e.length?(t=r||t===n?1:ie(t),mt(e,0,t<0?0:t)):[]}function w_(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===n?1:ie(t),t=s-t,mt(e,t<0?0:t,s)):[]}function S_(e,t){return e&&e.length?ea(e,K(t,3),!1,!0):[]}function x_(e,t){return e&&e.length?ea(e,K(t,3)):[]}var E_=oe(function(e){return dn(De(e,1,Ae,!0))}),A_=oe(function(e){var t=yt(e);return Ae(t)&&(t=n),dn(De(e,1,Ae,!0),K(t,2))}),T_=oe(function(e){var t=yt(e);return t=typeof t=="function"?t:n,dn(De(e,1,Ae,!0),n,t)});function I_(e){return e&&e.length?dn(e):[]}function O_(e,t){return e&&e.length?dn(e,K(t,2)):[]}function C_(e,t){return t=typeof t=="function"?t:n,e&&e.length?dn(e,n,t):[]}function Rs(e){if(!(e&&e.length))return[];var t=0;return e=sn(e,function(r){if(Ae(r))return t=Le(r.length,t),!0}),ns(t,function(r){return we(e,Qo(r))})}function Rd(e,t){if(!(e&&e.length))return[];var r=Rs(e);return t==null?r:we(r,function(s){return at(t,n,s)})}var N_=oe(function(e,t){return Ae(e)?Hr(e,t):[]}),L_=oe(function(e){return xs(sn(e,Ae))}),P_=oe(function(e){var t=yt(e);return Ae(t)&&(t=n),xs(sn(e,Ae),K(t,2))}),F_=oe(function(e){var t=yt(e);return t=typeof t=="function"?t:n,xs(sn(e,Ae),n,t)}),M_=oe(Rs);function k_(e,t){return rd(e||[],t||[],Ur)}function D_(e,t){return rd(e||[],t||[],Gr)}var W_=oe(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r=="function"?(e.pop(),r):n,Rd(e,r)});function $d(e){var t=d(e);return t.__chain__=!0,t}function B_(e,t){return t(e),e}function fa(e,t){return t(e)}var R_=Yt(function(e){var t=e.length,r=t?e[0]:0,s=this.__wrapped__,l=function(h){return ls(h,e)};return t>1||this.__actions__.length||!(s instanceof ue)||!Kt(r)?this.thru(l):(s=s.slice(r,+r+(t?1:0)),s.__actions__.push({func:fa,args:[l],thisArg:n}),new vt(s,this.__chain__).thru(function(h){return t&&!h.length&&h.push(n),h}))});function $_(){return $d(this)}function z_(){return new vt(this.value(),this.__chain__)}function U_(){this.__values__===n&&(this.__values__=eh(this.value()));var e=this.__index__>=this.__values__.length,t=e?n:this.__values__[this.__index__++];return{done:e,value:t}}function H_(){return this}function q_(e){for(var t,r=this;r instanceof Yi;){var s=Fd(r);s.__index__=0,s.__values__=n,t?l.__wrapped__=s:t=s;var l=s;r=r.__wrapped__}return l.__wrapped__=e,t}function j_(){var e=this.__wrapped__;if(e instanceof ue){var t=e;return this.__actions__.length&&(t=new ue(this)),t=t.reverse(),t.__actions__.push({func:fa,args:[Bs],thisArg:n}),new vt(t,this.__chain__)}return this.thru(Bs)}function G_(){return nd(this.__wrapped__,this.__actions__)}var J_=ta(function(e,t,r){ve.call(e,r)?++e[r]:Gt(e,r,1)});function Y_(e,t,r){var s=te(e)?vc:B1;return r&&je(e,t,r)&&(t=n),s(e,K(t,3))}function K_(e,t){var r=te(e)?sn:Rc;return r(e,K(t,3))}var X_=hd(Md),V_=hd(kd);function Z_(e,t){return De(la(e,t),1)}function Q_(e,t){return De(la(e,t),Et)}function ew(e,t,r){return r=r===n?1:ie(r),De(la(e,t),r)}function zd(e,t){var r=te(e)?ht:cn;return r(e,K(t,3))}function Ud(e,t){var r=te(e)?by:Bc;return r(e,K(t,3))}var tw=ta(function(e,t,r){ve.call(e,r)?e[r].push(t):Gt(e,r,[t])});function nw(e,t,r,s){e=Ze(e)?e:fr(e),r=r&&!s?ie(r):0;var l=e.length;return r<0&&(r=Le(l+r,0)),va(e)?r<=l&&e.indexOf(t,r)>-1:!!l&&Vn(e,t,r)>-1}var rw=oe(function(e,t,r){var s=-1,l=typeof t=="function",h=Ze(e)?I(e.length):[];return cn(e,function(v){h[++s]=l?at(t,v,r):qr(v,t,r)}),h}),iw=ta(function(e,t,r){Gt(e,r,t)});function la(e,t){var r=te(e)?we:jc;return r(e,K(t,3))}function aw(e,t,r,s){return e==null?[]:(te(t)||(t=t==null?[]:[t]),r=s?n:r,te(r)||(r=r==null?[]:[r]),Kc(e,t,r))}var ow=ta(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function sw(e,t,r){var s=te(e)?Vo:bc,l=arguments.length<3;return s(e,K(t,4),r,l,cn)}function uw(e,t,r){var s=te(e)?_y:bc,l=arguments.length<3;return s(e,K(t,4),r,l,Bc)}function fw(e,t){var r=te(e)?sn:Rc;return r(e,ha(K(t,3)))}function lw(e){var t=te(e)?Mc:nb;return t(e)}function cw(e,t,r){(r?je(e,t,r):t===n)?t=1:t=ie(t);var s=te(e)?F1:rb;return s(e,t)}function dw(e){var t=te(e)?M1:ab;return t(e)}function hw(e){if(e==null)return 0;if(Ze(e))return va(e)?Qn(e):e.length;var t=$e(e);return t==Ie||t==Ke?e.size:gs(e).length}function pw(e,t,r){var s=te(e)?Zo:ob;return r&&je(e,t,r)&&(t=n),s(e,K(t,3))}var vw=oe(function(e,t){if(e==null)return[];var r=t.length;return r>1&&je(e,t[0],t[1])?t=[]:r>2&&je(t[0],t[1],t[2])&&(t=[t[0]]),Kc(e,De(t,1),[])}),ca=Ky||function(){return ke.Date.now()};function gw(e,t){if(typeof t!="function")throw new pt(c);return e=ie(e),function(){if(--e<1)return t.apply(this,arguments)}}function Hd(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,Jt(e,C,n,n,n,n,t)}function qd(e,t){var r;if(typeof t!="function")throw new pt(c);return e=ie(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var $s=oe(function(e,t,r){var s=T;if(r.length){var l=fn(r,sr($s));s|=$}return Jt(e,s,t,r,l)}),jd=oe(function(e,t,r){var s=T|k;if(r.length){var l=fn(r,sr(jd));s|=$}return Jt(t,s,e,r,l)});function Gd(e,t,r){t=r?n:t;var s=Jt(e,R,n,n,n,n,n,t);return s.placeholder=Gd.placeholder,s}function Jd(e,t,r){t=r?n:t;var s=Jt(e,Z,n,n,n,n,n,t);return s.placeholder=Jd.placeholder,s}function Yd(e,t,r){var s,l,h,v,m,S,P=0,F=!1,D=!1,U=!0;if(typeof e!="function")throw new pt(c);t=bt(t)||0,Se(r)&&(F=!!r.leading,D="maxWait"in r,h=D?Le(bt(r.maxWait)||0,t):h,U="trailing"in r?!!r.trailing:U);function j(Te){var Ct=s,Zt=l;return s=l=n,P=Te,v=e.apply(Zt,Ct),v}function X(Te){return P=Te,m=Kr(se,t),F?j(Te):v}function ae(Te){var Ct=Te-S,Zt=Te-P,hh=t-Ct;return D?Re(hh,h-Zt):hh}function V(Te){var Ct=Te-S,Zt=Te-P;return S===n||Ct>=t||Ct<0||D&&Zt>=h}function se(){var Te=ca();if(V(Te))return le(Te);m=Kr(se,ae(Te))}function le(Te){return m=n,U&&s?j(Te):(s=l=n,v)}function ft(){m!==n&&id(m),P=0,s=S=l=m=n}function Ge(){return m===n?v:le(ca())}function lt(){var Te=ca(),Ct=V(Te);if(s=arguments,l=this,S=Te,Ct){if(m===n)return X(S);if(D)return id(m),m=Kr(se,t),j(S)}return m===n&&(m=Kr(se,t)),v}return lt.cancel=ft,lt.flush=Ge,lt}var mw=oe(function(e,t){return Wc(e,1,t)}),yw=oe(function(e,t,r){return Wc(e,bt(t)||0,r)});function bw(e){return Jt(e,q)}function da(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new pt(c);var r=function(){var s=arguments,l=t?t.apply(this,s):s[0],h=r.cache;if(h.has(l))return h.get(l);var v=e.apply(this,s);return r.cache=h.set(l,v)||h,v};return r.cache=new(da.Cache||jt),r}da.Cache=jt;function ha(e){if(typeof e!="function")throw new pt(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function _w(e){return qd(2,e)}var ww=sb(function(e,t){t=t.length==1&&te(t[0])?we(t[0],ot(K())):we(De(t,1),ot(K()));var r=t.length;return oe(function(s){for(var l=-1,h=Re(s.length,r);++l<h;)s[l]=t[l].call(this,s[l]);return at(e,this,s)})}),zs=oe(function(e,t){var r=fn(t,sr(zs));return Jt(e,$,n,t,r)}),Kd=oe(function(e,t){var r=fn(t,sr(Kd));return Jt(e,de,n,t,r)}),Sw=Yt(function(e,t){return Jt(e,L,n,n,n,t)});function xw(e,t){if(typeof e!="function")throw new pt(c);return t=t===n?t:ie(t),oe(e,t)}function Ew(e,t){if(typeof e!="function")throw new pt(c);return t=t==null?0:Le(ie(t),0),oe(function(r){var s=r[t],l=pn(r,0,t);return s&&un(l,s),at(e,this,l)})}function Aw(e,t,r){var s=!0,l=!0;if(typeof e!="function")throw new pt(c);return Se(r)&&(s="leading"in r?!!r.leading:s,l="trailing"in r?!!r.trailing:l),Yd(e,t,{leading:s,maxWait:t,trailing:l})}function Tw(e){return Hd(e,1)}function Iw(e,t){return zs(As(t),e)}function Ow(){if(!arguments.length)return[];var e=arguments[0];return te(e)?e:[e]}function Cw(e){return gt(e,E)}function Nw(e,t){return t=typeof t=="function"?t:n,gt(e,E,t)}function Lw(e){return gt(e,_|E)}function Pw(e,t){return t=typeof t=="function"?t:n,gt(e,_|E,t)}function Fw(e,t){return t==null||Dc(e,t,Fe(t))}function Ot(e,t){return e===t||e!==e&&t!==t}var Mw=aa(hs),kw=aa(function(e,t){return e>=t}),Mn=Uc((function(){return arguments})())?Uc:function(e){return xe(e)&&ve.call(e,"callee")&&!Oc.call(e,"callee")},te=I.isArray,Dw=fc?ot(fc):q1;function Ze(e){return e!=null&&pa(e.length)&&!Xt(e)}function Ae(e){return xe(e)&&Ze(e)}function Ww(e){return e===!0||e===!1||xe(e)&&qe(e)==_n}var vn=Vy||Zs,Bw=lc?ot(lc):j1;function Rw(e){return xe(e)&&e.nodeType===1&&!Xr(e)}function $w(e){if(e==null)return!0;if(Ze(e)&&(te(e)||typeof e=="string"||typeof e.splice=="function"||vn(e)||ur(e)||Mn(e)))return!e.length;var t=$e(e);if(t==Ie||t==Ke)return!e.size;if(Yr(e))return!gs(e).length;for(var r in e)if(ve.call(e,r))return!1;return!0}function zw(e,t){return jr(e,t)}function Uw(e,t,r){r=typeof r=="function"?r:n;var s=r?r(e,t):n;return s===n?jr(e,t,n,r):!!s}function Us(e){if(!xe(e))return!1;var t=qe(e);return t==Hn||t==Ir||typeof e.message=="string"&&typeof e.name=="string"&&!Xr(e)}function Hw(e){return typeof e=="number"&&Nc(e)}function Xt(e){if(!Se(e))return!1;var t=qe(e);return t==qn||t==Ai||t==Tr||t==jn}function Xd(e){return typeof e=="number"&&e==ie(e)}function pa(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ze}function Se(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function xe(e){return e!=null&&typeof e=="object"}var Vd=cc?ot(cc):J1;function qw(e,t){return e===t||vs(e,t,Ps(t))}function jw(e,t,r){return r=typeof r=="function"?r:n,vs(e,t,Ps(t),r)}function Gw(e){return Zd(e)&&e!=+e}function Jw(e){if(Nb(e))throw new Q(f);return Hc(e)}function Yw(e){return e===null}function Kw(e){return e==null}function Zd(e){return typeof e=="number"||xe(e)&&qe(e)==an}function Xr(e){if(!xe(e)||qe(e)!=rt)return!1;var t=zi(e);if(t===null)return!0;var r=ve.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Wi.call(r)==jy}var Hs=dc?ot(dc):Y1;function Xw(e){return Xd(e)&&e>=-ze&&e<=ze}var Qd=hc?ot(hc):K1;function va(e){return typeof e=="string"||!te(e)&&xe(e)&&qe(e)==on}function ut(e){return typeof e=="symbol"||xe(e)&&qe(e)==Be}var ur=pc?ot(pc):X1;function Vw(e){return e===n}function Zw(e){return xe(e)&&$e(e)==wn}function Qw(e){return xe(e)&&qe(e)==Wo}var eS=aa(ms),tS=aa(function(e,t){return e<=t});function eh(e){if(!e)return[];if(Ze(e))return va(e)?Tt(e):Ve(e);if(Wr&&e[Wr])return Fy(e[Wr]());var t=$e(e),r=t==Ie?is:t==Ke?Mi:fr;return r(e)}function Vt(e){if(!e)return e===0?e:0;if(e=bt(e),e===Et||e===-Et){var t=e<0?-1:1;return t*ko}return e===e?e:0}function ie(e){var t=Vt(e),r=t%1;return t===t?r?t-r:t:0}function th(e){return e?Nn(ie(e),0,nt):0}function bt(e){if(typeof e=="number")return e;if(ut(e))return At;if(Se(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Se(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_c(e);var r=D0.test(e);return r||B0.test(e)?gy(e.slice(2),r?2:8):k0.test(e)?At:+e}function nh(e){return Ft(e,Qe(e))}function nS(e){return e?Nn(ie(e),-ze,ze):e===0?e:0}function ge(e){return e==null?"":st(e)}var rS=ar(function(e,t){if(Yr(t)||Ze(t)){Ft(t,Fe(t),e);return}for(var r in t)ve.call(t,r)&&Ur(e,r,t[r])}),rh=ar(function(e,t){Ft(t,Qe(t),e)}),ga=ar(function(e,t,r,s){Ft(t,Qe(t),e,s)}),iS=ar(function(e,t,r,s){Ft(t,Fe(t),e,s)}),aS=Yt(ls);function oS(e,t){var r=ir(e);return t==null?r:kc(r,t)}var sS=oe(function(e,t){e=me(e);var r=-1,s=t.length,l=s>2?t[2]:n;for(l&&je(t[0],t[1],l)&&(s=1);++r<s;)for(var h=t[r],v=Qe(h),m=-1,S=v.length;++m<S;){var P=v[m],F=e[P];(F===n||Ot(F,tr[P])&&!ve.call(e,P))&&(e[P]=h[P])}return e}),uS=oe(function(e){return e.push(n,_d),at(ih,n,e)});function fS(e,t){return gc(e,K(t,3),Pt)}function lS(e,t){return gc(e,K(t,3),ds)}function cS(e,t){return e==null?e:cs(e,K(t,3),Qe)}function dS(e,t){return e==null?e:$c(e,K(t,3),Qe)}function hS(e,t){return e&&Pt(e,K(t,3))}function pS(e,t){return e&&ds(e,K(t,3))}function vS(e){return e==null?[]:Vi(e,Fe(e))}function gS(e){return e==null?[]:Vi(e,Qe(e))}function qs(e,t,r){var s=e==null?n:Ln(e,t);return s===n?r:s}function mS(e,t){return e!=null&&xd(e,t,$1)}function js(e,t){return e!=null&&xd(e,t,z1)}var yS=vd(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Bi.call(t)),e[t]=r},Js(et)),bS=vd(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Bi.call(t)),ve.call(e,t)?e[t].push(r):e[t]=[r]},K),_S=oe(qr);function Fe(e){return Ze(e)?Fc(e):gs(e)}function Qe(e){return Ze(e)?Fc(e,!0):V1(e)}function wS(e,t){var r={};return t=K(t,3),Pt(e,function(s,l,h){Gt(r,t(s,l,h),s)}),r}function SS(e,t){var r={};return t=K(t,3),Pt(e,function(s,l,h){Gt(r,l,t(s,l,h))}),r}var xS=ar(function(e,t,r){Zi(e,t,r)}),ih=ar(function(e,t,r,s){Zi(e,t,r,s)}),ES=Yt(function(e,t){var r={};if(e==null)return r;var s=!1;t=we(t,function(h){return h=hn(h,e),s||(s=h.length>1),h}),Ft(e,Ns(e),r),s&&(r=gt(r,_|O|E,yb));for(var l=t.length;l--;)Ss(r,t[l]);return r});function AS(e,t){return ah(e,ha(K(t)))}var TS=Yt(function(e,t){return e==null?{}:Q1(e,t)});function ah(e,t){if(e==null)return{};var r=we(Ns(e),function(s){return[s]});return t=K(t),Xc(e,r,function(s,l){return t(s,l[0])})}function IS(e,t,r){t=hn(t,e);var s=-1,l=t.length;for(l||(l=1,e=n);++s<l;){var h=e==null?n:e[Mt(t[s])];h===n&&(s=l,h=r),e=Xt(h)?h.call(e):h}return e}function OS(e,t,r){return e==null?e:Gr(e,t,r)}function CS(e,t,r,s){return s=typeof s=="function"?s:n,e==null?e:Gr(e,t,r,s)}var oh=yd(Fe),sh=yd(Qe);function NS(e,t,r){var s=te(e),l=s||vn(e)||ur(e);if(t=K(t,4),r==null){var h=e&&e.constructor;l?r=s?new h:[]:Se(e)?r=Xt(h)?ir(zi(e)):{}:r={}}return(l?ht:Pt)(e,function(v,m,S){return t(r,v,m,S)}),r}function LS(e,t){return e==null?!0:Ss(e,t)}function PS(e,t,r){return e==null?e:td(e,t,As(r))}function FS(e,t,r,s){return s=typeof s=="function"?s:n,e==null?e:td(e,t,As(r),s)}function fr(e){return e==null?[]:rs(e,Fe(e))}function MS(e){return e==null?[]:rs(e,Qe(e))}function kS(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=bt(r),r=r===r?r:0),t!==n&&(t=bt(t),t=t===t?t:0),Nn(bt(e),t,r)}function DS(e,t,r){return t=Vt(t),r===n?(r=t,t=0):r=Vt(r),e=bt(e),U1(e,t,r)}function WS(e,t,r){if(r&&typeof r!="boolean"&&je(e,t,r)&&(t=r=n),r===n&&(typeof t=="boolean"?(r=t,t=n):typeof e=="boolean"&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Vt(e),t===n?(t=e,e=0):t=Vt(t)),e>t){var s=e;e=t,t=s}if(r||e%1||t%1){var l=Lc();return Re(e+l*(t-e+vy("1e-"+((l+"").length-1))),t)}return bs(e,t)}var BS=or(function(e,t,r){return t=t.toLowerCase(),e+(r?uh(t):t)});function uh(e){return Gs(ge(e).toLowerCase())}function fh(e){return e=ge(e),e&&e.replace($0,Oy).replace(ay,"")}function RS(e,t,r){e=ge(e),t=st(t);var s=e.length;r=r===n?s:Nn(ie(r),0,s);var l=r;return r-=t.length,r>=0&&e.slice(r,l)==t}function $S(e){return e=ge(e),e&&Yn.test(e)?e.replace(it,Cy):e}function zS(e){return e=ge(e),e&&Uo.test(e)?e.replace(Fr,"\\$&"):e}var US=or(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),HS=or(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),qS=dd("toLowerCase");function jS(e,t,r){e=ge(e),t=ie(t);var s=t?Qn(e):0;if(!t||s>=t)return e;var l=(t-s)/2;return ia(ji(l),r)+e+ia(qi(l),r)}function GS(e,t,r){e=ge(e),t=ie(t);var s=t?Qn(e):0;return t&&s<t?e+ia(t-s,r):e}function JS(e,t,r){e=ge(e),t=ie(t);var s=t?Qn(e):0;return t&&s<t?ia(t-s,r)+e:e}function YS(e,t,r){return r||t==null?t=0:t&&(t=+t),t1(ge(e).replace(Ht,""),t||0)}function KS(e,t,r){return(r?je(e,t,r):t===n)?t=1:t=ie(t),_s(ge(e),t)}function XS(){var e=arguments,t=ge(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var VS=or(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function ZS(e,t,r){return r&&typeof r!="number"&&je(e,t,r)&&(t=r=n),r=r===n?nt:r>>>0,r?(e=ge(e),e&&(typeof t=="string"||t!=null&&!Hs(t))&&(t=st(t),!t&&Zn(e))?pn(Tt(e),0,r):e.split(t,r)):[]}var QS=or(function(e,t,r){return e+(r?" ":"")+Gs(t)});function ex(e,t,r){return e=ge(e),r=r==null?0:Nn(ie(r),0,e.length),t=st(t),e.slice(r,r+t.length)==t}function tx(e,t,r){var s=d.templateSettings;r&&je(e,t,r)&&(t=n),e=ge(e),t=ga({},t,s,bd);var l=ga({},t.imports,s.imports,bd),h=Fe(l),v=rs(l,h),m,S,P=0,F=t.interpolate||Ci,D="__p += '",U=as((t.escape||Ci).source+"|"+F.source+"|"+(F===An?M0:Ci).source+"|"+(t.evaluate||Ci).source+"|$","g"),j="//# sourceURL="+(ve.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ly+"]")+`
|
|
4
|
+
`;e.replace(U,function(V,se,le,ft,Ge,lt){return le||(le=ft),D+=e.slice(P,lt).replace(z0,Ny),se&&(m=!0,D+=`' +
|
|
5
5
|
__e(`+se+`) +
|
|
6
6
|
'`),Ge&&(S=!0,D+=`';
|
|
7
7
|
`+Ge+`;
|
|
8
8
|
__p += '`),le&&(D+=`' +
|
|
9
9
|
((__t = (`+le+`)) == null ? '' : __t) +
|
|
10
|
-
'`),
|
|
10
|
+
'`),P=lt+V.length,V}),D+=`';
|
|
11
11
|
`;var X=ve.call(t,"variable")&&t.variable;if(!X)D=`with (obj) {
|
|
12
12
|
`+D+`
|
|
13
13
|
}
|
|
@@ -17,10 +17,10 @@ __p += '`),le&&(D+=`' +
|
|
|
17
17
|
function print() { __p += __j.call(arguments, '') }
|
|
18
18
|
`:`;
|
|
19
19
|
`)+D+`return __p
|
|
20
|
-
}`;var ae=ch(function(){return pe(h,j+"return "+D).apply(n,v)});if(ae.source=D,Hs(ae))throw ae;return ae}function nx(e){return ge(e).toLowerCase()}function rx(e){return ge(e).toUpperCase()}function ix(e,t,r){if(e=ge(e),e&&(r||t===n))return _c(e);if(!e||!(t=st(t)))return e;var s=Tt(e),l=Tt(t),h=wc(s,l),v=Sc(s,l)+1;return pn(s,h,v).join("")}function ax(e,t,r){if(e=ge(e),e&&(r||t===n))return e.slice(0,Ec(e)+1);if(!e||!(t=st(t)))return e;var s=Tt(e),l=Sc(s,Tt(t))+1;return pn(s,0,l).join("")}function ox(e,t,r){if(e=ge(e),e&&(r||t===n))return e.replace(Ht,"");if(!e||!(t=st(t)))return e;var s=Tt(e),l=wc(s,Tt(t));return pn(s,l).join("")}function sx(e,t){var r=ee,s=J;if(Se(t)){var l="separator"in t?t.separator:l;r="length"in t?re(t.length):r,s="omission"in t?st(t.omission):s}e=ge(e);var h=e.length;if(Zn(e)){var v=Tt(e);h=v.length}if(r>=h)return e;var m=r-Qn(s);if(m<1)return s;var S=v?pn(v,0,m).join(""):e.slice(0,m);if(l===n)return S+s;if(v&&(m+=S.length-m),qs(l)){if(e.slice(m).search(l)){var F,M=S;for(l.global||(l=os(l.source,ge(Ul.exec(l))+"g")),l.lastIndex=0;F=l.exec(M);)var D=F.index;S=S.slice(0,D===n?m:D)}}else if(e.indexOf(st(l),m)!=m){var z=S.lastIndexOf(l);z>-1&&(S=S.slice(0,z))}return S+s}function ux(e){return e=ge(e),e&&Ee.test(e)?e.replace(Xe,Wy):e}var fx=or(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Js=dd("toUpperCase");function lh(e,t,r){return e=ge(e),t=r?n:t,t===n?Py(e)?$y(e):xy(e):e.match(t)||[]}var ch=oe(function(e,t){try{return at(e,n,t)}catch(r){return Hs(r)?r:new Q(r)}}),lx=Yt(function(e,t){return ht(t,function(r){r=Mt(r),Gt(e,r,zs(e[r],e))}),e});function cx(e){var t=e==null?0:e.length,r=Y();return e=t?we(e,function(s){if(typeof s[1]!="function")throw new pt(c);return[r(s[0]),s[1]]}):[],oe(function(s){for(var l=-1;++l<t;){var h=e[l];if(at(h[0],this,s))return at(h[1],this,s)}})}function dx(e){return W1(gt(e,w))}function Ys(e){return function(){return e}}function hx(e,t){return e==null||e!==e?t:e}var px=pd(),vx=pd(!0);function et(e){return e}function Ks(e){return qc(typeof e=="function"?e:gt(e,w))}function gx(e){return Gc(gt(e,w))}function mx(e,t){return Jc(e,gt(t,w))}var yx=oe(function(e,t){return function(r){return qr(r,e,t)}}),bx=oe(function(e,t){return function(r){return qr(e,r,t)}});function Xs(e,t,r){var s=Fe(t),l=Vi(t,s);r==null&&!(Se(t)&&(l.length||!s.length))&&(r=t,t=e,e=this,l=Vi(t,Fe(t)));var h=!(Se(r)&&"chain"in r)||!!r.chain,v=Xt(e);return ht(l,function(m){var S=t[m];e[m]=S,v&&(e.prototype[m]=function(){var F=this.__chain__;if(h||F){var M=e(this.__wrapped__),D=M.__actions__=Ve(this.__actions__);return D.push({func:S,args:arguments,thisArg:e}),M.__chain__=F,M}return S.apply(e,un([this.value()],arguments))})}),e}function _x(){return ke._===this&&(ke._=Gy),this}function Vs(){}function wx(e){return e=re(e),oe(function(t){return Yc(t,e)})}var Sx=Os(we),xx=Os(vc),Ex=Os(Qo);function dh(e){return ks(e)?es(Mt(e)):eb(e)}function Ax(e){return function(t){return e==null?n:Ln(e,t)}}var Tx=gd(),Ix=gd(!0);function Zs(){return[]}function Qs(){return!1}function Ox(){return{}}function Cx(){return""}function Nx(){return!0}function Lx(e,t){if(e=re(e),e<1||e>ze)return[];var r=nt,s=Re(e,nt);t=Y(t),e-=nt;for(var l=rs(s,t);++r<e;)t(r);return l}function Px(e){return te(e)?we(e,Mt):ut(e)?[e]:Ve(Pd(ge(e)))}function Fx(e){var t=++qy;return ge(e)+t}var Mx=ra(function(e,t){return e+t},0),kx=Cs("ceil"),Dx=ra(function(e,t){return e/t},1),Wx=Cs("floor");function Bx(e){return e&&e.length?Xi(e,et,ps):n}function Rx(e,t){return e&&e.length?Xi(e,Y(t,2),ps):n}function $x(e){return yc(e,et)}function zx(e,t){return yc(e,Y(t,2))}function Ux(e){return e&&e.length?Xi(e,et,ys):n}function Hx(e,t){return e&&e.length?Xi(e,Y(t,2),ys):n}var qx=ra(function(e,t){return e*t},1),jx=Cs("round"),Gx=ra(function(e,t){return e-t},0);function Jx(e){return e&&e.length?ns(e,et):0}function Yx(e,t){return e&&e.length?ns(e,Y(t,2)):0}return d.after=gw,d.ary=Hd,d.assign=rS,d.assignIn=rh,d.assignInWith=ga,d.assignWith=iS,d.at=aS,d.before=qd,d.bind=zs,d.bindAll=lx,d.bindKey=jd,d.castArray=Ow,d.chain=$d,d.chunk=Wb,d.compact=Bb,d.concat=Rb,d.cond=cx,d.conforms=dx,d.constant=Ys,d.countBy=J_,d.create=oS,d.curry=Gd,d.curryRight=Jd,d.debounce=Yd,d.defaults=sS,d.defaultsDeep=uS,d.defer=mw,d.delay=yw,d.difference=$b,d.differenceBy=zb,d.differenceWith=Ub,d.drop=Hb,d.dropRight=qb,d.dropRightWhile=jb,d.dropWhile=Gb,d.fill=Jb,d.filter=K_,d.flatMap=Z_,d.flatMapDeep=Q_,d.flatMapDepth=ew,d.flatten=Dd,d.flattenDeep=Yb,d.flattenDepth=Kb,d.flip=bw,d.flow=px,d.flowRight=vx,d.fromPairs=Xb,d.functions=vS,d.functionsIn=gS,d.groupBy=tw,d.initial=Zb,d.intersection=Qb,d.intersectionBy=e_,d.intersectionWith=t_,d.invert=yS,d.invertBy=bS,d.invokeMap=rw,d.iteratee=Ks,d.keyBy=iw,d.keys=Fe,d.keysIn=Qe,d.map=la,d.mapKeys=wS,d.mapValues=SS,d.matches=gx,d.matchesProperty=mx,d.memoize=da,d.merge=xS,d.mergeWith=ih,d.method=yx,d.methodOf=bx,d.mixin=Xs,d.negate=ha,d.nthArg=wx,d.omit=ES,d.omitBy=AS,d.once=_w,d.orderBy=aw,d.over=Sx,d.overArgs=ww,d.overEvery=xx,d.overSome=Ex,d.partial=Us,d.partialRight=Kd,d.partition=ow,d.pick=TS,d.pickBy=ah,d.property=dh,d.propertyOf=Ax,d.pull=a_,d.pullAll=Bd,d.pullAllBy=o_,d.pullAllWith=s_,d.pullAt=u_,d.range=Tx,d.rangeRight=Ix,d.rearg=Sw,d.reject=fw,d.remove=f_,d.rest=xw,d.reverse=Rs,d.sampleSize=cw,d.set=OS,d.setWith=CS,d.shuffle=dw,d.slice=l_,d.sortBy=vw,d.sortedUniq=m_,d.sortedUniqBy=y_,d.split=ZS,d.spread=Ew,d.tail=b_,d.take=__,d.takeRight=w_,d.takeRightWhile=S_,d.takeWhile=x_,d.tap=B_,d.throttle=Aw,d.thru=fa,d.toArray=eh,d.toPairs=oh,d.toPairsIn=sh,d.toPath=Px,d.toPlainObject=nh,d.transform=NS,d.unary=Tw,d.union=E_,d.unionBy=A_,d.unionWith=T_,d.uniq=I_,d.uniqBy=O_,d.uniqWith=C_,d.unset=LS,d.unzip=$s,d.unzipWith=Rd,d.update=PS,d.updateWith=FS,d.values=fr,d.valuesIn=MS,d.without=N_,d.words=lh,d.wrap=Iw,d.xor=L_,d.xorBy=P_,d.xorWith=F_,d.zip=M_,d.zipObject=k_,d.zipObjectDeep=D_,d.zipWith=W_,d.entries=oh,d.entriesIn=sh,d.extend=rh,d.extendWith=ga,Xs(d,d),d.add=Mx,d.attempt=ch,d.camelCase=BS,d.capitalize=uh,d.ceil=kx,d.clamp=kS,d.clone=Cw,d.cloneDeep=Lw,d.cloneDeepWith=Pw,d.cloneWith=Nw,d.conformsTo=Fw,d.deburr=fh,d.defaultTo=hx,d.divide=Dx,d.endsWith=RS,d.eq=Ot,d.escape=$S,d.escapeRegExp=zS,d.every=Y_,d.find=X_,d.findIndex=Md,d.findKey=fS,d.findLast=V_,d.findLastIndex=kd,d.findLastKey=lS,d.floor=Wx,d.forEach=zd,d.forEachRight=Ud,d.forIn=cS,d.forInRight=dS,d.forOwn=hS,d.forOwnRight=pS,d.get=js,d.gt=Mw,d.gte=kw,d.has=mS,d.hasIn=Gs,d.head=Wd,d.identity=et,d.includes=nw,d.indexOf=Vb,d.inRange=DS,d.invoke=_S,d.isArguments=Mn,d.isArray=te,d.isArrayBuffer=Dw,d.isArrayLike=Ze,d.isArrayLikeObject=Ae,d.isBoolean=Ww,d.isBuffer=vn,d.isDate=Bw,d.isElement=Rw,d.isEmpty=$w,d.isEqual=zw,d.isEqualWith=Uw,d.isError=Hs,d.isFinite=Hw,d.isFunction=Xt,d.isInteger=Xd,d.isLength=pa,d.isMap=Vd,d.isMatch=qw,d.isMatchWith=jw,d.isNaN=Gw,d.isNative=Jw,d.isNil=Kw,d.isNull=Yw,d.isNumber=Zd,d.isObject=Se,d.isObjectLike=xe,d.isPlainObject=Xr,d.isRegExp=qs,d.isSafeInteger=Xw,d.isSet=Qd,d.isString=va,d.isSymbol=ut,d.isTypedArray=ur,d.isUndefined=Vw,d.isWeakMap=Zw,d.isWeakSet=Qw,d.join=n_,d.kebabCase=US,d.last=yt,d.lastIndexOf=r_,d.lowerCase=HS,d.lowerFirst=qS,d.lt=eS,d.lte=tS,d.max=Bx,d.maxBy=Rx,d.mean=$x,d.meanBy=zx,d.min=Ux,d.minBy=Hx,d.stubArray=Zs,d.stubFalse=Qs,d.stubObject=Ox,d.stubString=Cx,d.stubTrue=Nx,d.multiply=qx,d.nth=i_,d.noConflict=_x,d.noop=Vs,d.now=ca,d.pad=jS,d.padEnd=GS,d.padStart=JS,d.parseInt=YS,d.random=WS,d.reduce=sw,d.reduceRight=uw,d.repeat=KS,d.replace=XS,d.result=IS,d.round=jx,d.runInContext=b,d.sample=lw,d.size=hw,d.snakeCase=VS,d.some=pw,d.sortedIndex=c_,d.sortedIndexBy=d_,d.sortedIndexOf=h_,d.sortedLastIndex=p_,d.sortedLastIndexBy=v_,d.sortedLastIndexOf=g_,d.startCase=QS,d.startsWith=ex,d.subtract=Gx,d.sum=Jx,d.sumBy=Yx,d.template=tx,d.times=Lx,d.toFinite=Vt,d.toInteger=re,d.toLength=th,d.toLower=nx,d.toNumber=bt,d.toSafeInteger=nS,d.toString=ge,d.toUpper=rx,d.trim=ix,d.trimEnd=ax,d.trimStart=ox,d.truncate=sx,d.unescape=ux,d.uniqueId=Fx,d.upperCase=fx,d.upperFirst=Js,d.each=zd,d.eachRight=Ud,d.first=Wd,Xs(d,(function(){var e={};return Pt(d,function(t,r){ve.call(d.prototype,r)||(e[r]=t)}),e})(),{chain:!1}),d.VERSION=o,ht(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){d[e].placeholder=d}),ht(["drop","take"],function(e,t){ue.prototype[e]=function(r){r=r===n?1:Le(re(r),0);var s=this.__filtered__&&!t?new ue(this):this.clone();return s.__filtered__?s.__takeCount__=Re(r,s.__takeCount__):s.__views__.push({size:Re(r,nt),type:e+(s.__dir__<0?"Right":"")}),s},ue.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),ht(["filter","map","takeWhile"],function(e,t){var r=t+1,s=r==We||r==Ye;ue.prototype[e]=function(l){var h=this.clone();return h.__iteratees__.push({iteratee:Y(l,3),type:r}),h.__filtered__=h.__filtered__||s,h}}),ht(["head","last"],function(e,t){var r="take"+(t?"Right":"");ue.prototype[e]=function(){return this[r](1).value()[0]}}),ht(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");ue.prototype[e]=function(){return this.__filtered__?new ue(this):this[r](1)}}),ue.prototype.compact=function(){return this.filter(et)},ue.prototype.find=function(e){return this.filter(e).head()},ue.prototype.findLast=function(e){return this.reverse().find(e)},ue.prototype.invokeMap=oe(function(e,t){return typeof e=="function"?new ue(this):this.map(function(r){return qr(r,e,t)})}),ue.prototype.reject=function(e){return this.filter(ha(Y(e)))},ue.prototype.slice=function(e,t){e=re(e);var r=this;return r.__filtered__&&(e>0||t<0)?new ue(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=re(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(nt)},Pt(ue.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),l=d[s?"take"+(t=="last"?"Right":""):t],h=s||/^find/.test(t);l&&(d.prototype[t]=function(){var v=this.__wrapped__,m=s?[1]:arguments,S=v instanceof ue,F=m[0],M=S||te(v),D=function(se){var le=l.apply(d,un([se],m));return s&&z?le[0]:le};M&&r&&typeof F=="function"&&F.length!=1&&(S=M=!1);var z=this.__chain__,j=!!this.__actions__.length,X=h&&!z,ae=S&&!j;if(!h&&M){v=ae?v:new ue(this);var V=e.apply(v,m);return V.__actions__.push({func:fa,args:[D],thisArg:n}),new vt(V,z)}return X&&ae?e.apply(this,m):(V=this.thru(D),X?s?V.value()[0]:V.value():V)})}),ht(["pop","push","shift","sort","splice","unshift"],function(e){var t=ki[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var h=this.value();return t.apply(te(h)?h:[],l)}return this[r](function(v){return t.apply(te(v)?v:[],l)})}}),Pt(ue.prototype,function(e,t){var r=d[t];if(r){var s=r.name+"";ve.call(rr,s)||(rr[s]=[]),rr[s].push({name:t,func:r})}}),rr[na(n,L).name]=[{name:"wrapper",func:n}],ue.prototype.clone=u1,ue.prototype.reverse=f1,ue.prototype.value=l1,d.prototype.at=R_,d.prototype.chain=$_,d.prototype.commit=z_,d.prototype.next=U_,d.prototype.plant=q_,d.prototype.reverse=j_,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=G_,d.prototype.first=d.prototype.head,Wr&&(d.prototype[Wr]=H_),d}),er=zy();Tn?((Tn.exports=er)._=er,Ko._=er):ke._=er}).call(vh)})(dr,dr.exports)),dr.exports}var kn=gh();class he{static toString(i){const n=eu(i);if(n==null)throw new Error("buildWinId: stringify error");return n}static getParamString(i,n){return i.params?.[n]?.toString()}static getParam(i,n){return i.params?.[n]}static isEquals(i,n){return kn.isEqual(i,n)}static indexOf(i,n){return i.map(he.toString).indexOf(he.toString(n))}static includes(i,n){return i.map(he.toString).includes(he.toString(n))}static withoutDup(i){const{params:n,viewId:o,title:u}=i;return{params:n,viewId:o,title:u}}static replaceDup(i){const{params:n,viewId:o,title:u}=i;return{params:n,viewId:o,title:u,dupId:`${new Date().getTime()}`}}}var ei={exports:{}},nu;function mh(){return nu||(nu=1,(function(a,i){Object.defineProperty(i,"__esModule",{value:!0});function n(C){return typeof C=="object"&&!("toString"in C)?Object.prototype.toString.call(C).slice(8,-1):C}var o=typeof process=="object"&&process.env.NODE_ENV==="production";function u(C,P){if(!C)throw o?new Error("Invariant failed"):new Error(P())}i.invariant=u;var f=Object.prototype.hasOwnProperty,c=Array.prototype.splice,p=Object.prototype.toString;function g(C){return p.call(C).slice(8,-1)}var y=Object.assign||(function(C,P){return _(P).forEach(function(q){f.call(P,q)&&(C[q]=P[q])}),C}),_=typeof Object.getOwnPropertySymbols=="function"?function(C){return Object.keys(C).concat(Object.getOwnPropertySymbols(C))}:function(C){return Object.keys(C)};function w(C){return Array.isArray(C)?y(C.constructor(C.length),C):g(C)==="Map"?new Map(C):g(C)==="Set"?new Set(C):C&&typeof C=="object"?y(Object.create(Object.getPrototypeOf(C)),C):C}var O=(function(){function C(){this.commands=y({},x),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(P,q){return P===q},this.update.newContext=function(){return new C().update}}return Object.defineProperty(C.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(P){this.update.isEquals=P},enumerable:!0,configurable:!0}),C.prototype.extend=function(P,q){this.commands[P]=q},C.prototype.update=function(P,q){var ee=this,J=typeof q=="function"?{$apply:q}:q;Array.isArray(P)&&Array.isArray(J)||u(!Array.isArray(J),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),u(typeof J=="object"&&J!==null,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the "+("following commands: "+Object.keys(ee.commands).join(", ")+".")});var ie=P;return _(J).forEach(function(K){if(f.call(ee.commands,K)){var We=P===ie;ie=ee.commands[K](J[K],ie,J,P),We&&ee.isEquals(ie,P)&&(ie=P)}else{var Je=g(P)==="Map"?ee.update(P.get(K),J[K]):ee.update(P[K],J[K]),Ye=g(ie)==="Map"?ie.get(K):ie[K];(!ee.isEquals(Je,Ye)||typeof Je>"u"&&!f.call(P,K))&&(ie===P&&(ie=w(P)),g(ie)==="Map"?ie.set(K,Je):ie[K]=Je)}}),ie},C})();i.Context=O;var x={$push:function(C,P,q){return A(P,q,"$push"),C.length?P.concat(C):P},$unshift:function(C,P,q){return A(P,q,"$unshift"),C.length?C.concat(P):P},$splice:function(C,P,q,ee){return L(P,q),C.forEach(function(J){W(J),P===ee&&J.length&&(P=w(ee)),c.apply(P,J)}),P},$set:function(C,P,q){return Z(q),C},$toggle:function(C,P){T(C,"$toggle");var q=C.length?w(P):P;return C.forEach(function(ee){q[ee]=!P[ee]}),q},$unset:function(C,P,q,ee){return T(C,"$unset"),C.forEach(function(J){Object.hasOwnProperty.call(P,J)&&(P===ee&&(P=w(ee)),delete P[J])}),P},$add:function(C,P,q,ee){return de(P,"$add"),T(C,"$add"),g(P)==="Map"?C.forEach(function(J){var ie=J[0],K=J[1];P===ee&&P.get(ie)!==K&&(P=w(ee)),P.set(ie,K)}):C.forEach(function(J){P===ee&&!P.has(J)&&(P=w(ee)),P.add(J)}),P},$remove:function(C,P,q,ee){return de(P,"$remove"),T(C,"$remove"),C.forEach(function(J){P===ee&&P.has(J)&&(P=w(ee)),P.delete(J)}),P},$merge:function(C,P,q,ee){return R(P,C),_(C).forEach(function(J){C[J]!==P[J]&&(P===ee&&(P=w(ee)),P[J]=C[J])}),P},$apply:function(C,P){return U(C),C(P)}},E=new O;i.isEquals=E.update.isEquals,i.extend=E.extend,i.default=E.update,i.default.default=a.exports=y(i.default,i);function A(C,P,q){u(Array.isArray(C),function(){return"update(): expected target of "+n(q)+" to be an array; got "+n(C)+"."}),T(P[q],q)}function T(C,P){u(Array.isArray(C),function(){return"update(): expected spec of "+n(P)+" to be an array; got "+n(C)+". Did you forget to wrap your parameter in an array?"})}function L(C,P){u(Array.isArray(C),function(){return"Expected $splice target to be an array; got "+n(C)}),W(P.$splice)}function W(C){u(Array.isArray(C),function(){return"update(): expected spec of $splice to be an array of arrays; got "+n(C)+". Did you forget to wrap your parameters in an array?"})}function U(C){u(typeof C=="function",function(){return"update(): expected spec of $apply to be a function; got "+n(C)+"."})}function Z(C){u(Object.keys(C).length===1,function(){return"Cannot have more than one key in an object with $set"})}function R(C,P){u(P&&typeof P=="object",function(){return"update(): $merge expects a spec of type 'object'; got "+n(P)}),u(C&&typeof C=="object",function(){return"update(): $merge expects a target of type 'object'; got "+n(C)})}function de(C,P){var q=g(C);u(q==="Map"||q==="Set",function(){return"update(): "+n(P)+" expects a target of type Set or Map; got "+n(q)})}})(ei,ei.exports)),ei.exports}var yh=mh();const bh=Qr(yh);var _h=Object.getOwnPropertyDescriptor,wh=(a,i,n,o)=>{for(var u=o>1?void 0:o?_h(i,n):i,f=a.length-1,c;f>=0;f--)(c=a[f])&&(u=c(u)||u);return u};ce.JustLayoutService=class{insertWinIdToStack=(i,n)=>{if(i==null)return i;const o=this.getNodeByBranch(i,n.branch);if(o.type!=="stack")return i;const f=o.tabs,c=n.index>=0?kn.clamp(n.index,0,f.length):f.length;return this.updateNodeOfBranch(i,n.branch,{$set:{...o,type:"stack",tabs:[...f.slice(0,c),n.justId,...f.slice(c)],active:n.justId}})};insertWinIdToSplit=(i,n)=>{if(i==null)return i;const o=this.getNodeByBranch(i,n.branch),u=n.pos==="first"?"second":"first";return this.updateNodeOfBranch(i,n.branch,{$set:{type:"split-percentage",direction:n.direction,[u]:{...o,name:void 0},[n.pos]:{type:"stack",tabs:[n.justId],active:n.justId,name:void 0},size:n.size??50,dndAccept:o.dndAccept,name:o.name,hideTitle:o.hideTitle}})};removeWinId=(i,n)=>{if(i==null)return null;const o=this.getNodeByWinId(i,n);if(o?.type!=="stack")return i;const u=o.active?he.indexOf(o.tabs,o.active):0,f=o.tabs.filter(p=>!he.isEquals(p,n));let c;return o.active!==null&&he.includes(f,o.active)?c=o.active:c=f.length>0&&o.active!==null?f[kn.clamp(u-1,0,f.length-1)]:null,this.updateNodeOfWinId(i,n,{$set:{...o,tabs:f,active:c}})};removeAllTabs=(i,n)=>{if(i==null)return null;const o=this.getNodeByBranch(i,n);return o==null||o.type!=="stack"?i:this.updateNodeOfBranch(i,n,{$set:{...o,tabs:[],active:null}})};activeWinId=(i,n)=>{if(i==null)return null;const o=this.getNodeByWinId(i,n);return o==null?i:this.updateNodeOfWinId(i,n,{$set:{...o,active:n}})};getActiveWinIds=i=>{const n=(o,u)=>{if(o===null)return u;if(o.type==="stack")return o.active!==null?[...u,o.active]:u;{const f=n(o.first,u);return n(o.second,f)}};return n(i,[])};removeEmpty=i=>{if(i==null)return i;const n=this.findEmptyBranch(i,null,[]);if(n===null)return i;if(n.length===0)return null;const o=n[n.length-1],u=n.slice(0,-1),f=o==="first"?"second":"first",c=this.getNodeByBranch(i,u),p=this.getNodeByBranch(i,[...u,f]);return this.updateNodeOfBranch(i,u,{$set:{...p,dndAccept:c.dndAccept,name:c.name,hideTitle:c.hideTitle}})};findEmptyBranch=(i,n,o)=>{if(i===null)return null;if(i.type==="stack"){const u=n!=null&&n.type!="stack"&&(!!n.first.name||!!n.second.name);if(i.tabs.length===0&&!u)return o}else{const u=this.findEmptyBranch(i.first,i,[...o,"first"]);if(u!=null)return u;const f=this.findEmptyBranch(i.second,i,[...o,"second"]);if(f!=null)return f}return null};moveWinIdToStack=(i,n)=>{const o=this.removeWinId(i,n.justId);return this.insertWinIdToStack(o,n)};moveWinIdToSplit=(i,n)=>{const o=this.removeWinId(i,n.justId);return this.insertWinIdToSplit(o,n)};getBranch=(i,n,o)=>{if(i===null)return null;if(i.type==="stack")return he.includes(i.tabs,n)?o:null;{const u=this.getBranch(i.first,n,[...o,"first"]);if(u!=null)return u;const f=this.getBranch(i.second,n,[...o,"second"]);return f??null}};getBranchByWinId=(i,n)=>this.getBranch(i,n,[]);getNodeInfoByNodeName=(i,n,o)=>{if(i===null)return null;if(i.name==n)return{node:i,branch:[...o]};if(i.type!="stack"){const u=this.getNodeInfoByNodeName(i.first,n,[...o,"first"]);if(u!=null)return u;const f=this.getNodeInfoByNodeName(i.second,n,[...o,"second"]);if(f!=null)return f}return null};getTabNodeInfoByNodeName=(i,n,o)=>{if(i===null)return null;const u=this.getNodeInfoByNodeName(i,n,o);if(u==null)return null;if(u.node.type==="stack")return u;{const f=this.getTabNodeInfo(u.node,[]);if(f!=null)return{node:f.node,branch:[...u.branch,...f.branch]}}return null};getNodeByWinId=(i,n)=>{if(i===null)return null;if(i.type==="stack")return he.includes(i.tabs,n)?(console.log("includes ok:",i.tabs,n),i):(console.log("includes nok:",i.tabs,n),null);{const o=this.getNodeByWinId(i.first,n);if(o!=null)return o;const u=this.getNodeByWinId(i.second,n);return u??null}};getTabBranch=(i,n)=>{if(i===null)return null;if(i.type==="stack")return n;{let o;i.type==="split-pixels"?o=i.primary==="first"?"second":"first":o=i.direction==="row"?"second":"first";const u=this.getTabBranch(i[o],[...n,o]);if(u!=null)return u}return null};getTabNodeInfo=(i,n)=>{if(i===null)return null;if(i.type==="stack")return{node:i,branch:n};{let o;i.type==="split-pixels"?o=i.primary==="first"?"second":"first":o=i.direction==="row"?"second":"first";const u=this.getTabNodeInfo(i[o],[...n,o]);if(u!=null)return u}return null};addTabWin=(i,n,o,u)=>{if(i===null)return null;const f=this.getNodeByBranch(i,n);if(f.type!=="stack")return i;const c=u<0?f.tabs.length:kn.clamp(u,0,f.tabs.length);return this.updateNodeOfBranch(i,n,{$merge:{tabs:[...f.tabs.slice(0,c),o,...f.tabs.slice(c)],active:o}})};queryWinIdsByViewId=(i,n,o)=>{if(i===null)return o;if(i.type==="stack")return[...o,...i.tabs.filter(u=>u.viewId===n)];{const u=this.queryWinIdsByViewId(i.first,n,o);return this.queryWinIdsByViewId(i.second,n,[...o,...u])}};queryDupWinIdsByWinId=(i,n,o)=>{if(i===null)return o;if(i.type==="stack"){const u=he.withoutDup(n),f=i.tabs.filter(c=>{const p=he.withoutDup(c);return he.isEquals(u,p)});return[...o,...f]}else{const u=this.queryDupWinIdsByWinId(i.first,n,o);return this.queryDupWinIdsByWinId(i.second,n,[...o,...u])}};queryWinIdsByStack=(i,n)=>{if(i===null)return[];const o=this.getNodeByBranch(i,n);return o.type!=="stack"?[]:o.tabs};getNodeByBranch=(i,n)=>n.reduce((o,u)=>o?.[u],i);updateNodeOfBranch=(i,n,o)=>{const u=this.buildSpecFromUpdateSpec(n,o);return this.updateNode(i,u)};updateNodeOfWinId=(i,n,o)=>{const u=this.getBranchByWinId(i,n);if(u==null)return i;const f=this.buildSpecFromUpdateSpec(u,o);return this.updateNode(i,f)};hasWinId=(i,n)=>this.getNodeByWinId(i,n)!=null;updateNode=(i,n)=>i==null?null:bh(i,n);buildSpecFromUpdateSpec=(i,n)=>i.length>0?kn.set({},i,n):n;getNodeAtBranch=(i,n)=>n.length>0?kn.get(i,n,null):i;getBranchRightTop=i=>{if(i==null)return[];let n=i;const o=[];for(;n.type!=="stack";)n.direction==="row"?(o.push("second"),n=n.second):n.direction==="column"&&(o.push("first"),n=n.first);return o};updateSplitSize=(i,n,o)=>{const u=this.buildSpecFromUpdateSpec(n,{$merge:{size:o}});return this.updateNode(i,u)}},ce.JustLayoutService=wh([Vr.injectable()],ce.JustLayoutService);var Sh=Object.getOwnPropertyDescriptor,xh=(a,i,n,o)=>{for(var u=o>1?void 0:o?Sh(i,n):i,f=a.length-1,c;f>=0;f--)(c=a[f])&&(u=c(u)||u);return u},Eh=(a,i)=>(n,o)=>i(n,o,a);ce.JustLayoutStore=class{service;layout=null;lastActiveId=null;lastActiveTm=new Date().getTime();fullScreenLayout=null;fullScreenHideTitle=!1;tabTitleMap=new Map;tabTitleTooltipMap=new Map;constructor(i){this.service=i,lr.makeAutoObservable(this,{service:!1},{autoBind:!0})}setLayout=i=>{this.layout=i};setTabTitle=(i,n)=>{this.tabTitleMap.set(he.toString(i),n)};getTabTitle=i=>this.tabTitleMap.get(he.toString(i));setTabTitleTooltip=(i,n)=>{this.tabTitleTooltipMap.set(he.toString(i),n)};getTabTitleTooltip=i=>this.tabTitleTooltipMap.get(he.toString(i));setFullScreenLayoutByBranch=i=>{i===null?this.fullScreenLayout=null:this.fullScreenLayout=this.service.getNodeAtBranch(this.layout,i)};setFullScreenHideTitle=i=>{this.fullScreenHideTitle=i};addTab=i=>{const n=this.service.getTabBranch(this.layout,[]);n!=null&&(this.service.hasWinId(this.layout,i.justId)?this.layout=this.service.activeWinId(this.layout,i.justId):this.layout=this.service.addTabWin(this.layout,n,i.justId,-1),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime())};addTabByNodeName=i=>{const n=this.service.getTabNodeInfoByNodeName(this.layout,i.nodeName,[]);n!=null&&(this.service.hasWinId(this.layout,i.justId)?this.layout=this.service.activeWinId(this.layout,i.justId):this.layout=this.service.addTabWin(this.layout,n.branch,i.justId,-1),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime())};queryWinIdsByViewId=i=>this.service.queryWinIdsByViewId(this.layout??null,i,[]);cloneTab=i=>{const n=this.service.getBranchByWinId(this.layout,i.justId);if(n==null)return;const o=this.service.getNodeAtBranch(this.layout,n);let u=0;o?.type==="stack"&&o.active!=null&&(u=he.indexOf(o.tabs,i.justId)+1),this.layout=this.service.addTabWin(this.layout,n,i.cloneJustId,u),this.lastActiveId=i.cloneJustId,this.lastActiveTm=new Date().getTime()};removeWin=i=>{this.layout=this.service.removeEmpty(this.service.removeWinId(this.layout,i.justId))};removeAllTabs=i=>{this.layout=this.service.removeEmpty(this.service.removeAllTabs(this.layout,i.branch))};activeWin=i=>{this.layout=this.service.activeWinId(this.layout,i.justId),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime()};activePrevWin=()=>{const i=this.lastActiveId;if(i==null)return;const n=this.service.getNodeByWinId(this.layout,i);if(n?.type!=="stack"||n.tabs.length===0)return;const u=(he.indexOf(n.tabs,i)-1+n.tabs.length)%n.tabs.length,f=n.tabs[u];this.activeWin({justId:f})};activeNextWin=()=>{const i=this.lastActiveId;if(i==null)return;const n=this.service.getNodeByWinId(this.layout,i);if(n?.type!=="stack"||n.tabs.length===0)return;const u=(he.indexOf(n.tabs,i)+1)%n.tabs.length,f=n.tabs[u];this.activeWin({justId:f})};updateResize=i=>{this.layout=this.service.updateSplitSize(this.layout,i.branch,i.size)};moveWin=i=>{i.pos==="stack"?this.layout=this.service.removeEmpty(this.service.moveWinIdToStack(this.layout,i)):this.layout=this.service.removeEmpty(this.service.moveWinIdToSplit(this.layout,i)),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime()};toggleSideMenu=()=>{if(this.layout===null||this.layout.type!=="split-pixels")return;const i=this.layout.size<=0?this.layout.primaryDefaultSize:0;this.updateResize({branch:[],size:i})};toggleWin=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o==null||o.node.type!=="split-pixels")return;const u=o.node.primaryHide!==!0,f=!u||o.node.size<10?o.node.primaryDefaultSize:0,c=this.service.buildSpecFromUpdateSpec(o.branch,{$merge:{size:f,primaryHide:u}}),p=this.service.updateNode(n,c);p!=null&&this.setLayout(p)};showWin=({nodeName:i,show:n})=>{const o=this.layout,u=this.service.getNodeInfoByNodeName(o,i,[]);if(u!=null&&u.node.type==="split-pixels"&&n===(u.node.size===0)){const f=n?u.node.primaryDefaultSize:0,c=this.service.buildSpecFromUpdateSpec(u.branch,{$merge:{size:f}}),p=this.service.updateNode(o,c);if(p==null)return;this.setLayout(p)}};getSizeByNodeName=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o!=null)return o.node.type==="split-pixels"||o.node.type==="split-percentage"?o.node.size:null};getBranchByJustId=({justId:i})=>{const n=this.layout;return this.service.getBranchByWinId(n,i)};isPrimaryHide=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o!=null)return o.node.type==="split-pixels"?o.node.primaryHide:null};openWin=({justId:i})=>{this.service.hasWinId(this.layout??null,i)?this.activeWin({justId:i}):this.addTab({justId:i})};openWinByNodeName=({justId:i,nodeName:n})=>{this.service.hasWinId(this.layout??null,i)?(console.log("hasWinId",i),this.activeWin({justId:i})):(console.log("addTabByNodeName",i),this.addTabByNodeName({justId:i,nodeName:n}))};getWinIds=({viewId:i})=>this.service.queryWinIdsByViewId(this.layout??null,i,[]);getDupWinIds=({justId:i})=>this.service.queryDupWinIdsByWinId(this.layout??null,i,[]);getWinIdsByBranch=({branch:i})=>this.service.queryWinIdsByStack(this.layout??null,i);getNodeAtBranch=({branch:i})=>this.service.getNodeAtBranch(this.layout??null,i);openWinMenu=({justId:i,nodeName:n})=>{const o=i.viewId,u=this.getWinIds({viewId:o});if(u.length===0)console.log("openWinMenu1",u,i),this.openWinByNodeName({justId:i,nodeName:n});else{const f=u.toSorted((c,p)=>(c.dupId??"")<=(p.dupId??"")?-1:1).at(-1);f&&(console.log("openWinMenu2",u,f),this.openWinByNodeName({justId:f,nodeName:n}))}};fullScreenWin=async(i,n,o=!1)=>{n?this.setLayout(null):(this.setFullScreenLayoutByBranch(i),this.setFullScreenHideTitle(o))}},ce.JustLayoutStore=xh([Vr.injectable(),Eh(0,Vr.inject(kt.JustLayoutService))],ce.JustLayoutStore);const Ah=new Vr.ContainerModule(({bind:a})=>{a(kt.JustLayoutService).to(ce.JustLayoutService).inSingletonScope(),a(kt.JustLayoutStore).to(ce.JustLayoutStore).inTransientScope(),a(kt.JustLayoutStoreCacheMap).toConstantValue(new Map),a(kt.JustLayoutFactory).toFactory(i=>{const n=i.get(kt.JustLayoutStoreCacheMap);return o=>{if(!n.has(o)){const u=i.get(kt.JustLayoutStore);n.set(o,u)}return n.get(o)}})}),Nt=a=>{const i=ph.useInjection(kt.JustLayoutFactory),[n]=k.useState(()=>i(a));return n};var ya={exports:{}};var ru;function Th(){return ru||(ru=1,(function(a){(function(){var i={}.hasOwnProperty;function n(){for(var f="",c=0;c<arguments.length;c++){var p=arguments[c];p&&(f=u(f,o(p)))}return f}function o(f){if(typeof f=="string"||typeof f=="number")return f;if(typeof f!="object")return"";if(Array.isArray(f))return n.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var c="";for(var p in f)i.call(f,p)&&f[p]&&(c=u(c,p));return c}function u(f,c){return c?f?f+" "+c:f+c:f}a.exports?(n.default=n,a.exports=n):window.classNames=n})()})(ya)),ya.exports}var Ih=Th();const _t=Qr(Ih),iu=a=>!!a&&a[0]==="o",au=cr.unstable_batchedUpdates,hr=(a,i)=>a===!0||!!(a&&a[i]),ct=(a,i)=>typeof a=="function"?a(i):a,Oh="_szhsinMenu",Ch=a=>a[Oh],ti=(a,i)=>(i&&Object.keys(i).forEach(n=>{const o=a[n],u=i[n];typeof u=="function"&&o?a[n]=(...f)=>{u(...f),o(...f)}:a[n]=u}),a),Nh=a=>{if(typeof a!="string")return{top:0,right:0,bottom:0,left:0};const i=a.trim().split(/\s+/,4).map(parseFloat),n=isNaN(i[0])?0:i[0],o=isNaN(i[1])?n:i[1];return{top:n,right:o,bottom:isNaN(i[2])?n:i[2],left:isNaN(i[3])?o:i[3]}},ba=a=>{for(;a;){if(a=a.parentNode,!a||a===document.body||!a.parentNode)return;const{overflow:i,overflowX:n,overflowY:o}=getComputedStyle(a);if(/auto|scroll|overlay|hidden/.test(i+o+n))return a}};function ou(a,i){return{"aria-disabled":a||void 0,tabIndex:i?0:-1}}function su(a,i){for(let n=0;n<a.length;n++)if(a[n]===i)return n;return-1}const ni=({block:a,element:i,modifiers:n,className:o})=>k.useMemo(()=>{const u=i?`${a}__${i}`:a;let f=u;n&&Object.keys(n).forEach(p=>{const g=n[p];g&&(f+=` ${u}--${g===!0?p:`${p}-${g}`}`)});let c=typeof o=="function"?o(n):o;return typeof c=="string"&&(c=c.trim(),c&&(f+=` ${c}`)),f},[a,i,n,o]),Lh="szh-menu-container",ri="szh-menu",Ph="arrow",Fh="item",uu=k.createContext(),fu=k.createContext({}),lu=k.createContext({}),cu=k.createContext({}),Mh=k.createContext({}),_a=k.createContext({}),wt=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),Ce=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),pr=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),vr=Object.freeze({FIRST:"first",LAST:"last"}),kh=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),du="absolute",Dh="none",Wh="menuitem",wa={preventScroll:!0},Bh=({className:a,containerRef:i,containerProps:n,children:o,isOpen:u,theming:f,transition:c,onClose:p})=>{const g=hr(c,"item"),y=({key:w})=>{w===wt.ESC&&ct(p,{key:w,reason:pr.CANCEL})},_=w=>{u&&!w.currentTarget.contains(w.relatedTarget)&&ct(p,{reason:pr.BLUR})};return $.jsx("div",{...ti({onKeyDown:y,onBlur:_},n),className:ni({block:Lh,modifiers:k.useMemo(()=>({theme:f,itemTransition:g}),[f,g]),className:a}),style:{position:"absolute",...n?.style},ref:i,children:o})},Rh=()=>{let a,i=0;return{toggle:n=>{n?i++:i--,i=Math.max(i,0)},on:(n,o,u)=>{i?a||(a=setTimeout(()=>{a=0,o()},n)):u?.()},off:()=>{a&&(clearTimeout(a),a=0)}}},$h=a=>{const[i,n]=k.useState(),u=k.useRef({items:[],hoverIndex:-1,sorted:!1}).current,f=k.useCallback((p,g)=>{const{items:y}=u;if(!p)u.items=[];else if(g)y.push(p);else{const _=y.indexOf(p);_>-1&&(y.splice(_,1),p.contains(document.activeElement)&&(a.current.focus(wa),n()))}u.hoverIndex=-1,u.sorted=!1},[u,a]),c=k.useCallback((p,g,y)=>{const{items:_,hoverIndex:w}=u,O=()=>{if(u.sorted)return;const A=a.current.querySelectorAll(".szh-menu__item");_.sort((T,L)=>su(A,T)-su(A,L)),u.sorted=!0};let x=-1,E;switch(p){case Ce.RESET:break;case Ce.SET:E=g;break;case Ce.UNSET:E=A=>A===g?void 0:A;break;case Ce.FIRST:O(),x=0,E=_[x];break;case Ce.LAST:O(),x=_.length-1,E=_[x];break;case Ce.SET_INDEX:O(),x=y,E=_[x];break;case Ce.INCREASE:O(),x=w,x<0&&(x=_.indexOf(g)),x++,x>=_.length&&(x=0),E=_[x];break;case Ce.DECREASE:O(),x=w,x<0&&(x=_.indexOf(g)),x--,x<0&&(x=_.length-1),E=_[x];break;default:if(process.env.NODE_ENV!=="production")throw new Error(`[React-Menu] Unknown hover action type: ${p}`)}E||(x=-1),n(E),u.hoverIndex=x},[a,u]);return{hoverItem:i,dispatch:c,updateItems:f}},hu=(a,i)=>Math.round(a)===i?a:i,zh=a=>{const i=a.getBoundingClientRect();return i.width=hu(i.width,a.offsetWidth),i.height=hu(i.height,a.offsetHeight),i},Uh=(a,i,n,o)=>{const u=zh(i),f=a.getBoundingClientRect(),c=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),p=Nh(o),g=E=>E+f.left-c.left-p.left,y=E=>E+f.left+u.width-c.right+p.right,_=E=>E+f.top-c.top-p.top,w=E=>E+f.top+u.height-c.bottom+p.bottom;return{menuRect:u,containerRect:f,getLeftOverflow:g,getRightOverflow:y,getTopOverflow:_,getBottomOverflow:w,confineHorizontally:E=>{let A=g(E);if(A<0)E-=A;else{const T=y(E);T>0&&(E-=T,A=g(E),A<0&&(E-=A))}return E},confineVertically:E=>{let A=_(E);if(A<0)E-=A;else{const T=w(E);T>0&&(E-=T,A=_(E),A<0&&(E-=A))}return E}}},Hh=({arrowRef:a,menuY:i,anchorRect:n,containerRect:o,menuRect:u})=>{let f=n.top-o.top-i+n.height/2;const c=a.current.offsetHeight*1.25;return f=Math.max(c,f),f=Math.min(f,u.height-c),f},qh=({anchorRect:a,containerRect:i,menuRect:n,placeLeftorRightY:o,placeLeftX:u,placeRightX:f,getLeftOverflow:c,getRightOverflow:p,confineHorizontally:g,confineVertically:y,arrowRef:_,arrow:w,direction:O,position:x})=>{let E=O,A=o;x!=="initial"&&(A=y(A),x==="anchor"&&(A=Math.min(A,a.bottom-i.top),A=Math.max(A,a.top-i.top-n.height)));let T,L,W;return E==="left"?(T=u,x!=="initial"&&(L=c(T),L<0&&(W=p(f),(W<=0||-L>W)&&(T=f,E="right")))):(T=f,x!=="initial"&&(W=p(T),W>0&&(L=c(u),(L>=0||-L<W)&&(T=u,E="left")))),x==="auto"&&(T=g(T)),{arrowY:w?Hh({menuY:A,arrowRef:_,anchorRect:a,containerRect:i,menuRect:n}):void 0,x:T,y:A,computedDirection:E}},jh=({arrowRef:a,menuX:i,anchorRect:n,containerRect:o,menuRect:u})=>{let f=n.left-o.left-i+n.width/2;const c=a.current.offsetWidth*1.25;return f=Math.max(c,f),f=Math.min(f,u.width-c),f},Gh=({anchorRect:a,containerRect:i,menuRect:n,placeToporBottomX:o,placeTopY:u,placeBottomY:f,getTopOverflow:c,getBottomOverflow:p,confineHorizontally:g,confineVertically:y,arrowRef:_,arrow:w,direction:O,position:x})=>{let E=O==="top"?"top":"bottom",A=o;x!=="initial"&&(A=g(A),x==="anchor"&&(A=Math.min(A,a.right-i.left),A=Math.max(A,a.left-i.left-n.width)));let T,L,W;return E==="top"?(T=u,x!=="initial"&&(L=c(T),L<0&&(W=p(f),(W<=0||-L>W)&&(T=f,E="bottom")))):(T=f,x!=="initial"&&(W=p(T),W>0&&(L=c(u),(L>=0||-L<W)&&(T=u,E="top")))),x==="auto"&&(T=y(T)),{arrowX:w?jh({menuX:A,arrowRef:_,anchorRect:a,containerRect:i,menuRect:n}):void 0,x:A,y:T,computedDirection:E}},Jh=({arrow:a,align:i,direction:n,gap:o,shift:u,position:f,anchorRect:c,arrowRef:p,positionHelpers:g})=>{const{menuRect:y,containerRect:_}=g,w=n==="left"||n==="right";let O=w?o:u,x=w?u:o;if(a){const R=p.current;w?O+=R.offsetWidth:x+=R.offsetHeight}const E=c.left-_.left-y.width-O,A=c.right-_.left+O,T=c.top-_.top-y.height-x,L=c.bottom-_.top+x;let W,U;i==="end"?(W=c.right-_.left-y.width,U=c.bottom-_.top-y.height):i==="center"?(W=c.left-_.left-(y.width-c.width)/2,U=c.top-_.top-(y.height-c.height)/2):(W=c.left-_.left,U=c.top-_.top),W+=O,U+=x;const Z={...g,anchorRect:c,placeLeftX:E,placeRightX:A,placeLeftorRightY:U,placeTopY:T,placeBottomY:L,placeToporBottomX:W,arrowRef:p,arrow:a,direction:n,position:f};switch(n){case"left":case"right":return qh(Z);default:return Gh(Z)}},ii=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?k.useLayoutEffect:k.useEffect;function pu(a,i){typeof a=="function"?a(i):a.current=i}const Sa=(a,i)=>k.useMemo(()=>a?i?n=>{pu(a,n),pu(i,n)}:a:i,[a,i]),vu=-9999,Yh=({ariaLabel:a,menuClassName:i,menuStyle:n,arrow:o,arrowProps:u={},anchorPoint:f,anchorRef:c,containerRef:p,containerProps:g,externalRef:y,parentScrollingRef:_,align:w="start",direction:O="bottom",position:x="auto",overflow:E="visible",setDownOverflow:A,repositionFlag:T,captureFocus:L=!0,state:W,endTransition:U,isDisabled:Z,menuItemFocus:R,gap:de=0,shift:C=0,children:P,onClose:q,focusProps:ee,...J})=>{const[ie,K]=k.useState({x:vu,y:vu}),[We,Je]=k.useState({}),[Ye,Et]=k.useState(),[ze,Do]=k.useState(O),[At]=k.useState(Rh),[nt,xi]=k.useReducer(fe=>fe+1,1),{transition:Ei,boundingBoxRef:Ar,boundingBoxPadding:Ut,rootMenuRef:bn,rootAnchorRef:Tr,scrollNodesRef:_n,reposition:rn,viewScroll:Ir,submenuCloseDelay:Hn}=k.useContext(_a),{submenuCtx:qn,reposSubmenu:Ai=T}=k.useContext(lu),Ie=k.useRef(),an=k.useRef(),Ti=k.useRef(!1),{hoverItem:rt,dispatch:Ue,updateItems:jn}=$h(Ie),Oe=iu(W),Ke=hr(Ei,"open"),on=hr(Ei,"close"),Be=_n.current,Wo=fe=>{switch(fe.key){case wt.HOME:Ue(Ce.FIRST);break;case wt.END:Ue(Ce.LAST);break;case wt.UP:Ue(Ce.DECREASE,rt);break;case wt.DOWN:Ue(Ce.INCREASE,rt);break;case wt.SPACE:fe.target&&fe.target.className.indexOf(ri)!==-1&&fe.preventDefault();return;default:return}fe.preventDefault(),fe.stopPropagation()},wn=()=>{W==="closing"&&Et(),ct(U)},Bo=fe=>{fe.stopPropagation(),At.on(Hn,()=>{Ue(Ce.RESET),Ie.current.focus(wa)})},Sn=fe=>{fe.target===fe.currentTarget&&At.off()},He=k.useCallback(fe=>{const Pe=Ie.current,Xe=p.current;if(!Pe||!Xe)return;const it=c?c.current?.getBoundingClientRect():f?{left:f.x,right:f.x,top:f.y,bottom:f.y,width:0,height:0}:null;if(!it){process.env.NODE_ENV!=="production"&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open.");return}Be.menu||(Be.menu=(Ar?Ar.current:ba(bn.current))||window);const Ee=Uh(Xe,Pe,Be.menu,Ut);let{arrowX:Yn,arrowY:Ro,x:$o,y:An,computedDirection:zo}=Jh({arrow:o,align:w,direction:O,gap:de,shift:C,position:x,anchorRect:it,arrowRef:an,positionHelpers:Ee});const{menuRect:Uo}=Ee,Oi=Uo.height;if(!fe&&E!=="visible"){const{getTopOverflow:Fr,getBottomOverflow:Ho}=Ee;let Ht,Mr;const kr=Ho(An);if(kr>0)Ht=Oi-kr,Mr=kr;else{const Kn=Fr(An);Kn<0&&(Ht=Oi+Kn,Mr=0-Kn,Ht>=0&&(An-=Kn))}Ht>=0&&Et({height:Ht,overflowAmt:Mr})}o&&Je({x:Yn,y:Ro}),K({x:$o,y:An}),Do(zo)},[o,w,Ut,O,de,C,x,E,f,c,p,Ar,bn,Be]);ii(()=>{Oe&&(He(),Ti.current&&xi()),Ti.current=Oe},[Oe,He,Ai]),ii(()=>{Ye&&!A&&(Ie.current.scrollTop=0)},[Ye,A]),ii(()=>jn,[jn]),k.useEffect(()=>{let{menu:fe}=Be;if(!Oe||!fe)return;if(fe=fe.addEventListener?fe:window,!Be.anchors){Be.anchors=[];let Ee=ba(Tr&&Tr.current);for(;Ee&&Ee!==fe;)Be.anchors.push(Ee),Ee=ba(Ee)}let Pe=Ir;if(Be.anchors.length&&Pe==="initial"&&(Pe="auto"),Pe==="initial")return;const Xe=()=>{Pe==="auto"?au(()=>He(!0)):ct(q,{reason:pr.SCROLL})},it=Be.anchors.concat(Ir!=="initial"?fe:[]);return it.forEach(Ee=>Ee.addEventListener("scroll",Xe)),()=>it.forEach(Ee=>Ee.removeEventListener("scroll",Xe))},[Tr,Be,Oe,q,Ir,He]);const Gn=!!Ye&&Ye.overflowAmt>0;k.useEffect(()=>{if(Gn||!Oe||!_)return;const fe=()=>au(He),Pe=_.current;return Pe.addEventListener("scroll",fe),()=>Pe.removeEventListener("scroll",fe)},[Oe,Gn,_,He]),k.useEffect(()=>{if(!Oe||typeof ResizeObserver!="function"||rn==="initial")return;const fe=[],Pe=new ResizeObserver(Ee=>Ee.forEach(({target:Yn})=>{fe.indexOf(Yn)<0?fe.push(Yn):cr.flushSync(()=>{He(),xi()})})),Xe={box:"border-box"};Pe.observe(Ie.current,Xe);const it=c?.current;return it&&Pe.observe(it,Xe),()=>Pe.disconnect()},[Oe,rn,c,He]),k.useEffect(()=>{if(!Oe){Ue(Ce.RESET),on||Et();return}const{position:fe,alwaysUpdate:Pe}=R||{},Xe=()=>{fe===vr.FIRST?Ue(Ce.FIRST):fe===vr.LAST?Ue(Ce.LAST):fe>=-1&&Ue(Ce.SET_INDEX,void 0,fe)};if(Pe)Xe();else if(L){const it=setTimeout(()=>{const Ee=Ie.current;Ee&&!Ee.contains(document.activeElement)&&(Ee.focus(wa),Xe())},Ke?170:100);return()=>clearTimeout(it)}},[Oe,Ke,on,L,R,Ue]);const Or=k.useMemo(()=>({isParentOpen:Oe,submenuCtx:At,dispatch:Ue,updateItems:jn}),[Oe,At,Ue,jn]);let xn,En;Ye&&(A?En=Ye.overflowAmt:xn=Ye.height);const Cr=k.useMemo(()=>({reposSubmenu:nt,submenuCtx:At,overflow:E,overflowAmt:En,parentMenuRef:Ie,parentDir:ze}),[nt,At,E,En,ze]),Nr=xn>=0?{maxHeight:xn,overflow:E}:void 0,Jn=k.useMemo(()=>({state:W,align:w,dir:ze}),[W,w,ze]),Lr=k.useMemo(()=>({dir:ze}),[ze]),Pr=ni({block:ri,element:Ph,modifiers:Lr,className:u.className}),Ii=$.jsxs("ul",{role:"menu","aria-label":a,...ou(Z),...ti({onPointerEnter:qn?.off,onPointerMove:Bo,onPointerLeave:Sn,onKeyDown:Wo,onAnimationEnd:wn},J),ref:Sa(y,Ie),className:ni({block:ri,modifiers:Jn,className:i}),style:{...n,...Nr,margin:0,display:W==="closed"?"none":void 0,position:du,left:ie.x,top:ie.y},children:[o&&$.jsx("li",{"aria-hidden":!0,...u,className:Pr,style:{display:"block",position:du,left:We.x,top:We.y,...u.style},ref:an}),$.jsx(lu.Provider,{value:Cr,children:$.jsx(fu.Provider,{value:Or,children:$.jsx(uu.Provider,{value:rt,children:ct(P,Jn)})})})]});return g?$.jsx(Bh,{...g,isOpen:Oe,children:Ii}):Ii},gu=k.forwardRef(function({"aria-label":i,className:n,containerProps:o,initialMounted:u,unmountOnClose:f,transition:c,transitionTimeout:p,boundingBoxRef:g,boundingBoxPadding:y,reposition:_="auto",submenuOpenDelay:w=300,submenuCloseDelay:O=150,viewScroll:x="initial",portal:E,theming:A,onItemClick:T,...L},W){const U=k.useRef(null),Z=k.useRef({}),{anchorRef:R,state:de,onClose:C}=L,P=k.useMemo(()=>({initialMounted:u,unmountOnClose:f,transition:c,transitionTimeout:p,boundingBoxRef:g,boundingBoxPadding:y,rootMenuRef:U,rootAnchorRef:R,scrollNodesRef:Z,reposition:_,viewScroll:x,submenuOpenDelay:w,submenuCloseDelay:O}),[u,f,c,p,R,g,y,_,x,w,O]),q=k.useMemo(()=>({handleClick(J,ie){J.stopPropagation||ct(T,J);let K=J.keepOpen;K===void 0&&(K=ie&&J.key===wt.SPACE),K||ct(C,{value:J.value,key:J.key,reason:pr.CLICK})},handleClose(J){ct(C,{key:J,reason:pr.CLICK})}}),[T,C]);if(!de)return null;const ee=$.jsx(_a.Provider,{value:P,children:$.jsx(cu.Provider,{value:q,children:$.jsx(Yh,{...L,ariaLabel:i||"Menu",externalRef:W,containerRef:U,containerProps:{className:n,containerRef:U,containerProps:o,theming:A,transition:c,onClose:C}})})});return E===!0&&typeof document<"u"?cr.createPortal(ee,document.body):E?E.target?cr.createPortal(ee,E.target):E.stablePosition?null:ee:ee}),xa=0,Ea=1,ai=2,oi=3,si=4,Kh=5,mu=6,Xh=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],yu=a=>({_s:a,status:Xh[a],isEnter:a<oi,isMounted:a!==mu,isResolved:a===ai||a>si}),Aa=a=>a?mu:Kh,Vh=(a,i)=>{switch(a){case Ea:case xa:return ai;case si:case oi:return Aa(i)}},Zh=a=>typeof a=="object"?[a.enter,a.exit]:[a,a],Ta=setTimeout,Qh=(a,i)=>Ta(()=>{isNaN(document.body.offsetTop)||a(i+1)},0),bu=(a,i,n,o,u)=>{clearTimeout(o.current);const f=yu(a);i(f),n.current=f,u&&u({current:f})},ep=({enter:a=!0,exit:i=!0,preEnter:n,preExit:o,timeout:u,initialEntered:f,mountOnEnter:c,unmountOnExit:p,onStateChange:g}={})=>{const[y,_]=k.useState(()=>yu(f?ai:Aa(c))),w=k.useRef(y),O=k.useRef(0),[x,E]=Zh(u),A=k.useCallback(()=>{const T=Vh(w.current._s,p);T&&bu(T,_,w,O,g)},[g,p]);return[y,k.useCallback(T=>{const L=U=>{switch(bu(U,_,w,O,g),U){case Ea:x>=0&&(O.current=Ta(A,x));break;case si:E>=0&&(O.current=Ta(A,E));break;case xa:case oi:O.current=Qh(L,U);break}},W=w.current.isEnter;typeof T!="boolean"&&(T=!W),T?!W&&L(a?n?xa:Ea:ai):W&&L(i?o?oi:si:Aa(p))},[A,g,a,i,n,o,x,E,p]),A]},Ia=({initialOpen:a,initialMounted:i,unmountOnClose:n,transition:o,transitionTimeout:u=500,onMenuChange:f}={})=>{const c=hr(o,"open"),p=hr(o,"close"),[{status:g},y,_]=ep({initialEntered:a,mountOnEnter:!i,unmountOnExit:n,timeout:u,enter:c,exit:p,onStateChange:k.useCallback(({current:{isEnter:w,isResolved:O}})=>{!f||w&&c&&O||!w&&p&&O||f({open:w})},[f,c,p])});return[{state:kh[g],endTransition:_},y]},tp=a=>{const[i,n]=Ia(a),[o,u]=k.useState(),f=(c,p)=>{u({position:c,alwaysUpdate:p}),n(!0)};return[{menuItemFocus:o,...i},n,f]},np=(a,i)=>{if(process.env.NODE_ENV!=="production"&&typeof i!="function")throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=k.useState({});return{onMouseDown:()=>{n.v=a&&a!=="closed"},onClick:o=>n.v?n.v=!1:i(!0,o)}},rp=parseInt(k.version)<19,_u=k.forwardRef(function({"aria-label":i,captureFocus:n,initialOpen:o,menuButton:u,instanceRef:f,onMenuChange:c,...p},g){const[y,_,w]=tp({...p,onMenuChange:c}),{state:O}=y,x=iu(O),E=k.useRef(null),A=np(O,(R,de)=>w(de.detail?void 0:vr.FIRST)),T=k.useCallback(R=>{_(!1),R.key&&E.current.focus()},[_]),L=R=>{switch(R.key){case wt.UP:w(vr.LAST);break;case wt.DOWN:w(vr.FIRST);break;default:return}R.preventDefault()},W=ct(u,{open:x});if(!W||!W.type)throw new Error("Menu requires a menuButton prop.");const U={...ti({onKeyDown:L,...A},W.props),ref:Sa(rp?W.ref:W.props.ref,E)};Ch(W.type)==="MenuButton"&&(U.isOpen=x);const Z=k.cloneElement(W,U);return k.useImperativeHandle(f,()=>({openMenu:w,closeMenu:()=>_(!1)})),$.jsxs(k.Fragment,{children:[Z,$.jsx(gu,{...p,...y,"aria-label":i||(typeof W.props.children=="string"?W.props.children:"Menu"),anchorRef:E,ref:g,onClose:T})]})}),ip=(a,i)=>{const n=k.memo(i),o=k.forwardRef((u,f)=>{const c=k.useRef(null);return $.jsx(n,{...u,itemRef:c,externalRef:f,isHovering:k.useContext(uu)===c.current})});return o.displayName=`WithHovering(${a})`,o},ap=a=>{const[i,n]=k.useState(!1);return k.useEffect(()=>{!a&&n(!1)},[a]),[i,()=>!i&&n(!0),()=>n(!1)]},op=(a,i,n)=>{ii(()=>{if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${i.current.outerHTML}`);if(a)return;const o=i.current;return n(o,!0),()=>{n(o)}},[a,i,n])},sp=(a,i,n,o)=>{const[u,f,c]=ap(n),{submenuCloseDelay:p}=k.useContext(_a),{isParentOpen:g,submenuCtx:y,dispatch:_,updateItems:w}=k.useContext(fu),O=()=>{!n&&!o&&_(Ce.SET,a.current)},x=()=>{!o&&_(Ce.UNSET,a.current)},E=L=>{n&&!L.currentTarget.contains(L.relatedTarget)&&x()},A=L=>{o||(L.stopPropagation(),f(),y.on(p,O,O))},T=(L,W)=>{c(),y.off(),!W&&x()};return op(o,a,w),k.useEffect(()=>{n&&g&&i.current&&i.current.focus()},[i,n,g]),{mouseOver:u,setHover:O,onBlur:E,onPointerMove:A,onPointerLeave:T}},ui=ip("MenuItem",function({className:i,value:n,href:o,type:u,checked:f,disabled:c,children:p,onClick:g,isHovering:y,itemRef:_,externalRef:w,...O}){const x=!!c,{mouseOver:E,setHover:A,...T}=sp(_,_,y,x),L=k.useContext(cu),W=k.useContext(Mh),U=u==="radio",Z=u==="checkbox",R=!!o&&!x&&!U&&!Z,de=U?W.value===n:Z?!!f:!1,C=ie=>{if(x){ie.stopPropagation(),ie.preventDefault();return}const K={value:n,syntheticEvent:ie};ie.key!==void 0&&(K.key=ie.key),Z&&(K.checked=!de),U&&(K.name=W.name),ct(g,K),U&&ct(W.onRadioChange,K),L.handleClick(K,Z||U)},P=ie=>{if(y)switch(ie.key){case wt.ENTER:ie.preventDefault();case wt.SPACE:R?_.current.click():C(ie)}},q=k.useMemo(()=>({type:u,disabled:x,hover:E||y,checked:de,anchor:R}),[u,x,E,y,de,R]),ee=ti({...T,onPointerDown:A,onKeyDown:P,onClick:C},O),J={role:U?"menuitemradio":Z?"menuitemcheckbox":Wh,"aria-checked":U||Z?de:void 0,...ou(x,y),...ee,ref:Sa(w,_),className:ni({block:ri,element:Fh,modifiers:q,className:i}),children:k.useMemo(()=>ct(p,q),[p,q])};return R?$.jsx("li",{role:Dh,children:$.jsx("a",{href:o,...J})}):$.jsx("li",{...J})});if(!k.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!lr.makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function up(a){a()}function fp(a){a||(a=up,process.env.NODE_ENV!=="production"&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),lr.configure({reactionScheduler:a})}function lp(a){return lr.getDependencyTree(a)}var cp=1e4,dp=1e4,hp=(function(){function a(i){var n=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(o){o===void 0&&(o=cp),clearTimeout(n.sweepTimeout),n.sweepTimeout=void 0;var u=Date.now();n.registrations.forEach(function(f,c){u-f.registeredAt>=o&&(n.finalize(f.value),n.registrations.delete(c))}),n.registrations.size>0&&n.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){n.sweep(0)}})}return Object.defineProperty(a.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(i,n,o){this.registrations.set(o,{value:n,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(a.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(i){this.registrations.delete(i)}}),Object.defineProperty(a.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,dp))}}),a})(),pp=typeof FinalizationRegistry<"u"?FinalizationRegistry:hp,Oa=new pp(function(a){var i;(i=a.reaction)===null||i===void 0||i.dispose(),a.reaction=null}),fi={exports:{}},Ca={};var wu;function vp(){if(wu)return Ca;wu=1;var a=k;function i(w,O){return w===O&&(w!==0||1/w===1/O)||w!==w&&O!==O}var n=typeof Object.is=="function"?Object.is:i,o=a.useState,u=a.useEffect,f=a.useLayoutEffect,c=a.useDebugValue;function p(w,O){var x=O(),E=o({inst:{value:x,getSnapshot:O}}),A=E[0].inst,T=E[1];return f(function(){A.value=x,A.getSnapshot=O,g(A)&&T({inst:A})},[w,x,O]),u(function(){return g(A)&&T({inst:A}),w(function(){g(A)&&T({inst:A})})},[w]),c(x),x}function g(w){var O=w.getSnapshot;w=w.value;try{var x=O();return!n(w,x)}catch{return!0}}function y(w,O){return O()}var _=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:p;return Ca.useSyncExternalStore=a.useSyncExternalStore!==void 0?a.useSyncExternalStore:_,Ca}var Na={};var Su;function gp(){return Su||(Su=1,process.env.NODE_ENV!=="production"&&(function(){function a(x,E){return x===E&&(x!==0||1/x===1/E)||x!==x&&E!==E}function i(x,E){_||u.startTransition===void 0||(_=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var A=E();if(!w){var T=E();f(A,T)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),w=!0)}T=c({inst:{value:A,getSnapshot:E}});var L=T[0].inst,W=T[1];return g(function(){L.value=A,L.getSnapshot=E,n(L)&&W({inst:L})},[x,A,E]),p(function(){return n(L)&&W({inst:L}),x(function(){n(L)&&W({inst:L})})},[x]),y(A),A}function n(x){var E=x.getSnapshot;x=x.value;try{var A=E();return!f(x,A)}catch{return!0}}function o(x,E){return E()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=k,f=typeof Object.is=="function"?Object.is:a,c=u.useState,p=u.useEffect,g=u.useLayoutEffect,y=u.useDebugValue,_=!1,w=!1,O=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:i;Na.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Na}var xu;function mp(){return xu||(xu=1,process.env.NODE_ENV==="production"?fi.exports=vp():fi.exports=gp()),fi.exports}var yp=mp();function Eu(a){a.reaction=new lr.Reaction("observer".concat(a.name),function(){var i;a.stateVersion=Symbol(),(i=a.onStoreChange)===null||i===void 0||i.call(a)})}function bp(a,i){i===void 0&&(i="observed");var n=k.useRef(null);if(!n.current){var o={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:i,subscribe:function(p){return Oa.unregister(o),o.onStoreChange=p,o.reaction||(Eu(o),o.stateVersion=Symbol()),function(){var g;o.onStoreChange=null,(g=o.reaction)===null||g===void 0||g.dispose(),o.reaction=null}},getSnapshot:function(){return o.stateVersion}};n.current=o}var u=n.current;u.reaction||(Eu(u),Oa.register(n,u,u)),k.useDebugValue(u.reaction,lp),yp.useSyncExternalStore(u.subscribe,u.getSnapshot,u.getSnapshot);var f,c;if(u.reaction.track(function(){try{f=a()}catch(p){c=p}}),c)throw c;return f}var La,Pa,_p=!0,Au=!0,Tu=typeof Symbol=="function"&&Symbol.for,wp=(Pa=(La=Object.getOwnPropertyDescriptor(function(){},"name"))===null||La===void 0?void 0:La.configurable)!==null&&Pa!==void 0?Pa:!1,Iu=Tu?Symbol.for("react.forward_ref"):typeof k.forwardRef=="function"&&k.forwardRef(function(a){return null}).$$typeof,Ou=Tu?Symbol.for("react.memo"):typeof k.memo=="function"&&k.memo(function(a){return null}).$$typeof;function Dt(a,i){var n;if(process.env.NODE_ENV,Ou&&a.$$typeof===Ou)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var o=(n=void 0)!==null&&n!==void 0?n:!1,u=a,f=a.displayName||a.name;if(Iu&&a.$$typeof===Iu&&(o=!0,u=a.render,typeof u!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var c=function(p,g){return bp(function(){return u(p,g)},f)};return c.displayName=a.displayName,wp&&Object.defineProperty(c,"name",{value:a.name,writable:!0,configurable:!0}),a.contextTypes&&(c.contextTypes=a.contextTypes,process.env.NODE_ENV!=="production"&&Au&&(Au=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),o&&(c=k.forwardRef(c)),c=k.memo(c),xp(a,c),process.env.NODE_ENV!=="production"&&Object.defineProperty(c,"contextTypes",{set:function(){var p,g;throw new Error("[mobx-react-lite] `".concat(this.displayName||((p=this.type)===null||p===void 0?void 0:p.displayName)||((g=this.type)===null||g===void 0?void 0:g.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),c}var Sp={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function xp(a,i){Object.keys(a).forEach(function(n){Sp[n]||Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(a,n))})}process.env.NODE_ENV;var Fa;fp(cr.unstable_batchedUpdates),Fa=Oa.finalizeAllImmediately;function Ma(a,i){(i==null||i>a.length)&&(i=a.length);for(var n=0,o=Array(i);n<i;n++)o[n]=a[n];return o}function Ep(a){if(Array.isArray(a))return a}function Ap(a){if(Array.isArray(a))return Ma(a)}function Tp(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function Ip(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,Nu(o.key),o)}}function Op(a,i,n){return i&&Ip(a.prototype,i),Object.defineProperty(a,"prototype",{writable:!1}),a}function li(a,i){var n=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!n){if(Array.isArray(a)||(n=ka(a))||i){n&&(a=n);var o=0,u=function(){};return{s:u,n:function(){return o>=a.length?{done:!0}:{done:!1,value:a[o++]}},e:function(g){throw g},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f,c=!0,p=!1;return{s:function(){n=n.call(a)},n:function(){var g=n.next();return c=g.done,g},e:function(g){p=!0,f=g},f:function(){try{c||n.return==null||n.return()}finally{if(p)throw f}}}}function
|
|
20
|
+
}`;var ae=ch(function(){return pe(h,j+"return "+D).apply(n,v)});if(ae.source=D,Us(ae))throw ae;return ae}function nx(e){return ge(e).toLowerCase()}function rx(e){return ge(e).toUpperCase()}function ix(e,t,r){if(e=ge(e),e&&(r||t===n))return _c(e);if(!e||!(t=st(t)))return e;var s=Tt(e),l=Tt(t),h=wc(s,l),v=Sc(s,l)+1;return pn(s,h,v).join("")}function ax(e,t,r){if(e=ge(e),e&&(r||t===n))return e.slice(0,Ec(e)+1);if(!e||!(t=st(t)))return e;var s=Tt(e),l=Sc(s,Tt(t))+1;return pn(s,0,l).join("")}function ox(e,t,r){if(e=ge(e),e&&(r||t===n))return e.replace(Ht,"");if(!e||!(t=st(t)))return e;var s=Tt(e),l=wc(s,Tt(t));return pn(s,l).join("")}function sx(e,t){var r=ne,s=J;if(Se(t)){var l="separator"in t?t.separator:l;r="length"in t?ie(t.length):r,s="omission"in t?st(t.omission):s}e=ge(e);var h=e.length;if(Zn(e)){var v=Tt(e);h=v.length}if(r>=h)return e;var m=r-Qn(s);if(m<1)return s;var S=v?pn(v,0,m).join(""):e.slice(0,m);if(l===n)return S+s;if(v&&(m+=S.length-m),Hs(l)){if(e.slice(m).search(l)){var P,F=S;for(l.global||(l=as(l.source,ge(Ul.exec(l))+"g")),l.lastIndex=0;P=l.exec(F);)var D=P.index;S=S.slice(0,D===n?m:D)}}else if(e.indexOf(st(l),m)!=m){var U=S.lastIndexOf(l);U>-1&&(S=S.slice(0,U))}return S+s}function ux(e){return e=ge(e),e&&Ee.test(e)?e.replace(Xe,Wy):e}var fx=or(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Gs=dd("toUpperCase");function lh(e,t,r){return e=ge(e),t=r?n:t,t===n?Py(e)?$y(e):xy(e):e.match(t)||[]}var ch=oe(function(e,t){try{return at(e,n,t)}catch(r){return Us(r)?r:new Q(r)}}),lx=Yt(function(e,t){return ht(t,function(r){r=Mt(r),Gt(e,r,$s(e[r],e))}),e});function cx(e){var t=e==null?0:e.length,r=K();return e=t?we(e,function(s){if(typeof s[1]!="function")throw new pt(c);return[r(s[0]),s[1]]}):[],oe(function(s){for(var l=-1;++l<t;){var h=e[l];if(at(h[0],this,s))return at(h[1],this,s)}})}function dx(e){return W1(gt(e,_))}function Js(e){return function(){return e}}function hx(e,t){return e==null||e!==e?t:e}var px=pd(),vx=pd(!0);function et(e){return e}function Ys(e){return qc(typeof e=="function"?e:gt(e,_))}function gx(e){return Gc(gt(e,_))}function mx(e,t){return Jc(e,gt(t,_))}var yx=oe(function(e,t){return function(r){return qr(r,e,t)}}),bx=oe(function(e,t){return function(r){return qr(e,r,t)}});function Ks(e,t,r){var s=Fe(t),l=Vi(t,s);r==null&&!(Se(t)&&(l.length||!s.length))&&(r=t,t=e,e=this,l=Vi(t,Fe(t)));var h=!(Se(r)&&"chain"in r)||!!r.chain,v=Xt(e);return ht(l,function(m){var S=t[m];e[m]=S,v&&(e.prototype[m]=function(){var P=this.__chain__;if(h||P){var F=e(this.__wrapped__),D=F.__actions__=Ve(this.__actions__);return D.push({func:S,args:arguments,thisArg:e}),F.__chain__=P,F}return S.apply(e,un([this.value()],arguments))})}),e}function _x(){return ke._===this&&(ke._=Gy),this}function Xs(){}function wx(e){return e=ie(e),oe(function(t){return Yc(t,e)})}var Sx=Is(we),xx=Is(vc),Ex=Is(Zo);function dh(e){return Ms(e)?Qo(Mt(e)):eb(e)}function Ax(e){return function(t){return e==null?n:Ln(e,t)}}var Tx=gd(),Ix=gd(!0);function Vs(){return[]}function Zs(){return!1}function Ox(){return{}}function Cx(){return""}function Nx(){return!0}function Lx(e,t){if(e=ie(e),e<1||e>ze)return[];var r=nt,s=Re(e,nt);t=K(t),e-=nt;for(var l=ns(s,t);++r<e;)t(r);return l}function Px(e){return te(e)?we(e,Mt):ut(e)?[e]:Ve(Pd(ge(e)))}function Fx(e){var t=++qy;return ge(e)+t}var Mx=ra(function(e,t){return e+t},0),kx=Os("ceil"),Dx=ra(function(e,t){return e/t},1),Wx=Os("floor");function Bx(e){return e&&e.length?Xi(e,et,hs):n}function Rx(e,t){return e&&e.length?Xi(e,K(t,2),hs):n}function $x(e){return yc(e,et)}function zx(e,t){return yc(e,K(t,2))}function Ux(e){return e&&e.length?Xi(e,et,ms):n}function Hx(e,t){return e&&e.length?Xi(e,K(t,2),ms):n}var qx=ra(function(e,t){return e*t},1),jx=Os("round"),Gx=ra(function(e,t){return e-t},0);function Jx(e){return e&&e.length?ts(e,et):0}function Yx(e,t){return e&&e.length?ts(e,K(t,2)):0}return d.after=gw,d.ary=Hd,d.assign=rS,d.assignIn=rh,d.assignInWith=ga,d.assignWith=iS,d.at=aS,d.before=qd,d.bind=$s,d.bindAll=lx,d.bindKey=jd,d.castArray=Ow,d.chain=$d,d.chunk=Wb,d.compact=Bb,d.concat=Rb,d.cond=cx,d.conforms=dx,d.constant=Js,d.countBy=J_,d.create=oS,d.curry=Gd,d.curryRight=Jd,d.debounce=Yd,d.defaults=sS,d.defaultsDeep=uS,d.defer=mw,d.delay=yw,d.difference=$b,d.differenceBy=zb,d.differenceWith=Ub,d.drop=Hb,d.dropRight=qb,d.dropRightWhile=jb,d.dropWhile=Gb,d.fill=Jb,d.filter=K_,d.flatMap=Z_,d.flatMapDeep=Q_,d.flatMapDepth=ew,d.flatten=Dd,d.flattenDeep=Yb,d.flattenDepth=Kb,d.flip=bw,d.flow=px,d.flowRight=vx,d.fromPairs=Xb,d.functions=vS,d.functionsIn=gS,d.groupBy=tw,d.initial=Zb,d.intersection=Qb,d.intersectionBy=e_,d.intersectionWith=t_,d.invert=yS,d.invertBy=bS,d.invokeMap=rw,d.iteratee=Ys,d.keyBy=iw,d.keys=Fe,d.keysIn=Qe,d.map=la,d.mapKeys=wS,d.mapValues=SS,d.matches=gx,d.matchesProperty=mx,d.memoize=da,d.merge=xS,d.mergeWith=ih,d.method=yx,d.methodOf=bx,d.mixin=Ks,d.negate=ha,d.nthArg=wx,d.omit=ES,d.omitBy=AS,d.once=_w,d.orderBy=aw,d.over=Sx,d.overArgs=ww,d.overEvery=xx,d.overSome=Ex,d.partial=zs,d.partialRight=Kd,d.partition=ow,d.pick=TS,d.pickBy=ah,d.property=dh,d.propertyOf=Ax,d.pull=a_,d.pullAll=Bd,d.pullAllBy=o_,d.pullAllWith=s_,d.pullAt=u_,d.range=Tx,d.rangeRight=Ix,d.rearg=Sw,d.reject=fw,d.remove=f_,d.rest=xw,d.reverse=Bs,d.sampleSize=cw,d.set=OS,d.setWith=CS,d.shuffle=dw,d.slice=l_,d.sortBy=vw,d.sortedUniq=m_,d.sortedUniqBy=y_,d.split=ZS,d.spread=Ew,d.tail=b_,d.take=__,d.takeRight=w_,d.takeRightWhile=S_,d.takeWhile=x_,d.tap=B_,d.throttle=Aw,d.thru=fa,d.toArray=eh,d.toPairs=oh,d.toPairsIn=sh,d.toPath=Px,d.toPlainObject=nh,d.transform=NS,d.unary=Tw,d.union=E_,d.unionBy=A_,d.unionWith=T_,d.uniq=I_,d.uniqBy=O_,d.uniqWith=C_,d.unset=LS,d.unzip=Rs,d.unzipWith=Rd,d.update=PS,d.updateWith=FS,d.values=fr,d.valuesIn=MS,d.without=N_,d.words=lh,d.wrap=Iw,d.xor=L_,d.xorBy=P_,d.xorWith=F_,d.zip=M_,d.zipObject=k_,d.zipObjectDeep=D_,d.zipWith=W_,d.entries=oh,d.entriesIn=sh,d.extend=rh,d.extendWith=ga,Ks(d,d),d.add=Mx,d.attempt=ch,d.camelCase=BS,d.capitalize=uh,d.ceil=kx,d.clamp=kS,d.clone=Cw,d.cloneDeep=Lw,d.cloneDeepWith=Pw,d.cloneWith=Nw,d.conformsTo=Fw,d.deburr=fh,d.defaultTo=hx,d.divide=Dx,d.endsWith=RS,d.eq=Ot,d.escape=$S,d.escapeRegExp=zS,d.every=Y_,d.find=X_,d.findIndex=Md,d.findKey=fS,d.findLast=V_,d.findLastIndex=kd,d.findLastKey=lS,d.floor=Wx,d.forEach=zd,d.forEachRight=Ud,d.forIn=cS,d.forInRight=dS,d.forOwn=hS,d.forOwnRight=pS,d.get=qs,d.gt=Mw,d.gte=kw,d.has=mS,d.hasIn=js,d.head=Wd,d.identity=et,d.includes=nw,d.indexOf=Vb,d.inRange=DS,d.invoke=_S,d.isArguments=Mn,d.isArray=te,d.isArrayBuffer=Dw,d.isArrayLike=Ze,d.isArrayLikeObject=Ae,d.isBoolean=Ww,d.isBuffer=vn,d.isDate=Bw,d.isElement=Rw,d.isEmpty=$w,d.isEqual=zw,d.isEqualWith=Uw,d.isError=Us,d.isFinite=Hw,d.isFunction=Xt,d.isInteger=Xd,d.isLength=pa,d.isMap=Vd,d.isMatch=qw,d.isMatchWith=jw,d.isNaN=Gw,d.isNative=Jw,d.isNil=Kw,d.isNull=Yw,d.isNumber=Zd,d.isObject=Se,d.isObjectLike=xe,d.isPlainObject=Xr,d.isRegExp=Hs,d.isSafeInteger=Xw,d.isSet=Qd,d.isString=va,d.isSymbol=ut,d.isTypedArray=ur,d.isUndefined=Vw,d.isWeakMap=Zw,d.isWeakSet=Qw,d.join=n_,d.kebabCase=US,d.last=yt,d.lastIndexOf=r_,d.lowerCase=HS,d.lowerFirst=qS,d.lt=eS,d.lte=tS,d.max=Bx,d.maxBy=Rx,d.mean=$x,d.meanBy=zx,d.min=Ux,d.minBy=Hx,d.stubArray=Vs,d.stubFalse=Zs,d.stubObject=Ox,d.stubString=Cx,d.stubTrue=Nx,d.multiply=qx,d.nth=i_,d.noConflict=_x,d.noop=Xs,d.now=ca,d.pad=jS,d.padEnd=GS,d.padStart=JS,d.parseInt=YS,d.random=WS,d.reduce=sw,d.reduceRight=uw,d.repeat=KS,d.replace=XS,d.result=IS,d.round=jx,d.runInContext=b,d.sample=lw,d.size=hw,d.snakeCase=VS,d.some=pw,d.sortedIndex=c_,d.sortedIndexBy=d_,d.sortedIndexOf=h_,d.sortedLastIndex=p_,d.sortedLastIndexBy=v_,d.sortedLastIndexOf=g_,d.startCase=QS,d.startsWith=ex,d.subtract=Gx,d.sum=Jx,d.sumBy=Yx,d.template=tx,d.times=Lx,d.toFinite=Vt,d.toInteger=ie,d.toLength=th,d.toLower=nx,d.toNumber=bt,d.toSafeInteger=nS,d.toString=ge,d.toUpper=rx,d.trim=ix,d.trimEnd=ax,d.trimStart=ox,d.truncate=sx,d.unescape=ux,d.uniqueId=Fx,d.upperCase=fx,d.upperFirst=Gs,d.each=zd,d.eachRight=Ud,d.first=Wd,Ks(d,(function(){var e={};return Pt(d,function(t,r){ve.call(d.prototype,r)||(e[r]=t)}),e})(),{chain:!1}),d.VERSION=o,ht(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){d[e].placeholder=d}),ht(["drop","take"],function(e,t){ue.prototype[e]=function(r){r=r===n?1:Le(ie(r),0);var s=this.__filtered__&&!t?new ue(this):this.clone();return s.__filtered__?s.__takeCount__=Re(r,s.__takeCount__):s.__views__.push({size:Re(r,nt),type:e+(s.__dir__<0?"Right":"")}),s},ue.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),ht(["filter","map","takeWhile"],function(e,t){var r=t+1,s=r==We||r==Ye;ue.prototype[e]=function(l){var h=this.clone();return h.__iteratees__.push({iteratee:K(l,3),type:r}),h.__filtered__=h.__filtered__||s,h}}),ht(["head","last"],function(e,t){var r="take"+(t?"Right":"");ue.prototype[e]=function(){return this[r](1).value()[0]}}),ht(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");ue.prototype[e]=function(){return this.__filtered__?new ue(this):this[r](1)}}),ue.prototype.compact=function(){return this.filter(et)},ue.prototype.find=function(e){return this.filter(e).head()},ue.prototype.findLast=function(e){return this.reverse().find(e)},ue.prototype.invokeMap=oe(function(e,t){return typeof e=="function"?new ue(this):this.map(function(r){return qr(r,e,t)})}),ue.prototype.reject=function(e){return this.filter(ha(K(e)))},ue.prototype.slice=function(e,t){e=ie(e);var r=this;return r.__filtered__&&(e>0||t<0)?new ue(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=ie(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(nt)},Pt(ue.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),l=d[s?"take"+(t=="last"?"Right":""):t],h=s||/^find/.test(t);l&&(d.prototype[t]=function(){var v=this.__wrapped__,m=s?[1]:arguments,S=v instanceof ue,P=m[0],F=S||te(v),D=function(se){var le=l.apply(d,un([se],m));return s&&U?le[0]:le};F&&r&&typeof P=="function"&&P.length!=1&&(S=F=!1);var U=this.__chain__,j=!!this.__actions__.length,X=h&&!U,ae=S&&!j;if(!h&&F){v=ae?v:new ue(this);var V=e.apply(v,m);return V.__actions__.push({func:fa,args:[D],thisArg:n}),new vt(V,U)}return X&&ae?e.apply(this,m):(V=this.thru(D),X?s?V.value()[0]:V.value():V)})}),ht(["pop","push","shift","sort","splice","unshift"],function(e){var t=ki[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var h=this.value();return t.apply(te(h)?h:[],l)}return this[r](function(v){return t.apply(te(v)?v:[],l)})}}),Pt(ue.prototype,function(e,t){var r=d[t];if(r){var s=r.name+"";ve.call(rr,s)||(rr[s]=[]),rr[s].push({name:t,func:r})}}),rr[na(n,k).name]=[{name:"wrapper",func:n}],ue.prototype.clone=u1,ue.prototype.reverse=f1,ue.prototype.value=l1,d.prototype.at=R_,d.prototype.chain=$_,d.prototype.commit=z_,d.prototype.next=U_,d.prototype.plant=q_,d.prototype.reverse=j_,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=G_,d.prototype.first=d.prototype.head,Wr&&(d.prototype[Wr]=H_),d}),er=zy();Tn?((Tn.exports=er)._=er,Yo._=er):ke._=er}).call(vh)})(dr,dr.exports)),dr.exports}var kn=gh();class he{static toString(i){const n=Qs(i);if(n==null)throw new Error("buildWinId: stringify error");return n}static getParamString(i,n){return i.params?.[n]?.toString()}static getParam(i,n){return i.params?.[n]}static isEquals(i,n){return kn.isEqual(i,n)}static indexOf(i,n){return i.map(he.toString).indexOf(he.toString(n))}static includes(i,n){return i.map(he.toString).includes(he.toString(n))}static withoutDup(i){const{params:n,viewId:o,title:u}=i;return{params:n,viewId:o,title:u}}static replaceDup(i){const{params:n,viewId:o,title:u}=i;return{params:n,viewId:o,title:u,dupId:`${new Date().getTime()}`}}}var ei={exports:{}},tu;function mh(){return tu||(tu=1,(function(a,i){Object.defineProperty(i,"__esModule",{value:!0});function n(C){return typeof C=="object"&&!("toString"in C)?Object.prototype.toString.call(C).slice(8,-1):C}var o=typeof process=="object"&&process.env.NODE_ENV==="production";function u(C,L){if(!C)throw o?new Error("Invariant failed"):new Error(L())}i.invariant=u;var f=Object.prototype.hasOwnProperty,c=Array.prototype.splice,p=Object.prototype.toString;function g(C){return p.call(C).slice(8,-1)}var y=Object.assign||(function(C,L){return w(L).forEach(function(q){f.call(L,q)&&(C[q]=L[q])}),C}),w=typeof Object.getOwnPropertySymbols=="function"?function(C){return Object.keys(C).concat(Object.getOwnPropertySymbols(C))}:function(C){return Object.keys(C)};function _(C){return Array.isArray(C)?y(C.constructor(C.length),C):g(C)==="Map"?new Map(C):g(C)==="Set"?new Set(C):C&&typeof C=="object"?y(Object.create(Object.getPrototypeOf(C)),C):C}var O=(function(){function C(){this.commands=y({},E),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(L,q){return L===q},this.update.newContext=function(){return new C().update}}return Object.defineProperty(C.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(L){this.update.isEquals=L},enumerable:!0,configurable:!0}),C.prototype.extend=function(L,q){this.commands[L]=q},C.prototype.update=function(L,q){var ne=this,J=typeof q=="function"?{$apply:q}:q;Array.isArray(L)&&Array.isArray(J)||u(!Array.isArray(J),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),u(typeof J=="object"&&J!==null,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the "+("following commands: "+Object.keys(ne.commands).join(", ")+".")});var ee=L;return w(J).forEach(function(Y){if(f.call(ne.commands,Y)){var We=L===ee;ee=ne.commands[Y](J[Y],ee,J,L),We&&ne.isEquals(ee,L)&&(ee=L)}else{var Je=g(L)==="Map"?ne.update(L.get(Y),J[Y]):ne.update(L[Y],J[Y]),Ye=g(ee)==="Map"?ee.get(Y):ee[Y];(!ne.isEquals(Je,Ye)||typeof Je>"u"&&!f.call(L,Y))&&(ee===L&&(ee=_(L)),g(ee)==="Map"?ee.set(Y,Je):ee[Y]=Je)}}),ee},C})();i.Context=O;var E={$push:function(C,L,q){return A(L,q,"$push"),C.length?L.concat(C):L},$unshift:function(C,L,q){return A(L,q,"$unshift"),C.length?C.concat(L):L},$splice:function(C,L,q,ne){return k(L,q),C.forEach(function(J){W(J),L===ne&&J.length&&(L=_(ne)),c.apply(L,J)}),L},$set:function(C,L,q){return Z(q),C},$toggle:function(C,L){T(C,"$toggle");var q=C.length?_(L):L;return C.forEach(function(ne){q[ne]=!L[ne]}),q},$unset:function(C,L,q,ne){return T(C,"$unset"),C.forEach(function(J){Object.hasOwnProperty.call(L,J)&&(L===ne&&(L=_(ne)),delete L[J])}),L},$add:function(C,L,q,ne){return de(L,"$add"),T(C,"$add"),g(L)==="Map"?C.forEach(function(J){var ee=J[0],Y=J[1];L===ne&&L.get(ee)!==Y&&(L=_(ne)),L.set(ee,Y)}):C.forEach(function(J){L===ne&&!L.has(J)&&(L=_(ne)),L.add(J)}),L},$remove:function(C,L,q,ne){return de(L,"$remove"),T(C,"$remove"),C.forEach(function(J){L===ne&&L.has(J)&&(L=_(ne)),L.delete(J)}),L},$merge:function(C,L,q,ne){return $(L,C),w(C).forEach(function(J){C[J]!==L[J]&&(L===ne&&(L=_(ne)),L[J]=C[J])}),L},$apply:function(C,L){return R(C),C(L)}},x=new O;i.isEquals=x.update.isEquals,i.extend=x.extend,i.default=x.update,i.default.default=a.exports=y(i.default,i);function A(C,L,q){u(Array.isArray(C),function(){return"update(): expected target of "+n(q)+" to be an array; got "+n(C)+"."}),T(L[q],q)}function T(C,L){u(Array.isArray(C),function(){return"update(): expected spec of "+n(L)+" to be an array; got "+n(C)+". Did you forget to wrap your parameter in an array?"})}function k(C,L){u(Array.isArray(C),function(){return"Expected $splice target to be an array; got "+n(C)}),W(L.$splice)}function W(C){u(Array.isArray(C),function(){return"update(): expected spec of $splice to be an array of arrays; got "+n(C)+". Did you forget to wrap your parameters in an array?"})}function R(C){u(typeof C=="function",function(){return"update(): expected spec of $apply to be a function; got "+n(C)+"."})}function Z(C){u(Object.keys(C).length===1,function(){return"Cannot have more than one key in an object with $set"})}function $(C,L){u(L&&typeof L=="object",function(){return"update(): $merge expects a spec of type 'object'; got "+n(L)}),u(C&&typeof C=="object",function(){return"update(): $merge expects a target of type 'object'; got "+n(C)})}function de(C,L){var q=g(C);u(q==="Map"||q==="Set",function(){return"update(): "+n(L)+" expects a target of type Set or Map; got "+n(q)})}})(ei,ei.exports)),ei.exports}var yh=mh();const bh=Qr(yh);var _h=Object.getOwnPropertyDescriptor,wh=(a,i,n,o)=>{for(var u=o>1?void 0:o?_h(i,n):i,f=a.length-1,c;f>=0;f--)(c=a[f])&&(u=c(u)||u);return u};ce.JustLayoutService=class{insertWinIdToStack=(i,n)=>{if(i==null)return i;const o=this.getNodeByBranch(i,n.branch);if(o.type!=="stack")return i;const f=o.tabs,c=n.index>=0?kn.clamp(n.index,0,f.length):f.length;return this.updateNodeOfBranch(i,n.branch,{$set:{...o,type:"stack",tabs:[...f.slice(0,c),n.justId,...f.slice(c)],active:n.justId}})};insertWinIdToSplit=(i,n)=>{if(i==null)return i;const o=this.getNodeByBranch(i,n.branch),u=n.pos==="first"?"second":"first";return this.updateNodeOfBranch(i,n.branch,{$set:{type:"split-percentage",direction:n.direction,[u]:{...o,name:void 0},[n.pos]:{type:"stack",tabs:[n.justId],active:n.justId,name:void 0},size:n.size??50,dndAccept:o.dndAccept,name:o.name,hideTitle:o.hideTitle}})};removeWinId=(i,n)=>{if(i==null)return null;const o=this.getNodeByWinId(i,n);if(o?.type!=="stack")return i;const u=o.active?he.indexOf(o.tabs,o.active):0,f=o.tabs.filter(p=>!he.isEquals(p,n));let c;return o.active!==null&&he.includes(f,o.active)?c=o.active:c=f.length>0&&o.active!==null?f[kn.clamp(u-1,0,f.length-1)]:null,this.updateNodeOfWinId(i,n,{$set:{...o,tabs:f,active:c}})};removeAllTabs=(i,n)=>{if(i==null)return null;const o=this.getNodeByBranch(i,n);return o==null||o.type!=="stack"?i:this.updateNodeOfBranch(i,n,{$set:{...o,tabs:[],active:null}})};activeWinId=(i,n)=>{if(i==null)return null;const o=this.getNodeByWinId(i,n);return o==null?i:this.updateNodeOfWinId(i,n,{$set:{...o,active:n}})};getActiveWinIds=i=>{const n=(o,u)=>{if(o===null)return u;if(o.type==="stack")return o.active!==null?[...u,o.active]:u;{const f=n(o.first,u);return n(o.second,f)}};return n(i,[])};removeEmpty=i=>{if(i==null)return i;const n=this.findEmptyBranch(i,null,[]);if(n===null)return i;if(n.length===0)return null;const o=n[n.length-1],u=n.slice(0,-1),f=o==="first"?"second":"first",c=this.getNodeByBranch(i,u),p=this.getNodeByBranch(i,[...u,f]);return this.updateNodeOfBranch(i,u,{$set:{...p,dndAccept:c.dndAccept,name:c.name,hideTitle:c.hideTitle}})};findEmptyBranch=(i,n,o)=>{if(i===null)return null;if(i.type==="stack"){const u=n!=null&&n.type!="stack"&&(!!n.first.name||!!n.second.name);if(i.tabs.length===0&&!u)return o}else{const u=this.findEmptyBranch(i.first,i,[...o,"first"]);if(u!=null)return u;const f=this.findEmptyBranch(i.second,i,[...o,"second"]);if(f!=null)return f}return null};moveWinIdToStack=(i,n)=>{const o=this.removeWinId(i,n.justId);return this.insertWinIdToStack(o,n)};moveWinIdToSplit=(i,n)=>{const o=this.removeWinId(i,n.justId);return this.insertWinIdToSplit(o,n)};getBranch=(i,n,o)=>{if(i===null)return null;if(i.type==="stack")return he.includes(i.tabs,n)?o:null;{const u=this.getBranch(i.first,n,[...o,"first"]);if(u!=null)return u;const f=this.getBranch(i.second,n,[...o,"second"]);return f??null}};getBranchByWinId=(i,n)=>this.getBranch(i,n,[]);getNodeInfoByNodeName=(i,n,o)=>{if(i===null)return null;if(i.name==n)return{node:i,branch:[...o]};if(i.type!="stack"){const u=this.getNodeInfoByNodeName(i.first,n,[...o,"first"]);if(u!=null)return u;const f=this.getNodeInfoByNodeName(i.second,n,[...o,"second"]);if(f!=null)return f}return null};getTabNodeInfoByNodeName=(i,n,o)=>{if(i===null)return null;const u=this.getNodeInfoByNodeName(i,n,o);if(u==null)return null;if(u.node.type==="stack")return u;{const f=this.getTabNodeInfo(u.node,[]);if(f!=null)return{node:f.node,branch:[...u.branch,...f.branch]}}return null};getNodeByWinId=(i,n)=>{if(i===null)return null;if(i.type==="stack")return he.includes(i.tabs,n)?(console.log("includes ok:",i.tabs,n),i):(console.log("includes nok:",i.tabs,n),null);{const o=this.getNodeByWinId(i.first,n);if(o!=null)return o;const u=this.getNodeByWinId(i.second,n);return u??null}};getTabBranch=(i,n)=>{if(i===null)return null;if(i.type==="stack")return n;{let o;i.type==="split-pixels"?o=i.primary==="first"?"second":"first":o=i.direction==="row"?"second":"first";const u=this.getTabBranch(i[o],[...n,o]);if(u!=null)return u}return null};getTabNodeInfo=(i,n)=>{if(i===null)return null;if(i.type==="stack")return{node:i,branch:n};{let o;i.type==="split-pixels"?o=i.primary==="first"?"second":"first":o=i.direction==="row"?"second":"first";const u=this.getTabNodeInfo(i[o],[...n,o]);if(u!=null)return u}return null};addTabWin=(i,n,o,u)=>{if(i===null)return null;const f=this.getNodeByBranch(i,n);if(f.type!=="stack")return i;const c=u<0?f.tabs.length:kn.clamp(u,0,f.tabs.length);return this.updateNodeOfBranch(i,n,{$merge:{tabs:[...f.tabs.slice(0,c),o,...f.tabs.slice(c)],active:o}})};queryWinIdsByViewId=(i,n,o)=>{if(i===null)return o;if(i.type==="stack")return[...o,...i.tabs.filter(u=>u.viewId===n)];{const u=this.queryWinIdsByViewId(i.first,n,o);return this.queryWinIdsByViewId(i.second,n,[...o,...u])}};queryDupWinIdsByWinId=(i,n,o)=>{if(i===null)return o;if(i.type==="stack"){const u=he.withoutDup(n),f=i.tabs.filter(c=>{const p=he.withoutDup(c);return he.isEquals(u,p)});return[...o,...f]}else{const u=this.queryDupWinIdsByWinId(i.first,n,o);return this.queryDupWinIdsByWinId(i.second,n,[...o,...u])}};queryWinIdsByStack=(i,n)=>{if(i===null)return[];const o=this.getNodeByBranch(i,n);return o.type!=="stack"?[]:o.tabs};getNodeByBranch=(i,n)=>n.reduce((o,u)=>o?.[u],i);updateNodeOfBranch=(i,n,o)=>{const u=this.buildSpecFromUpdateSpec(n,o);return this.updateNode(i,u)};updateNodeOfWinId=(i,n,o)=>{const u=this.getBranchByWinId(i,n);if(u==null)return i;const f=this.buildSpecFromUpdateSpec(u,o);return this.updateNode(i,f)};hasWinId=(i,n)=>this.getNodeByWinId(i,n)!=null;updateNode=(i,n)=>i==null?null:bh(i,n);buildSpecFromUpdateSpec=(i,n)=>i.length>0?kn.set({},i,n):n;getNodeAtBranch=(i,n)=>n.length>0?kn.get(i,n,null):i;getBranchRightTop=i=>{if(i==null)return[];let n=i;const o=[];for(;n.type!=="stack";)n.direction==="row"?(o.push("second"),n=n.second):n.direction==="column"&&(o.push("first"),n=n.first);return o};updateSplitSize=(i,n,o)=>{const u=this.buildSpecFromUpdateSpec(n,{$merge:{size:o}});return this.updateNode(i,u)}},ce.JustLayoutService=wh([Vr.injectable()],ce.JustLayoutService);var Sh=Object.getOwnPropertyDescriptor,xh=(a,i,n,o)=>{for(var u=o>1?void 0:o?Sh(i,n):i,f=a.length-1,c;f>=0;f--)(c=a[f])&&(u=c(u)||u);return u},Eh=(a,i)=>(n,o)=>i(n,o,a);ce.JustLayoutStore=class{service;layout=null;lastActiveId=null;lastActiveTm=new Date().getTime();fullScreenLayout=null;fullScreenHideTitle=!1;tabTitleMap=new Map;tabTitleTooltipMap=new Map;constructor(i){this.service=i,lr.makeAutoObservable(this,{service:!1},{autoBind:!0})}setLayout=i=>{this.layout=i};setTabTitle=(i,n)=>{this.tabTitleMap.set(he.toString(i),n)};getTabTitle=i=>this.tabTitleMap.get(he.toString(i));setTabTitleTooltip=(i,n)=>{this.tabTitleTooltipMap.set(he.toString(i),n)};getTabTitleTooltip=i=>this.tabTitleTooltipMap.get(he.toString(i));setFullScreenLayoutByBranch=i=>{i===null?this.fullScreenLayout=null:this.fullScreenLayout=this.service.getNodeAtBranch(this.layout,i)};setFullScreenHideTitle=i=>{this.fullScreenHideTitle=i};addTab=i=>{const n=this.service.getTabBranch(this.layout,[]);n!=null&&(this.service.hasWinId(this.layout,i.justId)?this.layout=this.service.activeWinId(this.layout,i.justId):this.layout=this.service.addTabWin(this.layout,n,i.justId,-1),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime())};addTabByNodeName=i=>{const n=this.service.getTabNodeInfoByNodeName(this.layout,i.nodeName,[]);n!=null&&(this.service.hasWinId(this.layout,i.justId)?this.layout=this.service.activeWinId(this.layout,i.justId):this.layout=this.service.addTabWin(this.layout,n.branch,i.justId,-1),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime())};queryWinIdsByViewId=i=>this.service.queryWinIdsByViewId(this.layout??null,i,[]);cloneTab=i=>{const n=this.service.getBranchByWinId(this.layout,i.justId);if(n==null)return;const o=this.service.getNodeAtBranch(this.layout,n);let u=0;o?.type==="stack"&&o.active!=null&&(u=he.indexOf(o.tabs,i.justId)+1),this.layout=this.service.addTabWin(this.layout,n,i.cloneJustId,u),this.lastActiveId=i.cloneJustId,this.lastActiveTm=new Date().getTime()};removeWin=i=>{this.layout=this.service.removeEmpty(this.service.removeWinId(this.layout,i.justId))};removeAllTabs=i=>{this.layout=this.service.removeEmpty(this.service.removeAllTabs(this.layout,i.branch))};activeWin=i=>{this.layout=this.service.activeWinId(this.layout,i.justId),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime()};activePrevWin=()=>{const i=this.lastActiveId;if(i==null)return;const n=this.service.getNodeByWinId(this.layout,i);if(n?.type!=="stack"||n.tabs.length===0)return;const u=(he.indexOf(n.tabs,i)-1+n.tabs.length)%n.tabs.length,f=n.tabs[u];this.activeWin({justId:f})};activeNextWin=()=>{const i=this.lastActiveId;if(i==null)return;const n=this.service.getNodeByWinId(this.layout,i);if(n?.type!=="stack"||n.tabs.length===0)return;const u=(he.indexOf(n.tabs,i)+1)%n.tabs.length,f=n.tabs[u];this.activeWin({justId:f})};updateResize=i=>{this.layout=this.service.updateSplitSize(this.layout,i.branch,i.size)};moveWin=i=>{i.pos==="stack"?this.layout=this.service.removeEmpty(this.service.moveWinIdToStack(this.layout,i)):this.layout=this.service.removeEmpty(this.service.moveWinIdToSplit(this.layout,i)),this.lastActiveId=i.justId,this.lastActiveTm=new Date().getTime()};toggleSideMenu=()=>{if(this.layout===null||this.layout.type!=="split-pixels")return;const i=this.layout.size<=0?this.layout.primaryDefaultSize:0;this.updateResize({branch:[],size:i})};toggleWin=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o==null||o.node.type!=="split-pixels")return;const u=o.node.primaryHide!==!0,f=!u||o.node.size<10?o.node.primaryDefaultSize:0,c=this.service.buildSpecFromUpdateSpec(o.branch,{$merge:{size:f,primaryHide:u}}),p=this.service.updateNode(n,c);p!=null&&this.setLayout(p)};showWin=({nodeName:i,show:n})=>{const o=this.layout,u=this.service.getNodeInfoByNodeName(o,i,[]);if(u!=null&&u.node.type==="split-pixels"&&n===(u.node.size===0)){const f=n?u.node.primaryDefaultSize:0,c=this.service.buildSpecFromUpdateSpec(u.branch,{$merge:{size:f}}),p=this.service.updateNode(o,c);if(p==null)return;this.setLayout(p)}};getSizeByNodeName=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o!=null)return o.node.type==="split-pixels"||o.node.type==="split-percentage"?o.node.size:null};getBranchByJustId=({justId:i})=>{const n=this.layout;return this.service.getBranchByWinId(n,i)};isPrimaryHide=({nodeName:i})=>{const n=this.layout,o=this.service.getNodeInfoByNodeName(n,i,[]);if(o!=null)return o.node.type==="split-pixels"?o.node.primaryHide:null};openWin=({justId:i})=>{this.service.hasWinId(this.layout??null,i)?this.activeWin({justId:i}):this.addTab({justId:i})};openWinByNodeName=({justId:i,nodeName:n})=>{this.service.hasWinId(this.layout??null,i)?this.activeWin({justId:i}):this.addTabByNodeName({justId:i,nodeName:n})};getWinIds=({viewId:i})=>this.service.queryWinIdsByViewId(this.layout??null,i,[]);getDupWinIds=({justId:i})=>this.service.queryDupWinIdsByWinId(this.layout??null,i,[]);getWinIdsByBranch=({branch:i})=>this.service.queryWinIdsByStack(this.layout??null,i);getNodeAtBranch=({branch:i})=>this.service.getNodeAtBranch(this.layout??null,i);openWinMenu=({justId:i,nodeName:n})=>{const o=i.viewId,u=this.getWinIds({viewId:o});if(u.length===0)console.log("openWinMenu1",u,i),this.openWinByNodeName({justId:i,nodeName:n});else{const f=u.toSorted((c,p)=>(c.dupId??"")<=(p.dupId??"")?-1:1).at(-1);f&&(console.log("openWinMenu2",u,f),this.openWinByNodeName({justId:f,nodeName:n}))}};fullScreenWin=async(i,n,o=!1)=>{n?this.setLayout(null):(this.setFullScreenLayoutByBranch(i),this.setFullScreenHideTitle(o))}},ce.JustLayoutStore=xh([Vr.injectable(),Eh(0,Vr.inject(kt.JustLayoutService))],ce.JustLayoutStore);const Ah=new Vr.ContainerModule(({bind:a})=>{a(kt.JustLayoutService).to(ce.JustLayoutService).inSingletonScope(),a(kt.JustLayoutStore).to(ce.JustLayoutStore).inTransientScope(),a(kt.JustLayoutStoreCacheMap).toConstantValue(new Map),a(kt.JustLayoutFactory).toFactory(i=>{const n=i.get(kt.JustLayoutStoreCacheMap);return o=>{if(!n.has(o)){const u=i.get(kt.JustLayoutStore);n.set(o,u)}return n.get(o)}})}),Nt=a=>{const i=ph.useInjection(kt.JustLayoutFactory),[n]=M.useState(()=>i(a));return n};var ya={exports:{}};var nu;function Th(){return nu||(nu=1,(function(a){(function(){var i={}.hasOwnProperty;function n(){for(var f="",c=0;c<arguments.length;c++){var p=arguments[c];p&&(f=u(f,o(p)))}return f}function o(f){if(typeof f=="string"||typeof f=="number")return f;if(typeof f!="object")return"";if(Array.isArray(f))return n.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var c="";for(var p in f)i.call(f,p)&&f[p]&&(c=u(c,p));return c}function u(f,c){return c?f?f+" "+c:f+c:f}a.exports?(n.default=n,a.exports=n):window.classNames=n})()})(ya)),ya.exports}var Ih=Th();const _t=Qr(Ih),ru=a=>!!a&&a[0]==="o",iu=cr.unstable_batchedUpdates,hr=(a,i)=>a===!0||!!(a&&a[i]),ct=(a,i)=>typeof a=="function"?a(i):a,Oh="_szhsinMenu",Ch=a=>a[Oh],ti=(a,i)=>(i&&Object.keys(i).forEach(n=>{const o=a[n],u=i[n];typeof u=="function"&&o?a[n]=(...f)=>{u(...f),o(...f)}:a[n]=u}),a),Nh=a=>{if(typeof a!="string")return{top:0,right:0,bottom:0,left:0};const i=a.trim().split(/\s+/,4).map(parseFloat),n=isNaN(i[0])?0:i[0],o=isNaN(i[1])?n:i[1];return{top:n,right:o,bottom:isNaN(i[2])?n:i[2],left:isNaN(i[3])?o:i[3]}},ba=a=>{for(;a;){if(a=a.parentNode,!a||a===document.body||!a.parentNode)return;const{overflow:i,overflowX:n,overflowY:o}=getComputedStyle(a);if(/auto|scroll|overlay|hidden/.test(i+o+n))return a}};function au(a,i){return{"aria-disabled":a||void 0,tabIndex:i?0:-1}}function ou(a,i){for(let n=0;n<a.length;n++)if(a[n]===i)return n;return-1}const ni=({block:a,element:i,modifiers:n,className:o})=>M.useMemo(()=>{const u=i?`${a}__${i}`:a;let f=u;n&&Object.keys(n).forEach(p=>{const g=n[p];g&&(f+=` ${u}--${g===!0?p:`${p}-${g}`}`)});let c=typeof o=="function"?o(n):o;return typeof c=="string"&&(c=c.trim(),c&&(f+=` ${c}`)),f},[a,i,n,o]),Lh="szh-menu-container",ri="szh-menu",Ph="arrow",Fh="item",su=M.createContext(),uu=M.createContext({}),fu=M.createContext({}),lu=M.createContext({}),Mh=M.createContext({}),_a=M.createContext({}),wt=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),Ce=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),pr=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),vr=Object.freeze({FIRST:"first",LAST:"last"}),kh=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),cu="absolute",Dh="none",Wh="menuitem",wa={preventScroll:!0},Bh=({className:a,containerRef:i,containerProps:n,children:o,isOpen:u,theming:f,transition:c,onClose:p})=>{const g=hr(c,"item"),y=({key:_})=>{_===wt.ESC&&ct(p,{key:_,reason:pr.CANCEL})},w=_=>{u&&!_.currentTarget.contains(_.relatedTarget)&&ct(p,{reason:pr.BLUR})};return z.jsx("div",{...ti({onKeyDown:y,onBlur:w},n),className:ni({block:Lh,modifiers:M.useMemo(()=>({theme:f,itemTransition:g}),[f,g]),className:a}),style:{position:"absolute",...n?.style},ref:i,children:o})},Rh=()=>{let a,i=0;return{toggle:n=>{n?i++:i--,i=Math.max(i,0)},on:(n,o,u)=>{i?a||(a=setTimeout(()=>{a=0,o()},n)):u?.()},off:()=>{a&&(clearTimeout(a),a=0)}}},$h=a=>{const[i,n]=M.useState(),u=M.useRef({items:[],hoverIndex:-1,sorted:!1}).current,f=M.useCallback((p,g)=>{const{items:y}=u;if(!p)u.items=[];else if(g)y.push(p);else{const w=y.indexOf(p);w>-1&&(y.splice(w,1),p.contains(document.activeElement)&&(a.current.focus(wa),n()))}u.hoverIndex=-1,u.sorted=!1},[u,a]),c=M.useCallback((p,g,y)=>{const{items:w,hoverIndex:_}=u,O=()=>{if(u.sorted)return;const A=a.current.querySelectorAll(".szh-menu__item");w.sort((T,k)=>ou(A,T)-ou(A,k)),u.sorted=!0};let E=-1,x;switch(p){case Ce.RESET:break;case Ce.SET:x=g;break;case Ce.UNSET:x=A=>A===g?void 0:A;break;case Ce.FIRST:O(),E=0,x=w[E];break;case Ce.LAST:O(),E=w.length-1,x=w[E];break;case Ce.SET_INDEX:O(),E=y,x=w[E];break;case Ce.INCREASE:O(),E=_,E<0&&(E=w.indexOf(g)),E++,E>=w.length&&(E=0),x=w[E];break;case Ce.DECREASE:O(),E=_,E<0&&(E=w.indexOf(g)),E--,E<0&&(E=w.length-1),x=w[E];break;default:if(process.env.NODE_ENV!=="production")throw new Error(`[React-Menu] Unknown hover action type: ${p}`)}x||(E=-1),n(x),u.hoverIndex=E},[a,u]);return{hoverItem:i,dispatch:c,updateItems:f}},du=(a,i)=>Math.round(a)===i?a:i,zh=a=>{const i=a.getBoundingClientRect();return i.width=du(i.width,a.offsetWidth),i.height=du(i.height,a.offsetHeight),i},Uh=(a,i,n,o)=>{const u=zh(i),f=a.getBoundingClientRect(),c=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),p=Nh(o),g=x=>x+f.left-c.left-p.left,y=x=>x+f.left+u.width-c.right+p.right,w=x=>x+f.top-c.top-p.top,_=x=>x+f.top+u.height-c.bottom+p.bottom;return{menuRect:u,containerRect:f,getLeftOverflow:g,getRightOverflow:y,getTopOverflow:w,getBottomOverflow:_,confineHorizontally:x=>{let A=g(x);if(A<0)x-=A;else{const T=y(x);T>0&&(x-=T,A=g(x),A<0&&(x-=A))}return x},confineVertically:x=>{let A=w(x);if(A<0)x-=A;else{const T=_(x);T>0&&(x-=T,A=w(x),A<0&&(x-=A))}return x}}},Hh=({arrowRef:a,menuY:i,anchorRect:n,containerRect:o,menuRect:u})=>{let f=n.top-o.top-i+n.height/2;const c=a.current.offsetHeight*1.25;return f=Math.max(c,f),f=Math.min(f,u.height-c),f},qh=({anchorRect:a,containerRect:i,menuRect:n,placeLeftorRightY:o,placeLeftX:u,placeRightX:f,getLeftOverflow:c,getRightOverflow:p,confineHorizontally:g,confineVertically:y,arrowRef:w,arrow:_,direction:O,position:E})=>{let x=O,A=o;E!=="initial"&&(A=y(A),E==="anchor"&&(A=Math.min(A,a.bottom-i.top),A=Math.max(A,a.top-i.top-n.height)));let T,k,W;return x==="left"?(T=u,E!=="initial"&&(k=c(T),k<0&&(W=p(f),(W<=0||-k>W)&&(T=f,x="right")))):(T=f,E!=="initial"&&(W=p(T),W>0&&(k=c(u),(k>=0||-k<W)&&(T=u,x="left")))),E==="auto"&&(T=g(T)),{arrowY:_?Hh({menuY:A,arrowRef:w,anchorRect:a,containerRect:i,menuRect:n}):void 0,x:T,y:A,computedDirection:x}},jh=({arrowRef:a,menuX:i,anchorRect:n,containerRect:o,menuRect:u})=>{let f=n.left-o.left-i+n.width/2;const c=a.current.offsetWidth*1.25;return f=Math.max(c,f),f=Math.min(f,u.width-c),f},Gh=({anchorRect:a,containerRect:i,menuRect:n,placeToporBottomX:o,placeTopY:u,placeBottomY:f,getTopOverflow:c,getBottomOverflow:p,confineHorizontally:g,confineVertically:y,arrowRef:w,arrow:_,direction:O,position:E})=>{let x=O==="top"?"top":"bottom",A=o;E!=="initial"&&(A=g(A),E==="anchor"&&(A=Math.min(A,a.right-i.left),A=Math.max(A,a.left-i.left-n.width)));let T,k,W;return x==="top"?(T=u,E!=="initial"&&(k=c(T),k<0&&(W=p(f),(W<=0||-k>W)&&(T=f,x="bottom")))):(T=f,E!=="initial"&&(W=p(T),W>0&&(k=c(u),(k>=0||-k<W)&&(T=u,x="top")))),E==="auto"&&(T=y(T)),{arrowX:_?jh({menuX:A,arrowRef:w,anchorRect:a,containerRect:i,menuRect:n}):void 0,x:A,y:T,computedDirection:x}},Jh=({arrow:a,align:i,direction:n,gap:o,shift:u,position:f,anchorRect:c,arrowRef:p,positionHelpers:g})=>{const{menuRect:y,containerRect:w}=g,_=n==="left"||n==="right";let O=_?o:u,E=_?u:o;if(a){const $=p.current;_?O+=$.offsetWidth:E+=$.offsetHeight}const x=c.left-w.left-y.width-O,A=c.right-w.left+O,T=c.top-w.top-y.height-E,k=c.bottom-w.top+E;let W,R;i==="end"?(W=c.right-w.left-y.width,R=c.bottom-w.top-y.height):i==="center"?(W=c.left-w.left-(y.width-c.width)/2,R=c.top-w.top-(y.height-c.height)/2):(W=c.left-w.left,R=c.top-w.top),W+=O,R+=E;const Z={...g,anchorRect:c,placeLeftX:x,placeRightX:A,placeLeftorRightY:R,placeTopY:T,placeBottomY:k,placeToporBottomX:W,arrowRef:p,arrow:a,direction:n,position:f};switch(n){case"left":case"right":return qh(Z);default:return Gh(Z)}},ii=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?M.useLayoutEffect:M.useEffect;function hu(a,i){typeof a=="function"?a(i):a.current=i}const Sa=(a,i)=>M.useMemo(()=>a?i?n=>{hu(a,n),hu(i,n)}:a:i,[a,i]),pu=-9999,Yh=({ariaLabel:a,menuClassName:i,menuStyle:n,arrow:o,arrowProps:u={},anchorPoint:f,anchorRef:c,containerRef:p,containerProps:g,externalRef:y,parentScrollingRef:w,align:_="start",direction:O="bottom",position:E="auto",overflow:x="visible",setDownOverflow:A,repositionFlag:T,captureFocus:k=!0,state:W,endTransition:R,isDisabled:Z,menuItemFocus:$,gap:de=0,shift:C=0,children:L,onClose:q,focusProps:ne,...J})=>{const[ee,Y]=M.useState({x:pu,y:pu}),[We,Je]=M.useState({}),[Ye,Et]=M.useState(),[ze,ko]=M.useState(O),[At]=M.useState(Rh),[nt,xi]=M.useReducer(fe=>fe+1,1),{transition:Ei,boundingBoxRef:Ar,boundingBoxPadding:Ut,rootMenuRef:bn,rootAnchorRef:Tr,scrollNodesRef:_n,reposition:rn,viewScroll:Ir,submenuCloseDelay:Hn}=M.useContext(_a),{submenuCtx:qn,reposSubmenu:Ai=T}=M.useContext(fu),Ie=M.useRef(),an=M.useRef(),Ti=M.useRef(!1),{hoverItem:rt,dispatch:Ue,updateItems:jn}=$h(Ie),Oe=ru(W),Ke=hr(Ei,"open"),on=hr(Ei,"close"),Be=_n.current,Do=fe=>{switch(fe.key){case wt.HOME:Ue(Ce.FIRST);break;case wt.END:Ue(Ce.LAST);break;case wt.UP:Ue(Ce.DECREASE,rt);break;case wt.DOWN:Ue(Ce.INCREASE,rt);break;case wt.SPACE:fe.target&&fe.target.className.indexOf(ri)!==-1&&fe.preventDefault();return;default:return}fe.preventDefault(),fe.stopPropagation()},wn=()=>{W==="closing"&&Et(),ct(R)},Wo=fe=>{fe.stopPropagation(),At.on(Hn,()=>{Ue(Ce.RESET),Ie.current.focus(wa)})},Sn=fe=>{fe.target===fe.currentTarget&&At.off()},He=M.useCallback(fe=>{const Pe=Ie.current,Xe=p.current;if(!Pe||!Xe)return;const it=c?c.current?.getBoundingClientRect():f?{left:f.x,right:f.x,top:f.y,bottom:f.y,width:0,height:0}:null;if(!it){process.env.NODE_ENV!=="production"&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open.");return}Be.menu||(Be.menu=(Ar?Ar.current:ba(bn.current))||window);const Ee=Uh(Xe,Pe,Be.menu,Ut);let{arrowX:Yn,arrowY:Bo,x:Ro,y:An,computedDirection:$o}=Jh({arrow:o,align:_,direction:O,gap:de,shift:C,position:E,anchorRect:it,arrowRef:an,positionHelpers:Ee});const{menuRect:zo}=Ee,Oi=zo.height;if(!fe&&x!=="visible"){const{getTopOverflow:Fr,getBottomOverflow:Uo}=Ee;let Ht,Mr;const kr=Uo(An);if(kr>0)Ht=Oi-kr,Mr=kr;else{const Kn=Fr(An);Kn<0&&(Ht=Oi+Kn,Mr=0-Kn,Ht>=0&&(An-=Kn))}Ht>=0&&Et({height:Ht,overflowAmt:Mr})}o&&Je({x:Yn,y:Bo}),Y({x:Ro,y:An}),ko($o)},[o,_,Ut,O,de,C,E,x,f,c,p,Ar,bn,Be]);ii(()=>{Oe&&(He(),Ti.current&&xi()),Ti.current=Oe},[Oe,He,Ai]),ii(()=>{Ye&&!A&&(Ie.current.scrollTop=0)},[Ye,A]),ii(()=>jn,[jn]),M.useEffect(()=>{let{menu:fe}=Be;if(!Oe||!fe)return;if(fe=fe.addEventListener?fe:window,!Be.anchors){Be.anchors=[];let Ee=ba(Tr&&Tr.current);for(;Ee&&Ee!==fe;)Be.anchors.push(Ee),Ee=ba(Ee)}let Pe=Ir;if(Be.anchors.length&&Pe==="initial"&&(Pe="auto"),Pe==="initial")return;const Xe=()=>{Pe==="auto"?iu(()=>He(!0)):ct(q,{reason:pr.SCROLL})},it=Be.anchors.concat(Ir!=="initial"?fe:[]);return it.forEach(Ee=>Ee.addEventListener("scroll",Xe)),()=>it.forEach(Ee=>Ee.removeEventListener("scroll",Xe))},[Tr,Be,Oe,q,Ir,He]);const Gn=!!Ye&&Ye.overflowAmt>0;M.useEffect(()=>{if(Gn||!Oe||!w)return;const fe=()=>iu(He),Pe=w.current;return Pe.addEventListener("scroll",fe),()=>Pe.removeEventListener("scroll",fe)},[Oe,Gn,w,He]),M.useEffect(()=>{if(!Oe||typeof ResizeObserver!="function"||rn==="initial")return;const fe=[],Pe=new ResizeObserver(Ee=>Ee.forEach(({target:Yn})=>{fe.indexOf(Yn)<0?fe.push(Yn):cr.flushSync(()=>{He(),xi()})})),Xe={box:"border-box"};Pe.observe(Ie.current,Xe);const it=c?.current;return it&&Pe.observe(it,Xe),()=>Pe.disconnect()},[Oe,rn,c,He]),M.useEffect(()=>{if(!Oe){Ue(Ce.RESET),on||Et();return}const{position:fe,alwaysUpdate:Pe}=$||{},Xe=()=>{fe===vr.FIRST?Ue(Ce.FIRST):fe===vr.LAST?Ue(Ce.LAST):fe>=-1&&Ue(Ce.SET_INDEX,void 0,fe)};if(Pe)Xe();else if(k){const it=setTimeout(()=>{const Ee=Ie.current;Ee&&!Ee.contains(document.activeElement)&&(Ee.focus(wa),Xe())},Ke?170:100);return()=>clearTimeout(it)}},[Oe,Ke,on,k,$,Ue]);const Or=M.useMemo(()=>({isParentOpen:Oe,submenuCtx:At,dispatch:Ue,updateItems:jn}),[Oe,At,Ue,jn]);let xn,En;Ye&&(A?En=Ye.overflowAmt:xn=Ye.height);const Cr=M.useMemo(()=>({reposSubmenu:nt,submenuCtx:At,overflow:x,overflowAmt:En,parentMenuRef:Ie,parentDir:ze}),[nt,At,x,En,ze]),Nr=xn>=0?{maxHeight:xn,overflow:x}:void 0,Jn=M.useMemo(()=>({state:W,align:_,dir:ze}),[W,_,ze]),Lr=M.useMemo(()=>({dir:ze}),[ze]),Pr=ni({block:ri,element:Ph,modifiers:Lr,className:u.className}),Ii=z.jsxs("ul",{role:"menu","aria-label":a,...au(Z),...ti({onPointerEnter:qn?.off,onPointerMove:Wo,onPointerLeave:Sn,onKeyDown:Do,onAnimationEnd:wn},J),ref:Sa(y,Ie),className:ni({block:ri,modifiers:Jn,className:i}),style:{...n,...Nr,margin:0,display:W==="closed"?"none":void 0,position:cu,left:ee.x,top:ee.y},children:[o&&z.jsx("li",{"aria-hidden":!0,...u,className:Pr,style:{display:"block",position:cu,left:We.x,top:We.y,...u.style},ref:an}),z.jsx(fu.Provider,{value:Cr,children:z.jsx(uu.Provider,{value:Or,children:z.jsx(su.Provider,{value:rt,children:ct(L,Jn)})})})]});return g?z.jsx(Bh,{...g,isOpen:Oe,children:Ii}):Ii},vu=M.forwardRef(function({"aria-label":i,className:n,containerProps:o,initialMounted:u,unmountOnClose:f,transition:c,transitionTimeout:p,boundingBoxRef:g,boundingBoxPadding:y,reposition:w="auto",submenuOpenDelay:_=300,submenuCloseDelay:O=150,viewScroll:E="initial",portal:x,theming:A,onItemClick:T,...k},W){const R=M.useRef(null),Z=M.useRef({}),{anchorRef:$,state:de,onClose:C}=k,L=M.useMemo(()=>({initialMounted:u,unmountOnClose:f,transition:c,transitionTimeout:p,boundingBoxRef:g,boundingBoxPadding:y,rootMenuRef:R,rootAnchorRef:$,scrollNodesRef:Z,reposition:w,viewScroll:E,submenuOpenDelay:_,submenuCloseDelay:O}),[u,f,c,p,$,g,y,w,E,_,O]),q=M.useMemo(()=>({handleClick(J,ee){J.stopPropagation||ct(T,J);let Y=J.keepOpen;Y===void 0&&(Y=ee&&J.key===wt.SPACE),Y||ct(C,{value:J.value,key:J.key,reason:pr.CLICK})},handleClose(J){ct(C,{key:J,reason:pr.CLICK})}}),[T,C]);if(!de)return null;const ne=z.jsx(_a.Provider,{value:L,children:z.jsx(lu.Provider,{value:q,children:z.jsx(Yh,{...k,ariaLabel:i||"Menu",externalRef:W,containerRef:R,containerProps:{className:n,containerRef:R,containerProps:o,theming:A,transition:c,onClose:C}})})});return x===!0&&typeof document<"u"?cr.createPortal(ne,document.body):x?x.target?cr.createPortal(ne,x.target):x.stablePosition?null:ne:ne}),xa=0,Ea=1,ai=2,oi=3,si=4,Kh=5,gu=6,Xh=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],mu=a=>({_s:a,status:Xh[a],isEnter:a<oi,isMounted:a!==gu,isResolved:a===ai||a>si}),Aa=a=>a?gu:Kh,Vh=(a,i)=>{switch(a){case Ea:case xa:return ai;case si:case oi:return Aa(i)}},Zh=a=>typeof a=="object"?[a.enter,a.exit]:[a,a],Ta=setTimeout,Qh=(a,i)=>Ta(()=>{isNaN(document.body.offsetTop)||a(i+1)},0),yu=(a,i,n,o,u)=>{clearTimeout(o.current);const f=mu(a);i(f),n.current=f,u&&u({current:f})},ep=({enter:a=!0,exit:i=!0,preEnter:n,preExit:o,timeout:u,initialEntered:f,mountOnEnter:c,unmountOnExit:p,onStateChange:g}={})=>{const[y,w]=M.useState(()=>mu(f?ai:Aa(c))),_=M.useRef(y),O=M.useRef(0),[E,x]=Zh(u),A=M.useCallback(()=>{const T=Vh(_.current._s,p);T&&yu(T,w,_,O,g)},[g,p]);return[y,M.useCallback(T=>{const k=R=>{switch(yu(R,w,_,O,g),R){case Ea:E>=0&&(O.current=Ta(A,E));break;case si:x>=0&&(O.current=Ta(A,x));break;case xa:case oi:O.current=Qh(k,R);break}},W=_.current.isEnter;typeof T!="boolean"&&(T=!W),T?!W&&k(a?n?xa:Ea:ai):W&&k(i?o?oi:si:Aa(p))},[A,g,a,i,n,o,E,x,p]),A]},bu=({initialOpen:a,initialMounted:i,unmountOnClose:n,transition:o,transitionTimeout:u=500,onMenuChange:f}={})=>{const c=hr(o,"open"),p=hr(o,"close"),[{status:g},y,w]=ep({initialEntered:a,mountOnEnter:!i,unmountOnExit:n,timeout:u,enter:c,exit:p,onStateChange:M.useCallback(({current:{isEnter:_,isResolved:O}})=>{!f||_&&c&&O||!_&&p&&O||f({open:_})},[f,c,p])});return[{state:kh[g],endTransition:w},y]},tp=a=>{const[i,n]=bu(a),[o,u]=M.useState(),f=(c,p)=>{u({position:c,alwaysUpdate:p}),n(!0)};return[{menuItemFocus:o,...i},n,f]},np=(a,i)=>{if(process.env.NODE_ENV!=="production"&&typeof i!="function")throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=M.useState({});return{onMouseDown:()=>{n.v=a&&a!=="closed"},onClick:o=>n.v?n.v=!1:i(!0,o)}},rp=parseInt(M.version)<19,_u=M.forwardRef(function({"aria-label":i,captureFocus:n,initialOpen:o,menuButton:u,instanceRef:f,onMenuChange:c,...p},g){const[y,w,_]=tp({...p,onMenuChange:c}),{state:O}=y,E=ru(O),x=M.useRef(null),A=np(O,($,de)=>_(de.detail?void 0:vr.FIRST)),T=M.useCallback($=>{w(!1),$.key&&x.current.focus()},[w]),k=$=>{switch($.key){case wt.UP:_(vr.LAST);break;case wt.DOWN:_(vr.FIRST);break;default:return}$.preventDefault()},W=ct(u,{open:E});if(!W||!W.type)throw new Error("Menu requires a menuButton prop.");const R={...ti({onKeyDown:k,...A},W.props),ref:Sa(rp?W.ref:W.props.ref,x)};Ch(W.type)==="MenuButton"&&(R.isOpen=E);const Z=M.cloneElement(W,R);return M.useImperativeHandle(f,()=>({openMenu:_,closeMenu:()=>w(!1)})),z.jsxs(M.Fragment,{children:[Z,z.jsx(vu,{...p,...y,"aria-label":i||(typeof W.props.children=="string"?W.props.children:"Menu"),anchorRef:x,ref:g,onClose:T})]})}),ip=(a,i)=>{const n=M.memo(i),o=M.forwardRef((u,f)=>{const c=M.useRef(null);return z.jsx(n,{...u,itemRef:c,externalRef:f,isHovering:M.useContext(su)===c.current})});return o.displayName=`WithHovering(${a})`,o},ap=a=>{const[i,n]=M.useState(!1);return M.useEffect(()=>{!a&&n(!1)},[a]),[i,()=>!i&&n(!0),()=>n(!1)]},op=(a,i,n)=>{ii(()=>{if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${i.current.outerHTML}`);if(a)return;const o=i.current;return n(o,!0),()=>{n(o)}},[a,i,n])},sp=(a,i,n,o)=>{const[u,f,c]=ap(n),{submenuCloseDelay:p}=M.useContext(_a),{isParentOpen:g,submenuCtx:y,dispatch:w,updateItems:_}=M.useContext(uu),O=()=>{!n&&!o&&w(Ce.SET,a.current)},E=()=>{!o&&w(Ce.UNSET,a.current)},x=k=>{n&&!k.currentTarget.contains(k.relatedTarget)&&E()},A=k=>{o||(k.stopPropagation(),f(),y.on(p,O,O))},T=(k,W)=>{c(),y.off(),!W&&E()};return op(o,a,_),M.useEffect(()=>{n&&g&&i.current&&i.current.focus()},[i,n,g]),{mouseOver:u,setHover:O,onBlur:x,onPointerMove:A,onPointerLeave:T}},ui=ip("MenuItem",function({className:i,value:n,href:o,type:u,checked:f,disabled:c,children:p,onClick:g,isHovering:y,itemRef:w,externalRef:_,...O}){const E=!!c,{mouseOver:x,setHover:A,...T}=sp(w,w,y,E),k=M.useContext(lu),W=M.useContext(Mh),R=u==="radio",Z=u==="checkbox",$=!!o&&!E&&!R&&!Z,de=R?W.value===n:Z?!!f:!1,C=ee=>{if(E){ee.stopPropagation(),ee.preventDefault();return}const Y={value:n,syntheticEvent:ee};ee.key!==void 0&&(Y.key=ee.key),Z&&(Y.checked=!de),R&&(Y.name=W.name),ct(g,Y),R&&ct(W.onRadioChange,Y),k.handleClick(Y,Z||R)},L=ee=>{if(y)switch(ee.key){case wt.ENTER:ee.preventDefault();case wt.SPACE:$?w.current.click():C(ee)}},q=M.useMemo(()=>({type:u,disabled:E,hover:x||y,checked:de,anchor:$}),[u,E,x,y,de,$]),ne=ti({...T,onPointerDown:A,onKeyDown:L,onClick:C},O),J={role:R?"menuitemradio":Z?"menuitemcheckbox":Wh,"aria-checked":R||Z?de:void 0,...au(E,y),...ne,ref:Sa(_,w),className:ni({block:ri,element:Fh,modifiers:q,className:i}),children:M.useMemo(()=>ct(p,q),[p,q])};return $?z.jsx("li",{role:Dh,children:z.jsx("a",{href:o,...J})}):z.jsx("li",{...J})});if(!M.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!lr.makeObservable)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function up(a){a()}function fp(a){a||(a=up,process.env.NODE_ENV!=="production"&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),lr.configure({reactionScheduler:a})}function lp(a){return lr.getDependencyTree(a)}var cp=1e4,dp=1e4,hp=(function(){function a(i){var n=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(o){o===void 0&&(o=cp),clearTimeout(n.sweepTimeout),n.sweepTimeout=void 0;var u=Date.now();n.registrations.forEach(function(f,c){u-f.registeredAt>=o&&(n.finalize(f.value),n.registrations.delete(c))}),n.registrations.size>0&&n.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){n.sweep(0)}})}return Object.defineProperty(a.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(i,n,o){this.registrations.set(o,{value:n,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(a.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(i){this.registrations.delete(i)}}),Object.defineProperty(a.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,dp))}}),a})(),pp=typeof FinalizationRegistry<"u"?FinalizationRegistry:hp,Ia=new pp(function(a){var i;(i=a.reaction)===null||i===void 0||i.dispose(),a.reaction=null}),fi={exports:{}},Oa={};var wu;function vp(){if(wu)return Oa;wu=1;var a=M;function i(_,O){return _===O&&(_!==0||1/_===1/O)||_!==_&&O!==O}var n=typeof Object.is=="function"?Object.is:i,o=a.useState,u=a.useEffect,f=a.useLayoutEffect,c=a.useDebugValue;function p(_,O){var E=O(),x=o({inst:{value:E,getSnapshot:O}}),A=x[0].inst,T=x[1];return f(function(){A.value=E,A.getSnapshot=O,g(A)&&T({inst:A})},[_,E,O]),u(function(){return g(A)&&T({inst:A}),_(function(){g(A)&&T({inst:A})})},[_]),c(E),E}function g(_){var O=_.getSnapshot;_=_.value;try{var E=O();return!n(_,E)}catch{return!0}}function y(_,O){return O()}var w=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:p;return Oa.useSyncExternalStore=a.useSyncExternalStore!==void 0?a.useSyncExternalStore:w,Oa}var Ca={};var Su;function gp(){return Su||(Su=1,process.env.NODE_ENV!=="production"&&(function(){function a(E,x){return E===x&&(E!==0||1/E===1/x)||E!==E&&x!==x}function i(E,x){w||u.startTransition===void 0||(w=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var A=x();if(!_){var T=x();f(A,T)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),_=!0)}T=c({inst:{value:A,getSnapshot:x}});var k=T[0].inst,W=T[1];return g(function(){k.value=A,k.getSnapshot=x,n(k)&&W({inst:k})},[E,A,x]),p(function(){return n(k)&&W({inst:k}),E(function(){n(k)&&W({inst:k})})},[E]),y(A),A}function n(E){var x=E.getSnapshot;E=E.value;try{var A=x();return!f(E,A)}catch{return!0}}function o(E,x){return x()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=M,f=typeof Object.is=="function"?Object.is:a,c=u.useState,p=u.useEffect,g=u.useLayoutEffect,y=u.useDebugValue,w=!1,_=!1,O=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:i;Ca.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ca}var xu;function mp(){return xu||(xu=1,process.env.NODE_ENV==="production"?fi.exports=vp():fi.exports=gp()),fi.exports}var yp=mp();function Eu(a){a.reaction=new lr.Reaction("observer".concat(a.name),function(){var i;a.stateVersion=Symbol(),(i=a.onStoreChange)===null||i===void 0||i.call(a)})}function bp(a,i){i===void 0&&(i="observed");var n=M.useRef(null);if(!n.current){var o={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:i,subscribe:function(p){return Ia.unregister(o),o.onStoreChange=p,o.reaction||(Eu(o),o.stateVersion=Symbol()),function(){var g;o.onStoreChange=null,(g=o.reaction)===null||g===void 0||g.dispose(),o.reaction=null}},getSnapshot:function(){return o.stateVersion}};n.current=o}var u=n.current;u.reaction||(Eu(u),Ia.register(n,u,u)),M.useDebugValue(u.reaction,lp),yp.useSyncExternalStore(u.subscribe,u.getSnapshot,u.getSnapshot);var f,c;if(u.reaction.track(function(){try{f=a()}catch(p){c=p}}),c)throw c;return f}var Na,La,_p=!0,Au=!0,Tu=typeof Symbol=="function"&&Symbol.for,wp=(La=(Na=Object.getOwnPropertyDescriptor(function(){},"name"))===null||Na===void 0?void 0:Na.configurable)!==null&&La!==void 0?La:!1,Iu=Tu?Symbol.for("react.forward_ref"):typeof M.forwardRef=="function"&&M.forwardRef(function(a){return null}).$$typeof,Ou=Tu?Symbol.for("react.memo"):typeof M.memo=="function"&&M.memo(function(a){return null}).$$typeof;function Dt(a,i){var n;if(process.env.NODE_ENV,Ou&&a.$$typeof===Ou)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var o=(n=void 0)!==null&&n!==void 0?n:!1,u=a,f=a.displayName||a.name;if(Iu&&a.$$typeof===Iu&&(o=!0,u=a.render,typeof u!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var c=function(p,g){return bp(function(){return u(p,g)},f)};return c.displayName=a.displayName,wp&&Object.defineProperty(c,"name",{value:a.name,writable:!0,configurable:!0}),a.contextTypes&&(c.contextTypes=a.contextTypes,process.env.NODE_ENV!=="production"&&Au&&(Au=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),o&&(c=M.forwardRef(c)),c=M.memo(c),xp(a,c),process.env.NODE_ENV!=="production"&&Object.defineProperty(c,"contextTypes",{set:function(){var p,g;throw new Error("[mobx-react-lite] `".concat(this.displayName||((p=this.type)===null||p===void 0?void 0:p.displayName)||((g=this.type)===null||g===void 0?void 0:g.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),c}var Sp={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function xp(a,i){Object.keys(a).forEach(function(n){Sp[n]||Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(a,n))})}process.env.NODE_ENV;var Pa;fp(cr.unstable_batchedUpdates),Pa=Ia.finalizeAllImmediately;function Fa(a,i){(i==null||i>a.length)&&(i=a.length);for(var n=0,o=Array(i);n<i;n++)o[n]=a[n];return o}function Ep(a){if(Array.isArray(a))return a}function Ap(a){if(Array.isArray(a))return Fa(a)}function Tp(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function Ip(a,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,Nu(o.key),o)}}function Op(a,i,n){return i&&Ip(a.prototype,i),Object.defineProperty(a,"prototype",{writable:!1}),a}function li(a,i){var n=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!n){if(Array.isArray(a)||(n=Ma(a))||i){n&&(a=n);var o=0,u=function(){};return{s:u,n:function(){return o>=a.length?{done:!0}:{done:!1,value:a[o++]}},e:function(g){throw g},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f,c=!0,p=!1;return{s:function(){n=n.call(a)},n:function(){var g=n.next();return c=g.done,g},e:function(g){p=!0,f=g},f:function(){try{c||n.return==null||n.return()}finally{if(p)throw f}}}}function re(a,i,n){return(i=Nu(i))in a?Object.defineProperty(a,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[i]=n,a}function Cp(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Np(a,i){var n=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(n!=null){var o,u,f,c,p=[],g=!0,y=!1;try{if(f=(n=n.call(a)).next,i===0){if(Object(n)!==n)return;g=!1}else for(;!(g=(o=f.call(n)).done)&&(p.push(o.value),p.length!==i);g=!0);}catch(w){y=!0,u=w}finally{try{if(!g&&n.return!=null&&(c=n.return(),Object(c)!==c))return}finally{if(y)throw u}}return p}}function Lp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
22
22
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cu(a,i){var n=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);i&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),n.push.apply(n,o)}return n}function B(a){for(var i=1;i<arguments.length;i++){var n=arguments[i]!=null?arguments[i]:{};i%2?Cu(Object(n),!0).forEach(function(o){ne(a,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(n,o))})}return a}function ci(a,i){return Ep(a)||Np(a,i)||ka(a,i)||Lp()}function St(a){return Ap(a)||Cp(a)||ka(a)||Pp()}function Fp(a,i){if(typeof a!="object"||!a)return a;var n=a[Symbol.toPrimitive];if(n!==void 0){var o=n.call(a,i);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function Nu(a){var i=Fp(a,"string");return typeof i=="symbol"?i:i+""}function di(a){"@babel/helpers - typeof";return di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},di(a)}function ka(a,i){if(a){if(typeof a=="string")return Ma(a,i);var n={}.toString.call(a).slice(8,-1);return n==="Object"&&a.constructor&&(n=a.constructor.name),n==="Map"||n==="Set"?Array.from(a):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ma(a,i):void 0}}var Lu=function(){},Da={},Pu={},Fu=null,Mu={mark:Lu,measure:Lu};try{typeof window<"u"&&(Da=window),typeof document<"u"&&(Pu=document),typeof MutationObserver<"u"&&(Fu=MutationObserver),typeof performance<"u"&&(Mu=performance)}catch{}var Mp=Da.navigator||{},ku=Mp.userAgent,Du=ku===void 0?"":ku,en=Da,be=Pu,Wu=Fu,hi=Mu;en.document;var Wt=!!be.documentElement&&!!be.head&&typeof be.addEventListener=="function"&&typeof be.createElement=="function",Bu=~Du.indexOf("MSIE")||~Du.indexOf("Trident/"),Wa,kp=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Dp=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,Ru={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},Wp={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},$u=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Me="classic",gr="duotone",zu="sharp",Uu="sharp-duotone",Hu="chisel",qu="etch",ju="jelly",Gu="jelly-duo",Ju="jelly-fill",Yu="notdog",Ku="notdog-duo",Xu="slab",Vu="slab-press",Zu="thumbprint",Qu="utility",ef="utility-duo",tf="utility-fill",nf="whiteboard",Bp="Classic",Rp="Duotone",$p="Sharp",zp="Sharp Duotone",Up="Chisel",Hp="Etch",qp="Jelly",jp="Jelly Duo",Gp="Jelly Fill",Jp="Notdog",Yp="Notdog Duo",Kp="Slab",Xp="Slab Press",Vp="Thumbprint",Zp="Utility",Qp="Utility Duo",ev="Utility Fill",tv="Whiteboard",rf=[Me,gr,zu,Uu,Hu,qu,ju,Gu,Ju,Yu,Ku,Xu,Vu,Zu,Qu,ef,tf,nf];Wa={},ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Wa,Me,Bp),gr,Rp),zu,$p),Uu,zp),Hu,Up),qu,Hp),ju,qp),Gu,jp),Ju,Gp),Yu,Jp),ne(ne(ne(ne(ne(ne(ne(ne(Wa,Ku,Yp),Xu,Kp),Vu,Xp),Zu,Vp),Qu,Zp),ef,Qp),tf,ev),nf,tv);var nv={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},rv={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},iv=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),av={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},af=["fak","fa-kit","fakd","fa-kit-duotone"],of={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ov=["kit"],sv="kit",uv="kit-duotone",fv="Kit",lv="Kit Duotone";ne(ne({},sv,fv),uv,lv);var cv={kit:{"fa-kit":"fak"}},dv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},hv={kit:{fak:"fa-kit"}},sf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Ba,pi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],vv="classic",gv="duotone",mv="sharp",yv="sharp-duotone",bv="chisel",_v="etch",wv="jelly",Sv="jelly-duo",xv="jelly-fill",Ev="notdog",Av="notdog-duo",Tv="slab",Iv="slab-press",Ov="thumbprint",Cv="utility",Nv="utility-duo",Lv="utility-fill",Pv="whiteboard",Fv="Classic",Mv="Duotone",kv="Sharp",Dv="Sharp Duotone",Wv="Chisel",Bv="Etch",Rv="Jelly",$v="Jelly Duo",zv="Jelly Fill",Uv="Notdog",Hv="Notdog Duo",qv="Slab",jv="Slab Press",Gv="Thumbprint",Jv="Utility",Yv="Utility Duo",Kv="Utility Fill",Xv="Whiteboard";Ba={},ne(ne(ne(ne(ne(ne(ne(ne(ne(ne(Ba,vv,Fv),gv,Mv),mv,kv),yv,Dv),bv,Wv),_v,Bv),wv,Rv),Sv,$v),xv,zv),Ev,Uv),ne(ne(ne(ne(ne(ne(ne(ne(Ba,Av,Hv),Tv,qv),Iv,jv),Ov,Gv),Cv,Jv),Nv,Yv),Lv,Kv),Pv,Xv);var Vv="kit",Zv="kit-duotone",Qv="Kit",eg="Kit Duotone";ne(ne({},Vv,Qv),Zv,eg);var tg={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},ng={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Ra={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},rg=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],uf=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(pv,rg),ig=["solid","regular","light","thin","duotone","brands","semibold"],ff=[1,2,3,4,5,6,7,8,9,10],ag=ff.concat([11,12,13,14,15,16,17,18,19,20]),og=["aw","fw","pull-left","pull-right"],sg=[].concat(St(Object.keys(ng)),ig,og,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",pi.GROUP,pi.SWAP_OPACITY,pi.PRIMARY,pi.SECONDARY]).concat(ff.map(function(a){return"".concat(a,"x")})).concat(ag.map(function(a){return"w-".concat(a)})),ug={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Bt="___FONT_AWESOME___",$a=16,lf="fa",cf="svg-inline--fa",gn="data-fa-i2svg",za="data-fa-pseudo-element",fg="data-fa-pseudo-element-pending",Ua="data-prefix",Ha="data-icon",df="fontawesome-i2svg",lg="async",cg=["HTML","HEAD","STYLE","SCRIPT"],hf=["::before","::after",":before",":after"],pf=(function(){try{return process.env.NODE_ENV==="production"}catch{return!1}})();function mr(a){return new Proxy(a,{get:function(n,o){return o in n?n[o]:n[Me]}})}var vf=B({},Ru);vf[Me]=B(B(B(B({},{"fa-duotone":"duotone"}),Ru[Me]),of.kit),of["kit-duotone"]);var dg=mr(vf),qa=B({},av);qa[Me]=B(B(B(B({},{duotone:"fad"}),qa[Me]),sf.kit),sf["kit-duotone"]);var gf=mr(qa),ja=B({},Ra);ja[Me]=B(B({},ja[Me]),hv.kit);var Ga=mr(ja),Ja=B({},tg);Ja[Me]=B(B({},Ja[Me]),cv.kit),mr(Ja);var hg=kp,mf="fa-layers-text",pg=Dp,vg=B({},nv);mr(vg);var gg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ya=Wp,mg=[].concat(St(ov),St(sg)),yr=en.FontAwesomeConfig||{};function yg(a){var i=be.querySelector("script["+a+"]");if(i)return i.getAttribute(a)}function bg(a){return a===""?!0:a==="false"?!1:a==="true"?!0:a}if(be&&typeof be.querySelector=="function"){var _g=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];_g.forEach(function(a){var i=ci(a,2),n=i[0],o=i[1],u=bg(yg(n));u!=null&&(yr[o]=u)})}var yf={styleDefault:"solid",familyDefault:Me,cssPrefix:lf,replacementClass:cf,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};yr.familyPrefix&&(yr.cssPrefix=yr.familyPrefix);var Dn=B(B({},yf),yr);Dn.autoReplaceSvg||(Dn.observeMutations=!1);var G={};Object.keys(yf).forEach(function(a){Object.defineProperty(G,a,{enumerable:!0,set:function(n){Dn[a]=n,br.forEach(function(o){return o(G)})},get:function(){return Dn[a]}})}),Object.defineProperty(G,"familyPrefix",{enumerable:!0,set:function(i){Dn.cssPrefix=i,br.forEach(function(n){return n(G)})},get:function(){return Dn.cssPrefix}}),en.FontAwesomeConfig=G;var br=[];function wg(a){return br.push(a),function(){br.splice(br.indexOf(a),1)}}var Wn=$a,Lt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Sg(a){if(!(!a||!Wt)){var i=be.createElement("style");i.setAttribute("type","text/css"),i.innerHTML=a;for(var n=be.head.childNodes,o=null,u=n.length-1;u>-1;u--){var f=n[u],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(o=f)}return be.head.insertBefore(i,o),a}}var xg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function bf(){for(var a=12,i="";a-- >0;)i+=xg[Math.random()*62|0];return i}function Bn(a){for(var i=[],n=(a||[]).length>>>0;n--;)i[n]=a[n];return i}function Ka(a){return a.classList?Bn(a.classList):(a.getAttribute("class")||"").split(" ").filter(function(i){return i})}function _f(a){return"".concat(a).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Eg(a){return Object.keys(a||{}).reduce(function(i,n){return i+"".concat(n,'="').concat(_f(a[n]),'" ')},"").trim()}function vi(a){return Object.keys(a||{}).reduce(function(i,n){return i+"".concat(n,": ").concat(a[n].trim(),";")},"")}function Xa(a){return a.size!==Lt.size||a.x!==Lt.x||a.y!==Lt.y||a.rotate!==Lt.rotate||a.flipX||a.flipY}function Ag(a){var i=a.transform,n=a.containerWidth,o=a.iconWidth,u={transform:"translate(".concat(n/2," 256)")},f="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),p="rotate(".concat(i.rotate," 0 0)"),g={transform:"".concat(f," ").concat(c," ").concat(p)},y={transform:"translate(".concat(o/2*-1," -256)")};return{outer:u,inner:g,path:y}}function Tg(a){var i=a.transform,n=a.width,o=n===void 0?$a:n,u=a.height,f=u===void 0?$a:u,c="";return Bu?c+="translate(".concat(i.x/Wn-o/2,"em, ").concat(i.y/Wn-f/2,"em) "):c+="translate(calc(-50% + ".concat(i.x/Wn,"em), calc(-50% + ").concat(i.y/Wn,"em)) "),c+="scale(".concat(i.size/Wn*(i.flipX?-1:1),", ").concat(i.size/Wn*(i.flipY?-1:1),") "),c+="rotate(".concat(i.rotate,"deg) "),c}var Ig=`:root, :host {
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cu(a,i){var n=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);i&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),n.push.apply(n,o)}return n}function B(a){for(var i=1;i<arguments.length;i++){var n=arguments[i]!=null?arguments[i]:{};i%2?Cu(Object(n),!0).forEach(function(o){re(a,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(n,o))})}return a}function ci(a,i){return Ep(a)||Np(a,i)||Ma(a,i)||Lp()}function St(a){return Ap(a)||Cp(a)||Ma(a)||Pp()}function Fp(a,i){if(typeof a!="object"||!a)return a;var n=a[Symbol.toPrimitive];if(n!==void 0){var o=n.call(a,i);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function Nu(a){var i=Fp(a,"string");return typeof i=="symbol"?i:i+""}function di(a){"@babel/helpers - typeof";return di=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},di(a)}function Ma(a,i){if(a){if(typeof a=="string")return Fa(a,i);var n={}.toString.call(a).slice(8,-1);return n==="Object"&&a.constructor&&(n=a.constructor.name),n==="Map"||n==="Set"?Array.from(a):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fa(a,i):void 0}}var Lu=function(){},ka={},Pu={},Fu=null,Mu={mark:Lu,measure:Lu};try{typeof window<"u"&&(ka=window),typeof document<"u"&&(Pu=document),typeof MutationObserver<"u"&&(Fu=MutationObserver),typeof performance<"u"&&(Mu=performance)}catch{}var Mp=ka.navigator||{},ku=Mp.userAgent,Du=ku===void 0?"":ku,en=ka,be=Pu,Wu=Fu,hi=Mu;en.document;var Wt=!!be.documentElement&&!!be.head&&typeof be.addEventListener=="function"&&typeof be.createElement=="function",Bu=~Du.indexOf("MSIE")||~Du.indexOf("Trident/"),Da,kp=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Dp=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,Ru={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},Wp={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},$u=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],Me="classic",gr="duotone",zu="sharp",Uu="sharp-duotone",Hu="chisel",qu="etch",ju="jelly",Gu="jelly-duo",Ju="jelly-fill",Yu="notdog",Ku="notdog-duo",Xu="slab",Vu="slab-press",Zu="thumbprint",Qu="utility",ef="utility-duo",tf="utility-fill",nf="whiteboard",Bp="Classic",Rp="Duotone",$p="Sharp",zp="Sharp Duotone",Up="Chisel",Hp="Etch",qp="Jelly",jp="Jelly Duo",Gp="Jelly Fill",Jp="Notdog",Yp="Notdog Duo",Kp="Slab",Xp="Slab Press",Vp="Thumbprint",Zp="Utility",Qp="Utility Duo",ev="Utility Fill",tv="Whiteboard",rf=[Me,gr,zu,Uu,Hu,qu,ju,Gu,Ju,Yu,Ku,Xu,Vu,Zu,Qu,ef,tf,nf];Da={},re(re(re(re(re(re(re(re(re(re(Da,Me,Bp),gr,Rp),zu,$p),Uu,zp),Hu,Up),qu,Hp),ju,qp),Gu,jp),Ju,Gp),Yu,Jp),re(re(re(re(re(re(re(re(Da,Ku,Yp),Xu,Kp),Vu,Xp),Zu,Vp),Qu,Zp),ef,Qp),tf,ev),nf,tv);var nv={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},rv={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},iv=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),av={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},af=["fak","fa-kit","fakd","fa-kit-duotone"],of={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ov=["kit"],sv="kit",uv="kit-duotone",fv="Kit",lv="Kit Duotone";re(re({},sv,fv),uv,lv);var cv={kit:{"fa-kit":"fak"}},dv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},hv={kit:{fak:"fa-kit"}},sf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Wa,pi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],vv="classic",gv="duotone",mv="sharp",yv="sharp-duotone",bv="chisel",_v="etch",wv="jelly",Sv="jelly-duo",xv="jelly-fill",Ev="notdog",Av="notdog-duo",Tv="slab",Iv="slab-press",Ov="thumbprint",Cv="utility",Nv="utility-duo",Lv="utility-fill",Pv="whiteboard",Fv="Classic",Mv="Duotone",kv="Sharp",Dv="Sharp Duotone",Wv="Chisel",Bv="Etch",Rv="Jelly",$v="Jelly Duo",zv="Jelly Fill",Uv="Notdog",Hv="Notdog Duo",qv="Slab",jv="Slab Press",Gv="Thumbprint",Jv="Utility",Yv="Utility Duo",Kv="Utility Fill",Xv="Whiteboard";Wa={},re(re(re(re(re(re(re(re(re(re(Wa,vv,Fv),gv,Mv),mv,kv),yv,Dv),bv,Wv),_v,Bv),wv,Rv),Sv,$v),xv,zv),Ev,Uv),re(re(re(re(re(re(re(re(Wa,Av,Hv),Tv,qv),Iv,jv),Ov,Gv),Cv,Jv),Nv,Yv),Lv,Kv),Pv,Xv);var Vv="kit",Zv="kit-duotone",Qv="Kit",eg="Kit Duotone";re(re({},Vv,Qv),Zv,eg);var tg={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},ng={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Ba={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},rg=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],uf=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(pv,rg),ig=["solid","regular","light","thin","duotone","brands","semibold"],ff=[1,2,3,4,5,6,7,8,9,10],ag=ff.concat([11,12,13,14,15,16,17,18,19,20]),og=["aw","fw","pull-left","pull-right"],sg=[].concat(St(Object.keys(ng)),ig,og,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",pi.GROUP,pi.SWAP_OPACITY,pi.PRIMARY,pi.SECONDARY]).concat(ff.map(function(a){return"".concat(a,"x")})).concat(ag.map(function(a){return"w-".concat(a)})),ug={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},Bt="___FONT_AWESOME___",Ra=16,lf="fa",cf="svg-inline--fa",gn="data-fa-i2svg",$a="data-fa-pseudo-element",fg="data-fa-pseudo-element-pending",za="data-prefix",Ua="data-icon",df="fontawesome-i2svg",lg="async",cg=["HTML","HEAD","STYLE","SCRIPT"],hf=["::before","::after",":before",":after"],pf=(function(){try{return process.env.NODE_ENV==="production"}catch{return!1}})();function mr(a){return new Proxy(a,{get:function(n,o){return o in n?n[o]:n[Me]}})}var vf=B({},Ru);vf[Me]=B(B(B(B({},{"fa-duotone":"duotone"}),Ru[Me]),of.kit),of["kit-duotone"]);var dg=mr(vf),Ha=B({},av);Ha[Me]=B(B(B(B({},{duotone:"fad"}),Ha[Me]),sf.kit),sf["kit-duotone"]);var gf=mr(Ha),qa=B({},Ba);qa[Me]=B(B({},qa[Me]),hv.kit);var ja=mr(qa),Ga=B({},tg);Ga[Me]=B(B({},Ga[Me]),cv.kit),mr(Ga);var hg=kp,mf="fa-layers-text",pg=Dp,vg=B({},nv);mr(vg);var gg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ja=Wp,mg=[].concat(St(ov),St(sg)),yr=en.FontAwesomeConfig||{};function yg(a){var i=be.querySelector("script["+a+"]");if(i)return i.getAttribute(a)}function bg(a){return a===""?!0:a==="false"?!1:a==="true"?!0:a}if(be&&typeof be.querySelector=="function"){var _g=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];_g.forEach(function(a){var i=ci(a,2),n=i[0],o=i[1],u=bg(yg(n));u!=null&&(yr[o]=u)})}var yf={styleDefault:"solid",familyDefault:Me,cssPrefix:lf,replacementClass:cf,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};yr.familyPrefix&&(yr.cssPrefix=yr.familyPrefix);var Dn=B(B({},yf),yr);Dn.autoReplaceSvg||(Dn.observeMutations=!1);var G={};Object.keys(yf).forEach(function(a){Object.defineProperty(G,a,{enumerable:!0,set:function(n){Dn[a]=n,br.forEach(function(o){return o(G)})},get:function(){return Dn[a]}})}),Object.defineProperty(G,"familyPrefix",{enumerable:!0,set:function(i){Dn.cssPrefix=i,br.forEach(function(n){return n(G)})},get:function(){return Dn.cssPrefix}}),en.FontAwesomeConfig=G;var br=[];function wg(a){return br.push(a),function(){br.splice(br.indexOf(a),1)}}var Wn=Ra,Lt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Sg(a){if(!(!a||!Wt)){var i=be.createElement("style");i.setAttribute("type","text/css"),i.innerHTML=a;for(var n=be.head.childNodes,o=null,u=n.length-1;u>-1;u--){var f=n[u],c=(f.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(c)>-1&&(o=f)}return be.head.insertBefore(i,o),a}}var xg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function bf(){for(var a=12,i="";a-- >0;)i+=xg[Math.random()*62|0];return i}function Bn(a){for(var i=[],n=(a||[]).length>>>0;n--;)i[n]=a[n];return i}function Ya(a){return a.classList?Bn(a.classList):(a.getAttribute("class")||"").split(" ").filter(function(i){return i})}function _f(a){return"".concat(a).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Eg(a){return Object.keys(a||{}).reduce(function(i,n){return i+"".concat(n,'="').concat(_f(a[n]),'" ')},"").trim()}function vi(a){return Object.keys(a||{}).reduce(function(i,n){return i+"".concat(n,": ").concat(a[n].trim(),";")},"")}function Ka(a){return a.size!==Lt.size||a.x!==Lt.x||a.y!==Lt.y||a.rotate!==Lt.rotate||a.flipX||a.flipY}function Ag(a){var i=a.transform,n=a.containerWidth,o=a.iconWidth,u={transform:"translate(".concat(n/2," 256)")},f="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),p="rotate(".concat(i.rotate," 0 0)"),g={transform:"".concat(f," ").concat(c," ").concat(p)},y={transform:"translate(".concat(o/2*-1," -256)")};return{outer:u,inner:g,path:y}}function Tg(a){var i=a.transform,n=a.width,o=n===void 0?Ra:n,u=a.height,f=u===void 0?Ra:u,c="";return Bu?c+="translate(".concat(i.x/Wn-o/2,"em, ").concat(i.y/Wn-f/2,"em) "):c+="translate(calc(-50% + ".concat(i.x/Wn,"em), calc(-50% + ").concat(i.y/Wn,"em)) "),c+="scale(".concat(i.size/Wn*(i.flipX?-1:1),", ").concat(i.size/Wn*(i.flipY?-1:1),") "),c+="rotate(".concat(i.rotate,"deg) "),c}var Ig=`:root, :host {
|
|
24
24
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
|
|
25
25
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
|
|
26
26
|
--fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
|
|
@@ -570,7 +570,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
570
570
|
margin: auto;
|
|
571
571
|
position: absolute;
|
|
572
572
|
z-index: var(--fa-stack-z-index, auto);
|
|
573
|
-
}`;function wf(){var a=lf,i=cf,n=G.cssPrefix,o=G.replacementClass,u=Ig;if(n!==a||o!==i){var f=new RegExp("\\.".concat(a,"\\-"),"g"),c=new RegExp("\\--".concat(a,"\\-"),"g"),p=new RegExp("\\.".concat(i),"g");u=u.replace(f,".".concat(n,"-")).replace(c,"--".concat(n,"-")).replace(p,".".concat(o))}return u}var Sf=!1;function Va(){G.autoAddCss&&!Sf&&(Sg(wf()),Sf=!0)}var Og={mixout:function(){return{dom:{css:wf,insertCss:Va}}},hooks:function(){return{beforeDOMElementCreation:function(){Va()},beforeI2svg:function(){Va()}}}},Rt=en||{};Rt[Bt]||(Rt[Bt]={}),Rt[Bt].styles||(Rt[Bt].styles={}),Rt[Bt].hooks||(Rt[Bt].hooks={}),Rt[Bt].shims||(Rt[Bt].shims=[]);var xt=Rt[Bt],xf=[],Ef=function(){be.removeEventListener("DOMContentLoaded",Ef),gi=1,xf.map(function(i){return i()})},gi=!1;Wt&&(gi=(be.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(be.readyState),gi||be.addEventListener("DOMContentLoaded",Ef));function Cg(a){Wt&&(gi?setTimeout(a,0):xf.push(a))}function _r(a){var i=a.tag,n=a.attributes,o=n===void 0?{}:n,u=a.children,f=u===void 0?[]:u;return typeof a=="string"?_f(a):"<".concat(i," ").concat(Eg(o),">").concat(f.map(_r).join(""),"</").concat(i,">")}function Af(a,i,n){if(a&&a[i]&&a[i][n])return{prefix:i,iconName:n,icon:a[i][n]}}var Za=function(i,n,o,u){var f=Object.keys(i),c=f.length,p=n,g,y,_;for(o===void 0?(g=1,_=i[f[0]]):(g=0,_=o);g<c;g++)y=f[g],_=p(_,i[y],y,i);return _};function Tf(a){return St(a).length!==1?null:a.codePointAt(0).toString(16)}function If(a){return Object.keys(a).reduce(function(i,n){var o=a[n],u=!!o.icon;return u?i[o.iconName]=o.icon:i[n]=o,i},{})}function Qa(a,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.skipHooks,u=o===void 0?!1:o,f=If(i);typeof xt.hooks.addPack=="function"&&!u?xt.hooks.addPack(a,If(i)):xt.styles[a]=B(B({},xt.styles[a]||{}),f),a==="fas"&&Qa("fa",i)}var wr=xt.styles,Ng=xt.shims,Of=Object.keys(Ga),Lg=Of.reduce(function(a,i){return a[i]=Object.keys(Ga[i]),a},{}),eo=null,Cf={},Nf={},Lf={},Pf={},Ff={};function Pg(a){return~mg.indexOf(a)}function Fg(a,i){var n=i.split("-"),o=n[0],u=n.slice(1).join("-");return o===a&&u!==""&&!Pg(u)?u:null}var Mf=function(){var i=function(f){return Za(wr,function(c,p,g){return c[g]=Za(p,f,{}),c},{})};Cf=i(function(u,f,c){if(f[3]&&(u[f[3]]=c),f[2]){var p=f[2].filter(function(g){return typeof g=="number"});p.forEach(function(g){u[g.toString(16)]=c})}return u}),Nf=i(function(u,f,c){if(u[c]=c,f[2]){var p=f[2].filter(function(g){return typeof g=="string"});p.forEach(function(g){u[g]=c})}return u}),Ff=i(function(u,f,c){var p=f[2];return u[c]=c,p.forEach(function(g){u[g]=c}),u});var n="far"in wr||G.autoFetchSvg,o=Za(Ng,function(u,f){var c=f[0],p=f[1],g=f[2];return p==="far"&&!n&&(p="fas"),typeof c=="string"&&(u.names[c]={prefix:p,iconName:g}),typeof c=="number"&&(u.unicodes[c.toString(16)]={prefix:p,iconName:g}),u},{names:{},unicodes:{}});Lf=o.names,Pf=o.unicodes,eo=mi(G.styleDefault,{family:G.familyDefault})};wg(function(a){eo=mi(a.styleDefault,{family:G.familyDefault})}),Mf();function to(a,i){return(Cf[a]||{})[i]}function Mg(a,i){return(Nf[a]||{})[i]}function mn(a,i){return(Ff[a]||{})[i]}function kf(a){return Lf[a]||{prefix:null,iconName:null}}function kg(a){var i=Pf[a],n=to("fas",a);return i||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function tn(){return eo}var Df=function(){return{prefix:null,iconName:null,rest:[]}};function Dg(a){var i=Me,n=Of.reduce(function(o,u){return o[u]="".concat(G.cssPrefix,"-").concat(u),o},{});return rf.forEach(function(o){(a.includes(n[o])||a.some(function(u){return Lg[o].includes(u)}))&&(i=o)}),i}function mi(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.family,o=n===void 0?Me:n,u=dg[o][a];if(o===gr&&!a)return"fad";var f=gf[o][a]||gf[o][u],c=a in xt.styles?a:null,p=f||c||null;return p}function Wg(a){var i=[],n=null;return a.forEach(function(o){var u=Fg(G.cssPrefix,o);u?n=u:o&&i.push(o)}),{iconName:n,rest:i}}function Wf(a){return a.sort().filter(function(i,n,o){return o.indexOf(i)===n})}var Bf=uf.concat(af);function yi(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.skipLookups,o=n===void 0?!1:n,u=null,f=Wf(a.filter(function(x){return Bf.includes(x)})),c=Wf(a.filter(function(x){return!Bf.includes(x)})),p=f.filter(function(x){return u=x,!$u.includes(x)}),g=ci(p,1),y=g[0],_=y===void 0?null:y,w=Dg(f),O=B(B({},Wg(c)),{},{prefix:mi(_,{family:w})});return B(B(B({},O),zg({values:a,family:w,styles:wr,config:G,canonical:O,givenPrefix:u})),Bg(o,u,O))}function Bg(a,i,n){var o=n.prefix,u=n.iconName;if(a||!o||!u)return{prefix:o,iconName:u};var f=i==="fa"?kf(u):{},c=mn(o,u);return u=f.iconName||c||u,o=f.prefix||o,o==="far"&&!wr.far&&wr.fas&&!G.autoFetchSvg&&(o="fas"),{prefix:o,iconName:u}}var Rg=rf.filter(function(a){return a!==Me||a!==gr}),$g=Object.keys(Ra).filter(function(a){return a!==Me}).map(function(a){return Object.keys(Ra[a])}).flat();function zg(a){var i=a.values,n=a.family,o=a.canonical,u=a.givenPrefix,f=u===void 0?"":u,c=a.styles,p=c===void 0?{}:c,g=a.config,y=g===void 0?{}:g,_=n===gr,w=i.includes("fa-duotone")||i.includes("fad"),O=y.familyDefault==="duotone",x=o.prefix==="fad"||o.prefix==="fa-duotone";if(!_&&(w||O||x)&&(o.prefix="fad"),(i.includes("fa-brands")||i.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Rg.includes(n)){var E=Object.keys(p).find(function(T){return $g.includes(T)});if(E||y.autoFetchSvg){var A=iv.get(n).defaultShortPrefixId;o.prefix=A,o.iconName=mn(o.prefix,o.iconName)||o.iconName}}return(o.prefix==="fa"||f==="fa")&&(o.prefix=tn()||"fas"),o}var Ug=(function(){function a(){Tp(this,a),this.definitions={}}return Op(a,[{key:"add",value:function(){for(var n=this,o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];var c=u.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(p){n.definitions[p]=B(B({},n.definitions[p]||{}),c[p]),Qa(p,c[p]);var g=Ga[Me][p];g&&Qa(g,c[p]),Mf()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,o){var u=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(u).map(function(f){var c=u[f],p=c.prefix,g=c.iconName,y=c.icon,_=y[2];n[p]||(n[p]={}),_.length>0&&_.forEach(function(w){typeof w=="string"&&(n[p][w]=y)}),n[p][g]=y}),n}}])})(),Rf=[],Rn={},$n={},Hg=Object.keys($n);function qg(a,i){var n=i.mixoutsTo;return Rf=a,Rn={},Object.keys($n).forEach(function(o){Hg.indexOf(o)===-1&&delete $n[o]}),Rf.forEach(function(o){var u=o.mixout?o.mixout():{};if(Object.keys(u).forEach(function(c){typeof u[c]=="function"&&(n[c]=u[c]),di(u[c])==="object"&&Object.keys(u[c]).forEach(function(p){n[c]||(n[c]={}),n[c][p]=u[c][p]})}),o.hooks){var f=o.hooks();Object.keys(f).forEach(function(c){Rn[c]||(Rn[c]=[]),Rn[c].push(f[c])})}o.provides&&o.provides($n)}),n}function no(a,i){for(var n=arguments.length,o=new Array(n>2?n-2:0),u=2;u<n;u++)o[u-2]=arguments[u];var f=Rn[a]||[];return f.forEach(function(c){i=c.apply(null,[i].concat(o))}),i}function yn(a){for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];var u=Rn[a]||[];u.forEach(function(f){f.apply(null,n)})}function nn(){var a=arguments[0],i=Array.prototype.slice.call(arguments,1);return $n[a]?$n[a].apply(null,i):void 0}function ro(a){a.prefix==="fa"&&(a.prefix="fas");var i=a.iconName,n=a.prefix||tn();if(i)return i=mn(n,i)||i,Af($f.definitions,n,i)||Af(xt.styles,n,i)}var $f=new Ug,jg=function(){G.autoReplaceSvg=!1,G.observeMutations=!1,yn("noAuto")},Gg={i2svg:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Wt?(yn("beforeI2svg",i),nn("pseudoElements2svg",i),nn("i2svg",i)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=i.autoReplaceSvgRoot;G.autoReplaceSvg===!1&&(G.autoReplaceSvg=!0),G.observeMutations=!0,Cg(function(){Yg({autoReplaceSvgRoot:n}),yn("watch",i)})}},Jg={icon:function(i){if(i===null)return null;if(di(i)==="object"&&i.prefix&&i.iconName)return{prefix:i.prefix,iconName:mn(i.prefix,i.iconName)||i.iconName};if(Array.isArray(i)&&i.length===2){var n=i[1].indexOf("fa-")===0?i[1].slice(3):i[1],o=mi(i[0]);return{prefix:o,iconName:mn(o,n)||n}}if(typeof i=="string"&&(i.indexOf("".concat(G.cssPrefix,"-"))>-1||i.match(hg))){var u=yi(i.split(" "),{skipLookups:!0});return{prefix:u.prefix||tn(),iconName:mn(u.prefix,u.iconName)||u.iconName}}if(typeof i=="string"){var f=tn();return{prefix:f,iconName:mn(f,i)||i}}}},tt={noAuto:jg,config:G,dom:Gg,parse:Jg,library:$f,findIconDefinition:ro,toHtml:_r},Yg=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=i.autoReplaceSvgRoot,o=n===void 0?be:n;(Object.keys(xt.styles).length>0||G.autoFetchSvg)&&Wt&&G.autoReplaceSvg&&tt.dom.i2svg({node:o})};function bi(a,i){return Object.defineProperty(a,"abstract",{get:i}),Object.defineProperty(a,"html",{get:function(){return a.abstract.map(function(o){return _r(o)})}}),Object.defineProperty(a,"node",{get:function(){if(Wt){var o=be.createElement("div");return o.innerHTML=a.html,o.children}}}),a}function Kg(a){var i=a.children,n=a.main,o=a.mask,u=a.attributes,f=a.styles,c=a.transform;if(Xa(c)&&n.found&&!o.found){var p=n.width,g=n.height,y={x:p/g/2,y:.5};u.style=vi(B(B({},f),{},{"transform-origin":"".concat(y.x+c.x/16,"em ").concat(y.y+c.y/16,"em")}))}return[{tag:"svg",attributes:u,children:i}]}function Xg(a){var i=a.prefix,n=a.iconName,o=a.children,u=a.attributes,f=a.symbol,c=f===!0?"".concat(i,"-").concat(G.cssPrefix,"-").concat(n):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:B(B({},u),{},{id:c}),children:o}]}]}function Vg(a){var i=["aria-label","aria-labelledby","title","role"];return i.some(function(n){return n in a})}function io(a){var i=a.icons,n=i.main,o=i.mask,u=a.prefix,f=a.iconName,c=a.transform,p=a.symbol,g=a.maskId,y=a.extra,_=a.watchable,w=_===void 0?!1:_,O=o.found?o:n,x=O.width,E=O.height,A=[G.replacementClass,f?"".concat(G.cssPrefix,"-").concat(f):""].filter(function(R){return y.classes.indexOf(R)===-1}).filter(function(R){return R!==""||!!R}).concat(y.classes).join(" "),T={children:[],attributes:B(B({},y.attributes),{},{"data-prefix":u,"data-icon":f,class:A,role:y.attributes.role||"img",viewBox:"0 0 ".concat(x," ").concat(E)})};!Vg(y.attributes)&&!y.attributes["aria-hidden"]&&(T.attributes["aria-hidden"]="true"),w&&(T.attributes[gn]="");var L=B(B({},T),{},{prefix:u,iconName:f,main:n,mask:o,maskId:g,transform:c,symbol:p,styles:B({},y.styles)}),W=o.found&&n.found?nn("generateAbstractMask",L)||{children:[],attributes:{}}:nn("generateAbstractIcon",L)||{children:[],attributes:{}},U=W.children,Z=W.attributes;return L.children=U,L.attributes=Z,p?Xg(L):Kg(L)}function zf(a){var i=a.content,n=a.width,o=a.height,u=a.transform,f=a.extra,c=a.watchable,p=c===void 0?!1:c,g=B(B({},f.attributes),{},{class:f.classes.join(" ")});p&&(g[gn]="");var y=B({},f.styles);Xa(u)&&(y.transform=Tg({transform:u,width:n,height:o}),y["-webkit-transform"]=y.transform);var _=vi(y);_.length>0&&(g.style=_);var w=[];return w.push({tag:"span",attributes:g,children:[i]}),w}function Zg(a){var i=a.content,n=a.extra,o=B(B({},n.attributes),{},{class:n.classes.join(" ")}),u=vi(n.styles);u.length>0&&(o.style=u);var f=[];return f.push({tag:"span",attributes:o,children:[i]}),f}var ao=xt.styles;function oo(a){var i=a[0],n=a[1],o=a.slice(4),u=ci(o,1),f=u[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ya.GROUP)},children:[{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ya.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ya.PRIMARY),fill:"currentColor",d:f[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:i,height:n,icon:c}}var Qg={found:!1,width:512,height:512};function em(a,i){!pf&&!G.showMissingIcons&&a&&console.error('Icon with name "'.concat(a,'" and prefix "').concat(i,'" is missing.'))}function so(a,i){var n=i;return i==="fa"&&G.styleDefault!==null&&(i=tn()),new Promise(function(o,u){if(n==="fa"){var f=kf(a)||{};a=f.iconName||a,i=f.prefix||i}if(a&&i&&ao[i]&&ao[i][a]){var c=ao[i][a];return o(oo(c))}em(a,i),o(B(B({},Qg),{},{icon:G.showMissingIcons&&a?nn("missingIconAbstract")||{}:{}}))})}var Uf=function(){},uo=G.measurePerformance&&hi&&hi.mark&&hi.measure?hi:{mark:Uf,measure:Uf},Sr='FA "7.1.0"',tm=function(i){return uo.mark("".concat(Sr," ").concat(i," begins")),function(){return Hf(i)}},Hf=function(i){uo.mark("".concat(Sr," ").concat(i," ends")),uo.measure("".concat(Sr," ").concat(i),"".concat(Sr," ").concat(i," begins"),"".concat(Sr," ").concat(i," ends"))},fo={begin:tm,end:Hf},_i=function(){};function qf(a){var i=a.getAttribute?a.getAttribute(gn):null;return typeof i=="string"}function nm(a){var i=a.getAttribute?a.getAttribute(Ua):null,n=a.getAttribute?a.getAttribute(Ha):null;return i&&n}function rm(a){return a&&a.classList&&a.classList.contains&&a.classList.contains(G.replacementClass)}function im(){if(G.autoReplaceSvg===!0)return wi.replace;var a=wi[G.autoReplaceSvg];return a||wi.replace}function am(a){return be.createElementNS("http://www.w3.org/2000/svg",a)}function om(a){return be.createElement(a)}function jf(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.ceFn,o=n===void 0?a.tag==="svg"?am:om:n;if(typeof a=="string")return be.createTextNode(a);var u=o(a.tag);Object.keys(a.attributes||[]).forEach(function(c){u.setAttribute(c,a.attributes[c])});var f=a.children||[];return f.forEach(function(c){u.appendChild(jf(c,{ceFn:o}))}),u}function sm(a){var i=" ".concat(a.outerHTML," ");return i="".concat(i,"Font Awesome fontawesome.com "),i}var wi={replace:function(i){var n=i[0];if(n.parentNode)if(i[1].forEach(function(u){n.parentNode.insertBefore(jf(u),n)}),n.getAttribute(gn)===null&&G.keepOriginalSource){var o=be.createComment(sm(n));n.parentNode.replaceChild(o,n)}else n.remove()},nest:function(i){var n=i[0],o=i[1];if(~Ka(n).indexOf(G.replacementClass))return wi.replace(i);var u=new RegExp("".concat(G.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){var f=o[0].attributes.class.split(" ").reduce(function(p,g){return g===G.replacementClass||g.match(u)?p.toSvg.push(g):p.toNode.push(g),p},{toNode:[],toSvg:[]});o[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",f.toNode.join(" "))}var c=o.map(function(p){return _r(p)}).join(`
|
|
574
|
-
`);n.setAttribute(gn,""),n.innerHTML=c}};function Gf(a){a()}function Jf(a,i){var n=typeof i=="function"?i:_i;if(a.length===0)n();else{var o=Gf;G.mutateApproach===lg&&(o=en.requestAnimationFrame||Gf),o(function(){var u=im(),f=
|
|
575
|
-
`),a.removeAttribute(n),o()}).catch(u)}else o()}else o()})}function Tm(a){return Promise.all([nl(a,"::before"),nl(a,"::after")])}function Im(a){return a.parentNode!==document.head&&!~cg.indexOf(a.tagName.toUpperCase())&&!a.getAttribute(
|
|
576
|
-
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(A){u.e(A)}finally{u.f()}if(!o.size)return;var E=Array.from(o).join(", ");try{n=a.querySelectorAll(E)}catch{}}return new Promise(function(A,T){var L=Bn(n).filter(Im).map(Tm),W=fo.begin("searchPseudoElements");Yf(),Promise.all(L).then(function(){W(),co(),A()}).catch(function(){W(),co(),T()})})}}var Nm={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=rl,n}}},provides:function(i){i.pseudoElements2svg=function(n){var o=n.node,u=o===void 0?be:o;G.searchPseudoElements&&rl(u)}}},il=!1,Lm={mixout:function(){return{dom:{unwatch:function(){Yf(),il=!0}}}},hooks:function(){return{bootstrap:function(){Kf(no("mutationObserverCallbacks",{}))},noAuto:function(){um()},watch:function(n){var o=n.observeMutationsRoot;il?co():Kf(no("mutationObserverCallbacks",{observeMutationsRoot:o}))}}}},al=function(i){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return i.toLowerCase().split(" ").reduce(function(o,u){var f=u.toLowerCase().split("-"),c=f[0],p=f.slice(1).join("-");if(c&&p==="h")return o.flipX=!0,o;if(c&&p==="v")return o.flipY=!0,o;if(p=parseFloat(p),isNaN(p))return o;switch(c){case"grow":o.size=o.size+p;break;case"shrink":o.size=o.size-p;break;case"left":o.x=o.x-p;break;case"right":o.x=o.x+p;break;case"up":o.y=o.y-p;break;case"down":o.y=o.y+p;break;case"rotate":o.rotate=o.rotate+p;break}return o},n)},Pm={mixout:function(){return{parse:{transform:function(n){return al(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-transform");return u&&(n.transform=al(u)),n}}},provides:function(i){i.generateAbstractTransformGrouping=function(n){var o=n.main,u=n.transform,f=n.containerWidth,c=n.iconWidth,p={transform:"translate(".concat(f/2," 256)")},g="translate(".concat(u.x*32,", ").concat(u.y*32,") "),y="scale(".concat(u.size/16*(u.flipX?-1:1),", ").concat(u.size/16*(u.flipY?-1:1),") "),_="rotate(".concat(u.rotate," 0 0)"),w={transform:"".concat(g," ").concat(y," ").concat(_)},O={transform:"translate(".concat(c/2*-1," -256)")},x={outer:p,inner:w,path:O};return{tag:"g",attributes:B({},x.outer),children:[{tag:"g",attributes:B({},x.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:B(B({},o.icon.attributes),x.path)}]}]}}}},po={x:0,y:0,width:"100%",height:"100%"};function ol(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return a.attributes&&(a.attributes.fill||i)&&(a.attributes.fill="black"),a}function Fm(a){return a.tag==="g"?a.children:[a]}var Mm={hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-mask"),f=u?yi(u.split(" ").map(function(c){return c.trim()})):Df();return f.prefix||(f.prefix=tn()),n.mask=f,n.maskId=o.getAttribute("data-fa-mask-id"),n}}},provides:function(i){i.generateAbstractMask=function(n){var o=n.children,u=n.attributes,f=n.main,c=n.mask,p=n.maskId,g=n.transform,y=f.width,_=f.icon,w=c.width,O=c.icon,x=Ag({transform:g,containerWidth:w,iconWidth:y}),E={tag:"rect",attributes:B(B({},po),{},{fill:"white"})},A=_.children?{children:_.children.map(ol)}:{},T={tag:"g",attributes:B({},x.inner),children:[ol(B({tag:_.tag,attributes:B(B({},_.attributes),x.path)},A))]},L={tag:"g",attributes:B({},x.outer),children:[T]},W="mask-".concat(p||bf()),U="clip-".concat(p||bf()),Z={tag:"mask",attributes:B(B({},po),{},{id:W,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[E,L]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:Fm(O)},Z]};return o.push(R,{tag:"rect",attributes:B({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(W,")")},po)}),{children:o,attributes:u}}}},km={provides:function(i){var n=!1;en.matchMedia&&(n=en.matchMedia("(prefers-reduced-motion: reduce)").matches),i.missingIconAbstract=function(){var o=[],u={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:B(B({},u),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=B(B({},f),{},{attributeName:"opacity"}),p={tag:"circle",attributes:B(B({},u),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||p.children.push({tag:"animate",attributes:B(B({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:B(B({},c),{},{values:"1;0;1;1;0;1;"})}),o.push(p),o.push({tag:"path",attributes:B(B({},u),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:B(B({},c),{},{values:"1;0;0;0;0;1;"})}]}),n||o.push({tag:"path",attributes:B(B({},u),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:B(B({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Dm={hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-symbol"),f=u===null?!1:u===""?!0:u;return n.symbol=f,n}}}},Wm=[Og,ym,bm,_m,wm,Nm,Lm,Pm,Mm,km,Dm];qg(Wm,{mixoutsTo:tt}),tt.noAuto;var xr=tt.config;tt.library,tt.dom;var sl=tt.parse;tt.findIconDefinition,tt.toHtml;var Bm=tt.icon;tt.layer,tt.text,tt.counter;function Rm(a){return a=a-0,a===a}function ul(a){return Rm(a)?a:(a=a.replace(/[_-]+(.)?/g,(i,n)=>n?n.toUpperCase():""),a.charAt(0).toLowerCase()+a.slice(1))}function $m(a){return a.charAt(0).toUpperCase()+a.slice(1)}var zn=new Map,zm=1e3;function Um(a){if(zn.has(a))return zn.get(a);const i={};let n=0;const o=a.length;for(;n<o;){const u=a.indexOf(";",n),f=u===-1?o:u,c=a.slice(n,f).trim();if(c){const p=c.indexOf(":");if(p>0){const g=c.slice(0,p).trim(),y=c.slice(p+1).trim();if(g&&y){const _=ul(g);i[_.startsWith("webkit")?$m(_):_]=y}}}n=f+1}if(zn.size===zm){const u=zn.keys().next().value;u&&zn.delete(u)}return zn.set(a,i),i}function fl(a,i,n={}){if(typeof i=="string")return i;const o=(i.children||[]).map(_=>fl(a,_)),u=i.attributes||{},f={};for(const[_,w]of Object.entries(u))switch(!0){case _==="class":{f.className=w;break}case _==="style":{f.style=Um(String(w));break}case _.startsWith("aria-"):case _.startsWith("data-"):{f[_.toLowerCase()]=w;break}default:f[ul(_)]=w}const{style:c,role:p,"aria-label":g,...y}=n;return c&&(f.style=f.style?{...f.style,...c}:c),p&&(f.role=p),g&&(f["aria-label"]=g,f["aria-hidden"]="false"),a(i.tag,{...y,...f},...o)}var Hm=fl.bind(null,k.createElement),ll=(a,i)=>{const n=k.useId();return a||(i?n:void 0)},qm=class{constructor(a="react-fontawesome"){this.enabled=!1;let i=!1;try{i=typeof process<"u"&&process.env.NODE_ENV==="development"}catch{}this.scope=a,this.enabled=i}log(...a){this.enabled&&console.log(`[${this.scope}]`,...a)}warn(...a){this.enabled&&console.warn(`[${this.scope}]`,...a)}error(...a){this.enabled&&console.error(`[${this.scope}]`,...a)}};typeof process<"u"&&process.env.FA_VERSION;var jm="searchPseudoElementsFullScan"in xr?"7.0.0":"6.0.0",Gm=Number.parseInt(jm)>=7,Er="fa",$t={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse"},Jm={left:"fa-pull-left",right:"fa-pull-right"},Ym={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Km={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},zt={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto"};function Xm(a){const i=xr.cssPrefix||xr.familyPrefix||Er;return i===Er?a:a.replace(new RegExp(String.raw`(?<=^|\s)${Er}-`,"g"),`${i}-`)}function Vm(a){const{beat:i,fade:n,beatFade:o,bounce:u,shake:f,spin:c,spinPulse:p,spinReverse:g,pulse:y,fixedWidth:_,inverse:w,border:O,flip:x,size:E,rotation:A,pull:T,swapOpacity:L,rotateBy:W,widthAuto:U,className:Z}=a,R=[];return Z&&R.push(...Z.split(" ")),i&&R.push($t.beat),n&&R.push($t.fade),o&&R.push($t.beatFade),u&&R.push($t.bounce),f&&R.push($t.shake),c&&R.push($t.spin),g&&R.push($t.spinReverse),p&&R.push($t.spinPulse),y&&R.push($t.pulse),_&&R.push(zt.fixedWidth),w&&R.push(zt.inverse),O&&R.push(zt.border),x===!0&&R.push(zt.flip),(x==="horizontal"||x==="both")&&R.push(zt.flipHorizontal),(x==="vertical"||x==="both")&&R.push(zt.flipVertical),E!=null&&R.push(Km[E]),A!=null&&A!==0&&R.push(Ym[A]),T!=null&&R.push(Jm[T]),L&&R.push(zt.swapOpacity),Gm?(W&&R.push(zt.rotateBy),U&&R.push(zt.widthAuto),(xr.cssPrefix||xr.familyPrefix||Er)===Er?R:R.map(Xm)):R}var Zm=a=>typeof a=="object"&&"icon"in a&&!!a.icon;function cl(a){if(a)return Zm(a)?a:sl.icon(a)}function Qm(a){return Object.keys(a)}var dl=new qm("FontAwesomeIcon"),hl={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},e0=new Set(Object.keys(hl)),Un=k.forwardRef((a,i)=>{const n={...hl,...a},{icon:o,mask:u,symbol:f,title:c,titleId:p,maskId:g,transform:y}=n,_=ll(g,!!u),w=ll(p,!!c),O=cl(o);if(!O)return dl.error("Icon lookup is undefined",o),null;const x=Vm(n),E=typeof y=="string"?sl.transform(y):y,A=cl(u),T=Bm(O,{...x.length>0&&{classes:x},...E&&{transform:E},...A&&{mask:A},symbol:f,title:c,titleId:w,maskId:_});if(!T)return dl.error("Could not find icon",O),null;const{abstract:L}=T,W={ref:i};for(const U of Qm(n))e0.has(U)||(W[U]=n[U]);return Hm(L[0],W)});Un.displayName="FontAwesomeIcon";var t0={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},n0={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"]},pl={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},r0={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]};function i0({layoutId:a,justId:i,winInfo:n}){console.log("TabTitle justId",i);const[o,u]=Ia(),[f]=k.useState({x:0,y:0}),c=Nt(a),p=c.getTabTitleTooltip(i),g=_=>{c.removeWin({justId:_})},y=(_,w)=>{c.activeWin({justId:w})};return $.jsxs($.Fragment,{children:[$.jsx("div",{className:"just-icon",onClick:_=>y(_,i),title:p,children:n.getTabIcon(i,a)}),$.jsx("div",{className:"just-title",onClick:_=>y(_,i),title:p,children:c.getTabTitle(i)??i.title}),$.jsx("div",{className:"just-icon just-close",onClick:()=>g(i),children:$.jsx(Un,{icon:pl})}),$.jsx(gu,{state:o.state,endTransition:o.endTransition,anchorPoint:f,onClose:()=>u(!1),children:$.jsxs(ui,{onClick:()=>g(i),children:[$.jsx("div",{className:"just-icon"}),$.jsx("div",{className:"just-title",children:"Close"}),$.jsx("div",{className:"just-icon"})]})})]})}const vl=Dt(i0);function a0(a){const{layoutId:i,isFullScreenView:n,dndAccept:o,winInfo:u,justBranch:f,justId:c,justStack:p,rect:g}=a,y=k.useRef(null),[,_]=Ia(),[,w]=k.useState({x:0,y:0}),O=Nt(i),[{isDragging:x},E]=Zr.useDrag({type:c.viewId,item:{justBranch:f,justId:c,index:-1},collect:L=>({isDragging:L.isDragging()})}),[,A]=Zr.useDrop({accept:o,collect(L){return{handlerId:L.getHandlerId()}},hover(L,W){if(!y.current||c===L.justId)return;const U=y.current.getBoundingClientRect(),Z=W.getClientOffset(),R=(U.right-U.left)/2,de=Z.x-U.left,C=L.justId,P=c,q=p.tabs.filter(J=>!he.isEquals(J,C));let ee=he.indexOf(q,P);de>R&&(ee+=1),L.pos="stack",L.index=ee}});k.useEffect(()=>{if(he.isEquals(c,O.lastActiveId??null)){if(y.current==null||g==null)return;const L=y.current.getBoundingClientRect();(g.left>L.left||g.right<L.right)&&y.current.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}},[O.lastActiveTm]),k.useLayoutEffect(()=>{y.current&&E(A(y))},[A,E]);const T=k.useCallback(L=>{L.preventDefault(),w({x:L.clientX,y:L.clientY}),_(!0)},[_]);return $.jsx("div",{className:_t("just-draggable-title","just-title-menus",{dragging:x,"just-active":he.isEquals(p.active,c),"last-active":he.isEquals(O.lastActiveId,c)}),ref:y,onContextMenu:T,children:u.getTabTitle?u.getTabTitle({justId:c,layoutId:i,justBranch:f,isFullScreenView:n,winInfo:u}):$.jsx(vl,{justId:c,layoutId:i,justBranch:f,isFullScreenView:n,winInfo:u})})}const gl=Dt(a0);function o0({layoutId:a,justBranch:i,isFullScreenView:n}){const o=Nt(a),u=()=>{console.log("closeAllTabs justBranch",i),o.removeAllTabs({branch:i})},f=async(c=!1)=>{n?o.setLayout(null):(o.setFullScreenLayoutByBranch(i),o.setFullScreenHideTitle(c))};return $.jsxs($.Fragment,{children:[$.jsxs(ui,{className:"just-menu-item",onClick:()=>u(),children:[$.jsx("div",{className:"just-icon"}),$.jsx("div",{className:"just-title",children:"Close All"}),$.jsx("div",{className:"just-icon"})]}),$.jsxs(ui,{className:"just-menu-item",onClick:()=>f(!0),children:[$.jsx("div",{className:"just-icon",children:$.jsx(Un,{icon:t0})}),$.jsx("div",{className:"just-title",children:n?"F11":"Full"}),$.jsx("div",{className:"just-icon"})]})]})}const ml=Dt(o0);function s0({layoutId:a,isFullScreenView:i,dndAccept:n,justBranch:o,justStack:u,getWinInfo:f,getTabMenu:c}){const p=k.useRef(null),[g,y]=k.useState(null),_=Nt(a),w=T=>{_.removeWin({justId:T})},O=T=>{_.activeWin({justId:T})},x=(T,L)=>{_.moveWin({pos:"stack",justId:L.justId,branch:o,index:L.index??-1})},[{isOver:E},A]=Zr.useDrop(()=>({accept:n,collect:T=>({isOver:T.isOver()}),drop(T,L){x(L.getItemType(),L.getItem())},hover(T,L){p.current&&(T.index=-1)}}),[u]);return k.useLayoutEffect(()=>{p.current&&A(p)},[A]),k.useEffect(()=>{if(p.current===null)return;function T(){if(p.current===null)return;const W=p.current.getBoundingClientRect()??null;y(W)}T();const L=new ResizeObserver(T);return L.observe(p.current),window.addEventListener("scroll",T,!0),()=>{L.disconnect(),window.removeEventListener("scroll",T,!0)}},[]),$.jsxs("div",{className:_t("just-win-title"),tabIndex:1,children:[$.jsx("div",{className:_t("just-title-list",{"is-over":E}),ref:p,children:u.tabs.map(T=>$.jsx(gl,{layoutId:a,isFullScreenView:i,dndAccept:n,rect:g,justId:T,justBranch:o,justStack:u,winInfo:f(T)},[...o,he.toString(T)].join(",")))}),$.jsxs("div",{className:"just-title-menus",children:[$.jsx(_u,{menuButton:$.jsx("div",{className:"just-title-menu",children:$.jsx(Un,{icon:r0})}),children:u.tabs.map(T=>$.jsxs(ui,{className:_t("just-menu-item",{active:he.isEquals(u.active,T)}),children:[$.jsx("div",{className:"just-icon",onClick:()=>O(T),children:f(T).getTabIcon(T,a)}),$.jsx("div",{className:"just-title",onClick:()=>O(T),children:_.getTabTitle(T)??T.title}),$.jsx("div",{className:"just-icon just-close",onClick:L=>{L.stopPropagation(),w(T)},children:$.jsx(Un,{icon:pl})})]},he.toString(T)))}),$.jsx(_u,{menuButton:$.jsx("div",{className:"just-title-menu",children:$.jsx(Un,{icon:n0})}),children:c?c(a,o,u,i):$.jsx(ml,{layoutId:a,justBranch:o,justStack:u,isFullScreenView:i})})]})]})}const yl=Dt(s0);function u0(a){const i=k.useRef(null),{layoutId:n,dndAccept:o,getWinInfo:u,justBranch:f,justStack:c}=a,[p,g]=k.useState(null),y=Nt(n),_=(x,E)=>{E.pos&&(E.pos==="stack"?y.moveWin({pos:E.pos,justId:E.justId,branch:f,index:E.index??-1}):y.moveWin({pos:E.pos,justId:E.justId,branch:f,direction:E.direction??"row"}))},[{isOver:w},O]=Zr.useDrop(()=>({accept:o,collect:x=>({isOver:x.isOver()}),drop(x,E){i.current&&_(E.getItemType(),E.getItem())},hover(x,E){if(!i.current)return;const A=i.current.getBoundingClientRect(),T=E.getClientOffset(),L=(A.right-A.left)/2,W=(A.bottom-A.top)/2,U=T.x-A.left,Z=T.y-A.top,R=U-L,de=Z-W,C=Math.abs(R*100/L),P=Math.abs(de*100/W);if(C<60&&P<60){x.pos="stack";const q={top:A.top,left:A.left,width:A.width,height:A.height};g(q)}else{const q=C>P?"row":"column",J=Math.sign(q==="row"?R:de)>0?"second":"first";x.direction=q,x.pos=J;const ie={top:J==="second"&&q==="column"?A.top+A.height/2:A.top,left:J==="second"&&q==="row"?A.left+A.width/2:A.left,width:q==="row"?A.width/2:A.width,height:q==="column"?A.height/2:A.height};g(ie)}}}),[c]);return k.useLayoutEffect(()=>{i.current&&O(i)},[O]),$.jsxs("div",{className:_t("just-win-body",{isOver:w,"last-active":he.isEquals(c.active,y.lastActiveId)}),ref:i,children:[c.tabs.map(x=>$.jsx(k.Activity,{mode:he.isEquals(c.active,x)?"visible":"hidden",children:u(x).getView(x,n)},he.toString(x))),w&&p!=null&&$.jsx("div",{className:"just-overlay",style:{top:p.top,left:p.left,width:`${p.width}px`,height:`${p.height}px`}})]})}const bl=Dt(u0);function f0({layoutId:a,isFullScreenView:i,hideTitle:n,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c,getTabMenu:p}){const g=Nt(a),y=g.fullScreenHideTitle,_=n!==!0,w=()=>{f.active&&g.activeWin({justId:f.active})};return $.jsxs("div",{className:"just-win",onFocusCapture:w,tabIndex:1,children:[_&&!y&&$.jsx(yl,{layoutId:a,isFullScreenView:i,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c,getTabMenu:p}),$.jsx(bl,{layoutId:a,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c})]})}const _l=Dt(f0);var vo,wl;function go(){if(wl)return vo;wl=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return vo=a,vo}var mo,Sl;function l0(){if(Sl)return mo;Sl=1;var a=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt;return mo=a,mo}var yo,xl;function El(){if(xl)return yo;xl=1;var a=l0(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return yo=n,yo}var bo,Al;function c0(){if(Al)return bo;Al=1;var a=El(),i=function(){return a.Date.now()};return bo=i,bo}var _o,Tl;function d0(){if(Tl)return _o;Tl=1;var a=/\s/;function i(n){for(var o=n.length;o--&&a.test(n.charAt(o)););return o}return _o=i,_o}var wo,Il;function h0(){if(Il)return wo;Il=1;var a=d0(),i=/^\s+/;function n(o){return o&&o.slice(0,a(o)+1).replace(i,"")}return wo=n,wo}var So,Ol;function Cl(){if(Ol)return So;Ol=1;var a=El(),i=a.Symbol;return So=i,So}var xo,Nl;function p0(){if(Nl)return xo;Nl=1;var a=Cl(),i=Object.prototype,n=i.hasOwnProperty,o=i.toString,u=a?a.toStringTag:void 0;function f(c){var p=n.call(c,u),g=c[u];try{c[u]=void 0;var y=!0}catch{}var _=o.call(c);return y&&(p?c[u]=g:delete c[u]),_}return xo=f,xo}var Eo,Ll;function v0(){if(Ll)return Eo;Ll=1;var a=Object.prototype,i=a.toString;function n(o){return i.call(o)}return Eo=n,Eo}var Ao,Pl;function g0(){if(Pl)return Ao;Pl=1;var a=Cl(),i=p0(),n=v0(),o="[object Null]",u="[object Undefined]",f=a?a.toStringTag:void 0;function c(p){return p==null?p===void 0?u:o:f&&f in Object(p)?i(p):n(p)}return Ao=c,Ao}var To,Fl;function m0(){if(Fl)return To;Fl=1;function a(i){return i!=null&&typeof i=="object"}return To=a,To}var Io,Ml;function y0(){if(Ml)return Io;Ml=1;var a=g0(),i=m0(),n="[object Symbol]";function o(u){return typeof u=="symbol"||i(u)&&a(u)==n}return Io=o,Io}var Oo,kl;function Dl(){if(kl)return Oo;kl=1;var a=h0(),i=go(),n=y0(),o=NaN,u=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;function g(y){if(typeof y=="number")return y;if(n(y))return o;if(i(y)){var _=typeof y.valueOf=="function"?y.valueOf():y;y=i(_)?_+"":_}if(typeof y!="string")return y===0?y:+y;y=a(y);var w=f.test(y);return w||c.test(y)?p(y.slice(2),w?2:8):u.test(y)?o:+y}return Oo=g,Oo}var Co,Wl;function b0(){if(Wl)return Co;Wl=1;var a=go(),i=c0(),n=Dl(),o="Expected a function",u=Math.max,f=Math.min;function c(p,g,y){var _,w,O,x,E,A,T=0,L=!1,W=!1,U=!0;if(typeof p!="function")throw new TypeError(o);g=n(g)||0,a(y)&&(L=!!y.leading,W="maxWait"in y,O=W?u(n(y.maxWait)||0,g):O,U="trailing"in y?!!y.trailing:U);function Z(K){var We=_,Je=w;return _=w=void 0,T=K,x=p.apply(Je,We),x}function R(K){return T=K,E=setTimeout(P,g),L?Z(K):x}function de(K){var We=K-A,Je=K-T,Ye=g-We;return W?f(Ye,O-Je):Ye}function C(K){var We=K-A,Je=K-T;return A===void 0||We>=g||We<0||W&&Je>=O}function P(){var K=i();if(C(K))return q(K);E=setTimeout(P,de(K))}function q(K){return E=void 0,U&&_?Z(K):(_=w=void 0,x)}function ee(){E!==void 0&&clearTimeout(E),T=0,_=A=w=E=void 0}function J(){return E===void 0?x:q(i())}function ie(){var K=i(),We=C(K);if(_=arguments,w=this,A=K,We){if(E===void 0)return R(A);if(W)return clearTimeout(E),E=setTimeout(P,g),Z(A)}return E===void 0&&(E=setTimeout(P,g)),x}return ie.cancel=ee,ie.flush=J,ie}return Co=c,Co}var No,Bl;function _0(){if(Bl)return No;Bl=1;var a=b0(),i=go(),n="Expected a function";function o(u,f,c){var p=!0,g=!0;if(typeof u!="function")throw new TypeError(n);return i(c)&&(p="leading"in c?!!c.leading:p,g="trailing"in c?!!c.trailing:g),a(u,f,{leading:p,maxWait:f,trailing:g})}return No=o,No}var w0=_0();const S0=Qr(w0);var Lo,Rl;function x0(){if(Rl)return Lo;Rl=1;function a(i,n,o){return i===i&&(o!==void 0&&(i=i<=o?i:o),n!==void 0&&(i=i>=n?i:n)),i}return Lo=a,Lo}var Po,$l;function E0(){if($l)return Po;$l=1;var a=x0(),i=Dl();function n(o,u,f){return f===void 0&&(f=u,u=void 0),f!==void 0&&(f=i(f),f=f===f?f:0),u!==void 0&&(u=i(u),u=u===u?u:0),a(i(o),u,f)}return Po=n,Po}var A0=E0();const Fo=Qr(A0),T0=1e3/30;function I0({node:a,containerRef:i,onChange:n,onRelease:o}){const u=k.useRef(null),[f,c]=k.useState(!1),p=()=>{f||(u.current.ownerDocument.addEventListener("mousemove",w,!0),u.current.ownerDocument.addEventListener("mouseup",_,!0),c(!0))},g=()=>{u.current&&(u.current.ownerDocument.removeEventListener("mousemove",w,!0),u.current.ownerDocument.removeEventListener("mouseup",_,!0),c(!1))},y=E=>{E.button===0&&(E.preventDefault(),p())},_=E=>{if(g(),i==null)return;const A=O(E,a,i);A!==null&&o(A)},w=E=>{E.preventDefault(),i!=null&&x(E,a,i)},O=(E,A,T)=>{if(T.current==null)return null;const L=T.current.getBoundingClientRect(),W=A.direction==="row"?E.clientX:E.clientY,U=A.direction==="row"?L.left:L.top,Z=A.direction==="row"?L.width:L.height,R=Fo(W-U,0,Z),de=Fo(Z-R,0,Z),C=Fo(R*100/Z,0,100);return A.type==="split-percentage"?{type:A.type,size:C}:A.type==="split-pixels"?A.primary==="first"?{type:"split-pixels",primary:"first",size:R}:{type:"split-pixels",primary:"second",size:de}:null},x=S0((E,A,T)=>{if(T.current==null)return null;const L=O(E,A,T);L!==null&&n(L)},T0);return k.useEffect(()=>{}),$.jsx("div",{ref:u,className:_t("just-splitter"),onMouseDown:y})}const zl=Dt(I0);function Mo({layoutId:a,isFullScreenView:i,hideTitle:n,dndAccept:o,node:u,justBranch:f,getWinInfo:c,getTabMenu:p}){const g=k.useRef(null),y=Nt(a),_=({size:O})=>{y.updateResize({branch:f,size:O})},w=(O,x)=>O.type==="split-percentage"&&x==="first"?{flexBasis:`calc(${O.size}% - 3px)`,[O.direction==="row"?"minWidth":"minHeight"]:`${O.minSize??0}%`}:O.type==="split-pixels"&&x===O.primary?{flexBasis:`${O.size}px`,[O.direction==="row"?"minWidth":"minHeight"]:`${O.minSize??0}px`}:{};return $.jsxs("div",{ref:g,className:_t("just-node"),children:[u?.type==="stack"&&$.jsx(_l,{hideTitle:u.hideTitle??n,layoutId:a,isFullScreenView:i,dndAccept:u.dndAccept??o,justStack:u,justBranch:f,getWinInfo:c,getTabMenu:p}),(u?.type==="split-percentage"||u?.type==="split-pixels")&&$.jsxs("div",{className:_t(u.type,{"just-column":u.direction==="column","just-row":u.direction==="row"}),children:[$.jsx(k.Activity,{mode:u.type==="split-pixels"&&u.primary==="first"&&u.primaryHide===!0?"hidden":"visible",children:$.jsx("div",{className:_t("just-first",{"just-primary":u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first","just-secondary":!(u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first")}),style:w(u,"first"),children:$.jsx(Mo,{layoutId:a,isFullScreenView:i,hideTitle:u.hideTitle??n,dndAccept:u.dndAccept??o,node:u.first,justBranch:[...f,"first"],getWinInfo:c,getTabMenu:p})})}),!(u.type==="split-pixels"&&(u.noSplitter===!0||u.primaryHide===!0))&&$.jsx(zl,{layoutId:a,node:u,justBranch:f,containerRef:g,onChange:_,onRelease:_}),$.jsx(k.Activity,{mode:u.type==="split-pixels"&&u.primary==="second"&&u.primaryHide===!0?"hidden":"visible",children:$.jsx("div",{className:_t("just-second",{"just-primary":!(u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first"),"just-secondary":u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first"}),style:w(u,"second"),children:$.jsx(Mo,{layoutId:a,isFullScreenView:i,hideTitle:u.hideTitle??n,dndAccept:u.dndAccept??o,node:u.second,justBranch:[...f,"second"],getWinInfo:c,getTabMenu:p})})})]},`JustNode-${f.join(",")}`)]})}const ko=Dt(Mo);function O0({layoutId:a,getWinInfo:i,getTabMenu:n,initialValue:o}){const u=`${a}_FULLSCREEN`,f=Nt(a),c=Nt(u);return k.useEffect(()=>{c.layout===null&&(f.setFullScreenLayoutByBranch(null),f.setFullScreenHideTitle(!1))},[c.layout]),k.useEffect(()=>{f.setLayout(o),f.setFullScreenLayoutByBranch(null),c.setLayout(null)},[]),k.useEffect(()=>{const p=()=>{},g=async y=>{y.key==="Escape"?(console.log("esc"),f.setFullScreenLayoutByBranch(null)):y.key==="F11"&&(console.log("F11"),f.fullScreenLayout!==null&&f.setFullScreenLayoutByBranch(null)),y.altKey&&(y.key==="ArrowRight"?c.layout!==null?c.activeNextWin():f.activeNextWin():y.key==="ArrowLeft"&&(c.layout!==null?c.activePrevWin():f.activePrevWin()))};return window.addEventListener("keydown",g),document.addEventListener("fullscreenchange",p),()=>{window.removeEventListener("keydown",g),document.removeEventListener("fullscreenchange",p)}},[]),k.useEffect(()=>{console.log("useEffect justLayoutStore.fullScreenLayout",f.fullScreenLayout),c.setLayout(f.fullScreenLayout),f.lastActiveId&&c.activeWin({justId:f.lastActiveId})},[f.fullScreenLayout]),k.useEffect(()=>{c.setFullScreenHideTitle(f.fullScreenHideTitle)},[f.fullScreenHideTitle]),$.jsxs("div",{className:_t("just-layout"),children:[f.fullScreenLayout===null&&$.jsx(ko,{layoutId:a,isFullScreenView:!1,hideTitle:f.layout?.hideTitle,dndAccept:f.layout?.dndAccept??[],node:f.layout,justBranch:[],getWinInfo:i,getTabMenu:n}),f.fullScreenLayout!==null&&$.jsx(ko,{layoutId:u,isFullScreenView:!0,hideTitle:f.layout?.hideTitle,dndAccept:f.layout?.dndAccept??[],node:c.layout,justBranch:[],getWinInfo:i,getTabMenu:n})]})}const C0=Dt(O0);ce.JUST_LAYOUT_TYPES=kt,ce.JustDraggableTitle=gl,ce.JustLayoutView=C0,ce.JustNodeView=ko,ce.JustSplitter=zl,ce.JustTabMenu=ml,ce.JustTabTitle=vl,ce.JustUtil=he,ce.JustWinBodyView=bl,ce.JustWinTitleView=yl,ce.JustWinView=_l,ce.justLayoutModule=Ah,ce.stableStringify=eu,ce.useJustLayoutStore=Nt,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"})}));
|
|
573
|
+
}`;function wf(){var a=lf,i=cf,n=G.cssPrefix,o=G.replacementClass,u=Ig;if(n!==a||o!==i){var f=new RegExp("\\.".concat(a,"\\-"),"g"),c=new RegExp("\\--".concat(a,"\\-"),"g"),p=new RegExp("\\.".concat(i),"g");u=u.replace(f,".".concat(n,"-")).replace(c,"--".concat(n,"-")).replace(p,".".concat(o))}return u}var Sf=!1;function Xa(){G.autoAddCss&&!Sf&&(Sg(wf()),Sf=!0)}var Og={mixout:function(){return{dom:{css:wf,insertCss:Xa}}},hooks:function(){return{beforeDOMElementCreation:function(){Xa()},beforeI2svg:function(){Xa()}}}},Rt=en||{};Rt[Bt]||(Rt[Bt]={}),Rt[Bt].styles||(Rt[Bt].styles={}),Rt[Bt].hooks||(Rt[Bt].hooks={}),Rt[Bt].shims||(Rt[Bt].shims=[]);var xt=Rt[Bt],xf=[],Ef=function(){be.removeEventListener("DOMContentLoaded",Ef),gi=1,xf.map(function(i){return i()})},gi=!1;Wt&&(gi=(be.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(be.readyState),gi||be.addEventListener("DOMContentLoaded",Ef));function Cg(a){Wt&&(gi?setTimeout(a,0):xf.push(a))}function _r(a){var i=a.tag,n=a.attributes,o=n===void 0?{}:n,u=a.children,f=u===void 0?[]:u;return typeof a=="string"?_f(a):"<".concat(i," ").concat(Eg(o),">").concat(f.map(_r).join(""),"</").concat(i,">")}function Af(a,i,n){if(a&&a[i]&&a[i][n])return{prefix:i,iconName:n,icon:a[i][n]}}var Va=function(i,n,o,u){var f=Object.keys(i),c=f.length,p=n,g,y,w;for(o===void 0?(g=1,w=i[f[0]]):(g=0,w=o);g<c;g++)y=f[g],w=p(w,i[y],y,i);return w};function Tf(a){return St(a).length!==1?null:a.codePointAt(0).toString(16)}function If(a){return Object.keys(a).reduce(function(i,n){var o=a[n],u=!!o.icon;return u?i[o.iconName]=o.icon:i[n]=o,i},{})}function Za(a,i){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.skipHooks,u=o===void 0?!1:o,f=If(i);typeof xt.hooks.addPack=="function"&&!u?xt.hooks.addPack(a,If(i)):xt.styles[a]=B(B({},xt.styles[a]||{}),f),a==="fas"&&Za("fa",i)}var wr=xt.styles,Ng=xt.shims,Of=Object.keys(ja),Lg=Of.reduce(function(a,i){return a[i]=Object.keys(ja[i]),a},{}),Qa=null,Cf={},Nf={},Lf={},Pf={},Ff={};function Pg(a){return~mg.indexOf(a)}function Fg(a,i){var n=i.split("-"),o=n[0],u=n.slice(1).join("-");return o===a&&u!==""&&!Pg(u)?u:null}var Mf=function(){var i=function(f){return Va(wr,function(c,p,g){return c[g]=Va(p,f,{}),c},{})};Cf=i(function(u,f,c){if(f[3]&&(u[f[3]]=c),f[2]){var p=f[2].filter(function(g){return typeof g=="number"});p.forEach(function(g){u[g.toString(16)]=c})}return u}),Nf=i(function(u,f,c){if(u[c]=c,f[2]){var p=f[2].filter(function(g){return typeof g=="string"});p.forEach(function(g){u[g]=c})}return u}),Ff=i(function(u,f,c){var p=f[2];return u[c]=c,p.forEach(function(g){u[g]=c}),u});var n="far"in wr||G.autoFetchSvg,o=Va(Ng,function(u,f){var c=f[0],p=f[1],g=f[2];return p==="far"&&!n&&(p="fas"),typeof c=="string"&&(u.names[c]={prefix:p,iconName:g}),typeof c=="number"&&(u.unicodes[c.toString(16)]={prefix:p,iconName:g}),u},{names:{},unicodes:{}});Lf=o.names,Pf=o.unicodes,Qa=mi(G.styleDefault,{family:G.familyDefault})};wg(function(a){Qa=mi(a.styleDefault,{family:G.familyDefault})}),Mf();function eo(a,i){return(Cf[a]||{})[i]}function Mg(a,i){return(Nf[a]||{})[i]}function mn(a,i){return(Ff[a]||{})[i]}function kf(a){return Lf[a]||{prefix:null,iconName:null}}function kg(a){var i=Pf[a],n=eo("fas",a);return i||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function tn(){return Qa}var Df=function(){return{prefix:null,iconName:null,rest:[]}};function Dg(a){var i=Me,n=Of.reduce(function(o,u){return o[u]="".concat(G.cssPrefix,"-").concat(u),o},{});return rf.forEach(function(o){(a.includes(n[o])||a.some(function(u){return Lg[o].includes(u)}))&&(i=o)}),i}function mi(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.family,o=n===void 0?Me:n,u=dg[o][a];if(o===gr&&!a)return"fad";var f=gf[o][a]||gf[o][u],c=a in xt.styles?a:null,p=f||c||null;return p}function Wg(a){var i=[],n=null;return a.forEach(function(o){var u=Fg(G.cssPrefix,o);u?n=u:o&&i.push(o)}),{iconName:n,rest:i}}function Wf(a){return a.sort().filter(function(i,n,o){return o.indexOf(i)===n})}var Bf=uf.concat(af);function yi(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.skipLookups,o=n===void 0?!1:n,u=null,f=Wf(a.filter(function(E){return Bf.includes(E)})),c=Wf(a.filter(function(E){return!Bf.includes(E)})),p=f.filter(function(E){return u=E,!$u.includes(E)}),g=ci(p,1),y=g[0],w=y===void 0?null:y,_=Dg(f),O=B(B({},Wg(c)),{},{prefix:mi(w,{family:_})});return B(B(B({},O),zg({values:a,family:_,styles:wr,config:G,canonical:O,givenPrefix:u})),Bg(o,u,O))}function Bg(a,i,n){var o=n.prefix,u=n.iconName;if(a||!o||!u)return{prefix:o,iconName:u};var f=i==="fa"?kf(u):{},c=mn(o,u);return u=f.iconName||c||u,o=f.prefix||o,o==="far"&&!wr.far&&wr.fas&&!G.autoFetchSvg&&(o="fas"),{prefix:o,iconName:u}}var Rg=rf.filter(function(a){return a!==Me||a!==gr}),$g=Object.keys(Ba).filter(function(a){return a!==Me}).map(function(a){return Object.keys(Ba[a])}).flat();function zg(a){var i=a.values,n=a.family,o=a.canonical,u=a.givenPrefix,f=u===void 0?"":u,c=a.styles,p=c===void 0?{}:c,g=a.config,y=g===void 0?{}:g,w=n===gr,_=i.includes("fa-duotone")||i.includes("fad"),O=y.familyDefault==="duotone",E=o.prefix==="fad"||o.prefix==="fa-duotone";if(!w&&(_||O||E)&&(o.prefix="fad"),(i.includes("fa-brands")||i.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Rg.includes(n)){var x=Object.keys(p).find(function(T){return $g.includes(T)});if(x||y.autoFetchSvg){var A=iv.get(n).defaultShortPrefixId;o.prefix=A,o.iconName=mn(o.prefix,o.iconName)||o.iconName}}return(o.prefix==="fa"||f==="fa")&&(o.prefix=tn()||"fas"),o}var Ug=(function(){function a(){Tp(this,a),this.definitions={}}return Op(a,[{key:"add",value:function(){for(var n=this,o=arguments.length,u=new Array(o),f=0;f<o;f++)u[f]=arguments[f];var c=u.reduce(this._pullDefinitions,{});Object.keys(c).forEach(function(p){n.definitions[p]=B(B({},n.definitions[p]||{}),c[p]),Za(p,c[p]);var g=ja[Me][p];g&&Za(g,c[p]),Mf()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,o){var u=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(u).map(function(f){var c=u[f],p=c.prefix,g=c.iconName,y=c.icon,w=y[2];n[p]||(n[p]={}),w.length>0&&w.forEach(function(_){typeof _=="string"&&(n[p][_]=y)}),n[p][g]=y}),n}}])})(),Rf=[],Rn={},$n={},Hg=Object.keys($n);function qg(a,i){var n=i.mixoutsTo;return Rf=a,Rn={},Object.keys($n).forEach(function(o){Hg.indexOf(o)===-1&&delete $n[o]}),Rf.forEach(function(o){var u=o.mixout?o.mixout():{};if(Object.keys(u).forEach(function(c){typeof u[c]=="function"&&(n[c]=u[c]),di(u[c])==="object"&&Object.keys(u[c]).forEach(function(p){n[c]||(n[c]={}),n[c][p]=u[c][p]})}),o.hooks){var f=o.hooks();Object.keys(f).forEach(function(c){Rn[c]||(Rn[c]=[]),Rn[c].push(f[c])})}o.provides&&o.provides($n)}),n}function to(a,i){for(var n=arguments.length,o=new Array(n>2?n-2:0),u=2;u<n;u++)o[u-2]=arguments[u];var f=Rn[a]||[];return f.forEach(function(c){i=c.apply(null,[i].concat(o))}),i}function yn(a){for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];var u=Rn[a]||[];u.forEach(function(f){f.apply(null,n)})}function nn(){var a=arguments[0],i=Array.prototype.slice.call(arguments,1);return $n[a]?$n[a].apply(null,i):void 0}function no(a){a.prefix==="fa"&&(a.prefix="fas");var i=a.iconName,n=a.prefix||tn();if(i)return i=mn(n,i)||i,Af($f.definitions,n,i)||Af(xt.styles,n,i)}var $f=new Ug,jg=function(){G.autoReplaceSvg=!1,G.observeMutations=!1,yn("noAuto")},Gg={i2svg:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Wt?(yn("beforeI2svg",i),nn("pseudoElements2svg",i),nn("i2svg",i)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=i.autoReplaceSvgRoot;G.autoReplaceSvg===!1&&(G.autoReplaceSvg=!0),G.observeMutations=!0,Cg(function(){Yg({autoReplaceSvgRoot:n}),yn("watch",i)})}},Jg={icon:function(i){if(i===null)return null;if(di(i)==="object"&&i.prefix&&i.iconName)return{prefix:i.prefix,iconName:mn(i.prefix,i.iconName)||i.iconName};if(Array.isArray(i)&&i.length===2){var n=i[1].indexOf("fa-")===0?i[1].slice(3):i[1],o=mi(i[0]);return{prefix:o,iconName:mn(o,n)||n}}if(typeof i=="string"&&(i.indexOf("".concat(G.cssPrefix,"-"))>-1||i.match(hg))){var u=yi(i.split(" "),{skipLookups:!0});return{prefix:u.prefix||tn(),iconName:mn(u.prefix,u.iconName)||u.iconName}}if(typeof i=="string"){var f=tn();return{prefix:f,iconName:mn(f,i)||i}}}},tt={noAuto:jg,config:G,dom:Gg,parse:Jg,library:$f,findIconDefinition:no,toHtml:_r},Yg=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=i.autoReplaceSvgRoot,o=n===void 0?be:n;(Object.keys(xt.styles).length>0||G.autoFetchSvg)&&Wt&&G.autoReplaceSvg&&tt.dom.i2svg({node:o})};function bi(a,i){return Object.defineProperty(a,"abstract",{get:i}),Object.defineProperty(a,"html",{get:function(){return a.abstract.map(function(o){return _r(o)})}}),Object.defineProperty(a,"node",{get:function(){if(Wt){var o=be.createElement("div");return o.innerHTML=a.html,o.children}}}),a}function Kg(a){var i=a.children,n=a.main,o=a.mask,u=a.attributes,f=a.styles,c=a.transform;if(Ka(c)&&n.found&&!o.found){var p=n.width,g=n.height,y={x:p/g/2,y:.5};u.style=vi(B(B({},f),{},{"transform-origin":"".concat(y.x+c.x/16,"em ").concat(y.y+c.y/16,"em")}))}return[{tag:"svg",attributes:u,children:i}]}function Xg(a){var i=a.prefix,n=a.iconName,o=a.children,u=a.attributes,f=a.symbol,c=f===!0?"".concat(i,"-").concat(G.cssPrefix,"-").concat(n):f;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:B(B({},u),{},{id:c}),children:o}]}]}function Vg(a){var i=["aria-label","aria-labelledby","title","role"];return i.some(function(n){return n in a})}function ro(a){var i=a.icons,n=i.main,o=i.mask,u=a.prefix,f=a.iconName,c=a.transform,p=a.symbol,g=a.maskId,y=a.extra,w=a.watchable,_=w===void 0?!1:w,O=o.found?o:n,E=O.width,x=O.height,A=[G.replacementClass,f?"".concat(G.cssPrefix,"-").concat(f):""].filter(function($){return y.classes.indexOf($)===-1}).filter(function($){return $!==""||!!$}).concat(y.classes).join(" "),T={children:[],attributes:B(B({},y.attributes),{},{"data-prefix":u,"data-icon":f,class:A,role:y.attributes.role||"img",viewBox:"0 0 ".concat(E," ").concat(x)})};!Vg(y.attributes)&&!y.attributes["aria-hidden"]&&(T.attributes["aria-hidden"]="true"),_&&(T.attributes[gn]="");var k=B(B({},T),{},{prefix:u,iconName:f,main:n,mask:o,maskId:g,transform:c,symbol:p,styles:B({},y.styles)}),W=o.found&&n.found?nn("generateAbstractMask",k)||{children:[],attributes:{}}:nn("generateAbstractIcon",k)||{children:[],attributes:{}},R=W.children,Z=W.attributes;return k.children=R,k.attributes=Z,p?Xg(k):Kg(k)}function zf(a){var i=a.content,n=a.width,o=a.height,u=a.transform,f=a.extra,c=a.watchable,p=c===void 0?!1:c,g=B(B({},f.attributes),{},{class:f.classes.join(" ")});p&&(g[gn]="");var y=B({},f.styles);Ka(u)&&(y.transform=Tg({transform:u,width:n,height:o}),y["-webkit-transform"]=y.transform);var w=vi(y);w.length>0&&(g.style=w);var _=[];return _.push({tag:"span",attributes:g,children:[i]}),_}function Zg(a){var i=a.content,n=a.extra,o=B(B({},n.attributes),{},{class:n.classes.join(" ")}),u=vi(n.styles);u.length>0&&(o.style=u);var f=[];return f.push({tag:"span",attributes:o,children:[i]}),f}var io=xt.styles;function ao(a){var i=a[0],n=a[1],o=a.slice(4),u=ci(o,1),f=u[0],c=null;return Array.isArray(f)?c={tag:"g",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ja.GROUP)},children:[{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ja.SECONDARY),fill:"currentColor",d:f[0]}},{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(Ja.PRIMARY),fill:"currentColor",d:f[1]}}]}:c={tag:"path",attributes:{fill:"currentColor",d:f}},{found:!0,width:i,height:n,icon:c}}var Qg={found:!1,width:512,height:512};function em(a,i){!pf&&!G.showMissingIcons&&a&&console.error('Icon with name "'.concat(a,'" and prefix "').concat(i,'" is missing.'))}function oo(a,i){var n=i;return i==="fa"&&G.styleDefault!==null&&(i=tn()),new Promise(function(o,u){if(n==="fa"){var f=kf(a)||{};a=f.iconName||a,i=f.prefix||i}if(a&&i&&io[i]&&io[i][a]){var c=io[i][a];return o(ao(c))}em(a,i),o(B(B({},Qg),{},{icon:G.showMissingIcons&&a?nn("missingIconAbstract")||{}:{}}))})}var Uf=function(){},so=G.measurePerformance&&hi&&hi.mark&&hi.measure?hi:{mark:Uf,measure:Uf},Sr='FA "7.1.0"',tm=function(i){return so.mark("".concat(Sr," ").concat(i," begins")),function(){return Hf(i)}},Hf=function(i){so.mark("".concat(Sr," ").concat(i," ends")),so.measure("".concat(Sr," ").concat(i),"".concat(Sr," ").concat(i," begins"),"".concat(Sr," ").concat(i," ends"))},uo={begin:tm,end:Hf},_i=function(){};function qf(a){var i=a.getAttribute?a.getAttribute(gn):null;return typeof i=="string"}function nm(a){var i=a.getAttribute?a.getAttribute(za):null,n=a.getAttribute?a.getAttribute(Ua):null;return i&&n}function rm(a){return a&&a.classList&&a.classList.contains&&a.classList.contains(G.replacementClass)}function im(){if(G.autoReplaceSvg===!0)return wi.replace;var a=wi[G.autoReplaceSvg];return a||wi.replace}function am(a){return be.createElementNS("http://www.w3.org/2000/svg",a)}function om(a){return be.createElement(a)}function jf(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=i.ceFn,o=n===void 0?a.tag==="svg"?am:om:n;if(typeof a=="string")return be.createTextNode(a);var u=o(a.tag);Object.keys(a.attributes||[]).forEach(function(c){u.setAttribute(c,a.attributes[c])});var f=a.children||[];return f.forEach(function(c){u.appendChild(jf(c,{ceFn:o}))}),u}function sm(a){var i=" ".concat(a.outerHTML," ");return i="".concat(i,"Font Awesome fontawesome.com "),i}var wi={replace:function(i){var n=i[0];if(n.parentNode)if(i[1].forEach(function(u){n.parentNode.insertBefore(jf(u),n)}),n.getAttribute(gn)===null&&G.keepOriginalSource){var o=be.createComment(sm(n));n.parentNode.replaceChild(o,n)}else n.remove()},nest:function(i){var n=i[0],o=i[1];if(~Ya(n).indexOf(G.replacementClass))return wi.replace(i);var u=new RegExp("".concat(G.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){var f=o[0].attributes.class.split(" ").reduce(function(p,g){return g===G.replacementClass||g.match(u)?p.toSvg.push(g):p.toNode.push(g),p},{toNode:[],toSvg:[]});o[0].attributes.class=f.toSvg.join(" "),f.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",f.toNode.join(" "))}var c=o.map(function(p){return _r(p)}).join(`
|
|
574
|
+
`);n.setAttribute(gn,""),n.innerHTML=c}};function Gf(a){a()}function Jf(a,i){var n=typeof i=="function"?i:_i;if(a.length===0)n();else{var o=Gf;G.mutateApproach===lg&&(o=en.requestAnimationFrame||Gf),o(function(){var u=im(),f=uo.begin("mutate");a.map(u),f(),n()})}}var fo=!1;function Yf(){fo=!0}function lo(){fo=!1}var Si=null;function Kf(a){if(Wu&&G.observeMutations){var i=a.treeCallback,n=i===void 0?_i:i,o=a.nodeCallback,u=o===void 0?_i:o,f=a.pseudoElementsCallback,c=f===void 0?_i:f,p=a.observeMutationsRoot,g=p===void 0?be:p;Si=new Wu(function(y){if(!fo){var w=tn();Bn(y).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!qf(_.addedNodes[0])&&(G.searchPseudoElements&&c(_.target),n(_.target)),_.type==="attributes"&&_.target.parentNode&&G.searchPseudoElements&&c([_.target],!0),_.type==="attributes"&&qf(_.target)&&~gg.indexOf(_.attributeName))if(_.attributeName==="class"&&nm(_.target)){var O=yi(Ya(_.target)),E=O.prefix,x=O.iconName;_.target.setAttribute(za,E||w),x&&_.target.setAttribute(Ua,x)}else rm(_.target)&&u(_.target)})}}),Wt&&Si.observe(g,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function um(){Si&&Si.disconnect()}function fm(a){var i=a.getAttribute("style"),n=[];return i&&(n=i.split(";").reduce(function(o,u){var f=u.split(":"),c=f[0],p=f.slice(1);return c&&p.length>0&&(o[c]=p.join(":").trim()),o},{})),n}function lm(a){var i=a.getAttribute("data-prefix"),n=a.getAttribute("data-icon"),o=a.innerText!==void 0?a.innerText.trim():"",u=yi(Ya(a));return u.prefix||(u.prefix=tn()),i&&n&&(u.prefix=i,u.iconName=n),u.iconName&&u.prefix||(u.prefix&&o.length>0&&(u.iconName=Mg(u.prefix,a.innerText)||eo(u.prefix,Tf(a.innerText))),!u.iconName&&G.autoFetchSvg&&a.firstChild&&a.firstChild.nodeType===Node.TEXT_NODE&&(u.iconName=a.firstChild.data)),u}function cm(a){var i=Bn(a.attributes).reduce(function(n,o){return n.name!=="class"&&n.name!=="style"&&(n[o.name]=o.value),n},{});return i}function dm(){return{iconName:null,prefix:null,transform:Lt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Xf(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=lm(a),o=n.iconName,u=n.prefix,f=n.rest,c=cm(a),p=to("parseNodeAttributes",{},a),g=i.styleParser?fm(a):[];return B({iconName:o,prefix:u,transform:Lt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:f,styles:g,attributes:c}},p)}var hm=xt.styles;function Vf(a){var i=G.autoReplaceSvg==="nest"?Xf(a,{styleParser:!1}):Xf(a);return~i.extra.classes.indexOf(mf)?nn("generateLayersText",a,i):nn("generateSvgReplacementMutation",a,i)}function pm(){return[].concat(St(af),St(uf))}function Zf(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Wt)return Promise.resolve();var n=be.documentElement.classList,o=function(_){return n.add("".concat(df,"-").concat(_))},u=function(_){return n.remove("".concat(df,"-").concat(_))},f=G.autoFetchSvg?pm():$u.concat(Object.keys(hm));f.includes("fa")||f.push("fa");var c=[".".concat(mf,":not([").concat(gn,"])")].concat(f.map(function(w){return".".concat(w,":not([").concat(gn,"])")})).join(", ");if(c.length===0)return Promise.resolve();var p=[];try{p=Bn(a.querySelectorAll(c))}catch{}if(p.length>0)o("pending"),u("complete");else return Promise.resolve();var g=uo.begin("onTree"),y=p.reduce(function(w,_){try{var O=Vf(_);O&&w.push(O)}catch(E){pf||E.name==="MissingIcon"&&console.error(E)}return w},[]);return new Promise(function(w,_){Promise.all(y).then(function(O){Jf(O,function(){o("active"),o("complete"),u("pending"),typeof i=="function"&&i(),g(),w()})}).catch(function(O){g(),_(O)})})}function vm(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Vf(a).then(function(n){n&&Jf([n],i)})}function gm(a){return function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=(i||{}).icon?i:no(i||{}),u=n.mask;return u&&(u=(u||{}).icon?u:no(u||{})),a(o,B(B({},n),{},{mask:u}))}}var mm=function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,u=o===void 0?Lt:o,f=n.symbol,c=f===void 0?!1:f,p=n.mask,g=p===void 0?null:p,y=n.maskId,w=y===void 0?null:y,_=n.classes,O=_===void 0?[]:_,E=n.attributes,x=E===void 0?{}:E,A=n.styles,T=A===void 0?{}:A;if(i){var k=i.prefix,W=i.iconName,R=i.icon;return bi(B({type:"icon"},i),function(){return yn("beforeDOMElementCreation",{iconDefinition:i,params:n}),ro({icons:{main:ao(R),mask:g?ao(g.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:W,transform:B(B({},Lt),u),symbol:c,maskId:w,extra:{attributes:x,styles:T,classes:O}})})}},ym={mixout:function(){return{icon:gm(mm)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Zf,n.nodeCallback=vm,n}}},provides:function(i){i.i2svg=function(n){var o=n.node,u=o===void 0?be:o,f=n.callback,c=f===void 0?function(){}:f;return Zf(u,c)},i.generateSvgReplacementMutation=function(n,o){var u=o.iconName,f=o.prefix,c=o.transform,p=o.symbol,g=o.mask,y=o.maskId,w=o.extra;return new Promise(function(_,O){Promise.all([oo(u,f),g.iconName?oo(g.iconName,g.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(E){var x=ci(E,2),A=x[0],T=x[1];_([n,ro({icons:{main:A,mask:T},prefix:f,iconName:u,transform:c,symbol:p,maskId:y,extra:w,watchable:!0})])}).catch(O)})},i.generateAbstractIcon=function(n){var o=n.children,u=n.attributes,f=n.main,c=n.transform,p=n.styles,g=vi(p);g.length>0&&(u.style=g);var y;return Ka(c)&&(y=nn("generateAbstractTransformGrouping",{main:f,transform:c,containerWidth:f.width,iconWidth:f.width})),o.push(y||f.icon),{children:o,attributes:u}}}},bm={mixout:function(){return{layer:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.classes,f=u===void 0?[]:u;return bi({type:"layer"},function(){yn("beforeDOMElementCreation",{assembler:n,params:o});var c=[];return n(function(p){Array.isArray(p)?p.map(function(g){c=c.concat(g.abstract)}):c=c.concat(p.abstract)}),[{tag:"span",attributes:{class:["".concat(G.cssPrefix,"-layers")].concat(St(f)).join(" ")},children:c}]})}}}},_m={mixout:function(){return{counter:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.title;var u=o.classes,f=u===void 0?[]:u,c=o.attributes,p=c===void 0?{}:c,g=o.styles,y=g===void 0?{}:g;return bi({type:"counter",content:n},function(){return yn("beforeDOMElementCreation",{content:n,params:o}),Zg({content:n.toString(),extra:{attributes:p,styles:y,classes:["".concat(G.cssPrefix,"-layers-counter")].concat(St(f))}})})}}}},wm={mixout:function(){return{text:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=o.transform,f=u===void 0?Lt:u,c=o.classes,p=c===void 0?[]:c,g=o.attributes,y=g===void 0?{}:g,w=o.styles,_=w===void 0?{}:w;return bi({type:"text",content:n},function(){return yn("beforeDOMElementCreation",{content:n,params:o}),zf({content:n,transform:B(B({},Lt),f),extra:{attributes:y,styles:_,classes:["".concat(G.cssPrefix,"-layers-text")].concat(St(p))}})})}}},provides:function(i){i.generateLayersText=function(n,o){var u=o.transform,f=o.extra,c=null,p=null;if(Bu){var g=parseInt(getComputedStyle(n).fontSize,10),y=n.getBoundingClientRect();c=y.width/g,p=y.height/g}return Promise.resolve([n,zf({content:n.innerHTML,width:c,height:p,transform:u,extra:f,watchable:!0})])}}},Qf=new RegExp('"',"ug"),el=[1105920,1112319],tl=B(B(B(B({},{FontAwesome:{normal:"fas",400:"fas"}}),rv),ug),dv),co=Object.keys(tl).reduce(function(a,i){return a[i.toLowerCase()]=tl[i],a},{}),Sm=Object.keys(co).reduce(function(a,i){var n=co[i];return a[i]=n[900]||St(Object.entries(n))[0][1],a},{});function xm(a){var i=a.replace(Qf,"");return Tf(St(i)[0]||"")}function Em(a){var i=a.getPropertyValue("font-feature-settings").includes("ss01"),n=a.getPropertyValue("content"),o=n.replace(Qf,""),u=o.codePointAt(0),f=u>=el[0]&&u<=el[1],c=o.length===2?o[0]===o[1]:!1;return f||c||i}function Am(a,i){var n=a.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(i),u=isNaN(o)?"normal":o;return(co[n]||{})[u]||Sm[n]}function nl(a,i){var n="".concat(fg).concat(i.replace(":","-"));return new Promise(function(o,u){if(a.getAttribute(n)!==null)return o();var f=Bn(a.children),c=f.filter(function(de){return de.getAttribute($a)===i})[0],p=en.getComputedStyle(a,i),g=p.getPropertyValue("font-family"),y=g.match(pg),w=p.getPropertyValue("font-weight"),_=p.getPropertyValue("content");if(c&&!y)return a.removeChild(c),o();if(y&&_!=="none"&&_!==""){var O=p.getPropertyValue("content"),E=Am(g,w),x=xm(O),A=y[0].startsWith("FontAwesome"),T=Em(p),k=eo(E,x),W=k;if(A){var R=kg(x);R.iconName&&R.prefix&&(k=R.iconName,E=R.prefix)}if(k&&!T&&(!c||c.getAttribute(za)!==E||c.getAttribute(Ua)!==W)){a.setAttribute(n,W),c&&a.removeChild(c);var Z=dm(),$=Z.extra;$.attributes[$a]=i,oo(k,E).then(function(de){var C=ro(B(B({},Z),{},{icons:{main:de,mask:Df()},prefix:E,iconName:W,extra:$,watchable:!0})),L=be.createElementNS("http://www.w3.org/2000/svg","svg");i==="::before"?a.insertBefore(L,a.firstChild):a.appendChild(L),L.outerHTML=C.map(function(q){return _r(q)}).join(`
|
|
575
|
+
`),a.removeAttribute(n),o()}).catch(u)}else o()}else o()})}function Tm(a){return Promise.all([nl(a,"::before"),nl(a,"::after")])}function Im(a){return a.parentNode!==document.head&&!~cg.indexOf(a.tagName.toUpperCase())&&!a.getAttribute($a)&&(!a.parentNode||a.parentNode.tagName!=="svg")}var Om=function(i){return!!i&&hf.some(function(n){return i.includes(n)})},Cm=function(i){if(!i)return[];var n=new Set,o=i.split(/,(?![^()]*\))/).map(function(g){return g.trim()});o=o.flatMap(function(g){return g.includes("(")?g:g.split(",").map(function(y){return y.trim()})});var u=li(o),f;try{for(u.s();!(f=u.n()).done;){var c=f.value;if(Om(c)){var p=hf.reduce(function(g,y){return g.replace(y,"")},c);p!==""&&p!=="*"&&n.add(p)}}}catch(g){u.e(g)}finally{u.f()}return n};function rl(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Wt){var n;if(i)n=a;else if(G.searchPseudoElementsFullScan)n=a.querySelectorAll("*");else{var o=new Set,u=li(document.styleSheets),f;try{for(u.s();!(f=u.n()).done;){var c=f.value;try{var p=li(c.cssRules),g;try{for(p.s();!(g=p.n()).done;){var y=g.value,w=Cm(y.selectorText),_=li(w),O;try{for(_.s();!(O=_.n()).done;){var E=O.value;o.add(E)}}catch(A){_.e(A)}finally{_.f()}}}catch(A){p.e(A)}finally{p.f()}}catch(A){G.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(c.href," (").concat(A.message,`)
|
|
576
|
+
If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(A){u.e(A)}finally{u.f()}if(!o.size)return;var x=Array.from(o).join(", ");try{n=a.querySelectorAll(x)}catch{}}return new Promise(function(A,T){var k=Bn(n).filter(Im).map(Tm),W=uo.begin("searchPseudoElements");Yf(),Promise.all(k).then(function(){W(),lo(),A()}).catch(function(){W(),lo(),T()})})}}var Nm={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=rl,n}}},provides:function(i){i.pseudoElements2svg=function(n){var o=n.node,u=o===void 0?be:o;G.searchPseudoElements&&rl(u)}}},il=!1,Lm={mixout:function(){return{dom:{unwatch:function(){Yf(),il=!0}}}},hooks:function(){return{bootstrap:function(){Kf(to("mutationObserverCallbacks",{}))},noAuto:function(){um()},watch:function(n){var o=n.observeMutationsRoot;il?lo():Kf(to("mutationObserverCallbacks",{observeMutationsRoot:o}))}}}},al=function(i){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return i.toLowerCase().split(" ").reduce(function(o,u){var f=u.toLowerCase().split("-"),c=f[0],p=f.slice(1).join("-");if(c&&p==="h")return o.flipX=!0,o;if(c&&p==="v")return o.flipY=!0,o;if(p=parseFloat(p),isNaN(p))return o;switch(c){case"grow":o.size=o.size+p;break;case"shrink":o.size=o.size-p;break;case"left":o.x=o.x-p;break;case"right":o.x=o.x+p;break;case"up":o.y=o.y-p;break;case"down":o.y=o.y+p;break;case"rotate":o.rotate=o.rotate+p;break}return o},n)},Pm={mixout:function(){return{parse:{transform:function(n){return al(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-transform");return u&&(n.transform=al(u)),n}}},provides:function(i){i.generateAbstractTransformGrouping=function(n){var o=n.main,u=n.transform,f=n.containerWidth,c=n.iconWidth,p={transform:"translate(".concat(f/2," 256)")},g="translate(".concat(u.x*32,", ").concat(u.y*32,") "),y="scale(".concat(u.size/16*(u.flipX?-1:1),", ").concat(u.size/16*(u.flipY?-1:1),") "),w="rotate(".concat(u.rotate," 0 0)"),_={transform:"".concat(g," ").concat(y," ").concat(w)},O={transform:"translate(".concat(c/2*-1," -256)")},E={outer:p,inner:_,path:O};return{tag:"g",attributes:B({},E.outer),children:[{tag:"g",attributes:B({},E.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:B(B({},o.icon.attributes),E.path)}]}]}}}},ho={x:0,y:0,width:"100%",height:"100%"};function ol(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return a.attributes&&(a.attributes.fill||i)&&(a.attributes.fill="black"),a}function Fm(a){return a.tag==="g"?a.children:[a]}var Mm={hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-mask"),f=u?yi(u.split(" ").map(function(c){return c.trim()})):Df();return f.prefix||(f.prefix=tn()),n.mask=f,n.maskId=o.getAttribute("data-fa-mask-id"),n}}},provides:function(i){i.generateAbstractMask=function(n){var o=n.children,u=n.attributes,f=n.main,c=n.mask,p=n.maskId,g=n.transform,y=f.width,w=f.icon,_=c.width,O=c.icon,E=Ag({transform:g,containerWidth:_,iconWidth:y}),x={tag:"rect",attributes:B(B({},ho),{},{fill:"white"})},A=w.children?{children:w.children.map(ol)}:{},T={tag:"g",attributes:B({},E.inner),children:[ol(B({tag:w.tag,attributes:B(B({},w.attributes),E.path)},A))]},k={tag:"g",attributes:B({},E.outer),children:[T]},W="mask-".concat(p||bf()),R="clip-".concat(p||bf()),Z={tag:"mask",attributes:B(B({},ho),{},{id:W,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,k]},$={tag:"defs",children:[{tag:"clipPath",attributes:{id:R},children:Fm(O)},Z]};return o.push($,{tag:"rect",attributes:B({fill:"currentColor","clip-path":"url(#".concat(R,")"),mask:"url(#".concat(W,")")},ho)}),{children:o,attributes:u}}}},km={provides:function(i){var n=!1;en.matchMedia&&(n=en.matchMedia("(prefers-reduced-motion: reduce)").matches),i.missingIconAbstract=function(){var o=[],u={fill:"currentColor"},f={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:B(B({},u),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var c=B(B({},f),{},{attributeName:"opacity"}),p={tag:"circle",attributes:B(B({},u),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||p.children.push({tag:"animate",attributes:B(B({},f),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:B(B({},c),{},{values:"1;0;1;1;0;1;"})}),o.push(p),o.push({tag:"path",attributes:B(B({},u),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:B(B({},c),{},{values:"1;0;0;0;0;1;"})}]}),n||o.push({tag:"path",attributes:B(B({},u),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:B(B({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Dm={hooks:function(){return{parseNodeAttributes:function(n,o){var u=o.getAttribute("data-fa-symbol"),f=u===null?!1:u===""?!0:u;return n.symbol=f,n}}}},Wm=[Og,ym,bm,_m,wm,Nm,Lm,Pm,Mm,km,Dm];qg(Wm,{mixoutsTo:tt}),tt.noAuto;var xr=tt.config;tt.library,tt.dom;var sl=tt.parse;tt.findIconDefinition,tt.toHtml;var Bm=tt.icon;tt.layer,tt.text,tt.counter;function Rm(a){return a=a-0,a===a}function ul(a){return Rm(a)?a:(a=a.replace(/[_-]+(.)?/g,(i,n)=>n?n.toUpperCase():""),a.charAt(0).toLowerCase()+a.slice(1))}function $m(a){return a.charAt(0).toUpperCase()+a.slice(1)}var zn=new Map,zm=1e3;function Um(a){if(zn.has(a))return zn.get(a);const i={};let n=0;const o=a.length;for(;n<o;){const u=a.indexOf(";",n),f=u===-1?o:u,c=a.slice(n,f).trim();if(c){const p=c.indexOf(":");if(p>0){const g=c.slice(0,p).trim(),y=c.slice(p+1).trim();if(g&&y){const w=ul(g);i[w.startsWith("webkit")?$m(w):w]=y}}}n=f+1}if(zn.size===zm){const u=zn.keys().next().value;u&&zn.delete(u)}return zn.set(a,i),i}function fl(a,i,n={}){if(typeof i=="string")return i;const o=(i.children||[]).map(w=>fl(a,w)),u=i.attributes||{},f={};for(const[w,_]of Object.entries(u))switch(!0){case w==="class":{f.className=_;break}case w==="style":{f.style=Um(String(_));break}case w.startsWith("aria-"):case w.startsWith("data-"):{f[w.toLowerCase()]=_;break}default:f[ul(w)]=_}const{style:c,role:p,"aria-label":g,...y}=n;return c&&(f.style=f.style?{...f.style,...c}:c),p&&(f.role=p),g&&(f["aria-label"]=g,f["aria-hidden"]="false"),a(i.tag,{...y,...f},...o)}var Hm=fl.bind(null,M.createElement),ll=(a,i)=>{const n=M.useId();return a||(i?n:void 0)},qm=class{constructor(a="react-fontawesome"){this.enabled=!1;let i=!1;try{i=typeof process<"u"&&process.env.NODE_ENV==="development"}catch{}this.scope=a,this.enabled=i}log(...a){this.enabled&&console.log(`[${this.scope}]`,...a)}warn(...a){this.enabled&&console.warn(`[${this.scope}]`,...a)}error(...a){this.enabled&&console.error(`[${this.scope}]`,...a)}};typeof process<"u"&&process.env.FA_VERSION;var jm="searchPseudoElementsFullScan"in xr?"7.0.0":"6.0.0",Gm=Number.parseInt(jm)>=7,Er="fa",$t={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse"},Jm={left:"fa-pull-left",right:"fa-pull-right"},Ym={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Km={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},zt={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto"};function Xm(a){const i=xr.cssPrefix||xr.familyPrefix||Er;return i===Er?a:a.replace(new RegExp(String.raw`(?<=^|\s)${Er}-`,"g"),`${i}-`)}function Vm(a){const{beat:i,fade:n,beatFade:o,bounce:u,shake:f,spin:c,spinPulse:p,spinReverse:g,pulse:y,fixedWidth:w,inverse:_,border:O,flip:E,size:x,rotation:A,pull:T,swapOpacity:k,rotateBy:W,widthAuto:R,className:Z}=a,$=[];return Z&&$.push(...Z.split(" ")),i&&$.push($t.beat),n&&$.push($t.fade),o&&$.push($t.beatFade),u&&$.push($t.bounce),f&&$.push($t.shake),c&&$.push($t.spin),g&&$.push($t.spinReverse),p&&$.push($t.spinPulse),y&&$.push($t.pulse),w&&$.push(zt.fixedWidth),_&&$.push(zt.inverse),O&&$.push(zt.border),E===!0&&$.push(zt.flip),(E==="horizontal"||E==="both")&&$.push(zt.flipHorizontal),(E==="vertical"||E==="both")&&$.push(zt.flipVertical),x!=null&&$.push(Km[x]),A!=null&&A!==0&&$.push(Ym[A]),T!=null&&$.push(Jm[T]),k&&$.push(zt.swapOpacity),Gm?(W&&$.push(zt.rotateBy),R&&$.push(zt.widthAuto),(xr.cssPrefix||xr.familyPrefix||Er)===Er?$:$.map(Xm)):$}var Zm=a=>typeof a=="object"&&"icon"in a&&!!a.icon;function cl(a){if(a)return Zm(a)?a:sl.icon(a)}function Qm(a){return Object.keys(a)}var dl=new qm("FontAwesomeIcon"),hl={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},e0=new Set(Object.keys(hl)),Un=M.forwardRef((a,i)=>{const n={...hl,...a},{icon:o,mask:u,symbol:f,title:c,titleId:p,maskId:g,transform:y}=n,w=ll(g,!!u),_=ll(p,!!c),O=cl(o);if(!O)return dl.error("Icon lookup is undefined",o),null;const E=Vm(n),x=typeof y=="string"?sl.transform(y):y,A=cl(u),T=Bm(O,{...E.length>0&&{classes:E},...x&&{transform:x},...A&&{mask:A},symbol:f,title:c,titleId:_,maskId:w});if(!T)return dl.error("Could not find icon",O),null;const{abstract:k}=T,W={ref:i};for(const R of Qm(n))e0.has(R)||(W[R]=n[R]);return Hm(k[0],W)});Un.displayName="FontAwesomeIcon";var t0={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},n0={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"]},pl={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},r0={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]};function i0({layoutId:a,justId:i,winInfo:n,menuProps:o,toggleMenu:u,anchorPoint:f}){console.log("TabTitle justId",i);const c=Nt(a),p=c.getTabTitleTooltip(i),g=w=>{c.removeWin({justId:w})},y=(w,_)=>{c.activeWin({justId:_})};return z.jsxs(z.Fragment,{children:[z.jsx("div",{className:"just-icon",onClick:w=>y(w,i),title:p,children:n.getTabIcon(i,a)}),z.jsx("div",{className:"just-title",onClick:w=>y(w,i),title:p,children:c.getTabTitle(i)??i.title}),z.jsx("div",{className:"just-icon just-close",onClick:()=>g(i),children:z.jsx(Un,{icon:pl})}),z.jsx(vu,{state:o.state,endTransition:o.endTransition,anchorPoint:f,onClose:()=>u(!1),children:z.jsxs(ui,{onClick:()=>g(i),children:[z.jsx("div",{className:"just-icon"}),z.jsx("div",{className:"just-title",children:"Close"}),z.jsx("div",{className:"just-icon"})]})})]})}const vl=Dt(i0);function a0(a){const{layoutId:i,isFullScreenView:n,dndAccept:o,winInfo:u,justBranch:f,justId:c,justStack:p,rect:g}=a,y=M.useRef(null),[w,_]=bu(),[O,E]=M.useState({x:0,y:0}),x=Nt(i),[{isDragging:A},T]=Zr.useDrag({type:c.viewId,item:{justBranch:f,justId:c,index:-1},collect:R=>({isDragging:R.isDragging()})}),[,k]=Zr.useDrop({accept:o,collect(R){return{handlerId:R.getHandlerId()}},hover(R,Z){if(!y.current||c===R.justId)return;const $=y.current.getBoundingClientRect(),de=Z.getClientOffset(),C=($.right-$.left)/2,L=de.x-$.left,q=R.justId,ne=c,J=p.tabs.filter(Y=>!he.isEquals(Y,q));let ee=he.indexOf(J,ne);L>C&&(ee+=1),R.pos="stack",R.index=ee}});M.useEffect(()=>{if(he.isEquals(c,x.lastActiveId??null)){if(y.current==null||g==null)return;const R=y.current.getBoundingClientRect();(g.left>R.left||g.right<R.right)&&y.current.scrollIntoView({behavior:"auto",block:"center",inline:"center"})}},[x.lastActiveTm]),M.useLayoutEffect(()=>{y.current&&T(k(y))},[k,T]);const W=M.useCallback(R=>{R.preventDefault(),E({x:R.clientX,y:R.clientY}),_(!0)},[_]);return z.jsx("div",{className:_t("just-draggable-title","just-title-menus",{dragging:A,"just-active":he.isEquals(p.active,c),"last-active":he.isEquals(x.lastActiveId,c)}),ref:y,onContextMenu:W,children:u.getTabTitle?u.getTabTitle({justId:c,layoutId:i,justBranch:f,isFullScreenView:n,winInfo:u,menuProps:w,toggleMenu:_,anchorPoint:O}):z.jsx(vl,{justId:c,layoutId:i,justBranch:f,isFullScreenView:n,winInfo:u,menuProps:w,toggleMenu:_,anchorPoint:O})})}const gl=Dt(a0);function o0({layoutId:a,justBranch:i,isFullScreenView:n}){const o=Nt(a),u=()=>{console.log("closeAllTabs justBranch",i),o.removeAllTabs({branch:i})},f=async(c=!1)=>{n?o.setLayout(null):(o.setFullScreenLayoutByBranch(i),o.setFullScreenHideTitle(c))};return z.jsxs(z.Fragment,{children:[z.jsxs(ui,{className:"just-menu-item",onClick:()=>u(),children:[z.jsx("div",{className:"just-icon"}),z.jsx("div",{className:"just-title",children:"Close All"}),z.jsx("div",{className:"just-icon"})]}),z.jsxs(ui,{className:"just-menu-item",onClick:()=>f(!0),children:[z.jsx("div",{className:"just-icon",children:z.jsx(Un,{icon:t0})}),z.jsx("div",{className:"just-title",children:n?"F11":"Full"}),z.jsx("div",{className:"just-icon"})]})]})}const ml=Dt(o0);function s0({layoutId:a,isFullScreenView:i,dndAccept:n,justBranch:o,justStack:u,getWinInfo:f,getTabMenu:c}){const p=M.useRef(null),[g,y]=M.useState(null),w=Nt(a),_=T=>{w.removeWin({justId:T})},O=T=>{w.activeWin({justId:T})},E=(T,k)=>{w.moveWin({pos:"stack",justId:k.justId,branch:o,index:k.index??-1})},[{isOver:x},A]=Zr.useDrop(()=>({accept:n,collect:T=>({isOver:T.isOver()}),drop(T,k){E(k.getItemType(),k.getItem())},hover(T,k){p.current&&(T.index=-1)}}),[u]);return M.useLayoutEffect(()=>{p.current&&A(p)},[A]),M.useEffect(()=>{if(p.current===null)return;function T(){if(p.current===null)return;const W=p.current.getBoundingClientRect()??null;y(W)}T();const k=new ResizeObserver(T);return k.observe(p.current),window.addEventListener("scroll",T,!0),()=>{k.disconnect(),window.removeEventListener("scroll",T,!0)}},[]),z.jsxs("div",{className:_t("just-win-title"),tabIndex:1,children:[z.jsx("div",{className:_t("just-title-list",{"is-over":x}),ref:p,children:u.tabs.map(T=>z.jsx(gl,{layoutId:a,isFullScreenView:i,dndAccept:n,rect:g,justId:T,justBranch:o,justStack:u,winInfo:f(T)},[...o,he.toString(T)].join(",")))}),z.jsxs("div",{className:"just-title-menus",children:[z.jsx(_u,{menuButton:z.jsx("div",{className:"just-title-menu",children:z.jsx(Un,{icon:r0})}),children:u.tabs.map(T=>z.jsxs(ui,{className:_t("just-menu-item",{active:he.isEquals(u.active,T)}),children:[z.jsx("div",{className:"just-icon",onClick:()=>O(T),children:f(T).getTabIcon(T,a)}),z.jsx("div",{className:"just-title",onClick:()=>O(T),children:w.getTabTitle(T)??T.title}),z.jsx("div",{className:"just-icon just-close",onClick:k=>{k.stopPropagation(),_(T)},children:z.jsx(Un,{icon:pl})})]},he.toString(T)))}),z.jsx(_u,{menuButton:z.jsx("div",{className:"just-title-menu",children:z.jsx(Un,{icon:n0})}),children:c?c(a,o,u,i):z.jsx(ml,{layoutId:a,justBranch:o,justStack:u,isFullScreenView:i})})]})]})}const yl=Dt(s0);function u0(a){const i=M.useRef(null),{layoutId:n,dndAccept:o,getWinInfo:u,justBranch:f,justStack:c}=a,[p,g]=M.useState(null),y=Nt(n),w=(E,x)=>{x.pos&&(x.pos==="stack"?y.moveWin({pos:x.pos,justId:x.justId,branch:f,index:x.index??-1}):y.moveWin({pos:x.pos,justId:x.justId,branch:f,direction:x.direction??"row"}))},[{isOver:_},O]=Zr.useDrop(()=>({accept:o,collect:E=>({isOver:E.isOver()}),drop(E,x){i.current&&w(x.getItemType(),x.getItem())},hover(E,x){if(!i.current)return;const A=i.current.getBoundingClientRect(),T=x.getClientOffset(),k=(A.right-A.left)/2,W=(A.bottom-A.top)/2,R=T.x-A.left,Z=T.y-A.top,$=R-k,de=Z-W,C=Math.abs($*100/k),L=Math.abs(de*100/W);if(C<60&&L<60){E.pos="stack";const q={top:A.top,left:A.left,width:A.width,height:A.height};g(q)}else{const q=C>L?"row":"column",J=Math.sign(q==="row"?$:de)>0?"second":"first";E.direction=q,E.pos=J;const ee={top:J==="second"&&q==="column"?A.top+A.height/2:A.top,left:J==="second"&&q==="row"?A.left+A.width/2:A.left,width:q==="row"?A.width/2:A.width,height:q==="column"?A.height/2:A.height};g(ee)}}}),[c]);return M.useLayoutEffect(()=>{i.current&&O(i)},[O]),z.jsxs("div",{className:_t("just-win-body",{isOver:_,"last-active":he.isEquals(c.active,y.lastActiveId)}),ref:i,children:[c.tabs.map(E=>z.jsx(M.Activity,{mode:he.isEquals(c.active,E)?"visible":"hidden",children:u(E).getView(E,n)},he.toString(E))),_&&p!=null&&z.jsx("div",{className:"just-overlay",style:{top:p.top,left:p.left,width:`${p.width}px`,height:`${p.height}px`}})]})}const bl=Dt(u0);function f0({layoutId:a,isFullScreenView:i,hideTitle:n,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c,getTabMenu:p}){const g=Nt(a),y=g.fullScreenHideTitle,w=n!==!0,_=()=>{f.active&&g.activeWin({justId:f.active})};return z.jsxs("div",{className:"just-win",onFocusCapture:_,tabIndex:1,children:[w&&!y&&z.jsx(yl,{layoutId:a,isFullScreenView:i,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c,getTabMenu:p}),z.jsx(bl,{layoutId:a,dndAccept:o,justBranch:u,justStack:f,getWinInfo:c})]})}const _l=Dt(f0);var po,wl;function vo(){if(wl)return po;wl=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return po=a,po}var go,Sl;function l0(){if(Sl)return go;Sl=1;var a=typeof Qt=="object"&&Qt&&Qt.Object===Object&&Qt;return go=a,go}var mo,xl;function El(){if(xl)return mo;xl=1;var a=l0(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return mo=n,mo}var yo,Al;function c0(){if(Al)return yo;Al=1;var a=El(),i=function(){return a.Date.now()};return yo=i,yo}var bo,Tl;function d0(){if(Tl)return bo;Tl=1;var a=/\s/;function i(n){for(var o=n.length;o--&&a.test(n.charAt(o)););return o}return bo=i,bo}var _o,Il;function h0(){if(Il)return _o;Il=1;var a=d0(),i=/^\s+/;function n(o){return o&&o.slice(0,a(o)+1).replace(i,"")}return _o=n,_o}var wo,Ol;function Cl(){if(Ol)return wo;Ol=1;var a=El(),i=a.Symbol;return wo=i,wo}var So,Nl;function p0(){if(Nl)return So;Nl=1;var a=Cl(),i=Object.prototype,n=i.hasOwnProperty,o=i.toString,u=a?a.toStringTag:void 0;function f(c){var p=n.call(c,u),g=c[u];try{c[u]=void 0;var y=!0}catch{}var w=o.call(c);return y&&(p?c[u]=g:delete c[u]),w}return So=f,So}var xo,Ll;function v0(){if(Ll)return xo;Ll=1;var a=Object.prototype,i=a.toString;function n(o){return i.call(o)}return xo=n,xo}var Eo,Pl;function g0(){if(Pl)return Eo;Pl=1;var a=Cl(),i=p0(),n=v0(),o="[object Null]",u="[object Undefined]",f=a?a.toStringTag:void 0;function c(p){return p==null?p===void 0?u:o:f&&f in Object(p)?i(p):n(p)}return Eo=c,Eo}var Ao,Fl;function m0(){if(Fl)return Ao;Fl=1;function a(i){return i!=null&&typeof i=="object"}return Ao=a,Ao}var To,Ml;function y0(){if(Ml)return To;Ml=1;var a=g0(),i=m0(),n="[object Symbol]";function o(u){return typeof u=="symbol"||i(u)&&a(u)==n}return To=o,To}var Io,kl;function Dl(){if(kl)return Io;kl=1;var a=h0(),i=vo(),n=y0(),o=NaN,u=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,c=/^0o[0-7]+$/i,p=parseInt;function g(y){if(typeof y=="number")return y;if(n(y))return o;if(i(y)){var w=typeof y.valueOf=="function"?y.valueOf():y;y=i(w)?w+"":w}if(typeof y!="string")return y===0?y:+y;y=a(y);var _=f.test(y);return _||c.test(y)?p(y.slice(2),_?2:8):u.test(y)?o:+y}return Io=g,Io}var Oo,Wl;function b0(){if(Wl)return Oo;Wl=1;var a=vo(),i=c0(),n=Dl(),o="Expected a function",u=Math.max,f=Math.min;function c(p,g,y){var w,_,O,E,x,A,T=0,k=!1,W=!1,R=!0;if(typeof p!="function")throw new TypeError(o);g=n(g)||0,a(y)&&(k=!!y.leading,W="maxWait"in y,O=W?u(n(y.maxWait)||0,g):O,R="trailing"in y?!!y.trailing:R);function Z(Y){var We=w,Je=_;return w=_=void 0,T=Y,E=p.apply(Je,We),E}function $(Y){return T=Y,x=setTimeout(L,g),k?Z(Y):E}function de(Y){var We=Y-A,Je=Y-T,Ye=g-We;return W?f(Ye,O-Je):Ye}function C(Y){var We=Y-A,Je=Y-T;return A===void 0||We>=g||We<0||W&&Je>=O}function L(){var Y=i();if(C(Y))return q(Y);x=setTimeout(L,de(Y))}function q(Y){return x=void 0,R&&w?Z(Y):(w=_=void 0,E)}function ne(){x!==void 0&&clearTimeout(x),T=0,w=A=_=x=void 0}function J(){return x===void 0?E:q(i())}function ee(){var Y=i(),We=C(Y);if(w=arguments,_=this,A=Y,We){if(x===void 0)return $(A);if(W)return clearTimeout(x),x=setTimeout(L,g),Z(A)}return x===void 0&&(x=setTimeout(L,g)),E}return ee.cancel=ne,ee.flush=J,ee}return Oo=c,Oo}var Co,Bl;function _0(){if(Bl)return Co;Bl=1;var a=b0(),i=vo(),n="Expected a function";function o(u,f,c){var p=!0,g=!0;if(typeof u!="function")throw new TypeError(n);return i(c)&&(p="leading"in c?!!c.leading:p,g="trailing"in c?!!c.trailing:g),a(u,f,{leading:p,maxWait:f,trailing:g})}return Co=o,Co}var w0=_0();const S0=Qr(w0);var No,Rl;function x0(){if(Rl)return No;Rl=1;function a(i,n,o){return i===i&&(o!==void 0&&(i=i<=o?i:o),n!==void 0&&(i=i>=n?i:n)),i}return No=a,No}var Lo,$l;function E0(){if($l)return Lo;$l=1;var a=x0(),i=Dl();function n(o,u,f){return f===void 0&&(f=u,u=void 0),f!==void 0&&(f=i(f),f=f===f?f:0),u!==void 0&&(u=i(u),u=u===u?u:0),a(i(o),u,f)}return Lo=n,Lo}var A0=E0();const Po=Qr(A0),T0=1e3/30;function I0({node:a,containerRef:i,onChange:n,onRelease:o}){const u=M.useRef(null),[f,c]=M.useState(!1),p=()=>{f||(u.current.ownerDocument.addEventListener("mousemove",_,!0),u.current.ownerDocument.addEventListener("mouseup",w,!0),c(!0))},g=()=>{u.current&&(u.current.ownerDocument.removeEventListener("mousemove",_,!0),u.current.ownerDocument.removeEventListener("mouseup",w,!0),c(!1))},y=x=>{x.button===0&&(x.preventDefault(),p())},w=x=>{if(g(),i==null)return;const A=O(x,a,i);A!==null&&o(A)},_=x=>{x.preventDefault(),i!=null&&E(x,a,i)},O=(x,A,T)=>{if(T.current==null)return null;const k=T.current.getBoundingClientRect(),W=A.direction==="row"?x.clientX:x.clientY,R=A.direction==="row"?k.left:k.top,Z=A.direction==="row"?k.width:k.height,$=Po(W-R,0,Z),de=Po(Z-$,0,Z),C=Po($*100/Z,0,100);return A.type==="split-percentage"?{type:A.type,size:C}:A.type==="split-pixels"?A.primary==="first"?{type:"split-pixels",primary:"first",size:$}:{type:"split-pixels",primary:"second",size:de}:null},E=S0((x,A,T)=>{if(T.current==null)return null;const k=O(x,A,T);k!==null&&n(k)},T0);return M.useEffect(()=>{}),z.jsx("div",{ref:u,className:_t("just-splitter"),onMouseDown:y})}const zl=Dt(I0);function Fo({layoutId:a,isFullScreenView:i,hideTitle:n,dndAccept:o,node:u,justBranch:f,getWinInfo:c,getTabMenu:p}){const g=M.useRef(null),y=Nt(a),w=({size:O})=>{y.updateResize({branch:f,size:O})},_=(O,E)=>O.type==="split-percentage"&&E==="first"?{flexBasis:`calc(${O.size}% - 3px)`,[O.direction==="row"?"minWidth":"minHeight"]:`${O.minSize??0}%`}:O.type==="split-pixels"&&E===O.primary?{flexBasis:`${O.size}px`,[O.direction==="row"?"minWidth":"minHeight"]:`${O.minSize??0}px`}:{};return z.jsxs("div",{ref:g,className:_t("just-node"),children:[u?.type==="stack"&&z.jsx(_l,{hideTitle:u.hideTitle??n,layoutId:a,isFullScreenView:i,dndAccept:u.dndAccept??o,justStack:u,justBranch:f,getWinInfo:c,getTabMenu:p}),(u?.type==="split-percentage"||u?.type==="split-pixels")&&z.jsxs("div",{className:_t(u.type,{"just-column":u.direction==="column","just-row":u.direction==="row"}),children:[z.jsx(M.Activity,{mode:u.type==="split-pixels"&&u.primary==="first"&&u.primaryHide===!0?"hidden":"visible",children:z.jsx("div",{className:_t("just-first",{"just-primary":u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first","just-secondary":!(u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first")}),style:_(u,"first"),children:z.jsx(Fo,{layoutId:a,isFullScreenView:i,hideTitle:u.hideTitle??n,dndAccept:u.dndAccept??o,node:u.first,justBranch:[...f,"first"],getWinInfo:c,getTabMenu:p})})}),!(u.type==="split-pixels"&&(u.noSplitter===!0||u.primaryHide===!0))&&z.jsx(zl,{layoutId:a,node:u,justBranch:f,containerRef:g,onChange:w,onRelease:w}),z.jsx(M.Activity,{mode:u.type==="split-pixels"&&u.primary==="second"&&u.primaryHide===!0?"hidden":"visible",children:z.jsx("div",{className:_t("just-second",{"just-primary":!(u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first"),"just-secondary":u.type==="split-percentage"||u.type==="split-pixels"&&u.primary==="first"}),style:_(u,"second"),children:z.jsx(Fo,{layoutId:a,isFullScreenView:i,hideTitle:u.hideTitle??n,dndAccept:u.dndAccept??o,node:u.second,justBranch:[...f,"second"],getWinInfo:c,getTabMenu:p})})})]},`JustNode-${f.join(",")}`)]})}const Mo=Dt(Fo);function O0({layoutId:a,getWinInfo:i,getTabMenu:n,initialValue:o}){const u=`${a}_FULLSCREEN`,f=Nt(a),c=Nt(u);return M.useEffect(()=>{c.layout===null&&(f.setFullScreenLayoutByBranch(null),f.setFullScreenHideTitle(!1))},[c.layout]),M.useEffect(()=>{f.setLayout(o),f.setFullScreenLayoutByBranch(null),c.setLayout(null)},[]),M.useEffect(()=>{const p=()=>{},g=async y=>{y.key==="Escape"?(console.log("esc"),f.setFullScreenLayoutByBranch(null)):y.key==="F11"&&(console.log("F11"),f.fullScreenLayout!==null&&f.setFullScreenLayoutByBranch(null)),y.altKey&&(y.key==="ArrowRight"?c.layout!==null?c.activeNextWin():f.activeNextWin():y.key==="ArrowLeft"&&(c.layout!==null?c.activePrevWin():f.activePrevWin()))};return window.addEventListener("keydown",g),document.addEventListener("fullscreenchange",p),()=>{window.removeEventListener("keydown",g),document.removeEventListener("fullscreenchange",p)}},[]),M.useEffect(()=>{console.log("useEffect justLayoutStore.fullScreenLayout",f.fullScreenLayout),c.setLayout(f.fullScreenLayout),f.lastActiveId&&c.activeWin({justId:f.lastActiveId})},[f.fullScreenLayout]),M.useEffect(()=>{c.setFullScreenHideTitle(f.fullScreenHideTitle)},[f.fullScreenHideTitle]),z.jsxs("div",{className:_t("just-layout"),children:[f.fullScreenLayout===null&&z.jsx(Mo,{layoutId:a,isFullScreenView:!1,hideTitle:f.layout?.hideTitle,dndAccept:f.layout?.dndAccept??[],node:f.layout,justBranch:[],getWinInfo:i,getTabMenu:n}),f.fullScreenLayout!==null&&z.jsx(Mo,{layoutId:u,isFullScreenView:!0,hideTitle:f.layout?.hideTitle,dndAccept:f.layout?.dndAccept??[],node:c.layout,justBranch:[],getWinInfo:i,getTabMenu:n})]})}const C0=Dt(O0);ce.JUST_LAYOUT_TYPES=kt,ce.JustDraggableTitle=gl,ce.JustLayoutView=C0,ce.JustNodeView=Mo,ce.JustSplitter=zl,ce.JustTabMenu=ml,ce.JustTabTitle=vl,ce.JustUtil=he,ce.JustWinBodyView=bl,ce.JustWinTitleView=yl,ce.JustWinView=_l,ce.justLayoutModule=Ah,ce.stableStringify=Qs,ce.useJustLayoutStore=Nt,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"})}));
|