dphelper 0.2.83 → 0.2.86

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.
@@ -1,3 +1,11 @@
1
+ /*!
2
+ dpHelper
3
+ Copyright (c) 2021 Dario Passariello.
4
+ Licensed under the APACHE-2 License, see
5
+ http://dario.passariello.ca
6
+ */
7
+
8
+
1
9
  Apache License
2
10
  Version 2.0, January 2004
3
11
  http://www.apache.org/licenses/
@@ -198,4 +206,4 @@ Apache License
198
206
  distributed under the License is distributed on an "AS IS" BASIS,
199
207
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
208
  See the License for the specific language governing permissions and
201
- limitations under the License.
209
+ limitations under the License.
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e={7757:(e,t,n)=>{e.exports=n(5666)},4657:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}n.r(t);var i=n(1002);function a(e,t){if(t&&("object"===(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},u.apply(null,arguments)}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},l(e)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}n(891);var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(s,e);var t,n,i,a=p(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this)}return t=s,(n=[{key:"connectedCallback",value:function(){console.log("hello"),this.style.color="red"}},{key:"disconnectedCallback",value:function(){console.log("bye"),window.addEventListener("beforeunload",(function(e){e.preventDefault(),e.returnValue=""}))}}])&&r(t.prototype,n),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(l(HTMLElement));window.customElements.define("x-foo",d),customElements.whenDefined("x-foo").then((function(){}))},891:()=>{},8851:(e,t,n)=>{"use strict";n(1175)},1175:(e,t,n)=>{!function(){n(4657),n(4861);var e=n(4147),t=t||event;dphelper._list=n(7152),dphelper._list.scripts=[],dphelper._list.version=e.version;var r={};dphelper.api={};!function(e){e.keys().forEach((function(t){return r[t]=e(t)}))}(n(8501)),console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"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("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}()},4014:()=>{dphelper._list.scripts.push({name:"Anchor",type:"function",version:"0.0.1",command:"anchor",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",active:!0,description:"\n This tools 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.",subCommand:[{name:"toOnClick",version:"0.0.1",example:"dphelper.anchor.toOnClick('nav') or ('.foo') or ('#foo')",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.anchor={toOnClick:function(e){$(e+" a").each((function(e){var t=$(this),n=t.attr("href");n&&t.on("mouseup",(function(){Loader("body",null)})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(n),dphelper.browser.push("","",n)}))}))}}},5049:(e,t,n)=>{"use strict";n.r(t);var r=n(1002),o=n(2982);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}dphelper._list.scripts.push({name:"Array",version:"0.0.1",command:"array",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",type:"object",active:!0,description:"",subCommand:[{name:"find",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"unique",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"delete",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"merge",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"asc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"desc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"even",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"odd",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.array={find:function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.id===e)return o;if(o.children){var a=dphelper.array.find(e,o.children);if(a)return a}}}catch(e){r.e(e)}finally{r.f()}return!1},unique:function(e){var t=(0,o.Z)(new Set(e));return t},delete:function(e,t){t.some((function t(n,o,i){if(n.Id===e)return i.splice(o,1),!0;for(var a=0,s=Object.keys(n);a<s.length;a++){var c=n[s[a]];if(c.length&&"object"===(0,r.Z)(c))return c&&c.map(t)}}))},merge:function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]instanceof Object&&t[o]&&Object.assign(e[o],dphelper.mergeArrays(t[o],e[o]))}return Object.assign(t||{},e),t},asc:function(e){return e.sort((function(e,t){return e-t})),e},desc:function(e){return e.sort((function(e,t){return t-e})),e},duplicates:function(e){var t;return(t=e).filter((function(e,n){return t.indexOf(e)!==n}))},even:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2==0&&t.push(e[n]);return t},odd:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2&&t.push(e[n]);return t},toObj:function(e){return Object.assign({},e)}}},4586:()=>{dphelper._list.scripts.push({name:"Avoid",description:"",version:"0.0.1",command:"avoid",subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache",type:"function",active:!0,description:"test",subCommand:[]}],example:"",author:"Dario Passariello",active:!0}),dphelper.avoid={cache:function(e){return e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())}}},2108:()=>{dphelper._list.scripts.push({name:"Browser",version:"0.0.1",command:"browser",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"state",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"forw",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"back",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"reload",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"href",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.browser={state:function(e,t,n){return history.pushState(e,t,n)},forw:function(e){return history.go(e)},back:function(e){return history.go(-Math.abs(e))},reload:function(){return window.location.href=window.location.href},href:function(e){return window.location.href=e}}},4218:()=>{dphelper._list.scripts.push({name:"Color",version:"0.0.1",command:"color",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"hex",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"toHex",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"toRGB",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"gradient",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.color={hex:function(e){var t="0123456789abcdef",n=parseInt(e);return 0==n||isNaN(e)?"00":(n=Math.round(Math.min(Math.max(0,n),255)),t.charAt((n-n%16)/16)+t.charAt(n%16))},toHex:function(e){return dphelper.color.hex(e[0])+dphelper.color.hex(e[1])+dphelper.color.hex(e[2])},toRGB:function(e){var 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},gradient:function(e,t,n){for(var r=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=n,a=0,s=[],c=0;c<i;c++){var u=[];a+=1/i,u[0]=r[0]*a+(1-a)*o[0],u[1]=r[1]*a+(1-a)*o[1],u[2]=r[2]*a+(1-a)*o[2],s.push(dphelper.color.toHex(u))}return s}}},8603:()=>{dphelper._list.scripts.push({name:"Console",description:"",version:"0.0.1",command:"console",subCommand:[{name:"info",description:"test"},{name:"stop",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.console={info:function(e,t,n){console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,dphelper[n]),console.groupEnd()},stop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["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.clear(),console.disableYellowBox=!0,console={},console.log=function(){},window.console=console,window.console||(window.console={});var t=function(){};e.forEach((function(e){window.console[e]=t}))}}},68:()=>{dphelper.console.debug=function(e){if(!e)throw Error("Parent dom element required!");var t=!1,n=console.log,r=console.info,o=console.warn,i=console.error,a=function(e){var t=Array.prototype.slice.call(arguments[1]).join(" ");t=e===s.WARN?'<font color="#FF6600">* WARN: '+t:e===s.ERR?'<font color="#FF0000">* ERR: '+t:"* "+t,this.domElement.innerHTML+=t+"<br/>",this.autoScroll&&this.visible&&(this.domElement.scrollTop=this.domElement.scrollHeight)},s={LOG:0,INFO:1,WARN:2,ERR:3};this.autoScroll=!0,this.disableConsoleLogging=!1;var c=document.createElement("div");c.id="debugConsole",e.appendChild(c),this.domElement=c,this.initKeyMappings=function(){t?console.warn("DebugConsole: keys already mapped!"):(dphelper.state("toggle_console",function(){this.visible=!this.visible}.bind(this)),t=!0)},this.overrideConsole=function(){console.log=function(){this.disableConsoleLogging||(a.call(this,s.LOG,arguments),n.apply(console,arguments))}.bind(this),console.info=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.INFO,arguments),r.apply(console,arguments))}.bind(this),console.warn=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.WARN,arguments),o.apply(console,arguments))}.bind(this),console.error=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.ERR,arguments),i.apply(console,arguments))}.bind(this),window.onerror=function(e,t,n){var r=[e," in <a href='",t,"' target='_blank'>",t.split("/").pop(),"</a>:",n];return console.error(r.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:!0}})}},2955:()=>{dphelper._list.scripts.push({name:"Coords",description:"",version:"0.0.1",command:"coords",subCommand:[{name:"degreesToRadians",description:"test"},{name:"latToMeters",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e=6378.1;dphelper.coords={degreesToRadians:function(e){return e*(Math.PI/180)},latToMeters:function(t,n){return e*Math.cos(t)*Math.cos(n)},lngToMeters:function(t,n){return e*Math.cos(t)*Math.sin(n)}}},1415:()=>{dphelper._list.scripts.push({name:"Cookie",description:"",version:"0.0.1",command:"cookie",subCommand:[{name:"set",description:"test"},{name:"get",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e="false";"https:"===location.protocol&&(e="Secure"),dphelper.cookie={set:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=new Date;i.setTime(i.getTime()+31536e6),r||(r=i.toGMTString()),t&&(document.cookie=t+"="+n+";expires="+r+";path="+o+";SameSite="+"false;requireSSL="+e+";"+e)},get:function(e){for(var t=document.cookie.split("; "),n=0;n<t.length;n++){var r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:function(t){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;SameSite="+"false;requireSSL="+e+";"+e},clearAll:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],r=n.indexOf("="),o=r>-1?n.slice(0,r):n;stpro.cookie.delete(o)}}}},2008:()=>{dphelper._list.scripts.push({name:"Date",description:"",version:"0.0.1",command:"date",subCommand:[{name:"toIso",description:"test"},{name:"toMMDDYYYY",description:"test"},{name:"convert",description:"test"},{name:"iso2Epoch",description:"test"},{name:"localIsoTime",description:"test"},{name:"utc",description:"test"},{name:"parse",description:"test"},{name:"year",description:"actual year"},{name:"addDays",description:"actual year"},{name:"dateTimeToString",description:"actual year"},{name:"datePickerFormat",description:"actual year"},{name:"isoToHuman",description:"actual year"}],example:"",author:"Dario Passariello",active:!0}),dphelper.date={toIso:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");var n=new Date(e);if("Invalid Date"==n)return null;var r=new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"});return r.format(n)},toMMDDYYYY:function(e){e||(e="");var t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},convert:function(e,t){if(!e)return null;t||(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);var n=e.substring(0,2).replace("0",""),r=e.substring(2,4),o=e.substring(e.length-4);return r+" "+t[Number(n)-1]+" "+o},iso2Epoch:function(e){return e||(e=""),new Date(e).getTime()},localIsoTime:function(e){e||(e="");var t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:function(){return moment().toISOString()},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;var n=e.substring(0,2),r=e.substring(2,4),o=e.substring(4,8);return n+t+r+t+o},year:function(){return/\d{4}/.exec(Date())[0]},addDays:function(e,t){var n=new Date(Number(e));return n.setDate(e.getDate()+t),n},dateTimeToString:function(e){try{return"".concat(e.getFullYear()).concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1)).concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()),"_").concat(e.getHours()).concat(e.getMinutes()).concat(e.getSeconds())}catch(t){return e}},datePickerFormat:function(e){try{return"".concat(e.getFullYear(),"-").concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1),"-").concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()))}catch(t){return e}},isoToHuman:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";if(!e)return null;var n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=new Date(e),o=r.getFullYear(),i=(r.getMonth()+1).toString(),a=r.getDate().toString(),s=e.split("T")[1].split(":").slice(0,2).join(":");return a.length<2&&(a="0"+a),i.length<2&&(i="0"+i),a+" "+n[Number(i)-1]+" "+o+" "+t+" "+s}}},6556:()=>{dphelper._list.scripts.push({name:"Disable",description:"",version:"0.0.1",command:"disable",subCommand:[{name:"select",description:"test"},{name:"spellCheck",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.disable={select:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=function(e){$(e).each((function(e){$(this).prop("unselectable","on").css("MozUserSelect","none").css("WebKitUserSelect","none").on("select",(function(){return!1})).on("selectstart",(function(){return!1})),$("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))}))};document.querySelector(e).addEventListener("mousedown",(function(n){t(e)}),!1),document.querySelector(e).onmousedown=function(n){t(e)},console.debug("%cSelection Disabled: %c"+!0,"color:orange","")},spellCheck:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;setInterval((function(){for(var e=document.querySelectorAll("input[type=text], textarea, code"),t=0;t<e.length;t++)e[t].getAttribute("spellcheck")||e[t].setAttribute("spellcheck","false")}),e)}}},4638:()=>{},7445:()=>{dphelper._list.scripts.push({name:"Event",description:"",version:"0.0.1",command:"event",subCommand:[{name:"multi",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.event={multi:function(e,t,n){for(var r=t.split(" "),o=0,i=r.length;o<i;++o)e.addEventListener(r[o],n,!1)}}},3897:()=>{dphelper._list.scripts.push({name:"Font",description:"",version:"0.0.1",command:"font",subCommand:[{name:"fitContainer",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.font={fitContainer:function(e){e&&dphelper.addListenerMulti(window,"load resize",(function(){!function(){var t=document.querySelectorAll(e);if(!(t.length<=0))for(var n=0;n<t.length;n++){var r=.05*t[n].offsetWidth;t[n].style.fontSize=r+"px"}}()}))}}},9210:function(e,t,n){var r=this;dphelper._list.scripts.push({name:"Form",description:"",version:"0.0.1",command:"form",subCommand:[{name:"serialize",description:"test"},{name:"confirmType",description:"test"},{name:"required",description:"test"},{name:"minLength",description:"test"},{name:"maxLength",description:"test"},{name:"maxPhoneNumber",description:"test"},{name:"isNumeric",description:"test"},{name:"isEmail",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.form={serialize:function(e){var t=n(9755),o=r,i=o,a={},s={},c={validate:/[a-zA-Z][a-zA-Z0-9-_.]/,key:/[a-zA-Z0-9_]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_]+$/};return o.build=function(e,t,n){return e[t]=isNaN(n)||Array.isArray(n)?n:Number(n),e},o.push_counter=function(e){return void 0===s[e]&&(s[e]=0),s[e]++},t.each(t(o).serializeArray(),(function(){if(c.validate.test(o.name)){var e,n=o.name.match(c.key),r=o.value,s=o.name;for("false"===r&&(r=Boolean(!1)),"true"===r&&(r=Boolean(!0)),"off"===r&&(r=Boolean(!1)),"on"===r&&(r=Boolean(!0)),"[]"===r&&(r=[]),"{}"===r&&(r={}),"undefined"===r&&(r=void 0),"null"===r&&(r=null),""===r&&(r="");void 0!==(e=n.pop());)s=s.replace(new RegExp("\\["+e+"\\]$"),""),e.match(c.push)?r=i.build([],i.push_counter(s),r):e.match(c.fixed)?r=i.build([],e,r):e.match(c.named)&&(r=i.build({},e,r));a=t.extend(!0,a,r)}})),a},confirmType:function(e,t){return"number"===e?new RegExp(/^\d+$/).test(t.toString()):"email"!==e||new RegExp(/^(([^<>()[\]\\.,;:\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:function(e){return null==e?"Required":void 0},minLength:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0},maxLength:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0},maxPhoneNumber:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e||null===(t=e.toString())||void 0===t?void 0:t.length)>n?"Exceeds Max Length":void 0},isNumeric:function(e){return!isNaN(e)&&e},isEmail:function(e){var t=new RegExp(/^(([^<>()[\]\\.,;:\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,}))$/);return t.test(e.toString().toLowerCase())}}},9361:()=>{dphelper._list.scripts.push({name:"Format",description:"",version:"0.0.1",command:"cormat",subCommand:[{name:"convert",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.format={currency:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);var r=new Intl.NumberFormat(t,{style:"currency",currency:n});return r.format(e)}}},8237:()=>{dphelper._list.scripts.push({name:"Func",description:"",version:"0.0.1",command:"func",subCommand:[{name:"new",description:"test"},{name:"toObj.set",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.func={new:function(e,t){args=[e,"return"+t],myFunc=Function.apply(null,args)},toObj:{set:function(e,t){return[e,t]}}}},5553:(e,t,n)=>{"use strict";n.r(t);var r=n(2982),o=n(5861),i=n(7757),a=n.n(i);var s;dphelper._list.scripts.push({name:"iDB",description:"The indexedDB Manager Tools",version:"0.0.1",command:"iDB",subCommand:[{name:"create",description:""},{name:"open",description:""},{name:"store",description:""},{name:"insert",description:""},{name:"update",description:""},{name:"get",description:""},{name:"list",description:"./documents/iDB/list.html"},{name:"toState",description:"./documents/iDB/toState.html"},{name:"version",description:""},{name:"size",description:""},{name:"exist",description:""},{name:"delete",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.iDB={create:function(e,t){if(dphelper.iDB.exist(e))top.alert('Database "'.concat(e,'" already exist'));else{var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){return console.debug(e,"Database create error: "+e.target.errorCode),!1},n.onsuccess=function(n){var r=n.target.result,o=r.version;(r.close(),void 0===dphelper.iDB.version(e))&&(window.indexedDB.open(e,o+1).onupgradeneeded=function(e){var n=e.target.result;0==n.objectStoreNames.length&&(n.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),n.close())});dphelper.iDB.refresh()}}},open:function(e){if(dphelper.iDB.exist(e)){window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB||(console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));var t=window.indexedDB.open(e,dphelper.iDB.version(e));return t.onsuccess=function(e){dphelper.iDB.refresh()},t.onerror=function(e){console.debug("Database open error: "+e.target.errorCode)},t}},insert:function(e,t,n){if(dphelper.iDB.exist(e)){var r=window.indexedDB.open(e,dphelper.iDB.version(e));r.onerror=function(e){console.debug(e,"Database insert error: "+e.target.errorCode)},r.onsuccess=function(e){try{var r=e.target.result;r.transaction([t],"readwrite").objectStore(t).add({value:n}),r.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}}},update:function(e,t,n,r){if(dphelper.iDB.exist(e)){var o=window.indexedDB.open(e,dphelper.iDB.version(e));o.onerror=function(e){console.debug(e,"Database update error: "+e.target.errorCode)},o.onsuccess=function(e){var o=e.target.result.transaction([t],"readwrite").objectStore(t);o.get(+n).onsuccess=function(e){var t=e.target.result;t.value=r;var n=o.put(t);n.onsuccess=function(e){dphelper.iDB.refresh()},n.onerror=function(e){console.debug("Error in updating record")}}}}},get:function(e,t,n){return new Promise((function(r,o){window.indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){var o=e.target.result;0!==o.objectStoreNames.length&&(o.transaction([t],"readwrite").objectStore(t).get(n).onsuccess=function(e){var t=e.target.result;r(t)})}}))},store:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){if(dphelper.iDB.exist(e)){var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)},n.onsuccess=function(n){var r=n.target.result;0!==r.objectStoreNames.length&&(r.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=function(n){var r=n.target.result;if(r){var o=r.primaryKey,i=r.value;store[e]||(store[e]=[]),store[e][t]||(store[e][t]=[]),store[e][t][o]||(store[e][t][o]=[]),store[e][t][o]=i,r.continue()}dphelper.iDB.refresh()})}}})),refresh:function(){dphelper.iDB.toState(),console.debug("iDB refresh")},toState:(s=(0,o.Z)(a().mark((function e(t,n){var r,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&&!n){e.next=6;break}if(t&&n){e.next=4;break}return console.debug("promiseToState: Some data are missed!"),e.abrupt("return");case 4:return setTimeout((0,o.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:state[t]=e.sent;case 3:case"end":return e.stop()}}),e)}))),1e3),e.abrupt("return");case 6:r=[],i=0,indexedDB.databases().then((function(e){Object.entries(e).map((function(e){var t=window.indexedDB.open(e[1].name,dphelper.iDB.version(e[1].version));t.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)};var n={name:"",version:"",tables:[],size:0},s=0;t.onsuccess=function(){var e=(0,o.Z)(a().mark((function e(t){var c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(c=t.target.result).objectStoreNames.length){e.next=3;break}return e.abrupt("return");case 3:c&&c.name&&(n.name=c.name,n.version=c.version,Object.entries(c.objectStoreNames).map(function(){var e=(0,o.Z)(a().mark((function e(t,o){var u,l;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=[],e.next=3,dphelper.iDB.getTableSize(c.name,t[1]);case 3:l=e.sent,u.name=t[1],u.size=l,n.tables.push(Object.assign({},u)),s+=l,n.size=s,i+=s,r.total=i,r.update=dphelper.time.epoch();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),r.push(n)),dphelper.databases=r;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}))}));case 10:case"end":return e.stop()}}),e)}))),function(e,t){return s.apply(this,arguments)}),list:function(){indexedDB.databases().then((function(e){return console.table(e),e}))},version:function(e){indexedDB.databases().then((function(t){t.find((function(t){if(t.name===e)return!0}))}))},size:function(e){for(var t,n=[e],r=0;r<n.length;r++)return t=n[r],dphelper.iDB.getDbSize(t)},exist:function(e){var t;if(null!=(null===(t=dphelper.databases)||void 0===t?void 0:t.find((function(t){return t.name===e}))))return!0},delete:function(e){dphelper.iDB.exist(e)?top.confirm('Are you sure to remove "'.concat(e,'" database?'),(function(){indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(function(){alert("Operation cancelled.")})):top.alert('Database "'.concat(e,'" not exist'))},getTableSize:function(e,t){return new Promise((function(n,r){if(null==e)return r();var o=0,i=(e=event.target.result).transaction([t]).objectStore(t).openCursor();i.onsuccess=function(e){var t=e.target.result;if(t){var r=t.value,i=JSON.stringify(r);o+=i.length,t.continue()}else n(o)}.bind(undefined),i.onerror=function(e){r("error in "+t+": "+e)}}))},getDbSize:function(e){return new Promise((function(t,n){var o,i=indexedDB.open(e,dphelper.iDB.version(e));i.onerror=function(e){console.debug("Error on IndexedDB")},i.onsuccess=function(e){o=e.target.result,function(e,n){var r=e.reduce((function(e,t){return e.push(dphelper.iDB.getTableSize(n,t)),e}),[]);Promise.all(r).then((function(n){var r={};function o(e,t){this.table=e,this.size=t}e.forEach((function(e,t){r[t]=new o(e,dphelper.tool.byteSize(n[t]))}));var i=n.reduce((function(e,t){return e+t}),0);t(parseInt(dphelper.tool.byteSize(i)))}))}((0,r.Z)(o.objectStoreNames),o)}}))},printTableInfo:function(e){var t,n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug("Error on IndexedDB")},n.onsuccess=function(e){t=e.target.result,function(e,t){var n=e.reduce((function(e,n){return e.push(dphelper.iDB.getTableSize(t,n)),e}),[]);Promise.all(n).then((function(t){var n={};function r(e,t){this.table=e,this.size=t}e.forEach((function(e,o){n[o]=new r(e,dphelper.tool.byteSize(t[o]))})),console.table(n);var o=t.reduce((function(e,t){return e+t}),0);console.debug("TOTAL: "+dphelper.tool.byteSize(o))}))}((0,r.Z)(t.objectStoreNames),t)}},printSizes:function(){indexedDB.webkitGetDatabaseNames().onsuccess=function(e){for(var t,n=e.target.result,r=0;r<n.length;r++)t=n.item(r),dphelper.iDB.getDbSize(t)}}}},5142:()=>{dphelper._list.scripts.push({name:"Json",description:"",version:"0.0.1",command:"json",subCommand:[{name:"counter",description:""},{name:"toCsv",description:""},{name:"saveCsvAs",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.json={counter:function(e,t,n){return e?t&&n?Object.keys(jsonObject).length:e.items.filter((function(e){return e.key===n})).lengt:null},toCsv:function(e){var t=e,n=function(e,t){return null===t?"":t},r=Object.keys(t[0]),o=null==t?void 0:t.map((function(e){return null==r?void 0:r.map((function(t){return JSON.stringify(e[t],n)})).join(",")}));return o.unshift(r.join(",")),o=o.join("\r\n")},saveCsvAs:function(e,t){var n,r=new Blob([e],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),i=DateTimeToString(new Date(Date.now())),a="".concat(t,"_").concat(String(i),".csv");n=URL.createObjectURL(r),o.setAttribute("href",n),o.setAttribute("download",a),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o)}}},5444:(e,t,n)=>{"use strict";n.r(t);var r=n(5861),o=n(7757),i=n.n(o);dphelper._list.scripts.push({name:"Load",description:"",version:"0.0.1",command:"load",subCommand:[{name:"file",description:"test"},{name:"json",description:"test"},{name:"jsonRemote",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.load={file:function(e,t){fetch(t).then(function(){var t=(0,r.Z)(i().mark((function t(n){var r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.text();case 2:r=t.sent,document.querySelector(e).innerHTML=String(r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},json:function(e){if(e.match(/.(json)$/i))return n(3544)(""+e)},remote:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";fetch(e,{method:t,headers:{"Content-Type":n}}).then((function(e){return e})).then((function(e){return e}))},axios:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){e&&t&&axios.get(e).then((function(e){dphelper.state.api[t]=e,console.log(e)})).catch((function(e){console.debug(e)}))}))}},7846:()=>{dphelper._list.scripts.push({name:"Math",description:"",version:"0.0.1",command:"math",subCommand:[{name:"rnd",description:"test"},{name:"tmr",description:"test"},{name:"add",description:"test"},{name:"sub",description:"test"},{name:"multi",description:"test"},{name:"div",description:"test"},{name:"rem",description:"test"},{name:"exp",description:"test"},{name:"isOdd",description:"check if math is odd or even"}],example:"",author:"Dario Passariello",active:!0}),dphelper.math={rnd:function(){return Math.floor(1e5+Math.random()*dphelper.math.tmr())},tmr:function(){return Math.round(dphelper.time.epoch()/1e3)},add:function(e,t){return e+t},sub:function(e,t){return e-t},multi:function(e,t){return e*t},div:function(e,t){return e-t},rem:function(e,t){return e%t},exp:function(e,t){return Math.pow(e,t)},isOdd:function(e){return e%2==0}}},2574:(e,t,n)=>{"use strict";n.r(t);var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=n(1002);dphelper._list.scripts.push({name:"Obj",description:"",version:"0.0.1",command:"obj",subCommand:[{name:"toArray",description:"test"},{name:"replaceNullObjects",description:"test"},{name:"serialize",description:"test"},{name:"deSerialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.obj={toArray:function(e){return Object.entries(e)},replaceNullObjects:function(e){var t=e;return Object.keys(e).forEach((function(n){null===e[n]&&(t[n]="")})),t},serialize:function(e){if("function"==typeof e)return e.toString();if("object"===(0,i.Z)(e)){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=o(r[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.serialize(c)}return t}return e},deSerialize:function(e){if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"===(0,i.Z)(e)){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=o(r[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.deSerialize(c)}return t}return value},sort:function(e){return Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{})}}},4983:()=>{dphelper._list.scripts.push({name:"Path",description:"url path: rail, hash or query to array",version:"0.0.1",command:"path",subCommand:[{name:"rail",description:"test"},{name:"hash",description:"test"},{name:"query",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.path={rail:function(){var e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");return e.length>0?e.filter((function(e){return e})):void 0},hash:function(){var e=location.hash.replace("#","").split("/");return e.length?e.filter((function(e){return e})):["empty"]},query:function(){var e,t=[],n=location.search;return n?(n.replace("?","").split("&").map((function(n){e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}}},3705:(e,t,n)=>{"use strict";n.r(t);var r,o=n(5861),i=n(7757),a=n.n(i);dphelper._list.scripts.push({name:"Promise",description:"",version:"0.0.1",command:"promise",subCommand:[{name:"check",description:"test"},{name:"resolve",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.promise={check:function(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)},resolve:(r=(0,o.Z)(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},!dphelper.promise.check(t)){e.next=6;break}return Promise.resolve(t).then((function(e){n.promise=e})),e.next=5,n;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})}},200:()=>{dphelper._list.scripts.push({name:"Screen",description:"",version:"0.0.1",command:"screen",subCommand:[{name:"fullScreen",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.screen={fullScreen:function(e){e.requestFullScreen?e.requestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()},toggle:function(e){var t=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen,n=e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen;doc.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?n.call(e):t.call(e)},info:function(){return[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]}}},2205:()=>{dphelper._list.scripts.push({name:"Scrollbar",description:"",version:"0.0.1",command:"scrollbar",subCommand:[{name:"custom",description:"test"},{name:"indicator",description:"test"},{name:"position.get",description:"test"},{name:"position.set",description:"test"},{name:"smooth",description:"test"},{name:"scrollTo",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.scrollbar={custom:function(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");var n="".concat(e,"{\n scrollbar-width:auto;\n scrollbar-color: ").concat(t.color_1,";\n scrollbar-width: ").concat(t.type,";\n scroll-behavior: ").concat(t.behavior,";\n scroll-margin: ").concat(t.margin,";\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n ").concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n opacity: ").concat(t.opacity," !important;\n -webkit-border-radius: ").concat(t.rounded," !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ").concat(t.rounded," !important;\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: ").concat(t.border," solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:hover,\n ").concat(e,"::-webkit-scrollbar-thumb:active{\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: calc( ").concat(t.border," - 1.5px ) solid transparent !important;\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n\n ").concat(e,"::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n background: transparent !important;\n\n }\n ").concat(e,"::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n /*\n ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(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 "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:function(e){var t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){var r=document.createElement("div");r.classList.add("scrollindicator"),document.querySelector("header").appendChild(r),r.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&&n)return n.style.width="0%",null;try{var o=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(e){o.style.width="0%";var t=this.scrollTop||this.scrollTop,n=this.scrollHeight-this.clientHeight,r=Math.min(Math.max(parseInt(t/n*100),0),100);o.style.width=r+"%",o.click()})),window.addEventListener("popstate",(function(e){o.style.width=0}))}catch(e){return}return null},position:{set:function(e){var t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&dphelper.storage.set(e,t)},get:function(e){if(dphelper.storage.get(e)){var t=dphelper.storage.get(e).trim().split(",");$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}}},smooth:function(e,t,n){e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);var r=!1,o=e.scrollTop,i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();var a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;var t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?c(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}},scrollTo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=document.querySelector(e),o=document.querySelector(t),i=n;r&&o&&i&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}}},5703:()=>{dphelper._list.scripts.push({name:"Shortcut",description:"",version:"0.0.1",command:"shortcut",example:"",author:"Dario Passariello",active:!0,subCommand:[]}),dphelper.shortcut=function(e,t){var n=e.which?e.which:e.keyCode;e={tes:console.log("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((function(t){if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&simulateClick(t.element),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},6006:function(){dphelper._list.scripts.push({name:"State",description:"",version:"0.0.1",command:"state",subCommand:[],example:"state() or dphelper.state()",author:"Dario Passariello",active:!0}),dphelper.state=function(e,t){if(!e&&!t){var n=[];return dphelper.obj.toArray(dphelper.state).map((function(e,t){"function"!=typeof e[1]&&(n[e[0]]=e[1])})),dphelper.array.toObj(n)}if(!e&&t)console.debug("Error: State works in this way: state( key, value ) or only key");else if(e&&!t);else if(e&&t){var r;if("function"==typeof(null===(r=dphelper)||void 0===r?void 0:r.state[e]))return"Error, ".concat(e," is a protect function name");dphelper.state[e]=t}},this.delete=function(e){return dphelper.state[e]=void 0},window.state=dphelper.state},911:()=>{dphelper._list.scripts.push({name:"Storage",description:"",version:"0.0.1",command:"storage",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"},{name:"increaseQuota",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.storage={get:function(e){if(e)return window.localStorage.getItem(e)},set:function(e,t){e&&t&&window.localStorage.setItem(e,JSON.stringify(t))},delete:function(e){e&&window.localStorage.removeItem(e)},clearAll:function(){window.localStorage.clear()},quota:function(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((function(e){var t=e.usage,n=e.quota;console.log("Using ".concat(t/1024," out of ").concat(n/1024," Mb."))}))},increaseQuota:function(e){window.webkitStorageInfo.requestQuota(window.PERSISTENT,e,(function(e){alert("Quota is available: "+e)}),(function(e){alert("Error allocating quota: "+e)}))}}},8015:(e,t,n)=>{"use strict";n.r(t);var r=n(2982);dphelper._list.scripts.push({name:"Store",description:"",version:"0.0.1",command:"store",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"update",description:"test"},{name:"clear",description:"test"},{name:"delete",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.store={data:[],get:function(e){if(e)return window.store.data[e]},set:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e&&(!0===n&&(t=[].concat((0,r.Z)(t),[n=!0])),window.store.data[e]=t)},update:function(e,t){},clear:function(){},clearAll:function(){},delete:function(){}},window.store=dphelper.store},4803:(e,t,n)=>{"use strict";n.r(t);var r=n(1002);dphelper._list.scripts.push({name:"Svg",description:"realtime SVG",version:"0.0.1",command:"svg",subCommand:[{name:"check",description:"test"},{name:"init",description:"test"},{name:"update",description:"test"},{name:"getCurve",description:"test"},{name:"getIntersection",description:"test"},{name:"setConnector",description:"test"},{name:"removeConnection",description:"test"},{name:"makeScrollable",description:"test"},{name:"makeDraggable",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.svg={check:function(){if(void 0===dphelper.svg.check.supported){var e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';var t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==(0,r.Z)(t.adj),e.parentNode.removeChild(e)}return dphelper.svg.check.supported},init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);var o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,c=document.createElementNS(i,"svg");c.setAttribute("xmlns",i),c.setAttributeNS(null,"id","pathConnection"),c.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),c.setAttributeNS(null,"width",a),c.setAttributeNS(null,"height",s),c.style.display="block";var u=document.createElementNS(i,"rect"),l=t.getBoundingClientRect();u.setAttributeNS(null,"x",l.left-o.left),u.setAttributeNS(null,"y",l.top-o.top),u.setAttributeNS(null,"width",l.width),u.setAttributeNS(null,"height",l.height),c.appendChild(u);var p=document.createElementNS(i,"rect");l=n.getBoundingClientRect(),p.setAttributeNS(null,"x",l.left-o.left),p.setAttributeNS(null,"y",l.top-o.top),p.setAttributeNS(null,"width",l.width),p.setAttributeNS(null,"height",l.height),c.appendChild(p);var d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),c.appendChild(d),e.appendChild(c),dphelper.svg.update($(u)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},update:function(e,t,n){var r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,c=parseFloat(e.getAttribute("height"))/2,u=parseFloat(t.getAttribute("width"))/2,l=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+c,f=i+u,h=a+l,m=f-p,v=h-d,g=dphelper.svg.getIntersection(m,v,p,d,s,c),y=dphelper.svg.getIntersection(-m,-v,f,h,u,l),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+f+","+h)},getCurve:function(e,t,n){var r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){var n,r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){for(var a=e.getBoundingClientRect(),s=[n,r],c=[o,i],u=[],l=0;l<s.length;l++)u[l]=s[l].getBoundingClientRect(),c[l].setAttributeNS(null,"x",u[l].left-a.left),c[l].setAttributeNS(null,"y",u[l].top-a.top),c[l].setAttributeNS(null,"width",u[l].width),c[l].setAttributeNS(null,"height",u[l].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){var t,n,r=e.target;function o(t){var n=r.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}r.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(t=e.target,(n=o(e)).x-=parseFloat(t.getAttributeNS(null,"x")),n.y-=parseFloat(t.getAttributeNS(null,"y")))})),r.addEventListener("mousemove",(function(e){if(t){var r=o(e);t.setAttributeNS(null,"x",r.x-n.x),t.setAttributeNS(null,"y",r.y-n.y),dphelper.svg.update()}})),r.addEventListener("mouseup",(function(e){t=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))}},dphelper.svg.check()},6082:()=>{dphelper._list.scripts.push({name:"Text",description:"",version:"0.0.1",command:"text",subCommand:[{name:"trim",description:"test"},{name:"capitalize",description:"test"},{name:"lower",description:"test"},{name:"upper",description:"test"},{name:"nl2br",description:"test"},{name:"sanitize",description:"test"},{name:"camelCase",description:"test",subCommand:[{name:"toSpace",description:"test",subCommand:[]},{name:"toUnderscore",description:"test",subCommand:[]}]}],example:"",author:"Dario Passariello",active:!0}),dphelper.text={trim:function(e,t,n,r){return e.charAt(0)===t?e.substring(n,r):e},capitalize:function(e){return e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()}))},lower:function(e){return e.toLowerCase()},upper:function(e){return e.toUpperCase()},nl2br:function(e){return e.replace(/(?:\r\n|\r|\n)/g,"<br>")},sanitize:function(e){return e.replace(/[^\w ]/g,"")},camelCase:{toSpace:function(e){return e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()}))},toUnderscore:function(e){return e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}}}},7620:()=>{dphelper._list.scripts.push({name:"Time",description:"",version:"0.0.1",command:"time",subCommand:[{name:"epoch",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.time={epoch:function(){return(new Date).getTime()}}},8240:()=>{dphelper._list.scripts.push({name:"Timer",description:"",version:"0.0.1",command:"timer",subCommand:[{name:"sleep",description:"test"},{name:"percentage",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.timer={sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},percentage:function(e,t){function n(e){var t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*n(e)/n(t)).toFixed(2)}}},8018:()=>{dphelper._list.scripts.push({name:"Tool",description:"",version:"0.0.1",command:"tool",subCommand:[{name:"uuid",description:"test",subCommand:[{name:"v5",description:"test",example:"dphelper.tools.uuid.v5"}]},{name:"percent",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.tool={uuid:{v5:function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^16*Math.random()>>e/4).toString(16)}))}},byteSize:function(e){var t=1024;if(Math.abs(e)<t)return e+"b";var n=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],r=-1;do{e/=t,++r}while(Math.abs(e)>=t&&r<n.length-1);return e.toFixed(1)+n[r]},percent:function(e,t){return(100*e/t).toFixed(2)}}},6866:()=>{dphelper._list.scripts.push({name:"Trigger",description:"",version:"0.0.1",command:"trigger",subCommand:[{name:"click",description:"test"},{name:"change",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.trigger={click:function(e){var t=document.querySelector(e);t&&t.click()},change:function(e){var t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,t.dispatchEvent(n)}}},8303:(e,t,n)=>{"use strict";n.r(t);var r=n(1002);dphelper._list.scripts.push({name:"Type",description:"",version:"0.0.1",command:"type",subCommand:[{name:"of",description:"test"},{name:"instOfObj",description:"test"},{name:"isNaN",description:"test"},{name:"isPrime",description:"test"},{name:"isBool",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.type={of:function(e){return(0,r.Z)(e)},instOfObj:function(e){return e instanceof Object},isNaN:function(e){return function(t){return!e(t)}},isPrime:function(e){for(var t=parseInt(e/2,10),n=!0;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:function(e){return!e||null==e.length||"1"===e}}},4976:()=>{dphelper._list.scripts.push({name:"Window",description:"",version:"0.0.1",command:"window",example:"",author:"Dario Passariello",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",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 })",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge",type:"function",active:!0,description:"Purge from memory",subCommand:[]}]}),dphelper.window={enhancement:function(){window.offScreenBuffering="auto",window.status="",window.defaultStatus="",window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:function(e){var t=e.url,n=e.title,r=(e.name,e.w),o=e.h,i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=s/window.screen.availWidth,l=(s-r)/2/u+i,p=(c-o)/2/u+a,d=window.open(t,n,"\n scrollbars=yes,\n width=".concat(r/u,",\n height=").concat(o/u,",\n top=").concat(p,",\n left=").concat(l,"\n "));window.focus&&d.focus()},onBeforeUnLoad:function(){var e=!1,t=null,n="You have made some changes which you might want to save.",r=!1,o=(document.querySelector("#save_button"),function(e){return e.preventDefault(),n}),i=document.querySelector("#name");i&&i.addEventListener("input",(function(e){""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));var a=function(t){if(("textarea"===t.target.type||"input"===t.target.type)&&!1===e)return e=!0};document.body.addEventListener("keyup",a);!1===r&&(document.body.addEventListener("click",(function(r){if("IMG"===r.target.tagName&&!0===e){if(!0===(t=confirm(n)))return e=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(function(r){if(!0===e)return!0===(t=confirm(n))?e=!1:(r.stopImmediatePropagation(),r.preventDefault(),n)})),window.onbeforeunload=function(r){if(!0===e&&null===t)return r.preventDefault(),r.returnValue=n}},purge:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;setTimeout((function(){if(void 0===e)return null;var t,n,r,o=e.attributes;if(o)for(n=o.length,t=0;t<n;t+=1)r=o[t].name,"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null);if(o=e.childNodes)for(n=o.length,t=0;t<n;t+=1)Purge(e.childNodes[t])}),t)}}},4861:(e,t,n)=>{"undefined"==typeof window&&(n.g.window={}),window.$=window.jQuery=n(9755),window.dphelper=window.dphelper||[]},9755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,l=i.indexOf,p={},d=p.toString,f=p.hasOwnProperty,h=f.toString,m=h.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=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var S="3.6.0",T=function(e,t){return new T.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:S,constructor:T,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=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(s.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:u,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(S+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]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(j(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},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},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,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(j(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:v}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var D=function(e){var t,n,r,o,i,a,s,c,u,l,p,d,f,h,m,v,g,y,b,x="sizzle"+1*new Date,w=e.document,C=0,S=0,T=ce(),j=ce(),D=ce(),k=ce(),E=function(e,t){return e===t&&(p=!0),0},A={}.hasOwnProperty,N=[],L=N.pop,O=N.push,q=N.push,P=N.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\[[\\x20\\t\\r\\n\\f]*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",I=new RegExp(R+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(R+"|>"),Z=new RegExp(H),G=new RegExp("^"+B+"$"),Y={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{q.apply(N=P.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){q={apply:N.length?function(e,t){O.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,u,l,p,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||f,m)){if(11!==w&&(p=K.exec(e)))if(i=p[1]){if(9===w){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(y&&(u=y.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(p[2])return q.apply(r,t.getElementsByTagName(e)),r;if((i=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!k[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(U.test(e)||W.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,oe):t.setAttribute("id",l=x)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return q.apply(r,y.querySelectorAll(g)),r}catch(t){k(e,!0)}finally{l===x&&t.removeAttribute("id")}}}return c(e.replace($,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[x]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ue((function(t){return t=+t,ue((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!i(f),w!=f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=le((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(f.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);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&&m){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=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Q.test(f.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+_+")"),e.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",H)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return p=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:l?M(l,e)-M(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==f?-1:t==f?1:o?-1:i?1:l?M(l,e)-M(l,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!k[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(p=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(E),p){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return l=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ue,match:Y,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Z.test(n)&&(t=a(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+R+"|$)"))&&T(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=se.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),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,l,p,d,f,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(u=(l=(p=(d=v)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&u[1])&&u[2],d=f&&v.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){l[e]=[C,f,b];break}}else if(y&&(b=f=(u=(l=(p=(d=t)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&u[1]),!1===b)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((l=(p=d[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[C,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=M(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?ue((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!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 V.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=S++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var u,l,p,d=[C,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(p=t[x]||(t[x]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=l[i])&&u[0]===C&&u[1]===s)return d[2]=u[2];if(l[i]=d,d[2]=e(t,n,c))return!0}return!1}}function we(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 Ce(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function Se(e,t,n,r,o,i){return r&&!r[x]&&(r=Se(r)),o&&!o[x]&&(o=Se(o,i)),ue((function(i,a,s,c){var u,l,p,d=[],f=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:Ce(m,d,e,s,c),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=Ce(g,f),r(u,[],s,c),l=u.length;l--;)(p=u[l])&&(g[f[l]]=!(v[f[l]]=p));if(i){if(o||e){if(o){for(u=[],l=g.length;l--;)(p=g[l])&&u.push(v[l]=p);o(null,g=[],u,c)}for(l=g.length;l--;)(p=g[l])&&(u=o?M(i,p):d[l])>-1&&(i[u]=!(a[u]=p))}}else g=Ce(g===a?g.splice(h,g.length):g),o?o(null,a,g,c):q.apply(a,g)}))}function Te(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=xe((function(e){return e===t}),s,!0),p=xe((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):p(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])d=[xe(we(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Se(c>1&&we(d),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace($,"$1"),n,c<o&&Te(e.slice(c,o)),o<i&&Te(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,u,l=j[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=Y[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):j(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=D[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[x]?o.push(s):i.push(s);s=D(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,l){var p,h,v,g=0,y="0",b=i&&[],x=[],w=u,S=i||o&&r.find.TAG("*",l),T=C+=null==w?1:Math.random()||.1,j=S.length;for(l&&(u=a==f||a||l);y!==j&&null!=(p=S[y]);y++){if(o&&p){for(h=0,a||p.ownerDocument==f||(d(p),s=!m);v=e[h++];)if(v(p,a||f,s)){c.push(p);break}l&&(C=T)}n&&((p=!v&&p)&&g--,i&&b.push(p))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,x,a,s);if(i){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=L.call(c));x=Ce(x)}q.apply(c,x),l&&!i&&x.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(C=T,u=w),b};return n?ue(i):i}(i,o)),s.selector=e}return s},c=se.select=function(e,t,n,o){var i,c,u,l,p,d="function"==typeof e&&e,f=!o&&a(e=d.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=Y.needsContext.test(e)?0:c.length;i--&&(u=c[i],!r.relative[l=u.type]);)if((p=r.find[l])&&(o=p(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return q.apply(n,o),n;break}}return(d||s(e,f))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!p,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||pe(_,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);T.find=D,T.expr=D.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=D.uniqueSort,T.text=D.getText,T.isXMLDoc=D.isXML,T.contains=D.contains,T.escapeSelector=D.escape;var k=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},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=T.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return g(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 l.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(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&A.test(e)?T(e):e||[],!1).length}});var q,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.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:b,!0)),L.test(r[1])&&T.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,q=T(b);var M=/^(?:parents|prev(?:Until|All))/,_={children:!0,contents:!0,next:!0,prev:!0};function R(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=[],a="string"!=typeof e&&T(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.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?l.call(T(e),this[0]):l.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 k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(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&&(_[e]||T.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var B=/[^\x20\t\r\n\f]+/g;function F(e){return e}function H(e){throw e}function I(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(B)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){g(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&c()),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<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(e){var t=[["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"]],n="pending",o={state:function(){return n},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(n){T.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(u)?o?u.call(r,a(i,t,F,o),a(i,t,H,o)):(i++,u.call(r,a(i,t,F,o),a(i,t,H,o),a(i,t,F,t.notifyWith))):(n!==F&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,l.stackTrace),e+1>=i&&(n!==H&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?l():(T.Deferred.getStackHook&&(l.stackTrace=T.Deferred.getStackHook()),r.setTimeout(l))}}return T.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:F,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:F)),t[2][3].add(a(0,r,g(n)?n:H))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(I(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)I(o[n],a(n),i.reject);return i.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&$.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var z=T.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),r.removeEventListener("load",W),T.ready()}T.fn.ready=function(e){return z.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||z.resolveWith(b,[T]))}}),T.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",W),r.addEventListener("load",W));var U=function(e,t,n,r,o,i,a){var s=0,c=e.length,u=null==n;if("object"===C(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):c?t(e[0],n):i},Z=/^-ms-/,G=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function X(e){return e.replace(Z,"ms-").replace(G,Y)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function V(){this.expando=T.expando+V.uid++}V.uid=1,V.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(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[X(t)]=n;else for(r in t)o[X(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(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(X):(t=X(t))in r?[t]:t.match(B)||[]).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 Q=new V,K=new V,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return K.hasData(e)||Q.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=K.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),ne(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){K.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=K.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.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 Q.get(e,n)||Q.access(e,n,{empty:T.Callbacks("once memory").add((function(){Q.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,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function le(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),l=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+c)&&oe.exec(T.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)T.style(e,t,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,T.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var pe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=pe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),pe[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?T(this).show():T(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={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 xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?T.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function Se(e,t,n,r,o){for(var i,a,s,c,u,l,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===C(i))T.merge(d,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),c=be[s]||be._default,a.innerHTML=c[1]+T.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;T.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",f=0;i=d[f++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=xe(p.appendChild(i),"script"),u&&we(a),n)for(l=0;i=a[l++];)ye.test(i.type||"")&&n.push(i);return p}var Te=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function De(){return!1}function ke(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],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=De;else if(!o)return e;return 1===i&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function Ae(e,t,n){n?(Q.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&T.event.add(e,t,je)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,u,l,p,d,f,h,m,v=Q.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(ae,o),n.guid||(n.guid=T.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=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(B)||[""]).length;u--;)f=m=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=T.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=T.event.special[f]||{},l=T.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=c[f])||((d=c[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),T.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,u,l,p,d,f,h,m,v=Q.hasData(e)&&Q.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(B)||[""]).length;u--;)if(f=m=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=T.event.special[f]||{},d=c[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,p.remove&&p.remove.call(e,l));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,v.handle)||T.removeEvent(e,f,v.handle),delete c[f])}else for(f in c)T.event.remove(e,f+t[u],n,r,!0);T.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=T.event.fix(e),u=(Q.get(this,"events")||Object.create(null))[c.type]||[],l=T.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=T.event.handlers.call(this,c,u),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,u=e.target;if(c&&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=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(T.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[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ae(t,"click",je),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&N(t,"input")&&Q.get(t,"click")||N(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?je:De,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:De,isPropagationStopped:De,isImmediatePropagationStopped:De,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=je,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){T.event.special[e]={setup:function(){return Ae(this,e,ke),!1},trigger:function(){return Ae(this,e),!0},_default:function(){return!0},delegateType: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=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||T.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(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=De),this.each((function(){T.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function _e(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);K.hasData(e)&&(i=K.access(e),a=T.extend({},i),K.set(t,a))}}function Re(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,r){t=c(t);var o,i,a,s,u,l,p=0,d=e.length,f=d-1,h=t[0],m=g(h);if(m||d>1&&"string"==typeof h&&!v.checkClone&&Le.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Be(i,t,n,r)}));if(d&&(i=(o=Se(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(xe(o,"script"),Pe)).length;p<d;p++)u=o,p!==f&&(u=T.clone(u,!0,!0),s&&T.merge(a,xe(u,"script"))),n.call(e[p],u,p);if(s)for(l=a[a.length-1].ownerDocument,T.map(a,Me),p=0;p<s;p++)u=a[p],ye.test(u.type||"")&&!Q.access(u,"globalEval")&&T.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):w(u.textContent.replace(Oe,""),u,l))}return e}function Fe(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(xe(r)),r.parentNode&&(n&&se(r)&&we(xe(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=xe(s),r=0,o=(i=xe(e)).length;r<o;r++)Re(i[r],a[r]);if(t)if(n)for(i=i||xe(e),a=a||xe(s),r=0,o=i.length;r<o;r++)_e(i[r],a[r]);else _e(e,s);return(a=xe(s,"script")).length>0&&we(a,!c&&xe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return U(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 Be(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(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(xe(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 U(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&&!Ne.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(xe(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),u.apply(r,n.get());return this.pushStack(r)}}));var He=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Ie=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},$e=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},ze=new RegExp(ie.join("|"),"i");function We(e,t,n){var r,o,i,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=T.style(e,t)),!v.pixelBoxStyles()&&He.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),ae.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,u=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ze=["Webkit","Moz","ms"],Ge=b.createElement("div").style,Ye={};function Xe(e){var t=T.cssProps[e]||Ye[e];return t||(e in Ge?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ge)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ve=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=T.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=T.css(e,"border"+ie[a]+"Width",!0,o))):(c+=T.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=T.css(e,"border"+ie[a]+"Width",!0,o):s+=T.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function nt(e,t,n){var r=Ie(e),o=(!v.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!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,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=X(t),c=Ve.test(t),u=e.style;if(c||(t=Xe(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=le(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=X(t);return Ve.test(t)||(t=Xe(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in Ke&&(o=Ke[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!Je.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):$e(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=Ie(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),c=r?tt(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),et(0,n,c)}}})),T.cssHooks.marginLeft=Ue(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-$e(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+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=et)})),T.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ie(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=rt,rt.prototype={constructor:rt,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=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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[Xe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.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=rt.prototype.init,T.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,T.fx.interval),T.fx.tick())}function ut(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function lt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=T.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=ot||ut(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ut(),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?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=X(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(u,e,l,u.opts))return g(r.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return T.map(l,pt,u),g(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(c,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(B);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,u,l,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&ue(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}f[r]=v&&v[r]||T.style(e,r)}if((c=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=v&&v.display)&&(u=Q.get(e,"display")),"none"===(l=T.css(e,"display"))&&(u?l=u:(fe([e],!0),u=e.style.display||u,l=T.css(e,"display"),fe([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===T.css(e,"float")&&(c||(d.done((function(){h.display=u})),null==u&&(l=h.display,u="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,f)c||(v?"hidden"in v&&(m=v.hidden):v=Q.access(e,"fxshow",{display:u}),i&&(v.hidden=!m),m&&fe([e],!0),d.done((function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),f)T.style(e,r,f[r])}))),c=pt(m?v[r]:0,r,d),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(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(){g(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(ue).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),a=function(){var t=dt(this,T.extend({},e),i);(o||Q.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,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,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[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=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=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<a;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(lt(t,!0),e,r,o)}})),T.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("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(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ot=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,ct())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.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 ft,ht=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return U(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)?ft: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(!v.radioValue&&"radio"===t&&N(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(B);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={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=ht[t]||T.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var mt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(B)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(B)||[]}T.fn.extend({prop:function(e,t){return U(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):mt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.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,a,s,c=0;if(g(e))return this.each((function(t){T(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){T(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(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(xt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:gt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).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}},v.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var i,a,s,c,u,l,p,d,h=[n||b],m=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.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=n),t=null==t?[e]:T.makeArray(t,[e]),p=T.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(c=p.delegateType||m,wt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?c:p.bindType||m,(l=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&l.apply(a,t),(l=u&&a[u])&&l.apply&&J(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!J(n)||u&&g(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Ct),T.event.triggered=void 0,s&&(n[u]=s)),e.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)}}),v.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var St=r.location,Tt={guid:Date.now()},jt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/\[\]$/,kt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||Dt.test(e)?r(e,o):Nt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Nt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=g(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)Nt(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")&&At.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ve.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(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var Lt=/%20/g,Ot=/#.*$/,qt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,_t=/^\/\//,Rt={},Bt={},Ft="*/".concat("*"),Ht=b.createElement("a");function It(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(B)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var o={},i=e===Bt;function a(s){var c;return o[s]=!0,T.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(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}Ht.href=St.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,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?zt(zt(e,T.ajaxSettings),t):zt(T.ajaxSettings,e)},ajaxPrefilter:It(Rt),ajaxTransport:It(Bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,u,l,p,d,f=T.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?T(h):T.event,v=T.Deferred(),g=T.Callbacks("once memory"),y=f.statusCode||{},x={},w={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Pt.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 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&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||C;return n&&n.abort(t),j(0,t),this}};if(v.promise(S),f.url=((e||f.url||St.href)+"").replace(_t,St.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(B)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),$t(Rt,f,t,S),u)return S;for(p in(l=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Mt.test(f.type),o=f.url.replace(Ot,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Lt,"+")):(d=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(jt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(qt,"$1"),d=(jt.test(o)?"&":"?")+"_="+Tt.guid+++d),f.url=o+d),f.ifModified&&(T.lastModified[o]&&S.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&S.setRequestHeader("If-None-Match",T.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ft+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,S,f)||u))return S.abort();if(C="abort",g.add(f.complete),S.done(f.success),S.fail(f.error),n=$t(Bt,f,t,S)){if(S.readyState=1,l&&m.trigger("ajaxSend",[S,f]),u)return S;f.async&&f.timeout>0&&(s=r.setTimeout((function(){S.abort("timeout")}),f.timeout));try{u=!1,n.send(x,j)}catch(e){if(u)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,a,c){var p,d,b,x,w,C=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",S.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,S,a)),!p&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.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 "+c+" to "+i}}}return{state:"success",data:t}}(f,x,S,p),p?(f.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(T.etag[o]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=x.state,d=x.data,p=!(b=x.error))):(b=C,!e&&C||(C="error",e<0&&(e=0))),S.status=e,S.statusText=(t||C)+"",p?v.resolveWith(h,[d,C,S]):v.rejectWith(h,[S,C,b]),S.statusCode(y),y=void 0,l&&m.trigger(p?"ajaxSuccess":"ajaxError",[S,f,p?d:b]),g.fireWith(h,[S,C]),l&&(m.trigger("ajaxComplete",[S,f]),--T.active||T.event.trigger("ajaxStop")))}return S},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 g(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]&&(g(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 g(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=g(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 r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Ut=T.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,T.ajaxTransport((function(e){var t,n;if(v.cors||Ut&&!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=n=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(Wt[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(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),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)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt=[],Gt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.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(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?T(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Zt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=Se([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,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.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,a,s,c,u=T.css(e,"position"),l=T(e),p={};"static"===u&&(e.style.position="relative"),s=l.offset(),i=T.css(e,"top"),c=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),g(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):l.css(p)}},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||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(y(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]=Ue(v.pixelPosition,(function(e,n){if(n)return n=We(e,t),He.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 a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return y(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,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),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.mouseenter(e).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 Yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=N,T.isFunction=g,T.isWindow=y,T.camelCase=X,T.type=C,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(Yt,"")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,Jt=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=Jt),e&&r.jQuery===T&&(r.jQuery=Xt),T},void 0===o&&(r.jQuery=r.$=T),T}))},5666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r=p;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return N()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=j(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function v(){}function g(){}function y(){}var b={};c(b,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(A([])));w&&w!==n&&r.call(w,i)&&(b=w);var C=y.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function A(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:N}}function N(){return{value:t,done:!0}}return g.prototype=y,c(C,"constructor",y),c(y,"constructor",g),g.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},S(T.prototype),c(T.prototype,a,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new T(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(C),c(C,s,"Generator"),c(C,i,(function(){return this})),c(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},3544:(e,t,n)=>{var r={"./anchor":4014,"./anchor.js":4014,"./array":5049,"./array.js":5049,"./avoid":4586,"./avoid.js":4586,"./browser":2108,"./browser.js":2108,"./color":4218,"./color.js":4218,"./console":8603,"./console.js":8603,"./console.mapped":68,"./console.mapped.js":68,"./coods":2955,"./coods.js":2955,"./cookie":1415,"./cookie.js":1415,"./date":2008,"./date.js":2008,"./disable":6556,"./disable.js":6556,"./errors":4638,"./errors.js":4638,"./event":7445,"./event.js":7445,"./font":3897,"./font.js":3897,"./form":9210,"./form.js":9210,"./format":9361,"./format.js":9361,"./function":8237,"./function.js":8237,"./iDB":5553,"./iDB.js":5553,"./json":5142,"./json.js":5142,"./load":5444,"./load.js":5444,"./math":7846,"./math.js":7846,"./obj":2574,"./obj.js":2574,"./path":4983,"./path.js":4983,"./promise":3705,"./promise.js":3705,"./screen":200,"./screen.js":200,"./scrollbar":2205,"./scrollbar.js":2205,"./shortcut":5703,"./shortcut.js":5703,"./state":6006,"./state.js":6006,"./storage":911,"./storage.js":911,"./store":8015,"./store.js":8015,"./svg":4803,"./svg.js":4803,"./text":6082,"./text.js":6082,"./time":7620,"./time.js":7620,"./timer":8240,"./timer.js":8240,"./tool":8018,"./tool.js":8018,"./trigger":6866,"./trigger.js":6866,"./type":8303,"./type.js":8303,"./window":4976,"./window.js":4976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=3544},8501:(e,t,n)=>{var r={"./anchor.js":4014,"./array.js":5049,"./avoid.js":4586,"./browser.js":2108,"./color.js":4218,"./console.js":8603,"./console.mapped.js":68,"./coods.js":2955,"./cookie.js":1415,"./date.js":2008,"./disable.js":6556,"./errors.js":4638,"./event.js":7445,"./font.js":3897,"./form.js":9210,"./format.js":9361,"./function.js":8237,"./iDB.js":5553,"./json.js":5142,"./load.js":5444,"./math.js":7846,"./obj.js":2574,"./path.js":4983,"./promise.js":3705,"./screen.js":200,"./scrollbar.js":2205,"./shortcut.js":5703,"./state.js":6006,"./storage.js":911,"./store.js":8015,"./svg.js":4803,"./text.js":6082,"./time.js":7620,"./timer.js":8240,"./tool.js":8018,"./trigger.js":6866,"./type.js":8303,"./window.js":4976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=8501},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},5861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:()=>o})},2982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(907);var o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7152:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"0.2.83","description":"Developer Tools","deprecated":false,"appCode":"dphelper","appCodeRelease":"dphelper","appName":"dphelper","appType":"beta","appFolder":"/","appPort":"","appAPI":"api","apiDev":"","apiProd":"","main":"index.js","targets":{"main":{"includeNodeModules":{"react":false,"react-dom":false},"isLibrary":true}},"engines":{"node":">=0.10.0"},"scripts":{"make-dist":"webpack --progress --color --mode production --config webpack.config.js","git":"cd node && node gitDeploy","git-tag":"cd node && node createTag","backup":"backup.bat","goLive":"cd node && node goLive"},"eslintConfig":{"globals":{"window":true}},"author":{"name":"Dario Passariello","website":"https://dario.passariello.ca","email":"dariopassariello@gmail.com"},"contributors":[{"name":"Dario Passariello","email":"dariopassariello@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"keywords":["utils","tools","uuid","random","window","store","easy","pro","powerful","passariello"],"license":"Apache-2.0","homepage":"https://github.com/passariello/dphelper","funding":[{"type":"individual","url":"https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project&currency_code=CAD"},{"type":"patreon","url":"https://www.patreon.com/passariello"}],"repository":{"type":"git","url":"https://github.com/passariello/dpHelper","help":"https://github.com/passariello/dpHelper#readme"},"bugs":{"url":"https://github.com/passariello/dpHelper/issues"},"devDependencies":{"@babel/plugin-transform-runtime":"7.17.0","css-loader":"6.7.1","eslint":"8.12.0","file-loader":"6.2.0","jest":"27.5.1","less-loader":"10.2.0","sass-loader":"12.6.0","style-loader":"3.3.1","webpack-cli":"4.9.2"},"dependencies":{"@babel/plugin-proposal-class-properties":"7.16.7","@babel/preset-env":"7.16.11","@babel/preset-react":"7.16.7","@babel/preset-typescript":"7.16.7","@testing-library/jest-dom":"^5.16.2","@testing-library/user-event":"^14.0.0","babel-loader":"8.2.4","child_process":"1.0.2","classnames":"2.3.1","cli-confirm":"1.0.1","compression-webpack-plugin":"9.2.0","concurrently":"7.0.0","copy-webpack-plugin":"10.2.4","css":"3.0.0","dotenv":"16.0.0","fs":"0.0.1-security","html-webpack-plugin":"5.5.0","jquery":"3.6.0","jsdom-worker":"0.2.1","jshint":"^2.13.4","less":"4.1.2","moment":"2.29.2","path":"0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.0.0","react-dom":"18.0.0","require":"2.4.20","sass":"1.49.10","ts-jest":"27.1.4","tslint":"6.1.3","webpack":"5.71.0"}}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(8851)})();
2
+ (()=>{var e={7757:(e,t,n)=>{e.exports=n(5666)},4657:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}n.r(t);var i=n(1002);function a(e,t){if(t&&("object"===(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t,n){return l=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},l.apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return l(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},u(e)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return a(this,n)}}n(891);var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(s,e);var t,n,i,a=p(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this)}return t=s,(n=[{key:"connectedCallback",value:function(){console.log("hello"),this.style.color="red"}},{key:"disconnectedCallback",value:function(){console.log("bye"),window.addEventListener("beforeunload",(function(e){e.preventDefault(),e.returnValue=""}))}}])&&r(t.prototype,n),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),s}(u(HTMLElement));window.customElements.define("x-foo",d),customElements.whenDefined("x-foo").then((function(){}))},891:()=>{},8851:(e,t,n)=>{"use strict";n(1175)},1175:(e,t,n)=>{!function(){n(4657),n(4861);var e=n(4147),t=t||event;dphelper._list=n(7152),dphelper._list.scripts=[],dphelper._list.version=e.version;var r={};dphelper.api={};!function(e){e.keys().forEach((function(t){return r[t]=e(t)}))}(n(8501)),console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"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("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}()},4014:()=>{dphelper._list.scripts.push({name:"Anchor",type:"function",version:"0.0.1",command:"anchor",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",active:!0,description:"\n This tools 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.",subCommand:[{name:"toOnClick",version:"0.0.1",example:"dphelper.anchor.toOnClick('nav') or ('.foo') or ('#foo')",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.anchor={toOnClick:function(e){$(e+" a").each((function(e){var t=$(this),n=t.attr("href");n&&t.on("mouseup",(function(){Loader("body",null)})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(n),dphelper.browser.push("","",n)}))}))}}},5049:(e,t,n)=>{"use strict";n.r(t);var r=n(1002),o=n(2982);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}dphelper._list.scripts.push({name:"Array",version:"0.0.1",command:"array",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",type:"object",active:!0,description:"",subCommand:[{name:"find",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"unique",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"delete",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"merge",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"asc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"desc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"even",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"odd",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.array={find:function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.id===e)return o;if(o.children){var a=dphelper.array.find(e,o.children);if(a)return a}}}catch(e){r.e(e)}finally{r.f()}return!1},unique:function(e){var t=(0,o.Z)(new Set(e));return t},delete:function(e,t){e.some((function e(n,o,i){if(n.Id===t)return i.splice(o,1),!0;for(var a=0,s=Object.keys(n);a<s.length;a++){var c=n[s[a]];if(c.length&&"object"===(0,r.Z)(c))return c&&c.map(e)}}))},merge:function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]instanceof Object&&t[o]&&Object.assign(e[o],dphelper.mergeArrays(t[o],e[o]))}return Object.assign(t||{},e),t},asc:function(e){return e.sort((function(e,t){return e-t})),e},desc:function(e){return e.sort((function(e,t){return t-e})),e},duplicates:function(e){var t;return(t=e).filter((function(e,n){return t.indexOf(e)!==n}))},even:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2==0&&t.push(e[n]);return t},odd:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2&&t.push(e[n]);return t},toObj:function(e){return Object.assign({},e)}}},4586:()=>{dphelper._list.scripts.push({name:"Avoid",description:"",version:"0.0.1",command:"avoid",subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache",type:"function",active:!0,description:"test",subCommand:[]}],example:"",author:"Dario Passariello",active:!0}),dphelper.avoid={cache:function(e){return e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())}}},2108:()=>{dphelper._list.scripts.push({name:"Browser",version:"0.0.1",command:"browser",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"state",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"forw",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"back",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"reload",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"href",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.browser={state:function(e,t,n){return history.pushState(e,t,n)},forw:function(e){return history.go(e)},back:function(e){return history.go(-Math.abs(e))},reload:function(){return window.location.href=window.location.href},href:function(e){return window.location.href=e}}},4218:()=>{dphelper._list.scripts.push({name:"Color",version:"0.0.1",command:"color",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"hex",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"toHex",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"toRGB",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"gradient",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.color={hex:function(e){var t="0123456789abcdef",n=parseInt(e);return 0==n||isNaN(e)?"00":(n=Math.round(Math.min(Math.max(0,n),255)),t.charAt((n-n%16)/16)+t.charAt(n%16))},toHex:function(e){return dphelper.color.hex(e[0])+dphelper.color.hex(e[1])+dphelper.color.hex(e[2])},toRGB:function(e){var 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},gradient:function(e,t,n){for(var r=dphelper.color.toRGB(e),o=dphelper.color.toRGB(t),i=n,a=0,s=[],c=0;c<i;c++){var l=[];a+=1/i,l[0]=r[0]*a+(1-a)*o[0],l[1]=r[1]*a+(1-a)*o[1],l[2]=r[2]*a+(1-a)*o[2],s.push(dphelper.color.toHex(l))}return s}}},8603:()=>{dphelper._list.scripts.push({name:"Console",description:"",version:"0.0.1",command:"console",subCommand:[{name:"info",description:"test"},{name:"stop",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.console={info:function(e,t,n){console.groupCollapsed("%c"+e+":%c","color:orange",""),console.debug(t,dphelper[n]),console.groupEnd()},stop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["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.clear(),console.disableYellowBox=!0,console={},console.log=function(){},window.console=console,window.console||(window.console={});var t=function(){};e.forEach((function(e){window.console[e]=t}))}}},68:()=>{dphelper.console.debug=function(e){if(!e)throw Error("Parent dom element required!");var t=!1,n=console.log,r=console.info,o=console.warn,i=console.error,a=function(e){var t=Array.prototype.slice.call(arguments[1]).join(" ");t=e===s.WARN?'<font color="#FF6600">* WARN: '+t:e===s.ERR?'<font color="#FF0000">* ERR: '+t:"* "+t,this.domElement.innerHTML+=t+"<br/>",this.autoScroll&&this.visible&&(this.domElement.scrollTop=this.domElement.scrollHeight)},s={LOG:0,INFO:1,WARN:2,ERR:3};this.autoScroll=!0,this.disableConsoleLogging=!1;var c=document.createElement("div");c.id="debugConsole",e.appendChild(c),this.domElement=c,this.initKeyMappings=function(){t?console.warn("DebugConsole: keys already mapped!"):(dphelper.state("toggle_console",function(){this.visible=!this.visible}.bind(this)),t=!0)},this.overrideConsole=function(){console.log=function(){this.disableConsoleLogging||(a.call(this,s.LOG,arguments),n.apply(console,arguments))}.bind(this),console.info=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.INFO,arguments),r.apply(console,arguments))}.bind(this),console.warn=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.WARN,arguments),o.apply(console,arguments))}.bind(this),console.error=function(){dphelper.state.disableConsoleLogging||(a.call(this,s.ERR,arguments),i.apply(console,arguments))}.bind(this),window.onerror=function(e,t,n){var r=[e," in <a href='",t,"' target='_blank'>",t.split("/").pop(),"</a>:",n];return console.error(r.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:!0}})}},2955:()=>{dphelper._list.scripts.push({name:"Coords",description:"",version:"0.0.1",command:"coords",subCommand:[{name:"degreesToRadians",description:"test"},{name:"latToMeters",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e=6378.1;dphelper.coords={degreesToRadians:function(e){return e*(Math.PI/180)},latToMeters:function(t,n){return e*Math.cos(t)*Math.cos(n)},lngToMeters:function(t,n){return e*Math.cos(t)*Math.sin(n)}}},1415:()=>{dphelper._list.scripts.push({name:"Cookie",description:"",version:"0.0.1",command:"cookie",subCommand:[{name:"set",description:"test"},{name:"get",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e="false";"https:"===location.protocol&&(e="Secure"),dphelper.cookie={set:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=new Date;i.setTime(i.getTime()+31536e6),r||(r=i.toGMTString()),t&&(document.cookie=t+"="+n+";expires="+r+";path="+o+";SameSite="+"false;requireSSL="+e+";"+e)},get:function(e){for(var t=document.cookie.split("; "),n=0;n<t.length;n++){var r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:function(t){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;SameSite="+"false;requireSSL="+e+";"+e},clearAll:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],r=n.indexOf("="),o=r>-1?n.slice(0,r):n;stpro.cookie.delete(o)}}}},2008:()=>{dphelper._list.scripts.push({name:"Date",description:"",version:"0.0.1",command:"date",subCommand:[{name:"toIso",description:"test"},{name:"toMMDDYYYY",description:"test"},{name:"convert",description:"test"},{name:"iso2Epoch",description:"test"},{name:"localIsoTime",description:"test"},{name:"utc",description:"test"},{name:"parse",description:"test"},{name:"year",description:"actual year"},{name:"addDays",description:"actual year"},{name:"dateTimeToString",description:"actual year"},{name:"datePickerFormat",description:"actual year"},{name:"isoToHuman",description:"actual year"}],example:"",author:"Dario Passariello",active:!0}),dphelper.date={toIso:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");var n=new Date(e);if("Invalid Date"==n)return null;var r=new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"});return r.format(n)},toMMDDYYYY:function(e){e||(e="");var t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},convert:function(e,t){if(!e)return null;t||(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);var n=e.substring(0,2).replace("0",""),r=e.substring(2,4),o=e.substring(e.length-4);return r+" "+t[Number(n)-1]+" "+o},iso2Epoch:function(e){return e||(e=""),new Date(e).getTime()},localIsoTime:function(e){e||(e="");var t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:function(){return moment().toISOString()},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;var n=e.substring(0,2),r=e.substring(2,4),o=e.substring(4,8);return n+t+r+t+o},year:function(){return/\d{4}/.exec(Date())[0]},addDays:function(e,t){var n=new Date(Number(e));return n.setDate(e.getDate()+t),n},dateTimeToString:function(e){try{return"".concat(e.getFullYear()).concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1)).concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()),"_").concat(e.getHours()).concat(e.getMinutes()).concat(e.getSeconds())}catch(t){return e}},datePickerFormat:function(e){try{return"".concat(e.getFullYear(),"-").concat(e.getMonth().toString().length>1?e.getMonth()+1:"0".concat(e.getMonth()+1),"-").concat(e.getDate().toString().length>1?e.getDate():"0".concat(e.getDate()))}catch(t){return e}},isoToHuman:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"@";if(!e)return null;var n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=new Date(e),o=r.getFullYear(),i=(r.getMonth()+1).toString(),a=r.getDate().toString(),s=e.split("T")[1].split(":").slice(0,2).join(":");return a.length<2&&(a="0"+a),i.length<2&&(i="0"+i),a+" "+n[Number(i)-1]+" "+o+" "+t+" "+s}}},6556:()=>{dphelper._list.scripts.push({name:"Disable",description:"",version:"0.0.1",command:"disable",subCommand:[{name:"select",description:"test"},{name:"spellCheck",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.disable={select:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=function(e,t){if(!$(t.target).is("input, button, select, textarea, .selectable *"))return $("*").trigger("blur"),t.preventDefault(),!1;$("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))};$(e).on("mousedown",(function(n){t(e,n)})),console.debug("%cSelection Disabled: %c"+!0,"color:orange","")},spellCheck:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;setInterval((function(){for(var e=document.querySelectorAll("input[type=text], textarea, code"),t=0;t<e.length;t++)e[t].getAttribute("spellcheck")||e[t].setAttribute("spellcheck","false")}),e)}}},4638:()=>{},7445:()=>{dphelper._list.scripts.push({name:"Event",description:"",version:"0.0.1",command:"event",subCommand:[{name:"multi",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.event={multi:function(e,t,n){for(var r=t.split(" "),o=0,i=r.length;o<i;++o)e.addEventListener(r[o],n,!1)}}},3897:()=>{dphelper._list.scripts.push({name:"Font",description:"",version:"0.0.1",command:"font",subCommand:[{name:"fitContainer",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.font={fitContainer:function(e){e&&dphelper.addListenerMulti(window,"load resize",(function(){!function(){var t=document.querySelectorAll(e);if(!(t.length<=0))for(var n=0;n<t.length;n++){var r=.05*t[n].offsetWidth;t[n].style.fontSize=r+"px"}}()}))}}},9210:function(e,t,n){var r=this;dphelper._list.scripts.push({name:"Form",description:"",version:"0.0.1",command:"form",subCommand:[{name:"serialize",description:"test"},{name:"confirmType",description:"test"},{name:"required",description:"test"},{name:"minLength",description:"test"},{name:"maxLength",description:"test"},{name:"maxPhoneNumber",description:"test"},{name:"isNumeric",description:"test"},{name:"isEmail",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.form={serialize:function(e){var t=n(9755),o=r,i=o,a={},s={},c={validate:/[a-zA-Z][a-zA-Z0-9-_.]/,key:/[a-zA-Z0-9_]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_]+$/};return o.build=function(e,t,n){return e[t]=isNaN(n)||Array.isArray(n)?n:Number(n),e},o.push_counter=function(e){return void 0===s[e]&&(s[e]=0),s[e]++},t.each(t(o).serializeArray(),(function(){if(c.validate.test(o.name)){var e,n=o.name.match(c.key),r=o.value,s=o.name;for("false"===r&&(r=Boolean(!1)),"true"===r&&(r=Boolean(!0)),"off"===r&&(r=Boolean(!1)),"on"===r&&(r=Boolean(!0)),"[]"===r&&(r=[]),"{}"===r&&(r={}),"undefined"===r&&(r=void 0),"null"===r&&(r=null),""===r&&(r="");void 0!==(e=n.pop());)s=s.replace(new RegExp("\\["+e+"\\]$"),""),e.match(c.push)?r=i.build([],i.push_counter(s),r):e.match(c.fixed)?r=i.build([],e,r):e.match(c.named)&&(r=i.build({},e,r));a=t.extend(!0,a,r)}})),a},confirmType:function(e,t){return"number"===e?new RegExp(/^\d+$/).test(t.toString()):"email"!==e||new RegExp(/^(([^<>()[\]\\.,;:\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:function(e){return null==e?"Required":void 0},minLength:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return!e||(null==e?void 0:e.length)<t?"Must Enter a Value":void 0},maxLength:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e?void 0:e.length)>t?"Exceeds Max Length":void 0},maxPhoneNumber:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return(null==e||null===(t=e.toString())||void 0===t?void 0:t.length)>n?"Exceeds Max Length":void 0},isNumeric:function(e){return!isNaN(e)&&e},isEmail:function(e){var t=new RegExp(/^(([^<>()[\]\\.,;:\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,}))$/);return t.test(e.toString().toLowerCase())}}},9361:()=>{dphelper._list.scripts.push({name:"Format",description:"",version:"0.0.1",command:"cormat",subCommand:[{name:"convert",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.format={currency:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);var r=new Intl.NumberFormat(t,{style:"currency",currency:n});return r.format(e)}}},8237:()=>{dphelper._list.scripts.push({name:"Func",description:"",version:"0.0.1",command:"func",subCommand:[{name:"new",description:"test"},{name:"toObj.set",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.func={new:function(e,t){args=[e,"return"+t],myFunc=Function.apply(null,args)},toObj:{set:function(e,t){return[e,t]}}}},5553:(e,t,n)=>{"use strict";n.r(t);var r=n(2982),o=n(5861),i=n(7757),a=n.n(i);var s;dphelper._list.scripts.push({name:"iDB",description:"The indexedDB Manager Tools",version:"0.0.1",command:"iDB",subCommand:[{name:"create",description:"Create a new database",example:" dphelper.iDB.create( 'dbName','dbTable' ) "},{name:"store",description:"Put all data to localStorage( I suggest to not use this way, instead use state)",example:" dphelper.iDB.store( 'dbName','dbTable' ) "},{name:"insert",description:"Insert a new record into DB",example:" dphelper.iDB.update( 'dbName','dbTable', 'data' ) "},{name:"update",description:"Update a record into DB",example:" dphelper.iDB.update( 'dbName','dbTable', 'id', 'data' ) "},{name:"get",description:"To get data about single row d on DB",example:" dphelper.iDB.get( 'dbName','dbTable', 'id' ) "},{name:"list",description:"./documents/iDB/list.html",example:" dphelper.iDB.list() result -> show in console the table of list of all DB "},{name:"toState",description:"Add databases into dphelper.databases (you can reuse them without recall again)",example:" dphelper.iDB.toState( 'dbName' ) result -> see dphelper.databases "},{name:"version",description:"If you need to kow the last version of a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 2 "},{name:"size",description:"If you need to know the size about a DB",example:" dphelper.iDB.size( 'dbName' ) result -> 100kb "},{name:"exist",description:"If you need to know if a DB exist",example:" dphelper.iDB.exist( 'dbName' ) result -> true or false "},{name:"delete",description:"If you need to remove an indexedDB, just use this command",example:" dphelper.iDB.delete( 'dbName' ) result -> 'database deletion' "},{name:"countRows",description:"Count records in a DB, useful to have last record from a DB",example:" dphelper.iDB.countRows( 'dbName' , 'tableName' ) result -> 1 "},{name:"refresh",description:"Refresh database list into state (dphelper.databases)",example:" dphelper.iDB.refresh() result -> see dphelper.databases "}],example:"",author:"Dario Passariello",active:!0}),dphelper.iDB={create:function(e,t){if(dphelper.iDB.exist(e))top.alert('Database "'.concat(e,'" already exist'));else{var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){return console.debug(e,"Database create error: "+e.target.errorCode),!1},n.onsuccess=function(n){var r=n.target.result,o=r.version;(r.close(),void 0===dphelper.iDB.version(e))&&(window.indexedDB.open(e,o+1).onupgradeneeded=function(e){var n=e.target.result;0==n.objectStoreNames.length&&(n.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),n.close())});dphelper.iDB.refresh()}}},open:function(e){if(dphelper.iDB.exist(e)){window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB||(console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));var t=window.indexedDB.open(e,dphelper.iDB.version(e));return t.onsuccess=function(e){dphelper.iDB.refresh()},t.onerror=function(e){console.debug("Database open error: "+e.target.errorCode)},t}},insert:function(e,t,n){if(dphelper.iDB.exist(e)){var r=window.indexedDB.open(e,dphelper.iDB.version(e));r.onerror=function(e){console.debug(e,"Database insert error: "+e.target.errorCode)},r.onsuccess=function(e){try{var r=e.target.result;r.transaction([t],"readwrite").objectStore(t).add({value:n}),r.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}}},update:function(e,t,n,r){if(dphelper.iDB.exist(e)){var o=window.indexedDB.open(e,dphelper.iDB.version(e));o.onerror=function(e){console.debug(e,"Database update error: "+e.target.errorCode)},o.onsuccess=function(e){var o=e.target.result.transaction([t],"readwrite").objectStore(t);o.get(+n).onsuccess=function(e){var t=e.target.result;t.value=r;var n=o.put(t);n.onsuccess=function(e){dphelper.iDB.refresh()},n.onerror=function(e){console.debug("Error in updating record")}}}}},get:function(e,t,n){return new Promise((function(r,o){window.indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){var o=e.target.result;0!==o.objectStoreNames.length&&(o.transaction([t],"readwrite").objectStore(t).get(n).onsuccess=function(e){var t=e.target.result;r(t)})}}))},store:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){if(dphelper.iDB.exist(e)){var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)},n.onsuccess=function(n){var r=n.target.result;0!==r.objectStoreNames.length&&(r.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=function(n){var r=n.target.result;if(r){var o=r.primaryKey,i=r.value;store[e]||(store[e]=[]),store[e][t]||(store[e][t]=[]),store[e][t][o]||(store[e][t][o]=[]),store[e][t][o]=i,r.continue()}dphelper.iDB.refresh()})}}})),refresh:function(){dphelper.iDB.toState(),console.debug("iDB refresh")},toState:(s=(0,o.Z)(a().mark((function e(t,n){var r,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&&!n){e.next=6;break}if(t&&n){e.next=4;break}return console.debug("promiseToState: Some data are missed!"),e.abrupt("return");case 4:return setTimeout((0,o.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:state[t]=e.sent;case 3:case"end":return e.stop()}}),e)}))),1e3),e.abrupt("return");case 6:r=[],i=0,indexedDB.databases().then((function(e){Object.entries(e).map((function(e){var t=window.indexedDB.open(e[1].name,dphelper.iDB.version(e[1].version));t.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)};var n={name:"",version:"",tables:[],size:0},s=0;t.onsuccess=function(){var e=(0,o.Z)(a().mark((function e(t){var c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(c=t.target.result).objectStoreNames.length){e.next=3;break}return e.abrupt("return");case 3:c&&c.name&&(n.name=c.name,n.version=c.version,Object.entries(c.objectStoreNames).map(function(){var e=(0,o.Z)(a().mark((function e(t,o){var l,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=[],e.next=3,dphelper.iDB.getTableSize(c.name,t[1]);case 3:u=e.sent,l.name=t[1],l.size=u,n.tables.push(Object.assign({},l)),s+=u,n.size=s,i+=s,r.total=i,r.update=dphelper.time.epoch();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),r.push(n)),dphelper.databases=r;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}))}));case 10:case"end":return e.stop()}}),e)}))),function(e,t){return s.apply(this,arguments)}),list:function(){indexedDB.databases().then((function(e){return console.table(e),e}))},version:function(e){indexedDB.databases().then((function(t){t.find((function(t){if(t.name===e)return!0}))}))},size:function(e){for(var t,n=[e],r=0;r<n.length;r++)return t=n[r],dphelper.iDB.getDbSize(t)},exist:function(e){var t;if(null!=(null===(t=dphelper.databases)||void 0===t?void 0:t.find((function(t){return t.name===e}))))return!0},delete:function(e){dphelper.iDB.exist(e)?top.confirm('Are you sure to remove "'.concat(e,'" database?'),(function(){indexedDB.deleteDatabase(e),dphelper.iDB.refresh()}),(function(){alert("Operation cancelled.")})):top.alert('Database "'.concat(e,'" not exist'))},getTableSize:function(e,t){return new Promise((function(n,r){if(null==e)return r();var o=0,i=(e=event.target.result).transaction([t]).objectStore(t).openCursor();i.onsuccess=function(e){var t=e.target.result;if(t){var r=t.value,i=JSON.stringify(r);o+=i.length,t.continue()}else n(o)}.bind(undefined),i.onerror=function(e){r("error in "+t+": "+e)}}))},getDbSize:function(e){return new Promise((function(t,n){var o,i=indexedDB.open(e,dphelper.iDB.version(e));i.onerror=function(e){console.debug("Error on IndexedDB")},i.onsuccess=function(e){o=e.target.result,function(e,n){var r=e.reduce((function(e,t){return e.push(dphelper.iDB.getTableSize(n,t)),e}),[]);Promise.all(r).then((function(n){var r={};function o(e,t){this.table=e,this.size=t}e.forEach((function(e,t){r[t]=new o(e,dphelper.tool.byteSize(n[t]))}));var i=n.reduce((function(e,t){return e+t}),0);t(parseInt(dphelper.tool.byteSize(i)))}))}((0,r.Z)(o.objectStoreNames),o)}}))},printTableInfo:function(e){var t,n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug("Error on IndexedDB")},n.onsuccess=function(e){t=e.target.result,function(e,t){var n=e.reduce((function(e,n){return e.push(dphelper.iDB.getTableSize(t,n)),e}),[]);Promise.all(n).then((function(t){var n={};function r(e,t){this.table=e,this.size=t}e.forEach((function(e,o){n[o]=new r(e,dphelper.tool.byteSize(t[o]))})),console.table(n);var o=t.reduce((function(e,t){return e+t}),0);console.debug("TOTAL: "+dphelper.tool.byteSize(o))}))}((0,r.Z)(t.objectStoreNames),t)}},printSizes:function(){indexedDB.webkitGetDatabaseNames().onsuccess=function(e){for(var t,n=e.target.result,r=0;r<n.length;r++)t=n.item(r),dphelper.iDB.getDbSize(t)}},countRows:function(e,t){return new Promise((function(n,r){window.indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){var r=e.target.result;0!==r.objectStoreNames.length&&(r.transaction([t],"readonly").objectStore(t).count().onsuccess=function(e){var t=e.target.result;n(t)})}}))}}},5142:()=>{dphelper._list.scripts.push({name:"Json",description:"",version:"0.0.1",command:"json",subCommand:[{name:"counter",description:""},{name:"toCsv",description:""},{name:"saveCsvAs",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.json={counter:function(e,t,n){return e?t&&n?Object.keys(jsonObject).length:e.items.filter((function(e){return e.key===n})).lengt:null},toCsv:function(e){var t=e,n=function(e,t){return null===t?"":t},r=Object.keys(t[0]),o=null==t?void 0:t.map((function(e){return null==r?void 0:r.map((function(t){return JSON.stringify(e[t],n)})).join(",")}));return o.unshift(r.join(",")),o=o.join("\r\n")},saveCsvAs:function(e,t){var n,r=new Blob([e],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),i=dphelper.date.dateTimeToString(new Date(Date.now())),a="".concat(t,"_").concat(i,".csv");n=URL.createObjectURL(r),o.setAttribute("href",n),o.setAttribute("download",a),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o)}}},5444:(e,t,n)=>{"use strict";n.r(t);var r=n(5861),o=n(7757),i=n.n(o);dphelper._list.scripts.push({name:"Load",description:"",version:"0.0.1",command:"load",subCommand:[{name:"file",description:"test"},{name:"json",description:"test"},{name:"jsonRemote",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.load={file:function(e,t){fetch(t).then(function(){var t=(0,r.Z)(i().mark((function t(n){var r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.text();case 2:r=t.sent,document.querySelector(e).innerHTML=String(r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},json:function(e){if(e.match(/.(json)$/i))return n(3544)(""+e)},remote:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";fetch(e,{method:t,headers:{"Content-Type":n}}).then((function(e){return e})).then((function(e){return e}))},axios:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){e&&t&&axios.get(e).then((function(e){dphelper.state.api[t]=e,console.log(e)})).catch((function(e){console.debug(e)}))}))}},7846:()=>{dphelper._list.scripts.push({name:"Math",description:"",version:"0.0.1",command:"math",subCommand:[{name:"rnd",description:"test"},{name:"tmr",description:"test"},{name:"add",description:"test"},{name:"sub",description:"test"},{name:"multi",description:"test"},{name:"div",description:"test"},{name:"rem",description:"test"},{name:"exp",description:"test"},{name:"isOdd",description:"check if math is odd or even"}],example:"",author:"Dario Passariello",active:!0}),dphelper.math={rnd:function(){return Math.floor(1e5+Math.random()*dphelper.math.tmr())},tmr:function(){return Math.round(dphelper.time.epoch()/1e3)},add:function(e,t){return e+t},sub:function(e,t){return e-t},multi:function(e,t){return e*t},div:function(e,t){return e-t},rem:function(e,t){return e%t},exp:function(e,t){return Math.pow(e,t)},isOdd:function(e){return e%2==0}}},2574:(e,t,n)=>{"use strict";n.r(t);var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=n(1002);dphelper._list.scripts.push({name:"Obj",description:"",version:"0.0.1",command:"obj",subCommand:[{name:"toArray",description:"test"},{name:"replaceNullObjects",description:"test"},{name:"serialize",description:"test"},{name:"deSerialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.obj={toArray:function(e){return Object.entries(e)},replaceNullObjects:function(e){var t=e;return Object.keys(e).forEach((function(n){null===e[n]&&(t[n]="")})),t},serialize:function(e){if("function"==typeof e)return e.toString();if("object"===(0,i.Z)(e)){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=o(r[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.serialize(c)}return t}return e},deSerialize:function(e){if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"===(0,i.Z)(e)){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var a=o(r[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.deSerialize(c)}return t}return value},sort:function(e){return Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{})}}},4983:()=>{dphelper._list.scripts.push({name:"Path",description:"url path: rail, hash or query to array",version:"0.0.1",command:"path",subCommand:[{name:"rail",description:"test"},{name:"hash",description:"test"},{name:"query",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.path={rail:function(){var e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");return e.length>0?e.filter((function(e){return e})):void 0},hash:function(){var e=location.hash.replace("#","").split("/");return e.length?e.filter((function(e){return e})):["empty"]},query:function(){var e,t=[],n=location.search;return n?(n.replace("?","").split("&").map((function(n){e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}}},3705:(e,t,n)=>{"use strict";n.r(t);var r,o=n(5861),i=n(7757),a=n.n(i);dphelper._list.scripts.push({name:"Promise",description:"",version:"0.0.1",command:"promise",subCommand:[{name:"check",description:"test"},{name:"resolve",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.promise={check:function(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)},resolve:(r=(0,o.Z)(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},!dphelper.promise.check(t)){e.next=6;break}return Promise.resolve(t).then((function(e){n.promise=e})),e.next=5,n;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})}},200:()=>{dphelper._list.scripts.push({name:"Screen",description:"",version:"0.0.1",command:"screen",subCommand:[{name:"fullScreen",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.screen={fullScreen:function(e){e.requestFullScreen?e.requestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()},toggle:function(e){var t=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen,n=e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen;doc.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?n.call(e):t.call(e)},info:function(){return[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]}}},2205:()=>{dphelper._list.scripts.push({name:"Scrollbar",description:"",version:"0.0.1",command:"scrollbar",subCommand:[{name:"custom",description:"test"},{name:"indicator",description:"test"},{name:"position.get",description:"test"},{name:"position.set",description:"test"},{name:"smooth",description:"test"},{name:"scrollTo",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.scrollbar={custom:function(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");var n="".concat(e,"{\n scrollbar-width:auto;\n scrollbar-color: ").concat(t.color_1,";\n scrollbar-width: ").concat(t.type,";\n scroll-behavior: ").concat(t.behavior,";\n scroll-margin: ").concat(t.margin,";\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n ").concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n opacity: ").concat(t.opacity," !important;\n -webkit-border-radius: ").concat(t.rounded," !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ").concat(t.rounded," !important;\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: ").concat(t.border," solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:hover,\n ").concat(e,"::-webkit-scrollbar-thumb:active{\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: calc( ").concat(t.border," - 1.5px ) solid transparent !important;\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n\n ").concat(e,"::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n background: transparent !important;\n\n }\n ").concat(e,"::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n /*\n ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(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 "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:function(e){var t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){var r=document.createElement("div");r.classList.add("scrollindicator"),document.querySelector("header").appendChild(r),r.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&&n)return n.style.width="0%",null;try{var o=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(e){o.style.width="0%";var t=this.scrollTop||this.scrollTop,n=this.scrollHeight-this.clientHeight,r=Math.min(Math.max(parseInt(t/n*100),0),100);o.style.width=r+"%",o.click()})),window.addEventListener("popstate",(function(e){o.style.width=0}))}catch(e){return}return null},position:{set:function(e){var t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&dphelper.storage.set(e,t)},get:function(e){if(dphelper.storage.get(e)){var t=dphelper.storage.get(e).trim().split(",");$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}}},smooth:function(e,t,n){e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);var r=!1,o=e.scrollTop,i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();var a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;var t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?c(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}},scrollTo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=document.querySelector(e),o=document.querySelector(t),i=n;r&&o&&i&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}}},5703:()=>{dphelper._list.scripts.push({name:"Shortcut",description:"",version:"0.0.1",command:"shortcut",example:"",author:"Dario Passariello",active:!0,subCommand:[]}),dphelper.shortcut=function(e,t){var n=e.which?e.which:e.keyCode;e={tes:console.log("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((function(t){if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&simulateClick(t.element),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},6006:function(){dphelper._list.scripts.push({name:"State",description:"",version:"0.0.1",command:"state",subCommand:[],example:"state() or dphelper.state()",author:"Dario Passariello",active:!0}),dphelper.state=function(e,t){if(!e&&!t){var n=[];return dphelper.obj.toArray(dphelper.state).map((function(e,t){"function"!=typeof e[1]&&(n[e[0]]=e[1])})),dphelper.array.toObj(n)}if(!e&&t)console.debug("Error: State works in this way: state( key, value ) or only key");else if(e&&!t);else if(e&&t){var r;if("function"==typeof(null===(r=dphelper)||void 0===r?void 0:r.state[e]))return"Error, ".concat(e," is a protect function name");dphelper.state[e]=t}},this.delete=function(e){return dphelper.state[e]=void 0},window.state=dphelper.state},911:()=>{dphelper._list.scripts.push({name:"Storage",description:"",version:"0.0.1",command:"storage",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"},{name:"increaseQuota",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.storage={get:function(e){if(e)return window.localStorage.getItem(e)},set:function(e,t){e&&t&&window.localStorage.setItem(e,JSON.stringify(t))},delete:function(e){e&&window.localStorage.removeItem(e)},clearAll:function(){window.localStorage.clear()},quota:function(){"storage"in navigator&&"estimate"in navigator.storage&&navigator.storage.estimate().then((function(e){var t=e.usage,n=e.quota;console.log("Using ".concat(t/1024," out of ").concat(n/1024," Mb."))}))},increaseQuota:function(e){window.webkitStorageInfo.requestQuota(window.PERSISTENT,e,(function(e){alert("Quota is available: "+e)}),(function(e){alert("Error allocating quota: "+e)}))}}},8015:(e,t,n)=>{"use strict";n.r(t);var r=n(2982);dphelper._list.scripts.push({name:"Store",description:"",version:"0.0.1",command:"store",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"update",description:"test"},{name:"clear",description:"test"},{name:"delete",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.store={data:[],get:function(e){if(e)return window.store.data[e]},set:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e&&(!0===n&&(t=[].concat((0,r.Z)(t),[n=!0])),window.store.data[e]=t)},update:function(e,t){},clear:function(){},clearAll:function(){},delete:function(){}},window.store=dphelper.store},4803:(e,t,n)=>{"use strict";n.r(t);var r=n(1002);dphelper._list.scripts.push({name:"Svg",description:"realtime SVG",version:"0.0.1",command:"svg",subCommand:[{name:"check",description:"test"},{name:"init",description:"test"},{name:"update",description:"test"},{name:"getCurve",description:"test"},{name:"getIntersection",description:"test"},{name:"setConnector",description:"test"},{name:"removeConnection",description:"test"},{name:"makeScrollable",description:"test"},{name:"makeDraggable",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.svg={check:function(){if(void 0===dphelper.svg.check.supported){var e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';var t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==(0,r.Z)(t.adj),e.parentNode.removeChild(e)}return dphelper.svg.check.supported},init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);var o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,c=document.createElementNS(i,"svg");c.setAttribute("xmlns",i),c.setAttributeNS(null,"id","pathConnection"),c.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),c.setAttributeNS(null,"width",a),c.setAttributeNS(null,"height",s),c.style.display="block";var l=document.createElementNS(i,"rect"),u=t.getBoundingClientRect();l.setAttributeNS(null,"x",u.left-o.left),l.setAttributeNS(null,"y",u.top-o.top),l.setAttributeNS(null,"width",u.width),l.setAttributeNS(null,"height",u.height),c.appendChild(l);var p=document.createElementNS(i,"rect");u=n.getBoundingClientRect(),p.setAttributeNS(null,"x",u.left-o.left),p.setAttributeNS(null,"y",u.top-o.top),p.setAttributeNS(null,"width",u.width),p.setAttributeNS(null,"height",u.height),c.appendChild(p);var d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),c.appendChild(d),e.appendChild(c),dphelper.svg.update($(l)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},update:function(e,t,n){var r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,c=parseFloat(e.getAttribute("height"))/2,l=parseFloat(t.getAttribute("width"))/2,u=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+c,f=i+l,h=a+u,m=f-p,v=h-d,g=dphelper.svg.getIntersection(m,v,p,d,s,c),y=dphelper.svg.getIntersection(-m,-v,f,h,l,u),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+f+","+h)},getCurve:function(e,t,n){var r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){var n,r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){for(var a=e.getBoundingClientRect(),s=[n,r],c=[o,i],l=[],u=0;u<s.length;u++)l[u]=s[u].getBoundingClientRect(),c[u].setAttributeNS(null,"x",l[u].left-a.left),c[u].setAttributeNS(null,"y",l[u].top-a.top),c[u].setAttributeNS(null,"width",l[u].width),c[u].setAttributeNS(null,"height",l[u].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){var t,n,r=e.target;function o(t){var n=r.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}r.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(t=e.target,(n=o(e)).x-=parseFloat(t.getAttributeNS(null,"x")),n.y-=parseFloat(t.getAttributeNS(null,"y")))})),r.addEventListener("mousemove",(function(e){if(t){var r=o(e);t.setAttributeNS(null,"x",r.x-n.x),t.setAttributeNS(null,"y",r.y-n.y),dphelper.svg.update()}})),r.addEventListener("mouseup",(function(e){t=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))}},dphelper.svg.check()},6082:()=>{dphelper._list.scripts.push({name:"Text",description:"",version:"0.0.1",command:"text",subCommand:[{name:"trim",description:"test"},{name:"capitalize",description:"test"},{name:"lower",description:"test"},{name:"upper",description:"test"},{name:"nl2br",description:"test"},{name:"sanitize",description:"test"},{name:"camelCase",description:"test",subCommand:[{name:"toSpace",description:"test",subCommand:[]},{name:"toUnderscore",description:"test",subCommand:[]}]}],example:"",author:"Dario Passariello",active:!0}),dphelper.text={trim:function(e,t,n,r){return e.charAt(0)===t?e.substring(n,r):e},capitalize:function(e){return e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()}))},lower:function(e){return e.toLowerCase()},upper:function(e){return e.toUpperCase()},nl2br:function(e){return e.replace(/(?:\r\n|\r|\n)/g,"<br>")},sanitize:function(e){return e.replace(/[^\w ]/g,"")},camelCase:{toSpace:function(e){return e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()}))},toUnderscore:function(e){return e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}}}},7620:()=>{dphelper._list.scripts.push({name:"Time",description:"",version:"0.0.1",command:"time",subCommand:[{name:"epoch",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.time={epoch:function(){return(new Date).getTime()}}},8240:()=>{dphelper._list.scripts.push({name:"Timer",description:"",version:"0.0.1",command:"timer",subCommand:[{name:"sleep",description:"test"},{name:"percentage",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.timer={sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},percentage:function(e,t){function n(e){var t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*n(e)/n(t)).toFixed(2)}}},8018:()=>{dphelper._list.scripts.push({name:"Tool",description:"",version:"0.0.1",command:"tool",subCommand:[{name:"uuid",description:"test",subCommand:[{name:"v5",description:"test",example:"dphelper.tools.uuid.v5"}]},{name:"percent",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.tool={uuid:{v5:function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^16*Math.random()>>e/4).toString(16)}))}},byteSize:function(e){var t=1024;if(Math.abs(e)<t)return e+"b";var n=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],r=-1;do{e/=t,++r}while(Math.abs(e)>=t&&r<n.length-1);return e.toFixed(1)+n[r]},percent:function(e,t){return(100*e/t).toFixed(2)}}},6866:()=>{dphelper._list.scripts.push({name:"Trigger",description:"",version:"0.0.1",command:"trigger",subCommand:[{name:"click",description:"test"},{name:"change",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.trigger={click:function(e){var t=document.querySelector(e);t&&t.click()},change:function(e){var t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,t.dispatchEvent(n)}}},8303:(e,t,n)=>{"use strict";n.r(t);var r=n(1002);dphelper._list.scripts.push({name:"Type",description:"",version:"0.0.1",command:"type",subCommand:[{name:"of",description:"test"},{name:"instOfObj",description:"test"},{name:"isNaN",description:"test"},{name:"isPrime",description:"test"},{name:"isBool",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.type={of:function(e){return(0,r.Z)(e)},instOfObj:function(e){return e instanceof Object},isNaN:function(e){return function(t){return!e(t)}},isPrime:function(e){for(var t=parseInt(e/2,10),n=!0;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:function(e){return!e||null==e.length||"1"===e}}},4976:()=>{dphelper._list.scripts.push({name:"Window",description:"",version:"0.0.1",command:"window",example:"",author:"Dario Passariello",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",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 })",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge",type:"function",active:!0,description:"Purge from memory",subCommand:[]}]}),dphelper.window={enhancement:function(){window.offScreenBuffering="auto",window.status="",window.defaultStatus="",window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:function(e){var t=e.url,n=e.title,r=(e.name,e.w),o=e.h,i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,l=s/window.screen.availWidth,u=(s-r)/2/l+i,p=(c-o)/2/l+a,d=window.open(t,n,"\n scrollbars=yes,\n width=".concat(r/l,",\n height=").concat(o/l,",\n top=").concat(p,",\n left=").concat(u,"\n "));window.focus&&d.focus()},onBeforeUnLoad:function(){var e=!1,t=null,n="You have made some changes which you might want to save.",r=!1,o=(document.querySelector("#save_button"),function(e){return e.preventDefault(),n}),i=document.querySelector("#name");i&&i.addEventListener("input",(function(e){""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));var a=function(t){if(("textarea"===t.target.type||"input"===t.target.type)&&!1===e)return e=!0};document.body.addEventListener("keyup",a);!1===r&&(document.body.addEventListener("click",(function(r){if("IMG"===r.target.tagName&&!0===e){if(!0===(t=confirm(n)))return e=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(function(r){if(!0===e)return!0===(t=confirm(n))?e=!1:(r.stopImmediatePropagation(),r.preventDefault(),n)})),window.onbeforeunload=function(r){if(!0===e&&null===t)return r.preventDefault(),r.returnValue=n}},purge:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;setTimeout((function(){if(void 0===e)return null;var t,n,r,o=e.attributes;if(o)for(n=o.length,t=0;t<n;t+=1)r=o[t].name,"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null);if(o=e.childNodes)for(n=o.length,t=0;t<n;t+=1)Purge(e.childNodes[t])}),t)}}},4861:(e,t,n)=>{"undefined"==typeof window&&(n.g.window={}),window.$=window.jQuery=n(9755),window.dphelper=window.dphelper||[]},9755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,u=i.indexOf,p={},d=p.toString,f=p.hasOwnProperty,h=f.toString,m=h.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=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var S="3.6.0",T=function(e,t){return new T.fn.init(e,t)};function D(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:S,constructor:T,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=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(s.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:l,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(S+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]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(D(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},makeArray:function(e,t){var n=t||[];return null!=e&&(D(Object(e))?T.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},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,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(D(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:v}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var j=function(e){var t,n,r,o,i,a,s,c,l,u,p,d,f,h,m,v,g,y,b,x="sizzle"+1*new Date,w=e.document,C=0,S=0,T=ce(),D=ce(),j=ce(),k=ce(),E=function(e,t){return e===t&&(p=!0),0},A={}.hasOwnProperty,N=[],L=N.pop,O=N.push,P=N.push,q=N.slice,B=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",_="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\[[\\x20\\t\\r\\n\\f]*("+_+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+R+"*\\]",I=":("+_+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",H=new RegExp(R+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(R+"|>"),Z=new RegExp(I),G=new RegExp("^"+_+"$"),Y={ID:new RegExp("^#("+_+")"),CLASS:new RegExp("^\\.("+_+")"),TAG:new RegExp("^("+_+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(N=q.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){P={apply:N.length?function(e,t){O.apply(e,q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,l,u,p,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||f,m)){if(11!==w&&(p=K.exec(e)))if(i=p[1]){if(9===w){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(y&&(l=y.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(p[2])return P.apply(r,t.getElementsByTagName(e)),r;if((i=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!k[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(U.test(e)||W.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=x)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);g=h.join(",")}try{return P.apply(r,y.querySelectorAll(g)),r}catch(t){k(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return c(e.replace($,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[x]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return le((function(t){return t=+t,le((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!i(f),w!=f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(f.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);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&&m){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=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Q.test(f.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+M+")"),e.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",I)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return p=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:u?B(u,e)-B(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==f?-1:t==f?1:o?-1:i?1:u?B(u,e)-B(u,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!k[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(p=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(E),p){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:le,match:Y,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Z.test(n)&&(t=a(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+R+"|$)"))&&T(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=se.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(H," ")+" ").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),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,p,d,f,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(l=(u=(p=(d=v)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],d=f&&v.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){u[e]=[C,f,b];break}}else if(y&&(b=f=(l=(u=(p=(d=t)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===b)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((u=(p=d[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[C,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=B(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?le((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:le((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!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 V.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=S++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var l,u,p,d=[C,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(p=t[x]||(t[x]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[i])&&l[0]===C&&l[1]===s)return d[2]=l[2];if(u[i]=d,d[2]=e(t,n,c))return!0}return!1}}function we(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 Ce(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Se(e,t,n,r,o,i){return r&&!r[x]&&(r=Se(r)),o&&!o[x]&&(o=Se(o,i)),le((function(i,a,s,c){var l,u,p,d=[],f=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:Ce(m,d,e,s,c),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(l=Ce(g,f),r(l,[],s,c),u=l.length;u--;)(p=l[u])&&(g[f[u]]=!(v[f[u]]=p));if(i){if(o||e){if(o){for(l=[],u=g.length;u--;)(p=g[u])&&l.push(v[u]=p);o(null,g=[],l,c)}for(u=g.length;u--;)(p=g[u])&&(l=o?B(i,p):d[u])>-1&&(i[l]=!(a[l]=p))}}else g=Ce(g===a?g.splice(h,g.length):g),o?o(null,a,g,c):P.apply(a,g)}))}function Te(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,u=xe((function(e){return e===t}),s,!0),p=xe((function(e){return B(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?u(e,n,r):p(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])d=[xe(we(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Se(c>1&&we(d),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace($,"$1"),n,c<o&&Te(e.slice(c,o)),o<i&&Te(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,l,u=D[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=r.preFilter;s;){for(a in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=Y[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):D(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=j[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[x]?o.push(s):i.push(s);s=j(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,u){var p,h,v,g=0,y="0",b=i&&[],x=[],w=l,S=i||o&&r.find.TAG("*",u),T=C+=null==w?1:Math.random()||.1,D=S.length;for(u&&(l=a==f||a||u);y!==D&&null!=(p=S[y]);y++){if(o&&p){for(h=0,a||p.ownerDocument==f||(d(p),s=!m);v=e[h++];)if(v(p,a||f,s)){c.push(p);break}u&&(C=T)}n&&((p=!v&&p)&&g--,i&&b.push(p))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,x,a,s);if(i){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=L.call(c));x=Ce(x)}P.apply(c,x),u&&!i&&x.length>0&&g+t.length>1&&se.uniqueSort(c)}return u&&(C=T,l=w),b};return n?le(i):i}(i,o)),s.selector=e}return s},c=se.select=function(e,t,n,o){var i,c,l,u,p,d="function"==typeof e&&e,f=!o&&a(e=d.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=Y.needsContext.test(e)?0:c.length;i--&&(l=c[i],!r.relative[u=l.type]);)if((p=r.find[u])&&(o=p(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return P.apply(n,o),n;break}}return(d||s(e,f))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!p,d(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||pe(M,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);T.find=j,T.expr=j.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=j.uniqueSort,T.text=j.getText,T.isXMLDoc=j.isXML,T.contains=j.contains,T.escapeSelector=j.escape;var k=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},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=T.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return g(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 u.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(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&A.test(e)?T(e):e||[],!1).length}});var P,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:q.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:b,!0)),L.test(r[1])&&T.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,P=T(b);var B=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function R(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=[],a="string"!=typeof e&&T(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.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?u.call(T(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(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 k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(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&&(M[e]||T.uniqueSort(o),B.test(e)&&o.reverse()),this.pushStack(o)}}));var _=/[^\x20\t\r\n\f]+/g;function F(e){return e}function I(e){throw e}function H(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(_)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){g(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&c()),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<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},T.extend({Deferred:function(e){var t=[["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"]],n="pending",o={state:function(){return n},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(n){T.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(l)?o?l.call(r,a(i,t,F,o),a(i,t,I,o)):(i++,l.call(r,a(i,t,F,o),a(i,t,I,o),a(i,t,F,t.notifyWith))):(n!==F&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},u=o?l:function(){try{l()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,u.stackTrace),e+1>=i&&(n!==I&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(T.Deferred.getStackHook&&(u.stackTrace=T.Deferred.getStackHook()),r.setTimeout(u))}}return T.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:F,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:F)),t[2][3].add(a(0,r,g(n)?n:I))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(H(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)H(o[n],a(n),i.reject);return i.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&$.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var z=T.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),r.removeEventListener("load",W),T.ready()}T.fn.ready=function(e){return z.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||z.resolveWith(b,[T]))}}),T.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",W),r.addEventListener("load",W));var U=function(e,t,n,r,o,i,a){var s=0,c=e.length,l=null==n;if("object"===C(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):c?t(e[0],n):i},Z=/^-ms-/,G=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function X(e){return e.replace(Z,"ms-").replace(G,Y)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function V(){this.expando=T.expando+V.uid++}V.uid=1,V.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(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[X(t)]=n;else for(r in t)o[X(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(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(X):(t=X(t))in r?[t]:t.match(_)||[]).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 Q=new V,K=new V,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return K.hasData(e)||Q.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=K.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),ne(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){K.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=K.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.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 Q.get(e,n)||Q.access(e,n,{empty:T.Callbacks("once memory").add((function(){Q.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,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function ue(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+c)&&oe.exec(T.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)T.style(e,t,u+l),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),u/=i;u*=2,T.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=o)),o}var pe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=pe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),pe[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?T(this).show():T(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={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 xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?T.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function Se(e,t,n,r,o){for(var i,a,s,c,l,u,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===C(i))T.merge(d,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),c=be[s]||be._default,a.innerHTML=c[1]+T.htmlPrefilter(i)+c[2],u=c[0];u--;)a=a.lastChild;T.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",f=0;i=d[f++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(l=se(i),a=xe(p.appendChild(i),"script"),l&&we(a),n)for(u=0;i=a[u++];)ye.test(i.type||"")&&n.push(i);return p}var Te=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function je(){return!1}function ke(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],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=je;else if(!o)return e;return 1===i&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function Ae(e,t,n){n?(Q.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&T.event.add(e,t,De)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,f,h,m,v=Q.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(ae,o),n.guid||(n.guid=T.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(_)||[""]).length;l--;)f=m=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=T.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=T.event.special[f]||{},u=T.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=c[f])||((d=c[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),T.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,f,h,m,v=Q.hasData(e)&&Q.get(e);if(v&&(c=v.events)){for(l=(t=(t||"").match(_)||[""]).length;l--;)if(f=m=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=T.event.special[f]||{},d=c[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(i,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,v.handle)||T.removeEvent(e,f,v.handle),delete c[f])}else for(f in c)T.event.remove(e,f+t[l],n,r,!0);T.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=T.event.fix(e),l=(Q.get(this,"events")||Object.create(null))[c.type]||[],u=T.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(a=T.event.handlers.call(this,c,l),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(l)>-1:T.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(T.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[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ae(t,"click",De),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&N(t,"input")&&Q.get(t,"click")||N(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?De:je,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:je,isPropagationStopped:je,isImmediatePropagationStopped:je,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=De,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=De,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=De,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){T.event.special[e]={setup:function(){return Ae(this,e,ke),!1},trigger:function(){return Ae(this,e),!0},_default:function(){return!0},delegateType: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=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||T.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(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=je),this.each((function(){T.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);K.hasData(e)&&(i=K.access(e),a=T.extend({},i),K.set(t,a))}}function Re(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function _e(e,t,n,r){t=c(t);var o,i,a,s,l,u,p=0,d=e.length,f=d-1,h=t[0],m=g(h);if(m||d>1&&"string"==typeof h&&!v.checkClone&&Le.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),_e(i,t,n,r)}));if(d&&(i=(o=Se(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(xe(o,"script"),qe)).length;p<d;p++)l=o,p!==f&&(l=T.clone(l,!0,!0),s&&T.merge(a,xe(l,"script"))),n.call(e[p],l,p);if(s)for(u=a[a.length-1].ownerDocument,T.map(a,Be),p=0;p<s;p++)l=a[p],ye.test(l.type||"")&&!Q.access(l,"globalEval")&&T.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(Oe,""),l,u))}return e}function Fe(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(xe(r)),r.parentNode&&(n&&se(r)&&we(xe(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=xe(s),r=0,o=(i=xe(e)).length;r<o;r++)Re(i[r],a[r]);if(t)if(n)for(i=i||xe(e),a=a||xe(s),r=0,o=i.length;r<o;r++)Me(i[r],a[r]);else Me(e,s);return(a=xe(s,"script")).length>0&&we(a,!c&&xe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return U(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||Pe(this,e).appendChild(e)}))},prepend:function(){return _e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(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(xe(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 U(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&&!Ne.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}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(xe(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),l.apply(r,n.get());return this.pushStack(r)}}));var Ie=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},$e=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},ze=new RegExp(ie.join("|"),"i");function We(e,t,n){var r,o,i,a,s=e.style;return(n=n||He(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=T.style(e,t)),!v.pixelBoxStyles()&&Ie.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.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%",ae.appendChild(l).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,c=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),ae.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,l=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,T.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ze=["Webkit","Moz","ms"],Ge=b.createElement("div").style,Ye={};function Xe(e){var t=T.cssProps[e]||Ye[e];return t||(e in Ge?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ge)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ve=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=T.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=T.css(e,"border"+ie[a]+"Width",!0,o))):(c+=T.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=T.css(e,"border"+ie[a]+"Width",!0,o):s+=T.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function nt(e,t,n){var r=He(e),o=(!v.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ie.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!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,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=X(t),c=Ve.test(t),l=e.style;if(c||(t=Xe(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=X(t);return Ve.test(t)||(t=Xe(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in Ke&&(o=Ke[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!Je.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):$e(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=He(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),c=r?tt(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),et(0,n,c)}}})),T.cssHooks.marginLeft=Ue(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-$e(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+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=et)})),T.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=He(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=rt,rt.prototype={constructor:rt,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=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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[Xe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.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=rt.prototype.init,T.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,T.fx.interval),T.fx.tick())}function lt(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function ut(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=T.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=ot||lt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=X(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,l.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(l,e,u,l.opts))return g(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(u,pt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(_);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,l,u,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&le(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}f[r]=v&&v[r]||T.style(e,r)}if((c=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Q.get(e,"display")),"none"===(u=T.css(e,"display"))&&(l?u=l:(fe([e],!0),l=e.style.display||l,u=T.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===T.css(e,"float")&&(c||(d.done((function(){h.display=l})),null==l&&(u=h.display,l="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,f)c||(v?"hidden"in v&&(m=v.hidden):v=Q.access(e,"fxshow",{display:l}),i&&(v.hidden=!m),m&&fe([e],!0),d.done((function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),f)T.style(e,r,f[r])}))),c=pt(m?v[r]:0,r,d),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(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(){g(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(le).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),a=function(){var t=dt(this,T.extend({},e),i);(o||Q.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,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,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[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=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=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<a;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(ut(t,!0),e,r,o)}})),T.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("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(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ot=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,ct())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.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 ft,ht=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return U(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)?ft: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(!v.radioValue&&"radio"===t&&N(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(_);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={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=ht[t]||T.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var mt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(_)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}T.fn.extend({prop:function(e,t){return U(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):mt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.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,a,s,c=0;if(g(e))return this.each((function(t){T(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){T(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(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(xt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:gt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).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}},v.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var i,a,s,c,l,u,p,d,h=[n||b],m=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.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=n),t=null==t?[e]:T.makeArray(t,[e]),p=T.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(c=p.delegateType||m,wt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?c:p.bindType||m,(u=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&J(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!J(n)||l&&g(n[m])&&!y(n)&&((s=n[l])&&(n[l]=null),T.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Ct),T.event.triggered=void 0,s&&(n[l]=s)),e.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)}}),v.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var St=r.location,Tt={guid:Date.now()},Dt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var jt=/\[\]$/,kt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||jt.test(e)?r(e,o):Nt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Nt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=g(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)Nt(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")&&At.test(this.nodeName)&&!Et.test(e)&&(this.checked||!ve.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(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var Lt=/%20/g,Ot=/#.*$/,Pt=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,Mt=/^\/\//,Rt={},_t={},Ft="*/".concat("*"),It=b.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(_)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var o={},i=e===_t;function a(s){var c;return o[s]=!0,T.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(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}It.href=St.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,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?zt(zt(e,T.ajaxSettings),t):zt(T.ajaxSettings,e)},ajaxPrefilter:Ht(Rt),ajaxTransport:Ht(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,l,u,p,d,f=T.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?T(h):T.event,v=T.Deferred(),g=T.Callbacks("once memory"),y=f.statusCode||{},x={},w={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=qt.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 l?i:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||C;return n&&n.abort(t),D(0,t),this}};if(v.promise(S),f.url=((e||f.url||St.href)+"").replace(Mt,St.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(_)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=It.protocol+"//"+It.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),$t(Rt,f,t,S),l)return S;for(p in(u=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bt.test(f.type),o=f.url.replace(Ot,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Lt,"+")):(d=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(Dt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Pt,"$1"),d=(Dt.test(o)?"&":"?")+"_="+Tt.guid+++d),f.url=o+d),f.ifModified&&(T.lastModified[o]&&S.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&S.setRequestHeader("If-None-Match",T.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ft+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,S,f)||l))return S.abort();if(C="abort",g.add(f.complete),S.done(f.success),S.fail(f.error),n=$t(_t,f,t,S)){if(S.readyState=1,u&&m.trigger("ajaxSend",[S,f]),l)return S;f.async&&f.timeout>0&&(s=r.setTimeout((function(){S.abort("timeout")}),f.timeout));try{l=!1,n.send(x,D)}catch(e){if(l)throw e;D(-1,e)}}else D(-1,"No Transport");function D(e,t,a,c){var p,d,b,x,w,C=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",S.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,S,a)),!p&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[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 "+c+" to "+i}}}return{state:"success",data:t}}(f,x,S,p),p?(f.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(T.etag[o]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=x.state,d=x.data,p=!(b=x.error))):(b=C,!e&&C||(C="error",e<0&&(e=0))),S.status=e,S.statusText=(t||C)+"",p?v.resolveWith(h,[d,C,S]):v.rejectWith(h,[S,C,b]),S.statusCode(y),y=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[S,f,p?d:b]),g.fireWith(h,[S,C]),u&&(m.trigger("ajaxComplete",[S,f]),--T.active||T.event.trigger("ajaxStop")))}return S},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 g(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]&&(g(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 g(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=g(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 r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Ut=T.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,T.ajaxTransport((function(e){var t,n;if(v.cors||Ut&&!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=n=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(Wt[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(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),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)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt=[],Gt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.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(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?T(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Zt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=Se([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,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.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,a,s,c,l=T.css(e,"position"),u=T(e),p={};"static"===l&&(e.style.position="relative"),s=u.offset(),i=T.css(e,"top"),c=T.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+c).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),g(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):u.css(p)}},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||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(y(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]=Ue(v.pixelPosition,(function(e,n){if(n)return n=We(e,t),Ie.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 a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return y(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,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),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.mouseenter(e).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 Yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=N,T.isFunction=g,T.isWindow=y,T.camelCase=X,T.type=C,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(Yt,"")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,Jt=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=Jt),e&&r.jQuery===T&&(r.jQuery=Xt),T},void 0===o&&(r.jQuery=r.$=T),T}))},5666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r=p;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return N()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=D(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p="suspendedStart",d="suspendedYield",f="executing",h="completed",m={};function v(){}function g(){}function y(){}var b={};c(b,i,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(A([])));w&&w!==n&&r.call(w,i)&&(b=w);var C=y.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"==typeof p&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(p).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function D(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,D(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:N}}function N(){return{value:t,done:!0}}return g.prototype=y,c(C,"constructor",y),c(y,"constructor",g),g.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},S(T.prototype),c(T.prototype,a,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new T(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(C),c(C,s,"Generator"),c(C,i,(function(){return this})),c(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},3544:(e,t,n)=>{var r={"./anchor":4014,"./anchor.js":4014,"./array":5049,"./array.js":5049,"./avoid":4586,"./avoid.js":4586,"./browser":2108,"./browser.js":2108,"./color":4218,"./color.js":4218,"./console":8603,"./console.js":8603,"./console.mapped":68,"./console.mapped.js":68,"./coods":2955,"./coods.js":2955,"./cookie":1415,"./cookie.js":1415,"./date":2008,"./date.js":2008,"./disable":6556,"./disable.js":6556,"./errors":4638,"./errors.js":4638,"./event":7445,"./event.js":7445,"./font":3897,"./font.js":3897,"./form":9210,"./form.js":9210,"./format":9361,"./format.js":9361,"./function":8237,"./function.js":8237,"./iDB":5553,"./iDB.js":5553,"./json":5142,"./json.js":5142,"./load":5444,"./load.js":5444,"./math":7846,"./math.js":7846,"./obj":2574,"./obj.js":2574,"./path":4983,"./path.js":4983,"./promise":3705,"./promise.js":3705,"./screen":200,"./screen.js":200,"./scrollbar":2205,"./scrollbar.js":2205,"./shortcut":5703,"./shortcut.js":5703,"./state":6006,"./state.js":6006,"./storage":911,"./storage.js":911,"./store":8015,"./store.js":8015,"./svg":4803,"./svg.js":4803,"./text":6082,"./text.js":6082,"./time":7620,"./time.js":7620,"./timer":8240,"./timer.js":8240,"./tool":8018,"./tool.js":8018,"./trigger":6866,"./trigger.js":6866,"./type":8303,"./type.js":8303,"./window":4976,"./window.js":4976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=3544},8501:(e,t,n)=>{var r={"./anchor.js":4014,"./array.js":5049,"./avoid.js":4586,"./browser.js":2108,"./color.js":4218,"./console.js":8603,"./console.mapped.js":68,"./coods.js":2955,"./cookie.js":1415,"./date.js":2008,"./disable.js":6556,"./errors.js":4638,"./event.js":7445,"./font.js":3897,"./form.js":9210,"./format.js":9361,"./function.js":8237,"./iDB.js":5553,"./json.js":5142,"./load.js":5444,"./math.js":7846,"./obj.js":2574,"./path.js":4983,"./promise.js":3705,"./screen.js":200,"./scrollbar.js":2205,"./shortcut.js":5703,"./state.js":6006,"./storage.js":911,"./store.js":8015,"./svg.js":4803,"./text.js":6082,"./time.js":7620,"./timer.js":8240,"./tool.js":8018,"./trigger.js":6866,"./type.js":8303,"./window.js":4976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=8501},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},5861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:()=>o})},2982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(907);var o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7152:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"0.2.86","description":"Developer Tools","deprecated":false,"appCode":"dphelper","appCodeRelease":"dphelper","appName":"dphelper","appType":"beta","appFolder":"/","appPort":"","appAPI":"api","apiDev":"","apiProd":"","main":"index.js","targets":{"main":{"includeNodeModules":{"react":false,"react-dom":false},"isLibrary":true}},"engines":{"node":">=0.10.0"},"scripts":{"make-dist":"webpack --progress --color --mode production --config webpack.config.js","git":"cd node && node gitDeploy","git-tag":"cd node && node createTag","backup":"backup.bat","goLive":"cd node && node goLive"},"eslintConfig":{"globals":{"window":true}},"author":{"name":"Dario Passariello","website":"https://dario.passariello.ca","email":"dariopassariello@gmail.com"},"contributors":[{"name":"Dario Passariello","email":"dariopassariello@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"keywords":["utils","tools","uuid","random","window","store","easy","pro","powerful","passariello"],"license":"Apache-2.0","homepage":"https://github.com/passariello/dphelper","funding":[{"type":"individual","url":"https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project&currency_code=CAD"},{"type":"patreon","url":"https://www.patreon.com/passariello"}],"repository":{"type":"git","url":"https://github.com/passariello/dpHelper","help":"https://github.com/passariello/dpHelper#readme"},"bugs":{"url":"https://github.com/passariello/dpHelper/issues"},"devDependencies":{"@babel/plugin-transform-runtime":"7.17.0","css-loader":"6.7.1","eslint":"8.13.0","file-loader":"6.2.0","jest":"27.5.1","less-loader":"10.2.0","sass-loader":"12.6.0","style-loader":"3.3.1","webpack-cli":"4.9.2"},"dependencies":{"@babel/plugin-proposal-class-properties":"7.16.7","@babel/preset-env":"7.16.11","@babel/preset-react":"7.16.7","@babel/preset-typescript":"7.16.7","@testing-library/jest-dom":"^5.16.2","@testing-library/user-event":"^14.0.0","babel-loader":"8.2.4","child_process":"1.0.2","classnames":"2.3.1","cli-confirm":"1.0.1","compression-webpack-plugin":"9.2.0","concurrently":"7.1.0","copy-webpack-plugin":"10.2.4","css":"3.0.0","dotenv":"16.0.0","fs":"0.0.1-security","html-webpack-plugin":"5.5.0","jquery":"3.6.0","jsdom-worker":"0.2.1","jshint":"^2.13.4","less":"4.1.2","moment":"2.29.2","path":"0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.0.0","react-dom":"18.0.0","require":"2.4.20","sass":"1.50.0","ts-jest":"27.1.4","tslint":"6.1.3","webpack":"5.71.0"}}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(8851)})();
@@ -1,3 +1,10 @@
1
+ /*!
2
+ dpHelper
3
+ Copyright (c) 2021 Dario Passariello <dariopassariello@gmail.com>
4
+ Licensed under the Apache-2.0, see
5
+ https://dario.passariello.ca
6
+ */
7
+
1
8
  /*!
2
9
  * Sizzle CSS Selector Engine v2.3.6
3
10
  * https://sizzlejs.com/
@@ -9,12 +16,6 @@
9
16
  * Date: 2021-02-16
10
17
  */
11
18
 
12
- /*!
13
- * dpHelper <https://github.com/passariello/dpHelper>
14
- * Copyright (c) 2021, Dario Passariello.
15
- * Licensed under the Apache-2.0 License.
16
- */
17
-
18
19
  /*!
19
20
  * jQuery JavaScript Library v3.6.0
20
21
  * https://jquery.com/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dphelper",
3
- "version": "0.2.83",
3
+ "version": "0.2.86",
4
4
  "description": "Developer Tools",
5
5
  "deprecated": false,
6
6
  "appCode": "dphelper",
@@ -87,7 +87,7 @@
87
87
  "devDependencies": {
88
88
  "@babel/plugin-transform-runtime": "7.17.0",
89
89
  "css-loader": "6.7.1",
90
- "eslint": "8.12.0",
90
+ "eslint": "8.13.0",
91
91
  "file-loader": "6.2.0",
92
92
  "jest": "27.5.1",
93
93
  "less-loader": "10.2.0",
@@ -107,7 +107,7 @@
107
107
  "classnames": "2.3.1",
108
108
  "cli-confirm": "1.0.1",
109
109
  "compression-webpack-plugin": "9.2.0",
110
- "concurrently": "7.0.0",
110
+ "concurrently": "7.1.0",
111
111
  "copy-webpack-plugin": "10.2.4",
112
112
  "css": "3.0.0",
113
113
  "dotenv": "16.0.0",
@@ -123,7 +123,7 @@
123
123
  "react": "18.0.0",
124
124
  "react-dom": "18.0.0",
125
125
  "require": "2.4.20",
126
- "sass": "1.49.10",
126
+ "sass": "1.50.0",
127
127
  "ts-jest": "27.1.4",
128
128
  "tslint": "6.1.3",
129
129
  "webpack": "5.71.0"