@canaia/ui-kit 0.0.11-alpha.64 → 0.0.11-alpha.65

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.
@@ -26270,7 +26270,7 @@ const eX = /* @__PURE__ */ ls(AX), hBA = ({
26270
26270
  ]
26271
26271
  }
26272
26272
  ),
26273
- /* @__PURE__ */ I.jsx(s2, { src: e, name: i, size: "sm", mt: "10px" })
26273
+ /* @__PURE__ */ I.jsx(s2, { src: e, name: i, size: "sm", mt: "10px", ml: "10px" })
26274
26274
  ] }), nX = ({ width: A = 24, height: e = 24, color: t = "#666666" }) => /* @__PURE__ */ I.jsxs(
26275
26275
  "svg",
26276
26276
  {
@@ -451,7 +451,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
451
451
  Copyright (c) 2017 Jed Watson.
452
452
  Licensed under the MIT License (MIT), see
453
453
  http://jedwatson.github.io/classnames
454
- */(function(){var i={}.hasOwnProperty;function r(){for(var o=[],a=0;a<arguments.length;a++){var s=arguments[a];if(s){var l=typeof s;if(l==="string"||l==="number")o.push(s);else if(Array.isArray(s)&&s.length){var c=r.apply(null,s);c&&o.push(c)}else if(l==="object")for(var g in s)i.call(s,g)&&s[g]&&o.push(g)}}return o.join(" ")}A.exports?(r.default=r,A.exports=r):(n=(function(){return r}).apply(e,[]))===void 0||(A.exports=n)})()},function(A,e,t){(function(n){var i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l=typeof n=="object"&&n&&n.Object===Object&&n,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype.toString,u=g.Symbol,E=u?u.prototype:void 0,f=E?E.toString:void 0;function d(F){if(typeof F=="string")return F;if(h(F))return f?f.call(F):"";var U=F+"";return U=="0"&&1/F==-1/0?"-0":U}function Q(F){var U=typeof F;return!!F&&(U=="object"||U=="function")}function h(F){return typeof F=="symbol"||function(U){return!!U&&typeof U=="object"}(F)&&B.call(F)=="[object Symbol]"}function C(F){return F?(F=function(U){if(typeof U=="number")return U;if(h(U))return NaN;if(Q(U)){var M=typeof U.valueOf=="function"?U.valueOf():U;U=Q(M)?M+"":M}if(typeof U!="string")return U===0?U:+U;U=U.replace(i,"");var p=o.test(U);return p||a.test(U)?s(U.slice(2),p?2:8):r.test(U)?NaN:+U}(F))===1/0||F===-1/0?17976931348623157e292*(F<0?-1:1):F==F?F:0:F===0?F:0}A.exports=function(F,U,M){var p,S,V,m;return F=(p=F)==null?"":d(p),S=function(k){var z=C(k),AA=z%1;return z==z?AA?z-AA:z:0}(M),V=0,m=F.length,S==S&&(m!==void 0&&(S=S<=m?S:m),V!==void 0&&(S=S>=V?S:V)),M=S,U=d(U),F.slice(M,M+U.length)==U}}).call(this,t(3))},function(A,e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}A.exports=t},function(A,e,t){(function(n){var i=/^\[object .+?Constructor\]$/,r=typeof n=="object"&&n&&n.Object===Object&&n,o=typeof self=="object"&&self&&self.Object===Object&&self,a=r||o||Function("return this")(),s,l=Array.prototype,c=Function.prototype,g=Object.prototype,B=a["__core-js_shared__"],u=(s=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",E=c.toString,f=g.hasOwnProperty,d=g.toString,Q=RegExp("^"+E.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=l.splice,C=k(a,"Map"),F=k(Object,"create");function U(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function M(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function p(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function S(v,H){for(var X,W,sA=v.length;sA--;)if((X=v[sA][0])===(W=H)||X!=X&&W!=W)return sA;return-1}function V(v){return!(!AA(v)||(H=v,u&&u in H))&&(function(X){var W=AA(X)?d.call(X):"";return W=="[object Function]"||W=="[object GeneratorFunction]"}(v)||function(X){var W=!1;if(X!=null&&typeof X.toString!="function")try{W=!!(X+"")}catch{}return W}(v)?Q:i).test(function(X){if(X!=null){try{return E.call(X)}catch{}try{return X+""}catch{}}return""}(v));var H}function m(v,H){var X,W,sA=v.__data__;return((W=typeof(X=H))=="string"||W=="number"||W=="symbol"||W=="boolean"?X!=="__proto__":X===null)?sA[typeof H=="string"?"string":"hash"]:sA.map}function k(v,H){var X=function(W,sA){return W==null?void 0:W[sA]}(v,H);return V(X)?X:void 0}function z(v,H){if(typeof v!="function"||H&&typeof H!="function")throw new TypeError("Expected a function");var X=function(){var W=arguments,sA=H?H.apply(this,W):W[0],oA=X.cache;if(oA.has(sA))return oA.get(sA);var w=v.apply(this,W);return X.cache=oA.set(sA,w),w};return X.cache=new(z.Cache||p),X}function AA(v){var H=typeof v;return!!v&&(H=="object"||H=="function")}U.prototype.clear=function(){this.__data__=F?F(null):{}},U.prototype.delete=function(v){return this.has(v)&&delete this.__data__[v]},U.prototype.get=function(v){var H=this.__data__;if(F){var X=H[v];return X==="__lodash_hash_undefined__"?void 0:X}return f.call(H,v)?H[v]:void 0},U.prototype.has=function(v){var H=this.__data__;return F?H[v]!==void 0:f.call(H,v)},U.prototype.set=function(v,H){return this.__data__[v]=F&&H===void 0?"__lodash_hash_undefined__":H,this},M.prototype.clear=function(){this.__data__=[]},M.prototype.delete=function(v){var H=this.__data__,X=S(H,v);return!(X<0)&&(X==H.length-1?H.pop():h.call(H,X,1),!0)},M.prototype.get=function(v){var H=this.__data__,X=S(H,v);return X<0?void 0:H[X][1]},M.prototype.has=function(v){return S(this.__data__,v)>-1},M.prototype.set=function(v,H){var X=this.__data__,W=S(X,v);return W<0?X.push([v,H]):X[W][1]=H,this},p.prototype.clear=function(){this.__data__={hash:new U,map:new(C||M),string:new U}},p.prototype.delete=function(v){return m(this,v).delete(v)},p.prototype.get=function(v){return m(this,v).get(v)},p.prototype.has=function(v){return m(this,v).has(v)},p.prototype.set=function(v,H){return m(this,v).set(v,H),this},z.Cache=p,A.exports=z}).call(this,t(3))},function(A,e,t){(function(n){var i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l=typeof n=="object"&&n&&n.Object===Object&&n,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype.toString,u=Math.max,E=Math.min,f=function(){return g.Date.now()};function d(h){var C=typeof h;return!!h&&(C=="object"||C=="function")}function Q(h){if(typeof h=="number")return h;if(function(U){return typeof U=="symbol"||function(M){return!!M&&typeof M=="object"}(U)&&B.call(U)=="[object Symbol]"}(h))return NaN;if(d(h)){var C=typeof h.valueOf=="function"?h.valueOf():h;h=d(C)?C+"":C}if(typeof h!="string")return h===0?h:+h;h=h.replace(i,"");var F=o.test(h);return F||a.test(h)?s(h.slice(2),F?2:8):r.test(h)?NaN:+h}A.exports=function(h,C,F){var U,M,p,S,V,m,k=0,z=!1,AA=!1,v=!0;if(typeof h!="function")throw new TypeError("Expected a function");function H(G){var K=U,D=M;return U=M=void 0,k=G,S=h.apply(D,K)}function X(G){return k=G,V=setTimeout(sA,C),z?H(G):S}function W(G){var K=G-m;return m===void 0||K>=C||K<0||AA&&G-k>=p}function sA(){var G=f();if(W(G))return oA(G);V=setTimeout(sA,function(K){var D=C-(K-m);return AA?E(D,p-(K-k)):D}(G))}function oA(G){return V=void 0,v&&U?H(G):(U=M=void 0,S)}function w(){var G=f(),K=W(G);if(U=arguments,M=this,m=G,K){if(V===void 0)return X(m);if(AA)return V=setTimeout(sA,C),H(m)}return V===void 0&&(V=setTimeout(sA,C)),S}return C=Q(C)||0,d(F)&&(z=!!F.leading,p=(AA="maxWait"in F)?u(Q(F.maxWait)||0,C):p,v="trailing"in F?!!F.trailing:v),w.cancel=function(){V!==void 0&&clearTimeout(V),k=0,U=m=M=V=void 0},w.flush=function(){return V===void 0?S:oA(f())},w}}).call(this,t(3))},function(A,e,t){(function(n,i){var r="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,g=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,E=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[r]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d[o]=d["[object Number]"]=d[a]=d["[object RegExp]"]=d[s]=d["[object String]"]=d["[object WeakMap]"]=!1;var Q=typeof n=="object"&&n&&n.Object===Object&&n,h=typeof self=="object"&&self&&self.Object===Object&&self,C=Q||h||Function("return this")(),F=e&&!e.nodeType&&e,U=F&&typeof i=="object"&&i&&!i.nodeType&&i,M=U&&U.exports===F&&Q.process,p=function(){try{return M&&M.binding("util")}catch{}}(),S=p&&p.isTypedArray;function V(T,O,tA,rA){var RA=-1,yA=T?T.length:0;for(rA&&yA&&(tA=T[++RA]);++RA<yA;)tA=O(tA,T[RA],RA,T);return tA}function m(T,O){for(var tA=-1,rA=T?T.length:0;++tA<rA;)if(O(T[tA],tA,T))return!0;return!1}function k(T,O,tA,rA,RA){return RA(T,function(yA,zA,Re){tA=rA?(rA=!1,yA):O(tA,yA,zA,Re)}),tA}function z(T){var O=!1;if(T!=null&&typeof T.toString!="function")try{O=!!(T+"")}catch{}return O}function AA(T){var O=-1,tA=Array(T.size);return T.forEach(function(rA,RA){tA[++O]=[RA,rA]}),tA}function v(T){var O=-1,tA=Array(T.size);return T.forEach(function(rA){tA[++O]=rA}),tA}var H,X,W,sA=Array.prototype,oA=Function.prototype,w=Object.prototype,G=C["__core-js_shared__"],K=(H=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+H:"",D=oA.toString,P=w.hasOwnProperty,x=w.toString,L=RegExp("^"+D.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),iA=C.Symbol,nA=C.Uint8Array,dA=w.propertyIsEnumerable,EA=sA.splice,DA=(X=Object.keys,W=Object,function(T){return X(W(T))}),q=Jn(C,"DataView"),WA=Jn(C,"Map"),fA=Jn(C,"Promise"),Y=Jn(C,"Set"),eA=Jn(C,"WeakMap"),cA=Jn(Object,"create"),pA=Pn(q),CA=Pn(WA),UA=Pn(fA),kA=Pn(Y),jA=Pn(eA),QA=iA?iA.prototype:void 0,$=QA?QA.valueOf:void 0,lA=QA?QA.toString:void 0;function N(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function j(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function BA(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function TA(T){var O=-1,tA=T?T.length:0;for(this.__data__=new BA;++O<tA;)this.add(T[O])}function vA(T){this.__data__=new j(T)}function ce(T,O){var tA=y(T)||os(T)?function(zA,Re){for(var Se=-1,Me=Array(zA);++Se<zA;)Me[Se]=Re(Se);return Me}(T.length,String):[],rA=tA.length,RA=!!rA;for(var yA in T)!P.call(T,yA)||RA&&(yA=="length"||ko(yA,rA))||tA.push(yA);return tA}function me(T,O){for(var tA=T.length;tA--;)if(Yn(T[tA][0],O))return tA;return-1}N.prototype.clear=function(){this.__data__=cA?cA(null):{}},N.prototype.delete=function(T){return this.has(T)&&delete this.__data__[T]},N.prototype.get=function(T){var O=this.__data__;if(cA){var tA=O[T];return tA==="__lodash_hash_undefined__"?void 0:tA}return P.call(O,T)?O[T]:void 0},N.prototype.has=function(T){var O=this.__data__;return cA?O[T]!==void 0:P.call(O,T)},N.prototype.set=function(T,O){return this.__data__[T]=cA&&O===void 0?"__lodash_hash_undefined__":O,this},j.prototype.clear=function(){this.__data__=[]},j.prototype.delete=function(T){var O=this.__data__,tA=me(O,T);return!(tA<0)&&(tA==O.length-1?O.pop():EA.call(O,tA,1),!0)},j.prototype.get=function(T){var O=this.__data__,tA=me(O,T);return tA<0?void 0:O[tA][1]},j.prototype.has=function(T){return me(this.__data__,T)>-1},j.prototype.set=function(T,O){var tA=this.__data__,rA=me(tA,T);return rA<0?tA.push([T,O]):tA[rA][1]=O,this},BA.prototype.clear=function(){this.__data__={hash:new N,map:new(WA||j),string:new N}},BA.prototype.delete=function(T){return vr(this,T).delete(T)},BA.prototype.get=function(T){return vr(this,T).get(T)},BA.prototype.has=function(T){return vr(this,T).has(T)},BA.prototype.set=function(T,O){return vr(this,T).set(T,O),this},TA.prototype.add=TA.prototype.push=function(T){return this.__data__.set(T,"__lodash_hash_undefined__"),this},TA.prototype.has=function(T){return this.__data__.has(T)},vA.prototype.clear=function(){this.__data__=new j},vA.prototype.delete=function(T){return this.__data__.delete(T)},vA.prototype.get=function(T){return this.__data__.get(T)},vA.prototype.has=function(T){return this.__data__.has(T)},vA.prototype.set=function(T,O){var tA=this.__data__;if(tA instanceof j){var rA=tA.__data__;if(!WA||rA.length<199)return rA.push([T,O]),this;tA=this.__data__=new BA(rA)}return tA.set(T,O),this};var Pe,ie=(Pe=function(T,O){return T&&Ne(T,O,nt)},function(T,O){if(T==null)return T;if(!aA(T))return Pe(T,O);for(var tA=T.length,rA=-1,RA=Object(T);++rA<tA&&O(RA[rA],rA,RA)!==!1;);return T}),Ne=function(T){return function(O,tA,rA){for(var RA=-1,yA=Object(O),zA=rA(O),Re=zA.length;Re--;){var Se=zA[++RA];if(tA(yA[Se],Se,yA)===!1)break}return O}}();function Fe(T,O){for(var tA=0,rA=(O=tr(O,T)?[O]:Nr(O)).length;T!=null&&tA<rA;)T=T[nr(O[tA++])];return tA&&tA==rA?T:void 0}function ht(T,O){return T!=null&&O in Object(T)}function ve(T,O,tA,rA,RA){return T===O||(T==null||O==null||!_A(T)&&!oe(O)?T!=T&&O!=O:function(yA,zA,Re,Se,Me,ae){var Jt=y(yA),It=y(zA),st="[object Array]",gt="[object Array]";Jt||(st=(st=xn(yA))==r?a:st),It||(gt=(gt=xn(zA))==r?a:gt);var fn=st==a&&!z(yA),Wr=gt==a&&!z(zA),Ri=st==gt;if(Ri&&!fn)return ae||(ae=new vA),Jt||qA(yA)?In(yA,zA,Re,Se,Me,ae):function(ue,ge,wc,ir,vo,Pt,zn){switch(wc){case"[object DataView]":if(ue.byteLength!=ge.byteLength||ue.byteOffset!=ge.byteOffset)return!1;ue=ue.buffer,ge=ge.buffer;case"[object ArrayBuffer]":return!(ue.byteLength!=ge.byteLength||!ir(new nA(ue),new nA(ge)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Yn(+ue,+ge);case"[object Error]":return ue.name==ge.name&&ue.message==ge.message;case"[object RegExp]":case"[object String]":return ue==ge+"";case o:var Mi=AA;case s:var Hr=2&Pt;if(Mi||(Mi=v),ue.size!=ge.size&&!Hr)return!1;var as=zn.get(ue);if(as)return as==ge;Pt|=1,zn.set(ue,ge);var Gr=In(Mi(ue),Mi(ge),ir,vo,Pt,zn);return zn.delete(ue),Gr;case"[object Symbol]":if($)return $.call(ue)==$.call(ge)}return!1}(yA,zA,st,Re,Se,Me,ae);if(!(2&Me)){var pu=fn&&P.call(yA,"__wrapped__"),mu=Wr&&P.call(zA,"__wrapped__");if(pu||mu){var sh=pu?yA.value():yA,lh=mu?zA.value():zA;return ae||(ae=new vA),Re(sh,lh,Se,Me,ae)}}return Ri?(ae||(ae=new vA),function(ue,ge,wc,ir,vo,Pt){var zn=2&vo,Mi=nt(ue),Hr=Mi.length,as=nt(ge).length;if(Hr!=as&&!zn)return!1;for(var Gr=Hr;Gr--;){var wi=Mi[Gr];if(!(zn?wi in ge:P.call(ge,wi)))return!1}var ss=Pt.get(ue);if(ss&&Pt.get(ge))return ss==ge;var ls=!0;Pt.set(ue,ge),Pt.set(ge,ue);for(var Dc=zn;++Gr<Hr;){wi=Mi[Gr];var cs=ue[wi],rr=ge[wi];if(ir)var gs=zn?ir(rr,cs,wi,ge,ue,Pt):ir(cs,rr,wi,ue,ge,Pt);if(!(gs===void 0?cs===rr||wc(cs,rr,ir,vo,Pt):gs)){ls=!1;break}Dc||(Dc=wi=="constructor")}if(ls&&!Dc){var Zr=ue.constructor,Jr=ge.constructor;Zr==Jr||!("constructor"in ue)||!("constructor"in ge)||typeof Zr=="function"&&Zr instanceof Zr&&typeof Jr=="function"&&Jr instanceof Jr||(ls=!1)}return Pt.delete(ue),Pt.delete(ge),ls}(yA,zA,Re,Se,Me,ae)):!1}(T,O,ve,tA,rA,RA))}function Sn(T){return!(!_A(T)||function(O){return!!K&&K in O}(T))&&(FA(T)||z(T)?L:E).test(Pn(T))}function Gn(T){return typeof T=="function"?T:T==null?Ye:typeof T=="object"?y(T)?function(rA,RA){return tr(rA)&&tn(RA)?is(nr(rA),RA):function(yA){var zA=function(Re,Se,Me){var ae=Re==null?void 0:Fe(Re,Se);return ae===void 0?Me:ae}(yA,rA);return zA===void 0&&zA===RA?function(Re,Se){return Re!=null&&function(Me,ae,Jt){ae=tr(ae,Me)?[ae]:Nr(ae);for(var It,st=-1,gt=ae.length;++st<gt;){var fn=nr(ae[st]);if(!(It=Me!=null&&Jt(Me,fn)))break;Me=Me[fn]}return It||!!(gt=Me?Me.length:0)&&PA(gt)&&ko(fn,gt)&&(y(Me)||os(Me))}(Re,Se,ht)}(yA,rA):ve(RA,zA,void 0,3)}}(T[0],T[1]):function(rA){var RA=function(yA){for(var zA=nt(yA),Re=zA.length;Re--;){var Se=zA[Re],Me=yA[Se];zA[Re]=[Se,Me,tn(Me)]}return zA}(rA);return RA.length==1&&RA[0][2]?is(RA[0][0],RA[0][1]):function(yA){return yA===rA||function(zA,Re,Se,Me){var ae=Se.length,Jt=ae;if(zA==null)return!Jt;for(zA=Object(zA);ae--;){var It=Se[ae];if(It[2]?It[1]!==zA[It[0]]:!(It[0]in zA))return!1}for(;++ae<Jt;){var st=(It=Se[ae])[0],gt=zA[st],fn=It[1];if(It[2]){if(gt===void 0&&!(st in zA))return!1}else{var Wr=new vA,Ri;if(!(Ri===void 0?ve(fn,gt,Me,3,Wr):Ri))return!1}}return!0}(yA,rA,RA)}}(T):tr(O=T)?(tA=nr(O),function(rA){return rA==null?void 0:rA[tA]}):function(rA){return function(RA){return Fe(RA,rA)}}(O);var O,tA}function Zn(T){if(tA=(O=T)&&O.constructor,rA=typeof tA=="function"&&tA.prototype||w,O!==rA)return DA(T);var O,tA,rA,RA=[];for(var yA in Object(T))P.call(T,yA)&&yA!="constructor"&&RA.push(yA);return RA}function Nr(T){return y(T)?T:rs(T)}function In(T,O,tA,rA,RA,yA){var zA=2&RA,Re=T.length,Se=O.length;if(Re!=Se&&!(zA&&Se>Re))return!1;var Me=yA.get(T);if(Me&&yA.get(O))return Me==O;var ae=-1,Jt=!0,It=1&RA?new TA:void 0;for(yA.set(T,O),yA.set(O,T);++ae<Re;){var st=T[ae],gt=O[ae];if(rA)var fn=zA?rA(gt,st,ae,O,T,yA):rA(st,gt,ae,T,O,yA);if(fn!==void 0){if(fn)continue;Jt=!1;break}if(It){if(!m(O,function(Wr,Ri){if(!It.has(Ri)&&(st===Wr||tA(st,Wr,rA,RA,yA)))return It.add(Ri)})){Jt=!1;break}}else if(st!==gt&&!tA(st,gt,rA,RA,yA)){Jt=!1;break}}return yA.delete(T),yA.delete(O),Jt}function vr(T,O){var tA,rA,RA=T.__data__;return((rA=typeof(tA=O))=="string"||rA=="number"||rA=="symbol"||rA=="boolean"?tA!=="__proto__":tA===null)?RA[typeof O=="string"?"string":"hash"]:RA.map}function Jn(T,O){var tA=function(rA,RA){return rA==null?void 0:rA[RA]}(T,O);return Sn(tA)?tA:void 0}var xn=function(T){return x.call(T)};function ko(T,O){return!!(O=O??9007199254740991)&&(typeof T=="number"||f.test(T))&&T>-1&&T%1==0&&T<O}function tr(T,O){if(y(T))return!1;var tA=typeof T;return!(tA!="number"&&tA!="symbol"&&tA!="boolean"&&T!=null&&!KA(T))||c.test(T)||!l.test(T)||O!=null&&T in Object(O)}function tn(T){return T==T&&!_A(T)}function is(T,O){return function(tA){return tA!=null&&tA[T]===O&&(O!==void 0||T in Object(tA))}}(q&&xn(new q(new ArrayBuffer(1)))!="[object DataView]"||WA&&xn(new WA)!=o||fA&&xn(fA.resolve())!="[object Promise]"||Y&&xn(new Y)!=s||eA&&xn(new eA)!="[object WeakMap]")&&(xn=function(T){var O=x.call(T),tA=O==a?T.constructor:void 0,rA=tA?Pn(tA):void 0;if(rA)switch(rA){case pA:return"[object DataView]";case CA:return o;case UA:return"[object Promise]";case kA:return s;case jA:return"[object WeakMap]"}return O});var rs=No(function(T){var O;T=(O=T)==null?"":function(rA){if(typeof rA=="string")return rA;if(KA(rA))return lA?lA.call(rA):"";var RA=rA+"";return RA=="0"&&1/rA==-1/0?"-0":RA}(O);var tA=[];return g.test(T)&&tA.push(""),T.replace(B,function(rA,RA,yA,zA){tA.push(yA?zA.replace(u,"$1"):RA||rA)}),tA});function nr(T){if(typeof T=="string"||KA(T))return T;var O=T+"";return O=="0"&&1/T==-1/0?"-0":O}function Pn(T){if(T!=null){try{return D.call(T)}catch{}try{return T+""}catch{}}return""}function No(T,O){if(typeof T!="function"||O&&typeof O!="function")throw new TypeError("Expected a function");var tA=function(){var rA=arguments,RA=O?O.apply(this,rA):rA[0],yA=tA.cache;if(yA.has(RA))return yA.get(RA);var zA=T.apply(this,rA);return tA.cache=yA.set(RA,zA),zA};return tA.cache=new(No.Cache||BA),tA}function Yn(T,O){return T===O||T!=T&&O!=O}function os(T){return function(O){return oe(O)&&aA(O)}(T)&&P.call(T,"callee")&&(!dA.call(T,"callee")||x.call(T)==r)}No.Cache=BA;var y=Array.isArray;function aA(T){return T!=null&&PA(T.length)&&!FA(T)}function FA(T){var O=_A(T)?x.call(T):"";return O=="[object Function]"||O=="[object GeneratorFunction]"}function PA(T){return typeof T=="number"&&T>-1&&T%1==0&&T<=9007199254740991}function _A(T){var O=typeof T;return!!T&&(O=="object"||O=="function")}function oe(T){return!!T&&typeof T=="object"}function KA(T){return typeof T=="symbol"||oe(T)&&x.call(T)=="[object Symbol]"}var qA=S?function(T){return function(O){return T(O)}}(S):function(T){return oe(T)&&PA(T.length)&&!!d[x.call(T)]};function nt(T){return aA(T)?ce(T):Zn(T)}function Ye(T){return T}i.exports=function(T,O,tA){var rA=y(T)?V:k,RA=arguments.length<3;return rA(T,Gn(O),tA,RA,ie)}}).call(this,t(3),t(7)(A))},function(A,e){A.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(A,e){String.prototype.padEnd||(String.prototype.padEnd=function(t,n){return t>>=0,n=String(n!==void 0?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),String(this)+n.slice(0,t))})},function(A,e,t){function n(w,G,K){return G in w?Object.defineProperty(w,G,{value:K,enumerable:!0,configurable:!0,writable:!0}):w[G]=K,w}function i(w){if(Symbol.iterator in Object(w)||Object.prototype.toString.call(w)==="[object Arguments]")return Array.from(w)}function r(w){return function(G){if(Array.isArray(G)){for(var K=0,D=new Array(G.length);K<G.length;K++)D[K]=G[K];return D}}(w)||i(w)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(w){if(Array.isArray(w))return w}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function s(w,G){if(!(w instanceof G))throw new TypeError("Cannot call a class as a function")}function l(w,G){for(var K=0;K<G.length;K++){var D=G[K];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}function c(w){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G})(w)}function g(w){return(g=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(G){return c(G)}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":c(G)})(w)}function B(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function u(w){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)})(w)}function E(w,G){return(E=Object.setPrototypeOf||function(K,D){return K.__proto__=D,K})(w,G)}t.r(e);var f=t(0),d=t.n(f),Q=t(5),h=t.n(Q),C=t(4),F=t.n(C),U=t(6),M=t.n(U),p=t(2),S=t.n(p),V=t(1),m=t.n(V);t(8);function k(w,G){return o(w)||function(K,D){var P=[],x=!0,L=!1,iA=void 0;try{for(var nA,dA=K[Symbol.iterator]();!(x=(nA=dA.next()).done)&&(P.push(nA.value),!D||P.length!==D);x=!0);}catch(EA){L=!0,iA=EA}finally{try{x||dA.return==null||dA.return()}finally{if(L)throw iA}}return P}(w,G)||a()}var z=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],AA=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function v(w,G,K,D,P){return!K||P?w+"".padEnd(G.length,".")+" "+D:w+"".padEnd(G.length,".")+" "+K}function H(w,G,K,D,P){var x,L,iA=[];return L=G===!0,[(x=[]).concat.apply(x,r(w.map(function(nA){var dA={name:nA[0],regions:nA[1],iso2:nA[2],countryCode:nA[3],dialCode:nA[3],format:v(K,nA[3],nA[4],D,P),priority:nA[5]||0},EA=[];return nA[6]&&nA[6].map(function(DA){var q=function(WA){for(var fA=1;fA<arguments.length;fA++){var Y=arguments[fA]!=null?arguments[fA]:{},eA=Object.keys(Y);typeof Object.getOwnPropertySymbols=="function"&&(eA=eA.concat(Object.getOwnPropertySymbols(Y).filter(function(cA){return Object.getOwnPropertyDescriptor(Y,cA).enumerable}))),eA.forEach(function(cA){n(WA,cA,Y[cA])})}return WA}({},dA);q.dialCode=nA[3]+DA,q.isAreaCode=!0,q.areaCodeLength=DA.length,EA.push(q)}),EA.length>0?(dA.mainCode=!0,L||G.constructor.name==="Array"&&G.includes(nA[2])?(dA.hasAreaCodes=!0,[dA].concat(EA)):(iA=iA.concat(EA),[dA])):[dA]}))),iA]}function X(w,G,K,D){if(K!==null){var P=Object.keys(K),x=Object.values(K);P.forEach(function(L,iA){if(D)return w.push([L,x[iA]]);var nA=w.findIndex(function(EA){return EA[0]===L});if(nA===-1){var dA=[L];dA[G]=x[iA],w.push(dA)}else w[nA][G]=x[iA]})}}function W(w,G){return G.length===0?w:w.map(function(K){var D=G.findIndex(function(x){return x[0]===K[2]});if(D===-1)return K;var P=G[D];return P[1]&&(K[4]=P[1]),P[3]&&(K[5]=P[3]),P[2]&&(K[6]=P[2]),K})}var sA=function w(G,K,D,P,x,L,iA,nA,dA,EA,DA,q,WA,fA){s(this,w),this.filterRegions=function(QA,$){if(typeof QA=="string"){var lA=QA;return $.filter(function(N){return N.regions.some(function(j){return j===lA})})}return $.filter(function(N){return QA.map(function(j){return N.regions.some(function(BA){return BA===j})}).some(function(j){return j})})},this.sortTerritories=function(QA,$){var lA=[].concat(r(QA),r($));return lA.sort(function(N,j){return N.name<j.name?-1:N.name>j.name?1:0}),lA},this.getFilteredCountryList=function(QA,$,lA){return QA.length===0?$:lA?QA.map(function(N){var j=$.find(function(BA){return BA.iso2===N});if(j)return j}).filter(function(N){return N}):$.filter(function(N){return QA.some(function(j){return j===N.iso2})})},this.localizeCountries=function(QA,$,lA){for(var N=0;N<QA.length;N++)$[QA[N].iso2]!==void 0?QA[N].localName=$[QA[N].iso2]:$[QA[N].name]!==void 0&&(QA[N].localName=$[QA[N].name]);return lA||QA.sort(function(j,BA){return j.localName<BA.localName?-1:j.localName>BA.localName?1:0}),QA},this.getCustomAreas=function(QA,$){for(var lA=[],N=0;N<$.length;N++){var j=JSON.parse(JSON.stringify(QA));j.dialCode+=$[N],lA.push(j)}return lA},this.excludeCountries=function(QA,$){return $.length===0?QA:QA.filter(function(lA){return!$.includes(lA.iso2)})};var Y=function(QA,$,lA){var N=[];return X(N,1,QA,!0),X(N,3,$),X(N,2,lA),N}(nA,dA,EA),eA=W(JSON.parse(JSON.stringify(z)),Y),cA=W(JSON.parse(JSON.stringify(AA)),Y),pA=k(H(eA,G,q,WA,fA),2),CA=pA[0],UA=pA[1];if(K){var kA=k(H(cA,G,q,WA,fA),2),jA=kA[0];kA[1],CA=this.sortTerritories(jA,CA)}D&&(CA=this.filterRegions(D,CA)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(P,CA,iA.includes("onlyCountries")),L),DA,iA.includes("onlyCountries")),this.preferredCountries=x.length===0?[]:this.localizeCountries(this.getFilteredCountryList(x,CA,iA.includes("preferredCountries")),DA,iA.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(P,UA),L)},oA=function(w){function G(P){var x;s(this,G),(x=function(Y,eA){return!eA||g(eA)!=="object"&&typeof eA!="function"?B(Y):eA}(this,u(G).call(this,P))).getProbableCandidate=F()(function(Y){return Y&&Y.length!==0?x.state.onlyCountries.filter(function(eA){return S()(eA.name.toLowerCase(),Y.toLowerCase())},B(B(x)))[0]:null}),x.guessSelectedCountry=F()(function(Y,eA,cA,pA){var CA;if(x.props.enableAreaCodes===!1&&(pA.some(function(jA){if(S()(Y,jA.dialCode))return cA.some(function(QA){if(jA.iso2===QA.iso2&&QA.mainCode)return CA=QA,!0}),!0}),CA))return CA;var UA=cA.find(function(jA){return jA.iso2==eA});if(Y.trim()==="")return UA;var kA=cA.reduce(function(jA,QA){return S()(Y,QA.dialCode)&&(QA.dialCode.length>jA.dialCode.length||QA.dialCode.length===jA.dialCode.length&&QA.priority<jA.priority)?QA:jA},{dialCode:"",priority:10001},B(B(x)));return kA.name?kA:UA}),x.updateCountry=function(Y){var eA,cA=x.state.onlyCountries;(eA=Y.indexOf(0)>="0"&&Y.indexOf(0)<="9"?cA.find(function(pA){return pA.dialCode==+Y}):cA.find(function(pA){return pA.iso2==Y}))&&eA.dialCode&&x.setState({selectedCountry:eA,formattedNumber:x.props.disableCountryCode?"":x.formatNumber(eA.dialCode,eA)})},x.scrollTo=function(Y,eA){if(Y){var cA=x.dropdownRef;if(cA&&document.body){var pA=cA.offsetHeight,CA=cA.getBoundingClientRect().top+document.body.scrollTop,UA=CA+pA,kA=Y,jA=kA.getBoundingClientRect(),QA=kA.offsetHeight,$=jA.top+document.body.scrollTop,lA=$+QA,N=$-CA+cA.scrollTop,j=pA/2-QA/2;if(x.props.enableSearch?$<CA+32:$<CA)eA&&(N-=j),cA.scrollTop=N;else if(lA>UA){eA&&(N+=j);var BA=pA-QA;cA.scrollTop=N-BA}}}},x.scrollToTop=function(){var Y=x.dropdownRef;Y&&document.body&&(Y.scrollTop=0)},x.formatNumber=function(Y,eA){if(!eA)return Y;var cA,pA=eA.format,CA=x.props,UA=CA.disableCountryCode,kA=CA.enableAreaCodeStretch,jA=CA.enableLongNumbers,QA=CA.autoFormat;if(UA?((cA=pA.split(" ")).shift(),cA=cA.join(" ")):kA&&eA.isAreaCode?((cA=pA.split(" "))[1]=cA[1].replace(/\.+/,"".padEnd(eA.areaCodeLength,".")),cA=cA.join(" ")):cA=pA,!Y||Y.length===0)return UA?"":x.props.prefix;if(Y&&Y.length<2||!cA||!QA)return UA?Y:x.props.prefix+Y;var $,lA=M()(cA,function(N,j){if(N.remainingText.length===0)return N;if(j!==".")return{formattedText:N.formattedText+j,remainingText:N.remainingText};var BA,TA=o(BA=N.remainingText)||i(BA)||a(),vA=TA[0],ce=TA.slice(1);return{formattedText:N.formattedText+vA,remainingText:ce}},{formattedText:"",remainingText:Y.split("")});return($=jA?lA.formattedText+lA.remainingText.join(""):lA.formattedText).includes("(")&&!$.includes(")")&&($+=")"),$},x.cursorToEnd=function(){var Y=x.numberInputRef;if(document.activeElement===Y){Y.focus();var eA=Y.value.length;Y.value.charAt(eA-1)===")"&&(eA-=1),Y.setSelectionRange(eA,eA)}},x.getElement=function(Y){return x["flag_no_".concat(Y)]},x.getCountryData=function(){return x.state.selectedCountry?{name:x.state.selectedCountry.name||"",dialCode:x.state.selectedCountry.dialCode||"",countryCode:x.state.selectedCountry.iso2||"",format:x.state.selectedCountry.format||""}:{}},x.handleFlagDropdownClick=function(Y){if(Y.preventDefault(),x.state.showDropdown||!x.props.disabled){var eA=x.state,cA=eA.preferredCountries,pA=eA.onlyCountries,CA=eA.selectedCountry,UA=x.concatPreferredCountries(cA,pA).findIndex(function(kA){return kA.dialCode===CA.dialCode&&kA.iso2===CA.iso2});x.setState({showDropdown:!x.state.showDropdown,highlightCountryIndex:UA},function(){x.state.showDropdown&&x.scrollTo(x.getElement(x.state.highlightCountryIndex))})}},x.handleInput=function(Y){var eA=Y.target.value,cA=x.props,pA=cA.prefix,CA=cA.onChange,UA=x.props.disableCountryCode?"":pA,kA=x.state.selectedCountry,jA=x.state.freezeSelection;if(!x.props.countryCodeEditable){var QA=pA+(kA.hasAreaCodes?x.state.onlyCountries.find(function(ie){return ie.iso2===kA.iso2&&ie.mainCode}).dialCode:kA.dialCode);if(eA.slice(0,QA.length)!==QA)return}if(eA===pA)return CA&&CA("",x.getCountryData(),Y,""),x.setState({formattedNumber:""});if(!(eA.replace(/\D/g,"").length>15&&(x.props.enableLongNumbers===!1||typeof x.props.enableLongNumbers=="number"&&eA.replace(/\D/g,"").length>x.props.enableLongNumbers))&&eA!==x.state.formattedNumber){Y.preventDefault?Y.preventDefault():Y.returnValue=!1;var $=x.props.country,lA=x.state,N=lA.onlyCountries,j=lA.selectedCountry,BA=lA.hiddenAreaCodes;if(CA&&Y.persist(),eA.length>0){var TA=eA.replace(/\D/g,"");(!x.state.freezeSelection||j&&j.dialCode.length>TA.length)&&(kA=x.props.disableCountryGuess?j:x.guessSelectedCountry(TA.substring(0,6),$,N,BA)||j,jA=!1),UA=x.formatNumber(TA,kA),kA=kA.dialCode?kA:j}var vA=Y.target.selectionStart,ce=Y.target.selectionStart,me=x.state.formattedNumber,Pe=UA.length-me.length;x.setState({formattedNumber:UA,freezeSelection:jA,selectedCountry:kA},function(){Pe>0&&(ce-=Pe),UA.charAt(UA.length-1)==")"?x.numberInputRef.setSelectionRange(UA.length-1,UA.length-1):ce>0&&me.length>=UA.length?x.numberInputRef.setSelectionRange(ce,ce):vA<me.length&&x.numberInputRef.setSelectionRange(vA,vA),CA&&CA(UA.replace(/[^0-9]+/g,""),x.getCountryData(),Y,UA)})}},x.handleInputClick=function(Y){x.setState({showDropdown:!1}),x.props.onClick&&x.props.onClick(Y,x.getCountryData())},x.handleDoubleClick=function(Y){var eA=Y.target.value.length;Y.target.setSelectionRange(0,eA)},x.handleFlagItemClick=function(Y,eA){var cA=x.state.selectedCountry,pA=x.state.onlyCountries.find(function(jA){return jA==Y});if(pA){var CA=x.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),UA=CA.length>1?CA.replace(cA.dialCode,pA.dialCode):pA.dialCode,kA=x.formatNumber(UA.replace(/\D/g,""),pA);x.setState({showDropdown:!1,selectedCountry:pA,freezeSelection:!0,formattedNumber:kA,searchValue:""},function(){x.cursorToEnd(),x.props.onChange&&x.props.onChange(kA.replace(/[^0-9]+/g,""),x.getCountryData(),eA,kA)})}},x.handleInputFocus=function(Y){x.numberInputRef&&x.numberInputRef.value===x.props.prefix&&x.state.selectedCountry&&!x.props.disableCountryCode&&x.setState({formattedNumber:x.props.prefix+x.state.selectedCountry.dialCode},function(){x.props.jumpCursorToEnd&&setTimeout(x.cursorToEnd,0)}),x.setState({placeholder:""}),x.props.onFocus&&x.props.onFocus(Y,x.getCountryData()),x.props.jumpCursorToEnd&&setTimeout(x.cursorToEnd,0)},x.handleInputBlur=function(Y){Y.target.value||x.setState({placeholder:x.props.placeholder}),x.props.onBlur&&x.props.onBlur(Y,x.getCountryData())},x.handleInputCopy=function(Y){if(x.props.copyNumbersOnly){var eA=window.getSelection().toString().replace(/[^0-9]+/g,"");Y.clipboardData.setData("text/plain",eA),Y.preventDefault()}},x.getHighlightCountryIndex=function(Y){var eA=x.state.highlightCountryIndex+Y;return eA<0||eA>=x.state.onlyCountries.length+x.state.preferredCountries.length?eA-Y:x.props.enableSearch&&eA>x.getSearchFilteredCountries().length?0:eA},x.searchCountry=function(){var Y=x.getProbableCandidate(x.state.queryString)||x.state.onlyCountries[0],eA=x.state.onlyCountries.findIndex(function(cA){return cA==Y})+x.state.preferredCountries.length;x.scrollTo(x.getElement(eA),!0),x.setState({queryString:"",highlightCountryIndex:eA})},x.handleKeydown=function(Y){var eA=x.props.keys,cA=Y.target.className;if(cA.includes("selected-flag")&&Y.which===eA.ENTER&&!x.state.showDropdown)return x.handleFlagDropdownClick(Y);if(cA.includes("form-control")&&(Y.which===eA.ENTER||Y.which===eA.ESC))return Y.target.blur();if(x.state.showDropdown&&!x.props.disabled&&(!cA.includes("search-box")||Y.which===eA.UP||Y.which===eA.DOWN||Y.which===eA.ENTER||Y.which===eA.ESC&&Y.target.value==="")){Y.preventDefault?Y.preventDefault():Y.returnValue=!1;var pA=function(CA){x.setState({highlightCountryIndex:x.getHighlightCountryIndex(CA)},function(){x.scrollTo(x.getElement(x.state.highlightCountryIndex),!0)})};switch(Y.which){case eA.DOWN:pA(1);break;case eA.UP:pA(-1);break;case eA.ENTER:x.props.enableSearch?x.handleFlagItemClick(x.getSearchFilteredCountries()[x.state.highlightCountryIndex]||x.getSearchFilteredCountries()[0],Y):x.handleFlagItemClick([].concat(r(x.state.preferredCountries),r(x.state.onlyCountries))[x.state.highlightCountryIndex],Y);break;case eA.ESC:case eA.TAB:x.setState({showDropdown:!1},x.cursorToEnd);break;default:(Y.which>=eA.A&&Y.which<=eA.Z||Y.which===eA.SPACE)&&x.setState({queryString:x.state.queryString+String.fromCharCode(Y.which)},x.state.debouncedQueryStingSearcher)}}},x.handleInputKeyDown=function(Y){var eA=x.props,cA=eA.keys,pA=eA.onEnterKeyPress,CA=eA.onKeyDown;Y.which===cA.ENTER&&pA&&pA(Y),CA&&CA(Y)},x.handleClickOutside=function(Y){x.dropdownRef&&!x.dropdownContainerRef.contains(Y.target)&&x.state.showDropdown&&x.setState({showDropdown:!1})},x.handleSearchChange=function(Y){var eA=Y.currentTarget.value,cA=x.state,pA=cA.preferredCountries,CA=cA.selectedCountry,UA=0;if(eA===""&&CA){var kA=x.state.onlyCountries;UA=x.concatPreferredCountries(pA,kA).findIndex(function(jA){return jA==CA}),setTimeout(function(){return x.scrollTo(x.getElement(UA))},100)}x.setState({searchValue:eA,highlightCountryIndex:UA})},x.concatPreferredCountries=function(Y,eA){return Y.length>0?r(new Set(Y.concat(eA))):eA},x.getDropdownCountryName=function(Y){return Y.localName||Y.name},x.getSearchFilteredCountries=function(){var Y=x.state,eA=Y.preferredCountries,cA=Y.onlyCountries,pA=Y.searchValue,CA=x.props.enableSearch,UA=x.concatPreferredCountries(eA,cA),kA=pA.trim().toLowerCase().replace("+","");if(CA&&kA){if(/^\d+$/.test(kA))return UA.filter(function($){var lA=$.dialCode;return["".concat(lA)].some(function(N){return N.toLowerCase().includes(kA)})});var jA=UA.filter(function($){var lA=$.iso2;return["".concat(lA)].some(function(N){return N.toLowerCase().includes(kA)})}),QA=UA.filter(function($){var lA=$.name,N=$.localName;return $.iso2,["".concat(lA),"".concat(N||"")].some(function(j){return j.toLowerCase().includes(kA)})});return x.scrollToTop(),r(new Set([].concat(jA,QA)))}return UA},x.getCountryDropdownList=function(){var Y=x.state,eA=Y.preferredCountries,cA=Y.highlightCountryIndex,pA=Y.showDropdown,CA=Y.searchValue,UA=x.props,kA=UA.disableDropdown,jA=UA.prefix,QA=x.props,$=QA.enableSearch,lA=QA.searchNotFound,N=QA.disableSearchIcon,j=QA.searchClass,BA=QA.searchStyle,TA=QA.searchPlaceholder,vA=QA.autocompleteSearch,ce=x.getSearchFilteredCountries().map(function(ie,Ne){var Fe=cA===Ne,ht=m()({country:!0,preferred:ie.iso2==="us"||ie.iso2==="gb",active:ie.iso2==="us",highlight:Fe}),ve="flag ".concat(ie.iso2);return d.a.createElement("li",Object.assign({ref:function(Sn){return x["flag_no_".concat(Ne)]=Sn},key:"flag_no_".concat(Ne),"data-flag-key":"flag_no_".concat(Ne),className:ht,"data-dial-code":"1",tabIndex:kA?"-1":"0","data-country-code":ie.iso2,onClick:function(Sn){return x.handleFlagItemClick(ie,Sn)},role:"option"},Fe?{"aria-selected":!0}:{}),d.a.createElement("div",{className:ve}),d.a.createElement("span",{className:"country-name"},x.getDropdownCountryName(ie)),d.a.createElement("span",{className:"dial-code"},ie.format?x.formatNumber(ie.dialCode,ie):jA+ie.dialCode))}),me=d.a.createElement("li",{key:"dashes",className:"divider"});eA.length>0&&(!$||$&&!CA.trim())&&ce.splice(eA.length,0,me);var Pe=m()(n({"country-list":!0,hide:!pA},x.props.dropdownClass,!0));return d.a.createElement("ul",{ref:function(ie){return!$&&ie&&ie.focus(),x.dropdownRef=ie},className:Pe,style:x.props.dropdownStyle,role:"listbox",tabIndex:"0"},$&&d.a.createElement("li",{className:m()(n({search:!0},j,j))},!N&&d.a.createElement("span",{className:m()(n({"search-emoji":!0},"".concat(j,"-emoji"),j)),role:"img","aria-label":"Magnifying glass"},"🔎"),d.a.createElement("input",{className:m()(n({"search-box":!0},"".concat(j,"-box"),j)),style:BA,type:"search",placeholder:TA,autoFocus:!0,autoComplete:vA?"on":"off",value:CA,onChange:x.handleSearchChange})),ce.length>0?ce:d.a.createElement("li",{className:"no-entries-message"},d.a.createElement("span",null,lA)))};var L,iA=new sA(P.enableAreaCodes,P.enableTerritories,P.regions,P.onlyCountries,P.preferredCountries,P.excludeCountries,P.preserveOrder,P.masks,P.priority,P.areaCodes,P.localization,P.prefix,P.defaultMask,P.alwaysDefaultMask),nA=iA.onlyCountries,dA=iA.preferredCountries,EA=iA.hiddenAreaCodes,DA=P.value?P.value.replace(/\D/g,""):"";L=P.disableInitialCountryGuess?0:DA.length>1?x.guessSelectedCountry(DA.substring(0,6),P.country,nA,EA)||0:P.country&&nA.find(function(Y){return Y.iso2==P.country})||0;var q,WA=DA.length<2&&L&&!S()(DA,L.dialCode)?L.dialCode:"";q=DA===""&&L===0?"":x.formatNumber((P.disableCountryCode?"":WA)+DA,L.name?L:void 0);var fA=nA.findIndex(function(Y){return Y==L});return x.state={showDropdown:P.showDropdown,formattedNumber:q,onlyCountries:nA,preferredCountries:dA,hiddenAreaCodes:EA,selectedCountry:L,highlightCountryIndex:fA,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:h()(x.searchCountry,250),searchValue:""},x}var K,D;return function(P,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(x&&x.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),x&&E(P,x)}(G,w),K=G,(D=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(P,x,L){P.country!==this.props.country?this.updateCountry(this.props.country):P.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(P){if(P===null)return this.setState({selectedCountry:0,formattedNumber:""});var x=this.state,L=x.onlyCountries,iA=x.selectedCountry,nA=x.hiddenAreaCodes,dA=this.props,EA=dA.country,DA=dA.prefix;if(P==="")return this.setState({selectedCountry:iA,formattedNumber:""});var q,WA,fA=P.replace(/\D/g,"");if(iA&&S()(P,DA+iA.dialCode))WA=this.formatNumber(fA,iA),this.setState({formattedNumber:WA});else{var Y=(q=this.props.disableCountryGuess?iA:this.guessSelectedCountry(fA.substring(0,6),EA,L,nA)||iA)&&S()(fA,DA+q.dialCode)?q.dialCode:"";WA=this.formatNumber((this.props.disableCountryCode?"":Y)+fA,q||void 0),this.setState({selectedCountry:q,formattedNumber:WA})}}},{key:"render",value:function(){var P,x,L,iA=this,nA=this.state,dA=nA.onlyCountries,EA=nA.selectedCountry,DA=nA.showDropdown,q=nA.formattedNumber,WA=nA.hiddenAreaCodes,fA=this.props,Y=fA.disableDropdown,eA=fA.renderStringAsFlag,cA=fA.isValid,pA=fA.defaultErrorMessage,CA=fA.specialLabel;if(typeof cA=="boolean")x=cA;else{var UA=cA(q.replace(/\D/g,""),EA,dA,WA);typeof UA=="boolean"?(x=UA)===!1&&(L=pA):(x=!1,L=UA)}var kA=m()((n(P={},this.props.containerClass,!0),n(P,"react-tel-input",!0),P)),jA=m()({arrow:!0,up:DA}),QA=m()(n({"form-control":!0,"invalid-number":!x,open:DA},this.props.inputClass,!0)),$=m()({"selected-flag":!0,open:DA}),lA=m()(n({"flag-dropdown":!0,"invalid-number":!x,open:DA},this.props.buttonClass,!0)),N="flag ".concat(EA&&EA.iso2);return d.a.createElement("div",{className:"".concat(kA," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},CA&&d.a.createElement("div",{className:"special-label"},CA),L&&d.a.createElement("div",{className:"invalid-number-message"},L),d.a.createElement("input",Object.assign({className:QA,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:q,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(j){iA.numberInputRef=j,typeof iA.props.inputProps.ref=="function"?iA.props.inputProps.ref(j):typeof iA.props.inputProps.ref=="object"&&(iA.props.inputProps.ref.current=j)}})),d.a.createElement("div",{className:lA,style:this.props.buttonStyle,ref:function(j){return iA.dropdownContainerRef=j}},eA?d.a.createElement("div",{className:$},eA):d.a.createElement("div",{onClick:Y?void 0:this.handleFlagDropdownClick,className:$,title:EA?"".concat(EA.localName||EA.name,": + ").concat(EA.dialCode):"",tabIndex:Y?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!DA||void 0},d.a.createElement("div",{className:N},!Y&&d.a.createElement("div",{className:jA}))),DA&&this.getCountryDropdownList()))}}])&&l(K.prototype,D),G}(d.a.Component);oA.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},e.default=oA}]);const ej=Ho(Aj),tj=({label:A,value:e="",onChange:t=o=>{console.log(o)},placeholder:n="Introduce tu número de teléfono",isRequired:i=!1,error:r=""})=>I.jsxs(al,{isRequired:i,children:[A&&I.jsx(Fa,{fontSize:"16px",children:A}),I.jsx(ej,{country:"es",regions:"europe",dropdownClass:"custom-dropdown",value:e,onChange:t,inputStyle:{width:"100%",borderRadius:"5px",height:"40px",border:r?"1px solid red":"1px solid #ccc"},dropdownStyle:{borderRadius:"5px"},placeholder:n}),r&&I.jsx(VA,{fontSize:"sm",color:"red.500",mt:1,children:r})]}),nj=({label:A="",description:e="",placeholders:t=[],values:n=[],onChange:i,dropdown:r=!1,info:o=!1,infoText:a="",product:s="info",isRequired:l=!1,isDisabled:c=!1,isReadOnly:g=!1})=>{const[B,u]=R.useState(!0),E=$e[s],f=E[200],d=E[300],Q=(h,C)=>{i&&i(h,C)};return I.jsx(bA,{children:I.jsxs(al,{isRequired:l,children:[I.jsxs(Fa,{fontSize:"16px",children:[r&&I.jsx(ot,{"aria-label":"Toggle Description",icon:B?I.jsx(qg,{}):I.jsx(sf,{}),size:"sm",variant:"ghost",onClick:()=>u(!B),_hover:{bg:"transparent"}}),A,o&&a&&I.jsx(Kg,{label:a,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:f,border:`1px solid ${d}`,color:"black.500",placement:"top",hasArrow:!0,children:I.jsx(ot,{icon:I.jsx(lf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),r&&B&&e&&I.jsxs(I.Fragment,{children:[I.jsx(VA,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:e}),I.jsx(OA,{wrap:"wrap",mb:2,gap:4,children:t.map((h,C)=>I.jsx(bA,{flexBasis:{base:"100%",sm:"49%"},children:I.jsx(Ra,{placeholder:h,value:n[C]||"",onChange:F=>Q(C,F.target.value),bg:"white",isDisabled:c,isReadOnly:g})},C))})]})]})})},gD=({type:A,title:e,description:t,customContent:n,onClose:i})=>{const r={success:wz,error:yw,info:Dz,warning:yw},s={...{backgroundColor:"#EFEFEF",fontSize:"16px",padding:"16px 32px 16px 16px",borderRadius:"8px",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)",display:"flex",flexDirection:"column",maxWidth:"400px",margin:"10px auto",position:"relative",textAlign:"left"},...{success:{backgroundColor:"#C6F6D5"},error:{backgroundColor:"#FED7D7"},info:{backgroundColor:"#BEE3F8"},warning:{backgroundColor:"#FEEBCB"},custom:{backgroundColor:"#FFFFFF",border:"1px solid #ccc",padding:"24px 12px 12px",borderRadius:"12px",maxWidth:"350px"}}[A]},l={marginRight:"16px",flexShrink:0},c={fontWeight:"bold"},g={position:"absolute",top:"12px",right:"12px",backgroundColor:"transparent",border:"none",color:"inherit",cursor:"pointer"};return A==="custom"?I.jsx("div",{style:s,children:I.jsxs(OA,{direction:"row",align:"center",flex:"1",children:[n&&I.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"8px"},children:n}),i&&I.jsx(ze,{style:g,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:I.jsx(ya,{boxSize:4})})]})}):I.jsx("div",{style:s,children:I.jsxs(OA,{direction:"row",align:"center",flex:"1",children:[I.jsx(wt,{as:r[A],style:l,boxSize:6}),I.jsxs(OA,{direction:"column",flex:"1",ml:3,children:[I.jsx(VA,{style:c,children:e}),t&&I.jsx(VA,{mt:1,children:t})]}),i&&I.jsx(ze,{style:g,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:I.jsx(ya,{boxSize:4})})]})})},hf=()=>{const A=xw();return({type:e,title:t,description:n,duration:i=3e3,customContent:r,position:o="bottom-right"})=>{A({position:o,duration:i,render:({onClose:a})=>I.jsx(gD,{type:e,title:t,description:n,onClose:a,customContent:r})})}},ij=({message:A,userImage:e,timestamp:t,isError:n=!1,userName:i="User",type:r="text",src:o="",alt:a=""})=>I.jsxs(_t,{justify:"flex-end",spacing:2,w:"100%",py:2,alignItems:"start",children:[I.jsxs(bA,{bg:r!=="text"?"transparent":"white.100",color:"black",borderRadius:"30px",border:n?"2px solid":"none",borderColor:n?"red.400":"transparent",px:5,py:3,maxW:"65%",boxShadow:"sm",wordBreak:"break-word",alignItems:"flex-start",children:[r==="image"?I.jsx(bA,{maxWidth:"24.3125rem",height:"13.4375rem",children:I.jsx("img",{src:o,alt:a,style:{width:"100%",objectFit:"contain",height:"100%"}})}):I.jsx(VA,{textAlign:"right",fontSize:"md",whiteSpace:"normal",children:A}),t&&I.jsx(VA,{fontSize:"xs",color:"gray.500",textAlign:"right",mt:1,children:t})]}),I.jsx(uM,{src:e,name:i,size:"sm",mt:"10px"})]}),rj=({width:A=24,height:e=24,color:t="#666666"})=>I.jsxs("svg",{width:A,height:e,viewBox:"0 0 22 24",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[I.jsx("path",{d:"M10.7626 3.15604C11.6262 3.31919 12.4588 2.75379 12.6248 1.89021C12.7879 1.02664 12.2225 0.194002 11.359 0.0280381C10.4954 -0.135113 9.66275 0.43029 9.49679 1.29387C9.33364 2.15744 9.89904 2.99007 10.7626 3.15604Z",fill:t}),I.jsx("path",{d:"M11.9891 7.96331C15.373 8.40776 17.9947 11.3107 17.9947 14.8157C17.9947 18.6272 14.8948 21.7271 11.0805 21.7271C7.26612 21.7271 4.16625 18.6272 4.16625 14.8157C4.16625 11.3473 6.73447 8.46683 10.0706 7.97738V5.69045C6.31815 6.10114 3.24078 8.78188 2.24219 12.3262C2.58537 12.4753 2.88917 12.7594 3.12827 13.1588C3.46301 13.7158 3.65429 14.4584 3.66554 15.2517C3.68523 16.5597 3.22953 17.6511 2.52911 18.1603C3.86807 21.5752 7.19579 23.9999 11.0805 23.9999C14.9652 23.9999 18.2282 21.6202 19.5925 18.2587C19.3196 18.0956 19.0721 17.848 18.8724 17.5133C18.5376 16.9563 18.3463 16.2137 18.3351 15.4204C18.3238 14.6272 18.4926 13.8705 18.8133 13.2854C19.0946 12.7735 19.4743 12.4275 19.9075 12.2812C18.8836 8.72844 15.7697 6.05332 11.9891 5.6792V7.96613V7.96331Z",fill:t}),I.jsx("path",{d:"M2.32675 13.4795C2.24236 13.3389 2.14953 13.2207 2.05389 13.1279C1.89918 12.976 1.73603 12.8944 1.59257 12.9001C1.58132 12.9001 1.57288 12.9001 1.56163 12.9001C1.33659 12.9282 1.07499 13.1673 0.875267 13.5358C0.605224 14.0337 0.464576 14.6863 0.473015 15.3811C0.484267 16.0759 0.644605 16.7172 0.9259 17.187C1.14812 17.5527 1.42942 17.7749 1.66008 17.7665C1.84573 17.758 2.05952 17.6033 2.24799 17.3304C2.54616 16.9057 2.79089 16.194 2.77682 15.2854C2.76557 14.5906 2.60523 13.9493 2.32394 13.4795H2.32675Z",fill:t}),I.jsx("path",{d:"M21.0748 13.4795C20.8526 13.1138 20.5713 12.8916 20.3406 12.9C20.3294 12.9 20.3209 12.9 20.3097 12.9C20.2365 12.9085 20.1578 12.9422 20.0818 12.9957C19.9215 13.1025 19.7583 13.291 19.6233 13.5386C19.3533 14.0308 19.2126 14.6834 19.2211 15.3782C19.2323 16.073 19.3927 16.7144 19.6739 17.1841C19.7358 17.2882 19.8033 17.3782 19.8737 17.457C20.0509 17.6567 20.2422 17.772 20.4081 17.7636C20.8835 17.7383 21.5474 16.7678 21.5277 15.2826C21.5164 14.5878 21.3561 13.9464 21.0748 13.4767V13.4795Z",fill:t}),I.jsx("path",{d:"M7.68316 12.3741C7.02774 12.346 6.49609 13.294 6.49609 14.4923C6.49609 15.6906 7.02774 16.6864 7.68597 16.7145C8.3442 16.7427 8.87304 15.7947 8.87304 14.5964C8.87304 13.3981 8.34139 12.4023 7.68316 12.3741ZM8.09385 16.3882C7.80693 16.6555 7.39061 16.5739 7.16276 16.2082C6.93491 15.8425 6.97992 15.3277 7.26684 15.0605C7.55376 14.7933 7.97008 14.8749 8.19793 15.2405C8.42578 15.6062 8.38077 16.121 8.09385 16.3882Z",fill:t}),I.jsx("path",{d:"M13.6179 12.2306C12.9624 12.2025 12.4308 13.1504 12.4336 14.3487C12.4336 15.5471 12.9681 16.54 13.6235 16.5682C14.2789 16.5963 14.8105 15.6483 14.8077 14.45C14.8077 13.2517 14.2733 12.2587 13.6179 12.2306ZM14.006 16.2981C13.7163 16.5597 13.3 16.4753 13.0778 16.104C12.8555 15.7355 12.909 15.2208 13.1987 14.9592C13.4885 14.6975 13.9048 14.7819 14.127 15.1532C14.3492 15.5246 14.2958 16.0365 14.006 16.2981Z",fill:t}),I.jsx("path",{d:"M11.3514 7.90999V3.94373H10.7129V7.91561C10.8367 7.90998 10.9604 7.90436 11.0842 7.90436C11.1742 7.90436 11.2642 7.90717 11.3514 7.90999Z",fill:t})]});function uBA(){}function EBA(){}function oj(A,e){const t={};return(A[A.length-1]===""?[...A,""]:A).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const aj=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lj={};function BD(A,e){return(lj.jsx?sj:aj).test(A)}const cj=/[ \t\n\f\r]/g;function gj(A){return typeof A=="object"?A.type==="text"?uD(A.value):!1:uD(A)}function uD(A){return A.replace(cj,"")===""}class Sl{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}Sl.prototype.normal={},Sl.prototype.property={},Sl.prototype.space=void 0;function ED(A,e){const t={},n={};for(const i of A)Object.assign(t,i.property),Object.assign(n,i.normal);return new Sl(t,n,e)}function Cf(A){return A.toLowerCase()}class Kt{constructor(e,t){this.attribute=t,this.property=e}}Kt.prototype.attribute="",Kt.prototype.booleanish=!1,Kt.prototype.boolean=!1,Kt.prototype.commaOrSpaceSeparated=!1,Kt.prototype.commaSeparated=!1,Kt.prototype.defined=!1,Kt.prototype.mustUseProperty=!1,Kt.prototype.number=!1,Kt.prototype.overloadedBoolean=!1,Kt.prototype.property="",Kt.prototype.spaceSeparated=!1,Kt.prototype.space=void 0;let Bj=0;const XA=Io(),ct=Io(),ID=Io(),uA=Io(),Ve=Io(),Na=Io(),ln=Io();function Io(){return 2**++Bj}const Uf=Object.freeze(Object.defineProperty({__proto__:null,boolean:XA,booleanish:ct,commaOrSpaceSeparated:ln,commaSeparated:Na,number:uA,overloadedBoolean:ID,spaceSeparated:Ve},Symbol.toStringTag,{value:"Module"})),Ff=Object.keys(Uf);class Rf extends Kt{constructor(e,t,n,i){let r=-1;if(super(e,t),fD(this,"space",i),typeof n=="number")for(;++r<Ff.length;){const o=Ff[r];fD(this,Ff[r],(n&Uf[o])===Uf[o])}}}Rf.prototype.defined=!0;function fD(A,e,t){t&&(A[e]=t)}function va(A){const e={},t={};for(const[n,i]of Object.entries(A.properties)){const r=new Rf(n,A.transform(A.attributes||{},n),i,A.space);A.mustUseProperty&&A.mustUseProperty.includes(n)&&(r.mustUseProperty=!0),e[n]=r,t[Cf(n)]=n,t[Cf(r.attribute)]=n}return new Sl(e,t,A.space)}const dD=va({properties:{ariaActiveDescendant:null,ariaAtomic:ct,ariaAutoComplete:null,ariaBusy:ct,ariaChecked:ct,ariaColCount:uA,ariaColIndex:uA,ariaColSpan:uA,ariaControls:Ve,ariaCurrent:null,ariaDescribedBy:Ve,ariaDetails:null,ariaDisabled:ct,ariaDropEffect:Ve,ariaErrorMessage:null,ariaExpanded:ct,ariaFlowTo:Ve,ariaGrabbed:ct,ariaHasPopup:null,ariaHidden:ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ve,ariaLevel:uA,ariaLive:null,ariaModal:ct,ariaMultiLine:ct,ariaMultiSelectable:ct,ariaOrientation:null,ariaOwns:Ve,ariaPlaceholder:null,ariaPosInSet:uA,ariaPressed:ct,ariaReadOnly:ct,ariaRelevant:null,ariaRequired:ct,ariaRoleDescription:Ve,ariaRowCount:uA,ariaRowIndex:uA,ariaRowSpan:uA,ariaSelected:ct,ariaSetSize:uA,ariaSort:null,ariaValueMax:uA,ariaValueMin:uA,ariaValueNow:uA,ariaValueText:null,role:null},transform(A,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function QD(A,e){return e in A?A[e]:e}function hD(A,e){return QD(A,e.toLowerCase())}const uj=va({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Na,acceptCharset:Ve,accessKey:Ve,action:null,allow:null,allowFullScreen:XA,allowPaymentRequest:XA,allowUserMedia:XA,alt:null,as:null,async:XA,autoCapitalize:null,autoComplete:Ve,autoFocus:XA,autoPlay:XA,blocking:Ve,capture:null,charSet:null,checked:XA,cite:null,className:Ve,cols:uA,colSpan:null,content:null,contentEditable:ct,controls:XA,controlsList:Ve,coords:uA|Na,crossOrigin:null,data:null,dateTime:null,decoding:null,default:XA,defer:XA,dir:null,dirName:null,disabled:XA,download:ID,draggable:ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:XA,formTarget:null,headers:Ve,height:uA,hidden:XA,high:uA,href:null,hrefLang:null,htmlFor:Ve,httpEquiv:Ve,id:null,imageSizes:null,imageSrcSet:null,inert:XA,inputMode:null,integrity:null,is:null,isMap:XA,itemId:null,itemProp:Ve,itemRef:Ve,itemScope:XA,itemType:Ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:XA,low:uA,manifest:null,max:null,maxLength:uA,media:null,method:null,min:null,minLength:uA,multiple:XA,muted:XA,name:null,nonce:null,noModule:XA,noValidate:XA,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:XA,optimum:uA,pattern:null,ping:Ve,placeholder:null,playsInline:XA,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:XA,referrerPolicy:null,rel:Ve,required:XA,reversed:XA,rows:uA,rowSpan:uA,sandbox:Ve,scope:null,scoped:XA,seamless:XA,selected:XA,shadowRootClonable:XA,shadowRootDelegatesFocus:XA,shadowRootMode:null,shape:null,size:uA,sizes:null,slot:null,span:uA,spellCheck:ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:uA,step:null,style:null,tabIndex:uA,target:null,title:null,translate:null,type:null,typeMustMatch:XA,useMap:null,value:ct,width:uA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ve,axis:null,background:null,bgColor:null,border:uA,borderColor:null,bottomMargin:uA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:XA,declare:XA,event:null,face:null,frame:null,frameBorder:null,hSpace:uA,leftMargin:uA,link:null,longDesc:null,lowSrc:null,marginHeight:uA,marginWidth:uA,noResize:XA,noHref:XA,noShade:XA,noWrap:XA,object:null,profile:null,prompt:null,rev:null,rightMargin:uA,rules:null,scheme:null,scrolling:ct,standby:null,summary:null,text:null,topMargin:uA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:uA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:XA,disableRemotePlayback:XA,prefix:null,property:null,results:uA,security:null,unselectable:null},space:"html",transform:hD}),Ej=va({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ln,accentHeight:uA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:uA,amplitude:uA,arabicForm:null,ascent:uA,attributeName:null,attributeType:null,azimuth:uA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:uA,by:null,calcMode:null,capHeight:uA,className:Ve,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:uA,diffuseConstant:uA,direction:null,display:null,dur:null,divisor:uA,dominantBaseline:null,download:XA,dx:null,dy:null,edgeMode:null,editable:null,elevation:uA,enableBackground:null,end:null,event:null,exponent:uA,externalResourcesRequired:null,fill:null,fillOpacity:uA,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Na,g2:Na,glyphName:Na,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:uA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:uA,horizOriginX:uA,horizOriginY:uA,id:null,ideographic:uA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:uA,k:uA,k1:uA,k2:uA,k3:uA,k4:uA,kernelMatrix:ln,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:uA,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:uA,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:uA,overlineThickness:uA,paintOrder:null,panose1:null,path:null,pathLength:uA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:uA,pointsAtY:uA,pointsAtZ:uA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ln,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ln,rev:ln,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ln,requiredFeatures:ln,requiredFonts:ln,requiredFormats:ln,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:uA,specularExponent:uA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:uA,strikethroughThickness:uA,string:null,stroke:null,strokeDashArray:ln,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:uA,strokeOpacity:uA,strokeWidth:null,style:null,surfaceScale:uA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ln,tabIndex:uA,tableValues:null,target:null,targetX:uA,targetY:uA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ln,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:uA,underlineThickness:uA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:uA,values:null,vAlphabetic:uA,vMathematical:uA,vectorEffect:null,vHanging:uA,vIdeographic:uA,version:null,vertAdvY:uA,vertOriginX:uA,vertOriginY:uA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:uA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:QD}),CD=va({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(A,e){return"xlink:"+e.slice(5).toLowerCase()}}),UD=va({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:hD}),FD=va({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(A,e){return"xml:"+e.slice(3).toLowerCase()}}),Ij={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fj=/[A-Z]/g,RD=/-[a-z]/g,dj=/^data[-\w.:]+$/i;function Qj(A,e){const t=Cf(e);let n=e,i=Kt;if(t in A.normal)return A.property[A.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&dj.test(e)){if(e.charAt(4)==="-"){const r=e.slice(5).replace(RD,Cj);n="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=e.slice(4);if(!RD.test(r)){let o=r.replace(fj,hj);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Rf}return new i(n,e)}function hj(A){return"-"+A.toLowerCase()}function Cj(A){return A.charAt(1).toUpperCase()}const Uj=ED([dD,uj,CD,UD,FD],"html"),Mf=ED([dD,Ej,CD,UD,FD],"svg");function Fj(A){return A.join(" ").trim()}var wf={},MD=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Rj=/\n/g,Mj=/^\s*/,wj=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Dj=/^:\s*/,pj=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,mj=/^[;\s]*/,Sj=/^\s+|\s+$/g,xj=`
454
+ */(function(){var i={}.hasOwnProperty;function r(){for(var o=[],a=0;a<arguments.length;a++){var s=arguments[a];if(s){var l=typeof s;if(l==="string"||l==="number")o.push(s);else if(Array.isArray(s)&&s.length){var c=r.apply(null,s);c&&o.push(c)}else if(l==="object")for(var g in s)i.call(s,g)&&s[g]&&o.push(g)}}return o.join(" ")}A.exports?(r.default=r,A.exports=r):(n=(function(){return r}).apply(e,[]))===void 0||(A.exports=n)})()},function(A,e,t){(function(n){var i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l=typeof n=="object"&&n&&n.Object===Object&&n,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype.toString,u=g.Symbol,E=u?u.prototype:void 0,f=E?E.toString:void 0;function d(F){if(typeof F=="string")return F;if(h(F))return f?f.call(F):"";var U=F+"";return U=="0"&&1/F==-1/0?"-0":U}function Q(F){var U=typeof F;return!!F&&(U=="object"||U=="function")}function h(F){return typeof F=="symbol"||function(U){return!!U&&typeof U=="object"}(F)&&B.call(F)=="[object Symbol]"}function C(F){return F?(F=function(U){if(typeof U=="number")return U;if(h(U))return NaN;if(Q(U)){var M=typeof U.valueOf=="function"?U.valueOf():U;U=Q(M)?M+"":M}if(typeof U!="string")return U===0?U:+U;U=U.replace(i,"");var p=o.test(U);return p||a.test(U)?s(U.slice(2),p?2:8):r.test(U)?NaN:+U}(F))===1/0||F===-1/0?17976931348623157e292*(F<0?-1:1):F==F?F:0:F===0?F:0}A.exports=function(F,U,M){var p,S,V,m;return F=(p=F)==null?"":d(p),S=function(k){var z=C(k),AA=z%1;return z==z?AA?z-AA:z:0}(M),V=0,m=F.length,S==S&&(m!==void 0&&(S=S<=m?S:m),V!==void 0&&(S=S>=V?S:V)),M=S,U=d(U),F.slice(M,M+U.length)==U}}).call(this,t(3))},function(A,e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}A.exports=t},function(A,e,t){(function(n){var i=/^\[object .+?Constructor\]$/,r=typeof n=="object"&&n&&n.Object===Object&&n,o=typeof self=="object"&&self&&self.Object===Object&&self,a=r||o||Function("return this")(),s,l=Array.prototype,c=Function.prototype,g=Object.prototype,B=a["__core-js_shared__"],u=(s=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",E=c.toString,f=g.hasOwnProperty,d=g.toString,Q=RegExp("^"+E.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=l.splice,C=k(a,"Map"),F=k(Object,"create");function U(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function M(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function p(v){var H=-1,X=v?v.length:0;for(this.clear();++H<X;){var W=v[H];this.set(W[0],W[1])}}function S(v,H){for(var X,W,sA=v.length;sA--;)if((X=v[sA][0])===(W=H)||X!=X&&W!=W)return sA;return-1}function V(v){return!(!AA(v)||(H=v,u&&u in H))&&(function(X){var W=AA(X)?d.call(X):"";return W=="[object Function]"||W=="[object GeneratorFunction]"}(v)||function(X){var W=!1;if(X!=null&&typeof X.toString!="function")try{W=!!(X+"")}catch{}return W}(v)?Q:i).test(function(X){if(X!=null){try{return E.call(X)}catch{}try{return X+""}catch{}}return""}(v));var H}function m(v,H){var X,W,sA=v.__data__;return((W=typeof(X=H))=="string"||W=="number"||W=="symbol"||W=="boolean"?X!=="__proto__":X===null)?sA[typeof H=="string"?"string":"hash"]:sA.map}function k(v,H){var X=function(W,sA){return W==null?void 0:W[sA]}(v,H);return V(X)?X:void 0}function z(v,H){if(typeof v!="function"||H&&typeof H!="function")throw new TypeError("Expected a function");var X=function(){var W=arguments,sA=H?H.apply(this,W):W[0],oA=X.cache;if(oA.has(sA))return oA.get(sA);var w=v.apply(this,W);return X.cache=oA.set(sA,w),w};return X.cache=new(z.Cache||p),X}function AA(v){var H=typeof v;return!!v&&(H=="object"||H=="function")}U.prototype.clear=function(){this.__data__=F?F(null):{}},U.prototype.delete=function(v){return this.has(v)&&delete this.__data__[v]},U.prototype.get=function(v){var H=this.__data__;if(F){var X=H[v];return X==="__lodash_hash_undefined__"?void 0:X}return f.call(H,v)?H[v]:void 0},U.prototype.has=function(v){var H=this.__data__;return F?H[v]!==void 0:f.call(H,v)},U.prototype.set=function(v,H){return this.__data__[v]=F&&H===void 0?"__lodash_hash_undefined__":H,this},M.prototype.clear=function(){this.__data__=[]},M.prototype.delete=function(v){var H=this.__data__,X=S(H,v);return!(X<0)&&(X==H.length-1?H.pop():h.call(H,X,1),!0)},M.prototype.get=function(v){var H=this.__data__,X=S(H,v);return X<0?void 0:H[X][1]},M.prototype.has=function(v){return S(this.__data__,v)>-1},M.prototype.set=function(v,H){var X=this.__data__,W=S(X,v);return W<0?X.push([v,H]):X[W][1]=H,this},p.prototype.clear=function(){this.__data__={hash:new U,map:new(C||M),string:new U}},p.prototype.delete=function(v){return m(this,v).delete(v)},p.prototype.get=function(v){return m(this,v).get(v)},p.prototype.has=function(v){return m(this,v).has(v)},p.prototype.set=function(v,H){return m(this,v).set(v,H),this},z.Cache=p,A.exports=z}).call(this,t(3))},function(A,e,t){(function(n){var i=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l=typeof n=="object"&&n&&n.Object===Object&&n,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype.toString,u=Math.max,E=Math.min,f=function(){return g.Date.now()};function d(h){var C=typeof h;return!!h&&(C=="object"||C=="function")}function Q(h){if(typeof h=="number")return h;if(function(U){return typeof U=="symbol"||function(M){return!!M&&typeof M=="object"}(U)&&B.call(U)=="[object Symbol]"}(h))return NaN;if(d(h)){var C=typeof h.valueOf=="function"?h.valueOf():h;h=d(C)?C+"":C}if(typeof h!="string")return h===0?h:+h;h=h.replace(i,"");var F=o.test(h);return F||a.test(h)?s(h.slice(2),F?2:8):r.test(h)?NaN:+h}A.exports=function(h,C,F){var U,M,p,S,V,m,k=0,z=!1,AA=!1,v=!0;if(typeof h!="function")throw new TypeError("Expected a function");function H(G){var K=U,D=M;return U=M=void 0,k=G,S=h.apply(D,K)}function X(G){return k=G,V=setTimeout(sA,C),z?H(G):S}function W(G){var K=G-m;return m===void 0||K>=C||K<0||AA&&G-k>=p}function sA(){var G=f();if(W(G))return oA(G);V=setTimeout(sA,function(K){var D=C-(K-m);return AA?E(D,p-(K-k)):D}(G))}function oA(G){return V=void 0,v&&U?H(G):(U=M=void 0,S)}function w(){var G=f(),K=W(G);if(U=arguments,M=this,m=G,K){if(V===void 0)return X(m);if(AA)return V=setTimeout(sA,C),H(m)}return V===void 0&&(V=setTimeout(sA,C)),S}return C=Q(C)||0,d(F)&&(z=!!F.leading,p=(AA="maxWait"in F)?u(Q(F.maxWait)||0,C):p,v="trailing"in F?!!F.trailing:v),w.cancel=function(){V!==void 0&&clearTimeout(V),k=0,U=m=M=V=void 0},w.flush=function(){return V===void 0?S:oA(f())},w}}).call(this,t(3))},function(A,e,t){(function(n,i){var r="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,g=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,E=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,d={};d["[object Float32Array]"]=d["[object Float64Array]"]=d["[object Int8Array]"]=d["[object Int16Array]"]=d["[object Int32Array]"]=d["[object Uint8Array]"]=d["[object Uint8ClampedArray]"]=d["[object Uint16Array]"]=d["[object Uint32Array]"]=!0,d[r]=d["[object Array]"]=d["[object ArrayBuffer]"]=d["[object Boolean]"]=d["[object DataView]"]=d["[object Date]"]=d["[object Error]"]=d["[object Function]"]=d[o]=d["[object Number]"]=d[a]=d["[object RegExp]"]=d[s]=d["[object String]"]=d["[object WeakMap]"]=!1;var Q=typeof n=="object"&&n&&n.Object===Object&&n,h=typeof self=="object"&&self&&self.Object===Object&&self,C=Q||h||Function("return this")(),F=e&&!e.nodeType&&e,U=F&&typeof i=="object"&&i&&!i.nodeType&&i,M=U&&U.exports===F&&Q.process,p=function(){try{return M&&M.binding("util")}catch{}}(),S=p&&p.isTypedArray;function V(T,O,tA,rA){var RA=-1,yA=T?T.length:0;for(rA&&yA&&(tA=T[++RA]);++RA<yA;)tA=O(tA,T[RA],RA,T);return tA}function m(T,O){for(var tA=-1,rA=T?T.length:0;++tA<rA;)if(O(T[tA],tA,T))return!0;return!1}function k(T,O,tA,rA,RA){return RA(T,function(yA,zA,Re){tA=rA?(rA=!1,yA):O(tA,yA,zA,Re)}),tA}function z(T){var O=!1;if(T!=null&&typeof T.toString!="function")try{O=!!(T+"")}catch{}return O}function AA(T){var O=-1,tA=Array(T.size);return T.forEach(function(rA,RA){tA[++O]=[RA,rA]}),tA}function v(T){var O=-1,tA=Array(T.size);return T.forEach(function(rA){tA[++O]=rA}),tA}var H,X,W,sA=Array.prototype,oA=Function.prototype,w=Object.prototype,G=C["__core-js_shared__"],K=(H=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+H:"",D=oA.toString,P=w.hasOwnProperty,x=w.toString,L=RegExp("^"+D.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),iA=C.Symbol,nA=C.Uint8Array,dA=w.propertyIsEnumerable,EA=sA.splice,DA=(X=Object.keys,W=Object,function(T){return X(W(T))}),q=Jn(C,"DataView"),WA=Jn(C,"Map"),fA=Jn(C,"Promise"),Y=Jn(C,"Set"),eA=Jn(C,"WeakMap"),cA=Jn(Object,"create"),pA=Pn(q),CA=Pn(WA),UA=Pn(fA),kA=Pn(Y),jA=Pn(eA),QA=iA?iA.prototype:void 0,$=QA?QA.valueOf:void 0,lA=QA?QA.toString:void 0;function N(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function j(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function BA(T){var O=-1,tA=T?T.length:0;for(this.clear();++O<tA;){var rA=T[O];this.set(rA[0],rA[1])}}function TA(T){var O=-1,tA=T?T.length:0;for(this.__data__=new BA;++O<tA;)this.add(T[O])}function vA(T){this.__data__=new j(T)}function ce(T,O){var tA=y(T)||os(T)?function(zA,Re){for(var Se=-1,Me=Array(zA);++Se<zA;)Me[Se]=Re(Se);return Me}(T.length,String):[],rA=tA.length,RA=!!rA;for(var yA in T)!P.call(T,yA)||RA&&(yA=="length"||ko(yA,rA))||tA.push(yA);return tA}function me(T,O){for(var tA=T.length;tA--;)if(Yn(T[tA][0],O))return tA;return-1}N.prototype.clear=function(){this.__data__=cA?cA(null):{}},N.prototype.delete=function(T){return this.has(T)&&delete this.__data__[T]},N.prototype.get=function(T){var O=this.__data__;if(cA){var tA=O[T];return tA==="__lodash_hash_undefined__"?void 0:tA}return P.call(O,T)?O[T]:void 0},N.prototype.has=function(T){var O=this.__data__;return cA?O[T]!==void 0:P.call(O,T)},N.prototype.set=function(T,O){return this.__data__[T]=cA&&O===void 0?"__lodash_hash_undefined__":O,this},j.prototype.clear=function(){this.__data__=[]},j.prototype.delete=function(T){var O=this.__data__,tA=me(O,T);return!(tA<0)&&(tA==O.length-1?O.pop():EA.call(O,tA,1),!0)},j.prototype.get=function(T){var O=this.__data__,tA=me(O,T);return tA<0?void 0:O[tA][1]},j.prototype.has=function(T){return me(this.__data__,T)>-1},j.prototype.set=function(T,O){var tA=this.__data__,rA=me(tA,T);return rA<0?tA.push([T,O]):tA[rA][1]=O,this},BA.prototype.clear=function(){this.__data__={hash:new N,map:new(WA||j),string:new N}},BA.prototype.delete=function(T){return vr(this,T).delete(T)},BA.prototype.get=function(T){return vr(this,T).get(T)},BA.prototype.has=function(T){return vr(this,T).has(T)},BA.prototype.set=function(T,O){return vr(this,T).set(T,O),this},TA.prototype.add=TA.prototype.push=function(T){return this.__data__.set(T,"__lodash_hash_undefined__"),this},TA.prototype.has=function(T){return this.__data__.has(T)},vA.prototype.clear=function(){this.__data__=new j},vA.prototype.delete=function(T){return this.__data__.delete(T)},vA.prototype.get=function(T){return this.__data__.get(T)},vA.prototype.has=function(T){return this.__data__.has(T)},vA.prototype.set=function(T,O){var tA=this.__data__;if(tA instanceof j){var rA=tA.__data__;if(!WA||rA.length<199)return rA.push([T,O]),this;tA=this.__data__=new BA(rA)}return tA.set(T,O),this};var Pe,ie=(Pe=function(T,O){return T&&Ne(T,O,nt)},function(T,O){if(T==null)return T;if(!aA(T))return Pe(T,O);for(var tA=T.length,rA=-1,RA=Object(T);++rA<tA&&O(RA[rA],rA,RA)!==!1;);return T}),Ne=function(T){return function(O,tA,rA){for(var RA=-1,yA=Object(O),zA=rA(O),Re=zA.length;Re--;){var Se=zA[++RA];if(tA(yA[Se],Se,yA)===!1)break}return O}}();function Fe(T,O){for(var tA=0,rA=(O=tr(O,T)?[O]:Nr(O)).length;T!=null&&tA<rA;)T=T[nr(O[tA++])];return tA&&tA==rA?T:void 0}function ht(T,O){return T!=null&&O in Object(T)}function ve(T,O,tA,rA,RA){return T===O||(T==null||O==null||!_A(T)&&!oe(O)?T!=T&&O!=O:function(yA,zA,Re,Se,Me,ae){var Jt=y(yA),It=y(zA),st="[object Array]",gt="[object Array]";Jt||(st=(st=xn(yA))==r?a:st),It||(gt=(gt=xn(zA))==r?a:gt);var fn=st==a&&!z(yA),Wr=gt==a&&!z(zA),Ri=st==gt;if(Ri&&!fn)return ae||(ae=new vA),Jt||qA(yA)?In(yA,zA,Re,Se,Me,ae):function(ue,ge,wc,ir,vo,Pt,zn){switch(wc){case"[object DataView]":if(ue.byteLength!=ge.byteLength||ue.byteOffset!=ge.byteOffset)return!1;ue=ue.buffer,ge=ge.buffer;case"[object ArrayBuffer]":return!(ue.byteLength!=ge.byteLength||!ir(new nA(ue),new nA(ge)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Yn(+ue,+ge);case"[object Error]":return ue.name==ge.name&&ue.message==ge.message;case"[object RegExp]":case"[object String]":return ue==ge+"";case o:var Mi=AA;case s:var Hr=2&Pt;if(Mi||(Mi=v),ue.size!=ge.size&&!Hr)return!1;var as=zn.get(ue);if(as)return as==ge;Pt|=1,zn.set(ue,ge);var Gr=In(Mi(ue),Mi(ge),ir,vo,Pt,zn);return zn.delete(ue),Gr;case"[object Symbol]":if($)return $.call(ue)==$.call(ge)}return!1}(yA,zA,st,Re,Se,Me,ae);if(!(2&Me)){var pu=fn&&P.call(yA,"__wrapped__"),mu=Wr&&P.call(zA,"__wrapped__");if(pu||mu){var sh=pu?yA.value():yA,lh=mu?zA.value():zA;return ae||(ae=new vA),Re(sh,lh,Se,Me,ae)}}return Ri?(ae||(ae=new vA),function(ue,ge,wc,ir,vo,Pt){var zn=2&vo,Mi=nt(ue),Hr=Mi.length,as=nt(ge).length;if(Hr!=as&&!zn)return!1;for(var Gr=Hr;Gr--;){var wi=Mi[Gr];if(!(zn?wi in ge:P.call(ge,wi)))return!1}var ss=Pt.get(ue);if(ss&&Pt.get(ge))return ss==ge;var ls=!0;Pt.set(ue,ge),Pt.set(ge,ue);for(var Dc=zn;++Gr<Hr;){wi=Mi[Gr];var cs=ue[wi],rr=ge[wi];if(ir)var gs=zn?ir(rr,cs,wi,ge,ue,Pt):ir(cs,rr,wi,ue,ge,Pt);if(!(gs===void 0?cs===rr||wc(cs,rr,ir,vo,Pt):gs)){ls=!1;break}Dc||(Dc=wi=="constructor")}if(ls&&!Dc){var Zr=ue.constructor,Jr=ge.constructor;Zr==Jr||!("constructor"in ue)||!("constructor"in ge)||typeof Zr=="function"&&Zr instanceof Zr&&typeof Jr=="function"&&Jr instanceof Jr||(ls=!1)}return Pt.delete(ue),Pt.delete(ge),ls}(yA,zA,Re,Se,Me,ae)):!1}(T,O,ve,tA,rA,RA))}function Sn(T){return!(!_A(T)||function(O){return!!K&&K in O}(T))&&(FA(T)||z(T)?L:E).test(Pn(T))}function Gn(T){return typeof T=="function"?T:T==null?Ye:typeof T=="object"?y(T)?function(rA,RA){return tr(rA)&&tn(RA)?is(nr(rA),RA):function(yA){var zA=function(Re,Se,Me){var ae=Re==null?void 0:Fe(Re,Se);return ae===void 0?Me:ae}(yA,rA);return zA===void 0&&zA===RA?function(Re,Se){return Re!=null&&function(Me,ae,Jt){ae=tr(ae,Me)?[ae]:Nr(ae);for(var It,st=-1,gt=ae.length;++st<gt;){var fn=nr(ae[st]);if(!(It=Me!=null&&Jt(Me,fn)))break;Me=Me[fn]}return It||!!(gt=Me?Me.length:0)&&PA(gt)&&ko(fn,gt)&&(y(Me)||os(Me))}(Re,Se,ht)}(yA,rA):ve(RA,zA,void 0,3)}}(T[0],T[1]):function(rA){var RA=function(yA){for(var zA=nt(yA),Re=zA.length;Re--;){var Se=zA[Re],Me=yA[Se];zA[Re]=[Se,Me,tn(Me)]}return zA}(rA);return RA.length==1&&RA[0][2]?is(RA[0][0],RA[0][1]):function(yA){return yA===rA||function(zA,Re,Se,Me){var ae=Se.length,Jt=ae;if(zA==null)return!Jt;for(zA=Object(zA);ae--;){var It=Se[ae];if(It[2]?It[1]!==zA[It[0]]:!(It[0]in zA))return!1}for(;++ae<Jt;){var st=(It=Se[ae])[0],gt=zA[st],fn=It[1];if(It[2]){if(gt===void 0&&!(st in zA))return!1}else{var Wr=new vA,Ri;if(!(Ri===void 0?ve(fn,gt,Me,3,Wr):Ri))return!1}}return!0}(yA,rA,RA)}}(T):tr(O=T)?(tA=nr(O),function(rA){return rA==null?void 0:rA[tA]}):function(rA){return function(RA){return Fe(RA,rA)}}(O);var O,tA}function Zn(T){if(tA=(O=T)&&O.constructor,rA=typeof tA=="function"&&tA.prototype||w,O!==rA)return DA(T);var O,tA,rA,RA=[];for(var yA in Object(T))P.call(T,yA)&&yA!="constructor"&&RA.push(yA);return RA}function Nr(T){return y(T)?T:rs(T)}function In(T,O,tA,rA,RA,yA){var zA=2&RA,Re=T.length,Se=O.length;if(Re!=Se&&!(zA&&Se>Re))return!1;var Me=yA.get(T);if(Me&&yA.get(O))return Me==O;var ae=-1,Jt=!0,It=1&RA?new TA:void 0;for(yA.set(T,O),yA.set(O,T);++ae<Re;){var st=T[ae],gt=O[ae];if(rA)var fn=zA?rA(gt,st,ae,O,T,yA):rA(st,gt,ae,T,O,yA);if(fn!==void 0){if(fn)continue;Jt=!1;break}if(It){if(!m(O,function(Wr,Ri){if(!It.has(Ri)&&(st===Wr||tA(st,Wr,rA,RA,yA)))return It.add(Ri)})){Jt=!1;break}}else if(st!==gt&&!tA(st,gt,rA,RA,yA)){Jt=!1;break}}return yA.delete(T),yA.delete(O),Jt}function vr(T,O){var tA,rA,RA=T.__data__;return((rA=typeof(tA=O))=="string"||rA=="number"||rA=="symbol"||rA=="boolean"?tA!=="__proto__":tA===null)?RA[typeof O=="string"?"string":"hash"]:RA.map}function Jn(T,O){var tA=function(rA,RA){return rA==null?void 0:rA[RA]}(T,O);return Sn(tA)?tA:void 0}var xn=function(T){return x.call(T)};function ko(T,O){return!!(O=O??9007199254740991)&&(typeof T=="number"||f.test(T))&&T>-1&&T%1==0&&T<O}function tr(T,O){if(y(T))return!1;var tA=typeof T;return!(tA!="number"&&tA!="symbol"&&tA!="boolean"&&T!=null&&!KA(T))||c.test(T)||!l.test(T)||O!=null&&T in Object(O)}function tn(T){return T==T&&!_A(T)}function is(T,O){return function(tA){return tA!=null&&tA[T]===O&&(O!==void 0||T in Object(tA))}}(q&&xn(new q(new ArrayBuffer(1)))!="[object DataView]"||WA&&xn(new WA)!=o||fA&&xn(fA.resolve())!="[object Promise]"||Y&&xn(new Y)!=s||eA&&xn(new eA)!="[object WeakMap]")&&(xn=function(T){var O=x.call(T),tA=O==a?T.constructor:void 0,rA=tA?Pn(tA):void 0;if(rA)switch(rA){case pA:return"[object DataView]";case CA:return o;case UA:return"[object Promise]";case kA:return s;case jA:return"[object WeakMap]"}return O});var rs=No(function(T){var O;T=(O=T)==null?"":function(rA){if(typeof rA=="string")return rA;if(KA(rA))return lA?lA.call(rA):"";var RA=rA+"";return RA=="0"&&1/rA==-1/0?"-0":RA}(O);var tA=[];return g.test(T)&&tA.push(""),T.replace(B,function(rA,RA,yA,zA){tA.push(yA?zA.replace(u,"$1"):RA||rA)}),tA});function nr(T){if(typeof T=="string"||KA(T))return T;var O=T+"";return O=="0"&&1/T==-1/0?"-0":O}function Pn(T){if(T!=null){try{return D.call(T)}catch{}try{return T+""}catch{}}return""}function No(T,O){if(typeof T!="function"||O&&typeof O!="function")throw new TypeError("Expected a function");var tA=function(){var rA=arguments,RA=O?O.apply(this,rA):rA[0],yA=tA.cache;if(yA.has(RA))return yA.get(RA);var zA=T.apply(this,rA);return tA.cache=yA.set(RA,zA),zA};return tA.cache=new(No.Cache||BA),tA}function Yn(T,O){return T===O||T!=T&&O!=O}function os(T){return function(O){return oe(O)&&aA(O)}(T)&&P.call(T,"callee")&&(!dA.call(T,"callee")||x.call(T)==r)}No.Cache=BA;var y=Array.isArray;function aA(T){return T!=null&&PA(T.length)&&!FA(T)}function FA(T){var O=_A(T)?x.call(T):"";return O=="[object Function]"||O=="[object GeneratorFunction]"}function PA(T){return typeof T=="number"&&T>-1&&T%1==0&&T<=9007199254740991}function _A(T){var O=typeof T;return!!T&&(O=="object"||O=="function")}function oe(T){return!!T&&typeof T=="object"}function KA(T){return typeof T=="symbol"||oe(T)&&x.call(T)=="[object Symbol]"}var qA=S?function(T){return function(O){return T(O)}}(S):function(T){return oe(T)&&PA(T.length)&&!!d[x.call(T)]};function nt(T){return aA(T)?ce(T):Zn(T)}function Ye(T){return T}i.exports=function(T,O,tA){var rA=y(T)?V:k,RA=arguments.length<3;return rA(T,Gn(O),tA,RA,ie)}}).call(this,t(3),t(7)(A))},function(A,e){A.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(A,e){String.prototype.padEnd||(String.prototype.padEnd=function(t,n){return t>>=0,n=String(n!==void 0?n:" "),this.length>t?String(this):((t-=this.length)>n.length&&(n+=n.repeat(t/n.length)),String(this)+n.slice(0,t))})},function(A,e,t){function n(w,G,K){return G in w?Object.defineProperty(w,G,{value:K,enumerable:!0,configurable:!0,writable:!0}):w[G]=K,w}function i(w){if(Symbol.iterator in Object(w)||Object.prototype.toString.call(w)==="[object Arguments]")return Array.from(w)}function r(w){return function(G){if(Array.isArray(G)){for(var K=0,D=new Array(G.length);K<G.length;K++)D[K]=G[K];return D}}(w)||i(w)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(w){if(Array.isArray(w))return w}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function s(w,G){if(!(w instanceof G))throw new TypeError("Cannot call a class as a function")}function l(w,G){for(var K=0;K<G.length;K++){var D=G[K];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}function c(w){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G})(w)}function g(w){return(g=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(G){return c(G)}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":c(G)})(w)}function B(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function u(w){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)})(w)}function E(w,G){return(E=Object.setPrototypeOf||function(K,D){return K.__proto__=D,K})(w,G)}t.r(e);var f=t(0),d=t.n(f),Q=t(5),h=t.n(Q),C=t(4),F=t.n(C),U=t(6),M=t.n(U),p=t(2),S=t.n(p),V=t(1),m=t.n(V);t(8);function k(w,G){return o(w)||function(K,D){var P=[],x=!0,L=!1,iA=void 0;try{for(var nA,dA=K[Symbol.iterator]();!(x=(nA=dA.next()).done)&&(P.push(nA.value),!D||P.length!==D);x=!0);}catch(EA){L=!0,iA=EA}finally{try{x||dA.return==null||dA.return()}finally{if(L)throw iA}}return P}(w,G)||a()}var z=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],AA=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barthélemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function v(w,G,K,D,P){return!K||P?w+"".padEnd(G.length,".")+" "+D:w+"".padEnd(G.length,".")+" "+K}function H(w,G,K,D,P){var x,L,iA=[];return L=G===!0,[(x=[]).concat.apply(x,r(w.map(function(nA){var dA={name:nA[0],regions:nA[1],iso2:nA[2],countryCode:nA[3],dialCode:nA[3],format:v(K,nA[3],nA[4],D,P),priority:nA[5]||0},EA=[];return nA[6]&&nA[6].map(function(DA){var q=function(WA){for(var fA=1;fA<arguments.length;fA++){var Y=arguments[fA]!=null?arguments[fA]:{},eA=Object.keys(Y);typeof Object.getOwnPropertySymbols=="function"&&(eA=eA.concat(Object.getOwnPropertySymbols(Y).filter(function(cA){return Object.getOwnPropertyDescriptor(Y,cA).enumerable}))),eA.forEach(function(cA){n(WA,cA,Y[cA])})}return WA}({},dA);q.dialCode=nA[3]+DA,q.isAreaCode=!0,q.areaCodeLength=DA.length,EA.push(q)}),EA.length>0?(dA.mainCode=!0,L||G.constructor.name==="Array"&&G.includes(nA[2])?(dA.hasAreaCodes=!0,[dA].concat(EA)):(iA=iA.concat(EA),[dA])):[dA]}))),iA]}function X(w,G,K,D){if(K!==null){var P=Object.keys(K),x=Object.values(K);P.forEach(function(L,iA){if(D)return w.push([L,x[iA]]);var nA=w.findIndex(function(EA){return EA[0]===L});if(nA===-1){var dA=[L];dA[G]=x[iA],w.push(dA)}else w[nA][G]=x[iA]})}}function W(w,G){return G.length===0?w:w.map(function(K){var D=G.findIndex(function(x){return x[0]===K[2]});if(D===-1)return K;var P=G[D];return P[1]&&(K[4]=P[1]),P[3]&&(K[5]=P[3]),P[2]&&(K[6]=P[2]),K})}var sA=function w(G,K,D,P,x,L,iA,nA,dA,EA,DA,q,WA,fA){s(this,w),this.filterRegions=function(QA,$){if(typeof QA=="string"){var lA=QA;return $.filter(function(N){return N.regions.some(function(j){return j===lA})})}return $.filter(function(N){return QA.map(function(j){return N.regions.some(function(BA){return BA===j})}).some(function(j){return j})})},this.sortTerritories=function(QA,$){var lA=[].concat(r(QA),r($));return lA.sort(function(N,j){return N.name<j.name?-1:N.name>j.name?1:0}),lA},this.getFilteredCountryList=function(QA,$,lA){return QA.length===0?$:lA?QA.map(function(N){var j=$.find(function(BA){return BA.iso2===N});if(j)return j}).filter(function(N){return N}):$.filter(function(N){return QA.some(function(j){return j===N.iso2})})},this.localizeCountries=function(QA,$,lA){for(var N=0;N<QA.length;N++)$[QA[N].iso2]!==void 0?QA[N].localName=$[QA[N].iso2]:$[QA[N].name]!==void 0&&(QA[N].localName=$[QA[N].name]);return lA||QA.sort(function(j,BA){return j.localName<BA.localName?-1:j.localName>BA.localName?1:0}),QA},this.getCustomAreas=function(QA,$){for(var lA=[],N=0;N<$.length;N++){var j=JSON.parse(JSON.stringify(QA));j.dialCode+=$[N],lA.push(j)}return lA},this.excludeCountries=function(QA,$){return $.length===0?QA:QA.filter(function(lA){return!$.includes(lA.iso2)})};var Y=function(QA,$,lA){var N=[];return X(N,1,QA,!0),X(N,3,$),X(N,2,lA),N}(nA,dA,EA),eA=W(JSON.parse(JSON.stringify(z)),Y),cA=W(JSON.parse(JSON.stringify(AA)),Y),pA=k(H(eA,G,q,WA,fA),2),CA=pA[0],UA=pA[1];if(K){var kA=k(H(cA,G,q,WA,fA),2),jA=kA[0];kA[1],CA=this.sortTerritories(jA,CA)}D&&(CA=this.filterRegions(D,CA)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(P,CA,iA.includes("onlyCountries")),L),DA,iA.includes("onlyCountries")),this.preferredCountries=x.length===0?[]:this.localizeCountries(this.getFilteredCountryList(x,CA,iA.includes("preferredCountries")),DA,iA.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(P,UA),L)},oA=function(w){function G(P){var x;s(this,G),(x=function(Y,eA){return!eA||g(eA)!=="object"&&typeof eA!="function"?B(Y):eA}(this,u(G).call(this,P))).getProbableCandidate=F()(function(Y){return Y&&Y.length!==0?x.state.onlyCountries.filter(function(eA){return S()(eA.name.toLowerCase(),Y.toLowerCase())},B(B(x)))[0]:null}),x.guessSelectedCountry=F()(function(Y,eA,cA,pA){var CA;if(x.props.enableAreaCodes===!1&&(pA.some(function(jA){if(S()(Y,jA.dialCode))return cA.some(function(QA){if(jA.iso2===QA.iso2&&QA.mainCode)return CA=QA,!0}),!0}),CA))return CA;var UA=cA.find(function(jA){return jA.iso2==eA});if(Y.trim()==="")return UA;var kA=cA.reduce(function(jA,QA){return S()(Y,QA.dialCode)&&(QA.dialCode.length>jA.dialCode.length||QA.dialCode.length===jA.dialCode.length&&QA.priority<jA.priority)?QA:jA},{dialCode:"",priority:10001},B(B(x)));return kA.name?kA:UA}),x.updateCountry=function(Y){var eA,cA=x.state.onlyCountries;(eA=Y.indexOf(0)>="0"&&Y.indexOf(0)<="9"?cA.find(function(pA){return pA.dialCode==+Y}):cA.find(function(pA){return pA.iso2==Y}))&&eA.dialCode&&x.setState({selectedCountry:eA,formattedNumber:x.props.disableCountryCode?"":x.formatNumber(eA.dialCode,eA)})},x.scrollTo=function(Y,eA){if(Y){var cA=x.dropdownRef;if(cA&&document.body){var pA=cA.offsetHeight,CA=cA.getBoundingClientRect().top+document.body.scrollTop,UA=CA+pA,kA=Y,jA=kA.getBoundingClientRect(),QA=kA.offsetHeight,$=jA.top+document.body.scrollTop,lA=$+QA,N=$-CA+cA.scrollTop,j=pA/2-QA/2;if(x.props.enableSearch?$<CA+32:$<CA)eA&&(N-=j),cA.scrollTop=N;else if(lA>UA){eA&&(N+=j);var BA=pA-QA;cA.scrollTop=N-BA}}}},x.scrollToTop=function(){var Y=x.dropdownRef;Y&&document.body&&(Y.scrollTop=0)},x.formatNumber=function(Y,eA){if(!eA)return Y;var cA,pA=eA.format,CA=x.props,UA=CA.disableCountryCode,kA=CA.enableAreaCodeStretch,jA=CA.enableLongNumbers,QA=CA.autoFormat;if(UA?((cA=pA.split(" ")).shift(),cA=cA.join(" ")):kA&&eA.isAreaCode?((cA=pA.split(" "))[1]=cA[1].replace(/\.+/,"".padEnd(eA.areaCodeLength,".")),cA=cA.join(" ")):cA=pA,!Y||Y.length===0)return UA?"":x.props.prefix;if(Y&&Y.length<2||!cA||!QA)return UA?Y:x.props.prefix+Y;var $,lA=M()(cA,function(N,j){if(N.remainingText.length===0)return N;if(j!==".")return{formattedText:N.formattedText+j,remainingText:N.remainingText};var BA,TA=o(BA=N.remainingText)||i(BA)||a(),vA=TA[0],ce=TA.slice(1);return{formattedText:N.formattedText+vA,remainingText:ce}},{formattedText:"",remainingText:Y.split("")});return($=jA?lA.formattedText+lA.remainingText.join(""):lA.formattedText).includes("(")&&!$.includes(")")&&($+=")"),$},x.cursorToEnd=function(){var Y=x.numberInputRef;if(document.activeElement===Y){Y.focus();var eA=Y.value.length;Y.value.charAt(eA-1)===")"&&(eA-=1),Y.setSelectionRange(eA,eA)}},x.getElement=function(Y){return x["flag_no_".concat(Y)]},x.getCountryData=function(){return x.state.selectedCountry?{name:x.state.selectedCountry.name||"",dialCode:x.state.selectedCountry.dialCode||"",countryCode:x.state.selectedCountry.iso2||"",format:x.state.selectedCountry.format||""}:{}},x.handleFlagDropdownClick=function(Y){if(Y.preventDefault(),x.state.showDropdown||!x.props.disabled){var eA=x.state,cA=eA.preferredCountries,pA=eA.onlyCountries,CA=eA.selectedCountry,UA=x.concatPreferredCountries(cA,pA).findIndex(function(kA){return kA.dialCode===CA.dialCode&&kA.iso2===CA.iso2});x.setState({showDropdown:!x.state.showDropdown,highlightCountryIndex:UA},function(){x.state.showDropdown&&x.scrollTo(x.getElement(x.state.highlightCountryIndex))})}},x.handleInput=function(Y){var eA=Y.target.value,cA=x.props,pA=cA.prefix,CA=cA.onChange,UA=x.props.disableCountryCode?"":pA,kA=x.state.selectedCountry,jA=x.state.freezeSelection;if(!x.props.countryCodeEditable){var QA=pA+(kA.hasAreaCodes?x.state.onlyCountries.find(function(ie){return ie.iso2===kA.iso2&&ie.mainCode}).dialCode:kA.dialCode);if(eA.slice(0,QA.length)!==QA)return}if(eA===pA)return CA&&CA("",x.getCountryData(),Y,""),x.setState({formattedNumber:""});if(!(eA.replace(/\D/g,"").length>15&&(x.props.enableLongNumbers===!1||typeof x.props.enableLongNumbers=="number"&&eA.replace(/\D/g,"").length>x.props.enableLongNumbers))&&eA!==x.state.formattedNumber){Y.preventDefault?Y.preventDefault():Y.returnValue=!1;var $=x.props.country,lA=x.state,N=lA.onlyCountries,j=lA.selectedCountry,BA=lA.hiddenAreaCodes;if(CA&&Y.persist(),eA.length>0){var TA=eA.replace(/\D/g,"");(!x.state.freezeSelection||j&&j.dialCode.length>TA.length)&&(kA=x.props.disableCountryGuess?j:x.guessSelectedCountry(TA.substring(0,6),$,N,BA)||j,jA=!1),UA=x.formatNumber(TA,kA),kA=kA.dialCode?kA:j}var vA=Y.target.selectionStart,ce=Y.target.selectionStart,me=x.state.formattedNumber,Pe=UA.length-me.length;x.setState({formattedNumber:UA,freezeSelection:jA,selectedCountry:kA},function(){Pe>0&&(ce-=Pe),UA.charAt(UA.length-1)==")"?x.numberInputRef.setSelectionRange(UA.length-1,UA.length-1):ce>0&&me.length>=UA.length?x.numberInputRef.setSelectionRange(ce,ce):vA<me.length&&x.numberInputRef.setSelectionRange(vA,vA),CA&&CA(UA.replace(/[^0-9]+/g,""),x.getCountryData(),Y,UA)})}},x.handleInputClick=function(Y){x.setState({showDropdown:!1}),x.props.onClick&&x.props.onClick(Y,x.getCountryData())},x.handleDoubleClick=function(Y){var eA=Y.target.value.length;Y.target.setSelectionRange(0,eA)},x.handleFlagItemClick=function(Y,eA){var cA=x.state.selectedCountry,pA=x.state.onlyCountries.find(function(jA){return jA==Y});if(pA){var CA=x.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),UA=CA.length>1?CA.replace(cA.dialCode,pA.dialCode):pA.dialCode,kA=x.formatNumber(UA.replace(/\D/g,""),pA);x.setState({showDropdown:!1,selectedCountry:pA,freezeSelection:!0,formattedNumber:kA,searchValue:""},function(){x.cursorToEnd(),x.props.onChange&&x.props.onChange(kA.replace(/[^0-9]+/g,""),x.getCountryData(),eA,kA)})}},x.handleInputFocus=function(Y){x.numberInputRef&&x.numberInputRef.value===x.props.prefix&&x.state.selectedCountry&&!x.props.disableCountryCode&&x.setState({formattedNumber:x.props.prefix+x.state.selectedCountry.dialCode},function(){x.props.jumpCursorToEnd&&setTimeout(x.cursorToEnd,0)}),x.setState({placeholder:""}),x.props.onFocus&&x.props.onFocus(Y,x.getCountryData()),x.props.jumpCursorToEnd&&setTimeout(x.cursorToEnd,0)},x.handleInputBlur=function(Y){Y.target.value||x.setState({placeholder:x.props.placeholder}),x.props.onBlur&&x.props.onBlur(Y,x.getCountryData())},x.handleInputCopy=function(Y){if(x.props.copyNumbersOnly){var eA=window.getSelection().toString().replace(/[^0-9]+/g,"");Y.clipboardData.setData("text/plain",eA),Y.preventDefault()}},x.getHighlightCountryIndex=function(Y){var eA=x.state.highlightCountryIndex+Y;return eA<0||eA>=x.state.onlyCountries.length+x.state.preferredCountries.length?eA-Y:x.props.enableSearch&&eA>x.getSearchFilteredCountries().length?0:eA},x.searchCountry=function(){var Y=x.getProbableCandidate(x.state.queryString)||x.state.onlyCountries[0],eA=x.state.onlyCountries.findIndex(function(cA){return cA==Y})+x.state.preferredCountries.length;x.scrollTo(x.getElement(eA),!0),x.setState({queryString:"",highlightCountryIndex:eA})},x.handleKeydown=function(Y){var eA=x.props.keys,cA=Y.target.className;if(cA.includes("selected-flag")&&Y.which===eA.ENTER&&!x.state.showDropdown)return x.handleFlagDropdownClick(Y);if(cA.includes("form-control")&&(Y.which===eA.ENTER||Y.which===eA.ESC))return Y.target.blur();if(x.state.showDropdown&&!x.props.disabled&&(!cA.includes("search-box")||Y.which===eA.UP||Y.which===eA.DOWN||Y.which===eA.ENTER||Y.which===eA.ESC&&Y.target.value==="")){Y.preventDefault?Y.preventDefault():Y.returnValue=!1;var pA=function(CA){x.setState({highlightCountryIndex:x.getHighlightCountryIndex(CA)},function(){x.scrollTo(x.getElement(x.state.highlightCountryIndex),!0)})};switch(Y.which){case eA.DOWN:pA(1);break;case eA.UP:pA(-1);break;case eA.ENTER:x.props.enableSearch?x.handleFlagItemClick(x.getSearchFilteredCountries()[x.state.highlightCountryIndex]||x.getSearchFilteredCountries()[0],Y):x.handleFlagItemClick([].concat(r(x.state.preferredCountries),r(x.state.onlyCountries))[x.state.highlightCountryIndex],Y);break;case eA.ESC:case eA.TAB:x.setState({showDropdown:!1},x.cursorToEnd);break;default:(Y.which>=eA.A&&Y.which<=eA.Z||Y.which===eA.SPACE)&&x.setState({queryString:x.state.queryString+String.fromCharCode(Y.which)},x.state.debouncedQueryStingSearcher)}}},x.handleInputKeyDown=function(Y){var eA=x.props,cA=eA.keys,pA=eA.onEnterKeyPress,CA=eA.onKeyDown;Y.which===cA.ENTER&&pA&&pA(Y),CA&&CA(Y)},x.handleClickOutside=function(Y){x.dropdownRef&&!x.dropdownContainerRef.contains(Y.target)&&x.state.showDropdown&&x.setState({showDropdown:!1})},x.handleSearchChange=function(Y){var eA=Y.currentTarget.value,cA=x.state,pA=cA.preferredCountries,CA=cA.selectedCountry,UA=0;if(eA===""&&CA){var kA=x.state.onlyCountries;UA=x.concatPreferredCountries(pA,kA).findIndex(function(jA){return jA==CA}),setTimeout(function(){return x.scrollTo(x.getElement(UA))},100)}x.setState({searchValue:eA,highlightCountryIndex:UA})},x.concatPreferredCountries=function(Y,eA){return Y.length>0?r(new Set(Y.concat(eA))):eA},x.getDropdownCountryName=function(Y){return Y.localName||Y.name},x.getSearchFilteredCountries=function(){var Y=x.state,eA=Y.preferredCountries,cA=Y.onlyCountries,pA=Y.searchValue,CA=x.props.enableSearch,UA=x.concatPreferredCountries(eA,cA),kA=pA.trim().toLowerCase().replace("+","");if(CA&&kA){if(/^\d+$/.test(kA))return UA.filter(function($){var lA=$.dialCode;return["".concat(lA)].some(function(N){return N.toLowerCase().includes(kA)})});var jA=UA.filter(function($){var lA=$.iso2;return["".concat(lA)].some(function(N){return N.toLowerCase().includes(kA)})}),QA=UA.filter(function($){var lA=$.name,N=$.localName;return $.iso2,["".concat(lA),"".concat(N||"")].some(function(j){return j.toLowerCase().includes(kA)})});return x.scrollToTop(),r(new Set([].concat(jA,QA)))}return UA},x.getCountryDropdownList=function(){var Y=x.state,eA=Y.preferredCountries,cA=Y.highlightCountryIndex,pA=Y.showDropdown,CA=Y.searchValue,UA=x.props,kA=UA.disableDropdown,jA=UA.prefix,QA=x.props,$=QA.enableSearch,lA=QA.searchNotFound,N=QA.disableSearchIcon,j=QA.searchClass,BA=QA.searchStyle,TA=QA.searchPlaceholder,vA=QA.autocompleteSearch,ce=x.getSearchFilteredCountries().map(function(ie,Ne){var Fe=cA===Ne,ht=m()({country:!0,preferred:ie.iso2==="us"||ie.iso2==="gb",active:ie.iso2==="us",highlight:Fe}),ve="flag ".concat(ie.iso2);return d.a.createElement("li",Object.assign({ref:function(Sn){return x["flag_no_".concat(Ne)]=Sn},key:"flag_no_".concat(Ne),"data-flag-key":"flag_no_".concat(Ne),className:ht,"data-dial-code":"1",tabIndex:kA?"-1":"0","data-country-code":ie.iso2,onClick:function(Sn){return x.handleFlagItemClick(ie,Sn)},role:"option"},Fe?{"aria-selected":!0}:{}),d.a.createElement("div",{className:ve}),d.a.createElement("span",{className:"country-name"},x.getDropdownCountryName(ie)),d.a.createElement("span",{className:"dial-code"},ie.format?x.formatNumber(ie.dialCode,ie):jA+ie.dialCode))}),me=d.a.createElement("li",{key:"dashes",className:"divider"});eA.length>0&&(!$||$&&!CA.trim())&&ce.splice(eA.length,0,me);var Pe=m()(n({"country-list":!0,hide:!pA},x.props.dropdownClass,!0));return d.a.createElement("ul",{ref:function(ie){return!$&&ie&&ie.focus(),x.dropdownRef=ie},className:Pe,style:x.props.dropdownStyle,role:"listbox",tabIndex:"0"},$&&d.a.createElement("li",{className:m()(n({search:!0},j,j))},!N&&d.a.createElement("span",{className:m()(n({"search-emoji":!0},"".concat(j,"-emoji"),j)),role:"img","aria-label":"Magnifying glass"},"🔎"),d.a.createElement("input",{className:m()(n({"search-box":!0},"".concat(j,"-box"),j)),style:BA,type:"search",placeholder:TA,autoFocus:!0,autoComplete:vA?"on":"off",value:CA,onChange:x.handleSearchChange})),ce.length>0?ce:d.a.createElement("li",{className:"no-entries-message"},d.a.createElement("span",null,lA)))};var L,iA=new sA(P.enableAreaCodes,P.enableTerritories,P.regions,P.onlyCountries,P.preferredCountries,P.excludeCountries,P.preserveOrder,P.masks,P.priority,P.areaCodes,P.localization,P.prefix,P.defaultMask,P.alwaysDefaultMask),nA=iA.onlyCountries,dA=iA.preferredCountries,EA=iA.hiddenAreaCodes,DA=P.value?P.value.replace(/\D/g,""):"";L=P.disableInitialCountryGuess?0:DA.length>1?x.guessSelectedCountry(DA.substring(0,6),P.country,nA,EA)||0:P.country&&nA.find(function(Y){return Y.iso2==P.country})||0;var q,WA=DA.length<2&&L&&!S()(DA,L.dialCode)?L.dialCode:"";q=DA===""&&L===0?"":x.formatNumber((P.disableCountryCode?"":WA)+DA,L.name?L:void 0);var fA=nA.findIndex(function(Y){return Y==L});return x.state={showDropdown:P.showDropdown,formattedNumber:q,onlyCountries:nA,preferredCountries:dA,hiddenAreaCodes:EA,selectedCountry:L,highlightCountryIndex:fA,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:h()(x.searchCountry,250),searchValue:""},x}var K,D;return function(P,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(x&&x.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),x&&E(P,x)}(G,w),K=G,(D=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(P,x,L){P.country!==this.props.country?this.updateCountry(this.props.country):P.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(P){if(P===null)return this.setState({selectedCountry:0,formattedNumber:""});var x=this.state,L=x.onlyCountries,iA=x.selectedCountry,nA=x.hiddenAreaCodes,dA=this.props,EA=dA.country,DA=dA.prefix;if(P==="")return this.setState({selectedCountry:iA,formattedNumber:""});var q,WA,fA=P.replace(/\D/g,"");if(iA&&S()(P,DA+iA.dialCode))WA=this.formatNumber(fA,iA),this.setState({formattedNumber:WA});else{var Y=(q=this.props.disableCountryGuess?iA:this.guessSelectedCountry(fA.substring(0,6),EA,L,nA)||iA)&&S()(fA,DA+q.dialCode)?q.dialCode:"";WA=this.formatNumber((this.props.disableCountryCode?"":Y)+fA,q||void 0),this.setState({selectedCountry:q,formattedNumber:WA})}}},{key:"render",value:function(){var P,x,L,iA=this,nA=this.state,dA=nA.onlyCountries,EA=nA.selectedCountry,DA=nA.showDropdown,q=nA.formattedNumber,WA=nA.hiddenAreaCodes,fA=this.props,Y=fA.disableDropdown,eA=fA.renderStringAsFlag,cA=fA.isValid,pA=fA.defaultErrorMessage,CA=fA.specialLabel;if(typeof cA=="boolean")x=cA;else{var UA=cA(q.replace(/\D/g,""),EA,dA,WA);typeof UA=="boolean"?(x=UA)===!1&&(L=pA):(x=!1,L=UA)}var kA=m()((n(P={},this.props.containerClass,!0),n(P,"react-tel-input",!0),P)),jA=m()({arrow:!0,up:DA}),QA=m()(n({"form-control":!0,"invalid-number":!x,open:DA},this.props.inputClass,!0)),$=m()({"selected-flag":!0,open:DA}),lA=m()(n({"flag-dropdown":!0,"invalid-number":!x,open:DA},this.props.buttonClass,!0)),N="flag ".concat(EA&&EA.iso2);return d.a.createElement("div",{className:"".concat(kA," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},CA&&d.a.createElement("div",{className:"special-label"},CA),L&&d.a.createElement("div",{className:"invalid-number-message"},L),d.a.createElement("input",Object.assign({className:QA,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:q,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(j){iA.numberInputRef=j,typeof iA.props.inputProps.ref=="function"?iA.props.inputProps.ref(j):typeof iA.props.inputProps.ref=="object"&&(iA.props.inputProps.ref.current=j)}})),d.a.createElement("div",{className:lA,style:this.props.buttonStyle,ref:function(j){return iA.dropdownContainerRef=j}},eA?d.a.createElement("div",{className:$},eA):d.a.createElement("div",{onClick:Y?void 0:this.handleFlagDropdownClick,className:$,title:EA?"".concat(EA.localName||EA.name,": + ").concat(EA.dialCode):"",tabIndex:Y?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!DA||void 0},d.a.createElement("div",{className:N},!Y&&d.a.createElement("div",{className:jA}))),DA&&this.getCountryDropdownList()))}}])&&l(K.prototype,D),G}(d.a.Component);oA.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},e.default=oA}]);const ej=Ho(Aj),tj=({label:A,value:e="",onChange:t=o=>{console.log(o)},placeholder:n="Introduce tu número de teléfono",isRequired:i=!1,error:r=""})=>I.jsxs(al,{isRequired:i,children:[A&&I.jsx(Fa,{fontSize:"16px",children:A}),I.jsx(ej,{country:"es",regions:"europe",dropdownClass:"custom-dropdown",value:e,onChange:t,inputStyle:{width:"100%",borderRadius:"5px",height:"40px",border:r?"1px solid red":"1px solid #ccc"},dropdownStyle:{borderRadius:"5px"},placeholder:n}),r&&I.jsx(VA,{fontSize:"sm",color:"red.500",mt:1,children:r})]}),nj=({label:A="",description:e="",placeholders:t=[],values:n=[],onChange:i,dropdown:r=!1,info:o=!1,infoText:a="",product:s="info",isRequired:l=!1,isDisabled:c=!1,isReadOnly:g=!1})=>{const[B,u]=R.useState(!0),E=$e[s],f=E[200],d=E[300],Q=(h,C)=>{i&&i(h,C)};return I.jsx(bA,{children:I.jsxs(al,{isRequired:l,children:[I.jsxs(Fa,{fontSize:"16px",children:[r&&I.jsx(ot,{"aria-label":"Toggle Description",icon:B?I.jsx(qg,{}):I.jsx(sf,{}),size:"sm",variant:"ghost",onClick:()=>u(!B),_hover:{bg:"transparent"}}),A,o&&a&&I.jsx(Kg,{label:a,"aria-label":"Más información",p:"10px",borderRadius:"5px",bg:f,border:`1px solid ${d}`,color:"black.500",placement:"top",hasArrow:!0,children:I.jsx(ot,{icon:I.jsx(lf,{}),"aria-label":"Información",size:"sm",variant:"ghost",ml:2,color:"info.600"})})]}),r&&B&&e&&I.jsxs(I.Fragment,{children:[I.jsx(VA,{fontSize:"14px",color:"gray.500",mb:"10px",textAlign:"start",children:e}),I.jsx(OA,{wrap:"wrap",mb:2,gap:4,children:t.map((h,C)=>I.jsx(bA,{flexBasis:{base:"100%",sm:"49%"},children:I.jsx(Ra,{placeholder:h,value:n[C]||"",onChange:F=>Q(C,F.target.value),bg:"white",isDisabled:c,isReadOnly:g})},C))})]})]})})},gD=({type:A,title:e,description:t,customContent:n,onClose:i})=>{const r={success:wz,error:yw,info:Dz,warning:yw},s={...{backgroundColor:"#EFEFEF",fontSize:"16px",padding:"16px 32px 16px 16px",borderRadius:"8px",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)",display:"flex",flexDirection:"column",maxWidth:"400px",margin:"10px auto",position:"relative",textAlign:"left"},...{success:{backgroundColor:"#C6F6D5"},error:{backgroundColor:"#FED7D7"},info:{backgroundColor:"#BEE3F8"},warning:{backgroundColor:"#FEEBCB"},custom:{backgroundColor:"#FFFFFF",border:"1px solid #ccc",padding:"24px 12px 12px",borderRadius:"12px",maxWidth:"350px"}}[A]},l={marginRight:"16px",flexShrink:0},c={fontWeight:"bold"},g={position:"absolute",top:"12px",right:"12px",backgroundColor:"transparent",border:"none",color:"inherit",cursor:"pointer"};return A==="custom"?I.jsx("div",{style:s,children:I.jsxs(OA,{direction:"row",align:"center",flex:"1",children:[n&&I.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"8px"},children:n}),i&&I.jsx(ze,{style:g,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:I.jsx(ya,{boxSize:4})})]})}):I.jsx("div",{style:s,children:I.jsxs(OA,{direction:"row",align:"center",flex:"1",children:[I.jsx(wt,{as:r[A],style:l,boxSize:6}),I.jsxs(OA,{direction:"column",flex:"1",ml:3,children:[I.jsx(VA,{style:c,children:e}),t&&I.jsx(VA,{mt:1,children:t})]}),i&&I.jsx(ze,{style:g,size:"sm",position:"absolute",onClick:i,variant:"link","aria-label":"Close Toast",children:I.jsx(ya,{boxSize:4})})]})})},hf=()=>{const A=xw();return({type:e,title:t,description:n,duration:i=3e3,customContent:r,position:o="bottom-right"})=>{A({position:o,duration:i,render:({onClose:a})=>I.jsx(gD,{type:e,title:t,description:n,onClose:a,customContent:r})})}},ij=({message:A,userImage:e,timestamp:t,isError:n=!1,userName:i="User",type:r="text",src:o="",alt:a=""})=>I.jsxs(_t,{justify:"flex-end",spacing:2,w:"100%",py:2,alignItems:"start",children:[I.jsxs(bA,{bg:r!=="text"?"transparent":"white.100",color:"black",borderRadius:"30px",border:n?"2px solid":"none",borderColor:n?"red.400":"transparent",px:5,py:3,maxW:"65%",boxShadow:"sm",wordBreak:"break-word",alignItems:"flex-start",children:[r==="image"?I.jsx(bA,{maxWidth:"24.3125rem",height:"13.4375rem",children:I.jsx("img",{src:o,alt:a,style:{width:"100%",objectFit:"contain",height:"100%"}})}):I.jsx(VA,{textAlign:"right",fontSize:"md",whiteSpace:"normal",children:A}),t&&I.jsx(VA,{fontSize:"xs",color:"gray.500",textAlign:"right",mt:1,children:t})]}),I.jsx(uM,{src:e,name:i,size:"sm",mt:"10px",ml:"10px"})]}),rj=({width:A=24,height:e=24,color:t="#666666"})=>I.jsxs("svg",{width:A,height:e,viewBox:"0 0 22 24",fill:t,xmlns:"http://www.w3.org/2000/svg",children:[I.jsx("path",{d:"M10.7626 3.15604C11.6262 3.31919 12.4588 2.75379 12.6248 1.89021C12.7879 1.02664 12.2225 0.194002 11.359 0.0280381C10.4954 -0.135113 9.66275 0.43029 9.49679 1.29387C9.33364 2.15744 9.89904 2.99007 10.7626 3.15604Z",fill:t}),I.jsx("path",{d:"M11.9891 7.96331C15.373 8.40776 17.9947 11.3107 17.9947 14.8157C17.9947 18.6272 14.8948 21.7271 11.0805 21.7271C7.26612 21.7271 4.16625 18.6272 4.16625 14.8157C4.16625 11.3473 6.73447 8.46683 10.0706 7.97738V5.69045C6.31815 6.10114 3.24078 8.78188 2.24219 12.3262C2.58537 12.4753 2.88917 12.7594 3.12827 13.1588C3.46301 13.7158 3.65429 14.4584 3.66554 15.2517C3.68523 16.5597 3.22953 17.6511 2.52911 18.1603C3.86807 21.5752 7.19579 23.9999 11.0805 23.9999C14.9652 23.9999 18.2282 21.6202 19.5925 18.2587C19.3196 18.0956 19.0721 17.848 18.8724 17.5133C18.5376 16.9563 18.3463 16.2137 18.3351 15.4204C18.3238 14.6272 18.4926 13.8705 18.8133 13.2854C19.0946 12.7735 19.4743 12.4275 19.9075 12.2812C18.8836 8.72844 15.7697 6.05332 11.9891 5.6792V7.96613V7.96331Z",fill:t}),I.jsx("path",{d:"M2.32675 13.4795C2.24236 13.3389 2.14953 13.2207 2.05389 13.1279C1.89918 12.976 1.73603 12.8944 1.59257 12.9001C1.58132 12.9001 1.57288 12.9001 1.56163 12.9001C1.33659 12.9282 1.07499 13.1673 0.875267 13.5358C0.605224 14.0337 0.464576 14.6863 0.473015 15.3811C0.484267 16.0759 0.644605 16.7172 0.9259 17.187C1.14812 17.5527 1.42942 17.7749 1.66008 17.7665C1.84573 17.758 2.05952 17.6033 2.24799 17.3304C2.54616 16.9057 2.79089 16.194 2.77682 15.2854C2.76557 14.5906 2.60523 13.9493 2.32394 13.4795H2.32675Z",fill:t}),I.jsx("path",{d:"M21.0748 13.4795C20.8526 13.1138 20.5713 12.8916 20.3406 12.9C20.3294 12.9 20.3209 12.9 20.3097 12.9C20.2365 12.9085 20.1578 12.9422 20.0818 12.9957C19.9215 13.1025 19.7583 13.291 19.6233 13.5386C19.3533 14.0308 19.2126 14.6834 19.2211 15.3782C19.2323 16.073 19.3927 16.7144 19.6739 17.1841C19.7358 17.2882 19.8033 17.3782 19.8737 17.457C20.0509 17.6567 20.2422 17.772 20.4081 17.7636C20.8835 17.7383 21.5474 16.7678 21.5277 15.2826C21.5164 14.5878 21.3561 13.9464 21.0748 13.4767V13.4795Z",fill:t}),I.jsx("path",{d:"M7.68316 12.3741C7.02774 12.346 6.49609 13.294 6.49609 14.4923C6.49609 15.6906 7.02774 16.6864 7.68597 16.7145C8.3442 16.7427 8.87304 15.7947 8.87304 14.5964C8.87304 13.3981 8.34139 12.4023 7.68316 12.3741ZM8.09385 16.3882C7.80693 16.6555 7.39061 16.5739 7.16276 16.2082C6.93491 15.8425 6.97992 15.3277 7.26684 15.0605C7.55376 14.7933 7.97008 14.8749 8.19793 15.2405C8.42578 15.6062 8.38077 16.121 8.09385 16.3882Z",fill:t}),I.jsx("path",{d:"M13.6179 12.2306C12.9624 12.2025 12.4308 13.1504 12.4336 14.3487C12.4336 15.5471 12.9681 16.54 13.6235 16.5682C14.2789 16.5963 14.8105 15.6483 14.8077 14.45C14.8077 13.2517 14.2733 12.2587 13.6179 12.2306ZM14.006 16.2981C13.7163 16.5597 13.3 16.4753 13.0778 16.104C12.8555 15.7355 12.909 15.2208 13.1987 14.9592C13.4885 14.6975 13.9048 14.7819 14.127 15.1532C14.3492 15.5246 14.2958 16.0365 14.006 16.2981Z",fill:t}),I.jsx("path",{d:"M11.3514 7.90999V3.94373H10.7129V7.91561C10.8367 7.90998 10.9604 7.90436 11.0842 7.90436C11.1742 7.90436 11.2642 7.90717 11.3514 7.90999Z",fill:t})]});function uBA(){}function EBA(){}function oj(A,e){const t={};return(A[A.length-1]===""?[...A,""]:A).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const aj=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lj={};function BD(A,e){return(lj.jsx?sj:aj).test(A)}const cj=/[ \t\n\f\r]/g;function gj(A){return typeof A=="object"?A.type==="text"?uD(A.value):!1:uD(A)}function uD(A){return A.replace(cj,"")===""}class Sl{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}Sl.prototype.normal={},Sl.prototype.property={},Sl.prototype.space=void 0;function ED(A,e){const t={},n={};for(const i of A)Object.assign(t,i.property),Object.assign(n,i.normal);return new Sl(t,n,e)}function Cf(A){return A.toLowerCase()}class Kt{constructor(e,t){this.attribute=t,this.property=e}}Kt.prototype.attribute="",Kt.prototype.booleanish=!1,Kt.prototype.boolean=!1,Kt.prototype.commaOrSpaceSeparated=!1,Kt.prototype.commaSeparated=!1,Kt.prototype.defined=!1,Kt.prototype.mustUseProperty=!1,Kt.prototype.number=!1,Kt.prototype.overloadedBoolean=!1,Kt.prototype.property="",Kt.prototype.spaceSeparated=!1,Kt.prototype.space=void 0;let Bj=0;const XA=Io(),ct=Io(),ID=Io(),uA=Io(),Ve=Io(),Na=Io(),ln=Io();function Io(){return 2**++Bj}const Uf=Object.freeze(Object.defineProperty({__proto__:null,boolean:XA,booleanish:ct,commaOrSpaceSeparated:ln,commaSeparated:Na,number:uA,overloadedBoolean:ID,spaceSeparated:Ve},Symbol.toStringTag,{value:"Module"})),Ff=Object.keys(Uf);class Rf extends Kt{constructor(e,t,n,i){let r=-1;if(super(e,t),fD(this,"space",i),typeof n=="number")for(;++r<Ff.length;){const o=Ff[r];fD(this,Ff[r],(n&Uf[o])===Uf[o])}}}Rf.prototype.defined=!0;function fD(A,e,t){t&&(A[e]=t)}function va(A){const e={},t={};for(const[n,i]of Object.entries(A.properties)){const r=new Rf(n,A.transform(A.attributes||{},n),i,A.space);A.mustUseProperty&&A.mustUseProperty.includes(n)&&(r.mustUseProperty=!0),e[n]=r,t[Cf(n)]=n,t[Cf(r.attribute)]=n}return new Sl(e,t,A.space)}const dD=va({properties:{ariaActiveDescendant:null,ariaAtomic:ct,ariaAutoComplete:null,ariaBusy:ct,ariaChecked:ct,ariaColCount:uA,ariaColIndex:uA,ariaColSpan:uA,ariaControls:Ve,ariaCurrent:null,ariaDescribedBy:Ve,ariaDetails:null,ariaDisabled:ct,ariaDropEffect:Ve,ariaErrorMessage:null,ariaExpanded:ct,ariaFlowTo:Ve,ariaGrabbed:ct,ariaHasPopup:null,ariaHidden:ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ve,ariaLevel:uA,ariaLive:null,ariaModal:ct,ariaMultiLine:ct,ariaMultiSelectable:ct,ariaOrientation:null,ariaOwns:Ve,ariaPlaceholder:null,ariaPosInSet:uA,ariaPressed:ct,ariaReadOnly:ct,ariaRelevant:null,ariaRequired:ct,ariaRoleDescription:Ve,ariaRowCount:uA,ariaRowIndex:uA,ariaRowSpan:uA,ariaSelected:ct,ariaSetSize:uA,ariaSort:null,ariaValueMax:uA,ariaValueMin:uA,ariaValueNow:uA,ariaValueText:null,role:null},transform(A,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function QD(A,e){return e in A?A[e]:e}function hD(A,e){return QD(A,e.toLowerCase())}const uj=va({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Na,acceptCharset:Ve,accessKey:Ve,action:null,allow:null,allowFullScreen:XA,allowPaymentRequest:XA,allowUserMedia:XA,alt:null,as:null,async:XA,autoCapitalize:null,autoComplete:Ve,autoFocus:XA,autoPlay:XA,blocking:Ve,capture:null,charSet:null,checked:XA,cite:null,className:Ve,cols:uA,colSpan:null,content:null,contentEditable:ct,controls:XA,controlsList:Ve,coords:uA|Na,crossOrigin:null,data:null,dateTime:null,decoding:null,default:XA,defer:XA,dir:null,dirName:null,disabled:XA,download:ID,draggable:ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:XA,formTarget:null,headers:Ve,height:uA,hidden:XA,high:uA,href:null,hrefLang:null,htmlFor:Ve,httpEquiv:Ve,id:null,imageSizes:null,imageSrcSet:null,inert:XA,inputMode:null,integrity:null,is:null,isMap:XA,itemId:null,itemProp:Ve,itemRef:Ve,itemScope:XA,itemType:Ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:XA,low:uA,manifest:null,max:null,maxLength:uA,media:null,method:null,min:null,minLength:uA,multiple:XA,muted:XA,name:null,nonce:null,noModule:XA,noValidate:XA,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:XA,optimum:uA,pattern:null,ping:Ve,placeholder:null,playsInline:XA,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:XA,referrerPolicy:null,rel:Ve,required:XA,reversed:XA,rows:uA,rowSpan:uA,sandbox:Ve,scope:null,scoped:XA,seamless:XA,selected:XA,shadowRootClonable:XA,shadowRootDelegatesFocus:XA,shadowRootMode:null,shape:null,size:uA,sizes:null,slot:null,span:uA,spellCheck:ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:uA,step:null,style:null,tabIndex:uA,target:null,title:null,translate:null,type:null,typeMustMatch:XA,useMap:null,value:ct,width:uA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ve,axis:null,background:null,bgColor:null,border:uA,borderColor:null,bottomMargin:uA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:XA,declare:XA,event:null,face:null,frame:null,frameBorder:null,hSpace:uA,leftMargin:uA,link:null,longDesc:null,lowSrc:null,marginHeight:uA,marginWidth:uA,noResize:XA,noHref:XA,noShade:XA,noWrap:XA,object:null,profile:null,prompt:null,rev:null,rightMargin:uA,rules:null,scheme:null,scrolling:ct,standby:null,summary:null,text:null,topMargin:uA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:uA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:XA,disableRemotePlayback:XA,prefix:null,property:null,results:uA,security:null,unselectable:null},space:"html",transform:hD}),Ej=va({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ln,accentHeight:uA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:uA,amplitude:uA,arabicForm:null,ascent:uA,attributeName:null,attributeType:null,azimuth:uA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:uA,by:null,calcMode:null,capHeight:uA,className:Ve,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:uA,diffuseConstant:uA,direction:null,display:null,dur:null,divisor:uA,dominantBaseline:null,download:XA,dx:null,dy:null,edgeMode:null,editable:null,elevation:uA,enableBackground:null,end:null,event:null,exponent:uA,externalResourcesRequired:null,fill:null,fillOpacity:uA,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Na,g2:Na,glyphName:Na,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:uA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:uA,horizOriginX:uA,horizOriginY:uA,id:null,ideographic:uA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:uA,k:uA,k1:uA,k2:uA,k3:uA,k4:uA,kernelMatrix:ln,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:uA,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:uA,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:uA,overlineThickness:uA,paintOrder:null,panose1:null,path:null,pathLength:uA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:uA,pointsAtY:uA,pointsAtZ:uA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ln,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ln,rev:ln,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ln,requiredFeatures:ln,requiredFonts:ln,requiredFormats:ln,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:uA,specularExponent:uA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:uA,strikethroughThickness:uA,string:null,stroke:null,strokeDashArray:ln,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:uA,strokeOpacity:uA,strokeWidth:null,style:null,surfaceScale:uA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ln,tabIndex:uA,tableValues:null,target:null,targetX:uA,targetY:uA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ln,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:uA,underlineThickness:uA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:uA,values:null,vAlphabetic:uA,vMathematical:uA,vectorEffect:null,vHanging:uA,vIdeographic:uA,version:null,vertAdvY:uA,vertOriginX:uA,vertOriginY:uA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:uA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:QD}),CD=va({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(A,e){return"xlink:"+e.slice(5).toLowerCase()}}),UD=va({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:hD}),FD=va({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(A,e){return"xml:"+e.slice(3).toLowerCase()}}),Ij={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fj=/[A-Z]/g,RD=/-[a-z]/g,dj=/^data[-\w.:]+$/i;function Qj(A,e){const t=Cf(e);let n=e,i=Kt;if(t in A.normal)return A.property[A.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&dj.test(e)){if(e.charAt(4)==="-"){const r=e.slice(5).replace(RD,Cj);n="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=e.slice(4);if(!RD.test(r)){let o=r.replace(fj,hj);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Rf}return new i(n,e)}function hj(A){return"-"+A.toLowerCase()}function Cj(A){return A.charAt(1).toUpperCase()}const Uj=ED([dD,uj,CD,UD,FD],"html"),Mf=ED([dD,Ej,CD,UD,FD],"svg");function Fj(A){return A.join(" ").trim()}var wf={},MD=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Rj=/\n/g,Mj=/^\s*/,wj=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Dj=/^:\s*/,pj=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,mj=/^[;\s]*/,Sj=/^\s+|\s+$/g,xj=`
455
455
  `,wD="/",DD="*",fo="",Tj="comment",bj="declaration",Vj=function(A,e){if(typeof A!="string")throw new TypeError("First argument must be a string");if(!A)return[];e=e||{};var t=1,n=1;function i(E){var f=E.match(Rj);f&&(t+=f.length);var d=E.lastIndexOf(xj);n=~d?E.length-d:n+E.length}function r(){var E={line:t,column:n};return function(f){return f.position=new o(E),l(),f}}function o(E){this.start=E,this.end={line:t,column:n},this.source=e.source}o.prototype.content=A;function a(E){var f=new Error(e.source+":"+t+":"+n+": "+E);if(f.reason=E,f.filename=e.source,f.line=t,f.column=n,f.source=A,!e.silent)throw f}function s(E){var f=E.exec(A);if(f){var d=f[0];return i(d),A=A.slice(d.length),f}}function l(){s(Mj)}function c(E){var f;for(E=E||[];f=g();)f!==!1&&E.push(f);return E}function g(){var E=r();if(!(wD!=A.charAt(0)||DD!=A.charAt(1))){for(var f=2;fo!=A.charAt(f)&&(DD!=A.charAt(f)||wD!=A.charAt(f+1));)++f;if(f+=2,fo===A.charAt(f-1))return a("End of comment missing");var d=A.slice(2,f-2);return n+=2,i(d),A=A.slice(f),n+=2,E({type:Tj,comment:d})}}function B(){var E=r(),f=s(wj);if(f){if(g(),!s(Dj))return a("property missing ':'");var d=s(pj),Q=E({type:bj,property:pD(f[0].replace(MD,fo)),value:d?pD(d[0].replace(MD,fo)):fo});return s(mj),Q}}function u(){var E=[];c(E);for(var f;f=B();)f!==!1&&(E.push(f),c(E));return E}return l(),u()};function pD(A){return A?A.replace(Sj,fo):fo}var yj=or&&or.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(wf,"__esModule",{value:!0}),wf.default=Nj;var kj=yj(Vj);function Nj(A,e){var t=null;if(!A||typeof A!="string")return t;var n=(0,kj.default)(A),i=typeof e=="function";return n.forEach(function(r){if(r.type==="declaration"){var o=r.property,a=r.value;i?e(o,a,r):a&&(t=t||{},t[o]=a)}}),t}var rB={};Object.defineProperty(rB,"__esModule",{value:!0}),rB.camelCase=void 0;var vj=/^--[a-zA-Z0-9_-]+$/,Wj=/-([a-z])/g,Hj=/^[^-]+$/,Gj=/^-(webkit|moz|ms|o|khtml)-/,Zj=/^-(ms)-/,Jj=function(A){return!A||Hj.test(A)||vj.test(A)},Pj=function(A,e){return e.toUpperCase()},mD=function(A,e){return"".concat(e,"-")},Yj=function(A,e){return e===void 0&&(e={}),Jj(A)?A:(A=A.toLowerCase(),e.reactCompat?A=A.replace(Zj,mD):A=A.replace(Gj,mD),A.replace(Wj,Pj))};rB.camelCase=Yj;var zj=or&&or.__importDefault||function(A){return A&&A.__esModule?A:{default:A}},Oj=zj(wf),jj=rB;function Df(A,e){var t={};return!A||typeof A!="string"||(0,Oj.default)(A,function(n,i){n&&i&&(t[(0,jj.camelCase)(n,e)]=i)}),t}Df.default=Df;var Xj=Df;const Lj=Ho(Xj),SD=xD("end"),pf=xD("start");function xD(A){return e;function e(t){const n=t&&t.position&&t.position[A]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function _j(A){const e=pf(A),t=SD(A);if(e&&t)return{start:e,end:t}}function xl(A){return!A||typeof A!="object"?"":"position"in A||"type"in A?TD(A.position):"start"in A||"end"in A?TD(A):"line"in A||"column"in A?mf(A):""}function mf(A){return bD(A&&A.line)+":"+bD(A&&A.column)}function TD(A){return mf(A&&A.start)+"-"+mf(A&&A.end)}function bD(A){return A&&typeof A=="number"?A:1}class Tt extends Error{constructor(e,t,n){super(),typeof t=="string"&&(n=t,t=void 0);let i="",r={},o=!1;if(t&&("line"in t&&"column"in t?r={place:t}:"start"in t&&"end"in t?r={place:t}:"type"in t?r={ancestors:[t],place:t.position}:r={...t}),typeof e=="string"?i=e:!r.cause&&e&&(o=!0,i=e.message,r.cause=e),!r.ruleId&&!r.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?r.ruleId=n:(r.source=n.slice(0,s),r.ruleId=n.slice(s+1))}if(!r.place&&r.ancestors&&r.ancestors){const s=r.ancestors[r.ancestors.length-1];s&&(r.place=s.position)}const a=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=xl(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&typeof r.cause.stack=="string"?r.cause.stack:"",this.actual,this.expected,this.note,this.url}}Tt.prototype.file="",Tt.prototype.name="",Tt.prototype.reason="",Tt.prototype.message="",Tt.prototype.stack="",Tt.prototype.column=void 0,Tt.prototype.line=void 0,Tt.prototype.ancestors=void 0,Tt.prototype.cause=void 0,Tt.prototype.fatal=void 0,Tt.prototype.place=void 0,Tt.prototype.ruleId=void 0,Tt.prototype.source=void 0;const Sf={}.hasOwnProperty,Kj=new Map,qj=/[A-Z]/g,$j=new Set(["table","tbody","thead","tfoot","tr"]),AX=new Set(["td","th"]),VD="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eX(A,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=e.filePath||void 0;let n;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=lX(t,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=sX(t,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:n,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?Mf:Uj,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},r=yD(i,A,void 0);return r&&typeof r!="string"?r:i.create(A,i.Fragment,{children:r||void 0},void 0)}function yD(A,e,t){if(e.type==="element")return tX(A,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return nX(A,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return rX(A,e,t);if(e.type==="mdxjsEsm")return iX(A,e);if(e.type==="root")return oX(A,e,t);if(e.type==="text")return aX(A,e)}function tX(A,e,t){const n=A.schema;let i=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=Mf,A.schema=i),A.ancestors.push(e);const r=ND(A,e.tagName,!1),o=cX(A,e);let a=Tf(A,e);return $j.has(e.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!gj(s):!0})),kD(A,o,r,e),xf(o,a),A.ancestors.pop(),A.schema=n,A.create(e,r,o,t)}function nX(A,e){if(e.data&&e.data.estree&&A.evaluater){const n=e.data.estree.body[0];return n.type,A.evaluater.evaluateExpression(n.expression)}Tl(A,e.position)}function iX(A,e){if(e.data&&e.data.estree&&A.evaluater)return A.evaluater.evaluateProgram(e.data.estree);Tl(A,e.position)}function rX(A,e,t){const n=A.schema;let i=n;e.name==="svg"&&n.space==="html"&&(i=Mf,A.schema=i),A.ancestors.push(e);const r=e.name===null?A.Fragment:ND(A,e.name,!0),o=gX(A,e),a=Tf(A,e);return kD(A,o,r,e),xf(o,a),A.ancestors.pop(),A.schema=n,A.create(e,r,o,t)}function oX(A,e,t){const n={};return xf(n,Tf(A,e)),A.create(e,A.Fragment,n,t)}function aX(A,e){return e.value}function kD(A,e,t,n){typeof t!="string"&&t!==A.Fragment&&A.passNode&&(e.node=n)}function xf(A,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(A.children=t)}}function sX(A,e,t){return n;function n(i,r,o,a){const l=Array.isArray(o.children)?t:e;return a?l(r,o,a):l(r,o)}}function lX(A,e){return t;function t(n,i,r,o){const a=Array.isArray(r.children),s=pf(n);return e(i,r,o,a,{columnNumber:s?s.column-1:void 0,fileName:A,lineNumber:s?s.line:void 0},void 0)}}function cX(A,e){const t={};let n,i;for(i in e.properties)if(i!=="children"&&Sf.call(e.properties,i)){const r=BX(A,i,e.properties[i]);if(r){const[o,a]=r;A.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&AX.has(e.tagName)?n=a:t[o]=a}}if(n){const r=t.style||(t.style={});r[A.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return t}function gX(A,e){const t={};for(const n of e.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&A.evaluater){const r=n.data.estree.body[0];r.type;const o=r.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,A.evaluater.evaluateExpression(a.argument))}else Tl(A,e.position);else{const i=n.name;let r;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&A.evaluater){const a=n.value.data.estree.body[0];a.type,r=A.evaluater.evaluateExpression(a.expression)}else Tl(A,e.position);else r=n.value===null?!0:n.value;t[i]=r}return t}function Tf(A,e){const t=[];let n=-1;const i=A.passKeys?new Map:Kj;for(;++n<e.children.length;){const r=e.children[n];let o;if(A.passKeys){const s=r.type==="element"?r.tagName:r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement"?r.name:void 0;if(s){const l=i.get(s)||0;o=s+"-"+l,i.set(s,l+1)}}const a=yD(A,r,o);a!==void 0&&t.push(a)}return t}function BX(A,e,t){const n=Qj(A.schema,e);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=n.commaSeparated?oj(t):Fj(t)),n.property==="style"){let i=typeof t=="object"?t:uX(A,String(t));return A.stylePropertyNameCase==="css"&&(i=EX(i)),["style",i]}return[A.elementAttributeNameCase==="react"&&n.space?Ij[n.property]||n.property:n.attribute,t]}}function uX(A,e){try{return Lj(e,{reactCompat:!0})}catch(t){if(A.ignoreInvalidStyle)return{};const n=t,i=new Tt("Cannot parse `style` attribute",{ancestors:A.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=A.filePath||void 0,i.url=VD+"#cannot-parse-style-attribute",i}}function ND(A,e,t){let n;if(!t)n={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let r=-1,o;for(;++r<i.length;){const a=BD(i[r])?{type:"Identifier",name:i[r]}:{type:"Literal",value:i[r]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(r&&a.type==="Literal"),optional:!1}:a}n=o}else n=BD(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const i=n.value;return Sf.call(A.components,i)?A.components[i]:i}if(A.evaluater)return A.evaluater.evaluateExpression(n);Tl(A)}function Tl(A,e){const t=new Tt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:A.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=A.filePath||void 0,t.url=VD+"#cannot-handle-mdx-estrees-without-createevaluater",t}function EX(A){const e={};let t;for(t in A)Sf.call(A,t)&&(e[IX(t)]=A[t]);return e}function IX(A){let e=A.replace(qj,fX);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function fX(A){return"-"+A.toLowerCase()}const bf={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},dX={};function Vf(A,e){const t=dX,n=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return vD(A,n,i)}function vD(A,e,t){if(QX(A)){if("value"in A)return A.type==="html"&&!t?"":A.value;if(e&&"alt"in A&&A.alt)return A.alt;if("children"in A)return WD(A.children,e,t)}return Array.isArray(A)?WD(A,e,t):""}function WD(A,e,t){const n=[];let i=-1;for(;++i<A.length;)n[i]=vD(A[i],e,t);return n.join("")}function QX(A){return!!(A&&typeof A=="object")}const HD=document.createElement("i");function yf(A){const e="&"+A+";";HD.innerHTML=e;const t=HD.textContent;return t.charCodeAt(t.length-1)===59&&A!=="semi"||t===e?!1:t}function cn(A,e,t,n){const i=A.length;let r=0,o;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,n.length<1e4)o=Array.from(n),o.unshift(e,t),A.splice(...o);else for(t&&A.splice(e,t);r<n.length;)o=n.slice(r,r+1e4),o.unshift(e,0),A.splice(...o),r+=1e4,e+=1e4}function Dn(A,e){return A.length>0?(cn(A,A.length,0,e),A):e}const GD={}.hasOwnProperty;function ZD(A){const e={};let t=-1;for(;++t<A.length;)hX(e,A[t]);return e}function hX(A,e){let t;for(t in e){const i=(GD.call(A,t)?A[t]:void 0)||(A[t]={}),r=e[t];let o;if(r)for(o in r){GD.call(i,o)||(i[o]=[]);const a=r[o];CX(i[o],Array.isArray(a)?a:a?[a]:[])}}}function CX(A,e){let t=-1;const n=[];for(;++t<e.length;)(e[t].add==="after"?A:n).push(e[t]);cn(A,0,0,n)}function JD(A,e){const t=Number.parseInt(A,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function Nn(A){return A.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Zt=Qr(/[A-Za-z]/),bt=Qr(/[\dA-Za-z]/),UX=Qr(/[#-'*+\--9=?A-Z^-~]/);function oB(A){return A!==null&&(A<32||A===127)}const kf=Qr(/\d/),FX=Qr(/[\dA-Fa-f]/),RX=Qr(/[!-/:-@[-`{-~]/);function JA(A){return A!==null&&A<-2}function pe(A){return A!==null&&(A<0||A===32)}function Ae(A){return A===-2||A===-1||A===32}const aB=Qr(new RegExp("\\p{P}|\\p{S}","u")),Qo=Qr(/\s/);function Qr(A){return e;function e(t){return t!==null&&t>-1&&A.test(String.fromCharCode(t))}}function Wa(A){const e=[];let t=-1,n=0,i=0;for(;++t<A.length;){const r=A.charCodeAt(t);let o="";if(r===37&&bt(A.charCodeAt(t+1))&&bt(A.charCodeAt(t+2)))i=2;else if(r<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(r))||(o=String.fromCharCode(r));else if(r>55295&&r<57344){const a=A.charCodeAt(t+1);r<56320&&a>56319&&a<57344?(o=String.fromCharCode(r,a),i=1):o="�"}else o=String.fromCharCode(r);o&&(e.push(A.slice(n,t),encodeURIComponent(o)),n=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+A.slice(n)}function re(A,e,t,n){const i=n?n-1:Number.POSITIVE_INFINITY;let r=0;return o;function o(s){return Ae(s)?(A.enter(t),a(s)):e(s)}function a(s){return Ae(s)&&r++<i?(A.consume(s),a):(A.exit(t),e(s))}}const MX={tokenize:wX};function wX(A){const e=A.attempt(this.parser.constructs.contentInitial,n,i);let t;return e;function n(a){if(a===null){A.consume(a);return}return A.enter("lineEnding"),A.consume(a),A.exit("lineEnding"),re(A,e,"linePrefix")}function i(a){return A.enter("paragraph"),r(a)}function r(a){const s=A.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,o(a)}function o(a){if(a===null){A.exit("chunkText"),A.exit("paragraph"),A.consume(a);return}return JA(a)?(A.consume(a),A.exit("chunkText"),r):(A.consume(a),o)}}const DX={tokenize:pX},PD={tokenize:mX};function pX(A){const e=this,t=[];let n=0,i,r,o;return a;function a(C){if(n<t.length){const F=t[n];return e.containerState=F[1],A.attempt(F[0].continuation,s,l)(C)}return l(C)}function s(C){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&h();const F=e.events.length;let U=F,M;for(;U--;)if(e.events[U][0]==="exit"&&e.events[U][1].type==="chunkFlow"){M=e.events[U][1].end;break}Q(n);let p=F;for(;p<e.events.length;)e.events[p][1].end={...M},p++;return cn(e.events,U+1,0,e.events.slice(F)),e.events.length=p,l(C)}return a(C)}function l(C){if(n===t.length){if(!i)return B(C);if(i.currentConstruct&&i.currentConstruct.concrete)return E(C);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},A.check(PD,c,g)(C)}function c(C){return i&&h(),Q(n),B(C)}function g(C){return e.parser.lazy[e.now().line]=n!==t.length,o=e.now().offset,E(C)}function B(C){return e.containerState={},A.attempt(PD,u,E)(C)}function u(C){return n++,t.push([e.currentConstruct,e.containerState]),B(C)}function E(C){if(C===null){i&&h(),Q(0),A.consume(C);return}return i=i||e.parser.flow(e.now()),A.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:r}),f(C)}function f(C){if(C===null){d(A.exit("chunkFlow"),!0),Q(0),A.consume(C);return}return JA(C)?(A.consume(C),d(A.exit("chunkFlow")),n=0,e.interrupt=void 0,a):(A.consume(C),f)}function d(C,F){const U=e.sliceStream(C);if(F&&U.push(null),C.previous=r,r&&(r.next=C),r=C,i.defineSkip(C.start),i.write(U),e.parser.lazy[C.start.line]){let M=i.events.length;for(;M--;)if(i.events[M][1].start.offset<o&&(!i.events[M][1].end||i.events[M][1].end.offset>o))return;const p=e.events.length;let S=p,V,m;for(;S--;)if(e.events[S][0]==="exit"&&e.events[S][1].type==="chunkFlow"){if(V){m=e.events[S][1].end;break}V=!0}for(Q(n),M=p;M<e.events.length;)e.events[M][1].end={...m},M++;cn(e.events,S+1,0,e.events.slice(p)),e.events.length=M}}function Q(C){let F=t.length;for(;F-- >C;){const U=t[F];e.containerState=U[1],U[0].exit.call(e,A)}t.length=C}function h(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}function mX(A,e,t){return re(A,A.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ha(A){if(A===null||pe(A)||Qo(A))return 1;if(aB(A))return 2}function sB(A,e,t){const n=[];let i=-1;for(;++i<A.length;){const r=A[i].resolveAll;r&&!n.includes(r)&&(e=r(e,t),n.push(r))}return e}const Nf={name:"attention",resolveAll:SX,tokenize:xX};function SX(A,e){let t=-1,n,i,r,o,a,s,l,c;for(;++t<A.length;)if(A[t][0]==="enter"&&A[t][1].type==="attentionSequence"&&A[t][1]._close){for(n=t;n--;)if(A[n][0]==="exit"&&A[n][1].type==="attentionSequence"&&A[n][1]._open&&e.sliceSerialize(A[n][1]).charCodeAt(0)===e.sliceSerialize(A[t][1]).charCodeAt(0)){if((A[n][1]._close||A[t][1]._open)&&(A[t][1].end.offset-A[t][1].start.offset)%3&&!((A[n][1].end.offset-A[n][1].start.offset+A[t][1].end.offset-A[t][1].start.offset)%3))continue;s=A[n][1].end.offset-A[n][1].start.offset>1&&A[t][1].end.offset-A[t][1].start.offset>1?2:1;const g={...A[n][1].end},B={...A[t][1].start};YD(g,-s),YD(B,s),o={type:s>1?"strongSequence":"emphasisSequence",start:g,end:{...A[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...A[t][1].start},end:B},r={type:s>1?"strongText":"emphasisText",start:{...A[n][1].end},end:{...A[t][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},A[n][1].end={...o.start},A[t][1].start={...a.end},l=[],A[n][1].end.offset-A[n][1].start.offset&&(l=Dn(l,[["enter",A[n][1],e],["exit",A[n][1],e]])),l=Dn(l,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",r,e]]),l=Dn(l,sB(e.parser.constructs.insideSpan.null,A.slice(n+1,t),e)),l=Dn(l,[["exit",r,e],["enter",a,e],["exit",a,e],["exit",i,e]]),A[t][1].end.offset-A[t][1].start.offset?(c=2,l=Dn(l,[["enter",A[t][1],e],["exit",A[t][1],e]])):c=0,cn(A,n-1,t-n+3,l),t=n+l.length-c-2;break}}for(t=-1;++t<A.length;)A[t][1].type==="attentionSequence"&&(A[t][1].type="data");return A}function xX(A,e){const t=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Ha(n);let r;return o;function o(s){return r=s,A.enter("attentionSequence"),a(s)}function a(s){if(s===r)return A.consume(s),a;const l=A.exit("attentionSequence"),c=Ha(s),g=!c||c===2&&i||t.includes(s),B=!i||i===2&&c||t.includes(n);return l._open=!!(r===42?g:g&&(i||!B)),l._close=!!(r===42?B:B&&(c||!g)),e(s)}}function YD(A,e){A.column+=e,A.offset+=e,A._bufferIndex+=e}const TX={name:"autolink",tokenize:bX};function bX(A,e,t){let n=0;return i;function i(u){return A.enter("autolink"),A.enter("autolinkMarker"),A.consume(u),A.exit("autolinkMarker"),A.enter("autolinkProtocol"),r}function r(u){return Zt(u)?(A.consume(u),o):u===64?t(u):l(u)}function o(u){return u===43||u===45||u===46||bt(u)?(n=1,a(u)):l(u)}function a(u){return u===58?(A.consume(u),n=0,s):(u===43||u===45||u===46||bt(u))&&n++<32?(A.consume(u),a):(n=0,l(u))}function s(u){return u===62?(A.exit("autolinkProtocol"),A.enter("autolinkMarker"),A.consume(u),A.exit("autolinkMarker"),A.exit("autolink"),e):u===null||u===32||u===60||oB(u)?t(u):(A.consume(u),s)}function l(u){return u===64?(A.consume(u),c):UX(u)?(A.consume(u),l):t(u)}function c(u){return bt(u)?g(u):t(u)}function g(u){return u===46?(A.consume(u),n=0,c):u===62?(A.exit("autolinkProtocol").type="autolinkEmail",A.enter("autolinkMarker"),A.consume(u),A.exit("autolinkMarker"),A.exit("autolink"),e):B(u)}function B(u){if((u===45||bt(u))&&n++<63){const E=u===45?B:g;return A.consume(u),E}return t(u)}}const bl={partial:!0,tokenize:VX};function VX(A,e,t){return n;function n(r){return Ae(r)?re(A,i,"linePrefix")(r):i(r)}function i(r){return r===null||JA(r)?e(r):t(r)}}const zD={continuation:{tokenize:kX},exit:NX,name:"blockQuote",tokenize:yX};function yX(A,e,t){const n=this;return i;function i(o){if(o===62){const a=n.containerState;return a.open||(A.enter("blockQuote",{_container:!0}),a.open=!0),A.enter("blockQuotePrefix"),A.enter("blockQuoteMarker"),A.consume(o),A.exit("blockQuoteMarker"),r}return t(o)}function r(o){return Ae(o)?(A.enter("blockQuotePrefixWhitespace"),A.consume(o),A.exit("blockQuotePrefixWhitespace"),A.exit("blockQuotePrefix"),e):(A.exit("blockQuotePrefix"),e(o))}}function kX(A,e,t){const n=this;return i;function i(o){return Ae(o)?re(A,r,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):r(o)}function r(o){return A.attempt(zD,e,t)(o)}}function NX(A){A.exit("blockQuote")}const OD={name:"characterEscape",tokenize:vX};function vX(A,e,t){return n;function n(r){return A.enter("characterEscape"),A.enter("escapeMarker"),A.consume(r),A.exit("escapeMarker"),i}function i(r){return RX(r)?(A.enter("characterEscapeValue"),A.consume(r),A.exit("characterEscapeValue"),A.exit("characterEscape"),e):t(r)}}const jD={name:"characterReference",tokenize:WX};function WX(A,e,t){const n=this;let i=0,r,o;return a;function a(g){return A.enter("characterReference"),A.enter("characterReferenceMarker"),A.consume(g),A.exit("characterReferenceMarker"),s}function s(g){return g===35?(A.enter("characterReferenceMarkerNumeric"),A.consume(g),A.exit("characterReferenceMarkerNumeric"),l):(A.enter("characterReferenceValue"),r=31,o=bt,c(g))}function l(g){return g===88||g===120?(A.enter("characterReferenceMarkerHexadecimal"),A.consume(g),A.exit("characterReferenceMarkerHexadecimal"),A.enter("characterReferenceValue"),r=6,o=FX,c):(A.enter("characterReferenceValue"),r=7,o=kf,c(g))}function c(g){if(g===59&&i){const B=A.exit("characterReferenceValue");return o===bt&&!yf(n.sliceSerialize(B))?t(g):(A.enter("characterReferenceMarker"),A.consume(g),A.exit("characterReferenceMarker"),A.exit("characterReference"),e)}return o(g)&&i++<r?(A.consume(g),c):t(g)}}const XD={partial:!0,tokenize:GX},LD={concrete:!0,name:"codeFenced",tokenize:HX};function HX(A,e,t){const n=this,i={partial:!0,tokenize:U};let r=0,o=0,a;return s;function s(M){return l(M)}function l(M){const p=n.events[n.events.length-1];return r=p&&p[1].type==="linePrefix"?p[2].sliceSerialize(p[1],!0).length:0,a=M,A.enter("codeFenced"),A.enter("codeFencedFence"),A.enter("codeFencedFenceSequence"),c(M)}function c(M){return M===a?(o++,A.consume(M),c):o<3?t(M):(A.exit("codeFencedFenceSequence"),Ae(M)?re(A,g,"whitespace")(M):g(M))}function g(M){return M===null||JA(M)?(A.exit("codeFencedFence"),n.interrupt?e(M):A.check(XD,f,F)(M)):(A.enter("codeFencedFenceInfo"),A.enter("chunkString",{contentType:"string"}),B(M))}function B(M){return M===null||JA(M)?(A.exit("chunkString"),A.exit("codeFencedFenceInfo"),g(M)):Ae(M)?(A.exit("chunkString"),A.exit("codeFencedFenceInfo"),re(A,u,"whitespace")(M)):M===96&&M===a?t(M):(A.consume(M),B)}function u(M){return M===null||JA(M)?g(M):(A.enter("codeFencedFenceMeta"),A.enter("chunkString",{contentType:"string"}),E(M))}function E(M){return M===null||JA(M)?(A.exit("chunkString"),A.exit("codeFencedFenceMeta"),g(M)):M===96&&M===a?t(M):(A.consume(M),E)}function f(M){return A.attempt(i,F,d)(M)}function d(M){return A.enter("lineEnding"),A.consume(M),A.exit("lineEnding"),Q}function Q(M){return r>0&&Ae(M)?re(A,h,"linePrefix",r+1)(M):h(M)}function h(M){return M===null||JA(M)?A.check(XD,f,F)(M):(A.enter("codeFlowValue"),C(M))}function C(M){return M===null||JA(M)?(A.exit("codeFlowValue"),h(M)):(A.consume(M),C)}function F(M){return A.exit("codeFenced"),e(M)}function U(M,p,S){let V=0;return m;function m(H){return M.enter("lineEnding"),M.consume(H),M.exit("lineEnding"),k}function k(H){return M.enter("codeFencedFence"),Ae(H)?re(M,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):z(H)}function z(H){return H===a?(M.enter("codeFencedFenceSequence"),AA(H)):S(H)}function AA(H){return H===a?(V++,M.consume(H),AA):V>=o?(M.exit("codeFencedFenceSequence"),Ae(H)?re(M,v,"whitespace")(H):v(H)):S(H)}function v(H){return H===null||JA(H)?(M.exit("codeFencedFence"),p(H)):S(H)}}}function GX(A,e,t){const n=this;return i;function i(o){return o===null?t(o):(A.enter("lineEnding"),A.consume(o),A.exit("lineEnding"),r)}function r(o){return n.parser.lazy[n.now().line]?t(o):e(o)}}const vf={name:"codeIndented",tokenize:JX},ZX={partial:!0,tokenize:PX};function JX(A,e,t){const n=this;return i;function i(l){return A.enter("codeIndented"),re(A,r,"linePrefix",5)(l)}function r(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):t(l)}function o(l){return l===null?s(l):JA(l)?A.attempt(ZX,o,s)(l):(A.enter("codeFlowValue"),a(l))}function a(l){return l===null||JA(l)?(A.exit("codeFlowValue"),o(l)):(A.consume(l),a)}function s(l){return A.exit("codeIndented"),e(l)}}function PX(A,e,t){const n=this;return i;function i(o){return n.parser.lazy[n.now().line]?t(o):JA(o)?(A.enter("lineEnding"),A.consume(o),A.exit("lineEnding"),i):re(A,r,"linePrefix",5)(o)}function r(o){const a=n.events[n.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):JA(o)?i(o):t(o)}}const YX={name:"codeText",previous:OX,resolve:zX,tokenize:jX};function zX(A){let e=A.length-4,t=3,n,i;if((A[t][1].type==="lineEnding"||A[t][1].type==="space")&&(A[e][1].type==="lineEnding"||A[e][1].type==="space")){for(n=t;++n<e;)if(A[n][1].type==="codeTextData"){A[t][1].type="codeTextPadding",A[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(n=t-1,e++;++n<=e;)i===void 0?n!==e&&A[n][1].type!=="lineEnding"&&(i=n):(n===e||A[n][1].type==="lineEnding")&&(A[i][1].type="codeTextData",n!==i+2&&(A[i][1].end=A[n-1][1].end,A.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return A}function OX(A){return A!==96||this.events[this.events.length-1][1].type==="characterEscape"}function jX(A,e,t){let n=0,i,r;return o;function o(g){return A.enter("codeText"),A.enter("codeTextSequence"),a(g)}function a(g){return g===96?(A.consume(g),n++,a):(A.exit("codeTextSequence"),s(g))}function s(g){return g===null?t(g):g===32?(A.enter("space"),A.consume(g),A.exit("space"),s):g===96?(r=A.enter("codeTextSequence"),i=0,c(g)):JA(g)?(A.enter("lineEnding"),A.consume(g),A.exit("lineEnding"),s):(A.enter("codeTextData"),l(g))}function l(g){return g===null||g===32||g===96||JA(g)?(A.exit("codeTextData"),s(g)):(A.consume(g),l)}function c(g){return g===96?(A.consume(g),i++,c):i===n?(A.exit("codeTextSequence"),A.exit("codeText"),e(g)):(r.type="codeTextData",l(g))}}class XX{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const i=t||0;this.setCursor(Math.trunc(e));const r=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Vl(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Vl(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Vl(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Vl(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Vl(this.left,t.reverse())}}}function Vl(A,e){let t=0;if(e.length<1e4)A.push(...e);else for(;t<e.length;)A.push(...e.slice(t,t+1e4)),t+=1e4}function _D(A){const e={};let t=-1,n,i,r,o,a,s,l;const c=new XX(A);for(;++t<c.length;){for(;t in e;)t=e[t];if(n=c.get(t),t&&n[1].type==="chunkFlow"&&c.get(t-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,r=0,r<s.length&&s[r][1].type==="lineEndingBlank"&&(r+=2),r<s.length&&s[r][1].type==="content"))for(;++r<s.length&&s[r][1].type!=="content";)s[r][1].type==="chunkText"&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,LX(c,t)),t=e[t],l=!0);else if(n[1]._container){for(r=t,i=void 0;r--;)if(o=c.get(r),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=r);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(n[1].end={...c.get(i)[1].start},a=c.slice(i,t),a.unshift(n),c.splice(i,t-i+1,a))}}return cn(A,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function LX(A,e){const t=A.get(e)[1],n=A.get(e)[2];let i=e-1;const r=[];let o=t._tokenizer;o||(o=n.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,s=[],l={};let c,g,B=-1,u=t,E=0,f=0;const d=[f];for(;u;){for(;A.get(++i)[1]!==u;);r.push(i),u._tokenizer||(c=n.sliceStream(u),u.next||c.push(null),g&&o.defineSkip(u.start),u._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),u._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),g=u,u=u.next}for(u=t;++B<a.length;)a[B][0]==="exit"&&a[B-1][0]==="enter"&&a[B][1].type===a[B-1][1].type&&a[B][1].start.line!==a[B][1].end.line&&(f=B+1,d.push(f),u._tokenizer=void 0,u.previous=void 0,u=u.next);for(o.events=[],u?(u._tokenizer=void 0,u.previous=void 0):d.pop(),B=d.length;B--;){const Q=a.slice(d[B],d[B+1]),h=r.pop();s.push([h,h+Q.length-1]),A.splice(h,2,Q)}for(s.reverse(),B=-1;++B<s.length;)l[E+s[B][0]]=E+s[B][1],E+=s[B][1]-s[B][0]-1;return l}const _X={resolve:qX,tokenize:$X},KX={partial:!0,tokenize:AL};function qX(A){return _D(A),A}function $X(A,e){let t;return n;function n(a){return A.enter("content"),t=A.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?r(a):JA(a)?A.check(KX,o,r)(a):(A.consume(a),i)}function r(a){return A.exit("chunkContent"),A.exit("content"),e(a)}function o(a){return A.consume(a),A.exit("chunkContent"),t.next=A.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function AL(A,e,t){const n=this;return i;function i(o){return A.exit("chunkContent"),A.enter("lineEnding"),A.consume(o),A.exit("lineEnding"),re(A,r,"linePrefix")}function r(o){if(o===null||JA(o))return t(o);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):A.interrupt(n.parser.constructs.flow,t,e)(o)}}function KD(A,e,t,n,i,r,o,a,s){const l=s||Number.POSITIVE_INFINITY;let c=0;return g;function g(Q){return Q===60?(A.enter(n),A.enter(i),A.enter(r),A.consume(Q),A.exit(r),B):Q===null||Q===32||Q===41||oB(Q)?t(Q):(A.enter(n),A.enter(o),A.enter(a),A.enter("chunkString",{contentType:"string"}),f(Q))}function B(Q){return Q===62?(A.enter(r),A.consume(Q),A.exit(r),A.exit(i),A.exit(n),e):(A.enter(a),A.enter("chunkString",{contentType:"string"}),u(Q))}function u(Q){return Q===62?(A.exit("chunkString"),A.exit(a),B(Q)):Q===null||Q===60||JA(Q)?t(Q):(A.consume(Q),Q===92?E:u)}function E(Q){return Q===60||Q===62||Q===92?(A.consume(Q),u):u(Q)}function f(Q){return!c&&(Q===null||Q===41||pe(Q))?(A.exit("chunkString"),A.exit(a),A.exit(o),A.exit(n),e(Q)):c<l&&Q===40?(A.consume(Q),c++,f):Q===41?(A.consume(Q),c--,f):Q===null||Q===32||Q===40||oB(Q)?t(Q):(A.consume(Q),Q===92?d:f)}function d(Q){return Q===40||Q===41||Q===92?(A.consume(Q),f):f(Q)}}function qD(A,e,t,n,i,r){const o=this;let a=0,s;return l;function l(u){return A.enter(n),A.enter(i),A.consume(u),A.exit(i),A.enter(r),c}function c(u){return a>999||u===null||u===91||u===93&&!s||u===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(u):u===93?(A.exit(r),A.enter(i),A.consume(u),A.exit(i),A.exit(n),e):JA(u)?(A.enter("lineEnding"),A.consume(u),A.exit("lineEnding"),c):(A.enter("chunkString",{contentType:"string"}),g(u))}function g(u){return u===null||u===91||u===93||JA(u)||a++>999?(A.exit("chunkString"),c(u)):(A.consume(u),s||(s=!Ae(u)),u===92?B:g)}function B(u){return u===91||u===92||u===93?(A.consume(u),a++,g):g(u)}}function $D(A,e,t,n,i,r){let o;return a;function a(B){return B===34||B===39||B===40?(A.enter(n),A.enter(i),A.consume(B),A.exit(i),o=B===40?41:B,s):t(B)}function s(B){return B===o?(A.enter(i),A.consume(B),A.exit(i),A.exit(n),e):(A.enter(r),l(B))}function l(B){return B===o?(A.exit(r),s(o)):B===null?t(B):JA(B)?(A.enter("lineEnding"),A.consume(B),A.exit("lineEnding"),re(A,l,"linePrefix")):(A.enter("chunkString",{contentType:"string"}),c(B))}function c(B){return B===o||B===null||JA(B)?(A.exit("chunkString"),l(B)):(A.consume(B),B===92?g:c)}function g(B){return B===o||B===92?(A.consume(B),c):c(B)}}function yl(A,e){let t;return n;function n(i){return JA(i)?(A.enter("lineEnding"),A.consume(i),A.exit("lineEnding"),t=!0,n):Ae(i)?re(A,n,t?"linePrefix":"lineSuffix")(i):e(i)}}const eL={name:"definition",tokenize:nL},tL={partial:!0,tokenize:iL};function nL(A,e,t){const n=this;let i;return r;function r(u){return A.enter("definition"),o(u)}function o(u){return qD.call(n,A,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(u)}function a(u){return i=Nn(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),u===58?(A.enter("definitionMarker"),A.consume(u),A.exit("definitionMarker"),s):t(u)}function s(u){return pe(u)?yl(A,l)(u):l(u)}function l(u){return KD(A,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(u)}function c(u){return A.attempt(tL,g,g)(u)}function g(u){return Ae(u)?re(A,B,"whitespace")(u):B(u)}function B(u){return u===null||JA(u)?(A.exit("definition"),n.parser.defined.push(i),e(u)):t(u)}}function iL(A,e,t){return n;function n(a){return pe(a)?yl(A,i)(a):t(a)}function i(a){return $D(A,r,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function r(a){return Ae(a)?re(A,o,"whitespace")(a):o(a)}function o(a){return a===null||JA(a)?e(a):t(a)}}const rL={name:"hardBreakEscape",tokenize:oL};function oL(A,e,t){return n;function n(r){return A.enter("hardBreakEscape"),A.consume(r),i}function i(r){return JA(r)?(A.exit("hardBreakEscape"),e(r)):t(r)}}const aL={name:"headingAtx",resolve:sL,tokenize:lL};function sL(A,e){let t=A.length-2,n=3,i,r;return A[n][1].type==="whitespace"&&(n+=2),t-2>n&&A[t][1].type==="whitespace"&&(t-=2),A[t][1].type==="atxHeadingSequence"&&(n===t-1||t-4>n&&A[t-2][1].type==="whitespace")&&(t-=n+1===t?2:4),t>n&&(i={type:"atxHeadingText",start:A[n][1].start,end:A[t][1].end},r={type:"chunkText",start:A[n][1].start,end:A[t][1].end,contentType:"text"},cn(A,n,t-n+1,[["enter",i,e],["enter",r,e],["exit",r,e],["exit",i,e]])),A}function lL(A,e,t){let n=0;return i;function i(c){return A.enter("atxHeading"),r(c)}function r(c){return A.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&n++<6?(A.consume(c),o):c===null||pe(c)?(A.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(A.enter("atxHeadingSequence"),s(c)):c===null||JA(c)?(A.exit("atxHeading"),e(c)):Ae(c)?re(A,a,"whitespace")(c):(A.enter("atxHeadingText"),l(c))}function s(c){return c===35?(A.consume(c),s):(A.exit("atxHeadingSequence"),a(c))}function l(c){return c===null||c===35||pe(c)?(A.exit("atxHeadingText"),a(c)):(A.consume(c),l)}}const cL=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ap=["pre","script","style","textarea"],gL={concrete:!0,name:"htmlFlow",resolveTo:EL,tokenize:IL},BL={partial:!0,tokenize:dL},uL={partial:!0,tokenize:fL};function EL(A){let e=A.length;for(;e--&&!(A[e][0]==="enter"&&A[e][1].type==="htmlFlow"););return e>1&&A[e-2][1].type==="linePrefix"&&(A[e][1].start=A[e-2][1].start,A[e+1][1].start=A[e-2][1].start,A.splice(e-2,2)),A}function IL(A,e,t){const n=this;let i,r,o,a,s;return l;function l(D){return c(D)}function c(D){return A.enter("htmlFlow"),A.enter("htmlFlowData"),A.consume(D),g}function g(D){return D===33?(A.consume(D),B):D===47?(A.consume(D),r=!0,f):D===63?(A.consume(D),i=3,n.interrupt?e:w):Zt(D)?(A.consume(D),o=String.fromCharCode(D),d):t(D)}function B(D){return D===45?(A.consume(D),i=2,u):D===91?(A.consume(D),i=5,a=0,E):Zt(D)?(A.consume(D),i=4,n.interrupt?e:w):t(D)}function u(D){return D===45?(A.consume(D),n.interrupt?e:w):t(D)}function E(D){const P="CDATA[";return D===P.charCodeAt(a++)?(A.consume(D),a===P.length?n.interrupt?e:z:E):t(D)}function f(D){return Zt(D)?(A.consume(D),o=String.fromCharCode(D),d):t(D)}function d(D){if(D===null||D===47||D===62||pe(D)){const P=D===47,x=o.toLowerCase();return!P&&!r&&Ap.includes(x)?(i=1,n.interrupt?e(D):z(D)):cL.includes(o.toLowerCase())?(i=6,P?(A.consume(D),Q):n.interrupt?e(D):z(D)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?t(D):r?h(D):C(D))}return D===45||bt(D)?(A.consume(D),o+=String.fromCharCode(D),d):t(D)}function Q(D){return D===62?(A.consume(D),n.interrupt?e:z):t(D)}function h(D){return Ae(D)?(A.consume(D),h):m(D)}function C(D){return D===47?(A.consume(D),m):D===58||D===95||Zt(D)?(A.consume(D),F):Ae(D)?(A.consume(D),C):m(D)}function F(D){return D===45||D===46||D===58||D===95||bt(D)?(A.consume(D),F):U(D)}function U(D){return D===61?(A.consume(D),M):Ae(D)?(A.consume(D),U):C(D)}function M(D){return D===null||D===60||D===61||D===62||D===96?t(D):D===34||D===39?(A.consume(D),s=D,p):Ae(D)?(A.consume(D),M):S(D)}function p(D){return D===s?(A.consume(D),s=null,V):D===null||JA(D)?t(D):(A.consume(D),p)}function S(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||pe(D)?U(D):(A.consume(D),S)}function V(D){return D===47||D===62||Ae(D)?C(D):t(D)}function m(D){return D===62?(A.consume(D),k):t(D)}function k(D){return D===null||JA(D)?z(D):Ae(D)?(A.consume(D),k):t(D)}function z(D){return D===45&&i===2?(A.consume(D),X):D===60&&i===1?(A.consume(D),W):D===62&&i===4?(A.consume(D),G):D===63&&i===3?(A.consume(D),w):D===93&&i===5?(A.consume(D),oA):JA(D)&&(i===6||i===7)?(A.exit("htmlFlowData"),A.check(BL,K,AA)(D)):D===null||JA(D)?(A.exit("htmlFlowData"),AA(D)):(A.consume(D),z)}function AA(D){return A.check(uL,v,K)(D)}function v(D){return A.enter("lineEnding"),A.consume(D),A.exit("lineEnding"),H}function H(D){return D===null||JA(D)?AA(D):(A.enter("htmlFlowData"),z(D))}function X(D){return D===45?(A.consume(D),w):z(D)}function W(D){return D===47?(A.consume(D),o="",sA):z(D)}function sA(D){if(D===62){const P=o.toLowerCase();return Ap.includes(P)?(A.consume(D),G):z(D)}return Zt(D)&&o.length<8?(A.consume(D),o+=String.fromCharCode(D),sA):z(D)}function oA(D){return D===93?(A.consume(D),w):z(D)}function w(D){return D===62?(A.consume(D),G):D===45&&i===2?(A.consume(D),w):z(D)}function G(D){return D===null||JA(D)?(A.exit("htmlFlowData"),K(D)):(A.consume(D),G)}function K(D){return A.exit("htmlFlow"),e(D)}}function fL(A,e,t){const n=this;return i;function i(o){return JA(o)?(A.enter("lineEnding"),A.consume(o),A.exit("lineEnding"),r):t(o)}function r(o){return n.parser.lazy[n.now().line]?t(o):e(o)}}function dL(A,e,t){return n;function n(i){return A.enter("lineEnding"),A.consume(i),A.exit("lineEnding"),A.attempt(bl,e,t)}}const QL={name:"htmlText",tokenize:hL};function hL(A,e,t){const n=this;let i,r,o;return a;function a(w){return A.enter("htmlText"),A.enter("htmlTextData"),A.consume(w),s}function s(w){return w===33?(A.consume(w),l):w===47?(A.consume(w),U):w===63?(A.consume(w),C):Zt(w)?(A.consume(w),S):t(w)}function l(w){return w===45?(A.consume(w),c):w===91?(A.consume(w),r=0,E):Zt(w)?(A.consume(w),h):t(w)}function c(w){return w===45?(A.consume(w),u):t(w)}function g(w){return w===null?t(w):w===45?(A.consume(w),B):JA(w)?(o=g,W(w)):(A.consume(w),g)}function B(w){return w===45?(A.consume(w),u):g(w)}function u(w){return w===62?X(w):w===45?B(w):g(w)}function E(w){const G="CDATA[";return w===G.charCodeAt(r++)?(A.consume(w),r===G.length?f:E):t(w)}function f(w){return w===null?t(w):w===93?(A.consume(w),d):JA(w)?(o=f,W(w)):(A.consume(w),f)}function d(w){return w===93?(A.consume(w),Q):f(w)}function Q(w){return w===62?X(w):w===93?(A.consume(w),Q):f(w)}function h(w){return w===null||w===62?X(w):JA(w)?(o=h,W(w)):(A.consume(w),h)}function C(w){return w===null?t(w):w===63?(A.consume(w),F):JA(w)?(o=C,W(w)):(A.consume(w),C)}function F(w){return w===62?X(w):C(w)}function U(w){return Zt(w)?(A.consume(w),M):t(w)}function M(w){return w===45||bt(w)?(A.consume(w),M):p(w)}function p(w){return JA(w)?(o=p,W(w)):Ae(w)?(A.consume(w),p):X(w)}function S(w){return w===45||bt(w)?(A.consume(w),S):w===47||w===62||pe(w)?V(w):t(w)}function V(w){return w===47?(A.consume(w),X):w===58||w===95||Zt(w)?(A.consume(w),m):JA(w)?(o=V,W(w)):Ae(w)?(A.consume(w),V):X(w)}function m(w){return w===45||w===46||w===58||w===95||bt(w)?(A.consume(w),m):k(w)}function k(w){return w===61?(A.consume(w),z):JA(w)?(o=k,W(w)):Ae(w)?(A.consume(w),k):V(w)}function z(w){return w===null||w===60||w===61||w===62||w===96?t(w):w===34||w===39?(A.consume(w),i=w,AA):JA(w)?(o=z,W(w)):Ae(w)?(A.consume(w),z):(A.consume(w),v)}function AA(w){return w===i?(A.consume(w),i=void 0,H):w===null?t(w):JA(w)?(o=AA,W(w)):(A.consume(w),AA)}function v(w){return w===null||w===34||w===39||w===60||w===61||w===96?t(w):w===47||w===62||pe(w)?V(w):(A.consume(w),v)}function H(w){return w===47||w===62||pe(w)?V(w):t(w)}function X(w){return w===62?(A.consume(w),A.exit("htmlTextData"),A.exit("htmlText"),e):t(w)}function W(w){return A.exit("htmlTextData"),A.enter("lineEnding"),A.consume(w),A.exit("lineEnding"),sA}function sA(w){return Ae(w)?re(A,oA,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):oA(w)}function oA(w){return A.enter("htmlTextData"),o(w)}}const Wf={name:"labelEnd",resolveAll:RL,resolveTo:ML,tokenize:wL},CL={tokenize:DL},UL={tokenize:pL},FL={tokenize:mL};function RL(A){let e=-1;const t=[];for(;++e<A.length;){const n=A[e][1];if(t.push(A[e]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",e+=i}}return A.length!==t.length&&cn(A,0,A.length,t),A}function ML(A,e){let t=A.length,n=0,i,r,o,a;for(;t--;)if(i=A[t][1],r){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;A[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(A[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(r=t,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=t);const s={type:A[r][1].type==="labelLink"?"link":"image",start:{...A[r][1].start},end:{...A[A.length-1][1].end}},l={type:"label",start:{...A[r][1].start},end:{...A[o][1].end}},c={type:"labelText",start:{...A[r+n+2][1].end},end:{...A[o-2][1].start}};return a=[["enter",s,e],["enter",l,e]],a=Dn(a,A.slice(r+1,r+n+3)),a=Dn(a,[["enter",c,e]]),a=Dn(a,sB(e.parser.constructs.insideSpan.null,A.slice(r+n+4,o-3),e)),a=Dn(a,[["exit",c,e],A[o-2],A[o-1],["exit",l,e]]),a=Dn(a,A.slice(o+1)),a=Dn(a,[["exit",s,e]]),cn(A,r,A.length,a),A}function wL(A,e,t){const n=this;let i=n.events.length,r,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){r=n.events[i][1];break}return a;function a(B){return r?r._inactive?g(B):(o=n.parser.defined.includes(Nn(n.sliceSerialize({start:r.end,end:n.now()}))),A.enter("labelEnd"),A.enter("labelMarker"),A.consume(B),A.exit("labelMarker"),A.exit("labelEnd"),s):t(B)}function s(B){return B===40?A.attempt(CL,c,o?c:g)(B):B===91?A.attempt(UL,c,o?l:g)(B):o?c(B):g(B)}function l(B){return A.attempt(FL,c,g)(B)}function c(B){return e(B)}function g(B){return r._balanced=!0,t(B)}}function DL(A,e,t){return n;function n(g){return A.enter("resource"),A.enter("resourceMarker"),A.consume(g),A.exit("resourceMarker"),i}function i(g){return pe(g)?yl(A,r)(g):r(g)}function r(g){return g===41?c(g):KD(A,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function o(g){return pe(g)?yl(A,s)(g):c(g)}function a(g){return t(g)}function s(g){return g===34||g===39||g===40?$D(A,l,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):c(g)}function l(g){return pe(g)?yl(A,c)(g):c(g)}function c(g){return g===41?(A.enter("resourceMarker"),A.consume(g),A.exit("resourceMarker"),A.exit("resource"),e):t(g)}}function pL(A,e,t){const n=this;return i;function i(a){return qD.call(n,A,r,o,"reference","referenceMarker","referenceString")(a)}function r(a){return n.parser.defined.includes(Nn(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(a):t(a)}function o(a){return t(a)}}function mL(A,e,t){return n;function n(r){return A.enter("reference"),A.enter("referenceMarker"),A.consume(r),A.exit("referenceMarker"),i}function i(r){return r===93?(A.enter("referenceMarker"),A.consume(r),A.exit("referenceMarker"),A.exit("reference"),e):t(r)}}const SL={name:"labelStartImage",resolveAll:Wf.resolveAll,tokenize:xL};function xL(A,e,t){const n=this;return i;function i(a){return A.enter("labelImage"),A.enter("labelImageMarker"),A.consume(a),A.exit("labelImageMarker"),r}function r(a){return a===91?(A.enter("labelMarker"),A.consume(a),A.exit("labelMarker"),A.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(a):e(a)}}const TL={name:"labelStartLink",resolveAll:Wf.resolveAll,tokenize:bL};function bL(A,e,t){const n=this;return i;function i(o){return A.enter("labelLink"),A.enter("labelMarker"),A.consume(o),A.exit("labelMarker"),A.exit("labelLink"),r}function r(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?t(o):e(o)}}const Hf={name:"lineEnding",tokenize:VL};function VL(A,e){return t;function t(n){return A.enter("lineEnding"),A.consume(n),A.exit("lineEnding"),re(A,e,"linePrefix")}}const lB={name:"thematicBreak",tokenize:yL};function yL(A,e,t){let n=0,i;return r;function r(l){return A.enter("thematicBreak"),o(l)}function o(l){return i=l,a(l)}function a(l){return l===i?(A.enter("thematicBreakSequence"),s(l)):n>=3&&(l===null||JA(l))?(A.exit("thematicBreak"),e(l)):t(l)}function s(l){return l===i?(A.consume(l),n++,s):(A.exit("thematicBreakSequence"),Ae(l)?re(A,a,"whitespace")(l):a(l))}}const qt={continuation:{tokenize:WL},exit:GL,name:"list",tokenize:vL},kL={partial:!0,tokenize:ZL},NL={partial:!0,tokenize:HL};function vL(A,e,t){const n=this,i=n.events[n.events.length-1];let r=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(u){const E=n.containerState.type||(u===42||u===43||u===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!n.containerState.marker||u===n.containerState.marker:kf(u)){if(n.containerState.type||(n.containerState.type=E,A.enter(E,{_container:!0})),E==="listUnordered")return A.enter("listItemPrefix"),u===42||u===45?A.check(lB,t,l)(u):l(u);if(!n.interrupt||u===49)return A.enter("listItemPrefix"),A.enter("listItemValue"),s(u)}return t(u)}function s(u){return kf(u)&&++o<10?(A.consume(u),s):(!n.interrupt||o<2)&&(n.containerState.marker?u===n.containerState.marker:u===41||u===46)?(A.exit("listItemValue"),l(u)):t(u)}function l(u){return A.enter("listItemMarker"),A.consume(u),A.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||u,A.check(bl,n.interrupt?t:c,A.attempt(kL,B,g))}function c(u){return n.containerState.initialBlankLine=!0,r++,B(u)}function g(u){return Ae(u)?(A.enter("listItemPrefixWhitespace"),A.consume(u),A.exit("listItemPrefixWhitespace"),B):t(u)}function B(u){return n.containerState.size=r+n.sliceSerialize(A.exit("listItemPrefix"),!0).length,e(u)}}function WL(A,e,t){const n=this;return n.containerState._closeFlow=void 0,A.check(bl,i,r);function i(a){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,re(A,e,"listItemIndent",n.containerState.size+1)(a)}function r(a){return n.containerState.furtherBlankLines||!Ae(a)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(a)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,A.attempt(NL,e,o)(a))}function o(a){return n.containerState._closeFlow=!0,n.interrupt=void 0,re(A,A.attempt(qt,e,t),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function HL(A,e,t){const n=this;return re(A,i,"listItemIndent",n.containerState.size+1);function i(r){const o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?e(r):t(r)}}function GL(A){A.exit(this.containerState.type)}function ZL(A,e,t){const n=this;return re(A,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(r){const o=n.events[n.events.length-1];return!Ae(r)&&o&&o[1].type==="listItemPrefixWhitespace"?e(r):t(r)}}const ep={name:"setextUnderline",resolveTo:JL,tokenize:PL};function JL(A,e){let t=A.length,n,i,r;for(;t--;)if(A[t][0]==="enter"){if(A[t][1].type==="content"){n=t;break}A[t][1].type==="paragraph"&&(i=t)}else A[t][1].type==="content"&&A.splice(t,1),!r&&A[t][1].type==="definition"&&(r=t);const o={type:"setextHeading",start:{...A[n][1].start},end:{...A[A.length-1][1].end}};return A[i][1].type="setextHeadingText",r?(A.splice(i,0,["enter",o,e]),A.splice(r+1,0,["exit",A[n][1],e]),A[n][1].end={...A[r][1].end}):A[n][1]=o,A.push(["exit",o,e]),A}function PL(A,e,t){const n=this;let i;return r;function r(l){let c=n.events.length,g;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){g=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||g)?(A.enter("setextHeadingLine"),i=l,o(l)):t(l)}function o(l){return A.enter("setextHeadingLineSequence"),a(l)}function a(l){return l===i?(A.consume(l),a):(A.exit("setextHeadingLineSequence"),Ae(l)?re(A,s,"lineSuffix")(l):s(l))}function s(l){return l===null||JA(l)?(A.exit("setextHeadingLine"),e(l)):t(l)}}const YL={tokenize:zL};function zL(A){const e=this,t=A.attempt(bl,n,A.attempt(this.parser.constructs.flowInitial,i,re(A,A.attempt(this.parser.constructs.flow,i,A.attempt(_X,i)),"linePrefix")));return t;function n(r){if(r===null){A.consume(r);return}return A.enter("lineEndingBlank"),A.consume(r),A.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(r){if(r===null){A.consume(r);return}return A.enter("lineEnding"),A.consume(r),A.exit("lineEnding"),e.currentConstruct=void 0,t}}const OL={resolveAll:np()},jL=tp("string"),XL=tp("text");function tp(A){return{resolveAll:np(A==="text"?LL:void 0),tokenize:e};function e(t){const n=this,i=this.parser.constructs[A],r=t.attempt(i,o,a);return o;function o(c){return l(c)?r(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),s}function s(c){return l(c)?(t.exit("data"),r(c)):(t.consume(c),s)}function l(c){if(c===null)return!0;const g=i[c];let B=-1;if(g)for(;++B<g.length;){const u=g[B];if(!u.previous||u.previous.call(n,n.previous))return!0}return!1}}}function np(A){return e;function e(t,n){let i=-1,r;for(;++i<=t.length;)r===void 0?t[i]&&t[i][1].type==="data"&&(r=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return A?A(t,n):t}}function LL(A,e){let t=0;for(;++t<=A.length;)if((t===A.length||A[t][1].type==="lineEnding")&&A[t-1][1].type==="data"){const n=A[t-1][1],i=e.sliceStream(n);let r=i.length,o=-1,a=0,s;for(;r--;){const l=i[r];if(typeof l=="string"){for(o=l.length;l.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(l===-2)s=!0,a++;else if(l!==-1){r++;break}}if(e._contentTypeTextTrailing&&t===A.length&&(a=0),a){const l={type:t===A.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:r?o:n.start._bufferIndex+o,_index:n.start._index+r,line:n.end.line,column:n.end.column-a,offset:n.end.offset-a},end:{...n.end}};n.end={...l.start},n.start.offset===n.end.offset?Object.assign(n,l):(A.splice(t,0,["enter",l,e],["exit",l,e]),t+=2)}t++}return A}const _L=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:eL},disable:{null:[]},document:{42:qt,43:qt,45:qt,48:qt,49:qt,50:qt,51:qt,52:qt,53:qt,54:qt,55:qt,56:qt,57:qt,62:zD},flow:{35:aL,42:lB,45:[ep,lB],60:gL,61:ep,95:lB,96:LD,126:LD},flowInitial:{[-2]:vf,[-1]:vf,32:vf},insideSpan:{null:[Nf,OL]},string:{38:jD,92:OD},text:{[-5]:Hf,[-4]:Hf,[-3]:Hf,33:SL,38:jD,42:Nf,60:[TX,QL],91:TL,92:[rL,OD],93:Wf,95:Nf,96:YX}},Symbol.toStringTag,{value:"Module"}));function KL(A,e,t){let n={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},r=[];let o=[],a=[];const s={attempt:p(U),check:p(M),consume:h,enter:C,exit:F,interrupt:p(M,{interrupt:!0})},l={code:null,containerState:{},defineSkip:f,events:[],now:E,parser:A,previous:null,sliceSerialize:B,sliceStream:u,write:g};let c=e.tokenize.call(l,s);return e.resolveAll&&r.push(e),l;function g(k){return o=Dn(o,k),d(),o[o.length-1]!==null?[]:(S(e,0),l.events=sB(r,l.events,l),l.events)}function B(k,z){return $L(u(k),z)}function u(k){return qL(o,k)}function E(){const{_bufferIndex:k,_index:z,line:AA,column:v,offset:H}=n;return{_bufferIndex:k,_index:z,line:AA,column:v,offset:H}}function f(k){i[k.line]=k.column,m()}function d(){let k;for(;n._index<o.length;){const z=o[n._index];if(typeof z=="string")for(k=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===k&&n._bufferIndex<z.length;)Q(z.charCodeAt(n._bufferIndex));else Q(z)}}function Q(k){c=c(k)}function h(k){JA(k)?(n.line++,n.column=1,n.offset+=k===-3?2:1,m()):k!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=k}function C(k,z){const AA=z||{};return AA.type=k,AA.start=E(),l.events.push(["enter",AA,l]),a.push(AA),AA}function F(k){const z=a.pop();return z.end=E(),l.events.push(["exit",z,l]),z}function U(k,z){S(k,z.from)}function M(k,z){z.restore()}function p(k,z){return AA;function AA(v,H,X){let W,sA,oA,w;return Array.isArray(v)?K(v):"tokenize"in v?K([v]):G(v);function G(L){return iA;function iA(nA){const dA=nA!==null&&L[nA],EA=nA!==null&&L.null,DA=[...Array.isArray(dA)?dA:dA?[dA]:[],...Array.isArray(EA)?EA:EA?[EA]:[]];return K(DA)(nA)}}function K(L){return W=L,sA=0,L.length===0?X:D(L[sA])}function D(L){return iA;function iA(nA){return w=V(),oA=L,L.partial||(l.currentConstruct=L),L.name&&l.parser.constructs.disable.null.includes(L.name)?x():L.tokenize.call(z?Object.assign(Object.create(l),z):l,s,P,x)(nA)}}function P(L){return k(oA,w),H}function x(L){return w.restore(),++sA<W.length?D(W[sA]):X}}}function S(k,z){k.resolveAll&&!r.includes(k)&&r.push(k),k.resolve&&cn(l.events,z,l.events.length-z,k.resolve(l.events.slice(z),l)),k.resolveTo&&(l.events=k.resolveTo(l.events,l))}function V(){const k=E(),z=l.previous,AA=l.currentConstruct,v=l.events.length,H=Array.from(a);return{from:v,restore:X};function X(){n=k,l.previous=z,l.currentConstruct=AA,l.events.length=v,a=H,m()}}function m(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function qL(A,e){const t=e.start._index,n=e.start._bufferIndex,i=e.end._index,r=e.end._bufferIndex;let o;if(t===i)o=[A[t].slice(n,r)];else{if(o=A.slice(t,i),n>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(n):o.shift()}r>0&&o.push(A[i].slice(0,r))}return o}function $L(A,e){let t=-1;const n=[];let i;for(;++t<A.length;){const r=A[t];let o;if(typeof r=="string")o=r;else switch(r){case-5:{o="\r";break}case-4:{o=`
456
456
  `;break}case-3:{o=`\r
457
457
  `;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(r)}i=r===-2,n.push(o)}return n.join("")}function A_(A){const n={constructs:ZD([_L,...(A||{}).extensions||[]]),content:i(MX),defined:[],document:i(DX),flow:i(YL),lazy:{},string:i(jL),text:i(XL)};return n;function i(r){return o;function o(a){return KL(n,r,a)}}}function e_(A){for(;!_D(A););return A}const ip=/[\0\t\n\r]/g;function t_(){let A=1,e="",t=!0,n;return i;function i(r,o,a){const s=[];let l,c,g,B,u;for(r=e+(typeof r=="string"?r.toString():new TextDecoder(o||void 0).decode(r)),g=0,e="",t&&(r.charCodeAt(0)===65279&&g++,t=void 0);g<r.length;){if(ip.lastIndex=g,l=ip.exec(r),B=l&&l.index!==void 0?l.index:r.length,u=r.charCodeAt(B),!l){e=r.slice(g);break}if(u===10&&g===B&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),g<B&&(s.push(r.slice(g,B)),A+=B-g),u){case 0:{s.push(65533),A++;break}case 9:{for(c=Math.ceil(A/4)*4,s.push(-2);A++<c;)s.push(-1);break}case 10:{s.push(-4),A=1;break}default:n=!0,A=1}g=B+1}return a&&(n&&s.push(-5),e&&s.push(e),s.push(null)),s}}const n_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i_(A){return A.replace(n_,r_)}function r_(A,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),r=i===120||i===88;return JD(t.slice(r?2:1),r?16:10)}return yf(t)||A}const rp={}.hasOwnProperty;function o_(A,e,t){return typeof e!="string"&&(t=e,e=void 0),a_(t)(e_(A_(t).document().write(t_()(A,e,!0))))}function a_(A){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(CA),autolinkProtocol:V,autolinkEmail:V,atxHeading:r(Y),blockQuote:r(EA),characterEscape:V,characterReference:V,codeFenced:r(DA),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:r(DA,o),codeText:r(q,o),codeTextData:V,data:V,codeFlowValue:V,definition:r(WA),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:r(fA),hardBreakEscape:r(eA),hardBreakTrailing:r(eA),htmlFlow:r(cA,o),htmlFlowData:V,htmlText:r(cA,o),htmlTextData:V,image:r(pA),label:o,link:r(CA),listItem:r(kA),listItemValue:B,listOrdered:r(UA,g),listUnordered:r(UA),paragraph:r(jA),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:r(Y),strong:r(QA),thematicBreak:r(lA)},exit:{atxHeading:s(),atxHeadingSequence:U,autolink:s(),autolinkEmail:dA,autolinkProtocol:nA,blockQuote:s(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:x,characterReferenceMarkerNumeric:x,characterReferenceValue:L,characterReference:iA,codeFenced:s(d),codeFencedFence:f,codeFencedFenceInfo:u,codeFencedFenceMeta:E,codeFlowValue:m,codeIndented:s(Q),codeText:s(H),codeTextData:m,data:m,definition:s(),definitionDestinationString:F,definitionLabelString:h,definitionTitleString:C,emphasis:s(),hardBreakEscape:s(z),hardBreakTrailing:s(z),htmlFlow:s(AA),htmlFlowData:m,htmlText:s(v),htmlTextData:m,image:s(W),label:oA,labelText:sA,lineEnding:k,link:s(X),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:P,resourceDestinationString:w,resourceTitleString:G,resource:K,setextHeading:s(S),setextHeadingLineSequence:p,setextHeadingText:M,strong:s(),thematicBreak:s()}};op(e,(A||{}).mdastExtensions||[]);const t={};return n;function n(N){let j={type:"root",children:[]};const BA={stack:[j],tokenStack:[],config:e,enter:a,exit:l,buffer:o,resume:c,data:t},TA=[];let vA=-1;for(;++vA<N.length;)if(N[vA][1].type==="listOrdered"||N[vA][1].type==="listUnordered")if(N[vA][0]==="enter")TA.push(vA);else{const ce=TA.pop();vA=i(N,ce,vA)}for(vA=-1;++vA<N.length;){const ce=e[N[vA][0]];rp.call(ce,N[vA][1].type)&&ce[N[vA][1].type].call(Object.assign({sliceSerialize:N[vA][2].sliceSerialize},BA),N[vA][1])}if(BA.tokenStack.length>0){const ce=BA.tokenStack[BA.tokenStack.length-1];(ce[1]||ap).call(BA,void 0,ce[0])}for(j.position={start:hr(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:hr(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},vA=-1;++vA<e.transforms.length;)j=e.transforms[vA](j)||j;return j}function i(N,j,BA){let TA=j-1,vA=-1,ce=!1,me,Pe,ie,Ne;for(;++TA<=BA;){const Fe=N[TA];switch(Fe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Fe[0]==="enter"?vA++:vA--,Ne=void 0;break}case"lineEndingBlank":{Fe[0]==="enter"&&(me&&!Ne&&!vA&&!ie&&(ie=TA),Ne=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ne=void 0}if(!vA&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||vA===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(me){let ht=TA;for(Pe=void 0;ht--;){const ve=N[ht];if(ve[1].type==="lineEnding"||ve[1].type==="lineEndingBlank"){if(ve[0]==="exit")continue;Pe&&(N[Pe][1].type="lineEndingBlank",ce=!0),ve[1].type="lineEnding",Pe=ht}else if(!(ve[1].type==="linePrefix"||ve[1].type==="blockQuotePrefix"||ve[1].type==="blockQuotePrefixWhitespace"||ve[1].type==="blockQuoteMarker"||ve[1].type==="listItemIndent"))break}ie&&(!Pe||ie<Pe)&&(me._spread=!0),me.end=Object.assign({},Pe?N[Pe][1].start:Fe[1].end),N.splice(Pe||TA,0,["exit",me,Fe[2]]),TA++,BA++}if(Fe[1].type==="listItemPrefix"){const ht={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0};me=ht,N.splice(TA,0,["enter",ht,Fe[2]]),TA++,BA++,ie=void 0,Ne=!0}}}return N[j][1]._spread=ce,BA}function r(N,j){return BA;function BA(TA){a.call(this,N(TA),TA),j&&j.call(this,TA)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(N,j,BA){this.stack[this.stack.length-1].children.push(N),this.stack.push(N),this.tokenStack.push([j,BA||void 0]),N.position={start:hr(j.start),end:void 0}}function s(N){return j;function j(BA){N&&N.call(this,BA),l.call(this,BA)}}function l(N,j){const BA=this.stack.pop(),TA=this.tokenStack.pop();if(TA)TA[0].type!==N.type&&(j?j.call(this,N,TA[0]):(TA[1]||ap).call(this,N,TA[0]));else throw new Error("Cannot close `"+N.type+"` ("+xl({start:N.start,end:N.end})+"): it’s not open");BA.position.end=hr(N.end)}function c(){return Vf(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function B(N){if(this.data.expectingFirstListItemValue){const j=this.stack[this.stack.length-2];j.start=Number.parseInt(this.sliceSerialize(N),10),this.data.expectingFirstListItemValue=void 0}}function u(){const N=this.resume(),j=this.stack[this.stack.length-1];j.lang=N}function E(){const N=this.resume(),j=this.stack[this.stack.length-1];j.meta=N}function f(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function d(){const N=this.resume(),j=this.stack[this.stack.length-1];j.value=N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function Q(){const N=this.resume(),j=this.stack[this.stack.length-1];j.value=N.replace(/(\r?\n|\r)$/g,"")}function h(N){const j=this.resume(),BA=this.stack[this.stack.length-1];BA.label=j,BA.identifier=Nn(this.sliceSerialize(N)).toLowerCase()}function C(){const N=this.resume(),j=this.stack[this.stack.length-1];j.title=N}function F(){const N=this.resume(),j=this.stack[this.stack.length-1];j.url=N}function U(N){const j=this.stack[this.stack.length-1];if(!j.depth){const BA=this.sliceSerialize(N).length;j.depth=BA}}function M(){this.data.setextHeadingSlurpLineEnding=!0}function p(N){const j=this.stack[this.stack.length-1];j.depth=this.sliceSerialize(N).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function V(N){const BA=this.stack[this.stack.length-1].children;let TA=BA[BA.length-1];(!TA||TA.type!=="text")&&(TA=$(),TA.position={start:hr(N.start),end:void 0},BA.push(TA)),this.stack.push(TA)}function m(N){const j=this.stack.pop();j.value+=this.sliceSerialize(N),j.position.end=hr(N.end)}function k(N){const j=this.stack[this.stack.length-1];if(this.data.atHardBreak){const BA=j.children[j.children.length-1];BA.position.end=hr(N.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(j.type)&&(V.call(this,N),m.call(this,N))}function z(){this.data.atHardBreak=!0}function AA(){const N=this.resume(),j=this.stack[this.stack.length-1];j.value=N}function v(){const N=this.resume(),j=this.stack[this.stack.length-1];j.value=N}function H(){const N=this.resume(),j=this.stack[this.stack.length-1];j.value=N}function X(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=j,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function W(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=j,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function sA(N){const j=this.sliceSerialize(N),BA=this.stack[this.stack.length-2];BA.label=i_(j),BA.identifier=Nn(j).toLowerCase()}function oA(){const N=this.stack[this.stack.length-1],j=this.resume(),BA=this.stack[this.stack.length-1];if(this.data.inReference=!0,BA.type==="link"){const TA=N.children;BA.children=TA}else BA.alt=j}function w(){const N=this.resume(),j=this.stack[this.stack.length-1];j.url=N}function G(){const N=this.resume(),j=this.stack[this.stack.length-1];j.title=N}function K(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function P(N){const j=this.resume(),BA=this.stack[this.stack.length-1];BA.label=j,BA.identifier=Nn(this.sliceSerialize(N)).toLowerCase(),this.data.referenceType="full"}function x(N){this.data.characterReferenceType=N.type}function L(N){const j=this.sliceSerialize(N),BA=this.data.characterReferenceType;let TA;BA?(TA=JD(j,BA==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):TA=yf(j);const vA=this.stack[this.stack.length-1];vA.value+=TA}function iA(N){const j=this.stack.pop();j.position.end=hr(N.end)}function nA(N){m.call(this,N);const j=this.stack[this.stack.length-1];j.url=this.sliceSerialize(N)}function dA(N){m.call(this,N);const j=this.stack[this.stack.length-1];j.url="mailto:"+this.sliceSerialize(N)}function EA(){return{type:"blockquote",children:[]}}function DA(){return{type:"code",lang:null,meta:null,value:""}}function q(){return{type:"inlineCode",value:""}}function WA(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function fA(){return{type:"emphasis",children:[]}}function Y(){return{type:"heading",depth:0,children:[]}}function eA(){return{type:"break"}}function cA(){return{type:"html",value:""}}function pA(){return{type:"image",title:null,url:"",alt:null}}function CA(){return{type:"link",title:null,url:"",children:[]}}function UA(N){return{type:"list",ordered:N.type==="listOrdered",start:null,spread:N._spread,children:[]}}function kA(N){return{type:"listItem",spread:N._spread,checked:null,children:[]}}function jA(){return{type:"paragraph",children:[]}}function QA(){return{type:"strong",children:[]}}function $(){return{type:"text",value:""}}function lA(){return{type:"thematicBreak"}}}function hr(A){return{line:A.line,column:A.column,offset:A.offset}}function op(A,e){let t=-1;for(;++t<e.length;){const n=e[t];Array.isArray(n)?op(A,n):s_(A,n)}}function s_(A,e){let t;for(t in e)if(rp.call(e,t))switch(t){case"canContainEols":{const n=e[t];n&&A[t].push(...n);break}case"transforms":{const n=e[t];n&&A[t].push(...n);break}case"enter":case"exit":{const n=e[t];n&&Object.assign(A[t],n);break}}}function ap(A,e){throw A?new Error("Cannot close `"+A.type+"` ("+xl({start:A.start,end:A.end})+"): a different token (`"+e.type+"`, "+xl({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+xl({start:e.start,end:e.end})+") is still open")}function l_(A){const e=this;e.parser=t;function t(n){return o_(n,{...e.data("settings"),...A,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function c_(A,e){const t={type:"element",tagName:"blockquote",properties:{},children:A.wrap(A.all(e),!0)};return A.patch(e,t),A.applyData(e,t)}function g_(A,e){const t={type:"element",tagName:"br",properties:{},children:[]};return A.patch(e,t),[A.applyData(e,t),{type:"text",value:`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.11-alpha.64",
3
+ "version": "0.0.11-alpha.65",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",