dphelper 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,2 +1 @@
1
- function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t;t||(t=1,(()=>{Object.defineProperty(globalThis,"memorio",{value:{},writable:!1,configurable:!0,enumerable:!1}),Object.defineProperty(globalThis,"events",{value:{},writable:!0,enumerable:!1}),Object.defineProperty(memorio,"version",{writable:!1,enumerable:!1,value:"1.2.6"});var e=["list","state","store","observer","useObserver","remove","removeAll"];Object.defineProperty(memorio,"dispatch",{writable:!1,enumerable:!1,value:{set:(e,t={})=>{dispatchEvent(new CustomEvent(String(e),t))},listen:(e,t=null,n=!1)=>{observer.list?.[e]?.length>0&&observer.remove(e);let r=e=>t?setTimeout(()=>t(e),1):null;globalThis.addEventListener(e,r),globalThis.events[e]=r},remove:e=>{globalThis.removeEventListener(e,globalThis.events[e]),delete globalThis.events[e]}}}),Object.defineProperty(memorio,"objPath",{writable:!1,enumerable:!1,value:(e,t,n=".")=>t.concat(e).join(n)});var t=(n,r,o=[])=>new Proxy(n,{get(e,n){if("list"===n)return console.log('Some state could be hidden when you use "state.list". Use "state" to see the complete list '),JSON.parse(JSON.stringify(state));if("remove"===n)return function(t){return delete e[t],!0};if("removeAll"===n)return function(){try{for(let t in e)"function"!=typeof e[t]&&!["list","remove","removeAll"].includes(t)&&(Object.isFrozen(e[t])||delete e[t],delete e[t])}catch(t){console.error(t)}};if(Object.isFrozen(e[n]))return e[n];try{let i=Reflect.get(e,n);return i&&"object"==typeof i&&["Array","Object"].includes(i.constructor.name)?t(i,r,o.concat(n)):i}catch(i){return void console.error("Error: ",i)}},set(t,n,i){if(e.includes(n))return console.error("key "+n+" is protected"),!1;if(t[n]&&"object"==typeof t[n]&&Object.isFrozen(t[n]))return console.error(`Error: state '${n}' is locked`),!1;try{let e=globalThis.memorio.objPath(n,o);return r({action:"set",path:e,target:t,newValue:i,previousValue:Reflect.get(t,n)}),(e=>{let t=e.split(".");t.forEach((e,n)=>{let r=t.slice(0,n+1).join(".");globalThis.memorio.dispatch.set(r,{detail:{name:r}})})})("state."+e),Reflect.set(t,n,i),t[n]&&"object"==typeof t[n]&&Reflect.defineProperty(t[n],"lock",{value(){Object.defineProperty(t,n,{writable:!1,enumerable:!1}),Object.freeze(t[n])}}),!0}catch(s){return void console.error("Error in set trap:",s)}},deleteProperty(e,t){try{let n=globalThis.memorio.objPath(t,o);return r({action:"delete",path:n,target:e}),Reflect.deleteProperty(e,t)}catch(n){return void console.error("Error in deleteProperty trap:",n)}}});globalThis?.state?globalThis.state=state:globalThis.state=t({},()=>{});var n=/* @__PURE__ */new WeakSet;n.add(state),setInterval(()=>{if(!n.has(state)){alert("Memorio state is compromised, check if you override it and please reload the page");for(let e=1;e<99999;e++)clearInterval(e);stop()}},1e3),Object.defineProperty(globalThis,"state",{enumerable:!1,configurable:!0}),globalThis.observer||(globalThis.observer=null),Object.defineProperty(globalThis,"observer",{enumerable:!1,configurable:!0}),observer=(e,t=null,n=!0)=>{try{if("state"!==(r=e).split(".")[0]&&(console.error(`Observer Error: You need to declare 'state.' or 'store.'. The '${r}' string is incorrect!`),1))return}catch(o){return void console.error(o)}var r;if(e||t){if(e||!t)return e&&!t?(globalThis.memorio.dispatch.listen(String(e),{detail:{name:String(e)}}),void console.debug("called: ",e)):e&&t?"string"!=typeof e||"function"!=typeof t?void console.error("Observer Error: name of state need to be a 'string' like 'state.test' and the callback need to be a 'function'"):void globalThis.memorio.dispatch.listen(e,t,n):void 0;console.error("Observer Error: You need to declare what state need to be monitored as string like 'state.test'.")}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{get:()=>globalThis.events},remove:{value:e=>{e&&(globalThis.events[e]="")}},removeAll:{get:()=>{Object.entries(observer.list).forEach(e=>{globalThis.events[e[0]]})}}}),Object.freeze(observer),globalThis.useObserver||(globalThis.useObserver=null),Object.defineProperty(globalThis,"useObserver",{enumerable:!1,configurable:!0}),useObserver=(e,t)=>{try{return observer(t,()=>e()),!0}catch(n){return void console.error(n)}},Object.freeze(useObserver),Object.defineProperty(globalThis,"store",{value:new Proxy({},{}),enumerable:!1,configurable:!0}),Object.defineProperties(store,{get:{value(e){if(e){try{let t=localStorage.getItem(e);return t&&JSON.parse(t)}catch(t){console.error(`Error parsing store item '${e}':`,t)}return null}}},set:{value(e,t){if(e){try{null==t?localStorage.setItem(e,JSON.stringify(null)):"object"==typeof t||"number"==typeof t||"boolean"==typeof t||"string"==typeof t?localStorage.setItem(e,JSON.stringify(t)):"function"==typeof t&&console.error("It's not secure to store functions.")}catch(n){console.error(`Error setting store item '${e}':`,n)}return null}}},remove:{value(e){if(e)return!!localStorage.getItem(e)&&(localStorage.removeItem(e),!0)}},delete:{value:e=>(store.remove(e),!0)},removeAll:{value:()=>(localStorage.clear(),!0)},clearAll:{value:()=>(store.removeAll(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then(({usage:e,quota:t})=>(e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`),[e/1024,t/1024])).catch(e=>{console.error("Error estimating quota:",e)})}},size:{value(){let e=0;for(let t in localStorage)if(localStorage.hasOwnProperty(t)){let n=localStorage.getItem(t);n&&(e+=n.length)}return e}}}),Object.freeze(store),Object.defineProperty(globalThis,"session",{value:new Proxy({},{}),enumerable:!1,configurable:!0}),Object.defineProperties(session,{get:{value(e){if(e)try{let t=sessionStorage.getItem(e);return t&&JSON.parse(t)}catch(t){console.error(`Error parsing session item '${e}':`,t)}}},set:{value(e,t){if(e)try{null==t?sessionStorage.setItem(e,JSON.stringify(null)):"object"==typeof t||"number"==typeof t||"boolean"==typeof t||"string"==typeof t?sessionStorage.setItem(e,JSON.stringify(t)):"function"==typeof t&&console.error("It's not secure to session functions.")}catch(n){console.error(`Error setting session item '${e}':`,n)}}},remove:{value(e){if(e&&sessionStorage.getItem(e))return sessionStorage.removeItem(e),!0}},delete:{value:e=>(session.remove(e),!0)},removeAll:{value:()=>(sessionStorage.clear(),!0)},clearAll:{value:()=>(session.removeAll(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then(({usage:e,quota:t})=>{e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`)}).catch(e=>{console.error("Error estimating quota:",e)})}},size:{value(){let e=0;for(let t in sessionStorage)if(sessionStorage.hasOwnProperty(t)){let n=sessionStorage.getItem(t);n&&(e+=n.length)}return e}}}),Object.freeze(session),Object.defineProperty(window,"cache",{value:new Proxy({},{}),enumerable:!1,configurable:!0})})());var n,r,o,i={exports:{}};const s=/* @__PURE__ */e(n?i.exports:(n=1,r="undefined"!=typeof window?window:i.exports,o=function(e,t){var n=[],r=Object.getPrototypeOf,o=n.slice,i=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},u=l.toString,c=l.hasOwnProperty,f=c.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},v=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,o,i=(n=n||v).createElement("script");if(i.text=e,t)for(r in m)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[u.call(e)]||"object":typeof e}var x="3.7.1",w=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!h(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:x,constructor:T,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||h(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(u&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=s[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,s[t]=T.extend(u,i,r)):void 0!==r&&(s[t]=r));return s},T.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e)||(t=r(e))&&("function"!=typeof(n=c.call(t,"constructor")&&t.constructor)||f.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=T.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?T.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!w.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,s=!n;o<i;o++)!t(e[o],o)!==s&&r.push(e[o]);return r},map:function(e,t,n){var r,o,s=0,a=[];if(S(e))for(r=e.length;s<r;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return i(a)},guid:1,support:d}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=n[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});var E=n.pop,j=n.sort,k=n.splice,A="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(O,N)};var q=v,P=s;!function(){var t,r,i,s,l,u,f,p,h,g,v=P,m=T.expando,y=0,b=0,x=ee(),w=ee(),S=ee(),O=ee(),N=function(e,t){return e===t&&(l=!0),0},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="(?:\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+A+"*("+H+")(?:"+A+"*([*^$|!~]?=)"+A+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+A+"*\\]",M=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",I=new RegExp(A+"+","g"),$=new RegExp("^"+A+"*,"+A+"*"),F=new RegExp("^"+A+"*([>+~]|"+A+")"+A+"*"),W=new RegExp(A+"|>"),B=new RegExp(M),_=new RegExp("^"+H+"$"),z={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+A+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+A+"*((?:-\\d)?\\d*)"+A+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Q=function(){le()},K=pe(function(e){return!0===e.disabled&&C(e,"fieldset")},{dir:"parentNode",next:"legend"});try{v.apply(n=o.call(q.childNodes),q.childNodes),n[q.childNodes.length].nodeType}catch(be){v={apply:function(e,t){P.apply(e,o.call(t))},call:function(e){P.apply(e,o.call(arguments,1))}}}function Z(e,t,n,r){var o,i,s,a,l,c,f,g=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!r&&(le(t),t=t||u,p)){if(11!==y&&(l=V.exec(e)))if(o=l[1]){if(9===y){if(!(s=t.getElementById(o)))return n;if(s.id===o)return v.call(n,s),n}else if(g&&(s=g.getElementById(o))&&Z.contains(t,s)&&s.id===o)return v.call(n,s),n}else{if(l[2])return v.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&t.getElementsByClassName)return v.apply(n,t.getElementsByClassName(o)),n}if(!(O[e+" "]||h&&h.test(e))){if(f=e,g=t,1===y&&(W.test(e)||F.test(e))){for((g=J.test(e)&&ae(t.parentNode)||t)==t&&d.scope||((a=t.getAttribute("id"))?a=T.escapeSelector(a):t.setAttribute("id",a=m)),i=(c=ce(e)).length;i--;)c[i]=(a?"#"+a:":scope")+" "+fe(c[i]);f=c.join(",")}try{return v.apply(n,g.querySelectorAll(f)),n}catch(b){O(e,!0)}finally{a===m&&t.removeAttribute("id")}}}return ye(e.replace(D,"$1"),t,n,r)}function ee(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function te(e){return e[m]=!0,e}function ne(e){var t=u.createElement("fieldset");try{return!!e(t)}catch(be){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return C(t,"input")&&t.type===e}}function oe(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te(function(t){return t=+t,te(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var t,n=e?e.ownerDocument||e:q;return n!=u&&9===n.nodeType&&n.documentElement?(f=(u=n).documentElement,p=!T.isXMLDoc(u),g=f.matches||f.webkitMatchesSelector||f.msMatchesSelector,f.msMatchesSelector&&q!=u&&(t=u.defaultView)&&t.top!==t&&t.addEventListener("unload",Q),d.getById=ne(function(e){return f.appendChild(e).id=T.expando,!u.getElementsByName||!u.getElementsByName(T.expando).length}),d.disconnectedMatch=ne(function(e){return g.call(e,"*")}),d.scope=ne(function(){return u.querySelectorAll(":scope")}),d.cssHas=ne(function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(be){return!0}}),d.getById?(r.filter.ID=function(e){var t=e.replace(Y,G);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Y,G);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},r.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},h=[],ne(function(e){var t;f.appendChild(e).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+A+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+m+"-]").length||h.push("~="),e.querySelectorAll("a#"+m+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=u.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=u.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+A+"*name"+A+"*="+A+"*(?:''|\"\")")}),d.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),N=function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument==q&&Z.contains(q,e)?-1:t===u||t.ownerDocument==q&&Z.contains(q,t)?1:s?a.call(s,e)-a.call(s,t):0:4&n?-1:1)},u):u}for(t in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(le(e),p&&!O[t+" "]&&(!h||!h.test(t)))try{var n=g.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(be){O(t,!0)}return Z(t,u,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=u&&le(e),T.contains(e,t)},Z.attr=function(e,t){(e.ownerDocument||e)!=u&&le(e);var n=r.attrHandle[t.toLowerCase()],o=n&&c.call(r.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==o?o:e.getAttribute(t)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.sortStable,s=!d.sortStable&&o.call(e,0),j.call(e,N),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)k.call(e,n[r],1)}return s=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(o.apply(this)))},(r=T.expr={cacheLength:50,createPseudo:te,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,G),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+A+")"+e+"("+A+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=Z.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(I," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,p,d,h=i!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),b=!l&&!a,x=!1;if(g){if(i){for(;h;){for(f=t;f=f[h];)if(a?C(f,v):1===f.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&b){for(x=(p=(u=(c=g[m]||(g[m]={}))[e]||[])[0]===y&&u[1])&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[h]||(x=p=0)||d.pop();)if(1===f.nodeType&&++x&&f===t){c[e]=[y,p,x];break}}else if(b&&(x=p=(u=(c=t[m]||(t[m]={}))[e]||[])[0]===y&&u[1]),!1===x)for(;(f=++p&&f&&f[h]||(x=p=0)||d.pop())&&(!(a?C(f,v):1===f.nodeType)||!++x||(b&&((c=f[m]||(f[m]={}))[e]=[y,x]),f!==t)););return(x-=o)===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return o[m]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,n){for(var r,i=o(e,t),s=i.length;s--;)e[r=a.call(e,i[s])]=!(n[r]=i[s])}):function(e){return o(e,0,n)}):o}},pseudos:{not:te(function(e){var t=[],n=[],r=me(e.replace(D,"$1"));return r[m]?te(function(e,t,n,o){for(var i,s=r(e,null,o,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return Z(e,t).length>0}}),contains:te(function(e){return e=e.replace(Y,G),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}}),lang:te(function(e){return _.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(Y,G).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===function(){try{return u.activeElement}catch(e){}}()&&u.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se(function(){return[0]}),last:se(function(e,t){return[t-1]}),eq:se(function(e,t,n){return[n<0?n+t:n]}),even:se(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:se(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:se(function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:se(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=re(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=oe(t);function ue(){}function ce(e,t){var n,o,i,s,a,l,u,c=w[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=r.preFilter;a;){for(s in n&&!(o=$.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(i=[])),n=!1,(o=F.exec(a))&&(n=o.shift(),i.push({value:n,type:o[0].replace(D," ")}),a=a.slice(n.length)),r.filter)!(o=z[s].exec(a))||u[s]&&!(o=u[s](o))||(n=o.shift(),i.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return t?a.length:a?Z.error(e):w(e,l).slice(0)}function fe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,o=t.next,i=o||r,s=n&&"parentNode"===i,a=b++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,f=[y,a];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(c=t[m]||(t[m]={}),o&&C(t,o))t=t[r]||t;else{if((u=c[i])&&u[0]===y&&u[1]===a)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function de(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,o){for(var i,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,r,o)||(s.push(i),u&&t.push(a)));return s}function ge(e,t,n,r,o,i){return r&&!r[m]&&(r=ge(r)),o&&!o[m]&&(o=ge(o,i)),te(function(i,s,l,u){var c,f,p,d,h=[],g=[],m=s.length,y=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)Z(e,t[r],n);return n}(t||"*",l.nodeType?[l]:l,[]),b=!e||!i&&t?y:he(y,h,e,l,u);if(n?n(b,d=o||(i?e:m||r)?[]:s,l,u):d=b,r)for(c=he(d,g),r(c,[],l,u),f=c.length;f--;)(p=c[f])&&(d[g[f]]=!(b[g[f]]=p));if(i){if(o||e){if(o){for(c=[],f=d.length;f--;)(p=d[f])&&c.push(b[f]=p);o(null,d=[],c,u)}for(f=d.length;f--;)(p=d[f])&&(c=o?a.call(i,p):h[f])>-1&&(i[c]=!(s[c]=p))}}else d=he(d===s?d.splice(m,d.length):d),o?o(null,s,d,u):v.apply(s,d)})}function ve(e){for(var t,n,o,s=e.length,l=r.relative[e[0].type],u=l||r.relative[" "],c=l?1:0,f=pe(function(e){return e===t},u,!0),p=pe(function(e){return a.call(t,e)>-1},u,!0),d=[function(e,n,r){var o=!l&&(r||n!=i)||((t=n).nodeType?f(e,n,r):p(e,n,r));return t=null,o}];c<s;c++)if(n=r.relative[e[c].type])d=[pe(de(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[m]){for(o=++c;o<s&&!r.relative[e[o].type];o++);return ge(c>1&&de(d),c>1&&fe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),n,c<o&&ve(e.slice(c,o)),o<s&&ve(e=e.slice(o)),o<s&&fe(e))}d.push(n)}return de(d)}function me(e,t){var n,o=[],s=[],a=S[e+" "];if(!a){for(t||(t=ce(e)),n=t.length;n--;)(a=ve(t[n]))[m]?o.push(a):s.push(a);a=S(e,function(e,t){var n=t.length>0,o=e.length>0,s=function(s,a,l,c,f){var d,h,g,m=0,b="0",x=s&&[],w=[],S=i,C=s||o&&r.find.TAG("*",f),j=y+=null==S?1:Math.random()||.1,k=C.length;for(f&&(i=a==u||a||f);b!==k&&null!=(d=C[b]);b++){if(o&&d){for(h=0,a||d.ownerDocument==u||(le(d),l=!p);g=e[h++];)if(g(d,a||u,l)){v.call(c,d);break}f&&(y=j)}n&&((d=!g&&d)&&m--,s&&x.push(d))}if(m+=b,n&&b!==m){for(h=0;g=t[h++];)g(x,w,a,l);if(s){if(m>0)for(;b--;)x[b]||w[b]||(w[b]=E.call(c));w=he(w)}v.apply(c,w),f&&!s&&w.length>0&&m+t.length>1&&T.uniqueSort(c)}return f&&(y=j,i=S),x};return n?te(s):s}(s,o)),a.selector=e}return a}function ye(e,t,n,o){var i,s,a,l,u,c="function"==typeof e&&e,f=!o&&ce(e=c.selector||e);if(n=n||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===t.nodeType&&p&&r.relative[s[1].type]){if(!(t=(r.find.ID(a.matches[0].replace(Y,G),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(i=z.needsContext.test(e)?0:s.length;i--&&(a=s[i],!r.relative[l=a.type]);)if((u=r.find[l])&&(o=u(a.matches[0].replace(Y,G),J.test(s[0].type)&&ae(t.parentNode)||t))){if(s.splice(i,1),!(e=o.length&&fe(s)))return v.apply(n,o),n;break}}return(c||me(e,f))(o,t,!p,n,!t||J.test(e)&&ae(t.parentNode)||t),n}ue.prototype=r.filters=r.pseudos,r.setFilters=new ue,d.sortStable=m.split("").sort(N).join("")===m,le(),d.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(u.createElement("fieldset"))}),T.find=Z,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,Z.compile=me,Z.select=ye,Z.setDocument=le,Z.tokenize=ce,Z.escape=T.escapeSelector,Z.getText=T.text,Z.isXML=T.isXMLDoc,Z.selectors=T.expr,Z.support=T.support,Z.uniqueSort=T.uniqueSort}();var L=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},H=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=T.expr.match.needsContext,M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return h(t)?T.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?T.grep(e,function(e){return e===t!==n}):"string"!=typeof t?T.grep(e,function(e){return a.call(t,e)>-1!==n}):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&R.test(e)?T(e):e||[],!1).length}});var $,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||$,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),M.test(r[1])&&T.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=v.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,$=T(v);var W=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function _(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],s="string"!=typeof e&&T(e);if(!R.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?a.call(T(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return _(e,"nextSibling")},prev:function(e){return _(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return H((e.parentNode||{}).firstChild,e)},children:function(e){return H(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),this.length>1&&(B[e]||T.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}});var z=/[^\x20\t\r\n\f]+/g;function U(e){return e}function X(e){throw e}function V(e,t,n,r){var o;try{e&&h(o=e.promise)?o.call(e).done(t).fail(n):e&&h(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(i){n.apply(void 0,[i])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(z)||[],function(e,n){t[n]=!0}),t}(e):T.extend({},e);var t,n,r,o,i=[],s=[],a=-1,l=function(){for(o=o||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<i.length;)!1===i[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(a=i.length-1,s.push(n)),function t(n){T.each(n,function(n,r){h(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==b(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;(n=T.inArray(t,i,n))>-1;)i.splice(n,1),n<=a&&a--}),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(t){var n=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(t){T.each(n,function(n,r){var o=h(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){var i=0;function s(t,n,r,o){return function(){var a=this,l=arguments,u=function(){var e,u;if(!(t<i)){if((e=r.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(u)?o?u.call(e,s(i,n,U,o),s(i,n,X,o)):(i++,u.call(e,s(i,n,U,o),s(i,n,X,o),s(i,n,U,n.notifyWith))):(r!==U&&(a=void 0,l=[e]),(o||n.resolveWith)(a,l))}},c=o?u:function(){try{u()}catch(e){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(e,c.error),t+1>=i&&(r!==X&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?c():(T.Deferred.getErrorHook?c.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(c.error=T.Deferred.getStackHook()),e.setTimeout(c))}}return T.Deferred(function(e){n[0][3].add(s(0,e,h(o)?o:U,e.notifyWith)),n[1][3].add(s(0,e,h(t)?t:U)),n[2][3].add(s(0,e,h(r)?r:X))}).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(n,function(e,t){var s=t[2],a=t[5];o[t[1]]=s.add,a&&s.add(function(){r=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=s.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),s=T.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||s.resolveWith(r,i)}};if(t<=1&&(V(e,s.done(a(n)).resolve,s.reject,!t),"pending"===s.state()||h(i[n]&&i[n].then)))return s.then();for(;n--;)V(i[n],a(n),s.reject);return s.promise()}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&J.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},T.readyException=function(t){e.setTimeout(function(){throw t})};var Y=T.Deferred();function G(){v.removeEventListener("DOMContentLoaded",G),e.removeEventListener("load",G),T.ready()}T.fn.ready=function(e){return Y.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||Y.resolveWith(v,[T]))}}),T.ready.then=Y.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(T.ready):(v.addEventListener("DOMContentLoaded",G),e.addEventListener("load",G));var Q=function(e,t,n,r,o,i,s){var a=0,l=e.length,u=null==n;if("object"===b(n))for(a in o=!0,n)Q(e,t,a,n[a],!0,i,s);else if(void 0!==r&&(o=!0,h(r)||(s=!0),u&&(s?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;a<l;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return o?e:u?t.call(e):l?t(e[0],n):i},K=/^-ms-/,Z=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(K,"ms-").replace(Z,ee)}var ne=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function re(){this.expando=T.expando+re.uid++}re.uid=1,re.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ne(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[te(t)]=n;else for(r in t)o[te(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(te):(t=te(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var oe=new re,ie=new re,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function le(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:se.test(e)?JSON.parse(e):e)}(n)}catch(o){}ie.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return ie.hasData(e)||oe.hasData(e)},data:function(e,t,n){return ie.access(e,t,n)},removeData:function(e,t){ie.remove(e,t)},_data:function(e,t,n){return oe.access(e,t,n)},_removeData:function(e,t){oe.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],s=i&&i.attributes;if(void 0===e){if(this.length&&(o=ie.get(i),1===i.nodeType&&!oe.get(i,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=te(r.slice(5)),le(i,r,o[r]));oe.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ie.set(this,e)}):Q(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=ie.get(i,e))||void 0!==(n=le(i,e))?n:void 0;this.each(function(){ie.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ie.remove(this,e)})}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=oe.get(e,t),n&&(!r||Array.isArray(n)?r=oe.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){T.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return oe.get(e,n)||oe.access(e,n,{empty:T.Callbacks("once memory").add(function(){oe.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each(function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,s=this.length,a=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=oe.get(i[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),o.promise(t)}});var ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ce=new RegExp("^(?:([+-])=|)("+ue+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],pe=v.documentElement,de=function(e){return T.contains(e.ownerDocument,e)},he={composed:!0};pe.getRootNode&&(de=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(he)===e.ownerDocument});var ge=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&de(e)&&"none"===T.css(e,"display")};function ve(e,t,n,r){var o,i,s=20,a=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=a(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+l)&&ce.exec(T.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)T.style(e,t,c+u),(1-i)*(1-(i=a()/l||.5))<=0&&(s=0),c/=i;c*=2,T.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var me={};function ye(e){var t,n=e.ownerDocument,r=e.nodeName,o=me[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),me[r]=o,o)}function be(e,t){for(var n,r,o=[],i=0,s=e.length;i<s;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=oe.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ge(r)&&(o[i]=ye(r))):"none"!==n&&(o[i]="none",oe.set(r,"display",n)));for(i=0;i<s;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return be(this,!0)},hide:function(){return be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ge(this)?T(this).show():T(this).hide()})}});var xe,we,Te=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=v.createDocumentFragment().appendChild(v.createElement("div")),(we=v.createElement("input")).setAttribute("type","radio"),we.setAttribute("checked","checked"),we.setAttribute("name","t"),xe.appendChild(we),d.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",d.option=!!xe.lastChild;var Ee={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function je(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?T.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)oe.set(e[n],"globalEval",!t||oe.get(t[n],"globalEval"))}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,d.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var Ae=/<|&#?\w+;/;function De(e,t,n,r,o){for(var i,s,a,l,u,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((i=e[d])||0===i)if("object"===b(i))T.merge(p,i.nodeType?[i]:i);else if(Ae.test(i)){for(s=s||f.appendChild(t.createElement("div")),a=(Se.exec(i)||["",""])[1].toLowerCase(),l=Ee[a]||Ee._default,s.innerHTML=l[1]+T.htmlPrefilter(i)+l[2],c=l[0];c--;)s=s.lastChild;T.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(u=de(i),s=je(f.appendChild(i),"script"),u&&ke(s),n)for(c=0;i=s[c++];)Ce.test(i.type||"")&&n.push(i);return f}var Oe=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Pe(e,t,n,r,o,i){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=qe;else if(!o)return e;return 1===i&&(s=o,o=function(e){return T().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,r,n)})}function Le(e,t,n){n?(oe.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,r=oe.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=o.call(arguments),oe.set(this,t,r),this[t](),n=oe.get(this,t),oe.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(oe.set(this,t,T.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===oe.get(e,t)&&T.event.add(e,t,Ne)}T.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,f,p,d,h,g,v=oe.get(e);if(ne(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(pe,o),n.guid||(n.guid=T.guid++),(l=v.events)||(l=v.events=/* @__PURE__ */Object.create(null)),(s=v.handle)||(s=v.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(z)||[""]).length;u--;)d=g=(a=Oe.exec(t[u])||[])[1],h=(a[2]||"").split(".").sort(),d&&(f=T.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=T.event.special[d]||{},c=T.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=l[d])||((p=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,f,p,d,h,g,v=oe.hasData(e)&&oe.get(e);if(v&&(l=v.events)){for(u=(t=(t||"").match(z)||[""]).length;u--;)if(d=g=(a=Oe.exec(t[u])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=T.event.special[d]||{},p=l[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=p.length;i--;)c=p[i],!o&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||T.removeEvent(e,d,v.handle),delete l[d])}else for(d in l)T.event.remove(e,d+t[u],n,r,!0);T.isEmptyObject(l)&&oe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=new Array(arguments.length),l=T.event.fix(e),u=(oe.get(this,"events")||/* @__PURE__ */Object.create(null))[l.type]||[],c=T.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=T.event.handlers.call(this,l,u),t=0;(o=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,a))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n<l;n++)void 0===s[o=(r=t[n]).selector+" "]&&(s[o]=r.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&C(t,"input")&&Le(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&C(t,"input")&&Le(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&C(t,"input")&&oe.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(v.documentMode){var n=oe.get(this,"handle"),r=T.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var r;if(Le(this,e,!0),!v.documentMode)return!1;(r=oe.get(this,t))||this.addEventListener(t,n),oe.set(this,t,(r||0)+1)},trigger:function(){return Le(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=oe.get(this,t)-1)?oe.set(this,t,e):(this.removeEventListener(t,n),oe.remove(this,t))},_default:function(t){return oe.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=v.documentMode?this:r,i=oe.get(o,t);i||(v.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),oe.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=v.documentMode?this:r,i=oe.get(o,t)-1;i?oe.set(o,t,i):(v.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),oe.remove(o,t))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),T.fn.extend({on:function(e,t,n,r){return Pe(this,e,t,n,r)},one:function(e,t,n,r){return Pe(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){T.event.remove(this,e,n,t)})}});var He=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ie(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function $e(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,r,o,i,s,a;if(1===t.nodeType){if(oe.hasData(e)&&(a=oe.get(e).events))for(o in oe.remove(t,"handle events"),a)for(n=0,r=a[o].length;n<r;n++)T.event.add(t,o,a[o][n]);ie.hasData(e)&&(i=ie.access(e),s=T.extend({},i),ie.set(t,s))}}function Be(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function _e(e,t,n,r){t=i(t);var o,s,a,l,u,c,f=0,p=e.length,g=p-1,v=t[0],m=h(v);if(m||p>1&&"string"==typeof v&&!d.checkClone&&Re.test(v))return e.each(function(o){var i=e.eq(o);m&&(t[0]=v.call(this,o,i.html())),_e(i,t,n,r)});if(p&&(s=(o=De(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=s),s||r)){for(l=(a=T.map(je(o,"script"),$e)).length;f<p;f++)u=o,f!==g&&(u=T.clone(u,!0,!0),l&&T.merge(a,je(u,"script"))),n.call(e[f],u,f);if(l)for(c=a[a.length-1].ownerDocument,T.map(a,Fe),f=0;f<l;f++)u=a[f],Ce.test(u.type||"")&&!oe.access(u,"globalEval")&&T.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):y(u.textContent.replace(Me,""),u,c))}return e}function ze(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(je(r)),r.parentNode&&(n&&de(r)&&ke(je(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=de(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=je(a),r=0,o=(i=je(e)).length;r<o;r++)Be(i[r],s[r]);if(t)if(n)for(i=i||je(e),s=s||je(a),r=0,o=i.length;r<o;r++)We(i[r],s[r]);else We(e,a);return(s=je(a,"script")).length>0&&ke(s,!l&&je(e,"script")),a},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(ne(n)){if(t=n[oe.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[oe.expando]=void 0}n[ie.expando]&&(n[ie.expando]=void 0)}}}),T.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return Q(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return _e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)})},prepend:function(){return _e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return _e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return _e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(je(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return Q(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!He.test(e)&&!Ee[(Se.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(je(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return _e(this,arguments,function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(je(this)),n&&n.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var Ue=new RegExp("^("+ue+")(?!px)[a-z%]+$","i"),Xe=/^--/,Ve=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Je=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ye=new RegExp(fe.join("|"),"i");function Ge(e,t,n){var r,o,i,s,a=Xe.test(t),l=e.style;return(n=n||Ve(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(D,"$1")||void 0),""!==s||de(e)||(s=T.style(e,t)),!d.pixelBoxStyles()&&Ue.test(s)&&Ye.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==s?s+"":s}function Qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",pe.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",i=12===n(c.offsetWidth/3),pe.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var r,o,i,s,a,l,u=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(d,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,n,r,o;return null==a&&(t=v.createElement("table"),n=v.createElement("tr"),r=v.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",pe.appendChild(t).appendChild(n).appendChild(r),o=e.getComputedStyle(n),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,pe.removeChild(t)),a}}))}();var Ke=["Webkit","Moz","ms"],Ze=v.createElement("div").style,et={};function tt(e){var t=T.cssProps[e]||et[e];return t||(e in Ze?e:et[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Ze)return e}(e)||e)}var nt=/^(none|table(?!-c[ea]).+)/,rt={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"};function it(e,t,n){var r=ce.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function st(e,t,n,r,o,i){var s="width"===t?1:0,a=0,l=0,u=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=T.css(e,n+fe[s],!0,o)),r?("content"===n&&(l-=T.css(e,"padding"+fe[s],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+fe[s]+"Width",!0,o))):(l+=T.css(e,"padding"+fe[s],!0,o),"padding"!==n?l+=T.css(e,"border"+fe[s]+"Width",!0,o):a+=T.css(e,"border"+fe[s]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-a-.5))||0),l+u}function at(e,t,n){var r=Ve(e),o=(!d.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,s=Ge(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(s)){if(!n)return s;s="auto"}return(!d.boxSizingReliable()&&o||!d.reliableTrDimensions()&&C(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+st(e,t,n||(o?"border":"content"),i,r,s)+"px"}function lt(e,t,n,r,o){return new lt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,s,a=te(t),l=Xe.test(t),u=e.style;if(l||(t=tt(a)),s=T.cssHooks[t]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:u[t];"string"==(i=typeof n)&&(o=ce.exec(n))&&o[1]&&(n=ve(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(T.cssNumber[a]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,s,a=te(t);return Xe.test(t)||(t=tt(a)),(s=T.cssHooks[t]||T.cssHooks[a])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=Ge(e,t,r)),"normal"===o&&t in ot&&(o=ot[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!nt.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,r):Je(e,rt,function(){return at(e,t,r)})},set:function(e,n,r){var o,i=Ve(e),s=!d.scrollboxSize()&&"absolute"===i.position,a=(s||r)&&"border-box"===T.css(e,"boxSizing",!1,i),l=r?st(e,t,r,a,i):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-st(e,t,"border",!1,i)-.5)),l&&(o=ce.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),it(0,n,l)}}}),T.cssHooks.marginLeft=Qe(d.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+fe[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=it)}),T.fn.extend({css:function(e,t){return Q(this,function(e,t,n){var r,o,i={},s=0;if(Array.isArray(t)){for(r=Ve(e),o=t.length;s<o;s++)i[t[s]]=T.css(e,t[s],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[tt(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=lt.prototype.init,T.fx.step={};var ut,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ct&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(dt):e.setTimeout(dt,T.fx.interval),T.fx.tick())}function ht(){return e.setTimeout(function(){ut=void 0}),ut=Date.now()}function gt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=fe[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function vt(e,t,n){for(var r,o=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),i=0,s=o.length;i<s;i++)if(r=o[i].call(n,t,e))return r}function mt(e,t,n){var r,o,i=0,s=mt.prefilters.length,a=T.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=ut||ht(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,s=u.tweens.length;i<s;i++)u.tweens[i].run(r);return a.notifyWith(e,[u,r,n]),r<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||ht(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,r,o,i,s;for(n in e)if(o=t[r=te(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(s=T.cssHooks[r])&&"expand"in s)for(n in i=s.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,u.opts.specialEasing);i<s;i++)if(r=mt.prefilters[i].call(u,e,c,u.opts))return h(r.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,vt,u),h(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(mt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ve(n.elem,e,ce.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,o=e.length;r<o;r++)n=e[r],mt.tweeners[n]=mt.tweeners[n]||[],mt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,s,a,l,u,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ge(e),v=oe.get(e,"fxshow");for(r in n.queue||(null==(s=T._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,T.queue(e,"fx").length||s.empty.fire()})})),t)if(o=t[r],ft.test(o)){if(delete t[r],i=i||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=v&&v.display)&&(u=oe.get(e,"display")),"none"===(c=T.css(e,"display"))&&(u?c=u:(be([e],!0),u=e.style.display||u,c=T.css(e,"display"),be([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===T.css(e,"float")&&(l||(p.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,d)l||(v?"hidden"in v&&(g=v.hidden):v=oe.access(e,"fxshow",{display:u}),i&&(v.hidden=!g),g&&be([e],!0),p.done(function(){for(r in g||be([e]),oe.remove(e,"fxshow"),d)T.style(e,r,d[r])})),l=vt(g?v[r]:0,r,p),r in v||(v[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?mt.prefilters.unshift(e):mt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),s=function(){var t=mt(this,T.extend({},e),i);(o||oe.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,s=oe.get(this);if(o)s[o]&&s[o].stop&&r(s[o]);else for(o in s)s[o]&&s[o].stop&&pt.test(o)&&r(s[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=oe.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,s=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,o)}}),T.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ut=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ut=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ct||(ct=!0,dt())},T.fx.stop=function(){ct=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,n){return t=T.fx&&T.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e=v.createElement("input"),t=v.createElement("select").appendChild(v.createElement("option"));e.type="checkbox",d.checkOn=""!==e.value,d.optSelected=t.selected,(e=v.createElement("input")).value="t",e.type="radio",d.radioValue="t"===e.value}();var yt,bt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return Q(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(z);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var n=bt[t]||T.find.attr;bt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=bt[s],bt[s]=o,o=null!=n(e,t,r)?s:null,bt[s]=i),o}});var xt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(z)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}T.fn.extend({prop:function(e,t){return Q(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,n,r,o,i,s;return h(e)?this.each(function(t){T(this).addClass(e.call(this,t,St(this)))}):(t=Ct(e)).length?this.each(function(){if(r=St(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");s=Tt(n),r!==s&&this.setAttribute("class",s)}}):this},removeClass:function(e){var t,n,r,o,i,s;return h(e)?this.each(function(t){T(this).removeClass(e.call(this,t,St(this)))}):arguments.length?(t=Ct(e)).length?this.each(function(){if(r=St(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");s=Tt(n),r!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,s=typeof e,a="string"===s||Array.isArray(e);return h(e)?this.each(function(n){T(this).toggleClass(e.call(this,n,St(this),t),t)}):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Ct(e),this.each(function(){if(a)for(i=T(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==s||((r=St(this))&&oe.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":oe.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Tt(St(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=h(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Et,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=T(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),s=o.length;s--;)((r=o[s]).selected=T.inArray(T.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},d.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var jt=e.location,kt={guid:Date.now()},At=/\?/;T.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(o){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||T.error("Invalid XML: "+(r?T.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Dt=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(t,n,r,o){var i,s,a,l,u,f,p,d,m=[r||v],y=c.call(t,"type")?t.type:t,b=c.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!Dt.test(y+T.event.triggered)&&(y.indexOf(".")>-1&&(b=y.split("."),y=b.shift(),b.sort()),u=y.indexOf(":")<0&&"on"+y,(t=t[T.expando]?t:new T.Event(y,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:T.makeArray(n,[t]),p=T.event.special[y]||{},o||!p.trigger||!1!==p.trigger.apply(r,n))){if(!o&&!p.noBubble&&!g(r)){for(l=p.delegateType||y,Dt.test(l+y)||(s=s.parentNode);s;s=s.parentNode)m.push(s),a=s;a===(r.ownerDocument||v)&&m.push(a.defaultView||a.parentWindow||e)}for(i=0;(s=m[i++])&&!t.isPropagationStopped();)d=s,t.type=i>1?l:p.bindType||y,(f=(oe.get(s,"events")||/* @__PURE__ */Object.create(null))[t.type]&&oe.get(s,"handle"))&&f.apply(s,n),(f=u&&s[u])&&f.apply&&ne(s)&&(t.result=f.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),n)||!ne(r)||u&&h(r[y])&&!g(r)&&((a=r[u])&&(r[u]=null),T.event.triggered=y,t.isPropagationStopped()&&d.addEventListener(y,Ot),r[y](),t.isPropagationStopped()&&d.removeEventListener(y,Ot),T.event.triggered=void 0,a&&(r[u]=a)),t.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var Nt=/\[\]$/,qt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Ht(e,t,n,r){var o;if(Array.isArray(t))T.each(t,function(t,o){n||Nt.test(e)?r(e,o):Ht(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==b(t))r(e,t);else for(o in t)Ht(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){o(this.name,this.value)});else for(n in e)Ht(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Lt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Rt=/%20/g,Mt=/#.*$/,It=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Wt=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Ut=v.createElement("a");function Xt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(z)||[];if(h(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var o={},i=e===_t;function s(a){var l;return o[a]=!0,T.each(e[a]||[],function(e,a){var u=a(t,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),s(u),!1)}),l}return s(t.dataTypes[0])||!o["*"]&&s("*")}function Jt(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Ut.href=jt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,T.ajaxSettings),t):Jt(T.ajaxSettings,e)},ajaxPrefilter:Xt(Bt),ajaxTransport:Xt(_t),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,o,i,s,a,l,u,c,f,p,d=T.ajaxSetup({},n),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?T(h):T.event,m=T.Deferred(),y=T.Callbacks("once memory"),b=d.statusCode||{},x={},w={},S="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=$t.exec(i);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),E(0,t),this}};if(m.promise(C),d.url=((t||d.url||jt.href)+"").replace(Wt,jt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(z)||[""],null==d.crossDomain){l=v.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(j){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Vt(Bt,d,n,C),u)return C;for(f in(c=T.event&&d.global)&&0===T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ft.test(d.type),o=d.url.replace(Mt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Rt,"+")):(p=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(At.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(It,"$1"),p=(At.test(o)?"&":"?")+"_="+kt.guid+++p),d.url=o+p),d.ifModified&&(T.lastModified[o]&&C.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&C.setRequestHeader("If-None-Match",T.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+zt+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||u))return C.abort();if(S="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),r=Vt(_t,d,n,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,d]),u)return C;d.async&&d.timeout>0&&(a=e.setTimeout(function(){C.abort("timeout")},d.timeout));try{u=!1,r.send(x,E)}catch(j){if(u)throw j;E(-1,j)}}else E(-1,"No Transport");function E(t,n,s,l){var f,p,v,x,w,S=n;u||(u=!0,a&&e.clearTimeout(a),r=void 0,i=l||"",C.readyState=t>0?4:0,f=t>=200&&t<300||304===t,s&&(x=function(e,t,n){for(var r,o,i,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}s||(s=o)}i=i||s}if(i)return i!==l[0]&&l.unshift(i),n[i]}(d,C,s)),!f&&T.inArray("script",d.dataTypes)>-1&&T.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(s=u[l+" "+i]||u["* "+i]))for(o in u)if((a=o.split(" "))[1]===i&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(i=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(j){return{state:"parsererror",error:s?j:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(d,x,C,f),f?(d.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(T.etag[o]=w)),204===t||"HEAD"===d.type?S="nocontent":304===t?S="notmodified":(S=x.state,p=x.data,f=!(v=x.error))):(v=S,!t&&S||(S="error",t<0&&(t=0))),C.status=t,C.statusText=(n||S)+"",f?m.resolveWith(h,[p,S,C]):m.rejectWith(h,[C,S,v]),C.statusCode(b),b=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[C,d,f?p:v]),y.fireWith(h,[C,S]),c&&(g.trigger("ajaxComplete",[C,d]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,n,r,o){return h(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return h(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h(e);return this.each(function(n){T(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Yt={0:200,1223:204},Gt=T.ajaxSettings.xhr();d.cors=!!Gt&&"withCredentials"in Gt,d.ajax=Gt=!!Gt,T.ajaxTransport(function(t){var n,r;if(d.cors||Gt&&!t.crossDomain)return{send:function(o,i){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Yt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}});var Qt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||T.expando+"_"+kt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,s,a=!1!==t.jsonp&&(Zt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Zt,"$1"+o):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||T.error(o+" was not called"),s[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){s=arguments},r.always(function(){void 0===i?T(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Kt.push(o)),s&&h(i)&&i(s[0]),s=i=void 0}),"script"}),d.createHTMLDocument=((Qt=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Qt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),i=!n&&[],(o=M.exec(e))?[t.createElement(o[1])]:(o=De([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,s=this,a=e.indexOf(" ");return a>-1&&(r=Tt(e.slice(a)),e=e.slice(0,a)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),s.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,s.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,n){var r,o,i,s,a,l,u=T.css(e,"position"),c=T(e),f={};"static"===u&&(e.style.position="relative"),a=c.offset(),i=T.css(e,"top"),l=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(s=(r=c.position()).top,o=r.left):(s=parseFloat(i)||0,o=parseFloat(l)||0),h(t)&&(t=t.call(e,n,T.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):c.css(f)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||pe})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return Q(this,function(e,r,o){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=Qe(d.pixelPosition,function(e,n){if(n)return n=Ge(e,t),Ue.test(n)?T(e).position()[t]+"px":n})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){T.fn[r]=function(o,i){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===i?"margin":"border");return Q(this,function(t,n,o){var i;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,a):T.style(t,n,o,a)},t,s?o:void 0,s)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=C,T.isFunction=h,T.isWindow=g,T.camelCase=te,T.type=b,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(en,"$1")};var tn=e.jQuery,nn=e.$;return T.noConflict=function(t){return e.$===T&&(e.$=nn),t&&e.jQuery===T&&(e.jQuery=tn),T},void 0===t&&(e.jQuery=e.$=T),T},i.exports=r.document?o(r,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return o(e)}));(()=>{if(window.dphelper)return;const e=setInterval(()=>{const t=dphelper?.socket?.list(),n=[];t.map(e=>{n.push(e.url)}),dphelper._list.sockets=n,n&&clearInterval(e)},1e3);s.ajaxSetup({async:!0,cache:!0,global:!0}),Object.preventExtensions(dphelper),Object.seal(dphelper),Object.freeze(dphelper)})();
2
- //# sourceMappingURL=index.js.map
1
+ (()=>{var e={19:function(e,t,r){var n,o,i,a,s,l,c,u,d;e.exports=(d=r(9021),r(3009),r(1025),i=(o=(n=d).lib).Base,a=o.WordArray,l=(s=n.algo).SHA256,c=s.HMAC,u=s.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=c.create(r.hasher,e),o=a.create(),i=a.create([1]),s=o.words,l=i.words,u=r.keySize,d=r.iterations;s.length<u;){var p=n.update(t).finalize(i);n.reset();for(var h=p.words,f=h.length,m=p,v=1;v<d;v++){m=n.finalize(m),n.reset();for(var g=m.words,y=0;y<f;y++)h[y]^=g[y]}o.concat(p),l[0]++}return o.sigBytes=4*u,o}}),n.PBKDF2=function(e,t,r){return u.create(r).compute(e,t)},d.PBKDF2)},25:function(e,t,r){var n,o,i,a;e.exports=(a=r(9021),r(7165),o=(n=a).lib.CipherParams,i=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},a.format.Hex)},35:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(dphelper,"setProps",{value:(e,t,r)=>{Object.defineProperty(e,t.name,r||{writable:!1,configurable:!1,enumerable:!1}),r?.lock&&Object.freeze(e[t.name])},writable:!1,configurable:!1,enumerable:!1}),Object.defineProperty(dphelper,"setDescription",{value:(e,t)=>{Object.defineProperties(dphelper,{[e.name]:{value:t,writable:!1,configurable:!1,enumerable:!1}}),Object.keys(t).forEach(function(t){Object.defineProperties(dphelper[e.name],{[t]:{writable:!1,configurable:!1,enumerable:!1}})}),dphelper.setProps(dphelper,e,{writable:!1,configurable:!1,enumerable:!1}),dphelper._list.scripts.push(e)}})},219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.remove=e=>{idb.exist(e)?window.layerpro?confirm(`Are you sure to remove "${e}" database?`,()=>{setTimeout(()=>{indexedDB.deleteDatabase(e),console.debug(e+" removed"),idbases=[],idb.databases()},1e3)},()=>alert("Operation cancelled.")):confirm(`Are you sure to remove "${e}" database?`)?setTimeout(()=>{indexedDB.deleteDatabase(e),console.debug(e+" removed"),idbases=[],idb.databases()},1e3):alert("Operation cancelled."):alert(`Database "${e}" not exist`)}},423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1635);r(4403),r(6364);const o=n.__importDefault(r(4692)),i=n.__importDefault(r(8330)),a=n.__importDefault(r(4787));t.default=()=>{if(window.dphelper)return;const e=e=>e.keys().forEach(t=>e(t));if(Object.defineProperty(window,"dphelper",{value:{},writable:!1,configurable:!0,enumerable:!1}),window.$=window.jQuery=o.default,Object.defineProperty(window,"$",{configurable:!1,enumerable:!1}),Object.defineProperty(window,"jQuery",{configurable:!1,enumerable:!1}),a.default.scripts)return;a.default.scripts=[],a.default.version=i.default.version;const t=setInterval(()=>{const e=dphelper?.socket?.list(),r=[];e.map(e=>{r.push(e.url)}),dphelper._list.sockets=r,r&&clearInterval(t)},1e3);Object.defineProperties(dphelper,{_list:{value:a.default},version:{value:i.default.version}}),o.default.ajaxSetup({async:!0,cache:!0,global:!0}),e(r(6245)),e(r(5334)),Object.preventExtensions(dphelper),Object.seal(dphelper),Object.freeze(dphelper)}},477:()=>{},482:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},520:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1635).__importDefault(r(1396)),o={uuid:{byVal:e=>{if(!e)return console.error("You need to pass a value to obtain a fixed uuid"),"";const t=dphelper.security.SHA256_Hex(e);return[t.substr(0,8),t.substr(8,4),"4"+t.substr(12,3),"8"+t.substr(15,3),t.substr(18,12)].join("-")},v4:"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(+e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>+e/4).toString(16)),v5:"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},hashPass:async(e,t,r="SHA-256")=>{const n=(new TextEncoder).encode(t.toLowerCase()+e.toLowerCase()),o=await crypto.subtle.digest(r,n);return Array.from(new Uint8Array(o)).map(e=>e.toString(16).padStart(2,"0")).join("")},crypt:(e,t,r="AES")=>n.default[r].encrypt(e,t).toString(),deCrypt:(e,t,r="AES")=>n.default[r].decrypt(e,t).toString(n.default.enc.Utf8),AES_KeyGen:(e="test")=>{const t=n.default.lib.WordArray.random(16);return n.default.PBKDF2(e,t,{keySize:16,iterations:1e3}).toString()},SHA256_Hex:e=>n.default.SHA256(e).toString(n.default.enc.Hex),ulid:()=>{const e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","J","K","M","N","P","Q","R","S","T","V","W","X","Y","Z"];let t=-1;const r=new Uint8Array(16),n=new DataView(r.buffer,0,6),o=new Uint8Array(r.buffer,6,10),i=new Array(26),a=Date.now();if(a===t)for(let e=9;e>=0&&!(o[e]++<255);e--);else t=a,n.setUint16(0,a/4294967296|0),n.setUint32(2,0|a),window.crypto.getRandomValues(o);return(t=>{i[0]=e[t[0]>>5],i[1]=e[31&t[0]];for(let r=0;r<3;r++)i[8*r+2]=e[t[5*r+1]>>3],i[8*r+3]=e[31&(t[5*r+1]<<2|t[5*r+2]>>6)],i[8*r+4]=e[t[5*r+2]>>1&31],i[8*r+5]=e[31&(t[5*r+2]<<4|t[5*r+3]>>4)],i[8*r+6]=e[31&(t[5*r+3]<<1|t[5*r+4]>>7)],i[8*r+7]=e[t[5*r+4]>>2&31],i[8*r+8]=e[31&(t[5*r+4]<<3|t[5*r+5]>>5)],i[8*r+9]=e[31&t[5*r+5]];return i.join("")})(r)}};dphelper.setDescription({name:"security",active:!0,subCommand:[{name:"uuid",version:"0.0.1",example:"dphelper.security.uuid",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"UUID related commands",subCommand:[{name:"byVal",version:"0.0.1",example:"dphelper.security.uuid.byVal('string')",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"Generate a UUID based on a given string",subCommand:[]},{name:"v4",version:"0.0.1",example:"dphelper.security.uuid.v4",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"return",active:!0,description:"Generate a random UUID v4",subCommand:[]},{name:"v5",version:"0.0.1",example:"dphelper.security.uuid.v5",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"return",active:!0,description:"Generate a random UUID v5",subCommand:[]}]},{name:"hashPass",description:"Generate a crypto digest SHA-1 starting from user and password values (Please, think about security before using SHA-1)",example:"dphelper.security.hashPass(user, password)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"crypt",description:"Encrypt your message using a secret_key in a default format AES",example:"dphelper.security.crypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"deCrypt",description:"Decrypt your message using a secret_key in a default format AES",example:"dphelper.security.deCrypt(data, secret_key, [optional mode])",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"AES_KeyGen",description:"Generate a key based on the AES algorithm",example:"dphelper.security.AES_KeyGen(secret_key)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]},{name:"SHA256_Hex",description:"Generate a SHA256 hash in hexadecimal format",example:"dphelper.security.SHA256_Hex(secret_key)",version:"0.0.1",type:"function",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",active:!0,subCommand:[]},{name:"ulid",description:"Generate ULID code",example:"dphelper.security.ulid()",version:"0.0.1",type:"function",author:"mix",creationDate:"20250212",lastMod:"20250212",active:!0,subCommand:[]}]},o)},547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={click:e=>{const t=document.querySelector(e);t&&t.click()},change:e=>{const t=document.querySelector(e),r=new Event("__"+e,{bubbles:!0});dphelper.dispatch.set("__"+e,r),t.dispatchEvent(r)},input:e=>{dphelper.trigger.change(e)}};dphelper.setDescription({name:"trigger",active:!0,subCommand:[{name:"click",version:"0.0.1",example:"dphelper.trigger.click(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Triggers a click event on the specified element.",subCommand:[]},{name:"change",version:"0.0.1",example:"dphelper.trigger.change([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Triggers a change event on the specified element.",subCommand:[]},{name:"input",version:"0.0.1",example:"dphelper.trigger.input([element])",author:"Dario Passariello",creationDate:"20241001",lastMod:"20241001",type:"function",active:!0,description:"Triggers an input event on the specified element.",subCommand:[]}]},r)},753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={currency:(e,t="en-US",r="USD")=>new Intl.NumberFormat(t,{style:"currency",currency:r}).format(e),phoneNumber:(e,t="US")=>{const r=(""+e).replace(/\D/g,"");let n;return"US"===t&&(n=r.match(/^(\d{3})(\d{3})(\d{4})$/),n)?`(${n[1]}) ${n[2]}-${n[3]}`:e}};dphelper.setDescription({name:"format",active:!0,subCommand:[{name:"currency",version:"0.0.1",example:"dphelper.format.currency(value, locale, currency)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Format a number as currency.",subCommand:[]},{name:"phoneNumber",version:"0.0.1",example:"dphelper.format.phoneNumber(value, countryCode)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Format a string as a phone number.",subCommand:[]}]},r)},754:function(e,t,r){var n,o,i;e.exports=(n=r(9021),i=(o=n).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,r){for(var n=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;n[o>>>2]|=s<<24-o%4*8,o++}return i.create(n,o)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={toOnClick:e=>{$(e+" a").each(function(){const e=$(this),t=e.attr("href");t&&e.on("mouseup",function(){}).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",function(){dphelper.browser.href(t),dphelper.browser.state("","",t)})})}};dphelper.setDescription({name:"anchor",active:!0,subCommand:[{name:"toOnClick",type:"function",version:"0.0.1",example:"dphelper.anchor.toOnClick([element, 'foo' | '.foo' | '#foo'])",description:"This tool allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",active:!0,subCommand:[]}]},r)},944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={rnd:()=>Math.floor(1e5+Math.random()*dphelper.math.tmr()),tmr:()=>Math.round(dphelper.date.epoch()/1e3),add:(e,t)=>e+t,sub:(e,t)=>e-t,multi:(e,t)=>e*t,div:(e,t)=>{if(0===t)throw new Error("Division by zero");return e/t},rem:(e,t)=>{if(0===t)throw new Error("Division by zero");return e%t},exp:(e,t)=>Math.pow(e,t),isOdd:e=>e%2!=0,float2int:e=>Math.floor(e),percent:(e,t)=>{if(0===t)throw new Error("Total cannot be zero");return e/t*100},isPrime:e=>{if(e<=1)return!1;for(let t=2;t<=Math.sqrt(e);t++)if(e%t===0)return!1;return!0}};dphelper.setDescription({name:"math",active:!0,subCommand:[{name:"rnd",version:"0.0.1",example:"dphelper.math.rnd()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Generate a random number.",subCommand:[]},{name:"tmr",version:"0.0.1",example:"dphelper.math.tmr()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Measure the time taken by a function.",subCommand:[]},{name:"add",version:"0.0.1",example:"dphelper.math.add(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Add two numbers.",subCommand:[]},{name:"sub",version:"0.0.1",example:"dphelper.math.sub(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Subtract two numbers.",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.math.multi(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Multiply two numbers.",subCommand:[]},{name:"div",version:"0.0.1",example:"dphelper.math.div(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Divide two numbers.",subCommand:[]},{name:"rem",version:"0.0.1",example:"dphelper.math.rem(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Get the remainder of the division of two numbers.",subCommand:[]},{name:"exp",version:"0.0.1",example:"dphelper.math.exp(a, b)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculate the exponentiation of a number.",subCommand:[]},{name:"isOdd",version:"0.0.1",example:"dphelper.math.isOdd(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a number is odd.",subCommand:[]},{name:"float2int",version:"0.0.1",example:"dphelper.math.float2int(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Convert a float to an integer.",subCommand:[]},{name:"percent",version:"0.0.1",example:"dphelper.math.percent([n, tot])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculate the percentage of a number relative to a total. Example: total: 100, number: 25 -> 25%",subCommand:[]},{name:"isPrime",version:"0.0.1",example:"dphelper.math.isPrime(a)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a number is prime.",subCommand:[]}]},r)},955:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],a=[],s=[],l=[],c=[],u=[],d=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,o[r]=f,i[f]=r;var m=e[r],v=e[m],g=e[v],y=257*e[f]^16843008*f;a[r]=y<<24|y>>>8,s[r]=y<<16|y>>>16,l[r]=y<<8|y>>>24,c[r]=y,y=16843009*g^65537*v^257*m^16843008*r,u[f]=y<<24|y>>>8,d[f]=y<<16|y>>>16,p[f]=y<<8|y>>>24,h[f]=y,r?(r=m^e[e[e[g^m]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=t[a]:(c=i[a-1],a%r?r>6&&a%r==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=f[a/r|0]<<24),i[a]=i[a-r]^c);for(var s=this._invKeySchedule=[],l=0;l<n;l++){if(a=n-l,l%4)var c=i[a];else c=i[a-4];s[l]=l<4||a<=4?c:u[o[c>>>24]]^d[o[c>>>16&255]]^p[o[c>>>8&255]]^h[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,u,d,p,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,a,s){for(var l=this._nRounds,c=e[t]^r[0],u=e[t+1]^r[1],d=e[t+2]^r[2],p=e[t+3]^r[3],h=4,f=1;f<l;f++){var m=n[c>>>24]^o[u>>>16&255]^i[d>>>8&255]^a[255&p]^r[h++],v=n[u>>>24]^o[d>>>16&255]^i[p>>>8&255]^a[255&c]^r[h++],g=n[d>>>24]^o[p>>>16&255]^i[c>>>8&255]^a[255&u]^r[h++],y=n[p>>>24]^o[c>>>16&255]^i[u>>>8&255]^a[255&d]^r[h++];c=m,u=v,d=g,p=y}m=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&p])^r[h++],v=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^r[h++],g=(s[d>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^r[h++],y=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^r[h++],e[t]=m,e[t+1]=v,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.terminal=function(e){if(!e)throw Error("Parent DOM element required!");let t=!1;const r=console.log,n=console.info,o=console.warn,i=console.error,a=document.getElementById("terminal"),s=function(e,...t){let r=t.join(" ");r=e===l.WARN?`<font color="#FF6600">* WARN: ${r}</font>`:e===l.ERR?`<font color="#FF0000">* ERR: ${r}</font>`:`* ${r}`,this.domElement.innerHTML+=`${r}<br/>`,a&&(a.scrollTop=a.scrollHeight)},l={LOG:0,INFO:1,WARN:2,ERR:3},c={autoScroll:!0,disableConsoleLogging:!1,domElement:document.createElement("div"),initKeyMappings:function(){t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},overrideConsole:function(){console.log=function(...e){this.disableConsoleLogging||(s.call(this,l.LOG,...e),r.apply(console,e))}.bind(this),console.info=function(...e){this.disableConsoleLogging||(s.call(this,l.INFO,...e),n.apply(console,e))}.bind(this),console.warn=function(...e){this.disableConsoleLogging||(s.call(this,l.WARN,...e),o.apply(console,e))}.bind(this),console.error=function(...e){this.disableConsoleLogging||(s.call(this,l.ERR,...e),i.apply(console,e))}.bind(this),onerror=function(e,t,r){const n=`${e} in <a href="${t}" target='_blank'>${t?.split("/").pop()}</a>: ${r}`;return console.error(n),!1}},clear:function(){this.domElement.innerHTML=""},get visible(){return""===this.domElement.style.display},set visible(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},get top(){return this.domElement.style.top},set top(e){this.domElement.style.top=e},get left(){return this.domElement.style.left},set left(e){this.domElement.style.left=e},get bottom(){return this.domElement.style.bottom},set bottom(e){this.domElement.style.bottom=e},get right(){return this.domElement.style.right},set right(e){this.domElement.style.right=e},get width(){return this.domElement.style.width},set width(e){this.domElement.style.width=e},get height(){return this.domElement.style.height},set height(e){this.domElement.style.height=e}};return c.domElement.id="debugConsole",e.appendChild(c.domElement),c.overrideConsole(),c},Object.defineProperty(dphelper,"terminal",{writable:!1,enumerable:!1,configurable:!1})},1025:function(e,t,r){var n,o,i;e.exports=(o=(n=r(9021)).lib.Base,i=n.enc.Utf8,void(n.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,l=a.words,c=0;c<r;c++)s[c]^=1549556828,l[c]^=909522486;o.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},1175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={list:e=>window.getEventListeners(e),multi:(e,t,r)=>{t.split(" ").forEach(t=>{e.addEventListener(t,r,!1)})},copy:e=>{const t=document.querySelector(e);t&&t.addEventListener("click",async e=>{if(navigator.clipboard)try{const t=e.target;t&&(await navigator.clipboard.writeText(t.textContent||""),alert("Copied"))}catch(e){console.error("Can't copy the value",e)}})},onDrag:e=>{const t=`.popup_overflow_${e}`;$(t).mousedown(r=>{$(window).mousemove(r=>{const n=Math.max(r.pageY,0)-$(t).height()/2,o=Math.max(r.pageX,0)-$(t).width()/2;localStorage.setItem(e,JSON.stringify([n,o]))})}).mouseup(()=>{$(window).off("mousemove")})},keys:e=>({key:e.key,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})};dphelper.setDescription({name:"event",active:!0,subCommand:[{name:"list",version:"0.0.1",example:"dphelper.event.list([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Show attached events.",subCommand:[]},{name:"multi",version:"0.0.1",example:"dphelper.event.multi([element, eventNames, listener])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Attach multiple event listeners to an element.",subCommand:[]},{name:"copy",version:"0.0.1",example:"dphelper.event.copy([element])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Copy text content of an element to the clipboard.",subCommand:[]},{name:"onDrag",version:"0.0.1",example:"dphelper.event.onDrag([element])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Handle dragging functionality for elements.",subCommand:[]},{name:"keys",version:"0.0.1",example:"dphelper.event.keys(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Return key event properties.",subCommand:[]}]},r)},1380:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],d=r[6],p=r[7],h=n.high,f=n.low,m=o.high,v=o.low,g=i.high,y=i.low,b=a.high,x=a.low,w=s.high,D=s.low,C=u.high,S=u.low,_=d.high,k=d.low,P=p.high,M=p.low,T=h,j=f,E=m,A=v,O=g,N=y,B=b,q=x,R=w,L=D,H=C,$=S,I=_,z=k,F=P,W=M,U=0;U<80;U++){var G,Y,J=c[U];if(U<16)Y=J.high=0|e[t+2*U],G=J.low=0|e[t+2*U+1];else{var V=c[U-15],X=V.high,K=V.low,Z=(X>>>1|K<<31)^(X>>>8|K<<24)^X>>>7,Q=(K>>>1|X<<31)^(K>>>8|X<<24)^(K>>>7|X<<25),ee=c[U-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=c[U-7],ae=ie.high,se=ie.low,le=c[U-16],ce=le.high,ue=le.low;Y=(Y=(Y=Z+ae+((G=Q+se)>>>0<Q>>>0?1:0))+ne+((G+=oe)>>>0<oe>>>0?1:0))+ce+((G+=ue)>>>0<ue>>>0?1:0),J.high=Y,J.low=G}var de,pe=R&H^~R&I,he=L&$^~L&z,fe=T&E^T&O^E&O,me=j&A^j&N^A&N,ve=(T>>>28|j<<4)^(T<<30|j>>>2)^(T<<25|j>>>7),ge=(j>>>28|T<<4)^(j<<30|T>>>2)^(j<<25|T>>>7),ye=(R>>>14|L<<18)^(R>>>18|L<<14)^(R<<23|L>>>9),be=(L>>>14|R<<18)^(L>>>18|R<<14)^(L<<23|R>>>9),xe=l[U],we=xe.high,De=xe.low,Ce=F+ye+((de=W+be)>>>0<W>>>0?1:0),Se=ge+me;F=I,W=z,I=H,z=$,H=R,$=L,R=B+(Ce=(Ce=(Ce=Ce+pe+((de+=he)>>>0<he>>>0?1:0))+we+((de+=De)>>>0<De>>>0?1:0))+Y+((de+=G)>>>0<G>>>0?1:0))+((L=q+de|0)>>>0<q>>>0?1:0)|0,B=O,q=N,O=E,N=A,E=T,A=j,T=Ce+(ve+fe+(Se>>>0<ge>>>0?1:0))+((j=de+Se|0)>>>0<de>>>0?1:0)|0}f=n.low=f+j,n.high=h+T+(f>>>0<j>>>0?1:0),v=o.low=v+A,o.high=m+E+(v>>>0<A>>>0?1:0),y=i.low=y+N,i.high=g+O+(y>>>0<N>>>0?1:0),x=a.low=x+q,a.high=b+B+(x>>>0<q>>>0?1:0),D=s.low=D+L,s.high=w+R+(D>>>0<L>>>0?1:0),S=u.low=S+$,u.high=C+H+(S>>>0<$>>>0?1:0),k=d.low=k+z,d.high=_+I+(k>>>0<z>>>0?1:0),M=p.low=M+W,p.high=P+F+(M>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),n.SHA512)},1396:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),r(6440),r(5503),r(754),r(4725),r(4636),r(5471),r(3009),r(6308),r(1380),r(9557),r(5953),r(8056),r(1025),r(19),r(9506),r(7165),r(2169),r(6939),r(6372),r(3797),r(8454),r(2073),r(4905),r(482),r(2155),r(8124),r(25),r(955),r(7628),r(7193),r(6298),r(2696),r(3128),n)},1585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.consoleDebug=function(e){if(!e)throw Error("Parent dom element required!");let t=!1;this.autoScroll=!0,this.disableConsoleLogging=!1;const r=document.createElement("div");r.id="debugConsole",e.appendChild(r),this.domElement=r,this.initKeyMappings=()=>{t?console.warn("DebugConsole: keys already mapped!"):(state.toggleConsole=function(){this.visible=!this.visible}.bind(this),t=!0)},this.overrideConsole=()=>{const e=["Warning: Does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",'Warning: Using the "className" prop on <View> is deprecated.',"View"],t=console.log;console.log=function(...r){const[n]=r;e.some(e=>n.includes(e))||t(...r)};const r=console.info;console.info=function(...t){const[n]=t;e.some(e=>n.includes(e))||r(...t)};const n=console.warn;console.warn=function(...t){const[r]=t;e.some(e=>r.includes(e))||n(...t)};const o=console.error;console.error=function(...t){const[r]=t;e.some(e=>r.includes(e))||o(...t)},onerror=(e,t,r)=>{const n=[e," in <a href='",t,"' target='_blank'>",t?.split("/").pop(),"</a>:",r];return console.error(n.join("")),!1}},this.overrideConsole(),this.clear=function(){this.domElement.innerHTML=""},Object.defineProperties(this,{visible:{get:function(){return""===this.domElement.style.display},set:function(e){e?(this.domElement.style.display="",this.autoScroll&&(this.domElement.scrollTop=this.domElement.scrollHeight)):this.domElement.style.display="none"},configurable:!1}})},Object.defineProperty(dphelper,"consoleDebug",{writable:!1,enumerable:!1,configurable:!1})},1635:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>B,__assign:()=>i,__asyncDelegator:()=>_,__asyncGenerator:()=>S,__asyncValues:()=>k,__await:()=>C,__awaiter:()=>f,__classPrivateFieldGet:()=>A,__classPrivateFieldIn:()=>N,__classPrivateFieldSet:()=>O,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>R,__esDecorate:()=>c,__exportStar:()=>g,__extends:()=>o,__generator:()=>m,__importDefault:()=>E,__importStar:()=>j,__makeTemplateObject:()=>P,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>L,__runInitializers:()=>u,__setFunctionName:()=>p,__spread:()=>x,__spreadArray:()=>D,__spreadArrays:()=>w,__values:()=>y,default:()=>H});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),p=!1,h=r.length-1;h>=0;h--){var f={};for(var m in n)f[m]="access"===m?{}:n[m];for(var m in n.access)f.access[m]=n.access[m];f.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var v=(0,r[h])("accessor"===l?{get:d.get,set:d.set}:d[c],f);if("accessor"===l){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(s=a(v.get))&&(d.get=s),(s=a(v.set))&&(d.set=s),(s=a(v.init))&&o.unshift(s)}else(s=a(v))&&("field"===l?o.unshift(s):d[c]=s)}u&&Object.defineProperty(u,n.name,d),p=!0}function u(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function p(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}var v=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function g(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||v(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function D(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function C(e){return this instanceof C?(this.v=e,this):new C(e)}function S(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=o[e](t)).value instanceof C?Promise.resolve(r.value.v).then(l,c):u(i[0][2],r)}catch(e){u(i[0][3],e)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:C(e[n](t)),done:!1}:o?o(t):t}:o}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,o,(t=e[r](t)).done,t.value)})}}}function P(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},T=function(e){return T=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},T(e)};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=T(e),n=0;n<r.length;n++)"default"!==r[n]&&v(t,e,r[n]);return M(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function A(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function O(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function N(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function B(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var q="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function R(e){function t(t){e.error=e.hasError?new q(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function o(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(e){return t(e),o()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function L(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e}):e}const H={__extends:o,__assign:i,__rest:a,__decorate:s,__param:l,__esDecorate:c,__runInitializers:u,__propKey:d,__setFunctionName:p,__metadata:h,__awaiter:f,__generator:m,__createBinding:v,__exportStar:g,__values:y,__read:b,__spread:x,__spreadArrays:w,__spreadArray:D,__await:C,__asyncGenerator:S,__asyncDelegator:_,__asyncValues:k,__makeTemplateObject:P,__importStar:j,__importDefault:E,__classPrivateFieldGet:A,__classPrivateFieldSet:O,__classPrivateFieldIn:N,__addDisposableResource:B,__disposeResources:R,__rewriteRelativeImportExtension:L}},1670:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={enhancement:()=>{window.offScreenBuffering="auto",dphelper.window.animationframe()},animationframe:()=>window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/120)},center:({url:e,title:t,name:r,w:n,h:o})=>{const i=void 0!==screenLeft?screenLeft:screenX,a=void 0!==screenTop?screenTop:screenY,s=innerWidth||(document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width),l=innerHeight||(document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height),c=s/screen.availWidth,u=open(e,t,`\n scrollbars=yes,\n width=${n/c},\n height=${o/c},\n top=${(l-o)/2/c+a},\n left=${(s-n)/2/c+i}\n `);onfocus=()=>u?.focus()},onBeforeUnLoad:e=>{let t=!1,r=!1;const n="You have made some changes which you might want to save.",o=e=>(e.preventDefault(),n),i=document.querySelector(e.target);i&&i.addEventListener("input",t=>{""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}),!1===r&&(document.body.addEventListener("click",r=>{if("img"===e.target.tagName&&!0===t){if(!0===confirm(n))return t=!1;r.preventDefault()}}),r=!0),addEventListener("popstate",e=>{if(!0===t)return!0===confirm(n)?t=!1:(e.stopImmediatePropagation(),e.preventDefault(),n)}),onbeforeunload=e=>{}},purge:(e=document,t=1e4)=>{setTimeout(()=>{if(!e)return null;let t={};if(t){const r=t.length;for(let n=0;n<r;n+=1){const r=t[n].name;"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null)}}if(t=e.childNodes,t){const r=t.length;for(let t=0;t<r;t+=1)dphelper.purge(e.childNodes[t])}},t)},stopZoomWheel:e=>{addEventListener("wheel",e=>{e.ctrlKey&&e.preventDefault()},{passive:!1}),addEventListener("keydown",e=>{const t=dphelper.event.keys(e);["+","-","="].includes(t.key)&&t.ctrl&&e.preventDefault()})},setZoom:(e="html",t=1)=>(t<0&&(t=1),$(e).css("zoom",t),`New zoom value: ${100*t}% (css: ${t})`),getZoom:(e="html")=>Number($(e).css("zoom"))};dphelper.setDescription({name:"window",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Purge from memory",subCommand:[]},{name:"stopZoomWheel",version:"0.0.1",example:"dphelper.window.stopZoomWheel(e)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Stop Zoom Generated by Mouse Wheel",subCommand:[]},{name:"setZoom",version:"0.0.1",example:"dphelper.window.setZoom([el,1])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"Set the zoom level of an element",subCommand:[]},{name:"getZoom",version:"0.0.1",example:"dphelper.window.getZoom([el])",author:"Dario Passariello",creationDate:"20240727",lastMod:"20220727",type:"function",active:!0,description:"Get the zoom level of an element",subCommand:[]}]},r)},1809:e=>{"use strict";e.exports=JSON.parse('{"100":{"code":100,"message":"Continue","description":"The server has received the request headers, and the client should proceed to send the request body."},"101":{"code":101,"message":"Switching Protocols","description":"The requester has asked the server to switch protocols."},"102":{"code":102,"message":"Processing","description":"This code indicates that the server has received and is processing the request, but no response is available yet. This prevents the client from timing out and assuming the request was lost."},"103":{"code":103,"message":"Early Hints","description":"Used to return some response headers before final HTTP message."},"200":{"code":200,"message":"OK","description":"The request is OK (this is the standard response for successful HTTP requests)."},"201":{"code":201,"message":"Created","description":"The request has been fulfilled, and a new resource is created."},"202":{"code":202,"message":"Accepted","description":"The request has been accepted for processing, but the processing has not been completed."},"203":{"code":203,"message":"Non-Authoritative Information","description":"The request has been successfully processed, but is returning information that may be from another source."},"204":{"code":204,"message":"No Content","description":"The request has been successfully processed, but is not returning any content."},"205":{"code":205,"message":"Reset Content","description":"The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view."},"206":{"code":206,"message":"Partial Content","description":"The server is delivering only part of the resource due to a range header sent by the client."},"207":{"code":207,"message":"Multi-Status","description":"The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made."},"208":{"code":208,"message":"Already Reported","description":"The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again."},"218":{"code":218,"message":"This is fine (Apache Web Server)","description":"Used as a catch-all error condition for allowing response bodies to flow through Apache when ProxyErrorOverride is enabled."},"226":{"code":226,"message":"IM Used","description":"The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."},"300":{"code":300,"message":"Multiple Choices","description":"A link list. The user can select a link and go to that location. Maximum five addresses."},"301":{"code":301,"message":"Moved Permanently","description":"The requested page has moved to a new URL."},"302":{"code":302,"message":"Found","description":"The requested page has moved temporarily to a new URL."},"303":{"code":303,"message":"See Other","description":"The requested page can be found under a different URL."},"304":{"code":304,"message":"Not Modified","description":"Indicates the requested page has not been modified since last requested."},"306":{"code":306,"message":"Switch Proxy","description":"No longer used. Originally meant \\"Subsequent requests should use the specified proxy.\\""},"307":{"code":307,"message":"Temporary Redirect","description":"The requested page has moved temporarily to a new URL."},"308":{"code":308,"message":"Resume Incomplete","description":"Used in the resumable requests proposal to resume aborted PUT or POST requests."},"400":{"code":400,"message":"Bad Request","description":"The request cannot be fulfilled due to bad syntax."},"401":{"code":401,"message":"Unauthorized","description":"The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided."},"402":{"code":402,"message":"Payment Required","description":"Not yet implemented by RFC standards, but reserved for future use."},"403":{"code":403,"message":"Forbidden","description":"The request was a legal request, but the server is refusing to respond to it."},"404":{"code":404,"message":"Not Found","description":"The requested page could not be found but may be available again in the future."},"405":{"code":405,"message":"Method Not Allowed","description":"A request was made of a page using a request method not supported by that page."},"406":{"code":406,"message":"Not Acceptable","description":"The server can only generate a response that is not accepted by the client."},"407":{"code":407,"message":"Proxy Authentication Required","description":"The client must first authenticate itself with the proxy."},"408":{"code":408,"message":"Request Timeout","description":"The server timed out waiting for the request."},"409":{"code":409,"message":"Conflict","description":"The request could not be completed because of a conflict in the request."},"410":{"code":410,"message":"Gone","description":"The requested page is no longer available."},"411":{"code":411,"message":"Length Required","description":"The \\"Content-Length\\" is not defined. The server will not accept the request without it."},"412":{"code":412,"message":"Precondition Failed","description":"The precondition given in the request evaluated to false by the server."},"413":{"code":413,"message":"Request Entity Too Large","description":"The server will not accept the request, because the request entity is too large."},"414":{"code":414,"message":"Request-URI Too Long","description":"The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information."},"415":{"code":415,"message":"Unsupported Media Type","description":"The server will not accept the request, because the media type is not supported."},"416":{"code":416,"message":"Requested Range Not Satisfiable","description":"The client has asked for a portion of the file, but the server cannot supply that portion."},"417":{"code":417,"message":"Expectation Failed","description":"The server cannot meet the requirements of the Expect request-header field."},"418":{"code":418,"message":"I\'m a teapot","description":"Any attempt to brew coffee with a teapot should result in the error code \\"418 I\'m a teapot\\". The resulting entity body MAY be short and stout."},"419":{"code":419,"message":"Page Expired (Laravel Framework)","description":"Used by the Laravel Framework when a CSRF Token is missing or expired."},"420":{"code":420,"message":"Method Failure (Spring Framework)","description":"A deprecated response used by the Spring Framework when a method has failed."},"421":{"code":421,"message":"Misdirected Request","description":"The request was directed at a server that is not able to produce a response (for example because a connection reuse)."},"422":{"code":422,"message":"Unprocessable Entity","description":"The request was well-formed but was unable to be followed due to semantic errors."},"423":{"code":423,"message":"Locked","description":"The resource that is being accessed is locked."},"424":{"code":424,"message":"Failed Dependency","description":"The request failed due to failure of a previous request (e.g., a PROPPATCH)."},"426":{"code":426,"message":"Upgrade Required","description":"The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field."},"428":{"code":428,"message":"Precondition Required","description":"The origin server requires the request to be conditional."},"429":{"code":429,"message":"Too Many Requests","description":"The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes."},"431":{"code":431,"message":"Request Header Fields Too Large","description":"The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large."},"440":{"code":440,"message":"Login Time-out","description":"The client\'s session has expired and must log in again. (IIS)"},"444":{"code":444,"message":"Connection Closed Without Response","description":"A non-standard status code used to instruct nginx to close the connection without sending a response to the client, most commonly used to deny malicious or malformed requests."},"449":{"code":449,"message":"Retry With","description":"The server cannot honour the request because the user has not provided the required information. (IIS)"},"450":{"code":450,"message":"Blocked by Windows Parental Controls","description":"The Microsoft extension code indicated when Windows Parental Controls are turned on and are blocking access to the requested webpage."},"451":{"code":451,"message":"Unavailable For Legal Reasons","description":"A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource."},"494":{"code":494,"message":"Request Header Too Large","description":"Used by nginx to indicate the client sent too large of a request or header line that is too long."},"495":{"code":495,"message":"SSL Certificate Error","description":"An expansion of the 400 Bad Request response code, used when the client has provided an invalid client certificate."},"496":{"code":496,"message":"SSL Certificate Required","description":"An expansion of the 400 Bad Request response code, used when a client certificate is required but not provided."},"497":{"code":497,"message":"HTTP Request Sent to HTTPS Port","description":"An expansion of the 400 Bad Request response code, used when the client has made a HTTP request to a port listening for HTTPS requests."},"498":{"code":498,"message":"Invalid Token (Esri)","description":"Returned by ArcGIS for Server. Code 498 indicates an expired or otherwise invalid token."},"499":{"code":499,"message":"Client Closed Request","description":"A non-standard status code introduced by nginx for the case when a client closes the connection while nginx is processing the request."},"500":{"code":500,"message":"Internal Server Error","description":"An error has occurred in a server side script, a no more specific message is suitable."},"501":{"code":501,"message":"Not Implemented","description":"The server either does not recognize the request method, or it lacks the ability to fulfill the request."},"502":{"code":502,"message":"Bad Gateway","description":"The server was acting as a gateway or proxy and received an invalid response from the upstream server."},"503":{"code":503,"message":"Service Unavailable","description":"The server is currently unavailable (overloaded or down)."},"504":{"code":504,"message":"Gateway Timeout","description":"The server was acting as a gateway or proxy and did not receive a timely response from the upstream server."},"505":{"code":505,"message":"HTTP Version Not Supported","description":"The server does not support the HTTP protocol version used in the request."},"506":{"code":506,"message":"Variant Also Negotiates","description":"Transparent content negotiation for the request results in a circular reference."},"507":{"code":507,"message":"Insufficient Storage","description":"The server is unable to store the representation needed to complete the request."},"508":{"code":508,"message":"Loop Detected","description":"The server detected an infinite loop while processing the request (sent instead of 208 Already Reported)."},"509":{"code":509,"message":"Bandwidth Limit Exceeded","description":"The server has exceeded the bandwidth specified by the server administrator; this is often used by shared hosting providers to limit the bandwidth of customers."},"510":{"code":510,"message":"Not Extended","description":"Further extensions to the request are required for the server to fulfil it."},"511":{"code":511,"message":"Network Authentication Required","description":"The client needs to authenticate to gain network access."},"520":{"code":520,"message":"Unknown Error","description":"The 520 error is used as a \\"catch-all response for when the origin server returns something unexpected\\", listing connection resets, large headers, and empty or invalid responses as common triggers."},"521":{"code":521,"message":"Web Server Is Down","description":"The origin server has refused the connection from Cloudflare."},"522":{"code":522,"message":"Connection Timed Out","description":"Cloudflare could not negotiate a TCP handshake with the origin server."},"523":{"code":523,"message":"Origin Is Unreachable","description":"Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect."},"524":{"code":524,"message":"A Timeout Occurred","description":"Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response."},"525":{"code":525,"message":"SSL Handshake Failed","description":"Cloudflare could not negotiate a SSL/TLS handshake with the origin server."},"526":{"code":526,"message":"Invalid SSL Certificate","description":"Used by Cloudflare and Cloud Foundry\'s gorouter to indicate failure to validate the SSL/TLS certificate that the origin server presented."},"527":{"code":527,"message":"Railgun Listener to Origin Error","description":"Error 527 indicates that the request timed out or failed after the WAN connection had been established."},"530":{"code":530,"message":"Origin DNS Error","description":"Error 530 indicates that the requested host name could not be resolved on the Cloudflare network to an origin server."},"598":{"code":598,"message":"Network Read Timeout Error","description":"Used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy."},"1xx":{"code":"1xx","message":"Information","description":"1xx codes are often interim responses for sharing connection status information. Not intended for final request or response action."},"2xx":{"code":"2xx","message":"Successful","description":"2xx codes indicate successful responses usually this means the action requested by the client was received, understood and accepted successfully."},"3xx":{"code":"3xx","message":"Redirection","description":"3xx codes are a class of responses that suggest the User-Agent must follow another course of action to obtain the complete requested resource."},"4xx":{"code":"4xx","message":"Client Error","description":"4xx codes generally are error responses specifying an issue at the client’s end. Potentially a network issue."},"5xx":{"code":"5xx","message":"Server Error","description":"5xx error codes indicate that an error or unresolvable request occurred on the server side, whether that is a proxy or the origin host."}}')},2073:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,o=n-r%n,i=r+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},2142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.size=()=>{idbases?.map(e=>{if(!idb.exist(e))return;const t=dphelper.array.findindex(idbases,e.name),r=indexedDB?.open(e.name,idb.version(e.name));r.onerror=e=>console.error("Error on IndexedDB"),r.onsuccess=e=>{const r=e.target.result;((e,r)=>{const n=e.reduce((e,t)=>(e.push(idb.getTableSize(r,t)),e),[]);n.map(e=>{const t=e.reduce((e,t)=>e+t,0);parseInt(dphelper.dev.byteSize(t))}),idbases[t].size=n.length>0?n:0})([...r.objectStoreNames],r)}})}},2155:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},2167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={multiSplit:()=>{const e=String.prototype.split;String.prototype.split=function(){if(arguments[0].length>0&&"[object Array]"==Object.prototype.toString.call(arguments[0]))return function(e,t){for(var r=t[0],n=1;n<t.length;++n)e=e.split(t[n]).join(r);return e.split(r)}(this,arguments[0]);const t=arguments;return e.apply(this,t)}}};dphelper.setDescription({name:"system",active:!0,subCommand:[{name:"multiSplit",version:"0.0.1",example:"dphelper.system.multiSplit()",author:"Dario Passariello",creationDate:"20231121",lastMod:"20231121",type:"system",active:!0,description:"Run only one time when you load your App ... extend the .split with array as argument (example.split([',', ':', ';', '?', '/'])[0])",subCommand:[]}]},r)},2169:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize;t.call(this,e,r,o,n),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=e.slice(r,r+o);t.call(this,e,r,o,n),this._prevBlock=i}}),e}(),n.mode.CFB)},2240:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={custom:(e="*",t)=>{t.color_1=t?.color_1||"black",t.color_1_hover=t?.color_1_hover||"black",t.color_2=t?.color_2||"transparent",t.color_3=t?.color_3||"rgba(30,150,255,.5)",t.type=t?.type||"thin",t.behavior=t?.behavior||"smooth",t.width=t?.width||"16px",t.height=t?.height||"16px",t.rounded=t?.rounded||"10px",t.margin=t?.margin||0,t.border=t?.border||"5px",t.opacity=t?.opacity||1;const r=` ${e}::-webkit-scrollbar {\n scroll-behavior: ${t.behavior};\n width: ${t.width};\n height: ${t.height};\n }\n ${e}::-webkit-scrollbar-thumb {\n opacity: ${t.opacity} !important;\n -webkit-border-radius: ${t.rounded} !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ${t.rounded} !important;\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: ${t.border} solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ${e}::-webkit-scrollbar-thumb:hover{\n background: ${t.color_1_hover} !important;\n }\n ${e}::-webkit-scrollbar-thumb:active{\n background: ${t.color_1} !important;\n background-clip: content-box !important;\n border: calc( ${t.border} - 1.5px ) solid transparent !important;\n }\n ${e}::-webkit-scrollbar-track {\n background: ${t.color_2};\n border-radius: ${t.rounded};\n }\n ${e}::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n }\n ${e}::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n ${e}::-webkit-scrollbar-corner {\n background:rgba(0,0,0,0)\n }\n /*\n ${e}::-webkit-scrollbar-thumb:window-inactive {\n background: ${t.color_3}\n }\n */\n select::-webkit-scrollbar-thumb {\n border: 4px solid hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track {\n background: hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track:vertical,\n select::-webkit-scrollbar-track:horizontal {\n border-top: none !important;\n border-left: none !important;\n }\n `,n=document.createElement("style");document.head.appendChild(n),n.innerHTML=r},indicator:e=>{const t=document.querySelector(e.el),r=document.querySelector(".scrollindicator");if(!r){const e=document.createElement("div");e.classList.add("scrollindicator"),document.querySelector("header")?.appendChild(e),e.style.cssText="\n height:5px;\n background:#65c45c;\n position:absolute;\n bottom:0;\n left:0;\n z-index:2\n "}if(e.el||!r)try{const e=document.querySelector(".scrollindicator");t.addEventListener("scroll",function(t){e.style.width="0%";const r=Number(this.scrollTop),n=Number(this.scrollHeight-this.clientHeight),o=Math.min(Math.max(r/n*100),100);e.style.width=o+"%",e.click()}),t.addEventListener("popstate",function(t){e.style.width=0})}catch(e){return}else r.style.width="0%"},position:{set:e=>{const t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&store.set(e,t)},get:e=>{if(store.get(e))try{const t=store.get(e);$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}catch(e){console.error("Error getting scroll position:",e)}}},smooth:(e,t,r)=>{e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);let n=!1,o=e.scrollTop;const i=e===document.body&&document.documentElement?document.documentElement:e,a=r=>{r.preventDefault();const a=s(r);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),n||l()};e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});const s=e=>e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120,l=()=>{n=!0;const t=(o-e.scrollTop)/r;e.scrollTop+=t,Math.abs(t)>.5?c(l):n=!1},c=dphelper.Window.animationframe()},scrollTo:(e,t,r=0)=>{const n=document.querySelector(e),o=document.querySelector(t);n&&o&&n.scrollTo({top:o.offsetTop-r,behavior:"smooth"})}};dphelper.setDescription({name:"scrollbar",active:!0,subCommand:[{name:"custom",version:"0.0.1",example:"dphelper.scrollbar.custom(selector)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Apply custom styles to the scrollbar for the selected elements.",subCommand:[]},{name:"indicator",version:"0.0.1",example:"dphelper.scrollbar.indicator(selector)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Add a scroll indicator to the selected elements.",subCommand:[]},{name:"position.get",version:"0.0.1",example:"dphelper.scrollbar.position.get(selector)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Get the current scroll position of the selected elements.",subCommand:[]},{name:"position.set",version:"0.0.1",example:"dphelper.scrollbar.position.set(selector, position)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Set the scroll position of the selected elements.",subCommand:[]},{name:"smooth",version:"0.0.1",example:"dphelper.scrollbar.smooth(container, element, gap)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Smoothly scroll to a specific element within a container with an optional gap.",subCommand:[]},{name:"scrollTo",version:"0.0.1",example:"dphelper.scrollbar.scrollTo(container, element, gap)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Scroll to a specific element within a container with an optional gap.",subCommand:[]}]},r)},2484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={set:(e,t={})=>{dispatchEvent(new CustomEvent(String(e),t))},listen:(e,t=null,r=!1)=>{observer.list?.[e]?.length>0&&observer.remove(e),$(window).on(e,e=>t?setTimeout(()=>t(e),0):null)},remove:e=>{$(window).off(e)}};dphelper.setDescription({name:"dispatch",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.dispatch.set([name, value])",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"Dispatches a custom event with the specified name and value.",subCommand:[]},{name:"listen",version:"0.0.1",example:"dphelper.dispatch.listen([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"Listens for the specified event names and executes the callback when the event is triggered.",subCommand:[]},{name:"remove",version:"0.0.1",example:"dphelper.dispatch.remove([eventNames, callback=null], flag = true)",author:"Dario Passariello",creationDate:"20231231",lastMod:"20240612",type:"function",active:!0,description:"Removes the event listener for the specified event names.",subCommand:[]}]},r)},2696:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)l.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&u,p=u<<16|65535&c;for(n[0]^=c,n[1]^=d,n[2]^=u,n[3]^=p,n[4]^=c,n[5]^=d,n[6]^=u,n[7]^=p,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),n.RabbitLegacy)},2804:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={rail:()=>location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/").filter(e=>e),hash:()=>{const e=location.hash.replace("#","").split("/");return e.length?e.filter(e=>e):["empty"]},query:e=>{const t=new URLSearchParams(window.location.search),r={};return t.forEach((e,t)=>r[t]=e),e?r[e]||null:r}};dphelper.setDescription({name:"path",active:!0,subCommand:[{name:"rail",version:"0.0.1",example:"dphelper.path.rail()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Extract the path segments from the current URL.",subCommand:[]},{name:"hash",version:"0.0.1",example:"dphelper.path.hash([hashUrl])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Extract the hash from a URL.",subCommand:[]},{name:"query",version:"0.0.1",example:"dphelper.path.query([queryString])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20250513",type:"function",active:!0,description:"Extract the query parameters from a URL.",subCommand:[]}]},r)},2891:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.create=(e,t=1)=>{idb.support();const r=indexedDB.open(e,t);r.onerror=e=>{console.error(`IndexedDB error: ${r.errorCode}`)},r.onsuccess=e=>{console.debug("Successful database connection")},r.onupgradeneeded=e=>{console.debug("Database created")},setTimeout(()=>{idbases=[],idb.databases()},1e3)}},3009:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],l=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),l[o]=r(e.pow(n,1/3)),o++),n++}();var c=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],d=r[6],p=r[7],h=0;h<64;h++){if(h<16)c[h]=0|e[t+h];else{var f=c[h-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,v=c[h-2],g=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;c[h]=m+c[h-7]+g+c[h-16]}var y=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+l[h]+c[h];p=d,d=u,u=s,s=a+x|0,a=i,i=o,o=n,n=x+(b+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+p|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),n.SHA256)},3054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={fullScreen:e=>{const t=document.querySelector(e);t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},toggle:e=>{const t=document,r=t.querySelector(e);r?t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement?t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.msExitFullscreen&&t.msExitFullscreen():r.requestFullscreen?r.requestFullscreen():r.mozRequestFullScreen?r.mozRequestFullScreen():r.webkitRequestFullscreen?r.webkitRequestFullscreen():r.msRequestFullscreen&&r.msRequestFullscreen():console.error(`Element not found: ${e}`)},info:()=>({width:screen.width,height:screen.height,availWidth:screen.availWidth,availHeight:screen.availHeight,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth})};dphelper.setDescription({name:"screen",active:!0,subCommand:[{name:"fullScreen",version:"0.0.2",example:"dphelper.screen.fullScreen([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Enter full screen mode for a given element.",subCommand:[]},{name:"toggle",version:"0.0.2",example:"dphelper.screen.toggle([element])",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Toggle full screen mode for a given element.",subCommand:[]}]},r)},3128:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.BlockCipher,r=e.algo;const o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function s(e,t){let r=t>>24&255,n=t>>16&255,o=t>>8&255,i=255&t,a=e.sbox[0][r]+e.sbox[1][n];return a^=e.sbox[2][o],a+=e.sbox[3][i],a}function l(e,t,r){let n,o=t,i=r;for(let t=0;t<16;++t)o^=e.pbox[t],i=s(e,o)^i,n=o,o=i,i=n;return n=o,o=i,i=n,i^=e.pbox[16],o^=e.pbox[17],{left:o,right:i}}var c=r.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;!function(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=i[t][r]}let n=0;for(let i=0;i<18;i++)e.pbox[i]=o[i]^t[n],n++,n>=r&&(n=0);let a=0,s=0,c=0;for(let t=0;t<18;t+=2)c=l(e,a,s),a=c.left,s=c.right,e.pbox[t]=a,e.pbox[t+1]=s;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)c=l(e,a,s),a=c.left,s=c.right,e.sbox[t][r]=a,e.sbox[t][r+1]=s}(a,t,r)}},encryptBlock:function(e,t){var r=l(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){let n,o=t,i=r;for(let t=17;t>1;--t)o^=e.pbox[t],i=s(e,o)^i,n=o,o=i,i=n;return n=o,o=i,i=n,i^=e.pbox[1],o^=e.pbox[0],{left:o,right:i}}(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(c)}(),n.Blowfish)},3240:function(e,t,r){var n,o,i,a,s,l;e.exports=(i=(o=n=r(9021)).lib,a=i.Base,s=i.WordArray,(l=o.x64={}).Word=a.extend({init:function(e,t){this.high=e,this.low=t}}),l.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return s.create(r,this.sigBytes)},clone:function(){for(var e=a.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),n)},3604:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={counter:(e,t,r)=>e?t&&r?Object.keys(e).length:e.items.filter(e=>e[t]===r).length:null,toCsv:e=>{const t=e,r=(e,t)=>null===t?"":t,n=Object.keys(t[0]),o=t.map(e=>n.map(t=>JSON.stringify(e[t],r)).join(","));return o.unshift(n.join(",")),o.join("\r\n")},saveCsvAs:(e,t)=>{const r=new Blob([e],{type:"text/csv;charset=utf-8;"}),n=document.createElement("a"),o=`${t}_${dphelper.date.dateTimeToString(new Date(Date.now()))}.csv`,i=URL.createObjectURL(r);n.setAttribute("href",i),n.setAttribute("download",o),n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n)},is:e=>{try{JSON.parse(e)}catch(e){return!1}return!0},parse:e=>{try{return JSON.parse(e)}catch(e){return"Json not parsable"}},sanitize:e=>e,sanitizeJsonValue:e=>e?e.replace(/^"(.*)"$/,"$1").replace(/\\/g,"").replace(/\//g,"/").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/"/g,'\\"').replace(/\t/g," ").trim()+'"':'""'};dphelper.setDescription({name:"json",active:!0,subCommand:[{name:"counter",version:"0.0.1",example:"dphelper.json.counter()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Count occurrences of a key-value pair in a JSON object.",subCommand:[]},{name:"toCsv",version:"0.0.1",example:"dphelper.json.toCsv()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Convert JSON data to CSV format.",subCommand:[]},{name:"saveCsvAs",version:"0.0.1",example:"dphelper.json.saveCsvAs()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Save CSV data as a file.",subCommand:[]},{name:"is",version:"0.0.1",example:"dphelper.json.is()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a string is valid JSON.",subCommand:[]},{name:"parse",version:"0.0.1",example:"dphelper.json.parse()",author:"Dario Passariello",creationDate:"20241107",lastMod:"20241107",type:"function",active:!0,description:"Parse a JSON string.",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.json.sanitize()",author:"Dario Passariello",creationDate:"20241107",lastMod:"20241107",type:"function",active:!0,description:"Sanitize a JSON string.",subCommand:[]},{name:"sanitizeJsonValue",version:"0.0.1",example:"dphelper.json.sanitizeJsonValue()",author:"Dario Passariello",creationDate:"20241107",lastMod:"20241107",type:"function",active:!0,description:"Sanitize individual JSON values.",subCommand:[]}]},r)},3797:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.OFB=(o=(n=i.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),r.encryptBlock(i,0);for(var a=0;a<n;a++)e[t+a]^=i[a]}}),n.Decryptor=o,n),i.mode.OFB)},4403:(e,t,r)=>{"use strict";r.r(t)},4636:function(e,t,r){var n;e.exports=(n=r(9021),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],v=e[t+5],g=e[t+6],y=e[t+7],b=e[t+8],x=e[t+9],w=e[t+10],D=e[t+11],C=e[t+12],S=e[t+13],_=e[t+14],k=e[t+15],P=i[0],M=i[1],T=i[2],j=i[3];P=c(P,M,T,j,a,7,s[0]),j=c(j,P,M,T,l,12,s[1]),T=c(T,j,P,M,h,17,s[2]),M=c(M,T,j,P,f,22,s[3]),P=c(P,M,T,j,m,7,s[4]),j=c(j,P,M,T,v,12,s[5]),T=c(T,j,P,M,g,17,s[6]),M=c(M,T,j,P,y,22,s[7]),P=c(P,M,T,j,b,7,s[8]),j=c(j,P,M,T,x,12,s[9]),T=c(T,j,P,M,w,17,s[10]),M=c(M,T,j,P,D,22,s[11]),P=c(P,M,T,j,C,7,s[12]),j=c(j,P,M,T,S,12,s[13]),T=c(T,j,P,M,_,17,s[14]),P=u(P,M=c(M,T,j,P,k,22,s[15]),T,j,l,5,s[16]),j=u(j,P,M,T,g,9,s[17]),T=u(T,j,P,M,D,14,s[18]),M=u(M,T,j,P,a,20,s[19]),P=u(P,M,T,j,v,5,s[20]),j=u(j,P,M,T,w,9,s[21]),T=u(T,j,P,M,k,14,s[22]),M=u(M,T,j,P,m,20,s[23]),P=u(P,M,T,j,x,5,s[24]),j=u(j,P,M,T,_,9,s[25]),T=u(T,j,P,M,f,14,s[26]),M=u(M,T,j,P,b,20,s[27]),P=u(P,M,T,j,S,5,s[28]),j=u(j,P,M,T,h,9,s[29]),T=u(T,j,P,M,y,14,s[30]),P=d(P,M=u(M,T,j,P,C,20,s[31]),T,j,v,4,s[32]),j=d(j,P,M,T,b,11,s[33]),T=d(T,j,P,M,D,16,s[34]),M=d(M,T,j,P,_,23,s[35]),P=d(P,M,T,j,l,4,s[36]),j=d(j,P,M,T,m,11,s[37]),T=d(T,j,P,M,y,16,s[38]),M=d(M,T,j,P,w,23,s[39]),P=d(P,M,T,j,S,4,s[40]),j=d(j,P,M,T,a,11,s[41]),T=d(T,j,P,M,f,16,s[42]),M=d(M,T,j,P,g,23,s[43]),P=d(P,M,T,j,x,4,s[44]),j=d(j,P,M,T,C,11,s[45]),T=d(T,j,P,M,k,16,s[46]),P=p(P,M=d(M,T,j,P,h,23,s[47]),T,j,a,6,s[48]),j=p(j,P,M,T,y,10,s[49]),T=p(T,j,P,M,_,15,s[50]),M=p(M,T,j,P,v,21,s[51]),P=p(P,M,T,j,C,6,s[52]),j=p(j,P,M,T,f,10,s[53]),T=p(T,j,P,M,w,15,s[54]),M=p(M,T,j,P,l,21,s[55]),P=p(P,M,T,j,b,6,s[56]),j=p(j,P,M,T,k,10,s[57]),T=p(T,j,P,M,g,15,s[58]),M=p(M,T,j,P,S,21,s[59]),P=p(P,M,T,j,m,6,s[60]),j=p(j,P,M,T,D,10,s[61]),T=p(T,j,P,M,h,15,s[62]),M=p(M,T,j,P,x,21,s[63]),i[0]=i[0]+P|0,i[1]=i[1]+M|0,i[2]=i[2]+T|0,i[3]=i[3]+j|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),n.MD5)},4692:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,function(n,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,m=f.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,r){var n,o,i=(r=r||b).createElement("script");if(i.text=e,t)for(n in x)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&i.setAttribute(n,o);r.head.appendChild(i).parentNode.removeChild(i)}function D(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var C="3.7.1",S=/HTML$/i,_=function(e,t){return new _.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,r=D(e);return!g(e)&&!y(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}_.fn=_.prototype={jquery:C,constructor:_,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=_.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return _.each(this,e)},map:function(e){return this.pushStack(_.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},_.extend=_.fn.extend=function(){var e,t,r,n,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&a!==n&&(c&&n&&(_.isPlainObject(n)||(o=Array.isArray(n)))?(r=a[t],i=o&&!Array.isArray(r)?[]:o||_.isPlainObject(r)?r:{},o=!1,a[t]=_.extend(c,i,n)):void 0!==n&&(a[t]=n));return a},_.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==p.call(e)||(t=a(e))&&("function"!=typeof(r=h.call(t,"constructor")&&t.constructor)||f.call(r)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){w(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(k(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,o=e.nodeType;if(!o)for(;t=e[n++];)r+=_.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:r},makeArray:function(e,t){var r=t||[];return null!=e&&(k(Object(e))?_.merge(r,"string"==typeof e?[e]:e):c.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:u.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!S.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,o=e.length;n<r;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,r){for(var n=[],o=0,i=e.length,a=!r;o<i;o++)!t(e[o],o)!==a&&n.push(e[o]);return n},map:function(e,t,r){var n,o,i=0,a=[];if(k(e))for(n=e.length;i<n;i++)null!=(o=t(e[i],i,r))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,r))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=i[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var M=i.pop,T=i.sort,j=i.splice,E="[\\x20\\t\\r\\n\\f]",A=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g");_.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}_.escapeSelector=function(e){return(e+"").replace(O,N)};var B=b,q=c;!function(){var e,t,r,o,a,l,c,d,p,f,m=q,g=_.expando,y=0,b=0,x=ee(),w=ee(),D=ee(),C=ee(),S=function(e,t){return e===t&&(a=!0),0},k="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="(?:\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+E+"*("+O+")(?:"+E+"*([*^$|!~]?=)"+E+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+E+"*\\]",R=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",L=new RegExp(E+"+","g"),H=new RegExp("^"+E+"*,"+E+"*"),$=new RegExp("^"+E+"*([>+~]|"+E+")"+E+"*"),I=new RegExp(E+"|>"),z=new RegExp(R),F=new RegExp("^"+O+"$"),W={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),bool:new RegExp("^(?:"+k+")$","i"),needsContext:new RegExp("^"+E+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,V=new RegExp("\\\\[\\da-fA-F]{1,6}"+E+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},K=function(){le()},Z=pe(function(e){return!0===e.disabled&&P(e,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(i=s.call(B.childNodes),B.childNodes),i[B.childNodes.length].nodeType}catch(e){m={apply:function(e,t){q.apply(e,s.call(t))},call:function(e){q.apply(e,s.call(arguments,1))}}}function Q(e,t,r,n){var o,i,a,s,c,u,h,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!n&&(le(t),t=t||l,d)){if(11!==y&&(c=Y.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return r;if(a.id===o)return m.call(r,a),r}else if(f&&(a=f.getElementById(o))&&Q.contains(t,a)&&a.id===o)return m.call(r,a),r}else{if(c[2])return m.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&t.getElementsByClassName)return m.apply(r,t.getElementsByClassName(o)),r}if(!(C[e+" "]||p&&p.test(e))){if(h=e,f=t,1===y&&(I.test(e)||$.test(e))){for((f=J.test(e)&&se(t.parentNode)||t)==t&&v.scope||((s=t.getAttribute("id"))?s=_.escapeSelector(s):t.setAttribute("id",s=g)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+de(u[i]);h=u.join(",")}try{return m.apply(r,f.querySelectorAll(h)),r}catch(t){C(e,!0)}finally{s===g&&t.removeAttribute("id")}}}return ye(e.replace(A,"$1"),t,r,n)}function ee(){var e=[];return function r(n,o){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=o}}function te(e){return e[g]=!0,e}function re(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return P(t,"input")&&t.type===e}}function oe(e){return function(t){return(P(t,"input")||P(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Z(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te(function(t){return t=+t,te(function(r,n){for(var o,i=e([],r.length,t),a=i.length;a--;)r[o=i[a]]&&(r[o]=!(n[o]=r[o]))})})}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var r,n=e?e.ownerDocument||e:B;return n!=l&&9===n.nodeType&&n.documentElement?(c=(l=n).documentElement,d=!_.isXMLDoc(l),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&B!=l&&(r=l.defaultView)&&r.top!==r&&r.addEventListener("unload",K),v.getById=re(function(e){return c.appendChild(e).id=_.expando,!l.getElementsByName||!l.getElementsByName(_.expando).length}),v.disconnectedMatch=re(function(e){return f.call(e,"*")}),v.scope=re(function(){return l.querySelectorAll(":scope")}),v.cssHas=re(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),v.getById?(t.filter.ID=function(e){var t=e.replace(V,X);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(V,X);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var r,n,o,i=t.getElementById(e);if(i){if((r=i.getAttributeNode("id"))&&r.value===e)return[i];for(o=t.getElementsByName(e),n=0;i=o[n++];)if((r=i.getAttributeNode("id"))&&r.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},p=[],re(function(e){var t;c.appendChild(e).innerHTML="<a id='"+g+"' href='' disabled='disabled'></a><select id='"+g+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+E+"*(?:value|"+k+")"),e.querySelectorAll("[id~="+g+"-]").length||p.push("~="),e.querySelectorAll("a#"+g+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+E+"*name"+E+"*="+E+"*(?:''|\"\")")}),v.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),S=function(e,t){if(e===t)return a=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===r?e===l||e.ownerDocument==B&&Q.contains(B,e)?-1:t===l||t.ownerDocument==B&&Q.contains(B,t)?1:o?u.call(o,e)-u.call(o,t):0:4&r?-1:1)},l):l}for(e in Q.matches=function(e,t){return Q(e,null,null,t)},Q.matchesSelector=function(e,t){if(le(e),d&&!C[t+" "]&&(!p||!p.test(t)))try{var r=f.call(e,t);if(r||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return Q(t,l,null,[e]).length>0},Q.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),_.contains(e,t)},Q.attr=function(e,r){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[r.toLowerCase()],o=n&&h.call(t.attrHandle,r.toLowerCase())?n(e,r,!d):void 0;return void 0!==o?o:e.getAttribute(r)},Q.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},_.uniqueSort=function(e){var t,r=[],n=0,i=0;if(a=!v.sortStable,o=!v.sortStable&&s.call(e,0),T.call(e,S),a){for(;t=e[i++];)t===e[i]&&(n=r.push(i));for(;n--;)j.call(e,r[n],1)}return o=null,e},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(s.apply(this)))},t=_.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(V,X),e[3]=(e[3]||e[4]||e[5]||"").replace(V,X),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Q.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Q.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&z.test(r)&&(t=ue(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(V,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return P(e,t)}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+E+")"+e+"("+E+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var o=Q.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(L," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,r,l){var c,u,d,p,h,f=i!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,x=!1;if(m){if(i){for(;f;){for(d=t;d=d[f];)if(s?P(d,v):1===d.nodeType)return!1;h=f="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&b){for(x=(p=(c=(u=m[g]||(m[g]={}))[e]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[f]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){u[e]=[y,p,x];break}}else if(b&&(x=p=(c=(u=t[g]||(t[g]={}))[e]||[])[0]===y&&c[1]),!1===x)for(;(d=++p&&d&&d[f]||(x=p=0)||h.pop())&&(!(s?P(d,v):1===d.nodeType)||!++x||(b&&((u=d[g]||(d[g]={}))[e]=[y,x]),d!==t)););return(x-=o)===n||x%n===0&&x/n>=0}}},PSEUDO:function(e,r){var n,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Q.error("unsupported pseudo: "+e);return o[g]?o(r):o.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var n,i=o(e,r),a=i.length;a--;)e[n=u.call(e,i[a])]=!(t[n]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:te(function(e){var t=[],r=[],n=ge(e.replace(A,"$1"));return n[g]?te(function(e,t,r,o){for(var i,a=n(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,o,i){return t[0]=e,n(t,null,i,r),t[0]=null,!r.pop()}}),has:te(function(e){return function(t){return Q(e,t).length>0}}),contains:te(function(e){return e=e.replace(V,X),function(t){return(t.textContent||_.text(t)).indexOf(e)>-1}}),lang:te(function(e){return F.test(e||"")||Q.error("unsupported lang: "+e),e=e.replace(V,X).toLowerCase(),function(t){var r;do{if(r=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return P(e,"input")&&!!e.checked||P(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return U.test(e.nodeName)},button:function(e){return P(e,"input")&&"button"===e.type||P(e,"button")},text:function(e){var t;return P(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae(function(){return[0]}),last:ae(function(e,t){return[t-1]}),eq:ae(function(e,t,r){return[r<0?r+t:r]}),even:ae(function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:ae(function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:ae(function(e,t,r){var n;for(n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e}),gt:ae(function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ne(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,r){var n,o,i,a,s,l,c,u=w[e+" "];if(u)return r?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=$.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(A," ")}),s=s.slice(n.length)),t.filter)!(o=W[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return r?s.length:s?Q.error(e):w(e,l).slice(0)}function de(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function pe(e,t,r){var n=t.dir,o=t.next,i=o||n,a=r&&"parentNode"===i,s=b++;return t.first?function(t,r,o){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,o);return!1}:function(t,r,l){var c,u,d=[y,s];if(l){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,l))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(u=t[g]||(t[g]={}),o&&P(t,o))t=t[n]||t;else{if((c=u[i])&&c[0]===y&&c[1]===s)return d[2]=c[2];if(u[i]=d,d[2]=e(t,r,l))return!0}return!1}}function he(e){return e.length>1?function(t,r,n){for(var o=e.length;o--;)if(!e[o](t,r,n))return!1;return!0}:e[0]}function fe(e,t,r,n,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(r&&!r(i,n,o)||(a.push(i),c&&t.push(s)));return a}function me(e,t,r,n,o,i){return n&&!n[g]&&(n=me(n)),o&&!o[g]&&(o=me(o,i)),te(function(i,a,s,l){var c,d,p,h,f=[],v=[],g=a.length,y=i||function(e,t,r){for(var n=0,o=t.length;n<o;n++)Q(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),b=!e||!i&&t?y:fe(y,f,e,s,l);if(r?r(b,h=o||(i?e:g||n)?[]:a,s,l):h=b,n)for(c=fe(h,v),n(c,[],s,l),d=c.length;d--;)(p=c[d])&&(h[v[d]]=!(b[v[d]]=p));if(i){if(o||e){if(o){for(c=[],d=h.length;d--;)(p=h[d])&&c.push(b[d]=p);o(null,h=[],c,l)}for(d=h.length;d--;)(p=h[d])&&(c=o?u.call(i,p):f[d])>-1&&(i[c]=!(a[c]=p))}}else h=fe(h===a?h.splice(g,h.length):h),o?o(null,a,h,l):m.apply(a,h)})}function ve(e){for(var n,o,i,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,d=pe(function(e){return e===n},l,!0),p=pe(function(e){return u.call(n,e)>-1},l,!0),h=[function(e,t,o){var i=!s&&(o||t!=r)||((n=t).nodeType?d(e,t,o):p(e,t,o));return n=null,i}];c<a;c++)if(o=t.relative[e[c].type])h=[pe(he(h),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[g]){for(i=++c;i<a&&!t.relative[e[i].type];i++);return me(c>1&&he(h),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(A,"$1"),o,c<i&&ve(e.slice(c,i)),i<a&&ve(e=e.slice(i)),i<a&&de(e))}h.push(o)}return he(h)}function ge(e,n){var o,i=[],a=[],s=D[e+" "];if(!s){for(n||(n=ue(e)),o=n.length;o--;)(s=ve(n[o]))[g]?i.push(s):a.push(s);s=D(e,function(e,n){var o=n.length>0,i=e.length>0,a=function(a,s,c,u,p){var h,f,v,g=0,b="0",x=a&&[],w=[],D=r,C=a||i&&t.find.TAG("*",p),S=y+=null==D?1:Math.random()||.1,k=C.length;for(p&&(r=s==l||s||p);b!==k&&null!=(h=C[b]);b++){if(i&&h){for(f=0,s||h.ownerDocument==l||(le(h),c=!d);v=e[f++];)if(v(h,s||l,c)){m.call(u,h);break}p&&(y=S)}o&&((h=!v&&h)&&g--,a&&x.push(h))}if(g+=b,o&&b!==g){for(f=0;v=n[f++];)v(x,w,s,c);if(a){if(g>0)for(;b--;)x[b]||w[b]||(w[b]=M.call(u));w=fe(w)}m.apply(u,w),p&&!a&&w.length>0&&g+n.length>1&&_.uniqueSort(u)}return p&&(y=S,r=D),x};return o?te(a):a}(a,i)),s.selector=e}return s}function ye(e,r,n,o){var i,a,s,l,c,u="function"==typeof e&&e,p=!o&&ue(e=u.selector||e);if(n=n||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&d&&t.relative[a[1].type]){if(!(r=(t.find.ID(s.matches[0].replace(V,X),r)||[])[0]))return n;u&&(r=r.parentNode),e=e.slice(a.shift().value.length)}for(i=W.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(V,X),J.test(a[0].type)&&se(r.parentNode)||r))){if(a.splice(i,1),!(e=o.length&&de(a)))return m.apply(n,o),n;break}}return(u||ge(e,p))(o,r,!d,n,!r||J.test(e)&&se(r.parentNode)||r),n}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,v.sortStable=g.split("").sort(S).join("")===g,le(),v.sortDetached=re(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),_.find=Q,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Q.compile=ge,Q.select=ye,Q.setDocument=le,Q.tokenize=ue,Q.escape=_.escapeSelector,Q.getText=_.text,Q.isXML=_.isXMLDoc,Q.selectors=_.expr,Q.support=_.support,Q.uniqueSort=_.uniqueSort}();var R=function(e,t,r){for(var n=[],o=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&_(e).is(r))break;n.push(e)}return n},L=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},H=_.expr.match.needsContext,$=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,r){return g(t)?_.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?_.grep(e,function(e){return e===t!==r}):"string"!=typeof t?_.grep(e,function(e){return u.call(t,e)>-1!==r}):_.filter(t,e,r)}_.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?_.find.matchesSelector(n,e)?[n]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType}))},_.fn.extend({find:function(e){var t,r,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<n;t++)if(_.contains(o[t],this))return!0}));for(r=this.pushStack([]),t=0;t<n;t++)_.find(e,o[t],r);return n>1?_.uniqueSort(r):r},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&H.test(e)?_(e):e||[],!1).length}});var z,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||z,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),$.test(n[1])&&_.isPlainObject(t))for(n in t)g(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=b.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==r.ready?r.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,z=_(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function G(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),r=t.length;return this.filter(function(){for(var e=0;e<r;e++)if(_.contains(this,t[e]))return!0})},closest:function(e,t){var r,n=0,o=this.length,i=[],a="string"!=typeof e&&_(e);if(!H.test(e))for(;n<o;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&_.find.matchesSelector(r,e))){i.push(r);break}return this.pushStack(i.length>1?_.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(_(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return R(e,"parentNode")},parentsUntil:function(e,t,r){return R(e,"parentNode",r)},next:function(e){return G(e,"nextSibling")},prev:function(e){return G(e,"previousSibling")},nextAll:function(e){return R(e,"nextSibling")},prevAll:function(e){return R(e,"previousSibling")},nextUntil:function(e,t,r){return R(e,"nextSibling",r)},prevUntil:function(e,t,r){return R(e,"previousSibling",r)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},function(e,t){_.fn[e]=function(r,n){var o=_.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(o=_.filter(n,o)),this.length>1&&(U[e]||_.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}});var Y=/[^\x20\t\r\n\f]+/g;function J(e){return e}function V(e){throw e}function X(e,t,r,n){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(r):e&&g(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(Y)||[],function(e,r){t[r]=!0}),t}(e):_.extend({},e);var t,r,n,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<i.length;)!1===i[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=i.length,r=!1);e.memory||(r=!1),t=!1,o&&(i=r?[]:"")},c={add:function(){return i&&(r&&!t&&(s=i.length-1,a.push(r)),function t(r){_.each(r,function(r,n){g(n)?e.unique&&c.has(n)||i.push(n):n&&n.length&&"string"!==D(n)&&t(n)})}(arguments),r&&!t&&l()),this},remove:function(){return _.each(arguments,function(e,t){for(var r;(r=_.inArray(t,i,r))>-1;)i.splice(r,1),r<=s&&s--}),this},has:function(e){return e?_.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=r="",this},disabled:function(){return!i},lock:function(){return o=a=[],r||t||(i=r=""),this},locked:function(){return!!o},fireWith:function(e,r){return o||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return _.Deferred(function(r){_.each(t,function(t,n){var o=g(e[n[4]])&&e[n[4]];i[n[1]](function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,g(c)?o?c.call(n,a(i,t,J,o),a(i,t,V,o)):(i++,c.call(n,a(i,t,J,o),a(i,t,V,o),a(i,t,J,t.notifyWith))):(r!==J&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(n){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(n,u.error),e+1>=i&&(r!==V&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(_.Deferred.getErrorHook?u.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(u.error=_.Deferred.getStackHook()),n.setTimeout(u))}}return _.Deferred(function(n){t[0][3].add(a(0,n,g(o)?o:J,n.notifyWith)),t[1][3].add(a(0,n,g(e)?e:J)),t[2][3].add(a(0,n,g(r)?r:V))}).promise()},promise:function(e){return null!=e?_.extend(e,o):o}},i={};return _.each(t,function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,r=t,n=Array(r),o=s.call(arguments),i=_.Deferred(),a=function(e){return function(r){n[e]=this,o[e]=arguments.length>1?s.call(arguments):r,--t||i.resolveWith(n,o)}};if(t<=1&&(X(e,i.done(a(r)).resolve,i.reject,!t),"pending"===i.state()||g(o[r]&&o[r].then)))return i.then();for(;r--;)X(o[r],a(r),i.reject);return i.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&K.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){n.setTimeout(function(){throw e})};var Z=_.Deferred();function Q(){b.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),_.ready()}_.fn.ready=function(e){return Z.then(e).catch(function(e){_.readyException(e)}),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||Z.resolveWith(b,[_]))}}),_.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(_.ready):(b.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var ee=function(e,t,r,n,o,i,a){var s=0,l=e.length,c=null==r;if("object"===D(r))for(s in o=!0,r)ee(e,t,s,r[s],!0,i,a);else if(void 0!==n&&(o=!0,g(n)||(a=!0),c&&(a?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(_(e),r)})),t))for(;s<l;s++)t(e[s],r,a?n:n.call(e[s],s,t(e[s],r)));return o?e:c?t.call(e):l?t(e[0],r):i},te=/^-ms-/,re=/-([a-z])/g;function ne(e,t){return t.toUpperCase()}function oe(e){return e.replace(te,"ms-").replace(re,ne)}var ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ae(){this.expando=_.expando+ae.uid++}ae.uid=1,ae.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,o=this.cache(e);if("string"==typeof t)o[oe(t)]=r;else for(n in t)o[oe(n)]=t[n];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][oe(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(oe):(t=oe(t))in n?[t]:t.match(Y)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||_.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var se=new ae,le=new ae,ce=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ue=/[A-Z]/g;function de(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(ue,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ce.test(e)?JSON.parse(e):e)}(r)}catch(e){}le.set(e,t,r)}else r=void 0;return r}_.extend({hasData:function(e){return le.hasData(e)||se.hasData(e)},data:function(e,t,r){return le.access(e,t,r)},removeData:function(e,t){le.remove(e,t)},_data:function(e,t,r){return se.access(e,t,r)},_removeData:function(e,t){se.remove(e,t)}}),_.fn.extend({data:function(e,t){var r,n,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=le.get(i),1===i.nodeType&&!se.get(i,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=oe(n.slice(5)),de(i,n,o[n]));se.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){le.set(this,e)}):ee(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=le.get(i,e))||void 0!==(r=de(i,e))?r:void 0;this.each(function(){le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){le.remove(this,e)})}}),_.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=se.get(e,t),r&&(!n||Array.isArray(r)?n=se.access(e,t,_.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=_.queue(e,t),n=r.length,o=r.shift(),i=_._queueHooks(e,t);"inprogress"===o&&(o=r.shift(),n--),o&&("fx"===t&&r.unshift("inprogress"),delete i.stop,o.call(e,function(){_.dequeue(e,t)},i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return se.get(e,r)||se.access(e,r,{empty:_.Callbacks("once memory").add(function(){se.remove(e,[t+"queue",r])})})}}),_.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?_.queue(this[0],e):void 0===t?this:this.each(function(){var r=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&_.dequeue(this,e)})},dequeue:function(e){return this.each(function(){_.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,o=_.Deferred(),i=this,a=this.length,s=function(){--n||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=se.get(i[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),o.promise(t)}});var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ve=function(e){return _.contains(e.ownerDocument,e)},ge={composed:!0};me.getRootNode&&(ve=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(ge)===e.ownerDocument});var ye=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ve(e)&&"none"===_.css(e,"display")};function be(e,t,r,n){var o,i,a=20,s=n?function(){return n.cur()}:function(){return _.css(e,t,"")},l=s(),c=r&&r[3]||(_.cssNumber[t]?"":"px"),u=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+l)&&he.exec(_.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)_.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,_.style(e,t,u+c),r=r||[]}return r&&(u=+u||+l||0,o=r[1]?u+(r[1]+1)*r[2]:+r[2],n&&(n.unit=c,n.start=u,n.end=o)),o}var xe={};function we(e){var t,r=e.ownerDocument,n=e.nodeName,o=xe[n];return o||(t=r.body.appendChild(r.createElement(n)),o=_.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[n]=o,o)}function De(e,t){for(var r,n,o=[],i=0,a=e.length;i<a;i++)(n=e[i]).style&&(r=n.style.display,t?("none"===r&&(o[i]=se.get(n,"display")||null,o[i]||(n.style.display="")),""===n.style.display&&ye(n)&&(o[i]=we(n))):"none"!==r&&(o[i]="none",se.set(n,"display",r)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}_.fn.extend({show:function(){return De(this,!0)},hide:function(){return De(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ye(this)?_(this).show():_(this).hide()})}});var Ce,Se,_e=/^(?:checkbox|radio)$/i,ke=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Pe=/^$|^module$|\/(?:java|ecma)script/i;Ce=b.createDocumentFragment().appendChild(b.createElement("div")),(Se=b.createElement("input")).setAttribute("type","radio"),Se.setAttribute("checked","checked"),Se.setAttribute("name","t"),Ce.appendChild(Se),v.checkClone=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="<option></option>",v.option=!!Ce.lastChild;var Me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Te(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?_.merge([e],r):r}function je(e,t){for(var r=0,n=e.length;r<n;r++)se.set(e[r],"globalEval",!t||se.get(t[r],"globalEval"))}Me.tbody=Me.tfoot=Me.colgroup=Me.caption=Me.thead,Me.th=Me.td,v.option||(Me.optgroup=Me.option=[1,"<select multiple='multiple'>","</select>"]);var Ee=/<|&#?\w+;/;function Ae(e,t,r,n,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((i=e[h])||0===i)if("object"===D(i))_.merge(p,i.nodeType?[i]:i);else if(Ee.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ke.exec(i)||["",""])[1].toLowerCase(),l=Me[s]||Me._default,a.innerHTML=l[1]+_.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;_.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",h=0;i=p[h++];)if(n&&_.inArray(i,n)>-1)o&&o.push(i);else if(c=ve(i),a=Te(d.appendChild(i),"script"),c&&je(a),r)for(u=0;i=a[u++];)Pe.test(i.type||"")&&r.push(i);return d}var Oe=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function Be(){return!1}function qe(e,t,r,n,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)qe(e,s,r,n,t[s],i);return e}if(null==n&&null==o?(o=r,n=r=void 0):null==o&&("string"==typeof r?(o=n,n=void 0):(o=n,n=r,r=void 0)),!1===o)o=Be;else if(!o)return e;return 1===i&&(a=o,o=function(e){return _().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=_.guid++)),e.each(function(){_.event.add(this,t,o,n,r)})}function Re(e,t,r){r?(se.set(e,t,!1),_.event.add(e,t,{namespace:!1,handler:function(e){var r,n=se.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(_.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=s.call(arguments),se.set(this,t,n),this[t](),r=se.get(this,t),se.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(se.set(this,t,_.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===se.get(e,t)&&_.event.add(e,t,Ne)}_.event={global:{},add:function(e,t,r,n,o){var i,a,s,l,c,u,d,p,h,f,m,v=se.get(e);if(ie(e))for(r.handler&&(r=(i=r).handler,o=i.selector),o&&_.find.matchesSelector(me,o),r.guid||(r.guid=_.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Y)||[""]).length;c--;)h=m=(s=Oe.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h&&(d=_.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=_.event.special[h]||{},u=_.extend({type:h,origType:m,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&_.expr.match.needsContext.test(o),namespace:f.join(".")},i),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,f,a)||e.addEventListener&&e.addEventListener(h,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),_.event.global[h]=!0)},remove:function(e,t,r,n,o){var i,a,s,l,c,u,d,p,h,f,m,v=se.hasData(e)&&se.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(Y)||[""]).length;c--;)if(h=m=(s=Oe.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),h){for(d=_.event.special[h]||{},p=l[h=(n?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)u=p[i],!o&&m!==u.origType||r&&r.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,v.handle)||_.removeEvent(e,h,v.handle),delete l[h])}else for(h in l)_.event.remove(e,h+t[c],r,n,!0);_.isEmptyObject(l)&&se.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,i,a,s=new Array(arguments.length),l=_.event.fix(e),c=(se.get(this,"events")||Object.create(null))[l.type]||[],u=_.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=_.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(n=((_.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},r=0;r<l;r++)void 0===a[o=(n=t[r]).selector+" "]&&(a[o]=n.needsContext?_(o,this).index(c)>-1:_.find(o,this,null,[c]).length),a[o]&&i.push(n);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return _e.test(t.type)&&t.click&&P(t,"input")&&Re(t,"click",!0),!1},trigger:function(e){var t=this||e;return _e.test(t.type)&&t.click&&P(t,"input")&&Re(t,"click"),!0},_default:function(e){var t=e.target;return _e.test(t.type)&&t.click&&P(t,"input")&&se.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:Be,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Be,isPropagationStopped:Be,isImmediatePropagationStopped:Be,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(e,t){function r(e){if(b.documentMode){var r=se.get(this,"handle"),n=_.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else _.event.simulate(t,e.target,_.event.fix(e))}_.event.special[e]={setup:function(){var n;if(Re(this,e,!0),!b.documentMode)return!1;(n=se.get(this,t))||this.addEventListener(t,r),se.set(this,t,(n||0)+1)},trigger:function(){return Re(this,e),!0},teardown:function(){var e;if(!b.documentMode)return!1;(e=se.get(this,t)-1)?se.set(this,t,e):(this.removeEventListener(t,r),se.remove(this,t))},_default:function(t){return se.get(t.target,e)},delegateType:t},_.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t);i||(b.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),se.set(o,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=b.documentMode?this:n,i=se.get(o,t)-1;i?se.set(o,t,i):(b.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),se.remove(o,t))}}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,o=e.handleObj;return n&&(n===this||_.contains(this,n))||(e.type=o.origType,r=o.handler.apply(this,arguments),e.type=t),r}}}),_.fn.extend({on:function(e,t,r,n){return qe(this,e,t,r,n)},one:function(e,t,r,n){return qe(this,e,t,r,n,1)},off:function(e,t,r){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,_(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Be),this.each(function(){_.event.remove(this,e,r,t)})}});var Le=/<script|<style|<link/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ie(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function ze(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var r,n,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(r=0,n=s[o].length;r<n;r++)_.event.add(t,o,s[o][r]);le.hasData(e)&&(i=le.access(e),a=_.extend({},i),le.set(t,a))}}function Ue(e,t){var r=t.nodeName.toLowerCase();"input"===r&&_e.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function Ge(e,t,r,n){t=l(t);var o,i,a,s,c,u,d=0,p=e.length,h=p-1,f=t[0],m=g(f);if(m||p>1&&"string"==typeof f&&!v.checkClone&&He.test(f))return e.each(function(o){var i=e.eq(o);m&&(t[0]=f.call(this,o,i.html())),Ge(i,t,r,n)});if(p&&(i=(o=Ae(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=i),i||n)){for(s=(a=_.map(Te(o,"script"),ze)).length;d<p;d++)c=o,d!==h&&(c=_.clone(c,!0,!0),s&&_.merge(a,Te(c,"script"))),r.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,_.map(a,Fe),d=0;d<s;d++)c=a[d],Pe.test(c.type||"")&&!se.access(c,"globalEval")&&_.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace($e,""),c,u))}return e}function Ye(e,t,r){for(var n,o=t?_.filter(t,e):e,i=0;null!=(n=o[i]);i++)r||1!==n.nodeType||_.cleanData(Te(n)),n.parentNode&&(r&&ve(n)&&je(Te(n,"script")),n.parentNode.removeChild(n));return e}_.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,o,i,a,s=e.cloneNode(!0),l=ve(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=Te(s),n=0,o=(i=Te(e)).length;n<o;n++)Ue(i[n],a[n]);if(t)if(r)for(i=i||Te(e),a=a||Te(s),n=0,o=i.length;n<o;n++)We(i[n],a[n]);else We(e,s);return(a=Te(s,"script")).length>0&&je(a,!l&&Te(e,"script")),s},cleanData:function(e){for(var t,r,n,o=_.event.special,i=0;void 0!==(r=e[i]);i++)if(ie(r)){if(t=r[se.expando]){if(t.events)for(n in t.events)o[n]?_.event.remove(r,n):_.removeEvent(r,n,t.handle);r[se.expando]=void 0}r[le.expando]&&(r[le.expando]=void 0)}}}),_.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return ee(this,function(e){return void 0===e?_.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ge(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)})},prepend:function(){return Ge(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(_.cleanData(Te(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t)})},html:function(e){return ee(this,function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!Me[(ke.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(_.cleanData(Te(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ge(this,arguments,function(t){var r=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(Te(this)),r&&r.replaceChild(t,this))},e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){_.fn[e]=function(e){for(var r,n=[],o=_(e),i=o.length-1,a=0;a<=i;a++)r=a===i?this:this.clone(!0),_(o[a])[t](r),c.apply(n,r.get());return this.pushStack(n)}});var Je=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Ve=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ke=function(e,t,r){var n,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in n=r.call(e),t)e.style[o]=i[o];return n},Ze=new RegExp(fe.join("|"),"i");function Qe(e,t,r){var n,o,i,a,s=Ve.test(t),l=e.style;return(r=r||Xe(e))&&(a=r.getPropertyValue(t)||r[t],s&&a&&(a=a.replace(A,"$1")||void 0),""!==a||ve(e)||(a=_.style(e,t)),!v.pixelBoxStyles()&&Je.test(a)&&Ze.test(t)&&(n=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=r.width,l.width=n,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function et(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),me.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",me.appendChild(e).appendChild(t).appendChild(r),o=n.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),s}}))}();var tt=["Webkit","Moz","ms"],rt=b.createElement("div").style,nt={};function ot(e){return _.cssProps[e]||nt[e]||(e in rt?e:nt[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=tt.length;r--;)if((e=tt[r]+t)in rt)return e}(e)||e)}var it=/^(none|table(?!-c[ea]).+)/,at={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function lt(e,t,r){var n=he.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ct(e,t,r,n,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(c+=_.css(e,r+fe[a],!0,o)),n?("content"===r&&(l-=_.css(e,"padding"+fe[a],!0,o)),"margin"!==r&&(l-=_.css(e,"border"+fe[a]+"Width",!0,o))):(l+=_.css(e,"padding"+fe[a],!0,o),"padding"!==r?l+=_.css(e,"border"+fe[a]+"Width",!0,o):s+=_.css(e,"border"+fe[a]+"Width",!0,o));return!n&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function ut(e,t,r){var n=Xe(e),o=(!v.boxSizingReliable()||r)&&"border-box"===_.css(e,"boxSizing",!1,n),i=o,a=Qe(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(Je.test(a)){if(!r)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&P(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===_.css(e,"boxSizing",!1,n),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ct(e,t,r||(o?"border":"content"),i,n,a)+"px"}function dt(e,t,r,n,o){return new dt.prototype.init(e,t,r,n,o)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Qe(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),l=Ve.test(t),c=e.style;if(l||(t=ot(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(o=a.get(e,!1,n))?o:c[t];"string"==(i=typeof r)&&(o=he.exec(r))&&o[1]&&(r=be(e,t,o),i="number"),null!=r&&r==r&&("number"!==i||l||(r+=o&&o[3]||(_.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(l?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,n){var o,i,a,s=oe(t);return Ve.test(t)||(t=ot(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,r)),void 0===o&&(o=Qe(e,t,n)),"normal"===o&&t in st&&(o=st[t]),""===r||r?(i=parseFloat(o),!0===r||isFinite(i)?i||0:o):o}}),_.each(["height","width"],function(e,t){_.cssHooks[t]={get:function(e,r,n){if(r)return!it.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,n):Ke(e,at,function(){return ut(e,t,n)})},set:function(e,r,n){var o,i=Xe(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||n)&&"border-box"===_.css(e,"boxSizing",!1,i),l=n?ct(e,t,n,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,"border",!1,i)-.5)),l&&(o=he.exec(r))&&"px"!==(o[3]||"px")&&(e.style[t]=r,r=_.css(e,t)),lt(0,r,l)}}}),_.cssHooks.marginLeft=et(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(e,t){_.cssHooks[e+t]={expand:function(r){for(var n=0,o={},i="string"==typeof r?r.split(" "):[r];n<4;n++)o[e+fe[n]+t]=i[n]||i[n-2]||i[0];return o}},"margin"!==e&&(_.cssHooks[e+t].set=lt)}),_.fn.extend({css:function(e,t){return ee(this,function(e,t,r){var n,o,i={},a=0;if(Array.isArray(t)){for(n=Xe(e),o=t.length;a<o;a++)i[t[a]]=_.css(e,t[a],!1,n);return i}return void 0!==r?_.style(e,t,r):_.css(e,t)},e,t,arguments.length>1)}}),_.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,r,n,o,i){this.elem=e,this.prop=r,this.easing=o||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(_.cssNumber[r]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,r=dt.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=dt.prototype.init,_.fx.step={};var pt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function vt(){ht&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(vt):n.setTimeout(vt,_.fx.interval),_.fx.tick())}function gt(){return n.setTimeout(function(){pt=void 0}),pt=Date.now()}function yt(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(r=fe[n])]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function bt(e,t,r){for(var n,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(n=o[i].call(r,t,e))return n}function xt(e,t,r){var n,o,i=0,a=xt.prefilters.length,s=_.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=pt||gt(),r=Math.max(0,c.startTime+c.duration-t),n=1-(r/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return s.notifyWith(e,[c,n,r]),n<1&&a?r:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},r),originalProperties:t,originalOptions:r,startTime:pt||gt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=_.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;r<n;r++)c.tweens[r].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var r,n,o,i,a;for(r in e)if(o=t[n=oe(r)],i=e[r],Array.isArray(i)&&(o=i[1],i=e[r]=i[0]),r!==n&&(e[n]=i,delete e[r]),(a=_.cssHooks[n])&&"expand"in a)for(r in i=a.expand(i),delete e[n],i)r in e||(e[r]=i[r],t[r]=o);else t[n]=o}(u,c.opts.specialEasing);i<a;i++)if(n=xt.prefilters[i].call(c,e,u,c.opts))return g(n.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return _.map(u,bt,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(xt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return be(r.elem,e,he.exec(t),r),r}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(Y);for(var r,n=0,o=e.length;n<o;n++)r=e[n],xt.tweeners[r]=xt.tweeners[r]||[],xt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,o,i,a,s,l,c,u,d="width"in t||"height"in t,p=this,h={},f=e.style,m=e.nodeType&&ye(e),v=se.get(e,"fxshow");for(n in r.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[n],ft.test(o)){if(delete t[n],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[n])continue;m=!0}h[n]=v&&v[n]||_.style(e,n)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(h))for(n in d&&1===e.nodeType&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=v&&v.display)&&(c=se.get(e,"display")),"none"===(u=_.css(e,"display"))&&(c?u=c:(De([e],!0),c=e.style.display||c,u=_.css(e,"display"),De([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===_.css(e,"float")&&(l||(p.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),r.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.overflow[2]})),l=!1,h)l||(v?"hidden"in v&&(m=v.hidden):v=se.access(e,"fxshow",{display:c}),i&&(v.hidden=!m),m&&De([e],!0),p.done(function(){for(n in m||De([e]),se.remove(e,"fxshow"),h)_.style(e,n,h[n])})),l=bt(m?v[n]:0,n,p),n in v||(v[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),_.speed=function(e,t,r){var n=e&&"object"==typeof e?_.extend({},e):{complete:r||!r&&t||g(e)&&e,duration:e,easing:r&&t||t&&!g(t)&&t};return _.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in _.fx.speeds?n.duration=_.fx.speeds[n.duration]:n.duration=_.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){g(n.old)&&n.old.call(this),n.queue&&_.dequeue(this,n.queue)},n},_.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var o=_.isEmptyObject(e),i=_.speed(t,r,n),a=function(){var t=xt(this,_.extend({},e),i);(o||se.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=_.timers,a=se.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&mt.test(o)&&n(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(r),t=!1,i.splice(o,1));!t&&r||_.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,r=se.get(this),n=r[e+"queue"],o=r[e+"queueHooks"],i=_.timers,a=n?n.length:0;for(r.finish=!0,_.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish})}}),_.each(["toggle","show","hide"],function(e,t){var r=_.fn[t];_.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(yt(t,!0),e,n,o)}}),_.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){_.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}}),_.timers=[],_.fx.tick=function(){var e,t=0,r=_.timers;for(pt=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||_.fx.stop(),pt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){ht||(ht=!0,vt())},_.fx.stop=function(){ht=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var wt,Dt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return ee(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e)})}}),_.extend({attr:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?_.prop(e,t,r):(1===i&&_.isXMLDoc(e)||(o=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?wt:void 0)),void 0!==r?null===r?void _.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:(e.setAttribute(t,r+""),r):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=_.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&P(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(Y);if(o&&1===e.nodeType)for(;r=o[n++];)e.removeAttribute(r)}}),wt={set:function(e,t,r){return!1===t?_.removeAttr(e,r):e.setAttribute(r,r),r}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var r=Dt[t]||_.find.attr;Dt[t]=function(e,t,n){var o,i,a=t.toLowerCase();return n||(i=Dt[a],Dt[a]=o,o=null!=r(e,t,n)?a:null,Dt[a]=i),o}});var Ct=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function _t(e){return(e.match(Y)||[]).join(" ")}function kt(e){return e.getAttribute&&e.getAttribute("class")||""}function Pt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Y)||[]}_.fn.extend({prop:function(e,t){return ee(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[_.propFix[e]||e]})}}),_.extend({prop:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_.isXMLDoc(e)||(t=_.propFix[t]||t,o=_.propHooks[t]),void 0!==r?o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:e[t]=r:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),_.fn.extend({addClass:function(e){var t,r,n,o,i,a;return g(e)?this.each(function(t){_(this).addClass(e.call(this,t,kt(this)))}):(t=Pt(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+_t(n)+" "){for(i=0;i<t.length;i++)o=t[i],r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=_t(r),n!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,r,n,o,i,a;return g(e)?this.each(function(t){_(this).removeClass(e.call(this,t,kt(this)))}):arguments.length?(t=Pt(e)).length?this.each(function(){if(n=kt(this),r=1===this.nodeType&&" "+_t(n)+" "){for(i=0;i<t.length;i++)for(o=t[i];r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=_t(r),n!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var r,n,o,i,a=typeof e,s="string"===a||Array.isArray(e);return g(e)?this.each(function(r){_(this).toggleClass(e.call(this,r,kt(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(r=Pt(e),this.each(function(){if(s)for(i=_(this),o=0;o<r.length;o++)n=r[o],i.hasClass(n)?i.removeClass(n):i.addClass(n);else void 0!==e&&"boolean"!==a||((n=kt(this))&&se.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":se.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+_t(kt(r))+" ").indexOf(t)>-1)return!0;return!1}});var Mt=/\r/g;_.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=g(e),this.each(function(r){var o;1===this.nodeType&&(null==(o=n?e.call(this,r,_(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=_.map(o,function(e){return null==e?"":e+""})),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=_.valHooks[o.type]||_.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(o,"value"))?r:"string"==typeof(r=o.value)?r.replace(Mt,""):null==r?"":r:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:_t(_.text(e))}},select:{get:function(e){var t,r,n,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(n=i<0?l:a?i:0;n<l;n++)if(((r=o[n]).selected||n===i)&&!r.disabled&&(!r.parentNode.disabled||!P(r.parentNode,"optgroup"))){if(t=_(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,o=e.options,i=_.makeArray(t),a=o.length;a--;)((n=o[a]).selected=_.inArray(_.valHooks.option.get(n),i)>-1)&&(r=!0);return r||(e.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tt=n.location,jt={guid:Date.now()},Et=/\?/;_.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||_.error("Invalid XML: "+(r?_.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var At=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,r,o){var i,a,s,l,c,u,d,p,f=[r||b],m=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!At.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:_.makeArray(t,[e]),d=_.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(r,t))){if(!o&&!d.noBubble&&!y(r)){for(l=d.delegateType||m,At.test(l+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?l:d.bindType||m,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!ie(r)||c&&g(r[m])&&!y(r)&&((s=r[c])&&(r[c]=null),_.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Ot),r[m](),e.isPropagationStopped()&&p.removeEventListener(m,Ot),_.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,r){var n=_.extend(new _.Event,r,{type:e,isSimulated:!0});_.event.trigger(n,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return _.event.trigger(e,t,r,!0)}});var Nt=/\[\]$/,Bt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,r,n){var o;if(Array.isArray(t))_.each(t,function(t,o){r||Nt.test(e)?n(e,o):Lt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,r,n)});else if(r||"object"!==D(t))n(e,t);else for(o in t)Lt(e+"["+o+"]",t[o],r,n)}_.param=function(e,t){var r,n=[],o=function(e,t){var r=g(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){o(this.name,this.value)});else for(r in e)Lt(r,e[r],t,o);return n.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Rt.test(this.nodeName)&&!qt.test(e)&&(this.checked||!_e.test(e))}).map(function(e,t){var r=_(this).val();return null==r?null:Array.isArray(r)?_.map(r,function(e){return{name:t.name,value:e.replace(Bt,"\r\n")}}):{name:t.name,value:r.replace(Bt,"\r\n")}}).get()}});var Ht=/%20/g,$t=/#.*$/,It=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ut={},Gt={},Yt="*/".concat("*"),Jt=b.createElement("a");function Vt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,o=0,i=t.toLowerCase().match(Y)||[];if(g(r))for(;n=i[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Xt(e,t,r,n){var o={},i=e===Gt;function a(s){var l;return o[s]=!0,_.each(e[s]||[],function(e,s){var c=s(t,r,n);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Kt(e,t){var r,n,o=_.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&_.extend(!0,e,n),e}Jt.href=Tt.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Yt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,_.ajaxSettings),t):Kt(_.ajaxSettings,e)},ajaxPrefilter:Vt(Ut),ajaxTransport:Vt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,s,l,c,u,d,p,h=_.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?_(f):_.event,v=_.Deferred(),g=_.Callbacks("once memory"),y=h.statusCode||{},x={},w={},D="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=zt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||D;return r&&r.abort(t),S(0,t),this}};if(v.promise(C),h.url=((e||h.url||Tt.href)+"").replace(Wt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Y)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Jt.protocol+"//"+Jt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=_.param(h.data,h.traditional)),Xt(Ut,h,t,C),c)return C;for(d in(u=_.event&&h.global)&&0===_.active++&&_.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),o=h.url.replace($t,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ht,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(It,"$1"),p=(Et.test(o)?"&":"?")+"_="+jt.guid+++p),h.url=o+p),h.ifModified&&(_.lastModified[o]&&C.setRequestHeader("If-Modified-Since",_.lastModified[o]),_.etag[o]&&C.setRequestHeader("If-None-Match",_.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Yt+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,C,h)||c))return C.abort();if(D="abort",g.add(h.complete),C.done(h.success),C.fail(h.error),r=Xt(Gt,h,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(s=n.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,r.send(x,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var d,p,b,x,w,D=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,r){for(var n,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in r)i=l[0];else{for(o in r){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),r[i]}(h,C,a)),!d&&_.inArray("script",h.dataTypes)>-1&&_.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,r,n){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(r[e.responseFields[i]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(h,x,C,d),d?(h.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(_.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(_.etag[o]=w)),204===e||"HEAD"===h.type?D="nocontent":304===e?D="notmodified":(D=x.state,p=x.data,d=!(b=x.error))):(b=D,!e&&D||(D="error",e<0&&(e=0))),C.status=e,C.statusText=(t||D)+"",d?v.resolveWith(f,[p,D,C]):v.rejectWith(f,[C,D,b]),C.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,h,d?p:b]),g.fireWith(f,[C,D]),u&&(m.trigger("ajaxComplete",[C,h]),--_.active||_.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,r){return _.get(e,t,r,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],function(e,t){_[t]=function(e,r,n,o){return g(r)&&(o=o||n,n=r,r=void 0),_.ajax(_.extend({url:e,type:t,dataType:o,data:r,success:n},_.isPlainObject(e)&&e))}}),_.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),_._evalUrl=function(e,t,r){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t,r)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){_(this).wrapInner(e.call(this,t))}):this.each(function(){var t=_(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(r){_(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Qt=_.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,_.ajaxTransport(function(e){var t,r;if(v.cors||Qt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),_.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return _.globalEval(e),e}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),_.ajaxTransport("script",function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=_("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){r&&r()}}});var er,tr=[],rr=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tr.pop()||_.expando+"_"+jt.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(rr.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&rr.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rr,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||_.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?_(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,tr.push(o)),a&&g(i)&&i(a[0]),a=i=void 0}),"script"}),v.createHTMLDocument=((er=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===er.childNodes.length),_.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(v.createHTMLDocument?((n=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(n)):t=b),i=!r&&[],(o=$.exec(e))?[t.createElement(o[1])]:(o=Ae([e],t,i),i&&i.length&&_(i).remove(),_.merge([],o.childNodes)));var n,o,i},_.fn.load=function(e,t,r){var n,o,i,a=this,s=e.indexOf(" ");return s>-1&&(n=_t(e.slice(s)),e=e.slice(0,s)),g(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&_.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(n?_("<div>").append(_.parseHTML(e)).find(n):e)}).always(r&&function(e,t){a.each(function(){r.apply(this,i||[e.responseText,t,e])})}),this},_.expr.pseudos.animated=function(e){return _.grep(_.timers,function(t){return e===t.elem}).length},_.offset={setOffset:function(e,t,r){var n,o,i,a,s,l,c=_.css(e,"position"),u=_(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(n=u.position()).top,o=n.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,r,_.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){_.offset.setOffset(this,e,t)});var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],o={top:0,left:0};if("fixed"===_.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),o.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-_.css(n,"marginTop",!0),left:t.left-o.left-_.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||me})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;_.fn[e]=function(n){return ee(this,function(e,n,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(r?i.pageXOffset:o,r?o:i.pageYOffset):e[n]=o},e,n,arguments.length)}}),_.each(["top","left"],function(e,t){_.cssHooks[t]=et(v.pixelPosition,function(e,r){if(r)return r=Qe(e,t),Je.test(r)?_(e).position()[t]+"px":r})}),_.each({Height:"height",Width:"width"},function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},function(r,n){_.fn[n]=function(o,i){var a=arguments.length&&(r||"boolean"!=typeof o),s=r||(!0===o||!0===i?"margin":"border");return ee(this,function(t,r,o){var i;return y(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?_.css(t,r,s):_.style(t,r,o,s)},t,a?o:void 0,a)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e)}}),_.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){_.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}});var nr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(e,t){var r,n,o;if("string"==typeof t&&(r=e[t],t=e,e=r),g(e))return n=s.call(arguments,2),o=function(){return e.apply(t||this,n.concat(s.call(arguments)))},o.guid=e.guid=e.guid||_.guid++,o},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=P,_.isFunction=g,_.isWindow=y,_.camelCase=oe,_.type=D,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_.trim=function(e){return null==e?"":(e+"").replace(nr,"$1")},void 0===(r=function(){return _}.apply(t,[]))||(e.exports=r);var or=n.jQuery,ir=n.$;return _.noConflict=function(e){return n.$===_&&(n.$=ir),e&&n.jQuery===_&&(n.jQuery=or),_},void 0===o&&(n.jQuery=n.$=_),_})},4725:function(e,t,r){var n,o,i;e.exports=(n=r(9021),i=(o=n).lib.WordArray,o.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,l=0;l<4&&a+.75*l<n;l++)i.push(o.charAt(s>>>6*(3-l)&63));var c=o.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<n.length;a++)o[n.charCodeAt(a)]=a}var s=n.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return function(e,t,r){for(var n=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;n[o>>>2]|=s<<24-o%4*8,o++}return i.create(n,o)}(e,r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},n.enc.Base64url)},4787:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3party","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},4855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={fitScale:(e,t=1,r=!1)=>{addEventListener("resize",n=>{dphelper.element.scaleBasedOnWindow(e,t,r)})},scaleBasedOnWindow:(e,t,r)=>{if(!e)return;const n=$(e),o=n.width()||1,i=n.height()||1;r?n.css("transform","scale("+t/Math.max(o/window.innerWidth,i/window.innerHeight)+")"):n.css("transform","scale("+t/Math.min(o/window.innerWidth,i/window.innerHeight)+")")}};dphelper.setDescription({name:"element",active:!0,subCommand:[{name:"fitScale",version:"0.0.1",example:"dphelper.element.fitScale([el = 'root', scale = 1, fit = false])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Scales an element based on the window size.",subCommand:[]}]},r)},4905:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},5064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={serialize:function(e){const t=$(e),r={};if(!/[a-zA-Z][a-zA-Z0-9-_.]/.test(t.name))return;const n=(e,t)=>{let r=e[0];"]"==r.slice(-1)&&(r=r.slice(0,-1));const o={};return 1==e.length?o[r]=(e=>(""==e&&(e=null),"null"==e&&(e=null),"undefined"==e&&(e=void 0),"false"==e&&(e=Boolean(!1)),"true"==e&&(e=Boolean(!0)),"off"==e&&(e=Boolean(!1)),"on"==e&&(e=Boolean(!0)),"[]"==e&&(e=Array),"{}"==e&&(e=Object),0!==["null","undefined","false","true","on","off"].filter(t=>t.includes(e)).length||Number.isNaN(e)||(e=Number(e)),e))(t):(e.shift(),o[r]=n(e,t)),o};return $.each(t.serializeArray(),function(){const e=this.value,t=this.name.split("["),o=n(t,e);$.extend(!0,r,o)}),r},confirmType:(e,t)=>"number"===e?/^\d+$/.test(t.toString()):"email"!==e||/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.toString().toLowerCase()),required:e=>null==e?"Required":void 0,minLength:(e,t=1)=>!e||e.length<t?"Must Enter a Value":void 0,maxLength:(e,t=10)=>e.length>t?"Exceeds Max Length":void 0,maxPhoneNumber:(e,t=10)=>e.toString().length>t?"Exceeds Max Length":void 0,isNumeric:e=>!Number.isNaN(e),isEmail:e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e.toString().toLowerCase()),pattern:e=>{const t=e.target;if(!t.type||!t.value)return;let r;switch(t.type){case"text":case"password":r=/^[a-zA-Z 0-9.+\-$!@]*$/;break;case"email":r=/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})*$/;break;case"number":r=/^[0-9\-+]*$/;break;case"tel":r=/^[0-9\s()\-+]*$/;break;default:return}t.value.match(r)||(t.value=t.value.slice(0,-1),e.preventDefault())},noSpecialChars:e=>{const t=e.target,r=t.value.trim();r.length>2&&(t.value=r.replace(/[^\w\s]/gi,""))},table:(e=[7,24],t,r)=>{let n="";const o=e[0],i=e[1];n=`<form id='${t}'>`,n+="<div class='table'>",n+="<div class='title'>";for(let e=1;e<=o;e++)n+=`<span>${e}</span>`;n+="</div>";for(let e=1;e<=i;e++){n+=`<div class='row'><span>${e}</span>`;for(let t=1;t<=o;t++)n+=`<input name='data[${t}][${e}]' tabindex='${t.toString().padStart(2,"0")}${e.toString().padStart(2,"0")}' type='number' onclick="this.select()" value='${Math.floor(100*Math.random())}' title='${t} to ${e}' />`;n+="</div>"}n+="</div>",n+="</form>",$(r).html(n)},sanitize:e=>{if(e)return e.replace(/[^\w ]/g,"").replace(/[&/\\#, +()$~%.'":*?<>{}]/g,"")}};dphelper.setDescription({name:"form",active:!0,subCommand:[{name:"serialize",version:"0.0.1",example:"dphelper.form.serialize([form])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Serialize form data into an object.",subCommand:[]},{name:"confirmType",version:"0.0.1",example:"dphelper.form.confirmType([type, value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Confirm the type of a value.",subCommand:[]},{name:"required",version:"0.0.1",example:"dphelper.form.required([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a value is required.",subCommand:[]},{name:"minLength",version:"0.0.1",example:"dphelper.form.minLength([value, num = 1])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a value meets the minimum length.",subCommand:[]},{name:"maxLength",version:"0.0.1",example:"dphelper.form.maxLength([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a value exceeds the maximum length.",subCommand:[]},{name:"maxPhoneNumber",version:"0.0.1",example:"dphelper.form.maxPhoneNumber([value, num = 10])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a phone number exceeds the maximum length.",subCommand:[]},{name:"isNumeric",version:"0.0.1",example:"dphelper.form.isNumeric([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a value is numeric.",subCommand:[]},{name:"isEmail",version:"0.0.1",example:"dphelper.form.isEmail([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Validate an email format.",subCommand:[]},{name:"pattern",version:"0.0.1",example:"dphelper.form.pattern(event)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Pattern validation using onChange on inputs when you provide a pattern.",subCommand:[]},{name:"noSpecialChars",version:"0.0.1",example:"dphelper.form.noSpecialChars(event)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Avoid special characters in an input.",subCommand:[]},{name:"table",version:"0.0.1",example:"dphelper.form.table(size = [7, 24], id, elem)",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Generate a table (default 7x24).",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.form.sanitize(input)",author:"Dario Passariello",creationDate:"20240318",lastMod:"20240318",type:"function",active:!0,description:"Sanitize input value to avoid injection.",subCommand:[]}]},r)},5247:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.getTableSize=(e,t)=>new Promise((r,n)=>{if(null==e)return n();const o=event;let i=0;const a=(e=o.target.result).transaction([t]).objectStore(t).openCursor();a.onsuccess=function(e){const t=e.target.result;if(t){const e=t.value,r=JSON.stringify(e);i+=r.length,t.continue()}else r(i)}.bind(this),a.onerror=e=>n("error in "+t+": "+e)})},5334:(e,t,r)=>{var n={"./anchor/index.ts":775,"./array/index.ts":7091,"./audio/index.ts":5484,"./avoid/index.ts":8899,"./browser/index.ts":6338,"./check/index.ts":9250,"./color/index.ts":8965,"./cookie/index.ts":6648,"./coords/index.ts":8584,"./date/index.ts":7406,"./disable/index.ts":9622,"./dispatch/index.ts":2484,"./elements/index.ts":4855,"./events/index.ts":1175,"./form/index.ts":5064,"./format/index.ts":753,"./json/index.ts":3604,"./load/index.ts":9990,"./logging/index.ts":8735,"./math/index.ts":944,"./memory/index.ts":7585,"./objects/index.ts":6422,"./path/index.ts":2821,"./promise/index.ts":5807,"./sanitize/index.ts":6709,"./screen/index.ts":3054,"./scrollbar/index.ts":2240,"./security/index.ts":520,"./shortcut/index.ts":6932,"./socket/index.ts":9567,"./svg/index.ts":6048,"./system/index.ts":2167,"./text/index.ts":6117,"./timer/index.ts":6423,"./tools/index.ts":6233,"./translators/index.ts":9029,"./triggers/index.ts":547,"./types/index.ts":6359,"./ui/index.ts":2804,"./window/index.ts":1670};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=5334},5471:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(o=(n=u=r(9021)).lib,i=o.WordArray,a=o.Hasher,s=n.algo,l=[],c=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var d=(n<<5|n>>>27)+s+l[c];d+=c<20?1518500249+(o&i|~o&a):c<40?1859775393+(o^i^a):c<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,s=a,a=i,i=o<<30|o>>>2,o=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(c),n.HmacSHA1=a._createHmacHelper(c),u.SHA1)},5484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={play:(e,t="",r=!1)=>{if(e){if(!document.querySelector(`#audio_${e}`)){const n=document.createElement("audio");n.id="audio_"+e,n.src=t+e,n.loop=r,document.body.appendChild(n),n.load(),n.play().catch(e=>console.error("Error playing audio:",e))}}else document.querySelectorAll("audio").forEach(e=>e.remove())}};dphelper.setDescription({name:"audio",active:!0,subCommand:[{name:"play",version:"0.0.1",example:"dphelper.audio.play([audiofile])",description:"",author:"Dario Passariello",creationDate:"20240924",lastMod:"20240924",type:"function",active:!0,subCommand:[]}]},r)},5503:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o<r;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=o(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i<r;i++)n[i>>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},5807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={check:e=>e&&"[object Promise]"===Object.prototype.toString.call(e),resolve:async e=>dphelper.promise.check(e)?Promise.resolve(e):e};dphelper.setDescription({name:"promise",active:!0,subCommand:[{name:"check",version:"0.0.1",example:"dphelper.promise.check(promise)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Check if a value is a Promise.",subCommand:[]},{name:"resolve",version:"0.0.1",example:"dphelper.promise.resolve(data)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Resolve a value to a Promise.",subCommand:[]}]},r)},5815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),addEventListener("message",e=>{if(e.origin!==String(location.origin))return;if(e.source!==window)return;const t=e.data;"dpHelper"===t?.exec&&("state"===t?.tool&&"add"===t?.command?state[t?.name]=t?.value:"state"===t?.tool&&t?.command&&t?.name&&state[t?.command]([t?.name]),"store"===t?.tool&&"add"===t?.command?store.set(t?.name,t?.value):"store"===t?.tool&&t?.command&&t?.name&&store[t?.command]([t?.name]))})},5953:function(e,t,r){var n;e.exports=(n=r(9021),r(3240),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.x64.Word,s=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,d=0,p=0;p<7;p++){if(1&o){var h=(1<<p)-1;h<32?d^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var p=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=e[t+2*o],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(M=r[o]).high^=a,M.low^=i}for(var s=0;s<24;s++){for(var p=0;p<5;p++){for(var h=0,f=0,m=0;m<5;m++)h^=(M=r[p+5*m]).high,f^=M.low;var v=d[p];v.high=h,v.low=f}for(p=0;p<5;p++){var g=d[(p+4)%5],y=d[(p+1)%5],b=y.high,x=y.low;for(h=g.high^(b<<1|x>>>31),f=g.low^(x<<1|b>>>31),m=0;m<5;m++)(M=r[p+5*m]).high^=h,M.low^=f}for(var w=1;w<25;w++){var D=(M=r[w]).high,C=M.low,S=l[w];S<32?(h=D<<S|C>>>32-S,f=C<<S|D>>>32-S):(h=C<<S-32|D>>>64-S,f=D<<S-32|C>>>64-S);var _=d[c[w]];_.high=h,_.low=f}var k=d[0],P=r[0];for(k.high=P.high,k.low=P.low,p=0;p<5;p++)for(m=0;m<5;m++){var M=r[w=p+5*m],T=d[w],j=d[(p+1)%5+5*m],E=d[(p+2)%5+5*m];M.high=T.high^~j.high&E.high,M.low=T.low^~j.low&E.low}M=r[0];var A=u[s];M.high^=A.high,M.low^=A.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],u=0;u<l;u++){var d=a[u],p=d.high,h=d.low;p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),c.push(h),c.push(p)}return new o.init(c,s)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(p),t.HmacSHA3=i._createHmacHelper(p)}(Math),n.SHA3)},6048:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={init:function(e,t,r,n){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=[dphelper.svg.setConnector(t[0],t[1]),t[1]],r=[dphelper.svg.setConnector(r[0],r[1]),r[1]];const o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,l=document.createElementNS(i,"svg");l.setAttribute("xmlns",i),l.setAttributeNS(null,"id","pathConnection"),l.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),l.setAttributeNS(null,"width",String(a)),l.setAttributeNS(null,"height",String(s)),l.style.display="block";const c=document.createElementNS(i,"rect");let u=t[0].getBoundingClientRect();c.setAttributeNS(null,"x",String(u.left-o.left)),c.setAttributeNS(null,"y",String(u.top-o.top)),c.setAttributeNS(null,"width",String(u.width)),c.setAttributeNS(null,"height",String(u.height)),l.appendChild(c);const d=document.createElementNS(i,"rect");u=r[0].getBoundingClientRect(),d.setAttributeNS(null,"x",String(u.left-o.left)),d.setAttributeNS(null,"y",String(u.top-o.top)),d.setAttributeNS(null,"width",String(u.width)),d.setAttributeNS(null,"height",String(u.height)),l.appendChild(d);const p=document.createElementNS(i,"path");p.setAttributeNS(null,"id","connection"),p.setAttributeNS(null,"marker-end","url(#head)"),l.appendChild(p),e.appendChild(l),dphelper.svg.update($(c)[0],$(d)[0],$("#connection")[0]),"function"==typeof n&&n(t,r)},check:()=>{try{if(void 0===dphelper.svg.check.supported){const e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';const t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==typeof t.adj,e.parentNode.removeChild(e)}return dphelper.svg.check.supported}catch(e){}},update:function(e,t,r){const n=parseFloat(e[0].getAttribute("x")),o=parseFloat(e[0].getAttribute("y")),i=parseFloat(t[0].getAttribute("x")),a=parseFloat(t[0].getAttribute("y")),s=parseFloat(e[0].getAttribute("width"))/2,l=parseFloat(e[0].getAttribute("height"))/2,c=parseFloat(t[0].getAttribute("width"))/2,u=parseFloat(t[0].getAttribute("height"))/2,d=n+s,p=o+l,h=i+c,f=a+u,m=h-d,v=f-p,g=dphelper.svg.getIntersection(m,v,d,p,s,l),y=dphelper.svg.getIntersection(-m,-v,h,f,c,u),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);r.setAttributeNS(null,"d","M"+d+","+p+x+h+","+f)},getCurve:function(e,t,r){const n=r/2;return" C"+(n+e[0])+","+e[1]+" "+(t[0]-n)+","+t[1]+" "},getIntersection:function(e,t,r,n,o,i){return Math.abs(t/e)<i/o?[r+(e>0?o:-o),n+t*o/Math.abs(e)]:[r+e*i/Math.abs(t),n+(t>0?i:-i)]},setConnector:function(e,t){let r;const n=$('<span class="connector"></span>');switch($(e).css("position","relative"),n.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":r={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":r={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":r={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":r={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:r={}}return n.css(r),$(e).append(n),$(n)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each(function(e,t){$(t).remove()})},makeScrollable:function(e,t,r,n,o,i){const a=e.getBoundingClientRect(),s=[r,n],l=s.length,c=[o,i],u=[];for(let e=0;e<l;e++)u[e]=s[e].getBoundingClientRect(),c[e].setAttributeNS(null,"x",String(u[e].left-a.left)),c[e].setAttributeNS(null,"y",String(u[e].top-a.top)),c[e].setAttributeNS(null,"width",u[e].width),c[e].setAttributeNS(null,"height",u[e].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){const t=e.target;function r(e){const r=t[0].getScreenCTM();return{x:(e.clientX-r.e)/r.a,y:(e.clientY-r.f)/r.d}}t[0].addEventListener("mousedown",function(e){e.target.classList.contains("draggable")&&(n=e.target,o=r(e),o.x-=parseFloat(n[0].getAttributeNS(null,"x")||"0"),o.y-=parseFloat(n[0].getAttributeNS(null,"y")||"0"))}),t[0].addEventListener("mousemove",function(e){if(n&&o){const t=r(e);n.setAttributeNS(null,"x",String(t.x-o.x)),n.setAttributeNS(null,"y",String(t.y-o.y)),dphelper.svg.update(n,n,$("#connection")[0])}}),t[0].addEventListener("mouseup",function(){n=null,o=null});let n=null,o=null},toggle:function(e,t,r,n){$(e.target).prop("checked")&&$(r).length&&$(n).length?(dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:1,time:365}),dphelper.svg.init(t,[$(r)[0],"right"],[$(n)[0],"left"],function(e,r){$("#parts-left-body").on("scroll",function(){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(r)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])})})):(dphelper.svg.removeConnection(t),$("#parts-left-body").off("scroll"),dphelper.cookie.set({name:`${$(e.target).attr("id")}`,value:0,time:365}))},convert:({children:e,active:t=!0,size:r=[1920,1080],fit:n=["100%","100%"],preserveAspectRatio:o="none",style:i=`width:${n[0]}; height:${n[1]}`,zoom:a=(this?dphelper.window.getZoom():1)})=>{if(!e)return"Please pass ID of element for SVG conversion";if(t){const t=$(e).clone(),s=`\n <svg\n viewBox="0 0 ${r[0]} ${r[1]}"\n preserveAspectRatio="${o}"\n xmlns="http://www.w3.org/2000/svg"\n style="${i}; zoom:${a}"\n >\n <foreignObject\n x="0"\n y="0"\n width="${n[0]}"\n height="${n[1]}"\n style="${i}; zoom:${a}"\n >\n </foreignObject>\n </svg >\n `;$(e).html(s).find("foreignObject").html(t)}}};dphelper.setDescription({name:"svg",active:!0,subCommand:[{name:"init",version:"0.0.1",example:"dphelper.svg.init(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Initializes an SVG connection between two elements.",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.svg.check(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Checks if SVG support is available.",subCommand:[]},{name:"update",version:"0.0.1",example:"dphelper.svg.update(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Updates the SVG connection between two elements.",subCommand:[]},{name:"getCurve",version:"0.0.1",example:"dphelper.svg.getCurve(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the curve of the connection between two points.",subCommand:[]},{name:"getIntersection",version:"0.0.1",example:"dphelper.svg.getIntersection(...) ",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the intersection point between two elements.",subCommand:[]},{name:"setConnector",version:"0.0.1",example:"dphelper.svg.setConnector(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Sets a connector on an element.",subCommand:[]},{name:"removeConnection",version:"0.0.1",example:"dphelper.svg.removeConnection(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Removes an SVG connection from a container.",subCommand:[]},{name:"makeScrollable",version:"0.0.1",example:"dphelper.svg.makeScrollable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Makes an SVG container scrollable.",subCommand:[]},{name:"makeDraggable",version:"0.0.1",example:"dphelper.svg.makeDraggable(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Makes an SVG element draggable.",subCommand:[]},{name:"toggle",version:"0.0.1",example:"dphelper.svg.toggle(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Toggles an SVG connection on or off.",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.svg.convert([Object])",author:"Dario Passariello",creationDate:"20190101",lastMod:"20240401",type:"function",active:!0,description:"Converts an element to SVG.",subCommand:[]}]},r),dphelper.svg.check()},6117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={trim:(e,t,r,n)=>e.charAt(0)===t?e.substring(r,n):e,capitalize:e=>e.toLowerCase().replace(/\b\w/g,function(e){return e.toUpperCase()}),lower:e=>e.toLowerCase(),upper:e=>e.toUpperCase(),nl2br:e=>e.replace(/(?:\r\n|\r|\n)/g,"<br>"),sanitize:e=>e.replace(/<(|\/|[^>\bi]|\/[^>bi]|[^/>][^>]+|\/[^>][^>]+)>/g,""),camelCase:{toSpace:e=>e.replace(/([A-Z])/g," $1").replace(/^./,function(e){return e.toUpperCase()}),toUnderscore:e=>e.replace(/\.?([A-Z])/g,function(e,t){return"_"+t.toLowerCase()}).replace(/^_/,"")},fitContainer:e=>{e&&dphelper.addListenerMulti(window,"load resize",()=>function(e){const t=document.querySelectorAll(e),r=t.length;if(!(r<=0))for(let e=0;e<r;e++){const r=.05*t[e].offsetWidth;t[e].style.fontSize=r+"px"}}(e))},keywords:e=>{const t=e.match(/\b[A-Z][a-z]+\b/g)?.filter(e=>e.length>3)||[];return[...new Set(t.map(e=>e.toLowerCase()))]},replaceText:(e,t)=>{let r=e;for(const e in t)if(t.hasOwnProperty(e)){const n=/ *\([^)]*\) */g,o=e.match(n);r=r.replaceAll(o,t[e])}return r}};dphelper.setDescription({name:"text",active:!0,subCommand:[{name:"trim",version:"0.0.1",example:"dphelper.text.trim(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Trims the specified characters from the start and end of a string.",subCommand:[]},{name:"capitalize",version:"0.0.1",example:"dphelper.text.capitalize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Capitalizes the first letter of each word in a string.",subCommand:[]},{name:"lower",version:"0.0.1",example:"dphelper.text.lower(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a string to lowercase.",subCommand:[]},{name:"upper",version:"0.0.1",example:"dphelper.text.upper(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a string to uppercase.",subCommand:[]},{name:"nl2br",version:"0.0.1",example:"dphelper.text.nl2br(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts newlines in a string to HTML <br> tags.",subCommand:[]},{name:"sanitize",version:"0.0.1",example:"dphelper.text.sanitize(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Sanitizes a string by removing HTML tags.",subCommand:[]},{name:"camelCase",version:"0.0.1",example:"dphelper.text.camelCase(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a string to camelCase.",subCommand:[{name:"toSpace",version:"0.0.1",example:"dphelper.text.camelCase.toSpace(...)",type:"function",active:!0,description:"Converts camelCase to space-separated words.",subCommand:[],author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101"},{name:"toUnderscore",version:"0.0.1",example:"dphelper.text.camelCase.toUnderscore(...)",type:"function",active:!0,description:"Converts camelCase to underscore-separated words.",subCommand:[],author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101"}]},{name:"fitContainer",version:"0.0.1",example:"dphelper.text.fitContainer([element])",type:"function",active:!0,description:"Adjusts the font size of an element to fit its container.",subCommand:[],author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101"},{name:"keywords",version:"0.0.1",example:"dphelper.text.keywords([sentence])",type:"function",active:!0,description:"Extrapolate keywords from a sentence",subCommand:[],author:"Dario Passariello",creationDate:"20250601",lastMod:"20250601"},{name:"replaceText",version:"0.0.1",example:"dphelper.text.replaceText([sentence, object])",type:"function",active:!0,description:'\n replace all occurrence from sentence using an object as list\n\n example:\n\n let text = replaceText(\n "Copyright 2022 (c) by dpHelper",\n {\n "(c)": \'&copy;\',\n "(r)": \'&reg;\'\n }\n )\n\n Copyright text (c) became an html symbol\n ',subCommand:[],author:"Dario Passariello",creationDate:"20250612",lastMod:"20250612"}]},r)},6134:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.addTable=(e,t,r)=>{try{indexedDB.open(e,Number(idb.version(e))+1).onupgradeneeded=e=>{try{const n=e.target.result.createObjectStore(t,r);n.createIndex("hours","hours",{unique:!1}),n.createIndex("minutes","minutes",{unique:!1}),n.createIndex("day","day",{unique:!1}),n.createIndex("month","month",{unique:!1}),n.createIndex("year","year",{unique:!1}),n.createIndex("notified","notified",{unique:!1})}catch(e){return}}}catch(e){return}}},6233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={getip:()=>{},byteSize:e=>{const t=1024;if(Math.abs(e)<t)return e+"b";const r=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"];let n=-1;do{e/=t,++n}while(Math.abs(e)>=t&&n<r.length-1);return e.toFixed(1)+r[n]},zIndex:()=>Array.from(document.querySelectorAll("body *")).map(e=>parseFloat(getComputedStyle(e).zIndex)).reduce((e,t)=>t>e?t:e,1),zeroToFalse:e=>0!==e&&e};dphelper.setDescription({name:"tools",active:!0,subCommand:[{name:"getip",description:"Get the IP of connection",example:"dphelper.dev.getip()",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20241020",type:"function",active:!0,subCommand:[]},{name:"byteSize",description:"Give you the total in 'Kb', 'Mb', 'Gb', 'Tb', 'Pb', 'Eb', 'Zb', 'Yb' starting from bytes",example:"dphelper.dev.byteSize(bytes)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"hashPass",description:"Hashes a password using a specified number and total.",example:"dphelper.dev.hashPass(number, total)",version:"0.0.1",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"zIndex",description:"Finds the highest z-index value in the document.",example:"dphelper.dev.zIndex()",version:"0.0.1",author:"Dario Passariello",creationDate:"20240807",lastMod:"20240807",type:"function",active:!0,subCommand:[]},{name:"zeroToFalse",description:"Converts zero to false, otherwise returns the value.",example:"dphelper.dev.zeroToFalse(num)",version:"0.0.1",author:"Dario Passariello",creationDate:"20240924",lastMod:"20240924",type:"function",active:!0,subCommand:[]}]},r)},6245:(e,t,r)=>{var n={"./@/over.ts":5815,"./@/setProps.ts":35,"./console/index.ts":7424,"./console/mapped.ts":1585,"./credits/index.ts":8527,"./idb/index.ts":6668,"./terminal/index.ts":963};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=6245},6298:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],a=[],s=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,a=i[0],s=i[1],c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&u,p=u<<16|65535&c;for(o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=p,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=p,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,s=n>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=l^c}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),n.Rabbit)},6308:function(e,t,r){var n,o,i,a,s,l;e.exports=(l=r(9021),r(3009),o=(n=l).lib.WordArray,i=n.algo,a=i.SHA256,s=i.SHA224=a.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=a._createHelper(s),n.HmacSHA224=a._createHmacHelper(s),l.SHA224)},6329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.databases=()=>(indexedDB.databases().then(e=>e).then(e=>{e&&(idbases=e)}).catch(e=>{}),idb.size(),idbases)},6338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1635).__importDefault(r(1809)),o={state:(e,t,r)=>{history.pushState(e,t,r)},forw:e=>{history.go(e)},back:e=>{history.go(-Math.abs(e))},reload:()=>{location.href="/"},href:e=>{location.href=e},offLine:(e="You are offline.")=>{addEventListener("online",()=>{$("[o]").remove()}),addEventListener("offline",()=>{$(`\n <style o>\n html {\n\n &:before {\n content: "";\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: #00000082;\n z-index: 9999;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n\n }\n\n &:after{\n position: absolute;\n content: "${e}";\n font-size: 1em;\n background-color: orange;\n color: black;\n text-align: center;\n padding: 10px 30px;\n z-index: 10000;\n border-radius: 20px;\n top: calc(50% - 22px);\n left: calc(50% - 92px);\n border: 6px solid #00000026;\n }\n\n }\n </style>\n `).appendTo("body")})},zoom:()=>Math.round(100*devicePixelRatio),status:e=>e?n.default[e]:""};dphelper.setDescription({name:"browser",active:!0,subCommand:[{name:"state",version:"0.0.1",example:"dphelper.browser.state([state, title, url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Pushes a new state to the browser history.",subCommand:[]},{name:"forw",version:"0.0.1",example:"dphelper.browser.forw([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Moves forward in the browser history.",subCommand:[]},{name:"back",version:"0.0.1",example:"dphelper.browser.back([number])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Moves backward in the browser history.",subCommand:[]},{name:"reload",version:"0.0.1",example:"dphelper.browser.reload()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Reloads the current page.",subCommand:[]},{name:"href",version:"0.0.1",example:"dphelper.browser.href([url])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Navigates to the specified URL.",subCommand:[]},{name:"offLine",version:"0.0.1",example:"dphelper.browser.offline([text])",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"Displays an offline message when the browser is offline.",subCommand:[]},{name:"zoom",version:"0.0.1",example:"dphelper.browser.zoom()",author:"Dario Passariello",creationDate:"20190727",lastMod:"20240727",type:"function",active:!0,description:"Returns the current zoom level of the browser.",subCommand:[]},{name:"status",version:"0.0.1",example:"dphelper.browser.status(404)",author:"Dario Passariello",creationDate:"20240912",lastMod:"20240912",type:"function",active:!0,description:"Returns a description of the specified HTTP status code.",subCommand:[]}]},o)},6359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={of:e=>typeof e,instOfObj:e=>e instanceof Object,isNull:e=>function(t){return!e(t)},isBool:e=>!e||null==e.length||"1"===e};dphelper.setDescription({name:"type",active:!0,subCommand:[{name:"of",version:"0.0.1",example:"dphelper.type.of(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Returns the type of the given parameter.",subCommand:[]},{name:"instOfObj",version:"0.0.1",example:"dphelper.type.instOfObj(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Checks if the given parameter is an instance of Object.",subCommand:[]},{name:"isNaN",version:"0.0.1",example:"dphelper.type.isNaN(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Checks if the given parameter is NaN.",subCommand:[]},{name:"isBool",version:"0.0.1",example:"dphelper.type.isBool(...)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Checks if the given parameter is a boolean.",subCommand:[]}]},r)},6364:(e,t,r)=>{"use strict";r.r(t),(()=>{Object.defineProperty(globalThis,"memorio",{value:{},writable:!1,configurable:!0,enumerable:!1}),Object.defineProperty(globalThis,"events",{value:{},writable:!0,enumerable:!1}),Object.defineProperty(memorio,"version",{writable:!1,enumerable:!1,value:"1.2.6"});var e=["list","state","store","observer","useObserver","remove","removeAll"];Object.defineProperty(memorio,"dispatch",{writable:!1,enumerable:!1,value:{set:(e,t={})=>{dispatchEvent(new CustomEvent(String(e),t))},listen:(e,t=null,r=!1)=>{observer.list?.[e]?.length>0&&observer.remove(e);let n=e=>t?setTimeout(()=>t(e),1):null;globalThis.addEventListener(e,n),globalThis.events[e]=n},remove:e=>{globalThis.removeEventListener(e,globalThis.events[e]),delete globalThis.events[e]}}}),Object.defineProperty(memorio,"objPath",{writable:!1,enumerable:!1,value:(e,t,r=".")=>t.concat(e).join(r)});var t=(r,n,o=[])=>new Proxy(r,{get(e,r){if("list"===r)return console.log('Some state could be hidden when you use "state.list". Use "state" to see the complete list '),JSON.parse(JSON.stringify(state));if("remove"===r)return function(t){return delete e[t],!0};if("removeAll"===r)return function(){try{for(let t in e)"function"!=typeof e[t]&&!["list","remove","removeAll"].includes(t)&&(Object.isFrozen(e[t])||delete e[t],delete e[t])}catch(e){console.error(e)}};if(Object.isFrozen(e[r]))return e[r];try{let i=Reflect.get(e,r);return i&&"object"==typeof i&&["Array","Object"].includes(i.constructor.name)?t(i,n,o.concat(r)):i}catch(e){return void console.error("Error: ",e)}},set(t,r,i){if(e.includes(r))return console.error("key "+r+" is protected"),!1;if(t[r]&&"object"==typeof t[r]&&Object.isFrozen(t[r]))return console.error(`Error: state '${r}' is locked`),!1;try{let e=globalThis.memorio.objPath(r,o);return n({action:"set",path:e,target:t,newValue:i,previousValue:Reflect.get(t,r)}),(e=>{let t=e.split(".");t.forEach((e,r)=>{let n=t.slice(0,r+1).join(".");globalThis.memorio.dispatch.set(n,{detail:{name:n}})})})("state."+e),Reflect.set(t,r,i),t[r]&&"object"==typeof t[r]&&Reflect.defineProperty(t[r],"lock",{value(){Object.defineProperty(t,r,{writable:!1,enumerable:!1}),Object.freeze(t[r])}}),!0}catch(e){return void console.error("Error in set trap:",e)}},deleteProperty(e,t){try{let r=globalThis.memorio.objPath(t,o);return n({action:"delete",path:r,target:e}),Reflect.deleteProperty(e,t)}catch(e){return void console.error("Error in deleteProperty trap:",e)}}});globalThis?.state?globalThis.state=state:globalThis.state=t({},()=>{});var r=new WeakSet;r.add(state),setInterval(()=>{if(!r.has(state)){alert("Memorio state is compromised, check if you override it and please reload the page");for(let e=1;e<99999;e++)clearInterval(e);stop()}},1e3),Object.defineProperty(globalThis,"state",{enumerable:!1,configurable:!0}),globalThis.observer||(globalThis.observer=null),Object.defineProperty(globalThis,"observer",{enumerable:!1,configurable:!0}),observer=(e,t=null,r=!0)=>{try{if("state"!==(n=e).split(".")[0]&&(console.error(`Observer Error: You need to declare 'state.' or 'store.'. The '${n}' string is incorrect!`),1))return}catch(e){return void console.error(e)}var n;if(e||t){if(e||!t)return e&&!t?(globalThis.memorio.dispatch.listen(String(e),{detail:{name:String(e)}}),void console.debug("called: ",e)):e&&t?"string"!=typeof e||"function"!=typeof t?void console.error("Observer Error: name of state need to be a 'string' like 'state.test' and the callback need to be a 'function'"):void globalThis.memorio.dispatch.listen(e,t,r):void 0;console.error("Observer Error: You need to declare what state need to be monitored as string like 'state.test'.")}else console.error("Observer Error: You need to setup observer correctly, Some parameters are missed!")},Object.defineProperties(observer,{list:{get:()=>globalThis.events},remove:{value:e=>{e&&(globalThis.events[e]="")}},removeAll:{get:()=>{Object.entries(observer.list).forEach(e=>{globalThis.events[e[0]]})}}}),Object.freeze(observer),globalThis.useObserver||(globalThis.useObserver=null),Object.defineProperty(globalThis,"useObserver",{enumerable:!1,configurable:!0}),useObserver=(e,t)=>{try{return observer(t,()=>e()),!0}catch(e){return void console.error(e)}},Object.freeze(useObserver),Object.defineProperty(globalThis,"store",{value:new Proxy({},{}),enumerable:!1,configurable:!0}),Object.defineProperties(store,{get:{value(e){if(e){try{let t=localStorage.getItem(e);return t&&JSON.parse(t)}catch(t){console.error(`Error parsing store item '${e}':`,t)}return null}}},set:{value(e,t){if(e){try{null==t?localStorage.setItem(e,JSON.stringify(null)):"object"==typeof t||"number"==typeof t||"boolean"==typeof t||"string"==typeof t?localStorage.setItem(e,JSON.stringify(t)):"function"==typeof t&&console.error("It's not secure to store functions.")}catch(t){console.error(`Error setting store item '${e}':`,t)}return null}}},remove:{value(e){if(e)return!!localStorage.getItem(e)&&(localStorage.removeItem(e),!0)}},delete:{value:e=>(store.remove(e),!0)},removeAll:{value:()=>(localStorage.clear(),!0)},clearAll:{value:()=>(store.removeAll(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then(({usage:e,quota:t})=>(e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`),[e/1024,t/1024])).catch(e=>{console.error("Error estimating quota:",e)})}},size:{value(){let e=0;for(let t in localStorage)if(localStorage.hasOwnProperty(t)){let r=localStorage.getItem(t);r&&(e+=r.length)}return e}}}),Object.freeze(store),Object.defineProperty(globalThis,"session",{value:new Proxy({},{}),enumerable:!1,configurable:!0}),Object.defineProperties(session,{get:{value(e){if(e)try{let t=sessionStorage.getItem(e);return t&&JSON.parse(t)}catch(t){console.error(`Error parsing session item '${e}':`,t)}}},set:{value(e,t){if(e)try{null==t?sessionStorage.setItem(e,JSON.stringify(null)):"object"==typeof t||"number"==typeof t||"boolean"==typeof t||"string"==typeof t?sessionStorage.setItem(e,JSON.stringify(t)):"function"==typeof t&&console.error("It's not secure to session functions.")}catch(t){console.error(`Error setting session item '${e}':`,t)}}},remove:{value(e){if(e&&sessionStorage.getItem(e))return sessionStorage.removeItem(e),!0}},delete:{value:e=>(session.remove(e),!0)},removeAll:{value:()=>(sessionStorage.clear(),!0)},clearAll:{value:()=>(session.removeAll(),!0)},quota:{value(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then(({usage:e,quota:t})=>{e&&t&&console.debug(`Using ${e/1024} out of ${t/1024} Mb.`)}).catch(e=>{console.error("Error estimating quota:",e)})}},size:{value(){let e=0;for(let t in sessionStorage)if(sessionStorage.hasOwnProperty(t)){let r=sessionStorage.getItem(t);r&&(e+=r.length)}return e}}}),Object.freeze(session),Object.defineProperty(window,"cache",{value:new Proxy({},{}),enumerable:!1,configurable:!0})})()},6372:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<o;l++)e[r+l]^=s[l]}});return e.Decryptor=r,e}(),n.mode.CTRGladman)},6422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={toArray:e=>Object.entries(e),replaceNullObjects:e=>{const t={...e};return Object.keys(e).forEach(r=>{null===e[r]&&(t[r]="")}),t},serialize:e=>{if("function"==typeof e)return e.toString();if("object"==typeof e){const t={};for(const[r,n]of Object.entries(e))t[r]=dphelper.obj.serialize(n);return t}return e},deSerialize:e=>{if("string"==typeof e&&e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e)();if("object"==typeof e){const t={};for(const[r,n]of Object.entries(e))t[r]=dphelper.obj.deSerialize(n);return t}return e},sort:e=>Object.keys(e).sort().reduce((t,r)=>(t[r]=e[r],t),{}),toXML:e=>{const t=(e,r="")=>{let n="";for(const o in e)if(e.hasOwnProperty(o)){const i=e[o];n+="object"==typeof i&&null!==i?`${r}<${o}>\n${t(i,r+" ")}${r}</${o}>\n`:`${r}<${o}>${i}</${o}>\n`}return n};return t(e)},find:(e,t,r)=>e.find(e=>e[t]===r),instance:e=>Object.create(e),updateByKey:(e,t,r)=>(e.hasOwnProperty(t)&&(e[t]=r),e),findindex:(e,t)=>e.findIndex(e=>void 0!==e[t]),parse:e=>{try{return JSON.parse(e)}catch(t){return e}},isObject:e=>"object"==typeof e&&null!==e,diff:(e,t)=>{const r={};for(const n in e)e.hasOwnProperty(n)&&e[n]!==t[n]&&(r[n]={obj1:e[n],obj2:t[n]});for(const n in t)t.hasOwnProperty(n)&&e[n]!==t[n]&&(r[n]={obj1:e[n],obj2:t[n]});return r},path:(e,t,r=".")=>t.concat(e).join(r),shallow:e=>Object.assign({},e),deepCopy:e=>structuredClone(e)};dphelper.setDescription({name:"obj",active:!0,subCommand:[{name:"toArray",version:"0.0.1",example:"dphelper.obj.toArray([obj])",description:"Convert an object to an array.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"replaceNullObjects",version:"0.0.1",example:"dphelper.obj.replaceNullObjects([obj])",description:"Replace null values in an object with empty objects.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"serialize",version:"0.0.1",example:"dphelper.obj.serialize([obj])",description:"Serialize an object to a JSON string.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"deSerialize",version:"0.0.1",example:"dphelper.obj.deSerialize([obj])",description:"Deserialize a JSON string to an object.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"find",version:"0.0.1",example:"dphelper.obj.find([array, key, value])",description:"Find an object in an array by key and value.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"toXML",version:"0.0.1",example:"dphelper.obj.toXML([obj])",description:"Convert an object to an XML string.",author:"Dario Passariello",creationDate:"20240315",lastMod:"20240315",type:"function",active:!0,subCommand:[]},{name:"instance",version:"0.0.1",example:"dphelper.obj.instance([obj])",description:"Create an instance of an object.",author:"Dario Passariello",creationDate:"20240924",lastMod:"20240924",type:"function",active:!0,subCommand:[]},{name:"updateByKey",version:"0.0.1",example:"dphelper.obj.updateByKey([obj, key, newValue])",description:"Update an object's property by key.",author:"Dario Passariello",creationDate:"20240929",lastMod:"20240929",type:"function",active:!0,subCommand:[]},{name:"findindex",version:"0.0.1",example:"dphelper.obj.findindex([obj, key])",description:"Find the index of an object in an array by key.",author:"Dario Passariello",creationDate:"20240929",lastMod:"20240929",type:"function",active:!0,subCommand:[]},{name:"parse",version:"0.0.1",example:"dphelper.obj.parse(val)",description:"Check if value is an object or another type. Return object after parse or a different type. Used instead of JSON.parse to avoid crash.",author:"Dario Passariello",creationDate:"20241027",lastMod:"20240927",type:"function",active:!0,subCommand:[]},{name:"diff",version:"0.0.1",example:"dphelper.obj.diff([obj1, obj2])",description:"Show the differences between two objects.",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,subCommand:[]},{name:"shallow",version:"0.0.1",example:"dphelper.obj.shallow([object])",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Generate a shallow copy of an object\n Example: dphelper.obj.shallow([object])\n ",subCommand:[]},{name:"deepCopy",version:"0.0.1",example:"dphelper.obj.deepCopy([object])",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Generate a deepCopy of an object\n Example: dphelper.obj.deepCopy([object])\n ",subCommand:[]}]},r)},6423:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={sleep:e=>new Promise(t=>setTimeout(t,e)),percentage:(e,t)=>{function r(e){const t=e.split(":");return 3600*parseInt(t[0])+60*parseInt(t[1])+parseInt(t[2])}return(100*r(e)/r(t)).toFixed(2)}};dphelper.setDescription({name:"timer",active:!0,subCommand:[{name:"sleep",version:"0.0.1",example:"dphelper.timer.sleep([ms]) ",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Pauses execution for a specified number of milliseconds.",subCommand:[]},{name:"percentage",version:"0.0.1",example:"dphelper.timer.percentage([start], [end])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the percentage of time elapsed between two time strings.",subCommand:[]}]},r)},6440:function(e,t,r){var n;e.exports=(n=r(9021),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init,r=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},6648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={name:"cookie",active:!0,subCommand:[{name:"set",version:"0.0.1",example:"dphelper.cookie.set({name, value, time, path = '/'})",description:"Creates a cookie with specified properties.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,subCommand:[]},{name:"get",version:"0.0.1",example:"dphelper.cookie.get(name)",description:"Retrieves the value of a specified cookie.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.cookie.delete(name)",description:"Deletes a specified cookie.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,subCommand:[]},{name:"removeAll",version:"0.0.1",example:"dphelper.cookie.removeAll()",description:"Clears all cookies.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240613",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r);const n={set:e=>{const t=new Date;if(t.setTime(t.getTime()+31536e6),!e.name)return;const{name:r,value:n,time:o=e.time||t.toUTCString(),path:i=e.path||"/",sameSite:a=e.sameSite||"Lax",secure:s=("https:"===location.protocol?"Secure":"false")}=e;document.cookie=`${r}=${n};expires=${o};path=${i};SameSite=${a};Secure=${s};`},get:e=>{const t=document.cookie.split(";"),r=t.length;for(let n=0;n<r;n++){const r=t[n].split("=");if(e===r[0])return decodeURIComponent(r[1])}return null},delete:e=>{dphelper.cookie.set({name:e,value:"",time:"Thu, 01 Jan 1970 00:00:00 GMT"})},removeAll:()=>{const e=document.cookie.split(";"),t=e.length;for(let r=0;r<t;r++){const t=e[r],n=t.indexOf("="),o=n>-1?t.slice(0,n):t;dphelper.cookie.delete(o)}}};dphelper.setDescription(r,n)},6668:function(e,t,r){"use strict";var n,o=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},n(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&o(t,e,r[a]);return i(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(window,"idb",{value:{},configurable:!0,enumerable:!1}),window.idbases=[],Object.defineProperty(window,"idbases",{value:[],configurable:!0,enumerable:!1}),addEventListener("DOMContentLoaded",e=>{Promise.resolve().then(()=>a(r(9023))),Promise.resolve().then(()=>a(r(5247))),Promise.resolve().then(()=>a(r(2891))),Promise.resolve().then(()=>a(r(6329))),Promise.resolve().then(()=>a(r(2142))),Promise.resolve().then(()=>a(r(9312))),Promise.resolve().then(()=>a(r(7843))),Promise.resolve().then(()=>a(r(6134))),Promise.resolve().then(()=>a(r(9799))),Promise.resolve().then(()=>a(r(219)))})},6709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.setDescription({name:"sanitize",active:!0,subCommand:[{name:"html",version:"0.0.1",example:"dphelper.sanitize.html([html])",author:"Dario Passariello",creationDate:"20241204",lastMod:"20241204",type:"function",active:!0,description:"Sanitize HTML by escaping special characters.",subCommand:[]}]},{html:e=>"string"!=typeof e?"":e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&#x2F;")})},6932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keys:(e,t)=>{const r=e.which?e.which:e.keyCode;e={tes:console.debug("try")},t||(t={data:[{key:"83",ctrl:!0,active:!0,description:"CTRL+S",function:""},{key:"27",ctrl:!1,active:!0,description:"ESC",element:"",function:""},{key:"80",ctrl:!0,active:!0,description:"CTRL+P",element:"",function:"function(){ Print }"}]}),t.map(t=>{if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&r===parseInt(t.key)&&!0===t.active)return t.element&&t.element.click(),t.function?JSON.stringify(t.function):void e.preventDefault()})}};dphelper.setDescription({name:"shortcut",active:!0,subCommand:[{name:"keys",version:"0.0.1",example:"dphelper.shortcut.keys([e, trigger])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Handle keyboard shortcuts.",subCommand:[]}]},r)},6939:function(e,t,r){var n,o,i;e.exports=(i=r(9021),r(7165),i.mode.CTR=(o=(n=i.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)e[t+s]^=a[s]}}),n.Decryptor=o,n),i.mode.CTR)},7091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={find:(e,t)=>{if(Array.isArray(e)){for(const r of e){if(r[t]===t)return r;if(r.children){const e=dphelper.array.find(t,r.children);if(e)return e}}return!1}},unique:e=>{if(Array.isArray(e))return[...new Set(e)]},delete:(e,t)=>{Array.isArray(e)&&e.some(function e(r,n,o){if(r[t]===t)return o.splice(n,1),!0;for(const t of Object.keys(r)){const n=r[t];if(Array.isArray(n))return n.some(e)}})},merge:(e,t)=>{if(!e||!t)return t||e;for(const r of Object.keys(e))e[r]instanceof Object&&t[r]&&Object.assign(e[r],dphelper.array.merge(t[r],e[r]));return Object.assign(t||{},e)},mergeByKey:(e,t,r)=>e.map(e=>{const n=t.find(t=>e[r]===t[r]);return n?Object.assign({},e,n):e}),asc:e=>{if(Array.isArray(e))return e.sort((e,t)=>e-t)},desc:e=>{if(Array.isArray(e))return e.sort((e,t)=>t-e)},duplicates:e=>{if(!Array.isArray(e))return;const t=new Set,r=new Set;for(const n of e)t.has(n)?r.add(n):t.add(n);return Array.from(r)},even:e=>{if(Array.isArray(e))return e.filter(e=>e%2==0)},odd:e=>{if(Array.isArray(e))return e.filter(e=>e%2!=0)},toObj:e=>{if(Array.isArray(e))return Object.assign({},e)},sumColumn:(e=[],t=0)=>Array.isArray(e)?void 0===t?"provide a column":e.reduce((e,r)=>e+(r[t]||0),0):"provide a multidimensional array",shuffle:e=>{if(Array.isArray(e)){for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e}},generate:e=>{if(Number.isNaN(e))return;const t=Array.from({length:e},(e,t)=>t+1);return dphelper.array.shuffle(t)},testArrayInt:e=>{if(!Array.isArray(e))return;const t=[];for(let r=1;r<=e.length;r++)e.includes(r)||t.push(r);return t},rand32:e=>{const t=performance.now(),r=[];r.nums=[],r.time=[];for(var n=0;n<e;++n)r.nums.push(crypto.getRandomValues(new Uint32Array(1))[0]);const o=performance.now();return r.time.push(o-t),r},findindex:(e,t)=>e.findIndex(e=>e.name===t),pathToJson:(e,t="/")=>{const r={};let n;for(const o of e){n=r;const e=o.split(t);for(const t of e.slice(1,-1)){if(""===t)return;t in n||(n[t]={}),n=n[t]}n[e[e.length-1]]=null}return r},deepClone:e=>JSON.parse(JSON.stringify(e)),match:(e,t)=>e.filter(e=>t.includes(e)),shallow:e=>Object.assign([],e),deepCopy:e=>structuredClone(e),groupBy:(e,t)=>e.reduce((e,r)=>({...e,[r[t]]:[...e[t]||[],r]}),{})};dphelper.setDescription({name:"array",active:!0,subCommand:[{name:"find",version:"0.0.1",example:"dphelper.array.find([array, item])",description:"Find an item in the array.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20240619",type:"function",active:!0,subCommand:[]},{name:"unique",version:"0.0.1",example:"dphelper.array.unique([array])",description:"Return a new array with unique items.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"delete",version:"0.0.1",example:"dphelper.array.delete([array, item])",description:"Delete an item from the array.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"merge",version:"0.0.1",example:"dphelper.array.merge([array1, array2])",description:"Merge two arrays into one.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"mergeByKey",version:"0.0.1",example:"dphelper.array.mergeByKey([arrayA, arrayB, key])",author:"Dario Passariello",creationDate:"20230603",lastMod:"20230603",type:"function",active:!0,description:'\n Example:\n const array = [\n {"date":1230,"value":1},\n {"date":1231,"value":2},\n {"date":1232,"value":3, "value1":3, name:"John"},\n {"date":1233,"value":4},\n {"date":1234,"value":5},\n {"date":1235,"value":6}\n ]\n const newData = [\n {"date":1230,"value":1000,\'name\':\'Diana\'},\n {"date":1232,"value":1000, "value1":20000},\n {"date":1234,"value":1000},\n {"date":1235,"value":888810000}\n ]\n Command: dphelper.array.mergeByKey( array, newData, \'date\' )\n Result:\n [\n {"date": 1230,"value": 1000, name: "Diana" },\n {"date": 1231,"value": 2},\n {"date": 1232 "value": 1000, "value1": 20000, name: "John" },\n {"date": 1233,"value": 4},\n {"date": 1234, "value": 1000},\n {"date": 1235,"value": 888810000}\n ]\n ',subCommand:[]},{name:"asc",version:"0.0.1",example:"dphelper.array.asc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Sort an array in ascending order.",subCommand:[]},{name:"desc",version:"0.0.1",example:"dphelper.array.desc([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Sort an array in descending order.",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"dphelper.array.duplicates([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Find duplicate items in an array.",subCommand:[]},{name:"even",version:"0.0.1",example:"dphelper.array.even([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Filter even numbers from an array.",subCommand:[]},{name:"odd",version:"0.0.1",example:"dphelper.array.odd([array])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Filter odd numbers from an array.",subCommand:[]},{name:"sumColumn",version:"0.0.1",example:"dphelper.array.sumColumn([array, column])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20230111",type:"function",active:!0,description:"\n Sum the values of a specified column in a multidimensional array.\n Example:\n const array = [\n [12, 23, 34],\n [45, 56, 67],\n [78, 89, 90]\n ]\n console.debug(dphelper.array.sumColumn(array, 0)) // Result: 135\n ",subCommand:[]},{name:"shuffle",version:"0.0.1",example:"dphelper.array.shuffle([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Shuffle the elements of an array.",subCommand:[]},{name:"generate",version:"0.0.1",example:"dphelper.array.generate(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"Generate an array of random numbers (max 500000).",subCommand:[]},{name:"testArrayInt",version:"0.0.1",example:"dphelper.array.testArrayInt([array])",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n Test if an array contains consecutive integers.\n Examples:\n console.debug(dphelper.array.testArrayInt([1,2,3,4,6,7])) // Result: [5]\n ",subCommand:[]},{name:"rand32",version:"0.0.1",example:"dphelper.array.rand32(num)",author:"Dario Passariello",creationDate:"20230527",lastMod:"20230527",type:"function",active:!0,description:"\n Generate an array of random 32-bit unsigned integers.\n Example:\n console.debug(dphelper.array.rand32(500000))\n ",subCommand:[]},{name:"deepClone",version:"0.0.1",example:"dphelper.array.deepClone(array|object)",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Generate a deep clone of an array or object.\n Example:\n dphelper.array.deepClone([array|object])\n ",subCommand:[]},{name:"match",version:"0.0.1",example:"dphelper.array.match([arrayOfWords, arrayToCheck])",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Find a perfect match between an array of words and an array to check.\n Example:\n dphelper.array.match([arrayOfWords, arrayToCheck])\n ",subCommand:[]},{name:"shallow",version:"0.0.1",example:"dphelper.array.shallow([array])",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Generate a shallow copy of an array\n Example: dphelper.array.shallow([array])\n ",subCommand:[]},{name:"deepCopy",version:"0.0.1",example:"dphelper.array.deepCopy([array])",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"\n Generate a deepCopy of an array\n Example: dphelper.array.deepCopy([array])\n ",subCommand:[]},{name:"groupBy",version:"0.0.1",example:"dphelper.array.groupBy([array, key])",author:"Dario Passariello",creationDate:"20250414",lastMod:"20250414",type:"function",active:!0,description:"\n Generate groups of array by a specific key\n Example: dphelper.array.groupBy([array, key])\n ",subCommand:[]}]},r)},7165:function(e,t,r){var n,o,i,a,s,l,c,u,d,p,h,f,m,v,g,y,b,x,w;e.exports=(n=r(9021),r(9506),void(n.lib.Cipher||(o=n,i=o.lib,a=i.Base,s=i.WordArray,l=i.BufferedBlockAlgorithm,c=o.enc,c.Utf8,u=c.Base64,d=o.algo.EvpKDF,p=i.Cipher=l.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){l.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:b}return function(t){return{encrypt:function(r,n,o){return e(n).encrypt(t,r,n,o)},decrypt:function(r,n,o){return e(n).decrypt(t,r,n,o)}}}}()}),i.StreamCipher=p.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=o.mode={},f=i.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),m=h.CBC=function(){var e=f.extend();function t(e,t,r){var n,o=this._iv;o?(n=o,this._iv=void 0):n=this._prevBlock;for(var i=0;i<r;i++)e[t+i]^=n[i]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize;t.call(this,e,r,o),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+o)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=e.slice(r,r+o);n.decryptBlock(e,r),t.call(this,e,r,o),this._prevBlock=i}}),e}(),v=(o.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,i=[],a=0;a<n;a+=4)i.push(o);var l=s.create(i,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.BlockCipher=p.extend({cfg:p.cfg.extend({mode:m,padding:v}),reset:function(){var e;p.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),g=i.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),y=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?s.create([1398893684,1701076831]).concat(r).concat(t):t).toString(u)},parse:function(e){var t,r=u.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=s.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),g.create({ciphertext:r,salt:t})}},b=i.SerializableCipher=a.extend({cfg:a.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),a=o.cfg;return g.create({ciphertext:i,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),x=(o.kdf={}).OpenSSL={execute:function(e,t,r,n,o){if(n||(n=s.random(8)),o)i=d.create({keySize:t+r,hasher:o}).compute(e,n);else var i=d.create({keySize:t+r}).compute(e,n);var a=s.create(i.words.slice(t),4*r);return i.sigBytes=4*t,g.create({key:i,iv:a,salt:n})}},w=i.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:x}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=b.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=o.iv,b.decrypt.call(this,e,t,o.key,n)}}))))},7193:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=t[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var l=n[o];n[o]=n[i],n[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var a=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)},7406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={days:(e="en")=>({en:["Monday","Tuesday","Wednesday","Thursday","Wednesday","Saturday","Sunday"],it:["lunedì","martedì","mercoledì","giovedì","Venerdì","Sabato","domenica"]}[e]),months:(e="en")=>({en:["January","February","March","April","May","June","July","August","September","October","November","December"],it:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"]}[e]),year:()=>(new Date).getFullYear(),toIso:(e,t="en")=>{e||(e="");const r=new Date(e);return"Invalid Date"==String(r)?null:new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"}).format(r)},toMMDDYYYY:e=>{e||(e="");const t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},toYYYYMMDD:e=>{if(e)return e.toISOString().split("T")[0].replaceAll("-","")},toHuman:e=>e.toLocaleDateString(void 0,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),convert:(e,t)=>{if(!e)return null;t||(t=dphelper.date.months("en"));const r=e.substring(0,2).replace("0",""),n=e.substring(2,4),o=e.substring(e.length-4);return n+" "+t[Number(r)-1]+" "+o},iso2Epoch:e=>(e||(e=""),new Date(e).getTime()),localIsoTime:e=>{e||(e="");const t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:()=>(new Date).toUTCString(),parse:(e,t="/")=>e?e.substring(0,2)+t+e.substring(2,4)+t+e.substring(4,8):null,addDays:(e,t)=>{const r=new Date(Number(e));return r.setDate(e.getDate()+t),r},dateTimeToString:e=>{try{return`${e.getFullYear()}${e.getMonth().toString().length>1?e.getMonth()+1:`0${e.getMonth()+1}`}\n ${e.getDate().toString().length>1?e.getDate():`0${e.getDate()}`}_${e.getHours()}${e.getMinutes()}${e.getSeconds()}`}catch(t){return e}},isoToHuman:(e,t="@")=>{if(!e)return null;const r=dphelper.date.months("en"),n=new Date(e),o=n.getFullYear(),i=e.split("T")[1].split(":").slice(0,2).join(":");let a=(n.getMonth()+1).toString(),s=n.getDate().toString();return s.length<2&&(s="0"+s),a.length<2&&(a="0"+a),s+" "+r[Number(a)-1]+" "+o+" "+t+" "+i},fullDate:()=>{const e=new Date,t=Number(e.getDate()),r=Number(e.getMonth()+1),n=Number(e.getFullYear()),o=Number(e.getHours()),i=Number(e.getMinutes()),a=Number(e.getSeconds());return(t<10?"0"+t:t)+"-"+(r<10?"0"+r:r)+"-"+n+" "+(o<10?"0"+o:o)+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)},epoch:()=>(new Date).getTime(),diffInDays:(e,t)=>{const r=t.getTime(),n=e.getTime();return Math.floor((r-n)/864e5)},diffInWeeks:(e,t)=>{const r=t.getTime(),n=e.getTime();return Number(parseInt(String((r-n)/6048e5)))},diffInMonths:(e,t)=>{const r=e.getFullYear(),n=t.getFullYear(),o=e.getMonth();return t.getMonth()+12*n-(o+12*r)},diffInYears:(e,t)=>t.getFullYear()-e.getFullYear(),dateToYMD:e=>{const t=e.getDate(),r=e.getMonth()+1;return e.getFullYear()+"-"+(r<=9?"0"+r:r)+"-"+(t<=9?"0"+t:t)},collection:({date:e=new Date,type:t,locale:r="en-US"})=>{let n;switch(!e&&t&&r&&console.debug('\n "toDateString" -> Tue Jan 02 2024\n "toISOString" -> 2024-01-02T18:44:43.590Z\n "toJSON" -> 2024-01-02T18:44:43.590Z\n "toLocaleDateString" -> 1/2/2024\n "toLocaleString" -> 1/2/2024, 11:44:43 AM\n "toLocaleTimeString" -> 11:44:43 AM\n "toString" -> Tue Jan 02 2024 11:44:43 GMT-0700 (Mountain Standard Time)\n "toISOStringShort" -> 2024-01-02\n "toLocaleString (en-GB)" -> 02/01/2024, 11:47:56 am\n '),t){case"toDateString":n=e.toDateString();break;case"toISOString":n=e.toISOString();break;case"toJSON":n=e.toJSON();break;case"toLocaleDateString":n=e.toLocaleDateString(r);break;case"toLocaleString":n=e.toLocaleString(r);break;case"toLocaleTimeString":n=e.toLocaleTimeString(r);break;case"toString":n=e.toString();break;case"toISOStringShort":n=e.toISOString().slice(0,10)}return n},timeZones:()=>{const e=[];return Intl.supportedValuesOf("timeZone").forEach(t=>e.push(t)),e}};dphelper.setDescription({name:"date",active:!0,subCommand:[{name:"toIso",version:"0.0.1",example:"dphelper.date.toIso([value, int = 'en'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a date value to ISO format.",subCommand:[]},{name:"toMMDDYYYY",version:"0.0.1",example:"dphelper.date.toMMDDYYYY([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a date value to MMDDYYYY format.",subCommand:[]},{name:"toYYYYMMDD",version:"0.0.1",example:"dphelper.date.toYYYYMMDD([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"Converts a date value to YYYYMMDD format.",subCommand:[]},{name:"toHuman",version:"0.0.1",example:"dphelper.date.toHuman([value])",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230101",type:"function",active:!0,description:"Converts a date value to a human-readable format.",subCommand:[]},{name:"convert",version:"0.0.1",example:"dphelper.date.convert([value, format])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a date value to a specified format.",subCommand:[]},{name:"iso2Epoch",version:"0.0.1",example:"dphelper.date.iso2Epoch([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts an ISO date value to epoch time.",subCommand:[]},{name:"localIsoTime",version:"0.0.1",example:"dphelper.date.localIsoTime([value])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets the local ISO time for a given date value.",subCommand:[]},{name:"utc",version:"0.0.1",example:"dphelper.date.utc()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets the current UTC time.",subCommand:[]},{name:"parse",version:"0.0.1",example:"dphelper.date.parse([value, separator = '/'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Parses a date value with a specified separator.",subCommand:[]},{name:"year",version:"0.0.1",example:"dphelper.date.year()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets the current year.",subCommand:[]},{name:"addDays",version:"0.0.1",example:"dphelper.date.addDays([date, days])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Adds a specified number of days to a date.",subCommand:[]},{name:"dateTimeToString",version:"0.0.1",example:"dphelper.date.dateTimeToString([dateObject])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a date object to a string.",subCommand:[]},{name:"isoToHuman",version:"0.0.1",example:"dphelper.date.isoToHuman([value, symbol = '@'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts an ISO date value to a human-readable format with a specified symbol.",subCommand:[]},{name:"fullDate",version:"0.0.1",example:"dphelper.date.fullDate()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets the full date and time in the format DD-MM-YYYY HH:MM:SS.",subCommand:[]},{name:"epoch",version:"0.0.1",example:"dphelper.date.epoch()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets the current epoch time.",subCommand:[]},{name:"diffInDays",version:"0.0.1",example:"dphelper.date.diffInDays()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the difference in days between two dates.",subCommand:[]},{name:"diffInWeeks",version:"0.0.1",example:"dphelper.date.diffInWeeks()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the difference in weeks between two dates.",subCommand:[]},{name:"diffInMonths",version:"0.0.1",example:"dphelper.date.diffInMonths()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the difference in months between two dates.",subCommand:[]},{name:"diffInYears",version:"0.0.1",example:"dphelper.date.diffInYears()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Calculates the difference in years between two dates.",subCommand:[]},{name:"dateToYMD",version:"0.0.1",example:"dphelper.date.dateToYMD()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a date to the format YYYY-MM-DD.",subCommand:[]},{name:"collection",version:"0.0.1",example:"dphelper.date.collection()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Gets various date representations based on the type and locale.",subCommand:[]},{name:"timeZones",version:"0.0.1",example:"dphelper.date.timeZones()",author:"Dario Passariello",creationDate:"20240901",lastMod:"20240901",type:"function",active:!0,description:"Returns an array of all supported timezones.",subCommand:[]}]},r)},7424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.console={info:(e,t,r)=>{console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,e,r),console.groupEnd()},stop:(e=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn","verbose"])=>{console.disableYellowBox=!0,console.clear(),console.log=()=>{},console.debug=()=>{},window.console=console;const t=()=>{};e.forEach(e=>{console[e]=t})},toHtml:e=>{const t=document.getElementById(e);t&&(console.log=function(e){t.innerHTML+="object"==typeof e?(JSON&&JSON.stringify?JSON.stringify(e):e)+"<br />":e+"<br />"})}},Object.defineProperty(dphelper,"console",{writable:!1,enumerable:!1,configurable:!1})},7585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={lock:e=>{if(!e)return;const t=window,r=e.split(".");if(r.length<2)return;const n=t[r[0]];n&&Object.defineProperty(n,r[1],{writable:!1,configurable:!1})},unlock:e=>{if(!e)return;const t=window,r=e.split(".");if(r.length<2)return;const n=t[r[0]];n&&Object.defineProperty(n,r[1],{writable:!0,configurable:!0})}};dphelper.setDescription({name:"memory",active:!0,subCommand:[{name:"lock",version:"0.0.1",example:"dphelper.memory.lock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Lock a state",subCommand:[]},{name:"unlock",version:"0.0.1",example:"dphelper.memory.unlock('state[key]')",author:"Dario Passariello",creationDate:"20230101",lastMod:"20230111",type:"function",active:!0,description:"Unlock a state",subCommand:[]}]},r)},7628:function(e,t,r){var n;e.exports=(n=r(9021),r(754),r(4636),r(9506),r(7165),function(){var e=n,t=e.lib,r=t.WordArray,o=t.BlockCipher,i=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var c=o[i]=[],u=l[i];for(r=0;r<24;r++)c[r/6|0]|=t[(s[r]-1+u)%28]<<31-r%6,c[4+(r/6|0)]|=t[28+(s[r+24]-1+u)%28]<<31-r%6;for(c[0]=c[0]<<1|c[0]>>>31,r=1;r<7;r++)c[r]=c[r]>>>4*(r-1)+3;c[7]=c[7]<<5|c[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,a=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((a^o[l])&u[l])>>>0];this._lBlock=a,this._rBlock=i^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}e.DES=o._createHelper(d);var f=i.TripleDES=o.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(r.create(t)),this._des2=d.createEncryptor(r.create(n)),this._des3=d.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(f)}(),n.TripleDES)},7843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.version=e=>{let t=0;return idbases.forEach(r=>{r.name===e&&(t=r.version)}),t}},8056:function(e,t,r){var n;e.exports=(n=r(9021),function(){var e=n,t=e.lib,r=t.WordArray,o=t.Hasher,i=e.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),d=r.create([1352829926,1548603684,1836072691,2053994217,0]),p=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,p,b,x,w,D,C,S,_,k,P,M=this._hash.words,T=u.words,j=d.words,E=a.words,A=s.words,O=l.words,N=c.words;for(D=i=M[0],C=p=M[1],S=b=M[2],_=x=M[3],k=w=M[4],r=0;r<80;r+=1)P=i+e[t+E[r]]|0,P+=r<16?h(p,b,x)+T[0]:r<32?f(p,b,x)+T[1]:r<48?m(p,b,x)+T[2]:r<64?v(p,b,x)+T[3]:g(p,b,x)+T[4],P=(P=y(P|=0,O[r]))+w|0,i=w,w=x,x=y(b,10),b=p,p=P,P=D+e[t+A[r]]|0,P+=r<16?g(C,S,_)+j[0]:r<32?v(C,S,_)+j[1]:r<48?m(C,S,_)+j[2]:r<64?f(C,S,_)+j[3]:h(C,S,_)+j[4],P=(P=y(P|=0,N[r]))+k|0,D=k,k=_,_=y(S,10),S=C,C=P;P=M[1]+b+_|0,M[1]=M[2]+x+k|0,M[2]=M[3]+w+D|0,M[3]=M[4]+i+C|0,M[4]=M[0]+p+S|0,M[0]=P},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,r){return e^t^r}function f(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function v(e,t,r){return e&r|t&~r}function g(e,t,r){return e^(t|~r)}function y(e,t){return e<<t|e>>>32-t}e.RIPEMD160=o._createHelper(p),e.HmacRIPEMD160=o._createHmacHelper(p)}(Math),n.RIPEMD160)},8124:function(e,t,r){var n;e.exports=(n=r(9021),r(7165),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},8330:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"2.0.5","description":"dphelper devtools, data management for developers by Dario Passariello","homepage":"https://a51.gitbook.io/dphelper","copyright":"Dario Passariello","license":"MIT","main":"./index.js","deprecated":false,"preferGlobal":true,"target":"web","language":{"en":{}},"app":{"displayName":"dphelper","port":3000,"code":"vulkan","type":"gold","codeRelease":"dphelper","name":"dphelper","folder":"/","target":"web","proxy":{"api":{"tst":"http://localhost:5003/","dev":"https://a51.dev/","pro":"https://a51.dev/"}},"socket":{"url":{"tst":"wss://ws.a51.dev/","dev":"wss://ws.a51.dev/","pro":"wss://ws.a51.dev/"}},"url":{"dev":"http://localhost/"},"cdn":{}},"author":{"name":"Dario Passariello","url":"https://dario.passariello.ca/","email":"dariopassariello@gmail.com"},"support":{"name":"Dario Passariello","url":"https://github.com/passariello/","email":"dariopassariello@gmail.com"},"company":{},"contributors":[{"name":"Dario Passariello","email":"dariopassarielloa@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"workspaces":[".dev"],"npmName":"dphelper","npmFileMap":[{"basePath":"./dist/","files":["*.js"]}],"globals":{"dphelper":{},"jQuery":{},"$":{}},"browserslist":{"production":["last 2 Chrome major versions","last 2 Firefox major versions","last 2 Safari major versions","last 2 Edge major versions","last 2 Opera versions","last 2 iOS major versions","last 1 Explorer major version","last 1 ChromeAndroid version","last 1 UCAndroid version","last 1 Samsung version","last 1 OperaMini version","Firefox ESR",">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"keywords":["dphelper","helper","utils","tools","uuid","random","window","store","observer","easy","pro","powerful","state","status","dp helper","local","storage","indexdb","idb","devtool","dario","passariello"],"bugs":{"url":"https://github.com/a51-dev/a51.dphelper.public/issues"},"funding":[{"type":"patreon","url":"https://www.patreon.com/passariello"}],"scripts":{"build":"webpack --progress --profile --color --mode=production --config webpack.ts","watch":"webpack --watch --progress --profile --color --mode=development --config webpack.ts","-----------":"","npm:publish":"npm run build && cd dist && ls -al && npm publish"},"engines":{"node":">=18","pnpm":">=10"},"esnext:main":"./index.js","types":"./index.d.ts","typings":"./types/*","exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./package.json":"./package.json","./*":"./*"},"dependencies":{"dphelper.types":"0.0.20","memorio":"1.2.6"},"devDependencies":{"@eslint/js":"9.39.1","@types/node":"^24.10.1","@types/webpack-env":"1.18.8","@typescript-eslint/eslint-plugin":"8.48.0","@typescript-eslint/parser":"8.48.0","ajv":"8.17.1","copy-webpack-plugin":"^13.0.1","crypto-js":"4.2.0","eslint":"9.39.1","file-loader":"6.2.0","jquery":"3.7.1","terser-webpack-plugin":"^5.3.14","ts-loader":"^9.5.4","ts-node":"10.9.2","tslib":"^2.8.1","typescript":"5.9.3","webpack":"^5.103.0","webpack-cli":"6.0.1","webpack-dev-server":"^5.2.2"}}')},8454:function(e,t,r){var n,o;e.exports=(o=r(9021),r(7165),o.mode.ECB=((n=o.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),o.mode.ECB)},8527:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),dphelper.credits=e=>{console.groupCollapsed(`%c${e.name} v${e.version}%c`,"color:orange",""),console.debug(`%c${e.name} v${e.version}%c by Dario Passariello started`,"color:orange",""),console.debug(`%cType ${e.name} in this console to see it`,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()},Object.defineProperty(dphelper,"credits",{writable:!1,enumerable:!1,configurable:!1})},8584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=6371e3,n={degreesToRadians:e=>e*Math.PI/180,latToMeters:e=>{if(Array.isArray(e))return r*Math.cos(e[0])*Math.cos(e[1])/1e3},toVector:e=>{if(Array.isArray(e))return[r*Math.cos(e[1]*Math.PI/180)*Math.cos(e[0]*Math.PI/180),r*Math.cos(e[1]*Math.PI/180)*Math.sin(e[0]*Math.PI/180),r*Math.sin(e[2]*Math.PI/180)]},convertToDecDegrees:(e,t,r,n)=>{let o=e+t/60+r/3600;return"S"!==n&&"W"!==n||(o*=-1),o},distance:(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const n=e[0]*Math.PI/180,o=t[0]*Math.PI/180,i=(t[0]-e[0])*Math.PI/180,a=(t[1]-e[1])*Math.PI/180,s=Math.sin(i/2)*Math.sin(i/2)+Math.cos(n)*Math.cos(o)*Math.sin(a/2)*Math.sin(a/2),l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)),c=r*l;return{km:Number((c/1e3).toFixed(2)),Mi:Number((c/1e3*.621371).toFixed(2)),nMi:Number((c/1e3/1.852).toFixed(2))}},polarToCartesian:(e,t,r,n)=>{const o=(n-90)*Math.PI/180;return{x:e+r*Math.cos(o),y:t+r*Math.sin(o)}},mapDegreesToPixels:(e,t,r,n,o,i)=>{const a=o-i/10/2-(n+(e-t)/(r-t)*(o-n)-i);return a<i?i:a}};dphelper.setDescription({name:"coords",active:!0,subCommand:[{name:"degreesToRadians",version:"0.0.1",example:"dphelper.coords.degreesToRadians(45)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Convert degrees to radians",subCommand:[]},{name:"latToMeters",version:"0.0.1",example:"dphelper.coords.latToMeters([40.689202777778, -74.044219444444])",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Convert latitude to meters",subCommand:[]},{name:"toVector",version:"0.0.1",example:"dphelper.coords.toVector([40.689202777778, -74.044219444444, 1])",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Convert coordinates to vector",subCommand:[]},{name:"convertToDecDegrees",version:"0.0.1",example:"dphelper.coords.convertToDecDegrees([39, 5, 59, 'N'])",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Convert coordinates to decimal degrees",subCommand:[]},{name:"distance",version:"0.0.1",example:"dphelper.coords.distance([40.718788808171105, -74.0114768663747],[38.909309636475875, -77.01712459058946])",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"\n Haversine formula:\n a = sin²(Δφ/2) + cos φ1 ⋅ cos φ2 ⋅ sin²(Δλ/2)\n c = 2 ⋅ atan2( √a, √(1-a) )\n d = R ⋅ c\n where φ is latitude, λ is longitude, R is earth's radius (mean radius = 6,371km);\n note that angles need to be in radians to pass to trig functions!\n ",subCommand:[]},{name:"polarToCartesian",version:"0.0.1",example:"dphelper.coords.polarToCartesian([centerX, centerY, radius, angleInDegrees])",author:"Dario Passariello",creationDate:"2024-09-28",lastMod:"2024-09-28",type:"function",active:!0,description:"Convert polar coordinates to Cartesian coordinates",subCommand:[]},{name:"mapDegreesToPixels",version:"0.0.1",example:"dphelper.coords.mapDegreesToPixels([degree, minDegree, maxDegree, minPixel, maxPixel, padding])",author:"Dario Passariello",creationDate:"2024-09-28",lastMod:"2024-09-28",type:"function",active:!0,description:"Map degrees to pixels",subCommand:[]}]},n)},8735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={list:()=>cache.log,reg:e=>{cache.log.push({type:"reg",message:e})},debug:e=>{cache.log.push({type:"debug",message:e})},error:e=>{cache.log.push({type:"error",message:e})}};Object.defineProperty(cache,"log",{writable:!1,enumerable:!1,configurable:!1}),dphelper.setDescription({name:"logging",active:!0,subCommand:[{name:"list",version:"0.0.1",example:"dphelper.log.list()",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"List all log entries.",subCommand:[]},{name:"reg",version:"0.0.1",example:"dphelper.log.reg('message')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Log a regular message.",subCommand:[]},{name:"debug",version:"0.0.1",example:"dphelper.log.debug('message')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Log a debug message.",subCommand:[]},{name:"error",version:"0.0.1",example:"dphelper.log.error('message')",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Log an error message.",subCommand:[]}]},r)},8899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={cache:e=>{if("string"!=typeof e)throw new Error("The provided URI must be a string");return e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())}};dphelper.setDescription({name:"avoid",active:!0,subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache()",description:"Appends a cache-busting query parameter to a given URI.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]},r)},8965:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={name:"color",active:!0,subCommand:[{name:"hex",version:"0.0.1",example:"dphelper.color.hex(255)",description:"Converts a number to a hexadecimal string.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"toHex",version:"0.0.1",example:"dphelper.color.toHex([255, 255, 255])",description:"Converts an RGB array to a hexadecimal string.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"toRGB",version:"0.0.1",example:"dphelper.color.toRGB('#ffffff')",description:"Converts a hexadecimal string to an RGB array.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"oleColor",version:"0.0.1",example:"dphelper.color.oleColor('#ffffff')",description:"Converts a hexadecimal string to an OLE color.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]},{name:"gradient",version:"0.0.1",example:"dphelper.color.gradient([colorStart, colorEnd, colorCount])",description:"Generates a gradient between two colors.",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,subCommand:[]}]};dphelper._list.scripts.push(r);const n={hex:e=>{const t="0123456789abcdef";let r=parseInt(e.toString());return 0==r||Number.isNaN(r)?"00":(r=Math.round(Math.min(Math.max(0,r),255)),t.charAt((r-r%16)/16)+t.charAt(r%16))},toHex:e=>dphelper.color.hex(e[0])+dphelper.color.hex(e[1])+dphelper.color.hex(e[2]),toRGB:e=>{const t=[];return t[0]=parseInt(dphelper.text.trim(e,"#",1,7).substring(0,2),16),t[1]=parseInt(dphelper.text.trim(e,"#",1,7).substring(2,4),16),t[2]=parseInt(dphelper.text.trim(e,"#",1,7).substring(4,6),16),t},oleColor:e=>{const t=e.replace("#","").match(/.{1,2}/g);return(parseInt(t[0],16)+256*parseInt(t[1],16)+65536*parseInt(t[2],16)).toString()},gradient:(e,t,r)=>{const n=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=r,a=[];let s=0;const l=[];for(let e=0;e<i;e++)s+=1/i,l[0]=n[0]*s+(1-s)*o[0],l[1]=n[1]*s+(1-s)*o[1],l[2]=n[2]*s+(1-s)*o[2],a.push(dphelper.color.toHex(l));return a}};dphelper.setDescription(r,n)},9021:function(e,t,r){var n;e.exports=(n=n||function(e){var t;if("undefined"!=typeof window&&window.crypto&&(t=window.crypto),"undefined"!=typeof self&&self.crypto&&(t=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(t=globalThis.crypto),!t&&"undefined"!=typeof window&&window.msCrypto&&(t=window.msCrypto),!t&&void 0!==r.g&&r.g.crypto&&(t=r.g.crypto),!t)try{t=r(477)}catch(e){}var n=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),i={},a=i.lib={},s=a.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=a.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new l.init(t,e)}}),c=i.enc={},u=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var i=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*c,i);if(c){for(var d=0;d<c;d+=a)this._doProcessBlock(o,d);r=o.splice(0,c),n.sigBytes-=u}return new l.init(r,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(a.Hasher=h.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}}),i.algo={});return i}(Math),n)},9023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.support=()=>{if("indexedDB"in window)return!0;console.error("Your browser doesn't support IndexedBD")}},9029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={convertMatrixToScale:e=>{e=(e=(e=e.split("(")[1]).split(")")[0]).split(",");const t=parseFloat(e[0]),r=parseFloat(e[1]);return Math.sqrt(t*t+r*r)}};dphelper.setDescription({name:"translators",active:!0,subCommand:[{name:"convertMatrixToScale",version:"0.0.1",example:"dphelper.translators.convertMatrixToScale({value})",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Converts a transformation matrix to a scale value.",subCommand:[]}]},r)},9250:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={url:e=>fetch(`https://a51.dev/dns/status.php?domain=${e}`).then(e=>e.json()).then(e=>(console.table(e),e)).catch(t=>{console.error(`Error checking status for ${e}:`,t)}),version:(e,t,r)=>{if(!e||!t)return NaN;const n=r&&r.lex,o=r&&r.zero;let i=e.split("."),a=t.split(".");function s(e){return(n?/^\d+[A-Za-z]*$/:/^\d+$/).test(e)}if(!i.every(s)||!a.every(s))return NaN;if(o){for(;i.length<a.length;)i.push("0");for(;a.length<i.length;)a.push("0")}n||(i=i.map(Number),a=a.map(Number));for(let e=0;e<i.length;++e){if(a.length==e)return 1;if(i[e]!=a[e])return i[e]>a[e]?1:-1}return i.length!=a.length?-1:0},npmVer:async(e="dphelper")=>{const t=`https://registry.npmjs.org/${e}/latest`;return await fetch(t).then(e=>e.json()).then(e=>e).catch(t=>{console.error(`Error fetching npm version for ${e}:`,t.message)})}};dphelper.setDescription({name:"check",active:!0,subCommand:[{name:"url",version:"0.0.1",example:"dphelper.check.url([domain])",description:"Checks the status of a domain.",author:"Dario Passariello",creationDate:"20240829",lastMod:"20240829",type:"function",active:!0,subCommand:[]},{name:"version",version:"0.0.1",example:"dphelper.check.version([v1], [v2], [opts])",description:"Compares two versions.",author:"Dario Passariello",creationDate:"20240829",lastMod:"20240829",type:"function",active:!0,subCommand:[]},{name:"npmVer",version:"0.0.1",example:"dphelper.check.npmVer([npm])",description:"Fetches the latest version of an npm package.",author:"Dario Passariello",creationDate:"20240829",lastMod:"20240829",type:"function",active:!0,subCommand:[]}]},r)},9312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.exist=e=>void 0!==idbases?.find(t=>t.name===e)},9506:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(u=r(9021),r(5471),r(1025),i=(o=(n=u).lib).Base,a=o.WordArray,l=(s=n.algo).MD5,c=s.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),i=a.create(),s=i.words,l=n.keySize,c=n.iterations;s.length<l;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var u=1;u<c;u++)r=o.finalize(r),o.reset();i.concat(r)}return i.sigBytes=4*l,i}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},u.EvpKDF)},9557:function(e,t,r){var n,o,i,a,s,l,c,u;e.exports=(u=r(9021),r(3240),r(1380),o=(n=u).x64,i=o.Word,a=o.WordArray,s=n.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=l._createHelper(c),n.HmacSHA384=l._createHmacHelper(c),u.SHA384)},9567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={info:()=>"Created by Dario Passariello",start:(e,t,r="general")=>{state.ws={},state.ws[r],dphelper.socket.connect(t,r),dphelper.socket.receive(e,r)},conn:(e,t,r)=>{if(e&&t)try{const n=new WebSocket(t);return n.binaryType="blob",n.onmessage=e=>{"reload"===e.data&&(setTimeout(()=>location.reload(),300),setTimeout(()=>{n.close(),location.reload()},300))},[n,e,r]}catch(e){}else console.debug("please use connect!")},connect:(e,t)=>{e&&dphelper.socket.open(dphelper.security.uuid.v5,e,t)},open:(e,t,r)=>{if(e)try{const n=dphelper.socket.conn(e,t,r);state.ws[r]=n,n[0].onopen=()=>dphelper.log.reg(e+" connected"),n[0].onclose=e=>dphelper.log.debug(e.wasClean?"Disconnected":"Connection break: "+(e.reason||e.code)),n[0].onerror=e=>dphelper.log?.error(e)}catch(e){}},send:(e,t="reg",r)=>{if(state.ws[r]?.[1]&&e)try{const n=state.ws[r],o=n[0],i=n[1],a=t?`{"${t}":"(${i}:${e})"}`:e;o.send(a)}catch(e){}},ping:e=>{if(state.ws[e]?.[1])try{const t=state.ws[e];t?.[0]?.send('{"debug":"__ping__"}')}catch(e){}},receive:(e=null,t)=>{if(state.ws[t]?.[1])try{state.ws[t][0].addEventListener("message",t=>{if(t.source===window&&t.origin===String(location.origin)){try{e&&$(e).prepend(dphelper.sanitize.html(String(Object.values(JSON.parse(t.data))[0])))}catch(e){}dphelper.log.reg(t.data)}})}catch(e){}},keepAlive:e=>{try{let t;const r=state.ws[e][0],n=(r=5e3)=>{t=setTimeout(()=>{dphelper.socket.ping(e)},r)},o=()=>{clearTimeout(t)};r.onopen=function(){setInterval(n,3e4)},r.onmessage=function(e){try{return void("__ping__"===Object.values(JSON.parse(e.data))[0]&&o())}catch(e){}}}catch(e){}},check:()=>{try{const e=WebSocket.prototype.send;dphelper._list.sockets=[],WebSocket.prototype.send=function(...t){return-1===dphelper._list.sockets.indexOf(this)&&dphelper._list.sockets.push(this),e.call(this,...t)}}catch(e){}},list:()=>dphelper._list.sockets};dphelper.setDescription({name:"socket",active:!0,subCommand:[{name:"info",version:"0.0.1",example:"dphelper.socket.info(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Retrieve socket information",subCommand:[]},{name:"start",version:"0.0.1",example:"dphelper.socket.start(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Start a socket connection",subCommand:[]},{name:"conn",version:"0.0.1",example:"dphelper.socket.conn(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Manage socket connections",subCommand:[]},{name:"connect",version:"0.0.1",example:"dphelper.socket.connect(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Connect to a socket",subCommand:[]},{name:"open",version:"0.0.1",example:"dphelper.socket.open(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Open a socket connection",subCommand:[]},{name:"send",version:"0.0.1",example:"dphelper.socket.send(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Send data through a socket",subCommand:[]},{name:"receive",version:"0.0.1",example:"dphelper.socket.receive(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Receive data from a socket",subCommand:[]},{name:"keepAlive",version:"0.0.1",example:"dphelper.socket.keepAlive(...)",author:"Dario Passariello",creationDate:"2021-01-01",lastMod:"2021-01-01",type:"function",active:!0,description:"Keep the socket connection alive",subCommand:[]},{name:"check",version:"0.0.1",example:"dphelper.socket.check()",author:"Dario Passariello",creationDate:"2023-05-27",lastMod:"2023-05-27",type:"function",active:!0,description:"Check how many websocket connections are open",subCommand:[]},{name:"list",version:"0.0.1",example:"dphelper.socket.list()",author:"Dario Passariello",creationDate:"2023-05-27",lastMod:"2023-05-27",type:"function",active:!0,description:"List all websocket connections in real-time",subCommand:[]}]},r),dphelper.socket.check()},9622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={select:(e="body")=>{$(e).on("mousedown",e=>{if(!$(e.target).is("input, button, select, textarea, .selectable *"))return $("*").trigger("blur"),e.preventDefault(),!1;$("img, a, input, button").on("dragstart",e=>(e.preventDefault(),!1))}),console.debug("%cSelection Disabled: %c"+!0,"color:orange","")},spellCheck:(e=5e3)=>{setInterval(()=>{document.querySelectorAll("input[type=text], textarea, code").forEach(e=>{e.getAttribute("spellcheck")||e.setAttribute("spellcheck","false")})},e)},rightClick:(e="body")=>{$(e).on("contextmenu",function(e){e.preventDefault()})},copy:(e="body")=>{$(e).on("copy",function(e){e.preventDefault()})},paste:(e="body")=>{$(e).on("paste",function(e){e.preventDefault()})},cut:(e="body")=>{$(e).on("cut",function(e){e.preventDefault()})},drag:(e="body")=>{$(e).on("dragstart",function(e){e.preventDefault()})}};dphelper.setDescription({name:"disable",active:!0,subCommand:[{name:"select",version:"0.0.1",example:"dphelper.disable.select([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable text selection on the specified element.",subCommand:[]},{name:"spellCheck",version:"0.0.1",example:"dphelper.disable.spellCheck([tmr = 5000])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable spell check on the specified element after a delay.",subCommand:[]},{name:"rightClick",version:"0.0.1",example:"dphelper.disable.rightClick([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable right-click context menu on the specified element.",subCommand:[]},{name:"copy",version:"0.0.1",example:"dphelper.disable.copy([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable copy functionality on the specified element.",subCommand:[]},{name:"paste",version:"0.0.1",example:"dphelper.disable.paste([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable paste functionality on the specified element.",subCommand:[]},{name:"cut",version:"0.0.1",example:"dphelper.disable.cut([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable cut functionality on the specified element.",subCommand:[]},{name:"drag",version:"0.0.1",example:"dphelper.disable.drag([el = 'body'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Disable drag functionality on the specified element.",subCommand:[]}]},r)},9799:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),idb.quota=()=>navigator.storage.estimate()},9990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={all:(e,t="")=>{e&&(t&&!window[t]&&(window[t]=[]),e.keys().forEach(r=>{r&&(t&&window[t].push(r),e(r))}))},file:()=>{},fileToElement:async(e,t)=>{try{const r=await dphelper.load.file(t),n=document.querySelector(e);n?n.innerHTML=dphelper.sanitize.html(r):console.error(`Element not found: ${e}`)}catch(e){console.error("Error loading file to element:",e)}},json:async e=>{try{const t=await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error(`Failed to load JSON file: ${t.statusText}`);return await t.json()}catch(e){throw console.error("Error loading JSON file:",e),e}},remote:async(e,t="GET",r={})=>{try{const n=await fetch(e,{method:t,headers:r});if(!n.ok)throw new Error(`Failed to fetch remote data: ${n.statusText}`);return await n.json()}catch(e){throw console.error("Error fetching remote data:",e),e}},script:(e,t="html")=>{const r=document.querySelector(t);r?e.forEach(e=>{const t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,r.appendChild(t)}):console.error(`Element not found: ${t}`)},toJson:(e,t="")=>{const r={};e&&(t&&(r[t]=[]),e.keys().forEach(n=>{n&&(t&&r[t].push(n),e(n))}),r[t]&&Object.defineProperty(window,t,{value:dphelper.array.pathToJson(r[t]),writable:!1,enumerable:!1,configurable:!1}))}};dphelper.setDescription({name:"load",active:!0,subCommand:[{name:"all",version:"0.0.1",example:"dphelper.load.all(require['context']('Scripts', true, /.(js|ts)$/) [, 'cacheName'])",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Load all files from a specific folder based on a specific extension. If you add a 'cacheName', the list is stored in cache.",subCommand:[]},{name:"file",version:"0.0.1",example:"dphelper.load.file(filePath)",author:"Dario Passariello",creationDate:"20240101",lastMod:"20240101",type:"function",active:!0,description:"Load a specific file.",subCommand:[]},{name:"fileToElement",version:"0.0.1",example:"dphelper.load.fileToElement(filePath, elementSelector)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Load a file and insert its content into an element.",subCommand:[]},{name:"json",version:"0.0.1",example:"dphelper.load.json(filePath)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Load a JSON file.",subCommand:[]},{name:"remote",version:"0.0.1",example:"dphelper.load.remote(path, method, headers)",author:"Dario Passariello",creationDate:"20210101",lastMod:"20210101",type:"function",active:!0,description:"Fetch data from a remote path.",subCommand:[]},{name:"script",version:"0.0.1",example:"dphelper.load.script(scripts, elementSelector)",author:"Dario Passariello",creationDate:"20240525",lastMod:"20240525",type:"function",active:!0,description:"Append script tags to an element.",subCommand:[]},{name:"toJson",version:"0.0.1",example:"dphelper.load.toJson(require.context('./src/router', true, /.(ts)$/), 'router')",author:"Dario Passariello",creationDate:"20250101",lastMod:"20250101",type:"function",active:!0,description:"Create JSON from folder recursion.",subCommand:[]}]},r)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";(0,r(1635).__importDefault(r(423)).default)()})()})();