Snapshot of main at 9f39a6e1e (2026-11-02)
This commit is contained in:
commit
6ccf1792d7
2580 files changed
+1040202
No files matched your search
@@ -0,0 +1,138 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/cytoscape-fcose-Di-e6ZnW.js","assets/_commonjsHelpers-Cpj98o6Y.js","assets/jszip.min-KAUKf24L.js"])))=>i.map(i=>d[i]);
|
||||
var VT=Object.defineProperty;var qT=(e,t,n)=>t in e?VT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ot=(e,t,n)=>qT(e,typeof t!="symbol"?t+"":t,n);import{c as Cl,g as zv}from"./_commonjsHelpers-Cpj98o6Y.js";const XT="modulepreload",YT=function(e){return"/build/"+e},ag={},af=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){let a=function(h){return Promise.all(h.map(d=>Promise.resolve(d).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=a(n.map(h=>{if(h=YT(h),h in ag)return;ag[h]=!0;const d=h.endsWith(".css"),m=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${m}`))return;const y=document.createElement("link");if(y.rel=d?"stylesheet":XT,d||(y.as="script"),y.crossOrigin="",y.href=h,u&&y.setAttribute("nonce",u),document.head.appendChild(y),d)return new Promise((x,S)=>{y.addEventListener("load",x),y.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return t().catch(s)})};var So={exports:{}};/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/var KT=So.exports,lg;function GT(){return lg||(lg=1,function(e,t){(function(){var n,i="4.17.23",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",m=1,y=2,x=4,S=1,C=2,T=1,A=2,M=4,B=8,D=16,R=32,N=64,I=128,j=256,q=512,F=30,H="...",U=800,V=16,st=1,tt=2,it=3,K=1/0,ct=9007199254740991,dt=17976931348623157e292,_t=NaN,wt=4294967295,vt=wt-1,Ft=wt>>>1,xt=[["ary",I],["bind",T],["bindKey",A],["curry",B],["curryRight",D],["flip",q],["partial",R],["partialRight",N],["rearg",j]],Ct="[object Arguments]",Nt="[object Array]",be="[object AsyncFunction]",Ot="[object Boolean]",St="[object Date]",In="[object DOMException]",De="[object Error]",te="[object Function]",Le="[object GeneratorFunction]",re="[object Map]",oe="[object Number]",we="[object Null]",ye="[object Object]",Ve="[object Promise]",wn="[object Proxy]",he="[object RegExp]",Xt="[object Set]",xe="[object String]",Ae="[object Symbol]",xn="[object Undefined]",Yt="[object WeakMap]",Se="[object WeakSet]",fe="[object ArrayBuffer]",Z="[object DataView]",et="[object Float32Array]",ht="[object Float64Array]",lt="[object Int8Array]",Bt="[object Int16Array]",jt="[object Int32Array]",de="[object Uint8Array]",Ie="[object Uint8ClampedArray]",qe="[object Uint16Array]",Ne="[object Uint32Array]",Zi=/\b__p \+= '';/g,Qi=/\b(__p \+=) '' \+/g,tr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,er=/&(?:amp|lt|gt|quot|#39);/g,Fr=/[&<>"']/g,Br=RegExp(er.source),Nn=RegExp(Fr.source),$t=/<%-([\s\S]+?)%>/g,_e=/<%([\s\S]+?)%>/g,Sn=/<%=([\s\S]+?)%>/g,Wc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jc=/^\w*$/,$c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ss=/[\\^$.*+?()[\]{}|]/g,Ei=RegExp(Ss.source),Ts=/^\s+/,la=/\s/,ca=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ua=/\{\n\/\* \[wrapped with (.+)\] \*/,ha=/,? & /,Uc=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vc=/[()=,{}\[\]\/\s]/,qc=/\\(\\)?/g,Hr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fa=/\w*$/,da=/^[-+]0x[0-9a-f]+$/i,Xc=/^0b[01]+$/i,Yc=/^\[object .+?Constructor\]$/,Kc=/^0o[0-7]+$/i,Gc=/^(?:0|[1-9]\d*)$/,Jc=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zr=/($^)/,Zc=/['\n\r\u2028\u2029\\]/g,Wr="\\ud800-\\udfff",pa="\\u0300-\\u036f",oi="\\ufe20-\\ufe2f",Qc="\\u20d0-\\u20ff",ga=pa+oi+Qc,ma="\\u2700-\\u27bf",va="a-z\\xdf-\\xf6\\xf8-\\xff",tu="\\xac\\xb1\\xd7\\xf7",eu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",nu="\\u2000-\\u206f",iu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ba="A-Z\\xc0-\\xd6\\xd8-\\xde",jr="\\ufe0e\\ufe0f",ya=tu+eu+nu+iu,Cs="['’]",Os="["+Wr+"]",_a="["+ya+"]",$r="["+ga+"]",wa="\\d+",ru="["+ma+"]",xa="["+va+"]",Sa="[^"+Wr+ya+wa+ma+va+ba+"]",ks="\\ud83c[\\udffb-\\udfff]",su="(?:"+$r+"|"+ks+")",Ur="[^"+Wr+"]",As="(?:\\ud83c[\\udde6-\\uddff]){2}",Es="[\\ud800-\\udbff][\\udc00-\\udfff]",Pi="["+ba+"]",Ta="\\u200d",Ca="(?:"+xa+"|"+Sa+")",ou="(?:"+Pi+"|"+Sa+")",Oa="(?:"+Cs+"(?:d|ll|m|re|s|t|ve))?",ka="(?:"+Cs+"(?:D|LL|M|RE|S|T|VE))?",Aa=su+"?",Ea="["+jr+"]?",Fn="(?:"+Ta+"(?:"+[Ur,As,Es].join("|")+")"+Ea+Aa+")*",au="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ma=Ea+Aa+Fn,ai="(?:"+[ru,As,Es].join("|")+")"+Ma,lu="(?:"+[Ur+$r+"?",$r,As,Es,Os].join("|")+")",Ps=RegExp(Cs,"g"),cu=RegExp($r,"g"),Ms=RegExp(ks+"(?="+ks+")|"+lu+Ma,"g"),uu=RegExp([Pi+"?"+xa+"+"+Oa+"(?="+[_a,Pi,"$"].join("|")+")",ou+"+"+ka+"(?="+[_a,Pi+Ca,"$"].join("|")+")",Pi+"?"+Ca+"+"+Oa,Pi+"+"+ka,Pa,au,wa,ai].join("|"),"g"),hu=RegExp("["+Ta+Wr+ga+jr+"]"),fu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],du=-1,qt={};qt[et]=qt[ht]=qt[lt]=qt[Bt]=qt[jt]=qt[de]=qt[Ie]=qt[qe]=qt[Ne]=!0,qt[Ct]=qt[Nt]=qt[fe]=qt[Ot]=qt[Z]=qt[St]=qt[De]=qt[te]=qt[re]=qt[oe]=qt[ye]=qt[he]=qt[Xt]=qt[xe]=qt[Yt]=!1;var Ut={};Ut[Ct]=Ut[Nt]=Ut[fe]=Ut[Z]=Ut[Ot]=Ut[St]=Ut[et]=Ut[ht]=Ut[lt]=Ut[Bt]=Ut[jt]=Ut[re]=Ut[oe]=Ut[ye]=Ut[he]=Ut[Xt]=Ut[xe]=Ut[Ae]=Ut[de]=Ut[Ie]=Ut[qe]=Ut[Ne]=!0,Ut[De]=Ut[te]=Ut[Yt]=!1;var pu={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:Line truncated
|
||||
/* [wrapped with `+c+`] */
|
||||
`)}function S_(o){return kt(o)||gr(o)||!!(xd&&o&&o[xd])}function gi(o,c){var f=typeof o;return c=c??ct,!!c&&(f=="number"||f!="symbol"&&Gc.test(o))&&o>-1&&o%1==0&&o<c}function Je(o,c,f){if(!se(f))return!1;var _=typeof c;return(_=="number"?nn(f)&&gi(c,f.length):_=="string"&&c in f)?Hn(f[c],o):!1}function hh(o,c){if(kt(o))return!1;var f=typeof o;return f=="number"||f=="symbol"||f=="boolean"||o==null||mn(o)?!0:jc.test(o)||!Wc.test(o)||c!=null&&o in ut(c)}function T_(o){var c=typeof o;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?o!=="__proto__":o===null}function fh(o){var c=pl(o),f=E[c];if(typeof f!="function"||!(c in Dt.prototype))return!1;if(o===f)return!0;var _=lh(f);return!!_&&o===_[0]}function C_(o){return!!Xs&&Xs in o}var O_=Gr?mi:Eh;function co(o){var c=o&&o.constructor,f=typeof c=="function"&&c.prototype||ci;return o===f}function bp(o){return o===o&&!se(o)}function yp(o,c){return function(f){return f==null?!1:f[o]===c&&(c!==n||o in ut(f))}}function k_(o){var c=_l(o,function(_){return f.size===h&&f.clear(),_}),f=c.cache;return c}function A_(o,c){var f=o[1],_=c[1],k=f|_,P=k<(T|A|I),L=_==I&&f==B||_==I&&f==j&&o[7].length<=c[8]||_==(I|j)&&c[7].length<=c[8]&&f==B;if(!(P||L))return o;_&T&&(o[2]=c[2],k|=f&T?0:M);var z=c[3];if(z){var $=o[3];o[3]=$?ep($,z,c[4]):z,o[4]=$?Kn(o[3],d):c[4]}return z=c[5],z&&($=o[5],o[5]=$?np($,z,c[6]):z,o[6]=$?Kn(o[5],d):c[6]),z=c[7],z&&(o[7]=z),_&I&&(o[8]=o[8]==null?c[8]:Be(o[8],c[8])),o[9]==null&&(o[9]=c[9]),o[0]=c[0],o[1]=k,o}function E_(o){var c=[];if(o!=null)for(var f in ut(o))c.push(f);return c}function P_(o){return or.call(o)}function _p(o,c,f){return c=Ce(c===n?o.length-1:c,0),function(){for(var _=arguments,k=-1,P=Ce(_.length-c,0),L=O(P);++k<P;)L[k]=_[c+k];k=-1;for(var z=O(c+1);++k<c;)z[k]=_[k];return z[c]=f(L),Xe(o,this,z)}}function wp(o,c){return c.length<2?o:fr(o,kn(c,0,-1))}function M_(o,c){for(var f=o.length,_=Be(c.length,f),k=en(o);_--;){var P=c[_];o[_]=gi(P,f)?k[P]:n}return o}function dh(o,c){if(!(c==="constructor"&&typeof o[c]=="function")&&c!="__proto__")return o[c]}var xp=Tp(Vd),uo=qy||function(o,c){return Te.setTimeout(o,c)},ph=Tp(t_);function Sp(o,c,f){var _=c+"";return ph(o,x_(_,R_(y_(_),f)))}function Tp(o){var c=0,f=0;return function(){var _=Gy(),k=V-(_-f);if(f=_,k>0){if(++c>=U)return arguments[0]}else c=0;return o.apply(n,arguments)}}function ml(o,c){var f=-1,_=o.length,k=_-1;for(c=c===n?_:c;++f<c;){var P=Gu(f,k),L=o[P];o[P]=o[f],o[f]=L}return o.length=c,o}var Cp=k_(function(o){var c=[];return o.charCodeAt(0)===46&&c.push(""),o.replace($c,function(f,_,k,P){c.push(k?P.replace(qc,"$1"):_||f)}),c});function Qn(o){if(typeof o=="string"||mn(o))return o;var c=o+"";return c=="0"&&1/o==-K?"-0":c}function pr(o){if(o!=null){try{return sr.call(o)}catch{}try{return o+""}catch{}}return""}function R_(o,c){return Ye(xt,function(f){var _="_."+f[0];c&f[1]&&!Xr(o,_)&&o.push(_)}),o.sort()}function Op(o){if(o instanceof Dt)return o.clone();var c=new Cn(o.__wrapped__,o.__chain__);return c.__actions__=en(o.__actions__),c.__index__=o.__index__,c.__values__=o.__values__,c}function D_(o,c,f){(f?Je(o,c,f):c===n)?c=1:c=Ce(At(c),0);var _=o==null?0:o.length;if(!_||c<1)return[];for(var k=0,P=0,L=O(Za(_/c));k<_;)L[P++]=kn(o,k,k+=c);return L}function L_(o){for(var c=-1,f=o==null?0:o.length,_=0,k=[];++c<f;){var P=o[c];P&&(k[_++]=P)}return k}function I_(){var o=arguments.length;if(!o)return[];for(var c=O(o-1),f=arguments[0],_=o;_--;)c[_-1]=arguments[_];return Xn(kt(f)?en(f):[f],Fe(c,1))}var N_=Pt(function(o,c){return pe(o)?ro(o,Fe(c,1,pe,!0)):[]}),F_=Pt(function(o,c){var f=An(c);return pe(f)&&(f=n),pe(o)?ro(o,Fe(c,1,pe,!0),pt(f,2)):[]}),B_=Pt(function(o,c){var f=An(c);return pe(f)&&(f=n),pe(o)?ro(o,Fe(c,1,pe,!0),n,f):[]});function H_(o,c,f){var _=o==null?0:o.length;return _?(c=f||c===n?1:At(c),kn(o,c<0?0:c,_)):[]}function z_(o,c,f){var _=o==null?0:o.length;return _?(c=f||c===n?1:At(c),c=_-c,kn(o,0,c<0?0:c)):[]}function W_(o,c){return o&&o.length?ll(o,pt(c,3),!0,!0):[]}function j_(o,c){return o&&o.length?ll(o,pt(c,3),!0):[]}function $_(o,c,f,_){var k=o==null?0:o.length;return k?(f&&typeof f!="number"&&Je(o,c,f)&&(f=0,_=k),I0(o,c,f,_)):[]}function kp(o,c,f){var _=o==null?0:o.length;if(!_)return-1;var k=f==null?0:At(f);return k<0&&(k=Ce(_+k,0)),yt(o,pt(c,3),k)}function Ap(o,c,f){var _=o==null?0:o.length;if(!_)return-1;var k=_-1;return f!==n&&(k=At(f),k=f<0?Ce(_+k,0):Be(k,_-1)),yt(o,pt(c,3),k,!0)}function Ep(o){var c=o==null?0:o.length;return c?Fe(o,1):[]}function U_(o){var c=o==null?0:o.length;return c?Fe(o,K):[]}function V_(o,c){var f=o==null?0:o.length;return f?(c=c===n?1:At(c),Fe(o,c)):[]}function q_(o){for(var c=-1,f=o==null?0:o.length,_={};++c<f;){var k=o[c];_[k[0]]=k[1]}return _}function Pp(o){return o&&o.length?o[0]:n}function X_(o,c,f){var _=o==null?0:o.length;if(!_)return-1;var k=f==null?0:At(f);return k<0&&(k=Ce(_+k,0)),Yn(o,c,k)}function Y_(o){var c=o==null?0:o.length;return c?kn(o,0,-1):[]}var K_=Pt(function(o){var c=Kt(o,eh);return c.length&&c[0]===o[0]?Vu(c):[]}),G_=Pt(f
Line truncated
|
||||
`;o.replace(at,function(mt,Mt,It,vn,Ze,bn){return It||(It=vn),Q+=o.slice(G,bn).replace(Zc,Au),Mt&&(z=!0,Q+=`' +
|
||||
__e(`+Mt+`) +
|
||||
'`),Ze&&($=!0,Q+=`';
|
||||
`+Ze+`;
|
||||
__p += '`),It&&(Q+=`' +
|
||||
((__t = (`+It+`)) == null ? '' : __t) +
|
||||
'`),G=bn+mt.length,mt}),Q+=`';
|
||||
`;var gt=Ht.call(c,"variable")&&c.variable;if(!gt)Q=`with (obj) {
|
||||
`+Q+`
|
||||
}
|
||||
`;else if(Vc.test(gt))throw new Y(l);Q=($?Q.replace(Zi,""):Q).replace(Qi,"$1").replace(tr,"$1;"),Q="function("+(gt||"obj")+`) {
|
||||
`+(gt?"":`obj || (obj = {});
|
||||
`)+"var __t, __p = ''"+(z?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
||||
function print() { __p += __j.call(arguments, '') }
|
||||
`:`;
|
||||
`)+Q+`return __p
|
||||
}`;var Et=rg(function(){return rt(P,ft+"return "+Q).apply(n,L)});if(Et.source=Q,yh(Et))throw Et;return Et}function ZS(o){return Wt(o).toLowerCase()}function QS(o){return Wt(o).toUpperCase()}function tT(o,c,f){if(o=Wt(o),o&&(f||c===n))return Wa(o);if(!o||!(c=gn(c)))return o;var _=pn(o),k=pn(c),P=ja(_,k),L=$a(_,k)+1;return Bi(_,P,L).join("")}function eT(o,c,f){if(o=Wt(o),o&&(f||c===n))return o.slice(0,qa(o)+1);if(!o||!(c=gn(c)))return o;var _=pn(o),k=$a(_,pn(c))+1;return Bi(_,0,k).join("")}function nT(o,c,f){if(o=Wt(o),o&&(f||c===n))return o.replace(Ts,"");if(!o||!(c=gn(c)))return o;var _=pn(o),k=ja(_,pn(c));return Bi(_,k).join("")}function iT(o,c){var f=F,_=H;if(se(c)){var k="separator"in c?c.separator:k;f="length"in c?At(c.length):f,_="omission"in c?gn(c.omission):_}o=Wt(o);var P=o.length;if(Di(o)){var L=pn(o);P=L.length}if(f>=P)return o;var z=f-Li(_);if(z<1)return _;var $=L?Bi(L,0,z).join(""):o.slice(0,z);if(k===n)return $+_;if(L&&(z+=$.length-z),_h(k)){if(o.slice(z).search(k)){var G,J=$;for(k.global||(k=ee(k.source,Wt(fa.exec(k))+"g")),k.lastIndex=0;G=k.exec(J);)var Q=G.index;$=$.slice(0,Q===n?z:Q)}}else if(o.indexOf(gn(k),z)!=z){var at=$.lastIndexOf(k);at>-1&&($=$.slice(0,at))}return $+_}function rT(o){return o=Wt(o),o&&Br.test(o)?o.replace(er,Xa):o}var sT=is(function(o,c,f){return o+(f?" ":"")+c.toUpperCase()}),Sh=sp("toUpperCase");function ig(o,c,f){return o=Wt(o),c=f?n:c,c===n?Eu(o)?v(o):Su(o):o.match(c)||[]}var rg=Pt(function(o,c){try{return Xe(o,n,c)}catch(f){return yh(f)?f:new Y(f)}}),oT=pi(function(o,c){return Ye(c,function(f){f=Qn(f),fi(o,f,vh(o[f],o))}),o});function aT(o){var c=o==null?0:o.length,f=pt();return o=c?Kt(o,function(_){if(typeof _[1]!="function")throw new tn(a);return[f(_[0]),_[1]]}):[],Pt(function(_){for(var k=-1;++k<c;){var P=o[k];if(Xe(P[0],this,_))return Xe(P[1],this,_)}})}function lT(o){return D0(On(o,m))}function Th(o){return function(){return o}}function cT(o,c){return o==null||o!==o?c:o}var uT=ap(),hT=ap(!0);function sn(o){return o}function Ch(o){return Fd(typeof o=="function"?o:On(o,m))}function fT(o){return Hd(On(o,m))}function dT(o,c){return zd(o,On(c,m))}var pT=Pt(function(o,c){return function(f){return so(f,o,c)}}),gT=Pt(function(o,c){return function(f){return so(o,f,c)}});function Oh(o,c,f){var _=Ee(c),k=sl(c,_);f==null&&!(se(c)&&(k.length||!_.length))&&(f=c,c=o,o=this,k=sl(c,Ee(c)));var P=!(se(f)&&"chain"in f)||!!f.chain,L=mi(o);return Ye(k,function(z){var $=c[z];o[z]=$,L&&(o.prototype[z]=function(){var G=this.__chain__;if(P||G){var J=o(this.__wrapped__),Q=J.__actions__=en(this.__actions__);return Q.push({func:$,args:arguments,thisArg:o}),J.__chain__=G,J}return $.apply(o,Xn([this.value()],arguments))})}),o}function mT(){return Te._===this&&(Te._=Ys),this}function kh(){}function vT(o){return o=At(o),Pt(function(c){return Wd(c,o)})}var bT=rh(Kt),yT=rh(Is),_T=rh(Bs);function sg(o){return hh(o)?Hs(Qn(o)):G0(o)}function wT(o){return function(c){return o==null?n:fr(o,c)}}var xT=cp(),ST=cp(!0);function Ah(){return[]}function Eh(){return!1}function TT(){return{}}function CT(){return""}function OT(){return!0}function kT(o,c){if(o=At(o),o<1||o>ct)return[];var f=wt,_=Be(o,wt);c=pt(c),o-=wt;for(var k=$s(_,c);++f<o;)c(f);return k}function AT(o){return kt(o)?Kt(o,Qn):mn(o)?[o]:en(Cp(Wt(o)))}function ET(o){var c=++Nu;return Wt(o)+c}var PT=hl(function(o,c){return o+c},0),MT=sh("ceil"),RT=hl(function(o,c){return o/c},1),DT=sh("floor");function LT(o){return o&&o.length?rl(o,sn,Uu):n}function IT(o,c){return o&&o.length?rl(o,pt(c,2),Uu):n}function NT(o){return za(o,sn)}function FT(o,c){return za(o,pt(c,2))}function BT(o){return o&&o.length?rl(o,sn,Yu):n}function HT(o,c){return o&&o.length?rl(o,pt(c,2),Yu):n}var zT=hl(function(o,c){return o*c},1),WT=sh("round"),jT=hl(function(o,c){return o-c},0);function $T(o){return o&&o.length?js(o,sn):0}function UT(o,c){return o&&o.length?js(o,pt(c,2)):0}return E.after=fx,E.ary=Np,E.assign=Qx,E.assignIn=Gp,E.assignInWith=Tl,E.assignWith=tS,E.at=eS,E.before=Fp,E.bind=vh,E.bindAll=oT,E.bindKey=Bp,E.castArray=Tx,E.chain=Dp,E.chunk=D_,E.compact=L_,E.concat=I_,E.cond=aT,E.conforms=lT,E.constant=Th,E.countBy=$w,E.create=nS,E.curry=Hp,E.curryRight=zp,E.debounce=Wp,E.defaults=iS,E.defaultsDeep=rS,E.defer=dx,E.delay=px,E.difference=N_,E.differenceBy=F_,E.differenceWith=B_,E.drop=H_,E.dropRight=z_,E.dropRightWhile=W_,E.dropWhile=j_,E.fill=$_,E.filter=Vw,E.flatMap=Yw,E.flatMapDeep=Kw,E.flatMapDepth=Gw,E.flatten=Ep,E.flattenDeep=U_,E.flattenDepth=V_,E.flip=gx,E.flow=uT,E.flowRight=hT,E.fromPairs=q_,E.functions=hS,E.functionsIn=fS,E.groupBy=Jw,E.initial=Y_,E.intersection=K_,E.intersectionBy=G_,E.intersectionWith=J_,E.invert=pS,E.invertBy=gS,E.invokeMap=Qw,E.iteratee=Ch,E.keyBy=tx,E.keys=Ee,E.keysIn=rn,E.map=bl,E.mapKeys=vS,E.mapValues=bS,E.matches=fT,E.matchesProperty=dT,E.memoize=_l,E.merge=yS,E.mergeWith=Jp,E.method=pT,E.methodOf=gT,E.mixin=Oh,E.negate=wl,E.nthArg=vT,E.omit=_S,E.omitBy=wS,E.once=mx,E.orderBy=ex,E.over=bT,E.overArgs=vx,E.overEvery=yT,E.overSome=_T
Line truncated
|
||||
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim(),!(!n||t[n]&&iC[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},pg=Symbol("internals");function fo(e){return e&&String(e).trim().toLowerCase()}function Kl(e){return e===!1||e==null?e:X.isArray(e)?e.map(Kl):String(e)}function sC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const oC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mh(e,t,n,i,r){if(X.isFunction(i))return i.call(this,t,n);if(r&&(t=n),!!X.isString(t)){if(X.isString(i))return t.indexOf(i)!==-1;if(X.isRegExp(i))return i.test(t)}}function aC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function lC(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,s,a){return this[i].call(this,t,r,s,a)},configurable:!0})})}let cn=class{constructor(t){t&&this.set(t)}set(t,n,i){const r=this;function s(l,u,h){const d=fo(u);if(!d)throw new Error("header name must be a non-empty string");const m=X.findKey(r,d);(!m||r[m]===void 0||h===!0||h===void 0&&r[m]!==!1)&&(r[m||u]=Kl(l))}const a=(l,u)=>X.forEach(l,(h,d)=>s(h,d,u));if(X.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(X.isString(t)&&(t=t.trim())&&!oC(t))a(rC(t),n);else if(X.isObject(t)&&X.isIterable(t)){let l={},u,h;for(const d of t){if(!X.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[h=d[0]]=(u=l[h])?X.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}a(l,n)}else t!=null&&s(n,t,i);return this}get(t,n){if(t=fo(t),t){const i=X.findKey(this,t);if(i){const r=this[i];if(!n)return r;if(n===!0)return sC(r);if(X.isFunction(n))return n.call(this,r,i);if(X.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fo(t),t){const i=X.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Mh(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let r=!1;function s(a){if(a=fo(a),a){const l=X.findKey(i,a);l&&(!n||Mh(i,i[l],l,n))&&(delete i[l],r=!0)}}return X.isArray(t)?t.forEach(s):s(t),r}clear(t){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const s=n[i];(!t||Mh(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const n=this,i={};return X.forEach(this,(r,s)=>{const a=X.findKey(i,s);if(a){n[a]=Kl(r),delete n[s];return}const l=t?aC(s):String(s).trim();l!==s&&delete n[s],n[l]=Kl(r),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return X.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=t&&X.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(r=>i.set(r)),i}static accessor(t){const i=(this[pg]=this[pg]={accessors:{}}).accessors,r=this.prototype;function s(a){const l=fo(a);i[l]||(lC(r,a),i[l]=!0)}return X.isArray(t)?t.forEach(s):s(t),this}};cn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(cn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});X.freezeMethods(cn);function Rh(e,t){const n=this||na,i=t||n,r=cn.from(i.headers);let s=i.data;return X.forEach(e,function(l){s=l.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function tb(e){return!!(e&&e.__CANCEL__)}let ia=class extends bt{constructor(t,n,i){super(t??"canceled",bt.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function eb(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new bt("Request failed with status code "+n.status,[bt.ERR_BAD_REQUEST,bt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function cC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function uC(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r=0,s=0,a;return t=t!==void 0?t:1e3,function(u){const h=Date.now(),d=i[s];a||(a=h),n[r]=u,i[r]=h;let m=s,y=0;for(;m!==r;)y+=n[m++],m=m%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),h-a<t)return;const x=d&&h-d;return x?Math.round(y*1e3/x):void 0}}function hC(e,t){let n=0,i=1e3/t,r,s;const a=(h,d=Date.now())=>{n=d,r=null,s&&(clearTimeout(s),s=null),e(...h)};return[(...h)=>{const d=Date.now(),m=d-n;m>=i?a(h,d):(r=h,s||(s=setTimeout(()=>{s=null,a(r)},i-m)))},()=>r&&a(r)]}const cc=(e,t,n=3)=>{let i=0;const r=uC(50,250);return hC(s=>{const a=s.loaded,l=s.lengthComputable?s.total:void 0,u=a-i,h=r(u),d=a<=l;i=a;const m={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:h||void 0,estimated:h&&l&&d?(l-a)/h:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(m)},n)},gg=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},mg=e=>(...t)=>X.asap(()=>e(...t)),fC=je.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,je.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(je.origin),je.navigator&&/(msie|trident)/i.test(je.navigator.userAgent)):()=>!0,dC=je.hasStandardBrowserEnv?{write(e,t,n,i,r,s,a){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),X.isString(i)&&l.push(`path=${i}`),X.isString(r)&&l.push(`domain=${r}`),s===!0&&l.push("secure"),X.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function pC(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function nb(e,t,n){let i=!pC(t);return e&&(i||n==!1)?gC(e,t):t}const vg=e=>e instanceof cn?{...e}:e;function Mr(e,t){t=t||{};const n={};function i(h,d,m,y){return X.isPlainObject(h)&&X.isPlainObject(d)?X.merge.call({caseless:y},h,d):X.isPlainObject(d)?X.merge({},d):X.isArray(d)?d.slice():d}function r(h,d,m,y){if(X.isUndefined(d)){if(!X.isUndefined(h))return i(void 0,h,m,y)}else return i(h,d,m,y)}function s(h,d){if(!X.isUndefined(d))return i(void 0,d)}function a(h,d){if(X.isUndefined(d)){if(!X.isUndefined(h))return i(void 0,h)}else return i(void 0,d)}function l(h,d,m){if(m in t)return i(h,d);if(m in e)return i(void 0,h)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(h,d,m)=>r(vg(h),vg(d),m,!0)};return X.forEach(Object.keys({...e,...t}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const m=X.hasOwnProp(u,d)?u[d]:r,y=m(e[d],t[d],d);X.isUndefined(y)&&m!==l||(n[d]=y)}),n}const ib=e=>{const t=Mr({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=cn.from(a),t.url=Zv(nb(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(n)){if(je.hasStandardBrowserEnv||je.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(X.isFunction(n.getHeader
Line truncated
|
||||
`+a.map(Sg).join(`
|
||||
`):" "+Sg(a[0]):"as no adapter specified";throw new bt("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const sb={getAdapter:OC,adapters:Uf};function Dh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ia(null,e)}function Tg(e){return Dh(e),e.headers=cn.from(e.headers),e.data=Rh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sb.getAdapter(e.adapter||na.adapter,e)(e).then(function(i){return Dh(e),i.data=Rh.call(e,e.transformResponse,i),i.headers=cn.from(i.headers),i},function(i){return tb(i)||(Dh(e),i&&i.response&&(i.response.data=Rh.call(e,e.transformResponse,i.response),i.response.headers=cn.from(i.response.headers))),Promise.reject(i)})}const ob="1.13.6",Pc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Pc[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Cg={};Pc.transitional=function(t,n,i){function r(s,a){return"[Axios v"+ob+"] Transitional option '"+s+"'"+a+(i?". "+i:"")}return(s,a,l)=>{if(t===!1)throw new bt(r(a," has been removed"+(n?" in "+n:"")),bt.ERR_DEPRECATED);return n&&!Cg[a]&&(Cg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};Pc.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function kC(e,t,n){if(typeof e!="object")throw new bt("options must be an object",bt.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const s=i[r],a=t[s];if(a){const l=e[s],u=l===void 0||a(l,s,e);if(u!==!0)throw new bt("option "+s+" must be "+u,bt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new bt("Unknown option "+s,bt.ERR_BAD_OPTION)}}const Gl={assertOptions:kC,validators:Pc},Pn=Gl.validators;let kr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new dg,response:new dg}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?s&&!String(i.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
||||
`+s):i.stack=s}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Mr(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:s}=n;i!==void 0&&Gl.assertOptions(i,{silentJSONParsing:Pn.transitional(Pn.boolean),forcedJSONParsing:Pn.transitional(Pn.boolean),clarifyTimeoutError:Pn.transitional(Pn.boolean),legacyInterceptorReqResOrdering:Pn.transitional(Pn.boolean)},!1),r!=null&&(X.isFunction(r)?n.paramsSerializer={serialize:r}:Gl.assertOptions(r,{encode:Pn.function,serialize:Pn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Gl.assertOptions(n,{baseUrl:Pn.spelling("baseURL"),withXsrfToken:Pn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&X.merge(s.common,s[n.method]);s&&X.forEach(["delete","get","head","post","put","patch","common"],S=>{delete s[S]}),n.headers=cn.concat(a,s);const l=[];let u=!0;this.interceptors.request.forEach(function(C){if(typeof C.runWhen=="function"&&C.runWhen(n)===!1)return;u=u&&C.synchronous;const T=n.transitional||jf;T&&T.legacyInterceptorReqResOrdering?l.unshift(C.fulfilled,C.rejected):l.push(C.fulfilled,C.rejected)});const h=[];this.interceptors.response.forEach(function(C){h.push(C.fulfilled,C.rejected)});let d,m=0,y;if(!u){const S=[Tg.bind(this),void 0];for(S.unshift(...l),S.push(...h),y=S.length,d=Promise.resolve(n);m<y;)d=d.then(S[m++],S[m++]);return d}y=l.length;let x=n;for(;m<y;){const S=l[m++],C=l[m++];try{x=S(x)}catch(T){C.call(this,T);break}}try{d=Tg.call(this,x)}catch(S){return Promise.reject(S)}for(m=0,y=h.length;m<y;)d=d.then(h[m++],h[m++]);return d}getUri(t){t=Mr(this.defaults,t);const n=nb(t.baseURL,t.url,t.allowAbsoluteUrls);return Zv(n,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){kr.prototype[t]=function(n,i){return this.request(Mr(i||{},{method:t,url:n,data:(i||{}).data}))}});X.forEach(["post","put","patch"],function(t){function n(i){return function(s,a,l){return this.request(Mr(l||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}kr.prototype[t]=n(),kr.prototype[t+"Form"]=n(!0)});let AC=class ab{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const i=this;this.promise.then(r=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](r);i._listeners=null}),this.promise.then=r=>{let s;const a=new Promise(l=>{i.subscribe(l),s=l}).then(r);return a.cancel=function(){i.unsubscribe(s)},a},t(function(s,a,l){i.reason||(i.reason=new ia(s,a,l),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ab(function(r){t=r}),cancel:t}}};function EC(e){return function(n){return e.apply(null,n)}}function PC(e){return X.isObject(e)&&e.isAxiosError===!0}const hf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hf).forEach(([e,t])=>{hf[t]=e});function lb(e){const t=new kr(e),n=Wv(kr.prototype.request,t);return X.extend(n,kr.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return lb(Mr(e,r))},n}const ve=lb(na);ve.Axios=kr;ve.CanceledError=ia;ve.CancelToken=AC;ve.isCancel=tb;ve.VERSION=ob;
Line truncated
|
||||
|
||||
tabbable/dist/index.esm.js:
|
||||
(*!
|
||||
* tabbable 5.3.3
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*)
|
||||
|
||||
focus-trap/dist/focus-trap.esm.js:
|
||||
(*!
|
||||
* focus-trap 6.9.4
|
||||
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
||||
*)
|
||||
*/var jg="​";function Lh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function $g(e){return function(t){if(Array.isArray(t))return Lh(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Lh(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Lh(t,n)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var qi={isEnabled:function(){var e;return(e=window.TAGIFY_DEBUG)===null||e===void 0||e},log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i;this.isEnabled()&&(i=console).log.apply(i,["[Tagify]:"].concat($g(t)))},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i;this.isEnabled()&&(i=console).warn.apply(i,["[Tagify]:"].concat($g(t)))}},To=function(e,t,n,i){return e=""+e,t=""+t,i&&(e=e.trim(),t=t.trim()),n?e==t:e.toLowerCase()==t.toLowerCase()},Ug=function(e,t){return e&&Array.isArray(e)&&e.map(function(n){return mf(n,t)})};function mf(e,t){var n,i={};for(n in e)t.indexOf(n)<0&&(i[n]=e[n]);return i}function Ih(e){return new DOMParser().parseFromString(e.trim(),"text/html").body.firstElementChild}function Vg(e,t){for(t=t||"previous";e=e[t+"Sibling"];)if(e.nodeType==3)return e}function wr(e){return typeof e=="string"?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/`|'/g,"'"):e}function Wn(e){var t=Object.prototype.toString.call(e).split(" ")[1].slice(0,-1);return e===Object(e)&&t!="Array"&&t!="Function"&&t!="RegExp"&&t!="HTMLUnknownElement"}function Oe(e,t,n){var i,r;function s(a,l){for(var u in l)if(l.hasOwnProperty(u)){if(Wn(l[u])){Wn(a[u])?s(a[u],l[u]):a[u]=Object.assign({},l[u]);continue}if(Array.isArray(l[u])){a[u]=Object.assign([],l[u]);continue}a[u]=l[u]}}return i=e,((r=Object)!=null&&typeof Symbol<"u"&&r[Symbol.hasInstance]?r[Symbol.hasInstance](i):i instanceof r)||(e={}),s(e,t),n&&s(e,n),e}function qg(){var e=[],t={},n=!0,i=!1,r=void 0;try{for(var s,a=arguments[Symbol.iterator]();!(n=(s=a.next()).done);n=!0){var l=s.value,u=!0,h=!1,d=void 0;try{for(var m,y=l[Symbol.iterator]();!(u=(m=y.next()).done);u=!0){var x=m.value;Wn(x)?t[x.value]||(e.push(x),t[x.value]=1):e.includes(x)||e.push(x)}}catch(S){h=!0,d=S}finally{try{u||y.return==null||y.return()}finally{if(h)throw d}}}}catch(S){i=!0,r=S}finally{try{n||a.return==null||a.return()}finally{if(i)throw r}}return e}function Pl(e){return String.prototype.normalize?typeof e=="string"?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):void 0:e}var Xg=function(){return/(?=.*chrome)(?=.*android)/i.test(navigator.userAgent)};function Yg(){return("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})}function Tr(e){var t,n=Ob.call(this,e),i=e==null||(t=e.classList)===null||t===void 0?void 0:t.contains(this.settings.classNames.tag);return n&&i}function Kg(e){return Ob.call(this,e)&&(e==null?void 0:e.closest(this.settings.classNames.tagSelector))}function Ob(e){var t;return(e==null||(t=e.closest)===null||t===void 0?void 0:t.call(e,this.settings.classNames.namespaceSelector))===this.DOM.scope}function kb(e,t){var n=window.getSelection();return t=t||n.getRangeAt(0),typeof e=="string"&&(e=document.createTextNode(e)),t&&(t.deleteContents(),t.insertNode(e)),e}function Zt(e,t,n){return e?(t&&(e.__tagifyTagData=n?t:Oe({},e.__tagifyTagData||{},t)),e.__tagifyTagData):(qi.warn("tag element doesn't exist",{tagElm:e,data:t}),t)}function Wi(e){if(e&&e.parentNode){var t=e,n=window.getSelection(),i=n.getRangeAt(0);n.rangeCount&&(i.setStartAfter(t),i.collapse(!0),n.removeAllRanges(),n.addRange(i))}}function Ab(e,t){e.forEach(function(n){if(Zt(n.previousSibling)||!n.previousSibling){var i=document.createTextNode("");n.before(i),t&&Wi(i)}})}var Nh={delimiters:",",pattern:null,tagTextProp:"value",maxTags:1/0,callbacks:{},addTagOnBlur:!0,addTagOn:["blur","tab","enter"],onChangeAfterBlur:!0,duplicates:!1,whitelist:[],blacklist:[],enforceWhitelist:!1,userInput:!0,focusable:!0,focusInputOnRemove:!0,keepInvalidTags:!1,createInvalidTags:!0,mixTagsAllowedAfter:/,|\.|\:|\s/,mixTagsInterpolator:["[[","]]"],backspace:!0,skipInvalid:!1,pasteAsTags:!0,editTags:{clicks:2,keepInvalid:!0},transformTag:function(){},trim:!0,a11y:{focusableTags:!1},mixMode:{insertAfterTag:" "},autoComplete:{enabled:!0,rightKey:!1,tabKey:!1},classNames:{namespace:"tagify",mixMode:"tagify--mix",selectMode:"tagify--select",input:"tagify__input",focus:"tagify--focus",tagNoAnimation:"tagify--noAnim",tagInvalid:"tagify--invalid",tagNotAllowed:Line truncated
|
||||
`).concat(t.readonly?"readonly":"",`
|
||||
`).concat(t.disabled?"disabled":"",`
|
||||
`).concat(t.required?"required":"",`
|
||||
`).concat(t.mode==="select"?"spellcheck='false'":"",`
|
||||
tabIndex="-1">
|
||||
`).concat(this.settings.templates.input.call(this),`
|
||||
`).concat(jg,`
|
||||
</tags>`)},input:function(){var e=this.settings,t=e.placeholder||jg;return"<span ".concat(!e.readonly&&e.userInput?"contenteditable":"",' data-can-editable tabIndex="0" data-placeholder="').concat(t,'" aria-placeholder="').concat(e.placeholder||"",`"
|
||||
class="`).concat(e.classNames.input,`"
|
||||
role="textbox"
|
||||
autocapitalize="false"
|
||||
autocorrect="off"
|
||||
aria-autocomplete="both"
|
||||
aria-multiline="`).concat(e.mode=="mix",'"></span>')},tag:function(e,t){var n=t.settings;return'<tag title="'.concat(e.title||e.value,`"
|
||||
contenteditable='false'
|
||||
tabIndex="`).concat(n.a11y.focusableTags?0:-1,`"
|
||||
class="`).concat(n.classNames.tag," ").concat(e.class||"",`"
|
||||
`).concat(this.getAttributes(e),`>
|
||||
<x title='' tabIndex="`).concat(n.a11y.focusableTags?0:-1,'" class="').concat(n.classNames.tagX,`" role='button' aria-label='remove tag'></x>
|
||||
<div>
|
||||
<span `).concat(n.mode==="select"&&n.userInput?"contenteditable='true'":"",` autocapitalize="false" autocorrect="off" spellcheck='false' class="`).concat(n.classNames.tagText,'">').concat(e[n.tagTextProp]||e.value,`</span>
|
||||
</div>
|
||||
</tag>`)},dropdown:function(e){var t=e.dropdown,n=t.position=="manual";return'<div class="'.concat(n?"":e.classNames.dropdown," ").concat(t.classname,'" role="listbox" aria-labelledby="dropdown" dir="').concat(t.RTL?"rtl":"",`">
|
||||
<div data-selector='tagify-suggestions-wrapper' class="`).concat(e.classNames.dropdownWrapper,`"></div>
|
||||
</div>`)},dropdownContent:function(e){var t=this.settings.templates,n=this.state.dropdown.suggestions;return`
|
||||
`.concat(t.dropdownHeader.call(this,n),`
|
||||
`).concat(e,`
|
||||
`).concat(t.dropdownFooter.call(this,n),`
|
||||
`)},dropdownItem:function(e){return"<div ".concat(this.getAttributes(e),`
|
||||
class='`).concat(this.settings.classNames.dropdownItem," ").concat(this.isTagDuplicate(e.value)?this.settings.classNames.dropdownItemSelected:""," ").concat(e.class||"",`'
|
||||
tabindex="0"
|
||||
role="option">`).concat(e.mappedValue||e.value,"</div>")},dropdownHeader:function(e){return`<header data-selector='tagify-suggestions-header' class="`.concat(this.settings.classNames.dropdownHeader,'"></header>')},dropdownFooter:function(e){var t=e.length-this.settings.dropdown.maxItems;return t>0?`<footer data-selector='tagify-suggestions-footer' class="`.concat(this.settings.classNames.dropdownFooter,`">
|
||||
`).concat(t,` more items. Refine your search.
|
||||
</footer>`):""},dropdownItemNoMatch:null};function Gg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Jg(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function dk(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,i){var r=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(r!=null){var s,a,l=[],u=!0,h=!1;try{for(r=r.call(n);!(u=(s=r.next()).done)&&(l.push(s.value),!i||l.length!==i);u=!0);}catch(d){h=!0,a=d}finally{try{u||r.return==null||r.return()}finally{if(h)throw a}}return l}}(e,t)||function(n,i){if(n){if(typeof n=="string")return Gg(n,i);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gg(n,i)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zg(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function pk(e,t){return t=t??{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(n,i){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);r.push.apply(r,s)}return r}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Hh(e){return function(t){if(Array.isArray(t))return Bh(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Bh(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Bh(t,n)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var gk={customBinding:function(){var e=this;this.customEventsList.forEach(function(t){e.on(t,e.settings.callbacks[t])})},binding:function(){var e,t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],n=this.settings,i=this.events.callbacks,r=t?"addEventListener":"removeEventListener";if(!(this.state.mainEvents&&t||n.disabled||n.readonly)){for(var s in this.state.mainEvents=t,t&&!this.listeners.main&&(this.events.bindGlobal.call(this),this.settings.isJQueryPlugin&&jQuery(this.DOM.originalInput).on("tagify.removeAllTags",this.removeAllTags.bind(this))),e=this.listeners.main=this.listeners.main||{keydown:["input",i.onKeydown.bind(this)],click:["scope",i.onClickScope.bind(this)],dblclick:n.mode!="select"&&["scope",i.onDoubleClickScope.bind(this)],paste:["input",i.onPaste.bind(this)],drop:["input",i.onDrop.bind(this)],compositionstart:["input",i.onCompositionStart.bind(this)],compositionend:["input",i.onCompositionEnd.bind(this)]})e[s]&&this.DOM[e[s][0]][r](s,e[s][1]);var a=this.listeners.main.inputMutationObserver||new MutationObserver(i.onInputDOMChange.bind(this));a.disconnect(),n.mode=="mix"&&a.observe(this.DOM.input,{childList:!0}),this.events.bindOriginaInputListener.call(this)}},bindOriginaInputListener:function(e){var t=(e||0)+500;this.listeners.main&&(clearInterval(this.listeners.main.originalInputValueObserverInterval),this.listeners.main.originalInputValueObserverInterval=setInterval(this.events.callbacks.observeOriginalInputValue.bind(this),t))},bindGlobal:function(e){var t,n=this.events.callbacks,i=e?"removeEventListener":"addEventListener";if(this.listeners&&(e||!this.listeners.global)){this.listeners.global=this.listeners.global||[{type:this.isIE?"keydown":"input",target:this.DOM.input,cb:n[this.isIE?"onInputIE":"onInput"].bind(this)},{type:"keydown",target:window,cb:n.onWindowKeyDown.bind(this)},{type:"focusin",target:this.DOM.scope,cb:n.onFocusBlur.bind(this)},{type:"focusout",target:this.DOM.scope,cb:n.onFocusBlur.bind(this)},{type:"click",target:document,cb:n.onClickAnywhere.bind(this),useCapture:!0}];var r=!0,s=!1,a=void 0;try{for(var l,u=this.listeners.global[Symbol.iterator]();!(r=(l=u.next()).done);r=!0)(t=l.value).target[i](t.type,t.cb,!!t.useCapture)}catch(h){s=!0,a=h}finally{try{r||u.return==null||u.return()}finally{if(s)throw a}}}},unbindGlobal:function(){this.events.bindGlobal.call(this,!0)},callbacks:{onFocusBlur:function(e){var t,n,i=this.settings,r=Kg.call(this,e.relatedTarget),s=Tr.call(this,e.target),a=e.target.classList.contains(i.claLine truncated
|
||||
`)),(s=r).replaceWith.apply(s,Hh([a].concat(Hh(Hh(r.childNodes).slice(0,-1))))),Wi(a)}else if(Tr.call(t,r)){var l;if(((l=r.previousSibling)===null||l===void 0?void 0:l.nodeType)!=3||r.previousSibling.textContent||r.previousSibling.remove(),r.previousSibling&&r.previousSibling.nodeName=="BR"){r.previousSibling.replaceWith(`
|
||||
`);for(var u=r.nextSibling,h="";u;)h+=u.textContent,u=u.nextSibling;h.trim()&&Wi(r.previousSibling)}else r.previousSibling&&!Zt(r.previousSibling)||r.before("")}}),i.removedNodes.forEach(function(r){r&&r.nodeName=="BR"&&Tr.call(t,n)&&(t.removeTags(n),t.fixFirefoxLastTagNoCaret())})});var n=this.DOM.input.lastChild;n&&n.nodeValue==""&&n.remove(),n&&n.nodeName=="BR"||this.DOM.input.appendChild(document.createElement("br"))}}};function zh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function vf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Qg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){vf(e,r,n[r])})}return e}function Rl(e){return function(t){if(Array.isArray(t))return zh(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return zh(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return zh(t,n)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ql(e,t){if(!e){qi.warn("input element not found",e);var n=new Proxy(this,{get:function(){return function(){return n}}});return n}if(e.__tagify)return qi.warn("input element is already Tagified - Same instance is returned.",e),e.__tagify;var i;Oe(this,function(r){var s=document.createTextNode(""),a={};function l(u,h,d){d&&h.split(/\s+/g).forEach(function(m){return s[u+"EventListener"].call(s,m,d)})}return{removeAllCustomListeners:function(){Object.entries(a).forEach(function(u){var h=dk(u,2),d=h[0];h[1].forEach(function(m){return l("remove",d,m)})}),a={}},off:function(u,h){return u&&(h?l("remove",u,h):u.split(/\s+/g).forEach(function(d){var m;(m=a[d])===null||m===void 0||m.forEach(function(y){return l("remove",d,y)}),delete a[d]})),this},on:function(u,h){return h&&typeof h=="function"&&(u.split(/\s+/g).forEach(function(d){Array.isArray(a[d])?a[d].push(h):a[d]=[h]}),l("add",u,h)),this},trigger:function(u,h,d){var m;if(d=d||{cloneData:!0},u)if(r.settings.isJQueryPlugin)u=="remove"&&(u="removeTag"),jQuery(r.DOM.originalInput).triggerHandler(u,[h]);else{try{var y=typeof h=="object"?h:{value:h};if((y=d.cloneData?Oe({},y):y).tagify=this,h.event&&(y.event=this.cloneEvent(h.event)),Jg(h,Object))for(var x in h)Jg(h[x],HTMLElement)&&(y[x]=h[x]);m=new CustomEvent(u,{detail:y})}catch(S){qi.warn(S)}s.dispatchEvent(m)}}}}(this)),this.isFirefox=/firefox|fxios/i.test(navigator.userAgent)&&!/seamonkey/i.test(navigator.userAgent),this.isIE=window.document.documentMode,t=t||{},this.getPersistedData=(i=t.id,function(r){var s;if(i){var a,l="/"+r;if(((s=localStorage)===null||s===void 0?void 0:s.getItem(mo+i+"/v"))===1)try{a=JSON.parse(localStorage[mo+i+l])}catch{}return a}}),this.setPersistedData=function(r){var s;return r?((s=localStorage)===null||s===void 0||s.setItem(mo+r+"/v",1),function(a,l){var u,h="/"+l,d=JSON.stringify(a);a&&l&&((u=localStorage)===null||u===void 0||u.setItem(mo+r+h,d),dispatchEvent(new Event("storage")))}):function(){}}(t.id),this.clearPersistedData=function(r){return function(s){var a=mo+"/"+r+"/";if(s)localStorage.removeItem(a+s);else for(var l in localStorage)l.includes(a)&&localStorage.removeItem(l)}}(t.id),this.applySettings(e,t),this.state={inputText:"",editing:!1,composing:!1,actions:{},mixMode:{},dropdown:{},flaggedTags:{}},this.value=[],this.listeners={},this.DOM={},this.build(e),ck.call(this),this.getCSSVars(),this.loadOriginalValues(),this.events.customBinding.call(this),this.events.binding.call(this),e.autofocus&&this.DOM.input.focus(),e.__tagify=this}Ql.prototype={_dropdown:uk,placeCaretAfterNode:Wi,getSetTagData:Zt,helpers:{sameStr:To,removeCollectionProp:Ug,omit:mf,isObject:Wn,parseHTML:Ih,escapeHTML:wr,extend:Oe,concatWithoutDups:qg,getUID:Yg,isNodeTag:Tr},customEventsList:["change","add","remove","invalid","input","paste","click","keydown","focus","blur","edit:input","edit:beforeUpdate","edit:updated","edit:start","edit:keydown","dropdown:show","dropdown:hide","dropdown:select","dropdown:updated","dropdown:noMatch","dropdown:scroll"],dataProps:["__isValid","__removed","__originalData","__originalHTML","__tagId"],trim:function(e){return this.settings.trim&&e&&typeof e=="string"?e.trim():e},parseHTML:Ih,templates:fk,parseTemplate:function(e,t){return Ih((e=this.
Line truncated
|
||||
`);try{i=i.replace(/(?:\r\n|\r|\n)/g,this.settings.delimiters.source.charAt(0))}catch{}return i=i.replace(/\s/g," "),t!=null&&t.trim?this.trim(i):i},autocomplete:{suggest:function(e){if(this.settings.autoComplete.enabled){typeof(e=e||{value:""})!="object"&&(e={value:e});var t=this.dropdown.getMappedValue(e);if(typeof t!="number"){var n=this.state.inputText.toLowerCase(),i=t.substr(0,this.state.inputText.length).toLowerCase(),r=t.substring(this.state.inputText.length);t&&this.state.inputText&&i==n?(this.DOM.input.setAttribute("data-suggest",r),this.state.inputSuggestion=e):(this.DOM.input.removeAttribute("data-suggest"),delete this.state.inputSuggestion)}}},set:function(e){var t=this.DOM.input.getAttribute("data-suggest"),n=e||(t?this.state.inputText+t:null);return!!n&&(this.settings.mode=="mix"?this.replaceTextWithNode(document.createTextNode(this.state.tag.prefix+n)):(this.input.set.call(this,n),this.setRangeAtStartEnd(!1,this.DOM.input)),this.input.autocomplete.suggest.call(this),this.dropdown.hide(),!0)}}},getTagIdx:function(e){return this.value.findIndex(function(t){return t.__tagId==(e||{}).__tagId})},getNodeIndex:function(e){var t=0;if(e)for(;e=e.previousElementSibling;)t++;return t},getTagElms:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i="."+Rl(this.settings.classNames.tag.split(" ")).concat(Rl(t)).join(".");return[].slice.call(this.DOM.scope.querySelectorAll(i))},getLastTag:function(){var e=this.settings.classNames,t=this.DOM.scope.querySelectorAll("".concat(e.tagSelector,":not(.").concat(e.tagHide,"):not([readonly])"));return t[t.length-1]},isTagDuplicate:function(e,t,n){var i=0,r=!0,s=!1,a=void 0;try{for(var l,u=this.value[Symbol.iterator]();!(r=(l=u.next()).done);r=!0){var h=l.value;To(this.trim(""+e),h.value,t)&&n!=h.__tagId&&i++}}catch(d){s=!0,a=d}finally{try{r||u.return==null||u.return()}finally{if(s)throw a}}return i},getTagIndexByValue:function(e){var t=this,n=[],i=this.settings.dropdown.caseSensitive;return this.getTagElms().forEach(function(r,s){r.__tagifyTagData&&To(t.trim(r.__tagifyTagData.value),e,i)&&n.push(s)}),n},getTagElmByValue:function(e){var t=this.getTagIndexByValue(e)[0];return this.getTagElms()[t]},flashTag:function(e){var t=this;e&&(e.classList.add(this.settings.classNames.tagFlash),setTimeout(function(){e.classList.remove(t.settings.classNames.tagFlash)},100))},isTagBlacklisted:function(e){return e=this.trim(e.toLowerCase()),this.settings.blacklist.filter(function(t){return(""+t).toLowerCase()==e}).length},isTagWhitelisted:function(e){return!!this.getWhitelistItem(e)},getWhitelistItem:function(e,t,n){t=t||"value";var i,r=this.settings;return(n=n||r.whitelist).some(function(s){var a=typeof s=="object"?s[t]||s.value:s;if(To(a,e,r.dropdown.caseSensitive,r.trim))return i=typeof s=="object"?s:{value:s},!0}),i||t!="value"||r.tagTextProp=="value"||(i=this.getWhitelistItem(e,r.tagTextProp,n)),i},validateTag:function(e){var t=this.settings,n="value"in e?"value":t.tagTextProp,i=this.trim(e[n]+"");return(e[n]+"").trim()?t.mode!="mix"&&t.pattern&&yi(t.pattern,RegExp)&&!t.pattern.test(i)?this.TEXTS.pattern:!t.duplicates&&this.isTagDuplicate(i,t.dropdown.caseSensitive,e.__tagId)?this.TEXTS.duplicate:this.isTagBlacklisted(i)||t.enforceWhitelist&&!this.isTagWhitelisted(i)?this.TEXTS.notAllowed:!t.validate||t.validate(e):this.TEXTS.empty},getInvalidTagAttrs:function(e,t){return{"aria-invalid":!0,class:"".concat(e.class||""," ").concat(this.settings.classNames.tagNotAllowed).trim(),title:t}},hasMaxTags:function(){return this.value.length>=this.settings.maxTags&&this.TEXTS.exceed},setReadonly:function(e,t){var n=this.settings;this.DOM.scope.contains(document.activeElement)&&document.activeElement.blur(),n[t||"readonly"]=e,this.DOM.scope[(e?"set":"remove")+"Attribute"](t||"readonly",!0),this.settings.userInput=!0,this.setContentEditable(!e)},setContentEditable:function(e){this.DOM.scope.querySelectorAll("[data-can-editable]").forEach(function(t){t.contentEditable=e,t.tabIndex=e?0:-1})},setDisabled:function(e){this.setReadonly(e,"disabled")},normalizeTags:function(e){var t=this,n=this.settings,i=n.whitelist,r=n.delimiters,s=n.mode,a=n.tagTextProp,l=[],u=!!i&&yi(i[0],Object),h=Array.isArray(e),d=h&&e[0].value,m=function(y){return(y+"").split(r).reduce(function(x,S){var C,T=t.trim(S);return T&&x.push((vf(C={},a,T),vf(C,"value",T),C)),x},[])};if(typeof e=="number"&&(e=e.toString()),typeof e=="string"){if(!e.trim())return[];e=m(e)}else h&&(e=e.reduce(function(y,x){if(Wn(x)){var S=Oe({},x);a in S||(a="value"),S[a]=t.trim(S[a]),(S[a]||S[a]===0)&&y.push(S)}else if(x!=null&&x!==""&&x!==void 0){var C;(C=y).push.apply(C,Rl(m(x)))}return y},[]));return u&&!d&&(e.forEach(function(y){var x=l.map(function(T){return T.value}),S=t.dropdown.filterListItems.call(t,y[a],{exact:!0});t.settings.duplicates||(S=S.filter(function(T){return!x.includes(T.value)}));var C=S.length>1?t.getWhitelistItem(y[a],a,S):S[0];C&&yi(C,Object)?l.push(C):s!="mix"&&(y.value==null&&(y.value=y[
Line truncated
|
||||
`),u&&Tr.call(t,l)){if(u.__removed)return;e+=r[0]+i(mf(u,t.dataProps))+r[1]}else l.getAttribute("style")||["B","I","U"].includes(l.tagName)?e+=l.textContent:l.tagName!="DIV"&&l.tagName!="P"||(e+=`\r
|
||||
`,s(l))}else e+=l.textContent})}(this.DOM.input),e}},Ql.prototype.removeTag=Ql.prototype.removeTags;function Io(e){"@babel/helpers - typeof";return Io=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Io(e)}function Me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mk(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Re(e,t,n){return t&&mk(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $o(){return $o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$o.apply(this,arguments)}function fn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bf(e,t)}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function bf(e,t){return bf=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},bf(e,t)}function vk(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yk(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bk(e)}function dn(e){var t=vk();return function(){var i=dc(e),r;if(t){var s=dc(this).constructor;r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments);return yk(this,r)}}var Zf=function(){function e(){Me(this,e)}return Re(e,[{key:"listenForWhisper",value:function(n,i){return this.listen(".client-"+n,i)}},{key:"notification",value:function(n){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",n)}},{key:"stopListeningForWhisper",value:function(n,i){return this.stopListening(".client-"+n,i)}}]),e}(),Eb=function(){function e(t){Me(this,e),this.namespace=t}return Re(e,[{key:"format",value:function(n){return[".","\\"].includes(n.charAt(0))?n.substring(1):(this.namespace&&(n=this.namespace+"."+n),n.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(n){this.namespace=n}}]),e}();function _k(e){try{new e}catch(t){if(t.message.includes("is not a constructor"))return!1}return!0}var Qf=function(e){fn(n,e);var t=dn(n);function n(i,r,s){var a;return Me(this,n),a=t.call(this),a.name=r,a.pusher=i,a.options=s,a.eventFormatter=new Eb(a.options.namespace),a.subscribe(),a}return Re(n,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(r,s){return this.on(this.eventFormatter.format(r),s),this}},{key:"listenToAll",value:function(r){var s=this;return this.subscription.bind_global(function(a,l){if(!a.startsWith("pusher:")){var u=s.options.namespace.replace(/\./g,"\\"),h=a.startsWith(u)?a.substring(u.length+1):"."+a;r(h,l)}}),this}},{key:"stopListening",value:function(r,s){return s?this.subscription.unbind(this.eventFormatter.format(r),s):this.subscription.unbind(this.eventFormatter.format(r)),this}},{key:"stopListeningToAll",value:function(r){return r?this.subscription.unbind_global(r):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(r){return this.on("pusher:subscription_succeeded",function(){r()}),this}},{key:"error",value:function(r){return this.on("pusher:subscription_error",function(s){r(s)}),this}},{key:"on",value:function(r,s){return this.subscription.bind(r,s),this}}]),n}(Zf),Pb=function(e){fn(n,e);var t=dn(n);function n(){return Me(this,n),t.apply(this,arguments)}return Re(n,[{key:"whisper",value:function(r,s){return this.pusher.channels.channels[this.name].trigger("client-".concat(r),s),this}}]),n}(Qf),wk=function(e){fn(n,e);var t=dn(n);function n(){return Me(this,n),t.apply(this,arguments)}return Re(n,[{key:"whisper",value:function(r,s){return this.pusher.channels.channels[this.name].trigger("client-".concat(r),s),this}}]),n}(Qf),xk=function(e){fn(n,e);var t=dn(n);function n(){return Me(this,n),t.apply(this,arguments)}return Re(n,[{key:"here",value:function(r){return this.on("pusher:subscription_succeeded",function(s){r(Object.keys(s.members).map(function(a){return s.members[a]}))}),this}},{key:"joining",value:function(r){return this.on("pusher:member_added",function(s){r(
Line truncated
|
||||
* Pusher JavaScript Library v7.6.0
|
||||
* https://pusher.com/
|
||||
*
|
||||
* Copyright 2020, Pusher
|
||||
* Released under the MIT licence.
|
||||
*/var nm;function Ak(){return nm||(nm=1,function(e,t){(function(i,r){e.exports=r()})(window,function(){return function(n){var i={};function r(s){if(i[s])return i[s].exports;var a=i[s]={i:s,l:!1,exports:{}};return n[s].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=n,r.c=i,r.d=function(s,a,l){r.o(s,a)||Object.defineProperty(s,a,{enumerable:!0,get:l})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,a){if(a&1&&(s=r(s)),a&8||a&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),a&2&&typeof s!="string")for(var u in s)r.d(l,u,(function(h){return s[h]}).bind(null,u));return l},r.n=function(s){var a=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(a,"a",a),a},r.o=function(s,a){return Object.prototype.hasOwnProperty.call(s,a)},r.p="",r(r.s=2)}([function(n,i,r){var s=this&&this.__extends||function(){var C=function(T,A){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,B){M.__proto__=B}||function(M,B){for(var D in B)B.hasOwnProperty(D)&&(M[D]=B[D])},C(T,A)};return function(T,A){C(T,A);function M(){this.constructor=T}T.prototype=A===null?Object.create(A):(M.prototype=A.prototype,new M)}}();Object.defineProperty(i,"__esModule",{value:!0});var a=256,l=function(){function C(T){T===void 0&&(T="="),this._paddingCharacter=T}return C.prototype.encodedLength=function(T){return this._paddingCharacter?(T+2)/3*4|0:(T*8+5)/6|0},C.prototype.encode=function(T){for(var A="",M=0;M<T.length-2;M+=3){var B=T[M]<<16|T[M+1]<<8|T[M+2];A+=this._encodeByte(B>>>3*6&63),A+=this._encodeByte(B>>>2*6&63),A+=this._encodeByte(B>>>1*6&63),A+=this._encodeByte(B>>>0*6&63)}var D=T.length-M;if(D>0){var B=T[M]<<16|(D===2?T[M+1]<<8:0);A+=this._encodeByte(B>>>3*6&63),A+=this._encodeByte(B>>>2*6&63),D===2?A+=this._encodeByte(B>>>1*6&63):A+=this._paddingCharacter||"",A+=this._paddingCharacter||""}return A},C.prototype.maxDecodedLength=function(T){return this._paddingCharacter?T/4*3|0:(T*6+7)/8|0},C.prototype.decodedLength=function(T){return this.maxDecodedLength(T.length-this._getPaddingLength(T))},C.prototype.decode=function(T){if(T.length===0)return new Uint8Array(0);for(var A=this._getPaddingLength(T),M=T.length-A,B=new Uint8Array(this.maxDecodedLength(M)),D=0,R=0,N=0,I=0,j=0,q=0,F=0;R<M-4;R+=4)I=this._decodeChar(T.charCodeAt(R+0)),j=this._decodeChar(T.charCodeAt(R+1)),q=this._decodeChar(T.charCodeAt(R+2)),F=this._decodeChar(T.charCodeAt(R+3)),B[D++]=I<<2|j>>>4,B[D++]=j<<4|q>>>2,B[D++]=q<<6|F,N|=I&a,N|=j&a,N|=q&a,N|=F&a;if(R<M-1&&(I=this._decodeChar(T.charCodeAt(R)),j=this._decodeChar(T.charCodeAt(R+1)),B[D++]=I<<2|j>>>4,N|=I&a,N|=j&a),R<M-2&&(q=this._decodeChar(T.charCodeAt(R+2)),B[D++]=j<<4|q>>>2,N|=q&a),R<M-3&&(F=this._decodeChar(T.charCodeAt(R+3)),B[D++]=q<<6|F,N|=F&a),N!==0)throw new Error("Base64Coder: incorrect characters for decoding");return B},C.prototype._encodeByte=function(T){var A=T;return A+=65,A+=25-T>>>8&6,A+=51-T>>>8&-75,A+=61-T>>>8&-15,A+=62-T>>>8&3,String.fromCharCode(A)},C.prototype._decodeChar=function(T){var A=a;return A+=(42-T&T-44)>>>8&-a+T-43+62,A+=(46-T&T-48)>>>8&-a+T-47+63,A+=(47-T&T-58)>>>8&-a+T-48+52,A+=(64-T&T-91)>>>8&-a+T-65+0,A+=(96-T&T-123)>>>8&-a+T-97+26,A},C.prototype._getPaddingLength=function(T){var A=0;if(this._paddingCharacter){for(var M=T.length-1;M>=0&&T[M]===this._paddingCharacter;M--)A++;if(T.length<4||A>2)throw new Error("Base64Coder: incorrect padding")}return A},C}();i.Coder=l;var u=new l;function h(C){return u.encode(C)}i.encode=h;function d(C){return u.decode(C)}i.decode=d;var m=function(C){s(T,C);function T(){return C!==null&&C.apply(this,arguments)||this}return T.prototype._encodeByte=function(A){var M=A;return M+=65,M+=25-A>>>8&6,M+=51-A>>>8&-75,M+=61-A>>>8&-13,M+=62-A>>>8&49,String.fromCharCode(M)},T.prototype._decodeChar=function(A){var M=a;return M+=(44-A&A-46)>>>8&-a+A-45+62,M+=(94-A&A-96)>>>8&-a+A-95+63,M+=(47-A&A-58)>>>8&-a+A-48+52,M+=(64-A&A-91)>>>8&-a+A-65+0,M+=(96-A&A-123)>>>8&-a+A-97+26,M},T}(l);i.URLSafeCoder=m;var y=new m;function x(C){return y.encode(C)}i.encodeURLSafe=x;function S(C){return y.decode(C)}i.decodeURLSafe=S,i.encodedLength=function(C){return u.encodedLength(C)},i.maxDecodedLength=function(C){return u.maxDecodedLength(C)},i.decodedLength=function(C){return u.decodedLength(C)}},function(n,i,r){Object.defineProperty(i,"__esModule",{value:!0});var s="utf8: invalid string",a="utf8: invalid source encoding";function l(d){for(var m=new Uint8Array(u(d)),y=0,x=0;x<d.length;x++){var S=d.charCodeAt(x);S<128?m[y++]=S:S<2048?(m[y++]=192|S>>6,m[y++]=128|S&63):S<55296?(m[y++]=224|S>>12,m[y++]=128|S>>6&63,m[y++]=128|S&63):(x++,S=(S&1023)<<10,S|=d.charCodeAt(x)&1023,S+=65536,m[y++]=240|S>>18,m[y++]=128|S>>12&63,m[y++]=128|S>>6&63,m[y++]=128|S&63)}return m}i.encode=l;function u(d){for(var m=0,y=0;y<d.length;y++Line truncated
|
||||
`);return w!==-1?(this.position+=w+1,b.slice(0,w)):null},p.prototype.isBufferTooLong=function(g){return this.position===g.length&&g.length>Qe},p}(Sn),La=Da,qr;(function(v){v[v.CONNECTING=0]="CONNECTING",v[v.OPEN=1]="OPEN",v[v.CLOSED=3]="CLOSED"})(qr||(qr={}));var Vn=qr,Ia=1,Na=function(){function v(p,g){this.hooks=p,this.session=Is(1e3)+"/"+qn(8),this.location=Xe(g),this.readyState=Vn.CONNECTING,this.openStream()}return v.prototype.send=function(p){return this.sendRaw(JSON.stringify([p]))},v.prototype.ping=function(){this.hooks.sendHeartbeat(this)},v.prototype.close=function(p,g){this.onClose(p,g,!0)},v.prototype.sendRaw=function(p){if(this.readyState===Vn.OPEN)try{return yt.createSocketRequest("POST",Ye(yu(this.location,this.session))).start(p),!0}catch{return!1}else return!1},v.prototype.reconnect=function(){this.closeStream(),this.openStream()},v.prototype.onClose=function(p,g,b){this.closeStream(),this.readyState=Vn.CLOSED,this.onclose&&this.onclose({code:p,reason:g,wasClean:b})},v.prototype.onChunk=function(p){if(p.status===200){this.readyState===Vn.OPEN&&this.onActivity();var g,b=p.data.slice(0,1);switch(b){case"o":g=JSON.parse(p.data.slice(1)||"{}"),this.onOpen(g);break;case"a":g=JSON.parse(p.data.slice(1)||"[]");for(var w=0;w<g.length;w++)this.onEvent(g[w]);break;case"m":g=JSON.parse(p.data.slice(1)||"null"),this.onEvent(g);break;case"h":this.hooks.onHeartbeat(this);break;case"c":g=JSON.parse(p.data.slice(1)||"[]"),this.onClose(g[0],g[1],!0);break}}},v.prototype.onOpen=function(p){this.readyState===Vn.CONNECTING?(p&&p.hostname&&(this.location.base=_u(this.location.base,p.hostname)),this.readyState=Vn.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},v.prototype.onEvent=function(p){this.readyState===Vn.OPEN&&this.onmessage&&this.onmessage({data:p})},v.prototype.onActivity=function(){this.onactivity&&this.onactivity()},v.prototype.onError=function(p){this.onerror&&this.onerror(p)},v.prototype.openStream=function(){var p=this;this.stream=yt.createSocketRequest("POST",Ye(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(g){p.onChunk(g)}),this.stream.bind("finished",function(g){p.hooks.onFinished(p,g)}),this.stream.bind("buffer_too_long",function(){p.reconnect()});try{this.stream.start()}catch(g){Ot.defer(function(){p.onError(g),p.onClose(1006,"Could not start streaming",!1)})}},v.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},v}();function Xe(v){var p=/([^\?]*)\/*(\??.*)/.exec(v);return{base:p[1],queryString:p[2]}}function yu(v,p){return v.base+"/"+p+"/xhr_send"}function Ye(v){var p=v.indexOf("?")===-1?"?":"&";return v+p+"t="+ +new Date+"&n="+Ia++}function _u(v,p){var g=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(v);return g[1]+p+g[3]}function Is(v){return yt.randomInt(v)}function qn(v){for(var p=[],g=0;g<v;g++)p.push(Is(32).toString(32));return p.join("")}var Xr=Na,Ns={getReceiveURL:function(v,p){return v.base+"/"+p+"/xhr_streaming"+v.queryString},onHeartbeat:function(v){v.sendRaw("[]")},sendHeartbeat:function(v){v.sendRaw("[]")},onFinished:function(v,p){v.onClose(1006,"Connection interrupted ("+p+")",!1)}},Kt=Ns,Xn={getReceiveURL:function(v,p){return v.base+"/"+p+"/xhr"+v.queryString},onHeartbeat:function(){},sendHeartbeat:function(v){v.sendRaw("[]")},onFinished:function(v,p){p===200?v.reconnect():v.onClose(1006,"Connection interrupted ("+p+")",!1)}},Fs=Xn,wu={getRequest:function(v){var p=yt.getXHRAPI(),g=new p;return g.onreadystatechange=g.onprogress=function(){switch(g.readyState){case 3:g.responseText&&g.responseText.length>0&&v.onChunk(g.status,g.responseText);break;case 4:g.responseText&&g.responseText.length>0&&v.onChunk(g.status,g.responseText),v.emit("finished",g.status),v.close();break}},g},abortRequest:function(v){v.onreadystatechange=null,v.abort()}},Bs=wu,xu={createStreamingSocket:function(v){return this.createSocket(Kt,v)},createPollingSocket:function(v){return this.createSocket(Fs,v)},createSocket:function(v,p){return new Xr(v,p)},createXHR:function(v,p){return this.createRequest(Bs,v,p)},createRequest:function(v,p,g){return new La(v,p,g)}},Fa=xu;Fa.createXDR=function(v,p){return this.createRequest(Ra,v,p)};var Su=Fa,Ba={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:a,DependenciesReceivers:m,getDefaultStrategy:Te,Transports:Kc,transportConnectionInitializer:Ds,HTTPFactory:Su,TimelineTransport:Ne,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(v){var p=this;window.Pusher=v;var g=function(){p.onDocumentBody(v.ready)};window.JSON?g():y.load("json2",{},g)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:U,jsonp:ht}},onDocumentBody:function(v){var p=this;document.body?v():setTimeout(function(){p.onDocumentBody(v)},0)},createJSONPRequest:function(v,p){return new de(v,p)},c
Line truncated
|
||||
* @kurkle/color v0.3.4
|
||||
* https://github.com/kurkle/color#readme
|
||||
* (c) 2024 Jukka Kurkela
|
||||
* Released under the MIT License
|
||||
*/function oa(e){return e+.5|0}const ji=(e,t,n)=>Math.max(Math.min(e,n),t);function Co(e){return ji(oa(e*2.55),0,255)}function Xi(e){return ji(oa(e*255),0,255)}function Si(e){return ji(oa(e/2.55)/100,0,1)}function im(e){return ji(oa(e*100),0,100)}const Mn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},yf=[..."0123456789ABCDEF"],Mk=e=>yf[e&15],Rk=e=>yf[(e&240)>>4]+yf[e&15],Dl=e=>(e&240)>>4===(e&15),Dk=e=>Dl(e.r)&&Dl(e.g)&&Dl(e.b)&&Dl(e.a);function Lk(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Mn[e[1]]*17,g:255&Mn[e[2]]*17,b:255&Mn[e[3]]*17,a:t===5?Mn[e[4]]*17:255}:(t===7||t===9)&&(n={r:Mn[e[1]]<<4|Mn[e[2]],g:Mn[e[3]]<<4|Mn[e[4]],b:Mn[e[5]]<<4|Mn[e[6]],a:t===9?Mn[e[7]]<<4|Mn[e[8]]:255})),n}const Ik=(e,t)=>e<255?t(e):"";function Nk(e){var t=Dk(e)?Mk:Rk;return e?"#"+t(e.r)+t(e.g)+t(e.b)+Ik(e.a,t):void 0}const Fk=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lb(e,t,n){const i=t*Math.min(n,1-n),r=(s,a=(s+e/30)%12)=>n-i*Math.max(Math.min(a-3,9-a,1),-1);return[r(0),r(8),r(4)]}function Bk(e,t,n){const i=(r,s=(r+e/60)%6)=>n-n*t*Math.max(Math.min(s,4-s,1),0);return[i(5),i(3),i(1)]}function Hk(e,t,n){const i=Lb(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)i[r]*=1-t-n,i[r]+=t;return i}function zk(e,t,n,i,r){return e===r?(t-n)/i+(t<n?6:0):t===r?(n-e)/i+2:(e-t)/i+4}function ed(e){const n=e.r/255,i=e.g/255,r=e.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),l=(s+a)/2;let u,h,d;return s!==a&&(d=s-a,h=l>.5?d/(2-s-a):d/(s+a),u=zk(n,i,r,d,s),u=u*60+.5),[u|0,h||0,l]}function nd(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(Xi)}function id(e,t,n){return nd(Lb,e,t,n)}function Wk(e,t,n){return nd(Hk,e,t,n)}function jk(e,t,n){return nd(Bk,e,t,n)}function Ib(e){return(e%360+360)%360}function $k(e){const t=Fk.exec(e);let n=255,i;if(!t)return;t[5]!==i&&(n=t[6]?Co(+t[5]):Xi(+t[5]));const r=Ib(+t[2]),s=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?i=Wk(r,s,a):t[1]==="hsv"?i=jk(r,s,a):i=id(r,s,a),{r:i[0],g:i[1],b:i[2],a:n}}function Uk(e,t){var n=ed(e);n[0]=Ib(n[0]+t),n=id(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Vk(e){if(!e)return;const t=ed(e),n=t[0],i=im(t[1]),r=im(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${r}%, ${Si(e.a)})`:`hsl(${n}, ${i}%, ${r}%)`}const rm={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},sm={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function qk(){const e={},t=Object.keys(sm),n=Object.keys(rm);let i,r,s,a,l;for(i=0;i<t.length;i++){for(a=l=t[i],r=0;r<n.length;r++)s=n[r]Line truncated
|
||||
* Chart.js v4.5.0
|
||||
* https://www.chartjs.org
|
||||
* (c) 2025 Chart.js Contributors
|
||||
* Released under the MIT License
|
||||
*/function _i(){}const Qk=(()=>{let e=0;return()=>e++})();function Rt(e){return e==null}function ne(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Lt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function ue(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function yn(e,t){return ue(e)?e:t}function Tt(e,t){return typeof e>"u"?t:e}const tA=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,Fb=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Gt(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Vt(e,t,n,i){let r,s,a;if(ne(e))for(s=e.length,r=0;r<s;r++)t.call(n,e[r],r);else if(Lt(e))for(a=Object.keys(e),s=a.length,r=0;r<s;r++)t.call(n,e[a[r]],a[r])}function gc(e,t){let n,i,r,s;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],s=t[n],r.datasetIndex!==s.datasetIndex||r.index!==s.index)return!1;return!0}function mc(e){if(ne(e))return e.map(mc);if(Lt(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let r=0;for(;r<i;++r)t[n[r]]=mc(e[n[r]]);return t}return e}function Bb(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function eA(e,t,n,i){if(!Bb(e))return;const r=t[e],s=n[e];Lt(r)&&Lt(s)?Vo(r,s,i):t[e]=mc(s)}function Vo(e,t,n){const i=ne(t)?t:[t],r=i.length;if(!Lt(e))return e;n=n||{};const s=n.merger||eA;let a;for(let l=0;l<r;++l){if(a=i[l],!Lt(a))continue;const u=Object.keys(a);for(let h=0,d=u.length;h<d;++h)s(u[h],e,a,n)}return e}function No(e,t){return Vo(e,t,{merger:nA})}function nA(e,t,n){if(!Bb(e))return;const i=t[e],r=n[e];Lt(i)&&Lt(r)?No(i,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=mc(r))}const am={"":e=>e,x:e=>e.x,y:e=>e.y};function iA(e){const t=e.split("."),n=[];let i="";for(const r of t)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function rA(e){const t=iA(e);return n=>{for(const i of t){if(i==="")break;n=n&&n[i]}return n}}function Yi(e,t){return(am[t]||(am[t]=rA(t)))(e)}function rd(e){return e.charAt(0).toUpperCase()+e.slice(1)}const qo=e=>typeof e<"u",Ki=e=>typeof e=="function",lm=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function sA(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const zt=Math.PI,Qt=2*zt,oA=Qt+zt,vc=Number.POSITIVE_INFINITY,aA=zt/180,me=zt/2,vr=zt/4,cm=zt*2/3,$i=Math.log10,ri=Math.sign;function Fo(e,t,n){return Math.abs(e-t)<n}function um(e){const t=Math.round(e);e=Fo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor($i(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function lA(e){const t=[],n=Math.sqrt(e);let i;for(i=1;i<n;i++)e%i===0&&(t.push(i),t.push(e/i));return n===(n|0)&&t.push(n),t.sort((r,s)=>r-s).pop(),t}function cA(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function ys(e){return!cA(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function uA(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function Hb(e,t,n){let i,r,s;for(i=0,r=e.length;i<r;i++)s=e[i][n],isNaN(s)||(t.min=Math.min(t.min,s),t.max=Math.max(t.max,s))}function jn(e){return e*(zt/180)}function sd(e){return e*(180/zt)}function hm(e){if(!ue(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function zb(e,t){const n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i);let s=Math.atan2(i,n);return s<-.5*zt&&(s+=Qt),{angle:s,distance:r}}function _f(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function hA(e,t){return(e-t+oA)%Qt-zt}function We(e){return(e%Qt+Qt)%Qt}function Xo(e,t,n,i){const r=We(e),s=We(t),a=We(n),l=We(s-r),u=We(a-r),h=We(r-s),d=We(r-a);return r===s||r===a||i&&s===a||l>u&&h<d}function Pe(e,t,n){return Math.max(t,Math.min(n,e))}function fA(e){return Pe(e,-32768,32767)}function Ti(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function od(e,t,n){n=n||(a=>e[a]<t);let i=e.length-1,r=0,s;for(;i-r>1;)s=r+i>>1,n(s)?r=s:i=s;return{lo:r,hi:i}}const Ci=(e,t,n,i)=>od(e,n,i?r=>{const s=e[r][t];return s<n||s===n&&e[r+1][t]===n}:r=>e[r][t]<n),dA=(e,t,n)=>od(e,n,i=>e[i][t]>=n);function pA(e,t,n){let i=0,r=e.length;for(;i<r&&e[i]<t;)i++;for(;r>i&&e[r-1]>n;)r--;return i>0||r<e.length?e.slice(i,r):e}const Wb=["push","pop","shift","splice","unshift"];function gA(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Wb.forEach(n=>{const i="_onData"+rd(n),r=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...s){const a=r.apply(this,s);return e._chartjs.listeners.forEach(l=>{typeof l[i]=="function"&&l[i](...s)}),a}})})}function fm(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(t);r!==-1&&i.splice(r,1),!(i.length>0)&&(Wb.forEach(s=>{delete e[s]}),delete e._chartjs)}function jb(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const $Line truncated
|
||||
* Chart.js v4.5.0
|
||||
* https://www.chartjs.org
|
||||
* (c) 2025 Chart.js Contributors
|
||||
* Released under the MIT License
|
||||
*/class bE{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,i,r){const s=n.listeners[r],a=n.duration;s.forEach(l=>l({chart:t,initial:n.initial,numSteps:a,currentStep:Math.min(i-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=$b.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const s=i.items;let a=s.length-1,l=!1,u;for(;a>=0;--a)u=s[a],u._active?(u._total>i.duration&&(i.duration=u._total),u.tick(t),l=!0):(s[a]=s[s.length-1],s.pop());l&&(r.draw(),this._notify(r,i,t,"progress")),s.length||(i.running=!1,this._notify(r,i,t,"complete"),i.initial=!1),n+=s.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let i=n.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,i)),i}listen(t,n,i){this._getAnims(t).listeners[n].push(i)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const i=n.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var wi=new bE;const Cm="transparent",yE={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=gm(e||Cm),r=i.valid&&gm(t||Cm);return r&&r.valid?r.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class _E{constructor(t,n,i,r){const s=n[i];r=Oo([t.to,r,s,t.from]);const a=Oo([t.from,s,r]);this._active=!0,this._fn=t.fn||yE[t.type||typeof a],this._easing=Bo[t.easing]||Bo.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=i,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(t,n,i){if(this._active){this._notify(!1);const r=this._target[this._prop],s=i-this._start,a=this._duration-s;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=s,this._loop=!!t.loop,this._to=Oo([t.to,n,r,t.from]),this._from=Oo([t.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,i=this._duration,r=this._prop,s=this._from,a=this._loop,l=this._to;let u;if(this._active=s!==l&&(a||n<i),!this._active){this._target[r]=l,this._notify(!0);return}if(n<0){this._target[r]=s;return}u=n/i%2,u=a&&u>1?2-u:u,u=this._easing(Math.min(1,Math.max(0,u))),this._target[r]=this._fn(s,l,u)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,i)=>{t.push({res:n,rej:i})})}_notify(t){const n=t?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][n]()}}class ly{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!Lt(t))return;const n=Object.keys(ie.animation),i=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const s=t[r];if(!Lt(s))return;const a={};for(const l of n)a[l]=s[l];(ne(s.properties)&&s.properties||[r]).forEach(l=>{(l===r||!i.has(l))&&i.set(l,a)})})}_animateOptions(t,n){const i=n.options,r=xE(t,i);if(!r)return[];const s=this._createAnimations(r,i);return i.$shared&&wE(t.options.$animations,i).then(()=>{t.options=i},()=>{}),s}_createAnimations(t,n){const i=this._properties,r=[],s=t.$animations||(t.$animations={}),a=Object.keys(n),l=Date.now();let u;for(u=a.length-1;u>=0;--u){const h=a[u];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(t,n));continue}const d=n[h];let m=s[h];const y=i.get(h);if(m)if(y&&m.active()){m.update(y,d,l);continue}else m.cancel();if(!y||!y.duration){t[h]=d;continue}s[h]=m=new _E(y,t,h,d),r.push(m)}return r}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const i=this._createAnimations(t,n);if(i.length)return wi.add(this._chart,i),!0}}function wE(e,t){const n=[],i=Object.keys(t);for(let r=0;r<i.length;r++){const s=e[i[r]];s&&s.active()&&n.push(s.wait())}return Promise.all(n)}function xE(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function Om(e,t){const n=e&&e.options||{},i=n.reverse,r=n.min===void 0?t:0,s=n.max===void 0?t:0;return{start:i?s:r,end:i?r:s}}function SE(e,t,n){if(n===!1)return!1;const i=Om(e,n),r=Om(t,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}function TE(e){let t,n,i,r;return Lt(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r,disabled:e===!1}}function cy(e,t){const n=[],i=e._getSortedDatasetMetas(t);let r,s;for(r=0,s=i.length;r<s;++r)n.push(i[r].indLine truncated
|
||||
`)>-1?e.split(`
|
||||
`):e}function oR(e,t){const{element:n,datasetIndex:i,index:r}=t,s=e.getDatasetMeta(i).controller,{label:a,value:l}=s.getLabelAndValue(r);return{chart:e,label:a,parsed:s.getParsed(r),raw:e.data.datasets[i].data[r],formattedValue:l,dataset:s.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function uv(e,t){const n=e.chart.ctx,{body:i,footer:r,title:s}=e,{boxWidth:a,boxHeight:l}=t,u=ke(t.bodyFont),h=ke(t.titleFont),d=ke(t.footerFont),m=s.length,y=r.length,x=i.length,S=Ue(t.padding);let C=S.height,T=0,A=i.reduce((D,R)=>D+R.before.length+R.lines.length+R.after.length,0);if(A+=e.beforeBody.length+e.afterBody.length,m&&(C+=m*h.lineHeight+(m-1)*t.titleSpacing+t.titleMarginBottom),A){const D=t.displayColors?Math.max(l,u.lineHeight):u.lineHeight;C+=x*D+(A-x)*u.lineHeight+(A-1)*t.bodySpacing}y&&(C+=t.footerMarginTop+y*d.lineHeight+(y-1)*t.footerSpacing);let M=0;const B=function(D){T=Math.max(T,n.measureText(D).width+M)};return n.save(),n.font=h.string,Vt(e.title,B),n.font=u.string,Vt(e.beforeBody.concat(e.afterBody),B),M=t.displayColors?a+2+t.boxPadding:0,Vt(i,D=>{Vt(D.before,B),Vt(D.lines,B),Vt(D.after,B)}),M=0,n.font=d.string,Vt(e.footer,B),n.restore(),T+=S.width,{width:T,height:C}}function aR(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}function lR(e,t,n,i){const{x:r,width:s}=i,a=n.caretSize+n.caretPadding;if(e==="left"&&r+s+a>t.width||e==="right"&&r-s-a<0)return!0}function cR(e,t,n,i){const{x:r,width:s}=n,{width:a,chartArea:{left:l,right:u}}=e;let h="center";return i==="center"?h=r<=(l+u)/2?"left":"right":r<=s/2?h="left":r>=a-s/2&&(h="right"),lR(h,e,t,n)&&(h="center"),h}function hv(e,t,n){const i=n.yAlign||t.yAlign||aR(e,n);return{xAlign:n.xAlign||t.xAlign||cR(e,t,n,i),yAlign:i}}function uR(e,t){let{x:n,width:i}=e;return t==="right"?n-=i:t==="center"&&(n-=i/2),n}function hR(e,t,n){let{y:i,height:r}=e;return t==="top"?i+=n:t==="bottom"?i-=r+n:i-=r/2,i}function fv(e,t,n,i){const{caretSize:r,caretPadding:s,cornerRadius:a}=e,{xAlign:l,yAlign:u}=n,h=r+s,{topLeft:d,topRight:m,bottomLeft:y,bottomRight:x}=Er(a);let S=uR(t,l);const C=hR(t,u,h);return u==="center"?l==="left"?S+=h:l==="right"&&(S-=h):l==="left"?S-=Math.max(d,y)+r:l==="right"&&(S+=Math.max(m,x)+r),{x:Pe(S,0,i.width-t.width),y:Pe(C,0,i.height-t.height)}}function Vl(e,t,n){const i=Ue(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-i.right:e.x+i.left}function dv(e){return ti([],xi(e))}function fR(e,t,n){return Ji(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function pv(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Ey={beforeTitle:_i,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:_i,beforeBody:_i,beforeLabel:_i,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Rt(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:_i,afterBody:_i,beforeFooter:_i,footer:_i,afterFooter:_i};function on(e,t,n,i){const r=e[t].call(n,i);return typeof r>"u"?Ey[t].call(n,i):r}class Ef extends Ai{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,i=this.options.setContext(this.getContext()),r=i.enabled&&n.options.animation&&i.animations,s=new ly(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=fR(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:i}=n,r=on(i,"beforeTitle",this,t),s=on(i,"title",this,t),a=on(i,"afterTitle",this,t);let l=[];return l=ti(l,xi(r)),l=ti(l,xi(s)),l=ti(l,xi(a)),l}getBeforeBody(t,n){return dv(on(n.call
Line truncated
|
||||
<span class="inline-flex items-center gap-1.5 text-xs text-theme-primary">
|
||||
<span class="inline-block w-3 h-3 rounded-full" style="background-color: ${h.color};"></span>
|
||||
${ce(r.cluster||"Cluster")} ${d+1} · ${h.size} ${ce(u)}
|
||||
</span>
|
||||
`).join("")+(l>0?`<span class="text-xs text-theme-secondary">${ce(r.more||"+ :count more").replace(":count",l)}</span>`:""),i.hidden=!1}function le(e,t){return e.querySelector(t)||(e.closest("[data-network-section]")||document).querySelector(t)}function of(e,t,n){const i=e&&e.querySelector("[data-timelapse-play]");if(!i)return;const r=t==="busy",s={play:e.querySelector("[data-timelapse-icon-play]"),pause:e.querySelector("[data-timelapse-icon-pause]"),busy:e.querySelector("[data-timelapse-icon-busy]")};i.disabled=!0,i.setAttribute("title",n),i.setAttribute("aria-label",n),s.busy&&s.busy.classList.toggle("hidden",!r),s.play&&s.play.classList.toggle("hidden",r),s.pause&&s.pause.classList.add("hidden")}function vD(e,t){let n=0,i=e.length-1,r=null;for(;n<=i;){const s=n+i>>1;e[s]<=t?(r=e[s],n=s+1):i=s-1}return r}function Lv(e,t,n,{view:i,stoppedAfterDays:r,markInactive:s}){if(!n||!t||!t.till)return;const a=t.till,l=Date.parse(a),u=n.paid||{},h=n.removed||{},d=n.inactive||{};e.batch(()=>{e.nodes().forEach(m=>{const y=m.id(),x=!!h[y]&&h[y]<=a,S=!x&&!!d[y]&&d[y]<=a;if(m.hasClass("removed")!==x&&m.toggleClass("removed",x),m.hasClass("inactive")!==S&&m.toggleClass("inactive",S),i!=="circulation"||m.hasClass("outside"))return;const C=vD(u[y]||[],a);let T="neverPaid";if(C!==null){const A=Math.round((l-Date.parse(C))/864e5);T=s&&S||r!==null&&A>r?"stalled":"flowing"}m.data("flow")!==T&&(m.data("flow",T),m.data("color",By[T]||"#94a3b8"))})})}const Iv=.5,bD=30;function Nv(e){const t=Math.max(0,Math.min(100,Number(e)||0))/100;return Iv*Math.pow(bD/Iv,t)}function yD(e){return e<10?`${e.toFixed(1)}/s`:`${Math.round(e)}/s`}function Fv(e,t,n){const i=le(e,"[data-network-stagnant]");if(!i)return;const r=l=>l instanceof Set?l.size:(l||[]).length,s=(i.dataset.drawnTemplate||"").replace(":nodes",r(n.nodes)).replace(":edges",r(n.edges));i.textContent=s?`${t}: ${s}`:t,i.hidden=!1;const a=e.querySelector("[data-network-host]");a&&(a.dataset.networkSubtext=i.textContent)}function ce(e){return String(e).replace(/[&<>"']/g,t=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[t])}let hs={symbol:"H",atEnd:!1,thousands:"."};function xo(e){const t=(e||0)/60,n=t>=100?Math.round(t):Math.round(t*10)/10;let i=String(n).replace(".",",");if(hs.thousands){const[r,s]=i.split(","),a=r.replace(/\B(?=(\d{3})+(?!\d))/g,hs.thousands);i=s?`${a},${s}`:a}return hs.atEnd?`${i} ${hs.symbol}`:`${hs.symbol} ${i}`}function Ro(e){try{return e?JSON.parse(e):null}catch{return null}}function _D(e,t,n,i=null,r=!1){const s=e.nodes.reduce((F,H)=>Math.max(F,H.volume||0),0),a=e.nodes.reduce((F,H)=>!F||H.degree>F.degree?H:F,null),l=t&&a?a.id:null,u=e.nodes.filter(F=>F.id!==l),h=hD(u),d=new Set(u.map(F=>F.id)),m=new Map;(e.edges||[]).forEach(F=>{!d.has(F.source)||!d.has(F.target)||(m.has(F.source)||m.set(F.source,new Set),m.has(F.target)||m.set(F.target,new Set),m.get(F.source).add(F.target),m.get(F.target).add(F.source))}),u.forEach(F=>{F.totalDegree=F.degree,F.degree=(m.get(F.id)||new Set).size});const y=n==="circulation"?uD(u,e.edges||[],i,r):new Map,x=u.reduce((F,H)=>Math.max(F,H.degree||0),0),S=u.map(F=>{const H=n==="volume"?Tc(F.volume||0,s):Tc(F.degree||0,x),U=F.outside?"#94a3b8":n==="circulation"?By[(y.get(F.id)||{}).flow]||"#94a3b8":n==="region"?h[F.region]||"#64748b":cD[F.type]||"#64748b";return{data:{id:F.id,label:F.name,fullName:F.full_name||null,type:F.type,region:F.region||"",bank:F.bank||"",degree:F.degree,hiddenPartners:Math.max((F.totalDegree||F.degree)-F.degree,0),volume:F.volume,paid:F.paid||0,received:F.received||0,size:H,color:U,flow:(y.get(F.id)||{}).flow||null,flowNet:(y.get(F.id)||{}).net||0,borderW:1,outlineW:1.5,fontS:14},classes:[F.outside?"outside":"",F.removed?"removed":"",F.inactive?"inactive":""].filter(Boolean).join(" ")}}),C=new Set(S.map(F=>F.data.id)),T=e.edges.reduce((F,H)=>Math.max(F,H.volume||0),0),A=e.edges.filter(F=>C.has(F.source)&&C.has(F.target)),M=F=>T?.2+Math.pow((F||0)/T,.7)*12:.5,B=[],D=new Map,R=(F,H)=>{const U=`${F}->${H}`,V=D.get(U)||0;return D.set(U,V+1),26+V*22};A.forEach((F,H)=>{if(n!=="flow"){B.push({data:{id:`e${H}`,key:`${F.source}|${F.target}|${F.type_id}`,source:F.source,target:F.target,tx:F.tx,volume:F.volume,width:Math.min(.2+Math.pow(Math.log2(1+F.tx),1.5)*.55,12),bend:26}});return}const U=F.a_to_b||0,V=F.b_to_a||0;U>0&&B.push({data:{id:`e${H}f`,key:`${F.source}|${F.target}|${F.type_id}`,source:F.source,target:F.target,tx:F.tx,volume:U,width:M(U),bend:R(F.source,F.target),edgeColor:Mv[F.type_id]||"#64748b"},classes:"directed flowtype"}),V>0&&B.push({data:{id:`e${H}b`,key:`${F.source}|${F.target}|${F.type_id}`,source:F.target,target:F.source,tx:F.tx,volume:V,width:M(V),bend:R(F.target,F.source),edgeColor:Mv[F.type_id]||"#64748b"},classes:"directed flowtype"})});const N=a?{...a,label:a.name}:null;let I=0,j=0,q=0;return y.forEach(F=>{if(F.flow==="neverPaid")q+=1;else if(F.flow!=="stalled")return;I+=1,F.net>0&&(j+=F.net)}),{elements:[...S,...B],hub:N,droppedHub:!!l,regions:h,stagnantNodes:I,stagnantMLine truncated
|
||||
<button type="button" data-node-id="${ce(jt.id())}"
|
||||
class="block w-full px-3 py-2 text-left text-sm hover:bg-gray-100">
|
||||
<span class="font-semibold">${ce(jt.data("label")||"")}</span>
|
||||
<span class="text-gray-500"> · ${jt.data("degree")} ${ce(xt.partners||"")}</span>
|
||||
</button>
|
||||
`).join(""),St.hidden=!1};tt(Ot,"input",et=>Z(et.target.value)),tt(Ot,"search",et=>{et.target.value===""&&(In(),St.hidden=!0)}),tt(St,"mousedown",et=>{const ht=et.target.closest("[data-node-id]");if(!ht)return;et.preventDefault();const lt=K.getElementById(ht.dataset.nodeId);lt&<.length&&(De(lt),Ot.value=lt.data("label")||"",St.hidden=!0)}),tt(Ot,"keydown",et=>{if(et.key!=="Enter")return;et.preventDefault();const ht=St.querySelector("[data-node-id]");if(ht){const lt=K.getElementById(ht.dataset.nodeId);lt&<.length&&(De(lt),St.hidden=!0)}}),tt(document,"click",et=>{e.contains(et.target)||(St.hidden=!0)})}K.on("tap",Z=>{Z.target===K&&Nt&&be()});const te=1.5;[["[data-network-spread]",te],["[data-network-shrink]",1/te]].forEach(([Z,et])=>{const ht=le(e,Z);ht&&tt(ht,"click",lt=>{lt.preventDefault(),gD(K,K.elements(),et),_t()})}),aD({screenBox:le(e,"[data-network-screen]"),frameBox:le(e,"[data-network-frame]"),headerBox:le(e,"[data-network-header]"),button:le(e,"[data-network-fullscreen]"),panel:()=>le(e,"[data-network-timelapse-controls]"),signal:st.signal,onResize:()=>{if(K.destroyed())return;K.resize();const Z=K.elements().not(".hidden"),et=le(e,"[data-network-timelapse-controls]");K.fit(Z,zy(K)),Wy(K,Z,et?{width:et.offsetWidth,height:et.offsetHeight+12}:null),_t()}});const Le=le(e,"[data-network-svg]");Le&&tt(Le,"click",Z=>{Z.preventDefault();const et=e.getAttribute("data-network-anonymize")==="1",ht=Ro(e.getAttribute("data-network-meta")),lt=e.querySelector("[data-network-host]"),Bt=le(e,"[data-network-stagnant]"),jt=Bt&&!Bt.hidden?Bt.textContent.trim():"";ht&&jt?ht.subtext=jt:ht&<&<.dataset.networkSubtext&&(ht.subtext=lt.dataset.networkSubtext),ht&<&<._timelapse&&(ht.period=null);const de=jy(K,()=>TD(K,!et,ht));if(!de)return;const Ie=new Blob([de],{type:"image/svg+xml;charset=utf-8"}),qe=URL.createObjectURL(Ie),Ne=document.createElement("a");Ne.href=qe,Ne.download=(Le.dataset.filename||"trading-network")+"-"+new Date().toISOString().slice(0,10)+".svg",document.body.appendChild(Ne),Ne.click(),document.body.removeChild(Ne),setTimeout(()=>URL.revokeObjectURL(qe),1e3)});const re=le(e,"[data-network-drag-neighbours]"),oe=()=>!re||re.checked;let we=null;if(K.on("grab","node",Z=>{const et=Z.target;if(!oe()){we=null;return}const ht={...et.position()},lt=et.neighborhood("node").filter(Bt=>!Bt.hasClass("hidden")).map(Bt=>({node:Bt,offset:{x:Bt.position("x")-ht.x,y:Bt.position("y")-ht.y}}));we={node:et,followers:lt}}),K.on("drag","node",Z=>{if(!we||we.node.id()!==Z.target.id())return;const et=we.node.position();we.followers.forEach(({node:ht,offset:lt})=>{ht.position({x:et.x+lt.x,y:et.y+lt.y})})}),K.on("free","node",()=>{we=null}),await i((r.arranging||"Arranging :count profiles...").replace(":count",K.nodes().not(".hidden").length)),u()){K.destroy();return}const ye=()=>{it&&it.isConnected&&it.remove()};setTimeout(ye,12e4);const Ve=S?le(e,"[data-network-timelapse-controls]"):null,wn=Ve?{width:Ve.offsetWidth,height:Ve.offsetHeight+12}:null,he={view:m,stoppedAfterDays:Number.isFinite(I)?I:null,markInactive:e.getAttribute("data-network-mark-inactive")==="1"},Xt=S&&M.length>0?()=>{Nf(K,R.layers(0)),Lv(K,M[0],D,he)}:null,xe=le(e,"[data-network-warning]");if(xe){const Z=xe.querySelector("[data-network-warning-text]");Z&&(Z.textContent=""),xe.hidden=!1}let Ae;const xn=new Promise(Z=>{Ae=Z});if(sf(K,K.elements(),Rv(y,K),()=>{Xt&&Xt(),ye(),Ae()},wn,Z=>{const et=xe&&xe.querySelector("[data-network-warning-text]");et&&(et.textContent=`${r.layoutFallback||"The usual arrangement failed, so a simpler one is shown."} (${Z.message||Z})`)}),m==="cluster"){const et=K.nodes().not(".hidden").length;if(et>600){Dv(e,[],0);const ht=le(e,"[data-network-warning]"),lt=ht&&ht.querySelector("[data-network-warning-text]");ht&<&&(lt.textContent=(e.getAttribute("data-cluster-too-large")||"").replace(":count",et).replace(":limit",600))}else{if(await i((r.clustering||"Finding clusters in :count profiles, this can take a moment...").replace(":count",et)),u()){K.destroy();return}try{const ht=K.elements().markovClustering(),lt=[];ht.forEach((Bt,jt)=>{const de=Cc[jt%Cc.length],Ie=Bt.nodes().filter(qe=>!qe.hasClass("outside"));Ie.forEach(qe=>qe.data("color",de)),Ie.length>1&<.push({color:de,size:Ie.length})}),Dv(e,lt,ht.length)}catch{}}}const Yt=le(e,"[data-network-timelapse-controls]");if(S&&M.length>0&&Yt)try{const Z=Yt.querySelector("[data-timelapse-play]"),et=Yt.querySelector("[data-timelapse-scrubber]"),ht=Yt.querySelector("[data-timelapse-year]"),lt=Yt.querySelector("[data-timelapse-speed]"),Bt=r.timelapsePlay||"Play",jt=r.timelapsePause||"Pause",de=Yt.querySelector("[data-timelapse-icon-play]"),Ie=Yt.querySelector("[data-timelapse-icon-pause]"),qe=Yt.querySelector("[data-timelapse-icon-busy]"),Ne=$t=>{if(!Z)return;const _e=$t?jt:Bt;Z.setAttribute("title",_e),Z.setAttribute("aria-label",_e),de&&Ie&&(de.classList.toggle("hidden",$t),Ie.classList.toggle("hidden",!$t)),qe&&qe.classList.add("hidden"),Z.disabled=!1},Zi=(s.nodes
Line truncated
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="${i}" height="${B}" viewBox="0 0 ${i} ${B}">
|
||||
<rect width="100%" height="100%" fill="#ffffff"/>
|
||||
<defs>
|
||||
<clipPath id="graph-frame">
|
||||
<rect x="0" y="${x}" width="${i}" height="${r}"/>
|
||||
</clipPath>
|
||||
${h?h.defs:""}
|
||||
</defs>
|
||||
<g clip-path="url(#graph-frame)">
|
||||
${j.join(`
|
||||
`)}
|
||||
${q.join(`
|
||||
`)}
|
||||
</g>
|
||||
${F.join(`
|
||||
`)}
|
||||
</svg>
|
||||
`}const Hf="faded neighbour hovered incident";function jy(e,t){const n={};Hf.split(" ").forEach(i=>{n[i]=e.elements(`.${i}`)}),e.batch(()=>e.elements().removeClass(Hf));try{return t()}finally{e.batch(()=>{Object.entries(n).forEach(([i,r])=>r.addClass(i))})}}function $y(){try{const e=window.statsNetworkChart;if(!e||e.destroyed()||e.nodes().length===0)return null;const t=2;return jy(e,()=>e.png({output:"base64uri",bg:"#ffffff",full:!1,scale:t}))}catch{return null}}typeof document<"u"&&document.addEventListener("click",e=>{e.target.closest("[data-network-pdf-trigger]")&&(window.__networkSnapshot=$y())},!0);function CD(){window.LaravelFlatpickr&&document.querySelectorAll("[data-network-timelapse-end] .flatpickr-input").forEach(e=>{e._flatpickr||window.LaravelFlatpickr.initializeFlatpickr(e)})}function yd(){document.querySelectorAll(`[${Ff}]`).forEach(e=>{wD(e).catch(t=>{const n=e.querySelector("[data-network-host]");n&&(n._buildingSignature=null),console.error("[network] drawing failed",t);const i=n&&n.querySelector("[data-network-placeholder] span");if(i){const r=Ro(e.getAttribute("data-network-labels"))||{};i.textContent=`${r.drawFailed||"The network could not be drawn."} (${t&&t.message||t})`}})})}document.addEventListener("DOMContentLoaded",()=>setTimeout(yd,100));document.addEventListener("livewire:init",()=>{let e=null,t=!1;Livewire.hook("morph.updated",()=>{clearTimeout(e),e=setTimeout(yd,300),t||(t=!0,requestAnimationFrame(()=>{t=!1,CD()}))})});document.addEventListener("livewire:navigated",()=>setTimeout(yd,100));Jt.register(...Hc);const OD=[{canvasId:"reportBalanceDistributionChart",dataAttribute:"data-report-balance-distribution",field:"User",color:"#14b8a6"},{canvasId:"reportBalanceDistributionOrgChart",dataAttribute:"data-report-balance-distribution-org",field:"Organization",color:"#d946ef"}];function kD(e){var u;const t=document.getElementById(e.canvasId);if(!t||typeof Jt>"u")return;const n=t.closest(`[${e.dataAttribute}]`);if(!n)return;let i;try{i=JSON.parse(n.getAttribute(e.dataAttribute)||"[]")}catch{return}if(!Array.isArray(i)||i.length===0)return;let r={};try{r=JSON.parse(n.getAttribute("data-series-labels")||"{}")}catch{r={}}const s=n.getAttribute(e.dataAttribute);if(t.dataset.chartSignature===s&&((u=Jt.getChart)!=null&&u.call(Jt,t)))return;const a=Jt.getChart?Jt.getChart(t):null;a&&a.destroy();const l=[{label:r[e.field]||e.field,data:i.map(h=>h[e.field]||0),backgroundColor:e.color,borderColor:e.color,borderWidth:1}];t.chart=new Jt(t.getContext("2d"),{type:"bar",data:{labels:i.map(h=>h.label),datasets:l},options:{responsive:!0,maintainAspectRatio:!1,layout:{padding:{bottom:16}},plugins:{legend:{display:!1}},scales:{y:{beginAtZero:!0,ticks:{precision:0}},x:{grid:{display:!0,drawOnChartArea:!0,offset:!1,color:"rgba(0, 0, 0, 0.10)"},ticks:{padding:8,autoSkip:!1,maxRotation:60,minRotation:60,font:{size:10}}}}}}),t.dataset.chartSignature=s}function _d(){OD.forEach(kD)}document.addEventListener("DOMContentLoaded",()=>{setTimeout(_d,100)});document.addEventListener("livewire:init",()=>{let e=null;Livewire.hook("morph.updated",()=>{clearTimeout(e),e=setTimeout(_d,300)})});document.addEventListener("livewire:navigated",()=>{setTimeout(_d,100)});window.exportBalanceDistributionChartForPdf=async function(e){try{const t=document.getElementById(e);if(!t)return null;const n=Jt.getChart?Jt.getChart(t):null;if(!n)return null;const i=2,r=674,s=300,a=document.createElement("canvas");a.width=r*i,a.height=s*i;const l=new Jt(a.getContext("2d"),{type:n.config.type,data:JSON.parse(JSON.stringify(n.config.data)),options:{...JSON.parse(JSON.stringify(n.config.options||{})),responsive:!1,maintainAspectRatio:!1,animation:!1,devicePixelRatio:i}});await new Promise(h=>setTimeout(h,300));const u=a.toDataURL("image/png",1);return l.destroy(),u}catch{return null}};window.__showProfileSwitchBanner=function(e){const t=document.getElementById("profile-switch-banner");if(!t)return;const n=document.getElementById("profile-switch-banner-photo");n&&(n.style.display="none");const i=document.getElementById("profile-switch-banner-role");i&&(i.style.display="none",i.textContent=""),e.photo&&n&&(n.src=e.photo,n.alt=e.name||"",n.style.display="block");const r=document.getElementById("profile-switch-banner-name");r&&(r.textContent=e.name||""),i&&e.roleLabel&&(i.textContent=e.roleLabel,i.style.display="block"),t.style.opacity="1",t.style.transition="",t.style.display="flex",t.addEventListener("click",()=>{t.style.display="none"},{once:!0}),setTimeout(()=>{t.style.transition="opacity 0.4s",t.style.opacity="0",setTimeout(()=>{t.style.display="none",t.style.opacity="",t.style.transition=""},400)},3e3)};Alpine.plugin(ik);Jt.register(...Hc);window.Chart=Jt;window.createPopper=NO;window.Tagify=Ql;window.loadJSZip=()=>af(()=>import("./jszip.min-KAUKf24L.js").then(e=>e.j),__vite__mapDeps([2,1])).then(e=>e.default);document.addEventListener("alpine:init",()=>{Alpine.data("callTagPicker",()=>({callTagify:null,init(){const e=this.$refs.callTagsInp
Line truncated
|
||||
Reference in new issue
Block a user