@vtj/utils
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
7 lines • 207 kB
JavaScript
var VtjUtils=(function(A){"use strict";var ly=Object.defineProperty;var de=(A,Y)=>(Y=Symbol[A])?Y:Symbol.for("Symbol."+A),hy=A=>{throw TypeError(A)};var dy=(A,Y,it)=>Y in A?ly(A,Y,{enumerable:!0,configurable:!0,writable:!0,value:it}):A[Y]=it;var Tt=(A,Y,it)=>dy(A,typeof Y!="symbol"?Y+"":Y,it);var Gt=function(A,Y){this[0]=A,this[1]=Y},Pn=(A,Y,it)=>{var yt=(ct,Z,_t,st)=>{try{var pe=it[ct](Z),Me=(Z=pe.value)instanceof Gt,yr=pe.done;Promise.resolve(Me?Z[0]:Z).then(mt=>Me?yt(ct==="return"?ct:"next",Z[1]?{done:mt.done,value:mt.value}:mt,_t,st):_t({value:mt,done:yr})).catch(mt=>yt("throw",mt,_t,st))}catch(mt){st(mt)}},ut=ct=>et[ct]=Z=>new Promise((_t,st)=>yt(ct,Z,_t,st)),et={};return it=it.apply(A,Y),et[de("asyncIterator")]=()=>et,ut("next"),ut("throw"),ut("return"),et},Mn=A=>{var Y=A[de("asyncIterator")],it=!1,yt,ut={};return Y==null?(Y=A[de("iterator")](),yt=et=>ut[et]=ct=>Y[et](ct)):(Y=Y.call(A),yt=et=>ut[et]=ct=>{if(it){if(it=!1,et==="throw")throw ct;return ct}return it=!0,{done:!1,value:new Gt(new Promise(Z=>{var _t=Y[et](ct);_t instanceof Object||hy("Object expected"),Z(_t)}),1)}}),ut[de("iterator")]=()=>ut,yt("next"),"throw"in Y?yt("throw"):ut.throw=et=>{throw et},"return"in Y&&yt("return"),ut},la=(A,Y,it)=>(Y=A[de("asyncIterator")])?Y.call(A):(A=A[de("iterator")](),Y={},it=(yt,ut)=>(ut=A[yt])&&(Y[yt]=et=>new Promise((ct,Z,_t)=>(et=ut.call(A,et),_t=et.done,Promise.resolve(et.value).then(st=>ct({value:st,done:_t}),Z)))),it("next"),it("return"),Y);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,n){typeof n!="boolean"&&(n=n||{},n.passive=!1),e.call(this,t,r,n)}})();/**!
* Copyright (c) 2026, VTJ.PRO All rights reserved.
* @name @vtj/utils
* @author CHC chenhuachun1549@dingtalk.com
* @version 0.18.27
* @license <a href="https://vtj.pro/license.html">MIT License</a>
*/const Y="0.18.27";var it={ENV_TYPE:"local",NODE_ENV:"production"},yt=typeof global=="object"&&global&&global.Object===Object&&global;const ut=yt;var et=typeof self=="object"&&self&&self.Object===Object&&self,ct=ut||et||Function("return this")();const Z=ct;var _t=Z.Symbol;const st=_t;var pe=Object.prototype,Me=pe.hasOwnProperty,yr=pe.toString,mt=st?st.toStringTag:void 0;function pa(e){var t=Me.call(e,mt),r=e[mt];try{e[mt]=void 0;var n=!0}catch(s){}var i=yr.call(e);return n&&(t?e[mt]=r:delete e[mt]),i}var ga=Object.prototype,va=ga.toString;function ya(e){return va.call(e)}var ma="[object Null]",ba="[object Undefined]",Nn=st?st.toStringTag:void 0;function St(e){return e==null?e===void 0?ba:ma:Nn&&Nn in Object(e)?pa(e):ya(e)}function ft(e){return e!=null&&typeof e=="object"}var wa="[object Symbol]";function ge(e){return typeof e=="symbol"||ft(e)&&St(e)==wa}function In(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var _a=Array.isArray;const dt=_a;var Ln=st?st.prototype:void 0,Fn=Ln?Ln.toString:void 0;function jn(e){if(typeof e=="string")return e;if(dt(e))return In(e,jn)+"";if(ge(e))return Fn?Fn.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Sa=/\s/;function Ea(e){for(var t=e.length;t--&&Sa.test(e.charAt(t)););return t}var Ta=/^\s+/;function Aa(e){return e&&e.slice(0,Ea(e)+1).replace(Ta,"")}function lt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Un=NaN,Ra=/^[-+]0x[0-9a-f]+$/i,Oa=/^0b[01]+$/i,Da=/^0o[0-7]+$/i,Ca=parseInt;function Hn(e){if(typeof e=="number")return e;if(ge(e))return Un;if(lt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=lt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Aa(e);var r=Oa.test(e);return r||Da.test(e)?Ca(e.slice(2),r?2:8):Ra.test(e)?Un:+e}function mr(e){return e}var xa="[object AsyncFunction]",Ba="[object Function]",$a="[object GeneratorFunction]",Pa="[object Proxy]";function Ne(e){if(!lt(e))return!1;var t=St(e);return t==Ba||t==$a||t==xa||t==Pa}var Ma=Z["__core-js_shared__"];const br=Ma;var qn=(function(){var e=/[^.]+$/.exec(br&&br.keys&&br.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Na(e){return!!qn&&qn in e}var Ia=Function.prototype,La=Ia.toString;function Ht(e){if(e!=null){try{return La.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Fa=/[\\^$.*+?()[\]{}|]/g,ja=/^\[object .+?Constructor\]$/,Ua=Function.prototype,Ha=Object.prototype,qa=Ua.toString,Va=Ha.hasOwnProperty,ka=RegExp("^"+qa.call(Va).replace(Fa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function za(e){if(!lt(e)||Na(e))return!1;var t=Ne(e)?ka:ja;return t.test(Ht(e))}function Ka(e,t){return e==null?void 0:e[t]}function qt(e,t){var r=Ka(e,t);return za(r)?r:void 0}var Wa=qt(Z,"WeakMap");const wr=Wa;var Vn=Object.create,Ya=(function(){function e(){}return function(t){if(!lt(t))return{};if(Vn)return Vn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();const Ja=Ya;function kn(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ga(){}function Za(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Qa=800,Xa=16,tu=Date.now;function eu(e){var t=0,r=0;return function(){var n=tu(),i=Xa-(n-r);if(r=n,i>0){if(++t>=Qa)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function ru(e){return function(){return e}}var nu=(function(){try{var e=qt(Object,"defineProperty");return e({},"",{}),e}catch(t){}})();const Ie=nu;var iu=Ie?function(e,t){return Ie(e,"toString",{configurable:!0,enumerable:!1,value:ru(t),writable:!0})}:mr,su=eu(iu);const ou=su;function au(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var uu=9007199254740991,cu=/^(?:0|[1-9]\d*)$/;function Le(e,t){var r=typeof e;return t=t==null?uu:t,!!t&&(r=="number"||r!="symbol"&&cu.test(e))&&e>-1&&e%1==0&&e<t}function Fe(e,t,r){t=="__proto__"&&Ie?Ie(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Zt(e,t){return e===t||e!==e&&t!==t}var fu=Object.prototype,lu=fu.hasOwnProperty;function _r(e,t,r){var n=e[t];(!(lu.call(e,t)&&Zt(n,r))||r===void 0&&!(t in e))&&Fe(e,t,r)}function zn(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s<o;){var u=t[s],f=n?n(r[u],e[u],u,r,e):void 0;f===void 0&&(f=e[u]),i?Fe(r,u,f):_r(r,u,f)}return r}var Kn=Math.max;function hu(e,t,r){return t=Kn(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=Kn(n.length-t,0),o=Array(s);++i<s;)o[i]=n[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=n[i];return u[t]=r(o),kn(e,this,u)}}function Wn(e,t){return ou(hu(e,t,mr),e+"")}var du=9007199254740991;function Sr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=du}function ve(e){return e!=null&&Sr(e.length)&&!Ne(e)}function Yn(e,t,r){if(!lt(r))return!1;var n=typeof t;return(n=="number"?ve(r)&&Le(t,r.length):n=="string"&&t in r)?Zt(r[t],e):!1}function Jn(e){return Wn(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&Yn(r[0],r[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++n<i;){var u=r[n];u&&e(t,u,n,s)}return t})}var pu=Object.prototype;function Er(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||pu;return e===r}function gu(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var vu="[object Arguments]";function Gn(e){return ft(e)&&St(e)==vu}var Zn=Object.prototype,yu=Zn.hasOwnProperty,mu=Zn.propertyIsEnumerable,bu=Gn((function(){return arguments})())?Gn:function(e){return ft(e)&&yu.call(e,"callee")&&!mu.call(e,"callee")};const je=bu;function wu(){return!1}var Qn=typeof A=="object"&&A&&!A.nodeType&&A,Xn=Qn&&typeof module=="object"&&module&&!module.nodeType&&module,_u=Xn&&Xn.exports===Qn,ti=_u?Z.Buffer:void 0,Su=ti?ti.isBuffer:void 0,Eu=Su||wu;const Qt=Eu;var Tu="[object Arguments]",Au="[object Array]",Ru="[object Boolean]",Ou="[object Date]",Du="[object Error]",Cu="[object Function]",xu="[object Map]",Bu="[object Number]",$u="[object Object]",Pu="[object RegExp]",Mu="[object Set]",Nu="[object String]",Iu="[object WeakMap]",Lu="[object ArrayBuffer]",Fu="[object DataView]",ju="[object Float32Array]",Uu="[object Float64Array]",Hu="[object Int8Array]",qu="[object Int16Array]",Vu="[object Int32Array]",ku="[object Uint8Array]",zu="[object Uint8ClampedArray]",Ku="[object Uint16Array]",Wu="[object Uint32Array]",G={};G[ju]=G[Uu]=G[Hu]=G[qu]=G[Vu]=G[ku]=G[zu]=G[Ku]=G[Wu]=!0,G[Tu]=G[Au]=G[Lu]=G[Ru]=G[Fu]=G[Ou]=G[Du]=G[Cu]=G[xu]=G[Bu]=G[$u]=G[Pu]=G[Mu]=G[Nu]=G[Iu]=!1;function Yu(e){return ft(e)&&Sr(e.length)&&!!G[St(e)]}function ye(e){return function(t){return e(t)}}var ei=typeof A=="object"&&A&&!A.nodeType&&A,me=ei&&typeof module=="object"&&module&&!module.nodeType&&module,Ju=me&&me.exports===ei,Tr=Ju&&ut.process,Gu=(function(){try{var e=me&&me.require&&me.require("util").types;return e||Tr&&Tr.binding&&Tr.binding("util")}catch(t){}})();const xt=Gu;var ri=xt&&xt.isTypedArray,Zu=ri?ye(ri):Yu;const Ar=Zu;var Qu=Object.prototype,Xu=Qu.hasOwnProperty;function ni(e,t){var r=dt(e),n=!r&&je(e),i=!r&&!n&&Qt(e),s=!r&&!n&&!i&&Ar(e),o=r||n||i||s,u=o?gu(e.length,String):[],f=u.length;for(var a in e)(t||Xu.call(e,a))&&!(o&&(a=="length"||i&&(a=="offset"||a=="parent")||s&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Le(a,f)))&&u.push(a);return u}function ii(e,t){return function(r){return e(t(r))}}var tc=ii(Object.keys,Object);const ec=tc;var rc=Object.prototype,nc=rc.hasOwnProperty;function ic(e){if(!Er(e))return ec(e);var t=[];for(var r in Object(e))nc.call(e,r)&&r!="constructor"&&t.push(r);return t}function Ue(e){return ve(e)?ni(e):ic(e)}function sc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var oc=Object.prototype,ac=oc.hasOwnProperty;function uc(e){if(!lt(e))return sc(e);var t=Er(e),r=[];for(var n in e)n=="constructor"&&(t||!ac.call(e,n))||r.push(n);return r}function Rr(e){return ve(e)?ni(e,!0):uc(e)}var cc=Jn(function(e,t,r,n){zn(t,Rr(t),e,n)});const si=cc;var fc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lc=/^\w*$/;function Or(e,t){if(dt(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ge(e)?!0:lc.test(e)||!fc.test(e)||t!=null&&e in Object(t)}var hc=qt(Object,"create");const be=hc;function dc(){this.__data__=be?be(null):{},this.size=0}function pc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gc="__lodash_hash_undefined__",vc=Object.prototype,yc=vc.hasOwnProperty;function mc(e){var t=this.__data__;if(be){var r=t[e];return r===gc?void 0:r}return yc.call(t,e)?t[e]:void 0}var bc=Object.prototype,wc=bc.hasOwnProperty;function _c(e){var t=this.__data__;return be?t[e]!==void 0:wc.call(t,e)}var Sc="__lodash_hash_undefined__";function Ec(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=be&&t===void 0?Sc:t,this}function Vt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Vt.prototype.clear=dc,Vt.prototype.delete=pc,Vt.prototype.get=mc,Vt.prototype.has=_c,Vt.prototype.set=Ec;function Tc(){this.__data__=[],this.size=0}function He(e,t){for(var r=e.length;r--;)if(Zt(e[r][0],t))return r;return-1}var Ac=Array.prototype,Rc=Ac.splice;function Oc(e){var t=this.__data__,r=He(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Rc.call(t,r,1),--this.size,!0}function Dc(e){var t=this.__data__,r=He(t,e);return r<0?void 0:t[r][1]}function Cc(e){return He(this.__data__,e)>-1}function xc(e,t){var r=this.__data__,n=He(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Pt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pt.prototype.clear=Tc,Pt.prototype.delete=Oc,Pt.prototype.get=Dc,Pt.prototype.has=Cc,Pt.prototype.set=xc;var Bc=qt(Z,"Map");const we=Bc;function $c(){this.size=0,this.__data__={hash:new Vt,map:new(we||Pt),string:new Vt}}function Pc(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qe(e,t){var r=e.__data__;return Pc(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Mc(e){var t=qe(this,e).delete(e);return this.size-=t?1:0,t}function Nc(e){return qe(this,e).get(e)}function Ic(e){return qe(this,e).has(e)}function Lc(e,t){var r=qe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Mt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Mt.prototype.clear=$c,Mt.prototype.delete=Mc,Mt.prototype.get=Nc,Mt.prototype.has=Ic,Mt.prototype.set=Lc;var Fc="Expected a function";function Dr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Fc);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var o=e.apply(this,n);return r.cache=s.set(i,o)||s,o};return r.cache=new(Dr.Cache||Mt),r}Dr.Cache=Mt;var jc=500;function Uc(e){var t=Dr(e,function(n){return r.size===jc&&r.clear(),n}),r=t.cache;return t}var Hc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qc=/\\(\\)?/g,Vc=Uc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Hc,function(r,n,i,s){t.push(i?s.replace(qc,"$1"):n||r)}),t});const kc=Vc;function kt(e){return e==null?"":jn(e)}function Cr(e,t){return dt(e)?e:Or(e,t)?[e]:kc(kt(e))}function _e(e){if(typeof e=="string"||ge(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function oi(e,t){t=Cr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[_e(t[r++])];return r&&r==n?e:void 0}function ai(e,t,r){var n=e==null?void 0:oi(e,t);return n===void 0?r:n}function zc(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Kc=ii(Object.getPrototypeOf,Object);const ui=Kc;var Wc="[object Object]",Yc=Function.prototype,Jc=Object.prototype,ci=Yc.toString,Gc=Jc.hasOwnProperty,Zc=ci.call(Object);function xr(e){if(!ft(e)||St(e)!=Wc)return!1;var t=ui(e);if(t===null)return!0;var r=Gc.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ci.call(r)==Zc}var Qc="[object DOMException]",Xc="[object Error]";function fi(e){if(!ft(e))return!1;var t=St(e);return t==Xc||t==Qc||typeof e.message=="string"&&typeof e.name=="string"&&!xr(e)}var tf=Wn(function(e,t){try{return kn(e,void 0,t)}catch(r){return fi(r)?r:new Error(r)}});const ef=tf;function rf(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n<i;)s[n]=e[n+t];return s}function nf(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:rf(e,t,r)}var sf="\\ud800-\\udfff",of="\\u0300-\\u036f",af="\\ufe20-\\ufe2f",uf="\\u20d0-\\u20ff",cf=of+af+uf,ff="\\ufe0e\\ufe0f",lf="\\u200d",hf=RegExp("["+lf+sf+cf+ff+"]");function li(e){return hf.test(e)}function df(e){return e.split("")}var hi="\\ud800-\\udfff",pf="\\u0300-\\u036f",gf="\\ufe20-\\ufe2f",vf="\\u20d0-\\u20ff",yf=pf+gf+vf,mf="\\ufe0e\\ufe0f",bf="["+hi+"]",Br="["+yf+"]",$r="\\ud83c[\\udffb-\\udfff]",wf="(?:"+Br+"|"+$r+")",di="[^"+hi+"]",pi="(?:\\ud83c[\\udde6-\\uddff]){2}",gi="[\\ud800-\\udbff][\\udc00-\\udfff]",_f="\\u200d",vi=wf+"?",yi="["+mf+"]?",Sf="(?:"+_f+"(?:"+[di,pi,gi].join("|")+")"+yi+vi+")*",Ef=yi+vi+Sf,Tf="(?:"+[di+Br+"?",Br,pi,gi,bf].join("|")+")",Af=RegExp($r+"(?="+$r+")|"+Tf+Ef,"g");function Rf(e){return e.match(Af)||[]}function Of(e){return li(e)?Rf(e):df(e)}function mi(e){return function(t){t=kt(t);var r=li(t)?Of(t):void 0,n=r?r[0]:t.charAt(0),i=r?nf(r,1).join(""):t.slice(1);return n[e]()+i}}var Df=mi("toUpperCase");const Pr=Df;function Cf(e){return Pr(kt(e).toLowerCase())}function xf(e,t,r,n){for(var i=-1,s=e==null?0:e.length;++i<s;)r=t(r,e[i],i,e);return r}function bi(e){return function(t){return e==null?void 0:e[t]}}var Bf={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},$f=bi(Bf);const Pf=$f;var Mf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Nf="\\u0300-\\u036f",If="\\ufe20-\\ufe2f",Lf="\\u20d0-\\u20ff",Ff=Nf+If+Lf,jf="["+Ff+"]",Uf=RegExp(jf,"g");function Hf(e){return e=kt(e),e&&e.replace(Mf,Pf).replace(Uf,"")}var qf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Vf(e){return e.match(qf)||[]}var kf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function zf(e){return kf.test(e)}var wi="\\ud800-\\udfff",Kf="\\u0300-\\u036f",Wf="\\ufe20-\\ufe2f",Yf="\\u20d0-\\u20ff",Jf=Kf+Wf+Yf,_i="\\u2700-\\u27bf",Si="a-z\\xdf-\\xf6\\xf8-\\xff",Gf="\\xac\\xb1\\xd7\\xf7",Zf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qf="\\u2000-\\u206f",Xf=" \\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",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",tl="\\ufe0e\\ufe0f",Ti=Gf+Zf+Qf+Xf,Ai="['’]",Ri="["+Ti+"]",el="["+Jf+"]",Oi="\\d+",rl="["+_i+"]",Di="["+Si+"]",Ci="[^"+wi+Ti+Oi+_i+Si+Ei+"]",nl="\\ud83c[\\udffb-\\udfff]",il="(?:"+el+"|"+nl+")",sl="[^"+wi+"]",xi="(?:\\ud83c[\\udde6-\\uddff]){2}",Bi="[\\ud800-\\udbff][\\udc00-\\udfff]",Xt="["+Ei+"]",ol="\\u200d",$i="(?:"+Di+"|"+Ci+")",al="(?:"+Xt+"|"+Ci+")",Pi="(?:"+Ai+"(?:d|ll|m|re|s|t|ve))?",Mi="(?:"+Ai+"(?:D|LL|M|RE|S|T|VE))?",Ni=il+"?",Ii="["+tl+"]?",ul="(?:"+ol+"(?:"+[sl,xi,Bi].join("|")+")"+Ii+Ni+")*",cl="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=Ii+Ni+ul,hl="(?:"+[rl,xi,Bi].join("|")+")"+ll,dl=RegExp([Xt+"?"+Di+"+"+Pi+"(?="+[Ri,Xt,"$"].join("|")+")",al+"+"+Mi+"(?="+[Ri,Xt+$i,"$"].join("|")+")",Xt+"?"+$i+"+"+Pi,Xt+"+"+Mi,fl,cl,Oi,hl].join("|"),"g");function pl(e){return e.match(dl)||[]}function gl(e,t,r){return e=kt(e),t=t,t===void 0?zf(e)?pl(e):Vf(e):e.match(t)||[]}var vl="['’]",yl=RegExp(vl,"g");function Mr(e){return function(t){return xf(gl(Hf(t).replace(yl,"")),e,"")}}var ml=Mr(function(e,t,r){return t=t.toLowerCase(),e+(r?Cf(t):t)});const Li=ml;function bl(){this.__data__=new Pt,this.size=0}function wl(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function _l(e){return this.__data__.get(e)}function Sl(e){return this.__data__.has(e)}var El=200;function Tl(e,t){var r=this.__data__;if(r instanceof Pt){var n=r.__data__;if(!we||n.length<El-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Mt(n)}return r.set(e,t),this.size=r.size,this}function Ot(e){var t=this.__data__=new Pt(e);this.size=t.size}Ot.prototype.clear=bl,Ot.prototype.delete=wl,Ot.prototype.get=_l,Ot.prototype.has=Sl,Ot.prototype.set=Tl;var Fi=typeof A=="object"&&A&&!A.nodeType&&A,ji=Fi&&typeof module=="object"&&module&&!module.nodeType&&module,Al=ji&&ji.exports===Fi,Ui=Al?Z.Buffer:void 0,Hi=Ui?Ui.allocUnsafe:void 0;function qi(e,t){if(t)return e.slice();var r=e.length,n=Hi?Hi(r):new e.constructor(r);return e.copy(n),n}function Rl(e,t){for(var r=-1,n=e==null?0:e.length,i=0,s=[];++r<n;){var o=e[r];t(o,r,e)&&(s[i++]=o)}return s}function Ol(){return[]}var Dl=Object.prototype,Cl=Dl.propertyIsEnumerable,Vi=Object.getOwnPropertySymbols,xl=Vi?function(e){return e==null?[]:(e=Object(e),Rl(Vi(e),function(t){return Cl.call(e,t)}))}:Ol;const Bl=xl;function $l(e,t,r){var n=t(e);return dt(e)?n:zc(n,r(e))}function Nr(e){return $l(e,Ue,Bl)}var Pl=qt(Z,"DataView");const Ir=Pl;var Ml=qt(Z,"Promise");const Lr=Ml;var Nl=qt(Z,"Set");const Fr=Nl;var ki="[object Map]",Il="[object Object]",zi="[object Promise]",Ki="[object Set]",Wi="[object WeakMap]",Yi="[object DataView]",Ll=Ht(Ir),Fl=Ht(we),jl=Ht(Lr),Ul=Ht(Fr),Hl=Ht(wr),zt=St;(Ir&&zt(new Ir(new ArrayBuffer(1)))!=Yi||we&&zt(new we)!=ki||Lr&&zt(Lr.resolve())!=zi||Fr&&zt(new Fr)!=Ki||wr&&zt(new wr)!=Wi)&&(zt=function(e){var t=St(e),r=t==Il?e.constructor:void 0,n=r?Ht(r):"";if(n)switch(n){case Ll:return Yi;case Fl:return ki;case jl:return zi;case Ul:return Ki;case Hl:return Wi}return t});const Se=zt;var ql=Object.prototype,Vl=ql.hasOwnProperty;function kl(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Vl.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var zl=Z.Uint8Array;const Ve=zl;function jr(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Kl(e,t){var r=jr(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var Wl=/\w*$/;function Yl(e){var t=new e.constructor(e.source,Wl.exec(e));return t.lastIndex=e.lastIndex,t}var Ji=st?st.prototype:void 0,Gi=Ji?Ji.valueOf:void 0;function Jl(e){return Gi?Object(Gi.call(e)):{}}function Zi(e,t){var r=t?jr(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Gl="[object Boolean]",Zl="[object Date]",Ql="[object Map]",Xl="[object Number]",th="[object RegExp]",eh="[object Set]",rh="[object String]",nh="[object Symbol]",ih="[object ArrayBuffer]",sh="[object DataView]",oh="[object Float32Array]",ah="[object Float64Array]",uh="[object Int8Array]",ch="[object Int16Array]",fh="[object Int32Array]",lh="[object Uint8Array]",hh="[object Uint8ClampedArray]",dh="[object Uint16Array]",ph="[object Uint32Array]";function gh(e,t,r){var n=e.constructor;switch(t){case ih:return jr(e);case Gl:case Zl:return new n(+e);case sh:return Kl(e);case oh:case ah:case uh:case ch:case fh:case lh:case hh:case dh:case ph:return Zi(e,r);case Ql:return new n;case Xl:case rh:return new n(e);case th:return Yl(e);case eh:return new n;case nh:return Jl(e)}}function Qi(e){return typeof e.constructor=="function"&&!Er(e)?Ja(ui(e)):{}}var vh="[object Map]";function yh(e){return ft(e)&&Se(e)==vh}var Xi=xt&&xt.isMap,mh=Xi?ye(Xi):yh;const bh=mh;var wh="[object Set]";function _h(e){return ft(e)&&Se(e)==wh}var ts=xt&&xt.isSet,Sh=ts?ye(ts):_h;const Eh=Sh;var Th=1,es="[object Arguments]",Ah="[object Array]",Rh="[object Boolean]",Oh="[object Date]",Dh="[object Error]",rs="[object Function]",Ch="[object GeneratorFunction]",xh="[object Map]",Bh="[object Number]",ns="[object Object]",$h="[object RegExp]",Ph="[object Set]",Mh="[object String]",Nh="[object Symbol]",Ih="[object WeakMap]",Lh="[object ArrayBuffer]",Fh="[object DataView]",jh="[object Float32Array]",Uh="[object Float64Array]",Hh="[object Int8Array]",qh="[object Int16Array]",Vh="[object Int32Array]",kh="[object Uint8Array]",zh="[object Uint8ClampedArray]",Kh="[object Uint16Array]",Wh="[object Uint32Array]",J={};J[es]=J[Ah]=J[Lh]=J[Fh]=J[Rh]=J[Oh]=J[jh]=J[Uh]=J[Hh]=J[qh]=J[Vh]=J[xh]=J[Bh]=J[ns]=J[$h]=J[Ph]=J[Mh]=J[Nh]=J[kh]=J[zh]=J[Kh]=J[Wh]=!0,J[Dh]=J[rs]=J[Ih]=!1;function ke(e,t,r,n,i,s){var o,u=t&Th;if(o!==void 0)return o;if(!lt(e))return e;var f=dt(e);if(f)o=kl(e);else{var a=Se(e),c=a==rs||a==Ch;if(Qt(e))return qi(e,u);if(a==ns||a==es||c&&!i)o=c?{}:Qi(e);else{if(!J[a])return i?e:{};o=gh(e,a,u)}}s||(s=new Ot);var l=s.get(e);if(l)return l;s.set(e,o),Eh(e)?e.forEach(function(p){o.add(ke(p,t,r,p,e,s))}):bh(e)&&e.forEach(function(p,g){o.set(g,ke(p,t,r,g,e,s))});var h=Nr,d=f?void 0:h(e);return au(d||e,function(p,g){d&&(g=p,p=e[g]),_r(o,g,ke(p,t,r,g,e,s))}),o}var Yh=1,Jh=4;function Gh(e){return ke(e,Yh|Jh)}var Zh="__lodash_hash_undefined__";function Qh(e){return this.__data__.set(e,Zh),this}function Xh(e){return this.__data__.has(e)}function ze(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Mt;++t<r;)this.add(e[t])}ze.prototype.add=ze.prototype.push=Qh,ze.prototype.has=Xh;function td(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function ed(e,t){return e.has(t)}var rd=1,nd=2;function is(e,t,r,n,i,s){var o=r&rd,u=e.length,f=t.length;if(u!=f&&!(o&&f>u))return!1;var a=s.get(e),c=s.get(t);if(a&&c)return a==t&&c==e;var l=-1,h=!0,d=r&nd?new ze:void 0;for(s.set(e,t),s.set(t,e);++l<u;){var p=e[l],g=t[l];if(n)var v=o?n(g,p,l,t,e,s):n(p,g,l,e,t,s);if(v!==void 0){if(v)continue;h=!1;break}if(d){if(!td(t,function(_,m){if(!ed(d,m)&&(p===_||i(p,_,r,n,s)))return d.push(m)})){h=!1;break}}else if(!(p===g||i(p,g,r,n,s))){h=!1;break}}return s.delete(e),s.delete(t),h}function id(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function sd(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var od=1,ad=2,ud="[object Boolean]",cd="[object Date]",fd="[object Error]",ld="[object Map]",hd="[object Number]",dd="[object RegExp]",pd="[object Set]",gd="[object String]",vd="[object Symbol]",yd="[object ArrayBuffer]",md="[object DataView]",ss=st?st.prototype:void 0,Ur=ss?ss.valueOf:void 0;function bd(e,t,r,n,i,s,o){switch(r){case md:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case yd:return!(e.byteLength!=t.byteLength||!s(new Ve(e),new Ve(t)));case ud:case cd:case hd:return Zt(+e,+t);case fd:return e.name==t.name&&e.message==t.message;case dd:case gd:return e==t+"";case ld:var u=id;case pd:var f=n&od;if(u||(u=sd),e.size!=t.size&&!f)return!1;var a=o.get(e);if(a)return a==t;n|=ad,o.set(e,t);var c=is(u(e),u(t),n,i,s,o);return o.delete(e),c;case vd:if(Ur)return Ur.call(e)==Ur.call(t)}return!1}var wd=1,_d=Object.prototype,Sd=_d.hasOwnProperty;function Ed(e,t,r,n,i,s){var o=r&wd,u=Nr(e),f=u.length,a=Nr(t),c=a.length;if(f!=c&&!o)return!1;for(var l=f;l--;){var h=u[l];if(!(o?h in t:Sd.call(t,h)))return!1}var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var v=o;++l<f;){h=u[l];var _=e[h],m=t[h];if(n)var y=o?n(m,_,h,t,e,s):n(_,m,h,e,t,s);if(!(y===void 0?_===m||i(_,m,r,n,s):y)){g=!1;break}v||(v=h=="constructor")}if(g&&!v){var w=e.constructor,T=t.constructor;w!=T&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof T=="function"&&T instanceof T)&&(g=!1)}return s.delete(e),s.delete(t),g}var Td=1,os="[object Arguments]",as="[object Array]",Ke="[object Object]",Ad=Object.prototype,us=Ad.hasOwnProperty;function Rd(e,t,r,n,i,s){var o=dt(e),u=dt(t),f=o?as:Se(e),a=u?as:Se(t);f=f==os?Ke:f,a=a==os?Ke:a;var c=f==Ke,l=a==Ke,h=f==a;if(h&&Qt(e)){if(!Qt(t))return!1;o=!0,c=!1}if(h&&!c)return s||(s=new Ot),o||Ar(e)?is(e,t,r,n,i,s):bd(e,t,f,r,n,i,s);if(!(r&Td)){var d=c&&us.call(e,"__wrapped__"),p=l&&us.call(t,"__wrapped__");if(d||p){var g=d?e.value():e,v=p?t.value():t;return s||(s=new Ot),i(g,v,r,n,s)}}return h?(s||(s=new Ot),Ed(e,t,r,n,i,s)):!1}function We(e,t,r,n,i){return e===t?!0:e==null||t==null||!ft(e)&&!ft(t)?e!==e&&t!==t:Rd(e,t,r,n,We,i)}var Od=1,Dd=2;function Cd(e,t,r,n){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var o=r[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<s;){o=r[i];var u=o[0],f=e[u],a=o[1];if(o[2]){if(f===void 0&&!(u in e))return!1}else{var c=new Ot,l;if(!(l===void 0?We(a,f,Od|Dd,n,c):l))return!1}}return!0}function cs(e){return e===e&&!lt(e)}function xd(e){for(var t=Ue(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,cs(i)]}return t}function fs(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Bd(e){var t=xd(e);return t.length==1&&t[0][2]?fs(t[0][0],t[0][1]):function(r){return r===e||Cd(r,e,t)}}function $d(e,t){return e!=null&&t in Object(e)}function Pd(e,t,r){t=Cr(t,e);for(var n=-1,i=t.length,s=!1;++n<i;){var o=_e(t[n]);if(!(s=e!=null&&r(e,o)))break;e=e[o]}return s||++n!=i?s:(i=e==null?0:e.length,!!i&&Sr(i)&&Le(o,i)&&(dt(e)||je(e)))}function Md(e,t){return e!=null&&Pd(e,t,$d)}var Nd=1,Id=2;function Ld(e,t){return Or(e)&&cs(t)?fs(_e(e),t):function(r){var n=ai(r,e);return n===void 0&&n===t?Md(r,e):We(t,n,Nd|Id)}}function Fd(e){return function(t){return t==null?void 0:t[e]}}function jd(e){return function(t){return oi(t,e)}}function Ud(e){return Or(e)?Fd(_e(e)):jd(e)}function Hd(e){return typeof e=="function"?e:e==null?mr:typeof e=="object"?dt(e)?Ld(e[0],e[1]):Bd(e):Ud(e)}function qd(e,t,r,n){for(var i=-1,s=e==null?0:e.length;++i<s;){var o=e[i];t(n,o,r(o),e)}return n}function Vd(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),u=o.length;u--;){var f=o[++i];if(r(s[f],f,s)===!1)break}return t}}var kd=Vd();const ls=kd;function zd(e,t){return e&&ls(e,t,Ue)}function Kd(e,t){return function(r,n){if(r==null)return r;if(!ve(r))return e(r,n);for(var i=r.length,s=-1,o=Object(r);++s<i&&n(o[s],s,o)!==!1;);return r}}var Wd=Kd(zd);const Yd=Wd;function Jd(e,t,r,n){return Yd(e,function(i,s,o){t(n,i,r(i),o)}),n}function Gd(e,t){return function(r,n){var i=dt(r)?qd:Jd,s={};return i(r,e,Hd(n),s)}}var Zd=function(){return Z.Date.now()};const Hr=Zd;var Qd="Expected a function",Xd=Math.max,tp=Math.min;function qr(e,t,r){var n,i,s,o,u,f,a=0,c=!1,l=!1,h=!0;if(typeof e!="function")throw new TypeError(Qd);t=Hn(t)||0,lt(r)&&(c=!!r.leading,l="maxWait"in r,s=l?Xd(Hn(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h);function d(b){var O=n,x=i;return n=i=void 0,a=b,o=e.apply(x,O),o}function p(b){return a=b,u=setTimeout(_,t),c?d(b):o}function g(b){var O=b-f,x=b-a,U=t-O;return l?tp(U,s-x):U}function v(b){var O=b-f,x=b-a;return f===void 0||O>=t||O<0||l&&x>=s}function _(){var b=Hr();if(v(b))return m(b);u=setTimeout(_,g(b))}function m(b){return u=void 0,h&&n?d(b):(n=i=void 0,o)}function y(){u!==void 0&&clearTimeout(u),a=0,n=f=i=u=void 0}function w(){return u===void 0?o:m(Hr())}function T(){var b=Hr(),O=v(b);if(n=arguments,i=this,f=b,O){if(u===void 0)return p(f);if(l)return clearTimeout(u),u=setTimeout(_,t),d(f)}return u===void 0&&(u=setTimeout(_,t)),o}return T.cancel=y,T.flush=w,T}function Vr(e,t,r){(r!==void 0&&!Zt(e[t],r)||r===void 0&&!(t in e))&&Fe(e,t,r)}function ep(e){return ft(e)&&ve(e)}function kr(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function rp(e){return zn(e,Rr(e))}function np(e,t,r,n,i,s,o){var u=kr(e,r),f=kr(t,r),a=o.get(f);if(a){Vr(e,r,a);return}var c=s?s(u,f,r+"",e,t,o):void 0,l=c===void 0;if(l){var h=dt(f),d=!h&&Qt(f),p=!h&&!d&&Ar(f);c=f,h||d||p?dt(u)?c=u:ep(u)?c=Za(u):d?(l=!1,c=qi(f,!0)):p?(l=!1,c=Zi(f,!0)):c=[]:xr(f)||je(f)?(c=u,je(u)?c=rp(u):(!lt(u)||Ne(u))&&(c=Qi(f))):l=!1}l&&(o.set(f,c),i(c,f,n,s,o),o.delete(f)),Vr(e,r,c)}function hs(e,t,r,n,i){e!==t&&ls(t,function(s,o){if(i||(i=new Ot),lt(s))np(e,t,o,r,hs,n,i);else{var u=n?n(kr(e,o),s,o+"",e,t,i):void 0;u===void 0&&(u=s),Vr(e,o,u)}},Rr)}var ip={"&":"&","<":"<",">":">",'"':""","'":"'"},sp=bi(ip);const op=sp;var ds=/[&<>"']/g,ap=RegExp(ds.source);function up(e){return e=kt(e),e&&ap.test(e)?e.replace(ds,op):e}var cp=Object.prototype,fp=cp.hasOwnProperty,lp=Gd(function(e,t,r){fp.call(e,r)?e[r].push(t):Fe(e,r,[t])});const ps=lp;var hp="[object String]";function dp(e){return typeof e=="string"||!dt(e)&&ft(e)&&St(e)==hp}function pp(e,t){return In(t,function(r){return e[r]})}var gp="[object ArrayBuffer]";function vp(e){return ft(e)&&St(e)==gp}var gs=xt&&xt.isArrayBuffer,yp=gs?ye(gs):vp;const mp=yp;var bp="[object Boolean]";function wp(e){return e===!0||e===!1||ft(e)&&St(e)==bp}var _p="[object Date]";function Sp(e){return ft(e)&&St(e)==_p}var vs=xt&&xt.isDate,Ep=vs?ye(vs):Sp;const Tp=Ep;function Ap(e,t){return We(e,t)}var Rp="[object Number]";function ys(e){return typeof e=="number"||ft(e)&&St(e)==Rp}function Op(e){return ys(e)&&e!=+e}function Dp(e){return e===null}function Cp(e){return e===void 0}var xp=Mr(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});const Bp=xp;var $p=mi("toLowerCase");const Pp=$p;var Mp=Jn(function(e,t,r){hs(e,t,r)});const te=Mp;function Np(e,t,r,n){if(!lt(e))return e;t=Cr(t,e);for(var i=-1,s=t.length,o=s-1,u=e;u!=null&&++i<s;){var f=_e(t[i]),a=r;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=o){var c=u[f];a=void 0,a===void 0&&(a=lt(c)?c:Le(t[i+1])?[]:{})}_r(u,f,a),u=u[f]}return e}function Ip(e,t,r){return e==null?e:Np(e,t,r)}var Lp=Mr(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});const Fp=Lp;var ms=Object.prototype,jp=ms.hasOwnProperty;function bs(e,t,r,n){return e===void 0||Zt(e,ms[r])&&!jp.call(n,r)?t:e}var Up={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Hp(e){return"\\"+Up[e]}var qp=/<%=([\s\S]+?)%>/g;const ws=qp;var Vp=/<%-([\s\S]+?)%>/g;const kp=Vp;var zp=/<%([\s\S]+?)%>/g,Kp={escape:kp,evaluate:zp,interpolate:ws,variable:"",imports:{_:{escape:up}}};const _s=Kp;var Wp="Invalid `variable` option passed into `_.template`",Yp=/\b__p \+= '';/g,Jp=/\b(__p \+=) '' \+/g,Gp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zp=/[()=,{}\[\]\/\s]/,Qp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/($^)/,Xp=/['\n\r\u2028\u2029\\]/g,tg=Object.prototype,Ss=tg.hasOwnProperty;function Es(e,t,r){var n=_s.imports._.templateSettings||_s;r&&Yn(e,t,r)&&(t=void 0),e=kt(e),t=si({},t,n,bs);var i=si({},t.imports,n.imports,bs),s=Ue(i),o=pp(i,s),u,f,a=0,c=t.interpolate||Ye,l="__p += '",h=RegExp((t.escape||Ye).source+"|"+c.source+"|"+(c===ws?Qp:Ye).source+"|"+(t.evaluate||Ye).source+"|$","g"),d=Ss.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(h,function(v,_,m,y,w,T){return m||(m=y),l+=e.slice(a,T).replace(Xp,Hp),_&&(u=!0,l+="' +\n__e("+_+") +\n'"),w&&(f=!0,l+="';\n"+w+";\n__p += '"),m&&(l+="' +\n((__t = ("+m+")) == null ? '' : __t) +\n'"),a=T+v.length,v}),l+="';\n";var p=Ss.call(t,"variable")&&t.variable;if(!p)l="with (obj) {\n"+l+"\n}\n";else if(Zp.test(p))throw new Error(Wp);l=(f?l.replace(Yp,""):l).replace(Jp,"$1").replace(Gp,"$1;"),l="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var g=ef(function(){return Function(s,d+"return "+l).apply(void 0,o)});if(g.source=l,fi(g))throw g;return g}var eg="Expected a function";function Ts(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(eg);return lt(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),qr(e,t,{leading:n,maxWait:t,trailing:i})}function rg(e){return Pr(Li(e))}var pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var As={exports:{}};function ng(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zr={exports:{}},Rs;function It(){return Rs||(Rs=1,(function(e,t){(function(r,n){e.exports=n()})(pt,function(){var r=r||(function(n,i){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof pt<"u"&&pt.crypto&&(s=pt.crypto),!s&&typeof ng=="function")try{s=require("crypto")}catch(m){}var o=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch(m){}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch(m){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||(function(){function m(){}return function(y){var w;return m.prototype=y,w=new m,m.prototype=null,w}})(),f={},a=f.lib={},c=a.Base=(function(){return{extend:function(m){var y=u(this);return m&&y.mixIn(m),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var y in m)m.hasOwnProperty(y)&&(this[y]=m[y]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),l=a.WordArray=c.extend({init:function(m,y){m=this.words=m||[],y!=i?this.sigBytes=y:this.sigBytes=m.length*4},toString:function(m){return(m||d).stringify(this)},concat:function(m){var y=this.words,w=m.words,T=this.sigBytes,b=m.sigBytes;if(this.clamp(),T%4)for(var O=0;O<b;O++){var x=w[O>>>2]>>>24-O%4*8&255;y[T+O>>>2]|=x<<24-(T+O)%4*8}else for(var U=0;U<b;U+=4)y[T+U>>>2]=w[U>>>2];return this.sigBytes+=b,this},clamp:function(){var m=this.words,y=this.sigBytes;m[y>>>2]&=4294967295<<32-y%4*8,m.length=n.ceil(y/4)},clone:function(){var m=c.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var y=[],w=0;w<m;w+=4)y.push(o());return new l.init(y,m)}}),h=f.enc={},d=h.Hex={stringify:function(m){for(var y=m.words,w=m.sigBytes,T=[],b=0;b<w;b++){var O=y[b>>>2]>>>24-b%4*8&255;T.push((O>>>4).toString(16)),T.push((O&15).toString(16))}return T.join("")},parse:function(m){for(var y=m.length,w=[],T=0;T<y;T+=2)w[T>>>3]|=parseInt(m.substr(T,2),16)<<24-T%8*4;return new l.init(w,y/2)}},p=h.Latin1={stringify:function(m){for(var y=m.words,w=m.sigBytes,T=[],b=0;b<w;b++){var O=y[b>>>2]>>>24-b%4*8&255;T.push(String.fromCharCode(O))}return T.join("")},parse:function(m){for(var y=m.length,w=[],T=0;T<y;T++)w[T>>>2]|=(m.charCodeAt(T)&255)<<24-T%4*8;return new l.init(w,y)}},g=h.Utf8={stringify:function(m){try{return decodeURIComponent(escape(p.stringify(m)))}catch(y){throw new Error("Malformed UTF-8 data")}},parse:function(m){return p.parse(unescape(encodeURIComponent(m)))}},v=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=g.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var y,w=this._data,T=w.words,b=w.sigBytes,O=this.blockSize,x=O*4,U=b/x;m?U=n.ceil(U):U=n.max((U|0)-this._minBufferSize,0);var S=U*O,R=n.min(S*4,b);if(S){for(var F=0;F<S;F+=O)this._doProcessBlock(T,F);y=T.splice(0,S),w.sigBytes-=R}return new l.init(y,R)},clone:function(){var m=c.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});a.Hasher=v.extend({cfg:c.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(m){return function(y,w){return new m.init(w).finalize(y)}},_createHmacHelper:function(m){return function(y,w){return new _.HMAC.init(m,w).finalize(y)}}});var _=f.algo={};return f})(Math);return r})})(zr)),zr.exports}(function(e,t){(function(r,n){e.exports=n(It())})(pt,function(r){return(function(n){var i=r,s=i.lib,o=s.WordArray,u=s.Hasher,f=i.algo,a=[];(function(){for(var g=0;g<64;g++)a[g]=n.abs(n.sin(g+1))*4294967296|0})();var c=f.MD5=u.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,v){for(var _=0;_<16;_++){var m=v+_,y=g[m];g[m]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var w=this._hash.words,T=g[v+0],b=g[v+1],O=g[v+2],x=g[v+3],U=g[v+4],S=g[v+5],R=g[v+6],F=g[v+7],I=g[v+8],L=g[v+9],$=g[v+10],N=g[v+11],H=g[v+12],j=g[v+13],k=g[v+14],V=g[v+15],D=w[0],M=w[1],C=w[2],P=w[3];D=l(D,M,C,P,T,7,a[0]),P=l(P,D,M,C,b,12,a[1]),C=l(C,P,D,M,O,17,a[2]),M=l(M,C,P,D,x,22,a[3]),D=l(D,M,C,P,U,7,a[4]),P=l(P,D,M,C,S,12,a[5]),C=l(C,P,D,M,R,17,a[6]),M=l(M,C,P,D,F,22,a[7]),D=l(D,M,C,P,I,7,a[8]),P=l(P,D,M,C,L,12,a[9]),C=l(C,P,D,M,$,17,a[10]),M=l(M,C,P,D,N,22,a[11]),D=l(D,M,C,P,H,7,a[12]),P=l(P,D,M,C,j,12,a[13]),C=l(C,P,D,M,k,17,a[14]),M=l(M,C,P,D,V,22,a[15]),D=h(D,M,C,P,b,5,a[16]),P=h(P,D,M,C,R,9,a[17]),C=h(C,P,D,M,N,14,a[18]),M=h(M,C,P,D,T,20,a[19]),D=h(D,M,C,P,S,5,a[20]),P=h(P,D,M,C,$,9,a[21]),C=h(C,P,D,M,V,14,a[22]),M=h(M,C,P,D,U,20,a[23]),D=h(D,M,C,P,L,5,a[24]),P=h(P,D,M,C,k,9,a[25]),C=h(C,P,D,M,x,14,a[26]),M=h(M,C,P,D,I,20,a[27]),D=h(D,M,C,P,j,5,a[28]),P=h(P,D,M,C,O,9,a[29]),C=h(C,P,D,M,F,14,a[30]),M=h(M,C,P,D,H,20,a[31]),D=d(D,M,C,P,S,4,a[32]),P=d(P,D,M,C,I,11,a[33]),C=d(C,P,D,M,N,16,a[34]),M=d(M,C,P,D,k,23,a[35]),D=d(D,M,C,P,b,4,a[36]),P=d(P,D,M,C,U,11,a[37]),C=d(C,P,D,M,F,16,a[38]),M=d(M,C,P,D,$,23,a[39]),D=d(D,M,C,P,j,4,a[40]),P=d(P,D,M,C,T,11,a[41]),C=d(C,P,D,M,x,16,a[42]),M=d(M,C,P,D,R,23,a[43]),D=d(D,M,C,P,L,4,a[44]),P=d(P,D,M,C,H,11,a[45]),C=d(C,P,D,M,V,16,a[46]),M=d(M,C,P,D,O,23,a[47]),D=p(D,M,C,P,T,6,a[48]),P=p(P,D,M,C,F,10,a[49]),C=p(C,P,D,M,k,15,a[50]),M=p(M,C,P,D,S,21,a[51]),D=p(D,M,C,P,H,6,a[52]),P=p(P,D,M,C,x,10,a[53]),C=p(C,P,D,M,$,15,a[54]),M=p(M,C,P,D,b,21,a[55]),D=p(D,M,C,P,I,6,a[56]),P=p(P,D,M,C,V,10,a[57]),C=p(C,P,D,M,R,15,a[58]),M=p(M,C,P,D,j,21,a[59]),D=p(D,M,C,P,U,6,a[60]),P=p(P,D,M,C,N,10,a[61]),C=p(C,P,D,M,O,15,a[62]),M=p(M,C,P,D,L,21,a[63]),w[0]=w[0]+D|0,w[1]=w[1]+M|0,w[2]=w[2]+C|0,w[3]=w[3]+P|0},_doFinalize:function(){var g=this._data,v=g.words,_=this._nDataBytes*8,m=g.sigBytes*8;v[m>>>5]|=128<<24-m%32;var y=n.floor(_/4294967296),w=_;v[(m+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v[(m+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g.sigBytes=(v.length+1)*4,this._process();for(var T=this._hash,b=T.words,O=0;O<4;O++){var x=b[O];b[O]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}return T},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function l(g,v,_,m,y,w,T){var b=g+(v&_|~v&m)+y+T;return(b<<w|b>>>32-w)+v}function h(g,v,_,m,y,w,T){var b=g+(v&m|_&~m)+y+T;return(b<<w|b>>>32-w)+v}function d(g,v,_,m,y,w,T){var b=g+(v^_^m)+y+T;return(b<<w|b>>>32-w)+v}function p(g,v,_,m,y,w,T){var b=g+(_^(v|~m))+y+T;return(b<<w|b>>>32-w)+v}i.MD5=u._createHelper(c),i.HmacMD5=u._createHmacHelper(c)})(Math),r.MD5})})(As);var Os=As.exports;const ig=ee(Os);var Ds={exports:{}};(function(e,t){(function(r,n){e.exports=n(It())})(pt,function(r){return(function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Base64={stringify:function(f){var a=f.words,c=f.sigBytes,l=this._map;f.clamp();for(var h=[],d=0;d<c;d+=3)for(var p=a[d>>>2]>>>24-d%4*8&255,g=a[d+1>>>2]>>>24-(d+1)%4*8&255,v=a[d+2>>>2]>>>24-(d+2)%4*8&255,_=p<<16|g<<8|v,m=0;m<4&&d+m*.75<c;m++)h.push(l.charAt(_>>>6*(3-m)&63));var y=l.charAt(64);if(y)for(;h.length%4;)h.push(y);return h.join("")},parse:function(f){var a=f.length,c=this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h<c.length;h++)l[c.charCodeAt(h)]=h}var d=c.charAt(64);if(d){var p=f.indexOf(d);p!==-1&&(a=p)}return u(f,a,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(f,a,c){for(var l=[],h=0,d=0;d<a;d++)if(d%4){var p=c[f.charCodeAt(d-1)]<<d%4*2,g=c[f.charCodeAt(d)]>>>6-d%4*2,v=p|g;l[h>>>2]|=v<<24-h%4*8,h++}return s.create(l,h)}})(),r.enc.Base64})})(Ds);var Cs=Ds.exports;const xs=ee(Cs);var Bs={exports:{}};(function(e,t){(function(r,n){e.exports=n(It())})(pt,function(r){return r.enc.Utf8})})(Bs);var sg=Bs.exports;const Kr=ee(sg);var $s={exports:{}},Wr={exports:{}},Yr={exports:{}},Ps;function og(){return Ps||(Ps=1,(function(e,t){(function(r,n){e.exports=n(It())})(pt,function(r){return(function(){var n=r,i=n.lib,s=i.WordArray,o=i.Hasher,u=n.algo,f=[],a=u.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,l){for(var h=this._hash.words,d=h[0],p=h[1],g=h[2],v=h[3],_=h[4],m=0;m<80;m++){if(m<16)f[m]=c[l+m]|0;else{var y=f[m-3]^f[m-8]^f[m-14]^f[m-16];f[m]=y<<1|y>>>31}var w=(d<<5|d>>>27)+_+f[m];m<20?w+=(p&g|~p&v)+1518500249:m<40?w+=(p^g^v)+1859775393:m<60?w+=(p&g|p&v|g&v)-1894007588:w+=(p^g^v)-899497514,_=v,v=g,g=p<<30|p>>>2,p=d,d=w}h[0]=h[0]+d|0,h[1]=h[1]+p|0,h[2]=h[2]+g|0,h[3]=h[3]+v|0,h[4]=h[4]+_|0},_doFinalize:function(){var c=this._data,l=c.words,h=this._nDataBytes*8,d=c.sigBytes*8;return l[d>>>5]|=128<<24-d%32,l[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),l[(d+64>>>9<<4)+15]=h,c.sigBytes=l.length*4,this._process(),this._hash},clone:function(){var c=o.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=o._createHelper(a),n.HmacSHA1=o._createHmacHelper(a)})(),r.SHA1})})(Yr)),Yr.exports}var Jr={exports:{}},Ms;function ag(){return Ms||(Ms=1,(function(e,t){(function(r,n){e.exports=n(It())})(pt,function(r){(function(){var n=r,i=n.lib,s=i.Base,o=n.enc,u=o.Utf8,f=n.algo;f.HMAC=s.extend({init:function(a,c){a=this._hasher=new a.init,typeof c=="string"&&(c=u.parse(c));var l=a.blockSize,h=l*4;c.sigBytes>h&&(c=a.finalize(c)),c.clamp();for(var d=this._oKey=c.clone(),p=this._iKey=c.clone(),g=d.words,v=p.words,_=0;_<l;_++)g[_]^=1549556828,v[_]^=909522486;d.sigBytes=p.sigBytes=h,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var c=this._hasher,l=c.finalize(a);c.reset();var h=c.finalize(this._oKey.clone().concat(l));return h}})})()})})(Jr)),Jr.exports}var Ns;function Is(){return Ns||(Ns=1,(function(e,t){(function(r,n,i){e.exports=n(It(),og(),ag())})(pt,function(r){return(function(){var n=r,i=n.lib,s=i.Base,o=i.WordArray,u=n.algo,f=u.MD5,a=u.EvpKDF=s.extend({cfg:s.extend({keySize:128/32,hasher:f,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,l){for(var h,d=this.cfg,p=d.hasher.create(),g=o.create(),v=g.words,_=d.keySize,m=d.iterations;v.length<_;){h&&p.update(h),h=p.update(c).finalize(l),p.reset();for(var y=1;y<m;y++)h=p.finalize(h),p.reset();g.concat(h)}return g.sigBytes=_*4,g}});n.EvpKDF=function(c,l,h){return a.create(h).compute(c,l)}})(),r.EvpKDF})})(Wr)),Wr.exports}var Gr={exports:{}},Ls;function ug(){return Ls||(Ls=1,(function(e,t){(function(r,n,i){e.exports=n(It(),Is())})(pt,function(r){r.lib.Cipher||(function(n){var i=r,s=i.lib,o=s.Base,u=s.WordArray,f=s.BufferedBlockAlgorithm,a=i.enc;a.Utf8;var c=a.Base64,l=i.algo,h=l.EvpKDF,d=s.Cipher=f.extend({cfg:o.extend(),createEncryptor:function(S,R){return this.create(this._ENC_XFORM_MODE,S,R)},createDecryptor:function(S,R){return this.create(this._DEC_XFORM_MODE,S,R)},init:function(S,R,F){this.cfg=this.cfg.extend(F),this._xformMode=S,this._key=R,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(S){return this._append(S),this._process()},finalize:function(S){S&&this._append(S);var R=this._doFinalize();return R},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function S(R){return typeof R=="string"?U:b}return function(R){return{encrypt:function(F,I,L){return S(I).encrypt(R,F,I,L)},decrypt:function(F,I,L){return S(I).decrypt(R,F,I,L)}}}})()});s.StreamCipher=d.extend({_doFinalize:function(){var S=this._process(!0);return S},blockSize:1});var p=i.mode={},g=s.BlockCipherMode=o.extend({createEncryptor:function(S,R){return this.Encryptor.create(S,R)},createDecryptor:function(S,R){return this.Decryptor.create(S,R)},init:function(S,R){this._cipher=S,this._iv=R}}),v=p.CBC=(function(){var S=g.extend();S.Encryptor=S.extend({processBlock:function(F,I){var L=this._cipher,$=L.blockSize;R.call(this,F,I,$),L.encryptBlock(F,I),this._prevBlock=F.slice(I,I+$)}}),S.Decryptor=S.extend({processBlock:function(F,I){var L=this._cipher,$=L.blockSize,N=F.slice(I,I+$);L.decryptBlock(F,I),R.call(this,F,I,$),this._prevBlock=N}});function R(F,I,L){var $,N=this._iv;N?($=N,this._iv=n):$=this._prevBlock;for(var H=0;H<L;H++)F[I+H]^=$[H]}return S})(),_=i.pad={},m=_.Pkcs7={pad:function(S,R){for(var F=R*4,I=F-S.sigBytes%F,L=I<<24|I<<16|I<<8|I,$=[],N=0;N<I;N+=4)$.push(L);var H=u.create($,I);S.concat(H)},unpad:function(S){var R=S.words[S.sigBytes-1>>>2]&255;S.sigBytes-=R}};s.BlockCipher=d.extend({cfg:d.cfg.extend({mode:v,padding:m}),reset:function(){var S;d.reset.call(this);var R=this.cfg,F=R.iv,I=R.mode;this._xformMode==this._ENC_XFORM_MODE?S=I.createEncryptor:(S=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,F&&F.words):(this._mode=S.call(I,this,F&&F.words),this._mode.__creator=S)},_doProcessBlock:function(S,R){this._mode.processBlock(S,R)},_doFinalize:function(){var S,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),R.unpad(S)),S},blockSize:4});var y=s.CipherParams=o.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),w=i.format={},T=w.OpenSSL={stringify:function(S){var R,F=S.ciphertext,I=S.salt;return I?R=u.create([1398893684,1701076831]).concat(I).concat(F):R=F,R.toString(c)},parse:function(S){var R,F=c.parse(S),I=F.words;return I[0]==1398893684&&I[1]==1701076831&&(R=u.create(I.slice(2,4)),I.splice(0,4),F.sigBytes-=16),y.create({ciphertext:F,salt:R})}},b=s.SerializableCipher=o.extend({cfg:o.extend({format:T}),encrypt:function(S,R,F,I){I=this.cfg.extend(I);var L=S.createEncryptor(F,I),$=L.finalize(R),N=L.cfg;return y.create({ciphertext:$,key:F,iv:N.iv,algorithm:S,mode:N.mode,padding:N.padding,blockSize:S.blockSize,formatter:I.format})},decrypt:function(S,R,F,I){I=this.cfg.extend(I),R=this._parse(R,I.format);var L=S.createDecryptor(F,I).finalize(R.ciphertext);return L},_parse:function(S,R){return typeof S=="string"?R.parse(S,this):S}}),O=i.kdf={},x=O.OpenSSL={execute:function(S,R,F,I,L){if(I||(I=u.random(64/8)),L)var $=h.create({keySize:R+F,hasher:L}).compute(S,I);else var $=h.create({keySize:R+F}).compute(S,I);var N=u.create($.words.slice(R),F*4);return $.sigBytes=R*4,y.create({key:$,iv:N,salt:I})}},U=s.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:x}),encrypt:function(S,R,F,I){I=this.cfg.extend(I);var L=I.kdf.execute(F,S.keySize,S.ivSize,I.salt,I.hasher);I.iv=L.iv;var $=b.encrypt.call(this,S,R,L.key,I);return $.mixIn(L),$},decrypt:function(S,R,F,I){I=this.cfg.extend(I),R=this._parse(R,I.for