/*! espocrm 2026-02-19 */ var Espo={};window.Espo=Espo;!function(){let c=this;c.Espo||(c.Espo={});if(c.Espo.loader)throw new Error("Loader was already loaded.");let o=new class{constructor(e){this._cacheTimestamp=e||null;this._libsConfig={};this._loadCallbacks={};this._pathsBeingLoaded={};this._dataLoaded={};this._definedMap={};this._aliasMap={};this._contextId=null;this._responseCache=null;this._basePath="";this._internalModuleList=[];this._transpiledModuleList=[];this._internalModuleMap={};this._isDeveloperMode=!1;let t=window.location.origin+window.location.pathname;"/"!==t.slice(-1)&&(t=window.location.pathname.includes(".")?t.slice(0,t.lastIndexOf("/"))+"/":t+"/");this._baseUrl=t;this._isDeveloperModeIsSet=!1;this._basePathIsSet=!1;this._responseCacheIsSet=!1;this._internalModuleListIsSet=!1;this._bundleFileMap={};this._bundleMapping={};this._bundleDependenciesMap={};this._bundlePromiseMap={};this._addLibsConfigCallCount=0;this._addLibsConfigCallMaxCount=2;this._urlIdMap={}}setIsDeveloperMode(e){if(this._isDeveloperModeIsSet)throw new Error("Is-Developer-Mode is already set.");this._isDeveloperMode=e;this._isDeveloperModeIsSet=!0}setBasePath(e){if(this._basePathIsSet)throw new Error("Base path is already set.");this._basePath=e;this._basePathIsSet=!0}getCacheTimestamp(){return this._cacheTimestamp}setCacheTimestamp(e){this._cacheTimestamp=e}setResponseCache(e){if(this._responseCacheIsSet)throw new Error("Response-Cache is already set");this._responseCache=e;this._responseCacheIsSet=!0}setInternalModuleList(e){if(this._internalModuleListIsSet)throw new Error("Internal-module-list is already set");this._internalModuleList=e;this._internalModuleMap={};this._internalModuleListIsSet=!0}setTranspiledModuleList(e){this._transpiledModuleList=e}_get(e){if(e in this._definedMap)return this._definedMap[e]}_set(e,t){this._definedMap[e]=t;if("lib!"===e.slice(0,4)){var i=e.slice(4),i=this._libsConfig[i];if(i&&i.exposeAs){i=i.exposeAs;window[i]=t}}}_idToPath(e){var t,i,n,r;return-1===e.indexOf(":")?"client/lib/transpiled/src/"+e+".js":([t,i]=e.split(":"),"custom"===t?"client/custom/src/"+i+".js":(n=this._transpiledModuleList.includes(t),r=this._isModuleInternal(t),n?r?`client/lib/transpiled/modules/${t}/src/${i}.js`:`client/custom/modules/${t}/lib/transpiled/src/${i}.js`:r?"client/modules/"+t+"/src/"+i+".js":"client/custom/modules/"+t+"/src/"+i+".js"))}_executeLoadCallback(e,t){if(e in this._loadCallbacks){this._loadCallbacks[e].forEach(e=>e(t));delete this._loadCallbacks[e]}}define(i,e,n){i=i&&this._normalizeId(i);if(!i&&document.currentScript){var t=document.currentScript.src;i=this._urlIdMap[t];delete this._urlIdMap[t]}!i&&this._contextId&&(i=this._contextId);this._contextId=null;t=this._get(i);if(void 0===t)if(e){let t=e.indexOf("exports");Array.isArray(e)&&(e=e.map(e=>this._normalizeIdPath(e,i)));this.require(e,(...e)=>{this._defineProceed(n,i,e,t)})}else this._defineProceed(n,i,[],-1)}_defineProceed(e,t,i,n){let r=e.apply(c,i);if(void 0===r&&-1===n&&t)throw new Error(`Could not load '${t}'.`);if(-1!==n){var s=i[n];r="default"in s?s.default:s}if(t){this._set(t,r);this._executeLoadCallback(t,r)}else console.warn("Lib without id.")}require(e,o,t){let a;if("[object Array]"===Object.prototype.toString.call(e)){a=e;a.forEach((e,t)=>{a[t]=this._normalizeId(e)})}else if(e){e=this._normalizeId(e);a=[e]}else a=[];let l=a.length;if(1===l)this._load(a[0],o,t);else if(l){let r=0,s={};a.forEach(n=>{this._load(n,e=>{s[n]=e;r++;if(r===l){var t,i=[];for(t in a)i.push(s[a[t]]);o.apply(c,i)}})})}else o.apply(c)}_convertCamelCaseToHyphen(e){return null===e?e:e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}_normalizeIdPath(e,t){if("."!==e.charAt(0))return e;if("./"!==e.slice(0,2)&&"../"!==e.slice(0,3))return e;let i=e;var n,r=t.split("/").slice(0,-1),s=("./"===e.slice(0,2)&&(i=r.join("/")+"/"+e.slice(2)),i.split("/"));let o=0;for(n of s){if(".."!==n)break;o++}o&&(i=r.slice(0,-o).join("/")+"/"+i.slice(3*o));return i}_restoreId(e){var t,i;return e.includes(":")?([t,i]=e.split(":"),`modules/${t}/`+i):e}_normalizeId(e){e in this._aliasMap&&(e=this._aliasMap[e]);~e.indexOf(".")&&!~e.indexOf("!")&&".js"!==e.slice(-3)&&console.warn(e+": module ID should use slashes instead of dots and hyphen instead of CamelCase.");if(/[A-Z]/.exec(e[0]))return-1!==e.indexOf(":")?(i=e.split(":"),t=i[0],i=i[1],this._convertCamelCaseToHyphen(t)+":"+this._convertCamelCaseToHyphen(i).split(".").join("/")):this._convertCamelCaseToHyphen(e).split(".").join("/");if(e.startsWith("modules/")){e=e.slice(8);var t=e.indexOf("/");if(0{var e=this._get(a);if(void 0===e){var t=`Could not obtain module '${n}' from bundle '${i}'.`;console.error(t);throw new Error(t)}l(e)});return}s=this._idToPath(a)}if(a in this._dataLoaded)l(this._dataLoaded[a]);else{let t={id:a,type:r,dataType:i,path:s,callback:l,errorCallback:c,exportsAs:o,exportsTo:n};if(s in this._pathsBeingLoaded)this._addLoadCallback(a,l);else{this._pathsBeingLoaded[s]=!0;let e=!1;if(this._cacheTimestamp){e=!0;d=-1{let e;if("amd"===r)return e=this._get(a),void 0===e?void 0:void this._executeLoadCallback(a,e);if(n&&o){e=this._fetchObject(n,o);this._dataLoaded[a]=e;this._executeLoadCallback(a,e)}else if("lib"===r){this._dataLoaded[a]=void 0;this._executeLoadCallback(a,void 0)}else console.warn(`Could not obtain ${a}.`)},c)}else this._responseCache?this._responseCache.match(new Request(u)).then(e=>{e?e.text().then(e=>this._handleResponseText(t,e)):this._processRequest(t)}):this._processRequest(t)}}}}_addScript(t,e,i=null){var n=document.createElement("script");n.src=t;n.async=!0;n.addEventListener("error",e=>{console.error(`Could not load script '${t}'.`,e);i&&i()});document.head.appendChild(n);n.addEventListener("load",()=>e())}_requireBundle(n){if(!this._bundlePromiseMap[n]){let i=this._bundleDependenciesMap[n]||[];i.length?this._bundlePromiseMap[n]=new Promise(e=>{var t=i.map(e=>0===e.indexOf("bundle!")?this._requireBundle(e.substring(7)):Espo.loader.requirePromise(e));Promise.all(t).then(()=>this._addBundle(n)).then(()=>e())}):this._bundlePromiseMap[n]=this._addBundle(n)}return this._bundlePromiseMap[n]}_addBundle(t){let e=this._bundleFileMap[t];if(!e)throw new Error(`Unknown bundle '${t}'.`);if(this._cacheTimestamp){var i=-1{console.error(`Could not load bundle '${t}'.`,e)});return new Promise(e=>{document.head.appendChild(n);n.addEventListener("load",()=>e())})}_fetchObject(e,t){let i=c;if("window"===e)i=c;else for(var n of e.split(".")){i=i[n];if(void 0===i)return}if(t in i)return i[t]}_processRequest(t){let i=t.url,n=t.errorCallback,r=t.path;var e=t.useCache,s=new URL(this._baseUrl+i);e||s.searchParams.append("_",Date.now().toString());fetch(s).then(e=>{if(e.ok)e.text().then(e=>{this._responseCache&&this._responseCache.put(i,new Response(e));this._handleResponseText(t,e)});else{if("function"!=typeof n)throw new Error(`Could not fetch asset '${r}'.`);n()}}).catch(()=>{if("function"!=typeof n)throw new Error(`Could not fetch asset '${r}'.`);n()})}_handleResponseText(e,t){var i=e.id,n=e.callback;this._addLoadCallback(i,n);this._dataLoaded[i]=t;this._executeLoadCallback(i,t)}addLibsConfig(e){if(this._addLibsConfigCallCount===this._addLibsConfigCallMaxCount)throw new Error("Not allowed to call addLibsConfig.");this._addLibsConfigCallCount++;this._libsConfig={...this._libsConfig,...e}}setAliasMap(e){this._aliasMap=e}_isModuleInternal(e){e in this._internalModuleMap||(this._internalModuleMap[e]=-1!==this._internalModuleList.indexOf(e));return this._internalModuleMap[e]}mapBundleFile(e,t){this._bundleFileMap[e]=t}mapBundleDependencies(e,t){this._bundleDependenciesMap[e]=t}addBundleMapping(e){Object.assign(this._bundleMapping,e)}setContextId(e){this._contextId=e}requirePromise(i){return new Promise((t,e)=>{this.require(i,e=>t(e),()=>e())})}};Espo.loader={setIsDeveloperMode:function(e){o.setIsDeveloperMode(e)},setBasePath:function(e){o.setBasePath(e)},getCacheTimestamp:function(){return o.getCacheTimestamp()},setCacheTimestamp:function(e){o.setCacheTimestamp(e)},setResponseCache:function(e){o.setResponseCache(e)},define:function(e,t,i){o.define(e,t,i)},require:function(e,t,i){o.require(e,t,i)},requirePromise:function(e){return o.requirePromise(e)},addLibsConfig:function(e){o.addLibsConfig(e)},mapBundleFile:function(e,t){o.mapBundleFile(e,t)},mapBundleDependencies:function(e,t){o.mapBundleDependencies(e,t)},addBundleMapping:function(e){o.addBundleMapping(e)},setContextId:function(e){o.setContextId(e)}};c.require=Espo.require=function(e,t,i,n){i&&(t=t.bind(i));o.require(e,t,n)};c.define=Espo.define=function(e,t,i){let n=null,r=null,s;if("function"==typeof e)s=e;else if(void 0!==e&&"function"==typeof t){if(Array.isArray(e))r=e;else{n=e;r=[]}s=t}else{n=e;r=t;s=i}o.define(n,r,s)};c.define.amd=!0;var e=document.querySelector('script[data-name="loader-params"]');if(e){e=JSON.parse(e.textContent);o.setCacheTimestamp(e.cacheTimestamp);o.setBasePath(e.basePath);o.setInternalModuleList(e.internalModuleList);o.setTranspiledModuleList(e.transpiledModuleList);o.addLibsConfig(e.libsConfig);o.setAliasMap(e.aliasMap)}}.call(window);Espo.loader.setContextId("lib!jquery"); /*! * jQuery JavaScript Library v3.7.1 * https://jquery.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2023-08-28T13:37Z */ ((e,t)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)})("undefined"!=typeof window?window:this,function(w,L){function b(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function B(e){return null!=e&&e===e.window}var t=[],F=Object.getPrototypeOf,a=t.slice,I=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},R=t.push,y=t.indexOf,q={},W=q.toString,V=q.hasOwnProperty,H=V.toString,X=H.call(Object),g={},S=w.document,j={type:!0,src:!0,nonce:!0,noModule:!0};function U(e,t,i){i=i||S;var n,r,s=i.createElement("script");s.text=e;if(t)for(n in j){r=t[n]||t.getAttribute&&t.getAttribute(n);r&&s.setAttribute(n,r)}i.head.appendChild(s).parentNode.removeChild(s)}function G(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?q[W.call(e)]||"object":typeof e}var Y=/HTML$/i,O=function(e,t){return new O.fn.init(e,t)};O.fn=O.prototype={jquery:"3.7.1",constructor:O,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=O.merge(this.constructor(),e);t.prevObject=this;return t},each:function(e){return O.each(this,e)},map:function(i){return this.pushStack(O.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(O.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(O.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i+~]|"+i+")"+i+"*"),Me=new RegExp(i+"|>"),Ae=new RegExp(s),_e=new RegExp("^"+e+"$"),we={ID:new RegExp("^#("+e+")"),CLASS:new RegExp("^\\.("+e+")"),TAG:new RegExp("^("+e+"|[*])"),ATTR:new RegExp("^"+me),PSEUDO:new RegExp("^"+s),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+ge+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},Se=/^(?:input|select|textarea|button)$/i,Oe=/^h\d$/i,$e=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ce=/[+~]/,d=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),u=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320))},Ee=function(){Pe()},ze=Ie(function(e){return!0===e.disabled&&M(e,"fieldset")},{dir:"parentNode",next:"legend"});try{C.apply(t=a.call(r.childNodes),r.childNodes);t[r.childNodes.length].nodeType}catch(e){C={apply:function(e,t){le.apply(e,a.call(t))},call:function(e){le.apply(e,a.call(arguments,1))}}}function k(t,e,i,n){var r,s,o,a,l,c,d=e&&e.ownerDocument,u=e?e.nodeType:9;i=i||[];if("string"!=typeof t||!t||1!==u&&9!==u&&11!==u)return i;if(!n){Pe(e);e=e||_;if($){if(11!==u&&(a=$e.exec(t)))if(r=a[1]){if(9===u){if(!(c=e.getElementById(r)))return i;if(c.id===r)return C.call(i,c),i}else if(d&&(c=d.getElementById(r))&&k.contains(e,c)&&c.id===r)return C.call(i,c),i}else{if(a[2])return C.apply(i,e.getElementsByTagName(t)),i;if((r=a[3])&&e.getElementsByClassName)return C.apply(i,e.getElementsByClassName(r)),i}if(!(pe[t+" "]||h&&h.test(t))){c=t;d=e;if(1===u&&(Me.test(t)||ye.test(t))){d=Ce.test(t)&&Te(e.parentNode)||e;d==e&&g.scope||((o=e.getAttribute("id"))?o=O.escapeSelector(o):e.setAttribute("id",o=E));l=Be(t);s=l.length;for(;s--;)l[s]=(o?"#"+o:":scope")+" "+Fe(l[s]);c=l.join(",")}try{C.apply(i,d.querySelectorAll(c));return i}catch(e){pe(t,!0)}finally{o===E&&e.removeAttribute("id")}}}}return Xe(t.replace(ee,"$1"),e,i,n)}function ke(){var i=[];function n(e,t){i.push(e+" ")>A.cacheLength&&delete n[i.shift()];return n[e+" "]=t}return n}function l(e){e[E]=!0;return e}function xe(e){var t=_.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function Ne(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ze(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function De(o){return l(function(s){s=+s;return l(function(e,t){for(var i,n=o([],e.length,s),r=n.length;r--;)e[i=n[r]]&&(e[i]=!(t[i]=e[i]))})})}function Te(e){return e&&void 0!==e.getElementsByTagName&&e}function Pe(e){var t=e?e.ownerDocument||e:r;if(t!=_&&9===t.nodeType&&t.documentElement){_=t;n=_.documentElement;$=!O.isXMLDoc(_);ae=n.matches||n.webkitMatchesSelector||n.msMatchesSelector;n.msMatchesSelector&&r!=_&&(t=_.defaultView)&&t.top!==t&&t.addEventListener("unload",Ee);g.getById=xe(function(e){n.appendChild(e).id=O.expando;return!_.getElementsByName||!_.getElementsByName(O.expando).length});g.disconnectedMatch=xe(function(e){return ae.call(e,"*")});g.scope=xe(function(){return _.querySelectorAll(":scope")});g.cssHas=xe(function(){try{_.querySelector(":has(*,:jqfake)")}catch(e){return 1}});if(g.getById){A.filter.ID=function(e){var t=e.replace(d,u);return function(e){return e.getAttribute("id")===t}};A.find.ID=function(e,t){var i;if(void 0!==t.getElementById&&$)return i=t.getElementById(e),i?[i]:[]}}else{A.filter.ID=function(e){var i=e.replace(d,u);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}};A.find.ID=function(e,t){if(void 0!==t.getElementById&&$){var i,n,r,s=t.getElementById(e);if(s){i=s.getAttributeNode("id");if(i&&i.value===e)return[s];r=t.getElementsByName(e);n=0;for(;s=r[n++];){i=s.getAttributeNode("id");if(i&&i.value===e)return[s]}}return[]}}}A.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)};A.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&$)return t.getElementsByClassName(e)};h=[];xe(function(e){var t;n.appendChild(e).innerHTML="";e.querySelectorAll("[selected]").length||h.push("\\["+i+"*(?:value|"+ge+")");e.querySelectorAll("[id~="+E+"-]").length||h.push("~=");e.querySelectorAll("a#"+E+"+*").length||h.push(".#.+[+~]");e.querySelectorAll(":checked").length||h.push(":checked");t=_.createElement("input");t.setAttribute("type","hidden");e.appendChild(t).setAttribute("name","D");n.appendChild(e).disabled=!0;2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled");t=_.createElement("input");t.setAttribute("name","");e.appendChild(t);e.querySelectorAll("[name='']").length||h.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")")});g.cssHas||h.push(":has");h=h.length&&new RegExp(h.join("|"));fe=function(e,t){if(e===t)return oe=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;if(i)return i;i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1;return 1&i||!g.sortDetached&&t.compareDocumentPosition(e)===i?e===_||e.ownerDocument==r&&k.contains(r,e)?-1:t===_||t.ownerDocument==r&&k.contains(r,t)?1:se?y.call(se,e)-y.call(se,t):0:4&i?-1:1}}return _}k.matches=function(e,t){return k(e,null,null,t)};k.matchesSelector=function(e,t){Pe(e);if($&&!pe[t+" "]&&(!h||!h.test(t)))try{var i=ae.call(e,t);if(i||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){pe(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(d,u);e[3]=(e[3]||e[4]||e[5]||"").replace(d,u);"~="===e[2]&&(e[3]=" "+e[3]+" ");return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if("nth"===e[1].slice(0,3)){e[3]||k.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])}else e[3]&&k.error(e[0]);return e},PSEUDO:function(e){var t,i=!e[6]&&e[2];if(we.CHILD.test(e[0]))return null;if(e[3])e[2]=e[4]||e[5]||"";else if(i&&Ae.test(i)&&(t=(t=Be(i,!0))&&i.indexOf(")",i.length-t)-i.length)){e[0]=e[0].slice(0,t);e[2]=i.slice(0,t)}return e.slice(0,3)}},filter:{TAG:function(e){var t=e.replace(d,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=de[e+" "];return t||(t=new RegExp("(^|"+i+")"+e+"("+i+"|$)"))&&de(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,r){return function(e){var t=k.attr(e,i);if(null==t)return"!="===n;if(!n)return!0;t+="";return"="===n?t===r:"!="===n?t!==r:"^="===n?r&&0===t.indexOf(r):"*="===n?r&&-1{try{return _.activeElement}catch(e){}})()&&_.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ne(!1),disabled:Ne(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!e.selected},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return!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!A.pseudos.empty(e)},header:function(e){return Oe.test(e.nodeName)},input:function(e){return Se.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:De(function(){return[0]}),last:De(function(e,t){return[t-1]}),eq:De(function(e,t,i){return[i<0?i+t:i]}),even:De(function(e,t){for(var i=0;ifunction(e){return M(e,"input")&&e.type===t})(ne);for(ne in{submit:!0,reset:!0})A.pseudos[ne]=(t=>function(e){return(M(e,"input")||M(e,"button"))&&e.type===t})(ne);function Le(){}Le.prototype=A.filters=A.pseudos;A.setFilters=new Le;function Be(e,t){var i,n,r,s,o,a,l,c=ue[e+" "];if(c)return t?0:c.slice(0);o=e;a=[];l=A.preFilter;for(;o;){if(!i||(n=be.exec(o))){n&&(o=o.slice(n[0].length)||o);a.push(r=[])}i=!1;if(n=ye.exec(o)){i=n.shift();r.push({value:i,type:n[0].replace(ee," ")});o=o.slice(i.length)}for(s in A.filter)if((n=we[s].exec(o))&&(!l[s]||(n=l[s](n)))){i=n.shift();r.push({value:i,type:s,matches:n});o=o.slice(i.length)}if(!i)break}return t?o.length:o?k.error(e):ue(e,a).slice(0)}function Fe(e){for(var t=0,i=e.length,n="";t{for(var n=0,r=t.length;n:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Ke(e,i,n){return b(i)?O.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?O.grep(e,function(e){return e===i!==n}):"string"!=typeof i?O.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,e=O.fn.init=function(e,t,i){var n,r;if(!e)return this;i=i||Je;if("string"==typeof e){n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Ze.exec(e);if(!n||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){t=t instanceof O?t[0]:t;O.merge(this,O.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:S,!0));if(Ye.test(n[1])&&O.isPlainObject(t))for(n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n])}else{r=S.getElementById(n[2]);if(r){this[0]=r;this.length=1}}return this}if(e.nodeType){this[0]=e;this.length=1;return this}return b(e)?void 0!==i.ready?i.ready(e):e(O):O.makeArray(e,this)},Je=(e.prototype=O.fn,O(S)),Qe=/^(?:parents|prev(?:Until|All))/,et={children:!0,contents:!0,next:!0,prev:!0};O.fn.extend({has:function(e){var t=O(e,this),i=t.length;return this.filter(function(){for(var e=0;e{var i={};O.each(e.match(x)||[],function(e,t){i[t]=!0});return i})(n):O.extend({},n);function i(){s=s||n.once;t=r=!0;for(;a.length;l=-1){e=a.shift();for(;++l{var t=e.ownerDocument,i=e.nodeName,n=_t[i];if(!n){t=t.body.appendChild(t.createElement(i));n=O.css(t,"display");t.parentNode.removeChild(t);"none"===n&&(n="block");_t[i]=n}return n})(n))}else if("none"!==i){r[s]="none";v.set(n,"display",i)}}}for(s=0;s\x20\t\r\n\f]*)/i,$t=/^$|^module$|\/(?:java|ecma)script/i,s=S.createDocumentFragment(),s=s.appendChild(S.createElement("div")),e=S.createElement("input");e.setAttribute("type","radio");e.setAttribute("checked","checked");e.setAttribute("name","t");s.appendChild(e);g.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked;s.innerHTML="";g.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue;s.innerHTML="";g.option=!!s.lastChild;var m={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};m.tbody=m.tfoot=m.colgroup=m.caption=m.thead;m.th=m.td;g.option||(m.optgroup=m.option=[1,""]);function D(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&M(e,t)?O.merge([e],i):i}function Ct(e,t){for(var i=0,n=e.length;i\s*$/g;function Ft(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&O(e).children("tbody")[0]||e}function It(e){e.type=(null!==e.getAttribute("type"))+"/"+e.type;return e}function Rt(e){"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type");return e}function qt(e,t){var i,n,r,s,o;if(1===t.nodeType){if(v.hasData(e)){s=v.get(e);o=s.events;if(o){v.remove(t,"handle events");for(r in o)for(i=0,n=o[r].length;i{for(var t=e[0].toUpperCase()+e.slice(1),i=oi.length;i--;){e=oi[i]+t;if(e in ai)return e}})(e)||e)}var di=/^(none|table(?!-c[ea]).+)/,ui={position:"absolute",visibility:"hidden",display:"block"},hi={letterSpacing:"0",fontWeight:"400"};function pi(e,t,i){var n=vt.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function fi(e,t,i,n,r,s){var o="width"===t?1:0,a=0,l=0,c=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2){"margin"===i&&(c+=O.css(e,i+f[o],!0,r));if(n){"content"===i&&(l-=O.css(e,"padding"+f[o],!0,r));"margin"!==i&&(l-=O.css(e,"border"+f[o]+"Width",!0,r))}else{l+=O.css(e,"padding"+f[o],!0,r);"padding"!==i?l+=O.css(e,"border"+f[o]+"Width",!0,r):a+=O.css(e,"border"+f[o]+"Width",!0,r)}}!n&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0);return l+c}function gi(e,t,i){var n=Ht(e),r=!g.boxSizingReliable()||i,r=r&&"border-box"===O.css(e,"boxSizing",!1,n),s=r,o=ri(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(jt.test(o)){if(!i)return o;o="auto"}if((!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&M(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===O.css(e,"display",!1,n))&&e.getClientRects().length){r="border-box"===O.css(e,"boxSizing",!1,n);s=a in e;s&&(o=e[a])}o=parseFloat(o)||0;return o+fi(e,t,i||(r?"border":"content"),s,n,o)+"px"}O.extend({cssHooks:{opacity:{get:function(e,t){var i;if(t)return i=ri(e,"opacity"),""===i?"1":i}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=N(t),l=Ut.test(t),c=e.style;l||(t=ci(a));o=O.cssHooks[t]||O.cssHooks[a];if(void 0===i)return o&&"get"in o&&void 0!==(r=o.get(e,!1,n))?r:c[t];s=typeof i;if("string"===s&&(r=vt.exec(i))&&r[1]){i=At(e,t,r);s="number"}if(null!=i&&i==i){"number"!==s||l||(i+=r&&r[3]||(O.cssNumber[a]?"":"px"));g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit");o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i)}}},css:function(e,t,i,n){var r,s=N(t),o=Ut.test(t);o||(t=ci(s));o=O.cssHooks[t]||O.cssHooks[s];o&&"get"in o&&(r=o.get(e,!0,i));void 0===r&&(r=ri(e,t,n));"normal"===r&&t in hi&&(r=hi[t]);if(""===i||i)return s=parseFloat(r),!0===i||isFinite(s)?s||0:r;return r}});O.each(["height","width"],function(e,a){O.cssHooks[a]={get:function(e,t,i){if(t)return!di.test(O.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?gi(e,a,i):Xt(e,ui,function(){return gi(e,a,i)})},set:function(e,t,i){var n=Ht(e),r=!g.scrollboxSize()&&"absolute"===n.position,s=r||i,s=s&&"border-box"===O.css(e,"boxSizing",!1,n),o=i?fi(e,a,i,s,n):0;s&&r&&(o-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(n[a])-fi(e,a,"border",!1,n)-.5));if(o&&(s=vt.exec(t))&&"px"!==(s[3]||"px")){e.style[a]=t;t=O.css(e,a)}return pi(0,t,o)}}});O.cssHooks.marginLeft=si(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ri(e,"marginLeft"))||e.getBoundingClientRect().left-Xt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"});O.each({margin:"",padding:"",border:"Width"},function(r,s){O.cssHooks[r+s]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[r+f[t]+s]=n[t]||n[t-2]||n[0];return i}};"margin"!==r&&(O.cssHooks[r+s].set=pi)});O.fn.extend({css:function(e,t){return p(this,function(e,t,i){var n,r,s={},o=0;if(Array.isArray(t)){n=Ht(e);r=t.length;for(;o{for(var n,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];){l.shift();void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"))}if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o=o||r}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]})(m,_,i));!r&&-1{var r,s,o,a,l,c={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];s=d.shift();for(;s;){e.responseFields[s]&&(i[e.responseFields[s]]=t);!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType));l=s;s=d.shift();if(s)if("*"===s)s=l;else if("*"!==l&&l!==s){o=c[l+" "+s]||c["* "+s];if(!o)for(r in c){a=r.split(" ");if(a[1]===s){o=c[l+" "+a[0]]||c["* "+a[0]];if(o){if(!0===o)o=c[r];else if(!0!==c[r]){s=a[0];d.unshift(a[1])}break}}}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}}return{state:"success",data:t}})(m,a,_,r);if(r){if(m.ifModified){l=_.getResponseHeader("Last-Modified");l&&(O.lastModified[u]=l);l=_.getResponseHeader("etag");l&&(O.etag[u]=l)}if(204===e||"HEAD"===m.type)c="nocontent";else if(304===e)c="notmodified";else{c=a.state;s=a.data;o=a.error;r=!o}}else{o=c;if(e||!c){c="error";e<0&&(e=0)}}_.status=e;_.statusText=(t||c)+"";r?y.resolveWith(v,[s,c,_]):y.rejectWith(v,[_,c,o]);_.statusCode(A);A=void 0;g&&b.trigger(r?"ajaxSuccess":"ajaxError",[_,m,r?s:o]);M.fireWith(v,[_,c]);if(g){b.trigger("ajaxComplete",[_,m]);--O.active||O.event.trigger("ajaxStop")}}}},getJSON:function(e,t,i){return O.get(e,t,i,"json")},getScript:function(e,t){return O.get(e,void 0,t,"script")}});O.each(["get","post"],function(e,r){O[r]=function(e,t,i,n){if(b(t)){n=n||i;i=t;t=void 0}return O.ajax(O.extend({url:e,type:r,dataType:n,data:t,success:i},O.isPlainObject(e)&&e))}});O.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")});O._evalUrl=function(e,t,i){return O.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){O.globalEval(e,t,i)}})};O.fn.extend({wrapAll:function(e){var t;if(this[0]){b(e)&&(e=e.call(this[0]));t=O(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)}return this},wrapInner:function(i){return b(i)?this.each(function(e){O(this).wrapInner(i.call(this,e))}):this.each(function(){var e=O(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=b(t);return this.each(function(e){O(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){this.parent(e).not("body").each(function(){O(this).replaceWith(this.childNodes)});return this}});O.expr.pseudos.hidden=function(e){return!O.expr.pseudos.visible(e)};O.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)};O.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var en={0:200,1223:204},tn=O.ajaxSettings.xhr();g.cors=!!tn&&"withCredentials"in tn;g.ajax=tn=!!tn;O.ajaxTransport(function(r){var s,o;if(g.cors||tn&&!r.crossDomain)return{send:function(e,t){var i,n=r.xhr();n.open(r.type,r.url,r.async,r.username,r.password);if(r.xhrFields)for(i in r.xhrFields)n[i]=r.xhrFields[i];r.mimeType&&n.overrideMimeType&&n.overrideMimeType(r.mimeType);r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(i in e)n.setRequestHeader(i,e[i]);s=function(e){return function(){if(s){s=o=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null;"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(en[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders())}}};n.onload=s();o=n.onerror=n.ontimeout=s("error");void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&w.setTimeout(function(){s&&o()})};s=s("abort");try{n.send(r.hasContent&&r.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}});O.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)});O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){O.globalEval(e);return e}}});O.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1);e.crossDomain&&(e.type="GET")});O.ajaxTransport("script",function(i){var n,r;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=O("