!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=Object.getPrototypeOf,i=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f=c.toString,p=f.call(Object),d={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},v=e.document,y={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||v).createElement("script");if(o.text=e,t)for(r in y)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[l.call(e)]||"object":typeof e}var b=/HTML$/i,w=function(e,t){return new w.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!h(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}w.fn=w.prototype={jquery:"3.7.1",constructor:w,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(w.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:a,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||h(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||w.isPlainObject(n)?n:{},i=!1,a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.7.1"+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]"!==l.call(e))&&(!(t=r(e))||"function"==typeof(n=c.call(t,"constructor")&&t.constructor)&&f.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(T(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=w.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?w.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!b.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,s=[];if(T(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return o(s)},guid:1,support:d}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()});var S=n.pop,E=n.sort,k=n.splice,j="[\\x20\\t\\r\\n\\f]",A=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g");w.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}w.escapeSelector=function(e){return(e+"").replace(D,N)};var q=v,L=a;!function(){var t,r,o,a,u,l,f,p,h,g,v=L,y=w.expando,m=0,x=0,b=ee(),T=ee(),D=ee(),N=ee(),H=function(e,t){return e===t&&(u=!0),0},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+j+"*("+P+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+j+"*\\]",R=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",I=new RegExp(j+"+","g"),W=new RegExp("^"+j+"*,"+j+"*"),F=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),$=new RegExp(j+"|>"),B=new RegExp(R),_=new RegExp("^"+P+"$"),z={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,Y=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),Q=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))},J=function(){ue()},K=pe(function(e){return!0===e.disabled&&C(e,"fieldset")},{dir:"parentNode",next:"legend"});try{v.apply(n=i.call(q.childNodes),q.childNodes),n[q.childNodes.length].nodeType}catch(e){v={apply:function(e,t){L.apply(e,i.call(t))},call:function(e){L.apply(e,i.call(arguments,1))}}}function Z(e,t,n,r){var i,o,a,s,u,c,f,g=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&(ue(t),t=t||l,p)){if(11!==m&&(u=V.exec(e)))if(i=u[1]){if(9===m){if(!(a=t.getElementById(i)))return n;if(a.id===i)return v.call(n,a),n}else if(g&&(a=g.getElementById(i))&&Z.contains(t,a)&&a.id===i)return v.call(n,a),n}else{if(u[2])return v.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&t.getElementsByClassName)return v.apply(n,t.getElementsByClassName(i)),n}if(!(N[e+" "]||h&&h.test(e))){if(f=e,g=t,1===m&&($.test(e)||F.test(e))){for((g=G.test(e)&&se(t.parentNode)||t)==t&&d.scope||((s=t.getAttribute("id"))?s=w.escapeSelector(s):t.setAttribute("id",s=y)),o=(c=ce(e)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+fe(c[o]);f=c.join(",")}try{return v.apply(n,g.querySelectorAll(f)),n}catch(t){N(e,!0)}finally{s===y&&t.removeAttribute("id")}}}return me(e.replace(A,"$1"),t,n,r)}function ee(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function te(e){return e[y]=!0,e}function ne(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return C(t,"input")&&t.type===e}}function ie(e){return function(t){return(C(t,"input")||C(t,"button"))&&t.type===e}}function oe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te(function(t){return t=+t,te(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function ue(e){var t,n=e?e.ownerDocument||e:q;return n!=l&&9===n.nodeType&&n.documentElement?(f=(l=n).documentElement,p=!w.isXMLDoc(l),g=f.matches||f.webkitMatchesSelector||f.msMatchesSelector,f.msMatchesSelector&&q!=l&&(t=l.defaultView)&&t.top!==t&&t.addEventListener("unload",J),d.getById=ne(function(e){return f.appendChild(e).id=w.expando,!l.getElementsByName||!l.getElementsByName(w.expando).length}),d.disconnectedMatch=ne(function(e){return g.call(e,"*")}),d.scope=ne(function(){return l.querySelectorAll(":scope")}),d.cssHas=ne(function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),d.getById?(r.filter.ID=function(e){var t=e.replace(Y,Q);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Y,Q);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},r.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},h=[],ne(function(e){var t;f.appendChild(e).innerHTML="<a id='"+y+"' href='' disabled='disabled'></a><select id='"+y+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+j+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+y+"-]").length||h.push("~="),e.querySelectorAll("a#"+y+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll(":checked").length||h.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")")}),d.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),H=function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==q&&Z.contains(q,e)?-1:t===l||t.ownerDocument==q&&Z.contains(q,t)?1:a?s.call(a,e)-s.call(a,t):0:4&n?-1:1)},l):l}for(t in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(ue(e),p&&!N[t+" "]&&(!h||!h.test(t)))try{var n=g.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return Z(t,l,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=l&&ue(e),w.contains(e,t)},Z.attr=function(e,t){(e.ownerDocument||e)!=l&&ue(e);var n=r.attrHandle[t.toLowerCase()],i=n&&c.call(r.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==i?i:e.getAttribute(t)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,o=0;if(u=!d.sortStable,a=!d.sortStable&&i.call(e,0),E.call(e,H),u){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)k.call(e,n[r],1)}return a=null,e},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(i.apply(this)))},(r=w.expr={cacheLength:50,createPseudo:te,match:z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,Q),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&B.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=b[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&b(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 i=Z.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(I," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),x=!u&&!s,b=!1;if(g){if(o){for(;h;){for(f=t;f=f[h];)if(s?C(f,v):1===f.nodeType)return!1;d=h="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&x){for(b=(p=(l=(c=g[y]||(g[y]={}))[e]||[])[0]===m&&l[1])&&l[2],f=p&&g.childNodes[p];f=++p&&f&&f[h]||(b=p=0)||d.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[m,p,b];break}}else if(x&&(b=p=(l=(c=t[y]||(t[y]={}))[e]||[])[0]===m&&l[1]),!1===b)for(;(f=++p&&f&&f[h]||(b=p=0)||d.pop())&&((s?!C(f,v):1!==f.nodeType)||!++b||(x&&((c=f[y]||(f[y]={}))[e]=[m,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=s.call(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:te(function(e){var t=[],n=[],r=ye(e.replace(A,"$1"));return r[y]?te(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return Z(e,t).length>0}}),contains:te(function(e){return e=e.replace(Y,Q),function(t){return(t.textContent||w.text(t)).indexOf(e)>-1}}),lang:te(function(e){return _.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(Y,Q).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:oe(!1),disabled:oe(!0),checked:function(e){return C(e,"input")&&!!e.checked||C(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){return C(e,"input")&&"button"===e.type||C(e,"button")},text:function(e){var t;return C(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae(function(){return[0]}),last:ae(function(e,t){return[t-1]}),eq:ae(function(e,t,n){return[n<0?n+t:n]}),even:ae(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ae(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ae(function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:ae(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=re(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ie(t);function le(){}function ce(e,t){var n,i,o,a,s,u,l,c=T[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=W.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=F.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(A," ")}),s=s.slice(n.length)),r.filter)!(i=z[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?Z.error(e):T(e,u).slice(0)}function fe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function pe(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f=[m,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=t[y]||(t[y]={}),i&&C(t,i))t=t[r]||t;else{if((l=c[o])&&l[0]===m&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=e(t,n,u))return!0}return!1}}function de(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ge(e,t,n,r,i,o){return r&&!r[y]&&(r=ge(r)),i&&!i[y]&&(i=ge(i,o)),te(function(o,a,u,l){var c,f,p,d,h=[],g=[],y=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)Z(e,t[r],n);return n}(t||"*",u.nodeType?[u]:u,[]),x=!e||!o&&t?m:he(m,h,e,u,l);if(n?n(x,d=i||(o?e:y||r)?[]:a,u,l):d=x,r)for(c=he(d,g),r(c,[],u,l),f=c.length;f--;)(p=c[f])&&(d[g[f]]=!(x[g[f]]=p));if(o){if(i||e){if(i){for(c=[],f=d.length;f--;)(p=d[f])&&c.push(x[f]=p);i(null,d=[],c,l)}for(f=d.length;f--;)(p=d[f])&&(c=i?s.call(o,p):h[f])>-1&&(o[c]=!(a[c]=p))}}else d=he(d===a?d.splice(y,d.length):d),i?i(null,a,d,l):v.apply(a,d)})}function ve(e){for(var t,n,i,a=e.length,u=r.relative[e[0].type],l=u||r.relative[" "],c=u?1:0,f=pe(function(e){return e===t},l,!0),p=pe(function(e){return s.call(t,e)>-1},l,!0),d=[function(e,n,r){var i=!u&&(r||n!=o)||((t=n).nodeType?f(e,n,r):p(e,n,r));return t=null,i}];c<a;c++)if(n=r.relative[e[c].type])d=[pe(de(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[y]){for(i=++c;i<a&&!r.relative[e[i].type];i++);return ge(c>1&&de(d),c>1&&fe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(A,"$1"),n,c<i&&ve(e.slice(c,i)),i<a&&ve(e=e.slice(i)),i<a&&fe(e))}d.push(n)}return de(d)}function ye(e,t){var n,i=[],a=[],s=D[e+" "];if(!s){for(t||(t=ce(e)),n=t.length;n--;)(s=ve(t[n]))[y]?i.push(s):a.push(s);(s=D(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,s,u,c,f){var d,h,g,y=0,x="0",b=a&&[],T=[],C=o,E=a||i&&r.find.TAG("*",f),k=m+=null==C?1:Math.random()||.1,j=E.length;for(f&&(o=s==l||s||f);x!==j&&null!=(d=E[x]);x++){if(i&&d){for(h=0,s||d.ownerDocument==l||(ue(d),u=!p);g=e[h++];)if(g(d,s||l,u)){v.call(c,d);break}f&&(m=k)}n&&((d=!g&&d)&&y--,a&&b.push(d))}if(y+=x,n&&x!==y){for(h=0;g=t[h++];)g(b,T,s,u);if(a){if(y>0)for(;x--;)b[x]||T[x]||(T[x]=S.call(c));T=he(T)}v.apply(c,T),f&&!a&&T.length>0&&y+t.length>1&&w.uniqueSort(c)}return f&&(m=k,o=C),b};return n?te(a):a}(a,i))).selector=e}return s}function me(e,t,n,i){var o,a,s,u,l,c="function"==typeof e&&e,f=!i&&ce(e=c.selector||e);if(n=n||[],1===f.length){if((a=f[0]=f[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===t.nodeType&&p&&r.relative[a[1].type]){if(!(t=(r.find.ID(s.matches[0].replace(Y,Q),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=z.needsContext.test(e)?0:a.length;o--&&(s=a[o],!r.relative[u=s.type]);)if((l=r.find[u])&&(i=l(s.matches[0].replace(Y,Q),G.test(a[0].type)&&se(t.parentNode)||t))){if(a.splice(o,1),!(e=i.length&&fe(a)))return v.apply(n,i),n;break}}return(c||ye(e,f))(i,t,!p,n,!t||G.test(e)&&se(t.parentNode)||t),n}le.prototype=r.filters=r.pseudos,r.setFilters=new le,d.sortStable=y.split("").sort(H).join("")===y,ue(),d.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))}),w.find=Z,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,Z.compile=ye,Z.select=me,Z.setDocument=ue,Z.tokenize=ce,Z.escape=w.escapeSelector,Z.getText=w.text,Z.isXML=w.isXMLDoc,Z.selectors=w.expr,Z.support=w.support,Z.uniqueSort=w.uniqueSort}();var H=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=w.expr.match.needsContext,M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return h(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return s.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"==typeof e&&P.test(e)?w(e):e||[],!1).length}});var I,W=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:W.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 w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),M.test(r[1])&&w.isPlainObject(t))for(r in t)h(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,I=w(v);var F=/^(?:parents|prev(?:Until|All))/,$={children:!0,contents:!0,next:!0,prev:!0};function B(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!P.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(w(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return H(e,"parentNode")},parentsUntil:function(e,t,n){return H(e,"parentNode",n)},next:function(e){return B(e,"nextSibling")},prev:function(e){return B(e,"previousSibling")},nextAll:function(e){return H(e,"nextSibling")},prevAll:function(e){return H(e,"previousSibling")},nextUntil:function(e,t,n){return H(e,"nextSibling",n)},prevUntil:function(e,t,n){return H(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(C(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&($[e]||w.uniqueSort(i),F.test(e)&&i.reverse()),this.pushStack(i)}});var _=/[^\x20\t\r\n\f]+/g;function z(e){return e}function X(e){throw e}function U(e,t,n,r){var i;try{e&&h(i=e.promise)?i.call(e).done(t).fail(n):e&&h(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(_)||[],function(e,n){t[n]=!0}),t}(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){h(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){for(var n;(n=w.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=h(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&h(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,h(l)?i?l.call(e,a(o,n,z,i),a(o,n,X,i)):(o++,l.call(e,a(o,n,z,i),a(o,n,X,i),a(o,n,z,n.notifyWith))):(r!==z&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.error),t+1>=o&&(r!==X&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getErrorHook?c.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(c.error=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,h(i)?i:z,e.notifyWith)),n[1][3].add(a(0,e,h(t)?t:z)),n[2][3].add(a(0,e,h(r)?r:X))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?i.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(U(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||h(o[n]&&o[n].then)))return a.then();for(;n--;)U(o[n],s(n),a.reject);return a.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&V.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var G=w.Deferred();function Y(){v.removeEventListener("DOMContentLoaded",Y),e.removeEventListener("load",Y),w.ready()}w.fn.ready=function(e){return G.then(e).catch(function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||G.resolveWith(v,[w]))}}),w.ready.then=G.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(w.ready):(v.addEventListener("DOMContentLoaded",Y),e.addEventListener("load",Y));var Q=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)Q(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,h(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},J=/^-ms-/,K=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function ee(e){return e.replace(J,"ms-").replace(K,Z)}var te=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ne(){this.expando=w.expando+ne.uid++}ne.uid=1,ne.prototype={cache:function(e){var t=e[this.expando];return t||(t={},te(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[ee(t)]=n;else for(r in t)i[ee(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][ee(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(ee):(t=ee(t))in r?[t]:t.match(_)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||w.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&&!w.isEmptyObject(t)}};var re=new ne,ie=new ne,oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function se(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:oe.test(e)?JSON.parse(e):e)}(n)}catch(e){}ie.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return ie.hasData(e)||re.hasData(e)},data:function(e,t,n){return ie.access(e,t,n)},removeData:function(e,t){ie.remove(e,t)},_data:function(e,t,n){return re.access(e,t,n)},_removeData:function(e,t){re.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ie.get(o),1===o.nodeType&&!re.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=ee(r.slice(5)),se(o,r,i[r]));re.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ie.set(this,e)}):Q(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=ie.get(o,e))?n:void 0!==(n=se(o,e))?n:void 0;this.each(function(){ie.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ie.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=re.get(e,t),n&&(!r||Array.isArray(n)?r=re.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){w.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return re.get(e,n)||re.access(e,n,{empty:w.Callbacks("once memory").add(function(){re.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=re.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ue=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,le=new RegExp("^(?:([+-])=|)("+ue+")([a-z%]*)$","i"),ce=["Top","Right","Bottom","Left"],fe=v.documentElement,pe=function(e){return w.contains(e.ownerDocument,e)},de={composed:!0};fe.getRootNode&&(pe=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(de)===e.ownerDocument});var he=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&pe(e)&&"none"===w.css(e,"display")};function ge(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=e.nodeType&&(w.cssNumber[t]||"px"!==l&&+u)&&le.exec(w.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ve={};function ye(e){var t,n=e.ownerDocument,r=e.nodeName,i=ve[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ve[r]=i,i)}function me(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=re.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&he(r)&&(i[o]=ye(r))):"none"!==n&&(i[o]="none",re.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return me(this,!0)},hide:function(){return me(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){he(this)?w(this).show():w(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=v.createDocumentFragment().appendChild(v.createElement("div")),(be=v.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),d.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",d.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",d.option=!!xe.lastChild;var Se={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 Ee(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?w.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)re.set(e[n],"globalEval",!t||re.get(t[n],"globalEval"))}Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,d.option||(Se.optgroup=Se.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(je.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=Se[s]||Se._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=pe(o),a=Ee(f.appendChild(o),"script"),l&&ke(a),n)for(c=0;o=a[c++];)Ce.test(o.type||"")&&n.push(o);return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}function He(e,t,n){n?(re.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var n,r=re.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=i.call(arguments),re.set(this,t,r),this[t](),n=re.get(this,t),re.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(re.set(this,t,w.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===re.get(e,t)&&w.event.add(e,t,Ne)}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=re.get(e);if(te(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(fe,i),n.guid||(n.guid=w.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(_)||[""]).length;l--;)d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=re.hasData(e)&&re.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(_)||[""]).length;l--;)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||w.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&re.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=w.event.fix(e),l=(re.get(this,"events")||Object.create(null))[u.type]||[],c=w.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=w.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((w.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&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(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&C(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&C(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&C(t,"input")&&re.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.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},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(v.documentMode){var n=re.get(this,"handle"),r=w.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else w.event.simulate(t,e.target,w.event.fix(e))}w.event.special[e]={setup:function(){var r;if(He(this,e,!0),!v.documentMode)return!1;(r=re.get(this,t))||this.addEventListener(t,n),re.set(this,t,(r||0)+1)},trigger:function(){return He(this,e),!0},teardown:function(){var e;if(!v.documentMode)return!1;(e=re.get(this,t)-1)?re.set(this,t,e):(this.removeEventListener(t,n),re.remove(this,t))},_default:function(t){return re.get(t.target,e)},delegateType:t},w.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=re.get(i,t);o||(v.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),re.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=v.documentMode?this:r,o=re.get(i,t)-1;o?re.set(i,t,o):(v.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),re.remove(i,t))}}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||w.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){w.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(re.hasData(e)&&(s=re.get(e).events))for(i in re.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)w.event.add(t,i,s[i][n]);ie.hasData(e)&&(o=ie.access(e),a=w.extend({},o),ie.set(t,a))}}function $e(e,t,n,r){t=o(t);var i,a,s,u,l,c,f=0,p=e.length,g=p-1,v=t[0],y=h(v);if(y||p>1&&"string"==typeof v&&!d.checkClone&&Pe.test(v))return e.each(function(i){var o=e.eq(i);y&&(t[0]=v.call(this,i,o.html())),$e(o,t,n,r)});if(p&&(a=(i=Ae(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(u=(s=w.map(Ee(i,"script"),Ie)).length;f<p;f++)l=i,f!==g&&(l=w.clone(l,!0,!0),u&&w.merge(s,Ee(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,We),f=0;f<u;f++)l=s[f],Ce.test(l.type||"")&&!re.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&!l.noModule&&w._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):m(l.textContent.replace(Me,""),l,c))}return e}function Be(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(Ee(r)),r.parentNode&&(n&&pe(r)&&ke(Ee(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=pe(e);if(!(d.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=Ee(c),r=0,i=(o=Ee(e)).length;r<i;r++)s=o[r],u=a[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Ee(e),a=a||Ee(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return(a=Ee(c,"script")).length>0&&ke(a,!f&&Ee(e,"script")),c},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(te(n)){if(t=n[re.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[re.expando]=void 0}n[ie.expando]&&(n[ie.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return Q(this,function(e){return void 0===e?w.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||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(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&&(w.cleanData(Ee(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return Q(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!Se[(Te.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(Ee(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;w.inArray(this,e)<0&&(w.cleanData(Ee(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),w(i[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}});var _e=new RegExp("^("+ue+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(ce.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(A,"$1")||void 0),""!==a||pe(e)||(a=w.style(e,t)),!d.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",fe.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),fe.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=v.createElement("div"),c=v.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",d.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(d,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=v.createElement("table"),n=v.createElement("tr"),r=v.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",fe.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,fe.removeChild(t)),s}}))}();var Qe=["Webkit","Moz","ms"],Je=v.createElement("div").style,Ke={};function Ze(e){var t=w.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=le.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=w.css(e,n+ce[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+ce[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+ce[a]+"Width",!0,i))):(u+=w.css(e,"padding"+ce[a],!0,i),"padding"!==n?u+=w.css(e,"border"+ce[a]+"Width",!0,i):s+=w.css(e,"border"+ce[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!d.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!d.boxSizingReliable()&&i||!d.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===w.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===w.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ee(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=le.exec(n))&&i[1]&&(n=ge(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),d.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=ee(t);return ze.test(t)||(t=Ze(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!et.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,r):Ue(e,tt,function(){return ot(e,t,r)})},set:function(e,n,r){var i,o=Xe(e),a=!d.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===w.css(e,"boxSizing",!1,o),u=r?it(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-it(e,t,"border",!1,o)-.5)),u&&(i=le.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),rt(0,n,u)}}}),w.cssHooks.marginLeft=Ye(d.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ce[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=rt)}),w.fn.extend({css:function(e,t){return Q(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}}),w.Tween=at,at.prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=w.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):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.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=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=at.prototype.init,w.fx.step={};var st,ut,lt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ft(){ut&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ft):e.setTimeout(ft,w.fx.interval),w.fx.tick())}function pt(){return e.setTimeout(function(){st=void 0}),st=Date.now()}function dt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ce[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ht(e,t,n){for(var r,i=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function gt(e,t,n){var r,i,o=0,a=gt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=st||pt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].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:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:st||pt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.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(i)return this;for(i=!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}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=ee(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=gt.prefilters[o].call(l,e,c,l.opts))return h(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,ht,l),h(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),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ge(n.elem,e,le.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(_);for(var n,r=0,i=e.length;r<i;r++)n=e[r],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&he(e),v=re.get(e,"fxshow");for(r in n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],lt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=re.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(me([e],!0),l=e.style.display||l,c=w.css(e,"display"),me([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=re.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&me([e],!0),p.done(function(){for(r in g||me([e]),re.remove(e,"fxshow"),d)w.style(e,r,d[r])})),u=ht(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){h(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(he).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=gt(this,w.extend({},e),o);(i||re.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.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,i=null!=e&&e+"queueHooks",o=w.timers,a=re.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ct.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=re.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,r,i)}}),w.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),st=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){ut||(ut=!0,ft())},w.fx.stop=function(){ut=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=v.createElement("input"),t=v.createElement("select").appendChild(v.createElement("option"));e.type="checkbox",d.checkOn=""!==e.value,d.optSelected=t.selected,(e=v.createElement("input")).value="t",e.type="radio",d.radioValue="t"===e.value}();var vt,yt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return Q(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!d.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(_);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=yt[t]||w.find.attr;yt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=yt[a],yt[a]=i,i=null!=n(e,t,r)?a:null,yt[a]=o),i}});var mt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function bt(e){return(e.match(_)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}w.fn.extend({prop:function(e,t){return Q(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),d.optSelected||(w.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)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(e){var t,n,r,i,o,a;return h(e)?this.each(function(t){w(this).addClass(e.call(this,t,wt(this)))}):(t=Tt(e)).length?this.each(function(){if(r=wt(this),n=1===this.nodeType&&" "+bt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=bt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,r,i,o,a;return h(e)?this.each(function(t){w(this).removeClass(e.call(this,t,wt(this)))}):arguments.length?(t=Tt(e)).length?this.each(function(){if(r=wt(this),n=1===this.nodeType&&" "+bt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=bt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return h(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,wt(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Tt(e),this.each(function(){if(s)for(o=w(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=wt(this))&&re.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":re.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=h(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Ct,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:bt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=w.makeArray(t),a=i.length;a--;)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},d.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St=e.location,Et={guid:Date.now()},kt=/\?/;w.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||w.error("Invalid XML: "+(r?w.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var jt=/^(?:focusinfocus|focusoutblur)$/,At=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,r,i){var o,a,s,u,l,f,p,d,y=[r||v],m=c.call(t,"type")?t.type:t,x=c.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!jt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(x=m.split("."),m=x.shift(),x.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:w.makeArray(n,[t]),p=w.event.special[m]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!g(r)){for(u=p.delegateType||m,jt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)y.push(a),s=a;s===(r.ownerDocument||v)&&y.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=y[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?u:p.bindType||m,(f=(re.get(a,"events")||Object.create(null))[t.type]&&re.get(a,"handle"))&&f.apply(a,n),(f=l&&a[l])&&f.apply&&te(a)&&(t.result=f.apply(a,n),!1===t.result&&t.preventDefault());return t.type=m,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(y.pop(),n)||!te(r)||l&&h(r[m])&&!g(r)&&((s=r[l])&&(r[l]=null),w.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,At),r[m](),t.isPropagationStopped()&&d.removeEventListener(m,At),w.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var Dt=/\[\]$/,Nt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;function Ht(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||Dt.test(e)?r(e,i):Ht(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)Ht(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=h(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)Ht(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Lt.test(this.nodeName)&&!qt.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}});var Ot=/%20/g,Pt=/#.*$/,Mt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Wt=/^\/\//,Ft={},$t={},Bt="*/".concat("*"),_t=v.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(_)||[];if(h(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Xt(e,t,n,r){var i={},o=e===$t;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ut(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}_t.href=St.href,w.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:{"*":Bt,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":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,w.ajaxSettings),t):Ut(w.ajaxSettings,e)},ajaxPrefilter:zt(Ft),ajaxTransport:zt($t),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,s,u,l,c,f,p,d=w.ajaxSetup({},n),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?w(h):w.event,y=w.Deferred(),m=w.Callbacks("once memory"),x=d.statusCode||{},b={},T={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Rt.exec(o);)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?o:null},setRequestHeader:function(e,t){return null==l&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),E(0,t),this}};if(y.promise(S),d.url=((t||d.url||St.href)+"").replace(Wt,St.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(_)||[""],null==d.crossDomain){u=v.createElement("a");try{u.href=d.url,u.href=u.href,d.crossDomain=_t.protocol+"//"+_t.host!=u.protocol+"//"+u.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=w.param(d.data,d.traditional)),Xt(Ft,d,n,S),l)return S;for(f in(c=w.event&&d.global)&&0==w.active++&&w.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!It.test(d.type),i=d.url.replace(Pt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ot,"+")):(p=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(kt.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Mt,"$1"),p=(kt.test(i)?"&":"?")+"_="+Et.guid+++p),d.url=i+p),d.ifModified&&(w.lastModified[i]&&S.setRequestHeader("If-Modified-Since",w.lastModified[i]),w.etag[i]&&S.setRequestHeader("If-None-Match",w.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&S.setRequestHeader("Content-Type",d.contentType),S.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Bt+"; q=0.01":""):d.accepts["*"]),d.headers)S.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(h,S,d)||l))return S.abort();if(C="abort",m.add(d.complete),S.done(d.success),S.fail(d.error),r=Xt($t,d,n,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,d]),l)return S;d.async&&d.timeout>0&&(s=e.setTimeout(function(){S.abort("timeout")},d.timeout));try{l=!1,r.send(b,E)}catch(e){if(l)throw e;E(-1,e)}}else E(-1,"No Transport");function E(t,n,a,u){var f,p,v,b,T,C=n;l||(l=!0,s&&e.clearTimeout(s),r=void 0,o=u||"",S.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(d,S,a)),!f&&w.inArray("script",d.dataTypes)>-1&&w.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.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 "+u+" to "+o}}}return{state:"success",data:t}}(d,b,S,f),f?(d.ifModified&&((T=S.getResponseHeader("Last-Modified"))&&(w.lastModified[i]=T),(T=S.getResponseHeader("etag"))&&(w.etag[i]=T)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,f=!(v=b.error))):(v=C,!t&&C||(C="error",t<0&&(t=0))),S.status=t,S.statusText=(n||C)+"",f?y.resolveWith(h,[p,C,S]):y.rejectWith(h,[S,C,v]),S.statusCode(x),x=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[S,d,f?p:v]),m.fireWith(h,[S,C]),c&&(g.trigger("ajaxComplete",[S,d]),--w.active||w.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return h(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return h(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();d.cors=!!Gt&&"withCredentials"in Gt,d.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(d.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.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 w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),v.head.appendChild(t[0])},abort:function(){n&&n()}}});var Yt,Qt=[],Jt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||w.expando+"_"+Et.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Jt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=h(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Jt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Qt.push(i)),a&&h(o)&&o(a[0]),a=o=void 0}),"script"}),d.createHTMLDocument=((Yt=v.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((r=(t=v.implementation.createHTMLDocument("")).createElement("base")).href=v.location.href,t.head.appendChild(r)):t=v),o=!n&&[],(i=M.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&w(o).remove(),w.merge([],i.childNodes)));var r,i,o},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=bt(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=w.css(e,"position"),c=w(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=w.css(e,"top"),u=w.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),h(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.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],i={top:0,left:0};if("fixed"===w.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"===w.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||fe})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return Q(this,function(e,r,i){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=Ye(d.pixelPosition,function(e,n){if(n)return n=Ge(e,t),_e.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Q(this,function(t,n,i){var o;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),w.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){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Kt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return r=i.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(i.call(arguments)))}).guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=C,w.isFunction=h,w.isWindow=g,w.camelCase=ee,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace(Kt,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Zt=e.jQuery,en=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=en),t&&e.jQuery===w&&(e.jQuery=Zt),w},void 0===t&&(e.jQuery=e.$=w),w});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendocore=e.kendocore||{},e.kendocore.js=t())}(this,(function(){var e,t="change",n={small:"(max-width: 500px)",medium:"(min-width: 500.1px) and (max-width: 768px)",large:"(min-width: 768.1px)"};function r(r){if(r)return r in(e=e||Object.assign({},n,kendo.defaults.breakpoints))&&(r=e[r]),function(e){var n=window.matchMedia(e),r=[],i=[],o=[],a={mediaQueryList:n},s=function(e){o.forEach((function(t){return t(e)})),e.matches?r.forEach((function(t){return t(e)})):i.forEach((function(t){return t(e)}))};return n.addEventListener(t,s),a.onChange=function(e){return o.push(e),a},a.onEnter=function(e){if(r.push(e),n.matches){var i=n.media;e(new MediaQueryListEvent(t,{media:i,matches:!0}))}return a},a.onLeave=function(e){return i.push(e),a},a.destroy=function(){n&&n.removeEventListener(t,s),r=null,i=null,o=null,n=null,a=null},a}(r)}var i={name:"@progress/kendo-ui",productName:"Kendo UI",productCodes:["KENDOUICOMPLETE","KENDOUI","UIASPCORE","KENDOMVC","KENDOUIMVC"],publishDate:0,version:"2023.3.1114".replace(/^\s+|\s+$/g,""),licensingDocsUrl:"https://docs.telerik.com/kendo-ui/intro/installation/using-license-code?utm_medium=product&utm_source=kendojquery&utm_campaign=kendo-ui-jquery-purchase-license-keys-warning"};return function(e,t,o){var a,s=t.kendo=t.kendo||{cultures:{}},u=e.extend,l=e.each,c=Array.isArray,d=e.noop,f=Math,p=t.JSON||{},m={},h=/%/,g=/\{(\d+)(:[^\}]+)?\}/g,v=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,y=/^(\+|-?)\d+(\.?)\d*$/,b="month",w="hour",M="zone",x="weekday",k="quarter",S={G:"era",y:"year",q:k,Q:k,M:b,L:b,d:"day",E:x,c:x,e:x,h:w,H:w,k:w,K:w,m:"minute",s:"second",a:"dayperiod",t:"dayperiod",x:M,X:M,z:M,Z:M},T={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},C="function",O="string",D="number",E="object",z="null",A="boolean",_="undefined",N="prefix",P="aria-labelledby",H="aria-label",F={},L={},j=[].slice,U=["themeColor","fillMode","shape","size","rounded","positionMode"],I=function(){var e,t,n,r,i,a,s=arguments,u=arguments[0]||{},l=1,c=arguments.length,d=!1;for("boolean"==typeof u&&(d=u,u=arguments[l]||{},l++),"object"!=typeof u&&"function"!=typeof u&&(u={}),l===c&&(u=this,l--);l<c;l++)if(null!=(i=s[l]))for(r in i)"filters"!=r&&"concat"!=r&&":"!=r&&(e=u[r],u!==(n=i[r])&&(d&&n&&(jQuery.isPlainObject(n)||(t=Array.isArray(n)))?(t?(t=!1,a=e&&Array.isArray(e)?e:[]):a=e&&jQuery.isPlainObject(e)?e:{},u[r]=I(d,a,n)):n!==o&&(u[r]=n)));return u};function R(){}s.version="2023.3.1114".replace(/^\s+|\s+$/g,""),R.extend=function(e){var t,n,r=function(){},i=this,o=e&&e.init?e.init:function(){i.apply(this,arguments)};for(t in r.prototype=i.prototype,n=o.fn=o.prototype=new r,e)null!=e[t]&&e[t].constructor===Object?n[t]=u(!0,{},r.prototype[t],e[t]):n[t]=e[t];return n.constructor=o,o.extend=i.extend,o},R.prototype._initOptions=function(e){this.options=ne({},this.options,e)};s.isPresent=function(e){return null!==e&&e!==o},s.isBlank=function(e){return null===e||e===o},s.isString=function(e){return"string"==typeof e},s.isNumeric=function(e){return!isNaN(e-parseFloat(e))},s.isDate=function(e){return e&&e.getTime};var W=s.isFunction=function(e){return"function"==typeof e},$=function(){this._defaultPrevented=!0},B=function(){return!0===this._defaultPrevented},V=R.extend({init:function(){this._events={}},bind:function(e,t,n){var r,i,a,s,u=this,l=typeof e===O?[e]:e,c=typeof t===C;if(t===o){for(r in e)u.bind(r,e[r]);return u}for(r=0,i=l.length;r<i;r++)e=l[r],(s=c?t:t[e])&&(n&&(a=s,s=function(){u.unbind(e,s),a.apply(u,arguments)},s.original=a),(u._events[e]=u._events[e]||[]).push(s));return u},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,r,i,o=this,a=typeof e===O?[e]:e,s=typeof t===C;for(n=0,r=a.length;n<r;n++)e=a[n],(i=s?t:t[e])&&(o._events[e]=o._events[e]||[]).unshift(i);return o},trigger:function(e,t){var n,r,i=this,o=i._events[e];if(o){for((t=t||{}).sender=i,t._defaultPrevented=!1,t.preventDefault=$,t.isDefaultPrevented=B,n=0,r=(o=o.slice()).length;n<r;n++)o[n].call(i,t);return!0===t._defaultPrevented}return!1},unbind:function(e,t){var n,r=this,i=r._events[e];if(e===o)r._events={};else if(i)if(t)for(n=i.length-1;n>=0;n--)i[n]!==t&&i[n].original!==t||i.splice(n,1);else r._events[e]=[];return r}});function q(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),r=e.substring(1);return"="===n?"+("+r+")+":":"===n?"+$kendoHtmlEncode("+r+")+":";"+e+";$kendoOutput+="}var Y=/^\w+/,K=/\$\{([^}]*)\}/g,J=/\\\}/g,G=/__CURLY__/g,Q=/\\#/g,Z=/__SHARP__/g,X=["","0","00","000","0000"];function ee(e,t,n){return(n=(t=t||2)-(e+="").length)?X[t].substring(0,n)+e:e}function te(e,t,n){var r=s._outerWidth,i=s._outerHeight,o=e.parent(),a=e.closest(".k-animation-container"),u=e.is(":visible"),l=o[0].style,c=e[0].style.height;a.is(":hidden")&&a.css({display:"",position:""}),h.test(l.width)||h.test(l.height)||(u||e.add(o).show(),n&&o.css("width",""),o.css({width:t?r(e)+1:r(e)}),"auto"===c?e.css({height:i(o)}):o.css({height:i(e)}),u||e.hide())}function ne(e){var t=arguments,n=1,r=arguments.length;for(n=1;n<r;n++)re(e,t[n]);return e}function re(e,n){var r,i,o,a,u,l=s.data.ObservableArray,c=s.data.LazyObservableArray,d=s.data.DataSource,f=s.data.HierarchicalDataSource;for(r in n)!(a=(o=typeof(i=n[r]))===E&&null!==i?i.constructor:null)||a===Array||a===l||a===c||a===d||a===f||a===RegExp||s.isFunction(t.ArrayBuffer)&&a===ArrayBuffer||i instanceof HTMLElement?o!==_&&(e[r]=i):i instanceof Date?e[r]=new Date(i.getTime()):W(i.clone)?e[r]=i.clone():(u=e[r],e[r]=typeof u===E&&u||{},re(e[r],i));return e}function ie(e,t,n){for(var r in t)if(t.hasOwnProperty(r)&&t[r].test(e))return r;return n!==o?n:e}function oe(e){return e.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()}))}function ae(t,n){var r,i={};return document.defaultView&&document.defaultView.getComputedStyle?(r=document.defaultView.getComputedStyle(t,""),n&&e.each(n,(function(e,t){i[t]=r.getPropertyValue(t)}))):(r=t.currentStyle,n&&e.each(n,(function(e,t){i[t]=r[oe(t)]}))),s.size(i)||(i=r),i}a={paramName:"data",useWithBlock:!0,render:function(e,t){var n,r,i="";for(n=0,r=t.length;n<r;n++)i+=e(t[n]);return i},compile:function(e,n){var r,i,o,a=u({},this,n),l=a.paramName,c=l.match(Y)[0],d=a.useWithBlock,f="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if(W(e))return e;for(f+=d?"with("+l+"){":"",f+="$kendoOutput=",i=e.replace(J,"__CURLY__").replace(K,"#=$kendoHtmlEncode($1)#").replace(G,"}").replace(Q,"__SHARP__").split("#"),o=0;o<i.length;o++)f+=q(i[o],o%2==0);f+=d?";}":";",f=(f+="return $kendoOutput;").replace(Z,"#");try{return(r=new Function(c,f))._slotCount=Math.floor(i.length/2),r}catch(n){if(!s.debugTemplates)throw new Error(s.format("Invalid template:'{0}' Generated code:'{1}'",e,f));t.console.warn("Invalid template:'"+e+"' Generated code:'"+f+"'")}}},function(){var e,t,n,r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},o={}.toString;function a(e){return r.lastIndex=0,r.test(e)?'"'+e.replace(r,(function(e){var t=i[e];return typeof t===O?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(r,i){var u,l,c,d,f,p,m=e,h=i[r];if(h&&typeof h===E&&typeof h.toJSON===C&&(h=h.toJSON(r)),typeof n===C&&(h=n.call(i,r,h)),(p=typeof h)===O)return a(h);if(p===D)return isFinite(h)?String(h):z;if(p===A||p===z)return String(h);if(p===E){if(!h)return z;if(e+=t,f=[],"[object Array]"===o.apply(h)){for(d=h.length,u=0;u<d;u++)f[u]=s(u,h)||z;return c=0===f.length?"[]":e?"[\n"+e+f.join(",\n"+e)+"\n"+m+"]":"["+f.join(",")+"]",e=m,c}if(n&&typeof n===E)for(d=n.length,u=0;u<d;u++)typeof n[u]===O&&(c=s(l=n[u],h))&&f.push(a(l)+(e?": ":":")+c);else for(l in h)Object.hasOwnProperty.call(h,l)&&(c=s(l,h))&&f.push(a(l)+(e?": ":":")+c);return c=0===f.length?"{}":e?"{\n"+e+f.join(",\n"+e)+"\n"+m+"}":"{"+f.join(",")+"}",e=m,c}}typeof Date.prototype.toJSON!==C&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?ee(e.getUTCFullYear(),4)+"-"+ee(e.getUTCMonth()+1)+"-"+ee(e.getUTCDate())+"T"+ee(e.getUTCHours())+":"+ee(e.getUTCMinutes())+":"+ee(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof p.stringify!==C&&(p.stringify=function(r,i,o){var a;if(e="",t="",typeof o===D)for(a=0;a<o;a+=1)t+=" ";else typeof o===O&&(t=o);if(n=i,i&&typeof i!==C&&(typeof i!==E||typeof i.length!==D))throw new Error("JSON.stringify");return s("",{"":r})})}(),function(){var t=/EEEE|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|zzz|zz|z|"[^"]*"|'[^']*'/g,n=/^(n|c|p|e)(\d*)$/i,r=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,i=/\,/g,a="",u=".",l="#",c="0",d="en-US",p={}.toString;function m(e){if(e){if(e.numberFormat)return e;if(typeof e===O){var t=s.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function h(e){return e&&(e=m(e)),e||s.cultures.current}s.cultures=s.cultures||{},s.cultures["en-US"]={name:d,numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n %","n %"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{name:"US Dollar",abbr:"USD",pattern:["($n)","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December"],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",F:"dddd, MMMM dd, yyyy h:mm:ss tt",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",m:"MMMM dd",M:"MMMM dd",s:"yyyy'-'MM'-'ddTHH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM, yyyy",Y:"MMMM, yyyy"},"/":"/",":":":",firstDay:0,twoDigitYearMax:2029}}},s.culture=function(e){var t,n=s.cultures;if(e===o)return n.current;(t=m(e)||n[d]).calendar=t.calendars.standard,n.current=t},s.findCulture=m,s.getCulture=h,s.culture(d);var v=function(e,t,n,r){var i,a,s,l,c,d,f=e.indexOf(r[u]),p=r.groupSize.slice(),m=p.shift();if(n=-1!==f?f:n+1,(a=(i=e.substring(t,n)).length)>=m){for(s=a,l=[];s>-1;)if((c=i.substring(s-m,s))&&l.push(c),s-=m,0===(m=(d=p.shift())!==o?d:m)){s>0&&l.push(i.substring(0,s));break}i=l.reverse().join(r[","]),e=e.substring(0,t)+i+e.substring(n)}return e},y=function(e,t,n){return t=t||0,e=e.toString().split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),n&&(e=-e),(e=+((e=e.toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(Math.min(t,20))},b=function(e,s,d){if(s){if("[object Date]"===p.call(e))return function(e,n,r){var i=(r=h(r)).calendars.standard,a=i.days,s=i.months;return(n=n.pattern||i.patterns[n]||n).replace(t,(function(t){var n,r,u;return"d"===t?r=e.getDate():"dd"===t?r=ee(e.getDate()):"ddd"===t?r=a.namesAbbr[e.getDay()]:"dddd"===t||"EEEE"===t?r=a.names[e.getDay()]:"M"===t?r=e.getMonth()+1:"MM"===t?r=ee(e.getMonth()+1):"MMM"===t?r=s.namesAbbr[e.getMonth()]:"MMMM"===t?r=s.names[e.getMonth()]:"yy"===t?r=ee(e.getFullYear()%100):"yyyy"===t?r=ee(e.getFullYear(),4):"h"===t?r=e.getHours()%12||12:"hh"===t?r=ee(e.getHours()%12||12):"H"===t?r=e.getHours():"HH"===t?r=ee(e.getHours()):"m"===t?r=e.getMinutes():"mm"===t?r=ee(e.getMinutes()):"s"===t?r=e.getSeconds():"ss"===t?r=ee(e.getSeconds()):"f"===t?r=f.floor(e.getMilliseconds()/100):"ff"===t?((r=e.getMilliseconds())>99&&(r=f.floor(r/10)),r=ee(r)):"fff"===t?r=ee(e.getMilliseconds(),3):"tt"===t||"aa"===t?r=e.getHours()<12?i.AM[0]:i.PM[0]:"zzz"===t?(u=(n=e.getTimezoneOffset())<0,r=f.abs(n/60).toString().split(".")[0],n=f.abs(n)-60*r,r=(u?"+":"-")+ee(r),r+=":"+ee(n)):"zz"!==t&&"z"!==t||(u=(r=e.getTimezoneOffset()/60)<0,r=f.abs(r).toString().split(".")[0],r=(u?"+":"-")+("zz"===t?ee(r):r)),r!==o?r:t.slice(1,t.length-1)}))}(e,s,d);if(typeof e===D)return function(e,t,s){var d,f,p,m,g,b,w,M,x,k,S,T,C,O,D,E,z,A,_,N,P=(s=h(s)).numberFormat,H=P[u],F=P.decimals,L=P.pattern[0],j=[],U=e<0,I=a,R=a,W=-1;if(e===o)return a;if(!isFinite(e))return e;if(!t)return s.name.length?e.toLocaleString():e.toString();if(g=n.exec(t)){if(p="p"===(t=g[1].toLowerCase()),((f="c"===t)||p)&&(H=(P=f?P.currency:P.percent)[u],F=P.decimals,d=P.symbol,L=P.pattern[U?0:1]),(m=g[2])&&(F=+m),"e"===t)return(m?e.toExponential(F):e.toExponential()).replace(u,P[u]);if(p&&(e*=100),U=(e=y(e,F))<0,b=(e=e.split(u))[0],w=e[1],U&&(b=b.substring(1)),R=v(b,0,b.length,P),w&&(R+=H+w),"n"===t&&!U)return R;for(e=a,x=0,k=L.length;x<k;x++)e+="n"===(S=L.charAt(x))?R:"$"===S||"%"===S?d:S;return e}if((t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1)&&(t=t.replace(r,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return j.push(n),"??"}))),t=t.split(";"),U&&t[1])t=t[1],C=!0;else if(0===e&&t[2]){if(-1==(t=t[2]).indexOf(l)&&-1==t.indexOf(c))return t}else t=t[0];if((p=-1!=t.indexOf("%"))&&(e*=100),(f=-1!=(_=t.indexOf("$")))&&"\\"===t[_-1]&&(t=t.split("\\").join(""),f=!1),(f||p)&&(H=(P=f?P.currency:P.percent)[u],F=P.decimals,d=P.symbol),(T=t.indexOf(",")>-1)&&(t=t.replace(i,a)),O=t.indexOf(u),k=t.length,-1!=O)if(w=(w=(w=e.toString().split("e"))[1]?y(e,Math.abs(w[1])):w[0]).split(u)[1]||a,z=(E=t.lastIndexOf(c)-O)>-1,A=(D=t.lastIndexOf(l)-O)>-1,x=w.length,z||A||(k=(t=t.substring(0,O)+t.substring(O+1)).length,O=-1,x=0),z&&E>D)x=E;else if(D>E)if(A&&x>D){for(var $=y(e,D,U);$.charAt($.length-1)===c&&D>0&&D>E;)D--,$=y(e,D,U);x=D}else z&&x<E&&(x=E);if(e=y(e,x,U),D=t.indexOf(l),E=t.indexOf(c),W=-1==D&&-1!=E?E:-1!=D&&-1==E?D:D>E?E:D,D=t.lastIndexOf(l),E=t.lastIndexOf(c),N=-1==D&&-1!=E?E:-1!=D&&-1==E||D>E?D:E,W==k&&(N=W),-1!=W){for(b=(R=e.toString().split(u))[0],w=R[1]||a,M=b.length,w.length,U&&-1*e>=0&&(U=!1),e=t.substring(0,W),U&&!C&&(e+="-"),x=W;x<k;x++){if(S=t.charAt(x),-1==O){if(N-x<M){e+=b;break}}else if(-1!=E&&E<x&&(I=a),O-x<=M&&O-x>-1&&(e+=b,x=O),O===x){e+=(w?H:a)+w,x+=N-O+1;continue}S===c?(e+=S,I=S):S===l&&(e+=I)}if(T&&(e=v(e,W+(U&&!C?1:0),Math.max(N,M+W),P)),N>=W&&(e+=t.substring(N+1)),f||p){for(R=a,x=0,k=e.length;x<k;x++)R+="$"===(S=e.charAt(x))||"%"===S?d:S;e=R}if(k=j.length)for(x=0;x<k;x++)e=e.replace("??",j[x])}return e}(e,s,d)}return e!==o?e:""};s.format=function(e){var t=arguments;return e.replace(g,(function(e,n,r){var i=t[parseInt(n,10)+1];return b(i,r?r.substring(1):"")}))},s._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},s._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},s._round=y,s._outerWidth=function(t,n){return e(t).outerWidth(n||!1)||0},s._outerHeight=function(t,n){return e(t).outerHeight(n||!1)||0},s.toString=b}(),function(){var t=/\u00A0/g,n=/\s/g,r=/[eE][\-+]?[0-9]+/,i=/[+|\-]\d{1,2}/,a=/[+|\-]\d{1,2}:?\d{2}/,u=/^\/Date\((.*?)\)\/$/,l=/[+-]\d*/,d=[[],["G","g","F"],["D","d","y","m","T","t"]],p=[["yyyy-MM-ddTHH:mm:ss.fffffffzzz","yyyy-MM-ddTHH:mm:ss.fffffff","yyyy-MM-ddTHH:mm:ss.fffzzz","yyyy-MM-ddTHH:mm:ss.fff","ddd MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:sszzz","yyyy-MM-ddTHH:mmzzz","yyyy-MM-ddTHH:mmzz","yyyy-MM-ddTHH:mm:ss","yyyy-MM-dd HH:mm:ss","yyyy/MM/dd HH:mm:ss"],["yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm","yyyy/MM/dd HH:mm"],["yyyy/MM/dd","yyyy-MM-dd","HH:mm:ss","HH:mm"]],m={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},h={}.toString;function g(e,t,n){return!(e>=t&&e<=n)}function v(e){return e.charAt(0)}function y(t){return e.map(t,v)}function b(e){for(var t=0,n=e.length,r=[];t<n;t++)r[t]=(e[t]+"").toLowerCase();return r}function w(e){var t,n={};for(t in e)n[t]=b(e[t]);return n}function M(e,t,n,r,u){if(!e)return null;var l,c,d,f,p,h,v,b,M,x,k,S,T=function(e){for(var n=0;t[L]===e;)n++,L++;return n>0&&(L-=1),n},C=function(t){var n,r,i="";if(2===t)for(var o=0;o<=t;o++)i+=e[j+o]||"";return i=u&&3===i.length&&Number.isInteger(Number(i))&&Number(i)>0?function(e){return e.replace(/^0*/,"")}(i):e.substr(j,t),n=m[t]||new RegExp("^\\d{1,"+t+"}"),(r=i.match(n))?(r=r[0],j+=r.length,parseInt(r,10)):null},O=function(t,n){for(var r,i,o,a=0,s=t.length,u=0,l=0;a<s;a++)i=(r=t[a]).length,o=e.substr(j,i),n&&(o=o.toLowerCase()),o==r&&i>u&&(u=i,l=a);return u?(j+=u,l+1):null},D=function(){var n=!1;return e.charAt(j)===t[L]&&(j++,n=!0),n},E=n.calendars.standard,z=null,A=null,_=null,N=null,P=null,H=null,F=null,L=0,j=0,U=!1,I=new Date,R=E.twoDigitYearMax||2029,W=I.getFullYear();for(t||(t="d"),(f=E.patterns[t])&&(t=f),d=(t=t.split("")).length;L<d;L++)if(l=t[L],U)"'"===l?U=!1:D();else if("d"===l){if(c=T("d"),E._lowerDays||(E._lowerDays=w(E.days)),null!==_&&c>2)continue;if(null===(_=c<3?C(2):O(E._lowerDays[3==c?"namesAbbr":"names"],!0))||g(_,1,31))return null}else if("M"===l){if(c=T("M"),E._lowerMonths||(E._lowerMonths=w(E.months)),null===(A=c<3?C(2):O(E._lowerMonths[3==c?"namesAbbr":"names"],!0))||g(A,1,12))return null;A-=1}else if("y"===l){if(null===(z=C(c=T("y"))))return null;2==c&&("string"==typeof R&&(R=W+parseInt(R,10)),(z=W-W%100+z)>R&&(z-=100))}else if("h"===l){if(T("h"),12==(N=C(2))&&(N=0),null===N||g(N,0,11))return null}else if("H"===l){if(T("H"),null===(N=C(2))||g(N,0,23))return null}else if("m"===l){if(T("m"),null===(P=C(2))||g(P,0,59))return null}else if("s"===l){if(T("s"),null===(H=C(2))||g(H,0,59))return null}else if("f"===l){if(c=T("f"),S=e.substr(j,c).match(m[3]),null!==(F=C(c))&&(F=parseFloat("0."+S[0],10),F=s._round(F,3),F*=1e3),null===F||g(F,0,999))return null}else if("t"===l){if(c=T("t"),b=E.AM,M=E.PM,1===c&&(b=y(b),M=y(M)),!(p=O(M))&&!O(b))return null}else if("z"===l){if(h=!0,c=T("z"),"Z"===e.substr(j,1)){D();continue}if(!(v=e.substr(j,6).match(c>2?a:i)))return null;if(x=(v=v[0].split(":"))[0],!(k=v[1])&&x.length>3&&(j=x.length-2,k=x.substring(j),x=x.substring(0,j)),g(x=parseInt(x,10),-12,13))return null;if(c>2&&(k=v[0][0]+k,k=parseInt(k,10),isNaN(k)||g(k,-59,59)))return null}else if("'"===l)U=!0,D();else if(!D())return null;return r&&!/^\s*$/.test(e.substr(j))?null:(null===z&&null===A&&null===_&&(null!==N||null!==P||H||null)?(z=W,A=I.getMonth(),_=I.getDate()):(null===z&&(z=W),null===_&&(_=1)),p&&N<12&&(N+=12),h?(x&&(N+=-x),k&&(P+=-k),e=new Date(Date.UTC(z,A,_,N,P,H,F))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(e=new Date(z,A,_,N,P,H,F),N),z<100&&e.setFullYear(z),e.getDate()!==_&&h===o?null:e)}function x(e,t,n,r,i){if("[object Date]"===h.call(e))return e;var o,a,m,g,v=0,y=null;if(e&&0===e.indexOf("/D")&&(y=u.exec(e)))return y=y[1],a=l.exec(y.substring(1)),y=new Date(parseInt(y,10)),a&&(m=a[0],g="-"===m.substr(0,1)?-1:1,m=m.substring(1),a=g*(60*parseInt(m.substr(0,2),10)+parseInt(m.substring(2),10)),y=s.timezone.apply(y,0),y=s.timezone.convert(y,0,-1*a)),y;for(n=s.getCulture(n),t||(t=function(e){var t,n,r,i=f.max(d.length,p.length),o=(e.calendar||e.calendars.standard).patterns,a=[];for(r=0;r<i;r++){for(t=d[r],n=0;n<t.length;n++)a.push(o[t[n]]);a=a.concat(p[r])}return a}(n)),o=(t=c(t)?t:[t]).length;v<o;v++)if(y=M(e,t[v],n,r,i))return y;return y}s.parseDate=function(e,t,n,r){return x(e,t,n,!1,r)},s.parseExactDate=function(e,t,n){return x(e,t,n,!0)},s.parseInt=function(e,t){var n=s.parseFloat(e,t);return n&&(n|=0),n},s.parseFloat=function(e,i,o){if(!e&&0!==e)return null;if(typeof e===D)return e;e=e.toString();var a,u,l=(i=s.getCulture(i)).numberFormat,c=l.percent,d=l.currency,f=d.symbol,p=c.symbol,m=e.indexOf("-");return r.test(e)?(e=parseFloat(e.replace(l["."],".")),isNaN(e)&&(e=null),e):m>0?null:(m=m>-1,e.indexOf(f)>-1||o&&o.toLowerCase().indexOf("c")>-1?(a=(l=d).pattern[0].replace("$",f).split("n"),e.indexOf(a[0])>-1&&e.indexOf(a[1])>-1&&(e=e.replace(a[0],"").replace(a[1],""),m=!0)):e.indexOf(p)>-1&&(u=!0,l=c,f=p),e=e.replace("-","").replace(f,"").replace(t," ").split(l[","].replace(t," ")).join("").replace(n,"").replace(l["."],"."),e=parseFloat(e),isNaN(e)?e=null:m&&(e*=-1),e&&u&&(e/=100),e)}}(),function(){m._scrollbar=o,m.scrollbar=function(e){if(isNaN(m._scrollbar)||e){var t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",document.body.appendChild(n),m._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return m._scrollbar},m.isRtl=function(t){return e(t).closest(".k-rtl").length>0};var n=document.createElement("table");try{n.innerHTML="<tr><td></td></tr>",m.tbodyInnerHtml=!0}catch(e){m.tbodyInnerHtml=!1}m.touch="ontouchstart"in t;var r=document.documentElement.style,i=m.transitions=!1,a=m.transforms=!1,s="HTMLElement"in t?HTMLElement.prototype:[];m.hasHW3D="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix||"MozPerspective"in r||"msPerspective"in r,m.cssFlexbox="flexWrap"in r||"WebkitFlexWrap"in r||"msFlexWrap"in r,l(["Moz","webkit","O","ms"],(function(){var e=this.toString(),t=typeof n.style[e+"Transition"]===O;if(t||typeof n.style[e+"Transform"]===O){var r=e.toLowerCase();return a={css:"ms"!=r?"-"+r+"-":"",prefix:e,event:"o"===r||"webkit"===r?r:""},t&&((i=a).event=i.event?i.event+"TransitionEnd":"transitionend"),!1}})),n=null,m.transforms=a,m.transitions=i,m.devicePixelRatio=t.devicePixelRatio===o?1:t.devicePixelRatio;try{m.screenWidth=t.outerWidth||t.screen?t.screen.availWidth:t.innerWidth,m.screenHeight=t.outerHeight||t.screen?t.screen.availHeight:t.innerHeight}catch(e){m.screenWidth=t.screen.availWidth,m.screenHeight=t.screen.availHeight}m.detectOS=function(e){var n,r=!1,i=[],o=!/mobile safari/i.test(e),a={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},s={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},u={tablet:/playbook|ipad|fire/i},l={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(var c in a)if(a.hasOwnProperty(c)&&(i=e.match(a[c]))){if("windows"==c&&"plugins"in navigator)return!1;(r={}).device=c,r.tablet=ie(c,u,!1),r.browser=ie(e,l,"default"),r.name=ie(c,s),r[r.name]=!0,r.majorVersion=i[2],r.minorVersion=(i[3]||"0").replace("_","."),n=r.minorVersion.replace(".","").substr(0,2),r.flatVersion=r.majorVersion+n+new Array(3-(n.length<3?n.length:2)).join("0"),r.cordova=typeof t.PhoneGap!==_||typeof t.cordova!==_,r.appMode=t.navigator.standalone||/file|local|wmapp/.test(t.location.protocol)||r.cordova,r.android&&(m.devicePixelRatio<1.5&&r.flatVersion<400||o)&&(m.screenWidth>800||m.screenHeight>800)&&(r.tablet=c);break}return r};var u,c,d,f,p=m.mobileOS=m.detectOS(navigator.userAgent);m.wpDevicePixelRatio=p.wp?screen.width/320:0,m.hasNativeScrolling=!1,(p.ios||p.android&&p.majorVersion>2||p.wp)&&(m.hasNativeScrolling=p),m.delayedClick=function(){if(m.touch){if(p.ios)return!0;if(p.android)return!m.browser.chrome||!(m.browser.version<32)&&!(e("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},m.mouseAndTouchPresent=m.touch&&!(m.mobileOS.ios||m.mobileOS.android),m.detectBrowser=function(e){var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var i in r)if(r.hasOwnProperty(i)&&(n=e.match(r[i]))){(t={})[i]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10),t.chrome&&e.match(/(edg)[ \/]([\w.]+)/i)&&(t.chromiumEdge=!0);break}return t},m.browser=m.detectBrowser(navigator.userAgent),!p&&m.touch&&m.browser.safari&&(p=m.mobileOS={ios:!0,tablet:"tablet",device:"ipad",majorVersion:13}),m.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return m.browser.chrome&&(e.paste=!1,m.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},m.clipboard=m.detectClipboardAccess(),m.zoomLevel=function(){try{var e=m.browser,n=0,r=document.documentElement;return e.msie&&11==e.version&&r.scrollHeight>r.clientHeight&&!m.touch&&(n=m.scrollbar()),m.touch?r.clientWidth/t.innerWidth:e.msie&&e.version>=10?((top||t).document.documentElement.offsetWidth+n)/(top||t).innerWidth:1}catch(e){return 1}},u=m.browser,c="",d=e(document.documentElement),f=parseInt(u.version,10),u.msie?c="ie":u.mozilla?c="ff":u.safari?c="safari":u.webkit?c="webkit":u.opera?c="opera":u.edge&&(c="edge"),c&&(c="k-"+c+" k-"+c+f),m.mobileOS&&(c+=" k-mobile"),m.cssFlexbox||(c+=" k-no-flexbox"),d.addClass(c),m.eventCapture=document.documentElement.addEventListener;var h=document.createElement("input");m.placeholder="placeholder"in h,m.propertyChangeEvent="onpropertychange"in h,m.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,r="test",i={},o=0;o<n;o++)e=t[o],h.setAttribute("type",e),h.value=r,i[e.replace("-","")]="text"!==h.type&&h.value!==r;return i}(),h.style.cssText="float:left;",m.cssFloat=!!h.style.cssFloat,h=null,m.stableSort=function(){for(var e=[{index:0,field:"b"}],t=1;t<513;t++)e.push({index:t,field:"a"});return e.sort((function(e,t){return e.field>t.field?1:e.field<t.field?-1:0})),1===e[0].index}(),m.matchesSelector=s.webkitMatchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.matchesSelector||s.matches||function(t){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),r=n.length;r--;)if(n[r]==this)return!0;return!1},m.matchMedia="matchMedia"in t,m.pushState=t.history&&t.history.pushState,m.hashChange="onhashchange"in t,m.customElements="registerElement"in t.document;var g=m.browser.chrome,v=m.browser.crios,y=m.browser.mozilla,b=m.browser.safari;m.msPointers=!g&&t.MSPointerEvent,m.pointers=!g&&!v&&!y&&!b&&t.PointerEvent,m.kineticScrollNeeded=p&&("ipad"!==p.device||p.majorVersion<13)&&(m.touch||m.msPointers||m.pointers)}();var se={};function ue(e,t,n,r){return typeof e===O&&(W(t)&&(r=t,t=400,n=!1),W(n)&&(r=n,n=!1),typeof t===A&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),u({effects:{},duration:400,reverse:!1,init:d,teardown:d,hide:!1},e,{completeCallback:e.complete,complete:d})}function le(t,n,r,i,o){for(var a,s=0,u=t.length;s<u;s++)(a=e(t[s])).queue((function(){se.promise(a,ue(n,r,i,o))}));return t}e.extend(se,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),se.promiseShim=se.promise,"kendoAnimate"in e.fn||u(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return le(this,e,t,n,r)},kendoAddClass:function(e,t){return s.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return s.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return s.toggleClass(this,e,t,n)}});var ce=/&/g,de=/</g,fe=/"/g,pe=/'/g,me=/>/g;var he=function(e){return e.target};m.touch&&(he=function(e){var t="originalEvent"in e?e.originalEvent.changedTouches:"changedTouches"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},l(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],(function(t,n){e.fn[n]=function(e){return this.on(n,e)}}))),m.touch?m.mobileOS?(m.mousedown="touchstart",m.mouseup="touchend",m.mousemove="touchmove",m.mousecancel="touchcancel",m.click="touchend",m.resize="orientationchange"):(m.mousedown="mousedown touchstart",m.mouseup="mouseup touchend",m.mousemove="mousemove touchmove",m.mousecancel="mouseleave touchcancel",m.click="click",m.resize="resize"):m.pointers?(m.mousemove="pointermove",m.mousedown="pointerdown",m.mouseup="pointerup",m.mousecancel="pointercancel",m.click="pointerup",m.resize="orientationchange resize"):m.msPointers?(m.mousemove="MSPointerMove",m.mousedown="MSPointerDown",m.mouseup="MSPointerUp",m.mousecancel="MSPointerCancel",m.click="MSPointerUp",m.resize="orientationchange resize"):(m.mousemove="mousemove",m.mousedown="mousedown",m.mouseup="mouseup",m.mousecancel="mouseleave",m.click="click",m.resize="resize");var ge=/^([a-z]+:)?\/\//i;u(s,{widgets:[],_widgetRegisteredCallbacks:[],ui:s.ui||{},fx:s.fx||function(e){return new s.effects.Element(e)},effects:s.effects||se,mobile:s.mobile||{},data:s.data||{},dataviz:s.dataviz||{},drawing:s.drawing||{},spreadsheet:{messages:{}},keys:{INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:s.support||m,animate:s.animate||le,ns:"",attr:function(e){return"data-"+s.ns+e},getShadows:function(e){var t=e.css(s.support.transitions.css+"box-shadow")||e.css("box-shadow"),n=t&&t.match(v)||[0,0,0,0,0],r=f.max(+n[3],+(n[4]||0));return{left:-n[1]+r,right:+n[1]+r,bottom:+n[2]+r}},wrap:function(n,r,i,o){void 0===o&&(o=!0);var a,u=s._outerWidth,l=s._outerHeight,c=n.parent(),d=u(t);if(c.parent().removeClass("k-animation-container-sm"),c.hasClass("k-child-animation-container"))te(n,r,o);else{var f=n[0].style.width,p=n[0].style.height,m=h.test(f),g=h.test(p),v=n.hasClass("k-tooltip")||n.is(".k-menu-horizontal.k-context-menu");a=m||g,!m&&(!r||r&&f||v)&&(f=r?u(n)+1:u(n)),(!g&&(!r||r&&p)||n.is(".k-menu-horizontal.k-context-menu"))&&(p=l(n)),n.wrap(e("<div/>").addClass("k-child-animation-container").css({width:f,height:p})),(c=n.parent()).wrap(e("<div/>").addClass("k-animation-container").attr("role","region")),a&&n.css({width:"100%",height:"100%"})}return d<u(c=c.parent())&&(c.addClass("k-animation-container-sm"),i=!0),i&&te(n,r,o),c},deepExtend:ne,getComputedStyles:ae,isScrollable:function(e){if("false"===e.dataset[s.ns+"scrollable"])return!1;if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=ae(e,["overflow"]).overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},scrollLeft:function t(n,r){var i,a,s=m.browser.webkit,u=m.browser.mozilla,l=m.browser.version;if(n instanceof e&&r!==o)n.each((function(e,n){t(n,r)}));else if(i=n instanceof e?n[0]:n){if(a=m.isRtl(n),r===o)return a&&s&&(l<85||m.browser.safari)?i.scrollWidth-i.clientWidth-i.scrollLeft:Math.abs(i.scrollLeft);a&&s&&(l<85||m.browser.safari)?i.scrollLeft=i.scrollWidth-i.clientWidth-r:i.scrollLeft=a&&(u||s)&&r>0?-r:r}},size:function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n},toCamelCase:oe,toHyphens:function(e){return e.replace(/([a-z][A-Z])/g,(function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()}))},getOffset:s.getOffset||function(e,n,r){n||(n="offset");var i=e[n](),o={top:i.top,right:i.right,bottom:i.bottom,left:i.left};if(m.browser.msie&&(m.pointers||m.msPointers)&&!r){var a=m.isRtl(e)?1:-1;o.top-=t.pageYOffset-document.documentElement.scrollTop,o.left-=t.pageXOffset+a*document.documentElement.scrollLeft}return o},parseEffects:s.parseEffects||function(e){var t={};return l("string"==typeof e?e.split(" "):e,(function(e){t[e]=this})),t},toggleClass:s.toggleClass||function(e,t,n,r){return t&&(t=t.split(" "),l(t,(function(t,n){e.toggleClass(n,r)}))),e},directions:s.directions||{left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},in:{reverse:"out"},out:{reverse:"in"}},Observable:V,Class:R,Template:a,template:a.compile.bind(a),render:a.render.bind(a),stringify:p.stringify.bind(p),eventTarget:he,htmlEncode:function(e){return(""+e).replace(ce,"&amp;").replace(de,"&lt;").replace(me,"&gt;").replace(fe,"&quot;").replace(pe,"&#39;")},unescape:function(e){var n;try{n=t.decodeURIComponent(e)}catch(t){n=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,(function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))}))}return n},isLocalUrl:function(e){return e&&!ge.test(e)},mediaQuery:r,expr:function(e,t,n){return typeof t==O&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?(e=function(e,t){var n,r,i,o,a=t||"d",s=1;for(r=0,i=e.length;r<i;r++)""!==(o=e[r])&&(0!==(n=o.indexOf("["))&&(-1==n?o="."+o:(s++,o="."+o.substring(0,n)+" || {})"+o.substring(n))),s++,a+=o+(r<i-1?" || {})":")"));return new Array(s).join("(")+a}((e=(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),n),e=e.replace(/_\$DOT\$_/g,".")):e=n+e,e},exprToArray:function(e,t){return(e=e||"").indexOf(".")>=0||e.indexOf("[")>=0?e.split(/[[\].]/).map((function(e){return e.replace(/["']/g,"")})).filter((function(e){return e})):""===e?[]:[e]},getter:function(e,t){var n=e+t;return F[n]=F[n]||function(n){for(var r=s.exprToArray(e,t),i=n,o=0;o<r.length;o++)if(i=i[r[o]],!s.isPresent(i)&&t)return i;return i}},setter:function(e){return L[e]=L[e]||function(t,n){var r=s.exprToArray(e),i=function(e){var t=e.parent,n=e.val,r=e.prop,o=e.props;o.length?(t=t[o.shift()],i({parent:t,val:n,prop:r,props:o})):t[r]=n};i({parent:t,val:n,prop:r.pop(),props:r})}},accessor:function(e){return{get:s.getter(e),set:s.setter(e)}},guid:function(){var e,t,n="",r="abcdef";for(n+=r[Math.floor(Math.random()*Math.floor(6))],e=1;e<32;e++)t=16*f.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\S+)/g,"["+s.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(e){var t=e.split(" ");if(t)for(var n=0;n<t.length;n++)"view"!=t[n]&&(t[n]=t[n].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return t.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=s.widgets.length;t<n;t++)e(s.widgets[t]);s._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,n){var r=t.console;!s.suppressLog&&void 0!==r&&r.log&&r[n||"log"](e)}});var ve=V.extend({init:function(e,t){var n=this;KendoLicensing.validatePackage(i)||(n._showWatermarkOverlay=Ke),n.element=s.jQuery(e).handler(n),V.fn.init.call(n);var r,o=t?t.dataSource:null;t&&(r=(n.componentTypes||{})[(t||{}).componentType]),o&&(t=u({},t,{dataSource:{}})),t=n.options=u(!0,{},n.options,n.defaults,r||{},t),o&&(t.dataSource=o),n.element.attr(s.attr("role"))||n.element.attr(s.attr("role"),(t.name||"").toLowerCase()),n.element.data("kendo"+t.prefix+t.name,n),n.bind(n.events,t)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",r=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(r)?0:r)},setOptions:function(t){this._clearCssClasses(t),this._setEvents(t),e.extend(this.options,t),this._applyCssClasses()},_setEvents:function(e){for(var t,n=this,r=0,i=n.events.length;r<i;r++)t=n.events[r],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))},getSize:function(){return s.dimensions(this.element)},size:function(e){if(!e)return this.getSize();this.setSize(e)},setSize:e.noop,_resize:e.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()},_destroy:function(){this.destroy()},_applyCssClasses:function(e){var t,n,r,i,o=this.__proto__.options,a=this.options,u=e||this.wrapper||this.element,l=[];if(s.cssProperties.propertyDictionary[o.name]){for(t=0;t<U.length;t++)n=U[t],i=this.options._altname||o.name,o.hasOwnProperty(n)&&("themeColor"===n?(r=s.cssProperties.getValidClass({widget:i,propName:"fillMode",value:a.fillMode}))&&r.length&&l.push(s.cssProperties.getValidClass({widget:i,propName:n,value:a[n],fill:a.fillMode})):l.push(s.cssProperties.getValidClass({widget:i,propName:n,value:a[n]})));u.addClass(l.join(" "))}},_ariaLabel:function(t){var n,r=this.element,i=r.attr("id"),o=e('label[for="'+i+'"]'),a=r.attr(H),u=r.attr(P);t[0]!==r[0]&&(a?t.attr(H,a):u?t.attr(P,u):o.length&&(n=o.attr("id")||this._generateLabelId(o,i||s.guid()),t.attr(P,n)))},_clearCssClasses:function(e,t){var n,r,i,o=this.__proto__.options,a=this.options,u=t||this.wrapper||this.element;if(s.cssProperties.propertyDictionary[o.name])for(n=0;n<U.length;n++)r=U[n],i=this.options._altname||o.name,o.hasOwnProperty(r)&&e.hasOwnProperty(r)&&("themeColor"===r?u.removeClass(s.cssProperties.getValidClass({widget:i,propName:r,value:a[r],fill:a.fillMode})):("fillMode"===r&&u.removeClass(s.cssProperties.getValidClass({widget:i,propName:"themeColor",value:a.themeColor,fill:a.fillMode})),u.removeClass(s.cssProperties.getValidClass({widget:i,propName:r,value:a[r]}))))},_generateLabelId:function(e,t){var n=t+"_label";return e.attr("id",n),n}}),ye=ve.extend({dataItems:function(){return this.dataSource.flatView()}});s.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},s.notify=d;var be=/template$/i,we=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,Me=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,xe=/([A-Z])/g;function ke(e,t){var n;if(0===t.indexOf("data")&&(t=(t=t.substring(4)).charAt(0).toLowerCase()+t.substring(1)),t=t.replace(xe,"-$1"),null===(n=e.getAttribute("data-"+s.ns+t)))n=o;else if("null"===n)n=null;else if("true"===n)n=!0;else if("false"===n)n=!1;else if(y.test(n)&&"mask"!=t&&"format"!=t)n=parseFloat(n);else if(we.test(n)&&!Me.test(n))try{n=p.parse(n)}catch(e){n=new Function("return ("+n+")")()}return n}function Se(t,n,r){var i,a,u={},l=t.getAttribute("data-"+s.ns+"role");for(i in n)(a=ke(t,i))!==o&&(be.test(i)&&"drawer"!=l&&("string"==typeof a?e("#"+a).length?a=s.template(e("#"+a).html()):r&&(a=s.template(r[a])):a=t.getAttribute(i)),u[i]=a);return u}function Te(t,n){return e.contains(t,n)?-1:1}function Ce(){var t=e(this);return e.inArray(t.attr("data-"+s.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||t.is(":visible")}s.initWidget=function(n,r,i){var a,u,l,c,d,f,p,m,h,g;if(i?i.roles&&(i=i.roles):i=s.ui.roles,f=(n=n.nodeType?n:n[0]).getAttribute("data-"+s.ns+"role")){l=(h=-1===f.indexOf("."))?i[f]:s.getter(f)(t);var v=e(n).data(),y=l?"kendo"+l.fn.options.prefix+l.fn.options.name:"";for(var b in g=h?new RegExp("^kendo.*"+f+"$","i"):new RegExp("^"+y+"$","i"),v)if(b.match(g)){if(b!==y)return v[b];a=v[b]}if(l){for(m=ke(n,"dataSource"),r=e.extend({},Se(n,e.extend({},l.fn.options,l.fn.defaults)),r),m&&(r.dataSource=typeof m===O?s.getter(m)(t):m),c=0,d=l.fn.events.length;c<d;c++)(p=ke(n,u=l.fn.events[c]))!==o&&(r[u]=s.getter(p)(t));return a?e.isEmptyObject(r)||a.setOptions(r):a=new l(n,r),a}}},s.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[s.ui,s.dataviz.ui]),t=0,n=e.length;t<n;t++)r[t]=e[t].roles;return u.apply(null,[{}].concat(r.reverse()))},s.init=function(t){var n=s.rolesFromNamespaces(j.call(arguments,1));e(t).find("[data-"+s.ns+"role]").addBack().each((function(){s.initWidget(this,{},n)}))},s.destroy=function(t){e(t).find("[data-"+s.ns+"role]").addBack().each((function(){var t=e(this).data();for(var n in t)0===n.indexOf("kendo")&&typeof t[n].destroy===C&&t[n].destroy()}))},s.resize=function(t,n){var r=e(t).find("[data-"+s.ns+"role]").addBack().filter(Ce);if(r.length){var i=e.makeArray(r);i.sort(Te),e.each(i,(function(){var t=s.widgetInstance(e(this));t&&t.resize(n)}))}},s.parseOptions=Se,u(s.ui,{Widget:ve,DataBoundWidget:ye,roles:{},progress:function(t,n,r){var i,o,a,u,l,c=t.find(".k-loading-mask"),d=s.support,f=d.browser;l=(r=e.extend({},{width:"100%",height:"100%",top:t.scrollTop(),opacity:!1},r)).opacity?"k-loading-mask k-opaque":"k-loading-mask",n?c.length||(o=(i=d.isRtl(t))?"right":"left",u=s.scrollLeft(t),a=f.webkit&&i?t[0].scrollWidth-t.width()-2*u:0,c=e(s.format("<div class='{0}'><span role='alert' aria-live='polite' class='k-loading-text'>{1}</span><div class='k-loading-image'></div><div class='k-loading-color'></div></div>",l,s.ui.progress.messages.loading)).width(r.width).height(r.height).css("top",r.top).css(o,Math.abs(u)+a).prependTo(t)):c&&c.remove()},plugin:function(t,n,r){var i,a=t.fn.options.name;r=r||"",(n=n||s.ui)[a]=t,n.roles[a.toLowerCase()]=t,i="getKendo"+r+a;var u={name:a="kendo"+r+a,widget:t,prefix:r||""};s.widgets.push(u);for(var l=0,c=s._widgetRegisteredCallbacks.length;l<c;l++)s._widgetRegisteredCallbacks[l](u);e.fn[a]=function(n){var r,i=this;return typeof n===O?(r=j.call(arguments,1),this.each((function(){var t,u,l=e.data(this,a);if(!l)throw new Error(s.format("Cannot call method '{0}' of {1} before it is initialized",n,a));if(typeof(t=l[n])!==C)throw new Error(s.format("Cannot find method '{0}' of {1}",n,a));if((u=t.apply(l,r))!==o)return i=u,!1}))):this.each((function(){return new t(this,n)})),i},e.fn[a].widget=t,e.fn[i]=function(){return this.data(a)}}}),s.ui.progress.messages={loading:"Loading..."};var Oe={bind:function(){return this},nullObject:!0,options:{}},De=ve.extend({init:function(e,t){ve.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){ve.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(s.roleSelector("view splitview modalview drawer"));return s.widgetInstance(e,s.mobile.ui)||Oe},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(s.roleSelector("view layout modalview drawer splitview"));return s.widgetInstance(e.eq(0),s.mobile.ui)||Oe}});function Ee(t,n){var r=t.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r&&t.href||n)&&function(t){return e.expr.pseudos.visible(t)&&!e(t).parents().addBack().filter((function(){return"hidden"===e.css(this,"visibility")})).length}(t)}u(s.mobile,{init:function(e){s.init(e,s.mobile.ui,s.ui,s.dataviz.ui)},roles:{},ui:{Widget:De,DataBoundWidget:ye.extend(De.prototype),roles:{},plugin:function(e){s.ui.plugin(e,s.mobile.ui,"Mobile")}}}),ne(s.dataviz,{init:function(e){s.init(e,s.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){s.ui.plugin(e,s.dataviz.ui)}},roles:{}}),s.touchScroller=function(t,n){return n||(n={}),n.useNative=!0,e(t).map((function(t,r){return r=e(r),!(!m.kineticScrollNeeded||!s.mobile.ui.Scroller||r.data("kendoMobileScroller"))&&(r.kendoMobileScroller(n),r.data("kendoMobileScroller"))}))[0]},s.preventDefault=function(e){e.preventDefault()},s.widgetInstance=function(e,n){var r,i,o=e.data(s.ns+"role"),a=[],u=e.data("kendoView");if(o){if("content"===o&&(o="scroller"),"view"===o&&u)return u;if(n)if(n[0])for(r=0,i=n.length;r<i;r++)a.push(n[r].roles[o]);else a.push(n.roles[o]);else a=[s.ui.roles[o],s.dataviz.ui.roles[o],s.mobile.ui.roles[o]];for(o.indexOf(".")>=0&&(a=[s.getter(o)(t)]),r=0,i=a.length;r<i;r++){var l=a[r];if(l){var c=e.data("kendo"+l.fn.options.prefix+l.fn.options.name);if(c)return c}}}},s.onResize=function(n){var r=n;return m.mobileOS.android&&(r=function(){setTimeout(n,600)}),e(t).on(m.resize,r),r},s.unbindResize=function(n){e(t).off(m.resize,n)},s.attrValue=function(e,t){return e.data(s.ns+t)},s.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr.pseudos,{kendoFocusable:function(t){var n=e.attr(t,"tabindex");return Ee(t,!isNaN(n)&&n>-1)}});var ze=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],Ae={setupMouseMute:function(){var t=0,n=ze.length,r=document.documentElement;if(!Ae.mouseTrap&&m.eventCapture){Ae.mouseTrap=!0,Ae.bustClick=!1,Ae.captureMouse=!1;for(var i=function(t){Ae.captureMouse&&("click"===t.type?Ae.bustClick&&!e(t.target).is("label, input, [data-rel=external]")&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};t<n;t++)r.addEventListener(ze[t],i,!0)}},muteMouse:function(e){Ae.captureMouse=!0,e.data.bustClick&&(Ae.bustClick=!0),clearTimeout(Ae.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(Ae.mouseTrapTimeoutID),Ae.mouseTrapTimeoutID=setTimeout((function(){Ae.captureMouse=!1,Ae.bustClick=!1}),400)}},_e={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"};m.touch&&(m.mobileOS.ios||m.mobileOS.android)?_e={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:m.pointers?_e={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:m.msPointers&&(_e={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),m.msPointers&&!("onmspointerenter"in t)&&e.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},(function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,i=t.relatedTarget,o=t.handleObj;return i&&(i===this||e.contains(this,i))||(t.type=o.origType,r=o.handler.apply(this,arguments),t.type=n),r}}}));var Ne=function(e){return _e[e]||e},Pe=/([^ ]+)/g;s.applyEventMap=function(e,t){return e=e.replace(Pe,Ne),t&&(e=e.replace(Pe,"$1."+t)),e},s.keyDownHandler=function(e,t){var n=t._events.kendoKeydown;if(!n)return!0;n=n.slice(),e.sender=t,e.preventKendoKeydown=!1;for(var r=0,i=n.length;r<i;r++)n[r].call(t,e);return!e.preventKendoKeydown};var He=e.fn.on;function Fe(e,t){return new Fe.fn.init(e,t)}I(!0,Fe,e),Fe.fn=Fe.prototype=new e,Fe.fn.constructor=Fe,Fe.fn.init=function(t,n){return n&&n instanceof e&&!(n instanceof Fe)&&(n=Fe(n)),e.fn.init.call(this,t,n,Le)},Fe.fn.init.prototype=Fe.fn;var Le=Fe(document);u(Fe.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||s.guid()),this},on:function(){var e=this,t=e.data("kendoNS");if(1===arguments.length)return He.call(e,arguments[0]);var n=e,r=j.call(arguments);typeof r[r.length-1]===_&&r.pop();var i=r[r.length-1],o=s.applyEventMap(r[0],t);if(m.mouseAndTouchPresent&&o.search(/mouse|click/)>-1&&this[0]!==document.documentElement){Ae.setupMouseMute();var a=2===r.length?null:r[1],u=o.indexOf("click")>-1&&o.indexOf("touchend")>-1;He.call(this,{touchstart:Ae.muteMouse,touchend:Ae.unMuteMouse},a,{bustClick:u})}if(-1!==arguments[0].indexOf("keydown")&&r[1]&&r[1].options){r[0]=o;var l=r[1],c=r[r.length-1];return r[r.length-1]=function(e){if(s.keyDownHandler(e,l))return c.apply(this,[e])},He.apply(e,r),e}return typeof i===O&&(n=e.data("handler"),i=n[i],r[r.length-1]=function(e){i.call(n,e)}),r[0]=o,He.apply(e,r),e},kendoDestroy:function(e){return(e=e||this.data("kendoNS"))&&this.off("."+e),this}}),s.jQuery=Fe,s.eventMap=_e,s.timezone=function(){var e={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},t={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function n(n,r){var i,o,a,s=r[3],u=r[4],l=r[5],c=r[8];return c||(r[8]=c={}),c[n]?c[n]:(isNaN(u)?0===u.indexOf("last")?(i=new Date(Date.UTC(n,e[s]+1,1,l[0]-24,l[1],l[2],0)),o=t[u.substr(4,3)],a=i.getUTCDay(),i.setUTCDate(i.getUTCDate()+o-a-(o>a?7:0))):u.indexOf(">=")>=0?(i=new Date(Date.UTC(n,e[s],u.substr(5),l[0],l[1],l[2],0)),o=t[u.substr(0,3)],a=i.getUTCDay(),i.setUTCDate(i.getUTCDate()+o-a+(o<a?7:0))):u.indexOf("<=")>=0&&(i=new Date(Date.UTC(n,e[s],u.substr(5),l[0],l[1],l[2],0)),o=t[u.substr(0,3)],a=i.getUTCDay(),i.setUTCDate(i.getUTCDate()+o-a-(o>a?7:0))):i=new Date(Date.UTC(n,e[s],u,l[0],l[1],l[2],0)),c[n]=i)}function r(e,t,r){if(!(t=t[r])){var i=r.split(":"),o=0;return i.length>1&&(o=60*i[0]+Number(i[1])),[-1e6,"max","-","Jan",1,[0,0,0],o,"-"]}var a=new Date(e).getUTCFullYear();t=jQuery.grep(t,(function(e){var t=e[0],n=e[1];return t<=a&&(n>=a||t==a&&"only"==n||"max"==n)})),t.push(e),t.sort((function(e,t){return"number"!=typeof e&&(e=Number(n(a,e))),"number"!=typeof t&&(t=Number(n(a,t))),e-t}));var s=t[jQuery.inArray(e,t)-1]||t[t.length-1];return isNaN(s)?s:null}function i(e,t,n,i){typeof e!=D&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var o=function(e,t,n){var r=t[n];if("string"==typeof r&&(r=t[r]),!r)throw new Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(var i=r.length-1;i>=0;i--){var o=r[i][3];if(o&&e>o)break}var a=r[i+1];if(!a)throw new Error('Timezone "'+n+'" not found on '+e+".");return a}(e,t,i);return{zone:o,rule:r(e,n,o[1])}}return{zones:{},rules:{},offset:function(e,t){if("Etc/UTC"==t||"Etc/GMT"==t)return 0;var n=i(e,this.zones,this.rules,t),r=n.zone,o=n.rule;return s.parseFloat(o?r[0]-o[6]:r[0])},convert:function(e,t,n){var r,i=n;typeof t==O&&(t=this.offset(e,t)),typeof n==O&&(n=this.offset(e,n));var o=e.getTimezoneOffset(),a=(e=new Date(e.getTime()+6e4*(t-n))).getTimezoneOffset();return typeof i==O&&(i=this.offset(e,i)),r=a-o+(n-i),new Date(e.getTime()+6e4*r)},apply:function(e,t){return this.convert(e,e.getTimezoneOffset(),t)},remove:function(e,t){return this.convert(e,t,e.getTimezoneOffset())},abbr:function(e,t){var n=i(e,this.zones,this.rules,t),r=n.zone,o=n.rule,a=r[2];return a.indexOf("/")>=0?a.split("/")[o&&+o[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",o&&"-"!=o[7]?o[7]:""):a},toLocalDate:function(e){return this.apply(new Date(e),"Etc/UTC")}}}(),s.date=function(){var e=6e4,t=864e5;function n(e,t){return 0===t&&23===e.getHours()&&(e.setHours(e.getHours()+2),!0)}function r(e,t,r){var i=e.getHours();r=r||1,t=(t-e.getDay()+7*r)%7,e.setDate(e.getDate()+t),n(e,i)}function i(e,t,n){return r(e=new Date(e),t,n),e}function a(e){return new Date(e.getFullYear(),e.getMonth(),1)}function u(e,n){var r=new Date(e.getFullYear(),0,1,-6),o=function(e,t){return 1!==t?d(i(e,t,-1),4):d(e,4-(e.getDay()||7))}(e,n),a=o.getTime()-r.getTime(),s=Math.floor(a/t);return 1+Math.floor(s/7)}function l(e){return n(e=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),0),e}function c(e){return m(e).getTime()-l(m(e))}function d(e,r){var i=e.getHours();return f(e=new Date(e),r*t),n(e,i),e}function f(t,n,r){var i,o=t.getTimezoneOffset();t.setTime(t.getTime()+n),r||(i=t.getTimezoneOffset()-o,t.setTime(t.getTime()+i*e))}function p(){return l(new Date)}function m(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function h(e,t){var n=new Date(e);return new Date(n.setFullYear(n.getFullYear()+t))}function g(e,t){var n=e[e.length-1];n&&"LITERAL"===n.type?n.pattern+=t:e.push({type:"literal",pattern:t})}function v(e){return"h"===e||"K"===e}function y(e,t,n){return n=n||0,e.indexOf(t,n)===n}return{adjustDST:n,dayOfWeek:i,setDayOfWeek:r,getDate:l,isInDateRange:function(e,n,r){var i,o=n.getTime(),a=r.getTime();return o>=a&&(a+=t),(i=e.getTime())>=o&&i<=a},isInTimeRange:function(e,n,r){var i,o=c(n),a=c(r);return!e||o==a||(n>=r&&(r+=t),o>(i=c(e))&&(i+=t),a<o&&(a+=t),i>=o&&i<=a)},isToday:function(e){return l(e).getTime()==p().getTime()},nextDay:function(e){return d(e,1)},previousDay:function(e){return d(e,-1)},toUtcTime:function(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},MS_PER_DAY:t,MS_PER_HOUR:60*e,MS_PER_MINUTE:e,setTime:f,setHours:function(e,t){return n(e=new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),t.getHours()),e},addDays:d,today:p,toInvariantTime:m,firstDayOfMonth:a,splitDateFormat:function(e){for(var t,n,r,i,o,a,u,l,c=function(e,t){var n,r=t.calendar;return"string"==typeof e&&(n=r.patterns[e]?r.patterns[e]:e),n||(n=r.patterns.d),n}(e,s.culture()).replace("dddd","EEEE").replace("tt","aa"),d=[],f=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|t{1,2}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g,p=f.lastIndex=0,m=f.exec(c);m;){var h=m[0];p<m.index&&g(d,c.substring(p,m.index)),y(h,'"')||y(h,"'")?g(d,h):(t=h[0],r={type:n=S[t],pattern:h},"hour"===n&&(r.hour12=v(h)),(i=T[n])&&(o="number"==typeof i.minLength?i.minLength:i.minLength[t],(a=h.length)>=o&&"aa"!==h&&(r.names={type:i.type,nameType:(u=a,l=void 0,u<=3?l="abbreviated":4===u?l="wide":5===u&&(l="narrow"),l),standAlone:i.standAlone===t})),d.push(r)),p=f.lastIndex,m=f.exec(c)}return p<c.length&&g(d,c.substring(p)),d},dateFieldName:function(e){return(s.culture().calendar.dateFields[e.type]||{})[e.nameType]},dateFormatNames:function(e){var t=e.type,n=e.nameType,r=s.culture();"wide"===n&&(n="names"),"abbreviated"===n&&(n="namesAbbr"),"narrow"===n&&(n="namesShort");var i=r.calendar[t][n];return i||(i=r.calendar[t].name),i},lastDayOfMonth:function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=a(e),r=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return r&&t.setHours(n.getHours()+r/60),t},weekInYear:function(e,t){t===o&&(t=s.culture().calendar.firstDay);var n=d(e,-7),r=d(e,7),i=u(e,t);return 0===i?u(n,t)+1:53===i&&u(r,t)>1?1:i},getMilliseconds:c,firstDayOfYear:function(e){return new Date(e.getFullYear(),0,1)},lastDayOfYear:function(e){return new Date(e.getFullYear(),11,31)},nextYear:function(e){return h(e,1)},previousYear:function(e){return h(e,-1)}}}(),s.stripWhitespace=function(e){if(document.createNodeIterator)for(var t=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,(function(t){return t.parentNode==e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),!1);t.nextNode();)t.referenceNode&&!t.referenceNode.textContent.trim()&&t.referenceNode.parentNode.removeChild(t.referenceNode);else for(var n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];3!=r.nodeType||/\S/.test(r.nodeValue)||(e.removeChild(r),n--),1==r.nodeType&&s.stripWhitespace(r)}};var je=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)};s.animationFrame=function(e){je.call(t,e)};var Ue=[];s.queueAnimation=function(e){Ue[Ue.length]=e,1===Ue.length&&s.runNextAnimation()},s.runNextAnimation=function(){s.animationFrame((function(){Ue[0]&&(Ue.shift()(),Ue[0]&&s.runNextAnimation())}))},s.parseQueryStringParams=function(e){for(var t={},n=(e.split("?")[1]||"").split(/&|=/),r=n.length,i=0;i<r;i+=2)""!==n[i]&&(t[decodeURIComponent(n[i])]=decodeURIComponent(n[i+1]));return t},s.elementUnderCursor=function(e){if(void 0!==e.x.client)return document.elementFromPoint(e.x.client,e.y.client)},s.wheelDeltaY=function(e){var t,n=e.originalEvent,r=n.wheelDeltaY;return n.wheelDelta?(r===o||r)&&(t=n.wheelDelta):n.detail&&n.axis===n.VERTICAL_AXIS&&(t=10*-n.detail),t},s.throttle=function(e,t){var n,r=0;if(!t||t<=0)return e;var i=function(){var i=this,o=+new Date-r,a=arguments;function s(){e.apply(i,a),r=+new Date}if(!r)return s();n&&clearTimeout(n),o>t?s():n=setTimeout(s,t-o)};return i.cancel=function(){clearTimeout(n)},i},s.caret=function(t,n,r){var i,a=n!==o;if(r===o&&(r=n),t[0]&&(t=t[0]),!a||!t.disabled){try{if(t.selectionStart!==o)if(a){t.focus();var s=m.mobileOS;s.wp||s.android?setTimeout((function(){t.setSelectionRange(n,r)}),0):t.setSelectionRange(n,r)}else n=[t.selectionStart,t.selectionEnd];else if(document.selection)if(e(t).is(":visible")&&t.focus(),i=t.createTextRange(),a)i.collapse(!0),i.moveStart("character",n),i.moveEnd("character",r-n),i.select();else{var u,l,c=i.duplicate();i.moveToBookmark(document.selection.createRange().getBookmark()),c.setEndPoint("EndToStart",i),l=(u=c.text.length)+i.text.length,n=[u,l]}}catch(e){n=[]}return n}},s.antiForgeryTokens=function(){var t={},n=e("meta[name=csrf-token],meta[name=_csrf]").attr("content"),r=e("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return e("input[name^='__RequestVerificationToken']").each((function(){t[this.name]=this.value})),r!==o&&n!==o&&(t[r]=n),t},s.cycleForm=function(e){var t=e.find("input, .k-widget, .k-dropdownlist, .k-combobox").first(),n=e.find("button, .k-button").last();function r(e){var t=s.widgetInstance(e);t&&t.focus?t.focus():e.trigger("focus")}n.on("keydown",(function(e){e.keyCode!=s.keys.TAB||e.shiftKey||(e.preventDefault(),r(t))})),t.on("keydown",(function(e){e.keyCode==s.keys.TAB&&e.shiftKey&&(e.preventDefault(),r(n))}))},s.focusElement=function(n){var r=[],i=n.parentsUntil("body").filter((function(e,t){return"visible"!==s.getComputedStyles(t,["overflow"]).overflow})).add(t);i.each((function(t,n){r[t]=e(n).scrollTop()}));try{n[0].setActive()}catch(e){n[0].focus()}i.each((function(t,n){e(n).scrollTop(r[t])}))},s.focusNextElement=function(){if(document.activeElement){var t=e(":kendoFocusable"),n=t.index(document.activeElement);if(n>-1)(t[n+1]||t[0]).focus()}},s.trim=function(e){return e?e.toString().trim():""},s.getWidgetFocusableElement=function(t){var n=t.closest(":kendoFocusable"),r=s.widgetInstance(t);return n.length?n:r?"Editor"===r.options.name?e(r.body):r.wrapper.find(":kendoFocusable").first():t},s.addAttribute=function(e,t,n){var r=e.attr(t)||"";r.indexOf(n)<0&&e.attr(t,(r+" "+n).trim())},s.removeAttribute=function(e,t,n){var r=e.attr(t)||"";e.attr(t,r.replace(n,"").trim())},s.toggleAttribute=function(e,t,n){(e.attr(t)||"").indexOf(n)<0?s.addAttribute(e,t,n):s.removeAttribute(e,t,n)},s.matchesMedia=function(e){var n=s._bootstrapToMedia(e)||e;return m.matchMedia&&t.matchMedia(n).matches},s._bootstrapToMedia=function(e){return{xs:"(max-width: 576px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"}[e]},s.fileGroupMap={audio:[".aif",".iff",".m3u",".m4a",".mid",".mp3",".mpa",".wav",".wma",".ogg",".wav",".wma",".wpl"],video:[".3g2",".3gp",".avi",".asf",".flv",".m4u",".rm",".h264",".m4v",".mkv",".mov",".mp4",".mpg",".rm",".swf",".vob",".wmv"],image:[".ai",".dds",".heic",".jpe","jfif",".jif",".jp2",".jps",".eps",".bmp",".gif",".jpeg",".jpg",".png",".ps",".psd",".svg",".svgz",".tif",".tiff"],txt:[".doc",".docx",".log",".pages",".tex",".wpd",".wps",".odt",".rtf",".text",".txt",".wks"],presentation:[".key",".odp",".pps",".ppt",".pptx"],data:[".xlr",".xls",".xlsx"],programming:[".tmp",".bak",".msi",".cab",".cpl",".cur",".dll",".dmp",".drv",".icns",".ico",".link",".sys",".cfg",".ini",".asp",".aspx",".cer",".csr",".css",".dcr",".htm",".html",".js",".php",".rss",".xhtml"],pdf:[".pdf"],config:[".apk",".app",".bat",".cgi",".com",".exe",".gadget",".jar",".wsf"],zip:[".7z",".cbr",".gz",".sitx",".arj",".deb",".pkg",".rar",".rpm",".tar.gz",".z",".zip",".zipx"],"disc-image":[".dmg",".iso",".toast",".vcd",".bin",".cue",".mdf"]},s.getFileGroup=function(e,t){var n=s.fileGroupMap,r=Object.keys(n),i="file";if(e===o||!e.length)return i;for(var a=0;a<r.length;a+=1){if(n[r[a]].indexOf(e.toLowerCase())>-1)return t?"file-"+r[a]:r[a]}return i},s.getFileSizeMessage=function(e){if(0===e)return"0 Byte";var t=parseInt(Math.floor(Math.log(e)/Math.log(1024)),10);return Math.round(e/Math.pow(1024,t),2)+" "+["Bytes","KB","MB","GB","TB"][t]},s.selectorFromClasses=function(e){return"."+e.split(" ").join(".")};var Ie=["base","primary","secondary","tertiary","inherit","info","success","warning","error","dark","light","inverse"],Re=["solid","outline","flat"],We=["rectangle","square"],$e=[["small","sm"],["medium","md"],["large","lg"]],Be=[["small","sm"],["medium","md"],["large","lg"]],Ve=["fixed","static","sticky","absolute"],qe=[["both","resize"],["horizontal","resize-x"],["vertical","resize-y"]],Ye=["auto","hidden","visible","scroll","clip"];s.cssProperties=function(){var e={};function t(t,n,r){e[t]||(e[t]={}),e[t][n]=r||n}function n(e,n){for(var r=0;r<n.length;r++)c(n[r])?t(e,n[r][0],n[r][1]):t(e,n[r])}return n("themeColor",Ie),n("fillMode",Re),n("shape",We),n("size",$e),n("positionMode",Ve),n("rounded",Be),n("resize",qe),n("overflow",Ye),{positionModeValues:Ve,roundedValues:Be,sizeValues:$e,shapeValues:We,fillModeValues:Re,themeColorValues:Ie,defaultValues:e,propertyDictionary:{},registerValues:function(e,t){var n,r,i,o,a,u,l=s.cssProperties.propertyDictionary;for(n=0;n<t.length;n++)for(i=t[n].prop,a=t[n].values,l[e][i]||(l[e][i]={}),o=l[e][i],r=0;r<a.length;r++)u=a[r],c(a[r])?o[u[0]]=u[1]:o[u]=u},getValidClass:function(e){var t,n,r,i=e.widget,o=e.propName,a=e.value,u=e.fill,l=s.cssProperties,c=l.defaultValues[o],d=l.propertyDictionary[i],f=e.prefix;return d&&(n=(t=d[o])&&t[a]||c[a])?(r="themeColor"===o?d[N]+u+"-":"positionMode"===o?"k-pos-":"rounded"===o?"k-rounded-":"resize"===o?"k-":"overflow"===o?"k-overflow-":d[N],(r=f||r)+n):""},registerPrefix:function(e,t){var n=s.cssProperties.propertyDictionary;n[e]||(n[e]={}),n[e][N]=t}}}(),s.registerCssClass=function(e,t,n){s.propertyToCssClassMap[e]||(s.propertyToCssClassMap[e]={}),s.propertyToCssClassMap[e][t]=n||t},s.registerCssClasses=function(e,t){for(var n=0;n<t.length;n++)c(t[n])?s.registerCssClass(e,t[n][0],t[n][1]):s.registerCssClass(e,t[n])},s.getValidCssClass=function(e,t,n){var r=s.propertyToCssClassMap[t][n];if(r)return e+r},s.propertyToCssClassMap={},s.registerCssClasses("themeColor",Ie),s.registerCssClasses("fill",Re),s.registerCssClasses("shape",We),s.registerCssClasses("size",$e),s.registerCssClasses("positionMode",Ve),s.applyStylesFromKendoAttributes=function(t,n){var r=n.map((function(e){return"["+s.attr("style-"+e)+"]"})).join(",");t.find(r).addBack(r).each((function(t,r){var i=e(r);n.forEach((function(e){var t=s.attr("style-"+e);i.attr(t)&&(i.css(e,i.attr(t)),i.removeAttr(t))}))}))},s.whenAll=function(t){var n,r=1==arguments.length&&Array.isArray(t)?t:Array.prototype.slice.call(arguments),i=r.length,o=i,a=e.Deferred(),u=0,l=0,c=Array(i),d=Array(i),f=Array(i);function p(e,t,n){return function(){n!=r&&l++,a.notifyWith(t[e]=this,n[e]=Array.prototype.slice.call(arguments)),--o||a[(l?"reject":"resolve")+"With"](t,n)}}for(;u<i;u++)(n=r[u])&&s.isFunction(n.promise)?n.promise().done(p(u,f,r)).fail(p(u,c,d)):(a.notifyWith(this,n),--o);return o||a.resolveWith(f,r),a.promise()},function(){function n(t,n,r,i){var o=e("<form>").attr({action:r,method:"POST",target:i}),a=s.antiForgeryTokens();a.fileName=n;var u=t.split(";base64,");for(var l in a.contentType=u[0].replace("data:",""),a.base64=u[1],a)a.hasOwnProperty(l)&&e("<input>").attr({value:a[l],name:l,type:"hidden"}).appendTo(o);o.appendTo("body").submit().remove()}var r=document.createElement("a"),i="download"in r&&!s.support.browser.edge;function o(e,t){var n=e;if("string"==typeof e){for(var r=e.split(";base64,"),i=r[0],o=atob(r[1]),a=new Uint8Array(o.length),s=0;s<o.length;s++)a[s]=o.charCodeAt(s);n=new Blob([a.buffer],{type:i})}navigator.msSaveBlob(n,t)}function a(e,n){t.Blob&&e instanceof Blob&&(e=URL.createObjectURL(e)),r.download=n,r.href=e;var i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,t,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(i),setTimeout((function(){URL.revokeObjectURL(e)}))}s.saveAs=function(e){var t=n;e.forceProxy||(i?t=a:navigator.msSaveBlob&&(t=o)),t(e.dataURI,e.fileName,e.proxyURL,e.proxyTarget)}}(),s.proxyModelSetters=function(e){var t={};return Object.keys(e||{}).forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t,e.dirty=!0}})})),t},s.getSeriesColors=function(){var t=e('<div class="k-var--series-a"></div><div class="k-var--series-b"></div><div class="k-var--series-c"></div><div class="k-var--series-d"></div><div class="k-var--series-e"></div><div class="k-var--series-f"></div>'),n=[];return t.appendTo(e("body")),t.each((function(t,r){n.push(e(r).css("background-color"))})),t.remove(),n},s.isElement=function(e){return e instanceof Element||e instanceof HTMLDocument},s.defaults=s.defaults||{},s.setDefaults=function(e,t){var n=e.split("."),r=s.defaults;e=n.pop(),n.forEach((function(e){r[e]===o&&(r[e]={}),r=r[e]})),t.constructor===Object?r[e]=ne({},r[e],t):r[e]=t},s.debugTemplates=t.DEBUG_KENDO_TEMPLATES,s.setDefaults("breakpoints",n),s.class2type={},jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){s.class2type["[object "+t+"]"]=t.toLowerCase()})),s.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s.class2type[Object.prototype.toString.call(e)]||"object":typeof e};var KendoLicensing={validatePackage:function(){return!0},setScriptKey:function(){}};function Ke(e){KendoLicensing.addWatermarkOverlay&&KendoLicensing.addWatermarkOverlay(e,i),KendoLicensing.showBanner&&KendoLicensing.showBanner(i)}t.KendoLicensing={setScriptKey:KendoLicensing.setScriptKey}}(jQuery,window),kendo}));
//# sourceMappingURL=kendo.core.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendouserevents=e.kendouserevents||{},e.kendouserevents.js=t())}(this,(function(){return function(e,t){var n=window.kendo,i=n.support,o=n.Class,r=n.Observable,s=Date.now,a=e.extend,c=i.mobileOS,u=c&&c.android,h=800,l=i.browser.msie?5:0,p="press",d="hold",f="select",v="start",g="move",_="end",m="cancel",T="tap",y="doubleTap",w="release",k="gesturechange",D="gestureend",x="gesturetap",E={api:0,touch:0,mouse:9,pointer:9},M=!i.touch||i.mouseAndTouchPresent;function b(e,t){var n=e.x.location,i=e.y.location,o=t.x.location,r=t.y.location,s=n-o,a=i-r;return{center:{x:(n+o)/2,y:(i+r)/2},distance:Math.sqrt(s*s+a*a)}}function C(e){var t,n,o,r=[],s=e.originalEvent,a=e.currentTarget,c=0;if(e.api)r.push({id:2,event:e,target:e.target,currentTarget:e.target,location:e,type:"api"});else if(e.type.match(/touch/))for(t=(n=s?s.changedTouches:[]).length;c<t;c++)o=n[c],r.push({location:o,event:e,target:o.target,currentTarget:a,id:o.identifier,type:"touch"});else i.pointers||i.msPointers?r.push({location:s,event:e,target:e.target,currentTarget:a,id:s.pointerId,type:"pointer"}):r.push({id:1,event:e,target:e.target,currentTarget:a,location:e,type:"mouse"});return r}var A=o.extend({init:function(e,t){var n=this;n.axis=e,n._updateLocationData(t),n.startLocation=n.location,n.velocity=n.delta=0,n.timeStamp=s()},move:function(e){var t=this,n=e["page"+t.axis],i=s(),o=i-t.timeStamp||1;!n&&u||(t.delta=n-t.location,t._updateLocationData(e),t.initialDelta=n-t.startLocation,t.velocity=t.delta/o,t.timeStamp=i)},_updateLocationData:function(e){var t=this,n=t.axis;t.location=e["page"+n],t.client=e["client"+n],t.screen=e["screen"+n]}}),S=o.extend({init:function(e,t,n){a(this,{x:new A("X",n.location),y:new A("Y",n.location),type:n.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||E[n.type],userEvents:e,target:t,currentTarget:n.currentTarget,initialTouch:n.target,id:n.id,pressEvent:n,_clicks:e._clicks,supportDoubleTap:e.supportDoubleTap,_moved:!1,_finished:!1})},press:function(){this._holdTimeout=setTimeout(this._hold.bind(this),this.userEvents.minHold),this._trigger(p,this.pressEvent)},_tap:function(e){var t=this;t.userEvents._clicks++,1==t.userEvents._clicks&&(t._clickTimeout=setTimeout((function(){1==t.userEvents._clicks?t._trigger(T,e):t._trigger(y,e),t.userEvents._clicks=0}),300))},_hold:function(){this._trigger(d,this.pressEvent)},move:function(e){var t=this,n="api"!==e.type&&t.userEvents._shouldNotMove;if(!t._finished&&!n){if(t.x.move(e.location),t.y.move(e.location),!t._moved){if(t._withinIgnoreThreshold())return;if(I.current&&I.current!==t.userEvents)return t.dispose();t._start(e)}t._finished||t._trigger(g,e)}},end:function(e){this.endTime=s(),this._finished||(this._finished=!0,this._trigger(w,e),this._moved?this._trigger(_,e):this.useClickAsTap||(this.supportDoubleTap?this._tap(e):this._trigger(T,e)),clearTimeout(this._holdTimeout),this.dispose())},dispose:function(){var t=this.userEvents.touches;this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout),t.splice(e.inArray(this,t),1)},skip:function(){this.dispose()},cancel:function(){this.dispose()},isMoved:function(){return this._moved},_start:function(e){clearTimeout(this._holdTimeout),this.startTime=s(),this._moved=!0,this._trigger(v,e)},_trigger:function(e,t){var n=this,i=t.event,o={touch:n,x:n.x,y:n.y,target:n.target,event:i};n.userEvents.notify(e,o)&&i.preventDefault()},_withinIgnoreThreshold:function(){var e=this.x.initialDelta,t=this.y.initialDelta;return Math.sqrt(e*e+t*t)<=this.threshold}});function P(e){for(var t=n.eventMap.up.split(" "),i=0,o=t.length;i<o;i++)e(t[i])}var I=r.extend({init:function(t,o){var s,c=this,u=n.guid();if(o=o||{},s=c.filter=o.filter,c.threshold=o.threshold||l,c.minHold=o.minHold||h,c.touches=[],c._maxTouches=o.multiTouch?2:1,c.allowSelection=o.allowSelection,c.captureUpIfMoved=o.captureUpIfMoved,c.useClickAsTap=!o.fastTap&&!i.delayedClick(),c.eventNS=u,c._clicks=0,c.supportDoubleTap=o.supportDoubleTap,t=e(t).handler(c),r.fn.init.call(c),a(c,{element:t,surface:o.global&&M?e(t[0].ownerDocument.documentElement):e(o.surface||t),stopPropagation:o.stopPropagation,pressed:!1}),c.surface.handler(c).on(n.applyEventMap("move",u),"_move").on(n.applyEventMap("up cancel",u),"_end"),t.on(n.applyEventMap("down",u),s,"_start"),c.useClickAsTap&&t.on(n.applyEventMap("click",u),s,"_click"),i.pointers||i.msPointers)if(i.browser.version<11){var E="pinch-zoom double-tap-zoom";t.css("-ms-touch-action",o.touchAction&&"none"!=o.touchAction?E+" "+o.touchAction:E)}else t.css("touch-action",o.touchAction||"none");if(o.preventDragEvent&&t.on(n.applyEventMap("dragstart",u),n.preventDefault),t.on(n.applyEventMap("mousedown",u),s,{root:t},"_select"),c.captureUpIfMoved&&i.eventCapture){var b=c.surface[0],C=c.preventIfMoving.bind(c);P((function(e){b.addEventListener(e,C,!0)}))}c.bind([p,d,T,y,v,g,_,w,m,"gesturestart",k,D,x,f],o)},preventIfMoving:function(e){this._isMoved()&&e.preventDefault()},destroy:function(){var e=this;if(!e._destroyed){if(e._destroyed=!0,e.captureUpIfMoved&&i.eventCapture){var t=e.surface[0];P((function(n){t.removeEventListener(n,e.preventIfMoving)}))}e.element.kendoDestroy(e.eventNS),e.surface.kendoDestroy(e.eventNS),e.element.removeData("handler"),e.surface.removeData("handler"),e._disposeAll(),e.unbind(),delete e.surface,delete e.element,delete e.currentTarget}},capture:function(){I.current=this},cancel:function(){this._disposeAll(),this.trigger(m)},notify:function(e,t){var n=this.touches;if(this._isMultiTouch()){switch(e){case g:e=k;break;case _:e=D;break;case T:e=x}a(t,{touches:n},b(n[0],n[1]))}return this.trigger(e,a(t,{type:e}))},press:function(e,t,n){this._apiCall("_start",e,t,n)},move:function(e,t){this._apiCall("_move",e,t)},end:function(e,t){this._apiCall("_end",e,t)},_isMultiTouch:function(){return this.touches.length>1},_maxTouchesReached:function(){return this.touches.length>=this._maxTouches},_disposeAll:function(){for(var e=this.touches;e.length>0;)e.pop().dispose()},_isMoved:function(){return e.grep(this.touches,(function(e){return e.isMoved()})).length},_select:function(e){this.allowSelection&&!this.trigger(f,{event:e})||e.preventDefault()},_start:function(t){var n,i,o=this,r=0,s=o.filter,a=C(t),c=a.length,u=t.which;if(!(u&&u>1||o._maxTouchesReached()))for(I.current=null,o.currentTarget=t.currentTarget,o.stopPropagation&&t.stopPropagation();r<c&&!o._maxTouchesReached();r++)i=a[r],(n=s?e(i.currentTarget):o.element).length&&(i=new S(o,n,i),o.touches.push(i),i.press(),o._isMultiTouch()&&o.notify("gesturestart",{}))},_move:function(e){this._eachTouch("move",e)},_end:function(e){this._eachTouch("end",e)},_click:function(t){var n={touch:{initialTouch:t.target,target:e(t.currentTarget),endTime:s(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:e(t.currentTarget),event:t,type:"tap"};this.trigger("tap",n)&&t.preventDefault()},_eachTouch:function(e,t){var n,i,o,r,s={},a=C(t),c=this.touches;for(n=0;n<c.length;n++)s[(i=c[n]).id]=i;for(n=0;n<a.length;n++)(r=s[(o=a[n]).id])&&r[e](o)},_apiCall:function(t,n,i,o){this[t]({api:!0,pageX:n,pageY:i,clientX:n,clientY:i,target:e(o||this.element)[0],stopPropagation:e.noop,preventDefault:e.noop})}}),L=r.extend({init:function(t,i){var o,s=this,c=n.guid();i=i||{},o=s.filter=i.filter,s.touches=[],s._maxTouches=1,s.eventNS=c,s._downStarted=0,t=e(t).handler(s),r.fn.init.call(s),a(s,{element:t,surface:i.global&&M?e(t[0].ownerDocument.documentElement):e(i.surface||t),stopPropagation:i.stopPropagation,pressed:!1}),s.surface.handler(s).on(n.applyEventMap("move",c),"_move").on(n.applyEventMap("cancel up",c),"cancel"),t.on(n.applyEventMap("down",c),o,"_down").on(n.applyEventMap("up",c),o,"_up"),s.bind([v,g,_,d,m,f],i)},_down:function(e){e.which&&e.which>1?this.cancel():(this._downStarted=(new Date).getTime(),this._downTarget=e.target)},_up:function(e){var t=(new Date).getTime(),n=e.target;(!e.which||1===e.which)&&t<this._downStarted+300&&n===this._downTarget?(this.touches&&this.touches.length>0?this._end(e):this._start(e),this._preventCancel=!0):this.cancel(),this._downStarted=0,this._downTarget=null},destroy:function(){var e=this;e._destroyed||(e._destroyed=!0,e.element.kendoDestroy(e.eventNS),e.surface.kendoDestroy(e.eventNS),e.element.removeData("handler"),e.surface.removeData("handler"),e._disposeAll(),e.unbind(),delete e.surface,delete e.element,delete e.currentTarget)},capture:function(){L.current=this},cancel:function(){this._preventCancel?this._preventCancel=!1:this.touches&&this.touches.length>0&&(this._disposeAll(),this.trigger(m))},notify:function(e,t){return t.clickMoveClick=!0,this.trigger(e,a(t,{type:e}))},_maxTouchesReached:function(){return this.touches.length>=this._maxTouches},_disposeAll:function(){for(var e=this.touches;e.length>0;)e.pop().dispose()},_start:function(t){var n,i,o=this,r=0,s=o.filter,a=C(t),c=a.length,u=t.which;if(!(u&&u>1||o._maxTouchesReached()))for(L.current=null,o.currentTarget=t.currentTarget,o.stopPropagation&&t.stopPropagation();r<c&&!o._maxTouchesReached();r++)i=a[r],(n=s?e(i.currentTarget):o.element).length&&(i=new S(o,n,i),o.touches.push(i),i.press(),i._start(i))},_move:function(e){this._eachTouch("move",e)},_end:function(e){this._eachTouch("move",e),this._eachTouch("end",e)},_eachTouch:function(e,t){var n,i,o,r,s={},a=C(t),c=this.touches;for(n=0;n<c.length;n++)s[(i=c[n]).id]=i;for(n=0;n<a.length;n++)(r=s[(o=a[n]).id])&&(r.x.move(o.location),r.y.move(o.location),r[e](o))}});I.defaultThreshold=function(e){l=e},I.minHold=function(e){h=e},n.getTouches=C,n.touchDelta=b,n.UserEvents=I,n.ClickMoveClick=L}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.userevents.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.userevents.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.userevents.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoselectable=e.kendoselectable||{},e.kendoselectable.js=t())}(this,(function(){return function(e,t){var n=window.kendo,i=n.ui.Widget,l=Math.abs,s="aria-selected",a="k-selected",o="k-selecting",r="k-selectable",c="change",d="changing",u="unselect",f="k-unselecting",h="span.k-icon.k-i-caret-alt-down,span.k-icon.k-i-caret-alt-up,.k-icon.k-i-caret-alt-down,.k-icon.k-i-caret-alt-right,.k-icon.k-i-caret-alt-left",v=h.replaceAll("k-i","k-svg-i"),g=v.split(",").map((function(e){return e+" *"})).join(","),p="input,a,textarea,.k-multiselect-wrap,select,button,"+h+","+v+","+g+",.k-button>span,.k-button>span *,.k-button>img,label.k-checkbox-label.k-no-text,span.k-numeric-wrap,.k-focusable",_=n.support.browser.msie,m=!1,b=e.extend;!function(e){e('<div class="parent"><span></span></div>').on("click",">*",(function(){m=!0})).find("span").trigger("click").end().off()}(e);var k=i.extend({init:function(t,l){var s,a,o=this;i.fn.init.call(o,t,l),o._marquee=e("<div class='k-marquee'><div class='k-marquee-color'></div></div>"),o._lastActive=null,o.element.addClass(r),o.relatedTarget=o.options.relatedTarget,s=o.options.multiple,a=o.options.dragToSelect,o.userEvents=new n.UserEvents(o.element,{global:!0,allowSelection:!0,filter:(m?"":"."+r+" ")+o.options.filter,tap:o._tap.bind(o),touchAction:s?"none":"pan-x pan-y"}),s&&(a&&o.userEvents.bind("hold",o._hold.bind(o)).bind("start",o._start.bind(o)).bind("move",o._move.bind(o)).bind("end",o._end.bind(o)),o.userEvents.bind("select",o._select.bind(o)))},events:[c,d,u],options:{name:"Selectable",filter:">*",inputSelectors:p,multiple:!1,holdToDrag:!1,dragToSelect:!0,relatedTarget:e.noop,ignoreOverlapped:!1,addIdToRanges:!1,toggleable:!1},_isElement:function(e){var t,n=this.element,i=n.length,l=!1;for(e=e[0],t=0;t<i;t++)if(n[t]===e){l=!0;break}return l},_tap:function(t){var n,i=e(t.target),l=this,s=l.options,o=t.event.ctrlKey||t.event.metaKey,u=l.options.multiple,f=u&&t.event.shiftKey,h=l.options.selectedClass||a,v=t.event.which,g=t.event.button;!l._isElement(i.closest("."+r))||v&&3==v||g&&2==g||this._allowSelection(t.event.target)&&(l.trigger(d,{target:i,originalEvent:t.event})||(n=i.hasClass(h),i=i.add(l.relatedTarget(i)),u?f?(l._lastRange&&y(l._lastRange,i)||(l.selectRange(l._firstSelectee(),i,t),l._notify(c,t)),l._lastRange=i):(l._lastRange=null,n&&(o||s.toggleable)?(l._unselect(i),l._notify(c,t)):o||s.toggleable?(l.value(i,t),l._notify(c,t)):(!n||l.value().length>1)&&(l.clear(),l.value(i,t),l._notify(c,t)),l._lastActive=l._downTarget=i):n&&o?(l._unselect(i),l._notify(c,t)):n||(l.clear(),l.value(i,t),l._notify(c,t))))},_hold:function(e){this.options.holdToDrag&&this._tap(e),this._activated=!0},_isActivated:function(){return!this.options.holdToDrag||this._activated},_start:function(t){var n,i=this,l=e(t.target),s=i.options.selectedClass||a,o=l.hasClass(s),c=t.event.ctrlKey||t.event.metaKey;i._isActivated()&&this._allowSelection(t.event.target)&&(i.trigger(d,{target:l,originalEvent:t.event})?i.userEvents.cancel():(i._downTarget=l,i._isElement(l.closest("."+r))?(i.options.useAllItems?i._items=i.element.find(i.options.filter):(n=l.closest(i.element),i._items=n.find(i.options.filter)),t.sender.capture(),i._marquee.appendTo(document.body).css({left:t.x.client+1,top:t.y.client+1,width:0,height:0}),c||i.clear(),l=l.add(i.relatedTarget(l)),o&&(i._selectElement(l,!0),c&&l.addClass(f))):i.userEvents.cancel()))},_move:function(e){var t=this,n={left:e.x.startLocation>e.x.location?e.x.location:e.x.startLocation,top:e.y.startLocation>e.y.location?e.y.location:e.y.startLocation,width:l(e.x.initialDelta),height:l(e.y.initialDelta)};t._isActivated()&&(t._marquee.css(n),t._invalidateSelectables(n,e.event.ctrlKey||e.event.metaKey),e.preventDefault())},_end:function(t){var i=this,l=n.attr("range-selected"),s=n.guid();if(i._isActivated()){i._activated=!1,i._marquee.remove(),i._unselect(i.element.find(i.options.filter+"."+f)).removeClass(f);var a=i.element.find(i.options.filter+"."+o);if(a=a.add(i.relatedTarget(a)),i.options.addIdToRanges)for(var r=0;r<i._currentlyActive.length;r++)e(i._currentlyActive[r]).attr(l,s);i._lastRange&&y(i._lastRange,a)||(i.value(a,t),i._notify(c,t)),i._lastRange=a,i._lastActive=i._downTarget,i._items=null}},_invalidateSelectables:function(e,t){var n,i,l,s,r=this._downTarget[0],c=this._items,d=this.options.selectedClass||a;for(this._currentlyActive=[],n=0,i=c.length;n<i;n++)l=(s=c.eq(n)).add(this.relatedTarget(s)),C(s,e)?(s.hasClass(d)?t&&r!==s[0]&&l.removeClass(d).addClass(f):s.hasClass(o)||s.hasClass(f)||this._collidesWithActiveElement(l,e)||l.addClass(o),this._currentlyActive.push(l[0])):s.hasClass(o)?l.removeClass(o):t&&s.hasClass(f)&&l.removeClass(f).addClass(d)},_collidesWithActiveElement:function(e,t){if(!this.options.ignoreOverlapped)return!1;var i,l=this._currentlyActive,s=e[0].getBoundingClientRect(),a=!1,o=n.support.isRtl(e)?"right":"left",r={};t.right=t.left+t.width,t.bottom=t.top+t.height;for(var c=0;c<l.length;c++)if(w(s,i=l[c].getBoundingClientRect())){if(r[o]="left"===o?i.right:i.left,(s=b({},s,r)).left>s.right)return!0;a=!w(s,t)}return a},value:function(e){var t=this,n=t._selectElement.bind(t);if(!e)return t.element.find(t.options.filter+"."+(t.options.selectedClass||a));e.each((function(){n(this)}))},selectedRanges:function(){var t=n.attr("range-selected"),i={};return this.element.find("["+t+"]").each((function(n,l){var s=e(l).attr(t),a=i[s];a||(a=i[s]=[]),a.push(e(l))})),i},selectedSingleItems:function(){var t=this,i=n.attr("range-selected");return t.element.find(t.options.filter+"."+(t.options.selectedClass||a)+":not(["+i+"])").toArray().map((function(t){return e(t)}))},_firstSelectee:function(){var e,t=this;return null!==t._lastActive?t._lastActive:(e=t.value()).length>0?e[0]:t.element.find(t.options.filter)[0]},_selectElement:function(t,n){var i=e(t),l=this.options.selectedClass||a,r=!n&&this._notify("select",{element:t});i.removeClass(o),r||(i.addClass(l),this.options.aria&&i.attr(s,!0))},_notify:function(e,t){return t=t||{},this.trigger(e,t)},_unselect:function(e){if(!this.trigger(u,{element:e})){var t=n.attr("range-selected");return e.removeClass(this.options.selectedClass||a).removeAttr(t),this.options.aria&&e.attr(s,!1),e}},_select:function(t){this._allowSelection(t.event.target)&&(!_||_&&!e(n._activeElement()).is(this.options.inputSelectors))&&t.preventDefault()},_allowSelection:function(t){return!e(t).is(this.options.inputSelectors)||(this.userEvents.cancel(),this._downTarget=null,!1)},resetTouchEvents:function(){this.userEvents.cancel()},clear:function(){var e=this.element.find(this.options.filter+"."+(this.options.selectedClass||a));this._unselect(e)},selectRange:function(t,n){var i,l,s,a=this;for(a.clear(),a.element.length>1&&(s=a.options.continuousItems()),s&&s.length||(s=a.element.find(a.options.filter)),(t=e.inArray(e(t)[0],s))>(n=e.inArray(e(n)[0],s))&&(l=t,t=n,n=l),a.options.useAllItems||(n+=a.element.length-1),i=t;i<=n;i++)a._selectElement(s[i],!0)},destroy:function(){var e=this;i.fn.destroy.call(e),e.element.off(".kendoSelectable"),e.userEvents.destroy(),e._marquee=e._lastActive=e.element=e.userEvents=null}});function y(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function C(e,t){if(!e.is(":visible"))return!1;var i=n.getOffset(e),l=t.left+t.width,s=t.top+t.height;return i.right=i.left+n._outerWidth(e),i.bottom=i.top+n._outerHeight(e),!(i.left>l||i.right<t.left||i.top>s||i.bottom<t.top)}function w(e,t){return!(e.right<=t.left||e.left>=t.right||e.bottom<=t.top||e.top>=t.bottom)}k.parseOptions=function(e){var t=e.mode||e,n="string"==typeof t&&t.toLowerCase();return{multiple:n&&n.indexOf("multiple")>-1,cell:n&&n.indexOf("cell")>-1}},n.ui.plugin(k)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.selectable.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.selectable.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.selectable.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendocalendar=e.kendocalendar||{},e.kendocalendar.js=t())}(this,(function(){return function(e,t){var n=window.kendo,a=n.support,l=n.ui,r=l.Widget,i=n.keys,s=n.parseDate,o=n.htmlEncode,c=n.date.adjustDST,u=n.date.weekInYear,d=n.ui.Selectable,f=n._extractFormat,g=n.template,v=n.getCulture,_=n.support.transitions,h=_?_.css+"transform-origin":"",m=g((function(e){return'<td class="'+e.cssClass+'" role="gridcell"><a tabindex="-1" class="k-link" href="#" data-'+e.ns+'value="'+e.dateString+'">'+e.value+"</a></td>"})),p=g((function(){return'<td role="gridcell" class="k-calendar-td k-out-of-range"><a class="k-link"></a></td>'})),b=g((function(){return'<td role="gridcell" class="k-calendar-td k-out-of-range">&nbsp;</td>'})),k=g((function(e){return'<td class="k-calendar-td k-alt">'+e.weekNumber+"</td>"})),w=n._outerWidth,D=".kendoCalendar",y="click"+D,C="keydown"+D,x="id",S="slideIn",T="month",F="century",M="change",Y="navigate",A="value",N="k-disabled",V="k-focus",O="k-other-month",R="td:has(.k-link)",E="td:has(.k-link):not(."+N+"):not(.k-out-of-range)",H="k-selected",z="blur"+D,B="focus",P=B+D,I=a.touch?"touchstart":"mouseenter",W=a.touch?"touchstart"+D:"mouseenter"+D,j=a.touch?"touchend"+D+" touchmove"+D:"mouseleave"+D,q=864e5,U="_prevArrow",G="_nextArrow",K="aria-disabled",L="aria-selected",Q="aria-label",J=e.extend,X=Date,Z={month:0,year:1,decade:2,century:3},$=".k-header, .k-calendar-header",ee=r.extend({init:function(t,a){var l,i=this;(a=a||{}).componentType=a.componentType||"classic",r.fn.init.call(i,t,a),t=i.wrapper=i.element,(a=i.options).url=n.unescape(a.url),i.options.disableDates=pe(i.options.disableDates),i._templates(),i._selectable(),i._header(),i._viewWrapper(),i.options.hasFooter?i._footer(i.footer):(i._today=i.element.find(".k-calendar-nav-today"),i._toggle()),t.addClass("k-widget k-calendar "+(a.weekNumber?" k-week-number":"")).on(W+" "+j,R,fe).on(C,"table.k-content",i._move.bind(i)).on(y+" touchend",R,(function(t){var n=t.currentTarget.firstChild,l=ke(n);-1!=n.href.indexOf("#")&&t.preventDefault(),"month"==i._view.name&&i.options.disableDates(l)||"month"==i._view.name&&"single"!=a.selectable||i._click(e(n))})).on("mouseup"+D,"table.k-content, .k-footer",(function(){i._focusView(!1!==i.options.focusOnNav)})).attr(x),i._isMultipleSelection()&&i.options.weekNumber&&t.on(y,"td:not(:has(.k-link))",(function(t){var n=e(t.currentTarget).closest("tr").find(E).first(),a=i.selectable._lastActive=e(t.currentTarget).closest("tr").find(E).last();i.selectable.selectRange(n,a),i.selectable.trigger(M,{event:t}),i._current=i._value=ke(a.find("a")),i._setCurrent(i._current)})),he(a),l=s(a.value,a.format,a.culture),i._selectDates=[],i._index=Z[a.start],i._current=new X(+ie(l,a.min,a.max)),i._addClassProxy=function(){if(i._active=!0,i._cell.hasClass(N)){var e=i._view.toDateString(re());i._cell=i._cellByDate(e)}i._cell.addClass(V)},i._removeClassProxy=function(){i._active=!1,i._cell&&i._cell.removeClass(V)},i.value(l),i._isMultipleSelection()&&a.selectDates.length>0&&i.selectDates(a.selectDates),n.notify(i)},options:{name:"Calendar",value:null,min:new X(1900,0,1),max:new X(2099,11,31),dates:[],disableDates:null,url:"",culture:"",footer:"",format:"",month:{},weekNumber:!1,selectable:"single",selectDates:[],start:T,depth:T,size:"medium",animation:{horizontal:{effects:S,reverse:!0,duration:500,divisor:2},vertical:{effects:"zoomIn",duration:400}},messages:{weekColumnHeader:"",today:"Today",navigateTo:"Navigate to ",parentViews:{month:"year view",year:"decade view",decade:"century view"}},componentType:"classic"},events:[M,Y],componentTypes:{classic:{header:{template:function(e){var t=e.actionAttr,a=e.size,l=e.isRtl;return'<div class="k-header k-hstack">\n            <a tabindex="-1" href="#" '+t+'="prev" role="button" class="k-calendar-nav-prev k-button '+a+' k-rounded-md k-button-flat k-button-flat-base k-icon-button" '+Q+'="Previous">'+n.ui.icon({icon:"caret-alt-"+(l?"right":"left"),iconClass:"k-button-icon"})+'</span></a>\n            <a tabindex="-1" href="#" '+t+'="nav-up" id="'+n.guid()+'" role="button" class="k-calendar-nav-fast k-button '+a+' k-rounded-md k-button-flat k-button-flat-base  k-flex"></a>\n            <a tabindex="-1" href="#" '+t+'="next" role="button" class="k-calendar-nav-next k-button '+a+' k-rounded-md k-button-flat k-button-flat-base  k-icon-button" '+Q+'="Next">'+n.ui.icon({icon:"caret-alt-"+(l?"left":"right"),iconClass:"k-button-icon"})+"</a>\n        </div>"}},hasFooter:!0,linksSelector:".k-button",contentClasses:"k-calendar-table k-content"},modern:{header:{template:function(e){var t=e.actionAttr,a=e.size,l=e.messages,r=e.isRtl;return'<div class="k-calendar-header k-hstack">\n            <button '+t+'="nav-up" id="'+n.guid()+'" class="k-calendar-title k-button '+a+' k-button-flat k-button-flat-base k-rounded-md">\n                <span class="k-button-text"></span>\n            </button>\n            <span class="k-spacer"></span>\n            <span class="k-calendar-nav">\n                <button tabindex="-1" '+t+"="+(r?"next":"prev")+' class="k-calendar-nav-prev k-button '+a+' k-button-flat k-button-flat-base k-rounded-md k-icon-button">\n                    '+n.ui.icon({icon:"chevron-"+(r?"right":"left"),iconClass:"k-button-icon"})+'\n                </button>\n                <button tabindex="-1" '+t+'="today" class="k-calendar-nav-today k-button '+a+' k-button-flat k-button-flat-primary k-rounded-md">\n                    <span class="k-button-text">'+n.htmlEncode(l.today)+'</span>\n                </button>\n                <button tabindex="-1" '+t+"="+(r?"prev":"next")+' class="k-calendar-nav-next k-button '+a+' k-button-flat k-button-flat-base k-rounded-md k-icon-button">\n                    '+n.ui.icon({icon:"chevron-"+(r?"left":"right"),iconClass:"k-button-icon"})+"\n                </button>\n            </span>\n        </div>"}},hasFooter:!1,linksSelector:".k-button",contentClasses:"k-calendar-table k-content k-calendar-content"}},setOptions:function(t){var n=this;he(t),t.disableDates=pe(t.disableDates),n._destroySelectable(),t.messages&&(t.messages=e.extend({},!0,n.options.messages,t.messages)),r.fn.setOptions.call(n,t),n._templates(),n._selectable(),n._viewWrapper(),n.options.hasFooter?n._footer(n.footer):(n.element.find(".k-footer").hide(),n._toggle()),n._index=Z[n.options.start],n.navigate(),t.weekNumber&&n.element.addClass("k-week-number")},destroy:function(){var e=this,t=e._today;e.element.off(D),e._title.off(D),e[U].off(D),e[G].off(D),e._destroySelectable(),n.destroy(e._table),t&&n.destroy(t.off(D)),r.fn.destroy.call(e)},current:function(){return this._current},view:function(){return this._view},focus:function(e){e=e||this._table,this._bindTable(e),e.trigger("focus")},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},navigateToPast:function(){this._navigate(U,-1)},navigateToFuture:function(){this._navigate(G,1)},navigateUp:function(){var e=this,t=e._index;e._title.hasClass(N)||e.navigate(e._current,++t)},navigateDown:function(e){var t=this,n=t._index,a=t.options.depth;e&&(n!==Z[a]?t.navigate(e,--n):be(t._value,t._current)&&be(t._value,e)||(t.value(e),t.trigger(M)))},navigate:function(n,a){a=isNaN(a)?Z[a]:a;var l,r,i,s,c=this,u=c.options,d=u.culture,f=u.min,g=u.max,v=c._title,_=c._table,h=c._oldTable,m=c._current,p=n&&+n>+m,b=a!==t&&a!==c._index,k=c.element.children(".k-calendar-view");if(n||(n=m),c._current=n=new X(+ie(n,f,g)),a===t?a=c._index:c._index=a,c._view=r=te.views[a],i=r.compare,s=a===Z[F],v.toggleClass(N,s).attr(K,s),s=i(n,f)<1,c[U].toggleClass(N,s).attr(K,s),s=i(n,g)>-1,c[G].toggleClass(N,s).attr(K,s),_&&h&&h.data("animating")&&(h.kendoStop(!0,!0),_.kendoStop(!0,!0)),c._oldTable=_,!_||c._changeView){v.html('<span class="k-button-text">'+r.title(n,f,g,d)+"</span>"),c.options.messages.parentViews&&c._view.name!==F?v.attr("title",o(c.options.messages.navigateTo+c.options.messages.parentViews[c._view.name])):v.removeAttr("title"),c._table=l=e(r.content(J({min:f,max:g,date:n,url:u.url,dates:u.dates,format:u.format,otherMonth:!0,culture:d,disableDates:u.disableDates,isWeekColumnVisible:u.weekNumber,messages:u.messages,contentClasses:c.options.contentClasses},c[r.name]))),c._aria(),me(l,r.name);var w=_&&_.data("start")===l.data("start");c._animate({from:_,to:l,vertical:b,future:p,replace:w}),k.removeClass("k-calendar-monthview k-calendar-yearview k-calendar-decadeview k-calendar-centuryview"),k.addClass("k-calendar-"+r.name+"view"),c.trigger(Y),c._focus(n)}a===Z[u.depth]&&c._selectDates.length>0&&c._visualizeSelectedDatesInView(),"single"===c.options.selectable&&a===Z[u.depth]&&c._value&&!c.options.disableDates(c._value)&&c._selectCell(c._value),c._setCurrent(n),!_&&c._cell&&c._cell.removeClass(V),c._changeView=!0},selectDates:function(n){var a,l,r=this;if(n===t)return r._selectDates;l=n.map((function(e){return e.getTime()})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return new Date(e)})),a=e.grep(l,(function(e){if(e)return+r._validateValue(new Date(e.setHours(0,0,0,0)))==+e})),r._selectDates=a.length>0?a:0===l.length?l:r._selectDates,r._visualizeSelectedDatesInView()},value:function(e){var n=this,a=n._view,l=n._view;if(e===t)return n._value;if((e=n._validateValue(e))&&n._isMultipleSelection()){var r=new Date(+e);r.setHours(0,0,0,0),n._selectDates=[r],n.selectable._lastActive=null}a&&null===e&&n._cell?n._cell.removeClass(H):(n._changeView=!e||l&&0!==l.compare(e,n._current),n.navigate(e))},isRtl:function(){return n.support.isRtl(this.wrapper)},_aria:function(){var e=this._table;e.attr("aria-labelledby",this._title.attr("id")),"month"===this._view.name&&"multiple"===this.options.selectable&&e.attr("aria-multiselectable","true")},_validateValue:function(e){var n=this,a=n.options,l=a.min,r=a.max;return null===e&&(n._current=ve(n._current.getFullYear(),n._current.getMonth(),n._current.getDate())),null!==(e=s(e,a.format,a.culture))&&(se(e=new X(+e),l,r)||(e=null)),null!==e&&n.options.disableDates(new Date(+e))?n._value===t&&(n._value=null):n._value=e,n._value},_visualizeSelectedDatesInView:function(){var t=this,a={};e.each(t._selectDates,(function(e,t){a[n.calendar.views[0].toDateString(t)]=t})),t.selectable.clear();var l=t._table.find(R).filter((function(t,l){return a[e(l.firstChild).attr(n.attr(A))]}));l.length>0&&t.selectable._selectElement(l,!0)},_isMultipleSelection:function(){return"multiple"===this.options.selectable},_selectable:function(){var e=this;if(e._isMultipleSelection()){var t=e.options.selectable,n=d.parseOptions(t);e.selectable=new d(e.wrapper,{aria:!0,inputSelectors:"input,textarea,.k-multiselect-wrap,select,button,.k-button>span,.k-button>img,span.k-icon.k-i-caret-alt-down,span.k-icon.k-i-caret-alt-up,span.k-svg-icon.k-svg-i-caret-alt-down,span.k-svg-icon.k-svg-i-caret-alt-up",multiple:n.multiple,filter:"table.k-month:eq(0) "+E,change:e._onSelect.bind(e),relatedTarget:e._onRelatedTarget.bind(e)})}},_onRelatedTarget:function(e){var t=this;t.selectable.options.multiple&&e.is(E)&&(t._current=ke(e.find("a")),t._setCurrent(t._current))},_onSelect:function(t){var n=this,a=t;d.parseOptions(n.options.selectable).multiple?(a.event.ctrlKey||a.event.metaKey?e(a.event.currentTarget).is(E)?n._toggleSelection(e(a.event.currentTarget)):(n._cellsBySelector(E).each((function(t,a){var l=ke(e(a).find("a"));n._deselect(l)})),n._addSelectedCellsToArray()):a.event.shiftKey?n._rangeSelection(n._cell):e(a.event.currentTarget).is(R)?n.value(ke(e(a.event.currentTarget).find("a"))):(n._selectDates=[],n._addSelectedCellsToArray()),n.trigger(M)):e(a.event.currentTarget).is("td")&&!e(a.event.currentTarget).hasClass("k-selected")?e(a.event.currentTarget).addClass("k-selected"):n._click(e(a.event.currentTarget).find("a"))},_destroySelectable:function(){var e=this;e.selectable&&(e.selectable.destroy(),e.selectable=null)},_toggleSelection:function(e){var t=ke(e.find("a"));e.hasClass("k-selected")?this._selectDates.push(t):this._deselect(t)},_rangeSelection:function(e,t){var n,a=this,l=t||ke(a.selectable.value().first().find("a")),r=ke(e.find("a"));a.selectable._lastActive||a._value?l=a.selectable._lastActive?ke(a.selectable._lastActive.find("a")):new Date(+a._value):a.selectable._lastActive=t?a._cellByDate(a._view.toDateString(t),E):a.selectable.value().first(),a._selectDates=[],n=ue(l,r),de(a._selectDates,n,l,a.options.disableDates),a._visualizeSelectedDatesInView()},_cellsBySelector:function(e){return this._table.find(e)},_addSelectedCellsToArray:function(){var t=this;t.selectable.value().each((function(n,a){var l=ke(e(a.firstChild));t.options.disableDates(l)||t._selectDates.push(l)}))},_deselect:function(e){var t=this._selectDates.map(Number).indexOf(+e);-1!=t&&this._selectDates.splice(t,1)},_dateInView:function(e){var t=ke(this._cellsBySelector(E).first().find("a"));return+e<=+ke(this._cellsBySelector(E).last().find("a"))&&+e>=+t},_isNavigatable:function(e,t){var n,a=this,l=a.options.disableDates;return"month"==a._view.name?!l(e):(n=a.wrapper.find("."+V).index(),a.wrapper.find(".k-content td").eq(n+t).is(E)||!l(e))},_move:function(n){var a,l,r,s,o=this,c=o.options,u=n.keyCode,d=o._view,f=o._index,g=o.options.min,v=o.options.max,_=new X(+o._current),h=o.isRtl(),m=o.options.disableDates;if(n.target===o._table[0]&&(o._active=!0),u==i.RIGHT&&!h||u==i.LEFT&&h?(a=1,l=!0):u==i.LEFT&&!h||u==i.RIGHT&&h?(a=-1,l=!0):u==i.UP?(a=0===f?-7:-4,l=!0):u==i.DOWN?(a=0===f?7:4,l=!0):u==i.SPACEBAR?(a=0,l=!0):u==i.HOME||u==i.END?(s=d[r=u==i.HOME?"first":"last"](_),(_=new X(s.getFullYear(),s.getMonth(),s.getDate(),_.getHours(),_.getMinutes(),_.getSeconds(),_.getMilliseconds())).setFullYear(s.getFullYear()),l=!0):84===u&&(o._todayClick(n),l=!0),n.ctrlKey||n.metaKey){if(u==i.RIGHT&&!h||u==i.LEFT&&h)o.navigateToFuture(),l=!0;else if(u==i.LEFT&&!h||u==i.RIGHT&&h)o.navigateToPast(),l=!0;else if(u==i.UP)o.navigateUp(),l=!0;else if(u==i.DOWN)o._click(e(o._cell[0].firstChild)),l=!0;else if((u==i.ENTER||u==i.SPACEBAR)&&o._isMultipleSelection()){o._keyboardToggleSelection(n);var p=ke(e(o._cell[0]).find("a"));o._setCurrent(p)}}else n.shiftKey?(a!==t||r)&&(r||d.setDate(_,a),se(_,g,v)||(_=ie(_,c.min,c.max)),m(_)&&(_=o._nextNavigatable(_,a)),g=ve(g.getFullYear(),g.getMonth(),g.getDate()),o._isMultipleSelection()?o._keyboardRangeSelection(n,_):o._focus(_)):(u==i.ENTER||u==i.SPACEBAR?("month"==d.name&&o._isMultipleSelection()?(o.value(ke(e(o._cell.find("a")))),o.selectable._lastActive=e(o._cell[0]),o.trigger(M)):o._click(e(o._cell[0].firstChild)),l=!0):u==i.PAGEUP?(l=!0,o.navigateToPast()):u==i.PAGEDOWN&&(l=!0,o.navigateToFuture()),(a||r)&&(r||d.setDate(_,a),se(_,g=ve(g.getFullYear(),g.getMonth(),g.getDate()),v)||(_=ie(_,c.min,c.max)),o._isNavigatable(_,a)||(_=o._nextNavigatable(_,a)),o._isMultipleSelection()?o._dateInView(_)?(o._current=_,o._setCurrent(_)):o.navigate(_):o._focus(_)));return l&&n.preventDefault(),o._current},_keyboardRangeSelection:function(e,t){var n,a,l=this;if(!l._dateInView(t))return l._selectDates=[],a=ue(n=l.selectable._lastActive?ke(l.selectable._lastActive.find("a")):t,new Date(+t)),de(l._selectDates,a,n,l.options.disableDates),l.navigate(t),l._current=t,l.selectable._lastActive=l.selectable._lastActive||l._cellByDate(l._view.toDateString(t),E),void l.trigger(M);l.selectable.options.filter=l.wrapper.find("table").length>1&&+t>+l._current?"table.k-month:eq(1) "+E:"table.k-month:eq(0) "+E,l._setCurrent(t),l._current=t,l._rangeSelection(l._cellByDate(l._view.toDateString(t),E),t),l.trigger(M),l.selectable.options.filter="table.k-month:eq(0) "+E},_keyboardToggleSelection:function(t){var n=this;t.currentTarget=n._cell[0],n.selectable._lastActive=e(n._cell[0]),e(n._cell[0]).hasClass(H)?n.selectable._unselect(e(n._cell[0])):n.selectable.value(e(n._cell[0])),n.selectable.trigger(M,{event:t})},_nextNavigatable:function(e,t){var n=this,a=!0,l=n._view,r=n.options.min,i=n.options.max,s=n.options.disableDates,o=new Date(e.getTime());for(l.setDate(o,-t);a;){if(l.setDate(e,t),!se(e,r,i)){e=o;break}a=s(e)}return e},_animate:function(e){var t=this,n=e.from,a=e.to,l=t._active,r=t.element.children(".k-calendar-view");n?n.parent().data("animating")?(n.off(D),n.parent().kendoStop(!0,!0).remove(),n.remove(),r.append(a),t._focusView(l)):!n.is(":visible")||!1===t.options.animation||e.replace?(a.insertAfter(n),n.off(D).remove(),t._focusView(l)):t[e.vertical?"_vertical":"_horizontal"](n,a,e.future):(r.append(a),t._bindTable(a))},_horizontal:function(e,t,n){var a=this,l=a._active,r=a.options.animation.horizontal,i=r.effects,s=w(e),o=w(e,!0)-s;i&&-1!=i.indexOf(S)&&(e.add(t).css({width:s}),e.wrap("<div/>"),a._focusView(l,e),e.parent().css({position:"relative",width:2*s+2*o,display:"flex","margin-left":n?0:-s-o}),t[n?"insertAfter":"insertBefore"](e),J(r,{effects:S+":"+(n?"right":"left"),complete:function(){e.off(D).remove(),a._oldTable=null,t.unwrap(),a._focusView(l)}}),e.parent().kendoStop(!0,!0).kendoAnimate(r))},_vertical:function(e,t){var n,a,l=this,r=l.options.animation.vertical,i=r.effects,s=l._active;i&&-1!=i.indexOf("zoom")&&(t.insertBefore(e),e.css({position:"absolute",width:t.width()}),h&&(a=(a=(n=l._cellByDate(l._view.toDateString(l._current))).position()).left+parseInt(n.width()/2,10)+"px "+(a.top+parseInt(n.height()/2,10))+"px",t.css(h,a)),e.kendoStop(!0,!0).kendoAnimate({effects:"fadeOut",duration:600,complete:function(){e.off(D).remove(),l._oldTable=null,l._focusView(s)}}),t.kendoStop(!0,!0).kendoAnimate(r))},_cellByDate:function(t,a){return this._table.find(a||"td:not(."+O+")").filter((function(){return e(this.firstChild).attr(n.attr(A))===t}))},_selectCell:function(e){var t=this,n=t._selectedCell,a=t._view.toDateString(e);n&&n[0]&&(n[0].removeAttribute(L),n.removeClass(H)),n=t._cellByDate(a,"multiple"==t.options.selectable?R:"td:not(."+O+")"),t._selectedCell=n,n.addClass(H).attr(L,!0)},_setCurrent:function(e){var t=this,a=n.guid(),l=t._cell,r=t._view.toDateString(e);l&&l[0]&&(l.removeClass(V),l[0].removeAttribute(Q),l[0].removeAttribute(x)),l=t._cellByDate(r,"multiple"==t.options.selectable?R:"td:not(."+O+")"),t._cell=l,l.attr(x,a).addClass(V),t._table[0]&&(t._table[0].removeAttribute("aria-activedescendant"),t._table.attr("aria-activedescendant",a))},_bindTable:function(e){e.on(P,this._addClassProxy).on(z,this._removeClassProxy)},_click:function(e){var t=this,n=t.options,a=new Date(+t._current),l=ke(e);c(l,0),"month"==t._view.name&&t.options.disableDates(l)&&(l=t._value),t._view.setDate(a,l),t.navigateDown(ie(a,n.min,n.max))},_focus:function(e){var t=this;0!==t._view.compare(e,t._current)?t.navigate(e):(t._current=e,t._setCurrent(e))},_focusView:function(e,t){e&&this.focus(t)},_viewWrapper:function(){var t=this.element,n=t.children(".k-calendar-view");n[0]||(n=e("<div class='k-calendar-view' />").insertAfter(t.find($)))},_footer:function(t){var a=this,l=re(),r=a.element,i=r.find(".k-footer");if(!t)return a._toggle(!1),void i.hide();i[0]||(i=e('<div class="k-footer">\n                    <button tabindex="-1" class="k-calendar-nav-today k-flex k-button k-button-md k-button-flat k-button-flat-primary k-rounded-md">\n                        <span class="k-button-text"></span>\n                    </button>\n                </div>').appendTo(r)),a._today=i.show().find(".k-button-flat-primary").attr("title",n.toString(l,"D",a.options.culture)),i.find(".k-button-text").html(t(l)),a._toggle()},_header:function(){var t=this,a=t.element,l=t.options.linksSelector;a.find($)[0]||a.html(n.template(t.options.header.template)(e.extend(!0,{},t.options,{actionAttr:n.attr("action"),size:n.getValidCssClass("k-button-","size",t.options.size),isRtl:t.isRtl()}))),a.find(l).on(y+" touchend"+D,(function(){return!1})),t._title=a.find("["+n.attr("action")+'="nav-up"]').on(y+" touchend"+D,(function(){t._active=!1!==t.options.focusOnNav,t.navigateUp()})),t[U]=a.find("["+n.attr("action")+'="prev"]').on(y+" touchend"+D,(function(){t._active=!1!==t.options.focusOnNav,t.navigateToPast()})),t[G]=a.find("["+n.attr("action")+'="next"]').on(y+" touchend"+D,(function(){t._active=!1!==t.options.focusOnNav,t.navigateToFuture()})),a.find("["+n.attr("action")+'="today"]').on(y+" touchend"+D,t._todayClick.bind(t))},_navigate:function(e,t){var n=this,a=n._index+1,l=new X(+n._current);n._isMultipleSelection()&&(l=ke(n._table.find("td:not(.k-other-month):not(.k-out-of-range)").has(".k-link").first().find("a")),n._current=new Date(+l));(e=n[e]).hasClass(N)||(a>3?l.setFullYear(l.getFullYear()+100*t):te.views[a].setDate(l,t),n.navigate(l))},_option:function(e,n){var a,l=this,r=l.options,i=l._value||l._current;if(n===t)return r[e];(n=s(n,r.format,r.culture))&&(r[e]=new X(+n),((a="min"===e?n>i:i>n)||function(e,t){if(e)return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth();return!1}(i,n))&&(a&&(l._value=null),l._changeView=!0),l._changeView||(l._changeView=!(!r.month.content&&!r.month.empty)),l.navigate(l._value),l._toggle())},_toggle:function(e){var n=this,a=n.options,l=n.options.disableDates(re()),r=n._today,i=n._todayClass();e===t&&(e=se(re(),a.min,a.max)),r&&(r.off(y),e&&!l?r.addClass(i).removeClass(N).on(y,n._todayClick.bind(n)):r.removeClass(i).addClass(N).on(y,ge))},_todayClass:function(){return"k-calendar-nav-today"},_todayClick:function(e){var t=this,n=Z[t.options.depth],a=t.options.disableDates,l=re();e.preventDefault(),a(l)||(0===t._view.compare(t._current,l)&&t._index==n&&(t._changeView=!1),t._isMultipleSelection()&&(t._selectDates=[l],t.selectable._lastActive=null),t._value=l,t.navigate(l,n),t.trigger(M))},_templates:function(){var e=this,t=e.options,a=t.footer,l=t.month,r=l.content,i=l.weekNumber,s=l.empty,o=function(e){return""+n.toString(e,"D",t.culture)};e.month={content:function(e){return'<td class="'+e.cssClass+'" role="gridcell"><a tabindex="-1" class="k-link '+e.linkClass+'" href="'+e.url+'" '+n.attr(A)+'="'+e.dateString+'" title="'+e.title+'">'+(we(r,e)||e.value)+"</a></td>"},empty:function(e){return'<td role="gridcell">'+(we(s,e)||"&nbsp;")+"</td>"},weekNumber:function(e){return'<td class="k-alt">'+(we(i,e)||e.weekNumber)+"</td>"}},e.year={content:g((function(e){return'<td class="'+e.cssClass+'" role="gridcell"><a tabindex="-1" class="k-link" href="#" data-'+e.ns+'value="'+e.dateString+'" aria-label="'+e.label+'">'+e.value+"</a></td>"}))},a&&!0!==a&&(o=a),e.footer=!1!==a?g(o,{useWithBlock:!1}):null},_updateAria:function(e,t){var a,l=this,r=l._cell,i=l.view().valueType(),s=t||l.current();return a="month"===i?n.toString(s,"MMMM"):"date"===i?n.toString(s,"D"):r.text(),r.attr("aria-label",e({current:s,valueType:i,text:a})),r.attr("id")}});l.plugin(ee);var te={firstDayOfMonth:function(e){return ve(e.getFullYear(),e.getMonth(),1)},firstVisibleDay:function(e,t){var a=(t=t||n.culture().calendar).firstDay,l=new X(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());for(l.setFullYear(e.getFullYear());l.getDay()!=a;)te.setTime(l,-864e5);return l},setTime:function(e,t){var n=e.getTimezoneOffset(),a=new X(e.getTime()+t),l=a.getTimezoneOffset()-n;e.setTime(a.getTime()+6e4*l)},views:[{name:T,title:function(e,t,n,a){return _e(a).months.names[e.getMonth()]+" "+e.getFullYear()},content:function(e){var t=this,a=0,l=e.min,r=e.max,i=e.date,s=e.dates,d=e.format,f=e.culture,g=e.url,v=e.showHeader,_=e.otherMonth,h=e.isWeekColumnVisible,m=g&&s[0],p=_e(f),b=p.firstDay,k=p.days,w=oe(k.names,b),D=oe(k.namesShort,b),y=te.firstVisibleDay(i,p),C=t.first(i),x=t.last(i),S=t.toDateString,T=re(),F='<table tabindex="0" role="grid" class="'+e.contentClasses+'" cellspacing="0" data-start="'+S(y)+'">';for(v&&(F+='<caption class="k-calendar-caption k-month-header">'+this.title(i,l,r,f)+"</caption>"),F+='<thead class="k-calendar-thead"><tr role="row" class="k-calendar-tr">',h&&(F+='<th scope="col" class="k-calendar-th k-alt">'+o(e.messages.weekColumnHeader)+"</th>");a<7;a++)F+='<th scope="col" class="k-calendar-th" aria-label="'+w[a]+'">'+D[a]+"</th>";return c(T,0),T=+T,ae({cells:42,perRow:7,html:F+='</tr></thead><tbody class="k-calendar-tbody"><tr role="row" class="k-calendar-tr">',start:ve(y.getFullYear(),y.getMonth(),y.getDate()),isWeekColumnVisible:h,weekNumber:e.weekNumber,min:ve(l.getFullYear(),l.getMonth(),l.getDate()),max:ve(r.getFullYear(),r.getMonth(),r.getDate()),otherMonth:_,content:e.content,lastDayOfMonth:x,empty:e.empty,setter:t.setDate,disableDates:e.disableDates,build:function(e,t,a){var l=["k-calendar-td"],r=e.getDay(),i="",o="#";return(e<C||e>x)&&l.push(O),a(e)&&l.push(N),+e===T&&l.push("k-today"),0!==r&&6!==r||l.push("k-weekend"),m&&function(e,t){for(var n=0,a=t.length;n<a;n++)if(e===+t[n])return!0;return!1}(+e,s)&&(o=g.replace("{0}",n.toString(e,d,f)),i=" k-action-link"),{date:e,dates:s,ns:n.ns,title:n.toString(e,"D",f),value:e.getDate(),dateString:S(e),cssClass:l.join(" "),linkClass:i,url:o}},weekNumberBuild:function(e){return{weekNumber:u(e,n.culture().calendar.firstDay),currentDate:e}}})},first:function(e){return te.firstDayOfMonth(e)},last:function(e){var t=ve(e.getFullYear(),e.getMonth()+1,0),n=te.firstDayOfMonth(e),a=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return a&&t.setHours(n.getHours()+a/60),t},compare:function(e,t){var n=e.getMonth(),a=e.getFullYear(),l=t.getMonth(),r=t.getFullYear();return a>r?1:a<r?-1:n==l?0:n>l?1:-1},setDate:function(e,t){var n=e.getHours();t instanceof X?e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):te.setTime(e,t*q),c(e,n)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/"+e.getDate()},valueType:function(){return"date"}},{name:"year",title:function(e){return e.getFullYear()},content:function(e){var t=_e(e.culture).months,a=t.namesAbbr,l=t.names,r=this.toDateString,i=e.min,s=e.max,o="";return e.showHeader&&(o+='<table tabindex="0" role="grid" class="k-calendar-table k-content k-meta-view" cellspacing="0">',o+='<caption class="k-calendar-caption k-meta-header">',o+=this.title(e.date),o+="</caption>",o+='<tbody class="k-calendar-tbody">',o+='<tr role="row" class="k-calendar-tr">'),ae({min:ve(i.getFullYear(),i.getMonth(),1),max:ve(s.getFullYear(),s.getMonth(),1),start:ve(e.date.getFullYear(),0,1),html:o,setter:this.setDate,content:e.content,build:function(e){return{value:a[e.getMonth()],label:l[e.getMonth()],ns:n.ns,dateString:r(e),cssClass:["k-calendar-td"].join(" ")}}})},first:function(e){return ve(e.getFullYear(),0,e.getDate())},last:function(e){return ve(e.getFullYear(),11,e.getDate())},compare:function(e,t){return le(e,t)},setDate:function(e,t){var n,a=e.getHours();t instanceof X?(n=t.getMonth(),e.setFullYear(t.getFullYear(),n,e.getDate()),n!==e.getMonth()&&e.setDate(0)):(n=e.getMonth()+t,e.setMonth(n),n>11&&(n-=12),n>0&&e.getMonth()!=n&&e.setDate(0)),c(e,a)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/1"},valueType:function(){return"month"}},{name:"decade",title:function(e,t,n){return ne(e,t,n,10)},content:function(e){var t=e.date.getFullYear(),a=this.toDateString,l="";return e.showHeader&&(l+='<table tabindex="0" role="grid" class="k-calendar-table k-content k-meta-view" cellspacing="0">',l+='<caption class="k-meta-header">',l+=this.title(e.date,e.min,e.max),l+="</caption>",l+='<tbody class="k-calendar-thead">',l+='<tr role="row" class="k-calendar-tr">'),ae({start:ve(t-t%10-1,0,1),min:ve(e.min.getFullYear(),0,1),max:ve(e.max.getFullYear(),0,1),otherMonth:e.otherMonth,html:l,setter:this.setDate,build:function(e,t){var l=["k-calendar-td"];return 0!==t&&11!==t||l.push(O),{value:e.getFullYear(),ns:n.ns,dateString:a(e),cssClass:l.join(" ")}}})},first:function(e){var t=e.getFullYear();return ve(t-t%10,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return ve(t-t%10+9,e.getMonth(),e.getDate())},compare:function(e,t){return le(e,t,10)},setDate:function(e,t){ce(e,t,1)},toDateString:function(e){return e.getFullYear()+"/0/1"},valueType:function(){return"year"}},{name:F,title:function(e,t,n){return ne(e,t,n,100)},content:function(e){var t=e.date.getFullYear(),a=e.min.getFullYear(),l=e.max.getFullYear(),r=this.toDateString,i=a,s=l,o="";return(s-=s%10)-(i-=i%10)<10&&(s=i+9),e.showHeader&&(o+='<table tabindex="0" role="grid" class="k-calendar-table k-content k-meta-view" cellspacing="0">',o+='<caption class="k-calendar-caption k-meta-header">',o+=this.title(e.date,e.min,e.max),o+="</caption>",o+='<tbody class="k-calendar-tbody">',o+='<tr role="row" class="k-calendar-tr">'),ae({start:ve(t-t%100-10,0,1),min:ve(i,0,1),max:ve(s,0,1),otherMonth:e.otherMonth,html:o,setter:this.setDate,build:function(e,t){var i=["k-calendar-td"],s=e.getFullYear(),o=s+9;return 0!==t&&11!==t||i.push(O),s<a&&(s=a),o>l&&(o=l),{ns:n.ns,value:s+" - "+o,dateString:r(e),cssClass:i.join(" ")}}})},first:function(e){var t=e.getFullYear();return ve(t-t%100,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return ve(t-t%100+99,e.getMonth(),e.getDate())},compare:function(e,t){return le(e,t,100)},setDate:function(e,t){ce(e,t,10)},toDateString:function(e){var t=e.getFullYear();return t-t%10+"/0/1"},valueType:function(){return"decade"}}]};function ne(e,t,n,a){var l,r=e.getFullYear(),i=t.getFullYear(),s=n.getFullYear();return l=(r-=r%a)+(a-1),r<i&&(r=i),l>s&&(l=s),r+"-"+l}function ae(e){var t,n=0,a=e.min,l=e.max,r=e.start,i=e.setter,s=e.build,o=e.weekNumberBuild,u=e.cells||12,d=e.isWeekColumnVisible,f=e.perRow||4,g=e.otherMonth,v=e.lastDayOfMonth,_=e.weekNumber||k,h=e.content||m,w=e.empty||p,D=e.otherMonthCellTemplate||b,y=e.html||'<table tabindex="0" role="grid" class="k-calendar-table k-content k-meta-view" cellspacing="0"><tbody class="k-calendar-tbody"><tr role="row" class="k-calendar-tr">';for(d&&(y+=_(o(r)));n<u;n++)n>0&&n%f==0&&(y+='</tr><tr role="row" class="k-calendar-tr">',d&&(y+=_(g||+r<=+v?o(r):{weekNumber:"&nbsp;"}))),r=ve(r.getFullYear(),r.getMonth(),r.getDate()),c(r,0),y+=-1===(t=s(r,n,e.disableDates)).cssClass.indexOf(O)||g?se(r,a,l)?h(t):w(t):D(t),i(r,1);return y+"</tr></tbody></table>"}function le(e,t,n){var a=e.getFullYear(),l=t.getFullYear(),r=l,i=0;return n&&(r=(l-=l%n)-l%n+n-1),a>r?i=1:a<l&&(i=-1),i}function re(){var e=new X;return new X(e.getFullYear(),e.getMonth(),e.getDate())}function ie(e,t,n){var a=re();return e&&(a=new X(+e)),t>a?a=new X(+t):n<a&&(a=new X(+n)),a}function se(e,t,n){return+e>=+t&&+e<=+n}function oe(e,t){return e.slice(t).concat(e.slice(0,t))}function ce(e,t,n){t=t instanceof X?t.getFullYear():e.getFullYear()+n*t,e.setFullYear(t)}function ue(e,t){if(+t<+e){var a=+e;te.views[0].setDate(e,t),te.views[0].setDate(t,new Date(a))}var l=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate());return Math.ceil((+r-+l)/n.date.MS_PER_DAY)}function de(e,t,n,a){for(var l=0;l<=t;l++){var r=new Date(n.getTime());a(r=new Date(r.setDate(r.getDate()+l)))||e.push(r)}}function fe(t){e(this).hasClass("k-disabled")||e(this).toggleClass("k-hover",I.indexOf(t.type)>-1||t.type==B)}function ge(e){e.preventDefault()}function ve(e,t,n){var a=new X(e,t,n);return a.setFullYear(e,t,n),a}function _e(e){return v(e).calendars.standard}function he(e){var n=Z[e.start],a=Z[e.depth],l=v(e.culture);e.format=f(e.format||l.calendars.standard.patterns.d),isNaN(n)&&(n=0,e.start=T),(a===t||a>n)&&(e.depth=T),null===e.dates&&(e.dates=[])}function me(e,t){e.addClass("k-"+t)}function pe(t){return n.isFunction(t)?t:Array.isArray(t)?function(e){var t,n=[],a=["su","mo","tu","we","th","fr","sa"];e[0]instanceof X?(n=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].setHours(0,0,0,0));return t}(e),t=function(e){return!!(e&&n.indexOf(new Date(e).setHours(0,0,0,0))>-1)}):(n=e.map((function(e){e=e.slice(0,2).toLowerCase();var t=a.indexOf(e);if(t>-1)return t})),t=function(e){return!!(e&&n.indexOf(new Date(e).getDay())>-1)});return t}(t):e.noop}function be(e,t){return e instanceof Date&&t instanceof Date&&(e=e.getTime(),t=t.getTime()),e===t}function ke(t){var a=e(t).attr(n.attr(A)).split("/");return a=ve(a[0],a[1],a[2])}function we(e,a){return e?n.isFunction(e)?e(a):g(e)(a):t}te.isEqualDatePart=function(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())},te.isEqualDate=be,te.restrictValue=ie,te.isInRange=se,te.addClassToViewContainer=me,te.normalize=he,te.viewsEnum=Z,te.disabled=pe,te.toDateObject=ke,te.getToday=re,te.createDate=ve,n.calendar=te}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.calendar.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendopopup=e.kendopopup||{},e.kendopopup.js=t())}(this,(function(){return function(e,t){var o=window.kendo,n=o.ui,i=n.Widget,s=o.Class,r=o.support,a=o.getOffset,l=o._outerWidth,d=o._outerHeight,p="open",c="close",f="deactivate",u="activate",h="center",m="left",g="right",w="top",v="bottom",b="absolute",_="hidden",y="body",k="location",x="position",T="visible",z="effects",C="k-active",P="k-state-border",S=/k-state-border-(\w+)/,E=".k-picker-wrap, .k-dropdown-wrap, .k-link",I=e(document.documentElement),O=e(window),R="scroll",A=r.transitions.css+"transform",D=e.extend,N=".kendoPopup",W=["font-size","font-family","font-stretch","font-style","font-weight","line-height"];function j(t,o){return!(!t||!o)&&(t===o||e.contains(t,o))}var F=i.extend({init:function(t,n){var s,a=this;(n=n||{}).isRtl&&(n.origin=n.origin||v+" "+g,n.position=n.position||w+" "+g),i.fn.init.call(a,t,n),t=a.element,n=a.options,a.collisions=n.collision?n.collision.split(" "):[],a.downEvent=o.applyEventMap("down",o.guid()),1===a.collisions.length&&a.collisions.push(a.collisions[0]),s=e(a.options.anchor).closest(".k-popup,.k-group").filter(":not([class^=km-])"),n.appendTo=e(e(n.appendTo)[0]||s[0]||document.body),a.element.hide().addClass("k-popup").toggleClass("k-rtl",!!n.isRtl).appendTo(n.appendTo).attr("aria-hidden",!0).on("mouseenter"+N,(function(){a._hovered=!0})).on("wheel"+N,(function(t){var o=e(t.target).find(".k-list"),n=o.parent();o.length&&o.is(":visible")&&(0===n.scrollTop()&&t.originalEvent.deltaY<0||n.scrollTop()===n.prop("scrollHeight")-n.prop("offsetHeight")&&t.originalEvent.deltaY>0)&&t.preventDefault()})).on("mouseleave"+N,(function(){a._hovered=!1})),a.wrapper=e(),!1===n.animation&&(n.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),D(n.animation.open,{complete:function(){a.wrapper.addClass("k-animation-container-shown"),a.wrapper.css("overflow",""),a._activated=!0,a._trigger(u)}}),D(n.animation.close,{complete:function(){a._animationClose()}}),a._mousedownProxy=function(e){a._mousedown(e)},r.mobileOS.android?a._resizeProxy=function(e){setTimeout((function(){a._resize(e)}),600)}:a._resizeProxy=function(e){a._resize(e)},n.toggleTarget&&e(n.toggleTarget).on(n.toggleEvent+N,a.toggle.bind(a))},events:[p,u,c,f],options:{name:"Popup",toggleEvent:"click",origin:v+" "+m,position:w+" "+m,anchor:y,appendTo:null,collision:"flip fit",viewport:window,copyAnchorStyles:!0,autosize:!1,modal:!1,adjustSize:{width:0,height:0},animation:{open:{effects:"slideIn:down",transition:!0,duration:200},close:{duration:100,hide:!0}},omitOriginOffsets:!1},_animationClose:function(){var e=this,t=e.wrapper.data(k);e.wrapper.hide(),t&&e.wrapper.css(t),e.options.anchor!=y&&e._hideDirClass(),e._closing=!1,e._trigger(f)},destroy:function(){var t,n=this,s=n.options,r=n.element.off(N);i.fn.destroy.call(n),s.toggleTarget&&e(s.toggleTarget).off(N),s.modal||(I.off(n.downEvent,n._mousedownProxy),n._toggleResize(!1)),o.destroy(n.element.children()),r.removeData(),s.appendTo[0]===document.body&&((t=r.closest(".k-animation-container"))[0]?t.remove():r.remove())},open:function(t,n){var i,s,a,l=this,d={isFixed:!isNaN(parseInt(n,10)),x:t,y:n},c=l._shouldCorrectWidth,f=l.element,u=l.options,h=e(u.anchor),m=f[0]&&f.hasClass("km-widget"),g=f.find("[role='listbox']");if(!l.visible()){if(u.copyAnchorStyles&&(m&&"font-size"==W[0]&&W.shift(),f.css(o.getComputedStyles(h[0],W))),l.element.parent().data("animating")||l._trigger(p))return;l._activated=!1,u.modal||(I.off(l.downEvent,l._mousedownProxy).on(l.downEvent,l._mousedownProxy),l._toggleResize(!1),l._toggleResize(!0)),l.wrapper=s=o.wrap(f,u.autosize,u._resizeOnWrap,c).css({overflow:_,display:"block",position:b}).attr("aria-hidden",!1),a=f.parent(),g.attr("aria-label")?s.attr("aria-label",g.attr("aria-label")):g.attr("aria-labelledby")&&s.attr("aria-labelledby",g.attr("aria-labelledby")),r.mobileOS.android&&a.css(A,"translatez(0)"),s.css(x),e(u.appendTo)[0]==document.body&&s.css(w,"-10000px"),l.flipped=l._position(d),i=l._openAnimation(),u.anchor==y||l.element.hasClass("k-tooltip")||l._showDirClass(i),a.hide(),f.show(),l.wrapper.show(),a.data(z,i.effects).kendoStop(!0).kendoAnimate(i),f.attr("aria-hidden",!1)}},_location:function(t){var n,i=this,s=i.element,a=i.options,l=e(a.anchor),d=s[0]&&s.hasClass("km-widget");a.copyAnchorStyles&&(d&&"font-size"==W[0]&&W.shift(),s.css(o.getComputedStyles(l[0],W))),i.wrapper=n=o.wrap(s,a.autosize).css({overflow:_,display:"block",position:b}),r.mobileOS.android&&n.css(A,"translatez(0)"),n.css(x),e(a.appendTo)[0]==document.body&&n.css(w,"-10000px"),i._position(t||{});var p=n.offset();return{width:o._outerWidth(n),height:o._outerHeight(n),left:p.left,top:p.top}},_openAnimation:function(){var e=D(!0,{},this.options.animation.open);return e.effects=o.parseEffects(e.effects,this.flipped),e},_hideDirClass:function(){var t=e(this.options.anchor),n=((t.attr("class")||"").match(S)||["","down"])[1],i=P+"-"+n;t.removeClass(i).children(E).removeClass(C).removeClass(i),this.element.removeClass(P+"-"+o.directions[n].reverse)},_showDirClass:function(t){var o=t.effects.slideIn?t.effects.slideIn.direction:"down",n=P+"-"+o;e(this.options.anchor).addClass(n).children(E).addClass(C).addClass(n)},position:function(){this.visible()&&(this.flipped=this._position())},toggle:function(){this[this.visible()?c:p]()},visible:function(){return this.wrapper.is(":"+T)&&this.element.is(":"+T)},close:function(t){var n,i,s,r,a=this,l=a.element.parent(),d=a.options;if(a.visible()){if(n=a.wrapper[0]?a.wrapper:o.wrap(a.element).hide(),a.wrapper.removeClass("k-animation-container-shown"),a._toggleResize(!1),a._closing||a._trigger(c))return void a._toggleResize(!0);a.element.find(".k-popup").each((function(){var o=e(this).data("kendoPopup");o&&o.close(t)})),I.off(a.downEvent,a._mousedownProxy),t?i={hide:!0,effects:{}}:(i=D(!0,{},d.animation.close),s=l.data(z),!(r=i.effects)&&!o.size(r)&&s&&o.size(s)&&(i.effects=s,i.reverse=!0),a._closing=!0),l.kendoStop(!0),a.element.attr("aria-hidden",!0),n.css({overflow:_}).attr("aria-hidden",!0),l.kendoAnimate(i),t&&a._animationClose()}},_trigger:function(e){return this.trigger(e,{type:e})},_resize:function(e){var t=this;-1!==r.resize.indexOf(e.type)?(clearTimeout(t._resizeTimeout),t._resizeTimeout=setTimeout((function(){t._position(),t._resizeTimeout=null}),50)):(!t._hovered||t._activated&&t.element.find(".k-list").length>0)&&t.close()},_toggleResize:function(e){var t=e?"on":"off",o=r.resize;r.mobileOS.ios||r.mobileOS.android||r.browser.safari||(o+=" "+R),e&&!this.scrollableParents&&(this.scrollableParents=this._scrollableParents()),this.scrollableParents&&this.scrollableParents.length&&this.scrollableParents[t](R,this._resizeProxy),O[t](o,this._resizeProxy)},_mousedown:function(t){var n=this,i=n.element[0],s=n.options,r=e(s.anchor)[0],a=s.toggleTarget,l=o.eventTarget(t),d=e(l).closest(".k-popup"),p=d.parent().parent(".km-shim").length;d=d[0],!p&&d&&d!==n.element[0]||"popover"!==e(t.target).closest("a").data("rel")&&(j(i,l)||j(r,l)||a&&j(e(a)[0],l)||n.close())},_fit:function(e,t,o){var n=0;return e+t>o&&(n=o-(e+t)),e<0&&(n=-e),n},_flip:function(e,t,o,n,i,s,r){var a=0;return r=r||t,s!==i&&s!==h&&i!==h&&(e+r>n&&(a+=-(o+t)),e+a<0&&(a+=o+t)),a},_scrollableParents:function(){return e(this.options.anchor).parentsUntil("body").filter((function(e,t){return o.isScrollable(t)}))},_position:function(t){var n,i,s,p,c,f,u,h=this,m=h.element,g=h.wrapper,w=h.options,v=e(w.viewport),b=r.zoomLevel(),_=!!(v[0]==window&&window.innerWidth&&b<=1.02),y=e(w.anchor),T=w.origin.toLowerCase().split(" "),z=w.position.toLowerCase().split(" "),C=h.collisions,P=10002,S=0,E=document.documentElement;(c=w.viewport===window?{top:window.pageYOffset||document.documentElement.scrollTop||0,left:window.pageXOffset||document.documentElement.scrollLeft||0}:v.offset(),_?(f=window.innerWidth,u=window.innerHeight):(f=v.width(),u=v.height()),_&&E.scrollHeight-E.clientHeight>0)&&(f-=(w.isRtl?-1:1)*o.support.scrollbar());if((n=y.parents().filter(g.siblings()))[0])if(s=Math.max(Number(n.css("zIndex")),0))P=s+10;else for(p=(i=y.parentsUntil(n)).length;S<p;S++)(s=Number(e(i[S]).css("zIndex")))&&P<s&&(P=s+10);g.css("zIndex",P),t&&t.isFixed?g.css({left:t.x,top:t.y}):g.css(h._align(T,z));var I=a(g,x,y[0]===g.offsetParent()[0]),O=a(g);y.offsetParent().parent(".k-animation-container,.k-popup,.k-group").length&&(I=a(g,x,!0),O=a(g)),O.top-=c.top,O.left-=c.left,h.wrapper.data(k)||g.data(k,D({},I));var R=D({},O),A=D({},I),N=w.adjustSize;"fit"===C[0]&&(A.top+=h._fit(R.top,d(g)+N.height,u/b)),"fit"===C[1]&&(A.left+=h._fit(R.left,l(g)+N.width,f/b));var W=D({},A),j=d(m),F=d(g);return!g.height()&&j&&(F+=j),"flip"===C[0]&&(A.top+=h._flip(R.top,j,d(y),u/b,T[0],z[0],F)),"flip"===C[1]&&(A.left+=h._flip(R.left,l(m),l(y),f/b,T[1],z[1],l(g))),g.css(A),A.left!=W.left||A.top!=W.top},_align:function(t,o){var n,i=this,s=i.wrapper,r=e(i.options.anchor),p=t[0],c=t[1],f=o[0],u=o[1],m=a(r),w=e(i.options.appendTo),b=l(s),_=d(s)||d(s.find(".k-child-animation-container").children().first()),y=l(r),k=d(r),x=i.options.omitOriginOffsets?0:m.top,T=i.options.omitOriginOffsets?0:m.left,z=Math.round;return w[0]!=document.body&&(x-=(n=a(w)).top,T-=n.left),p===v&&(x+=k),p===h&&(x+=z(k/2)),f===v&&(x-=_),f===h&&(x-=z(_/2)),c===g&&(T+=y),c===h&&(T+=z(y/2)),u===g&&(T-=b),u===h&&(T-=z(b/2)),{top:x,left:T}}});n.plugin(F);var H=o.support.stableSort,L="kendoTabKeyTrap",M=s.extend({init:function(t,o){this.element=e(t),this.element.autoApplyNS(L)},trap:function(){this.element.on("keydown",this._keepInTrap.bind(this))},removeTrap:function(){this.element.kendoDestroy(L)},destroy:function(){this.element.kendoDestroy(L),this.element=undefined},shouldTrap:function(){return!0},_keepInTrap:function(e){if(9===e.which&&this.shouldTrap()&&!e.isDefaultPrevented()){var t=this._focusableElements(),o=this._sortFocusableElements(t),n=this._nextFocusable(e,o);n&&this._focus(n),e.preventDefault()}},_focusableElements:function(){var t=this.element.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], *[contenteditable]").filter((function(t,o){return o.tabIndex>=0&&e(o).is(":visible")&&!e(o).is("[disabled]")}));return this.element.is("[tabindex]")&&t.push(this.element[0]),t},_sortFocusableElements:function(e){var t;if(H)t=e.sort((function(e,t){return e.tabIndex-t.tabIndex}));else{var o="__k_index";e.each((function(e,t){t.setAttribute(o,e)})),t=e.sort((function(e,t){return e.tabIndex===t.tabIndex?parseInt(e.getAttribute(o),10)-parseInt(t.getAttribute(o),10):e.tabIndex-t.tabIndex})),e.removeAttr(o)}return t},_nextFocusable:function(e,t){var o=t.length,n=t.index(e.target);return t.get((n+(e.shiftKey?-1:1))%o)},_focus:function(e){"IFRAME"!=e.nodeName?(e.focus(),"INPUT"==e.nodeName&&e.setSelectionRange&&this._haveSelectionRange(e)&&e.setSelectionRange(0,e.value.length)):e.contentWindow.document.body.focus()},_haveSelectionRange:function(e){var t=e.type.toLowerCase();return"text"===t||"search"===t||"url"===t||"tel"===t||"password"===t}});n.Popup.TabKeyTrap=M}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.popup.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.base=e.kendohtml.base||{},e.kendohtml.base.js=n())}(this,(function(){return function(e,n){var t=window.kendo,o=t.Class;t.html=t.html||{};var s=o.extend({init:function(n,t){this.element=e(n),delete(t=t||{}).name,this._initOptions(t)},options:{stylingOptions:[]},_addClasses:function(){var e=this,n=e.options,o=n.stylingOptions,s=e.wrapper.data("added-classes");o=o.map((function(e){var o;return"themeColor"!==e||(o=t.cssProperties.getValidClass({widget:n.name,propName:"fillMode",value:n.fillMode}))&&0!==o.length?t.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],fill:n.fillMode}):""})),s&&e.wrapper.removeClass(s.join(" ")),e.wrapper.data("added-classes",o),e.wrapper.addClass(o.join(" "))},html:function(){return this.wrapper[0].outerHTML}});e.extend(t.html,{HTMLBase:s})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.base.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.html.base.js")):"function"==typeof define&&define.amd?define(["kendo.html.base.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.icon=e.kendohtml.icon||{},e.kendohtml.icon.js=n())}(this,(function(){return function(e,n){var s=window.kendo,i=e.extend,t=s.html.HTMLBase,o="k-i-",r="k-svg-i-",a="k-flip-",l=a+"h",c=a+"v",p={svg:function(e,n){return new m(e,n)},font:function(e,n){return new f(e,n)}},d={default:"",horizontal:l,vertical:c,both:l+" "+c},u=t.extend({init:function(e,n){t.fn.init.call(this,e,n),this._wrapper()},options:{name:"HTMLIcon",size:"none",themeColor:"none",flip:"default",iconClass:"",stylingOptions:["size","themeColor","fill"]},_wrapper:function(){this._addClasses()},_addClasses:function(){var e=this,n=e.options,i=n.stylingOptions,t=e.wrapper.data("added-classes");i=i.map((function(e){return"themeColor"===e?s.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],prefix:"k-color-"}):"fill"===e?d[n.flip]:s.cssProperties.getValidClass({widget:n.name,propName:e,value:n[e],fill:n.fillMode})})),t&&e.wrapper.removeClass(t.filter((function(n){return n!==e._className})).join(" ")),e.wrapper.data("added-classes",i.concat([e._className])),e.wrapper.addClass(i.join(" "))}}),f=u.extend({init:function(e,n){u.fn.init.call(this,e,n)},options:i({},u.fn.options,{name:"HTMLFontIcon",icon:null}),_wrapper:function(){var e=this,n=e.element[0].className.split(" ").find((function(e){return e.includes(o)})),s=e.options.icon?""+(e.options.icon.startsWith(o)?"":o)+e.options.icon:"";e._className=s,e.wrapper=e.element.addClass("k-icon k-font-icon").removeClass(n).addClass(s).addClass(e.options.iconClass||""),u.fn._wrapper.call(this)}}),m=u.extend({init:function(e,n){e.empty(),u.fn.init.call(this,e,n)},options:i({},u.fn.options,{name:"HTMLSVGIcon",icon:null}),_wrapper:function(){var n,i=this,t=i.options.icon,o=i.options.iconClass,a=i.element[0].className.split(" ").find((function(e){return e.includes(r)})),l=e("<svg></svg>");if(!t&&o){var c=o.match(/k-i-(\w+(?:-\w+)*)/);c&&(t=c[1],o=o.replace(c[0],""))}s.isString(t)&&(t=t.replace("k-i-","").replace(/-./g,(function(e){return e[1].toUpperCase()})),t=s.ui.svgIcons[t]||s.ui.svgIcons[t+"Icon"]),n=t&&t.name?""+r+t.name:"",i._className=n,i.wrapper=i.element.addClass("k-icon k-svg-icon").removeClass(a).addClass(n).addClass(o||"").attr("aria-hidden",!0),e.isPlainObject(t)&&(l.attr("viewBox",t.viewBox||"").attr({viewBox:t.viewBox||"",focusable:"false",xmlns:"http://www.w3.org/2000/svg"}).html(t.content||""),i.wrapper.append(l[0].outerHTML)),u.fn._wrapper.call(this)}});e.extend(s.html,{renderIcon:function(n,i){return(!n||e.isPlainObject(n)||s.isString(n))&&(i=n,n=e("<span></span>")),s.isString(i)&&(i={icon:i}),s.isPresent(i.type)||(i.type=s.defaults.iconType?s.defaults.iconType:"svg"),s.isFunction(i.type)?i.type(n,i):s.isFunction(p[i.type])?p[i.type](n,i).html():null},HTMLFontIcon:f,HTMLSvgIcon:m,getIconRenderer:function(e){return p[e]}}),s.cssProperties.registerPrefix("HTMLFontIcon","k-icon-"),s.cssProperties.registerValues("HTMLFontIcon",[{prop:"size",values:s.cssProperties.sizeValues.concat([["xsmall","xs"],["xlarge","xl"],["xxlarge","xxl"],["xxxlarge","xxxl"]])},{prop:"themeColor",values:["primary","secondary","tertiary","inherit","info","success","warning","error","dark","light","inverse"]}]),s.cssProperties.registerPrefix("HTMLSVGIcon","k-icon-"),s.cssProperties.registerValues("HTMLSVGIcon",[{prop:"size",values:s.cssProperties.sizeValues.concat([["xsmall","xs"],["xlarge","xl"],["xxlarge","xxl"],["xxxlarge","xxxl"]])},{prop:"themeColor",values:["primary","secondary","tertiary","inherit","info","success","warning","error","dark","light","inverse"]}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.icon.min.js.map
;!function(h,v){"object"==typeof exports&&"undefined"!=typeof module?module.exports=v(require("kendo.html.icon.js")):"function"==typeof define&&define.amd?define(["kendo.html.icon.min"],v):((h="undefined"!=typeof globalThis?globalThis:h||self).kendoicons=h.kendoicons||{},h.kendoicons.js=v())}(this,(function(){var h=Object.freeze({__proto__:null,accessibilityIcon:{name:"accessibility",content:'<path d="M208 48c0-26.5 21.5-48 48-48s48 21.5 48 48-21.5 48-48 48-48-21.5-48-48zm240 112v-32H64v32l128 16v80l-32 224h48l32-160h32l32 160h48l-32-224v-80l128-16z" />',viewBox:"0 0 512 512"},aggregateFieldsIcon:{name:"aggregate-fields",content:'<path d="M128 128c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H128V128zm-64 64c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32h256c32 0 32-32 32-32H64V192zM448 64H192c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm1 192s0 .1 0 0l-256.9.1-.1-.1V96.1l.1-.1H448v160h1z" />',viewBox:"0 0 512 512"},alignBottomIcon:{name:"align-bottom",content:'<path d="M480 352H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},alignCenterIcon:{name:"align-center",content:'<path d="M448 96H64V64h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32zm64 64H64v-32h384v32zm-64 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},alignItemsBaselineAltIcon:{name:"align-items-baseline-alt",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm-32 96H95v-64h128v64zm0-192h-64v-64h64v64z" />',viewBox:"0 0 512 512"},alignItemsBaselineIcon:{name:"align-items-baseline",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-224 96h-64v-64h64v64zm192 64h-64V256h64v128z" />',viewBox:"0 0 512 512"},alignItemsCenterAltIcon:{name:"align-items-center-alt",content:'<path d="M479 256h-64v160H287V256h-64v96H95v-96H31v-32h64v-96h128v96h64V64h128v160h64v32z" />',viewBox:"0 0 512 512"},alignItemsCenterIcon:{name:"align-items-center",content:'<path d="M415 416H255v64h-32v-64H63V288h160v-64h-96V96h96V32h32v64h96v128h-96v64h160v128z" />',viewBox:"0 0 512 512"},alignItemsEndAltIcon:{name:"align-items-end-alt",content:'<path d="M223 417H95V193h128v224zM31 449v32h448v-32H31zM415 65H287v352h128V65z" />',viewBox:"0 0 512 512"},alignItemsEndIcon:{name:"align-items-end",content:'<path d="M192 96h224v128H192V96zm256-64v448h32V32h-32zM64 416h352V288H64v128z" />',viewBox:"0 0 512 512"},alignItemsStartAltIcon:{name:"align-items-start-alt",content:'<path d="M96 96h128v224H96V96zM32 32v32h448V32H32zm256 416h128V96H288v352z" />',viewBox:"0 0 512 512"},alignItemsStartIcon:{name:"align-items-start",content:'<path d="M319 224H95V96h224v128zM31 480h32V32H31v448zm64-192v128h352V288H95z" />',viewBox:"0 0 512 512"},alignItemsStretchAltIcon:{name:"align-items-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zm0-448v32h448V32H31zm256 63v320h128V95H287z" />',viewBox:"0 0 512 512"},alignItemsStretchIcon:{name:"align-items-stretch",content:'<path d="M415 224H95V96h320v128zM31 480h32V32H31v448zM447 32v448h32V32h-32zM96 416h320V288H96v128z" />',viewBox:"0 0 512 512"},alignJustifyIcon:{name:"align-justify",content:'<path d="M448 160H64v-32h384v32zm0-96H64v32h384V64zM64 352h384v-32H64v32zm0-64h384v-32H64v32zm0-64h384v-32H64v32zm0 192h384v-32H64v32z" />',viewBox:"0 0 512 512"},alignLeftIcon:{name:"align-left",content:'<path d="M448 96H64V64h384v32zm-96 32H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32zm96 64H64v32h384v-32zm-96 64H64v32h288v-32z" />',viewBox:"0 0 512 512"},alignMiddleIcon:{name:"align-middle",content:'<path d="M480 192H32v-32h448v32zm-64 32H96v32h320v-32zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},alignRemoveIcon:{name:"align-remove",content:'<path d="m78.9 192 32 32H64v-32h14.9zM64 288h110.9l-32-32H64v32zm0 64h174.9l-32-32H64v32zm0 32v32h238.9l-32-32H64zm393.4 96 22.6-22.6-41.4-41.4h9.4v-32h-41.4l-32-32H448v-32H342.6l-32-32H448v-32H278.6l-32-32H448v-32H214.6l-32-32H448v-32H150.6l-32-32H448V64H86.6l-32-32L32 54.6" />',viewBox:"0 0 512 512"},alignRightIcon:{name:"align-right",content:'<path d="M64 192h384v32H64v-32zm384-96V64H64v32h384zm-288 64h288v-32H160v32zM64 320v32h384v-32H64zm96-32h288v-32H160v32zm0 96v32h288v-32H160z" />',viewBox:"0 0 512 512"},alignSelfCenterAltIcon:{name:"align-self-center-alt",content:'<path d="M415 224V64H287v160h-64v-96H95v96H31v32h64v96h128v-96h64v160h128V256h64v-32h-64zm-32 0v160h-64V96h64v128z" />',viewBox:"0 0 512 512"},alignSelfCenterIcon:{name:"align-self-center",content:'<path d="M255 288v-64h96V96h-96V32h-32v64h-96v128h96v64H63v128h160v64h32v-64h160V288H255zm128 96H95v-64h288v64z" />',viewBox:"0 0 512 512"},alignSelfEndAltIcon:{name:"align-self-end-alt",content:'<path d="M479 449v32H31v-32h448zM223 193H95v224h128V193zm192 224H287V65h128v352zM383 97h-64v288h64V97z" />',viewBox:"0 0 512 512"},alignSelfEndIcon:{name:"align-self-end",content:'<path d="M64 416h352V288H64v128zm32-96h288v64H96v-64zm96-224h224v128H192V96zm288-64v448h-32V32h32z" />',viewBox:"0 0 512 512"},alignSelfStartAltIcon:{name:"align-self-start-alt",content:'<path d="M95 96h128v224H95V96zm192 0h128v352H287V96zm32 320h64V128h-64v288zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},alignSelfStartIcon:{name:"align-self-start",content:'<path d="M31 32h32v448H31V32zm288 64H95v128h224V96zm128 192v128H95V288h352zm-32 32H127v64h288v-64z" />',viewBox:"0 0 512 512"},alignSelfStretchAltIcon:{name:"align-self-stretch-alt",content:'<path d="M223 96v320H95V96h128zM31 480h448v-32H31v32zM415 96v320H287V96h128zm-32 32h-64v256h64V128zM31 32v32h448V32H31z" />',viewBox:"0 0 512 512"},alignSelfStretchIcon:{name:"align-self-stretch",content:'<path d="M95 96h320v128H95V96zM31 480h32V32H31v448zm64-192h320v128H95V288zm32 96h256v-64H127v64zM447 32v448h32V32h-32z" />',viewBox:"0 0 512 512"},alignToGridIcon:{name:"align-to-grid",content:'<path d="M320 320H128V128h192v192zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},alignTopIcon:{name:"align-top",content:'<path d="M480 64H32V32h448v32zm-64 32H96v32h320V96zm64 64H32v32h448v-32z" />',viewBox:"0 0 512 512"},allIcon:{name:"all",content:'<path d="M120.1 343H52l-12 34.4c-2.9 8.5-4.4 14.8-4.4 19 0 3.3 1.3 6.2 3.8 8.8s8.1 4.2 16.5 4.9v5.9H0v-6c7.4-1.6 12.2-3.7 14.4-6.3 4.4-5.2 9.4-15.7 14.8-31.5L91.4 192H96l61.6 182.2c5 14.6 9.5 24.1 13.5 28.5 4 4.4 9.7 6.8 16.9 7.3v6h-70v-5.9c7-.4 11.7-1.9 14.2-4.3 2.5-2.5 3.7-5.5 3.7-9 0-4.7-1.7-12.2-5.2-22.3L120.1 343zm-3.5-12-30-88.5L55.8 331h60.8zm227.7 23.1 4.3 1.2-15.1 60.7H197v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H196v-6h80v6.1s-15.4 1-19.2 3.3c-3.8 2.3-6.4 5.2-7.8 8.8-1.4 3.5-2.1 3.1-2 16.5v149.6c-.1 9.1.6 15.4 2 18.8 1 2.3 2.7 4 4.8 5.1 2.2 1.1 9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.1-16.6 13.6-30.4zm163.4 0 4.3 1.2-15.1 60.7H360v-6h6.5c7.4 0 12.6-3.1 15.8-9.3 1.8-3.5 2.7-11.7 2.7-24.5V222.7c0-14-1.2-13.9-3.6-17.5-3.3-4.9-8.3-7.3-14.9-7.3H360v-6h80v6.1s-16.1 1-19.9 3.3-6.4 5.2-7.8 8.8c-1.4 3.5-2.1 3.1-2.4 16.5v149.6c.3 9.1 1 15.4 2.4 18.8 1 2.3 2.7 4 4.8 5.1s9 1.7 20.4 1.9h12.9c13.6-.2 23.1-1.5 28.6-4s10.5-7 15-13.5 9.2-16.6 13.7-30.4zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},anchorIcon:{name:"anchor",content:'<path d="m352 288 44.5 44.5c-22.3 40.7-61.7 70.7-108.5 80.3V151.4c19.1-11.1 32-31.8 32-55.4 0-35.3-28.7-64-64-64s-64 28.7-64 64c0 23.6 12.9 44.3 32 55.4v261.4c-46.8-9.5-86.2-39.6-108.5-80.3L160 288H32v128l36.9-36.9C108.9 439.9 177.8 480 256 480s147.1-40.1 187.1-100.9L480 416V288H352zM256 64c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32z" />',viewBox:"0 0 512 512"},applyFormatIcon:{name:"apply-format",content:'<path d="M380.984 313.69c12.445 12.445 12.445 32.81 0 45.255L266.529 470.658c-12.445 12.445-32.787 12.467-45.255 0L0 248.898c18.584 18.584 40.255-4.835 40.255-4.835L154.71 132.671c12.445-12.445 32.81-12.445 45.255 0L380.984 313.69zm89.682-227.101-45.255-45.255c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 181.019 181.019 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.445-12.446 12.445-32.81 0-45.255z" />',viewBox:"0 0 512 512"},arrowDownIcon:{name:"arrow-down",content:'<path d="M128 224h96V96h64l.001 128H384L256.001 416 128 224z" />',viewBox:"0 0 512 512"},arrowLeftIcon:{name:"arrow-left",content:'<path d="M288 128v96h128v64l-128 .001V384L96 256.001 288 128z" />',viewBox:"0 0 512 512"},arrowOverflowDownIcon:{name:"arrow-overflow-down",content:'<path d="M384 160 256 352 128 160h256zM128 96v32h256V96H128z" />',viewBox:"0 0 512 512"},arrowRightIcon:{name:"arrow-right",content:'<path d="M224 384v-96H96v-64h128v-96l192 128-192 128z" />',viewBox:"0 0 512 512"},arrowRotateCcwIcon:{name:"arrow-rotate-ccw",content:'<path d="m62 176 55.5 32C103.8 231.6 96 258.9 96 288c0 88.2 71.8 160 160 160s160-71.8 160-160-71.8-160-160-160v64L96 96 256 0v64c123.7 0 224 100.3 224 224S379.7 512 256 512 32 411.7 32 288c0-40.8 10.9-79.1 30-112z" />',viewBox:"0 0 512 512"},arrowRotateCcwSmallIcon:{name:"arrow-rotate-ccw-small",content:'<path d="m101.4 238.6 46.4 12.4c-2.5 9.3-3.8 19-3.8 29 0 61.8 50.2 112 112 112s112-50.2 112-112-50.2-112-112-112v56l-128-80 128-80v56c88.4 0 160 71.6 160 160s-71.6 160-160 160S96 368.4 96 280c0-14.3 1.9-28.2 5.4-41.4z" />',viewBox:"0 0 512 512"},arrowRotateCwIcon:{name:"arrow-rotate-cw",content:'<path d="M480 288c0 123.7-100.3 224-224 224S32 411.7 32 288 132.3 64 256 64V0l160 96-160 96v-64c-88.2 0-160 71.8-160 160s71.8 160 160 160 160-71.8 160-160c0-29.1-7.8-56.4-21.5-80l55.5-32c19.1 32.9 30 71.2 30 112z" />',viewBox:"0 0 512 512"},arrowRotateCwSmallIcon:{name:"arrow-rotate-cw-small",content:'<path d="M416 280c0 88.4-71.6 160-160 160S96 368.4 96 280s71.6-160 160-160V64l128 80-128 80v-56c-61.8 0-112 50.2-112 112s50.2 112 112 112 112-50.2 112-112c0-10-1.3-19.7-3.8-29l46.4-12.4c3.5 13.2 5.4 27.1 5.4 41.4z" />',viewBox:"0 0 512 512"},arrowUpIcon:{name:"arrow-up",content:'<path d="M384 288h-96v128h-64l-.001-128H128L255.999 96 384 288z" />',viewBox:"0 0 512 512"},arrowsAxesIcon:{name:"arrows-axes",content:'<path d="M352 480v-64H128v64H96v-64H32v-32h64V160H32l80-128 80 128h-64v224h224v-64l128 80-128 80z" />',viewBox:"0 0 512 512"},arrowsLeftRightIcon:{name:"arrows-left-right",content:'<path d="m512 240-128-80v64H128v-64L0 240l128 80v-64h256v64z" />',viewBox:"0 0 512 512"},arrowsMoveIcon:{name:"arrows-move",content:'<path d="M384 320v-32h-96v96h32l-64 96-64-96h32v-96h-96v32l-96-64 96-64v32h96v-96h-32l64-96 64 96h-32v96h96v-32l96 64-96 64z" />',viewBox:"0 0 512 512"},arrowsNoChangeIcon:{name:"arrows-no-change",content:'<path d="M256 160 128 352 0 160h256zm96 0L224 352h256.001L352 160z" />',viewBox:"0 0 512 512"},arrowsNoRepeatIcon:{name:"arrows-no-repeat",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7z" />',viewBox:"0 0 512 512"},arrowsSwapIcon:{name:"arrows-swap",content:'<path d="M256 160h-64v224h-32V160H96l80-128 80 128zm96 192V128h-32v224h-64l80 128 80-128h-64z" />',viewBox:"0 0 512 512"},arrowsTopBottomIcon:{name:"arrows-top-bottom",content:'<path d="m240 512 80-128h-64V128h64L240 0l-80 128h64v256h-64z" />',viewBox:"0 0 512 512"},barcodeIcon:{name:"barcode",content:'<path d="M480 64H32C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h448c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zM96 384H64V128h32v256zm96-32h-64V128h64v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 0h-32V128h32v224zm64 32h-32V128h32v256z" />',viewBox:"0 0 512 512"},barcodeOutlineIcon:{name:"barcode-outline",content:'<path d="M96 384H64V128h32v256zm96-256h-64v224h64V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v224h32V128zm64 0h-32v256h32V128zm64-32v320c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32zm-32 0H32v320h448V96z" />',viewBox:"0 0 512 512"},barcodeQrCodeScannerIcon:{name:"barcode-qr-code-scanner",content:'<path d="M256 288h32v128h-32V288zm64 128h64V288h-64v128zm128 0V288h-32v128h32zM32 32h64V0H0v96h32V32zm0 352H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm0-224H32v32h448v-32zM288 64h-32v128h32V64zm96 0h-64v128h64V64zm64 0h-32v128h32V64zM64 64h96v96H64V64zm32 64h32V96H96v32zm128 32h-32v32h32v-32zm0-96h-32v64h32V64zM64 320h96v96H64v-96zm32 64h32v-32H96v32zm96 0v32h32v-64h-32v32zm0-64h32v-32h-32v32z" />',viewBox:"0 0 512 512"},barcodeScannerIcon:{name:"barcode-scanner",content:'<path d="M32 96H0V0h96v32H32v64zm0 288H0v96h96v-32H32v-64zM416 0v32h64v64h32V0h-96zm64 448h-64v32h96v-96h-32v64zm-192-32h32V288h-32v128zm32-352h-32v128h32V64zm-64 0h-32v128h32V64zM128 416h64V288h-64v128zm-64 0h32V288H64v128zM192 64h-64v128h64V64zm32 352h32V288h-32v128zM64 64v128h32V64H64zm384 0h-32v128h32V64zm0 352V288h-32v128h32zm-96 0h32V288h-32v128zm32-352h-32v128h32V64zm96 160H32v32h448v-32z" />',viewBox:"0 0 512 512"},behanceBoxIcon:{name:"behance-box",content:'<path d="M167.543 228.938h-56.884v-56.479h50.939c11.202 0 20.423 1.329 27.663 3.988 8.376 3.844 12.576 11.718 12.576 23.652 0 10.735-3.197 18.249-9.511 22.482-6.368 4.219-14.612 6.357-24.783 6.357zm220.527 11.836c-7.313-6.494-16.367-9.727-27.217-9.727-11.76 0-20.895 3.427-27.378 10.335-6.483 6.881-10.555 16.249-12.242 28.021h79.079c-.83-12.573-4.902-22.079-12.242-28.629zm-196.379 34.862c-5.575-2.774-13.369-4.219-23.409-4.335h-57.624v68.255h56.831c10.146 0 18.072-1.503 23.726-4.508 10.251-5.577 15.377-16.211 15.377-31.931 0-13.35-4.967-22.482-14.901-27.481zM480 64v384c0 17.664-14.336 32-32 32H64c-17.664 0-32-14.336-32-32V64c0-17.664 14.336-32 32-32h384c17.664 0 32 14.336 32 32zm-176 96h112v-32H304v32zm-48 146.729c0-14.709-3.065-27.221-9.142-37.509-6.078-10.316-15.087-17.829-27.056-22.597 7.873-4.392 13.845-9.247 17.887-14.564 7.213-9.507 10.806-22.077 10.806-37.711 0-15.171-3.593-28.175-10.727-39.055-11.916-17.743-32.128-26.846-60.689-27.293H64v256h105.445c11.889 0 22.907-1.127 33.079-3.439 10.172-2.341 18.97-6.618 26.447-12.859 6.632-5.433 12.154-12.166 16.592-20.17C252.512 335.51 256 321.899 256 306.729zm190.442-42.024c-2.117-14.204-6.804-26.667-14.01-37.444-7.956-12.187-18.082-21.126-30.324-26.777-12.242-5.665-25.985-8.484-41.254-8.484-25.744 0-46.638 8.387-62.765 25.091-16.127 16.746-24.163 40.788-24.163 72.18 0 33.437 8.894 57.644 26.762 72.456C318.555 376.594 339.155 384 362.514 384c28.288 0 50.308-8.788 66.033-26.391 10.072-11.081 15.778-26.86 17.011-37.609h-46.879c-1.178 6-2.512 10.667-9.429 17.327-6.536 5.555-15.028 8.318-25.476 8.318-9.858 0-18.297-2.266-25.288-6.798-11.546-7.323-17.654-18.977-18.35-37.133h127.807c.24-15.641-.269-28.691-1.501-37.009z" />',viewBox:"0 0 512 512"},behanceIcon:{name:"behance",content:'<path d="M448 128H304V96h144v32zM245.335 254.873c7.09 11.573 10.665 25.65 10.665 42.197 0 17.067-4.069 32.379-12.176 45.903-5.178 9.005-11.62 16.58-19.358 22.691-8.723 7.022-18.988 11.833-30.855 14.467C181.744 382.732 168.89 384 155.02 384H32V96h131.927c33.321.504 56.901 10.744 70.803 30.705 8.323 12.24 12.515 26.869 12.515 43.936 0 17.588-4.192 31.729-12.607 42.425-4.716 5.982-11.683 11.443-20.868 16.385 13.963 5.364 24.474 13.817 31.565 25.422zm-158.9-45.318H152.8c11.867 0 21.484-2.406 28.913-7.152 7.367-4.763 11.097-13.215 11.097-25.292 0-13.426-4.901-22.285-14.672-26.609-8.446-2.991-19.204-4.486-32.273-4.486h-59.43v63.539zm111.923 83.452c0-15.019-5.795-25.292-17.385-30.917-6.504-3.121-15.597-4.746-27.31-4.876H86.435v76.787h66.303c11.836 0 21.084-1.69 27.68-5.071 11.96-6.275 17.94-18.238 17.94-35.923zM479.932 288H330.824c.813 21.182 7.938 34.778 21.409 43.322 8.157 5.287 18.002 7.931 29.503 7.931 12.189 0 22.096-3.224 29.722-9.704 4.157-3.482 7.813-8.318 11.001-14.541h54.693c-1.438 12.541-8.095 25.276-19.846 38.204C438.959 373.748 413.269 384 380.266 384c-27.253 0-51.286-8.64-72.132-25.985-20.846-17.28-31.222-45.522-31.222-84.532 0-36.624 9.376-64.672 28.19-84.21C323.917 169.785 348.294 160 378.328 160c17.814 0 33.847 3.288 48.129 9.898 14.282 6.593 26.096 17.023 35.378 31.24 8.407 12.573 13.876 27.114 16.346 43.685 1.438 9.704 2.033 24.929 1.751 43.177zm-55.567-37.696c-.969-14.669-5.72-25.759-14.283-33.4-8.532-7.576-19.095-11.348-31.753-11.348-13.72 0-24.377 3.998-31.94 12.058-7.563 8.028-12.314 18.957-14.282 32.691h92.258z" />',viewBox:"0 0 512 512"},bellIcon:{name:"bell",content:'<path d="M192 416h128c0 35.3-28.7 64-64 64s-64-28.7-64-64zm160-256c0-42-26.9-77.6-64.4-90.7.3-1.7.4-3.5.4-5.3 0-17.7-14.3-32-32-32s-32 14.3-32 32c0 1.8.2 3.6.4 5.3C186.9 82.4 160 118 160 160c0 88.4-43 160-96 160v64h384v-64c-53 0-96-71.6-96-160z" />',viewBox:"0 0 512 512"},binocularsIcon:{name:"binoculars",content:'<path d="M480 288v96c0 17.7-14.3 32-32 32h-96c-17.7 0-32-14.3-32-32v-64H192v64c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32v-96c0-17.7 14.3-32 32-32v-64c0-17.7 14.3-32 32-32v-32c0-17.7 14.3-32 32-32h64s32 0 32 32v128h64V128c0-32 32-32 32-32h64c17.7 0 32 14.3 32 32v32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32zM208 64h16V32h-96v32h80zm160 0h16V32h-96v32h80zM48 448H32v32h160v-32H48zm272 32h160v-32H320v32z" />',viewBox:"0 0 512 512"},bloggerBoxIcon:{name:"blogger-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-31 280.7c0 57.1-46.6 103.3-104.2 103.3H200.4C142.7 416 96 369.8 96 312.7V199.3C96 142.2 142.7 96 200.4 96h52.1C310 96 356 138.9 356 196c.7 10.7 10.4 20 21.4 20h18c11.5 0 20.7 12.1 20.6 23.5l1 73.2zM196 216h60c11 0 20-9 20-20s-9-20-20-20h-60c-11 0-20 9-20 20s9 20 20 20zm120 80H196c-11 0-20 9-20 20s9 20 20 20h120c11 0 20-9 20-20s-9-20-20-20z" />',viewBox:"0 0 512 512"},bloggerIcon:{name:"blogger",content:'<path d="M188.9 64C119.9 64 64 119.5 64 188v136.1C64 392.5 119.9 448 188.9 448h134.4c69 0 124.7-55.5 124.7-123.9v-87.9c0-13.7-11-28.2-24.8-28.2h-21.5c-13.2 0-24.7-11.2-25.6-24 0-68.5-55.2-120-124.2-120h-63zm-4.9 96h72c13.2 0 24 10.8 24 24s-10.8 24-24 24h-72c-13.2 0-24-10.8-24-24s10.8-24 24-24zm0 144h144c13.2 0 24 10.8 24 24s-10.8 24-24 24H184c-13.2 0-24-10.8-24-24s10.8-24 24-24z" />',viewBox:"0 0 512 512"},blurIcon:{name:"blur",content:'<path d="M384 320c0 64-32 128-128 128-64 0-128-48-128-128 0-96 128-128 128-256 0 0 128 129.1 128 256z" />',viewBox:"0 0 512 512"},boldIcon:{name:"bold",content:'<path d="M128 96h115.8c25.3 0 44.2 1.1 56.6 3.2 12.4 2.1 23.6 6.5 33.4 13.2 9.8 6.7 18 15.6 24.6 26.7 6.6 11.1 9.8 23.6 9.8 37.4 0 15-4.1 28.7-12.1 41.2-8.1 12.5-19.1 21.9-32.9 28.2 19.5 5.7 34.5 15.4 45 29s15.7 29.8 15.7 48.2c0 14.6-3.4 28.7-10.2 42.4-6.7 13.8-16 24.8-27.7 33s-26.1 13.3-43.3 15.2c-10.8 1.2-36.7 1.9-78 2.2H128V96zm64 53v74h30.9c25.2 0 40.8-.4 46.9-1.1 11.1-1.3 19.7-5.2 26.1-11.5 6.3-6.3 9.5-14.7 9.5-25 0-9.9-2.7-18-8.2-24.1-5.5-6.2-13.6-10-24.4-11.2-6.4-.7-24.8-1.1-55.2-1.1H192zm0 127.1V362h48.6c23.4 0 38.1-.7 44.5-2 9.6-1.8 17.5-6 23.6-12.8 6.1-6.8 9-15.9 9-27.3 0-9.6-2.3-17.9-7-24.6-4.7-6.7-11.4-11.6-20.3-14.7-8.8-3.1-28-4.6-57.5-4.6l-40.9.1z" />',viewBox:"0 0 512 512"},bookIcon:{name:"book",content:'<path d="M448 480V96h-32v352H128c-17.6 0-32-14.4-32-32s14.4-32 32-32h256V32H128c-35.2 0-64 28.8-64 64v320c0 23.6 12.9 44.2 32 55.3 9.4 5.5 20.4 8.7 32 8.7h320zM128 64h224v288H128V64zm192 64H160V96h160v32zm0 128H160v-32h160v32zm-32-64H160v-32h128v32z" />',viewBox:"0 0 512 512"},borderBottomIcon:{name:"border-bottom",content:'<path d="M32 448v-32h416v32H32zm32-96H32v32h32v-32zm0-32H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32v-32h32v32zm0-64H32V96h32v32zm384 192h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64 128h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32V96h32v32zm0-64h-32V32h32v32zM64 32H32v32h32V32zm64 32H96V32h32v32zm64 0h-32V32h32v32zm128-32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64 128h-32v-32h32v32z" />',viewBox:"0 0 512 512"},borderColorIcon:{name:"border-color",content:'<path d="M480 384v96H168l95.9-96H480Zm-80-182.14L121.86 480H32v-89.86L310.14 112 400 201.86Zm-65.28-24.89-22.4-22.4L82.56 384.01l-5.44 5.44 22.72 22.72L128 384.01l206.72-207.04Zm136.02-45.98L426.03 176 336 86.29l45.01-45.02c12.36-12.36 32.33-12.36 45.01 0l44.71 45.02c12.36 12.04 12.36 32.33 0 44.69l.01.01Z" />',viewBox:"0 0 512 512"},borderLeftIcon:{name:"border-left",content:'<path d="M32 32h32v416H32V32zm96 32V32H96v32h32zm32 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zm64 0V32h32v32h-32zM160 448v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zM224 128V96h32v32h-32zm0 64v-32h32v32h-32zM96 256v-32h32v32H96zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm64 0v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zM96 448v-32h32v32H96z" />',viewBox:"0 0 512 512"},borderRadiusBottomLeftIcon:{name:"border-radius-bottom-left",content:'<path d="M384 368c0 8.8-7.2 16-16 16h-64c-97 0-176-79-176-176v-64c0-8.8 7.2-16 16-16s16 7.2 16 16v64c0 79.4 64.6 144 144 144h64c8.8 0 16 7.2 16 16z" />',viewBox:"0 0 512 512"},borderRadiusBottomRightIcon:{name:"border-radius-bottom-right",content:'<path d="M368 128c8.8 0 16 7.2 16 16v64c0 97-79 176-176 176h-64c-8.8 0-16-7.2-16-16s7.2-16 16-16h64c79.4 0 144-64.6 144-144v-64c0-8.8 7.2-16 16-16z" />',viewBox:"0 0 512 512"},borderRadiusIcon:{name:"border-radius",content:'<path d="M64 32h96v32H64v96H32V32h32zm384 416h-96v32h128V352h-32v96zM352 32v32h96v96h32V32H352zM64 352H32v128h128v-32H64v-96z" />',viewBox:"0 0 512 512"},borderRadiusTopLeftIcon:{name:"border-radius-top-left",content:'<path d="M144 384c-8.8 0-16-7.2-16-16v-64c0-97 79-176 176-176h64c8.8 0 16 7.2 16 16s-7.2 16-16 16h-64c-79.4 0-144 64.6-144 144v64c0 8.8-7.2 16-16 16z" />',viewBox:"0 0 512 512"},borderRadiusTopRightIcon:{name:"border-radius-top-right",content:'<path d="M128 144c0-8.8 7.2-16 16-16h64c97 0 176 79 176 176v64c0 8.8-7.2 16-16 16s-16-7.2-16-16v-64c0-79.4-64.6-144-144-144h-64c-8.8 0-16-7.2-16-16z" />',viewBox:"0 0 512 512"},borderRightIcon:{name:"border-right",content:'<path d="M448 448h-32V32h32v416zM384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm224-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},borderStyleBottomIcon:{name:"border-style-bottom",content:'<path d="M96 480v-64h320v64H96zm1-416h320V32H97v32zM64 416V96H32v320h32zm416 0V96h-32v320h32z" />',viewBox:"0 0 512 512"},borderStyleIcon:{name:"border-style",content:'<path d="M32 96h32v320H32zm416 1h32v320h-32zM96 32h320v32H96zm0 416h320v32H96z" />',viewBox:"0 0 512 512"},borderStyleLeftIcon:{name:"border-style-left",content:'<path d="M32 96h64v320H32V96zm416 1v320h32V97h-32zM96 64h320V32H96v32zm0 416h320v-32H96v32z" />',viewBox:"0 0 512 512"},borderStyleRightIcon:{name:"border-style-right",content:'<path d="M480 416h-64V96h64v320zm-416-1V95H32v320h32zm352 33H96v32h320v-32zm0-416H96v32h320V32z" />',viewBox:"0 0 512 512"},borderStyleTopIcon:{name:"border-style-top",content:'<path d="M416 32v64H96V32h320zm-1 416H95v32h320v-32zm33-352v320h32V96h-32zM32 96v320h32V96H32z" />',viewBox:"0 0 512 512"},borderTopIcon:{name:"border-top",content:'<path d="M448 32v32H32V32h416zM64 96H32v32h32V96zm0 96H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm0 64H32v-32h32v32zm384-192h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM128 256H96v-32h32v32zm64 0h-32v-32h32v32zm64-128h-32V96h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 224h-32v32h32v-32zm64 32h-32v-32h32v32zm64-128h-32V96h32v32z" />',viewBox:"0 0 512 512"},borderTypeIcon:{name:"border-type",content:'<path d="M479 96H33v64h446V96ZM96 384c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32Zm128 0c0-17.67-14.33-32-32-32s-32 14.33-32 32 14.33 32 32 32 32-14.33 32-32ZM224 224H32v64h192v-64Zm256 0H288v64h192v-64Z" />',viewBox:"0 0 512 512"},bordersAllIcon:{name:"borders-all",content:'<path d="M32 32v416h416V32H32zm32 32h160v160H64V64zm0 352V256h160v160H64zm352 0H256V256h160v160zm0-192H256V64h160v160z" />',viewBox:"0 0 512 512"},bordersInsideHorizontalIcon:{name:"borders-inside-horizontal",content:'<path d="M448 224v32H32v-32h416zM64 32H32v32h32V32zm0 96H32V96h32v32zm0 64H32v-32h32v32zm0 128H32v-32h32v32zm0 64H32v-32h32v32zm384-256h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zM128 64H96V32h32v32zm64 0h-32V32h32v32zm64 0h-32V32h32v32zm0 64h-32V96h32v32zm0 64h-32v-32h32v32zm0 128h-32v-32h32v32zm0 64h-32v-32h32v32zm0 64h-32v-32h32v32zM64 416H32v32h32v-32zm64 32H96v-32h32v32zm64 0h-32v-32h32v32zm128-32h-32v32h32v-32zm64 32h-32v-32h32v32zm64 0h-32v-32h32v32zM320 32h-32v32h32V32zm64 32h-32V32h32v32zm64 0h-32V32h32v32z" />',viewBox:"0 0 512 512"},bordersInsideIcon:{name:"borders-inside",content:'<path d="M64 64H32V32h32v32zm0 32H32v32h32V96zm0 64H32v32h32v-32zm0 128H32v32h32v-32zm0 64H32v32h32v-32zM448 96h-32v32h32V96zm0 64h-32v32h32v-32zm0 128h-32v32h32v-32zm0 64h-32v32h32v-32zM128 32H96v32h32V32zm64 0h-32v32h32V32zM64 416H32v32h32v-32zm64 0H96v32h32v-32zm64 0h-32v32h32v-32zm128 0h-32v32h32v-32zm64 0h-32v32h32v-32zm64 0h-32v32h32v-32zM320 32h-32v32h32V32zm64 0h-32v32h32V32zm64 0h-32v32h32V32zm0 192H256V32h-32v192H32v32h192v192h32V256h192v-32z" />',viewBox:"0 0 512 512"},bordersInsideVerticalIcon:{name:"borders-inside-vertical",content:'<path d="M256 448h-32V32h32v416zM448 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-128 0V32h32v32h-32zm-64 0V32h32v32H96zm256 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm320-320V96h32v32h-32zm0 64v-32h32v32h-32zm0 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-128 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm416-128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},bordersNoneIcon:{name:"borders-none",content:'<path d="M384 64V32h-32v32h32zm-96 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32h-32zm-64 0V32h32v32H96zm192 384v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm128-320V96h32v32h-32zm0 64v-32h32v32h-32zm128 64v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32h-32zm-64 0v-32h32v32H96zm-64 0v-32h32v32H32zM64 64V32H32v32h32zm-32 64V96h32v32H32zm0 64v-32h32v32H32zm32 128v-32H32v32h32zm-32 64v-32h32v32H32zm0 64v-32h32v32H32zm384-192v-32h32v32h-32zm32-192V32h-32v32h32zm-32 64V96h32v32h-32zm0 64v-32h32v32h-32zm32 128v-32h-32v32h32zm-32 64v-32h32v32h-32zm0 64v-32h32v32h-32zM256 320v-32h-32v32h32zm-32 64v-32h32v32h-32zm128 64v-32h32v32h-32z" />',viewBox:"0 0 512 512"},bordersOutsideIcon:{name:"borders-outside",content:'<path d="M128 256H96v-32h32v32zm64-32h-32v32h32v-32zm64 0h-32v32h32v-32zm0-64h-32v32h32v-32zm0-64h-32v32h32V96zm0 256h-32v32h32v-32zm0-64h-32v32h32v-32zm64-64h-32v32h32v-32zm64 0h-32v32h32v-32zm64-192v416H32V32h416zm-32 32H64v352h352V64z" />',viewBox:"0 0 512 512"},bordersShowHideIcon:{name:"borders-show-hide",content:'<path d="M64 448h128v32H32V32h448v128h-32V64H64v384zm384 0h-64v32h96v-96h-32v64zM160 288v-64H96v64h64zm64 0h64v-64h-64v64zm160-32v-32h-32v32h32zM288 96h-64v64h64V96zm0 384L160 352l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},boxSizingIcon:{name:"box-sizing",content:'<path d="M32 0H0v480h480V0H32zm416 448H32V32h416v416zm-96-320h-32V96h32v32zM96 192H64v-32h32v32zm0-64H64V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zm64 0h-32V96h32v32zM96 256H64v-32h32v32zm320-128h-32V96h32v32zm0 128h-32v-32h32v32zm0-64h-32v-32h32v32zM96 384H64v-32h32v32zm256 0h-32v-32h32v32zm-192 0h-32v-32h32v32zm64 0h-32v-32h32v32zm64 0h-32v-32h32v32zm128 0h-32v-32h32v32zM96 320H64v-32h32v32zm320 0h-32v-32h32v32z" />',viewBox:"0 0 512 512"},brightnessContrastIcon:{name:"brightness-contrast",content:'<path d="M165.5 346.5c12.4 12.5 12.4 32.9 0 45.3l-22.6 22.6c-12.5 12.4-32.8 12.4-45.3 0-12.4-12.5-12.4-32.9 0-45.3l22.6-22.6c12.5-12.4 32.9-12.4 45.3 0zM256 128c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v32c0 17.6 14.4 32 32 32zm135.8 37.5 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6c-12.4 12.4-12.4 32.8 0 45.3 12.5 12.4 32.8 12.4 45.3 0zm-271.6 0c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6zM128 256c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32zm263.8 90.5c-12.4-12.4-32.8-12.4-45.3 0-12.4 12.5-12.4 32.8 0 45.3l22.6 22.6c12.4 12.4 32.8 12.4 45.3 0 12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6zM448 224h-32c-17.6 0-32 14.4-32 32s14.4 32 32 32h32c17.6 0 32-14.4 32-32s-14.4-32-32-32zm-96 32c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-32 0c0-35.3-28.7-64-64-64v128c35.3 0 64-28.7 64-64zm-64 128c-17.6 0-32 14.4-32 32v32c0 17.6 14.4 32 32 32s32-14.4 32-32v-32c0-17.6-14.4-32-32-32z" />',viewBox:"0 0 512 512"},bringBackwardIcon:{name:"bring-backward",content:'<path d="M192 192v256h256V192H192zm224 224H224V224h192v192zM320 64H64v256h96V160h160V64z" />',viewBox:"0 0 512 512"},bringForwardIcon:{name:"bring-forward",content:'<path d="M448 192v256H192V320H64V64h256v128h128zm-32 32h-96v96h-96v96h192V224z" />',viewBox:"0 0 512 512"},bringToBackIcon:{name:"bring-to-back",content:'<path d="M128 192h64V64H64v128h64zM96 96h64v64H96V96zm192 192h96V128H224v96h-96v160h160v-96zm128 32h-96v128h128V320h-32zm0 96h-64v-64h64v64z" />',viewBox:"0 0 512 512"},bringToFrontIcon:{name:"bring-to-front",content:'<path d="M96 128V96h96V64H64v128h32v-64zm224 256h64V128H128v256h192zm96-64v96h-96v32h128V320h-32z" />',viewBox:"0 0 512 512"},brushIcon:{name:"brush",content:'<path d="M32 480s46.4-5.6 96-16c22.3-4.7 46.9-14 70.7-37.7 56.9-56.9.2-112.9.2-112.9s-56.7-56.9-113.3-.2c-23.4 23.4-20.1 57.1-19.7 89.8.8 59.7-33.9 77-33.9 77zM470.7 64 448 41.3c-12.4-12.4-32.8-12.4-45.3 0L204.3 239.8c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l.8.8.8.8c2.1 2.1 5.6 5.9 9.7 11.1 5.4 6.8 11.8 16.2 17.6 27.6l23.5-23.5 174.9-174.9c12.5-12.3 12.5-32.7.1-45.1zM448 86.6 277.4 257.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L425.4 64h.1L448 86.6z" />',viewBox:"0 0 512 512"},buildingBlocksIcon:{name:"building-blocks",content:'<path d="M127.9 289V128H160V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h64V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h32v160l-256.1 1zM96 320v-48c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v48H0v128h224V320H96zm384 0v-48c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H288v128h224V320h-32z" />',viewBox:"0 0 512 512"},buttonIcon:{name:"button",content:'<path d="m130.1 130.1 36.1 93.9H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v128c0 17.6-14.4 32-32 32h-73.8l-244.1-93.9zM480 299 185.8 185.8 299 480l22.6-113.1L434.7 480l45.3-45.3-113.1-113.1L480 299z" />',viewBox:"0 0 512 512"},calculatorIcon:{name:"calculator",content:'<path d="M64 64v384h384V64H64zm96 352H96v-64h64v64zm0-96H96v-64h64v64zm96 96h-64v-64h64v64zm0-96h-64v-64h64v64zm160 96h-96V256h96v160zm0-224H96V96h320v96z" />',viewBox:"0 0 512 512"},calendarDateIcon:{name:"calendar-date",content:'<path d="M448 32h-64V0h-64v32H192V0h-64v32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 416-383.9.1-.1-.1V192h384v256zm0-288H64V64.1l.1-.1H128v32h64V64h128v32h64V64h63.9l.1.1V160zM192 270.6S171.9 288 142 288v-32c29.9 0 58-32 58-32h24v192h-32V270.6zM384 416H256v-14.2c0-9.7 1.6-18.4 4.8-26 3.3-7.7 7.3-14.6 12.2-20.7 4.8-6.1 10.2-11.5 15.9-16.2 5.7-4.7 11.3-8.9 16.4-12.7 5.5-3.9 10.3-7.7 14.4-11.3 4.2-3.6 7.6-7.2 10.4-10.7 2.8-3.5 4.9-7.1 6.3-10.8 1.4-3.6 2.1-7.5 2.1-11.7 0-8.1-2.3-14.1-6.8-18.4-4.5-4.1-11.5-6.2-20.7-6.2-16 0-31.5 6.4-46.1 19.4v-37.1c16.5-10.6 35-16.1 55.5-16.1 9.6 0 18.2 1.3 25.7 3.8 7.6 2.5 14.1 6.1 19.3 10.7s9.3 10.3 12.1 17c2.7 6.6 4.1 14.1 4.1 22.3 0 8.7-1.4 16.6-4 23.3-2.7 6.8-6.3 12.9-10.6 18.5-4.5 5.6-9.5 10.6-15.3 15.2-5.8 4.6-11.8 9.1-18 13.4-4.2 3-8.3 5.9-12.2 8.9-3.9 2.9-7.4 5.8-10.4 8.7-3 2.9-5.3 5.7-7.1 8.4-1.9 2.7-2.7 7.8-2.7 10.3H384V416z" />',viewBox:"0 0 512 512"},calendarIcon:{name:"calendar",content:'<path d="M416 416H288V288h128v128zm64-352v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h64V0h64v32h128V0h64v32h64c17.6 0 32 14.4 32 32zm-32 128H64v255.9l.1.1 383.9-.1V192zm0-127.9c-.1-.1-.1-.1 0 0l-64-.1v32h-64V64H192v32h-64V64H64.1l-.1.1V160h384V64.1z" />',viewBox:"0 0 512 512"},cameraIcon:{name:"camera",content:'<path d="M448 128h-64l-64-64H192l-64 64H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V160c0-17.6-14.4-32-32-32zM256 416c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112zm64-112c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},cancelCircleIcon:{name:"cancel-circle",content:'<path d="m169.4 214.6 128 128c-12.5 6-26.6 9.4-41.4 9.4-52.9 0-96-43.1-96-96 0-14.8 3.4-28.8 9.4-41.4zM256 160c-14.8 0-28.8 3.4-41.4 9.4l128 128c6-12.5 9.4-26.6 9.4-41.4 0-52.9-43.1-96-96-96zm224 96c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-64 0c0-88.2-71.8-160-160-160-32.6 0-62.9 9.8-88.2 26.6-17.9 11.9-33.4 27.3-45.3 45.3C105.8 193.1 96 223.4 96 256c0 88.2 71.8 160 160 160 32.6 0 62.9-9.8 88.2-26.6 17.9-11.9 33.4-27.3 45.3-45.3 16.7-25.2 26.5-55.5 26.5-88.1z" />',viewBox:"0 0 512 512"},cancelIcon:{name:"cancel",content:'<path d="M256 32c-50.3 0-96.8 16.6-134.1 44.6-17.2 12.8-32.4 28.1-45.3 45.3C48.6 159.2 32 205.7 32 256c0 123.7 100.3 224 224 224 50.3 0 96.8-16.6 134.1-44.6 17.2-12.8 32.4-28.1 45.3-45.3 28-37.4 44.6-83.8 44.6-134.1 0-123.7-100.3-224-224-224zm0 384c-88.2 0-160-71.8-160-160 0-32.6 9.8-62.9 26.6-88.2l221.6 221.6C318.9 406.2 288.6 416 256 416zm133.4-71.8L167.8 122.6C193.1 105.8 223.4 96 256 96c88.2 0 160 71.8 160 160 0 32.6-9.8 62.9-26.6 88.2z" />',viewBox:"0 0 512 512"},cancelOutlineIcon:{name:"cancel-outline",content:'<path d="M256 32c-56.1 0-107.4 20.6-146.7 54.7-8.1 7-15.6 14.6-22.6 22.6C52.6 148.6 32 199.9 32 256c0 123.7 100.3 224 224 224 56.1 0 107.4-20.6 146.7-54.7 8.1-7 15.6-14.6 22.6-22.6C459.4 363.4 480 312.1 480 256c0-123.7-100.3-224-224-224zm0 416c-106 0-192-86-192-192 0-47.2 17.1-90.5 45.4-124L380 402.6c-33.5 28.3-76.8 45.4-124 45.4zm146.6-68L132 109.4C165.5 81.1 208.8 64 256 64c106 0 192 86 192 192 0 47.2-17.1 90.5-45.4 124z" />',viewBox:"0 0 512 512"},caretAltDownIcon:{name:"caret-alt-down",content:'<path d="M256 352 128 160h256L256 352z" />',viewBox:"0 0 512 512"},caretAltExpandIcon:{name:"caret-alt-expand",content:'<path d="M128 288h256L256 480 128 288zM256 32 128 224h256.001L256 32z" />',viewBox:"0 0 512 512"},caretAltLeftIcon:{name:"caret-alt-left",content:'<path d="m160 256 192-128v256L160 256z" />',viewBox:"0 0 512 512"},caretAltRightIcon:{name:"caret-alt-right",content:'<path d="M352 256 160 384V128l192 128z" />',viewBox:"0 0 512 512"},caretAltToBottomIcon:{name:"caret-alt-to-bottom",content:'<path d="M384 128 256 320 128 128h256zM128 352h256v-32H128v32z" />',viewBox:"0 0 512 512"},caretAltToLeftIcon:{name:"caret-alt-to-left",content:'<path d="M352 384 160 256l192-128v256zM128 128v256h32V128h-32z" />',viewBox:"0 0 512 512"},caretAltToRightIcon:{name:"caret-alt-to-right",content:'<path d="m128 128 192 128-192 128V128zm224 256V128h-32v256h32z" />',viewBox:"0 0 512 512"},caretAltToTopIcon:{name:"caret-alt-to-top",content:'<path d="m128 352 128-192 128 192H128zm256-224H128v32h256v-32z" />',viewBox:"0 0 512 512"},caretAltUpIcon:{name:"caret-alt-up",content:'<path d="m256 160 128 192H128l128-192z" />',viewBox:"0 0 512 512"},caretBlIcon:{name:"caret-bl",content:'<path d="M160 352V160l192 192H160z" />',viewBox:"0 0 512 512"},caretBrIcon:{name:"caret-br",content:'<path d="M352 352H160l192-192v192z" />',viewBox:"0 0 512 512"},caretDoubleAltDownIcon:{name:"caret-double-alt-down",content:'<path d="M384 64 256 256 128 64h256zM256 448l128-192-128 1H128l128 191z" />',viewBox:"0 0 512 512"},caretDoubleAltLeftIcon:{name:"caret-double-alt-left",content:'<path d="M448 384 256 256.001l192-128V384zM64 256.001 256 384V128L64 256.001z" />',viewBox:"0 0 512 512"},caretDoubleAltRightIcon:{name:"caret-double-alt-right",content:'<path d="m64 128 192 128L64 384V128zm384 128L256 128v256l192-128z" />',viewBox:"0 0 512 512"},caretDoubleAltUpIcon:{name:"caret-double-alt-up",content:'<path d="m128 448 128-192 128 192H128zM256 64 128 256h256L256 64z" />',viewBox:"0 0 512 512"},caretTlIcon:{name:"caret-tl",content:'<path d="M160 160h192L160 352V160z" />',viewBox:"0 0 512 512"},caretTrIcon:{name:"caret-tr",content:'<path d="M352 160v192L160 160h192z" />',viewBox:"0 0 512 512"},cartIcon:{name:"cart",content:'<path d="M192 368c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm144-48c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM128 96V64H32v32h64v192h288v-32H128V96zm32 128h256v-32H160v32zm0-96v32h288v-32H160z" />',viewBox:"0 0 512 512"},categorizeIcon:{name:"categorize",content:'<path d="M32 32v192l160-96L32 32zm0 448V288l160 96-160 96zM192 64h288v32H192V64zm0 96h288v32H192v-32zm0 160h288v32H192v-32zm0 96h288v32H192v-32z" />',viewBox:"0 0 512 512"},cellSplitHorizontallyIcon:{name:"cell-split-horizontally",content:'<path d="M32 32v416h416V32H32zm32 32h160v64H64V64zm160 160h-64v-64h64v64zM64 160h64v64H64v-64zm0 96h160v64H64v-64zm0 160v-64h160v64H64zm192-256h64v64h-64v-64zm160 256H256v-64h160v64zm0-96H256v-64h160v64zm0-96h-64v-64h64v64zm0-96H256V64h160v64z" />',viewBox:"0 0 512 512"},cellSplitVerticallyIcon:{name:"cell-split-vertically",content:'<path d="M32 448h416V32H32v416zm32-32V256h64v160H64zm160-160v64h-64v-64h64zm-64 160v-64h64v64h-64zm96 0V256h64v160h-64zm160 0h-64V256h64v160zM160 224v-64h64v64h-64zM416 64v160h-64V64h64zm-96 0v160h-64V64h64zm-96 0v64h-64V64h64zm-96 0v160H64V64h64z" />',viewBox:"0 0 512 512"},cellsMergeHorizontallyIcon:{name:"cells-merge-horizontally",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zM64 64h96v96H64V64zm96 352H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128H64v-96h352v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},cellsMergeIcon:{name:"cells-merge",content:'<path d="M32 32v448h416V32H32zm160 32h96v64h-96V64zM64 64h96v64H64V64zm96 384H64v-64h96v64zm128 0h-96v-64h96v64zm128 0h-96v-64h96v64zm0-96H64V160h352v192zm0-224h-96V64h96v64z" />',viewBox:"0 0 512 512"},cellsMergeVerticallyIcon:{name:"cells-merge-vertically",content:'<path d="M32 448h416V32H32v416zm32-160v-96h96v96H64zm0 128v-96h96v96H64zm352-96v96h-96v-96h96zm0-128v96h-96v-96h96zm0-128v96h-96V64h96zm-128 0v352h-96V64h96zm-128 0v96H64V64h96z" />',viewBox:"0 0 512 512"},changeManuallyIcon:{name:"change-manually",content:'<path d="m416 353 32-32v159H32V32h416v64h-32V64H64v384h352v-95zm-192-3.7V416h66.7l169.7-168.5-67.9-67.9L224 349.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zM502.7 160 480 137.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 160l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3zM191.9 416H167v-22h-.6c-7.9 14.6-19.4 22-34.6 22-11.2 0-20-3.3-26.3-9.8S96 391 96 380.3c0-23.1 12.4-36.5 37.2-40.4l33.9-5.1c0-17.4-7.7-26.1-23.2-26.1-13.6 0-25.8 5-36.8 15v-24.2c12-7.6 25.9-11.5 41.7-11.5 28.8 0 43.3 15.2 43.3 45.6V416h-.2zM167 353.1l-23.9 3.6c-7.4 1-13 3-16.8 5.8s-5.6 7.8-5.6 14.9c0 5.2 1.7 9.4 5.2 12.7 3.5 3.3 8.1 5 13.9 5 7.9 0 14.4-3 19.5-8.9 5.2-5.9 7.7-13.4 7.7-22.4v-10.7z" />',viewBox:"0 0 512 512"},chartAreaClusteredIcon:{name:"chart-area-clustered",content:'<path d="m405.5 200.3-88.2-88.2-91.2 114L192 192l-37.6 45.1L64 146.8V32H32v448h448V96l-74.5 104.3zM320 160l66.7 66.7L320 320l-71.1-71.1L320 160zM64 192l69.8 69.8L64 345.6V192z" />',viewBox:"0 0 512 512"},chartAreaRangeIcon:{name:"chart-area-range",content:'<path d="M64 416v32h416v32H32V32h32v224l128-128 128 64L480 32v192L320 384l-127-64-129 96z" />',viewBox:"0 0 512 512"},chartAreaStacked100Icon:{name:"chart-area-stacked100",content:'<path d="M32 32v448h448V32H32zm416 108.8L320 320 192 192 64 345.6V64h384v76.8z" />',viewBox:"0 0 512 512"},chartAreaStackedIcon:{name:"chart-area-stacked",content:'<path d="m320 165.3-128-64-128 128V32H32v448h448V32L320 165.3zm128 7.5L320 352 192 224 64 377.6v-103l134.3-134.3 126.1 63 123.6-103v72.5z" />',viewBox:"0 0 512 512"},chartBarClusteredIcon:{name:"chart-bar-clustered",content:'<path d="M64 448v-64h160V224H64v-32h352V32H32v448h448v-32H64zm128-192v96H64v-96h128z" />',viewBox:"0 0 512 512"},chartBarRangeIcon:{name:"chart-bar-range",content:'<path d="M480 448v32H32V32h32v416h416zm-96-192H160v96h224v-96m32-32v160H128V224h288zm64-192H256v160h224V32z" />',viewBox:"0 0 512 512"},chartBarStacked100Icon:{name:"chart-bar-stacked100",content:'<path d="M480 192V32H32v448h448v-32H64v-64h416V224H64v-32h416zm-160 64v96H64v-96h256zM64 64h160v96H64V64z" />',viewBox:"0 0 512 512"},chartBarStackedIcon:{name:"chart-bar-stacked",content:'<path d="M64 448v-64h352V224H64v-32h256V32H32v448h448v-32H64zm0-384h96v96H64V64zm192 192v96H64v-96h192z" />',viewBox:"0 0 512 512"},chartBubbleIcon:{name:"chart-bubble",content:'<path d="M480 448v32H32V32h32v416h416zM192 256c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64m0-32c53 0 96 43 96 96s-43 96-96 96-96-43-96-96 43-96 96-96zm224 96c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32m0-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zM368 96c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zM176 64c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},chartCandlestickIcon:{name:"chart-candlestick",content:'<path d="M480 448v32H32V32h32v416h416zm-192-96h-64v64h-32v-64h-64V96h64V32h32v64h64v256zm-32-224h-96v192h96V128zm224 64h-64V64h-32v128h-64v128h64v64h32v-64h64V192z" />',viewBox:"0 0 512 512"},chartChoroplethIcon:{name:"chart-choropleth",content:'<path d="M448 64v384H64V64h384m32-32H32v448h448V32zm-96 256v13.3l-64 64v37.5l13.3 13.3H416V264.6L384 288zm-50.7-160 64 64-32 32 18.8 23.4 32-21.3V96H288v18.8l13.3 13.3h32zM224 192l32 32-23.7 23.7L352 276v-20l-32-32 32-32-32-32h-32l-32-32V96h-32l-64 64 32 32h32zm0 86-32 10-32 32 32 32v32l-32 32h128v-64l50.4-50.4L224 278zm-29.4-37.8 16.2-16.2h-32l-64-64 64-64H96v167.5l98.6-23.3zM114.8 320l37.6-37.6L96 296.5V416h32v-13.3l32-32v-5.5L114.8 320z" />',viewBox:"0 0 512 512"},chartColumnClusteredIcon:{name:"chart-column-clustered",content:'<path d="M320 96v352h-32V288H128v160H64V32H32v448h448V96H320zm-64 352h-96V320h96v128z" />',viewBox:"0 0 512 512"},chartColumnRangeIcon:{name:"chart-column-range",content:'<path d="M480 448v32H32V32h32v416h416zM256 128h-96v224h96V128m32-32v288H128V96h160zm192-64H320v224h160V32z" />',viewBox:"0 0 512 512"},chartColumnStacked100Icon:{name:"chart-column-stacked100",content:'<path d="M320 32v416h-32V32H128v416H64V32H32v448h448V32H320zM160 448V192h96v256h-96zm192 0V288h96v160h-96z" />',viewBox:"0 0 512 512"},chartColumnStackedIcon:{name:"chart-column-stacked",content:'<path d="M320 192v256h-32V96H128v352H64V32H32v448h448V192H320zM160 448V256h96v192h-96zm192 0v-96h96v96h-96z" />',viewBox:"0 0 512 512"},chartDoughnutIcon:{name:"chart-doughnut",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.3c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zM320 256c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64zm71.8 135.8c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.4l2.2-2.2c36-36.1 84.9-56.3 135.8-56.2v96c-53 0-96 43-96 96s43 96 96 96c44 0 82.4-30 93.1-72.7l93.2 23.3c-8.4 33.8-25.9 64.6-50.5 89.2zm-39.8-133v.8-.8zm0 2.8v.9-.9zm-.4 2.9-.1.7.1-.7zm-.6 3.2v.2-.2zm-1 5.9v.1-.1zm0 2.8v.2-.2z" />',viewBox:"0 0 512 512"},chartLineIcon:{name:"chart-line",content:'<path d="M64 448h416v32H32V32h32v416zm152.4-190.4L96 416v-51.2l97.2-129.6 41.2-33-27.3-34.1L96 224v-38l119.9-58.1 43.5 54.3 109-87.2 55.9 85.7L480 114v47l-38 46.7 38 58.3.5 53.3-58.5-87-82.5 101.3-85.1-106.4-38 30.4zm63-50.4 60.1 75.2 64.3-77.1-42.7-63.5-81.7 65.4z" />',viewBox:"0 0 512 512"},chartLineMarkersIcon:{name:"chart-line-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-96c.1 17.7-14.2 32-31.9 32.1-17.7.1-32-14.2-32.1-31.9 0-1.3.1-2.7.2-4l-83.7-62.8c-8 3.4-17.1 3.4-25.2 0l-83.7 62.8c2.1 17.5-10.4 33.5-27.9 35.6s-33.5-10.4-35.6-27.9c-.7-6.2.3-12.4 3.1-18l-49-73.6-22.7 39.6c8.9 15.3 3.7 34.9-11.5 43.8s-34.9 3.7-43.8-11.5-3.7-34.9 11.5-43.8c4.9-2.8 10.4-4.3 16-4.4l30.6-53.5-28.4-42.6c-.7 0-1.4.1-2.1.1-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32c0 4.9-1.1 9.8-3.3 14.2l19.5 29.3 52.2-91.3c-8.9-15.3-3.8-34.9 11.5-43.8s34.9-3.8 43.8 11.5c2.5 4.4 4 9.2 4.3 14.3l78.4 39.2c14.7-9.7 34.6-5.7 44.3 9 .3.5.7 1.1 1 1.6h72.6c8.8-15.3 28.4-20.5 43.7-11.7 15.3 8.8 20.5 28.4 11.7 43.7s-28.4 20.5-43.7 11.7c-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-9.3-5.4-15.3-15.1-15.9-25.8l-78.4-39.2c-5.2 3.4-11.3 5.3-17.5 5.3l-60 105.2 57.9 86.9c.7 0 1.4-.1 2.1-.1 4.3 0 8.6.9 12.6 2.6l83.7-62.8c-2.2-17.5 10.3-33.5 27.8-35.7 17.5-2.2 33.5 10.3 35.7 27.8.3 2.6.3 5.2 0 7.8l83.7 62.8c16.2-7 35.1.6 42 16.8 1.6 4.1 2.5 8.4 2.5 12.7zm-48-192c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-128 0c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM176 96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zm-96 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm0 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 32c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},chartLineStacked100Icon:{name:"chart-line-stacked100",content:'<path d="M480 448v32H32V32h32v416h416zM224 228l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zM480 32H96v32h384V32z" />',viewBox:"0 0 512 512"},chartLineStacked100MarkersIcon:{name:"chart-line-stacked100-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-192c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16-192c0 17.7-14.3 32-32 32-11.4 0-22-6.1-27.7-16h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7h-72.6c-8.8 15.3-28.4 20.5-43.7 11.7-4.9-2.8-8.9-6.8-11.7-11.7H91.7C82.9 95.3 63.3 100.5 48 91.7S27.4 63.3 36.3 48 64.7 27.5 80 36.3c4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 4.9 2.8 8.9 6.8 11.7 11.7h72.6c8.8-15.3 28.4-20.5 43.7-11.7 9.9 5.7 16 16.3 16 27.7zM80 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},chartLineStackedIcon:{name:"chart-line-stacked",content:'<path d="M480 448v32H32V32h32v416h416zM224 292l128 64 128-96v-36l-128 96-128-64-128 96v36l128-96zm0-160 128 92 128-60v-36l-128 60-128-92-128 64v36l128-64z" />',viewBox:"0 0 512 512"},chartLineStackedMarkersIcon:{name:"chart-line-stacked-markers",content:'<path d="M480 448v32H0V32h32v416h448zm0-320c0 17.7-14.3 32-32 32-6.9 0-13.7-2.2-19.2-6.4L352 192c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.5.3-5 .9-7.4l-81.1-60.8c-11.1 6.3-24.8 5.4-35-2.2L96 160c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32c6.9 0 13.7 2.2 19.2 6.4L160 96c0-17.7 14.3-32 32-32s32 14.3 32 32c0 2.5-.3 5-.9 7.4l81.1 60.8c11.1-6.3 24.8-5.4 35 2.2L416 128c0-17.7 14.3-32 32-32s32 14.3 32 32zM80 160c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm16 128c0 17.7-14.3 32-32 32-5.5 0-11-1.4-15.8-4.2l-81.1 60.8c4.1 17.2-6.6 34.4-23.8 38.5-17.2 4.1-34.4-6.6-38.5-23.8-.6-2.4-.9-4.9-.9-7.4l-76.8-38.4c-10.2 7.6-23.9 8.5-35 2.2L95 376.5c4.1 17.2-6.6 34.4-23.8 38.5s-34.4-6.6-38.5-23.8 6.6-34.4 23.8-38.5c7.9-1.9 16.1-.7 23.1 3.3l81.1-60.8c-4.1-17.2 6.6-34.4 23.8-38.5 17.2-4.1 34.4 6.6 38.5 23.8.6 2.4.9 4.9.9 7.4l76.8 38.4c10.2-7.6 23.9-8.5 35-2.2l81.1-60.8c-4.1-17.2 6.5-34.5 23.7-38.6 17.2-4.1 34.5 6.5 38.6 23.7.6 2.5.9 5.1.9 7.6zM80 384c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm128-96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},chartOhlcIcon:{name:"chart-ohlc",content:'<path d="M480 448v32H32V32h32v416h416zM224 320V96h-32v32h-64v32h64v256h32v-64h64v-32h-64zM416 96V32h-32v160h-64v32h64v96h32V128h64V96h-64z" />',viewBox:"0 0 512 512"},chartPieIcon:{name:"chart-pie",content:'<path d="M473 310.3c.9-2.1 1.4-4.2 1.8-6.3l.1-.5c.5-2.1.9-4.1 1.3-6.2v-.2c.8-4.4 1.5-8.8 1.8-13.3v-.4c.5-2 .7-3.9.9-5.9l.1-1.7c.1-1.6.3-3.1.4-4.7 0-.7.1-1.4.1-2 .1-1.5.2-3.1.2-4.6 0-.6 0-1.3.1-1.9.1-2.2.1-4.3.1-6.5 0-31.8-6.7-63.2-19.8-92.2-1.5-3.3-3.1-6.6-4.7-9.8-4.1-8-8.7-15.8-13.8-23.3-5-7.4-10.5-14.6-16.4-21.3-1.2-1.3-2.4-2.7-3.6-4-2.4-2.7-4.9-5.3-7.4-7.8s-5.1-5-7.8-7.4c-2.7-2.4-5.4-4.7-8.1-7-4.1-3.4-8.4-6.7-12.8-9.8-20.7-14.8-43.8-25.9-68.3-32.9-5.3-1.5-10.7-2.8-16.2-4-3.6-.7-7.3-1.4-11-2s-7.4-1-11.2-1.3c-5.6-.6-11.3-.9-17.1-1.1-1.9 0-3.9-.1-5.8-.1C132.3 32 32 132.3 32 256s100.3 224 224 224c105 0 193.1-72.2 217-169.7zm-81.2 81.5c-74.4 75.6-195.9 76.6-271.5 2.2S43.7 198 118 122.5l2.2-2.2c36-36.2 84.9-56.4 135.8-56.3v192l186.3 46.6c-8.4 33.8-25.9 64.6-50.5 89.2z" />',viewBox:"0 0 512 512"},chartRadarFilledIcon:{name:"chart-radar-filled",content:'<path d="m354.4 372.1 65.1 89.6-25.9 18.8-75-103.2-109.2-21.8-90.8 125-25.9-18.8 90-123.8-67.3-101L32 216.6l7.5-31.1 65.8 16L240 107.2V32h32v80l99.2 99.2L472 187.7l7.3 31.2-98.8 23-26.1 130.2z" />',viewBox:"0 0 512 512"},chartRadarIcon:{name:"chart-radar",content:'<path d="M272 32h-32v44L80.7 195.5l-41.1-10-7.6 31.1 42.3 10.3 81 148.5-62.7 86.3 25.9 18.8 67.2-92.5L344 412.3l49.5 68.2 25.9-18.8-46.8-64.4 40.8-163.1 65.8-15.3-7.3-31.2-74.9 17.4L272 80V32zm-32 202.2-119-28.9L240 116v118.2zm32 0v-109l88.4 88.4-88.4 20.6zm-95.9 112.5-59.8-109.6 118.5 28.8-58.7 80.8zm172 17.3-71-97.7 101.3-23.6L348.1 364zm-30.6 12-110.6-17 49.1-67.6 61.5 84.6z" />',viewBox:"0 0 512 512"},chartRadarMarkersIcon:{name:"chart-radar-markers",content:'<path d="m472 187.7-51.2 11.9c-9.4-8-22.5-9.9-33.8-4.8L288.1 96c0-11.5-6.2-22.1-16.1-27.8V32h-32v36.4c-7.1 4.1-12.3 10.8-14.6 18.6L96.1 184c-8.6 0-16.7 3.4-22.8 9.5l-32.8-8-7.5 31.1 32.3 7.8c2.7 9.9 10 17.8 19.6 21.5l61 111.8c-3 8.9-2 18.7 2.9 26.7l-56.1 77.3 25.9 18.8L177 400c8.5-.2 16.5-3.8 22.3-10l122 18.8c3.9 13.8 16.5 23.2 30.8 23.2 1.9 0 3.9-.2 5.8-.5l35.6 49 25.9-18.8-37.1-51.1c3.7-10.4 1.7-22-5.2-30.6l31.4-125.2c11.8-3.2 20.8-12.9 23.1-24.9l47.7-11.1-7.3-31.1zm-111.4 25.9L272 234.2V125.1l88.6 88.5zM256 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm-21.1 39.9c1.6 1.4 3.3 2.6 5.1 3.7V234l-113.3-27.6c-.4-1.4-1-2.8-1.6-4.1l109.8-82.4zM96 232c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm80 152c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm7.2-47.2c-2.4-.5-4.8-.8-7.2-.8-1.8 0-3.7.2-5.5.5l-52.9-96.9c.7-.6 1.3-1.2 1.9-1.9l115.3 28-51.6 71.1zm23.6 22 49.1-67.6 61.5 84.6-110.6-17zM352 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm-3.9-52.3L277 265.9l97.4-22.6c.9 1.2 1.9 2.4 3 3.5l-29.3 116.9zM400 240c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},chartRoseIcon:{name:"chart-rose",content:'<path d="M226 251.4 44.3 329.3c-23.8-68.9-12.6-145.1 30-204.3L226 251.4zm-82.1-109.5L240 222V96.8c-36.2 3.6-70.1 19.6-96.1 45.1zm231.5 160.2L279 278l27.3 95.7c31.8-13.6 56.7-39.4 69.1-71.6zM96 353.4c37.3 69.1 115 106.1 192.2 91.4L244 290 96 353.4zM272 32v211.4l204.6 51.1c2.3-12.9 3.4-26 3.4-39.1C480 137.1 388.2 40.2 272 32z" />',viewBox:"0 0 512 512"},chartScatterIcon:{name:"chart-scatter",content:'<path d="M480 448v32H32V32h32v416h416zM160 96c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112-128c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm112 192c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm-16 0c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},chartScatterSmoothLinesIcon:{name:"chart-scatter-smooth-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-144-87.8c21.1-19.9 31.8-44.5 31.8-73.1 0-27.3-11-47.6-32.6-60.6-17.3-10.3-38.8-14.5-59.6-18.6-46.2-9-66.5-16.3-66.8-47.9-.4-41.2 71.8-65.5 114.8-76.4C385.4 68.1 448.4 64 449 64l-2-32c-2.7.2-66.2 4.3-130.8 20.5-38.7 9.7-69.8 21.8-92.4 36-31.4 19.8-47.3 43.9-47 71.7.2 27.2 11.3 47.6 32.9 60.5 17.3 10.3 38.9 14.5 59.7 18.6 19 3.7 36.9 7.2 49.3 14.6 11.9 7.1 17 17.1 17 33.2 0 19.7-7.1 36-21.7 49.7-24.1 22.8-68.9 38.2-129.3 44.6-29.2 3-58.5 3.9-87.8 2.6l-2 32c1.7.1 12.1.7 28 .7 51.4 0 159.8-6.4 213.1-56.5z" />',viewBox:"0 0 512 512"},chartScatterSmoothLinesMarkersIcon:{name:"chart-scatter-smooth-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-15.6 0-28.9-11.2-31.5-26.5-9.2-1.3-22-1.8-39-.8C342.5 71 305.1 79.4 275 92c-19.1 7.9-47.9 23-60.7 45.1 12.7 12.3 13 32.6.6 45.3l-1.1 1.1c9.1 13.1 28.9 18.6 61.1 25.1 21 4.2 42.8 8.5 60.2 18.9 12.7 7.6 21.7 17.8 27 30.3 16.8 5.6 25.8 23.7 20.2 40.5-3.2 9.5-10.6 17-20.1 20.2-11.2 29.5-39.2 54.6-81.6 72.2-29.7 12.1-61.2 19.2-93.2 21.1-4 .2-7.8.3-11.4.3-9.6.1-19.3-.7-28.8-2.5-14.1 10.6-34.2 7.7-44.8-6.4-10.6-14.1-7.7-34.2 6.4-44.8s34.2-7.7 44.8 6.4c3.2 4.2 5.2 9.1 6 14.3 8.7 1 17.5 1.2 26.2.7 28.3-1.6 56.2-7.9 82.5-18.6 19.7-8.2 49.8-24.3 62-49.6-13-12-13.8-32.2-1.8-45.2.4-.5.8-.9 1.3-1.3-9.1-13.2-28.8-18.7-61.1-25.2-21-4.2-42.8-8.5-60.2-18.9-12.8-7.7-21.9-18-27.2-30.7-16.7-5.9-25.4-24.2-19.5-40.9 3.3-9.4 10.9-16.7 20.4-19.8 5-11 12-21 20.6-29.5 14.6-14.5 34.7-27.2 59.8-37.6C296 48.6 337 39.2 375.4 36.8c22.9-1.5 40-.4 52.8 2.1 13.9-11 34-8.6 44.9 5.3 4.5 5.6 6.9 12.6 6.9 19.8zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},chartScatterStraightLinesIcon:{name:"chart-scatter-straight-lines",content:'<path d="M480 448v32H32V32h32v416h416zm-98.5-156.9-158.8-127L448 64V32L161.3 156l161.2 128.9L128 384v32l253.5-124.9z" />',viewBox:"0 0 512 512"},chartScatterStraightLinesMarkersIcon:{name:"chart-scatter-straight-lines-markers",content:'<path d="M480 448v32H32V32h32v416h416zm0-384c0 17.7-14.3 32-32 32-7.4 0-14.6-2.6-20.3-7.3L224 165.1l116.4 93.1c16.5-6.4 35 1.7 41.4 18.2s-1.7 35-18.2 41.4c-10.3 4-22 2.4-30.8-4.2l-173.1 74.2c-2.1 17.5-18 30.1-35.6 28s-30.1-18-28-35.6c2.1-17.5 18-30.1 35.6-28 5.6.7 10.9 2.8 15.4 6.2l173.1-74.2c0-.4.1-.7.1-1l-116.7-93.4c-16.5 6.4-35-1.7-41.4-18.2s1.7-35 18.2-41.4c10.8-4.2 23-2.3 32 5.1l204.1-76.5c2.9-17.4 19.4-29.2 36.8-26.3C468.7 35.1 480 48.4 480 64zm-272 96c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm-64 224c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16zm192-96c0 8.8 7.2 16 16 16s16-7.2 16-16-7.2-16-16-16-16 7.2-16 16zM464 64c0-8.8-7.2-16-16-16s-16 7.2-16 16 7.2 16 16 16 16-7.2 16-16z" />',viewBox:"0 0 512 512"},checkCircleIcon:{name:"check-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm-32 352L96 256l45-45 83 83 147-147 45 45-192 192z" />',viewBox:"0 0 512 512"},checkIcon:{name:"check",content:'<path d="M434.7 82.7 480 128 192 416 32 256l45.3-45.3L192 325.5 434.7 82.7z" />',viewBox:"0 0 512 512"},checkOutlineIcon:{name:"check-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm-32-154-83-83-45 45 128 128 176-176-45-45-131 131z" />',viewBox:"0 0 512 512"},checkboxCheckedIcon:{name:"checkbox-checked",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320zm-77.3-269.3L384 192 224 352l-96-96 45.3-45.3 50.7 50.7 114.7-114.7z" />',viewBox:"0 0 512 512"},checkboxIcon:{name:"checkbox",content:'<path d="M64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},checkboxIndeterminateIcon:{name:"checkbox-indeterminate",content:'<path d="M128 128h256v256H128V128zM64 64v384h384V64H64zm352 352H96V96h320v320z" />',viewBox:"0 0 512 512"},checkboxNullIcon:{name:"checkbox-null",content:'<path d="M192 64h128v32H192V64zm224 0h-64v32h64v64h32V64h-32zm0 256h32V192h-32v128zm0 96h-64v32h96v-96h-32v64zm-224 32h128v-32H192v32zm-96-96H64v96h96v-32H96v-64zm0-160H64v128h32V192zM64 64v96h32V96h64V64H64z" />',viewBox:"0 0 512 512"},chevronDoubleDownIcon:{name:"chevron-double-down",content:'<path d="M382.1 224 256 350.1 129.9 224 96 257.9l160 160 160-160-33.9-33.9zm0-128L256 222.1 129.9 96 96 129.9l160 160 160-160L382.1 96z" />',viewBox:"0 0 512 512"},chevronDoubleLeftIcon:{name:"chevron-double-left",content:'<path d="M289 383 162.9 257 289 130.9 255 97 95 257l160 160 34-34zm128 0L290.9 257 417 130.9 383 97 223 257l160 160 34-34z" />',viewBox:"0 0 512 512"},chevronDoubleRightIcon:{name:"chevron-double-right",content:'<path d="M223 130.9 349.1 257 223 383l34 34 160-160L257 97l-34 33.9zm-128 0L221.1 257 95 383l34 34 160-160L129 97l-34 33.9z" />',viewBox:"0 0 512 512"},chevronDoubleUpIcon:{name:"chevron-double-up",content:'<path d="m129.9 289.9 126.1-126L382.1 290l33.9-34L256 96 96 256l33.9 33.9zm0 128 126.1-126L382.1 418l33.9-34-160-160L96 384l33.9 33.9z" />',viewBox:"0 0 512 512"},chevronDownIcon:{name:"chevron-down",content:'<path d="m382.059 158.059-126.06 126.06-126.061-126.06L96 192l159.999 160L416 192l-33.941-33.941z" />',viewBox:"0 0 512 512"},chevronLeftIcon:{name:"chevron-left",content:'<path d="m353.941 382.059-126.06-126.06 126.06-126.061L320 96 160 255.999 320 416l33.941-33.941z" />',viewBox:"0 0 512 512"},chevronRightIcon:{name:"chevron-right",content:'<path d="m158.059 129.941 126.06 126.06-126.06 126.061L192 416l160-159.999L192 96l-33.941 33.941z" />',viewBox:"0 0 512 512"},chevronUpIcon:{name:"chevron-up",content:'<path d="m129.941 353.941 126.06-126.06 126.061 126.06L416 320 256.001 160 96 320l33.941 33.941z" />',viewBox:"0 0 512 512"},circleIcon:{name:"circle",content:'<path d="M384 256c0 70.7-57.3 128-128 128s-128-57.3-128-128 57.3-128 128-128 128 57.3 128 128z" />',viewBox:"0 0 512 512"},clearCssIcon:{name:"clear-css",content:'<path d="M402.784 290.235 221.765 109.216l22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627 67.882-67.882c12.445-12.445 32.81-12.445 45.255 0l45.255 45.255c12.445 12.445 12.445 32.81 0 45.255l-67.882 67.882 22.627 22.627c12.445 12.445 12.445 32.81 0 45.255l-22.627 22.627zm-21.8 23.455-181.02-181.019c-12.346-12.346-32.483-12.437-44.953-.287L54.627 32 32 54.627l100.074 100.074-91.819 89.362S18.585 267.482 0 248.898l221.274 221.76c12.467 12.467 32.81 12.445 45.255 0l91.851-89.651L457.373 480 480 457.373l-98.73-98.73c12.151-12.47 12.06-32.607-.286-44.953z" />',viewBox:"0 0 512 512"},clipboardCodeIcon:{name:"clipboard-code",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM297.4 246.6l57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},clipboardHtmlIcon:{name:"clipboard-html",content:'<path d="M214.6 361.4 192 384l-80-80 80-80 22.6 22.6-57.3 57.4 57.3 57.4zM448 64v384c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h104.6C211.7 12.9 232.3 0 256 0s44.3 12.9 55.4 32H416c17.7 0 32 14.3 32 32zm-224 0h64c0-17.7-14.3-32-32-32s-32 14.3-32 32zm192 0h-64v64H160V64H96v384h320V64zM271.2 183.9 209.8 416l30.9 8.3L302.2 192l-31-8.1zm26.2 62.7 57.4 57.4-57.4 57.4L320 384l80-80-80-80-22.6 22.6z" />',viewBox:"0 0 512 512"},clipboardIcon:{name:"clipboard",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},clipboardMarkdownIcon:{name:"clipboard-markdown",content:'<path d="M226 224h30v128h-32v-72.8l-32.2 45.6L160 279v73h-32V224h32l31.8 46.2L226 224zm126 64h32l-48 64-48-64h32l.2-64H352v64zm64-256H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},clipboardTextIcon:{name:"clipboard-text",content:'<path d="M416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-224H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32zm0 64H128v-32h256v32z" />',viewBox:"0 0 512 512"},clipboardWordAltIcon:{name:"clipboard-word-alt",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384z" />',viewBox:"0 0 512 512"},clipboardWordIcon:{name:"clipboard-word",content:'<path d="m128 160 48.5 192h46.7L256 238.4 285.3 352h43.1L384 160h-73v35h19.3l-22.2 86-28.8-121h-45.4l-33.1 119.3-25-119.3H128zM416 32H311.4C300.3 12.9 279.7 0 256 0s-44.3 12.9-55.4 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-160 0c17.7 0 32 14.3 32 32h-64c0-17.7 14.3-32 32-32zm160 416H96V64h64v64h192V64h64v384zm-32-32H128v-32h256v32z" />',viewBox:"0 0 512 512"},clockArrowRotateIcon:{name:"clock-arrow-rotate",content:'<path d="M256 32C132.3 32 32 132.3 32 256h32c0-105.9 86.1-192 192-192s192 86.1 192 192-86.1 192-192 192c-57 0-108.3-25-143.5-64.5L176 320H32v144l57.8-57.8C130.8 451.5 190 480 256 480c123.7 0 224-100.3 224-224S379.7 32 256 32Zm-32 96v160h160v-32H256V128h-32Z" />',viewBox:"0 0 512 512"},clockIcon:{name:"clock",content:'<path d="M256 128h-32v160h160v-32H256V128zm0-96C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-105.9 0-192-86.1-192-192S150.1 64 256 64s192 86.1 192 192-86.1 192-192 192z" />',viewBox:"0 0 512 512"},closedCaptionsIcon:{name:"closed-captions",content:'<path d="M480 64H32S0 64 0 96v320c0 32 32 32 32 32h448c32 0 32-32 32-32V96s0-32-32-32zM240 205c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9 10.4 11.5 24.3 17.2 41.7 17.2 16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205zm208 0c-6.1-4.5-13.5-7.8-21.9-10.1-8.5-2.3-17.1-3.5-25.8-3.5-18 0-32.2 5.8-42.6 17.4-10.4 11.6-15.6 27.4-15.6 47.3 0 19.8 5.2 35.4 15.6 46.9s24.3 17.2 41.7 17.2c16.1 0 32.3-4.6 47.6-13.8V373c-17.2 7.4-38.2 11-62.1 11-23.4 0-43.6-5-60.6-15.1s-29.9-24.4-38.9-43-13.4-40-13.4-64.3c0-26.1 5-49.4 15-69.7 10-20.4 24.2-36.1 42.5-47.2s39.4-16.7 63.2-16.7c19 0 37.4 2.6 55.3 7.8V205z" />',viewBox:"0 0 512 512"},cloudIcon:{name:"cloud",content:'<path d="M442.2 243.6c3.7-11.2 5.8-23.2 5.8-35.6 0-61.9-50.1-112-112-112-37.8 0-71.3 18.8-91.6 47.5-15-9.8-33-15.5-52.3-15.5-52.9 0-95.8 42.9-95.8 95.8 0 1.8.1 3.6.2 5.5C58.9 242.3 32 278 32 320c0 53 43 96 96 96h256c53 0 96-43 96-96 0-31.1-14.8-58.8-37.8-76.4z" />',viewBox:"0 0 512 512"},codeIcon:{name:"code",content:'<path d="M512 256 384 384l-22.6-22.6L466.7 256 361.4 150.6 384 128l128 128zM150.6 361.4 45.3 256l105.4-105.4L128 128 0 256l128 128 22.6-22.6zM321.1 72.3 290.2 64l-99.4 375.7 30.9 8.3 99.4-375.7z" />',viewBox:"0 0 512 512"},codeSnippetIcon:{name:"code-snippet",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 256v128H64V64h352v224zM32 0v32H0V0h32zM0 448h32v32H0v-32zm198.6-265.4L141.3 240l57.4 57.4L176 320l-80-80 80-80 22.6 22.6zM304 160l80 80-80 80-22.6-22.6 57.4-57.4-57.4-57.4L304 160zM480 32h-32V0h32v32zm-32 448v-32h32v32h-32z" />',viewBox:"0 0 512 512"},colResizeIcon:{name:"col-resize",content:'<path d="M128 255h64v33h-64v64.6L0 271.9l128-80.7V255zm96 225h64V32h-64v448zm288-207.9-128-80.7V256h-64v33h64v63.9l128-80.8z" />',viewBox:"0 0 512 512"},columnFreezeIcon:{name:"column-freeze",content:'<path d="M32 32v416h416V32H32zm128 32v64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm-96-128V64h96v96h-96zm224 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},columnsIcon:{name:"columns",content:'<path d="M64 32h96v448H64V32zm128 448h96V32h-96v448zM320 32v448h96V32h-96z" />',viewBox:"0 0 512 512"},commentIcon:{name:"comment",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v416l96-96h320c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H114.745L64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885z" />',viewBox:"0 0 512 512"},commentRemoveIcon:{name:"comment-remove",content:'<path d="M114.745 352 64 402.745V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057V256h32V64c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v416l96-96h128v-32H114.745zM480 342.627 457.373 320 400 377.373 342.627 320 320 342.627 377.373 400 320 457.373 342.627 480 400 422.627 457.373 480 480 457.373 422.627 400 480 342.627z" />',viewBox:"0 0 512 512"},commentsRemoveIcon:{name:"comments-remove",content:'<path d="M480 64c0-17.6-14.4-32-32-32H160c-17.6 0-32 14.4-32 32v32h32V64.1l.1-.1H448l.1.1V256l-.1.1h32V64zM377.4 400l22.6 22.6-57.4 57.4-22.6-22.6 57.4-57.4zm0 0L320 342.6l22.6-22.6 57.4 57.4-22.6 22.6zm45.2 0 57.4 57.4-22.6 22.6-57.4-57.4-22.6-22.6 22.6-22.6 57.4-57.4 22.6 22.6-57.4 57.4zm-304.3-16L64 420.2V160.1l.1-.1H352l.1.1V256h32v-96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320l96-64h128v-32H118.3z" />',viewBox:"0 0 512 512"},connectorIcon:{name:"connector",content:'<path d="M416 112c0 26.51-21.49 48-48 48-20.898 0-38.667-13.359-45.258-32H256v288h-98.742c-6.591 18.641-24.36 32-45.258 32-26.51 0-48-21.49-48-48s21.49-48 48-48c20.898 0 38.667 13.359 45.258 32H224V96h98.742c6.591-18.641 24.36-32 45.258-32 26.51 0 48 21.49 48 48z" />',viewBox:"0 0 512 512"},convertLowercaseIcon:{name:"convert-lowercase",content:'<path d="M480.1 416H436v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM436 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM240 416h48L184 96h-48L32 416h48l26-80h108l26 80zM121.6 288 160 169.8 198.4 288h-76.8z" />',viewBox:"0 0 512 512"},convertUppercaseIcon:{name:"convert-uppercase",content:'<path d="M200.1 416H156v-36h-.7c-13.8 24-34.1 36-60.8 36-19.7 0-35.1-5.3-46.3-16-11.1-10.7-16.7-24.9-16.7-42.5 0-37.8 21.7-59.9 65.3-66.2l59.4-8.4c0-28.6-13.5-42.8-40.7-42.8-23.8 0-45.4 8.2-64.5 24.7V225c21.1-12.5 45.5-18.8 73.1-18.8 50.6 0 75.9 25 75.9 74.8v135h.1zM157 313.1l-42 5.9c-13 1.7-22.8 4.9-29.4 9.5s-9.9 12.7-9.9 24.3c0 8.5 3 15.4 9.1 20.8s14.2 8.1 24.3 8.1c13.8 0 25.2-4.8 34.3-14.5 9-9.7 13.6-21.9 13.6-36.6v-17.5zM432 416h48L376 96h-48L224 416h48l26-80h108l26 80zM313.6 288 352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},copyFormatIcon:{name:"copy-format",content:'<path d="M96 480h160v32H64v-64H0V288h32v128h32v-64h32v128zm32-32h96v-32h-96v32zm0-96v32h32v-32h-32zm284.2-92.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},copyIcon:{name:"copy",content:'<path d="M384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zM64 384h64v32H64c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h192l32 32H64v320z" />',viewBox:"0 0 512 512"},cropIcon:{name:"crop",content:'<path d="M0 96h64v64H0V96zm448 256v64h64v-64h-64zm-32-224c0-17.6-14.4-32-32-32H192v64h160v320h64V128zM96 384c0 17.6 14.4 32 32 32h192v-64H160V32H96v352z" />',viewBox:"0 0 512 512"},crosstabIcon:{name:"crosstab",content:'<path d="M192.3 32H32v160h1v288h447V32H192.3zm-.3 416H96v-96h96v96zm0-128H96v-96h96v96zm0-128H96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V96h96v96z" />',viewBox:"0 0 512 512"},crosstabWizardIcon:{name:"crosstab-wizard",content:'<path d="M192 416V192h224v96l32 32V0H0v160h1v288h318.7l-31.9-32H192zM320 64h96v96h-96V64zm-128 0h96v96h-96V64zm-32 352H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm344.6 330.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zM221.2 300.8c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.9-8.7 7.9-15-.8-2.5-2.4-4.7-4.5-6.2l-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.3 20.4z" />',viewBox:"0 0 512 512"},csIcon:{name:"cs",content:'<path d="M165.9 128c-26.4 0-49.8 5.6-70.1 16.7s-36 26.8-47.1 47.2S32 235.5 32 261.6c0 24.3 5 45.7 14.9 64.3s24.3 32.9 43.1 43 41.2 15.1 67.2 15.1c26.4 0 46.6-3.7 65.8-11v-66.5c-17.1 9.2-32 13.8-49.8 13.8-19.3 0-34.7-5.7-46.2-17.2s-17.3-27.1-17.3-46.9c0-19.9 5.8-35.7 17.3-47.3s27.3-17.4 47.2-17.4c9.6 0 16 1.2 25.4 3.5s17.5 5.5 24.4 9.7v-68.9c-19.7-5.2-37-7.8-58.1-7.8zm158.8 0-13.3 62h-29l-9.3 46h28.6l-10.3 43h-25.6l-9.8 46h25.2l-12.5 59h50l12.9-59h43.5l-12.5 59h49.2l13.3-59h26.8l11.5-46h-28.2l10.3-43h24.2l10.3-46h-23.7l13.5-63h-51.7l-13.5 63h-43.5l13.5-63h-50l.1 1zm26.9 108H395l-10.3 43h-43.3l10.2-43z" />',viewBox:"0 0 512 512"},csprojIcon:{name:"csproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm157.9 32.1c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zm96 0c19.3-1.2 35.2 14.7 34 34-1 15.9-13.9 28.8-29.9 29.9-19.3 1.2-35.2-14.7-34-34 1.1-16 14-28.9 29.9-29.9zM64 160h384v288H64V160zm119.7 64c-17.3 0-32.7 3.5-46 10.4s-23.6 16.8-30.9 29.5c-7.3 12.8-10.9 27.3-10.9 43.6 0 15.2 3.3 28.6 9.8 40.2s15.9 20.6 28.3 26.8c12.4 6.3 27 9.4 44.1 9.4 17.3 0 32.6-2.3 45.9-6.9v-41.5c-11.9 5.8-23.7 8.6-35.4 8.6-12.6 0-22.8-3.6-30.3-10.7s-11.4-16.9-11.4-29.2c0-12.4 3.8-22.3 11.3-29.6s17.9-10.9 31-10.9c6.3 0 12.6.7 18.8 2.1s11.5 3.5 16 6v-43c-13.1-3.2-26.4-4.8-40.3-4.8zm114.2 0-8.3 39h-17.4l-5.7 29H284l-6.1 26H262l-6.1 29h15.4l-7.7 37h30.9l7.9-37h26.8l-7.7 37h30.4l8.2-37h16.3l7.2-29h-17.2l6.1-26h15l6.3-29h-14.7l8.3-39H356l-8.3 39h-26.4l8.3-39h-31.7zm16.8 68h26.8l-6.3 27h-26.7l6.2-27z" />',viewBox:"0 0 512 512"},css3Icon:{name:"css3",content:'<path d="m64 32 30.2 384L256 480l161.8-64L448 32H64zm65.6 82h250.3l-4.9 48.9L255.4 214h115.9L358 366.1l-102.1 29.7-102.4-30.2-6.6-76.6h50.9l3.3 39.7 54.4 13.8.5-.1v-.1l56.3-15.8 3.9-64.4H143.7l-3.8-47.8 123-51.2H135.7l-6.1-49.1z" />',viewBox:"0 0 512 512"},cssIcon:{name:"css",content:'<path d="m192 96-32 .1S96 96 96 160v48c0 27.8-21.8 31.4-32 32H48c-2.2 0-4.3.4-6.2 1.2-.5.2-1 .4-1.4.7s-.9.5-1.3.8c-1.3.9-2.4 1.9-3.4 3.1-.2.2-.3.4-.5.6-.9 1.2-1.7 2.6-2.2 4.1-.2.5-.3 1-.5 1.5-.3 1-.4 2.1-.5 3.2v1.6c.1 1.1.2 2.1.5 3.2.1.5.3 1 .5 1.5.5 1.5 1.3 2.8 2.2 4.1.2.2.3.4.5.6 1 1.2 2.1 2.2 3.4 3.1.4.3.9.5 1.3.8s.9.5 1.4.7c1.9.8 4 1.2 6.2 1.2h16c10.2.6 32 4.2 32 32v48c0 64 64 63.9 64 63.9l32 .1v-32l-31.8-.1s-32.2.1-32.2-32v-48.5s0-29-19.6-47.9c19.6-18.8 19.6-47.9 19.6-47.9v-47.9c0-31.9 32.2-31.8 32.2-31.8l31.8-.1V96zm128-.1V128l31.7.1S384 128 384 160v48s0 29.1 19.5 48C384 274.9 384 304 384 304v48c0 32-32.1 31.9-32.1 31.9l-31.9.1v32l32.1-.1s63.9.1 63.9-63.7V304c0-27.8 21.8-31.4 32-32h16c2.2 0 4.3-.4 6.2-1.2.5-.2 1-.4 1.4-.7s.9-.5 1.3-.8c1.3-.9 2.4-1.9 3.4-3.1.2-.2.3-.4.5-.6.9-1.2 1.7-2.6 2.2-4.1.2-.5.3-1 .5-1.5.3-1 .4-2.1.5-3.2v-1.6c-.1-1.1-.2-2.1-.5-3.2-.1-.5-.3-1-.5-1.5-.5-1.5-1.3-2.8-2.2-4.1-.2-.2-.3-.4-.5-.6-1-1.2-2.1-2.2-3.4-3.1-.4-.3-.9-.5-1.3-.8s-.9-.5-1.4-.7c-1.9-.8-4-1.2-6.2-1.2h-16.1c-10.2-.6-31.9-4.2-31.9-32v-48c0-64-64.1-63.9-64.1-63.9l-31.9-.2z" />',viewBox:"0 0 512 512"},customFormatIcon:{name:"custom-format",content:'<path d="M128 128v224H80V182.4s-13.1 19.1-48 19.1v-40.6c34.9 0 61.7-32.9 61.7-32.9H128zm94.4 184H320v40H169v-16.6c.3-11.3 2.2-21.4 6-30.3 3.8-9 8.6-17 14.3-24.1s12-13.4 18.8-18.9 13.3-10.4 19.4-14.8c6.5-4.6 12.1-9 17-13.2s9-8.4 12.3-12.5 5.8-8.3 7.5-12.6c1.6-4.2 2.5-8.8 2.5-13.6 0-9.4-2.7-16.5-8-21.4-5.3-4.8-13.5-7.2-24.4-7.2-18.9 0-37.1 7.5-54.4 22.6v-42.7c19.2-12.4 40.8-18.6 64.8-18.6 11.2 0 21.2 1.5 30 4.4 8.9 2.9 16.4 7.1 22.5 12.5s10.8 12 14.1 19.7c3.2 7.7 4.8 16.4 4.8 25.9 0 10.1-1.6 19.2-4.7 27-3.1 7.9-7.3 15.1-12.4 21.5-5.2 6.5-11.1 12.4-17.9 17.7-6.8 5.4-13.8 10.6-21 15.6-4.9 3.5-9.7 6.9-14.2 10.4-4.6 3.4-8.6 6.8-12.1 10.1s-6.2 6.6-8.3 9.8c-2.2 3.1-3.2 9.3-3.2 9.3zM341 341.2v-41.7s32.1 15.8 51.5 15.8c12.2 0 21.8-2.6 28.6-7.9 6.8-5.3 10.2-12.5 10.2-21.9 0-9.7-4.2-17.1-12.7-22.3-8.4-5.3-20-7.9-34.8-7.2H364v-37h17.7c28.4 0 42.6-9.4 42.6-28.1 0-17.6-10.9-26.4-32.7-26.4-14.7 0-28.8 4.7-42.6 14v-38.9c15.4-7.7 33.1-11.5 53.6-11.5 22.3 0 39.6 5 52.1 14.9 12.4 10 18.7 22.9 18.7 38.8 0 28.3-14.5 46-43.4 53.2v.3c15.5 1.9 27.6 7.5 36.5 16.8 8.9 9.2 13.3 20.6 13.3 34 0 20.3-7.4 36.4-22.4 48.2-15 11.8-35.5 17.7-61.7 17.7-22.3.1-40.6-3.5-54.7-10.8z" />',viewBox:"0 0 512 512"},customIconIcon:{name:"custom-icon",content:'<path d="M352 249H196.6c.6 23.8 7.2 42.2 19.8 55.2s30 18.8 52 19.4c4.9.1-1.1 28.8-12.4 28.8-30.9 0-51.6-9.7-69.3-29.1-17.8-19.4-26.7-46.8-26.7-82 0-33.3 9.7-60.4 29.1-81.4s43.5-31.4 72.4-31.4c28.8 0 51.1 9.1 66.9 27.2S352 199 352 231.1V249zm-36-29.9c-.1-19.8-5.1-35.2-14.7-46.2-9.7-11-23.1-16.5-40.3-16.5-16.6 0-30.7 5.8-42.4 17.3-11.6 11.6-18.8 26.7-21.5 45.3l118.9.1zM448 384V64c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h256l96-96zm-32-32h-96v96H96V64h320v288z" />',viewBox:"0 0 512 512"},cutIcon:{name:"cut",content:'<path d="M480 32h-45.3L256 210.7 210.7 256l-69.5 69.5c-9.1-3.6-18.9-5.5-29.2-5.5-44.2 0-80 35.8-80 80 0 10.3 2 20.2 5.5 29.2 8.1 20.7 24.6 37.1 45.3 45.3 9.1 3.6 18.9 5.5 29.2 5.5 44.2 0 80-35.8 80-80 0-10.3-2-20.2-5.5-29.2l69.5-69.5 69.5 69.5c-3.6 9.1-5.5 18.9-5.5 29.2 0 44.2 35.8 80 80 80 10.3 0 20.2-2 29.2-5.5 20.7-8.1 37.1-24.6 45.3-45.3 3.6-9.1 5.5-18.9 5.5-29.2 0-44.2-35.8-80-80-80-10.3 0-20.2 2-29.2 5.5L301.3 256 480 77.3V32zM160 400c0 26.5-21.5 48-48 48-.9 0-1.8 0-2.7-.1-24.4-1.3-43.9-20.9-45.3-45.3 0-.9-.1-1.8-.1-2.7 0-26.5 21.5-48 48-48 .9 0 1.8 0 2.7.1 24.4 1.3 43.9 20.9 45.3 45.3.1.9.1 1.8.1 2.7zm237.3-47.9c.9 0 1.8-.1 2.7-.1 26.5 0 48 21.5 48 48 0 .9 0 1.8-.1 2.7-1.3 24.4-20.9 43.9-45.3 45.3-.9 0-1.8.1-2.7.1-26.5 0-48-21.5-48-48 0-.9 0-1.8.1-2.7 1.4-24.5 20.9-44 45.3-45.3zM240 256c0-8.8 7.2-16 16-16s16 7.2 16 16-7.2 16-16 16-16-7.2-16-16zm-74.5-45.3L32 77.3V32h45.3l133.5 133.5-45.3 45.2z" />',viewBox:"0 0 512 512"},dataCsvIcon:{name:"data-csv",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM271 420.8c-7.7 4.5-16.4 6.8-25.4 6.7-9.7 0-17.4-3-23.1-9s-8.6-14.1-8.6-24.3c0-10.6 3-19 9.1-25.2 6.1-6.2 14-9.3 23.9-9.3 8.4-.1 16.7 2 24 6.3v-22.8c-7-2.6-15.7-3.9-25.9-3.9-16.6 0-30 5.2-40.4 15.7-10.4 10.5-15.6 24.1-15.6 40.9 0 15.8 4.6 28.4 13.8 37.9 9.2 9.5 21.9 14.2 38 14.2 12.3 0 22.3-1.9 30-5.6l.2-21.6zm36.6 25.7c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.5-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.5-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.5 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 2 12.8 6 17.9 4 4.9 10.1 9.1 18.3 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.2-.9-15.1-2.7-5.1-1.8-9.8-4.5-13.9-8V442c4.5 2.3 9 3.8 13.8 4.5zm147.7-105.4-21.8 72.8c-1.1 3.5-1.8 7.1-2.3 10.8h-.4c-.3-3.6-1.1-7.1-2.1-10.5l-21.9-73.1h-25.5l35.7 105h26.8l36.2-105h-24.7zm-295.3-15C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},dataIcon:{name:"data",content:'<path d="M448 125.6v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 159.8 64 125.9v-.3c0-34 86-61.6 192-61.6s192 27.6 192 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 206.2 64 172.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8zm0 128v.3c-.5 33.9-86.3 61.3-192 61.3S64.5 334.2 64 300.3v-.3l1 86.8v.5c.5 33.7 85.8 61 191 61s190.5-27.3 191-61v-.5l1-86.8z" />',viewBox:"0 0 512 512"},dataJsonIcon:{name:"data-json",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-251.3 21.1h-23.6v62.4c0 16-5.4 24-16.2 24-4.9.1-9.7-1.5-13.6-4.5v22.2c4.9 1.9 10.1 2.9 15.3 2.8 12.4 0 21.8-3.7 28.3-11.2s9.8-18.2 9.8-32.3v-63.4zm31.7 105.4c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.6-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.2-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.4-.7 2.1 0 4.1.1 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.5 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4.1 2.2 8.7 3.7 13.4 4.4zm157.3-13.7c9.6-10.1 14.4-23.4 14.4-39.9 0-16.1-4.6-29-13.9-38.8-9.3-9.8-21.4-14.7-36.4-14.7-15.9 0-28.6 5.1-38.2 15.4-9.6 10.3-14.4 23.7-14.4 40.3 0 15.7 4.7 28.5 14.2 38.3s21.7 14.7 36.8 14.7c15.4-.1 27.9-5.2 37.5-15.3zm-17.5-64c4.6 6 6.9 14.5 7 25.4 0 10.4-2.4 18.6-7.2 24.5s-11.3 8.8-19.4 8.8c-7.5.2-14.6-3.2-19.2-9.1-4.9-6.1-7.3-14.3-7.3-24.7 0-10.2 2.4-18.5 7.3-24.7s11.5-9.3 19.8-9.3c8 0 14.4 3.1 19 9.1zM480 341.1h-22.3v58.1c-.1 4.8.1 9.6.6 14.4h-.3c-1.6-2.8-3.4-5.7-5.3-8.6L411 341.1h-25.5v105h22.3v-57.7c0-7.6-.2-13.3-.6-17h.3c1.6 3 3.4 5.9 5.3 8.7l43.3 66H480v-105zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},dataOdsIcon:{name:"data-ods",content:'<path d="M415.94 93.61v.33c-.53 33.88-86.26 61.29-191.93 61.29S32.6 127.82 32.07 93.94v-.33C32.06 59.59 118 32 224 32s191.94 27.59 191.94 61.61Zm-.06 46.39v.32c-.53 33.88-86.26 61.29-191.93 61.29S32.54 174.2 32 140.32V140l.12 86.81v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13v-.32Zm.12 180-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68Zm-256 6.11C85.73 317.69 32.43 295 32 268.32V268l.12 86.81v.32C32.55 381.8 85.8 404.47 160 412.9Zm73.5 123.55q-22.26 0-36.28-14.49t-14-37.76q0-24.57 14.24-39.74t37.72-15.18q22.18 0 35.88 14.53t13.69 38.3q0 24.42-14.2 39.38t-37.05 14.96Zm1-87.08q-12.28 0-19.51 9.22t-7.23 24.39q0 15.39 7.23 24.35a23.15 23.15 0 0 0 18.93 9q12.07 0 19.15-8.71t7.08-24.17q0-16.11-6.86-25.08t-18.78-9Zm68.9 85.28V344.23h36.71q55.22 0 55.21 50.51 0 24.21-15.06 38.66t-40.15 14.46Zm23.34-84.63v65.69h11.57q15.17 0 23.81-9.1t8.64-24.82q0-14.82-8.56-23.31t-24-8.49Zm82.49 80.65v-23.12a44.75 44.75 0 0 0 13.66 7.91 43.91 43.91 0 0 0 14.89 2.64 33.06 33.06 0 0 0 7.7-.8 18 18 0 0 0 5.49-2.2 9.67 9.67 0 0 0 3.29-3.33 8.29 8.29 0 0 0 1.08-4.15 9 9 0 0 0-1.73-5.42 18.77 18.77 0 0 0-4.74-4.41 49 49 0 0 0-7.12-3.9q-4.11-1.87-8.89-3.83-12.14-5.06-18.1-12.36a27 27 0 0 1-6-17.63 28.05 28.05 0 0 1 3.25-13.91 27.71 27.71 0 0 1 8.85-9.58 39.85 39.85 0 0 1 13-5.53 66.6 66.6 0 0 1 15.61-1.77 93.91 93.91 0 0 1 14.34 1 56.36 56.36 0 0 1 11.53 3v21.6a35.76 35.76 0 0 0-5.68-3.18 44.84 44.84 0 0 0-6.32-2.27 48.64 48.64 0 0 0-6.47-1.34 45.54 45.54 0 0 0-6.1-.43 31.65 31.65 0 0 0-7.23.76 18.18 18.18 0 0 0-5.49 2.13 10.47 10.47 0 0 0-3.47 3.29 7.77 7.77 0 0 0-1.23 4.3 8.27 8.27 0 0 0 1.37 4.66 15.88 15.88 0 0 0 3.91 3.9 40.85 40.85 0 0 0 6.14 3.61q3.61 1.77 8.16 3.65a91.56 91.56 0 0 1 11.17 5.53 39.85 39.85 0 0 1 8.49 6.61 25.82 25.82 0 0 1 5.42 8.42 29.82 29.82 0 0 1 1.88 11q0 8.67-3.29 14.56a26.68 26.68 0 0 1-8.92 9.54 38.57 38.57 0 0 1-13.12 5.24 75.82 75.82 0 0 1-15.79 1.59 88.11 88.11 0 0 1-16.22-1.44 49.18 49.18 0 0 1-13.31-4.34Z" />',viewBox:"0 0 512 512"},dataRestIcon:{name:"data-rest",content:'<path d="M32 268v.33-.33zm0 .33.12 86.48v.32c.29 18.1 24.9 34.34 63.87 45.56l.01-86.77c-38.99-11.22-63.7-27.48-64-45.59zm192.01-113.1c105.67 0 191.4-27.41 191.93-61.29v-.33C415.94 59.59 330 32 224 32S32.06 59.59 32.07 93.61v.33c.53 33.88 86.27 61.29 191.94 61.29zM32 140.32s0 .01 0 0V140v.32zm384 86.81v-.32l-.12-86.81v.32c-.53 33.88-86.26 61.29-191.93 61.29-105.66 0-191.4-27.41-191.95-61.28l.12 86.48v.32c.53 33.88 86.26 61.29 191.93 61.29S415.46 261 416 227.13zM327 320h89l-.07-52v.32c-.34 21.73-35.73 40.8-88.93 51.68zm-130.74 96.93 19.85 31.05h-27.17l-16.33-27.03c-1.22-2.05-2.39-3.88-3.52-5.49-1.12-1.61-2.26-2.99-3.41-4.14-1.15-1.15-2.34-2.03-3.59-2.64-1.25-.61-2.6-.92-4.06-.92h-6.37v40.21H128V342.95h37.5c25.49 0 38.23 9.52 38.23 28.56 0 3.66-.56 7.04-1.68 10.14-1.12 3.1-2.71 5.9-4.76 8.39s-4.53 4.64-7.43 6.45c-2.91 1.81-6.14 3.22-9.7 4.25v.29c1.56.49 3.08 1.28 4.54 2.38 1.46 1.1 2.88 2.38 4.25 3.85 1.37 1.46 2.67 3.04 3.92 4.72 1.23 1.69 2.37 3.34 3.39 4.95zm-17.43-42.48c0-9.18-5.49-13.77-16.48-13.77h-10.69v29.22h10.25c5.08 0 9.16-1.46 12.23-4.39 3.13-2.98 4.69-6.67 4.69-11.06zm70.75 30.32h34.35v-19.19h-34.35v-23.36h36.91v-19.26h-60.57v105.03h62.99V428.8h-39.33v-24.03zm115.58-6.01c-2.39-2.49-5.26-4.72-8.61-6.7-3.34-1.98-7.12-3.85-11.32-5.6-3.08-1.27-5.84-2.5-8.28-3.7-2.44-1.2-4.52-2.42-6.23-3.66-1.71-1.24-3.03-2.56-3.96-3.96-.93-1.39-1.39-2.97-1.39-4.72 0-1.61.41-3.06 1.25-4.36.83-1.29 2-2.4 3.52-3.33 1.51-.93 3.37-1.65 5.57-2.16 2.2-.51 4.64-.77 7.32-.77 1.95 0 4.02.15 6.19.44s4.36.75 6.56 1.36 4.33 1.38 6.41 2.31c2.07.93 3.99 2 5.75 3.22v-21.9c-3.56-1.37-7.46-2.38-11.68-3.04-4.22-.66-9.07-.99-14.54-.99-5.57 0-10.84.6-15.82 1.79s-9.36 3.06-13.15 5.6c-3.78 2.54-6.77 5.77-8.97 9.7-2.2 3.93-3.3 8.63-3.3 14.1 0 6.98 2.01 12.94 6.04 17.87 4.03 4.93 10.14 9.11 18.35 12.52 3.22 1.32 6.23 2.61 9.01 3.88 2.78 1.27 5.19 2.59 7.21 3.96 2.03 1.37 3.63 2.86 4.8 4.47s1.76 3.44 1.76 5.49c0 1.51-.37 2.92-1.1 4.21-.73 1.29-1.84 2.42-3.33 3.37-1.49.95-3.34 1.7-5.57 2.23-2.22.54-4.82.81-7.8.81-5.08 0-10.11-.89-15.09-2.67s-9.59-4.46-13.84-8.02v23.44c3.81 1.95 8.31 3.42 13.51 4.39s10.68 1.46 16.44 1.46c5.61 0 10.95-.54 16-1.61 5.05-1.07 9.49-2.84 13.29-5.31s6.82-5.69 9.05-9.67c2.22-3.98 3.33-8.9 3.33-14.76 0-4.25-.63-7.97-1.9-11.17a26.091 26.091 0 0 0-5.48-8.52zm14.94-55.81v19.26h29.81v85.77h23.73v-85.77h29.96v-19.26h-83.5z" />',viewBox:"0 0 512 512"},dataSdsIcon:{name:"data-sds",content:'<path d="M224 152.54c105.6 0 191.4-27.4 191.9-61.3v-.3c0-34-85.9-61.6-191.9-61.6S32.1 56.94 32.1 90.94v.3c.5 33.9 86.3 61.3 191.9 61.3Zm-191.9 71.9c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.5c-.5 33.9-86.3 61.3-191.9 61.3s-191.49-27.4-192-61.29l.1 86.49v.3Zm-.1 41.21.1 86.49v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8c-74.29-8.4-127.59-31.1-128-57.79Zm320 37.69 105 70-105 70v-52.5H189v-35h163v-52.5Z" />',viewBox:"0 0 512 512"},dataSqlIcon:{name:"data-sql",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zM209.1 448.6c5.4 1 10.9 1.5 16.4 1.5 5.4 0 10.7-.5 16-1.6 4.7-.9 9.2-2.7 13.3-5.3 3.8-2.4 6.8-5.8 9-9.7 2.2-4 3.3-8.9 3.3-14.8.1-3.8-.6-7.6-1.9-11.2-1.3-3.2-3.1-6.1-5.5-8.5-2.5-2.6-5.4-4.9-8.6-6.7-3.6-2.1-7.4-4-11.3-5.6-3.1-1.3-5.8-2.5-8.3-3.7-2.2-1-4.3-2.3-6.2-3.7-1.6-1.1-2.9-2.4-4-4-.9-1.4-1.4-3-1.4-4.7 0-1.5.4-3.1 1.3-4.4.9-1.4 2.1-2.5 3.5-3.3 1.7-1 3.6-1.7 5.6-2.2 2.4-.5 4.9-.8 7.3-.8 2.1 0 4.1.2 6.2.4 2.2.3 4.4.8 6.6 1.4 2.2.6 4.3 1.4 6.4 2.3 2 .9 3.9 2 5.8 3.2v-21.9c-3.8-1.4-7.7-2.4-11.7-3-4.8-.7-9.7-1-14.5-1-5.3 0-10.6.6-15.8 1.8-4.7 1.1-9.1 3-13.1 5.6-3.7 2.5-6.8 5.8-9 9.7-2.3 4.3-3.4 9.2-3.3 14.1-.2 6.5 1.9 12.8 6 17.9 4 4.9 10.1 9.1 18.4 12.5 3.2 1.3 6.2 2.6 9 3.9 2.5 1.1 4.9 2.4 7.2 4 1.8 1.2 3.5 2.7 4.8 4.5 1.2 1.6 1.8 3.5 1.8 5.5 0 1.5-.4 2.9-1.1 4.2-.8 1.4-2 2.5-3.3 3.4-1.7 1-3.6 1.8-5.6 2.2-2.6.6-5.2.8-7.8.8-5.1 0-10.3-.9-15.1-2.7-5.1-1.8-9.7-4.5-13.8-8v23.4c4 2.3 8.6 3.8 13.4 4.5zm172.8-21.2c5.7-9 8.5-19.8 8.5-32.4 0-16.1-4.6-29-13.9-38.8s-21.3-14.7-36.2-14.8c-16 0-28.8 5.1-38.5 15.4s-14.4 23.7-14.4 40.3c-.1 7 1.1 13.9 3.4 20.4 2.1 6.1 5.4 11.7 9.6 16.6 4.2 4.7 9.3 8.6 15 11.2 6.1 2.8 12.8 4.4 19.5 4.5 3.8 4.2 7.4 8.1 10.9 11.8 3.3 3.5 6.9 6.7 10.8 9.6 3.6 2.6 7.4 4.8 11.6 6.4 4.2 1.6 8.7 2.4 13.2 2.3 3.4 0 6.7-.2 10.1-.7 2.2-.3 4.3-.8 6.5-1.3V458c-.8.3-1.6.6-2.4.8l-2.7.6c-.9.2-1.9.3-2.8.4s-1.8.1-2.6.1c-2.7 0-5.4-.2-8-.6-2.5-.4-4.9-1.1-7.1-2.1-2.5-1.1-4.8-2.5-6.9-4.2-2.6-2-5-4.3-7.3-6.7 9.9-3.4 18.2-10.1 23.7-18.9zm-23.3-56.3c4.6 6 6.9 14.5 6.9 25.3 0 10.4-2.4 18.6-7.2 24.5-4.8 6-11.3 8.9-19.4 8.8-7.5.2-14.7-3.2-19.3-9.1-4.8-6.1-7.3-14.3-7.3-24.7 0-10.4 2.4-18.6 7.3-24.7 4.9-6.2 11.5-9.4 19.8-9.4 8.3.1 14.6 3.1 19.2 9.3zm121.4 58h-38.9v-85.8h-23.7v105H480v-19.2zm-320-103C85.7 317.7 32.4 295 32 268.3v-.3l.1 86.8v.3c.4 26.7 53.7 49.3 127.9 57.8v-86.8z" />',viewBox:"0 0 512 512"},dataWebIcon:{name:"data-web",content:'<path d="M415.9 93.6v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.6 127.8 32.1 93.9v-.3C32.1 59.6 118 32 224 32s191.9 27.6 191.9 61.6zm0 46.4v.3c-.5 33.9-86.3 61.3-191.9 61.3S32.5 174.2 32 140.3v-.3l.1 86.8v.3c.5 33.9 86.3 61.3 191.9 61.3s191.4-27.4 192-61.3v-.3l-.1-86.8zm.1 180-.1-52v.3c-.3 21.7-35.7 40.8-88.9 51.7h89zm-151.1 23-14.5 70.1c-.8 3.9-1.3 7.8-1.5 11.7h-.3c-.3-3.8-.9-7.6-1.7-11.3L229.6 343h-25.3l-19.1 69.6c-1.1 4-1.9 8.1-2.1 12.3h-.4c-.2-4-.6-8-1.4-12l-14.8-70h-25.8l27.6 105h27.3l17.9-67.4c1-3.9 1.6-7.8 1.9-11.8h.3c.1 4 .7 7.9 1.7 11.8l17.4 67.4H261l27.8-105h-23.9zm109.8 85.8h-39.3v-24h34.4v-19.2h-34.4v-23.4h36.9V343h-60.6v105h63v-19.2zm66.8 19.2c11.9 0 21.3-2.8 28.2-8.5 6.9-5.6 10.3-13.3 10.3-22.9.1-6.3-2.3-12.3-6.7-16.8-4.5-4.6-10.4-7.3-17.9-8.3v-.3c5.6-1.5 10.8-4.5 14.7-8.9 3.8-4 5.8-9.4 5.8-14.9 0-7.8-3.2-13.9-9.5-18.2-6.3-4.3-15.3-6.5-27-6.5h-38.3v105h40.4zm-7.9-87.6c11.5 0 17.3 3.9 17.3 11.6.2 3.7-1.4 7.3-4.2 9.8-2.8 2.4-6.6 3.6-11.5 3.5h-10.4v-24.9h8.8zm4.1 42.5c5.5 0 9.7 1.2 12.8 3.6 3 2.4 4.7 6 4.6 9.9.2 4-1.5 7.9-4.6 10.4-3.1 2.5-7.4 3.8-12.9 3.8h-12.8v-27.7h12.9zM96 313.9c-39-11.2-63.7-27.5-64-45.6v-.3l.1 86.8v.3c.3 18.1 24.9 34.3 63.9 45.6v-86.8z" />',viewBox:"0 0 512 512"},decimalDecreaseIcon:{name:"decimal-decrease",content:'<path d="M384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6-17.6 0-32-19.1-32-42.6V106c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 116.7c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7V330c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7v42.7zM224 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm32 116.7c0 23.5-14.3 42.6-32 42.6s-32-19.1-32-42.6V106c0-23.6 14.3-42.7 32-42.7s32 19.1 32 42.7v42.7zM128 224H96v-32h32v32zm128 192h32v32h-32v-32zM64 256l128 96-128 96V256z" />',viewBox:"0 0 512 512"},decimalIncreaseIcon:{name:"decimal-increase",content:'<path d="M384 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.5 14.4-42.6 32-42.6 17.7 0 32 19.1 32 42.6V374zM384 32c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64 35.4 0 64-28.7 64-64V96c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7-17.6 0-32-19.1-32-42.7v-42.7c0-23.6 14.4-42.7 32-42.7 17.7 0 32 19.1 32 42.7V150zM224 256c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64s64-28.7 64-64v-64c0-35.3-28.6-64-64-64zm32 118c0 23.6-14.3 42.7-32 42.7s-32-19.1-32-42.7v-42.7c0-23.5 14.3-42.6 32-42.6s32 19.1 32 42.6V374zM96 416h32v32H96v-32zm160-224h32v32h-32v-32zM192 32v192L64 128l128-96z" />',viewBox:"0 0 512 512"},decreaseHorizontalSpacingIcon:{name:"decrease-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM111.6 352 89 374.6l57.4 57.4L89 489.4l22.6 22.6 80-80-80-80zM288 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L368 352l-80 80z" />',viewBox:"0 0 512 512"},decreaseVerticalSpacingIcon:{name:"decrease-vertical-spacing",content:'<path d="M191 320v96h96v64H63v-64h96v-96H-1v-96h160v-96H95V32h160v96h-64v96h160v96H191zm160 105.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-80-80-80 80zm80-226.8 80-80L488.4 96 431 153.4 373.6 96 351 118.6l80 80z" />',viewBox:"0 0 512 512"},deliciousBoxIcon:{name:"delicious-box",content:'<path d="M480 448V64c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32zm-224-32V256H96V96h160v160h160v160H256z" />',viewBox:"0 0 512 512"},deliciousIcon:{name:"delicious",content:'<path d="M256 32h224v224H256V32zM32 256h224v224H32V256z" />',viewBox:"0 0 512 512"},detailSectionIcon:{name:"detail-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-33-224h-63v-32h63v32zm-96-32h-63v32h63v-32zm-96 0h-63v32h63v-32zm192 96h-63v32h63v-32zm-96 0h-63v32h63v-32zm-96 0h-63v32h63v-32z" />',viewBox:"0 0 512 512"},diggBoxIcon:{name:"digg-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM160 203.5V352H64V192h64v-64h32v75.5zM212 352h-32V192h32v160zm0-192h-32v-32h32v32zm119 153.7V416h-96v-32h64v-32h-64V192h96v121.7zm117 0V416h-96v-32h64v-32h-64V192h96v121.7zM96 224h32v96H96v-96zm171 0h32v96h-32v-96zm117 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},diggIcon:{name:"digg",content:'<path d="M96 96v64H32v160h96V96H96zm64 0v32h32V96h-32zm0 64v160h32V160h-32zm64 0v160h64v32h-64v32h96V160h-96zm128 0v160h64v32h-64v32h96V160h-96zM64 192h32v96H64v-96zm192 0h32v96h-32v-96zm128 0h32v96h-32v-96z" />',viewBox:"0 0 512 512"},dimensionsIcon:{name:"dimensions",content:'<path d="M320 0H0v512h128V128h384V0H320zM32 32h64v64H32V32zm64 352H64v32h32v64H32V320h64v64zm0-192H64v32h32v64H32V128h64v64zm128-96V64h-32v32h-64V32h160v64h-64zm256 0h-64V64h-32v32h-64V32h160v64z" />',viewBox:"0 0 512 512"},displayBlockIcon:{name:"display-block",content:'<path d="M32 32h448v32H32zm0 416h448v32H32zm0-64h448V128H32v256zm64-192h320v128H96V192z" />',viewBox:"0 0 512 512"},displayFlexIcon:{name:"display-flex",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM128 128h96v256h-96zm160 0h96v256h-96z" />',viewBox:"0 0 512 512"},displayInlineBlockIcon:{name:"display-inline-block",content:'<path d="M448 32h32v448h-32zM32 32h32v448H32zm64 352h320V128H96v256zm64-192h192v128H160V192z" />',viewBox:"0 0 512 512"},displayInlineFlexIcon:{name:"display-inline-flex",content:'<path d="M96 416h320V96H96v320zm32-288h256v256H128V128zm32 32h64v192h-64zm128 0h64v192h-64zM32 32h32v448H32zm416 0h32v448h-32z" />',viewBox:"0 0 512 512"},divIcon:{name:"div",content:'<path d="M0 416v-6h7.1c7.9 0 13.6-3 16.9-9.1 2-3.6 3-11.8 3-24.5V231.6c0-14-1.3-22.8-3.9-26.3-3.6-4.9-9-7.3-16.1-7.3H0v-6h77.6c28.5 0 50.2 3.8 65 11.4 14.9 7.6 26.8 20.3 35.8 38 9 17.7 13.6 38.2 13.6 61.5 0 31.2-8.1 57.2-24.2 78.1-18.1 23.3-45.6 35-82.6 35H0zm54-16.2c11.9 3.1 21.9 4.6 29.9 4.6 21.7 0 39.8-9 54.1-26.9 14.3-17.9 21.5-42.3 21.5-73 0-30.9-7.2-55.3-21.5-73.2-14.3-17.8-32.8-26.8-55.2-26.8-8.4 0-18 1.6-28.8 4.8v190.5zM298 410v6h-83v-6h6.7c7.8 0 13.5-2.7 17-8.1 2.2-3.5 3.3-12 3.3-25.5V231.6c0-11.4-.6-18.9-1.8-22.5-.9-2.8-2.8-5.1-5.7-7.1-4.1-2.6-8.4-4-12.8-4H215v-6h83v6h-7c-7.9 0-13.7 2.7-17.4 8.1-2.4 3.5-3.6 12-3.6 25.5v144.9c0 11.4.6 18.9 1.9 22.5 1 2.8 3 5.1 6 7.1 4.1 2.6 8.5 4 13.1 4h7zm214-218v6c-6.4 1.4-11.3 3.9-14.6 7.4-4.7 5.3-8.9 13.4-12.6 24.2L421.6 416h-4.9l-67.9-188.8c-3.5-9.7-5.9-15.6-7.4-17.8-2.2-3.3-5-5.9-8.2-7.8-3.3-1.9-7.6-3.1-13.2-3.6v-6h74v6c-8.4 1-13.8 2.7-16.3 5.2s-3.7 5.7-3.7 9.5c0 5.4 2 13.8 6.1 25.2l46.1 128.4L469 239.5c4.2-12.5 6.3-21.2 6.3-26 0-3.1-1.3-6.1-3.9-9-2.6-2.9-6.9-4.9-13.1-6.1-.4-.1-1.2-.3-2.3-.5v-6h56zm0-96H0v32h512V96z" />',viewBox:"0 0 512 512"},divideIcon:{name:"divide",content:'<path d="M416 64 192 448h-64L352 64h64z" />',viewBox:"0 0 512 512"},documentManagerIcon:{name:"document-manager",content:'<path d="M64 416h224v32H64v-32zm224-64H64v32h224v-32zM400 0C288 0 288 96 288 96v160s0 64 80 64 80-64 80-64V96s0-32-48-32-48 32-48 32v128h32V116c0-11 .6-20 16-20s16 9 16 20v140s0 32-48 32-48-32-48-32V96s0-64 80-64 80 64 80 64v128h32V96s0-96-112-96zM106.7 288 96 320H64l64-192h32l64 192h-32l-10.7-32h-74.6zm10.6-32h53.3L144 176l-26.7 80zM320 480H32V96h224V64H32C14.3 64 0 78.3 0 96v384c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V352h-32v128z" />',viewBox:"0 0 512 512"},dollarIcon:{name:"dollar",content:'<path d="M326.6 273c-8.3-7.3-18.4-13.6-30.4-19.1-11.8-5.4-25.2-10.2-40.2-14.5V131.3c6.5.8 13 2.2 17.7 4.2 7.5 3.3 13.7 7.8 18.8 13.7 5.1 5.8 8.9 12.7 11.4 20.7 2.6 8 3.8 16.7 3.8 26.2H352c0-29.2-7.5-52-22.5-68.8s-36-26.8-62.9-30.1c0 0-5-.4-10.6-.8V32h-32v66.2c-11.9 1.5-22.6 4.3-32.2 8.4-10.6 4.5-19.6 10.3-27.1 17.5-7.5 7.2-13.2 15.6-17.2 25.4-4 9.7-6 20.5-6 32.2 0 12.7 2.2 23.8 6.7 33.4s11 18.2 19.5 25.6 18.8 13.8 30.9 19.3c7.8 3.5 16.3 6.8 25.4 9.7v110.7c-2.7-.4-5.4-.9-8.1-1.5-7.9-1.8-15.2-5.1-21.7-9.8-6.5-4.7-11.8-11-15.8-19s-6-18-6-30H128c0 16.2 2.6 30 7.9 41.6 5.3 11.6 12.4 21.2 21.3 28.6 8.9 7.5 19.1 13.3 30.6 17.3s23.4 6.5 35.7 7.5c0 0 .2 0 .5.1V480h32v-64.7c1.9-.2 3.1-.3 3.1-.3 14.1-1.3 26.9-4.1 38.4-8.3 11.5-4.3 21.3-10 29.4-17.1 8.1-7.1 14.3-15.6 18.6-25.4 4.3-9.8 6.5-20.9 6.5-33.2 0-12.5-2.2-23.5-6.5-33-4.3-9.4-10.6-17.8-18.9-25zm-104.7-46.2c-8.8-4.1-15.9-8.4-21.2-12.9s-9.1-9.6-11.3-15c-2.2-5.5-3.4-11.6-3.4-18.5 0-7.4 1.2-14.1 3.6-20.3 2.4-6.1 6-11.3 10.8-15.7 4.8-4.3 10.9-7.7 18.3-10.1 1.7-.6 3.5-1 5.3-1.5v94.9c-.6-.2-1.4-.5-2.1-.9zm81 125.2c-3 6.2-7.5 11.4-13.2 15.8-5.8 4.3-12.8 7.7-21.2 10-3.9 1.1-8.1 1.9-12.5 2.5V279.2c5.6 2 10.7 4.1 15.3 6.2 8.6 4 15.6 8.3 20.9 13 5.4 4.7 9.3 9.7 11.7 15.1 2.4 5.4 3.6 11.3 3.6 17.7 0 7.7-1.5 14.7-4.6 20.8z" />',viewBox:"0 0 512 512"},downloadIcon:{name:"download",content:'<path d="M32 384v96h448v-96H32zM288 32h-64v128h-96l128 160 128-160h-96V32z" />',viewBox:"0 0 512 512"},downloadLightIcon:{name:"download-light",content:'<path d="M368 256 256 384 144 256h96V32h32v224h96Zm112 192H32v32h448v-32Z" />',viewBox:"0 0 512 512"},dragAndDropIcon:{name:"drag-and-drop",content:'<path d="m32 128 192 112L32 352V128zm224 96v32h224v-32H256z" />',viewBox:"0 0 512 512"},dribbbleBoxIcon:{name:"dribbble-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM256 448c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192zm28-164.8c-82.9 28.9-118.1 83.4-126.7 98.7 27.2 21.3 61.5 34.1 98.7 34.1 22.5 0 43.9-4.6 63.3-13-3.3-18.4-13.1-65.2-34.2-120.1-.4 0-.8.2-1.1.3zm-95.5-172.3c-44.9 20.9-78.5 62.1-89 111.8 17.1-.1 78.6-1.7 147.6-20-24.3-43.2-50.3-80.1-58.6-91.8zm79 146.8c2.1-.7 4.3-1.3 6.5-2-4.1-9.3-8.6-18.6-13.3-27.8-74.1 22.2-146.1 23.4-164.6 23.4 0 1.6-.1 3.1-.1 4.7 0 40.8 15.3 78 40.4 106.3 10.5-16.7 54.6-79.9 131.1-104.6zm94.9-121.1C334.2 111.3 296.9 96 256 96c-12.4 0-24.5 1.4-36 4.1 8.7 11.9 34.9 48.8 58.8 92.7 50.7-19 76-46.7 83.6-56.2zm-46.6 138.7C335 328 344 371.9 346.9 387.8c35.2-24.3 60.2-62.5 67.2-106.6-13.2-3.7-53.4-13.1-98.3-5.9zm-24.4-58.1c3.8 7.8 7.5 15.8 10.9 23.8 1.2 2.8 2.4 5.7 3.5 8.5 48-6 95.7 1.8 110.2 4.5-.5-37.2-13.7-71.4-35.4-98.3-8.4 10-36.1 39.8-89.2 61.5z" />',viewBox:"0 0 512 512"},dribbbleIcon:{name:"dribbble",content:'<path d="M256 32C132.469 32 32 132.469 32 256c0 123.5 100.469 224 224 224 123.5 0 224-100.5 224-224 0-123.531-100.5-224-224-224zm148.094 103.281c26.625 32.562 42.781 74.031 43.188 119.188-6.312-1.312-69.562-14.156-133.219-6.156a850.738 850.738 0 0 0-4.125-9.875c-3.969-9.312-8.25-18.594-12.688-27.719 70.75-28.875 102.812-69.969 106.844-75.438zM256 64.969c48.594 0 93.031 18.219 126.812 48.188-3.438 4.906-32.25 43.625-100.281 69.125-31.344-57.594-66.094-104.938-71.375-112A190.999 190.999 0 0 1 256 64.969zm-81.344 18.156c5.031 6.938 39.219 54.312 70.938 110.656-89.5 23.781-168.344 23.438-176.906 23.312 12.406-59.374 52.437-108.718 105.968-133.968zm-110 173.156c0-1.969.031-3.906.094-5.844 8.375.156 101.094 1.375 196.657-27.219 5.469 10.719 10.688 21.594 15.5 32.469a192.95 192.95 0 0 0-7.531 2.281c-98.688 31.875-151.188 118.812-155.531 126.25-30.564-33.937-49.189-78.812-49.189-127.937zM256 447.594c-44.25 0-85-15.094-117.438-40.375 3.438-7.031 42.156-81.875 150.094-119.5.406-.125.812-.281 1.25-.406 26.875 69.812 37.969 128.312 40.812 145.094-22.968 9.781-48.218 15.187-74.718 15.187zm106.875-32.719c-1.938-11.625-12.125-67.625-37.156-136.406 59.969-9.594 112.625 6.125 119.188 8.188-8.532 53.218-39.095 99.218-82.032 128.218z" />',viewBox:"0 0 512 512"},dropletIcon:{name:"droplet",content:'<path d="M256 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S96 404.8 96 312C96 181.3 256 32 256 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136z" />',viewBox:"0 0 512 512"},dropletSlashIcon:{name:"droplet-slash",content:'<path d="m317.9 431 23.2 23.2C316.5 470.6 287.3 480 256 480c-88.4 0-160-75.2-160-168 0-27.8 7.2-56.4 18.6-84.2l24.8 24.8C131.9 274 128 293.9 128 312c0 75 57.4 136 128 136 22.4 0 43.5-6.2 61.9-17zM256 416v-32c-35.3 0-64-28.7-64-64h-32c0 53 43 96 96 96zm224 41.4L457.4 480 32 54.6 54.6 32l108.7 108.7C207 77.7 256 32 256 32s160 149.3 160 280c0 24.1-4.9 47.1-13.6 67.8l77.6 77.6zM384 312c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-1.4 1.9-2.7 3.7-4.1 5.6-.8 1.1-1.5 2.1-2.3 3.2l-1.5 2.1-3 4.2c-.2.3-.4.5-.6.8-1 1.5-2.1 3-3.1 4.5-.1.1-.1.2-.2.3l191.2 191.2c.5-1.6 1-3.3 1.4-4.9 0-.2.1-.4.1-.5.4-1.5.8-2.9 1.1-4.4.1-.3.1-.6.2-.9.3-1.4.6-2.7.9-4.1.1-.4.2-.8.2-1.2.2-1.3.5-2.6.7-3.9.1-.5.2-1 .2-1.5.2-1.2.3-2.5.5-3.7.1-.5.1-1.1.2-1.6l.3-3.6c0-.6.1-1.1.1-1.7.1-1.3.2-2.5.2-3.8 0-.5.1-1 .1-1.6.4-1.9.4-3.7.4-5.5z" />',viewBox:"0 0 512 512"},dropletSliderIcon:{name:"droplet-slider",content:'<path d="M192 384v32c-53 0-96-43-96-96h32c0 35.3 28.7 64 64 64zm160-72c0 92.8-71.6 168-160 168S32 404.8 32 312C32 181.3 192 32 192 32s160 149.3 160 280zm-32 0c0-46.3-25.3-104.7-73-169-20-27-40.3-49.8-55-65.4-14.7 15.6-34.9 38.5-55 65.4-47.8 64.3-73 122.8-73 169 0 75 57.4 136 128 136s128-61 128-136zm128-88h-32v256h32V224zm0-192h-32v64h32V32zm-64 96v64h96v-64h-96z" />',viewBox:"0 0 512 512"},editToolsIcon:{name:"edit-tools",content:'<path d="m260.6 288 11.5 31.5 56.2-56.6L244.2 32H139.8L0 416h76.8l28-76.8 18.6-51.2h137.2zm-17.5-48H140.9L192 99.5 243.1 240zM224 413.3V480h66.7l169.7-168.5-67.9-67.9L224 413.3zm55.3 34-22.6-22.6 135.8-135.8 22.6 22.6-135.8 135.8zm223.4-178-22.6 22.6-67.9-67.9 22.5-22.7c12.5-12.4 32.9-12.4 45.3 0l22.7 22.7c12.4 12.4 12.4 32.8 0 45.3z" />',viewBox:"0 0 512 512"},envelopBoxIcon:{name:"envelop-box",content:'<path d="m377 182.4-88.8 88.8-31.2 29-33.2-29-88.8-88.8c-7.7 2-13.8 8.1-15.8 15.8l73 73-73 73c2 7.7 8.1 13.8 15.8 15.8l73-73 49 44.8 47-44.8 73 73c7.7-2 13.8-8.1 15.8-15.8l-73-73 73-73c-2-7.7-8.1-13.8-15.8-15.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-32 329.6c0 12.4-10 22.4-22.4 22.4H118.4C106 384 96 374 96 361.6V182.4c0-12.4 10-22.4 22.4-22.4h275.2c12.4 0 22.4 10 22.4 22.4v179.2z" />',viewBox:"0 0 512 512"},envelopIcon:{name:"envelop",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm23.7 32L256 296.3 424.3 128c11 2.9 19.7 11.6 22.6 22.6L342.6 254.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L320 277.5l-64 64-64-64L87.7 381.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L65.1 150.6c2.9-11 11.6-19.7 22.6-22.6z" />',viewBox:"0 0 512 512"},envelopLinkIcon:{name:"envelop-link",content:'<path d="M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16zM32 0C14.3 0 0 14.3 0 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H32zm23.7 32L224 200.3 392.3 32c11 2.9 19.7 11.6 22.6 22.6L310.6 158.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L288 181.5l-64 64-64-64L55.7 285.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L33.1 54.6C36 43.6 44.7 34.9 55.7 32z" />',viewBox:"0 0 512 512"},envelopeBoxIcon:{name:"envelope-box",content:'<path d="m377 182.4-88.8 88.8-31.2 29-33.2-29-88.8-88.8c-7.7 2-13.8 8.1-15.8 15.8l73 73-73 73c2 7.7 8.1 13.8 15.8 15.8l73-73 49 44.8 47-44.8 73 73c7.7-2 13.8-8.1 15.8-15.8l-73-73 73-73c-2-7.7-8.1-13.8-15.8-15.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-32 329.6c0 12.4-10 22.4-22.4 22.4H118.4C106 384 96 374 96 361.6V182.4c0-12.4 10-22.4 22.4-22.4h275.2c12.4 0 22.4 10 22.4 22.4v179.2z" />',viewBox:"0 0 512 512"},envelopeIcon:{name:"envelope",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm23.7 32L256 296.3 424.3 128c11 2.9 19.7 11.6 22.6 22.6L342.6 254.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L320 277.5l-64 64-64-64L87.7 381.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L65.1 150.6c2.9-11 11.6-19.7 22.6-22.6z" />',viewBox:"0 0 512 512"},envelopeLinkIcon:{name:"envelope-link",content:'<path d="M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16zM32 0C14.3 0 0 14.3 0 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H32zm23.7 32L224 200.3 392.3 32c11 2.9 19.7 11.6 22.6 22.6L310.6 158.9l104.3 104.3c-2.9 11-11.6 19.7-22.6 22.6L288 181.5l-64 64-64-64L55.7 285.8c-11-2.9-19.7-11.6-22.6-22.6l104.3-104.3L33.1 54.6C36 43.6 44.7 34.9 55.7 32z" />',viewBox:"0 0 512 512"},equalIcon:{name:"equal",content:'<path d="M96 288h320v64H96v-64zm0-128v64h320v-64H96z" />',viewBox:"0 0 512 512"},exclamationCircleIcon:{name:"exclamation-circle",content:'<path d="M224 128h64v160h-64V128zm0 256h64v-64h-64v64zm256-128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},exeIcon:{name:"exe",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160z" />',viewBox:"0 0 512 512"},exportIcon:{name:"export",content:'<path d="M96 480c-4.3 0-8.5-.8-12.5-2.5-3.8-1.6-7.3-3.9-10.2-6.9-2.9-2.9-5.3-6.4-6.9-10.2-1.7-3.9-2.5-8.2-2.5-12.5V192c0-4.3.8-8.5 2.5-12.5 1.6-3.8 3.9-7.3 6.9-10.2 2.9-2.9 6.4-5.3 10.2-6.9 3.9-1.7 8.2-2.5 12.5-2.5h96.3v31.9H96.4v256.3h319.1V191.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm192-160V126h64.5L256 32l-96.5 94H224v194h64z" />',viewBox:"0 0 512 512"},eyeIcon:{name:"eye",content:'<path d="M256 128c-94.8 0-179.8 51.5-224 128 44.3 76.5 129.3 128 224 128s179.8-51.5 224-128c-44.2-76.5-129.2-128-224-128zm-32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM69.8 256c18.4-26.4 44.8-48.7 72.6-65.1 12.2-7.2 25.1-13.2 38.4-17.9-22.6 20.5-36.8 50.1-36.8 83s14.2 62.5 36.8 83c-13.3-4.7-26.2-10.7-38.4-17.9-27.8-16.4-54.2-38.7-72.6-65.1zm299.8 65.1c-12.2 7.2-25.1 13.2-38.4 17.9 22.6-20.5 36.8-50.1 36.8-83s-14.2-62.5-36.8-83c13.3 4.7 26.2 10.7 38.4 17.9 27.8 16.4 54.2 38.7 72.6 65.1-18.5 26.4-44.8 48.7-72.6 65.1z" />',viewBox:"0 0 512 512"},eyeSlashIcon:{name:"eye-slash",content:'<path d="m245.43 358.68 24.92 24.92c-4.75.26-9.54.4-14.34.4-94.7 0-179.7-51.5-224-128 13.19-22.83 30.01-43.43 49.65-61.1l23.01 23.01C91.46 229.29 79.51 242.07 69.8 256c26.33 33.77 54.15 53.86 72.6 65.1 39.18 23.88 77.54 33.37 103.03 37.58m131.42-4.44L480 457.39 457.39 480 345.51 368.12s-.07.03-.1.04L232.2 254.94l.11-.03-39.21-39.21-.03.11-26.8-26.8s.04-.05.06-.08l-7.01-7.01s-.06.03-.09.04l-24.17-24.17s.06-.03.09-.05L32 54.61 54.61 32l111.87 111.87A260.193 260.193 0 0 1 256 128c94.8 0 179.8 51.5 224 128-24 41.53-60.05 75.69-103.15 98.24Zm-7.25-33.14c27.8-16.4 54.1-38.7 72.6-65.1-18.4-26.4-44.8-48.7-72.6-65.1-12.2-7.2-25.1-13.2-38.4-17.9 22.6 20.5 36.8 50.1 36.8 83 0 25.15-8.31 48.37-22.32 67.08l7.01 7.01c5.76-2.76 11.41-5.74 16.91-8.99Z" />',viewBox:"0 0 512 512"},eyedropperIcon:{name:"eyedropper",content:'<path d="m461.1 56.9-6.2-6.2c-25-25-65.5-25-90.5 0l-60.8 60.8-4.3-4.3c-6.2-6.2-16.4-6.2-22.6 0l-9.4 9.4c-6.2 6.2-6.2 16.4 0 22.6l4.3 4.3L70.8 344.4c-8.2 8.2-14 18.5-16.8 29.7l-21.5 85.7c-2.2 8.6 3.1 17.4 11.7 19.5 2.6.6 5.2.6 7.8 0l85.7-21.4c11.3-2.8 21.5-8.6 29.7-16.8l200.8-200.8 4.4 4.4c6.2 6.2 16.4 6.2 22.6 0l9.4-9.4c6.2-6.2 6.2-16.4 0-22.6l-4.4-4.4 60.8-60.8c25-25 24.9-65.5.1-90.6zM224 320h-64l144-144 32 32-112 112z" />',viewBox:"0 0 512 512"},facebookBoxIcon:{name:"facebook-box",content:'<path d="M57.6 32C43.6 32 32 43.5 32 57.6v396.8c0 14 11.5 25.6 25.6 25.6h396.8c14 0 25.6-11.5 25.6-25.6V57.6c0-14-11.5-25.6-25.6-25.6H57.6zm315.8 65.5c24.1 0 42 2.3 42 2.3L414 155s-18.2-.2-38.1-.2c-21.5 0-24.9 9.9-24.9 26.1V224h64.1l-2.8 59H351v165h-63V283h-44v-59h44v-50.5c0-39.6 25.8-76 85.4-76z" />',viewBox:"0 0 512 512"},facebookIcon:{name:"facebook",content:'<path d="M290 32c-59.8 0-96 32-96 96v64h-66v96h66v192h96V288h80l14-96h-94v-32c0-32 32-32 32-32h62V34.9c-7.2-.9-65.4-2.9-94-2.9z" />',viewBox:"0 0 512 512"},fileAddIcon:{name:"file-add",content:'<path d="M512 416h-64v64h-32v-64h-64v-32h64v-64h32v64h64v32zM96 448V64h224v96h96v96h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h224v-32" />',viewBox:"0 0 512 512"},fileAscxIcon:{name:"file-ascx",content:'<path d="M384 224h-96v-32h96v32zm0 160h-96v-32h96v32zM256 256H128v-96h128v96zm0 160H128v-96h128v96zm96-384H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileAudioIcon:{name:"file-audio",content:'<path d="M218 353.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V256.6l96-22.6v87.8c-5.5-2.9-12.1-4.5-19-4.5-21 0-38 14.8-38 33.2s17 33.2 38 33.2 38-14.8 38-33.2V192.2l-134 31.5v130.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileBacIcon:{name:"file-bac",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H289v-96h64l-96.5-96-95.5 96h64v96H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileConfigIcon:{name:"file-config",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-41.8-124.6-23.7-17.9c1-5.7 1.6-11.5 1.6-17.4 0-6-.5-11.8-1.6-17.4l23.7-17.9c3.7-2.8 4.7-7.9 2.4-11.9l-19.4-33.5c-2.3-4-7.2-5.6-11.5-3.9L318.4 215c-8.8-7.5-19-13.5-30.2-17.4l-3.7-29.5c-.6-4.6-4.5-8-9.1-8h-38.7c-4.6 0-8.5 3.4-9.1 8l-3.7 29.5c-11.1 4-21.3 9.9-30.2 17.4l-27.4-11.6c-4.2-1.8-9.2-.1-11.5 3.9l-19.4 33.5c-2.3 4-1.3 9.1 2.4 11.9l23.7 17.9c-1 5.7-1.6 11.5-1.6 17.4 0 6 .5 11.8 1.6 17.4l-23.7 17.9c-3.7 2.8-4.7 7.9-2.4 11.9l19.4 33.5c2.3 4 7.2 5.6 11.5 3.9l27.4-11.6c8.8 7.5 19 13.5 30.2 17.4l3.7 29.5c.6 4.6 4.5 8 9.1 8h38.7c4.6 0 8.5-3.4 9.1-8l3.7-29.5c11.1-4 21.3-9.9 30.2-17.4l27.4 11.6c4.2 1.8 9.2.1 11.5-3.9l19.4-33.5c2.2-4 1.2-9-2.5-11.8zM256 336c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z" />',viewBox:"0 0 512 512"},fileCsvIcon:{name:"file-csv",content:'<path d="M178.6 224c-10 0-18.9 2.1-26.7 6.2-7.7 4.2-13.7 10.1-17.9 17.7-4.2 7.6-6.3 16.3-6.3 26.1 0 9.1 1.9 17.1 5.7 24.1s9.2 12.3 16.4 16.1c7.2 3.8 15.7 5.7 25.6 5.7 10 0 18.9-1.4 26.6-4.1v-24.9c-6.9 3.5-13.8 5.2-20.5 5.2-7.3 0-13.2-2.1-17.6-6.4-4.4-4.3-6.6-10.1-6.6-17.6s2.2-13.4 6.6-17.7 10.4-6.5 18-6.5c3.7 0 7.3.4 10.9 1.3s6.7 2.1 9.2 3.6V227c-7.6-2-15.3-2.9-23.4-3zm73.8.1c-11.5 0-20.6 2.7-27.5 8.1-6.8 5.4-10.2 12.5-10.2 21.5 0 12.8 7.5 22.1 22.4 27.8 4.6 1.7 7.8 3.1 9.5 4.1 1.7 1 3 2 3.8 3.2.8 1.2 1.2 2.5 1.2 4 0 2.1-.8 3.7-2.5 4.8-1.7 1.1-4.1 1.7-7.1 1.7-4.1 0-8.4-.9-13.2-2.6-4.7-1.8-9-4-12.9-6.9V315c8.1 3.3 17 4.9 26.7 4.9 8.4 0 15.5-1.1 21.5-3.4 6-2.2 10.6-5.7 13.9-10.2 3.3-4.6 5-9.9 5-16.1 0-6.3-2-11.8-6-16.4-4-4.6-10.8-8.9-20.4-12.8-4.9-2-8.1-3.7-9.6-5-1.5-1.3-2.3-2.9-2.3-4.8 0-2 1-3.6 2.8-4.8 1.9-1.2 4.4-1.8 7.5-1.8 7.6 0 15.2 2.1 23 6.4v-23.6c-4-1.1-7.1-1.8-9.3-2.2-2.2-.4-4.7-.7-7.4-1-2.7-.1-5.8-.1-8.9-.1zm39.8-.1 30 96h31.4l30.4-96h-29.1l-13.8 58.9c-1.1 4.4-1.8 8.1-2 11.1h-.6c-.1-2.4-.8-5.9-1.9-10.7L322.4 224h-30.2zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileDataIcon:{name:"file-data",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM128 229.3v149.4c0 20.6 19.1 37.3 42.7 37.3h170.6c23.6 0 42.7-16.7 42.7-37.3V229.3c0-20.6-19.1-37.3-42.7-37.3H170.7c-23.6 0-42.7 16.7-42.7 37.3zM247 379h-76v-47h76v47zm18-112h76v47h-76v-47zm0 65h76v47h-76v-47zm-18-19h-76v-47h76v47z" />',viewBox:"0 0 512 512"},fileDiscImageIcon:{name:"file-disc-image",content:'<path d="M256.1 322.7c3.7 0 7.2-1.1 10.1-3s5.2-4.5 6.7-7.6c1.2-2.5 1.9-5.2 1.9-8.1 0-10.3-8.4-18.7-18.7-18.7-2.8 0-5.4.6-7.7 1.7-3.4 1.6-6.3 4.1-8.3 7.3-1.7 2.8-2.7 6.1-2.7 9.7 0 10.4 8.3 18.7 18.7 18.7zm-52.5-117.8c-19.1 10.1-34.9 25.5-45.4 44.4-9 16.1-14.1 34.7-14.1 54.4 0 61.7 50 111.7 111.7 111.7 20 0 38.8-5.3 55.1-14.5 18.6-10.6 33.9-26.4 43.9-45.4 8.1-15.5 12.7-33.1 12.7-51.8 0-61.7-50-111.7-111.7-111.7-18.9 0-36.7 4.7-52.2 12.9zm89.8 99.2c0 6.1-1.4 11.8-4 16.9l48.7 25.8c-8.3 15.8-20.9 28.9-36.3 37.7l-26.6-48.3c-5.6 3.3-12.1 5.3-19.1 5.3-20.6 0-37.4-16.7-37.4-37.4 0-6.8 1.8-13.2 5-18.7l-49.2-27.1c8.8-15.7 22-28.6 38-37l26.8 49.3c5-2.5 10.7-3.9 16.7-3.9 20.7 0 37.4 16.7 37.4 37.4zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileErrorIcon:{name:"file-error",content:'<path d="M160 320h32V160h-32v160zm16 32c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileExcelIcon:{name:"file-excel",content:'<path d="m288 304 64 112h-48l-48-84.5-31.5 52.5H256v32h-96l64-112-64-112h48l48 84 48-84h48l-64 112zm64-272H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileFlashIcon:{name:"file-flash",content:'<path d="M352 191.3V237c-21 .2-46.6-3.2-69.6 45H320v45h-47.9s-37.4 91.1-111.9 90.1c-.6-10 0-30.8 0-45 49.3-7.6 65.4-62.1 76.8-89.4 26.5-82.8 73.9-92 93.4-92.1 5.6 0 21.6.7 21.6.7zm96-63.3v320c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32h256l96 96zm-32 32h-96V64H96v384h320V160z" />',viewBox:"0 0 512 512"},fileFooterIcon:{name:"file-footer",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-224H128v-32h256v32zm0-96H128v32h256v-32zm0 160H128v96h256v-96z" />',viewBox:"0 0 512 512"},fileHeaderIcon:{name:"file-header",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm0 416H96V64h320v384zm-32-64H128v-32h256v32zm0-96H128v32h256v-32zm0-160H128v96h256v-96z" />',viewBox:"0 0 512 512"},fileHorizontalIcon:{name:"file-horizontal",content:'<path d="M384 64H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160l-96-96zm64 352H64V96h288v96h96v224z" />',viewBox:"0 0 512 512"},fileIcon:{name:"file",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileImageIcon:{name:"file-image",content:'<path d="M298.7 385.2S272.2 288 213.1 288s-85 128-85 128h256s-11.9-78.7-42.7-78.7-42.7 47.9-42.7 47.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM288 256c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32z" />',viewBox:"0 0 512 512"},fileMdbIcon:{name:"file-mdb",content:'<path d="M231.1 192 144 416h80v-32h-25.5l14.8-38h85.6l27.2 70h42L281 192h-49.9zm-1.5 112 26.5-68 26.4 68h-52.9zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},filePdfIcon:{name:"file-pdf",content:'<path d="M240.9 160c-7.6 0-13.8 4-15.4 9.9-4.9 18.6.2 46.3 9.4 82.3l-2.4 5.9c-6.6 16.4-14.8 33-22.1 47.6l-1 1.9c-7.7 15.3-14.6 28.4-21 39.4l-6.5 3.5c-.5.3-11.6 6.3-14.3 7.9-22.2 13.6-36.9 28.9-39.4 41.2-.8 3.9-.2 8.9 3.7 11.2l6.3 3.2c2.7 1.4 5.6 2.1 8.6 2.1 15.8 0 34.2-20.2 59.5-65.3 29.2-9.7 62.5-17.8 91.6-22.3 22.2 12.8 49.5 21.7 66.8 21.7 3.1 0 5.7-.3 7.8-.9 3.3-.9 6.1-2.8 7.8-5.4 3.4-5.2 4-12.2 3.1-19.5-.3-2.1-2-4.8-3.8-6.6-5.1-5.2-16.5-7.9-33.7-8.1-11.7-.1-25.8.9-40.6 3-6.6-3.9-13.5-8.2-18.8-13.3-14.4-13.8-26.5-32.9-34-53.9.5-2 .9-3.7 1.3-5.4 0 0 8.1-47.1 6-63.1-.3-2.2-.5-2.8-1.1-4.5l-.7-1.9c-2.2-5.2-6.5-10.7-13.3-10.4l-3.8-.2zm2.7 8.4c5.1 0 8 13.1 8.2 25.4.3 12.3-2.6 20.9-6 27.3-2.9-9.4-4.3-24.3-4.3-34-.1-.1-.3-18.7 2.1-18.7zm.4 104.1c8.6 16 19.3 29.5 31.9 40.4 1.6 1.3 3.2 2.7 5 4.1-25.6 5.2-47.7 11.5-67.1 19.1 3.6-6.5 7.2-13.3 11-20.6 9.1-17.7 14.9-31.6 19.2-43zm102.2 51.6c9.3 0 12 0 21.1 2.3 9.1 2.4 9.2 7.2 7.6 8.2-1.6 1-6 1.6-8.9 1.6-9.2 0-20.7-4.3-36.8-11.4 6.3-.4 11.9-.7 17-.7zm-165.4 35.8c-17.7 28.8-29.5 40.3-37.3 43.8 2.9-8.1 14.3-24 31.2-38.1 1.1-.9 3.7-3.4 6.1-5.7zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},filePptIcon:{name:"file-ppt",content:'<path d="m192 192-32 32h32v192h49v-80h25.6c16.4 0 29.1-1.5 38.2-4.4 14.4-4.5 25.9-12.9 34.4-25.4s12.8-26.6 12.8-42.6c0-15.8-4-29.5-12-41.1s-18.8-20.1-32.4-25.4c-10.3-3.7-24.4-5.5-42-5.5M241 225h20.1c11.2.3 20.2 2.1 26.9 5.6 12.1 6.4 23.3 17.6 23.3 33.5 0 17.3-11.9 29-25.2 35-6.7 2.9-15.1 4.4-25.2 3.9H241v-78zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},filePresentationIcon:{name:"file-presentation",content:'<path d="M127.5 214.4c0 9.9 6.1 18.2 14.5 21.2v113.1c0 12.4 9.6 22.4 21.3 22.4H246v11.8l-13.6 14.6c-1.9 2-3 4.8-3 8 0 6.3 4.7 11.3 10.5 11.3 2.8 0 5.5-1.3 7.4-3.3.1-.1.2-.3.4-.4l8.9-9.6 8.9 9.6c.1.1.2.3.4.4 1.9 2 4.5 3.3 7.4 3.3 5.8 0 10.5-5 10.5-11.3 0-3.1-1.2-6-3-8L267 382.8V371h78.8c11.1 0 20.1-9.3 20.9-21h1.3V235.9c9-2.6 15.7-11.3 15.7-21.6 0-12.4-9.5-22.4-21.3-22.4H148.8c-11.8.1-21.3 10.1-21.3 22.5zM299 237h43v89h-43v-89zm-64 26h43v63h-43v-63zm-64 18h43v45h-43v-45zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileProgrammingIcon:{name:"file-programming",content:'<path d="m236 256-52.6-.2-48.6 48.6.1.1c-4.1 3.9-6.7 9.4-6.7 15.5 0 5.8 2.3 11 6 14.8l49.1 49.1 46.8-.2-59.7-59.7c.2-.9.3-1.8.3-2.8L236 256zm105.2 65.5c.1.9.2 1.9.3 2.8L281.9 384l46.8.2 49.1-49.1c3.7-3.8 6-9.1 6-14.8 0-6.1-2.6-11.6-6.7-15.5l.1-.1-48.6-48.7-52.6.2 65.2 65.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},filePsdIcon:{name:"file-psd",content:'<path d="M128 160v256h45v-91h21.4c24.2 0 43.5-7.8 57.9-23.4 14.4-15.6 21.6-36.1 21.6-61.3 0-53.4-25.2-80.2-75.5-80.2H128zm45 44h17.5c23.7 0 35.5 12.8 35.5 38.6 0 26.3-11.8 39.4-35.5 39.4H173v-78zm164.6 51.7c-8.1 0-15.9.9-23.4 2.8-7.5 1.9-14.2 4.7-20 8.6-5.8 3.9-10.4 9-14 15.2-3.5 6.2-5.2 13.6-5.2 22.1 0 6.2.8 11.7 2.3 16.3 1.5 4.5 3.7 8.6 6.7 12.1 2.9 3.5 6.5 6.5 10.8 9.2 4.3 2.7 9.3 5.1 15 7.4 3.5 1.5 7.2 2.8 11 4 3.8 1.2 7.3 2.5 10.5 4s5.8 3.2 7.8 5.2 3 4.5 3 7.5c0 4.7-2.2 8.2-6.7 10.4-4.5 2.3-10.6 3.4-18.5 3.4-6.4 0-13.3-1.2-20.5-3.4s-14.5-5.8-21.7-10.4v38.3c13.4 5.2 27.9 7.7 43.7 7.7 8.5 0 16.8-.9 24.7-2.8 7.9-1.8 15-4.8 21.1-8.8s10.9-9.2 14.7-15.7 5.5-14.2 5.5-23.3c0-6.5-.9-12-2.7-16.8-1.8-4.7-4.4-8.7-7.8-12.2-3.4-3.5-7.4-6.5-12.2-9.1-4.7-2.6-10-5-15.9-7.1-3.2-1.2-6.5-2.4-9.8-3.5s-6.3-2.4-9-3.9-4.9-3.1-6.5-5.2c-1.6-2.1-2.5-4.4-2.5-7.1 0-2.1.5-3.9 1.7-5.6 1.1-1.7 2.6-3 4.6-4 2-1 4.2-1.8 6.7-2.4s5.2-.8 8.1-.8c6.1 0 12.3.9 18.8 2.6 6.4 1.7 12.3 4.4 18 7.8v-36.4c-6.3-2-12.8-3.5-19.3-4.5s-13-1.6-19.3-1.6h.3zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288z" />',viewBox:"0 0 512 512"},fileReportIcon:{name:"file-report",content:'<path d="M416 32H96a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h320a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32Zm0 416H96V64h320Zm-96-96-160 .14V384l160-.14Zm32-64-192 .17V320l192-.17ZM223.15 127.9a64 64 0 1 0 64 64h-64Zm32-32v64h64a64 64 0 0 0-63.99-64Z" />',viewBox:"0 0 512 512"},fileTxtIcon:{name:"file-txt",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-96v32H128v-32h256zM256 160v32H128v-32m256 64v32H128v-32h256zm-256 96v-32h224v32H128z" />',viewBox:"0 0 512 512"},fileTypescriptIcon:{name:"file-typescript",content:'<path d="M64 128h192v48h-72v208h-48V176H64v-48zm316.6 107.6c-35-12.6-50.1-21.6-50.1-40.6 0-14.6 12.9-29.9 43.3-29.9 24.6 0 42.9 7.1 52.3 11.8l11.5-36.6c-13.6-6.5-34.4-12.3-62.8-12.3-56.8 0-92.7 30.6-92.7 71.3 0 35.6 27.6 57.6 70.9 72.1 33.1 11.4 46.4 22.4 46.4 41.2 0 20.3-17.1 33.9-47.6 33.9-24.4 0-47.9-7.4-63.3-15.8l-10.6 37.6c14.3 8.3 43.1 15.8 70.8 15.8 67.6 0 99.3-34.6 99.3-74.6 0-35.8-21.9-57.4-67.4-73.9z" />',viewBox:"0 0 512 512"},fileVideoIcon:{name:"file-video",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zM304 304.8v-.8c0-8.8-7.2-16-16-16h-10.1c24.2-3.1 42.8-24.3 41.8-49.6-1-24.8-21.2-45-46-46-27.4-1.1-49.9 20.8-49.9 48 0 24.4 18.2 44.6 41.8 47.6h-70.4c17.2-1.7 30.3-16.9 28.7-34.8-1.4-15.5-14.1-27.9-29.6-28.9-18.7-1.3-34.2 13.5-34.2 31.9 0 16.6 12.7 30.2 28.8 31.8H176c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h111.7c8.4 0 15.6-6.3 16.3-14.6.2-3.1-.3-6.1-1.7-8.7l1.8 1.1 44.9 27.1c1.3.8 2.7 1.2 4.1 1.2 1.3 0 2.7-.3 3.9-1 2.5-1.4 4.1-4.1 4.1-7v-95.8c0-2.9-1.5-5.5-4-6.9s-5.5-1.5-8 0L304 304.8zM193.5 272c-.5.1-1 .1-1.5.1s-1 0-1.5-.1h-.2c-8.6-.8-15.1-8.5-14.3-17.2.6-7.9 7.2-14.2 15.1-14.6 9.2-.5 16.8 6.9 16.8 16 .1 8.1-6.1 15-14.4 15.8zm82.3-.3c-.3 0-.6.1-.9.1-1 .1-2.1.2-3.1.2s-2.1 0-3.1-.2c-.3 0-.6-.1-.9-.1-15.9-2-27.9-15.7-27.9-31.7 0-17.6 14.4-32 32-32s32 14.4 32 32c-.1 16.1-12.1 29.7-28.1 31.7z" />',viewBox:"0 0 512 512"},fileWordIcon:{name:"file-word",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32.4-256-6.9 32-41.6 192h-46.7l-32.8-132.5L222.9 416h-46.7l-48.6-224h47.8l24.8 139.2L233.3 192h44.5l33.1 139.2L330.1 224H311v-32h72.6z" />',viewBox:"0 0 512 512"},fileWrenchIcon:{name:"file-wrench",content:'<path d="M470.7 480 448 502.7c-12.4 12.4-32.8 12.4-45.1-.1l-93.1-93.1c-11.8 4.2-24.5 6.5-37.8 6.5-61.9 0-112-50.1-112-112 0-13.2 2.3-25.9 6.5-37.6l48.9 48.9c12.4 12.4 32.8 12.4 45.3 0l22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-48.9-48.9c11.8-4.2 24.4-6.5 37.6-6.5 61.9 0 112 50.1 112 112 0 13.2-2.3 25.9-6.5 37.6l93.2 93.1c12.4 12.5 12.4 32.9 0 45.3zm-22.8-23-86.3-86.3c-6.4 8.6-14 16.2-22.6 22.6l86.4 86.3 22.6-22.5v-.1h-.1zM96 64h224v96h96v128h32V128l-96-96H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h160v-32H96V64z" />',viewBox:"0 0 512 512"},fileZipIcon:{name:"file-zip",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h64v32h32v32h-32v32h32v32h-32v32h32v32h-32v32h32v34.7c-18.6 6.6-32 24.4-32 45.3 0 26.5 21.5 48 48 48s48-21.5 48-48c0-20.9-13.4-38.7-32-45.3V256h32v-32h-32v-32h32v-32h-32v-32h32V96h-32V64h96v96h96v288zm-192-80c0 8.8-7.2 16-16 16s-16-7.2-16-16 7.2-16 16-16 16 7.2 16 16z" />',viewBox:"0 0 512 512"},filesErrorIcon:{name:"files-error",content:'<path d="M64 64h224l-32-32H64c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h64v-32H64V64zm208 320c-8.8 0-16 7.2-16 16s7.2 16 16 16 16-7.2 16-16-7.2-16-16-16zM384 96H192c-17.7 0-32 14.3-32 32v320c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V192l-96-96zm64 352H192V128h160v96h96v224zm-192-96h32V192h-32v160z" />',viewBox:"0 0 512 512"},filmIcon:{name:"film",content:'<path d="M416 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 448H96v-32h32v32zm0-96H96v-64h32v64zm0-128H96v-64h32v64zm0-128H96V64h32v32zm224 352H160v-96h192v96zm0-128H160V192h192v128zm0-160H160V64h192v96zm64 288h-32v-32h32v32zm0-96h-32v-64h32v64zm0-128h-32v-64h32v64zm0-128h-32V64h32v32z" />',viewBox:"0 0 512 512"},filterAddExpressionIcon:{name:"filter-add-expression",content:'<path d="M480 64v32H32V64h448zm-192 96h192v-32H288v32zm0 128h192v-64H288v64zm0 96h192v-32H288v32zm0 64h192v-32H288v32zM96 352h64v-64h64v-64h-64v-64H96v64H32v64h64v64z" />',viewBox:"0 0 512 512"},filterAddGroupIcon:{name:"filter-add-group",content:'<path d="M352 352v32h-32v64h32v32h-64V352h64zm64 0v32h32v64h-32v32h64V352h-64zM160 160H96v64H32v64h64v64h64v-64h64v-64h-64v-64zm128 0h192v-32H288v32zM32 64v32h448V64H32zm256 224h192v-64H288v64z" />',viewBox:"0 0 512 512"},filterClearIcon:{name:"filter-clear",content:'<path d="m143.5 64 168.2 168.2L288 256v160l-64 64V256L64 96V64h79.5zm236.1 100.4L448 96V64H279.3l-64-64L192 22l298 298 22-23.3-132.4-132.3z" />',viewBox:"0 0 512 512"},filterIcon:{name:"filter",content:'<path d="M64 64v32l160 160v224l64-64V256L448 96V64H64z" />',viewBox:"0 0 512 512"},filterSmallIcon:{name:"filter-small",content:'<path d="M128 128h256v32l-96 96v96l-64 64V256l-96-96v-32z" />',viewBox:"0 0 512 512"},filterSortAscSmallIcon:{name:"filter-sort-asc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM64 224h64v160h32V224h64l-80-96-80 96z" />',viewBox:"0 0 512 512"},filterSortDescSmallIcon:{name:"filter-sort-desc-small",content:'<path d="M448 128v32l-96 96v64l-32 64V256l-96-96v-32h224zM144 384l80-96h-64V128h-32v160H64l80 96z" />',viewBox:"0 0 512 512"},flashManagerIcon:{name:"flash-manager",content:'<path d="M255.9 0C114.6 0 0 114.6 0 256.1 0 397.4 114.6 512 255.9 512 397.4 512 512 397.4 512 256.1 512 114.6 397.4 0 255.9 0zM384 160c-30.1.3-48.4-4.6-81.2 64H352v64h-64s-53.5 129.4-160 128c-.8-14.2 0-43.9 0-64 70.5-10.7 93.6-88.3 109.9-126.9C286.3 74.5 384 95.1 384 95.1V160z" />',viewBox:"0 0 512 512"},flipHorizontalIcon:{name:"flip-horizontal",content:'<path d="M448 448H288V64l160 384zm-384 0L224 64v384H64zm128-224-80 192h80V224z" />',viewBox:"0 0 512 512"},flipVerticalIcon:{name:"flip-vertical",content:'<path d="M64 288h384L64 448V288zm0-224v160h384L64 64zm32 128v-80l192 80H96z" />',viewBox:"0 0 512 512"},folderAddIcon:{name:"folder-add",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64h-32v-64H96v-32zm352 224h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192v-32H64V96z" />',viewBox:"0 0 512 512"},folderIcon:{name:"folder",content:'<path d="m242.8 128-32-32H96v288h320V192H128v-32h288c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64" />',viewBox:"0 0 512 512"},folderMoreIcon:{name:"folder-more",content:'<path d="M64 384h96v32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h128l64 64h-45.2l-32-32H64v288zm192-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160-64v-96c0-17.7-14.3-32-32-32H96v32h288v96h32zm32 64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z" />',viewBox:"0 0 512 512"},folderOpenIcon:{name:"folder-open",content:'<path d="M425.6 160h-246c-17.6 0-37.2 14.4-43.6 32L64 384V96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h268.4c17.6 0 37.2-14.4 43.6-32l70-192c6.4-17.6-2.8-32-20.4-32zM346 373.1c-2 5.5-10.1 10.9-13.6 10.9H98.1L166 202.9c2-5.5 10.1-10.9 13.6-10.9h232.3L346 373.1z" />',viewBox:"0 0 512 512"},folderUpIcon:{name:"folder-up",content:'<path d="M96 160h288c17.7 0 32 14.3 32 32v64l-32 32v-96H96v-32zM64 96h114.8l32 32H256l-64-64H64c-17.7 0-32 14.3-32 32v288c0 17.7 14.3 32 32 32h192l32-32H64V96zm336 240-80 80h64v64h32v-64h64l-80-80z" />',viewBox:"0 0 512 512"},fontFamilyIcon:{name:"font-family",content:'<path d="M224 416V160h-95l-.8-64H384v64h-96v256h-64z" />',viewBox:"0 0 512 512"},fontGrowIcon:{name:"font-grow",content:'<path d="m384 32-96 128h192L384 32ZM222 96h-60L32 480h60l32.4-96h135.2l32.4 96h60L222 96Zm-78 230.4 48-141.7 48 141.7h-96Z" />',viewBox:"0 0 512 512"},fontShrinkIcon:{name:"font-shrink",content:'<path d="m384 160 96-128H288l96 128Zm-152 0h-48L80 480h48l25.9-80h108.2l25.9 80h48L232 160Zm-62.4 192L208 233.9 246.4 352h-76.8Z" />',viewBox:"0 0 512 512"},fontSizeIcon:{name:"font-size",content:'<path d="M97 224 32 416h29l16.9-50H146l16.9 50h29l-65-192H97zm-8.9 112 23.9-70.6 23.9 70.6H88.1zM376 96h-48L224 416h48l26-80h108l26 80h48L376 96zm-62.4 192L352 169.8 390.4 288h-76.8z" />',viewBox:"0 0 512 512"},foregroundColorIcon:{name:"foreground-color",content:'<path d="M299.5 96h-87.1L96 416h64l23.3-64h145.4l23.3 64h64L299.5 96zm-92.9 192L256 152.2 305.4 288h-98.8z" />',viewBox:"0 0 512 512"},formElementIcon:{name:"form-element",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32zm160 128H96v32h96v-32zm192 0H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm0 64H224v32h160v-32zm-192 0H96v32h96v-32zm0-64H96v32h96v-32zm0-64H96v32h96v-32z" />',viewBox:"0 0 512 512"},formIcon:{name:"form",content:'<path d="M416 32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32h-32V0h-32v32H96V0H64v32H32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32H0v32h32v32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v32h32v-32h32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32v-32h32v-32h-32V96h32V64h-32V32h-32zm0 384H64V64h352v352zm32 64v-32h32v32h-32zm32-448h-32V0h32v32zM0 448h32v32H0v-32zM32 0v32H0V0h32z" />',viewBox:"0 0 512 512"},formatCodeBlockIcon:{name:"format-code-block",content:'<path d="M224 352v160h288V352H224zm102.6 105.4L304 480l-48-48 22.6-22.6L304 384l22.6 22.6-25.3 25.4 25.3 25.4zM432 480l-22.6-22.6 25.4-25.4-25.4-25.4L432 384l25.4 25.4L480 432l-48 48zM192 160V32c0-17.6-14.4-32-32-32h-32c-17.6 0-32 14.4-32 32v128L0 256h288l-96-96zm96 128H0v192h64V320h32v160h32V320h32v160h32V320h96v-32z" />',viewBox:"0 0 512 512"},formulaFxIcon:{name:"formula-fx",content:'<path d="m214 183.4-24.7 110c-11.5 53.4-22.7 92.1-33.7 116.1-11 24-23.8 41.8-38.4 53.2-14.7 11.6-31.5 17.3-50.5 17.3-12 0-20.7-2.7-26.3-8-5.6-5.3-8.4-11.5-8.4-18.7 0-6.7 2.3-12.5 7-17.4 4.7-4.9 10.8-7.3 18.3-7.3 6.3 0 11.2 1.9 14.5 5.6 3.4 3.7 5.1 8.5 5.1 14.2 0 5.2-1 9.1-3.2 11.6-2.1 2.5-3.2 4.2-3.2 5l1 1.7c.8.8 1.8 1.2 3 1.2 4.2 0 7.8-1.5 10.8-4.7 7.4-7.7 13-17 16.6-27.9 2.5-7.5 7.4-27.4 14.5-59.5l43-192.6h-29.3l7-28.7c10.5.2 18.2-1.4 23-4.7 4.8-3.3 9.8-10.6 15.2-22 15.4-33.1 31.7-60.1 48.9-74.4S260.4 32 281.5 32c13.5 0 23.3 3 29.4 9.1 6.1 6.1 9.2 13.9 9.2 23.5 0 8.5-2 15.2-6.1 20.2-4.1 5.1-9.2 7.5-15.2 7.5-5.6 0-10.3-2-13.9-6.1-3.6-4.1-5.5-9-5.5-14.7 0-4.1 1.1-8.4 3.5-13 2.3-4.6 3.5-7.7 3.5-9.3 0-1.8-.5-3.3-1.6-4.4-1-1.1-2.4-1.7-4.1-1.7-8.3 0-16.8 5.9-25.5 17.9-14.3 19.1-25.9 52.5-34.5 93.8h30.5l-7.4 28.7-29.8-.1zm78.7 22.7 68.9-14.1c12.5 23.3 21.3 48.9 26.5 76.9 12.9-22.7 22.7-38.6 29.3-47.6 8.8-12.2 16.1-20.1 21.8-23.8 5.8-3.7 11.9-5.5 18.3-5.5 7.2 0 12.8 2.4 16.7 7 3.9 4.7 5.8 11 5.8 19 0 7.5-2 13.6-5.8 18.4-3.9 4.7-8.7 7.1-14.5 7.1-4.2 0-9-.9-14.5-2.7-5.4-1.8-9.3-2.7-11.3-2.7-5.6 0-10.8 2.4-15.8 7-6.8 6.4-15.2 20.1-25.3 41 11.2 46.9 20.1 75.5 26.9 85.8 3.9 6.1 7.9 9.2 12.1 9.2 3.4 0 6.4-1 8.9-3 3.8-3.3 9.7-11.5 17.6-24.6l7.1 4.9c-11.6 22.2-22.9 37.9-34 46.9-8.4 7-16.7 10.6-24.9 10.6-8.4 0-15.4-2.3-21-6.7-5.6-4.5-10.6-11.7-14.9-21.8-4.4-10-9.5-26.2-15.4-48.4-15.4 23.3-27.5 40.3-36.3 51-8.7 10.7-16 17.7-21.8 21-5.8 3.3-12 4.9-18.6 4.9-6.8 0-12.3-2.4-16.3-7-4-4.7-6-10.8-6-18.3 0-7.9 2.2-14.5 6.5-19.6 4.3-5.2 9.9-7.7 16.6-7.7 3.6 0 7.6 1.3 12.1 3.7 6.6 3.8 11.3 5.7 14.2 5.7 3.8 0 7.2-.9 10.3-2.8 3.9-2.4 9-7.4 15-15.3 3.7-4.8 10.5-15.1 20.4-31-12.6-55.8-22.5-89.1-29.6-100-4.5-7-10.2-10.6-17-10.6-3.6 0-7.9.6-13 1.9l1-8.8z" />',viewBox:"0 0 512 512"},forwardIcon:{name:"forward",content:'<path d="M0 416V96l256 160L0 416zm512-160L256 96v320l256-160z" />',viewBox:"0 0 512 512"},fullscreenExitIcon:{name:"fullscreen-exit",content:'<path d="M160 32H96v96H0v64h160V32zM96 480h64V320H0v64h96v96zm416-288v-64h-96V32h-64v160h160zm-96 192h96v-64H352v160h64v-96z" />',viewBox:"0 0 512 512"},fullscreenIcon:{name:"fullscreen",content:'<path d="M0 32h160v64H64v96H0V32zm64 288H0v160h160v-64H64v-96zM352 32v64h96v96h64V32H352zm96 384h-96v64h160V320h-64v96z" />',viewBox:"0 0 512 512"},gapColumnIcon:{name:"gap-column",content:'<path d="M32 32v448h448V32H32zm416 416H64V64h384v384zM96 96h96v320H96zm224 0h96v320h-96z" />',viewBox:"0 0 512 512"},gapRowIcon:{name:"gap-row",content:'<path d="M480 32H32v448h448V32zM64 448V64h384v384H64zM96 96h320v96H96zm0 224h320v96H96z" />',viewBox:"0 0 512 512"},gaugeLinearIcon:{name:"gauge-linear",content:'<path d="M16 164h480v184H16V164ZM90 58h110l-55 74-55-74ZM16 380h36v74H16v-74Zm444 0h36v74h-36v-74Zm-222 0h36v74h-36v-74Zm-111 0h36v36h-36v-36Zm222 0h36v36h-36v-36Z" />',viewBox:"0 0 512 512"},gaugeRadialIcon:{name:"gauge-radial",content:'<path d="M256 16C123.5 16 16 123.5 16 256s107.5 240 240 240 240-107.5 240-240S388.5 16 256 16Zm0 445.7c-113.4 0-205.7-92.3-205.7-205.7 0-113.4 92.3-205.7 205.7-205.7 113.4 0 205.7 92.3 205.7 205.7 0 113.4-92.3 205.7-205.7 205.7Zm0-377.1c94.7 0 171.4 76.7 171.5 171.5h-68.6c0-56.8-46.2-102.9-102.9-102.9-22.2 0-42.8 7-59.6 19l37.4 37.4c6.7-3.2 14.3-5 22.2-5 28.4 0 51.4 23 51.4 51.4s-23 51.4-51.4 51.4-51.4-23-51.4-51.4c0-8 1.8-15.5 5-22.2l-37.4-37.4c-11.9 16.9-19 37.4-19 59.6H84.6c0-41.2 14.5-78.9 38.7-108.5l-12.7-12.7 24.2-24.2 12.7 12.7c29.6-24.2 67.3-38.7 108.5-38.7Z" />',viewBox:"0 0 512 512"},gearIcon:{name:"gear",content:'<path d="m462.7 317.9-41.5-31.4c1.8-9.9 2.8-20.1 2.8-30.5 0-10.4-1-20.6-2.8-30.5l41.5-31.4c6.4-4.9 8.2-13.8 4.2-20.8L433 114.6c-4-7-12.6-9.9-20.1-6.7l-48 20.2c-15.4-13.2-33.3-23.6-52.8-30.5L305.8 46c-1-8-7.8-14-15.9-14h-67.8c-8.1 0-14.9 6-15.9 14l-6.5 51.6c-19.5 6.9-37.4 17.3-52.8 30.5l-48-20.2c-7.4-3.1-16-.2-20.1 6.7l-33.9 58.7c-4 7-2.2 15.9 4.2 20.8l41.5 31.4C89 235.4 88 245.6 88 256c0 10.4 1 20.6 2.8 30.5l-41.5 31.4c-6.4 4.9-8.2 13.8-4.2 20.8L79 397.4c4 7 12.6 9.9 20.1 6.7l48-20.2c15.4 13.2 33.3 23.6 52.8 30.5l6.5 51.6c1 8 7.8 14 15.9 14h67.8c8.1 0 14.9-6 15.9-14l6.5-51.6c19.5-6.9 37.4-17.3 52.8-30.5l48 20.2c7.4 3.1 16 .2 20.1-6.7l33.9-58.7c3.7-7 1.9-15.9-4.6-20.8zM256 340c-46.4 0-84-37.6-84-84s37.6-84 84-84 84 37.6 84 84-37.6 84-84 84z" />',viewBox:"0 0 512 512"},gearsIcon:{name:"gears",content:'<path d="m331.9 364.2-29.6-22.4c1.3-7.1 2-14.3 2-21.8 0-7.4-.7-14.7-2-21.8l29.6-22.4c4.6-3.5 5.9-9.8 3-14.8l-24.2-42c-2.9-5-9-7.1-14.3-4.8L262 228.7c-11-9.4-23.8-16.9-37.7-21.8l-4.6-36.9c-.7-5.7-5.6-10-11.3-10H160c-5.8 0-10.6 4.3-11.3 10l-4.6 36.9c-13.9 4.9-26.7 12.4-37.7 21.8l-34.3-14.5c-5.3-2.2-11.5-.2-14.3 4.8l-24.3 42c-2.9 5-1.6 11.3 3 14.8l29.6 22.4c-1.3 7.1-2 14.3-2 21.8 0 7.4.7 14.7 2 21.8l-29.6 22.4c-4.6 3.5-5.9 9.8-3 14.8l24.2 42c2.9 5 9 7.1 14.3 4.8l34.3-14.5c11 9.4 23.8 16.9 37.7 21.8l4.6 36.9c.7 5.7 5.6 10 11.3 10h48.4c5.8 0 10.6-4.3 11.3-10l4.6-36.9c13.9-4.9 26.7-12.4 37.7-21.8l34.3 14.5c5.3 2.2 11.5.2 14.3-4.8l24.2-41.9c3-5 1.8-11.4-2.8-14.9zM184.2 380c-33.1 0-60-26.9-60-60s26.9-60 60-60 60 26.9 60 60-26.9 60-60 60zm293.1-225.5L459.4 141c.8-4.2 1.2-8.6 1.2-13 0-4.5-.4-8.8-1.2-13l17.8-13.4c2.7-2.1 3.5-5.9 1.8-8.9l-14.5-25.2c-1.8-3-5.4-4.2-8.6-2.8l-20.6 8.7c-6.7-5.7-14.3-10.1-22.7-13.1L409.9 38c-.4-3.4-3.3-6-6.8-6h-29c-3.4 0-6.4 2.5-6.8 6l-2.7 22.2c-8.3 2.9-16 7.5-22.7 13.1l-20.6-8.7c-3.2-1.4-6.9-.1-8.6 2.8l-14.5 25.2c-1.8 3-1 6.9 1.8 8.9l17.8 13.4c-.8 4.2-1.2 8.6-1.2 13 0 4.5.4 8.8 1.2 13L300 154.5c-2.7 2.1-3.5 5.9-1.8 8.9l14.5 25.2c1.8 3 5.4 4.2 8.6 2.8l20.6-8.7c6.7 5.7 14.3 10.1 22.7 13.1l2.7 22.2c.4 3.4 3.3 6 6.8 6h29c3.4 0 6.4-2.5 6.8-6l2.7-22.2c8.3-2.9 16-7.5 22.7-13.1l20.6 8.7c3.2 1.4 6.9.1 8.6-2.8l14.5-25.2c1.8-3 1-6.9-1.7-8.9zm-88.7 9.5c-19.9 0-36.1-16.2-36.1-36.1s16.2-36.1 36.1-36.1c19.9 0 36.1 16.2 36.1 36.1-.1 19.9-16.1 36.1-36.1 36.1z" />',viewBox:"0 0 512 512"},globeIcon:{name:"globe",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm106.2 314.7c-34.7 10-66.7 64.2-76.4 101.3-17.9-9.4 9.8-90.2 5.4-112.4-4.3-22.1-13-14.4-22.6-27.6-17.8-31.5.9-48.3-5.6-55.9-6.5-7.7-4.9-18.3-45-29.9-40.1-11.6-75.9-81.9-87.8-104.1-11.9-22.1 26.6-47 81.3-52.6 10.3-1 19.7-1.5 28.4-1.5 37.8.1 61.9 9 80 17.5 22.2 10.5 20.1 39.3 8.1 39.3s-35.8-16.6-47.2 23.2-40.1 19.9-59.1 39.3 24.4 37.1 33.6 49.3c9.2 12.2 33.1-.6 52.6 3.9 32.6 28.8 66.7 41 74.3 54.8 3.3 16.6 4.4 34.9-20 55.4z" />',viewBox:"0 0 512 512"},globeLinkIcon:{name:"globe-link",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6c11.1 0 13.1-26.1-7.5-35.7-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3zM224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48zm208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80zm0 64H272c-8.8 0-16 7.2-16 16s7.2 16 16 16h160c8.8 0 16-7.2 16-16s-7.2-16-16-16z" />',viewBox:"0 0 512 512"},globeOutlineIcon:{name:"globe-outline",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM64 256c0-57 24.8-108.2 64.3-143.3.3 1.8 1 3.6 1.9 5.4 11.9 22.1 47.7 92.5 87.8 104.1 40.1 11.6 38.6 22.2 45 29.9 6.5 7.7-12.2 24.4 5.6 55.9 9.6 13.2 18.3 5.5 22.6 27.6 4.1 21-20.6 95-7.8 110.4-9 1.3-18.1 2-27.4 2-106 0-192-86-192-192zm222.4 189.6c10.5-37 41.8-89.2 75.8-98.9 24.4-20.5 23.3-38.8 20.1-55.4-7.6-13.9-41.7-26-74.3-54.8-19.5-4.4-43.4 8.3-52.6-3.9-9.2-12.2-52.6-29.9-33.6-49.3s47.7.6 59.1-39.3 35.2-23.2 47.2-23.2S342.2 92 320 81.5c-16.7-7.9-38.6-16.1-71.7-17.4 2.6-.1 5.2-.2 7.8-.2 106 0 192 86 192 192C448 351.7 378 431 286.4 445.6z" />',viewBox:"0 0 512 512"},globeUnlinkIcon:{name:"globe-unlink",content:'<path d="M161.7 412.6C69.1 391.2 0 308.1 0 209 0 93.6 93.6 0 209 0s209 93.6 209 209c0 58.2-23.8 110.8-62.2 148.7-20.5-23.1-50.4-37.7-83.8-37.7-3.9 0-7.8.2-11.6.6 12-15.9 26.4-28.8 41.3-33 22.6-18.6 21.6-35.2 18.6-50.2-7-12.6-38.7-23.6-68.8-49.7-18.1-4-40.2 7.5-48.7-3.5-8.5-11.1-48.7-27.1-31.1-44.7s44.2.5 54.8-35.7C236.9 67.6 259 82.6 270 82.6s13.1-26.1-7.5-35.7c-20.6-9.5-49.7-19.6-100.5-14.6-50.7 5-86.4 27.6-75.4 47.7 11.1 20.1 44.2 83.9 81.4 94.5 37.2 10.6 35.7 20.2 41.7 27.1 6 7-11.3 22.2 5.1 50.8 8.9 12 17 5 21 25.1 1.9 9.4-2.7 30.3-6.4 50.8-34.9 14.4-61 46-67.7 84.3M224 432c0-5.1.8-10.1 2.3-14.7C232.5 398 250.6 384 272 384h64c-1.5-1.9-3-3.8-4.6-5.6-14.6-16.2-35.8-26.4-59.4-26.4-12.2 0-23.8 2.7-34.1 7.6-4.4 2.1-8.6 4.6-12.5 7.4-16.4 11.8-28.2 29.7-32 50.4-.9 4.7-1.4 9.6-1.4 14.6 0 44.2 35.8 80 80 80 26.2 0 49.4-12.6 64-32h-64c-26.5 0-48-21.5-48-48m208-80c-26.2 0-49.4 12.6-64 32h64c26.5 0 48 21.5 48 48s-21.5 48-48 48h-64c14.6 19.4 37.8 32 64 32 44.2 0 80-35.8 80-80s-35.8-80-80-80" />',viewBox:"0 0 512 512"},googleBoxIcon:{name:"google-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zm-34.1-42.6c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},googleIcon:{name:"google",content:'<path d="M268.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-21.9 23.4-28.3 37.3-6.3 13.9-9.4 27.7-9.4 41.5 0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7c10.6 7.9 23.8 14.1 39.7 18.8 15.9 4.7 34.4 7 55.5 7 25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.1-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S315.3 52 315.3 52H352l31.7-20-115.4 1zm-37.1 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7s-5.7 15.7-12.4 22.4c-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S185 76.6 190 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.1-5.4 23-5.4zM260 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5 4.1-7 8.9-12.9 14.4-17.6s11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 7-.3 8.2-.4z" />',viewBox:"0 0 512 512"},googlePlusBoxIcon:{name:"google-plus-box",content:'<path d="M212.6 236.1c5.1-5.1 8.2-10.8 9.4-17.1s1.8-11.6 1.8-15.8c0-8.1-1.2-17-3.6-26.6s-6-18.6-10.8-27-10.7-15.4-17.7-21-15.2-8.4-24.4-8.4c-6 0-11.8 1.3-17.5 4.1s-10.3 6.3-13.9 10.8c-3.9 4.8-6.5 10-7.8 15.7s-2 11.6-2 17.6c0 7.5 1.1 15.9 3.4 25.2 2.3 9.3 5.7 18 10.3 26.1s10.5 14.9 17.5 20.5c7 5.5 15.3 8.3 24.9 8.3 5.7 0 11.3-1.2 16.8-3.6s10-5.2 13.6-8.8zM448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM270.9 394.1c-5.1 10.2-12.6 19.3-22.4 27.2s-22.2 14.4-37 19.4c-14.8 4.9-31.8 7.4-50.9 7.4-16.2 0-30.3-1.8-42.4-5.4s-22.2-8.4-30.3-14.4-14.1-12.8-18-20.4-5.9-15.6-5.9-24c0-8.1 2.5-17.2 7.4-27.6s14-19.4 27.2-27.2c6.8-4.2 14.3-7.6 22.2-10.1s15.8-4.6 23.6-6c7.8-1.5 15.1-2.5 22-3.1s12.9-1.1 18-1.3c-3.3-4.2-6.4-8.6-9.2-13.3s-4.3-10.4-4.3-17.3c0-3.9.4-7.1 1.3-9.7s1.9-5.2 3.1-7.9c-2.4.3-4.8.5-7.2.7s-4.8.2-7.2.2c-12 0-22.6-2-31.9-6-9.3-4-17.1-9.3-23.4-15.9-6.3-6.6-11.1-14.1-14.3-22.7s-4.9-17.2-4.9-25.8c0-10.5 2.4-21 7.2-31.6s12-20.1 21.6-28.5c12.8-10.5 26.4-17.2 40.6-20.2s27.5-4.5 39.7-4.6H288l-28.7 16h-27.8c2.7 1.9 5.8 4.7 9.4 8.1 3.6 3.5 7 7.6 10.3 12.6s6.1 10.7 8.5 17.3 3.6 14.1 3.6 22.5-1.1 15.7-3.1 22c-2.1 6.3-4.9 11.9-8.5 16.9s-7.6 9.4-12.1 13.5-9.2 7.9-13.9 11.5c-3 3-5.9 6.1-8.5 9.4s-4 7.5-4 12.6 1.3 9.1 4 11.9 5.2 5.3 7.6 7.4l16.2 12.6c4.8 4.2 9.5 8.4 14.1 12.6 4.6 4.2 8.7 8.7 12.1 13.5 3.5 4.8 6.2 10.1 8.3 16.2s3.2 12.9 3.2 20.7c-.1 10.2-2.6 20.5-7.8 30.8zM448 192h-64v64h-32v-64h-64v-32h64V96h32v64h64v32zM236.8 351.5c-3.9-4.5-9-9.1-15.3-13.9s-13.6-10.2-22-16.2c-1.8-.3-3.4-.4-4.7-.4h-5.6c-.9 0-3 .1-6.3.2s-7.2.4-11.7.9-9.3 1.2-14.3 2.3-10 2.3-14.8 3.8c-2.4.9-5.8 2.3-10.1 4.3s-8.6 4.7-12.8 8.3-7.8 8.1-11 13.5c-3.1 5.4-4.7 12.1-4.7 20.2 0 16.2 7.1 29.3 21.3 39.5s33.4 15.3 57.7 15.3c21.5 0 37.9-4.5 49.2-13.7s16.8-20.7 16.8-34.8c0-5.7-1-10.8-2.9-15.5s-4.9-9.3-8.8-13.8z" />',viewBox:"0 0 512 512"},googlePlusIcon:{name:"google-plus",content:'<path d="M204.3 33c-16.1-1-33.4 1-52 4.9s-36.4 12.8-53.2 26.5c-12.6 11-22 23.4-28.3 37.3s-9.4 27.7-9.4 41.5c0 11.4 2.1 22.7 6.5 33.8 4.3 11.1 10.6 21.1 18.8 29.7 8.2 8.6 18.4 15.6 30.6 20.9 12.2 5.3 26.1 7.9 41.8 7.9 3.1 0 6.2-.1 9.4-.3s6.3-.5 9.4-.9c-1.6 3.5-2.9 7-4.1 10.3-1.2 3.3-1.8 7.6-1.8 12.6 0 9 1.9 16.5 5.6 22.6s7.7 11.9 12 17.4c-6.7.4-14.5 1-23.5 1.8s-18.6 2.1-28.8 4.1-20.5 4.6-30.9 7.9-20.1 7.7-29.1 13.2c-17.2 10.2-29.1 22-35.6 35.6-6.5 13.6-9.7 25.6-9.7 36.2 0 11 2.6 21.5 7.7 31.5s12.9 18.9 23.5 26.7C73.8 462 87 468.3 102.9 473s34.4 7 55.6 7c25.1 0 47.3-3.2 66.7-9.7s35.6-14.9 48.5-25.3 22.7-22.3 29.4-35.6c6.7-13.3 10-26.9 10-40.6 0-10.2-1.4-19.3-4.2-27.1-2.7-7.9-6.4-14.9-10.8-21.2-4.5-6.3-9.8-12.2-15.9-17.7s-12.3-11-18.5-16.5l-21.2-16.5c-3.2-2.8-6.5-6-10-9.7s-5.3-8.9-5.3-15.6c0-6.7 1.8-12.2 5.3-16.5s7.2-8.4 11.2-12.4c6.2-4.7 12.4-9.7 18.2-15 5.9-5.3 11.2-11.2 15.9-17.6 4.7-6.5 8.4-13.8 11.2-22.1 2.7-8.2 4.1-17.9 4.1-28.8s-1.5-20.8-4.7-29.5c-3.1-8.6-6.8-16.2-11.2-22.7-4.3-6.5-8.8-12-13.5-16.5S251.3 52 251.3 52H288l31.7-20-115.4 1zm-37 17.8c12.2 0 22.8 3.6 32 10.9s17 16.4 23.2 27.5c6.2 11 11 22.8 14.1 35.4s4.7 24.2 4.7 34.8c0 5.5-.8 12.4-2.3 20.7-1.6 8.3-5.7 15.7-12.4 22.4-4.7 4.7-10.7 8.7-18 11.8-7.3 3.2-14.6 4.7-22 4.7-12.5 0-23.4-3.6-32.6-10.9-9.2-7.3-16.9-16.3-22.9-26.8-6.1-10.6-10.6-22-13.5-34.2s-4.4-23.2-4.4-33.1c0-7.9.9-15.5 2.7-23S121 76.6 126 70.3c4.7-5.9 10.8-10.6 18.2-14.1 7.5-3.6 15.2-5.4 23.1-5.4zM196.1 314h7.3c1.8 0 3.8.2 6.2.6 11 7.8 20.6 14.9 28.8 21.2 8.2 6.2 14.9 12.4 20 18.2 5.1 5.9 8.9 11.8 11.5 18 2.5 6 3.8 12.8 3.8 20.3 0 18.4-7.3 33.6-22 45.6-14.7 11.9-36.2 17.9-64.4 17.9-31.8 0-57-6.7-75.6-20s-27.9-30.6-27.9-51.7c0-10.6 2.1-19.4 6.2-26.5s8.9-12.9 14.4-17.6 11.1-8.3 16.8-10.8c5.7-2.6 10.1-4.4 13.2-5.6 6.3-2 12.7-3.6 19.4-5s12.9-2.4 18.8-3c5.9-.6 11-1 15.3-1.2 4.2-.2 6.9-.3 8.2-.4zM384 32v64h-64v32h64v64h32v-64h64V96h-64V32h-32z" />',viewBox:"0 0 512 512"},graphIcon:{name:"graph",content:'<path d="M64 448h416v32H32V32h32v416zm128-192-96 96v64h384V160L288 320l-96-64zM416 64l14.2 14.2L288 192l-96-64-96 96v64l96-96 96 64 174.5-145.4L480 128V64h-64z" />',viewBox:"0 0 512 512"},grayscaleIcon:{name:"grayscale",content:'<path d="M32 64C14.3 64 0 78.3 0 96v320c0 17.7 14.3 32 32 32h416c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H32zm0 32h416v320H32V96zm48 32c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm64 0c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16s16-7.2 16-16V144c0-8.8-7.2-16-16-16zm0 4c6.6 0 12 5.4 12 12v224c0 6.6-5.4 12-12 12s-12-5.4-12-12V144c0-6.6 5.4-12 12-12zm-64 1c6.1 0 11 4.9 11 11v224c0 6.1-4.9 11-11 11s-11-4.9-11-11V144c0-6.1 4.9-11 11-11zm-64 2c5 0 9 4 9 9v224c0 5-4 9-9 9s-9-4-9-9V144c0-5 4-9 9-9zm-64 1c4.4 0 8 3.6 8 8v224c0 4.4-3.6 8-8 8s-8-3.6-8-8V144c0-4.4 3.6-8 8-8zm-64 4c2.2 0 4 1.8 4 4v224c0 2.2-1.8 4-4 4s-4-1.8-4-4V144c0-2.2 1.8-4 4-4z" />',viewBox:"0 0 512 512"},greaterOrEqualIcon:{name:"greater-or-equal",content:'<path d="M160 318.1 286.1 192 160 65.9 193.9 32l160 160-160 160-33.9-33.9zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},gridIcon:{name:"grid",content:'<path d="M32 32h128v128H32V32zm160 448h128V352H192v128zm-160 0h128V352H32v128zm0-160h128V192H32v128zm160 0h128V192H192v128zM352 32v128h128V32H352zm0 288h128V192H352v128zM192 160h128V32H192v128zm160 320h128V352H352v128z" />',viewBox:"0 0 512 512"},gridLayoutIcon:{name:"grid-layout",content:'<path d="M32 32h96v96H32V32zm128 0v96h320V32H160zM32 288h96v-96H32v96zm128 0h320v-96H160v96zM32 448h96v-96H32v96zm128 0h320v-96H160v96z" />',viewBox:"0 0 512 512"},groupBoxIcon:{name:"group-box",content:'<path d="M144 81.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H160v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM316 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H192v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM450 110c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zM128 256h256v32H128v-32zm0 64h256v32H128v-32zm0 64h256v32H128v-32zm256 32H128v-32h256v32zm0-128H128v-32h256v32zm0 64H128v-32h256v32zm32-96h32v192c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256h32v192h320V256z" />',viewBox:"0 0 512 512"},groupCollectionIcon:{name:"group-collection",content:'<path d="M448 352H160v-32h288v32zm0 32H160v32h288v-32zm0-288H160v32h288V96zm0 64H160v32h288v-32zM64 192V96h64l32-32H32v160h128l-32-32H64zm0 224v-96h64l32-32H32v160h128l-32-32H64z" />',viewBox:"0 0 512 512"},groupFooterSectionIcon:{name:"group-footer-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-160H128v96h320v-96zm0-160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},groupHeaderSectionIcon:{name:"group-header-section",content:'<path d="m128 448 32 32H32V32h128l-32 32H64v384h64zm320-320H128v96h320v-96zm0 160H128v32h320v-32zm0 64H128v32h320v-32z" />',viewBox:"0 0 512 512"},groupIcon:{name:"group",content:'<path d="M32 256h192v192H32V256zm0-32h192V32H32v192zm224 224h192V256H256v192zm0-416v192h192V32H256z" />',viewBox:"0 0 512 512"},groupSectionIcon:{name:"group-section",content:'<path d="m128 416 32 32H32V32h128l-32 32H64v352h64zm320-288H128v32h320v-32zm0 192H128v32h320v-32zm0-96H128v32h320v-32z" />',viewBox:"0 0 512 512"},h1Icon:{name:"h1",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm192-69.9 63-26.1h1v185.3c0 12.3.5 20 1.5 23s3.2 5.3 6.4 7 14.1 2.5 24.1 2.8v6h-96v-6c10.4-.2 20.9-1.1 23.9-2.7s5.1-3.7 6.3-6.3c1.2-2.6 1.8-10.5 1.8-23.7V258.8c0-16-.5-26.2-1.6-30.8-.8-3.5-2.1-6-4.1-7.6-2-1.6-4.4-2.4-7.2-2.4-4 0-9.5 1.7-16.7 5l-2.4-4.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},h2Icon:{name:"h2",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm336 86-15.3 42H320v-5.5c38.2-34.9 65.1-63.3 80.7-85.4 15.6-22.1 23.4-42.3 23.4-60.6 0-14-4.3-25.4-12.8-34.4-8.6-9-18.8-13.5-30.7-13.5-10.8 0-20.5 3.2-29.1 9.5-8.6 6.3-15 15.6-19.1 27.8h-6c2.7-20 9.7-35.4 20.9-46.1 11.2-10.7 25.2-16.1 42-16.1 17.9 0 32.8 5.7 44.7 17.2 12 11.5 17.9 25 17.9 40.6 0 11.1-2.6 22.3-7.8 33.4-8 17.5-21 36.1-39 55.7-27 29.4-43.8 47.2-50.5 53.3h56.9c11.8 0 20-.4 24.8-1.3 4.7-.9 9-2.6 12.8-5.3 3.8-2.7 7.1-6.5 10-11.4l4.9.1zm48-278H0v32h512V96z" />',viewBox:"0 0 512 512"},h3Icon:{name:"h3",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm195.6-50.6c6.4-14.5 14.5-25.7 24.3-33.6 9.8-7.9 22-11.9 36.6-11.9 18 0 31.9 5.6 41.5 16.9 7.3 8.4 11 17.3 11 26.9 0 15.7-10.3 31.9-30.9 48.7 13.8 5.2 24.3 12.6 31.4 22.3 7.1 9.7 10.6 21 10.6 34 0 18.7-6.2 34.8-18.6 48.5-16.2 17.8-39.6 26.7-70.2 26.7-15.2 0-25.5-1.8-31-5.4s-8.2-7.5-8.2-11.6c0-3.1 1.3-5.8 3.9-8.1 2.6-2.3 5.7-3.5 9.4-3.5 2.8 0 5.6.4 8.5 1.3 1.9.5 6.1 2.5 12.8 5.8 6.6 3.3 11.2 5.3 13.8 6 4.1 1.2 8.5 1.8 13.1 1.8 11.3 0 21.1-4.2 29.5-12.6s12.5-18.3 12.5-29.8c0-8.4-1.9-16.5-5.8-24.5-2.9-5.9-6-10.4-9.5-13.5-4.8-4.2-11.3-8.1-19.6-11.5s-16.8-5.2-25.4-5.2H358v-4.8c8.7-1.1 17.5-4.1 26.3-9.1s15.2-11 19.2-18 6-14.7 6-23.1c0-10.9-3.6-19.8-10.7-26.5s-16-10.1-26.6-10.1c-17.2 0-31.5 8.8-43 26.4l-5.6-2.5zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},h4Icon:{name:"h4",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm341 47v23h-29v58h-27v-58h-93v-20.7L422.1 192H440v143h29zm-56 0V226.1L336 335h77zm99-239H0v32h512V96z" />',viewBox:"0 0 512 512"},h5Icon:{name:"h5",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm320-96-12.6 28h-66L355 249.1c28.6 4.2 51.2 14.9 68 32 14.3 14.7 21.5 32 21.5 51.9 0 11.6-2.3 22.3-7 32.1s-10.6 18.2-17.7 25.2c-7.1 6.9-15 12.5-23.8 16.7-12.4 6-25.1 8.9-38.2 8.9-13.2 0-22.7-2.2-28.7-6.7s-9-9.4-9-14.9c0-3 1.2-5.7 3.7-8s5.6-3.5 9.4-3.5c2.8 0 5.3.4 7.4 1.3 2.1.9 5.7 3.1 10.8 6.7 8.1 5.6 16.3 8.4 24.6 8.4 12.6 0 23.7-4.8 33.3-14.4s14.3-21.2 14.3-35c0-13.3-4.3-25.7-12.8-37.3-8.5-11.5-20.3-20.4-35.3-26.7-11.8-4.9-27.8-7.7-48.1-8.4l42.1-85.5H448zm64-96H0v32h512V96z" />',viewBox:"0 0 512 512"},h6Icon:{name:"h6",content:'<path d="M128 288h96v-57c0-11.2-.7-18.6-2.1-22.2-1.1-2.7-3.3-5-6.8-7-4.6-2.6-10.1-3.9-15.3-3.9H192v-6h96v6h-7.7c-5.1 0-10 1.2-14.5 3.7-3.4 1.7-5.7 4.3-7 7.8-1.2 3.5-1.8 10.7-1.8 28.3V384c0 4.3.7 11.6 2.1 15.2 1.1 2.7 3.2 5 6.6 7 4.7 2.6 9.6 3.9 14.7 3.9h7.7v6h-96v-6h7.7c9 0 16.2-2.6 20.3-7.9 2.7-3.5 4.1-11.8 4.1-24.9V304h-96v73.1c0 11.1.7 18.4 2.1 22 1.1 2.7 3.4 5 6.8 7 4.7 2.6 9.6 3.9 14.8 3.9h8.3v6H64v-6h7.8c9.1 0 16.2-2.6 20.3-7.9 2.6-3.5 3.9-11.8 3.9-18.1V237.9c0-18.1-.7-25.5-2.1-29-1.1-2.7-3.3-5-6.6-7-4.8-2.6-10.3-3.9-15.5-3.9H64v-6h96v6h-8c-5.3 0-10.2 1.2-14.9 3.7-3.4 1.7-5.7 4.3-7.1 7.8-1.3 3.5-2 10.7-2 21.4V288zm316-96v5.9c-13.1 1.4-23.9 4.2-32.2 8.4s-16.5 10.6-24.6 19.2c-8.1 8.6-14.8 18.2-20.2 28.7-5.3 10.6-9.8 23.1-13.4 37.6 14.3-10.5 28.7-15.8 43.2-15.8 13.8 0 25.8 5.9 36 17.8S448 321 448 339.6c0 18-5.1 34.5-15.4 49.3-12.3 18-28.7 27-49 27-13.8 0-25.6-4.9-35.2-14.6-18.9-19-28.4-43.6-28.4-73.8 0-19.3 3.6-37.7 10.9-55s17.6-32.8 31.1-46.3 26.4-22.5 38.8-27.2 23.8-7 34.5-7h8.7zm-92.9 111.4c-1.8 14.3-2.7 25.9-2.7 34.7 0 10.2 1.8 21.2 5.3 33.2 3.5 11.9 8.8 21.4 15.8 28.4 5.1 5 11.3 7.5 18.5 7.5 8.7 0 16.4-4.3 23.2-13 6.8-8.7 10.2-21.1 10.2-37.2 0-18.1-3.4-33.8-10.2-47.1S394.8 290 382.4 290c-3.8 0-7.8.8-12.2 2.5-4.3 1.6-10.7 5.2-19.1 10.9zM512 96H0v32h512V96z" />',viewBox:"0 0 512 512"},handIcon:{name:"hand",content:'<path d="M442.5 130.7c-15.5-6.7-33.7-.2-41.4 15.1-8.2 21.3-23.3 79.9-25.8 87.6-2.1 6.5-5 12-11.3 9.7-4.7-1.7-3.5-7.2-2.4-12.6l2.7-17 18.1-112.4c2.8-17.4-9-33.8-26.5-36.6-17.4-2.8-33.8 9-36.6 26.5L304 197.9s-2.1 14.1-3 18.7c-1 5.2-1.4 12.3-7.7 11.9-5-.3-5.3-3.8-5.3-7.3V64c0-17.6-14.2-31.9-31.8-32h.1-.3c-17.7 0-32 14.3-32 32v.4c0 1.1.9 140.6.6 149.7-.2 5.4-.7 9.5-6.8 10.3-7.8 1.1-8.6-8-8.6-8l-3.1-20.9v.7L190 90.8v.1c-2.6-17.5-18.9-29.5-36.2-26.9-17.5 2.6-29.5 18.9-26.9 36.2 0 .1 0 .2.1.3l24.8 165.3 2.4 15.9c.5 3.2-.7 6.6-3.3 8.6l-.1.1c-4.1 3.1-10 2.5-13.5-1.4l-12.2-13.2-37.3-41-.1-.1c-11.9-13-32.1-14-45.3-2.1-13 11.9-14 32.1-2.1 45.2l55.7 61s34.1 49 62.5 88.4c28.3 39.3 72.3 52.4 129.5 52.4s113.9-21.8 126.9-95.4c13.7-78.5 6.5-107.9 23.7-150.4 11.6-28.9 15.1-45.8 21.1-63.2 5.4-15.6-1.9-33.3-17.2-39.9z" />',viewBox:"0 0 512 512"},handleDragIcon:{name:"handle-drag",content:'<path d="M160 64h64v384h-64V64zm96 0v384h64V64h-64z" />',viewBox:"0 0 512 512"},handleResizeAltIcon:{name:"handle-resize-alt",content:'<path d="M480 224v256H224v-64h192V224h64z" />',viewBox:"0 0 512 512"},handleResizeIcon:{name:"handle-resize",content:'<path d="m379.5 475.5-22.6-22.6 96-96 22.6 22.6-96 96zm79.7-208.2-22.6-22.6-191.9 191.9 22.6 22.6 191.9-191.9z" />',viewBox:"0 0 512 512"},hdIcon:{name:"hd",content:'<path d="M480 64H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h448c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM256 384h-64v-96h-64v96H64V128h64v96h64v-96h64v256zm210.3-68.9c-5.1 16.2-11.8 29.4-19.8 39.1-8.2 9.8-18.2 17.4-29.8 22.4-11.5 4.9-26.3 7.4-43.9 7.4H288V128h82.6c20.3 0 35.4 2.2 46.1 6.8 10.7 4.6 20.6 12.2 29.5 22.8 8.7 10.5 15.7 24.1 20.6 40.6 4.8 16.2 7.3 36.5 7.3 60.3-.1 21.5-2.7 40.6-7.8 56.6zm-54.2-94.2c2.6 8.5 3.9 20.5 3.9 35.6 0 14.5-1.3 26.3-3.9 35.1-2.5 8.4-5.5 14.4-8.9 18-3.3 3.5-7.5 6-12.8 7.7-3.8 1.2-11.8 2.7-28.3 2.7H336V192h12.9c21.4 0 30.6.9 34.5 1.7 6.9 1.4 12.6 4.1 17.5 8.4 4.9 4.5 8.7 10.8 11.2 18.8z" />',viewBox:"0 0 512 512"},heartIcon:{name:"heart",content:'<path d="m447.2 256.8-32.8 32.8L256 448 97.6 289.6l-32.8-32.8c-43.7-43.7-43.7-116.3 0-160s114.7-43.7 158.4 0l32.8 32.8 32.8-32.8c43.7-43.7 114.7-43.7 158.4 0s43.7 116.3 0 160z" />',viewBox:"0 0 512 512"},heartOutlineIcon:{name:"heart-outline",content:'<path d="M447.2 96.8c-43.7-43.7-114.7-43.7-158.4 0L256 129.6l-32.8-32.8c-43.7-43.7-114.7-43.7-158.4 0s-43.7 116.3 0 160l32.8 32.8L256 448l158.4-158.4 32.8-32.8c43.7-43.7 43.7-116.3 0-160zm-22.6 137.4L256 402.7 87.4 234.2C72.3 219.1 64 198.7 64 176.8s8.3-42.3 23.4-57.4C102.5 104.3 122.6 96 144 96s41.5 8.3 56.6 23.4l55.4 55.4 55.4-55.4C326.5 104.3 346.6 96 368 96s41.5 8.3 56.6 23.4c15.1 15.1 23.4 35.5 23.4 57.4s-8.3 42.3-23.4 57.4z" />',viewBox:"0 0 512 512"},homeIcon:{name:"home",content:'<path d="M480 256c0 17.7-14.3 32-32 32-9.1 0-17.4-3.8-23.2-10l-8.8-8.7V416c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32v-96h-64v96c0 17.7-14.3 32-32 32h-64c-17.7 0-32-14.3-32-32V268.6l-8.3 8.9C81.8 284 73.4 288 64 288c-17.7 0-32-14.3-32-32 0-8.5 3.3-16.1 8.6-21.9l.2-.2 1-1 191-191.3 1-1c5.8-5.5 13.6-8.9 22.2-8.9 9.1 0 17.3 3.8 23.1 9.9L470.3 233l.7.7.3.3c5.4 5.8 8.7 13.5 8.7 22z" />',viewBox:"0 0 512 512"},horizontalRuleIcon:{name:"horizontal-rule",content:'<path d="M320 96H32V64h288v32zm96 32H32v32h384v-32zm64 96H32v64h448v-64zM320 352H32v32h288v-32zm96 64H32v32h384v-32z" />',viewBox:"0 0 512 512"},html5Icon:{name:"html5",content:'<path d="m64 32 30.4 384 161.3 64 161.7-64L448 32H64zm68 83h247.7l-1.2 13.2-2.2 24.8-1 11H186.1l4.5 51h180.1l-1.2 13.3-11.7 129.9-.7 8.4-101.3 37-101.2-37-6.9-77.6h49l3.5 39.7 55.5 24 55.6-24.1 5.8-64.6h-172L133 128.2l-1-13.2z" />',viewBox:"0 0 512 512"},hyperlinkOpenIcon:{name:"hyperlink-open",content:'<path d="M32 480h448V256h-32v192H64V64h192V32H32v448zM320 32l56.9 56.9.5.5L224 242.7l45.3 45.3 153.3-153.4L480 192V32H320z" />',viewBox:"0 0 512 512"},hyperlinkOpenSmIcon:{name:"hyperlink-open-sm",content:'<path d="M96 416h320v-96h-32v64H128V128h64V96H96v320zM256 96h160v160l-57.4-57.4L237.3 320 192 274.7l121.4-121.4-.5-.5L256 96z" />',viewBox:"0 0 512 512"},imageAbsolutePositionIcon:{name:"image-absolute-position",content:'<path d="M416 240c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm96-80v320c0 17.7-14.3 32-32 32H160c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32zm-32 26.7c0-14.7-11.9-26.7-26.7-26.7H186.7c-14.7 0-26.7 11.9-26.7 26.7V384l96-96 96 96 64-64 64 64V186.7zM32 0H0v512h32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32v-64h32v-32H32V32h96v32h32V32h64v32h32V32h64v32h32V32h64v32h32V32h64V0H32z" />',viewBox:"0 0 512 512"},imageAddIcon:{name:"image-add",content:'<path d="M272 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 112-16 16-64 64-128-128L32 336V96.1l.1-.1h383.8l.1.1-.1 191.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h64V272zm128 144h-32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-32z" />',viewBox:"0 0 512 512"},imageEditIcon:{name:"image-edit",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm-32.6 159.4L176 224 64 336V96.1l.1-.1h383.8l.1.1V160h32V96c0-17.6-14.4-32-32-32H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h128v-47.5l79.4-81.1zm189-7.9L290.7 480H224v-66.7l168.5-169.7 67.9 67.9zm-45.3 0-22.6-22.6-135.8 135.8 22.6 22.6 135.8-135.8zm64.9 25.6zM447.9 448c17.7 0 32.1-14.4 32.1-32v-78.9L369.1 448h78.8zm54.8-224L480 201.3c-12.4-12.4-32.8-12.4-45.3 0L412.2 224l67.9 67.9 22.6-22.6c12.4-12.5 12.4-32.9 0-45.3z" />',viewBox:"0 0 512 512"},imageExportIcon:{name:"image-export",content:'<path d="M384 384v-79.9l-32-32-80 80-128-128-112 112v-240l.1-.1h383.8l.1.1-.1 223.9H448V96c0-17.6-14.4-32-32-32H32C14.4 64 0 78.4 0 96v320c0 17.6 14.4 32 32 32h256v-64h96zM272 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm48 288h96v64l96-80-96-80v64h-96v32z" />',viewBox:"0 0 512 512"},imageIcon:{name:"image",content:'<path d="M304 160c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm144-96H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zm-.1 272-64-64-80 80L176 224 64 336V96.1l.1-.1h383.8l.1.1-.1 239.9z" />',viewBox:"0 0 512 512"},imageMapEditorIcon:{name:"image-map-editor",content:'<path d="M448 64H64c-17.6 0-32 14.4-32 32v320c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V96c0-17.6-14.4-32-32-32zM96 384H64v-32h32v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm96 0h-64v-32h64v32zm64 0h-32v-32h32v32zm-.1-48-64-64-80 80L176 224 64 336V192h32v-32H64V96.1l.1-.1H128v32h32V96h287.9l.1.1-.1 239.9zM352 208c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm-224-48h32v32h-32v-32z" />',viewBox:"0 0 512 512"},imageResizeIcon:{name:"image-resize",content:'<path d="M427.3 404.7 352 329.4V32H32v320h297.4l75.3 75.3L352 480h128V352l-52.7 52.7zM64 320V64h256v233.4L203.3 180.7 256 128H128v128l52.7-52.7L297.4 320H64z" />',viewBox:"0 0 512 512"},imagesIcon:{name:"images",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},importIcon:{name:"import",content:'<path d="M96 480c-17.7 0-32-14.3-32-31.9V192c0-17.7 14.3-32 32-32h96.3v30.9H96.4V448h319.1V190.9h-95.9V160H416c17.7 0 32 14.3 32 31.9V448c0 17.7-14.3 32-31.9 32H96zm159.5-162 96.5-94h-64.5V32h-64v192H159l96.5 94z" />',viewBox:"0 0 512 512"},inboxIcon:{name:"inbox",content:'<path d="M384 32H128L32 288v160c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V288L384 32zM150.2 64h211.6l84 224H352l-32 64H192l-32-64H66.2l84-224z" />',viewBox:"0 0 512 512"},increaseHorizontalSpacingIcon:{name:"increase-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zM335.7 352l-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 80-80-80-80zM64 432l80 80 22.6-22.6-57.3-57.4 57.4-57.4L144 352l-80 80z" />',viewBox:"0 0 512 512"},increaseVerticalSpacingIcon:{name:"increase-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 48.1-22.6-22.6-57.4 57.3-57.4-57.4-22.6 22.7 80 80 80-80zM432 96l-80 80 22.6 22.6 57.4-57.4 57.4 57.4L512 176l-80-80z" />',viewBox:"0 0 512 512"},indentIcon:{name:"indent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zM160 240 32 128v224l128-112z" />',viewBox:"0 0 512 512"},infoCircleIcon:{name:"info-circle",content:'<path d="M288 352h32v32H192v-32h32v-96h-32v-32h96v128zm0-224h-64v64h64v-64zm192 128c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},inheritedIcon:{name:"inherited",content:'<path d="M448 320v128H320V320h30.4L256 244.5 161.6 320H192v128H64V320h46.4l120-96H176V64h160v160h-54.4l120 96H448z" />',viewBox:"0 0 512 512"},insertBottomIcon:{name:"insert-bottom",content:'<path d="M192 224h192v32H192v-32zm0 128h288v-32H192v32zm192-192H192v32h192v-32zM32 224v224l96-112-96-112z" />',viewBox:"0 0 512 512"},insertMiddleIcon:{name:"insert-middle",content:'<path d="M192 128h192v32H192v-32zm0 128h288v-32H192v32zm192 64H192v32h192v-32zM32 128v224l96-112-96-112z" />',viewBox:"0 0 512 512"},insertTopIcon:{name:"insert-top",content:'<path d="M192 320h192v32H192v-32zm0-128h288v-32H192v32zm192 64H192v32h192v-32zM32 64v224l96-112L32 64z" />',viewBox:"0 0 512 512"},invertColorsIcon:{name:"invert-colors",content:'<path d="m320 32-64 48 64 48V96h64v64h-32l48 64 48-64h-32V64h-96V32zM32 64v192h192V64H32zm192 192v192h192V256H224zM64 96h128v128H64V96z" />',viewBox:"0 0 512 512"},italicIcon:{name:"italic",content:'<path d="m377.2 128 6.8-32H198.8l-6.8 32h59.2l-54.4 256h-62l-6.8 32h185.2l6.8-32h-59.2l54.4-256h62z" />',viewBox:"0 0 512 512"},jsIcon:{name:"js",content:'<path d="M478.4 96C471 59.5 438.7 32 400 32H208c-38.7 0-71 27.5-78.4 64-1.1 5.2-1.6 10.5-1.6 16v272H32v16c0 5.5.5 10.8 1.6 16 7.4 36.5 39.7 64 78.4 64h192c38.7 0 71-27.5 78.4-64 1.1-5.2 1.6-10.5 1.6-16V128h96v-16c0-5.5-.5-10.8-1.6-16zm-124.8 0c-1.1 5.2-1.6 10.5-1.6 16v288c0 5.6-1 11-2.8 16-6.6 18.6-24.4 32-45.2 32-20.9 0-38.7-13.4-45.2-32-1.8-5-2.8-10.4-2.8-16v-16h-96V112c0-5.6 1-11 2.8-16 6.6-18.6 24.4-32 45.2-32h160c-7 9.3-12 20.2-14.4 32zM320 192H192v-32h128v32zm0 64H192v-32h128v32zm0 64H192v-32h128v32z" />',viewBox:"0 0 512 512"},justifyContentAroundAltIcon:{name:"justify-content-around-alt",content:'<path d="M95 96h320v128H95V96zM31 512h448v-32H31v32zm65-96h320V288H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},justifyContentAroundIcon:{name:"justify-content-around",content:'<path d="M95 96h128v320H95V96zm384-64v448h32V32h-32zM287 415h128V95H287v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},justifyContentBetweenAltIcon:{name:"justify-content-between-alt",content:'<path d="M95 64h320v128H95V64zM31 512h448v-32H31v32zm65-64h320V320H96v128zM31 0v32h448V0H31z" />',viewBox:"0 0 512 512"},justifyContentBetweenIcon:{name:"justify-content-between",content:'<path d="M63 96h128v320H63V96zm416-64v448h32V32h-32zM319 415h128V95H319v320zM-1 480h32V32H-1v448z" />',viewBox:"0 0 512 512"},justifyContentCenterAltIcon:{name:"justify-content-center-alt",content:'<path d="M415 192H95V64h320v128zM31 224v32h448v-32H31zm65 192h320V288H96v128z" />',viewBox:"0 0 512 512"},justifyContentCenterIcon:{name:"justify-content-center",content:'<path d="M63 96h128v320H63V96zm160 384h32V32h-32v448zm64-385v320h128V95H287z" />',viewBox:"0 0 512 512"},justifyContentEndAltIcon:{name:"justify-content-end-alt",content:'<path d="M415 257H95V129h320v128zM31 449v32h448v-32H31zm65-32h320V289H96v128z" />',viewBox:"0 0 512 512"},justifyContentEndIcon:{name:"justify-content-end",content:'<path d="M128 96h128v320H128V96zm320-64v448h32V32h-32zM288 415h128V95H288v320z" />',viewBox:"0 0 512 512"},justifyContentStartAltIcon:{name:"justify-content-start-alt",content:'<path d="M415 224H95V96h320v128zM31 32v32h448V32H31zm65 352h320V256H96v128z" />',viewBox:"0 0 512 512"},justifyContentStartIcon:{name:"justify-content-start",content:'<path d="M95 96h128v320H95V96zM31 480h32V32H31v448zM255 95v320h128V95H255z" />',viewBox:"0 0 512 512"},kpiStatusDenyIcon:{name:"kpi-status-deny",content:'<path d="M480 256 256 480 32 256 256 32l224 224z" />',viewBox:"0 0 512 512"},kpiStatusHoldIcon:{name:"kpi-status-hold",content:'<path d="M256 64 32 448h448L256 64z" />',viewBox:"0 0 512 512"},kpiStatusOpenIcon:{name:"kpi-status-open",content:'<path d="M480 256c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224z" />',viewBox:"0 0 512 512"},launchIcon:{name:"launch",content:'<path d="M96 96v320h96v-32h-64V128h256v64h32V96H96zm320 160v160H256l57.4-57.4L192 237.3l45.3-45.3 121.4 121.4.5-.5L416 256z" />',viewBox:"0 0 512 512"},layout1By4Icon:{name:"layout-1-by-4",content:'<path d="M32 0h192v480H32V0zm224 0v96h192V0H256zm0 224h192v-96H256v96zm0 128h192v-96H256v96zm0 128h192v-96H256v96z" />',viewBox:"0 0 512 512"},layout2By2Icon:{name:"layout-2-by-2",content:'<path d="M32 224h192V0H32v224zm224 0h192V0H256v224zM32 480h192V256H32v224zm224 0h192V256H256v224z" />',viewBox:"0 0 512 512"},layoutIcon:{name:"layout",content:'<path d="M192 416h256v64H192v-64zm0-32h256v-64H192v64zM32 480h128V128H32v352zm160-288h256v-64H192v64zm0 96h256v-64H192v64zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},layoutSideBySideIcon:{name:"layout-side-by-side",content:'<path d="M32 384h416v96H32v-96zm0-32h416v-96H32v96zm0-128h416v-96H32v96zM32 0v96h416V0H32z" />',viewBox:"0 0 512 512"},layoutStackedIcon:{name:"layout-stacked",content:'<path d="M32 256h192v96H32v-96zm0 224h192v-96H32v96zm224-128h192v-96H256v96zM32 0v224h416V0H32zm224 480h192v-96H256v96z" />',viewBox:"0 0 512 512"},lessOrEqualIcon:{name:"less-or-equal",content:'<path d="m318.1 352-160-160 160-160L352 65.9 225.9 192 352 318.1 318.1 352zM128 416v32h256v-32H128z" />',viewBox:"0 0 512 512"},letterSpaceIcon:{name:"letter-space",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM448 32h32v448h-32zM32 32h32v448H32z" />',viewBox:"0 0 512 512"},levelDownIcon:{name:"level-down",content:'<path d="M288 192v64h64l-80 128-80-128h64v-64H128v-32h288v32H288z" />',viewBox:"0 0 512 512"},levelToTopIcon:{name:"level-to-top",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64zm288-160H96v32h320v-32z" />',viewBox:"0 0 512 512"},levelUpIcon:{name:"level-up",content:'<path d="m128 288 80-128 80 128h-64v64h192v32H192v-96h-64z" />',viewBox:"0 0 512 512"},lineHeightIcon:{name:"line-height",content:'<path d="m310 336 26 80h48L280 96h-48L128 416h48l26-80h108zm-54-166.2L294.4 288h-76.8L256 169.8zM32 32h448v32H32zm0 416h448v32H32z" />',viewBox:"0 0 512 512"},linkAddIcon:{name:"link-add",content:'<path d="M384 384zm64 32v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64zm416 84.7c19.9-22.6 32-52.2 32-84.7 0-70.7-57.3-128-128-128-47.3 0-88.7 25.8-110.8 64H384c35.3 0 64 28.6 64 64s-28.6 64-64 64h96v20.7zM384 320H273.2c22.1 38.2 63.4 64 110.8 64v-64z" />',viewBox:"0 0 512 512"},linkIcon:{name:"link",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM96 256c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32s-14.3 32-32 32H128c-17.7 0-32-14.3-32-32zm-32 0c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.4 0-64 28.6-64 64z" />',viewBox:"0 0 512 512"},linkVerticalIcon:{name:"link-vertical",content:'<path d="M128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 96c17.7 0 32 14.3 32 32v256c0 17.7-14.3 32-32 32s-32-14.3-32-32V128c0-17.7 14.3-32 32-32zm0-32c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},linkedinBoxIcon:{name:"linkedin-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zM160 416H96V192h64v224zm-32-256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm288 256h-64V288c0-17.7-14.3-32-32-32s-32 14.3-32 32v128h-64V192h64v39.7c13.2-18.1 33.4-39.7 56-39.7 39.8 0 72 35.8 72 80v144z" />',viewBox:"0 0 512 512"},linkedinIcon:{name:"linkedin",content:'<path d="M112 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zM64 160v288h96V160H64zm128 0v288h96V288c0-32 32-32 32-32s32 0 32 32v160h96V290.9c0-66.5-13.6-130.9-96-130.9-36.2 0-62.9 32-64 44.9V160h-96z" />',viewBox:"0 0 512 512"},listLatinBigIcon:{name:"list-latin-big",content:'<path d="M115.1 136H72.6l-7.4 24H32.1L79.3 31.5h29.1L155.9 160h-33.3l-7.5-24zm-35-23.9h27.6L93.8 67.5l-13.7 44.6zM42.1 320V191.5h46.2c16.5 0 29.1 3 37.7 9.1 8.6 6.1 12.9 14.9 12.9 26.4 0 6.6-1.5 12.3-4.6 17-3.1 4.7-7.6 8.2-13.5 10.4 6.7 1.8 11.9 5.1 15.4 9.9 3.6 4.8 5.4 10.7 5.4 17.7 0 12.6-4 22.1-12 28.4-8 6.3-19.8 9.5-35.4 9.7H42.1zm31-74.9h16.2c6.8-.1 11.6-1.3 14.5-3.7 2.9-2.4 4.3-6 4.3-10.7 0-5.4-1.6-9.3-4.7-11.7-3.1-2.4-8.2-3.6-15.1-3.6H73.1v29.7zm0 20.3v30.8h20.3c5.6 0 9.9-1.3 12.9-3.8 3-2.6 4.5-6.2 4.5-10.8 0-10.7-5.3-16.1-16-16.2H73.1zm73 171.1c-.4 8.9-2.8 16.8-7.2 23.7-4.4 6.9-10.6 12.2-18.6 15.9-8 3.8-17.1 5.6-27.3 5.6-16.9 0-30.2-5.5-39.9-16.5s-14.6-26.5-14.6-46.6v-6.4c0-12.6 2.2-23.6 6.6-33.1 4.4-9.4 10.7-16.7 18.9-21.9 8.2-5.1 17.8-7.7 28.6-7.7 15.6 0 28.1 4.1 37.6 12.3 9.5 8.2 14.9 19.5 16.2 33.9h-30.9c-.2-7.8-2.2-13.4-5.9-16.9-3.7-3.4-9.4-5.1-16.9-5.1-7.7 0-13.4 2.9-16.9 8.6-3.6 5.8-5.5 15-5.6 27.6v9.1c0 13.7 1.7 23.5 5.2 29.4 3.4 5.9 9.4 8.8 17.8 8.8 7.1 0 12.6-1.7 16.3-5 3.8-3.4 5.8-8.7 6-16h30.6zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},listLatinSmallIcon:{name:"list-latin-small",content:'<path d="M94.5 152c-1.1-1.9-2-4.8-2.8-8.6-5.5 6.9-13.1 10.3-22.9 10.3-9 0-16.7-2.7-22.9-8.2-6.3-5.4-9.4-12.3-9.4-20.5 0-10.4 3.8-18.2 11.5-23.5 7.6-5.3 18.8-7.9 33.4-7.9h9.2v-5.1c0-8.8-3.8-13.2-11.4-13.2-7.1 0-10.6 3.5-10.6 10.5H38.7c0-9.2 3.9-16.7 11.8-22.5s17.9-8.6 30.1-8.6 21.8 3 28.9 8.9c7.1 5.9 10.7 14.1 10.9 24.4v42.3c.1 8.8 1.5 15.5 4.1 20.1v1.5l-30 .1zm-18.6-19.4c3.7 0 6.8-.8 9.2-2.4 2.4-1.6 4.2-3.4 5.3-5.4v-15.3h-8.6c-10.4 0-15.5 4.6-15.5 13.9 0 2.7.9 4.9 2.7 6.6 1.8 1.7 4.1 2.6 6.9 2.6zM129.4 280c0 15.7-3.2 27.7-9.7 36.1s-15.6 12.6-27.4 12.6c-9.7 0-17.5-3.9-23.5-11.6l-1.2 9.8H41V191.4h29.7v47.7c5.5-6.3 12.7-9.4 21.4-9.4 11.9 0 21.1 4.3 27.5 12.8 6.5 8.5 9.7 20.5 9.7 36l.1 1.5zm-29.8-1.9c0-9.2-1.2-15.7-3.7-19.6-2.4-3.9-6.2-5.9-11.3-5.9-6.7 0-11.4 2.6-13.9 7.7v37.9c2.5 5.1 7.2 7.6 14.1 7.6 7 0 11.4-3.4 13.3-10.2 1-3.4 1.5-9.2 1.5-17.5zM81.1 452.8c4.2 0 7.4-1.1 9.7-3.4s3.4-5.4 3.4-9.5h27.9c0 10.5-3.8 19.1-11.3 25.8-7.5 6.7-17.2 10.1-29 10.1-13.9 0-24.8-4.4-32.8-13.1s-12-20.8-12-36.2v-1.2c0-9.6 1.8-18.2 5.3-25.6 3.6-7.4 8.7-13.1 15.4-17 6.7-4 14.7-6 23.8-6 12.4 0 22.3 3.4 29.6 10.3 7.3 6.9 10.9 16.2 10.9 28H94.2c0-4.9-1.2-8.7-3.6-11.4-2.4-2.6-5.6-4-9.7-4-7.7 0-12.2 4.9-13.5 14.7-.4 3.1-.6 7.4-.6 12.9 0 9.6 1.1 16.2 3.4 19.9s5.9 5.7 10.9 5.7zM192 96h288v32H192V96zm0 160h288v32H192v-32zm0 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},listOrderedIcon:{name:"list-ordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM96 32v128H64V64c-1.5 1.3-14.9 7.8-22.1 10V50.8c7.2-2.1 13.9-4.8 20.3-8 6.3-3.3 12.1-6.8 17.2-10.7L96 32zM66.7 297h61.1v23H32v-9.5c0-6.4 1.2-12.2 3.7-17.3 2.5-5.1 5.6-9.7 9.3-13.8 3.7-4.1 7.8-7.7 12.3-10.8 4.5-3.1 8.7-6 12.7-8.5 4.2-2.6 7.9-5.1 11.1-7.6 3.2-2.4 5.9-4.8 8-7.2 2.2-2.4 3.8-4.8 4.9-7.2s1.6-5 1.6-7.8c0-5.4-1.7-9.5-5.2-12.2-3.5-2.8-8.8-4.1-16-4.1-12.4 0-24.2 4.3-35.5 12.9v-24.4c12.5-7.1 26.6-10.6 42.4-10.6 7.3 0 13.8.8 19.6 2.5 5.8 1.7 10.7 4.1 14.7 7.2 4 3.1 7.1 6.9 9.2 11.3 2.1 4.4 3.2 9.3 3.2 14.8 0 5.8-1 10.9-3.1 15.5-2 4.5-4.8 8.6-8.1 12.3-3.4 3.7-7.3 7.1-11.7 10.1-4.4 3.1-9 6-13.8 8.9-3.2 2-6.3 4-9.3 5.9-3 2-5.6 3.9-7.9 5.8s-4.1 3.8-5.4 5.6c-1.3 1.8-2 3.6-2 5.2zM32 473.8V450c10.1 6 21.8 9.1 35.3 9.1 8.5 0 15.1-1.5 19.8-4.5 4.7-3 7.1-7.2 7.1-12.5 0-5.5-2.9-9.8-8.8-12.8-5.8-3-13.9-4.5-24.1-4.5h-14V404h12.9c19.6 0 29.4-5.4 29.4-16.1 0-10.1-7.5-15.1-22.6-15.1-10.1 0-19.9 2.7-29.4 8v-22.3c10.6-4.4 22.9-6.6 37-6.6 15.4 0 27.4 2.8 36 8.5s12.9 13.1 12.9 22.2c0 16.2-10 26.3-29.9 30.4v.4c10.6 1.1 19 4.3 25.2 9.5 6.2 5.3 9.2 11.7 9.2 19.4 0 11.6-5.1 20.7-15.4 27.4S88.1 480 69.9 480c-15.5 0-28.2-2.1-37.9-6.2z" />',viewBox:"0 0 512 512"},listRomanBigIcon:{name:"list-roman-big",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},listRomanLowerIcon:{name:"list-roman-lower",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},listRomanSmallIcon:{name:"list-roman-small",content:'<path d="M32 64h16v96H32V64zm0 256h16v-96H32v96zm32 0h16v-96H64v96zM32 480h16v-96H32v96zm32 0h16v-96H64v96zm32 0h16v-96H96v96zM48 40c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 200c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM48 360c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 0c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm32 112c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zM128 96h352v32H128V96zm32 160h320v32H160v-32zm32 160h288v32H192v-32z" />',viewBox:"0 0 512 512"},listRomanUpperIcon:{name:"list-roman-upper",content:'<path d="M32 32h32v128H32V32zm0 288h32V192H32v128zm64 0h32V192H96v128zM32 480h32V352H32v128zm64 0h32V352H96v128zm64 0h32V352h-32v128zM128 96h352v32H128V96zm64 160h288v32H192v-32zm64 160h224v32H256v-32zM96 152c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm64 160c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8z" />',viewBox:"0 0 512 512"},listUnorderedIcon:{name:"list-unordered",content:'<path d="M192 64h288v32H192V64zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 160c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},listUnorderedOutlineIcon:{name:"list-unordered-outline",content:'<path d="M192 80h288v32H192V80zm0 160h288v32H192v-32zm0 160h288v32H192v-32zM80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm0 192c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16m0-32c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},listUnorderedSquareIcon:{name:"list-unordered-square",content:'<path d="M128 160H32V64h96v96zm0 64H32v96h96v-96zm0 160H32v96h96v-96zm64-256h288V96H192v32zm0 160h288v-32H192v32zm0 160h288v-32H192v32z" />',viewBox:"0 0 512 512"},lockIcon:{name:"lock",content:'<path d="M384 224h-32v-96c0-53-43-96-96-96s-96 43-96 96v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zm-192-96c0-35.3 28.7-64 64-64s64 28.7 64 64v96H192v-96zm64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},loginIcon:{name:"login",content:'<path d="M384 480h96V32h-96v448zM32 224v64h128v96l160-128-160-128v96H32z" />',viewBox:"0 0 512 512"},logoutIcon:{name:"logout",content:'<path d="M128 32H32v448h96V32zm64 192v64h128v96l160-128-160-128v96H192z" />',viewBox:"0 0 512 512"},makeHorizontalSpacingEqualIcon:{name:"make-horizontal-spacing-equal",content:'<path d="M480 160v160h-96v-64h-96v160h-96V256H96v96H32V128h64v96h96V64h96v160h96v-64h96z" />',viewBox:"0 0 512 512"},makeSameHeightIcon:{name:"make-same-height",content:'<path d="M128 0v480H32V0h96zm96 192v96h96v-96h-96zM272.1 0l-48.4 64H256v64h33V64h31.6L272.1 0zM288 416v-64h-32v64h-32l48 64 48-64h-32zM448 0h-96v32h96v96h32V0h-32zm0 352v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},makeSameSizeIcon:{name:"make-same-size",content:'<path d="M288 192v96h-96v-96h96zM240.1 0l-48.4 64H224v64h33V64h31.6L240.1 0zM256 416v-64h-32v64h-32l48 64 48-64h-32zm224-175.9-64-48.4V224h-64v33h64v31.6l64-48.5zM64 224v-32L0 240l64 48v-32h64v-32H64zM128 0H0v128h32V32h96V0zm320 0h-96v32h96v96h32V0h-32zM32 448v-96H0v128h128v-32H32zm416-96v96h-96v32h128V352h-32z" />',viewBox:"0 0 512 512"},makeSameWidthIcon:{name:"make-same-width",content:'<path d="M480 128H0V32h480v96zm-192 96h-96v96h96v-96zm192 48.1-64-48.4V256h-64v33h64v31.6l64-48.5zM64 256v-32L0 272l64 48v-32h64v-32H64zm384 96v96h-96v32h128V352h-32zM32 448v-96H0v128h128v-32H32z" />',viewBox:"0 0 512 512"},makeVerticalSpacingEqualIcon:{name:"make-vertical-spacing-equal",content:'<path d="M256 320v96h96v64H128v-64h96v-96H64v-96h160v-96h-64V32h160v96h-64v96h160v96H256z" />',viewBox:"0 0 512 512"},mapMarkerIcon:{name:"map-marker",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112z" />',viewBox:"0 0 512 512"},mapMarkerTargetIcon:{name:"map-marker-target",content:'<path d="M256 0C158.8 0 80 78.8 80 176s176 336 176 336 176-238.8 176-336S353.2 0 256 0zm0 288c-61.9 0-112-50.1-112-112S194.1 64 256 64s112 50.1 112 112-50.1 112-112 112zm48-112c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48z" />',viewBox:"0 0 512 512"},maxHeightIcon:{name:"max-height",content:'<path d="M384 0H96v32h288zm0 479H240.6L320 352h-64V160h64L240 32l-80 128h64v192h-64l79.4 127H96v32h288z" />',viewBox:"0 0 512 512"},maxWidthIcon:{name:"max-width",content:'<path d="M0 96v288h32V96zm479 0v143.4L352 160v64H160v-64L32 240l128 80v-64h192v64l127-79.4V384h32V96z" />',viewBox:"0 0 512 512"},mediaManagerIcon:{name:"media-manager",content:'<path d="M192 384V128l192 128-192 128zm32-319.3V0C108.2 14.4 14.4 108.2 0 224h64.7c13.5-80.3 79-145.8 159.3-159.3zm64 382.6V512c115.8-14.4 209.6-108.2 224-224h-64.7c-13.5 80.3-79 145.8-159.3 159.3zM64.7 288H0c14.4 115.8 108.2 209.6 224 224v-64.7c-80.3-13.5-145.8-79-159.3-159.3zm382.6-64H512C497.6 108.2 403.8 14.4 288 0v64.7c80.3 13.5 145.8 79 159.3 159.3z" />',viewBox:"0 0 512 512"},menuIcon:{name:"menu",content:'<path d="M480 32v96H32V32h448zM32 192v96h448v-96H32zm448 160H32v96h448v-96z" />',viewBox:"0 0 512 512"},minHeightIcon:{name:"min-height",content:'<path d="M240 192H96v32h288v-32zm144 96H96v32h288zM160 448h160l-80-128zm64 0h32v64h-32zm32-384V0h-32v64h-64l80 128 80-128z" />',viewBox:"0 0 512 512"},minWidthIcon:{name:"min-width",content:'<path d="M192 240v144h32V96h-32zm96-144v288h32V96zm160 224V160l-128 80zm0-96h64v32h-64zm-384 0H0v32h64v64l128-80-128-80z" />',viewBox:"0 0 512 512"},minusCircleIcon:{name:"minus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zM128 288v-64h256v64H128z" />',viewBox:"0 0 512 512"},minusIcon:{name:"minus",content:'<path d="M96 224v64h320v-64H96z" />',viewBox:"0 0 512 512"},minusOutlineIcon:{name:"minus-outline",content:'<path d="M128 224h256v64H128v-64zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},minusSmIcon:{name:"minus-sm",content:'<path d="M352 224v64H160v-64h192z" />',viewBox:"0 0 512 512"},mirrorIcon:{name:"mirror",content:'<path d="M192 64H32v384h160V64zm-31 352s0 .1 0 0l-96.9.1-.1-.1V96.1l.1-.1H160v320h1zm95 64h-32V32h32v448zm32-416h160v384H288V64z" />',viewBox:"0 0 512 512"},moreHorizontalIcon:{name:"more-horizontal",content:'<path d="M128 240c0-26.4-21.6-48-48-48s-48 21.6-48 48 21.6 48 48 48 48-21.6 48-48zm64 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48zm160 0c0 26.4 21.6 48 48 48s48-21.6 48-48-21.6-48-48-48-48 21.6-48 48z" />',viewBox:"0 0 512 512"},moreVerticalIcon:{name:"more-vertical",content:'<path d="M240 128c26.4 0 48-21.6 48-48s-21.6-48-48-48-48 21.6-48 48 21.6 48 48 48zm0 64c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48zm0 160c-26.4 0-48 21.6-48 48s21.6 48 48 48 48-21.6 48-48-21.6-48-48-48z" />',viewBox:"0 0 512 512"},musicNotesIcon:{name:"music-notes",content:'<path d="M160 170v-64m0-.2v259c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V162.5l256-59.1v165.4c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V32l-320 73.8z" />',viewBox:"0 0 512 512"},myspaceBoxIcon:{name:"myspace-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM128 416H64v-63.5c0-17.9 14.3-32.5 32-32.5s32 14.5 32 32.5V416zM96 288c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm160 128h-96v-75.3c0-29.1 21.5-52.7 48-52.7s48 23.6 48 52.7V416zm-48-160c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm208 160H288v-92.9c0-37.1 27.2-67.1 64-67.1s64 30 64 67.1V416zm-64-192c-35.4 0-64-28.6-64-64s28.6-64 64-64 64 28.6 64 64-28.6 64-64 64z" />',viewBox:"0 0 512 512"},myspaceIcon:{name:"myspace",content:'<path d="M400 64c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm-176 64c-35.4 0-64 28.6-64 64s28.6 64 64 64 64-28.6 64-64-28.6-64-64-64zM80 192c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm320 64c-44.2 0-80 36.1-80 80.5V448h160V336.5c0-44.5-35.8-80.5-80-80.5zm-176 32c-35.4 0-64 31.5-64 70.3V448h128v-89.7c0-38.8-28.6-70.3-64-70.3zM80 320c-26.5 0-48 21.8-48 48.7V448h96v-79.3c0-26.9-21.5-48.7-48-48.7z" />',viewBox:"0 0 512 512"},nonRecurrenceIcon:{name:"non-recurrence",content:'<path d="m321 434.2 47.5 47.5C335.5 501 297 512 256 512 132.3 512 32 411.7 32 288c0-41 11-79.5 30.3-112.6l47.5 47.5c-8.9 19.9-13.8 41.9-13.8 65 0 88.2 71.8 160 160 160 23.1.1 45.2-4.8 65-13.7Zm118.3-17.5c12.9-18.3 23.1-38.7 30.1-60.4 6.9-21.5 10.6-44.5 10.6-68.3 0-40.8-10.9-79.1-30-112l-55.5 32c13.6 23.5 21.5 50.9 21.5 80 0 4.8-.2 9.5-.6 14.2-2.2 24.8-10.1 47.9-22.3 68.2L173.6 150.9c20.3-12.2 43.4-20.1 68.2-22.3 4.7-.4 9.4-.6 14.2-.6v64l160-96L256 0v64c-23.8 0-46.7 3.7-68.3 10.6-21.8 7-42.1 17.2-60.4 30.1L22.6 0 0 22.6 489.4 512l22.6-22.6-72.7-72.7Z" />',viewBox:"0 0 512 512"},notEqualIcon:{name:"not-equal",content:'<path d="m290.7 224-37.3 64H416v64H216l-56 96h-48l56-96H96v-64h109.3l37.3-64H96v-64h184l56-96h48l-56 96h88v64H290.7z" />',viewBox:"0 0 512 512"},outdentIcon:{name:"outdent",content:'<path d="M480 64H32V32h448v32zm0 32H224v32h256V96zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H224v32h256v-32zm0 64H32v32h448v-32zm-320-64V128L32 240l128 112z" />',viewBox:"0 0 512 512"},outlineOffsetIcon:{name:"outline-offset",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM160 320v32h192V160H160v160zm32-128h128v128H192V192z" />',viewBox:"0 0 512 512"},outlineWidthIcon:{name:"outline-width",content:'<path d="M416 32H32v448h448V32h-64zm0 384H96V96h320v320zm-256-32h224V128H128v256h32zm0-224h192v192H160V160z" />',viewBox:"0 0 512 512"},overlapIcon:{name:"overlap",content:'<path d="M320 320V64H64v256h256zM192 448h256V192h-96v160H192v96z" />',viewBox:"0 0 512 512"},paddingBottomIcon:{name:"padding-bottom",content:'<path d="M288.2 352H256v64h64v64H160v-64h64v-64h-32v-64h96.2v64zM160 32h64v96h-32.2v32H288v-32h-32V32h64V0H160v32zm192 192v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96zm-224 32v32.2h32V192h-32v32H32v-64H0v160h32v-64h96z" />',viewBox:"0 0 512 512"},paddingIcon:{name:"padding",content:'<path d="M128 288.2V256H32v64H0V160h32v64h96v-32h32v96.2h-32zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},paddingLeftIcon:{name:"padding-left",content:'<path d="M128 288.2V256H64v64H0V160h64v64h64v-32h64v96.2h-64zM448 160v64h-96v-32.2h-32V288h32v-32h96v64h32V160h-32zM256 352h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96zm-32-224h-32.2v32H288v-32h-32V32h64V0H160v32h64v96z" />',viewBox:"0 0 512 512"},paddingRightIcon:{name:"padding-right",content:'<path d="M352 191.8V224h64v-64h64v160h-64v-64h-64v32h-64v-96.2h64zM32 320v-64h96v32.2h32V192h-32v32H32v-64H0v160h32zm192-192h-32.2v32H288v-32h-32V32h64V0H160v32h64v96zm32 224h32.2v-32H192v32h32v96h-64v32h160v-32h-64v-96z" />',viewBox:"0 0 512 512"},paddingTopIcon:{name:"padding-top",content:'<path d="M191.8 128H224V64h-64V0h160v64h-64v64h32v64h-96.2v-64zM320 448h-64v-96h32.2v-32H192v32h32v96h-64v32h160v-32zM128 256v32.2h32V192h-32v32H32v-64H0v160h32v-64h96zm224-32v-32.2h-32V288h32v-32h96v64h32V160h-32v64h-96z" />',viewBox:"0 0 512 512"},pageFooterSectionIcon:{name:"page-footer-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-31-32H129v-96h256v96zm0-160H129v32h256v-32zm0-64H129v32h256v-32z" />',viewBox:"0 0 512 512"},pageHeaderSectionIcon:{name:"page-header-section",content:'<path d="M352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-32-160H128v-96h256v96zm0 96H128v32h256v-32zm0-64H128v32h256v-32z" />',viewBox:"0 0 512 512"},paletteIcon:{name:"palette",content:'<path d="m206 256.6 160-160c-2.2-5.7-4.8-11.1-7.9-16.3-24.2-40.8-60.1-66-107.8-75.9-2.3-.5-4.7-1-7.1-1.4C192-5.8 143.1 4.8 96.5 34.6 49.3 64.7 19.2 107.2 6.1 162c-13 54.8-5.2 106.4 23.4 154.6 14.2 23.8 31.3 43.2 51.4 58.4 3.8-25.2 13.4-52 36.4-75 31.3-31.4 64-41.3 88.7-43.4zM288 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-96-32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 256c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm0-128c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm438.7 12.9L480 118.3c-12.4-12.4-32.8-12.4-45.3 0L281.1 271.9c11.5 5.8 20.8 12.2 27.7 17.6 5.3 4.2 9.2 7.7 11.3 9.8l11.3 12.7c5.4 6.8 11.8 16.2 17.6 27.6l153.5-153.5c12.6-12.4 12.6-32.8.2-45.2zM354.3 289.3c-4.8-5.8-8.6-9.9-10.6-11.9-2.3-2.3-6.3-6.1-12-10.7L457.4 141h.1l22.5 22.5-125.7 125.8zm-78.7 169c-23.8 23.7-48.4 33-70.7 37.7-49.6 10.4-96 16-96 16s34.7-17.3 33.9-77c-.4-32.7-3.7-66.4 19.7-89.8 56.6-56.7 113.3.2 113.3.2s56.7 56-.2 112.9z" />',viewBox:"0 0 512 512"},paneFreezeIcon:{name:"pane-freeze",content:'<path d="M32 32v416h416V32H32zm256 32 96 96h-64l-96-96h64zm-128 0 96 96h-64L96 64h64zM64 96l96 96v64l-96-96V96zm0 128 96 96v64l-96-96v-64zm0 192v-64l64 64H64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm128 128h-96v-96h96v96zm0-128h-96v-96h96v96zM352 64h64v64l-64-64z" />',viewBox:"0 0 512 512"},paperPlaneIcon:{name:"paper-plane",content:'<path d="M469.783 271.879 54.329 446.734c-13.149 5.534-26.266-8.042-21.225-21.967l48.3-133.404c2.16-5.966 7.298-10.169 13.326-10.901C312.467 256 239.85 263.839 312.467 256c-72.618-7.839 0 0-217.739-24.462-6.027-.732-11.165-4.935-13.325-10.901l-48.3-133.404C28.063 73.308 41.18 59.732 54.33 65.266l415.454 174.855c13.623 5.734 13.623 26.024 0 31.758Z" />',viewBox:"0 0 512 512"},paperclipAltIcon:{name:"paperclip-alt",content:'<path d="M407 452.1c-18.6 18.6-43 27.9-67.5 27.9s-48.9-9.3-67.6-27.9L69.3 249.4c-49.7-49.7-49.7-130.5 0-180.2s130.5-49.7 180.2 0l180.2 180.2-22.7 22.5L226.9 91.8c-37.2-37.2-97.9-37.2-135.1 0-37.2 37.2-37.2 97.9 0 135.1l202.7 202.7c24.8 24.8 65.2 24.8 90.1 0 24.8-24.8 24.8-65.2 0-90.1L181.9 136.8c-12.4-12.4-32.7-12.4-45 0s-12.4 32.7 0 45L317 362l-22.5 22.5-180.2-180.1c-24.8-24.8-24.8-65.2 0-90.1s65.2-24.8 90.1 0L407 317c37.3 37.2 37.3 97.9 0 135.1z" />',viewBox:"0 0 512 512"},paperclipIcon:{name:"paperclip",content:'<path d="M384 128v256h-32V128c0-52.9-43.1-96-96-96s-96 43.1-96 96v288c0 35.3 28.7 64 64 64s64-28.7 64-64V128c0-17.6-14.4-32-32-32s-32 14.4-32 32v256h-32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v288c0 52.9-43.1 96-96 96s-96-43.1-96-96V128C128 57.4 185.4 0 256 0s128 57.4 128 128z" />',viewBox:"0 0 512 512"},paragraphAddIcon:{name:"paragraph-add",content:'<path d="M320 96h-64v352h-32V96h-64v352h-32V256c-53 0-96-43-96-96s43-96 96-96h192v32zm96 256v-64h-32v64h-64v32h64v64h32v-64h64v-32h-64z" />',viewBox:"0 0 512 512"},parameterBooleanIcon:{name:"parameter-boolean",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zM207 212h-39v114h-32V212H96v-26h111v26zm96.8-37-68.1 163h-27.5l67.9-163h27.7zM416 212h-49v34h45v26h-45v54h-32V186h81v26z" />',viewBox:"0 0 512 512"},parameterDateTimeIcon:{name:"parameter-date-time",content:'<path d="M416 202.8V128c0-17.7-14.3-32-32-32H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h304c61.9 0 112-50.1 112.1-111.9 0-43.3-25-82.8-64.1-101.3zM64.1 384 64 192h304c-61.9 0-112 50.2-112 112 0 30.1 12.1 58.9 33.6 80H64.1zm303.9 0c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80zm48-96v32h-64v-64h32v32h32zm-224 32H96v-96h96v96z" />',viewBox:"0 0 512 512"},parameterFloatIcon:{name:"parameter-float",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-276-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm83.8 121.3c-4.7.1-9.2-1.5-12.7-4.7-3.3-2.9-5.2-7.1-5.1-11.5-.1-4.4 1.8-8.7 5.2-11.5 3.6-3 8.3-4.6 13-4.5 5.3 0 9.6 1.5 12.9 4.5 6.4 5.9 6.7 15.9.8 22.2l-.9.9c-3.3 3.1-7.8 4.6-13.2 4.6zM390 326h-88v-24h29v-87.2l-30 6.4v-25.5l60-12.1V302h29v24z" />',viewBox:"0 0 512 512"},parameterIntegerIcon:{name:"parameter-integer",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-262.6-58H96.8v-24.4h29v-87.2L96 220.8v-25l60.6-12.2v118h28.8V326zm59.2-26.2v.6h56.8V326h-92.2v-24l40.1-38.4c8.1-7.7 13.7-14.2 17-19.5 3.2-4.9 4.9-10.7 4.9-16.6 0-12.9-6.9-19.3-20.8-19.3-12 0-23.6 4.8-34.6 14.4v-27.2c12.2-7.9 25.9-11.8 41.2-11.8 14.3 0 25.5 3.6 33.5 10.8 8 7.2 12.1 16.9 12.1 29.1 0 16.3-9.8 33.2-29.4 50.7l-28.6 25.6zm82.1 21.6v-26.9c9.4 6.8 20.3 10.3 32.8 10.3 7.9 0 14-1.7 18.4-5.1 4.4-3.4 6.6-8.1 6.6-14.2 0-6.2-2.7-11.1-8.1-14.5-5.4-3.4-12.9-5.1-22.4-5.1h-12.6v-23.6H353c18.2 0 27.4-6.1 27.4-18.2 0-11.4-7-17.1-21-17.1-9.4 0-18.5 3-27.3 9.1V191c9.8-4.9 21.3-7.4 34.4-7.4 14.3 0 25.5 3.2 33.5 9.7 7.8 6 12.2 15.3 12 25.1 0 18.3-9.3 29.8-27.8 34.4v.5c9.9 1.2 17.7 4.8 23.4 10.8 5.7 5.9 8.8 13.8 8.6 21.9 0 13.1-4.8 23.4-14.4 31.1s-22.8 11.4-39.6 11.4c-14.7-.1-26.4-2.4-35.5-7.1z" />',viewBox:"0 0 512 512"},parameterStringIcon:{name:"parameter-string",content:'<path d="M127.3 328.9c13.2 0 23.1-5.6 29.8-16.8h.4v14.4h29.2v-59.8c0-28.5-14.3-42.7-42.8-42.7-6.9.1-13.7.9-20.4 2.5-7.4 1.7-13.3 3.6-17.6 5.9v23.2c10.8-7.1 22.1-10.6 34-10.6s17.8 5.5 17.8 16.4l-27.2 3.6c-23 3-34.5 14.2-34.5 33.6 0 9.2 2.8 16.5 8.3 22s13.2 8.3 23 8.3zm12.2-47.5 18.2-2.3v6.7c0 6.1-1.8 11.2-5.5 15.2-3.6 4-8.8 6.2-14.2 6-4.2 0-7.5-1.1-9.9-3.4-2.4-2.2-3.8-5.4-3.7-8.6 0-7.7 5-12.3 15.1-13.6zm209 33.5c-9.5-9.3-14.3-21.3-14.3-36 0-17 5.1-30.4 15.3-40.2 10.2-9.8 23.8-14.7 40.9-14.7 11.8 0 20.3 1.6 25.6 4.7v26.2c-6.2-4.7-13.8-7.3-21.6-7.2-8.9 0-15.9 2.6-21 7.8-5.2 5.2-7.8 12.3-7.8 21.4 0 8.9 2.5 15.8 7.4 20.9 4.9 5 11.8 7.6 20.4 7.6 7.7 0 15.2-2.4 22.6-7.3v24.8c-7 4-17 6-30.2 6-15.3 0-27.8-4.7-37.3-14zm-104 .5h.4c6.3 9.4 15.6 14.1 27.9 14.1 13.6 0 24.5-5 32.6-15.1 8.1-10.1 12.2-23.5 12.2-40.1 0-15.3-3.5-27.4-10.5-36.3s-16.9-13.3-29.8-13.3c-14.1 0-24.9 5.8-32.5 17.5h-.4V179h-30.9v148h30.9l.1-11.6zm-.5-42.2c0-7.4 2-13.4 6.1-18.1 3.8-4.5 9.5-7.1 15.4-6.9 6.6 0 11.6 2.3 15.2 7 3.5 4.7 5.3 11.1 5.3 19.4 0 10-1.9 17.7-5.8 23.1-3.9 5.4-9.3 8.2-16.4 8.2-5.5.1-10.7-2.2-14.3-6.4-3.7-4.2-5.6-9.6-5.6-16l.1-10.3zM448 96H64c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32zm0 288H64V128h384v256z" />',viewBox:"0 0 512 512"},parametersByteArrayIcon:{name:"parameters-byte-array",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-306.2-55.6c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.9 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.1-16.3 19.1-48.8s-6.2-48.9-18.7-48.9zm113.6 121.3c-33.3 0-50-23.4-50-70.2 0-24.3 4.5-42.8 13.5-55.5s22.1-19.1 39.2-19.1c32.6 0 48.8 23.8 48.8 71.4 0 23.7-4.4 41.9-13.3 54.5-8.8 12.6-21.6 18.9-38.2 18.9zm1.4-121.3c-13.3 0-20 16.8-20 50.3 0 31.6 6.5 47.4 19.6 47.4 12.8 0 19.2-16.3 19.2-48.8s-6.3-48.8-18.8-48.9zM420 326h-88v-24h29v-87.2l-30 6.4v-25.4l61-12.3V302h28v24z" />',viewBox:"0 0 512 512"},parametersIcon:{name:"parameters",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zM285.3 160c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h66.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-98.7zM240 192c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm109.3 96c-8.9-25-36.3-38.1-61.4-29.2-13.7 4.8-24.4 15.6-29.2 29.2H128v32h130.7c8.9 25 36.3 38.1 61.4 29.2 13.7-4.8 24.4-15.6 29.2-29.2H384v-32h-34.7zM304 320c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z" />',viewBox:"0 0 512 512"},parametersUnknownIcon:{name:"parameters-unknown",content:'<path d="M64 96c-17.7 0-32 14.3-32 32v256c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H64zm384 288H64V128h384v256zm-64-64h-64v-32h64v32zm-96 0h-64v-32h64v32zm-96 0h-64v-32h64v32z" />',viewBox:"0 0 512 512"},passwordIcon:{name:"password",content:'<path d="M480 64v384h-32V64h32zM174.2 221.1l-11.3-11.3-34.9 34.9V192H96v52.7l-34.9-34.9-11.3 11.3L84.7 256H32v32h52.7l-34.9 34.9 11.3 11.3L96 299.3V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H192v-32h-52.7l34.9-34.9zm224 0-11.3-11.3-34.9 34.9V192h-32v52.7l-34.9-34.9-11.3 11.3 34.9 34.9H256v32h52.7l-34.9 34.9 11.3 11.3 34.9-34.9V352h32v-52.7l34.9 34.9 11.3-11.3-34.9-34.9H416v-32h-52.7l34.9-34.9z" />',viewBox:"0 0 512 512"},pauseIcon:{name:"pause",content:'<path d="M320 0h160v512H320V0zM32 512h160V0H32v512z" />',viewBox:"0 0 512 512"},pauseSmIcon:{name:"pause-sm",content:'<path d="M288 96h96v320h-96V96zM96 416h96V96H96v320z" />',viewBox:"0 0 512 512"},pencilIcon:{name:"pencil",content:'<path d="m334.9 86.6 45.3-45.3c12.4-12.4 32.8-12.4 45.3 0l45.3 45.3c12.4 12.4 12.4 32.8 0 45.3l-45.3 45.3-90.6-90.6zm-22.6 22.6L32 389.5V480h90.5l280.3-280.3-90.5-90.5zM99.9 412.1l-22.6-22.6 235-235 22.6 22.6-235 235z" />',viewBox:"0 0 512 512"},percentIcon:{name:"percent",content:'<path d="M352 64h32L160 448h-32L352 64zm16 160c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80zM144 64c-44.2 0-80 50.1-80 112s35.8 112 80 112 80-50.1 80-112-35.8-112-80-112zm0 192c-22.7 0-48-32.9-48-80s25.3-80 48-80 48 32.9 48 80-25.3 80-48 80z" />',viewBox:"0 0 512 512"},photosIcon:{name:"photos",content:'<path d="M256 288c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zm96-64v192c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32h256c17.7 0 32 14.3 32 32zm-31.8 0c-.1-.1-.1-.1 0 0l-256.1-.1-.1.1v149.9l74.6-70 85.3 80 53.3-50 42.7 40 .3-149.9zm63.8-96H128c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32zm64-64H192c-17.7 0-32 14.3-32 32h288v224c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},pinIcon:{name:"pin",content:'<path d="M320 256V96c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v160H96v32h128v160h32V288h128v-32h-64zm-128 0V96h64v160h-64z" />',viewBox:"0 0 512 512"},pinterestBoxIcon:{name:"pinterest-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM276.6 327.3c-19.8 0-38.5-10.8-44.9-22.9 0 0-10.7 42.4-12.9 50.5-8 28.9-31.4 57.8-33.2 60.2-1.3 1.6-4.1 1.1-4.4-1.1-.5-3.7-6.5-40.1.5-69.9 3.5-14.9 23.6-100.2 23.6-100.2s-5.9-11.7-5.9-29.1c0-27.2 15.8-47.6 35.5-47.6 16.7 0 24.8 12.5 24.8 27.6 0 16.8-10.7 41.9-16.2 65.2-4.6 19.5 9.8 35.4 29 35.4 34.8 0 58.3-44.7 58.3-97.7 0-40.3-27.1-70.4-76.5-70.4-55.7 0-90.5 41.6-90.5 88 0 16 4.7 27.3 12.1 36.1 3.4 4 3.9 5.6 2.6 10.2-.9 3.4-2.9 11.5-3.7 14.8-1.2 4.6-5 6.3-9.2 4.6-25.6-10.4-37.6-38.5-37.6-70.2C128 158.6 172 96 259.4 96c70.2 0 116.4 50.8 116.4 105.3-.1 72.1-40.2 126-99.2 126z" />',viewBox:"0 0 512 512"},pinterestIcon:{name:"pinterest",content:'<path d="M250.7 32C126.6 32 64 119.7 64 192.7c0 44.3 17 83.6 53.5 98.3 6 2.4 11.4.1 13.1-6.4 1.2-4.5 4.1-15.9 5.3-20.7 1.8-6.5 1.1-8.7-3.7-14.3-10.5-12.2-17.2-28.1-17.2-50.5 0-65.1 49.4-123.3 128.6-123.3 70.2 0 108.7 42.2 108.7 98.6 0 74.2-33.3 136.8-82.8 136.8-27.3 0-47.8-22.2-41.2-49.6 7.9-32.6 23.1-67.8 23.1-91.3 0-21.1-11.5-38.7-35.2-38.7-27.9 0-50.4 28.5-50.4 66.6 0 24.3 8.3 40.7 8.3 40.7s-28.6 119.3-33.6 140.2c-10 41.6-1.5 92.7-.8 97.8.5 3 4.4 3.7 6.2 1.5 2.6-3.3 35.9-43.8 47.2-84.2 3.2-11.4 18.4-70.8 18.4-70.8 9.1 17.1 35.6 32.1 63.8 32.1 84 0 141-75.4 141-176.4C416 103 350.3 32 250.7 32z" />',viewBox:"0 0 512 512"},playIcon:{name:"play",content:'<path d="M0 512V0l512 256L0 512z" />',viewBox:"0 0 512 512"},playSmIcon:{name:"play-sm",content:'<path d="M96 416V96l320 160L96 416z" />',viewBox:"0 0 512 512"},playlistIcon:{name:"playlist",content:'<path d="M0 256h320v64H0v-64zM512 64H0V0h512v64zm-128 64.8V397c-13.4-8-30-12.8-48-12.8-44.2 0-80 28.7-80 64s35.8 64 80 64 80-28.7 80-64V193h96v-65l-128 .8zM0 128v64h320v-64H0z" />',viewBox:"0 0 512 512"},plusCircleIcon:{name:"plus-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm32 256v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96z" />',viewBox:"0 0 512 512"},plusIcon:{name:"plus",content:'<path d="M288 224V96h-64v128H96v64h128v128h64V288h128v-64H288z" />',viewBox:"0 0 512 512"},plusOutlineIcon:{name:"plus-outline",content:'<path d="M288 288v96h-64v-96h-96v-64h96v-96h64v96h96v64h-96zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},plusSmIcon:{name:"plus-sm",content:'<path d="M352 224v64h-64v64h-64v-64h-64v-64h64v-64h64v64h64z" />',viewBox:"0 0 512 512"},pointerIcon:{name:"pointer",content:'<path d="m285.5 326.1 43.9 124.4-83.5 29.5-43.8-124.2L128 416V32l256 288-98.5 6.1z" />',viewBox:"0 0 512 512"},positionBottomIcon:{name:"position-bottom",content:'<path d="M32 64v416h448V32H32v32zm416 0v384H64V64h384zM96 320h320v96H96z" />',viewBox:"0 0 512 512"},positionLeftIcon:{name:"position-left",content:'<path d="M448 32H32v448h448V32h-32zm0 416H64V64h384v384zM96 96h96v320H96z" />',viewBox:"0 0 512 512"},positionRightIcon:{name:"position-right",content:'<path d="M64 480h416V32H32v448h32zm0-416h384v384H64V64zm256 32h96v320h-96z" />',viewBox:"0 0 512 512"},positionTopIcon:{name:"position-top",content:'<path d="M480 448V32H32v448h448v-32zm-416 0V64h384v384H64zM96 96h320v96H96z" />',viewBox:"0 0 512 512"},printIcon:{name:"print",content:'<path d="M448 160h-32V96l-64-64H128c-17.7 0-32 14.3-32 32v96H64c-17.6 0-32 14.4-32 32v160c0 17.6 14.4 32 32 32h32v64c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32v-64h32c17.6 0 32-14.4 32-32V192c0-17.6-14.4-32-32-32zM128 64h192v64h64v64H128V64zm320 256h-64v127.9l-.1.1H128.1l-.1-.1V320H64v-32h384v32zm-288 0h192v32H160v-32zm0 64h160v32H160v-32z" />',viewBox:"0 0 512 512"},puzzlePieceIcon:{name:"puzzle-piece",content:'<path d="M480 352c0 1 0 2-.1 2.9v.8c0 .8-.1 1.7-.2 2.5v.5c-.1 1-.2 1.9-.4 2.8-.1.4-.1.9-.2 1.3s-.1.8-.2 1.2c-.1.4-.2.7-.2 1.1l-.6 2.7c-.1.4-.2.7-.3 1.1 0 .2-.1.5-.2.7-.2.5-.4 1.1-.5 1.7-.3.9-.6 1.8-.9 2.6 0 .1-.1.2-.1.3-.3.8-.6 1.6-.9 2.3-.1.2-.2.5-.3.7-.3.8-.7 1.5-1 2.3 0 .1-.1.2-.1.2-.4.8-.8 1.6-1.3 2.4l-.6 1.2c-.2.4-.4.7-.6 1.1-.2.3-.3.6-.5.8-.5.8-1 1.5-1.5 2.3l-.6.9c-.2.4-.5.7-.7 1-.2.3-.5.6-.7.9-.5.7-1.1 1.4-1.7 2.1l-.3.3-1.5 1.8c-.2.2-.3.4-.5.5-.6.7-1.2 1.3-1.9 2-.6.6-1.3 1.3-2 1.9-.4.3-.7.7-1.1 1-.3.3-.7.6-1 .9-.2.1-.3.3-.5.4-.7.6-1.4 1.1-2.1 1.7-.3.3-.7.5-1 .8-.3.2-.6.5-1 .7l-.9.6c-.8.5-1.5 1-2.3 1.5-.2.1-.5.3-.7.4-.4.2-.7.4-1.1.6-.4.2-.8.5-1.3.7-.8.4-1.6.9-2.4 1.3-.1.1-.2.1-.3.2-.3.2-.7.4-1 .5-.6.2-1.2.5-1.9.8-.8.3-1.6.6-2.3.9-.1 0-.2.1-.3.1-.9.3-1.7.6-2.6.9-.6.2-1.2.3-1.7.6-.2.1-.5.1-.7.2-.4.1-.7.2-1.1.3l-2.7.6c-.3.1-.5.1-.8.2-.5.1-1.1.2-1.7.3-.4.1-.8.1-1.2.2-.9.1-1.9.3-2.8.4-.2 0-.5 0-.7.1-.4.1-.9.1-1.3.1-.6 0-1.1.1-1.7.1-1 0-2 .1-2.9.1-1.2 0-2.3 0-3.5-.1-.4 0-.7-.1-1.1-.1-.8-.1-1.6-.1-2.3-.2-.4 0-.9-.1-1.3-.2l-2.1-.3c-.4-.1-.9-.2-1.3-.2-.7-.1-1.4-.3-2-.4-.4-.1-.9-.2-1.3-.3-.7-.2-1.4-.3-2-.5l-1.2-.3c-.7-.2-1.4-.4-2.1-.7-.4-.1-.7-.2-1.1-.4-.8-.3-1.5-.6-2.3-.9-.3-.1-.5-.2-.8-.3-1-.4-1.9-.8-2.8-1.2-.1 0-.1-.1-.2-.1-3.1-1.5-6-3.2-8.8-5.1-.1 0-.1-.1-.2-.2-.8-.6-1.7-1.2-2.5-1.8-.1-.1-.2-.2-.3-.2-.8-.6-1.6-1.2-2.3-1.9-.3-.2-.6-.5-.8-.7-.5-.4-1-.8-1.4-1.3l-.5-.5c-.8-.8-1.6-1.5-2.3-2.3l-1.5-1.5c-.3-.3-.5-.6-.7-.9-.1-.2-.2-.3-.4-.5-4.9-5.7-12-8.9-19.5-8.9h-1.4c-14.3 0-25.9 11.6-25.9 25.9v70H217.9c-14.3 0-25.9-11.6-25.9-25.9v-1.4c0-7.5 3.3-14.6 8.9-19.5 15-12.5 24.2-31.6 23-52.9-1.8-32.5-28.3-58.7-60.9-60.2-36.7-1.7-67 27.6-67 63.9 0 19.6 8.8 37.1 22.6 48.8 5.9 5 9.4 12.2 9.4 19.9v1.4c0 14.3-11.6 25.9-25.9 25.9H32V192h70.1c14.3 0 25.9-11.6 25.9-25.9v-1.4c0-7.5-3.3-14.6-8.9-19.5l-.3-.3c-.7-.5-1.4-1.1-2-1.7l-.6-.6c-.8-.8-1.6-1.5-2.3-2.3l-.2-.2c-.7-.7-1.4-1.5-2.1-2.3-.1-.1-.2-.2-.2-.3-.7-.8-1.3-1.5-1.9-2.3-.1-.1-.2-.2-.2-.3-.6-.8-1.2-1.6-1.8-2.5l-.2-.2c-1.9-2.8-3.6-5.7-5.1-8.8 0-.1-.1-.1-.1-.2-.4-.9-.9-1.9-1.2-2.8-.1-.3-.2-.5-.3-.8-.3-.8-.6-1.5-.9-2.3-.1-.3-.2-.7-.4-1.1-.2-.7-.5-1.4-.7-2.1l-.3-1.2c-.2-.7-.4-1.4-.5-2-.1-.4-.2-.9-.3-1.3-.1-.7-.3-1.4-.4-2-.1-.4-.2-.9-.2-1.3l-.3-2.1c-.1-.4-.1-.9-.2-1.3-.1-.8-.1-1.6-.2-2.3 0-.4-.1-.7-.1-1.1-.1-1.2-.1-2.3-.1-3.5 0-1 0-2 .1-2.9 0-.4 0-.9.1-1.3 0-.7.1-1.4.2-2v-.4c.1-.9.2-1.9.4-2.8 0-.2.1-.4.1-.7.1-.8.3-1.6.4-2.4 0-.2.1-.4.1-.5l.6-2.7c0-.1.1-.3.1-.4.2-.7.4-1.4.6-2.2l.3-.9c.3-.9.6-1.8.9-2.6 0-.1.1-.2.1-.3.3-.8.6-1.6.9-2.3.1-.2.2-.5.3-.7.3-.8.7-1.5 1-2.3 0-.1.1-.2.1-.3.4-.8.8-1.6 1.3-2.4l.3-.6c.4-.7.7-1.3 1.1-1.9.1-.2.2-.3.3-.5.5-.8 1-1.5 1.5-2.3.1-.1.2-.3.3-.4.4-.6.9-1.2 1.3-1.8.1-.2.3-.4.4-.6.5-.7 1.1-1.4 1.7-2.1l.3-.3 1.5-1.8c.2-.2.3-.4.5-.5.6-.7 1.2-1.3 1.9-2 .6-.6 1.3-1.3 2-1.9.2-.2.4-.3.5-.5l1.8-1.5.3-.3c.7-.6 1.4-1.1 2.1-1.7.2-.1.3-.3.5-.4.6-.5 1.3-.9 1.9-1.3.2-.1.3-.2.5-.3.8-.5 1.5-1 2.3-1.5.1-.1.3-.2.4-.2.6-.4 1.3-.8 1.9-1.1.2-.1.5-.3.7-.4.8-.4 1.6-.9 2.4-1.3.1 0 .2-.1.2-.1.8-.4 1.5-.7 2.3-1 .2-.1.5-.2.7-.3.8-.3 1.5-.6 2.3-.9.1 0 .2-.1.3-.1.9-.3 1.7-.6 2.6-.9.3-.1.6-.2.8-.3.7-.2 1.4-.4 2.2-.6.2 0 .3-.1.5-.1l2.7-.6c.2 0 .4-.1.6-.1.8-.2 1.6-.3 2.3-.4.2 0 .5-.1.7-.1.9-.1 1.9-.3 2.8-.4.2 0 .4 0 .5-.1.8-.1 1.6-.1 2.5-.2h.7c1 0 1.9-.1 2.9-.1s2 0 3 .1h.7c.9.1 1.8.1 2.7.2h.2c30 3.1 53.9 26.9 57.1 57 0 .3.1.7.1 1 .1.7.1 1.4.2 2.1 0 .5 0 .9.1 1.4v5c0 .5-.1 1-.1 1.4 0 .6-.1 1.2-.1 1.7s-.1 1-.2 1.5c-.1.6-.1 1.1-.2 1.7-.1.5-.1 1-.2 1.5s-.2 1.1-.3 1.6l-.3 1.5c-.1.5-.2 1-.4 1.5-.1.5-.2 1-.4 1.5-.1.5-.3.9-.4 1.4-.2.5-.3 1-.5 1.5-.1.4-.3.9-.4 1.3-.2.5-.4 1.1-.6 1.6-.1.4-.3.8-.5 1.2-.2.6-.4 1.1-.7 1.7-.1.3-.3.7-.4 1-.3.6-.5 1.2-.8 1.8-.1.2-.2.5-.4.7-.3.7-.7 1.3-1 2 0 .1-.1.2-.1.2-3.8 6.7-8.7 12.7-14.5 17.7h-.1c-5.8 5-9.4 12.2-9.4 19.9v1.4c0 14.3 11.6 25.9 25.9 25.9H320v116.7c0 6.3 5.1 11.3 11.3 11.3H357c5.2 0 9.1-4.1 10-9.2 0-.1.1-.1.1-.2 5-5.8 10.9-10.8 17.7-14.5.1 0 .2-.1.2-.1.7-.4 1.3-.7 2-1 .2-.1.5-.2.7-.4.6-.3 1.2-.6 1.8-.8.3-.1.7-.3 1-.4.6-.2 1.1-.5 1.7-.7.4-.2.8-.3 1.2-.5.5-.2 1.1-.4 1.6-.6.4-.2.9-.3 1.3-.4.5-.2 1-.3 1.5-.5.5-.1.9-.3 1.4-.4.5-.1 1-.3 1.5-.4.5-.1 1-.2 1.5-.4l1.5-.3c.5-.1 1.1-.2 1.6-.3.5-.1 1-.2 1.5-.2.6-.1 1.1-.1 1.7-.2.5-.1 1-.1 1.5-.2.6-.1 1.1-.1 1.7-.1.5 0 1-.1 1.4-.1h5c.5 0 .9 0 1.4.1.7 0 1.4.1 2.1.2.3 0 .7.1 1 .1 30 3.1 53.9 27 57 57.1v.2c.1.9.2 1.8.2 2.7v.7c.2.4.2 1.4.2 2.4z" />',viewBox:"0 0 512 512"},qrCodeIcon:{name:"qr-code",content:'<path d="M320 0v192h192V0H320zm160 160H352V32h128v128zm-32-32h-64V64h64v64zM0 0v192h192V0H0zm160 160H32V32h128v128zm-32-32H64V64h64v64zM0 320v192h192V320H0zm160 160H32V352h128v128zm-32-32H64v-64h64v64zm32-224h32v32h-32v-32zm0 64h-32v-32h32v32zm-64-64h32v32H96v-32zm-32 32H32v-32h32v32zm32 32H64v-32h32v32zm128 0h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32v-32h32v32zm0-64h32v32h-32v-32zm0 0h-32V96h32v32zm0-64h32v32h-32V64zm0 0h-32V32h32v32zm64 192h-32v-32h32v32zm-96 32h32v32h-32v-32zm64 0h-32v-32h32v32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm0 0h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h32v32h-32v-32zm64 0h-32v-32h32v32zm32 32h-32v-32h32v32zm32-32h-32v-32h32v32zm-96 32h32v32h-32v-32zm0 64h-32v-32h32v32zm0 0h32v32h-32v-32zm32-32h32v32h-32v-32zm32-32h32v32h-32v-32zm-96 96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h-32v-32h32v32zm192-192h-32v-32h32v32zM352 416h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm32-96h32v32h-32v-32zm0 64h-32v-32h32v32zm-32 32h32v32h-32v-32zm0 64h-32v-32h32v32zm64-64h-32v-32h32v32zm0 64h-32v-32h32v32zm32-32h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zm0-64h-32v-32h32v32zM256 512h-32v-32h32v32zm64 0h-32v-32h32v32zm32-32h32v32h-32v-32zm64 0h32v32h-32v-32zm96 32h-32v-32h32v32z" />',viewBox:"0 0 512 512"},qrCodeOutlineIcon:{name:"qr-code-outline",content:'<path d="M192 224v32h-32v-32h32zm-64 64h32v-32h-32v32zm-32-64v32h32v-32H96zm-32 64h32v-32H64v32zm128 0h32v-32h-32v32zm64-64h-32v32h32v-32zm32-32h-32v32h32v-32zm-64-32v32h32v-32h-32zm64-32h-32v32h32v-32zm-64-32v32h32V96h-32zm64-32h-32v32h32V64zm32 192v-32h-32v32h32zm-96 32v32h32v-32h-32zm64-32h-32v32h32v-32zm0 64h-32v32h32v-32zm-64 32v32h32v-32h-32zm32 32v32h32v-32h-32zm-32 64h32v-32h-32v32zm64-96v32h32v-32h-32zm32-32v-32h-32v32h32zm32-32v-32h-32v32h32zm32-64h-32v32h32v-32zm32 64v-32h-32v32h32zm32-64h-32v32h32v-32zm-64 96v-32h-32v32h32zm-32 32v-32h-32v32h32zm0 32h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm-128 64v32h32v-32h-32zm-32 64h32v-32h-32v32zm64 0h32v-32h-32v32zm32-32h32v-32h-32v32zm64-32v-32h-32v32h32zm0 64v-32h-32v32h32zM512 0v512H0V0h512zm-32 32H32v448h448V32zm-32 160H320V64h128v128zm-32-32-.5-64H352v64h64zm-224 32H64V64h128v128zm-32-32-.5-64H96v64h64zm32 288H64V320h128v128zm-32-32-.5-64H96v64h64z" />',viewBox:"0 0 512 512"},qrCodeScannerIcon:{name:"qr-code-scanner",content:'<path d="M512 0v96h-32V32h-64V0h96zm-32 448h-64v32h96v-96h-32v64zM64 64h128v128H64V64zm32 96h64V96H96v64zM32 32h64V0H0v96h32V32zm0 224h448v-32H32v32zm0 128H0v96h96v-32H32v-64zM288 96h-32v32h32V96zm-64-32v32h32V64h-32zm224 128H320V64h128v128zm-32-96h-64v64h64V96zm-128 96v-32h-32v32h32zm-32-64h-32v32h32v-32zM64 288h128v128H64V288zm32 96h64v-64H96v64zm192-64h-32v32h32v-32zm-64-32v32h32v-32h-32zm32 128h32v-32h-32v32zm-32-64v32h32v-32h-32zm96-64h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm-32 64h32v-32h-32v32zm64-128h-32v32h32v-32zm-32 64v32h32v-32h-32zm64 0v-32h-32v32h32zm0 64v-32h-32v32h32zm32-128h-32v32h32v-32zm0 96v-32h-32v32h32z" />',viewBox:"0 0 512 512"},questionCircleIcon:{name:"question-circle",content:'<path d="M352 192c0 45.2-23.4 65.9-40.6 81-15.1 13.3-23.4 20.7-23.4 47h-64c0-55.2 27.1-79.2 45.1-95 13.8-12.1 18.9-16.7 18.9-33 0-17.6-14.4-32-32-32s-32 14.4-32 32h-64c0-53 43-96 96-96s96 43 96 96zM224 416h64v-64h-64v64zm256-160c0 123.7-100.3 224-224 224S32 379.7 32 256 132.3 32 256 32s224 100.3 224 224zm-32 0c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z" />',viewBox:"0 0 512 512"},radiobuttonCheckedIcon:{name:"radiobutton-checked",content:'<path d="M351.6 255.3c0 53.2-43.1 96.4-96.4 96.4s-96.4-43.1-96.4-96.4 43.1-96.4 96.4-96.4 96.4 43.2 96.4 96.4zM256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},radiobuttonIcon:{name:"radiobutton",content:'<path d="M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm0 352c-88.4 0-160-71.6-160-160S167.6 96 256 96s160 71.6 160 160-71.6 160-160 160z" />',viewBox:"0 0 512 512"},redditBoxIcon:{name:"reddit-box",content:'<path d="M111.1 244.9c-5.2 6.1-9.6 12.7-13.2 19.9-2.1-1.5-3.9-3.6-5.5-6.5-2.3-2.6-3.4-5.9-3.4-9.8v-1.4c.5-5.8 3-10.8 7.7-15.1 5.3-4 10.9-6.3 16.8-7h2.4c2.4 0 4.6.3 6.6 1 2 .6 4.1 1.3 6.3 1.9a124.3 124.3 0 0 0-17.7 17zm252.1-94.3c4.4 3.7 9.1 5.4 14.4 5.4h1.4c5.3 0 10-1.8 14.2-5.4 4-3.7 6.3-8 6.9-13.1v-1c0-5.5-2.3-10.1-6.9-13.8-3.8-3.8-8.3-5.6-13.6-5.7h-1.1c-2.2 0-4.1.1-5.5.5-4.6.9-8.4 3.2-11.2 6.6-3.3 3.4-4.8 7.4-4.8 12.4v1c0 5.1 2 9.5 6.2 13.1zM394.5 279c2.3 6.1 3.5 12.4 3.5 19v5.7c0 1.8-.3 3.4-1 5-2.1 9.3-6.4 18-13 26.2-5.6 7.5-12.8 14.4-21.6 20.6-13.1 8.8-27.3 15.5-42.7 20.2-15.4 4.7-31 7.6-47 8.9-2.7.4-5.5.5-8.1.5h-8.1c-16 0-31.8-1.6-47.4-4.9s-30.2-8.5-44-15.7l-3.4-1.9-3.6-1.7c-9.8-6.2-18.3-13.1-25.8-20.6-7.7-8.6-12.9-18-15.8-28.1-1.3-3.9-1.9-8.4-1.9-13.7 0-13.6 4.2-25.7 12.7-36.3 8.3-10.6 18.3-19.3 30.1-26.4 11.8-7 24.2-12.4 37.3-16.1 19.6-5.7 40.2-8.7 61.8-8.7h.1c7.5 0 15.2.4 23.1 1.2s15.6 2 23.1 3.6l7.4 1.9 7.7 1.9c13.1 3.7 25.6 9 37.4 15.8 11.9 6.9 21.8 15.6 30 26.2 3.8 5.6 6.9 11.4 9.2 17.4zm-205.9 21.9c2.3.9 4.7 1.4 7.5 1.4 6.3 0 12-2.1 16.9-6.3 5.3-4.3 8-9.7 8-15.9v-1.5c0-5.9-2.5-11-7.5-15.2-5.3-4.3-11.2-6.6-17.4-6.6-1.9 0-3.5.1-4.7.5-4.3.6-8.2 2.3-11.5 5.2-3.3 2.8-5.5 6.3-6.9 10.3-.7.9-1 2-1 3.1v3.1c0 5.3 1.4 10 4.3 14 3.3 4 7.3 6.7 12.3 7.9zm139.5 38.2c0-1-.3-2.4-1-4.3-1-2.4-2.6-4.1-4.7-4.9-2.5-1.3-4.6-1.9-6.4-1.9-1.9 0-4 .5-5.9 1.5-17.2 9.6-36 14.5-56.2 14.7-15.1 0-29.3-3-42.2-8.8-1.9-.6-4.2-2.2-6.8-4.6-.6-.3-1.3-.6-2.1-1s-1.6-.6-2.4-1c-1.9-.6-3.4-1-4.3-1v.1c-.9 0-2.4.4-4.3 1h-.5c-1.9.6-3.7 2-5.4 4.3-.9 1.6-1.4 3.6-1.4 5.9 0 1.9.5 3.9 1.4 5.9 1 1.6 2.4 2.9 4.3 3.8 18.2 11.4 38.1 17.1 59.8 17.1h3.6c10.5 0 20.6-1 30.4-3 9.8-2 19.3-5.1 28.5-9.4 1.2-.6 2.6-1.3 4.1-1.9 1.4-.6 3-1.4 4.5-2.4 1.6-.7 3-1.6 4.1-2.9 1.6-1.6 2.5-3.3 2.9-5-.2-.4 0-1.2 0-2.2zm12.2-59.2c0-2.2-.5-4.6-1.5-7.2-1.2-4.6-4.2-8.4-8.8-11.5-4.5-2.6-9.2-3.9-14.1-3.9-2.7 0-5.5.5-8.4 1.4-4.6 1.6-8.4 4.4-11.3 8.4-3 3.5-4.6 7.8-4.6 12.7 0 1.8.2 3.1.4 4.1v.5c1 5.6 3.8 9.8 8.4 12.7 4.6 3.5 9.9 5.3 15.8 5.3 1.9 0 4.1-.5 6.7-1.4h.7c4.2-.8 8.2-3.4 12.2-7.7 3-3.9 4.5-8.4 4.5-13.4zM480 64v384c0 17.6-14.4 32-32 32H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zm-32.3 181c-.9-10.3-5.2-19.1-12.4-26.6-7.4-7.6-16.2-12.7-26-15.4h-.1c-4.5-1-8.7-1.4-12.7-1.4-10.6-.2-19.8 2.4-28 7.7-1.7.8-3.9 2.1-6.5 4.1-.6-.6-1.3-1-1.9-1l-.5-.5c-13.7-7.2-28-12.7-43.1-16.3-15.1-3.7-30.4-6-46.1-7 0-5.8.5-25.5 1.4-31.3.9-5.8 2.8-11.1 5.6-16.1 3.6-7.2 10.1-11.3 19.1-12.3h4.3c5.6 0 11 .8 16.3 2.3s10.6 3.2 15.9 5.2v1.5c0 5.6 1.1 10.8 3.4 15.3 2.2 4.5 5.2 8.7 8.8 12.5 7.7 7.8 17.1 12.3 28.4 13.3h5.5c11.2 0 21.1-3.6 30.1-10.9 4-3.3 7.3-7.2 9.8-11.7 2.6-4.4 4.2-9.4 4.8-15.1.3-1 .5-2.4.5-4.3.2-8.3-2.4-16.2-7.7-23.4-5.3-6.9-11.9-11.9-19.7-14.7h-.5c-4.9-2.3-10.7-3.4-17.3-3.4-5.4 0-11.1.8-17.1 2.4h-.4c-9.7 3.8-17.1 9.7-22.5 17.6-13.3-5.4-26.5-8-39.5-8-4.9 0-9.9.5-14.9 1.4h.9c-6.6 1.6-12.4 4.4-17.5 8.3-5.1 3.9-9.3 8.7-12.5 14.3-4 6.5-6.6 23.5-7.9 30.9-1.3 7.3-1.9 18.7-1.9 26-15.7 1.1-31.3 3.4-47.2 6.8-15.7 3.5-30.4 8.9-44.2 16.4-1 .3-1.8.7-2.6 1s-1.5.6-2.2 1c-4.7-3.4-9.7-6-15.4-7.9-5.9-1.9-12.1-2.9-18.6-2.9h-4.3c-6.5 0-12.6 1.2-18.1 3.6s-10.6 5.8-15.2 10.1c-4.3 4.3-7.8 9.2-10.4 14.5-2.7 5.4-3.9 11-3.9 16.9.3 8.1 3.3 16 8.9 23.5 4.3 6.2 10.4 11.5 18.2 15.8-.4 1.6-.6 3.3-.7 5.1-.1 1.8-.2 3.6-.2 5.2 0 7.5 1.1 15 3.4 22.6 2.3 7.5 5.5 14.6 9.8 21.1 8.1 12.5 18.4 22.9 30.7 31.2s25.3 15.1 39.1 20.4c13.1 5 26.6 8.7 40.5 11.1 13.9 2.5 28.1 3.7 42.4 3.7 9.4 0 18.8-.6 28.1-1.8 9.4-1.2 18.8-2.8 28.2-4.7 17.4-4.1 34.1-10.4 50.2-18.8s29.5-19.5 40.8-33.2c12.8-15.4 19.2-32.6 19.2-51.7 0-1.9-.1-3.8-.3-5.6-.2-1.8-.4-3.6-.7-5.1 7.5-3.7 13.7-8.9 18.7-15.8 5.3-7.2 7.9-15.2 7.9-24V245h-.2zm-37.1-17c-4.7-2.2-9.4-3.3-14.1-3.3-4.6 0-8.9.9-12.9 2.9 6.5 5.3 12.5 10.9 17.7 17 5.3 6.1 9.7 12.9 13.2 20.4 2.2-1.9 4.2-4.2 6-6.9 1.9-3.2 2.9-6.8 2.9-10.8 0-2.9-.9-6-2.4-9.4-2.3-4-5.8-7.3-10.4-9.9z" />',viewBox:"0 0 512 512"},redditIcon:{name:"reddit",content:'<path d="M420.3 33c-7 0-14.5 1-22.4 3h-1.7c-12.4 4.8-21.9 12.3-28.8 22.5-17-7-34-10.4-50.7-10.4-6.3 0-12.6.6-19.1 1.9H296c-8.8 2.1-16.5 5.8-23.3 11s-12.4 11.6-16.6 19.1c-5.3 8.7-8.9 31.3-10.5 41.1-1.7 9.8-2.6 25-2.6 34.7-20.9 1.5-41.8 4.5-62.8 9.1s-40.6 11.9-59 21.9c-1.3.4-2.5.9-3.5 1.3s-2 .9-2.9 1.3c-6.2-4.5-13-8-20.5-10.6-7.8-2.6-16.1-3.9-24.9-3.9h-5.8c-8.7 0-16.7 1.6-24.1 4.8s-14.1 7.7-20.3 13.4c-5.8 5.8-10.3 12.2-13.9 19.4-3.6 7.3-5.3 14.8-5.3 22.7.4 10.8 4.4 21.3 11.8 31.4 5.7 8.3 13.8 15.4 24.3 21.1-.5 2.1-.7 4.4-1 6.8-.2 2.5-.3 4.8-.3 6.9 0 10 1.5 20 4.5 30.1 3 10.1 7.4 19.4 13.1 28.1 10.9 16.6 24.5 30.5 40.9 41.6 16.4 11 33.8 20.2 52.1 27.2 17.5 6.6 35.5 11.6 54 14.8 18.6 3.3 37.4 5 56.6 5 12.5 0 25.1-.8 37.5-2.4 12.5-1.6 25-3.7 37.6-6.3 23.2-5.5 45.5-13.9 66.8-25.1s39.4-26 54.3-44.3c17.1-20.5 25.6-43.4 25.6-68.8 0-2.6-.1-5.1-.4-7.5-.3-2.4-.5-4.7-.9-6.8 10-4.9 18.3-11.9 24.9-21.1 7.1-9.6 10.6-20.3 10.6-32v-3c-1.2-13.4-6.8-25.1-16.3-34.9-9.8-10-21.2-16.7-34.2-20.1h-.6c-6-1.3-11.6-1.9-16.9-1.9-14.1-.2-26.6 3.2-37.4 10.2-2.3 1.1-5.2 2.8-8.6 5.4-.8-.9-1.8-1.3-2.6-1.3l-.7-.6c-18.2-9.6-37.5-16.9-57.7-21.8-20.1-4.9-40.6-8-61.6-9.3 0-7.7.7-34.2 1.8-41.9s3.7-14.8 7.5-21.4c4.9-9.6 13.4-15.1 25.6-16.4h5.8c7.4 0 14.7 1.1 21.7 3 7.1 2 14.1 4.3 21.2 6.9v1.9c0 7.5 1.5 14.2 4.5 20.3 2.9 6 6.9 11.6 11.8 16.5 10.3 10.4 22.8 16.3 37.7 17.5h7.3c14.9 0 28.1-4.8 39.8-14.4 5.3-4.4 9.7-9.6 13.1-15.5s5.5-12.5 6.4-20c.4-1.3.6-3.2.6-5.8.2-11-3.3-21.4-10.3-30.9-7.1-9.2-15.8-15.7-26.2-19.5h-.5c-6.5-2.7-14.1-4.1-22.9-4zm1.2 27.4c7.2.1 13.2 2.7 18.3 7.7C446 73 449 79.2 449 86.7V88c-.8 6.8-3.9 12.7-9.3 17.6-5.5 4.9-11.9 7.4-19.1 7.4h-1.9c-7.1 0-13.4-2.5-19.4-7.4-5.5-4.7-8.3-10.6-8.3-17.6v-1.3c0-6.6 2.1-12.1 6.5-16.6 3.8-4.7 8.9-7.7 15.1-8.9 2-.4 4.4-.6 7.5-.6.4-.2.9-.2 1.4-.2zm-165 125.7c10 0 20.3.5 30.8 1.6 10.6 1.1 20.9 2.7 30.8 4.8l9.9 2.6 10.2 2.6c17.5 4.9 34.1 11.9 49.9 21.1 15.8 9.2 29 20.8 40 34.9 5.1 7.3 9.2 14.9 12.3 23 3.1 8.1 4.6 16.5 4.6 25.3v7.6c0 2.3-.4 4.6-1.3 6.7-2.8 12.4-8.5 24-17.3 34.9-7.4 10-17 19.2-28.8 27.5-17.5 11.7-36.4 20.7-56.9 26.9-20.4 6.2-41.3 10.1-62.7 11.8-3.6.5-7.3.6-10.8.6h-10.8c-21.3 0-42.4-2.2-63.1-6.6-20.8-4.4-40.3-11.4-58.6-21l-4.5-2.6-4.8-2.2c-13-8.3-24.4-17.5-34.5-27.5-10.2-11.5-17.2-24-21.1-37.4-1.7-5.2-2.6-11.2-2.6-18.2 0-18.1 5.6-34.2 16.9-48.3 11-14.1 24.4-25.8 40.1-35.2s32.2-16.5 49.7-21.4c26.2-7.7 53.7-11.6 82.6-11.5zM65.7 204h3.2c3.2 0 6.1.4 8.8 1.3 2.6.9 5.4 1.7 8.4 2.6-8.7 7-16.5 14.6-23.5 22.7-6.9 8.1-12.8 17-17.7 26.6-2.8-2-5.2-4.8-7.4-8.6-3-3.5-4.5-7.8-4.5-13.1v-2.1c.7-7.7 4-14.4 10.3-20.2 7.1-5.3 14.6-8.3 22.4-9.2zm377.6-.4c6.4 0 12.7 1.5 18.9 4.4 6.1 3.5 10.8 7.8 13.7 13.2 2.1 4.5 3.2 8.6 3.2 12.5 0 5.3-1.2 10.1-3.8 14.4-2.4 3.6-5 6.7-8 9.2-4.7-10-10.6-19.1-17.6-27.2-7-8.1-14.9-15.6-23.6-22.7 5.3-2.6 11-3.8 17.2-3.8zm-107.6 43.2c-3.6 0-7.4.7-11.2 1.9-6.2 2.2-11.2 5.9-15 11.2-4 4.7-6.1 10.3-6.1 16.9 0 2.4.2 4.2.6 5.5v.6c1.3 7.5 5.1 13.1 11.2 17 6.2 4.7 13.2 7 21.1 7 2.5 0 5.5-.6 9-1.9h.9c5.6-1.1 11-4.5 16.3-10.2 3.8-5.3 5.8-11.4 5.8-18 0-3-.6-6.2-2-9.6-1.6-6.2-5.6-11.3-11.8-15.3-5.9-3.3-12.2-5.1-18.8-5.1zm-158.8-.1c-2.6 0-4.7.2-6.3.7-5.8.9-10.8 3.1-15.2 6.9-4.4 3.7-7.4 8.3-9.1 13.6-.9 1.2-1.3 2.7-1.3 4.1v4.2c0 7 1.9 13.2 5.8 18.6 4.2 5.1 9.6 8.5 16.3 10.2 3 1.2 6.3 1.9 9.9 1.9 8.3 0 15.8-2.8 22.4-8.3 7.1-5.7 10.6-12.8 10.6-21.1v-2c0-7.9-3.3-14.6-9.9-20.1-7.2-5.8-14.9-8.7-23.2-8.7zm-1.6 94c-1.2 0-3.2.5-5.7 1.3h-.8c-2.6.8-5 2.7-7.3 5.7-1.2 2.1-1.9 4.8-1.9 8 0 2.6.6 5.2 1.9 8 1.3 2.2 3.2 3.9 5.8 5.1 24.5 15.4 51.4 23.1 80.7 23.1h4.8c14.1 0 27.8-1.3 41-4s26.1-6.9 38.5-12.6c1.7-.9 3.5-1.7 5.4-2.6 1.9-.8 3.9-1.9 6-3.2 2.2-.9 4-2.1 5.5-3.8 2.1-2.1 3.3-4.4 3.8-6.8.4-.8.7-1.9.7-3.2 0-1.3-.4-3.2-1.3-5.8-1.3-3.2-3.5-5.4-6.4-6.7-3.3-1.7-6.2-2.6-8.6-2.6-2.5 0-5.3.6-8 2-23.2 13-48.6 19.6-76 19.8-20.4 0-39.5-3.9-57-11.8-2.5-.9-5.7-2.9-9.2-6.1-.9-.4-1.8-.8-2.8-1.3-1-.5-2.2-.9-3.3-1.3-2.7-.8-4.6-1.3-5.8-1.2z" />',viewBox:"0 0 512 512"},redoIcon:{name:"redo",content:'<path d="M256 192V64l224 192-224 192V320c-87.2 0-166.2 39.4-223.9 96C34.5 294.4 133.9 192 256 192z" />',viewBox:"0 0 512 512"},regularExpressionIcon:{name:"regular-expression",content:'<path d="M442.6 299.7 352 247.4V352h-64V247.4l-90.6 52.3-32-55.4L256 192l-90.6-52.3 32-55.4 90.6 52.3V32h64v104.6l90.6-52.3 32 55.4L384 192l90.6 52.3-32 55.4zM80 384c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z" />',viewBox:"0 0 512 512"},removeHorizontalSpacingIcon:{name:"remove-horizontal-spacing",content:'<path d="M480 96v160h-96v-64h-96v160h-96V192H96v96H32V64h64v96h96V0h96v160h96V96h96zm-32.5 278.2-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm-256 0-22.6-22.6-57.4 57.4-57.4-57.4-22.6 22.6 57.4 57.4L31.5 489l22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4z" />',viewBox:"0 0 512 512"},removeVerticalSpacingIcon:{name:"remove-vertical-spacing",content:'<path d="M192 320v96h96v64H64v-64h96v-96H0v-96h160v-96H96V32h160v96h-64v96h160v96H192zm320 22.6L489.4 320 432 377.4 374.6 320 352 342.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4 57.4-57.4zm0-288L489.4 32 432 89.4 374.6 32 352 54.6l57.4 57.4-57.4 57.4 22.6 22.6 57.4-57.4 57.4 57.4 22.6-22.6-57.4-57.4L512 54.6z" />',viewBox:"0 0 512 512"},reorderIcon:{name:"reorder",content:'<path d="M480 128v64H32v-64h448zM32 224v64h448v-64H32zm448 96H32v64h448v-64z" />',viewBox:"0 0 512 512"},replaceAllIcon:{name:"replace-all",content:'<path d="M288 288h192v192H288V288zm64-64H224V32h128v192zM320 64h-64v128h64V64zM160 352H96V160h96V96H96c-35.3 0-64 28.7-64 64v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64zM448 32v192h32V32h-32zm-32 0h-32v192h32V32z" />',viewBox:"0 0 512 512"},replaceSingleIcon:{name:"replace-single",content:'<path d="M288 288h192v192H288V288zM32 160v192c0 35.3 28.7 64 64 64h64v64l96-96-96-96v64H96V160h160V96H96c-35.3 0-64 28.7-64 64zM480 32v192H288V32h192zm-32 32H320v128h128V64z" />',viewBox:"0 0 512 512"},reportElementIcon:{name:"report-element",content:'<path d="M480 320V192H160v48H96v-80h256V32H32v128h32v320h32v-48h64v48h256V352H160v48H96V272h64v48ZM64 64h256v64H64Zm128 320h192v64H192v-64Z" />',viewBox:"0 0 512 512"},rewindIcon:{name:"rewind",content:'<path d="M256 256 512 96v320L256 256zm0 160V96L0 256l256 160z" />',viewBox:"0 0 512 512"},rightDoubleQuotesIcon:{name:"right-double-quotes",content:'<path d="M136 100.2c-57.4 0-104 46.6-104 104s46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l1.3 15.9 1.3 15.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3 0-57.3-46.6-103.9-104-103.9zm344 104c0-57.4-46.6-104-104-104s-104 46.6-104 104 46.6 104 104 104c20.1 0 38.9-5.7 54.8-15.6-14.2 30.5-37.4 55.2-69.2 73.7-44 25.6-89.1 29.6-89.6 29.6l2.6 31.9c2.1-.2 51.8-4.4 102-33.2 47.1-27 103.3-81.3 103.3-186.1.1-1.4.1-2.8.1-4.3z" />',viewBox:"0 0 512 512"},rotateIcon:{name:"rotate",content:'<path d="M256 448c8.2 0 16.2-.6 24-1.8v32.3c-7.9 1-15.9 1.5-24 1.5s-16.1-.5-24-1.5v-32.3c7.8 1.2 15.8 1.8 24 1.8zm-116-7c12.7 9.7 26.6 17.8 41.5 24l16.2-28c-15.1-5.9-29.1-14.1-41.5-24.1L140 441zm-61-78.5c6.3 14.9 14.4 28.8 24 41.5l28-16.2c-10-12.5-18.1-26.4-24.1-41.5L79 362.5zM256 128v64l128-80-128-80v64c-8.1 0-16.1.5-24 1.5-17.7 2.2-34.6 6.8-50.5 13.5-14.9 6.3-28.8 14.4-41.5 24-14 10.6-26.4 23-37 37-9.7 12.7-17.8 26.6-24 41.5-6.7 15.9-11.3 32.8-13.5 50.5-1 7.9-1.5 15.9-1.5 24s.5 16.1 1.5 24h32.3c-1.2-7.8-1.8-15.8-1.8-24s.6-16.2 1.8-24c1.8-11.9 4.9-23.4 9.2-34.3 5.9-15.1 14.1-29.1 24.1-41.5 7.4-9.3 15.8-17.7 25.1-25.1 12.5-10 26.4-18.1 41.5-24.1 10.9-4.3 22.4-7.4 34.3-9.2 7.8-1.2 15.8-1.8 24-1.8zm190.5 136h-32.3c1.2 7.8 1.8 15.8 1.8 24s-.6 16.2-1.8 24h32.3c1-7.9 1.5-15.9 1.5-24s-.5-16.1-1.5-24zm-65.6 123.8 28 16.2c9.7-12.7 17.8-26.6 24-41.5l-28-16.2c-5.8 15.1-14 29.1-24 41.5zM314.3 437l16.2 28c14.9-6.3 28.8-14.4 41.5-24l-16.2-28c-12.4 9.9-26.4 18.1-41.5 24z" />',viewBox:"0 0 512 512"},rotateLeftIcon:{name:"rotate-left",content:'<path d="M32 448 192 64v384H32zm192-160 256 160H224V288zm32 128h112.4L256 345.7V416zm64-256V96l-96 80 96 80v-64h96v96h32V160H320z" />',viewBox:"0 0 512 512"},rotateRightIcon:{name:"rotate-right",content:'<path d="M320 448V64l160 384H320zm-32 0H32l256-160v160zm-32-102.3L143.6 416H256v-70.3zM64 160v128h32v-96h96v64l96-80-96-80v64H64z" />',viewBox:"0 0 512 512"},roundCornersIcon:{name:"round-corners",content:'<path d="M448 320c0 70.692-57.308 128-128 128H192c-70.692 0-128-57.308-128-128V192c0-70.692 57.308-128 128-128h128c70.692 0 128 57.308 128 128v128z" />',viewBox:"0 0 512 512"},rowFreezeIcon:{name:"row-freeze",content:'<path d="M32 448h416V32H32v416zM64 96l64 64H64V96zm96-32 96 96h-64L96 64h64zm128 0 96 96h-64l-96-96h64zm128 64-64-64h64v64zm-96 160v-96h96v96h-96zm-128 0v-96h96v96h-96zm-32 0H64v-96h96v96zm160 128v-96h96v96h-96zm-128 0v-96h96v96h-96zm-128 0v-96h96v96H64z" />',viewBox:"0 0 512 512"},rowsIcon:{name:"rows",content:'<path d="M480 64v96H32V64h448zM32 192v96h448v-96H32zm448 128H32v96h448v-96z" />',viewBox:"0 0 512 512"},rssBoxIcon:{name:"rss-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM115.2 447.6c-28.3 0-51.2-22.8-51.2-51s22.9-51 51.2-51c28.3 0 51.2 22.8 51.2 51s-23 51-51.2 51zm128.8.4c0-48.1-18.7-93.3-52.8-127.3-34-33.9-79.2-52.6-127.2-52.6v-73.6c140.1 0 254.1 113.7 254.1 253.5H244zm129.9 0c0-171.2-139-310.4-309.9-310.4V64c211.6 0 383.8 172.3 383.8 384h-73.9z" />',viewBox:"0 0 512 512"},rssIcon:{name:"rss",content:'<path d="M151.4 420c0 32.9-26.7 59.5-59.7 59.5S32 452.9 32 420s26.7-59.5 59.7-59.5 59.7 26.7 59.7 59.5zM32 184.3v85.9c56 0 108.5 21.8 148.1 61.3 39.6 39.6 61.4 92.3 61.4 148.5h86.2C327.6 317 195 184.3 32 184.3zM32 32v85.9c199.4 0 361.6 162.5 361.6 362.1h86.2C479.8 233 278.9 32 32 32z" />',viewBox:"0 0 512 512"},saveIcon:{name:"save",content:'<path d="M384 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V128l-96-96zm-64 32v128h-64V64h64zm128 384-383.9.1-.1-.1V64.1l.1-.1H96v160h256V64h18.7l77.3 77.3V448z" />',viewBox:"0 0 512 512"},searchIcon:{name:"search",content:'<path d="M365.3 320h-22.7l-26.7-26.7C338.5 265.7 352 230.4 352 192c0-88.4-71.6-160-160-160S32 103.6 32 192s71.6 160 160 160c38.4 0 73.7-13.5 101.3-36.1l26.7 26.7v22.7L434.7 480l45.3-45.3L365.3 320zM64 192c0-70.7 57.3-128 128-128s128 57.3 128 128-57.3 128-128 128S64 262.7 64 192z" />',viewBox:"0 0 512 512"},selectAllIcon:{name:"select-all",content:'<path d="M448 448h32v32h-32v-32zm0-448h32v32h-32V0zM0 448h32v32H0v-32zM0 0h32v32H0V0zm448 384h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32v-32zm0-64h32v32h-32V64zM0 384h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0v-32zm0-64h32v32H0V64zm128 384h32v32h-32v-32zm-64 0h32v32H64v-32zm128 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zm64 0h32v32h-32v-32zM64 0h32v32H64V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm64 0h32v32h-32V0zm-96 64 53.4 53.4L240 218.9 138.6 117.4 192 64H64v128l53.5-53.5L218.9 240 117.5 341.5 64 288v128h128l-53.4-53.4L240 261.1l101.4 101.5L288 416h128V288l-53.5 53.5L261.1 240l101.4-101.5L416 192V64H288z" />',viewBox:"0 0 512 512"},selectBoxIcon:{name:"select-box",content:'<path d="M384 352H128v-32h256v32zm0 32H128v32h256v-32zm0-128H128v32h256v-32zm96-192v128c0 17.6-14.4 32-32 32v224c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V224c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32zM352 96l32 64 32-64h-64zm64 128H96v224h320V224z" />',viewBox:"0 0 512 512"},setColumnPositionIcon:{name:"set-column-position",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM192 416H96V96h96v320zm224 0H224v-32h192v32zm0-64H224v-64h192v64zm0-96H224v-64h192v64zm0-96H224V96h192v64z" />',viewBox:"0 0 512 512"},shapeLineIcon:{name:"shape-line",content:'<path d="M480 54.6 54.6 480 32 457.4 457.4 32 480 54.6z" />',viewBox:"0 0 512 512"},shapesIcon:{name:"shapes",content:'<path d="M480 32H160v131.204C86.969 178.029 32 242.594 32 320c0 88.365 71.635 160 160 160 77.406 0 141.972-54.969 156.797-128H480V32zM192 448c-70.692 0-128-57.308-128-128 0-59.643 40.793-109.758 96-123.967 1.173-.302 2.354-.583 3.539-.852.357-.081.717-.156 1.076-.234a125.086 125.086 0 0 1 3.764-.762 126.34 126.34 0 0 1 2.557-.448c.369-.061.736-.125 1.105-.184 2.423-.379 4.869-.69 7.335-.932.379-.037.759-.067 1.139-.101a132.167 132.167 0 0 1 3.913-.29c.872-.051 1.747-.091 2.623-.125.392-.015.782-.033 1.174-.045 1.254-.036 2.512-.06 3.775-.06 70.692 0 128 57.308 128 128 0 1.264-.023 2.521-.06 3.775-.012.393-.03.782-.045 1.174a126.511 126.511 0 0 1-.207 3.922c-.06.874-.13 1.744-.207 2.613-.034.38-.064.761-.102 1.14a127.326 127.326 0 0 1-.933 7.339c-.057.365-.121.728-.181 1.092a128.132 128.132 0 0 1-.683 3.785c-.17.86-.349 1.718-.535 2.571-.075.346-.147.692-.226 1.037a135.047 135.047 0 0 1-.855 3.552c-14.208 55.207-64.323 96-123.966 96zm256-128h-96c0-88.365-71.635-160-160-160V64h256v256z" />',viewBox:"0 0 512 512"},shareIcon:{name:"share",content:'<path d="M480 432c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-10.6 2.1-20.7 5.8-30l-158.6-88.1C152.9 327.6 133.4 336 112 336c-44.2 0-80-35.8-80-80s35.8-80 80-80c21.4 0 40.9 8.4 55.2 22.1L325.8 110c-3.8-9.3-5.8-19.4-5.8-30 0-44.2 35.8-80 80-80s80 35.8 80 80-35.8 80-80 80c-22 0-41.9-8.9-56.4-23.3l-158 87.8c4.1 9.7 6.4 20.3 6.4 31.5s-2.3 21.8-6.4 31.5l158 87.8C358.1 360.9 378 352 400 352c44.2 0 80 35.8 80 80z" />',viewBox:"0 0 512 512"},sharpenIcon:{name:"sharpen",content:'<path d="M256 32 128 480h256L256 32zm0 116.5L341.6 448H170.4L256 148.5z" />',viewBox:"0 0 512 512"},signatureIcon:{name:"signature",content:'<path d="M32 448h448v32H32v-32zM448 32H288v64h160V32zm-96 340.9L256 224l32-96h160l32 96-96 148.9V416h-32v-43.1zm0-59.1V256h32v57.8l60.8-94.3-19.9-59.5H311.1l-19.9 59.6 60.8 94.2zM78.8 377.3c8.7-10.3 23.9-25.6 37.2-17.3 14.9 9.3 25.1 42.1 56.9 43.8 27.2-.6 18.9-34.6 36.7-33.2 16.6 0 19.5 47.8 46.5 47.9 25.7.1 37.4-14.5 37.3-28 .1-29-62.5-87.7-85.4-98-21.4-9.6-34-2.3-39.7 6-5.3 7.9 9.3 34.5-13.7 41.2-17.3 1.5-29.2-33.2-62.1-33.2S77 354.1 32 352c13.1 6 32.8 42 46.8 25.3z" />',viewBox:"0 0 512 512"},silverlightIcon:{name:"silverlight",content:'<path d="M256 0 0 256l256 256 256-256L256 0zm-75.9 324c-21.6 0-40.5-6.3-52.1-13.7v-33.2c14.5 10.8 32.9 17.9 51.4 17.9 16.3 0 28.6-5 28.6-17.6 0-10.6-6.8-14.5-18.9-18.9l-23.6-7.9c-23.9-7.9-39.7-20.3-39.7-47 0-29.9 25.7-46.2 57.3-46.2 19.7 0 35.8 4.7 48.8 12.6v32.9c-13.9-10.2-29.1-16.8-47.8-16.8-14.5 0-25.5 4.9-25.5 16 0 9.9 6.5 13.9 17.9 17.6l25.2 8.6c27.1 9.2 39.4 23.9 39.4 47.8.2 31.9-26.8 47.9-61 47.9zm95.9-4V160h32v128h76v32H276z" />',viewBox:"0 0 512 512"},sizeToGridIcon:{name:"size-to-grid",content:'<path d="M384 384H128V128h256v256zM96 0H64v512h32V0zm352 0h-32v512h32V0zm64 64H0v32h512V64zm0 352H0v32h512v-32z" />',viewBox:"0 0 512 512"},slidersIcon:{name:"sliders",content:'<path d="M480 96v32H285.3c-6.6 18.6-24.4 32-45.3 32s-38.7-13.4-45.3-32H32V96h162.7c6.6-18.6 24.4-32 45.3-32s38.7 13.4 45.3 32H480zm-112 96c-20.9 0-38.7 13.4-45.3 32H32v32h290.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32h-66.7c-6.6-18.6-24.4-32-45.3-32zM176 320c-20.9 0-38.7 13.4-45.3 32H32v32h98.7c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32H480v-32H221.3c-6.6-18.6-24.4-32-45.3-32z" />',viewBox:"0 0 512 512"},slnIcon:{name:"sln",content:'<path d="M352 32 172.5 211.5 64 128l-32 32v192l32 32 108.5-83.5L352 480l128-32V64L352 32zM64 320V192l64 64-64 64zm166.4-64L352 162.5v187.1L230.4 256z" />',viewBox:"0 0 512 512"},snapGridIcon:{name:"snap-grid",content:'<path d="M480 128V96h-96V0h-32v96h-96V0h-32v96h-96V0H96v96H0v32h96v96H0v32h96v96H0v32h96v96h32v-96h96v96h32v-96h96v96h32v-96h96v-32h-96v-96h96v-32h-96v-96h96zm-352 0h96v96h-96v-96zm0 224v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96z" />',viewBox:"0 0 512 512"},snapToGridlinesIcon:{name:"snap-to-gridlines",content:'<path d="M160 32H0v416h288V32H160zm-32 384H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm256 80c0 44.2-35.8 80-80 80h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80zm-160-48h32v-32h-32v32zm0 128h32v-32h-32v32z" />',viewBox:"0 0 512 512"},snapToSnaplinesIcon:{name:"snap-to-snaplines",content:'<path d="M224 128h96V96h-96V32h-32v64h-64V32H96v64H32v32h64v256H32v32h64v64h32v-64h64v64h32v-64h256v-32H224V128zm-32 256h-64V128h64v256zm208-64h-32v-32h32c26.5 0 48-21.5 48-48s-21.5-48-48-48h-32v-32h32c44.2 0 80 35.8 80 80s-35.8 80-80 80zm-48-160h-32v32h32v-32zm-32 160h32v-32h-32v32z" />',viewBox:"0 0 512 512"},sortAscIcon:{name:"sort-asc",content:'<path d="M96 352h320v64H96v-64zm0-128h224v64H96v-64zm0-128h128v64H96V96z" />',viewBox:"0 0 512 512"},sortAscSmallIcon:{name:"sort-asc-small",content:'<path d="M256 192v224h-32V192h-96L240 64l112 128h-96z" />',viewBox:"0 0 512 512"},sortClearIcon:{name:"sort-clear",content:'<path d="m110.9 224 64 64H96v-64h14.9zM96 416h128v-64H96v64zm214.6-128h9.4v-64h-73.4l-64-64H416V96H118.6l-64-64L32 54.6 457.4 480l22.6-22.6L310.6 288z" />',viewBox:"0 0 512 512"},sortDescIcon:{name:"sort-desc",content:'<path d="M96 96h320v64H96V96zm0 128h224v64H96v-64zm0 128h128v64H96v-64z" />',viewBox:"0 0 512 512"},sortDescSmallIcon:{name:"sort-desc-small",content:'<path d="M352 288 240 416 128 288h96V64h32v224h96z" />',viewBox:"0 0 512 512"},spellCheckerIcon:{name:"spell-checker",content:'<path d="M113.2 206.2c-7.4 6.2-15.6 10.7-24.6 13.5s-19.3 4.2-31 4.2c-8.4 0-16.1-1-23.1-2.9s-13.1-4.9-18.2-8.8c-5.1-3.9-9.1-8.8-12-14.6C1.4 192 0 185.2 0 177.5c0-18.9 8.1-32.9 24.4-41.9s40.9-13.5 74-13.5h13.7c0-2.6 0-5.3-.1-8.2-.1-2.9-.3-5.4-.7-7.6-.8-7.6-3.5-13.2-8-17-4.5-3.7-11.8-5.6-21.7-5.6-10.4 0-18.1 1.9-23.3 5.8s-7.8 9.5-7.8 16.8H7c2.4-32.7 27.8-49 76.3-49 6.6 0 12.6.2 17.9.6 5.3.4 10.2 1.1 14.6 2 4.4 1 8.6 2.2 12.5 3.7 3.9 1.5 7.6 3.4 11.4 5.7 3.5 2.2 6.4 4.7 9 7.4 2.5 2.8 4.6 6.1 6.4 9.9 1.7 3.9 3 8.3 3.8 13.3s1.2 10.8 1.2 17.4V224h-46.8l-.1-17.8zm-1-58H96.8c-16.2 0-28.4 2-36.5 5.9s-12.2 10.6-12.2 20.2c0 7.3 2.5 12.7 7.5 16.2s11.5 5.2 19.4 5.2c7.6 0 14.6-1.5 21.2-4.5s11.9-6.9 15.8-11.7v-31.3h.2zm125.2-61.6c5.5-7.2 12.3-12.8 20.2-16.7C265.5 66 274 64 283.1 64c10.2 0 19.2 1.9 26.8 5.7 7.7 3.8 14.1 9.2 19.3 16.3 5.2 7.1 9.1 15.7 11.7 25.9s4 21.6 4 34.3-1.2 19-4.3 29.4c-3 10.4-7.6 17.9-13.3 25.2-5.7 7.3-12.6 13-20.7 17.1s-17.3 6.1-27.5 6.1c-17.5 0-31.9-5.2-43.3-15.6V224H192V0h45.4v86.6zm0 91.7c4.4 4.1 9.1 7.2 14.1 9.4 5 2.1 10.5 3.2 16.5 3.2 9.8 0 17.4-4.3 22.7-12.8 5.3-8.6 7.9-14.7 7.9-31.8 0-32.7-9.6-49-28.7-49-6.2 0-12 1.9-17.4 5.6s-10.5 9-15.1 15.8v59.6zM442.2 224c-12.4 0-23.4-1.8-33.3-5.4-9.8-3.6-18.1-8.8-25-15.6-6.8-6.8-12-15.2-15.7-25.1-3.7-9.9-5.5-21.3-5.5-34s1.8-24 5.5-33.9 8.9-18.2 15.9-25.1c6.9-6.9 15.3-12.1 25.2-15.6 9.9-3.6 21.1-5.4 33.6-5.4 20 0 36 4.7 48 14.1s19 23 21 40.9h-41c-1-7-3.9-12.7-8.8-16.9-4.9-4.2-11.2-6.3-19.2-6.3-10.2 0-18.4 3.9-24.5 11.6s-9.2 19.9-9.2 36.6c0 16.5 3.1 28.7 9.2 36.5s14.3 11.7 24.5 11.7c7.9 0 14.4-2.1 19.3-6.3s7.8-9.8 8.7-16.9h41c-2.5 17.7-9.7 31.2-21.5 40.7-11.6 9.6-27.7 14.4-48.2 14.4zm69.8 0L224 512 64 352l64-64 96 96 288-160" />',viewBox:"0 0 512 512"},starIcon:{name:"star",content:'<path d="M256 391.5 117.2 480 154 314.1 32 202.4 192.9 188 256 32l63.1 156L480 202.4 358 314.1 394.8 480 256 391.5z" />',viewBox:"0 0 512 512"},starOutlineIcon:{name:"star-outline",content:'<path d="M480 202.4 319.1 188 256 32l-63.1 156L32 202.4l122 111.7L117.2 480 256 391.5 394.8 480 358 314.1l122-111.7zM256 353.6l-90.8 57.9 24-108.5-82.1-75.2 108.1-9.7L256 117.3l40.8 100.8 108.1 9.7-82.1 75.2 24.1 108.5-90.9-57.9z" />',viewBox:"0 0 512 512"},stickIcon:{name:"stick",content:'<path d="M192 96c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v32h128V96zm128 160c0 35.3-28.7 64-64 64s-64-28.7-64-64v-96H64v96c0 106 86 192 192 192s192-86 192-192v-96H320v96zm96-192h-64c-17.7 0-32 14.3-32 32v32h128V96c0-17.7-14.3-32-32-32z" />',viewBox:"0 0 512 512"},stopIcon:{name:"stop",content:'<path d="M512 512H0V0h512v512z" />',viewBox:"0 0 512 512"},stopSmIcon:{name:"stop-sm",content:'<path d="M416 416H96V96h320v320z" />',viewBox:"0 0 512 512"},strikethroughIcon:{name:"strikethrough",content:'<path d="M393.9 320c.1-23.9 4.5-41.4 13.5-52.5 9.1-11.1 20.8-16.7 35.3-16.7 9.6 0 17.7 3.1 24.5 9.3 6.8 6.2 11.4 15.4 14.1 27.7l27.9-4.7c-3.3-18.4-10.8-32.7-22.5-42.7s-26.8-15-45.2-15c-14.5 0-28.1 3.6-40.4 11.1-12.4 7.4-21.6 18.5-27.7 33.2-5.9 14.4-8.9 31.2-9.1 50.4h-25.5v-2.2c0-13.2-1.7-25.6-5.1-37.1-3.4-11.5-8.1-21.4-14.2-29.6-6-8.1-13.7-14.5-23-19s-19.2-6.8-29.6-6.8c-18.9 0-34.3 8.2-46.4 24.6v-90H192v160h-45v-25.8c0-13.7-.5-23.3-1.4-28.5-1.7-8.5-4.7-15.5-9-21.1-4.3-5.5-10.9-10.2-19.9-13.8-9-3.6-20.8-5.5-35.3-5.5-14.6 0-27.4 2.1-38.5 6.4-11.1 4.3-19.5 10.4-25.4 18.4-5.8 8-10 18.4-12.6 31.4l28.1 4.1c3.1-13 7.8-22 14.3-27.1s16.4-7.7 29.9-7.7c14.5 0 25.4 3.5 32.7 10.5 5.4 5.1 8.1 14 8.1 26.6 0 1.1 0 3.8-.2 8.1-11 4.1-28 7.7-51.2 10.7-11.4 1.5-19.9 3-25.5 4.7-6.7 2-12.9 4.9-18.5 8.6H0v32h1.2c-.8 3.8-1.2 7.7-1.2 11.8 0 15.2 5 27.8 15 37.6S39.3 416 57.9 416c11.3 0 21.8-1.9 31.6-6s20.1-10.9 30.7-20.6h.1c.8 8.6 2.7 20.3 5.7 26.7h30c-3.6-7-6-18.4-7.3-26.1-1-6-1.6-18.7-1.8-37.9h45v64h26.6V389c11.4 18 27.1 27 47.1 27 20.1 0 37.3-8.5 51.7-25.6 8.6-10.2 14.6-23 18-38.3h31.8c3.3 16 9.4 29.2 18.3 39.5 14.1 16.3 32.7 24.5 55.9 24.5 18.5 0 34.1-6 46.8-17.8 12.1-11.3 19.8-26.7 23.2-46.2h.5v-32H393.9zm-280.7 42.6c-4.1 9-10.4 16.1-19 21.4-8.6 5.2-18.4 7.8-29.5 7.8-11.2 0-19.6-2.8-25.4-8.2-5.8-5.6-8.7-12.4-8.7-20.7 0-3.9.7-7.5 2.1-10.9h83.6c-.7 4.1-1.8 7.7-3.1 10.6zm105.1-43.3c0-22.2 4.6-39.2 13.7-50.9 9.1-11.8 20-17.6 32.5-17.6s23.1 5.6 31.8 17c8.8 11.3 13.1 28.7 13.2 52.3h-91.3c.1-.3.1-.6.1-.8zm77.6 53.6c-9.1 11.8-20 17.7-32.5 17.7-15.5 0-27.7-8-36.7-23.9-2.2-3.9-4-8.8-5.3-14.7H306c-2.4 8.3-5.7 15.3-10.1 20.9zm173.5 6.6c-7.5 7.5-16.9 11.2-28.2 11.2-14 0-25.4-5.6-34.1-16.7-4.4-5.6-7.7-12.9-9.9-21.9h85.5c-2.6 11.9-7 21.1-13.3 27.4z" />',viewBox:"0 0 512 512"},stripAllFormattingIcon:{name:"strip-all-formatting",content:'<path d="M32 480h224v32H0v.1V256h32v224zm32-32h159v-32H64v32zm97-96H63v32h98v-32zm-65-64H64v32h32v-32zm316.2-28.6L253.8 101c-12.4-12.4-32.9-12.4-45.3.1l-69.8 69.8-.2.2c-11.6 11.6-30 12.7-42.5 2.7l200.9 200.9c12.5 12.5 32.8 12.4 45.3 0l69.9-69.9c12.5-12.5 12.5-33 .1-45.4zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2z" />',viewBox:"0 0 512 512"},stripCssFormatIcon:{name:"strip-css-format",content:'<path d="M0 288v224h416V288H0zm145 65.9c-10-6.2-21-9.3-33.4-9.3-13.6 0-24.5 4.6-32.9 13.7-8.3 9.1-12.5 21.5-12.5 37.1 0 15 3.9 26.9 11.8 35.8s18.4 13.3 31.7 13.3c12.7 0 24.3-3.3 34.3-9.9v31.8c-9.9 5.5-23.7 8.2-40.7 8.2-22.2 0-39.6-7-52.3-20.9-12.7-14-19-32.5-19-55.8 0-24.7 7.1-44.8 21.4-60.2 14.3-15.4 32.8-23.1 55.6-23.1 14.1 0 26 1.9 36 5.7v33.6zM260.6 450c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7s7.1-10.6 12.3-14.3c5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4s-6-1.6-9-2c-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.3 1.8 5.2 3.6 8.6 5.4s7.2 3.6 11.4 5.5c5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.6 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.6 15.7-4.6 21.5zm119 0c-3.1 5.9-7.2 10.6-12.4 14.2-5.2 3.6-11.3 6.2-18.2 7.8-7 1.6-14.3 2.4-21.9 2.4-7.9 0-15.4-.7-22.5-2.2-7.2-1.4-13.4-3.6-18.5-6.5v-34.4c5.8 5.3 12.2 9.2 18.9 11.8 6.9 2.6 13.8 3.9 20.7 3.9 4.1 0 7.7-.4 10.7-1.2 3.1-.8 5.6-1.9 7.7-3.3 2-1.4 3.6-3.1 4.6-5 1-1.9 1.5-4 1.5-6.2 0-3-.8-5.7-2.4-8.1-1.6-2.4-3.8-4.6-6.6-6.6s-6.1-4-9.9-5.8c-3.8-1.9-8-3.8-12.4-5.7-11.3-5-19.6-11.2-25.1-18.4-5.5-7.3-8.3-15.9-8.3-26.2 0-8.1 1.5-15 4.5-20.7 3-5.8 7.1-10.6 12.3-14.3 5.2-3.7 11.2-6.5 18-8.3 6.9-1.8 14.1-2.6 21.7-2.6 7.5 0 14.2.5 19.9 1.5 5.8 1 11.2 2.5 16 4.5v32.2c-2.4-1.8-5.1-3.4-7.9-4.7-2.9-1.4-5.8-2.5-8.8-3.4-3-.9-6-1.6-9-2-3-.4-5.8-.6-8.5-.6-3.7 0-7.1.4-10.1 1.1-3 .8-5.6 1.8-7.7 3.2-2.1 1.4-3.7 3-4.8 4.9-1.1 1.9-1.7 4-1.7 6.4 0 2.6.6 4.9 1.9 7 1.3 2.1 3.1 4 5.4 5.8 2.4 1.8 5.2 3.6 8.6 5.4 3.4 1.8 7.2 3.6 11.4 5.5 5.8 2.6 11 5.3 15.5 8.3 4.6 2.9 8.5 6.2 11.8 9.9 3.3 3.7 5.8 7.9 7.6 12.6 1.7 4.7 2.6 10.2 2.6 16.3 0 8.5-1.5 15.7-4.6 21.5zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},stripFontElementsIcon:{name:"strip-font-elements",content:'<path d="M502.666 31.961 480.039 9.334c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882-22.627-22.627c-12.445-12.445-32.81-12.445-45.255 0l-22.627 22.627 158.392 158.392 22.627-22.627c12.445-12.445 12.445-32.81 0-45.255l-22.627-22.627 67.882-67.882c12.444-12.446 12.444-32.811-.001-45.256zm-246.848 69.936c-12.445-12.445-32.81-12.445-45.255 0l-79.706 79.706c-12.445 12.445-32.81 12.445-45.255 0L160 256h249.921L255.818 101.897zM176 348.121 200.706 416h-49.412L176 348.121zM0 288v224h352V288H0zm224 192-11.647-32h-72.706L128 480H96l58.235-160h43.53L256 480h-32z" />',viewBox:"0 0 512 512"},stripSpanElementsIcon:{name:"strip-span-elements",content:'<path d="M96 288 0 400l96 112h256V288H96zm170.3 167.5c-3.9 5.9-9.3 10.6-16.1 14.2-6.8 3.6-14.6 6.2-23.6 7.8-9 1.6-18.4 2.4-28.4 2.4-10.2 0-20-.7-29.2-2.2-9.2-1.4-17.2-3.6-24-6.5v-34.5c7.5 5.2 15.7 9.2 24.6 11.8 8.8 2.6 17.8 3.9 26.8 3.9 5.3 0 9.9-.4 13.9-1.2 3.9-.8 7.2-1.9 9.9-3.3 2.6-1.4 4.6-3.1 5.9-5 1.3-1.9 2-4 2-6.2 0-3-1-5.7-3.1-8.1-2.1-2.4-4.9-4.6-8.5-6.6-3.6-2-7.9-4-12.8-5.8-4.9-1.9-10.3-3.8-16-5.7-14.6-5-25.4-11.2-32.6-18.4-7.2-7.3-10.7-16-10.7-26.3 0-8.1 2-15 5.9-20.8 3.9-5.8 9.2-10.5 15.9-14.3 6.7-3.7 14.5-6.5 23.3-8.3 8.8-1.8 18.2-2.6 28.1-2.6 9.7 0 18.3.5 25.8 1.5s14.4 2.5 20.7 4.5v32.3c-3.1-1.8-6.5-3.4-10.2-4.7-3.7-1.4-7.5-2.5-11.4-3.4-3.9-.9-7.8-1.6-11.6-2-3.9-.4-7.5-.6-11-.6-4.8 0-9.1.4-13 1.1-3.9.8-7.2 1.8-9.9 3.2-2.7 1.4-4.8 3-6.2 4.9-1.5 1.9-2.2 4-2.2 6.4 0 2.6.8 4.9 2.5 7 1.6 2.1 4 4 7 5.8 3 1.8 6.7 3.6 11.1 5.4 4.3 1.8 9.2 3.6 14.7 5.4 7.5 2.6 14.2 5.3 20.1 8.3 5.9 2.9 11 6.2 15.3 9.9 4.2 3.7 7.5 7.9 9.8 12.6 2.3 4.7 3.4 10.2 3.4 16.4-.3 8.6-2.3 15.9-6.2 21.7zM502.7 32 480 9.3c-12.4-12.4-32.8-12.4-45.3 0l-67.9 67.9-22.6-22.6c-12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2zm-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9L255.8 101.9z" />',viewBox:"0 0 512 512"},stripWordFormattingIcon:{name:"strip-word-formatting",content:'<path d="M0 288v224h352V288H0zm239.3 192h-37.7L176 385.4 147.4 480h-40.9L64 320h40.6l21.9 100.4L155.8 320h40.4l25.2 100.4 19.4-71.4H224v-29h64l-48.7 160zM502.7 77.2l-67.9 67.9 22.6 22.6c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6L276.4 77.2 299 54.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6 67.9-67.9c12.4-12.4 32.8-12.4 45.3 0L502.7 32c12.4 12.4 12.4 32.8 0 45.2zM409.9 256H160l-74.4-74.4c12.4 12.4 32.8 12.4 45.3 0l79.7-79.7c12.4-12.4 32.8-12.4 45.3 0l154 154.1z" />',viewBox:"0 0 512 512"},stumbleUponBoxIcon:{name:"stumble-upon-box",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm191.5 96.3c82.5 0 82.5 87.3 82.5 87.3v8.4l-31.9 8-23.1-8v-8.6s0-29.2-27.5-29.2-27.5 29.2-27.5 29.2v81.5s0 87-82 87-82-87-82-87V256h55v41h-.9c.9 17.2 11 29.1 27.5 29.1s26.6-12 27.6-29.1h-.2v-81.4s0-87.3 82.5-87.3zM283.1 256l23 7.6L338 256v40.7c.9 17.2 11 29.1 27.5 29.1s26.6-11.9 27.5-29.1V256h55v40.7s0 87.3-82.5 87.3-82.5-87.3-82.5-87.3l.1-40.7z" />',viewBox:"0 0 512 512"},stumbleUponIcon:{name:"stumble-upon",content:'<path d="m288.1 256 26.8 8.4L352 256v64c1.1 18.9 12.8 32 32 32s30.9-13.1 32-32v-64h64v64s0 96-96 96-96-96-96-96l.1-64zm26.8-23.2L288 224v-32s0-32-32-32-32 32-32 32v128s0 96-96 96-96-96-96-96v-64h64v64c1.1 18.9 12.8 32 32 32 19.1 0 30.9-13.2 32.1-32h-.1V192s0-96 96-96 96 96 96 96v32l-37.1 8.8z" />',viewBox:"0 0 512 512"},subreportIcon:{name:"subreport",content:'<path d="M448 480c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V96H128v64H96V96c0-17.7 14.3-32 32-32h288c17.7 0 32 14.3 32 32v384zM63.9 32l254.3-.2L286.4 0 63.8.2C46.2.2 32 14.4 32 32l.1 128H64l-.1-128zm.1 351H32v32c0 17.7 14.3 32 32 32v-64zm-32-62.9S64 288 95 288v32l65-48.1L96 224v32c-32.1 0-64 32.1-64 64.1zM352 384l-160 .1V416l160-.1V384zm-96-192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64h-64v-64zm32-32v64h64c0-35.3-28.7-64-64-64z" />',viewBox:"0 0 512 512"},subscriptIcon:{name:"subscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7 144h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7 3.3-6.4 7.5-12.1 12.5-17.2s10.5-9.6 16.4-13.5c5.9-3.9 11.6-7.4 16.9-10.6 5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9 1.4-3 2.1-6.3 2.1-9.7 0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1v-30.5c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1 7.7 2.1 14.3 5.1 19.6 8.9 5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.6-7.1 6.6-10 10.4z" />',viewBox:"0 0 512 512"},sumIcon:{name:"sum",content:'<path d="M416 64v128l-64-64H160l128 128-128 128h192l64-64v128H96v-64l128-128L96 128V64h320z" />',viewBox:"0 0 512 512"},supscriptIcon:{name:"supscript",content:'<path d="m198.6 304 89.4 89.4-22.6 22.6-89.4-89.4L86.6 416 64 393.4l89.4-89.4L64 214.6 86.6 192l89.4 89.4 89.4-89.4 22.6 22.6-89.4 89.4zm167.7-112h81.4v32H320v-11.9c0-8 1.7-15.3 5-21.7s7.5-12.1 12.5-17.2 10.5-9.6 16.4-13.5 11.6-7.4 16.9-10.6c5.6-3.3 10.6-6.4 14.8-9.4 4.2-3 7.8-6 10.7-8.9 2.9-3 5.1-6 6.5-9s2.1-6.3 2.1-9.7c0-6.7-2.3-11.8-7-15.3-4.6-3.4-11.7-5.2-21.3-5.2-16.5 0-32.3 5.4-47.4 16.1V77.3c16.7-8.9 35.5-13.3 56.5-13.3 9.7 0 18.5 1 26.2 3.1s14.3 5.1 19.6 8.9c5.4 3.9 9.4 8.6 12.3 14.1 2.8 5.5 4.2 11.7 4.2 18.5 0 7.2-1.4 13.7-4.1 19.3-2.7 5.6-6.3 10.8-10.8 15.4-4.5 4.6-9.7 8.8-15.6 12.7-5.9 3.8-12 7.6-18.3 11.1-4.3 2.5-8.4 5-12.4 7.4-4 2.5-7.5 4.9-10.5 7.2-3.1 2.5-7.1 6.5-10 10.3z" />',viewBox:"0 0 512 512"},symbolIcon:{name:"symbol",content:'<path d="m448 416 32-32v96H320V375.8c11.4-5.1 22.2-11.5 32-19 38.9-29.7 64-76.9 64-130.1C416 136.8 344.4 64 256 64S96 136.8 96 226.7c0 53.2 25.1 100.5 64 130.1 9.8 7.5 20.6 13.9 32 19V480H32v-96l32 32h96v-18.5C84.3 366.7 32 300.6 32 224 32 118 132.3 32 256 32s224 86 224 192c0 76.6-52.3 142.7-128 173.5V416h96z" />',viewBox:"0 0 512 512"},tableAddIcon:{name:"table-add",content:'<path d="M448 320V32H32v416h288V320h128zm-288 96H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96zm32-96h96v96h-96V64zm0 224v-96h96v96h-96zm192 128v32h-64v64h-32v-64h-64v-32h64v-64h32v64h64z" />',viewBox:"0 0 512 512"},tableAlignBottomCenterIcon:{name:"table-align-bottom-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 224H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},tableAlignBottomLeftIcon:{name:"table-align-bottom-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 256h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},tableAlignBottomRightIcon:{name:"table-align-bottom-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 224H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},tableAlignMiddleCenterIcon:{name:"table-align-middle-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 128H160v32h192v-32zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},tableAlignMiddleLeftIcon:{name:"table-align-middle-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 160h192v-32H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},tableAlignMiddleRightIcon:{name:"table-align-middle-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 128H224v32h192v-32zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},tableAlignRemoveIcon:{name:"table-align-remove",content:'<path d="M32 0v480h448V0H32zm416 448H64V32h384v416zM131.6 224l29.9 32H128v-32h3.6zm-3.6 64h63.4l29.9 32H128v-32zm123.1 64 29.9 32H128v-32h123.1zM96 92l22.6-22.6L143.5 96H384v32H173.4l29.9 32H384v32H233.1l29.9 32h121v32h-91.2l29.9 32H384v32h-31.4l63.4 68-22.6 22.6L96 92z" />',viewBox:"0 0 512 512"},tableAlignTopCenterIcon:{name:"table-align-top-center",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm288 32H160v32h192V64zm64 64H96v32h320v-32zm-64 64H160v32h192v-32z" />',viewBox:"0 0 512 512"},tableAlignTopLeftIcon:{name:"table-align-top-left",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm32 64h192V64H96v32zm0 64h320v-32H96v32zm0 64h192v-32H96v32z" />',viewBox:"0 0 512 512"},tableAlignTopRightIcon:{name:"table-align-top-right",content:'<path d="M32 480V0h448v480H32zM64 32v416h384V32H64zm352 32H224v32h192V64zm0 64H96v32h320v-32zm0 64H224v32h192v-32z" />',viewBox:"0 0 512 512"},tableBodyIcon:{name:"table-body",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm128 256v64L224 192h64l128 128zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm128 0L192 288v-64l192 192h-64zm96-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableCellDeleteIcon:{name:"table-cell-delete",content:'<path d="M96 192h160v128H96V192zM32 352h160v128H32V352zm32 32v64h96v-64H64zm128-224H32V32h160v128zm-32-96H64v64h96V64zm262.627 192L480 313.373 457.373 336 400 278.627 342.627 336 320 313.373 377.373 256 320 198.627 342.627 176 400 233.373 457.373 176 480 198.627 422.627 256z" />',viewBox:"0 0 512 512"},tableCellIcon:{name:"table-cell",content:'<path d="M32 32v416h416V32H32zm128 384H64v-96h96v96zm0-128H64v-96h96v96zm0-128H64V64h96v96zm128 256h-96v-96h96v96zm0-256h-96V64h96v96zm128 256h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableCellPropertiesIcon:{name:"table-cell-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM384 256l32-32v288H0V96h288l-32 32h-96v96h32v96h96v32h96v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96zm8.483-332.365 67.882 67.882-141.588 141.588L290.66 288H224v-66.66l26.895-28.118L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l11.314 11.314 11.314 11.314L415.11 119.517z" />',viewBox:"0 0 512 512"},tableColumnDeleteIcon:{name:"table-column-delete",content:'<path d="M192 288v224h128V288H192zm0-288v64h128V0H192zm160 32h128v416H352V32zm96 288h-64v96h64v-96zm0-128h-64v96h64v-96zm0-128h-64v96h64V64zM32 32h128v416H32V32zm96 288H64v96h64v-96zm0-128H64v96h64v-96zm0-128H64v96h64V64zm128 89.373L313.373 96 336 118.627 278.627 176 336 233.373 313.373 256 256 198.627 198.627 256 176 233.373 233.373 176 176 118.627 198.627 96 256 153.373z" />',viewBox:"0 0 512 512"},tableColumnGroupsIcon:{name:"table-column-groups",content:'<path d="M32 32v416h416V32H32zm256 32v64l-64-64h64zm0 320-96-96v-64l96 96v64zM192 96l96 96v64l-96-96V96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-64l64 64h-64zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableColumnInsertLeftIcon:{name:"table-column-insert-left",content:'<path d="M32 480V0h128v480H32zM480 32v416H192V32h288zM224 160h96V64h-96v96zm0 128h96v-96h-96v96zm0 128h96v-96h-96v96zm224-96h-96v96h96v-96zm0-32v-96h-96v96h96zm0-224h-96v96h96V64z" />',viewBox:"0 0 512 512"},tableColumnInsertRightIcon:{name:"table-column-insert-right",content:'<path d="M352 480V0h128v480H352zM320 32v416H32V32h288zm-32 32h-96v96h96V64zm0 128h-96v96h96v-96zm0 128h-96v96h96v-96zM64 416h96v-96H64v96zm96-128v-96H64v96h96zM64 160h96V64H64v96z" />',viewBox:"0 0 512 512"},tableCornerIcon:{name:"table-corner",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM160 64v64L96 64h64zM64 96l64 64H64V96zm0 96h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableDeleteIcon:{name:"table-delete",content:'<path d="M32 32v416h416V32H32zm384 128h-64v32h64v96h-64v32h64v96h-96v-64h-32v64h-96v-64h-32v64H64v-96h64v-32H64v-96h64v-32H64V64h96v64h32V64h96v64h32V64h96v96zm-153.4 80 57.4 57.4-22.6 22.6-57.4-57.4-57.4 57.4-22.6-22.6 57.4-57.4-57.4-57.4 22.6-22.6 57.4 57.4 57.4-57.4 22.6 22.6-57.4 57.4z" />',viewBox:"0 0 512 512"},tableIcon:{name:"table",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm0 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm0 224v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},tablePositionCenterIcon:{name:"table-position-center",content:'<path d="M352 256V32H128v224h224zM256 64h64v64h-64V64zm-32 160h-64v-64h64v64zm0-96h-64V64h64v64zm32 32h64v64h-64v-64zM32 448h320v32H32v-32zm448-128v32H32v-32h448zM32 384h448v32H32v-32z" />',viewBox:"0 0 512 512"},tablePositionEndIcon:{name:"table-position-end",content:'<path d="M32 384h448v32H32v-32zm0 96h320v-32H32v32zM480 32v224H256V32h224zM352 160h-64v64h64v-64zm0-96h-64v64h64V64zm96 96h-64v64h64v-64zm0-96h-64v64h64V64zM32 352h448v-32H32v32z" />',viewBox:"0 0 512 512"},tablePositionStartIcon:{name:"table-position-start",content:'<path d="M480 320v32H32v-32h448zM32 416h448v-32H32v32zm192-160H32V32h224v224h-32zm-64-128h64V64h-64v64zm-32 32H64v64h64v-64zm0-96H64v64h64V64zm32 160h64v-64h-64v64zM32 480h320v-32H32v32z" />',viewBox:"0 0 512 512"},tablePropertiesIcon:{name:"table-properties",content:'<path d="m502.666 77.216-22.627 22.627-67.882-67.882 22.627-22.627c12.445-12.445 32.81-12.445 45.255 0l22.627 22.627c12.445 12.445 12.445 32.81 0 45.255zM392.483 51.635l67.882 67.882L290.66 288H224v-66.66L392.483 51.635zm22.627 67.882L392.483 96.89 256.719 232.654l22.627 22.627L415.11 119.517zM384 256l32-32v288H0V96h288l-32 32h-96v224h224v-96zM128 384H32v96h96v-96zm0-128H32v96h96v-96zm0-128H32v96h96v-96zm128 256h-96v96h96v-96zm128 0h-96v96h96v-96z" />',viewBox:"0 0 512 512"},tableRowDeleteIcon:{name:"table-row-delete",content:'<path d="M224 192H0v128h224V192zm288 0h-64v128h64V192zm-32 160v128H64V352h416zm-288 96v-64H96v64h96zm128 0v-64h-96v64h96zm128 0v-64h-96v64h96zm32-416v128H64V32h416zm-288 96V64H96v64h96zm128 0V64h-96v64h96zm128 0V64h-96v64h96zm-89.373 128L416 313.373 393.373 336 336 278.627 278.627 336 256 313.373 313.373 256 256 198.627 278.627 176 336 233.373 393.373 176 416 198.627 358.627 256z" />',viewBox:"0 0 512 512"},tableRowGroupsIcon:{name:"table-row-groups",content:'<path d="M32 32v416h416V32H32zm256 32v96h-96V64h96zm-64 128h64l96 96h-64l-96-96zm32 96h-64l-96-96h64l96 96zM64 64h96v96H64V64zm0 160 64 64H64v-64zm0 192v-96h96v96H64zm128 0v-96h96v96h-96zm224 0h-96v-96h96v96zm0-160-64-64h64v64zm0-96h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableRowInsertAboveIcon:{name:"table-row-insert-above",content:'<path d="M480 160H0V32h480v128zM32 192h416v288H32V192zm32 32v96h96v-96H64zm128 0v96h96v-96h-96zm128 0v96h96v-96h-96zm96 224v-96h-96v96h96zm-128-96h-96v96h96v-96zm-128 96v-96H64v96h96z" />',viewBox:"0 0 512 512"},tableRowInsertBelowIcon:{name:"table-row-insert-below",content:'<path d="M480 480H0V352h480v128zM32 32h416v288H32V32zm128 256v-96H64v96h96zm128 0v-96h-96v96h96zm128 0v-96h-96v96h96zM320 64v96h96V64h-96zm-32 0h-96v96h96V64zM64 64v96h96V64H64z" />',viewBox:"0 0 512 512"},tableUnmergeIcon:{name:"table-unmerge",content:'<path d="M32 32v416h416V32H32zm160 32h96v96h-96V64zm96 128v96h-96v-96h96zM64 64h96v96H64V64zm0 128h96v96H64v-96zm96 224H64v-96h96v96zm128 0h-96v-96h96v96zm128 0h-96v-96h96v96zm0-128h-96v-96h96v96zm0-128h-96V64h96v96z" />',viewBox:"0 0 512 512"},tableWizardIcon:{name:"table-wizard",content:'<path d="M160 384V160h224v96l32 32V0H0v416h288l-32-32h-96zM288 32h96v96h-96V32zm-128 0h96v96h-96V32zm-32 352H32v-96h96v96zm0-128H32v-96h96v96zm0-128H32V32h96v96zm376.6 362.1-15.5 15.5c-8.6 8.6-22.4 8.6-31 0l-124-124c-8.6-8.6-8.6-22.4 0-31l15.5-15.5c8.6-8.6 22.4-8.6 31 0l124 124c8.6 8.5 8.6 22.4 0 31zm-158.5-209-21-14.8c-3.2-2.3-5.1-6-5.1-10l.3-25.7c.1-6.6-5.2-12.1-11.8-12.2-2.6 0-5.2.8-7.3 2.4l-20.6 15.4c-3.2 2.4-7.3 3-11 1.8l-24.3-8.3c-6.8-2.3-14.3 1.9-15.7 9.3-.4 2.1-.1 4.2.5 6.2l8.2 24.1c1.3 3.7.6 7.8-1.8 11l-15.4 20.6c-4.3 5.8-2.6 14.2 4 17.8 1.9 1 4 1.4 6.1 1.4l25.4-.3c3.9-.1 7.7 1.8 10 5.1l14.8 21c4.2 5.9 12.7 6.9 18.1 1.7 1.5-1.5 2.6-3.3 3.2-5.3l7.5-24.3c1.2-3.8 4.1-6.7 7.9-7.9l24.5-7.6c6.3-2 9.8-8.7 7.9-15-.7-2.7-2.3-4.9-4.4-6.4z" />',viewBox:"0 0 512 512"},tellAFriendBoxIcon:{name:"tell-a-friend-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM144 96c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zm80 320H64v-96c0-48.3 26-96 80.2-96 51.7 0 79.8 52.1 79.8 96v96zm223.6 0H288s0-192 80-192 79.6 192 79.6 192zm-2-240.7c-11.1 7.9-24.3 16.7-78 16.7s-66.3-8.8-77.3-16.7c-1.5-1.3-2.4-3.1-2.4-5.1 0-4 3.6-7.2 8.2-7.5 13.6-2.3 23.8-13.8 23.8-25v-1.6c0-22.1 21.4-40.1 48-40.1h.9c26.1.4 47.1 18.2 47.1 40.1v1.6c0 11.2 10.2 22.7 23.8 25 4.6.4 8.2 3.6 8.2 7.5.1 2-.8 3.8-2.3 5.1z" />',viewBox:"0 0 512 512"},tellAFriendIcon:{name:"tell-a-friend",content:'<path d="M383.5 64c-31.7 0-57.5 24-57.5 53.5v2.1c0 14.9-12.2 30.3-28.5 33.3-5.5.5-9.9 4.8-9.9 10.1 0 2.6 1.1 5 2.9 6.8 13.3 10.5 28.3 22.2 92.5 22.2s80.1-11.7 93.3-22.2c1.8-1.8 2.9-4.1 2.9-6.8 0-5.3-4.3-9.6-9.9-10.1-16.3-3-28.5-18.4-28.5-33.3v-2.1c0-29-25-52.7-55.9-53.5h-.5.2-1.1c.2 0 0 0 0 0zm.6 0h.9-.9zM128 224c-64.9 0-96 70-96 128v96h192v-96c0-52.7-34-128-96-128zm256 0c-96 0-96 224-96 224h192s0-224-96-224zm-192-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64z" />',viewBox:"0 0 512 512"},templateManagerIcon:{name:"template-manager",content:'<path d="M377.2 292.1c-5.5 5.3-7.2 6.4-7.4 6.6-.2.1-.4.2-.9.2-.1-.2-.3-.7-.5-1.7s-.5-4.2-.5-15.1v-31.7c0-9.9-.7-16.2-2.3-19.7-2.4-5.4-6.1-9.4-11.2-12-6.2-3.1-14-4.7-23.3-4.7-12.3 0-22.1 2.8-29 8.4-7.2 5.7-10.9 12.3-10.9 19.4 0 4.1 1.2 7.5 3.6 10 2.5 2.7 5.7 4 9.6 4 3.9 0 7.2-1.3 9.6-3.8 2.4-2.4 3.6-5.9 3.6-10.2l-.2-5.8c0-1.9.9-3.5 2.7-5.1 1.8-1.6 4.4-2.4 7.9-2.4 4.7 0 8.1 1.3 10.4 3.9 1.7 1.9 3.6 6.3 3.6 16.8v.9c-15.6 5.6-26.5 10.2-33.4 14.1-7.8 4.4-13.1 9.1-16.3 14.3-2.5 3.9-3.7 8.5-3.7 13.8 0 8.2 2.5 14.9 7.5 20 5 5.2 11.6 7.8 19.4 7.8 4.9 0 9.5-1 13.8-2.9 2.2-1 6.6-3.9 13.5-8.9.7 2.9 1.9 5.2 3.5 6.9 2.8 3.1 6.6 4.7 11.2 4.7 8.5 0 17.1-5.6 25.7-16.8l.8-1v-16.3l-6.8 6.3zm-35.2-.2c-8.9 6.7-14.1 8.1-16.9 8.1h-.1c-2.8 0-5.1-1.1-7.4-3.6-2.3-2.4-3.5-5.6-3.5-9.5 0-3 .9-5.8 2.8-8.4 2.1-2.8 5.7-5.6 10.6-8.2 2.4-1.3 7.2-3.4 14.4-6.2l.1 27.8zm-97.9 12.2c-1.3-1.4-4-5.6-7.9-17.9L195.6 160h-7.7l-41 124.9c-4.1 12.7-7 17.9-8.8 20.1-.3.4-1.8 1.8-7.4 3.1l-2.8.6V320h43v-11.7l-3.2-.3c-6.6-.6-8.3-2-8.6-2.3-.9-.9-1.3-1.9-1.3-3 0-1.6.5-4.8 2.6-11.5l5.3-16.2h42.1l4.6 14c2.6 8.1 3.1 12 3.1 13.8 0 1.3-.4 2.2-1.3 3.2-.3.4-1.9 1.6-7 1.9l-3.3.2V320h52v-11.8l-3.2-.3c-3.8-.3-6.6-1.5-8.6-3.8zM172.5 254l14.7-44.6 14.4 44.6h-29.1zM352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V128l-96-96zm64 416H96V64h224v96h96v288zm-224-32h-64v-64h64v64zm96 0h-64v-64h64v64zm96 0h-64v-64h64v64z" />',viewBox:"0 0 512 512"},textClipIcon:{name:"text-clip",content:'<path d="M64 32v448h32V32H64Zm384 448V32h-32v448h32ZM320 320v-48H128v-32h192v-48l96 64-96 64Z" />',viewBox:"0 0 512 512"},textOverflowIcon:{name:"text-overflow",content:'<path d="M288 304v176h32V304h-32zm0-272v176h32V32h-32zM64 32v448h32V32H64zm288 288v-48H128v-32h224v-48l96 64-96 64z" />',viewBox:"0 0 512 512"},textTruncateIcon:{name:"text-truncate",content:'<path d="M448 32v384h-32V64H95.92L96 480H64V32h384Zm0 416h-32v32h32v-32Zm-64 .08h-31.92V480H384v-31.92Zm-64-.08h-32v32h32v-32Z" />',viewBox:"0 0 512 512"},textWrapArrowIcon:{name:"text-wrap-arrow",content:'<path d="M64 176v32h384v-32H64Zm0-64v32h384v-32H64Zm0 256v32h160v-32H64Zm0-64v32h160v-32H64Zm0 128v32h160v-32H64Zm288-32v.12c5.22.04 10.43.04 16.04-.12H352Zm94.44-64.64c-1.28 7.68-4.16 15.04-8 22.4-2.06 3.65-4.27 7.06-6.65 10.24-15.2 20.5-36.6 31.17-63.75 32H352v48l-96-64 96-64v48h14.12c18.88 0 33.28-7.68 43.2-23.68 2.24-3.84 3.84-7.68 5.12-11.52 2.24-8.32 2.24-16.96 0-24.96-2.88-10.56-9.28-20.48-18.88-26.88-8.64-6.08-18.24-8.96-28.8-8.96H64v-32h305.32c34.24.32 65.6 24.32 75.2 56.96.96 3.2 1.6 6.08 1.92 9.28 1.92 9.92 2.24 19.52 0 29.12ZM64 48v32h384V48H64Z" />',viewBox:"0 0 512 512"},textWrapIcon:{name:"text-wrap",content:'<path d="M480 96v32H96V96h384zM352 256v224H32V256h320zm-32 32H64v160h256V288zm-32 32H96v32h192v-32zm0 96v-32H96v32h192zM64 64h288V32H32v160h320v-32H64V64z" />',viewBox:"0 0 512 512"},textareaIcon:{name:"textarea",content:'<path d="M448 448h-32V256h32v192zM194 334c1.8 3.2 2.7 6.9 3 11.2h27c-.9-7.3-3.1-13.8-6.4-19.6-3.3-5.8-7.6-10.5-12.7-14.2-5.2-3.9-11.2-6.8-18-8.8-6.9-2-14.2-3-22.2-3-10.3 0-19.5 1.6-28 4.9-8.5 3.3-15.7 8.1-21.8 14.4-6 6.3-10.7 14.1-14 23.3-3.3 9.2-4.9 19.7-4.9 31.5 0 11.9 1.6 22.5 4.9 31.7 3.1 9.2 7.8 17 13.9 23.2 6 6.3 13.3 11.1 21.8 14.4 8.3 3.3 17.9 5 28.2 5 8 0 15.3-1 22.2-3 6.8-2 12.8-4.9 18-8.8 5.1-3.9 9.4-8.8 12.7-14.4 3.3-5.6 5.5-12.1 6.4-19.6h-27c-.3 4.2-1.2 7.9-3 11.2-1.8 3.2-4.2 5.9-7 8.1-3 2.2-6.3 3.9-10.1 4.9-3.9 1.2-7.9 1.7-12.2 1.7-6.3 0-11.9-1.2-17-3.5-5.2-2.3-9.7-5.8-13.4-10.4-3.7-4.5-6.6-10.2-8.5-17-2.1-6.8-3.1-14.7-3.1-23.6 0-9.1 1-17.1 3.1-23.9 2.1-6.9 5.1-12.5 8.8-17.1 3.7-4.5 8-7.8 13.3-10.1 5.1-2.3 10.7-3.5 16.8-3.5 4.3 0 8.3.6 12.2 1.7 3.9 1.2 7.2 2.7 10.1 4.9 2.8 2.4 5.2 5.1 6.9 8.4zm14-252.4c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zM380 115.7c-2.7-9.3-6.6-17.2-11.8-23.8-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V32H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-30.9zm-32.6 73.6c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM256 370.6c0 11.8 1.6 22.5 4.6 32.1 3.2 9.5 7.5 17.6 13 24.4 5.6 6.6 12.1 11.8 19.7 15.5 7.5 3.6 15.7 5.4 24.5 5.4 15.7 0 29.1-5 40-14.8V448H384V256h-26.2v60.1c-11.5-13.6-25.3-20.5-41.7-20.5-9.5 0-18 1.7-25.5 5.2-7.3 3.6-13.7 8.6-18.7 15-5.2 6.6-9.1 14.5-11.8 23.8-2.8 9.2-4.1 19.5-4.1 31zm26.8 0c0-18.1 3.2-31.8 9.3-41 6.2-9.3 14.8-13.9 26.2-13.9 14.4 0 27.5 8.3 39.4 24.9v69.1c-11.1 11.9-23.9 17.8-38.4 17.8-11.2 0-20.2-4.7-26.8-14.2-6.4-9.4-9.7-23.8-9.7-42.7z" />',viewBox:"0 0 512 512"},textboxHiddenIcon:{name:"textbox-hidden",content:'<path d="M0 160h32v64H0v-64zm0-32h32V64H0v64zm0 288h32v-64H0v64zm160 96h64v-32h-64v32zm-96 0h64v-32H64v32zM352 0h-64v32h64V0zm-96 0h-64v32h64V0zM0 512h32v-64H0v64zM448 0h-64v32h64V0zM160 0H96v32h64V0zM64 0H0v32h64V0zM0 320h32v-64H0v64zm480 128h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32v-64h-32v64zm0-96h32V96h-32v64zm0-160v64h32V0h-32zm-32 512h64v-32h-64v32zm-192 0h64v-32h-64v32zm96 0h64v-32h-64v32zm-6-165.4c-7.4 3.6-15.6 5.4-24.3 5.4-15.6 0-28.9-5-39.7-14.8V352h-26V160h26v60.1c11.4-13.6 25.1-20.5 41.4-20.5 9.4 0 17.9 1.7 25.3 5.2 7.2 3.6 13.6 8.6 18.6 15 5.2 6.6 9 14.5 11.7 23.8 2.7 9.2 4 19.5 4 31 0 11.8-1.6 22.5-4.6 32.1-3.2 9.5-7.4 17.6-12.9 24.4-5.5 6.6-12 11.7-19.5 15.5zm10.9-72c0-18.1-3.2-31.8-9.3-41-6.2-9.3-14.8-13.9-26.2-13.9-14.4 0-27.5 8.3-39.4 24.9v69.1c11.1 11.9 23.9 17.8 38.4 17.8 11.2 0 20.2-4.7 26.8-14.2 6.4-9.4 9.7-23.8 9.7-42.7zM224 253.5V351h-26v-17.6S167.1 352 146.2 352c-7.3 0-13.9-1-20-3.2-6.2-2-11.6-4.9-16-8.7-4.5-3.8-8-8.1-10.4-13.4-2.5-5.2-3.8-10.8-3.8-17.2 0-34.2 29.8-51.4 89.1-51.5h12.8c0-5.2 0-9.9-.1-13.5-.3-3.8-.7-6.8-1.4-9.4-.7-2.6-1.7-4.8-3.2-6.6-1.6-1.7-3.6-3.5-6.2-5.1-5.2-3.2-13.4-4.8-24.4-4.8-23.2 0-35.3 8.2-36 24.4h-26.1c1.9-29.6 23.1-44.6 63.6-44.6 18.9 0 33.5 3.6 44.1 11.1 10.4 7.4 15.8 22 15.8 44zM198 277h-18c-38 0-56.9 10.3-56.9 30.9 0 7.4 2.8 13.1 8.3 17.2 5.5 3.9 12.9 5.9 22.5 5.9 4.2 0 8.6-.4 12.8-1.4s8.3-2.5 12.2-4.3c3.9-1.9 7.5-4.2 10.7-6.8 3.3-2.7 6.1-5.6 8.4-9V277zM448 64h-32v384h32V64z" />',viewBox:"0 0 512 512"},textboxIcon:{name:"textbox",content:'<path d="M208 209.6c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 45.2h26.1c.7-16.8 12.8-25 36-25 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.3 6.2 5.1 1.5 1.9 2.5 4 3.2 6.6.7 2.6 1.2 5.6 1.4 9.4.1 3.6.1 8.2.1 13.6h-12.8c-59.4 0-89.1 17.2-89.1 51.4 0 6.4 1.3 12 3.8 17.2 2.5 5.3 6 9.7 10.4 13.4 4.4 3.8 9.7 6.6 16 8.7 6.1 2.2 12.8 3.2 20 3.2 20.9 0 38.2-6.2 51.7-18.6v17.9H224v-97.8c0-22.1-5.4-36.7-16-44zm-10.1 100.2c-2.3 3.3-5.1 6.2-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.9-8 3.3-12.2 4.3-4.2 1-8.6 1.4-12.8 1.4-9.6 0-17-2-22.5-5.9-5.5-4-8.3-9.8-8.3-17.2 0-20.7 18.9-30.9 56.9-30.9h18v32.5zm170.3-89.9c-5-6.4-11.4-11.5-18.7-15-7.5-3.4-16-5.2-25.5-5.2-16.4 0-30.2 6.9-41.7 20.5V160H256v192h26.2v-14.8c10.9 9.7 24.3 14.8 40 14.8 8.8 0 17-1.9 24.5-5.4 7.6-3.7 14.1-8.9 19.7-15.5 5.5-6.7 9.8-14.9 13-24.4 3-9.6 4.6-20.4 4.6-32.1 0-11.5-1.3-21.8-4-31-2.8-9.3-6.7-17.1-11.8-23.7zm-20.8 97.4c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.4-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.2 9.2 9.3 22.9 9.3 41 .1 18.9-3.2 33.3-9.7 42.7zM448 64v384h-32V64h32z" />',viewBox:"0 0 512 512"},thumbnailsDownIcon:{name:"thumbnails-down",content:'<path d="M352 352h96v96h-96v-96zm-160 0h96v96h-96v-96zm-160 0h96v96H32v-96zm0-320h416v256H32V32z" />',viewBox:"0 0 512 512"},thumbnailsLeftIcon:{name:"thumbnails-left",content:'<path d="M32 32v96h96V32H32zm160 0v416h256V32H192zM32 192v96h96v-96H32zm0 160v96h96v-96H32z" />',viewBox:"0 0 512 512"},thumbnailsRightIcon:{name:"thumbnails-right",content:'<path d="M352 352h96v96h-96v-96zm0-160h96v96h-96v-96zm0-160h96v96h-96V32zM32 32h256v416H32V32z" />',viewBox:"0 0 512 512"},thumbnailsUpIcon:{name:"thumbnails-up",content:'<path d="M352 32h96v96h-96V32zm-160 0h96v96h-96V32zM32 32h96v96H32V32zm0 160h416v256H32V192z" />',viewBox:"0 0 512 512"},tocSectionIcon:{name:"toc-section",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H224v-32h160v32zm-64 64h-96v-32h96v32zm0 64h-96v-32h96v32zm64 64H224v-32h160v32z" />',viewBox:"0 0 512 512"},tocSectionLevelIcon:{name:"toc-section-level",content:'<path d="M96 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H96zm320 416H96V64h320v384zm-32-288H192v-32h192v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm0 64h-96v-32h96v32zm-192-32v-96l64 48-64 48z" />',viewBox:"0 0 512 512"},toggleFullScreenModeIcon:{name:"toggle-full-screen-mode",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v288c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm0 319.942a.53.53 0 0 1-.058.058H64.058a.454.454 0 0 1-.058-.058V64.057a.511.511 0 0 1 .057-.057h383.885c.02.017.041.038.058.057v287.885zM384 480H128c35.346 0 64-28.654 64-64h128c0 35.346 28.654 64 64 64zm32-160H96c58.263-113.973 183.21-192 320-192v192z" />',viewBox:"0 0 512 512"},toolbarFloatIcon:{name:"toolbar-float",content:'<path d="M64 352h416v128H64V352zm96 32H96v64h96v-64h-32zm160 0h-96v64h96v-64zm32 0v64h96v-64h-96zM63.961 131.844l90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm0 0 90.51 90.51 45.255-45.255-90.51-90.51-45.255 45.255zm158.392 67.882 67.882-67.882-22.627-22.627-22.627 22.627-90.51-90.51c-12.445-12.445-32.81-12.445-45.255 0l-67.882 67.882c-12.445 12.445-12.445 32.81 0 45.255l90.51 90.51-22.627 22.627 22.627 22.627 67.882-67.882L297.373 320 320 297.373l-97.647-97.647zm-67.882 22.627-90.51-90.51 45.255-45.255 90.51 90.51-45.255 45.255zM480 256h-64v64h64v-64z" />',viewBox:"0 0 512 512"},trackChangesAcceptAllIcon:{name:"track-changes-accept-all",content:'<path d="M128 160H96V96c0-17.7 14.3-32 32-32h224l64 64h-96V96H128v64zm264.5 51.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64zm179-253L112 262l-67-67-45 45 112 112 176-176-45-45z" />',viewBox:"0 0 512 512"},trackChangesAcceptIcon:{name:"track-changes-accept",content:'<path d="M128 128H96V64c0-17.7 14.3-32 32-32h224l64 64h-96V64H128v64zm122.9 193.2L224 349.3V416h66.7l28.1-26.9 141.6-141.6-67.9-67.9-141.6 141.6zm28.4 62.1L268 372l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM416 337.155l32-32V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32v-96h32v96h288V337.155zM502.7 205.3 480 227.8 412.2 160l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zM288 144 112 320 0 208l45-45 67 67L243 99l45 45zm-96 272h-32v-32h32v32z" />',viewBox:"0 0 512 512"},trackChangesEnableIcon:{name:"track-changes-enable",content:'<path d="M502.7 173.3 480 195.8 412.2 128l22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3zm-110.2-25.7 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM160 320h32v-32h-32v32zm0-64h96v-32h-96v32zm128-96H160v32h128v-32zM160 384h32v-32h-32v32zm256 64H96V64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},trackChangesIcon:{name:"track-changes",content:'<path d="m412.2 256 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM288 160H160v32h128v-32zm64 64H160v32h192v-32zm-64 64H160v32h128v-32zm-64 64h-64v32h64v-32zm188.2-96 22.6-22.6c12.4-12.4 32.8-12.4 45.3 0l22.6 22.6c12.4 12.4 12.4 32.8 0 45.3L480 323.8 412.2 256zm-19.7 19.6L250.9 417.2 224 445.3V512h66.7l28.1-26.9 141.6-141.6-67.9-67.9zM279.3 479.3 268 468l-11.3-11.3 135.8-135.8 22.6 22.6-135.8 135.8zM96 416V64h224v96h96v32h32v-64l-96-96H96c-17.7 0-32 14.3-32 32v352c0 17.7 14.3 32 32 32h96v-32H96zM0 512h192v-32H0v32z" />',viewBox:"0 0 512 512"},trackChangesRejectAllIcon:{name:"track-changes-reject-all",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM128 96h192v32h96l-64-64H128c-17.7 0-32 14.3-32 32v64h32V96zm264.5 115.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 404l11.3 11.3 135.8-135.8zM416 480H128v-96H96v96c0 17.7 14.3 32 32 32h288c17.7 0 32-14.3 32-32V337.155l-32 32V480zm86.7-288-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 192l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM160 448h32v-32h-32v32zM64 32h256L288 0H64C46.3 0 32 14.3 32 32v128h32V32zm0 352H32v32c0 17.7 14.3 32 32 32v-64z" />',viewBox:"0 0 512 512"},trackChangesRejectIcon:{name:"track-changes-reject",content:'<path d="M102.627 272 160 329.373 137.373 352 80 294.627 22.627 352 0 329.373 57.373 272 0 214.627 22.627 192 80 249.373 137.373 192 160 214.627 102.627 272zM192 384v-32h-32v32h32zm310.7-256-22.6-22.6c-12.5-12.4-32.9-12.4-45.3 0L412.2 128l67.8 67.8 22.7-22.5c12.4-12.5 12.4-32.9 0-45.3zM96 64h224v96l80.11-79.89L352 32H96c-17.7 0-32 14.3-32 32v96h32V64zm296.5 83.6 67.9 67.9-141.6 141.6-28.1 26.9H224v-66.7l26.9-28.1 141.6-141.6zm22.6 67.9-22.6-22.6-135.8 135.8L268 340l11.3 11.3 135.8-135.8zM416 448H96v-64H64v64c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V273.155l-32 32V448z" />',viewBox:"0 0 512 512"},transparencyIcon:{name:"transparency",content:'<path d="M64 64v352h352V64H64zm32 32h96v96h96V96h96v96h-96v96h96v96h-96v-96h-96v96H96v-96h96v-96H96V96z" />',viewBox:"0 0 512 512"},trashIcon:{name:"trash",content:'<path d="M416 96h-96V64c0-17.6-14.4-32-32-32h-96c-17.6 0-32 14.4-32 32v32H64v64h32v288c0 17.6 14.4 32 32 32h224c17.6 0 32-14.4 32-32V160h32V96zM192 64h95.9l.1.1V96h-96c.1-.1.1-32.1 0-32zm160 384H128.1l-.1-.1V160h32v256h32V160h32v256h32V160h32v256h32V160h32v288z" />',viewBox:"0 0 512 512"},tumblrBoxIcon:{name:"tumblr-box",content:'<path d="M448 32H64c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-96.1 366c-12.7 6.4-28.5 11.6-38.9 14.2-10.4 2.6-21.6 3.9-33.7 3.9-13.7 0-21.8-1.9-32.3-5.5-10.5-3.7-19.9-9-27.3-15.8-7.4-6.9-12.6-14.1-15.4-21.8-2.9-7.7-4.3-18.9-4.3-33.5V224h-40v-42.2c11.7-4.1 25.3-9.9 33.6-17.6 8.4-7.6 15.1-16.8 20.2-27.5s8.6-24.3 10.5-40.8H267v64h53v64h-53v85.2c0 18.6-.2 29.3 1.6 34.5 1.8 5.2 6.4 10.7 11.4 13.8 6.6 4.2 14.2 6.4 22.7 6.4 15.1 0 34.3-5.9 49.3-16.5V398h-.1z" />',viewBox:"0 0 512 512"},tumblrIcon:{name:"tumblr",content:'<path d="M192.6 32c-2.8 23.1-8.1 42.1-15.7 57.1s-17.7 27.8-30.3 38.5-33 18.9-50.6 24.6V224h61v148.7c0 20.5 2.1 36.1 6.4 46.9s12 21 23.1 30.6c11.1 9.5 25 16.9 40.7 22.1s27.8 7.7 48.3 7.7c18 0 34.8-1.8 50.4-5.4 15.5-3.6 39.1-10.9 58.2-19.9V384c-22.3 14.8-51 22.9-73.7 22.9-12.8 0-24-3-33.9-8.9-7.5-4.4-14.3-12-17-19.2-2.8-7.4-2.4-22.3-2.4-48.2V224h96v-96h-96V32h-64.5z" />',viewBox:"0 0 512 512"},twitterBoxIcon:{name:"twitter-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zm-64.7 159.7c.1 2.8.2 5.6.2 8.4 0 85.4-66 183.9-186.8 183.9-37.1 0-71.6-10.7-100.6-29.1 5.1.6 10.4.9 15.7.9 30.8 0 59.1-10.4 81.5-27.7-28.7-.5-53-19.2-61.3-44.9 4 .7 8.1 1.2 12.4 1.2 6 0 11.8-.8 17.3-2.3-30-5.9-52.7-32-52.7-63.3v-.8c8.9 4.8 19 7.7 29.7 8.1-17.6-11.6-29.2-31.4-29.2-53.8 0-11.8 3.2-22.9 8.9-32.5 32.4 39.1 80.8 64.8 135.3 67.5-1.1-4.7-1.7-9.7-1.7-14.7 0-35.7 29.4-64.6 65.6-64.6 18.9 0 36 7.8 47.9 20.4 14.9-2.9 29-8.3 41.7-15.7-4.9 15.1-15.3 27.7-28.9 35.7 13.3-1.6 26-5.1 37.7-10.2-8.9 13.1-19.9 24.5-32.7 33.5z" />',viewBox:"0 0 512 512"},twitterIcon:{name:"twitter",content:'<path d="M342 64c-50.8 0-91.9 41.2-91.9 91.9 0 7.2.8 14.2 2.4 21-76.4-3.8-144.1-40.4-189.4-96-7.9 13.6-12.4 29.3-12.4 46.2 0 31.9 16.2 60 40.9 76.5-15.1-.5-29.2-4.6-41.6-11.5v1.2c0 44.5 31.7 81.7 73.7 90.1-7.7 2.1-15.8 3.3-24.2 3.3-5.9 0-11.7-.6-17.3-1.6 11.7 36.5 45.6 63.1 85.9 63.8-31.7 24.5-71.3 39.2-114.3 39.2-7.4 0-14.8-.4-22-1.3 40.7 26 89 41.3 140.9 41.3 169.1 0 261.5-140.1 261.5-261.5 0-4-.1-8-.2-11.9 18-12.9 33.5-29.1 45.9-47.6-16.5 7.3-34.2 12.3-52.8 14.5 19-11.4 33.6-29.4 40.4-50.8-17.8 10.5-37.4 18.2-58.4 22.3C392.3 75.1 368.4 64 342 64z" />',viewBox:"0 0 512 512"},underlineIcon:{name:"underline",content:'<path d="M128 416h256v32H128v-32zM320 64v224c0 11.6-3.5 16-10.3 20.3-11.8 7.4-31.3 11.7-53.7 11.7s-41.9-4.3-53.7-11.7c-6.8-4.3-10.3-8.7-10.3-20.3V64h-64v224c0 70.4 64.3 96 128 96s128-25.6 128-96V64h-64z" />',viewBox:"0 0 512 512"},undoIcon:{name:"undo",content:'<path d="M479.9 416c-57.7-56.6-136.7-96-223.9-96v128L32 256 256 64v128c122.2 0 221.5 102.4 223.9 224z" />',viewBox:"0 0 512 512"},ungroupIcon:{name:"ungroup",content:'<path d="M32 256h192v192H32V256zm32-64h128V64H64v128zm224 224h128V288H288v128zM256 32v192h192V32H256z" />',viewBox:"0 0 512 512"},unlinkIcon:{name:"unlink",content:'<path d="M384 384c-47.4 0-88.7-25.8-110.8-64H384c35.4 0 64-28.6 64-64s-28.7-64-64-64H273.2c22.1-38.2 63.5-64 110.8-64 70.7 0 128 57.3 128 128s-57.3 128-128 128zM64 256c0 35.4 28.6 64 64 64h110.8c-22.1 38.2-63.5 64-110.8 64C57.3 384 0 326.7 0 256s57.3-128 128-128c47.4 0 88.7 25.8 110.8 64H128c-35.3 0-64 28.6-64 64zM272 97.6V0h-32v97.6c5.2-1 10.5-1.6 16-1.6s10.8.6 16 1.6zm-60.1 11.7-69-69-22.6 22.6 69 69c5.9-9 13.6-16.7 22.6-22.6zm110.8 22.6 69-69-22.6-22.6-69 69c9 5.9 16.7 13.6 22.6 22.6zM256 416c-5.5 0-10.8-.6-16-1.6V512h32v-97.6c-5.2 1-10.5 1.6-16 1.6zm-66.7-35.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zm110.8 22.6 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6z" />',viewBox:"0 0 512 512"},unlinkVerticalIcon:{name:"unlink-vertical",content:'<path d="M414.4 272H512v-32h-97.6c1 5.2 1.6 10.5 1.6 16s-.5 10.8-1.6 16zm-11.6-60.1 69-69-22.6-22.6-69 69c8.9 5.9 16.6 13.6 22.6 22.6zm-22.7 110.8 69 69 22.6-22.6-69-69c-5.9 9-13.6 16.7-22.6 22.6zM96 256c0-5.5.6-10.8 1.6-16H0v32h97.6c-1-5.2-1.6-10.5-1.6-16zm35.9-66.8-69-69-22.6 22.6 69 69c5.9-8.9 13.6-16.6 22.6-22.6zm-22.6 110.9-69 69 22.6 22.6 69-69c-9-5.9-16.7-13.6-22.6-22.6zM128 384c0-47.4 25.8-88.7 64-110.8V384c0 35.4 28.6 64 64 64s64-28.7 64-64V273.2c38.2 22.1 64 63.5 64 110.8 0 70.7-57.3 128-128 128s-128-57.3-128-128zM256 64c-35.4 0-64 28.6-64 64v110.8c-38.2-22.1-64-63.5-64-110.8C128 57.3 185.3 0 256 0s128 57.3 128 128c0 47.4-25.8 88.7-64 110.8V128c0-35.4-28.6-64-64-64z" />',viewBox:"0 0 512 512"},unlockIcon:{name:"unlock",content:'<path d="M416 224H224v-96c0-53-43-96-96-96s-96 43-96 96v128h32V128c0-35.3 28.7-64 64-64s64 28.7 64 64v96h-32c-17.6 0-32 14.4-32 32v192c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V256c0-17.6-14.4-32-32-32zM288 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" />',viewBox:"0 0 512 512"},unpinIcon:{name:"unpin",content:'<path d="M256 320h160c17.6 0 32-14.4 32-32v-96c0-17.6-14.4-32-32-32H256V96h-32v128H64v32h160v128h32v-64zm0-128h160v64H256v-64z" />',viewBox:"0 0 512 512"},unstickIcon:{name:"unstick",content:'<path d="M290.6 131.4c12.4-12.4 12.4-32.6 0-45l-45-45c-12.4-12.4-32.6-12.4-45 0L178 63.8l90.1 90 22.5-22.4zM268.1 334c-24.9 24.9-65.2 24.9-90.1 0s-24.9-65.2 0-90.1l67.5-67.5-90-90.1L88 153.9C13.4 228.5 13.4 349.4 88 424s195.5 74.6 270.1 0l67.5-67.5-90-90.1-67.5 67.6zm202.6-67.5-45-45c-12.4-12.4-32.6-12.4-45 0L358.2 244l90 90 22.5-22.5c12.4-12.4 12.4-32.6 0-45z" />',viewBox:"0 0 512 512"},uploadIcon:{name:"upload",content:'<path d="M32 384v96h448v-96H32zm192-64h64V192h96L256 32 128 192h96v128z" />',viewBox:"0 0 512 512"},userIcon:{name:"user",content:'<path d="M352 128c0 53-43 96-96 96s-96-43-96-96 43-96 96-96 96 43 96 96zm-96 128c-106 0-192 86-192 192 0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32 0-106-86-192-192-192z" />',viewBox:"0 0 512 512"},validationDataIcon:{name:"validation-data",content:'<path d="m64 352 64-64 96 96 288-160-288 288L64 352zm48.6-193.6c0 13-2.5 24.4-7.6 34.4s-12.3 17.7-21.8 23.1c-9.4 5.4-20.3 8.1-32.7 8.1H0V96h49.5c42.1 0 63.1 20.8 63.1 62.4zm-38 .3c0-6.3-1.2-12-3.5-17-2.4-5-5.7-8.9-10.1-11.7-4.4-2.7-9.6-4.1-15.6-4.1H36v68h10.1c8.6 0 15.6-3.2 20.7-9.5 5.2-6.4 7.8-14.9 7.8-25.7zM216.2 224l-5.5-24h-37.2l-5.9 24H128l42.3-128h45.9L256 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3zm127.4 4v96h-32v-96h-32V96h98v32h-34zm120.2 96-5.5-24h-37.2l-5.9 24H352l42.3-128h45.9L480 224h-39.8zm-23.6-100h-.9c-.1 1.4-.5 3.8-1.2 7.1s-4.1 17.2-10.4 41.9h23.4l-8.6-34.7c-1.1-5-1.9-9.8-2.3-14.3z" />',viewBox:"0 0 512 512"},validationXhtmlIcon:{name:"validation-xhtml",content:'<path d="M192 224h-54l-26.2-96L86 224H32L0 64h42l22 96 22-96h52l22 96 22-96h42l-32 160zm272.5-121.8c4.7 4.2 7.4 9.8 8.5 16.8h38.9c-2-17.9-8.6-31.3-19.9-40.8-11.5-9.3-26.5-14-45.6-14-11.9 0-22.5 1.7-32 5.3-9.4 3.6-17.4 8.9-23.9 15.7-6.7 6.9-11.6 15.2-15.1 25-3.5 10-5.3 21.2-5.3 33.8 0 12.8 1.8 24 5.3 33.8 3.5 10 8.3 18.4 14.8 25.1 6.5 6.7 14.5 11.8 23.8 15.4 9.4 3.6 20 5.4 31.6 5.4 19.4 0 34.7-4.8 45.9-14.3 11.2-9.5 18-23 20.4-40.5H473c-.9 7-3.7 12.6-8.3 16.8-4.7 4.3-10.7 6.3-18.3 6.3-9.8 0-17.5-3.9-23.5-11.7-5.8-7.8-8.6-19.9-8.6-36.3 0-16.7 2.8-28.7 8.6-36.5 5.9-7.8 13.6-11.5 23.5-11.5 7.5 0 13.6 2 18.1 6.2zM316.7 219.8c7.3-2.3 13.6-5.8 18.9-10.2l.1-.1c5.2-4.6 9.1-9.9 11.8-16.1 2.8-6 4.2-12.7 4.2-20.7 0-10-2.7-18.4-8-25.3-3.5-4.4-7.9-7.9-13.2-10.5.3-.3.7-.5 1-.8 3.1-2.4 5.5-5 7.6-8.1 2-3 3.5-6.2 4.5-9.4 1-3.5 1.5-6.9 1.5-10.4 0-6.6-1.3-12.6-3.9-18.1-2.6-5.4-6.4-10.3-11.4-14.2-4.8-4.2-10.5-7.2-17-9.1-6.3-1.8-13.7-2.8-22.1-2.8-7.4 0-14.3 1-20.8 3.1-6.3 2.1-11.7 5.2-16.9 9.3-5 4.1-9 9.2-11.9 15.1-3 5.9-4.9 12.7-5.6 20.3l-.5 5.1h38.2l.5-4.4c1.6-14.6 9.9-16.5 16.9-16.5 4.8 0 8.3 1.1 10.7 3.3l.1.1c2.7 2.5 3.3 7.1 3.3 10.4 0 5.6-1.2 9.4-3.8 11.4l-.1.1c-2.8 2.4-7.2 3.5-13.4 3.5H276v31h13.7c7.4 0 12.8 1.4 16.3 4 3.3 2.7 4.9 6.5 4.9 12.2 0 2.9-.5 5.6-1.4 8-.9 2.3-2.1 4.1-3.9 5.9-1.4 1.5-3.4 2.7-5.9 3.6-2.4.9-5.2 1.4-8.4 1.4-3.4 0-6.3-.4-9-1.3-2.2-.8-4.1-2-5.7-3.5-1.6-1.6-2.8-3.3-3.7-5.2-.8-1.9-1.2-4.1-1.5-6.7l-.4-4.2h-39.1l.3 5c.5 7.4 2.3 14.5 5.3 21 3.1 6.1 7.8 11.8 14.2 16.6 4.9 3.8 10.8 6.6 17.8 8.4h.4c6.4 1.5 13.8 2.3 22.1 2.3 9.5 0 17.5-1.2 24.7-3.5zM64 352l64-64 96 96 288-160-288 288L64 352z" />',viewBox:"0 0 512 512"},vbIcon:{name:"vb",content:'<path d="m32 160 73.2 224h76.7L256 160h-71.1l-33.7 137c-2.6 10.3-4.3 19-4.9 25.9h-1.6c-.3-5.5-1.8-13.9-4.6-25L105.5 160H32zm252 0v224h104.6c29.3 0 51.9-6 67.7-17.9 15.8-11.9 23.7-28.9 23.7-50.8 0-8.1-2.4-16-7-23.5-4.7-7.6-11.4-13.9-20-18.9-8.7-5-18.4-8.2-29.3-9.5v-.6c9.4-1.8 18-5.1 25.8-10 7.8-4.9 13.7-10.6 17.5-17.1 3.8-6.5 5.8-13.7 5.8-21.5 0-36.1-30.5-54.2-91.4-54.2H284zm69.1 45.2h12.8c22.3 0 33.4 6.9 33.4 20.8 0 6.4-2.5 11.5-7.4 15.5s-11.2 6-18.9 6h-20l.1-42.3zm0 87.6h27.2c7.9 0 14.3 2.1 19 6.2s7.2 9.5 7.2 15.9c0 7.3-2.7 13-8.1 17.2-5.4 4.2-12.9 6.3-22.2 6.3h-23v-45.6h-.1z" />',viewBox:"0 0 512 512"},vbprojIcon:{name:"vbproj",content:'<path d="M64 32c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H64zm160 32c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM64 160h384v288H64V160zm32 64 51.6 160h54.1L254 224h-50.2L180 321.9c-1.9 7.4-3 13.5-3.5 18.5h-1.1c-.2-3.9-1.3-9.9-3.2-17.9L147.8 224H96zm183.3 0v160h73c20.4 0 36.2-4.3 47.2-12.8s16.5-20.6 16.5-36.3c0-5.8-1.6-11.4-4.9-16.8s-7.9-9.9-14-13.5-12.8-5.9-20.4-6.8v-.4c6.5-1.3 12.5-3.6 18-7.1s9.5-7.6 12.2-12.2c2.7-4.6 4-9.8 4-15.3 0-25.8-21.2-38.7-63.7-38.7h-67.9v-.1zm48.2 32.3h8.9c15.6 0 23.3 5 23.3 14.8 0 4.5-1.7 8.3-5.1 11.1s-7.8 4.3-13.2 4.3h-14l.1-30.2zm0 62.5h19c5.5 0 9.9 1.5 13.3 4.4s5 6.8 5 11.4c0 5.2-1.9 9.3-5.7 12.3s-9 4.5-15.5 4.5h-16.1v-32.6z" />',viewBox:"0 0 512 512"},videoExternalIcon:{name:"video-external",content:'<path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm-64 384V128l192 128-192 128z" />',viewBox:"0 0 512 512"},vimeoBoxIcon:{name:"vimeo-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm-.186 140.119c-1.714 37.08-27.831 87.809-78.295 152.123-52.206 67.294-96.402 100.901-132.563 100.901-22.366 0-41.304-20.462-56.786-61.493-10.339-37.625-20.652-75.303-30.991-112.849-11.491-41.058-23.813-61.573-37.018-61.573-2.866 0-12.884 5.987-30.107 17.961L64 184.066c18.938-16.458 37.581-33.022 55.956-49.519 25.206-21.7 44.143-33.048 56.786-34.232 29.813-2.874 48.188 17.389 55.099 60.668 7.393 46.765 12.616 75.835 15.456 87.237 8.598 38.743 18.08 58.087 28.419 58.087 8.009 0 20.036-12.506 36.134-37.559 16.071-25.106 24.67-44.184 25.822-57.315 2.277-21.66-6.321-32.423-25.822-32.423-9.188 0-18.67 1.929-28.42 5.974 18.964-61.001 55.099-90.63 108.456-88.914 39.562 1.105 58.205 26.516 55.928 76.049z" />',viewBox:"0 0 512 512"},vimeoIcon:{name:"vimeo",content:'<path d="M479.783 152.805c-2 43.26-32.469 102.444-91.344 177.477C327.532 408.792 275.969 448 233.782 448c-26.094 0-48.188-23.873-66.25-71.742-12.063-43.896-24.094-87.854-36.157-131.657-13.407-47.901-27.782-71.835-43.188-71.835-3.344 0-15.032 6.985-35.125 20.955L32 166.744c22.094-19.201 43.844-38.526 65.282-57.773 29.407-25.316 51.5-38.556 66.25-39.938 34.782-3.353 56.219 20.287 64.282 70.78 8.625 54.559 14.719 88.475 18.032 101.777 10.031 45.2 21.093 67.769 33.156 67.769 9.344 0 23.375-14.591 42.157-43.818 18.75-29.29 28.782-51.548 30.125-66.868 2.656-25.27-7.375-37.827-30.125-37.827-10.719 0-21.782 2.251-33.157 6.969C310.126 96.647 352.283 62.08 414.533 64.082c46.156 1.289 67.906 30.935 65.25 88.723z" />',viewBox:"0 0 512 512"},volumeDownIcon:{name:"volume-down",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124z" />',viewBox:"0 0 512 512"},volumeMuteIcon:{name:"volume-mute",content:'<path d="M96 160 224 32v448L96 352H0V160h96zm416 29.3L466.7 144 400 210.7 333.2 144 288 189.3l66.7 66.7-66.7 66.7 45.3 45.3 66.7-66.7 66.7 66.7 45.3-45.3-66.8-66.7 66.8-66.7z" />',viewBox:"0 0 512 512"},volumeUpIcon:{name:"volume-up",content:'<path d="M0 352h96l128 128V32L96 160H0v192zm288 28V132c55.2 14.2 96 64.3 96 124s-40.8 109.8-96 124zm0-380v44.8c45.2 0 88.3 20.8 121.2 58.4C444.6 143.6 464 197.8 464 256s-19.4 112.4-54.8 152.8c-33 37.7-76 58.4-121.2 58.4V512c123.7 0 224-114.6 224-256S411.7 0 288 0z" />',viewBox:"0 0 512 512"},warningCircleIcon:{name:"warning-circle",content:'<path d="M256 480c123.7 0 224-100.3 224-224S379.7 32 256 32 32 132.3 32 256s100.3 224 224 224Zm-32-352v160h64V128h-64Zm0 256v-64h64v64h-64Z" />',viewBox:"0 0 512 512"},warningTriangleIcon:{name:"warning-triangle",content:'<path d="M256 32 0 480h512L256 32Zm-32 160h64v160h-64V192Zm0 256v-64h64v64h-64Z" />',viewBox:"0 0 512 512"},wholeWordIcon:{name:"whole-word",content:'<path d="M379 243.6c-2.7-9.3-6.5-17.2-11.7-23.8-5-6.4-11.4-11.4-18.6-15-7.4-3.5-15.9-5.2-25.3-5.2-16.3 0-30 6.9-41.4 20.5V160h-26v192h26v-14.8c10.8 9.8 24.1 14.8 39.7 14.8 8.7 0 16.9-1.8 24.3-5.4 7.5-3.8 14-8.9 19.5-15.5 5.5-6.8 9.7-14.9 12.9-24.4 3-9.6 4.6-20.3 4.6-32.1 0-11.5-1.3-21.8-4-31zm-31.8 73.7c-6.6 9.5-15.6 14.2-26.8 14.2-14.5 0-27.3-5.9-38.4-17.8v-69.1c11.9-16.6 25-24.9 39.4-24.9 11.4 0 20 4.6 26.2 13.9 6.1 9.2 9.3 22.9 9.3 41 0 18.9-3.3 33.3-9.7 42.7zm-139-107.8c-10.6-7.5-25.2-11.1-44.1-11.1-40.5 0-61.7 15-63.6 44.6h26.1c.7-16.2 12.8-24.4 36-24.4 11 0 19.2 1.6 24.4 4.8 2.6 1.6 4.6 3.4 6.2 5.1 1.5 1.8 2.5 4 3.2 6.6s1.1 5.6 1.4 9.4c.1 3.6.1 8.3.1 13.5h-12.8c-59.3.1-89.1 17.3-89.1 51.5 0 6.4 1.3 12 3.8 17.2 2.4 5.3 5.9 9.6 10.4 13.4 4.4 3.8 9.8 6.7 16 8.7 6.1 2.2 12.7 3.2 20 3.2 20.9 0 51.8-18.6 51.8-18.6V351h26v-97.5c0-22-5.4-36.6-15.8-44zm-10.2 100c-2.3 3.4-5.1 6.3-8.4 9-3.2 2.6-6.8 4.9-10.7 6.8-3.9 1.8-8 3.3-12.2 4.3s-8.6 1.4-12.8 1.4c-9.6 0-17-2-22.5-5.9-5.5-4.1-8.3-9.8-8.3-17.2 0-20.6 18.9-30.9 56.9-30.9h18v32.5zM448 96h-32v320h32V96zm0-32H64V32h384v32zm0 415.6H64v-32h384v32z" />',viewBox:"0 0 512 512"},windowIcon:{name:"window",content:'<path d="M96 96v320h320V96H96zm288 288H128V192h256v192z" />',viewBox:"0 0 512 512"},windowMinimizeIcon:{name:"window-minimize",content:'<path d="M416 288v64H96v-64h320z" />',viewBox:"0 0 512 512"},windowRestoreIcon:{name:"window-restore",content:'<path d="M448 32v288h-32V128H160V32h288zM64 192h288v288H64V192zm32 256h224V288H96v160z" />',viewBox:"0 0 512 512"},wrenchIcon:{name:"wrench",content:'<path d="M470.7 402.7 306 238.1c9-18.8 14-39.8 14-62.1 0-79.5-64.5-144-144-144-22.2 0-43.3 5-62.1 14l76.4 76.4c12.4 12.4 12.4 32.8 0 45.3l-22.6 22.6c-12.4 12.4-32.8 12.4-45.3 0L46 113.9c-9 18.8-14 39.9-14 62.1 0 79.5 64.5 144 144 144 22.3 0 43.4-5.1 62.2-14.1l164.7 164.7c12.3 12.5 32.7 12.5 45.1.1l22.7-22.7c12.4-12.4 12.4-32.8 0-45.3zM448 425.5 425.4 448 265.8 288.5c8.3-6.7 15.9-14.3 22.6-22.6L448 425.5z" />',viewBox:"0 0 512 512"},xCircleIcon:{name:"x-circle",content:'<path d="M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm128 306.7L338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7z" />',viewBox:"0 0 512 512"},xIcon:{name:"x",content:'<path d="M416 141.3 301.3 256 416 370.7 370.7 416 256 301.3 141.3 416 96 370.7 210.7 256 96 141.3 141.3 96 256 210.7 370.7 96l45.3 45.3z" />',viewBox:"0 0 512 512"},xOutlineIcon:{name:"x-outline",content:'<path d="M384 338.7 338.7 384 256 301.3 173.3 384 128 338.7l82.7-82.7-82.7-82.7 45.3-45.3 82.7 82.7 82.7-82.7 45.3 45.3-82.7 82.7 82.7 82.7zM256 32C132.3 32 32 132.3 32 256s100.3 224 224 224 224-100.3 224-224S379.7 32 256 32zm0 416c-106 0-192-86-192-192S150 64 256 64s192 86 192 192-86 192-192 192z" />',viewBox:"0 0 512 512"},yammerBoxIcon:{name:"yammer-box",content:'<path d="M448 32H64c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32zM332.5 148.6c15.4-15.4 30.7 0 30.7 0s15.8 15 .3 30.6-61.7 31.1-61.7 31.1 15.4-46.3 30.7-61.7zm-54.7-26.4c-.1.3-.2.5-.3.8h.1c-.4 1.2-.9 2.4-1.4 3.8-3.5 8.8-75.5 223.1-75.5 223.1-13.7 39.3-34 66.2-75.6 66.2-5.5 0-11.6-.4-17.6-1.6-8.3-2.7-13.2-12.3-10.9-21.7 2-8.2 8.8-13.6 16.1-13.2.5.1 8.1.6 10.3.6 22.6 0 37.5-15.5 45.1-38.3l4.5-11.1s-68.2-186.3-75.5-207c-3-10.5 1.7-22 11-25.9 9.1-3.8 19.1.9 23.2 10.6l.8 2.4L191.3 279h.9s46.7-149.5 52.5-168c0-.1 0-.2.1-.3.2-.6.3-1.1.4-1.3 3.2-9.8 12.7-15.1 21.6-11.9 8.9 3.4 14 14.4 11 24.7zm85.4 241.2s-15.3 15.5-30.7 0-30.8-61.7-30.8-61.7 46.1 15.4 61.7 31.1-.2 30.6-.2 30.6zm30.3-84.6c-23.2 0-68.9-22.8-68.9-22.8s45.7-22.8 68.6-22.8S416 256 416 256s.7 22.8-22.5 22.8z" />',viewBox:"0 0 512 512"},yammerIcon:{name:"yammer",content:'<path d="M263.9 32.1c-10.1-.2-19.6 6.8-23.2 18-.1.4-.3 1-.5 1.9 0 .1-.1.3-.1.4-8 25.9-73.6 235.6-73.6 235.6h-1.2l-84-239.2C75.6 35.3 61.6 28.7 48.9 34c-13 5.5-19.7 21.5-15.4 36.2 10.1 29 105.8 290.4 105.8 290.4l-6.3 15.6c-10.6 32.1-31.6 53.8-63.2 53.8-3.1 0-13.7-.7-14.4-.8-10.2-.6-19.7 6.9-22.5 18.4-3.1 13.1 3.7 26.6 15.3 30.4 8.4 1.6 17 2.2 24.7 2.2 58.3 0 86.8-37.7 106-92.8 0 0 101-300.5 105.8-312.9.8-2 1.4-3.7 2-5.4l-.1-.1c.1-.4.3-.7.4-1.1 4.1-14.5-3-29.9-15.8-34.5-2.5-.8-4.9-1.3-7.3-1.3zM383.5 96c-6.3.1-13.3 2.5-20.4 9.6-21.5 21.6-43 86.4-43 86.4s64.6-21.6 86.4-43.5-.4-42.8-.4-42.8-9.7-9.8-22.6-9.7zm64.6 128c-32 0-96 32-96 32s64 32 96.4 32 31.5-32 31.5-32 .1-32-31.9-32zm-128 96s21.5 64.8 43 86.4 43-.1 43-.1 22.1-21 .4-42.8c-21.8-21.9-86.4-43.5-86.4-43.5z" />',viewBox:"0 0 512 512"},youtubeBoxIcon:{name:"youtube-box",content:'<path d="M448 32H64c-17.664 0-32 14.336-32 32v384c0 17.664 14.336 32 32 32h384c17.664 0 32-14.336 32-32V64c0-17.664-14.336-32-32-32zm0 237.749c0 29.454-3.835 58.909-3.835 58.909s-3.752 25.082-15.265 36.128c-14.602 14.497-30.97 14.569-38.476 15.417C336.689 383.885 256 384 256 384s-99.838-.864-130.559-3.656c-8.546-1.519-27.734-1.061-42.341-15.558-11.513-11.045-15.26-36.128-15.26-36.128S64 299.203 64 269.749v-27.614c0-29.454 3.84-58.909 3.84-58.909s3.747-25.082 15.26-36.128c14.607-14.497 30.969-14.569 38.476-15.417C175.313 128 255.917 128 255.917 128h.167s80.606 0 134.341 3.682c7.506.849 23.873.92 38.476 15.417 11.513 11.045 15.265 36.128 15.265 36.128S448 212.681 448 242.136v27.613zM192 176l144 80-144 80V176z" />',viewBox:"0 0 512 512"},youtubeIcon:{name:"youtube",content:'<path d="M475.5 165s-4.4-31.4-17.8-45.2c-17-18.1-36.1-18.2-44.9-19.3C350.1 96 256.1 96 256.1 96h-.2s-94 0-156.7 4.6c-8.8 1.1-27.8 1.2-44.9 19.3C40.9 133.7 36.5 165 36.5 165S32 201.9 32 238.7v34.5c0 36.8 4.5 73.6 4.5 73.6s4.4 31.4 17.8 45.2c17 18.1 39.4 17.5 49.4 19.4C139.5 414.9 256 416 256 416s94.1-.1 156.8-4.7c8.8-1.1 27.9-1.2 44.9-19.3 13.4-13.8 17.8-45.2 17.8-45.2s4.5-36.8 4.5-73.6v-34.5c0-36.8-4.5-73.7-4.5-73.7zM192 336V176l144 80-144 80z" />',viewBox:"0 0 512 512"},zoomActualSizeIcon:{name:"zoom-actual-size",content:'<path d="M0 32v128L128 32H0zm384 0 128 128V32H384zm-260.6 96c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4H123.4zM384 160v160l-48-64-48 64-80-96-80 96V160h256zm-96 32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM0 352v128h128L0 352zm512 0L384 480h128V352z" />',viewBox:"0 0 512 512"},zoomBestFitIcon:{name:"zoom-best-fit",content:'<path d="M388.6 128H123.4c-15.1 0-27.4 12.3-27.4 27.4v201.2c0 15.1 12.3 27.4 27.4 27.4h265.2c15.1 0 27.4-12.3 27.4-27.4V155.4c0-15.1-12.3-27.4-27.4-27.4zM384 320l-48-64-48 64-80-96-80 96V160h256v160zM0 160l96 96-96 96V160zm160 320 96-96 96 96H160zM352 32l-96 96-96-96h192zm160 128v192l-96-96 96-96zm-256 64c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32z" />',viewBox:"0 0 512 512"},zoomInIcon:{name:"zoom-in",content:'<path d="M288 224h-64v64h-64v-64H96v-64h64V96h64v64h64v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"},zoomOutIcon:{name:"zoom-out",content:'<path d="M288 224H96v-64h192v64zm192 210.7L434.7 480 320 365.3v-22.7l-26.7-26.7C265.7 338.5 230.4 352 192 352c-88.4 0-160-71.6-160-160S103.6 32 192 32s160 71.6 160 160c0 38.4-13.5 73.7-36.1 101.3l26.7 26.7h22.7L480 434.7zM192 320c70.7 0 128-57.3 128-128S262.7 64 192 64 64 121.3 64 192s57.3 128 128 128z" />',viewBox:"0 0 512 512"}});return function(v,c){var e=window.kendo,n=e.html,t=e.ui.Widget,o=v.extend,z=t.extend({init:function(h,c){var o=this;t.fn.init.call(o,h,c),delete c.name,o._icon=new n.HTMLFontIcon(h,v.extend({},c)),o.element=o.wrapper=o._icon.element,e.notify(o)},options:o({},n.HTMLFontIcon.fn.options,{name:"FontIcon"}),setOptions:function(h){var c=this;t.fn.setOptions.call(c,h),c._icon=new n.HTMLFontIcon(c.element,v.extend({},c.options))}}),m=t.extend({init:function(h,c){var o=this;t.fn.init.call(o,h,c),delete c.name,o._icon=new n.HTMLSvgIcon(h,v.extend({},c)),o.element=o.wrapper=o._icon.element,e.notify(o)},options:o({},n.HTMLSvgIcon.fn.options,{name:"SvgIcon"}),setOptions:function(h){var c=this;t.fn.setOptions.call(c,h),h.icon&&this.element.html(""),c._icon=new n.HTMLSvgIcon(c.element,v.extend({},c.options))}});e.ui.plugin(z),e.ui.plugin(m),e.setDefaults("iconType","svg"),e.ui.svgIcons=h,e.ui.icon=n.renderIcon}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.icons.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.html.base.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.html.base.min","kendo.icons.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.button=e.kendohtml.button||{},e.kendohtml.button.js=n())}(this,(function(){return function(e,n){var t=window.kendo,s=t.html.HTMLBase,i="k-button-icon",o=s.extend({init:function(e,n){var t=this;s.fn.init.call(t,e,n),t.wrapper=t.element.addClass("k-button"),!t.element.attr("type")&&t.options.type&&t.element.attr("type",t.options.type),t._addClasses(),t.iconElement(),t._textElement()},options:{name:"HTMLButton",type:"button",icon:"",iconClass:"",spriteCssClass:"",imageUrl:"",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base",stylingOptions:["size","rounded","fillMode","themeColor"]},iconElement:function(){var n,s,o,l=this,a=l.element,d=l.options,r=d.icon,c=d.iconClass,u=d.spriteCssClass,p=d.imageUrl;(u||p||r||c)&&(o=!0,a.contents().filter((function(){return!(e(this).hasClass("k-sprite")||e(this).hasClass("k-icon")||e(this).hasClass("k-svg-icon")||e(this).hasClass("k-image"))})).each((function(e,n){(1==n.nodeType||3==n.nodeType&&t.trim(n.nodeValue).length>0)&&(o=!1)}))),o&&l.element.addClass("k-icon-button"),p?((s=a.children("img.k-image").first())[0]||(s=e('<img alt="icon" class="k-image" />').prependTo(a)),s.attr("src",p),s.addClass(i)):r||c?((n=a.children("span.k-icon, span.k-svg-icon").first())[0]?t.ui.icon(n,{icon:r,iconClass:c}):n=e(t.ui.icon({icon:r,iconClass:c})).prependTo(a),n.addClass(i)):u&&((n=a.children("span.k-sprite").first())[0]||(n=e('<span class="k-sprite"></span>').prependTo(a)),n.addClass(u+" "+i))},_textElement:function(){this.element.contents().filter((function(){return!(e(this).hasClass(i)||e(this).hasClass("k-sprite")||e(this).hasClass("k-icon")||e(this).hasClass("k-image"))})).each((function(e,n){if(1==n.nodeType||3==n.nodeType&&t.trim(n.nodeValue).length>0){if(3===n.nodeType){var s=document.createElement("span");n.parentNode.insertBefore(s,n),s.appendChild(n),n=s}n.classList.add("k-button-text")}}))}});e.extend(t.html,{renderButton:function(n,t){return(undefined===arguments[0]||e.isPlainObject(arguments[0]))&&(t=n,n=e("<button></button>")),new o(n,t).html()},HTMLButton:o}),t.cssProperties.registerPrefix("HTMLButton","k-button-"),t.cssProperties.registerValues("HTMLButton",[{prop:"fillMode",values:t.cssProperties.fillModeValues.concat(["link"])},{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.button.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendofloatinglabel=e.kendofloatinglabel||{},e.kendofloatinglabel.js=n())}(this,(function(){return function(e,n){var t=window.kendo,o=t.ui.Widget,i=t.ui,l=".kendoFloatingLabel",s="k-empty",d="k-focus",a="k-disabled",r="k-no-click",f="k-readonly",p=o.extend({init:function(i,l){var s=this;o.fn.init.call(s,i,l),l=e.extend(!0,{},l),s.widget=s.options.widget,s.widgetWrapper=s.widget.wrapper[0],s.refresh(),s._editable({readonly:s.options.widget.options.readonly!==n&&s.options.widget.options.readonly,disable:s.options.widget.options.enable!==n&&!s.options.widget.options.enable}),s.widgetWrapper.style.width&&(s.element.css("width",s.widgetWrapper.style.width),s.widgetWrapper.style.width="100%"),s.element.addClass("k-floating-label-container"),t.notify(s)},options:{name:"FloatingLabel",widget:null,useReadOnlyClass:!1,floatCheck:function(e){return!e.element.val()}},readonly:function(e){this._editable({readonly:e===n||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===n||e)})},refresh:function(){var e=this,n=e.element;n.removeClass(s).removeClass(d),e.options.floatCheck({element:e.options.widget.element,floating:e.element})&&n.addClass(s),(document.activeElement===e.options.widget.element[0]||e.options.widget.input&&document.activeElement===e.options.widget.input[0])&&n.addClass(d)},destroy:function(){this.element.off(l),o.fn.destroy.call(this)},_editable:function(e){var n=this,t=n.element,o=e.disable,i=e.readonly;t.off(l),i||o?t.toggleClass(a,o).toggleClass(n.options.useReadOnlyClass?f:r,i):(t.removeClass(a).removeClass(n.options.useReadOnlyClass?f:r),t.on("focusin"+l,n.refresh.bind(n)),t.on("focusout"+l,n.refresh.bind(n)))}});i.plugin(p)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.floatinglabel.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js"),require("kendo.floatinglabel.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.floatinglabel.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendolabel=e.kendolabel||{},e.kendolabel.js=n())}(this,(function(){var e=window.kendo,n=e.jQuery,t=e.ui.Widget,l=e.isFunction,a=t.extend({options:{name:"Label",widget:null},init:function(e,l){var a=this;e=e||n("<label></label>"),t.fn.init.call(a,e,l),l=n.extend(!0,{},l),a.widget=l.widget,l.floating&&a._floatingLabel(),a._label()},destroy:function(){this.floatingLabel&&this.floatingLabel.destroy(),t.fn.destroy.call(this)},_unwrapFloating:function(){var e=this;e.floatingLabel&&(e.floatingLabel.destroy(),e.widget.wrapper.unwrap(e._floatingLabelContainer))},setOptions:function(e){var l=this,a=!1;("string"==typeof e||n.isPlainObject(e)&&!1===e.floating)&&(a=!0),e=n.isPlainObject(e)?e:{content:e},t.fn.setOptions.call(l,e),a&&l.floatingLabel?(l._unwrapFloating(),l.floatingLabel.destroy(),delete l.floatingLabel):!0!==e.floating||l.floatingLabel||(l.element.remove(),l._floatingLabel()),l._label(),l.floatingLabel&&l.floatingLabel.refresh()},_label:function(){var n=this,t=n.widget.element,a=n.options,i=t.attr("id"),o=a.content;l(o)&&(o=o.call(n)),o||(o=""),i||(i=a.name+"_"+e.guid(),t.attr("id",i)),n.element.addClass("k-label k-input-label").attr("for",i).text(o).insertBefore(n.options.beforeElm||n.widget.wrapper)},_floatingLabel:function(){var t=this,l=n.extend({},t.options);delete l.name,(l.floating||!1)&&(t._floatingLabelContainer=t.widget.wrapper.wrap("<span></span>").parent(),t.floatingLabel=new e.ui.FloatingLabel(t._floatingLabelContainer,n.extend({},l)))}});return e.ui.plugin(a),e}));
//# sourceMappingURL=kendo.label.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.popup.js"),require("kendo.icons.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.popup.min","kendo.icons.min","kendo.html.button.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendoactionsheet=t.kendoactionsheet||{},t.kendoactionsheet.js=e())}(this,(function(){return function(t,e){var n=window.kendo,o=n.htmlEncode,i=n.ui.Widget,a=n.ui,s=".kendoActionSheet",c=a.Popup,r=n.keys,l=n.isFunction,p=c.TabKeyTrap,d=t(document.documentElement),u="open",f="close",h="activate",m="deactivate",v=":kendoFocusable:not([tabindex='-1'])",k="k-actionsheet-bottom",_="k-actionsheet-fullscreen",g=".k-actionsheet-item:not(."+b+"),.k-actions .k-button[ref-actionsheet-action-button]:not(."+b+")",b="k-disabled",w="aria-disabled",y="k-hidden",C=n.guid(),T=t.extend,A=n.template,B=/^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,x=function(t){return'<div class="k-text-center k-actionsheet-titlebar" >'+(t.title?'<div class="k-actionsheet-titlebar-group k-hbox"><div id="'+C+'" class="k-actionsheet-title"><div class="k-text-center">'+t.title+"</div>"+(t.subtitle?'<div class="k-actionsheet-subtitle k-text-center">'+(t.subtitle||"")+"</div>":"")+"</div>"+(t.closeButton?'<div class="k-actionsheet-actions">'+n.html.renderButton("<button "+n.attr("ref-actionsheet-close-button")+"></button>",{icon:"x",fillMode:"flat",size:"large"})+"</div>":"")+"</div>":"")+"</div>"},E=function(t){var e=t.disabled,n=t.icon,i=t.text,a=t.description;return'<span role="button" tabindex="0" class="k-actionsheet-item '+(e?b:"")+'"><span class="k-actionsheet-action">'+(n?'<span class="k-icon-wrap">'+n+"</span>":"")+'<span class="k-actionsheet-item-text"><span class="k-actionsheet-item-title">'+o(i)+"</span>"+(a?'<span class="k-actionsheet-item-description">'+o(a)+"</span>":"")+"</span></span></span>"},P={text:"",description:"",iconClass:"",iconSize:0,iconColor:"",click:t.noop,group:"top",disabled:!1},I={text:"",icon:"",iconClass:"",click:t.noop,disabled:!1};var F=i.extend({init:function(t,e){var o=this;e=e||{},i.fn.init.call(o,t,e),e.appendTo&&o.element.appendTo(e.appendTo),o._hasItems=e.items&&e.items.length,o._hasActionButtons=e.actionButtons&&e.actionButtons.length,o._mapItems(),o._mapActionButtons(),o._wrapper(),o._popup(),o._createContent(),o._createHeader(),o._createFooter(),o._applyAria(),o._tabKeyTrap=new p(o.wrapper),o.downEvent=n.applyEventMap("down",n.guid()),o.clickEvent=n.applyEventMap("click",n.guid()),o._mousedownProxy=o._mousedown.bind(o),o._clickProxy=o._click.bind(o),o.wrapper.on("keydown"+s,o,o._keydown.bind(o))},events:[u,f,h,m],options:{name:"ActionSheet",title:"",items:[],popup:null,fullscreen:!1,footerTemplate:null,headerTemplate:null,contentTemplate:null,actionButtons:[],closeButton:!1,adaptive:!1,focusOnActivate:!0},_mapItems:function(){var t=this;t._hasItems&&(t.options.items=t.options.items.map(H))},_mapActionButtons:function(){var t=this;t._hasActionButtons&&(t.options.actionButtons=t.options.actionButtons.map(S))},_wrapper:function(){var e,n=this,o=n.element,i=1==n.options.fullscreen?_:k;o.addClass("k-actionsheet "+i+(n.options.adaptive?" k-adaptive-actionsheet":" k-actionsheet-jq")),n.wrapper=e=o.wrap("<div class='k-actionsheet-container "+y+"'></div>").parent(),e.prepend(t("<div></div>").addClass("k-overlay"))},_applyAria:function(){var t=this,e=t.element,n=t.wrapper.find(".k-actionsheet-title").attr("id");e.attr({role:"dialog","aria-modal":!0,"aria-labelledby":t.options.title?n:null})},_popup:function(){var t=this,e=t.options,o=!!e.adaptive&&{open:{effects:"slideIn:up",transition:!0,duration:200}};e.open=null,e.close=null,e.activate=null,e.deactivate=null,t.popup=new c(t.element,T(e.popup,e,{name:"Popup",isRtl:n.support.isRtl(e.anchor),omitOriginOffsets:!0,appendTo:t.wrapper,modal:!0,animation:o,position:"top center",anchor:e.anchor||t.wrapper})),e.focusOnActivate&&t.popup.bind(h,t._openHandler.bind(t)),t.popup.bind(h,(function(e){t.trigger(h,e)})),t.popup.bind(m,(function(e){t.wrapper.addClass(y),d.off(t.downEvent,t._mousedownProxy),d.off(t.clickEvent,t._clickProxy),t.trigger(m,e)})),t.popup.bind(u,(function(e){t.trigger(u,e)})),t.popup.bind(f,(function(e){var n=t._closeButtonPressed;t._closeButtonPressed=!1,t.trigger(f,T({},e,{closeButton:n}))}))},_createHeader:function(){var t=this.options;(t.title||t.headerTemplate)&&this.element.prepend(A(t.headerTemplate||x)(t))},_items:function(){var t=this;if(t._hasItems){var e=t.options.items.reduce((function(t,e){var n=e.group||"top";return t[n]=t[n]||[],t[n].push(e),t}),new Map),n=e.top,o=e.bottom;t._createItems(n),n&&n.length&&o&&o.length&&t._content.append('<hr class="k-hr" />'),t._createItems(o)}},_createContent:function(){var e=this,n=e.options;e.element.wrapInner(t("<div class='k-actionsheet-content'></div>"));var o=e._content=e.element.find(".k-actionsheet-content");if(e._hasItems)return o.empty(),void e._items();(n.contentTemplate||n.hideOverflowContent)&&o.addClass("!k-overflow-hidden"),n.contentTemplate&&o.html(A(n.contentTemplate)(n))},_createItems:function(e){var o,i,a,s,c,r,l,p,d=this._content,u=t("<div class='k-list-ul' role='group'></div>");if(e&&e.length)for(d.append(u),a=A(E),o=0;o<e.length;o++)i=e[o],l=void 0,p=void 0,p={},c=(r=i).iconClass||r.icon?(l=t(n.html.renderIcon({icon:r.icon,iconClass:r.iconClass+" k-actionsheet-item-icon"})),r.iconColor&&B.test(r.iconColor)?p.color=r.iconColor:r.iconColor&&l.addClass("k-text-"+r.iconColor),r.iconSize&&(p.fontSize=r.iconSize),Object.keys(p).length&&l.css(p),l):"",s=t(a(T({},i,{icon:c&&c.prop("outerHTML")}))),u.append(s),i.click&&s.data("action",i.click)},_createActionButtons:function(){for(var e,o=this.options.actionButtons,i=this._footer,a=0;a<o.length;a++){var s=o[a],c=!0!==s.disabled;e=t(n.html.renderButton("<button ref-actionsheet-action-button>"+(s.text||"")+"</button>",t.extend({size:"large"},s))),i.append(e),e.toggleClass(b,!c),e.attr("disabled",!c),c?e.removeAttr(w):e.attr(w,!c),s.click&&e.data("action",s.click)}},_createFooter:function(){var e,n=this,o=n.options;if(n._hasActionButtons||o.footerTemplate){if((e=n._footer=t("<div class='k-actionsheet-footer'></div>")).insertAfter(n._content),n._hasActionButtons)return e.addClass("k-actions k-actions-stretched k-actions-horizontal"),void n._createActionButtons();o.footerTemplate&&n._footer.append(A(o.footerTemplate)(o))}},destroy:function(){var t=this;t.close(),i.fn.destroy.call(t),t._content=null,t._footer=null,t._header=null,t.element.off(s),t.wrapper.off(s),t.popup.destroy()},open:function(t){var e=this;e.altTarget=t&&t.altTarget,e.wrapper.removeClass(y),e._elementHeight=e._elementHeight||e.element.outerHeight(),e.options.adaptive&&e.wrapper.width("100%"),e.popup.open("auto",0),e.popup.wrapper.find(">.k-child-animation-container").css({bottom:0,width:"100%"}),d.off(e.downEvent,e._mousedownProxy).on(e.downEvent,e._mousedownProxy),d.off(e.clickEvent,e._clickProxy).on(e.clickEvent,e._clickProxy),e._tabKeyTrap.trap()},visible:function(){return this.popup.visible()},toggle:function(){this.visible()?this.close():this.open()},fullscreen:function(t){var e=this;e.element.toggleClass(_,!0===t),e.element.toggleClass(k,!0!==t),e.element.closest(".k-child-animation-container").css({height:t?"100%":"auto"})},close:function(){this.popup.close()},position:t.noop,_focusFirstFocusableElement:function(){var t=this.element.find(v).first();t.length&&t.trigger("focus")},_focusLastFocusableElement:function(){var t=this.element.find(v).last();t.length&&t.trigger("focus")},_openHandler:function(){var t=this;if(t._hasItems){var e=t._content.find(".k-actionsheet-item")[0];e&&e.focus()}else t._focusFirstFocusableElement()},_isActionableButton:function(e){return t(e).closest(g).length>0},_triggerAction:function(e){var n=t(e.target).closest(g).data("action");l(n)&&n(e),e.isDefaultPrevented()||this.close()},_keydown:function(e){var o=this,i=n.keys,a=e.keyCode,s=t(e.target);if(a==i.ESC)e.stopPropagation(),o.close();else if(o._isActionableButton(s)&&j(e))o._triggerAction(e);else if(e.keyCode===n.keys.TAB){var c=this.wrapper.find(v),r=c.first(),l=c.last();e.shiftKey?document.activeElement===r[0]&&(l.trigger("focus"),e.preventDefault()):document.activeElement===l[0]&&(r.trigger("focus"),e.preventDefault())}},_click:function(t){var e=n.eventTarget(t);this._isActionableButton(e)&&this._triggerAction(t)},_mousedown:function(e){var o=this,i=o.element[0],a=n.eventTarget(e);o.altTarget&&o.altTarget.is(t(a))||(!function(e,n){return!(!e||!n)&&(e===n||t.contains(e,n))}(i,a)||t(a).closest("["+n.attr("ref-actionsheet-close-button")+"]",t(i).find("k-actionsheet-titlebar")).length>0)&&(o._closeButtonPressed=!0,o.close())}});function j(t){return t.keyCode==r.ENTER||t.keyCode==r.SPACEBAR}function H(t){return T({},P,t)}function S(t){return T({},I,t)}a.plugin(F)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.actionsheet.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.calendar.js"),require("kendo.popup.js"),require("kendo.dateinput.js"),require("kendo.html.button.js"),require("kendo.label.js"),require("kendo.actionsheet.js")):"function"==typeof define&&define.amd?define(["kendo.calendar.min","kendo.popup.min","kendo.dateinput.min","kendo.html.button.min","kendo.label.min","kendo.actionsheet.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodatepicker=e.kendodatepicker||{},e.kendodatepicker.js=t())}(this,(function(){return function(e,t){var a=window.kendo,n=a.ui,i=a.html,l=a.mediaQuery,o=n.Widget,r=a.parseDate,s=a.keys,u=a.support,d=a.template,p=a._activeElement,c="<div />",m=".kendoDatePicker",_="click"+m,f=u.mouseAndTouchPresent?a.applyEventMap("up",m.slice(1)):_,v="open",h="close",b="change",g="disabled",y="readonly",w="k-focus",k="k-selected",D="k-disabled",I="mouseenter"+m+" mouseleave"+m,x="mousedown"+m,C="navigate",V="id",M="month",A="aria-disabled",L="aria-readonly",T="aria-expanded",S="aria-hidden",P="aria-activedescendant",Q=a.calendar,O=Q.isInRange,F=Q.restrictValue,R=Q.isEqualDatePart,E=e.extend,H=Date;function j(t){var a=t.parseFormats,n=t.format;Q.normalize(t),(a=Array.isArray(a)?a:[a]).length||a.push("yyyy-MM-dd"),-1===e.inArray(n,a)&&a.splice(0,0,t.format),t.parseFormats=a}function z(e){e.preventDefault()}var N=function(t){var i,o=this,r=document.body,s=e(c).attr(S,"true").addClass("k-calendar-container");o.options=t=t||{},i=t.id,o.bigScreenMQL=l("large"),o.smallScreenMQL=l("small"),"auto"==t.adaptiveMode&&o.smallScreenMQL.onChange((function(){o.popup&&a.isFunction(o.popup.fullscreen)&&o.popup.fullscreen(o.smallScreenMQL.mediaQueryList.matches)})),t.omitPopup?s=t.dateDiv:(s.appendTo(r),"auto"!=t.adaptiveMode||o.bigScreenMQL.mediaQueryList.matches?o.popup=new n.Popup(s,E(t.popup,t,{name:"Popup",isRtl:a.support.isRtl(t.anchor)})):o.popup=new n.ActionSheet(s,{adaptive:!0,title:"Set dates",subtitle:"DD / MM / YY",closeButton:!0,focusOnActivate:!1,fullscreen:o.smallScreenMQL.mediaQueryList.matches,popup:E(t.popup,t,{name:"Popup",isRtl:a.support.isRtl(t.anchor)})})),i&&(i+="_dateview",s.attr(V,i),o._dateViewID=i),o.div=s,o.value(t.value)};N.prototype={_calendar:function(){var t,i=this,l=i.calendar,o=i.options;if(!l){var r="auto"!=o.adaptiveMode||this.bigScreenMQL.mediaQueryList.matches?this.options.size:"large";t=e(c).attr(V,a.guid()).appendTo(o.omitPopup?o.dateDiv:i.popup._content||i.popup.element).on(x,z).on(_,"td:has(.k-link)",i._click.bind(i)),i.calendar=l=new n.Calendar(t,{componentType:o.componentType,size:r,messages:o.messages}),i._setOptions(o),t.addClass(a.getValidCssClass("k-calendar-","size",r)),l.navigate(i._value||i._current,o.start),i.value(i._value)}},_setOptions:function(e){this.calendar.setOptions({focusOnNav:!1,change:e.change,culture:e.culture,dates:e.dates,depth:e.depth,footer:e.footer,format:e.format,max:e.max,min:e.min,month:e.month,weekNumber:e.weekNumber,start:e.start,messages:e.messages,disableDates:e.disableDates})},setOptions:function(e){var t=this,a=t.options,n=e.disableDates;n&&(e.disableDates=Q.disabled(n)),t.options=E(a,e,{change:a.change,close:a.close,open:a.open}),t.calendar&&t._setOptions(t.options)},destroy:function(){var e=this;this.popup&&this.popup.destroy(),e.bigScreenMQL&&(e.bigScreenMQL.destroy(),e.bigScreenMQL=null),e.smallScreenMQL&&(e.smallScreenMQL.destroy(),e.smallScreenMQL=null)},open:function(){var e,t=this;t._calendar(),e=t.popup._hovered,t.popup._hovered=!0,t.popup.open(),setTimeout((function(){t.popup._hovered=e}),1)},close:function(){this.popup&&this.popup.close()},min:function(e){this._option("min",e)},max:function(e){this._option("max",e)},toggle:function(){this[this.popup.visible()?h:v]()},move:function(e){var t=this,a=e.keyCode,n=t.calendar,i=e.ctrlKey&&a==s.DOWN||a==s.ENTER,l=!1;if(e.altKey)a==s.DOWN?(t.open(),e.preventDefault(),l=!0):a==s.UP&&(t.close(),e.preventDefault(),l=!0);else if(t.popup&&t.popup.visible()){if(a==s.ESC||i&&n._cell.hasClass(k))return t.close(),e.preventDefault(),!0;a!=s.SPACEBAR&&(t._current=n._move(e)),l=!0}return l},current:function(e){this._current=e,this.calendar&&this.calendar._focus(e)},value:function(e){var t=this,a=t.calendar,n=t.options,i=n.disableDates;i&&i(e)&&(e=null),t._value=e,t._current=new H(+F(e,n.min,n.max)),a&&a.value(e)},_click:function(e){-1!==e.currentTarget.className.indexOf(k)&&(this.calendar.trigger("change"),this.close())},_option:function(e,t){var a=this.calendar;this.options[e]=t,a&&a[e](t)}},N.normalize=j,a.DateView=N;var q=o.extend({init:function(n,i){var s,u=this;o.fn.init.call(u,n,i),n=u.element,(i=u.options).disableDates=a.calendar.disabled(i.disableDates),i.min=r(n.attr("min"))||r(i.min),i.max=r(n.attr("max"))||r(i.max),u.options.readonly=i.readonly!==t?i.readonly:Boolean(u.element.attr("readonly")),u.options.enable=i.enable!==t?i.enable:!Boolean(n.is("[disabled]")||e(n).parents("fieldset").is(":disabled")),j(i),u._initialOptions=E({},i),u._wrapper(),u._createDateView(),u._createDateViewProxy=u._createDateView.bind(u),u.bigScreenMQL=l("large"),"auto"==u.options.adaptiveMode&&u.bigScreenMQL.onChange((function(){u._createDateViewProxy(),u.dateView.value(u._value)})),u._icon();try{n[0].setAttribute("type","text")}catch(e){n[0].type="text"}n.addClass("k-input-inner").attr({role:"combobox","aria-expanded":!1,"aria-haspopup":"grid","aria-controls":u.dateView._dateViewID,autocomplete:"off"}),u._reset(),u._template(),!u.options.enable?u.enable(!1):u.readonly(n.is("[readonly]")),s=r(i.value||u.element.val(),i.parseFormats,i.culture),u._createDateInput(i),u._old=u._update(s||u.element.val()),u._oldText=n.val(),u._applyCssClasses(),i.label&&u._label(),a.notify(u)},events:[v,h,b],options:{name:"DatePicker",value:null,footer:"",format:"",culture:"",parseFormats:[],min:new Date(1900,0,1),max:new Date(2099,11,31),start:M,depth:M,animation:{},month:{},dates:[],disableDates:null,ARIATemplate:function(e){return"Current focused "+e.valueType+" is "+e.text},dateInput:!1,weekNumber:!1,messages:{weekColumnHeader:""},componentType:"classic",adaptiveMode:"none",size:"medium",fillMode:"solid",rounded:"medium",label:null,autoFill:!1},_createDateView:function(){var e,t=this,a=t.options,n=t.element;t.dateView&&(t.dateView.destroy(),t.dateView=null),t.dateView=new N(E({},a,{id:n.attr(V),anchor:t.wrapper,change:function(){t._change(this.value()),t.close()},close:function(a){t.trigger(h)?a.preventDefault():(n.attr(T,!1),e.attr(S,!0),setTimeout((function(){n.removeAttr("aria-activedescendant")})))},open:function(a){var i,l=t.options;t.trigger(v)?a.preventDefault():(t.element.val()!==t._oldText&&(i=r(n.val(),l.parseFormats,l.culture),t.dateView[i?"current":"value"](i)),n.attr(T,!0),e.attr(S,!1),t._updateARIA(i))}})),e=t.dateView.div},setOptions:function(e){var n=this,i=n._value;o.fn.setOptions.call(n,e),(e=n.options).min=r(e.min),e.max=r(e.max),j(e),n._dateIcon.off(m),n._dateIcon.remove(),n.dateView.setOptions(e),n._icon(),n._editable({readonly:e.readonly===t?n.options.readonly:e.readonly,disable:!(e.enable===t?n.options.enable:e.enable)}),n._createDateInput(e),n._dateInput||n.element.val(a.toString(i,e.format,e.culture)),i&&n._updateARIA(i),e.label&&n._inputLabel?n.label.setOptions(e.label):!1===e.label?(n.label._unwrapFloating(),n._inputLabel.remove(),delete n._inputLabel):e.label&&n._label()},_editable:function(e){var t=this,a=t._dateIcon.off(m),n=t.element.off(m),i=t.wrapper.off(m),l=e.readonly,o=e.disable;l||o?(i.addClass(o?D:"").removeClass(o?"":D),n.attr(g,o).attr(y,l).attr(A,o).attr(L,l)):(i.removeClass(D).on(I,t._toggleHover),n&&n.length&&(n[0].removeAttribute(g),n[0].removeAttribute(y)),n.attr(A,!1).attr(L,!1).on("keydown"+m,t._keydown.bind(t)).on("focusout"+m,t._blur.bind(t)).on("focus"+m,(function(){t.wrapper.addClass(w)})),a.on(f,t._click.bind(t)).on(x,z))},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this._dateInput&&this._dateInput._editable({readonly:e===t||e,disable:!1}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this._dateInput&&this._dateInput._editable({readonly:!1,disable:!(e=e===t||e)}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.enable(e=e===t||e)},_label:function(){var t=this,n=t.options,i=e.isPlainObject(n.label)?n.label:{content:n.label};t._dateInput&&(i.floatCheck=function(){return!t.value()&&!t._dateInput._hasDateInput()&&document.activeElement!==t.element[0]&&(t.element.val(""),!0)}),t.label=new a.ui.Label(null,e.extend({},i,{widget:t})),t._inputLabel=t.label.element},destroy:function(){var e=this;e.label&&e.label.destroy(),o.fn.destroy.call(e),e.dateView.calendar&&e._navigateCalendarHandler&&(e.dateView.calendar.unbind(C,e._navigateCalendarHandler),e._navigateCalendarHandler=null),e.dateView.destroy(),e.element.off(m),e._dateIcon.off(m),e._form&&e._form.off("reset",e._resetHandler),e.bigScreenMQL&&e.bigScreenMQL.destroy(),e._createDateViewProxy=null},open:function(){this.dateView.open(),this._navigateCalendar()},close:function(){this.dateView.close()},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},value:function(e){var a=this;if(e===t)return a._value;a._old=a._update(e),null===a._old&&(a._dateInput?a._dateInput.value(a._old):a.element.val("")),a._oldText=a.element.val(),a.label&&a.label.floatingLabel&&a.label.floatingLabel.refresh()},_toggleHover:function(t){e(t.currentTarget).toggleClass("k-hover","mouseenter"===t.type)},_isReset:function(e){var t=this;return t.options.dateInput&&t.options.autoFill&&t._dateInput._emptyMask==e},_blur:function(){var e=this,t=e.element.val();e.close(),t!==e._oldText&&(e.options.autoFill&&!e._isReset(t)&&(e._dateInput.dateInputInstance.autoFill(),t=e.element.val()),e._change(t),t||e.dateView.current(a.calendar.getToday())),e.wrapper.removeClass(w)},_click:function(e){var t=this;t.dateView.toggle(),t._navigateCalendar(),t._focusElement(e.type)},_focusElement:function(e){var t=this.element;u.touch&&(!u.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===p()||t.trigger("focus")},_change:function(e){var t,n=this,i=n.element.val();e=n._update(e);var l=(t=!a.calendar.isEqualDate(n._old,e))&&!n._typing,o=i!==n.element.val();(l||o)&&n.element.trigger(b),t&&(n._old=e,n._oldText=n.element.val(),n.trigger(b)),n._typing=!1},_keydown:function(e){var t=this,a=t.dateView,n=t.element.val(),i=!1;a.popup.visible()||e.keyCode!=s.ENTER||n===t._oldText?(i=a.move(e),t._updateARIA(a._current),i?t._dateInput&&e.stopImmediatePropagation&&e.stopImmediatePropagation():t._typing=!0):t._change(n)},_icon:function(){var t,a=this,n=a.element,l=a.options;(t=n.next("button.k-input-button"))[0]||(t=e(i.renderButton('<button aria-label="select" tabindex="-1" class="k-input-button k-button k-icon-button"></button>',{icon:"calendar",size:l.size,fillMode:l.fillMode,shape:"none",rounded:"none"})).insertAfter(n)),a._dateIcon=t.attr({role:"button"})},_setCalendarAttribute:function(){var e=this;setTimeout((function(){e.element.attr(P,e.dateView.calendar._table.attr(P))}))},_navigateCalendar:function(){var e=this;e._navigateCalendarHandler||(e._navigateCalendarHandler=e._setCalendarAttribute.bind(e)),e.dateView.calendar&&e.dateView.calendar.unbind(C,e._navigateCalendarHandler).bind(C,e._navigateCalendarHandler)},_option:function(e,a){var n=this.options;if(a===t)return n[e];(a=r(a,n.parseFormats,n.culture))&&(n[e]=new H(+a),this.dateView[e](a))},_update:function(e){var t,n=this,i=n.options,l=i.min,o=i.max,s=n._value,u=r(e,i.parseFormats,i.culture),d=null===u&&null===s||u instanceof Date&&s instanceof Date;return i.disableDates(u)&&(u=null,n._old||n.element.val()||(e=null)),+u==+s&&d?((t=a.toString(u,i.format,i.culture))===e||n._dateInput&&!u||n.element.val(null===u?e:t),u):(null!==u&&R(u,l)?u=F(u,l,o):O(u,l,o)||(u=null),n._value=u,n.dateView.value(u),n._dateInput&&u?n._dateInput.value(u||e):n.element.val(a.toString(u||e,i.format,i.culture)),n._updateARIA(u),u)},_wrapper:function(){var e,t=this.element;(e=t.parents(".k-datepicker"))[0]||(e=t.wrap("<span />").parent()),e[0].style.cssText=t[0].style.cssText,t.css({height:t[0].style.height}),this.wrapper=e.addClass("k-datepicker k-input").addClass(t[0].className).removeClass("input-validation-error")},_reset:function(){var t=this,n=t.element,i=n.attr("form"),l=t.options,o=l.disableDates,r=l.parseFormats.length?l.parseFormats:null,s=t._initialOptions.value,u=i?e("#"+i):n.closest("form"),d=n[0].defaultValue;s&&o&&o(s)&&(s=null),d&&a.parseDate(d,r,l.culture)||!s||n.attr("value",a.toString(s,l.format,l.culture)),u[0]&&(t._resetHandler=function(){t.value(s||n[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=u.on("reset",t._resetHandler))},_template:function(){this._ariaTemplate=d(this.options.ARIATemplate).bind(this)},_createDateInput:function(e){this._dateInput&&(this._dateInput.destroy(),this._dateInput=null),e.dateInput&&(this._dateInput=new n.DateInput(this.element,{culture:e.culture,format:e.format,size:e.size,fillMode:e.fillMode,rounded:e.rounded,min:e.min,max:e.max,messages:e.messages.dateInput,autoFill:e.autoFill}))},_updateARIA:function(e){var t=this,a=t.dateView.calendar;t.element&&t.element.length&&t.element[0].removeAttribute(P),a&&t.element.attr(P,a._updateAria(t._ariaTemplate,e))}});a.cssProperties.registerPrefix("DatePicker","k-input-"),a.cssProperties.registerValues("DatePicker",[{prop:"rounded",values:a.cssProperties.roundedValues.concat([["full","full"]])}]),n.plugin(q)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.datepicker.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.calendar.js"),require("kendo.popup.js"),require("kendo.dateinput.js"),require("kendo.html.button.js"),require("kendo.label.js"),require("kendo.actionsheet.js")):"function"==typeof define&&define.amd?define(["kendo.calendar.min","kendo.popup.min","kendo.dateinput.min","kendo.html.button.min","kendo.label.min","kendo.actionsheet.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendotimepicker=e.kendotimepicker||{},e.kendotimepicker.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.keys,a=i.html,o=i.parseDate,s=i.htmlEncode,l=i._activeElement,r=i._extractFormat,u=i.support,c=u.browser,d=i.mediaQuery,p=i.ui,h=p.Widget,m="open",f="close",_="change",g=".kendoTimePicker",v="click"+g,b="disabled",w="readonly",k="li",y="k-focus",T="k-hover",M="mouseenter"+g+" mouseleave"+g,S="mousedown"+g,x=6e4,V=864e5,L="k-selected",C="k-disabled",D="aria-selected",H="aria-expanded",R="aria-hidden",I="aria-disabled",P="aria-readonly",F="aria-activedescendant",Q="id",O=Array.isArray,A=e.extend,z=Date,q=new z,E=function(e){var t=e.mainSize,n=e.messages,a=e.buttonSize;return'<div><div tabindex="0" class="k-timeselector '+t+'"><div class="k-time-header"><span class="k-title"></span>'+i.html.renderButton('<button class="k-time-now" title="Select now" aria-label="Select now">'+s(n.now)+"</button>",{fillMode:"flat",size:a})+'</div><div class="k-time-list-container"><span class="k-time-highlight"></span></div></div>'+B(a,n)+"</div>"},B=function(e,t){return'<div class="k-time-footer k-actions k-actions-stretched k-actions-horizontal">'+i.html.renderButton('<button class="k-time-accept" title="Set time" aria-label="Set time">'+s(t.set)+"</button>",{size:e,themeColor:"primary"})+i.html.renderButton('<button class="k-time-cancel" title="Cancel changes" aria-label="Cancel changes">'+s(t.cancel)+"</button>",{size:e})+"</div>"};q=new Date(q.getFullYear(),q.getMonth(),q.getDate(),0,0,0);var j=function(e){var t=this,n=e.focusTime,a=e.id;t.options=e,t._dates=[],t.bigScreenMQL=d("large"),t.smallScreenMQL=d("small"),"auto"==t.options.adaptiveMode&&t.smallScreenMQL.onChange((function(){t.popup&&i.isFunction(t.popup.fullscreen)&&(t.popup.fullscreen(t.smallScreenMQL.mediaQueryList.matches),t.options.timeView&&"scroll"===t.options.timeView.list&&(t.addTranslate(),t._updateRanges()))})),t._createList(e.timeView&&"scroll"===e.timeView.list),n&&(t._focusTime=new z(q.getFullYear(),q.getMonth(),q.getDate(),n.getHours(),n.getMinutes(),n.getSeconds())),a&&(t._timeViewID=a+"_timeview",t._optionID=a+"_option_selected",t.ul.attr(Q,t._timeViewID)),t._heightHandler=t._height.bind(t),t._popup()};function N(e){return 60*e.getHours()*x+e.getMinutes()*x+1e3*e.getSeconds()+e.getMilliseconds()}function Y(e,t,i){var n,a=N(t),o=N(i);return!e||a==o||(a>(n=N(e))&&(n+=V),o<a&&(o+=V),n>=a&&n<=o)}j.prototype={_createList:function(e){e?this._createScrollList():this._createClassicRenderingList()},_createScrollList:function(){var t="auto"!=this.options.adaptiveMode||this.bigScreenMQL.mediaQueryList.matches?this.options.size||"medium":"large",n=e.extend({},this.options,{mainSize:i.getValidCssClass("k-timeselector-","size",t),buttonSize:t});this.popupContent=e(i.template(E)(n)).on(S,G),this.list=this.popupContent.find(".k-timeselector"),this.ul=this.list.find(".k-time-list-container"),this.list.on("click"+g,".k-time-header button.k-time-now",this._nowClickHandler.bind(this)),this.popupContent.on("click"+g,".k-time-footer button.k-time-cancel",this._cancelClickHandler.bind(this)),this.popupContent.on("click"+g,".k-time-footer button.k-time-accept",this._setClickHandler.bind(this)),this.list.on("mouseover"+g,".k-time-list-wrapper",this._mouseOverHandler.bind(this)),this.list.on("keydown"+g,this._scrollerKeyDownHandler.bind(this))},_scrollerKeyDownHandler:function(t){var a=this,o=t.keyCode,s=e(t.currentTarget).find(".k-time-list-wrapper.k-focus"),l=a.list.find(".k-time-list-wrapper"),r=l.length,u=l.index(s),c=i.support.isRtl(a.wrapper),d=Z(s.find(".k-item:visible").eq(0)),p=s.find(".k-time-container.k-content.k-scrollable");s.length&&(o==n.RIGHT&&!c||o==n.LEFT&&c?u+1<r&&a._focusList(l.eq(u+1)):o==n.LEFT&&!c||o==n.RIGHT&&c?u-1>=0&&a._focusList(l.eq(u-1)):o==n.UP?(p.scrollTop(p.scrollTop()-d),t.preventDefault()):o==n.DOWN?(p.scrollTop(p.scrollTop()+d),t.preventDefault()):o===n.ENTER?a._setClickHandler(t):o===n.ESC&&a._cancelClickHandler(t))},_mouseOverHandler:function(t){this._focusList(e(t.currentTarget))},_focusList:function(e){this.list.find(".k-time-list-wrapper").removeClass(y),e.addClass(y),this.list.trigger("focus"),this._scrollTop=e.find(".k-scrollable").scrollTop()},_createClassicRenderingList:function(){var t=this,n=e('<div class="k-list '+i.getValidCssClass("k-list-","size",t.options.size)+'"><div class="k-list-content"><ul tabindex="-1" role="listbox" aria-hidden="true" unselectable="on" class="k-list-ul"/></div></div>');t.ul=n.find("ul").css({overflow:u.kineticScrollNeeded?"":"auto"}).on(v,k,t._click.bind(t)).on("mouseenter"+g,k,(function(){e(this).addClass(T)})).on("mouseleave"+g,k,(function(){e(this).removeClass(T)})),t.list=e("<div class='k-list-container k-list-scroller' unselectable='on'/>").append(n).on(S,G),t.template=function(e){return'<li tabindex="-1" role="option" class="k-list-item" unselectable="on"><span class="k-list-item-text">'+e+"</span></li>"}},current:function(i){var n=this,a=n.options.active;if(i===t)return n._current;n._current&&(n._current.removeClass(L),n._current&&n._current.length&&(n._current[0].removeAttribute(Q),n._current[0].removeAttribute(D))),i&&(i=e(i).addClass(L).attr(Q,n._optionID).attr(D,!0),n.scroll(i[0])),n._current=i,a&&a(i)},_updateTitle:function(){this.list.find(".k-time-header > .k-title").html(i.toString(this._value,this.options.format,this.options.culture))},applyValue:function(e){if(e){var t,n=J(this.options.format.toLowerCase(),"t"),a=e.getHours(),o=e.getMinutes(),s=e.getSeconds(),l=i.attr("index"),r=this.ul.find("["+l+'="1"]'),u=this.ul.find("["+l+'="2"]'),c=this.ul.find("["+l+'="3"]'),d=this.ul.find("["+l+'="4"]');n&&(a>=12?(t="PM",a>12&&(a-=12)):(t="AM",0===a&&(a=12))),this._internalScroll=!0,r.length&&this._scrollListToPosition(r,a),u.length&&this._scrollListToPosition(u,o),c.length&&this._scrollListToPosition(c,s),d.length&&this._scrollListToPosition(d,t),this._internalScroll=!1}},_scrollListToPosition:function(e,t){var i=e.find('.k-item[data-value="'+X(t)+'"]'),n=Z(i);e.scrollTop(e.find(".k-item:visible").index(i)*n)},close:function(){this.popup&&this.popup.close()},destroy:function(){var e=this;e.ul.off(g),e.list.off(g),e.popupContent&&e.popupContent.off(g),e.popup&&e.popup.destroy(),e.bigScreenMQL&&e.bigScreenMQL.destroy(),e.smallScreenMQL&&e.smallScreenMQL.destroy()},open:function(){var e,t=this;(!t.ul[0].firstChild||t.ul.find("li").length<1)&&t.bind(),t._focusTime&&t.value(t._focusTime),e=t.popup._hovered,t.popup._hovered=!0,t.popup.open(),setTimeout((function(){t.popup._hovered=e}),1),t._current&&t.scroll(t._current[0])},dataBind:function(e){var t,n=this,a=n.options,o=a.format,s=i.toString,l=n.template,r=e.length,u=0,c="";if(!a.timeView||"scroll"!==a.timeView.list){for(;u<r;u++)Y(t=e[u],a.min,a.max)&&(c+=l(s(t,o,a.culture)));n._html(c)}},refresh:function(){var e,t,n,a,o,s=this,l=s.options,r=l.format,u=(n=new z,a=new z(n.getFullYear(),n.getMonth(),n.getDate(),0,0,0),o=new z(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0),-1*(a.getTimezoneOffset()-o.getTimezoneOffset())),c=u<0,d=i.parseDate(s._value),p=U(d||new Date,l.min),h=l.min,m=l.max,f=N(h),_=N(m),g=N((e=l.interval,(t=new Date(2100,0,1)).setMinutes(-e),t)),v=l.interval*x,b=i.toString,w=s.template,k=l.useValueToRender?p:new Date(+l.min),y=new z(k),T="";f==_&&g!==_||f>_&&(_+=V),l.timeView&&"scroll"===l.timeView.list?T=s._createListContent(i.date.splitDateFormat(r),l.interval):s.getDatesInRange(undefined,_,y,m,v,k).forEach((function(e){T+=w(b(e,r,l.culture))})),s._html(T)},_showAllHiddenItems:function(){for(var t,i=this.list.find(".k-time-container"),n=i.length,a=0;a<n;a++)(t=e(i[a])).find(".k-item:hidden").show(),this._updateListBottomOffset(t)},_updateListBottomOffset:function(e){var t=Z(e.find(".k-item:visible").eq(0)),i=e.outerHeight()-t;e.find(".k-scrollable-placeholder").css({height:e.find("ul").height()+i})},_updateHoursRange:function(){var t,n,a=this,o=i.attr("index"),s=this.ul.find("["+o+'="1"]'),l=this._minHours,r=this._maxHours,u=J(this.options.format.toLowerCase(),"t"),c=this._findSelectedValue(this.ul.find("["+o+'="4"]'));s.length&&(u&&c?("AM"===c?(l<12&&(n=!0),r<12&&(t=!0)):"PM"===c&&(l>12&&(n=!0,l-=12),r>12&&(t=!0,r-=12)),s.find(".k-item").each((function(i,o){var s=+(o=e(o)).attr("data-value");a._validateMin&&n&&s<l||a._validateMax&&t&&s>r?o.hide():o.show()}))):s.find(".k-item").each((function(t,i){var n=+(i=e(i)).attr("data-value");a._validateMin&&n<l||a._validateMax&&n>r?i.hide():i.show()})),this._updateListBottomOffset(s))},_updateMinutesRange:function(){var t=this,n=i.attr("index"),a=this.ul.find("["+n+'="2"]'),o=this._minHours,s=this._maxHours,l=this._minMinutes,r=this._maxMinutes,u=+this._findSelectedValue(this.ul.find("["+n+'="1"]')),c=J(this.options.format.toLowerCase(),"t"),d=this._findSelectedValue(this.ul.find("["+n+'="4"]'));c&&"PM"===d&&(u+=12),a.length&&(a.find(".k-item").each((function(i,n){var a=+(n=e(n)).attr("data-value");t._validateMin&&a<l&&o&&u===o||t._validateMax&&a>r&&s&&u===s?n.hide():n.show()})),this._updateListBottomOffset(a))},_updateSecondsRange:function(){var t=this,n=i.attr("index"),a=this.ul.find("["+n+'="3"]'),o=this._minSeconds,s=this._minSeconds,l=this._minMinutes,r=this._maxMinutes,u=+this._findSelectedValue(this.ul.find("["+n+'="2"]'));a.length&&(a.find(".k-item").each((function(i,n){var a=+(n=e(n)).attr("data-value");t._validateMin&&a<o&&l&&u===l||t._validateMax&&a>s&&r&&u===r?n.hide():n.show()})),this._updateListBottomOffset(a))},_updateDesignatorRange:function(){var e=this._minHours,t=this._maxHours,n=i.attr("index"),a=this.ul.find("["+n+'="4"]');a.length&&(this._validateMin&&e>=12?a.find('.k-item[data-value="AM"]').hide():a.find('.k-item[data-value="AM"]').show(),this._validateMax&&t<12?a.find('.k-item[data-value="PM"]').hide():a.find('.k-item[data-value="PM"]').show())},_updateRanges:function(){if(this.options.specifiedRange){this._currentlySelected||(this._currentlySelected=new Date);var e=this.options.endTime?this.options.endTime:this.options.max,t=this.options.startTime?this.options.startTime:this.options.min;if(this.options.validateDate){if(e.getFullYear()===this._currentlySelected.getFullYear()&&e.getMonth()===this._currentlySelected.getMonth()&&e.getDate()===this._currentlySelected.getDate()?this._validateMax=!0:this._validateMax=!1,t.getFullYear()===this._currentlySelected.getFullYear()&&t.getMonth()===this._currentlySelected.getMonth()&&t.getDate()===this._currentlySelected.getDate()?this._validateMin=!0:this._validateMin=!1,!this._validateMax&&!this._validateMin)return void this._showAllHiddenItems()}else this._validateMax=!0,this._validateMin=!0;this._minMinutes=t.getMinutes(),this._maxMinutes=e.getMinutes(),this._minHours=t.getHours(),this._maxHours=e.getHours(),this._minSeconds=t.getSeconds(),this._maxSeconds=e.getSeconds(),this._updateDesignatorRange(),this._updateHoursRange(),this._updateMinutesRange(),this._updateSecondsRange()}},addTranslate:function(){for(var e,t,i,n,a,o=this.ul.find(".k-time-container.k-content.k-scrollable"),s=o.length,l=0;l<s;l++)t=Z((e=o.eq(l)).find(".k-item:visible").eq(0)),n="translateY("+((i=e.outerHeight())-t)/2+"px)",a=i-t,e.find("ul").css({transform:n,"-ms-transform":n}),e.find(".k-scrollable-placeholder").css({height:e.find("ul").height()+a}),e.off(g).on("click"+g,".k-item",this._itemClickHandler.bind(this)).on("scroll"+g,this._listScrollHandler.bind(this))},_nowClickHandler:function(e){e.preventDefault();var t=new Date;this.value(t),this.options.change(i.toString(t,this.options.format,this.options.culture),!0)},_cancelClickHandler:function(e){e.preventDefault(),this.value(this._value),this.popup&&this.popup.close()},_setClickHandler:function(e){e.preventDefault(),this._value=new Date(this._currentlySelected),this.options.change(i.toString(this._currentlySelected,this.options.format,this.options.culture),!0),this.popup&&this.popup.close()},_listScrollHandler:function(t){var i=this,n=Z(e(t.currentTarget).find(".k-item:visible").eq(0));i._internalScroll||(i._scrollingTimeout&&clearTimeout(i._scrollingTimeout),i._scrollingTimeout=setTimeout((function(){t.currentTarget.scrollTop%n>1&&(t.currentTarget.scrollTop+=n-t.currentTarget.scrollTop%n),i._scrollTop=t.currentTarget.scrollTop,i._updateCurrentlySelected(),i._updateRanges()}),100))},_updateCurrentlySelected:function(){var e,n,a,o,s=J(this.options.format.toLowerCase(),"t"),l=i.attr("index"),r=this.ul.find("["+l+'="1"]'),u=this.ul.find("["+l+'="2"]'),c=this.ul.find("["+l+'="3"]'),d=this.ul.find("["+l+'="4"]');this.ul.is(":visible")&&(this._currentlySelected||(this._currentlySelected=this._value?new Date(this._value):new Date),r.length&&(e=+this._findSelectedValue(r)),u.length&&(n=+this._findSelectedValue(u)),c.length&&(a=+this._findSelectedValue(c)),d.length&&(o=this._findSelectedValue(d)),s&&("PM"==o&&24==(e+=12)&&(e=12),"AM"===o&&12===e&&(e=0)),e!==t&&this._currentlySelected.setHours(e),n!==t&&this._currentlySelected.setMinutes(n),a!==t&&this._currentlySelected.setSeconds(a))},_findSelectedValue:function(e){var t,i,n=(t=e.scrollTop(),i=Z(e.find(".k-item:visible").eq(0)),Math.max(Math.round(t/i),0));return e.find(".k-item:visible").eq(n).attr("data-value")},_itemClickHandler:function(t){var i=e(t.originalEvent.currentTarget),n=i.find(".k-item:visible").index(e(t.currentTarget)),a=Z(i.find(".k-item:visible").eq(0));i.scrollTop(n*a)},getDatesInRange:function(e,t,i,n,a,o){for(var s=[];;){if(t&&(N(o)>=t||i.getDate()!=o.getDate())){e=N(o),i<o&&(e+=V),e>t&&(o=new z(+n)),N(o)>0&&s.push(new Date(o));break}if(i.getDate()!=o.getDate())break;if(s.push(new Date(o)),o.setTime(o.getTime()+a),!t&&this.options.maxSet)break}return s},_createListContent:function(e,t){for(var i,n,a=e.length,o="",s=0;s<a;s++)"literal"===(i=e[s]).type||"dayperiod"==i.type?o+=this._literalTemplate(i):(n=this._getValues(i,!0,t),o+=this._itemTemplate(n.values,i,this.options.messages[i.type],n.index));return o},_itemTemplate:function(e,t,n,a){var o="",s=e.length,l=i.attr("index");o+='<div class="k-time-list-wrapper" role="presentation"><span class="k-title">'+(n||t.type)+'</span><div class="k-time-list"><div class="k-time-container k-content k-scrollable" role="presentation" '+l+'="'+a+'"><ul class="k-reset">';for(var r=0;r<s;r++)o+='<li class="k-item" data-value="'+e[r]+'"><span>'+e[r]+"</span></li>";return o+='</ul><div class="k-scrollable-placeholder"></div></div></div></div>'},_getValues:function(t,i,n){var a,o,s=[],l=0,r=0,u=0;for(e.isPlainObject(n)&&(r=n[t.type]||0),"hour"===t.type?(l=t.hour12?1:0,a=1,o=t.hour12?12:23):"minute"===t.type?(a=2,o=59):"second"===t.type&&(a=3,o=59);l<=o;l++)r>0?((0===l||1===l&&"hour"===t.type)&&s.push(i?X(u):u),l%r==0&&u+r<=o&&(u+=r,s.push(i?X(u):u))):s.push(i?X(l):l);return{values:s,index:a}},_literalTemplate:function(e){var t=" tt"===e.pattern||"aa"===e.pattern,i='<div class="k-time-separator">'+(t?":":e.pattern)+"</div>";return t&&(i+=this._itemTemplate(["AM","PM"],e,"AM/PM",4)),i},bind:function(){var e=this,t=e.options.dates;t&&t[0]?e.dataBind(t):(e.refresh(),e.addTranslate(),e._value&&e.applyValue(e._value))},_html:function(e){var t=this;t.options.timeView&&"scroll"===t.options.timeView.list?(e='<span class="k-time-highlight"></span>'+e,t.ul.html(e)):(t.ul[0].innerHTML=e,t.popup.unbind(m,t._heightHandler),t.popup.one(m,t._heightHandler),t.current(null),t.select(t._value))},scroll:function(e){e&&(e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded():function(e,t){function i(e,t){return{start:e,length:t,end:e+t}}function n(e,i){return!1===t||i.start<e.end&&e.start<i.end?Math.min(e.start,Math.max(i.start,e.end-i.length)):(e.start+e.end-i.length)/2}function a(e,t){return{x:e,y:t,translate:function(i,n){return a(e+i,t+n)}}}function o(e,t){for(;e;)t=t.translate(e.offsetLeft,e.offsetTop),e=e.offsetParent;return t}var s,l=o(e,a(0,0)),r=a(e.offsetWidth,e.offsetHeight),u=e.parentNode;for(;u instanceof HTMLElement;)s=o(u,a(u.clientLeft,u.clientTop)),u.scrollLeft=n(i(l.x-s.x,r.x),i(u.scrollLeft,u.clientWidth)),u.scrollTop=n(i(l.y-s.y,r.y),i(u.scrollTop,u.clientHeight)),l=l.translate(-u.scrollLeft,-u.scrollTop),u=u.parentNode}(e))},select:function(t){var n,a=this,o=a.options,s=a._current;t instanceof Date&&(t=i.toString(t,o.format,o.culture)),"string"==typeof t&&(t=s&&s.text()===t?s:(t=e.grep(a.ul[0].childNodes,(function(e){return(e.textContent||e.innerText)==t})))[0]?t:null),n=a._distinctSelection(t),a.current(n)},_distinctSelection:function(t){var i,n,a=this;return t&&t.length>1&&(i=N(a._value),n=e.inArray(i,a._dates),t=a.ul.children()[n]),t},setOptions:function(e){var t=this.options;e.min=o(e.min),e.max=o(e.max),this.options=A(t,e,{active:t.active,change:t.change,close:t.close,open:t.open}),this.bind()},toggle:function(){var e=this;e.popup.visible()?e.close():e.open()},value:function(e){var t=this;t._value=e,t.ul[0].firstChild&&(t.options.timeView&&"scroll"===t.options.timeView.list?t.applyValue(e):t.select(e))},_click:function(t){var i=this,n=e(t.currentTarget),a=n.text(),o=i.options.dates;o&&o.length>0&&(a=o[n.index()]),t.isDefaultPrevented()||(i.select(n),i.options.change(a,!0),i.close())},_height:function(){var e=this,t=e.list,i=t.parent(".k-child-animation-container"),n=i.closest(".k-animation-container"),a=e.options.height,o=t.add(n),s=e.ul[0];s.children.length&&(o.add(i).show(),t.add(i).height(s.scrollHeight>a&&("auto"!=e.options.adaptiveMode||e.bigScreenMQL.mediaQueryList.matches)?a:"auto"),o.hide())},_parse:function(e){var t=this.options,i=N(t.min)!=N(q)?t.min:null,n=N(t.max)!=N(q)?t.max:null,a=this._value||i||n||q;return e instanceof z||(e=o(e,t.parseFormats,t.culture))&&(e=new z(a.getFullYear(),a.getMonth(),a.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())),e},_adjustListWidth:function(){var e,t,n=this.list,a=n[0].style.width,o=this.options.anchor,s=i._outerWidth;!n.data("width")&&a||(t=(e=window.getComputedStyle?window.getComputedStyle(o[0],null):0)?parseFloat(e.width):s(o),e&&(c.mozilla||c.msie)&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),a=t-(s(n)-n.width()),n.css({fontFamily:o.css("font-family"),width:"auto"!=this.options.adaptiveMode||this.bigScreenMQL.mediaQueryList.matches?a:"100%"}).data("width",a))},_popup:function(){var e=this,t=e.list,i=e.options,n=i.anchor;if(this.options.omitPopup)t.appendTo(i.timeDiv);else if("auto"!=i.adaptiveMode||e.bigScreenMQL.mediaQueryList.matches)e.popup=new p.Popup(e.popupContent||t,A(i.popup,{anchor:n,open:i.open,close:i.close,animation:i.animation,isRtl:u.isRtl(i.anchor),activate:function(){e.options.timeView&&"scroll"===e.options.timeView.list&&(e.addTranslate(),e._value?e.applyValue(e._value):e._updateCurrentlySelected(),e._updateRanges(),e._focusList(e.list.find(".k-time-list-wrapper").eq(0)))}}));else{var a=e.popupContent||t;a.appendTo(document.body),e.popup=new p.ActionSheet(a,{adaptive:!0,focusOnActivate:!1,title:"Set time",subtitle:"00/00/00",closeButton:!0,fullscreen:e.smallScreenMQL.mediaQueryList.matches,popup:A(i.popup,{anchor:n,open:i.open,close:i.close,animation:i.animation,isRtl:u.isRtl(i.anchor)}),activate:function(){e.options.timeView&&"scroll"===e.options.timeView.list&&(e.addTranslate(),e._value?e.applyValue(e._value):e._updateCurrentlySelected(),e._updateRanges(),e._focusList(e.list.find(".k-time-list-wrapper").eq(0)))}}),e._updateCurrentlySelected(),e._updateRanges(),a.find(".k-time-footer").appendTo(a)}},move:function(e){var t=this,i=e.keyCode,a=t.ul[0],o=t._current,s=i===n.DOWN;if(i===n.UP||s){if(e.altKey)return void t.toggle(s);(o=s?o?o[0].nextSibling:a.firstChild:o?o[0].previousSibling:a.lastChild)&&t.select(o),t.options.change(t._current.text()),e.preventDefault()}else i!==n.ENTER&&i!==n.TAB&&i!==n.ESC||(e.preventDefault(),o&&t.options.change(o.text(),!0),t.close())}},j.getMilliseconds=N,i.TimeView=j;var W=h.extend({init:function(t,n){var a=this;(n=n||{}).componentType=n.componentType||"classic",e.isPlainObject(n.interval)&&"modern"!==n.componentType&&(n.interval=30),h.fn.init.call(a,t,n),t=a.element,(n=a.options).min=o(t.attr("min"))||o(n.min),n.max=o(t.attr("max"))||o(n.max),+n.max==+q&&+n.min==+q||(this._specifiedRange=!0),K(n),a._initialOptions=A({},n),a._wrapper(),a.options.timeView&&"scroll"===a.options.timeView.list&&(a.options.height=null),a.bigScreenMQL=d("large"),"auto"==a.options.adaptiveMode&&a.bigScreenMQL.onChange((function(){a._createTimeViewProxy(),a._update(a.element.val())})),a._createTimeView(),a._createTimeViewProxy=a._createTimeView.bind(a),a._icon(),a._reset();try{t[0].setAttribute("type","text")}catch(e){t[0].type="text"}if(t.addClass("k-input-inner").attr({role:"combobox","aria-expanded":!1,"aria-controls":a.timeView._timeViewID,autocomplete:"off"}),t.is("[disabled]")||e(a.element).parents("fieldset").is(":disabled")?a.enable(!1):a.readonly(t.is("[readonly]")),n.dateInput){var s=n.min,l=n.max,r=new z;N(s)==N(l)&&(s=new z(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0),l=new z(r.getFullYear(),r.getMonth(),r.getDate(),24,0,0)),a._dateInput=new p.DateInput(t,{culture:n.culture,format:n.format,min:s,max:l,value:n.value,interval:n.interval,size:n.size,fillMode:n.fillMode,rounded:n.rounded,messages:n.messages.dateInput})}a._old=a._update(n.value||a.element.val()),a._oldText=t.val(),a._applyCssClasses(),n.label&&a._label(),i.notify(a)},options:{name:"TimePicker",min:q,max:q,format:"",dates:[],parseFormats:[],focusTime:null,value:null,interval:30,height:200,animation:{},dateInput:!1,messages:{set:"Set",cancel:"Cancel",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond",now:"Now"},adaptiveMode:"none",componentType:"classic",size:"medium",fillMode:"solid",rounded:"medium",label:null},events:[m,f,_],componentTypes:{classic:{timeView:{list:"list"}},modern:{timeView:{list:"scroll"}}},setOptions:function(t){var n=this,a=n._value;e.isPlainObject(t.interval)&&"modern"!==t.componentType&&(t.interval=30),h.fn.setOptions.call(n,t),+(t=n.options).max==+q&&+t.min==+q||(this._specifiedRange=!0),n._arrow.off(g),n._arrow.remove(),K(t),n.timeView.setOptions(t),n._icon(),n._editable(t),a&&n.element.val(i.toString(a,t.format,t.culture)),t.label&&n._inputLabel?n.label.setOptions(t.label):!1===t.label?(n.label._unwrapFloating(),n._inputLabel.remove(),delete n._inputLabel):t.label&&n._label()},dataBind:function(e){O(e)&&this.timeView.dataBind(e)},_editable:function(e){var t=this,i=e.disable,n=e.readonly,a=t._arrow.off(g),o=t.element.off(g),s=t.wrapper.off(g);t._dateInput&&t._dateInput._unbindInput(),n||i?(s.addClass(i?C:"").removeClass(i?"":C),o.attr(b,i).attr(w,n).attr(I,i).attr(P,n)):(s.removeClass(C).on(M,t._toggleHover),o&&o.length&&(o[0].removeAttribute(b),o[0].removeAttribute(w)),o.attr(I,!1).attr(P,!1).on("keydown"+g,t._keydown.bind(t)).on("focusout"+g,t._blur.bind(t)).on("focus"+g,(function(){t.wrapper.addClass(y)})),t._dateInput&&t._dateInput._bindInput(),a.on(v,t._click.bind(t)).on(S,G))},_label:function(){var t=this,n=t.options,a=e.isPlainObject(n.label)?n.label:{content:n.label};t._dateInput&&(a.floatCheck=function(){return!t.value()&&!t._dateInput._hasDateInput()&&document.activeElement!==t.element[0]&&(t.element.val(""),!0)}),t.label=new i.ui.Label(null,e.extend({},a,{widget:t})),t._inputLabel=t.label.element},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.enable(e=e===t||e)},destroy:function(){var e=this;h.fn.destroy.call(e),e.timeView.destroy(),e.element.off(g),e._arrow.off(g),e.wrapper.off(g),e._form&&e._form.off("reset",e._resetHandler),e.label&&e.label.destroy(),e.bigScreenMQL&&e.bigScreenMQL.destroy(),e._createTimeViewProxy=null},close:function(){this.timeView.close()},open:function(){this.timeView.open()},min:function(e){return e&&(this._specifiedRange=!0),this._option("min",e)},max:function(e){return e&&this.timeView?(this._specifiedRange=!0,this.timeView.options.maxSet=!0):this.timeView&&(this.timeView.options.maxSet=!1),this._option("max",e)},value:function(e){var i=this;if(e===t)return i._value;i._old=i._update(e),null===i._old&&i.element.val(""),i._oldText=i.element.val(),i.label&&i.label.floatingLabel&&i.label.floatingLabel.refresh()},_blur:function(){var e=this,t=e.element.val();e.options.timeView&&"scroll"===e.options.timeView.list||e.close(),t!==e._oldText&&e._change(t),e.wrapper.removeClass(y)},_click:function(){var e=this,t=e.element;e.timeView.toggle(),u.touch||t[0]===l()||e.options.timeView&&"scroll"===e.options.timeView.list||t.trigger("focus")},_change:function(e){var t,n=this,a=n.element.val();e=n._update(e);var o=(t=!i.calendar.isEqualDate(n._old,e))&&!n._typing,s=a!==n.element.val();(o||s)&&n.element.trigger(_),t&&(n._old=e,n._oldText=n.element.val(),n.trigger(_)),n._typing=!1},_createTimeView:function(){var e,t,i=this,n=i.options,a=i.element;i.timeView&&(i.timeView.destroy(),i.timeView=null),i.timeView=e=new j(A({},n,{id:a.attr(Q),size:"auto"!=n.adaptiveMode||i.bigScreenMQL.mediaQueryList.matches?n.size:"large",anchor:i.wrapper,format:n.format,change:function(e,t){t?i._change(e):a.val(e),i.timeView._focusTime=null},open:function(n){i.options.timeView&&"scroll"!==i.options.timeView.list?i.timeView._adjustListWidth():i.timeView._updateTitle(),i.trigger(m)?n.preventDefault():(a.attr(H,!0),t.attr(R,!1),e.current()&&a.attr(F,e._optionID))},close:function(e){i.trigger(f)?e.preventDefault():(a.attr(H,!1),t.attr(R,!0),a[0].removeAttribute(F))},active:function(t){a&&a.length&&a[0].removeAttribute(F),t&&a.attr(F,e._optionID)},specifiedRange:i._specifiedRange,maxSet:+n.max!=+q})),t=e.ul,i._ariaLabel(t)},_icon:function(){var t,i=this,n=i.element,o=i.options;(t=n.next("button.k-input-button"))[0]||(t=e(a.renderButton('<button unselectable="on" tabindex="-1" class="k-input-button" aria-label="select"></button>',{icon:"clock",size:o.size,fillMode:o.fillMode,shape:"none",rounded:"none"})).insertAfter(n)),i._arrow=t.attr({role:"button"})},_keydown:function(e){var t=this,i=e.keyCode,a=t.timeView,o=t.element.val();a.popup.visible()||e.altKey?(a.move(e),t._dateInput&&e.stopImmediatePropagation&&e.stopImmediatePropagation()):i===n.ENTER&&o!==t._oldText?t._change(o):t._typing=!0},_option:function(e,i){var n=this,a=n.options;if(i===t)return a[e];(i=n.timeView._parse(i))&&(i=new z(+i),a[e]=i,n.timeView.options[e]=i,n.timeView.bind())},_toggleHover:function(t){e(t.currentTarget).toggleClass(T,"mouseenter"===t.type)},_update:function(e){var t=this,n=t.options,a=t.timeView,o=a._parse(e);return Y(o,n.min,n.max)||(o=null),t._value=o,t._currentlySelected=o,t._dateInput&&o?t._dateInput.value(o||e):t.element.val(i.toString(o||e,n.format,n.culture)),a.value(o),o},_wrapper:function(){var e,t=this.element;(e=t.parents(".k-timepicker"))[0]||(e=t.wrap("<span></span>").parent()),e[0].style.cssText=t[0].style.cssText,this.wrapper=e.addClass("k-timepicker k-input").addClass(t[0].className),t.css({height:t[0].style.height})},_reset:function(){var t=this,i=t.element,n=i.attr("form"),a=n?e("#"+n):i.closest("form");a[0]&&(t._resetHandler=function(){t.value(i[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=a.on("reset",t._resetHandler))}});function K(e){var t=e.parseFormats;e.format=r(e.format||i.getCulture(e.culture).calendars.standard.patterns.t),(t=O(t)?t:[t]).splice(0,0,e.format),e.parseFormats=t}function G(e){e.preventDefault()}function U(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function J(e,t){var i=!1;return-1!==e.indexOf(t)&&(i=!0),i}function X(e,t){for(var i=String(e);i.length<(t||2);)i="0"+i;return i}function Z(e){return e.length&&e[0].getBoundingClientRect().height}i.cssProperties.registerPrefix("TimePicker","k-input-"),i.cssProperties.registerValues("TimePicker",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}]),p.plugin(W)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.timepicker.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.datepicker.js"),require("kendo.timepicker.js"),require("kendo.html.button.js"),require("kendo.label.js"),require("kendo.actionsheet.js")):"function"==typeof define&&define.amd?define(["kendo.datepicker.min","kendo.timepicker.min","kendo.html.button.min","kendo.label.min","kendo.actionsheet.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodatetimepicker=e.kendodatetimepicker||{},e.kendodatetimepicker.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.TimeView,a=i.html,o=i.parseDate,l=i.support,s=i.mediaQuery,r=i._activeElement,u=i._extractFormat,d=i.calendar,p=d.isInRange,m=d.restrictValue,c=d.isEqualDatePart,g=n.getMilliseconds,f=i.ui,_=f.Widget,h="open",v="close",w="change",b=".kendoDateTimePicker",k="click"+b,V=l.mouseAndTouchPresent?i.applyEventMap("up",b.slice(1)):k,y="disabled",T="readonly",x="k-focus",D="k-disabled",I="mouseenter"+b+" mouseleave"+b,M="mousedown"+b,C="month",S="aria-activedescendant",P="aria-expanded",A="aria-hidden",L="aria-disabled",F="aria-readonly",R=Date,Q=new R(1800,0,1),z=new R(2099,11,31),O={view:"date"},H={view:"time"},E=e.extend,B=function(e){var t=e.buttonSize,n=e.messages;return'<div class="k-date-tab k-datetime-wrap"><div class="k-datetime-buttongroup"><div class="k-button-group k-button-group-stretched">'+i.html.renderButton('<button class="k-selected k-group-start">'+i.htmlEncode(n.date)+"</button>",{size:t})+i.html.renderButton('<button class="k-group-end">'+i.htmlEncode(n.time)+"</button>",{size:t})+'</div></div><div class="k-datetime-selector"><div class="k-datetime-calendar-wrap"></div><div class="k-datetime-time-wrap"></div></div><div class="k-datetime-footer k-actions-stretched k-actions">'+i.html.renderButton('<button class="k-time-accept" title="Set" aria-label="Set">'+i.htmlEncode(n.set)+"</button>",{size:t,themeColor:"primary"})+i.html.renderButton('<button class="k-time-cancel" title="Cancel" aria-label="Cancel">'+i.htmlEncode(n.cancel)+"</button>",{size:t})+"</div></div>"},j="k-selected",q=_.extend({init:function(t,n){var a,l=this;(n=n||{}).componentType=n.componentType||"classic",_.fn.init.call(l,t,n),t=l.element,(n=l.options).disableDates=i.calendar.disabled(n.disableDates),n.min=o(t.attr("min"))||o(n.min),n.max=o(t.attr("max"))||o(n.max),+n.max==+z&&+n.min==+Q&&+n.startTime==+Q&&n.endTime==+z||(this._specifiedRange=!0),W(n),l._initialOptions=E({},n),l._wrapper(),l.bigScreenMQL=s("large"),"auto"==l.options.adaptiveMode&&l.bigScreenMQL.onChange((function(){l.dateView&&l.dateView.destroy(),l.timeView&&l.timeView.destroy(),n.singlePopup&&l._popup(),l._views()})),l.smallScreenMQL=s("small"),"auto"==l.options.adaptiveMode&&l.smallScreenMQL.onChange((function(){l.popup&&i.isFunction(l.popup.fullscreen)&&(l.popup.fullscreen(l.smallScreenMQL.mediaQueryList.matches),l.options.timeView&&"scroll"===l.options.timeView.list&&(l.timeView.addTranslate(),l.timeView._updateRanges()))})),n.singlePopup&&l._popup(),l._views(),l._icons(),l._reset(),l._template();try{t[0].setAttribute("type","text")}catch(e){t[0].type="text"}t.addClass("k-input-inner").attr({role:"combobox","aria-expanded":!1,"aria-haspopup":"dialog","aria-controls":l.dateView._dateViewID+" "+l.timeView._timeViewID,autocomplete:"off"}),l._midnight=l._calculateMidnight(n.min,n.max),t.is("[disabled]")||e(l.element).parents("fieldset").is(":disabled")?l.enable(!1):l.readonly(t.is("[readonly]")),a=o(n.value||l.element.val(),n.parseFormats,n.culture),l._createDateInput(n),l._old=l._update(a||l.element.val()),l._oldText=t.val(),l._applyCssClasses(),n.label&&l._label(),i.notify(l)},options:{name:"DateTimePicker",value:null,format:"",timeFormat:"",culture:"",parseFormats:[],dates:[],disableDates:null,startTime:null,endTime:null,min:new R(Q),max:new R(z),interval:30,height:200,footer:"",start:C,depth:C,animation:{},month:{},ARIATemplate:function(e){return"Current focused "+e.valueType+" is "+e.text},dateButtonText:"Open the date view",timeButtonText:"Open the time view",dateInput:!1,weekNumber:!1,messages:{set:"Set",cancel:"Cancel",hour:"hour",minute:"minute",second:"second",millisecond:"millisecond",now:"Now",date:"Date",time:"Time",today:"Today",weekColumnHeader:""},adaptiveMode:"none",componentType:"classic",size:"medium",fillMode:"solid",rounded:"medium",label:null},events:[h,v,w],componentTypes:{classic:{singlePopup:!1,timeView:{list:"list"}},modern:{singlePopup:!0,timeView:{list:"scroll"}}},setOptions:function(e){var t,n,a,l=this,s=l._value;_.fn.setOptions.call(l,e),(e=l.options).min=t=o(e.min),e.max=n=o(e.max),W(e),l._midnight=l._calculateMidnight(e.min,e.max),a=e.value||l._value||l.dateView._current,t&&!c(t,a)&&(t=new R(Q)),n&&!c(n,a)&&(n=new R(z)),l._dateIcon.off(b),l._dateIcon.remove(),l._timeIcon.off(b),l._timeIcon.remove(),l.dateView.setOptions(e),l.timeView.setOptions(E({},e,{format:e.timeFormat,min:t,max:n})),l._icons(),l._editable(e),l._createDateInput(e),l._dateInput||l.element.val(i.toString(s,e.format,e.culture)),s&&l._updateARIA(s),e.label&&l._inputLabel?l.label.setOptions(e.label):!1===e.label?(l.label._unwrapFloating(),l._inputLabel.remove(),delete l._inputLabel):e.label&&l._label()},_editable:function(e){var t=this,n=t.element.off(b),a=t._dateIcon.off(b),o=t._timeIcon.off(b),l=t.wrapper.off(b),s=e.readonly,r=e.disable;s||r?(l.addClass(r?D:"").removeClass(r?"":D),n.attr(y,r).attr(T,s).attr(L,r).attr(F,s)):(l.removeClass(D).on(I,t._toggleHover),n&&n.length&&(n[0].removeAttribute(y),n[0].removeAttribute(T,!1),n[0].removeAttribute(L,!1),n[0].removeAttribute(F,!1)),n.on("keydown"+b,t._keydown.bind(t)).on("focus"+b,(function(){t.wrapper.addClass(x)})).on("focusout"+b,(function(){t.wrapper.removeClass(x),n.val()!==t._oldText&&(t._change(n.val()),n.val()||t.dateView.current(i.calendar.getToday())),t.options.singlePopup||(t.close("date"),t.close("time"))})),a.on(M,N).on(V,(function(e){t.toggle("date"),t._focusElement(e.type)})),o.on(M,N).on(V,(function(e){t.toggle("time"),t._focusElement(e.type)})))},_label:function(){var t=this,n=t.options,a=e.isPlainObject(n.label)?n.label:{content:n.label};t._dateInput&&(a.floatCheck=function(){return!t.value()&&!t._dateInput._hasDateInput()&&document.activeElement!==t.element[0]&&(t.element.val(""),!0)}),t.label=new i.ui.Label(null,e.extend({},a,{widget:t})),t._inputLabel=t.label.element},_focusElement:function(e){var t=this.element;l.touch&&(!l.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===r()||t.trigger("focus")},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.enable(e=e===t||e)},destroy:function(){var e=this;_.fn.destroy.call(e),e.dateView.destroy(),e.timeView.destroy(),e.label&&e.label.destroy(),e.options.singlePopup&&(e.popup.element.off(b),e.popup.destroy()),e.element.off(b),e._dateIcon.off(b),e._timeIcon.off(b),e.wrapper.off(b),e._form&&e._form.off("reset",e._resetHandler),e.bigScreenMQL&&(e.bigScreenMQL.destroy(),e.bigScreenMQL=null),e.smallScreenMQL&&(e.smallScreenMQL.destroy(),e.smallScreenMQL=null)},close:function(e){var t=this;t.options.singlePopup?t.popup.close():("time"!==e&&(e="date"),t[e+"View"].close()),setTimeout((function(){t.element.removeAttr("aria-activedescendant")}))},open:function(e){var t,i=this;i.options.singlePopup?(i.dateView._calendar(),i.timeView.ul.find("li").length<1&&i.timeView.bind(),t=i.popup._hovered,i.popup._hovered=!0,i.popup.open(),"time"===e?i._switchToTimeView():i._switchToDateView(),this._dateIcon.toggle("time"!==e),this._timeIcon.toggle("time"===e),setTimeout((function(){i.popup._hovered=t}),1)):("time"!==e&&(e="date"),this[e+"View"].open())},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},toggle:function(e){if(this.options.singlePopup)this.popup.visible()?this.close():this.open(e);else{var t="timeView";"time"!==e?e="date":t="dateView",this[e+"View"].toggle(),this[t].close()}},value:function(e){var i=this;if(e===t)return i._value;i._old=i._update(e),null===i._old&&(i._dateInput?i._dateInput.value(i._old):i.element.val("")),i._oldText=i.element.val(),i.label&&i.label.floatingLabel&&i.label.floatingLabel.refresh()},_change:function(e){var t,i=this,n=i.element.val();e=i._update(e);var a=(t=+i._old!=+e)&&!i._typing,o=n!==i.element.val();(a||o)&&i.element.trigger(w),t&&(i._old=e,i._oldText=i.element.val(),i.trigger(w)),i._typing=!1},_option:function(e,i){var n,a,l=this,s=l.options,r=l.timeView,u=r.options,d=l._value||l._old;if(i===t)return s[e];if(i=o(i,s.parseFormats,s.culture),u.maxSet=!1,i){if(s.min.getTime()===s.max.getTime()&&(u.dates=[]),s[e]=new R(i.getTime()),l.dateView[e](i),l._midnight=l._calculateMidnight(s.min,s.max),d&&(n=c(s.min,d),a=c(s.max,d)),n||a){if(u[e]=i,n&&!a&&(u.max=Y(s.interval)),a){if(l._midnight)return void r.dataBind([z]);n||(u.min=Q,u.maxSet=!0)}}else u.max=z,u.min=Q;r.bind()}},_toggleHover:function(t){e(t.currentTarget).toggleClass("k-hover","mouseenter"===t.type)},_update:function(t){var n,a,l,s,r,u=this,d=u.options,g=d.min,f=d.max,_=d.startTime,h=d.endTime,v=d.dates,b=u.timeView,k=u._value,V=o(t,d.parseFormats,d.culture),y=null===V&&null===k||V instanceof Date&&k instanceof Date;return d.disableDates&&d.disableDates(V)&&(V=null,u._old||u.element.val()||(t=null)),+V==+k&&y?((r=i.toString(V,d.format,d.culture))!==t&&(u.element.val(null===V?t:r),t instanceof String&&u.element.trigger(w)),V):(null!==V&&c(V,g)?V=m(V,g,f):p(V,g,f)||(V=null),u._value=V,b.value(V),u.dateView.value(V),V&&(l=u._old,(a=b.options).maxSet=!1,v[0]&&(v=e.grep(v,(function(e){return c(V,e)})))[0]&&(b.dataBind(v),s=!0),s||(c(V,g)&&(a.min=_||g,a.max=h||Y(d.interval),n=!0),c(V,f)&&(u._midnight?(b.dataBind([z]),s=!0):(a.max=h||f,a.maxSet=!0,n||(a.min=Q),n=!0))),!s&&(!l&&n||l&&!c(l,V))&&(n||(a.max=h||z,a.min=_||Q),b.bind())),u._dateInput?V&&u._dateInput.value(V):u.element.val(i.toString(V||t,d.format,d.culture)),u._updateARIA(V),V)},_keydown:function(e){var t=this,n=t.dateView,a=t.timeView,o=t.element.val(),l=t.options.singlePopup?t.popup.visible():n.popup.visible(),s=t._dateInput&&e.stopImmediatePropagation;e.altKey&&e.keyCode===i.keys.DOWN?t.toggle(l?"time":"date"):l?(n.move(e),t._updateARIA(n._current),e.keyCode===i.keys.ENTER&&t.toggle("time")):!t.options.singlePopup&&a.popup.visible()?a.move(e):e.keyCode===i.keys.ENTER&&o!==t._oldText?t._change(o):(t._typing=!0,s=!1),s&&e.stopImmediatePropagation()},_timeOption:function(e){var t,i=this,n=i.options,a=n[e],o="startTime"==e?n.min:n.max,l=new R("startTime"==e?Q:z);return a&&(l=new R(a)),a&&o&&(t=new Date(o.getFullYear(),o.getMonth(),o.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()),"startTime"==e?i.options.min=t:i.options.max=t),"modern"===n.componentType&&(l=o),l},_views:function(){var e,t,a,l,s,r,u,d,p,m=this,c=m.element,g=m.options,f=c.attr("id");g.singlePopup&&(g.dateDiv=m.popup.element.find(".k-datetime-calendar-wrap"),u=m.popup.element.find(".k-datetime-time-wrap"),g.omitPopup=d=!0,p=g.timeView),m.dateView=e=new i.DateView(E({},g,{id:f,anchor:m.wrapper,change:function(){var e=m._applyDateValue();g.singlePopup?(m.timeView._currentlySelected||(m.timeView._currentlySelected=new Date),m.timeView._currentlySelected.setFullYear(e.getFullYear()),m.timeView._currentlySelected.setMonth(e.getMonth()),m.timeView._currentlySelected.setDate(e.getDate()),m._switchToTimeView(),m._toggleIcons("time")):(m._change(e),m.close("date"))},close:function(e){m.trigger(v,O)?e.preventDefault():(c.attr(P,!1),a.attr(A,!0))},open:function(e){m.trigger(h,O)?e.preventDefault():(c.val()!==m._oldText&&(r=o(c.val(),g.parseFormats,g.culture),m.dateView[r?"current":"value"](r)),a.attr(A,!1),c.attr(P,!0),m._updateARIA(r))}})),a=e.div,s=g.min.getTime(),m.timeView=t=new n({id:f,adaptiveMode:g.adaptiveMode,value:g.value,size:"auto"!=g.adaptiveMode||m.bigScreenMQL.mediaQueryList.matches?g.size:"large",anchor:m.wrapper,animation:g.animation,format:g.timeFormat,culture:g.culture,height:"modern"===g.componentType?null:g.height,interval:g.interval,startTime:g.startTime,endTime:g.endTime,min:m._timeOption("startTime"),max:m._timeOption("endTime"),dates:s===g.max.getTime()?[new Date(s)]:[],parseFormats:g.parseFormats,validateDate:!g.startTime&&!g.endTime,change:function(t,n){t=m._applyTimeValue(t),n?(m._timeSelected=!0,m._change(t)):(c.val(i.toString(t,g.format,g.culture)),e.value(t),m._updateARIA(t))},close:function(e){m.trigger(v,H)?e.preventDefault():(l.attr(A,!0),c.attr(P,!1))},open:function(e){"modern"!==m.options.componentType?t._adjustListWidth():m.timeView._updateTitle(),m.trigger(h,H)?e.preventDefault():(c.val()!==m._oldText&&(r=o(c.val(),g.parseFormats,g.culture),m.timeView.value(r)),l.attr(A,!1),c.attr(P,!0),t.options.active(t.current()))},active:function(e){c&&c.length&&c[0].removeAttribute(S),e&&c.attr(S,t._optionID)},popup:g.popup,useValueToRender:!0,specifiedRange:m._specifiedRange,omitPopup:d,timeDiv:u,timeView:p,messages:m.options.messages}),l=t.ul},_applyDateValue:function(){var e,t,n=this,a=n.options,o=n.dateView.calendar.value(),l=+o,s=+a.min,r=+a.max;return l!==s&&l!==r||(e=l===s?s:r,(e=new R(n._value||e)).setFullYear(o.getFullYear(),o.getMonth(),o.getDate()),p(e,s,r)&&(o=e)),n._value&&(t=i.date.setHours(new Date(o),n._value),p(t,s,r)&&(o=t)),o},_applyTimeValue:function(e){var t=this.timeView,i=this.options;return(e=t._parse(e))<i.min?(e=new R(+i.min),t.options.min=e):e>i.max&&(e=new R(+i.max),t.options.max=e),e},_icons:function(){var t=this,i=t.element,n=t.options;t.wrapper.find("button.k-input-button")[0]||(t._dateIcon=e(a.renderButton('<button unselectable="on" tabindex="-1" class="k-input-button" aria-label="'+n.dateButtonText+'"></button>',{icon:"calendar",size:n.size,fillMode:n.fillMode,shape:"none",rounded:"none"})).insertAfter(i),t._timeIcon=e(a.renderButton('<button unselectable="on" tabindex="-1" class="k-input-button" aria-label="'+n.timeButtonText+'"></button>',{icon:"clock",size:n.size,fillMode:n.fillMode,shape:"none",rounded:"none"})).insertAfter(t._dateIcon)),n.singlePopup&&t._timeIcon.hide()},_wrapper:function(){var e,t=this.element;(e=t.parents(".k-datetimepicker"))[0]||(e=t.wrap("<span/>").parent()),e[0].style.cssText=t[0].style.cssText,t.css({height:t[0].style.height}),this.wrapper=e.addClass("k-datetimepicker k-input").addClass(t[0].className).removeClass("input-validation-error")},_reset:function(){var t=this,n=t.element,a=n.attr("form"),o=a?e("#"+a):n.closest("form"),l=t.options,s=l.disableDates,r=l.parseFormats.length?l.parseFormats:null,u=t._initialOptions.value,d=n[0].defaultValue;u&&s&&s(u)&&(u=null),d&&i.parseDate(d,r,l.culture)||!u||n.attr("value",i.toString(u,l.format,l.culture)),o[0]&&(t._resetHandler=function(){t.value(u||n[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=o.on("reset",t._resetHandler))},_template:function(){this._ariaTemplate=i.template(this.options.ARIATemplate).bind(this)},_createDateInput:function(e){this._dateInput&&(this._dateInput.destroy(),this._dateInput=null),e.dateInput&&(this._dateInput=new f.DateInput(this.element,{culture:e.culture,format:e.format,size:e.size,fillMode:e.fillMode,rounded:e.rounded,min:e.min,max:e.max,interval:e.interval,messages:e.messages.dateInput}))},_calculateMidnight:function(e,t){return g(e)+g(t)===0},_updateARIA:function(e){var t=this,i=t.dateView.calendar;t.element&&t.element.length&&t.element[0].removeAttribute(S),i&&t.element.attr(S,i._updateAria(t._ariaTemplate,e))},_popup:function(){var t=this,n=t.options,a=e("<div></div>").attr(A,"true").addClass("k-datetime-container k-group k-reset").appendTo(document.body);a.append(i.template(B)(E({},t.options,{buttonSize:"auto"!=n.adaptiveMode||t.bigScreenMQL.mediaQueryList.matches?n.size:"large"}))),t.popup&&(t.popup.destroy(),t.popup.element.remove(),t.popup=null),"auto"!=t.options.adaptiveMode||t.bigScreenMQL.mediaQueryList.matches?t.popup=new f.Popup(a,E(n.popup,n,{name:"Popup",isRtl:i.support.isRtl(t.wrapper),anchor:t.wrapper,activate:function(){t.options.timeView&&"scroll"===t.options.timeView.list&&(t.timeView.addTranslate(),t.timeView.applyValue(t._value),t.timeView._updateRanges())},open:function(e){t.trigger(h,{view:this.element.find(".k-date-tab").length?"date":"time",sender:t})?e.preventDefault():(this.element.attr(A,!1),t.element.attr(P,!0)),t.timeView._updateTitle()},close:function(e){t.trigger(v,{view:this.element.find(".k-date-tab").length?"date":"time",sender:t})?e.preventDefault():(t.element.attr(P,!1),this.element.attr(A,!0))}})):t.popup=new f.ActionSheet(a,{adaptive:!0,title:"Select Date and Time",subtitle:"DD / MM / YY - 00:00:00",closeButton:!0,focusOnActivate:!1,fullscreen:t.smallScreenMQL.mediaQueryList.matches,popup:E(n.popup,n,{name:"Popup",isRtl:i.support.isRtl(t.wrapper),anchor:t.wrapper,activate:function(){t.options.timeView&&"scroll"===t.options.timeView.list&&(t.timeView.addTranslate(),t.timeView.applyValue(t._value),t.timeView._updateRanges())},open:function(e){t.trigger(h,{view:this.element.find(".k-date-tab").length?"date":"time",sender:t})?e.preventDefault():(this.element.attr(A,!1),t.element.attr(P,!0)),t.timeView._updateTitle()},close:function(e){t.trigger(v,{view:this.element.find(".k-date-tab").length?"date":"time",sender:t})?e.preventDefault():(t.element.attr(P,!1),this.element.attr(A,!0))}})}),a.on(k+b,".k-datetime-buttongroup .k-button",t._groupChangeClick.bind(t)),a.on(k+b,".k-datetime-footer button.k-time-cancel",t._cancelClickHandler.bind(t)),a.on(k+b,".k-datetime-footer button.k-time-accept",t._setClickHandler.bind(t))},_groupChangeClick:function(t){N(t),e(t.currentTarget).index()?(this._switchToTimeView(),this._toggleIcons("time")):(this._switchToDateView(),this._toggleIcons("date"))},_switchToDateView:function(){this.popup.element.find(".k-group-start, .k-group-end").removeClass(j).eq(0).addClass(j),this.popup.element.find(".k-datetime-wrap").removeClass("k-time-tab").addClass("k-date-tab")},_switchToTimeView:function(){this.timeView.addTranslate(),this.timeView.applyValue(this._value),this.timeView._updateRanges(),this.popup.element.find(".k-group-start, .k-group-end").removeClass(j).eq(1).addClass(j),this.popup.element.find(".k-datetime-wrap").removeClass("k-date-tab").addClass("k-time-tab")},_toggleIcons:function(e){if(!e)return this._dateIcon.toggle(),void this._timeIcon.toggle();this._dateIcon.toggle("time"!==e),this._timeIcon.toggle("time"===e)},_cancelClickHandler:function(e){N(e),this._value&&(this.value(this._value),this.dateView.value(this._value)),this.popup.close()},_setClickHandler:function(e){N(e);var t,i=this._applyDateValue();i=i||new Date,t=this.timeView._currentlySelected||i,this.timeView._updateCurrentlySelected(),i.setHours(t.getHours()),i.setMinutes(t.getMinutes()),i.setSeconds(t.getSeconds()),i=this._applyTimeValue(i),this._change(i),this.popup.close()}});function Y(e){var t=new Date(2100,0,1);return t.setMinutes(-e),t}function N(e){e.preventDefault()}function W(t){var n,a=i.getCulture(t.culture).calendars.standard.patterns,o=!t.parseFormats.length;t.format=u(t.format||a.g),t.timeFormat=n=u(t.timeFormat||a.t),i.DateView.normalize(t),o&&t.parseFormats.unshift("yyyy-MM-ddTHH:mm:ss"),-1===e.inArray(n,t.parseFormats)&&t.parseFormats.push(n)}i.cssProperties.registerPrefix("DateTimePicker","k-input-"),i.cssProperties.registerValues("DateTimePicker",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}]),f.plugin(q)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.datetimepicker.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js"),require("kendo.floatinglabel.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.floatinglabel.min","kendo.icons.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendotextbox=e.kendotextbox||{},e.kendotextbox.js=n())}(this,(function(){return function(e,n){var t=window.kendo,l=t.ui.Widget,i=t.ui,a=e.isPlainObject,o=".kendoTextBox",s="change",r="disabled",d="readonly",u="k-input-inner",p="input",f="k-focus",c="k-disabled",b="k-no-click",h="aria-disabled",g=l.extend({init:function(i,a){var o=this;l.fn.init.call(o,i,a),a=e.extend(!0,{},a),o.options.value=a.value||o.element.val(),o.options.readonly=a.readonly!==n?a.readonly:Boolean(o.element.attr("readonly")),o.options.enable=a.enable!==n?a.enable:!Boolean(o.element.attr("disabled")),o.options.placeholder=a.placeholder||o.element.attr("placeholder"),o.value(o.options.value),o._wrapper(),o._label(),o._editable({readonly:o.options.readonly,disable:!o.options.enable}),o.element.addClass(u).attr("placeholder",o.options.placeholder).attr("autocomplete","off"),a.icon&&o._icon(),t.notify(o),o._applyCssClasses()},events:[s,p],options:{name:"TextBox",value:"",readonly:!1,enable:!0,placeholder:"",label:null,rounded:"medium",size:"medium",fillMode:"solid",icon:null},value:function(e){var t=this;if(e===n)return t._value;t._value=e,t.element.val(e),t.floatingLabel&&t.floatingLabel.refresh()},readonly:function(e){this._editable({readonly:e===n||e,disable:!1}),this.floatingLabel&&this.floatingLabel.readonly(e===n||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===n||e)}),this.floatingLabel&&this.floatingLabel.enable(e=e===n||e)},focus:function(){this.element[0].focus()},destroy:function(){var e=this;e.floatingLabel&&e.floatingLabel.destroy(),e.element.off(o),e.element[0].style.width="",e.element.removeClass(u),l.fn.destroy.call(e)},setOptions:function(e){this.destroy(),this._inputLabel&&(this._inputLabel.remove(),this._inputLabel=null),this._floatingLabelContainer?(this.floatingLabel.destroy(),this.floatingLabel=null,this.element.unwrap(),this.element.unwrap(),this._floatingLabelContainer=null):this.element.unwrap(),t.deepExtend(this.options,e),this.init(this.element,this.options)},_editable:function(e){var n=this,t=n.element,l=n.wrapper,i=e.disable,a=e.readonly;t.off(o),a||i?(t.attr(r,i).attr(d,a).attr(h,i),l.toggleClass(c,i).toggleClass(b,a)):(t.prop(r,!1).prop(d,!1).attr(h,!1),l.removeClass(c).removeClass(b),t.on("focusin"+o,n._focusin.bind(n)),t.on("focusout"+o,n._focusout.bind(n)),t.on("change"+o,n._change.bind(n)),t.on(p+o,n._input.bind(n)))},_icon:function(){this.wrapper.prepend(t.ui.icon({icon:this.options.icon,iconClass:"k-input-icon"}))},_input:function(e){var n=this.element.val();this.trigger(p,{value:n,originalEvent:e})},_label:function(){var n,l,i=this,o=i.element,s=i.options,r=o.attr("id");null!==s.label&&(n=!!a(s.label)&&s.label.floating,l=a(s.label)?s.label.content:s.label,n&&(i._floatingLabelContainer=i.wrapper.wrap("<span></span>").parent(),i.floatingLabel=new t.ui.FloatingLabel(i._floatingLabelContainer,{widget:i})),t.isFunction(l)&&(l=l.call(i)),l||(l=""),r||(r=s.name+"_"+t.guid(),o.attr("id",r)),i._inputLabel=e("<label class='k-label k-input-label' for='"+r+"'>"+l+"</label>'").insertBefore(i.wrapper))},_focusin:function(){this.wrapper.addClass(f)},_focusout:function(){this.wrapper.removeClass(f)},_change:function(e){var n=this,t=n.element.val();n._value=t,n.trigger(s,{value:t,originalEvent:e})},_wrapper:function(){var e,n=this.element,t=n[0];(e=n.wrap("<span class='k-input k-textbox'></span>").parent())[0].style.cssText=t.style.cssText,t.style.width="100%",this.wrapper=e.addClass(t.className).removeClass("input-validation-error")}});t.cssProperties.registerPrefix("TextBox","k-input-"),t.cssProperties.registerValues("TextBox",[{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}]),i.plugin(g)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.textbox.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.popup.js"),require("kendo.textbox.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.popup.min","kendo.textbox.min","kendo.icons.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendodialog=t.kendodialog||{},t.kendodialog.js=e())}(this,(function(){return function(t,e){var n,i=window.kendo,o=i.ui.Widget,r=i.ui.Popup.TabKeyTrap,a=i.template,s=i.keys,l=i.isFunction,c=i.htmlEncode,d="kendoWindow",u=".k-window",p=".k-dialog-close",h=".k-window-content",f="k-scroll",m="k-dialog-titleless",v=".k-dialog-title",_=".k-dialog-titlebar",g=".k-dialog-actions",k=".k-button",w=":visible",b="zIndex",y="body",C="initOpen",x="touchstart",O="touchmove",T="open",S="close",H="show",A="hide",F={small:"k-window-sm",medium:"k-window-md",large:"k-window-lg"},E="hidden",I="overflow",D="original-overflow-rule",R="tap-y",z=Math.ceil,W=":not(link,meta,script,style)";function j(t){return void 0!==t}function M(t,e,n){return Math.max(Math.min(parseInt(t,10),n===1/0?n:parseInt(n,10)),parseInt(e,10))}function N(t){return t.keyCode==s.ENTER||t.keyCode==s.SPACEBAR}var B=o.extend({init:function(t,e){var n=this;o.fn.init.call(n,t,e),n._init(n.element,n.options),i.notify(n),n._showWatermarkOverlay&&n._showWatermarkOverlay(n.wrapper[0])},_init:function(i,o){var a,s=this;s._centerCallback=s._center.bind(s),s.appendTo=t(y),j(o.visible)&&null!==o.visible||(o.visible=i.is(w)),s.wrapperTemplate===e&&(s.wrapperTemplate=n.wrapper),s._createDialog(),a=s.wrapper=i.closest(".k-dialog"),o._defaultFocus===e&&(s._defaultFocus=i[0]),s._tabindex(i),s._dimensions(),this._tabKeyTrap=new r(a),s.options.visible?s._triggerOpen():s.wrapper.hide()},setOptions:function(n){var r=this,a=r.options.size;if(r.wrapper.removeClass(i.getValidCssClass("k-dialog-","themeColor",r.options.themeColor)),n=t.extend(r.options,n),o.fn.setOptions.call(r,n),n.title!==e&&r.title(n.title),n.content&&(i.destroy(r.element.children()),r.element.html(n.content)),n.actions&&(r.wrapper.children(g).remove(),r._createActionbar(r.wrapper)),r.wrapper.show(),r._closable(r.wrapper),r.wrapper.removeClass(F[a]),r._dimensions(),n.visible?r._triggerOpen():r.wrapper.hide(),n.themeColor&&"none"!==n.themeColor&&r.wrapper.addClass(i.getValidCssClass("k-dialog-","themeColor",r.options.themeColor)),void 0!==n.modal){var s=!1!==r.options.visible;r._enableDocumentScrolling(),r._overlay(n.modal&&s)}},_dimensions:function(){for(var t=this.wrapper,e=this.options,n=e.width,i=e.height,o=e.size,r=["minWidth","minHeight","maxWidth","maxHeight"],a=0;a<r.length;a++){var s=e[r[a]];s&&s!=1/0&&t.css(r[a],s)}this._setElementMaxHeight(),n&&(n.toString().indexOf("%")>0?t.width(n):t.outerWidth(M(n,e.minWidth,e.maxWidth))),i&&(i.toString().indexOf("%")>0?t.height(i):t.outerHeight(M(i,e.minHeight,e.maxHeight)),this._setElementHeight()),o&&F[o]&&t.addClass(F[o])},_setElementMaxHeight:function(){var t,e=this,n=e.element,i=e.options.maxHeight;i!=1/0&&(t=parseFloat(i,10)-e._uiHeight())>0&&n.css({maxHeight:z(t)+"px"})},_setElementHeight:function(){var t=this,e=t.element,n=t.wrapper.outerHeight(!0),i=parseFloat(n,10)-t._uiHeight();i<0&&(i=0),e.css({height:z(i)+"px"}),this._applyScrollClassName(e)},_applyScrollClassName:function(t){t.get(0).scrollHeight>t.outerHeight()?t.addClass(f):t.removeClass(f)},_uiHeight:function(){var t=this.wrapper,e=t.children(g),n=e[0]&&e[0].offsetHeight||0,i=t.children(_);return n+(i[0]&&i[0].offsetHeight||0)},_overlay:function(e){var i=this.appendTo.children(".k-overlay"),o=this.wrapper;return i.length||(i=t(n.overlay)),i.insertBefore(o[0]).toggle(e).css(b,parseInt(o.css(b),10)-1),e?this._waiAriaOverlay():this._removeWaiAriaOverlay(),this.options.modal.preventScroll&&this._stopDocumentScrolling(),i},_waiAriaOverlay:function(){var e=this.wrapper;this._overlayedNodes=e.prevAll(W).add(e.nextAll(W)).each((function(){var e=t(this);e.data("ariaHidden",e.attr("aria-hidden")),e.attr("aria-hidden","true")}))},_removeWaiAriaOverlay:function(){return this._overlayedNodes&&this._overlayedNodes.each((function(){var e=t(this),n=e.data("ariaHidden");n?e.attr("aria-hidden",n):e.removeAttr("aria-hidden")}))},_closeClick:function(t){t.preventDefault(),this.close(!1)},_closeKeyHandler:function(t){(N(t)||t.keyCode==s.ESC)&&this.close(!1)},_keydown:function(t){var e=this,n=e.options;t.keyCode==s.ESC&&!e._closing&&n.closable&&e.close(!1)},_createDialog:function(){var e=this,o=e.element,r=e.options,a=i.support.isRtl(o),s=t(n.titlebar(r)),l=(o.id||i.guid())+"_title",c=t(e.wrapperTemplate(r));c.toggleClass("k-rtl",a),o.addClass("k-window-content k-dialog-content"),e.appendTo.append(c),!1!==r.title?(c.append(s),s.attr("id",l),c.attr("aria-labelledby",l)):c.addClass(m),e._closable(c),c.append(o),r.themeColor&&"none"!==r.themeColor&&c.addClass(c.addClass(i.getValidCssClass("k-dialog-","themeColor",r.themeColor))),r.content&&(i.destroy(o.children()),o.html(r.content)),r.actions.length&&e._createActionbar(c)},_closable:function(t){var e=this,i=e.options,o=t.children(_).find(".k-window-titlebar-actions");(o.length?o.find(".k-dialog-close"):t.find(".k-dialog-close")).remove(),!1!==i.closable&&(!1!==i.title&&o.length?o.append(n.close(i)):t.prepend(n.close(i)),t.autoApplyNS(d),e.element.autoApplyNS(d),t.find(p).on("click",e._closeClick.bind(e)).on("keydown",e._closeKeyHandler.bind(e)),e.element.on("keydown",e._keydown.bind(e)))},_createActionbar:function(e){var i="stretched"===this.options.buttonLayout?"stretch":"end",o=t(n.actionbar({buttonLayout:i}));this._addButtons(o),e.append(o)},_addButtons:function(e){for(var i,o,r=this,a=r._actionClick.bind(r),s=r._actionKeyHandler.bind(r),l=r.options.actions,c=l.length,u=0;u<c;u++)i=l[u],o=r._mergeTextWithOptions(i),t(n.action(i)).autoApplyNS(d).html(o).appendTo(e).addClass(i.cssClass).data("action",i.action).on("click",a).on("keydown",s)},_mergeTextWithOptions:function(t){var e=t.text;return e?a(e)(this.options):""},_tabindex:function(t){var e=this.wrapper,n=e.find(p),i=e.find(g+" "+k);o.fn._tabindex.call(this,t);var r=t.attr("tabindex");n.attr("tabIndex",r),i.attr("tabIndex",r)},_actionClick:function(t){this.wrapper.is(w)&&this._runActionBtn(t.currentTarget)},_actionKeyHandler:function(t){N(t)?(t.preventDefault(),this._runActionBtn(t.currentTarget)):t.keyCode==s.ESC&&this.close(!1)},_runActionBtn:function(e){var n=this;if(!n._closing){var i=t(e).data("action");l(i)&&!1===i({sender:n})||n.close(!1)}},_triggerOpen:function(){var t=this,e=t.options,n=t.wrapper;t.toFront(),t._triggerInitOpen(),t.trigger(T),e.modal&&(t._overlay(n.is(w)).css({opacity:.5}),t._focusDialog())},open:function(){var t,e,n=this,o=n.wrapper,r=this._animationOptions(T),a=n.options;if(this._triggerInitOpen(),!n.trigger(T)){if(n._closing&&o.kendoStop(!0,!0),n._closing=!1,n.toFront(),a.visible=!0,a.modal){if(e=!!n._modals().length,(t=n._overlay(e)).kendoStop(!0,!0),r.duration&&i.effects.Fade&&!e){var s=i.fx(t).fadeIn();s.duration(r.duration||0),s.endValue(.5),s.play()}else t.css("opacity",.5);t.show()}o.show().kendoStop().kendoAnimate({effects:r.effects,duration:r.duration,complete:n._openAnimationEnd.bind(n)}),o.show()}return n},_animationOptions:function(t){var e=this.options.animation;return e&&e[t]||{open:{effects:{}},close:{hide:!0,effects:{}}}[t]},_openAnimationEnd:function(){this.options.modal&&this._focusDialog(),this.trigger(H)},_triggerInitOpen:function(){j(this._initOpenTriggered)||(this._initOpenTriggered=!0,this.trigger(C))},toFront:function(){var e=this,n=e.wrapper,i=+n.css(b),o=i;return e.center(),t(u).each((function(e,n){var o=t(n).css(b);isNaN(o)||(i=Math.max(+o,i))})),(!n[0].style.zIndex||o<i)&&n.css(b,i+2),e.element.find("> .k-overlay").remove(),n=null,e},close:function(t){return arguments.length||(t=!0),this._close(t),this._stopCenterOnResize(),this},_close:function(t){var e=this,n=e.wrapper,i=e.options,o=this._animationOptions("open"),r=this._animationOptions("close");if(n.is(w)&&!e.trigger(S,{userTriggered:!t})){if(e._closing)return;e._closing=!0,i.visible=!1,this._removeOverlay(),n.kendoStop().kendoAnimate({effects:r.effects||o.effects,reverse:!0===r.reverse,duration:r.duration,complete:this._closeAnimationEnd.bind(this)})}return e},center:function(){this._center(),this._centerOnResize()},_center:function(){var e=this.wrapper,n=t(window),i=0+Math.max(0,(n.width()-e.width())/2),o=0+Math.max(0,(n.height()-e.height()-parseInt(e.css("paddingTop"),10))/2);return e.css({left:i,top:o}),this},_centerOnResize:function(){this._trackResize||(i.onResize(this._centerCallback),this._trackResize=!0)},_stopCenterOnResize:function(){i.unbindResize(this._centerCallback),this._trackResize=!1},_removeOverlay:function(){var t=this._modals(),e=this.options;e.modal&&!t.length?(this._overlay(!1).remove(),e.modal.preventScroll&&this._enableDocumentScrolling()):t.length&&(this._object(t.last())._overlay(!0),e.modal.preventScroll&&this._stopDocumentScrolling())},_stopDocumentScrolling:function(){var e=this,n=t("body");e._storeOverflowRule(n),n.css(I,E);var o=t("html"),r=o[0];e._storeOverflowRule(o),o.css(I,E),i.support.mobileOS.ios&&(r.addEventListener(x,e._touchStart,{passive:!1}),r.addEventListener(O,e._touchMove,{passive:!1}))},_touchStart:function(e){t(this).data(R,e.changedTouches[0].pageY)},_touchMove:function(e){var n=e.target,i=t(e.target),o=e.changedTouches[0].pageY-t(this).data(R)>0,r=i.is(h)&&o&&0===i.scrollTop()||!o&&i.scrollTop()===n.scrollHeight-n.clientHeight;i.is(h)&&!r||e.preventDefault()},_enableDocumentScrolling:function(){var e=this,n=t(document.body),o=t("html"),r=o[0];e._restoreOverflowRule(n),e._restoreOverflowRule(o),i.support.mobileOS.ios&&(o.removeData(R),r.removeEventListener(x,e._touchStart,{passive:!1}),r.removeEventListener(O,e._touchMove,{passive:!1}))},_storeOverflowRule:function(t){if(!this._isOverflowStored(t)){var e=t.get(0).style.overflow;"string"==typeof e&&t.data(D,e)}},_isOverflowStored:function(t){return"string"==typeof t.data(D)},_restoreOverflowRule:function(t){var n=t.data(D);null!==n&&n!==e?(t.css(I,n),t.removeData(D)):t.css(I,"")},_closeAnimationEnd:function(){var t=this,e=t._previousFocus;if(t._closing=!1,t.wrapper.hide().css("opacity",""),t.trigger(A),t.options.modal){var n=t._object(t._modals().last());n?n.toFront():e&&(t._previousFocus=null,setTimeout((function(){e.focus()})))}},_modals:function(){var e=this,n=t(u).filter((function(){var n=e._object(t(this));return n&&n.options&&n.options.modal&&n.options.visible&&n.options.appendTo===e.options.appendTo&&!n.containment&&t(n.element).is(w)})).sort((function(e,n){return+t(e).css("zIndex")-+t(n).css("zIndex")}));return e=null,n},_object:function(t){var n=t.children(h),o=i.widgetInstance(n);return o||e},destroy:function(){var e=this;e._destroy(),o.fn.destroy.call(e),i.destroy(e.wrapper),e.wrapper.remove(),e.wrapper=e.element=t()},_destroy:function(){var t=this,e="."+d;t.wrapper.off(e),t.element.off(e),t.wrapper.find(p+","+g+" > "+k).off(e),t._stopCenterOnResize()},title:function(e){var i=this,o=i.wrapper,r=i.options,a=o.children(_),s=a.children(v),l=c(e);return arguments.length?(!1===e?(a.remove(),o.addClass(m)):(a.length||(s=(a=t(n.titlebar(r)).prependTo(o)).children(v),o.removeClass(m)),s.html(l)),i.options.title=l,i):s.html()},content:function(t,e){var n=this,o=n.wrapper.children(h);return j(t)?(i.destroy(o.children()),o.html(t),n.options.content=t,n):o.html()},_focusDialog:function(){var t=this._object(this._modals().first());this._previousFocus=t&&t._previousFocus?t._previousFocus:document.activeElement,this._defaultFocus&&this._focus(this._defaultFocus),this._tabKeyTrap.trap()},_focus:function(t){t&&t.focus()},events:[C,T,S,H,A],options:{title:"",buttonLayout:"stretched",themeColor:"",actions:[],modal:!0,size:"auto",width:null,height:null,minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,content:null,visible:null,appendTo:y,closable:!0}}),K=B.extend({options:{name:"Dialog",messages:{close:"Close"}}});i.ui.plugin(K);var L=B.extend({_init:function(t,e){var i=this;i.wrapperTemplate=n.alertWrapper,e._defaultFocus=null,i._ensureContentId(t),B.fn._init.call(i,t,e),i.bind(A,i.destroy.bind(i)),i._ariaDescribedBy(),i._initFocus()},_ensureContentId:function(e){var n=t(e);n.attr("id")||n.attr("id",i.guid()+"_k-popup")},_ariaDescribedBy:function(){this.wrapper.attr("aria-describedby",this.element.attr("id"))},_initFocus:function(){var t=this.options;this._defaultFocus=this._chooseEntryFocus(),this._defaultFocus&&t.visible&&t.modal&&this._focusDialog()},_chooseEntryFocus:function(){return this.wrapper.find(g+" > "+k)[0]},options:{title:window.location.host,closable:!1,messages:{okText:"OK",cancel:"Cancel",promptInput:"Input"}}}),P=L.extend({_init:function(t,e){L.fn._init.call(this,t,e),this.wrapper.addClass("k-alert")},options:{name:"Alert",modal:!0,actions:[{text:function(t){var e=t.messages;return""+c(e.okText)}}]}});i.ui.plugin(P);var q=L.extend({_init:function(e,n){var i=this;L.fn._init.call(i,e,n),i.wrapper.addClass("k-confirm"),i.result=t.Deferred()},options:{name:"Confirm",modal:!0,actions:[{text:function(t){var e=t.messages;return""+c(e.okText)},primary:!0,action:function(t){t.sender.result.resolve()}},{text:function(t){var e=t.messages;return""+c(e.cancel)},action:function(t){t.sender.result.reject()}}]}});i.ui.plugin(q);var V=L.extend({_init:function(e,n){var i=this;L.fn._init.call(i,e,n),i.wrapper.addClass("k-prompt"),i._createPrompt(),i.result=t.Deferred()},_createPrompt:function(){var e=this.options.value,o=t(n.promptInputContainer(this.options)).insertAfter(this.element);this.input=new i.ui.TextBox(o.find("input")),e&&this.input.value(e),this._defaultFocus=this._chooseEntryFocus(),this._focusDialog()},_chooseEntryFocus:function(){return this.wrapper.find(".k-input-inner")[0]},options:{name:"Prompt",modal:!0,value:"",actions:[{text:function(t){var e=t.messages;return""+c(e.okText)},primary:!0,action:function(t){var e=t.sender,n=e.input.value();e.result.resolve(n)}},{text:function(t){var e=t.messages;return""+c(e.cancel)},action:function(t){var e=t.sender.input.value();t.sender.result.reject(e)}}]}});i.ui.plugin(V);n={wrapper:a((function(){return"<div class='k-window k-dialog' role='dialog'></div>"})),action:a((function(t){return"<button type='button' class='k-button k-button-md k-rounded-md k-button-solid "+(t.primary?"k-button-solid-primary":"k-button-solid-base")+"'></button>"})),titlebar:a((function(t){var e=t.title;return"<div class='k-window-titlebar k-dialog-titlebar'><span class='k-window-title k-dialog-title'>"+c(e)+"</span><div class='k-window-titlebar-actions k-dialog-titlebar-actions k-hstack'></div></div>"})),close:a((function(t){var e=t.messages;return'<button class="k-window-titlebar-action k-dialog-titlebar-action k-button k-button-md k-button-flat k-button-flat-base k-rounded-md k-icon-button k-dialog-close" title=\''+c(e.close)+"' aria-label='"+c(e.close)+"' tabindex='-1'>\n                                                    "+i.ui.icon({icon:"x",iconClass:"k-button-icon"})+"\n                                                </button>"})),actionbar:a((function(t){var e=t.buttonLayout;return"<div class='k-dialog-actions k-actions k-hstack k-justify-content-"+c(e)+"'></div>"})),overlay:"<div class='k-overlay'></div>",alertWrapper:a((function(){return"<div class='k-window k-dialog' role='alertdialog'></div>"})),alert:"<div></div>",confirm:"<div></div>",prompt:"<div></div>",promptInputContainer:a((function(t){var e=t.messages;return"<div class='k-prompt-container'><input type='text' title='"+c(e.promptInput)+"' aria-label='"+c(e.promptInput)+"' /></div>"}))},i.alert=function(e){return t(n.alert).kendoAlert({content:e}).data("kendoAlert").open()},i.confirm=function(e){return t(n.confirm).kendoConfirm({content:e}).data("kendoConfirm").open().result},i.prompt=function(e,i){return t(n.prompt).kendoPrompt({content:e,value:i}).data("kendoPrompt").open().result}}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.dialog.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.data.odata.js"),require("kendo.data.xml.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.data.odata.min","kendo.data.xml.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodata=e.kendodata||{},e.kendodata.js=t())}(this,(function(){var e={or:{concat:function(e,t){return function(r){return e(r)||t(r)}},identity:function(){return!1}},and:{concat:function(e,t){return function(r){return e(r)&&t(r)}},identity:function(){return!0}}},t={isnullorempty:function(e){return kendo.isBlank(e)||""===e},isnotnullorempty:function(e){return kendo.isPresent(e)&&""!==e},contains:function(e,t){return(e+"").indexOf(t)>=0},doesnotcontain:function(e,t){return-1===(e+"").indexOf(t)},doesnotendwith:function(e,t){return(e+"").indexOf(t,(e||"").length-(t||"").length)<0},doesnotstartwith:function(e,t){return-1===(e+"").lastIndexOf(t,0)},endswith:function(e,t){return(e+"").indexOf(t,(e||"").length-(t||"").length)>=0},eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},isempty:function(e){return""===e},isnotempty:function(e){return""!==e},isnotnull:function(e){return kendo.isPresent(e)},isnull:function(e){return kendo.isBlank(e)},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},neq:function(e,t){return e!=t},startswith:function(e,t){return 0===(e+"").lastIndexOf(t,0)}},r=/^\/Date\((.*?)\)\/$/,n=function(e){var n=e.field,i=e.ignoreCase,a=e.value,s=e.operator;void 0===s&&(s="eq");var o=e.accentFoldingFiltering;n=kendo.isPresent(n)?n:function(e){return e},i=!kendo.isPresent(i)||i;var u=function(e,t,n,i){if(!kendo.isPresent(t))return e;var a=e;if(kendo.isString(t)){var s=r.exec(t);s?t=new Date(+s[1]):a=function(t){var r=e(t);return"string"==typeof r&&n?i?r.toLocaleLowerCase(i):r.toLowerCase():kendo.isNumeric(r)?r+"":r}}return kendo.isDate(t)?function(e){var t=a(e);return kendo.isDate(t)?t.getTime():t}:a}(kendo.isFunction(n)?n:kendo.getter(n,!0),a,i,o);a=function(e,t,n){if(null!=e&&kendo.isString(e)){var i=r.exec(e);if(i)return new Date(+i[1]).getTime();if(t)return n?e.toLocaleLowerCase(n):e.toLowerCase()}else if(null!=e&&kendo.isDate(e))return e.getTime();return e}(a,i,o);var l=kendo.isFunction(s)?s:t[s];return function(e){return l(u(e),a,i)}},i=function(t){var r=t.accentFoldingFiltering,s=e[t.logic||"and"];return t.filters.filter(kendo.isPresent).map((function(e){return t=e,kendo.isPresent(t.filters)?i(a(e,r)):n(a(e,r));var t})).reduce(s.concat,s.identity)},a=function(e,t){return kendo.isPresent(t)?Object.assign(e,{accentFoldingFiltering:t}):e};return function(e,t){var r,n=e.extend,a=e.isPlainObject,s=e.isEmptyObject,o=Array.isArray,u=e.grep,l=e.ajax,d=e.each,g=e.noop,h=window.kendo,f=h.isFunction,c=h.Observable,p=h.Class,_="string",v="function",m="create",y="read",S="update",b="destroy",k="change",w="sync",P="get",x="error",F="requestStart",C="progress",G="requestEnd",O="itemsLoaded",R="itemLoad",q=[m,y,S,b],D=function(e){return e},I=h.getter,T=h.stringify,z=Math,E=[].push,A=[].join,N=[].pop,M=[].splice,j=[].shift,L=[].slice,B=[].unshift,H={}.toString,U=h.support.stableSort,J=/^\/Date\((.*?)\)\/$/,V=[],Q=c.extend({init:function(e,t){var r=this;r.type=t||X,c.fn.init.call(r),r.length=e.length,r.wrapAll(e,r),r._loadPromises=[],r._loadedNodes=[]},at:function(e){return this[e]},toJSON:function(e){var t,r,n=this.length,i=new Array(n);for(t=0;t<n;t++)(r=this[t])instanceof X&&(r=r.toJSON(e)),i[t]=r;return i},parent:g,wrapAll:function(e,t){var r,n,i=this,a=function(){return i};for(t=t||[],r=0,n=e.length;r<n;r++)t[r]=i.wrap(e[r],a);return t},wrap:function(e,t){var r=this;return null!==e&&"[object Object]"===H.call(e)&&(e instanceof r.type||e instanceof te||(e=e instanceof X?e.toJSON():e,e=new r.type(e)),e.parent=t,e.bind(k,(function(t){var n=e.hasOwnProperty("hasSubgroups");r.trigger(k,{field:t.field,node:t.node,index:t.index,items:t.items||[this],action:t.node||n?t.action||"itemloaded":"itemchange"})})),e.bind(R,(function(e){r._loadPromises.push(e.promise),r._loading=!0,e.promise.done((function(){r._loadedNodes.push(e.node);var t=r._loadPromises.indexOf(e.promise);r._loadPromises.splice(t,1),r._loadPromises.length||(r._loading=!1,r.trigger(O,{collection:r,nodes:r._loadedNodes}),r._loadedNodes=[])}))}))),e},loading:function(){return this._loading},push:function(){var e,t=this.length,r=this.wrapAll(arguments);return e=E.apply(this,r),this.omitChangeEvent||this.trigger(k,{action:"add",index:t,items:r}),e},slice:L,sort:[].sort,join:A,pop:function(){var e=this.length,t=N.apply(this);return e&&this.trigger(k,{action:"remove",index:e-1,items:[t]}),t},splice:function(e,t,r){var n,i,a,s=this.wrapAll(L.call(arguments,2));if((n=M.apply(this,[e,t].concat(s))).length)for(this.omitChangeEvent||(this.trigger(k,{action:"remove",index:e,items:this.omitCache&&this.omitCache.length?n.concat(this.omitCache):n}),this.omitCache=[]),i=0,a=n.length;i<a;i++)n[i]&&n[i].children&&n[i].unbind(k);return r&&(this.omitChangeEvent||this.trigger(k,{action:"add",index:e,items:s})),n},shift:function(){var e=this.length,t=j.apply(this);return e&&this.trigger(k,{action:"remove",index:0,items:[t]}),t},unshift:function(){var e,t=this.wrapAll(arguments);return e=B.apply(this,t),this.trigger(k,{action:"add",index:0,items:t}),e},indexOf:function(e){var t,r;for(t=0,r=this.length;t<r;t++)if(this[t]===e)return t;return-1},forEach:function(e,t){for(var r=0,n=this.length,i=t||window;r<n;r++)e.call(i,this[r],r,this)},map:function(e,t){for(var r=0,n=[],i=this.length,a=t||window;r<i;r++)n[r]=e.call(a,this[r],r,this);return n},reduce:function(e){var t,r=0,n=this.length;for(2==arguments.length?t=arguments[1]:r<n&&(t=this[r++]);r<n;r++)t=e(t,this[r],r,this);return t},reduceRight:function(e){var t,r=this.length-1;for(2==arguments.length?t=arguments[1]:r>0&&(t=this[r--]);r>=0;r--)t=e(t,this[r],r,this);return t},filter:function(e,t){for(var r,n=0,i=[],a=this.length,s=t||window;n<a;n++)r=this[n],e.call(s,r,n,this)&&(i[i.length]=r);return i},find:function(e,t){for(var r,n=0,i=this.length,a=t||window;n<i;n++)if(r=this[n],e.call(a,r,n,this))return r},every:function(e,t){for(var r,n=0,i=this.length,a=t||window;n<i;n++)if(r=this[n],!e.call(a,r,n,this))return!1;return!0},some:function(e,t){for(var r,n=0,i=this.length,a=t||window;n<i;n++)if(r=this[n],e.call(a,r,n,this))return!0;return!1},remove:function(e){var t=this.indexOf(e);-1!==t&&this.splice(t,1)},empty:function(){this.splice(0,this.length)}});"undefined"!=typeof Symbol&&Symbol.iterator&&!Q.prototype[Symbol.iterator]&&(Q.prototype[Symbol.iterator]=[][Symbol.iterator]);var W=Q.extend({init:function(e,t,r){c.fn.init.call(this),this.type=t||X,r&&(this._events=r);for(var n=0;n<e.length;n++)this[n]=e[n];this.length=n,this._parent=function(){return this}.bind(this)},at:function(e){var t=this[e];return t instanceof this.type?t.parent=this._parent:t=this[e]=this.wrap(t,this._parent),t}});function $(e,t,r,n){return function(i){var a,s={};for(a in i)s[a]=i[a];s.field=n?r+"."+i.field:r,t==k&&e._notifyChange&&e._notifyChange(s),e.trigger(t,s)}}function K(e,t){var r,n,i=[],a=[];for(function(e){return"object"==typeof e&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})||Object.getPrototypeOf(e)===Object.getPrototypeOf(new Date)||"object"!=typeof e}(e=e||{})||(a=Object.getOwnPropertyNames(Object.getPrototypeOf(e)).filter((function(e){return 0!==e.indexOf("__")}))),r=Object.getOwnPropertyNames(e).concat(a),n=V.filter((function(e){return r.indexOf(e)<0}));e;)Object.getOwnPropertyNames(e).forEach((function(e){-1===i.indexOf(e)&&(!t||n.indexOf(e)<0)&&i.push(e)})),e=Object.getPrototypeOf(e);return i}V=K({},!1);var X=c.extend({init:function(e){var t,r=this,n=K(e,!0),i=function(){return r};c.fn.init.call(this),this._handlers={},n.forEach((function(n){"object"==typeof(t=e[n])&&t&&!t.getTime&&"_"!=n.charAt(0)&&(t=r.wrap(t,n,i)),r[n]=t})),r.uid=h.guid()},shouldSerialize:function(e,t){return this.hasOwnProperty(e)&&"_handlers"!==e&&"_events"!==e&&(t&&t[e]||typeof this[e]!==v)&&"uid"!==e},forEach:function(e){for(var t in this)this.shouldSerialize(t)&&e(this[t],t)},toJSON:function(e){var t,r,n={};for(r in this)this.shouldSerialize(r,e)&&(((t=this[r])instanceof X||t instanceof Q)&&(t=t.toJSON(e)),n[r]=t);return n},get:function(e){var t=this;return t.trigger(P,{field:e}),"this"===e?t:h.getter(e,!0)(t)},_set:function(e,t){var r=e.indexOf(".")>=0;if(r)for(var n=e.split("."),i="";n.length>1;){i+=n.shift();var a=h.getter(i,!0)(this);if(a instanceof X)return a.set(n.join("."),t),r;i+="."}return h.setter(e)(this,t),r},set:function(e,t){var r=this,n=!1,i=e.indexOf(".")>=0,a=h.getter(e,!0)(r);return a!==t&&(a instanceof c&&this._handlers[e]&&(this._handlers[e].get&&a.unbind(P,this._handlers[e].get),a.unbind(k,this._handlers[e].change)),(n=r.trigger("set",{field:e,value:t}))||(i||(t=r.wrap(t,e,(function(){return r}))),(!r._set(e,t)||e.indexOf("(")>=0||e.indexOf("[")>=0)&&r.trigger(k,{field:e}))),n},parent:g,wrap:function(e,t,r){var n,i,a=this,s=H.call(e);if(null!=e&&("[object Object]"===s||"[object Array]"===s)){var o=e instanceof Q,u=e instanceof Ve;"[object Object]"!==s||u||o?("[object Array]"===s||o||u)&&(o||u||(e=new Q(e)),i=$(a,k,t,!1),e.bind(k,i),a._handlers[t]={change:i}):(e instanceof X||(e=new X(e)),n=$(a,P,t,!0),e.bind(P,n),i=$(a,k,t,!0),e.bind(k,i),a._handlers[t]={get:n,change:i}),e.parent=r}return e}});function Y(e,t){if(e===t)return!0;var r,n=h.type(e);if(n!==h.type(t))return!1;if("date"===n)return e.getTime()===t.getTime();if("object"!==n&&"array"!==n)return!1;for(r in e)if(!Y(e[r],t[r]))return!1;return!0}var Z={number:function(e){return typeof e===_&&"null"===e.toLowerCase()?null:h.parseFloat(e)},date:function(e){return typeof e===_&&"null"===e.toLowerCase()?null:h.parseDate(e)},boolean:function(e){return typeof e===_?"null"===e.toLowerCase()?null:"true"===e.toLowerCase():null!=e?!!e:e},string:function(e){return typeof e===_&&"null"===e.toLowerCase()?null:null!=e?e+"":e},default:function(e){return e}},ee={string:"",number:0,date:new Date,boolean:!1,default:""};var te=X.extend({init:function(r){var n=this;if((!r||e.isEmptyObject(r))&&(r=e.extend({},n.defaults,r),n._initializers))for(var i=0;i<n._initializers.length;i++){var a=n._initializers[i];r[a]=n.defaults[a]()}X.fn.init.call(n,r),n.dirty=!1,n.dirtyFields={},n.idField&&(n.id=n.get(n.idField),n.id===t&&(n.id=n._defaultId))},shouldSerialize:function(e){return X.fn.shouldSerialize.call(this,e)&&"uid"!==e&&!("id"!==this.idField&&"id"===e)&&"dirty"!==e&&"dirtyFields"!==e&&"_accessors"!==e},_parse:function(e,t){var r,n=e,i=this.fields||{};return(e=i[e])||(e=function(e,t){var r,n;for(n in e){if(r=e[n],a(r)&&r.field&&r.field===t)return r;if(r===t)return r}return null}(i,n)),e&&!(r=e.parse)&&e.type&&(r=Z[e.type.toLowerCase()]),r?r(t):t},_notifyChange:function(e){var t=e.action;"add"!=t&&"remove"!=t||(this.dirty=!0,this.dirtyFields[e.field]=!0)},editable:function(e){return!(e=(this.fields||{})[e])||!1!==e.editable},set:function(e,t){var r=this,n=r.dirty;r.editable(e)&&(Y(t=r._parse(e,t),r.get(e))?r.trigger("equalSet",{field:e,value:t}):(r.dirty=!0,r.dirtyFields[e]=!0,X.fn.set.call(r,e,t)&&!n&&(r.dirty=n,r.dirty||(r.dirtyFields[e]=!1))))},accept:function(e){var t,r=this,n=function(){return r};for(t in e){var i=e[t];"_"!=t.charAt(0)&&(i=r.wrap(e[t],t,n)),r._set(t,i)}r.idField&&(r.id=r.get(r.idField)),r.dirty=!1,r.dirtyFields={}},isNew:function(){return this.id===this._defaultId}});te.define=function(r,i){i===t&&(i=r,r=te);var a,s,o,u,l,d,g,h,f=n({defaults:{}},i),c={},p=f.id,v=[];if(p&&(f.idField=p),f.id&&delete f.id,p&&(f.defaults[p]=f._defaultId=""),"[object Array]"===H.call(f.fields)){for(d=0,g=f.fields.length;d<g;d++)typeof(o=f.fields[d])===_?c[o]={}:o.field&&(c[o.field]=o);f.fields=c}for(s in f.fields)u=(o=f.fields[s]).type||"default",l=null,h=s,s=typeof o.field===_?o.field:s,o.nullable||"function"==typeof(l=f.defaults[h!==s?h:s]=o.defaultValue!==t?o.defaultValue:ee[u.toLowerCase()])&&v.push(s),i.id===s&&(f._defaultId=l),f.defaults[h!==s?h:s]=l,e.isPlainObject(o)?o.parse=o.parse||Z[u]:o={parse:Z[u]};return v.length>0&&(f._initializers=v),(a=r.extend(f)).define=function(e){return te.define(a,e)},f.fields&&(a.fields=f.fields,a.idField=f.idField),a};var re={selector:function(e){return f(e)?e:I(e)},compare:function(e){var t=this.selector(e);return function(e,r){return e=t(e),r=t(r),null==e&&null==r?0:null==e?-1:null==r?1:e.localeCompare?e.localeCompare(r):e>r?1:e<r?-1:0}},create:function(e){var t=e.compare||this.compare(e.field);return"desc"==e.dir?function(e,r){return t(r,e,!0)}:t},combine:function(e){return function(t,r){var n,i,a=e[0](t,r);for(n=1,i=e.length;n<i;n++)a=a||e[n](t,r);return a}}},ne=n({},re,{asc:function(e){var t=this.selector(e);return function(e,r){var n=t(e),i=t(r);return n&&n.getTime&&i&&i.getTime&&(n=n.getTime(),i=i.getTime()),n===i?e.__position-r.__position:null==n?-1:null==i?1:n.localeCompare?n.localeCompare(i):n>i?1:-1}},desc:function(e){var t=this.selector(e);return function(e,r){var n=t(e),i=t(r);return n&&n.getTime&&i&&i.getTime&&(n=n.getTime(),i=i.getTime()),n===i?e.__position-r.__position:null==n?1:null==i?-1:i.localeCompare?i.localeCompare(n):n<i?1:-1}},create:function(e){return this[e.dir](e.field)}});r=function(e,t){var r,n=e.length,i=new Array(n);for(r=0;r<n;r++)i[r]=t(e[r],r,e);return i};var ie=function(){function e(e){return"string"==typeof e&&(e=e.replace(/[\r\n]+/g,"")),JSON.stringify(e)}function t(t){return function(r,n,i,a){return n+="",i&&(r="("+r+" + '').toString()"+(a?".toLocaleLowerCase('"+a+"')":".toLowerCase()"),n=a?n.toLocaleLowerCase(a):n.toLowerCase()),t(r,e(n),i)}}function r(t,r,n,i,a){if(null!=n){if(typeof n===_){var s=J.exec(n);s?n=new Date(+s[1]):i?(n=e(a?n.toLocaleLowerCase(a):n.toLowerCase()),r="(("+r+" || '')+'')"+(a?".toLocaleLowerCase('"+a+"')":".toLowerCase()")):n=e(n)}n.getTime&&(r="("+r+"&&"+r+".getTime?"+r+".getTime():"+r+")",n=n.getTime())}return r+" "+t+" "+n}function n(e){for(var t="/^",r=!1,n=0;n<e.length;++n){var i=e.charAt(n);if(r)t+="\\"+i;else{if("~"==i){r=!0;continue}"*"==i?t+=".*":"?"==i?t+=".":".+^$()[]{}|\\/\n\r\u2028\u2029 ".indexOf(i)>=0?t+="\\"+i:t+=i}r=!1}return t+"$/"}return{quote:function(t){return t&&t.getTime?"new Date("+t.getTime()+")":e(t)},eq:function(e,t,n,i){return r("==",e,t,n,i)},neq:function(e,t,n,i){return r("!=",e,t,n,i)},gt:function(e,t,n){return r(">",e,t,n)},gte:function(e,t,n){return r(">=",e,t,n)},lt:function(e,t,n){return r("<",e,t,n)},lte:function(e,t,n){return r("<=",e,t,n)},startswith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == 0"})),doesnotstartwith:t((function(e,t){return e+".lastIndexOf("+t+", 0) == -1"})),endswith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") >= 0"})),doesnotendwith:t((function(e,t){return e+".indexOf("+t+", "+e+".length - "+(t?t.length-2:0)+") < 0"})),contains:t((function(e,t){return e+".indexOf("+t+") >= 0"})),doesnotcontain:t((function(e,t){return e+".indexOf("+t+") == -1"})),matches:t((function(e,t){return n(t=t.substring(1,t.length-1))+".test("+e+")"})),doesnotmatch:t((function(e,t){return"!"+n(t=t.substring(1,t.length-1))+".test("+e+")"})),isempty:function(e){return e+" === ''"},isnotempty:function(e){return e+" !== ''"},isnull:function(e){return"("+e+" == null)"},isnotnull:function(e){return"("+e+" != null)"},isnullorempty:function(e){return"("+e+" === null) || ("+e+" === '')"},isnotnullorempty:function(e){return"("+e+" !== null) && ("+e+" !== '')"}}}();function ae(e){this.data=e||[]}function se(e,r){if(e){var n=typeof e===_?{field:e,dir:r}:e,i=o(n)?n:n!==t?[n]:[];return u(i,(function(e){return!!e.dir}))}}function oe(e,r){var n={};if(e)for(var i=typeof e===_?{field:e,dir:r}:e,a=o(i)?i:i!==t?[i]:[],s=0;s<a.length;s++)n[a[s].field]={dir:a[s].dir,index:s+1};return n}ae.filterExpr=function(e,r){if(void 0===r&&(r={noEval:!1}),r.noEval)return function(e){return i(e)}(e);var n,a,s,o,u,l,d=[],g=[],f=[],c=e.filters;for(n=0,a=c.length;n<a;n++)u=(s=c[n]).field,l=s.operator,s.filters?(s=(o=ae.filterExpr(s)).expression.replace(/__o\[(\d+)\]/g,(function(e,t){return t=+t,"__o["+(f.length+t)+"]"})).replace(/__f\[(\d+)\]/g,(function(e,t){return t=+t,"__f["+(g.length+t)+"]"})),f.push.apply(f,o.operators),g.push.apply(g,o.fields)):(typeof u===v?(o="__f["+g.length+"](d)",g.push(u)):o=h.expr(u),typeof l===v?(s="__o["+f.length+"]("+o+", "+ie.quote(s.value)+")",f.push(l)):s=ie[(l||"eq").toLowerCase()](o,s.value,s.ignoreCase===t||s.ignoreCase,e.accentFoldingFiltering)),d.push(s);return{expression:"("+d.join({and:" && ",or:" || "}[e.logic])+")",fields:g,operators:f}};var ue={"==":"eq",equals:"eq",isequalto:"eq",equalto:"eq",equal:"eq","!=":"neq",ne:"neq",notequals:"neq",isnotequalto:"neq",notequalto:"neq",notequal:"neq","<":"lt",islessthan:"lt",lessthan:"lt",less:"lt","<=":"lte",le:"lte",islessthanorequalto:"lte",lessthanequal:"lte",">":"gt",isgreaterthan:"gt",greaterthan:"gt",greater:"gt",">=":"gte",isgreaterthanorequalto:"gte",greaterthanequal:"gte",ge:"gte",notsubstringof:"doesnotcontain",isnull:"isnull",isempty:"isempty",isnotempty:"isnotempty"};function le(e){var t,r,n,i,a=e.filters;if(a)for(t=0,r=a.length;t<r;t++)(i=(n=a[t]).operator)&&typeof i===_&&(n.operator=ue[i.toLowerCase()]||i),le(n)}function de(e){if(e&&!s(e))return!o(e)&&e.filters||(e={logic:"and",filters:o(e)?e:[e]}),le(e),e}function ge(e,t){return!e.logic&&!t.logic&&(e.field===t.field&&e.value===t.value&&e.operator===t.operator)}function he(e){return s(e=e||{})?{logic:"and",filters:[]}:de(e)}function fe(e,t){return t.logic||e.field>t.field?1:e.field<t.field?-1:0}function ce(e,n,i,a){var s=typeof e===_?{field:e,dir:n,compare:i,skipItemSorting:a}:e,u=o(s)?s:s!==t?[s]:[];return r(u,(function(e){return{field:e.field,dir:e.dir||"asc",aggregates:e.aggregates,compare:e.compare,skipItemSorting:e.skipItemSorting}}))}function pe(e,t,r){for(var n=ce(e,t,r),i=0;i<n.length;i++)delete n[i].compare;return n}function _e(e,t){return e&&e.getTime&&t&&t.getTime?e.getTime()===t.getTime():e===t}function ve(e,t,r,n,i,a){var s,o,u,l=(t=t||[]).length;for(s=0;s<l;s++){u=(o=t[s]).aggregate;var d=o.field;e[d]=e[d]||{},a[d]=a[d]||{},a[d][u]=a[d][u]||{},e[d][u]=me[u.toLowerCase()](e[d][u],r,h.accessor(d),n,i,a[d][u])}}ae.normalizeFilter=de,ae.compareFilters=function e(t,r){if(t=he(t),r=he(r),t.logic!==r.logic)return!1;var n,i,a=(t.filters||[]).slice(),s=(r.filters||[]).slice();if(a.length!==s.length)return!1;a=a.sort(fe),s=s.sort(fe);for(var o=0;o<a.length;o++)if(n=a[o],i=s[o],n.logic&&i.logic){if(!e(n,i))return!1}else if(!ge(n,i))return!1;return!0},ae.prototype={toArray:function(){return this.data},range:function(e,t){return new ae(this.data.slice(e,e+t))},skip:function(e){return new ae(this.data.slice(e))},take:function(e){return new ae(this.data.slice(0,e))},select:function(e){return new ae(r(this.data,e))},order:function(e,t,r){var n={dir:t};return e&&(e.compare?n.compare=e.compare:n.field=e),new ae(r?this.data.sort(re.create(n)):this.data.slice(0).sort(re.create(n)))},orderBy:function(e,t){return this.order(e,"asc",t)},orderByDescending:function(e,t){return this.order(e,"desc",t)},sort:function(e,t,r,n){var i,a,s=se(e,t),o=[];if(r=r||re,s.length){for(i=0,a=s.length;i<a;i++)o.push(r.create(s[i]));return this.orderBy({compare:r.combine(o)},n)}return this},filter:function(e){var t,r=this.data;return(e=de(e))&&0!==e.filters.length?(t=ae.filterExpr(e,{noEval:!0}),new ae(r.filter(t))):this},group:function(e,t,r){e=ce(e||[]),t=t||this.data;var n,i=new ae(this.data),a=function(e,r){return r=r||new ae(t).filter([{field:e.field,operator:"eq",value:e.value,ignoreCase:!1}])};return e.length>0&&(n=e[0],i=r&&r.groupPaging?new ae(t).groupAllData(n,t).select((function(t){var i,s=e.length>1?new ae(t.items).group(e.slice(1),a(t,i).toArray(),r).toArray():t.items;return{field:t.field,value:t.value,hasSubgroups:e.length>1,items:s,aggregates:n.aggregates&&n.aggregates.length?a(t,i).aggregate(n.aggregates):{},uid:h.guid(),itemCount:s.length,subgroupCount:s.length}})):i.groupBy(n).select((function(t){var r;return{field:t.field,value:t.value,items:e.length>1?new ae(t.items).group(e.slice(1),a(t,r).toArray()).toArray():t.items,hasSubgroups:e.length>1,aggregates:n.aggregates&&n.aggregates.length?a(t,r).aggregate(n.aggregates):{}}}))),i},groupBy:function(e){if(s(e)||!this.data.length)return new ae([]);var t,r,n,i,a=e.field,o=e.skipItemSorting?this.data:this._sortForGrouping(a,e.dir||"asc"),u=h.accessor(a),l=u.get(o[0],a),d={field:a,value:l,items:[]},g=[d];for(n=0,i=o.length;n<i;n++)t=o[n],_e(l,r=u.get(t,a))||(d={field:a,value:l=r,items:[]},g.push(d)),d.items.push(t);return new ae(g=this._sortGroups(g,e))},groupAllData:function(e,t){if(s(e)||this.data&&!this.data.length)return new ae([]);var r,n,i,a,o=e.field,u=e.skipItemSorting?t:new ae(t).sort(o,e.dir||"asc",ne).toArray(),l=h.accessor(o),d=l.get(u[0],o),g={field:o,value:d,items:[]},f=[g];for(i=0,a=u.length;i<a;i++)r=u[i],_e(d,n=l.get(r,o))||(g={field:o,value:d=n,items:[]},f.push(g)),g.items.push(r);return new ae(f=this._sortGroups(f,e))},_sortForGrouping:function(e,t){var r,n,i=this.data;if(!U){for(r=0,n=i.length;r<n;r++)i[r].__position=r;for(r=0,n=(i=new ae(i).sort(e,t,ne).toArray()).length;r<n;r++)delete i[r].__position;return i}return this.sort(e,t).toArray()},_sortGroups:function(e,t){var r=e;return t&&f(t.compare)&&(r=new ae(r).order({compare:t.compare},t.dir||"asc").toArray()),r},aggregate:function(e){var t,r,n={},i={};if(e&&e.length)for(t=0,r=this.data.length;t<r;t++)ve(n,e,this.data[t],t,r,i);return n}};var me={sum:function(e,t,r){var n=r.get(t);return ye(e)?ye(n)&&(e+=n):e=n,e},count:function(e){return(e||0)+1},average:function(e,r,n,i,a,s){var o=n.get(r);return s.count===t&&(s.count=0),ye(e)?ye(o)&&(e+=o):e=o,ye(o)&&s.count++,i==a-1&&ye(e)&&(e/=s.count),e},max:function(e,t,r){var n=r.get(t);return ye(e)||Se(e)||(e=n),e<n&&(ye(n)||Se(n))&&(e=n),e},min:function(e,t,r){var n=r.get(t);return ye(e)||Se(e)||(e=n),e>n&&(ye(n)||Se(n))&&(e=n),e}};function ye(e){return"number"==typeof e&&!isNaN(e)}function Se(e){return e&&e.getTime}function be(e){var t,r=e.length,n=new Array(r);for(t=0;t<r;t++)n[t]=e[t].toJSON();return n}ae.normalizeGroup=ce,ae.normalizeSort=se,ae.process=function(e,i,a){var u,l,d=(i=i||{}).group,g=function(e){for(var t=o(e)?e:[e],r=0;r<t.length;r++)if(t[r]&&f(t[r].compare))return!0;return!1}(ce(d||[])),h=new ae(e),c=pe(d||[]),p=se(i.sort||[]),_=g?p:c.concat(p),v=i.filterCallback,m=i.filter,y=i.skip,S=i.take;return _&&a&&(h=h.sort(_,t,t,a)),m&&(h=h.filter(m),v&&(h=v(h)),l=h.toArray().length),_&&(a||(h=h.sort(_)),d&&(e=h.toArray())),g?(h=h.group(d,e,i),y===t||S===t||i.groupPaging||(h=new ae(Ie(h.toArray())).range(y,S),u=r(c,(function(e){return n({},e,{skipItemSorting:!0})})),h=h.group(u,e,i))):(y!==t&&S!==t&&(y+S>(l=h.data.length)&&i.virtual&&(y=(y-=y+S-l)<0?0:y),h=h.range(y,S)),!d||s(d)&&0===d.length||(h=h.group(d,e,i))),{total:l,data:h.toArray()}};var ke=p.extend({init:function(e){this.data=e.data},read:function(e){e.success(this.data)},update:function(e){e.success(e.data)},create:function(e){e.success(e.data)},destroy:function(e){e.success(e.data)}}),we=p.extend({init:function(e){var t,r=this;e=r.options=n({},r.options,e),d(q,(function(t,r){typeof e[r]===_&&(e[r]={url:e[r]})})),r.cache=e.cache?Pe.create(e.cache):{find:g,add:g},t=e.parameterMap,e.submit&&(r.submit=e.submit),f(e.push)&&(r.push=e.push),r.push||(r.push=D),r.parameterMap=f(t)?t:function(e){var r={};return d(e,(function(e,n){e in t&&(e=t[e],a(e)&&(n=e.value(n),e=e.key)),r[e]=n})),r}},options:{parameterMap:D},create:function(e){return l(this.setup(e,m))},read:function(r){var n,i,a=this.cache;r=this.setup(r,y),n=r.success||g,r.error,(i=a.find(r.data))!==t?n(i):(r.success=function(e){a.add(r.data,e),n(e)},e.ajax(r))},update:function(e){return l(this.setup(e,S))},destroy:function(e){return l(this.setup(e,b))},setup:function(e,t){e=e||{};var r,i=this.options[t],a=f(i.data)?i.data(e.data):i.data;return e=n(!0,{},i,e),r=n(!0,{},a,e.data),e.data=this.parameterMap(r,t),f(e.url)&&(e.url=e.url(r)),e}}),Pe=p.extend({init:function(){this._store={}},add:function(e,r){e!==t&&(this._store[T(e)]=r)},find:function(e){return this._store[T(e)]},clear:function(){this._store={}},remove:function(e){delete this._store[T(e)]}});function xe(e,t,r,n,i){var a,s,o,u,l,d={};for(u=0,l=e.length;u<l;u++)for(s in a=e[u],t)(o=i[s])&&o!==s&&(d[o]||(d[o]=h.setter(o)),d[o](a,t[s](a)),delete a[s])}function Fe(e,t,r,n,i){var a,s,o,u,l;for(u=0,l=e.length;u<l;u++)for(s in a=e[u],t)a[s]=r._parse(s,t[s](a)),(o=i[s])&&o!==s&&delete a[o]}function Ce(e,t,r,n,i){var a,s,o,u;for(s=0,u=e.length;s<u;s++)(o=n[(a=e[s]).field])&&o!=a.field&&(a.field=o),a.value=r._parse(a.field,a.value),a.items&&(a.hasSubgroups?Ce(a.items,t,r,n,i):Fe(a.items,t,r,0,i))}function Ge(e,t,r,n,i,a){return function(s){return s=e(s),Oe(t,r,n,i,a)(s)}}function Oe(e,t,r,n,i){return function(a){return a&&!s(r)&&("[object Array]"===H.call(a)||a instanceof Q||(a=[a]),t(a,r,new e,n,i)),a||[]}}Pe.create=function(e){var t={inmemory:function(){return new Pe}};return a(e)&&f(e.find)?e:!0===e?new Pe:t[e]()};var Re=p.extend({init:function(e){var t,r,n,i,s=this;for(t in e=e||{})r=e[t],s[t]=typeof r===_?I(r):r;i=e.modelBase||te,a(s.model)&&(s.model=n=i.define(s.model));var o=s.data.bind(s);if(s._dataAccessFunction=o,s.model){var u,l,g=s.groups.bind(s),h=s.serialize.bind(s),f={},c={},p={},v={},m=!1;(n=s.model).fields&&(d(n.fields,(function(e,t){var r;u=e,a(t)&&t.field?u=t.field:typeof t===_&&(u=t),a(t)&&t.from&&(r=t.from),m=m||r&&r!==e||u!==e,l=r||u,c[e]=-1!==l.indexOf(".")?I(l,!0):I(l),p[e]=I(e),f[r||u]=e,v[e]=r||u})),!e.serialize&&m&&(s.serialize=Ge(h,n,xe,p,f,v))),s._dataAccessFunction=o,s._wrapDataAccessBase=Oe(n,Fe,c,f,v),s.data=Ge(o,n,Fe,c,f,v),s.groups=Ge(g,n,Ce,c,f,v)}},errors:function(e){return e?e.errors:null},parse:D,data:D,total:function(e){return e.length},groups:D,aggregates:function(){return{}},serialize:function(e){return e}});function qe(e,t){var r,n;if(t.items&&t.items.length)for(var i=0;i<t.items.length;i++)r=e.items[e.items.length-1],n=t.items[i],r&&n?r.hasSubgroups&&r.value==n.value?qe(r,n):r.field&&r.value==n.value?(r.items.omitChangeEvent=!0,r.items.push.apply(r.items,n.items),r.items.omitChangeEvent=!1):(e.items.omitChangeEvent=!0,e.items.push.apply(e.items,[n]),e.items.omitChangeEvent=!1):n&&(e.items.omitChangeEvent=!0,e.items.push.apply(e.items,[n]),e.items.omitChangeEvent=!1)}function De(e,t,r,n){for(var i,a,s=0;t.length&&n;){var o=(a=(i=t[s]).items).length;if(e&&e.field===i.field&&e.value===i.value?(e.hasSubgroups&&e.items.length?De(e.items[e.items.length-1],i.items,r,n):(a=a.slice(r,r+n),e.items=e.items.concat(a)),t.splice(s--,1)):i.hasSubgroups&&a.length?(De(i,a,r,n),i.items.length||t.splice(s--,1)):(a=a.slice(r,r+n),i.items=a,i.items.length||t.splice(s--,1)),0===a.length?r-=o:(r=0,n-=a.length),++s>=t.length)break}s<t.length&&t.splice(s,t.length-s)}function Ie(e,t){for(var r,n,i=[],a=(e||[]).length,s=f(t)?t:function(e,t){return e[t]},o=0;o<a;o++)if((r=s(e,o)).hasSubgroups)i=i.concat(Ie(r.items));else{n=r.items;for(var u=0;u<n.length;u++)i.push(s(n,u))}return i}function Te(e){var t,r,n,i,a=[];for(t=0,r=e.length;t<r;t++){var s=e.at(t);if(s.items)if(s.hasSubgroups)a=a.concat(Te(s.items));else for(n=s.items,i=0;i<n.length;i++)a.push(n.at(i))}return a}function ze(e,t){var r,n,i;if(t)for(r=0,n=e.length;r<n;r++)(i=e.at(r)).items&&(i.hasSubgroups?ze(i.items,t):i.items=new W(i.items,t,i.items._events))}function Ee(e,t){for(var r=0;r<e.length;r++)if(e[r].hasSubgroups){if(Ee(e[r].items,t))return!0}else if(t(e[r].items,e[r]))return!0}function Ae(e,t,r,n){for(var i=0;i<e.length&&e[i].data!==t&&!Ne(e[i].data,r,n);i++);}function Ne(e,t,r){for(var n=0,i=e.length;n<i;n++){if(e[n]&&e[n].hasSubgroups)return Ne(e[n].items,t,r);if(e[n]===t||e[n]===r)return e[n]=r,!0}}function Me(e,r,n,i,a){for(var s=0,o=e.length;s<o;s++){var u=e[s];if(u&&!(u instanceof i))if(u.hasSubgroups===t||a){for(var l=0;l<r.length;l++)if(r[l]===u){e[s]=r.at(l),Ae(n,r,u,e[s]);break}}else Me(u.items,r,n,i,a)}}function je(e,t){return t?Be(e,(function(e){return e.uid&&e.uid==t.uid||e[t.idField]===t.id&&t.id!==t._defaultId})):-1}function Le(e,t){return t?Be(e,(function(e){return e.uid==t.uid})):-1}function Be(e,t){var r,n;if(e){for(r=0,n=e.length;r<n;r++)if(t(e[r]))return r;return-1}}function He(e,t){if(e&&!s(e)){var r,n=e[t];return r=a(n)?n.from||n.field||t:e[t]||t,f(r)?t:r}return t}function Ue(e,t){var r,n,i={};for(var a in e)"filters"!==a&&(i[a]=e[a]);if(e.filters)for(i.filters=[],r=0,n=e.filters.length;r<n;r++)i.filters[r]=Ue(e.filters[r],t);else i.field=He(t.fields,i.field);return i}function Je(e,t){var r,n,i,a,s=[];for(r=0,n=e.length;r<n;r++){for(var u in i={},a=e[r])i[u]=a[u];i.field=He(t.fields,i.field),i.aggregates&&o(i.aggregates)&&(i.aggregates=Je(i.aggregates,t)),s.push(i)}return s}var Ve=c.extend({init:function(e){var r,i=this;if(e&&(r=e.data),e=i.options=n({},i.options,e),i._map={},i._prefetch={},i._data=[],i._pristineData=[],i._ranges=[],i._view=[],i._pristineTotal=0,i._destroyed=[],i._pageSize=e.pageSize,i._page=e.page||(e.pageSize?1:t),i._sort=se(e.sort),i._sortFields=oe(e.sort),i._filter=de(e.filter),i._group=ce(e.group),i._aggregate=e.aggregate,i._total=e.total,i._groupPaging=e.groupPaging,i._groupPaging&&(i._groupsState={}),i._shouldDetachObservableParents=!0,c.fn.init.call(i),i.transport=Qe.create(e,r,i),f(i.transport.push)&&i.transport.push({pushCreate:i._pushCreate.bind(i),pushUpdate:i._pushUpdate.bind(i),pushDestroy:i._pushDestroy.bind(i)}),null!=e.offlineStorage)if("string"==typeof e.offlineStorage){var a=e.offlineStorage;i._storage={getItem:function(){return JSON.parse(localStorage.getItem(a))},setItem:function(e){localStorage.setItem(a,T(i.reader.serialize(e)))}}}else i._storage=e.offlineStorage;i.reader=new h.data.readers[e.schema.type||"json"](e.schema),i.reader.model,i._detachObservableParents(),i._data=i._observe(i._data),i._online=!0,i.bind(["push",x,k,F,w,G,C],e)},options:{data:null,schema:{modelBase:te},offlineStorage:null,serverSorting:!1,serverPaging:!1,serverFiltering:!1,serverGrouping:!1,serverAggregates:!1,batch:!1,inPlaceSort:!1},clone:function(){return this},online:function(r){return r!==t?this._online!=r&&(this._online=r,r)?this.sync():e.Deferred().resolve().promise():this._online},offlineData:function(e){return null==this.options.offlineStorage?null:e!==t?this._storage.setItem(e):this._storage.getItem()||[]},_isGrouped:function(){return(this.group()||[]).length},_isServerGrouped:function(){var e=this.group()||[];return this.options.serverGrouping&&e.length},_isServerGroupPaged:function(){return this._isServerGrouped()&&this._groupPaging},_isGroupPaged:function(){var e=this._group||[];return this._groupPaging&&e.length},_pushCreate:function(e){this._push(e,"pushCreate")},_pushUpdate:function(e){this._push(e,"pushUpdate")},_pushDestroy:function(e){this._push(e,"pushDestroy")},_push:function(e,t){var r=this._readData(e);r||(r=e),this[t](r)},_flatData:function(e,t){if(e){if(this._isServerGrouped())return Te(e);if(!t)for(var r=0;r<e.length;r++)e.at(r)}return e},parent:g,get:function(e){var t,r,n=this._flatData(this._data,this.options.useRanges);for(t=0,r=n.length;t<r;t++)if(n[t].id==e)return n[t]},getByUid:function(e){return this._getByUid(e,this._data)},_getByUid:function(e,t){var r,n,i=this._flatData(t,this.options.useRanges);if(i)for(r=0,n=i.length;r<n;r++)if(i[r].uid==e)return i[r]},indexOf:function(e){return Le(this._data,e)},at:function(e){return this._data.at(e)},data:function(e){var r=this;if(e===t){if(r._data)for(var n=0;n<r._data.length;n++)r._data.at(n);return r._data}r._detachObservableParents(),r._data=this._observe(e),r._pristineData=e.slice(0),r._storeData(),r._ranges=[],r.trigger("reset"),r._addRange(r._data),r._total=r._data.length,r._pristineTotal=r._total,r._process(r._data)},view:function(e){if(e===t)return this._view;this._view=this._observeView(e)},_observeView:function(e){var t=this;Me(e,t._data,t._ranges,t.reader.model||X,t._isServerGrouped());var r=new W(e,t.reader.model);return r.parent=function(){return t.parent()},r},flatView:function(){return(this.group()||[]).length?Te(this._view):this._view},add:function(e){return this.insert(this._data.length,e)},_createNewModel:function(e){return this.reader.model?new this.reader.model(e):e instanceof X?e:new X(e)},insert:function(e,t){return t||(t=e,e=0),t instanceof te||(t=this._createNewModel(t)),this._isServerGrouped()?this._data.splice(e,0,this._wrapInEmptyGroup(t)):this._data.splice(e,0,t),this._insertModelInRange(e,t),t},pushInsert:function(t,r){var n=this._getCurrentRangeSpan();r||(r=t,t=0),o(r)||(r=[r]);var i=[],a=this.options.autoSync;this.options.autoSync=!1;try{for(var s=0;s<r.length;s++){var u=r[s],l=this.insert(t,u);i.push(l);var d=l.toJSON();this._isServerGrouped()&&(d=this._wrapInEmptyGroup(d)),this._pristineData.push(d),n&&n.length&&e(n).last()[0].pristineData.push(d),t++}}finally{this.options.autoSync=a}i.length&&this.trigger("push",{type:"create",items:i})},pushCreate:function(e){this.pushInsert(this._data.length,e)},pushUpdate:function(e){o(e)||(e=[e]);for(var t=[],r=0;r<e.length;r++){var n=e[r],i=this._createNewModel(n),a=this.get(i.id);a?(t.push(a),a.accept(n),a.trigger(k),this._updatePristineForModel(a,n)):this.pushCreate(n)}t.length&&this.trigger("push",{type:"update",items:t})},pushDestroy:function(e){var t=this._removeItems(e);t.length&&this.trigger("push",{type:"destroy",items:t})},_removeItems:function(e,t){o(e)||(e=[e]);var r=void 0===t||t,n=[],i=this.options.autoSync;this.options.autoSync=!1;try{for(var a=0;a<e.length;a++){var s=e[a],u=this._createNewModel(s),l=!1,d=a;this._eachItem(this._data,(function(t){d!==e.length-1?(t.omitChangeEvent=!0,t.omitCache=[]):t.omitChangeEvent=!1;for(var r=0;r<t.length;r++){var i=t.at(r);if(i.id===u.id){t.omitChangeEvent&&t.omitCache.push(i),n.push(i),t.splice(r,1),l=!0;break}}})),l&&r&&(this._removePristineForModel(u),this._destroyed.pop())}}finally{this.options.autoSync=i}return n},pushMove:function(e,t){var r=this._moveItems(e,t);r.length&&this.trigger("push",{type:"update",items:r})},_moveItems:function(e,t){o(t)||(t=[t]);var r=[],n=this.options.autoSync;this.options.autoSync=!1;try{for(var i=0;i<t.length;i++){var a=t[i],s=this._createNewModel(a);this._eachItem(this._data,(function(t){for(var n=0;n<t.length;n++){var i=t.at(n);if(i.id===s.id){r.push(i),t.splice(e>=n?--e:e,0,t.splice(n,1)[0]),e++;break}}}))}}finally{this.options.autoSync=n}return r},remove:function(e){var t,r=this,n=r._isServerGrouped();return!n||!e.uid||e.isNew&&e.isNew()||r._pushInDestroyed(e),this._eachItem(r._data,(function(r){if(t=function(e,t){if(e){var r,n,i=e.length;for(n=0;n<i;n++)if((r=e[n]).uid&&r.uid==t.uid)return e.splice(n,1),r}}(r,e),t&&n)return!0})),this._removeModelFromRanges(e),e},destroyed:function(){return this._destroyed},created:function(){var e,t,r=[],n=this._flatData(this._data,this.options.useRanges);for(e=0,t=n.length;e<t;e++)n[e].isNew&&n[e].isNew()&&!n[e].notFetched&&r.push(n[e]);return r},updated:function(){var e,t,r=[],n=this._flatData(this._data,this.options.useRanges);for(e=0,t=n.length;e<t;e++)n[e].isNew&&!n[e].isNew()&&n[e].dirty&&r.push(n[e]);return r},sync:function(){var t=this,r=[],n=[],i=t._destroyed,a=e.Deferred().resolve().promise();if(t.online()){if(!t.reader.model)return a;r=t.created(),n=t.updated();var s=[];t.options.batch&&t.transport.submit?s=t._sendSubmit(r,n,i):(s.push.apply(s,t._send("create",r)),s.push.apply(s,t._send("update",n)),s.push.apply(s,t._send("destroy",i))),a=e.when.apply(null,s).then((function(){var e,r,n=arguments;for(e=0,r=arguments.length;e<r;e++)n[e]&&t._accept(n[e]);t._storeData(!0),t._syncEnd(),t._change({action:"sync"}),t.trigger(w),t._isServerGroupPaged()&&t.read()}))}else t._storeData(!0),t._syncEnd(),t._change({action:"sync"});return a},_syncEnd:g,cancelChanges:function(e){var t=this;e instanceof h.data.Model?t._cancelModel(e):(t._destroyed=[],t._detachObservableParents(),t._data=t._observe(t._pristineData),t.options.serverPaging&&(t._total=t._pristineTotal),t._ranges=[],t._addRange(t._data,0),t._changesCanceled(),t._change(),t._markOfflineUpdatesAsDirty(),t._isServerGrouped()&&t.read())},_changesCanceled:g,_markOfflineUpdatesAsDirty:function(){var e=this;null!=e.options.offlineStorage&&e._eachItem(e._data,(function(e){for(var t=0;t<e.length;t++){var r=e.at(t);"update"!=r.__state__&&"create"!=r.__state__||(r.dirty=!0)}}))},hasChanges:function(){var e,t,r=this._flatData(this._data,this.options.useRanges);if(this._destroyed.length)return!0;for(e=0,t=r.length;e<t;e++)if(r[e].isNew&&r[e].isNew()||r[e].dirty)return!0;return!1},_accept:function(t){var r,n=this,i=t.models,a=t.response,u=0,l=n._isServerGrouped(),d=n._pristineData,g=t.type;if(n.trigger(G,{response:a,type:g}),a&&!s(a)){if(a=n.reader.parse(a),n._handleCustomErrors(a))return;a=n.reader.data(a),o(a)||(a=[a])}else a=e.map(i,(function(e){return e.toJSON()}));for("destroy"===g&&(n._destroyed=[]),u=0,r=i.length;u<r;u++)"destroy"!==g?(i[u].accept(a[u]),"create"===g?d.push(l?n._wrapInEmptyGroup(i[u].toJSON()):a[u]):"update"===g&&n._updatePristineForModel(i[u],a[u])):n._removePristineForModel(i[u])},_updatePristineForModel:function(e,t){this._executeOnPristineForModel(e,(function(e,r){h.deepExtend(r[e],t)}))},_executeOnPristineForModel:function(e,t){this._eachPristineItem((function(r){var n=je(r,e);if(n>-1)return t(n,r),!0}))},_removePristineForModel:function(e){this._executeOnPristineForModel(e,(function(e,t){t.splice(e,1)}))},_readData:function(e){return(this._isServerGrouped()?this.reader.groups:this.reader.data).call(this.reader,e)},_eachPristineItem:function(e){var t=this,r=t.options,n=t._getCurrentRangeSpan();t._eachItem(t._pristineData,e),r.serverPaging&&r.useRanges&&d(n,(function(r,n){t._eachItem(n.pristineData,e)}))},_eachItem:function(e,t){e&&e.length&&(this._isServerGrouped()?Ee(e,t):t(e))},_pristineForModel:function(e){var t,r;return this._eachPristineItem((function(n){if((r=je(n,e))>-1)return t=n[r],!0})),t},_cancelModel:function(e){var t=this,r=this._pristineForModel(e);this._eachItem(this._data,(function(n){var i=Le(n,e);i>=0&&(!r||e.isNew()&&!r.__state__?(t._modelCanceled(e),n.splice(i,1),t._removeModelFromRanges(e)):(n[i].accept(r),"update"==r.__state__&&(n[i].dirty=!0)))}))},_modelCanceled:g,_submit:function(t,r){var i=this;i.trigger(F,{type:"submit"}),i.trigger(C),i.transport.submit(n({success:function(r,n){var i=e.grep(t,(function(e){return e.type==n}))[0];i&&i.resolve({response:r,models:i.models,type:n})},error:function(e,r,n){for(var a=0;a<t.length;a++)t[a].reject(e);i.error(e,r,n)}},r))},_sendSubmit:function(t,r,n){var i=this,a=[];return i.options.batch&&(t.length&&a.push(e.Deferred((function(e){e.type="create",e.models=t}))),r.length&&a.push(e.Deferred((function(e){e.type="update",e.models=r}))),n.length&&a.push(e.Deferred((function(e){e.type="destroy",e.models=n}))),i._submit(a,{data:{created:i.reader.serialize(be(t)),updated:i.reader.serialize(be(r)),destroyed:i.reader.serialize(be(n))}})),a},_promise:function(t,r,i){var a=this;return e.Deferred((function(e){a.trigger(F,{type:i}),a.trigger(C),a.transport[i].call(a.transport,n({success:function(t){e.resolve({response:t,models:r,type:i})},error:function(t,r,n){e.reject(t),a.error(t,r,n)}},t))})).promise()},_send:function(e,t){var r,n,i=this,a=[],s=i.reader.serialize(be(t));if(i.options.batch)t.length&&a.push(i._promise({data:{models:s}},t,e));else for(r=0,n=t.length;r<n;r++)a.push(i._promise({data:s[r]},[t[r]],e));return a},read:function(t){var r=this,n=r._params(t),i=e.Deferred();return r._queueRequest(n,(function(){var e=r.trigger(F,{type:"read"});e?(r._dequeueRequest(),i.resolve(e)):(r.trigger(C),r._ranges=[],r.trigger("reset"),r.online()?r.transport.read({data:n,success:function(e){r._ranges=[],r.success(e,n),i.resolve()},error:function(){var e=L.call(arguments);r.error.apply(r,e),i.reject.apply(i,e)}}):null!=r.options.offlineStorage&&(r.success(r.offlineData(),n),i.resolve()))})),i.promise()},_readAggregates:function(e){return this.reader.aggregates(e)},success:function(e){var t,r,n=this,i=n.options;if(n.trigger(G,{response:e,type:"read"}),n.online()){if(e=n.reader.parse(e),n._handleCustomErrors(e))return void n._dequeueRequest();n._total=n.reader.total(e),n._isServerGroupPaged()&&(n._serverGroupsTotal=n._total),n._pageSize>n._total&&(n._pageSize=n._total,n.options.pageSize&&n.options.pageSize>n._pageSize&&(n._pageSize=n.options.pageSize)),n._aggregate&&i.serverAggregates&&(n._aggregateResult=n._readAggregates(e)),e=n._readData(e),n._destroyed=[]}else{e=n._readData(e),t=[];var a,s={},o=n.reader.model,u=o?o.idField:"id";for(a=0;a<this._destroyed.length;a++){var l=this._destroyed[a][u];s[l]=l}for(a=0;a<e.length;a++){var d=e[a];"destroy"==d.__state__?s[d[u]]||this._pushInDestroyed(this._createNewModel(d)):t.push(d)}e=t,n._total=e.length}if(n._pristineTotal=n._total,r=n._skip&&n._data.length&&n._skip<n._data.length,n.options.endless){r&&n._pristineData.splice(n._skip,n._pristineData.length),t=e.slice(0);for(var g=0;g<t.length;g++)n._pristineData.push(t[g])}else n._pristineData=e.slice(0);if(n._detachObservableParents(),n.options.endless){n._data.unbind(k,n._changeHandler),n._isServerGrouped()&&n._data[n._data.length-1].value===e[0].value&&(qe(n._data[n._data.length-1],e[0]),e.shift()),e=n._observe(e),r&&n._data.splice(n._skip,n._data.length);for(var h=0;h<e.length;h++)n._data.push(e[h]);n._data.bind(k,n._changeHandler)}else n._data=n._observe(e);n._markOfflineUpdatesAsDirty(),n._storeData(),n._addRange(n._data),n._process(n._data),n._dequeueRequest()},_detachObservableParents:function(){if(this._data&&this._shouldDetachObservableParents)for(var e=0;e<this._data.length;e++)this._data[e].parent&&(this._data[e].parent=g)},_storeData:function(e){var t=this._isServerGrouped(),r=this.reader.model;if(null!=this.options.offlineStorage){for(var n=function e(n){for(var i=[],a=0;a<n.length;a++){var s=n.at(a),o=s.toJSON();t&&s.items?o.items=e(s.items):(o.uid=s.uid,r&&(s.isNew()?o.__state__="create":s.dirty&&(o.__state__="update"))),i.push(o)}return i}(this._data),i=[],a=0;a<this._destroyed.length;a++){var s=this._destroyed[a].toJSON();s.__state__="destroy",i.push(s)}this.offlineData(n.concat(i)),e&&(this._pristineData=this.reader.reader?this.reader.reader._wrapDataAccessBase(n):this.reader._wrapDataAccessBase(n))}},_addRange:function(e,t){var r,n=this,i=void 0!==t?t:n._skip||0,a={data:e,pristineData:e.toJSON(),timestamp:n._timeStamp()};this._isGroupPaged()?(r=i+e.length,a.outerStart=i,a.outerEnd=r):r=i+n._flatData(e,!0).length,a.start=i,a.end=r,n._ranges.push(a),n._sortRanges(),n._isGroupPaged()&&(n._groupsFlat||(n._groupsFlat=[]),n._appendToGroupsFlat(a.data),n._updateOuterRangesLength())},_appendToGroupsFlat:function(e){for(var t=e.length,r=0;r<t;r++)this._groupsFlat.push(e[r])},_getGroupByUid:function(e){for(var t,r=this._groupsFlat.length,n=0;n<r;n++)if((t=this._groupsFlat[n]).uid===e)return t},_sortRanges:function(){this._ranges.sort((function(e,t){return e.start-t.start}))},error:function(e,t,r){this._dequeueRequest(),this.trigger(G,{}),this.trigger(x,{xhr:e,status:t,errorThrown:r})},_params:function(e){var t=this,r=n({take:t.take(),skip:t.skip(),page:t.page(),pageSize:t.pageSize(),sort:t._sort,filter:t._filter,group:t._group,aggregate:t._aggregate,groupPaging:!!t._groupPaging},e);return t.options.serverPaging||(delete r.take,delete r.skip,delete r.page,delete r.pageSize),t.options.serverGrouping?t.reader.model&&r.group&&(r.group=Je(r.group,t.reader.model)):delete r.group,t.options.serverFiltering?t.reader.model&&r.filter&&(r.filter=Ue(r.filter,t.reader.model)):delete r.filter,t.options.serverSorting?t.reader.model&&r.sort&&(r.sort=Je(r.sort,t.reader.model)):delete r.sort,t.options.serverAggregates?t.reader.model&&r.aggregate&&(r.aggregate=Je(r.aggregate,t.reader.model)):delete r.aggregate,t.options.groupPaging||delete r.groupPaging,r},_queueRequest:function(e,r){var n=this;n._requestInProgress?n._pending={callback:r.bind(n),options:e}:(n._requestInProgress=!0,n._pending=t,r())},_dequeueRequest:function(){var e=this;e._requestInProgress=!1,e._pending&&e._queueRequest(e._pending.options,e._pending.callback)},_handleCustomErrors:function(e){if(this.reader.errors){var t=this.reader.errors(e);if(t)return this.trigger(x,{xhr:null,status:"customerror",errorThrown:"custom error",errors:t}),!0}return!1},_shouldWrap:function(e){var t=this.reader.model;return!(!t||!e.length)&&!(e[0]instanceof t)},_observe:function(e){var t=this,r=t.reader.model;(t._shouldDetachObservableParents=!0,e instanceof Q)?(t._shouldDetachObservableParents=!1,t._shouldWrap(e)&&(e.type=t.reader.model,e.wrapAll(e,e))):(e=new(t.pageSize()&&!t.options.serverPaging?W:Q)(e,t.reader.model)).parent=function(){return t.parent()};return t._isServerGrouped()&&ze(e,r),!(t._changeHandler&&t._data&&t._data instanceof Q)||t.options.useRanges&&t.options.serverPaging?t._changeHandler=t._change.bind(t):t._data.unbind(k,t._changeHandler),e.bind(k,t._changeHandler)},_updateTotalForAction:function(e,t){var r=this,n=parseInt(r._total,10);ye(r._total)||(n=parseInt(r._pristineTotal,10)),"add"===e?n+=t.length:"remove"===e?n-=t.length:"itemchange"===e||"sync"===e||r.options.serverPaging?"sync"===e&&(n=r._pristineTotal=parseInt(r._total,10)):n=r._pristineTotal,r._total=n},_pushInDestroyed:function(e){this._destroyed.find((function(t){return t.uid===e.uid}))||this._destroyed.push(e)},_change:function(e){var t,r,n=this,i=e?e.action:"";if("remove"===i)for(t=0,r=e.items.length;t<r;t++)e.items[t].isNew&&e.items[t].isNew()||n._pushInDestroyed(e.items[t]);if(!n.options.autoSync||"add"!==i&&"remove"!==i&&"itemchange"!==i)n._updateTotalForAction(i,e?e.items:[]),n._process(n._data,e);else{var a=function(t){"sync"===t.action&&(n.unbind("change",a),n._updateTotalForAction(i,e.items))};n.first("change",a),n.sync()}},_calculateAggregates:function(e,t){t=t||{};var r=new ae(e),n=t.aggregate,i=t.filter;return i&&(r=r.filter(i)),r.aggregate(n)},_process:function(e,r){var n,i=this,a={};if(!0!==i.options.serverPaging&&(a.skip=i._skip,a.take=i._take||i._pageSize,a.skip===t&&i._page!==t&&i._pageSize!==t&&(a.skip=(i._page-1)*i._pageSize),i.options.useRanges&&(a.skip=i.currentRangeStart())),!0!==i.options.serverSorting&&(a.sort=i._sort),!0!==i.options.serverFiltering&&(a.filter=i._filter),!0!==i.options.serverGrouping&&(a.group=i._group),!0!==i.options.serverAggregates&&(a.aggregate=i._aggregate),i.options.serverGrouping&&i._clearEmptyGroups(e),a.groupPaging=i._groupPaging,n=i._isGroupPaged()&&r&&("page"===r.action||"expandGroup"===r.action||"collapseGroup"===r.action)?i._queryProcess(e,{aggregate:i._aggregate}):i._queryProcess(e,a),i._filter&&r&&"add"===r.action){var s=r.items[0],o=n.data;i._isGrouped()&&!this._isServerGrouped()&&(o=Te(o)),o.find((function(e){return e.uid===s.uid}))||(n.data.splice(s.index,0,i._isGrouped()?i._wrapInEmptyGroup(s):s),n.total++)}!0!==i.options.serverAggregates&&(i._aggregateResult=i._calculateAggregates(n.dataToAggregate||e,a)),i._setView(n,a,r),i._setFilterTotal(n.total,!1),(r=r||{}).items=r.items||i._view,i.trigger(k,r)},_setView:function(e,t,r){var n=this;if(n._isGroupPaged()&&!n._isServerGrouped())if(!r||"page"!==r.action&&"expandGroup"!==r.action&&"collapseGroup"!==r.action){n._ranges=[];var i=new ae(e.data);n._addRange(n._observe(e.data)),t.skip+t.take>e.data.length&&(t.skip=e.data.length-t.take),n.view(i.range(t.skip,t.take).toArray())}else n.view(e.data),n._updateOuterRangesLength();else n.view(e.data)},_clearEmptyGroups:function(e){for(var t=e.length-1;t>=0;t--){var r=e[t];r.hasSubgroups&&this._clearEmptyGroups(r.items),!r.items||r.items.length||r.itemCount||M.apply(r.parent(),[t,1])}},_queryProcess:function(e,t){return this.options.inPlaceSort?ae.process(e,t,this.options.inPlaceSort):ae.process(e,t)},_mergeState:function(r){var n,i=this;return r!==t&&(i._pageSize=r.pageSize,i._page=r.page,i._sort=r.sort,i._filter=r.filter,i._group=r.group,i._aggregate=r.aggregate,i._skip=i._currentRangeStart=r.skip,i._take=r.take,i._skip===t&&(i._skip=i._currentRangeStart=i.skip(),r.skip=i.skip()),i._take===t&&i._pageSize!==t&&(i._take=i._pageSize,r.take=i._take),i.options.virtual&&(r.virtual=i.options.virtual),r.sort&&(i._sort=r.sort=se(r.sort),i._sortFields=oe(r.sort)),r.filter&&(i._filter=r.filter=i.options.accentFoldingFiltering&&!e.isEmptyObject(r.filter)?e.extend({},de(r.filter),{accentFoldingFiltering:i.options.accentFoldingFiltering}):de(r.filter)),r.group&&(i._group=r.group=ce(r.group)),r.aggregate&&(i._aggregate=r.aggregate=(n=r.aggregate,o(n)?n:[n]))),r},query:function(r){var n;if(this.options.serverSorting||this.options.serverPaging||this.options.serverFiltering||this.options.serverGrouping||this.options.serverAggregates||(this._data===t||0===this._data.length)&&!this._destroyed.length){if(this.options.endless){var i=r.pageSize-this.pageSize();i>0?(i=this.pageSize(),r.page=r.pageSize/i,r.pageSize=i):(r.page=1,this.options.endless=!1)}return this.read(this._mergeState(r))}var a=this.trigger(F,{type:"read"});return a||(this.trigger(C),r&&(r.groupPaging=this._groupPaging),n=this._queryProcess(this._data,this._mergeState(r)),this._setFilterTotal(n.total,!0),this._aggregateResult=this._calculateAggregates(n.dataToAggregate||this._data,r),this._setView(n,r),this.trigger(G,{type:"read"}),this.trigger(k,{items:n.data,action:r?r.action:""})),e.Deferred().resolve(a).promise()},_hasExpandedSubGroups:function(e){var t=!1,r=e.items?e.items.length:0;if(!e.hasSubgroups)return!1;for(var n=0;n<r;n++)if(this._groupsState[e.items[n].uid]){t=!0;break}return t},_findGroupedRange:function(e,t,r,n,i){for(var a,s,o,u,l,d=this,g=e.length,h=0;h<g&&(a=e[h],!(r.taken>=r.take));h++)if(d._getGroupByUid(a.uid)||d._groupsFlat.push(a),d._groupsState[a.uid]){if(d._isServerGroupPaged()){if(d._fetchGroupItems(a,r,n,i))return void(d._fetchingGroupItems=!0);if(u=(a.subgroupCount||a.itemCount)+1,l=r.skip-r.skipped,!d._hasExpandedSubGroups(a)&&l>u){r.skipped+=u;continue}}if(r.includeParents&&r.skipped<r.skip?(r.skipped++,a.excludeHeader=!0):r.includeParents&&(r.taken++,a.excludeHeader=!1),a.hasSubgroups&&a.items&&a.items.length)a.currentItems=[],n||(n=[]),n.push(a),d._findGroupedRange(a.items,a.currentItems,r,n,i),n.pop(),a.currentItems.length||r.taken>0?t.push(a):a.excludeHeader=!1;else{s=[],o=a.items.length;for(var f=0;f<o;f++)if(r.skipped<r.skip)r.skipped++;else{if(r.taken>=r.take)break;s.push(a.items[f]),r.taken++}s.length||r.taken>0?(a.currentItems=s,t.push(a)):a.excludeHeader=!1}}else{if(r.skipped<r.skip){r.skipped++;continue}t.push(a),r.taken++}},_expandedSubGroupItemsCount:function(e,t,r){var n,i,a=this,s=0,o="number"==typeof t,u=o?t:e.subgroupCount;if(!e.hasSubgroups)return s;for(var l=0;l<u&&(n=e.items[l]);l++)if(n.hasSubgroups&&a._groupsState[e.uid]?(s+=i=a._expandedSubGroupItemsCount(n,u,!0),o&&(u-=i)):!n.hasSubgroups&&a._groupsState[n.uid]&&(s+=i=n.items?n.items.length:0,o&&(u-=i)),r&&(s+=1,o&&(u-=1)),o&&s>u)return s;return s},_fetchGroupItems:function(e,t,r,n){var i,a,s,o,u=this,l=e.hasSubgroups?e.subgroupCount:e.itemCount,d=t.take,g=t.skipped,h=u.take();return t.includeParents&&(g<t.skip?g+=1:d-=1),!e.items||e.items&&!e.items.length?(u.getGroupItems(e,t,r,n,0),!0):(o=this._expandedSubGroupItemsCount(e,t.skip-g),!((i=Math.max(t.skip-(g+o),0))>=l)&&(a=e.items[i],s=e.items[Math.min(i+d,l-1)],a.notFetched?(u.getGroupItems(e,t,r,n,z.max(z.floor(i/h),0)*h,z.round((i+h)/h)),!0):s.notFetched?(u.getGroupItems(e,t,r,n,z.max(z.floor((i+h)/h),0)*h,z.round((i+h)/h)),!0):void 0))},getGroupItems:function(e,t,r,n,i,a){var s,o,u,l,d=this;e.items||(e.items=[]),s=d.take(),o=this._composeItemsFilter(e,r),u={page:a||1,pageSize:s,skip:i,take:s,filter:o,aggregate:d._aggregate,sort:d._sort},(l=d.findSubgroups(e))&&l.length&&(u.group=l,u.groupPaging=!0),clearTimeout(d._timeout),d._timeout=setTimeout((function(){d._queueRequest(u,(function(){d.trigger(F,{type:"read"})?d._dequeueRequest():d.transport.read({data:u,success:d._groupItemsSuccessHandler(e,t.skip,d.take(),n,i),error:function(){var e=L.call(arguments);d.error.apply(d,e)}})}))}),100)},_groupItemsSuccessHandler:function(e,t,r,n,i){var a=this,s=a._timeStamp();n=f(n)?n:g;var o=a.options.schema&&a.options.schema.total?a.options.schema.total:"Total";return function(u){var l,d,g=te.define(a.options.schema.model);a._dequeueRequest(),a.trigger(G,{response:u,type:"read"}),d=f(o)?o(u):u[o],u=a.reader.parse(u),e.hasSubgroups?(l=a.reader.groups(u),e.subgroupCount=d):l=(l=a.reader.data(u)).map((function(e){return new g(e)})),e.items.omitChangeEvent=!0;for(var h=0;h<d;h++)h>=i&&h<i+r?e.items.splice(h,1,l[h-i]):e.items[h]||e.items.splice(h,0,{notFetched:!0});e.items.omitChangeEvent=!1,a._updateRangePristineData(e),a._fetchingGroupItems=!1,e.countAdded||(a._serverGroupsTotal+=d,e.countAdded=!0),a.range(t,r,n,"expandGroup"),(s>=a._currentRequestTimeStamp||!a._skipRequestsInProgress)&&a.trigger(k,{})}},findSubgroups:function(e){var t=this._group.map((function(e){return e.field})).indexOf(e.field);return this._group.slice(t+1,this._group.length)},_composeItemsFilter:function(e,t){var r={logic:"and",filters:[]};if(this.filter()&&r.filters.push(this.filter()),(r=n(!0,{},r)).filters.push({field:e.field,operator:"eq",value:e.value}),t)for(var i=0;i<t.length;i++)r.filters.push({field:t[i].field,operator:"eq",value:t[i].value});return r},_updateRangePristineData:function(e){for(var t,r,n,i,a,s=this,o=s._ranges,u=o.length,l=0;l<u;l++){i=(n=o[l]).data.length,a=[],t=null;for(var d=0;d<i&&(r=n.data[d],a.push(d),!(r.uid===e.uid||r.hasSubgroups&&r.items.length&&s._containsSubGroup(r,e,a)));d++)a.pop();if(a.length){for(t=o[l].pristineData;a.length>1;)t=t[a.splice(0,1)[0]].items;t[a[0]]=s._cloneGroup(e);break}}},_containsSubGroup:function(e,t,r){var n,i=e.items.length;if(e.hasSubgroups&&i)for(var a=0;a<i;a++){if(n=e.items[a],r.push(a),n.uid===t.uid||n.hasSubgroups&&n.items.length&&this._containsSubGroup(n,t,r))return!0;r.pop()}},_cloneGroup:function(e){var t=this;return(e="function"==typeof e.toJSON?e.toJSON():e).items&&e.items.length&&(e.items=e.items.map((function(e){return t._cloneGroup(e)}))),e},_setFilterTotal:function(e,r){var n=this;n.options.serverFiltering||(e!==t?n._total=e:r&&(n._total=n._data.length))},fetch:function(e){var t=this;return this._query().done((function(r){!0!==r&&f(e)&&e.call(t)}))},_query:function(e){var t=this;return t.query(n({},{page:t.page(),pageSize:t.pageSize(),sort:t.sort(),filter:t.filter(),group:t.group(),aggregate:t.aggregate()},e))},next:function(e){var t=this,r=t.page(),n=t.total();if(e=e||{},r&&!(n&&r+1>t.totalPages()))return t._skip=t._currentRangeStart=r*t.take(),r+=1,e.page=r,t._query(e),r},prev:function(e){var t=this,r=t.page();if(e=e||{},r&&1!==r)return t._skip=t._currentRangeStart=t._skip-t.take(),r-=1,e.page=r,t._query(e),r},page:function(e){var r,n=this;if(e!==t){e=z.max(z.min(z.max(e,1),n.totalPages()),1);var i=n.take();return n._isGroupPaged()?(e-=1,void n.range(e*i,i,null,"page")):void n._query(n._pageableQueryOptions({page:e}))}return(r=n.skip())!==t?z.round((r||0)/(n.take()||1))+1:t},pageSize:function(e){var r=this;if(e===t)return r.take();r._query(r._pageableQueryOptions({pageSize:e,page:1}))},sort:function(e){var r=this;return e!==t?(r.trigger("sort"),void r._query({sort:e})):r._sort},filter:function(e){var r=this;if(e===t)return r._filter;r.trigger("reset"),r._query({filter:e,page:1})},group:function(e){var r=this,n={group:e};if(r._groupPaging&&(e===t||e&&e.length||(r._ranges=[]),n.page=1),e===t)return r._group;r._query(n)},getGroupsFlat:function(e){var t,r,n=[];for(t=0,r=e.length;t<r;t++){var i=e[t];i.hasSubgroups&&(n=n.concat(this.getGroupsFlat(i.items))),n.push(i)}return n},total:function(){return parseInt(this._total||0,10)},groupsTotal:function(e){var t=this;return t._group.length?t._isServerGrouped()?(t._serverGroupsTotal||(t._serverGroupsTotal=t.total()),t._serverGroupsTotal):t._calculateGroupsTotal(t._ranges.length?t._ranges[0].data:[],e):t.total()},_calculateGroupsTotal:function(e,t,r,n){var i,a,s=this;if(r=r||"items",s._group.length&&e){i=0,a=e.length;for(var o=0;o<a;o++)i+=s.groupCount(e[o],t,r,n);return s._groupsTotal=i,i}return s._groupsTotal=s._data.length,s._groupsTotal},groupCount:function(e,t,r,n){var i=this,a=0;return e.hasSubgroups&&i._groupsState[e.uid]?((t&&!e.excludeHeader||n)&&(a+=1),e[r].forEach((function(e){a+=i.groupCount(e,t,r,n)}))):i._groupsState[e.uid]?((t&&!e.excludeHeader||n)&&a++,a+=e[r]?e[r].length:0):a++,a},countGroupRange:function(e){for(var t=0,r=e.length,n=0;n<r;n++)t+=this.groupCount(e[n],!0);return t},aggregate:function(e){if(e===t)return this._aggregate;this._query({aggregate:e})},aggregates:function(){var e=this._aggregateResult;return s(e)&&(e=this._emptyAggregates(this.aggregate())),e},_emptyAggregates:function(e){var t={};if(!s(e)){var r={};o(e)||(e=[e]);for(var n=0;n<e.length;n++)r[e[n].aggregate]=0,t[e[n].field]=r}return t},_pageableQueryOptions:function(e){return e},_wrapInEmptyGroup:function(e){var t,r,n,i=this.group();for(n=i.length-1,0;n>=0;n--)r=i[n],t={value:e.get?e.get(r.field):e[r.field],field:r.field,items:t?[t]:[e],hasSubgroups:!!t,aggregates:this._emptyAggregates(r.aggregates)};return t},totalPages:function(){var e=this,t=e.pageSize()||e.total(),r=e._isGroupPaged()?e.groupsTotal(!0):e.total();return z.ceil((r||0)/t)},inRange:function(e,t){var r=this,n=z.min(e+t,r.total());return!r.options.serverPaging&&r._data.length>0||r._findRange(e,n).length>0},lastRange:function(){var e=this._ranges;return e[e.length-1]||{start:0,end:0,data:[]}},firstItemUid:function(){var e=this._ranges;return e.length&&e[0].data.length&&e[0].data[0].uid},enableRequestsInProgress:function(){this._skipRequestsInProgress=!1},_timeStamp:function(){return(new Date).getTime()},range:function(e,r,n,i){this._currentRequestTimeStamp=this._timeStamp(),this._skipRequestsInProgress=!0;var a=this._isGroupPaged()?this.groupsTotal(!0):this.total();"expandGroup"!==i&&"collapseGroup"!==i||this._updateOuterRangesLength(),e=z.min(e||0,a),n=f(n)?n:g;var s,o=this,u=z.max(z.floor(e/r),0)*r,l=z.min(u+r,a);if(((s=o._findRange(e,z.min(e+r,a),n)).length||0===a)&&!o._fetchingGroupItems)return o._processRangeData(s,e,r,o._originalPageSkip||u,o._originalSize||l,{action:i}),o._originalPageSkip=null,o._originalSize=null,void n();o._isGroupPaged()&&(o._originalPageSkip=u,o._originalSize=l,u=z.max(z.floor(o._adjustPageSkip(e,r)/r),0)*r,l=z.min(u+r,a)),r===t||o._fetchingGroupItems||(o._isGroupPaged()&&!o._groupRangeExists(u,r)||!o._rangeExists(u,l)?o.prefetch(u,r,(function(){e>u&&l<o.total()&&!o._rangeExists(l,z.min(l+r,o.total()))?o.prefetch(l,r,(function(){o.range(e,r,n)})):o.range(e,r,n)})):u<e&&o.prefetch(l,r,(function(){o.range(e,r,n)})))},_findRange:function(e,r,n){var i,a,s,o,u,l,d,g,h,f,c,p,_=this,v=_._ranges,m=[],y=_.options,S=y.serverSorting||y.serverPaging||y.serverFiltering||y.serverGrouping||y.serverAggregates,b={take:r-e,skip:e,skipped:0,taken:0,includeParents:!0},k=_._isGroupPaged(),w=k?"outerStart":"start",P=k?"outerEnd":"end";for(a=0,c=v.length;a<c;a++){if(i=v[a],k){if(i.outerStart>=r)return[];if(e>i.outerEnd){b.skipped+=i.outerEnd-(p||0),p=i.outerEnd;continue}if(void 0!==p&&p!=i.outerStart&&(b.skipped+=i.outerStart-p),b.skipped>b.skip)return[];for(void 0===p&&e>0&&i.start>0&&(b.skipped=i.outerStart),s=a;;){if(this._findGroupedRange(i.data,m,b,null,n),_._calculateGroupsTotal(m,!0,"currentItems")>=b.take)return m;if(_._fetchingGroupItems)return[];if(!v[++s]||v[s].outerStart!==i.outerEnd)break;i=v[s]}}else if(e>=i[w]&&e<=i[P]){for(f=0,s=a;s<c;s++)if(i=v[s],(h=_._flatData(i.data,!0)).length&&e+f>=i.start){if(l=i.data,d=i.end,!S){if(y.inPlaceSort)g=_._queryProcess(i.data,{filter:_.filter()});else{var x=pe(_.group()||[]).concat(se(_.sort()||[]));g=_._queryProcess(i.data,{sort:x,filter:_.filter()})}h=l=g.data,g.total!==t&&(d=g.total)}if(o=0,e+f>i.start&&(o=e+f-i.start),u=h.length,d>r&&(u-=d-r),f+=u-o,m=_._mergeGroups(m,l,o,u),r<=i.end&&f==r-e)return m}break}p=i.outerEnd}return[]},_getRangesMismatch:function(e){for(var t=this._ranges,r=0,n=0;;){var i=t[n];if(!i||i.outerStart>e)break;i.outerEnd!=i.end&&(r=i.outerEnd-i.end),n++}return r},_mergeGroups:function(e,t,r,n){if(this._isServerGrouped()){var i,a=t.toJSON();return e.length&&(i=e[e.length-1]),De(i,a,r,n),e.concat(a)}return e.concat(t.slice(r,n))},_processRangeData:function(e,r,n,i,a,s){var o=this;o._pending=t,o._skip=r>o.skip()&&!o._omitPrefetch?z.min(a,(o.totalPages()-1)*o.take()):i,o._currentRangeStart=r,o._take=n;var u=o.options.serverPaging,l=o.options.serverSorting,d=o.options.serverFiltering,g=o.options.serverAggregates;try{o.options.serverPaging=!0,o._isServerGrouped()||o.group()&&o.group().length||(o.options.serverSorting=!0),o.options.serverFiltering=!0,o.options.serverPaging=!0,o.options.serverAggregates=!0,u&&(o._detachObservableParents(),o._data=e=o._observe(e)),o._process(e,s)}finally{o.options.serverPaging=u,o.options.serverSorting=l,o.options.serverFiltering=d,o.options.serverAggregates=g}},skip:function(){var e=this;return e._skip===t?e._page!==t?(e._page-1)*(e.take()||1):t:e._skip},currentRangeStart:function(){return this._currentRangeStart||0},take:function(){return this._take||this._pageSize},_prefetchSuccessHandler:function(e,t,r,n){var i=this,a=i._timeStamp();return function(s){var o,u,l,d=!1,g={start:e,end:t,data:[],timestamp:i._timeStamp()};if(i._dequeueRequest(),i.trigger(G,{response:s,type:"read"}),s=i.reader.parse(s),(l=i._readData(s)).length){for(o=0,u=i._ranges.length;o<u;o++)if(i._ranges[o].start===e){d=!0,g=i._ranges[o],i._isGroupPaged()||(g.pristineData=l,g.data=i._observe(l),g.end=g.start+i._flatData(g.data,!0).length,i._sortRanges());break}d||i._addRange(i._observe(l),e)}i._total=i.reader.total(s),(n||a>=i._currentRequestTimeStamp||!i._skipRequestsInProgress)&&(r&&l.length?r():i.trigger(k,{}))}},prefetch:function(e,t,r){var n=this,i=z.min(e+t,n.total()),a={take:t,skip:e,page:e/t+1,pageSize:t,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._isGroupPaged()&&!n._isServerGrouped()&&n._groupRangeExists(e,i)?r&&r():n._isServerGroupPaged()&&!n._groupRangeExists(e,i)||!n._rangeExists(e,i)?(clearTimeout(n._timeout),n._timeout=setTimeout((function(){n._queueRequest(a,(function(){n.trigger(F,{type:"read"})?n._dequeueRequest():(n._omitPrefetch&&n.trigger(C),n.transport.read({data:n._params(a),success:n._prefetchSuccessHandler(e,i,r),error:function(){var e=L.call(arguments);n.error.apply(n,e)}}))}))}),100)):r&&r()},_multiplePrefetch:function(e,t,r){var n=this,i=z.min(e+t,n.total()),a={take:t,skip:e,page:e/t+1,pageSize:t,sort:n._sort,filter:n._filter,group:n._group,aggregate:n._aggregate};n._rangeExists(e,i)?r&&r():n.trigger(F,{type:"read"})||n.transport.read({data:n._params(a),success:n._prefetchSuccessHandler(e,i,r,!0)})},_adjustPageSkip:function(e,t){var r,n,i=this,a=i._getPrevRange(e),s=i.total();if(a){if(!(n=i._getRangesMismatch(e)))return e;e-=n}if((r=z.max(z.floor(e/t),0)*t)>s)for(;!((r-=t)<s););return r},_getNextRange:function(e){var t,r,n=this._ranges;for(t=0,r=n.length;t<r;t++)if(n[t].start<=e&&n[t].end>=e)return n[t]},_getPrevRange:function(e){var t,r,n=this._ranges;for(t=n.length-1;t>=0;t--)if(n[t].outerStart<=e){r=n[t];break}return r},_rangeExists:function(e,t){var r,n,i=this._ranges;for(r=0,n=i.length;r<n;r++)if(i[r].start<=e&&i[r].end>=t)return!0;return!1},_groupRangeExists:function(e,t){var r,n,i=this,a=i._ranges,s=0,o=i.groupsTotal(!0);for(t>o&&!i._isServerGrouped()&&(t=o),r=0,n=a.length;r<n;r++){var u=a[r];u.outerStart<=e&&u.outerEnd>=e?s+=u.outerEnd-e:u.outerStart<=t&&u.outerEnd>=t&&(s+=t-u.outerStart)}return s>=t-e},_getCurrentRangeSpan:function(){var e,t,r=this,n=r._ranges,i=r.currentRangeStart(),a=i+(r.take()||0),s=[],o=n.length;for(t=0;t<o;t++)((e=n[t]).start<=i&&e.end>=i||e.start>=i&&e.start<=a)&&s.push(e);return s},_removeModelFromRanges:function(e){for(var t,r=0,n=this._ranges.length;r<n;r++)t=this._ranges[r],this._removeModelFromRange(t,e);this._updateRangesLength()},_removeModelFromRange:function(e,t){this._eachItem(e.data,(function(e){if(e)for(var r=0;r<e.length;r++){var n=e[r];if(n.uid&&n.uid==t.uid){[].splice.call(e,r,1);break}}}))},_insertModelInRange:function(e,t){var r,n,i=this,a=i._ranges||[],s=a.length;for(n=0;n<s;n++)if((r=a[n]).start<=e&&r.end>=e){i._getByUid(t.uid,r.data)||(i._isServerGrouped()?r.data.splice(e,0,i._wrapInEmptyGroup(t)):r.data.splice(e,0,t));break}i._updateRangesLength()},_updateRangesLength:function(){var e,t,r=this,n=r._ranges||[],i=n.length,a=!1,s=0,o=0;for(t=0;t<i;t++)e=n[t],o=(r._isGroupPaged()?e.data.length:r._flatData(e.data,!0).length)-z.abs(e.end-e.start),a||0===o?a&&(e.start+=s,e.end+=s):(a=!0,s=o,e.end+=s)},_updateOuterRangesLength:function(){var e,t,r,n,i=this,a=i._ranges||[],s=a.length,o=0;for(t=0;t<s;t++)e=a[t],n=i._isGroupPaged()?i._calculateGroupsTotal(e.data,!0,"items",!0):i._flatData(e.data,!0).length,r?(r.end!=e.start&&(o=e.start-r.end),e.outerStart=r.outerEnd+o,o=0):e.outerStart=e.start,e.outerEnd=e.outerStart+n,r=e}}),Qe={};Qe.create=function(t,r,i){var s,o=t.transport?e.extend({},t.transport):null;return o?(o.read=typeof o.read===_?{url:o.read}:o.read,"jsdo"===t.type&&(o.dataSource=i),t.type&&(h.data.transports=h.data.transports||{},h.data.schemas=h.data.schemas||{},h.data.transports[t.type]?a(h.data.transports[t.type])?o=n(!0,{},h.data.transports[t.type],o):s=new h.data.transports[t.type](n(o,{data:r})):h.logToConsole("Unknown DataSource transport type '"+t.type+"'.\nVerify that registration scripts for this type are included after Kendo UI on the page.","warn"),t.schema=n(!0,{},h.data.schemas[t.type],t.schema)),s||(s=f(o.read)?o:new we(o))):s=new ke({data:t.data||[]}),s},Ve.create=function(r){(o(r)||r instanceof Q)&&(r={data:r});var i,a,u,l=r||{},d=l.data,g=l.fields,f=l.table,c=l.select,p={};if(d||!g||l.transport||(f?d=function(t,r){var n,i,a,s,o,u,l,d=e(t)[0].tBodies[0],g=d?d.rows:[],h=r.length,f=[];for(n=0,i=g.length;n<i;n++){for(o={},l=!0,s=g[n].cells,a=0;a<h;a++)"th"!==(u=s[a]).nodeName.toLowerCase()&&(l=!1,o[r[a].field]=u.innerHTML);l||f.push(o)}return f}(f,g):c&&(d=function(t,r){t=e(t)[0];var n,i,a,s,o,u,l=t.options,d=r[0],g=r[1],h=[];for(n=0,i=l.length;n<i;n++)o={},(a=(s=l[n]).parentNode)===t&&(a=null),s.disabled||a&&a.disabled||(a&&(o.optgroup=a.label),o[d.field]=s.text,u=(u=s.attributes.value)&&u.specified?s.value:s.text,o[g.field]=u,h.push(o));return h}(c,g),l.group===t&&d[0]&&d[0].optgroup!==t&&(l.group="optgroup"))),h.data.Model&&g&&(!l.schema||!l.schema.model)){for(i=0,a=g.length;i<a;i++)(u=g[i]).type&&(p[u.field]=u);s(p)||(l.schema=n(!0,l.schema,{model:{fields:p}}))}return l.data=d,c=null,l.select=null,f=null,l.table=null,l instanceof Ve?l:new Ve(l)};var We=te.define({idField:"id",init:function(e){var t=this,r=t.hasChildren||e&&e.hasChildren,i="items",a={};if(h.data.Model.fn.init.call(t,e),typeof t.children===_&&(i=t.children),a={schema:{data:i,model:{hasChildren:r,id:t.idField,fields:t.fields}}},typeof t.children!==_&&n(a,t.children),a.data=e,r||(r=a.schema.data),typeof r===_&&(r=h.getter(r)),f(r)){var s=r.call(t,t);s&&0===s.length?t.hasChildren=!1:t.hasChildren=!!s}t._childrenOptions=a,t.hasChildren&&t._initChildren(),t._loaded=!(!e||!e._loaded)},_initChildren:function(){var e,t,r,n=this;n.children instanceof Ke||(t=(e=n.children=new Ke(n._childrenOptions)).transport,r=t.parameterMap,t.parameterMap=function(e,t){return e[n.idField||"id"]=n.id,r&&(e=r.call(n,e,t)),e},e.parent=function(){return n},e.bind(k,(function(e){e.node=e.node||n,n.trigger(k,e)})),e.bind(x,(function(e){var t=n.parent();t&&(e.node=e.node||n,t.trigger(x,e))})),e.bind(O,(function(e){var t=n.parent();t&&t.trigger(O,e)})),n._updateChildrenField())},append:function(e){this._initChildren(),this.loaded(!0),this.children.add(e)},hasChildren:!1,level:function(){for(var e=this.parentNode(),t=0;e&&e.parentNode;)t++,e=e.parentNode?e.parentNode():null;return t},_updateChildrenField:function(){this[this._childrenOptions.schema.data||"items"]=this.children.data()},_childrenLoaded:function(){this._loaded=!0,this._updateChildrenField()},load:function(){var r,n,i={},a="_query";return this.hasChildren?(this._initChildren(),r=this.children,i[this.idField||"id"]=this.id,this._loaded||(r._data=t,a="read"),r.one(k,this._childrenLoaded.bind(this)),this._matchFilter&&(i.filter={field:"_matchFilter",operator:"eq",value:!0}),n=r[a](i),this._loaded||this.trigger(R,{promise:n,node:this})):this.loaded(!0),n||e.Deferred().resolve().promise()},parentNode:function(){return this.parent().parent()},loaded:function(e){if(e===t)return this._loaded;this._loaded=e},shouldSerialize:function(e){return te.fn.shouldSerialize.call(this,e)&&"children"!==e&&"_loaded"!==e&&"hasChildren"!==e&&"_childrenOptions"!==e}});function $e(e){return function(){var t=this._data,r=Ve.fn[e].apply(this,L.call(arguments));return this._data!=t&&this._attachBubbleHandlers(),r}}var Ke=Ve.extend({init:function(e){var t=We.define({children:e});e.filter&&!e.serverFiltering&&(this._hierarchicalFilter=e.filter,e.filter=null),Ve.fn.init.call(this,n(!0,{},{schema:{modelBase:t,model:t}},e)),this._attachBubbleHandlers()},_attachBubbleHandlers:function(){var e=this;e._data.bind(x,(function(t){e.trigger(x,t)})),e._data.bind(O,(function(t){e.trigger(O,t)}))},loading:function(){return!!this._data&&(this._data.loading()||this._childrenLoading())},_childrenLoading:function(){var e=!1;return this._data.forEach((function(t){t.hasChildren&&t.children.loading()&&(e=!0)})),e},read:function(e){var t=Ve.fn.read.call(this,e);return this._hierarchicalFilter&&(this._data&&this._data.length>0?this.filter(this._hierarchicalFilter):(this.options.filter=this._hierarchicalFilter,this._filter=de(this.options.filter),this._hierarchicalFilter=null)),t},remove:function(e){var t,r=e.parentNode(),n=this;return r&&r._initChildren&&(n=r.children),t=Ve.fn.remove.call(n,e),r&&!n.data().length&&(r.hasChildren=!1),t},success:$e("success"),data:$e("data"),insert:function(e,t){var r=this.parent();return r&&r._initChildren&&(r.hasChildren=!0,r._initChildren()),Ve.fn.insert.call(this,e,t)},filter:function(e){if(e===t)return this._filter;!this.options.serverFiltering&&this._markHierarchicalQuery(e)&&(e={logic:"or",filters:[e,{field:"_matchFilter",operator:"equals",value:!0}]}),this.trigger("reset"),this._query({filter:e,page:1})},_markHierarchicalQuery:function(t){var r,n=this.options.accentFoldingFiltering;return(t=n?e.extend({},de(t),{accentFoldingFiltering:n}):de(t))&&0!==t.filters.length?(r=ae.filterExpr(t,{noEval:!0}),this._updateHierarchicalFilter(r),!0):(this._updateHierarchicalFilter((function(){return!0})),!1)},_updateHierarchicalFilter:function(e){for(var t,r=this._data,n=!1,i=0;i<r.length;i++)(t=r[i]).hasChildren?(t._matchFilter=t.children._updateHierarchicalFilter(e),t._matchFilter||(t._matchFilter=e(t))):t._matchFilter=e(t),t._matchFilter&&(n=!0);return n},_find:function(e,t){var r,n,i,a,s=this._data;if(s){if(i=Ve.fn[e].call(this,t))return i;for(r=0,n=(s=this._flatData(this._data)).length;r<n;r++)if((a=s[r].children)instanceof Ke&&(i=a[e](t)))return i}},get:function(e){return this._find("get",e)},getByUid:function(e){return this._find("getByUid",e)}});function Xe(t,r){var n,i,a,s,o,u,l,d,g=e(t).children(),f=[],c=r[0].field,p=r[1]&&r[1].field,_=r[2]&&r[2].field,v=r[3]&&r[3].field;function m(e,t){return e.filter(t).add(e.find(t))}for(n=0,i=g.length;n<i;n++)a={_loaded:!0},u=(s=g.eq(n))[0].firstChild,t=(d=s.children()).filter("ul"),d=d.filter(":not(ul)"),(o=s.attr("data-id"))&&(a.id=o),u&&(a[c]=3==u.nodeType?u.nodeValue:d.text()),p&&(a[p]=m(d,"a").attr("href")),v&&(a[v]=m(d,"img").attr("src")),_&&(l=m(d,".k-sprite").prop("className"),a[_]=l&&h.trim(l.replace("k-sprite",""))),t.length&&(a.items=Xe(t.eq(0),r)),"true"==s.attr("data-hasChildren")&&(a.hasChildren=!0),f.push(a);return f}Ke.create=function(e){var t=(e=e&&e.push?{data:e}:e)||{},r=t.data,n=t.fields,i=t.list;return r&&r._dataSource?r._dataSource:(r||!n||t.transport||i&&(r=Xe(i,n)),t.data=r,t instanceof Ke?t:new Ke(t))};var Ye=h.Observable.extend({init:function(e,t,r){h.Observable.fn.init.call(this),this._prefetching=!1,this.dataSource=e,this.prefetch=!r;var n=this;e.bind("change",(function(){n._change()})),e.bind("reset",(function(){n._reset()})),this._syncWithDataSource(),this.setViewSize(t)},setViewSize:function(e){this.viewSize=e,this._recalculate()},at:function(e){var t=this.pageSize,r=!0;return e>=this.total()?(this.trigger("endreached",{index:e}),null):this.useRanges?this.useRanges?((e<this.dataOffset||e>=this.skip+t)&&(r=this.range(Math.floor(e/t)*t)),e===this.prefetchThreshold&&this._prefetch(),e===this.midPageThreshold?this.range(this.nextMidRange,!0):e===this.nextPageThreshold?this.range(this.nextFullRange):e===this.pullBackThreshold&&(this.offset===this.skip?this.range(this.previousMidRange):this.range(this.previousFullRange)),r?this.dataSource.at(e-this.dataOffset):(this.trigger("endreached",{index:e}),null)):void 0:this.dataSource.view()[e]},indexOf:function(e){return this.dataSource.data().indexOf(e)+this.dataOffset},total:function(){return parseInt(this.dataSource.total(),10)},next:function(){var e=this,t=e.pageSize,r=e.skip-e.viewSize+t,n=z.max(z.floor(r/t),0)*t;this.offset=r,this.dataSource.prefetch(n,t,(function(){e._goToRange(r,!0)}))},range:function(e,t){if(this.offset===e)return!0;var r=this,n=this.pageSize,i=z.max(z.floor(e/n),0)*n,a=this.dataSource;return t&&(i+=n),a.inRange(e,n)?(this.offset=e,this._recalculate(),this._goToRange(e),!0):!this.prefetch||(a.prefetch(i,n,(function(){r.offset=e,r._recalculate(),r._goToRange(e,!0)})),!1)},syncDataSource:function(){var e=this.offset;this.offset=null,this.range(e)},destroy:function(){this.unbind()},_prefetch:function(){var e=this,t=this.pageSize,r=this.skip+t,n=this.dataSource;n.inRange(r,t)||this._prefetching||!this.prefetch||(this._prefetching=!0,this.trigger("prefetching",{skip:r,take:t}),n.prefetch(r,t,(function(){e._prefetching=!1,e.trigger("prefetched",{skip:r,take:t})})))},_goToRange:function(e,t){this.offset===e&&(this.dataOffset=e,this._expanding=t,this.dataSource.range(e,this.pageSize),this.dataSource.enableRequestsInProgress())},_reset:function(){this._syncPending=!0},_change:function(){var e=this.dataSource;this.length=this.useRanges?e.lastRange().end:e.view().length,this._syncPending&&(this._syncWithDataSource(),this._recalculate(),this._syncPending=!1,this.trigger("reset",{offset:this.offset})),this.trigger("resize"),this._expanding&&this.trigger("expand"),delete this._expanding},_syncWithDataSource:function(){var e=this.dataSource;this._firstItemUid=e.firstItemUid(),this.dataOffset=this.offset=e.skip()||0,this.pageSize=e.pageSize(),this.useRanges=e.options.serverPaging},_recalculate:function(){var e=this.pageSize,t=this.offset,r=this.viewSize,n=Math.ceil(t/e)*e;this.skip=n,this.midPageThreshold=n+e-1,this.nextPageThreshold=n+r-1,this.prefetchThreshold=n+Math.floor(e/3*2),this.pullBackThreshold=this.offset-1,this.nextMidRange=n+e-r,this.nextFullRange=n,this.previousMidRange=t-r,this.previousFullRange=n-e}}),Ze=h.Observable.extend({init:function(e,t){var r=this;h.Observable.fn.init.call(r),this.dataSource=e,this.batchSize=t,this._total=0,this.buffer=new Ye(e,3*t),this.buffer.bind({endreached:function(e){r.trigger("endreached",{index:e.index})},prefetching:function(e){r.trigger("prefetching",{skip:e.skip,take:e.take})},prefetched:function(e){r.trigger("prefetched",{skip:e.skip,take:e.take})},reset:function(){r._total=0,r.trigger("reset")},resize:function(){r._total=Math.ceil(this.length/r.batchSize),r.trigger("resize",{total:r.total(),offset:this.offset})}})},syncDataSource:function(){this.buffer.syncDataSource()},at:function(e){var t,r=this.buffer,n=e*this.batchSize,i=this.batchSize,a=[];r.offset>n&&r.at(r.offset-1);for(var s=0;s<i&&null!==(t=r.at(n+s));s++)a.push(t);return a},total:function(){return this._total},destroy:function(){this.buffer.destroy(),this.unbind()}});n(!0,h.data,{readers:{json:Re},Query:ae,DataSource:Ve,HierarchicalDataSource:Ke,Node:We,Comparer:re,ObservableObject:X,ObservableArray:Q,LazyObservableArray:W,LocalTransport:ke,RemoteTransport:we,Cache:Pe,DataReader:Re,Model:te,Buffer:Ye,BatchBuffer:Ze})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.data.min.js.map
;!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?module.exports=l(require("kendo.html.base.js")):"function"==typeof define&&define.amd?define(["kendo.html.base.min"],l):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.input=e.kendohtml.input||{},e.kendohtml.input.js=l())}(this,(function(){return function(e,l){var t=window.kendo,n=t.html.HTMLBase,o=n.extend({init:function(e,l){var t=this;n.fn.init.call(t,e,l),t._wrapper(),t._addClasses()},options:{label:null,labelPosition:"after",labelId:null,encoded:!0},_wrapper:function(){var l=this,n=l.element[0],o=l.options,i=n.id;l.wrapper=l.element.addClass(o.inputClass).prop("type",o.type),!i&&o.label&&(n.id=i=t.guid()),o.label&&(l.labelEl=e("<label for='"+i+"' class='"+o.labelClass+"'>"),o.encoded?l.labelEl.text(o.label):l.labelEl.html(o.label),o.labelId&&l.labelEl.attr("id",o.labelId),o.optional&&l.labelEl.append("<span class='"+o.optionalClass+"'>"+o.optionalText+"</span>"),l.element[o.labelPosition](l.labelEl))},html:function(){var e=this,l="after"===e.options.labelPosition,t=n.fn.html.call(e);return e.labelEl?l?t+e.labelEl[0].outerHTML:e.labelEl[0].outerHTML+t:t}}),i=o.extend({init:function(e,l){o.fn.init.call(this,e,l),this._addClasses()},options:{name:"HTMLCheckBox",inputClass:"k-checkbox",labelClass:"k-checkbox-label",optionalClass:"k-label-optional",optionalText:"(Optional)",type:"checkbox",rounded:"medium",size:"medium",stylingOptions:["size","rounded"]}}),a=o.extend({init:function(e,l){o.fn.init.call(this,e,l),this._addClasses()},options:{name:"HTMLRadioButton",inputClass:"k-radio",labelClass:"k-radio-label",optionalClass:"k-label-optional",optionalText:"(Optional)",type:"radio",size:"medium",stylingOptions:["size"]}});e.extend(t.html,{renderCheckBox:function(t,n){return(arguments[0]===l||e.isPlainObject(arguments[0]))&&(n=t,t=e("<input />")),new i(t,n).html()},renderRadioButton:function(t,n){return(arguments[0]===l||e.isPlainObject(arguments[0]))&&(n=t,t=e("<input />")),new a(t,n).html()},HTMLInput:o,HTMLCheckBox:i,HTMLRadioButton:a}),t.cssProperties.registerPrefix("HTMLCheckBox","k-checkbox-"),t.cssProperties.registerValues("HTMLCheckBox",[{prop:"rounded",values:t.cssProperties.roundedValues.concat([["full","full"]])}]),t.cssProperties.registerPrefix("HTMLRadioButton","k-radio-")}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.input.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.data.js"),require("kendo.treeview.draganddrop.js"),require("kendo.html.input.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.data.min","kendo.treeview.draganddrop.min","kendo.html.input.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendotreeview=e.kendotreeview||{},e.kendotreeview.js=t())}(this,(function(){return function(e,t){var n,r,i,a,s,o=window.kendo,d=o.ui,l=o.data,c=o.htmlEncode,h=e.extend,u=o.template,p=Array.isArray,f=d.Widget,g=l.HierarchicalDataSource,m=o.keys,k=".kendoTreeView",v=".kendoTreeViewTemp",_="select",b="check",x="navigate",C="change",w="error",y="checked",S="indeterminate",N="dragstart",T="drag",I="drop",D="dragend",A="dataBound",B="itemsLoaded",E="loadCompleted",q="requestEnd",H="click",O="undefined",L="k-hover",U="k-treeview",V=".k-item",j="k-toggle-icon",F="<span class='"+j+"'></span>",R="string",P="aria-checked",M="aria-selected",G="aria-disabled",Q="aria-expanded",W="aria-activedescendant",J="aria-busy",K="k-disabled",X={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField"},Y=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&typeof e.nodeName===R};function z(e){return function(t){var n=t.children(".k-animation-container");return n.length||(n=t),n.children(e)}}function Z(e){return e.find(".k-checkbox-wrapper:first input[type=checkbox]")}function $(e){return function(t,n){var r,i=(n=n.closest(V)).parent();return i.parent().is("li")&&(r=i.parent()),this._dataSourceMove(t,i,r,(function(t,r){var i=this.dataItem(n),a=i&&n.parent().children().length!==i.parent().length?i.parent().indexOf(i):n.index();return this._insert(t.data(),r,a+e)}))}}function ee(t){var n=t.children("div"),r=t.children("ul"),i=n.find(".k-treeview-toggle > ."+j),a=t.children("input[type=checkbox]"),d=n.children(".k-in");t.hasClass("k-treeview")||(n.length||(n=e("<div />").prependTo(t)),!i.length&&r.length?i=e("<span class='k-treeview-toggle'>"+F+"</span>").prependTo(n):r.length&&r.children().length||(i.parent().remove(),r.remove(),t.removeAttr(Q)),a.length&&e("<span class='k-checkbox-wrapper' />").appendTo(n).append(a),d.length||((d=t.children("a").eq(0).addClass("k-in k-link")).length||(d=e("<span class='k-treeview-leaf k-in' />")),d.appendTo(n),n.length&&function(e,t){for(var n;e&&"ul"!=e.nodeName.toLowerCase();)n=e,e=e.nextSibling,3==n.nodeType&&(n.nodeValue=o.trim(n.nodeValue)),s.test(n.className)?t.insertBefore(n,t.firstChild):t.appendChild(n)}(n[0].nextSibling,d[0])))}r=z(".k-group"),i=z(".k-group,.k-content"),a=function(e){return e.children("div").find(".k-treeview-toggle > ."+j)},s=/k-sprite/,n=o.ui.DataBoundWidget.extend({init:function(e,t){var n,r,i=this,a=t&&!!t.dataSource;p(t)&&(t={dataSource:t}),t&&typeof t.loadOnDemand==O&&p(t.dataSource)&&(t.loadOnDemand=!1),f.prototype.init.call(i,e,t),e=i.element,t=i.options,i._dataSourceUids={},r=e.is("ul")&&e||e.hasClass(U)&&e.children("ul"),(n=!a&&r.length)&&(t.dataSource.list=r),i._animation(),i._accessors(),i._templates(),e.hasClass(U)?(i.wrapper=e,i.root=e.children("ul").eq(0)):(i._wrapper(),r&&(i.root=e,i._group(i.wrapper))),i._applyCssClasses(),i._tabindex(),i.wrapper.find(">ul").attr("role","tree"),i._dataSource(n),i._attachEvents(),i._dragging(),n?i._syncHtmlAndDataSource():t.autoBind&&(i._progress(!0),i.dataSource.fetch(this._attemptLoadCompleted.bind(this))),t.checkboxes&&t.checkboxes.checkChildren&&i.updateIndeterminate(),i.element[0].id?i._ariaId=o.format("{0}_tv_active",i.element[0].id):i._ariaId=o.guid()+"_tv_active",o.notify(i)},_attachEvents:function(){var t=this,n=".k-in:not(.k-selected,.k-disabled)",r="mouseenter";t._clickHandler=t._click.bind(t),t.wrapper.on(r+k,".k-in.k-selected",(function(e){e.preventDefault()})).on(r+k,n,(function(){e(this).addClass(L)})).on("mouseleave"+k,n,(function(){e(this).removeClass(L)})).on(H+k,n,t._clickHandler).on("dblclick"+k,".k-in:not(.k-disabled)",t._toggleButtonClick.bind(t)).on(H+k,"."+j,t._toggleButtonClick.bind(t)).on("keydown"+k,t,t._keydown.bind(t)).on("keypress"+k,t._keypress.bind(t)).on("focus"+k,t._focus.bind(t)).on("blur"+k,t._blur.bind(t)).on("mousedown"+k,".k-in,.k-checkbox-wrapper :checkbox,."+j,t._mousedown.bind(t)).on("change"+k,".k-checkbox-wrapper :checkbox",t._checkboxChange.bind(t)).on("click"+k,".k-request-retry",t._retryRequest.bind(t)).on("click"+k,".k-link.k-disabled",(function(e){e.preventDefault()})).on("click"+k,(function(n){var r=e(n.target);r.is(":kendoFocusable")||r.find("input,select,textarea,button,object").is(":kendoFocusable")||t.focus()}))},_syncHtmlAndDataSource:function(e,t){e=e||this.root;var n,r,i,a,s,d=(t=t||this.dataSource).view(),l=o.attr("uid"),c=o.attr("expanded"),h=this.options.checkboxes,u=e.children("li");for(n=0;n<u.length;n++)a=(i=d[n]).uid,(r=u.eq(n)).attr("role","treeitem").attr(l,a).attr(M,r.hasClass("k-selected")),i.expanded="true"===r.attr(c),i.hasChildren&&r.attr(Q,i.expanded),h&&(s=Z(r),i.checked=s.prop(y),s.attr("id","_"+a),s.next(".k-checkbox-label").attr("for","_"+a),r.attr(P,r.checked)),this._syncHtmlAndDataSource(r.children("ul"),i.children)},_animation:function(){var e=this.options,t=e.animation,n=t.collapse&&"effects"in t.collapse,r=h({},t.expand,t.collapse);n||(r=h(r,{reverse:!0})),!1===t&&(t={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),t.collapse=h(r,{hide:!0}),e.animation=t},_dragging:function(){var t=this.options.dragAndDrop,n=this.dragging;if(t&&!n){var r=this;this.dragging=new d.HierarchicalDragAndDrop(this.element,{reorderable:!0,autoScroll:this.options.autoScroll,filter:"div:not(.k-disabled) .k-in",allowedContainers:".k-treeview",itemSelector:".k-treeview .k-item",hintText:this._hintText.bind(this),clickMoveClick:!0===this.options.dragAndDrop.clickMoveClick,contains:function(t,n){return e.contains(t,n)},dropHintContainer:function(e){return e},itemFromTarget:function(e){var t=e.closest(".k-treeview-top,.k-treeview-mid,.k-treeview-bot");return{item:t,content:e.closest(".k-in"),first:t.hasClass("k-treeview-top"),last:t.hasClass("k-treeview-bot")}},dropPositionFrom:function(e){return e.prevAll(".k-in").length>0?"after":"before"},dragstart:function(e){return r.wrapper.attr(o.attr("scrollable"),!1),r.trigger(N,{sourceNode:e[0]})},drag:function(e){r.trigger(T,{originalEvent:e.originalEvent,sourceNode:e.source[0],dropTarget:e.target[0],pageY:e.pageY,pageX:e.pageX,statusClass:e.status,setStatusClass:e.setStatus})},drop:function(t){var n=e(t.dropTarget).closest("a");return n&&n.attr("href")&&r._tempPreventNavigation(n),r.trigger(I,{originalEvent:t.originalEvent,sourceNode:t.source,destinationNode:t.destination,valid:t.valid,setValid:function(e){this.valid=e,t.setValid(e)},dropTarget:t.dropTarget,dropPosition:t.position})},dragend:function(e){var t=e.source,n=e.destination,i=e.position;function a(t){r.options.checkboxes&&r.options.checkboxes.checkChildren&&r.updateIndeterminate(),r.current(t),r.element.focus(),r.trigger(D,{originalEvent:e.originalEvent,sourceNode:t&&t[0],destinationNode:n[0],dropPosition:i})}r.wrapper.removeAttr(o.attr("scrollable")),"over"==i?r.append(t,n,a):("before"==i?t=r.insertBefore(t,n):"after"==i&&(t=r.insertAfter(t,n)),a(t))}})}else!t&&n&&(n.destroy(),this.dragging=null)},_tempPreventNavigation:function(e){e.on(H+k+v,(function(t){t.preventDefault(),e.off(H+k+v)}))},_hintText:function(e){return this.templates.dragClue({item:this.dataItem(e),treeview:this.options})},_templates:function(){var t=this,n=t.options,r=t._fieldAccessor.bind(t);n.template&&typeof n.template==R?n.template=u(n.template):n.template||(n.template=function(e){var t=e.item,n=r("text")(t);return void 0!==t.encoded&&!1===t.encoded?"<span class='k-treeview-leaf-text'>"+n+"</span>":"<span class='k-treeview-leaf-text'>"+c(n)+"</span>"}),t._checkboxes(),t.templates={setAttributes:function(e){var t="",n=e.attr||{};for(var r in n)n.hasOwnProperty(r)&&"class"!==r&&(t+=r+'="'+n[r]+'" ');return t},wrapperCssClass:function(e,t){var n="k-item k-treeview-item",r=t.index;return e.firstLevel&&0===r&&(n+=" k-first"),r==e.length-1&&(n+=" k-last"),n},cssClass:function(e,t){var n="",r=t.index,i=e.length-1;return e.firstLevel&&0===r&&(n+="k-treeview-top "),n+=0===r&&r!=i?"k-treeview-top":r==i?"k-treeview-bot":"k-treeview-mid"},textClass:function(e,t){var n="k-treeview-leaf k-in";return t&&(n+=" k-link"),!1===e.enabled&&(n+=" k-disabled"),!0===e.selected&&(n+=" k-selected"),n},checkboxClass:function(e){var t="k-checkbox";return!1===e.enabled&&(t+=" k-disabled"),t},toggleButtonClass:function(e){var t="k-treeview-toggle";return!1===e.enabled&&(t+=" k-disabled"),t},toggleIcon:function(e,n){return!0!==n.expanded?d.icon(e,{icon:"caret-alt-"+(o.support.isRtl(t.element)?"left":"right")}):d.icon(e,{icon:"caret-alt-down"})},groupAttributes:function(e){var t="";return e.firstLevel||(t="role='group'"),t+(!0!==e.expanded?" "+o.attr("style-display")+'="none"':"")},groupCssClass:function(e){var t="k-group k-treeview-group";return e.firstLevel&&(t+=" k-treeview-lines"),t},dragClue:function(e){return e.treeview.template(e)},group:function(e){return"<ul class='"+e.r.groupCssClass(e.group)+"'"+e.r.groupAttributes(e.group)+">"+e.renderItems(e)+"</ul>"},itemContent:function(e){var t=r("imageUrl")(e.item),n=r("spriteCssClass")(e.item),i="";return t&&(i+="<img class='k-image' alt='' src='"+t+"'>"),n&&(i+="<span class='k-sprite "+n+"'></span>"),i+=e.treeview.template(e)},itemElement:function(t){var n=t.item,i=t.r,a=r("url")(n),s=a?"a":"span",o=a?' href="'+a+'"':"",d='<div class="'+i.cssClass(t.group,n)+'">';return n.hasChildren&&(d+="<span class='"+i.toggleButtonClass(n)+"'>"+i.toggleIcon(e(F),n)+"</span>"),t.treeview.checkboxes&&(d+="<span class='k-checkbox-wrapper' role='presentation'>"+t.treeview.checkboxes.template(t)+"</span>"),d+="<"+s+" class='"+i.textClass(n,!!a)+"'"+o+">"+i.itemContent(t)+"</"+s+">",d+="</div>"},item:function(e){var t=e.item,n=e.r,r="<li role='treeitem' class=\""+n.wrapperCssClass(e.group,t)+'"'+o.attr("uid")+'="'+t.uid+'"'+n.setAttributes(t.toJSON?t.toJSON():t)+" ";return e.treeview.checkboxes&&(r+='aria-checked="'+(t.checked?"true":"false")+'" '),r+='aria-selected="'+(t.selected?"true":"false")+'" '+(!1===t.enabled?'aria-disabled="true"':""),t.hasChildren&&(r+='aria-expanded="'+(t.expanded?"true":"false")+'" '),r+='data-expanded="'+(t.expanded?"true":"false")+'" >'+n.itemElement(e)+"</li>"},loading:function(e){var t=e.messages;return"<div class='k-icon k-i-loading'></div> "+c(t.loading)},retry:function(e){var t=e.messages;return c(t.requestFailed)+" <button class='k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-request-retry'><span class='k-button-text'>"+c(t.retry)+"</span></button>"}}},items:function(){return this.element.find(".k-item > div:first-child")},setDataSource:function(e){var t=this.options;t.dataSource=e,this._dataSourceUids={},this._dataSource(),t.checkboxes&&t.checkboxes.checkChildren&&this.dataSource.one("change",this.updateIndeterminate.bind(this,null)),this.options.autoBind&&this.dataSource.fetch(this._attemptLoadCompleted.bind(this))},_bindDataSource:function(){var e=this;e._refreshHandler=e.refresh.bind(e),e._errorHandler=e._error.bind(e),e._loadCompletedHandler=e._loadCompleted.bind(e),e._requestEndHandler=e._dsRequestEnd.bind(e),e._loadedNodes=[],e.dataSource.bind(C,e._refreshHandler),e.dataSource.bind(w,e._errorHandler),e.dataSource.bind(B,e._loadCompletedHandler),e.dataSource.bind(q,e._requestEndHandler)},_dsRequestEnd:function(e){var t=this;setTimeout((function(){"read"!==e.type||t._loadCompletedFired||t._attemptLoadCompleted()}))},_loadCompleted:function(e){var t=this;t._loadedNodes=t._loadedNodes.concat(e.nodes),t.dataSource.loading()||!1!==t.options.loadOnDemand||(t.trigger(E,{nodes:t._loadedNodes}),t._loadedNodes=[])},_attemptLoadCompleted:function(){var e,t,n=this,r=n.dataSource.view();if(!1===n.options.loadOnDemand){for(t=0;t<r.length;t++)if((e=r[t]).hasChildren&&(!e.children||!e.children.data()||0===e.children.data().length))return;n._loadCompletedFired=!0,n.trigger(E,{nodes:[]})}},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(C,this._refreshHandler),e.unbind(w,this._errorHandler),e.unbind(B,this._loadCompletedHandler),e.unbind(q,this._requestEndHandler))},_dataSource:function(e){var t=this,n=t.options.dataSource;n=p(n)?{data:n}:n,t._unbindDataSource(),n.fields||(n.fields=[{field:"text"},{field:"url"},{field:"spriteCssClass"},{field:"imageUrl"}]),t.dataSource=n=g.create(n),e&&(n.fetch(),function e(t){for(var n=0;n<t.length;n++)t[n]._initChildren(),t[n].children.fetch(),e(t[n].children.view())}(n.view())),t._bindDataSource()},events:[N,T,I,D,A,E,"expand","collapse",_,C,x,b,"kendoKeydown"],options:{name:"TreeView",dataSource:{},animation:{expand:{effects:"expand:vertical",duration:200},collapse:{duration:100}},messages:{loading:"Loading...",requestFailed:"Request failed.",retry:"Retry"},dragAndDrop:!1,checkboxes:!1,autoBind:!0,autoScroll:!1,loadOnDemand:!0,template:"",dataTextField:null,size:"medium"},_accessors:function(){var e,t,n,r=this.options,i=this.element;for(e in X)t=r[X[e]],n=i.attr(o.attr(e+"-field")),!t&&n&&(t=n),t||(t=e),p(t)||(t=[t]),r[X[e]]=t},_fieldAccessor:function(t){var n=this.options[X[t]],r=n.length;return function(i){return 0===r?o.getter(t)(i):e.map(n,(function(e){return function(t){return o.getter(e)(t)}}))[Math.min(i.level(),r-1)](i)}},setOptions:function(e){f.fn.setOptions.call(this,e),this._animation(),this._dragging(),this._accessors(),this._templates()},_trigger:function(e,t){return this.trigger(e,{node:t.closest(V)[0]})},_setChecked:function(e,t){if(e&&o.isFunction(e.view))for(var n=0,r=e.view();n<r.length;n++)!1!==r[n].enabled&&this._setCheckedValue(r[n],t),r[n].children&&this._setChecked(r[n].children,t)},_setCheckedValue:function(e,t){e[y]=t},_setIndeterminate:function(e){var t,n,i,a=r(e),s=!0;if(a.length&&(n=(t=Z(a.children())).length)){if(n>1){for(i=1;i<n;i++)if(t[i].checked!=t[i-1].checked||t[i].indeterminate||t[i-1].indeterminate){s=!1;break}}else s=!t[0].indeterminate;return e.attr(P,s?t[0].checked:"mixed"),Z(e).data(S,!s).prop(S,!s).prop(y,s&&t[0].checked)}},updateIndeterminate:function(e){e=e||this.wrapper;var t,n,i,a=r(e).children();if(a.length){for(t=0;t<a.length;t++)this.updateIndeterminate(a.eq(t));if(e.is(".k-treeview"))return;n=this._setIndeterminate(e),i=this.dataItem(e),n&&n.prop(y)?i.checked=!0:i&&delete i.checked}},_bubbleIndeterminate:function(e,t){if(e.length){t||this.updateIndeterminate(e);var n,r=this.parent(e);r.length&&(this._setIndeterminate(r),n=r.children("div").find(".k-checkbox-wrapper input[type=checkbox]"),this._skip=!0,!1===n.prop(S)?this.dataItem(r).set(y,n.prop(y)):this.dataItem(r).set(y,!1),this._skip=!1,this._bubbleIndeterminate(r,!0))}},_checkboxChange:function(t){var n=e(t.target),r=n.prop(y),i=n.closest(V),a=this.dataItem(i);this._preventChange||(a.checked!=r&&(a.set(y,r),i.attr(P,r),this._trigger(b,i)),n.is(":focus")&&(this._trigger(x,i),this.focus()))},_toggleButtonClick:function(t){var n=e(t.currentTarget).closest(V);n.is("[aria-disabled='true']")||this.toggle(n)},_mousedown:function(t){var n=this,r=e(t.currentTarget),i=e(t.currentTarget).closest(V),a=o.support.browser;i.is("[aria-disabled='true']")||((a.msie||a.edge)&&r.is(":checkbox")&&(r.prop(S)?(n._preventChange=!1,r.prop(y,!r.prop(y)),r.trigger(C),r.on(H+k,(function(e){e.preventDefault()})),n._preventChange=!0):(r.off(H+k),n._preventChange=!1)),n._clickTarget=i,n.current(i))},_focusable:function(e){return e&&e.length&&e.is(":visible")&&!e.find(".k-in").first().hasClass(K)},_focus:function(){var t=this.select(),n=this._clickTarget;o.support.touch||(n&&n.length&&(t=n),this._focusable(t)||(t=this.current()),this._focusable(t)||(t=this._nextVisible(e())),this.current(t))},focus:function(){var e,t=this.wrapper,n=t[0],r=[],i=[],a=document.documentElement;do{(n=n.parentNode).scrollHeight>n.clientHeight&&(r.push(n),i.push(n.scrollTop))}while(n!=a);for(o.focusElement(t),e=0;e<r.length;e++)r[e].scrollTop=i[e]},_blur:function(){this.current().find(".k-in").first().removeClass("k-focus")},_enabled:function(e){return!e.children("div").children(".k-in").hasClass(K)},parent:function(t){var n,r,i=/\bk-treeview\b(?!-)/,a=/\bk-item\b/;typeof t==R&&(t=this.element.find(t)),Y(t)||(t=t[0]),r=a.test(t.className);do{t=t.parentNode,a.test(t.className)&&(r?n=t:r=!0)}while(!i.test(t.className)&&!n);return e(n)},_nextVisible:function(e){var t,n=this,i=n._expanded(e);function a(e){for(;e.length&&!e.next().length;)e=n.parent(e);return e.next().length?e.next():e}return e.length&&e.is(":visible")?i&&(t=r(e).children().first()).length||(t=a(e)):t=n.root.children().eq(0),t},_previousVisible:function(e){var t,n,i=this;if(!e.length||e.prev().length)for(n=e.length?e.prev():i.root.children().last();i._expanded(n)&&(t=r(n).children().last()).length;)n=t;else n=i.parent(e)||e;return n},_keydown:function(n){var r,i=this,a=n.keyCode,s=i.current(),d=i._expanded(s),l=s.find(".k-checkbox-wrapper").first().find(":checkbox"),c=o.support.isRtl(i.element);n.target==n.currentTarget&&(!c&&a==m.RIGHT||c&&a==m.LEFT?d?r=i._nextVisible(s):s.find(".k-in").first().hasClass(K)||i.expand(s):!c&&a==m.LEFT||c&&a==m.RIGHT?d&&!s.find(".k-in").first().hasClass(K)?i.collapse(s):(r=i.parent(s),i._enabled(r)||(r=t)):a==m.DOWN?r=i._nextVisible(s):a==m.UP?r=i._previousVisible(s):a==m.HOME?r=i._nextVisible(e()):a==m.END?r=i._previousVisible(e()):a!=m.ENTER||s.find(".k-in").first().hasClass(K)?a==m.SPACEBAR&&l.length&&(s.find(".k-in").first().hasClass(K)||(l.prop(y,!l.prop(y)).data(S,!1).prop(S,!1),i._checkboxChange({target:l})),r=s):s.find(".k-in").first().hasClass("k-selected")||i._trigger(_,s)||i.select(s),r&&(n.preventDefault(),s[0]!=r[0]&&(i._trigger(x,r),i.current(r))))},_keypress:function(e){var t,n=this,r=n.current().get(0),i=e.key;1===i.length&&(n._match||(n._match=""),n._match+=i,clearTimeout(n._matchTimer),n._matchTimer=setTimeout((function(){n._match=""}),300),(t=r&&n._matchNextByText(Array.prototype.indexOf.call(n.element.find(".k-item"),r),n._match)).length||(t=n._matchNextByText(-1,n._match)),t.get(0)&&t.get(0)!==r&&(n._trigger(x,t),n.current(t)))},_matchNextByText:function(t,n){return this.element.find(".k-in").filter((function(r,i){return r>t&&e(i).is(":visible")&&0===e(i).text().toLowerCase().indexOf(n)})).eq(0).closest(V)},_click:function(t){var n=e(t.currentTarget),r=i(n.closest(V)),a=n.attr("href");(a?"#"==a||a.indexOf("#"+this.element.id+"-")>=0:r.length&&!r.children().length)&&t.preventDefault(),n.hasClass(".k-selected")||this._trigger(_,n)||this.select(n)},_wrapper:function(){var e,t,n=this,r=n.element;r.is("ul")?(e=r.wrap("<div />").parent(),t=r):t=(e=r).children("ul").eq(0),n.wrapper=e.addClass("k-treeview"),n.root=t},_getSelectedNode:function(){return this.element.find(".k-selected").closest(V)},_group:function(e){var t=this,n=e.hasClass(U),r={firstLevel:n,expanded:n||t._expanded(e)},i=e.children("ul");i.addClass(t.templates.groupCssClass(r)).css("display",r.expanded?"":"none"),n||i.attr("role","group"),t._nodes(i,r)},_nodes:function(t,n){var r,i=this,a=t.children("li");n=h({length:a.length},n),a.each((function(t,a){a=e(a),r={index:t,expanded:i._expanded(a)},ee(a),i._updateNodeClasses(a,n,r),i._group(a)}))},_checkboxes:function(){var t,n=this.options,r=n.checkboxes;r&&(t=(t=o.html.renderCheckBox(e("<input/>"),e.extend({},n,{rounded:"medium"}))).replace(">",""),typeof(r=h({template:function(e){var n=e.item;return t+' id="_'+n.uid+'" aria-hidden="true" type="checkbox" tabindex="-1"'+(r.name?'name="'+r.name+'"':"")+" "+(!1===n.enabled?"disabled":"")+" "+(n.checked?"checked":"")+"/>"}},n.checkboxes)).template==R&&(r.template=u(r.template)),n.checkboxes=r)},_updateNodeClasses:function(e,t,n){var r=e.children("div"),i=e.children("ul"),a=this.templates;if(!e.hasClass("k-treeview")){(n=n||{}).expanded=typeof n.expanded!=O?n.expanded:this._expanded(e),n.index=typeof n.index!=O?n.index:e.index(),n.enabled=typeof n.enabled!=O?n.enabled:!r.children(".k-in").hasClass("k-disabled"),(t=t||{}).firstLevel=typeof t.firstLevel!=O?t.firstLevel:e.parent().parent().hasClass(U),t.length=typeof t.length!=O?t.length:e.parent().children().length,e.removeClass("k-first k-last").addClass(a.wrapperCssClass(t,n)),r.removeClass("k-treeview-top k-treeview-mid k-treeview-bot").addClass(a.cssClass(t,n)),r.find(".k-checkbox").removeClass("k-checkbox k-disabled").addClass(a.checkboxClass(n));var s=r.children(".k-in"),o=s[0]&&"a"==s[0].nodeName.toLowerCase();if(s.removeClass("k-in k-link k-disabled").addClass(a.textClass(n,o)),i.length||"true"==e.attr("data-hasChildren")){var d=r.find(".k-treeview-toggle"),l=d.children("."+j);d.removeClass("k-treeview-toggle k-disabled").addClass(a.toggleButtonClass(n)),a.toggleIcon(l,n),i.addClass("k-group k-treeview-group")}}},_processNodes:function(t,n){for(var r=this.element.find(t),i=0;i<r.length;i++)n.call(this,i,e(r[i]).closest(V))},dataItem:function(t){var n=e(t).closest(V).attr(o.attr("uid")),r=this.dataSource;return r&&r.getByUid(n)},_dataItem:function(t){var n=e(t).closest(V).attr(o.attr("uid"));return this.dataSource&&this._dataSourceUids[n]},_insertNode:function(t,n,i,a,s){var d,l,c,h,u,p,f=this,g=r(i),m=g.children().length+1,k={firstLevel:i.hasClass(U),expanded:!s,length:m},v="",_=function(e,t){e.appendTo(t)};for(c=0;c<t.length;c++)(h=t[c]).index=n+c,v+=f._renderItem({group:k,item:h});if((l=e(v)).length){for(g.length||(g=e(f._renderGroup({group:k})),o.applyStylesFromKendoAttributes(g,["display"]),g.appendTo(i),i.attr(Q,!0)),a(l,g),i.hasClass("k-item")&&(ee(i),f._updateNodeClasses(i,k,{expanded:!s})),u=l.prev().first(),p=l.next().last(),f._updateNodeClasses(u,{},{expanded:"true"==u.attr(o.attr("expanded"))}),f._updateNodeClasses(p,{},{expanded:"true"==p.attr(o.attr("expanded"))}),c=0;c<t.length;c++)(h=t[c]).hasChildren&&(d=h.children.data()).length&&f._insertNode(d,h.index,l.eq(c),_,!h.expanded);return l}},_updateNodes:function(t,n){var r,a,s,l,c,h,u=this,p={treeview:u.options,item:l},f="expanded"!=n&&"checked"!=n;function g(e,t){e.is(".k-group")&&e.find(".k-item:not([aria-disabled])").attr(P,t),e.find(".k-checkbox-wrapper input[type=checkbox]:not([disabled])").prop(y,t).data(S,!1).prop(S,!1)}if("selected"==n)l=t[0],(a=u.findByUid(l.uid)).find(".k-in").first().removeClass("k-hover").toggleClass("k-selected",l[n]).end(),l[n]&&u.current(a),a.attr(M,!!l[n]);else{var m=e.map(t,(function(e){return u.findByUid(e.uid).children("div")}));for(r=0;r<t.length;r++)p.item=l=t[r],a=(s=m[r]).parent(),f&&(o.unbind&&o.unbind(s),s.children(".k-in").html(u.templates.itemContent(p))),n==y?(g(s,c=l[n]),a.attr(P,c),u.options.checkboxes.checkChildren&&(g(a.children(".k-group"),c),u._setChecked(l.children,c),u._bubbleIndeterminate(a))):"expanded"==n?u._toggle(a,l,l[n]):"enabled"==n&&(a.find(".k-checkbox-wrapper input[type=checkbox]").prop("disabled",!l[n]),h=!i(a).is(":visible"),a.removeAttr(G),l[n]||(l.selected&&l.set("selected",!1),l.expanded&&l.set("expanded",!1),h=!0,a.attr(M,!1).attr(G,!0)),u._updateNodeClasses(a,{},{enabled:l[n],expanded:!h})),s.length&&this.trigger("itemChange",{item:s,data:l,ns:d})}},_appendItems:function(e,t,n){var i=r(n).children(),a=!this._expanded(n);if(this.element===n){var s=this.dataSource.data(),o=this.dataSource.view(),d=o.length<s.length?o:s;e=d.indexOf(t[0])}else t.length&&(e=t[0].parent().indexOf(t[0]));typeof e==O&&(e=i.length),this._insertNode(t,e,n,(function(t,n){e>=i.length?t.appendTo(n):t.insertBefore(i.eq(e))}),a),a||(this._updateNodeClasses(n,{},{expanded:!a}),r(n).css("display","block"))},_refreshChildren:function(e,t,n){var i,a,s,o=this.options,l=o.loadOnDemand,c=o.checkboxes&&o.checkboxes.checkChildren;if(r(e).empty(),t.length)for(this._appendItems(n,t,e),a=r(e).children(),l&&c&&this._bubbleIndeterminate(a.last()),i=0;i<a.length;i++)s=a.eq(i),this.trigger("itemChange",{item:s.children("div"),data:t[i],ns:d});else ee(e)},_refreshRoot:function(t){var n=this._renderGroup({items:t,group:{firstLevel:!0,expanded:!0}});if(this.root.length&&this.root[0].parentElement){var r=e(n);this.root.attr("class",r.attr("class")).html(r.html())}else this.root=this.wrapper.html(n).children("ul");for(var i=this.root.children(".k-item"),a=0;a<t.length;a++)this.trigger("itemChange",{item:i.eq(a),data:t[a],ns:d})},refresh:function(e){var n,r=e.node,i=e.action,a=e.items,s=this.wrapper,o=this.options,d=o.loadOnDemand,l=o.checkboxes&&o.checkboxes.checkChildren;if(!this._skip){for(n=0;n<a.length;n++)this._dataSourceUids[a[n].uid]=a[n];if(e.field){if(!a[0]||!a[0].level)return;return this._updateNodes(a,e.field)}if(r&&(s=this.findByUid(r.uid),this._progress(s,!1)),l&&"remove"!=i){var c=!1;for(n=0;n<a.length;n++)if("checked"in a[n]){c=!0;break}if(!c&&r&&r.checked)for(n=0;n<a.length;n++)a[n].checked=!0}if("add"==i?this._appendItems(e.index,a,s):"remove"==i?this._remove(this.findByUid(a[0].uid),!1):"itemchange"==i?this._updateNodes(a):"itemloaded"==i?this._refreshChildren(s,a,e.index):(this._refreshRoot(a),this.element.attr(J,!1)),"remove"!=i)for(n=0;n<a.length;n++)(!d||a[n].expanded||a[n]._loaded)&&a[n].load();this.wrapper.find(">ul").attr("role","tree"),this.trigger(A,{node:r?s:t}),this.dataSource.filter()&&this.options.checkboxes.checkChildren&&this.updateIndeterminate(s)}},_error:function(t){var n=t.node&&this.findByUid(t.node.uid),r=this.templates.retry({messages:this.options.messages});n?(this._progress(n,!1),this._expanded(n,!1),a(n).replaceWith(d.icon(e(F),{icon:"arrow-rotate-cw"})),t.node.loaded(!1)):(this._progress(!1),this.dataSource.data([]),this.element.html(r))},_retryRequest:function(e){e.preventDefault(),this.dataSource.fetch(this._attemptLoadCompleted.bind(this))},expand:function(e){this._processNodes(e,(function(e,t){this.toggle(t,!0)}))},collapse:function(e){this._processNodes(e,(function(e,t){this.toggle(t,!1)}))},enable:function(e,t){"boolean"==typeof e?(t=e,e=this.items()):t=2!=arguments.length||!!t,this._processNodes(e,(function(e,n){this.dataItem(n).set("enabled",t)}))},current:function(t){var n=this,r=n._current,i=n.element;return arguments.length>0&&t&&t.length?(r&&r.find(".k-in").first().removeClass("k-focus"),(r=n._current=e(t,i).closest(V)).find(".k-in").first().addClass("k-focus"),void n._updateActiveDescendant()):(r||(r=n._nextVisible(e())),r)},_updateActiveDescendant:function(){var e=this._current,t=e[0].id||this._ariaId,n=this.element.find("#"+this._ariaId);n.length>0&&n.removeAttr("id"),this.root.removeAttr(W),e.attr("id",t),this.root.attr(W,t)},select:function(t){var n=this,r=n.element;if(!arguments.length)return r.find(".k-selected").closest(V);t=e(t,r).closest(V),r.find(".k-selected").each((function(){var t=n.dataItem(this);t?(t.set("selected",!1),delete t.selected):e(this).removeClass("k-selected")})),t.length&&(n.dataItem(t).set("selected",!0),n._clickTarget=t),n.trigger(C)},_toggle:function(e,t,n){var r,a=this.options,s=i(e),o=n?"expand":"collapse";s.data("animating")||(r=t&&t.loaded(),n&&!r?(a.loadOnDemand&&this._progress(e,!0),s.remove(),t.load()):(this._updateNodeClasses(e,{},{expanded:n}),n||s.css("height",s.height()).css("height"),s.kendoStop(!0,!0).kendoAnimate(h({reset:!0},a.animation[o],{complete:function(){n&&s.css("height","")}}))))},toggle:function(t,n){t=e(t),a(t)&&(1==arguments.length&&(n=!this._expanded(t)),this._expanded(t,n))},destroy:function(){var e=this;f.fn.destroy.call(e),e.wrapper.off(k),e.wrapper.find(".k-checkbox-wrapper :checkbox").off(k),e._clickHandler=null,e._unbindDataSource(),e.dragging&&e.dragging.destroy(),e._dataSourceUids={},o.destroy(e.element),e.root=e.wrapper=e.element=null},_expanded:function(e,t,n){var r,a=o.attr("expanded"),s=t,d=s?"expand":"collapse";if(e.children().hasClass("k-hidden")&&e.children().removeClass("k-hidden"),1==arguments.length)return r=this._dataItem(e),"true"===e.attr(a)||r&&r.expanded;r=this.dataItem(e),i(e).data("animating")||!n&&this._trigger(d,e)||(s?(e.attr(a,"true"),e.attr(Q,"true")):(e.removeAttr(a),e.attr(Q,"false")),r&&(r.set("expanded",s),s=r.expanded))},_progress:function(t,n){var r=this.element,i=this.templates.loading({messages:this.options.messages});1==arguments.length?((n=t)?r.html(i):r.empty(),this.element.attr(J,n)):(a(t).replaceWith(e(F).toggleClass("k-i-loading",n).toggleClass("k-icon",n)),t.attr(J,n))},text:function(e,t){var n=this.dataItem(e),r=this.options[X.text],i=n.level(),a=r.length,s=r[Math.min(i,a-1)];if(!t)return n[s];n.set(s,t)},_objectOrSelf:function(t){return e(t).closest("[data-role=treeview]").data("kendoTreeView")||this},_dataSourceMove:function(t,n,r,i){var a,s=this._objectOrSelf(r||n),o=s.dataSource,d=e.Deferred().resolve().promise();return r&&r[0]!=s.element[0]&&((a=s.dataItem(r)).loaded()||(s._progress(r,!0),d=a.load()),r!=this.root&&((o=a.children)&&o instanceof g||(a._initChildren(),a.loaded(!0),o=a.children))),t=this._toObservableData(t),i.call(s,o,t,d)},_toObservableData:function(t){var n,r,i,a=t;return((i=t)instanceof o.jQuery||window.jQuery&&i instanceof window.jQuery||Y(t))&&(n=this._objectOrSelf(t).dataSource,r=e(t).attr(o.attr("uid")),(a=n.getByUid(r))&&(a=n.remove(a))),a},_insert:function(e,t,n){t instanceof o.data.ObservableArray?t=t.toJSON():p(t)||(t=[t]);var r=e.parent();return r&&r._initChildren&&(r.hasChildren=!0,r._initChildren()),e.splice.apply(e,[n,0].concat(t)),this.findByUid(e[n].uid)},insertAfter:$(1),insertBefore:$(0),append:function(t,n,i){var a=this.root;if(!(n&&t instanceof jQuery&&n[0]===t[0]))return(n=n&&n.length?n:null)&&(a=r(n)),this._dataSourceMove(t,a,n,(function(t,r,a){var s,o=this;return a.done((function(){s=function(){n&&o._expanded(n,!0,!0);var e=t.data(),i=Math.max(e.length,0);return o._insert(e,r,i)}(),(i=i||e.noop)(s)})),s||null}))},_remove:function(t,n){var r,i,a,s=this;return(t=e(t,s.element)).attr("id")===s.root.attr(W)&&s.root.removeAttr(W),r=t.parent().parent(),i=t.prev(),a=t.next(),t[n?"detach":"remove"](),r.hasClass("k-item")&&(ee(r),s._updateNodeClasses(r)),s._updateNodeClasses(i),s._updateNodeClasses(a),t},remove:function(e){var t=this.dataItem(e);t&&this.dataSource.remove(t)},detach:function(e){return this._remove(e,!0)},findByText:function(t){return e(this.element).find(".k-in").filter((function(n,r){return e(r).text()==t})).closest(V)},findByUid:function(t){for(var n,r=this.element.find(".k-item"),i=o.attr("uid"),a=0;a<r.length;a++)if(r[a].getAttribute(i)==t){n=r[a];break}return e(n)},expandPath:function(t,n){var r=this,i=t.slice(0),a=n||e.noop;function s(t){var n,i=e.Deferred(),a=r.dataSource.get(t),s=o.attr("expanded");return a?(n=r.findByUid(a.uid),a.loaded()?(a.set("expanded",!0),n.attr(s,!0),n.attr(Q,!0),i.resolve()):(r._progress(n,!0),a.load().then((function(){a.set("expanded",!0),n.attr(s,!0),n.attr(Q,!0),i.resolve()})))):i.resolve(),i.promise()}s(i[0]).then((function e(){i.shift(),i.length?s(i[0]).then(e):a.call(r)}))},_parentIds:function(e){for(var t=e&&e.parentNode(),n=[];t&&t.parentNode;)n.unshift(t.id),t=t.parentNode();return n},expandTo:function(e){e instanceof o.data.Node||(e=this.dataSource.get(e));var t=this._parentIds(e);this.expandPath(t)},_renderItem:function(e){return e.group||(e.group={}),e.treeview=this.options,e.r=this.templates,this.templates.item(e)},_renderGroup:function(e){var t=this;return e.renderItems=function(e){var n="",r=0,i=e.items,a=i?i.length:0,s=e.group;for(s.length=a;r<a;r++)e.group=s,e.item=i[r],e.item.index=r,n+=t._renderItem(e);return n},e.r=t.templates,t.templates.group(e)}}),o.cssProperties.registerPrefix("TreeView","k-treeview-"),d.plugin(n)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.treeview.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.data.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.data.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendobinder=e.kendobinder||{},e.kendobinder.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.htmlEncode,s=i.Observable,a=i.data.ObservableObject,r=i.data.ObservableArray,d={}.toString,o={},h=i.Class,l="value",c="source",g="events",u="checked",f=!0,b="function",v="change";!function(){var e=document.createElement("a");try{delete e.test}catch(e){f=!1}}();var p=s.extend({init:function(e,t){var i=this;s.fn.init.call(i),i.source=e[0],i.parents=e,i.path=t,i.dependencies={},i.dependencies[t]=!0,i.observable=i.source instanceof s,i._access=function(e){i.dependencies[e.field]=!0},i.observable&&(i._change=function(e){i.change(e)},i.source.bind(v,i._change))},_parents:function(){var t=this.parents,i=this.get();if(i&&"function"==typeof i.parent){var n=i.parent();e.inArray(n,t)<0&&(t=[n].concat(t))}return t},change:function(e){var t,i,n=e.field,s=this;if("this"===s.path)s.trigger(v,e);else for(t in s.dependencies)if(0===t.indexOf(n)&&(!(i=t.charAt(n.length))||"."===i||"["===i)){s.trigger(v,e);break}},start:function(e){e.bind("get",this._access)},stop:function(e){e.unbind("get",this._access)},get:function(){var e=this,i=e.source,n=0,s=e.path,r=i;if(!e.observable)return r;for(e.start(e.source),r=i.get(s);r===t&&i;)(i=e.parents[++n])instanceof a&&(r=i.get(s));if(r===t)for(i=e.source;r===t&&i;)(i=i.parent())instanceof a&&(r=i.get(s));return"function"==typeof r&&((n=s.lastIndexOf("."))>0&&(i=i.get(s.substring(0,n))),e.start(i),r=i!==e.source?r.call(i,e.source):r.call(i),e.stop(i)),i&&i!==e.source&&(e.currentSource=i,i.unbind(v,e._change).bind(v,e._change)),e.stop(e.source),r},set:function(e){var t=this.currentSource||this.source,n=i.getter(this.path)(t);"function"==typeof n?t!==this.source?n.call(t,this.source,e):n.call(t,e):t.set(this.path,e)},destroy:function(){this.observable&&(this.source.unbind(v,this._change),this.currentSource&&this.currentSource.unbind(v,this._change)),this.unbind()}}),m=p.extend({get:function(){var e,t=this.source,i=this.path,n=0;for(e=t.get(i);!e&&t;)(t=this.parents[++n])instanceof a&&(e=t.get(i));if(e)return e.bind(t)}}),y=p.extend({init:function(e,t,i){p.fn.init.call(this,e,t),this.template=i},render:function(e){var t;return this.start(this.source),t=i.render(this.template,e),this.stop(this.source),t}}),w=h.extend({init:function(e,t,i){this.element=e,this.bindings=t,this.options=i},bind:function(e,t){var i=this;(e=t?e[t]:e).bind(v,(function(e){i.refresh(t||e)})),i.refresh(t)},destroy:function(){}}),_=w.extend({dataType:function(){return(this.element.getAttribute("data-"+i.ns+"type")||this.element.type||"text").toLowerCase()},parsedValue:function(){return this._parseValue(this.element.value,this.dataType())},_parseValue:function(e,t){return"date"==t?e=i.parseDate(e,"yyyy-MM-dd"):"datetime-local"==t?e=i.parseDate(e,["yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm"]):"number"==t?e=i.parseFloat(e):"boolean"==t&&(e=e.toLowerCase(),e=null!==i.parseFloat(e)?Boolean(i.parseFloat(e)):"true"===e.toLowerCase()),e}});function x(t,n,s){return w.extend({init:function(e,t,i){var n=this;w.fn.init.call(n,e.element[0],t,i),n.widget=e,n._dataBinding=n.dataBinding.bind(n),n._dataBound=n.dataBound.bind(n),n._itemChange=n.itemChange.bind(n)},itemChange:function(e){A(e.item[0],e.data,this._ns(e.ns),[e.data].concat(this.bindings[t]._parents()))},dataBinding:function(e){var t,i,n=this.widget,s=e.removedItems||n.items();for(t=0,i=s.length;t<i;t++)V(s[t],!1)},_ns:function(t){t=t||i.ui;var n=[i.ui,i.dataviz.ui,i.mobile.ui];return n.splice(e.inArray(t,n),1),n.unshift(t),i.rolesFromNamespaces(n)},dataBound:function(e){var s,a,r,d,o=this.widget,h=e.addedItems||o.items(),l=o[n],c=i.data.HierarchicalDataSource;if(!(c&&l instanceof c)&&h.length)for(r=e.addedDataItems||l.flatView(),d=this.bindings[t]._parents(),s=0,a=r.length;s<a;s++)h[s]&&A(h[s],r[s],this._ns(e.ns),[r[s]].concat(d))},refresh:function(e){var a,r,d,o=this,h=o.widget;(e=e||{}).action||(o.destroy(),h.bind("dataBinding",o._dataBinding),h.bind("dataBound",o._dataBound),h.bind("itemChange",o._itemChange),a=o.bindings[t].get(),h[n]instanceof i.data.DataSource&&h[n]!=a&&(a instanceof i.data.DataSource?h[s](a):a&&a._dataSource?h[s](a._dataSource):(r=i.ui.Select&&h instanceof i.ui.Select,d=i.ui.MultiSelect&&h instanceof i.ui.MultiSelect,i.ui.DropDownTree&&h instanceof i.ui.DropDownTree?h.treeview[n].data(a):h[n].data(a),o.bindings.value&&(r||d)&&h.value(H(o.bindings.value.get(),h.options.dataValueField)))))},destroy:function(){var e=this.widget;e.unbind("dataBinding",this._dataBinding),e.unbind("dataBound",this._dataBound),e.unbind("itemChange",this._itemChange)}})}o.attr=w.extend({refresh:function(e){this.element.setAttribute(e,this.bindings.attr[e].get())}}),o.css=w.extend({init:function(e,t,i){w.fn.init.call(this,e,t,i),this.classes={}},refresh:function(t){var i=e(this.element),n=this.bindings.css[t];(this.classes[t]=n.get())?i.addClass(t):i.removeClass(t)}}),o.style=w.extend({refresh:function(e){this.element.style[e]=this.bindings.style[e].get()||""}}),o.enabled=w.extend({refresh:function(){this.bindings.enabled.get()?this.element.removeAttribute("disabled"):this.element.setAttribute("disabled","disabled")}}),o.readonly=w.extend({refresh:function(){this.bindings.readonly.get()?this.element.setAttribute("readonly","readonly"):this.element.removeAttribute("readonly")}}),o.disabled=w.extend({refresh:function(){this.bindings.disabled.get()?this.element.setAttribute("disabled","disabled"):this.element.removeAttribute("disabled")}}),o.events=w.extend({init:function(e,t,i){w.fn.init.call(this,e,t,i),this.handlers={}},refresh:function(t){var i=e(this.element),n=this.bindings.events[t],s=this.handlers[t];s&&i.off(t,s),s=this.handlers[t]=n.get(),i.on(t,n.source,s)},destroy:function(){var t,i=e(this.element);for(t in this.handlers)i.off(t,this.handlers[t])}}),o.text=w.extend({refresh:function(){var t=this.bindings.text.get(),n=this.element.getAttribute("data-"+i.ns+"format")||"";null==t&&(t=""),e(this.element).text(i.toString(t,n))}}),o.visible=w.extend({refresh:function(){this.bindings.visible.get()?this.element.style.display="":this.element.style.display="none"}}),o.invisible=w.extend({refresh:function(){this.bindings.invisible.get()?this.element.style.display="none":this.element.style.display=""}}),o.html=w.extend({refresh:function(){this.element.innerHTML=this.bindings.html.get()}}),o.value=_.extend({init:function(t,i,n){_.fn.init.call(this,t,i,n),this._change=this.change.bind(this),this.eventName=n.valueUpdate||v,e(this.element).on(this.eventName,this._change),this._initChange=!1},change:function(){this._initChange=this.eventName!=v,this.bindings[l].set(this.parsedValue()),this._initChange=!1},refresh:function(){if(!this._initChange){var e=this.bindings[l].get();null==e&&(e="");var t=this.dataType();"date"==t?e=i.toString(e,"yyyy-MM-dd"):"datetime-local"==t&&(e=i.toString(e,"yyyy-MM-ddTHH:mm:ss")),this.element.value=e}this._initChange=!1},destroy:function(){e(this.element).off(this.eventName,this._change)}}),o.source=w.extend({init:function(e,t,n){w.fn.init.call(this,e,t,n);var s=this.bindings.source.get();s instanceof i.data.DataSource&&!1!==n.autoBind&&s.fetch()},refresh:function(e){var t=this,n=t.bindings.source.get();n instanceof r||n instanceof i.data.DataSource?"add"==(e=e||{}).action?t.add(e.index,e.items):"remove"==e.action?t.remove(e.index,e.items):"itemchange"!=e.action&&t.render():t.render()},container:function(){var e=this.element;return"table"==e.nodeName.toLowerCase()&&(e.tBodies[0]||e.appendChild(document.createElement("tbody")),e=e.tBodies[0]),e},template:function(){var e=this.options,t=e.template,s=this.container().nodeName.toLowerCase();return t||(t="select"==s?e.valueField||e.textField?function(t){var s=i.getter(e.valueField||e.textField)(t),a=i.getter(e.textField||e.valueField)(t);return'<option value="'+n(s)+'">'+n(a)+"</option>"}:function(e){return"<option>"+n(e)+"</option>"}:"tbody"==s?function(e){return"<tr><td>"+n(e)+"</td></tr>"}:"ul"==s||"ol"==s?function(e){return"<li>"+n(e)+"</li>"}:function(e){return""+n(e)},t=i.template(t)),t},add:function(t,n){var s,a,r,d,o=this.container(),h=o.cloneNode(!1),l=o.children[t];if(e(h).html(i.render(this.template(),n)),h.children.length)for(s=this.bindings.source._parents(),a=0,r=n.length;a<r;a++)d=h.children[0],o.insertBefore(d,l||null),A(d,n[a],this.options.roles,[n[a]].concat(s))},remove:function(e,t){var i,n=this.container();for(i=0;i<t.length;i++){var s=n.children[e];V(s,!0),s.parentNode==n&&n.removeChild(s)}},render:function(){var t,n,s,a=this.bindings.source.get(),o=this.container(),h=this.template();if(null!=a)if(a instanceof i.data.DataSource&&(a=a.view()),a instanceof r||"[object Array]"===d.call(a)||(a=[a]),this.bindings.template){if(O(o,!0),e(o).html(this.bindings.template.render(a)),o.children.length)for(t=this.bindings.source._parents(),n=0,s=a.length;n<s;n++)A(o.children[n],a[n],this.options.roles,[a[n]].concat(t))}else e(o).html(i.render(h,a))}}),o.input={checked:_.extend({init:function(t,i,n){_.fn.init.call(this,t,i,n),this._change=this.change.bind(this),e(this.element).change(this._change)},change:function(){var e=this.element,t=this.value();if("radio"==e.type)t=this.parsedValue(),this.bindings[u].set(t);else if("checkbox"==e.type){var i,n=this.bindings[u].get();if(n instanceof r){if((t=this.parsedValue())instanceof Date){for(var s=0;s<n.length;s++)if(n[s]instanceof Date&&+n[s]==+t){i=s;break}}else i=n.indexOf(t);i>-1?n.splice(i,1):n.push(t)}else this.bindings[u].set(t)}},refresh:function(){var e=this.bindings[u].get(),t=e,n=this.dataType(),s=this.element;if("checkbox"==s.type)if(t instanceof r){var a=-1;if((e=this.parsedValue())instanceof Date){for(var d=0;d<t.length;d++)if(t[d]instanceof Date&&+t[d]==+e){a=d;break}}else a=t.indexOf(e);s.checked=a>=0}else s.checked=t;else"radio"==s.type&&("date"==n?e=i.toString(e,"yyyy-MM-dd"):"datetime-local"==n&&(e=i.toString(e,"yyyy-MM-ddTHH:mm:ss")),null!=e&&s.value===e.toString()?s.checked=!0:s.checked=!1)},value:function(){var e=this.element,t=e.value;return"checkbox"==e.type&&(t=e.checked),t},destroy:function(){e(this.element).off(v,this._change)}})},o.select={source:o.source.extend({refresh:function(n){var s=this,a=s.bindings.source.get();if(a instanceof r||a instanceof i.data.DataSource){if("add"==(n=n||{}).action)s.add(n.index,n.items);else if("remove"==n.action)s.remove(n.index,n.items);else if(("itemchange"==n.action||n.action===t)&&(s.render(),s.bindings.value&&s.bindings.value)){var d=H(s.bindings.value.get(),e(s.element).data("valueField"));null===d?s.element.selectedIndex=-1:s.element.value=d}}else s.render()}}),value:_.extend({init:function(t,i,n){_.fn.init.call(this,t,i,n),this._change=this.change.bind(this),e(this.element).change(this._change)},parsedValue:function(){var e,t,i,n,s=this.dataType(),a=[];for(i=0,n=this.element.options.length;i<n;i++)(t=this.element.options[i]).selected&&(e=(e=t.attributes.value)&&e.specified?t.value:t.text,a.push(this._parseValue(e,s)));return a},change:function(){var e,n,s,d,o,h,c=[],g=this.element,u=this.options.valueField||this.options.textField,f=this.options.valuePrimitive;for(o=0,h=g.options.length;o<h;o++)(n=g.options[o]).selected&&(d=(d=n.attributes.value)&&d.specified?n.value:n.text,u?c.push(d):c.push(this._parseValue(d,this.dataType())));if(u)for((e=this.bindings.source.get())instanceof i.data.DataSource&&(e=e.view()),s=0;s<c.length;s++)for(o=0,h=e.length;o<h;o++){var b=e[o].get(u);if(String(b)===c[s]){c[s]=e[o];break}}(d=this.bindings[l].get())instanceof r?d.splice.apply(d,[0,d.length].concat(c)):f||!(d instanceof a||null===d||d===t)&&u?this.bindings[l].set(c[0].get(u)):this.bindings[l].set(c[0])},refresh:function(){var e,t,n=this.element,s=n.options,d=this.bindings[l].get(),o=d,h=this.options.valueField||this.options.textField,c=this.dataType();o instanceof r||(o=new r([d])),n.selectedIndex=-1;for(var g=0;g<o.length;g++)for(d=o[g],h&&d instanceof a&&(d=d.get(h)),"date"==c?d=i.toString(o[g],"yyyy-MM-dd"):"datetime-local"==c&&(d=i.toString(o[g],"yyyy-MM-ddTHH:mm:ss")),e=0;e<s.length;e++)""===(t=s[e].value)&&""!==d&&(t=s[e].text),null!=d&&t==d.toString()&&(s[e].selected=!0,!0)},destroy:function(){e(this.element).off(v,this._change)}})},o.widget={events:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e,this.handlers={}},refresh:function(e){var t=this.bindings.events[e],i=this.handlers[e];i&&this.widget.unbind(e,i),i=t.get(),this.handlers[e]=function(e){e.data=t.source,i(e),e.data===t.source&&delete e.data},this.widget.bind(e,this.handlers[e])},destroy:function(){var e;for(e in this.handlers)this.widget.unbind(e,this.handlers[e])}}),checked:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e,this._change=this.change.bind(this),this.widget.bind(v,this._change)},change:function(){this.bindings[u].set(this.value())},refresh:function(){var e=this.bindings[u].get();"radio"===this.element.type?e!==t?this.widget.check(e.toString()===this.value()):this.widget.check(!1):this.widget.check(!0===e)},value:function(){var e=this.element,t=e.value;return"on"!=t&&"off"!=t&&"checkbox"!=this.element.type||(t=e.checked),t},destroy:function(){this.widget.unbind(v,this._change)}}),start:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this._change=this.change.bind(this),this.widget=e,this.widget.bind(v,this._change)},change:function(){this.bindings.start.set(this.widget.range().start)},refresh:function(){var e=this.bindings.start.get(),t=this.widget._range?this.widget._range.end:null;this.widget.range({start:e,end:t})},destroy:function(){this.widget.unbind(v,this._change)}}),end:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this._change=this.change.bind(this),this.widget=e,this.widget.bind(v,this._change)},change:function(){this.bindings.end.set(this.widget.range().end)},refresh:function(){var e=this.bindings.end.get(),t=this.widget._range?this.widget._range.start:null;this.widget.range({start:t,end:e})},destroy:function(){this.widget.unbind(v,this._change)}}),visible:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){var e=this.bindings.visible.get();this.widget.wrapper[0].style.display=e?"":"none"}}),invisible:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){var e=this.bindings.invisible.get();this.widget.wrapper[0].style.display=e?"none":""}}),floatingLabel:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),e.floatingLabel&&e.floatingLabel.refresh()}}),enabled:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){this.widget.enable&&this.widget.enable(this.bindings.enabled.get())}}),disabled:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){this.widget.enable&&this.widget.enable(!this.bindings.disabled.get())}}),source:x("source","dataSource","setDataSource"),value:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e,this._change=this.change.bind(this),this.widget.first(v,this._change);var n=this.bindings.value.get();this._valueIsObservableObject=!i.valuePrimitive&&(null==n||n instanceof a),this._valueIsObservableArray=n instanceof r,this._initChange=!1},_source:function(){var e;return this.widget.dataItem&&(e=this.widget.dataItem())&&e instanceof a?[e]:(this.bindings.source&&(e=this.bindings.source.get()),(!e||e instanceof i.data.DataSource)&&(e=this.widget.dataSource.flatView()),e)},change:function(){var e,t,i,n,s,a,r,o=this.widget.value(),h=this.options.dataValueField||this.options.dataTextField,l="[object Array]"===d.call(o),c=this._valueIsObservableObject,g=[];if(this._initChange=!0,h)if(""===o&&(c||this.options.valuePrimitive))o=null;else{for(r=this._source(),l&&(t=o.length,g=o.slice(0)),s=0,a=r.length;s<a;s++)if(n=(i=r[s]).get(h),l){for(e=0;e<t;e++)if(n==g[e]){g[e]=i;break}}else if(n==o){o=c?i:n;break}g[0]&&(o=this._valueIsObservableArray?g:c||!h?g[0]:g[0].get(h))}this.bindings.value.set(o),this._initChange=!1},refresh:function(){if(!this._initChange){var e,i=this.widget,n=i.options,s=n.dataTextField,d=n.dataValueField||s,o=this.bindings.value.get(),h=n.text||"",l=0,c=[];if(o===t&&(o=null),d)if(o instanceof r){for(e=o.length;l<e;l++)c[l]=o[l].get(d);o=c}else o instanceof a&&(h=o.get(s),o=o.get(d));!1!==n.autoBind||n.cascadeFrom||!i.listView||i.listView.bound()?i.value(o):(s!==d||h||(h=o),h||!o&&0!==o||!n.valuePrimitive?i._preselect(o,h):i.value(o))}this._initChange=!1},destroy:function(){this.widget.unbind(v,this._change)}}),dropdowntree:{value:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e,this._change=this.change.bind(this),this.widget.first(v,this._change),this._initChange=!1},change:function(){var e=this,i=e.bindings[l].get(),n=e.options.valuePrimitive,s=e.widget.treeview.select(),a=e.widget._isMultipleSelection()?e.widget._getAllChecked():e.widget.treeview.dataItem(s)||e.widget.value(),d=n||!1===e.widget.options.autoBind?e.widget.value():a,o=this.options.dataValueField||this.options.dataTextField;if(d=d.slice?d.slice(0):d,e._initChange=!0,i instanceof r){for(var h,c,g,u=[],f=d.length,b=0,v=0,p=i[b];p!==t;){for(g=!1,v=0;v<f;v++)if(n?d[v]==p:(c=(c=d[v]).get?c.get(o):c)==(p.get?p.get(o):p)){d.splice(v,1),f-=1,g=!0;break}g?b+=1:(u.push(p),k(i,b,1),h=b),p=i[b]}k(i,i.length,0,d),u.length&&i.trigger("change",{action:"remove",items:u,index:h}),d.length&&i.trigger("change",{action:"add",items:d,index:i.length-1})}else e.bindings[l].set(d);e._initChange=!1},refresh:function(){if(!this._initChange){var e,t,i=this.options,n=this.widget,s=i.dataValueField||i.dataTextField,d=this.bindings.value.get(),o=d,h=0,l=[];if(s)if(d instanceof r){for(e=d.length;h<e;h++)t=d[h],l[h]=t.get?t.get(s):t;d=l}else d instanceof a&&(d=d.get(s));!1===i.autoBind&&!0!==i.valuePrimitive?n._preselect(o,d):n.value(d)}},destroy:function(){this.widget.unbind(v,this._change)}})},gantt:{dependencies:x("dependencies","dependencies","setDependenciesDataSource")},multiselect:{value:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e,this._change=this.change.bind(this),this.widget.first(v,this._change),this._initChange=!1},change:function(){var e=this,i=e.bindings[l].get(),n=e.options.valuePrimitive,s=n?e.widget.value():e.widget.dataItems(),a=this.options.dataValueField||this.options.dataTextField;if(s=s.slice(0),e._initChange=!0,i instanceof r){for(var d,o,h,c=[],g=s.length,u=0,f=0,b=i[u];b!==t;){for(h=!1,f=0;f<g;f++)if(n?s[f]==b:(o=(o=s[f]).get?o.get(a):o)==(b.get?b.get(a):b)){s.splice(f,1),g-=1,h=!0;break}h?u+=1:(c.push(b),k(i,u,1),d=u),b=i[u]}k(i,i.length,0,s),c.length&&i.trigger("change",{action:"remove",items:c,index:d}),s.length&&i.trigger("change",{action:"add",items:s,index:i.length-1})}else e.bindings[l].set(s);e._initChange=!1},refresh:function(){if(!this._initChange){var e,i,n=this.options,s=this.widget,d=n.dataValueField||n.dataTextField,o=this.bindings.value.get(),h=o,l=0,c=[];if(o===t&&(o=null),d)if(o instanceof r){for(e=o.length;l<e;l++)i=o[l],c[l]=i.get?i.get(d):i;o=c}else o instanceof a&&(o=o.get(d));!1!==n.autoBind||!0===n.valuePrimitive||s._isBound()?s.value(o):s._preselect(h,o)}},destroy:function(){this.widget.unbind(v,this._change)}})},scheduler:{source:x("source","dataSource","setDataSource").extend({dataBound:function(e){var t,i,n,s,a=this.widget,r=e.addedItems||a.items();if(r.length)for(n=e.addedDataItems||a.dataItems(),s=this.bindings.source._parents(),t=0,i=n.length;t<i;t++)A(r[t],n[t],this._ns(e.ns),[n[t]].concat(s))}})},grid:{source:x("source","dataSource","setDataSource").extend({dataBound:function(e){var t,i,n,s,a=this.widget,r=e.addedItems||a.items();if(r.length)for(s=e.addedDataItems||a.dataItems(),n=this.bindings.source._parents(),t=0,i=s.length;t<i;t++)A(r[t],s[t],this._ns(e.ns),[s[t]].concat(n))}})},badge:{text:w.extend({init:function(e,t,i){w.fn.init.call(this,e.element[0],t,i),this.widget=e},refresh:function(){var e=this.bindings.text.get();null==e&&(e=""),this.widget.text(e)}})}};var k=function(e,t,i,n){i=i||0;var s,a=(n=n||[]).length,r=e.length,d=[].slice.call(e,t+i),o=d.length;if(a){for(a=t+a,s=0;t<a;t++)e[t]=n[s],s++;e.length=a}else if(i)for(e.length=t,i+=t;t<i;)delete e[--i];if(o){for(o=t+o,s=0;t<o;t++)e[t]=d[s],s++;e.length=o}for(t=e.length;t<r;)delete e[t],t++},B=h.extend({init:function(e,t){this.target=e,this.options=t,this.toDestroy=[]},bind:function(e){var t,i,n,s,a,r,d=this instanceof S,o=this.binders();for(t in e)t==l?i=!0:t==c?n=!0:t!=g||d?t==u?a=!0:"css"==t?r=!0:this.applyBinding(t,e,o):s=!0;n&&this.applyBinding(c,e,o),i&&this.applyBinding(l,e,o),a&&this.applyBinding(u,e,o),s&&!d&&this.applyBinding(g,e,o),r&&!d&&this.applyBinding("css",e,o),d&&this.target&&this.target.floatingLabel&&this.applyBinding("floatingLabel",e,o)},binders:function(){return o[this.target.nodeName.toLowerCase()]||{}},applyBinding:function(e,t,i){var n,s=i[e]||o[e],a=this.toDestroy,r=t[e];if(s)if(s=new s(this.target,t,this.options),a.push(s),r instanceof p)s.bind(r),a.push(r);else for(n in r)s.bind(r,n),a.push(r[n]);else if("template"!==e)throw new Error("The "+e+" binding is not supported by the "+this.target.nodeName.toLowerCase()+" element")},destroy:function(){var e,t,i=this.toDestroy;for(e=0,t=i.length;e<t;e++)i[e].destroy()}}),S=B.extend({binders:function(){return o.widget[this.target.options.name.toLowerCase()]||{}},applyBinding:function(e,t,i){var n,s=i[e]||o.widget[e],a=this.toDestroy,r=t[e];if(!s)throw new Error("The "+e+" binding is not supported by the "+this.target.options.name+" widget");if(s=new s(this.target,t,this.target.options),a.push(s),r instanceof p)s.bind(r),a.push(r);else for(n in r)s.bind(r,n),a.push(r[n])}});var C=/[A-Za-z0-9_\-]+:(\{([^}]*)\}|[^,}]+)/g,D=/\s/g;function F(e){var t,i,n,s,a,r,d,o={};for(t=0,i=(d=e.match(C)).length;t<i;t++)s=(n=d[t]).indexOf(":"),a=n.substring(0,s),"{"==(r=n.substring(s+1)).charAt(0)&&(r=F(r)),o[a]=r;return o}function T(e,t,i){var n,s={};for(n in e)s[n]=new i(t,e[n]);return s}function A(e,t,n,s){if(e&&!e.getAttribute("data-"+i.ns+"stop")){var a,r,d,o=e.getAttribute("data-"+i.ns+"role"),h=e.getAttribute("data-"+i.ns+"bind"),l=[],c=!0,g={};s=s||[t],(o||h)&&I(e,!1),o&&(d=function(e,t){var n=i.initWidget(e,{},t);if(n)return new S(n)}(e,n)),h&&(h=F(h.replace(D,"")),d||((g=i.parseOptions(e,{textField:"",valueField:"",template:"",valueUpdate:v,valuePrimitive:!1,autoBind:!0},t)).roles=n,d=new B(e,g)),d.source=t,r=T(h,s,p),g.template&&(r.template=new y(s,"",g.template)),r.click&&(h.events=h.events||{},h.events.click=h.click,r.click.destroy(),delete r.click),r.source&&(c=!1),h.attr&&(r.attr=T(h.attr,s,p)),h.style&&(r.style=T(h.style,s,p)),h.events&&(r.events=T(h.events,s,m)),h.css&&(r.css=T(h.css,s,p)),d.bind(r)),d&&(e.kendoBindingTarget=d);var u=e.children;if(c&&u&&!e.getAttribute("data-"+i.ns+"stop")){for(a=0;a<u.length;a++)l[a]=u[a];for(a=0;a<l.length;a++)A(l[a],t,n,s)}}}function M(t,n){var s,a,r,d=i.rolesFromNamespaces([].slice.call(arguments,2));for(n=i.observable(n),s=0,a=(t=e(t)).length;s<a;s++)1===(r=t[s]).nodeType&&A(r,n,d)}function I(t,n){var s=t.kendoBindingTarget;if(s&&(s.destroy(),f?delete t.kendoBindingTarget:t.removeAttribute?t.removeAttribute("kendoBindingTarget"):t.kendoBindingTarget=null),n){var a=i.widgetInstance(e(t));a&&typeof a.destroy===b&&a.destroy()}}function V(e,t){I(e,t),O(e,t)}function O(e,t){var i=e.children;if(i)for(var n=0,s=i.length;n<s;n++)V(i[n],t)}function H(e,t){var i,n,s=[],d=0;if(!t)return e;if(e instanceof r){for(i=e.length;d<i;d++)n=e[d],s[d]=n.get?n.get(t):n[t];e=s}else e instanceof a&&(e=e.get(t));return e}i.unbind=function(t){var i,n;for(i=0,n=(t=e(t)).length;i<n;i++)V(t[i],!1)},i.bind=M,i.data.binders=o,i.data.Binder=w,i.notify=function(e,t){var i=e.element,n=i[0].kendoBindingTarget;n&&M(i,n.source,t)},i.observable=function(e){return e instanceof a||(e=new a(e)),e},i.observableHierarchy=function(e){var t=i.data.HierarchicalDataSource.create(e);return t.fetch(),function e(t){var i,n;for(i=0;i<t.length;i++)t[i]._initChildren(),(n=t[i].children).fetch(),t[i].items=n.data(),e(t[i].items)}(t.data()),t._data._dataSource=t,t._data}}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.binder.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.html.base.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.html.base.min","kendo.icons.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.chip=e.kendohtml.chip||{},e.kendohtml.chip.js=n())}(this,(function(){return function(e,n){var a=window.kendo,i=a.html.HTMLBase,t=i.extend({init:function(e,n){i.fn.init.call(this,e,n),this._wrapper()},options:{name:"HTMLChip",size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base",attr:{},icon:"",iconClass:"",iconAttr:{},removable:!1,removableAttr:{},removeIcon:"x-circle",removeIconClass:"",content:"",text:"",actions:[],stylingOptions:["size","rounded","fillMode","themeColor"]},_wrapper:function(){var n=this,i=n.options;i.text=i.text||i.label,n.wrapper=n.element.wrap("<div class='k-chip'></div>").parent().attr(i.attr),n._addClasses(),i.icon?n.wrapper.prepend(e(a.ui.icon({icon:i.icon,size:"small",iconClass:"k-chip-icon"+(i.iconClass?" "+i.iconClass:"")})).attr(i.iconAttr)):i.iconClass?n.wrapper.prepend(e("<span class='"+i.iconClass+"'></span>").attr(i.iconAttr)):i.avatarClass&&n.wrapper.prepend(e("<span class='k-chip-avatar k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full "+i.avatarClass+"'></span>").attr(i.iconAttr)),n.element.addClass("k-chip-content"),i.text&&n.element.html('<span class="k-chip-label">'+i.text+"</span>"),!1===i.visible&&n.wrapper.addClass("k-hidden"),!0===i.selected&&n.wrapper.addClass("k-selected"),!1===i.enabled&&n.wrapper.addClass("k-disabled"),(i.actions&&i.actions.length>0||i.removable)&&n._actions()},_actions:function(){var n=this,i=n.options;if(n.actionsWrapper=e("<span class='k-chip-actions'></span>"),n.actionsWrapper.appendTo(n.wrapper),i.actions&&i.actions.length>0)for(var t=0;t<i.actions.length;t++){var s=i.actions[t];n.actionsWrapper.append(e("<span class='k-chip-action "+(s.iconClass?s.iconClass:"")+"'>"+a.ui.icon({icon:s.icon,iconClass:"k-chip-icon"})+"</span>").attr(s.attr?s.attr:{}))}i.removable&&n.actionsWrapper.append(e("<span class='k-chip-action k-chip-remove-action'>"+a.ui.icon({icon:i.removeIcon,iconClass:"k-chip-icon"})+"</span>").attr(i.removableAttr))}});e.extend(a.html,{renderChip:function(n,a){return n&&!e.isPlainObject(n)||(a=n,n=e("<span></span>")),new t(n,a).html()},HTMLChip:t}),a.cssProperties.registerPrefix("HTMLChip","k-chip-"),a.cssProperties.registerValues("HTMLChip",[{prop:"rounded",values:a.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.chip.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.html.base.js")):"function"==typeof define&&define.amd?define(["kendo.html.base.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendohtml=e.kendohtml||{},e.kendohtml.chiplist=e.kendohtml.chiplist||{},e.kendohtml.chiplist.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.html.HTMLBase,l=n.extend({init:function(e,t){var i=this;n.fn.init.call(i,e,t),i.wrapper=i.element.addClass("k-chip-list"),i._applyAriaAttributes(t),i._addClasses()},options:{name:"HTMLChipList",size:"medium",stylingOptions:["size"]},_applyAriaAttributes:function(t){var i=this,n=((t=e.extend({selectable:"none"},t)).attributes||{})["aria-label"];"none"!==t.selectable?i.element.attr({"aria-multiselectable":"multiple"===t.selectable,role:"listbox","aria-label":n||i.element.attr("id")+" listbox","aria-orientation":"horizontal"}):i.element.removeAttr("role aria-label aria-multiselectable aria-orientation")}});e.extend(i.html,{renderChipList:function(t,i){return(undefined===arguments[0]||e.isPlainObject(arguments[0]))&&(i=t,t=e("<div></div>")),new l(t,i).html()},HTMLChipList:l}),i.cssProperties.registerPrefix("HTMLChipList","k-chip-list-")}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.html.chiplist.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.treeview.js"),require("kendo.popup.js"),require("kendo.actionsheet.js"),require("kendo.binder.js"),require("kendo.html.chip.js"),require("kendo.html.chiplist.js"),require("kendo.html.button.js"),require("kendo.html.input.js"),require("kendo.label.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.treeview.min","kendo.popup.min","kendo.actionsheet.min","kendo.binder.min","kendo.html.chip.min","kendo.html.chiplist.min","kendo.html.button.min","kendo.html.input.min","kendo.label.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodropdowntree=e.kendodropdowntree||{},e.kendodropdowntree.js=t())}(this,(function(){!function(e,t){var i,s,n=window.kendo,a=n.ui,l=n.keys,r="k-disabled",o="select",h="checked",c="indeterminate",d=a.TreeView;s=".k-group",i=function(e){var t=e.children(".k-animation-container");return t.length||(t=e),t.children(s)};var u=d.extend({init:function(e,t,i){var s=this;s.dropdowntree=i,d.fn.init.call(s,e,t),s.dropdowntree._isMultipleSelection()&&s.wrapper.on("click.kendoTreeView",".k-in.k-selected",s._clickSelectedItem.bind(s))},_checkOnSelect:function(e){if(!e.isDefaultPrevented()){var t=this.dataItem(e.node);t.set("checked",!t.checked)}},_setCheckedValue:function(e,t){e.set(h,t)},_click:function(e){var t=this;t.dropdowntree._isMultipleSelection()&&t.one("select",t._checkOnSelect),d.fn._click.call(t,e)},_clickSelectedItem:function(t){var i=this,s=e(t.currentTarget);i.one("select",i._checkOnSelect),i._trigger(o,s)||i.dataItem(s).set("selected",!1)},defaultrefresh:function(e){var i,s=e.node,n=e.action,a=e.items,l=this.wrapper,r=this.options,o=r.loadOnDemand,h=r.checkboxes&&r.checkboxes.checkChildren;if(!this._skip){if(e.field){if(!a[0]||!a[0].level)return;return this._updateNodes(a,e.field)}if(s&&(l=this.findByUid(s.uid),this._progress(l,!1)),h&&"remove"!=n){var c=!1;for(i=0;i<a.length;i++)if("checked"in a[i]){c=!0;break}if(!c&&s&&s.checked)for(i=0;i<a.length;i++)a[i].checked=!0}if("add"==n?this._appendItems(e.index,a,l):"remove"==n?this._remove(this.findByUid(a[0].uid),!1):"itemchange"==n?this._updateNodes(a):"itemloaded"==n?this._refreshChildren(l,a,e.index):this._refreshRoot(a),"remove"!=n)for(i=0;i<a.length;i++)o&&!a[i].expanded||a[i].load();this.wrapper.find(">ul").attr("role","tree"),this.trigger("dataBound",{node:s?l:t}),this.dropdowntree._treeViewDataBound({node:s?l:t,sender:this}),this.options.checkboxes.checkChildren&&this.updateIndeterminate()}},_previousVisible:function(e){var t,s,n=this;if(!e.length||e.prev().length)for(s=e.length?e.prev():n.root.children().last();n._expanded(s)&&(t=i(s).children().last()).length;)s=t;else(s=n.parent(e)||e).length||(n.dropdowntree.checkAll&&n.dropdowntree.checkAll.is(":visible")?n.dropdowntree.checkAll.find(".k-checkbox").trigger("focus"):n.dropdowntree.filterInput?n.dropdowntree.filterInput.trigger("focus"):n.dropdowntree.wrapper.trigger("focus"));return s},_keydown:function(i){var s,a=this,d=i.keyCode,u=a.current(),p=a._expanded(u),f=u.find(".k-checkbox-wrapper").first().find(":checkbox"),_=n.support.isRtl(a.element);i.target==i.currentTarget&&(!_&&d==l.RIGHT||_&&d==l.LEFT?p?s=a._nextVisible(u):u.find(".k-in").first().hasClass(r)||a.expand(u):!_&&d==l.LEFT||_&&d==l.RIGHT?p&&!u.find(".k-in").first().hasClass(r)?a.collapse(u):(s=a.parent(u),a._enabled(s)||(s=t)):d==l.DOWN?s=a._nextVisible(u):d!=l.UP||i.altKey?d==l.HOME?s=a._nextVisible(e()):d==l.END?s=a._previousVisible(e()):d!=l.ENTER||u.find(".k-in").first().hasClass(r)?d==l.SPACEBAR&&f.length&&!u.find(".k-in").first().hasClass(r)?(f.prop(h,!f.prop(h)).data(c,!1).prop(c,!1),a._checkboxChange({target:f}),s=u):i.altKey&&d===l.UP||d===l.ESC?a._closePopup():d===l.TAB&&(i.preventDefault(),a._closePopup()):u.find(".k-in").first().hasClass("k-selected")||a._trigger(o,u)||a.select(u):s=a._previousVisible(u),s&&(i.preventDefault(),u[0]!=s[0]&&(a._trigger("navigate",s),a.current(s))))},_closePopup:function(){this.dropdowntree.close(),this.dropdowntree.wrapper.trigger("focus")},refresh:function(e){this.defaultrefresh(e),this.dropdowntree.options.skipUpdateOnBind||("itemchange"===e.action?this.dropdowntree._isMultipleSelection()?"checked"===e.field&&this.dropdowntree._checkValue(e.items[0]):"checked"!==e.field&&"expanded"!==e.field&&e.items[0].selected&&this.dropdowntree._selectValue(e.items[0]):this.dropdowntree.refresh(e))}});n.ui._dropdowntree=u}(window.kendo.jQuery);return function(e,t){var i=window.kendo,s=i.ui,n=i.html,a=i.htmlEncode,l=i.mediaQuery,r=s.Widget,o=s._dropdowntree,h=i.data.ObservableArray,c=i.data.ObservableObject,d=e.extend,u=i._activeElement,p=".kendoDropDownTree",f=i.keys,_=i.support,v="k-hidden",g="width",m=_.browser,k=i._outerWidth,b=".",w="disabled",C="readonly",x="k-disabled",T="aria-disabled",y="k-focus",I="mouseenter"+p+" mouseleave"+p,A="tabindex",S="click",L="open",V="close",D="change",F=/"/g,M=".k-chip",O=i.ui.Widget.extend({init:function(t,s){var n=this;this.ns=p,i.ui.Widget.fn.init.call(this,t,s),this._selection=this._getSelection(),this._focusInputHandler=this._focusInput.bind(this),this._initial=this.element.val(),this._values=[];var a=this.options.value;if(null!==a&&a.length||(this._noInitialValue=!0),this._isNullorUndefined(a)||(this._valueMethodCalled=!0,this._values=Array.isArray(a)?a.slice(0):[a]),n.bigScreenMQL=l("large"),n.smallScreenMQL=l("small"),"auto"==n.options.adaptiveMode&&n.smallScreenMQL.onChange((function(){n.popup&&i.isFunction(n.popup.fullscreen)&&n.popup.fullscreen(n.smallScreenMQL.mediaQueryList.matches)})),this._inputTemplate(),this._accessors(),this._setTreeViewOptions(this.options),this._dataSource(),this._selection._initWrapper(),this._applyCssClasses(),this._placeholder(!0),this._tabindex(),this.wrapper.data(A,this.wrapper.attr(A)),this.tree=e("<div/>").attr({tabIndex:-1,"aria-hidden":!0}),this.list=e("<div/>").append(this.tree),this._header(),this._noData(),this._footer(),this._reset(),this._popup(),"auto"==n.options.adaptiveMode&&n.bigScreenMQL.onChange((function(){n.list=e("<div class='k-list-container'/>").append(n.tree),n._header.bind(n)(),n._noData.bind(n)(),n._footer.bind(n)(),n._reset.bind(n)(),n.popup&&(n.popup.destroy(),n.popup.element.remove(),n.popup=null),n.treeview&&n.treeview.destroy(),n._popup.bind(n)(),n._filterHeader.bind(n)(),n._treeview.bind(n)(),n._renderFooter.bind(n)(),n._checkAll.bind(n)(),n._enable.bind(n)(),n._toggleCloseVisibility.bind(n)(),n._aria.bind(n)()})),this._clearButton(),this._filterHeader(),this._treeview(),this._renderFooter(),this._checkAll(),this._enable(),this._toggleCloseVisibility(),!this.options.autoBind){var r=s.text||"";this._isNullorUndefined(s.value)?r?this._textAccessor(r):s.placeholder&&this._placeholder(!0):this._preselect(s.value)}e(this.element).parents("fieldset").is(":disabled")&&this.enable(!1),this._valueMethodCalled=!1,this.options.label&&this._label(),this._aria(),i.notify(this)},_label:function(){var t=this,s=t.options,n=e.isPlainObject(s.label)?s.label:{content:s.label};t.label=new i.ui.Label(null,e.extend({},n,{widget:t,floatCheck:t._floatCheck.bind(t)})),t._inputLabel=t.label.element},_floatCheck:function(){return!(this.value()&&!this._isMultipleSelection()||this.value().length||this.text())&&!this.popup.visible()},_refreshFloatingLabel:function(){var e=this;e.label&&e.label.floatingLabel&&e.label.floatingLabel.refresh()},_preselect:function(e,t){this._selection._preselect(e,t)},_setTreeViewOptions:function(t){var i={autoBind:t.autoBind,checkboxes:t.checkboxes,dataImageUrlField:t.dataImageUrlField,dataSpriteCssClassField:t.dataSpriteCssClassField,dataTextField:t.dataTextField,dataUrlField:t.dataUrlField,loadOnDemand:t.loadOnDemand,size:t.size};this.options.treeview=e.extend({},i,this.options.treeview),t.template&&(this.options.treeview.template=t.template),t.size&&(this.options.treeview.size=t.size)},_dataSource:function(){var t=this.options.dataSource;this.dataSource=i.data.HierarchicalDataSource.create(t),t&&e.extend(this.options.treeview,{dataSource:this.dataSource})},_popupOpen:function(){var e=this.popup;e.wrapper=i.wrap(e.element)},_getSelection:function(){return this._isMultipleSelection()?(this.options._altname="MultiSelectTree",new s.DropDownTree.MultipleSelection(this)):new s.DropDownTree.SingleSelection(this)},setDataSource:function(e){this._isDataSourceSet=!0,this._tags&&(this._noInitialValue=!0,this.setValue([]),this._tags.empty(),this.span.show(),this._multipleTags.empty()),this.dataSource=e,this.treeview.setDataSource(e),this._isDataSourceSet=!1},_isMultipleSelection:function(){return this.options&&(this.options.treeview.checkboxes||this.options.checkboxes)},options:{name:"DropDownTree",adaptiveMode:"none",animation:{},autoBind:!0,autoClose:!0,autoWidth:!1,clearButton:!0,dataTextField:"",dataValueField:"",dataImageUrlField:"",dataSpriteCssClassField:"",dataUrlField:"",delay:500,enabled:!0,enforceMinLength:!1,filter:"none",height:200,ignoreCase:!0,index:0,loadOnDemand:!1,messages:{singleTag:"item(s) selected",clear:"clear",deleteTag:"delete",noData:"No data found."},minLength:1,checkboxes:!1,noDataTemplate:!0,placeholder:"",checkAll:!1,checkAllTemplate:function(){return"Check all"},tagMode:"multiple",template:null,text:null,treeview:{},valuePrimitive:!1,footerTemplate:function(){return""},headerTemplate:function(){return""},value:null,valueTemplate:null,popup:null,filterLabel:null,size:"medium",fillMode:"solid",rounded:"medium",label:null},events:["open","close","dataBound",D,"select","filtering"],focus:function(){this.wrapper.trigger("focus")},dataItem:function(e){return this.treeview.dataItem(e)},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this._toggleCloseVisibility(),this.label&&this.label.floatingLabel&&this.label.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this._toggleCloseVisibility(),this.label&&this.label.floatingLabel&&this.label.floatingLabel.enable(e=e===t||e)},toggle:function(e){this._toggle(e)},open:function(){var e=this.popup;this.options.autoBind||this.dataSource.data().length||(this.treeview._progress(!0),this._isFilterEnabled()?this._search():this.dataSource.fetch()),!e.visible()&&this._allowOpening()&&(e.one("activate",this._focusInputHandler),e._hovered=!0,e.open())},close:function(){this.popup.close()},search:function(e){var t,i=this.options;if(clearTimeout(this._typingTimeout),!i.enforceMinLength&&!e.length||e.length>=i.minLength){if(t=this._getFilter(e),this.trigger("filtering",{filter:t})||Array.isArray(this.options.dataTextField))return;this._filtering=!0,this.treeview.dataSource.filter(t)}},_getFilter:function(e){return{field:this.options.dataTextField,operator:this.options.filter,value:e,ignoreCase:this.options.ignoreCase}},refresh:function(){var t=this.treeview.dataSource.flatView();this._renderFooter(),this._renderNoData(),this.filterInput&&this.checkAll&&this.checkAll.toggle(!this.filterInput.val().length),this.tree.toggle(!!t.length),e(this.noData).toggle(!t.length)},setOptions:function(e){this.options.checkboxes!=e.checkboxes&&(delete e.checkboxes,window.console.warn("setOptions method can not be used to set the checkboxes option in DropDownTree")),r.fn.setOptions.call(this,e),this._setTreeViewOptions(e),this._dataSource(),(this.options.treeview||e.size)&&this.treeview.setOptions(this.options.treeview),e.height&&this.tree&&this.tree.css("max-height",e.height),this._header(),this._noData(),this._footer(),this._renderFooter(),this._renderNoData(),this.span&&(this._isMultipleSelection()||this.span.hasClass("k-readonly"))&&this._placeholder(!0),this._inputTemplate(),this._accessors(),this._filterHeader(),this._checkAll(),this._enable(),e&&(e.enable||e.enabled)&&this.enable(!0),this._clearButton(),e!==t&&null!==e||(e={}),e.label&&this._inputLabel?this.label.setOptions(e.label):!1===e.label?(this.label._unwrapFloating(),this._inputLabel.remove(),delete this._inputLabel):e.label&&this._label()},destroy:function(){i.ui.Widget.fn.destroy.call(this),this.treeview&&this.treeview.destroy(),this.popup.destroy(),this.wrapper.off(p),this._clear.off(p),this.filterInput&&this.filterInput.off(p),this.tagList&&this.tagList.off(p),this.bigScreenMQL&&this.bigScreenMQL.destroy(),this.smallScreenMQL&&this.smallScreenMQL.destroy(),i.unbind(this.tagList),this.options.checkAll&&this.checkAll&&this.checkAll.off(p),this._form&&this._form.off("reset",this._resetHandler),this.label&&this.label.destroy()},setValue:function(e){e=Array.isArray(e)||e instanceof h?e.slice(0):[e],this._values=e},items:function(){return this.treeview.items()},value:function(e){var t=this;if(e)if(t.filterInput&&t.dataSource._filter)t._filtering=!0,t.dataSource.filter({});else if(!t.dataSource.data().length||!t.treeview.dataSource.data().length)return void(t.options.loadOnDemand?t.dataSource.fetch((function(){t._selection._setValue(e)})):(t.treeview.one("loadCompleted",(function(){t._selection._setValue(e)})),!t.options.autoBind&&t.options.valuePrimitive&&t.dataSource.fetch()));return t._selection._setValue(e)},text:function(e){var i,s=this.options.ignoreCase;if((e=null===e?"":e)===t||this._isMultipleSelection())return this._textAccessor();"string"==typeof e?(i=s?e:e.toLowerCase(),this._selectItemByText(i),this._textAccessor(i),this._refreshFloatingLabel()):this._textAccessor(e)},_aria:function(){this.wrapper.find("span.k-input-inner");this.wrapper.attr({"aria-haspopup":"tree","aria-expanded":!1,"aria-controls":this.treeview.element.attr("id"),role:"combobox"}),this._activeId=i.guid(),this._ariaLabel(this.wrapper),this.filterInput&&this.options.filterLabel&&this.filterInput.attr("aria-label",this.options.filterLabel),this.options.checkboxes&&(this.wrapper.attr({"aria-describedby":this.tagList[0].id}),this.tagList.attr({role:"listbox","aria-orientation":"horizontal","aria-multiselectable":!0}),this._ariaLabel(this.tagList))},_header:function(){var t=this,s=e(t.header),n=t.options.headerTemplate;if(i.destroy(s),s.remove(),n){var a="function"!=typeof n?i.template(n):n;s=e(a({})),t.header=s[0]?s:null,t.list.prepend(s)}else t.header=null},_noData:function(){var t=this,s=e(t.noData),n=!0===t.options.noDataTemplate?a(t.options.messages.noData):t.options.noDataTemplate;i.destroy(s),s.remove(),n?(t.noData=e('<div class="k-no-data"></div>').hide().appendTo(t.list),t.noDataTemplate="function"!=typeof n?i.template((function(){return n})):n):t.noData=null},_renderNoData:function(){var e=this,t=e.noData;t&&t.html(e.noDataTemplate({instance:e}))},_footer:function(){var t=this,s=e(t.footer),n=t.options.footerTemplate;i.destroy(s),s.remove(),n?(t.footer=e('<div class="k-footer"></div>').appendTo(t.list),t.footerTemplate="function"!=typeof n?i.template(n):n):t.footer=null},_renderFooter:function(){var e=this,t=e.footer;t&&t.html(e.footerTemplate({instance:e}))},_enable:function(){var e=this,i=e.options,s=e.element.is("[disabled]");i.enable!==t&&(i.enabled=i.enable),!i.enabled||s?e.enable(!1):e.readonly(e.element.is("[readonly]"))},_adjustListWidth:function(){var e,t,i=this,s=i.list,n=s[0].style.width,a=i.wrapper;if(s.data(g)||!n)return e=window.getComputedStyle?window.getComputedStyle(a[0],null):0,t=parseFloat(e&&e.width)||k(a),e&&m.msie&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),n="border-box"!==s.css("box-sizing")?t-(k(s)-s.width()):t,s.css({fontFamily:a.css("font-family"),width:i.options.autoWidth?"auto":n,minWidth:n,whiteSpace:i.options.autoWidth?"nowrap":"normal"}).data(g,n),!0},_reset:function(){var t=this,i=t.element,s=i.attr("form"),n=s?e("#"+s):i.closest("form");n[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(t._initial)}))},t._form=n.on("reset",t._resetHandler))},_hasActionSheet:function(){return"auto"===this.options.adaptiveMode&&!this.bigScreenMQL.mediaQueryList.matches},_popup:function(){var t=this,n=this,a=this;n.options.checkboxes?(n.options.checkAll&&n.list.attr("role","application"),n.list.addClass("k-multiselecttree-popup")):n.list.addClass("k-dropdowntree-popup"),"auto"!=a.options.adaptiveMode||a.bigScreenMQL.mediaQueryList.matches?(a.popup=new s.Popup(a.list,d({},a.options.popup,{anchor:a.wrapper,open:a._openHandler.bind(a),close:a._closeHandler.bind(a),animation:a.options.animation,isRtl:_.isRtl(a.wrapper),autosize:a.options.autoWidth,deactivate:function(){t._refreshFloatingLabel()},activate:function(){t._refreshFloatingLabel()}})),a.popup.one("open",a._popupOpen.bind(a))):(e(document.body).append(a.list),a.popup=new s.ActionSheet(a.list,{adaptive:!0,hideOverflowContent:!0,headerTemplate:function(e){return'<div class="k-text-center k-actionsheet-titlebar" ><div class="k-actionsheet-titlebar-group k-hbox"><div  class="k-actionsheet-title"><div class="k-text-center">'+(a.label?a.label.element.text():a.options.label||a.options.placeholder||"Select")+"</div>"+(a.options.placeholder&&(a.label||a.options.label)?'<div class="k-actionsheet-subtitle k-text-center">'+(a.options.placeholder||"")+"</div>":"")+"</div>"+(e.closeButton?'<div class="k-actionsheet-actions">'+i.html.renderButton('<button tabindex="-1" '+i.attr("ref-actionsheet-close-button")+"></button>",{icon:"x",fillMode:"flat",size:"large"})+"</div>":"")+"</div>"+(t._isFilterEnabled()?'<div class="k-actionsheet-titlebar-group k-actionsheet-filter"></div>':"")+"</div>"},closeButton:!0,focusOnActivate:!1,fullscreen:a.smallScreenMQL.mediaQueryList.matches,popup:d({},a.options.popup,{anchor:a.wrapper,open:a._openHandler.bind(a),close:a._closeHandler.bind(a),animation:a.options.animation,isRtl:_.isRtl(a.wrapper),autosize:a.options.autoWidth}),deactivate:function(){t._refreshFloatingLabel()},activate:function(){t._refreshFloatingLabel()}}))},_allowOpening:function(){return this.options.noDataTemplate||this.treeview.dataSource.flatView().length},_placeholder:function(e){this.span&&this.span.toggleClass("k-readonly",e).text(e?this.options.placeholder:"")},_currentValue:function(e){var t=this._value(e);return t||0===t||(t=e),t},_checkValue:function(t){var i="",s=-1,n=this.value(),a="multiple"===this.options.tagMode;if((t||0===t)&&(t.level&&(t._level=t.level()),i=this._currentValue(t),s=n.indexOf(i)),t.checked){if(e.grep(this._tags,(function(e){return e.uid===t._tagUid})).length)return;var l=new c(t.toJSON());t._tagUid=l.uid,this._tags.push(l),1===this._tags.length&&(this.span.hide(),a||this._multipleTags.push(l)),-1===s&&(n.push(i),this.setValue(n))}else{var r=this._tags.find((function(e){return e.uid===t._tagUid})),o=this._tags.indexOf(r);if(-1===o)return void this._treeViewCheckAllCheck(t);this._tags.splice(o,1),0===this._tags.length&&(this.span.show(),a||this._multipleTags.splice(0,1)),-1!==s&&(n.splice(s,1),this.setValue(n))}this._treeViewCheckAllCheck(t),this._preventChangeTrigger||this._valueMethodCalled||this._noInitialValue||this.trigger(D),this.options.autoClose&&this.popup.visible()&&(this.close(),this.wrapper.trigger("focus")),this.popup.position(),this._toggleCloseVisibility(),this._updateSelectedOptions()},_updateSelectedOptions:function(){if("select"===this.element[0].tagName.toLowerCase()){var e=this._tags,t="",i=null,s=null;if(e.length)for(var n=0;n<e.length;n++)i=e[n],s=this._value(i),t+=this._option(s,this._text(i),!0);this.element.html(t)}},_option:function(e,s,n){var a="<option";return e!==t&&(-1!==(e+="").indexOf('"')&&(e=e.replace(F,"&quot;")),a+=' value="'+e+'"'),n&&(a+=" selected"),a+=">",s!==t&&(a+=i.htmlEncode(s)),a+"</option>"},_selectValue:function(e){var t="",i="";(e||0===e)&&(e.level&&(e._level=e.level()),i=this._text(e)||e,t=this._currentValue(e)),null===t&&(t=""),this.setValue(t),this._textAccessor(i,e),this._accessor(t),this._preventChangeTrigger||this._valueMethodCalled||this.trigger(D),this._valueMethodCalled=!1,this.options.autoClose&&this.popup.visible()&&(this.close(),this.wrapper.trigger("focus")),this.popup.position(),this._toggleCloseVisibility()},_clearClick:function(e){e.stopPropagation(),this.wrapper.trigger("focus"),this._clearTextAndValue()},_clearTextAndValue:function(){var e=this._selection._clearValue();this.setValue([]),this._clearInput(),this._clearText(),this.popup.position(),this._toggleCloseVisibility(),this._refreshFloatingLabel(),e&&this.trigger(D)},_clearText:function(){this.options.placeholder?this._placeholder(!0):this.span&&this.span.html("")},_inputTemplate:function(){var e=this,t=this.options.valueTemplate;t=t?i.template(t):function(t){return a(e._text(t))},this.valueTemplate=t},_assignInstance:function(e,t){var i=this.options.dataTextField,s={};return i?(B(s,i.split(b),e),B(s,this.options.dataValueField.split(b),t),s=new c(s)):s=e,s},_textAccessor:function(i,s){var n=this.valueTemplate,a=this.span;if(i===t)return a.text();a.removeClass("k-readonly"),!s&&(e.isPlainObject(i)||i instanceof c)&&(s=i),s||(s=this._assignInstance(i,this._accessor()));try{a.html(n(s))}catch(e){a&&a.html("")}},_accessors:function(){var t=this.element,s=this.options,n=i.getter,a=t.attr(i.attr("text-field")),l=t.attr(i.attr("value-field")),r=function(t){if(Array.isArray(t)){var i=t.length,s=e.map(t,(function(e){return function(t){return t[e]}}));return function(e){var t=e._level;if(t||0===t)return s[Math.min(t,i-1)](e)}}return n(t)};!s.dataTextField&&a&&(s.dataTextField=a),!s.dataValueField&&l&&(s.dataValueField=l),s.dataTextField=s.dataTextField||"text",s.dataValueField=s.dataValueField||"value",this._text=r(s.dataTextField),this._value=r(s.dataValueField)},_accessor:function(e,t){return this._accessorInput(e,t)},_accessorInput:function(e){var i=this.element[0];if(e===t)return i.value;null===e&&(e=""),i.value=e},_clearInput:function(){this.element[0].value=""},_clearButton:function(){var t=a(this.options.messages.clear);this._clear||(this._clear=e('<span unselectable="on" class="k-clear-value" title="'+t+'">'+i.ui.icon("x")+"</span>").attr({tabIndex:-1})),this.options.clearButton?this._clear.insertAfter(this.span.parent()):this.options.clearButton||this._clear.remove()},_toggleCloseVisibility:function(){var e=this.element.attr(C),t=this.value()&&!this._isMultipleSelection()||this.value().length,i=this.element.val()&&this.element.val()!==this.options.placeholder;e||!t&&!i?this._hideClear():this._showClear()},_showClear:function(){this._clear&&this._clear.removeClass(v)},_hideClear:function(){this._clear&&this._clear.addClass(v)},_openHandler:function(e){this._adjustListWidth(),this.trigger(L)?e.preventDefault():(this.wrapper.attr("aria-expanded",!0),this.tree.attr("aria-hidden",!1))},_closeHandler:function(e){this.trigger(V)?e.preventDefault():(this.wrapper.attr("aria-expanded",!1),this.tree.attr("aria-hidden",!0))},_treeview:function(){var e=this;"auto"!=e.options.adaptiveMode&&e.options.height&&e.tree.css("max-height",e.options.height),e.tree.attr("id",i.guid()),e.treeview=new o(e.tree,d({size:e.options.size},e.options.treeview),e),e.dataSource=e.treeview.dataSource,e.treeview.bind("select",(function(t){e.trigger("select",t)}))},_treeViewDataBound:function(e){if(e.node&&this._prev&&this._prev.length&&e.sender.expand(e.node),this._filtering)return e.node||(this._filtering=!1),void(this._isMultipleSelection()||this._deselectItem(e));if(this.treeview||(this.treeview=e.sender),e.node){var t=e.sender.dataItem(e.node);if(t){var i=t.children.data();this._checkLoadedItems(i)}}else{var s=e.sender.dataSource.data();this._checkLoadedItems(s),this._noInitialValue&&(this._noInitialValue=!1)}this.trigger("dataBound",e)},_deselectItem:function(e){var t=[];if(e.node){var i=e.sender.dataItem(e.node);i&&(t=i.children.data())}else t=e.sender.dataSource.data();for(var s=0;s<t.length;s++)t[s].selected&&!this._valueComparer(t[s],this.value())&&t[s].set("selected",!1)},_checkLoadedItems:function(e){var t=this.value();if(e)for(var i=0;i<e.length;i++)this._selection._checkLoadedItem(e[i],t)},_treeViewCheckAllCheck:function(e){this.options.checkAll&&this.checkAll&&(this._getAllChecked(),e.checked?this._checkCheckAll():this._uncheckCheckAll())},_checkCheckAll:function(){var e=this.checkAll.find(".k-checkbox");this._allItemsAreChecked?e.prop("checked",!0).prop("indeterminate",!1):e.prop("indeterminate",!0)},_uncheckCheckAll:function(){var e=this.checkAll.find(".k-checkbox");this._allItemsAreUnchecked?e.prop("checked",!1).prop("indeterminate",!1):e.prop("indeterminate",!0)},_filterHeader:function(){var t='<div class="k-list-filter"><span class="k-textbox k-input k-input-md k-rounded-md k-input-solid" type="text" autocomplete="off">'+i.ui.icon({icon:"search",iconClass:"k-input-icon"})+"</span></div>";this.filterInput&&(this.filterInput.off(p).parent().remove(),this.filterInput=null),this._isFilterEnabled()&&(this._disableCheckChildren(),this.filterInput=e('<input class="k-input-inner" type="text" />').attr({placeholder:this.element.attr("placeholder"),title:this.element.attr("title"),role:"searchbox","aria-haspopup":"tree","aria-autocomplete":"list"}),this.filterInput.on("input",this._filterChange.bind(this)),this._hasActionSheet()?e(t).appendTo(this.popup.wrapper.find(".k-actionsheet-filter")).find(".k-textbox").append(this.filterInput):e(t).insertBefore(this.tree).find(".k-textbox").append(this.filterInput))},_filterChange:function(){this.filterInput&&this._search()},_disableCheckChildren:function(){this._isMultipleSelection()&&this.options.treeview.checkboxes&&this.options.treeview.checkboxes.checkChildren&&(this.options.treeview.checkboxes.checkChildren=!1)},_checkAll:function(){if(this.checkAll&&(this.checkAll.find(".k-checkbox-label, .k-checkbox").off(p),this.checkAll.remove(),this.checkAll=null),this._isMultipleSelection()&&this.options.checkAll){var t=n.renderCheckBox(d({},this.options,{label:"Check All",rounded:"medium"}));this.checkAll=e('<div class="k-check-all">'+t+"</div>").insertBefore(this.tree),this.checkAll.find(".k-checkbox-label").html(i.template(this.options.checkAllTemplate)({instance:this})),this.checkAll.find(".k-checkbox").on("change"+p,this._changeCheckAll.bind(this)).on("keydown"+p,this._keydownCheckAll.bind(this)),this._disabledCheckedItems=[],this._disabledUnCheckedItems=[],this._getAllChecked(),this._allItemsAreUnchecked||this._checkCheckAll()}},_changeCheckAll:function(){var e=this.checkAll.find(".k-checkbox").prop("checked");this._updateCheckAll(e)},_updateCheckAll:function(e){var t=this.checkAll.find(".k-checkbox");this._toggleCheckAllItems(e),t.prop("checked",e),this._disabledCheckedItems.length&&this._disabledUnCheckedItems.length?t.prop("indeterminate",!0):this._disabledCheckedItems.length?t.prop("indeterminate",!e):this._disabledUnCheckedItems.length?t.prop("indeterminate",e):t.prop("indeterminate",!1),this._disabledCheckedItems=[],this._disabledUnCheckedItems=[]},_keydownCheckAll:function(e){var t=e.keyCode;if(e.altKey&&t===f.UP||t===f.ESC||t===f.TAB)return this.close(),this.wrapper.trigger("focus"),void e.preventDefault();t===f.UP&&(this.filterInput?this.filterInput.trigger("focus"):this.wrapper.trigger("focus"),e.preventDefault()),t===f.DOWN&&(this.tree&&this.tree.is(":visible")&&this.tree.focus(),e.preventDefault()),t===f.SPACEBAR&&(m.msie||m.edge)&&(this._clickCheckAll(),e.preventDefault())},_clickCheckAll:function(){var e=this.checkAll.find(".k-checkbox"),t=e.prop("checked");this._updateCheckAll(!t),e.trigger("focus")},_dfs:function(e,t,i){for(var s=0;s<e.length&&this[t](e[s],i);s++)this._traverceChildren(e[s],t,i)},_uncheckItemByUid:function(e){this._dfs(this.dataSource.data(),"_uncheckItemEqualsUid",e)},_uncheckItemEqualsUid:function(e,t){return!1===e.enabled||e._tagUid!=t||(e.set("checked",!1),!1)},_selectItemByText:function(e){this._dfs(this.dataSource.data(),"_itemEqualsText",e)},_itemEqualsText:function(e,t){return!1===e.enabled||this._text(e)!==t||(this.treeview.select(this.treeview.findByUid(e.uid)),this._selectValue(e),!1)},_selectItemByValue:function(e){this._dfs(this.dataSource.data(),"_itemEqualsValue",e)},_itemEqualsValue:function(e,t){return!1===e.enabled||!this._valueComparer(e,t)||(this.treeview.select(this.treeview.findByUid(e.uid)),!1)},_checkItemByValue:function(e){for(var t=this.treeview.dataItems(),i=0;i<e.length;i++)this._dfs(t,"_checkItemEqualsValue",e[i])},_checkItemEqualsValue:function(e,t){return!1===e.enabled||!this._valueComparer(e,t)||(e.set("checked",!0),!1)},_valueComparer:function(e,t){var i,s=this._value(e);if(!this._isNullorUndefined(s)){if(this._isNullorUndefined(t))return!1;var n=this._value(t);return n?s==n:s==t}return!!(i=this._text(e))&&(this._text(t)?i==this._text(t):i==t)},_isNullorUndefined:function(e){return e===t||null===e},_getAllChecked:function(){return this._allCheckedItems=[],this._allItemsAreChecked=!0,this._allItemsAreUnchecked=!0,this._dfs(this.dataSource.data(),"_getAllCheckedItems"),this._allCheckedItems},_getAllCheckedItems:function(e){return this._allItemsAreChecked&&(this._allItemsAreChecked=e.checked),this._allItemsAreUnchecked&&(this._allItemsAreUnchecked=!e.checked),e.checked&&this._allCheckedItems.push(e),!0},_traverceChildren:function(e,t,i){var s=e[e._childrenOptions&&e._childrenOptions.schema?e._childrenOptions.schema.data:null]||e.items||e.children;s&&this._dfs(s,t,i)},_toggleCheckAllItems:function(e){this._dfs(this.dataSource.data(),"_checkAllCheckItem",e)},_checkAllCheckItem:function(e,t){return!1===e.enabled?e.checked?this._disabledCheckedItems.push(e):this._disabledUnCheckedItems.push(e):e.set("checked",t),!0},_isFilterEnabled:function(){var e=this.options.filter;return e&&"none"!==e},_editable:function(t){var i=this,s=i.element,n=t.disable,a=t.readonly,l=i.wrapper.add(i.filterInput).off(p),r=i.wrapper.off(I);i._isMultipleSelection()&&i.tagList.off(S+p),a||n?n?(l.removeAttr(A),r.addClass(x)):(l.attr(A,l.data(A)),r.removeClass(x),l.on("focusin"+p,i._focusinHandler.bind(i)).on("focusout"+p,i._focusoutHandler.bind(i))):(s.prop(w,!1).prop(C,!1),r.removeClass(x).on(I,i._toggleHover),i._clear.on("click"+p,i._clearClick.bind(i)),l.attr(A,l.data(A)).attr(T,!1).on("keydown"+p,i._keydown.bind(i)).on("focusin"+p,i._focusinHandler.bind(i)).on("focusout"+p,i._focusoutHandler.bind(i)),i.wrapper.on(S+p,i._wrapperClick.bind(i)),this._isMultipleSelection()&&(i.tagList.on(S+p,"div.k-chip",(function(t){e(t.currentTarget).addClass(y)})),i.tagList.on(S+p,".k-chip-remove-action .k-chip-icon",(function(e){i._removeTagClick(e)})))),s.attr(w,n).attr(C,a),l.attr(T,n)},_focusinHandler:function(){this.wrapper.addClass(y),this._prevent=!1},_focusoutHandler:function(){var e=this;this._isMultipleSelection()&&this.tagList.find(b+y).removeClass(y),e._prevent||(this.wrapper.removeClass(y),e._prevent=!0,e.element.trigger("blur"))},_toggle:function(e){this[(e=e!==t?e:!this.popup.visible())?L:V]()},_wrapperClick:function(e){e.preventDefault(),this.popup.unbind("activate",this._focusInputHandler),this._focused=this.wrapper,this._prevent=!1,this._toggle()},_toggleHover:function(t){e(t.currentTarget).toggleClass("k-hover","mouseenter"===t.type)},_focusInput:function(){this.filterInput?this.filterInput.trigger("focus"):this.checkAll?this.checkAll.find(".k-checkbox").trigger("focus"):this.tree.is(":visible")&&(this.tree[0].focus({preventScroll:!0}),this._ie11PreventScrollOnFocus())},_ie11PreventScrollOnFocus:function(){if(m.msie&&11==m.version){var e=this.popup;e._toggleResize(!1),setTimeout((function(){e._toggleResize(!0)}),50)}},_keydown:function(e){var t,i,s,n,a=e.keyCode,l=e.altKey,r=this.popup.visible();if(this.filterInput&&(t=this.filterInput[0]===u()),this.wrapper&&(i=this.wrapper[0]===u()),i){if(a===f.ESC)return this._clearTextAndValue(),void e.preventDefault();if(this._isMultipleSelection()){if(a===f.LEFT)return this._focusPrevTag(),void e.preventDefault();if(a===f.RIGHT)return this._focusNextTag(),void e.preventDefault();if(a===f.HOME)return this._focusFirstTag(),void e.preventDefault();if(a===f.END)return this._focusLastTag(),void e.preventDefault();if(a===f.DELETE)return(s=this.tagList.find(b+y).first()).length&&(n=this._tags[s.index()],this._removeTag(n)),void e.preventDefault();if(a===f.BACKSPACE)return((s=this.tagList.find(b+y).first()).length||(s=this._focusLastTag()).length)&&(n=this._tags[s.index()],this._removeTag(n)),void e.preventDefault()}}return t&&(a===f.ESC&&this._clearFilter(),a!==f.UP||l||(this.wrapper.trigger("focus"),e.preventDefault()),m.msie&&m.version<10&&(a!==f.BACKSPACE&&a!==f.DELETE||this._search()),a===f.TAB)||l&&a===f.UP||a===f.ESC?(this.close(),this.wrapper.trigger("focus"),void e.preventDefault()):void(a===f.ENTER&&this._typingTimeout&&this.filterInput&&r?e.preventDefault():(a!==f.SPACEBAR||t||(this._toggle(!r),e.preventDefault()),l&&a===f.DOWN&&!r&&(this.open(),e.preventDefault()),a===f.DOWN&&r&&(this.filterInput&&!t?this.filterInput.trigger("focus"):this.checkAll&&this.checkAll.is(":visible")?this.checkAll.find("input").trigger("focus"):this.tree.is(":visible")&&(this.tree[0].focus({preventScroll:!0}),this._ie11PreventScrollOnFocus()),e.preventDefault()),a===f.TAB&&r&&(this.close(),this.wrapper.trigger("focus"),e.preventDefault())))},_focusPrevTag:function(){var e=this.tagList.find(b+y);if(e.length){var t=this._activeId;e.first().removeClass(y).removeAttr("id").prev(M).addClass(y).attr("id",t),this.wrapper.attr("aria-activedescendant",t)}else this._focusLastTag()},_focusNextTag:function(){var e=this.tagList.find(b+y);if(e.length){var t=this._activeId;e.first().removeClass(y).removeAttr("id").next(M).addClass(y).attr("id",t),this.wrapper.attr("aria-activedescendant",t)}else this._focusFirstTag()},_focusFirstTag:function(){var e=this._activeId;this._clearDisabledTag();var t=this.tagList.children(M).first().addClass(y).attr("id",e);return this.wrapper.attr("aria-activedescendant",e),t},_focusLastTag:function(){var e=this._activeId;this._clearDisabledTag();var t=this.tagList.children(M).last().addClass(y).attr("id",e);return this.wrapper.attr("aria-activedescendant",e),t},_clearDisabledTag:function(){this.tagList.find(b+y).removeClass(y).removeAttr("id")},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout((function(){var t=e.filterInput.val();e._prev!==t&&(e._prev=t,e.search(t)),e._typingTimeout=null}),e.options.delay)},_clearFilter:function(){this.filterInput.val().length&&(this.filterInput.val(""),this._prev="",this._filtering=!0,this.treeview.dataSource.filter({}))},_removeTagClick:function(t){t.stopPropagation();var i=this._tags[e(t.currentTarget.closest(M)).index()];this._removeTag(i)},_removeTag:function(e){if(e){var t=e.uid;this._uncheckItemByUid(t)}}});function B(e,t,i){for(var s,n=0,a=t.length-1;n<a;++n)(s=t[n])in e||(e[s]={}),e=e[s];e[t[a]]=i}s.plugin(O),i.cssProperties.registerPrefix("DropDownTree","k-picker-"),i.cssProperties.registerValues("DropDownTree",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}]),i.cssProperties.registerPrefix("MultiSelectTree","k-input-"),i.cssProperties.registerValues("MultiSelectTree",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}]);var U=i.Class.extend({init:function(e){this._dropdowntree=e},_initWrapper:function(){this._wrapper(),this._span()},_preselect:function(e){this._dropdowntree._selectValue(e)},_wrapper:function(){var e,t=this._dropdowntree,i=t.element,s=i[0];(e=i.parent()).is("span.k-dropdowntree")||((e=i.wrap("<span />").parent())[0].style.cssText=s.style.cssText,e[0].title=s.title),t._focused=t.wrapper=e.addClass("k-dropdowntree k-picker").addClass(s.className).removeClass("input-validation-error").removeClass("k-invalid").css("display","").attr({accesskey:i.attr("accesskey"),unselectable:"on"}),i.hide().removeAttr("accesskey")},_span:function(){var e,t=this._dropdowntree,i=t.wrapper,s="span.k-input-value-text";(e=i.find(s))[0]||(i.append('<span unselectable="on" class="k-input-inner"><span class="k-input-value-text"></span></span>'+n.renderButton('<button unselectable="on" class="k-input-button" aria-label="select" tabindex="-1"></button>',d({},t.options,{icon:"caret-alt-down",shape:"none",rounded:"none"}))).append(t.element),e=i.find(s)),t.span=e,t._arrow=i.find(".k-input-button"),t._arrowIcon=t._arrow.find(".k-icon,.k-svg-icon")},_setValue:function(e){var i,s=this._dropdowntree;return e===t||null===e?(e="object"==typeof(i=s._values.slice()[0])?i:s._accessor()||i)===t||null===e?"":e:(s._valueMethodCalled=!0,0===e.length?(s._clearTextAndValue(),void(s._valueMethodCalled=!1)):(s._selectItemByValue(e),s._toggleCloseVisibility(),void s._refreshFloatingLabel()))},_clearValue:function(){var e=this._dropdowntree,t=e.treeview.select(),i=e._values.length,s=!1;return e.treeview.dataItem(t)?(e.treeview.dataItem(t).set("selected",!1),s=!0):i>0&&(s=!0),!(e._valueMethodCalled||!s)},_checkLoadedItem:function(e,t){var i=this._dropdowntree;i._isNullorUndefined(t)||""===t?!t&&e.selected&&i.treeview.select(i.treeview.findByUid(e.uid)):i._valueComparer(e,t)?(i._preventChangeTrigger=!0,e.set("selected",!0),i._preventChangeTrigger=!1):e.selected&&i.treeview.select(i.treeview.findByUid(e.uid))}}),E=i.Class.extend({init:function(e){this._dropdowntree=e},_initWrapper:function(){var t=this._dropdowntree;this._tagTemplate(),t.element.attr("multiple","multiple").hide(),this._wrapper(),t._tags=new h([]),t._multipleTags=new h([]),this._tagList(),t.span=e('<span unselectable="on" class="k-input-inner"><span class="k-input-value-text"></span></span>').appendTo(t.wrapper).find(".k-input-value-text")},_preselect:function(t,s){var n=this._dropdowntree,a=s||n.options.value;Array.isArray(t)||t instanceof i.data.ObservableArray||(t=[t]),(e.isPlainObject(t[0])||t[0]instanceof i.data.ObservableObject||!n.options.dataValueField)&&(n.dataSource.data(t),n.value(a))},_tagTemplate:function(){var t=this._dropdowntree,s=t.options,l=s.valueTemplate,r="multiple"===s.tagMode,o=a(s.messages.singleTag);l=l?i.template(l):t.valueTemplate,t.valueTemplate=function(i){return n.renderChip('<span class="'+(!1===i.enabled?"k-disabled":"")+'"'+(!1===i.enabled?'aria-disabled="true"':"")+"></span>",e.extend({},s,{fillMode:"solid",themeColor:"base",rounded:"medium",attr:{unselectable:"on","aria-keyshortcuts":"Enter Delete",role:"option"},text:r?l(i):'<span unselectable="on" data-bind="text: tags.length"></span><span unselectable="on">&nbsp;'+o+"</span>",removable:r,removeIcon:"x-circle",removableAttr:{unselectable:"on","aria-hidden":!0,"aria-label":t.options.messages.deleteTag,title:t.options.messages.deleteTag}}))}},_wrapper:function(){var e=this._dropdowntree,t=e.element,i=t.parent(".k-multiselecttree");i[0]||((i=t.wrap('<span class="k-multiselecttree k-input" unselectable="on" />').parent())[0].style.cssText=t[0].style.cssText,i[0].title=t[0].title),e.wrapper=i.addClass(t[0].className).css("display","")},_tagList:function(){var t=this._dropdowntree,s=t.wrapper.children("div.k-input-values");if(!s[0]){var a="multiple"===t.options.tagMode?"tags":"multipleTag";s=e(n.renderChipList('<div unselectable="on" class="k-input-values k-selection-multiple" data-template="tagTemplate" data-bind="source: '+a+'" />',e.extend({selectable:"none"},t.options))).appendTo(t.wrapper)}t.tagList=s,t.tagList.attr("id",i.guid()+"_tagList"),t.wrapper.attr("aria-controls",t.tagList.attr("id"));var l=i.observable({multipleTag:t._multipleTags,tags:t._tags,tagTemplate:t.valueTemplate});i.bind(t.tagList,l),t.tagList.attr("data-stop",!0)},_refreshTagListAria:function(){var t=this;t.tagList&&n.renderChipList(t.tagList,e.extend({selectable:0===t.tagList.items().length?"none":"multiple"},t.options))},_setValue:function(e){var i=this._dropdowntree,s=i._values;if(e===t||null===e)return i._values.slice();i.setValue(e),i._valueMethodCalled=!0,e.length?(this._removeValues(s,e),i._checkItemByValue(e)):i._clearTextAndValue(),i._valueMethodCalled=!1,i._toggleCloseVisibility(),this._refreshTagListAria(),i._refreshFloatingLabel()},_removeValues:function(e,t){for(var i=this._dropdowntree,s=this._getNewValues(e,t),n=0;n<s.length;n++)for(var a=0;a<i._tags.length;a++)i._valueComparer(i._tags[a],s[n])&&i._uncheckItemByUid(i._tags[a].uid)},_getNewValues:function(e,t){for(var i=[],s=0;s<e.length;s++)-1===t.indexOf(e[s])&&i.push(e[s]);return i},_clearValue:function(){for(var e=this._dropdowntree,t=e._tags.slice(),i=0;i<t.length;i++){var s=t[i].uid;e._preventChangeTrigger=!0,e._uncheckItemByUid(s)}return!(!t.length||(e._preventChangeTrigger=!1,e._valueMethodCalled))},_checkLoadedItem:function(e,t){var i=this._dropdowntree;i._noInitialValue&&e.checked?i._checkValue(e):!t.length&&!this._isDataSourceSet||-1===(-1!==t.indexOf(i._currentValue(e))||t.indexOf(e))||this._findTag(i._currentValue(e))||(e.checked?i._checkValue(e):(i._preventChangeTrigger=!0,e.set("checked",!0),i._preventChangeTrigger=!1))},_findTag:function(e){var t=this._dropdowntree;return t._tags.find((function(i){return t._valueComparer(i,e)}))}});i.ui.DropDownTree.SingleSelection=U,i.ui.DropDownTree.MultipleSelection=E}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.dropdowntree.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendotoggleinputbase=e.kendotoggleinputbase||{},e.kendotoggleinputbase.js=n())}(this,(function(){return function(e,n){var t=window.kendo,i=t.ui,o=i.Widget,c="change",d="disabled",s="checked",a=o.extend({init:function(e,n){var i=this;o.fn.init.call(i,e,n),i._wrapper(),i._initSettings(),i._attachEvents(),t.notify(i,t.ui)},events:[c],options:{name:"ToggleInputBase"},NS:".kendoToggleInputBase",RENDER_INPUT:e.noop,check:function(e){var n=this,t=n.element[0];if(undefined===e)return t.checked;t.checked!==e&&(n.options.checked=t.checked=e),e?n.element.attr(s,s):n.element.prop(s,!1)},destroy:function(){o.fn.destroy.call(this),this.wrapper.off(this.NS)},enable:function(e){var n=this.element;void 0===e&&(e=!0),this.options.enabled=e,e?n.prop(d,!1):n.attr(d,d)},toggle:function(){this.check(!this.element[0].checked)},_attachEvents:function(){this.element.on(c+this.NS,this._change.bind(this))},_change:function(){var e=this.element[0].checked;this.trigger(c,{checked:e})},_initSettings:function(){var e=this,n=e.element[0],t=e.options;null===t.checked&&(t.checked=n.checked),e.check(t.checked),t.enabled=t.enabled&&!e.element.attr(d),e.enable(t.enabled)},_wrapper:function(){var n=this,t=n.options;(0,n.RENDER_INPUT)(n.element,e.extend({},t)),n.element.removeClass("input-validation-error"),n.wrapper=n.element}});i.plugin(a)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.toggleinputbase.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.toggleinputbase.js"),require("kendo.html.input.js")):"function"==typeof define&&define.amd?define(["kendo.toggleinputbase.min","kendo.html.input.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendocheckbox=e.kendocheckbox||{},e.kendocheckbox.js=n())}(this,(function(){return function(e,n){var o=window.kendo,i=o.ui,t=i.ToggleInputBase.extend({options:{name:"CheckBox",checked:null,enabled:!0,encoded:!0,label:null,rounded:"medium",size:"medium"},RENDER_INPUT:o.html.renderCheckBox,NS:".kendoCheckBox",value:function(e){return"string"==typeof e&&(e="true"===e),this.check.apply(this,[e])}});o.cssProperties.registerPrefix("CheckBox","k-checkbox-"),o.cssProperties.registerValues("CheckBox",[{prop:"rounded",values:o.cssProperties.roundedValues.concat([["full","full"]])}]),i.plugin(t)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.checkbox.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.data.js"),require("kendo.popup.js"),require("kendo.label.js"),require("kendo.icons.js"),require("kendo.actionsheet.js")):"function"==typeof define&&define.amd?define(["kendo.data.min","kendo.popup.min","kendo.label.min","kendo.icons.min","kendo.actionsheet.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendolist=e.kendolist||{},e.kendolist.js=t())}(this,(function(){return function(e,t){var i=window.kendo,a=i.ui,s=i._outerHeight,n=/^\d+(\.\d+)?%$/i,l=a.Widget,o=i.keys,r=i.support,u=i.htmlEncode,d=i._activeElement,c=i._outerWidth,h=i.data.ObservableArray,p="id",f="change",_="k-focus",m="k-hover",g="k-selected",v="k-i-loading k-input-loading-icon",b="k-list-ul",w=".k-list-group-sticky-header",y=".k-list-item",x="open",S="close",I="cascade",k="select",F="click",C="mouseenter",V="activate",T="deactivate",L="dataBinding",H="dataBound",D="selectedItemChange",B="selected",P="requestStart",A="requestEnd",E="focus",M=e.extend,O=Array.isArray,q=r.browser,Q="k-hidden",W="width",G="text",z=q.msie,N=/"/g,j={ComboBox:["DropDownList","MultiColumnComboBox"],DropDownList:["ComboBox","MultiColumnComboBox"],MultiColumnComboBox:["ComboBox","DropDownList"]},R="aria-labelledby",U="aria-label",K="aria-activedescendant",Y="aria-expanded",X="aria-hidden",$="aria-busy",J="aria-selected",Z=".k-table-group-row",ee=i.ui.DataBoundWidget.extend({init:function(t,a){var s,n=this;l.fn.init.call(n,t,a),t=n.element,a=n.options,n._isSelect=t.is(k),n._isSelect&&n.element[0].length&&(a.dataSource||(a.dataTextField=a.dataTextField||G,a.dataValueField=a.dataValueField||"value")),"auto"===a.adaptiveMode&&(n.largeMQL=i.mediaQuery("large"),n.mediumMQL=i.mediaQuery("medium"),n.smallMQL=i.mediaQuery("small")),n._listSize=i.cssProperties.getValidClass({widget:"List",propName:"size",value:a.size}),n._filterHeader(),n.ul=e('<ul unselectable="on"/>').attr({tabIndex:-1,"aria-hidden":!0}),n.list=e("<div class='k-list'/>").addClass(n._listSize).append(n.ul),(s=t.attr(p))||(s=i.guid()),n.list.attr(p,s+"-list"),n.ul.attr(p,s+"_listbox"),a.columns&&a.columns.length&&(n.list.removeClass("k-list").addClass("k-data-table"),n.list.removeClass(n._listSize).addClass("k-table-md"),n.ul.removeClass(b).addClass("k-table"),n._columnsHeader()),n._header(),n._noData(),n._footer(),n._accessors(),n._initValue()},options:{valuePrimitive:!1,footerTemplate:"",headerTemplate:"",noDataTemplate:!0,size:"medium",messages:{noData:"No data found.",clear:"clear"},adaptiveMode:"none"},setOptions:function(e){l.fn.setOptions.call(this,e),e&&e.enable!==t&&(e.enabled=e.enable),e.columns&&e.columns.length&&this._columnsHeader(),this._header(),this._noData(),this._footer(),this._renderFooter(),this._renderNoData(),e.label&&this._inputLabel?this.label.setOptions(e.label):!1===e.label?(this.label._unwrapFloating(),this._inputLabel.remove(),delete this._inputLabel):e.label&&this._label()},focus:function(){this._focused.trigger(E)},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this.label&&this.label.floatingLabel&&this.label.floatingLabel.enable(e=e===t||e)},_label:function(){var t=this,a=t.options,s=e.isPlainObject(a.label)?a.label:{content:a.label};t.label=new i.ui.Label(null,e.extend({},s,{widget:t,floatCheck:t._floatCheck.bind(t)})),t._inputLabel=t.label.element},_floatCheck:function(){return!this.listView||!(this.value()||!!this.text&&this.text())&&!this.popup.visible()},_refreshFloatingLabel:function(){var e=this;e.label&&e.label.floatingLabel&&e.label.floatingLabel.refresh()},_header:function(){var t=this,a=e(t.header),s=t.options.headerTemplate;if(i.destroy(a),a.remove(),s){var n="function"!=typeof s?i.template(s):s;a=e(n({})),t.header=a[0]?a:null,t.list.parent.length>0&&t.list.before(a)}else t.header=null},_filterHeader:function(){this.filterTemplate='<div class="k-list-filter"><span class="k-searchbox k-input k-input-md k-rounded-md k-input-solid" type="text" autocomplete="off">'+i.ui.icon({icon:"search",iconClass:"k-input-icon"})+"</span></div>",this.actionSheetFilterTemplate='<div class="k-actionsheet-titlebar-group k-actionsheet-filter">'+this.filterTemplate+"</div>",this._isFilterEnabled()&&(this.filterInput=e('<input class="k-input-inner" type="text" />').attr({placeholder:this.element.attr("placeholder"),title:this.options.filterTitle||this.element.attr("title"),role:"searchbox","aria-label":this.options.filterTitle,"aria-haspopup":"listbox","aria-autocomplete":"list"}))},_columnsHeader:function(){var t,a=this,s=e(a.columnsHeader);i.destroy(s),s.remove();for(var l="<div class='k-table-header'><div class='k-table-header-wrap'><table class='k-table' role='presentation'>",o="<colgroup>",r="<tr class='k-table-row'>",u=0;u<this.options.columns.length;u++){var d=this.options.columns[u],c=d.title||d.field||"",h=d.headerTemplate||function(){return c},p="function"!=typeof h?i.template(h):h,f=d.width,_=parseInt(f,10),m="";f&&!isNaN(_)&&(m+=i.attr("style-width")+'="'+_+(n.test(f)?"%":"px")+'"'),o+="<col "+m+"/>",r+="<th class='k-table-th'>",r+=p(d),r+="</th>"}l+=o+="</colgroup>",l+="<thead class='k-table-thead'>",l+=r+="</tr>",t=e(l+="</thead></table></div></div>"),i.applyStylesFromKendoAttributes(t,["width"]),a.columnsHeader=s=t,a.list.prepend(s)},_noData:function(){var t=this,a=e(t.noData),s=!0===t.options.noDataTemplate?function(){return u(t.options.messages.noData)}:t.options.noDataTemplate;i.destroy(a),a.remove(),s?(t.noData=e('<div class="k-no-data"></div>').hide().appendTo(t.list),t.noDataTemplate="function"!=typeof s?i.template(s):s):t.noData=null},_footer:function(){var t=this,a=e(t.footer),s=t.options.footerTemplate,n=this.options.columns&&this.options.columns.length?'<div class="k-table-footer"><span class="k-table-td"></span></div>':'<div class="k-list-footer"></div>';i.destroy(a),a.remove(),s?(t.footer=e(n).appendTo(t.list),t.footerTemplate="function"!=typeof s?i.template(s):s):t.footer=null},_listOptions:function(t){var a=this,s=a.options,n=s.virtual,l={change:a._listChange.bind(a)},o=a._listBound.bind(a),r=a._focused,d=a.element.attr("id"),c=e('label[for="'+a.element.attr("id")+'"]'),h=r.attr(R);return!h&&c.length&&(h=c.attr("id")||a._generateLabelId(c,d||i.guid())),n="object"==typeof n?n:{},(t=e.extend({autoBind:!1,selectable:!0,dataSource:a.dataSource,click:a._click.bind(a),activate:a._activateItem.bind(a),columns:s.columns,deactivate:a._deactivateItem.bind(a),dataBinding:function(){a.trigger(L)},dataBound:o,height:s.height,dataValueField:s.dataValueField,dataTextField:s.dataTextField,groupTemplate:s.groupTemplate,fixedGroupTemplate:s.fixedGroupTemplate,template:s.template,ariaLabel:r.attr(U),ariaLabelledBy:h,listSize:a._listSize},t,n,l)).template||(t.template=function(e){return u(i.getter(t.dataTextField)(e))}),t},_initList:function(e){var t=this,a=e&&e.skipValueUpdate,s=t._listOptions({selectedItemChange:t._listChange.bind(t)});t.options.virtual?(t.listView=new i.ui.VirtualList(t.ul,Object.assign(s,{height:t._hasActionSheet()?362:t.options.height})),t.list.addClass("k-virtual-list")):t.listView=new i.ui.StaticList(t.ul,s),t.listView.bind("listBound",t._listBound.bind(t)),a||t._setListValue()},_setListValue:function(e){(e=e||this.options.value)!==t&&this.listView.value(e).done(this._updateSelectionState.bind(this))},_updateSelectionState:e.noop,_listMousedown:function(e){this.filterInput&&this.filterInput[0]===e.target||e.preventDefault()},_isFilterEnabled:function(){var e=this.options.filter;return e&&"none"!==e},_hideClear:function(){this._clear&&this._clear.addClass(Q)},_showClear:function(){this._clear&&this._clear.removeClass(Q)},_clearValue:function(){this._clearText(),this._accessor(""),this.listView.value([]),this._isSelect&&(this._customOption=t),this._isFilterEnabled()&&!this.options.enforceMinLength&&(this._filter({word:"",open:!1}),this.options.highlightFirst&&this.listView.focus(0)),this._change()},_clearText:function(){this.text("")},_clearFilter:function(){this.options.virtual||this.listView.bound(!1),this._filterSource()},_filterSource:function(t,i){var a=this,s=a.options,n=s.filterFields&&t&&t.logic&&t.filters&&t.filters.length,l=a.dataSource,o=M({},l.filter()||{}),r=t||o.filters&&o.filters.length&&!t,u=oe(o,s.dataTextField);if(this._clearFilterExpressions(o),(t||u)&&a.trigger("filtering",{filter:t}))return e.Deferred().reject().promise();var d={filters:[],logic:"and"};n?d.filters.push(t):this._pushFilterExpression(d,t),le(o)&&(d.logic===o.logic?d.filters=d.filters.concat(o.filters):d.filters.push(o)),a._cascading&&this.listView.setDSFilter(d);var c=M({},{page:r?1:l.page(),pageSize:r?l.options.pageSize:l.pageSize(),sort:l.sort(),filter:l.filter(),group:l.group(),aggregate:l.aggregate()},{filter:d});return l[i?"read":"query"](l._mergeState(c))},_pushFilterExpression:function(e,t){le(t)&&""!==t.value&&e.filters.push(t)},_clearFilterExpressions:function(e){if(e.filters){for(var t,i=0;i<e.filters.length;i++)"fromFilter"in e.filters[i]&&(t=i);isNaN(t)||e.filters.splice(t,1)}},_renderNoData:function(){var e=this,t=e.noData;t&&t.html(e.noDataTemplate({instance:e}))},_toggleNoData:function(t){e(this.noData).toggle(t)},_toggleHeader:function(e){this.listView.content.prev(w).toggle(e)},_renderFooter:function(){var e=this,t=e.footer?this.options.columns&&this.options.columns.length?e.footer.children().first():e.footer:null;t&&t.html(e.footerTemplate({instance:e}))},_allowOpening:function(){return this.options.noDataTemplate||this.dataSource.flatView().length},_initValue:function(){var e=this,t=e.options.value;null!==t?e.element.val(t):(t=e._accessor(),e.options.value=t),e._old=t},_ignoreCase:function(){var e,t=this,i=t.dataSource.reader.model;i&&i.fields&&(e=i.fields[t.options.dataTextField])&&e.type&&"string"!==e.type&&(t.options.ignoreCase=!1)},_focus:function(e){return this.listView.focus(e)},_filter:function(e){var t,i=this,a=i.options,s=e.word,n=a.filterFields,l=a.dataTextField;if(n&&n.length){t={logic:"or",filters:[],fromFilter:!0};for(var o=0;o<n.length;o++)this._pushFilterExpression(t,i._buildExpression(s,n[o]))}else t=i._buildExpression(s,l);i._open=e.open,i._filterSource(t)},_buildExpression:function(e,t){var i=this.options,a=i.ignoreCase,s=this.dataSource.options.accentFoldingFiltering;return{value:a?s?e.toLocaleLowerCase(s):e.toLowerCase():e,field:t,operator:i.filter,ignoreCase:a}},_clearButton:function(){var t=this,a=t.options.messages.clear;t._clear||(t._clear=e('<span unselectable="on" class="k-clear-value" title="'+a+'">'+i.ui.icon("x")+"</span>").attr({role:"button",tabIndex:-1})),t.options.clearButton||t._clear.remove(),this._hideClear()},search:function(e){var t=this.options;e="string"==typeof e?e:this._inputValue(),clearTimeout(this._typingTimeout),(!t.enforceMinLength&&!e.length||e.length>=t.minLength)&&(this._state="filter",this.listView&&(this.listView._emptySearch=!i.trim(e).length),this._isFilterEnabled()?this._filter({word:e,open:!0}):this._searchByWord(e))},current:function(e){return this._focus(e)},items:function(){return this.ul[0].children},destroy:function(){var e=this,t=e.ns;l.fn.destroy.call(e),e._unbindDataSource(),(e.largeMQL||e.mediumMQL||e.smallMQL)&&(e.largeMQL.destroy(),e.mediumMQL.destroy(),e.smallMQL.destroy()),e.listView.destroy(),e.list.off(t),e.popup.destroy(),e._form&&e._form.off("reset",e._resetHandler),e.label&&e.label.destroy()},dataItem:function(i){var a=this;if(i===t)return a.listView.selectedDataItems()[0];if("number"!=typeof i){if(a.options.virtual)return a.dataSource.getByUid(e(i).data("uid"));i=e(a.items()).index(i)}return a.dataSource.flatView()[i]},_activateItem:function(){var e=this.listView.focus();e&&this.popup.visible()&&this._focused.add(this.filterInput).attr(K,e.attr("id"))},_deactivateItem:function(){this._focused.add(this.filterInput).removeAttr(K)},_accessors:function(){var e=this,t=e.element,a=e.options,s=i.getter,n=t.attr(i.attr("text-field")),l=t.attr(i.attr("value-field"));!a.dataTextField&&n&&(a.dataTextField=n),!a.dataValueField&&l&&(a.dataValueField=l),e._text=s(a.dataTextField),e._value=s(a.dataValueField)},_aria:function(e){var i,a=this,s=a.options,n=a._focused;s.suggest!==t&&(i="none"===s.filter?!0===s.suggest?"inline":"none":!0===s.suggest?"both":"list",n.attr("aria-autocomplete",i)),e=e?e+" "+a.ul[0].id:a.ul[0].id,n.attr({"aria-controls":e}),a.filterInput&&a.filterInput.length>0&&a.filterInput.attr("aria-controls",e),a.ul.attr("aria-live",a._isFilterEnabled()?"polite":"off"),a._ariaLabel(a._focused)},_blur:function(){var e=this;e._change(),e.close(),e._userTriggered=!1},_isValueChanged:function(e){return e!==te(this._old,typeof e)},_change:function(){var e,i=this,a=i.selectedIndex,s=i.options.value,n=i.value();i._isSelect&&!i.listView.bound()&&s&&(n=s),i._isValueChanged(n)||i._valueBeforeCascade!==t&&i._valueBeforeCascade!==te(i._old,typeof i._valueBeforeCascade)&&i._userTriggered?e=!0:a===t||a===i._oldIndex||i.listView.isFiltered()||(e=!0),e&&(null===i._old||""===i._old||""===n?i._valueBeforeCascade=i._old=n:i.dataItem()?i._valueBeforeCascade=i._old=i.options.dataValueField?i.dataItem()[i.options.dataValueField]:i.dataItem():i._valueBeforeCascade=i._old=null,i._oldIndex=a,i._typing||i.element.trigger(f),i.trigger(f)),i.typing=!1},_data:function(){return this.dataSource.view()},_enable:function(){var e=this,i=e.options,a=e.element.is("[disabled]");i.enable!==t&&(i.enabled=i.enable),!i.enabled||a?e.enable(!1):e.readonly(e.element.is("[readonly]"))},_dataValue:function(e){var i=this._value(e);return i===t&&(i=this._text(e)),i},_offsetHeight:function(){var t=0;return this.listView.content.parent().prevAll(":visible").each((function(){var i=e(this);t+=s(i,!0)})),t},_height:function(t){var i,a=this,n=a.list,l=a.options.height,o=a.popup.visible(),r=this.options.columns&&this.options.columns.length;if(t||a.options.noDataTemplate){if(i=n.parent().add(n.closest(".k-animation-container").add(n.closest(".k-child-animation-container"))).show(),!n.parent().is(":visible"))return void i.hide();l=a.listView.content[0].scrollHeight>l?l:"auto",i.height(l),"auto"!==l&&(l-=a._offsetHeight(),r&&(l=l-(s(e(a.footer))||0)-(s(e(a.columnsHeader))||0))),r?a.listView.content.outerHeight(l):a.listView.content.parent().outerHeight(l),o||n.parent().hide()}return l},_openHandler:function(e){var t;this._adjustListWidth(),this.trigger(x)?e.preventDefault():(this._focused.attr(Y,!0),this.ul.attr(X,!1),(t=this.listView.focus())&&this._focused.add(this.filterInput).attr(K,t.attr("id")))},_adjustListWidth:function(){var e,t,i=this,a=i.list.parent(),s=a[0].style.width,n=i.wrapper;if(!(!a.data(W)&&s||i._hasActionSheet()))return e=window.getComputedStyle?window.getComputedStyle(n[0],null):0,t=parseFloat(e&&e.width)||c(n),e&&q.msie&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),s="border-box"!==a.css("box-sizing")?t-(c(a)-a.width()):t,a.css({fontFamily:n.css("font-family"),width:i.options.autoWidth?"auto":s,minWidth:s,whiteSpace:i.options.autoWidth?"nowrap":"normal"}).data(W,s),!0},_closeHandler:function(e){e.closeButton&&this._onCloseButtonPressed(),this.trigger(S)?e.preventDefault():(this._focused.attr(Y,!1),this.ul.attr(X,!0),this._focused.add(this.filterInput).removeAttr(K))},_focusItem:function(){var e=this.listView,i=!e.focus(),a=se(e.select());a===t&&this.options.highlightFirst&&i&&(a=0),a!==t?e.focus(a):i&&e.scrollToIndex(0)},_calculateGroupPadding:function(e){var t=this.ul.children(".k-first").first(),a=this.listView.content.prev(w),s=0,n="right";a[0]&&"none"!==a[0].style.display&&("auto"!==e&&(s=i.support.scrollbar()),this.element.parents(".k-rtl").length&&(n="left"),s+=parseFloat(t.css("border-"+n+"-width"),10)+parseFloat(t.children(".k-list-item-group-label").css("padding-"+n),10),a.css("padding-"+n,s))},_calculatePopupHeight:function(e){var t=this._height(this.dataSource.flatView().length||e);this._calculateGroupPadding(t),this._calculateColumnsHeaderPadding(t)},_calculateColumnsHeaderPadding:function(e){if(this.options.columns&&this.options.columns.length){var t=r.isRtl(this.wrapper),a=i.support.scrollbar();this.columnsHeader.css(t?"padding-left":"padding-right","auto"!==e?a:0)}},_refreshScroll:function(){var e=this.listView,t=e.element.height()>e.content.height();this.options.autoWidth&&e.content.css({overflowX:"hidden",overflowY:t?"scroll":"auto"})},_hasActionSheet:function(){return"auto"===this.options.adaptiveMode&&(this.mediumMQL.mediaQueryList.matches||this.smallMQL.mediaQueryList.matches)},_resizePopup:function(e){this.options.virtual||this._hasActionSheet()||(this.popup.element.is(":visible")?this._calculatePopupHeight(e):(this.popup.one("open",function(e){return function(t){t.isDefaultPrevented()||this._calculatePopupHeight(e)}.bind(this)}.call(this,e)),this.popup.one(V,this._refreshScroll.bind(this))))},_popup:function(){var e=this;e.list.wrap("<div>"),"auto"===e.options.adaptiveMode?(e.largeMQL.onEnter(e._createPopup.bind(e)),e.mediumMQL.onEnter(e._createActionSheet.bind(e)),e.smallMQL.onEnter((function(){e.popup||e._createActionSheet(),e.popup.fullscreen(!0)}))):e._createPopup()},_addFilterHeader:function(){var t=this;t._isFilterEnabled()&&(t._filterHeader(),"auto"===t.options.adaptiveMode&&(t.mediumMQL.mediaQueryList.matches||t.smallMQL.mediaQueryList.matches)?(t.popup.element.find(".k-actionsheet-titlebar").append(e(t.actionSheetFilterTemplate)).find(".k-searchbox").append(t.filterInput),t._enable()):t.options.popupFilter&&t.list.parent().prepend(e(t.filterTemplate)).find(".k-searchbox").append(t.filterInput),t._enable())},_createPopup:function(){var e=this,t=this;t.popup&&(t._cachedFilterValue=t.filterInput?t.filterInput.val():null,t.popup.destroy(),t._removeFilterHeader(),t._removeStaticHeader()),t.popup=new a.Popup(t.list.parent().addClass("k-list-container"),M({},t.options.popup,{anchor:t.wrapper,open:t._openHandler.bind(t),close:t._closeHandler.bind(t),animation:t.options.animation,isRtl:r.isRtl(t.wrapper),autosize:t.options.autoWidth,activate:function(){e._refreshFloatingLabel()},deactivate:function(){e._refreshFloatingLabel()}})),t._postCreatePopup()},_onActionSheetCreate:e.noop,_onCloseButtonPressed:e.noop,_createActionSheet:function(){var e=this,t=this;t.popup&&(t._cachedFilterValue=t.filterInput?t.filterInput.val():null,t.popup.destroy(),t._removeFilterHeader(),t._removeStaticHeader(),t.list.parent().css({width:"",height:"",minWidth:""})),t.popup=new a.ActionSheet(t.list.parent(),{headerTemplate:function(e){return'<div class="k-text-center k-actionsheet-titlebar" ><div class="k-actionsheet-titlebar-group k-hbox"><div  class="k-actionsheet-title">'+(t.options.label?'<div class="k-text-center">'+t.options.label+"</div>":"")+(t.options.placeholder?'<div class="k-actionsheet-subtitle k-text-center">'+(t.options.placeholder||"")+"</div>":"")+"</div>"+(e.closeButton?'<div class="k-actionsheet-actions">'+i.html.renderButton('<button tabindex="-1" '+i.attr("ref-actionsheet-close-button")+"></button>",{icon:"x",fillMode:"flat",size:"large"})+"</div>":"")+"</div></div>"},open:t._openHandler.bind(t),close:t._closeHandler.bind(t),focusOnActivate:!1,adaptive:!0,appendTo:t.options.popup&&t.options.popup.appendTo||document.body,closeButton:!0,fullscreen:t.smallMQL.mediaQueryList.matches,activate:function(){e._refreshFloatingLabel()},deactivate:function(){e._refreshFloatingLabel()},popup:M({},t.options.popup,{autosize:t.options.autoWidth})}),t._postCreatePopup(),t._onActionSheetCreate()},_removeFilterHeader:function(){this.filterInput&&(this.filterInput.off(this.ns).closest(".k-list-filter").remove(),this.filterInput=null)},_removeStaticHeader:function(){this.listView.header.remove()},_postCreatePopup:function(){var e,t=this;t._addFilterHeader(),t.filterInput&&t._cachedFilterValue&&t.filterInput.val(t._cachedFilterValue),t.popup.element.prepend(t.header).on("mousedown"+this.ns,this._listMousedown.bind(this)),t.listView&&(e=t.listView.value(),t.listView._clean&&t.listView._clean(),t.tagList&&t.options.virtual&&t.tagList.empty(),t.listView.destroy(),t._initList({skipValueUpdate:!0}),t.listView.value(e))},_toggleHover:function(t){e(t.currentTarget).toggleClass(m,t.type===C)},_toggle:function(e,i){var a=this,s=r.mobileOS&&(r.touch||r.MSPointers||r.pointers);e=e!==t?e:!a.popup.visible(),i||s||a._focused[0]===d()||(a._prevent=!0,a._focused.trigger(E),a._prevent=!1),a[e?x:S]()},_triggerCascade:function(){var e=this;e._cascadeTriggered&&e.value()===te(e._cascadedValue,typeof e.value())||(e._cascadedValue=e.value(),e._cascadeTriggered=!0,e.trigger(I,{userTriggered:e._userTriggered}))},_triggerChange:function(){this._valueBeforeCascade!==this.value()&&this.trigger(f)},_unbindDataSource:function(){var e=this;e.dataSource.unbind(P,e._requestStartHandler).unbind(A,e._requestEndHandler).unbind("error",e._errorHandler)},requireValueMapper:function(e,t){if(((e.value instanceof Array?e.value.length:e.value)||(t instanceof Array?t.length:t))&&e.virtual&&"function"!=typeof e.virtual.valueMapper)throw new Error("ValueMapper is not provided while the value is being set. See http://docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization#the-valuemapper-function")}});function te(e,i){return e!==t&&""!==e&&null!==e&&("boolean"===i?("boolean"!=typeof e&&(e="true"===e.toString().toLowerCase()),e=Boolean(e)):"number"===i?e=Number(e):"string"===i&&(e=e.toString())),e}M(ee,{inArray:function(e,t){var i,a,s=t.children;if(!e||e.parentNode!==t)return-1;for(i=0,a=s.length;i<a;i++)if(e===s[i])return i;return-1},unifyType:te}),i.ui.List=ee,a.Select=ee.extend({init:function(e,t){ee.fn.init.call(this,e,t),this._initial=this.element.val()},setDataSource:function(e){var t,i=this;i.options.dataSource=e,i._dataSource(),i.listView.bound()&&(i._initialIndex=null,i.listView._current=null),i.listView.setDataSource(i.dataSource),i.options.autoBind&&i.dataSource.fetch(),(t=i._parentWidget())&&i._cascadeSelect(t)},close:function(){this.popup.close()},select:function(e){var i=this;return e===t?i.selectedIndex:i._select(e).done((function(){i._cascadeValue=i._old=i._accessor(),i._oldIndex=i.selectedIndex,i._refreshFloatingLabel()}))},_accessor:function(e,t){return this[this._isSelect?"_accessorSelect":"_accessorInput"](e,t)},_accessorInput:function(e){var i=this.element[0];if(e===t)return i.value;null===e&&(e=""),i.value=e},_accessorSelect:function(e,i){var a=this.element[0];if(e===t)return ne(a).value||"";ne(a).selected=!1,i===t&&(i=-1),null!==e&&""!==e&&-1==i?this._custom(e):e?a.value=e:a.selectedIndex=i},_syncValueAndText:function(){return!0},_custom:function(t){var i=this,a=i.element,s=i._customOption;s||(s=e("<option/>"),i._customOption=s,a.append(s)),s.text(t),s[0].selected=!0},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._arrowIcon.removeClass(v),e._focused.attr($,!1),e._busy=null,e._showClear()},_showBusy:function(e){var t=this;e.isDefaultPrevented()||(t._request=!0,t._busy||(t._busy=setTimeout((function(){t._arrowIcon&&(t._focused.attr($,!0),t._arrowIcon.addClass(v),t._hideClear())}),100)))},_requestEnd:function(){this._request=!1,this._hideBusy()},_dataSource:function(){var e,t=this,a=t.element,s=t.options,n=s.dataSource||{};n=Array.isArray(n)?{data:n}:n,t._isSelect&&((e=a[0].selectedIndex)>-1&&(s.index=e),n.select=a,n.fields=[{field:s.dataTextField},{field:s.dataValueField}]),t.dataSource?t._unbindDataSource():(t._requestStartHandler=t._showBusy.bind(t),t._requestEndHandler=t._requestEnd.bind(t),t._errorHandler=t._hideBusy.bind(t)),t.dataSource=i.data.DataSource.create(n).bind(P,t._requestStartHandler).bind(A,t._requestEndHandler).bind("error",t._errorHandler)},_firstItem:function(){this.listView.focusFirst()},_lastItem:function(){this.listView.focusLast()},_nextItem:function(){return this.listView.focusNext()},_prevItem:function(){return this.listView.focusPrev()},_getNormalizedDataItem:function(e){var t,i=this,a=i.listView,s="number"==typeof e,n=i.optionLabel&&i.optionLabel.length;return t=s?n?--e:e:a.getElementIndex(e),a.dataItemByIndex(t)},_getNormalizedSelectCandidate:function(e){var t=e;return this.optionLabel&&this.optionLabel.length&&"number"==typeof e&&t++,t},_move:function(e){var t,i,a,s,n,l=this,r=l.listView,u=e.keyCode,c=u===o.DOWN,h=l.options.virtual;if(u===o.UP||c){if(e.altKey)l.toggle(c);else{if(!r.bound()&&!l.ul[0].firstChild)return l._fetch||(l.dataSource.one(f,(function(){l._fetch=!1,l._move(e)})),l._fetch=!0,l._filterSource()),e.preventDefault(),!0;a=l._focus(),l._fetch||a&&!a.hasClass(g)||(c?(s=l._nextItem(),(h&&s<=0||!l._focus()&&!s)&&l._lastItem()):(s=l._prevItem(),(h&&s>=r.dataSource.total()-1||!l._focus()&&!s)&&l._firstItem())),n=l._getNormalizedSelectCandidate(l._get(l._focus())||s||0),l._select(n,!0).done((function(){var e=function(){l.popup.visible()||l._blur(),null===l._cascadedValue?l._cascadedValue=l.value():l._cascadedValue=l.dataItem()?l.dataItem()[l.options.dataValueField]||l.dataItem():null};l.trigger(k,{dataItem:l._getNormalizedDataItem(n),item:l._focus()})?l._select(a).done(e):e()}))}e.preventDefault(),i=!0}else if(u===o.ENTER||u===o.TAB){l.popup.visible()&&e.preventDefault(),a=l._focus(),t=l.dataItem(),l.popup.visible()||t&&l.text()===l._text(t)||(a=null);var p,_=l.filterInput&&l.filterInput[0]===d();if(a){var m=!0;if((t=r.dataItemByIndex(r.getElementIndex(a)))&&(m=l._value(t)!==ee.unifyType(l.value(),typeof l._value(t))),m&&l.trigger(k,{dataItem:t,item:a}))return;p=l._select(a)}else l.input&&((l._syncValueAndText()||l._isSelect)&&l._accessor(l.input.val()),l.listView.value(l.input.val()));l._focusElement&&l._focusElement(l.wrapper),_&&u===o.TAB?l.wrapper.focusout():p&&"function"==typeof p.done?p.done((function(){l._blur()})):l._blur(),l.close(),i=!0}else if(u===o.ESC)l.popup.visible()&&e.preventDefault(),l.close(),i=!0;else if(l.popup.visible()&&(u===o.PAGEDOWN||u===o.PAGEUP)){e.preventDefault();var v=u===o.PAGEDOWN?1:-1;r.scrollWith(v*r.screenHeight()),i=!0}return i},_fetchData:function(){var e=this,t=!!e.dataSource.view().length;e._request||e.options.cascadeFrom||e.listView.bound()||e._fetch||t||(e._fetch=!0,e.dataSource.fetch().done((function(){e._fetch=!1})))},_options:function(e,i,a){var s,n,l,o,r=this,d=r.element,c=d[0],h=e.length,p="",f=0;for(i&&(p=i);f<h;f++)s="<option",n=e[f],l=r._text(n),(o=r._value(n))!==t&&(-1!==(o+="").indexOf('"')&&(o=o.replace(N,"&quot;")),s+=' value="'+o+'"'),s+=">",l!==t&&(s+=u(l)),p+=s+="</option>";d.html(p),a!==t&&(c.value=a,c.value&&!a&&(c.selectedIndex=-1)),-1!==c.selectedIndex&&(s=ne(c))&&s.setAttribute(B,B)},_reset:function(){var t=this,i=t.element,a=i.attr("form"),s=a?e("#"+a):i.closest("form");s[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(t._initial)}))},t._form=s.on("reset",t._resetHandler))},_parentWidget:function(){var t=this.options.name;if(this.options.cascadeFrom){var i=e("#"+this.options.cascadeFrom),a=i.data("kendo"+t);if(!a)for(var s=0;s<j[t].length&&!(a=i.data("kendo"+j[t][s]));s+=1);return a}},_cascade:function(){var e,t=this,i=t.options;if(i.cascadeFrom){if(!(e=t._parentWidget()))return;t._cascadeHandlerProxy=t._cascadeHandler.bind(t),t._cascadeFilterRequests=[],i.autoBind=!1,e.bind("set",(function(){t.one("set",(function(e){t._selectedValue=e.value||t._accessor()}))})),e.first(I,t._cascadeHandlerProxy),e.listView.bound()?(t._toggleCascadeOnFocus(),t._cascadeSelect(e)):(e.one(H,(function(){t._toggleCascadeOnFocus(),e.popup.visible()&&e._focused.trigger(E)})),e.value()||t.enable(!1))}},_toggleCascadeOnFocus:function(){var e=this,t=e._parentWidget(),i=z&&t instanceof a.DropDownList?"blur":"focusout";t._focused.add(t.filterInput).on(E,(function(){t.unbind(I,e._cascadeHandlerProxy),t.unbind(f,e._cascadeHandlerProxy),t.first(f,e._cascadeHandlerProxy)})),t._focused.add(t.filterInput).on(i,(function(){t.unbind(f,e._cascadeHandlerProxy),t.unbind(I,e._cascadeHandlerProxy),t.first(I,e._cascadeHandlerProxy)}))},_cascadeHandler:function(e){var t=this._parentWidget(),i=this.value();this._userTriggered=e.userTriggered||t._userTriggered,this.listView.bound()&&this._clearSelection(t,!0),this._cascadeSelect(t,i)},_cascadeChange:function(e){var t=this,i=t._accessor()||t._selectedValue;t._cascadeFilterRequests.length||(t._selectedValue=null),t._userTriggered?t._clearSelection(e,!0):i?(i!==te(t.listView.value()[0],typeof i)&&t.value(i),t.dataSource.view()[0]&&-1!==t.selectedIndex||t._clearSelection(e,!0)):t.dataSource.flatView().length&&t.select(t.options.index),t.enable(),t._triggerCascade(),t._triggerChange(),t._userTriggered=!1},_cascadeSelect:function(e,i){var a=this,s=e.dataItem(),n=s?s[a.options.cascadeFromParentField]||e._value(s):null,l=a.options.cascadeFromField||e.options.dataValueField;if(!e.options.cascadeOnCustomValue||null!==n||a.options.cascadeFromParentField&&a.options.cascadeFromParentField!==e.options.dataValueField||(n=e.value()),a._valueBeforeCascade=i!==t?i:a.value(),n||0===n){oe(a.dataSource.filter()||{},l);var o=function(){var t=a._cascadeFilterRequests.shift();t&&a.unbind("dataBound",t),(t=a._cascadeFilterRequests[0])&&a.first("dataBound",t),a._cascadeChange(e)};a._cascadeFilterRequests.push(o),1===a._cascadeFilterRequests.length&&a.first("dataBound",o),a._cascading=!0,a._filterSource({field:l,operator:"eq",value:n}),a._cascading=!1}else a.enable(!1),a._clearSelection(e),a._triggerCascade(),a._triggerChange(),a._userTriggered=!1;a._refreshFloatingLabel()}});var ie=".StaticList",ae=i.ui.DataBoundWidget.extend({init:function(t,a){if(l.fn.init.call(this,t,a),this.element.attr("role",a.aria&&a.aria.role||"listbox").on(F+ie,"li",this._click.bind(this)).on(C+ie,"li",(function(){e(this).addClass(m)})).on("mouseleave"+ie,"li",(function(){e(this).removeClass(m)})),a&&a.ariaLabel?this.element.attr(U,a.ariaLabel):a&&a.ariaLabelledBy&&this.element.attr(R,a.ariaLabelledBy),r.touch&&this._touchHandlers(),"multiple"===this.options.selectable&&this.element.attr("aria-multiselectable",!0),this.options.columns&&this.options.columns.length){var s=this.element.parent().find(".k-table-thead"),n=e('<tr class="k-table-group-row"><th class="k-table-th" colspan="'+this.options.columns.length+'"></th></tr>');s.append(n),this.header=n.find(".k-table-th"),this.content=this.element.wrap("<div class='k-table-body k-table-scroller' unselectable='on'></div>").parent(),this.element.addClass("k-table-list")}else this.content=this.element.wrap("<div class='k-list-content k-list-scroller' unselectable='on'></div>").parent(),this.header=this.content.before(e('<div class="k-list-group-sticky-header"></div>').hide()).prev(),this.element.addClass(b);this.bound(!1),this._optionID=i.guid(),this._selectedIndices=[],this._view=[],this._dataItems=[],this._values=[];var o=this.options.value;o&&(this._values=Array.isArray(o)?o.slice(0):[o]),this._getter(),this._templates(),this.setDataSource(this.options.dataSource),this._createOnScrollProxy()},options:{name:"StaticList",dataValueField:null,valuePrimitive:!1,selectable:!0,template:null,groupTemplate:null,fixedGroupTemplate:null,ariaLabel:null,ariaLabelledBy:null},events:[F,f,V,T,L,H,D],setDataSource:function(e){var t,a=this,s=e||{};s=Array.isArray(s)?{data:s}:s,s=i.data.DataSource.create(s),a.dataSource?(a.dataSource.unbind(f,a._refreshHandler),t=a.value(),a.value([]),a.bound(!1),a.value(t)):a._refreshHandler=a.refresh.bind(a),a.setDSFilter(s.filter()),a.dataSource=s.bind(f,a._refreshHandler),a._fixedHeader()},_touchHandlers:function(){var t,i,a=this,s=this.options.columns&&this.options.columns.length?".k-table-row":y,n=function(e){return(e.originalEvent||e).changedTouches[0].pageY};a.element.on("touchstart"+ie,(function(e){t=n(e)})),a.element.on("touchend"+ie,(function(l){l.isDefaultPrevented()||(i=n(l),Math.abs(i-t)<10&&(a._touchTriggered=!0,a._triggerClick(e(l.target).closest(s).get(0))))}))},skip:function(){return this.dataSource.skip()},setOptions:function(e){l.fn.setOptions.call(this,e),this._getter(),this._templates(),this._render(),this.label&&e.label?this.label.setOptions(e.label):this.label&&!1===e.label&&(this.label._unwrapFloating(),this._inputLabel.remove(),delete this._inputLabel)},destroy:function(){this.element.off(ie),this._refreshHandler&&this.dataSource.unbind(f,this._refreshHandler),clearTimeout(this._scrollId),l.fn.destroy.call(this)},dataItemByIndex:function(e){return this.dataSource.flatView()[e]},screenHeight:function(){return this.content[0].clientHeight},scrollToIndex:function(e){var t=this.element[0].children[e];t&&this.scroll(t)},scrollWith:function(e){this.content.scrollTop(this.content.scrollTop()+e)},scroll:function(e){if(e){e[0]&&(e=e[0]);var t=this.content[0],i=e.offsetTop,a=e.offsetHeight,s=t.scrollTop,n=t.clientHeight,l=i+a;s>i?s=i:l>s+n&&(s=l-n),t.scrollTop=s}},selectedDataItems:function(e){if(e===t)return this._dataItems.slice();this._dataItems=e,this._values=this._getValues(e)},_getValues:function(t){var i=this._valueGetter;return e.map(t,(function(e){return i(e)}))},focusNext:function(){var e=this.focus();e=e?e.next():0,this.focus(e)},focusPrev:function(){var e=this.focus();e=e?e.prev():this.element[0].children.length-1,this.focus(e)},focusFirst:function(){this.focus(this.element[0].children[0])},focusLast:function(){this.focus(se(this.element[0].children))},focus:function(i){var a,s=this,n=s._optionID;if(i===t)return s._current;i=se(s._get(i)),i=e(this.element[0].children[i]),s._current&&(s._current.removeClass(_).removeAttr(p),s.trigger(T)),(a=!!i[0])&&(i.addClass(_),s.scroll(i),i.attr("id",n)),s._current=a?i:null,s.trigger(V)},focusIndex:function(){return this.focus()?this.focus().index():t},skipUpdate:function(e){this._skipUpdate=e},select:function(i){var a,s,n=this,l=n.options.selectable,o="multiple"!==l&&!1!==l,r=n._selectedIndices,u=[this.element.find(".k-selected").index()],d=[];if(i===t)return r.slice();1===(i=n._get(i)).length&&-1===i[0]&&(i=[]);var c=e.Deferred().resolve(),h=n.isFiltered();return h&&!o&&n._deselectFiltered(i)?c:o&&!h&&-1!==e.inArray(se(i),r)&&-1!==e.inArray(se(i),u)?(n._dataItems.length&&n._view.length&&(n._dataItems=[n._view[r[0]].item]),c):(a=(s=n._deselect(i)).removed,(i=s.indices).length&&(o&&(i=[se(i)]),d=n._select(i)),(d.length||a.length)&&(n._valueComparer=null,n.trigger(f,{added:d,removed:a})),c)},removeAt:function(e){return this._selectedIndices.splice(e,1),this._values.splice(e,1),this._valueComparer=null,{position:e,dataItem:this._dataItems.splice(e,1)[0]}},setValue:function(e){e=Array.isArray(e)||e instanceof h?e.slice(0):[e],this._values=e,this._valueComparer=null},value:function(i){var a,s=this,n=s._valueDeferred;return i===t?s._values.slice():(s.setValue(i),n&&"resolved"!==n.state()||(s._valueDeferred=n=e.Deferred()),s.bound()&&(a=s._valueIndices(s._values),"multiple"===s.options.selectable&&s.select(-1),s.select(a),n.resolve()),s._skipUpdate=!1,n)},items:function(){return this.element.children(y)},_click:function(e){this._touchTriggered?this._touchTriggered=!1:e.isDefaultPrevented()||this._triggerClick(e.currentTarget)},_createOnScrollProxy:function(){this._onScroll=function(){var e=this;clearTimeout(e._scrollId),e._scrollId=setTimeout((function(){e._renderHeader()}),50)}.bind(this)},_triggerClick:function(t){this.trigger(F,{item:e(t)})||this.select(t)},_valueExpr:function(e,t){var i,a=this,s=0,n=[];if(!a._valueComparer||a._valueType!==e){for(a._valueType=e;s<t.length;s++)n.push(te(t[s],e));i=function(e,t){for(var i=0;i<n.length;i++)if(e===t[i])return i;return-1},a._valueComparer=function(e){return i(e,n)}}return a._valueComparer},_dataItemPosition:function(e,t){var i=this._valueGetter(e);return this._valueExpr(typeof i,t)(i)},_getter:function(){this._valueGetter=i.getter(this.options.dataValueField)},_deselect:function(t){var i,a,s,n=this,l=n.element[0].children,o=n.options.selectable,r=n._selectedIndices,u=n._dataItems,d=n._values,c=[],h=0;if(t=t.slice(),!0!==o&&t.length){if("multiple"===o)for(;h<t.length;h++)if(a=t[h],e(l[a]).hasClass(g))for(i=0;i<r.length;i++)if((s=r[i])===a){e(l[s]).removeClass(g).attr(J,!1);var p=this._view[a].item,f=this._dataItemPosition(p,this._values);c.push({position:f,dataItem:p}),u.splice(i,1),r.splice(i,1),t.splice(h,1),d.splice(i,1),1,h-=1,i-=1;break}}else{for(;h<r.length;h++)e(l[r[h]]).removeClass(g).attr(J,!1),c.push({position:h,dataItem:u[h]});n._values=[],n._dataItems=[],n._selectedIndices=[]}return{indices:t,removed:c}},_deselectFiltered:function(t){for(var i,a,s,n=this.element[0].children,l=[],o=0;o<t.length;o++)a=t[o],i=this._view[a].item,(s=this._dataItemPosition(i,this._values))>-1&&(l.push(this.removeAt(s)),e(n[a]).removeClass(g));return!!l.length&&(this.trigger(f,{added:[],removed:l}),!0)},_select:function(t){var i,a,s=this,n=s.element[0].children,l=s._view,o=[],r=0;for(-1!==se(t)&&s.focus(t);r<t.length;r++)i=l[a=t[r]],-1!==a&&i&&(i=i.item,s._selectedIndices.push(a),s._dataItems.push(i),s._values.push(s._valueGetter(i)),e(n[a]).addClass(g).attr(J,!0),o.push({dataItem:i}));return o},getElementIndex:function(t){return e(t).data("offset-index")},_get:function(e){return"number"==typeof e?e=[e]:O(e)||(e=[(e=this.getElementIndex(e))!==t?e:-1]),e},_templates:function(){var e,t=this.options,a={template:t.template,groupTemplate:t.groupTemplate,fixedGroupTemplate:t.fixedGroupTemplate};for(var s in t.columns&&t.columns.forEach((function(e,t){var s=e.field?e.field.toString():G;a["column"+t]=e.template||function(e){return u(i.getter(s)(e))}})),a)(e=a[s])&&"function"!=typeof e&&(a[s]=i.template(e));this.templates=a},_normalizeIndices:function(e){for(var i=[],a=0;a<e.length;a++)e[a]!==t&&i.push(e[a]);return i},_valueIndices:function(e,t){var i,a=this._view,s=0;if(t=t?t.slice():[],!e.length)return[];for(;s<a.length;s++)-1!==(i=this._dataItemPosition(a[s].item,e))&&(t[i]=s);return this._normalizeIndices(t)},_firstVisibleItem:function(){for(var t=this.element[0],i=this.content[0].scrollTop,a=e(t.children[0]).height(),s=Math.floor(i/a)||0,n=t.children[s]||t.lastChild,l=n.offsetTop<i;n;)if(l){if(n.offsetTop+a>i||!n.nextSibling)break;n=n.nextSibling}else{if(n.offsetTop<=i||!n.previousSibling)break;n=n.previousSibling}return this._view[e(n).data("offset-index")]},_fixedHeader:function(){this.isGrouped()&&this.templates.fixedGroupTemplate?(this.header.closest(Z).length?this.header.closest(Z).show():this.header.show(),this.content.scroll(this._onScroll)):(this.header.closest(Z).length?this.header.closest(Z).hide():this.header.hide(),this.content.off("scroll",this._onScroll))},_renderHeader:function(){var e=this.templates.fixedGroupTemplate;if(e){var t=this._firstVisibleItem();t&&t.group.toString().length&&this.header.html(e(t.group))}},_renderItem:function(e){var t='<li tabindex="-1" role="'+(this.options.aria&&this.options.aria.itemRole||"option")+'" unselectable="on" ',i=e.item,a=0!==e.index,s=e.selected,n=this.isGrouped(),l=this.options.columns&&this.options.columns.length,o=e.index%2==1?" k-table-alt-row":"";return t+=l?'class="k-table-row'+o:'class="k-list-item',a&&e.newGroup&&(t+=" k-first"),e.isLastGroupedItem&&l&&(t+=" k-last"),s&&(t+=" k-selected"),t+='" aria-selected="'+(s?"true":"false")+'" data-offset-index="'+e.index+'">',l?t+=this._renderColumns(i):(t+='<span class="k-list-item-text">',t+=this.templates.template(i),t+="</span>"),a&&e.newGroup?t+=l?'<span class="k-table-td k-table-group-td"><span>'+this.templates.groupTemplate(e.group)+"</span></span>":'<div class="k-list-item-group-label">'+this.templates.groupTemplate(e.group)+"</div>":n&&l&&(t+='<span class="k-table-td k-table-spacer-td"></span>'),t+"</li>"},_renderColumns:function(e){for(var t="",a=0;a<this.options.columns.length;a++){var s=this.options.columns[a].width,l=parseInt(s,10),o="";s&&!isNaN(l)&&(o+=i.attr("style-width")+'="'+l+(n.test(s)?"%":"px")+'"'),t+="<span class='k-table-td' "+o+">",t+=this.templates["column"+a](e),t+="</span>"}return t},_render:function(){var t,a,s,n,l,o="",r=0,u=0,d=[],c=this.dataSource.view(),h=this.value(),p=this.isGrouped();if(p)for(r=0;r<c.length;r++)for(s=c[r],n=!0,l=0;l<s.items.length;l++)a={selected:this._selected(s.items[l],h),item:s.items[l],group:s.value,newGroup:n,isLastGroupedItem:l===s.items.length-1,index:u},d[u]=a,u+=1,o+=this._renderItem(a),n=!1;else for(r=0;r<c.length;r++)a={selected:this._selected(c[r],h),item:c[r],index:r},d[r]=a,o+=this._renderItem(a);this._view=d,t=e(o),i.applyStylesFromKendoAttributes(t,["width","background-color"]),this.element.empty().append(t),p&&d.length&&this._renderHeader()},_selected:function(e,t){return(!this.isFiltered()||"multiple"===this.options.selectable)&&-1!==this._dataItemPosition(e,t)},setDSFilter:function(e){this._lastDSFilter=M({},e)},isFiltered:function(){return this._lastDSFilter||this.setDSFilter(this.dataSource.filter()),!i.data.Query.compareFilters(this.dataSource.filter(),this._lastDSFilter)},refresh:function(e){var t,i=this,a=e&&e.action,s=i.options.skipUpdateOnBind,n="itemchange"===a;i.trigger(L),i._fixedHeader(),i._render(),i.bound(!0),n||"remove"===a?(t=function(e,t){var i,a,s,n,l=t.length,o=e.length,r=[],u=[];if(o)for(s=0;s<o;s++){for(i=e[s],a=!1,n=0;n<l;n++)if(i===t[n]){a=!0,r.push({index:s,item:i});break}a||u.push(i)}return{changed:r,unchanged:u}}(i._dataItems,e.items)).changed.length&&(n?i.trigger(D,{items:t.changed}):i.value(i._getValues(t.unchanged))):i.isFiltered()||i._skipUpdate||i._emptySearch?(i.focus(0),i._skipUpdate&&(i._skipUpdate=!1,i._selectedIndices=i._valueIndices(i._values,i._selectedIndices))):s||a&&"add"!==a||i.value(i._values),i._valueDeferred&&i._valueDeferred.resolve(),i.trigger(H)},bound:function(e){if(e===t)return this._bound;this._bound=e},isGrouped:function(){return(this.dataSource.group()||[]).length}});function se(e){return e[e.length-1]}function ne(e){var t=e.selectedIndex;return t>-1?e.options[t]:{}}function le(t){return!(!t||e.isEmptyObject(t))&&!(t.filters&&!t.filters.length)}function oe(t,i){var a,s=!1;return t.filters&&(a=e.grep(t.filters,(function(e){return s=oe(e,i),e.filters?e.filters.length:e.field!=i})),s||t.filters.length===a.length||(s=!0),t.filters=a),s}a.plugin(ae),i.cssProperties.registerPrefix("List","k-list-")}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.list.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.list.js"),require("kendo.mobile.scroller.js"),require("kendo.virtuallist.js"),require("kendo.html.button.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min","kendo.html.button.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodropdownlist=e.kendodropdownlist||{},e.kendodropdownlist.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.htmlEncode,o=i.ui,s=i.html,a=o.List,l=o.Select,r=i.support,p=i._activeElement,u=i.data.ObservableObject,c=i.keys,d=".kendoDropDownList",f=d+"FocusEvent",_="disabled",h="readonly",b="change",v="k-focus",m="k-disabled",w="aria-disabled",g="aria-readonly",I="click"+d+" touchend"+d,L="mouseenter"+d+" mouseleave"+d,x="tabindex",k="filter",y="accept",T=l.extend({init:function(n,o){var s,a,r=this,p=o&&o.index;r.ns=d,o=Array.isArray(o)?{dataSource:o}:o,l.fn.init.call(r,n,o),o=r.options,n=r.element.on("focus"+d,r._focusHandler.bind(r)),r._focusInputHandler=r._focusInput.bind(r),r.optionLabel=e(),r._optionLabel(),r._inputTemplate(),r._reset(),r._prev="",r._word="",r._wrapper(),r._tabindex(),r.wrapper.data(x,r.wrapper.attr(x)),r._span(),r._popup(),r._mobile(),r._dataSource(),r._ignoreCase(),o.label&&this._label(),r._aria(),r._enable(),r._oldIndex=r.selectedIndex=-1,p!==t&&(o.index=p),r._initialIndex=o.index,r.requireValueMapper(r.options),r._initList(),r.listView.one("dataBound",r._attachAriaActiveDescendant.bind(r)),r._cascade(),r.one("set",(function(e){!e.sender.listView.bound()&&r.hasOptionLabel()&&r._textAccessor(r._optionLabelText())})),o.autoBind?r.dataSource.fetch():-1===r.selectedIndex&&((a=o.text||"")||((s=o.optionLabel)&&0===o.index?a=s:r._isSelect&&(a=n.children(":selected").text())),r._textAccessor(a)),e(r.element).parents("fieldset").is(":disabled")&&r.enable(!1),r.listView.bind("click",(function(e){e.preventDefault()})),i.notify(r),r._applyCssClasses()},options:{name:"DropDownList",enabled:!0,autoBind:!0,index:0,text:null,value:null,delay:500,height:200,dataTextField:"",dataValueField:"",optionLabel:"",cascadeFrom:"",cascadeFromField:"",cascadeFromParentField:"",ignoreCase:!0,animation:{},filter:"none",minLength:1,enforceMinLength:!1,virtual:!1,template:null,valueTemplate:null,optionLabelTemplate:null,groupTemplate:function(e){return n(e)},fixedGroupTemplate:function(e){return n(e)},autoWidth:!1,popup:null,filterTitle:null,size:"medium",fillMode:"solid",rounded:"medium",label:null,popupFilter:!0},events:["open","close",b,"select","filtering","dataBinding","dataBound","cascade","set","kendoKeydown"],setOptions:function(e){l.fn.setOptions.call(this,e),this.listView.setOptions(this._listOptions(e)),this._optionLabel(),this._inputTemplate(),this._accessors(),this._removeFilterHeader(),this._addFilterHeader(),this._enable(),this._aria(),!this.value()&&this.hasOptionLabel()&&this.select(0)},destroy:function(){var e=this;l.fn.destroy.call(e),e.wrapper.off(d),e.wrapper.off(f),e.element.off(d),e._arrow.off(),e._arrow=null,e._arrowIcon=null,e.optionLabel.off(),e.filterInput&&e.filterInput.off(f)},open:function(){var e=this,t=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0,i=this.listView;e.popup.visible()||(e.listView.bound()&&e._state!==y?e._allowOpening()&&(e._focusFilter=!0,e.popup.one("activate",e._focusInputHandler),e.popup._hovered=!0,e.wrapper.attr("aria-activedescendant",i._optionID),e.popup.open(),e._resizeFilterInput(),e._focusItem()):(e._open=!0,e._state="rebind",e.filterInput&&(e.filterInput.val(""),e._prev=""),e.filterInput&&1!==e.options.minLength&&!t?(e.refresh(),e.popup.one("activate",e._focusInputHandler),e.wrapper.attr("aria-activedescendant",i._optionID),e.popup.open(),e._resizeFilterInput()):e._filterSource()))},close:function(){this._attachAriaActiveDescendant(),this.popup.close()},_attachAriaActiveDescendant:function(){var e=this.wrapper,t=e.find(".k-input-inner").attr("id");e.attr("aria-describedby",t)},_focusInput:function(){this._hasActionSheet()||this._focusElement(this.filterInput)},_resizeFilterInput:function(){var e=this.filterInput,t=this._prevent;if(e&&!this._hasActionSheet()){var n=this.filterInput[0]===p(),o=i.caret(this.filterInput[0])[0];this._prevent=!0,e.addClass("k-hidden"),e.closest(".k-list-filter").css("width",this.popup.element.width()),e.removeClass("k-hidden"),n&&(e.trigger("focus"),i.caret(e[0],o)),this._prevent=t}},_allowOpening:function(){return this.hasOptionLabel()||this.filterInput||l.fn._allowOpening.call(this)},toggle:function(e){this._toggle(e,!0)},current:function(e){var i;if(e===t)return!(i=this.listView.focus())&&0===this.selectedIndex&&this.hasOptionLabel()?this.optionLabel:i;this._focus(e)},dataItem:function(i){var n=this,o=null;if(null===i)return i;if(i===t)o=n.listView.selectedDataItems()[0];else{if("number"!=typeof i){if(n.options.virtual)return n.dataSource.getByUid(e(i).data("uid"));i=i.hasClass("k-list-optionlabel")?-1:e(n.items()).index(i)}else n.hasOptionLabel()&&(i-=1);o=n.dataSource.flatView()[i]}return o||(o=n._optionLabelDataItem()),o},refresh:function(){this.listView.refresh()},text:function(e){var i,n=this,o=n.options.ignoreCase;if((e=null===e?"":e)===t)return n._textAccessor();"string"==typeof e?(i=o?e.toLowerCase():e,n._select((function(e){return e=n._text(e),o&&(e=(e+"").toLowerCase()),e===i})).done((function(){n._textAccessor(n.dataItem()||e),n._refreshFloatingLabel()}))):n._textAccessor(e)},_clearFilter:function(){e(this.filterInput).val(""),l.fn._clearFilter.call(this)},value:function(e){var i=this,n=i.listView,o=i.dataSource;return e===t?(e=i._accessor()||i.listView.value()[0])===t||null===e?"":e:(i.requireValueMapper(i.options,e),!e&&i.hasOptionLabel()||(i._initialIndex=null),this.trigger("set",{value:e}),i._request&&i.options.cascadeFrom&&i.listView.bound()?(i._valueSetter&&o.unbind(b,i._valueSetter),i._valueSetter=function(){i.value(e)}.bind(i),void o.one(b,i._valueSetter)):(i._isFilterEnabled()&&n.bound()&&n.isFiltered()?i._clearFilter():i._fetchData(),void n.value(e).done((function(){i._old=i._valueBeforeCascade=i._accessor(),i._oldIndex=i.selectedIndex,i._refreshFloatingLabel()}))))},hasOptionLabel:function(){return this.optionLabel&&!!this.optionLabel[0]},_optionLabel:function(){var t=this,o=t.options,s=o.optionLabel,a=o.optionLabelTemplate;if(!s)return t.optionLabel.off().remove(),void(t.optionLabel=e());a||(a=function(e){return n("string"==typeof s?e:i.getter(o.dataTextField)(e))}),"function"!=typeof a&&(a=i.template(a)),t.optionLabelTemplate=a,t.hasOptionLabel()||(t.optionLabel=e('<div role="option" class="k-list-optionlabel"></div>').prependTo(t.list)),t.optionLabel.html(a(s)).off().on(I,t._click.bind(t)).on(L,t._toggleHover)},_optionLabelText:function(){var e=this.options.optionLabel;return"string"==typeof e?e:this._text(e)},_optionLabelDataItem:function(){var i=this,n=i.options.optionLabel;return i.hasOptionLabel()?e.isPlainObject(n)?new u(n):i._assignInstance(i._optionLabelText(),""):t},_buildOptions:function(e){var i=this;if(i._isSelect){var n=i.listView.value()[0],o=i._optionLabelDataItem(),s=o&&i._value(o);n!==t&&null!==n||(n=""),o&&(s!==t&&null!==s||(s=""),o='<option value="'+s+'">'+i._text(o)+"</option>"),i._options(e,o,n),n!==a.unifyType(i._accessor(),typeof n)&&(i._customOption=null,i._custom(n))}},_listBound:function(){var e,t=this,i=t._initialIndex,n=t._state===k,o=t.dataSource.flatView();t._presetValue=!1,t._renderFooter(),t._renderNoData(),t._toggleNoData(!o.length),t._resizePopup(!0),t.popup.position(),t._buildOptions(o),n||(t._open&&t.toggle(t._allowOpening()),t._open=!1,t._fetch||(o.length?(!t.listView.value().length&&i>-1&&null!==i&&t.select(i),t._initialIndex=null,(e=t.listView.selectedDataItems()[0])&&t.text()!==t._text(e)&&t._selectValue(e)):t._textAccessor()!==t._optionLabelText()&&(t.listView.value(""),t._selectValue(null),t._oldIndex=t.selectedIndex))),t._hideBusy(),t.trigger("dataBound")},_listChange:function(){this._selectValue(this.listView.selectedDataItems()[0]),(this._presetValue||this._old&&-1===this._oldIndex)&&(this._oldIndex=this.selectedIndex)},_filterPaste:function(){this._search()},_attachFocusHandlers:function(){var e=this;e.wrapper.on("focusin"+f,e._focusinHandler.bind(e)).on("focusout"+f,e._focusoutHandler.bind(e)),e.filterInput&&e.filterInput.on("focusin"+f,e._focusinHandler.bind(e)).on("focusout"+f,e._focusoutHandler.bind(e))},_focusHandler:function(){this.wrapper.trigger("focus")},_focusinHandler:function(){this.wrapper.addClass(v),this._prevent=!1},_focusoutHandler:function(){var e=this,t=window.self!==window.top;e._prevent||(clearTimeout(e._typingTimeout),r.mobileOS.ios&&t?e._change():e._blur(),e.wrapper.removeClass(v),e._prevent=!0,e._open=!1,e.element.trigger("blur"))},_wrapperMousedown:function(){this._prevent=!!this.filterInput},_wrapperClick:function(e){e.preventDefault(),this.popup.unbind("activate",this._focusInputHandler),this._focused=this.wrapper,this._prevent=!1,this._toggle()},_editable:function(e){var t=this,n=t.element,o=e.disable,s=e.readonly,a=t.wrapper.add(t.filterInput).off(d),l=t.wrapper.off(L);s||o?o?(a.removeAttr(x),l.addClass(m)):l.removeClass(m):(n.prop(_,!1).prop(h,!1),l.removeClass(m).on(L,t._toggleHover),a.attr(x,a.data(x)).attr(w,!1).attr(g,!1).on("keydown"+d,t,t._keydown.bind(t)).on(i.support.mousedown+d,t._wrapperMousedown.bind(t)).on("paste"+d,t._filterPaste.bind(t)),t.wrapper.on("click"+d,t._wrapperClick.bind(t)),t.filterInput?a.on("input"+d,t._search.bind(t)):a.on("keypress"+d,t._keypress.bind(t))),n.attr(_,o).attr(h,s),a.attr(w,o).attr(g,s)},_keydown:function(e){var t,i,n=this,o=e.keyCode,s=e.altKey,a=n.popup.visible();if(n.filterInput&&(t=n.filterInput[0]===p()),o===c.LEFT?(o=c.UP,i=!0):o===c.RIGHT&&(o=c.DOWN,i=!0),!i||!t)if(e.keyCode=o,(s&&o===c.UP||o===c.ESC)&&n._focusElement(n.wrapper),n._state===k&&o===c.ESC&&(n._clearFilter(),n._open=!1,n._state=y),o===c.ENTER&&n._typingTimeout&&n.filterInput&&a)e.preventDefault();else if(o!==c.SPACEBAR||t||(n.toggle(!a),e.preventDefault()),!(i=n._move(e))){if(!a||!n.filterInput){var l=n._focus();if(o===c.HOME?(i=!0,n._firstItem()):o===c.END&&(i=!0,n._lastItem()),i){if(n.trigger("select",{dataItem:n._getElementDataItem(n._focus()),item:n._focus()}))return void n._focus(l);n._select(n._focus(),!0).done((function(){a||n._blur()})),e.preventDefault()}}s||i||!n.filterInput||n._search()}},_matchText:function(e,i){var n=this.options.ignoreCase;return e!==t&&null!==e&&(e+="",n&&(e=e.toLowerCase()),0===e.indexOf(i))},_shuffleData:function(e,t){var i=this._optionLabelDataItem();return i&&(e=[i].concat(e)),e.slice(t).concat(e.slice(0,t))},_selectNext:function(){var e,t,i=this,n=i.dataSource.flatView(),o=n.length+(i.hasOptionLabel()?1:0),s=function(e,t){for(var i=0;i<e.length;i++)if(e.charAt(i)!==t)return!1;return!0}(i._word,i._last),a=i.selectedIndex;a=-1===a?0:C(a+=s?1:0,o),n=n.toJSON?n.toJSON():n.slice(),n=i._shuffleData(n,a);for(var l=0;l<o&&(t=i._text(n[l]),!s||!i._matchText(t,i._last))&&!i._matchText(t,i._word);l++);l!==o&&(e=i._focus(),i._select(C(a+l,o)).done((function(){var t=function(){i.popup.visible()||i._change()};i.trigger("select",{dataItem:i._getElementDataItem(i._focus()),item:i._focus()})?i._select(e).done(t):t()})))},_keypress:function(e){var t=this;if(0!==e.which&&e.keyCode!==i.keys.ENTER){var n=String.fromCharCode(e.charCode||e.keyCode);t.options.ignoreCase&&(n=n.toLowerCase())," "===n&&e.preventDefault(),t._word+=n,t._last=n,t._search()}},_popupOpen:function(e){var t=this.popup;e.isDefaultPrevented()||this._hasActionSheet()||(t.wrapper=i.wrap(t.element),t.element.closest(".km-root")[0]&&(t.wrapper.addClass("km-popup km-widget"),this.wrapper.addClass("km-widget")))},_popup:function(){l.fn._popup.call(this),this.popup.one("open",this._popupOpen.bind(this))},_postCreatePopup:function(){l.fn._postCreatePopup.call(this),this._attachFocusHandlers()},_getElementDataItem:function(e){return e&&e[0]?e[0]===this.optionLabel[0]?this._optionLabelDataItem():this.listView.dataItemByIndex(this.listView.getElementIndex(e)):null},_click:function(t){var i=this,n=t.item||e(t.currentTarget);t.preventDefault(),i.trigger("select",{dataItem:i._getElementDataItem(n),item:n})?i.close():(i._userTriggered=!0,i._select(n).done((function(){i._blur(),i._focusElement(i.wrapper)})))},_focusElement:function(e){var t=p(),i=this.wrapper,n=this.filterInput,o=e===n?i:n,s=r.mobileOS&&(r.touch||r.MSPointers||r.pointers);n&&n[0]===e[0]&&s||n&&(o[0]===t||this._focusFilter)&&(this._focusFilter=!1,this._prevent=!0,this._focused=e.trigger("focus"))},_searchByWord:function(e){if(e){var t=this;t.options.ignoreCase&&(e=e.toLowerCase()),t._select((function(i){return t._matchText(t._text(i),e)}))}},_inputValue:function(){return this.text()},_search:function(){var e=this,t=e.dataSource;if(clearTimeout(e._typingTimeout),e._isFilterEnabled())e._typingTimeout=setTimeout((function(){var t=e.filterInput.val();e._prev!==t&&(e._prev=t,e.search(t),e._resizeFilterInput()),e._typingTimeout=null}),e.options.delay);else{if(e._typingTimeout=setTimeout((function(){e._word=""}),e.options.delay),!e.listView.bound())return void t.fetch().done((function(){e._selectNext()}));e._selectNext()}},_get:function(t){var i,n,o,s="function"==typeof t,a=s?e():e(t);if(this.hasOptionLabel()&&("number"==typeof t?t>-1&&(t-=1):a.hasClass("k-list-optionlabel")&&(t=-1)),s){for(i=this.dataSource.flatView(),o=0;o<i.length;o++)if(t(i[o])){t=o,n=!0;break}n||(t=-1)}return t},_firstItem:function(){this.hasOptionLabel()?this._focus(this.optionLabel):this.listView.focusFirst()},_lastItem:function(){this._resetOptionLabel(),this.listView.focusLast()},_nextItem:function(){var e;return this.optionLabel.hasClass("k-focus")?(this._resetOptionLabel(),this.listView.focusFirst(),e=1):e=this.listView.focusNext(),e},_prevItem:function(){var e;if(!this.optionLabel.hasClass("k-focus"))return e=this.listView.focusPrev(),this.listView.focus()||this.options.virtual||this._focus(this.optionLabel),e},_focusItem:function(){var e=this.options,i=this.listView,n=i.focus(),o=i.select();(o=o[o.length-1])===t&&e.highlightFirst&&!n&&(o=0),o!==t?i.focus(o):!e.optionLabel||e.virtual&&"dataItem"===e.virtual.mapValueTo?i.scrollToIndex(0):(this._focus(this.optionLabel),this._select(this.optionLabel),this.listView.content.scrollTop(0))},_resetOptionLabel:function(e){this.optionLabel.removeClass("k-focus"+(e||"")).removeAttr("id")},_focus:function(e){var i=this.listView,n=this.optionLabel;if(e===t)return!(e=i.focus())&&n.hasClass("k-focus")&&(e=n),e;this._resetOptionLabel(),e=this._get(e),i.focus(e),-1===e&&(n.addClass("k-focus").attr("id",i._optionID),this.filterInput&&this.filterInput.removeAttr("aria-activedescendant").attr("aria-activedescendant",i._optionID))},_select:function(e,t){var i=this;return e=i._get(e),i.listView.select(e).done((function(){t||i._state!==k||(i._state=y),-1===e&&i._selectValue(null)}))},_selectValue:function(e){var i=this,n=i.options.optionLabel,o=i.listView.select(),s="",a="";(o=o[o.length-1])===t&&(o=-1),this._resetOptionLabel(" k-selected"),e||0===e?(a=e,s=i._dataValue(e),n&&(o+=1)):n&&(i._focus(i.optionLabel.addClass("k-selected")),a=i._optionLabelText(),s="string"==typeof n?"":i._value(n),o=0),i.selectedIndex=o,null===s&&(s=""),i._textAccessor(a),i._accessor(s,o),i._triggerCascade()},_mobile:function(){var e=this.popup,t=r.mobileOS;e.element.parents(".km-root").eq(0).length&&t&&(e.options.animation.open.effects=t.android||t.meego?"fadeIn":t.ios||t.wp?"slideIn:up":e.options.animation.open.effects)},_span:function(){var e,t,n=this,o=n.wrapper,a="span.k-input-value-text",l=i.guid(),r=n.options;(e=o.find(a))[0]||(t=s.renderButton('<span role="button" class="k-input-button" aria-label="select"></span>',{icon:"caret-alt-down",size:r.size,fillMode:r.fillMode,shape:"none",rounded:"none"}),o.append('<span id="'+l+'" unselectable="on" class="k-input-inner"><span class="k-input-value-text"></span></span>').append(t).append(n.element),e=o.find(a)),n.span=e,n._arrow=o.find(".k-input-button"),n._arrowIcon=n._arrow.find(".k-icon,.k-svg-icon")},_wrapper:function(){var e,t=this,i=t.element,n=i[0];(e=i.parent()).is("span.k-picker")||((e=i.wrap("<span />").parent())[0].style.cssText=n.style.cssText,e[0].title=n.title),t._focused=t.wrapper=e.addClass("k-picker k-dropdownlist").addClass(n.className).removeClass("input-validation-error").css("display","").attr({accesskey:i.attr("accesskey"),unselectable:"on",role:"combobox","aria-expanded":!1}),i.hide().removeAttr("accesskey")},_clearSelection:function(e){this.select(e.value()?0:-1)},_openHandler:function(e){this._adjustListWidth(),this.trigger("open")?e.preventDefault():(this.wrapper.attr("aria-expanded",!0),this.ul.attr("aria-hidden",!1))},_closeHandler:function(e){this.trigger("close")?e.preventDefault():(this.wrapper.attr("aria-expanded",!1),this.ul.attr("aria-hidden",!0))},_inputTemplate:function(){var e=this,t=e.options.valueTemplate;if(t=t?i.template(t):function(t){return n(e._text(t))},e.valueTemplate=t,e.hasOptionLabel()&&!e.options.optionLabelTemplate)try{e.valueTemplate(e._optionLabelDataItem())}catch(e){throw new Error("The `optionLabel` option is not valid due to missing fields. Define a custom optionLabel as shown here http://docs.telerik.com/kendo-ui/api/javascript/ui/dropdownlist#configuration-optionLabel")}},_textAccessor:function(i){var n=null,o=this.valueTemplate,s=this._optionLabelText(),a=this.span;if(i===t)return a.text();e.isPlainObject(i)||i instanceof u?n=i:s&&s===i&&(n=this.options.optionLabel),n||(n=this._assignInstance(i,this._accessor())),this.hasOptionLabel()&&(n!==s&&this._text(n)!==s||(o=this.optionLabelTemplate,"string"!=typeof this.options.optionLabel||this.options.optionLabelTemplate||(n=s)));try{a.html(o(n))}catch(e){a.html("")}},_preselect:function(e,t){e||t||(t=this._optionLabelText()),this._accessor(e),this._textAccessor(t),this._old=this._accessor(),this._oldIndex=this.selectedIndex,this.listView.setValue(e),this._initialIndex=null,this._presetValue=!0},_assignInstance:function(e,t){var i=this.options.dataTextField,n={};return i?(V(n,i.split("."),e),V(n,this.options.dataValueField.split("."),t),n=new u(n)):n=e,n}});function V(e,t,i){for(var n,o=0,s=t.length-1;o<s;++o)(n=t[o])in e||(e[n]={}),e=e[n];e[t[s]]=i}function C(e,t){return e>=t&&(e-=t),e}o.plugin(T),i.cssProperties.registerPrefix("DropDownList","k-picker-"),i.cssProperties.registerValues("DropDownList",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.dropdownlist.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.userevents.js"),require("kendo.floatinglabel.js"),require("kendo.html.button.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.userevents.min","kendo.floatinglabel.min","kendo.html.button.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendonumerictextbox=e.kendonumerictextbox||{},e.kendonumerictextbox.js=t())}(this,(function(){return function(e,t){var n=window.kendo,a=n.caret,o=n.keys,i=n.html,r=n.ui,l=r.Widget,s=n._activeElement,u=n._extractFormat,d=n.parseFloat,p=n.support.placeholder,c=n.getCulture,_="change",f="disabled",m="readonly",v="k-input-inner",h="spin",b=".kendoNumericTextBox",x="mouseenter"+b+" "+("mouseleave"+b),g="k-focus",w="k-hover",y="focus",k=".",T="k-selected",C="k-disabled",A="k-invalid",L="aria-disabled",E=/^(-)?(\d*)$/,H=null,S=e.isPlainObject,F=e.extend,j=l.extend({init:function(a,o){var i,r,s,d,p,c=this,_=o&&o.step!==t;l.fn.init.call(c,a,o),o=c.options,a=c.element.on("focusout"+b,c._focusout.bind(c)).attr("role","spinbutton"),o.placeholder=o.placeholder||a.attr("placeholder"),i=c.min(a.attr("min")),r=c.max(a.attr("max")),s=c._parse(a.attr("step")),o.min===H&&i!==H&&(o.min=i),o.max===H&&r!==H&&(o.max=r),_||s===H||(o.step=s),c._initialOptions=F({},o),p=a.attr("type"),c._reset(),c._wrapper(),c._arrows(),c._validation(),c._input(),n.support.mobileOS?c._text.on("touchend"+b+" "+y+b,(function(){n.support.browser.edge?c._text.one(y+b,(function(){c._focusin()})):c._focusin(),c.selectValue()})):c._text.on(y+b,c._click.bind(c)),a.attr("aria-valuemin",o.min!==H?o.min*o.factor:o.min).attr("aria-valuemax",o.max!==H?o.max*o.factor:o.max),o.format=u(o.format),(d=o.value)==H&&(d="number"==p?parseFloat(a.val()):a.val()),c.value(d),!o.enable||a.is("[disabled]")||e(c.element).parents("fieldset").is(":disabled")?c.enable(!1):c.readonly(a.is("[readonly]")),c._label(),c._ariaLabel(c._text),c._applyCssClasses(),n.notify(c)},options:{name:"NumericTextBox",decimals:H,enable:!0,restrictDecimals:!1,min:H,max:H,value:H,step:1,round:!0,culture:"",format:"n",spinners:!0,placeholder:"",selectOnFocus:!1,factor:1,upArrowText:"Increase value",downArrowText:"Decrease value",label:null,size:"medium",fillMode:"solid",rounded:"medium"},events:[_,h],_editable:function(e){var t=this,n=t.element,a=e.disable,o=e.readonly,i=t._text.add(n),r=t.wrapper.off(x);t._toggleText(!0),t._upArrowEventHandler.unbind("press"),t._downArrowEventHandler.unbind("press"),n.off("keydown"+b).off("keyup"+b).off("input"+b).off("paste"+b),t._inputLabel&&t._inputLabel.off(b),o||a?(r.addClass(a?C:"").removeClass(a?"":C),i.attr(f,a).attr(m,o).attr(L,a)):(r.removeClass(C).on(x,t._toggleHover),i.prop(f,!1).prop(m,!1).attr(L,!1),t._upArrowEventHandler.bind("press",(function(e){e.preventDefault(),t._spin(1),t._upArrow.addClass(T)})),t._downArrowEventHandler.bind("press",(function(e){e.preventDefault(),t._spin(-1),t._downArrow.addClass(T)})),t.element.on("keydown"+b,t._keydown.bind(t)).on("keyup"+b,t._keyup.bind(t)).on("paste"+b,t._paste.bind(t)).on("input"+b,t._inputHandler.bind(t)),t._inputLabel&&t._inputLabel.on("click"+b,t.focus.bind(t)))},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this.floatingLabel&&this.floatingLabel.readonly(e===t||e)},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this.floatingLabel&&this.floatingLabel.enable(e=e===t||e)},setOptions:function(e){var n=this;l.fn.setOptions.call(n,e),n.wrapper.toggleClass("k-expand-padding",!n.options.spinners),n._text.prop("placeholder",n.options.placeholder),n._placeholder(n.options.placeholder),n.element.attr({"aria-valuemin":n.options.min!==H?n.options.min*n.options.factor:n.options.min,"aria-valuemax":n.options.max!==H?n.options.max*n.options.factor:n.options.max}),n.options.format=u(n.options.format),n._upArrowEventHandler.destroy(),n._upArrowEventHandler=null,n._downArrowEventHandler.destroy(),n._downArrowEventHandler=null,n._arrowsWrap.remove(),n._arrows(),n._applyCssClasses(),n._inputLabel&&(n._inputLabel.off(b),n._inputLabel.remove(),n.floatingLabel&&(n.floatingLabel.destroy(),n._floatingLabelContainer&&n.wrapper.unwrap())),n._label(),n._editable({readonly:n.options.readonly,disable:!n.options.enable}),e.value!==t&&n.value(e.value)},destroy:function(){var e=this;e._inputLabel&&(e._inputLabel.off(b),e.floatingLabel&&e.floatingLabel.destroy()),e.element.add(e._text).add(e._upArrow).add(e._downArrow).off(b),e._upArrowEventHandler.destroy(),e._downArrowEventHandler.destroy(),e._form&&e._form.off("reset",e._resetHandler),l.fn.destroy.call(e)},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},step:function(e){return this._option("step",e)},value:function(e){var n=this;if(e===t)return n._value;(e=n._parse(e))===n._adjust(e)&&(n._update(e),n._old=n._value,n.floatingLabel&&n.floatingLabel.refresh())},focus:function(){this._focusin()},_adjust:function(e){var t=this.options,n=t.min,a=t.max;return e===H||(n!==H&&e<n?e=n:a!==H&&e>a&&(e=a)),e},_arrows:function(){var t,a=this,o=function(){clearTimeout(a._spinning),t.removeClass(T)},i=a.options,r=i.spinners,l=a.element;(t=l.siblings(".k-icon-button"))[0]||(t=e(O("increase",i.upArrowText,i)+O("decrease",i.downArrowText,i)).appendTo(a.wrapper),a._arrowsWrap=t.wrapAll('<span class="k-input-spinner k-spin-button"/>').parent()),r||(t.parent().toggle(r),a.wrapper.addClass("k-expand-padding")),a._upArrow=t.eq(0),a._upArrowEventHandler=new n.UserEvents(a._upArrow,{release:o}),a._downArrow=t.eq(1),a._downArrowEventHandler=new n.UserEvents(a._downArrow,{release:o})},_validation:function(){var t=this.element;this._validationIcon=e(n.ui.icon({icon:"exclamation-circle",iconClass:"k-input-validation-icon k-hidden"})).insertAfter(t)},_blur:function(){var e=this;e._toggleText(!0),e._change(e.element.val())},_click:function(e){var t=this;clearTimeout(t._focusing),t._focusing=setTimeout((function(){var n,o,i,r=e.target,l=a(r)[0],s=r.value.substring(0,l),u=t._format(t.options.format),d=u[","],p=0;d&&(o=new RegExp("\\"+d,"g"),i=new RegExp("(-)?("+u.symbol+")?([\\d\\"+d+"]+)(\\"+u[k]+")?(\\d+)?")),i&&(n=i.exec(s)),n&&(p=n[0].replace(o,"").length,-1!=s.indexOf("(")&&t._value<0&&p++),t._focusin(),a(t.element[0],p),t.selectValue()}))},selectValue:function(){this.options.selectOnFocus&&this.element[0].select()},_getFactorValue:function(e){var t=this.options.factor;return t&&1!==t&&null!==(e=n.parseFloat(e))&&(e/=t),e},_change:function(e){var t=this;e=t._getFactorValue(e),t._update(e),e=t._value,t._old!=e&&(t._old=e,t._typing||t.element.trigger(_),t.trigger(_)),t._typing=!1},_culture:function(e){return e||c(this.options.culture)},_focusin:function(){var e=this;e.wrapper.addClass(g),e._toggleText(!1),e.element[0].focus()},_focusout:function(){var e=this;clearTimeout(e._focusing),e.wrapper.removeClass(g).removeClass(w),e._blur(),e._removeInvalidState()},_format:function(e,t){var n=this._culture(t).numberFormat;return(e=e.toLowerCase()).indexOf("c")>-1?n=n.currency:e.indexOf("p")>-1&&(n=n.percent),n},_input:function(){var t,a=this,o=a.options,i=a.element.addClass(v).show()[0],r=i.accessKey;(t=a.wrapper.find(k+v).first()).length<2&&(t=e('<input type="text"/>').attr(n.attr("validate"),!1).insertBefore(i));try{i.setAttribute("type","text")}catch(e){i.type="text"}t[0].title=i.title,t[0].tabIndex=i.tabIndex,t[0].style.cssText=i.style.cssText,t.prop("placeholder",o.placeholder),r&&(t.attr("accesskey",r),i.accessKey=""),a._text=t.addClass(i.className).attr({role:"spinbutton","aria-valuemin":o.min!==H?o.min*o.factor:o.min,"aria-valuemax":o.max!==H?o.max*o.factor:o.max,autocomplete:"off"})},_keydown:function(e){var t=this,n=e.keyCode;n===o.NUMPAD_DOT&&(t._numPadDot=!0),n!=o.DOWN?n!=o.UP?n!=o.ENTER?(n!=o.TAB&&(t._typing=!0),t._cachedCaret=a(t.element)):t._change(t.element.val()):t._step(1):t._step(-1)},_keyup:function(){this._removeInvalidState()},_inputHandler:function(){var e=this.element,t=e.val(),n=this.options.min,o=this._format(this.options.format),i=o[k],r=null!==n&&n>=0&&"-"===t.charAt(0);this._numPadDot&&i!==k&&(t=t.replace(k,i),this.element.val(t),this._numPadDot=!1),this._isPasted&&this._parse(t)&&(t=this._parse(t).toString().replace(k,o[k])),this._numericRegex(o).test(t)&&!r?this._oldText=t:(this._blinkInvalidState(),this.element.val(this._oldText),this._cachedCaret&&(a(e,this._cachedCaret[0]),this._cachedCaret=null)),this._isPasted=!1},_blinkInvalidState:function(){var e=this;e._addInvalidState(),clearTimeout(e._invalidStateTimeout),e._invalidStateTimeout=setTimeout(e._removeInvalidState.bind(e),100)},_addInvalidState:function(){this.wrapper.addClass(A),this._validationIcon.removeClass("k-hidden")},_removeInvalidState:function(){var e=this;e.wrapper.removeClass(A),e._validationIcon.addClass("k-hidden"),e._invalidStateTimeout=null},_numericRegex:function(e){var t=this,n=e[k],a=t.options.decimals,o="*";return n===k&&(n="\\"+n),a===H&&(a=e.decimals),0===a&&t.options.restrictDecimals?E:(t.options.restrictDecimals&&(o="{0,"+a+"}"),t._separator!==n&&(t._separator=n,t._floatRegExp=new RegExp("^(-)?(((\\d+("+n+"\\d"+o+")?)|("+n+"\\d"+o+")))?$")),t._floatRegExp)},_paste:function(e){var t=this,n=e.target,a=n.value,o=t._format(t.options.format);t._isPasted=!0,setTimeout((function(){var e=t._parse(n.value);e===H?t._update(a):(n.value=e.toString().replace(k,o[k]),t._adjust(e)===e&&t._numericRegex(o).test(n.value)||(a=t._getFactorValue(n.value),t._update(a)))}))},_option:function(e,n){var a=this,o=a.element,i=a.options;if(n===t)return i[e];((n=a._parse(n))||"step"!==e)&&(i[e]=n,o.add(a._text).attr("aria-value"+e,n),o.attr(e,n))},_spin:function(e,t){var n=this;t=t||500,clearTimeout(n._spinning),n._spinning=setTimeout((function(){n._spin(e,50)}),t),n._step(e)},_step:function(e){var t=this,n=t.element,a=t._value,o=t._parse(n.val())||0,i=t.options.decimals||2;s()!=n[0]&&t._focusin(),t.options.factor&&o&&(o/=t.options.factor),o=+(o+t.options.step*e).toFixed(i),o=t._adjust(o),t._update(o),t._typing=!1,a!==o&&t.trigger(h)},_toggleHover:function(t){e(t.currentTarget).toggleClass(w,"mouseenter"===t.type)},_toggleText:function(e){var t=this;t._text.toggle(e),e?t._text.removeAttr("aria-hidden"):t._text.attr("aria-hidden","true"),t.element.toggle(!e)},_parse:function(e,t){return d(e,this._culture(t),this.options.format)},_round:function(e,t){return(this.options.round?n._round:I)(e,t)},_update:function(e){var t,a,o=this,i=o.options,r=i.factor,l=i.format,s=i.decimals,u=o._culture(),d=o._format(l,u);s===H&&(s=d.decimals),(a=(e=o._parse(e,u))!==H)&&(e=parseFloat(o._round(e,s),10)),o._value=e=o._adjust(e),o._placeholder(n.toString(e,l,u)),a?(r&&(e=parseFloat(o._round(e*r,s),10)),-1!==(e=e.toString()).indexOf("e")&&(e=o._round(+e,s)),t=e,e=e.replace(k,d[k])):(e=null,t=null),o.element.val(e),o._oldText=e,o.element.add(o._text).attr("aria-valuenow",t)},_placeholder:function(e){var t=this._text;t.val(e),p||e||t.val(this.options.placeholder),t.attr("title",this.element.attr("title")||t.val())},_label:function(){var a,o,i=this,r=i.element,l=i.options,s=r.attr("id");null!==l.label&&(a=!!S(l.label)&&l.label.floating,o=S(l.label)?l.label.content:l.label,a&&(i._floatingLabelContainer=i.wrapper.wrap("<span></span>").parent(),i.floatingLabel=new n.ui.FloatingLabel(i._floatingLabelContainer,{widget:i})),n.isFunction(o)&&(o=o.call(i)),o||(o=""),s||(s=l.name+"_"+n.guid(),r.attr("id",s)),i._inputLabel=e("<label class='k-label k-input-label' for='"+s+"'>"+o+"</label>'").insertBefore(i.wrapper),i.element.attr("disabled")===t&&i.element.attr("readonly")===t&&i._inputLabel.on("click"+b,i.focus.bind(i)))},_wrapper:function(){var e,t=this.element,n=t[0];(e=t.parents(".k-numerictextbox")).is("span.k-numerictextbox")||(e=t.hide().wrap("<span/>").parent()),e[0].style.cssText=n.style.cssText,n.style.width="",this.wrapper=e.addClass("k-numerictextbox k-input").addClass(n.className).removeClass("input-validation-error").css("display","")},_reset:function(){var t=this,n=t.element,a=n.attr("form"),o=a?e("#"+a):n.closest("form");o[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(n[0].value),t.max(t._initialOptions.max),t.min(t._initialOptions.min)}))},t._form=o.on("reset",t._resetHandler))}});function O(e,t,n){var a="increase"===e?"caret-alt-up":"caret-alt-down",o="increase"===e?"increase":"decrease";return i.renderButton('<button role="button" tabindex="-1" unselectable="on" class="k-spinner-'+o+'" aria-label="'+t+'" title="'+t+'"></button>',F({},n,{icon:a,shape:null,rounded:null}))}function I(e,t){var n=parseFloat(e,10).toString().split(k);return n[1]&&(n[1]=n[1].substring(0,t)),n.join(k)}n.cssProperties.registerPrefix("NumericTextBox","k-input-"),n.cssProperties.registerValues("NumericTextBox",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),r.plugin(j)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.numerictextbox.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendovalidator=t.kendovalidator||{},t.kendovalidator.js=e())}(this,(function(){return function(t,e){var a=window.kendo,i=a.ui.Widget,r=".kendoValidator",n="k-invalid-msg",s=new RegExp(n,"i"),o="k-invalid",l="k-valid",u="k-validation-summary",d="k-text-error",m="k-messagebox k-messagebox-error",c="aria-invalid",h=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/i,f=/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,p=":input:not(:button,[type=submit],[type=reset],[disabled],[readonly])",g=":checkbox:not([disabled],[readonly])",F="[type=number],[type=range]",v="blur",_="name",y="form",k="novalidate",b="validate",C="change",D="validateInput",x=function(t,e){return"string"==typeof e&&(e=new RegExp("^(?:"+e+")$")),e.test(t)},A=function(t,e,a){var i=t.val();return!t.filter(e).length||""===i||x(i,a)},w=function(t,e){return!!t.length&&null!=t[0].attributes[e]};function E(e){return t.parseHTML?t(t.parseHTML(e)):t(e)}function S(e,i){for(var r,n=t(),o=0,l=e.length;o<l;o++)r=e[o],s.test(r.className)&&r.getAttribute(a.attr("for"))===i&&(n=n.add(r));return n}function I(t,e){return!!t&&("string"==typeof t.nodeName&&"LABEL"===t.nodeName&&("string"==typeof t.getAttribute("for")&&"string"==typeof e.getAttribute("id")&&t.getAttribute("for")===e.getAttribute("id")))}a.ui.validator||(a.ui.validator={rules:{},messages:{},allowSubmit:t.noop,validateOnInit:t.noop});var z=function(t){for(var e=t.errors,a="<ul>",i=0;i<e.length;i+=1)a+='<li><a data-field="'+e[i].field+'" href="#">'+e[i].message+"</a></li>";return a+="</ul>"},M=i.extend({init:function(e,r){var n=this,s=function(e){var i,r=a.ui.validator.ruleResolvers||{},n={};for(i in r)t.extend(!0,n,r[i].resolve(e));return n}(e),o="["+a.attr("validate")+"!=false]";(r=r||{}).rules=t.extend({},a.ui.validator.rules,s.rules,r.rules),r.messages=t.extend({},a.ui.validator.messages,s.messages,r.messages),i.fn.init.call(n,e,r),n._errorTemplate=a.template(n.options.errorTemplate),n._summaryTemplate=a.template(n.options.validationSummary.template||z),n.element.is(y)&&n.element.attr(k,k),n._inputSelector=p+o,n._checkboxSelector=g+o,n._errors={},n._attachEvents(),n._isValidated=!1,n._validateOnInit()&&n.validate()},events:[b,C,D],options:{name:"Validator",errorTemplate:function(t){return'<span class="k-form-error">'+t.message+"</span>"},messages:{required:"{0} is required",pattern:"{0} is not valid",min:"{0} should be greater than or equal to {1}",max:"{0} should be smaller than or equal to {1}",step:"{0} is not valid",email:"{0} is not valid email",url:"{0} is not valid URL",date:"{0} is not valid date",dateCompare:"End date should be greater than or equal to the start date",captcha:"The text you entered doesn't match the image."},rules:{required:function(t){var e=!t.attr("name")&&!t.is(":checked"),a=t.attr("name"),i=a&&a.indexOf("'")>-1?'"':"'",r=t.attr("name")&&!this.element.find("input[name="+i+t.attr("name")+i+"]:checked").length,n=t.filter("[type=checkbox]").length&&(e||r),s=t.filter("[type=radio]").length&&!this.element.find("input[name="+i+t.attr("name")+i+"]:checked").length,o=t.val();return!(w(t,"required")&&(!o||""===o||0===o.length||n||s))},pattern:function(t){return!t.filter("[type=text],[type=email],[type=url],[type=tel],[type=search],[type=password]").filter("[pattern]").length||""===t.val()||x(t.val(),t.attr("pattern"))},min:function(t){return!t.filter(F+",["+a.attr("type")+"=number]").filter("[min]").length||""===t.val()||(parseFloat(t.attr("min"))||0)<=a.parseFloat(t.val())},max:function(t){return!t.filter(F+",["+a.attr("type")+"=number]").filter("[max]").length||""===t.val()||(parseFloat(t.attr("max"))||0)>=a.parseFloat(t.val())},step:function(t){if(t.filter(F+",["+a.attr("type")+"=number]").filter("[step]").length&&""!==t.val()){var e,i=parseFloat(t.attr("min"))||0,r=parseFloat(t.attr("step"))||1,n=parseFloat(t.val()),s=(o=((o=r)+"").split(".")).length>1?o[1].length:0;return s?(e=Math.pow(10,s),Math.floor((n-i)*e)%(r*e)/Math.pow(100,s)==0):(n-i)%r==0}var o;return!0},email:function(t){return A(t,"[type=email],["+a.attr("type")+"=email]",h)},url:function(t){return A(t,"[type=url],["+a.attr("type")+"=url]",f)},date:function(t){return!t.filter("[type^=date],["+a.attr("type")+"=date]").length||""===t.val()||null!==a.parseDate(t.val(),t.attr(a.attr("format")))},captcha:function(t){if(t.filter("["+a.attr("role")+"=captcha]").length){var e=this,i=a.widgetInstance(t),r=function(t){return null!=t};if(t.data("captcha_validating")||r(i.isValid())||!i.getCaptchaId()||(t.data("captcha_validating",!0),e._validating=!0,i.validate().done((function(){e._validating=!1,e._checkElement(t)})).fail((function(t){e._validating=!1,t.error&&"handler_not_defined"===t.error&&window.console.warn("Captcha's validationHandler is not defined! You should either define a proper validation endpoint or declare a callback function to ensure the required behavior.")}))),r(i.isValid()))return t.removeData("captcha_validating"),i.isValid()}return!0}},validateOnBlur:!0,validationSummary:!1},_allowSubmit:function(){return a.ui.validator.allowSubmit(this.element,this.errors())},_validateOnInit:function(){return a.ui.validator.validateOnInit(this.element)},destroy:function(){i.fn.destroy.call(this),this.element.off(r),this.validationSummary&&(this.validationSummary.off(r),this.validationSummary=null)},value:function(){return!!this._isValidated&&0===this.errors().length},_submit:function(t){return!(!this.validate()&&!this._allowSubmit()||this._validating)||(t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault(),!1)},_checkElement:function(t){var e=this.value();this.validateInput(t),this.value()!==e&&this.trigger(C)},_attachEvents:function(){var e=this;e.element.is(y)&&e.element.on("submit"+r,e._submit.bind(e)),e.options.validateOnBlur&&(e.element.is(p)?(e.element.on(v+r,(function(){e._checkElement(e.element)})),e.element.is(g)&&e.element.on("click"+r,(function(){e._checkElement(e.element)}))):(e.element.on(v+r,e._inputSelector,(function(){e._checkElement(t(this))})),e.element.on("click"+r,e._checkboxSelector,(function(){e._checkElement(t(this))}))))},validate:function(){var t,e,a,i=!1,r=this.value();if(this._errors={},this.element.is(p))i=this.validateInput(this.element);else{var n=!1;for(e=0,a=(t=this.element.find(this._inputSelector)).length;e<a;e++)this.validateInput(t.eq(e))||(n=!0);i=!n}return this.options.validationSummary&&!r&&this.showValidationSummary(),this.trigger(b,{valid:i,errors:this.errors()}),r!==i&&this.trigger(C),i},validateInput:function(e){e=t(e),this._isValidated=!0;var i,r,s=this,u=s._errorTemplate,m=s._checkValidity(e),h=m.valid,f="."+n,p=e.attr(_)||"",g=s._findMessageContainer(p).add(e.next(f).filter((function(){var e=t(this);return!e.filter("["+a.attr("for")+"]").length||e.attr(a.attr("for"))===p}))).addClass("k-hidden"),F=h?"":s._extractMessage(e,m.key),v=h?"":E(u({message:(r=F,r.replace(/&amp/g,"&amp;").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")),field:p})),y=!e.attr(c),k=e.is(".k-input-inner"),b=e.parent(".k-input");if(e.removeAttr(c),e.hasClass("k-hidden")&&(i=a.widgetInstance(e.closest(".k-signature"))),e.is("[type=radio]")&&(i=a.widgetInstance(e.closest(".k-radio-list"))),e.is("[type=checkbox]")&&(i=a.widgetInstance(e.closest(".k-checkbox-list"))),h||e.data("captcha_validating"))delete s._errors[p];else{s._errors[p]=F;var C=g.attr("id");if(s._decorateMessageContainer(v,p),C&&v.attr("id",C),0!==g.length)g.replaceWith(v);else{i=i||a.widgetInstance(e);var x=e.parent().get(0),A=e.next().get(0),w=e.prev().get(0);!i&&e.is("[type=radio]")&&(i=a.widgetInstance(e.closest(".k-radio-list"))),!i&&e.is("[type=checkbox]")&&(i=a.widgetInstance(e.closest(".k-checkbox-list"))),i&&i.wrapper&&(i.element!==i.wrapper||["Signature","RadioGroup","CheckBoxGroup"].indexOf(i.options.name)>-1)?v.insertAfter(i.wrapper):x&&"LABEL"===x.nodeName?v.insertAfter(x):A&&I(A,e[0])?v.insertAfter(A):w&&I(w,e[0])?v.insertAfter(e):k&&b.length?v.insertAfter(b):v.insertAfter(e)}v.removeClass("k-hidden"),e.attr(c,!0)}if(y!==h&&this.trigger(D,{valid:h,input:e,error:F,field:p}),(i=i&&"Signature"==i.options.name?i:a.widgetInstance(e))&&(i._inputWrapper||i.wrapper)||(e.toggleClass(o,!h),e.toggleClass(l,h)),i){var S=i._inputWrapper||i.wrapper,z=i._inputLabel;S&&(S.toggleClass(o,!h),S.toggleClass(l,h)),z&&z.toggleClass(d,!h)}if(y!==h){var M=v?v.attr("id"):g.attr("id");s._associateMessageContainer(e,M),this.options.validationSummary&&this.options.validateOnBlur&&this.showValidationSummary()}return h},hideMessages:function(){var t="."+n,e=this.element;this._disassociateMessageContainers(),e.is(p)?e.next(t).addClass("k-hidden"):e.find(t).addClass("k-hidden")},reset:function(){var t=this,e=t.element.find("."+o),a=t.element.find("."+d);t._errors=[],t.hideMessages(),t.hideValidationSummary(),e.removeAttr(c),e.removeClass(o),a.removeClass(d)},_findMessageContainer:function(e){for(var i,r=a.ui.validator.messageLocators,n=t(),s=0,o=this.element.length;s<o;s++)n=n.add(S(this.element[s].getElementsByTagName("*"),e));for(i in r)n=n.add(r[i].locate(this.element,e));return n},_decorateMessageContainer:function(t,e){var i,r=a.ui.validator.messageLocators;for(i in t.addClass(n).attr(a.attr("for"),e||""),t.attr("id")||t.attr("id",e+"-error"),r)r[i].decorate(t,e)},_extractMessage:function(t,e){var i,r=this.options.messages[e],n=t.attr(_);return a.ui.Validator.prototype.options.messages[e]||(i=a.isFunction(r)?r(t):r),r=a.isFunction(r)?r(t):r,a.format(t.attr(a.attr(e+"-msg"))||t.attr("validationMessage")||i||r||t.attr("title")||"",n,t.attr(e)||t.attr(a.attr(e)))},_checkValidity:function(t){var e,a=this.options.rules;for(e in a)if(!a[e].call(this,t))return{valid:!1,key:e};return{valid:!0}},errors:function(){var t,e=[],a=this._errors;for(t in a)e.push(a[t]);return e},setOptions:function(t){t.validationSummary&&this.hideValidationSummary(),a.deepExtend(this.options,t),this.destroy(),this.init(this.element,this.options),this._setEvents(this.options)},_getInputNames:function(){for(var e=this.element.find(this._inputSelector),a=[],i=0,r=e.length;i<r;i++){var n=t(e[i]);w(n,_)&&(-1===a.indexOf(n.attr(_))||0===n.closest(".k-checkbox-list").length&&0===n.closest(".k-radio-list").length)&&a.push(n.attr(_))}return a},_associateMessageContainer:function(t,e){var i=a.getWidgetFocusableElement(t);i&&e&&a.toggleAttribute(i,"aria-describedby",e)},_disassociateMessageContainers:function(){for(var e,a,i=this,r=i.element.find("."+o).addBack(),s=0;s<r.length;s+=1)(e=t(r[s])).is("input")&&(a=i._findMessageContainer(e.attr(_)).add(e.next("."+n)).attr("id"),i._associateMessageContainer(e,a))},_errorsByName:function(){for(var t=this,e=t._getInputNames(),a=[],i=0;i<e.length;i+=1){var r=e[i];t._errors[r]&&a.push({field:r,message:t._errors[r]})}return a},_renderSummary:function(){var e,a=this,i=this.options.validationSummary,n=this.element.prev();return(e=i.container?t(i.container):n&&n.hasClass(u)?n:t("<div />").insertBefore(a.element)).addClass([u,m].join(" ")),e.attr("role","alert"),e.on("click"+r,a._summaryClick.bind(a)),e},_summaryClick:function(e){e.preventDefault();var i,r=t(e.target),n=this.element.find("[name='"+r.data("field")+"']");n.length&&(i=a.getWidgetFocusableElement(n))&&i.trigger("focus")},showValidationSummary:function(){var t,e=this,a=e.validationSummary,i=e._errorsByName();a||(a=e.validationSummary=e._renderSummary()),t=E(e._summaryTemplate({errors:i})),a.html(t),a.toggleClass("k-hidden",!i.length)},hideValidationSummary:function(){var t=this.validationSummary;t&&t.addClass("k-hidden")}});a.ui.plugin(M)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.validator.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.checkbox.js"),require("kendo.dropdownlist.js"),require("kendo.datepicker.js"),require("kendo.numerictextbox.js"),require("kendo.validator.js"),require("kendo.binder.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.checkbox.min","kendo.dropdownlist.min","kendo.datepicker.min","kendo.numerictextbox.min","kendo.validator.min","kendo.binder.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoeditable=e.kendoeditable||{},e.kendoeditable.js=t())}(this,(function(){return function(e,t){var i=window.kendo,o=i.ui,n=o.Widget,a=e.extend,r=i.isFunction,d=e.isPlainObject,l=e.inArray,s=/("|\%|'|\[|\]|\$|\.|\,|\:|\;|\+|\*|\&|\!|\#|\(|\)|<|>|\=|\?|\@|\^|\{|\}|\~|\/|\||`)/g,u="change",p="equalSet",c=["url","email","number","date","boolean"];function f(e){return(e=null!=e?e:"").type||i.type(e)||"string"}function v(e){var t,o,n=(e.model.fields||e.model)[e.field],a=f(n),s=n?n.validation:{},u=n?n.attributes:{},p=i.attr("type"),v=i.attr("bind"),m={id:e.id||e.field,name:e.field,title:e.title?e.title:e.field};for(t in s){if(o=s[t],l(t,c)>=0)m[p]=t;else if(!r(o)){var k=i.getCulture();if("number"==typeof o&&k.name.length){var b=k.numberFormat,x=o.toString().replace(".",b["."]);m[t]=x}else m[t]=d(o)?o.value||t:o}m[i.attr(t+"-msg")]=o.message,m.autocomplete="off"}for(var h in u)m[h]=u[h];return l(a,c)>=0&&(m[p]=a),m[v]=("boolean"===a?"checked:":"value:")+e.field,m}function m(e,t){var i=e.attr("id");return i&&(t.id=i,e.removeAttr("id")),t}var k=["AutoComplete","CheckBox","CheckBoxGroup","ColorGradient","ColorPicker","ColorPalette","ComboBox","DateInput","DatePicker","DateTimePicker","DropDownTree","Editor","FlatColorPicker","MaskedTextBox","MultiColumnComboBox","MultiSelect","NumericTextBox","RadioGroup","Rating","Slider","Switch","TimePicker","DropDownList","TextBox","TextArea","Captcha","Signature","TimeDurationPicker"],b={hidden:function(t,i){var o=v(i);e('<input type="hidden"/>').attr(o).appendTo(t)},number:function(t,o){var n=v(o);e('<input type="text"/>').attr(n).appendTo(t).kendoNumericTextBox(a({},o.editorOptions,{format:o.format})),e("<span "+i.attr("for")+'="'+o.field+'" class="k-invalid-msg k-hidden"/>').appendTo(t)},date:function(t,o){var n=v(o),r=o.format;r&&(r=i._extractFormat(r)),n[i.attr("format")]=r,e('<input type="text"/>').attr(n).appendTo(t).kendoDatePicker(a({},o.editorOptions,{format:o.format})),e("<span "+i.attr("for")+'="'+o.field+'" class="k-invalid-msg k-hidden"/>').appendTo(t)},string:function(t,i){var o=v(i);e('<input type="text"/>').attr(o).appendTo(t).kendoTextBox(i.editorOptions)},boolean:function(t,i){var o=v(i);y(e('<input type="checkbox" />').attr(o).kendoCheckBox(i.editorOptions).appendTo(t),t,i)},values:function(t,o){var n=v(o),a=i.stringify(function(e){var t,i,o,n,a,r;if(e&&e.length)for(r=[],t=0,i=e.length;t<i;t++)a=(o=e[t]).text||o.value||o,n=null==o.value?o.text||o:o.value,r[t]={text:a,value:n};return r}(o.values));e("<select "+i.attr("text-field")+'="text"'+i.attr("value-field")+'="value"'+i.attr("source")+"='"+(a?a.replace(/\'/g,"&apos;"):a)+"'"+i.attr("size")+'="'+o.editorOptions.size+'"'+i.attr("role")+'="dropdownlist"/>').attr(n).appendTo(t),e("<span "+i.attr("for")+'="'+o.field+'" class="k-invalid-msg  k-hidden"/>').appendTo(t)},kendoEditor:function(t,i){var o=v(i),n=i.editor,a="kendo"+n,r=i.editorOptions,d=function(e,t){if(e.length)return"DropDownTree"===e&&t&&t.checkboxes||"MultiSelect"===e?"<select />":"RadioGroup"===e||"CheckBoxGroup"===e?"<ul />":"Signature"===e?"<div></div>":"Editor"===e||"TextArea"===e?"<textarea />":"<input />"}(n,r);y(e(d).attr(o).appendTo(t)[a](r),t,i)}},x={number:function(t,i){var o=v(i);o=m(t,o),e('<input type="number"/>').attr(o).appendTo(t)},date:function(t,i){var o=v(i);o=m(t,o),e('<input type="date"/>').attr(o).appendTo(t)},string:function(t,i){var o=v(i);o=m(t,o),e('<input type="text" />').attr(o).appendTo(t)},boolean:function(t,i){var o=v(i);o=m(t,o),e('<input type="checkbox" />').attr(o).appendTo(t)},values:function(t,i){var o=v(i),n=i.values,a=e("<select />");for(var r in o=m(t,o),n)e('<option value="'+n[r].value+'">'+n[r].text+"</option>").appendTo(a);a.attr(o).appendTo(t)}};function h(e,t){var i,o,n=e&&e.validation||{};for(i in n)o=n[i],d(o)&&o.value&&(o=o.value),r(o)&&(t[i]=o)}function y(t,i,o){(o&&o.shouldRenderHidden||!1)&&(t.val(!0),i.append(e("<input type='hidden' name='"+o.field+"' value='false' data-skip='true' data-validate='false'/>")))}var g=n.extend({init:function(e,t){var i=this;t.target&&t.target.pane&&(i._isMobile=!0),n.fn.init.call(i,e,t),i._validateProxy=i._validate.bind(i),i.refresh()},events:[u],options:{name:"Editable",editors:b,mobileEditors:x,clearContainer:!0,validateOnBlur:!0,validationSummary:!1,errorTemplate:function(e){var t=e.message;return'<div class="k-tooltip k-tooltip-error k-validator-tooltip">'+i.ui.icon({icon:"exclamation-circle",iconClass:"k-tooltip-icon"})+'<span class="k-tooltip-content">'+t+'</span><span class="k-callout k-callout-n"></span></div>'},skipFocus:!1,size:"medium"},editor:function(t,o){var n,r=this,l=r._isMobile?x:r.options.editors,u=d(t),p=u?t.field:t,c=r.options.model||{},v=u&&t.values?"values":f(o),m=u&&"string"==typeof t.editor&&"hidden"===t.editor,b=u&&!m&&t.editor,h=u&&-1!==e.inArray(t.editor,k),y=b?t.editor:l[m?"hidden":v],g=r.element.find("["+i.attr("container-for")+"="+p.replace(s,"\\$1")+"]");y=y||l.string,h?y=l.kendoEditor:b&&"string"==typeof t.editor&&(y=function(e){e.append(t.editor)}),u?(t.editorOptions||(t.editorOptions={}),t.editorOptions=a({},{size:r.options.size},t.editorOptions),n=t):n={field:p,editorOptions:{size:r.options.size}},y(g=g.length?g:r.element,a(!0,{},n,{model:c}))},_validate:function(t){var o,n=this,a=t.value,r=n._validationEventInProgress,d={},l=i.attr("bind"),p=t.field.replace(s,"\\$1"),c=new RegExp("(value|checked)\\s*:\\s*"+p+"\\s*(,|$)");d[t.field]=t.value,(o=e(":input["+l+'*="'+p+'"]',n.element).filter("["+i.attr("validate")+"!='false']").filter((function(){return c.test(e(this).attr(l))}))).length>1&&(o=o.filter((function(){var t=e(this);return!t.is(":radio")||t.val()==a})));try{n._validationEventInProgress=!0,(!n.validatable.validateInput(o)||!r&&n.trigger(u,{values:d}))&&t.preventDefault()}finally{n._validationEventInProgress=!1}},end:function(){return this.validatable.validate()},destroy:function(){var e=this;n.fn.destroy.call(e),e.options.model.unbind("set",e._validateProxy),e.options.model.unbind(p,e._validateProxy),i.unbind(e.element),e.validatable&&e.validatable.destroy(),i.destroy(e.element),e.element.removeData("kendoValidator"),e.element.is("["+i.attr("role")+"=editable]")&&e.element.removeAttr(i.attr("role"))},refresh:function(){var t,o,n,a,r,l,s=this,u=s.options.fields||[],c=s._container=s.options.clearContainer?s.element.empty():s.element,f=s.options.model||{},v={};for(Array.isArray(u)||(u=[u]),t=0,o=u.length;t<o;t++)n=u[t],a=d(n)?n.field:n,h(r=(f.fields||f)[a],v),s.editor(n,r);if(!o)for(a in l=f.fields||f)h(l[a],v);!function(t){t.find(":input:not(:button, .k-combobox .k-input, .k-checkbox-list .k-checkbox, .k-radio-list .k-radio, ["+i.attr("role")+"=listbox], ["+i.attr("role")+"=upload], ["+i.attr("skip")+"], [type=file]), ["+i.attr("role")+"=radiogroup]").each((function(){var t=i.attr("bind"),o=this.getAttribute(t)||"",n="checkbox"===this.type||"radio"===this.type?"checked:":"value:",a=this.getAttribute("name")===g.antiForgeryTokenName,r=this.attributes.name&&this.attributes.name.value;-1===o.indexOf(n)&&r&&!a&&(o+=(o.length?",":"")+n+r,e(this).attr(t,o))}))}(c),s.validatable&&s.validatable.destroy(),i.bind(c,s.options.model),s.options.validateOnBlur&&(s.options.model.unbind("set",s._validateProxy).bind("set",s._validateProxy),s.options.model.unbind(p,s._validateProxy).bind(p,s._validateProxy)),s.validatable=new i.ui.Validator(c,{validateOnBlur:s.options.validateOnBlur,validationSummary:s.options.validationSummary,errorTemplate:s.options.errorTemplate||undefined,rules:v}),s.options.skipFocus||(s._focusTimeout=setTimeout((function(){s._focusEditor()})))},_focusEditor:function(){this._container.find(":kendoFocusable").eq(0).trigger("focus")}});g.antiForgeryTokenName="__RequestVerificationToken",o.plugin(g)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.editable.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.userevents.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.userevents.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendodraganddrop=t.kendodraganddrop||{},t.kendodraganddrop.js=e())}(this,(function(){return function(t,e){var n,i=window.kendo,r=i.support,o=window.document,s=t(window),a=i.Class,l=i.ui.Widget,c=i.Observable,u=i.UserEvents,d=i.ClickMoveClick,h=t.extend,f=i.getOffset,p={},g={},v={},_=i.elementUnderCursor,m="keyup",x="change",b="dragstart",y="hold",E="drag",T="dragend",k="dragcancel",M="hintDestroyed",C="dragenter",w="dragleave",S="drop";function O(t,e){return parseInt(t.css(e),10)||0}function D(t,e){return Math.min(Math.max(t,e.min),e.max)}function H(t,e){var n=f(t),r=i._outerWidth,o=i._outerHeight,s=n.left+O(t,"borderLeftWidth")+O(t,"paddingLeft"),a=n.top+O(t,"borderTopWidth")+O(t,"paddingTop");return{x:{min:s,max:s+t.width()-r(e,!0)},y:{min:a,max:a+t.height()-o(e,!0)}}}var I,W=c.extend({init:function(e,n){var r=this,o=e[0];r.capture=!1,o.addEventListener?(t.each(i.eventMap.down.split(" "),(function(){o.addEventListener(this,r._press.bind(r),!0)})),t.each(i.eventMap.up.split(" "),(function(){o.addEventListener(this,r._release.bind(r),!0)}))):(t.each(i.eventMap.down.split(" "),(function(){o.attachEvent(this,r._press.bind(r))})),t.each(i.eventMap.up.split(" "),(function(){o.attachEvent(this,r._release.bind(r))}))),c.fn.init.call(r),r.bind(["press","release"],n||{})},captureNext:function(){this.capture=!0},cancelCapture:function(){this.capture=!1},_press:function(t){this.trigger("press"),this.capture&&t.preventDefault()},_release:function(t){var e=this;e.trigger("release"),e.capture&&(t.preventDefault(),e.cancelCapture())}}),z=c.extend({init:function(e){var n=this;c.fn.init.call(n),n.forcedEnabled=!1,t.extend(n,e),n.scale=1,n.horizontal?(n.measure="offsetWidth",n.scrollSize="scrollWidth",n.axis="x"):(n.measure="offsetHeight",n.scrollSize="scrollHeight",n.axis="y")},makeVirtual:function(){t.extend(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},virtualSize:function(t,e){this._virtualMin===t&&this._virtualMax===e||(this._virtualMin=t,this._virtualMax=e,this.update())},outOfBounds:function(t){return t>this.max||t<this.min},forceEnabled:function(){this.forcedEnabled=!0},getSize:function(){return this.container[0][this.measure]},getTotal:function(){return this.element[0][this.scrollSize]},rescale:function(t){this.scale=t},update:function(t){var e=this,n=e.virtual?e._virtualMax:e.getTotal(),i=n*e.scale,r=e.getSize();(0!==n||e.forcedEnabled)&&(e.max=e.virtual?-e._virtualMin:0,e.size=r,e.total=i,e.min=Math.min(e.max,r-i),e.minScale=r/n,e.centerOffset=(i-r)/2,e.enabled=e.forcedEnabled||i>r,t||e.trigger(x,e))}}),L=c.extend({init:function(t){var e=this;c.fn.init.call(e),e.x=new z(h({horizontal:!0},t)),e.y=new z(h({horizontal:!1},t)),e.container=t.container,e.forcedMinScale=t.minScale,e.maxScale=t.maxScale||100,e.bind(x,t)},rescale:function(t){this.x.rescale(t),this.y.rescale(t),this.refresh()},centerCoordinates:function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},refresh:function(){var t=this;t.x.update(),t.y.update(),t.enabled=t.x.enabled||t.y.enabled,t.minScale=t.forcedMinScale||Math.min(t.x.minScale,t.y.minScale),t.fitScale=Math.max(t.x.minScale,t.y.minScale),t.trigger(x)}}),P=c.extend({init:function(t){h(this,t),c.fn.init.call(this)},outOfBounds:function(){return this.dimension.outOfBounds(this.movable[this.axis])},dragMove:function(t){var e=this,n=e.dimension,i=e.axis,r=e.movable,o=r[i]+t;n.enabled&&((o<n.min&&t<0||o>n.max&&t>0)&&(t*=e.resistance),r.translateAxis(i,t),e.trigger(x,e))}}),U=a.extend({init:function(e){var n,i,r,o,s=this;h(s,{elastic:!0},e),r=s.elastic?.5:0,o=s.movable,s.x=n=new P({axis:"x",dimension:s.dimensions.x,resistance:r,movable:o}),s.y=i=new P({axis:"y",dimension:s.dimensions.y,resistance:r,movable:o}),s.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){s.gesture=t,s.offset=s.dimensions.container.offset()},press:function(e){t(e.event.target).closest("a").is("[data-navigate-on-press=true]")&&e.sender.cancel()},gesturechange:function(t){var e,r=s.gesture,a=r.center,l=t.center,c=t.distance/r.distance,u=s.dimensions.minScale,d=s.dimensions.maxScale;o.scale<=u&&c<1&&(c+=.8*(1-c)),o.scale*c>=d&&(c=d/o.scale);var h=o.x+s.offset.left,f=o.y+s.offset.top;e={x:(h-a.x)*c+l.x-h,y:(f-a.y)*c+l.y-f},o.scaleWith(c),n.dragMove(e.x),i.dragMove(e.y),s.dimensions.rescale(o.scale),s.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(n.dimension.enabled||i.dimension.enabled?(n.dragMove(t.x.delta),i.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}}),j=r.transitions.prefix+"Transform";I=r.hasHW3D?function(t,e,n){return"translate3d("+t+"px,"+e+"px,0) scale("+n+")"}:function(t,e,n){return"translate("+t+"px,"+e+"px) scale("+n+")"};var N=c.extend({init:function(e){var n=this;c.fn.init.call(n),n.element=t(e),n.element[0].style.webkitTransformOrigin="left top",n.x=0,n.y=0,n.scale=1,n._saveCoordinates(I(n.x,n.y,n.scale))},translateAxis:function(t,e){this[t]+=e,this.refresh()},scaleTo:function(t){this.scale=t,this.refresh()},scaleWith:function(t){this.scale*=t,this.refresh()},translate:function(t){this.x+=t.x,this.y+=t.y,this.refresh()},moveAxis:function(t,e){this[t]=e,this.refresh()},moveTo:function(t){h(this,t),this.refresh()},refresh:function(){var t,e=this,n=e.x,r=e.y;e.round&&(n=Math.round(n),r=Math.round(r)),(t=I(n,r,e.scale))!=e.coordinates&&(i.support.browser.msie&&i.support.browser.version<10?(e.element[0].style.position="absolute",e.element[0].style.left=e.x+"px",e.element[0].style.top=e.y+"px"):e.element[0].style[j]=t,e._saveCoordinates(t),e.trigger(x))},_saveCoordinates:function(t){this.coordinates=t}});function V(t,e){var n,i=e.options.group,r=t[i];if(l.fn.destroy.call(e),r.length>1){for(n=0;n<r.length;n++)if(r[n]==e){r.splice(n,1);break}}else r.length=0,delete t[i]}var A=l.extend({init:function(t,e){var n=this;l.fn.init.call(n,t,e);var i=n.options.group;i in g?g[i].push(n):g[i]=[n]},events:[C,w,S],options:{name:"DropTarget",group:"default"},destroy:function(){V(g,this)},_trigger:function(t,e){var n=p[this.options.group];if(n)return this.trigger(t,h({},e.event,{draggable:n,dropTarget:e.dropTarget}))},_over:function(t){this._trigger(C,t)},_out:function(t){this._trigger(w,t)},_drop:function(t){var e=p[this.options.group];e&&(e.dropped=!this._trigger(S,t))}});A.destroyGroup=function(t){var e,n=g[t]||v[t];if(n){for(e=0;e<n.length;e++)l.fn.destroy.call(n[e]);n.length=0,delete g[t],delete v[t]}},A._cache=g;var B=A.extend({init:function(t,e){var n=this;l.fn.init.call(n,t,e);var i=n.options.group;i in v?v[i].push(n):v[i]=[n]},destroy:function(){V(v,this)},options:{name:"DropTargetArea",group:"default",filter:null}}),F=l.extend({init:function(t,e){var n=this;l.fn.init.call(n,t,e),n._activated=!1,this.options.clickMoveClick&&(n.clickMoveClick=new d(n.element,{global:!0,filter:n.options.filter,start:n._startClickMoveClick.bind(n),move:n._drag.bind(n),end:n._end.bind(n),cancel:n._onCancel.bind(n)})),n.userEvents=new u(n.element,{global:!0,allowSelection:!0,filter:n.options.filter,threshold:n.options.distance,start:n._start.bind(n),hold:n._hold.bind(n),move:n._drag.bind(n),end:n._end.bind(n),cancel:n._onCancel.bind(n),select:n._select.bind(n),press:n._press.bind(n)}),i.support.touch&&n.element.find(n.options.filter).css("touch-action","none"),n._afterEndHandler=n._afterEnd.bind(n),n._captureEscape=n._captureEscape.bind(n)},events:[y,b,E,T,k,M],options:{name:"Draggable",distance:i.support.touch?0:5,group:"default",cursorOffset:null,axis:null,container:null,filter:null,ignore:null,holdToDrag:!1,showHintOnHold:!1,autoScroll:!1,dropped:!1,clickMoveClick:!1,preventOsHoldFeatures:!1},cancelHold:function(){this._activated=!1},_captureEscape:function(t){var e=this;t.keyCode===i.keys.ESC&&(e.userEvents.cancel(),e.clickMoveClick&&e.clickMoveClick.cancel(),this._trigger(k,{event:t}))},_updateHint:function(e){var n,i=this,r=i.options,o=i.boundaries,s=r.axis,a=i.options.cursorOffset;a?n={left:e.x.location+a.left,top:e.y.location+a.top}:0!==e.x.delta||0!==e.y.delta?(i.hintOffset.left+=e.x.delta,i.hintOffset.top+=e.y.delta,n=t.extend({},i.hintOffset)):(i.hintOffset.left=e.x.startLocation+e.x.initialDelta,i.hintOffset.top=e.y.startLocation+e.y.initialDelta,n=t.extend({},i.hintOffset)),o&&(n.top=D(n.top,o.y),n.left=D(n.left,o.x)),"x"===s?delete n.top:"y"===s&&delete n.left,i.hint.css(n)},_shouldIgnoreTarget:function(e){var n=this.options.ignore;return n&&t(e).is(n)},_select:function(t){this._shouldIgnoreTarget(t.event.target)||t.preventDefault()},_startClickMoveClick:function(t){this._activated=!0,this._start(t)},_hint:function(){var e=this,n=e.options.hint;if(n){e.hint&&e.hint.stop(!0,!0).remove(),e.hint=i.isFunction(n)?t(n.call(e,e.currentTarget)):n;var r=f(e.currentTarget);e.hintOffset=r,e.hint.css({position:"absolute",zIndex:2e4,left:r.left,top:r.top}).appendTo(o.body)}},_start:function(e){var n=this,i=n.options,r=i.container?t(i.container):null,s=i.hint;this._shouldIgnoreTarget(e.touch.initialTouch)||i.holdToDrag&&!n._activated?n.userEvents.cancel():(n.currentTarget=e.target,n.currentTargetOffset=f(n.currentTarget),s&&n._hint(),p[i.group]=n,n.dropped=!1,r&&(n.boundaries=H(r,n.hint)),t(o).on(m,n._captureEscape),n._trigger(b,e)&&(n.userEvents.cancel(),n.clickMoveClick&&n.clickMoveClick.cancel(),n._afterEnd()),n.userEvents.capture())},_hold:function(t){this.currentTarget=t.target,this._trigger(y,t)?this.userEvents.cancel():(this._activated=!0,this.options.showHintOnHold&&this._hint())},_drag:function(e){e.preventDefault();var n=this._elementUnderCursor(e);if(this.options.autoScroll&&this._cursorElement!==n&&(this._scrollableParent=Q(n),this._cursorElement=n),this._lastEvent=e,this._processMovement(e,n),this.options.autoScroll&&this._scrollableParent[0]){var i=J(e.x.location,e.y.location,q(this._scrollableParent));this._scrollCompenstation=t.extend({},this.hintOffset),this._scrollVelocity=i,0===i.y&&0===i.x?(clearInterval(this._scrollInterval),this._scrollInterval=null):this._scrollInterval||(this._scrollInterval=setInterval(this._autoScroll.bind(this),50))}this.hint&&this._updateHint(e)},_processMovement:function(e,i){this._withDropTarget(i,(function(i,r){if(i){if(n){if(r===n.targetElement)return;n._trigger(w,h(e,{dropTarget:t(n.targetElement)}))}i._trigger(C,h(e,{dropTarget:t(r)})),n=h(i,{targetElement:r})}else n&&(n._trigger(w,h(e,{dropTarget:t(n.targetElement)})),n=null)})),this._trigger(E,h(e,{dropTarget:n,elementUnderCursor:i}))},_autoScroll:function(){var t=this._scrollableParent[0],e=this._scrollVelocity,n=this._scrollCompenstation;if(t){var i,r,a=this._elementUnderCursor(this._lastEvent);this._processMovement(this._lastEvent,a);var l=t===G()[0];l?(i=o.body.scrollHeight>s.height(),r=o.body.scrollWidth>s.width()):(i=t.offsetHeight<=t.scrollHeight,r=t.offsetWidth<=t.scrollWidth);var c=t.scrollTop+e.y,u=i&&c>0&&c<t.scrollHeight,d=t.scrollLeft+e.x,h=r&&d>0&&d<t.scrollWidth;u?t.scrollTop+=e.y:i&&c<0&&(t.scrollTop=0),h?t.scrollLeft+=e.x:r&&d<0&&(t.scrollLeft=0),this.hint&&l&&(h||u)&&(u&&(n.top+=e.y),h&&(n.left+=e.x),this.hint.css(n))}},_press:function(t){this.options.preventOsHoldFeatures&&(t.target.css("-webkit-user-select","none"),t.target.attr("unselectable","on"),t.target.one("contextmenu",(function(t){t.preventDefault()})))},_end:function(e){this._withDropTarget(this._elementUnderCursor(e),(function(i,r){i&&(i._drop(h({},e,{dropTarget:t(r)})),n=null)})),clearInterval(this._scrollInterval),this._scrollInterval=null,this._cancel(this._trigger(T,e))},_onCancel:function(t){this._cancel(),this._trigger(k,{event:t})},_cancel:function(t){var e=this;e._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),e._activated=!1,e.hint&&!e.dropped?setTimeout((function(){e.hint.stop(!0,!0),t?e._afterEndHandler():e.hint.animate(e.currentTargetOffset,"fast",e._afterEndHandler)}),0):e._afterEnd()},_trigger:function(t,e){return this.trigger(t,h({},e.event,{x:e.x,y:e.y,currentTarget:this.currentTarget,initialTarget:e.touch?e.touch.initialTouch:null,dropTarget:e.dropTarget,elementUnderCursor:e.elementUnderCursor,clickMoveClick:e.clickMoveClick}))},_elementUnderCursor:function(e){var n=_(e),i=this.hint;return i&&function(e,n){try{return t.contains(e,n)||e==n}catch(t){return!1}}(i[0],n)&&(i.hide(),(n=_(e))||(n=_(e)),i.show()),n},_withDropTarget:function(e,n){var i,o=this.options.group,s=g[o],a=v[o];(s&&s.length||a&&a.length)&&(i=function(e,n,i){for(var o,s,a=0,l=n&&n.length,c=i&&i.length;e&&e.parentNode;){for(a=0;a<l;a++)if((o=n[a]).element[0]===e)return{target:o,targetElement:e};for(a=0;a<c;a++)if(s=i[a],t.contains(s.element[0],e)&&r.matchesSelector.call(e,s.options.filter))return{target:s,targetElement:e};e=e.parentNode}}(e,s,a),i?n(i.target,i.targetElement):n())},destroy:function(){var t=this;l.fn.destroy.call(t),t._afterEnd(),t.userEvents.destroy(),t.clickMoveClick&&t.clickMoveClick.destroy(),this._scrollableParent=null,this._cursorElement=null,clearInterval(this._scrollInterval),t.currentTarget=null},_afterEnd:function(){var e=this;e.hint&&e.hint.remove(),delete p[e.options.group],e.trigger("destroy"),e.trigger(M),t(o).off(m,e._captureEscape)}});function q(t){var e,n,i,r=G()[0];return t[0]===r?{top:n=r.scrollTop,left:i=r.scrollLeft,bottom:n+s.height(),right:i+s.width()}:((e=t.offset()).bottom=e.top+t.height(),e.right=e.left+t.width(),e)}function G(){return t(i.support.browser.edge||i.support.browser.safari?o.body:o.documentElement)}function Q(e){var n=G();if(!e||e===o.body||e===o.documentElement)return n;for(var r=t(e)[0];r&&!i.isScrollable(r)&&r!==o.body;)r=r.parentNode;return r===o.body?n:t(r)}function J(t,e,n){var i={x:0,y:0},r=50;return t-n.left<r?i.x=-(r-(t-n.left)):n.right-t<r&&(i.x=r-(n.right-t)),e-n.top<r?i.y=-(r-(e-n.top)):n.bottom-e<r&&(i.y=r-(n.bottom-e)),i}i.ui.plugin(A),i.ui.plugin(B),i.ui.plugin(F),i.TapCapture=W,i.containerBoundaries=H,h(i.ui,{Pane:U,PaneDimensions:L,Movable:N}),i.ui.Draggable.utils={autoScrollVelocity:J,scrollableViewPort:q,findScrollableParent:Q}}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.draganddrop.min.js.map
;!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("kendo.draganddrop.js"),require("kendo.popup.js"),require("kendo.icons.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.draganddrop.min","kendo.popup.min","kendo.icons.min","kendo.html.button.min"],i):((t="undefined"!=typeof globalThis?globalThis:t||self).kendowindow=t.kendowindow||{},t.kendowindow.js=i())}(this,(function(){return function(t,i){var e,n=window.kendo,o=n.ui.Widget,r=n.ui.Popup.TabKeyTrap,s=n.ui.Draggable,a=t.isPlainObject,l=n._activeElement,d=n._outerWidth,p=n._outerHeight,c=t.extend,h=t.each,f=n.template,m="body",g=".kendoWindow",u=".kendoWindowModal",w=".k-window",v=".k-window-title",_=v+"bar",b=".k-window-content",x=".k-resize-handle",k=".k-overlay",z="k-window-minimized",T="k-content-frame",y="k-i-loading",L="k-hover",C="k-focus",W="k-window-maximized",O="k-display-inline-flex",S=":visible",M="hidden",P="cursor",H="open",D="activate",I="deactivate",E="close",F="refresh",j="resizeStart",R="resizeEnd",N="dragstart",A="dragend",K="restore",B="error",q="overflow",V="original-overflow-rule",U="zIndex",G=".k-window-titlebar-actions .k-i-window-minimize,.k-window-titlebar-actions .k-i-window,.k-window-titlebar-actions .k-svg-i-window-minimize,.k-window-titlebar-actions .k-svg-i-window",J=".k-i-pin,.k-svg-i-pin",Q=".k-i-unpin,.k-svg-i-unpin",X=J+","+Q,Y=".k-window-titlebar .k-window-titlebar-action",$=".k-window-titlebar .k-i-arrow-rotate-cw,.k-window-titlebar .k-svg-i-arrow-rotate-cw",Z="WindowEventsHandled",tt=/^0[a-z]*$/i,it=n.isLocalUrl,et={small:"k-window-sm",medium:"k-window-md",large:"k-window-lg"};function nt(t){return void 0!==t}function ot(t,i){return parseInt(t.css(i),10)||0}function rt(t,i,e){return t&&isNaN(t)&&t.toString().indexOf("px")<0?t:Math.max(Math.min(parseInt(t,10),e===1/0?e:parseInt(e,10)),i===-1/0?i:parseInt(i,10))}function st(){return!this.type||this.type.toLowerCase().indexOf("script")>=0}function at(i){for(var e={top:i.offsetTop,left:i.offsetLeft},n=i.offsetParent;n;){e.top+=n.offsetTop,e.left+=n.offsetLeft;var o=t(n).css("overflowX"),r=t(n).css("overflowY");"auto"!==r&&"scroll"!==r||(e.top-=n.scrollTop),"auto"!==o&&"scroll"!==o||(e.left-=n.scrollLeft),n=n.offsetParent}return e}var lt=o.extend({init:function(e,s){var l,d,p,c,h,f,m,u,x=this,k={},z=s&&s.actions&&!s.actions.length;o.fn.init.call(x,e,s),c=(s=x.options).position,e=x.element,h=s.content,m=t(window),z&&(s.actions=[]),x.appendTo=t(s.appendTo),x.containment=s.draggable.containment?t(s.draggable.containment).first():null,h&&!a(h)&&(h=s.content={url:h}),e.find("script").filter(st).remove(),e.parent().is(x.appendTo)||x.containment||c.top!==i&&c.left!==i||(e.is(S)?(k=e.offset(),!0):(d=e.css("visibility"),p=e.css("display"),e.css({visibility:M,display:""}),k=document.body.contains(e[0])?e.offset():{top:0,left:0},e.css({visibility:d,display:p})),c.top===i&&(c.top=k.top),c.left===i&&(c.left=k.left)),nt(s.visible)&&null!==s.visible||(s.visible=e.is(S)),l=x.wrapper=e.closest(w),s.themeColor&&"none"!==s.themeColor&&l.addClass(n.getValidCssClass("k-window-","themeColor",s.themeColor)),e.is(".k-window-content")&&l[0]||(e.addClass("k-window-content"),e.attr("tabindex",0),x._createWindow(e,s),l=x.wrapper=e.closest(w),x.title(x.options.title),x._dimensions(),s._footerTemplate&&x.wrapper.append(n.template(s._footerTemplate)(s._footerMessages))),x.minTop=x.minLeft=-1/0,x.maxTop=x.maxLeft=1/0,x._position(),h&&x.refresh(h),s.visible&&x.toFront(null,!s.modal),f=l.children(b),s.visible&&s.modal&&x._overlay(l.is(S)).css({opacity:.5}),l.on("mouseenter"+g,Y,x._buttonEnter.bind(x)).on("mouseleave"+g,Y,x._buttonLeave.bind(x)).on("click"+g,"> "+Y,x._windowActionHandler.bind(x)).on("keydown"+g,x,x._keydown.bind(x)).on("focus"+g,x._focus.bind(x)).on("blur"+g,x._blur.bind(x)),f.on("keydown"+g,x,x._keydownContent.bind(x)),f.find("."+T)[0]&&!m.data(Z)&&(m.on("blur"+g,(function(){var i=t(document.activeElement).parent(b);i.length&&n.widgetInstance(i)._focus()})),m.on("focus"+g,(function(){t(b).not(".k-dialog-content").each((function(i,e){n.widgetInstance(t(e))._blur()}))})),m.data(Z,!0)),this._resizable(),this._draggable(),s.pinned&&this.wrapper.is(":visible")&&x.pin(),(u=e.attr("id"))&&(u+="_wnd_title",l.attr({role:"dialog","aria-labelledby":u}).children(_).children(v).attr("id",u)),l.add(l.children(".k-resize-handle,"+_)).on(n.support.mousedown+g,x.toFront.bind(x)),x.touchScroller=n.touchScroller(e),x._resizeHandler=x._onDocumentResize.bind(x),x._marker=n.guid().substring(0,8),t(window).on("resize"+g+x._marker,x._resizeHandler),s.visible&&(x.trigger(H),x.trigger(D)),n.notify(x),this.options.modal&&(this._tabKeyTrap=new r(l),this._tabKeyTrap.trap(),this._tabKeyTrap.shouldTrap=function(){return l.data("isFront")}),x._showWatermarkOverlay&&x._showWatermarkOverlay(x.wrapper[0])},_buttonEnter:function(i){t(i.currentTarget).addClass(L)},_buttonLeave:function(i){t(i.currentTarget).removeClass(L)},_focus:function(){this.wrapper.addClass(C)},_blur:function(){this.wrapper.removeClass(C)},_dimensions:function(){var t=this.wrapper,i=this.options,e=i.width,n=i.height,o=i.maxHeight,r=i.size,s=["minWidth","minHeight","maxWidth","maxHeight"],a="content-box"==t.css("box-sizing"),l=a?ot(t,"border-left-width")+ot(t,"border-right-width"):0,d=a?ot(t,"border-top-width")+ot(t,"border-bottom-width"):0,p=a?ot(t,"padding-top"):0;this.containment&&!this._isPinned&&(this._updateBoundaries(),i.maxHeight=Math.min(this.containment.height-(d+p),o),i.maxWidth=Math.min(this.containment.width-l,i.maxWidth));for(var c=0;c<s.length;c++){var h=i[s[c]]||"";h!=1/0&&t.css(s[c],h)}o!=1/0&&this.element.css("maxHeight",o),e?t.outerWidth(rt(e,i.minWidth,i.maxWidth)):t.outerWidth(""),n?t.outerHeight(rt(n,i.minHeight,i.maxHeight)):t.outerHeight(""),i.visible||t.removeClass(O).hide(),r&&et[r]&&t.addClass(et[r])},_position:function(){var t,i,e=this.wrapper,n=this.options.position;this._updateBoundaries(),this.containment&&(n.top=n.top||0,n.left=n.left||0,t=n.top.toString().indexOf("%")>0?parseInt(this.containment.height*(parseFloat(n.top)/100),10):n.top,i=n.left.toString().indexOf("%")>0?parseInt(this.containment.width*(parseFloat(n.left)/100),10):n.left,n.top=rt(t,this.minTop,this.maxTop),n.left=rt(i,this.minLeft,this.maxLeft)),n.top&&n.top.toString().indexOf("px")>0&&(n.top=Number(n.top.replace("px",""))),n.left&&n.left.toString().indexOf("px")>0&&(n.left=Number(n.left.replace("px",""))),0===n.top&&(n.top=n.top.toString()),0===n.left&&(n.left=n.left.toString()),e.css({top:n.top||"",left:n.left||""})},_updateBoundaries:function(){var t=this.containment;if(!t)return null;t.width=t.innerWidth(),t.height=t.innerHeight(),parseInt(t.width,10)>t[0].clientWidth&&(t.width-=n.support.scrollbar()),parseInt(t.height,10)>t[0].clientHeight&&(t.height-=n.support.scrollbar()),t.position=at(t[0]),this._isPinned?(this.minTop=this.minLeft=-1/0,this.maxTop=this.maxLeft=1/0):(this.minTop=t.scrollTop(),this.minLeft=t.scrollLeft(),this.maxLeft=this.minLeft+t.width-d(this.wrapper,!0),this.maxTop=this.minTop+t.height-p(this.wrapper,!0))},_animationOptions:function(t){var i=this.options.animation;return i&&i[t]||{open:{effects:{}},close:{hide:!0,effects:{}}}[t]},_resize:function(){n.resize(this.element.children())},_resizable:function(){var i=this.options.resizable,n=this.wrapper;this.resizing&&(n.off("dblclick"+g).children(x).remove(),this.resizing.destroy(),this.resizing=null),i&&(n.on("dblclick"+g,_,function(i){t(i.target).closest(".k-window-titlebar-action").length||this.toggleMaximization()}.bind(this)),h("n e s w se sw ne nw".split(" "),(function(t,i){n.append(e.resizeHandle(i))})),this.resizing=new dt(this)),n=null},_draggable:function(){var t=this.options.draggable;this.dragging&&(this.dragging.destroy(),this.dragging=null),t&&(this.dragging=new pt(this,t.dragHandle||_,t.clickMoveClick))},_actions:function(){var i,o=this.options,r=o.actions,s=o.pinned,a=this.wrapper.children(_).find(".k-window-titlebar-actions"),l=["minimize","maximize"],d={maximize:"window",refresh:"arrow-rotate-cw",custom:"gear"};r=t.map(r,(function(t){return t=s&&"pin"===t.toLowerCase()?"unpin":t,i=d[t.toLowerCase()]||"",{name:l.indexOf(t.toLowerCase())>-1?"window-"+t:t,icon:"close"==t.toLowerCase()?"x":i}})),a.html(n.render(e.action,r))},setOptions:function(i){var e=this,r=e.options.size,s=this.containment&&!e._isPinned?this.containment:t(document),a=JSON.parse(JSON.stringify(i));e.wrapper.removeClass(n.getValidCssClass("k-window-","themeColor",e.options.themeColor)),c(i.position,e.options.position),c(i.position,a.position),e._containerScrollTop=s.scrollTop(),e._containerScrollLeft=s.scrollLeft(),o.fn.setOptions.call(e,i);var l=!1!==e.options.scrollable;if(e.restore(),void 0!==i.title&&e.title(i.title),e.wrapper.removeClass(et[r]),e._dimensions(),e._position(),e._resizable(),e._draggable(),e._actions(),e.options.themeColor&&"none"!==e.options.themeColor&&e.wrapper.addClass(n.getValidCssClass("k-window-","themeColor",e.options.themeColor)),void 0!==i.modal){var d=!1!==e.options.visible;e._enableDocumentScrolling(),e._overlay(i.modal&&d)}e.element.css(q,l?"":"hidden")},events:[H,D,I,E,"minimize","maximize",F,K,j,"resize",R,N,A,"kendoKeydown",B],options:{name:"Window",animation:{open:{effects:{zoom:{direction:"in"},fade:{direction:"in"}},duration:350},close:{effects:{zoom:{direction:"out",properties:{scale:.7}},fade:{direction:"out"}},duration:350,hide:!0}},title:"",themeColor:"",actions:["Close"],autoFocus:!0,modal:!1,size:"auto",resizable:!0,draggable:!0,minWidth:90,minHeight:50,maxWidth:1/0,maxHeight:1/0,pinned:!1,scrollable:!0,position:{},content:null,visible:null,height:null,width:null,appendTo:"body",isMaximized:!1,isMinimized:!1},_closable:function(){return t.inArray("close",t.map(this.options.actions,(function(t){return t.toLowerCase()})))>-1},_keydownContent:function(t){var i=n.keys;t.keyCode==i.ESC&&this._closable()&&(t.stopPropagation(),this._close(!1))},_keydown:function(t){var i,e,o,r,s,a,l=this,d=l.options,p=n.keys,c=t.keyCode,h=l.wrapper,f=10,m=d.isMaximized,g=d.isMinimized;c==p.ESC&&l._closable()&&(t.stopPropagation(),l._close(!1)),t.target!=t.currentTarget||l._closing||(t.altKey&&82==c&&l.refresh(),t.altKey&&80==c&&(l.options.pinned?l.unpin():l.pin()),t.altKey&&c==p.UP?g?(l.restore(),l.wrapper.trigger("focus")):m||(l.maximize(),l.wrapper.trigger("focus")):t.altKey&&c==p.DOWN&&(g||m?m&&(l.restore(),l.wrapper.trigger("focus")):(l.minimize(),l.wrapper.trigger("focus"))),i=n.getOffset(h),l.containment&&!l._isPinned&&(i=l.options.position),!d.draggable||t.ctrlKey||t.altKey||m||(l._updateBoundaries(),c==p.UP?(i.top=rt(i.top-f,l.minTop,l.maxTop),e=h.css("top",i.top)):c==p.DOWN?(i.top=rt(i.top+f,l.minTop,l.maxTop),e=h.css("top",i.top)):c==p.LEFT?(i.left=rt(i.left-f,l.minLeft,l.maxLeft),e=h.css("left",i.left)):c==p.RIGHT&&(i.left=rt(i.left+f,l.minLeft,l.maxLeft),e=h.css("left",i.left))),d.resizable&&t.ctrlKey&&!m&&!g&&(c==p.UP?(e=!0,r=h.outerHeight()-f):c==p.DOWN&&(e=!0,r=l.containment&&!l._isPinned?Math.min(h.outerHeight()+f,l.containment.height-i.top-ot(h,"padding-top")-ot(h,"borderBottomWidth")-ot(h,"borderTopWidth")):h.outerHeight()+f),c==p.LEFT?(e=!0,o=h.outerWidth()-f):c==p.RIGHT&&(e=!0,o=l.containment&&!l._isPinned?Math.min(h.outerWidth()+f,l.containment.width-i.left-ot(h,"borderLeftWidth")-ot(h,"borderRightWidth")):h.outerWidth()+f),e&&(s=rt(o,d.minWidth,d.maxWidth),a=rt(r,d.minHeight,d.maxHeight),isNaN(s)||(h.outerWidth(s),l.options.width=s+"px"),isNaN(a)||(h.outerHeight(a),l.options.height=a+"px"),l.resize())),e&&t.preventDefault())},_overlay:function(i){var e=this.containment?this.containment.children(k):this.appendTo.children(k),n=this.wrapper,o=i?"inline-flex":"none",r=parseInt(n.css(U),10)-1;return e.length||(e=t("<div class='k-overlay' />")),e.insertBefore(n[0]).css({zIndex:r,display:o}),this.options.modal.preventScroll&&!this.containment&&this._stopDocumentScrolling(),e},_actionForIcon:function(t){return{x:"_close",window:"maximize","window-minimize":"minimize","window-restore":"restore","arrow-rotate-cw":"refresh",pin:"pin",unpin:"unpin"}[/\bk(-svg)?-i(-\w+)+\b/.exec(t[0].className)[0].replace(/(k-i-|k-svg-i-)/,"")]},_windowActionHandler:function(i){if(!this._closing){var e=t(i.target).closest(".k-window-titlebar-action").find(".k-icon,.k-svg-icon"),n=this._actionForIcon(e);return n?(i.preventDefault(),this[n](),!1):void 0}},_modals:function(){for(var i,e=this,n=t(w+S),o=[],r=0;r<n.length;r+=1)(i=e._object(t(n[r])))&&i.options&&i.options.modal&&i.options.visible&&i.options.appendTo===e.options.appendTo&&(!i.containment||e.containment&&i.containment[0]===e.containment[0])&&o.push(i.wrapper[0]);return o.sort((function(t,i){return t.style.zIndex-i.style.zIndex})),e=null,t(o)},_object:function(t){var e=t.children(b),o=n.widgetInstance(e);return o||i},center:function(){var i,e,n=this,o=n.options.position,r=n.wrapper,s=t(window),a=0,l=0;return n.options.isMaximized||(n.options.pinned&&!n._isPinned&&n.pin(),n.options.pinned||(a=s.scrollTop(),l=s.scrollLeft()),this.containment&&!n.options.pinned?(i=this.minTop+(this.maxTop-this.minTop)/2,e=this.minLeft+(this.maxLeft-this.minLeft)/2):(n._scrollIsAppended=!0,e=l+Math.max(0,(s.width()-r.outerWidth())/2),i=a+Math.max(0,(s.height()-r.outerHeight()-ot(r,"paddingTop"))/2)),r.css({left:e,top:i}),o.top=i,o.left=e),n},title:function(i){var o,r=this,s=!0,a=r.wrapper,l=a.children(_),d=l.children(v);return arguments.length?(t.isPlainObject(i)?(o=void 0!==i.text?i.text:"",s=!1!==i.encoded):o=i,!1===o?(a.addClass("k-window-titleless"),a.css("padding-top",0),l.remove()):l.length?d.html(s?n.htmlEncode(o):o):(a.prepend(e.titlebar({title:s?n.htmlEncode(o):o})),r._actions(),l=a.children(_)),r.options.title=o,r):d.html()},content:function(t,i){var e=this.wrapper.children(b),o=e.children(".km-scroll-container");return e=o[0]?o:e,nt(t)?(n.destroy(this.element.children()),e.empty().html(t),this):e.html()},open:function(){var i,e,o=this,r=o.wrapper,s=o.options,a=this._animationOptions("open"),l=r.children(b),d=this.containment&&!o._isPinned?this.containment:t(document);if(!o.trigger(H)){if(o._closing&&r.kendoStop(!0,!0),o._closing=!1,o.toFront(),s.autoFocus&&o.wrapper.trigger("focus"),s.visible=!0,s.modal){if(e=!!o._modals().length,(i=o._overlay(e)).kendoStop(!0,!0),a.duration&&n.effects.Fade&&!e){var p=n.fx(i).fadeIn();p.duration(a.duration||0),p.endValue(.5),p.play()}else i.css("opacity",.5);i.show(),t(window).on("focus"+u,(function(){r.data("isFront")&&!t(document.activeElement).closest(r).length&&o.wrapper.trigger("focus")}))}r.is(S)||(l.css(q,M),o.wrapper.find(Y).addClass("k-button-flat"),r.css({display:"inline-flex"}),r.kendoStop().kendoAnimate({effects:a.effects,duration:a.duration,complete:this._activate.bind(this)}))}return s.isMaximized&&(o._containerScrollTop=d.scrollTop(),o._containerScrollLeft=d.scrollLeft(),o._stopDocumentScrolling()),this.options.pinned&&!this._isPinned&&this.pin(),o},_activate:function(){var t=!1!==this.options.scrollable;this.options.autoFocus&&this.wrapper.trigger("focus"),this.element.css(q,t?"":"hidden"),n.resize(this.element.children()),this.trigger(D)},_removeOverlay:function(e){var o=this._modals(),r=this.options,s=r.modal&&!o.length,a=this._animationOptions("close");if(s){if(!e&&a.duration&&n.effects.Fade){var l=n.fx(r.modal?this._overlay(!0):t(i)).fadeOut();l.duration(a.duration||0),l.startValue(.5),l.play()}else this._overlay(!1).remove();r.modal.preventScroll&&this._enableDocumentScrolling()}else o.length&&(this._object(o.last())._overlay(!0),r.modal.preventScroll&&this._stopDocumentScrolling())},_close:function(i){var e,n=this,o=n.wrapper,r=n.options,s=this._animationOptions("open"),a=this._animationOptions("close"),l=this.containment&&!n._isPinned?this.containment:t(document);n._closing||(e=n.trigger(E,{userTriggered:!i}),n._closing=!e,o.is(S)&&!e&&(r.visible=!1,t(w).each((function(i,e){var n=t(e).children(b);e!=o&&n.find("> ."+T).length>0&&n.children(k).remove()})),this._removeOverlay(),n.wrapper.find(Y).removeClass("k-button-flat"),o.kendoStop().kendoAnimate({effects:a.effects||s.effects,reverse:!0===a.reverse,duration:a.duration,complete:this._deactivate.bind(this)}),t(window).off(u)),n.options.isMaximized&&(n._enableDocumentScrolling(),n._containerScrollTop&&n._containerScrollTop>0&&l.scrollTop(n._containerScrollTop),n._containerScrollLeft&&n._containerScrollLeft>0&&l.scrollLeft(n._containerScrollLeft)),n.options.iframe&&n.wrapper.trigger("blur"))},_deactivate:function(){var t=this;if(t.wrapper.removeClass(O).hide().css("opacity",""),t.trigger(I),t.options.modal){var i=t._object(t._modals().last());i&&i.toFront()}},close:function(){return this._close(!0),this},_actionable:function(i){return t(i).is(Y+", :input, a, .k-input, .k-icon, .k-svg-icon, [role='gridcell'], .k-input-value-text")},_shouldFocus:function(i){var e=l(),n=this.wrapper;return this.options.autoFocus&&!t(e).is(n)&&!this._actionable(i)&&(!n.find(e).length||!n.find(i).length)},toFront:function(i,n){var o=this,r=o.wrapper,s=r[0],a=o.containment&&!o._isPinned,l=this._animationOptions("open"),d=+r.css(U),p=d,c=i&&i.target||null;if(t(w).each((function(i,n){var o=t(n),a=o.css(U),l=o.children(b);isNaN(a)||(d=Math.max(+a,d)),r.data("isFront",n==s),n!=s&&l.find("."+T).length&&!l.find(k).length&&l.append(e.overlay)})),(!r[0].style.zIndex||p<d)&&r.css(U,d+2),o.element.find("> .k-overlay").remove(),o._shouldFocus(c)){n||setTimeout((function(){o.wrapper.focus()}),l?l.duration:0);var h=a?o.containment.scrollTop():t(window).scrollTop(),f=parseInt(r.position().top,10);!o.options.pinned&&f>0&&f<h&&(h>0?t(window).scrollTop(f):r.css("top",h))}return r=null,o},toggleMaximization:function(){return this._closing?this:this[this.options.isMaximized?"restore":"maximize"]()},restore:function(){var i=this,e=i.options,n=e.minHeight,o=i.restoreOptions,r=i.containment&&!i._isPinned?i.containment:t(document);return e.isMaximized||e.isMinimized?(n&&n!=1/0&&i.wrapper.css("min-height",n),o&&!e.isMaximized&&(o.height=rt(o.height,i.options.minHeight,i.options.maxHeight),e.position.top+parseInt(o.height,10)>i.maxTop&&(e.position.top=rt(e.position.top,i.minTop,i.maxTop-parseInt(o.height,10)),c(o,{left:e.position.left,top:e.position.top}))),i.wrapper.css({position:e.pinned?"fixed":"absolute",left:o.left,top:o.top,width:o.width,height:o.height}).removeClass(W).removeClass(z).find(".k-window-content,.k-resize-handle").show().end().find(".k-window-titlebar .k-i-window-restore,.k-window-titlebar .k-svg-i-window-restore").parent().remove().end().end().find(G).parent().show().end().end().find(X).parent().show(),e.isMaximized?i.wrapper.find(".k-i-window,.k-svg-i-window").parent().trigger("focus"):e.isMinimized&&i.wrapper.find(".k-i-window-minimize,.k-svg-i-window-minimize").parent().trigger("focus"),i.options.width=o.width,i.options.height=o.height,i.options.modal.preventScroll||i._enableDocumentScrolling(),i._containerScrollTop&&i._containerScrollTop>0&&r.scrollTop(i._containerScrollTop),i._containerScrollLeft&&i._containerScrollLeft>0&&r.scrollLeft(i._containerScrollLeft),e.isMaximized=e.isMinimized=!1,i.wrapper.removeAttr("aria-labelled-by"),i.resize(),i.trigger(K),i):i},_sizingAction:function(t,i){var n=this,o=n.wrapper,r=o[0].style,s=n.options;return s.isMaximized||s.isMinimized||(n.restoreOptions={width:r.width,height:r.height},o.children(x).hide().end().children(_).find(G).parent().hide().eq(0).before(e.action({name:"window-restore"})),i.call(n),n.wrapper.children(_).find(X).parent().toggle("maximize"!==t),n.trigger(t),o.find(".k-i-window-restore,.k-svg-i-window-restore").parent().trigger("focus")),n},maximize:function(){return this._sizingAction("maximize",(function(){var i=this,e=i.wrapper,n=this.containment&&!i._isPinned,o=e.position(),r=t(document);c(i.restoreOptions,{left:o.left+(n?this.containment.scrollLeft():0),top:o.top+(n?this.containment.scrollTop():0)}),this._containerScrollTop=n?this.containment.scrollTop():r.scrollTop(),this._containerScrollLeft=n?this.containment.scrollLeft():r.scrollLeft(),i._stopDocumentScrolling(),e.css({top:n?this.containment.scrollTop():0,left:n?this.containment.scrollLeft():0,position:n?"absolute":"fixed"}).addClass(W),i.options.isMaximized=!0,i._onDocumentResize()})),this},_stopDocumentScrolling:function(){var i=this,e=i.containment;if(e&&!i._isPinned)return i._storeOverflowRule(e),e.css(q,M),void i.wrapper.css({maxWidth:e.innerWidth(),maxHeight:e.innerHeight()});var n=t("body");i._storeOverflowRule(n),n.css(q,M);var o=t("html");i._storeOverflowRule(o),o.css(q,M)},_enableDocumentScrolling:function(){var i=this,e=i.containment;if(e&&!i._isPinned)return i._restoreOverflowRule(e),void i.wrapper.css({maxWidth:e.width,maxHeight:e.height});i._restoreOverflowRule(t(document.body)),i._restoreOverflowRule(t("html"))},_storeOverflowRule:function(t){if(!this._isOverflowStored(t)){var i=t.get(0).style.overflow;"string"==typeof i&&t.data(V,i)}},_isOverflowStored:function(t){return"string"==typeof t.data(V)},_restoreOverflowRule:function(t){var e=t.data(V);null!==e&&e!==i?(t.css(q,e),t.removeData(V)):t.css(q,"")},isMaximized:function(){return this.options.isMaximized},minimize:function(){return this._sizingAction("minimize",(function(){var t=this;t.wrapper.css({height:"",minHeight:""}),t.element.hide(),t.options.isMinimized=!0})),this.wrapper.attr("aria-labelled-by",this.element.attr("aria-labelled-by")),this.wrapper.addClass(z),this._updateBoundaries(),this},isMinimized:function(){return this.options.isMinimized},pin:function(){var i=this,e=t(window),o=i.wrapper,r=i.options,s=r.position,a=this.containment?at(o[0]).top+ot(this.containment,"borderTopWidth"):ot(o,"top"),l=this.containment?at(o[0]).left+ot(this.containment,"borderLeftWidth"):ot(o,"left");if(!i.options.isMaximized){s.top=a,s.left=l,!i._scrollIsAppended||this.containment&&"fixed"===this.containment.css("position")||(s.top-=e.scrollTop(),s.left-=e.scrollLeft(),i._scrollIsAppended=!1),o.css(c(s,{position:"fixed"}));var d=o.children(_).find(J).eq(0);d.length>0&&n.ui.icon(d,{icon:"unpin"}),i._isPinned=!0,i.options.pinned=!0,this.containment&&(r.maxWidth=r.maxHeight=1/0,o.css({maxWidth:"",maxHeight:""}))}},unpin:function(){var i=this,e=t(window),o=i.wrapper,r=i.options,s=i.options.position,a=i.containment,l=parseInt(o.css("top"),10)+e.scrollTop(),d=parseInt(o.css("left"),10)+e.scrollLeft();if(!i.options.isMaximized){i._isPinned=!1,i._scrollIsAppended=!0,i.options.pinned=!1,a&&(i._updateBoundaries(),r.maxWidth=Math.min(a.width,r.maxWidth),r.maxHeight=Math.min(a.height-ot(o,"padding-top"),r.maxHeight),o.css({maxWidth:r.maxWidth,maxHeight:r.maxHeight}),l=l<a.position.top?i.minTop:l>a.position.top+a.height?i.maxTop:l+a.scrollTop()-(a.position.top+ot(a,"border-top-width")),d=d<a.position.left?i.minLeft:d>a.position.left+a.width?i.maxLeft:d+a.scrollLeft()-(a.position.left+ot(a,"border-left-width"))),s.top=rt(l,i.minTop,i.maxTop),s.left=rt(d,i.minLeft,i.maxLeft),o.css(c(s,{position:""}));var p=o.children(_).find(Q).eq(0);p.length>0&&n.ui.icon(p,{icon:"pin"})}},_onDocumentResize:function(){var i,e,o=this,r=o.wrapper,s=t(window),a=n.support.zoomLevel(),l="content-box"==r.css("box-sizing");if(o.options.isMaximized){var d=l?ot(r,"border-left-width")+ot(r,"border-right-width"):0,p=l?ot(r,"border-top-width")+ot(r,"border-bottom-width"):0,c=l?ot(r,"padding-top"):0;o.containment&&!o._isPinned?(i=o.containment.innerWidth()-d,e=o.containment.innerHeight()-(p+c)):(i=s.width()/a-d,e=s.height()/a-(p+c)),r.css({width:i,height:e}),o.options.width=i,o.options.height=e,o.resize()}},refresh:function(i){var n,o,r,s=this,l=s.options,d=t(s.element);return a(i)||(i={url:i}),i=c(l.content,i),o=nt(l.iframe)?l.iframe:i.iframe,(r=i.url)?(nt(o)||(o=!it(r)),o?((n=d.find("."+T)[0])?n.src=r||n.src:d.html(e.contentFrame(c({},l,{content:i}))),d.find("."+T).off("load"+g).on("load"+g,this._triggerRefresh.bind(this))):s._ajaxRequest(i)):(i.template&&s.content(f(i.template)({})),s.trigger(F)),d.toggleClass("k-window-iframecontent",!!o),s},_triggerRefresh:function(){this.trigger(F)},_ajaxComplete:function(){clearTimeout(this._loadingIconTimeout),this.wrapper.find($).removeClass(y)},_ajaxError:function(t,i){this.trigger(B,{status:i,xhr:t})},_ajaxSuccess:function(t){return function(i){var e=i;t&&(e=f(t)(i||{})),this.content(e,i),this.element.prop("scrollTop",0),this.trigger(F)}},_showLoading:function(){this.wrapper.find($).addClass(y)},_ajaxRequest:function(i){this._loadingIconTimeout=setTimeout(this._showLoading.bind(this),100),t.ajax(c({type:"GET",dataType:"html",cache:!1,error:this._ajaxError.bind(this),complete:this._ajaxComplete.bind(this),success:this._ajaxSuccess(i.template).bind(this)},i))},_destroy:function(){this.resizing&&this.resizing.destroy(),this.dragging&&this.dragging.destroy(),this.wrapper.off(g).children(b).off(g).end().find(".k-resize-handle,.k-window-titlebar").off(g),t(window).off("resize"+g+this._marker),t(window).off(u),t(window).off(g),clearTimeout(this._loadingIconTimeout),o.fn.destroy.call(this),this.unbind(i),n.destroy(this.wrapper)},destroy:function(){this._destroy(),this.options.modal&&this._removeOverlay(!0),this.wrapper.empty().remove(),this.wrapper=this.appendTo=this.element=t()},_createWindow:function(){var i,o,r=this.element,s=this.options,a=n.support.isRtl(r);!1===s.scrollable&&r.css("overflow","hidden"),o=t(e.wrapper(s)),i=r.find("iframe:not(.k-content-frame)").map((function(){var t=this.getAttribute("src");return this.src="",t})),o.toggleClass("k-rtl",a).attr("tabindex",0).append(r).find("iframe:not(.k-content-frame)").each((function(t){this.src=i[t]})),this.containment?this.containment.prepend(o):this.appendTo&&o.appendTo(this.appendTo),o.find(".k-window-title").css(a?"left":"right",d(o.find(".k-window-titlebar-actions"))+10),r.css("visibility","").show(),r.find("[data-role=editor]").each((function(){var i=t(this).data("kendoEditor");i&&i.refresh()})),o=r=null}});function dt(t){var i=this;i.owner=t,i._preventDragging=!1,i._draggable=new s(t.wrapper,{filter:">"+x,group:t.wrapper.id+"-resizing",dragstart:i.dragstart.bind(i),drag:i.drag.bind(i),dragend:i.dragend.bind(i)}),i._draggable.userEvents.bind("press",i.addOverlay.bind(i)),i._draggable.userEvents.bind("release",i.removeOverlay.bind(i))}function pt(t,i,e){var n=this;n.owner=t,n._preventDragging=!1,n._draggable=new s(t.wrapper,{filter:i,group:t.wrapper.id+"-moving",clickMoveClick:e,dragstart:n.dragstart.bind(n),drag:n.drag.bind(n),dragend:n.dragend.bind(n),dragcancel:n.dragcancel.bind(n)}),n._draggable.userEvents.stopPropagation=!1}e={wrapper:f((function(){return"<div class='k-window'></div>"})),action:f((function(t){var i=t.name,e=(t.icon||"").toLowerCase()||i.toLowerCase();return"restore"==e&&(e="window-restore"),n.html.renderButton("<button role='button' class='k-window-titlebar-action' aria-label='"+i+"'></button>",{icon:e,fillMode:"flat"})})),titlebar:f((function(t){return"<div class='k-window-titlebar k-hstack'><span class='k-window-title'>"+t.title+"</span><div class='k-window-titlebar-actions'></div></div>"})),overlay:"<div class='k-overlay'></div>",contentFrame:f((function(t){var i=t.title,e=t.content;return"<iframe frameborder='0' title='"+i+"' class='"+T+"' src='"+e.url+"'>This page requires frames in order to show content</iframe>"})),resizeHandle:f((function(t){return"<div aria-hidden='true' class='k-resize-handle k-resize-"+t+"'></div>"}))},dt.prototype={addOverlay:function(){this.owner.wrapper.append(e.overlay)},removeOverlay:function(){this.owner.wrapper.find(k).remove()},dragstart:function(i){var e=this,o=e.owner,r=o.wrapper;if(e._preventDragging=o.trigger(j),!e._preventDragging){e.elementPadding=parseInt(r.css("padding-top"),10),e.initialPosition=n.getOffset(r,"position"),e.resizeDirection=i.currentTarget.prop("className").replace("k-resize-handle k-resize-",""),e.initialSize={width:r.outerWidth(),height:r.outerHeight()},o._updateBoundaries(),e.containerOffset=o.containment?o.containment.position:n.getOffset(o.appendTo);var s=r.offsetParent();if(s.is("html"))e.containerOffset.top=e.containerOffset.left=0;else{var a=s.css("margin-top"),l=s.css("margin-left");if(!tt.test(a)||!tt.test(l)){var d=at(r[0]),p=d.left-e.containerOffset.left-e.initialPosition.left,c=d.top-e.containerOffset.top-e.initialPosition.top;e._relativeElMarginLeft=p>1?p:0,e._relativeElMarginTop=c>1?c:0,e.initialPosition.left+=e._relativeElMarginLeft,e.initialPosition.top+=e._relativeElMarginTop}}r.children(x).not(i.currentTarget).hide(),t(m).css(P,i.currentTarget.css(P))}},drag:function(i){if(!this._preventDragging){var e,o,r,s,a=this,l=a.owner,d=l.wrapper,p=l.options,c=p.position,h=a.resizeDirection,f=a.containerOffset,m=a.initialPosition,g=a.initialSize,u=l.containment&&!l._isPinned,w=n.support.isRtl(l.containment),v=u&&w&&l.containment.innerWidth()>l.containment.width?n.support.scrollbar():0,_=u?{top:l.containment.scrollTop(),left:l.containment.scrollLeft()}:{top:0,left:0},b=Math.max(i.x.location,0),x=Math.max(i.y.location,0);h.indexOf("e")>=0?(e=l.containment&&b-g.width>=l.maxLeft-_.left+f.left+v?l.maxLeft+v-m.left+g.width-_.left:b-m.left-f.left,d.outerWidth(rt(e,p.minWidth,p.maxWidth))):h.indexOf("w")>=0&&(e=rt((s=m.left+g.width+f.left)-b,p.minWidth,p.maxWidth),c.left=s-e-f.left-v-(a._relativeElMarginLeft||0)+_.left,l.containment&&c.left<=l.minLeft&&(c.left=l.minLeft,e=rt(s-v-c.left-f.left+_.left,p.minWidth,p.maxWidth)),d.css({left:c.left,width:e}));var k=x;l.options.pinned&&(k-=t(window).scrollTop()),h.indexOf("s")>=0?(o=k-m.top-a.elementPadding-f.top,k-g.height-a.elementPadding>=l.maxTop+f.top-_.top&&(o=l.maxTop-m.top+g.height-_.top),d.outerHeight(rt(o,p.minHeight,p.maxHeight))):h.indexOf("n")>=0&&(o=rt((r=m.top+g.height+f.top)-k,p.minHeight,p.maxHeight),c.top=r-o-f.top-(a._relativeElMarginTop||0)+_.top,c.top<=l.minTop&&l.containment&&(c.top=l.minTop,o=rt(r-c.top-f.top+_.top,p.minHeight,p.maxHeight)),d.css({top:c.top,height:o})),e&&(l.options.width=e+"px"),o&&(l.options.height=o+"px"),l.resize()}},dragend:function(i){if(!this._preventDragging){var e=this,n=e.owner,o=n.wrapper;return o.children(x).not(i.currentTarget).show(),t(m).css(P,""),n.touchScroller&&n.touchScroller.reset(),27==i.keyCode&&o.css(e.initialPosition).css(e.initialSize),n.trigger(R),!1}},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},pt.prototype={dragstart:function(i){var o=this.owner,r=o.options.draggable,s=o.element,a=s.find(".k-window-titlebar-actions"),l=n.getOffset(o.appendTo);this._preventDragging=o.trigger(N)||!r,this._preventDragging||o.isMaximized()||(o.initialWindowPosition=n.getOffset(o.wrapper,"position"),o.initialPointerPosition={left:o.options.position.left,top:o.options.position.top},o.startPosition={left:i.x.client-o.initialWindowPosition.left,top:i.y.client-o.initialWindowPosition.top},o._updateBoundaries(),o.containment||(a.length>0?o.minLeft=d(a)+parseInt(a.css("right"),10)-d(s):o.minLeft=20-d(s),o.minLeft-=l.left,o.minTop=-l.top),t(e.overlay).appendTo(o.wrapper).css({opacity:0}),o.wrapper.children(x).hide(),t(m).css(P,i.currentTarget.css(P)))},drag:function(i){var e,o,r=this.owner,s=r.options.position,a=r.options.draggable.axis;this._preventDragging||r.isMaximized()||(a&&"x"!==a.toLowerCase()||(e=i.x.client-r.startPosition.left,r.containment&&!r._isPinned&&(e+=r.containment.scrollLeft()),s.left=rt(e,r.minLeft,r.maxLeft)),a&&"y"!==a.toLowerCase()||(o=i.y.client-r.startPosition.top,r.containment&&!r._isPinned&&(o+=r.containment.scrollTop()),s.top=rt(o,r.minTop,r.maxTop)),n.support.transforms?t(r.wrapper).css("transform","translate("+(s.left-r.initialPointerPosition.left)+"px, "+(s.top-r.initialPointerPosition.top)+"px)"):t(r.wrapper).css(s))},_finishDrag:function(){var i=this.owner;i.wrapper.children(x).toggle(!i.options.isMinimized).end().find(k).remove(),t(m).css(P,"")},dragcancel:function(t){this._preventDragging||(this._finishDrag(),t.currentTarget.closest(w).css(this.owner.initialWindowPosition))},dragend:function(){var i=this.owner;if(!this._preventDragging&&!i.isMaximized())return t(i.wrapper).css(i.options.position).css("transform",""),this._finishDrag(),i.trigger(A),!1},destroy:function(){this._draggable&&this._draggable.destroy(),this._draggable=this.owner=null}},n.ui.plugin(lt)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.window.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.core.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.icons.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendobadge=e.kendobadge||{},e.kendobadge.js=n())}(this,(function(){return function(e,n){var t=window.kendo,o=t.ui.Widget,i=t.ui,s=function(n){var o=n.icon;return t.ui.icon(e("<span class='k-badge-icon'></span>"),{icon:o})},l=function(e){return"<span class='k-badge-icon k-svg-icon k-icon'>"+e.icon+"</span>"},a=o.extend({init:function(e,n){var i=this;o.fn.init.call(i,e,n),i._content(),i._appearance(),t.notify(i)},destroy:function(){o.fn.destroy.call(this)},options:{name:"Badge",cutoutBorder:!1,data:{},fillMode:"solid",icon:"",max:1/0,position:"inline",align:"",rounded:"medium",roundings:{small:"sm",medium:"md",large:"lg",full:"full"},sizes:{small:"sm",medium:"md",large:"lg"},size:"medium",template:null,text:"",themeColor:"secondary",visible:!0,_classNames:[]},_content:function(){var e=this,n=e.options.text,o=e.options.template,i=e.options.data,s=e.options.icon;if(null!==o)return e._text=n,e._template=t.template(o).bind(e),void e.element.html(e._template(i));""===s?""===n?e.text(e.element.html()):e.text(n):e.icon(s)},_appearance:function(){var e=this;e._themeColor=e.options.themeColor,e._shape=e.options.shape,e._sizes=e.options.sizes,e._size=e.options.size,e._fillMode=e.options.fillMode,e._rounded=e.options.rounded,e._roundings=e.options.roundings,e._cutoutBorder=e.options.cutoutBorder,e._align=e.options.align,e._position=e.options.position,e._visible=e.options.visible,e._updateClassNames()},_updateClassNames:function(){var e=this,t=["k-badge"],o=e.options._classNames,i=e._themeColor,s=e._shape,l=e._sizes,a=e._size,d=l[a]===n?a:l[a],r=e._fillMode,u=e._rounded,p=e._roundings,m=p[u]===n?u:p[u],c=e._cutoutBorder,f=e._align,h=e._position,_=e._visible;e.element.removeClass((function(n,t){0===t.indexOf("k-")&&-1===o.indexOf(t)&&e.element.removeClass(t)})),"string"==typeof r&&""!==r&&t.push("k-badge-"+r),"string"==typeof i&&""!==i&&t.push("k-badge-"+r+"-"+i),"string"==typeof a&&""!==a&&t.push("k-badge-"+d),"string"==typeof u&&""!==u&&t.push("k-rounded-"+m),"string"==typeof s&&""!==s&&t.push("k-badge-"+s),"boolean"==typeof c&&!0===c&&t.push("k-badge-border-cutout"),"string"==typeof h&&""!==h&&t.push("k-badge-"+h),"string"==typeof h&&""!==h&&"inline"!==h&&"string"==typeof f&&2==f.split(" ").length&&t.push("k-"+f.replace(" ","-")),!1===_&&t.push("k-hidden"),e.element.addClass(t.join(" "))},setOptions:function(e){var n=this;n.element.removeClass((function(e,t){t.indexOf("k-")>=0&&n.element.removeClass(t)})),o.fn.setOptions.call(n,e),n._content(),n._appearance()},text:function(e){var t=this,o=t.options.max;if(0===arguments.length||e===n)return t._text;t._text=e,!0!==e&&!1!==e&&null!==e?"string"!=typeof e?"number"!=typeof e?"object"==typeof e&&"toString"in e&&t.element.html(e.toString()):e>o?t.element.html(o+"+"):t.element.html(e):t.element.html(e):t.element.html("")},icon:function(e){var o,i=this;return 0===arguments.length||e===n?i._icon:(i._icon=e,0===e.indexOf("<svg")?(o=t.template(l),void i.element.html(o({icon:e}))):(o=t.template(s),void i.element.html(o({icon:e}))))},themeColor:function(e){var t=this;if(0===arguments.length||e===n)return t._themeColor;t._themeColor=e,t._updateClassNames()},rounded:function(e){var t=this;if(0===arguments.length||e===n)return t._rounded;t._rounded=e,t._updateClassNames()},hide:function(){this._visible=!1,this._updateClassNames()},show:function(){this._visible=!0,this._updateClassNames()}});i.plugin(a)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.badge.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.badge.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.badge.min","kendo.html.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendobutton=e.kendobutton||{},e.kendobutton.js=t())}(this,(function(){return function(e,t){var n=window.kendo,o=n.ui.Widget,i=n.html,s=n.ui,a=n.keys,d="click",l=n.support.mousedown,r=n.support.mouseup,u=".kendoButton",c="disabled",b="k-focus",f="k-active";n.setDefaults("button",{icon:"",iconClass:"",spriteCssClass:"",imageUrl:"",badge:null});var p=o.extend({init:function(t,s){var a=this;o.fn.init.call(a,t,s),t=a.wrapper=a.element,s=a.options,i.renderButton(t,e.extend({},s)),t.attr("role","button"),s.enable=s.enable&&s.enabled&&!t.attr(c),a.enable(s.enable),s.enable&&a._tabindex(),a._badge(),t.on(d+u,a._click.bind(a)).on("focus"+u,a._focus.bind(a)).on("blur"+u,a._blur.bind(a)).on("keydown"+u,a._keydown.bind(a)).on("keyup"+u,a._removeActive.bind(a)).on(l+u,a._addActive.bind(a)).on(r+u+" mouseout"+u,a._removeActive.bind(a)),n.notify(a)},destroy:function(){var e=this;e.wrapper.off(u),e.badge&&e.badge.destroy(),o.fn.destroy.call(e)},events:[d],options:{name:"Button",enable:!0,enabled:!0,icon:"",iconClass:"",spriteCssClass:"",imageUrl:"",badge:null,size:"medium",shape:"rectangle",rounded:"medium",fillMode:"solid",themeColor:"base"},_isNativeButton:function(){return"button"==this.element.prop("tagName").toLowerCase()},_click:function(e){this.options.enable&&this.trigger(d,{event:e,id:this.element.attr("id"),target:this.element})&&e.preventDefault()},_focus:function(){this.options.enable&&this.element.addClass(b)},_blur:function(){var e=this;e.element.removeClass(b),setTimeout((function(){e.element.removeClass(f)}))},_keydown:function(e){var t=this;e.keyCode!=a.ENTER&&e.keyCode!=a.SPACEBAR||(t._addActive(),t._isNativeButton()||(e.keyCode==a.SPACEBAR&&e.preventDefault(),t._click(e)))},_removeActive:function(){this.element.removeClass(f)},_addActive:function(){this.options.enable&&this.element.addClass(f)},enable:function(e){var n=this,o=n.element;e===t&&(e=!0),e=!!e,n.options.enable=e,o.toggleClass("k-disabled",!e).attr("aria-disabled",!e).attr(c,!e),e&&n._tabindex();try{o.trigger("blur")}catch(e){}},_badge:function(n){var o,i=this,a=n||i.options.badge;null!==a&&a!==t&&(a.constructor!==Object&&(a={text:a}),a.position!==t&&""!==a.position||(a.position="edge",a.align!==t&&""!==a.align||(a.align="top end")),a._classNames=["k-button-badge"],i.element.addClass("k-badge-container"),o=e("<span />").appendTo(i.element),i.badge=new s.Badge(o,a))}});!1===p.fn.hasOwnProperty("defaults")&&Object.defineProperty(p.fn,"defaults",{get:function(){return n.defaults.button}}),n.cssProperties.registerPrefix("Button","k-button-"),n.cssProperties.registerValues("Button",[{prop:"fillMode",values:n.cssProperties.fillModeValues.concat(["link"])},{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),n.ui.plugin(p)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.button.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.editable.js"),require("kendo.button.js")):"function"==typeof define&&define.amd?define(["kendo.editable.min","kendo.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoform=e.kendoform||{},e.kendoform.js=t())}(this,(function(){return function(e,t){var i=window.kendo,a=i.ui,l=".kendoForm",n=a.Widget,o=e.extend,r=i.htmlEncode,d="validate",s="validateField",f="change",p="click"+l,u="submit",m="clear",c="equalSet",b="group",v="aria-describedby",g="data-stop",_="data-role",h=".",y={form:"k-form",horizontal:"k-form-horizontal",vertical:"",field:"k-form-field",fieldsContainer:"k-form-fields-container",fieldWrap:"k-form-field-wrap",fieldError:"k-form-field-error",fieldHint:"k-form-hint",fieldset:"k-form-fieldset",layout:"k-form-layout",legend:"k-form-legend",label:"k-label k-form-label",emptyLabel:"k-label-empty",optional:"k-label-optional",buttonsContainer:"k-form-buttons",buttonsEnd:"k-buttons-end",submit:"k-form-submit",clear:"k-form-clear",invalid:"k-invalid",hidden:"k-hidden"},k="horizontal",w="vertical",F=n.extend({init:function(e,t){var a=this;n.fn.init.call(a,e,t),a.options=i.deepExtend({},a.options,t),t&&t.formData&&(a.options.formData=t.formData),a._wrapper(),a._setFields(),a._setModel(),a._renderContainers(),a.options.renderButtons&&a._renderButtons(),a._editable(),a._renderBoolLabels(),a._renderFieldsHints(),a._setEvents(),a._applyCssClasses()},events:[s,d,f,u,m],options:{name:"Form",orientation:w,validatable:{validateOnBlur:!0,validationSummary:!1,errorTemplate:null},buttonsTemplate:null,messages:{submit:"Submit",clear:"Clear",optional:"(Optional)"},layout:"",grid:{},formData:{},items:[],formatLabel:null,focusFirst:!1,renderButtons:!0,size:"medium"},_noLabelfieldTemplate:function(e){var t=e.styles,i=e.colSpan,a=e.hidden,l=e.field;return"<div class='"+r(t.field)+" "+(i?"k-colspan-"+r(i)+" k-col-span-"+r(i):"")+" "+(a?r(t.hidden):"")+"'><span class='"+r(t.label)+" "+r(t.emptyLabel)+"'></span><div class='k-form-field-wrap' data-container-for='"+r(l)+"'></div></div>"},_fieldTemplate:function(e){var t=e.styles,i=e.colSpan,a=e.hidden,l=e.field,n=e.label,o=e.id,d=e.optional;return"<div class='"+r(t.field)+" "+(i?"k-colspan-"+r(i)+" k-col-span-"+r(i):"")+" "+(a?""+r(t.hidden):"")+"'>"+(n&&!a?"<label class='"+r(t.label)+"' for='"+r(o)+"' id='"+r(o)+"-form-label'>"+(void 0!==n.encoded&&!1===n.encoded?n.text||n:r(n.text||n))+(n.optional?"<span class='"+r(t.optional)+"'>"+r(d)+"</span>":"")+"</label>":"")+"<div class='k-form-field-wrap' data-container-for='"+r(l)+"'></div></div>"},_boolLabelTemplate:function(e){var t=e.styles,i=(e.colSpan,e.hidden,e.field,e.label),a=e.id,l=e.optional;return"<label class='k-checkbox-label' for='"+r(a)+"' id='"+r(a)+"-form-label'>"+(void 0!==i.encoded&&!1===i.encoded?i.text||i:r(i.text||i))+(i.optional?"<span class='"+r(t.optional)+"'>"+r(l)+"</span>":"")+"</label>"},_groupTemplate:function(e){var t=e.styles,i=e.colSpan,a=e.label;return"<fieldset class='"+r(t.fieldset)+" "+(i?"k-colspan-"+r(i)+" k-col-span-"+r(i):"")+"'><legend class='"+r(t.legend)+"'>"+r(a.text||a)+"</legend></fieldset>"},_errorTemplate:function(e){return"<span class='k-form-error' id='"+e.field+"-form-error'><div>"+e.message+"</div></span>"},_hintTemplate:function(e){return"<div class='k-form-hint' id='"+e.id+"-form-hint'><span>"+e.message+"</span></div>"},_wrapper:function(){var e=this,t=e.options,i=F.styles,a=t.width,l=t.height;e.wrapper=e.element.addClass(i.form).addClass(i[t.orientation]),l&&e.wrapper.height(l),a&&e.wrapper.css("max-width",a),e.layoutWrapper=e._setupLayoutContainer(e.wrapper,{grid:t.grid,layout:t.layout})},_flattenFields:function(e){for(var t=[].concat(e),i=t.shift(),a=[],l=[].push;i;)i.items?l.apply(t,i.items):l.call(a,i),i=t.shift();return a},_defaultLabel:function(e){var t=this.options.formatLabel;if(e.length)return i.isFunction(t)?t(e):e.split(/(.*[a-z])(?=[A-Z])/).join(" ").trim()+":"},_formatLabel:function(t,i){return undefined!==(e.isPlainObject(i)?i.text:i)?i:this._defaultLabel(t)},_defaultFields:function(){var e,t=this.options,i=Object.keys(t.formData||{}),a=t.items||{},l=[];if(a.length)return a;for(var n=0;n<i.length;n+=1)e=i[n],l.push({field:e,id:e});return l},_setFields:function(){var e,t,l,n,r,d=this,s=d._flattenFields(d._defaultFields()),f=d.options.formData||{};for(var p in d._fields=[],s)t=f[(e=s[p]).field],l="string"==typeof e.editor?e.editor:i.type(t&&i.parseDate(t.toString())||t),n=i.isFunction(e.editor)?e.editor:a.Editable.fn.options.editors[l]?"":e.editor,d._isHidden(e.editor)||(e.label?r={"aria-labelledby":e.id||e.field+"-form-label"}:e.attributes&&e.attributes["aria-label"]||(r={"aria-label":e.name||e.field})),e=o(!0,{label:e.label||e.name||e.field,optionalText:d.options.messages.optional},e,{id:e.id||e.field,name:e.name||e.field,type:l,editor:n,attributes:r,isHidden:d._isHidden(e.editor)||d._isAntiForgeryToken(e.name||e.field)}),d._fields[p]=e},_setModel:function(){var e=this,t=e.options,a=t.formData||{};if(t.formData instanceof i.data.ObservableObject)e._model=a;else{var l=i.data.Model.define({fields:e._fields});e._model=new l(a)}},_editable:function(){var e=this,t=e.options,i=e.options.validatable;e._addEditableMvvmAttributes(),e.editable=e.wrapper.kendoEditable({model:e._model,fields:e._fields||[],validateOnBlur:i.validateOnBlur,validationSummary:i.validationSummary,errorTemplate:i.errorTemplate||e._errorTemplate,clearContainer:!1,skipFocus:!t.focusFirst,target:e,size:t.size}).getKendoEditable(),e.validator=e.editable.validatable,e._removeEditableMvvmAttributes()},_addEditableMvvmAttributes:function(){this.wrapper.attr(_,"editable")},_removeEditableMvvmAttributes:function(){this.wrapper.attr(g,!0).attr(_,"form")},_getItemTemplate:function(e){return e===b?this._groupTemplate:this._fieldTemplate},_isHidden:function(e){return"string"==typeof e&&"hidden"===e},_isAntiForgeryToken:function(e){return e===a.Editable.antiForgeryTokenName},_renderField:function(e){var t,a=this,l=F.styles,n=a.options.orientation===k,o=a._model.fields&&a._model.fields[e.field]&&a._model.fields[e.field].type,r=o&&"boolean"===o;return t=r&&n&&!e.editor?a._noLabelfieldTemplate:a._fieldTemplate,i.template(t)({styles:l,id:e.id||e.field||"",field:e.field||"",label:r&&!e.editor?null:a._formatLabel(e.field,e.label),colSpan:e.colSpan||"",optional:a.options.messages.optional,hidden:a._isHidden(e.editor)||a._isAntiForgeryToken(e.field)})},_toggleFieldErrorState:function(e,t){var i=e.closest(h+y.field);i.length&&i.toggleClass(y.fieldError,t)},_renderBoolLabels:function(){for(var e,t,a=this,l=F.styles,n=a._fields,o=0;o<n.length;o+=1)e=n[o],(t=a.wrapper.find("[name='"+e.name+"']:not([type='hidden'])"))&&e.label&&!e.isHidden&&"boolean"===e.type&&!e.editor&&t.after(i.template(a._boolLabelTemplate)({styles:l,id:e.id||e.field||"",optional:a.options.messages.optional,label:a._formatLabel(e.field,e.label)}))},_renderFieldsHints:function(){for(var t,a,l,n,o,r=this,d=r._fields,s=0;s<d.length;s+=1)t=d[s],(l=r.wrapper.find("[name='"+t.name+"'],[id='"+t.name+"']"))&&t.hint&&!t.isHidden&&(o=e(i.template(r._hintTemplate)({message:t.hint||"",id:t.id})),r._associateHintContainer(l,o.attr("id")),(a=i.widgetInstance(l))&&(l=(n=a.element.next("label[for='"+a.element.attr("id")+"']")).length?n:a.wrapper),r.validator._errorsByName(t.name).length&&(o.toggleClass(y.hidden),i.removeAttribute(l,v,o.attr("id"))),o.insertAfter(l))},_associateHintContainer:function(e,t){var a=i.getWidgetFocusableElement(e);a&&t&&i.toggleAttribute(a,v,t)},_toggleHint:function(e,t){var i,a=e.closest(h+y.field);a.length&&(i=a.find(h+y.fieldHint)).length&&(i.toggleClass(y.hidden,t),this._associateHintContainer(e,i.attr("id")))},_renderGroup:function(t){var a,l,n,o=this,r=t.type;n=l=e(i.template(o._getItemTemplate(r))({styles:y,label:t.label||"",colSpan:t.colSpan})),n=o._setupLayoutContainer(l,{grid:t.grid,layout:t.layout})||l;for(var d=0;d<t.items.length;d+=1)a=t.items[d],n.append(o._renderField(a));return l},_renderContainers:function(){for(var e,t,i=this,a=i._defaultFields(),l="grid"===i.options.layout?i.layoutWrapper:i.wrapper,n=0;n<a.length;n+=1)t=(e=a[n]).type===b?i._renderGroup(e):i._renderField(e),l.append(t)},_buttonsTemplate:function(){var t,a,l,n=this.options,o=n.messages,d=F.styles;return null!==n.buttonsTemplate?t=i.template(n.buttonsTemplate)({styles:d,messages:o}):(a=e("<button class='"+d.submit+"'>"+r(o.submit)+"</button>").kendoButton({type:"submit",themeColor:"primary",size:n.size}),l=e("<button class='"+d.clear+"'>"+r(o.clear)+"</button>").kendoButton({size:n.size}),t=a.add(l)),t},_renderButtons:function(){var t,i=this,a=i.wrapper,l=i.options,n=F.styles,o=l.orientation===k,r=a.find(h+n.buttonsContainer);r.length||(r=e("<div />").addClass(n.buttonsContainer).addClass(o?n.buttonsEnd:"")),t=i._buttonsTemplate(),r.append(t),i.element.append(r)},_setupLayoutContainer:function(t,i){var a,l,n,o=i.layout,r=i.grid,d=[];return"string"==typeof o&&""!==o&&(a=e("<div></div>").appendTo(t).addClass(y.layout),d.push("k-d-"+o)),"grid"===o&&"object"==typeof r&&("number"==typeof r.cols?d.push("k-grid-cols-"+r.cols):"string"==typeof r.cols&&a.css("grid-template-columns",r.cols),"number"==typeof r.gutter||"string"==typeof r.gutter?a.css("grid-gap",r.gutter):e.isPlainObject(r.gutter)&&("number"==typeof(l=r.gutter.rows)&&(l+="px"),"number"==typeof(n=r.gutter.cols)&&(n+="px"),a.css("grid-gap",l+" "+n))),a&&a.addClass(d.join(" ")),a},_setEvents:function(){var e=this;e.validator.bind("validateInput",e._validateField.bind(e)).bind(d,e._validate.bind(e)),e.wrapper.on(u+l,e._submit.bind(e)).on(m+l,e._clear.bind(e)).on(p+l,h+y.clear,e._clear.bind(e)),e._changeHandler||(e._changeHandler=e._change.bind(e)),e._model.bind(f,e._changeHandler)},_validateField:function(e){var t=this,i={model:t._model.toJSON(),valid:e.valid,field:e.field,error:e.error,input:e.input};t._toggleFieldErrorState(i.input,!i.valid),t._toggleHint(i.input,!i.valid),t.trigger(s,i)&&e.preventDefault()},_validate:function(e){var t={model:this._model.toJSON(),valid:e.valid,errors:e.errors};this.trigger(d,t)},_change:function(e){var t=e.field,i={field:t,value:this._model[t]};this.trigger(f,i)},_submit:function(e){var t=this._model.toJSON();this.trigger(u,{model:t})&&e.preventDefault()},_clear:function(e){e.preventDefault(),this.clear(),this.trigger(m)},validate:function(){var e=this.validator;if(e)return e.validate()},clear:function(){var e=this,t=e._fields,a=e._model,l=e.editable,n=e.validator.options.validateOnBlur;e.validator.reset(),n&&a.unbind("set").unbind(c);for(var o=0;o<t.length;o+=1){var r=t[o].field,d=e.wrapper.find("[name='"+r+"']"),s=i.widgetInstance(d),f=d.is("input[type=hidden]");d.is("[data-role='checkboxgroup']")||d.is("[data-role='radiogroup']")||f||d.val(""),!s&&d.hasClass("k-hidden")&&(s=i.widgetInstance(d.closest(".k-signature"))),s&&(i.ui.Upload&&s instanceof i.ui.Upload?s.clearAllFiles():s.value(null)),e._toggleHint(d,!1),"boolean"==typeof a[r]?(d.val("false"),a.set(r,!1)):f||a.set(r,null)}e.wrapper.find(h+y.fieldError).removeClass(y.fieldError),n&&a.bind("set",l._validateProxy).bind(c,l._validateProxy)},setOptions:function(e){var t=this;t.destroy(),t.wrapper.removeClass(y.horizontal).removeAttr(g).empty(),t.init(t.element,e)},destroy:function(){var e=this;e.wrapper.off(l),e._model&&(e._model.unbind(f,e._changeHandler),e._changeHandler=null),n.fn.destroy.call(e.editable),n.fn.destroy.call(e),e.editable&&(e.editable.destroy(),e.editable=null)}});i.cssProperties.registerPrefix("Form","k-form-"),a.plugin(F),o(!0,F,{styles:y})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.form.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.list.js"),require("kendo.mobile.scroller.js"),require("kendo.virtuallist.js")):"function"==typeof define&&define.amd?define(["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoautocomplete=e.kendoautocomplete||{},e.kendoautocomplete.js=t())}(this,(function(){return function(e,t){var i=window.kendo,s=i.htmlEncode,o=i.support,n=i.caret,a=i._activeElement,l=o.placeholder,r=i.ui,u=r.List,c=i.keys,p=i.data.DataSource,d="aria-disabled",_="aria-readonly",f="change",h="disabled",g="readonly",m="k-focus",v="k-hidden",y="k-disabled",b=".kendoAutoComplete",C="mouseenter"+b+" mouseleave"+b;function w(e,t,i){return i?t.substring(0,e).split(i).length-1:0}var k=u.extend({init:function(t,s){var o,n=this;n.ns=b,s=Array.isArray(s)?{dataSource:s}:s,u.fn.init.call(n,t,s),t=n.element,(s=n.options).placeholder=s.placeholder||t.attr("placeholder"),l&&t.attr("placeholder",s.placeholder),n._wrapper(),n._loader(),n._clearButton(),n._dataSource(),n._ignoreCase(),t[0].type="text",o=n.wrapper,n._popup(),t.addClass("k-input-inner").on("keydown"+b,n._keydown.bind(n)).on("keypress"+b,n._keypress.bind(n)).on("input"+b,n._search.bind(n)).on("paste"+b,n._search.bind(n)).on("focus"+b,(function(){n._prev=n._accessor(),n._oldText=n._prev,n._placeholder(!1),o.addClass(m)})).on("focusout"+b,(function(e){n.filterInput&&e.relatedTarget===n.filterInput[0]||(n._change(),n._placeholder(),n.close(),o.removeClass(m))})).attr({autocomplete:"off",role:"combobox","aria-expanded":!1}),n._clear.on("click"+b+" touchend"+b,n._clearValue.bind(n)),n._enable(),n._old=n._accessor(),n._placeholder(),n._initList(),e(n.element).parents("fieldset").is(":disabled")&&n.enable(!1),n.listView.bind("click",(function(e){e.preventDefault()})),n._resetFocusItemHandler=n._resetFocusItem.bind(n),i.notify(n),n._toggleCloseVisibility(),n._applyCssClasses(),s.label&&n._label(),n._aria()},options:{name:"AutoComplete",enabled:!0,suggest:!1,template:"",groupTemplate:function(e){return s(e)},fixedGroupTemplate:function(e){return s(e)},dataTextField:"",minLength:1,enforceMinLength:!1,delay:200,height:200,filter:"startswith",ignoreCase:!0,highlightFirst:!1,separator:null,placeholder:"",animation:{},virtual:!1,value:null,clearButton:!0,autoWidth:!1,popup:null,size:"medium",fillMode:"solid",rounded:"medium",label:null},_onActionSheetCreate:function(){var e=this;e.filterInput&&(e.filterInput.on("keydown"+b,e._keydown.bind(e)).on("keypress"+b,e._keypress.bind(e)).on("input"+b,e._search.bind(e)).on("paste"+b,e._search.bind(e)).attr({autocomplete:"off",role:"combobox","aria-expanded":!1}),e.popup.bind("activate",(function(){e.filterInput.val(e.element.val()),e.filterInput.trigger("focus")})),e.popup.bind("deactivate",(function(){e.element.trigger("focus")})))},_onCloseButtonPressed:function(){var e=this;e.filterInput&&a()===e.filterInput[0]&&e.element.val(e.filterInput.val())},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._progressHandler=e._showBusy.bind(e),e._errorHandler=e._hideBusy.bind(e)),e.dataSource=p.create(e.options.dataSource).bind("progress",e._progressHandler).bind("error",e._errorHandler)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.listView.setDataSource(this.dataSource)},events:["open","close",f,"select","filtering","dataBinding","dataBound"],setOptions:function(e){var t=this._listOptions(e);u.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._clearButton()},_listOptions:function(t){var i=u.fn._listOptions.call(this,e.extend(t,{skipUpdateOnBind:!0}));return i.dataValueField=i.dataTextField,i.selectedItemChange=null,i},_editable:function(e){var t=this,i=t.element,s=t.wrapper.off(b),o=e.readonly,n=e.disable;o||n?(s.addClass(n?y:"").removeClass(n?"":y),i.attr(h,n).attr(g,o).attr(d,n).attr(_,o)):(s.removeClass(y).on(C,t._toggleHover),i.prop(h,!1).prop(g,!1).attr(d,!1).attr(_,!1)),t._toggleCloseVisibility()},close:function(){var e=this,t=e.listView.focus();t&&t.removeClass("k-selected"),e.popup.close(),e._deactivateItem()},destroy:function(){var e=this;e.element.off(b),e._clear.off(b),e.wrapper.off(b),e.filterInput&&e.filterInput.off(b),u.fn.destroy.call(e)},refresh:function(){this.listView.refresh()},select:function(e){this._select(e)},search:function(e){var t,i=this,s=i.options,o=s.ignoreCase,l=i._separator(),r=i.dataSource.options.accentFoldingFiltering,u=i.filterInput&&a()===i.filterInput[0]?i.filterInput:i.element;e=e||i._accessor(),clearTimeout(i._typingTimeout),l&&(e=function(e,t,i){return t.split(i)[w(e,t,i)]}(n(u)[0],e,l)),t=e.length,(!s.enforceMinLength&&!t||t>=s.minLength)&&(i._open=!0,i._mute((function(){this.listView.value([])})),i._filterSource({value:o?r?e.toLocaleLowerCase(r):e.toLowerCase():e,operator:s.filter,field:s.dataTextField,ignoreCase:o}),i.one("close",i._unifySeparators.bind(i))),i._toggleCloseVisibility()},suggest:function(e){var i,s=this,o=s._last,l=s._accessor(),r=s.element[0],p=n(r)[0],d=s._separator(),_=l.split(d),f=w(p,l,d),h=p,g=s.dataSource.options.accentFoldingFiltering;o!=c.BACKSPACE&&o!=c.DELETE?("string"!=typeof(e=e||"")&&(e[0]&&(e=s.dataSource.view()[u.inArray(e[0],s.ul[0])]),e=e?s._text(e):""),p<=0&&(p=(g?l.toLocaleLowerCase(g):l.toLowerCase()).indexOf(g?e.toLocaleLowerCase(g):e.toLowerCase())+1),i=(i=l.substring(0,p).lastIndexOf(d))>-1?p-(i+d.length):p,l=_[f].substring(0,i),e&&(e=e.toString(),(i=(g?e.toLocaleLowerCase(g):e.toLowerCase()).indexOf(g?l.toLocaleLowerCase(g):l.toLowerCase()))>-1&&(h=p+(e=e.substring(i+l.length)).length,l+=e),d&&""!==_[_.length-1]&&_.push("")),_[f]=l,s._accessor(_.join(d||"")),r===a()&&n(r,p,h)):s._last=t},value:function(e){if(e===t)return this._accessor();this.listView.value(e),this._accessor(e),this._old=this._accessor(),this._oldText=this._accessor(),this._toggleCloseVisibility(),this._refreshFloatingLabel()},_click:function(e){var t=e.item,i=this,s=i.element,o=i.listView.dataItemByIndex(i.listView.getElementIndex(t));e.preventDefault(),i._active=!0,i.trigger("select",{dataItem:o,item:t})?i.close():(i._oldText=s.val(),i._select(t).done((function(){i._blur(),n(s,s.val().length)})))},_clearText:e.noop,_resetFocusItem:function(){var e=this.options.highlightFirst?0:-1;this.options.virtual&&this.listView.scrollTo(0),this.listView.focus(e)},_listBound:function(){var e,i=this,s=i.popup,o=i.options,n=i.dataSource.flatView(),l=n.length,r=i.dataSource._group?i.dataSource._group.length:0,u=i.element[0]===a()||i.filterInput&&i.filterInput[0]===a();i._renderFooter(),i._renderNoData(),i._toggleNoData(!l),i._toggleHeader(!!r&&!!l),i._resizePopup(),s.position(),l&&o.suggest&&u&&i._inputValue()&&i.suggest(n[0]),i._open&&(i._open=!1,e=i._allowOpening()?"open":"close",i._typingTimeout&&!u&&(e="close"),l&&(i._resetFocusItem(),o.virtual&&i.popup.unbind("activate",i._resetFocusItemHandler).one("activate",i._resetFocusItemHandler)),s[e](),i._typingTimeout=t),i._touchScroller&&i._touchScroller.reset(),i._hideBusy(),i.trigger("dataBound")},_mute:function(e){this._muted=!0,e.call(this),this._muted=!1},_listChange:function(){(this._active||this.element[0]===a())&&!this._muted&&this._selectValue(this.listView.selectedDataItems()[0])},_selectValue:function(e){var t=this._separator(),i="";e&&(i=this._text(e)),null===i&&(i=""),t&&(i=function(e,t,i,s,o){var n=t.split(s);return n.splice(w(e,t,s),1,i),s&&""!==n[n.length-1]&&n.push(""),n.join(o)}(n(this.element)[0],this._accessor(),i,t,this._defaultSeparator())),this._prev=i,this._accessor(i),this._placeholder()},_unifySeparators:function(){return this._accessor(this.value().split(this._separator()).join(this._defaultSeparator())),this},_preselect:function(e,t){this._inputValue(t),this._accessor(e),this._old=this.oldText=this._accessor(),this.listView.setValue(e),this._placeholder()},_change:function(){var e=this,t=e._unifySeparators().value(),i=t!==u.unifyType(e._old,typeof t),s=i&&!e._typing,o=e._oldText!==t;e._old=t,e._oldText=t,e.filterInput&&a()===e.filterInput[0]&&e.element.val(e.filterInput.val()),(s||o)&&e.element.trigger(f),i&&e.trigger(f),e.typing=!1,e._toggleCloseVisibility()},_accessor:function(e){var i=this,s=i.filterInput&&a()===i.filterInput[0]?i.filterInput[0]:i.element[0];if(e===t)return e=s.value,s.className.indexOf("k-readonly")>-1&&e===i.options.placeholder?"":e;s.value=null===e?"":e,i._placeholder()},_keydown:function(e){var t=this,i=e.keyCode,s=t.listView,o=t.popup.visible(),n=s.focus();if(t._last=i,i===c.DOWN)o?this._move(n?"focusNext":"focusFirst"):t.value()&&t._filterSource({value:t.ignoreCase?t.value().toLowerCase():t.value(),operator:t.options.filter,field:t.options.dataTextField,ignoreCase:t.ignoreCase}).done((function(){t._allowOpening()&&(t._resetFocusItem(),t.popup.open())})),e.preventDefault();else if(i===c.ESC)o?(e.preventDefault(),t.close()):t._clearValue();else if(e.altKey&&i===c.UP&&o)e.preventDefault(),t.close();else if(i===c.UP)o&&this._move(n?"focusPrev":"focusLast"),e.preventDefault();else if(i===c.HOME)this._move("focusFirst");else if(i===c.END)this._move("focusLast");else if(i===c.ENTER||i===c.TAB){if(i===c.ENTER&&o&&e.preventDefault(),o&&n){var a=s.dataItemByIndex(s.getElementIndex(n));if(t.trigger("select",{dataItem:a,item:n}))return;this._select(n)}this._blur()}else if(!t.popup.visible()||i!==c.PAGEDOWN&&i!==c.PAGEUP)t.popup._hovered=!0,t._search();else{e.preventDefault();var l=i===c.PAGEDOWN?1:-1;s.scrollWith(l*s.screenHeight())}},_keypress:function(){this._oldText=this.element.val(),this._typing=!0},_move:function(e){this.listView[e](),this.options.suggest&&this.suggest(this.listView.focus())},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._loading.addClass(v),e.element.attr("aria-busy",!1),e._busy=null,e._toggleCloseVisibility()},_showBusy:function(){var e=this;e._busy||(e._busy=setTimeout((function(){e.element.attr("aria-busy",!0),e._loading.removeClass(v),e._hideClear()}),100))},_placeholder:function(e){if(!l){var i,s=this,o=s.element,a=s.options.placeholder;if(a){if(i=o.val(),e===t&&(e=!i),e||(a=i!==a?i:""),i===s._old&&!e)return;o.toggleClass("k-readonly",e).val(a),a||o[0]!==document.activeElement||n(o[0],0,0)}}},_separator:function(){var e=this.options.separator;return e instanceof Array?new RegExp(e.join("|"),"gi"):e},_defaultSeparator:function(){var e=this.options.separator;return e instanceof Array?e[0]:e},_inputValue:function(){return this.element.val()},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout((function(){e._prev!==e._accessor()&&(e._prev=e._accessor(),e.search())}),e.options.delay)},_select:function(e){var t=this;return t._active=!0,t.listView.select(e).done((function(){t._active=!1}))},_loader:function(){this._loading=e('<span class="k-icon k-i-loading k-input-loading-icon '+v+'"></span>').insertAfter(this.element)},_clearButton:function(){u.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this.element),this.wrapper.addClass("k-autocomplete-clearable"))},_toggleHover:function(t){e(t.currentTarget).toggleClass("k-hover","mouseenter"===t.type)},_toggleCloseVisibility:function(){var e=this.element.is(":disabled")||this.element.is("[readonly]");this.value()&&!e?this._showClear():this._hideClear()},_wrapper:function(){var e,t=this,i=t.element,s=i[0];(e=i.parent()).is("span.k-autocomplete")||(e=i.wrap("<span />").parent()),e.attr("tabindex",-1),e[0].style.cssText=s.style.cssText,i.css({width:"",height:s.style.height}),t._focused=t.element,t.wrapper=e.addClass("k-autocomplete k-input").addClass(s.className).removeClass("input-validation-error")},_clearValue:function(){u.fn._clearValue.call(this),this.element.focus()}});r.plugin(k),i.cssProperties.registerPrefix("AutoComplete","k-input-"),i.cssProperties.registerValues("AutoComplete",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.autocomplete.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.autocomplete.js"),require("kendo.datepicker.js"),require("kendo.numerictextbox.js"),require("kendo.combobox.js"),require("kendo.dropdownlist.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.autocomplete.min","kendo.datepicker.min","kendo.numerictextbox.min","kendo.combobox.min","kendo.dropdownlist.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendofiltercell=e.kendofiltercell||{},e.kendofiltercell.js=t())}(this,(function(){return function(e,t){var r=window.kendo,o=r.ui,a=r.data.DataSource,i=o.Widget,l="change",n="boolean",s="enums",u="string",d="Is equal to",p="Is not equal to",c=["isnull","isnotnull","isempty","isnotempty","isnullorempty","isnotnullorempty"];function f(t){var r="string"==typeof t?t:t.operator;return e.inArray(r,c)>-1}function g(t,r){var o=[];if(e.isPlainObject(t))if(t.hasOwnProperty("filters"))o=t.filters;else if(t.field==r)return t;Array.isArray(t)&&(o=t);for(var a=0;a<o.length;a++){var i=g(o[a],r);if(i)return i}}function m(t,r){t.filters&&(t.filters=e.grep(t.filters,(function(e){return m(e,r),e.filters?e.filters.length:e.field!=r})))}var h=i.extend({init:function(o,a){o=e(o).addClass("k-filtercell");var d,p,c,g,m=this.wrapper=e("<span/>").appendTo(o),h=this,v=a,b=h.operators=a.operators||{},y=h.input=e("<input/>").attr(r.attr("bind"),"value: value").appendTo(m),w=a?a.suggestDataSource:null;w&&(a=e.extend({},a,{suggestDataSource:{}})),i.fn.init.call(h,o[0],a),w&&(h.options.suggestDataSource=w),a=h.options,d=h.dataSource=a.dataSource,h.model=d.reader.model,g=a.type=u;var k=(r.getter("reader.model.fields",!0)(d)||{})[a.field];if(k&&k.type&&(g=a.type=k.type),a.values&&(a.type=g=s),b=b[g]||a.operators[g],!v.operator)for(c in b){a.operator=c;break}if(h._parse=function(e){return null!=e?e+"":e},h.model&&h.model.fields){var _=h.model.fields[a.field];_&&_.parse&&(h._parse=_.parse.bind(_))}h.defaultOperator=a.operator,h.viewModel=p=r.observable({operator:a.operator,value:null,operatorVisible:function(){var e=this.get("value");return null!==e&&e!==t&&"undefined"!=e||f(this.get("operator"))&&h.dataSource.filter()&&!h._clearInProgress}}),h._prevOperator=a.operator,p.bind(l,h.updateDsFilter.bind(h)),g==u&&h.initSuggestDataSource(a),null!==a.inputWidth&&(y.addClass("k-sized-input"),y.width(a.inputWidth)),y.attr("aria-label",h._getColumnTitle()),y.attr("title",h._getColumnTitle()),y.attr(r.attr("size"),h.options.size||"medium"),h._setInputType(a,g),g!=n&&!1!==a.showOperators?h._createOperatorDropDown(b):(e('<div unselectable="on" />').css("display","none").text("eq").appendTo(m),m.addClass("k-operator-hidden")),h._createClearIcon(),r.bind(this.wrapper,p),g==u&&(a.template||h.setAutoCompleteSource()),g==s&&h.setComboBoxSource(h.options.values),h._refreshUI(),h._refreshHandler=h._refreshUI.bind(h),h.dataSource.bind(l,h._refreshHandler)},_setInputType:function(t,o){var a=this,i=a.input;if("function"==typeof t.template)t.template.call(a.viewModel,{element:a.input,dataSource:a.suggestDataSource});else if(o==u)i.attr(r.attr("role"),"autocomplete").attr(r.attr("text-field"),t.dataTextField||t.field).attr(r.attr("filter"),t.suggestionOperator).attr(r.attr("delay"),t.delay).attr(r.attr("min-length"),t.minLength).attr(r.attr("value-primitive"),!0);else if("date"==o)i.attr(r.attr("role"),"datepicker").attr("id",r.guid());else if(o==n){i.remove();var l=e("<input type='radio'/>"),d=a.wrapper,p=r.guid(),c=e("<label/>").text(r.htmlEncode(t.messages.isTrue)).append(l);l.attr(r.attr("bind"),"checked:value").attr("name",p).val("true");var f=c.clone().text(r.htmlEncode(t.messages.isFalse));l.clone().val("false").appendTo(f),d.append([c,f])}else"number"==o?i.attr(r.attr("role"),"numerictextbox").attr("title",a._getColumnTitle()):o==s&&i.attr(r.attr("role"),"combobox").attr(r.attr("text-field"),"text").attr(r.attr("suggest"),!0).attr(r.attr("filter"),"contains").attr(r.attr("value-field"),"value").attr(r.attr("value-primitive"),!0)},_getColumnTitle:function(){var e=this.options.column;return e?e.title||e.field:""},_createOperatorDropDown:function(t){var o,a=[],i=this.viewModel;for(var l in t)a.push({text:t[l],value:l});var n=e('<input class="k-dropdown-operator" '+r.attr("bind")+'="value: operator"/>').appendTo(this.wrapper);n.attr("aria-label",this._getColumnTitle()),this.operatorDropDown=n.kendoDropDownList({dataSource:a,size:this.options.size||"medium",dataTextField:"text",dataValueField:"value",open:function(){this.popup.element.width(150)},valuePrimitive:!0}).data("kendoDropDownList"),i.bind("change",(function(){var e=t[i.operator];n.attr("aria-label",e)})),o=this.operatorDropDown.wrapper.attr("aria-label",this._getColumnTitle()).find('span[class*="i-caret-alt-down"]'),r.ui.icon(o,{icon:"filter"})},initSuggestDataSource:function(e){var o,i,l,n=e.suggestDataSource;n instanceof a||(!e.customDataSource&&n&&(n.group=t,n.filter=t),n=this.suggestDataSource=a.create(n)),e.customDataSource||(n._pageSize=t,n.reader.data=(o=n.reader.data,i=this.options.field,l=r.getter(i,!0),function(e){for(var t=o(e),r=[],a=0,i={};a<t.length;){var n=t[a++],s=l(n);i.hasOwnProperty(s)||(r.push(n),i[s]=!0)}return r})),this.suggestDataSource=n},setAutoCompleteSource:function(){var e=this.input.data("kendoAutoComplete");e&&e.setDataSource(this.suggestDataSource)},setComboBoxSource:function(e){var t=a.create({data:e}),r=this.input.data("kendoComboBox");r&&!this.options.template&&r.setDataSource(t)},_refreshUI:function(){var t=this,r=g(t.dataSource.filter(),this.options.field)||{},o=t.viewModel;t.manuallyUpdatingVM=!0,r=e.extend(!0,{},r),t.options.type==n&&o.value!==r.value&&t.wrapper.find(":radio").prop("checked",!1),r.operator&&o.set("operator",r.operator),o.set("value",r.value),e.isEmptyObject(r)&&o.trigger(l,{field:"operatorVisible"}),t.manuallyUpdatingVM=!1},_applyFilter:function(e){e.filters.length?this.dataSource.filter(e):this.dataSource.filter({})},updateDsFilter:function(r){var o,a=this,i=a.viewModel;if("operator"==r.field&&i.value===t&&!f(i)&&f(a._prevOperator))return m(o=a.dataSource.filter()||{filters:[],logic:"and"},a.options.field),a._prevOperator=i.operator,void a._applyFilter(o);if(!(a.manuallyUpdatingVM||"operator"==r.field&&i.value===t&&!f(i)||"operator"==r.field&&a._clearInProgress&&null!==i.value)){var n=e.extend({},a.viewModel.toJSON(),{field:a.options.field});a._prevOperator=n.operator;var s={logic:"and",filters:[]},u=!1;if((n.value!==t&&null!==n.value||f(n)&&!this._clearInProgress)&&(s.filters.push(n),u=a.trigger(l,{filter:s,field:a.options.field})),(a._clearInProgress||null===n.value)&&(u=a.trigger(l,{filter:null,field:a.options.field})),!u){var d=a._merge(s);a._applyFilter(d)}}},_merge:function(t){var r,o,a,i=this,l=t.logic||"and",n=t.filters,s=i.dataSource.filter()||{filters:[],logic:"and"};for(m(s,i.options.field),o=0,a=n.length;o<a;o++)(r=n[o]).value=i._parse(r.value);return n=e.grep(n,(function(e){return""!==e.value&&null!==e.value||f(e)})),n.length&&(s.filters.length?(t.filters=n,"and"!==s.logic&&(s.filters=[{logic:s.logic,filters:s.filters}],s.logic="and"),n.length>1?s.filters.push(t):s.filters.push(n[0])):(s.filters=n,s.logic=l)),s},_createClearIcon:function(){var t=this,o=r.getValidCssClass("k-button-","size",this.options.size||"medium"),a=r.htmlEncode(t.options.messages.clear);e("<button type='button' class='k-button "+o+" k-rounded-md k-button-solid k-button-solid-base k-icon-button' title = '"+a+"'/>").attr("aria-label",a).attr(r.attr("bind"),"visible:operatorVisible").html(r.ui.icon({icon:"filter-clear",iconClass:"k-button-icon"})).on("click",t.clearFilter.bind(t)).appendTo(t.wrapper)},clearFilter:function(){this._clearInProgress=!0,f(this.viewModel.operator)&&this.viewModel.set("operator",this.defaultOperator),this.viewModel.set("value",null),this._clearInProgress=!1},destroy:function(){var e=this;e.filterModel=null,e.operatorDropDown=null,e._refreshHandler&&(e.dataSource.bind(l,e._refreshHandler),e._refreshHandler=null),r.unbind(e.element),i.fn.destroy.call(e),r.destroy(e.element)},events:[l],options:{name:"FilterCell",delay:200,minLength:1,inputWidth:null,values:t,customDataSource:!1,field:"",dataTextField:"",type:"string",suggestDataSource:null,suggestionOperator:"startswith",operator:"eq",showOperators:!0,template:null,messages:{isTrue:"is true",isFalse:"is false",filter:"Filter",clear:"Clear",operator:"Operator"},operators:{string:{eq:d,neq:p,startswith:"Starts with",contains:"Contains",doesnotcontain:"Does not contain",endswith:"Ends with",isnull:"Is null",isnotnull:"Is not null",isempty:"Is empty",isnotempty:"Is not empty",isnullorempty:"Has no value",isnotnullorempty:"Has value"},number:{eq:d,neq:p,gte:"Is greater than or equal to",gt:"Is greater than",lte:"Is less than or equal to",lt:"Is less than",isnull:"Is null",isnotnull:"Is not null"},date:{eq:d,neq:p,gte:"Is after or equal to",gt:"Is after",lte:"Is before or equal to",lt:"Is before",isnull:"Is null",isnotnull:"Is not null"},enums:{eq:d,neq:p,isnull:"Is null",isnotnull:"Is not null"}}}});o.plugin(h)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.filtercell.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.data.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.data.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendopager=e.kendopager||{},e.kendopager.js=t())}(this,(function(){return function(e,t){var a=window.kendo,i=a.ui,n=i.Widget,s=a.keys,r=(a.mediaQuery,a.support,a.htmlEncode),l=a.template,o="caret-alt-to-left",p="caret-alt-to-right",u="caret-alt-left",d="caret-alt-right",c="caret-alt-to-left",g="caret-alt-to-right",m="caret-alt-left",f="caret-alt-right",h=":kendoFocusable:not([tabindex='-1'])",k="change",b=".kendoPager",_="click",v=Number.MAX_VALUE,S=!1;function w(e){return e.template({idx:e.idx,text:e.text,ns:a.ns,numeric:e.numeric,size:e.size,title:e.title||"",tabindex:e.navigatable?0:-1,navigatable:e.navigatable})}function z(e,t,a,i){return e({idx:t,text:a||t,selected:i||!1})}function x(t,i,n,s,r){return function(t){var i=t.text,n=t.wrapClassName,s=t.className;return'<button role="button" title="'+i+'" aria-label="'+i+'" class="k-pager-nav k-button k-button-flat k-button-flat-base k-icon-button '+n+" "+t.size+'">'+a.ui.icon(e('<span class="k-button-icon"></span>'),s)+"</button>"}({className:t,text:i,wrapClassName:n||"",id:s||"",size:r})}function C(e,t,i,n){e.find('[class*="-i-'+t+'"]').parent().attr(a.attr("page"),i).attr("tabindex",n?-1:0).attr("aria-disabled",n).toggleClass("k-disabled",n)}function T(e,t){C(e,o,1,t<=1)}function P(e,t){C(e,u,Math.max(1,t-1),t<=1)}function y(e,t,a){C(e,d,Math.min(a,t+1),t>=a)}function W(e,t,a){C(e,p,a,t>=a)}var D=n.extend({init:function(t,i){var s,l,h,v,w=this,z="",C="";if(n.fn.init.call(w,t,i),i=w.options,w._createDataSource(i),w.linkTemplate=a.template(w.options.linkTemplate),w.selectTemplate=a.template(w.options.selectTemplate),w.numericSelectItemTemplate=a.template(w.options.numericSelectItemTemplate),s=w.page(),l=w.totalPages(),w._refreshHandler=w.refresh.bind(w),w.dataSource.bind(k,w._refreshHandler),w.downEvent=a.applyEventMap("down",a.guid()),(S=a.support.isRtl(t))?(o=g,p=c,u=f,d=m):(o=c,p=g,u=m,d=f),i.size&&(z=a.getValidCssClass("k-button-","size",i.size),C="k-rounded-md "+a.getValidCssClass("k-picker-","size",i.size)),i.navigatable&&(w._id=w.element.attr("id")||a.guid()),w._template(),(i.previousNext||i.numeric)&&(w._numericWrap=w.element.find(".k-pager-numbers-wrap"),0===w._numericWrap.length&&(w._numericWrap=e("<div class='k-pager-numbers-wrap' />").appendTo(w.element))),i.previousNext&&(w._numericWrap.find("[class*='-i-"+o+"']").length||(w._numericWrap.append(x(o,i.messages.first,"k-pager-first",w._id,z)),T(w._numericWrap,s)),w._numericWrap.find("[class*='-i-"+u+"']").length||(w._numericWrap.append(x(u,i.messages.previous,null,w._id,z)),P(w._numericWrap,s))),i.numeric&&(w._numericSelect||(w._numericSelect=w._numericWrap.find(".k-dropdown"),0===w._numericSelect.length&&(w._numericSelect=e("<select aria-label='"+w.options.messages.numbersSelectLabel+"' class='k-dropdown k-picker k-picker-solid k-dropdown-list "+C+"' />").appendTo(w._numericWrap))),w.list||(w.list=w._numericWrap.find(".k-pager-numbers"),0===w.list.length&&(w.list=e('<div class="k-pager-numbers" />').appendTo(w._numericWrap))),i.dataSource&&!i.dataSource.total()&&(w._numericSelect.empty().append("<option value='0' />"),w.list.empty().append(w.selectTemplate({text:0,tabindex:i.navigatalbe?0:-1,navigatable:i.navigatable,title:a.format(i.messages.pageButtonLabel,0)})))),i.input&&(w.element.find(".k-pager-input").length||w.element.append('<span class="k-pager-input k-label">'+r(i.messages.page)+'<span class="k-textbox k-input k-input-md k-rounded-md k-input-solid"><input class="k-input-inner" /></span>'+r(a.format(i.messages.of,l))+"</span>"),w.element.on("keydown"+b,".k-pager-input input",w._keydown.bind(w))),i.previousNext&&(w._numericWrap.find("[class*='-i-"+d+"']").length||(w._numericWrap.append(x(d,i.messages.next,null,w._id,z)),y(w._numericWrap,s,l)),w._numericWrap.find("[class*='-i-"+p+"']").length||(w._numericWrap.append(x(p,i.messages.last,"k-pager-last",w._id,z)),W(w._numericWrap,s,l))),i.pageSizes){if(!w.element.find(".k-pager-sizes").length){var D=i.pageSizes.length?i.pageSizes:["all",5,10,20],L=e.map(D,(function(e){return e.toLowerCase&&"all"===e.toLowerCase()?"<option value='all'>"+r(i.messages.allPages)+"</option>":"<option>"+e+"</option>"}));e('<span class="k-pager-sizes"><select></select><span>'+r(i.messages.itemsPerPage)+"</span></span>").appendTo(w.element).find("select").html(L.join("")).end().appendTo(w.element)}w.element.find(".k-pager-sizes select").val(w.pageSize()),a.ui.DropDownList&&w.element.find(".k-pager-sizes select").show().attr("aria-label",i.messages.pageSizeDropDownLabel).kendoDropDownList({size:i.size}),w.element.on(k+b,".k-pager-sizes select",w._change.bind(w))}i.refresh&&(w.element.find(".k-pager-refresh").length||w.element.append('<button role="button" href="#" class="k-pager-refresh k-button '+z+' k-button-flat k-button-flat-base k-icon-button" title="'+i.messages.refresh+'" aria-label="'+i.messages.refresh+'">'+a.ui.icon("arrow-rotate-cw")+"</button>"),w.element.on(_+b,".k-pager-refresh",w._refreshClick.bind(w))),i.info&&(w.element.find(".k-pager-info").length||w.element.append('<span class="k-pager-info k-label" />')),w.element.on(_+b,"button",w._click.bind(w)).on(k+b,"select.k-dropdown",w._numericSelectChange.bind(w)).addClass("k-pager"),i.size&&w.element.addClass(a.getValidCssClass("k-pager-","size",i.size)),i.autoBind&&w.refresh(),w._resizeHandler=w.resize.bind(w,!0),e(window).on("resize"+b,w._resizeHandler),w._navigatable(),w.options.responsive?(h=w.element.outerWidth(),v=w.element.find(".k-pager-info"),h<=480?(v.hide(),w.element.find(".k-pager-sizes").children().hide(),i.numeric&&(w._numericSelect.show(),w.list.hide())):(h<=600&&v.hide(),i.numeric&&w._numericSelect.hide())):w._numericSelect&&w._numericSelect.hide(),a.notify(w)},destroy:function(){var t=this;n.fn.destroy.call(t),t.element.off(b),t.dataSource.unbind(k,t._refreshHandler),t._refreshHandler=null,e(window).off("resize"+b,this._resizeHandler),a.destroy(t.element),t.element=t.list=null},events:[k],options:{name:"Pager",ARIATemplate:function(e){return"Page navigation, page "+e.page+" of "+e.totalPages},selectTemplate:function(e){var t=e.text,a=e.title;return'<button role="button" aria-current="page" tabindex="'+e.tabindex+'" aria-label="'+a+'" class="k-button '+e.size+' k-button-flat k-button-flat-primary k-selected"><span class="k-button-text">'+r(t)+"</span></button>"},linkTemplate:function(e){var t=e.ns,a=e.idx,i=e.text,n=e.title,s=e.tabindex;return'<button class="k-button '+e.size+' k-button-flat k-button-flat-primary" tabindex="'+s+'" href="#" data-'+t+'page="'+a+'" '+(""!==n?'title="'+n+'"':"")+'><span class="k-button-text">'+r(i)+"</span></button>"},numericSelectItemTemplate:function(e){var t=e.idx,a=e.selected,i=e.text;return'<option value="'+t+'" '+(a?'selected="selected"':"")+">"+r(i)+"</option>"},buttonCount:10,autoBind:!0,numeric:!0,info:!0,input:!1,previousNext:!0,pageSizes:!1,refresh:!1,responsive:!0,navigatable:!1,size:"medium",messages:{allPages:"All",display:"{0} - {1} of {2} items",empty:"No items to display",page:"Page",of:"of {0}",itemsPerPage:"items per page",pageButtonLabel:"Page {0}",pageSizeDropDownLabel:"Page sizes drop down",numbersSelectLabel:"Page select",first:"Go to the first page",previous:"Go to the previous page",next:"Go to the next page",last:"Go to the last page",refresh:"Refresh",morePages:"More pages"}},setDataSource:function(e){var t=this;t.dataSource.unbind(k,t._refreshHandler),t.dataSource=t.options.dataSource=e,e.bind(k,t._refreshHandler),t.options.autoBind&&e.fetch()},_aria:function(){this.element.attr({role:"application","aria-roledescription":"pager","aria-keyshortcuts":"Enter ArrowRight ArrowLeft"})},_adaptiveStep:function(e,t,a){var i=this;switch(e){case 0:return i._toggleButtons(t,a);case 1:return i._toggleRefresh(t,a);case 2:return i._togglePagerInfo(t,a);case 3:return i._toggleInputSizesLabel(t,a);case 4:return i._togglePageSizesLabel(t,a);case 5:return i._togglePageSizesDropDown(t,a);case 6:return i._togglePageInputs(t,a)}},_calculateNeededWidth:function(){var t=0,a=parseInt(this.element.css("gap"));return this.element.children().each((function(){var i=e(this),n=i.hasClass("k-pager-info");n&&i.removeClass("k-pager-info k-label"),t+=i.is(":visible")?i.width():0,t+=a,n&&i.addClass("k-pager-info k-label")})),t},_resize:function(e){var t=this;if(t.element.is(":visible")&&t._lastWidth&&t.options.responsive){if(t._lastWidth<e.width)for(var a=6;a>=0;a--){var i=t._calculateNeededWidth();if(e.width<i)break;if(t._adaptiveStep(a,!1,e.width-i))break}else if(t._lastWidth>e.width)for(var n=0;n<7&&!(e.width>t._calculateNeededWidth());n++)t._adaptiveStep(n,!0);t._lastWidth=e.width}},_toggleButtons:function(e,t){this._numericWrap&&this.list&&this._numericSelect&&(e?(this._numericSelect.show(),this.list.hide()):t&&this.list.width()-this._numericSelect.width()<t&&(this._numericSelect.hide(),this.list.show()))},_toggleRefresh:function(e,t){if(this.options.refresh){var a=this.element.find(".k-pager-refresh");if(e)a.hide();else{if(!(t&&a.width()<t))return!0;a.show()}}},_togglePagerInfo:function(e,t){if(this.options.info){var a=this.element.find(".k-pager-info");if(e)a.hide();else if(t&&a.width()<t)a.show();else if(!a.is(":visible"))return!0}},_toggleInputSizesLabel:function(e,t){if(this.options.input){var a=this.element.find(".k-pager-input").children(),i=a.eq(0).add(a.eq(2));if(e)i.hide();else{if(!(t&&a.eq(0).width()+a.eq(2).width()<t))return!0;i.show()}}},_togglePageSizesLabel:function(e,t){if(this.options.pageSizes){var a=this.element.find(".k-pager-sizes").children().eq(1);if(e)a.hide();else{if(!(t&&a.width()<t))return!0;a.show()}}},_togglePageSizesDropDown:function(e,t){if(this.options.pageSizes){var a=this.element.find(".k-pager-sizes .k-picker");if(e)a.hide();else{if(!(t&&a.width()<t))return!0;a.show()}}},_togglePageInputs:function(e,t){if(this.options.input&&this._numericSelect)if(e)this._numericSelect.hide();else{if(!(t&&this._numericSelect.width()<t)||this.list.is(":visible"))return!0;this._numericSelect.show()}},_createDataSource:function(e){this.dataSource=a.data.DataSource.create(e.dataSource)},refresh:function(t){var i,n,s,l=this,o=1,p=l.page(),u="",d="",c=l.options,g=l.pageSize(),m=l._collapsedTotal(),f=l.dataSource._isGroupPaged()?l.dataSource.groupsTotal(!0):l.dataSource.total(),h=l.totalPages(),k=l.linkTemplate,b=c.navigatable,_=l.numericSelectItemTemplate,S=c.size?a.getValidCssClass("k-button-","size",c.size):"",x=c.buttonCount;if(!t||"itemchange"!=t.action){if(c.numeric){for(p>x&&(o=0===(s=p%x)?p-x+1:p-s+1),n=Math.min(o+x-1,h),o>1&&(u+=w({template:k,navigatable:b,size:S,idx:o-1,text:"...",numeric:!1,title:c.messages.morePages}),d+=z(_,o-1,c.messages.morePages)),i=o;i<=n;i++)u+=w({template:i==p?l.selectTemplate:k,navigatable:b,idx:i,text:i,size:S,numeric:!0,title:a.format(c.messages.pageButtonLabel,i)}),d+=z(_,i,i,i==p);n<h&&(u+=w({template:k,navigatable:b,idx:i,size:S,text:"...",numeric:_,title:c.messages.morePages}),d+=z(_,i,c.messages.morePages)),""===u&&(u=l.selectTemplate({text:0,size:S,tabindex:b?0:-1,navigatable:b,title:a.format(c.messages.pageButtonLabel,0)}),d=e("<option value='0' />")),l.list.html(u),l._numericSelect.html(d)}if(c.info&&(u=f>0?a.format(c.messages.display,l.dataSource.options.endless?1:Math.min((p-1)*(l.dataSource.pageSize()||0)+1,m),Math.min(p*g,m),f):c.messages.empty,l.element.find(".k-pager-info").html(u)),c.input&&l.element.find(".k-pager-input").html("<span>"+r(l.options.messages.page)+'</span><span class="k-textbox k-input k-input-md k-rounded-md k-input-solid"><input class="k-input-inner" aria-label="'+l.options.messages.page+" "+p+'"></span><span>'+r(a.format(c.messages.of,h))+"</span>").find("input").val(p).attr("disabled",f<1).attr("aria-disabled",f<1).toggleClass("k-disabled",f<1),c.previousNext&&(T(l.element,p),P(l.element,p),y(l.element,p,h),W(l.element,p,h)),c.pageSizes){var C=g;l.element.find(".k-pager-sizes option[value='all']").length>0&&(g===this.dataSource.total()||g==v)&&(g="all",C=c.messages.allPages),l.element.find(".k-pager-sizes select").val(g).filter("["+a.attr("role")+"=dropdownlist]").kendoDropDownList("value",g).kendoDropDownList("text",C)}l._restoreFocus(o,n,h),l._excludeChildrenFromTab(),l._updateAria(),h?(l._lastWidth=a._outerWidth(l.element)+12,l.resize(!0)):l._lastWidth&&(l._lastWidth=a._outerWidth(l.element))}},_excludeChildrenFromTab:function(){var t=a._activeElement();!this.options.navigatable||t!==this.element[0]&&e.contains(this.element[0],t)||this.element.find(h).attr("tabindex",-1)},_restoreFocus:function(e,t,a){var i=this;i.options.navigatable&&(i._focusSelected&&(i.element.find(".k-selected").trigger("focus"),i._focusSelected=null),null!==i._focusMore&&(t<a&&i._focusMore&&i.list.find("li").last().find("a").trigger("focus"),!i._focusMore&&e>1&&i.list.find("li").first().find("a").trigger("focus"),i._focusMore=null))},_restoreTabIndexes:function(){this.element.find("[tabindex='-1']:not(.k-disabled)").attr("tabindex",0)},_collapsedTotal:function(){return this.dataSource.total()},_keydown:function(e){if(e.keyCode===a.keys.ENTER){var t=this.element.find(".k-pager-input").find("input"),i=parseInt(t.val(),10);(isNaN(i)||i<1||i>this.totalPages())&&(i=this.page()),t.val(i),this.page(i)}},_refreshClick:function(e){e.preventDefault(),this.dataSource.read()},_change:function(e){var a=e.currentTarget.value,i=parseInt(a,10),n=this.dataSource;isNaN(i)?"all"==(a+"").toLowerCase()&&(n._pageSize=t,n._take=t,n._skip=0,n.fetch()):n.pageSize(i)},_template:function(){this._ariaTemplate=l(this.options.ARIATemplate).bind(this)},_updateAria:function(){this.options.navigatable&&this.element.attr("aria-label",this._ariaTemplate({page:this.page(),totalPages:this.totalPages()}))},_navigatable:function(){var e=this;e.options.navigatable&&(e._aria(),e.element.attr("id",e._id),e._template(),e._updateAria(),e._tabindex(e.element),e.element.on("keydown"+b,e,e._keyDown.bind(e)),e.element.on("focusout"+b,(function(){e.element.removeClass("k-focus")})),e.element.on("focusin"+b,(function(t){e.element.addClass("k-focus"),t.target===e.element[0]?e.element.find(h).attr("tabindex",-1):e.element.removeClass("k-focus")})))},_keyDown:function(t){var a,i,n=this,r=e(t.target),l=!1;r[0]===n.element[0]&&t.keyCode==s.ENTER&&(n._restoreTabIndexes(),n.element.find(h).first().trigger("focus"),l=!0),r[0]!==n.element[0]&&t.keyCode==s.ESC&&(n.element.trigger("focus"),l=!0),r[0]===n.element[0]&&t.keyCode==s.HOME&&(n.page(1),l=!0),r[0]===n.element[0]&&t.keyCode==s.END&&(n.page(n.totalPages()),l=!0),r[0]!==n.element[0]||t.keyCode!=(S?s.LEFT:s.RIGHT)&&t.keyCode!=s.PAGEDOWN||(n.page(n.page()+1),l=!0),r[0]!==n.element[0]||t.keyCode!=(S?s.RIGHT:s.LEFT)&&t.keyCode!=s.PAGEUP||(n.page(n.page()-1||1),l=!0),r[0]!==n.element[0]&&t.keyCode==s.TAB&&(i=(a=n.element.find(h)).index(r),t.shiftKey?i-1<0?a.last().trigger("focus"):a.eq(i-1).trigger("focus"):i+1<a.length?a.eq(i+1).trigger("focus"):a.first().trigger("focus"),l=!0),l&&(t.preventDefault(),t.stopPropagation())},_numericSelectChange:function(e){var t=e.currentTarget,a=t.value,i=parseInt(a,10);t.blur(),this.page(i)},_click:function(t){var i=e(t.currentTarget);t.preventDefault(),this.options.navigatable&&(i.attr("title")==this.options.messages.morePages?this._focusMore=i.parent().index():i.hasClass("k-pager-refresh")||i.hasClass("k-pager-nav")||(this._focusSelected=!0)),i.is(".k-disabled")||this.page(parseInt(i.attr(a.attr("page")),10))},totalPages:function(){return Math.ceil((this.dataSource.total()||0)/(this.pageSize()||1))},pageSize:function(){return this.dataSource.pageSize()||this.dataSource.total()},page:function(e){if(!e)return this.dataSource.total()>0?this.dataSource.page():0;this.trigger("pageChange",{index:e})||(this.dataSource.page(e),this.trigger(k,{index:e}))}});i.plugin(D)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.pager.min.js.map
;!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min"],e):e()}((function(){var e,t;kendo.ooxml=kendo.ooxml||{},kendo.ooxml.createZip=function(){if("undefined"==typeof JSZip)throw new Error("JSZip not found. Check http://docs.telerik.com/kendo-ui/framework/excel/introduction#requirements for more details.");return new JSZip},function(e){window.kendo.ooxml=window.kendo.ooxml||{};var t=kendo.ooxml,n=e.map,r=t.createZip,o={toString:function(e){return e}},i=kendo.Class.extend({});function s(e,t,n){return(1461*(e+4800+((t-13)/12|0))/4|0)+(367*(t-1-12*((t-13)/12|0))/12|0)-(3*((e+4900+((t-13)/12|0))/100|0)/4|0)+n-32075}i.register=function(e){o=e},i.toString=function(e,t){return o.toString(e,t)};var a=s(1900,0,-1);function l(e){var t,n,r,o,i=(t=e.getHours(),n=e.getMinutes(),r=e.getSeconds(),o=e.getMilliseconds(),(t+(n+(r+o/1e3)/60)/60)/24),l=function(e,t,n){return s(e,t,n)-a}(e.getFullYear(),e.getMonth(),e.getDate());return l<0?l-1+i:l+i}var m="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",c="data:"+m+";base64,",d={compression:"DEFLATE",type:"base64"},f={compression:"DEFLATE",type:"blob"},u={compression:"DEFLATE",type:"arraybuffer"};function p(e){return c+e}function h(e,t){return t.indexOf(e)}var g=JSON.parse.bind(JSON);function x(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\"/g,"&quot;").replace(/\'/g,"&#39;")}function v(e,t){for(var n="",r=0;r<e;++r)n+=t(r);return n}function y(e,t){var n="";if(null!=e)if(Array.isArray(e))for(var r=0;r<e.length;++r)n+=t(e[r],r);else"object"==typeof e&&Object.keys(e).forEach((function(r,o){n+=t(e[r],r,o)}));return n}var w='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r',b=w+'\n            <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n               <Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>\n               <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>\n               <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>\n            </Relationships>',k=function(e){var t=e.frozenColumns,n=e.frozenRows,r=e.columns,o=e.defaults,i=e.data,s=e.index,a=e.mergeCells,l=e.autoFilter,m=e.filter,c=e.showGridLines,d=e.hyperlinks,f=e.validations,u=e.defaultCellStyleId,p=e.rtl,h=e.legacyDrawing,g=e.drawing,v=e.lastRow,b=e.lastCol;return w+'\n<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" mc:Ignorable="x14ac">\n   '+(v&&b?'<dimension ref="A1:'+S(v-1,b-1)+'" />':"")+"\n\n   <sheetViews>\n     <sheetView "+(p?'rightToLeft="1"':"")+" "+(0===s?'tabSelected="1"':"")+' workbookViewId="0" '+(!1===c?'showGridLines="0"':"")+">\n     "+(n||t?'\n       <pane state="frozen"\n         '+(t?'xSplit="'+t+'"':"")+"\n         "+(n?'ySplit="'+n+'"':"")+'\n         topLeftCell="'+(String.fromCharCode(65+(t||0))+((n||0)+1))+'"\n       />':"")+'\n     </sheetView>\n   </sheetViews>\n\n   <sheetFormatPr x14ac:dyDescent="0.25" '+(o.skipCustomHeight?"":'customHeight="1"')+' defaultRowHeight="'+(o.rowHeight?.75*o.rowHeight:15)+'"\n     '+(o.columnWidth?'defaultColWidth="'+D(o.columnWidth)+'"':"")+" />\n\n   "+(null!=u||r&&r.length>0?"\n     <cols>\n       "+(r&&r.length?"":'\n         <col min="1" max="16384" style="'+u+'"\n              '+(o.columnWidth?'width="'+D(o.columnWidth)+'"':"")+" /> ")+"\n       "+y(r,(function(e,t){var n="number"==typeof e.index?e.index+1:t+1;return 0===e.width?"<col "+(null!=u?'style="'+u+'"':"")+'\n                        min="'+n+'" max="'+n+'" hidden="1" customWidth="1" />':"<col "+(null!=u?'style="'+u+'"':"")+'\n                      min="'+n+'" max="'+n+'" customWidth="1"\n                      '+(e.autoWidth?'width="'+(7*e.width+5)/7*256/256+'" bestFit="1"':'width="'+D(e.width)+'"')+" />"}))+"\n     </cols>":"")+"\n\n   <sheetData>\n     "+y(i,(function(e,t){return'\n         <row r="'+("number"==typeof e.index?e.index+1:t+1)+'" x14ac:dyDescent="0.25"\n              '+(e.level?'outlineLevel="'+e.level+'"':"")+"\n              "+(0===e.height?'hidden="1"':e.height?'ht="'+(.75*e.height+'" customHeight="1"'):"")+">\n           "+y(e.data,(function(e){return'\n             <c r="'+e.ref+'" '+(e.style?'s="'+e.style+'"':"")+" "+(e.type?'t="'+e.type+'"':"")+">\n               "+(null!=e.formula?function(e){if("string"==typeof e)return"<f>"+x(e)+"</f>";return'<f t="array" ref="'+e.ref+'">'+x(e.src)+"</f>"}(e.formula):"")+"\n               "+(null!=e.value?"<v>"+x(e.value)+"</v>":"")+"\n             </c>"}))+"\n         </row>\n       "}))+"\n   </sheetData>\n\n   "+(l?'<autoFilter ref="'+l.from+":"+l.to+'"/>':m?K(m):"")+"\n\n   "+(a.length?'\n     <mergeCells count="'+a.length+'">\n       '+y(a,(function(e){return'<mergeCell ref="'+e+'"/>'}))+"\n     </mergeCells>":"")+"\n\n   "+(f.length?"\n     <dataValidations>\n       "+y(f,(function(e){return'\n         <dataValidation sqref="'+e.sqref.join(" ")+'"\n                         showErrorMessage="'+e.showErrorMessage+'"\n                         type="'+x(e.type)+'"\n                         '+("list"!==e.type?'operator="'+x(e.operator)+'"':"")+'\n                         allowBlank="'+e.allowBlank+'"\n                         showDropDown="'+e.showDropDown+'"\n                         '+(e.error?'error="'+x(e.error)+'"':"")+"\n                         "+(e.errorTitle?'errorTitle="'+x(e.errorTitle)+'"':"")+">\n           "+(e.formula1?"<formula1>"+x(e.formula1)+"</formula1>":"")+"\n           "+(e.formula2?"<formula2>"+x(e.formula2)+"</formula2>":"")+"\n         </dataValidation>"}))+"\n     </dataValidations>":"")+"\n\n   "+(d.length?"\n     <hyperlinks>\n       "+y(d,(function(e){return'\n         <hyperlink ref="'+e.ref+'" r:id="'+e.rId+'"/>'}))+"\n     </hyperlinks>":"")+'\n\n   <pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />\n   '+(g?'<drawing r:id="'+g+'"/>':"")+"\n   "+(h?'<legacyDrawing r:id="'+h+'"/>':"")+"\n</worksheet>"},I=function(e){return w+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n  '+y(e,(function(e){return'\n    <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="'+e.target+'"/>'}))+"\n</Relationships>"};function T(e){var t=Math.floor(e/26)-1;return(t>=0?T(t):"")+String.fromCharCode(65+e%26)}function S(e,t){return T(t)+(e+1)}function _(e,t){return"$"+T(t)+"$"+(e+1)}function C(e){return(e.frozenRows||(e.freezePane||{}).rowSplit||1)-1}function D(e){return e/7-Math.floor(128/7)/256}var F=kendo.Class.extend({init:function(t,n,r,o){this.options=t,this._strings=n,this._styles=r,this._borders=o,this._validations={},this._comments=[],this._drawings=t.drawings||[],this._hyperlinks=(this.options.hyperlinks||[]).map((function(t,n){return e.extend({},t,{rId:"link"+n})}))},relsToXML:function(){var e=this._hyperlinks,t=this._comments,n=this._drawings;if(e.length||t.length||n.length)return function(e){var t=e.hyperlinks,n=e.comments,r=e.sheetIndex,o=e.drawings;return w+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n  '+y(t,(function(e){return'\n    <Relationship Id="'+e.rId+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="'+x(e.target)+'" TargetMode="External" />'}))+"\n  "+(n.length?'\n    <Relationship Id="comment'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" Target="../comments'+r+'.xml"/>\n    <Relationship Id="vml'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" Target="../drawings/vmlDrawing'+r+'.vml"/>':"")+"\n  "+(o.length?'\n    <Relationship Id="drw'+r+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing'+r+'.xml"/>':"")+"\n</Relationships>"}({hyperlinks:e,comments:t,sheetIndex:this.options.sheetIndex,drawings:n})},toXML:function(e){var t=this.options.mergedCells||[],n=function(e,t){var n=[],r=[];!function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r){var o=r.index;"number"!=typeof o&&(o=n),t(r,o)}}}(e,(function(e,t){var o={_source:e,index:t,height:e.height,level:e.level,cells:[]};n.push(o),r[t]=o}));for(var o=z(n).slice(0),i={rowData:n,rowsByIndex:r,mergedCells:t},s=0;s<o.length;s++)W(o[s],i),delete o[s]._source;return z(n)}(this.options.rows||[],t);this._readCells(n);var r,o=this.options.filter;o&&"number"==typeof o.from&&"number"==typeof o.to?o={from:S(C(this.options),o.from),to:S(C(this.options),o.to)}:o&&o.ref&&o.columns&&(r=o,o=null);var i=[];for(var s in this._validations)Object.prototype.hasOwnProperty.call(this._validations,s)&&i.push(this._validations[s]);var a=null;this.options.defaultCellStyle&&(a=this._lookupStyle(this.options.defaultCellStyle));var l=this.options.freezePane||{},m=this.options.defaults||{},c=this.options.rows?this._getLastRow():1,d=this.options.rows?this._getLastCol():1;return k({frozenColumns:this.options.frozenColumns||l.colSplit,frozenRows:this.options.frozenRows||l.rowSplit,columns:this.options.columns,defaults:m,data:n,index:e,mergeCells:t,autoFilter:o,filter:r,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:i,defaultCellStyleId:a,rtl:void 0!==this.options.rtl?this.options.rtl:m.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:c,lastCol:d})},commentsXML:function(){if(this._comments.length)return function(e){var t=e.comments;return w+'\n<comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">\n  <authors>\n    <author></author>\n  </authors>\n  <commentList>\n    '+y(t,(function(e){return'\n      <comment ref="'+e.ref+'" authorId="0">\n        <text>\n          <r>\n            <rPr>\n              <sz val="8"/>\n              <color indexed="81"/>\n              <rFont val="Tahoma"/>\n              <charset val="1"/>\n            </rPr>\n            <t>'+x(e.text)+"</t>\n          </r>\n        </text>\n      </comment>"}))+"\n  </commentList>\n</comments>"}({comments:this._comments})},drawingsXML:function(e){if(this._drawings.length){var t={},n=this._drawings.map((function(n){var r=j(n.topLeftCell),o=t[n.image];return o||(o=t[n.image]={rId:"img"+n.image,target:e[n.image].target}),{col:r.col,colOffset:V(n.offsetX),row:r.row,rowOffset:V(n.offsetY),width:V(n.width),height:V(n.height),imageId:o.rId}}));return{main:(r=n,w+'\n<xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n          xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n          xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n  '+y(r,(function(e,t){return'\n    <xdr:oneCellAnchor editAs="oneCell">\n      <xdr:from>\n        <xdr:col>'+e.col+"</xdr:col>\n        <xdr:colOff>"+e.colOffset+"</xdr:colOff>\n        <xdr:row>"+e.row+"</xdr:row>\n        <xdr:rowOff>"+e.rowOffset+'</xdr:rowOff>\n      </xdr:from>\n      <xdr:ext cx="'+e.width+'" cy="'+e.height+'" />\n      <xdr:pic>\n        <xdr:nvPicPr>\n          <xdr:cNvPr id="'+(t+1)+'" name="Picture '+(t+1)+'"/>\n          <xdr:cNvPicPr/>\n        </xdr:nvPicPr>\n        <xdr:blipFill>\n          <a:blip r:embed="'+e.imageId+'"/>\n          <a:stretch>\n            <a:fillRect/>\n          </a:stretch>\n        </xdr:blipFill>\n        <xdr:spPr>\n          <a:prstGeom prst="rect">\n            <a:avLst/>\n          </a:prstGeom>\n        </xdr:spPr>\n      </xdr:pic>\n      <xdr:clientData/>\n    </xdr:oneCellAnchor>'}))+"\n</xdr:wsDr>"),rels:I(t)}}var r},legacyDrawing:function(){if(this._comments.length)return function(e){return'<xml xmlns:v="urn:schemas-microsoft-com:vml"\n     xmlns:o="urn:schemas-microsoft-com:office:office"\n     xmlns:x="urn:schemas-microsoft-com:office:excel">\n  <v:shapetype coordsize="21600,21600" id="_x0000_t202" path="m,l,21600r21600,l21600,xe">\n    <v:stroke joinstyle="miter"/>\n    <v:path gradientshapeok="t" o:connecttype="rect"/>\n  </v:shapetype>\n  '+y(e.comments,(function(e){return'\n    <v:shape type="#_x0000_t202" style="visibility: hidden" fillcolor="#ffffe1" o:insetmode="auto">\n      <v:shadow on="t" color="black" obscured="t"/>\n      <x:ClientData ObjectType="Note">\n        <x:MoveWithCells/>\n        <x:SizeWithCells/>\n        <x:Anchor>'+e.anchor+"</x:Anchor>\n        <x:AutoFill>False</x:AutoFill>\n        <x:Row>"+e.row+"</x:Row>\n        <x:Column>"+e.col+"</x:Column>\n      </x:ClientData>\n    </v:shape>"}))+"\n</xml>"}({comments:this._comments})},_lookupString:function(e){var t,n="$"+e,r=this._strings.indexes[n];return void 0!==r?t=r:(t=this._strings.indexes[n]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},_lookupStyle:function(e){var t=JSON.stringify(e);if("{}"===t)return 0;var n=h(t,this._styles);return n<0&&(n=this._styles.push(t)-1),n+1},_lookupBorder:function(e){var t=JSON.stringify(e);if("{}"!==t){var n=h(t,this._borders);return n<0&&(n=this._borders.push(t)-1),n+1}},_readCells:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=n.cells;n.data=[];for(var o=0;o<r.length;o++){var i=this._cell(r[o],n.index,o);i&&n.data.push(i)}}},_cell:function(e,t,n){if(!e||e===q)return null;var r=e.value,o={};e.borderLeft&&(o.left=e.borderLeft),e.borderRight&&(o.right=e.borderRight),e.borderTop&&(o.top=e.borderTop),e.borderBottom&&(o.bottom=e.borderBottom),e.dBorders&&(o.diagonal=e.dBorders),o=this._lookupBorder(o);var s,a=this.options.defaultCellStyle||{},m={borderId:o};(s=function(t,n){var r=e[t];if(void 0===r&&(r=a[t]),void 0!==r)return m[n||t]=r,!0})("color"),s("background"),s("bold"),s("italic"),s("underline"),s("fontFamily")||s("fontName","fontFamily"),s("fontSize"),s("format"),s("textAlign")||s("hAlign","textAlign"),s("verticalAlign")||s("vAlign","verticalAlign"),s("wrap"),s("indent");var c=(this.options.columns||[])[n],d=typeof r;if(c&&c.autoWidth&&(!e.colSpan||1===e.colSpan)){var f=r;"number"===d&&(f=i.toString(r,e.format)),c.width=Math.max(c.width||0,String(f).length)}"string"===d?(r=function(e){return String(e).replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}(r),r=this._lookupString(r),d="s"):"number"===d?d="n":"boolean"===d?(d="b",r=Number(r)):r&&r.getTime?(d=null,r=l(r),m.format||(m.format="mm-dd-yy")):(d=null,r=null),m=this._lookupStyle(m);var u=S(t,n);if(e.validation&&this._addValidation(e.validation,u),e.comment){var p=[n+1,15,t,10,n+3,15,t+3,4];this._comments.push({ref:u,text:e.comment,row:t,col:n,anchor:p.join(", ")})}return{value:r,formula:e.formula,type:d,style:m,ref:u}},_addValidation:function(e,t){var n={showErrorMessage:"reject"===e.type?1:0,formula1:e.from,formula2:e.to,type:M[e.dataType]||e.dataType,operator:L[e.comparerType]||e.comparerType,allowBlank:e.allowNulls?1:0,showDropDown:e.showButton?0:1,error:e.messageTemplate,errorTitle:e.titleTemplate},r=JSON.stringify(n);this._validations[r]||(this._validations[r]=n,n.sqref=[]),this._validations[r].sqref.push(t)},_getLastRow:function(){return P(this.options.rows)},_getLastCol:function(){var e=0;return this.options.rows.forEach((function(t){t.cells&&(e=Math.max(e,P(t.cells)))})),e}});function P(e){var t=e.length;return e.forEach((function(e){e.index&&e.index>=t&&(t=e.index+1)})),t}var L={greaterThanOrEqualTo:"greaterThanOrEqual",lessThanOrEqualTo:"lessThanOrEqual"},M={number:"decimal"},A={General:0,0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49,"[$-404]e/m/d":27,"m/d/yy":30,t0:59,"t0.00":60,"t#,##0":61,"t#,##0.00":62,"t0%":67,"t0.00%":68,"t# ?/?":69,"t# ??/??":70};function R(e){var t=function(e){function t(e){var t=parseInt(e,10).toString(16);return t.length<2?"0"+t:t}var n=/^rgba?\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+)\s*)?\)/i.exec(e.trim());return n?"#"+t(255*(n[4]?parseFloat(n[4]):1)|0)+t(n[1])+t(n[2])+t(n[3]):e}(e);return t.length<6&&(t=t.replace(/(\w)/g,(function(e,t){return t+t}))),(t=t.substring(1).toUpperCase()).length<8&&(t="FF"+t),t}var O=kendo.Class.extend({init:function(e){var t=this;this.options=e||{},this._strings={indexes:{},count:0,uniqueCount:0},this._styles=[],this._borders=[],this._images=this.options.images,this._imgId=0,this._sheets=n(this.options.sheets||[],(function(e,n){return e.defaults=t.options,e.sheetIndex=n+1,new F(e,t._strings,t._styles,t._borders)}))},imageFilename:function(e){var t=++this._imgId;switch(e){case"image/jpg":case"image/jpeg":return"image"+t+".jpg";case"image/png":return"image"+t+".png";case"image/gif":return"image"+t+".gif";default:return"image"+t+".bin"}},toZIP:function(){var e=this,t=r(),o=t.folder("docProps");o.file("core.xml",function(e){var t=e.creator,n=e.lastModifiedBy,r=e.created,o=e.modified;return w+'\n <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"\n   xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"\n   xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n   <dc:creator>'+x(t)+"</dc:creator>\n   <cp:lastModifiedBy>"+x(n)+'</cp:lastModifiedBy>\n   <dcterms:created xsi:type="dcterms:W3CDTF">'+x(r)+'</dcterms:created>\n   <dcterms:modified xsi:type="dcterms:W3CDTF">'+x(o)+"</dcterms:modified>\n</cp:coreProperties>"}({creator:this.options.creator||"Kendo UI",lastModifiedBy:this.options.creator||"Kendo UI",created:this.options.date||(new Date).toJSON(),modified:this.options.date||(new Date).toJSON()}));var i=this._sheets.length;o.file("app.xml",function(e){var t=e.sheets;return w+'\n<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes">\n  <Application>Microsoft Excel</Application>\n  <DocSecurity>0</DocSecurity>\n  <ScaleCrop>false</ScaleCrop>\n  <HeadingPairs>\n    <vt:vector size="2" baseType="variant">\n      <vt:variant>\n        <vt:lpstr>Worksheets</vt:lpstr>\n      </vt:variant>\n      <vt:variant>\n        <vt:i4>'+t.length+'</vt:i4>\n      </vt:variant>\n    </vt:vector>\n  </HeadingPairs>\n  <TitlesOfParts>\n    <vt:vector size="'+t.length+'" baseType="lpstr">'+y(t,(function(e,t){return e.options.title?"<vt:lpstr>"+x(e.options.title)+"</vt:lpstr>":"<vt:lpstr>Sheet"+(t+1)+"</vt:lpstr>"}))+"</vt:vector>\n  </TitlesOfParts>\n  <LinksUpToDate>false</LinksUpToDate>\n  <SharedDoc>false</SharedDoc>\n  <HyperlinksChanged>false</HyperlinksChanged>\n  <AppVersion>14.0300</AppVersion>\n</Properties>"}({sheets:this._sheets})),t.folder("_rels").file(".rels",b);var s=t.folder("xl");if(s.folder("_rels").file("workbook.xml.rels",function(e){var t=e.count;return w+'\n<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">\n  '+v(t,(function(e){return'\n    <Relationship Id="rId'+(e+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet'+(e+1)+'.xml" />'}))+'\n  <Relationship Id="rId'+(t+1)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml" />\n  <Relationship Id="rId'+(t+2)+'" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml" />\n</Relationships>'}({count:i})),this._images){var a=s.folder("media");Object.keys(this._images).forEach((function(t){var n=e._images[t],r=e.imageFilename(n.type);a.file(r,n.data),n.target="../media/"+r}))}var l={};s.file("workbook.xml",function(e){var t=e.sheets,n=e.filterNames,r=e.userNames;return w+'\n<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">\n  <fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="9303" />\n  <workbookPr defaultThemeVersion="124226" />\n  <bookViews>\n    <workbookView xWindow="240" yWindow="45" windowWidth="18195" windowHeight="7995" />\n  </bookViews>\n  <sheets>\n  '+y(t,(function(e,t){var n=e.options;return'<sheet name="'+x(n.name||n.title||"Sheet"+(t+1))+'" sheetId="'+(t+1)+'" r:id="rId'+(t+1)+'" />'}))+"\n  </sheets>\n  "+(n.length||r.length?"\n    <definedNames>\n      "+y(n,(function(e){return'\n         <definedName name="_xlnm._FilterDatabase" hidden="1" localSheetId="'+e.localSheetId+'">'+x(function(e){return/^\'/.test(e)||/^[a-z_][a-z0-9_]*$/i.test(e)?e:"'"+e.replace(/\x27/g,"\\'")+"'"}(e.name))+"!"+x(e.from)+":"+x(e.to)+"</definedName>"}))+"\n      "+y(r,(function(e){return'\n         <definedName name="'+e.name+'" hidden="'+(e.hidden?1:0)+'" '+(null!=e.localSheetId?'localSheetId="'+e.localSheetId+'"':"")+">"+x(e.value)+"</definedName>"}))+"\n    </definedNames>":"")+'\n  <calcPr fullCalcOnLoad="1" calcId="145621" />\n</workbook>'}({sheets:this._sheets,filterNames:n(this._sheets,(function(e,t){var n=e.options,r=n.name||n.title||"Sheet"+(t+1);l[r.toLowerCase()]=t;var o=n.filter;if(o){if(o.ref){var i=o.ref.split(":"),s=j(i[0]),a=j(i[1]);return{localSheetId:t,name:r,from:_(s.row,s.col),to:_(a.row,a.col)}}if(void 0!==o.from&&void 0!==o.to)return{localSheetId:t,name:r,from:_(C(n),o.from),to:_(C(n),o.to)}}})),userNames:n(this.options.names||[],(function(e){return{name:e.localName,localSheetId:e.sheet?l[e.sheet.toLowerCase()]:null,value:e.value,hidden:e.hidden}}))}));for(var m=s.folder("worksheets"),c=s.folder("drawings"),d=c.folder("_rels"),f=m.folder("_rels"),u=[],p=[],k=0;k<i;k++){var I=e._sheets[k],T="sheet"+(k+1)+".xml",S=I.toXML(k),D=I.relsToXML(),F=I.commentsXML(),P=I.legacyDrawing(),L=I.drawingsXML(e._images);if(D&&f.file(T+".rels",D),F){var M="comments"+I.options.sheetIndex+".xml";s.file(M,F),u.push(M)}if(P&&c.file("vmlDrawing"+I.options.sheetIndex+".vml",P),L){var O="drawing"+I.options.sheetIndex+".xml";c.file(O,L.main),d.file(O+".rels",L.rels),p.push(O)}m.file(T,S)}var E=n(this._borders,g),q=n(this._styles,g),z=function(e){return e.underline||e.bold||e.italic||e.color||e.fontFamily||e.fontSize},B=n(q,(function(e){var t,n,r;if(e.fontSize&&(e.fontSize=(t=e.fontSize,(r=Number(t))&&(n=3*r/4),n)),e.color&&(e.color=R(e.color)),z(e))return e})),V=n(q,(function(e){if(e.format&&void 0===A[e.format])return e})),W=n(q,(function(e){if(e.background)return e.background=R(e.background),e}));return s.file("styles.xml",function(e){var t=e.formats,n=e.fonts,r=e.fills,o=e.borders,i=e.styles;return w+'\n<styleSheet\n    xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"\n    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"\n    mc:Ignorable="x14ac"\n    xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">\n  <numFmts count="'+t.length+'">\n  '+y(t,(function(e,t){return'\n    <numFmt formatCode="'+x(e.format)+'" numFmtId="'+(165+t)+'" />'}))+'\n  </numFmts>\n  <fonts count="'+(n.length+1)+'" x14ac:knownFonts="1">\n    <font>\n       <sz val="11" />\n       <color theme="1" />\n       <name val="Calibri" />\n       <family val="2" />\n       <scheme val="minor" />\n    </font>\n    '+y(n,(function(e){return"\n    <font>\n      "+(e.bold?"<b/>":"")+"\n      "+(e.italic?"<i/>":"")+"\n      "+(e.underline?"<u/>":"")+'\n      <sz val="'+(e.fontSize||11)+'" />\n      '+(e.color?'<color rgb="'+x(e.color)+'" />':'<color theme="1" />')+"\n      "+(e.fontFamily?'\n        <name val="'+x(e.fontFamily)+'" />\n        <family val="2" />\n      ':'\n        <name val="Calibri" />\n        <family val="2" />\n        <scheme val="minor" />\n      ')+"\n    </font>"}))+'\n  </fonts>\n  <fills count="'+(r.length+2)+'">\n      <fill><patternFill patternType="none"/></fill>\n      <fill><patternFill patternType="gray125"/></fill>\n    '+y(r,(function(e){return"\n      "+(e.background?'\n        <fill>\n          <patternFill patternType="solid">\n              <fgColor rgb="'+x(e.background)+'"/>\n          </patternFill>\n        </fill>\n      ':"")}))+'\n  </fills>\n  <borders count="'+(o.length+1)+'">\n    <border><left/><right/><top/><bottom/><diagonal/></border>\n    '+y(o,N)+'\n  </borders>\n  <cellStyleXfs count="1">\n    <xf borderId="0" fillId="0" fontId="0" />\n  </cellStyleXfs>\n  <cellXfs count="'+(i.length+1)+'">\n    <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />\n    '+y(i,(function(e){return'\n      <xf xfId="0"\n          '+(e.fontId?'fontId="'+e.fontId+'" applyFont="1"':"")+"\n          "+(e.fillId?'fillId="'+e.fillId+'" applyFill="1"':"")+"\n          "+(e.numFmtId?'numFmtId="'+e.numFmtId+'" applyNumberFormat="1"':"")+"\n          "+(e.textAlign||e.verticalAlign||e.wrap?'applyAlignment="1"':"")+"\n          "+(e.borderId?'borderId="'+e.borderId+'" applyBorder="1"':"")+">\n        "+(e.textAlign||e.verticalAlign||e.wrap?"\n        <alignment\n          "+(e.textAlign?'horizontal="'+x(e.textAlign)+'"':"")+"\n          "+(e.verticalAlign?'vertical="'+x(e.verticalAlign)+'"':"")+"\n          "+(e.indent?'indent="'+x(e.indent)+'"':"")+"\n          "+(e.wrap?'wrapText="1"':"")+" />\n        ":"")+"\n      </xf>\n    "}))+'\n  </cellXfs>\n  <cellStyles count="1">\n    <cellStyle name="Normal" xfId="0" builtinId="0"/>\n  </cellStyles>\n  <dxfs count="0" />\n  <tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleMedium9" />\n</styleSheet>'}({fonts:B,fills:W,formats:V,borders:E,styles:n(q,(function(e){var t={};return z(e)&&(t.fontId=h(e,B)+1),e.background&&(t.fillId=h(e,W)+2),t.textAlign=e.textAlign,t.indent=e.indent,t.verticalAlign=e.verticalAlign,t.wrap=e.wrap,t.borderId=e.borderId,e.format&&(void 0!==A[e.format]?t.numFmtId=A[e.format]:t.numFmtId=165+h(e,V)),t}))})),s.file("sharedStrings.xml",function(e){var t=e.count,n=e.uniqueCount,r=e.indexes;return w+'\n<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="'+t+'" uniqueCount="'+n+'">\n  '+y(Object.keys(r),(function(e){return'\n    <si><t xml:space="preserve">'+x(e.substring(1))+"</t></si>"}))+"\n</sst>"}(this._strings)),t.file("[Content_Types].xml",function(e){var t=e.sheetCount,n=e.commentFiles,r=e.drawingFiles;return w+'\n<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">\n  <Default Extension="png" ContentType="image/png"/>\n  <Default Extension="gif" ContentType="image/gif"/>\n  <Default Extension="jpg" ContentType="image/jpeg"/>\n  <Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />\n  <Default Extension="xml" ContentType="application/xml" />\n  <Default Extension="vml" ContentType="application/vnd.openxmlformats-officedocument.vmlDrawing"/>\n  <Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" />\n  <Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>\n  <Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>\n  '+v(t,(function(e){return'<Override PartName="/xl/worksheets/sheet'+(e+1)+'.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" />'}))+"\n  "+y(n,(function(e){return'<Override PartName="/xl/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"/>'}))+"\n  "+y(r,(function(e){return'<Override PartName="/xl/drawings/'+e+'" ContentType="application/vnd.openxmlformats-officedocument.drawing+xml"/>'}))+'\n  <Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />\n  <Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml" />\n</Types>'}({sheetCount:i,commentFiles:u,drawingFiles:p})),t},toDataURL:function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(d).then(p):p(e.generate(d))},toBlob:function(){var e=this.toZIP();return e.generateAsync?e.generateAsync(f):new Blob([e.generate(u)],{type:m})}});function E(e,t){var n,r,o="";return t&&(o+="<"+e+' style="'+(n=t.size,r="thin",2===n?r="medium":3===n&&(r="thick"),r+'">'),t.color&&(o+='<color rgb="'+R(t.color)+'"/>'),o+="</"+e+">"),o}function N(e){var t=e.diagonal?e.diagonal.type:0;return"<border "+(2&t?'diagonalUp="true"':"")+" "+(1&t?'diagonalDown="true"':"")+">\n      "+E("left",e.left)+"\n      "+E("right",e.right)+"\n      "+E("top",e.top)+"\n      "+E("bottom",e.bottom)+"\n      "+E("diagonal",e.diagonal)+"\n    </border>"}var q={};function z(e){return e.sort((function(e,t){return e.index-t.index}))}function B(e,t){for(var n=0;n<e.length;++n){var r=e[n].split(":"),o=r[0];if(o===t){var i=r[1];return o=j(o),{rowSpan:(i=j(i)).row-o.row+1,colSpan:i.col-o.col+1}}}}function j(e){var t,n=/^([a-z]+)(\d+)$/i.exec(e);return{row:(t=n[2],parseInt(t,10)-1),col:function(e){for(var t=e.toUpperCase(),n=0,r=0;r<t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}(n[1])}}function V(e){return Math.round(9525*e)}function W(e,t){var n,r,o=e._source,i=e.index,s=o.cells,a=e.cells;if(s)for(var l=0;l<s.length;l++){var m=s[l]||q,c=m.rowSpan||1,d=m.colSpan||1,f=U(a,m),u=S(i,f);if(1===c&&1===d){var p=B(t.mergedCells,u);p&&(d=p.colSpan,c=p.rowSpan)}if(H(m,a,f,d),(c>1||d>1)&&(n=t.mergedCells,r=u+":"+S(i+c-1,f+d-1),n.indexOf(r)<0&&n.push(r)),c>1)for(var h=i+1;h<i+c;h++){var g=t.rowsByIndex[h];g||(g=t.rowsByIndex[h]={index:h,cells:[]},t.rowData.push(g)),H(m,g.cells,f-1,d+1)}}}function U(e,t){var n;return"number"==typeof t.index?(n=t.index,X(e,t,t.index)):n=function(e,t){for(var n=e.length,r=0;r<e.length+1;r++)if(!e[r]){e[r]=t,n=r;break}return n}(e,t),n}function X(e,t,n){e[n]=t}function H(e,t,n,r){for(var o=1;o<r;o++){X(t,{borderTop:e.borderTop,borderRight:e.borderRight,borderBottom:e.borderBottom,borderLeft:e.borderLeft},n+o)}}var J=function(e){var t=e.ref,n=e.columns,r=e.generators;return'\n<autoFilter ref="'+t+'">\n  '+y(n,(function(e){return'\n    <filterColumn colId="'+e.index+'">\n      '+r[e.filter](e)+"\n    </filterColumn>\n  "}))+"\n</autoFilter>"},Z=function(e){return"\n<customFilters "+("and"===e.logic?'and="1"':"")+">\n"+y(e.criteria,(function(e){var t=K.customOperator(e);return"<customFilter "+(t?'operator="'+t+'"':"")+' val="'+K.customValue(e)+'"/>'}))+"\n</customFilters>"},$=function(e){var t=e.type;return'<dynamicFilter type="'+K.dynamicFilterType(t)+'" />'},G=function(e){var t=e.type,n=e.value;return'<top10 percent="'+(/percent$/i.test(t)?1:0)+'"\n       top="'+(/^top/i.test(t)?1:0)+'"\n       val="'+n+'" />'},Q=function(e){return"<filters "+(e.blanks?'blank="1"':"")+">\n    "+y(e.values,(function(e){return'\n      <filter val="'+e+'" />'}))+"\n  </filters>"};function K(e){return J({ref:e.ref,columns:e.columns,generators:{custom:Z,dynamic:$,top:G,value:Q}})}K.customOperator=function(e){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[e.operator.toLowerCase()]},K.customValue=function(e){function t(e){return e.replace(/([*?])/g,"~$1")}switch(e.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(e.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(e.value);case"contains":case"doesnotcontain":return"*"+t(e.value)+"*";default:return e.value}},K.dynamicFilterType=function(e){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[e.toLowerCase()]||e},kendo.deepExtend(kendo.ooxml,{IntlService:i,Workbook:O,Worksheet:F})}(window.kendo.jQuery),e=window.kendo.jQuery,t=kendo.ooxml.Workbook,kendo.ooxml.IntlService.register({toString:kendo.toString}),kendo.ooxml.Workbook=t.extend({toDataURL:function(){var e=t.fn.toDataURL.call(this);if("string"!=typeof e)throw new Error("The toDataURL method can be used only with jsZip 2. Either include jsZip 2 or use the toDataURLAsync method.");return e},toDataURLAsync:function(){var n=e.Deferred(),r=t.fn.toDataURL.call(this);return"string"==typeof r?r=n.resolve(r):r&&r.then&&r.then((function(e){n.resolve(e)}),(function(){n.reject()})),n.promise()}})}));
//# sourceMappingURL=kendo.ooxml.min.js.map
;!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.data.min","kendo.ooxml.min"],e):e()}((function(){!function(e){window.kendo.excel=window.kendo.excel||{};var t=kendo.getter,o=e.map,r={compile:function(e){return e}},n=kendo.Class.extend({});function l(e){return e.title+": "+e.value}function i(e,t){for(var o=[],r=0;r<e;r++)o.push(t(r));return o}function a(e){return e.id}n.register=function(e){r=e},n.compile=function(e){return r.compile(e)};var s=kendo.Class.extend({init:function(e){e.columns=this._trimColumns(e.columns||[]),this.allColumns=o(this._leafColumns(e.columns||[]),this._prepareColumn),this.columns=this._visibleColumns(this.allColumns),this.options=e,this.data=e.data||[],this.aggregates=e.aggregates||{},this.groups=[].concat(e.groups||[]),this.hasGroups=this.groups.length>0,this.hierarchy=e.hierarchy,this.hasGroupHeaderColumn=this.columns.some((function(e){return e.groupHeaderColumnTemplate})),this.collapsible=this.options.collapsible},workbook:function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},_trimColumns:function(e){var t=this;return e.filter((function(e){var o=Boolean(e.field);return!o&&e.columns&&(o=t._trimColumns(e.columns).length>0),o}))},_leafColumns:function(e){for(var t=[],o=0;o<e.length;o++)e[o].columns?t=t.concat(this._leafColumns(e[o].columns)):t.push(e[o]);return t},_prepareColumn:function(o){if(!o.field)return null;var r=function(e){return t(o.field,!0)(e)},i=null;return o.values&&(i={},o.values.forEach((function(e){i[e.value]=e.text})),r=function(e){return i[t(o.field,!0)(e)]}),e.extend({},o,{value:r,values:i,groupHeaderTemplate:o.groupHeaderTemplate?n.compile(o.groupHeaderTemplate):l,groupHeaderColumnTemplate:o.groupHeaderColumnTemplate?n.compile(o.groupHeaderColumnTemplate):null,groupFooterTemplate:o.groupFooterTemplate?n.compile(o.groupFooterTemplate):null,footerTemplate:o.footerTemplate?n.compile(o.footerTemplate):null})},_filter:function(){if(!this.options.filterable)return null;var e=this._depth();return{from:e,to:e+this.columns.length-1}},_createPaddingCells:function(t){var o=this;return i(t,(function(){return e.extend({background:"#dfdfdf",color:"#333"},o.options.paddingCellOptions)}))},_dataRow:function(e,t,o){var r=this._createPaddingCells(t);if(this.hasGroups&&o&&e.items){r=r.concat(this._groupHeaderCells(e,t,o));var n=this._dataRows(e.items,t+1);return n.unshift({type:"group-header",cells:r,level:this.collapsible?t:null}),n.concat(this._footer(e,t))}for(var l=[],i=0;i<this.columns.length;i++)l[i]=this._cell(e,this.columns[i]);return this.hierarchy&&(l[0].colSpan=o-t+1),[{type:"data",cells:r.concat(l),level:this.collapsible?t:null}]},_groupHeaderCells:function(t,o,r){var n=[],l=this.allColumns.filter((function(e){return e.field===t.field}))[0]||{},i=l&&l.title?l.title:t.field,a=l?l.groupHeaderTemplate||l.groupHeaderColumnTemplate:null,s=e.extend({title:i,field:t.field,value:l&&l.values?l.values[t.value]:t.value,aggregates:t.aggregates,items:t.items},t.aggregates[t.field]),u=a?a(s):i+": "+t.value;return n.push(e.extend({value:u,background:"#dfdfdf",color:"#333",colSpan:(this.hasGroupHeaderColumn?1:this.columns.length)+r-o},l.groupHeaderCellOptions)),this.hasGroupHeaderColumn&&this.columns.forEach((function(o,r){r>0&&n.push(e.extend({background:"#dfdfdf",color:"#333",value:o.groupHeaderColumnTemplate?o.groupHeaderColumnTemplate(e.extend({group:s},s,t.aggregates[o.field])):void 0},o.groupHeaderCellOptions))})),n},_dataRows:function(e,t){for(var o=this._depth(),r=[],n=0;n<e.length;n++)r.push.apply(r,this._dataRow(e[n],t,o));return r},_hierarchyRows:function(){var e,t=this._depth(),o=this.data,r=this.hierarchy.itemLevel,n=this.hierarchy.itemId||a,l=this._hasFooterTemplate(),i=[],s=[],u=0;l||(this.collapsible=!1);for(var c=0;c<o.length;c++){var h=o[c],p=r(h,c);l&&(p>u?s.push({id:e,level:u}):p<u&&i.push.apply(i,this._hierarchyFooterRows(s,p,t)),u=p,e=n(h,c)),i.push.apply(i,this._dataRow(h,p+1,t))}if(l){i.push.apply(i,this._hierarchyFooterRows(s,0,t));var d=o.length?this.aggregates[o[0].parentId]:{};i.push(this._hierarchyFooter(d,0,t))}return this._prependHeaderRows(i),i},_hierarchyFooterRows:function(e,t,o){for(var r=[];e.length&&e[e.length-1].level>=t;){var n=e.pop();r.push(this._hierarchyFooter(this.aggregates[n.id],n.level+1,o))}return r},_hasFooterTemplate:function(){for(var e=this.columns,t=0;t<e.length;t++)if(e[t].footerTemplate)return!0},_hierarchyFooter:function(t,o,r){var n=this.columns.map((function(n,l){var i=l?1:r-o+1;if(n.footerTemplate){var a=(t||{})[n.field];return e.extend({background:"#dfdfdf",color:"#333",colSpan:i,value:n.footerTemplate(e.extend({aggregates:t},a))},n.footerCellOptions)}return e.extend({background:"#dfdfdf",color:"#333",colSpan:i},n.footerCellOptions)}));return{type:"footer",cells:this._createPaddingCells(o).concat(n),level:this.collapsible?o:null}},_footer:function(t,o){var r,n,l=[],i=this.columns.some((function(e){return e.groupFooterTemplate}));i&&(n={group:{items:t.items,field:t.field,value:t.value}},r={},Object.keys(t.aggregates).forEach((function(o){r[o]=e.extend({},t.aggregates[o],n)})));var a=this.columns.map((function(o){if(o.groupFooterTemplate){var l=e.extend({},r,t.aggregates[o.field],n);return e.extend({background:"#dfdfdf",color:"#333",value:o.groupFooterTemplate(l)},o.groupFooterCellOptions)}return e.extend({background:"#dfdfdf",color:"#333"},o.groupFooterCellOptions)}));return i&&l.push({type:"group-footer",cells:this._createPaddingCells(this.groups.length).concat(a),level:this.collapsible?o:null}),l},_isColumnVisible:function(e){return this._visibleColumns([e]).length>0&&(e.field||e.columns)},_visibleColumns:function(e){var t=this;return e.filter((function(e){var o=e.exportable;"object"==typeof o&&(o=e.exportable.excel);var r=!e.hidden&&!1!==o,n=e.hidden&&!0===o,l=r||n;return l&&e.columns&&(l=t._visibleColumns(e.columns).length>0),l}))},_headerRow:function(t,o){var r=this,n=t.cells.map((function(o){return e.extend(o,{colSpan:o.colSpan>1?o.colSpan:1,rowSpan:t.rowSpan>1&&!o.colSpan?t.rowSpan:1})}));return this.hierarchy&&n[0].firstCell&&(n[0].colSpan+=this._depth()),{type:"header",cells:i(o.length,(function(){return e.extend({background:"#7a7a7a",color:"#fff"},r.options.headerPaddingCellOptions)})).concat(n)}},_prependHeaderRows:function(e){var t=this.groups,o=[{rowSpan:1,cells:[],index:0}];this._prepareHeaderRows(o,this.options.columns);for(var r=o.length-1;r>=0;r--)e.unshift(this._headerRow(o[r],t))},_prepareHeaderRows:function(t,o,r,n){for(var l=this,i=n||t[t.length-1],a=t[i.index+1],s=0,u=0;u<o.length;u++){var c=o[u];if(l._isColumnVisible(c)){var h=e.extend({background:"#7a7a7a",color:"#fff",value:c.title||c.field,colSpan:0,firstCell:0===u&&(!r||r.firstCell)},c.headerCellOptions);i.cells.push(h),c.columns&&c.columns.length&&(a||(a={rowSpan:0,cells:[],index:t.length},t.push(a)),h.colSpan=l._trimColumns(l._visibleColumns(c.columns)).length,l._prepareHeaderRows(t,c.columns,h,a),s+=h.colSpan-1,i.rowSpan=t.length-i.index)}}r&&(r.colSpan+=s)},_rows:function(){var t=this,o=this._dataRows(this.data,0);if(this.columns.length){this._prependHeaderRows(o);var r=!1,n=this.columns.map((function(o){return o.footerTemplate?(r=!0,e.extend({background:"#dfdfdf",color:"#333",value:o.footerTemplate(e.extend({},t.aggregates,t.aggregates[o.field]))},o.footerCellOptions)):e.extend({background:"#dfdfdf",color:"#333"},o.footerCellOptions)}));r&&o.push({type:"footer",cells:this._createPaddingCells(this.groups.length).concat(n)})}return o},_headerDepth:function(e){for(var t=0,o=0;o<e.length;o++)if(e[o].columns){var r=this._headerDepth(e[o].columns);r>t&&(t=r)}return 1+t},_freezePane:function(){var e=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(e.filter((function(e){return e.locked}))))).length;return{rowSplit:this._headerDepth(e),colSplit:t?t+this.groups.length:0}},_cell:function(t,o){return e.extend({value:o.value(t)},o.cellOptions)},_depth:function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},_columns:function(){return i(this._depth(),(function(){return{width:20}})).concat(this.columns.map((function(e){return{width:parseInt(e.width,10),autoWidth:!e.width}})))}});kendo.deepExtend(kendo.excel,{ExcelExporter:s,TemplateService:n})}(window.kendo.jQuery),function(e,t){var o=t.excel.ExcelExporter,r=e.extend;t.excel.TemplateService.register({compile:t.template}),t.ExcelExporter=t.Class.extend({init:function(e){this.options=e;var o=e.dataSource;if(o instanceof t.data.DataSource){o.filter()||(o.options.filter=void 0),this.dataSource=new o.constructor(r({},o.options,{page:e.allPages?0:o.page(),filter:o.filter(),pageSize:e.allPages?o.total():o.pageSize()||o.total(),sort:o.sort(),group:o.group(),aggregate:o.aggregate()}));var n=o.data();if(n.length>0){if(e.hierarchy)for(var l=0;l<n.length;l++)!1!==n[l].expanded&&void 0!==n[l].expanded||(n[l].expanded=!0);this.dataSource._data=n;var i=this.dataSource.transport;o._isServerGrouped()&&i.options&&i.options.data&&(i.options.data=null)}}else this.dataSource=t.data.DataSource.create(o)},_hierarchy:function(){var e=this.options.hierarchy,t=this.dataSource;if(e&&t.level){e={itemLevel:function(e){return t.level(e)}};for(var o,r=t.view(),n=0,l=0;l<r.length;l++)(o=t.level(r[l]))>n&&(n=o);e.depth=n+1}else e=!1;return{hierarchy:e}},workbook:function(){return e.Deferred(function(e){this.dataSource.fetch().then(function(){var t=new o(r({},this.options,this._hierarchy(),{data:this.dataSource.view(),groups:this.dataSource.group(),aggregates:this.dataSource.aggregates()})).workbook();e.resolve(t,this.dataSource.view())}.bind(this))}.bind(this)).promise()}})}(kendo.jQuery,kendo),function(e,t){t.ExcelMixin={extend:function(t){t.events.push("excelExport"),t.options.excel=e.extend(t.options.excel,this.options),t.saveAsExcel=this.saveAsExcel},options:{proxyURL:"",allPages:!1,filterable:!1,fileName:"Export.xlsx",collapsible:!1},saveAsExcel:function(){var e=this.options.excel||{};new t.ExcelExporter({columns:this.columns,dataSource:this.dataSource,allPages:e.allPages,filterable:e.filterable,hierarchy:e.hierarchy,collapsible:e.collapsible}).workbook().then(function(o,r){if(!this.trigger("excelExport",{workbook:o,data:r})){var n=new t.ooxml.Workbook(o);n.options||(n.options={}),n.options.skipCustomHeight=!0,n.toDataURLAsync().then((function(r){t.saveAs({dataURI:r,fileName:o.fileName||e.fileName,proxyURL:e.proxyURL,forceProxy:e.forceProxy})}))}}.bind(this))}}}(kendo.jQuery,kendo)}));
//# sourceMappingURL=kendo.excel.min.js.map
;!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min"],e):e()}((function(){window.kendo=window.kendo||{};var e=kendo.Class,t=kendo.support,r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},n=t.browser,a=function(e){var t=Object.keys(r);t.push("transparent");var n=new RegExp("^("+t.join("|")+")(\\W|$)","i");return a=function(e){return n.exec(e)},n.exec(e)},i=e.extend({init:function(){},toHSV:function(){return this},toRGB:function(){return this},toHex:function(e){return this.toBytes().toHex(e)},toBytes:function(){return this},toCss:function(e){return"#"+this.toHex(e)},toCssRgba:function(){var e=this.toBytes();return"rgba("+e.r+", "+e.g+", "+e.b+", "+parseFloat(Number(this.a).toFixed(3))+")"},toDisplay:function(){return n.msie&&n.version<9?this.toCss():this.toCssRgba()},equals:function(e){return e===this||null!=e&&this.toCssRgba()===c(e).toCssRgba()},diff:function(e){if(null===e)return NaN;var t=this.toBytes(),r=e.toBytes();return Math.sqrt(Math.pow(.3*(t.r-r.r),2)+Math.pow(.59*(t.g-r.g),2)+Math.pow(.11*(t.b-r.b),2))},clone:function(){var e=this.toBytes();return e===this&&(e=new f(e.r,e.g,e.b,e.a)),e}}),s=i.extend({init:function(e,t,r,n){i.fn.init.call(this),this.r=e,this.g=t,this.b=r,this.a=n},toHSV:function(){var e,t,r=this,n=r.r,a=r.g,i=r.b,s=Math.min(n,a,i),f=Math.max(n,a,i),o=f-s,u=f;return 0===o?new l(0,0,u,this.a):(0!==f?(t=o/f,e=n===f?(a-i)/o:a===f?2+(i-n)/o:4+(n-a)/o,(e*=60)<0&&(e+=360)):(t=0,e=-1),new l(e,t,u,this.a))},toHSL:function(){var e,t,r=this,n=r.r,a=r.g,i=r.b,s=Math.max(n,a,i),f=Math.min(n,a,i),o=(s+f)/2;if(s===f)e=t=0;else{var l=s-f;switch(t=o>.5?l/(2-s-f):l/(s+f),s){case n:e=(a-i)/l+(a<i?6:0);break;case a:e=(i-n)/l+2;break;case i:e=(n-a)/l+4}}return new u(60*e,100*t,100*o,this.a)},toBytes:function(){return new f(255*this.r,255*this.g,255*this.b,this.a)}}),f=s.extend({init:function(e,t,r,n){s.fn.init.call(this,Math.round(e),Math.round(t),Math.round(r),n)},toRGB:function(){return new s(this.r/255,this.g/255,this.b/255,this.a)},toHSV:function(){return this.toRGB().toHSV()},toHSL:function(){return this.toRGB().toHSL()},toHex:function(e){var t=o(this.r,2)+o(this.g,2)+o(this.b,2);return e&&e.alpha&&(t+=o(Math.round(255*this.a),2)),t},toBytes:function(){return this}});function o(e,t,r){void 0===r&&(r="0");for(var n=e.toString(16);t>n.length;)n=r+n;return n}var l=i.extend({init:function(e,t,r,n){i.fn.init.call(this),this.h=e,this.s=t,this.v=r,this.a=n},toRGB:function(){var e,t,r,n=this,a=n.h,i=n.s,f=n.v;if(0===i)e=t=r=f;else{a/=60;var o=Math.floor(a),l=a-o,u=f*(1-i),h=f*(1-i*l),d=f*(1-i*(1-l));switch(o){case 0:e=f,t=d,r=u;break;case 1:e=h,t=f,r=u;break;case 2:e=u,t=f,r=d;break;case 3:e=u,t=h,r=f;break;case 4:e=d,t=u,r=f;break;default:e=f,t=u,r=h}}return new s(e,t,r,this.a)},toHSL:function(){return this.toRGB().toHSL()},toBytes:function(){return this.toRGB().toBytes()}}),u=i.extend({init:function(e,t,r,n){i.fn.init.call(this),this.h=e,this.s=t,this.l=r,this.a=n},toRGB:function(){var e,t,r,n=this.h/360,a=this.s/100,i=this.l/100;if(0===a)e=t=r=i;else{var f=i<.5?i*(1+a):i+a-i*a,o=2*i-f;e=h(o,f,n+1/3),t=h(o,f,n),r=h(o,f,n-1/3)}return new s(e,t,r,this.a)},toHSV:function(){return this.toRGB().toHSV()},toBytes:function(){return this.toRGB().toBytes()}});function h(e,t,r){var n=r;return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function d(e){return parseFloat(parseFloat(parseInt(e,16)/255).toFixed(3))}function c(e,t){var n,o;if(null==e||"none"===e)return null;if(e instanceof i)return e;var l=e.toLowerCase();if(n=a(l))return(l="transparent"===n[1]?new s(1,1,1,0):c(r[n[1]],t)).match=[n[1]],l;if((n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(l))?o=new f(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),1):(n=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(l))?o=new f(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16),1):(n=/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(l))?o=new f(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16),d(n[4]+n[4])):(n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(l))?o=new f(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16),d(n[4])):(n=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(l))?o=new f(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),1):(n=/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)/.exec(l))?o=new f(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4])):(n=/^rgb\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*\)/.exec(l))?o=new s(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,1):(n=/^rgba\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9.]+)\s*\)/.exec(l))&&(o=new s(parseFloat(n[1])/100,parseFloat(n[2])/100,parseFloat(n[3])/100,parseFloat(n[4]))),o)o.match=n;else if(!t)throw new Error("Cannot parse color: "+l);return o}var b=e.extend({init:function(e){var t=this;if(1===arguments.length)for(var r=b.formats,n=this.resolveColor(e),a=0;a<r.length;a++){var i=r[a].re,s=r[a].process,f=i.exec(n);if(f){var o=s(f);t.r=o[0],t.g=o[1],t.b=o[2]}}else this.r=arguments[0],this.g=arguments[1],this.b=arguments[2];this.r=this.normalizeByte(this.r),this.g=this.normalizeByte(this.g),this.b=this.normalizeByte(this.b)},toHex:function(){var e=this.padDigit,t=this.r.toString(16),r=this.g.toString(16),n=this.b.toString(16);return"#"+e(t)+e(r)+e(n)},resolveColor:function(e){var t=e||"black";return"#"===t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase(),t=b.namedColors[t]||t},normalizeByte:function(e){return e<0||isNaN(e)?0:e>255?255:e},padDigit:function(e){return 1===e.length?"0"+e:e},brightness:function(e){var t=Math.round;return this.r=t(this.normalizeByte(this.r*e)),this.g=t(this.normalizeByte(this.g*e)),this.b=t(this.normalizeByte(this.b*e)),this},percBrightness:function(){return Math.sqrt(.241*this.r*this.r+.691*this.g*this.g+.068*this.b*this.b)},isDark:function(){return this.percBrightness()<180}});b.fromBytes=function(e,t,r,n){return new f(e,t,r,null!=n?n:1)},b.fromRGB=function(e,t,r,n){return new s(e,t,r,null!=n?n:1)},b.fromHSV=function(e,t,r,n){return new l(e,t,r,null!=n?n:1)},b.fromHSL=function(e,t,r,n){return new u(e,t,r,null!=n?n:1)},b.formats=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(e){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}},{re:/^(\w{2})(\w{2})(\w{2})$/,process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],b.namedColors=r,kendo.deepExtend(kendo,{parseColor:c,namedColors:r,Color:b})}));
//# sourceMappingURL=kendo.color.min.js.map
;!function(t){"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.color.min","kendo.popup.min","kendo.icons.min"],t):t()}((function(){var t;t=window.kendo.jQuery,kendo.drawing.util=kendo.drawing.util||{},kendo.deepExtend(kendo.drawing.util,{createPromise:function(){return t.Deferred()},promiseAll:function(e){return t.when.apply(t,e)},extendStatic:function(t,e){if(e)if("function"==typeof e.__proto__)t.__proto__=e;else for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}),function(t){window.kendo.util=window.kendo.util||{};var e=kendo.Class.extend({init:function(t){this._size=t,this._length=0,this._map={}},put:function(t,e){var n=this._map,o={key:t,value:e};n[t]=o,this._head?(this._tail.newer=o,o.older=this._tail,this._tail=o):this._head=this._tail=o,this._length>=this._size?(n[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++},get:function(t){var e=this._map[t];if(e)return e===this._head&&e!==this._tail&&(this._head=e.newer,this._head.older=null),e!==this._tail&&(e.older&&(e.older.newer=e.newer,e.newer.older=e.older),e.older=this._tail,e.newer=null,this._tail.newer=e,this._tail=e),e.value}}),n=/\r?\n|\r|\t/g;function o(t){return String(t).replace(n," ")}function r(t){var e=[];for(var n in t)e.push(n+t[n]);return e.sort().join("")}function i(t){for(var e=2166136261,n=0;n<t.length;++n)e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24),e^=t.charCodeAt(n);return e>>>0}var s,a={baselineMarkerSize:1};"undefined"!=typeof document&&((s=document.createElement("div")).style.cssText="position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: pre!important;");var p=kendo.Class.extend({init:function(n){this._cache=new e(1e3),this.options=t.extend({},a,n)},measure:function(t,e,n){if(void 0===n&&(n={}),null==t)return{width:0,height:0,baseline:0};var a=i(t+r(e)),p=this._cache.get(a);if(p)return p;var c={width:0,height:0,baseline:0},h=n.box||s,u=this._baselineMarker().cloneNode(!1);for(var l in e){var f=e[l];void 0!==f&&(h.style[l]=f)}var d=!1!==n.normalizeText?o(t):String(t);return h.textContent=d,h.appendChild(u),document.body.appendChild(h),d.length&&(c.width=h.offsetWidth-this.options.baselineMarkerSize,c.height=h.offsetHeight,c.baseline=u.offsetTop+this.options.baselineMarkerSize),c.width>0&&c.height>0&&this._cache.put(a,c),h.parentNode.removeChild(h),c},_baselineMarker:function(){var t=document.createElement("div");return t.style.cssText="display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;",t}});p.current=new p,kendo.deepExtend(kendo.util,{LRUCache:e,TextMetrics:p,measureText:function(t,e,n){return p.current.measure(t,e,n)},objectKey:r,hashKey:i,normalizeText:o})}(window.kendo.jQuery),function(t){window.kendo=window.kendo||{};var e=kendo.drawing.util,n=e.extendStatic,o=kendo.Class,r=kendo.util,i=kendo.support.browser,s=e.createPromise,a=e.promiseAll,p=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.observers=function(){return this._observers=this._observers||[],this._observers},e.prototype.addObserver=function(t){return this._observers?this._observers.push(t):this._observers=[t],this},e.prototype.removeObserver=function(t){var e=this.observers(),n=e.indexOf(t);return-1!==n&&e.splice(n,1),this},e.prototype.trigger=function(t,e){var n=this._observers;if(n&&!this._suspended)for(var o=0;o<n.length;o++){var r=n[o];r[t]&&r[t](e)}return this},e.prototype.optionsChange=function(t){void 0===t&&(t={}),t.element=this,this.trigger("optionsChange",t)},e.prototype.geometryChange=function(){this.trigger("geometryChange",{element:this})},e.prototype.suspend=function(){return this._suspended=(this._suspended||0)+1,this},e.prototype.resume=function(){return this._suspended=Math.max((this._suspended||0)-1,0),this},e.prototype._observerField=function(t,e){this[t]&&this[t].removeObserver(this),this[t]=e,e.addObserver(this)},e}(o);function c(t,e){return t.push.apply(t,e),t}var h={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"};function u(t){for(var e=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],n="";t>0;)t<e[0]?e.shift():(n+=h[e[0]],t-=e[0]);return n}var l="undefined";function f(t){return typeof t!==l}var d=1;function y(){return"kdef"+d++}var g=Math.PI/180,m=Number.MAX_VALUE,v=-Number.MAX_VALUE;function x(t){return t/g}var w=String.fromCharCode;var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function _(t){for(var e="",n=0,o=function(t){for(var e="",n=0;n<t.length;n++){var o=t.charCodeAt(n);if(55296<=o&&o<=56319){var r=o,i=t.charCodeAt(++n);isNaN(i)||(o=1024*(r-55296)+(i-56320)+65536)}o<128?e+=w(o):o<2048?(e+=w(192|o>>>6),e+=w(128|63&o)):o<65536?(e+=w(224|o>>>12),e+=w(128|o>>>6&63),e+=w(128|63&o)):o<1114111&&(e+=w(240|o>>>18),e+=w(128|o>>>12&63),e+=w(128|o>>>6&63),e+=w(128|63&o))}return e}(t);n<o.length;){var r=o.charCodeAt(n++),i=o.charCodeAt(n++),s=o.charCodeAt(n++),a=r>>2,p=(3&r)<<4|i>>4,c=(15&i)<<2|s>>6,h=63&s;isNaN(i)?c=h=64:isNaN(s)&&(h=64),e=e+b.charAt(a)+b.charAt(p)+b.charAt(c)+b.charAt(h)}return e}function C(t){return f((t.x||{}).location)?{x:t.x.location,y:t.y.location}:{x:t.pageX||t.clientX||0,y:t.pageY||t.clientY||0}}function T(t){return void 0===t&&(t={}),t.touch?t.touch.initialTouch:t.target}function k(t){return""===t||null===t||"none"===t||"transparent"===t||!f(t)}function O(t){if(t)return t[t.length-1]}function M(t,e,n){return Math.max(Math.min(t,n),e)}function S(t,e){if(t.length<2)return t.slice();return function t(n){if(n.length<=1)return n;var o=Math.floor(n.length/2),r=n.slice(0,o),i=n.slice(o);return function(t,n){for(var o=[],r=0,i=0,s=0;r<t.length&&i<n.length;)e(t[r],n[i])<=0?o[s++]=t[r++]:o[s++]=n[i++];return r<t.length&&o.push.apply(o,t.slice(r)),i<n.length&&o.push.apply(o,n.slice(i)),o}(r=t(r),i=t(i))}(t)}var E=Date.now||function(){return(new Date).getTime()};function A(t){return t*g}function P(t,e){var n,o=(n=e)?Math.pow(10,n):1;return Math.round(t*o)/o}function z(t,e){return f(t)?t:e}function N(t,e){for(var n in e)for(var o=n.trim().split(" "),r=0;r<o.length;r++)t.addEventListener(o[r],e[n],!1)}function R(t){var e=t.getBoundingClientRect(),n=document.documentElement;return{top:e.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||0),left:e.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}}function j(t,e){for(var n={},o=window.getComputedStyle(t)||{},r=Array.isArray(e)?e:[e],i=0;i<r.length;i++){var s=r[i];n[s]=o[s]}return n}function L(t){return isNaN(t)?t:t+"px"}function B(t,e){if(!e){var n=j(t,["width","height"]);return{width:parseInt(n.width,10),height:parseInt(n.height,10)}}var o=e.width,r=e.height;f(o)&&(t.style.width=L(o)),f(r)&&(t.style.height=L(r))}function F(t,e){for(var n in void 0===e&&(e={}),e)for(var o=n.trim().split(" "),r=0;r<o.length;r++)t.removeEventListener(o[r],e[n],!1)}function D(t){var e=j(t,["paddingLeft","paddingTop"]),n=e.paddingLeft,o=e.paddingTop;return{top:parseFloat(o),left:parseFloat(n)}}var I=function(t){function e(e,n,o,r,i,s){void 0===e&&(e=0),void 0===n&&(n=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===i&&(i=0),void 0===s&&(s=0),t.call(this),this.a=e,this.b=n,this.c=o,this.d=r,this.e=i,this.f=s}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.multiplyCopy=function(t){return new e(this.a*t.a+this.c*t.b,this.b*t.a+this.d*t.b,this.a*t.c+this.c*t.d,this.b*t.c+this.d*t.d,this.a*t.e+this.c*t.f+this.e,this.b*t.e+this.d*t.f+this.f)},e.prototype.invert=function(){var t=this,n=t.a,o=t.b,r=t.c,i=t.d,s=t.e,a=t.f,p=n*i-o*r;return 0===p?null:new e(i/p,-o/p,-r/p,n/p,(r*a-i*s)/p,(o*s-n*a)/p)},e.prototype.clone=function(){return new e(this.a,this.b,this.c,this.d,this.e,this.f)},e.prototype.equals=function(t){return!!t&&(this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d&&this.e===t.e&&this.f===t.f)},e.prototype.round=function(t){return this.a=P(this.a,t),this.b=P(this.b,t),this.c=P(this.c,t),this.d=P(this.d,t),this.e=P(this.e,t),this.f=P(this.f,t),this},e.prototype.toArray=function(t){var e=[this.a,this.b,this.c,this.d,this.e,this.f];if(f(t))for(var n=0;n<e.length;n++)e[n]=P(e[n],t);return e},e.prototype.toString=function(t,e){return void 0===e&&(e=","),this.toArray(t).join(e)},e.translate=function(t,n){return new e(1,0,0,1,t,n)},e.unit=function(){return new e(1,0,0,1,0,0)},e.rotate=function(t,n,o){var r=new e;return r.a=Math.cos(A(t)),r.b=Math.sin(A(t)),r.c=-r.b,r.d=r.a,r.e=n-n*r.a+o*r.b||0,r.f=o-o*r.a-n*r.b||0,r},e.scale=function(t,n){return new e(t,0,0,n,0,0)},e}(o);I.IDENTITY=I.unit();var H=/matrix\((.*)\)/;function q(t){var e=getComputedStyle(t).transform;return"none"===e?I.unit():function(t){var e=t.match(H);if(null===e||2!==e.length)return I.unit();var n=e[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(I,[null].concat(n)))}(e)}function G(t){if(!t)return I.unit();for(var e=q(t),n=t.parentElement;n;){var o=q(n);e=e.multiplyCopy(o),n=n.parentElement}return e.b=e.c=e.e=e.f=0,e}var $={append:c,arabicToRoman:u,createPromise:s,defined:f,definitionId:y,deg:x,encodeBase64:_,eventCoordinates:C,eventElement:T,isTransparent:k,last:O,limitValue:M,mergeSort:S,now:E,promiseAll:a,rad:A,round:P,valueOrDefault:z,bindEvents:N,elementOffset:R,elementSize:B,elementStyles:j,unbindEvents:F,elementPadding:D,elementScale:G,DEG_TO_RAD:g,MAX_NUM:m,MIN_NUM:v},V={}.toString,U=function(t){function e(e,n){for(var o in void 0===n&&(n=""),t.call(this),this.prefix=n,e){var r=e[o];r=this._wrap(r,o),this[o]=r}}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.get=function(t){for(var e=t.split("."),n=this;e.length&&n;){n=n[e.shift()]}return n},e.prototype.set=function(t,e){this.get(t)!==e&&(this._set(t,this._wrap(e,t)),this.optionsChange({field:this.prefix+t,value:e}))},e.prototype._set=function(t,n){var o=t.indexOf(".")>=0,r=this,i=t;if(o){for(var s=i.split("."),a=this.prefix;s.length>1;){a+=(i=s.shift())+".";var p=r[i];p||((p=new e({},a)).addObserver(this),r[i]=p),r=p}i=s[0]}r._clear(i),r[i]=n},e.prototype._clear=function(t){var e=this[t];e&&e.removeObserver&&e.removeObserver(this)},e.prototype._wrap=function(t,n){var r=V.call(t),i=t;return null!==i&&f(i)&&"[object Object]"===r&&(t instanceof e||t instanceof o||(i=new e(i,this.prefix+n+".")),i.addObserver(this)),i},e}(p);function X(t){return function(e){return this[t]!==e&&(this[t]=e,this.geometryChange()),this}}function Y(t){return function(){return this[t]}}var W=function(t,e){var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(t);return function(t,e){for(var n=0;n<e.length;n++){var o=e[n],r=o.charAt(0).toUpperCase()+o.substring(1,o.length);t["set"+r]=X(o),t["get"+r]=Y(o)}}(o.prototype,e),o};function Q(t){return t&&"function"==typeof t.matrix?t.matrix():t}var Z=function(t){function e(e,n){t.call(this),this.x=e||0,this.y=n||0}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={ZERO:{}};return e.prototype.equals=function(t){return t&&t.x===this.x&&t.y===this.y},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.rotate=function(t,n){var o=e.create(n)||e.ZERO;return this.transform(I.rotate(t,o.x,o.y))},e.prototype.translate=function(t,e){return this.x+=t,this.y+=e,this.geometryChange(),this},e.prototype.translateWith=function(t){return this.translate(t.x,t.y)},e.prototype.move=function(t,e){return this.x=this.y=0,this.translate(t,e)},e.prototype.scale=function(t,e){return void 0===e&&(e=t),this.x*=t,this.y*=e,this.geometryChange(),this},e.prototype.scaleCopy=function(t,e){return this.clone().scale(t,e)},e.prototype.transform=function(t){var e=Q(t),n=this.x,o=this.y;return this.x=e.a*n+e.c*o+e.e,this.y=e.b*n+e.d*o+e.f,this.geometryChange(),this},e.prototype.transformCopy=function(t){var e=this.clone();return t&&e.transform(t),e},e.prototype.distanceTo=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},e.prototype.round=function(t){return this.x=P(this.x,t),this.y=P(this.y,t),this.geometryChange(),this},e.prototype.toArray=function(t){var e=f(t);return[e?P(this.x,t):this.x,e?P(this.y,t):this.y]},e.prototype.toString=function(t,e){void 0===e&&(e=" ");var n=this.x,o=this.y;return f(t)&&(n=P(n,t),o=P(o,t)),n+e+o},e.create=function(t,n){if(f(t))return t instanceof e?t:1===arguments.length&&2===t.length?new e(t[0],t[1]):new e(t,n)},e.min=function(){for(var t=arguments,n=m,o=m,r=0;r<arguments.length;r++){var i=t[r];n=Math.min(i.x,n),o=Math.min(i.y,o)}return new e(n,o)},e.max=function(){for(var t=arguments,n=v,o=v,r=0;r<arguments.length;r++){var i=t[r];n=Math.max(i.x,n),o=Math.max(i.y,o)}return new e(n,o)},e.minPoint=function(){return new e(v,v)},e.maxPoint=function(){return new e(m,m)},o.ZERO.get=function(){return new e(0,0)},Object.defineProperties(e,o),e}(W(p,["x","y"])),J=function(t){function e(e,n){t.call(this),this.width=e||0,this.height=n||0}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={ZERO:{}};return e.prototype.equals=function(t){return t&&t.width===this.width&&t.height===this.height},e.prototype.clone=function(){return new e(this.width,this.height)},e.prototype.toArray=function(t){var e=f(t);return[e?P(this.width,t):this.width,e?P(this.height,t):this.height]},e.create=function(t,n){if(f(t))return t instanceof e?t:1===arguments.length&&2===t.length?new e(t[0],t[1]):new e(t,n)},o.ZERO.get=function(){return new e(0,0)},Object.defineProperties(e,o),e}(W(p,["width","height"])),K=function(t){function e(e,n,o){void 0===e&&(e=new Z),void 0===n&&(n=new J),void 0===o&&(o=0),t.call(this),this.setOrigin(e),this.setSize(n),this.setCornerRadius(o)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.clone=function(){return new e(this.origin.clone(),this.size.clone())},e.prototype.equals=function(t){return t&&t.origin.equals(this.origin)&&t.size.equals(this.size)},e.prototype.setOrigin=function(t){return this._observerField("origin",Z.create(t)),this.geometryChange(),this},e.prototype.getOrigin=function(){return this.origin},e.prototype.setCornerRadius=function(t){return this.cornerRadius=Array.isArray(t)?t:[t,t],this.geometryChange(),this},e.prototype.getCornerRadius=function(){return this.cornerRadius},e.prototype.setSize=function(t){return this._observerField("size",J.create(t)),this.geometryChange(),this},e.prototype.getSize=function(){return this.size},e.prototype.width=function(){return this.size.width},e.prototype.height=function(){return this.size.height},e.prototype.topLeft=function(){return this.origin.clone()},e.prototype.bottomRight=function(){return this.origin.clone().translate(this.width(),this.height())},e.prototype.topRight=function(){return this.origin.clone().translate(this.width(),0)},e.prototype.bottomLeft=function(){return this.origin.clone().translate(0,this.height())},e.prototype.center=function(){return this.origin.clone().translate(this.width()/2,this.height()/2)},e.prototype.bbox=function(t){var n=this.topLeft().transformCopy(t),o=this.topRight().transformCopy(t),r=this.bottomRight().transformCopy(t),i=this.bottomLeft().transformCopy(t);return e.fromPoints(n,o,r,i)},e.prototype.transformCopy=function(t){return e.fromPoints(this.topLeft().transform(t),this.bottomRight().transform(t))},e.prototype.expand=function(t,e){return void 0===e&&(e=t),this.size.width+=2*t,this.size.height+=2*e,this.origin.translate(-t,-e),this},e.prototype.expandCopy=function(t,e){return this.clone().expand(t,e)},e.prototype.containsPoint=function(t){var e=this.origin,n=this.bottomRight();return!(t.x<e.x||t.y<e.y||n.x<t.x||n.y<t.y)},e.prototype._isOnPath=function(t,e){var n=this.expandCopy(e,e),o=this.expandCopy(-e,-e);return n.containsPoint(t)&&!o.containsPoint(t)},e.fromPoints=function(){var t=Z.min.apply(null,arguments),n=Z.max.apply(null,arguments);return new e(t,new J(n.x-t.x,n.y-t.y))},e.union=function(t,n){return e.fromPoints(Z.min(t.topLeft(),n.topLeft()),Z.max(t.bottomRight(),n.bottomRight()))},e.intersect=function(t,n){var o={left:t.topLeft().x,top:t.topLeft().y,right:t.bottomRight().x,bottom:t.bottomRight().y},r={left:n.topLeft().x,top:n.topLeft().y,right:n.bottomRight().x,bottom:n.bottomRight().y};if(o.left<=r.right&&r.left<=o.right&&o.top<=r.bottom&&r.top<=o.bottom)return e.fromPoints(new Z(Math.max(o.left,r.left),Math.max(o.top,r.top)),new Z(Math.min(o.right,r.right),Math.min(o.bottom,r.bottom)))},e}(p),tt=function(t){function e(e){void 0===e&&(e=I.unit()),t.call(this),this._matrix=e}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.clone=function(){return new e(this._matrix.clone())},e.prototype.equals=function(t){return t&&t._matrix.equals(this._matrix)},e.prototype.translate=function(t,e){return this._matrix=this._matrix.multiplyCopy(I.translate(t,e)),this._optionsChange(),this},e.prototype.scale=function(t,e,n){void 0===e&&(e=t),void 0===n&&(n=null);var o=n;return o&&(o=Z.create(o),this._matrix=this._matrix.multiplyCopy(I.translate(o.x,o.y))),this._matrix=this._matrix.multiplyCopy(I.scale(t,e)),o&&(this._matrix=this._matrix.multiplyCopy(I.translate(-o.x,-o.y))),this._optionsChange(),this},e.prototype.rotate=function(t,e){var n=Z.create(e)||Z.ZERO;return this._matrix=this._matrix.multiplyCopy(I.rotate(t,n.x,n.y)),this._optionsChange(),this},e.prototype.multiply=function(t){var e=Q(t);return this._matrix=this._matrix.multiplyCopy(e),this._optionsChange(),this},e.prototype.matrix=function(t){return t?(this._matrix=t,this._optionsChange(),this):this._matrix},e.prototype._optionsChange=function(){this.optionsChange({field:"transform",value:this})},e}(p);function et(t){return null===t?null:t instanceof tt?t:new tt(t)}var nt=function(t){function e(e){t.call(this),this._initOptions(e)}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Rect"},e.prototype._initOptions=function(t){void 0===t&&(t={});var e=t.clip,n=t.transform;n&&(t.transform=et(n)),e&&!e.id&&(e.id=y()),this.options=new U(t),this.options.addObserver(this)},e.prototype.transform=function(t){if(!f(t))return this.options.get("transform");this.options.set("transform",et(t))},e.prototype.parentTransform=function(){for(var t,e=this;e.parent;){var n=(e=e.parent).transform();n&&(t=n.matrix().multiplyCopy(t||I.unit()))}if(t)return et(t)},e.prototype.currentTransform=function(t){void 0===t&&(t=this.parentTransform());var e,n=Q(this.transform()),o=Q(t);if(e=n&&o?o.multiplyCopy(n):n||o)return et(e)},e.prototype.visible=function(t){return f(t)?(this.options.set("visible",t),this):!1!==this.options.get("visible")},e.prototype.clip=function(t){var e=this.options;return f(t)?(t&&!t.id&&(t.id=y()),e.set("clip",t),this):e.get("clip")},e.prototype.opacity=function(t){return f(t)?(this.options.set("opacity",t),this):z(this.options.get("opacity"),1)},e.prototype.className=function(t){return f(t)?(this.options.set("className",t),this):this.options.get("className")},e.prototype.clippedBBox=function(t){var e=this._clippedBBox(t);if(e){var n=this.clip();return n?K.intersect(e,n.bbox(t)):e}},e.prototype.containsPoint=function(t,e){if(this.visible()){var n=this.currentTransform(e),o=t;return n&&(o=t.transformCopy(n.matrix().invert())),this._hasFill()&&this._containsPoint(o)||this._isOnPath&&this._hasStroke()&&this._isOnPath(o)}return!1},e.prototype._hasFill=function(){var t=this.options.fill;return t&&!k(t.color)},e.prototype._hasStroke=function(){var t=this.options.stroke;return t&&t.width>0&&!k(t.color)},e.prototype._clippedBBox=function(t){return this.bbox(t)},Object.defineProperties(e.prototype,o),e}(p);function ot(t,e,n,o){var r=0,i=0;return o&&(r=Math.atan2(o.c*n,o.a*e),0!==o.b&&(i=Math.atan2(o.d*n,o.b*e))),{x:r,y:i}}var rt=Math.PI/2,it=function(t){function e(e,n){void 0===e&&(e=new Z),void 0===n&&(n=0),t.call(this),this.setCenter(e),this.setRadius(n)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.setCenter=function(t){return this._observerField("center",Z.create(t)),this.geometryChange(),this},e.prototype.getCenter=function(){return this.center},e.prototype.equals=function(t){return t&&t.center.equals(this.center)&&t.radius===this.radius},e.prototype.clone=function(){return new e(this.center.clone(),this.radius)},e.prototype.pointAt=function(t){return this._pointAt(A(t))},e.prototype.bbox=function(t){for(var e=ot(this.center,this.radius,this.radius,t),n=Z.maxPoint(),o=Z.minPoint(),r=0;r<4;r++){var i=this._pointAt(e.x+r*rt).transformCopy(t),s=this._pointAt(e.y+r*rt).transformCopy(t),a=new Z(i.x,s.y);n=Z.min(n,a),o=Z.max(o,a)}return K.fromPoints(n,o)},e.prototype._pointAt=function(t){var e=this.center,n=this.radius;return new Z(e.x+n*Math.cos(t),e.y+n*Math.sin(t))},e.prototype.containsPoint=function(t){var e=this.center,n=this.radius;return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(n,2)},e.prototype._isOnPath=function(t,e){var n=this.center,o=this.radius,r=n.distanceTo(t);return o-e<=r&&r<=o+e},e}(W(p,["radius"])),st=function(t){return function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.fill=function(t,e){var n=this.options;if(f(t)){if(t&&"Gradient"!==t.nodeType){var o={color:t};f(e)&&(o.opacity=e),n.set("fill",o)}else n.set("fill",t);return this}return n.get("fill")},e.prototype.stroke=function(t,e,n){return f(t)?(this.options.set("stroke.color",t),f(e)&&this.options.set("stroke.width",e),f(n)&&this.options.set("stroke.opacity",n),this):this.options.get("stroke")},e}(t)},at=I.IDENTITY.toString(),pt=function(t){return function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.bbox=function(t){var e,n=Q(this.currentTransform(t)),o=n?n.toString():at;this._bboxCache&&this._matrixHash===o?e=this._bboxCache.clone():(e=this._bbox(n),this._bboxCache=e?e.clone():null,this._matrixHash=o);var r=this.options.get("stroke.width");return r&&e&&e.expand(r/2),e},e.prototype.geometryChange=function(){delete this._bboxCache,this.trigger("geometryChange",{element:this})},e}(t)};function ct(t){var e="_"+t;return function(t){return f(t)?(this._observerField(e,t),this.geometryChange(),this):this[e]}}var ht=function(t,e){void 0===e&&(e=["geometry"]);var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(t);return function(t,e){for(var n=0;n<e.length;n++)t[e[n]]=ct(e[n])}(o.prototype,e),o},ut=function(t){function e(e,n){void 0===e&&(e=new it),void 0===n&&(n={}),t.call(this,n),this.geometry(e),f(this.options.stroke)||this.stroke("#000")}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Circle"},e.prototype.rawBBox=function(){return this._geometry.bbox()},e.prototype._bbox=function(t){return this._geometry.bbox(t)},e.prototype._containsPoint=function(t){return this.geometry().containsPoint(t)},e.prototype._isOnPath=function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)},Object.defineProperties(e.prototype,o),e}(st(pt(ht(nt)))),lt=10;function ft(t,e,n){return void 0===n&&(n=lt),0===P(Math.abs(t-e),n)}function dt(t,e,n){return t<e||ft(t,e,n)}var yt=Math.pow,gt=function(t){function e(e,n){void 0===e&&(e=new Z),void 0===n&&(n={}),t.call(this),this.setCenter(e),this.radiusX=n.radiusX,this.radiusY=n.radiusY||n.radiusX,this.startAngle=n.startAngle,this.endAngle=n.endAngle,this.anticlockwise=n.anticlockwise||!1,this.xRotation=n.xRotation}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.clone=function(){return new e(this.center,{radiusX:this.radiusX,radiusY:this.radiusY,startAngle:this.startAngle,endAngle:this.endAngle,anticlockwise:this.anticlockwise})},e.prototype.setCenter=function(t){return this._observerField("center",Z.create(t)),this.geometryChange(),this},e.prototype.getCenter=function(){return this.center},e.prototype.pointAt=function(t){var e=this.center,n=A(t);return new Z(e.x+this.radiusX*Math.cos(n),e.y+this.radiusY*Math.sin(n))},e.prototype.curvePoints=function(){var t,e=this.startAngle,n=this.anticlockwise?-1:1,o=[this.pointAt(e)],r=this._arcInterval(),i=r.endAngle-r.startAngle,s=Math.ceil(i/45),a=i/s,p=e;this.xRotation&&(t=et().rotate(this.xRotation,this.center));for(var c=1;c<=s;c++){var h=p+n*a,u=this._intervalCurvePoints(p,h,t);o.push(u.cp1,u.cp2,u.p2),p=h}return o},e.prototype.bbox=function(t){for(var e=this._arcInterval(),n=e.startAngle,o=e.endAngle,r=ot(this.center,this.radiusX,this.radiusY,t),i=x(r.x),s=x(r.y),a=this.pointAt(o).transformCopy(t),p=vt(i,n),c=vt(s,n),h=this.pointAt(n).transformCopy(t),u=Z.min(h,a),l=Z.max(h,a);p<o||c<o;){var f=void 0;p<o&&(f=this.pointAt(p).transformCopy(t),p+=90);var d=void 0;c<o&&(d=this.pointAt(c).transformCopy(t),c+=90),h=new Z(f.x,d.y),u=Z.min(u,h),l=Z.max(l,h)}return K.fromPoints(u,l)},e.prototype._arcInterval=function(){var t=this,e=t.startAngle,n=t.endAngle,o=t.anticlockwise;if(o){var r=e;e=n,n=r}return(e>n||o&&e===n)&&(n+=360),{startAngle:e,endAngle:n}},e.prototype._intervalCurvePoints=function(t,e,n){var o=this.pointAt(t),r=this.pointAt(e),i=this._derivativeAt(t),s=this._derivativeAt(e),a=(A(e)-A(t))/3,p=new Z(o.x+a*i.x,o.y+a*i.y),c=new Z(r.x-a*s.x,r.y-a*s.y);return n&&(o.transform(n),r.transform(n),p.transform(n),c.transform(n)),{p1:o,cp1:p,cp2:c,p2:r}},e.prototype._derivativeAt=function(t){var e=A(t);return new Z(-this.radiusX*Math.sin(e),this.radiusY*Math.cos(e))},e.prototype.containsPoint=function(t){var e,n=this._arcInterval(),o=n.endAngle-n.startAngle,r=this,i=r.center,s=r.radiusX,a=r.radiusY,p=i.distanceTo(t),c=Math.atan2(t.y-i.y,t.x-i.x),h=s*a/Math.sqrt(yt(s,2)*yt(Math.sin(c),2)+yt(a,2)*yt(Math.cos(c),2)),u=this.pointAt(this.startAngle).round(lt),l=this.pointAt(this.endAngle).round(lt),f=function(t,e,n,o){var r=e.x-t.x,i=o.x-n.x,s=e.y-t.y,a=o.y-n.y,p=t.x-n.x,c=t.y-n.y,h=r*a-i*s,u=(r*c-s*p)/h,l=(i*c-a*p)/h;if(u>=0&&u<=1&&l>=0&&l<=1)return new Z(t.x+l*r,t.y+l*s)}(i,t.round(lt),u,l);if(o<180)e=f&&dt(i.distanceTo(f),p)&&dt(p,h);else{var d=mt(i.x,i.y,s,a,t.x,t.y);360!==d&&(d=(360+d)%360);var y=n.startAngle<=d&&d<=n.endAngle;e=y&&dt(p,h)||!y&&(!f||f.equals(t))}return e},e.prototype._isOnPath=function(t,e){var n=this._arcInterval(),o=this.center,r=mt(o.x,o.y,this.radiusX,this.radiusY,t.x,t.y);return 360!==r&&(r=(360+r)%360),n.startAngle<=r&&r<=n.endAngle&&this.pointAt(r).distanceTo(t)<=e},e.fromPoints=function(t,n,o,r,i,s,a){var p=function(t){var e=t.x1,n=t.y1,o=t.x2,r=t.y2,i=t.rx,s=t.ry,a=t.largeArc,p=t.swipe,c=t.rotation;void 0===c&&(c=0);var h=A(c),u=Math.cos(h),l=Math.sin(h),f=u*(e-o)/2+l*(n-r)/2,d=-l*(e-o)/2+u*(n-r)/2,y=a!==p?1:-1,g=Math.pow(f,2),m=Math.pow(d,2),v=Math.pow(i,2),w=Math.pow(s,2),b=g/v+m/w;b>1&&(i*=b=Math.sqrt(g/v+m/w),v=Math.pow(i,2),s*=b,w=Math.pow(s,2));var _=y*Math.sqrt((v*w-v*m-w*g)/(v*m+w*g));isNaN(_)&&(_=0);var C=_*(i*d)/s,T=s*f*-_/i,k=u*C-l*T+(e+o)/2,O=l*C+u*T+(n+r)/2,M=(f-C)/i,S=(d-T)/s,E=-(f+C)/i,z=-(d+T)/s,N=(S>=0?1:-1)*x(Math.acos(M/Math.sqrt(M*M+S*S))),R=P((M*E+S*z)/(Math.sqrt(M*M+S*S)*Math.sqrt(E*E+z*z)),10),j=(M*z-S*E>=0?1:-1)*x(Math.acos(R));!p&&j>0&&(j-=360);p&&j<0&&(j+=360);var L=N+j,B=L>=0?1:-1;return L=Math.abs(L)%360*B,{center:new Z(k,O),startAngle:N,endAngle:L,radiusX:i,radiusY:s,xRotation:c}}({x1:t.x,y1:t.y,x2:n.x,y2:n.y,rx:o,ry:r,largeArc:i,swipe:s,rotation:a});return new e(p.center,{startAngle:p.startAngle,endAngle:p.endAngle,radiusX:p.radiusX,radiusY:p.radiusY,xRotation:p.xRotation,anticlockwise:0===s})},e}(W(p,["radiusX","radiusY","startAngle","endAngle","anticlockwise"]));function mt(t,e,n,o,r,i){var s=P((r-t)/n,3),a=P((i-e)/o,3);return P(x(Math.atan2(a,s)))}function vt(t,e){for(var n=t;n<e;)n+=90;return n}var xt=[].push,wt=[].pop,bt=[].splice,_t=[].shift,Ct=[].slice,Tt=[].unshift,kt=function(t){function e(e){void 0===e&&(e=[]),t.call(this),this.length=0,this._splice(0,e.length,e)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.elements=function(t){return t?(this._splice(0,this.length,t),this._change(),this):this.slice(0)},e.prototype.push=function(){var t=arguments,e=xt.apply(this,t);return this._add(t),e},e.prototype.slice=function(){return Ct.call(this)},e.prototype.pop=function(){var t=this.length,e=wt.apply(this);return t&&this._remove([e]),e},e.prototype.splice=function(t,e){var n=Ct.call(arguments,2),o=this._splice(t,e,n);return this._change(),o},e.prototype.shift=function(){var t=this.length,e=_t.apply(this);return t&&this._remove([e]),e},e.prototype.unshift=function(){var t=arguments,e=Tt.apply(this,t);return this._add(t),e},e.prototype.indexOf=function(t){for(var e=this.length,n=0;n<e;n++)if(this[n]===t)return n;return-1},e.prototype._splice=function(t,e,n){var o=bt.apply(this,[t,e].concat(n));return this._clearObserver(o),this._setObserver(n),o},e.prototype._add=function(t){this._setObserver(t),this._change()},e.prototype._remove=function(t){this._clearObserver(t),this._change()},e.prototype._setObserver=function(t){for(var e=0;e<t.length;e++)t[e].addObserver(this)},e.prototype._clearObserver=function(t){for(var e=0;e<t.length;e++)t[e].removeObserver(this)},e.prototype._change=function(){},e}(p),Ot=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype._change=function(){this.geometryChange()},e}(kt);function Mt(t,e,n){var o=x(Math.atan2(e.y-t.y,e.x-t.x));return n.transformCopy(et().rotate(-o,t)).x<t.x}function St(t,e,n){var o=1-t;return Math.pow(o,3)*n[0][e]+3*Math.pow(o,2)*t*n[1][e]+3*Math.pow(t,2)*o*n[2][e]+Math.pow(t,3)*n[3][e]}function Et(t,e){return[-t[0][e]+3*t[1][e]-3*t[2][e]+t[3][e],3*(t[0][e]-2*t[1][e]+t[2][e]),3*(-t[0][e]+t[1][e]),t[0][e]]}var At=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=0),t.call(this),this.real=e,this.img=n}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.add=function(t){return new e(P(this.real+t.real,lt),P(this.img+t.img,lt))},e.prototype.addConstant=function(t){return new e(this.real+t,this.img)},e.prototype.negate=function(){return new e(-this.real,-this.img)},e.prototype.multiply=function(t){return new e(this.real*t.real-this.img*t.img,this.real*t.img+this.img*t.real)},e.prototype.multiplyConstant=function(t){return new e(this.real*t,this.img*t)},e.prototype.nthRoot=function(t){var n=Math.atan2(this.img,this.real),o=Math.sqrt(Math.pow(this.img,2)+Math.pow(this.real,2)),r=Math.pow(o,1/t);return new e(r*Math.cos(n/t),r*Math.sin(n/t))},e.prototype.equals=function(t){return this.real===t.real&&this.img===t.img},e.prototype.isReal=function(){return 0===this.img},e}(o);function Pt(t){return t<0?-1:1}function zt(t,e,n,o){if(0===t)return function(t,e,n){var o=Math.sqrt(Math.pow(e,2)-4*t*n);return[(-e+o)/(2*t),(-e-o)/(2*t)]}(e,n,o);var r,i,s,a,p,c,h,u=(3*t*n-Math.pow(e,2))/(3*Math.pow(t,2)),l=(2*Math.pow(e,3)-9*t*e*n+27*Math.pow(t,2)*o)/(27*Math.pow(t,3)),f=Math.pow(u/3,3)+Math.pow(l/2,2),d=new At(0,1),y=-e/(3*t);f<0?(r=new At(-l/2,Math.sqrt(-f)).nthRoot(3),i=new At(-l/2,-Math.sqrt(-f)).nthRoot(3)):(r=-l/2+Math.sqrt(f),r=new At(Pt(r)*Math.pow(Math.abs(r),1/3)),i=-l/2-Math.sqrt(f),i=new At(Pt(i)*Math.pow(Math.abs(i),1/3))),s=r.add(i),c=r.add(i).multiplyConstant(-.5),h=r.add(i.negate()).multiplyConstant(Math.sqrt(3)/2),a=c.add(d.multiply(h)),p=c.add(d.negate().multiply(h));var g=[];return s.isReal()&&g.push(P(s.real+y,lt)),a.isReal()&&g.push(P(a.real+y,lt)),p.isReal()&&g.push(P(p.real+y,lt)),g}function Nt(t,e,n,o,r){for(var i,s=Et(t,o),a=zt(s[0],s[1],s[2],s[3]-e[o]),p=0;p<a.length;p++)if(0<=a[p]&&a[p]<=1&&(i=St(a[p],n,t),Math.abs(i-e[n])<=r))return!0}function Rt(t,e,n){var o;if(t.x!==e.x){var r=Math.min(t.x,e.x),i=Math.max(t.x,e.x),s=Math.min(t.y,e.y),a=Math.max(t.y,e.y),p=r<=n.x&&n.x<i;o=s===a?n.y<=s&&p:p&&(a-s)*((t.x-e.x)*(t.y-e.y)>0?n.x-r:i-n.x)/(i-r)+s-n.y>=0}return o?1:0}function jt(t){var e="_"+t;return function(t){return f(t)?(this._observerField(e,Z.create(t)),this.geometryChange(),this):this[e]}}var Lt=function(t,e){var o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(t);return function(t,e){for(var n=0;n<e.length;n++)t[e[n]]=jt(e[n])}(o.prototype,e),o},Bt=function(t){function e(e,n,o){t.call(this),this.anchor(e||new Z),this.controlIn(n),this.controlOut(o)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.bboxTo=function(t,e){var n=this.anchor().transformCopy(e),o=t.anchor().transformCopy(e);return this.controlOut()&&t.controlIn()?this._curveBoundingBox(n,this.controlOut().transformCopy(e),t.controlIn().transformCopy(e),o):this._lineBoundingBox(n,o)},e.prototype._lineBoundingBox=function(t,e){return K.fromPoints(t,e)},e.prototype._curveBoundingBox=function(t,e,n,o){var r=[t,e,n,o],i=this._curveExtremesFor(r,"x"),s=this._curveExtremesFor(r,"y"),a=Ft([i.min,i.max,t.x,o.x]),p=Ft([s.min,s.max,t.y,o.y]);return K.fromPoints(new Z(a.min,p.min),new Z(a.max,p.max))},e.prototype._curveExtremesFor=function(t,e){var n=this._curveExtremes(t[0][e],t[1][e],t[2][e],t[3][e]);return{min:St(n.min,e,t),max:St(n.max,e,t)}},e.prototype._curveExtremes=function(t,e,n,o){var r=t-3*e+3*n-o,i=-2*(t-2*e+n),s=t-e,a=Math.sqrt(i*i-4*r*s),p=0,c=1;0===r?0!==i&&(p=c=-s/i):isNaN(a)||(p=(-i+a)/(2*r),c=(-i-a)/(2*r));var h=Math.max(Math.min(p,c),0);(h<0||h>1)&&(h=0);var u=Math.min(Math.max(p,c),1);return(u>1||u<0)&&(u=1),{min:h,max:u}},e.prototype._intersectionsTo=function(t,e){var n;return n=this.controlOut()&&t.controlIn()?function(t,e,n){for(var o,r=Et(t,"x"),i=zt(r[0],r[1],r[2],r[3]-e.x),s=0,a=0;a<i.length;a++)(ft(o=St(i[a],"y",t),e.y)||o>e.y)&&((0===i[a]||1===i[a])&&n.bottomRight().x>e.x||0<i[a]&&i[a]<1)&&s++;return s}([this.anchor(),this.controlOut(),t.controlIn(),t.anchor()],e,this.bboxTo(t)):Rt(this.anchor(),t.anchor(),e),n},e.prototype._isOnCurveTo=function(t,e,n,o){if(this.bboxTo(t).expand(n,n).containsPoint(e)){var r=this.anchor(),i=this.controlOut(),s=t.controlIn(),a=t.anchor();if("start"===o&&r.distanceTo(e)<=n)return!Mt(r,i,e);if("end"===o&&a.distanceTo(e)<=n)return!Mt(a,s,e);var p=[r,i,s,a];if(Nt(p,e,"x","y",n)||Nt(p,e,"y","x",n))return!0;var c=et().rotate(45,e),h=[r.transformCopy(c),i.transformCopy(c),s.transformCopy(c),a.transformCopy(c)];return Nt(h,e,"x","y",n)||Nt(h,e,"y","x",n)}},e.prototype._isOnLineTo=function(t,e,n){var o=this.anchor(),r=t.anchor(),i=x(Math.atan2(r.y-o.y,r.x-o.x));return new K([o.x,o.y-n/2],[o.distanceTo(r),n]).containsPoint(e.transformCopy(et().rotate(-i,o)))},e.prototype._isOnPathTo=function(t,e,n,o){return this.controlOut()&&t.controlIn()?this._isOnCurveTo(t,e,n/2,o):this._isOnLineTo(t,e,n)},e}(Lt(p,["anchor","controlIn","controlOut"]));function Ft(t){for(var e=t.length,n=m,o=v,r=0;r<e;r++)o=Math.max(o,t[r]),n=Math.min(n,t[r]);return{min:n,max:o}}var Dt={Circle:it,Arc:gt,Rect:K,Point:Z,Segment:Bt,Matrix:I,Size:J,toMatrix:Q,Transformation:tt,transform:et},It=.333,Ht=.01,qt="x",Gt="y";function $t(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)}function Vt(t,e){var n=(e.y-t.y)/(e.x-t.x);return[t.y-n*t.x,n]}function Ut(t,e,n){var o,r=qt,i=Gt,s=!1,a=!1;if(function(t,e,n){var o=Kt(Vt(t,e),n.x);return t.x===e.x&&e.x===n.x||P(o,1)===P(n.y,1)}(t,e,n))o=Yt(t,e,qt,Gt);else{var p,c={x:Wt(t,e,n,qt),y:Wt(t,e,n,Gt)};if(c.x&&c.y)o=Yt(t,n,qt,Gt),s=!0;else if(function(t,e,n){var o=!1;if(t.x===e.x)o=!0;else if(e.x===n.x)(e.y<n.y&&t.y<=e.y||n.y<e.y&&e.y<=t.y)&&(o=!0);else{var r=Kt(Vt(t,e),n.x);t.y<=e.y&&n.y<=r||e.y<=t.y&&n.y>=r||(o=!0)}return o}(t,e,n)&&(r=Gt,i=qt),c[r])o=0;else p=n[i]<t[i]&&t[i]<=e[i]||t[i]<n[i]&&e[i]<=t[i]?te((n[i]-t[i])*(e[r]-t[r])):-te((n[r]-t[r])*(e[i]-t[i])),o=Ht*p,a=!0}var h=Zt(o,t,e,r,i);if(a){var u=r;r=i,i=u}var l=Qt(o,e,n,r,i);return s&&(Xt(t,e,h,o),Xt(e,n,l,o)),[h,l]}function Xt(t,e,n,o){t.y<e.y?e.y<n.y?(n.x=t.x+(e.y-t.y)/o,n.y=e.y):n.y<t.y&&(n.x=e.x-(e.y-t.y)/o,n.y=t.y):n.y<e.y?(n.x=t.x-(t.y-e.y)/o,n.y=e.y):t.y<n.y&&(n.x=e.x+(t.y-e.y)/o,n.y=t.y)}function Yt(t,e,n,o){var r=e[n]-t[n],i=e[o]-t[o];return 0===r?0:i/r}function Wt(t,e,n,o){return n[o]>e[o]&&e[o]>t[o]||n[o]<e[o]&&e[o]<t[o]}function Qt(t,e,n,o,r){var i=e[o],s=(n[o]-i)*It;return Jt(i+s,e[r]+s*t,o,r)}function Zt(t,e,n,o,r){var i=e[o],s=n[o],a=(s-i)*It;return Jt(s-a,n[r]-a*t,o,r)}function Jt(t,e,n,o){var r=new Z;return r[n]=t,r[o]=e,r}function Kt(t,e){for(var n=t.length,o=0,r=0;r<n;r++)o+=Math.pow(e,r)*t[r];return o}function te(t){return t<=0?-1:1}var ee={l:function(t,e){for(var n=e.parameters,o=e.position,r=0;r<n.length;r+=2){var i=new Z(n[r],n[r+1]);e.isRelative&&i.translateWith(o),t.lineTo(i.x,i.y),o.x=i.x,o.y=i.y}},c:function(t,e){for(var n=e.parameters,o=e.position,r=0;r<n.length;r+=6){var i=new Z(n[r],n[r+1]),s=new Z(n[r+2],n[r+3]),a=new Z(n[r+4],n[r+5]);e.isRelative&&(s.translateWith(o),i.translateWith(o),a.translateWith(o)),t.curveTo(i,s,a),o.x=a.x,o.y=a.y}},v:function(t,e){var n=e.isRelative?0:e.position.x;ne(e.parameters,!0,n),this.l(t,e)},h:function(t,e){var n=e.isRelative?0:e.position.y;ne(e.parameters,!1,n),this.l(t,e)},a:function(t,e){for(var n=e.parameters,o=e.position,r=0;r<n.length;r+=7){var i=n[r],s=n[r+1],a=n[r+2],p=n[r+3],c=n[r+4],h=new Z(n[r+5],n[r+6]);e.isRelative&&h.translateWith(o),o.x===h.x&&o.y===h.y||(t.arcTo(h,i,s,p,c,a),o.x=h.x,o.y=h.y)}},s:function(t,e){var n,o=e.parameters,r=e.position,i=e.previousCommand;"s"!==i&&"c"!==i||(n=O(O(t.paths).segments).controlIn());for(var s=0;s<o.length;s+=4){var a=new Z(o[s],o[s+1]),p=new Z(o[s+2],o[s+3]),c=void 0;e.isRelative&&(a.translateWith(r),p.translateWith(r)),c=n?oe(n,r):r.clone(),n=a,t.curveTo(c,a,p),r.x=p.x,r.y=p.y}},q:function(t,e){for(var n=e.parameters,o=e.position,r=0;r<n.length;r+=4){var i=new Z(n[r],n[r+1]),s=new Z(n[r+2],n[r+3]);e.isRelative&&(i.translateWith(o),s.translateWith(o));var a=ie(o,i,s);t.curveTo(a.controlOut,a.controlIn,s),o.x=s.x,o.y=s.y}},t:function(t,e){var n,o=e.parameters,r=e.position,i=e.previousCommand;"q"!==i&&"t"!==i||(n=O(O(t.paths).segments).controlIn().clone().translateWith(r.scaleCopy(-1/3)).scale(1.5));for(var s=0;s<o.length;s+=2){var a=new Z(o[s],o[s+1]);e.isRelative&&a.translateWith(r),n=n?oe(n,r):r.clone();var p=ie(r,n,a);t.curveTo(p.controlOut,p.controlIn,a),r.x=a.x,r.y=a.y}}};function ne(t,e,n){for(var o=e?0:1,r=0;r<t.length;r+=2)t.splice(r+o,0,n)}function oe(t,e){if(t&&e)return e.scaleCopy(2).translate(-t.x,-t.y)}var re=1/3;function ie(t,e,n){var o=e.clone().scale(2/3);return{controlOut:o.clone().translateWith(t.scaleCopy(re)),controlIn:o.translateWith(n.scaleCopy(re))}}var se=/([a-df-z]{1})([^a-df-z]*)(z)?/gi,ae=/[,\s]?([+\-]?(?:\d*\.\d+|\d+)(?:[eE][+\-]?\d+)?)/g;function pe(t,e){var n,o=new Z;return e.replace(se,(function(e,r,i,s){var a=r.toLowerCase(),p=a===r,c=function(t){var e=[];return t.replace(ae,(function(t,n){e.push(parseFloat(n))})),e}(i.trim());if("m"===a&&(p?(o.x+=c[0],o.y+=c[1]):(o.x=c[0],o.y=c[1]),t.moveTo(o.x,o.y),c.length>2&&(a="l",c.splice(0,2))),ee[a])ee[a](t,{parameters:c,position:o,isRelative:p,previousCommand:n}),s&&"z"===s.toLowerCase()&&t.close();else if("m"!==a)throw new Error("Error while parsing SVG path. Unsupported command: "+a);n=a})),t}function ce(t,e,n){for(var o,r=0;r<t.length;r++){var i=t[r];if(i.visible()){var s=e?i.bbox(n):i.rawBBox();s&&(o=o?K.union(o,s):s)}}return o}function he(t,e){for(var n,o=0;o<t.length;o++){var r=t[o];if(r.visible()){var i=r.clippedBBox(e);i&&(n=n?K.union(n,i):i)}}return n}var ue=" ",le=function(t){function e(e){t.call(this,e),this.segments=new Ot,this.segments.addObserver(this),f(this.options.stroke)||(this.stroke("#000"),f(this.options.stroke.lineJoin)||this.options.set("stroke.lineJoin","miter"))}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Path"},e.prototype.moveTo=function(t,e){return this.suspend(),this.segments.elements([]),this.resume(),this.lineTo(t,e),this},e.prototype.lineTo=function(t,e){var n=f(e)?new Z(t,e):t,o=new Bt(n);return this.segments.push(o),this},e.prototype.curveTo=function(t,e,n){if(this.segments.length>0){var o=O(this.segments),r=new Bt(n,e);this.suspend(),o.controlOut(t),this.resume(),this.segments.push(r)}return this},e.prototype.arc=function(t,e,n,o,r){if(this.segments.length>0){var i=O(this.segments).anchor(),s=A(t),a=new Z(i.x-n*Math.cos(s),i.y-o*Math.sin(s)),p=new gt(a,{startAngle:t,endAngle:e,radiusX:n,radiusY:o,anticlockwise:r});this._addArcSegments(p)}return this},e.prototype.arcTo=function(t,e,n,o,r,i){if(this.segments.length>0){var s=O(this.segments).anchor(),a=gt.fromPoints(s,Z.create(t),e,n,o,r,i);this._addArcSegments(a)}return this},e.prototype._addArcSegments=function(t){this.suspend();for(var e=t.curvePoints(),n=1;n<e.length;n+=3)this.curveTo(e[n],e[n+1],e[n+2]);this.resume(),this.geometryChange()},e.prototype.close=function(){return this.options.closed=!0,this.geometryChange(),this},e.prototype.rawBBox=function(){return this._bbox()},e.prototype.toString=function(t){var e,n,o,r="",i=this.segments,s=i.length;if(s>0){for(var a,p=[],c=(o=t,function(){for(var t=arguments,e=[],n=arguments.length;n--;)e[n]=t[n];return e.map((function(t){return t.toString(o)})).join(ue)}),h=1;h<s;h++){var u=(e=i[h-1],n=i[h],e.controlOut()&&n.controlIn()?"C":"L");u!==a&&(a=u,p.push(u)),"L"===u?p.push(c(i[h].anchor())):p.push(c(i[h-1].controlOut(),i[h].controlIn(),i[h].anchor()))}r="M"+c(i[0].anchor())+ue+p.join(ue),this.options.closed&&(r+="Z")}return r},e.prototype._containsPoint=function(t){for(var e,n,o=this.segments,r=o.length,i=0,s=1;s<r;s++)e=o[s-1],n=o[s],i+=e._intersectionsTo(n,t);return!this.options.closed&&o[0].anchor().equals(o[r-1].anchor())||(i+=Rt(o[0].anchor(),o[r-1].anchor(),t)),i%2!=0},e.prototype._isOnPath=function(t,e){var n=this.segments,o=n.length,r=e||this.options.stroke.width;if(o>1){if(n[0]._isOnPathTo(n[1],t,r,"start"))return!0;for(var i=2;i<=o-2;i++)if(n[i-1]._isOnPathTo(n[i],t,r))return!0;if(n[o-2]._isOnPathTo(n[o-1],t,r,"end"))return!0}return!1},e.prototype._bbox=function(t){var e,n=this.segments,o=n.length;if(1===o){var r=n[0].anchor().transformCopy(t);e=new K(r,J.ZERO)}else if(o>0)for(var i=1;i<o;i++){var s=n[i-1].bboxTo(n[i],t);e=e?K.union(e,s):s}return e},e.parse=function(t,e){return fe.parse(t,e)},e.fromRect=function(t,n){var o=new e(n),r=t.cornerRadius,i=r[0],s=r[1];if(0===i&&0===s)o.moveTo(t.topLeft()).lineTo(t.topRight()).lineTo(t.bottomRight()).lineTo(t.bottomLeft()).close();else{var a=t.origin,p=a.x,c=a.y,h=t.width(),u=t.height();i=M(i,0,h/2),s=M(s,0,u/2),o.moveTo(p+i,c).lineTo(p+h-i,c).arcTo([p+h,c+s],i,s,!1).lineTo(p+h,c+u-s).arcTo([p+h-i,c+u],i,s,!1).lineTo(p+i,c+u).arcTo([p,c+u-s],i,s,!1).lineTo(p,c+s).arcTo([p+i,c],i,s,!1)}return o},e.fromPoints=function(t,n){if(t){for(var o=new e(n),r=0;r<t.length;r++){var i=Z.create(t[r]);i&&(0===r?o.moveTo(i):o.lineTo(i))}return o}},e.curveFromPoints=function(t,n){if(t){var o=function(t,e){var n=t.slice(0),o=[],r=n.length;if(r>2&&($t(0,n),r=n.length),r<2||2===r&&n[0].equals(n[1]))return o;var i,s,a=n[0],p=n[1],c=n[2];for(o.push(new Bt(a));a.equals(n[r-1]);)e=!0,n.pop(),r--;if(2===r){var h=Yt(a,p,qt,Gt);return O(o).controlOut(Qt(h,a,p,qt,Gt)),o.push(new Bt(p,Zt(h,a,p,qt,Gt))),o}if(e){var u=Ut(a=n[r-1],p=n[0],c=n[1]);i=u[1],s=u[0]}else i=Qt(Yt(a,p,qt,Gt),a,p,qt,Gt);for(var l=i,f=0;f<=r-3;f++)if($t(f,n),f+3<=(r=n.length)){var d=Ut(a=n[f],p=n[f+1],c=n[f+2]);O(o).controlOut(l),l=d[1];var y=d[0];o.push(new Bt(p,y))}if(e){var g=Ut(a=n[r-2],p=n[r-1],c=n[0]);O(o).controlOut(l),o.push(new Bt(p,g[0])),O(o).controlOut(g[1]),o.push(new Bt(c,s))}else{var m=Yt(p,c,qt,Gt);O(o).controlOut(l),o.push(new Bt(c,Zt(m,p,c,qt,Gt)))}return o}(t),r=new e(n);return r.segments.push.apply(r.segments,o),r}},e.fromArc=function(t,n){var o=new e(n),r=t.startAngle,i=t.pointAt(r);return o.moveTo(i.x,i.y),o.arc(r,t.endAngle,t.radiusX,t.radiusY,t.anticlockwise),o},Object.defineProperties(e.prototype,o),e}(st(pt(nt))),fe=function(t){function e(e){t.call(this,e),this.paths=new Ot,this.paths.addObserver(this),f(this.options.stroke)||this.stroke("#000")}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return e.parse=function(t,n){return pe(new e(n),t)},e.prototype.toString=function(t){var e=this.paths,n="";if(e.length>0){for(var o=[],r=0;r<e.length;r++)o.push(e[r].toString(t));n=o.join(ue)}return n},o.nodeType.get=function(){return"MultiPath"},e.prototype.moveTo=function(t,e){var n=new le;return n.moveTo(t,e),this.paths.push(n),this},e.prototype.lineTo=function(t,e){return this.paths.length>0&&O(this.paths).lineTo(t,e),this},e.prototype.curveTo=function(t,e,n){return this.paths.length>0&&O(this.paths).curveTo(t,e,n),this},e.prototype.arc=function(t,e,n,o,r){return this.paths.length>0&&O(this.paths).arc(t,e,n,o,r),this},e.prototype.arcTo=function(t,e,n,o,r,i){return this.paths.length>0&&O(this.paths).arcTo(t,e,n,o,r,i),this},e.prototype.close=function(){return this.paths.length>0&&O(this.paths).close(),this},e.prototype._bbox=function(t){return ce(this.paths,!0,t)},e.prototype.rawBBox=function(){return ce(this.paths,!1)},e.prototype._containsPoint=function(t){for(var e=this.paths,n=0;n<e.length;n++)if(e[n]._containsPoint(t))return!0;return!1},e.prototype._isOnPath=function(t){for(var e=this.paths,n=this.options.stroke.width,o=0;o<e.length;o++)if(e[o]._isOnPath(t,n))return!0;return!1},e.prototype._clippedBBox=function(t){return he(this.paths,this.currentTransform(t))},Object.defineProperties(e.prototype,o),e}(st(pt(nt))),de=function(t){function e(e,n){void 0===e&&(e=new gt),void 0===n&&(n={}),t.call(this,n),this.geometry(e),f(this.options.stroke)||this.stroke("#000")}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Arc"},e.prototype._bbox=function(t){return this._geometry.bbox(t)},e.prototype.rawBBox=function(){return this.geometry().bbox()},e.prototype.toPath=function(){var t=new le,e=this.geometry().curvePoints();if(e.length>0){t.moveTo(e[0].x,e[0].y);for(var n=1;n<e.length;n+=3)t.curveTo(e[n],e[n+1],e[n+2])}return t},e.prototype._containsPoint=function(t){return this.geometry().containsPoint(t)},e.prototype._isOnPath=function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)},Object.defineProperties(e.prototype,o),e}(st(pt(ht(nt)))),ye=function(t){function e(e,n,o){void 0===n&&(n=new Z),void 0===o&&(o={}),t.call(this,o),this.content(e),this.position(n),this.options.font||(this.options.font="12px sans-serif"),f(this.options.fill)||this.fill("#000")}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Text"},e.prototype.content=function(t){return f(t)?(this.options.set("content",t),this):this.options.get("content")},e.prototype.measure=function(){return r.measureText(this.content(),{font:this.options.get("font")})},e.prototype.rect=function(){var t=this.measure(),e=this.position().clone();return new K(e,[t.width,t.height])},e.prototype.bbox=function(t){var e=Q(this.currentTransform(t));return this.rect().bbox(e)},e.prototype.rawBBox=function(){return this.rect().bbox()},e.prototype._containsPoint=function(t){return this.rect().containsPoint(t)},Object.defineProperties(e.prototype,o),e}(st(Lt(nt,["position"]))),ge=function(t){function e(e,n,o){void 0===n&&(n=new K),void 0===o&&(o={}),t.call(this,o),this.src(e),this.rect(n)}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Image"},e.prototype.src=function(t){return f(t)?(this.options.set("src",t),this):this.options.get("src")},e.prototype.bbox=function(t){var e=Q(this.currentTransform(t));return this._rect.bbox(e)},e.prototype.rawBBox=function(){return this._rect.bbox()},e.prototype._containsPoint=function(t){return this._rect.containsPoint(t)},e.prototype._hasFill=function(){return this.src()},Object.defineProperties(e.prototype,o),e}(ht(nt,["rect"])),me=function(t,e){return function(t){function o(){t.apply(this,arguments)}return n(o,t),o.prototype=Object.create(t&&t.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor,o.prototype.traverse=function(t){for(var n=this[e],o=0;o<n.length;o++){var r=n[o];r.traverse?r.traverse(t):t(r)}return this},o}(t)},ve=function(t){function e(e){t.call(this,e),this.children=[]}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Group"},e.prototype.childrenChange=function(t,e,n){this.trigger("childrenChange",{action:t,items:e,index:n})},e.prototype.append=function(){return c(this.children,arguments),this._reparent(arguments,this),this.childrenChange("add",arguments),this},e.prototype.insert=function(t,e){return this.children.splice(t,0,e),e.parent=this,this.childrenChange("add",[e],t),this},e.prototype.insertAt=function(t,e){return this.insert(e,t)},e.prototype.remove=function(t){var e=this.children.indexOf(t);return e>=0&&(this.children.splice(e,1),t.parent=null,this.childrenChange("remove",[t],e)),this},e.prototype.removeAt=function(t){if(0<=t&&t<this.children.length){var e=this.children[t];this.children.splice(t,1),e.parent=null,this.childrenChange("remove",[e],t)}return this},e.prototype.clear=function(){var t=this.children;return this.children=[],this._reparent(t,null),this.childrenChange("remove",t,0),this},e.prototype.bbox=function(t){return ce(this.children,!0,this.currentTransform(t))},e.prototype.rawBBox=function(){return ce(this.children,!1)},e.prototype._clippedBBox=function(t){return he(this.children,this.currentTransform(t))},e.prototype.currentTransform=function(t){return nt.prototype.currentTransform.call(this,t)||null},e.prototype.containsPoint=function(t,e){if(this.visible())for(var n=this.children,o=this.currentTransform(e),r=0;r<n.length;r++)if(n[r].containsPoint(t,o))return!0;return!1},e.prototype._reparent=function(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=o.parent;r&&r!==this&&r.remove&&r.remove(o),o.parent=e}},Object.defineProperties(e.prototype,o),e}(me(nt,"children"));function xe(t,e,n){var o=n.transform()||et(),r=o.matrix();r.e+=t.x-e.origin.x,r.f+=t.y-e.origin.y,o.matrix(r),n.transform(o)}function we(t,e,n,o,r){return"start"===n?e.origin[o]:"end"===n?e.origin[o]+e.size[r]-t:e.origin[o]+(e.size[r]-t)/2}function be(t,e,n,o,r){return"start"===n?e.origin[o]+e.size[r]-t:"end"===n?e.origin[o]:e.origin[o]+(e.size[r]-t)/2}var _e={alignContent:"start",justifyContent:"start",alignItems:"start",spacing:0,orientation:"horizontal",lineSpacing:0,wrap:!0,revers:!1},Ce=function(t,e){t.forEach(e)},Te=function(t,e){for(var n=t.length-1;n>=0;n--)e(t[n],n)},ke=function(e){function o(n,o){e.call(this,t.extend({},_e,o)),this._rect=n,this._fieldMap={}}return n(o,e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor,o.prototype.rect=function(t){return t?(this._rect=t,this):this._rect},o.prototype._initMap=function(){var t=this.options,e=this._fieldMap;"horizontal"===t.orientation?(e.sizeField="width",e.groupsSizeField="height",e.groupAxis="x",e.groupsAxis="y"):(e.sizeField="height",e.groupsSizeField="width",e.groupAxis="y",e.groupsAxis="x"),t.reverse?(this.forEach=Te,this.justifyAlign=be):(this.forEach=Ce,this.justifyAlign=we)},o.prototype.reflow=function(){if(this._rect&&0!==this.children.length){this._initMap(),this.options.transform&&this.transform(null);for(var t,e,n,o=this.options,r=this._rect,i=this._initGroups(),s=i.groups,a=i.groupsSize,p=this._fieldMap,c=p.sizeField,h=p.groupsSizeField,u=p.groupAxis,l=p.groupsAxis,f=new Z,d=new Z,y=new J,g=we(a,r,o.alignContent,l,h),m=function(r,i){var s=e.elements[i];d[u]=t,d[l]=we(r.size[h],n,o.alignItems,l,h),xe(d,r,s),t+=r.size[c]+o.spacing},v=0;v<s.length;v++)e=s[v],f[u]=t=this.justifyAlign(e.size,r,o.justifyContent,u,c),f[l]=g,y[c]=e.size,y[h]=e.lineSize,n=new K(f,y),this.forEach(e.bboxes,m),g+=e.lineSize+o.lineSpacing;if(!o.wrap&&e.size>r.size[c]){var x=r.size[c]/n.size[c],w=n.topLeft().scale(x,x),b=we(n.size[h]*x,r,o.alignContent,l,h),_=et();"x"===u?_.translate(r.origin.x-w.x,b-w.y):_.translate(b-w.x,r.origin.y-w.y),_.scale(x,x),this.transform(_)}}},o.prototype._initGroups=function(){for(var t=this,e=this.options,n=this.children,o=e.lineSpacing,r=e.wrap,i=e.spacing,s=this._fieldMap.sizeField,a=this._newGroup(),p=[],c=function(){p.push(a),h+=a.lineSize+o},h=-o,u=0;u<n.length;u++){var l=n[u],f=n[u].clippedBBox();l.visible()&&f&&(r&&a.size+f.size[s]+i>t._rect.size[s]?0===a.bboxes.length?(t._addToGroup(a,f,l),c(),a=t._newGroup()):(c(),a=t._newGroup(),t._addToGroup(a,f,l)):t._addToGroup(a,f,l))}return a.bboxes.length&&c(),{groups:p,groupsSize:h}},o.prototype._addToGroup=function(t,e,n){t.size+=e.size[this._fieldMap.sizeField]+this.options.spacing,t.lineSize=Math.max(e.size[this._fieldMap.groupsSizeField],t.lineSize),t.bboxes.push(e),t.elements.push(n)},o.prototype._newGroup=function(){return{lineSize:0,size:-this.options.spacing,bboxes:[],elements:[]}},o}(ve),Oe=function(t){function e(e,n){void 0===e&&(e=new K),void 0===n&&(n={}),t.call(this,n),this.geometry(e),f(this.options.stroke)||this.stroke("#000")}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Rect"},e.prototype._bbox=function(t){return this._geometry.bbox(t)},e.prototype.rawBBox=function(){return this._geometry.bbox()},e.prototype._containsPoint=function(t){return this._geometry.containsPoint(t)},e.prototype._isOnPath=function(t){return this.geometry()._isOnPath(t,this.options.stroke.width/2)},Object.defineProperties(e.prototype,o),e}(st(pt(ht(nt))));function Me(t,e,n,o,r){for(var i=0;i<t.length;i++){var s=t[i].clippedBBox();if(s){var a=s.origin.clone();a[o]=we(s.size[r],e,n||"start",o,r),xe(a,s,t[i])}}}function Se(t,e,n,o){if(t.length>1)for(var r=new Z,i=t[0].bbox,s=1;s<t.length;s++){var a=t[s].element,p=t[s].bbox;r[e]=i.origin[e]+i.size[o],r[n]=p.origin[n],xe(r,p,a),p.origin[e]=r[e],i=p}}function Ee(t){for(var e=[],n=0;n<t.length;n++){var o=t[n],r=o.clippedBBox();r&&e.push({element:o,bbox:r})}return e}function Ae(t,e,n,o,r){for(var i=function(t,e,n){for(var o,r,i=e.size[n],s=[],a=[],p=0,c=function(){a.push({element:o,bbox:r})},h=0;h<t.length;h++)if(o=t[h],r=o.clippedBBox()){var u=r.size[n];p+u>i?a.length?(s.push(a),a=[],c(),p=u):(c(),s.push(a),a=[],p=0):(c(),p+=u)}return a.length&&s.push(a),s}(t,e,r),s=e.origin.clone(),a=[],p=0;p<i.length;p++){var c=i[p],h=c[0];s[o]=h.bbox.origin[o],xe(s,h.bbox,h.element),h.bbox.origin[n]=s[n],Se(c,n,o,r),a.push([]);for(var u=0;u<c.length;u++)a[p].push(c[u].element)}return a}var Pe=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype._change=function(){this.optionsChange({field:"stops"})},e}(kt);function ze(t){return function(e){return f(e)?(this.options.set(t,e),this):this.options.get(t)}}var Ne,Re,je=function(t){function e(e,n,o){t.call(this),this.options=new U({offset:e,color:n,opacity:f(o)?o:1}),this.options.addObserver(this)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.create=function(t){if(f(t))return t instanceof e?t:t.length>1?new e(t[0],t[1],t[2]):new e(t.offset,t.color,t.opacity)},e}((Ne=["offset","color","opacity"],Re=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(p),function(t,e){for(var n=0;n<e.length;n++)t[e[n]]=ze(e[n])}(Re.prototype,Ne),Re)),Le=function(t){function e(e){void 0===e&&(e={}),t.call(this),this.stops=new Pe(this._createStops(e.stops)),this.stops.addObserver(this),this._userSpace=e.userSpace,this.id=y()}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={nodeType:{}};return o.nodeType.get=function(){return"Gradient"},e.prototype.userSpace=function(t){return f(t)?(this._userSpace=t,this.optionsChange(),this):this._userSpace},e.prototype._createStops=function(t){void 0===t&&(t=[]);for(var e=[],n=0;n<t.length;n++)e.push(je.create(t[n]));return e},e.prototype.addStop=function(t,e,n){this.stops.push(new je(t,e,n))},e.prototype.removeStop=function(t){var e=this.stops.indexOf(t);e>=0&&this.stops.splice(e,1)},e.prototype.optionsChange=function(t){this.trigger("optionsChange",{field:"gradient"+(t?"."+t.field:""),value:this})},e.prototype.geometryChange=function(){this.optionsChange()},Object.defineProperties(e.prototype,o),e}(p),Be=function(t){function e(e){void 0===e&&(e={}),t.call(this,e),this.start(e.start||new Z),this.end(e.end||new Z(1,0))}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e}(Lt(Le,["start","end"])),Fe=function(t){function e(e){void 0===e&&(e={}),t.call(this,e),this.center(e.center||new Z),this._radius=f(e.radius)?e.radius:1,this._fallbackFill=e.fallbackFill}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.radius=function(t){return f(t)?(this._radius=t,this.geometryChange(),this):this._radius},e.prototype.fallbackFill=function(t){return f(t)?(this._fallbackFill=t,this.optionsChange(),this):this._fallbackFill},e}(Lt(Le,["center"]));var De,Ie,He={swing:function(t){return.5-Math.cos(t*Math.PI)/2},linear:function(t){return t},easeOutElastic:function(t,e,n,o){var r=1.70158,i=0,s=o;return 0===t?n:1===t?n+o:(i||(i=.5),s<Math.abs(o)?(s=o,r=i/4):r=i/(2*Math.PI)*Math.asin(o/s),s*Math.pow(2,-10*t)*Math.sin((Number(t)-r)*(1.1*Math.PI)/i)+o+n)}},qe=function(t){function e(){t.call(this),this._items=[]}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={current:{}};return o.current.get=function(){return De||(De=new e),De},e.prototype.register=function(t,e){this._items.push({name:t,type:e})},e.prototype.create=function(t,e){var n,o=this._items;if(e&&e.type)for(var r=e.type.toLowerCase(),i=0;i<o.length;i++)if(o[i].name.toLowerCase()===r){n=o[i];break}if(n)return new n.type(t,e)},Object.defineProperties(e,o),e}(o),Ge=function(e){function o(n,o){e.call(this),this.options=t.extend({},this.options,o),this.element=n}n(o,e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor;var r={options:{}};return o.create=function(t,e,n){return qe.current.create(t,e,n)},r.options.get=function(){return this._options||{duration:500,easing:"swing"}},r.options.set=function(t){this._options=t},o.prototype.setup=function(){},o.prototype.step=function(){},o.prototype.play=function(){var t=this,e=this.options,n=e.duration,o=e.delay;void 0===o&&(o=0);var r=He[e.easing],i=E()+o,s=i+n;0===n?(this.step(1),this.abort()):setTimeout((function(){var e=function(){if(!t._stopped){var o=E(),a=M(o-i,0,n),p=r(a/n,a,0,1,n);t.step(p),o<s?kendo.animationFrame(e):t.abort()}};e()}),o)},o.prototype.abort=function(){this._stopped=!0},o.prototype.destroy=function(){this.abort()},Object.defineProperties(o.prototype,r),o}(o),$e=function(t){function e(){t.apply(this,arguments)}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={current:{}};return o.current.get=function(){return Ie||(Ie=new e),Ie},e.prototype.parse=function(t,e){return pe(new fe(e),t)},Object.defineProperties(e,o),e}(o),Ve=function(t){function e(e){t.call(this),this.childNodes=[],this.parent=null,e&&(this.srcElement=e,this.observe())}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.destroy=function(){this.srcElement&&this.srcElement.removeObserver(this);for(var t=this.childNodes,e=0;e<t.length;e++)this.childNodes[e].destroy();this.parent=null},e.prototype.load=function(){},e.prototype.observe=function(){this.srcElement&&this.srcElement.addObserver(this)},e.prototype.append=function(t){this.childNodes.push(t),t.parent=this},e.prototype.insertAt=function(t,e){this.childNodes.splice(e,0,t),t.parent=this},e.prototype.remove=function(t,e){for(var n=t+e,o=t;o<n;o++)this.childNodes[o].removeSelf();this.childNodes.splice(t,e)},e.prototype.removeSelf=function(){this.clear(),this.destroy()},e.prototype.clear=function(){this.remove(0,this.childNodes.length)},e.prototype.invalidate=function(){this.parent&&this.parent.invalidate()},e.prototype.geometryChange=function(){this.invalidate()},e.prototype.optionsChange=function(){this.invalidate()},e.prototype.childrenChange=function(t){"add"===t.action?this.load(t.items,t.index):"remove"===t.action&&this.remove(t.index,t.items.length),this.invalidate()},e}(o),Ue=["click","mouseenter","mouseleave","mousemove","resize"],Xe=function(e){function o(n,o){e.call(this),this.options=t.extend({},o),this.element=n,this.element._kendoExportVisual=this.exportVisual.bind(this),this._click=this._handler("click"),this._mouseenter=this._handler("mouseenter"),this._mouseleave=this._handler("mouseleave"),this._mousemove=this._handler("mousemove"),this._visual=new ve,B(n,this.options),this.bind(Ue,this.options),this._enableTracking()}return n(o,e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor,o.prototype.draw=function(t){this._visual.children.push(t)},o.prototype.clear=function(){this._visual.children=[]},o.prototype.destroy=function(){this._visual=null,this.element._kendoExportVisual=null,this.unbind()},o.prototype.eventTarget=function(t){for(var e,n=T(t);!e&&n&&(e=n._kendoNode,n!==this.element);)n=n.parentElement;if(e)return e.srcElement},o.prototype.exportVisual=function(){return this._visual},o.prototype.getSize=function(){return B(this.element)},o.prototype.currentSize=function(t){if(!t)return this._size;this._size=t},o.prototype.setSize=function(t){B(this.element,t),this.currentSize(t),this._resize()},o.prototype.resize=function(t){var e=this.getSize(),n=this.currentSize();(t||(e.width>0||e.height>0)&&(!n||e.width!==n.width||e.height!==n.height))&&(this.currentSize(e),this._resize(e,t),this.trigger("resize",e))},o.prototype.size=function(t){if(!t)return this.getSize();this.setSize(t)},o.prototype.suspendTracking=function(){this._suspendedTracking=!0},o.prototype.resumeTracking=function(){this._suspendedTracking=!1},o.prototype._enableTracking=function(){},o.prototype._resize=function(){},o.prototype._handler=function(t){var e=this;return function(n){var o=e.eventTarget(n);o&&!e._suspendedTracking&&e.trigger(t,{element:o,originalEvent:n,type:t})}},o.prototype._elementOffset=function(){var t=this.element,e=D(t),n=R(t),o=n.left,r=n.top;return{left:o+e.left,top:r+e.top}},o.prototype._surfacePoint=function(t){var e=this._elementOffset(),n=C(t),o=n.x-e.left,r=n.y-e.top,i=G(this.element).invert();return new Z(o,r).transform(i)},o}(kendo.Observable);function Ye(t,e){return f(e)&&null!==e?" "+t+'="'+e+'" ':""}function We(t){for(var e="",n=0;n<t.length;n++)e+=Ye(t[n][0],t[n][1]);return e}function Qe(t){for(var e="",n=0;n<t.length;n++){var o=t[n][1];f(o)&&(e+=t[n][0]+":"+o+";")}if(""!==e)return e}var Ze={},Je="http://www.w3.org/2000/svg",Ke="none",tn="data-style",en=function(t){return t.replace(/\sstyle=/g," "+tn+"=")},nn=function(t){Array.from(t.querySelectorAll("["+tn+"]")).forEach((function(t){var e=t.getAttribute(tn);t.removeAttribute(tn),function(t,e){t.split(";").filter((function(t){return""!==t})).forEach((function(t){var n=t.split(":");e.style[n[0].trim()]=n[1].trim()}))}(e,t)}))},on=function(t,e){t.innerHTML=en(e),nn(t)};if("undefined"!=typeof document){var rn="<svg xmlns='"+Je+"'></svg>",sn=document.createElement("div"),an="undefined"!=typeof DOMParser;sn.innerHTML=rn,an&&sn.firstChild.namespaceURI!==Je&&(on=function(t,e){var n=(new DOMParser).parseFromString(en(e),"text/xml");nn(n);var o=document.adoptNode(n.documentElement);t.innerHTML="",t.appendChild(o)})}var pn=on,cn="transform",hn={clip:"clip-path",fill:"fill"};function un(t,e){return"clip"===t||"fill"===t&&(!e||"Gradient"===e.nodeType)}var ln=function(t){function e(e,n){t.call(this,e),this.definitions={},this.options=n}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.destroy=function(){this.element&&(this.element._kendoNode=null,this.element=null),this.clearDefinitions(),t.prototype.destroy.call(this)},e.prototype.load=function(t,e){for(var n=this,o=0;o<t.length;o++){var r=t[o],i=r.children,s=new Ze[r.nodeType](r,n.options);f(e)?n.insertAt(s,e):n.append(s),s.createDefinitions(),i&&i.length>0&&s.load(i);var a=n.element;a&&s.attachTo(a,e)}},e.prototype.root=function(){for(var t=this;t.parent;)t=t.parent;return t},e.prototype.attachTo=function(t,e){var n=document.createElement("div");pn(n,"<svg xmlns='"+Je+"' version='1.1'>"+this.render()+"</svg>");var o=n.firstChild.firstChild;o&&(f(e)?t.insertBefore(o,t.childNodes[e]||null):t.appendChild(o),this.setElement(o))},e.prototype.setElement=function(t){this.element&&(this.element._kendoNode=null),this.element=t,this.element._kendoNode=this;for(var e=this.childNodes,n=0;n<e.length;n++){var o=t.childNodes[n];e[n].setElement(o)}},e.prototype.clear=function(){this.clearDefinitions(),this.element&&(this.element.innerHTML="");for(var t=this.childNodes,e=0;e<t.length;e++)t[e].destroy();this.childNodes=[]},e.prototype.removeSelf=function(){if(this.element){var e=this.element.parentNode;e&&e.removeChild(this.element),this.element=null}t.prototype.removeSelf.call(this)},e.prototype.template=function(){return this.renderChildren()},e.prototype.render=function(){return this.template()},e.prototype.renderChildren=function(){for(var t=this.childNodes,e="",n=0;n<t.length;n++)e+=t[n].render();return e},e.prototype.optionsChange=function(e){var n=e.field,o=e.value;"visible"===n?this.css("display",o?"":Ke):hn[n]&&un(n,o)?this.updateDefinition(n,o):"opacity"===n?this.attr("opacity",o):"cursor"===n?this.css("cursor",o):"id"===n&&(o?this.attr("id",o):this.removeAttr("id")),t.prototype.optionsChange.call(this,e)},e.prototype.accessibilityOptionsChange=function(t){var e=t.field,n=t.value;"role"===e?n?this.attr("role",n):this.removeAttr("role"):"ariaLabel"===e?n?this.attr("aria-label",n):this.removeAttr("aria-label"):"ariaRoleDescription"===e?n?this.attr("aria-roledescription",n):this.removeAttr("aria-roledescription"):"className"===e&&this.className(n)},e.prototype.attr=function(t,e){this.element&&this.element.setAttribute(t,e)},e.prototype.allAttr=function(t){for(var e=0;e<t.length;e++)this.attr(t[e][0],t[e][1])},e.prototype.css=function(t,e){this.element&&(this.element.style[t]=e)},e.prototype.allCss=function(t){for(var e=0;e<t.length;e++)this.css(t[e][0],t[e][1])},e.prototype.className=function(t){var e,n=this;this.element&&((e=this.element.classList).remove.apply(e,this.element.classList),t.split(" ").forEach((function(t){n.element.classList.add(t)})))},e.prototype.removeAttr=function(t){this.element&&this.element.removeAttribute(t)},e.prototype.mapTransform=function(t){var e=[];return t&&e.push([cn,"matrix("+t.matrix().toString(6)+")"]),e},e.prototype.renderTransform=function(){return We(this.mapTransform(this.srcElement.transform()))},e.prototype.transformChange=function(t){t?this.allAttr(this.mapTransform(t)):this.removeAttr(cn)},e.prototype.mapStyle=function(){var t=this.srcElement.options,e=[["cursor",t.cursor]];return!1===t.visible&&e.push(["display",Ke]),e},e.prototype.renderStyle=function(){return Ye("style",Qe(this.mapStyle(!0)))},e.prototype.renderOpacity=function(){return Ye("opacity",this.srcElement.options.opacity)},e.prototype.renderId=function(){return Ye("id",this.srcElement.options.id)},e.prototype.renderClassName=function(){return Ye("class",this.srcElement.options.className)},e.prototype.renderRole=function(){return Ye("role",this.srcElement.options.role)},e.prototype.renderAriaLabel=function(){return Ye("aria-label",this.srcElement.options.ariaLabel)},e.prototype.renderAriaRoleDescription=function(){return Ye("aria-roledescription",this.srcElement.options.ariaRoleDescription)},e.prototype.createDefinitions=function(){var t=this.srcElement,e=this.definitions;if(t){var n,o=t.options;for(var r in hn){var i=o.get(r);i&&un(r,i)&&(e[r]=i,n=!0)}n&&this.definitionChange({action:"add",definitions:e})}},e.prototype.definitionChange=function(t){this.parent&&this.parent.definitionChange(t)},e.prototype.updateDefinition=function(t,e){var n=this.definitions,o=n[t],r=hn[t],i={};o&&(i[t]=o,this.definitionChange({action:"remove",definitions:i}),delete n[t]),e?(i[t]=e,this.definitionChange({action:"add",definitions:i}),n[t]=e,this.attr(r,this.refUrl(e.id))):o&&this.removeAttr(r)},e.prototype.clearDefinitions=function(){var t=this.definitions;this.definitionChange({action:"remove",definitions:t}),this.definitions={}},e.prototype.renderDefinitions=function(){return We(this.mapDefinitions())},e.prototype.mapDefinitions=function(){var t=this.definitions,e=[];for(var n in t)e.push([hn[n],this.refUrl(t[n].id)]);return e},e.prototype.refUrl=function(t){var e=(this.options||{}).skipBaseHref,n=this.baseUrl().replace(/'/g,"\\'");return"url("+(e?"":n)+"#"+t+")"},e.prototype.baseUrl=function(){return function(){var t=document.getElementsByTagName("base")[0],e=document.location.href,n="";if(t&&!(i||{}).msie){var o=e.indexOf("#");-1!==o&&(e=e.substring(0,o)),n=e}return n}()},e}(Ve),fn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.template=function(){return"<stop "+this.renderOffset()+" "+this.renderStyle()+" />"},e.prototype.renderOffset=function(){return Ye("offset",this.srcElement.offset())},e.prototype.mapStyle=function(){var t=this.srcElement;return[["stop-color",t.color()],["stop-opacity",t.opacity()]]},e.prototype.optionsChange=function(t){"offset"===t.field?this.attr(t.field,t.value):"color"!==t.field&&"opacity"!==t.field||this.css("stop-"+t.field,t.value)},e}(ln),dn=function(t){function e(e){t.call(this,e),this.id=e.id,this.loadStops()}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.loadStops=function(){for(var t=this.srcElement.stops,e=this.element,n=0;n<t.length;n++){var o=new fn(t[n]);this.append(o),e&&o.attachTo(e)}},e.prototype.optionsChange=function(t){"gradient.stops"===t.field?(Ve.prototype.clear.call(this),this.loadStops()):"gradient"===t.field&&this.allAttr(this.mapCoordinates())},e.prototype.renderCoordinates=function(){return We(this.mapCoordinates())},e.prototype.mapSpace=function(){return["gradientUnits",this.srcElement.userSpace()?"userSpaceOnUse":"objectBoundingBox"]},e}(ln),yn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.template=function(){return"<linearGradient id='"+this.id+"' "+this.renderCoordinates()+">"+this.renderChildren()+"</linearGradient>"},e.prototype.mapCoordinates=function(){var t=this.srcElement,e=t.start(),n=t.end();return[["x1",e.x],["y1",e.y],["x2",n.x],["y2",n.y],this.mapSpace()]},e}(dn),gn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.template=function(){return"<radialGradient id='"+this.id+"' "+this.renderCoordinates()+">"+this.renderChildren()+"</radialGradient>"},e.prototype.mapCoordinates=function(){var t=this.srcElement,e=t.center(),n=t.radius();return[["cx",e.x],["cy",e.y],["r",n],this.mapSpace()]},e}(dn),mn=function(t){function e(e){t.call(this),this.srcElement=e,this.id=e.id,this.load([e])}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.template=function(){return"<clipPath id='"+this.id+"'>"+this.renderChildren()+"</clipPath>"},e}(ln),vn=function(t){function e(){t.call(this),this.definitionMap={}}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.attachTo=function(t){this.element=t},e.prototype.template=function(){return"<defs>"+this.renderChildren()+"</defs>"},e.prototype.definitionChange=function(t){var e=t.definitions,n=t.action;"add"===n?this.addDefinitions(e):"remove"===n&&this.removeDefinitions(e)},e.prototype.createDefinition=function(t,e){var n;return"clip"===t?n=mn:"fill"===t&&(e instanceof Be?n=yn:e instanceof Fe&&(n=gn)),new n(e)},e.prototype.addDefinitions=function(t){for(var e in t)this.addDefinition(e,t[e])},e.prototype.addDefinition=function(t,e){var n=this.element,o=this.definitionMap,r=e.id,i=o[r];if(i)i.count++;else{var s=this.createDefinition(t,e);o[r]={element:s,count:1},this.append(s),n&&s.attachTo(this.element)}},e.prototype.removeDefinitions=function(t){for(var e in t)this.removeDefinition(t[e])},e.prototype.removeDefinition=function(t){var e=this.definitionMap,n=t.id,o=e[n];o&&(o.count--,0===o.count&&(this.remove(this.childNodes.indexOf(o.element),1),delete e[n]))},e}(ln),xn=function(t){function e(e){t.call(this),this.options=e,this.defs=new vn}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.attachTo=function(t){this.element=t,this.defs.attachTo(t.firstElementChild)},e.prototype.clear=function(){Ve.prototype.clear.call(this)},e.prototype.template=function(){return this.defs.render()+this.renderChildren()},e.prototype.definitionChange=function(t){this.defs.definitionChange(t)},e}(ln),wn={dot:[1.5,3.5],dash:[4,3.5],longdash:[8,3.5],dashdot:[3.5,3.5,1.5,3.5],longdashdot:[8,3.5,1.5,3.5],longdashdotdot:[8,3.5,1.5,3.5,1.5,3.5]},bn="solid",_n="butt",Cn={"fill.opacity":"fill-opacity","stroke.color":"stroke","stroke.width":"stroke-width","stroke.opacity":"stroke-opacity"},Tn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.geometryChange=function(){this.attr("d",this.renderData()),this.invalidate()},e.prototype.optionsChange=function(e){switch(e.field){case"fill":e.value?this.allAttr(this.mapFill(e.value)):this.removeAttr("fill");break;case"fill.color":this.allAttr(this.mapFill({color:e.value}));break;case"stroke":e.value?this.allAttr(this.mapStroke(e.value)):this.removeAttr("stroke");break;case"transform":this.transformChange(e.value);break;default:var n=Cn[e.field];n&&this.attr(n,e.value)}this.accessibilityOptionsChange(e),t.prototype.optionsChange.call(this,e)},e.prototype.content=function(){this.element&&(this.element.textContent=this.srcElement.content())},e.prototype.renderData=function(){return this.srcElement.toString(3)||void 0},e.prototype.mapStroke=function(t){var e=[];return t&&!k(t.color)?(e.push(["stroke",t.color]),e.push(["stroke-width",t.width]),e.push(["stroke-linecap",this.renderLinecap(t)]),e.push(["stroke-linejoin",t.lineJoin]),f(t.opacity)&&e.push(["stroke-opacity",t.opacity]),f(t.dashType)&&e.push(["stroke-dasharray",this.renderDashType(t)])):e.push(["stroke",Ke]),e},e.prototype.renderStroke=function(){return We(this.mapStroke(this.srcElement.options.stroke))},e.prototype.renderDashType=function(t){var e=t.dashType,n=t.width;if(void 0===n&&(n=1),e&&e!==bn){for(var o=wn[e.toLowerCase()],r=[],i=0;i<o.length;i++)r.push(o[i]*n);return r.join(" ")}},e.prototype.renderLinecap=function(t){var e=t.dashType,n=t.lineCap;return e&&"solid"!==e?_n:n},e.prototype.mapFill=function(t){var e=[];return t&&"Gradient"===t.nodeType||(t&&!k(t.color)?(e.push(["fill",t.color]),f(t.opacity)&&e.push(["fill-opacity",t.opacity])):e.push(["fill",Ke])),e},e.prototype.renderFill=function(){return We(this.mapFill(this.srcElement.options.fill))},e.prototype.template=function(){return"<path "+this.renderId()+" "+this.renderStyle()+" "+this.renderOpacity()+" "+Ye("d",this.renderData())+this.renderStroke()+this.renderFill()+this.renderDefinitions()+this.renderTransform()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+"></path>"},e}(ln),kn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderData=function(){return this.srcElement.toPath().toString(3)},e}(Tn),On=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.geometryChange=function(){var t=this.center();this.attr("cx",t.x),this.attr("cy",t.y),this.attr("r",this.radius()),this.invalidate()},e.prototype.center=function(){return this.srcElement.geometry().center},e.prototype.radius=function(){return this.srcElement.geometry().radius},e.prototype.template=function(){return"<circle "+this.renderId()+" "+this.renderStyle()+" "+this.renderOpacity()+"cx='"+this.center().x+"' cy='"+this.center().y+"' r='"+this.radius()+"'"+this.renderStroke()+" "+this.renderFill()+" "+this.renderDefinitions()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+this.renderTransform()+" ></circle>"},e}(Tn),Mn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.template=function(){return"<g"+(this.renderId()+this.renderTransform()+this.renderClassName()+this.renderStyle()+this.renderOpacity()+this.renderRole()+this.renderAriaLabel()+this.renderAriaRoleDescription()+this.renderDefinitions())+">"+this.renderChildren()+"</g>"},e.prototype.optionsChange=function(e){var n=e.field,o=e.value;"transform"===n&&this.transformChange(o),this.accessibilityOptionsChange(e),t.prototype.optionsChange.call(this,e)},e}(ln),Sn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.geometryChange=function(){this.allAttr(this.mapPosition()),this.invalidate()},e.prototype.optionsChange=function(e){"src"===e.field&&this.allAttr(this.mapSource()),t.prototype.optionsChange.call(this,e)},e.prototype.mapPosition=function(){var t=this.srcElement.rect(),e=t.topLeft();return[["x",e.x],["y",e.y],["width",t.width()+"px"],["height",t.height()+"px"]]},e.prototype.renderPosition=function(){return We(this.mapPosition())},e.prototype.mapSource=function(t){var e=this.srcElement.src();return t&&(e=kendo.htmlEncode(e)),[["xlink:href",e]]},e.prototype.renderSource=function(){return We(this.mapSource(!0))},e.prototype.template=function(){return"<image preserveAspectRatio='none' "+this.renderId()+" "+this.renderStyle()+" "+this.renderTransform()+" "+this.renderOpacity()+this.renderPosition()+" "+this.renderSource()+" "+this.renderDefinitions()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+"></image>"},e}(Tn),En=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderData=function(){return this.srcElement.toString(3)||"undefined"},e}(Tn),An=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.geometryChange=function(){var t=this.srcElement.geometry();this.attr("x",t.origin.x),this.attr("y",t.origin.y),this.attr("width",t.size.width),this.attr("height",t.size.height),this.attr("rx",t.cornerRadius[0]),this.attr("ry",t.cornerRadius[1]),this.invalidate()},e.prototype.size=function(){return this.srcElement.geometry().size},e.prototype.origin=function(){return this.srcElement.geometry().origin},e.prototype.rx=function(){return this.srcElement.geometry().cornerRadius[0]},e.prototype.ry=function(){return this.srcElement.geometry().cornerRadius[1]},e.prototype.template=function(){return"<rect "+this.renderId()+" "+this.renderStyle()+" "+this.renderOpacity()+" x='"+this.origin().x+"' y='"+this.origin().y+"' rx='"+this.rx()+"' ry='"+this.ry()+"' width='"+this.size().width+"' height='"+this.size().height+"' "+this.renderStroke()+" "+this.renderFill()+" "+this.renderDefinitions()+" "+this.renderTransform()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+" />"},e}(Tn),Pn=/&(?:[a-zA-Z]+|#\d+);/g;function zn(t){if(!t||"string"!=typeof t||!Pn.test(t))return t;var e=zn._element;return Pn.lastIndex=0,t.replace(Pn,(function(t){return e.innerHTML=t,e.textContent||e.innerText}))}"undefined"!=typeof document&&(zn._element=document.createElement("span"));var Nn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.geometryChange=function(){var t=this.pos();this.attr("x",t.x),this.attr("y",t.y),this.invalidate()},e.prototype.optionsChange=function(e){"font"===e.field?(this.attr("style",Qe(this.mapStyle())),this.geometryChange()):"content"===e.field&&t.prototype.content.call(this,this.srcElement.content()),t.prototype.optionsChange.call(this,e)},e.prototype.mapStyle=function(e){var n=t.prototype.mapStyle.call(this,e),o=this.srcElement.options.font;return e&&(o=kendo.htmlEncode(o)),n.push(["font",o],["white-space","pre"]),n},e.prototype.pos=function(){var t=this.srcElement.position(),e=this.srcElement.measure();return t.clone().setY(t.y+e.baseline)},e.prototype.renderContent=function(){var t=this.srcElement.content();return t=zn(t),t=kendo.htmlEncode(t),r.normalizeText(t)},e.prototype.renderTextAnchor=function(){var t;return!(this.options||{}).rtl||i.msie||i.edge||(t="end"),Ye("text-anchor",t)},e.prototype.template=function(){return"<text "+this.renderId()+" "+this.renderTextAnchor()+" "+this.renderStyle()+" "+this.renderOpacity()+"x='"+this.pos().x+"' y='"+this.pos().y+"' "+this.renderStroke()+" "+this.renderTransform()+" "+this.renderDefinitions()+this.renderFill()+this.renderClassName()+" "+this.renderRole()+this.renderAriaLabel()+" "+this.renderAriaRoleDescription()+">"+this.renderContent()+"</text>"},e}(Tn);Ze.Arc=kn,Ze.Circle=On,Ze.Group=Mn,Ze.Image=Sn,Ze.MultiPath=En,Ze.Path=Tn,Ze.Rect=An,Ze.Text=Nn;var Rn=function(e){function o(n,o){e.call(this,n,o),this._root=new xn(t.extend({rtl:"rtl"===j(n,"direction").direction},this.options)),pn(this.element,this._template("")),this._rootElement=this.element.firstElementChild,this._rootElement.style.width="100%",this._rootElement.style.height="100%",this._rootElement.style.overflow="hidden",function(t){var e;try{e=t.getScreenCTM?t.getScreenCTM():null}catch(t){}if(e){var n=-e.e%1,o=-e.f%1,r=t.style;0===n&&0===o||(r.left=n+"px",r.top=o+"px")}}(this._rootElement),this._root.attachTo(this._rootElement),N(this.element,{click:this._click,mouseover:this._mouseenter,mouseout:this._mouseleave,mousemove:this._mousemove}),this.resize()}n(o,e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor;var r={type:{}};return r.type.get=function(){return"svg"},o.prototype.destroy=function(){this._root&&(this._root.destroy(),this._root=null,this._rootElement=null,F(this.element,{click:this._click,mouseover:this._mouseenter,mouseout:this._mouseleave,mousemove:this._mousemove})),e.prototype.destroy.call(this)},o.prototype.translate=function(t){var e=Math.round(t.x)+" "+Math.round(t.y)+" "+this._size.width+" "+this._size.height;this._offset=t,this._rootElement.setAttribute("viewBox",e)},o.prototype.draw=function(t){e.prototype.draw.call(this,t),this._root.load([t])},o.prototype.clear=function(){e.prototype.clear.call(this),this._root.clear()},o.prototype.svg=function(){return"<?xml version='1.0' ?>"+this._template()},o.prototype.exportVisual=function(){var t=this._visual,e=this._offset;if(e){var n=new ve;n.children.push(t),n.transform(et().translate(-e.x,-e.y)),t=n}return t},o.prototype._resize=function(){this._offset&&this.translate(this._offset)},o.prototype._template=function(t){return"<svg "+("string"==typeof t?t:"style='width: 100%; height: 100%; overflow: hidden;' ")+"xmlns='"+Je+"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>"+this._root.render()+"</svg>"},Object.defineProperties(o.prototype,r),o}(Xe),jn={};function Ln(t,e){var n=e.segments;if(0!==n.length){var o=n[0],r=o.anchor();t.moveTo(r.x,r.y);for(var i=1;i<n.length;i++){r=(o=n[i]).anchor();var s=n[i-1].controlOut(),a=o.controlIn();s&&a?t.bezierCurveTo(s.x,s.y,a.x,a.y,r.x,r.y):t.lineTo(r.x,r.y)}e.options.closed&&t.closePath()}}var Bn=function(t){function e(e){t.call(this,e),e&&this.initClip()}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.initClip=function(){var t=this.srcElement.clip();t&&(this.clip=t,t.addObserver(this))},e.prototype.clear=function(){this.srcElement&&this.srcElement.removeObserver(this),this.clearClip(),t.prototype.clear.call(this)},e.prototype.clearClip=function(){this.clip&&(this.clip.removeObserver(this),delete this.clip)},e.prototype.setClip=function(t){this.clip&&(t.beginPath(),Ln(t,this.clip),t.clip())},e.prototype.optionsChange=function(e){"clip"===e.field&&(this.clearClip(),this.initClip()),t.prototype.optionsChange.call(this,e)},e.prototype.setTransform=function(t){if(this.srcElement){var e=this.srcElement.transform();e&&t.transform.apply(t,e.matrix().toArray(6))}},e.prototype.loadElements=function(t,e,n){for(var o=0;o<t.length;o++){var r=t[o],i=r.children,s=new jn[r.nodeType](r,n);i&&i.length>0&&s.load(i,e,n),f(e)?this.insertAt(s,e):this.append(s)}},e.prototype.load=function(t,e,n){this.loadElements(t,e,n),this.invalidate()},e.prototype.setOpacity=function(t){if(this.srcElement){var e=this.srcElement.opacity();f(e)&&this.globalAlpha(t,e)}},e.prototype.globalAlpha=function(t,e){var n=e;n&&t.globalAlpha&&(n*=t.globalAlpha),t.globalAlpha=n},e.prototype.visible=function(){var t=this.srcElement;return!t||t&&!1!==t.options.visible},e}(Ve),Fn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderTo=function(t){if(this.visible()){t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t);for(var e=this.childNodes,n=0;n<e.length;n++){var o=e[n];o.visible()&&o.renderTo(t)}t.restore()}},e}(me(Bn,"childNodes")),Dn=function(t){function e(e,n){t.call(this),this.canvas=e,this.size=n,this.ctx=e.getContext("2d");var o=this._invalidate.bind(this);this.invalidate=kendo.throttle((function(){kendo.animationFrame(o)}),16.666666666666668)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.destroy=function(){t.prototype.destroy.call(this),this.canvas=null,this.ctx=null},e.prototype.load=function(t,e,n){this.loadElements(t,e,n),this._invalidate()},e.prototype._rescale=function(t){var e=this.canvas,n=this.size;e.width=n.width*t,e.height=n.height*t,this.ctx.scale(t,t)},e.prototype._devicePixelRatio=function(){return"number"==typeof window.devicePixelRatio?window.devicePixelRatio:1},e.prototype._invalidate=function(t){if(this.ctx){var e=t&&t.fixedScale?1:this._devicePixelRatio();this._rescale(e),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.renderTo(this.ctx)}},e}(me(Fn,"childNodes")),In=function(t){function e(){t.call(this),this.shapes=[]}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype._add=function(t,e){this.shapes.push({bbox:e,shape:t}),t._quadNode=this},e.prototype.pointShapes=function(t){for(var e=this.shapes,n=e.length,o=[],r=0;r<n;r++)e[r].bbox.containsPoint(t)&&o.push(e[r].shape);return o},e.prototype.insert=function(t,e){this._add(t,e)},e.prototype.remove=function(t){for(var e=this.shapes,n=e.length,o=0;o<n;o++)if(e[o].shape===t){e.splice(o,1);break}},e}(o),Hn=function(t){function e(e){t.call(this),this.children=[],this.rect=e}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.inBounds=function(t){var e=this.rect,n=e.bottomRight(),o=t.bottomRight(),r=e.origin.x<=t.origin.x&&e.origin.y<=t.origin.y&&o.x<=n.x&&o.y<=n.y;return r},e.prototype.pointShapes=function(e){for(var n=this.children,o=n.length,r=t.prototype.pointShapes.call(this,e),i=0;i<o;i++)c(r,n[i].pointShapes(e));return r},e.prototype.insert=function(t,e){var n=this.children,o=!1;if(this.inBounds(e)){if(this.shapes.length<4)this._add(t,e);else{n.length||this._initChildren();for(var r=0;r<n.length;r++)if(n[r].insert(t,e)){o=!0;break}o||this._add(t,e)}o=!0}return o},e.prototype._initChildren=function(){var t=this.rect,n=this.children,o=t.center(),r=t.width()/2,i=t.height()/2;n.push(new e(new K([t.origin.x,t.origin.y],[r,i])),new e(new K([o.x,t.origin.y],[r,i])),new e(new K([t.origin.x,o.y],[r,i])),new e(new K([o.x,o.y],[r,i])))},e}(In),qn=3e3,Gn=function(t){function e(){t.call(this),this.initRoots()}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.initRoots=function(){this.rootMap={},this.root=new In,this.rootElements=[]},e.prototype.clear=function(){for(var t=this.rootElements,e=0;e<t.length;e++)this.remove(t[e]);this.initRoots()},e.prototype.pointShape=function(t){var e=(this.rootMap[Math.floor(t.x/qn)]||{})[Math.floor(t.y/qn)],n=this.root.pointShapes(t);e&&(n=n.concat(e.pointShapes(t))),this.assignZindex(n),n.sort($n);for(var o=0;o<n.length;o++)if(n[o].containsPoint(t))return n[o]},e.prototype.assignZindex=function(t){for(var e=0;e<t.length;e++){for(var n=t[e],o=0,r=Math.pow(1e4,75),i=[];n;)i.push(n),n=n.parent;for(;i.length;)o+=(((n=i.pop()).parent?n.parent.children:this.rootElements).indexOf(n)+1)*r,r/=1e4;t[e]._zIndex=o}},e.prototype.optionsChange=function(t){"transform"!==t.field&&"stroke.width"!==t.field||this.bboxChange(t.element)},e.prototype.geometryChange=function(t){this.bboxChange(t.element)},e.prototype.bboxChange=function(t){if("Group"===t.nodeType)for(var e=0;e<t.children.length;e++)this.bboxChange(t.children[e]);else t._quadNode&&t._quadNode.remove(t),this._insertShape(t)},e.prototype.add=function(t){var e=Array.isArray(t)?t.slice(0):[t];c(this.rootElements,e),this._insert(e)},e.prototype.childrenChange=function(t){if("remove"===t.action)for(var e=0;e<t.items.length;e++)this.remove(t.items[e]);else this._insert(Array.prototype.slice.call(t.items,0))},e.prototype._insert=function(t){for(var e;t.length>0;)(e=t.pop()).addObserver(this),"Group"===e.nodeType?c(t,e.children):this._insertShape(e)},e.prototype._insertShape=function(t){var e=t.bbox();if(e){var n=this.getSectors(e),o=n[0][0],r=n[1][0];if(this.inRoot(n))this.root.insert(t,e);else{var i=this.rootMap;i[o]||(i[o]={}),i[o][r]||(i[o][r]=new Hn(new K([o*qn,r*qn],[qn,qn]))),i[o][r].insert(t,e)}}},e.prototype.remove=function(t){if(t.removeObserver(this),"Group"===t.nodeType)for(var e=t.children,n=0;n<e.length;n++)this.remove(e[n]);else t._quadNode&&(t._quadNode.remove(t),delete t._quadNode)},e.prototype.inRoot=function(t){return t[0].length>1||t[1].length>1},e.prototype.getSectors=function(t){for(var e=t.bottomRight(),n=Math.floor(e.x/qn),o=Math.floor(e.y/qn),r=[[],[]],i=Math.floor(t.origin.x/qn);i<=n;i++)r[0].push(i);for(var s=Math.floor(t.origin.y/qn);s<=o;s++)r[1].push(s);return r},e}(o);function $n(t,e){return t._zIndex<e._zIndex?1:t._zIndex>e._zIndex?-1:0}var Vn=function(t){t.bind("mouseenter",this._mouseenter.bind(this)),t.bind("mouseleave",this._mouseleave.bind(this)),this.element=t.element};Vn.prototype.clear=function(){this._resetCursor()},Vn.prototype.destroy=function(){this._resetCursor(),delete this.element},Vn.prototype._mouseenter=function(t){var e=this._shapeCursor(t);e?(this._current||(this._defaultCursor=this._getCursor()),this._setCursor(e)):this._resetCursor()},Vn.prototype._mouseleave=function(){this._resetCursor()},Vn.prototype._shapeCursor=function(t){for(var e=t.element;e&&!f(e.options.cursor);)e=e.parent;if(e)return e.options.cursor},Vn.prototype._getCursor=function(){if(this.element)return this.element.style.cursor},Vn.prototype._setCursor=function(t){this.element&&(this.element.style.cursor=t,this._current=t)},Vn.prototype._resetCursor=function(){this._current&&(this._setCursor(this._defaultCursor||""),delete this._current)};var Un=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderTo=function(t){t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t),t.beginPath(),this.renderPoints(t,this.srcElement),this.setLineDash(t),this.setLineCap(t),this.setLineJoin(t),this.setFill(t),this.setStroke(t),t.restore()},e.prototype.setFill=function(t){var e=this.srcElement.options.fill,n=!1;return e&&("Gradient"===e.nodeType?(this.setGradientFill(t,e),n=!0):k(e.color)||(t.fillStyle=e.color,t.save(),this.globalAlpha(t,e.opacity),t.fill(),t.restore(),n=!0)),n},e.prototype.setGradientFill=function(t,e){var n,o=this.srcElement.rawBBox();if(e instanceof Be){var r=e.start(),i=e.end();n=t.createLinearGradient(r.x,r.y,i.x,i.y)}else if(e instanceof Fe){var s=e.center();n=t.createRadialGradient(s.x,s.y,0,s.x,s.y,e.radius())}!function(t,e){for(var n=0;n<e.length;n++){var o=e[n],r=kendo.parseColor(o.color());r.a*=o.opacity(),t.addColorStop(o.offset(),r.toCssRgba())}}(n,e.stops),t.save(),e.userSpace()||t.transform(o.width(),0,0,o.height(),o.origin.x,o.origin.y),t.fillStyle=n,t.fill(),t.restore()},e.prototype.setStroke=function(t){var e=this.srcElement.options.stroke;if(e&&!k(e.color)&&e.width>0)return t.strokeStyle=e.color,t.lineWidth=z(e.width,1),t.save(),this.globalAlpha(t,e.opacity),t.stroke(),t.restore(),!0},e.prototype.dashType=function(){var t=this.srcElement.options.stroke;if(t&&t.dashType)return t.dashType.toLowerCase()},e.prototype.setLineDash=function(t){var e=this.dashType();if(e&&e!==bn){var n=wn[e];t.setLineDash?t.setLineDash(n):(t.mozDash=n,t.webkitLineDash=n)}},e.prototype.setLineCap=function(t){var e=this.dashType(),n=this.srcElement.options.stroke;e&&e!==bn?t.lineCap=_n:n&&n.lineCap&&(t.lineCap=n.lineCap)},e.prototype.setLineJoin=function(t){var e=this.srcElement.options.stroke;e&&e.lineJoin&&(t.lineJoin=e.lineJoin)},e.prototype.renderPoints=function(t,e){Ln(t,e)},e}(Bn),Xn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderPoints=function(t){Ln(t,this.srcElement.toPath())},e}(Un),Yn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderPoints=function(t){var e=this.srcElement.geometry(),n=e.center,o=e.radius;t.arc(n.x,n.y,o,0,2*Math.PI)},e}(Un),Wn=function(t){function e(e,n){t.call(this,e),this.onLoad=this.onLoad.bind(this),this.onError=this.onError.bind(this),this.loading=s();var o=this.img=new Image,r=e.src();n&&!/^data:/i.test(r)&&(o.crossOrigin=n),r&&(o.src=r),o.complete?this.onLoad():(o.onload=this.onLoad,o.onerror=this.onError)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderTo=function(t){"resolved"===this.loading.state()&&(t.save(),this.setTransform(t),this.setClip(t),this.drawImage(t),t.restore())},e.prototype.optionsChange=function(e){"src"===e.field?(this.loading=s(),this.img.src=this.srcElement.src()):t.prototype.optionsChange.call(this,e)},e.prototype.onLoad=function(){this.loading.resolve(),this.invalidate()},e.prototype.onError=function(){this.loading.reject(new Error("Unable to load image '"+this.img.src+"'. Check for connectivity and verify CORS headers."))},e.prototype.drawImage=function(t){var e=this.srcElement.rect(),n=e.topLeft();t.drawImage(this.img,n.x,n.y,e.width(),e.height())},e}(Un),Qn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderPoints=function(t){for(var e=this.srcElement.paths,n=0;n<e.length;n++)Ln(t,e[n])},e}(Un),Zn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderPoints=function(e){var n=this.srcElement.geometry(),o=n.cornerRadius,r=o[0],i=o[1];if(0===r&&0===i){var s=n.origin,a=n.size;e.rect(s.x,s.y,a.width,a.height)}else t.prototype.renderPoints.call(this,e,le.fromRect(n))},e}(Un),Jn=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.renderTo=function(t){var e=this.srcElement,n=e.position(),o=e.measure();t.save(),this.setTransform(t),this.setClip(t),this.setOpacity(t),t.beginPath(),t.font=e.options.font,t.textAlign="left",this.setFill(t)&&t.fillText(e.content(),n.x,n.y+o.baseline),this.setStroke(t)&&(this.setLineDash(t),t.strokeText(e.content(),n.x,n.y+o.baseline)),t.restore()},e}(Un);jn.Arc=Xn,jn.Circle=Yn,jn.Group=Fn,jn.Image=Wn,jn.MultiPath=Qn,jn.Path=Un,jn.Rect=Zn,jn.Text=Jn;var Kn,to,eo=function(t){function e(e,n){t.call(this,e,n),this.element.innerHTML=this._template(this);var o=this.element.firstElementChild;o.style.width="100%",o.style.height="100%";var r=B(e);o.width=r.width,o.height=r.height,this._rootElement=o,this._root=new Dn(o,r),this._mouseTrackHandler=this._trackMouse.bind(this),N(this.element,{click:this._mouseTrackHandler,mousemove:this._mouseTrackHandler})}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={type:{}};return o.type.get=function(){return"canvas"},e.prototype.destroy=function(){t.prototype.destroy.call(this),this._root&&(this._root.destroy(),this._root=null),this._searchTree&&(this._searchTree.clear(),delete this._searchTree),this._cursor&&(this._cursor.destroy(),delete this._cursor),F(this.element,{click:this._mouseTrackHandler,mousemove:this._mouseTrackHandler})},e.prototype.draw=function(e){t.prototype.draw.call(this,e),this._root.load([e],void 0,this.options.cors),this._searchTree&&this._searchTree.add([e])},e.prototype.clear=function(){t.prototype.clear.call(this),this._root.clear(),this._searchTree&&this._searchTree.clear(),this._cursor&&this._cursor.clear()},e.prototype.eventTarget=function(t){if(this._searchTree){var e=this._surfacePoint(t);return this._searchTree.pointShape(e)}},e.prototype.image=function(){var t=this._root,e=this._rootElement,n=[];t.traverse((function(t){t.loading&&n.push(t.loading)}));var o=s(),r=function(){t._invalidate({fixedScale:!0});try{var n=e.toDataURL();o.resolve(n)}catch(t){o.reject(t)}};return a(n).then(r,r),o},e.prototype.suspendTracking=function(){t.prototype.suspendTracking.call(this),this._searchTree&&(this._searchTree.clear(),delete this._searchTree)},e.prototype.resumeTracking=function(){if(t.prototype.resumeTracking.call(this),!this._searchTree){this._searchTree=new Gn;for(var e=this._root.childNodes,n=[],o=0;o<e.length;o++)n.push(e[o].srcElement);this._searchTree.add(n)}},e.prototype._resize=function(){this._rootElement.width=this._size.width,this._rootElement.height=this._size.height,this._root.size=this._size,this._root.invalidate()},e.prototype._template=function(){return"<canvas></canvas>"},e.prototype._enableTracking=function(){this._searchTree=new Gn,this._cursor=new Vn(this),t.prototype._enableTracking.call(this)},e.prototype._trackMouse=function(t){if(!this._suspendedTracking){var e=this.eventTarget(t);if("click"!==t.type){var n=this._currentShape;n&&n!==e&&this.trigger("mouseleave",{element:n,originalEvent:t,type:"mouseleave"}),e&&n!==e&&this.trigger("mouseenter",{element:e,originalEvent:t,type:"mouseenter"}),this.trigger("mousemove",{element:e,originalEvent:t,type:"mousemove"}),this._currentShape=e}else e&&this.trigger("click",{element:e,originalEvent:t,type:"click"})}},Object.defineProperties(e.prototype,o),e}(Xe),no=function(){return"undefined"!=typeof document},oo=function(t){function e(){t.call(this),this._items=[{name:"svg",type:Rn},{name:"canvas",type:eo}]}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={support:{},current:{}};return o.support.get=function(){return to||(to={canvas:no()&&document.createElement("canvas").getContext,svg:no()&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}),to},o.current.get=function(){return Kn||(Kn=new e),Kn},e.prototype.create=function(t,e){var n=this._items,o=n[0];if(e&&e.type)for(var r=e.type.toLowerCase(),i=0;i<n.length;i++)if(n[i].name===r){o=n[i];break}if(o)return new o.type(t,e);kendo.logToConsole("Warning: Unable to create Kendo UI Drawing Surface. Possible causes:\n- The browser does not support SVG and Canvas. User agent: "+navigator.userAgent)},Object.defineProperties(e,o),e}(o),ro=function(t){function e(){t.apply(this,arguments)}n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor;var o={support:{}};return o.support.get=function(){return oo.support},e.create=function(t,e){return oo.current.create(t,e)},Object.defineProperties(e,o),e}(Xe);function io(t){var e=new xn({skipBaseHref:!0}),n=t.clippedBBox(),o=t;if(n){var r=n.getOrigin(),i=new ve;i.transform(et().translate(-r.x,-r.y)),i.children.push(t),o=i}e.load([o]);var s="<?xml version='1.0' ?><svg xmlns='"+Je+"' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'>"+e.render()+"</svg>";return e.destroy(),s}var so={Surface:Rn,RootNode:xn,Node:ln,GroupNode:Mn,ArcNode:kn,CircleNode:On,RectNode:An,ImageNode:Sn,TextNode:Nn,PathNode:Tn,MultiPathNode:En,DefinitionNode:vn,ClipNode:mn,GradientStopNode:fn,LinearGradientNode:yn,RadialGradientNode:gn,exportGroup:io},ao={Surface:eo,RootNode:Dn,Node:Bn,GroupNode:Fn,ArcNode:Xn,CircleNode:Yn,RectNode:Zn,ImageNode:Wn,TextNode:Jn,PathNode:Un,MultiPathNode:Qn};var po=i||{};function co(t){return Array.prototype.slice.call(t)}var ho="KENDO-PSEUDO-ELEMENT",uo={},lo={};lo._root=lo;var fo=!!("undefined"!=typeof window)&&(po.msie||po.edge),yo=function(t){function e(e,n,o){t.call(this,e,n.getOrigin(),o),this._pdfRect=n}return n(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.rect=function(){return this._pdfRect},e.prototype.rawBBox=function(){return this._pdfRect},e}(ye);function go(t,e){Object.keys(e).forEach((function(n){t.style[n]=e[n]}))}var mo,vo="undefined"!=typeof Element&&Element.prototype&&((mo=Element.prototype).matches?function(t,e){return t.matches(e)}:mo.webkitMatchesSelector?function(t,e){return t.webkitMatchesSelector(e)}:mo.mozMatchesSelector?function(t,e){return t.mozMatchesSelector(e)}:mo.msMatchesSelector?function(t,e){return t.msMatchesSelector(e)}:function(t){return-1!==[].indexOf.call(document.querySelectorAll(t),this)});function xo(t,e){if(t.closest)return t.closest(e);for(;t&&!/^\[object (?:HTML)?Document\]$/.test(String(t));){if(1==t.nodeType&&vo(t,e))return t;t=t.parentNode}}var wo=function(t){return t?function e(n){var o=n.cloneNode(!1);if(1==n.nodeType){var r,i=t(n),s=t(o),a=i.data();for(r in a)s.data(r,a[r]);for(/^canvas$/i.test(n.tagName)?o.getContext("2d").drawImage(n,0,0):/^(?:input|select|textarea|option)$/i.test(n.tagName)&&(o.removeAttribute("id"),o.removeAttribute("name"),/^textarea$/i.test(n.tagName)||(o.value=n.value),o.checked=n.checked,o.selected=n.selected),r=n.firstChild;r;r=r.nextSibling)o.appendChild(e(r))}return o}:function(t){var e=function t(e){var n=e.cloneNode(!1);e._kendoExportVisual&&(n._kendoExportVisual=e._kendoExportVisual);for(var o=e.firstChild;o;o=o.nextSibling)n.appendChild(t(o));return n}(t),n=t.querySelectorAll("canvas");n.length&&co(e.querySelectorAll("canvas")).forEach((function(t,e){t.getContext("2d").drawImage(n[e],0,0)}));var o=t.querySelectorAll("input, select, textarea, option");return co(e.querySelectorAll("input, select, textarea, option")).forEach((function(t,e){t.removeAttribute("id"),t.removeAttribute("name"),/^textarea$/i.test(t.tagName)||(t.value=o[e].value),t.checked=o[e].checked,t.selected=o[e].selected})),e}}("undefined"!=typeof window&&window.kendo&&window.kendo.jQuery);var bo,_o=function(){var t=/^((-webkit-|-moz-|-o-|-ms-)?linear-gradient\s*)\(/,e=/^([-0-9.]+%)/,n=/^([-0-9.]+px)/,o=/^(left|right|top|bottom|to|center)\W/,r=/^([-0-9.]+(deg|grad|rad|turn)|0)/,i=/^(\s+)/,s=/^(\()/,a=/^(\))/,p=/^(,)/,c=/^(url)\(/,h=/^(.*?)\)/,u={},l={};function f(l){var f,d=l;if(Mo(u,d))return u[d];function y(t){!function(){var t=i.exec(l);t&&(l=l.substr(t[1].length))}();var e=t.exec(l);if(e)return l=l.substr(e[1].length),e[1]}function g(){var t,o,r=kendo.parseColor(l,!0);if(r){var i=/^#[0-9a-f]+/i.exec(l)||/^rgba?\(.*?\)/i.exec(l)||/^..*?\b/.exec(l);return l=l.substr(i[0].length),r=r.toRGB(),(t=y(n))||(o=y(e)),{color:r,length:t,percent:o}}}return(f=y(t))?f=function(t){var n,i,c,h=[],u=!1;if(y(s)){if("0"==(n=y(r))&&(n="0deg"),n?(n=function(t){var e=parseFloat(t);return/grad$/.test(t)?Math.PI*e/200:/rad$/.test(t)?e:/turn$/.test(t)?Math.PI*e*2:/deg$/.test(t)?Math.PI*e/180:void 0}(n),y(p)):("to"==(i=y(o))?i=y(o):i&&/^-/.test(t)&&(u=!0),c=y(o),y(p)),/-moz-/.test(t)&&null==n&&null==i){var f=y(e),d=y(e);u=!0,"0%"==f?i="left":"100%"==f&&(i="right"),"0%"==d?c="top":"100%"==d&&(c="bottom"),y(p)}for(;l&&!y(a);){var m=g();if(!m)break;h.push(m),y(p)}return{type:"linear",angle:n,to:i&&c?i+" "+c:i||c||null,stops:h,reverse:u}}}(f):(f=y(c))&&(f=function(){if(y(s)){var t=y(h);return t=t.replace(/^['"]+|["']+$/g,""),y(a),{type:"url",url:t}}}()),u[d]=f||{type:"none"}}return function(t){return Mo(l,t)?l[t]:l[t]=Co(t).map(f)}}(),Co=(bo={},function(t,e){e||(e=/^\s*,\s*/);var n=t+e;if(Mo(bo,n))return bo[n];var o,r=[],i=0,s=0,a=0,p=!1;function c(e){return o=e.exec(t.substr(s))}function h(t){return t.replace(/^\s+|\s+$/g,"")}for(;s<t.length;)!p&&c(/^[\(\[\{]/)?(a++,s++):!p&&c(/^[\)\]\}]/)?(a--,s++):!p&&c(/^[\"\']/)?(p=o[0],s++):"'"==p&&c(/^\\\'/)||'"'==p&&c(/^\\\"/)?s+=2:"'"==p&&c(/^\'/)||'"'==p&&c(/^\"/)?(p=!1,s++):c(e)?(!p&&!a&&s>i&&(r.push(h(t.substring(i,s))),i=s+o[0].length),s+=o[0].length):s++;return i<s&&r.push(h(t.substring(i,s))),bo[n]=r}),To=function(t){return function(e){var n,o=t[e];o||((n=/url\((['"]?)([^'")]*?)\1\)\s+format\((['"]?)truetype\3\)/.exec(e))||(n=/url\((['"]?)([^'")]*?\.ttf)\1\)/.exec(e)))&&(o=t[e]=n[2]);return o}}(Object.create?Object.create(null):{}),ko=function(t){return function(e){var n=t[e];return null==n&&(n=t[e]=r.measureText("Mapq",{font:e}).height),n}}(Object.create?Object.create(null):{});function Oo(t){null==t&&(t=document);for(var e={},n=0;n<t.styleSheets.length;++n)o(t.styleSheets[n]);return e;function o(t){if(t){var e=null;try{e=t.cssRules}catch(t){}e&&function(t,e){for(var n=0;n<e.length;++n){var s=e[n];switch(s.type){case 3:o(s.styleSheet);break;case 5:var a=s.style,p=Co(Io(a,"font-family")),c=/^([56789]00|bold)$/i.test(Io(a,"font-weight")),h="italic"==Io(a,"font-style"),u=r(s);u.length>0&&i(t,p,c,h,u[0])}}}(t,e)}}function r(t){var e=Io(t.style,"src");if(e)return Co(e).reduce((function(t,e){var n=To(e);return n&&t.push(n),t}),[]);var n=To(t.cssText);return n?[n]:[]}function i(t,n,o,r,i){/^data:/i.test(i)||/^[^\/:]+:\/\//.test(i)||/^\//.test(i)||(i=String(t.href).replace(/[^\/]*$/,"")+i),n.forEach((function(t){t=t.replace(/^(['"]?)(.*?)\1$/,"$2"),o&&(t+="|bold"),r&&(t+="|italic"),e[t]=i}))}}function Mo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function So(t,e){var n=lo;for(t="_counter_"+t;n&&!Mo(n,t);)n=Object.getPrototypeOf(n);n||(n=lo._root),n[t]=(n[t]||0)+(null==e?1:e)}function Eo(t,e){lo[t="_counter_"+t]=null==e?0:e}function Ao(t,e,n){for(var o=0;o<t.length;){var r=t[o++],i=parseFloat(t[o]);isNaN(i)?e(r,n):(e(r,i),++o)}}function Po(t){var e=Io(t,"counter-reset");e&&Ao(Co(e,/^\s+/),Eo,0);var n=Io(t,"counter-increment");n&&Ao(Co(n,/^\s+/),So,1)}function zo(t,e){var n=kendo.parseColor(t,!0);return n&&(n=n.toRGB(),e?n=n.toCssRgba():0===n.a&&(n=null)),n}function No(t,e){var n=0,o=!1;function r(){!o&&--n<=0&&(e(),o=!0)}t.forEach((function(t){for(var e=t.querySelectorAll("img"),o=0;o<e.length;++o){var i=e[o];i.complete||(n++,i.onload=i.onerror=r)}})),n||r()}function Ro(t,e){var n=[];function o(t){uo[t]||(uo[t]=!0,n.push(t))}t.forEach((function t(e){/^img$/i.test(e.tagName)&&o(e.src),_o(Io(Do(e),"background-image")).forEach((function(t){"url"==t.type&&o(t.url)})),e.children&&co(e.children).forEach(t)}));var r=n.length;function i(){--r<=0&&No(t,e)}0===r&&i(),n.forEach((function(t){var e=uo[t]=new window.Image;/^data:/i.test(t)||(e.crossOrigin="Anonymous"),e.src=t,e.complete?i():(e.onload=i,e.onerror=function(){uo[t]=null,i()})}))}function jo(t){var e="";do{var n=t%26;e=String.fromCharCode(97+n)+e,t=Math.floor(t/26)}while(t>0);return e}function Lo(t,e,n){(lo=Object.create(lo))[t.tagName.toLowerCase()]={element:t,style:e};var o=Io(e,"text-decoration");if(o&&"none"!=o){var r=Io(e,"text-decoration-color");o.split(/\s+/g).forEach((function(t){if(!lo[t]&&(lo[t]=r,"underline"==t)){var n=Io(e,"text-underline-offset");"auto"!=n&&(lo["underline-offset"]=parseFloat(n))}}))}(function(t){function e(e){return Io(t,e)}if("none"!=e("transform")||"static"!=e("position")||"auto"!=e("z-index")||e("opacity")<1)return!0})(e)&&(lo._stackingContext={element:t,group:n})}function Bo(){lo=Object.getPrototypeOf(lo)}function Fo(t){if(null!=lo._clipbox){var e=t.bbox(lo._matrix);lo._clipbox?lo._clipbox=K.intersect(lo._clipbox,e):lo._clipbox=e}}function Do(t,e){return window.getComputedStyle(t,e||null)}function Io(t,e,n){var o=t.getPropertyValue(e);return null!=o&&""!==o||(po.webkit?o=t.getPropertyValue("-webkit-"+e):po.mozilla?o=t.getPropertyValue("-moz-"+e):po.opera?o=t.getPropertyValue("-o-"+e):fo&&(o=t.getPropertyValue("-ms-"+e))),arguments.length>2&&(null==o||""===o)?n:o}function Ho(t,e,n,o){t.setProperty(e,n,o),po.webkit?t.setProperty("-webkit-"+e,n,o):po.mozilla?t.setProperty("-moz-"+e,n,o):po.opera?t.setProperty("-o-"+e,n,o):fo&&(t.setProperty("-ms-"+e,n,o),t[e="ms"+e.replace(/(^|-)([a-z])/g,(function(t,e,n){return e+n.toUpperCase()}))]=n)}function qo(t,e){return e="border-"+e,{width:parseFloat(Io(t,e+"-width")),style:Io(t,e+"-style"),color:zo(Io(t,e+"-color"),!0)}}function Go(t,e){var n=t.style.cssText,o=e();return t.style.cssText=n,o}function $o(t,e){var n=Io(t,"border-"+e+"-radius").split(/\s+/g).map(parseFloat);return 1==n.length&&n.push(n[0]),Zo({x:n[0],y:n[1]})}function Vo(t){var e=t.getBoundingClientRect();return e=Uo(e,"border-*-width",t),e=Uo(e,"padding-*",t)}function Uo(t,e,n){var o,r,i,s,a;return"string"==typeof e?(o=Do(n),r=parseFloat(Io(o,e.replace("*","top"))),i=parseFloat(Io(o,e.replace("*","right"))),s=parseFloat(Io(o,e.replace("*","bottom"))),a=parseFloat(Io(o,e.replace("*","left")))):"number"==typeof e&&(r=i=s=a=e),{top:t.top+r,right:t.right-i,bottom:t.bottom-s,left:t.left+a,width:t.right-t.left-i-a,height:t.bottom-t.top-s-r}}function Xo(t){return 180*t/Math.PI%360}function Yo(t,e){return e=new I(e[0],e[1],e[2],e[3],e[4],e[5]),t.transform(e),e}function Wo(t,e){t.clip(e)}function Qo(t,e,n,o){for(var r=new gt([e,n],o).curvePoints(),i=1;i<r.length;)t.curveTo(r[i++],r[i++],r[i++])}function Zo(t){return(t.x<=0||t.y<=0)&&(t.x=t.y=0),t}function Jo(t,e,n,o,r){var i=Math.max(0,e.x),s=Math.max(0,e.y),a=Math.max(0,n.x),p=Math.max(0,n.y),c=Math.max(0,o.x),h=Math.max(0,o.y),u=Math.max(0,r.x),l=Math.max(0,r.y),f=Math.min(t.width/(i+a),t.height/(p+h),t.width/(c+u),t.height/(l+s));return f<1&&(i*=f,s*=f,a*=f,p*=f,c*=f,h*=f,u*=f,l*=f),{tl:{x:i,y:s},tr:{x:a,y:p},br:{x:c,y:h},bl:{x:u,y:l}}}function Ko(t,e,n){var o=Do(t),r=$o(o,"top-left"),i=$o(o,"top-right"),s=$o(o,"bottom-left"),a=$o(o,"bottom-right");if("padding"==n||"content"==n){var p=qo(o,"top"),c=qo(o,"right"),h=qo(o,"bottom"),u=qo(o,"left");if(r.x-=u.width,r.y-=p.width,i.x-=c.width,i.y-=p.width,a.x-=c.width,a.y-=h.width,s.x-=u.width,s.y-=h.width,"content"==n){var l=parseFloat(Io(o,"padding-top")),f=parseFloat(Io(o,"padding-right")),d=parseFloat(Io(o,"padding-bottom")),y=parseFloat(Io(o,"padding-left"));r.x-=y,r.y-=l,i.x-=f,i.y-=l,a.x-=f,a.y-=d,s.x-=y,s.y-=d}}return"number"==typeof n&&(r.x-=n,r.y-=n,i.x-=n,i.y-=n,a.x-=n,a.y-=n,s.x-=n,s.y-=n),tr(e,r,i,a,s)}function tr(t,e,n,o,r){var i=Jo(t,e,n,o,r),s=i.tl,a=i.tr,p=i.br,c=i.bl,h=new le({fill:null,stroke:null});return h.moveTo(t.left,t.top+s.y),s.x&&Qo(h,t.left+s.x,t.top+s.y,{startAngle:-180,endAngle:-90,radiusX:s.x,radiusY:s.y}),h.lineTo(t.right-a.x,t.top),a.x&&Qo(h,t.right-a.x,t.top+a.y,{startAngle:-90,endAngle:0,radiusX:a.x,radiusY:a.y}),h.lineTo(t.right,t.bottom-p.y),p.x&&Qo(h,t.right-p.x,t.bottom-p.y,{startAngle:0,endAngle:90,radiusX:p.x,radiusY:p.y}),h.lineTo(t.left+c.x,t.bottom),c.x&&Qo(h,t.left+c.x,t.bottom-c.y,{startAngle:90,endAngle:180,radiusX:c.x,radiusY:c.y}),h.close()}function er(t,e){var n=String(parseFloat(t));switch(e){case"decimal-leading-zero":return n.length<2&&(n="0"+n),n;case"lower-roman":return u(t).toLowerCase();case"upper-roman":return u(t).toUpperCase();case"lower-latin":case"lower-alpha":return jo(t-1);case"upper-latin":case"upper-alpha":return jo(t-1).toUpperCase();default:return n}}function nr(t,e){function n(t,e,n){return n?(n=n.replace(/^\s*(["'])(.*)\1\s*$/,"$2"),function(t){var e=[],n=lo;for(t="_counter_"+t;n;)Mo(n,t)&&e.push(n[t]),n=Object.getPrototypeOf(n);return e.reverse()}(t).map((function(t){return er(t,e)})).join(n)):er(function(t){return lo[t="_counter_"+t]}(t)||0,e)}var o,r=Co(e,/^\s+/),i=[];return r.forEach((function(e){var r;(o=/^\s*(["'])(.*)\1\s*$/.exec(e))?i.push(o[2].replace(/\\([0-9a-f]{4})/gi,(function(t,e){return String.fromCharCode(parseInt(e,16))}))):(o=/^\s*counter\((.*?)\)\s*$/.exec(e))?(r=Co(o[1]),i.push(n(r[0],r[1]))):(o=/^\s*counters\((.*?)\)\s*$/.exec(e))?(r=Co(o[1]),i.push(n(r[0],r[2],r[1]))):(o=/^\s*attr\((.*?)\)\s*$/.exec(e))?i.push(t.getAttribute(o[1])||""):i.push(e)})),i.join("")}function or(t){if(t.cssText)return t.cssText;for(var e=[],n=0;n<t.length;++n)e.push(t[n]+": "+Io(t,t[n]));return e.join(";\n")}function rr(t,e){if(t.tagName!=ho){var n=[];if(r(":before",t.firstChild),r(":after",null),n.length>0){var o=t.className;t.className+=" kendo-pdf-hide-pseudo-elements",ir(t,e),t.className=o,n.forEach((function(e){t.removeChild(e)}))}else ir(t,e)}else ir(t,e);function r(e,o){var r=Do(t,e),i=r.content;if(Po(r),i&&"normal"!=i&&"none"!=i&&"0px"!=r.width){var s=t.ownerDocument.createElement(ho);s.style.cssText=or(r),s.textContent=nr(t,i),t.insertBefore(s,o),n.push(s)}}}function ir(t,e){var n=Do(t),o=qo(n,"top"),r=qo(n,"right"),i=qo(n,"bottom"),s=qo(n,"left"),a=$o(n,"top-left"),p=$o(n,"top-right"),c=$o(n,"bottom-left"),h=$o(n,"bottom-right"),l=Io(n,"direction"),f=Io(n,"background-color");f=zo(f);var d,y,g=_o(Io(n,"background-image")),m=Co(Io(n,"background-repeat")),v=Co(Io(n,"background-position")),x=Co(Io(n,"background-origin")),w=Co(Io(n,"background-size"));fo&&"ellipsis"==(d=n.textOverflow)&&(y=t.style.textOverflow,t.style.textOverflow="clip"),po.msie&&po.version<10&&(v=Co(t.currentStyle.backgroundPosition));var b,_,C,T=Uo(t.getBoundingClientRect(),"border-*-width",t);!function(){var t=Io(n,"clip"),o=/^\s*rect\((.*)\)\s*$/.exec(t);if(o){var r=o[1].split(/[ ,]+/g),i="auto"==r[0]?T.top:parseFloat(r[0])+T.top,s="auto"==r[1]?T.right:parseFloat(r[1])+T.left,a="auto"==r[2]?T.bottom:parseFloat(r[2])+T.top,p="auto"==r[3]?T.left:parseFloat(r[3])+T.left,c=new ve,h=(new le).moveTo(p,i).lineTo(s,i).lineTo(s,a).lineTo(p,a).close();Wo(c,h),e.append(c),e=c,Fo(h)}}();var k=Io(n,"display");if("table-row"==k)for(b=[],_=0,C=t.children;_<C.length;++_)b.push(C[_].getBoundingClientRect());else 1==(b=t.getClientRects()).length&&(b=[t.getBoundingClientRect()]);for(b=function(e){if(/^td$/i.test(t.tagName)){var n=lo.table;if(n&&"collapse"==Io(n.style,"border-collapse")){var o=qo(n.style,"left").width,r=qo(n.style,"top").width;if(0===o&&0===r)return e;var i=n.element.getBoundingClientRect(),s=n.element.rows[0].cells[0].getBoundingClientRect();if(s.top==i.top||s.left==i.left)return co(e).map((function(t){return{left:t.left+o,top:t.top+r,right:t.right+o,bottom:t.bottom+r,height:t.height,width:t.width}}))}}return e}(b),_=0;_<b.length;++_)E(b[_],0===_,_==b.length-1);if("A"==t.tagName&&t.href&&!/^#?$/.test(t.getAttribute("href"))&&(!lo._avoidLinks||!vo(t,lo._avoidLinks))){var O=document.createRange();O.selectNodeContents(t),co(O.getClientRects()).forEach((function(n){var o=new ve;o._pdfLink={url:t.href,top:n.top,right:n.right,bottom:n.bottom,left:n.left},e.append(o)}))}return b.length>0&&"list-item"==k&&!t.getAttribute("kendo-no-bullet")&&function(){var o=Io(n,"list-style-type");if("none"==o)return;var r=Io(n,"list-style-position");function i(n){Go(t,(function(){t.style.position="relative";var o=t.ownerDocument.createElement(ho);o.style.position="absolute",o.style.boxSizing="border-box","outside"==r?(o.style.width="6em",o.style.left="-6.8em",o.style.textAlign="right"):o.style.left="0px",n(o),t.insertBefore(o,t.firstChild),ur(o,e),t.removeChild(o)}))}function s(e){var n=t.parentNode.children,o=t.getAttribute("kendo-split-index");if(null!=o)return e(0|o,n.length);for(var r=0;r<n.length;++r)if(n[r]===t)return e(r,n.length)}switch(o){case"circle":case"disc":case"square":i((function(t){t.style.fontSize="60%",t.style.lineHeight="200%",t.style.paddingRight="0.5em",t.style.fontFamily="DejaVu Serif",t.innerHTML={disc:"●",circle:"◯",square:"■"}[o]}));break;case"decimal":case"decimal-leading-zero":i((function(t){s((function(e){++e,"decimal-leading-zero"==o&&e<10&&(e="0"+e),t.innerHTML=e+"."}))}));break;case"lower-roman":case"upper-roman":i((function(t){s((function(e){e=u(e+1),"upper-roman"==o&&(e=e.toUpperCase()),t.innerHTML=e+"."}))}));break;case"lower-latin":case"lower-alpha":case"upper-latin":case"upper-alpha":i((function(t){s((function(e){e=jo(e),/^upper/i.test(o)&&(e=e.toUpperCase()),t.innerHTML=e+"."}))}))}}(b[0]),function(){function o(){var n=Ko(t,T,"padding"),o=new ve;Wo(o,n),e.append(o),e=o,Fo(n)}!function(t){return/^(?:textarea|select|input)$/i.test(t.tagName)}(t)?(/^(hidden|auto|scroll)/.test(Io(n,"overflow"))||/^(hidden|auto|scroll)/.test(Io(n,"overflow-x"))||/^(hidden|auto|scroll)/.test(Io(n,"overflow-y")))&&o():o()}(),function(t,e){var n;if(t._kendoExportVisual)n=t._kendoExportVisual();else if(window.kendo&&window.kendo.jQuery&&t.getAttribute(window.kendo.attr("role"))){var o=window.kendo.widgetInstance(window.kendo.jQuery(t));o&&(o.exportDOMVisual||o.exportVisual)&&(n=o.exportDOMVisual?o.exportDOMVisual():o.exportVisual())}if(!n)return!1;var r=new ve;r.children.push(n);var i=t.getBoundingClientRect();return r.transform(et().translate(i.left,i.top)),e.append(r),!0}(t,e)||cr(t,e),fo&&"ellipsis"==d&&(t.style.textOverflow=y),e;function M(t,n,o,r,i,s,a,p){if(!(o<=0)){var c,h=new ve;Yo(h,p),e.append(h),Zo(s),Zo(a),c=new le({fill:{color:t},stroke:null}),h.append(c),c.moveTo(s.x?Math.max(s.x,r):0,0).lineTo(n-(a.x?Math.max(a.x,i):0),0).lineTo(n-Math.max(a.x,i),o).lineTo(Math.max(s.x,r),o).close(),s.x&&u(r,s,[-1,0,0,1,s.x,0]),a.x&&u(i,a,[1,0,0,1,n-a.x,0])}function u(e,n,r){var i=Math.PI/2*e/(e+o),s={x:n.x-e,y:n.y-o},a=new le({fill:{color:t},stroke:null}).moveTo(0,0);Yo(a,r),Qo(a,0,n.y,{startAngle:-90,endAngle:-Xo(i),radiusX:n.x,radiusY:n.y}),s.x>0&&s.y>0?(a.lineTo(s.x*Math.cos(i),n.y-s.y*Math.sin(i)),Qo(a,0,n.y,{startAngle:-Xo(i),endAngle:-90,radiusX:s.x,radiusY:s.y,anticlockwise:!0})):s.x>0?a.lineTo(s.x,o).lineTo(0,o):a.lineTo(s.x,o).lineTo(s.x,0),h.append(a.close())}}function S(e,n,o,r,i,s,a){var p;if(o&&"none"!=o)if("url"==o.type){var c=uo[o.url];c&&c.width>0&&c.height>0&&h(e,n,c.width,c.height,(function(t,e){t.append(new ge(o.url,e))}))}else{if("linear"!=o.type)return;h(e,n,n.width,n.height,(p=o,function(t,e){var n=e.width(),o=e.height();switch(p.type){case"linear":var r=null!=p.angle?p.angle:Math.PI;switch(p.to){case"top":r=0;break;case"left":r=-Math.PI/2;break;case"bottom":r=Math.PI;break;case"right":r=Math.PI/2;break;case"top left":case"left top":r=-Math.atan2(o,n);break;case"top right":case"right top":r=Math.atan2(o,n);break;case"bottom left":case"left bottom":r=Math.PI+Math.atan2(o,n);break;case"bottom right":case"right bottom":r=Math.PI-Math.atan2(o,n)}p.reverse&&(r-=Math.PI),(r%=2*Math.PI)<0&&(r+=2*Math.PI);var i=Math.abs(n*Math.sin(r))+Math.abs(o*Math.cos(r)),s=Math.atan(n*Math.tan(r)/o),a=Math.sin(s),c=Math.cos(s),h=Math.abs(a)+Math.abs(c),u=h/2*a,l=h/2*c;r>Math.PI/2&&r<=3*Math.PI/2&&(u=-u,l=-l);var f=[],d=0,y=p.stops.map((function(t,e){var n=t.percent;n?n=parseFloat(n)/100:t.length?n=parseFloat(t.length)/i:0===e?n=0:e==p.stops.length-1&&(n=1);var o={color:t.color.toCssRgba(),offset:n};return null!=n?(d=n,f.forEach((function(t,e){t.stop.offset=t.left+(d-t.left)*(e+1)/(f.length+1)})),f=[]):f.push({left:d,stop:o}),o})),g=[.5-u,.5+l],m=[.5+u,.5-l];t.append(le.fromRect(e).stroke(null).fill(new Be({start:g,end:m,stops:y,userSpace:!1})));break;case"radial":window.console&&window.console.log&&window.console.log("Radial gradients are not yet supported in HTML renderer")}}))}function h(e,n,o,p,c){var h,u=o/p,l=n;if("content-box"==s?(l=Uo(l,"border-*-width",t),l=Uo(l,"padding-*",t)):"padding-box"==s&&(l=Uo(l,"border-*-width",t)),!/^\s*auto(\s+auto)?\s*$/.test(a))if("contain"==a)h=Math.min(l.width/o,l.height/p),o*=h,p*=h;else if("cover"==a)h=Math.max(l.width/o,l.height/p),o*=h,p*=h;else{var f=a.split(/\s+/g);o=/%$/.test(f[0])?l.width*parseFloat(f[0])/100:parseFloat(f[0]),p=1==f.length||"auto"==f[1]?o/u:/%$/.test(f[1])?l.height*parseFloat(f[1])/100:parseFloat(f[1])}var d=String(i);switch(d){case"bottom":d="50% 100%";break;case"top":d="50% 0";break;case"left":d="0 50%";break;case"right":d="100% 50%";break;case"center":d="50% 50%"}1==(d=d.split(/\s+/)).length&&(d[1]="50%"),/%$/.test(d[0])?d[0]=parseFloat(d[0])/100*(l.width-o):d[0]=parseFloat(d[0]),/%$/.test(d[1])?d[1]=parseFloat(d[1])/100*(l.height-p):d[1]=parseFloat(d[1]);var y=new K([l.left+d[0],l.top+d[1]],[o,p]);function g(){for(;y.origin.x>n.left;)y.origin.x-=o}function m(){for(;y.origin.y>n.top;)y.origin.y-=p}function v(){for(;y.origin.x<n.right;)c(e,y.clone()),y.origin.x+=o}if("no-repeat"==r)c(e,y);else if("repeat-x"==r)g(),v();else if("repeat-y"==r)for(m();y.origin.y<n.bottom;)c(e,y.clone()),y.origin.y+=p;else if("repeat"==r){g(),m();for(var x=y.origin.clone();y.origin.y<n.bottom;)y.origin.x=x.x,v(),y.origin.y+=p}}}function E(n,u,d){if(0!==n.width&&0!==n.height){!function(t){var n=new ve;if(Wo(n,tr(t,a,p,h,c)),e.append(n),f){var o=new le({fill:{color:f.toCssRgba()},stroke:null});o.moveTo(t.left,t.top).lineTo(t.right,t.top).lineTo(t.right,t.bottom).lineTo(t.left,t.bottom).close(),n.append(o)}for(var r=g.length;--r>=0;)S(n,t,g[r],m[r%m.length],v[r%v.length],x[r%x.length],w[r%w.length])}(n);var y=s.width>0&&(u&&"ltr"==l||d&&"rtl"==l),b=r.width>0&&(d&&"ltr"==l||u&&"rtl"==l);if(0!==o.width||0!==s.width||0!==r.width||0!==i.width){if(o.color==r.color&&o.color==i.color&&o.color==s.color&&o.width==r.width&&o.width==i.width&&o.width==s.width&&y&&b){n=Uo(n,o.width/2);var _=Ko(t,n,o.width/2);return _.options.stroke={color:o.color,width:o.width},void e.append(_)}if(0===a.x&&0===p.x&&0===h.x&&0===c.x&&o.width<2&&s.width<2&&r.width<2&&i.width<2)return o.width>0&&e.append(new le({stroke:{width:o.width,color:o.color}}).moveTo(n.left,n.top+o.width/2).lineTo(n.right,n.top+o.width/2)),i.width>0&&e.append(new le({stroke:{width:i.width,color:i.color}}).moveTo(n.left,n.bottom-i.width/2).lineTo(n.right,n.bottom-i.width/2)),y&&e.append(new le({stroke:{width:s.width,color:s.color}}).moveTo(n.left+s.width/2,n.top).lineTo(n.left+s.width/2,n.bottom)),void(b&&e.append(new le({stroke:{width:r.width,color:r.color}}).moveTo(n.right-r.width/2,n.top).lineTo(n.right-r.width/2,n.bottom)));var C=Jo(n,a,p,h,c),T=C.tl,k=C.tr,O=C.br,E=C.bl;M(o.color,n.width,o.width,s.width,r.width,T,k,[1,0,0,1,n.left,n.top]),M(i.color,n.width,i.width,r.width,s.width,O,E,[-1,0,0,-1,n.right,n.bottom]),M(s.color,n.height,s.width,i.width,o.width,A(E),A(T),[0,-1,1,0,n.left,n.bottom]),M(r.color,n.height,r.width,o.width,i.width,A(k),A(O),[0,1,-1,0,n.right,n.top])}}function A(t){return{x:t.y,y:t.x}}}}function sr(t,e,n){var o=Vo(t),r=new K([o.left,o.top],[o.width,o.height]),i=new ge(e,r);Wo(i,Ko(t,o,"content")),n.append(i)}function ar(t,e){var n=Do(t),o=Do(e),r=parseFloat(Io(n,"z-index")),i=parseFloat(Io(o,"z-index")),s=Io(n,"position"),a=Io(o,"position");return isNaN(r)&&isNaN(i)?/static|absolute/.test(s)&&/static|absolute/.test(a)?0:"static"==s?-1:"static"==a?1:0:isNaN(r)?0===i?0:i>0?-1:1:isNaN(i)?0===r?0:r>0?1:-1:parseFloat(r)-parseFloat(i)}function pr(t,e){var n=t.tagName.toLowerCase();if("input"==n&&("checkbox"==t.type||"radio"==t.type))return function(t,e){var n=Io(Do(t),"color"),o=t.getBoundingClientRect();"checkbox"==t.type?(e.append(le.fromRect(new K([o.left+1,o.top+1],[o.width-2,o.height-2])).stroke(n,1)),t.checked&&e.append((new le).stroke(n,1.2).moveTo(o.left+.22*o.width,o.top+.55*o.height).lineTo(o.left+.45*o.width,o.top+.75*o.height).lineTo(o.left+.78*o.width,o.top+.22*o.width))):(e.append(new ut(new it([(o.left+o.right)/2,(o.top+o.bottom)/2],Math.min(o.width-2,o.height-2)/2)).stroke(n,1)),t.checked&&e.append(new ut(new it([(o.left+o.right)/2,(o.top+o.bottom)/2],Math.min(o.width-8,o.height-8)/2)).fill(n).stroke(null)))}(t,e);var o,r=t.parentNode,i=t.ownerDocument,s=i.createElement(ho);if(s.style.cssText=or(Do(t)),"input"==n&&(s.style.whiteSpace="pre"),"select"!=n&&"textarea"!=n||(s.style.overflow="auto"),"select"==n)if(t.multiple)for(var a=0;a<t.options.length;++a)(o=i.createElement(ho)).style.cssText=or(Do(t.options[a])),o.style.display="block",o.textContent=t.options[a].textContent,s.appendChild(o);else o=function(t){return t.selectedOptions&&t.selectedOptions.length>0?t.selectedOptions[0]:t.options[t.selectedIndex]}(t),o&&(s.textContent=o.textContent);else s.textContent=t.value;r.insertBefore(s,t),s.scrollLeft=t.scrollLeft,s.scrollTop=t.scrollTop,t.style.display="none",cr(s,e),t.style.display="",r.removeChild(s)}function cr(t,e){switch(lo._stackingContext.element===t&&(lo._stackingContext.group=e),t.tagName.toLowerCase()){case"img":sr(t,t.src,e);break;case"svg":var n=function(t){var e=new window.XMLSerializer,n=e.serializeToString(t);if(po.mozilla&&(!t.getAttribute("width")||!t.getAttribute("height"))){var o=(new window.DOMParser).parseFromString(n,"image/svg+xml").documentElement,r=Vo(t);o.setAttribute("width",r.width),o.setAttribute("height",r.height),n=e.serializeToString(o)}return n}(t);sr(t,"data:image/svg+xml;base64,"+_(n),e);break;case"canvas":try{sr(t,t.toDataURL("image/png"),e)}catch(t){}break;case"textarea":case"input":case"select":pr(t,e);break;default:for(var o=[],r=[],i=[],s=t.firstChild;s;s=s.nextSibling)switch(s.nodeType){case 3:/\S/.test(s.data)&&hr(t,s,e);break;case 1:var a=Do(s),p=Io(a,"float");"static"!=Io(a,"position")?i.push(s):"none"!=p?r.push(s):o.push(s)}S(o,ar).forEach((function(t){ur(t,e)})),S(r,ar).forEach((function(t){ur(t,e)})),S(i,ar).forEach((function(t){ur(t,e)}))}}function hr(t,e,n){if(null!=(o=lo._clipbox)&&!(o?0===o.width()||0===o.height():void 0)){var o,r=Do(t);if(!(parseFloat(Io(r,"text-indent"))<-500)){var i=e.data,s=0,a=i.search(/\S\s*$/)+1;if(a){var p=Io(r,"font-size"),c=Io(r,"line-height"),h=[Io(r,"font-style"),Io(r,"font-variant"),Io(r,"font-weight"),p,Io(r,"font-family")].join(" ");if(p=parseFloat(p),c=parseFloat(c),0!==p&&!isNaN(p)){var u=Io(r,"color"),l=t.ownerDocument.createRange(),f="justify"==Io(r,"text-align"),d=Io(r,"column-count",1),y=Io(r,"white-space"),g=Io(r,"text-transform"),m=t.getBoundingClientRect().width/p*5;0===m&&(m=500);var v=null,x=lo.underline,w=lo["line-through"],b=lo.overline,_=lo["underline-offset"];for(x&&C((function(t){var e=p/12,n=t.bottom;n+=null!=_?_:e;O(e,t,x,n)}));!k(););return void((w||b)&&C((function(t){var e=p/12;O(e,t,w,t.bottom-t.height/2.7),O(e,t,b,t.top)})))}}}}function C(t){l.selectNode(e);var n=co(l.getClientRects());C=function(t){return n.forEach(t)},C(t)}function T(t){if(fo||po.chrome||po.safari){for(var e=t.getClientRects(),n={top:1/0,right:-1/0,bottom:-1/0,left:1/0},o=!1,r=0;r<e.length;++r){var i=e[r];i.width<=1||i.bottom===v||(n.left=Math.min(i.left,n.left),n.top=Math.min(i.top,n.top),n.right=Math.max(i.right,n.right),n.bottom=Math.max(i.bottom,n.bottom),o=!0)}return o?(n.width=n.right-n.left,n.height=n.bottom-n.top,n):t.getBoundingClientRect()}return t.getBoundingClientRect()}function k(){var t,o=s,r=i.substr(s).search(/\S/);if(s+=r,r<0||s>=a)return!0;l.setStart(e,s),l.setEnd(e,s+1),t=T(l);var p=!1;if((f||d>1)&&(r=i.substr(s).search(/\s/))>=0){l.setEnd(e,s+r);var x=T(l);x.bottom==t.bottom&&(t=x,p=!0,s+=r)}if(!p){if(r=function n(o,r,i){l.setEnd(e,r);var s=T(l);return s.bottom!=t.bottom&&o<r?n(o,o+r>>1,r):s.right!=t.right?(t=s,r<i?n(r,r+i>>1,i):r):r}(s,Math.min(a,s+m),a),r==s)return!0;if(s=r,0===(r=l.toString().search(/\s+$/)))return!1;r>0&&(l.setEnd(e,l.startOffset+r),t=T(l))}fo&&(t=l.getClientRects()[0]);var w=l.toString();if(/^(?:pre|pre-wrap)$/i.test(y)){if(/\t/.test(w)){var b=0;for(r=o;r<l.startOffset;++r){var _=i.charCodeAt(r);9==_?b+=8-b%8:10==_||13==_?b=0:b++}for(;(r=w.search("\t"))>=0;){var C="        ".substr(0,8-(b+r)%8);w=w.substr(0,r)+C+w.substr(r+1)}}}else w=w.replace(/\s+/g," ");p||(v=t.bottom),function(t,e){if(fo&&!isNaN(c)){var o=ko(h),r=(e.top+e.bottom-o)/2;e={top:r,right:e.right,bottom:r+o,left:e.left,height:o,width:e.right-e.left}}switch(g){case"uppercase":t=t.toUpperCase();break;case"lowercase":t=t.toLowerCase();break;case"capitalize":t=t.replace(/(?:^|\s)\S/g,(function(t){return t.toUpperCase()}))}var i=new yo(t,new K([e.left,e.top],[e.width,e.height]),{font:h,fill:{color:u}});n.append(i)}(w,t)}function O(t,e,o,r){if(o){var i=new le({stroke:{width:t,color:o}});r-=t,i.moveTo(e.left,r).lineTo(e.right,r),n.append(i)}}}function ur(t,e){var n=Do(t);if(Po(n),!/^(style|script|link|meta|iframe|col|colgroup)$/i.test(t.tagName)&&null!=lo._clipbox){var o=parseFloat(Io(n,"opacity")),r=Io(n,"visibility"),i=Io(n,"display");if(0!==o&&"hidden"!=r&&"none"!=i){var s,a=function(t){var e=Io(t,"transform");if("none"==e)return null;var n=/^\s*matrix\(\s*(.*?)\s*\)\s*$/.exec(e);if(n){var o=Io(t,"transform-origin");return{matrix:n=n[1].split(/\s*,\s*/g).map(parseFloat),origin:o=o.split(/\s+/g).map(parseFloat)}}}(n),p=Io(n,"z-index");(a||o<1)&&"auto"==p&&(p=0),s=function(t,e,n){var o;"auto"!=n?(o=lo._stackingContext.group,n=parseFloat(n)):(o=e,n=0);for(var r=o.children,i=0;i<r.length&&!(null!=r[i]._dom_zIndex&&r[i]._dom_zIndex>n);++i);var s=new ve;if(o.insert(i,s),s._dom_zIndex=n,o!==e&&lo._clipbox){var a=lo._matrix.invert(),p=lo._clipbox.transformCopy(a);Wo(s,le.fromRect(p))}return s}(0,e,p),o<1&&s.opacity(o*s.opacity()),Lo(t,n,s),a?Go(t,(function(){Ho(t.style,"transform","none","important"),Ho(t.style,"transition","none","important"),"static"==Io(n,"position")&&Ho(t.style,"position","relative","important");var e=t.getBoundingClientRect(),o=e.left+a.origin[0],r=e.top+a.origin[1],i=[1,0,0,1,-o,-r];i=lr(i,a.matrix),i=lr(i,[1,0,0,1,o,r]),i=Yo(s,i),lo._matrix=lo._matrix.multiplyCopy(i),rr(t,s)})):rr(t,s),Bo()}}}function lr(t,e){var n=t[0],o=t[1],r=t[2],i=t[3],s=t[4],a=t[5],p=e[0],c=e[1],h=e[2],u=e[3];return[n*p+o*h,n*c+o*u,r*p+i*h,r*c+i*u,s*p+a*h+e[4],s*c+a*u+e[5]]}var fr={svg:so,canvas:ao,util:$,HasObservers:p,PathParser:$e,parsePath:pe,BaseNode:Ve,OptionsStore:U,Surface:ro,SurfaceFactory:oo,exportImage:function(e,n){var o={width:"800px",height:"600px",cors:"Anonymous"},r=e,i=e.clippedBBox();if(i){var s=i.getOrigin();(r=new ve).transform(et().translate(-s.x,-s.y)),r.children.push(e);var a=i.getSize();o.width=a.width+"px",o.height=a.height+"px"}var p=t.extend(o,n),c=document.createElement("div"),h=c.style;h.display="none",h.width=p.width,h.height=p.height,document.body.appendChild(c);var u=new eo(c,p);u.suspendTracking(),u.draw(r);var l=u.image(),f=function(){u.destroy(),document.body.removeChild(c)};return l.then(f,f),l},exportSVG:function(t,e){var n=io(t);return e&&e.raw||(n="data:image/svg+xml;base64,"+_(n)),s().resolve(n)},QuadNode:Hn,ShapesQuadTree:Gn,Element:nt,Circle:ut,Arc:de,Path:le,MultiPath:fe,Text:ye,Image:ge,Group:ve,Layout:ke,Rect:Oe,align:function(t,e,n){Me(t,e,n,"x","width")},vAlign:function(t,e,n){Me(t,e,n,"y","height")},stack:function(t){Se(Ee(t),"x","y","width")},vStack:function(t){Se(Ee(t),"y","x","height")},wrap:function(t,e){return Ae(t,e,"x","y","width")},vWrap:function(t,e){return Ae(t,e,"y","x","height")},fit:function(t,e){var n=t.clippedBBox();if(n){var o=n.size,r=e.size;if(r.width<o.width||r.height<o.height){var i=Math.min(r.width/o.width,r.height/o.height),s=t.transform()||et();s.scale(i,i),t.transform(s)}}},LinearGradient:Be,RadialGradient:Fe,GradientStop:je,Gradient:Le,Animation:Ge,AnimationFactory:qe,drawDOM:function(t,e){e||(e={});var n=s();if(!t)return n.reject("No element to export");if("function"!=typeof window.getComputedStyle)throw new Error("window.getComputedStyle is missing.  You are using an unsupported browser, or running in IE8 compatibility mode.  Drawing HTML is supported in Chrome, Firefox, Safari and IE9+.");kendo.pdf.defineFont(Oo(t.ownerDocument));var o,r="number"==typeof(o=e.scale||1)?{x:o,y:o}:Array.isArray(o)?{x:o[0],y:o[1]}:{x:o.x,y:o.y};function i(t){var n,o,i=new ve,s=t.getBoundingClientRect();return Yo(i,[r.x,0,0,r.y,-s.left*r.x,-s.top*r.y]),lo._clipbox=!1,lo._matrix=I.unit(),lo._stackingContext={element:t,group:i},!0===e.avoidLinks?lo._avoidLinks="a":lo._avoidLinks=e.avoidLinks,o="k-pdf-export",(n=t).classList?n.classList.add(o):n.className+=" "+o,ur(t,i),function(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/\s+/).reduce((function(t,n){return n!=e&&t.push(n),t}),[]).join(" ")}(t,"k-pdf-export"),i}return Ro([t],(function(){var o=e&&e.forcePageBreak,s=e&&e.paperSize&&"auto"!=e.paperSize,a=kendo.pdf.getPaperOptions((function(t,n){return"paperSize"==t?s?e[t]:"A4":t in e?e[t]:n})),p=s&&a.paperSize[0],c=s&&a.paperSize[1],h=e.margin&&a.margin,u=Boolean(h);if(o||c){h||(h={left:0,top:0,right:0,bottom:0}),p&&(p/=r.x),c&&(c/=r.y),h.left/=r.x,h.right/=r.x,h.top/=r.y,h.bottom/=r.y;var l=new ve({pdf:{multiPage:!0,paperSize:s?a.paperSize:"auto",_ignoreMargin:u}});!function(t,e,n,o,r,i,s){var a=function(t){if(null!=t)return"string"==typeof t&&(t=kendo.template(t.replace(/^\s+|\s+$/g,""))),"function"==typeof t?function(e){var n=t(e);if(n&&"string"==typeof n){var o=document.createElement("div");o.innerHTML=n,n=o.firstElementChild}return n}:function(){return t.cloneNode(!0)}}(s.template),p=e.ownerDocument,c=[],h=s._destructive?e:wo(e),u=p.createElement("KENDO-PDF-DOCUMENT"),l=0;co(h.querySelectorAll("tfoot")).forEach((function(t){t.parentNode.appendChild(t)})),co(h.querySelectorAll("ol")).forEach((function(t){co(t.children).forEach((function(t,e){t.setAttribute("kendo-split-index",e)}))})),go(u,{display:"block",position:"absolute",boxSizing:"content-box",left:"-10000px",top:"-10000px"}),o&&(go(u,{width:o+"px",paddingLeft:i.left+"px",paddingRight:i.right+"px"}),go(h,{overflow:"hidden"}));e.parentNode.insertBefore(u,e),u.appendChild(h),s.beforePageBreak?No([u],(function(){s.beforePageBreak(u,f)})):No([u],f);function f(){("-"!=n||r)&&y(h);var e=v();h.parentNode.insertBefore(e,h),e.appendChild(h),a&&c.forEach((function(t,e){var n=a({element:t,pageNum:e+1,totalPages:c.length});n&&t.appendChild(n)})),Ro(c,t.bind(null,{pages:c,container:u}))}function d(t){if(s.keepTogether&&vo(t,s.keepTogether)&&t.offsetHeight<=r-l)return!0;var e=t.tagName;return!(/^h[1-6]$/i.test(e)&&t.offsetHeight>=r-l)&&(t.getAttribute("data-kendo-chart")||/^(?:img|tr|thead|th|tfoot|iframe|svg|object|canvas|input|textarea|select|video|h[1-6])/i.test(t.tagName))}function y(t){if("TABLE"==t.tagName&&go(t,{tableLayout:"fixed"}),!d(t)){var e=Do(t),o=parseFloat(Io(e,"padding-bottom")),i=parseFloat(Io(e,"border-bottom-width")),s=l;l+=o+i;for(var a=!0,p=t.firstChild;p;p=p.nextSibling)if(1==p.nodeType){if(a=!1,vo(p,n)){m(p);continue}if(!r){y(p);continue}if(!/^(?:static|relative)$/.test(Io(Do(p),"position")))continue;var c=x(p);1==c||c&&d(p)?m(p):y(p)}else 3==p.nodeType&&r&&(w(p,a),a=!1);l=s}}function g(t){var e=t.parentNode,n=e.firstChild;if(t===n)return!0;if(t===e.children[0]){if(7==n.nodeType||8==n.nodeType)return!0;if(3==n.nodeType)return!/\S/.test(n.data)}return!1}function m(t){if(1==t.nodeType&&t!==h&&g(t))return m(t.parentNode);var e,n,o,r,i;n=(e=xo(t,"table"))&&e.querySelector("colgroup"),s.repeatHeaders&&(o=e&&e.querySelector("thead"),(r=xo(t,".k-grid"))&&r.querySelector(".k-auto-scrollable")&&(i=r.querySelector(".k-grid-header")));var a=v(),c=p.createRange();c.setStartBefore(h),c.setEndBefore(t),a.appendChild(c.extractContents()),h.parentNode.insertBefore(a,h),b(t.parentNode),e&&(e=xo(t,"table"),s.repeatHeaders&&o&&e.insertBefore(o.cloneNode(!0),e.firstChild),n&&e.insertBefore(n.cloneNode(!0),e.firstChild)),s.repeatHeaders&&i&&(r=xo(t,".k-grid")).insertBefore(i.cloneNode(!0),r.firstChild)}function v(){var t=p.createElement("KENDO-PDF-PAGE");return go(t,{display:"block",boxSizing:"content-box",width:o?o+"px":"auto",padding:i.top+"px "+i.right+"px "+i.bottom+"px "+i.left+"px",position:"relative",height:r?r+"px":"auto",overflow:r||o?"hidden":"visible",clear:"both"}),s&&s.pageClassName&&(t.className=s.pageClassName),c.push(t),t}function x(t){var e=t.getBoundingClientRect();if(0===e.width||0===e.height)return 0;var n=h.getBoundingClientRect().top,o=r-l;return e.height>o?3:e.top-n>o?1:e.bottom-n>o?2:0}function w(t,e){if(/\S/.test(t.data)){var n=t.data.length,o=p.createRange();o.selectNodeContents(t);var r=x(o);if(r){var i=t;if(1==r)m(e?t.parentNode:t);else if(function e(n,r,i){return o.setEnd(t,r),n==r||r==i?r:x(o)?e(n,n+r>>1,r):e(r,r+i>>1,i)}(0,n>>1,n),!/\S/.test(o.toString())&&e)m(t.parentNode);else{i=t.splitText(o.endOffset);var s=v();o.setStartBefore(h),s.appendChild(o.extractContents()),h.parentNode.insertBefore(s,h),b(i.parentNode)}w(i)}}}function b(t){var e=xo(t,"li");e&&(e.setAttribute("kendo-no-bullet","1"),b(e.parentNode))}}((function(t){if(e.progress){var o=!1,r=0;!function s(){if(r<t.pages.length){var a=i(t.pages[r]);l.append(a),e.progress({page:a,pageNum:++r,totalPages:t.pages.length,cancel:function(){o=!0}}),o?t.container.parentNode.removeChild(t.container):setTimeout(s)}else t.container.parentNode.removeChild(t.container),n.resolve(l)}()}else t.pages.forEach((function(t){l.append(i(t))})),t.container.parentNode.removeChild(t.container),n.resolve(l)}),t,o,p?p-h.left-h.right:null,c?c-h.top-h.bottom:null,h,e)}else n.resolve(i(t))})),n},drawText:function(t){var e=new ve;return lo._clipbox=!1,lo._matrix=I.unit(),lo._stackingContext={element:t,group:e},Lo(t,Do(t),e),3==t.firstChild.nodeType?hr(t,t.firstChild,e):ir(t,e),Bo(),e},getFontFaces:Oo};kendo.deepExtend(kendo,{drawing:fr,geometry:Dt}),d=1e3,kendo.drawing.Segment=kendo.geometry.Segment,kendo.dataviz.drawing=kendo.drawing,kendo.dataviz.geometry=kendo.geometry,kendo.drawing.util.measureText=kendo.util.measureText,kendo.drawing.util.objectKey=kendo.util.objectKey,kendo.drawing.Color=kendo.Color,kendo.util.encodeBase64=kendo.drawing.util.encodeBase64}(window.kendo.jQuery),function(t){var e=".kendo",n=window.kendo,o=n.deepExtend,r=n.drawing.util,i=r.defined,s=r.limitValue,a=r.eventCoordinates,p=n._outerWidth,c=n._outerHeight,h='<div class="k-tooltip-button">'+n.ui.icon(t('<a href="#" title="Close"></a>'),{icon:"x"})+"</div>",u=n.Class.extend({init:function(e,n){this.element=t('<div class="k-tooltip"><div class="k-tooltip-content"></div></div>'),this.content=this.element.children(".k-tooltip-content"),n=n||{},this.options=o({},this.options,this._tooltipOptions(n)),this.popupOptions={appendTo:n.appendTo,animation:n.animation,copyAnchorStyles:!1,collision:"fit fit"},this._openPopupHandler=this._openPopup.bind(this),this.surface=e,this._bindEvents()},options:{position:"top",showOn:"mouseenter",offset:7,autoHide:!0,hideDelay:0,showAfter:100},_bindEvents:function(){this._showHandler=this._showEvent.bind(this),this._surfaceLeaveHandler=this._surfaceLeave.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._mousemoveHandler=this._mousemove.bind(this),this.surface.bind("click",this._showHandler),this.surface.bind("mouseenter",this._showHandler),this.surface.bind("mouseleave",this._mouseleaveHandler),this.surface.bind("mousemove",this._mousemoveHandler),this.surface.element.on("mouseleave"+e,this._surfaceLeaveHandler),this.element.on("click"+e,".k-tooltip-button",this._hideClick.bind(this)),this.element.on("mouseleave"+e,this._tooltipLeave.bind(this))},getPopup:function(){return this.popup||(this.popup=new n.ui.Popup(this.element,this.popupOptions)),this.popup},destroy:function(){var t=this.popup;this.surface.unbind("click",this._showHandler),this.surface.unbind("mouseenter",this._showHandler),this.surface.unbind("mouseleave",this._mouseleaveHandler),this.surface.unbind("mousemove",this._mousemoveHandler),this.surface.element.off("mouseleave"+e,this._surfaceLeaveHandler),this.element.off("click"+e),this.element.off("mouseleave"+e),t&&(t.destroy(),delete this.popup),delete this.popupOptions,clearTimeout(this._timeout),delete this.element,delete this.content,delete this.surface},_tooltipOptions:function(t){return{position:(t=t||{}).position,showOn:t.showOn,offset:t.offset,autoHide:t.autoHide,width:t.width,height:t.height,content:t.content,shared:t.shared,hideDelay:t.hideDelay,showAfter:t.showAfter}},_tooltipShape:function(t){for(;t&&!t.options.tooltip;)t=t.parent;return t},_updateContent:function(t,e,o){var r=o.content;if(n.isFunction(r)&&(r=r({element:e,target:t})),r)return this.content.html(r),!0},_position:function(t,e,n,o){var r=e.position,i=e.offset||0,p=this.surface,c=p._instance._elementOffset(),h=p.getSize(),u=p._instance._offset,l=t.bbox(),f=n.width,d=n.height,y=0,g=0;if(l.origin.translate(c.left,c.top),u&&l.origin.translate(-u.x,-u.y),"cursor"==r&&o){var m=a(o);y=m.x-f/2,g=m.y-d-i}else"left"==r?(y=l.origin.x-f-i,g=l.center().y-d/2):"right"==r?(y=l.bottomRight().x+i,g=l.center().y-d/2):"bottom"==r?(y=l.center().x-f/2,g=l.bottomRight().y+i):(y=l.center().x-f/2,g=l.origin.y-d-i);return{left:s(y,c.left,c.left+h.width),top:s(g,c.top,c.top+h.height)}},show:function(t,e){this._show(t,t,o({},this.options,this._tooltipOptions(t.options.tooltip),e))},hide:function(){var t=this.popup,e=this._current;delete this._current,clearTimeout(this._showTimeout),t&&t.visible()&&e&&!this.surface.trigger("tooltipClose",{element:e.shape,target:e.target,popup:t})&&t.close()},_hideClick:function(t){t.preventDefault(),this.hide()},_show:function(t,e,n,o,r){var i=this._current;if(clearTimeout(this._timeout),!i||!(i.shape===e&&n.shared||i.target===t)){clearTimeout(this._showTimeout);var s=this.getPopup();if(!this.surface.trigger("tooltipOpen",{element:e,target:t,popup:s})&&this._updateContent(t,e,n)){this._autoHide(n);var a=this._measure(n);s.visible()&&s.close(!0),this._current={options:n,elementSize:a,shape:e,target:t,position:this._position(n.shared?e:t,n,a,o)},r?this._showTimeout=setTimeout(this._openPopupHandler,n.showAfter||0):this._openPopup()}}},_openPopup:function(){var t=this._current.position;this.getPopup().open(t.left,t.top)},_autoHide:function(e){e.autoHide&&this._closeButton&&(this.element.removeClass("k-tooltip-closable"),this._closeButton.remove(),delete this._closeButton),e.autoHide||this._closeButton||(this.element.addClass("k-tooltip-closable"),this._closeButton=t(h).appendTo(this.element))},_showEvent:function(t){var e=this._tooltipShape(t.element);if(e){var n=o({},this.options,this._tooltipOptions(e.options.tooltip));n&&n.showOn==t.type&&this._show(t.element,e,n,t.originalEvent,!0)}},_measure:function(t){this.element.css({width:i(t.width)?t.width:"auto",height:i(t.height)?t.height:"auto"});var e=this.element.clone().appendTo(document.body).css({visibility:"hidden"}),n=p(e),o=c(e);return e.remove(),this.element.css({width:n,height:o}),{width:n,height:o}},_mouseleave:function(t){if(this.popup&&!this._popupRelatedTarget(t.originalEvent)){var e=this,n=e._current;n&&n.options.autoHide&&(e._timeout=setTimeout((function(){clearTimeout(e._showTimeout),e.hide()}),n.options.hideDelay||0))}},_mousemove:function(t){var e=this._current;if(e&&t.element){var n=e.options;if("cursor"==n.position){var o=this._position(t.element,n,e.elementSize,t.originalEvent);e.position=o,this.getPopup().wrapper.css({left:o.left,top:o.top})}}},_surfaceLeave:function(t){this.popup&&!this._popupRelatedTarget(t)&&(clearTimeout(this._showTimeout),this.hide())},_popupRelatedTarget:function(e){return e.relatedTarget&&t(e.relatedTarget).closest(this.popup.wrapper).length},_tooltipLeave:function(){var t=this,e=t._current;e&&e.options.autoHide&&(t._timeout=setTimeout((function(){t.hide()}),e.options.hideDelay||0))}});n.drawing.SurfaceTooltip=u}(window.kendo.jQuery),function(t){var e=window.kendo,n=e.drawing,o=n.Surface,r=e.ui.Widget,i=e.deepExtend;e.support.svg=o.support.svg,e.support.canvas=o.support.canvas;var s=r.extend({init:function(t,e){r.fn.init.call(this,t,{}),this.options=i({},this.options,e),this._instance=o.create(this.element[0],e),this._instance.translate&&(this.translate=a),this._triggerInstanceHandler=this._triggerInstanceEvent.bind(this),this._bindHandler("click"),this._bindHandler("mouseenter"),this._bindHandler("mouseleave"),this._bindHandler("mousemove"),this._enableTracking()},options:{name:"Surface",tooltip:{}},events:["click","mouseenter","mouseleave","mousemove","resize","tooltipOpen","tooltipClose"],_triggerInstanceEvent:function(t){this.trigger(t.type,t)},_bindHandler:function(t){this._instance.bind(t,this._triggerInstanceHandler)},draw:function(t){this._instance.draw(t)},clear:function(){this._instance&&this._instance.clear(),this.hideTooltip()},destroy:function(){this._instance&&(this._instance.destroy(),delete this._instance),this._tooltip&&(this._tooltip.destroy(),delete this._tooltip),r.fn.destroy.call(this)},exportVisual:function(){return this._instance.exportVisual()},eventTarget:function(t){return this._instance.eventTarget(t)},showTooltip:function(t,e){this._tooltip&&this._tooltip.show(t,e)},hideTooltip:function(){this._tooltip&&this._tooltip.hide()},suspendTracking:function(){this._instance.suspendTracking(),this.hideTooltip()},resumeTracking:function(){this._instance.resumeTracking()},getSize:function(){return{width:this.element.width(),height:this.element.height()}},setSize:function(t){this.element.css({width:t.width,height:t.height}),this._size=t,this._instance.currentSize(t),this._resize()},_resize:function(){this._instance.currentSize(this._size),this._instance._resize()},_enableTracking:function(){e.ui.Popup&&(this._tooltip=new n.SurfaceTooltip(this,this.options.tooltip||{}))}});function a(t){this._instance.translate(t)}e.ui.plugin(s),s.create=function(t,e){return new s(t,e)},e.drawing.Surface=s}(window.kendo.jQuery),function(t){var e=window.kendo.drawing,n=e.drawDOM;e.drawDOM=function(e,o){return n(t(e)[0],o)},e.drawDOM.drawText=e.drawText,e.drawDOM.getFontFaces=e.getFontFaces}(window.kendo.jQuery)}));
//# sourceMappingURL=kendo.drawing.min.js.map
;!function(t){"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.drawing.min","kendo.color.min"],t):t()}((function(){var t;kendo.pdf=kendo.pdf||{},kendo.pdf.supportsDeflate=function(){return window.pako&&"function"==typeof window.pako.deflate},kendo.pdf.deflate=function(t){return window.pako.deflate(t)},function(t){window.kendo.pdf=window.kendo.pdf||{};var e,r=kendo.support.browser,o=kendo.drawing,n=o.util,i=n.extendStatic,a=kendo.pdf,s=kendo.geometry,c="undefined"!=typeof Uint8Array&&kendo.support.browser&&(!kendo.support.browser.msie||kendo.support.browser.version>9),h=(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{decode:function(t){for(var r=t.replace(/[^A-Za-z0-9\+\/\=]/g,""),o=0,n=r.length,i=[];o<n;){var a=e.indexOf(r.charAt(o++)),s=e.indexOf(r.charAt(o++)),c=e.indexOf(r.charAt(o++)),h=e.indexOf(r.charAt(o++)),f=a<<2|s>>>4,u=(15&s)<<4|c>>>2,p=(3&c)<<6|h;i.push(f),64!=c&&i.push(u),64!=h&&i.push(p)}return i},encode:function(t){for(var r=0,o=t.length,n="";r<o;){var i=t[r++],a=t[r++],s=t[r++],c=(3&i)<<4|a>>>4,h=(15&a)<<2|s>>>6,f=63&s;r-o==2?h=f=64:r-o==1&&(f=64),n+=e.charAt(i>>>2)+e.charAt(c)+e.charAt(h)+e.charAt(f)}return n}});function f(t){var e=0,r=0;null==t?t=c?new Uint8Array(256):[]:r=t.length;var o=c?function(e){if(e>=t.length){var r=new Uint8Array(Math.max(e+256,2*t.length));r.set(t,0),t=r}}:function(){},n=c?function(){return new Uint8Array(t.buffer,0,r)}:function(){return t},i=c?function(n){if("string"==typeof n)return w(n);var i=n.length;o(e+i),t.set(n,e),(e+=i)>r&&(r=e)}:function(t){if("string"==typeof t)return w(t);for(var e=0;e<t.length;++e)f(t[e])},a=c?function(e,r){if(t.buffer.slice)return new Uint8Array(t.buffer.slice(e,e+r));var o=new Uint8Array(r);return o.set(new Uint8Array(t.buffer,e,r)),o}:function(e,r){return t.slice(e,e+r)};function s(){return e<r?t[e++]:0}function f(n){o(e),t[e++]=255&n,e>r&&(r=e)}function u(){return s()<<8|s()}function p(t){f(t>>8),f(t)}function l(){return 65536*u()+u()}function d(t){p(t>>>16&65535),p(65535&t)}function g(){var t=l();return t>=2147483648?t-4294967296:t}function y(t){d(t<0?t+4294967296:t)}function m(t){return v(t,s)}function w(t){for(var e=0;e<t.length;++e)f(t.charCodeAt(e))}function v(t,e){for(var r=new Array(t),o=0;o<t;++o)r[o]=e();return r}var S={eof:function(){return e>=r},readByte:s,writeByte:f,readShort:u,writeShort:p,readLong:l,writeLong:d,readFixed:function(){return l()/65536},writeFixed:function(t){d(Math.round(65536*t))},readShort_:function(){var t=u();return t>=32768?t-65536:t},writeShort_:function(t){p(t<0?t+65536:t)},readLong_:g,writeLong_:y,readFixed_:function(){return g()/65536},writeFixed_:function(t){y(Math.round(65536*t))},read:m,write:i,readString:function(t){return String.fromCharCode.apply(String,m(t))},writeString:w,times:v,get:n,slice:a,offset:function(t){return null!=t?(e=t,S):e},skip:function(t){e+=t},toString:function(){throw new Error("FIX CALLER.  BinaryStream is no longer convertible to string!")},length:function(){return r},saveExcursion:function(t){var r=e;try{return t()}finally{e=r}},writeBase64:function(t){window.atob?w(window.atob(t)):i(h.decode(t))},base64:function(){return h.encode(n())}};return S}function u(t){return window.atob?function(t){for(var e=window.atob(t),r=new Uint8Array(e.length),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);return r}(t):function(t){for(var e=new Uint8Array(t.length),r=0;r<t.length;r++)e[r]=t[r];return e}(h.decode(t))}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){return Object.keys(t).sort((function(t,e){return t-e})).map(parseFloat)}var d=function(t){this.raw=t,this.scalerType=t.readLong(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort();for(var e=this.tables={},r=0;r<this.tableCount;++r){var o={tag:t.readString(4),checksum:t.readLong(),offset:t.readLong(),length:t.readLong()};e[o.tag]=o}};d.prototype.readTable=function(t,e){var r=this.tables[t];if(!r)throw new Error("Table "+t+" not found in directory");return this[t]=r.table=new e(this,r)},d.prototype.render=function(t){var e=Object.keys(t).length,r=Math.pow(2,Math.floor(Math.log(e)/Math.LN2)),o=16*r,n=Math.floor(Math.log(r)/Math.LN2),i=16*e-o,a=f();a.writeLong(this.scalerType),a.writeShort(e),a.writeShort(o),a.writeShort(n),a.writeShort(i);var s=16*e,c=a.offset()+s,h=null,u=f();for(var l in t)if(p(t,l)){var d=t[l];for(a.writeString(l),a.writeLong(this.checksum(d)),a.writeLong(c),a.writeLong(d.length),u.write(d),"head"==l&&(h=c),c+=d.length;c%4;)u.writeByte(0),c++}a.write(u.get());var g=2981146554-this.checksum(a.get());return a.offset(h+8),a.writeLong(g),a.get()},d.prototype.checksum=function(t){t=f(t);for(var e=0;!t.eof();)e+=t.readLong();return 4294967295&e};var g=function(t,e){this.definition=e,this.length=e.length,this.offset=e.offset,this.file=t,this.rawData=t.raw,this.parse(t.raw)};g.prototype.raw=function(){return this.rawData.slice(this.offset,this.length)},g.prototype.parse=function(){};var y,m,w,v=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset),this.version=t.readLong(),this.revision=t.readLong(),this.checkSumAdjustment=t.readLong(),this.magicNumber=t.readLong(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.read(8),this.modified=t.read(8),this.xMin=t.readShort_(),this.yMin=t.readShort_(),this.xMax=t.readShort_(),this.yMax=t.readShort_(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort_(),this.indexToLocFormat=t.readShort_(),this.glyphDataFormat=t.readShort_()},e.prototype.render=function(t){var e=f();return e.writeLong(this.version),e.writeLong(this.revision),e.writeLong(0),e.writeLong(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.write(this.created),e.write(this.modified),e.writeShort_(this.xMin),e.writeShort_(this.yMin),e.writeShort_(this.xMax),e.writeShort_(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort_(this.fontDirectionHint),e.writeShort_(t),e.writeShort_(this.glyphDataFormat),e.get()},e}(g),S=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset);var e=this.file.head.indexToLocFormat;this.offsets=0===e?t.times(this.length/2,(function(){return 2*t.readShort()})):t.times(this.length/4,t.readLong)},e.prototype.offsetOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.render=function(t){for(var e=f(),r=t[t.length-1]>65535,o=0;o<t.length;++o)r?e.writeLong(t[o]):e.writeShort(t[o]/2);return{format:r?1:0,table:e.get()}},e}(g),b=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset),this.version=t.readLong(),this.ascent=t.readShort_(),this.descent=t.readShort_(),this.lineGap=t.readShort_(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort_(),this.minRightSideBearing=t.readShort_(),this.xMaxExtent=t.readShort_(),this.caretSlopeRise=t.readShort_(),this.caretSlopeRun=t.readShort_(),this.caretOffset=t.readShort_(),t.skip(8),this.metricDataFormat=t.readShort_(),this.numOfLongHorMetrics=t.readShort()},e.prototype.render=function(t){var e=f();return e.writeLong(this.version),e.writeShort_(this.ascent),e.writeShort_(this.descent),e.writeShort_(this.lineGap),e.writeShort(this.advanceWidthMax),e.writeShort_(this.minLeftSideBearing),e.writeShort_(this.minRightSideBearing),e.writeShort_(this.xMaxExtent),e.writeShort_(this.caretSlopeRise),e.writeShort_(this.caretSlopeRun),e.writeShort_(this.caretOffset),e.write([0,0,0,0,0,0,0,0]),e.writeShort_(this.metricDataFormat),e.writeShort(t.length),e.get()},e}(g),x=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset),this.version=t.readLong(),this.numGlyphs=t.readShort(),this.maxPoints=t.readShort(),this.maxContours=t.readShort(),this.maxComponentPoints=t.readShort(),this.maxComponentContours=t.readShort(),this.maxZones=t.readShort(),this.maxTwilightPoints=t.readShort(),this.maxStorage=t.readShort(),this.maxFunctionDefs=t.readShort(),this.maxInstructionDefs=t.readShort(),this.maxStackElements=t.readShort(),this.maxSizeOfInstructions=t.readShort(),this.maxComponentElements=t.readShort(),this.maxComponentDepth=t.readShort()},e.prototype.render=function(t){var e=f();return e.writeLong(this.version),e.writeShort(t.length),e.writeShort(this.maxPoints),e.writeShort(this.maxContours),e.writeShort(this.maxComponentPoints),e.writeShort(this.maxComponentContours),e.writeShort(this.maxZones),e.writeShort(this.maxTwilightPoints),e.writeShort(this.maxStorage),e.writeShort(this.maxFunctionDefs),e.writeShort(this.maxInstructionDefs),e.writeShort(this.maxStackElements),e.writeShort(this.maxSizeOfInstructions),e.writeShort(this.maxComponentElements),e.writeShort(this.maxComponentDepth),e.get()},e}(g),_=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset);var e=this.file,r=e.hhea;this.metrics=t.times(r.numOfLongHorMetrics,(function(){return{advance:t.readShort(),lsb:t.readShort_()}}));var o=e.maxp.numGlyphs-e.hhea.numOfLongHorMetrics;this.leftSideBearings=t.times(o,t.readShort_)},e.prototype.forGlyph=function(t){var e=this.metrics,r=e.length;return t<r?e[t]:{advance:e[r-1].advance,lsb:this.leftSideBearings[t-r]}},e.prototype.render=function(t){for(var e=f(),r=0;r<t.length;++r){var o=this.forGlyph(t[r]);e.writeShort(o.advance),e.writeShort_(o.lsb)}return e.get()},e}(g),C=function(){var t=function(t){this.raw=t},e={compound:{}};e.compound.get=function(){return!1},t.prototype.render=function(){return this.raw.get()},Object.defineProperties(t.prototype,e);var r=function(t){this.raw=t;for(var e=this.glyphIds=[],r=this.idOffsets=[];;){var o=t.readShort();if(r.push(t.offset()),e.push(t.readShort()),!(32&o))break;t.skip(1&o?4:2),128&o?t.skip(8):64&o?t.skip(4):8&o&&t.skip(2)}},o={compound:{}};return o.compound.get=function(){return!0},r.prototype.render=function(t){for(var e=f(this.raw.get()),r=0;r<this.glyphIds.length;++r){var o=this.glyphIds[r];e.offset(this.idOffsets[r]),e.writeShort(t[o])}return e.get()},Object.defineProperties(r.prototype,o),function(e){function o(){e.apply(this,arguments)}return i(o,e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.fn=o.prototype,o.fn.init=o.fn.constructor,o.prototype.parse=function(){this.cache={}},o.prototype.glyphFor=function(e){var o=this.cache;if(p(o,e))return o[e];var n=this.file.loca,i=n.lengthOf(e);if(0===i)return o[e]=null;var a=this.rawData,s=this.offset+n.offsetOf(e),c=f(a.slice(s,i)),h=c.readShort_(),u=c.readShort_(),l=c.readShort_(),d=c.readShort_(),g=c.readShort_(),y=o[e]=h<0?new r(c):new t(c);return y.numberOfContours=h,y.xMin=u,y.yMin=l,y.xMax=d,y.yMax=g,y},o.prototype.render=function(t,e,r){for(var o=f(),n=[],i=0;i<e.length;++i){var a=t[e[i]];o.offset()%2&&o.writeByte(0),n.push(o.offset()),a&&o.write(a.render(r))}return o.offset()%2&&o.writeByte(0),n.push(o.offset()),{table:o.get(),offsets:n}},o}(g)}(),k=(y=function(t,e){this.text=t,this.length=t.length,this.platformID=e.platformID,this.platformSpecificID=e.platformSpecificID,this.languageID=e.languageID,this.nameID=e.nameID},function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset),t.readShort();for(var e=t.readShort(),r=this.offset+t.readShort(),o=t.times(e,(function(){return{platformID:t.readShort(),platformSpecificID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:t.readShort()+r}})),n=this.strings={},i=0;i<o.length;++i){var a=o[i];t.offset(a.offset);var s=t.readString(a.length);n[a.nameID]||(n[a.nameID]=[]),n[a.nameID].push(new y(s,a))}this.postscriptEntry=n[6][0],this.postscriptName=this.postscriptEntry.text.replace(/[^\x20-\x7F]/g,"")},e.prototype.render=function(t){var e=this.strings,r=0;for(var o in e)p(e,o)&&(r+=e[o].length);var n=f(),i=f();for(o in n.writeShort(0),n.writeShort(r),n.writeShort(6+12*r),e)if(p(e,o))for(var a=6==o?[new y(t,this.postscriptEntry)]:e[o],s=0;s<a.length;++s){var c=a[s];n.writeShort(c.platformID),n.writeShort(c.platformSpecificID),n.writeShort(c.languageID),n.writeShort(c.nameID),n.writeShort(c.length),n.writeShort(i.offset()),i.writeString(c.text)}return n.write(i.get()),n.get()},e}(g)),D=(m=".notdef .null nonmarkingreturn space exclam quotedbl numbersign dollar percent ampersand quotesingle parenleft parenright asterisk plus comma hyphen period slash zero one two three four five six seven eight nine colon semicolon less equal greater question at A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bracketleft backslash bracketright asciicircum underscore grave a b c d e f g h i j k l m n o p q r s t u v w x y z braceleft bar braceright asciitilde Adieresis Aring Ccedilla Eacute Ntilde Odieresis Udieresis aacute agrave acircumflex adieresis atilde aring ccedilla eacute egrave ecircumflex edieresis iacute igrave icircumflex idieresis ntilde oacute ograve ocircumflex odieresis otilde uacute ugrave ucircumflex udieresis dagger degree cent sterling section bullet paragraph germandbls registered copyright trademark acute dieresis notequal AE Oslash infinity plusminus lessequal greaterequal yen mu partialdiff summation product pi integral ordfeminine ordmasculine Omega ae oslash questiondown exclamdown logicalnot radical florin approxequal Delta guillemotleft guillemotright ellipsis nonbreakingspace Agrave Atilde Otilde OE oe endash emdash quotedblleft quotedblright quoteleft quoteright divide lozenge ydieresis Ydieresis fraction currency guilsinglleft guilsinglright fi fl daggerdbl periodcentered quotesinglbase quotedblbase perthousand Acircumflex Ecircumflex Aacute Edieresis Egrave Iacute Icircumflex Idieresis Igrave Oacute Ocircumflex apple Ograve Uacute Ucircumflex Ugrave dotlessi circumflex tilde macron breve dotaccent ring cedilla hungarumlaut ogonek caron Lslash lslash Scaron scaron Zcaron zcaron brokenbar Eth eth Yacute yacute Thorn thorn minus multiply onesuperior twosuperior threesuperior onehalf onequarter threequarters franc Gbreve gbreve Idotaccent Scedilla scedilla Cacute cacute Ccaron ccaron dcroat".split(/\s+/g),function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){var e;switch(t.offset(this.offset),this.format=t.readLong(),this.italicAngle=t.readFixed_(),this.underlinePosition=t.readShort_(),this.underlineThickness=t.readShort_(),this.isFixedPitch=t.readLong(),this.minMemType42=t.readLong(),this.maxMemType42=t.readLong(),this.minMemType1=t.readLong(),this.maxMemType1=t.readLong(),this.format){case 65536:case 196608:break;case 131072:e=t.readShort(),this.glyphNameIndex=t.times(e,t.readShort),this.names=[];for(var r=this.offset+this.length;t.offset()<r;)this.names.push(t.readString(t.readByte()));break;case 151552:e=t.readShort(),this.offsets=t.read(e);break;case 262144:this.map=t.times(this.file.maxp.numGlyphs,t.readShort)}},e.prototype.glyphFor=function(t){switch(this.format){case 65536:return m[t]||".notdef";case 131072:var e=this.glyphNameIndex[t];return e<m.length?m[e]:this.names[e-m.length]||".notdef";case 151552:case 196608:return".notdef";case 262144:return this.map[t]||65535}},e.prototype.render=function(t){if(196608==this.format)return this.raw();var e=f(this.rawData.slice(this.offset,32));e.writeLong(131072),e.offset(32);for(var r=[],o=[],n=0;n<t.length;++n){var i=t[n],a=this.glyphFor(i),s=m.indexOf(a);s>=0?r.push(s):(r.push(m.length+o.length),o.push(a))}for(e.writeShort(t.length),n=0;n<r.length;++n)e.writeShort(r[n]);for(n=0;n<o.length;++n)e.writeByte(o[n].length),e.writeString(o[n]);return e.get()},e}(g)),T=(w=function(t,e,r){var o=this;o.platformID=t.readShort(),o.platformSpecificID=t.readShort(),o.offset=e+t.readLong(),t.saveExcursion((function(){var e;switch(t.offset(o.offset),o.format=t.readShort(),o.format){case 0:o.length=t.readShort(),o.language=t.readShort();for(var n=0;n<256;++n)r[n]=t.readByte();break;case 4:o.length=t.readShort(),o.language=t.readShort();var i=t.readShort()/2;t.skip(6);var a=t.times(i,t.readShort);t.skip(2);var s=t.times(i,t.readShort),c=t.times(i,t.readShort_),h=t.times(i,t.readShort),f=(o.length+o.offset-t.offset())/2,u=t.times(f,t.readShort);for(n=0;n<i;++n){var p=s[n],l=a[n];for(e=p;e<=l;++e){var d;0===h[n]?d=e+c[n]:0!==(d=u[h[n]/2-(i-n)+(e-p)]||0)&&(d+=c[n]),r[e]=65535&d}}break;case 6:o.length=t.readShort(),o.language=t.readShort(),e=t.readShort();for(var g=t.readShort();g-- >0;)r[e++]=t.readShort();break;case 12:t.readShort(),o.length=t.readLong(),o.language=t.readLong();for(var y=t.readLong();y-- >0;){e=t.readLong();for(var m=t.readLong(),w=t.readLong();e<=m;)r[e++]=w++}break;default:window.console&&window.console.error("Unhandled CMAP format: "+o.format)}}))},function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){var e=this,r=e.offset;t.offset(r),e.codeMap={},e.version=t.readShort();var o=t.readShort();e.tables=t.times(o,(function(){return new w(t,r,e.codeMap)}))},e.render=function(t,e){var r=f();return r.writeShort(0),r.writeShort(1),r.write(function(t,e){var r=l(t),o=[],n=[],i=null,a=null;function s(r){return e[t[r]]}for(var c=0;c<r.length;++c){var h=r[c],u=s(h)-h;null!=i&&u===a||(i&&n.push(i),o.push(h),a=u),i=h}i&&n.push(i),n.push(65535),o.push(65535);var p=o.length,d=2*p,g=2*Math.pow(2,Math.floor(Math.log(p)/Math.LN2)),y=Math.log(g/2)/Math.LN2,m=d-g,w=[],v=[],S=[];for(c=0;c<p;++c){var b=o[c],x=n[c];if(65535==b){w.push(0),v.push(0);break}var _=s(b);if(b-_>=32768){w.push(0),v.push(2*(S.length+p-c));for(var C=b;C<=x;++C)S.push(s(C))}else w.push(_-b),v.push(0)}var k=f();return k.writeShort(3),k.writeShort(1),k.writeLong(12),k.writeShort(4),k.writeShort(16+8*p+2*S.length),k.writeShort(0),k.writeShort(d),k.writeShort(g),k.writeShort(y),k.writeShort(m),n.forEach(k.writeShort),k.writeShort(0),o.forEach(k.writeShort),w.forEach(k.writeShort_),v.forEach(k.writeShort),S.forEach(k.writeShort),k.get()}(t,e)),r.get()},e}(g)),O=function(t){function e(){t.apply(this,arguments)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.parse=function(t){t.offset(this.offset),this.version=t.readShort(),this.averageCharWidth=t.readShort_(),this.weightClass=t.readShort(),this.widthClass=t.readShort(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort_(),this.ySubscriptYSize=t.readShort_(),this.ySubscriptXOffset=t.readShort_(),this.ySubscriptYOffset=t.readShort_(),this.ySuperscriptXSize=t.readShort_(),this.ySuperscriptYSize=t.readShort_(),this.ySuperscriptXOffset=t.readShort_(),this.ySuperscriptYOffset=t.readShort_(),this.yStrikeoutSize=t.readShort_(),this.yStrikeoutPosition=t.readShort_(),this.familyClass=t.readShort_(),this.panose=t.times(10,t.readByte),this.charRange=t.times(4,t.readLong),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort_(),this.descent=t.readShort_(),this.lineGap=t.readShort_(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=t.times(2,t.readLong),this.version>1&&(this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()))},e.prototype.render=function(){return this.raw()},e}(g),F=1e5;var L=function(t){this.font=t,this.subset={},this.unicodes={},this.ogid2ngid={0:0},this.ngid2ogid={0:0},this.ncid2ogid={},this.next=this.firstChar=1,this.nextGid=1,this.psName=function(){for(var t="",e=String(F),r=0;r<e.length;++r)t+=String.fromCharCode(e.charCodeAt(r)-48+65);return++F,t}()+"+"+this.font.psName};L.prototype.use=function(t){var e=this;if("string"==typeof t)return function(t){for(var e,r,o=[],n=0,i=t.length;n<i;)(e=t.charCodeAt(n++))>=55296&&e<=56319&&n<i?56320==(64512&(r=t.charCodeAt(n++)))?o.push(((1023&e)<<10)+(1023&r)+65536):(o.push(e),n--):o.push(e);return o}(t).reduce((function(t,r){return t+String.fromCharCode(e.use(r))}),"");var r=e.unicodes[t];if(!r){r=e.next++,e.subset[r]=t,e.unicodes[t]=r;var o=e.font.cmap.codeMap[t];if(o&&(e.ncid2ogid[r]=o,null==e.ogid2ngid[o])){var n=e.nextGid++;e.ogid2ngid[o]=n,e.ngid2ogid[n]=o}}return r},L.prototype.encodeText=function(t){return this.use(t)},L.prototype.glyphIds=function(){return l(this.ogid2ngid)},L.prototype.glyphsFor=function(t,e){e||(e={});for(var r=0;r<t.length;++r){var o=t[r];if(!e[o]){var n=e[o]=this.font.glyf.glyphFor(o);n&&n.compound&&this.glyphsFor(n.glyphIds,e)}}return e},L.prototype.render=function(){var t=this,e=this.glyphsFor(this.glyphIds());for(var r in e)if(p(e,r)&&(r=parseInt(r,10),null==t.ogid2ngid[r])){var o=t.nextGid++;t.ogid2ngid[r]=o,t.ngid2ogid[o]=r}var n=l(this.ngid2ogid).map((function(t){return this.ngid2ogid[t]}),this),i=this.font,a=i.glyf.render(e,n,this.ogid2ngid),s=i.loca.render(a.offsets);this.lastChar=this.next-1;var c={cmap:T.render(this.ncid2ogid,this.ogid2ngid),glyf:a.table,loca:s.table,hmtx:i.hmtx.render(n),hhea:i.hhea.render(n),maxp:i.maxp.render(n),post:i.post.render(n),name:i.name.render(this.psName),head:i.head.render(s.format),"OS/2":i.os2.render()};return this.font.directory.render(c)},L.prototype.cidToGidMap=function(){for(var t=f(),e=0,r=this.firstChar;r<this.next;++r){for(;e<r;)t.writeShort(0),e++;var o=this.ncid2ogid[r];if(o){var n=this.ogid2ngid[o];t.writeShort(n)}else t.writeShort(0);e++}return t.get()};var I=function(t,e){var r=this,o=r.contents=f(t);if("ttcf"==o.readString(4)){var n,i=function(){o.offset(n),r.parse()};if(!e)throw new Error("Must specify a name for TTC files");o.readLong();for(var a=o.readLong(),s=0;s<a;++s)if(n=o.readLong(),o.saveExcursion(i),r.psName==e)return;throw new Error("Font "+e+" not found in collection")}o.offset(0),r.parse()};I.prototype.parse=function(){var t=this.directory=new d(this.contents);this.head=t.readTable("head",v),this.loca=t.readTable("loca",S),this.hhea=t.readTable("hhea",b),this.maxp=t.readTable("maxp",x),this.hmtx=t.readTable("hmtx",_),this.glyf=t.readTable("glyf",C),this.name=t.readTable("name",k),this.post=t.readTable("post",D),this.cmap=t.readTable("cmap",T),this.os2=t.readTable("OS/2",O),this.psName=this.name.postscriptName,this.ascent=this.os2.ascent||this.hhea.ascent,this.descent=this.os2.descent||this.hhea.descent,this.lineGap=this.os2.lineGap||this.hhea.lineGap,this.scale=1e3/this.head.unitsPerEm},I.prototype.widthOfGlyph=function(t){return this.hmtx.forGlyph(t).advance*this.scale},I.prototype.makeSubset=function(){return new L(this)};var A=String.fromCharCode;function M(t){return A(t>>8)+A(255&t)}var R=kendo.support.browser,P="\n",G=0,E={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],executive:[521.86,756],folio:[612,936],legal:[612,1008],letter:[612,792],tabloid:[792,1224]};function N(){var t=0,e=f();function r(){for(var t=arguments,o=0;o<arguments.length;++o){var n=t[o];if(void 0===n)throw new Error("Cannot output undefined to PDF");if(n instanceof ot)n.beforeRender(r),n.render(r);else if(K(n))Q(n,r);else if(n instanceof Date)$(n,r);else if("number"==typeof n){if(isNaN(n))throw new Error("Cannot output NaN to PDF");var i=n.toFixed(7);i.indexOf(".")>=0&&(i=i.replace(/\.?0+$/,"")),"-0"==i&&(i="0"),e.writeString(i)}else/string|boolean/.test(typeof n)?e.writeString(String(n)):"function"==typeof n.get?e.write(n.get()):"object"==typeof n&&(n?r(new ht(n)):e.writeString("null"))}}return r.writeData=function(t){e.write(t)},r.withIndent=function(e){++t,e(r),--t},r.indent=function(){r(P,J("",2*t,"  ")),r.apply(null,arguments)},r.offset=function(){return e.offset()},r.toString=function(){throw new Error("FIX CALLER")},r.get=function(){return e.get()},r.stream=function(){return e},r}function B(t){if("function"!=typeof t){var e=t;t=function(t,r){return t in e?e[t]:r}}var r=t("paperSize",E.a4);if(!r)return{};if("string"==typeof r&&null==(r=E[r.toLowerCase()]))throw new Error("Unknown paper size");r[0]=rt(r[0]),r[1]=rt(r[1]),t("landscape",!1)&&(r=[Math.max(r[0],r[1]),Math.min(r[0],r[1])]);var o=t("margin");return o&&(o="string"==typeof o||"number"==typeof o?{left:o=rt(o,0),top:o,right:o,bottom:o}:{left:rt(o.left,0),top:rt(o.top,0),right:rt(o.right,0),bottom:rt(o.bottom,0)},t("addMargin")&&(r[0]+=o.left+o.right,r[1]+=o.top+o.bottom)),{paperSize:r,margin:o}}var j={"Times-Roman":!0,"Times-Bold":!0,"Times-Italic":!0,"Times-BoldItalic":!0,Helvetica:!0,"Helvetica-Bold":!0,"Helvetica-Oblique":!0,"Helvetica-BoldOblique":!0,Courier:!0,"Courier-Bold":!0,"Courier-Oblique":!0,"Courier-BoldOblique":!0,Symbol:!0,ZapfDingbats:!0};var U={};function z(){U={}}var q,H=(q=function(t,e){var r=j[t];r?e(r):function(t,e){var r;if(R.msie&&(r=/^data:.*?;base64,/i.exec(t)))e(u(t.substr(r[0].length)));else{var o=new XMLHttpRequest;o.open("GET",t,!0),c&&(o.responseType="arraybuffer"),o.onload=function(){200==o.status||304==o.status?e(c?new Uint8Array(o.response):new window.VBArray(o.responseBody).toArray()):n()},o.onerror=n,o.send(null)}function n(){window.console&&(window.console.error?window.console.error("Cannot load URL: %s",t):window.console.log("Cannot load URL: %s",t)),e(null)}}(t,(function(r){if(null==r)throw new Error("Cannot load font from "+t);var o=new I(r);j[t]=o,e(o)}))},function(t,e){var r=t.length,o=r;if(0===r)return e();function n(){0==--r&&e()}for(;o-- >0;)q(t[o],n)}),X=function(e,r,o){o=t.extend({jpegQuality:.92,keepPNG:!1},o);var i=Object.keys(e),a=i.length;if(0===a)return r();function s(){0==--a&&r()}i.forEach((function(t){!function(t,e,r,o){var i,a,s=U[t];if(s)r(s);else if(s=new Image,/^data:/i.test(t)||(s.crossOrigin="Anonymous"),c&&!/^data:/i.test(t)){var h=new XMLHttpRequest;h.onload=function(){if(a=h.response,R.mozilla&&"image/svg+xml"==a.type){var t=new FileReader;t.onload=function(){var t=(new window.DOMParser).parseFromString(this.result,"image/svg+xml").documentElement;if(t.getAttribute("width")&&t.getAttribute("height"))u(i=URL.createObjectURL(a));else{t.setAttribute("width",e.width),t.setAttribute("height",e.height);var r=(new window.XMLSerializer).serializeToString(t);u("data:image/svg+xml;base64,"+n.encodeBase64(r))}},t.readAsText(a)}else u(i=URL.createObjectURL(a))},h.onerror=l,h.open("GET",t,!0),h.responseType="blob",h.send()}else u(t);function u(t){s.src=t,s.complete&&!R.msie?d.call(s):(s.onload=d,s.onerror=l)}function p(){e||(e={width:s.width,height:s.height});var n=document.createElement("canvas");n.width=e.width,n.height=e.height;var a,c=n.getContext("2d");c.drawImage(s,0,0,e.width,e.height);try{a=c.getImageData(0,0,e.width,e.height)}catch(t){return void l()}finally{i&&URL.revokeObjectURL(i)}for(var h=!1,u=f(),p=f(),d=a.data,g=0;g<d.length;){u.writeByte(d[g++]),u.writeByte(d[g++]),u.writeByte(d[g++]);var y=d[g++];y<255&&(h=!0),p.writeByte(y)}if(h||o.keepPNG)s=new gt(e.width,e.height,u,p);else{var m=n.toDataURL("image/jpeg",o.jpegQuality);m=m.substr(m.indexOf(";base64,")+8);var w=f();w.writeBase64(m),s=new dt(w)}r(U[t]=s)}function l(){r(U[t]="ERROR")}function d(){if(e){var o=a&&"image/svg+xml"===a.type||/^data:image\/svg\+xml;/i.test(this.src.substring(0,19)),n=e.width>=s.width||e.height>=s.height;!o&&n&&(e=null)}if(!e&&a&&/^image\/jpe?g$/i.test(a.type)){var c=new FileReader;c.onload=function(){try{var e=new dt(f(new Uint8Array(this.result)));URL.revokeObjectURL(i),r(U[t]=e)}catch(t){p()}},c.readAsArrayBuffer(a)}else p()}}(t,e[t],s,o)}))},W=function(t){var e=this,r=N(),o=0,n=[];function i(e,r){return t&&null!=t[e]?t[e]:r}e.getOption=i,e.attach=function(t){return n.indexOf(t)<0&&(!function(t,e){var r=t.beforeRender,o=t.render;t.beforeRender=function(){},t.render=function(t){t(e," 0 R")},t.renderFull=function(n){t._offset=n.offset(),n(e," 0 obj "),r.call(t,n),o.call(t,n),n(" endobj")}}(t,++o),n.push(t)),t},e.pages=[],e.FONTS={},e.IMAGES={},e.GRAD_COL_FUNCTIONS={},e.GRAD_OPC_FUNCTIONS={},e.GRAD_COL={},e.GRAD_OPC={};var a=e.attach(new ut),s=e.attach(new pt);if(i("autoPrint")){var c={};c.JavaScript=new ht({Names:[new nt("JS"),e.attach(new ht({S:ct("JavaScript"),JS:new nt("print(true);")}))]}),a.props.Names=new ht(c)}a.setPages(s);var h=e.attach(new ht({Producer:new nt(i("producer","Kendo UI PDF Generator"),!0),Title:new nt(i("title",""),!0),Author:new nt(i("author",""),!0),Subject:new nt(i("subject",""),!0),Keywords:new nt(i("keywords",""),!0),Creator:new nt(i("creator","Kendo UI PDF Generator"),!0),CreationDate:i("date",new Date)}));e.addPage=function(t){var r=B((function(e,r){return t&&null!=t[e]?t[e]:r})),o=r.paperSize,n=r.margin,i=o[0],a=o[1];n&&(i-=n.left+n.right,a-=n.top+n.bottom);var c=new ft(N(),null,!0),h={Contents:e.attach(c),Parent:s,MediaBox:[0,0,o[0],o[1]]},f=new _t(e,h);return f._content=c,s.addPage(e.attach(f)),f.transform(1,0,0,-1,0,o[1]),n&&(f.translate(n.left,n.top),f.rect(0,0,i,a),f.clip()),e.pages.push(f),f},e.render=function(){var t;for(r("%PDF-1.4",P,"%ÂÁÚÏÎ",P,P),t=0;t<n.length;++t)n[t].renderFull(r),r(P,P);var e=r.offset();for(r("xref",P,0," ",n.length+1,P),r("0000000000 65535 f ",P),t=0;t<n.length;++t)r(Z(n[t]._offset,10)," 00000 n ",P);return r(P),r("trailer",P),r(new ht({Size:n.length+1,Root:a,Info:h}),P,P),r("startxref",P,e,P),r("%%EOF",P),r.stream().offset(0)},e.loadFonts=H,e.loadImages=X};function J(t,e,r){for(;t.length<e;)t=r+t;return t}function Z(t,e){return J(String(t),e,"0")}function Y(t,e){return Object.prototype.hasOwnProperty.call(t,e)}W.prototype.getFont=function(t){var e=this.FONTS[t];if(!e){if(!(e=j[t]))throw new Error("Font "+t+" has not been loaded");e=!0===e?this.attach(new yt(t)):this.attach(new mt(this,e)),this.FONTS[t]=e}return e},W.prototype.getImage=function(t){var e=this.IMAGES[t];if(!e){if(!(e=U[t]))throw new Error("Image "+t+" has not been loaded");if("ERROR"===e)return null;e=this.IMAGES[t]=this.attach(e.asStream(this))}return e},W.prototype.getOpacityGS=function(t,e){var r=parseFloat(t).toFixed(3);t=parseFloat(r),r+=e?"S":"F";var o=this._opacityGSCache||(this._opacityGSCache={}),n=o[r];if(!n){var i={Type:ct("ExtGState")};e?i.CA=t:i.ca=t,(n=this.attach(new ht(i)))._resourceName=ct("GS"+ ++G),o[r]=n}return n},W.prototype.dict=function(t){return new ht(t)},W.prototype.name=function(t){return ct(t)},W.prototype.stream=function(t,e){return new ft(e,t)};var K=Array.isArray||function(t){return t instanceof Array};function Q(t,e){e("["),t.length>0&&e.withIndent((function(){for(var r=0;r<t.length;++r)r>0&&r%8==0?e.indent(t[r]):e(" ",t[r])})),e(" ]")}function $(t,e){e("(D:",Z(t.getUTCFullYear(),4),Z(t.getUTCMonth()+1,2),Z(t.getUTCDate(),2),Z(t.getUTCHours(),2),Z(t.getUTCMinutes(),2),Z(t.getUTCSeconds(),2),"Z)")}function V(t){return t*(72/25.4)}function tt(t){return V(10*t)}function et(t){return 72*t}function rt(t,e){if("number"==typeof t)return t;var r;if("string"==typeof t&&(r=/^\s*([0-9.]+)\s*(mm|cm|in|pt)\s*$/.exec(t))){var o=parseFloat(r[1]);if(!isNaN(o))return"pt"==r[2]?o:{mm:V,cm:tt,in:et}[r[2]](o)}if(null!=e)return e;throw new Error("Can't parse unit: "+t)}var ot=function(){};ot.prototype.beforeRender=function(){};var nt=function(t){function e(e,r){t.call(this),this.value=e,this.utf16be=Boolean(r)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.render=function(t){var e=this.value;if(this.utf16be)e="þÿ"+function(t){for(var e="",r=0;r<t.length;r++){var o=t.charCodeAt(r);if(o<65535)e+=M(o);else{var n=56320+(o-65536&1023);e+=M(55296+(o-65536>>10)),e+=M(n)}}return e}(e),t("(",e=e.replace(/([\(\)\\])/g,"\\$1"),")");else{for(var r=[40],o=0;o<e.length;++o){var n=255&e.charCodeAt(o);40!=n&&41!=n&&92!=n||r.push(92),r.push(n)}r.push(41),t.writeData(r)}},e.prototype.toString=function(){return this.value},e}(ot),it=function(t){function e(e){t.call(this,e),this.value=e}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.render=function(t){t("<");for(var e=0;e<this.value.length;++e)t(Z(this.value.charCodeAt(e).toString(16),4));t(">")},e}(nt),at=function(t){function e(e){t.call(this),this.name=e}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.get=function(t){return ct(t)},e.prototype.render=function(t){t("/"+this.escape())},e.prototype.escape=function(){return this.name.replace(/[^\x21-\x7E]/g,(function(t){return"#"+Z(t.charCodeAt(0).toString(16),2)}))},e.prototype.toString=function(){return this.name},e}(ot),st={};function ct(t){return Y(st,t)?st[t]:st[t]=new at(t)}var ht=function(t){function e(e){t.call(this),this.props=e}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.render=function(t){var e=this.props,r=!0;t("<<"),t.withIndent((function(){for(var o in e)Y(e,o)&&!/^_/.test(o)&&(r=!1,t.indent(ct(o)," ",e[o]))})),r||t.indent(),t(">>")},e}(ot),ft=function(t){function e(e,r,o){if(t.call(this),"string"==typeof e){var n=f();n.write(e),e=n}this.data=e,this.props=r||{},this.compress=o}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.render=function(t){var e=this.data.get(),r=this.props;this.compress&&a.supportsDeflate()&&(r.Filter?r.Filter instanceof Array||(r.Filter=[r.Filter]):r.Filter=[],r.Filter.unshift(ct("FlateDecode")),e=a.deflate(e)),r.Length=e.length,t(new ht(r)," stream",P),t.writeData(e),t(P,"endstream")},e}(ot),ut=function(t){function e(){t.call(this,{Type:ct("Catalog")})}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.setPages=function(t){this.props.Pages=t},e}(ht),pt=function(t){function e(){t.call(this,{Type:ct("Pages"),Kids:[],Count:0})}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.addPage=function(t){this.props.Kids.push(t),this.props.Count++},e}(ht),lt=[192,193,194,195,197,198,199,201,202,203,205,206,207],dt=function(t){var e,r,o,n;if(t.offset(0),65496!=t.readShort())throw new Error("Invalid JPEG image");for(;!t.eof();){if(255!=t.readByte())throw new Error("Invalid JPEG image");var i=t.readByte(),a=t.readShort();if(lt.indexOf(i)>=0){n=t.readByte(),r=t.readShort(),e=t.readShort(),o=t.readByte();break}t.skip(a-2)}if(null==o)throw new Error("Invalid JPEG image");var s={Type:ct("XObject"),Subtype:ct("Image"),Width:e,Height:r,BitsPerComponent:n,Filter:ct("DCTDecode")};switch(o){case 1:s.ColorSpace=ct("DeviceGray");break;case 3:s.ColorSpace=ct("DeviceRGB");break;case 4:s.ColorSpace=ct("DeviceCMYK"),s.Decode=[1,0,1,0,1,0,1,0]}this.asStream=function(){t.offset(0);var e=new ft(t,s);return e._resourceName=ct("I"+ ++G),e}},gt=function(t,e,r,o){this.asStream=function(n){var i=new ft(o,{Type:ct("XObject"),Subtype:ct("Image"),Width:t,Height:e,BitsPerComponent:8,ColorSpace:ct("DeviceGray")},!0),a=new ft(r,{Type:ct("XObject"),Subtype:ct("Image"),Width:t,Height:e,BitsPerComponent:8,ColorSpace:ct("DeviceRGB"),SMask:n.attach(i)},!0);return a._resourceName=ct("I"+ ++G),a}},yt=function(t){function e(e){t.call(this,{Type:ct("Font"),Subtype:ct("Type1"),BaseFont:ct(e)}),this._resourceName=ct("F"+ ++G)}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.encodeText=function(t){return new nt(String(t))},e}(ht),mt=function(t){function e(e,r,o){t.call(this,{}),(o=this.props).Type=ct("Font"),o.Subtype=ct("Type0"),o.Encoding=ct("Identity-H"),this._pdf=e,this._font=r,this._sub=r.makeSubset(),this._resourceName=ct("F"+ ++G);var n=r.head;this.name=r.psName;var i=this.scale=r.scale;this.bbox=[n.xMin*i,n.yMin*i,n.xMax*i,n.yMax*i],this.italicAngle=r.post.italicAngle,this.ascent=r.ascent*i,this.descent=r.descent*i,this.lineGap=r.lineGap*i,this.capHeight=r.os2.capHeight||this.ascent,this.xHeight=r.os2.xHeight||0,this.stemV=0,this.familyClass=(r.os2.familyClass||0)>>8,this.isSerif=this.familyClass>=1&&this.familyClass<=7,this.isScript=10==this.familyClass,this.flags=(r.post.isFixedPitch?1:0)|(this.isSerif?2:0)|(this.isScript?8:0)|(0!==this.italicAngle?64:0)|32}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.encodeText=function(t){return new it(this._sub.encodeText(String(t)))},e.prototype.getTextWidth=function(t,e){for(var r=0,o=this._font.cmap.codeMap,n=0;n<e.length;++n){var i=o[e.charCodeAt(n)];r+=this._font.widthOfGlyph(i||0)}return r*t/1e3},e.prototype.beforeRender=function(){var e=this,r=e._sub,o=r.render(),n=new ft(f(o),{Length1:o.length},!0),i=e._pdf.attach(new t({Type:ct("FontDescriptor"),FontName:ct(e._sub.psName),FontBBox:e.bbox,Flags:e.flags,StemV:e.stemV,ItalicAngle:e.italicAngle,Ascent:e.ascent,Descent:e.descent,CapHeight:e.capHeight,XHeight:e.xHeight,FontFile2:e._pdf.attach(n)})),a=r.ncid2ogid,s=r.firstChar,c=r.lastChar,h=[];!function t(r,o){if(r<=c){var n=a[r];null==n?t(r+1):(o||h.push(r,o=[]),o.push(e._font.widthOfGlyph(n)),t(r+1,o))}}(s);var u=new t({Type:ct("Font"),Subtype:ct("CIDFontType2"),BaseFont:ct(e._sub.psName),CIDSystemInfo:new t({Registry:new nt("Adobe"),Ordering:new nt("Identity"),Supplement:0}),FontDescriptor:i,FirstChar:s,LastChar:c,DW:Math.round(e._font.widthOfGlyph(0)),W:h,CIDToGIDMap:e._pdf.attach(e._makeCidToGidMap())}),p=e.props;p.BaseFont=ct(e._sub.psName),p.DescendantFonts=[e._pdf.attach(u)];var l=new wt(s,c,r.subset),d=new ft(N(),null,!0);d.data(l),p.ToUnicode=e._pdf.attach(d)},e.prototype._makeCidToGidMap=function(){return new ft(f(this._sub.cidToGidMap()),null,!0)},e}(ht),wt=function(t){function e(e,r,o){t.call(this),this.firstChar=e,this.lastChar=r,this.map=o}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype.render=function(t){t.indent("/CIDInit /ProcSet findresource begin"),t.indent("12 dict begin"),t.indent("begincmap"),t.indent("/CIDSystemInfo <<"),t.indent("  /Registry (Adobe)"),t.indent("  /Ordering (UCS)"),t.indent("  /Supplement 0"),t.indent(">> def"),t.indent("/CMapName /Adobe-Identity-UCS def"),t.indent("/CMapType 2 def"),t.indent("1 begincodespacerange"),t.indent("  <0000><ffff>"),t.indent("endcodespacerange");var e=this;t.indent(e.lastChar-e.firstChar+1," beginbfchar"),t.withIndent((function(){for(var r=e.firstChar;r<=e.lastChar;++r){var o=e.map[r],n=[o].map((function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)})).join("");t.indent("<",Z(r.toString(16),4),">","<");for(var i=0;i<n.length;++i)t(Z(n.charCodeAt(i).toString(16),4));t(">")}})),t.indent("endbfchar"),t.indent("endcmap"),t.indent("CMapName currentdict /CMap defineresource pop"),t.indent("end"),t.indent("end")},e}(ot);function vt(t){return t.map((function(t){return K(t)?vt(t):"number"==typeof t?(Math.round(1e3*t)/1e3).toFixed(3):t})).join(" ")}function St(t,e,r,o,n,i,a){var s=vt([e,r,o,n,i,a]),c=t.GRAD_COL_FUNCTIONS[s];return c||(c=t.GRAD_COL_FUNCTIONS[s]=t.attach(new ht({FunctionType:2,Domain:[0,1],Range:[0,1,0,1,0,1],N:1,C0:[e,r,o],C1:[n,i,a]}))),c}function bt(t,e,r){var o=vt([e,r]),n=t.GRAD_OPC_FUNCTIONS[o];return n||(n=t.GRAD_OPC_FUNCTIONS[o]=t.attach(new ht({FunctionType:2,Domain:[0,1],Range:[0,1],N:1,C0:[e],C1:[r]}))),n}function xt(t,e,r){var o="radial"==e.type,n=function(t,e){var r,o,n,i,a,s=!1,c=[],h=[],f=[],u=[];for(r=1;r<e.length;++r)o=e[r-1],n=e[r],i=o.color,a=n.color,h.push(St(t,i.r,i.g,i.b,a.r,a.g,a.b)),(i.a<1||a.a<1)&&(s=!0),f.push(n.offset),u.push(0,1);if(s)for(r=1;r<e.length;++r)o=e[r-1],n=e[r],i=o.color,a=n.color,c.push(bt(t,i.a,a.a));return f.pop(),{hasAlpha:s,colors:p(h),opacities:s?p(c):null};function p(t){return 1==t.length?t[0]:{FunctionType:3,Functions:t,Domain:[0,1],Bounds:f,Encode:u}}}(t,e.stops),i=o?[e.start.x,e.start.y,e.start.r,e.end.x,e.end.y,e.end.r]:[e.start.x,e.start.y,e.end.x,e.end.y],a=function(t,e,r,o,n,i){var a,s;if(!i){var c=[e].concat(o);r.forEach((function(t){c.push(t.offset,t.color.r,t.color.g,t.color.b)})),s=vt(c),a=t.GRAD_COL[s]}return a||(a=new ht({Type:ct("Shading"),ShadingType:e?3:2,ColorSpace:ct("DeviceRGB"),Coords:o,Domain:[0,1],Function:n,Extend:[!0,!0]}),t.attach(a),a._resourceName="S"+ ++G,s&&(t.GRAD_COL[s]=a)),a}(t,o,e.stops,i,n.colors,e.userSpace&&r),s=n.hasAlpha?function(t,e,r,o,n,i){var a,s;if(!i){var c=[e].concat(o);r.forEach((function(t){c.push(t.offset,t.color.a)})),s=vt(c),a=t.GRAD_OPC[s]}return a||(a=new ht({Type:ct("ExtGState"),AIS:!1,CA:1,ca:1,SMask:{Type:ct("Mask"),S:ct("Luminosity"),G:t.attach(new ft("/a0 gs /s0 sh",{Type:ct("XObject"),Subtype:ct("Form"),FormType:1,BBox:i?[i.left,i.top+i.height,i.left+i.width,i.top]:[0,1,1,0],Group:{Type:ct("Group"),S:ct("Transparency"),CS:ct("DeviceGray"),I:!0},Resources:{ExtGState:{a0:{CA:1,ca:1}},Shading:{s0:{ColorSpace:ct("DeviceGray"),Coords:o,Domain:[0,1],ShadingType:e?3:2,Function:n,Extend:[!0,!0]}}}}))}}),t.attach(a),a._resourceName="O"+ ++G,s&&(t.GRAD_OPC[s]=a)),a}(t,o,e.stops,i,n.opacities,e.userSpace&&r):null;return{hasAlpha:n.hasAlpha,shading:a,opacity:s}}var _t=function(t){function e(e,r){t.call(this,r),this._pdf=e,this._rcount=0,this._textMode=!1,this._fontResources={},this._gsResources={},this._xResources={},this._patResources={},this._shResources={},this._opacity=1,this._matrix=[1,0,0,1,0,0],this._annotations=[],this._font=null,this._fontSize=null,this._contextStack=[],(r=this.props).Type=ct("Page"),r.ProcSet=[ct("PDF"),ct("Text"),ct("ImageB"),ct("ImageC"),ct("ImageI")],r.Resources=new t({Font:new t(this._fontResources),ExtGState:new t(this._gsResources),XObject:new t(this._xResources),Pattern:new t(this._patResources),Shading:new t(this._shResources)}),r.Annots=this._annotations}return i(e,t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.fn=e.prototype,e.fn.init=e.fn.constructor,e.prototype._out=function(){this._content.data.apply(null,arguments)},e.prototype.transform=function(t,e,r,o,n,i){var a;(1!==(a=arguments)[0]||0!==a[1]||0!==a[2]||1!==a[3]||0!==a[4]||0!==a[5])&&(this._matrix=function(t,e){var r=t[0],o=t[1],n=t[2],i=t[3],a=t[4],s=t[5],c=e[0],h=e[1],f=e[2],u=e[3],p=e[4],l=e[5];return[r*c+o*f,r*h+o*u,n*c+i*f,n*h+i*u,a*c+s*f+p,a*h+s*u+l]}(arguments,this._matrix),this._out(t," ",e," ",r," ",o," ",n," ",i," cm"),this._out(P))},e.prototype.translate=function(t,e){this.transform(1,0,0,1,t,e)},e.prototype.scale=function(t,e){this.transform(t,0,0,e,0,0)},e.prototype.rotate=function(t){var e=Math.cos(t),r=Math.sin(t);this.transform(e,r,-r,e,0,0)},e.prototype.beginText=function(){this._textMode=!0,this._out("BT",P)},e.prototype.endText=function(){this._textMode=!1,this._out("ET",P)},e.prototype._requireTextMode=function(){if(!this._textMode)throw new Error("Text mode required; call page.beginText() first")},e.prototype._requireFont=function(){if(!this._font)throw new Error("No font selected; call page.setFont() first")},e.prototype.setFont=function(t,e){this._requireTextMode(),null==t?t=this._font:t instanceof mt||(t=this._pdf.getFont(t)),null==e&&(e=this._fontSize),this._fontResources[t._resourceName]=t,this._font=t,this._fontSize=e,this._out(t._resourceName," ",e," Tf",P)},e.prototype.setTextLeading=function(t){this._requireTextMode(),this._out(t," TL",P)},e.prototype.setTextRenderingMode=function(t){this._requireTextMode(),this._out(t," Tr",P)},e.prototype.showText=function(t,e){if(this._requireFont(),t.length>1&&e&&this._font instanceof mt){var r=e/this._font.getTextWidth(this._fontSize,t)*100;this._out(r," Tz ")}this._out(this._font.encodeText(t)," Tj",P)},e.prototype.showTextNL=function(t){this._requireFont(),this._out(this._font.encodeText(t)," '",P)},e.prototype.addLink=function(e,r){var o=this._toPage({x:r.left,y:r.bottom}),n=this._toPage({x:r.right,y:r.top});this._annotations.push(new t({Type:ct("Annot"),Subtype:ct("Link"),Rect:[o.x,o.y,n.x,n.y],Border:[0,0,0],A:new t({Type:ct("Action"),S:ct("URI"),URI:new nt(e)})}))},e.prototype.setStrokeColor=function(t,e,r){this._out(t," ",e," ",r," RG",P)},e.prototype.setOpacity=function(t){this.setFillOpacity(t),this.setStrokeOpacity(t),this._opacity*=t},e.prototype.setStrokeOpacity=function(t){if(t<1){var e=this._pdf.getOpacityGS(this._opacity*t,!0);this._gsResources[e._resourceName]=e,this._out(e._resourceName," gs",P)}},e.prototype.setFillColor=function(t,e,r){this._out(t," ",e," ",r," rg",P)},e.prototype.setFillOpacity=function(t){if(t<1){var e=this._pdf.getOpacityGS(this._opacity*t,!1);this._gsResources[e._resourceName]=e,this._out(e._resourceName," gs",P)}},e.prototype.gradient=function(t,e){this.save(),this.rect(e.left,e.top,e.width,e.height),this.clip(),t.userSpace||this.transform(e.width,0,0,e.height,e.left,e.top);var r,o=xt(this._pdf,t,e),n=o.shading._resourceName;this._shResources[n]=o.shading,o.hasAlpha&&(r=o.opacity._resourceName,this._gsResources[r]=o.opacity,this._out("/"+r+" gs ")),this._out("/"+n+" sh",P),this.restore()},e.prototype.setDashPattern=function(t,e){this._out(t," ",e," d",P)},e.prototype.setLineWidth=function(t){this._out(t," w",P)},e.prototype.setLineCap=function(t){this._out(t," J",P)},e.prototype.setLineJoin=function(t){this._out(t," j",P)},e.prototype.setMitterLimit=function(t){this._out(t," M",P)},e.prototype.save=function(){this._contextStack.push(this._context()),this._out("q",P)},e.prototype.restore=function(){this._out("Q",P),this._context(this._contextStack.pop())},e.prototype.moveTo=function(t,e){this._out(t," ",e," m",P)},e.prototype.lineTo=function(t,e){this._out(t," ",e," l",P)},e.prototype.bezier=function(t,e,r,o,n,i){this._out(t," ",e," ",r," ",o," ",n," ",i," c",P)},e.prototype.bezier1=function(t,e,r,o){this._out(t," ",e," ",r," ",o," y",P)},e.prototype.bezier2=function(t,e,r,o){this._out(t," ",e," ",r," ",o," v",P)},e.prototype.close=function(){this._out("h",P)},e.prototype.rect=function(t,e,r,o){this._out(t," ",e," ",r," ",o," re",P)},e.prototype.ellipse=function(t,e,r,o){function n(e){return t+e}function i(t){return e+t}var a=.5522847498307936;this.moveTo(n(0),i(o)),this.bezier(n(r*a),i(o),n(r),i(o*a),n(r),i(0)),this.bezier(n(r),i(-o*a),n(r*a),i(-o),n(0),i(-o)),this.bezier(n(-r*a),i(-o),n(-r),i(-o*a),n(-r),i(0)),this.bezier(n(-r),i(o*a),n(-r*a),i(o),n(0),i(o))},e.prototype.circle=function(t,e,r){this.ellipse(t,e,r,r)},e.prototype.stroke=function(){this._out("S",P)},e.prototype.nop=function(){this._out("n",P)},e.prototype.clip=function(){this._out("W n",P)},e.prototype.clipStroke=function(){this._out("W S",P)},e.prototype.closeStroke=function(){this._out("s",P)},e.prototype.fill=function(){this._out("f",P)},e.prototype.fillStroke=function(){this._out("B",P)},e.prototype.drawImage=function(t){var e=this._pdf.getImage(t);e&&(this._xResources[e._resourceName]=e,this._out(e._resourceName," Do",P))},e.prototype.comment=function(t){var e=this;t.split(/\r?\n/g).forEach((function(t){e._out("% ",t,P)}))},e.prototype._context=function(t){if(null==t)return{opacity:this._opacity,matrix:this._matrix};this._opacity=t.opacity,this._matrix=t.matrix},e.prototype._toPage=function(t){var e=this._matrix,r=e[0],o=e[1],n=e[2],i=e[3],a=e[4],s=e[5];return{x:r*t.x+n*t.y+a,y:o*t.x+i*t.y+s}},e}(ht);function Ct(t){return t.replace(/^\s*(['"])(.*)\1\s*$/,"$2")}function kt(t){var e=/^\s*((normal|italic)\s+)?((normal|small-caps)\s+)?((normal|bold|\d+)\s+)?(([0-9.]+)(px|pt))(\/(([0-9.]+)(px|pt)|normal))?\s+(.*?)\s*$/i.exec(t);if(!e)return{fontSize:12,fontFamily:"sans-serif"};var r=e[8]?parseInt(e[8],10):12;return{italic:e[2]&&"italic"==e[2].toLowerCase(),variant:e[4],bold:e[6]&&/bold|700/i.test(e[6]),fontSize:r,lineHeight:e[12]?"normal"==e[12]?r:parseInt(e[12],10):null,fontFamily:e[14].split(/\s*,\s*/g).map(Ct)}}function Dt(t){function e(e){return t.bold&&(e+="|bold"),t.italic&&(e+="|italic"),e.toLowerCase()}var r,o,n=t.fontFamily;if(n instanceof Array)for(var i=0;i<n.length&&(r=e(n[i]),!(o=Tt[r]));++i);else o=Tt[n.toLowerCase()];for(;"function"==typeof o;)o=o();return o||(o="Times-Roman"),o}var Tt={serif:"Times-Roman","serif|bold":"Times-Bold","serif|italic":"Times-Italic","serif|bold|italic":"Times-BoldItalic","sans-serif":"Helvetica","sans-serif|bold":"Helvetica-Bold","sans-serif|italic":"Helvetica-Oblique","sans-serif|bold|italic":"Helvetica-BoldOblique",monospace:"Courier","monospace|bold":"Courier-Bold","monospace|italic":"Courier-Oblique","monospace|bold|italic":"Courier-BoldOblique",zapfdingbats:"ZapfDingbats","zapfdingbats|bold":"ZapfDingbats","zapfdingbats|italic":"ZapfDingbats","zapfdingbats|bold|italic":"ZapfDingbats"};function Ot(t,e){t=t.toLowerCase(),Tt[t]=function(){return Tt[e]},Tt[t+"|bold"]=function(){return Tt[e+"|bold"]},Tt[t+"|italic"]=function(){return Tt[e+"|italic"]},Tt[t+"|bold|italic"]=function(){return Tt[e+"|bold|italic"]}}Ot("Times New Roman","serif"),Ot("Courier New","monospace"),Ot("Arial","sans-serif"),Ot("Helvetica","sans-serif"),Ot("Verdana","sans-serif"),Ot("Tahoma","sans-serif"),Ot("Georgia","sans-serif"),Ot("Monaco","monospace"),Ot("Andale Mono","monospace");var Ft={fill:0,stroke:1,fillAndStroke:2,invisible:3,fillAndClip:4,strokeAndClip:5,fillStrokeClip:6,clip:7},Lt=300,It=Ft,At={dash:[4],dashDot:[4,2,1,2],dot:[1,2],longDash:[8,2],longDashDot:[8,2,1,2],longDashDotDot:[8,2,1,2,1,2],solid:[]},Mt={butt:0,round:1,square:2},Rt={miter:0,round:1,bevel:2};function Pt(t,e){var r=[],n={},i=t.options;function a(t,e,r){return r||(r=i),r.pdf&&null!=r.pdf[t]?r.pdf[t]:e}var c=a("multiPage"),h=a("imgDPI",Lt);function f(){if(!(--u>0)){var r=new W({producer:a("producer"),title:a("title"),author:a("author"),subject:a("subject"),keywords:a("keywords"),creator:a("creator"),date:a("date"),autoPrint:a("autoPrint")});c?t.children.forEach(n):n(t),e(r.render(),r)}function n(t){var e=t.options,n=function(t){var e,r=!1,n=s.Matrix.unit(),i=null;do{e=!1,t=p(t)}while(t&&e);return{root:t,bbox:i};function a(t){return e=!0,t}function c(t){return t.visible()&&t.opacity()>0&&(jt(t.fill())||jt(t.stroke()))}function h(t){for(var e=[],r=0;r<t.length;++r){var o=p(t[r]);null!=o&&e.push(o)}return e}function f(t,e){var o=r,i=n;t.transform()&&(n=n.multiplyCopy(t.transform().matrix()));var a=t.clip();a&&(a=a.bbox())&&(a=a.bbox(n),r=r?s.Rect.intersect(r,a):a);try{return e()}finally{r=o,n=i}}function u(t){if(null==r)return!1;var e=t.rawBBox().bbox(n);return r&&e&&(e=s.Rect.intersect(e,r)),e}function p(e){return f(e,(function(){if(!(e instanceof o.Group||e instanceof o.MultiPath)){var r=u(e);if(!r)return a(null);i=i?s.Rect.union(i,r):r}return Nt({Path:function(t){return 0!==t.segments.length&&c(t)?t:a(null)},MultiPath:function(t){if(!c(t))return a(null);var e=new o.MultiPath(t.options);return e.paths=h(t.paths),0===e.paths.length?a(null):e},Circle:function(t){return c(t)?t:a(null)},Arc:function(t){return c(t)?t:a(null)},Text:function(t){return/\S/.test(t.content())&&c(t)?t:a(null)},Image:function(t){return t.visible()&&t.opacity()>0?t:a(null)},Group:function(e){if(!(e.visible()&&e.opacity()>0))return a(null);var r=new o.Group(e.options);return r.children=h(e.children),r._pdfLink=e._pdfLink,e===t||0!==r.children.length||e._pdfLink?r:a(null)},Rect:function(t){return c(t)?t:a(null)}},e)}))}}(t),i=n.bbox;t=n.root;var c=a("paperSize",a("paperSize","auto"),e),h=!1;if("auto"==c)if(i){var f=i.getSize();c=[f.width,f.height],h=!0;var u=i.getOrigin();(n=new o.Group).transform(new s.Matrix(1,0,0,1,-u.x,-u.y)),n.append(t),t=n}else c="A4";Bt(t,r.addPage({paperSize:c,margin:a("margin",a("margin"),e),addMargin:h,landscape:a("landscape",a("landscape",!1),e)}),r)}}z(),t.traverse((function(t){Nt({Image:function(t){var e=t.src(),r=t.bbox().size;if(h){var o=n[e];r={width:Math.ceil(r.width*h/72),height:Math.ceil(r.height*h/72)},o&&(r.width=Math.max(o.width,r.width),r.height=Math.max(o.height,r.height))}n[e]=r},Text:function(t){var e=Dt(kt(t.options.font));r.indexOf(e)<0&&r.push(e)}},t)}));var u=2;H(r,f),X(n,f,{jpegQuality:a("jpegQuality",.92),keepPNG:a("keepPNG",!1)})}function Gt(t,e){Pt(t,(function(t){e("data:application/pdf;base64,"+t.base64())}))}function Et(t,e){Pt(t,(function(t){e(new window.Blob([t.get()],{type:"application/pdf"}))}))}function Nt(t,e){var r=t[e.nodeType];return r?r.call.apply(r,arguments):e}function Bt(t,e,r){t.options._pdfDebug&&e.comment("BEGIN: "+t.options._pdfDebug);var n=t.transform(),i=t.opacity();if(e.save(),null!=i&&i<1&&e.setOpacity(i),function(t,e){var r=t.stroke&&t.stroke();if(!r)return;var o=r.color;if(o){if(null==(o=$t(o)))return;e.setStrokeColor(o.r,o.g,o.b),1!=o.a&&e.setStrokeOpacity(o.a)}var n=r.width;if(null!=n){if(0===n)return;e.setLineWidth(n)}var i=r.dashType;i&&e.setDashPattern(At[i],0);var a=r.lineCap;a&&e.setLineCap(Mt[a]);var s=r.lineJoin;s&&e.setLineJoin(Rt[s]);var c=r.opacity;null!=c&&e.setStrokeOpacity(c)}(t,e),function(t,e){var r=t.fill&&t.fill();if(!r)return;if(r instanceof o.Gradient)return;var n=r.color;if(n){if(null==(n=$t(n)))return;e.setFillColor(n.r,n.g,n.b),1!=n.a&&e.setFillOpacity(n.a)}var i=r.opacity;null!=i&&e.setFillOpacity(i)}(t,e),n){var a=n.matrix();e.transform(a.a,a.b,a.c,a.d,a.e,a.f)}!function(t,e,r){var o=t.clip();o&&(qt(o,e,r),e.clip())}(t,e,r),Nt({Path:Ht,MultiPath:Xt,Circle:Wt,Arc:Jt,Text:Zt,Image:Kt,Group:Yt,Rect:Qt},t,e,r),e.restore(),t.options._pdfDebug&&e.comment("END: "+t.options._pdfDebug)}function jt(t){return t&&(t instanceof o.Gradient||t.color&&!/^(none|transparent)$/i.test(t.color)&&(null==t.width||t.width>0)&&(null==t.opacity||t.opacity>0))}function Ut(t,e,r,n){var i=t.fill();if(i instanceof o.Gradient){n?e.clipStroke():e.clip();var a,s,c=i instanceof o.RadialGradient;c?(a={x:i.center().x,y:i.center().y,r:0},s={x:i.center().x,y:i.center().y,r:i.radius()}):(a={x:i.start().x,y:i.start().y},s={x:i.end().x,y:i.end().y});var h=i.stops.elements().map((function(t){var e=t.offset();e=/%$/.test(e)?parseFloat(e)/100:parseFloat(e);var r=$t(t.color());return r.a*=t.opacity(),{offset:e,color:r}}));h.unshift(h[0]),h.push(h[h.length-1]);var f={userSpace:i.userSpace(),type:c?"radial":"linear",start:a,end:s,stops:h},u=t.rawBBox(),p=u.topLeft(),l=u.getSize();return u={left:p.x,top:p.y,width:l.width,height:l.height},e.gradient(f,u),!0}}function zt(t,e,r){jt(t.fill())&&jt(t.stroke())?Ut(t,e,0,!0)||e.fillStroke():jt(t.fill())?Ut(t,e,0,!1)||e.fill():jt(t.stroke())?e.stroke():e.nop()}function qt(t,e,r){var o=t.segments;if(0!==o.length&&!function(t,e){var r=t.segments;if(4==r.length&&t.options.closed){for(var o=[],n=0;n<r.length;++n){if(r[n].controlIn())return!1;o[n]=r[n].anchor()}if(o[0].y==o[1].y&&o[1].x==o[2].x&&o[2].y==o[3].y&&o[3].x==o[0].x||o[0].x==o[1].x&&o[1].y==o[2].y&&o[2].x==o[3].x&&o[3].y==o[0].y)return e.rect(o[0].x,o[0].y,o[2].x-o[0].x,o[2].y-o[0].y),!0}}(t,e)){for(var n,i=0;i<o.length;++i){var a=o[i],s=a.anchor();if(n){var c=n.controlOut(),h=a.controlIn();c&&h?e.bezier(c.x,c.y,h.x,h.y,s.x,s.y):e.lineTo(s.x,s.y)}else e.moveTo(s.x,s.y);n=a}t.options.closed&&e.close()}}function Ht(t,e,r){qt(t,e),zt(t,e)}function Xt(t,e,r){for(var o=t.paths,n=0;n<o.length;++n)qt(o[n],e);zt(t,e)}function Wt(t,e,r){var o=t.geometry();e.circle(o.center.x,o.center.y,o.radius),zt(t,e)}function Jt(t,e,r){var o=t.geometry().curvePoints();e.moveTo(o[0].x,o[0].y);for(var n=1;n<o.length;)e.bezier(o[n].x,o[n++].y,o[n].x,o[n++].y,o[n].x,o[n++].y);zt(t,e)}function Zt(t,e){var r,o=kt(t.options.font),n=t._position;t.fill()&&t.stroke()?r=It.fillAndStroke:t.fill()?r=It.fill:t.stroke()&&(r=It.stroke),e.transform(1,0,0,-1,n.x,n.y+o.fontSize),e.beginText(),e.setFont(Dt(o),o.fontSize),e.setTextRenderingMode(r),e.showText(t.content(),t._pdfRect?t._pdfRect.width():null),e.endText()}function Yt(t,e,r){t._pdfLink&&e.addLink(t._pdfLink.url,t._pdfLink);for(var o=t.children,n=0;n<o.length;++n)Bt(o[n],e,r)}function Kt(t,e){var r=t.src();if(r){var o=t.rect(),n=o.getOrigin(),i=o.getSize();e.transform(i.width,0,0,-i.height,n.x,n.y+i.height),e.drawImage(r)}}function Qt(t,e,r){var n=t.geometry(),i=n.cornerRadius,a=i[0],s=i[1];0===a&&0===s?(e.rect(n.origin.x,n.origin.y,n.size.width,n.size.height),zt(t,e)):Ht(o.Path.fromRect(n,t.options),e)}function $t(t){var e=kendo.parseColor(t,!0);return e?e.toRGB():null}kendo.deepExtend(kendo.pdf,{Document:W,BinaryStream:f,defineFont:function t(e,r){if(1==arguments.length)for(var o in e)Y(e,o)&&t(o,e[o]);else switch(e=e.toLowerCase(),Tt[e]=r,e){case"dejavu sans":Tt["sans-serif"]=r;break;case"dejavu sans|bold":Tt["sans-serif|bold"]=r;break;case"dejavu sans|italic":Tt["sans-serif|italic"]=r;break;case"dejavu sans|bold|italic":Tt["sans-serif|bold|italic"]=r;break;case"dejavu serif":Tt.serif=r;break;case"dejavu serif|bold":Tt["serif|bold"]=r;break;case"dejavu serif|italic":Tt["serif|italic"]=r;break;case"dejavu serif|bold|italic":Tt["serif|bold|italic"]=r;break;case"dejavu mono":Tt.monospace=r;break;case"dejavu mono|bold":Tt["monospace|bold"]=r;break;case"dejavu mono|italic":Tt["monospace|italic"]=r;break;case"dejavu mono|bold|italic":Tt["monospace|bold|italic"]=r}},parseFontDef:kt,getFontURL:Dt,loadFonts:H,loadImages:X,getPaperOptions:B,clearImageCache:z,TEXT_RENDERING_MODE:Ft,exportPDF:function(t,e){var r=n.createPromise();for(var o in e)"margin"==o&&t.options.pdf&&t.options.pdf._ignoreMargin||t.options.set("pdf."+o,e[o]);return Gt(t,r.resolve),r},exportPDFToBlob:function(t,e){var o=n.createPromise();for(var i in e)"margin"==i&&t.options.pdf&&t.options.pdf._ignoreMargin||t.options.set("pdf."+i,e[i]);return window.Blob&&!r.safari?Et(t,o.resolve):Gt(t,o.resolve),o},saveAs:function(t,e,o,n){window.Blob&&!r.safari?Et(t,(function(t){kendo.saveAs({dataURI:t,fileName:e}),n&&n(t)})):Gt(t,(function(t){kendo.saveAs({dataURI:t,fileName:e,proxyURL:o}),n&&n(t)}))},toDataURL:Gt,toBlob:Et,render:Pt}),kendo.drawing.exportPDF=kendo.pdf.exportPDF,kendo.drawing.pdf=kendo.pdf}(window.kendo.jQuery),t=window.kendo.jQuery,kendo.PDFMixin={extend:function(t){t.events.push("pdfExport"),t.options.pdf=this.options,t.saveAsPDF=this.saveAsPDF,t._drawPDF=this._drawPDF,t._drawPDFShadow=this._drawPDFShadow},options:{fileName:"Export.pdf",proxyURL:"",paperSize:"auto",allPages:!1,landscape:!1,margin:null,title:null,author:null,subject:null,keywords:null,creator:"Kendo UI PDF Generator v."+kendo.version,date:null},saveAsPDF:function(){var e=new t.Deferred,r=e.promise(),o={promise:r};if(!this.trigger("pdfExport",o)){var n=this.options.pdf;return n.multiPage=n.multiPage||n.allPages,this._drawPDF(e).then((function(t){return kendo.drawing.exportPDF(t,n)})).done((function(t){kendo.saveAs({dataURI:t,fileName:n.fileName,proxyURL:n.proxyURL,forceProxy:n.forceProxy,proxyTarget:n.proxyTarget}),e.resolve()})).fail((function(t){e.reject(t)})),r}},_drawPDF:function(e){var r=new t.Deferred;return kendo.drawing.drawDOM(this.wrapper).done((function(t){var o={page:t,pageNumber:1,progress:1,totalPages:1};e.notify(o),r.resolve(o.page)})).fail((function(t){r.reject(t)})),r},_drawPDFShadow:function(e,r){e=e||{};var o=this.wrapper,n=t("<div class='k-pdf-export-shadow'>");e.width&&n.css({width:e.width,overflow:"visible"}),o.before(n),n.append(e.content||o.clone(!0,!0));var i=t.Deferred();return setTimeout((function(){kendo.drawing.drawDOM(n,r).always((function(){n.remove()})).then((function(){i.resolve.apply(i,arguments)})).fail((function(){i.reject.apply(i,arguments)})).progress((function(){i.progress.apply(i,arguments)}))}),15),i.promise()}}}));
//# sourceMappingURL=kendo.pdf.min.js.map
;!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],r):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoprogressbar=e.kendoprogressbar||{},e.kendoprogressbar.js=r())}(this,(function(){return function(e,r){var a=window.kendo,s=a.ui.Widget,t="horizontal",n="vertical",o="k-progressbar",i="k-progressbar-indeterminate",p="k-complete",l="k-selected",u="k-progress-status",d="k-selected",c="k-disabled",g="k-progressbar-value",v="k-progressbar-chunk",_={VALUE:"value",PERCENT:"percent",CHUNK:"chunk"},f="change",h="complete",m=Math,k=e.extend,w={progressStatus:"<span class='k-progress-status-wrap k-progress-end'><span class='k-progress-status'></span></span>",announceElement:'<span aria-live="polite" class="k-sr-only k-progress-announce"></span>'},y=s.extend({init:function(e,r){var a=this;s.fn.init.call(this,e,r),r=a.options,a._progressProperty=r.orientation===t?"width":"height",a._fields(),r.value=a._validateValue(r.value),a._validateType(r.type),a._wrapper(),r.ariaRole&&a._aria(),a._progressAnimation(),r.value!==r.min&&!1!==r.value&&a._updateProgress()},setOptions:function(e){var r=this,a=r.wrapper;s.fn.setOptions.call(r,e),e.hasOwnProperty("reverse")&&a.toggleClass("k-progressbar-reverse",e.reverse),e.hasOwnProperty("enable")&&r.enable(e.enable),e.ariaRole&&r._aria(),r._progressAnimation(),r._validateValue(),r._updateProgress()},events:[f,h],options:{name:"ProgressBar",orientation:t,reverse:!1,min:0,max:100,value:0,enable:!0,type:_.VALUE,chunkCount:5,showStatus:!0,animation:{},label:null,labelId:null,ariaRole:!1},_aria:function(){var r=this,a=r.options,s=r.wrapper;s.attr({role:"progressbar","aria-valuemin":a.min,"aria-valuemax":a.max}),a.labelId?s.attr("aria-labelledby",a.labelId):a.label&&s.attr("aria-label",a.label),r.announce=e(w.announceElement),r.announce.appendTo(e("body")),!1!==a.value&&(s.attr("aria-valuenow",a.value),r.announce.text(r._calculatePercentage().toFixed()+"%"))},_fields:function(){var r=this;r._isStarted=!1,r.progressWrapper=r.progressStatus=e()},_validateType:function(r){var s=!1;if(e.each(_,(function(e,a){if(a===r)return s=!0,!1})),!s)throw new Error(a.format("Invalid ProgressBar type '{0}'",r))},_wrapper:function(){var e=this,r=e.wrapper=e.element,a=e.options,s=a.orientation,p=!1!==a.value?a.value:a.min;r.addClass(o),r.addClass(o+"-"+(s===t?t:n)),!1===a.enable&&r.addClass(c),a.reverse&&r.addClass("k-progressbar-reverse"),!1===a.value&&r.addClass(i),a.type===_.CHUNK?e._addChunkProgressWrapper():a.showStatus&&(e.progressStatus=e.wrapper.prepend(w.progressStatus).find("."+u),a.type===_.VALUE?e.progressStatus.text(p):e.progressStatus.text(e._calculatePercentage(p).toFixed()+"%"))},value:function(e){return this._value(e)},_value:function(e){var a,s=this,t=s.options;if(e===r)return t.value;"boolean"!=typeof e?(e=s._roundValue(e),isNaN(e)||(a=s._validateValue(e))!==t.value&&(s.wrapper.removeClass(i),t.value=a,s._isStarted=!0,s._updateProgress())):e||(s.wrapper.addClass(i),s.wrapper.removeAttr("aria-valuenow"),t.value=!1,s.announce&&s.announce.text(""))},_roundValue:function(e){e=parseFloat(e);var r=m.pow(10,3);return a._round(e*r)/r},_validateValue:function(e){var r=this.options;if(!1!==e){if(e<=r.min||!0===e)return r.min;if(e>=r.max)return r.max}else if(!1===e)return!1;return isNaN(this._roundValue(e))?r.min:e},_updateProgress:function(){var e=this,r=e.options,a=e._calculatePercentage();r.type===_.CHUNK?(e._updateChunks(a),e._onProgressUpdateAlways(r.value)):e._updateProgressWrapper(a),r.ariaRole&&(e.wrapper.attr("aria-valuenow",e.options.value),e.announce&&e.announce.text(a.toFixed()+"%"))},_updateChunks:function(e){var r,s=this,o=s.options,i=o.chunkCount,p=parseInt(100/i*100,10)/100,l=parseInt(100*e,10)/100,u=m.floor(l/p);r=o.orientation===t&&!o.reverse||o.orientation===n&&o.reverse?s.wrapper.find("li."+v).slice(0,u):0===u?a.jQuery():s.wrapper.find("li."+v).slice(-1*u),s.wrapper.find("."+d).removeClass(d+" "+g),r.addClass(d+" "+g)},_updateProgressWrapper:function(e){var r=this,a=r.options,s=r.wrapper.find("."+l),t=r._isStarted?r._animation.duration:0,n={};0===s.length&&r._addRegularProgressWrapper(),n[r._progressProperty]=e+"%",r.progressWrapper.animate(n,{duration:t,start:r._onProgressAnimateStart.bind(r),progress:r._onProgressAnimate.bind(r),complete:r._onProgressAnimateComplete.bind(r,a.value),always:r._onProgressUpdateAlways.bind(r,a.value)})},_onProgressAnimateStart:function(){this.progressWrapper.show()},_onProgressAnimate:function(e){var r,a=this,s=a.options,t=parseFloat(e.elem.style[a._progressProperty],10);s.showStatus&&(r=1e4/parseFloat(a.progressWrapper[0].style[a._progressProperty]),a.progressWrapper.find(".k-progress-status-wrap").css(a._progressProperty,r+"%")),s.type!==_.CHUNK&&t<=98&&a.progressWrapper.removeClass(p)},_onProgressAnimateComplete:function(e){var r,a=this,s=a.options,t=parseFloat(a.progressWrapper[0].style[a._progressProperty]);s.type!==_.CHUNK&&t>98&&a.progressWrapper.addClass(p),s.showStatus&&(r=s.type===_.VALUE?e:s.type==_.PERCENT?a._calculatePercentage(e).toFixed()+"%":m.floor(a._calculatePercentage(e))+"%",a.progressStatus.text(r)),e===s.min&&a.progressWrapper.hide()},_onProgressUpdateAlways:function(e){var r=this,a=r.options;r._isStarted&&r.trigger(f,{value:e}),e===a.max&&r._isStarted&&r.trigger(h,{value:a.max})},enable:function(e){var r=this.options;r.enable=void 0===e||e,this.wrapper.toggleClass(c,!r.enable)},destroy:function(){var e=this;e.announce&&e.announce.remove(),s.fn.destroy.call(e)},_addChunkProgressWrapper:function(){var e=this,r=e.options,a=e.wrapper,s=100/r.chunkCount,t="";r.chunkCount<=1&&(r.chunkCount=1),e.element.addClass("k-chunk-progressbar"),t+="<ul class='k-reset k-progressbar-chunks'>";for(var n=r.chunkCount-1;n>=0;n--)t+="<li class='"+v+"'></li>";t+="</ul>",a.append(t).find("."+v).css(e._progressProperty,s+"%").first().addClass("k-first").end().last().addClass("k-last"),e._normalizeChunkSize()},_normalizeChunkSize:function(){var e=this,r=e.options,a=e.wrapper.find("."+v).last(),s=parseFloat(a[0].style[e._progressProperty]),t=100-r.chunkCount*s;t>0&&a.css(e._progressProperty,s+t+"%")},_addRegularProgressWrapper:function(){var r=this;r.progressWrapper=e("<div class='"+l+" "+g+"'></div>").appendTo(r.wrapper),r.options.showStatus&&(r.progressWrapper.append(w.progressStatus),r.progressStatus=r.wrapper.find("."+u))},_calculateChunkSize:function(){var e=this,r=e.options.chunkCount,a=e.wrapper.find("ul.k-reset");return(parseInt(a.css(e._progressProperty),10)-(r-1))/r},_calculatePercentage:function(e){var a=this,s=a.options,t=e!==r?e:s.value,n=s.min,o=s.max;return a._onePercent=m.abs((o-n)/100),m.abs((t-n)/a._onePercent)},_progressAnimation:function(){var e=this,r=e.options,a=r.animation;e._animation=!1===a?{duration:0}:k({duration:400},r.animation)}});a.ui.plugin(y)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.progressbar.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendocolumnsorter=e.kendocolumnsorter||{},e.kendocolumnsorter.js=t())}(this,(function(){return function(e,t){var n=window.kendo,r=n.ui,o=r.Widget,i="dir",s="asc",a="single",l="mixed",d="field",c="desc",f=".kendoColumnSorter",u=".k-link",k="aria-sort",p=o.extend({init:function(e,t){var n,r=this;o.fn.init.call(r,e,t),r._refreshHandler=r.refresh.bind(r),r.dataSource=r.options.dataSource.bind("change",r._refreshHandler),r.directions=r.options.initialDirection===s?[s,c]:[c,s],(n=r.element.find(u))[0]||(n=r.element.wrapInner('<a class="k-link" href="#"/>').find(u)),r.link=n,r.element.on("click"+f,r._click.bind(r))},options:{name:"ColumnSorter",mode:a,allowUnsort:!0,compare:null,filter:"",initialDirection:s,showIndexes:!1},events:["change"],destroy:function(){var e=this;o.fn.destroy.call(e),e.element.off(f),e.dataSource.unbind("change",e._refreshHandler),e._refreshHandler=e.element=e.link=e.dataSource=null},refresh:function(r){if(!r||"itemchange"!==r.action&&"sync"!==r.action){var o,a,l,f,u,p,m,h,g=this,v=g.dataSource.sort()||[],b=g.element,x=b.attr(n.attr(d)),S=(g.dataSource._sortFields||{})[x];b.removeAttr(n.attr(i)),b.removeAttr(k),S&&(o=S.dir,b.attr(n.attr(i),o),f=S.index),b.is("th")&&S&&(a=function(e){var t=null;e.is("th")&&((t=e.closest("table")).parent().hasClass("k-grid-header-wrap")?t=t.closest(".k-grid").find(".k-grid-content > table"):t.parent().hasClass("k-grid-header-locked")&&(t=t.closest(".k-grid").find(".k-grid-content-locked > table")));return t}(b),a&&(b.attr(n.attr("index"))?(u=b.closest("table"),p=u.find("tr:not(.k-filter-row)"),m=n.attr("index"),(h=p.find("th["+m+"]:visible")).sort((function(n,r){n=e(n),r=e(r);var o=n.attr(m),i=r.attr(m);return o===t&&(o=e(n).index()),i===t&&(i=e(r).index()),(o=parseInt(o,10))>(i=parseInt(i,10))?1:o<i?-1:0})),l=h.index(b)):l=b.parent().children(":visible").index(b),a.find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(l).toggleClass("k-sorted",o!==t))),b.toggleClass("k-sorted",o!==t),b.find(".k-i-sort-asc-small,.k-i-sort-desc-small,.k-svg-i-sort-asc-small,.k-svg-i-sort-desc-small,.k-sort-order,.k-sort-icon").remove(),o===s?(e('<span class="k-sort-icon">'+n.ui.icon("sort-asc-small")+"</span>").appendTo(g.link),b.attr(k,"ascending")):o===c&&(e('<span class="k-sort-icon">'+n.ui.icon("sort-desc-small")+"</span>").appendTo(g.link),b.attr(k,"descending")),g.options.showIndexes&&v.length>1&&f&&e('<span class="k-sort-order" />').html(f).appendTo(g.link)}},_toggleSortDirection:function(e){var n=this.directions;return e===n[n.length-1]&&this.options.allowUnsort?t:n[0]===e?n[1]:n[0]},_click:function(e){var r,o,s=this,c=s.element,f=c.attr(n.attr(d)),u=c.attr(n.attr(i)),k=s.options,p=null===s.options.compare?t:s.options.compare,m=s.dataSource.sort()||[],h=e.ctrlKey||e.metaKey;if(e.preventDefault(),(!k.filter||c.is(k.filter))&&(u=this._toggleSortDirection(u),!this.trigger("change",{sort:{field:f,dir:u,compare:p}}))){if(k.mode===a||k.mode===l&&!h)m=[{field:f,dir:u,compare:p}];else if("multiple"===k.mode||k.mode===l&&h){for(r=0,o=m.length;r<o;r++)if(m[r].field===f){m.splice(r,1);break}m.push({field:f,dir:u,compare:p})}this.dataSource.options.endless&&c.closest(".k-grid").getKendoGrid()._resetEndless(),this.dataSource.sort(m)}}});r.plugin(p)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.columnsorter.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.draganddrop.js")):"function"==typeof define&&define.amd?define(["kendo.draganddrop.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendosortable=e.kendosortable||{},e.kendosortable.js=t())}(this,(function(){return function(e,t){var n=window.kendo,i=n.ui.Widget,r=n._outerWidth,o=n._outerHeight,s="start",l="beforeMove",a="move",d="end",h="change",c="cancel",u="sort",g="remove",f="receive";function p(e){return e.clone()}function m(e){return e.clone().removeAttr("id").css("visibility","hidden")}var _=i.extend({init:function(e,t){var n=this;i.fn.init.call(n,e,t),n.options.placeholder||(n.options.placeholder=m),n.options.hint||(n.options.hint=p),n.draggable=n._createDraggable()},events:[s,l,a,d,h,c],options:{name:"Sortable",hint:null,placeholder:null,filter:">*",holdToDrag:!1,disabled:null,container:null,connectWith:null,handler:null,cursorOffset:null,axis:null,ignore:null,autoScroll:!1,cursor:"auto",moveOnDragEnter:!1},destroy:function(){this.draggable.destroy(),i.fn.destroy.call(this)},_createDraggable:function(){var t=this,i=t.element,r=t.options;return new n.ui.Draggable(i,{filter:r.filter,hint:n.isFunction(r.hint)?r.hint:e(r.hint),holdToDrag:r.holdToDrag,container:r.container?e(r.container):null,cursorOffset:r.cursorOffset,axis:r.axis,ignore:r.ignore,autoScroll:r.autoScroll,dragstart:t._dragstart.bind(t),dragcancel:t._dragcancel.bind(t),drag:t._drag.bind(t),dragend:t._dragend.bind(t)})},_dragstart:function(t){var i=this.draggedElement=t.currentTarget,r=this.options.disabled,o=this.options.handler,l=this.options.placeholder,a=this.placeholder=n.isFunction(l)?e(l.call(this,i)):e(l);r&&i.is(r)||o&&!e(t.initialTarget).is(o)||this.trigger(s,{item:i,draggableEvent:t})?t.preventDefault():(i.css("display","none"),i.before(a),this._setCursor())},_dragcancel:function(){this._cancel(),this.trigger(c,{item:this.draggedElement}),this._resetCursor()},_drag:function(t){var n,i,r,o,s,l=this.draggedElement,a=this._findTarget(t),d={left:t.x.location,top:t.y.location},h={x:t.x.delta,y:t.y.delta},c=this.options.axis,u=this.options.moveOnDragEnter,g={item:l,list:this,draggableEvent:t};if("x"!==c&&"y"!==c){if(a){if(n=this._getElementCenter(a.element),i={left:Math.round(d.left-n.left),top:Math.round(d.top-n.top)},e.extend(g,{target:a.element}),a.appendToBottom)return void this._movePlaceholder(a,null,g);if(a.appendAfterHidden&&this._movePlaceholder(a,"next",g),this._isFloating(a.element)?h.x<0&&u||!u&&i.left<0?r="prev":(h.x>0&&u||!u&&i.left>0)&&(r="next"):h.y<0&&u||!u&&i.top<0?r="prev":(h.y>0&&u||!u&&i.top>0)&&(r="next"),r){for(o=(s="prev"===r?jQuery.fn.prev:jQuery.fn.next).call(a.element);o.length&&!o.is(":visible");)o=s.call(o);o[0]!=this.placeholder[0]&&this._movePlaceholder(a,r,g)}}}else this._movementByAxis(c,d,h[c],g)},_dragend:function(t){var n,i,r,o,s=this.placeholder,l=this.draggedElement,a=this.indexOf(l),c=this.indexOf(s),p=this.options.connectWith;this._resetCursor(),r={action:u,item:l,oldIndex:a,newIndex:c,draggableEvent:t},c>=0?i=this.trigger(d,r):(n=s.parents(p).getKendoSortable(),r.action=g,o=e.extend({},r,{action:f,oldIndex:-1,newIndex:n.indexOf(s)}),i=!(!this.trigger(d,r)&&!n.trigger(d,o))),i||c===a?this._cancel():(s.replaceWith(l),l.show(),this.draggable.dropped=!0,r={action:-1!=this.indexOf(l)?u:g,item:l,oldIndex:a,newIndex:this.indexOf(l),draggableEvent:t},this.trigger(h,r),n&&(o=e.extend({},r,{action:f,oldIndex:-1,newIndex:n.indexOf(l)}),n.trigger(h,o)))},_findTarget:function(t){var n,i,r=this._findElementUnderCursor(t),o=this.options.connectWith;return e.contains(this.element[0],r)?(i=(n=this.items()).filter(r)[0]||n.has(r)[0])?{element:e(i),sortable:this}:null:this.element[0]==r&&this._isEmpty()?{element:this.element,sortable:this,appendToBottom:!0}:this.element[0]==r&&this._isLastHidden()?{element:i=this.items().eq(0),sortable:this,appendAfterHidden:!0}:o?this._searchConnectedTargets(r,t):void 0},_findElementUnderCursor:function(t){var i=n.elementUnderCursor(t),r=t.sender;return function(t,n){try{return e.contains(t,n)||t==n}catch(e){return!1}}(r.hint[0],i)&&(r.hint.hide(),(i=n.elementUnderCursor(t))||(i=n.elementUnderCursor(t)),r.hint.show()),i},_searchConnectedTargets:function(t,n){for(var i,r,o,s=e(this.options.connectWith),l=0;l<s.length;l++)if(i=s.eq(l).getKendoSortable(),e.contains(s[l],t)){if(i)return(o=(r=i.items()).filter(t)[0]||r.has(t)[0])?(i.placeholder=this.placeholder,{element:e(o),sortable:i}):null}else if(s[l]==t){if(i&&i._isEmpty())return{element:s.eq(l),sortable:i,appendToBottom:!0};if(this._isCursorAfterLast(i,n))return{element:o=i.items().last(),sortable:i}}},_isCursorAfterLast:function(e,t){var i,s=e.items().last(),l=t.x.location,a=t.y.location;return(i=n.getOffset(s)).top+=o(s),i.left+=r(s),(this._isFloating(s)?i.left-l:i.top-a)<0},_movementByAxis:function(t,n,i,r){var o,s="x"===t?n.left:n.top,l=i<0?this.placeholder.prev():this.placeholder.next(),a=this.items();l.length&&!l.is(":visible")&&(l=i<0?l.prev():l.next()),a.filter(l).length&&(e.extend(r,{target:l}),(o=this._getElementCenter(l))&&(o="x"===t?o.left:o.top),l.length&&i<0&&s-o<0?this._movePlaceholder({element:l,sortable:this},"prev",r):l.length&&i>0&&s-o>0&&this._movePlaceholder({element:l,sortable:this},"next",r))},_movePlaceholder:function(e,t,n){var i=this.placeholder;e.sortable.trigger(l,n)||(t?"prev"===t?e.element.before(i):"next"===t&&e.element.after(i):e.element.append(i),e.sortable.trigger(a,n))},_setCursor:function(){var t,n=this.options.cursor;n&&"auto"!==n&&(t=e(document.body),this._originalCursorType=t.css("cursor"),t.css({cursor:n}),this._cursorStylesheet||(this._cursorStylesheet=e("<style>* { cursor: "+n+" !important; }</style>")),this._cursorStylesheet.appendTo(t))},_resetCursor:function(){this._originalCursorType&&(e(document.body).css("cursor",this._originalCursorType),this._originalCursorType=null,this._cursorStylesheet.remove())},_getElementCenter:function(e){var t=e.length?n.getOffset(e):null;return t&&(t.top+=o(e)/2,t.left+=r(e)/2),t},_isFloating:function(e){var t=/left|right/.test(e.css("float")),n=/inline|table-cell/.test(e.css("display")),i=/flex/.test(e.parent().css("display"))&&(/row|row-reverse/.test(e.parent().css("flex-direction"))||!e.parent().css("flex-direction"));return t||n||i},_cancel:function(){this.draggedElement&&(this.draggedElement.show(),this.placeholder.remove(),this.draggable.dropped=!0)},_items:function(){var e=this.options.filter;return e?this.element.find(e):this.element.children()},indexOf:function(e){var t=this._items(),n=this.placeholder,i=this.draggedElement;return n&&e[0]==n[0]?t.not(i).index(e):t.not(n).index(e)},items:function(){var e=this.placeholder,t=this._items();return e&&(t=t.not(e)),t},_isEmpty:function(){return!this.items().length},_isLastHidden:function(){return 1===this.items().length&&this.items().is(":hidden")}});n.ui.plugin(_)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.sortable.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.popup.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.popup.min","kendo.icons.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendobutton=t.kendobutton||{},t.kendobutton.menu=t.kendobutton.menu||{},t.kendobutton.menu.js=e())}(this,(function(){return function(t,e){var n=window.kendo,i=n.ui.Widget,o=".kendoButtonMenu",s=n.ui,l=n.keys,r=n.htmlEncode,a=t.extend,u=".",d="id",p="next",c="k-disabled",f="aria-disabled",m="tabindex",g="click",k="menuClick",h="menuOpen",b="menuClose",_="keydown",C="focus",v={down:{origin:"bottom left",position:"top left"},up:{origin:"top left",position:"bottom left"}},y="k-menu-popup",x="k-group k-menu-group k-reset",w="k-item k-menu-item",B="k-menu-item",E="k-menu-link-text",H="k-link k-menu-link",P="k-sprite",T="k-image",U={text:null,icon:null,url:null,attributes:null,enabled:!0,hidden:!1,id:null,imageUrl:null,spriteCssClass:null},j=function(t){var e=t.imageUrl;return e?'<img alt="icon" class="'+T+'" src="'+r(e)+'" />':""},D=function(t){var e=t.spriteCssClass;return e?'<span class="'+P+" "+r(e)+'"></span>':""},I=function(t){var e=t.icon;return""+(e?n.ui.icon(r(e)):"")},O=function(t){var e=t.text;return e?'<span class="'+E+'">'+r(e)+"</span>":""},A=function(t){var e=t.imageUrl,n=t.spriteCssClass,i=t.icon,o=t.text;return'<span class="'+H+'">'+j({imageUrl:e})+D({spriteCssClass:n})+I({icon:i})+O({text:o})+"</span>"},F=function(t){var e=t.url,n=t.imageUrl,i=t.spriteCssClass,o=t.icon,s=t.text,l=t.attributes;return'<a href="'+r(e)+'" '+(l.target?'target="'+l.target+'"':"")+' class="'+H+'">'+j({imageUrl:n})+D({spriteCssClass:i})+I({icon:o})+O({text:s})+"</a>"};function K(e,n){var i=n===p?t.fn.next:t.fn.prev,o=n===p?t.fn.first:t.fn.last,s=i.call(e),l=":kendoFocusable";return s.length||(s=o.call(e.parent().find(u+B))),s.is(l)||!s.length?s:s.find(l).length?o.call(s.find(l)):K(s,n)}var L=i.extend({init:function(t,e){var n=this;i.fn.init.call(n,t,e),n.mainButton=e.mainButton,n._clickHandlers={},n._renderList(),n._initPopup(),n._attachEvents(),n._applyCssClasses(n.list)},options:{name:"ButtonMenu",direction:"down",element:null,items:[],size:"medium"},events:[k,h,b],_renderList:function(){var e=this,i=e.options.items,o=e.element.addClass(y),s=e.mainButton.attr(d)||n.guid(),l=t('<ul role="menu"></ul>').addClass(x);e.list=l.appendTo(o),e.list.attr(d,s+"_buttonmenu"),i.forEach(e._renderListItem.bind(e))},_renderListItem:function(e){var i,o,s=this,l=e.attributes?e.attributes.id:null;i=(e=a({},U,e,{enabled:e.enable&&e.enabled})).id||l||n.guid(),o=t('<li id="'+i+'" role="menuitem" class="'+w+'">'+s._renderItemButton(e)+"</li>"),e.click&&(s._clickHandlers[i]=e.click),e.attributes&&(delete e.attributes.target,e.attributes.class&&(o.addClass(e.attributes.class),delete e.attributes.class),o.attr(e.attributes)),e.data&&n.isFunction(e.data)&&o.data(e.data(e)),s.list.append(o),s.enable(e.enabled,o),s._hide(e.hidden,o)},_renderItemButton:function(t){var e=this.options;return e.itemTemplate?n.template(e.itemTemplate)(t):t.url?n.template(F)(t):n.template(A)(t)},_initPopup:function(){var t=this,e=t.options,n=e.direction||"down";t._popup=new s.Popup(t.element,a({},e.popup,{anchor:t.mainButton,isRtl:t._isRtl,toggleTarget:e.toggleTarget,copyAnchorStyles:!1,animation:e.animation,open:t._popupOpenHandler.bind(t),close:t._popupCloseHandler.bind(t),activate:t._popupExpandHandler.bind(t)},v[n]))},_popupOpenHandler:function(t){this.trigger(h)?t.preventDefault():this.list.find(u+B).attr(m,0)},_popupCloseHandler:function(t){this.trigger(b)&&t.preventDefault(),this.list.find(u+B).attr(m,-1)},_popupExpandHandler:function(){this.list.find(":kendoFocusable").first().trigger(C)},adjustPopupWidth:function(t){this.element.addClass("k-split-wrapper"),this.element.css({"min-width":t})},_attachEvents:function(){var t=this;t.list.on(g+o,u+B,t._click.bind(t)).on(_+o,u+B,t.listItemKeydown.bind(t)),t.mainButton.on(_+o,t._keydown.bind(t))},_keydown:function(e){if(!t(e.target).is(u+c)&&!t(e.target).parents(u+c).length)return e.altKey&&e.keyCode===l.DOWN?(this._popup.open(),void e.preventDefault()):void 0},listItemKeydown:function(e){var n=this,i=t(e.target);e.preventDefault(),e.keyCode===l.ESC||e.keyCode===l.TAB||e.altKey&&e.keyCode===l.UP?(n._popup.close(),n.mainButton.trigger(C)):e.keyCode===l.DOWN?K(i,p).trigger(C):e.keyCode===l.UP?K(i,"prev").trigger(C):i.is(u+c)||e.keyCode!==l.SPACEBAR&&e.keyCode!==l.ENTER?e.keyCode===l.HOME?n.list.find(":kendoFocusable").filter(u+B).first().trigger(C):e.keyCode===l.END&&n.list.find(":kendoFocusable").filter(u+B).last().trigger(C):i.trigger(g)},_click:function(e){var n=this,i=t(e.target).closest(u+B),o=i.attr(d);n._clickHandlers[o]&&n._clickHandlers[o](e),n.trigger(k,{id:o,target:i,type:"menu-click",originalEvent:e})},toggle:function(){this._popup.toggle()},enable:function(t,e){(e=e&&e.length?this.list.find(e):this.items()).toggleClass(c,!t),t?e.removeAttr(f):e.attr(f,!t)},_hide:function(t,e){(e=e&&e.length?this.list.find(e):this.items()).toggleClass("k-hidden",t)},hide:function(t){this._hide(!0,t)},show:function(t){this._hide(!1,t)},close:function(){this._popup.close()},items:function(){return this.list.children(u+B)},destroyPopup:function(){var t=this;t._popup&&(t._popup.destroy(),t._popup=null,t.list.off(o),t.list.remove(),t.list=null)},destroy:function(){var t=this;delete t._clickHandlers,t.destroyPopup(),t.mainButton.off(o),i.fn.destroy.call(t)}});n.cssProperties.registerPrefix("ButtonMenu","k-menu-group-"),s.plugin(L)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.button.menu.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.html.button.js"),require("kendo.button.menu.js")):"function"==typeof define&&define.amd?define(["kendo.html.button.min","kendo.button.menu.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendosplitbutton=e.kendosplitbutton||{},e.kendosplitbutton.js=t())}(this,(function(){return function(e,t){var n=window.kendo,o=n.ui.Widget,i=".kendoSplitButton",r=n.ui,s=e.extend,a=n.html,l=n._outerWidth,u=n.keys,d="id",p="aria-disabled",c="aria-label",m="aria-expanded",f="disabled",h="k-disabled",b="k-focus",_="click",g="open",k="close",w="focus",v="k-split-button k-button-group",C=o.extend({init:function(t,i){var r=this;i.enabled=!1!==i.enabled&&!e(t).prop(f),o.fn.init.call(r,t,i),r._wrapper(),r._renderButtons(),r._renderMenu(),r._enable(r.options.enabled),r._aria(),r._attachEvents(),n.notify(r),r._applyCssClasses()},options:{name:"SplitButton",enabled:!0,items:[],rounded:"medium",size:"medium",fillMode:"solid",themeColor:"base",icon:null,popup:null,arrowIcon:"caret-alt-down",messages:{labelSuffix:"splitbutton"}},events:[_,g,k],_wrapper:function(){var t=this,o=(t.element.attr(d)||n.guid())+"_wrapper";t.wrapper=t.element.wrap('<div id="'+o+'" class="'+v+'"></div>').parent(".k-split-button"),t.arrowButton=e('<button tabindex="-1" aria-label="arrow-button" class="k-split-button-arrow"></button>').appendTo(t.wrapper)},_applyCssClasses:function(){this.wrapper.addClass(this._getAppearanceClasses())},_clearCssClasses:function(){this.wrapper.removeClass(this._getAppearanceClasses())},_getAppearanceClasses:function(){var e=this.__proto__.options.name;return n.cssProperties.getValidClass({widget:e,propName:"rounded",value:this.options.rounded})},_renderButtons:function(){this._mainButton(),this._arrowButton()},_mainButton:function(){var e=this,t=s({},e.options,{type:e.element.attr("type")||"button"});delete t.click,a.renderButton(e.element,t)},_arrowButton:function(){var e=this,t=s({},e.options,{type:"button",icon:e.options.arrowIcon});delete t.text,delete t.imageUrl,delete t.click,delete t.iconClass,a.renderButton(e.arrowButton,t)},_aria:function(){var e=this,t=e.element,n=e.menu;t.attr("aria-haspopup",n?"menu":null),t.attr(m,!n&&null),t.attr("aria-controls",n?n.list.attr(d):null),t.attr(c)||t.attr(c,t.text()+" "+e.options.messages.labelSuffix)},_renderMenu:function(){var t=this,n=s({},t.options),o=e("<div></div>");delete n.click,delete n.name,n.items.length&&(t.menu=o.appendTo(t.wrapper).kendoButtonMenu(s({mainButton:t.element,toggleTarget:t.arrowButton,menuOpen:t.menuOpenHandler.bind(t),menuClose:t.menuCloseHandler.bind(t),menuClick:t._click.bind(t)},n)).data("kendoButtonMenu"))},menuOpenHandler:function(e){var t=this,n=l(t.wrapper);t.trigger(g,{target:t.element})?e.preventDefault():(e.sender.adjustPopupWidth(n),t.element.attr(m,!0))},menuCloseHandler:function(e){var t=this;t.trigger(k,{target:t.element})?e.preventDefault():(t.element.attr(m,!1),t.element.trigger(w))},_attachEvents:function(){var e=this;e.element.on(_+i,e._click.bind(e)),e.element.on("keydown"+i,e._keydown.bind(e)),e.element.on(w+i,e._focus.bind(e)),e.element.on("blur"+i,e._blur.bind(e))},_focus:function(){this.wrapper.addClass(b)},_blur:function(){this.wrapper.removeClass(b)},_click:function(t){var n=e(t.target).closest(".k-button"),o=n.attr(d),i=t;"menu-click"===t.type&&(o=t.id,n=t.target,i=t.originalEvent),this.menu.close(),this.trigger(_,{id:o,target:n,originalEvent:i})},_keydown:function(e){!this.element.is("."+h)||e.keyCode!==u.ENTER&&e.keyCode!==u.SPACEBAR||e.preventDefault()},focus:function(){this.element.trigger(w)},_enable:function(e,t){this.element.add(this.arrowButton).toggleClass(h,!e),e?this.element.removeAttr(p):this.element.attr(p,!e),t||this.element.attr(f,!e),this.arrowButton.attr(f,!e)},enable:function(e,t,n){var o=this;undefined===e&&(e=!0),t&&t.length?o.menu.enable(e,t):(o.options.enabled=e,o._enable(e,n),o.menu.enable(e))},hide:function(e){e&&e.length&&this.menu.hide(e)},show:function(e){e&&e.length&&this.menu.show(e)},open:function(){this.menu._popup.open()},close:function(){this.menu._popup.close()},items:function(){return this.menu.items()},setOptions:function(e){var t=this;o.fn.setOptions.call(t,e),(e.popup||e.items||e.size)&&(t.menu.destroy(),t._renderMenu()),t._renderButtons(),t._aria()},destroy:function(){var e=this;e.menu.destroy(),e.element.off(i),o.fn.destroy.call(e)}});n.cssProperties.registerPrefix("SplitButton","k-splitbutton-"),n.cssProperties.registerValues("SplitButton",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),r.plugin(C)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.splitbutton.min.js.map
;!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("kendo.html.button.js"),require("kendo.button.menu.js")):"function"==typeof define&&define.amd?define(["kendo.html.button.min","kendo.button.menu.min"],n):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodropdownbutton=e.kendodropdownbutton||{},e.kendodropdownbutton.js=n())}(this,(function(){return function(e,n){var t=window.kendo,o=t.ui.Widget,i=".kendoDropDownButton",l=t.ui,u=t.keys,d=e.extend,a=t.html,r=t._outerWidth,s="aria-disabled",m="aria-label",p="aria-expanded",c="disabled",f="k-disabled",h="click",b="open",g="close",k="focus",v="k-menu-button",_="k-dropdown-button",y=o.extend({init:function(n,i){var l=this;i.enabled=!1!==i.enabled&&!e(n).prop(c),o.fn.init.call(l,n,i),l.wrapper=l.element,l._mainButton(),l._renderMenu(),l._enable(l.options.enabled),l._aria(),l._attachEvents(),t.notify(l),l._applyCssClasses()},options:{name:"DropDownButton",direction:"down",enabled:!0,items:[],rounded:"medium",size:"medium",fillMode:"solid",themeColor:"base",icon:null,popup:null,messages:{labelSuffix:"dropdownbutton"}},events:[h,b,g],_mainButton:function(){var e=this,n=d({},e.options,{type:e.element.attr("type")||"button"});delete n.click,e.element.addClass(v).addClass(_),a.renderButton(e.element,n)},_aria:function(){var e=this,n=e.element,t=e.menu;n.attr("aria-haspopup",t?"menu":null),n.attr(p,!t&&null),n.attr("aria-controls",t?t.list.attr("id"):null),n.attr(m)||n.attr(m,n.text()+" "+e.options.messages.labelSuffix)},_renderMenu:function(){var n=this,t=d({},n.options),o=e("<div></div>");delete t.click,delete t.name,t.items.length&&(n.menu=o.appendTo(document.body).kendoButtonMenu(d({mainButton:n.element,toggleTarget:n.element,menuOpen:n.menuOpenHandler.bind(n),menuClose:n.menuCloseHandler.bind(n),menuClick:n._click.bind(n)},t)).data("kendoButtonMenu"))},menuOpenHandler:function(e){var n=this,t=r(n.element);n.trigger(b,{target:n.element})?e.preventDefault():(e.sender.adjustPopupWidth(t),n.element.attr(p,!0))},menuCloseHandler:function(e){var n=this;n.trigger(g,{target:n.element})?e.preventDefault():(n.element.attr(p,!1),n.element.trigger(k))},_attachEvents:function(){var e=this;e.element.on("keydown"+i,e._keydown.bind(e))},_click:function(e){var n=e.id,t=e.target,o=e.originalEvent;this.menu.close(),this.trigger(h,{id:n,target:t,originalEvent:o})},_keydown:function(e){!this.element.is("."+f)||e.keyCode!==u.ENTER&&e.keyCode!==u.SPACEBAR||e.preventDefault()},focus:function(){this.element.trigger(k)},_enable:function(e,n){this.element.toggleClass(f,!e),e?this.element.removeAttr(s):this.element.attr(s,!e),n||this.element.attr(c,!e)},enable:function(e,n,t){var o=this;undefined===e&&(e=!0),n&&n.length?o.menu.enable(e,n):(o.options.enabled=e,o._enable(e,t),o.menu.enable(e))},hide:function(e){e&&e.length&&this.menu.hide(e)},show:function(e){e&&e.length&&this.menu.show(e)},open:function(){this.menu._popup.open()},close:function(){this.menu._popup.close()},items:function(){return this.menu.items()},setOptions:function(e){var n=this;o.fn.setOptions.call(n,e),(e.popup||e.items||e.size)&&(n.menu.destroy(),n._renderMenu()),n._mainButton(),n._aria()},destroy:function(){var e=this;e.menu.destroy(),e.element.off(i),o.fn.destroy.call(e)}});l.plugin(y)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.dropdownbutton.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.button.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendotogglebutton=e.kendotogglebutton||{},e.kendotogglebutton.js=t())}(this,(function(){return function(e,t){var o=window.kendo,n=o.ui.Button,i="click",s="toggle",l="aria-pressed",r="k-selected",d=n.extend({init:function(e,t){var i=this;n.fn.init.call(i,e,t),e=i.wrapper=i.element,t=i.options,e.addClass("k-toggle-button"),i._selected=!0===t.selected,i.toggle(i._selected),t.group&&e.attr("data-group",t.group),o.notify(i)},destroy:function(){this.wrapper.off(".kendoToggleButton"),n.fn.destroy.call(this)},events:[i,s],options:{name:"ToggleButton",group:t,selected:!1},toggle:function(e){e===t&&(e=!this._selected),this._selected=e,!0===e?(this.element.attr(l,!0),this.element.addClass(r)):!1===e&&(this.element.attr(l,!1),this.element.removeClass(r))},_click:function(e){this.options.enable&&(this.trigger(i,{event:e,id:this.element.attr("id"),target:this.element})?e.preventDefault():(this.toggle(),this.trigger(s,{event:e,checked:this._selected,group:this.options.group,id:this.element.attr("id"),target:this.element})))}});o.cssProperties.registerPrefix("ToggleButton","k-button-"),o.cssProperties.registerValues("ToggleButton",[{prop:"fillMode",values:o.cssProperties.fillModeValues.concat(["link"])},{prop:"rounded",values:o.cssProperties.roundedValues.concat([["full","full"]])}]),o.ui.plugin(d)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.togglebutton.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js"),require("kendo.togglebutton.js"),require("kendo.button.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.togglebutton.min","kendo.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendobuttongroup=e.kendobuttongroup||{},e.kendobuttongroup.js=t())}(this,(function(){return function(e,t){var n=window.kendo,o=n.ui,i=o.Widget,s=o.ToggleButton,d=o.Button,l=n.keys,u=".kendoButtonGroup",r="k-button",a="k-selected",c="k-disabled",f="select",h="aria-disabled",g=".",b="none",m="single",p="multiple",_="focus",k=i.extend({init:function(e,t){var n=this;i.fn.init.call(n,e,t),n.wrapper=n.element,n.selectedIndices=[],n._buttons=n._renderItems(n.options.items),n.element.addClass("k-widget k-button-group").attr("role","group"),n._enable=!0,n.options.enable&&n.options.enabled||(n._enable=!1,n.element.attr(h,!0).addClass(c),n._buttons.forEach((function(e){e.enable(!1)}))),n.options.selection!==b&&n.select(n.options.index),n._attachEvents()},events:[f],options:{name:"ButtonGroup",selection:m,index:-1,enable:!0,enabled:!0,preventKeyNav:!1,size:"medium",rounded:"medium",fillMode:"solid",themeColor:"base"},badge:function(e,t){var o,i,s=this.element,d=isNaN(e)?s.find(e).getKendoToggleButton()||s.find(e).getKendoButton():this._buttons[e],l=t||0===t;if(d){if(!(o=d.badge)&&l)return d._badge({text:n.htmlEncode(t)}),n.htmlEncode(t);if(l)o.text(n.htmlEncode(t));else if(!1===t)return d.badge=null,i=o.element,o.destroy(),void i.empty().remove();return o?o.text():null}},current:function(){return this.element.find(g+a)},destroy:function(){var t=this;t.element.off(u),t.element.find(g+r).each((function(t,n){var o=e(n).getKendoToggleButton()||e(n).getKendoButton();o&&o.destroy()})),i.fn.destroy.call(t)},enable:function(e){void 0===e&&(e=!0),this.element.attr(h,!e).toggleClass(c,!e),this._buttons.forEach((function(t){var n=t.element.hasClass("k-focus")||t.element.is(":focus");t.enable(e),n&&t.element.removeAttr("disabled").addClass("k-focus").trigger("focus")})),this._enable=this.options.enable=e},select:function(t){var n=this,o=-1;this.options.selection!==b&&undefined!==t&&-1!==t&&(o="number"==typeof t?t:t.nodeType?(t=e(t)).index():t.index(),n._buttons[o]&&(n.options.selection===p?t.length>1?t.each((function(t,o){var i=e(o).index();n._buttons[i].toggle(),n._toggleIndex(i)})):(n._buttons[o].toggle(),n._toggleIndex(o)):n._resetIndexes(o)))},_addButton:function(e,t){if(this.options.selection===b)return delete t.selected,new d(e,t);var n=new s(e,t);return n.bind("toggle",this._select.bind(this,e)),n},_attachEvents:function(){this.options.preventKeyNav||this.element.on("keydown"+u,this._keyDown.bind(this))},_keyDown:function(t){var o=e(this.element),i=o.find(g+r),s=o.find(":focus"),d=i.index(s),u=n.support.isRtl(this.element);t.keyCode===l.LEFT&&!u||t.keyCode===l.RIGHT&&u?((0===d?i.eq(i.length-1):e(i[d-1])).trigger(_),t.preventDefault()):(t.keyCode===l.LEFT&&u||t.keyCode===l.RIGHT&&!u)&&((d+1===i.length?i.eq(0):e(i[d+1])).trigger(_),t.preventDefault())},_renderItems:function(t){var o=this,i=o.options,s=o.element.children(),d=[];return s.length>0&&s.each((function(t){var s=e(this),l=s.find("img").addClass("k-image"),u=s.is("[disabled]")||s.hasClass(c),r={badge:n.attrValue(s,"badge"),icon:l[0]?null:n.attrValue(s,"icon"),disabled:u,selected:!u&&s.is(g+a),size:i.size,rounded:i.rounded,fillMode:i.fillMode,themeColor:i.themeColor};d.push(o._addButton(s,r)),r.selected&&o.selectedIndices.push(t)})),t?(t.forEach((function(t,s){var l=t.text?!1===t.encoded?t.text:n.htmlEncode(t.text):"",u=t.url?e("<a href="+t.url+">"):e("<button>");u.html(l),t.attributes&&u.attr(t.attributes),t=e.extend({},t,{size:i.size,rounded:i.rounded,fillMode:i.fillMode,themeColor:i.themeColor}),u.appendTo(o.element),d.push(o._addButton(u,t)),t.selected&&o.selectedIndices.push(s)})),d):d},_resetIndexes:function(e){this.selectedIndices=[],this._buttons.forEach((function(e){e.toggle(!1)})),this._buttons[e].toggle(!0),this.selectedIndices.push(e)},_select:function(e){var t=this.options.selection,n=e.index();this._enable&&!e.is(g+c)&&(t===p?this._toggleIndex(n):t===m&&this._resetIndexes(n),this.trigger(f,{indices:this.selectedIndices,target:e}))},_toggleIndex:function(e){-1===this.selectedIndices.indexOf(e)?this.selectedIndices.push(e):this.selectedIndices.splice(this.selectedIndices.indexOf(e),1)}});o.plugin(k)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.buttongroup.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodata=e.kendodata||{},e.kendodata.odata=e.kendodata.odata||{},e.kendodata.odata.js=t())}(this,(function(){return function(e,t){var n=window.kendo,a=e.extend,o="\r\n",r="\r\n\r\n",s=n.isFunction,d={eq:"eq",neq:"ne",gt:"gt",gte:"ge",lt:"lt",lte:"le",contains:"substringof",doesnotcontain:"substringof",endswith:"endswith",startswith:"startswith",isnull:"eq",isnotnull:"ne",isnullorempty:"eq",isnotnullorempty:"ne",isempty:"eq",isnotempty:"ne"},i=a({},d,{contains:"contains"}),p={pageSize:e.noop,page:e.noop,filter:function(e,t,n){t&&(t=c(t,n))&&(e.$filter=t)},sort:function(t,n){var a=e.map(n,(function(e){var t=e.field.replace(/\./g,"/");return"desc"===e.dir&&(t+=" desc"),t})).join(",");a&&(t.$orderby=a)},skip:function(e,t){t&&(e.$skip=t)},take:function(e,t){t&&(e.$top=t)}},u={read:{dataType:"jsonp"}};function c(e,t){var a,o,r,s,p,u,l,f,y=[],h=e.logic||"and",g=e.filters;for(a=0,o=g.length;a<o;a++)r=(e=g[a]).field,l=e.value,u=e.operator,e.filters?e=c(e,t):(f=e.ignoreCase,r=r.replace(/\./g,"/"),e=d[u],t&&(e=i[u]),"isnullorempty"===u?e=n.format("{0} {1} null or {0} {1} ''",r,e):"isnotnullorempty"===u?e=n.format("{0} {1} null and {0} {1} ''",r,e):"isnull"===u||"isnotnull"===u?e=n.format("{0} {1} null",r,e):"isempty"===u||"isnotempty"===u?e=n.format("{0} {1} ''",r,e):e&&undefined!==l&&("string"===(s=n.type(l))?(p="'{1}'",l=l.replace(/'/g,"''"),!0===f&&(r="tolower("+r+")")):"date"===s?t?(p="{1:yyyy-MM-ddTHH:mm:ss+00:00}",l=n.timezone.apply(l,"Etc/UTC")):p="datetime'{1:yyyy-MM-ddTHH:mm:ss}'":p="{1}",e.length>3?"substringof"!==e?p="{0}({2},"+p+")":(p="{0}("+p+",{2})","doesnotcontain"===u&&(t?(p="{0}({2},'{1}') eq -1",e="indexof"):p+=" eq false")):p="{2} {0} "+p,e=n.format(p,e,l,r))),y.push(e);return e=y.join(" "+h+" "),y.length>1&&(e="("+e+")"),e}function l(e){for(var t in e)0===t.indexOf("@odata")&&delete e[t]}function f(){return Math.floor(65536*(1+Math.random())).toString(16).substr(1)}function y(e){return e+f()+"-"+f()+"-"+f()}function h(e,t){var n=o+"--"+e;return t&&(n+="--"),n}function g(e,t,a,o){var r=e.options[o].url,d=n.format("{0} ",a);return s(r)?d+r(t):d+r}function m(e,t){var n="";return n+=h(e,!1),n+=o+"Content-Type: application/http",n+=o+"Content-Transfer-Encoding: binary",n+=o+"Content-ID: "+t}function T(e,t,a,s,d,i,p){var u="";return u+=function(e,t){var n="";return n+="--"+e+o,n+="Content-Type: multipart/mixed; boundary="+t+o,n}(t,a),u+=function(e,t,a,s,d,i){for(var p,u,c="",l=0;l<e.length;l++)c+=m(t,a),c+=r+g(d,e[l],d.options[s].type,s)+" HTTP/1.1",i||(c+=(p=e[l],u=void 0,u="",u+=o+"Content-Type: application/json;odata=minimalmetadata",u+=o+"Prefer: return=representation",u+=r+n.stringify(p))),c+=o,a++;return c}(e,a,s,i,d,p),u+=h(a,!0),u+=o}a(!0,n.data,{schemas:{odata:{type:"json",data:function(e){return e.d.results||[e.d]},total:"d.__count"}},transports:{odata:{read:{cache:!0,dataType:"jsonp",jsonp:"$callback"},update:{cache:!0,dataType:"json",contentType:"application/json",type:"PUT"},create:{cache:!0,dataType:"json",contentType:"application/json",type:"POST"},destroy:{cache:!0,dataType:"json",type:"DELETE"},parameterMap:function(e,t,a){var o,r,s,d;if(e=e||{},t=t||"read",d=(d=(this.options||u)[t])?d.dataType:"json","read"===t)for(s in o={$inlinecount:"allpages"},"json"!=d&&(o.$format="json"),e)p[s]?p[s](o,e[s],a):o[s]=e[s];else{if("json"!==d)throw new Error("Only json dataType can be used for "+t+" operation.");if("destroy"!==t){for(s in e)"number"==typeof(r=e[s])&&(e[s]=r+"");o=n.stringify(e)}}return o}}}}),a(!0,n.data,{schemas:{"odata-v4":{type:"json",data:function(t){if(Array.isArray(t)){for(var n=0;n<t.length;n++)l(t[n]);return t}return l(t=e.extend({},t)),t.value?t.value:[t]},total:function(e){return e["@odata.count"]}}},transports:{"odata-v4":{batch:{type:"POST"},read:{cache:!0,dataType:"json"},update:{cache:!0,dataType:"json",contentType:"application/json;IEEE754Compatible=true",type:"PUT"},create:{cache:!0,dataType:"json",contentType:"application/json;IEEE754Compatible=true",type:"POST"},destroy:{cache:!0,dataType:"json",type:"DELETE"},parameterMap:function(e,t){var a=n.data.transports.odata.parameterMap(e,t,!0);return"read"==t&&(a.$count=!0,delete a.$inlinecount),a&&a.$filter&&(a.$filter=a.$filter.replace(/('[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')/gi,(function(e){return e.substring(1,e.length-1)}))),a},submit:function(t){var o=function(e,t){var n=a({},e.options.batch),o=y("sf_batch_"),r="",d=0,i=e.options.batch.url,p=y("sf_changeset_");return n.type=e.options.batch.type,n.url=s(i)?i():i,n.headers=a(n.headers||{},{"Content-Type":"multipart/mixed; boundary="+o}),t.updated.length&&(r+=T(t.updated,o,p,d,e,"update",!1),d+=t.updated.length,p=y("sf_changeset_")),t.destroyed.length&&(r+=T(t.destroyed,o,p,d,e,"destroy",!0),d+=t.destroyed.length,p=y("sf_changeset_")),t.created.length&&(r+=T(t.created,o,p,d,e,"create",!1)),r+=h(o,!0),n.data=r,n}(this,t.data),r=t.data;(r.updated.length||r.destroyed.length||r.created.length)&&e.ajax(a(!0,{},{success:function(e){var a,o=function(e){var t,a,o,r,s,d=e.match(/--changesetresponse_[a-z0-9-]+$/gm),i=0,p=[];p.push({models:[],passed:!0});for(var u=0;u<d.length;u++)(r=d[u]).lastIndexOf("--",r.length-1)?u<d.length-1&&p.push({models:[],passed:!0}):(i=i?e.indexOf(r,i+r.length):e.indexOf(r),a=(t=e.substring(i,e.indexOf("--",i+1))).match(/^HTTP\/1\.\d (\d{3}) (.*)$/gm).pop(),(o=n.parseFloat(a.match(/\d{3}/g).pop()))>=200&&o<=299?(s=t.match(/\{.*\}/gm))&&p[p.length-1].models.push(JSON.parse(s[0])):p[p.length-1].passed=!1);return p}(e),s=0;r.updated.length&&((a=o[s]).passed&&t.success(a.models.length?a.models:[],"update"),s++),r.destroyed.length&&((a=o[s]).passed&&t.success([],"destroy"),s++),r.created.length&&(a=o[s]).passed&&t.success(a.models,"create")},error:function(e,n,a){t.error(e,n,a)}},o))}}}})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.data.odata.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.popup.js"),require("kendo.data.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.popup.min","kendo.data.min","kendo.icons.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendomenu=e.kendomenu||{},e.kendomenu.js=t())}(this,(function(){return function(e,t){var n=window.kendo,i=n.ui,o=n._activeElement,r=n.support.touch&&n.support.mobileOS,a=Array.isArray,s=n.data.HierarchicalDataSource,l="mousedown",p="click",c=e.extend,u=e.each,d=n.htmlEncode,f=n.template,m=n.keys,h=i.Widget,v=/^(ul|a|div)$/i,g=".kendoMenu",_="open",k="k-menu",w="k-link k-menu-link",b=".k-link",C=".k-menu-expand-arrow-icon",y="k-last",P="close",T="timer",x="k-first",O="k-image",I="select",H="zIndex",S="activate",E="deactivate",W="touchstart"+g+" MSPointerDown"+g+" pointerdown"+g,A=n.support.pointers,D=n.support.msPointers,M=D||A,N="change",B="error",R=n.support.touch?"touchstart":"",U=A?"pointerover":D?"MSPointerOver":"mouseenter",F=A?"pointerout":D?"MSPointerOut":"mouseleave",z="DOMMouseScroll"+g+" mousewheel"+g,L=n.support.resize+g,G="group",j="groupparent",q=e(document.documentElement),K="kendoPopup",J="k-hover",X="k-focus",Y="k-disabled",V=".k-menu",Z=".k-animation-container",$=".k-child-animation-container",Q=".k-menu-popup ,"+Z,ee=":not(.k-list) > .k-item:not([role='treeitem'])",te=".k-item",ne=".k-item:not(.k-disabled)",ie=":not(.k-item.k-separator):visible",oe=".k-menu-scroll-button",re={2:1,touch:1},ae="dataBound",se="aria-expanded",le="role",pe={text:"dataTextField",url:"dataUrlField",spriteCssClass:"dataSpriteCssClassField",imageUrl:"dataImageUrlField",imageAttr:"dataImageAttrField",content:"dataContentField"},ce={wrapperCssClass:function(e,t){var n="k-item k-menu-item",i=t.index;return t.separator&&(n+=" k-separator"),!1===t.enabled&&(n+=" k-disabled"),e.firstLevel&&0===i&&(n+=" k-first"),i==e.length-1&&(n+=" k-last"),t.cssClass&&(n+=" "+t.cssClass),t.attr&&t.attr.hasOwnProperty("class")&&(n+=" "+t.attr.class),t.selected&&(n+=" k-selected"),n},itemCssAttributes:function(e){var t="",n=e.attr||{};for(var i in n)n.hasOwnProperty(i)&&"class"!==i&&(t+=i+'="'+n[i]+'" ');return t},imageCssAttributes:function(e){var t="",n=e&&e.toJSON?e.toJSON():{};for(var i in n.class?n.class+=" "+O:n.class=O,n)n.hasOwnProperty(i)&&(t+=i+'="'+n[i]+'" ');return t},contentCssAttributes:function(e){var t="",n=e.contentAttr||{},i="k-content k-group k-menu-group k-menu-group-md";for(var o in n.class?n.class+=" "+i:n.class=i,n)n.hasOwnProperty(o)&&(t+=o+'="'+n[o]+'" ');return t},textClass:function(){return w},groupAttributes:function(e){return!0!==e.expanded?n.attr("style-display")+'="none"':""},groupCssClass:function(){return"k-group k-menu-group k-menu-group-md"},groupWrapperCssClass:function(){return"k-menu-popup"},content:function(e){return e.content?e.content:"&nbsp;"}};function ue(t,n){try{return e.contains(t,n)}catch(e){return!1}}function de(t){(t=e(t)).attr(n.attr("omit-wrap"))||(t.addClass("k-item k-menu-item").children("img").addClass(O),t.children("a").addClass(w).children("img").addClass(O),t.filter(":not([disabled])"),t.filter(".k-separator").removeClass("k-menu-item").addClass("k-menu-separator").empty().append("&nbsp;"),t.filter("li[disabled]").addClass(Y).prop("disabled",!1).attr("aria-disabled",!0),t.filter("[role]").length||t.attr(le,"menuitem"),t.children(b).length||t.contents().filter((function(){return!(this.nodeName.match(v)||3===this.nodeType&&!n.trim(this.nodeValue))})).wrapAll("<span class='"+w+"'></span>").filter((function(e,t){return 3===t.nodeType})).wrap("<span class='k-menu-link-text'></span>"),fe(t),he(t))}function fe(t){(t=e(t)).find("> .k-link > .k-menu-expand-arrow > [class*=k-i-caret]:not(.k-sprite),> .k-link > .k-menu-expand-arrow > [class*=k-svg-i-caret]:not(.k-sprite)").parent().remove(),t.filter(":has(.k-menu-group)").children(".k-link:not(:has([class*=k-i-caret]:not(.k-sprite))),.k-link:not(:has([class*=k-svg-i-caret]:not(.k-sprite)))").each((function(){var t=e(this);t.append("<span aria-hidden='true' class='k-menu-expand-arrow'>"+n.ui.icon({icon:me(t),iconClass:"k-menu-expand-arrow-icon"})+"</span>")}))}function me(e){var t=e.parent().parent(),i=n.support.isRtl(t);return t.hasClass(k+"-horizontal")?"caret-alt-down":i?"caret-alt-left":"caret-alt-right"}function he(t){(t=e(t)).filter(".k-first:not(:first-child)").removeClass(x),t.filter(".k-last:not(:last-child)").removeClass(y),t.filter(":first-child").addClass(x),t.filter(":last-child").addClass(y)}function ve(e){if(e&&e.length)for(var t in e){var n=e.eq(t);n.find("ul").length?n.attr("aria-haspopup",!0):n.removeAttr("aria-haspopup")}}function ge(e){if(!e.hasClass(k))return e.parentsUntil("."+k,"li")}function _e(t,i){var o=function(e){var t=e.select,i=n.isFunction;if(t&&i(t))return t;return null}(i);o&&function(t,n){e(t).children(".k-link").data({selectHandler:n})}(t,o),i.items&&e(t).children("ul").children("li").each((function(e){_e(this,i.items[e])}))}function ke(e){return e?"li[data-groupparent='"+e+"']":"li[data-groupparent]"}function we(e){var t=e?"[data-group='"+e+"']":"[data-group]";return"ul"+t+",div"+t}function be(t,n){var i=t.find(ke()),o=[];return i.each((function(i,r){for(var a=(r=e(r)).data(j),s=t;a;)(s=n.find(we(a)+":visible")).length&&o.push(s),a=(r=s.find(ke())).data(j)})),o}function Ce(t,n){var i=t.data(G);return i?n.find(ke(i)):e([])}function ye(t,n){var i=t.data(j);return i?n.children(Z).find(we(i)):e([])}function Pe(e,t){for(var n=0,i=e.parentNode;i&&!isNaN(i[t]);)n+=i[t],i=i.parentNode;return n}function Te(e){return M&&e.originalEvent&&e.originalEvent.pointerType in re}function xe(e){e.contents().filter((function(){return"LI"!=this.nodeName})).remove()}var Oe=n.ui.DataBoundWidget.extend({init:function(e,t){var i=this;h.fn.init.call(i,e,t),e=i.wrapper=i.element,t=i.options,i._accessors(),i._templates(),i._dataSource(),i._updateClasses(),i._wrapGroups(),i._animations(t),i.nextItemZIndex=100,i._tabindex(),i._initOverflow(t),i._attachMenuEventsHandlers(),t.openOnClick&&(i.clicked=!1),e.attr(le,"menubar"),e[0].id?i._ariaId=n.format("{0}_mn_active",e[0].id):i._ariaId=n.format("{0}_mn_active",n.guid()),n.notify(i)},events:[_,P,S,E,I,ae],options:{name:"Menu",animation:{open:{duration:200},close:{duration:100}},orientation:"horizontal",direction:"default",openOnClick:!1,closeOnClick:!0,hoverDelay:100,scrollable:!1,popupCollision:t},_initData:function(){var e=this;e.dataSource&&(e.element.empty(),e.append(e.dataSource.view(),e.element))},_attachMenuEventsHandlers:function(){var t=this,n=t.element,i=t.options,o=t._overflowWrapper();t._checkActiveProxy=t._checkActiveElement.bind(t),(o||n).on(W,te,t._focusHandler.bind(t)).on(p+g,".k-item.k-disabled",!1).on(p+g,te,t._click.bind(t)).on(W+" "+l+g,".k-content",t._preventClose.bind(t)).on(U+g,ne,t._mouseenter.bind(t)).on(F+g,ne,t._mouseleave.bind(t)).on(l+g,ne,t._mousedown.bind(t)).on(R+g+" "+U+g+" "+F+g+" "+l+g+" "+p+g,".k-item:not(.k-disabled) > .k-link",t._toggleHover.bind(t)),n.on("keydown"+g,t._keydown.bind(t)).on("focus"+g,t._focus.bind(t)).on("focus"+g,".k-content",t._focus.bind(t)).on("blur"+g,t._removeHoverItem.bind(t)).on("blur"+g,"[tabindex]",t._checkActiveProxy),o&&o.on(F+g,Q,t._mouseleavePopup.bind(t)).on(U+g,Q,t._mouseenterPopup.bind(t)),i.openOnClick&&(t._documentClickHandler=t._documentClick.bind(t),e(document).on("click",t._documentClickHandler))},_detachMenuEventsHandlers:function(){var t=this,n=t._overflowWrapper();n&&n.off(g),t.element.off(g),t._documentClickHandler&&e(document).off("click",t._documentClickHandler)},_initOverflow:function(t){var n,i,o=this,r="horizontal"==t.orientation;if(t.scrollable){o._openedPopups={},o._scrollWrapper=o.element.wrap("<div class='k-menu-scroll-wrapper k-"+t.orientation+"'></div>").parent(),r&&xe(o.element),n=e(o.templates.scrollButton({direction:r?"left":"up"})),i=e(o.templates.scrollButton({direction:r?"right":"down"})),n.add(i).appendTo(o._scrollWrapper),o._initScrolling(o.element,n,i,r);var a=o.element.outerWidth(),s=o.element[0].style.width;s="auto"===s?"":s,r&&e(window).on(L,(function(){setTimeout((function(){o._setOverflowWrapperWidth(a,s),o._toggleScrollButtons(o.element,n,i,r)}),300)})),o._setOverflowWrapperWidth(a,s),o._toggleScrollButtons(o.element,n,i,r)}},_overflowWrapper:function(){return this._scrollWrapper||this._popupsWrapper},_setOverflowWrapperWidth:function(e,t){var n=this,i=n._scrollWrapper.css("width");n._scrollWrapper.css({width:""});var o=n._scrollWrapper.outerWidth();n._scrollWrapper.css({width:i});var r=n.element.outerWidth(),a=n.element[0].offsetWidth-n.element[0].clientWidth;if(r!=o&&o>0){var s=t?Math.min(e,o):o;n.element.width(s-a),n._scrollWrapper.width(s)}},_reinitOverflow:function(e){var t=this;(e.scrollable&&!t.options.scrollable||!e.scrollable&&t.options.scrollable||e.scrollable&&t.options.scrollable&&e.scrollable.distance!=t.options.scrollable.distance||e.orientation!=t.options.orientation)&&(t._detachMenuEventsHandlers(),t._destroyOverflow(),t._initOverflow(e),t._attachMenuEventsHandlers())},_destroyOverflow:function(){var n=this,i=n._overflowWrapper();i&&(i.off(g),i.find(oe).off(g).remove(),i.children(Z).each((function(t,n){var o=e(n).find(".k-child-animation-container > .k-menu-popup");o.off(z);var r=Ce(o,i);r.length&&r.append(n)})),i.find(ke()).removeAttr("data-groupparent"),i.find(we()).removeAttr("data-group"),n.element.off(z),e(window).off(L),i.contents().unwrap(),n._scrollWrapper=n._popupsWrapper=n._openedPopups=t)},_initScrolling:function(t,i,o,a){var s=this,l=s.options.scrollable,p=s.isNumeric(l.distance)?l.distance:50,c=p/2,u="-="+p,d="+="+p,f="-="+2*p,m="+="+2*p,h=!1,v=!1,_=function(e){var n=a?{scrollLeft:e}:{scrollTop:e};t.finish().animate(n,"fast","linear",(function(){h&&_(e)})),s._toggleScrollButtons(t,i,o,a)},k=function(e){h||v||(_(e.data.direction),h=!0)},w=function(n){var l=a?{scrollLeft:n.data.direction}:{scrollTop:n.data.direction};v=function(e){var t=e.originalEvent;return r&&/touch/i.test(t.type||"")}(n)||Te(n),t.stop().animate(l,"fast","linear",(function(){v?(s._toggleScrollButtons(t,i,o,a),h=!0):e(n.currentTarget).trigger(U)})),h=!1,n.stopPropagation(),n.preventDefault()};i.on(U+g,{direction:u},k).on(n.eventMap.down+g,{direction:f},w),o.on(U+g,{direction:d},k).on(n.eventMap.down+g,{direction:m},w),i.add(o).on(F+g,(function(){t.stop(),h=!1,s._toggleScrollButtons(t,i,o,a)})),t.on(z,(function(e){if(!e.ctrlKey&&!e.shiftKey&&!e.altKey){var n=function(e){var t=0;return e.wheelDelta&&(t=(t=-e.wheelDelta/120)>0?Math.ceil(t):Math.floor(t)),e.detail&&(t=Math.round(e.detail/3)),t}(e.originalEvent),r=(n>0?"+=":"-=")+Math.abs(n)*c,l=a?{scrollLeft:r}:{scrollTop:r};s._closeChildPopups(t),t.finish().animate(l,"fast","linear",(function(){s._toggleScrollButtons(t,i,o,a)})),e.preventDefault()}}))},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},_toggleScrollButtons:function(e,t,i,o){var r=o?n.scrollLeft(e):e.scrollTop(),a=o?"scrollWidth":"scrollHeight",s=o?"offsetWidth":"offsetHeight";t.toggle(0!==r),i.toggle(r<e[0][a]-e[0][s]-1)},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=c(!0,t,e.animation),"dataSource"in e&&this._dataSource(e),this._updateClasses(),this._wrapGroups(),this._reinitOverflow(e),h.fn.setOptions.call(this,e)},destroy:function(){var e=this;h.fn.destroy.call(e),e._detachMenuEventsHandlers(),e._destroyOverflow(),n.destroy(e.element)},enable:function(e,t){return this._toggleDisabled(e,!1!==t),this},disable:function(e){return this._toggleDisabled(e,!1),this},attemptGetItem:function(t){t=t||this.element;var n=this.element.find(t),i=this._overflowWrapper();return n.length||t===this.element?n:i?i.find(t):e()},append:function(e,t){t=this.attemptGetItem(t);var n=this._insert(e,t,t.length?this._childPopupElement(t).children().eq(0):null);return u(n.items,(function(t){n.group.append(this),fe(this),_e(this,e[t]||e)})),fe(t),he(n.group.find(".k-first, .k-last").add(n.items)),ve(ge(n.group)),this},insertBefore:function(e,t){t=this.attemptGetItem(t);var n=this._insert(e,t,t.parent());return u(n.items,(function(n){t.before(this),fe(this),he(this),_e(this,e[n]||e)})),he(t),this},insertAfter:function(e,t){t=this.attemptGetItem(t);var n=this._insert(e,t,t.parent());return u(n.items,(function(n){t.after(this),fe(this),he(this),_e(this,e[n]||e)})),he(t),this},_insert:function(t,i,o){var r,s,l=this;i&&i.length||(o=l.element);var p=e.isPlainObject(t)||t instanceof n.data.ObservableObject,u={firstLevel:o.hasClass(k),horizontal:o.hasClass(k+"-horizontal"),expanded:!0,length:o.children().length};return i&&!o.length&&(o=e(l.renderGroup({group:u,options:l.options})).css("display","none").appendTo(i),n.applyStylesFromKendoAttributes(o,["display"])),p||a(t)||t instanceof n.data.ObservableArray?r=e(e.map(p?[t]:t,(function(t,i){if("string"==typeof t)return e(t).get();var o=e(l.renderItem({group:u,item:c(t,{index:i})}));return n.applyStylesFromKendoAttributes(o,["display"]),o.get()}))):(s=(r="string"==typeof t&&"<"!=t.charAt(0)?l.element.find(t):e(t)).find("> ul").addClass("k-menu-group k-menu-group-md").attr(le,"menu"),(r=r.filter("li")).add(s.find("> li")).each((function(){de(this)}))),{items:r,group:o}},remove:function(e){var t=(e=this.attemptGetItem(e)).parentsUntil(this.element,ee),n=e.parent("ul:not(.k-menu)");if(e.remove(),n&&!n.children(ee).length){var i=ge(n),o=n.parent(Z);o.length?o.remove():n.remove(),ve(i)}return t.length&&(fe(t=t.eq(0)),he(t)),this},_openAfterLoad:function(e,t){var n=this;t.loaded()?(n.open(e),n._loading=!1):t.one(N,(function(){e.find(C).removeClass("k-i-loading"),n._loading&&(n.open(e),n._loading=!1)}))},open:function(i){var o=this,a=o.options,s="horizontal"==a.orientation,l=a.direction,p=n.support.isRtl(o.wrapper),u=o._overflowWrapper();i=(u||o.element).find(i);var d=o.dataSource&&o.dataSource.getByUid(i.data(n.ns+"uid"));if(d&&d.hasChildren&&!d.loaded()&&!o._loading)return o._loading=!0,i.find(C).addClass("k-i-loading"),d.load(),void o._openAfterLoad(i,d);/^(top|bottom|default)$/.test(l)&&(l=p?s?(l+" left").replace("default","bottom"):"left":s?(l+" right").replace("default","bottom"):"right");var f=">.k-popup:visible,>.k-animation-container > .k-child-animation-container > .k-menu-popup:visible",m=function(){e(this).data(K)&&o.close(e(this).closest("li.k-item"),!0)};return i.siblings().find(f).each(m),u&&i.find(f).each(m),o.options.openOnClick&&(o.clicked=!0),i.each((function(){var i=e(this);clearTimeout(i.data(T)),clearTimeout(o._timerTimeout),o._timerTimeout=setTimeout((function(){var d,f,m=i.find("> .k-menu-popup, > .k-animation-container > .k-child-animation-container > .k-menu-popup").filter(":hidden").first();if(!m[0]&&u&&(f=o._getPopup(i),m=f&&f.element),!m.is(":visible")&&m[0]&&!1===o._triggerEvent({item:i[0],type:_})){if(!m.find(".k-menu-popup")[0]&&m.children(".k-menu-group").children(".k-item").length>1){var h=e(window).height();m.css({maxHeight:h-(n._outerHeight(m)-m.height())-n.getShadows(m).bottom,overflow:"auto"})}else m.css({maxHeight:"",overflow:"visible"});i.data(H,i.css(H));var v=o.nextItemZIndex++;i.css(H,v),o.options.scrollable&&i.parent().siblings(oe).css({zIndex:++v}),d=m.data(K);var g=i.parent().hasClass(k),w=g&&s,b=function(e,t,i){e=e.split(" ")[!t+0]||e;var o={origin:["bottom",i?"right":"left"],position:["top",i?"right":"left"]};return/left|right/.test(e)?(o.origin=["top",e],o.position[1]=n.directions[e].reverse):(o.origin[0]=e,o.position[0]=n.directions[e].reverse),o.origin=o.origin.join(" "),o.position=o.position.join(" "),o}(l,g,p),C=a.animation.open.effects,y=C!==t?C:"slideIn:"+function(e,t){return(e=e.split(" ")[!t+0]||e).replace("top","up").replace("bottom","down")}(l,g);d?((d=m.data(K)).options.origin=b.origin,d.options.position=b.position,d.options.animation.open.effects=y):(d=m.kendoPopup({activate:function(){o._triggerEvent({item:this.wrapper.parent(),type:S})},deactivate:function(e){o._closing=!1,e.sender.element.removeData("targetTransform").css({opacity:""}),o._triggerEvent({item:this.wrapper.parent(),type:E})},origin:b.origin,position:b.position,collision:a.popupCollision!==t?a.popupCollision:w?"fit":"fit flip",anchor:i,appendTo:u||i,animation:{open:c(!0,{effects:y},a.animation.open),close:a.animation.close},open:o._popupOpen.bind(o),close:function(e){o._closing=e.sender.element;var t=e.sender.wrapper.parent();if(u){var i=e.sender.element.data(G);i&&(t=(u||o.element).find(ke(i))),e.sender.wrapper.children(oe).hide()}o._triggerEvent({item:t[0],type:P})?e.preventDefault():(t.css(H,t.data(H)),t.removeData(H),o.options.scrollable&&t.parent().siblings(oe).css({zIndex:""}),(r||M||n.support.mouseAndTouchPresent)&&(t.removeClass(J),o._removeHoverItem()))}}).data(K),m.closest(Z).removeAttr(le)),m.removeAttr("aria-hidden"),i.attr(se,!0),o._configurePopupOverflow(d,i),d._hovered=!0,d.open(),o._initPopupScrolling(d)}}),o.options.hoverDelay),i.data(T,o._timerTimeout)})),o},_configurePopupOverflow:function(e,t){if(this.options.scrollable&&(this._wrapPopupElement(e),!t.attr("data-groupparent"))){var n=(new Date).getTime();t.attr("data-groupparent",n),e.element.attr("data-group",n)}},_wrapPopupElement:function(e){e.element.parent().is($)||(e.wrapper=n.wrap(e.element,e.options.autosize).css({overflow:"hidden",display:"block",position:"absolute"}))},_initPopupScrolling:function(e,t,n){this.options.scrollable&&e.element[0].scrollHeight>e.element[0].offsetHeight&&this._initPopupScrollButtons(e,t,n)},_initPopupScrollButtons:function(t,n,i){var o=this,r=t.wrapper.children(oe),a=o.options.animation,s=(a&&a.open&&a.open.duration||0)+30;setTimeout((function(){if(!r.length){var a=e(o.templates.scrollButton({direction:n?"left":"up"})),s=e(o.templates.scrollButton({direction:n?"right":"down"}));r=a.add(s).appendTo(t.wrapper),o._initScrolling(t.element,a,s,n),i||r.on(U+g,(function(){var n=o._overflowWrapper();e(be(t.element,n)).each((function(e,t){var i=n.find(ke(t.data(G)));o.close(i)}))})).on(F+g,(function(){setTimeout((function(){e.isEmptyObject(o._openedPopups)&&o._closeParentPopups(t.element)}),30)}))}o._toggleScrollButtons(t.element,r.first(),r.last(),n)}),s)},_popupOpen:function(e){this._keyTriggered||e.sender.element.find("."+X).removeClass(X),this.options.scrollable&&this._setPopupHeight(e.sender)},_setPopupHeight:function(t,i){var o=t.element,r=o.add(o.parent($));r.height(o.hasClass(k)&&this._initialHeight||"");var a=t._location(i),s=e(window).height(),l=a.height,p=i?0:Math.max(a.top,0),c=i?0:Pe(this._overflowWrapper()[0],"scrollTop"),u=window.innerHeight-s,d=s-n.getShadows(o).bottom+u;if(!(d+c>l+p)){var f=Math.min(d,d-p+c);r.css({overflow:"hidden",height:f+"px"})}},close:function(t,n){var i=this,o=i._overflowWrapper(),r=o||i.element;(t=r.find(t)).length||(t=r.find(">.k-item"));return t.each((function(){var r=e(this);r.attr(se,!1),!n&&i._isRootItem(r)&&(i.clicked=!1),clearTimeout(r.data(T)),r.data(T,setTimeout((function(){var n,a,s,l=i._getPopup(r);if(l&&(s=r.data(j),!o||!s||!i._openedPopups[s.toString()]||i._forceClose)){if(!i._forceClose&&(n=l.element,a=!1,e.isEmptyObject(i._openedPopups)||e(be(n,o)).each((function(e,t){return!(a=!!i._openedPopups[t.data(G).toString()])})),a))return;l.close(),l.element.attr("aria-hidden",!0),o&&i._forceClose&&t.last().is(r[0])&&delete i._forceClose}}),i.options.hoverDelay))})),i},_getPopup:function(e){var t=e.find(".k-menu-popup:not(.k-list-container):not(.k-calendar-container):visible").first().data(K),n=this._overflowWrapper();if(!t&&n){var i=e.data(j);if(i)t=n.find(we(i)).data(K)}return t},_toggleDisabled:function(t,n){this.element.find(t).each((function(){e(this).toggleClass(Y,!n).attr("aria-disabled",!n)}))},_toggleHover:function(t){var i=e(n.eventTarget(t)||t.target).closest(ee),o=t.type==U||-1!==l.indexOf(t.type);i.siblings().removeClass(J),i.parents("li."+Y).length||i.toggleClass(J,o||"mousedown"==t.type||"pointerover"==t.type||t.type==R),this._removeHoverItem()},_preventClose:function(){this.options.closeOnClick||(this._closurePrevented=!0)},_checkActiveElement:function(t){var i=this,o=e(t?t.currentTarget:this._hoverItem()),r=i._findRootParent(o)[0];this._closurePrevented||setTimeout((function(){document.hasFocus()&&(ue(r,n._activeElement())||!t||ue(r,t.currentTarget))||i.close(r)}),0),this._closurePrevented=!1},_removeHoverItem:function(){var e=this._hoverItem();e&&e.hasClass(X)&&(e.removeClass(X),this._oldHoverItem=null)},_wrapGroups:function(){var t=this;t.element.find("li > ul").filter((function(){return!e(this).parent().hasClass("k-menu-popup")})).wrap("<div class='k-menu-popup k-popup'></div>").parent("div").attr("aria-hidden",t.element.is(":visible")).hide(),t.element.find("ul").each((function(){var t=e(this),i=n.guid();t.attr("id",i).closest("li").attr("aria-controls",i)}))},_updateClasses:function(){var e,t=this.element;t.removeClass("k-menu-horizontal k-menu-vertical"),t.addClass("k-widget k-reset k-menu-init "+k).addClass(k+"-"+this.options.orientation),"vertical"===this.options.orientation?t.attr("aria-orientation","vertical"):t.attr("aria-orientation","horizontal"),t.find("li > ul").filter((function(){return!n.support.matchesSelector.call(this,".k-menu-init div ul")})).addClass("k-group k-menu-group k-menu-group-md").attr(le,"menu").parent("li").attr("aria-haspopup","true").end().find("li > div").addClass("k-content").attr("tabindex","-1"),t.find("li[aria-haspopup]").attr(se,!1),e=t.find("> li,.k-menu-group > li"),t.removeClass("k-menu-init"),e.each((function(){de(this)}))},_mouseenter:function(t){var n=this,i=e(t.currentTarget),o=n._itemHasChildren(i),a=i.data(j)||i.closest(Q).data(G),s=Te(t),l=!1;a&&(n._openedPopups[a.toString()]=!0),n._closing&&(l=!!n._closing.find(i).length),l||t.delegateTarget!=i.parents(V)[0]&&t.delegateTarget!=i.parents(".k-menu-scroll-wrapper,.k-popups-wrapper")[0]||(n._keyTriggered=!1,n.options.openOnClick.rootMenuItems&&n._isRootItem(i.closest(ee))||n.options.openOnClick.subMenuItems&&!n._isRootItem(i.closest(ee))||(!(!1===n.options.openOnClick||!1===n.options.openOnClick.rootMenuItems&&n._isRootItem(i.closest(ee))||!1===n.options.openOnClick.subMenuItems&&!n._isRootItem(i.closest(ee))||n.clicked)||r||s&&n._isRootItem(i.closest(ee))||!ue(t.currentTarget,t.relatedTarget)&&o&&n.open(i),(!0===n.options.openOnClick&&n.clicked||r)&&i.siblings().each((function(e,t){n.close(t,!0)}))))},_mousedown:function(t){var n=this,i=e(t.currentTarget);(n.options.openOnClick.subMenuItems&&!n._isRootItem(i)||r)&&i.siblings().each((function(e,t){n.close(t,!0)}))},_mouseleave:function(t){var i=this,o=e(t.currentTarget),a=o.data(j),s=o.children(Z).length||o.children(".k-menu-group").length||a,l=e(window);if(a&&delete i._openedPopups[a.toString()],!o.parentsUntil(Z,".k-list-container,.k-calendar-container")[0])return!1!==i.options.openOnClick&&(i.options.openOnClick.rootMenuItems||!i._isRootItem(o))&&(i.options.openOnClick.subMenuItems||i._isRootItem(o))||r||Te(t)||ue(t.currentTarget,t.relatedTarget||t.target)||!s||ue(t.currentTarget,n._activeElement())?void((n.support.browser.msie&&!t.toElement&&!t.relatedTarget&&!Te(t)||t.clientX<0||t.clientY<0||t.clientY>l.height()||t.clientX>l.width())&&i.close(o)):(i.close(o,!0),void(i._loading=!1));t.stopImmediatePropagation()},_mouseenterPopup:function(t){var n=e(t.currentTarget);if(!n.parent().is($)){var i=(n=n.children("ul")).data(G);i&&(this._openedPopups[i.toString()]=!0)}},_mouseleavePopup:function(t){var n=e(t.currentTarget);!Te(t)&&n.is(Z)&&this._closePopups(n.find(Q))},_closePopups:function(t){var n=this,i=n._overflowWrapper(),o=t.data(G);if(o){delete n._openedPopups[o.toString()];var r=i.find(ke(o));setTimeout((function(){if(n.options.openOnClick)n._closeChildPopups(t);else if(e.isEmptyObject(n._openedPopups)){var i=n._innerPopup(t);n._closeParentPopups(i)}else n.close(r,!0)}),0)}},_closeChildPopups:function(t){var n=this,i=n._overflowWrapper();e(be(t,i)).each((function(){var e=i.find(ke(this.data(G)));n.close(e,!0)}))},_innerPopup:function(e){var t=be(e,this._overflowWrapper());return t[t.length-1]||e},_closeParentPopups:function(e){var t=this,n=t._overflowWrapper(),i=e.data(G),o=n.find(ke(i));for(i=o.parent().data(G),t.close(o,!0);i&&!t._openedPopups[i]&&!o.parent().is(V);)o=n.find(ke(i)),t.close(o,!0),i=o.parent().data(G)},_click:function(t){var i,o,r,a,s=this,l=s.options,p=e(n.eventTarget(t)),c=p[0],u=p[0]?p[0].nodeName.toUpperCase():"",d="INPUT"==u||"SELECT"==u||"BUTTON"==u||"LABEL"==u,f=p.closest(b),m=p.closest(ee),h=m[0],v=f.attr("href"),g=p.attr("href"),k=e("<a href='#' />").attr("href"),w=!!v&&v!==k,C=w&&!!v.match(/^#/),y=!!g&&g!==k,T=s._overflowWrapper();if(!c||c.parentNode&&h){for(e(p).closest("span").hasClass("k-menu-expand-arrow-icon")&&(this._lastClickedElement=h);c&&c.parentNode!=h;)c=c.parentNode;if(!e(c).is("div:not(.k-animation-container,.k-list-container)"))if(m.hasClass(Y))t.preventDefault();else{if(t.handled||!s._triggerSelect(p,h)||d||t.preventDefault(),t.handled=!0,o=m.children(Q),T){var x=m.data(j);x&&(o=T.find(we(x)))}if(r=o.is(":visible"),a=l.openOnClick&&r&&s._isRootItem(m),l.closeOnClick&&(!w||C)&&(!o.length||a)){m.removeClass(J).css("height"),s._oldHoverItem=s._findRootParent(m);var O=s._parentsUntil(f,s.element,ee);return s._forceClose=!!T,s.close(O),s.clicked=!1,void(-1!="MSPointerUp".indexOf(t.type)&&t.preventDefault())}w&&t.enterKey&&f[0].click(),(s._isRootItem(m)&&!1!==l.openOnClick||l.openOnClick.subMenuItems||n.support.touch||Te(t)&&s._isRootItem(m.closest(ee)))&&(w||d||y||t.preventDefault(),s.clicked=!0,i=o.is(":visible")?P:_,(l.closeOnClick||i!=P)&&s[i](m))}}},_parentsUntil:function(t,n,i){var o=this._overflowWrapper();if(o){var r=function(t,n){var i=[],o=function(e){for(;e.parentNode&&!n.is(e.parentNode);)i.push(e.parentNode),e=e.parentNode},r=t[0]||t;o(r);for(var a=i[i.length-1];e(a).is(Z)&&(r=Ce(e(a).find(Q),n)[0]);)i.push(r),o(r),a=i[i.length-1];return i}(t,o),a=[];return e(r).each((function(){var t=e(this);if(t.is(n))return!1;t.is(i)&&a.push(this)})),e(a)}return t.parentsUntil(n,i)},_triggerSelect:function(e,t){var n,i=(e=e.is(".k-link")?e:e.closest(".k-link")).data("selectHandler");i&&(n=this._getEventData(e),i.call(this,n));var o=n&&n.isDefaultPrevented(),r=this._triggerEvent({item:t,type:I});return o||r},_getEventData:function(e){return{sender:this,target:e,_defaultPrevented:!1,preventDefault:function(){this._defaultPrevented=!0},isDefaultPrevented:function(){return this._defaultPrevented}}},_documentClick:function(n){var i=this,o=e(n.target).closest("span").hasClass("k-menu-expand-arrow-icon")?i._lastClickedElement:n.target;ue((i._overflowWrapper()||i.element)[0],o)?i._lastClickedElement=t:i.clicked=!1},_focus:function(t){var n=this,i=t.target,r=n._hoverItem(),a=o();if(i!=n.wrapper[0]&&!e(i).is(":kendoFocusable"))return t.stopPropagation(),e(i).closest(".k-content").closest(".k-menu-popup").closest(".k-item").addClass(X),void n.wrapper.trigger("focus");a===t.currentTarget&&(r.length?n._moveHover([],r):n._oldHoverItem||n._moveHover([],n.wrapper.children().first()))},_keydown:function(e){var t,i,o,r=this,a=e.keyCode,s=r._oldHoverItem,l=n.support.isRtl(r.wrapper);if(e.target==e.currentTarget||a==m.ESC){if(s||(s=r._oldHoverItem=r._hoverItem()),i=r._itemBelongsToVertival(s),o=r._itemHasChildren(s),r._keyTriggered=!0,a==m.RIGHT)t=r[l?"_itemLeft":"_itemRight"](s,i,o);else if(a==m.LEFT)t=r[l?"_itemRight":"_itemLeft"](s,i,o);else if(a==m.DOWN)t=r._itemDown(s,i,o);else if(a==m.UP)t=r._itemUp(s,i,o);else if(a==m.HOME)r._moveHover(s,s.parent().children(":visible").first()),e.preventDefault();else if(a==m.END)r._moveHover(s,s.parent().children(":visible").last()),e.preventDefault();else if(a==m.ESC)t=r._itemEsc(s,i);else if(a==m.ENTER||a==m.SPACEBAR)(t=s.children(".k-link")).length>0&&(r._click({target:t[0],preventDefault:function(){},enterKey:!0}),o&&!s.hasClass(Y)?(r.open(s),r._moveHover(s,r._childPopupElement(s).children().find("li").first())):s.is("li")&&"menuitemcheckbox"===s.attr("role")?s.find(".k-checkbox").attr("checked",!0):r._moveHoverToRoot(s,r._findRootParent(s)));else if(a==m.TAB)return t=r._findRootParent(s),r._moveHover(s,t),void r._checkActiveElement();t&&t[0]&&(e.preventDefault(),e.stopPropagation())}},_hoverItem:function(){return this.wrapper.find(".k-item.k-hover,.k-item.k-focus").filter(":visible")},_itemBelongsToVertival:function(e){var t=this.wrapper.hasClass("k-menu-vertical");return e.length&&e.parent().hasClass("k-menu-group")||t},_itemHasChildren:function(e){return!!(e&&e.length&&e[0].nodeType)&&(e.children(".k-menu-group, .k-menu-popup, div.k-animation-container").length>0||!!e.data(j)&&!!this._overflowWrapper().children(we(e.data(j))))},_moveHover:function(t,n){var i=this,o=i._ariaId;t.length&&n.length&&t.removeClass(X),n.length&&(n[0].id&&(o=n[0].id),n.addClass(X),i._oldHoverItem=n,o&&(i.element.removeAttr("aria-activedescendant"),e("#"+o).removeAttr("id"),n.attr("id",o),i.element.attr("aria-activedescendant",o)),i._scrollToItem(n))},_moveHoverToRoot:function(e,t){this._moveHover(e,t)},_findRootParent:function(e){return this._isRootItem(e)?e:this._parentsUntil(e,V,"li.k-item").last()},_isRootItem:function(e){return e.parent().hasClass(k)},_itemRight:function(e,t,n){var i,o,r,a=this;if(t){if(n&&!e.hasClass(Y))a.open(e),i=a._childPopupElement(e).children().find("li").first();else if("horizontal"==a.options.orientation){if(o=a._findRootParent(e),r=a._overflowWrapper()){var s=ye(o,r);a._closeChildPopups(s)}a.close(o),i=o.nextAll(te+ie).eq(0)}}else(i=e.nextAll(te+ie).eq(0)).length||(i=e.prevAll(te+ie).last()),a.close(e);return i&&!i.length?i=a.wrapper.children(".k-item").first():i||(i=[]),a._moveHover(e,i),i},_itemLeft:function(e,t){var n,i,o=this;return t?(n=e.parent().closest(".k-item"),i=o._overflowWrapper(),!n.length&&i&&(n=Ce(e.parent(),i)),o.close(n),o._isRootItem(n)&&"horizontal"==o.options.orientation&&(n=n.prevAll(te+ie).eq(0))):((n=e.prevAll(te+ie).eq(0)).length||(n=e.nextAll(te+ie).last()),o.close(e)),n.length||(n=o.wrapper.children(".k-item").last()),o._moveHover(e,n),n},_itemDown:function(e,t,n){var i,o=this;if(t)i=e.nextAll(te+ie).eq(0);else{if(!n||e.hasClass(Y))return;o.open(e),i=o._childPopupElement(e).children().find("li").first()}return!i.length&&e.length?i=e.parent().children(":visible").first():e.length||(i=o.wrapper.children(".k-item").first()),o._moveHover(e,i),i},_itemUp:function(e,t){var n;if(t)return!(n=e.prevAll(te+ie).eq(0)).length&&e.length?n=e.parent().children(":visible").last():e.length||(n=this.wrapper.children(".k-item").last()),this._moveHover(e,n),n},_scrollToItem:function(e){var t=this;if(t.options.scrollable&&e&&e.length){var i,o=e.parent(),r=!!o.hasClass(k)&&"horizontal"==t.options.orientation,a=r?"scrollLeft":"scrollTop",s=r?n._outerWidth:n._outerHeight,l=o[a](),p=s(e),c=e[0][r?"offsetLeft":"offsetTop"],u=s(o),d=o.siblings(oe),f=d.length?s(d.first()):0;if(l+u<c+p+f?i=c+p-u+f:l>c-f&&(i=c-f),!isNaN(i)){var m={};m[a]=i,o.finish().animate(m,"fast","linear",(function(){t._toggleScrollButtons(o,d.first(),d.last(),r)}))}}},_itemEsc:function(e,t){var n,i,o=this;return t?(0===(n=e.parent().closest(".k-item")).length&&(i=e.closest(".k-menu-popup").data("group"),n=o.wrapper.find(".k-item[data-groupparent='"+i+"']")),o.close(n),o._moveHover(e,n),n):e},_childPopupElement:function(e){var t=e.find(".k-menu-popup"),n=this._overflowWrapper();return!t.length&&n&&(t=ye(e,n)),t},_triggerEvent:function(e){return this.trigger(e.type,{type:e.type,item:e.item})},_focusHandler:function(t){var i=this,o=e(n.eventTarget(t)).closest(ee);o.hasClass(Y)||setTimeout((function(){i._moveHover([],o),o.children(".k-content")[0]&&o.parent().closest(".k-item").removeClass(X)}),200)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={open:{effects:{}},close:{hide:!0,effects:{}}})},_dataSource:function(e){var t=this,n=e?e.dataSource:t.options.dataSource;n&&(n=a(n)?{data:n}:n,t._unbindDataSource(),n.fields||(n.fields=[{field:"uid"},{field:"text"},{field:"url"},{field:"cssClass"},{field:"spriteCssClass"},{field:"imageUrl"},{field:"imageAttr"},{field:"attr"},{field:"contentAttr"},{field:"content"},{field:"encoded"},{field:"items"},{field:"select"}]),t.dataSource=s.create(n),t._bindDataSource(),t.dataSource.fetch())},_bindDataSource:function(){this._refreshHandler=this.refresh.bind(this),this._errorHandler=this._error.bind(this),this.dataSource.bind(N,this._refreshHandler),this.dataSource.bind(B,this._errorHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&(e.unbind(N,this._refreshHandler),e.unbind(B,this._errorHandler))},_error:function(){},findByUid:function(e){return(this._overflowWrapper()||this.element).find("["+n.attr("uid")+"="+e+"]")},refresh:function(e){var t=this,n=e.node,i=e.action,o=n?t.findByUid(n.uid):t.element,r=e.items,a=e.index,s=t._updateItem.bind(t),l=t._removeItem.bind(t);"add"==i?t._appendItems(r,a,o):"remove"==i?r.forEach(l):"itemchange"==i?r.forEach(s):"itemloaded"===i?t.append(e.items,o):this._initData(),this.trigger(ae,{item:o,dataItem:n})},_appendItems:function(e,t,n){var i=n.find(te).eq(t);i.length?this.insertBefore(e,i):this.append(e,n)},_removeItem:function(e){var t=this.findByUid(e.uid);this.remove(t)},_updateItem:function(e){var t=this,n=t.findByUid(e.uid),i=n.next(),o=e.parentNode();t.remove(n),i.length?t.insertBefore(e,i):t.append(e,o&&t.findByUid(o.uid))},_accessors:function(){var e,t,i,o=this.options,r=this.element;for(e in pe)t=o[pe[e]],i=r.attr(n.attr(e+"-field")),!t&&i&&(t=i),t||(t=e),a(t)||(t=[t]),o[pe[e]]=t},_fieldAccessor:function(t){var i=this.options[pe[t]]||[],o=i.length;return 0===o?function(e){return e[t]}:function(t){var r=e.map(i,n.getter);return t.level?r[Math.min(t.level(),o-1)](t):r[o-1](t)}},_templates:function(){var e=this,t=this,i=t.options,o=t._fieldAccessor.bind(t);i.template&&"string"==typeof i.template?i.template=f(i.template):i.template||(i.template=f((function(e){var t=o("text")(e.item);return void 0!==e.item.encoded&&!1===e.item.encoded||(t=d(t)),"<span class='k-menu-link-text'>"+t+"</span>"}))),t.templates={content:f((function(e){var t=e.item,n=o("content")(t);return"<div "+e.contentCssAttributes(t.toJSON?t.toJSON():t)+" tabindex='-1'>"+(n||"")+"</div>"})),group:f((function(e){return"<div class='"+e.groupWrapperCssClass(e.group)+"' "+e.groupAttributes(e.group)+"><ul class='"+e.groupCssClass(e.group)+"' id='"+e.groupId+"' role='menu'>"+e.renderItems(e)+"</ul></div>"})),itemWrapper:f((function(t){var n=t.item,i=o("url")(n),r=o("imageUrl")(n),a=o("imageAttr")(n),s=i?"a":"span";return"<"+s+" class='"+ce.textClass(n)+"' "+(i?"href='"+i+"'":"")+" >"+(r?"<img "+ce.imageCssAttributes(a)+"  alt='' src='"+r+"' />":"")+e.templates.sprite(n)+e.options.template(t)+t.arrow(t)+"</"+s+">"})),item:f((function(t){var i=t.item,r=t.menu,a=t.group,s=t.subGroup,l=o("content")(i),p=n.guid();return"<li class='"+ce.wrapperCssClass(a,i)+"' "+(i.hasChildren||i.items?'aria-controls="'+p+'"':"")+" "+ce.itemCssAttributes(i.toJSON?i.toJSON():i)+" role='menuitem'  "+(i.items?"aria-haspopup='true'":"")+(!1===i.enabled?"aria-disabled='true'":"")+n.attr("uid")+"='"+i.uid+"' "+(i.items&&i.items.length>0?i.expanded?" aria-expanded='true'":" aria-expanded='false'":"")+">"+(i.separator||i.content?"":e.templates.itemWrapper(t))+(i.hasChildren||i.items?""+s({items:i.items,menu:r,group:{expanded:i.expanded},groupId:p}):i.content||i.contentUrl||l?""+t.renderContent(t):"")+"</li>"})),scrollButton:f((function(e){var t=e.direction;return"<span class='k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-menu-scroll-button k-scroll-"+t+"' unselectable='on'>"+n.ui.icon({icon:"caret-alt-"+t,iconClass:"k-button-icon"})+"</span>"})),arrow:f((function(e){e.item;var t=e.group;return"<span aria-hidden='true' class='k-menu-expand-arrow'>"+n.ui.icon({icon:t.horizontal?"caret-alt-down":"caret-alt-right",iconClass:"k-menu-expand-arrow-icon"})+"</span>"})),sprite:f((function(e){var t=o("spriteCssClass")(e);return t?"<span class='k-sprite "+t+"'></span>":""})),empty:f((function(){return""}))}},renderItem:function(e){var t=this;e=c({menu:t,group:{}},e);var n=t.templates.empty,i=e.item;return t.templates.item(c(e,{separator:i.separator?t.templates.separator:n,sprite:t.templates.sprite,itemWrapper:t.templates.itemWrapper,renderContent:t.renderContent,arrow:i.items||i.content||i[t.options.dataContentField[0]]?t.templates.arrow:n,subGroup:t.renderGroup.bind(t)},ce))},renderGroup:function(e){return(this.templates||e.menu.templates).group(c({renderItems:function(e){for(var t="",n=0,i=e.items,o=i?i.length:0,r=c({length:o},e.group);n<o;n++)t+=e.menu.renderItem(c(e,{group:r,item:c({index:n},i[n])}));return t}},e,ce))},renderContent:function(e){return e.menu.templates.content(c(e,ce))}}),Ie=Oe.extend({init:function(t,i){var o=this;Oe.fn.init.call(o,t,i),o.element.attr(le,"menu"),o._marker=n.guid().substring(0,8),o.target=e(o.options.target),o._popup(),o._wire()},_initOverflow:function(t){var n=this;t.scrollable&&!n._overflowWrapper()&&(n._openedPopups={},n._popupsWrapper=(n.element.parent().is($)?n.element.closes(Z):n.element).wrap("<div class='k-popups-wrapper "+t.orientation+"'></div>").parent(),"horizontal"==n.options.orientation&&xe(n.element),t.appendTo&&(t.appendTo=e(t.appendTo),t.appendTo.append(n._popupsWrapper)),n._initialHeight=n.element[0].style.height,n._initialWidth=n.element[0].style.width)},options:{name:"ContextMenu",filter:null,showOn:"contextmenu",orientation:"vertical",alignToAnchor:!1,copyAnchorStyles:!0,target:"body",origin:t,position:t},events:[_,P,S,E,I],setOptions:function(t){var n=this;Oe.fn.setOptions.call(n,t),n.target.off(n.showOn+g+n._marker,n._showProxy),n.userEvents&&n.userEvents.destroy(),n.target=e(n.options.target),t.orientation&&n.popup.wrapper[0]&&n.popup.element.unwrap(),n._wire(),Oe.fn.setOptions.call(this,t)},destroy:function(){var e=this;e.target.off(e.options.showOn+g+e._marker),q.off(n.support.mousedown+g+e._marker,e._closeProxy),e.userEvents&&e.userEvents.destroy(),Oe.fn.destroy.call(e),e.popup&&e.popup.destroy()},open:function(i,o){var r=this;if(i=e(i)[0],ue(r.element[0],e(i)[0])||r._itemHasChildren(e(i)))Oe.fn.open.call(r,i);else if(!1===r._triggerEvent({item:r.element,type:_})){if(r.popup.visible()&&r.options.filter&&(r.popup.close(!0),r.popup.element.kendoStop(!0)),r._triggerFocusOnActivate||(r._triggerFocusOnActivate=r._focusMenu.bind(r)),r.bind(S,r._triggerFocusOnActivate),o!==t){var a=r._overflowWrapper();if(a){var s=a.offset();i-=s.left,o-=s.top}r.popup.wrapper.hide(),r._configurePopupScrolling(i,o),r.popup.open(i,o)}else r.popup.options.anchor=i||r.popup.anchor||r.target,r.popup.element.kendoStop(!0),r._configurePopupScrolling(),r.popup.open();q.off(r.popup.downEvent,r.popup._mousedownProxy),q.on(n.support.mousedown+g+r._marker,r._closeProxy)}return r},_focusMenu:function(){var e=this;e.unbind(S,e._triggerFocusOnActivate),e.element.trigger("focus")},_configurePopupScrolling:function(e,n){var i=this,o=i.popup,r="horizontal"==i.options.orientation;i.options.scrollable&&(i._wrapPopupElement(o),o.element.parent().css({position:"",height:""}),o.element.css({visibility:"hidden",display:"",position:""}),r?i._setPopupWidth(o,isNaN(e)?t:{isFixed:!0,x:e,y:n}):i._setPopupHeight(o,isNaN(e)?t:{isFixed:!0,x:e,y:n}),o.element.css({visibility:"",display:"none",position:"absolute"}),i._initPopupScrollButtons(o,r,!0),o.element.siblings(oe).hide())},_setPopupWidth:function(t,i){var o=t.element,r=o.add(o.parent($));r.width(this._initialWidth||"");var a=t._location(i),s=e(window).width(),l=a.width,p=Math.max(a.left,0),c=i?0:Pe(this._overflowWrapper()[0],"scrollLeft"),u=n.getShadows(o),d=s-u.left-u.right;d+c>l+p||r.css({overflow:"hidden",width:d-p+c+"px"})},close:function(){var t=this;ue(t.element[0],e(arguments[0])[0])||t._itemHasChildren(arguments[0])?Oe.fn.close.call(t,arguments[0]):t.popup.visible()&&!1===t._triggerEvent({item:t.element,type:P})&&(t._removeHoverItem(),t.element.find("#"+t._ariaId).removeAttr("id"),t.popup.close(),q.off(n.support.mousedown+g+t._marker,t._closeProxy),t.unbind(I,t._closeTimeoutProxy),t.popup.options.anchor.focus())},_showHandler:function(t){var i,o=t,r=this,a=r.options,s=n.support.mobileOS?e(o.target):e(o.currentTarget);t.event&&((o=t.event).pageX=t.x.location,o.pageY=t.y.location),ue(r.element[0],t.relatedTarget||t.target)||(r._eventOrigin=o,o.preventDefault(),o.stopImmediatePropagation(),r.element.find("."+X).removeClass(X),(a.filter&&s.is(a.filter)||!a.filter)&&(a.alignToAnchor?(r.popup.options.anchor=o.currentTarget,r.open(o.currentTarget)):(r.popup.options.anchor=o.currentTarget,r._targetChild?(i=r.target.offset(),r.open(o.pageX-i.left,o.pageY-i.top)):r.open(o.pageX,o.pageY))))},_closeHandler:function(t){var n=this,i=e(t.relatedTarget||t.target),o=i.closest(n.target.selector)[0]==n.target[0],r=i.closest(te),a=n._itemHasChildren(r),s=n._overflowWrapper(),l=ue(n.element[0],i[0])||s&&ue(s[0],i[0]);n._eventOrigin=t;var p=3!==t.which;n.popup.visible()&&(p&&o||!o)&&(n.options.closeOnClick&&!a&&l||!l)&&(l?(this.unbind(I,this._closeTimeoutProxy),n.bind(I,n._closeTimeoutProxy)):n.close())},_wire:function(){var e=this,t=e.options,i=e.target;e._preventProxy=null,e._showProxy=e._showHandler.bind(e),e._closeProxy=e._closeHandler.bind(e),e._closeTimeoutProxy=e.close.bind(e),i[0]&&(n.support.mobileOS&&"contextmenu"==t.showOn&&(e.userEvents=new n.UserEvents(i,{filter:t.filter,allowSelection:!1}),e._preventProxy=function(){return!1},e.userEvents.bind("hold",e._showProxy)),t.filter?i.on(t.showOn+g+e._marker,t.filter,e._preventProxy||e._showProxy):i.on(t.showOn+g+e._marker,e._preventProxy||e._showProxy),i.on("keydown",(function(t){t.keyCode===n.keys.F10&&t.shiftKey&&(t.preventDefault(),e.open(t.target))})))},_triggerEvent:function(n){var i=this,o=e(i.popup.options.anchor)[0],r=i._eventOrigin;return i._eventOrigin=t,i.trigger(n.type,c({type:n.type,item:n.item||this.element[0],target:o},r?{event:r}:{}))},_popup:function(){var t=this,n=t._overflowWrapper(),i=t.element.addClass("k-context-menu");t._triggerProxy=t._triggerEvent.bind(t),t.popup=e("<div></div>").append(i).kendoPopup({origin:t.options.origin,position:t.options.position,autosize:"horizontal"===t.options.orientation,anchor:t.target||"body",copyAnchorStyles:t.options.copyAnchorStyles,collision:t.options.popupCollision||"fit",animation:t.options.animation,activate:t._triggerProxy,deactivate:t._triggerProxy,appendTo:n||t.options.appendTo,close:n?function(t){e(be(t.sender.element,n)).each((function(e,t){var n=t.data(K);n&&n.close(!0)}))}:e.noop}).data(K),t._targetChild=ue(t.target[0],t.popup.element[0])},_moveHoverToRoot:function(e,t){this._moveHover(e,t),this.close()},_focus:function(e){var t=this._oldHoverItem=this._hoverItem()||[];Oe.fn._focus.call(this,e),o()===e.currentTarget&&this._moveHover(t,this.wrapper.children().filter(":visible").not(".k-separator").first())}});i.plugin(Oe),i.plugin(Ie)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.menu.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.splitbutton.js"),require("kendo.dropdownbutton.js"),require("kendo.buttongroup.js"),require("kendo.menu.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.splitbutton.min","kendo.dropdownbutton.min","kendo.buttongroup.min","kendo.menu.min","kendo.icons.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendotoolbar=t.kendotoolbar||{},t.kendotoolbar.js=e())}(this,(function(){return function(t,e){var n=window.kendo,o=n.ui.Widget,i=n.isFunction,a=n.keys,s=n._outerWidth,r=".kendoToolBar",l="toolbar",d="k-button",u="k-toggle-button",p="k-button-group",h="k-split-button",c="k-menu-button",f="k-spacer",m="k-selected",g="k-hidden",v="k-force-hidden",b="k-group-start",w="k-group-end",_="k-menu-link",k="k-menu-item",C="k-toolbar-overflow-button",I="k-toolbar-item",T="k-toolbar-tool",y="k-menu-link-toggle",M="k-dropdownlist",x="k-input-button",B="k-focus",O="[tabindex=-1]",A="aria-checked",E="aria-label",z="change",D="click",S="toggle",P="open",j="close",W="focus",F="keydown",R="spacer",q="role",N="separator",U="overflow",G="tabindex",H="input",L="select",V="hidden",K="group",J="data-uid",Q="[data-role]",X="[data-toggle]",Y="[data-role=buttonmenu]",Z=":kendoFocusable",$="overflowOpen",tt="overflowClose",et="never",nt="auto",ot="always",it=n.attr("uid"),at="",st="_",rt=" ",lt=".",dt=",",ut="id",pt="uid",ht="kendoDropDownButton",ct="kendoSplitButton",ft="kendoToggleButton",mt="kendoButtonGroup";n.toolbar={};var gt={button:"Button",splitButton:"SplitButton",dropDownButton:"DropDownButton",buttonGroup:"ButtonGroup",popupButton:"Button",open:"Button"},vt={Button:"k-toolbar-button",ToggleButton:"k-toolbar-toggle-button",SplitButton:"k-toolbar-split-button",DropDownButton:"k-toolbar-menu-button",ButtonGroup:"k-toolbar-button-group",ColorPicker:"k-toolbar-color-picker",Switch:"k-toolbar-switch"},bt=["Button","SplitButton","DropDownButton","ButtonGroup","Switch","ColorPicker"],wt='<button class="k-popup-button"><span class="k-button-icon k-icon"></span><span class="k-button-text">'+n.ui.icon("caret-alt-down")+"</span></button>",_t=o.extend({init:function(t,e){o.fn.init.call(this,t,e),e=this.options,this._isRtl=n.support.isRtl(t),this.uid=n.guid(),(t=this.wrapper=this.element).attr(it,this.uid),t.addClass("k-toolbar"),t.attr(q,l),e.resizable&&this._resizable(),e.tools&&e.tools.length>0&&(e.items=this._extendToolsOptions()),e.items&&e.items.length&&this._items(),this._attachEvents(),this._tabIndex(),this._applyCssClasses(),e.resizable&&(this._shrink(this.element.innerWidth()),this.overflowAnchor.appendTo(this.wrapper),this._toggleOverflowAnchor()),n.notify(this)},events:[D,S,P,j,$,tt,z],options:{name:"ToolBar",items:[],resizable:!0,navigateOnTab:!1,evaluateTemplates:!1,size:"medium"},destroy:function(){var e=this;e.options.resizable&&(n.unbindResize(e._resizeHandler),e.overflowMenu.destroy()),e.element.find(".k-popup-button").each((function(e,n){var o,i,a,s=t(n).getKendoButton();s&&(a=s.chooser,i=(o=s.popup).wrapper,a.destroy(),o.destroy(),i.remove())})),n.destroy(e.element.children()),o.fn.destroy.call(e)},add:function(t){this._add(t),this.options.resizable&&this.resize(!0)},enable:function(e,o){var i,a,s=this,r=this._getUid(e),l=this._getItem(e,r),d=l.component;void 0===o&&(o=!0),l.component?(i=(a=d.wrapper).hasClass(B)||a.is(":focus"),d.enable(o),a.find("[disabled]").removeAttr("disabled"),a.removeAttr("disabled"),i&&a.addClass(B).trigger(W)):l.buttonsPopupItem.length>0&&n.widgetInstance(l.buttonsPopupItem.closest(".k-menu-popup")).enable(o,l.buttonsPopupItem),this.overflowMenu&&(this.overflowMenu.enable(l.menuItem,o),this.overflowMenu.element.find("[data-parentuid="+r+"]").each((function(e,n){s.overflowMenu.enable(t(n),o)})))},getSelectedFromGroup:function(t){return this.element.find(lt+u+"[data-group='"+t+"']").filter(lt+m)},hide:function(e){var n,o,i=this,a=this._getUid(e),s=i._getItem(e,a);s&&((n=s.templateEl.add(s.toolbarEl).add(s.buttonsPopupItem).add(s.menuItem)).addClass(g),n.addClass(v),this.overflowMenu&&this.overflowMenu.element.find("[data-parentuid="+a+"]").each((function(e,n){t(n).addClass(v),t(n).addClass(g)})),(o=s.toolbarEl.parent().closest(lt+p)).data(mt)&&(0===o.children(":not(.k-hidden)").length?i.hide(o):i._groupVisibleButtons(o)),n.find("[tabindex=0]").addBack("[tabindex=0]").length>0&&this._resetTabIndex(i._getAllItems().first()),this.options.resizable&&this.resize(!0))},remove:function(e){var n,o=this,i=this._getUid(e),a=this._getItem(e,i);a&&(a.component&&((n=a.toolbarEl.closest('[data-role="buttongroup"]')).length>0&&0===a.toolbarEl.siblings().length?(n.data(mt).destroy(),n.remove(),a.toolbarEl=t(at)):a.component.destroy()),a.templateEl.length>0?a.templateEl.remove():a.toolbarEl.length>0&&a.toolbarEl.remove(),a.buttonsPopupItem.length>0&&a.buttonsPopupItem.remove(),this.overflowMenu&&(this.overflowMenu.remove(a.menuItem),this.overflowMenu.element.find("[data-parentuid="+i+"]").each((function(e,n){o.overflowMenu.remove(t(n))}))),this.options.resizable&&this.resize(!0))},show:function(e){var n,o,i=this._getUid(e),a=this._getItem(e,i);a&&((n=a.templateEl.add(a.toolbarEl).add(a.buttonsPopupItem)).removeClass(v),n.removeClass(g),a.menuItem.removeClass(v),this.overflowMenu&&this.overflowMenu.element.find("[data-parentuid="+i+"]").each((function(e,n){t(n).removeClass(v)})),(o=a.toolbarEl.parent().closest(lt+p)).data(mt)&&(o.hasClass("k-hidden")&&o.children(":not(.k-hidden)").length>0?this.show(o):this._groupVisibleButtons(o)),this.options.resizable&&this.resize(!0))},toggle:function(n,o){var i,a,s,r=this._getItem(n),l=r.toolbarEl,d=r.menuItem;o===e&&(o=!0),i=l.data(ft),(r.component||0!==d.find(lt+y).length)&&(s=l.data(K),r.component&&((a=l.closest(lt+p).data(mt))&&l.hasClass(m)!==o&&a._toggleIndex(l.index()),i.toggle(o),o&&this.element.find("[data-group="+s+"]").each((function(e,n){n!==l[0]&&t(n).data(ft).toggle(!1)}))),d&&(d.attr(A,o).find(lt+y).toggleClass(m,o),o&&this.overflowMenu&&this.overflowMenu.element.find("[data-group="+s+"]").each((function(e,n){n!==d[0]&&t(n).attr(A,!1).find(lt+y).removeClass(m)}))))},toggleTools:function(e){var o=this,i=o.element.find(X),a=o.element.find(Z).not(O);i.each((function(i,a){var s=t(a),r=null,l=s.data(S),d=e&&e[l];s.is(Q)&&(r=n.widgetInstance(s)),r&&r.enable?r.enable(d||!1):o.enable(s,d)})),o.element.find(X+"[disabled]").removeAttr("disabled"),o.element.find(Z).not(O).attr("tabindex",-1),a.attr(G,0)},_add:function(t){var e,o=this._processOptions(t),i=o.template,a=o.overflowTemplate,s=gt[o.type];i||a?e=this._addTemplate(o):n.ui[o.component]?e=this._addCustomWidget(o):s?e=this._addDefaultTool(s,o):o.type===R?this._addSpacer():o.type===N&&this._addSeparator(o),e&&(this.overflowAnchor?e.insertBefore(this.overflowAnchor):e.appendTo(this.element),e.find("[disabled]").removeAttr("disabled"),e.is("[disabled]")&&e.removeAttr("disabled"))},_addAttributes:function(t,e){var n=t.attributes,o=at;n||(n={}),t.hidden&&(o=g+rt+v),t.align&&(o=o+" k-align-"+t.align),n&&(n.class&&(o=o+rt+n.class,delete n.class),e.attr(n)),e.addClass(o),e.attr(it,t.uid),t.id&&e.attr(ut,t.id),t.overflow===et&&e.attr("data-overflow",et)},_addCustomWidget:function(e){var o,i,a,s=t(e.element||"<input>");return e.overflowComponent&&this._addMenuItem(e.overflowComponent.type,t.extend({},e,e.overflowComponent)),e.attributes&&(a=e.attributes.class,delete e.attributes.class,s.attr(e.attributes),delete e.attributes[E]),e.componentOptions||(e.componentOptions={}),e.componentOptions.size=this.options.size,o=new n.ui[e.component](s,e.componentOptions),bt.indexOf(e.component)>-1?(o.wrapper.addClass(T+" "+vt[e.component]),i=o.wrapper):i=(o.wrapper||o.element).wrap("<span class='k-toolbar-tool k-toolbar-item' tabindex='0'>").parent(),e.attributes&&(e.attributes.class=a),this._addAttributes(e,i),i},_addDefaultTool:function(e,n){var o,i;return n.overflow!==ot&&(o=this._addToolbarTool(e,t.extend(!0,{},n))),this.overflowMenu&&n.overflow!==et&&(n.overflowComponent?(delete(i=t.extend(!0,{},n,n.overflowComponent))["data-command"],this._addMenuItem("Button",i)):this._addMenuItem(e,t.extend(!0,{},n))),o},_addMenuItem:function(o,i){var a,s=this,r=this,d=i.selected;return delete i.selected,i.id&&(i.id=i.id+st+U),i.showIcon===l&&(delete i.imageUrl,delete i.icon),i.showText===l?(i.attributes||(i.attributes={}),i.attributes[E]=i.text,i.text=at):i.text!==e&&i.text!==at||(i.text="&nbsp;",i.encoded=!1),r.overflowMenu.append(i),a=r.overflowMenu.element.find(lt+k).last(),i.icon&&a.find(lt+_).prepend(n.ui.icon(i.icon)),"ToggleButton"===o||"Button"===o&&!0===i.togglable?(a.find(lt+_).addClass(y),d&&a.find(lt+_).addClass(m),i.group&&a.attr("data-group",i.group)):i.menuButtons?i.menuButtons.forEach((function(t){t.overflow=i.overflow,r._addMenuItem(null,t)})):i.buttons&&(a.remove(),a=null,i.buttons.forEach((function(e){var n=e.attributes;e.overflow=i.overflow,e.attributes=t.extend(n,i.attributes),r._addMenuItem("Button",e)}))),"DropDownButton"===o&&(a.addClass("k-disabled"),a.attr("aria-disabled",!0)),a&&(r._addAttributes(i,a),i.overflow===nt&&a.addClass(g),(i.click||i.toggle)&&r.overflowMenu.bind(L,(function(t){t.item===a[0]&&s._onMenuItemSelect(t,i.click,i.toggle)}))),a},_addPopupButton:function(e){var n,o,i=this,a=t(wt),s=e.popupComponent;return a.attr(E,e.text),n=t("<div/>").appendTo(t("<body>")).kendoPopup({anchor:a}).data("kendoPopup"),a.on(D+" touchend",(function(t){n.toggle(),t.preventDefault()})),(o=new s(n.element)).bind(e.commandOn,(function(t){i.trigger(z,{target:a,value:t.value||t}),n.close()})),{widgetElement:a,chooser:o,popup:n}},_addSeparator:function(e){var n=t('<div role="separator">&nbsp;</div>'),o=t("<li role='separator' class='k-separator k-menu-separator k-hidden'></li>");n.addClass("k-separator"),n.attr(q,N),this.overflowAnchor?n.insertBefore(this.overflowAnchor):n.appendTo(this.element),this._addAttributes(e,n),e.id&&(e.id=e.id+st+U),this._addAttributes(e,o),this.overflowMenu&&this.overflowMenu.element.append(o)},_addSpacer:function(){var e=t("<div>&nbsp;</div>");e.addClass(f),this.overflowAnchor?e.insertBefore(this.overflowAnchor):e.appendTo(this.element)},_addTemplate:function(e){var o,a,s=e.template,r=e.overflowTemplate,l=t(at);return r&&this.overflowMenu&&e.overflow!==et&&(r=i(r)?r(e)[0]:r,this.overflowMenu.append({}),a=this.overflowMenu.element.find(lt+k).last().find(lt+_).html(r).parent()),s&&e.overflow!==ot&&(this.options.evaluateTemplates&&(s=n.template(s)),s=i(s)?s(e):s,(o=t("<div class='k-toolbar-item' aria-keyshortcuts='Enter'></div>")).html(s),a&&a.addClass(g)),o&&(l=o.find(H+dt+L),this._addAttributes(e,o)),a&&(l.add(a.find(H+dt+L)),this._addAttributes(e,a)),!this.options.navigateOnTab&&l.length>0&&(o.attr(G,0),o.addClass(T),l.attr(G,-1)),o},_addToolbarTool:function(e,o){var i,a,s,r=t("<button>"),l=!1;return!0===o.primary&&(o.themeColor="primary"),o.url&&(r=t("<a href='"+o.url+"'>")),o.showIcon===U&&(delete o.imageUrl,delete o.icon),o.showText!==U?r.text(o.text):r.attr(E,o.text),"popupButton"===o.type?r=(s=this._addPopupButton(o)).widgetElement:"Button"===e&&!0===o.togglable?e="ToggleButton":o.menuButtons?(o.items=o.menuButtons,delete o.menuButtons,o.attributes&&o.attributes.class&&r.addClass(o.attributes.class),r.attr(J,o.uid),delete o.uid):o.buttons&&(r=t("<span></span>"),l=!0,o.items=o.buttons,delete o.buttons,o.preventKeyNav=!0,o.items.forEach((function(t){t.showIcon===U&&(delete t.imageUrl,delete t.icon),t.showText===U&&(t.attributes||(t.attributes={}),t.attributes[E]=t.text,delete t.text)}))),o.id&&(r.attr(ut,o.id),delete o.id),o.size=this.options.size,(a=(i=new n.ui[e](t(r),o)).wrapper||i.element).addClass(vt[e]),this._addAttributes(o,a),o.url&&r.removeAttr(q),l?(a.find(lt+d).addClass(T),this._groupVisibleButtons(a)):i.element.addClass(T),"popupButton"!==o.type&&"open"!==o.type?this._attachWidgetEvents(i):"open"===o.type?(r.addClass("k-upload-button"),this._resetOpen(r,o.extensions),a=r.parent()):(i.chooser=s.chooser,i.popup=s.popup),a},_attachEvents:function(){var t=this;t.element.on(F+r,t._keydown.bind(t)).on("focusin"+r,t._focusIn.bind(t)).on("focusout"+r,t._focusOut.bind(t))},_attachWidgetEvents:function(e){var n=this;e.bind(D,n._onClick.bind(n)),e.bind(S,n._onToggle.bind(n)),e.bind(L,n._onSelect.bind(n)),e.bind(P,n._onOpen.bind(n)),e.bind(j,n._onClose.bind(n)),e.wrapper.find(lt+d).each((function(e,o){var i=t(o);i.data("kendoButton")&&i.data("kendoButton").bind(D,(function(t){n.trigger(D,{id:t.id,target:t.target,originalEvent:t.originalEvent||t.event})}))}))},_childrenWidth:function(){var e=parseInt(this.element.css("gap"),10)||0,n=e;return this.element.children(":visible:not(."+f+")").each((function(){n+=s(t(this),!1)+e})),Math.ceil(n)},_extendToolsOptions:function(){var t=this,e=this.options,n=e.tools.flatMap((function(n){return t._mapTool(n,e.parentMessages,e.defaultTools)}));return this.options.items=n,n},_focusIn:function(e){var n=t(e.target).closest(lt+d);n.length>0&&(this._resetTabIndex(n),n.addClass(B))},_focusOut:function(t){this.wrapper.find(lt+d+lt+B).removeClass(B)},_getAllItems:function(){return this.wrapper.find(lt+T).filter(":visible").filter((function(t,e){return e.style.visibility!==V}))},_getItem:function(e,o){var i,a,s=o||this._getUid(e),r=t(Y);return s?(i="[data-uid="+s+"]",{toolbarEl:a=this.element.find(i),templateEl:a.closest(lt+I+dt+lt+h),component:n.widgetInstance(a),menuItem:this.overflowMenu?this.overflowMenu.element.find(i):t(at),buttonsPopupItem:r.find(i)}):{toolbarEl:this.element.find(e),templateEl:t(at),menuItem:this.overflowMenu?this.overflowMenu.element.find(e):t(at),buttonsPopupItem:t(at)}},_getNextElement:function(t,e){var n=this._getAllItems(),o=-1===n.index(t)?n.index(t.parentElement):n.index(t),i=n[o+e];return i||(i=-1===e?n.last():n.first()),i},_getUid:function(e){var n;return(n=this.element.find(e)).length||(n=t(Y).find(e)),!n.length&&this.overflowMenu&&(n=this.overflowMenu.element.find(e)),n.length?n.data(pt)||n.closest(lt+T).data(pt):null},_groupVisibleButtons:function(t){var e,n=t.children();n.removeClass(w).removeClass(b),(e=n.filter(":not('."+g+"')")).first().addClass(b),e.last().addClass(w)},_hideItem:function(e){var n=this;e.addClass(g),n.overflowMenu&&(e.hasClass(h)||e.hasClass(c)?((e.hasClass(h)?(e=e.children().eq(0)).data(ct):e.data(ht)).menu.list.children().each((function(e,o){n._showMenuItem(t(o))})),n._showMenuItem(e)):e.hasClass(p)?e.children().each((function(e,o){n._showMenuItem(t(o))})):n._showMenuItem(e))},_hideMenuItem:function(t){this.overflowMenu.element.find(">li[data-uid='"+t.data(pt)+"']").addClass(g)},_items:function(){for(var t=this.options,e=0;e<t.items.length;e++)this._add(t.items[e])},_keydown:function(e){var n=t(e.target),o=e.keyCode,i=n.closest(lt+I),s=n.is(lt+C);if(!this.options.navigateOnTab&&!n.is(".k-toolbar-tool")&&o===a.ESC&&i.length>0)return e.stopPropagation(),void this._keyDeactivateTemplate(i);n.hasClass(T)&&(!this.options.navigateOnTab&&o===a.ENTER&&n.hasClass(I)?this._keyActivateTemplate(n):s&&(e.altKey&&o===a.DOWN||o===a.ENTER||o===a.SPACEBAR)?this._keyOpenOverflow(e,o):o===a.HOME?this._keyFocusFirst(n,e):o===a.END?this._keyFocusLast(n,e):this.options.navigateOnTab||o!==a.RIGHT&&o!==a.LEFT||this._keyFocusNext(o,e))},_keyActivateTemplate:function(t){var e=t.find(Z+":not('"+lt+x+"')"+dt+lt+M);e.length>0&&(t.attr(G,-1),e.attr(G,0),e.first().trigger(W))},_keyDeactivateTemplate:function(t){var e,o=t.find(Q),i=t.find(Z+":not('"+lt+x+"')"+dt+lt+M);if(o.length>0&&(e=n.widgetInstance(o))){if(e.overflowMenu&&e.overflowMenu.visible())return;t.attr(G,0),t.trigger(W),t.find(Z).attr(G,-1)}i.length>0&&(t.attr(G,0),t.trigger(W),i.attr(G,-1))},_keyFocusFirst:function(t,e){var n=this._getAllItems();t.is(lt+M)||t.is(H)||(this._resetTabIndex(n.first()),n.first().trigger(W),e.preventDefault())},_keyFocusLast:function(t,e){var n,o=this._getAllItems();t.is(lt+M)||t.is(H)||(0===(n=o.last()).width()&&(n=o.eq(o.length-2)),this._resetTabIndex(n),n.trigger(W),e.preventDefault())},_keyFocusNext:function(e,n){var o,i=this._isRtl?-1:1;e===a.LEFT&&(i*=-1),o=t(this._getNextElement(n.target,i)),this._resetTabIndex(o),o.trigger(W),n.preventDefault()},_keyOpenOverflow:function(t,e){e===a.SPACEBAR&&t.preventDefault(),this.overflowMenu.open()},_mapAttributes:function(t,e){return{"aria-label":e[t.name||t.property],title:e[t.name||t.property],"data-command":t.command,"data-options":t.options,"data-dialog":t.dialog,"data-property":t.property,"data-value":t.value,"data-toggle":t.toggleCondition}},_mapComponent:function(e,n){var o,i=this,a=e.componentOptions,s=a.messages,r=t.extend({},i._mapAttributes(e,n),e.attributes);return e.overflowComponent&&(o=e.options||{},e.componentOptions.dataSource&&(o.options=e.componentOptions.dataSource),e.componentOptions.value&&(o.default=e.componentOptions.value),Object.keys(o).length>0&&(e.overflowComponent.options=JSON.stringify(o)),e.overflowComponent=i._mapTool(e.overflowComponent,n)),s&&Object.keys(s).forEach((function(t){e.componentOptions.messages[t]=n[s[t]]||s[t]})),Object.keys(a).forEach((function(t){"commandOn"===t&&(e.componentOptions[a[t]]=function(t){i.trigger(z,{target:t.target||t.sender.element})})})),a.dataSource&&a.dataSource.length&&(e.componentOptions.dataSource=a.dataSource.map((function(t){return t.name&&n[t.name]&&(t.text=n[t.name]),t}))),e.attributes=r,e},_mapTool:function(e,o,i){var a,s,r=this;return Array.isArray(e)?{type:"buttonGroup",buttons:e.map((function(t){return r._mapTool(t,o,i)}))}:(e=t.isPlainObject(e)&&1===Object.keys(e).length&&e.name?e.name:e,a=t.isPlainObject(e)?e:t.extend({},i[e]),s=t.extend({},r._mapAttributes(a,o),a.attributes),n.deepExtend(a,{text:o[a.name||a.property],attributes:s}),"component"===a.type?a.items?a.items.map((function(t){return r._mapComponent(t,o)})):r._mapComponent(a,o):("buttonGroup"===a.type?(delete a.attributes[E],a.buttons=a.buttons.map((function(t){return r._mapTool(t,o,i)}))):"splitButton"===a.type?(delete a.attributes[E],a.menuButtons=a.menuButtons.flatMap((function(t){return r._mapTool(t,o,i)}))):"popupButton"===a.type&&a.overflowComponent&&(a.overflowComponent=r._mapTool(a.overflowComponent,o)),delete a.name,a))},_menuItemSelect:function(e){var n,o,i=t(e.item),a=i.attr(ut),s=i.find(lt+y),r=i.data(K);a&&a.indexOf(st+U)>-1&&(a=a.replace(st+U,at)),s.length?(r&&this.overflowMenu.element.find("[data-group="+r+"]").each((function(e,n){var o=t(n);o.attr(A,!1),o.find(lt+y).removeClass(m)})),n=!!r||!s.hasClass(m),s.toggleClass(m,n),i.attr(A,n),(o=this.element.find("[data-uid="+i.data(pt)+"]")).length&&(o.closest(lt+p).length?o.closest(lt+p).data(mt).select(o):(r&&this.element.find("[data-group="+r+"]").each((function(e,n){t(n).data(ft).toggle(!1)})),o.data(ft).toggle(!0))),this.trigger(S,{id:i.attr(ut),target:i,checked:n})):this.trigger(D,{id:a,target:i})},_onClick:function(t){var e=t.target,n=e.hasClass(u),o=e.data(K);n||this.trigger(D,{id:t.id,target:t.target,originalEvent:t.originalEvent||t.event}),n&&o&&this.element.find("[data-group="+o+"]").length>1&&e.hasClass(m)&&t.preventDefault()},_onClose:function(t){this.trigger(j,{widget:t.sender})&&t.preventDefault()},_onMenuItemSelect:function(e,n,o){var i=this,a=t(e.item),s=a.find(lt+y).length>0,r=a.attr(ut);r&&r.indexOf(st+U)>-1&&(r=r.replace(st+U,at)),n&&n.bind(this)({event:e.event,id:r,target:a}),s&&o&&setTimeout((function(){o.bind(i)({event:e.event,id:r,target:a,checked:a.find(lt+m).length>0})}))},_onOpen:function(t){this.trigger(P,{widget:t.sender})&&t.preventDefault()},_onSelect:function(e){var n=this.overflowMenu?this.overflowMenu.element:t(at);e.sender.element.children().each((function(e,o){var i=t(o),a=i.data(pt),s=i.hasClass(m);n.find("[data-uid="+a+"]").attr(A,s).find(lt+y).toggleClass(m,s)})),this.trigger(S,{id:e.target.attr(ut),target:e.target,checked:e.target.hasClass(m)})},_onToggle:function(e){var n,o=this,i=e.target,a=i.data(K);o.overflowMenu&&(n=o.overflowMenu.element.find("[data-uid="+i.attr(J)+"]"),o.overflowMenu.element.find("[data-group="+a+"]").attr(A,!1).find(lt+y).removeClass(m),n.attr(A,!0).find(lt+y).addClass(m)),a&&o.element.find("[data-group="+a+"]").each((function(e,n){n!==i[0]&&t(n).data(ft).toggle(!1)})),this.trigger(S,{id:e.id,target:e.target,checked:e.checked,originalEvent:e.originalEvent||e.event})},_processInner:function(t,e){for(var o,i=0;i<t.length;i++)(o=t[i]).attributes||(t[i].attributes={}),t[i].attributes[J]=n.guid(),t[i].attributes["data-parentuid"]=e,o.id&&(t[i].attributes[ut]=t[i].id),o.hidden&&(t[i].attributes.class||(t[i].attributes.class=at),t[i].attributes.class+=rt+g+rt+v);return t},_processOptions:function(o){var i,a=o.template,s=o.overflowTemplate,r=n.guid();return t.extend(o,{uid:r,rootUid:this.uid}),o.menuButtons?o.menuButtons=this._processInner(o.menuButtons,r):o.buttons&&o.buttons.length&&(o.buttons=this._processInner(o.buttons,r),o.buttons.every((function(t){return t.togglable}))?(i=o.buttons[0].group)&&o.buttons.every((function(t){return t.group===i}))?o.selection="single":o.selection="multiple":o.selection="none"),a&&!s||o.type===R?o.overflow=et:o.overflow||(o.overflow=nt),o.enable!==e&&(o.enabled=o.enable),o},_renderOverflow:function(){var e=this,o=e._isRtl?"left":"right";e.overflowAnchor=t("<button class='k-toolbar-overflow-button k-toolbar-tool' title='More tools'>"),e.element.append(e.overflowAnchor),e.overflowAnchor.kendoButton({icon:"more-vertical",fillMode:"flat",size:e.options.size}),e.options.navigateOnTab||e.overflowAnchor.attr(G,-1),e.overflowMenu=new n.ui.ContextMenu(t("<ul>"),{size:e.options.size,showOn:"click tap",origin:"bottom "+o,position:"top "+o,alignToAnchor:!0,target:e.overflowAnchor,open:function(t){e.trigger($)&&t.preventDefault()},close:function(t){e.trigger(tt)?t.preventDefault():(e._resetTabIndex(e.overflowAnchor),e.overflowAnchor.trigger(W))}}),e.overflowMenu.element.attr(it,this.uid),setTimeout((function(){e.overflowMenu.bind(L,e._menuItemSelect.bind(e))}))},_resetOpen:function(e,o){var i,a,s=this;e.closest(".k-upload-button-wrap").find("input").remove(),i=e.wrap("<div class='k-upload-button-wrap'></span>").parent(),a=t("<input type='file' autocomplete='off' accept='"+o+"'/>").attr("aria-hidden",!0).one("change",(function(t){s.trigger(z,{target:e,value:t.target.files[0]}),s._resetOpen(e,o)})).appendTo(i),e.off(F).on(F,(function(t){t.keyCode===n.keys.ENTER&&a.trigger(D)}))},_resetTabIndex:function(t){!0!==this.options.navigateOnTab&&(this.wrapper.find(Z).attr(G,-1),t.attr(G,0))},_resizable:function(){var t=this,e=t.element;t._renderOverflow(),e.addClass("k-toolbar-resizable"),t._resizeHandler=n.onResize((function(){t.resize()}))},_resize:function(e){var o=e.width,i=this.element,a=i.find('[data-role="splitbutton"]').add(i.find('[data-role="dropdownbutton"]'));this.options.resizable&&(this.overflowMenu.close(),a.length>0&&a.each((function(e,o){n.widgetInstance(t(o)).close()})),this._shrink(o),this._stretch(o),this._toggleOverflowAnchor())},_shrink:function(e){var n,o,i;if(e<this._childrenWidth())for(var a=(o=this.element.children(":visible:not([data-overflow='never'], ."+C+")")).length-1;a>=0&&(n=o.eq(a),!(e>this._childrenWidth()));a--)(i=n.find("[tabindex=0]")||n.is("[tabindex=0]")?n:t(at)).length>0&&(i.attr(G,-1),this.element.children(lt+C).attr(G,0)),this._hideItem(n)},_showItem:function(e,n){var o=this,i=parseInt(this.element.css("gap"),10)||0;e.removeClass(g);var a=s(e,!0)+i;return e.addClass(g),!(!e.length||!(e.hasClass(f)||n>this._childrenWidth()+a))&&(e.removeClass(g),!0!==this.options.navigateOnTab?e.find(Z).attr(G,-1):e.is("[tabindex=-1]")&&e.removeAttr(G),this.overflowMenu&&(e.hasClass(h)||e.hasClass(c)?((e.hasClass(h)?(e=e.children().eq(0)).data(ct):e.data(ht)).menu.list.children().each((function(e,n){o._hideMenuItem(t(n))})),o._hideMenuItem(e)):e.hasClass(p)?e.children().each((function(e,n){o._hideMenuItem(t(n))})):o._hideMenuItem(e)),!0)},_showMenuItem:function(t){var e=this.overflowMenu.element.find(">li[data-uid='"+t.data(pt)+"']");e.hasClass(v)||e.removeClass(g)},_stretch:function(t){var e,n,o=this.element.children(lt+C);if(t>this._childrenWidth()){n=this.element.children(lt+g+":not("+lt+v+")");for(var i=0;i<n.length&&(e=n.eq(i),!(t<this._childrenWidth())&&this._showItem(e,t));i++);}!this.options.navigateOnTab&&o.is("[tabindex=0]")&&(o.attr(G,-1),this._resetTabIndex(this._getAllItems().first()))},_tabIndex:function(){var t=this.wrapper.find(Z+":not('"+O+"')"),e=t.first();!0!==this.options.navigateOnTab?(t.attr(G,-1),e.attr(G,0)):this.wrapper.find(".k-toolbar-item.k-toolbar-tool").removeAttr(G)},_toggleOverflowAnchor:function(){this.overflowMenu.element.children(":not(."+g+", .k-popup)").length>0?this.overflowAnchor.css({visibility:"visible",width:at}):this.overflowAnchor.css({visibility:V,width:"1px"})}});n.toolbar={Item:n.Class,OverflowButton:n.Class,TemplateItem:n.Class,ToolBarButton:n.Class,registerComponent:function(){return null}},n.cssProperties.registerPrefix("ToolBar","k-toolbar-"),n.ui.plugin(_t)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.toolbar.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.data.js"),require("kendo.columnsorter.js"),require("kendo.editable.js"),require("kendo.window.js"),require("kendo.filtermenu.js"),require("kendo.filtercell.js"),require("kendo.columnmenu.js"),require("kendo.groupable.js"),require("kendo.pager.js"),require("kendo.selectable.js"),require("kendo.sortable.js"),require("kendo.reorderable.js"),require("kendo.resizable.js"),require("kendo.ooxml.js"),require("kendo.excel.js"),require("kendo.pane.js"),require("kendo.progressbar.js"),require("kendo.pdf.js"),require("kendo.dialog.js"),require("kendo.switch.js"),require("kendo.html.button.js"),require("kendo.textbox.js"),require("kendo.form.js"),require("kendo.toolbar.js"),require("kendo.icons.js"),require("kendo.menu.js")):"function"==typeof define&&define.amd?define(["kendo.data.min","kendo.columnsorter.min","kendo.editable.min","kendo.window.min","kendo.filtermenu.min","kendo.filtercell.min","kendo.columnmenu.min","kendo.groupable.min","kendo.pager.min","kendo.selectable.min","kendo.sortable.min","kendo.reorderable.min","kendo.resizable.min","kendo.ooxml.min","kendo.excel.min","kendo.pane.min","kendo.progressbar.min","kendo.pdf.min","kendo.dialog.min","kendo.switch.min","kendo.html.button.min","kendo.textbox.min","kendo.form.min","kendo.toolbar.min","kendo.icons.min","kendo.menu.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendogrid=e.kendogrid||{},e.kendogrid.js=t())}(this,(function(){!function(e,t){var r=window.kendo,o=r.ui.ContextMenu,l=e.extend,i=r.htmlEncode,n="action",a=o.extend({init:function(e,t){var r=this;o.fn.init.call(r,e,t),r._overrideTemplates(),r._extendItems(),r.bind("select",r._onSelect.bind(r)),r.bind("open",r._onOpen.bind(r))},_overrideTemplates:function(){this.templates.sprite=function(e){var t=e.icon,o=e.spriteCssClass;return""+(t||o?r.ui.icon({icon:i(t||""),iconClass:i(o||"")}):"")}},defaultItems:{separator:{name:"separator",separator:!0},create:{name:"create",text:"Add",icon:"plus",command:"AddCommand",rules:"isEditable"},edit:{name:"edit",text:"Edit",icon:"pencil",command:"EditCommand",rules:"isEditable"},destroy:{name:"destroy",text:"Delete",icon:"trash",command:"DeleteCommand",rules:"isEditable"},select:{name:"select",text:"Select",icon:"table-body",rules:"isSelectable",items:[{name:"selectRow",text:"Row",icon:"table-row-groups",command:"SelectRowCommand"},{name:"selectAllRows",text:"All rows",icon:"grid",command:"SelectAllRowsCommand"},{name:"clearSelection",text:"Clear selection",icon:"table-unmerge",softRules:"hasSelection",command:"ClearSelectionCommand"}]},copySelection:{name:"copySelection",text:"Copy selection",icon:"page-header-section",rules:"isSelectable",softRules:"hasSelection",command:"CopySelectionCommand",options:"withHeaders"},copySelectionNoHeaders:{name:"copySelectionNoHeaders",text:"Copy selection (No Headers)",icon:"file-txt",rules:"isSelectable",softRules:"hasSelection",command:"CopySelectionCommand"},reorderRow:{name:"reorderRow",text:"Reorder row",icon:"caret-alt-expand",rules:"isRowReorderable",softRules:"isSorted",items:[{name:"reorderRowUp",text:"Up",icon:"caret-alt-up",command:"ReorderRowCommand",options:"dir:up"},{name:"reorderRowDown",text:"Down",icon:"caret-alt-down",command:"ReorderRowCommand",options:"dir:down"},{name:"reorderRowTop",text:"Top",icon:"caret-alt-to-top",command:"ReorderRowCommand",options:"dir:top"},{name:"reorderRowBottom",text:"Bottom",icon:"caret-alt-to-bottom",command:"ReorderRowCommand",options:"dir:bottom"}]},exportPDF:{name:"exportPDF",text:"Export to PDF",icon:"file-pdf",command:"ExportPDFCommand"},exportExcel:{name:"exportExcel",text:"Export to Excel",icon:"file-excel",items:[{name:"exportToExcelAll",text:"All",command:"ExportExcelCommand"},{name:"exportToExcelSelection",text:"Selection",command:"ExportExcelCommand",softRules:"hasSelection",options:"selection,withHeaders"},{name:"exportToExcelSelectionNoHeaders",text:"Selection (No Headers)",softRules:"hasSelection",command:"ExportExcelCommand",options:"selection"}]},sortAsc:{name:"sortAsc",text:"Sort Ascending",icon:"sort-asc-small",rules:"isSortable",command:"SortCommand",options:"dir:asc"},sortDesc:{name:"sortDesc",text:"Sort Descending",icon:"sort-desc-small",rules:"isSortable",command:"SortCommand",options:"dir:desc"},moveGroupPrevious:{name:"moveGroupPrevious",text:"Move previous",icon:"arrow-left",rules:"isGroupable",softRules:"canMoveGroupPrev",command:"MoveGroupCommand",options:"dir:prev"},moveGroupNext:{name:"moveGroupNext",text:"Move next",icon:"arrow-right",rules:"isGroupable",softRules:"canMoveGroupNext",command:"MoveGroupCommand",options:"dir:next"}},events:o.fn.events.concat([n]),_onSelect:function(t){var r=e(t.item).data("command"),o=e(t.item).data("options");o=o?o.split(",").map((function(e){var t,r;if(e.indexOf(":")>-1){var o=e.split(":"),l=o[0];e=o[1];return(t={})[l||"_"]=e,t}return(r={})[e]=!0,r})).reduce((function(e,t){return Object.assign(e,t)}),{}):{};var l=e(t.target);r&&this.action({command:r,options:Object.assign(o,{target:l})})},_onOpen:function(t){var o=this,l=t.sender,i=l.options.items,n=e(t.event?t.event.target:null);!i&&e.isEmptyObject(this.defaultItems)||n.closest(".k-grid-column-menu").length?t.preventDefault():(this._toggleSeparatorVisibility(),l.element.find("["+r.attr("soft-rules")+"]").each((function(t,i){var a=e(i).attr(r.attr("soft-rules")).split(";");l.enable(i,o._validateSoftRules(a,n))})))},_toggleSeparatorVisibility:function(){this.element.find(".k-item.k-separator").filter((function(t,r){var o=e(r).prev(".k-item:not(.k-separator)"),l=e(r).next(".k-item:not(.k-separator)");return!(o.length&&l.length)})).hide()},_extendItems:function(){var t,r=this,o=r.options.items;if(o&&o.length)for(var l=0;l<o.length;l++)t=o[l],e.isPlainObject(t)&&1===Object.keys(t).length&&t.name&&(t=t.name),e.isPlainObject(t)?r._append(t):r.defaultItems[t]?(t=r.defaultItems[t],r._append(t)):"string"==typeof t&&(t={name:t,text:t,spriteCssClass:t,command:t+"Command"},r._append(t));else for(var i in r.defaultItems)t=r.defaultItems[i],r._append(t)},_extendItem:function(e){var t=this,o=t.options.messages,i=e.attr||{};if(e.command&&(i[r.attr("command")]=e.command),e.options&&(i[r.attr("options")]=e.options),e.softRules&&(i[r.attr("soft-rules")]=e.softRules),e.items)for(var n=0;n<e.items.length;n++)e.items.forEach((function(e){t._extendItem(e)}));l(e,{text:o.commands[e.name],icon:e.icon||"",spriteCssClass:e.spriteCssClass||"",attr:i,uid:r.guid()})},_validateSoftRules:function(e,t){if(!e||!e||!e.length)return!0;for(var r=0;r<e.length;r++)if(!this._readState(e[r],t))return!1;return!0},_validateRules:function(e){var t=e.rules?e.rules.split(";"):[];if(!t.length)return!0;for(var r=0;r<t.length;r++)if(!this._readState(t[r]))return!1;return!0},_readState:function(e,t){var o=this.options.states;return r.isFunction(o[e])?o[e](t):o[e]},_append:function(e){var t=this;t._extendItem(e),t._validateRules(e)&&t.append(e)},action:function(e){this.trigger(n,e)}});r.ui.grid=r.ui.grid||{},l(r.ui.grid,{ContextMenu:a})}(window.kendo.jQuery),function(e,t){var r=window.kendo,o=e.extend,l=r.Class.extend({init:function(e){this.options=e,this.grid=e.grid}}),i=l.extend({exec:function(){var e=this.grid.groupable,t=this.options,r=t.target.closest(".k-chip"),o="next"===t.dir?"after":"before";("next"===t.dir?r.next():r.prev())[o](r),e._change()}}),n=l.extend({exec:function(){var e,t,r=this.grid,o=r.dataSource,l=o.sort()||[],i=this.options,n=i.dir,a=r._getCellField(i.target),s=r.options.sortable.mode&&"multiple"===r.options.sortable.mode,d=r.options.compare;if(s){for(t=0,e=l.length;t<e;t++)if(l[t].field===a){l.splice(t,1);break}l.push({field:a,dir:n,compare:d})}else l=[{field:a,dir:n,compare:d}];o.sort(l)}}),a=l.extend({exec:function(){this.grid.addRow()}}),s=l.extend({exec:function(){var e=this,t=e.grid,r="incell"===t._editMode(),o=r?e.options.target:e.options.target.closest("tr");r?t.editCell(o):t.editRow(o)}}),d=l.extend({exec:function(){var e=this.grid,t=this.options.target.closest("tr");e.removeRow(t)}}),c=l.extend({exec:function(){var e=this.grid,t=this.options.withHeaders;e.copySelectionToClipboard(t)}}),u=l.extend({exec:function(){var e=this.grid,t=r.ui.Selectable.parseOptions(e.options.selectable),o=this.options.target.closest("tr");e.select(t.cell?o.find("td"):o)}}),h=l.extend({exec:function(){var e=this.grid,t=r.ui.Selectable.parseOptions(e.options.selectable),o=e.items();e.select(t.cell?o.find("td"):o)}}),p=l.extend({exec:function(){this.grid.clearSelection()}}),f=l.extend({exec:function(){var e,t=this,r=t.grid,o=t.options.dir,l=t.options.target.closest("tr"),i=l.index();switch(o){case"up":e=i-1;break;case"down":e=i+2;break;case"top":e=0;break;case"bottom":e=r.items().length}r.reorderRowTo(l,e)}}),g=l.extend({exec:function(){this.grid.saveAsPDF()}}),m=l.extend({exec:function(){var e=this,t=e.options.selection,r=e.options.withHeaders,o=e.grid;t?o.exportSelectedToExcel(r):o.saveAsExcel()}});r.ui.grid=r.ui.grid||{},o(r.ui.grid,{GridCommand:l,commands:{SortCommand:n,AddCommand:a,EditCommand:s,DeleteCommand:d,CopySelectionCommand:c,SelectRowCommand:u,SelectAllRowsCommand:h,ClearSelectionCommand:p,ReorderRowCommand:f,ExportPDFCommand:g,ExportExcelCommand:m,MoveGroupCommand:i}})}(window.kendo.jQuery);return function(e,t){var r,o=window.kendo,l=o.ui,i=o.data.DataSource,n=o.data.ObservableObject,a=o.support.tbodyInnerHtml,s=o._activeElement,d=l.Widget,c=o._outerWidth,u=o._outerHeight,h=o.keys,p=e.isPlainObject,f=e.extend,g=e.map,m=e.grep,b=Array.isArray,k=e.inArray,_=Array.prototype.push,v=o.isFunction,w=o.htmlEncode,C=e.isEmptyObject,y=e.contains,S=Math,x=".",T="progress",H="error",R=":not(.k-group-cell):not(["+o.attr("virtual")+"]):not(.k-hierarchy-cell:not(:has(.k-icon.k-i-caret-alt-down,.k-icon.k-i-caret-alt-right,.k-svg-icon.k-svg-i-caret-alt-down,.k-svg-icon.k-svg-i-caret-alt-right,.k-svg-icon.k-svg-i-caret-alt-left,.k-icon.k-i-caret-alt-left))):visible",I=":not(["+o.attr("virtual")+"]):not(.k-hierarchy-cell:not(:has(.k-icon.k-i-caret-alt-down,.k-icon.k-i-caret-alt-right,.k-svg-icon.k-svg-i-caret-alt-down,.k-svg-icon.k-svg-i-caret-alt-right,.k-svg-icon.k-svg-i-caret-alt-left,.k-icon.k-i-caret-alt-left)))",z="tr:not(.k-footer-template):visible",E=":not(.k-group-cell):not(.k-detail-cell):not(.k-hierarchy-cell):visible",A="tr:not(.k-grouping-row):not(.k-detail-row):not(.k-footer-template):not(.k-group-footer):visible",D="col:not(.k-group-col, .k-hierarchy-col)",M="th.k-header:not(.k-group-cell):not(.k-hierarchy-cell)",F="a[class*='-i-caret-alt-down']",L="a[class*='-i-caret-alt-right']",q=L,P=".kendoGrid",O="edit",V="beforeEdit",W="save",B="remove",G="detailInit",N="filterMenuInit",j="columnMenuInit",U="filterMenuOpen",K="columnMenuOpen",Q="cellClose",Y="changing",$="change",J="columnHide",X="columnShow",Z="saveChanges",ee="dataBound",te="detailExpand",re="detailCollapse",oe="itemchange",le="page",ie="paging",ne="scroll",ae="sync",se="loadStart",de="loadEnd",ce="k-focus",ue="k-hover",he="k-active",pe=":kendoFocusable",fe="k-selected",ge="k-checkbox",me="input[data-role='checkbox'].k-select-checkbox."+ge,be="k-grid-norecords",ke="k-link",_e="k-icon",ve="k-svg-icon",we="k-sort-order",Ce="k-sorted",ye="k-grid-column-menu",Se="k-grid-filter-menu",xe="k-grid-content-sticky k-table-td",Te="k-grid-header-sticky k-header",He="k-grid-footer-sticky k-table-td",Re="k-grid-no-left-border",Ie="k-grouping-row",ze="resize",Ee="rowResize",Ae="columnResize",De="columnReorder",Me="columnLock",Fe="columnUnlock",Le="columnStick",qe="columnUnstick",Pe="rowReorder",Oe="navigate",Ve="click",We="mousedown",Be="mouseup",Ge="mouseenter",Ne="mouseleave",je="mousemove",Ue="dblclick",Ke="height",Qe="width",Ye="auto",$e="tabIndex",Je="function",Xe="string",Ze="bottom",et="container-for",tt="field",rt="input",ot="incell",lt="inline",it="overflow",nt="sort",at="group-sort",st="Collapse",dt="Expand",ct="id",ut="px",ht="tr",pt="div",ft="aria-label",gt="aria-owns",mt="aria-rowcount",bt="aria-colcount",kt="aria-colindex",_t="aria-rowindex",vt="aria-expanded",wt="aria-checked",Ct="aria-activedescendant",yt="role",St="none",xt="row",Tt="rowgroup",Ht="columnheader",Rt="gridcell",It=/(\}|\#)/gi,zt="[\\x20\\t\\r\\n\\f]",Et=(new RegExp("(\\s*left\\s*:\\s*\\d*px;?)*","ig"),new RegExp("(\\s*right\\s*:\\s*\\d*px;?)*","ig"),new RegExp("(^|"+zt+")(k-group-cell|k-hierarchy-cell)("+zt+"|$)")),At=new RegExp("(^|"+zt+")(k-filter-row)("+zt+"|$)"),Dt=function(e){return'<button type="button" class="'+e.className+'" '+e.attr+">"+e.text+"</button>"},Mt=function(e){var t=e.size;return'<input tabindex="-1" class="k-select-checkbox '+ge+" "+t+' k-rounded-md" data-role="checkbox" aria-label="Select row" aria-checked="false" type="checkbox">'},Ft=function(e){var t=e.size;return'<input tabindex="-1" class="k-select-checkbox '+ge+" "+t+' k-rounded-md" data-role="checkbox" aria-label="Select all rows" aria-checked="false" type="checkbox">'},Lt=function(){return o.ui.icon("reorder")},qt=function(e){return'<span class="k-cell-inner"><span class="k-link"><span class="k-column-title">'+e.text+"</span></span></span>"},Pt=!1,Ot=o.support.browser,Vt=Ot.msie&&11===Ot.version,Wt=/Mac OS/.test(navigator.userAgent),Bt="k-content",Gt="k-scroll-container",Nt="k-cell-inner",jt=["copySelection","copySelectionNoHeaders","separator","create","edit","destroy","select","separator","reorderRow","exportPDF","exportExcel","separator"],Ut=["sortAsc","sortDesc","separator"],Kt=["moveGroupPrevious","moveGroupNext","separator"];l.Pager&&(r=l.Pager.extend({init:function(e,t){l.Pager.fn.init.call(this,e,f(!0,{},t)),this.dataSource.options.useRanges=!0,this.dataSource._omitPrefetch=!0},options:{name:"GroupsPager"},totalPages:function(){return Math.ceil((this._collapsedTotal()||0)/(this.pageSize()||1))},_collapsedTotal:function(){var e=this.dataSource;return e&&e.groupsTotal(!0)||0}}));var Qt=d.extend({init:function(e,t){var r=this;d.fn.init.call(r,e,t),r._refreshHandler=r.refresh.bind(r),r.setDataSource(t.dataSource),r.wrap()},setDataSource:function(e){var t=this;t.dataSource&&t.dataSource.unbind($,t._refreshHandler),t.dataSource=e,t.dataSource.bind($,t._refreshHandler),t.dataSource.options.useRanges=!0,t.dataSource.options.virtual=!0},options:{name:"VirtualScrollable",itemHeight:e.noop,prefetch:!0,maxScrollHeight:25e4},events:[ie,le,ne,se,de],destroy:function(){var e=this;d.fn.destroy.call(e),e.dataSource.unbind($,e._refreshHandler),e.wrapper.add(e.verticalScrollbar).off(P),clearTimeout(e._timeout),e._scrollingTimeout&&clearTimeout(e._scrollingTimeout),e.drag&&(e.drag.destroy(),e.drag=null),e.wrapper=e.element=e.verticalScrollbar=null,e._refreshHandler=null},wrap:function(){var t,r=this,l=o.support.scrollbar()+1,i=r.element;i.css({width:Ye,overflow:"hidden"}).css(Pt?"padding-left":"padding-right",l),r.content=i.children().first(),t=r.wrapper=r.content.wrap('<div class="k-virtual-scrollable-wrap"/>').parent().on("DOMMouseScroll"+P+" mousewheel"+P,r._wheelScroll.bind(r)),r._wrapper(),(o.support.kineticScrollNeeded||o.support.touch)&&(r.wrapper.css("touch-action",St),r.drag=new o.UserEvents(r.wrapper,{global:!0,allowSelection:!0,start:function(e){e.sender.capture()},move:function(e){r.verticalScrollbar.scrollTop(r.verticalScrollbar.scrollTop()-e.y.delta),o.scrollLeft(t,o.scrollLeft(t)-e.x.delta),e.preventDefault()}})),r.verticalScrollbar=e('<div class="k-scrollbar k-scrollbar-vertical" />').css({width:l}).appendTo(i).on("scroll"+P,r._scroll.bind(r))},_wrapper:function(){Vt&&(this.wrapper.css({"overflow-y":ne}),this.element.css(Pt?"padding-left":"padding-right",0))},_wheelScroll:function(e){if(!e.ctrlKey){var t=this.verticalScrollbar,r=t.scrollTop(),l=o.wheelDeltaY(e);!l||l>0&&0===r||l<0&&r+t[0].clientHeight==t[0].scrollHeight||(e.preventDefault(),this.verticalScrollbar.scrollTop(r+-l))}},_scroll:function(e){var t=this,r=!t.options.prefetch,o=e.currentTarget.scrollTop,l=t.dataSource,i=t.itemHeight,n=l.skip()||0,a=t._rangeStart||n,s=t.element.innerHeight(),d=!!(t._scrollbarTop&&t._scrollbarTop>o),c=S.max(S.floor(o/i),0),u=d?S.ceil(s/i):S.floor(s/i),h=S.max(c+u,0);t._preventScroll?t._preventScroll=!1:(t._prevScrollTop=t._scrollTop,t._scrollTop=o-a*i,t._scrollbarTop=o,t._scrolling=r,t._fetch(c,h,d)||(t.wrapper[0].scrollTop=t._scrollTop),t.trigger(ne),r&&(t._scrollingTimeout&&clearTimeout(t._scrollingTimeout),t._scrollingTimeout=setTimeout((function(){t._scrolling=!1,t._page(t._rangeStart,t.dataSource.take())}),100)))},scrollToTop:function(){this._scrollTo(0)},scrollToBottom:function(){var e=this.verticalScrollbar;this._scrollTo(e[0].scrollHeight-e.height())},_scrollWrapperToTop:function(){this.wrapper.scrollTop(0)},_scrollWrapperToBottom:function(){this.wrapper.scrollTop(this.wrapper[0].scrollHeight)},_scrollWrapperOnColumnResize:function(){var e=this,t=this.wrapper,r=t.scrollTop();t[0].scrollWidth>t[0].clientWidth?(!e._wrapperScrolled&&r||e._isScrolledToBottom())&&(t.scrollTop(r+o.support.scrollbar()),e._scrollTop=t.scrollTop(),e._wrapperScrolled=!0):e._wrapperScrolled&&(e._isWrapperScrolledToBottom()||(t.scrollTop(r-o.support.scrollbar()),e._scrollTop=t.scrollTop()),e._wrapperScrolled=!1)},_scrollTo:function(e){var t=this,r=t.verticalScrollbar;r.scrollTop()!==e&&(t._preventScroll=!0),t.wrapper.scrollTop(e),t._scrollTop=t.wrapper.scrollTop(),r.scrollTop(e),t._scrollbarTop=r.scrollTop()},_isScrolledToTop:function(){return 0===this.verticalScrollbar.scrollTop()},_isScrolledToBottom:function(){var e=this.verticalScrollbar,t=e.scrollTop();return t>0&&t>=parseInt(e[0].scrollHeight-e.height(),10)},_isWrapperScrolledToBottom:function(){var e=this.wrapper;return e.scrollTop()>=parseInt(e[0].scrollHeight-e.height(),10)},itemIndex:function(e){return(this._rangeStart||this.dataSource.skip()||0)+e},position:function(e){var t,r=this._rangeStart||this.dataSource.skip()||0,o=this.dataSource.pageSize();return(t=e>r?e-r:r-e-1)>o?o:t},scrollIntoView:function(e){var t=this.wrapper[0],r=t.clientHeight,o=this._isScrolledToBottom()?t.scrollTop:this._scrollTop||t.scrollTop,l=e[0].offsetTop,i=e[0].offsetHeight;o>l?this.verticalScrollbar[0].scrollTop-=r/2:l+i>=o+r&&(this.verticalScrollbar[0].scrollTop+=r/2)},_fetch:function(t,r,o){var l=this,i=l.dataSource,n=l.itemHeight,a=i.take(),s=l._rangeStart||i.skip()||0,d=S.floor(t/a)*a,c=!1,u=l.verticalScrollbar,h=Ot.webkit?1:0,p=i._isGroupPaged()?i.groupsTotal(!0):i.total();return t<s?(c=!0,s=S.max(0,r-a),l._scrollTop=u.scrollTop()-s*n,l._page(s,a)):r>=s+a&&!o?(c=!0,s=S.min(t,p-a),u.scrollTop()>=u[0].scrollHeight-u[0].offsetHeight-h?l._scrollTop=l.wrapper[0].scrollHeight-l.wrapper[0].offsetHeight:l.dataSource._isGroupPaged()&&t>=p-a?l._scrollTop=l.wrapper[0].scrollHeight-l.wrapper[0].offsetHeight-(l._scrollTop-l._prevScrollTop):l._scrollTop=n,l._page(s,a)):!l._fetching&&l.options.prefetch&&(t<d+a-.33*a&&t>a&&i.prefetch(d-a,a,e.noop),r>d+.33*a&&i.prefetch(d+a,a,e.noop)),c},fetching:function(){return this._fetching},_page:function(t,r,o){var l=this,i=!l.options.prefetch,n=l.dataSource,a=n._isGroupPaged();o=v(o)?o:e.noop,l.trigger(ie,{skip:t,take:r})||(clearTimeout(l._timeout),l._fetching=!0,l._rangeStart=t,a&&n._groupRangeExists(t,t+r)||!a&&n.inRange(t,r)?(l.trigger(se),n.range(t,r,(function(){l.trigger(de),o(),l.trigger(le)}),"page")):(i||l.trigger(se),l._timeout=setTimeout((function(){l._scrolling||(i&&l.trigger(se),n.range(t,r,(function(){l.trigger(de),o(),l.trigger(le)})))}),100)))},repaintScrollbar:function(t){var r,l,i=this,n=i.options.maxScrollHeight,a=i.dataSource,s=o.support.kineticScrollNeeded?0:o.support.scrollbar(),d=i.wrapper[0],c=i._isScrolledToBottom();l=i.itemHeight=i.options.itemHeight()||0;var u=d.scrollWidth>d.offsetWidth?s:0;r=(a._isGroupPaged()?a.groupsTotal(!0):a.total())*l+u;var h=e(new Array(S.floor(r/n)+1).join("<div></div>")).css({width:"1px",height:n+"px"});r%n&&(h=h.add(e("<div></div>").css({width:"1px",height:r%n+"px"}))),i.verticalScrollbar.empty().append(h),!c||i._isScrolledToBottom()||i.dataSource._isGroupPaged()||i.scrollToBottom(),void 0!==i._scrollTop&&t&&(d.scrollTop=i._scrollTop,i._scrollWrapperOnColumnResize())},refresh:function(e){var t=this,r=t.dataSource,o=t._rangeStart,l=(e||{}).action,i=t._isScrolledToBottom()||!l||l!==oe&&l!==B&&l!==ae;t.trigger(de),clearTimeout(t._timeout),t.repaintScrollbar(i),t.drag&&t.drag.cancel(),void 0===o||t._fetching||((!l||l!==ae&&l!==oe&&"expandGroup"!==l)&&(t._rangeStart=r.skip()),1!==r.page()||l&&(l===ae||l===oe||"expandGroup"===l||"collapseGroup"===l)||(t.verticalScrollbar[0].scrollTop=0)),t._fetching=!1}});function Yt(e,t){return"["+o.attr(e)+"="+t+"]"}function $t(e){return new Array(e+1).join('<td class="k-table-td k-group-cell">&nbsp;</td>')}function Jt(e){var t,r=" ";if(e){if(typeof e===Xe)return e;for(t in e)""!==e[t]&&(r+=t+'="'+e[t]+'"')}return r}var Xt={create:{text:"Add new record",className:"k-grid-add",iconClass:"k-i-plus"},cancel:{text:"Cancel changes",className:"k-grid-cancel-changes",iconClass:"k-i-cancel"},save:{text:"Save changes",className:"k-grid-save-changes",iconClass:"k-i-check"},destroy:{text:"Delete",className:"k-grid-remove-command",iconClass:"k-i-x"},edit:{text:"Edit",className:"k-grid-edit-command",iconClass:"k-i-pencil",themeColor:"primary"},update:{text:"Save",className:"k-grid-save-command",iconClass:"k-i-save",themeColor:"primary"},canceledit:{text:"Cancel",className:"k-grid-cancel-command",iconClass:"k-i-cancel-outline"},excel:{text:"Export to Excel",className:"k-grid-excel",iconClass:"k-i-file-excel"},pdf:{text:"Export to PDF",className:"k-grid-pdf",iconClass:"k-i-file-pdf"},search:{text:"Search...",className:"k-grid-search"}};function Zt(t,r){e("th, th .k-grid-filter-menu, th .k-link",t).add(document.body).css("cursor",r)}function er(t,r,o,l,i){var n=r;r=e(),i=i||1;for(var a=0;a<i;a++)r=r.add(t.eq(n+a));"number"==typeof o?r[l?"insertBefore":"insertAfter"](t.eq(o)):r.appendTo(o)}function tr(t,r,o){return e(t).add(r).find(o)}function rr(e,t,r){var o,l,i,n;for(o=0,l=(r=b(r)?r:[r]).length;o<l;o++)i=r[o],p(i)&&i.click&&(n=i.name||i.text,t.on(Ve+P,".k-grid-"+(n||"").replace(/\s/g,""),{commandName:n},i.click.bind(e)))}function or(e,t,r,l,i){return g(e,(function(e){var n;(e=typeof e===Xe?{field:e}:e).parentIds=i,e.attributes instanceof Function&&(e._attributesFunction=e.attributes),hr(e)&&!r||(e.attributes=Zr(e.attributes),e.footerAttributes=Zr(e.footerAttributes),e.headerAttributes=Zr(e.headerAttributes),n=!0);var a=o.guid();return l&&!e.locked&&(e.locked=l),e.headerAttributes=f({headers:i},e.headerAttributes),e.headerAttributes.id?e.uid=a=e.headerAttributes.id:(e.headerAttributes=f({id:a},e.headerAttributes),e.uid=a),e.columns&&(e.columns=or(e.columns,t,n,e.locked,i?i+" "+a:a)),f({encoded:t,hidden:n,locked:l},e)}))}function lr(e,t){var r=[];return ir(e,t,r),r[r.length-1]}function ir(e,t,r){r=r||[];for(var o=0;o<t.length;o++){if(e===t[o])return!0;if(t[o].columns){var l=r.length;if(r.push(t[o]),ir(e,t[o].columns,r))return!0;r.splice(l,r.length-l)}}return!1}function nr(e,t){ar(e,t,t)}function ar(e,t,r){var o=r?eo:Zr;e.hidden=!t,e.attributes=o(e.attributes),e.footerAttributes=o(e.footerAttributes),e.headerAttributes=o(e.headerAttributes)}function sr(e,t){dr(e),ar(e,t,e._hideByMedia?e.matchesMedia:t)}function dr(e){e.matchesMedia=cr(e)}function cr(e){return e&&(gr(e.media)||!gr(e.media)&&o.matchesMedia(e.media))}function ur(){return this.style.display!==St}function hr(e){return pr([e]).length>0}function pr(e){return m(e,(function(e){var t=!e.hidden&&!1!==e.matchesMedia;return t&&e.columns&&(t=pr(e.columns).length>0),t}))}function fr(e){for(var t,r=[],o=0;o<e.length;o++){if(!gr((t=e[o]).media)){if(!gr(t.minScreenWidth))throw new Error("Using 'media' and 'minScreenWidth' options at the same time is not supported.");r.push(t)}t.columns&&(r=r.concat(fr(t.columns)))}return r}function gr(e){return void 0===e}function mr(t){return e(t).map((function(){return this.toArray()}))}function br(e,t){for(var r=0;r<e.length;r++)if(e[r].field==t)return e[r]}function kr(t,r,o,l,i,n,a,s){var d=vr(t),c=vr([r]);if(d>c){var u=new Array(a+1).join('<th class="k-group-cell k-header k-table-th" scope="col">&nbsp;</th>'),h=n.children(":not(.k-filter-row)");e(new Array(d-c+1).join("<tr class='k-table-row'>"+u+"</tr>")).insertAfter(h.last())}!function(e,t){for(var r=e.find("tr:not(.k-filter-row) th:not(.k-group-cell,.k-hierarchy-cell)"),o=0;o<r.length;o++)r[o].rowSpan+=t}(n,d-c),wr(o,l,i,n,s)}function _r(t,r,l){var i;l=l||0;var n=r;r=Kr(r);for(var a={},s=t.find(">tr:not(.k-filter-row)"),d=function(){var t=e(this);return!t.hasClass("k-group-cell")&&!t.hasClass("k-hierarchy-cell")},c=0,u=r.length;c<u;c++)a[(i=Cr(r[c],n)).row]||(a[i.row]=s.eq(i.row).find(".k-header").filter(d)),a[i.row].eq(i.cell).attr(o.attr("index"),l+c);return r.length}function vr(e){for(var t=0,r=0;r<e.length;r++)if(e[r].columns){var o=vr(e[r].columns);o>t&&(t=o)}return 1+t}function wr(t,r,o,l,i){var n,a=xr(t[0],r),s=o.find(">tr:not(.k-filter-row)").eq(a.row).children("th.k-header"),d=e(),c=a.cell;for(n=0;n<t.length;n++)d=d.add(s.eq(c+n));l.find(">tr:not(.k-filter-row)").eq(a.row)[i](d);var u=[];for(n=0;n<t.length;n++)t[n].columns&&(u=u.concat(t[n].columns));u.length&&wr(u,r,o,l,i)}function Cr(e,t,r,o){var l,i;for((o=o||{})[r=r||0]=o[r]||0,i=0;i<t.length;i++){if(t[i]==e){l={cell:o[r],row:r};break}if(t[i].columns&&(l=Cr(e,t[i].columns,r+1,o)))break;o[r]++}return l}function yr(e){var t=e,r=t.match(/class=["][^"]+/g);if(r){var o=r[0].split('"').pop();t=t.replace(o,o+" k-table-td")}else t=t.replace("<td","<td class='k-table-td'");return t}function Sr(e,t,r,o,l){if(t.columns)return(t=t.columns)[o?0:t.length-1];var i,n=lr(t,e);i=n?n.columns:e;var a=k(t,i);0===a&&o?a++:a==i.length-1&&!o||!r.locked&&!t.columns&&!o?a--:(a>0||0===a&&!o)&&a++,t=function(e,t,r,o){var l,i,n=!!r.locked;do{l=e[t],t+=o?1:-1,i=!!l.locked}while(l&&t>-1&&t<e.length&&l!=r&&!l.columns&&i===n);return l}(i,a,r,k(r,i)>a);var s=k(t,l);return(!t.columns||s&&s!==i.length-1)&&t&&t!=r&&t.columns?Sr(e,t,r,o,l):null}function xr(e,t,r,o){var l,i;for((o=o||{})[r=r||0]=o[r]||0,i=0;i<t.length;i++){if(t[i]==e){l={cell:o[r],row:r};break}if(t[i].columns&&(l=xr(e,t[i].columns,r+1,o)))break;t[i].hidden||o[r]++}return l}function Tr(e){return Rr(Pr(e)).concat(Rr(Or(e)))}function Hr(e,t,r,o){var l=e[r],i=e[o],n=lr(l,t);return t=n?n.columns:t,k(i,t)}function Rr(e){for(var t=[],r=[],o=0;o<e.length;o++)t.push(e[o]),e[o].columns&&(r=r.concat(e[o].columns));return r.length&&(t=t.concat(Rr(r))),t}function Ir(e){for(var t,r=0,o=0;o<e.length;o++)(t=e[o]).columns?r+=Ir(t.columns):t.hidden&&r++;return r}function zr(e){for(var t=0,r=0,o=e.length;r<o;r++)e[r].hidden||(t+=parseInt(e[r].width,10));return t}function Er(e){for(var t,r=0,o=0,l=e.length;o<l;o++)(t=e[o].style.width)&&-1==t.indexOf("%")&&(r+=parseInt(t,10));return r}function Ar(t){for(var r=t.find("tr:not(.k-filter-row)"),o=r.filter((function(){return!e(this).children().length})).remove().length,l=r.find("th:not(.k-group-cell,.k-hierarchy-cell)"),i=0;i<l.length;i++)l[i].rowSpan>1&&(l[i].rowSpan-=o);return r.length-o}function Dr(e,t,r,o,l){var i,n,a,s=[];for(i=0,a=e.length;i<a;i++)(n=r[o]||[]).push(t.eq(l+i)),r[o]=n,e[i].columns&&(s=s.concat(e[i].columns));s.length&&Dr(s,t,r,o+1,l+e.length)}function Mr(e,t,r){e.css({left:t,right:r})}function Fr(e,t,r){e[t]=e[t]||{},e[t][r]=e[t][r]||""}function Lr(e,t,r,o){Fr(e,t,r),""!==e[t][r]?e[t][r]+=" "+o:e[t][r]=o}function qr(e,t,r,o,l){Fr(e,t,r),l?delete e[t][r]:e[t][r]=e[t][r].replace(o,"")}function Pr(e){return m(e,(function(e){return e.locked}))}function Or(e){return m(e,(function(e){return!e.locked}))}function Vr(e){return m(e,(function(e){return e.sticky&&!e.locked}))}function Wr(e){return m(e,(function(e){return!e.locked&&hr(e)}))}function Br(e){return m(e,(function(e){return e.locked&&hr(e)}))}function Gr(e){for(var t=[],r=0;r<e.length;r++)e[r].hidden||(e[r].columns?t=t.concat(Gr(e[r].columns)):t.push(e[r]));return t}function Nr(e){for(var t=[],r=0;r<e.length;r++)e[r].hidden||(e[r].columns?t=t.concat(Gr(e[r].columns)):t.push({field:e[r].field,width:e[r].width,values:e[r].values,title:e[r].title}));return t}function jr(e){for(var t=[],r=0;r<e.length;r++)e[r].columns&&(t=t.concat(e[r].columns));return t}function Ur(e){var t=jr(e);return t=t.filter((function(e){return!e.hidden}))}function Kr(e){for(var t=[],r=0;r<e.length;r++)e[r].columns?t=t.concat(Kr(e[r].columns)):t.push(e[r]);return t}function Qr(e){return{field:e.field,title:e.title,format:e.format,editor:e.editor,values:e.values,editorOptions:f(!0,{format:e.format},e.editorOptions),label:e.title||e.field||""}}function Yr(r){var l=r.find(">tr:not(.k-filter-row)"),i=function(){var t=e(this);return!t.hasClass("k-group-cell")&&!t.hasClass("k-hierarchy-cell")},n=e();l.length>1&&(n=l.find("th").filter(i).filter((function(){return this.rowSpan>1}))),n=n.add(l.last().find("th").filter(i));var a=o.attr("index");return n.sort((function(r,o){r=e(r),o=e(o);var l=r.attr(a),i=o.attr(a);return l===t&&(l=e(r).index()),i===t&&(i=e(o).index()),(l=parseInt(l,10))>(i=parseInt(i,10))?1:l<i?-1:0})),n}function $r(t){var r=t.closest("table"),o=e().add(t),l=t.closest(ht),i=r.find("tr:not(.k-filter-row)"),n=i.index(l);if(n>0){for(var a=i.eq(n-1).find("th:not(.k-group-cell,.k-hierarchy-cell)").filter((function(){return!e(this).attr("rowspan")})),s=0,d=l.find("th:not(.k-group-cell,.k-hierarchy-cell)").index(t),c=t.prevAll(":not(.k-group-cell,.k-hierarchy-cell)").filter((function(){return this.colSpan>1})),u=0;u<c.length;u++)s+=c[u].colSpan||1;for(d+=Math.max(s-1,0),s=0,u=0;u<a.length;u++){var h=a.eq(u);if(h.attr("data-colspan")?s+=h[0].getAttribute("data-colspan"):s+=1,d>=u&&d<s){o=$r(h).add(o);break}}}return o}function Jr(t){var r=t.closest("thead"),l=e().add(t),i=t.closest(ht),n=r.find("tr:not(.k-filter-row)"),a=n.index(i)+t[0].rowSpan,s=o.attr("colspan");if(a<=n.length-1){var d,c=i.next(),u=t.prevAll(":not(.k-group-cell,.k-hierarchy-cell)");u=u.filter((function(){return!this.rowSpan||1===this.rowSpan}));var h=0;for(d=0;d<u.length;d++)h+=parseInt(u.eq(d).attr(s),10)||1;var p=c.find("th:not(.k-group-cell,.k-hierarchy-cell)"),f=parseInt(t.attr(s),10)||1;for(d=0;d<f;){c=p.eq(d+h),l=l.add(Jr(c));var g=parseInt(c.attr(s),10);g>1&&(f-=g-1),d++}}return l}function Xr(t,r,l,i){var n,s=t;if(a){var d=e(l);o.applyStylesFromKendoAttributes(d,["display","left","right"]),t.empty(),d.each((function(e,r){return t[0].appendChild(r)}))}else(n=document.createElement(pt)).innerHTML="<table class='k-grid-table k-table'><tbody class='k-table-tbody'>"+l+"</tbody></table>",e(n).find("table").addClass(o.getValidCssClass("k-table-","size",i)),t=n.firstChild.firstChild,r[0].replaceChild(t,s[0]),t=e(t);return t}function Zr(e){e=e||{};var t={};return t[o.attr("style-display")]="none",f({},e,t)}function eo(e){return delete(e=e||{})[o.attr("style-display")],e}function to(t,r,l,i){var n,a=t.find(">colgroup"),s=g(r,(function(e){return(n=e.width)&&0!==parseInt(n,10)?o.format("<col "+o.attr("style-width")+'="{0}"/>',typeof n===Xe?n:n+ut):"<col />"}));(l||a.find(".k-hierarchy-col").length)&&s.splice(0,0,'<col class="k-hierarchy-col" />'),a.length&&a.remove(),a=e(new Array(i+1).join('<col class="k-group-col">')+s.join("")),o.applyStylesFromKendoAttributes(a,["width"]),a.is("colgroup")||(a=e("<colgroup/>").append(a)),t.prepend(a)}function ro(e){var t,r,o,l={};for(r=0,o=e.length;r<o;r++)l[(t=e[r]).value]=t.text;return l}function oo(e,t,r,l){var i=r&&r.length&&p(r[0])&&"value"in r[0]?ro(r)[e]:e;return i=null!=i?i:"",t?o.format(t,i):!1===l?i:o.htmlEncode(i)}function lo(e,t,r){for(var o=0,l=e[o];l;){if((!!r||l.style.display!==St)&&!Et.test(l.className)&&--t<0){l.style.display=r?"":St;break}l=e[++o]}}function io(t,r){for(var o,l,i=0,n=t.length;i<n;i+=1)(l=t.eq(i)).is(".k-grouping-row,.k-detail-row")?(o=l.children(":not(.k-group-cell):first,.k-detail-cell").last()).attr("colspan",parseInt(o.attr("colspan"),10)-1):(l.hasClass("k-grid-edit-row")&&(o=l.children(".k-edit-container")[0])&&((o=e(o)).attr("colspan",parseInt(o.attr("colspan"),10)-1),o.find("col").eq(r).remove(),l=o.find(ht).first()),lo(l[0].cells,r,!1))}function no(e){for(var t,r=[],o=0;o<e.length&&("field"in(t=e[o])&&"value"in t&&"items"in t);o++)r.push(t),t.hasSubgroups&&(r=r.concat(no(t.items)));return r}function ao(t,r){for(var o,l,i=0,n=t.length;i<n;i+=1)(l=t.eq(i)).is(".k-grouping-row,.k-detail-row")?(o=l.children(":not(.k-group-cell):first,.k-detail-cell").last()).attr("colspan",parseInt(o.attr("colspan"),10)+1):(l.hasClass("k-grid-edit-row")&&(o=l.children(".k-edit-container")[0])&&((o=e(o)).attr("colspan",parseInt(o.attr("colspan"),10)+1),to(o.find(">form>table"),pr(undefined),!1,0),l=o.find(ht).first()),lo(l[0].cells,r,!0))}function so(e,t,r){var o,l,i;for(r=r||1,l=0,i=e.length;l<i;l++)(o=e.eq(l).children(":not([hidden])").last()).attr("colspan",parseInt(o.attr("colspan"),10)+r),(o=t.eq(l).children(":not([hidden])").last()).attr("colspan",parseInt(o.attr("colspan"),10)-r)}function co(e){var t,r,o=0,l=e.find(">colgroup>col");for(t=0,r=l.length;t<r;t+=1)o+=parseInt(l[t].style.width,10);return o}var uo=o.ui.DataBoundWidget.extend({init:function(t,r,l){var i=this;r=b(r)?{dataSource:r}:r,d.fn.init.call(i,t,r),l&&(i._events=l),Pt=o.support.isRtl(t),L=Pt?"a[class*='-i-caret-alt-left']":q,i._element(),i._ariaId(),i._columns(e.extend(!0,[],i.options.columns)),i._foreignKeyPromises?e.when.apply(null,i._foreignKeyPromises).then((function(){i._foreignKeyPromises=null,i._continueInit()})):i._continueInit()},_continueInit:function(){var t=this;t._dataSource(),t._stickyColumns(),t._tbody(),t._thead(),t._rowResizing(),t._groupable(),t._toolbar(),t._pageable(),t._setContentHeight(),t._templates(),t._navigatable(),t._selectable(),t._clipboard(),t._details(),t._editable(),t._attachCustomCommandsEvent(),t._adaptiveColumns(),t._minScreenSupport(),t.options.autoBind?t.dataSource.fetch():(t._group=t._groups()>0,t._footer()),t.options.contextMenu&&t._initContextMenu(),t.lockedContent&&(t.wrapper.addClass("k-grid-lockedcolumns"),t._resizeHandler=function(){t.resize()},e(window).on("resize"+P,t._resizeHandler)),o.notify(t),t._showWatermarkOverlay&&t._showWatermarkOverlay(t.wrapper[0])},events:[$,Y,"dataBinding","cancel",ee,te,re,G,N,U,j,K,O,V,W,B,Z,Q,Ee,Ae,De,X,J,Me,Fe,Le,qe,Pe,Oe,"page","sort","filter","group","groupExpand","groupCollapse","kendoKeydown"],setDataSource:function(e){var t,r=this,l=r.options.scrollable;r.options.dataSource=e,r._dataSource(),r._pageable(),r._thead(),r._rowResizing(),l&&(l.virtual?(t=r.content.find(">.k-virtual-scrollable-wrap"),o.scrollLeft(t,_o(t,Pt))):(t=r.tbody,o.scrollLeft(r.content,_o(t,Pt)))),r.options.groupable&&r._groupable(),r.virtualScrollable&&r.virtualScrollable.setDataSource(r.options.dataSource),r.options.navigatable&&r._navigatable(),r.options.selectable&&r._selectable(),r.options.autoBind?r.dataSource.fetch():r._footer()},options:{name:"Grid",columns:[],toolbar:null,autoBind:!0,filterable:!1,scrollable:!0,sortable:!1,selectable:!1,allowCopy:!1,navigatable:!1,pageable:!1,persistSelection:!1,editable:!1,encodeTitles:!1,groupable:!1,rowTemplate:"",altRowTemplate:"",search:!1,noRecords:!1,dataSource:{},height:null,resizable:!1,reorderable:!1,columnMenu:!1,detailTemplate:null,contextMenu:!1,columnResizeHandleWidth:3,size:"medium",mobile:"",loaderType:"loadingPanel",messages:{editable:{cancelDelete:"Cancel",confirmation:"Are you sure you want to delete this record?",confirmDelete:"Delete"},commands:{create:Xt.create.text,cancel:Xt.cancel.text,save:Xt.save.text,destroy:Xt.destroy.text,edit:Xt.edit.text,update:Xt.update.text,canceledit:Xt.canceledit.text,excel:Xt.excel.text,pdf:Xt.pdf.text,search:Xt.search.text,select:"Select",selectRow:"Select Row",selectAllRows:"All rows",clearSelection:"Clear selection",copySelection:"Copy selection",copySelectionNoHeaders:"Copy selection (No Headers)",reorderRow:"Reorder row",reorderRowUp:"Up",reorderRowDown:"Down",reorderRowTop:"Top",reorderRowBottom:"Bottom",exportPdf:"Export to PDF",exportExcel:"Export to Excel",exportToExcelAll:"All",exportToExcelSelection:"Selection",exportToExcelSelectionNoHeaders:"Selection (No Headers)",sortAsc:"Sort Ascending",sortDesc:"Sort Descending",moveGroupPrevious:"Move previous",moveGroupNext:"Move next"},noRecords:"No records available.",expandCollapseColumnHeader:"",groupHeader:"Press ctrl + space to group",ungroupHeader:"Press ctrl + space to ungroup",itemsSelected:"items selected",dragHandleLabel:"Drag row",toolbarLabel:"grid toolbar",groupingHeaderLabel:"grid grouping header",filterCellTitle:"filter cell"},width:null},destroy:function(){var t,r,l=this;l._destroyColumnAttachments(),d.fn.destroy.call(l),this._navigatableTables&&(this._navigatableTables.off(P),this._navigatableTables=null,this._headertables=null),l._resizeHandler&&e(window).off("resize"+P,l._resizeHandler),l.pager&&l.pager.element&&l.pager.destroy(),l.timer&&clearTimeout(l.timer),l._progressTimeOut&&clearTimeout(l._progressTimeOut),l._collapseGroupsTimeOut&&clearTimeout(l._collapseGroupsTimeOut),l._endlessFetchTimeOut&&clearTimeout(l._endlessFetchTimeOut),l.pager=null,l._destroyGroupable(),(r=l.wrapper.data("kendoReorderable"))&&r.destroy(),(r=l.tbody?l.tbody.data("kendoReorderable"):null)&&r.destroy(),l.selectable&&l.selectable.element&&(l.selectable.destroy(),l.clearArea(),l._selectedIds=null,l.copyHandler&&(l.wrapper.off("keydown",l.copyHandler),l.unbind(l.copyHandler)),l.updateClipBoardState&&(l.unbind(l.updateClipBoardState),l.updateClipBoardState=null),l.clearAreaHandler&&l.wrapper.off("keyup",l.clearAreaHandler)),l.selectable=null,l.resizable&&(l.resizable.destroy(),l._resizeUserEvents&&(l._resizeHandleDocumentClickHandler&&e(document).off("click",l._resizeHandleDocumentClickHandler),l._resizeUserEvents.destroy(),l._resizeUserEvents=null),l.resizable=null),l._destroyRowResizing(),l._destroyVirtualScrollable(),l.editableUserEvents&&(l.editableUserEvents.destroy(),l.editableUserEvents=null),l._lockedContentUserEvents&&(l._lockedContentUserEvents.destroy(),l._lockedContentUserEvents=null),l._destroyEditable(),l.dataSource&&(l.dataSource.unbind($,l._refreshHandler).unbind(T,l._progressHandler).unbind(H,l._errorHandler).unbind(nt,l._clearSortClasses),l._refreshHandler=l._progressHandler=l._errorHandler=l._sortHandler=null),t=l.element.add(l.wrapper).add(l.table).add(l.thead).add(l.wrapper.find(">.k-grid-toolbar")),l.content&&(t=t.add(l.content).add(l.content.find(">.k-virtual-scrollable-wrap"))),l.lockedHeader&&l._removeLockedContainers(),l.pane&&l.pane.destroy(),l._isMobile&&(l.wrapper.off("transitionend"+P),l.wrapper.off("contextmenu"+P)),l.minScreenResizeHandler&&e(window).off("resize",l.minScreenResizeHandler),l._detachColumnMediaResizeHandler(),l._draggableInstance&&l._draggableInstance.element&&l._draggableInstance.destroy(),l._draggableInstance=null,l._draggableRowsInstance&&l._draggableRowsInstance.element&&l._draggableRowsInstance.destroy(),l.tbodyContextMenu&&l.tbodyContextMenu.destroy(),l.theadContextMenu&&l.theadContextMenu.destroy(),l._draggableRowsInstance=null,t.off(P),o.destroy(l.wrapper),l.rowTemplate=l.altRowTemplate=l.lockedRowTemplate=l.lockedAltRowTemplate=l.detailTemplate=l.footerTemplate=l.groupFooterTemplate=l.lockedGroupFooterTemplate=l.noRecordsTemplate=null,l.scrollables=l.thead=l.tbody=l.element=l.table=l.content=l.footer=l.wrapper=l.lockedTable=l.lockedContent=l.lockedHeader=l.lockedFooter=l._groupableClickHandler=l._groupRows=l._setContentWidthHandler=null},getOptions:function(){this.options.dataSource=null;var t=f(!0,{},this.options);t.columns=o.deepExtend([],this.columns);var r=this.dataSource,l=r.options.data&&r._data;return r.options.data=null,t.dataSource=e.extend(!0,{},r.options),r.options.data=l,t.dataSource.data=l,t.dataSource.page=r.page(),t.dataSource.filter=e.extend(!0,{},r.filter()),t.dataSource.pageSize=r.pageSize(),t.dataSource.sort=r.sort(),t.dataSource.group=r.group(),t.dataSource.aggregate=r.aggregate(),t.dataSource.transport&&(t.dataSource.transport.dataSource=null),t.pageable&&t.pageable.pageSize&&(t.pageable.pageSize=r.pageSize()),t},setOptions:function(e){var t=this.getOptions();o.deepExtend(t,e),e.dataSource?e.dataSource.filter&&(t.dataSource.filter=e.dataSource.filter):t.dataSource=this.dataSource;var r=this.wrapper,l=this._events,i=this.element;if(this.destroy(),this.options=null,this._isMobile){var n=r.closest(o.roleSelector("pane")).parent();n.after(r),n.remove(),r.removeClass("k-grid-mobile")}r[0]!==i[0]&&(r.before(i),r.remove()),i.empty(),this.init(i,t,l),this._setEvents(t)},items:function(){return this.lockedContent?this._items(this.tbody).add(this._items(this.lockedTable.children("tbody"))):this._items(this.tbody)},_items:function(t,r){return t.children().filter((function(){var t=e(this);return!((r?t.hasClass("k-detail-row"):t.hasClass(Ie))||t.hasClass("k-detail-row")||t.hasClass("k-group-footer"))}))},dataItems:function(){var e=o.ui.DataBoundWidget.fn.dataItems.call(this);if(this.lockedContent){for(var t=e.length,r=new Array(2*t),l=t;--l>=0;)r[l]=r[l+t]=e[l];e=r}return e},_destroyColumnAttachments:function(){var t=this;t.resizeHandle=null,t.thead&&t.thead.add(t.lockedHeader).find("th").each((function(){var t=e(this),r=t.data("kendoFilterMenu"),o=t.data("kendoColumnSorter"),l=t.data("kendoColumnMenu");r&&r.destroy(),o&&o.destroy(),l&&l.destroy()}))},_attachCustomCommandsEvent:function(){var e,t,r,o=this,l=Kr(o.columns||[]);for(t=0,r=l.length;t<r;t++)(e=l[t].command)&&rr(o,o.wrapper,e)},_aria:function(){var e,t,r,l,i,n=this.wrapper,a=this._hasDetails()?"treegrid":this.options.navigatable?"grid":null,s=this.table,d=n.find(".k-grid-toolbar"),c=n.find(".k-grouping-header"),u=s.attr(ct),h=s.attr($e),p=this.thead.find(ht).length+this.wrapper.find(".k-grid-footer-wrap table tr").length,f=this._trailingColumns(),g=this.virtualScroll,m=this.options.pageable;s.attr($e,h>=0?h:0),a&&s.attr(yt,a),s.find("tbody, thead, tfoot").attr(yt,Tt),s.find(ht).attr(yt,xt),s.find("th").attr(yt,Ht),s.find("td").attr(yt,Rt),m&&this.dataSource.totalPages()>1||g&&g.rows?(i=this._groups()>0?-1:this._hasDetails()?p+2*this.dataSource.total():p+this.dataSource.total(),s.attr(mt,i)):this._hasDetails()&&(i=this._groups()>0?-1:p+2*this.dataSource.total(),s.attr(mt,i)),i&&i>0&&this._ariaRowIndex(),(g&&g.columns||!s.attr(bt)&&(s.find("td:not([group-header-spanned-hidden]):hidden").length>0||n.find(".k-grid-content-locked td:not([group-header-spanned-hidden]):hidden").length>0))&&(s.attr(bt,f+Kr(this.columns).length),this._ariaColumnIndex()),u||(u=o.guid(),s.attr(ct,u)),this.pager&&this.pager.element.attr("aria-controls",u),d.attr({role:"toolbar","aria-label":this.options.messages.toolbarLabel,"aria-controls":u}),c.attr({role:"toolbar","aria-label":this.options.messages.groupingHeaderLabel,"aria-controls":u}),t=this._ariaHeaderFooter("header","thead","th, td",Ht),r=this._ariaHeaderFooter("footer","tfoot","td",Rt),n.find(".k-grid-content-locked").length>0&&this._ariaLockedContent(),(t||r)&&(l=[t,e=this.tbody.attr(ct)||o.guid(),r].join(" "),this.tbody.attr(ct,e),s.attr(gt,l)),this.options.groupable&&this._ariaGroupTitles()},_ariaColumnIndex:function(){var t,r,o,l,i=this._trailingColumns(),n=this.tbody.find(">tr").last().find("> td[data-virtual]"),a=this.thead.find(">tr").not(".k-filter-row"),s=this.wrapper.find(".k-grid-header-locked thead > tr").not(".k-filter-row"),d=Number.MAX_VALUE,c=0,u=0,h=0,p=0,f=function(r,o){var l=o.getAttribute("data-index"),i=Number(l),n=e(o).closest(".k-grid-header-locked");0===n.length&&i<d&&(d=i),n.length>0&&u<i&&(u=i),0===n.length&&c<i&&(c=i),null!==l?(o.setAttribute(kt,Number(i)+1),t=Number(i)+1+o.getAttribute("colspan")):(o.setAttribute(kt,t+1),t+=o.getAttribute("colspan"))};for(2===n.length?(h=Number(n[0].getAttribute("colspan")),p=Number(n[1].getAttribute("colspan"))):1===n.length&&0===n.prev().length?h=Number(n[0].getAttribute("colspan")):1===n.length&&1===n.prev().length&&(p=Number(n[0].getAttribute("colspan"))),r=0;r<s.length;r++)t=0,s.eq(r).find("th").each(f);for(r=0;r<a.length;r++)t=0,a.eq(r).find("th").each(f);for(r=0;r<=u;r++)o=r+i,this.wrapper.find(".k-grid-content-locked tbody > tr > td:nth-child("+(r+1)+")").attr(kt,o+1);for(r=h;r<=c-d-p;r++)l=0===h?r+1:r-h+2,o=d+r+i,this.tbody.find("> tr > td:nth-child("+l+")").attr(kt,o+1)},_ariaGroupTitles:function(){var e=this,t=e.dataSource.group(),r=e.wrapper.find(".k-grid-header th");r.each((function(t,r){r.getAttribute("title")===e.options.messages.ungroupHeader&&r.setAttribute("title",e.options.messages.groupHeader)})),t&&t.length>0&&t.forEach((function(t){var l=t.field,i=r.filter("["+o.attr("field")+"='"+l+"']");i.attr("title")===e.options.messages.groupHeader&&i.attr("title",e.options.messages.ungroupHeader)}))},_ariaHeaderFooter:function(e,t,r,l){var i,n=this.wrapper,a=n.find(".k-grid-"+e+" .k-grid-"+e+"-wrap table"),s=n.find(".k-grid-"+e+" .k-grid-"+e+"-locked table"),d="";return a.length>0&&(d=(i=a.find(t+", tbody")).attr(ct)||o.guid(),a.attr(yt,St),a.find(ht).attr(yt,xt),a.find(r).attr(yt,l),i.attr({role:Tt,id:d})),s.length>0&&this._ariaLocked(e,t,r,l),s.find("td").attr(yt,Rt),a.find("td").attr(yt,Rt),d},_ariaId:function(){var e=this.element.attr(ct)||"aria";e&&(this._cellId=e+"_active_cell")},_ariaLocked:function(t,r,o,l){var i=this,n=i.wrapper,a=n.find(".k-grid-"+t+" .k-grid-"+t+"-wrap table"),s=n.find(".k-grid-"+t+" .k-grid-"+t+"-locked table"),d=a.find(ht),c=s.find(ht);s.attr(yt,St),s.find(r+", tbody").attr(yt,St),c.attr(yt,St),s.find(o).attr(yt,l),d.each((function(r,l){var n=[];n=(n=i._cellsIds(c.eq(r).find(o),"locked_"+t,r)).concat(i._cellsIds(e(l).find(o),t,r)),l.setAttribute(gt,n.join(" "))}))},_ariaLockedContent:function(){var t=this,r=t.table.find(ht),o=t.wrapper.find(".k-grid-content-locked table"),l=o.find(ht);o.attr(yt,St),o.find("tbody").attr(yt,St),l.attr(yt,St),o.find("td").attr(yt,Rt),r.each((function(r,o){var i=[];i=(i=t._cellsIds(l.eq(r).find("td"),"locked_datacell",r)).concat(t._cellsIds(e(o).find("td"),"datacell",r)),o.setAttribute(gt,i.join(" "))}))},_ariaAddHiddenColIndex:function(){var e=this.virtualScroll||{},t=this.columns,r=this.table,o=Kr(t).length;e.columns||r.attr(bt)||(this._ariaColumnIndex(),r.attr(bt,o))},_ariaRemoveHiddenColIndex:function(){var e=this.virtualScroll||{},t=Kr(this.columns).length;e.columns||t!==Gr(this.columns).length||(this.wrapper.find("td, th").removeAttr(kt),this.table.removeAttr(bt))},_ariaRowIndex:function(){var e,t,r=this.thead.find(">tr"),o=r.length,l=this.tbody.find(">tr"),i=this.wrapper.find(".k-grid-footer-wrap tfoot > tr"),n=this.dataSource.total(),a=this.dataSource.skip()||0,s=1,d=!1;for(this._hasDetails()&&(n*=2,a*=2),e=0;e<o;e++)r.eq(e).attr(_t,s+e);for(s=o+a,e=0;e<l.length;e++)t=l.eq(e),this._hasDetails()&&t.hasClass("k-master-row")?(s+=d?2:1,d=!0):(s+=1,d=!1),t.attr(_t,s);for(s=o+n+1,e=0;e<i.length;e++)i.eq(e).attr(_t,s+e)},_cellsIds:function(e,t,r){var o=[];return e.each((function(e,l){var i=l.getAttribute(ct)||t+"_"+r+"_"+e;l.setAttribute(ct,i),o.push(i)})),o},_trailingColumns:function(){return this._groups()+(this._hasDetails()?1:0)},_element:function(){var t=this,r=t.element;r.is("table")||(r=t.options.scrollable?t.element.find("> .k-grid-content > table"):t.element.children("table")).length||(r=e("<table />").appendTo(t.element)),r.addClass("k-grid-table k-table"),r.addClass(o.getValidCssClass("k-table-","size",t.options.size)),t.table=r,t._wrapper()},_createResizeHandle:function(t,r){var l,i,n,a,s,d,c,h=this,p=h.options.columnResizeHandleWidth,f=h.options.scrollable,g=h.resizeHandle,m=3*p/2,b=0;g&&h.lockedContent&&g.data("th")[0]!==r[0]&&(g.off(P).remove(),g=null),g||(g=h.resizeHandle=e('<div class="k-resize-handle"><div class="k-resize-handle-inner"></div></div>'),t.append(g)),s=o.scrollLeft(t),Pt&&(Ot.mozilla||Ot.webkit&&Ot.version>=85)&&(s*=-1),a=parseFloat(t.css("borderLeftWidth")),d=r.offset().left+s-parseFloat(r.css("marginLeft"))-(t.offset().left+a),Pt?f&&(b=d<=s?m:0,(l=r.closest(".k-grid-header-wrap, .k-grid-header-locked"))[0].scrollWidth-l[0].offsetWidth,n=parseFloat(l.css("marginLeft")),i=Ot.msie?2*o.scrollLeft(l)+a-n-b:0,d-=-b+(Ot.mozilla?a-n-b:0)+i):d+=r[0].offsetWidth,c=r.offset().top-parseFloat(r.css("marginTop"))-(t.offset().top+parseFloat(t.css("borderTopWidth"))),g.css({top:c,left:d-m,height:u(r),width:3*p-b}).data("th",r).show(),g.off(Ue+P).on(Ue+P,(function(){h._autoFitLeafColumn(parseInt(r.attr(o.attr("index")),10))}))},_positionColumnResizeHandle:function(){var t=this,r=t.lockedHeader?t.lockedHeader.find("thead").first():e();t.thead.add(r).on(je+P,"tr:not(.k-filter-row) > th",(function(r){var l=void 0!==r.buttons?r.buttons:r.which||r.button,i=e(this);i.hasClass("k-group-cell")||i.hasClass("k-hierarchy-cell")||void 0!==l&&0!==l||i[0].hasAttribute(o.attr("colSpan"))||t._createResizeHandle(i.closest(pt),i)}))},_resizeHandleDocumentClick:function(t){e(t.target).closest(".k-column-active").length||(e(document).off(t),this._resetResizeHandleHeader(),this._hideResizeHandle())},_resetResizeHandleHeader:function(){var t;this.resizeHandle&&(t=e(this.resizeHandle).data("th"))&&(t.find(x+ke).find(x+_e+","+x+ve).show(),t.find(x+we).show(),t.find(x+ye).show(),t.find(x+Se).show())},_hideResizeHandle:function(){this.resizeHandle&&(this.resizeHandle.data("th").removeClass("k-column-active"),this.lockedContent&&!this._isMobile?(this.resizeHandle.off(P).remove(),this.resizeHandle=null):this.resizeHandle.hide())},_positionColumnResizeHandleTouch:function(){var t=this,r=t.lockedHeader?t.lockedHeader.find("thead").first():e();t._resizeUserEvents=new o.UserEvents(r.add(t.thead),{filter:"th:not(.k-group-cell):not(.k-hierarchy-cell)",threshold:10,minHold:500,hold:function(r){var o=e(r.target);r.preventDefault(),t.resizeHandle&&(t.resizeHandle.data("th").removeClass("k-column-active"),t._resetResizeHandleHeader()),o.addClass("k-column-active"),o.find(x+ke).find(x+_e+","+x+ve).hide(),o.find(x+we).hide(),o.find(x+ye).hide(),o.find(x+Se).hide(),t._createResizeHandle(o.closest(pt),o),t._resizeHandleDocumentClickHandler||(t._resizeHandleDocumentClickHandler=t._resizeHandleDocumentClick.bind(t)),e(document).on("click",t._resizeHandleDocumentClickHandler)}})},resizeColumn:function(t,r){var l,i=this,n=!!t.locked,a=!!t.hidden,s=this.options,d=o.support.mobileOS?0:o.support.scrollbar(),u=k(t,n?Br(Gr(i.columns)):Wr(Gr(i.columns))),h=n?i.lockedTable:i.table,p=i.footer||e(),f=n?i.lockedHeader.find("table"):i.thead.closest("table"),g=t.minResizableWidth||10,m=c(n?h.find("tbody"):i.tbody);if(a)t.width=r>g?r:g;else{if(i.footer&&i.lockedContent&&(p=n?i.footer.children(".k-grid-footer-locked"):i.footer.children(".k-grid-footer-wrap")),l=s.scrollable?f.find("col:not(.k-group-col,.k-hierarchy-col)").eq(u).add(h.children("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(u)).add(p.find("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(u)):h.find("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(u),s.scrollable){var b=!1,_=i.wrapper.width()-d,v=r=r>g?r:g;n&&m-r+v>_&&((v=r+(_-m-2*d))<0&&(v=r),b=!0),v>10&&v>=g&&(l.css("width",v),m&&(v=b?_-2*d:m+(r-t.width),h.add(f).add(p).css("width",v),n||(i._footerWidth=v))),i._scrollVirtualWrapperOnColumnResize()}else r>10&&r>=g&&l.css("width",r);t.width=r,i._applyLockedContainersWidth(),i._syncLockedContentHeight(),i._syncLockedHeaderHeight(),i._updateStickyColumns()}},_resizable:function(){var t,r,i,n,a,s,d,h,p=this,f=p.options,g=this._isMobile,m=o.support.mobileOS?0:o.support.scrollbar();(!0===f.resizable||f.resizable&&!0===f.resizable.columns)&&(t=f.scrollable?p.wrapper.find(".k-grid-header-wrap").first():p.wrapper,g?p._positionColumnResizeHandleTouch(t):p._positionColumnResizeHandle(t),p.resizable&&p.resizable.destroy(),p.resizable=new l.Resizable(t.add(p.lockedHeader),{handle:(f.scrollable?"":">")+".k-resize-handle",hint:function(t){return e('<div class="k-grid-resize-indicator" />').css({height:u(t.data("th"))+p.tbody.attr("clientHeight")})},start:function(t){h=e(t.currentTarget).data("th"),g&&p._hideResizeHandle();var o=h.closest("table"),l=e.inArray(h[0],Yr(h.closest("thead")).filter(":visible")),u=(s=o.parent().hasClass("k-grid-header-locked"))?p.lockedTable:p.table,m=p.footer||e();p.footer&&p.lockedContent&&(m=s?p.footer.children(".k-grid-footer-locked"):p.footer.children(".k-grid-footer-wrap")),Zt(p.wrapper,"col-resize"),d=f.scrollable?o.find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(l).add(u.children("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(l)).add(m.find("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(l)):u.children("colgroup").find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(l);var b=e.map(p.columns,(function(e){return!e.hidden&&(s&&e.locked||!s&&!e.locked)?e:null}));r=t.x.location,i=c(h),n=Kr(b)[l].minResizableWidth||10,a=c(s?u.children("tbody"):p.tbody),Ot.webkit&&p.wrapper.addClass("k-grid-column-resizing")},resize:function(t){var o=Pt?-1:1,l=i+t.x.location*o-r*o;if(f.scrollable){var c;s&&p.lockedFooter?c=p.lockedFooter.children("table"):p.footer&&(c=p.footer.find(">.k-grid-footer-wrap>table")),c&&c[0]||(c=e());var u=h.closest("table"),g=s?p.lockedTable:p.table,b=!1,k=p.wrapper.width()-m,_=l;s&&a-i+_>k&&((_=i+(k-a-2*m))<0&&(_=l),b=!0),_>10&&_>=n&&(d.css("width",_),a&&(_=b?k-2*m:a+t.x.location*o-r*o,g.add(u).add(c).css("width",_),s||(p._footerWidth=_))),p._scrollVirtualWrapperOnColumnResize()}else l>10&&l>=n&&d.css("width",l)},resizeend:function(){var e,t,r=c(h);if(Zt(p.wrapper,""),Ot.webkit&&p.wrapper.removeClass("k-grid-column-resizing"),h&&i!=r){t=p.lockedHeader?p.lockedHeader.find("thead").first().find(ht).first().add(p.thead.find(ht).first()):h.parent();var l=h.attr(o.attr("index"));l||(l=t.find("th:not(.k-group-cell):not(.k-hierarchy-cell)").index(h)),(e=Kr(p.columns)[l]).width=r,p.trigger(Ae,{column:e,oldWidth:i,newWidth:r}),p._applyLockedContainersWidth(),p._syncLockedContentHeight(),p._syncLockedHeaderHeight(),p._updateStickyColumns()}p._resetResizeHandleHeader(),p._hideResizeHandle(),h=null}}))},_addLockedRowResizing:function(e){var t=e.index();return this.lockedTable.find(ht).eq(t).add(this.tbody.find(ht).eq(t))},_getMinRowHeight:function(e){var t=0;return e.each((function(e,r){var o;r.style.height="",(o=u(r))>t&&(t=o)})),t},_cacheRowHeight:function(e,t){var r=this;r._cachedRowsHeight||(r._cachedRowsHeight={}),e.each((function(e,o){var l=o.getAttribute("data-uid");r._cachedRowsHeight[l]=t}))},_clearCachedRowsHeight:function(e){var t=this;e&&t._cachedRowsHeight?e.each((function(e,r){var o=r.getAttribute("data-uid");delete t._cachedRowsHeight[o]})):t._cachedRowsHeight=null},_mapCachedRowsHeight:function(e,t){var r=this._cachedRowsHeight,o=this.dataSource,l={};Object.keys(r).forEach((function(i){var n=o[e](i);l[n[t]]=r[i]})),this._cachedRowsHeight=l},_rowResizerDblClick:function(){var t,r,o=this,l=o.rowResizer,i=l.data(ht),n=u(i);r=i.hasClass(fe)?o.select():i,o.lockedTable?(r=(i=o._addLockedRowResizing(i)).hasClass(fe)?o.lockedTable.find(x+fe):o.lockedTable.find(ht).eq(i.index())).each((function(t,r){var l=r.rowIndex,i=e(r).add(o.tbody.find(ht).eq(l)),n=o._getMinRowHeight(i);i.css(Ke,n)})):r.css(Ke,Ye),o._clearCachedRowsHeight(r),l.removeClass(ue),l.removeClass(he),n!=(t=u(i))&&o.trigger(Ee,{row:i,rows:r,oldHeight:n,newHeight:t})},_setupRowResizer:function(e,t,r){e.data(ht,t).css({top:r})},_attachRowResizerEvents:function(){var e=this.rowResizer,t=!1;e.on(We+P,(function(t){0===t.button&&(e.removeClass(ue),e.addClass(he))})).on(Be+P,(function(t){0===t.button&&(e.removeClass(he),e.addClass(ue))})).on(Ge+P,(function(){t=!0,setTimeout((function(){t&&e.addClass(ue)}),200)})).on(Ne+P,(function(){t=!1,e.removeClass(ue)}))},_getResizerTop:function(e,t){var r=this.rowResizer,o=r.find(".k-row-resizer")[0],l=parseInt(getComputedStyle(r[0]).paddingTop);return e.offset().top-parseFloat(e.css("marginTop"))-(t.offset().top+parseFloat(t.css("borderTopWidth")))-o.clientHeight-l+t.scrollTop()},_getResizerContainer:function(){var e=this.tbody.closest(pt);return this.lockedTable&&(e=e.closest(".k-grid-container")),e},_createRowResizer:function(t){var r,o=this,l=e(t.currentTarget),i=t.currentTarget.clientHeight,n=t.offsetY,a=o.rowResizer,s=l.prev("tr:visible"),d=o._getResizerContainer();a||(a=o.rowResizer=e('<div class="k-resizer-wrap"><div class="k-row-resizer"></div></div>'),d.append(a),o._attachRowResizerEvents(),a.off(Ue+P).on(Ue+P,o._rowResizerDblClick.bind(o))),r=o._getResizerTop(l,d),0!==s.length&&i/2>n?s.hasClass(Ie)||o._setupRowResizer(a,s,r):l.hasClass(Ie)||o._setupRowResizer(a,l,r+i)},_detachRowResizerEvents:function(){this.rowResizer.off(We+P).off(Be+P).off(Ge+P).off(Ne+P)},_mapResizedRows:function(t,r,o){var l=this;t.each((function(t,i){var n;if(r){var a=i.rowIndex,s=o,d=0,c=e(i).add(l.tbody.find(ht).eq(a));c.each((function(e,t){var r;t.style.height="",(r=u(t))>d&&(d=r)})),s<d?(s=d,l._clearCachedRowsHeight(c.eq(0))):l._cacheRowHeight(c.eq(0),s),c.css(Ke,s)}else i.style.height="",n=u(i),o>n?(i.style.height=o+ut,l._cacheRowHeight(e(i),o)):l._clearCachedRowsHeight(e(i))}))},_rowResizing:function(){var t,r,o,i,n=this,a=n.options;a.resizable&&!0===a.resizable.rows&&(n.tbody.parent().add(n.lockedTable).on(je+P,".k-grid-footer tr, .k-table-tbody tr",n._createRowResizer.bind(n)),n.rowResizing&&n.rowResizing.destroy(),t=n._getResizerContainer(),n.rowResizing=new l.Resizable(t,{handle:".k-resizer-wrap",start:function(t){i=e(t.currentTarget).data(ht),n.lockedTable&&(i=n._addLockedRowResizing(i)),i.addClass(ue),n._detachRowResizerEvents(),r=t.y.location,o=u(i)},resize:function(e){var l=o+e.y.location-r,a=0;i.length>1&&(a=n._getMinRowHeight(i)),l<a&&(l=a),i.css("height",l),n._setupRowResizer(n.rowResizer,i,n._getResizerTop(i,t)+l)},resizeend:function(){var e,t=u(i),r=!1;i.hasClass(fe)?(e=n.select(),i.length>1&&e.length>i.length&&(e=n.lockedTable.find(x+fe).not(i),r=!0)):e=i,n._mapResizedRows(e,r,t),i.removeClass(ue),n.rowResizer.removeClass(he),n.rowResizer.addClass(ue),n._attachRowResizerEvents(),r&&(e=n.select()),o!=t&&n.trigger(Ee,{row:i,rows:e,oldHeight:o,newHeight:t}),i=null}}))},_draggable:function(){var t=this,r=t.options.reorderable;if(!0===r||r&&r.columns){t._draggableInstance&&t._draggableInstance.destroy();var l=t.wrapper.children(".k-grid-header");t._draggableInstance=t.wrapper.kendoDraggable({group:o.guid(),autoScroll:!0,filter:t.content?".k-grid-header:first "+M:"table:first>.k-grid-header "+M,dragstart:function(){l.children(".k-grid-header-wrap").off("scroll"+P+"scrolling").on("scroll"+P+"scrolling",(function(e){t.virtualScrollable?o.scrollLeft(t.content.find(">.k-virtual-scrollable-wrap"),this.scrollLeft):o.scrollLeft(t.scrollables.not(e.currentTarget),this.scrollLeft)}))},dragend:function(){t._resetResizeHandleHeader(),l.children(".k-grid-header-wrap").off("scroll"+P+"scrolling")},drag:function(){t._hideResizeHandle()},hint:function(t){var r=t.attr(o.attr("title"));return r&&(r=o.htmlEncode(r)),e('<div class="k-reorder-clue k-drag-clue" />').html(r||t.attr(o.attr("field"))||t.text()).prepend(o.ui.icon({icon:"cancel",iconClass:"k-drag-status"}))}}).data("kendoDraggable")}},_reorderable:function(){var t=this,r=t.options.reorderable;(!0===r||r&&r.columns)&&(t.wrapper.data("kendoReorderable")&&t.wrapper.data("kendoReorderable").destroy(),t.wrapper.kendoReorderable({draggable:t._draggableInstance,dropFilter:M,dragOverContainers:function(e,r){var o=Tr(t.columns);return!1!==o[e].lockable&&Hr(o,t.columns,e,r)>-1},inSameContainer:function(r){var o=e(r.source).parent()[0],l=e(r.target).parent()[0];return t._isLocked()&&(o=e(r.source.closest(".k-grid-header"))[0],l=e(r.target.closest(".k-grid-header"))[0]),o===l&&Hr(Tr(t.columns),t.columns,r.sourceIndex,r.targetIndex)>-1},change:function(e){var r=Tr(t.columns),o=r[e.oldIndex],l=Hr(r,t.columns,e.oldIndex,e.newIndex);t.trigger(De,{newIndex:l,oldIndex:k(o,r),column:o}),t.reorderColumn(l,o,"before"===e.position)}}))},_reorderHeader:function(e,t,r,o){for(var l,i,n=this,a=Cr(e[0],n.columns),s=Cr(t,n.columns),d=[],c=0;c<e.length;c++)e[c].columns&&(d=d.concat(e[c].columns));i=o?tr(o,o,"tr:eq("+a.row+")>th.k-header:not(.k-group-cell,.k-hierarchy-cell)"):tr(n.lockedHeader,n.thead,"tr:eq("+a.row+")>th.k-header:not(.k-group-cell,.k-hierarchy-cell)");var u,h,p,f,g,m,b=Pr(e).length,k=Pr([t]).length;d.length?(b>0&&0===k?(l="prepend",kr(e,t,d,n.columns,n.lockedHeader.find("thead"),n.thead,this._groups(),l)):0===b&&k>0&&(l=0!==s.cell||!e[0].columns||t.columns||n._group?"append":"prepend",kr(e,t,d,Or(n.columns),n.thead,n.lockedHeader.find("thead"),this._groups(),l)),(t.columns||a.cell-s.cell>1||s.cell-a.cell>1)&&(t=Sr(n.columns,t,e[0],r,n.columns))&&(b>0&&0===k?n._reorderHeader(d,t,r,n.thead):0===b&&k>0?n._reorderHeader(d,t,r,n.lockedHead):n._reorderHeader(d,t,r))):b!==k&&(u=i[a.cell],h=n.columns,p=b,f=vr(Pr(h)),g=vr(Or(h)),m=u.rowSpan,u.rowSpan=p?f>g?m-(f-g)||1:m+(g-f):f>g?m+(f-g):m-(g-f)||1),er(i,a.cell,s.cell,r,e.length)},_reorderContent:function(t,r,o){var l,i,n,a=this,s=e(),d=t[0],c=pr(t),u=k(d,Kr(a.columns)),h=k(r,Kr(a.columns)),p=k(c[0],Gr(a.columns)),f=k(r,Gr(a.columns)),g=Pr(a.columns).length,m=!!r.locked,b=a.footer||a.wrapper.find(".k-grid-footer");if(l=i=f,r.hidden){var _=m?Pr(a.columns):Or(a.columns);pr(_).length>0?(l=i=f=this._findClosestVisibleColumnIndex(_,h),n=pr(_.slice(h)).length>0):m?(f=a.lockedTable.find("colgroup"),l=a.lockedHeader.find("colgroup"),i=e(a.lockedFooter).find(">table>colgroup")):(f=a.tbody.prev(),l=a.thead.prev(),i=b.find(".k-grid-footer-wrap").find(">table>colgroup"))}a._hasFilterRow()&&er(a.wrapper.find(".k-filter-row td:not(.k-group-cell,.k-hierarchy-cell)"),u,h,o,t.length),p>=0&&er(tr(a.lockedHeader,a.thead.prev(),D),p,l,n||o,c.length),a.options.scrollable&&p>=0&&!a._hasVirtualColumns()&&er(tr(a.lockedTable,a.tbody.prev(),D),p,f,n||o,c.length),b&&b.length&&(p>=0&&er(tr(a.lockedFooter,b.find(".k-grid-footer-wrap"),">table>colgroup>col:not(.k-group-col,.k-hierarchy-col)"),p,i,n||o,c.length),er(b.find(".k-footer-template>td:not(.k-group-cell,.k-hierarchy-cell)"),u,h,o,t.length));var v=a.tbody.children(":not(.k-grouping-row,.k-detail-row)");a.lockedTable&&(g>h?g<=u&&so(a.lockedTable.find(">tbody>tr.k-grouping-row:not([hidden])"),a.table.find(">tbody>tr.k-grouping-row:not([hidden])"),t.length):g>u&&so(a.table.find(">tbody>tr.k-grouping-row:not([hidden])"),a.lockedTable.find(">tbody>tr.k-grouping-row:not([hidden])"),t.length),s=a.lockedTable.find(">tbody>tr:not(.k-grouping-row,.k-detail-row)"));for(var w=0,C=v.length;w<C;w+=1)er(tr(s[w],v[w],">td:not(.k-group-cell,.k-hierarchy-cell)"),u,h,o,t.length)},_findClosestVisibleColumnIndex:function(e,t){var r=pr(e.slice(t)).length>0?e.slice(t):e.slice(0,t+1).reverse(),o=pr(r)[0];return k(o,pr(this.columns))},_autoFitLeafColumn:function(e){this.autoFitColumn(Kr(this.columns)[e])},_hasReorderableRows:function(){return this._hasDragHandleColumn||this.options.reorderable&&this.options.reorderable.rows},_draggableRows:function(){var t=this,r=t._checkBoxSelection||t.options.selectable&&!o.ui.Selectable.parseOptions(t.options.selectable).cell,l=!1,i=!(!t._isMobile&&!o.support.mobileOS);t._draggableRowsInstance&&t._draggableRowsInstance.destroy(),!1!==this.options.reorderable.rows.clickMoveClick&&this._hasDragHandleColumn&&(l=!0),t._draggableRowsInstance=t.tbody.kendoDraggable({holdToDrag:i,showHintOnHold:i,preventOsHoldFeatures:i,group:"row-draggable",autoScroll:!0,filter:(r?" > .k-selected":" > "+A)+(t._hasDragHandleColumn?" > .k-drag-cell":""),hint:function(l){var i=e('<div class="k-reorder-clue k-drag-clue">'+o.ui.icon({icon:"cancel",iconClass:"k-drag-status"})+"</div>");if(r&&t.select().length>1)i.append("<span>"+t.select().length+" "+w(t.options.messages.itemsSelected)+"</span>");else{var n=l.closest(A).clone();n.find("td.k-command-cell").remove(),n.find("td").each((function(e,t){i.append("<span>"+t.innerText+"&nbsp;</span>")}))}return i},clickMoveClick:l,cursorOffset:{top:0,left:0}}).data("kendoDraggable")},_reorderableRows:function(){var t=this,r=t._checkBoxSelection||t.options.selectable&&!o.ui.Selectable.parseOptions(t.options.selectable).cell;t.tbody.data("kendoReorderable")&&t.tbody.data("kendoReorderable").destroy(),t.tbody.kendoReorderable({smartPosition:!1,draggable:t._draggableRowsInstance,dragOverContainers:function(o,l){var i=!0,n=e(A,t.content).eq(l);return r&&(i=!n.is(".k-selected")),i},inSameContainer:function(t){return!r||!e(t.target).is(".k-selected")},dropFilter:"> "+A,allowIcon:"insert-middle",orientation:"vertical",reorderDropCue:e('<div class="k-drop-hint k-drop-hint-h"><div class="k-drop-hint-start"></div><div class="k-drop-hint-line"></div></div>'),positionDropCue:function(e,t){var r=o.getOffset(t.children(R).eq(0)).left;e.css({transform:"translate(0,-50%)",left:r})},externalDraggable:function(e){var t=e.draggable;if(t)return t},change:function(e){t._triggerRowRorder(e)}})},_triggerRowRorder:function(e){var t=this,r={newIndex:"after"===e.position?e.newIndex+1:e.newIndex,oldIndex:e.oldIndex},l=e.element,i=t._checkBoxSelection||t.options.selectable&&!o.ui.Selectable.parseOptions(t.options.selectable).cell;r=i&&t.select().length>1?f(r,{rows:t.select()}):f(r,{row:l}),t.trigger(Pe,r)||t.reorderRows(i?t.select():l,r.newIndex)},reorderRowTo:function(e,t){var r=this,o=r.dataItem(e),l=e.index();t<0||t===l||r.trigger(Pe,{row:e,oldIndex:e.index(),newIndex:t})||r.dataSource.pushMove(t,[o])},reorderRows:function(e,t){var r=this,o=r.dataSource,l=r.tbody.children(A).length,i=r.dataItem(r.tbody.children(A).eq(t)),n=e.toArray().map((function(e){return r.dataItem(e)}));i?t=o.indexOf(i):(i=r.dataItem(r.tbody.children(A).eq(l-1)),t=o.indexOf(i)+1),t>=0&&(r._rowDropping=!0,o.pushMove(t,n),r._rowDropping=!1)},autoFitColumns:function(e){var t=this;e=e||t.columns;for(var r=0;r<e.length;r++){var o=e[r];o.columns?t.autoFitColumns(o.columns):t.autoFitColumn(o)}},autoFitColumn:function(t){var r,l,i,n,a,s,d,u,h,f,g,b=this,_=b.options,v=b.columns,w=b.lockedHeader?Yr(b.lockedHeader.find(">table>thead")).filter(ur).length:0,C="col:not(.k-group-col):not(.k-hierarchy-col)",y="td:visible:not(.k-group-cell):not(.k-hierarchy-cell)";if((t="number"==typeof t?v[t]:p(t)?m(Rr(v),(function(e){return e===t}))[0]:m(Rr(v),(function(e){return e.field===t}))[0])&&hr(t)){n=Kr(v),d=t.minResizableWidth,r=k(t,n),f=(l=(i=(a=t.locked)?b.lockedHeader.children("table"):b.thead.parent()).find("[data-index='"+r+"']")).find("a.k-grid-column-menu, a.k-grid-filter-menu");var S=a?b.lockedTable:b.table,x=b.footer||e();b.footer&&b.lockedContent&&(x=a?b.footer.children(".k-grid-footer-locked"):b.footer.children(".k-grid-footer-wrap"));var T=x.find("table").first();b.lockedHeader&&!a&&(r-=w);for(var H=0;H<n.length&&n[H]!==t;H++)n[H].hidden&&r--;_.scrollable?(s=i.find(C).eq(r).add(S.children("colgroup").find(C).eq(r)).add(T.find("colgroup").find(C).eq(r)),a||(u=S.parent(),h=o.scrollLeft(u))):s=S.children("colgroup").find(C).eq(r);var R=i.add(S).add(T);Ot.safari&&l.css("white-space","initial");var I=c(l);s.width(""),R.css("table-layout","fixed"),s.width(Ye),R.addClass("k-autofitting"),R.css("table-layout",""),g=f.length?c(f)+c(l):c(l);var z=Math.ceil(Math.max(g,c(S.find("tr:not(.k-grouping-row)").eq(0).children(y).eq(r)),c(T.find(ht).eq(0).children(y).eq(r))))+1;if(d&&d>z&&(z=d),s.width(z),t.width=z,Ot.safari&&l.css("white-space",""),_.scrollable){for(var E,A=i.find("col"),D=0,M=0,F=A.length;M<F;M+=1)if((E=A[M].style.width)&&-1==E.indexOf("%"))D+=parseInt(E,10);else{if(!A.eq(M).hasClass("k-group-col")){D=0;break}D+=parseInt(A.eq(M).width(),10)}D&&R.each((function(){this.style.width=D+ut}))}R.removeClass("k-autofitting"),h&&o.scrollLeft(u,h),b.trigger(Ae,{column:t,oldWidth:I,newWidth:z}),b._applyLockedContainersWidth(),b._syncLockedContentHeight(),b._syncLockedHeaderHeight(),b._updateStickyColumns()}},reorderColumn:function(e,r,o){var l,i=this,n=lr(r,i.columns),a=n?n.columns:i.columns,s=k(r,a),d=a[e],c=i.virtualScroll||{},u=!!d.locked,h=Pr(i.columns).length,p=m(Kr(i.columns),(function(e){return e.groupHeaderColumnTemplate}));if(s!==e&&(r.locked||!u||1!=Or(i.columns).length)&&(!r.locked||u||1!=h)){i._hideResizeHandle(),o===t&&(o=e<s);var f=[r];i._reorderHeader(f,d,o),i.lockedHeader&&(Ar(i.thead),Ar(i.lockedHeader)),d.columns&&(d=(d=Kr(d.columns))[o?0:d.length-1]),r.columns&&(f=Kr(r.columns)),i._reorderContent(f,d,o),l=(l=!!r.locked)!=u,r.locked=u,a.splice(o?e:e+1,0,r),a.splice(s<e?s:s+1,1),i._updateLockedCols(),i._updateCols(),i._templates(),i._updateColumnCellIndex(),i._updateColumnSorters(),p.length>0&&i._renderGroupRows(),i._updateTablesWidth(),i._applyLockedContainersWidth(),i._syncLockedHeaderHeight(),i._syncLockedContentHeight(),i._updateFirstColumnClass(),i._updateStickyColumns(),c.columns&&i.refresh(),l&&(u?i.trigger(Me,{column:r}):i.trigger(Fe,{column:r}))}},_updateColumnCellIndex:function(){var e=0;this.lockedHeader&&(e=_r(this.lockedHeader.find("thead"),Pr(this.columns))),_r(this.thead,Or(this.columns),e)},lockColumn:function(e){var t=this.columns;if((e="number"==typeof e?t[e]:m(t,(function(t){return t.field===e}))[0])&&!e.locked&&!e.hidden){e.sticky&&this.unstickColumn(t.indexOf(e));var r=Pr(t).length-1;this.reorderColumn(r,e,!1)}},unlockColumn:function(e){var t=this.columns;if((e="number"==typeof e?t[e]:m(t,(function(t){return t.field===e}))[0])&&e.locked&&!e.hidden){var r=Pr(t).length;this.reorderColumn(r,e,!0)}},stickColumn:function(e){var t=this.columns;!(e="number"==typeof e?t[e]:m(t,(function(t){return t.field===e}))[0])||e.sticky||e.hidden||e.locked&&(this.unlockColumn(t.indexOf(e)),e.locked)||(e.sticky=!0,this._updateStickyColumns())},unstickColumn:function(e){var t=this.columns;(e="number"==typeof e?t[e]:m(t,(function(t){return t.field===e}))[0])&&e.sticky&&!e.locked&&!e.hidden&&(this._removeStickyAttributes([e]),this._removeStickyStyles(Vr(t)),e.sticky=!1,this._updateStickyColumns(),0===this._anyStickyColumns()&&(this._templates(),this._hasFilterRow()&&this._updateStickyFilterCells()))},cellIndex:function(t){var r=0;return this.lockedTable&&!e.contains(this.lockedTable[0],t[0])&&(r=Kr(Pr(this.columns)).length),e(t).parent().children("td:not(.k-group-cell,.k-hierarchy-cell)").index(t)+r},_modelForContainer:function(t){(t=e(t)).is(ht)||"popup"===this._editMode()||(t=t.closest(ht));var r=t.attr(o.attr("uid"))||t.find(".k-popup-edit-form").attr(o.attr("uid"));return this.dataSource.getByUid(r)},_calculateColumnIndex:function(t){var r=this.cellIndex(t),o=0;return this._hasVirtualColumns()&&(o=(o=parseInt(e(t).closest(ht).find("td").first().attr("colspan"),10))>1?o-1:0),r+o},_editable:function(){var t,r=this,l=r.options.editable,i=!(!r._isMobile&&!o.support.mobileOS);l&&(this.wrapper.addClass("k-editable"),"incell"===r._editMode()?(r.table.add(r.lockedTable).on(We+P,z+">"+E,(function(t){var l=e(t.target);"incell"===r._editMode()&&l.hasClass("k-checkbox")&&l.prev().attr(o.attr("bind"))&&t.preventDefault()})),!1!==l.update&&(Wt&&r.wrapper.on(Ve+P,".k-edit-cell > input[type='checkbox']",(function(t){e(t.target).trigger("focus")})).on(Ve+P,".k-edit-cell",(function(t){e(t.target).is("input")||e(t.currentTarget).find("input[type='checkbox']").trigger("focus")})).on(We+P,"tr:not(.k-grouping-row) > td",(function(t){var o=r._editContainer;o&&o[0]&&(e.contains(o[0],t.target)||o[0]===t.target)?r._mousedownOnEditCell=!0:r._mousedownOnEditCell=!1})),r.editableUserEvents=new o.UserEvents(r.wrapper,((t={filter:"tr:not(.k-grouping-row) > td",allowSelection:!0,supportDoubleTap:i,fastTap:i})[i?"doubleTap":"tap"]=function(t){var o=e(t.target),l=r.lockedTable&&o.closest("table")[0]===r.lockedTable[0];r._mousedownOnEditCell=!1,o.hasClass("k-hierarchy-cell")||o.hasClass("k-detail-cell")||o.hasClass("k-group-cell")||o.hasClass("k-edit-cell")||o.has(".k-grid-remove-command").length||o.closest("tbody")[0]!==r.tbody[0]&&!l||e(t.target).is(":input")||(r.editable?r.editable.end()?(e(s()).trigger("blur"),r.closeCell(),r.editCell(o)):r._scrollVirtualWrapper():r.editCell(o))},t)),r.wrapper.on("focusin"+P,(function(){e.contains(this,s())||(clearTimeout(r.timer),r.timer=null)})).on("focusout"+P,(function(t){var o=!0;(Wt&&r._mousedownOnEditCell||r._virtualColScroll)&&(o=!1),r._mousedownOnEditCell=!1,o&&(r.timer=setTimeout((function(){var t,o;t=s(),(o=r._editContainer)&&o[0]&&!e.contains(o[0],t)&&o[0]!==t&&!e(t).closest(".k-animation-container").length&&(r.editable.end()?r.closeCell():r._scrollVirtualWrapper())}),1))})))):!1!==l.update&&(r.wrapper.on(Ve+P,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-edit-command",(function(t){var o=e(this);r._belongsToGrid(o)&&(t.preventDefault(),r.editRow(o.closest(ht)))})),r._isVirtualInlineEditable()&&r.wrapper.on("focusout"+P,"tr:not(.k-grouping-row) > td",(function(){r.editable&&!r.editable.end()&&r._scrollVirtualWrapper()}))),!1!==l.destroy?r.wrapper.on(Ve+P,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-remove-command",(function(t){var o=e(this);r._belongsToGrid(o)&&(t.preventDefault(),t.stopPropagation(),r.removeRow(o.closest(ht)))})):r.wrapper.on(Ve+P,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-remove-command",(function(t){r._belongsToGrid(e(this))&&(t.stopPropagation(),r._confirmation()||t.preventDefault())})))},editCell:function(t){t=e(t);var r=this,o=Kr(r.columns)[r._calculateColumnIndex(t)],l=r._modelForContainer(t);if(r.closeCell(),l&&mo(o,l)&&!o.command){if(r.trigger(V,{model:l}))return;r._attachModelChange(l),r._editContainer=t,r._shouldClearEditableState&&r._clearEditableState(),r.editable=t.addClass("k-edit-cell").kendoEditable({fields:Qr(o),model:l,size:r.options.size,target:r,change:function(e){r.trigger(W,{values:e.values,container:t,model:l})&&e.preventDefault()},skipFocus:!(!r._isVirtualIncellEditable()&&!r._hasVirtualColumns()||!r._editableState)}).data("kendoEditable");var i=t.parent().addClass("k-grid-edit-row");r.lockedContent&&(ho(i[0],r._relatedRow(i).addClass("k-grid-edit-row")[0]),r._syncLockedScroll()),r.trigger(O,{container:t,model:l})}},_adjustLockedHorizontalScrollBar:function(){var e=this.table,t=e.parent(),r=e[0].offsetWidth>t[0].clientWidth?o.support.scrollbar():0;this.lockedContent.height(t[0].offsetHeight-r)},_syncLockedScroll:function(){this.lockedContent[0].scrollTop=this.content[0].scrollTop,this.virtualScrollable&&(this.lockedContent[0].scrollTop=this.wrapper.find(".k-virtual-scrollable-wrap")[0].scrollTop)},_syncLockedContentHeight:function(){this.lockedTable&&(this.touchScroller||this._adjustLockedHorizontalScrollBar(),this._adjustRowsHeight(this.table,this.lockedTable))},_syncLockedHeaderHeight:function(){if(this.lockedHeader){var e=this.lockedHeader.children("table"),t=this.thead.parent();this._adjustRowsHeight(e,t),function(e,t){if(e=e[0],t=t[0],e.rows.length!==t.rows.length){var r,o,l=e.offsetHeight,i=t.offsetHeight;l>i?(r=t.rows[t.rows.length-1],At.test(r.className)&&(r=t.rows[t.rows.length-2]),o=l-i):(r=e.rows[e.rows.length-1],At.test(r.className)&&(r=e.rows[e.rows.length-2]),o=i-l),r.style.height=r.offsetHeight+o+ut}}(e,t)}},_syncLockedFooterHeight:function(){this.lockedFooter&&this.footer&&this.footer.length&&this._adjustRowsHeight(this.lockedFooter.children("table"),this.footer.find(".k-grid-footer-wrap > table"))},_destroyEditable:function(){var e=this,t=function(){if(e.editable){var t=e.editView?e.editView.element:e._editContainer,r=e._editContainer.data("kendoWindow");t&&(t.off(Ve+P,".k-grid-cancel-command",e._editCancelClickHandler),t.off(Ve+P,".k-grid-save-command",e._editUpdateClickHandler)),e._detachModelChange(),e.editable.destroy(),e.editable=null,r&&r.destroy(),e._editContainer=null,e._destroyEditView(),e._editableIsClosing=null}};e.editable&&("popup"!==e._editMode()||e._isMobile?t():e._editableIsClosing?e._editContainer.data("kendoWindow").bind("deactivate",t):(e._editableIsClosing=!0,e._editContainer.data("kendoWindow").bind("deactivate",t).close())),e._confirmDialog&&(e._confirmDialog.close(),e._confirmDialog.destroy(),e._confirmDialog=null)},_destroyEditView:function(){this.editView&&(this.editView.purge(),this.editView=null,this.pane.navigate(""))},_attachModelChange:function(e){var t=this;t._modelChangeHandler=function(e){t._modelChange({field:e.field,model:this})},e.bind("change",t._modelChangeHandler)},_detachModelChange:function(){var e=this,t=e._editContainer,r=e._modelForContainer(t);r&&r.unbind($,e._modelChangeHandler)},closeCell:function(e){var t,r,o,i=this,n=i._editContainer;n&&(o=i._modelForContainer(n),e&&i.trigger("cancel",{container:n,model:o})||(i.trigger(Q,{type:e?"cancel":"save",model:o,container:n}),n.removeClass("k-edit-cell"),t=Kr(i.columns)[i._calculateColumnIndex(n)],r=n.parent().removeClass("k-grid-edit-row"),i.lockedContent&&i._relatedRow(r).removeClass("k-grid-edit-row"),i._destroyEditable(),i._displayCell(n,t,o),i._shouldClearEditableState&&i._clearEditableState(),i.trigger("itemChange",{item:r,data:o,ns:l}),i.lockedContent&&ho(r.css(Ke,"")[0],i._relatedRow(r).css(Ke,"")[0])))},_displayCell:function(e,t,r){var l={storage:{},count:0},i=f({},o.Template,this.options.templateSettings),n=o.template(this._cellTmpl(t,l),i);l.count>0&&(n=n.bind(l.storage)),e.empty().html(n(r))},removeRow:function(e){this._confirmation(e)&&this._removeRow(e)},_removeRow:function(t){var r,o,l,i=this,n=i._editMode();"incell"!==n&&i.cancelRow(),t=e(t),i.lockedContent&&(t=t.add(i._relatedRow(t))),t=t.hide(),i.dataSource._isGroupPaged()&&i._removeGroupIfEmpty(t),(r=i._modelForContainer(t))&&!i.trigger(B,{row:t,model:r})?(l=i.dataSource.options.schema,i._selectedIds&&l&&l.model&&(o=r[v(i.dataSource.options.schema.model)?i.dataSource.options.schema.model.fn.idField:i.dataSource.options.schema.model.id],delete i._selectedIds[o]),i.dataSource.remove(r),"inline"!==n&&"popup"!==n||i.dataSource.sync()):"incell"===n&&i._destroyEditable()},_editMode:function(){var e="incell",t=this.options.editable;return!0!==t&&(e="string"==typeof t?t:t.mode||e),e},editRow:function(t){var r,l=this;t instanceof n?r=t:(t=e(t),r=l._modelForContainer(t));var i,a=l._editMode();l.cancelRow(),r&&(t=l.tbody.children("["+o.attr("uid")+"="+r.uid+"]"),l._attachModelChange(r),"popup"===a?l._createPopupEditor(r):"inline"===a?l._createInlineEditor(t,r):"incell"===a&&e(t).children(R).each((function(){var t=e(this),o=Kr(l.columns)[l._calculateColumnIndex(t)];if((r=l._modelForContainer(t))&&(!r.editable||r.editable(o.field))&&o.field&&!o.selectable)return l.editCell(t),!1})),(i=l.editView?l.editView.element:l._editContainer)&&(this._editCancelClickHandler||(this._editCancelClickHandler=this._editCancelClick.bind(this)),i.on(Ve+P,".k-grid-cancel-command",this._editCancelClickHandler),this._editUpdateClickHandler||(this._editUpdateClickHandler=this._editUpdateClick.bind(this)),i.on(Ve+P,".k-grid-save-command",this._editUpdateClickHandler)))},_editUpdateClick:function(e){e.preventDefault(),e.stopPropagation(),this.saveRow()},_editCancelClick:function(t){var r=this,o=r.options.navigatable,l=r.editable.options.model,i=r.editView?r.editView.element:r._editContainer;if(t.preventDefault(),t.stopPropagation(),!r.trigger("cancel",{container:i,model:l})){var n=r.items().index(e(r.current()).parent());r.cancelRow(),o&&(r._setCurrent(r.items().eq(n).children().filter(E).first()),fo(r.table,!0))}},_editFields:function(e,t){for(var r,o=[],l=0;l<e.length;l++)(r=e[l]).selectable||r.command||mo(r,t)&&o.push(Qr(r));return o},_createPopupEditor:function(t){var r,i,n,a,s,d,c,u,h,g,m,b,k,_,v=this,C="<div "+o.attr("uid")+'="'+t.uid+'" class="k-popup-edit-form"><'+(v._isMobile?'ul class="k-edit-form-container k-listgroup k-listgroup-flush">':'div class="k-edit-form-container">'),y=Kr(v.columns),S=o.guid(),x=v.options.editable,T=x.template,H=p(x)?x.window:{},R=f({},o.Template,v.options.templateSettings);if(!v.trigger(V,{model:t})){if(H=H||{},T)for(typeof T===Xe&&(T=o.unescape(T)),C+=o.template(T,R)(t),n=0,a=y.length;n<a;n++)(r=y[n]).command&&(g=po(r.command,"edit"))&&(i=g);else for(n=0,a=y.length;n<a;n++)(r=y[n]).selectable||(r.command?r.command&&(g=po(r.command,"edit"))&&(i=g):v._isMobile&&(C+='<li class="k-item k-listgroup-item">',mo(r,t)?(C+='<label class="k-label k-listgroup-form-row">',C+='<span class="k-item-title k-listgroup-form-field-label">'+(r.title&&(v.options.encodeTitles?So(r.title,!0):r.title)||r.field||"")+"</span>",C+='<div class="k-listgroup-form-field-wrapper" id="'+r.field+"_"+S+'" '+o.attr("container-for")+'="'+r.field+'"></div>',C+="</label>"):(b={storage:{},count:0},s=o.template(v._cellTmpl(r,b),R),b.count>0&&(s=s.bind(b.storage)),C+='<label class="k-label k-listgroup-form-row k-no-click">',C+='<span class="k-item-title k-listgroup-form-field-label">'+(r.title&&(v.options.encodeTitles?So(r.title,!0):r.title)||r.field||"")+"</span>",C+='<span class="k-no-editor k-listgroup-form-field-wrapper">'+s(t)+"</span>",C+="</label>"),C+="</li>"));i&&p(i)&&(p(i.text)&&(d=i.text.update,c=i.text.cancel),p(i.iconClass)&&(u=i.iconClass.update,h=i.iconClass.cancel),i.attr&&(m=i.attr)),v._isMobile?(C+="</ul></div>",v.editView=v.pane.append("<div data-"+o.ns+'role="view" class="k-grid-edit-form"><div data-'+o.ns+'role="header" class="k-header"><a href="\\#" class="k-header-cancel k-link k-grid-cancel-command" title="#=messages.cancel#" aria-label="#=messages.cancel#">'+o.ui.icon("chevron-left")+"</a>"+w(v.options.messages.commands.edit||"Edit")+'<a href="\\#" class="k-header-done k-link k-grid-save-command" title="#=messages.done#" aria-label="#=messages.done#">'+o.ui.icon("check")+"</a></div><div data-"+o.ns+'role="content" class="'+Bt+'">'+C+"</div></div>"),k=v._editContainer=v.editView.element.find(".k-popup-edit-form")):(_='<div class="k-edit-buttons k-actions-start">',_+=v._createButton({name:"update",text:d,attr:m,iconClass:u,size:"medium"})+v._createButton({name:"canceledit",text:c,attr:m,iconClass:h,size:"medium"}),_+="</div>",C+=T?_+"</div>":"</div>",k=v._editContainer=e(C).appendTo(v.wrapper).eq(0).kendoWindow(f({modal:!0,resizable:!1,draggable:!0,title:v.options.messages.commands.edit||"Edit",visible:!1,close:function(r){if(r.userTriggered){if(r.sender.element.trigger("focus"),v.trigger("cancel",{container:k,model:t}))return void r.preventDefault();var o=v.items().index(e(v.current()).parent());v._editableIsClosing=!0,v.cancelRow(),v.options.navigatable&&(v._setCurrent(v.items().eq(o).children().filter(E).first()),fo(v.table,!0))}}},H))),T||v._isMobile?v.editable=v._editContainer.kendoEditable({fields:v._isMobile?v._editFields(y,t):null,model:t,clearContainer:!1,target:v,skipFocus:!0}).data("kendoEditable"):(v.editable=new l.Form(v._editContainer.find(".k-edit-form-container"),{items:v._editFields(y,t),buttonsTemplate:function(){return""},formData:t}).editable,v._editContainer.append(_)),v._openPopUpEditor(),v.trigger(O,{container:k,model:t})}},_openPopUpEditor:function(){var e=this,t=e._editContainer?e._editContainer.data("kendoWindow"):null,r=(e.options.editable||{}).window||{};this._isMobile?this.pane.navigate(this.editView,this._editAnimation):t&&(r.position||t.center(),t.open())},_createInlineEditor:function(t,r){var l,i,n,a=this,s=[];a.trigger(V,{model:r})||(a.lockedContent&&(t=t.add(a._relatedRow(t))),t.children(":not(.k-group-cell,.k-hierarchy-cell)").each((function(){if(i=e(this),!(l=Kr(a.columns)[a._calculateColumnIndex(i)]).command&&mo(l,r))s.push(Qr(l)),i.attr(o.attr("container-for"),l.field),i.empty();else if(l.command){var t,d,c,u,h;if(n=po(l.command,"edit"))i.empty(),p(n)&&(p(n.text)&&(t=n.text.update,d=n.text.cancel),p(n.iconClass)&&(c=n.iconClass.update,u=n.iconClass.cancel),n.attr&&(h=n.attr)),e(a._createButton({name:"update",text:t,attr:h,iconClass:c})+a._createButton({name:"canceledit",text:d,attr:h,iconClass:u})).appendTo(i)}})),a._editContainer=t,a._editContainer.addClass("k-grid-edit-row"),a._shouldClearEditableState&&a._clearEditableState(),a.editable=new o.ui.Editable(a._editContainer,{target:a,fields:s,size:a.options.size,model:r,skipFocus:a._isVirtualInlineEditable()&&a._editableState&&!!a._editableState.field||a._hasVirtualColumns(),clearContainer:!1}),t.length>1&&(ho(t[0],t[1]),a._applyLockedContainersWidth()),a.trigger(O,{container:t,model:r}))},cancelRow:function(e){var t,r=this,l=r._editContainer;if(l){if(!(t=r._modelForContainer(l))||e&&r.trigger("cancel",{container:l,model:t}))return;r._destroyEditable(),r.dataSource.cancelChanges(t),r._clearEditableState(),"popup"!==r._editMode()?r._displayRow(l):r._displayRow(r.tbody.find("["+o.attr("uid")+"="+t.uid+"]"))}},saveRow:function(){var t,r=this,o=this._editContainer,l=this._modelForContainer(o),i=e.Deferred();return o&&this.editable?!(t=r.editable&&r.editable.end())||this.trigger(W,{container:o,model:l})?(t||r._scrollVirtualWrapper(),i.reject().promise()):(r._clearEditableState(),this.dataSource.sync()):i.resolve().promise()},_displayRow:function(t){var r,i,n,a=this,s=a._modelForContainer(t),d=t.hasClass(fe),c=t.hasClass("k-alt");s&&(a.lockedContent&&(r=e((c?a.lockedAltRowTemplate:a.lockedRowTemplate)(s)),o.applyStylesFromKendoAttributes(r,["display"]),a._relatedRow(t.last()).replaceWith(r)),i=e((c?a.altRowTemplate:a.rowTemplate)(s)),t.is(":visible")||i.hide(),o.applyStylesFromKendoAttributes(i,["display"]),t.replaceWith(i),a.trigger("itemChange",{item:i,data:s,ns:l}),r&&r.length&&a.trigger("itemChange",{item:r,data:s,ns:l}),d&&(a.options.selectable||a._checkBoxSelection)&&a.select(i.add(r)),r&&ho(i[0],r[0]),(n=i.next()).hasClass("k-detail-row")&&n.is(":visible")&&o.ui.icon(i.find(".k-hierarchy-cell .k-icon,.k-hierarchy-cell .k-svg-icon"),{icon:"caret-alt-down"}))},_showMessage:function(t,r){var l=this;return l._isMobile?((l._confirmDialog=new o.ui.Confirm(e("<div />").appendTo(document.body),{modal:{preventScroll:!0},closable:!1,title:!1,content:t.title,messages:{okText:t.confirmDelete,cancel:t.cancelDelete},open:function(){l.content&&(l.content.data(it,l.content.css(it)),l.content.css(it,"hidden"))},close:function(){l.content&&l.content.css(it,l.content.data(it))}})).result.done((function(){l._removeRow(r)})).fail((function(){var e=l._confirmDialog;e&&(e.close(),e.destroy())})),!1):window.confirm(t.title)},_confirmation:function(e){var t=this,r=t.options.editable,o=!0===r||typeof r===Xe?t.options.messages.editable.confirmation:r.confirmation;return p(r)&&typeof r.mode===Xe&&typeof o!==Je&&typeof o!==Xe&&!1!==o&&(o=t.options.messages.editable.confirmation),!1===o||null==o||(typeof o===Je&&(o=o(t._modelForContainer(e))),t._showMessage({confirmDelete:r.confirmDelete||t.options.messages.editable.confirmDelete,cancelDelete:r.cancelDelete||t.options.messages.editable.cancelDelete,title:!0===o?t.options.messages.editable.confirmation:o},e))},cancelChanges:function(){var e=this;e._cachedRowsHeight&&(e._mapCachedRowsHeight("getByUid","id"),e._shouldMapHights=!0),e.dataSource.cancelChanges(),e._isVirtualEditable()&&e._virtualPageToTop((function(){e.virtualScrollable.scrollToTop()}))},saveChanges:function(){var e=this,t=e.editable&&e.editable.end();!t&&e.editable||e.trigger(Z)?t||e._scrollVirtualWrapper():e.dataSource.sync()},addRow:function(){var e,t,r=this,o=r.dataSource,l=r._editMode(),i=r.options.editable.createAt||"",n=o.pageSize(),a=o.view()||[],s=i.toLowerCase()===Ze,d=r._isVirtualEditable();r.editable&&r.editable.end()||!r.editable?("incell"!=l&&r.cancelRow(),e=o.indexOf(a[0]),s&&(e+=a.length,n&&!o.options.serverPaging&&n<=a.length&&(e-=1)),e<0&&(e=o.page()>o.totalPages()?(o.page()-1)*n:0),r.options.navigatable&&"incell"==l&&r._removeCurrent(),d?r._virtualAddRow():(t=o.insert(e,{}),r._editModel(t))):r._scrollVirtualWrapper()},_editModel:function(e){var t=this,r=t.options.editable.createAt||"",l=t._editMode();if(e){var i=e.uid,n=(t.lockedContent?t.lockedTable:t.table).find("tr["+o.attr("uid")+"="+i+"]"),a=n.children("td:not(.k-group-cell,.k-hierarchy-cell)").eq(t._firstEditableColumnIndex(n));"inline"===l&&n.length?t.editRow(n):"popup"===l?t.editRow(e):a.length&&t.editCell(a),"bottom"==r.toLowerCase()&&t.lockedContent&&(t.lockedContent[0].scrollTop=t.content[0].scrollTop=t.table[0].offsetHeight)}},_virtualAddRow:function(){var e=this,t=(e.options.editable.createAt||"").toLowerCase()===Ze;e._clearEditableState(),t?e._virtualAddRowAtBottom():e._virtualAddRowAtTop()},_virtualAddRowAtTop:function(){var e,t=this,r=t.dataSource,o=t.virtualScrollable;1===r.page()?(e=r.insert(0,{}),t._editModel(e),o.scrollToTop()):t._virtualPageToTop((function(){e=r.insert(0,{}),t._editModel(e),o.scrollToTop()}))},_virtualAddRowAtBottom:function(){var e,t=this,r=t.dataSource,o=t.virtualScrollable,l=r.total();r.at(l-1)instanceof n?(e=r.insert(l,{}),t._virtualPageToBottom((function(){t._editModel(e),o.scrollToBottom()}))):t._virtualPageToBottom((function(){e=r.insert(l,{}),t._editModel(e),o.scrollToBottom()}))},_virtualPageToTop:function(e){this._virtualPage(0,this.dataSource.take(),(function(){e()}))},_virtualPageToBottom:function(e){var t=this.dataSource,r=t.take(),o=t.total(),l=o>r?o-r:0;this._virtualPage(l,r,(function(){e()}))},_virtualPage:function(e,t,r){var o=this;o._isVirtualEditable()&&(o.virtualScrollable._preventScroll=!0,o.virtualScrollable._page(e,t,r))},_firstEditableColumnIndex:function(e){var t,r,o,l=Kr(this.columns),i=this._modelForContainer(e);for(r=0,o=l.length;r<o;r++)if(t=l[r],i&&(!i.editable||i.editable(t.field))&&!t.command&&t.field&&!0!==t.hidden)return r;return-1},_clickAdd:function(e){e.preventDefault&&e.preventDefault(),this.addRow()},_clickCancel:function(e){e.preventDefault&&e.preventDefault(),this.cancelChanges()},_clickExcel:function(e){e.preventDefault&&e.preventDefault(),this.saveAsExcel()},_clickPdf:function(e){var t=this;e.preventDefault&&e.preventDefault();var r=t.saveAsPDF();r&&r.done((function(){t._pdfInitialized=!1}))},_clickSave:function(e){e.preventDefault&&e.preventDefault(),this.saveChanges()},_searchInput:function(e){var t=this,r=e.currentTarget;clearTimeout(t._searchTimeOut),t._searchTimeOut=setTimeout((function(){t._searchTimeOut=null;var e=t.options,o=e.search?e.search.fields:null,l={filters:[],logic:"or"},i=r.value;if(o||(o=function(e){var t=[];e=Kr(e);for(var r=0;r<e.length;r++)"string"==typeof e[r]?t.push(e[r]):e[r].field&&t.push(e[r].field);return t}(e.columns)),t.dataSource.options.endless&&(t.dataSource.options.endless=null,t._endlessPageSize=t.dataSource.options.pageSize),i)for(var n=0;n<o.length;n++)t._pushExpression(l.filters,o[n],i);else l={};t.dataSource.filter(l)}),300)},_pushExpression:function(e,t,r){var l=this,i=l.dataSource.options.serverFiltering,n={string:"contains",number:"gte",date:"gte",enums:"eq",boolean:"eq"},a=t.name||t,s=t.operator,d=l.dataSource.reader.model&&l.dataSource.reader.model.fields,c=d&&d[a],u=c&&c.parse,h={field:a,operator:s||n.string,value:r};(s||i)&&c&&o.isFunction(u)&&null!==u(r)&&f(h,{operator:s||n[c.type],value:u(r)}),i&&c&&o.isFunction(u)&&null===u(r)||e.push(h)},_toolbar:function(){var t,r,l=this,i=l.wrapper,n=l.options.toolbar;n&&(l._createClickHandler=l._addClickHandler=l._clickAdd.bind(l),l._cancelClickHandler=l._clickCancel.bind(l),l._saveClickHandler=l._clickSave.bind(l),l._excelClickHandler=l._clickExcel.bind(l),l._pdfClickHandler=l._clickPdf.bind(l),l._serachHandler=l._searchInput.bind(l),(t=l.wrapper.find(".k-grid-toolbar")).length?l._attachToolbarClicks():(t=e('<div class="k-grid-toolbar k-toolbar" />').prependTo(i),typeof n===Xe||v(n)?(typeof n===Xe&&(n=o.template(n).bind(l)),t.html(n({grid:l})),l._attachToolbarClicks()):b(n)&&(r=l._processItems(n),t.kendoToolBar({navigateOnTab:!l.options.navigatable,size:l.options.size,items:r}))),t.on(rt+P,".k-grid-search input",this._serachHandler))},_attachToolbarClicks:function(){var e=this.options.editable,t=this.wrapper.find(".k-grid-toolbar");e&&!1!==e.create&&t.on(Ve+P,".k-grid-add",this._createClickHandler).on(Ve+P,".k-grid-cancel-changes",this._cancelClickHandler).on(Ve+P,".k-grid-save-changes",this._saveClickHandler),t.on(Ve+P,".k-grid-excel",this._excelClickHandler),t.on(Ve+P,".k-grid-pdf",this._pdfClickHandler)},_processItems:function(e){var r=this,l=[],i=this.options.messages.commands;return e.map((function(e){var n,a,s,d,c="";if("string"==typeof e?(n=e.toLowerCase(),(e={}).text=i[n]||n):(n=(e.name||e.text||"").toLowerCase(),e.text=e.text||i[n]||n),"search"===n)l.push({type:"spacer"}),a=e.text||i.search,s=e.icon||e.iconClass||"search",c+="<span class='k-searchbox k-input "+o.getValidCssClass("k-input-","size",r.options.size)+" k-rounded-md k-input-solid k-grid-search'>",c+=o.ui.icon({icon:s,iconClass:"k-input-icon"}),c+="<input autocomplete='off' placeholder='"+a+"' title='"+a+"' aria-label='"+a+"' class='k-input-inner' />",c+="</span>",l.push({name:"search",overflow:"never",template:c});else{if(!(n||p(e)&&e.template))throw new Error("Custom commands should have name specified");d=(e=f({type:"button"},Xt[n],e)).className||"k-grid-"+(n||"").replace(/\s/g,""),e.spriteCssClass=e.icon?null:e.iconClass,e.attributes=r._processAttr(e.attr),delete e.attr,d&&(e.attributes.class===t&&(e.attributes.class=""),e.attributes.class+=" "+d),e.template&&delete e.type,r["_"+n+"ClickHandler"]&&(e.click=r["_"+n+"ClickHandler"]),l.push(e)}})),l},_processAttr:function(e){var t={};return typeof e===Xe&&e.length>0?e.split(" ").map((function(e){var r=e.split("=");2===r.length&&(t[r[0]]=r[1].replaceAll('"',"").replaceAll("'",""))})):p(e)&&(t=e),t},_createButton:function(r){var l,i,n=r.template||Dt,a=typeof r===Xe?r:r.name||r.text,s={className:Xt[a]?Xt[a].className:"k-grid-"+(a||"").replace(/\s/g,""),text:a,attr:"",iconClass:"",size:r.size||this.options.size},d=this.options.messages.commands;if(!(a||p(r)&&r.template))throw new Error("Custom commands should have name specified");return p(r)?((r=f(!0,{},r)).className&&k(s.className,r.className.split(" "))<0?r.className+=" "+s.className:r.className===t&&(r.className=s.className),r.className.indexOf("k-primary")>-1&&(r.className=r.className.replace("k-primary",""),r.themeColor="primary"),"edit"===a&&((r=f(!0,{},r)).text=p(r.text)?r.text.edit:r.text,r.iconClass=p(r.iconClass)?r.iconClass.edit:r.iconClass),r.attr&&(p(r.attr)&&(r.attr=Jt(r.attr)),typeof r.attr===Xe&&(i=r.attr.match(/class="(.+?)"/))&&k(i[1],r.className.split(" "))<0&&(r.className+=" "+i[1])),s=f(!0,s,Xt[a],{text:d[a]},r)):s=f(!0,s,Xt[a],{text:d[a]}),l=o.template(n)(s),r.template?l:o.html.renderButton(e(l),s)},_hasFooters:function(){return!!this.footerTemplate||!!this.groupFooterTemplate||this.footer&&this.footer.length>0||this.wrapper.find(".k-grid-footer").length>0},_groupable:function(){var t=this;t._groupableClickHandler?t.table.add(t.lockedTable).off(Ve+P,t._groupableClickHandler):t._groupableClickHandler=function(r){var o=e(this),l=o.closest(ht),i=t._groupRows?t._groupRows[t.wrapper.find(x+Ie).index(l)]:{};o.is(F)?t.trigger("groupCollapse",{group:i,element:l})||t.collapseGroup(l):t.trigger("groupExpand",{group:i,element:l})||t.expandGroup(l),r.preventDefault(),r.stopPropagation()},t._isLocked()?t.lockedTable.on(Ve+P,".k-grouping-row "+L+", .k-grouping-row "+F,t._groupableClickHandler):t.table.on(Ve+P,".k-grouping-row "+L+", .k-grouping-row "+F,t._groupableClickHandler),t._attachGroupable()},_attachGroupable:function(){var t=this,r=t.wrapper,i=t.options.groupable,n=M+"["+o.attr("field")+"]",a=t.content?".k-grid-header:first "+n:"table:first>.k-grid-header "+n;i&&!1!==i.enabled&&(r.has("div.k-grouping-header")[0]||e("<div/>").addClass("k-grouping-header").prependTo(r),t.groupable&&t._destroyGroupable(),Ot.chrome&&(r.find("div.k-grouping-header").css("touch-action",St),r.find(a).css("touch-action",St)),t.groupable=new l.Groupable(r,f({},i,{draggable:t._draggableInstance,groupContainer:">div.k-grouping-header",dataSource:t.dataSource,draggableElements:a,filter:a,size:t.options.size,allowDrag:t.options.reorderable,enableContextMenu:!!t.options.contextMenu,removeGroup:function(e){t._showUngroupedColumn(e)},change:function(e){t.trigger("group",{groups:e.groups})?e.preventDefault():(t._clearEditableState(),t._hideGroupedColumns(e.groups),t.dataSource.options.endless&&t._resetEndless())}})),t._addGroupableOptionsToHeader())},_showUngroupedColumn:function(e){var t,r=Kr(this.columns);for(t=0;t<r.length;t++)r[t].uid==e.colID&&r[t].hideOnGroup&&this.showColumn(r[t])},_hideGroupedColumns:function(e){if(e){var t,r=Kr(this.columns),o=[];for(t=0;t<e.length;t++)e[t].colID&&o.push(e[t].colID);for(t=0;t<r.length;t++)o.indexOf(r[t].uid)>=0&&r[t].hideOnGroup&&this.hideColumn(r[t])}},_resetEndless:function(){var e=this;e.dataSource.options.endless=null,e._endlessPageSize=e.dataSource.options.pageSize,e.dataSource._skip=0,e.dataSource._pageSize=e.dataSource._take=e._endlessPageSize,e.dataSource._page=1},_addGroupableOptionsToHeader:function(){var e,t,r,l=Rr(this.columns),i={},n=this._headerCells();for(r=0;r<l.length;r++)l[r].field,i[l[r].field]=l[r];for(r=0;r<n.length;r++)(t=i[(e=n.eq(r)).attr(o.attr(tt))])&&t.groupable&&t.groupable.sort&&e.data(at,t.groupable.sort)},_destroyGroupable:function(){var e=this;e.groupable&&e.groupable.element&&e.groupable.element.kendoGroupable("destroy"),e.groupable=null,e._removeGroupableOptionsFromHeader()},_removeGroupableOptionsFromHeader:function(){for(var e=this._headerCells(),t=0;t<e.length;t++)e.eq(t).removeData(at)},_continuousItems:function(t,r){if(this.lockedContent){for(var o=this,l=o.table.add(o.lockedTable),i=e(t,l[0]),n=e(t,l[1]),a=r?Pr(Kr(o.columns)).length:1,s=r?Kr(o.columns).length-a:1,d=[],c=0;c<i.length;c+=a)_.apply(d,i.slice(c,c+a)),_.apply(d,n.splice(0,s));return d}},_selectable:function(){var t,r,l=this,i=[],n=l._isLocked(),a=l.options.selectable;if(a){l.selectable&&l.selectable.destroy(),l._selectedIds={},a=o.ui.Selectable.parseOptions(a),t=a.multiple,r=a.cell,l._hasDetails()&&(i[i.length]=".k-detail-row"),(l.options.groupable||l._hasFooters()||l._groups())&&(i[i.length]=".k-grouping-row,.k-group-footer"),""!==(i=i.join(","))&&(i=":not("+i+")");var s=l.table;n&&(s=s.add(l.lockedTable));var d=">"+(r?"tbody>tr:not(.k-grouping-row):not(.k-detail-row):not(.k-group-footer) > td:not(.k-group-cell):not(.k-hierarchy-cell)":"tbody>tr"+i);l.selectable=new o.ui.Selectable(s,{filter:d,aria:!0,multiple:t,holdToDrag:!(!l._isMobile&&!o.support.mobileOS),toggleable:!(!l._isMobile&&!o.support.mobileOS),dragToSelect:l.options.selectable&&l.options.selectable.dragToSelect,changing:function(e){l.trigger(Y,{target:e.target,originalEvent:e.originalEvent})&&e.preventDefault()},change:function(e){var t;r||l._persistSelectedRows(),l._checkBoxSelection&&(t=l.selectable.value(),l._uncheckCheckBoxes(),l._checkRows(t),t.length&&t.length===l.items().length?l._toggleHeaderCheckState(!0):l._toggleHeaderCheckState(!1)),e.event&&l.trigger($)},useAllItems:n&&t&&r,relatedTarget:function(t){if(!r&&n){for(var o,i=e(),a=0,s=t.length;a<s;a++)o=l._relatedRow(t[a]),k(o[0],t)<0&&(i=i.add(o));return i}},continuousItems:function(){return l._continuousItems(d,r)},ignoreOverlapped:l.options.selectable&&l.options.selectable.ignoreOverlapped,addIdToRanges:!0}),l.options.navigatable&&s.on("keydown"+P,(function(o){var i,a,d=l.current(),c=o.target,u={event:o};if(d)if(o.keyCode===h.SPACEBAR&&!o.shiftKey&&e.inArray(c,s)>-1&&!d.is(".k-edit-cell,.k-header")&&d.parent().is(":not(.k-grouping-row,.k-detail-row,.k-group-footer)")){if(o.preventDefault(),o.stopPropagation(),((i=!(d=r?d:d.parent()).hasClass(fe)||l.selectable.value().length>1)||t&&d.hasClass(fe)&&o.ctrlKey)&&l.trigger(Y,{target:d,originalEvent:o}))return;if(n&&!r&&(d=d.add(l._relatedRow(d))),t)if(o.ctrlKey){if(d.hasClass(fe))return l._deselectCheckRows(d),void l.trigger($)}else l.selectable.clear();else l.selectable.clear();r||(l.selectable._lastActive=d),l.selectable.value(d),i&&l.trigger($)}else if(!r&&(e(c).is("td")||e(c).is("table")&&k(c,this._navigatableTables))&&(o.shiftKey&&o.keyCode==h.LEFT||o.shiftKey&&o.keyCode==h.RIGHT||o.shiftKey&&o.keyCode==h.UP||o.shiftKey&&o.keyCode==h.DOWN||o.keyCode===h.SPACEBAR&&o.shiftKey)){if(o.preventDefault(),o.stopPropagation(),d=d.parent(),l.trigger(Y,{target:d,originalEvent:o}))return;a=l.selectable.value(),n&&(d=d.add(l._relatedRow(d))),t?(l.selectable._lastActive||(l.selectable._lastActive=d),l.selectable.selectRange(l.selectable._firstSelectee(),d),function(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(a,l.selectable.value())||l.trigger($,u)):d.hasClass(fe)||(l.selectable.clear(),l.selectable.value(d),l.trigger($))}}))}},_clipboard:function(){var e=this.options;if(e.selectable&&e.allowCopy){var t=this;e.navigatable||(t.table.attr($e,0),t.table.add(t.lockedTable).on(We+P+" keydown"+P,".k-detail-cell",(function(e){e.target!==e.currentTarget&&e.stopImmediatePropagation()})).on(We+P,z+">"+E,ko.bind(t))),t.copyHandler=t.copySelection.bind(t),t.updateClipBoardState=function(){t.areaClipBoard&&t.areaClipBoard.val(t.getTSV()).trigger("focus").select()},t.bind("change",t.updateClipBoardState),t.wrapper.on("keydown",t.copyHandler),t.clearAreaHandler=t.clearArea.bind(t),t.wrapper.on("keyup",t.clearAreaHandler)}},copySelectionToClipboard:function(e){this._createAreaClipBoard(),this.areaClipBoard.val(this.getTSV(e)).trigger("focus").select(),document.execCommand("copy")},copySelection:function(t){t instanceof jQuery.Event&&!t.ctrlKey&&!t.metaKey||e(t.target).is("input:visible,textarea:visible")||window.getSelection&&window.getSelection().toString()||document.selection&&document.selection.createRange().text||(this._createAreaClipBoard(),this.areaClipBoard.val(this.getTSV()).trigger("focus").select())},_createAreaClipBoard:function(){this.areaClipBoard||(this.areaClipBoard=e("<textarea />").css({position:"fixed",top:"50%",left:"50%",opacity:0,width:0,height:0}).appendTo(this.wrapper))},getTSV:function(r){var o=this,l=o.select(),i="\t",n=o.options.allowCopy,a=o._isLocked()&&Pr(o.columns).length;e.isPlainObject(n)&&n.delimeter&&(i=n.delimeter);var s="";if(l.length){l.eq(0).is(ht)&&(l=l.find("td:not(.k-group-cell)")),l.filter(":visible");var d,c=[],u=this.columns.length,h=o._isLocked()&&Pr(o.columns).length,p=!0,f=[],g=Gr(this.columns);e.each(l,(function(t,r){r=e(r),d=o._getCellField(r,a);var l=r.closest(ht).index(),i=r.index();i-=r.prevAll(":hidden").length,h&&p&&(p=e.contains(o.lockedTable[0],r[0])),o._groups()&&p&&(i-=o._groups()),i=p?i:i+h,d&&(f[i]=d),u>i&&(u=i);var n=r.text();c[l]||(c[l]=[]),c[l][i]=n}));var m=c.length;if(c=e.each(c,(function(e,t){t&&(c[e]=t.slice(u),m>e&&(m=e))})),r&&f.length){c.splice(m,0,f.map((function(e){return function(e,t){return t.filter((function(t){return t.field===e}))[0].title||e}(e,g)})));var b=c.findIndex((function(e){return e!==t}));c[b]=c[b].slice(u)}e.each(c.slice(m),(function(e,t){s+=t?t.join(i)+"\r\n":"\r\n"}))}return s},clearArea:function(e){this.areaClipBoard&&e&&e.target===this.areaClipBoard[0]&&fo(this.table,!0),this.areaClipBoard&&(this.areaClipBoard.remove(),this.areaClipBoard=null)},_adaptiveColumns:function(){var e=this;e._anyColumnHasMediaQuery()&&(e._setColumnsMediaVisibility(e.columns),e._attachColumnMediaResizeHandler())},_anyColumnHasMediaQuery:function(){return this._columnsWithMediaQuery().length},_columnsWithMediaQuery:function(){return fr(this.columns)},_attachColumnMediaResizeHandler:function(){var t=this;t._detachColumnMediaResizeHandler(),t._columnMediaResizeHandler=t._onColumnMediaResize.bind(t),e(window).on(ze+P,t._columnMediaResizeHandler)},_detachColumnMediaResizeHandler:function(){this._columnMediaResizeHandler&&e(window).off(ze+P,this._columnMediaResizeHandler)},_onColumnMediaResize:function(){var e=this;e._setColumnsMediaVisibility(e.columns),e._setContentMediaWidth()},_setColumnsMediaVisibility:function(e){for(var t=e||[],r=0;r<t.length;r++)this._setColumnMediaVisibility(t[r])},_setColumnMediaVisibility:function(e){var t=this;gr(e.media)?t._setColumnsMediaVisibility(e.columns):cr(e)?(t._showColumnByMedia(e),e.hidden||t._setColumnsMediaVisibility(e.columns)):t._hideColumnByMedia(e)},_showColumnByMedia:function(e){e.hidden||this.showColumn(e),dr(e)},_hideColumnByMedia:function(e){var t=e.hidden;t||(e._hideByMedia=!0,this.hideColumn(e),e._hideByMedia=!1,e.hidden=t),dr(e)},_setContentMediaWidth:function(){var t,r,o=this,l=o.options,i=o._isLocked();if(l.scrollable&&(!0===l.resizable||l.resizable&&!0===l.resizable.columns)){i&&o.lockedFooter?t=o.lockedFooter.children("table"):o.footer&&(t=o.footer.find(">.k-grid-footer-wrap>table")),t&&t[0]||(t=e());var n=i?o.wrapper.find(".k-grid-header-locked").find("table"):o.wrapper.find(".k-grid-header").find("table"),a=i?o.lockedTable:o.table,s=n.find("th"),d=n.find("colgroup"),u=s.length,h=s.filter(ur).length,p=s.length-h,f=0;if(""!==n[0].style.width&&parseFloat(n[0].style.width)!==f){for(var g=n.css(Qe),m=0;m<u;m++)if(r=s[m],e(r)[0].style.display!==St){var b,k=Math.max(m,m-p),_=d.children()[k],v=_?_.style.width:"";""!==v?b=parseFloat(v):(n.css(Qe,Ye),b=c(s.eq(m)),n.css(Qe,g)),f+=b}a.css("width",f-1),n.css("width",f),t.css("width",f),o._updateStickyColumns()}}},_minScreenSupport:function(){this.hideMinScreenCols()&&(this.minScreenResizeHandler=this.hideMinScreenCols.bind(this),e(window).on("resize",this.minScreenResizeHandler))},hideMinScreenCols:function(){var e=this.columns,t=window.innerWidth>0?window.innerWidth:screen.width;return this._iterateMinScreenCols(e,t)},_iterateMinScreenCols:function(e,r){for(var o=!1,l=0;l<e.length;l++){var i=e[l],n=i.minScreenWidth;n!==t&&null!==n&&(o=!0,n>r?this.hideColumn(i):this.showColumn(i)),!i.hidden&&i.columns&&(o=this._iterateMinScreenCols(i.columns,r)||o)}return o},_stickyColumns:function(){this._anyStickyColumns()&&this._setStickyColumns(!1)},_updateStickyColumns:function(){var e=this,t=m(Kr(e.columns),(function(e){return e.groupHeaderColumnTemplate}));e._anyStickyColumns()&&(e._setStickyColumns(!0),e._templates(),t.length>0&&e._renderGroupRows(),e._hasFilterRow()&&e._updateStickyFilterCells())},_updateStickyFilterCells:function(){var t=this.thead.find(".k-filter-row").find("td:not(.k-group-cell,.k-hierarchy-cell)");t.length&&t.each((function(){var t=e(this),r=t.data("column");r.sticky?(p(r.stickyStyle)&&t.css({left:r.stickyStyle.left||"",right:r.stickyStyle.right||""}),t.addClass(Te)):(t.css({left:"",right:""}),t.removeClass(Te))}))},_anyStickyColumns:function(){return Vr(this.columns).length},_setStickyColumns:function(e){var t=this,r=Vr(t.columns),o=function(e){return m(e,(function(e){return e.sticky&&!e.locked&&hr(e)}))}(t.columns),l=t._calculateStickyWidths(o);t._removeStickyAttributes(r),t._setStickyClassAttributes(r),t._setStickyStyleAttributes(o,l,e),e&&t._setStickyStyles(o,l)},_calculateStickyWidths:function(e,t,r){var o,l,i,n,a=Pt?"right":"left",s=Pt?"left":"right",d={left:new Array(e.length).fill(t||0),right:new Array(e.length).fill(r||0)};for(o=0;o<e.length-1;o++)l=e[o],i=this._sumColumnWidth(l)+d[a][o],d[a][o+1]=i;for(o=e.length-1;o>0;o--)l=e[o],n=this._sumColumnWidth(l)+d[s][o],d[s][o-1]=n;return d},_setStickyClassAttributes:function(e,t){var r,o;for(r=0;r<e.length;r++)(o=e[r]).columns&&(!t&&r&&(t=r),this._setStickyClassAttributes(jr([o]),t)),t&&Lr(o,"headerAttributes","class",Re),Lr(o,"attributes","class",xe),Lr(o,"headerAttributes","class",Te),Lr(o,"footerAttributes","class",He)},_setStickyStyleAttributes:function(e,t,r){var l,i,n,a,s,d,c,u=this;for(l=0;l<e.length;l++)i=e[l],s={left:(n=t.left[l])+"px",right:(a=t.right[l])+"px"},i.columns&&(d=Ur([i]),c=u._calculateStickyWidths(d,n,a),u._setStickyStyleAttributes(d,c,r),r&&u._setStickyStyles(d,c)),Lr(i,"attributes",o.attr("style-left"),s.left),Lr(i,"attributes",o.attr("style-right"),s.right),Lr(i,"headerAttributes",o.attr("style-left"),s.left),Lr(i,"headerAttributes",o.attr("style-right"),s.right),Lr(i,"footerAttributes",o.attr("style-left"),s.left),Lr(i,"footerAttributes",o.attr("style-right"),s.right),i.stickyStyle=s},_removeStickyAttributes:function(e){var t,r,l=new RegExp("(\\s*"+xe+")*","ig"),i=new RegExp("(\\s*"+Te+")*","ig"),n=new RegExp("(\\s*"+He+")*","ig"),a=new RegExp("(\\s*"+Re+")*","ig");for(t=0;t<e.length;t++)(r=e[t]).columns&&this._removeStickyAttributes(jr([r])),qr(r,"attributes","class",l),qr(r,"attributes",o.attr("style-left"),"",!0),qr(r,"attributes",o.attr("style-right"),"",!0),qr(r,"headerAttributes","class",i),qr(r,"headerAttributes","class",a),qr(r,"headerAttributes",o.attr("style-left"),"",!0),qr(r,"headerAttributes",o.attr("style-right"),"",!0),qr(r,"footerAttributes","class",n),qr(r,"footerAttributes",o.attr("style-left"),"",!0),qr(r,"footerAttributes",o.attr("style-right"),"",!0)},_setStickyStyles:function(t,r){var o,l,i,n,a,s,d,c,u,h,p,f=this,g=Kr(Or(f.columns)),m=f.tbody.children(":not(.k-detail-row)");for(o=0;o<t.length;o++)if(n=t[o],s=r.left[o],d=r.right[o],a=g.indexOf(n),(c=f._getColumnHeader(n)).addClass(Te),n.headerAttributes.class&&-1!==n.headerAttributes.class.indexOf(Re)&&c.addClass(Re),Mr(c,s,d),!n.columns)for(f.footer&&((u=f.footer.find(".k-grid-footer-wrap tr.k-footer-template").children().filter(":not(.k-group-cell,.k-hierarchy-cell)").eq(a)).addClass(He),Mr(u,s,d)),l=0;l<m.length;l++)(i=e(m[l])).hasClass(Ie)?((h=i.find("."+n.groupHeaderColumnTemplateClass)).addClass(xe),Mr(h,s,d)):((p=i.children().filter(":not(.k-group-cell,.k-hierarchy-cell)").eq(a)).addClass(xe),Mr(p,s,d))},_removeStickyStyles:function(t){var r,o,l,i,n,a,s,d,c,u=this,h=Kr(Or(u.columns)),p=u.tbody.children(":not(.k-detail-row)");for(r=0;r<t.length;r++)if(i=t[r],n=h.indexOf(i),(a=u._getColumnHeader(i)).removeClass(Te),a.removeClass(Re),Mr(a,"",""),i.columns)u._removeStickyStyles(i.columns);else for(i.footerTemplate&&u.footer&&((s=u.footer.find(".k-grid-footer-wrap tr.k-footer-template").children().filter(":not(.k-group-cell,.k-hierarchy-cell)").eq(n)).removeClass(He),Mr(s,"","")),o=0;o<p.length;o++)(l=e(p[o])).hasClass(Ie)?((d=l.find("."+i.groupHeaderColumnTemplateClass)).removeClass(xe),Mr(d,"","")):((c=l.children().filter(":not(.k-group-cell,.k-hierarchy-cell)").eq(n)).removeClass(xe),Mr(c,"",""))},_getColumnHeader:function(t){return e("#"+t.headerAttributes.id).length?e("#"+t.headerAttributes.id):e("#"+this._cellId)},_sumColumnWidth:function(e){return e.columns?this._sumCurrentWidths(Kr([e])):this._sumCurrentWidths([e])},_sumCurrentWidths:function(e){var t,r,o,l=0,i=0,n=e.length;for(o=0;o<n;o++)t=e[o],r=this._getColumnHeader(t),!t.hidden&&cr(t)&&(l+=(i=r.is(":visible")?r.outerWidth():t.width)?parseInt(i,10):0);return l},_belongsToGrid:function(e){return this.wrapper[0]===e.closest(".k-grid")[0]},getSelectedData:function(){for(var e=this,t=e.selectable.selectedRanges(),r=Object.keys(t),o=e.selectable.selectedSingleItems(),l=[],i=Gr(e.columns),n=0;n<r.length;n++)l=l.concat(e._mapSelectionToData(t[r[n]],i));return o.length&&(l=l.concat(e._mapSelectionToData(o,i))),l},exportSelectedToExcel:function(e){if(!o.excel||!o.ooxml)throw new Error("The excel export functionality depends on both kendo.excel.js and kendo.ooxml.js scripts, please make sure they are included.");var t,r=this,l=this.options.excel||{},i=Gr(r.columns),n=new o.excel.ExcelExporter({}),a={sheets:[{columns:Array.apply(0,Array(i.length)).map((function(){return{autoWidth:!0}})),rows:[],freezePane:{},filter:!1}]},s=r.selectable.selectedRanges(),d=Object.keys(s),c=r.selectable.selectedSingleItems(),u=[],h=r._isLocked()&&Pr(r.columns).length,p=xo.bind(r);for(t=0;t<d.length;t++)u=u.concat(r._mapSelectionToData(s[d[t]],i,To));if(u.length&&r._addRangeSelectionRows(a,n,u,e),(u=c.length?r._mapSelectionToData(c,i,To):[]).length&&(h&&(u=u.sort(p)),r._addSingleSelectionRows(a,n,u,e)),a.sheets[0].rows.length){var f=new o.ooxml.Workbook(a);f.options||(f.options={}),f.options.skipCustomHeight=!0,f.toDataURLAsync().then((function(e){o.saveAs({dataURI:e,fileName:a.fileName||l.fileName,proxyURL:l.proxyURL,forceProxy:l.forceProxy})}))}},_addSingleSelectionRows:function(e,t,r,o){var l,i=0,n=Nr(this.columns);for(i=0;i<r.length;i++)l=r[i],t.data=[l],this._setExporterColumns(t,n,l),this._createExportRows(e,t,o)},_addRangeSelectionRows:function(e,t,r,o){var l=Nr(this.columns);t.data=r,this._setExporterColumns(t,l,r[0]),this._createExportRows(e,t,o)},_createExportRows:function(e,t,r){e.sheets[0].rows=e.sheets[0].rows.concat(r?t._rows():t._dataRows(t.data,0))},_setExporterColumns:function(t,r,o){t.columns=t.options.columns=e.map(r.filter((function(e){return Object.keys(o).indexOf(e.field)>=0})),t._prepareColumn)},_mapSelectionToData:function(t,r,o){for(var l,i,n,a,s,d=this,c="TR"===t[0][0].nodeName,u={},h=function(e){var t={};if(e.field&&(!o||o(e)))return t[e.field]=l[e.field],t},p=d._isLocked()&&Pr(d.columns).length,f=0;f<t.length;f++)if(i=t[f],l=d.dataItem(c?i:i.parent()),c)u[l.uid]=e.extend.apply(null,r.map(h));else{if(!(a=d._getCellField(i,p)))continue;if((n=u[l.uid])||(n=u[l.uid]={}),!(s=br(r,a))||o&&!o(s))continue;n[a]=l[a]}return Object.keys(u).map((function(e){return u[e].uid=e,u[e]}))},_getCellField:function(t,r){var l=this,i=r&&e.contains(l.lockedTable[0],t[0]),n=o.attr("field"),a=o.attr("index");return r?l.element.find(".k-grid-header-"+(i?"locked":"wrap")+" th["+a+"='"+t.index()+"']").attr(n):l.thead.find("th["+a+"='"+t.index()+"']").attr(n)},_relatedRow:function(t){var r=this.lockedTable;if(t=e(t),!r)return t;var o=t.closest(this.table.add(this.lockedTable)),l=o.find(">tbody>tr").index(t);return(o=o[0]===this.table[0]?r:this.table).find(">tbody>tr").eq(l)},_relatedCell:function(t){var r=this.lockedTable;if(t=e(t),!r)return t;var o=t.closest(this.table.add(this.lockedTable)),l=o.find(">tbody>tr>td").index(t);return(o=o[0]===this.table[0]?r:this.table).find(">tbody>tr>td").index(l)},clearSelection:function(){var e=this;e.selectable&&!e._checkBoxSelection&&e.selectable.clear(),e._checkBoxSelection?e._deselectCheckRows(e.select()):e.options.persistSelection?e._persistSelectedRows():e._selectedIds={}},select:function(e){var t=this,r=t.selectable,l=o.ui.Selectable.parseOptions(this.options.selectable).cell;return(e=t.table.add(t.lockedTable).find(e)).length?(r&&!r.options.multiple&&(r.clear(),e=e.first()),t._isLocked()&&(e=e.add(e.map((function(){return l?t._relatedCell(this):t._relatedRow(this)})))),r&&!t._checkBoxSelection?r.value(e):(t._checkRows(e),t.select().length===t.items().length&&t._toggleHeaderCheckState(!0)),void(l||t._persistSelectedRows())):r?r.value():t.items().filter("."+fe)},_toggleHeaderCheckState:function(e){var t=this;e?t.thead.add(t.lockedHeader).find("tr "+me).prop("checked",!0).attr(wt,!0).attr(ft,"Deselect all rows"):t.thead.add(t.lockedHeader).find("tr "+me).prop("checked",!1).attr(wt,!1).attr(ft,"Select all rows")},_uncheckCheckBoxes:function(){this.table.add(this.lockedTable).find("tbody "+me).attr(wt,!1).prop("checked",!1).attr(ft,"Select row")},_deselectCheckRows:function(t){var r=this,l=o.attr("range-selected");t=r.table.add(r.lockedTable).find(t),r._isLocked()&&(t=t.add(t.map((function(){return r._relatedRow(this)})))),t.each((function(){e(this).removeClass(fe).removeAttr(l).find(me).attr(wt,!1).prop("checked",!1).attr(ft,"Select row")})),r._toggleHeaderCheckState(!1),r._persistSelectedRows()},_checkRows:function(t){t.each((function(){e(this).addClass(fe).find(me).prop("checked",!0).attr(ft,"Deselect row").attr(wt,!0)}))},_persistSelectedRows:function(){var e,t,r,l=this,i=l.items(),n=l.dataSource.options.schema,a={};if(n&&n.model&&l._data&&(r=v(n.model)?n.model.fn.idField:n.model.id)){o.ui.Selectable.parseOptions(l.options.selectable).multiple||l._checkBoxSelection||(l._selectedIds={}),l.select().each((function(){t=l.dataItem(this),a[t[r]]=!0}));for(var s=0;s<i.length;s++)e=(t=l.dataItem(i[s]))[r],a[e]?l._selectedIds[e]=!0:delete l._selectedIds[e]}},selectedKeyNames:function(){var e=[];for(var t in this._selectedIds)e.push(t);return e.sort(),e},_updateCurrentAttr:function(t,r){var o,l,i=e(t).data("headerId");e(t).removeClass(ce),this.table.removeAttr(Ct),i?(i=i.replace(this._cellId,""),e(t).attr(ct,i)):e(t).removeAttr(ct),(o=r.attr(ct))!=this._cellId&&r.data("headerId",o),o?l=o:r.attr(ct,this._cellId),r.addClass(ce),this.table.attr(Ct,l||this._cellId),this._current=r},_scrollCurrent:function(){var t=this._current,r=this.options.scrollable;if(t&&r){var o=t.parent(),l=o.closest("table").parent(),i=l.is(".k-grid-content-locked,.k-grid-header-locked"),n=l.is(".k-grid-content-locked,.k-grid-content,.k-virtual-scrollable-wrap"),a=e(this.content).find(">.k-virtual-scrollable-wrap").addBack().last()[0];if(n)if(this.virtualScroll){var s=Math.max(k(o[0],this._items(o.parent())),0);this.virtualScroll.rows?(this._rowVirtualIndex=this.virtualScrollable.itemIndex(s),this.virtualScrollable.scrollIntoView(o)):(this._rowVirtualIndex=s,this._scrollTo(this._relatedRow(o)[0],a))}else this._scrollTo(this._relatedRow(o)[0],a);this.lockedContent&&(this.lockedContent[0].scrollTop=a.scrollTop),i||this._scrollTo(t[0],a)}},current:function(e){return this._setCurrent(e,!0)},_setCurrent:function(t,r,o){var l=this._current;if(t=e(t),l&&t&&l.length&&t.length&&l.closest(".k-filter-row").length>0&&0===t.closest(".k-filter-row").length&&this._filterFocusable().attr($e,-1),t.length&&(!l||l[0]!==t[0])){var i=t.parent(),n=i.children(R),a=parseInt(i.children().first().attr("colspan"),10);this._hasVirtualColumns()&&(this._virtualCellIndex=(a>1?a:0)+n.index(t)),this._updateCurrentAttr(l,t),o||this._scrollCurrent(),r||this.trigger(Oe,{element:t})}return t&&t.length&&(this._lastCellIndex=t.parent().children(".k-group-cell,"+I).index(t)),this._updateSelctCheckbox(l,t),this._current},_removeCurrent:function(){this._current&&(this._current.removeClass(ce),this._current=null)},_updateSelctCheckbox:function(e,t){var r;t&&t.length&&((r=t.find(".k-select-checkbox")).length>0?r.focus():e&&e.find(".k-select-checkbox").length>0&&fo(this.table,!0))},_scrollTo:function(t,r){var l=t.tagName.toLowerCase(),i="td"===l||"th"===l,n=e(t).closest("table")[0],a=t[i?"offsetWidth":"offsetHeight"],s=r[i?"scrollLeft":"scrollTop"],d=r[i?"clientWidth":"clientHeight"],c="relative"===e(t).css("position")&&Pt&&i?Math.abs(n.offsetLeft-t.offsetLeft):t[i?"offsetLeft":"offsetTop"],u=c+a,h=0,p=0,f=0;Pt&&i&&(Ot.msie||Ot.edge?p=n.offsetLeft:(Ot.mozilla||Ot.webkit&&Ot.version>85)&&(f=n.offsetLeft-o.support.scrollbar())),h=(s=Math.abs(s+p-f))>c?c:u>s+d?a<=d?u-d:c:s,h=Math.abs(h+p)+f,r[i?"scrollLeft":"scrollTop"]=h},_navigatable:function(){var t=this;if(t.options.navigatable){var r=t.table.add(t.lockedTable),l=t.thead.parent().add(e(">table",t.lockedHeader)),i=r;t.options.scrollable&&(i=i.add(l)),this._navigatableTables=i,this._headertables=l,i.off(We+P+" focus"+P+" focusout"+P+" keydown"+P),l.find("a.k-link").attr("tabIndex",-1),r.on("keydown"+P,".k-detail-cell",(function(e){e.target!==e.currentTarget&&e.stopImmediatePropagation()})),i.on(o.support.touch?"touchstart"+P:We+P,z+">"+E,ko.bind(t)).on("focus"+P,t._tableFocus.bind(t)).on("focusout"+P,t._tableBlur.bind(t)).on("keydown"+P,t,t._tableKeyDown.bind(t)),t._filterFocusable().on("focus",t._filterFocus.bind(t))}},_filterFocus:function(t){var r=t.target.closest("th");this._filterFocusable().attr($e,0),this._setCurrent(r),e(r).removeClass(ce)},_tableFocus:function(){var e=this.current(),t=this.lockedTable?this.lockedTable:this.table;e&&e.is(":visible")?e.addClass(ce):this._virtualColScroll?this._setCurrent(t.find(z).first().children(E).first(),!0,!0):this._setCurrent(t.find(z).first().children(E).first()),this.table.attr($e,0)},_tableBlur:function(){var e=this.current();e&&e.removeClass(ce)},_findCellIndex:function(e,t,r){var o,l;if(r)for(l=t;l>=0&&(o=l,e[l].hidden);l--);else for(l=t;l<e.length&&(o=l,e[l].hidden);l++);return o},_scrollToColumn:function(e,r){if(this._virtualCellIndex===t)return!1;var l=this,i=l._virtualCellIndex,n=Kr(Or(l.columns)),a=0;e==(Pt?h.LEFT:h.RIGHT)&&i!==n.length-1?i=l._findCellIndex(n,i+1):e==(Pt?h.RIGHT:h.LEFT)&&i?i=l._findCellIndex(n,i-1,!0):e==h.HOME?i=l._findCellIndex(n,0):e==h.END&&(i=l._findCellIndex(n,n.length-1,!0));for(var s=0;s<i;s++)a+=n[s].width;return l._virtualCellIndex=i,r&&(r.preventDefault(),r.stopPropagation()),o.scrollLeft(l.content,a),!0},_tableKeyDown:function(t){var r=this.current(),o=this.virtualScroll||{},l=this.virtualScrollable&&this.virtualScrollable.fetching(),i=e(t.target),n=!t.isDefaultPrevented()&&!i.is(":button,a,:input:not(.k-select-checkbox),a>.k-icon,a>.k-svg-icon");if(t.altKey&&t.keyCode==h.DOWN)return this.current().find(".k-grid-filter-menu, .k-grid-column-menu").click(),void t.stopImmediatePropagation();if(l)t.preventDefault();else if((!o.columns||r&&document.body.contains(r[0])||!this._scrollToColumn(t.keyCode,t))&&(r||(r=e(this.lockedTable).add(this.options.scrollable?this.table:this.tbody).find(z).first().children(E).first()),r.length)){var a=!1;t.isDefaultPrevented()||t.keyCode!==h.F10||(a=this._focusToolbar()),n&&t.keyCode==h.UP&&(a=this._moveUp(r,t.shiftKey,t.ctrlKey)),n&&t.keyCode==h.DOWN&&(a=this._moveDown(r,t.shiftKey,t.ctrlKey)),n&&t.keyCode==(Pt?h.LEFT:h.RIGHT)&&(a=this._moveRight(r,t.altKey,t.shiftKey,t.ctrlKey,t.currentTarget)),n&&t.keyCode==(Pt?h.RIGHT:h.LEFT)&&(a=this._moveLeft(r,t.altKey,t.shiftKey,t.ctrlKey,t.currentTarget)),n&&t.keyCode==h.PAGEDOWN&&(a=this._handlePageDown()),n&&t.keyCode==h.PAGEUP&&(a=this._handlePageUp()),n&&t.keyCode==h.HOME&&(a=this._handleHome(r,t.ctrlKey)),n&&t.keyCode==h.END&&(a=this._handleEnd(r,t.ctrlKey)),n&&t.keyCode==h.SPACEBAR&&(a=this._handleSpaceKey(r,t.ctrlKey)),t.keyCode!=h.ENTER&&t.keyCode!=h.F2||(a=this._handleEnterKey(r,t.currentTarget,i)),t.keyCode==h.ESC&&(a=this._handleEscKey(r,t.currentTarget)),t.keyCode==h.TAB&&(a=this._handleTabKey(r,t.currentTarget,t.shiftKey,i)),a&&(t.preventDefault(),t.stopPropagation())}},_focusToolbar:function(){var e=this.wrapper.find(".k-grid-toolbar [tabindex=0]");return e.length>0&&(e.first().addClass(".k-focus").trigger("focus"),!0)},_moveLeft:function(t,r,o,l,i){var n,a,s=t.parent(),d=s.parent();return r?s.hasClass(Ie)?this.collapseGroup(s):this.collapseRow(s):l&&t.is(".k-header")&&this.options.reorderable?this._moveColumn(t,!0):(a=d.find(z).index(s),(n=this._prevHorizontalCell(d,t,a))[0]||(o?this.lockedTable?(n=this._relatedRow(s),e.contains(this.lockedTable[0],s[0])&&(n=n.prevAll(A).first()),n=n.children(R).last()):n=this._tabNext(t,i,!0):(d=this._horizontalContainer(d),(n=this._prevHorizontalCell(d,t,a))[0]!==t[0]&&fo(this.table,!0))),this._setCurrent(n)),!0},_moveRight:function(t,r,o,l,i){var n,a,s=t.parent(),d=s.parent();return r?s.hasClass(Ie)?this.expandGroup(s):this.expandRow(s):l&&t.is(".k-header")&&this.options.reorderable?this._moveColumn(t,!1):(a=d.find(z).index(s),(n=this._nextHorizontalCell(d,t,a))[0]||(o?this.lockedTable?(n=this._relatedRow(s),e.contains(this.table[0],s[0])&&(n=n.nextAll(A).first()),n=n.children(R).first()):n=this._tabNext(t,i,!1):(d=this._horizontalContainer(d,!0),(n=this._nextHorizontalCell(d,t,a))[0]!==t[0]&&fo(this.table,!0))),this._setCurrent(n)),!0},_moveUp:function(e,t,r){var o,l,i,n,a=e.parent().parent();t?(o=(o=e.parent()).prevAll(A).first(),o=e.parent().is(A)?o.children().eq(e.index()):o.children(R).last()):r&&e.parent().is(A)&&this._hasReorderableRows()?(l=e.index(),o=(o=e.parent()).prevAll(A).first(),i=this.tbody.children(A).index(o),n=this.tbody.children(A).index(e.parent()),i>=0&&!this.trigger(Pe,{oldIndex:n,newIndex:i,row:e.parent()})&&(this.reorderRows(e.parent(),i),o=this.tbody.children(A).eq(i).children().eq(l))):(o=this._prevVerticalCell(a,e))[0]||(this._lastCellIndex=0,a=this._verticalContainer(a,!0),(o=this._prevVerticalCell(a,e))[0]&&fo(this.table,!0));var s=this._lastCellIndex||0;return this._setCurrent(o),this._lastCellIndex=s,!0},_moveDown:function(e,t,r){var o,l,i,n,a=e.parent().parent();t?(o=(o=e.parent()).nextAll(A).first(),o=e.parent().is(A)?o.children().eq(e.index()):o.children(R).first()):r&&e.parent().is(A)&&this._hasReorderableRows()?(l=e.index(),o=(o=e.parent()).nextAll(A).first(),i=this.tbody.children(A).index(o),n=this.tbody.children(A).index(e.parent()),i>=0&&!this.trigger(Pe,{oldIndex:n,newIndex:i,row:e.parent()})&&(this.reorderRows(e.parent(),i+1),o=this.tbody.children(A).eq(i).children().eq(l))):(o=this._nextVerticalCell(a,e))[0]||(this._lastCellIndex=0,a=this._verticalContainer(a),(o=this._nextVerticalCell(a,e))[0]&&fo(this.table,!0));var s=this._lastCellIndex||0;return this._setCurrent(this._findVisibleCell(o)),this._lastCellIndex=s,!0},_moveColumn:function(t,r){var o=this.wrapper.data().kendoReorderable.element.find(this._draggableInstance.options.filter+":visible"),l=pr(Tr(this.columns)),i=o.index(e(t)),n=r?-1:1,a=l[i],s=Hr(l,this.columns,i,i+n);s>=0&&(this.reorderColumn(s,a,r),this.trigger(De,{newIndex:s,oldIndex:i,column:a}))},_handleHome:function(e,t){var r,o=e.parent(),l=o.parent(),i=this.lockedTable&&this.lockedTable.children("tbody")[0]===l[0],n=l[0]===this.tbody[0];return this._hasVirtualColumns()?(this._scrollToColumn(h.HOME),!0):(t?r=this.lockedTable?this.lockedTable.find(A).first().children(E).first():this.table.find(A).first().children(E).first():(n||i)&&(n&&this.lockedTable&&(o=this._relatedRow(o)),r=o.children(R).first()),r&&r.length?(this._setCurrent(r),!0):void 0)},_handleEnd:function(e,t){var r,o=e.parent(),l=o.parent(),i=this.lockedTable&&this.lockedTable.children("tbody")[0]===l[0],n=l[0]===this.tbody[0];return this._hasVirtualColumns()?(this._scrollToColumn(h.END),!0):(t?r=this.table.find(A).last().children(E).last():(n||i)&&(!n&&this.lockedTable&&(o=this._relatedRow(o)),r=o.children(R).last()),r&&r.length?(this._setCurrent(r),!0):void 0)},_handlePageDown:function(){return!!this.options.pageable&&(this.dataSource.page(this.dataSource.page()+1),!0)},_handlePageUp:function(){return!!this.options.pageable&&(this.dataSource.page(this.dataSource.page()-1),!0)},_handleTabKey:function(t,r,o,l){var i,n;if(!(this.options.editable&&"incell"==this._editMode())||t.is("th")||(this.options.scrollable?this._headertables.filter(r).length:this.thead.filter(l).length)){if(t.parent().hasClass("k-filter-row")){if(n=this._filterFocusable(),!o&&n[n.length-1]===document.activeElement)return n.first().trigger("focus"),!0;if(o&&n[0]===document.activeElement)return n.last().trigger("focus"),!0}return!1}return(i=e(s()).closest(".k-edit-cell"))[0]&&i[0]!==t[0]&&(t=i),(i=this._tabNext(t,r,o))[0]!==t[0]&&(!!i.length&&(this._handleEditing(t,i,i.closest("table")),!0))},_handleEscKey:function(t){var r,o=s(),l="incell"==this._editMode();if(!(r=t)||!r.hasClass("k-edit-cell")&&!r.parent().hasClass("k-grid-edit-row"))return t.has(o).length?(fo(this.table,!0),!0):!!t.parent().hasClass("k-filter-row")&&(this._filterFocusable().attr($e,-1),fo(this.table,!0),!0);if(l)this.closeCell(!0);else{var i=e(t).parent().index();o&&o.blur(),this.cancelRow(!0),i>=0&&this._setCurrent(this.items().eq(i).children(E).first())}return fo(this.table,!0),!0},_toggleCurrent:function(e,t,r){var o=e.parent();return!e.is(".k-command-cell")&&(!o.is(".k-filter-row")&&((o.is(x+Ie)||!(t||!r))&&(o.find(".k-icon,.k-svg-icon").first().click(),!0)))},_handleSpaceKey:function(t,r){var l=this;if(r&&l.groupable&&t.hasClass("k-header")){var i=l.groupable.descriptors(),n=t.attr(o.attr("field")),a=l.groupable.aggregates();return l.groupable._canDrag(t)?i.push({field:n,dir:"asc",aggregates:a||[]}):i=e.grep(i,(function(e){return e.field!==n})),l.dataSource.group(i),!0}},_handleEnterKey:function(t,r,o){var l,i=this.options.editable&&!1!==this.options.editable.update,n=o.closest("td"),a=this._hasDetails();if(o.is("table")||e.contains(t[0],o[0])||(t=n),t.is("th"))return l=t.find(".k-link"),!(t.has(e(s())).length>0)&&(l.length?l.click():t.parent().hasClass("k-filter-row")?(this._filterFocusable().attr($e,0),t.find(":kendoFocusable").first().focus()):t.find(me).trigger("focus"),!0);if(this._toggleCurrent(t,i,a))return!0;var d=t.find(":kendoFocusable").first();return d[0]&&!t.hasClass("k-edit-cell")&&t.hasClass("k-focus")?(d.trigger("focus"),!0):!(!i||o.is(":button,.k-button,textarea"))&&(n[0]||(n=t),this._handleEditing(n,!1,r),!0)},_nextHorizontalCell:function(e,t,r){if(!t.nextAll(R).length){var o=e.find(z);if(-1==o.index(t.parent())){if(t.hasClass("k-header")){var l=[];return Dr([Pr(this.columns)[0]],Jr(o.eq(0).children(":visible").first()),l,0,0),l[r]?l[r][0]:t}return t.parent().hasClass("k-filter-row")?o.last().children(R).first():this._findVisibleCell(o.eq(r).children(I).first())}}return this._findVisibleCell(t.nextAll(R+",[hidden]").eq(0))},_prevHorizontalCell:function(e,t,r){var o=t.prevAll(R);if(!o.length){var l=e.find(z);if(-1==l.index(t.parent())){if(t.hasClass("k-header")){var i=[],n=Pr(this.columns);return Dr([n[n.length-1]],Jr(l.eq(0).children().last()),i,0,0),i[r]?i[r][0]:t}return t.parent().hasClass("k-filter-row")?l.last().children(R).last():l.eq(r).children(R).last()}}o=t.prevAll(R+",[hidden]");var a=this._findVisibleCell(o.first());return a.is(".k-group-cell")?a.next(R):a},_currentDataIndex:function(e,r){var o=r.attr("data-index");if(!o)return t;var l=Pr(this.columns).length;return l&&!e.closest(pt).hasClass("k-grid-content-locked")[0]?o-l:o},_findVisibleCell:function(e){var t,r=e.index(),o=e.closest("tr").index();if(e.is("[hidden]")){t=e.prevAll(":not([hidden])").first();var l=e.prevUntil(":not([hidden])","[hidden]").length;if(!t.attr("colspan")||t.attr("colspan")>1&&t.attr("colspan")<=l+1){if(0===(t=e.prevAll("[hidden]").last()).length)return e.closest("tr").prevAll().find("td:nth-of-type("+(r+1)+"):visible").last();for(;!(t.attr("rowspan")||t.attr("rowspan")>1&&t.attr("rowspan")!=o-t.closest("tr").index()||Math.abs(t.index()-r)==t.attr("colspan"));)if(0===(t=t.closest("tr").prevAll().find("td, th").eq(r).first()).length){t=e;break}}}else t=e;return t},_prevVerticalCell:function(t,r){var o,l=r.parent(),i=t.children(z),n=i.index(l),a=this._currentDataIndex(t,r);if(a||r.hasClass("k-header"))return(o=$r(r)).eq(o.length-2);if(a=Math.max(l.children(I).index(r),this._lastCellIndex||0),l.hasClass("k-filter-row")){var s=i.last().children(".k-group-cell").length;return Yr(t).filter(ur).eq(Math.max(0,a-s))}if(-1==n){if(this._hasVirtualColumns()&&(a=this._virtualCellIndex),!(l=t.find("tr.k-filter-row:visible"))[0]){(this._hasDetails()||r.parent().find(".k-hierarchy-cell").length)&&a&&a--;var d=0;return r.parent().is(".k-table-group-row")&&(d=i.last().children(".k-group-cell").length),Yr(t).eq(Math.max(0,a-d))}this._hasDetails()&&a--}else l=0===n?e():i.eq(n-1);if((o=l.children(I)).length>a){var c=o.eq(a);return c.is(".k-group-cell")&&(c=c.nextAll(I+":not(.k-group-cell)").first()),this._findVisibleCell(c)}return o.eq(0)},_nextVerticalCell:function(e,r){var o,l,i,n=l=r.parent(),a=e.children(z),s=a.index(n),d=this._currentDataIndex(e,r),c=this.virtualScroll||{};if(-1!=s&&d===t&&r.hasClass("k-header"))return Jr(r).eq(1);d=d?parseInt(d,10):n.children(I).index(r),d=Math.max(d,this._lastCellIndex||0),-1==s?(n=a.eq(0),c.columns&&(i=parseInt(n.children().first().attr("colspan"),10),d=this._virtualCellIndex-(i>1?i:0)),(this._hasDetails()||n.find(".k-hierarchy-cell").length)&&d++,n.hasClass("k-table-group-row")&&(d+=l.children(".k-group-cell").length)):n=a.eq(s+r[0].rowSpan);var u=(o=n.children(".k-group-cell,"+I)).eq(0);return o.length>d&&(u=o.eq(d)),u.is(".k-group-cell")&&(u=u.next(":not(k-group-cell):not([hidden])")),u},_verticalContainer:function(e,t){var r=e.parent(),o=this._navigatableTables.length,l=Math.floor(o/2),i=k(r[0],this._navigatableTables);return t&&(l*=-1),((i+=l)>=0||i<o)&&(r=this._navigatableTables.eq(i)),r.find(t?">thead":">tbody")},_filterFocusable:function(){return this.wrapper.find(".k-filter-row").find(".k-dropdownlist, .k-input .k-input-inner:visible, input[type='radio']:visible, input[type='checkbox']:visible")},_horizontalContainer:function(e,t){var r=this._navigatableTables.length;if(r<=2)return e;var o=e.parent(),l=k(o[0],this._navigatableTables);return l+=t?1:-1,!t||2!=l&&l!=r?!t&&(1==l||l<0)?e:this._navigatableTables.eq(l).find("thead, tbody"):e},_tabNext:function(e,t,r){var o=!0,l=r?e.prevAll(R).first():e.nextAll(":visible").first();if(!l.length){if(l=e.parent(),this.lockedTable&&(o=r&&t==this.lockedTable[0]||!r&&t==this.table[0],l=this._relatedRow(l)),o){if(this._hasVirtualColumns())return e;l=l[r?"prevAll":"nextAll"]("tr:not(.k-grouping-row):not(.k-detail-row):visible").first()}l=r?l.children(R).last():l.children(R).first()}return l},_handleEditing:function(t,r,o){var l,i,n=this,a=e(s()),d=n._editMode(),c=Ot.msie,u=n._editContainer,h=n.options.editable&&!1!==n.options.editable.update;if(o=e(o),i="incell"==d?t.hasClass("k-edit-cell"):t.parent().hasClass("k-grid-edit-row"),n.editable){if(e.contains(u[0],a[0])&&(a.trigger("blur"),c&&a.trigger("blur")),!n.editable)return void fo(n.table);if(!n.editable.end())return"incell"==d?n._setCurrent(u):n._setCurrent(u.children().filter(R).first()),void((l=u.find(":kendoFocusable").first()[0])&&l.focus());"incell"==d?n.closeCell():(n.saveRow(),i=!0)}r&&n._setCurrent(r),fo(n.table,!0),h&&(!i&&!r||r)&&(d===ot?e(n.current()).hasClass("k-hierarchy-cell")||n.editCell(n.current()):n.editRow(n.current().parent()))},_wrapper:function(){var e=this,t=e.table,r=e.options.height,l=e.options.width,i=e.element;i.is(pt)||(i=i.wrap("<div/>").parent()),e.wrapper=i.addClass("k-grid "+o.getValidCssClass("k-grid-","size",e.options.size)),r&&(e.wrapper.css(Ke,r),t.css(Ke,Ye)),l&&e.wrapper.css(Qe,l),e._initMobile()},_initContextMenu:function(){var e=this,t=e.options,r=p(t.contextMenu)&&b(t.contextMenu.groups)?{items:t.contextMenu.groups}:{items:Kt},o=p(t.contextMenu)&&b(t.contextMenu.body)?{items:t.contextMenu.body}:{items:jt},i=p(t.contextMenu)&&b(t.contextMenu.head)?{items:t.contextMenu.head}:{items:Ut},n=p(t.contextMenu)?t.contextMenu:{};o=f({},{messages:t.messages,target:e.tbody,filter:".k-table-td",action:e._action.bind(e),states:e._buildStates()},n,o),i=f({},{messages:t.messages,target:e.thead,filter:".k-table-th",action:e._action.bind(e),states:e._buildStates()},n,i),e.groupable&&(r=f({},{showOn:"click",target:e.groupable.groupContainer,filter:".k-groupable-context-menu",messages:t.messages,action:e._action.bind(e),states:e._buildStates()},n,r)),e.tbodyContextMenu=new l.grid.ContextMenu("<ul></ul>",o),e.theadContextMenu=new l.grid.ContextMenu("<ul></ul>",i),e.groupsContextMenu=!!e.groupable&&new l.grid.ContextMenu("<ul></ul>",r)},_buildStates:function(){var t=this,r=this;return{isEditable:r.options.editable,isSelectable:r.options.selectable,isSortable:r.options.sortable,isRowReorderable:p(r.options.reorderable)?r.options.reorderable.rows:r.options.reorderable,isGroupable:r.options.groupable,hasSelection:function(){return!!t.select()&&t.select().length>0},isSorted:function(){return!(t.dataSource.sort()&&t.dataSource.sort().length>0)},canMoveGroupPrev:function(t){return e(t).closest(".k-chip").index()>0},canMoveGroupNext:function(t){var r=e(t).closest(".k-chip-list").children().length-1;return e(t).closest(".k-chip").index()<r}}},_action:function(e){var t=e.command,r=f({grid:this},e.options);return new l.grid.commands[t](r).exec()},_initMobile:function(){var e=this.options,t=this;if(this._isMobile=!0===e.mobile&&o.support.mobileOS||"phone"===e.mobile||"tablet"===e.mobile,this._isMobile){var r=this.wrapper.addClass("k-grid-mobile").wrap("<div data-"+o.ns+'stretch="true" data-'+o.ns+'role="view" data-'+o.ns+'init-widgets="false"></div>').parent();this.pane=this._createPane(r),this.view=this.pane.view(),e.height?this.pane.element.parent().css(Ke,e.height):this.pane.element.parent().css(Ke,this.wrapper[0].style.height),this._editAnimation="slide",t.wrapper.on("transitionend"+P,(function(e){e.stopPropagation()})),t.wrapper.on("contextmenu"+P,"th a",(function(e){return e.preventDefault(),!1})),this.view.bind("showStart",(function(){t._isLocked()&&(t._updateTablesWidth(),t._applyLockedContainersWidth(),t._syncLockedContentHeight(),t._syncLockedHeaderHeight(),t._syncLockedFooterHeight())}))}},_createPane:function(e){return o.Pane.wrap(e,{viewEngine:{viewOptions:{renderOnInit:!0,wrap:!1,wrapInSections:!0,detachOnHide:!1,detachOnDestroy:!1}}})},_tbody:function(){var t,r=this.table;(t=r.find(">tbody")).length||(t=e("<tbody/>").appendTo(r)),t.addClass("k-table-tbody"),this.tbody=t},_scrollable:function(){var t,r,l,i=this,n=i.options,a=n.scrollable,s=!0!==a&&a.virtual?function(e){var t;if("string"==typeof e)return"true"===(t=e.toLowerCase())?{rows:!0}:{rows:t.indexOf("rows")>-1,columns:t.indexOf("columns")>-1};if(!0===e)return{rows:!0}}(a.virtual):null,d=!o.support.kineticScrollNeeded||s&&s.rows?o.support.scrollbar():0;if(a){(t=i.wrapper.children(".k-grid-header"))[0]||(t=e('<div class="k-grid-header" />').insertBefore(i.table)),t.css(Pt?"padding-left":"padding-right",a.virtual?d+1:d),(r=e('<table role="none" class="k-grid-header-table k-table"/>')).addClass(o.getValidCssClass("k-table-","size",n.size)),r.width(i.table[0].style.width),r.append(i.thead),t.empty().append(e('<div class="k-grid-header-wrap k-auto-scrollable" />').append(r)),i.content=i.table.parent(),i.virtualScroll=s,i.content.is(".k-virtual-scrollable-wrap, ."+Gt)&&(i.content=i.content.parent()),i.content.is(".k-grid-content, .k-virtual-scrollable-wrap")||(i.content=i.table.wrap('<div class="k-grid-content k-auto-scrollable" />').parent()),i.content.parent().hasClass("k-grid-container")||i.content.wrap("<div class='k-grid-container' />").parent(),s&&s.rows&&!i.virtualScrollable&&i._createVirtualScrollable(),s&&s.columns&&i.table.css({width:zr(Gr(Wr(i.columns)))}),l=t.children(".k-grid-header-wrap"),i.scrollables=l.add(i.content);var c=i.wrapper.find(".k-grid-footer");if(c.length&&(i.scrollables=i.scrollables.add(c.children(".k-grid-footer-wrap"))),l.off("scroll"+P).on("scroll"+P,(function(e){i._scrollLeft!==this.scrollLeft&&o.scrollLeft(i.scrollables.not(e.currentTarget),this.scrollLeft)})),s&&s.rows)i.content.find(">.k-virtual-scrollable-wrap").off("scroll"+P).on("scroll"+P,(function(){var e=this.scrollLeft!=i._scrollLeft;i._scrollLeft=this.scrollLeft,o.scrollLeft(i.scrollables,this.scrollLeft),i.lockedContent&&(i.lockedContent[0].scrollTop=this.scrollTop),s.columns&&e&&i.refresh()}));else{var u=a.endless,h=i.dataSource.options.pageSize;u&&(i._endlessPageSize=h),i.content.off("scroll"+P).on("scroll"+P,(function(e){var t=this.scrollLeft!=i._scrollLeft;i._scrollLeft=this.scrollLeft,o.scrollLeft(i.scrollables.not(e.currentTarget),i._scrollLeft),i.lockedContent&&e.currentTarget==i.content[0]&&(i.lockedContent[0].scrollTop=this.scrollTop),u&&this.scrollTop+this.clientHeight-this.scrollHeight>=-10&&!i._endlessFetchInProgress&&i._endlessPageSize<i.dataSource.total()&&(i._skipRerenderItemsCount=i._endlessPageSize,i._endlessPageSize=i._endlessPageSize+h,i.dataSource.options.endless=!0,i._endlessFetchInProgress=!0,i.dataSource.pageSize(i._endlessPageSize)),s&&s.columns&&t&&(i._virtualColScroll=!0,i._cacheEditableState(),i.refresh(),i._restoreEditableState(),i._virtualColScroll=!1),i.rowResizer&&i.rowResizer.css("left",e.currentTarget.scrollLeft+"px")}));var p=i.content.data("kendoTouchScroller");p&&p.destroy(),(p=o.touchScroller(i.content))&&p.movable&&(i.touchScroller=p,p.movable.bind("change",(function(e){o.scrollLeft(i.scrollables,-e.sender.x),i.lockedContent&&i.lockedContent.scrollTop(-e.sender.y)})),i.one(ee,(function(e){e.sender.wrapper.addClass("k-grid-backface")})))}}},_createVirtualScrollable:function(){var e=this;e.virtualScrollable&&e.virtualScrollable.destroy(),e.virtualScrollable=new Qt(e.content,{dataSource:e.dataSource,itemHeight:function(){return e._averageRowHeight()},page:function(){e._restoreEditableState()},scroll:function(){e._focusEditable()},loadStart:function(){e._progress(!0)},loadEnd:function(){e._progress(!1)}}),e.virtualScrollable.bind(ie,e._onVirtualPaging.bind(e))},_onVirtualPaging:function(){var e=this;e._cacheEditableState(),e._isVirtualIncellEditable()&&(e._shouldClearEditableState=!1,e.closeCell(),e._shouldClearEditableState=!0)},_isVirtualEditable:function(){return this._isVirtualIncellEditable()||this._isVirtualInlineEditable()||this._isVirtualPopupEditable()},_isVirtualInlineEditable:function(){return this.virtualScrollable&&this._editMode()===lt},_isVirtualIncellEditable:function(){return this.virtualScrollable&&this._editMode()===ot},_isVirtualPopupEditable:function(){return this.virtualScrollable&&"popup"===this._editMode()},_hasVirtualColumns:function(){return!!(this.virtualScroll||{}).columns},_scrollVirtualWrapper:function(){var e=this,t=e.virtualScrollable;(e._isVirtualInlineEditable()||e._isVirtualIncellEditable())&&(t._isScrolledToBottom()?t._scrollWrapperToBottom():t._isScrolledToTop()&&t._scrollWrapperToTop())},_scrollVirtualWrapperOnColumnResize:function(){var e=this.virtualScrollable;e&&e._scrollWrapperOnColumnResize()},_restoreEditableState:function(){var t,r,o=this,l=o._editableState||{},i=l.model,n=o.dataSource,a=o._isVirtualInlineEditable(),s=o._isVirtualIncellEditable(),d=o._hasVirtualColumns();(a||s||d)&&i&&n._getByUid(i.uid,n.view())&&(o._editMode()===lt?(o._shouldClearEditableState=!1,o.editRow(i),d||o._focusEditable()):o._editMode()===ot&&(t=o.tbody.children(Yt("uid",i.uid)),(r=e(t).children(Yt(tt,l.field)))[0]&&(o._shouldClearEditableState=!1,o.editCell(r),d||o._focusEditable()))),o._shouldClearEditableState=!0},_focusEditable:function(){var e=this,t=(e._editableState||{}).field,r=e._editContainer;r&&r.length&&!y(r[0],s())&&e._canFocusEditable()&&(e._isVirtualInlineEditable()||e._hasVirtualColumns()?r.find(Yt(et,t)).find(pe).eq(0).trigger("focus"):(e._isVirtualIncellEditable()||e._hasVirtualColumns())&&r.find(pe).eq(0).trigger("focus"))},_canFocusEditable:function(){var e=this;return(e._isVirtualIncellEditable()||e._isVirtualInlineEditable()||e._hasVirtualColumns())&&(vo((e.virtualScrollable||{}).wrapper,e._editContainer)||vo(e.content,e._editContainer))},_cacheEditableState:function(){var t,r,l,i=this,n=i._editContainer,a=n?i._modelForContainer(n):null,d=i._isVirtualInlineEditable(),c=i._isVirtualIncellEditable(),u=i._hasVirtualColumns();(d||c||u)&&a&&(i._clearEditableState(),t=e(s()),n&&t[0]&&y(n[0],t[0])&&(t.change(),(r=o.widgetInstance(t,o.ui))&&v(r.value)&&t.is(rt)&&(l=t.val(),t.is("[type='checkbox'")&&(l=t.is(":checked")),r.value(l),r.trigger($))),i._editMode()===lt?i._editableState={model:a,field:t.closest("["+o.attr(et)+"]").attr(o.attr(et))}:i._editMode()===ot&&(i._editableState={model:a,field:n.attr(o.attr(tt))}))},_clearSortClasses:function(){var e=this,t=e.content||e.table,r=e.lockedContent;t&&t.find(D).removeClass(Ce),r&&r.find(D).removeClass(Ce)},_clearEditableState:function(){var e=this;(e.virtualScrollable||e.virtualScroll&&e._hasVirtualColumns())&&(e._editableState=null)},_destroyVirtualScrollable:function(){var e=this;e._clearEditableState(),e.virtualScrollable&&e.virtualScrollable.element&&e.virtualScrollable.destroy(),e.virtualScrollable=null},_destroyRowResizing:function(){this.rowResizing&&(this.rowResizing.destroy(),this.rowResizing=null),this.rowResizer&&(this._detachRowResizerEvents(),this.rowResizer.off(Ue+P),this.rowResizer=null,this._clearCachedRowsHeight())},_renderNoRecordsContent:function(){var t=this;if(t.options.noRecords){var r=t.table.parent().children("."+be);r.length&&r.remove(),t.dataSource&&t.dataSource.view().length||(r=e(t.noRecordsTemplate({grid:t})),o.applyStylesFromKendoAttributes(r,["margin","position"]),r.insertAfter(t.table))}},_setContentWidth:function(t){var r,l=this,i="k-grid-content-expander",n='<div class="'+i+'"></div>',a=l.resizable;l.options.scrollable&&l.wrapper.is(":visible")&&(r=l.table.parent().children("."+i),l._setContentWidthHandler=l._setContentWidth.bind(l),l.dataSource&&l.dataSource.view().length?r[0]&&(r.remove(),a&&a.unbind("resize",l._setContentWidthHandler)):(r[0]||(r=e(n).appendTo(l.table.parent()),a&&a.bind("resize",l._setContentWidthHandler)),l.thead&&(r.width(l.thead.width()),isNaN(parseFloat(t,10))||o.scrollLeft(l.content,t))),l._applyLockedContainersWidth(),l._syncLockedContentHeight(),l.lockedHeader&&0===l.table[0].clientWidth&&(l.table[0].style.width="1px"))},_applyLockedContainersWidth:function(){if(this.options.scrollable&&this.lockedHeader){var e,t=this.thead.parent(),r=t.parent(),l=this.wrapper[0].clientWidth,i=this._groups(),n=o.support.scrollbar(),a=this.lockedHeader.find(">table>colgroup>col:not(.k-group-col, .k-hierarchy-col)"),s=t.find(">colgroup>col:not(.k-group-col, .k-hierarchy-col)"),d=Er(a),u=Er(s);i>0&&(d+=c(this.lockedHeader.find(".k-group-cell").first())*i),d>=l&&(d=l-3*n),this.lockedHeader.add(this.lockedContent).width(d),r[0].style.width=r.parent().width()-d-2+ut,t.add(this.table).width(u),this.virtualScrollable&&!Vt&&(l-=n),this.content[0].style.width=l-d-1+ut,this.lockedFooter&&this.lockedFooter.length&&(this.lockedFooter.width(d),(e=this.footer.find(".k-grid-footer-wrap"))[0].style.width=r[0].clientWidth+ut,e.children().first().width(u))}},_setContentHeight:function(){var e,t,r,l=this,i=l.options,n=l.wrapper.children(".k-grid-header"),a=o.support.scrollbar(),s=(i.scrollable||{}).height;if(i.scrollable&&l.wrapper.is(":visible")){s&&""===l.content[0].style.height&&(l.content[0].style.height=s),e=l.wrapper.innerHeight(),e-=u(n),l.pager&&l.pager.element.is(":visible")&&(e-=u(l.pager.element)),i.groupable&&(e-=u(l.wrapper.children(".k-grouping-header"))),i.toolbar&&(e-=u(l.wrapper.children(".k-grid-toolbar"))),l.footerTemplate&&(e-=u(l.wrapper.children(".k-grid-footer")));((t=l.wrapper)[0].style.height||(r=t.height(),t.height(Ye),r!=t.height()?(t.height(""),1):(t.height(""),0)))&&(e>2*a?(l.lockedContent&&(a=l.table[0].offsetWidth>l.table.parent()[0].clientWidth?a:0,l.lockedContent.height(e-a)),l.content.height(e)):l.content.height(2*a+1))}},_averageRowHeight:function(){var e=this,t=e._items(e.tbody,!0).length,r=e._rowHeight;if(0===t)return r;e._rowHeight||(e._rowHeight=r=u(e.table)/t,e._sum=r,e._measures=1);var o=u(e.table)/t;return r!==o&&(e._measures++,e._sum+=o,e._rowHeight=e._sum/e._measures),r},_dataSource:function(){var e,r=this,o=r.options,l=o.dataSource;l=b(l)?{data:l}:l,p(l)&&(f(l,{table:r.table,fields:r.columns}),e=o.pageable,p(e)&&e.pageSize!==t&&(l.pageSize=e.pageSize)),r.dataSource&&r._refreshHandler?r.dataSource.unbind($,r._refreshHandler).unbind(T,r._progressHandler).unbind(H,r._errorHandler).unbind(nt,r._sortHandler):(r._refreshHandler=r.refresh.bind(r),r._progressHandler=r._requestStart.bind(r),r._errorHandler=r._error.bind(r),r._sortHandler=r._clearSortClasses.bind(r)),r.dataSource=i.create(l).bind($,r._refreshHandler).bind(T,r._progressHandler).bind(H,r._errorHandler).bind(nt,r._sortHandler)},_error:function(){this._progress(!1)},_requestStart:function(){this._progress(!0)},_modelChange:function(t){var r,i,n,a,s,d,c,u,h,p=this,f=p.tbody,g=t.model,m=p.tbody.find("tr["+o.attr("uid")+"="+g.uid+"]"),b=m.hasClass("k-alt"),k=p._items(f).index(m),_=p.lockedContent;if(_&&(r=p._relatedRow(m)),m.add(r).children(".k-edit-cell").length&&!p.options.rowTemplate)m.add(r).children(":not(.k-group-cell,.k-hierarchy-cell)").each((function(){i=e(this),(n=Kr(p.columns)[p._calculateColumnIndex(i)]).field===t.field&&(i.hasClass("k-edit-cell")?i.addClass("k-dirty-cell"):p._displayCell(i,n,g))}));else if(!m.hasClass("k-grid-edit-row")){for(d=e().add(m),_&&(a=(b?p.lockedAltRowTemplate:p.lockedRowTemplate)(g),d=d.add(r),r.replaceWith(a)),a=(b?p.altRowTemplate:p.rowTemplate)(g),m.replaceWith(a),a=p._items(f).eq(k),_&&(m=m.add(r),r=p._relatedRow(a)[0],ho(a[0],r),a=a.add(r)),((s=p.options.selectable)||p._checkBoxSelection)&&m.hasClass(fe)&&p.select(a),u=d.children(":not(.k-group-cell,.k-hierarchy-cell)"),c=a.children(":not(.k-group-cell,.k-hierarchy-cell)"),k=0,h=p.columns.length;k<h;k++)n=p.columns[k],i=c.eq(k),s&&u.eq(k).hasClass(fe)&&i.addClass(fe);p.trigger("itemChange",{item:a,data:g,ns:l})}},_pageable:function(){var t,l=this,i=l.options.pageable,n=l.options.size,a=l.options.navigatable;i&&((t=l.wrapper.children("div.k-grid-pager")).length||(t=e('<div class="k-pager k-grid-pager"/>')),"top"===i.position?t.prependTo(l.wrapper).addClass("k-grid-pager-top"):t.appendTo(l.wrapper),l.pager&&l.pager.destroy(),"object"==typeof i&&i instanceof o.ui.Pager?l.pager=i:l.dataSource._groupPaging?l.pager=new r(t,f({},i,{dataSource:l.dataSource,navigatable:a,size:n})):l.pager=new o.ui.Pager(t,f({},i,{dataSource:l.dataSource,navigatable:a,size:n})),l.pager.bind("pageChange",(function(e){l.trigger("page",{page:e.index})&&e.preventDefault()})),l._togglePagerVisibility())},_footer:function(){var t,r=this,l=r.dataSource.aggregates(),i="",n=r.footerTemplate,a=r.options,s=r.footer||r.wrapper.find(".k-grid-footer");if(n)if(i=e(r._wrapFooter(n(l))),o.applyStylesFromKendoAttributes(i,["display","left","right"]),s.length){var d=i;s.replaceWith(d),s=r.footer=d}else s=a.scrollable?r.footer=a.pageable&&"top"!==a.pageable.position?i.insertBefore(r.wrapper.children("div.k-grid-pager")):i.appendTo(r.wrapper):r.footer=i.insertAfter(r.tbody);else s&&!r.footer&&(r.footer=s);if(s.length&&(a.scrollable&&(t=s.attr($e,-1).children(".k-grid-footer-wrap"),r.scrollables=e(r.scrollables.filter((function(){return!e(this).is(".k-grid-footer-wrap")})).toArray()).add(t)),r._footerWidth&&s.find("table").css("width",r._footerWidth),t)){var c=o.scrollLeft(r.content);!0!==a.scrollable&&r.virtualScroll&&r.virtualScroll.rows&&(c=o.scrollLeft(r.wrapper.find(".k-virtual-scrollable-wrap"))),o.scrollLeft(t,c)}r.lockedContent&&(r._appendLockedColumnFooter(),r._applyLockedContainersWidth(),r._syncLockedFooterHeight())},_wrapFooter:function(t){var r,l=this,i="",n=o.support.mobileOS?0:o.support.scrollbar();return l.options.scrollable?((r=(i=e('<div class="k-grid-footer"><div class="k-grid-footer-wrap"><table class="k-table k-grid-footer-table"><tfoot class="k-table-tfoot">'+t+"</tfoot></table></div></div>")).find("table")).addClass(o.getValidCssClass("k-table-","size",l.options.size)),l._appendCols(r),i.css(Pt?"padding-left":"padding-right",n),i):'<tfoot class="k-grid-footer k-table-tfoot">'+t+"</tfoot>"},_columnMenu:function(){var e,r,l,i,n,a,s=this,d=Kr(s.columns),c=s.options,u=c.columnMenu,h=m(s.columns,(function(e){return e.columns!==t})).length>0,p=m(s.columns,(function(e){return!1!==e.lockable})).length>0,g=m(s.columns,(function(e){return!0===e.stickable})).length>0,b=this._isMobile,k=function(e){s.trigger(j,{field:e.field,container:e.container})},_=function(e){s.trigger(K,{field:e.field,container:e.container})},v=function(){fo(s.table,!0)},w=function(e){s.trigger(Le,{column:e.column})},C=function(e){s.trigger(qe,{column:e.column})},y=function(e){s.trigger("sort",{sort:e.sort})?e.preventDefault():(s._clearEditableState(),s.dataSource.options.endless&&s._resetEndless())},S=function(e){s.trigger("filter",{filter:e.filter,field:e.field})?e.preventDefault():(s._clearEditableState(),s.dataSource.options.endless&&s._resetEndless())};if(u){"boolean"==typeof u&&(u={}),s._setColumnsMediaVisibility(d);for(var T=0,H=(a=Yr(s.thead)).length;T<H;T++){r=d[T];var R=a.eq(T);!1===r.columnMenu||r.command||!r.field&&!R.attr("data-"+o.ns+"field")||((e=R.data("kendoColumnMenu"))&&e.destroy(),i=!1!==r.sortable&&!1!==u.sortable&&!1!==c.sortable&&f({},c.sortable,{compare:(r.sortable||{}).compare}),n=!(!c.filterable||!1===r.filterable||!1===u.filterable)&&f({pane:s.pane},c.filterable,r.filterable),r.filterable&&r.filterable.dataSource&&(n.forceUnique=!1,n.checkSource=r.filterable.dataSource),n&&(n.format=r.format),l={dataSource:s.dataSource,values:r.values,columns:u.columns,sortable:i,filterable:n,messages:u.messages,owner:s,closeCallback:v,init:k,open:_,stick:w,unstick:C,pane:s.pane,sort:y,filtering:S,filter:b?":not(.k-column-active)":"",autoSize:u.autoSize,hasLockableColumns:Pr(d).length>0&&p&&!h,hasStickableColumns:g&&!h,encodeTitles:s.options.encodeTitles,componentType:u.componentType,appendTo:x+Nt,reorderable:!0===c.reorderable||c.reorderable&&c.reorderable.columns,groupable:s.options.groupable&&!1!==s.options.groupable.enabled&&!1!==r.groupable},R.kendoColumnMenu(l))}}},_headerCells:function(){return e(this.thead).find("th").filter((function(){var t=e(this);return!t.hasClass("k-group-cell")&&!t.hasClass("k-hierarchy-cell")}))},_hasFilterMenu:function(){var e=this.options.filterable;return(!e||typeof e.mode!=Xe||-1!=e.mode.indexOf("menu"))&&e},_filterable:function(){var e,t,r,l=this,i=Kr(l.columns),n=function(e){l.trigger(N,{field:e.field,container:e.container})},a=function(){fo(l.table,!0)},s=function(e){l.trigger("filter",{filter:e.filter,field:e.field})?e.preventDefault():(l._clearEditableState(),l.dataSource.options.endless&&l._resetEndless())},d=function(e){l.trigger(U,{field:e.field,container:e.container})},c=l._hasFilterMenu();if(c&&!l.options.columnMenu)for(var u=0,h=(t=Yr(l.thead)).length;u<h;u++)if(r=t.eq(u),!1!==i[u].filterable&&!i[u].command&&(i[u].field||r.attr("data-"+o.ns+"field"))){(e=r.data("kendoFilterMenu"))&&e.destroy(),(e=r.data("kendoFilterMultiCheck"))&&e.destroy();var p=i[u].filterable,g=f({},c,p,{dataSource:l.dataSource,values:i[u].values,format:i[u].format,closeCallback:a,title:i[u].title||i[u].field,init:n,open:d,pane:l.pane,change:s,appendTo:x+Nt});p&&p.messages&&(g.messages=f(!0,{},c.messages,p.messages)),p&&p.dataSource&&(g.forceUnique=!1,g.checkSource=p.dataSource),p&&p.multi?r.kendoFilterMultiCheck(g):r.kendoFilterMenu(g)}},_filterRow:function(){var t=this;if(t._hasFilterRow()){var r,l=Kr(t.columns),n=t.options.filterable,a=t.thead.find(".k-filter-row"),s=function(e){t.trigger("filter",{filter:e.filter,field:e.field})?e.preventDefault():(t._clearEditableState(),t.dataSource.options.endless&&t._resetEndless())};this._updateHeader(t._groups());for(var d=0;d<l.length;d++){var c,u=l[d],h=t.options.filterable.operators,p=!1,g=e("<td class='k-table-td' title='"+t.options.messages.filterCellTitle+"'/>"),m=u.field;if(u.hidden&&g.hide(),a.append(g),m&&!1!==u.filterable){var b=u.filterable&&u.filterable.cell||{};(c=t.options.dataSource)instanceof i&&(c=t.options.dataSource.options);var k=f(!0,{},n.messages);if(u.filterable&&f(!0,k,u.filterable.messages),!1===b.enabled){g.html("&nbsp;");continue}b.dataSource&&(c=b.dataSource,p=!0),u.filterable&&u.filterable.operators&&(h=u.filterable.operators),r={column:u,dataSource:t.dataSource,suggestDataSource:c,customDataSource:p,field:m,messages:k,size:t.options.size,values:u.values,template:b.template,delay:b.delay,inputWidth:b.inputWidth,suggestionOperator:b.suggestionOperator,minLength:b.minLength,dataTextField:b.dataTextField,operator:b.operator,operators:h,showOperators:b.showOperators,change:s},e("<span/>").attr(o.attr("field"),m).appendTo(g).kendoFilterCell(r)}else g.html("&nbsp;");g.data("column",u)}this._filterFocusable().attr($e,-1)}},_sortable:function(){var e,t,r,l=this,i=Kr(l.columns),n=l.options.sortable,a=function(e){l.trigger("sort",{sort:e.sort})?e.preventDefault():l._clearEditableState()};if(n){for(var s=Yr(l.thead),d=0,c=s.length;d<c;d++)!1!==(e=i[d]).sortable&&!e.command&&e.field&&((t=(r=s.eq(d)).data("kendoColumnSorter"))&&t.destroy(),r.attr("data-"+o.ns+"field",e.field).kendoColumnSorter(f({},n,e.sortable,{dataSource:l.dataSource,aria:!0,filter:":not(.k-column-active)",change:a})));s=null}},_columns:function(t){var r,l,i,n=this,a=n.table,s=a.find("col"),d=n.element.find("thead tr"),c=n.options.dataSource;if(t=t.length?t:g(a.find("th:not(.k-group-cell):not(.k-hierarchy-cell)"),(function(t,r){var l=(t=e(t)).attr(o.attr("sortable")),i=t.attr(o.attr("filterable")),n=t.attr(o.attr("type")),a=t.attr(o.attr("groupable")),d=t.attr(o.attr("field")),c=t.attr(o.attr("title")),u=t.attr(o.attr("column-menu")),h=t.attr(o.attr("menu"));return d||(d=t.text().replace(/\s|[^A-z0-9]/g,"")),{field:d,type:n,title:c,sortable:"false"!==l,filterable:"false"!==i,groupable:"false"!==a,menu:"false"!==h,columnMenu:"false"!==u,template:t.attr(o.attr("template")),width:s.eq(r).css(Qe)}})),r=!(n.table.find("tbody tr").length>0&&(!c||!c.transport)),n.options.scrollable){var u=t;if(l=Pr(t),t=Or(t),l.length>0&&0===t.length)throw new Error("There should be at least one non locked column");!function(e,t){var r,o,l=0,i=e.find("th:not(.k-group-cell)");for(r=0,o=t.length;r<o;r++)t[r].locked&&(i.eq(r).insertBefore(i.eq(l)),i=e.find("th:not(.k-group-cell)"),l++)}(n.element.find("tr:has(th)").first(),u),t=l.concat(t)}if(d.length&&t.length&&n._updateColumnIDs(t,d.first()),n.columns=or(t,r),e.grep(Kr(n.columns),(function(e){return e.selectable})).length&&(n._selectedIds={},n._checkBoxSelection=!0,n.wrapper.on(Ve+P,"tbody > tr "+me,n._checkboxClick.bind(n)),n.wrapper.on(Ve+P,"thead > tr "+me,n._headerCheckboxClick.bind(n))),(i=e.grep(Kr(n.columns),(function(e){return e.draggable}))).length){n._hasDragHandleColumn=!0;for(var h=0;h<i.length;h++)i[h].headerAttributes=e.extend({"aria-label":n.options.messages.dragHandleLabel},i[h].headerAttributes)}n._foreignKeyBindings(n.columns)},_foreignKeyBindings:function(e){for(var t,r=e.length,o=0;o<r;o++)(t=e[o]).dataSource&&this._fetchForeignKeyValues(t)},_fetchForeignKeyValues:function(t){var r=this,o=e.Deferred();r._hasBoundForeignKey=!0,t.dataSource=i.create(t.dataSource),r._foreignKeyPromises||(r._foreignKeyPromises=[]),r._foreignKeyPromises.push(o),t.dataSource.fetch().then((function(){var e=t.dataSource.data();t.values=e.map((function(e){return{value:e[t.dataValueField],text:e[t.dataTextField]}})),o.resolve()}))},_updateColumnIDs:function(e,t){if(e.length){for(var r,o=t.find("th:not(.k-group-cell):not(.k-hierarchy-cell)"),l=0;l<e.length;l++)(r=o.eq(l).attr(ct))&&(e[l].headerAttributes=f(e[l].headerAttributes,{id:r}));this._updateColumnIDs(jr(e),t.next())}},_headerCheckboxClick:function(t){var r=this,o=e(t.target),l=o.prop("checked");r._belongsToGrid(o)&&(r.trigger(Y,{target:o,originalEvent:t})?t.preventDefault():(l?r.select(r.items()):r.clearSelection(),r.trigger($)))},_checkboxClick:function(t){var r=this,o=e(t.target).closest(ht),l=!o.hasClass(fe);r._belongsToGrid(o)&&(r.trigger(Y,{target:o,originalEvent:t})?t.preventDefault():(l?r.select(o):r._deselectCheckRows(o),r.trigger($)))},_groups:function(){var e=this.dataSource.group();return e?e.length:0},_tmpl:function(t,r,l,i){var n,a,s,d,c,u,h,p=this,g=f({},o.Template,p.options.templateSettings),m=(g.paramName,r.length),b={storage:{},count:0},k=p._hasDetails(),_=p._groups(),v=o.attr("field");return t||(h=function(t){var h=m?" "+o.attr("uid")+'="'+o.getter("uid")(t)+'"':"",g='<tr class="'+(l?"k-alt k-table-row k-table-alt-row ":"k-table-row ")+'k-master-row"'+h+">";for(_>0&&!i&&(g+=$t(_)),k&&(g+='<td class="k-hierarchy-cell k-table-td" aria-expanded="false">'+o.ui.icon(e('<a href="#" '+ft+'="'+dt+'" tabindex="-1"></a>'),{icon:"caret-alt-"+(Pt?"left":"right")})+"</td>"),n=0;n<m;n++){if(s=r[n],a=s.template,typeof a,d=s.field,u={},p._editMode()===ot&&d){s.attributes=s.attributes||{},p.virtualScroll&&(s.attributes[v]=d);var w=p._dirtyCellTemplate(d)(t);s.attributes.class=s.attributes.class||"",s.attributes.class.indexOf(w)<0&&(s.attributes.class+=w)}s.colSpan&&s.colSpan>0&&(s.attributes||{})[o.attr("style-display")]?s.attributes=eo(s.attributes):!s.colSpan&&s.hidden&&(s.attributes=Zr(s.attributes)),s.command&&(s.attributes=s.attributes||{},void 0!==(c=s.attributes.class)?c.indexOf("k-command-cell")<0&&(s.attributes.class+=" k-command-cell"):s.attributes.class="k-command-cell"),s.draggable&&(s.attributes=s.attributes||{},void 0!==s.attributes.class?s.attributes.class.indexOf("k-drag-cell k-touch-action-none")<0&&(s.attributes.class+=" k-drag-cell k-touch-action-none"):s.attributes.class="k-drag-cell k-touch-action-none",void 0===s.attributes[ft]&&(s.attributes[ft]=p.options.messages.dragHandleLabel),void 0!==s.attributes.style?s.attributes.style.indexOf("cursor: move;")<0&&(s.attributes.style+=" cursor: move;"):s.attributes.style="cursor: move;"),s._attributesFunction&&(u=s._attributesFunction(t));var C=Jt(f({},s.attributes,u)),y="";s.colSpan&&(s.colSpan>1&&(y+=" "+o.attr("virtual")),y+=' colSpan="'+s.colSpan+'"'),g+=yr("<td"+C+y+">"),g+=s.selectable?o.template(Mt)({size:o.getValidCssClass("k-checkbox-","size",p.options.size)}):p._cellTmpl(s,b)(t),g+="</td>"}return g+="</tr>"}),t=o.template(t||h,g),b.count>0?t.bind(b.storage):t},_dirtyCellTemplate:function(e){return function(t){return e&&t&&t.dirty&&t.dirtyFields&&("["===e.charAt(0)?o.getter(e)(t.dirtyFields):t.dirtyFields[e])?" k-dirty-cell":""}},_headerCellText:function(e){var t=f({},o.Template,this.options.templateSettings),r=e.headerTemplate,l=typeof r,i=e.title&&(this.options.encodeTitles?So(e.title):e.title)||e.field||"";return l===Je?i=o.template(r,t)({}):l===Xe&&(i=r),i},_cellTmpl:function(e,t){var r,l,i=this,n=f({},o.Template,i.options.templateSettings),a=e.template,s=e.field,d=e.format,c=typeof a,u=e.values;return e.command?b(e.command)?function(t){var o="";for(r=0,l=e.command.length;r<l;r++)e.command[r].visible?o+=e.command[r].visible(t)?i._createButton(e.command[r]):"":o+=i._createButton(e.command[r]);return o}:function(){return i._createButton(e.command)}:e.selectable?Mt:e.draggable?Lt:function(r){var l=i._dirtyIndicatorTemplate(s)(r);if(c===Je)t.storage["tmpl"+t.count]=a,l+=a(r),t.count++;else if(c===Xe)l+=o.template(a,n)(r);else if(u&&u.length&&p(u[0])&&"value"in u[0]&&s){var h=ro(u)[n.useWithBlock?o.getter(s)(r):s];l+=w(null!=h?h:"")}else{var f="";s&&(f=null==(s=o.getter(s)(r))?"":s),d&&(f=o.format(d.replace(It,"$1"),f)),l+=e.encoded?w(f):f}return l}},_dirtyIndicatorTemplate:function(e){return function(t){return e&&t&&t.dirty&&t.dirtyFields&&("["===e.charAt(0)?o.getter(e)(t.dirtyFields):t.dirtyFields[e])?'<span class="k-dirty"></span>':""}},_virtualCols:function(t){var r,l=this,i=e.map(t,(function(e){return e.hidden?0:parseInt(e.width,10)})),n=l.virtualScrollable?o.scrollLeft(l.content.find(">.k-virtual-scrollable-wrap")):o.scrollLeft(l.content),a=c(l.content),s=zr(t),d=[],u=0,h=0,p=0,f=0,g=0;for(f=0;f<t.length;f++){if(r=f<i.length-1?i[f+1]:0,!(g+i[f]+2*r<n)){u=1+p;break}i[f]&&p++,g+=i[f]}p=0,g=0;for(var m=t.length-1;m>=0;m--){if(!(g+3*i[m]<s-a-n)){h=1+p;for(var b=f;b<=m;b++)t[b].locked||(d.push(t[b]),t[b].colSpan&&delete t[b].colSpan);d[0].colSpan=u,d[d.length-1].colSpan=h;break}i[m]&&p++,g+=i[m]}return d[0].hidden&&d[0].colSpan--,l.virtualCols=d,d},_templates:function(){var t=this,r=t.options,o=t.dataSource,l=o.group(),i=t.footer||t.wrapper.find(".k-grid-footer"),n=o.aggregate(),a=Kr(t.columns),s=Kr(Pr(t.columns)),d=r.scrollable?Kr(Or(t.columns)):a,c=(t.virtualScroll||{}).columns?t._virtualCols(d):d,u=m(pr(s),(function(e,t){return e.groupHeaderColumnTemplate&&0!==t})),h=m(pr(c),(function(e){return e.groupHeaderColumnTemplate}));if(r.scrollable&&s.length){if(r.rowTemplate||r.altRowTemplate)throw new Error("Having both row template and locked columns is not supported");t.rowTemplate=t._tmpl(r.rowTemplate,c,!1,!0),t.altRowTemplate=t._tmpl(r.altRowTemplate||r.rowTemplate,c,!0,!0),t.lockedRowTemplate=t._tmpl(r.rowTemplate,s),t.lockedAltRowTemplate=t._tmpl(r.altRowTemplate||r.rowTemplate,s,!0)}else t.rowTemplate=t._tmpl(r.rowTemplate,c),t.altRowTemplate=t._tmpl(r.altRowTemplate||r.rowTemplate,c,!0);t._hasDetails()&&(t.detailTemplate=t._detailTmpl(r.detailTemplate||function(){return""})),(t._group&&!C(n)||!C(n)&&!i.length||m(a,(function(e){return e.footerTemplate})).length)&&(t.footerTemplate=t._footerTmpl(a,n,"footerTemplate","k-footer-template k-table-row")),l&&m(a,(function(e){return e.groupFooterTemplate})).length&&(n=e.map(l,(function(e){return e.aggregates})),t.groupFooterTemplate=t._footerTmpl(c,n,"groupFooterTemplate","k-group-footer k-table-row",s.length),r.scrollable&&s.length&&(t.lockedGroupFooterTemplate=t._footerTmpl(s,n,"groupFooterTemplate","k-group-footer k-table-row"))),l&&(u.length||h.length)?(n=e.map(l,(function(e){return e.aggregates})),t.groupHeaderColumnTemplate=t._groupHeaderTmpl(pr(c),n,"groupHeaderColumnTemplate","k-table-group-row k-grouping-row k-table-row",s.length,h),r.scrollable&&s.length&&(t.lockedGroupHeaderColumnTemplate=t._groupHeaderTmpl(pr(s),n,"groupHeaderColumnTemplate","k-table-group-row k-grouping-row k-table-row",0,u))):(t.groupHeaderColumnTemplate=null,t.lockedGroupHeaderColumnTemplate=null),t.options.noRecords&&(t.noRecordsTemplate=t._noRecordsTmpl())},_noRecordsTmpl:function(){var t,r,l,i,n='<div class="{0}">{1}</div>',a=this.options.scrollable&&!this.wrapper[0].style.height?" "+o.attr("style-margin")+'="0 auto" '+o.attr("style-position")+'="static"':"",s={storage:{},count:0},d=e.extend({},o.Template,this.options.templateSettings);d.paramName;if("function"===(r=typeof(t=this.options.noRecords.template?this.options.noRecords.template:o.format('<div class="k-grid-norecords-template"{1}>{0}</div>',this.options.messages.noRecords,a)))){var c=s.storage["tmpl"+s.count]=t;s.count++,i=function(e){return o.format(n,be,c(e))}}else"string"===r&&(i=this.options.noRecords.template?o.format(n,be,t):function(){return o.format(n,be,t)});return l=o.template(i,d),s.count>0&&(l=l.bind(s.storage)),l},_footerTmpl:function(e,t,r,l,i){var n,a,s,d,c,u=this,h=f({},o.Template,u.options.templateSettings),p=h.paramName,g={},m=0,b={},k=u._groups(),_=u.dataSource._emptyAggregates(t),v=o.template((function(t){var v='<tr class="'+l+'">';for(k>0&&!i&&(v+=$t(k)),u._hasDetails()&&(v+='<td class="k-hierarchy-cell k-table-td">&nbsp;</td>'),n=0,a=e.length;n<a;n++)c=e[n],s=c[r],d=typeof s,v+=yr("<td"+Jt(c.footerAttributes)+">"),s?(d!==Je&&(b=_[c.field]?f({},h,{paramName:p+"['"+c.field+"']"}):{},s=o.template(s,b)),g["tmpl"+m]=s,v+=s(t),m++):v+="&nbsp;",v+="</td>";return v+="</tr>"}),h);return m>0?v.bind(g):v},_groupHeaderTmpl:function(e,t,r,l,i,n){var a,s,d,c,u,h,g=this,m=f({},o.Template,g.options.templateSettings),b=m.paramName,_="",v={},w=0,C={},y=g.dataSource._emptyAggregates(t),S=n.length?k(n[0],e):-1;if(!(S<0)){return _=o.template((function(t){var k='<tr class="'+l+'">';if(!i)for(var _=0;_<t.groupCells;_++)k+='<td class="k-table-td k-group-cell">&nbsp;</td>';if(g._hasDetails()&&(k+='<td class="k-table-td k-hierarchy-cell">&nbsp;</td>'),S<1&&n.length<=1&&!i)return k+=i?"":wo(e.length)(t);for(S<1?(S=i?0:1,k+=i?"":wo(S)(t)):k+=i?function(e){return'<td class="k-table-td" colspan="'+e+'"><p class="k-reset">&nbsp;</p></td>'+new Array(e).join("<td hidden group-header-spanned-hidden></td>")}(S):wo(S)(t),a=S,s=e.length;a<s;a++){if(u=e[a],d=u[r],c=typeof d,u.sticky){var x="";if((h=u.groupHeaderColumnTemplateClass||"")||(h=u.groupHeaderColumnTemplateClass="group-header-column-template-"+o.guid()),p(u.stickyStyle))x=(u.stickyStyle.left?o.attr("style-left")+'="'+u.stickyStyle.left+'"':"")+" "+(u.stickyStyle.right?o.attr("style-right")+'="'+u.stickyStyle.right+'"':"");k+='<td class="k-table-td '+xe+" "+h+'" '+x+">"}else k+="<td class='k-table-td'>";d?(c!==Je&&(C=y[u.field]?f({},m,{paramName:b+"['"+u.field+"']"}):{},d=o.template(d,C)),v["tmpl"+w]=d,k+=v["tmpl"+w](t),w++):k+="&nbsp;",k+="</td>"}return k+="</tr>"}),m),w>0?_.bind(v):_}},_detailTmpl:function(e){var t=this,r=f({},o.Template,t.options.templateSettings),l=(r.paramName,{}),i=0,n=t._groups(),a=pr(Kr(t.columns)).length,s=typeof e,d=o.template((function(t){var d='<tr role="row" class="k-detail-row k-table-row">';return n>0&&(d+=$t(n)),d+='<td role="gridcell" class="k-hierarchy-cell k-table-td"></td><td role="gridcell" class="k-table-td k-detail-cell"'+(a?' colspan="'+a+'"':"")+">",s===Je?(l["tmpl"+i]=e,d+=e(t),i++):d+=o.template(e,r)(t),d+="</td></tr>"}),r);return i>0?d.bind(l):d},_hasDetails:function(){return null!==this.options.detailTemplate||(this._events[G]||[]).length},_hasFilterRow:function(){var t=this.options.filterable,r=t&&typeof t.mode==Xe&&-1!=t.mode.indexOf(xt),o=this.columns,l=e.grep(o,(function(e){return!1===e.filterable}));return o.length&&l.length==o.length&&(r=!1),r},_details:function(){var t=this;if(t.options.scrollable&&t._hasDetails()&&Pr(t.columns).length)throw new Error("Having both detail template and locked columns is not supported");t.table.on(Ve+P,".k-hierarchy-cell "+L+", .k-hierarchy-cell "+F,(function(r){var o=e(this);return t._toggleDetails(o),r.preventDefault(),!1}))},_toggleDetails:function(t,r){var l,i,n,a=this,s=t.closest("td.k-hierarchy-cell"),d=t.is(L),c=t.closest("tr.k-master-row"),u=c.attr(_t),h=a.detailTemplate,p=a._hasDetails(),f=d?st:dt,g=!!d;d?o.ui.icon(t,{icon:"caret-alt-down"}):o.ui.icon(t,{icon:"caret-alt-"+(Pt?"left":"right")}),t.attr(ft,f),s.attr(vt,g),(l=c.next()).hasClass("k-hidden")&&l.removeClass("k-hidden"),p&&!l.hasClass("k-detail-row")&&(i=a.dataItem(c),l=e(h(i)).addClass(c.hasClass("k-alt")?"k-alt":"").insertAfter(c),(u||0===u)&&l.attr(_t,Number(u)+1),a.trigger(G,{masterRow:c,detailRow:l,data:i,detailCell:l.find(".k-detail-cell")})),a.trigger(d?te:re,{masterRow:c,detailRow:l}),r?(n=d,e(l)[0].style.display=n?"":St):l.toggle(d)},dataItem:function(t){if(!(t=e(t)[0]))return null;var r,o,l=this.tbody.children(),i=/k-grouping-row|k-detail-row|k-group-footer/,n=t.sectionRowIndex;for(o=n,r=0;r<n;r++)i.test(l[r].className)&&o--;return this._data[o]},expandRow:function(t,r){var o=e(t).find("> td "+L);o.length&&this._toggleDetails(o,r)},collapseRow:function(t,r){var o=e(t).find("> td "+F);o.length&&this._toggleDetails(o,r)},_createHeaderCells:function(r,l){var i,n,a,s,d,c,u,h=this,p="",f=h.options.columnMenu,g=(h.options.sortable,h._hasFilterMenu()),m=h.options.messages,b=Kr(h.columns),_=h.dataSource.group();for(i=0,s=r.length;i<s;i++){n=r[i].column||r[i],a=h._headerCellText(n),d=n.title,c="";var v=k(n,b),w="";n.selectable?(w+="<th scope='col'"+Jt(n.headerAttributes),l&&!r[i].colSpan&&(w+=" rowspan='"+l+"'"),v>-1&&(w+=o.attr("index")+"='"+v+"'"),w+=">"+(a=n.headerTemplate?a:o.template(Ft)({size:o.getValidCssClass("k-checkbox-","size",h.options.size)}))+"</th>"):n.draggable?(w+="<th class='k-header k-drag-cell' scope='col'"+Jt(n.headerAttributes),l&&!r[i].colSpan&&(w+=" rowspan='"+l+"'"),v>-1&&(w+=o.attr("index")+"='"+v+"'"),w+=">"+(a=n.headerTemplate?a:"")+"</th>"):n.command?(w+="<th scope='col'"+Jt(n.headerAttributes),l&&!r[i].colSpan&&(w+=" rowspan='"+l+"'"),v>-1&&(w+=o.attr("index")+"='"+v+"'"),w+=">"+a+"</th>"):(n.field&&(c=o.attr("field")+"='"+n.field+"' "),w+="<th scope='col' "+c,f&&n.field&&!1!==n.menu?w+=" aria-haspopup='menu'":g&&!1!==n.filterable&&!n.command&&(w+=" aria-haspopup='dialog'"),l&&!r[i].colSpan&&(w+=" rowspan='"+l+"'"),r[i].colSpan>1?(w+='colspan="'+(r[i].colSpan-Ir(n.columns))+'" ',w+=o.attr("colspan")+"='"+r[i].colSpan+"'"):1===r[i].colSpan&&(w+=o.attr("colspan")+"='"+r[i].colSpan+"'"),d&&(d=d&&(h.options.encodeTitles?So(d,!0):d),w+=o.attr("title")+'="'+d+'" '),n.groupable!==t&&(w+=o.attr("groupable")+"='"+n.groupable+"' "),u=n,!h.options.groupable||!u.groupable&&u.groupable!==t||n.headerAttributes&&n.headerAttributes.title||(w+="title='",w+=go(_,n.field)?m.ungroupHeader:m.groupHeader,w+="' "),n.aggregates&&n.aggregates.length&&(w+=o.attr("aggregates")+"='"+n.aggregates+"'"),v>-1&&(w+=o.attr("index")+"='"+v+"'"),w+=Jt(n.headerAttributes),w+=">"+(a=o.template(qt)({text:a}))+"</th>"),p+=e(w).addClass("k-table-th")[0].outerHTML}return p},_appendLockedColumnContent:function(){var t,r,l,i,n,a=this.columns,s=this.table.find("colgroup"),d=s.find(D),c=e(),u=0,h=0;for(t=0,r=a.length;t<r;t++)if(a[t].locked)if(hr(a[t])){for(i=1,a[t].columns&&(i=Kr(a[t].columns).length-Ir(a[t].columns)),i=i||1,n=0;n<i;n++)c=c.add(d.eq(t+h+n-u));h+=i-1}else u++;l=e('<div class="k-grid-content-locked"><table class="k-grid-table k-table"><colgroup></colgroup><tbody class="k-table-tbody"></tbody></table></div>'),s.detach(),l.find("colgroup").append(c),s.insertBefore(this.table.find("tbody")),this.lockedContent=l.insertBefore(this.content),this.lockedTable=l.children("table"),this.lockedTable.addClass(o.getValidCssClass("k-table-","size",this.options.size))},_appendLockedColumnFooter:function(){var t,r,l=this,i=l.footer,n=i.find(".k-footer-template>td"),a=i.find(".k-grid-footer-wrap>table>colgroup>col"),s=e('<div class="k-grid-footer-locked"><table class="k-grid-footer-table k-table"><colgroup></colgroup><tfoot class="k-table-tfoot"><tr class="k-footer-template k-table-row"></tr></tfoot></table></div>'),d=l._groups(),c=e(),u=e();for(s.find("table").addClass(o.getValidCssClass("k-table-","size",this.options.size)),c=c.add(n.filter(".k-group-cell")),t=0,r=Kr(Pr(l.columns)).length;t<r;t++)c=c.add(n.eq(t+d));for(u=u.add(a.filter(".k-group-col")),t=0,r=pr(Kr(Br(l.columns))).length;t<r;t++)u=u.add(a.eq(t+d));c.appendTo(s.find(ht)),u.appendTo(s.find("colgroup")),l.lockedFooter=s.prependTo(i)},_appendLockedColumnHeader:function(t){var r,l,i,n,a,s,d,c,u,h=this,p=this.columns,f=[],g=0,m=e(),b=h._hasFilterRow(),k=0,_=e(),v=0,w=e();n=h.thead.prev().find(D),d=h.thead.find(ht).first().find(".k-header:not(.k-group-cell,.k-hierarchy-cell)"),c=h.thead.find(".k-filter-row").find("td:not(.k-group-cell,.k-hierarchy-cell)");var C=0;for(r=0,i=p.length;r<i;r++){if(p[r].locked){if(u=d.eq(r),v=Kr(p[r].columns||[]).length,hr(p[r])){var y=null;p[r].columns&&(y=v-Ir(p[r].columns)),y=y||1;for(var S=0;S<y;S++)m=m.add(n.eq(r+C+S-g));C+=y-1}Dr([p[r]],Jr(u),f,0,0),v=v||1;for(var x=0;x<v;x++)_=_.add(c.eq(k+x));k+=v}p[r].columns&&(g+=Ir(p[r].columns)),hr(p[r])||g++}if(f.length){for(l='<div class="k-grid-header-locked"><table class="k-grid-header-table k-table"><colgroup></colgroup><thead class="k-table-thead">',l+=new Array(f.length+1).join("<tr class='k-table-row'></tr>"),(s=e(l+=(b?'<tr class="k-filter-row k-table-row"></tr>':"")+"</thead></table></div>")).find(".k-grid-header-locked").css("width","1px"),s.find("table").addClass(o.getValidCssClass("k-table-","size",h.options.size)),(n=s.find("colgroup")).append(h.thead.prev().find("col.k-group-col").add(m)),a=s.find("thead tr:not(.k-filter-row)"),r=0,i=f.length;r<i;r++)w=mr(f[r]),a.eq(r).append(h.thead.find(ht).eq(r).find(".k-group-cell").add(w));var T=Ar(this.thead);return f.length<T&&function(e,t){for(var r,o=e.find("tr:not(.k-filter-row) th:not(.k-group-cell,.k-hierarchy-cell)"),l=0;l<o.length;l++)(r=o[l].rowSpan)>1&&(o[l].rowSpan=r-t||1)}(s,T-f.length),s.find(".k-filter-row").append(h.thead.find(".k-filter-row .k-group-cell").add(_)),this.lockedHeader=s.prependTo(t),this.thead.find(".k-group-cell").remove(),!0}return!1},_removeLockedContainers:function(){var e=this.lockedHeader.add(this.lockedContent).add(this.lockedFooter);o.destroy(e),e.off(P).remove(),this.lockedHeader=this.lockedContent=this.lockedFooter=null,this.selectable=null},_thead:function(){var t,r,l,i=this,n=i.columns,a=i._hasDetails()&&n.length,s=i._hasFilterRow(),d="",c=i.table.find(">thead"),u=i.element.find("thead").first().length>0,h=i.options.messages.expandCollapseColumnHeader;if(c.length||(c=e("<thead/>").insertBefore(i.tbody)),c.addClass("k-table-thead").attr("role","rowgroup"),i.lockedHeader&&i.thead?((r=i.thead.find("tr:has(th):not(.k-filter-row)").html("")).remove(),r=e(),i._removeLockedContainers()):r=u?i.element.find("thead").first().find("tr:has(th):not(.k-filter-row)"):i.element.find("tr:has(th)").first(),r.length){for(t=0;t<n.length;t++){var p=k(n[t],Kr(n)),f=Yr(r.parent()).filter("th:not(.k-group-cell):not(.k-hierarchy-cell)").eq(p);f.addClass("k-table-th"),n[t].hidden&&p>=0&&(f[0].style.display=St)}i._updateHeadersAttr(jr(n))}else if(!(r=c.children().first()).length){var g=[{rowSpan:1,cells:[],index:0}];for(i._prepareColumns(g,n),t=0;t<g.length;t++)d+="<tr class='k-table-row'>",a&&(d+='<th class="k-hierarchy-cell k-table-th" scope="col">'+h+"</th>"),d+=i._createHeaderCells(g[t].cells,g[t].rowSpan),d+="</tr>";r=e(d),o.applyStylesFromKendoAttributes(r,["display","left","right"])}if(s){var m=e("<tr/>");m.addClass("k-filter-row k-table-row"),(a||r.find(".k-hierarchy-cell").length)&&m.prepend('<td class="k-table-td k-hierarchy-cell">&nbsp;</td>');var b=(i.thead||c).find(".k-filter-row");b.length&&(o.destroy(b),b.remove()),c.append(m)}r.children().length?a&&!r.find(".k-hierarchy-cell")[0]&&r.prepend('<th class="k-hierarchy-cell k-table-th" scope="col">'+(h||"&nbsp;")+"</th>"):(d="",a&&(d+='<th class="k-hierarchy-cell k-table-th" scope="col">&nbsp;</th>'),d+=i._createHeaderCells(n),r.html(d)),r.find("th").addClass("k-header"),i.options.scrollable||c.addClass("k-grid-header"),r.find("script").remove().end().prependTo(c),i.thead&&i._destroyColumnAttachments(),i.thead=c,i._sortable(),i._filterable(),i._filterRow(),i._scrollable(),i._columnMenu();var _=this.options.scrollable&&Pr(this.columns).length;_&&(l=i._appendLockedColumnHeader(i.thead.closest(".k-grid-header")),i._appendLockedColumnContent(),i.lockedContent.on("DOMMouseScroll"+P+" mousewheel"+P,i._wheelScroll.bind(i)),o.support.touch&&(i._lockedContentUserEvents=new o.UserEvents(i.lockedContent,{move:function(e){i.content.scrollTop(i.content.scrollTop()+-e.y.delta),e.preventDefault()}})),i._updateLockedCols()),i._updateCols(),i._updateColumnCellIndex(),i._updateFirstColumnClass(),i._resizable(),i._draggable(),i._reorderable(),i._updateHeader(i._groups()),i._updateStickyColumns(),_&&(l&&i._syncLockedHeaderHeight(),i._applyLockedContainersWidth()),i.groupable&&i._attachGroupable()},_retrieveFirstColumn:function(t,r){var o=e();if(r.length&&t[0]){for(var l=t[0];l.columns&&l.columns.length;)l=l.columns[0],r=r.filter(":not(:first)");o=o.add(r)}return o},_updateFirstColumnClass:function(){var t=this,r=t.columns||[];if(!(t._hasDetails()&&r.length)&&!t._groups()){var o=t.thead.find(">tr:not(.k-filter-row):not(:first)");r=Or(r);var l=t._retrieveFirstColumn(r,o);t._isLocked()&&(o=t.lockedHeader.find("thead>tr:not(.k-filter-row):not(:first)"),r=Pr(t.columns),l=l.add(t._retrieveFirstColumn(r,o))),l.each((function(){var t=e(this).find("th");t.removeClass("k-first"),t.eq(0).addClass("k-first")}))}},_prepareColumns:function(e,t,r,o){for(var l=o||e[e.length-1],i=e[l.index+1],n=0,a=0;a<t.length;a++){var s={column:t[a],colSpan:0};l.cells.push(s),t[a].columns&&t[a].columns.length&&(i||(i={rowSpan:0,cells:[],index:e.length},e.push(i)),s.colSpan=t[a].columns.length,this._prepareColumns(e,t[a].columns,s,i),n+=s.colSpan-1,l.rowSpan=e.length-l.index)}r&&(r.colSpan+=n)},_wheelScroll:function(e){if(!e.ctrlKey){var t=this.content;this.virtualScroll&&this.virtualScroll.rows&&(t=this.virtualScrollable.verticalScrollbar);var r=t.scrollTop(),l=o.wheelDeltaY(e);l&&(t[0].scrollHeight>t[0].clientHeight&&(t[0].scrollTop<t[0].scrollHeight-t[0].clientHeight&&l<0||t[0].scrollTop>0&&l>0)&&e.preventDefault(),t.scrollTop(r+-l))}},_isLocked:function(){return null!=this.lockedHeader},_updateHeaderCols:function(){var e=this.thead.parent().add(this.table);this._isLocked()?to(e,Gr(Wr(this.columns)),this._hasDetails(),0):to(e,Gr(pr(this.columns)),this._hasDetails(),0)},_updateColumnSorters:function(){var e,t,r=this,o=Yr(r.thead),l=Kr(r.columns);if(r.options.sortable)for(var i=0,n=o.length;i<n;i++)!1!==(e=l[i]).sortable&&!e.command&&e.field&&(t=o.eq(i).data("kendoColumnSorter"))&&t.refresh()},_updateHeadersAttr:function(e){if(e.length){for(var t=0;t<e.length;t++){if(e[t].headerAttributes)this.element.find("[id='"+e[t].headerAttributes.id+"']").attr("headers",e[t].headerAttributes.headers)}this._updateHeadersAttr(jr(e))}},_updateCols:function(e){e=e||this.thead.parent().add(this.table),this._appendCols(e,this._isLocked())},_updateLockedCols:function(e){this._isLocked()&&to(e=e||this.lockedHeader.find("table").add(this.lockedTable),Gr(Br(this.columns)),this._hasDetails(),this._groups())},_appendCols:function(e,t){t?to(e,Gr(Wr(this.columns)),this._hasDetails(),0):to(e,Gr(pr(this.columns)),this._hasDetails(),this._groups())},_autoColumns:function(e){if(e&&e.toJSON){var t,r,l=this;for(t in e=e.toJSON(),r=!(l.table.find("tbody tr").length>0&&(!l.dataSource||!l.dataSource.transport)),e)l.columns.push({field:t,encoded:r,headerAttributes:{id:o.guid()}});l._thead(),l._templates()}},_setRowCachedHeight:function(t,r){var o,l=this._cachedRowsHeight[r];return l&&((o=e(t))[0].style.height=l+"px",t=o.prop("outerHTML")),t},_rowsHtml:function(e,t){var r,o,l,i=this,n="",a=t.rowTemplate,s=t.altRowTemplate,d=i._cachedRowsHeight;for(r=0,o=e.length;r<o;r++)i._skipRerenderItemsCount>0?i._skipRerenderItemsCount--:(l=r%2?s(e[r]):a(e[r]),d&&(l=i._setRowCachedHeight(l,e[r].uid)),n+=l),i._data.push(e[r]);return n},_groupData:function(e,t,r){var o=this._groupAggregatesDefaultObject||{},l=e.items,i=f({},o,e.aggregates),n=f({},{field:e.field,value:e.value,items:l,aggregates:i},e.aggregates[r?r.field:e.field]),a={};if(!t)for(var s in i)a[s]=f({},i[s],{group:{field:e.field,value:e.value,items:l}});return f({},a,n)},_removeGroupIfEmpty:function(e){for(var t,r,o=this.dataSource._group.length,l=0;l<o;l++)t=+(e=e.prev()).attr("data-group-item-count"),r=+e.attr("data-sub-group-count"),1!=t&&1!=r||e.hide()},_groupRowHtml:function(e,t,r,l,i,n,a,s){var d,c,u,h=this,p="",g=null!=h.lockedContent,b=e.field,_=m(Kr(h.columns),(function(e){return e.field==b}))[0]||{},v=pr(h.columns)[0],w=v?v.groupHeaderColumnTemplate:null,C=_.groupHeaderTemplate?_.groupHeaderTemplate:w,y=(_.title&&(h.options.encodeTitles?So(_.title,!0):_.title)||b)+": "+oo(e.value,_.format,_.values,_.encoded),S=e.currentItems||e.items,x=h._groups(),T=i.groupFooterTemplate,H=i.groupHeaderColumnTemplate,R=h.dataSource._isGroupPaged(),I=!R||h.dataSource._groupsState[e.uid];if(h.options.editable&&e.items&&e.items[0]&&e.items[0].isNew&&e.items[0].isNew()&&(I=!0),(i.groupFooterTemplate||i.groupHeaderColumnTemplate||_.groupHeaderTemplate)&&(u=h._groupData(e,!1,!(_.groupHeaderTemplate||!pr(h.columns)[0].groupHeaderColumnTemplate)&&pr(h.columns)[0])),C&&!n&&(y=typeof C===Je?C(u):o.template(C)(u)),h._skipRerenderItemsCount?l(t,r,y,I,e.uid,R):e.excludeHeader?e.excludeHeader=!!g&&!s:p+=function(e,t,r,o,l,i,n,a,s,d){var c;c=e?e(f({},l,{groupCells:i,colspan:o,text:n})):t(r,i,n,a,s.uid,d);return c}(H,l,t,x-r,u,r,y,I,e,R),I)if(e.hasSubgroups)for(d=0,c=S.length;d<c;d++)p+=h._groupRowHtml(S[d],n?t:t-1,r+1,l,i,n,a&&d===S.length-1,s);else p+=h._rowsHtml(S,i);return T&&(a?k(e.value,h._skippedGroups)||h._skippedGroups.push(e.value):(h._skippedGroups.length&&h._skippedGroups[0]===e.value&&h._skippedGroups.shift(),h._skipRerenderItemsCount||(p+=T(u)))),p},collapseGroup:function(t){var r,l,i,n,a,s=this,d=t,c=this.options.groupable.showFooter?0:1,u=e();if(r=(t=e(t)).find(".k-group-cell").length,this.dataSource._isGroupPaged()){var h,p=t.attr("data-group-uid"),f=s.dataSource._getGroupByUid(p),g=s.dataSource._calculateGroupsTotal([f],!0);return s.dataSource._groupsState[p]=!1,h=s.dataSource._calculateGroupsTotal([f],!0),s.dataSource._serverGroupsTotal-=g-h,s._progress(!0),void s.dataSource.range(s.dataSource._currentRangeStart,s.dataSource.take(),(function(){s._progress(!1)}),"collapseGroup")}this._isLocked()&&(t.closest(pt).hasClass("k-grid-content-locked")?u=this.tbody.children(ht).eq(t.index()).nextAll(ht):(u=t.nextAll(ht),t=this.lockedTable.find(">tbody>tr").eq(t.index()))),t.find(F).length&&o.ui.icon(t.find(F),{icon:"caret-alt-"+(Pt?"left":"right")}),t.find("td[aria-expanded='true']").first().attr(vt,!1).find("a").attr(ft,dt);var m=[];for(i=0,n=(t=t.nextAll(ht)).length;i<n&&(l=(a=t.eq(i)).find(".k-group-cell").length,a.hasClass(Ie)?c++:a.hasClass("k-group-footer")&&c--,!(l<=r||a.hasClass("k-group-footer")&&c<0));i++)u.length&&m.push(u[i]),m.push(a[0]);e(m).hide(),this.options.scrollable.endless&&this.content&&(clearTimeout(s._collapseGroupsTimeOut),s._collapseGroupsTimeOut=setTimeout((function(){s.content.scroll(),s._groupToCollapse=d})))},expandGroup:function(t){t=e(t);var r,l,i,n,a,s=this,d=s.options.groupable.showFooter,c=e(),u=[],h=1;if(r=t.find(".k-group-cell").length,this.dataSource._isGroupPaged()){var p,f=t.attr("data-group-uid"),g=s.dataSource._getGroupByUid(f),m=s.dataSource._calculateGroupsTotal([g],!0);return s.dataSource._groupsState[f]=!0,g.items&&g.items.length&&(p=s.dataSource._calculateGroupsTotal([g],!0),s.dataSource._serverGroupsTotal+=p-m),s._progress(!0),void s.dataSource.range(s.dataSource._currentRangeStart,s.dataSource.take(),(function(){s._progress(!1)}),"expandGroup")}for(this._isLocked()&&(t.closest(pt).hasClass("k-grid-content-locked")?c=this.tbody.children(ht).eq(t.index()).nextAll(ht):(c=t.nextAll(ht),t=this.lockedTable.find(">tbody>tr").eq(t.index()))),t.find(L).length&&o.ui.icon(t.find(L),{icon:"caret-alt-down"}),t.find("td[aria-expanded='false']").first().attr(vt,!0).find("a").attr(ft,st),n=0,a=(t=t.nextAll(ht)).length;n<a&&!((i=(l=t.eq(n)).find(".k-group-cell").length)<=r);n++)if(i!=r+1||l.hasClass("k-detail-row")||(l.show(),c.eq(n).show(),l.hasClass(Ie)&&l.find(".k-icon,.k-svg-icon").is(F)&&s.expandGroup(l),l.hasClass("k-master-row")&&l.find(".k-icon,.k-svg-icon").is(F)&&(l.next().show(),c.eq(n+1).show())),l.hasClass(Ie)&&(d&&u.push(l.is(":visible")),h++),l.hasClass("k-group-footer")){if(d){var b=u.pop();l.toggle(b),c.eq(n).toggle(b)}1==h?(l.show(),c.eq(n).show()):h--}(0===r&&s.options.scrollable.endless&&this._isLocked()||!s.options.scrollable.endless&&this._isLocked())&&s._syncLockedContentHeight()},_updateHeader:function(t){var r=this,o=r._isLocked()?r.lockedHeader.find("thead"):r.thead,l=o.find("tr.k-filter-row").find("td.k-group-cell").length,i=o.find(ht).first().find("th.k-group-cell").length,n=o.children("tr:not(:first)").filter((function(){return!e(this).children(":visible").length}));t>i?(e(new Array(t-i+1).join('<th class="k-group-cell k-header k-table-th" scope="col">'+w(r.options.messages.expandCollapseColumnHeader)+"</th>")).prependTo(o.children("tr:not(.k-filter-row)")),r.element.is(":visible")&&n.find("th.k-group-cell").hide()):t<i&&o.find(ht).each((function(){e(this).find(".k-group-cell").eq(t).remove(),e(this).find(".k-group-cell").slice(t).remove()})),t>l&&e(new Array(t-l+1).join('<td class="k-group-cell k-table-td">&nbsp;</td>')).prependTo(o.find(".k-filter-row"))},_firstDataItem:function(e,t){return e&&t&&(e=e.hasSubgroups?this._firstDataItem(e.items[0],t):e.items[0]),e},_updateTablesWidth:function(){var t,r=this;r._isLocked()&&(t=e(">.k-grid-footer>.k-grid-footer-wrap>table",r.wrapper).add(r.thead.parent()).add(r.table),r._footerWidth=co(t.eq(0)),t.width(r._footerWidth),(t=e(">.k-grid-footer>.k-grid-footer-locked>table",r.wrapper).add(r.lockedHeader.find(">table")).add(r.lockedTable)).width(co(t.eq(0))))},hideColumn:function(t){var r,o,l,i,n,a,s,d,u=this,h=0,f=u.footer||u.wrapper.find(".k-grid-footer"),g=u.virtualScroll||{},b=u.columns,_=u.lockedHeader?Yr(u.lockedHeader.find(">table>thead")).filter(ur).length:0,v=m(Kr(u.columns),(function(e){return e.groupHeaderColumnTemplate}));if((t="number"==typeof t?b[t]:p(t)?m(Rr(b),(function(e){return e===t}))[0]:m(Rr(b),(function(e){return e.field===t}))[0])&&hr(t)){var w=u._columnVisibilitySetter(t);if(t.columns&&t.columns.length){for(n=xr(t,b),w(t,!1),lo(tr(e(">table>thead",u.lockedHeader),u.thead,">tr:eq("+n.row+")>th"),n.cell,!1),o=0;o<t.columns.length;o++)this.hideColumn(t.columns[o]);return u._ariaAddHiddenColIndex(),void u.trigger(J,{column:t})}d=k(t,pr(Kr(b))),w(t,!1),u._setParentsVisibility(t,!1),u._templates(),u._updateCols(),u._updateLockedCols();var C=u.thead;if(a=d,u.lockedHeader&&_>d?C=u.lockedHeader.find(">table>thead"):a-=_,Yr(C).filter(ur).eq(a)[0].style.display=St,lo(tr(e(">table>thead",u.lockedHeader),u.thead,">tr.k-filter-row>td"),d,!1),f[0]&&(u._updateCols(f.find(">.k-grid-footer-wrap>table")),u._updateLockedCols(f.find(">.k-grid-footer-locked>table")),lo(f.find(".k-footer-template>td"),d,!1)),g.columns&&!t.locked)return u._updateContentWidth(),void u.trigger(J,{column:t});if(u.lockedTable&&_>d?io(u.lockedTable.find(">tbody>tr"),d):io(u.tbody.children(),d-_),u.lockedTable)u._updateTablesWidth(),u._applyLockedContainersWidth(),u._syncLockedContentHeight(),u._syncLockedHeaderHeight(),u._syncLockedFooterHeight();else{for(o=0,s=(l=u.thead.prev().find("col")).length;o<s;o+=1)if(i=l[o].style.width,l[o].className.indexOf("k-hierarchy-col")>-1)h+=c(l[o]);else if(l[o].className.indexOf("k-group-col")>-1)h+=c(l[o]);else{if(!i||-1!=i.indexOf("%")){h=0;break}h+=parseInt(i,10)}r=u.wrapper.find(">.k-grid-header table").first().add(u.wrapper.find(">.k-grid-footer table").first()).add(u.table),u._footerWidth=null,h&&(r.each((function(){this.style.width=h+ut})),u._footerWidth=h,u._setContentWidth())}u._updateFirstColumnClass(),u._updateStickyColumns(),v.length>0&&u._renderGroupRows(),u._ariaAddHiddenColIndex(),u.trigger(J,{column:t})}},_setParentsVisibility:function(t,r){var l,i,n,a,s,d=this.columns,c=[],u=this._columnVisibilitySetter(t),h=r?function(e){return pr(e.columns).length&&e.hidden}:function(e){return!pr(e.columns).length&&!e.hidden};if(ir(t,d,c)&&c.length)for(l=c.length-1;l>=0;l--)n=Cr(i=c[l],d),a=tr(e(">table>thead",this.lockedHeader),this.thead,">tr:eq("+n.row+")>th:not(.k-group-cell):not(.k-hierarchy-cell)").eq(n.cell),h(i)&&(u(i,r),a[0].style.display=r?"":St),a.filter("["+o.attr("colspan")+"]").length&&(s=parseInt(a.attr(o.attr("colspan")),10),a[0].colSpan=s-Ir(i.columns)||1)},_updateContentWidth:function(){var e=this;e.table.add(e.thead.parent()).css({width:zr(Gr(Wr(e.columns)))}),e.refresh()},showColumn:function(t){var r,o,l,i,n,a,s,d,u,h,f,g=this,b=g.columns,_=g.virtualScroll||{},v=g.footer||g.wrapper.find(".k-grid-footer"),w=g.lockedHeader?Yr(g.lockedHeader.find(">table>thead")).length:0,C=m(Kr(g.columns),(function(e){return e.groupHeaderColumnTemplate}));if("number"==typeof t?(u=t,t=b[t]):p(t)?e.each(Rr(b),(function(e,r){if(r===t)return t=r,u=e,!1})):e.each(Rr(b),(function(e,r){if(r.field===t)return t=r,u=e,!1})),t&&!hr(t)){var y=g._columnVisibilitySetter(t);if(t.columns&&t.columns.length){for(a=Cr(t,b),h=Rr(g.options.columns)[u],y(t,!0),lo(tr(e(">table>thead",g.lockedHeader),g.thead,">tr:eq("+a.row+")>th"),a.cell,!0),r=0;r<t.columns.length;r++)h.columns[r].hidden||this.showColumn(t.columns[r]);return g._ariaRemoveHiddenColIndex(),void g.trigger(X,{column:t})}f=k(t,Kr(b)),y(t,!0),g._setParentsVisibility(t,!0),g._templates(),g._updateCols(),g._updateLockedCols();var S=g.thead;if(n=f,g.lockedHeader&&w>f?S=g.lockedHeader.find(">table>thead"):n-=w,Yr(S).eq(n)[0].style.display="",lo(tr(e(">table>thead",g.lockedHeader),g.thead,">tr.k-filter-row>td"),f,!0),v[0]&&(g._updateCols(v.find(">.k-grid-footer-wrap>table")),g._updateLockedCols(v.find(">.k-grid-footer-locked>table")),lo(v.find(".k-footer-template>td"),f,!0)),_.columns&&!t.locked)return g._updateContentWidth(),void g.trigger(X,{column:t});if(g.lockedTable&&w>f?ao(g.lockedTable.find(">tbody>tr"),f):ao(g.tbody.children(),f-w),g.lockedTable)g._updateTablesWidth(),g._applyLockedContainersWidth(),g._syncLockedContentHeight(),g._syncLockedHeaderHeight();else if(l=g.wrapper.find(">.k-grid-header table").first().add(g.wrapper.find(">.k-grid-footer table").first()).add(g.table),t.width){for(i=0,r=0,o=(d=g.thead.prev().find("col")).length;r<o;r+=1)if(s=d[r].style.width,d[r].className.indexOf("k-hierarchy-col")>-1)i+=c(d[r]);else if(d[r].className.indexOf("k-group-col")>-1)i+=c(d[r]);else{if(s.indexOf("%")>-1){i=0;break}i+=parseInt(s,10)}g._footerWidth=null,i&&(l.each((function(){this.style.width=i+ut})),g._footerWidth=i,g._setContentWidth())}else l.width("");g._updateFirstColumnClass(),g._updateStickyColumns(),C.length>0&&g._renderGroupRows(),g._ariaRemoveHiddenColIndex(),g.trigger(X,{column:t})}},_columnVisibilitySetter:function(e){return gr((e||{}).media)?nr:sr},_buildSkeleton:function(){var e,t=this.virtualCols?this.virtualCols:Gr(this.columns),r=this.dataSource.pageSize()||this.dataSource.total(),o="",l=this._groups(),i=t.length+l;this._hasDetails()&&i++,this._hasVirtualColumns()&&(e=parseInt(this.content.find(ht).first().find("td").first().attr("colspan"),10));for(var n=0;n<r;n++){o+="<tr class='k-table-row'>";for(var a=0;a<i;a++)o+=e&&!a?"<td colspan='"+e+"'><span class='k-skeleton k-skeleton-text k-skeleton-pulse k-table-td'></span></td>":"<td><span class='k-skeleton k-skeleton-text k-skeleton-pulse k-table-td'></span></td>";o+="</tr>"}return o},_progress:function(e){var t,r=this.element,l=this.options.scrollable&&this.options.scrollable.endless,i=this.options.loaderType;this.options.scrollable&&this.options.scrollable.virtual?r=this.content:this._editContainer&&"popup"===this._editMode()?r=this._editContainer:this.lockedContent||l?r=this.wrapper:this.element.is("table")?r=this.element.parent():this.content&&this.content.length&&(r=this.content),"skeleton"==i?e?(t=this._buildSkeleton(),r.find("tbody").empty().append(t)):r.find(".k-skeleton").closest("tbody").empty():l&&e?o.ui.progress(r,e,{height:this.content.height(),top:this.content.parent()[0].offsetTop,opacity:!0}):o.ui.progress(r,e)},_resize:function(e,t){this._syncLockedContentHeight(),this._syncLockedHeaderHeight(),this.content&&(this._setContentWidth(),this._setContentHeight()),this.lockedTable&&this._syncLockedScroll(),this.virtualScrollable&&(t||this._rowHeight)&&(t&&(this._rowHeight=null),this.virtualScrollable.repaintScrollbar()),this.pager&&this.pager.element&&this.pager.resize(t),this._anyStickyColumns()&&this._updateStickyColumns(!1)},_isActiveInTable:function(){var t=s();return!!t&&(this.table[0]===t||e.contains(this.table[0],t)||this._isLocked()&&(this.lockedTable[0]===t||e.contains(this.lockedTable[0],t)))},refresh:function(t){var r,l,i,n=this,a=n.dataSource.view(),s=n.options.navigatable,d=n.virtualScroll||{},c=e(n.current()),u=!1,h=n._groups(),p=h+Gr(pr(n.columns)).length;t&&"itemchange"===t.action&&(n.editable||n.options.scrollable.endless)&&("popup"!=this._editMode()||"popup"===this._editMode()&&!n._editableIsClosing)||(n._shouldMapHights&&(n._mapCachedRowsHeight("get","uid"),n._shouldMapHights=!1),d.columns&&n._templates(),t&&"remove"===t.action&&n.editable&&n.editable.options.model&&k(n.editable.options.model,t.items)>-1&&n.editable.options.model.unbind($,n._modelChangeHandler),t=t||{},n.trigger("dataBinding",{action:t.action||"rebind",index:t.index,items:t.items})||(t.action===ae&&n._isVirtualEditable()&&(n._destroyEditable(),n._clearEditableState()),n._endlessFetchInProgress||(s&&(n._isActiveInTable()||n._editContainer&&n._editContainer.data("kendoWindow"))&&(r=(u=c.is("th"))?c.parent().children(":not(.k-group-cell)").index(c[0]):Math.max(n.cellIndex(c),0)),n._destroyEditable()),n.options.scrollable&&n.options.scrollable.endless&&!n._pdfInitialized?(clearTimeout(n._progressTimeOut),n._progressTimeOut=setTimeout((function(){n._endlessFetchInProgress||n._progress(!1)}),250)):n._progress(!1),c.length&&(n._currentRowIndex=c.parent().index()),n._hideResizeHandle(),n._data=[],n.columns.length||(n._autoColumns(n._firstDataItem(a[0],h)),p=h+n.columns.length),n._group=h>0||n._group,n._group&&(n._templates(),n._updateCols(),n._updateLockedCols(),n._virtualColScroll||n._updateHeader(h),n._group=h>0,n._groupRows=no(a)),n.content&&(l=o.scrollLeft(n.content)),i=n._skipRerenderItemsCount,n._renderContent(a,p,h),n.options.scrollable&&n.options.scrollable.endless&&this.lockedContent&&(n._skipRerenderItemsCount=i),n._renderLockedContent(a,p,h),n._virtualColScroll||(n._footer(),n._renderNoRecordsContent(),n._togglePagerVisibility(),n._setContentHeight(),n._setContentWidth(n.content&&l)),n.lockedTable&&(d.rows?n.content.find(">.k-virtual-scrollable-wrap").trigger("scroll"):n.touchScroller?n.touchScroller.movable.trigger("change"):(n.wrapper.one("scroll",(function(e){e.stopPropagation()})),n.content.trigger("scroll"))),n._endlessFetchInProgress||n._rowDropping||n._restoreCurrent(r,u),n.touchScroller&&n.touchScroller.contentResized(),n.selectable&&n.selectable.resetTouchEvents(),n._checkBoxSelection&&n._toggleHeaderCheckState(!1),n.options.persistSelection&&(n.selectable&&!o.ui.Selectable.parseOptions(n.options.selectable).cell||n._checkBoxSelection)&&(n.items().length||n.dataSource._isGroupPaged())&&n._restoreSelection(),n.options.persistSelection||(n._selectedIds={}),n._hasReorderableRows()&&(n._draggableRows(),n._reorderableRows()),n._aria(),n.trigger(ee)))},_restoreCurrent:function(r,o){if(!(r===t||r<0)){if(this._removeCurrent(),o)this._setCurrent(this.thead.find("th:not(.k-group-cell)").eq(r));else{var l=0,i=this.virtualScroll||{};this._rowVirtualIndex?l=i.rows?this.virtualScrollable.position(this._rowVirtualIndex):this._rowVirtualIndex:this._currentRowIndex?l=this._currentRowIndex:r=0;var n,a=e();this.lockedTable&&(a=this.lockedTable.find(">tbody>tr").eq(l)),a=a.add(this.tbody.children().eq(l)),this._hasVirtualColumns()&&(n=parseInt(a.find("td").first().attr("colspan"),10),r=this._virtualCellIndex-(n>1?n-1:0));var s=a.find(">td:not(.k-group-cell):not(.k-hierarchy-cell)").eq(r);if(!s.length||r<0)return;this._hasVirtualColumns()?this._setCurrent(s,!0,!0):this._setCurrent(s)}this._current&&fo(this.table,!0)}},_restoreSelection:function(){var e,t=this,r=t.items(),o=v(t.dataSource.options.schema.model)?t.dataSource.options.schema.model.fn.idField:t.dataSource.options.schema.model.id;e=m(r,(function(e){var r=t.dataItem(e)[o];if(t._selectedIds[r])return e})),t.select(e)},_cleanupDetailItems:function(){this._hasDetails()&&this.tbody.find(".k-detail-cell").empty()},_renderContent:function(e,t,r){var l,i,n,a,s,d=this,c="",u=null!=d.lockedContent,h=d.options.scrollable,p={rowTemplate:d.rowTemplate,altRowTemplate:d.altRowTemplate,groupFooterTemplate:d.groupFooterTemplate,groupHeaderColumnTemplate:d.groupHeaderColumnTemplate};if(h&&h.endless&&!d.dataSource.options.endless&&(d._skipRerenderItemsCount=0,d.content&&(d.content[0].scrollTop=0)),n=d._skipRerenderItemsCount>0,t=u?t-Gr(Br(d.columns)).length:t,r>0)for(t=u?t-r:t,d.detailTemplate&&t++,d.groupFooterTemplate&&(d._groupAggregatesDefaultObject=d.dataSource.aggregates()),d.options.scrollable.endless&&(s=d.dataSource.flatView().length),l=0,i=e.length;l<i;l++)d._skippedGroups||(d._skippedGroups=[]),a=s&&l===e.length-1&&s!==d.dataSource.total(),c+=d._groupRowHtml(e[l],t,0,u?yo:Co,p,u,a,!1);else c+=d._rowsHtml(e,p);n?(d.tbody.append(c),o.applyStylesFromKendoAttributes(d.tbody,["display","left","right"]),clearTimeout(d._endlessFetchTimeOut),d._endlessFetchTimeOut=setTimeout((function(){d._groupToCollapse&&(d.collapseGroup(d._groupToCollapse),d._groupToCollapse=null)})),d._endlessFetchInProgress=null):d.tbody=Xr(d.tbody,d.table,c,this.options.size)},_renderGroupRows:function(){var t,r,l,i,n,a,s,d,c,u,h,p,g,b,k,_,v,w=this,C=w._groupRows,y=w.wrapper.find(x+Ie),S=w._groups(),T=null!=w.lockedContent;y.each((function(y,x){b=e(x),u=b.closest("table").parent(),h=u.is(".k-grid-content-locked"),r=Gr(pr(h?Pr(w.columns):Or(w.columns))),k=b.find(".k-group-cell").length,T?(t=h?Co:yo,l=h?r.length+S-k:r.length):(t=Co,l=r.length+S-k),i=y>=C.length?C[y-C.length]:C[y],n=i.field,a=m(Kr(w.columns),(function(e){return e.field==n}))[0]||{},v=!(a.groupHeaderTemplate||!pr(w.columns)[0].groupHeaderColumnTemplate)&&pr(w.columns)[0],s=a.groupHeaderTemplate?a.groupHeaderTemplate:pr(w.columns)[0].groupHeaderColumnTemplate,d=(a.title&&(w.options.encodeTitles?So(a.title,!0):a.title)||n)+": "+oo(i.value,a.format,a.values,a.encoded),c=w._groupData(i,!1,v),_=h?w.lockedGroupHeaderColumnTemplate:w.groupHeaderColumnTemplate,s&&(d=typeof s===Je?s(c):o.template(s)(c)),p=b.prev().length?b.prev():b.parent(),g=e(_?_(f({},c,{groupCells:k,colspan:S-k,text:d})):t(l,k,d,null,null,null,Pt)),o.applyStylesFromKendoAttributes(g,["display","left","right"]),p.is("tbody")?p.prepend(g):p.after(g),b.remove()}))},_renderLockedContent:function(e,t,r){var o,l,i,n,a="",s=null,d={rowTemplate:this.lockedRowTemplate,altRowTemplate:this.lockedAltRowTemplate,groupFooterTemplate:this.lockedGroupFooterTemplate,groupHeaderColumnTemplate:this.lockedGroupHeaderColumnTemplate};if(this.lockedContent){var c=this.lockedTable;if(s=this._skipRerenderItemsCount>0,r>0)for(t-=pr(Kr(Or(this.columns))).length,this.options.scrollable.endless&&(n=this.dataSource.flatView().length),o=0,l=e.length;o<l;o++)i=n&&o===e.length-1&&n!==this.dataSource.total(),a+=this._groupRowHtml(e[o],t,0,Co,d,!1,i,!0);else a=this._rowsHtml(e,d);s?c.children("tbody").append(a):Xr(c.children("tbody"),c,a,this.options.size),this._syncLockedContentHeight()}},_togglePagerVisibility:function(){!1===this.options.pageable.alwaysVisible&&this.wrapper.find(".k-grid-pager").toggle(this.dataSource.total()>=this.dataSource.pageSize())},_adjustRowsHeight:function(e,t){var r,o=e[0].rows,l=o.length,i=t[0].rows,n=e.add(t),a=n.length,s=[];for(r=0;r<l&&i[r];r++)o[r].style.height&&(o[r].style.height=i[r].style.height="");for(r=0;r<l&&i[r];r++){var d=o[r].offsetHeight,c=i[r].offsetHeight,u=0;d>c?u=d:d<c&&(u=c),s.push(u)}for(r=0;r<a;r++)n[r].style.display=St;for(r=0;r<l;r++)s[r]&&(o[r].style.height=i[r].style.height=s[r]+1+ut);for(r=0;r<a;r++)n[r].style.display=""}});function ho(e,t){var r,o=e.offsetHeight,l=t.offsetHeight;o>l?r=o+ut:o<l&&(r=l+ut),r&&(e.style.height=t.style.height=r)}function po(e,t){var r,o,l;if(typeof e===Xe&&e===t)return e;if(p(e)&&e.name===t)return e;if(b(e))for(r=0,o=e.length;r<o;r++)if(typeof(l=e[r])===Xe&&l===t||l.name===t)return l;return null}function fo(t,r){if(t&&0!==t.length)if(!0===r){t=e(t);var l=o.scrollLeft(t.parent());o.focusElement(t),o.scrollLeft(t.parent(),l)}else e(t).one("focusin",(function(e){e.preventDefault()})).trigger("focus")}function go(t,r){return!!e.grep(t,(function(e){return e.field===r})).length}function mo(e,t){return!(!e.field||e.selectable)&&(!(t.editable&&!t.editable(e.field))&&!(e.editable&&!e.editable(t)))}function bo(t){return e(t).is(":button,a,:input,a>.k-icon,a>.k-svg-icon,textarea,span.k-select,span.k-icon,span.k-svg-icon,span.k-link,label.k-checkbox-label,.k-input,.k-multiselect-wrap,.k-picker-wrap,.k-picker-wrap>.k-selected-color,.k-tool-icon,.k-dropdownlist,.k-switch-thumb,.k-switch-track,.k-switch-label-off,.k-switch-label-on")}function ko(t){var r=this,l=e(t.currentTarget),i=l.is("th"),n=this.table.add(this.lockedTable),a=this.thead.parent().add(e(">table",this.lockedHeader)),s=bo(t.target),d=e(t.target).is(".k-checkbox"),c=e(t.target),u=l.closest("table")[0];s&&l.find(o.roleSelector("filtercell")).length?this._setCurrent(l):u!==n[0]&&u!==n[1]&&u!==a[0]&&u!==a[1]||c.is(L+","+F)||(this.options.navigatable&&this._setCurrent(l,!1,d),!i&&s||setTimeout((function(){var t=e(o._activeElement());(!t.hasClass("k-widget")&&!t.hasClass("k-dropdownlist")||t.hasClass("k-grid-pager"))&&(!r.table||!t.is(me)&&bo(o._activeElement())&&e.contains(u,o._activeElement())||fo(r.table[0],!0))})),i&&!o.support.touch&&t.preventDefault())}function _o(e,t){if(!t)return 0;var r=0;return o.support.browser.webkit&&(r=e.width()),r}function vo(t,r){var o,l;return!!t&&!!((r=e(r))[0]&&y(t[0],r[0])&&(o=r.offset().top-t.offset().top,l=r.outerHeight()/2,(o>=0||S.abs(o)<=l)&&S.floor(o+l)<=t.height()))}function wo(t){return function(r){var l=r.colspan,i=r.text;return'<td class="k-table-td" colspan="'+(l+t)+'"><p class="k-reset">'+o.ui.icon(e('<a href="\\#" tabindex="-1" '+ft+'="'+st+'"></a>'),{icon:"caret-alt-down"})+i+"</p></td>"+new Array(l+t).join("<td hidden group-header-spanned-hidden></td>")}}function Co(t,r,l,i,n,a,s){return"<tr "+(a?'data-group-uid="'+n+'"':"")+'class="k-table-group-row k-grouping-row k-table-row">'+$t(r)+'<td class="k-table-td" colspan="'+t+'" aria-expanded="'+!!i+'"><p class="k-reset">'+o.ui.icon(e('<a href="#" tabindex="-1" '+ft+'="'+(i?st:dt)+'"></a>'),{icon:i?"caret-alt-down":"caret-alt-"+(s?"left":"right")})+l+"</p></td>"+new Array(t).join("<td hidden group-header-spanned-hidden></td>")+"</tr>"}function yo(e){return'<tr class="k-table-group-row k-grouping-row k-table-row"><td class="k-table-td" colspan="'+e+'" aria-expanded="true"><p class="k-reset">&nbsp;</p></td>'+new Array(e).join("<td hidden group-header-spanned-hidden></td>")+"</tr>"}function So(e,t){return(""+e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,(function(e){return t?"\\"+e:"&quot;"})).replace(/'/g,"&#39;")}function xo(e,t){return this.dataSource.indexOf(this.dataSource.getByUid(e.uid))-this.dataSource.indexOf(this.dataSource.getByUid(t.uid))}function To(e){return!(!1===e.exportable||e.exportable&&!1===e.exportable.excel)}o.ExcelMixin&&o.ExcelMixin.extend(uo.prototype),o.PDFMixin&&(o.PDFMixin.extend(uo.prototype),uo.prototype._drawPDF_autoPageBreak=function(r){var l,i=this,n=new e.Deferred,a=i.dataSource,s=i.options.pdf.allPages,d=i.wrapper.find("> table > tbody, .k-grid-content > table > tbody").first(),c=e("<div>").css({position:"absolute",left:-1e4,top:-1e4});i.toggleUnexportableColumns(i.columns),(l=i.wrapper.clone().css({height:Ye,width:Ye}).appendTo(c)).find(".k-grid-content").css({height:Ye,width:Ye,overflow:"visible"}),l.find("> table, .k-grid-content > table, .k-grid-footer table").css({height:Ye,width:"100%",overflow:"visible"}),l.find(".k-grid-pager, .k-grid-toolbar, .k-grouping-header").remove(),l.find(".k-grid-header, .k-grid-footer, .k-auto-scrollable").css({paddingRight:0}),this._initPDFProgress(r);var u=l.find("> table > tbody, .k-grid-content > table > tbody").first().empty(),h=a.page();function p(){c.appendTo(document.body);var t=e.extend({},i.options.pdf,{_destructive:!0,progress:function(e){r.notify({page:e.page,pageNumber:e.pageNum,progress:.5+e.pageNum/e.totalPages/2,totalPages:e.totalPages})}});o.drawing.drawDOM(l,t).always((function(){c.remove()})).then((function(e){n.resolve(e),i.toggleUnexportableColumns(i.columns,!0)})).fail((function(e){n.reject(e)}))}function f(){var e=a.page(),r=s?a.totalPages():1;u.append(d.children("tr:not(.k-detail-row)")),e<r?a.page(e+1):(a.unbind("change",f),s&&h!==t?(a.one("change",p),a.page(h)):(i.refresh(),p()))}return s?(a.bind("change",f),a.page(1)):f(),n.promise()},uo.prototype.toggleUnexportableColumns=function(e,t){for(var r,o,l,i,n=e.length,a=0;a<n;a++)o=(r=e[a]).exportable,t?r._toggledDuringExport?(r._toggledDuringExport=!1,r.hidden?this.showColumn(r):this.hideColumn(r)):r.columns&&this.toggleUnexportableColumns(r.columns,t):("object"==typeof r.exportable&&(o=r.exportable.pdf),l=!r.hidden&&!1!==o,i=r.hidden&&!0===o,(o=l||i)||r.hidden?o&&r.hidden?(r._toggledDuringExport=!0,this.showColumn(r)):o&&r.columns&&this.toggleUnexportableColumns(r.columns):(r._toggledDuringExport=!0,this.hideColumn(r)))},uo.prototype._drawPDF=function(r){var l=this;if(l.options.pdf.paperSize&&l.options.pdf.paperSize!=Ye)return l._drawPDF_autoPageBreak(r);var i=new e.Deferred,n=l.dataSource,a=l.options.pdf.allPages;this._initPDFProgress(r);var s=new o.drawing.Group,d=n.page();function c(){l.toggleUnexportableColumns(l.columns),l._drawPDFShadow({width:l.wrapper.width()},{avoidLinks:l.options.pdf.avoidLinks}).done((function(e){var o=n.page(),u=a?n.totalPages():1,h={page:e,pageNumber:o,progress:o/u,totalPages:u};l.toggleUnexportableColumns(l.columns,!0),r.notify(h),s.append(h.page),o<u?n.page(o+1):a&&d!==t?(n.unbind("change",c),n.one("change",(function(){i.resolve(s)})),n.page(d)):i.resolve(s)})).fail((function(e){i.reject(e)}))}return a?(n.bind("change",c),n.page(1)):c(),i.promise()},uo.prototype._initPDFProgress=function(t){var r=e("<div class='k-loading-pdf-mask'><div class='k-loading-color'></div></div>");r.prepend(this.wrapper.clone().css({position:"absolute",top:0,left:0})),this._pdfInitialized=!0,this.wrapper.append(r);var l=e("<div class='k-loading-pdf-progress'>").appendTo(r).kendoProgressBar({type:"chunk",chunkCount:10,min:0,max:1,value:0}).data("kendoProgressBar");t.progress((function(e){l.value(e.progress)})).always((function(){o.destroy(r),r.remove()}))}),l.plugin(uo),l.plugin(Qt),f(o.ui.grid,{defaultBodyContextMenu:jt,defaultHeadContextMenu:Ut,defaultGroupsContextMenu:Kt})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.grid.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.draganddrop.js"),require("kendo.data.js"),require("kendo.selectable.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.draganddrop.min","kendo.data.min","kendo.selectable.min","kendo.html.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendolistbox=e.kendolistbox||{},e.kendolistbox.js=t())}(this,(function(){return function(e,t){var a=window.kendo,n=a.attr,o=a.data,r=a.keys,i=a.template,l=a.ui.Widget,s=o.DataSource,d=a.ui.Selectable,c=a.ui.DataBoundWidget,u=a.Class,m=e.extend,g=e.noop,f="-",p="kendoListBox",h="."+p,_="k-disabled",v="k-selected",b=".k-list-item:not(.k-disabled)",x=".k-list-ul:not(.k-disabled) >"+b,T="k-listbox-actions",k=".k-button",S="k-focus",C="click"+h,I="keydown"+h,y="blur"+h,B=a._outerWidth,D=a._outerHeight,E="change",w="dataBound",L="add",A="remove",F="reorder",N="moveUp",U="moveDown",H="transferTo",W="transferFrom",K="transferAllTo",O="transferAllFrom",q="caret-alt-right",V="caret-alt-left",j="caret-double-alt-right",P="caret-double-alt-left",M="k-ghost",R="id",G="tabindex",Q="dragstart",z="drag",J="drop",X="dragend",Y="right",Z="bottom",$="aria-activedescendant",ee="aria-busy",te="aria-label",ae=[T+f+"left",T+f+Y,T+f+"top",T+f+Z];function ne(t){return e.map(t,(function(t){return e(t).index()}))}function oe(e){return void 0===e}function re(e){return e.clone().attr("class","").addClass("k-drag-clue")}function ie(){return e("<li>").addClass("k-drop-hint")}var le=c.extend({init:function(e,t){var a=this;l.fn.init.call(a,e,t),a._wrapper(),a._list(),a._ariaLabel(a._getList()),(e=a.element.attr("multiple","multiple").hide())[0]&&!a.options.dataSource&&(a.options.dataTextField=a.options.dataTextField||"text",a.options.dataValueField=a.options.dataValueField||"value"),a._templates(),a._selectable(),a._dataSource(),a._createToolbar(),a._createDraggable(),a._createNavigatable()},destroy:function(){var e=this;c.fn.destroy.call(e),isNaN(e._listTabIndex)||(e._getList().off(),e._listTabIndex=null),e._unbindDataSource(),e._destroySelectable(),e._destroyToolbar(),e.wrapper.off(h),e._target&&(e._target=null),e._draggable&&(e._draggable.destroy(),e.placeholder=null),a.destroy(e.element)},setOptions:function(e){l.fn.setOptions.call(this,e),this._templates(),this._dataSource()},events:[E,w,L,A,F,Q,z,J,X],options:{name:"ListBox",autoBind:!0,template:"",dataTextField:"",dataValueField:"",selectable:"single",draggable:null,dropSources:[],connectWith:"",navigatable:!0,toolbar:{position:Y,tools:[]},messages:{tools:{remove:"Delete",moveUp:"Move Up",moveDown:"Move Down",transferTo:"Transfer To",transferFrom:"Transfer From",transferAllTo:"Transfer All To",transferAllFrom:"Transfer All From"}}},add:function(e){var t,a=this,n=e&&e.length?e:[e],o=n.length,r=a._getList();for(a._unbindDataSource(),a._unbindDataChange(),t=0;t<o;t++)a._addItem(n[t],r);a._bindDataChange(),a._bindDataSource(),a._syncElement()},_addItem:function(t,a){var n=this,o=e(n.templates.itemTemplate({item:t,r:n.templates.itemContent}));n._setItemId(o,t.uid),o.appendTo(a),"string"==typeof t?n.dataSource._data.push(t):n.dataSource.add(t)},_addItemAt:function(t,a){var n=this,o=e(n.templates.itemTemplate({item:t,r:n.templates.itemContent}));n._unbindDataSource(),"string"==typeof t?(n._insertElementAt(o,a),n.dataSource._data.push(t)):(n._setItemId(o,t.uid),n._insertElementAt(o,a),n.dataSource.add(t)),n._bindDataSource(),n._syncElement()},_insertElementAt:function(t,a){var n=this._getList();a>0?e(t).insertAfter(n.children().eq(a-1)):e(n).prepend(t)},_createNavigatable:function(){var e=this;e.options.navigatable&&e._getList().on(C,b,e._click.bind(e)).on(I,e._keyDown.bind(e)).on(y,e._blur.bind(e))},_getTabIndex:function(){var e,t=this;return isNaN(t._listTabIndex)?(e=t.element.attr(G),t._listTabIndex=isNaN(e)?0:e,t.element.removeAttr(G),t._listTabIndex):t._listTabIndex},_blur:function(){this._target&&(this._target.removeClass(S),this._getList().removeAttr($)),this._target=null},_click:function(t){var n=this,o=e(t.currentTarget),r=n._target,i=n._getList(),l=a._activeElement(),s=e.contains(i,l);r&&r.removeClass(S),n._target=o,o.addClass(S),i.attr($,o.attr(R)),i[0]===l||s&&e(l).is(":button,a,:input,a>.k-icon,a>.k-svg-icon,textarea,span.k-select,span.k-icon,span.k-svg-icon,span.k-link,label.k-checkbox-label,.k-input,.k-multiselect-wrap,.k-picker-wrap,.k-picker-wrap>.k-selected-color,.k-tool-icon,.k-dropdownlist")||n.focus()},_getNavigatableItem:function(e){var t,a=this;return t=a._target?a._target:a.items().filter(b).first(),e===r.UP&&a._target&&(t=a._target.prevAll(b).first()),e===r.DOWN&&a._target&&(t=a._target.nextAll(b).first()),t.length?t:null},_scrollIntoView:function(e){if(e){e[0]&&(e=e[0]);var t=this._getList().parent()[0],a=e.offsetTop,n=t.scrollTop,o=t.clientHeight,r=a+e.offsetHeight;n>a?n=a:r>n+o&&(n=r-o),t.scrollTop=n}},_keyDown:function(e){var t,a=this,n=e.keyCode,o=a._getNavigatableItem(n);if((!e.shiftKey||e.ctrlKey||n!==r.DOWN&&n!==r.UP)&&(a._shiftSelecting=!1),n==r.DELETE)a._executeCommand(A),a._target&&(a._target.removeClass(S),a._getList().removeAttr($),a._target=null),t=!0;else if(n===r.DOWN||n===r.UP){if(!o)return void e.preventDefault();if(e.shiftKey&&!e.ctrlKey)a._target&&a._target.removeClass(S),a._shiftSelecting||(a.clearSelection(),a._shiftSelecting=!0),a._target&&o.hasClass("k-selected")?a._target.removeClass(v):"single"==a.options.selectable?a.select(o):a.select(o.add(a._target)),a._updateToolbar(),a._updateAllToolbars(),a.trigger(E);else{if(e.shiftKey&&e.ctrlKey)return a._executeCommand(n===r.DOWN?U:N),a._scrollIntoView(a._target),void e.preventDefault();e.shiftKey||e.ctrlKey||(a._target&&a._target.removeClass(S),"multiple"===a.options.selectable&&a.clearSelection(),a.select(o),a._updateToolbar(),a._updateAllToolbars(),a.trigger(E))}o&&a._target&&a._target[0]!==o[0]&&a._target.removeClass(S),a._target=o,a._target?(a._target.addClass(S),a._scrollIntoView(a._target),a._getList().attr($,a._target.attr(R))):a._getList().removeAttr($),t=!0}else n==r.SPACEBAR?(e.ctrlKey&&a._target?(a._target.hasClass(v)?a._target.removeClass(v):a.select(a._target),a.trigger(E)):(a.clearSelection(),a.select(a._target),a.trigger(E)),a._updateToolbar(),a._updateAllToolbars(),t=!0):e.ctrlKey&&n==r.RIGHT?(e.shiftKey?a._executeCommand(K):a._executeCommand(H),a._target=a.select().length?a.select():null,t=!0):e.ctrlKey&&n==r.LEFT?(e.shiftKey?a._executeCommand(O):a._executeCommand(W),t=!0):n===r.F10&&a.toolbar&&(a.toolbar.element.find(k).not("[tabindex=-1]").trigger("focus"),t=!0);t&&e.preventDefault()},focus:function(){a.focusElement(this._getList())},_createDraggable:function(){var t,n=this,o=n.options.draggable;if(o){if(t=o.hint,!n.options.selectable)throw new Error("Dragging requires selection to be enabled");t||(t=re),n._draggable=new a.ui.Draggable(n.wrapper,{filter:o.filter?o.filter:"ul.k-list-ul>li.k-list-item",hint:a.isFunction(t)?t:e(t),dragstart:n._dragstart.bind(n),dragcancel:n._clear.bind(n),drag:n._drag.bind(n),dragend:n._dragend.bind(n)})}},_dragstart:function(t){var n=this,o=n.draggedElement=t.currentTarget,r=n.options.draggable.placeholder,i={dataItems:n.dataItem(o),items:e(o),draggableEvent:t};!1!==n.options.draggable.enabled?(r||(r=ie),n.placeholder=a.isFunction(r)?e(r.call(n,o)):e(r),o.is("."+_)||n.trigger(Q,i)?t.preventDefault():(n.clearSelection(),n.select(o),o.addClass(M))):t.preventDefault()},_clear:function(){this.draggedElement.removeClass(M),this.placeholder.remove()},_findElementUnderCursor:function(t){var n=a.elementUnderCursor(t),o=t.sender;return(e.contains(o.hint[0],n)||o.hint[0]===n)&&(o.hint.hide(),n=a.elementUnderCursor(t),o.hint.show()),n},_findTarget:function(t){var a,n,o=this,r=o._findElementUnderCursor(t),i=e(r),l=o._getList();return e.contains(l[0],r)?(a=o.items(),r=i.is("li")?r:i.closest("li")[0],(n=a.filter(r)[0]||a.has(r)[0])?(n=e(n)).hasClass(_)?null:{element:n,listBox:o}:null):l[0]==r||l.parent()[0]==r?{element:e(l),appendToBottom:!0,listBox:o}:o._searchConnectedListBox(i)},_getElementCenter:function(e){var t=e.length?a.getOffset(e):null;return t&&(t.top+=D(e)/2,t.left+=B(e)/2),t},_searchConnectedListBox:function(t){var a,n,o,r,i=t;return(r=t.hasClass("k-list-scroller k-selectable")?t:t.closest(".k-list-scroller.k-selectable")).length&&(a=r.parent().find("[data-role='listbox']").getKendoListBox())&&-1!==e.inArray(this.element[0].id,a.options.dropSources)?(n=a.items(),t=t.is("li")?t[0]:t.closest("li")[0],(o=n.filter(t)[0]||n.has(t)[0])?(o=e(o)).hasClass(_)?null:{element:o,listBox:a}:!n.length||i.hasClass("k-list-scroller k-selectable")||i.hasClass("k-list-content")?{element:a._getList(),listBox:a,appendToBottom:!0}:null):null},_drag:function(t){var a,n,o,r=this,i=r.draggedElement,l=r._findTarget(t),s=t.x.location,d=t.y.location,c={dataItems:[r.dataItem(i)],items:e(i),draggableEvent:t};if(r.trigger(z,c))t.preventDefault();else if(l){if(a=this._getElementCenter(l.element),n={left:Math.round(s-a.left),top:Math.round(d-a.top)},l.appendToBottom)return void r._movePlaceholder(l,null,i);n.top<0?o="prev":n.top>0&&(o="next"),o&&l.element[0]!=r.placeholder[0]&&r._movePlaceholder(l,o,i)}else r.placeholder.parent().length&&r.placeholder.remove()},_movePlaceholder:function(t,n,o){var r=this,i=r.placeholder,l=t.listBox.options.draggable;i.parent().length&&(r.placeholder.remove(),l&&l.placeholder?r.placeholder=a.isFunction(l.placeholder)?e(l.placeholder.call(r,o)):e(l.placeholder):r.placeholder=e(ie.call(r,o))),n?"prev"===n?t.element.before(r.placeholder):"next"===n&&t.element.after(r.placeholder):t.element.append(r.placeholder)},_dragend:function(t){var a=this,n=a.draggedElement,o=a.items(),r=o.not(a.draggedElement).index(a.placeholder),i=o.not(a.placeholder).index(a.draggedElement),l=a.dataItem(n),s={dataItems:[l],items:e(n)},d=a.placeholder.closest(".k-listbox").find("[data-role='listbox']").getKendoListBox();if(a.trigger(J,m({},s,{draggableEvent:t})))return t.preventDefault(),void this._clear();r>=0?r===i||a.trigger(F,m({},s,{offset:r-i}))||(n.removeClass(M),a.reorder(n,r)):d&&(a.trigger(A,s)||a.remove(e(n)),d.trigger(L,s)||d._addItemAt(l,d.items().index(a.placeholder))),a._clear(),a._draggable.dropped=!0,a.trigger(X,m({},s,{draggableEvent:t})),a._updateToolbar(),a._updateAllToolbars()},reorder:function(t,a){var n=this,o=n.dataSource,r=n.dataItem(t),i=o.at(a),l=n.items()[a],s=e(t);r&&l&&i&&(n._removeElement(s),n._insertElementAt(s,a),n._updateToolbar())},remove:function(t){var a,n=this,o=n._getItems(t),r=o.length;for(n._unbindDataSource(),n._unbindDataChange(),a=0;a<r;a++)n._removeItem(e(o[a]));n._bindDataChange(),n._bindDataSource(),n._syncElement(),n._updateToolbar(),n._updateAllToolbars()},_removeItem:function(e){var t=this,a=t.dataSource,n=t.dataItem(e),o=a.transport;if(n&&a){if("string"==typeof n){for(var r=a._data,i=0;i<r.length;i++)if(n===r[i]){r[i]=r[r.length-1],r.pop();break}}else a.remove(n),!o||!o.destroy&&!(o.options||{}).destroy||n.isNew&&n.isNew()||a._destroyed.push(n);t._removeElement(e)}},_removeElement:function(t){a.destroy(t),e(t).off().remove()},dataItem:function(t){var a=n("uid"),o=e(t).attr(a)||e(t).closest("["+a+"]").attr(a);return o?this.dataSource.getByUid(o):e(t).find(".k-list-item-text").html()},_dataItems:function(t){var a,n=[],o=e(t),r=o.length;for(a=0;a<r;a++)n.push(this.dataItem(o.eq(a)));return n},items:function(){return this._getList().children()},select:function(e){var t,a=this.selectable;return oe(e)?a.value():(t=this.items().filter(e).filter(x),a.options.multiple||(a.clear(),t=t.first()),a.value(t))},clearSelection:function(){var e=this.selectable;e&&e.clear()},enable:function(t,a){var n,o=this,r=!!oe(a)||!!a,i=o._getItems(t),l=i.length;for(n=0;n<l;n++)o._enableItem(e(i[n]),r);o._updateAllToolbars()},_enableItem:function(t,a){this.dataItem(t)&&(a?e(t).removeClass(_):e(t).addClass(_).removeClass(v))},setDataSource:function(e){this.options.dataSource=e,this._dataSource()},_dataSource:function(){var e=this,t=e.options,a=t.dataSource||{};(a=Array.isArray(a)?{data:a}:a).select=e.element,a.fields=[{field:t.dataTextField},{field:t.dataValueField}],e._unbindDataSource(),e.dataSource=s.create(a),e._bindDataSource(),e.options.autoBind&&(e.wrapper.attr(ee,!0),e.dataSource.fetch())},_bindDataChange:function(){var e=this.dataSource;e._data&&e._changeHandler&&(e._data.bind(E,e._changeHandler),e._data.trigger(E))},_unbindDataChange:function(){var e=this.dataSource;e._data&&e._changeHandler&&e._data.unbind(E,e._changeHandler)},_bindDataSource:function(){var e=this,t=e.dataSource;e._dataChangeHandler=e.refresh.bind(e),t&&t.bind(E,e._dataChangeHandler)},_unbindDataSource:function(){var e=this.dataSource;e&&e.unbind(E,this._dataChangeHandler)},_wrapper:function(){var t=this,a=t.element,n=a.parent("div.k-listbox");n[0]||((n=a.wrap('<div class="k-listbox" unselectable="on" />').parent())[0].style.cssText=a[0].style.cssText,n[0].title=a[0].title,e('<div class="k-list-scroller"><div class="k-list k-list-md"><div class="k-list-content"></div></div></div>').insertBefore(a)),t.wrapper=n.addClass(a[0].className).css("display",""),t._innerWrapper=e(n[0].firstChild)},_list:function(){var t=this,a=e("<ul class='k-list-ul' role='listbox'></ul>"),n=t.options.selectable;d.parseOptions(n).multiple&&a.attr("aria-multiselectable","true"),a.appendTo(t.wrapper.find(".k-list-content")),t.options.navigatable&&t._getList().attr(G,t._getTabIndex())},_templates:function(){var e,t=this.options;e=t.template&&"string"==typeof t.template?a.template(t.template):t.template?t.template:a.template((function(e){return""+a.getter(t.dataTextField)(e)})),this.templates={itemTemplate:a.template((function(e){var t=e.item;return"<li class='k-list-item' role='option' aria-selected='false'><span class='k-list-item-text'>"+(0,e.r)(t)+"</span></li>"})),itemContent:e,toolbar:"<div role='toolbar' class='"+T+"'></div>"}},refresh:function(){for(var e=this,t=e.dataSource.view(),a=e.templates.itemTemplate,n="",o=0;o<t.length;o++)n+=a({item:t[o],r:e.templates.itemContent});e._getList().html(n),e._setItemIds(),e._createToolbar(),e._syncElement(),e._updateToolbar(),e._updateAllToolbars(),e.trigger(w),e.wrapper.attr(ee,!1)},_syncElement:function(){for(var e="",t=this.dataSource.view(),a=0;a<t.length;a++)e+=this._option(t[a][this.options.dataValueField]||t[a],t[a][this.options.dataTextField]||t[a],!0);this.element.html(e)},_option:function(e,n){var o="<option";return e!==t&&(-1!==(e+="").indexOf('"')&&(e=e.replace(/"/g,"&quot;")),o+=' value="'+e+'"'),o+=" selected>",n!==t&&(o+=a.htmlEncode(n)),o+"</option>"},_setItemId:function(e,t){e.length&&e.attr(n("uid"),t).attr(R,t)},_setItemIds:function(){var e,t=this,a=t.items(),n=t.dataSource.view(),o=n.length;for(e=0;e<o;e++)t._setItemId(a.eq(e),n[e].uid)},_selectable:function(){var e=this,t=e.options.selectable,a=d.parseOptions(t);e.selectable=new d(e._innerWrapper,{aria:!0,selectedClass:"k-selected",multiple:a.multiple,filter:b,change:e._onSelect.bind(e)})},_onSelect:function(){var e=this;e._updateToolbar(),e._updateAllToolbars(),e.trigger(E)},_destroySelectable:function(){var e=this;e.selectable&&e.selectable.element&&(e.selectable.destroy(),e.selectable=null)},_getList:function(){return this.wrapper.find(".k-list-ul")},_getItems:function(e){return this.items().filter(e)},_createToolbar:function(){var t=this,a=t.options.toolbar,n=a.position||Y,o=n===Z?"insertAfter":"insertBefore",r=a.tools||[],i=t.options.messages;if(t._destroyToolbar(),t.wrapper.removeClass(ae.join(" ")),r.length&&r.length>0){var l=e(t.templates.toolbar)[o](t._innerWrapper);t.toolbar=new be(l,m({},a,{listBox:t,messages:i})),t.wrapper.addClass(T+f+n)}},_destroyToolbar:function(){var e=this;e.toolbar&&(e.toolbar.destroy(),e.toolbar=null)},_executeCommand:function(e){var t=this,a=se.current.create(e,{listBox:t});a&&(a.execute(),t._updateToolbar(),t._updateAllToolbars())},_updateToolbar:function(){var e=this.toolbar;e&&e._updateToolStates()},_updateAllToolbars:function(){var t,a,n=e("select[data-role='listbox']"),o=n.length;for(a=0;a<o;a++)(t=e(n[a]).data(p))&&t._updateToolbar()}});a.ui.plugin(le);var se=u.extend({init:function(){this._commands=[]},register:function(e,t){this._commands.push({commandName:e,commandType:t})},create:function(e,t){var a,n,o,r=this._commands,i=r.length,l=e?e.toLowerCase():"";for(o=0;o<i;o++)if((n=r[o]).commandName.toLowerCase()===l){a=n;break}if(a)return new a.commandType(t)}});se.current=new se;var de=u.extend({init:function(e){var t=this;t.options=m({},t.options,e),t.listBox=t.options.listBox},options:{listBox:null},getItems:function(){return e(this.listBox.select())},execute:g,canExecute:g}),ce=de.extend({execute:function(){var e=this.listBox,t=this.getItems();e.trigger(A,{dataItems:e._dataItems(t),items:t})||e.remove(t)},canExecute:function(){return this.listBox.select().length>0}});se.current.register(A,ce);var ue=de.extend({execute:function(){this.canExecute()&&this.moveItems()},canExecute:g,moveItems:function(){var t,a=this,n=a.listBox,o=a.options,r=a.getItems(),i=o.offset,l=ne(r),s=e.makeArray(r.sort(a.itemComparer)),d=o.moveAction;if(!n.trigger(F,{dataItems:n._dataItems(s),items:e(s),offset:i}))for(;s.length>0&&l.length>0;)t=s[d](),n.reorder(t,l[d]()+i)},options:{offset:0,moveAction:"pop"},itemComparer:function(t,a){var n=e(t).index(),o=e(a).index();return n===o?0:n>o?1:-1}}),me=ue.extend({options:{offset:-1,moveAction:"shift"},canExecute:function(){var e=ne(this.getItems());return e.length>0&&e[0]>0}});se.current.register(N,me);var ge=ue.extend({options:{offset:1,moveAction:"pop"},canExecute:function(){var t=ne(this.getItems());return t.length>0&&e(t).last()[0]<this.listBox.items().length-1}});se.current.register(U,ge);var fe=de.extend({options:{filter:b},execute:function(){var e=this,t=e.getSourceListBox(),a=e.getItems().filter(e.options.filter),n=t?t._dataItems(a):[],o=e.getDestinationListBox(),r=e.getUpdatedSelection(a);o&&a.length>0&&(o.trigger(L,{dataItems:n,items:a})||o.add(n),t.trigger(A,{dataItems:n,items:a})||(t.remove(a),e.updateSelection(r)))},getUpdatedSelection:function(t){if(1!==t.length)return null;var a=this.options.filter,n=this.getSourceListBox(),o=n?n.items().filter(a).last():null,r=e(t).filter(o).length>0?e(t).prevAll(a)[0]:e(t).nextAll(a)[0];return r||null},updateSelection:function(t){var a=this.getSourceListBox();a&&t&&(a.select(e(t)),a.selectable.trigger(E),a._scrollIntoView(t))},getSourceListBox:g,getDestinationListBox:g}),pe=fe.extend({canExecute:function(){var e=this.getSourceListBox();return!!e&&e.select().length>0},getSourceListBox:function(){return this.listBox},getDestinationListBox:function(){var t=this.getSourceListBox();return t&&t.options.connectWith?e("#"+t.options.connectWith).data(p):null},getItems:function(){var t=this.getSourceListBox();return t?e(t.select()):e()}});se.current.register(H,pe);var he=fe.extend({canExecute:function(){var e=this.getSourceListBox();return!!e&&e.select().length>0},getSourceListBox:function(){var t=this.getDestinationListBox();return t&&t.options.connectWith?e("#"+t.options.connectWith).data(p):null},getDestinationListBox:function(){return this.listBox},getItems:function(){var t=this.getSourceListBox();return t?e(t.select()):e()}});se.current.register(W,he);var _e=pe.extend({canExecute:function(){var e=this.getSourceListBox();return!!e&&e.wrapper.find(x).length>0},getItems:function(){var t=this.getSourceListBox();return t?t.items():e()},getUpdatedSelection:g,updateSelection:g});se.current.register(K,_e);var ve=he.extend({canExecute:function(){var e=this.getSourceListBox();return!!e&&e.wrapper.find(x).length>0},getItems:function(){var t=this.getSourceListBox();return t?t.items():e()},getUpdatedSelection:g,updateSelection:g});se.current.register(O,ve);var be=u.extend({init:function(t,a){var n=this;n.element=e(t).addClass(T),n.options=m({},n.options,a),n.listBox=n.options.listBox,n._initTemplates(),n._createTools(),n._updateToolStates(),n._attachEventHandlers(),n._aria(),n._tabindex()},destroy:function(){var e=this;e._detachEventHandlers(),a.destroy(e.element),e.element.remove(),e.element=null},options:{position:Y,tools:[]},_aria:function(){var t=this.listBox._getList(),n=t.attr("aria-labelledby"),o=n?e("#"+n).text():t.attr(te),r=t.attr("id")||a.guid();t.attr("id",r),this.element.attr("aria-controls",r),o&&this.element.attr(te,o+" toolbar.")},_attachEventHandlers:function(){var e=this;e.element.on(C,"button.k-button:not(.k-disabled)",e._onToolClick.bind(e)).on(I,e._keyDown.bind(e))},_createTools:function(){var t,n,o=this,r=a.support.isRtl(o.element),i=o.options.tools,l=i.length,s=o.options.messages.tools,d=o.element;for(be.defaultTools=a.deepExtend({},be.defaultTools,{transferTo:{icon:r?V:q},transferFrom:{icon:r?q:V},transferAllTo:{icon:r?P:j},transferAllFrom:{icon:r?j:P}}),n=0;n<l;n++)(t=m({},be.defaultTools[i[n]],{text:s[i[n]]}))&&d.append(e(o.templates.tool(t)));o.element.append(d)},_detachEventHandlers:function(){this.element.off(h).find("*").off(h)},_executeToolCommand:function(e){var t=this.listBox;t&&t._executeCommand(e)},_focusTool:function(){this.element.find(k).not("[tabindex=-1]").trigger("focus")},_initTemplates:function(){this.templates={tool:i((function(e){var t=e.icon,n=e.iconClass,o=e.command,r=e.text;return a.html.renderButton("<button data-command='"+o+"' title='"+r+"' aria-label='"+r+"'></button>",{icon:t,iconClass:n})}))}},_keyDown:function(t){var n=t.keyCode,o=e(t.target),r=o.is(k)?o:o.closest("li");n===a.keys.UP||n===a.keys.LEFT?(t.preventDefault(),r.prev().length&&this._tabindex(r.prev()),this._focusTool()):n!==a.keys.DOWN&&n!==a.keys.RIGHT||(t.preventDefault(),r.next()&&this._tabindex(r.next()),this._focusTool())},_onToolClick:function(t){t.preventDefault(),this._executeToolCommand(e(t.currentTarget).data("command")),this._focusTool()},_tabindex:function(e){var t,a=this.element.find(k);t=e&&e.length?e:a.first(),a.attr(G,-1),t.removeAttr(G)},_updateToolStates:function(){var e,t=this,a=t.options.tools,n=a.length,o=t.element.find(k).not("[tabindex=-1]");for(e=0;e<n;e++)t._updateToolState(a[e]);t._tabindex(o)},_updateToolState:function(e){var t=se.current.create(e,{listBox:this.listBox}),a=this.element.find("[data-command='"+e+"']");a[0]&&t&&t.canExecute&&(t.canExecute()?a.removeClass(_).removeAttr(G):a.addClass(_).attr(G,"-1"))}});be.defaultTools={remove:{command:A,icon:"x"},moveUp:{command:N,icon:"caret-alt-up"},moveDown:{command:U,icon:"caret-alt-down"},transferTo:{command:H,icon:q},transferFrom:{command:W,icon:V},transferAllTo:{command:K,icon:j},transferAllFrom:{command:O,icon:P}},m(le,{ToolBar:be})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.listbox.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.core.js")):"function"==typeof define&&define.amd?define(["kendo.core.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoswitch=e.kendoswitch||{},e.kendoswitch.js=t())}(this,(function(){return function(e,t){var n=window.kendo,a=n.ui,s=".kendoSwitch",c=a.Widget,i=n.support,r="change",d={widget:"k-switch",track:"k-switch-track",thumbWrapper:"k-switch-thumb-wrap",thumb:"k-switch-thumb",checked:"k-switch-on",checkedLabel:"k-switch-label-on",unchecked:"k-switch-off",uncheckedLabel:"k-switch-label-off",disabled:"k-disabled",readonly:"k-readonly",active:"k-active"},l="disabled",o="aria-disabled",h="readonly",p="aria-readonly",u="aria-hidden",k="checked",f=i.click+s,w=i.pointers?"pointerup":"touchend",b="keydown"+s,m=".",y=n.template((function(e){return'<span class="'+e.styles.widget+'" role="switch"></span>'})),g=n.template((function(e){var t=e.styles,n=e.checked,a=e.unchecked;return"<span class='"+t.track+"'><span class='"+t.checkedLabel+"'>"+n+"</span><span class='"+t.uncheckedLabel+"'>"+a+"</span></span>"})),v=n.template((function(e){var t=e.styles;return"<span class='"+t.thumbWrapper+"'><span class='"+t.thumb+"'></span></span>"})),_=c.extend({init:function(e,t){var a=this;c.fn.init.call(a,e,t),a._wrapper(),a._initSettings(),a._aria(),a._attachEvents(),n.notify(a,n.ui)},_wrapper:function(){var t=this,n=t.options,a=t.element[0],s=e(y({styles:d}));a.type="checkbox",t.wrapper=t.element.wrap(s).parent(),t.wrapper[0].style.cssText=t.element[0].style.cssText,t.element.hide(),t.wrapper.append(e(g({styles:d,checked:n.messages.checked,unchecked:n.messages.unchecked}))).append(e(v({styles:d}))).addClass(a.className).removeClass("input-validation-error"),t.options.rounded=t.options.trackRounded,t._applyCssClasses(),t._applyRoundedClasses()},_applyRoundedClasses:function(e){var t=this,a=t.options,s=n.cssProperties.getValidClass({widget:a.name,propName:"rounded",value:a.trackRounded}),c=n.cssProperties.getValidClass({widget:a.name,propName:"rounded",value:a.thumbRounded});e=e||"addClass",t.wrapper.find(m+d.track)[e](s),t.wrapper.find(m+d.thumb)[e](c)},_attachEvents:function(){var e=this;e.wrapper.on(f,e._click.bind(e)).on(w,e._touchEnd.bind(e)).on(b,e._keydown.bind(e))},setOptions:function(n){var a=this,s=n.messages;a._clearCssClasses(n),a._applyRoundedClasses("removeClass"),a.options=e.extend(a.options,n),s&&s.checked!==t&&a.wrapper.find(m+d.checkedLabel).text(s.checked),s&&s.unchecked!==t&&a.wrapper.find(m+d.uncheckedLabel).text(s.unchecked),n.width&&a.wrapper.css({width:n.width}),n.enabled!==t&&a.enable(n.enabled),n.readonly!==t&&a.readonly(n.readonly),a.check(n.checked),a.options.rounded=a.options.trackRounded,a._applyCssClasses(),a._applyRoundedClasses()},_initSettings:function(){var e=this,t=e.element[0],n=e.options;n.enabled&&e._tabindex(),n.width&&e.wrapper.css({width:n.width}),null===n.checked&&(n.checked=t.checked),e.check(n.checked),n.enabled=n.enabled&&!e.element.attr(l),e.enable(n.enabled),n.readonly=n.readonly||!!e.element.attr(h),e.readonly(n.readonly)},_aria:function(){var t=this.element,a=this.wrapper,s=t.attr("id"),c=e('label[for="'+s+'"]'),i=t.attr("aria-label"),r=t.attr("aria-labelledby");if(i)a.attr("aria-label",i);else if(r)a.attr("aria-labelledby",r);else if(c.length){var d=c.attr("id");d||(d=(s||n.guid())+"_label",c.attr("id",d)),a.attr("aria-labelledby",d)}},events:[r],options:{name:"Switch",messages:{checked:"On",unchecked:"Off"},width:null,checked:null,enabled:!0,readonly:!1,size:"medium",rounded:"full",trackRounded:"full",thumbRounded:"full"},check:function(e){var n=this,a=n.element[0];if(e===t)return a.checked;a.checked!==e&&(n.options.checked=a.checked=e),n.wrapper.attr("aria-checked",e).toggleClass(d.checked,e).toggleClass(d.unchecked,!e).find("[aria-hidden='true']").removeAttr(u),e?(n.element.attr(k,k),n.wrapper.find(m+d.uncheckedLabel).attr(u,!0)):(n.element.prop(k,!1),n.wrapper.find(m+d.checkedLabel).attr(u,!0))},value:function(e){return"string"==typeof e?e="true"===e:null===e&&(e=!1),this.check.apply(this,[e])},destroy:function(){c.fn.destroy.call(this),this.wrapper.off(s)},toggle:function(){this.check(!this.element[0].checked)},enable:function(e){var t=this.element,n=this.wrapper;void 0===e&&(e=!0),this.options.enabled=e,e?(t.prop(l,!1),n.removeAttr(o)):(t.attr(l,l),n.attr(o,!0)),n.toggleClass(d.disabled,!e)},readonly:function(e){var t=this,n=t.element,a=t.wrapper;void 0===e&&(e=!0),t.options.readonly=e,e?(n.attr(h,!0),a.attr(p,!0)):(n.prop(h,!1),a.removeAttr(p)),a.toggleClass(d.readonly,e)},_check:function(){var e=this,t=e.element[0].checked=!e.element[0].checked;e.wrapper.trigger("focus"),!e.options.enabled||e.options.readonly||e.trigger(r,{checked:t})?e.element[0].checked=!t:e.check(t)},_keydown:function(e){e.keyCode===n.keys.SPACEBAR&&(this._check(),e.preventDefault())},_isTouch:function(e){return/touch/.test(e.type)||e.originalEvent&&/touch/.test(e.originalEvent.pointerType)},_click:function(e){this._isTouch(e)||1!==e.which||(e.target===this.element[0]&&(this.element[0].checked=!this.element[0].checked),this._check())},_touchEnd:function(e){this._isTouch(e)&&(this._check(),e.preventDefault())}});n.cssProperties.registerPrefix("Switch","k-switch-"),n.cssProperties.registerValues("Switch",[{prop:"rounded",values:n.cssProperties.roundedValues.concat([["full","full"]])}]),a.plugin(_)}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.switch.min.js.map
;!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("kendo.core.js"),require("kendo.drawing.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.drawing.min"],i):((t="undefined"!=typeof globalThis?globalThis:t||self).kendodataviz=t.kendodataviz||{},t.kendodataviz.core=t.kendodataviz.core||{},t.kendodataviz.core.js=i())}(this,(function(){var t,i,n,e;!function(t){window.kendo.dataviz=window.kendo.dataviz||{};var i=kendo.drawing,n=i.util,e=i.Path,o=i.Group,s=kendo.Class,r=kendo.support,a=kendo.geometry,l=a.Rect,h=a.Circle,u=a.transform,c=a.Segment,f=kendo.dataviz,p=kendo.deepExtend,d=kendo.isFunction,v=kendo.getter,m="arc",g="axisLabelClick",x="#000",b="bottom",y="center",w="circle",M="cross",S="date",T="12px sans-serif",k=10,R=/\{\d+:?/,L="height",U="inside",I="left",j=Number.MAX_VALUE,A=-Number.MAX_VALUE,B="none",D="noteClick",P="noteHover",C="noteLeave",O="object",E="outside",z="right",_="roundedRect",V="string",G="top",F="triangle",N="#fff",H="width",Y="x",X="y",q={ARC:m,AXIS_LABEL_CLICK:g,BLACK:x,BOTTOM:b,CENTER:y,CIRCLE:w,COORD_PRECISION:3,CROSS:M,DATE:S,DEFAULT_FONT:T,DEFAULT_HEIGHT:400,DEFAULT_PRECISION:k,DEFAULT_WIDTH:600,END:"end",FORMAT_REGEX:R,HEIGHT:L,HIGHLIGHT_ZINDEX:100,INSIDE:U,INHERIT:"inherit",LEFT:I,MAX_VALUE:j,MIN_VALUE:A,NONE:B,NOTE_CLICK:D,NOTE_HOVER:P,NOTE_LEAVE:C,OBJECT:O,OUTSIDE:E,RIGHT:z,ROUNDED_RECT:_,START:"start",STRING:V,TOP:G,TRIANGLE:F,VALUE:"value",WHITE:N,WIDTH:H,X:Y,Y:X,DEFAULT_SERIES_OPACITY:1};function W(t){return Array.isArray(t)}function K(t,i){for(var n=W(i)?i:[i],e=0;e<n.length;e++){var o=n[e];-1===t.className.indexOf(o)&&(t.className+=" "+o)}}var Q=/\s+/g;function J(t,i){t&&t.className&&(t.className=t.className.replace(i,"").replace(Q," "))}function Z(t){var i=.5;t.options.stroke&&kendo.drawing.util.defined(t.options.stroke.width)&&t.options.stroke.width%2==0&&(i=0);for(var n=0;n<t.segments.length;n++)t.segments[n].anchor().round(0).translate(i,i);return t}function $(t,i){return-t.x*i.y+t.y*i.x<0}function tt(t){return"number"==typeof t&&!isNaN(t)}function it(t){return typeof t===V}function nt(t){return"object"==typeof t}function et(t){return tt(t)?t+"px":t}var ot=/width|height|top|left|bottom|right/i;function st(t){return ot.test(t)}function rt(t,i){void 0===i&&(i=0);var n={top:0,right:0,bottom:0,left:0};return"number"==typeof t?n[G]=n[z]=n[b]=n[I]=t:(n[G]=t[G]||i,n[z]=t[z]||i,n[b]=t[b]||i,n[I]=t[I]||i),n}var at={compile:function(t){return t}},lt=s.extend({});function ht(t){var i;return void 0===t&&(t={}),t.template?t.template=i=lt.compile(t.template):d(t.content)&&(i=t.content),i}function ut(t,i){for(var n=t.length,e=[],o=0;o<n;o++)i(t[o])&&e.push(t[o]);return e}lt.register=function(t){at=t},lt.compile=function(t,i){return at.compile(t,i)};var ct=function(){this._map=new Map};function ft(t,i){if(i)return-1!==i.indexOf(t)}ct.prototype.get=function(t){return this._map.get(t)},ct.prototype.set=function(t,i){this._map.set(t,i)};var pt="trigger",dt=s.extend({init:function(t,i){this.observer=t,this.handlerMap=p({},this.handlerMap,i)},trigger:function(t,i){var n,e=this.observer,o=this.handlerMap;return o[t]?n=this.callObserver(o[t],i):e[pt]&&(n=this.callObserver(pt,t,i)),n},callObserver:function(t){for(var i=arguments,n=[],e=arguments.length-1;e-- >0;)n[e]=i[e+1];return this.observer[t].apply(this.observer,n)},requiresHandlers:function(t){if(this.observer.requiresHandlers)return this.observer.requiresHandlers(t);for(var i=0;i<t.length;i++)if(this.handlerMap[t[i]])return!0}});function vt(t){return"[object Object]"===Object.prototype.toString.call(t)}function mt(t,i){for(var n=t.length,e=[],o=0;o<n;o++){var s=i(t[o]);kendo.drawing.util.defined(s)&&e.push(s)}return e}var gt=r.browser||{};var xt=kendo.drawing.util,bt=xt.append,yt=xt.bindEvents,wt=xt.defined,Mt=xt.deg,St=xt.elementOffset,Tt=xt.elementSize,kt=xt.eventCoordinates,Rt=xt.eventElement,Lt=xt.hashKey,Ut=xt.last,It=xt.limitValue,jt=xt.objectKey,At=xt.rad,Bt=xt.round,Dt=xt.unbindEvents,Pt=xt.valueOrDefault,Ct=s.extend({});function Ot(t,i){var n=t.prototype;n.options?n.options=p({},n.options,i):n.options=i}Ct.fetchFonts=function(t,i,n){void 0===n&&(n={depth:0});!t||n.depth>5||!document.fonts||Object.keys(t).forEach((function(e){var o=t[e];"dataSource"!==e&&"$"!==e[0]&&o&&("font"===e?i.push(o):"object"==typeof o&&(n.depth++,Ct.fetchFonts(o,i,n),n.depth--))}))},Ct.loadFonts=function(t,i){var n=[];if(t.length>0&&document.fonts){try{n=t.map((function(t){return document.fonts.load(t)}))}catch(t){kendo.logToConsole(t)}Promise.all(n).then(i,i)}else i()},Ct.preloadFonts=function(t,i){var n=[];Ct.fetchFonts(t,n),Ct.loadFonts(n,i)};var Et="k-i-",zt="k-svg-i-",_t=s.extend({init:function(t,i){this.element=t,this.options=p({},this.options,i),this.wrapper()},wrapper:function(){this.addClasses()},addClasses:function(){},html:function(){return this.element.outerHTML}});Ot(_t,{name:"",size:"none",themeColor:"none",flip:"default",iconClass:"",stylingOptions:["size","themeColor","fill"]});var Vt=_t.extend({init:function(t,i){_t.fn.init.call(this,t,i)},wrapper:function(){var t=this.element.className.split(" ").find((function(t){return t.startsWith(Et)})),i=this.options.icon?""+(this.options.icon.startsWith(Et)?"":Et)+this.options.icon:"";this._className=i,K(this.element,"k-icon"),J(this.element,t),K(this.element,i),K(this.element,this.options.iconClass||""),_t.fn.wrapper.call(this)}});Ot(Vt,{name:"HTMLFontIcon",icon:null});var Gt=_t.extend({init:function(t,i){t.innerHTML="",_t.fn.init.call(this,t,i)},wrapper:function(){var t=this.options.icon,i=this.options.iconClass,n=this.element.className.split(" ").find((function(t){return t.startsWith(zt)}));if(!t&&i){var e=i.match(/k-i-(\w+(?:-\w+)*)/);e&&(t=e[1],i=i.replace(e[0],""))}it(t)&&(t=t.replace("k-i-","").replace(/-./g,(function(t){return t[1].toUpperCase()})),t=this.options.svgIcons[t]||this.options.svgIcons[t+"Icon"]);var o=t&&t.name?""+zt+t.name:"";if(this._className=o,K(this.element,"k-svg-icon"),J(this.element,n),K(this.element,o),K(this.element,i||""),this.element.setAttribute("aria-hidden","true"),t&&vt(t)){var s=document.createElementNS("http://www.w3.org/2000/svg","svg");s.setAttribute("viewBox",t.viewBox||""),s.setAttribute("focusable","false"),s.innerHTML=t.content||"",this.element.appendChild(s)}_t.fn.wrapper.call(this)}});Ot(Gt,{name:"HTMLSvgIcon",icon:null,svgIcons:{}});var Ft={svg:Gt,font:Vt};function Nt(t){for(var i=j,n=A,e=0,o=t.length;e<o;e++){var s=t[e];null!==s&&isFinite(s)&&(i=Math.min(i,s),n=Math.max(n,s))}return{min:i===j?void 0:i,max:n===A?void 0:n}}var Ht=a.Matrix,Yt=/matrix\((.*)\)/;function Xt(t){var i=getComputedStyle(t).transform;return"none"===i?Ht.unit():function(t){var i=t.match(Yt);if(null===i||2!==i.length)return Ht.unit();var n=i[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(Ht,[null].concat(n)))}(i)}var qt={},Wt=s.extend({init:function(t){this._index={},this._values=t?t.slice(0):[];for(var i=0;i<this._values.length;i++)this._index[this._values[i]]=i},values:function(){return this._values.filter((function(t){return t!==qt}))},has:function(t){return void 0!==this._index[t]},add:function(t){this.has(t)||(this._index[t]=this._values.length,this._values.push(t))},delete:function(t){var i=this._index[t];void 0!==i&&(this._values[i]=qt,delete this._index[t])},clear:function(){this._index={},this._values=[]}});Object.defineProperties&&Object.defineProperties(Wt.fn,{size:{get:function(){return this._values.length}}});var Kt=s.extend({init:function(t){this._set=new Set(t)},values:function(){return Array.from(this._set)},has:function(t){return this._set.has(t)},add:function(t){this._set.add(t)},delete:function(t){this._set.delete(t)},clear:function(){this._set.clear()}});Object.defineProperties&&Object.defineProperties(Kt.fn,{size:{get:function(){return this._set.size}}});function Qt(t,i){var n=Bt(i-t,k-1);if(0===n){if(0===i)return.1;n=Math.abs(i)}var e=Math.pow(10,Math.floor(Math.log(n)/Math.log(10))),o=Bt(n/e,k);return Bt(e*(o<1.904762?.2:o<4.761904?.5:o<9.523809?1:2),k)}var Jt=s.extend({init:function(t,i){this.x=t||0,this.y=i||0},clone:function(){return new Jt(this.x,this.y)},equals:function(t){return t&&this.x===t.x&&this.y===t.y},rotate:function(t,i){var n=At(i),e=Math.cos(n),o=Math.sin(n),s=t.x,r=t.y,a=this.x,l=this.y;return this.x=Bt(s+(a-s)*e+(l-r)*o,3),this.y=Bt(r+(l-r)*e-(a-s)*o,3),this},multiply:function(t){return this.x*=t,this.y*=t,this},distanceTo:function(t){var i=this.x-t.x,n=this.y-t.y;return Math.sqrt(i*i+n*n)}});Jt.onCircle=function(t,i,n){var e=At(i);return new Jt(t.x-n*Math.cos(e),t.y-n*Math.sin(e))};var Zt=s.extend({init:function(t,i,n,e){this.x1=t||0,this.y1=i||0,this.x2=n||0,this.y2=e||0},equals:function(t){return this.x1===t.x1&&this.x2===t.x2&&this.y1===t.y1&&this.y2===t.y2},width:function(){return this.x2-this.x1},height:function(){return this.y2-this.y1},translate:function(t,i){return this.x1+=t,this.x2+=t,this.y1+=i,this.y2+=i,this},move:function(t,i){var n=this.height(),e=this.width();return wt(t)&&(this.x1=t,this.x2=this.x1+e),wt(i)&&(this.y1=i,this.y2=this.y1+n),this},wrap:function(t){return this.x1=Math.min(this.x1,t.x1),this.y1=Math.min(this.y1,t.y1),this.x2=Math.max(this.x2,t.x2),this.y2=Math.max(this.y2,t.y2),this},wrapPoint:function(t){var i=W(t),n=i?t[0]:t.x,e=i?t[1]:t.y;return this.wrap(new Zt(n,e,n,e)),this},snapTo:function(t,i){return i!==Y&&i||(this.x1=t.x1,this.x2=t.x2),i!==X&&i||(this.y1=t.y1,this.y2=t.y2),this},alignTo:function(t,i){var n=this.height(),e=this.width(),o=i===G||i===b?X:Y,s=o===X?n:e;if(i===y){var r=t.center(),a=this.center();this.x1+=r.x-a.x,this.y1+=r.y-a.y}else this[o+1]=i===G||i===I?t[o+1]-s:t[o+2];return this.x2=this.x1+e,this.y2=this.y1+n,this},shrink:function(t,i){return this.x2-=t,this.y2-=i,this},expand:function(t,i){return this.shrink(-t,-i),this},pad:function(t){var i=rt(t);return this.x1-=i.left,this.x2+=i.right,this.y1-=i.top,this.y2+=i.bottom,this},unpad:function(t){var i=rt(t);return i.left=-i.left,i.top=-i.top,i.right=-i.right,i.bottom=-i.bottom,this.pad(i)},clone:function(){return new Zt(this.x1,this.y1,this.x2,this.y2)},center:function(){return new Jt(this.x1+this.width()/2,this.y1+this.height()/2)},containsPoint:function(t){return t.x>=this.x1&&t.x<=this.x2&&t.y>=this.y1&&t.y<=this.y2},points:function(){return[new Jt(this.x1,this.y1),new Jt(this.x2,this.y1),new Jt(this.x2,this.y2),new Jt(this.x1,this.y2)]},getHash:function(){return[this.x1,this.y1,this.x2,this.y2].join(",")},overlaps:function(t){return!(t.y2<this.y1||this.y2<t.y1||t.x2<this.x1||this.x2<t.x1)},rotate:function(t){var i=this.width(),n=this.height(),e=this.center(),o=e.x,s=e.y,r=$t(0,0,o,s,t),a=$t(i,0,o,s,t),l=$t(i,n,o,s,t),h=$t(0,n,o,s,t);return i=Math.max(r.x,a.x,l.x,h.x)-Math.min(r.x,a.x,l.x,h.x),n=Math.max(r.y,a.y,l.y,h.y)-Math.min(r.y,a.y,l.y,h.y),this.x2=this.x1+i,this.y2=this.y1+n,this},toRect:function(){return new l([this.x1,this.y1],[this.width(),this.height()])},hasSize:function(){return 0!==this.width()&&0!==this.height()},align:function(t,i,n){var e=i+1,o=i+2,s=i===Y?H:L,r=this[s]();ft(n,[I,G])?(this[e]=t[e],this[o]=this[e]+r):ft(n,[z,b])?(this[o]=t[o],this[e]=this[o]-r):n===y&&(this[e]=t[e]+(t[s]()-r)/2,this[o]=this[e]+r)}});function $t(t,i,n,e,o){var s=At(o);return new Jt(n+(t-n)*Math.cos(s)+(i-e)*Math.sin(s),e-(t-n)*Math.sin(s)+(i-e)*Math.cos(s))}var ti=s.extend({init:function(t,i,n,e,o){this.center=t,this.innerRadius=i,this.radius=n,this.startAngle=e,this.angle=o},clone:function(){return new ti(this.center,this.innerRadius,this.radius,this.startAngle,this.angle)},middle:function(){return this.startAngle+this.angle/2},setRadius:function(t,i){return i?this.innerRadius=t:this.radius=t,this},point:function(t,i){var n=At(t),e=Math.cos(n),o=Math.sin(n),s=i?this.innerRadius:this.radius,r=Bt(this.center.x-e*s,3),a=Bt(this.center.y-o*s,3);return new Jt(r,a)},adjacentBox:function(t,i,n){var e=this.clone().expand(t),o=e.middle(),s=e.point(o),r=i/2,a=n/2,l=Math.sin(At(o)),h=Math.cos(At(o)),u=s.x-r,c=s.y-a;return Math.abs(l)<.9&&(u+=r*-h/Math.abs(h)),Math.abs(h)<.9&&(c+=a*-l/Math.abs(l)),new Zt(u,c,u+i,c+n)},containsPoint:function(t){var i=this.center,n=this.innerRadius,e=this.radius,o=this.startAngle,s=this.startAngle+this.angle,r=t.x-i.x,a=t.y-i.y,l=new Jt(r,a),h=this.point(o),u=new Jt(h.x-i.x,h.y-i.y),c=this.point(s),f=new Jt(c.x-i.x,c.y-i.y),p=Bt(r*r+a*a,3);return(u.equals(l)||$(u,l))&&!$(f,l)&&p>=n*n&&p<=e*e},getBBox:function(){var t,i=new Zt(j,j,A,A),n=Bt(this.startAngle%360),e=Bt((n+this.angle)%360),o=this.innerRadius,s=[0,90,180,270,n,e].sort(ii),r=s.indexOf(n),a=s.indexOf(e);t=n===e?s:r<a?s.slice(r,a+1):[].concat(s.slice(0,a+1),s.slice(r,s.length));for(var l=0;l<t.length;l++){var h=this.point(t[l]);i.wrapPoint(h),i.wrapPoint(h,o)}return o||i.wrapPoint(this.center),i},expand:function(t){return this.radius+=t,this}});function ii(t,i){return t-i}var ni=ti.extend({init:function(t,i,n,e){ti.fn.init.call(this,t,0,i,n,e)},expand:function(t){return ti.fn.expand.call(this,t)},clone:function(){return new ni(this.center,this.radius,this.startAngle,this.angle)},setRadius:function(t){return this.radius=t,this}}),ei=s.extend({createRing:function(t,i){var n=t.startAngle+180,o=t.angle+n;t.angle>0&&n===o&&(o+=.001);var s=new a.Point(t.center.x,t.center.y),r=Math.max(t.radius,0),l=Math.max(t.innerRadius,0),h=new a.Arc(s,{startAngle:n,endAngle:o,radiusX:r,radiusY:r}),u=e.fromArc(h,i).close();if(l){h.radiusX=h.radiusY=l;var c=h.pointAt(o);u.lineTo(c.x,c.y),u.arc(o,n,l,l,!0)}else u.lineTo(s.x,s.y);return u}});ei.current=new ei;var oi=s.extend({init:function(t){this.children=[],this.options=p({},this.options,this.initUserOptions(t))},initUserOptions:function(t){return t},reflow:function(t){for(var i,n=this.children,e=0;e<n.length;e++){var o=n[e];o.reflow(t),i=i?i.wrap(o.box):o.box.clone()}this.box=i||t},destroy:function(){var t=this.children;this.animation&&this.animation.destroy();for(var i=0;i<t.length;i++)t[i].destroy()},getRoot:function(){var t=this.parent;return t?t.getRoot():null},getSender:function(){var t=this.getService();if(t)return t.sender},getService:function(){for(var t=this;t;){if(t.chartService)return t.chartService;t=t.parent}},translateChildren:function(t,i){for(var n=this.children,e=n.length,o=0;o<e;o++)n[o].box.translate(t,i)},append:function(){for(var t=arguments,i=0;i<arguments.length;i++){var n=t[i];this.children.push(n),n.parent=this}},renderVisual:function(){!1!==this.options.visible&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},addVisual:function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},renderChildren:function(){for(var t=this.children,i=t.length,n=0;n<i;n++)t[n].renderVisual()},createVisual:function(){this.visual=new o({zIndex:this.options.zIndex,visible:Pt(this.options.visible,!0)})},createAnimation:function(){this.visual&&this.options.animation&&(this.animation=i.Animation.create(this.visual,this.options.animation))},appendVisual:function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):wt(t.options.zIndex)?this.stackRoot().stackVisual(t):this.isStackRoot?this.stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},clipRoot:function(){return this.parent?this.parent.clipRoot():this},stackRoot:function(){return this.parent?this.parent.stackRoot():this},stackVisual:function(t){var i,n=t.options.zIndex||0,e=this.visual.children,o=e.length;for(i=0;i<o;i++){var s=e[i];if(Pt(s.options.zIndex,0)>n)break}this.visual.insert(i,t)},traverse:function(t){for(var i=this.children,n=i.length,e=0;e<n;e++){var o=i[e];t(o),o.traverse&&o.traverse(t)}},closest:function(t){for(var i=this,n=!1;i&&!n;)(n=t(i))||(i=i.parent);if(n)return i},renderComplete:function(){},hasHighlight:function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&!1===t.visible||!1===this.visible)},toggleHighlight:function(i,n){var e=this,o=(this.options||{}).highlight||{},s=o.visual,r=this._highlight;if(!r){var a={fill:{color:N,opacity:n||.2},stroke:{color:N,width:1,opacity:n||.2}};if(s){if(!(r=this._highlight=s(t.extend(this.highlightVisualArgs(),{createVisual:function(){return e.createHighlight(a)},sender:this.getSender(),series:this.series,dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total}))))return}else r=this._highlight=this.createHighlight(a);wt(r.options.zIndex)||(r.options.zIndex=Pt(o.zIndex,this.options.zIndex)),this.appendVisual(r)}r.visible(i)},createGradientOverlay:function(i,n,o){var s=new e(t.extend({stroke:{color:"none"},fill:this.createGradient(o),closed:i.options.closed},n));return s.segments.elements(i.segments.elements()),s},createGradient:function(t){if(this.parent)return this.parent.createGradient(t)},supportsPointInactiveOpacity:function(){return!0}});oi.prototype.options={};var si=oi.extend({init:function(t){oi.fn.init.call(this,t),this.options.margin=rt(this.options.margin),this.options.padding=rt(this.options.padding)},reflow:function(t){var i,n=this,e=this.options,o=e.width,s=e.height,r=e.shrinkToFit,a=o&&s,l=e.margin,h=e.padding,u=e.border.width,c=function(){n.align(t,Y,e.align),n.align(t,X,e.vAlign),n.paddingBox=i.clone().unpad(l).unpad(u)},f=t.clone();a&&(f.x2=f.x1+o,f.y2=f.y1+s),r&&f.unpad(l).unpad(u).unpad(h),oi.fn.reflow.call(this,f),i=a?this.box=new Zt(0,0,o,s):this.box,r&&a?(c(),f=this.contentBox=this.paddingBox.clone().unpad(h)):(f=this.contentBox=i.clone(),i.pad(h).pad(u).pad(l),c()),this.translateChildren(i.x1-f.x1+l.left+u+h.left,i.y1-f.y1+l.top+u+h.top);for(var p=this.children,d=0;d<p.length;d++){var v=p[d];v.reflow(v.box)}},align:function(t,i,n){this.box.align(t,i,n)},hasBox:function(){var t=this.options;return t.border.width||t.background},createVisual:function(){oi.fn.createVisual.call(this),this.options.visible&&this.hasBox()&&this.visual.append(e.fromRect(this.paddingBox.toRect(),this.visualStyle()))},visualStyle:function(){var t=this.options,i=t.border||{};return{stroke:{width:i.width,color:i.color,opacity:Pt(i.opacity,t.opacity),dashType:i.dashType},fill:{color:t.background,opacity:t.opacity},cursor:t.cursor}}});Ot(si,{align:I,vAlign:G,margin:{},padding:{},border:{color:x,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0});var ri=si.extend({init:function(t,i){si.fn.init.call(this,t),this.pointData=i},getElement:function(){var t=this.options,n=this.paddingBox,o=t.type,s=t.rotation,r=n.center(),a=n.width()/2,l=n.height()/2;if(!t.visible||!this.hasBox())return null;var c,f=this.visualStyle();if(o===w)c=new i.Circle(new h([Bt(n.x1+a,3),Bt(n.y1+l,3)],Math.min(a,l)),f);else if(o===F)c=e.fromPoints([[n.x1+a,n.y1],[n.x1,n.y2],[n.x2,n.y2]],f).close();else if(o===M)(c=new i.MultiPath(f)).moveTo(n.x1,n.y1).lineTo(n.x2,n.y2),c.moveTo(n.x1,n.y2).lineTo(n.x2,n.y1);else{var p=n.toRect();if(o===_){var d=Pt(t.borderRadius,p.width()/5);p.setCornerRadius(d)}c=e.fromRect(p,f)}return s&&c.transform(u().rotate(-s,[r.x,r.y])),c.options.zIndex=t.zIndex,c},createElement:function(){var t=this,i=this.options.visual,n=this.pointData||{};return i?i({value:n.value,dataItem:n.dataItem,sender:this.getSender(),series:n.series,category:n.category,rect:this.paddingBox.toRect(),options:this.visualOptions(),createVisual:function(){return t.getElement()}}):this.getElement()},visualOptions:function(){var t=this.options;return{background:t.background,border:t.border,margin:t.margin,padding:t.padding,type:t.type,size:t.width,visible:t.visible}},createVisual:function(){this.visual=this.createElement()}});Ot(ri,{type:w,align:y,vAlign:y});var ai="radial",li={glass:{type:"linear",rotation:0,stops:[{offset:0,color:N,opacity:0},{offset:.25,color:N,opacity:.3},{offset:1,color:N,opacity:0}]},sharpBevel:{type:ai,stops:[{offset:0,color:N,opacity:.55},{offset:.65,color:N,opacity:0},{offset:.95,color:N,opacity:.25}]},roundedBevel:{type:ai,stops:[{offset:.33,color:N,opacity:.06},{offset:.83,color:N,opacity:.2},{offset:.95,color:N,opacity:0}]},roundedGlass:{type:ai,supportVML:!1,stops:[{offset:0,color:N,opacity:0},{offset:.5,color:N,opacity:.3},{offset:.99,color:N,opacity:0}]},sharpGlass:{type:ai,supportVML:!1,stops:[{offset:0,color:N,opacity:.2},{offset:.15,color:N,opacity:.15},{offset:.17,color:N,opacity:.35},{offset:.85,color:N,opacity:.05},{offset:.87,color:N,opacity:.15},{offset:.99,color:N,opacity:0}]},bubbleShadow:{type:ai,center:[.5,.5],radius:.5}};function hi(t,i){if(t.x1===i.x1&&t.y1===i.y1&&t.x2===i.x2&&t.y2===i.y2)return i;var n=Math.min(t.x1,i.x1),e=Math.max(t.x1,i.x1),o=Math.min(t.x2,i.x2),s=Math.max(t.x2,i.x2),r=Math.min(t.y1,i.y1),a=Math.max(t.y1,i.y1),l=Math.min(t.y2,i.y2),h=Math.max(t.y2,i.y2),u=[];return u[0]=new Zt(e,r,o,a),u[1]=new Zt(n,a,e,l),u[2]=new Zt(o,a,s,l),u[3]=new Zt(e,l,o,h),t.x1===n&&t.y1===r||i.x1===n&&i.y1===r?(u[4]=new Zt(n,r,e,a),u[5]=new Zt(o,l,s,h)):(u[4]=new Zt(o,r,s,a),u[5]=new Zt(n,l,e,h)),ut(u,(function(t){return t.height()>0&&t.width()>0}))[0]}var ui=oi.extend({init:function(t){oi.fn.init.call(this,t);var i=this.options;i.width=parseInt(i.width,10),i.height=parseInt(i.height,10),this.gradients={}},reflow:function(){var t=this.options,i=this.children,n=new Zt(0,0,t.width,t.height);this.box=n.unpad(t.margin);for(var e=0;e<i.length;e++)i[e].reflow(n),n=hi(n,i[e].box)||new Zt},createVisual:function(){this.visual=new o,this.createBackground()},createBackground:function(){var t=this.options,i=t.border||{},n=this.box.clone().pad(t.margin).unpad(i.width),o=e.fromRect(n.toRect(),{stroke:{color:i.width?i.color:"",width:i.width,dashType:i.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(o)},getRoot:function(){return this},createGradient:function(n){var e,o=this.gradients,s=jt(n),r=li[n.gradient];if(o[s])e=o[s];else{var a=t.extend({},r,n);"linear"===r.type?e=new i.LinearGradient(a):(n.innerRadius&&(a.stops=function(i){for(var n=i.stops,e=i.innerRadius/i.radius*100,o=n.length,s=[],r=0;r<o;r++){var a=t.extend({},n[r]);a.offset=(a.offset*(100-e)+e)/100,s.push(a)}return s}(a)),(e=new i.RadialGradient(a)).supportVML=!1!==r.supportVML),o[s]=e}return e},cleanGradients:function(){var t=this.gradients;for(var i in t)t[i]._observers=[]},size:function(){var t=this.options;return new Zt(0,0,t.width,t.height)}});Ot(ui,{width:600,height:400,background:N,border:{color:x,width:0},margin:rt(5),zIndex:-2});var ci=oi.extend({init:function(t){oi.fn.init.call(this,t),this._initDirection()},_initDirection:function(){var t=this.options;t.vertical?(this.groupAxis=Y,this.elementAxis=X,this.groupSizeField=H,this.elementSizeField=L,this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=X,this.elementAxis=Y,this.groupSizeField=L,this.elementSizeField=H,this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},reflow:function(t){this.box=t.clone(),this.reflowChildren()},reflowChildren:function(){var t=this,i=this,n=i.box,e=i.elementAxis,o=i.groupAxis,s=i.elementSizeField,r=i.groupSizeField,a=this.groupOptions(),l=a.groups,h=a.groupsSize,u=a.maxGroupElementsSize,c=l.length,f=n[o+1]+this.alignStart(h,n[r]());if(c){for(var p=f,d=0;d<c;d++){for(var v=l[d],m=v.groupElements,g=n[e+1],x=m.length,b=0;b<x;b++){var y=m[b],w=t.elementSize(y),M=p+t.alignStart(w[r],v.groupSize),S=new Zt;S[o+1]=M,S[o+2]=M+w[r],S[e+1]=g,S[e+2]=g+w[s],y.reflow(S),g+=w[s]+t.elementSpacing}p+=v.groupSize+t.groupSpacing}n[o+1]=f,n[o+2]=f+h,n[e+2]=n[e+1]+u}},alignStart:function(t,i){var n=0,e=this.options.align;return e===z||e===b?n=i-t:e===y&&(n=(i-t)/2),n},groupOptions:function(){for(var t=this,i=t.box,n=t.children,e=t.elementSizeField,o=t.groupSizeField,s=t.elementSpacing,r=t.groupSpacing,a=Bt(i[e]()),l=n.length,h=[],u=0,c=0,f=0,p=0,d=[],v=0;v<l;v++){var m=n[v];m.box||m.reflow(i);var g=this.elementSize(m);this.options.wrap&&Bt(c+s+g[e])>a&&(h.push({groupElements:d,groupSize:u,groupElementsSize:c}),p=Math.max(p,c),f+=r+u,u=0,c=0,d=[]),u=Math.max(u,g[o]),c>0&&(c+=s),c+=g[e],d.push(m)}return h.push({groupElements:d,groupSize:u,groupElementsSize:c}),{groups:h,groupsSize:f+=u,maxGroupElementsSize:p=Math.max(p,c)}},elementSize:function(t){return{width:t.box.width(),height:t.box.height()}},createVisual:function(){}});Ot(ci,{vertical:!0,wrap:!0,vSpacing:0,spacing:0});var fi=i.Text,pi=oi.extend({init:function(t,i){oi.fn.init.call(this,i),this.content=t,this.reflow(new Zt)},reflow:function(t){var i=this.options,e=i.size=n.measureText(this.content,{font:i.font});this.baseline=e.baseline,this.box=new Zt(t.x1,t.y1,t.x1+e.width,t.y1+e.height)},createVisual:function(){var t=this.options,i=t.font,n=t.color,e=t.opacity,o=t.cursor;this.visual=new fi(this.content,this.box.toRect().topLeft(),{font:i,fill:{color:n,opacity:e},cursor:o})}});function di(t){var i=t.origin,n=t.bottomRight();return new Zt(i.x,i.y,n.x,n.y)}Ot(pi,{font:T,color:x});var vi=/\n/m,mi=si.extend({init:function(t,i,n){si.fn.init.call(this,i),this.content=t,this.data=n,this._initContainer(),!1!==this.options._autoReflow&&this.reflow(new Zt)},_initContainer:function(){var t=this.options,i=String(this.content).split(vi),n=new ci({vertical:!0,align:t.align,wrap:!1}),e=p({},t,{opacity:1,animation:null});this.container=n,this.append(n);for(var o=0;o<i.length;o++){var s=new pi(i[o].trim(),e);n.append(s)}},reflow:function(t){var i=this.options,n=i.visual;if(this.container.options.align=i.align,n&&!this._boxReflow){var e=t;e.hasSize()||(this._boxReflow=!0,this.reflow(e),this._boxReflow=!1,e=this.box);var o=this.visual=n(this.visualContext(e));o&&(e=di(o.clippedBBox()||new l),o.options.zIndex=i.zIndex),this.box=this.contentBox=this.paddingBox=e}else if(si.fn.reflow.call(this,t),i.rotation){var s=rt(i.margin),r=this.box.unpad(s);this.targetBox=t,this.normalBox=r.clone(),(r=this.rotate()).translate(s.left-s.right,s.top-s.bottom),this.rotatedBox=r.clone(),r.pad(s)}},createVisual:function(){var t=this.options;if(this.visual=new o({transform:this.rotationTransform(),zIndex:t.zIndex,noclip:t.noclip}),this.hasBox()){var i=e.fromRect(this.paddingBox.toRect(),this.visualStyle());this.visual.append(i)}},renderVisual:function(){if(this.options.visible)if(this.options.visual){var t=this.visual;t&&!wt(t.options.noclip)&&(t.options.noclip=this.options.noclip),this.addVisual(),this.createAnimation()}else si.fn.renderVisual.call(this)},visualContext:function(i){var n=this,e={text:this.content,rect:i.toRect(),sender:this.getSender(),options:this.options,createVisual:function(){return n._boxReflow=!0,n.reflow(i),n._boxReflow=!1,n.getDefaultVisual()}};return this.data&&t.extend(e,this.data),e},getDefaultVisual:function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},rotate:function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,Y,t.align),this.align(this.targetBox,X,t.vAlign),this.box},rotationTransform:function(){var t=this.options.rotation;if(!t)return null;var i=this.normalBox.center(),n=i.x,e=i.y,o=this.rotatedBox.center();return u().translate(o.x-n,o.y-e).rotate(t,[n,e])}}),gi=oi.extend({init:function(i){oi.fn.init.call(this,i),this._textBox=new mi(this.options.text,t.extend({},this.options,{vAlign:this.options.position})),this.append(this._textBox)},reflow:function(t){oi.fn.reflow.call(this,t),this.box.snapTo(t,Y)}});function xi(i){for(var n=1;n<i.length;n++){var e=i[n]._textBox,o=i[n-1]._textBox;o.options.margin=t.extend(rt(o.options.margin),{bottom:0}),e.options.margin=t.extend(rt(e.options.margin),{top:0})}}gi.buildTitle=function(i,n){var e,o=i;return"string"==typeof i&&(o={text:i}),(o=t.extend({visible:!0},n,o))&&o.visible&&o.text&&(e=new gi(o)),e},gi.orderTitles=function(t){var i=[].concat(t),n=i.filter((function(t){return t&&t.options.position!==b})),e=i.filter((function(t){return t&&t.options.position===b}));return xi(n),xi(e),e.reverse(),n.concat(e)},Ot(gi,{color:x,position:G,align:y,margin:rt(5),padding:rt(5)});var bi=mi.extend({init:function(t,i,n,e,o){mi.fn.init.call(this,i,o),this.text=i,this.value=t,this.index=n,this.dataItem=e,this.reflow(new Zt)},visualContext:function(t){var i=mi.fn.visualContext.call(this,t);return i.value=this.value,i.dataItem=this.dataItem,i.format=this.options.format,i.culture=this.options.culture,i},click:function(t,i){t.trigger(g,{element:Rt(i),value:this.value,text:this.text,index:this.index,dataItem:this.dataItem,axis:this.parent.options})},rotate:function(){if(this.options.alignRotation!==y){var t=this.normalBox.toRect(),i=this.rotationTransform();this.box=di(t.bbox(i.matrix()))}else mi.fn.rotate.call(this);return this.box},rotationTransform:function(){var t=this.options,i=t.rotation;if(!i)return null;if(t.alignRotation===y)return mi.fn.rotationTransform.call(this);var n=u().rotate(i).matrix(),e=this.normalBox.toRect(),o=this.targetBox.toRect(),s=t.rotationOrigin||G,r=s===G||s===b?Y:X,a=s===G||s===b?X:Y,h=s===G||s===I?o.origin:o.bottomRight(),c=e.topLeft().transformCopy(n),f=e.topRight().transformCopy(n),p=e.bottomRight().transformCopy(n),d=e.bottomLeft().transformCopy(n),v=l.fromPoints(c,f,p,d),m={};m[a]=o.origin[a]-v.origin[a];var g,x,w=Math.abs(c[a]+m[a]-h[a]),M=Math.abs(f[a]+m[a]-h[a]);Bt(w,k)===Bt(M,k)?(g=c,x=f):M<w?(g=f,x=p):(g=c,x=d);var S=g[r]+(x[r]-g[r])/2;return m[r]=o.center()[r]-S,u().translate(m.x,m.y).rotate(i)}});Ot(bi,{_autoReflow:!1});var yi=si.extend({init:function(t,i,n){si.fn.init.call(this,i),this.fields=t,this.chartService=n,this.render()},hide:function(){this.options.visible=!1},show:function(){this.options.visible=!0},render:function(){var t=this,i=this.options;if(i.visible){var n,e,o=i.label,s=i.icon,r=new Zt,a=function(){return t},l=s.size,h=this.fields.text;if(wt(o)&&o.visible){var u=ht(o);u?h=u(this.fields):o.format&&(h=this.chartService.format.auto(o.format,h)),o.color||(o.color=o.position===U?"#fff":s.background),this.label=new mi(h,p({},o)),this.label.aliasFor=a,o.position!==U||wt(l)||(s.type===w?l=Math.max(this.label.box.width(),this.label.box.height()):(n=this.label.box.width(),e=this.label.box.height()),r.wrap(this.label.box))}s.width=n||l||7,s.height=e||l||7;var c=new ri(p({},s));c.aliasFor=a,this.marker=c,this.append(c),this.label&&this.append(this.label),c.reflow(new Zt),this.wrapperBox=r.wrap(c.box)}},reflow:function(t){var i,n,e,o=this,s=o.options,r=o.label,a=o.marker,l=o.wrapperBox,h=t.center(),u=s.line.length,c=s.position;s.visible&&(ft(c,[I,z])?c===I?(e=l.alignTo(t,c).translate(-u,t.center().y-l.center().y),s.line.visible&&(i=[t.x1,h.y],this.linePoints=[i,[e.x2,h.y]],n=e.clone().wrapPoint(i))):(e=l.alignTo(t,c).translate(u,t.center().y-l.center().y),s.line.visible&&(i=[t.x2,h.y],this.linePoints=[i,[e.x1,h.y]],n=e.clone().wrapPoint(i))):c===b?(e=l.alignTo(t,c).translate(t.center().x-l.center().x,u),s.line.visible&&(i=[h.x,t.y2],this.linePoints=[i,[h.x,e.y1]],n=e.clone().wrapPoint(i))):(e=l.alignTo(t,c).translate(t.center().x-l.center().x,-u),s.line.visible&&(i=[h.x,t.y1],this.linePoints=[i,[h.x,e.y2]],n=e.clone().wrapPoint(i))),a&&a.reflow(e),r&&(r.reflow(e),a&&(s.label.position===E&&r.box.alignTo(a.box,c),r.reflow(r.box))),this.contentBox=e,this.targetBox=t,this.box=n||e)},createVisual:function(){si.fn.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},renderVisual:function(){var i=this,n=this.options,e=n.visual;n.visible&&e?(this.visual=e(t.extend(this.fields,{sender:this.getSender(),rect:this.targetBox.toRect(),options:{background:n.background,border:n.background,icon:n.icon,label:n.label,line:n.line,position:n.position,visible:n.visible},createVisual:function(){i.createVisual(),i.renderChildren();var t=i.visual;return delete i.visual,t}})),this.addVisual()):si.fn.renderVisual.call(this)},createLine:function(){var t=this.options.line;if(this.linePoints){var i=e.fromPoints(this.linePoints,{stroke:{color:t.color,width:t.width,dashType:t.dashType}});Z(i),this.visual.append(i)}},click:function(t,i){var n=this.eventArgs(i);t.trigger(D,n)||i.preventDefault()},over:function(t,i){var n=this.eventArgs(i);t.trigger(P,n)||i.preventDefault()},out:function(t,i){var n=this.eventArgs(i);t.trigger(C,n)},eventArgs:function(i){var n=this.options;return t.extend(this.fields,{element:Rt(i),text:wt(n.label)?n.label.text:"",visual:this.visual})}});Ot(yi,{icon:{visible:!0,type:w},label:{position:U,visible:!0,align:y,vAlign:y},line:{visible:!0},visible:!0,position:G,zIndex:2});var wi={format:function(t,i){return i},toString:function(t){return t},parseDate:function(t){return new Date(t)},firstDay:function(){return 0}},Mi=s.extend({});Mi.register=function(t){wi=t},Object.defineProperties&&Object.defineProperties(Mi,{implementation:{get:function(){return wi}}});var Si=/\{(\d+)(:[^\}]+)?\}/g,Ti=s.extend({init:function(t){this._intlService=t},auto:function(t){for(var i=arguments,n=[],e=arguments.length-1;e-- >0;)n[e]=i[e+1];var o=this.intl;return it(t)&&t.match(R)?o.format.apply(o,[t].concat(n)):o.toString(n[0],t)},localeAuto:function(t,i,n){var e=this.intl;return it(t)&&t.match(R)?t.replace(Si,(function(t,o,s){var r=i[parseInt(o,10)];return e.toString(r,s?s.substring(1):"",n)})):e.toString(i[0],t,n)}});Object.defineProperties&&Object.defineProperties(Ti.fn,{intl:{get:function(){return this._intlService||Mi.implementation},set:function(t){this._intlService=t}}});var ki,Ri=s.extend({init:function(t,i){void 0===i&&(i={}),this._intlService=i.intlService,this.sender=i.sender||t,this.format=new Ti(i.intlService),this.chart=t,this.rtl=Boolean(i.rtl)},notify:function(t,i){this.chart&&this.chart.trigger(t,i)},isPannable:function(t){var i=((this.chart||{}).options||{}).pannable;return i&&i.lock!==t}});Object.defineProperties&&Object.defineProperties(Ri.fn,{intl:{get:function(){return this._intlService||Mi.implementation},set:function(t){this._intlService=t,this.format.intl=t}}});var Li=s.extend({});Li.register=function(t){ki=t},Li.create=function(t,i){if(ki)return ki.create(t,i)};var Ui={ChartService:Ri,DomEventsBuilder:Li,FormatService:Ti,IntlService:Mi,TemplateService:lt};function Ii(t,i){var n=t.tickX,o=t.tickY,s=t.position,r=new e({stroke:{width:i.width,color:i.color}});return t.vertical?r.moveTo(n,s).lineTo(n+i.size,s):r.moveTo(s,o).lineTo(s,o+i.size),Z(r),r}function ji(t,i){var n=t.lineStart,o=t.lineEnd,s=t.position,r=new e({stroke:{width:i.width,color:i.color,dashType:i.dashType}});return t.vertical?r.moveTo(n,s).lineTo(o,s):r.moveTo(s,n).lineTo(s,o),Z(r),r}var Ai=oi.extend({init:function(t,i){void 0===i&&(i=new Ri),oi.fn.init.call(this,t),this.chartService=i,this.options.visible||(this.options=p({},this.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),this.options.minorTicks=p({},{color:this.options.line.color,width:this.options.line.width,visible:this.options.minorTickType!==B},this.options.minorTicks,{size:this.options.minorTickSize,align:this.options.minorTickType}),this.options.majorTicks=p({},{color:this.options.line.color,width:this.options.line.width,visible:this.options.majorTickType!==B},this.options.majorTicks,{size:this.options.majorTickSize,align:this.options.majorTickType}),this.initFields(),this.options._deferLabels||this.createLabels(),this.createTitle(),this.createNotes()},initFields:function(){},labelsRange:function(){return{min:this.options.labels.skip,max:this.labelsCount()}},normalizeLabelRotation:function(t){var i=t.rotation;nt(i)&&(t.alignRotation=i.align,t.rotation=i.angle)},createLabels:function(){var t=this,i=this.options,n=i.vertical?z:y,e=p({},i.labels,{align:n,zIndex:i.zIndex}),o=Math.max(1,e.step);if(this.clearLabels(),e.visible){this.normalizeLabelRotation(e),"auto"===e.rotation&&(e.rotation=0,i.autoRotateLabels=!0);for(var s=this.labelsRange(),r=s.min;r<s.max;r+=o){var a={index:r,count:s.max},l=t.createAxisLabel(r,e,a);l&&(t.append(l),t.labels.push(l))}}},clearLabels:function(){this.children=ut(this.children,(function(t){return!(t instanceof bi)})),this.labels=[]},clearTitle:function(){var t=this;this.title&&(this.children=ut(this.children,(function(i){return i!==t.title})),this.title=void 0)},clear:function(){this.clearLabels(),this.clearTitle()},lineBox:function(){var t=this.options,i=this.box,n=t.vertical,e=t.labels.mirror,o=e?i.x1:i.x2,s=e?i.y2:i.y1,r=t.line.width||0;return n?new Zt(o,i.y1,o,i.y2-r):new Zt(i.x1,s,i.x2-r,s)},createTitle:function(){var t=this.options,i=p({rotation:t.vertical?-90:0,text:"",zIndex:1,visualSize:!0},t.title);if(i.visible&&i.text){var n=new mi(i.text,i);this.append(n),this.title=n}},createNotes:function(){var t=this,i=this.options,n=i.notes,e=n.data||[];this.notes=[];for(var o=0;o<e.length;o++){var s=p({},n,e[o]);s.value=t.parseNoteValue(s.value);var r=new yi({value:s.value,text:s.label.text,dataItem:s},s,t.chartService);r.options.visible&&(wt(r.options.position)?i.vertical&&!ft(r.options.position,[I,z])?r.options.position=i.reverse?I:z:i.vertical||ft(r.options.position,[G,b])||(r.options.position=i.reverse?b:G):i.vertical?r.options.position=i.reverse?I:z:r.options.position=i.reverse?b:G,t.append(r),t.notes.push(r))}},parseNoteValue:function(t){return t},renderVisual:function(){oi.fn.renderVisual.call(this),this.createPlotBands()},createVisual:function(){oi.fn.createVisual.call(this),this.createBackground(),this.createLine()},gridLinesVisual:function(){var t=this._gridLines;return t||(t=this._gridLines=new o({zIndex:-2}),this.appendVisual(this._gridLines)),t},createTicks:function(t){var i=this.options,n=this.lineBox(),e=i.labels.mirror,o=i.majorTicks.visible?i.majorUnit:0,s={vertical:i.vertical};function r(i,o,r){var a=i.length,l=Math.max(1,o.step);if(o.visible)for(var h=o.skip;h<a;h+=l)wt(r)&&h%r==0||(s.tickX=e?n.x2:n.x2-o.size,s.tickY=e?n.y1-o.size:n.y1,s.position=i[h],t.append(Ii(s,o)))}r(this.getMajorTickPositions(),i.majorTicks),r(this.getMinorTickPositions(),i.minorTicks,o/i.minorUnit)},createLine:function(){var t=this.options,i=t.line,n=this.lineBox();if(i.width>0&&i.visible){var s=new e({stroke:{width:i.width,color:i.color,dashType:i.dashType}});s.moveTo(n.x1,n.y1).lineTo(n.x2,n.y2),t._alignLines&&Z(s);var r=this._lineGroup=new o;r.append(s),this.visual.append(r),this.createTicks(r)}},getActualTickSize:function(){var t=this.options,i=0;return t.majorTicks.visible&&t.minorTicks.visible?i=Math.max(t.majorTicks.size,t.minorTicks.size):t.majorTicks.visible?i=t.majorTicks.size:t.minorTicks.visible&&(i=t.minorTicks.size),i},createBackground:function(){var t=this.options,i=this.box,n=t.background;n&&(this._backgroundPath=e.fromRect(i.toRect(),{fill:{color:n},stroke:null}),this.visual.append(this._backgroundPath))},createPlotBands:function(){var t=this,i=this.options,n=i.plotBands||[],s=i.vertical,r=this.plotArea;if(0!==n.length){for(var a=this._plotbandGroup=new o({zIndex:-1}),h=ut(this.pane.axes,(function(i){return i.options.vertical!==t.options.vertical}))[0],u=0;u<n.length;u++){var c=n[u],f=void 0,p=void 0,d=c.label,v=void 0;if(s?(f=(h||r.axisX).lineBox(),p=t.getSlot(c.from,c.to,!0)):(f=t.getSlot(c.from,c.to,!0),p=(h||r.axisY).lineBox()),d&&(d.vAlign=d.position||I,v=t.createPlotBandLabel(d,c,new Zt(f.x1,p.y1,f.x2,p.y2))),0!==f.width()&&0!==p.height()){var m=new l([f.x1,p.y1],[f.width(),p.height()]),g=e.fromRect(m,{fill:{color:c.color,opacity:c.opacity},stroke:null});a.append(g),v&&a.append(v)}}this.appendVisual(a)}},createPlotBandLabel:function(t,i,n){if(!1===t.visible)return null;var e,o=t.text;if(wt(t)&&t.visible){var s=ht(t);s?o=s({text:o,item:i}):t.format&&(o=this.chartService.format.auto(t.format,o)),t.color||(t.color=this.options.labels.color)}return(e=new mi(o,t)).reflow(n),e.renderVisual(),e.visual},createGridLines:function(t){var i=this.options,n=i.minorGridLines,e=i.majorGridLines,o=i.minorUnit,s=i.vertical,r=t.options.line.visible,a=e.visible?i.majorUnit:0,l=t.lineBox(),h=l[s?"y1":"x1"],u={lineStart:l[s?"x1":"y1"],lineEnd:l[s?"x2":"y2"],vertical:s},c=[],f=this.gridLinesVisual();function p(t,i,n){var e=t.length,o=Math.max(1,i.step);if(i.visible)for(var s=i.skip;s<e;s+=o){var a=Bt(t[s]);ft(a,c)||s%n==0||r&&h===a||(u.position=a,f.append(ji(u,i)),c.push(a))}}return p(this.getMajorTickPositions(),e),p(this.getMinorTickPositions(),n,a/o),f.children},reflow:function(t){for(var i=this,n=i.options,e=i.labels,o=i.title,s=n.vertical,r=e.length,a=s?H:L,l=o?o.box[a]():0,h=this.getActualTickSize()+n.margin+l,u=((this.getRoot()||{}).box||t)[a](),c=0,f=0;f<r;f++){var p=e[f].box[a]();p+h<=u&&(c=Math.max(c,p))}this.box=s?new Zt(t.x1,t.y1,t.x1+c+h,t.y2):new Zt(t.x1,t.y1,t.x2,t.y1+c+h),this.arrangeTitle(),this.arrangeLabels(),this.arrangeNotes()},getLabelsTickPositions:function(){return this.getMajorTickPositions()},labelTickIndex:function(t){return t.index},arrangeLabels:function(){for(var t=this.options,i=this.labels,n=this.labelsBetweenTicks(),e=t.vertical,o=t.labels.mirror,s=this.getLabelsTickPositions(),r=0;r<i.length;r++){var a=i[r],l=this.labelTickIndex(a),h=e?a.box.height():a.box.width(),u=s[l],c=s[l+1],f=void 0,p=void 0;if(e){if(n)f=u+(c-u)/2-h/2;else f=u-h/2;p=f}else n?(f=u,p=c):p=(f=u-h/2)+h;this.positionLabel(a,o,f,p)}},positionLabel:function(t,i,n,e){void 0===e&&(e=n);var o,s=this.options,r=s.vertical,a=this.lineBox(),l=this.getActualTickSize()+s.margin;if(r){var h=a.x2;i?(h+=l,t.options.rotationOrigin=I):(h-=l+t.box.width(),t.options.rotationOrigin=z),o=t.box.move(h,n)}else{var u=a.y1;i?(u-=l+t.box.height(),t.options.rotationOrigin=b):(u+=l,t.options.rotationOrigin=G),o=new Zt(n,u,e,u+t.box.height())}t.reflow(o)},autoRotateLabelAngle:function(t,i){return t.width()<i?0:t.height()>i?-90:-45},autoRotateLabels:function(){if(!this.options.autoRotateLabels||this.options.vertical)return!1;for(var t=this.getMajorTickPositions(),i=this.labels,n=Math.min(i.length,t.length-1),e=0,o=0;o<n;o++){var s=Math.abs(t[o+1]-t[o]),r=i[o].box,a=this.autoRotateLabelAngle(r,s);if(0!==a&&(e=a),-90===e)break}if(0!==e){for(var l=0;l<i.length;l++)i[l].options.rotation=e,i[l].reflow(new Zt);return!0}},arrangeTitle:function(){var t=this.options,i=this.title,n=t.labels.mirror,e=t.vertical;i&&(e?(i.options.align=n?z:I,i.options.vAlign=i.options.position):(i.options.align=i.options.position,i.options.vAlign=n?G:b),i.reflow(this.box))},arrangeNotes:function(){for(var t=this,i=0;i<this.notes.length;i++){var n=t.notes[i],e=n.options.value,o=void 0;wt(e)?(t.shouldRenderNote(e)?n.show():n.hide(),o=t.noteSlot(e)):n.hide(),n.reflow(o||t.lineBox())}},noteSlot:function(t){return this.getSlot(t)},alignTo:function(t){var i=t.lineBox(),n=this.options.vertical,e=n?X:Y;this.box.snapTo(i,e),n?this.box.shrink(0,this.lineBox().height()-i.height()):this.box.shrink(this.lineBox().width()-i.width(),0),this.box[e+1]-=this.lineBox()[e+1]-i[e+1],this.box[e+2]-=this.lineBox()[e+2]-i[e+2]},axisLabelText:function(i,n,e){var o,s=this,r=ht(n),a=function(){return n.format?s.chartService.format.localeAuto(n.format,[i],n.culture):i};r?o=r(t.extend({},e,{get text(){return a()},value:i,format:n.format,culture:n.culture})):o=a();return o},slot:function(t,i,n){var e=this.getSlot(t,i,n);if(e)return e.toRect()},contentBox:function(){var t=this.box.clone(),i=this.labels;if(i.length){var n=this.options.vertical?X:Y;if(this.chartService.isPannable(n)){var e=this.maxLabelOffset();t[n+1]-=e.start,t[n+2]+=e.end}else{i[0].options.visible&&t.wrap(i[0].box);var o=i[i.length-1];o.options.visible&&t.wrap(o.box)}}return t},maxLabelOffset:function(){for(var t=this.options,i=t.vertical,n=t.reverse,e=this.labelsBetweenTicks(),o=this.getLabelsTickPositions(),s=i?X:Y,r=this.labels,a=n?1:0,l=n?0:1,h=0,u=0,c=0;c<r.length;c++){var f=r[c],p=this.labelTickIndex(f),d=void 0,v=void 0;e?(d=o[p+a],v=o[p+l]):d=v=o[p],h=Math.max(h,d-f.box[s+1]),u=Math.max(u,f.box[s+2]-v)}return{start:h,end:u}},limitRange:function(t,i,n,e,o){var s=this.options;if(t<n&&o<0&&(!wt(s.min)||s.min<=n)||e<i&&o>0&&(!wt(s.max)||e<=s.max))return null;if(i<n&&o>0||e<t&&o<0)return{min:t,max:i};var r=i-t,a=t,l=i;return t<n&&o<0?(a=It(t,n,e),l=It(t+r,n+r,e)):i>e&&o>0&&(l=It(i,n,e),a=It(i-r,n,e-r)),{min:a,max:l}},valueRange:function(){return{min:this.seriesMin,max:this.seriesMax}},lineDir:function(){var t=this.options;return(t.vertical?-1:1)*(t.reverse?-1:1)},lineInfo:function(){var t=this.options.vertical,i=this.lineBox(),n=t?i.height():i.width(),e=t?X:Y,o=this.lineDir(),s=e+(1===o?1:2).toString();return{axis:e,axisOrigin:s,axisDir:o,lineBox:i,lineSize:n,lineStart:i[s]}},pointOffset:function(t){var i=this.lineInfo(),n=i.axis,e=i.axisDir,o=i.axisOrigin,s=i.lineBox,r=i.lineSize;return(e>0?t[n]-s[o]:s[o]-t[n])/r},scaleToDelta:function(t,i){var n=It(t,-.999,.999);return n>0?i*Math.min(1,n):i-i/(1+n)},labelsBetweenTicks:function(){return!this.options.justified},prepareUserOptions:function(){}});Ot(Ai,{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:x,visible:!0},title:{visible:!0,position:y},majorTicks:{align:E,size:4,skip:0,step:1},minorTicks:{align:E,size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:E,minorTickType:B,majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:x,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1});var Bi="milliseconds",Di="seconds",Pi="minutes",Ci="hours",Oi="days",Ei="weeks",zi="months",_i="years",Vi=1e3,Gi=60*Vi,Fi=60*Gi,Ni=24*Fi,Hi=7*Ni,Yi=31*Ni,Xi=365*Ni,qi={years:Xi,months:Yi,weeks:Hi,days:Ni,hours:Fi,minutes:Gi,seconds:Vi,milliseconds:1};function Wi(t,i){return t.getTime()-i-(t.getTimezoneOffset()-i.getTimezoneOffset())*Gi}function Ki(t,i){return new Date(t.getTime()+i)}function Qi(t){var i;return t instanceof Date?i=t:t&&(i=new Date(t)),i}function Ji(t,i){void 0===i&&(i=0);var n=0,e=t.getDay();if(!isNaN(e))for(;e!==i;)0===e?e=6:e--,n++;return Ki(t,-n*Ni)}function Zi(t,i){return 0===i&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function $i(t,i,n,e){var o=t;if(t){var s=Qi(t),r=s.getHours();n===_i?Zi(o=new Date(s.getFullYear()+i,0,1),0):n===zi?Zi(o=new Date(s.getFullYear(),s.getMonth()+i,1),r):n===Ei?Zi(o=$i(Ji(s,e),7*i,Oi),r):n===Oi?Zi(o=new Date(s.getFullYear(),s.getMonth(),s.getDate()+i),r):n===Ci?o=function(t,i){var n=new Date(t);n.setMinutes(0,0,0);var e=(t.getTimezoneOffset()-n.getTimezoneOffset())*Gi;return Ki(n,e+i*Fi)}(s,i):n===Pi?(o=Ki(s,i*Gi)).getSeconds()>0&&o.setSeconds(0):n===Di?o=Ki(s,i*Vi):n===Bi&&(o=Ki(s,i)),n!==Bi&&o.getMilliseconds()>0&&o.setMilliseconds(0)}return o}function tn(t,i,n){return $i(Qi(t),0,i,n)}function nn(t,i,n){var e=Qi(t);return e&&tn(e,i,n).getTime()===e.getTime()?e:$i(e,1,i,n)}function en(t,i){return t&&i?t.getTime()-i.getTime():-1}function on(t,i){return t.getTime()-i}function sn(t){if(W(t)){for(var i=[],n=0;n<t.length;n++)i.push(sn(t[n]));return i}if(t)return Qi(t).getTime()}function rn(t,i){return t&&i?sn(t)===sn(i):t===i}function an(t,i,n){return Wi(t,i)/qi[n]}function ln(t,i,n,e){var o=Qi(t),s=Qi(i);return(n===zi?o.getMonth()-s.getMonth()+12*(o.getFullYear()-s.getFullYear())+an(o,new Date(o.getFullYear(),o.getMonth()),Oi)/new Date(o.getFullYear(),o.getMonth()+1,0).getDate():n===_i?o.getFullYear()-s.getFullYear()+ln(o,new Date(o.getFullYear(),0),zi,1)/12:n===Oi||n===Ei?an(o,s,n):on(o,i)/qi[n])/e}function hn(t,i,n){return n===_i?i.getFullYear()-t.getFullYear():n===zi?12*hn(t,i,_i)+i.getMonth()-t.getMonth():n===Oi?Math.floor(on(i,t)/Ni):Math.floor(on(i,t)/qi[n])}function un(t,i){return it(i)&&t.parseDate(i)||Qi(i)}function cn(t,i){if(W(i)){for(var n=[],e=0;e<i.length;e++)n.push(un(t,i[e]));return n}return un(t,i)}function fn(t,i){return tt(t.weekStartDay)?t.weekStartDay:i&&i.firstDay?i.firstDay():0}var pn=Ai.extend({initFields:function(){this._ticks={}},categoriesHash:function(){return""},clone:function(){var i=new pn(t.extend({},this.options,{categories:this.options.srcCategories}),this.chartService);return i.createLabels(),i},initUserOptions:function(t){var i=t.categories||[],n=wt(t.min),e=wt(t.max);if(t.srcCategories=t.categories=i,(n||e)&&i.length){var o,s=n?Math.floor(t.min):0;o=e?t.justified?Math.floor(t.max)+1:Math.ceil(t.max):i.length,t.categories=t.categories.slice(s,o)}return t},rangeIndices:function(){var t=this.options,i=t.categories.length||1;return{min:tt(t.min)?t.min%1:0,max:tt(t.max)&&t.max%1!=0&&t.max<this.totalRange().max?i-(1-t.max%1):i-(t.justified?1:0)}},range:function(){var t=this.options;return{min:tt(t.min)?t.min:0,max:tt(t.max)?t.max:this.totalRange().max}},roundedRange:function(){return this.range()},totalRange:function(){var t=this.options;return{min:0,max:Math.max(this._seriesMax||0,t.srcCategories.length)-(t.justified?1:0)}},scaleOptions:function(){var t=this.rangeIndices(),i=t.min,n=t.max,e=this.lineBox();return{scale:(this.options.vertical?e.height():e.width())/(n-i||1)*(this.options.reverse?-1:1),box:e,min:i,max:n}},arrangeLabels:function(){Ai.fn.arrangeLabels.call(this),this.hideOutOfRangeLabels()},hideOutOfRangeLabels:function(){var t=this.box,i=this.labels;if(i.length>0){var n=this.options.vertical?X:Y,e=t[n+1],o=t[n+2],s=i[0],r=Ut(i);(s.box[n+1]>o||s.box[n+2]<e)&&(s.options.visible=!1),(r.box[n+1]>o||r.box[n+2]<e)&&(r.options.visible=!1)}},getMajorTickPositions:function(){return this.getTicks().majorTicks},getMinorTickPositions:function(){return this.getTicks().minorTicks},getLabelsTickPositions:function(){return this.getTicks().labelTicks},tickIndices:function(t){for(var i=this.rangeIndices(),n=i.min,e=i.max,o=Math.ceil(e),s=Math.floor(n),r=[];s<=o;)r.push(s),s+=t;return r},getTickPositions:function(t){for(var i=this.options,n=i.vertical,e=i.reverse,o=this.scaleOptions(),s=o.scale,r=o.box,a=o.min,l=r[(n?X:Y)+(e?2:1)],h=this.tickIndices(t),u=[],c=0;c<h.length;c++)u.push(l+Bt(s*(h[c]-a),3));return u},getTicks:function(){var t=this.options,i=this._ticks,n=this.rangeIndices(),e=this.lineBox(),o=e.getHash()+n.min+","+n.max+t.reverse+t.justified;if(i._hash!==o){var s=t.minorTicks.visible||t.minorGridLines.visible;i._hash=o,i.labelTicks=this.getTickPositions(1),i.majorTicks=this.filterOutOfRangePositions(i.labelTicks,e),i.minorTicks=s?this.filterOutOfRangePositions(this.getTickPositions(.5),e):[]}return i},filterOutOfRangePositions:function(t,i){if(!t.length)return t;for(var n=this.options.vertical?X:Y,e=function(t){return i[n+1]<=t&&t<=i[n+2]},o=t.length-1,s=0;!e(t[s])&&s<=o;)s++;for(var r=o;!e(t[r])&&r>=0;)r--;return t.slice(s,r+1)},lineInfo:function(){var t=this.options,i=t.vertical,n=t.reverse,e=this.lineBox(),o=i?e.height():e.width(),s=i?X:Y,r=n?-1:1,a=s+(1===r?1:2).toString();return{axis:s,axisOrigin:a,axisDir:r,lineBox:e,lineSize:o,lineStart:e[a]}},lineDir:function(){return this.options.reverse?-1:1},getSlot:function(t,i,n){var e=this.options,o=e.reverse,s=e.justified,r=this.scaleOptions(),a=r.scale,l=r.box,h=r.min,u=this.lineInfo(),c=u.axis,f=u.lineStart,p=l.clone(),d=!wt(i),v=Pt(t,0),m=Pt(i,v);m=Math.max(m-1,v);var g=f+(v-h)*a,x=f+((m=Math.max(v,m))+1-h)*a;return d&&s&&(x=g),n&&(g=It(g,l[c+1],l[c+2]),x=It(x,l[c+1],l[c+2])),p[c+1]=o?x:g,p[c+2]=o?g:x,p},limitSlot:function(t){var i=this.options.vertical?X:Y,n=this.lineBox(),e=t.clone();return e[i+1]=It(t[i+1],n[i+1],n[i+2]),e[i+2]=It(t[i+2],n[i+1],n[i+2]),e},slot:function(t,i,n){var e=Math.floor(this.options.min||0),o=t,s=i;return"string"==typeof o?o=this.categoryIndex(o):tt(o)&&(o-=e),"string"==typeof s?s=this.categoryIndex(s):tt(s)&&(s-=e),Ai.fn.slot.call(this,o,s,n)},pointCategoryIndex:function(t){var i=this.options,n=i.reverse,e=i.justified,o=i.vertical?X:Y,s=this.scaleOptions(),r=s.scale,a=s.box,l=s.min,h=s.max,u=n?h:l,c=a[o+1],f=a[o+2],p=t[o];if(p<c||p>f)return null;var d=u+(p-c)/r,v=d%1;return e?d=Math.round(d):0===v&&d>0&&d--,Math.floor(d)},getCategory:function(t){var i=this.pointCategoryIndex(t);return null===i?null:this.options.categories[i]},categoryIndex:function(t){return this.totalIndex(t)-Math.floor(this.options.min||0)},categoryAt:function(t,i){var n=this.options;return(i?n.srcCategories:n.categories)[t]},categoriesCount:function(){return(this.options.categories||[]).length},translateRange:function(t){var i=this.options,n=this.lineBox(),e=i.vertical?n.height():n.width(),o=i.categories.length,s=Bt(t/(e/o),k);return{min:s,max:o+s}},scaleRange:function(t,i){var n=Math.abs(this.pointOffset(i)),e=this.limitedRangeIndices(),o=e.max-e.min,s=this.scaleToDelta(t,o),r=n*s,a=(1-n)*s,l=e.min+r,h=e.max-a;return h-l<.1&&(h=l+.1),{min:l,max:h}},zoomRange:function(t,i){var n=this.totalRange(),e=n.min,o=n.max,s=this.scaleRange(t,i);return{min:It(s.min,e,o),max:It(s.max,e,o)}},labelsCount:function(){var t=this.labelsRange();return t.max-t.min},labelsRange:function(){var t=this.options,i=t.justified,n=t.labels,e=this.limitedRangeIndices(!0),o=e.min,s=e.max,r=Math.floor(o);return i?(o=Math.ceil(o),s=Math.floor(s)):(o=Math.floor(o),s=Math.ceil(s)),{min:(o>n.skip?n.skip+n.step*Math.ceil((o-n.skip)/n.step):n.skip)-r,max:(t.categories.length?s+(i?1:0):0)-r}},createAxisLabel:function(t,i,n){var e=this.options,o=e.dataItems?e.dataItems[t]:null,s=Pt(e.categories[t],"");n.dataItem=o;var r=this.axisLabelText(s,i,n);return new bi(s,r,t,o,i)},shouldRenderNote:function(t){var i=this.limitedRangeIndices();return Math.floor(i.min)<=t&&t<=Math.ceil(i.max)},noteSlot:function(t){var i=this.options,n=t-Math.floor(i.min||0);return this.getSlot(n)},arrangeNotes:function(){Ai.fn.arrangeNotes.call(this),this.hideOutOfRangeNotes()},hideOutOfRangeNotes:function(){var t=this.notes,i=this.box;if(t&&t.length)for(var n=this.options.vertical?X:Y,e=i[n+1],o=i[n+2],s=0;s<t.length;s++){var r=t[s];r.box&&(o<r.box[n+1]||r.box[n+2]<e)&&r.hide()}},pan:function(t){var i=this.limitedRangeIndices(!0),n=this.scaleOptions().scale,e=Bt(t/n,k),o=this.totalRange(),s=i.min+e,r=i.max+e;return this.limitRange(s,r,0,o.max,e)},pointsRange:function(t,i){var n=this.options,e=n.reverse,o=n.vertical?X:Y,s=this.limitedRangeIndices(!0),r=this.scaleOptions(),a=r.scale,l=r.box[o+(e?2:1)],h=t[o]-l,u=i[o]-l,c=s.min+h/a,f=s.min+u/a,p=Math.min(c,f),d=Math.max(c,f);if(d-p>=.01)return{min:p,max:d}},valueRange:function(){return this.range()},totalIndex:function(t){var i=this.options,n=this._categoriesMap?this._categoriesMap.get(t):function(t,i){if(t instanceof Date){for(var n=i.length,e=0;e<n;e++)if(rn(i[e],t))return e;return-1}return i.indexOf(t)}(t,i.srcCategories);return n},currentRangeIndices:function(){var t=this.options,i=0;return tt(t.min)&&(i=Math.floor(t.min)),{min:i,max:tt(t.max)?t.justified?Math.floor(t.max):Math.ceil(t.max)-1:this.totalCount()-1}},limitedRangeIndices:function(t){var i,n=this.options,e=tt(n.min)?n.min:0;if(i=tt(n.max)?n.max:tt(n.min)?e+n.categories.length:this.totalRange().max||1,t){var o=this.totalRange();e=It(e,0,o.max),i=It(i,0,o.max)}return{min:e,max:i}},totalRangeIndices:function(){return{min:0,max:this.totalRange().max||1}},mapCategories:function(){if(!this._categoriesMap)for(var t=this._categoriesMap=new ct,i=this.options.srcCategories,n=0;n<i.length;n++)t.set(i[n],n)},totalCount:function(){return Math.max(this.options.srcCategories.length,this._seriesMax||0)}});Ot(pn,{type:"category",vertical:!1,majorGridLines:{visible:!1,width:1,color:x},labels:{zIndex:1},justified:!1,_deferLabels:!0});var dn=3e5,vn={milliseconds:"HH:mm:ss.fff",seconds:"HH:mm:ss",minutes:"HH:mm",hours:"HH:mm",days:"M/d",weeks:"M/d",months:"MMM 'yy",years:"yyyy"},mn=.2,gn=[Bi,Di,Pi,Ci,Oi,Ei,zi,_i],xn="fit";function bn(t,i){i&&(t._range=void 0);var n=t._range;return n||((n=t._range=Nt(t)).min=Qi(n.min),n.max=Qi(n.max)),n}var yn=s.extend({init:function(t){this.options=t},displayIndices:function(){return{min:0,max:1}},displayRange:function(){return{}},total:function(){return{}},valueRange:function(){return{}},valueIndex:function(){return-1},values:function(){return[]},totalIndex:function(){return-1},valuesCount:function(){return 0},totalCount:function(){return 0},dateAt:function(){return null}}),wn=s.extend({init:function(t,i,n){this.options=n,n.baseUnitStep=n.baseUnitStep||1;var e=n.roundToBaseUnit,o=n.justified;this.start=$i(t,0,n.baseUnit,n.weekStartDay);var s=this.roundToTotalStep(i),r=!o&&rn(i,s)&&!n.justifyEnd;this.end=this.roundToTotalStep(i,!o,r?1:0);var a=n.min||t;this.valueStart=this.roundToTotalStep(a),this.displayStart=e?this.valueStart:a;var l=n.max;if(l){var h=!o&&rn(l,this.roundToTotalStep(l))?-1:0;this.valueEnd=this.roundToTotalStep(l,!1,h),this.displayEnd=e?this.roundToTotalStep(l,!o):n.max}else this.valueEnd=s,this.displayEnd=e||r?this.end:i;this.valueEnd<this.valueStart&&(this.valueEnd=this.valueStart),this.displayEnd<=this.displayStart&&(this.displayEnd=this.roundToTotalStep(this.displayStart,!1,1))},displayRange:function(){return{min:this.displayStart,max:this.displayEnd}},displayIndices:function(){if(!this._indices){var t=this.options,i=t.baseUnit,n=t.baseUnitStep,e=ln(this.displayStart,this.valueStart,i,n),o=ln(this.displayEnd,this.valueStart,i,n);this._indices={min:e,max:o}}return this._indices},total:function(){return{min:this.start,max:this.end}},totalCount:function(){return this.totalIndex(this.end)+(this.options.justified?1:0)},valueRange:function(){return{min:this.valueStart,max:this.valueEnd}},valueIndex:function(t){var i=this.options;return Math.floor(ln(t,this.valueStart,i.baseUnit,i.baseUnitStep))},totalIndex:function(t){var i=this.options;return Math.floor(ln(t,this.start,i.baseUnit,i.baseUnitStep))},dateIndex:function(t){var i=this.options;return ln(t,this.valueStart,i.baseUnit,i.baseUnitStep)},valuesCount:function(){return this.valueIndex(this.valueEnd)+1},values:function(){var t=this._values;if(!t){var i=this.options,n=this.valueRange();this._values=t=[];for(var e=n.min;e<=n.max;)t.push(e),e=$i(e,i.baseUnitStep,i.baseUnit,i.weekStartDay)}return t},dateAt:function(t,i){var n=this.options;return $i(i?this.start:this.valueStart,n.baseUnitStep*t,n.baseUnit,n.weekStartDay)},roundToTotalStep:function(t,i,n){var e=this.options,o=e.baseUnit,s=e.baseUnitStep,r=e.weekStartDay,a=this.start,l=ln(t,a,o,s),h=i?Math.ceil(l):Math.floor(l);return n&&(h+=n),$i(a,h*s,o,r)}});function Mn(t,i,n){for(var e,o,s,r=bn(t.categories),a=(t.max||r.max)-(t.min||r.min),l=t.autoBaseUnitSteps,h=t.maxDateGroups,u=t.baseUnit===xn,c=i?gn.indexOf(i):0,f=u?gn[c++]:t.baseUnit,p=a/qi[f],d=p;!o||p>=h;){e=e||l[f].slice(0);do{s=e.shift()}while(s&&i===f&&s<n);if(s)p=d/(o=s);else{if(f===Ut(gn)){o=Math.ceil(d/h);break}if(!u){p>h&&(o=Math.ceil(d/h));break}f=gn[c++]||Ut(gn),d=a/qi[f],e=null}}t.baseUnitStep=o,t.baseUnit=f}function Sn(t){var i=(t.baseUnit||"").toLowerCase();return i!==xn&&!ft(i,gn)&&function(t){for(var i,n,e=t.categories,o=wt(e)?e.length:0,s=j,r=0;r<o;r++){var a=e[r];if(a&&i){var l=Wi(a,i);l>0&&(n=(s=Math.min(s,l))>=Xi?_i:s>=Yi-3*Ni?zi:s>=Hi?Ei:s>=Ni?Oi:s>=Fi?Ci:s>=Gi?Pi:Di)}i=a}t.baseUnit=n||Oi}(t),i!==xn&&"auto"!==t.baseUnitStep||Mn(t),t}var Tn=pn.extend({clone:function(){var i=new Tn(t.extend({},this.options),this.chartService);return i.createLabels(),i},categoriesHash:function(){var t=this.dataRange.total().min;return this.options.baseUnit+this.options.baseUnitStep+t},initUserOptions:function(t){return t},initFields:function(){pn.fn.initFields.call(this);var i=this.chartService,n=i.intl,e=this.options,o=e.categories||[];if(o._parsed||((o=cn(n,o))._parsed=!0),e=p({roundToBaseUnit:!0},e,{categories:o,min:un(n,e.min),max:un(n,e.max),weekStartDay:fn(e,n)}),i.panning&&i.isPannable(e.vertical?X:Y)&&(e.roundToBaseUnit=!1),e.userSetBaseUnit=e.userSetBaseUnit||e.baseUnit,e.userSetBaseUnitStep=e.userSetBaseUnitStep||e.baseUnitStep,this.options=e,e.srcCategories=o,o.length>0){var s=bn(o,!0),r=e.maxDivisions,a=Sn(e),l=e._forecast;if(l&&(l.before>0&&(s.min=$i(s.min,-l.before,a.baseUnit,a.weekStartDay)),l.after>0&&(s.max=$i(s.max,l.after,a.baseUnit,a.weekStartDay))),this.dataRange=new wn(s.min,s.max,a),r){var h=this.dataRange.displayRange(),u=t.extend({},e,{justified:!0,roundToBaseUnit:!1,baseUnit:"fit",min:h.min,max:h.max,maxDateGroups:r}),c=this.dataRange.options;Mn(u,c.baseUnit,c.baseUnitStep),this.divisionRange=new wn(s.min,s.max,u)}else this.divisionRange=this.dataRange}else e.baseUnit=e.baseUnit||Oi,this.dataRange=this.divisionRange=new yn(e);this.rangeLabels=[]},tickIndices:function(t){var i=this.dataRange,n=this.divisionRange,e=n.valuesCount();if(!this.options.maxDivisions||!e)return pn.fn.tickIndices.call(this,t);var o=[],s=n.values(),r=0;this.options.justified||(s=s.concat(n.dateAt(e)),r=.5);for(var a=0;a<s.length;a++)if(o.push(i.dateIndex(s[a])+r),1!==t&&a>=1){var l=o.length-1;o.splice(a,0,o[l-1]+(o[l]-o[l-1])*t)}return o},shouldRenderNote:function(t){var i=this.range(),n=this.options.categories||[];return en(t,i.min)>=0&&en(t,i.max)<=0&&n.length},parseNoteValue:function(t){return un(this.chartService.intl,t)},noteSlot:function(t){return this.getSlot(t)},translateRange:function(t){var i=this.options,n=i.baseUnit,e=i.weekStartDay,o=i.vertical,s=this.lineBox(),r=o?s.height():s.width(),a=this.range(),l=r/(a.max-a.min),h=Bt(t/l,k);if(a.min&&a.max){var u=Ki(i.min||a.min,h),c=Ki(i.max||a.max,h);a={min:$i(u,0,n,e),max:$i(c,0,n,e)}}return a},labelsRange:function(){return{min:this.options.labels.skip,max:this.divisionRange.valuesCount()}},pan:function(t){if(this.isEmpty())return null;var i=this.options,n=this.lineBox(),e=i.vertical?n.height():n.width(),o=this.dataRange.displayRange(),s=o.min,r=o.max,a=this.dataRange.total(),l=Bt(t/(e/(r-s)),k)*(i.reverse?-1:1),h=Ki(s,l),u=Ki(r,l),c=this.limitRange(sn(h),sn(u),sn(a.min),sn(a.max),l);return c?(c.min=Qi(c.min),c.max=Qi(c.max),c.baseUnit=i.baseUnit,c.baseUnitStep=i.baseUnitStep||1,c.userSetBaseUnit=i.userSetBaseUnit,c.userSetBaseUnitStep=i.userSetBaseUnitStep,c):void 0},pointsRange:function(t,i){if(this.isEmpty())return null;var n=pn.fn.pointsRange.call(this,t,i),e=this.dataRange.displayRange(),o=this.dataRange.displayIndices(),s=on(e.max,e.min)/(o.max-o.min),r=this.options;return{min:Ki(e.min,n.min*s),max:Ki(e.min,n.max*s),baseUnit:r.userSetBaseUnit||r.baseUnit,baseUnitStep:r.userSetBaseUnitStep||r.baseUnitStep}},scaleRange:function(t,i){if(this.isEmpty())return{};var n=this.options,e=n.userSetBaseUnit===xn,o=this.dataRange.total(),s=this.dataRange.displayRange(),r=s.min,a=s.max,l=Math.abs(this.pointOffset(i)),h=a-r,u=this.scaleToDelta(t,h),c=Math.round(l*u),f=Math.round((1-l)*u),p=this.dataRange.options.baseUnit,d=new Date(r.getTime()+c),v=new Date(a.getTime()-f);if(e){var m,g,x=n.autoBaseUnitSteps,b=n.maxDateGroups,y=Ut(x[p])*b*qi[p],w=on(a,r),M=on(v,d),S=gn.indexOf(p);if(M<qi[p]&&p!==Bi)p=gn[S-1],d=Ki(r,g=(w-(b-1)*(m=Ut(x[p]))*qi[p])/2),v=Ki(a,-g);else if(M>y&&p!==_i){var T=0;do{S++,p=gn[S],T=0,g=2*qi[p];do{m=x[p][T],T++}while(T<x[p].length&&g*m<w)}while(p!==_i&&g*m<w);(g=(g*m-w)/2)>0&&(d=Ki(r,-g),v=Ki(a,g),d=Ki(d,It(v,o.min,o.max)-v),v=Ki(v,It(d,o.min,o.max)-d))}}return d&&v&&on(v,d)>0?{min:d,max:v,baseUnit:n.userSetBaseUnit||n.baseUnit,baseUnitStep:n.userSetBaseUnitStep||n.baseUnitStep}:void 0},zoomRange:function(t,i){var n=this.dataRange.total(),e=this.scaleRange(t,i);return e&&(e.min<n.min&&(e.min=n.min),e.max>n.max&&(e.max=n.max)),e},range:function(){return this.dataRange.displayRange()},createLabels:function(){pn.fn.createLabels.call(this),this.createRangeLabels()},clearLabels:function(){pn.fn.clearLabels.call(this),this.rangeLabels=[]},arrangeLabels:function(){this.arrangeRangeLabels(),pn.fn.arrangeLabels.call(this)},arrangeRangeLabels:function(){var t=this.options,i=this.rangeLabels;if(0!==i.length){var n=this.lineBox(),e=t.vertical,o=t.rangeLabels.mirror||t.labels.mirror,s=i[0];if(s){var r=e?n.y1-s.box.height()/2:n.x1;this.positionLabel(s,o,r)}var a=i[1];if(a){var l=e?n.y2-a.box.height()/2:n.x2;this.positionLabel(a,o,l)}}},autoRotateLabels:function(){pn.fn.autoRotateLabels.call(this),this.autoRotateRangeLabels()},hideOutOfRangeLabels:function(){pn.fn.hideOutOfRangeLabels.call(this),this.hideOverlappingLabels()},hideOverlappingLabels:function(){var t=this.rangeLabels,i=this.labels;if(0!==t.length){var n=t[0];if(n&&n.options.visible)for(var e=0;e<i.length;e++){if(!r(n,i[e]))break}var o=t[1];if(o&&o.options.visible)for(var s=i.length-1;s>0;--s){if(!r(o,i[s]))break}}function r(t,i){return!(i.options.visible&&!i.box.overlaps(t.box))&&(i.options.visible=!1,!0)}},contentBox:function(){for(var t=pn.fn.contentBox.call(this),i=this.rangeLabels,n=0;n<i.length;n++){var e=i[n];e.options.visible&&t.wrap(e.box)}return t},createAxisLabel:function(t,i,n){void 0===n&&(n={});var e=this.options,o=e.dataItems&&!e.maxDivisions?e.dataItems[t]:null,s=this.divisionRange.dateAt(t),r=i.dateFormats[this.divisionRange.options.baseUnit];i.format=i.format||r,n.dataItem=o;var a=this.axisLabelText(s,i,n);if(a)return new bi(s,a,t,o,i)},createRangeLabels:function(){var i=this,n=this.divisionRange,e=n.displayStart,o=n.displayEnd,s=this.options,r=t.extend({},s.labels,s.rangeLabels,{align:y,zIndex:s.zIndex});if(!0===r.visible){this.normalizeLabelRotation(r),r.alignRotation=y,"auto"===r.rotation&&(r.rotation=0,s.autoRotateRangeLabels=!0);var a=r.dateFormats[this.divisionRange.options.baseUnit];r.format=r.format||a;var l=function(t,n,e){if(e){var o=new bi(n,e,t,null,r);i.append(o),i.rangeLabels.push(o)}};l(0,e,this.axisLabelText(e,r,{index:0,count:2})),l(1,o,this.axisLabelText(o,r,{index:1,count:2}))}},autoRotateRangeLabels:function(){var t=this,i=this.rangeLabels;if(this.options.autoRotateRangeLabels&&!this.options.vertical&&2===i.length){var n=function(i,n,e){var o=2*Math.abs(n[e+1]-n[e]),s=t.autoRotateLabelAngle(i.box,o);0!==s&&(i.options.rotation=s,i.reflow(new Zt))},e=this.getMajorTickPositions();n(i[0],e,0),n(i[1],e,e.length-2)}},categoryIndex:function(t){return this.dataRange.valueIndex(t)},slot:function(t,i,n){var e=this.dataRange,o=t,s=i;o instanceof Date&&(o=e.dateIndex(o)),s instanceof Date&&(s=e.dateIndex(s));var r=this.getSlot(o,s,n);if(r)return r.toRect()},getSlot:function(t,i,n){var e=t,o=i;return typeof e===O&&(e=this.categoryIndex(e)),typeof o===O&&(o=this.categoryIndex(o)),pn.fn.getSlot.call(this,e,o,n)},valueRange:function(){var t=bn(this.options.srcCategories);return{min:Qi(t.min),max:Qi(t.max)}},categoryAt:function(t,i){return this.dataRange.dateAt(t,i)},categoriesCount:function(){return this.dataRange.valuesCount()},rangeIndices:function(){return this.dataRange.displayIndices()},labelsBetweenTicks:function(){return!this.divisionRange.options.justified},prepareUserOptions:function(){this.isEmpty()||(this.options.categories=this.dataRange.values())},getCategory:function(t){var i=this.pointCategoryIndex(t);return null===i?null:this.dataRange.dateAt(i)},totalIndex:function(t){return this.dataRange.totalIndex(t)},currentRangeIndices:function(){var t=this.dataRange.valueRange();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},totalRange:function(){return this.dataRange.total()},totalRangeIndices:function(){var t=this.dataRange.total();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},totalCount:function(){return this.dataRange.totalCount()},isEmpty:function(){return!this.options.srcCategories.length},roundedRange:function(){if(!1!==this.options.roundToBaseUnit||this.isEmpty())return this.range();var i=this.options,n=bn(i.srcCategories);return new wn(n.min,n.max,t.extend({},i,{justified:!1,roundToBaseUnit:!0,justifyEnd:!1})).displayRange()}});function kn(t,i){return Bt(Math.floor(t/i)*i,k)}function Rn(t,i){return Bt(Math.ceil(t/i)*i,k)}function Ln(t){return Math.max(Math.min(t,dn),-3e5)}Ot(Tn,{type:S,labels:{dateFormats:vn},rangeLabels:{visible:!1},autoBaseUnitSteps:{milliseconds:[1,10,100],seconds:[1,2,5,15,30],minutes:[1,2,5,15,30],hours:[1,2,3],days:[1,2,3],weeks:[1,2],months:[1,2,3,6],years:[1,2,3,5,10,25,50]},maxDateGroups:10});var Un=Math.pow(10,1-k),In=Ai.extend({init:function(i,n,e,o){Ai.fn.init.call(this,t.extend({},e,{seriesMin:i,seriesMax:n}),o)},initUserOptions:function(t){var i=function(t,i,n){var e=n.narrowRange,o=function(t,i,n){if(!t&&!i)return 0;var e;if(t>=0&&i>=0){var o=t===i?0:t;if(!1===n||!n&&(i-o)/i>mn)return 0;e=Math.max(0,o-(i-o)/2)}else e=t;return e}(t,i,e),s=function(t,i,n){if(!t&&!i)return 1;var e;if(t<=0&&i<=0){var o=t===i?0:i,s=Math.abs((o-t)/o);if(!1===n||!n&&s>mn)return 0;e=Math.min(0,o-(t-o)/2)}else e=i;return e}(t,i,e),r=Qt(o,s),a={majorUnit:r};!1!==n.roundToMajorUnit&&(o<0&&jn(o,r,1/3)&&(o-=r),s>0&&jn(s,r,1/3)&&(s+=r));return a.min=kn(o,r),a.max=Rn(s,r),a}(t.seriesMin,t.seriesMax,t);return this.totalOptions=function(t,i){return{min:wt(i.min)?Math.min(t.min,i.min):t.min,max:wt(i.max)?Math.max(t.max,i.max):t.max,majorUnit:t.majorUnit}}(i,t),function(t,i){var n,e,o=i;if(i){!function(t,i){for(var n=0;n<i.length;n++){var e=i[n];null===t[e]&&(t[e]=void 0)}}(i,["min","max"]),n=wt(i.min),e=wt(i.max);var s=n||e;s&&i.min===i.max&&(i.min>0?i.min=0:i.max=1),i.majorUnit?(t.min=kn(t.min,i.majorUnit),t.max=Rn(t.max,i.majorUnit)):s&&(o=p(t,i),t.majorUnit=Qt(o.min,o.max))}t.minorUnit=(o.majorUnit||t.majorUnit)/5;var r=p(t,o);r.min>=r.max&&(n&&!e?r.max=r.min+r.majorUnit:!n&&e&&(r.min=r.max-r.majorUnit));return r}(i,t)},initFields:function(){this.totalMin=this.totalOptions.min,this.totalMax=this.totalOptions.max,this.totalMajorUnit=this.totalOptions.majorUnit,this.seriesMin=this.options.seriesMin,this.seriesMax=this.options.seriesMax},clone:function(){return new In(this.seriesMin,this.seriesMax,t.extend({},this.options),this.chartService)},startValue:function(){return 0},range:function(){var t=this.options;return{min:t.min,max:t.max}},getDivisions:function(t){if(0===t)return 1;var i=this.options,n=i.max-i.min;return Math.floor(Bt(n/t,3))+1},getTickPositions:function(t,i){var n=this.options,e=this.lineInfo(),o=e.axisDir,s=e.axisOrigin,r=e.lineBox,a=t*(e.lineSize/(n.max-n.min)),l=this.getDivisions(t),h=[],u=r[s],c=0;i&&(c=i/t);for(var f=0;f<l;f++)f%c!=0&&h.push(Bt(u,3)),u+=a*o;return h},getMajorTickPositions:function(){return this.getTickPositions(this.options.majorUnit)},getMinorTickPositions:function(){return this.getTickPositions(this.options.minorUnit)},getSlot:function(t,i,n){void 0===n&&(n=!1);var e=this.options,o=this.lineInfo(),s=o.axis,r=o.axisDir,a=o.lineBox,l=o.lineSize,h=o.lineStart,u=r*(l/(e.max-e.min)),c=Pt(t,i||0),f=Pt(i,t||0);n&&(c=It(c,e.min,e.max),f=It(f,e.min,e.max));var p=Math.min(c,f)-e.min,d=Math.max(c,f)-e.min,v=new Zt(a.x1,a.y1,a.x1,a.y1);return v[s+1]=Ln(h+u*(r>0?p:d)),v[s+2]=Ln(h+u*(r>0?d:p)),v},getValue:function(t){var i=this.options,n=Number(i.max),e=Number(i.min),o=this.pointOffset(t);return o<0||o>1?null:Bt(e+o*(n-e),k)},translateRange:function(t){var i=this.options,n=i.vertical,e=i.reverse,o=i.max,s=i.min,r=this.lineInfo().lineSize,a=Bt(t/(r/(o-s)),k);return!n&&!e||n&&e||(a=-a),{min:s+a,max:o+a,offset:a}},labelsCount:function(){return this.getDivisions(this.options.majorUnit)},createAxisLabel:function(t,i,n){var e=this.options,o=Bt(e.min+t*e.majorUnit,k),s=this.axisLabelText(o,i,n);return new bi(o,s,t,null,i)},shouldRenderNote:function(t){var i=this.range();return i.min<=t&&t<=i.max},pan:function(t){var i=this.translateRange(t);return this.limitRange(i.min,i.max,this.totalMin,this.totalMax,i.offset)},pointsRange:function(t,i){var n=this.getValue(t),e=this.getValue(i),o=Math.min(n,e),s=Math.max(n,e);if(this.isValidRange(o,s))return{min:o,max:s}},scaleRange:function(t,i){var n=Math.abs(this.pointOffset(i)),e=this.options.max-this.options.min,o=this.scaleToDelta(t,e),s=n*o,r=(1-n)*o,a=Bt(this.options.min+s,k),l=Bt(this.options.max-r,k);return l-a<Un&&(l=a+Un),{min:a,max:l}},zoomRange:function(t,i){var n=this.totalMin,e=this.totalMax,o=this.scaleRange(t,i);return{min:It(o.min,n,e),max:It(o.max,n,e),narrowRange:!1}},isValidRange:function(t,i){return i-t>Un}});function jn(t,i,n){var e=Bt(Math.abs(t%i),k);return 0===e||e>i*(1-n)}Ot(In,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:x},labels:{format:"#.####################"},zIndex:1});var An=Ai.extend({init:function(t,i,n,e){var o=Qi(t),s=Qi(i),r=e.intl,a=n||{};a=function(t,i,n){var e=n.min||t,o=n.max||i,s=n.baseUnit||(o&&e?function(t){var i=Ci;t>=Xi?i=_i:t>=Yi?i=zi:t>=Hi?i=Ei:t>=Ni&&(i=Oi);return i}(Wi(o,e)):Ci),r=qi[s],a=n.weekStartDay||0,l=tn(sn(e)-1,s,a)||Qi(o),h=nn(sn(o)+1,s,a),u=n.majorUnit?n.majorUnit:void 0,c=u||Rn(Qt(l.getTime(),h.getTime()),r)/r,f=hn(l,h,s),p=Rn(f,c)-f,d=Math.floor(p/2),v=p-d;n.baseUnit||delete n.baseUnit;return n.baseUnit=n.baseUnit||s,n.min=n.min||$i(l,-d,s,a),n.max=n.max||$i(h,v,s,a),n.minorUnit=n.minorUnit||c/5,n.majorUnit=c,n}(o,s,a=p(a||{},{min:un(r,a.min),max:un(r,a.max),axisCrossingValue:cn(r,a.axisCrossingValues||a.axisCrossingValue),weekStartDay:fn(a,r)})),Ai.fn.init.call(this,a,e),this.intlService=r,this.seriesMin=o,this.seriesMax=s;var l=a.weekStartDay||0;this.totalMin=sn(tn(sn(o)-1,a.baseUnit,l)),this.totalMax=sn(nn(sn(s)+1,a.baseUnit,l))},clone:function(){return new An(this.seriesMin,this.seriesMax,t.extend({},this.options),this.chartService)},range:function(){var t=this.options;return{min:t.min,max:t.max}},getDivisions:function(t){var i=this.options;return Math.floor(hn(i.min,i.max,i.baseUnit)/t+1)},getTickPositions:function(t){for(var i=this.options,n=this.lineInfo(),e=n.axisDir,o=n.lineSize,s=n.lineStart,r=this.getDivisions(t),a=o/on(i.max,i.min),l=i.weekStartDay||0,h=[s],u=1;u<r;u++){var c=s+on($i(i.min,u*t,i.baseUnit,l),i.min)*a*e;h.push(Bt(c,3))}return h},getMajorTickPositions:function(){return this.getTickPositions(this.options.majorUnit)},getMinorTickPositions:function(){return this.getTickPositions(this.options.minorUnit)},getSlot:function(t,i,n){return In.prototype.getSlot.call(this,un(this.intlService,t),un(this.intlService,i),n)},getValue:function(t){var i=In.prototype.getValue.call(this,t);return null!==i?Qi(i):null},labelsCount:function(){return this.getDivisions(this.options.majorUnit)},createAxisLabel:function(t,i,n){var e=this.options,o=t*e.majorUnit,s=e.weekStartDay||0,r=e.min;o>0&&(r=$i(r,o,e.baseUnit,s));var a=i.dateFormats[e.baseUnit];i.format=i.format||a;var l=this.axisLabelText(r,i,n);return new bi(r,l,t,null,i)},translateRange:function(t){var i=this.options,n=this.lineBox(),e=i.vertical,o=i.reverse,s=e?n.height():n.width(),r=this.range(),a=s/on(r.max,r.min),l=Bt(t/a,k);return!e&&!o||e&&o||(l=-l),{min:Ki(i.min,l),max:Ki(i.max,l),offset:l}},shouldRenderNote:function(t){var i=this.range();return en(t,i.min)>=0&&en(t,i.max)<=0},pan:function(t){var i=this.translateRange(t,!0),n=this.limitRange(sn(i.min),sn(i.max),this.totalMin,this.totalMax,i.offset);if(n)return{min:Qi(n.min),max:Qi(n.max)}},pointsRange:function(t,i){var n=this.getValue(t),e=this.getValue(i),o=Math.min(n,e),s=Math.max(n,e);return{min:Qi(o),max:Qi(s)}},scaleRange:function(t,i){var n=Math.abs(this.pointOffset(i)),e=this.options.max-this.options.min,o=this.scaleToDelta(t,e),s=n*o,r=(1-n)*o,a=Qi(sn(this.options.min)+s),l=Qi(sn(this.options.max)-r);return l-a<1e3&&(l=Qi(sn(a)+1e3)),{min:a,max:l}},zoomRange:function(t,i){var n=this.scaleRange(t,i);return{min:Qi(It(sn(n.min),this.totalMin,this.totalMax)),max:Qi(It(sn(n.max),this.totalMin,this.totalMax))}}});Ot(An,{type:S,majorGridLines:{visible:!0,width:1,color:x},labels:{dateFormats:vn}});var Bn=1e-6,Dn=Ai.extend({init:function(t,i,n,e){var o=p({majorUnit:10,min:t,max:i},n),s=o.majorUnit,r=function(t,i){var n,e=Bt(Cn(t,i),k)%1;n=t<=0?i:0!==e&&(e<.3||e>.9)?Math.pow(i,Cn(t,i)+.2):Math.pow(i,Math.ceil(Cn(t,i)));return n}(i,s),a=function(t,i,n){var e=n.majorUnit,o=t;t<=0?o=i<=1?Math.pow(e,-2):1:n.narrowRange||(o=Math.pow(e,Math.floor(Cn(t,e))));return o}(t,i,o),l=function(t,i,n,e){var o=n.min,s=n.max;wt(n.axisCrossingValue)&&n.axisCrossingValue<=0&&Pn();wt(e.max)?e.max<=0&&Pn():s=i;wt(e.min)?e.min<=0&&Pn():o=t;return{min:o,max:s}}(a,r,o,n);o.max=l.max,o.min=l.min,o.minorUnit=n.minorUnit||Bt(s-1,k),Ai.fn.init.call(this,o,e),this.totalMin=wt(n.min)?Math.min(a,n.min):a,this.totalMax=wt(n.max)?Math.max(r,n.max):r,this.logMin=Bt(Cn(l.min,s),k),this.logMax=Bt(Cn(l.max,s),k),this.seriesMin=t,this.seriesMax=i,this.createLabels()},clone:function(){return new Dn(this.seriesMin,this.seriesMax,t.extend({},this.options),this.chartService)},startValue:function(){return this.options.min},getSlot:function(t,i,n){var e=this,o=e.options,s=e.logMin,r=e.logMax,a=o.majorUnit,l=o.min,h=o.max,u=this.lineInfo(),c=u.axis,f=u.axisDir,p=u.lineBox,d=u.lineSize,v=u.lineStart,m=f*(d/(r-s)),g=Pt(t,i||1),x=Pt(i,t||1);if(g<=0||x<=0)return null;n&&(g=It(g,l,h),x=It(x,l,h)),g=Cn(g,a),x=Cn(x,a);var b=Math.min(g,x)-s,y=Math.max(g,x)-s,w=new Zt(p.x1,p.y1,p.x1,p.y1);return w[c+1]=Ln(v+m*(f>0?b:y)),w[c+2]=Ln(v+m*(f>0?y:b)),w},getValue:function(t){var i=this,n=i.options,e=i.logMin,o=i.logMax,s=n.majorUnit,r=this.lineInfo(),a=r.axis,l=r.axisDir,h=r.lineStart,u=r.lineSize,c=(o-e)/u,f=l*(t[a]-h);if(f<0||f>u)return null;var p=e+f*c;return Bt(Math.pow(s,p),k)},range:function(){var t=this.options;return{min:t.min,max:t.max}},translateRange:function(t){var i=this,n=i.options,e=i.logMin,o=i.logMax,s=n.reverse,r=n.vertical,a=n.majorUnit,l=this.lineBox(),h=r?l.height():l.width(),u=Bt(t/(h/(o-e)),k);return!r&&!s||r&&s||(u=-u),{min:Math.pow(a,e+u),max:Math.pow(a,o+u),offset:u}},labelsCount:function(){var t=Math.floor(this.logMax);return Math.floor(t-this.logMin)+1},getMajorTickPositions:function(){var t=[];return this.traverseMajorTicksPositions((function(i){t.push(i)}),{step:1,skip:0}),t},createTicks:function(t){var i=this.options,n=i.majorTicks,e=i.minorTicks,o=i.vertical,s=i.labels.mirror,r=this.lineBox(),a={vertical:o};function l(i,n){a.tickX=s?r.x2:r.x2-n.size,a.tickY=s?r.y1-n.size:r.y1,a.position=i,t.append(Ii(a,n))}return n.visible&&this.traverseMajorTicksPositions(l,n),e.visible&&this.traverseMinorTicksPositions(l,e),[]},createGridLines:function(t){var i=this.options,n=i.minorGridLines,e=i.majorGridLines,o=i.vertical,s=t.lineBox(),r={lineStart:s[o?"x1":"y1"],lineEnd:s[o?"x2":"y2"],vertical:o},a=[],l=this.gridLinesVisual();function h(t,i){ft(t,a)||(r.position=t,l.append(ji(r,i)),a.push(t))}return e.visible&&this.traverseMajorTicksPositions(h,e),n.visible&&this.traverseMinorTicksPositions(h,n),l.children},traverseMajorTicksPositions:function(t,i){for(var n=this.lineInfo(),e=n.lineStart,o=n.step,s=this.logMin,r=this.logMax,a=Math.ceil(s)+i.skip;a<=r;a+=i.step){t(Bt(e+o*(a-s),k),i)}},traverseMinorTicksPositions:function(t,i){for(var n=this.options,e=n.min,o=n.max,s=n.minorUnit,r=n.majorUnit,a=this.lineInfo(),l=a.lineStart,h=a.step,u=this.logMin,c=this.logMax,f=Math.floor(u);f<c;f++)for(var p=this._minorIntervalOptions(f),d=i.skip;d<s;d+=i.step){var v=p.value+d*p.minorStep;if(v>o)break;if(v>=e)t(Bt(l+h*(Cn(v,r)-u),k),i)}},createAxisLabel:function(t,i,n){var e=Math.ceil(this.logMin+t),o=Math.pow(this.options.majorUnit,e),s=this.axisLabelText(o,i,n);return new bi(o,s,t,null,i)},shouldRenderNote:function(t){var i=this.range();return i.min<=t&&t<=i.max},pan:function(t){var i=this.translateRange(t);return this.limitRange(i.min,i.max,this.totalMin,this.totalMax,i.offset)},pointsRange:function(t,i){var n=this.getValue(t),e=this.getValue(i);return{min:Math.min(n,e),max:Math.max(n,e)}},scaleRange:function(t,i){var n=this.options.majorUnit,e=Cn(this.options.min,n),o=Cn(this.options.max,n),s=Math.abs(this.pointOffset(i)),r=o-e,a=this.scaleToDelta(t,r),l=Math.pow(n,e+s*a),h=Math.pow(n,o-(1-s)*a);return h-l<Bn&&(h=l+Bn),{min:l,max:h}},zoomRange:function(t,i){var n=this.scaleRange(t,i),e=this.totalMin,o=this.totalMax;return{min:It(n.min,e,o),max:It(n.max,e,o)}},_minorIntervalOptions:function(t){var i=this.options,n=i.minorUnit,e=i.majorUnit,o=Math.pow(e,t);return{value:o,minorStep:(Math.pow(e,t+1)-o)/n}},lineInfo:function(){var t=Ai.fn.lineInfo.call(this);return t.step=t.axisDir*(t.lineSize/(this.logMax-this.logMin)),t}});function Pn(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function Cn(t,i){return Math.log(t)/Math.log(i)}Ot(Dn,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:x},zIndex:1,_deferLabels:!0});var On={createGridLines:function(t){var i,n,e=this.options,o=Math.abs(this.box.center().y-t.lineBox().y1),s=[],r=!1;return e.majorGridLines.visible&&(i=this.majorGridLineAngles(t),r=!0,s=this.renderMajorGridLines(i,o,e.majorGridLines)),e.minorGridLines.visible&&(n=this.minorGridLineAngles(t,r),bt(s,this.renderMinorGridLines(n,o,e.minorGridLines,t,r))),s},renderMajorGridLines:function(t,i,n){return this.renderGridLines(t,i,n)},renderMinorGridLines:function(t,i,n,e,o){var s=this.radiusCallback&&this.radiusCallback(i,e,o);return this.renderGridLines(t,i,n,s)},renderGridLines:function(t,i,n,o){for(var s={stroke:{width:n.width,color:n.color,dashType:n.dashType}},r=this.box.center(),a=new h([r.x,r.y],i),l=this.gridLinesVisual(),u=0;u<t.length;u++){var c=new e(s);o&&(a.radius=o(t[u])),c.moveTo(a.center).lineTo(a.pointAt(t[u]+180)),l.append(c)}return l.children},gridLineAngles:function(t,i,n,e,o){var s=this,r=this.intervals(i,n,e,o),a=t.options,l=a.visible&&!1!==(a.line||{}).visible;return mt(r,(function(t){var i=s.intervalAngle(t);if(!l||90!==i)return i}))}},En=pn.extend({range:function(){return{min:0,max:this.options.categories.length}},reflow:function(t){this.box=t,this.reflowLabels()},lineBox:function(){return this.box},reflowLabels:function(){for(var t=this.labels,i=this.options.labels,n=i.skip||0,e=i.step||1,o=new Zt,s=0;s<t.length;s++){t[s].reflow(o);var r=t[s].box;t[s].reflow(this.getSlot(n+s*e).adjacentBox(0,r.width(),r.height()))}},intervals:function(t,i,n,e){void 0===e&&(e=!1);for(var o=this.options,s=o.categories.length/t||1,r=360/s,a=n||1,l=[],h=0,u=i||0;u<s;u+=a)h=o.reverse?360-u*r:u*r,h=Bt(h,3)%360,e&&ft(h,e)||l.push(h);return l},majorIntervals:function(){return this.intervals(1)},minorIntervals:function(){return this.intervals(.5)},intervalAngle:function(t){return(360+t+this.options.startAngle)%360},majorAngles:function(){var t=this;return mt(this.majorIntervals(),(function(i){return t.intervalAngle(i)}))},createLine:function(){return[]},majorGridLineAngles:function(t){var i=this.options.majorGridLines;return this.gridLineAngles(t,1,i.skip,i.step)},minorGridLineAngles:function(t,i){var n=this.options,e=n.minorGridLines,o=n.majorGridLines,s=i?this.intervals(1,o.skip,o.step):null;return this.gridLineAngles(t,.5,e.skip,e.step,s)},radiusCallback:function(t,i,n){if(i.options.type!==m){var e=At(360/(2*this.options.categories.length)),o=Math.cos(e)*t,s=this.majorAngles();return function(i){return!n&&ft(i,s)?t:o}}},createPlotBands:function(){for(var t=this.options.plotBands||[],i=this._plotbandGroup=new o({zIndex:-1}),n=0;n<t.length;n++){var e=t[n],s=this.plotBandSlot(e),r=this.getSlot(e.from),a=e.from-Math.floor(e.from);s.startAngle+=a*r.angle;var l=Math.ceil(e.to)-e.to;s.angle-=(l+a)*r.angle;var h=ei.current.createRing(s,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:e.opacity}});i.append(h)}this.appendVisual(i)},plotBandSlot:function(t){return this.getSlot(t.from,t.to-1)},getSlot:function(t,i){var n=this.options,e=n.justified,o=this.box,s=this.majorAngles(),r=s.length,a=360/r,l=t;n.reverse&&!e&&(l=(l+1)%r);var h=s[l=It(Math.floor(l),0,r-1)];e&&(h-=a/2)<0&&(h+=360);var u=a*(It(Math.ceil(i||l),l,r-1)-l+1);return new ti(o.center(),0,o.height()/2,h,u)},slot:function(t,i){var n=this.getSlot(t,i),e=n.startAngle+180,o=e+n.angle;return new a.Arc([n.center.x,n.center.y],{startAngle:e,endAngle:o,radiusX:n.radius,radiusY:n.radius})},pointCategoryIndex:function(t){for(var i=this.options.categories.length,n=null,e=0;e<i;e++){if(this.getSlot(e).containsPoint(t)){n=e;break}}return n}});Ot(En,{startAngle:90,labels:{margin:rt(10)},majorGridLines:{visible:!0},justified:!0}),p(En.prototype,On);var zn=Ai.extend({init:function(t,i){Ai.fn.init.call(this,t,i);var n=this.options;n.minorUnit=n.minorUnit||n.majorUnit/2},getDivisions:function(t){return In.prototype.getDivisions.call(this,t)-1},reflow:function(t){this.box=t,this.reflowLabels()},reflowLabels:function(){for(var t=this,i=t.options,n=t.labels,e=t.options.labels,o=e.skip||0,s=e.step||1,r=new Zt,a=this.intervals(i.majorUnit,o,s),l=0;l<n.length;l++){n[l].reflow(r);var h=n[l].box;n[l].reflow(this.getSlot(a[l]).adjacentBox(0,h.width(),h.height()))}},lineBox:function(){return this.box},intervals:function(t,i,n,e){void 0===e&&(e=!1);for(var o=this.options.min,s=this.getDivisions(t),r=[],a=n||1,l=i||0;l<s;l+=a){var h=(360+o+l*t)%360;e&&ft(h,e)||r.push(h)}return r},majorIntervals:function(){return this.intervals(this.options.majorUnit)},minorIntervals:function(){return this.intervals(this.options.minorUnit)},intervalAngle:function(t){return(540-t-this.options.startAngle)%360},createLine:function(){return[]},majorGridLineAngles:function(t){var i=this.options.majorGridLines;return this.gridLineAngles(t,this.options.majorUnit,i.skip,i.step)},minorGridLineAngles:function(t,i){var n=this.options,e=n.minorGridLines,o=n.majorGridLines,s=i?this.intervals(n.majorUnit,o.skip,o.step):null;return this.gridLineAngles(t,n.minorUnit,e.skip,e.step,s)},plotBandSlot:function(t){return this.getSlot(t.from,t.to)},getSlot:function(t,i){var n=this.options,e=this.box,o=n.startAngle,s=It(t,n.min,n.max),r=It(i||s,s,n.max);if(n.reverse&&(s*=-1,r*=-1),(r=(540-r-o)%360)<(s=(540-s-o)%360)){var a=s;s=r,r=a}return new ti(e.center(),0,e.height()/2,s,r-s)},slot:function(t,i){void 0===i&&(i=t);var n,e,o=this.options,s=360-o.startAngle,r=this.getSlot(t,i),l=Math.min(t,i),h=Math.max(t,i);return o.reverse?(n=l,e=h):(n=360-h,e=360-l),n=(n+s)%360,e=(e+s)%360,new a.Arc([r.center.x,r.center.y],{startAngle:n,endAngle:e,radiusX:r.radius,radiusY:r.radius})},getValue:function(t){var i=this.options,n=this.box.center(),e=t.x-n.x,o=t.y-n.y,s=Math.round(Mt(Math.atan2(o,e))),r=i.startAngle;return i.reverse||(s*=-1,r*=-1),(s+r+360)%360},valueRange:function(){return{min:0,max:2*Math.PI}}});Ot(zn,{type:"polar",startAngle:0,reverse:!1,majorUnit:60,min:0,max:360,labels:{margin:rt(10)},majorGridLines:{color:x,visible:!0,width:1},minorGridLines:{color:"#aaa"}}),p(zn.prototype,On,{createPlotBands:En.prototype.createPlotBands,majorAngles:En.prototype.majorAngles,range:In.prototype.range,labelsCount:In.prototype.labelsCount,createAxisLabel:In.prototype.createAxisLabel});var _n={options:{majorGridLines:{visible:!0}},createPlotBands:function(){var t=this.options,i=t.majorGridLines.type,n=t.plotBands;void 0===n&&(n=[]);for(var s=this.plotArea.polarAxis,r=s.majorAngles(),a=s.box.center(),l=this._plotbandGroup=new o({zIndex:-1}),h=0;h<n.length;h++){var u=n[h],c={fill:{color:u.color,opacity:u.opacity},stroke:{opacity:u.opacity}},f=this.getSlot(u.from,u.to,!0),p=new ti(a,a.y-f.y2,a.y-f.y1,0,360),d=void 0;d=i===m?ei.current.createRing(p,c):e.fromPoints(this.plotBandPoints(p,r),c).close(),l.append(d)}this.appendVisual(l)},plotBandPoints:function(t,i){for(var n=[],e=[],o=[t.center.x,t.center.y],s=new h(o,t.innerRadius),r=new h(o,t.radius),a=0;a<i.length;a++)n.push(s.pointAt(i[a]+180)),e.push(r.pointAt(i[a]+180));return n.reverse(),n.push(n[0]),e.push(e[0]),e.concat(n)},createGridLines:function(t){var i=this.options,n=this.radarMajorGridLinePositions(),e=t.majorAngles(),o=t.box.center(),s=[];if(i.majorGridLines.visible&&(s=this.renderGridLines(o,n,e,i.majorGridLines)),i.minorGridLines.visible){var r=this.radarMinorGridLinePositions();bt(s,this.renderGridLines(o,r,e,i.minorGridLines))}return s},renderGridLines:function(t,n,o,s){var r={stroke:{width:s.width,color:s.color,dashType:s.dashType}},a=s.skip;void 0===a&&(a=0);var l=s.step;void 0===l&&(l=0);for(var u=this.gridLinesVisual(),c=a;c<n.length;c+=l){var f=t.y-n[c];if(f>0){var p=new h([t.x,t.y],f);if(s.type===m)u.append(new i.Circle(p,r));else{for(var d=new e(r),v=0;v<o.length;v++)d.lineTo(p.pointAt(o[v]+180));d.close(),u.append(d)}}}return u.children},getValue:function(t){var i=this.lineBox(),n=this.plotArea.polarAxis,e=n.majorAngles(),o=n.box.center(),s=t.distanceTo(o),r=s;if(this.options.majorGridLines.type!==m&&e.length>1){var a=t.x-o.x,l=t.y-o.y,h=(Mt(Math.atan2(l,a))+540)%360;e.sort((function(t,i){return Vn(t,h)-Vn(i,h)}));var u=90-Vn(e[0],e[1])/2,c=180-Vn(h,e[0])-u;r=s*(Math.sin(At(c))/Math.sin(At(u)))}return this.axisType().prototype.getValue.call(this,new Jt(i.x1,i.y2-r))}};function Vn(t,i){return 180-Math.abs(Math.abs(t-i)-180)}var Gn=In.extend({radarMajorGridLinePositions:function(){return this.getTickPositions(this.options.majorUnit)},radarMinorGridLinePositions:function(){var t=this.options,i=0;return t.majorGridLines.visible&&(i=t.majorUnit),this.getTickPositions(t.minorUnit,i)},axisType:function(){return In}});p(Gn.prototype,_n);var Fn=Dn.extend({radarMajorGridLinePositions:function(){var t=[];return this.traverseMajorTicksPositions((function(i){t.push(i)}),this.options.majorGridLines),t},radarMinorGridLinePositions:function(){var t=[];return this.traverseMinorTicksPositions((function(i){t.push(i)}),this.options.minorGridLines),t},axisType:function(){return Dn}});p(Fn.prototype,_n);var Nn=s.extend({init:function(t){this.closed=t},process:function(t){var i=t.slice(0),n=[],e=this.closed,o=i.length;if(o>2&&(this.removeDuplicates(0,i),o=i.length),o<2||2===o&&i[0].equals(i[1]))return n;var s,r,a=i[0],l=i[1],h=i[2];for(n.push(new c(a));a.equals(i[o-1]);)e=!0,i.pop(),o--;if(2===o){var u=this.tangent(a,l,Y,X);return Ut(n).controlOut(this.firstControlPoint(u,a,l,Y,X)),n.push(new c(l,this.secondControlPoint(u,a,l,Y,X))),n}if(e){a=i[o-1],l=i[0],h=i[1];var f=this.controlPoints(a,l,h);s=f[1],r=f[0]}else{var p=this.tangent(a,l,Y,X);s=this.firstControlPoint(p,a,l,Y,X)}for(var d=s,v=0;v<=o-3;v++)if(this.removeDuplicates(v,i),v+3<=(o=i.length)){a=i[v],l=i[v+1],h=i[v+2];var m=this.controlPoints(a,l,h);Ut(n).controlOut(d),d=m[1];var g=m[0];n.push(new c(l,g))}if(e){a=i[o-2],l=i[o-1],h=i[0];var x=this.controlPoints(a,l,h);Ut(n).controlOut(d),n.push(new c(l,x[0])),Ut(n).controlOut(x[1]),n.push(new c(h,r))}else{var b=this.tangent(l,h,Y,X);Ut(n).controlOut(d),n.push(new c(h,this.secondControlPoint(b,l,h,Y,X)))}return n},removeDuplicates:function(t,i){for(;i[t+1]&&(i[t].equals(i[t+1])||i[t+1].equals(i[t+2]));)i.splice(t+1,1)},invertAxis:function(t,i,n){var e=!1;if(t.x===i.x)e=!0;else if(i.x===n.x)(i.y<n.y&&t.y<=i.y||n.y<i.y&&i.y<=t.y)&&(e=!0);else{var o=this.lineFunction(t,i),s=this.calculateFunction(o,n.x);t.y<=i.y&&n.y<=s||i.y<=t.y&&n.y>=s||(e=!0)}return e},isLine:function(t,i,n){var e=this.lineFunction(t,i),o=this.calculateFunction(e,n.x);return t.x===i.x&&i.x===n.x||Bt(o,1)===Bt(n.y,1)},lineFunction:function(t,i){var n=(i.y-t.y)/(i.x-t.x);return[t.y-n*t.x,n]},controlPoints:function(t,i,n){var e,o=Y,s=X,r=!1,a=!1;if(this.isLine(t,i,n))e=this.tangent(t,i,Y,X);else{var l={x:this.isMonotonicByField(t,i,n,Y),y:this.isMonotonicByField(t,i,n,X)};if(l.x&&l.y)e=this.tangent(t,n,Y,X),r=!0;else if(this.invertAxis(t,i,n)&&(o=X,s=Y),l[o])e=0;else e=.01*(n[s]<t[s]&&t[s]<=i[s]||t[s]<n[s]&&i[s]<=t[s]?Hn((n[s]-t[s])*(i[o]-t[o])):-Hn((n[o]-t[o])*(i[s]-t[s]))),a=!0}var h=this.secondControlPoint(e,t,i,o,s);if(a){var u=o;o=s,s=u}var c=this.firstControlPoint(e,i,n,o,s);return r&&(this.restrictControlPoint(t,i,h,e),this.restrictControlPoint(i,n,c,e)),[h,c]},restrictControlPoint:function(t,i,n,e){t.y<i.y?i.y<n.y?(n.x=t.x+(i.y-t.y)/e,n.y=i.y):n.y<t.y&&(n.x=i.x-(i.y-t.y)/e,n.y=t.y):n.y<i.y?(n.x=t.x-(t.y-i.y)/e,n.y=i.y):t.y<n.y&&(n.x=i.x+(t.y-i.y)/e,n.y=t.y)},tangent:function(t,i,n,e){var o=i[n]-t[n],s=i[e]-t[e];return 0===o?0:s/o},isMonotonicByField:function(t,i,n,e){return n[e]>i[e]&&i[e]>t[e]||n[e]<i[e]&&i[e]<t[e]},firstControlPoint:function(t,i,n,e,o){var s=i[e],r=.333*(n[e]-s);return this.point(s+r,i[o]+r*t,e,o)},secondControlPoint:function(t,i,n,e,o){var s=i[e],r=n[e],a=.333*(r-s);return this.point(r-a,n[o]-a*t,e,o)},point:function(t,i,n,e){var o=new a.Point;return o[n]=t,o[e]=i,o},calculateFunction:function(t,i){for(var n=t.length,e=0,o=0;o<n;o++)e+=Math.pow(i,o)*t[o];return e}});function Hn(t){return t<=0?-1:1}f.Gradients=li,kendo.deepExtend(kendo.dataviz,{constants:q,services:Ui,autoMajorUnit:Qt,Point:Jt,Box:Zt,Ring:ti,Sector:ni,ShapeBuilder:ei,ShapeElement:ri,ChartElement:oi,BoxElement:si,RootElement:ui,FloatElement:ci,Text:pi,TextBox:mi,Title:gi,AxisLabel:bi,Axis:Ai,Note:yi,CategoryAxis:pn,DateCategoryAxis:Tn,DateValueAxis:An,NumericAxis:In,LogarithmicAxis:Dn,PolarAxis:zn,RadarCategoryAxis:En,RadarNumericAxis:Gn,RadarLogarithmicAxis:Fn,CurveProcessor:Nn,rectToBox:di,addClass:K,removeClass:J,alignPathToPixel:Z,clockwise:$,convertableToNumber:function(t){return tt(t)||it(t)&&isFinite(t)},deepExtend:p,elementStyles:function(t,i){var n=it(i)?[i]:i;if(W(n)){for(var e={},o=window.getComputedStyle(t),s=0;s<n.length;s++){var r=n[s];e[r]=st(r)?parseFloat(o[r]):o[r]}return e}if(nt(i))for(var a in i)t.style[a]=et(i[a])},getSpacing:rt,getTemplate:ht,getter:v,grep:ut,hasClasses:function(t,i){if(t.className)for(var n=i.split(" "),e=0;e<n.length;e++)if(t.className.indexOf&&-1!==t.className.indexOf(n[e]))return!0},HashMap:ct,inArray:ft,interpolateValue:function(t,i,n){return kendo.drawing.util.round(t+(i-t)*n,3)},InstanceObserver:dt,isArray:W,isFunction:d,isNumber:tt,isObject:nt,isPlainObject:vt,isString:it,map:mt,mousewheelDelta:function(t){var i=0;return t.wheelDelta?(i=-t.wheelDelta/120,gt.webkit&&(i/=2*Math.max(window.devicePixelRatio,.625))):t.detail&&(i=t.detail/3),i=i>0?Math.ceil(i):Math.floor(i)},FontLoader:Ct,renderIcon:function(t,i){var n=t,e=i;return n&&(!nt(n)||n instanceof HTMLElement)&&!it(n)||(e=n,n=document.createElement("span")),it(e)&&(e={icon:e}),e.type||(e.type="svg"),Ft[e.type]?new Ft[e.type](n,e).html():null},setDefaultOptions:Ot,sparseArrayLimits:Nt,styleValue:et,find:function(t,i){for(var n=0;n<t.length;n++){var e=t[n];if(i(e,n,t))return e}},elementScale:function(t){if(!t)return Ht.unit();for(var i=Xt(t),n=t.parentElement;n;){var e=Xt(n);i=i.multiplyCopy(e),n=n.parentElement}return i.b=i.c=i.e=i.f=0,i},autoTextColor:function(t){return new kendo.Color(t).isDark()?N:x},createHashSet:function(t){return i=!1,"function"==typeof Set&&(i=new Set([1]).has(1)),i?new Kt(t):new Wt(t);var i},defaultErrorHandler:function(t){throw t},keys:{INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},append:bt,bindEvents:yt,Class:s,defined:wt,deg:Mt,elementOffset:St,elementSize:Tt,eventCoordinates:kt,eventElement:Rt,hashKey:Lt,last:Ut,limitValue:It,logToConsole:kendo.logToConsole,objectKey:jt,rad:At,round:Bt,unbindEvents:Dt,valueOrDefault:Pt,absoluteDateDiff:Wi,addDuration:$i,addTicks:Ki,ceilDate:nn,dateComparer:en,dateDiff:on,dateEquals:rn,dateIndex:ln,duration:hn,floorDate:tn,lteDateIndex:function(t,i){for(var n,e=0,o=i.length-1;e<=o;){var s=i[n=Math.floor((e+o)/2)];if(s<t)e=n+1;else{if(!(s>t)){for(;rn(i[n-1],t);)n--;return n}o=n-1}}return i[n]<=t?n:n-1},startOfWeek:Ji,toDate:Qi,parseDate:un,parseDates:cn,toTime:sn,firstDay:fn})}(window.kendo.jQuery),t=window.kendo.jQuery,i=kendo.dataviz,n=i.services,e=kendo.drawing,i.SASS_THEMES=["sass","default-v2","bootstrap-v4","material-v2"],i.ExportMixin={extend:function(t,i){if(!t.exportVisual)throw new Error("Mixin target has no exportVisual method defined.");t.exportSVG=this.exportSVG,t.exportImage=this.exportImage,t.exportPDF=this.exportPDF,i||(t.svg=this.svg,t.imageDataURL=this.imageDataURL)},exportSVG:function(t){return e.exportSVG(this.exportVisual(),t)},exportImage:function(t){return e.exportImage(this.exportVisual(t),t)},exportPDF:function(t){return e.exportPDF(this.exportVisual(),t)},svg:function(){if(e.svg.Surface)return e.svg.exportGroup(this.exportVisual());throw new Error("SVG Export failed. Unable to export instantiate kendo.drawing.svg.Surface")},imageDataURL:function(){if(!kendo.support.canvas)return null;if(e.canvas.Surface){var i=t("<div />").css({display:"none",width:this.element.width(),height:this.element.height()}).appendTo(document.body),n=new e.canvas.Surface(i[0]);n.draw(this.exportVisual());var o=n._rootElement.toDataURL();return n.destroy(),i.remove(),o}throw new Error("Image Export failed. Unable to export instantiate kendo.drawing.canvas.Surface")}},n.IntlService.register({format:function(t){return kendo.format.apply(null,[t].concat(Array.prototype.slice.call(arguments,1)))},toString:kendo.toString,parseDate:kendo.parseDate,firstDay:function(){return kendo.culture().calendars.standard.firstDay}}),n.TemplateService.register({compile:kendo.template}),i.Point2D=i.Point,i.Box2D=i.Box,i.mwDelta=function(t){return i.mousewheelDelta(t.originalEvent)};return kendo}));
//# sourceMappingURL=kendo.dataviz.core.min.js.map
;!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.dataviz.core.js")):"function"==typeof define&&define.amd?define(["kendo.dataviz.core.min"],e):((o="undefined"!=typeof globalThis?globalThis:o||self).kendodataviz=o.kendodataviz||{},o.kendodataviz.themes=o.kendodataviz.themes||{},o.kendodataviz.themes.js=e())}(this,(function(){var o,e,r;!function(o){window.kendo.dataviz=window.kendo.dataviz||{};var e=["linearTrendline","movingAverageTrendline"],r=1.5,l=.4,c="#000",a="Arial, Helvetica, sans-serif",t="11px "+a,i="12px "+a,s="16px "+a,n="transparent",f="#fff",d=function(){return{icon:{border:{width:1}},label:{font:i,padding:3},line:{length:10,width:2},visible:!0}},b=function(){return{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:f,gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}}},h=function(){return{gap:r,spacing:l,target:{color:"#ff0000"}}},k=function(){return{gap:.5,line:{color:c,width:1},spacing:l}},u=function(){return{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}}},g=u,m=function(a){return o.extend({visible:!0,labels:{font:t},overlay:a.gradients?{}:{gradient:"none"},area:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},rangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalRangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},bar:{gap:r,spacing:l},boxPlot:b(),bubble:{border:{width:0},labels:{background:n},opacity:.6},bullet:h(),candlestick:{border:{_brightness:.8,width:1},downColor:f,gap:1,highlight:{border:{opacity:1,width:2},line:{width:2}},line:{color:c,width:1},spacing:.3},column:{gap:r,spacing:l},heatmap:{labels:{color:"",background:n,visible:!0},highlight:{border:{width:0}}},pie:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},donut:{margin:1},funnel:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},pyramid:g(),horizontalWaterfall:k(),line:{width:2},notes:d(),ohlc:{gap:1,highlight:{line:{opacity:1,width:3}},line:{width:1},spacing:.3},radarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},radarLine:{markers:{visible:!1},width:2},polarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},polarLine:{markers:{visible:!1},width:2},rangeBar:{gap:r,spacing:l},rangeColumn:{gap:r,spacing:l},scatterLine:{width:1},verticalArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalBoxPlot:b(),verticalBullet:h(),verticalLine:{width:2},waterfall:k()},e.reduce((function(o,e){return o[e]={color:"inherit",trendline:{},markers:{visible:!1},width:1,dashType:"longDash"},o}),{}))};kendo.deepExtend(kendo.dataviz,{chartBaseTheme:function(o){return void 0===o&&(o={}),{axisDefaults:{labels:{font:i},notes:d(),title:{font:s,margin:5}},categoryAxis:{majorGridLines:{visible:!0}},navigator:{pane:{height:90,margin:{top:10}}},seriesDefaults:m(o),title:{font:s},subtitle:{font:i},legend:{labels:{font:i}}}}})}(window.kendo.jQuery),o=window.kendo.jQuery,r=30,kendo.dataviz.autoTheme=function(l){if(!l&&e)return e;var c,a,t={chart:kendo.dataviz.chartBaseTheme()},i=o('<div>  <div class="k-var--primary"></div>  <div class="k-var--primary-contrast"></div>  <div class="k-var--base"></div>  <div class="k-var--background"></div>  <div class="k-var--normal-background"></div>  <div class="k-var--normal-text-color"></div>  <div class="k-var--hover-background"></div>  <div class="k-var--hover-text-color"></div>  <div class="k-var--selected-background"></div>  <div class="k-var--selected-text-color"></div>  <div class="k-var--chart-error-bars-background"></div>  <div class="k-var--chart-notes-background"></div>  <div class="k-var--chart-notes-border"></div>  <div class="k-var--chart-notes-lines"></div>  <div class="k-var--chart-crosshair-background"></div>  <div class="k-var--chart-inactive"></div>  <div class="k-var--chart-major-lines"></div>  <div class="k-var--chart-minor-lines"></div>  <div class="k-var--chart-area-opacity"></div>  <div class="k-var--chart-area-inactive-opacity"></div>  <div class="k-var--chart-line-inactive-opacity"></div>  <div class="k-widget k-chart">      <div class="k-var--chart-font"></div>      <div class="k-var--chart-title-font"></div>      <div class="k-var--chart-pane-title-font"></div>      <div class="k-var--chart-label-font"></div>  </div>  <div class="k-var--series-unset"></div>  <div class="k-var--series">'+function(){for(var o='<div class="k-var--series-a"></div><div class="k-var--series-b"></div><div class="k-var--series-c"></div><div class="k-var--series-d"></div><div class="k-var--series-e"></div><div class="k-var--series-f"></div>',e=0;e<r;e++)o+='<div class="k-var--series-'+(e+1)+'"></div>';return o}()+'  </div>  <div class="k-var--gauge-pointer"></div>  <div class="k-var--gauge-track"></div></div>').hide().appendTo(document.body);function s(o,e){f(o,n(e,"backgroundColor"))}function n(o,e){return i.find(".k-var--"+o).css(e)}function f(o,e){for(var r=t,l=o.split("."),c=l.shift();l.length>0;)r=r[c]=r[c]||{},c=l.shift();r[c]=e}function d(o,e){var r=parseFloat(n(e,"opacity"));!isNaN(r)&&r<1&&o.forEach((function(o){f("chart.seriesDefaults."+o+".highlight.inactiveOpacity",r)}))}return function(){s("chart.axisDefaults.crosshair.color","chart-crosshair-background"),s("chart.axisDefaults.labels.color","normal-text-color"),s("chart.axisDefaults.line.color","chart-major-lines"),s("chart.axisDefaults.majorGridLines.color","chart-major-lines"),s("chart.axisDefaults.minorGridLines.color","chart-minor-lines"),s("chart.axisDefaults.notes.icon.background","chart-notes-background"),s("chart.axisDefaults.notes.icon.border.color","chart-notes-border"),s("chart.axisDefaults.notes.line.color","chart-notes-lines"),s("chart.axisDefaults.title.color","normal-text-color"),s("chart.chartArea.background","background"),s("chart.legend.inactiveItems.labels.color","chart-inactive"),s("chart.legend.inactiveItems.markers.color","chart-inactive"),s("chart.legend.labels.color","normal-text-color"),s("chart.seriesDefaults.boxPlot.downColor","chart-major-lines"),s("chart.seriesDefaults.boxPlot.mean.color","base"),s("chart.seriesDefaults.boxPlot.median.color","base"),s("chart.seriesDefaults.boxPlot.whiskers.color","primary"),s("chart.seriesDefaults.bullet.target.color","primary"),s("chart.seriesDefaults.candlestick.downColor","normal-text-color"),s("chart.seriesDefaults.candlestick.line.color","normal-text-color"),s("chart.seriesDefaults.errorBars.color","chart-error-bars-background"),s("chart.seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),s("chart.seriesDefaults.icon.border.color","chart-major-lines"),s("chart.seriesDefaults.labels.background","background"),s("chart.seriesDefaults.labels.color","normal-text-color"),s("chart.seriesDefaults.notes.icon.background","chart-notes-background"),s("chart.seriesDefaults.notes.icon.border.color","chart-notes-border"),s("chart.seriesDefaults.notes.line.color","chart-notes-lines"),s("chart.seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),s("chart.seriesDefaults.verticalBoxPlot.mean.color","base"),s("chart.seriesDefaults.verticalBoxPlot.median.color","base"),s("chart.seriesDefaults.verticalBoxPlot.whiskers.color","primary"),s("chart.seriesDefaults.verticalBullet.target.color","primary"),s("chart.seriesDefaults.waterfall.line.color","chart-major-lines"),s("chart.title.color","normal-text-color"),s("chart.subtitle.color","normal-text-color"),s("diagram.shapeDefaults.fill.color","primary"),s("diagram.shapeDefaults.content.color","primary-contrast"),s("diagram.shapeDefaults.connectorDefaults.fill.color","normal-text-color"),s("diagram.shapeDefaults.connectorDefaults.stroke.color","primary-contrast"),s("diagram.shapeDefaults.connectorDefaults.hover.fill.color","primary-contrast"),s("diagram.shapeDefaults.connectorDefaults.hover.stroke.color","normal-text-color"),s("diagram.editable.resize.handles.stroke.color","normal-text-color"),s("diagram.editable.resize.handles.fill.color","normal-background"),s("diagram.editable.resize.handles.hover.stroke.color","normal-text-color"),s("diagram.editable.resize.handles.hover.fill.color","normal-text-color"),s("diagram.selectable.stroke.color","normal-text-color"),s("diagram.connectionDefaults.stroke.color","normal-text-color"),s("diagram.connectionDefaults.content.color","normal-text-color"),s("diagram.connectionDefaults.selection.handles.fill.color","primary-contrast"),s("diagram.connectionDefaults.selection.handles.stroke.color","normal-text-color"),s("diagram.connectionDefaults.selection.stroke.color","normal-text-color"),s("gauge.pointer.color","gauge-pointer"),s("gauge.scale.labels.color","normal-text-color"),s("gauge.scale.minorTicks.color","normal-text-color"),s("gauge.scale.majorTicks.color","normal-text-color"),s("gauge.scale.line.color","normal-text-color"),s("gauge.scale.rangePlaceholderColor","gauge-track");var o=parseFloat(n("chart-area-opacity","opacity"));isNaN(o)||(f("chart.seriesDefaults.area.opacity",o),f("chart.seriesDefaults.radarArea.opacity",o),f("chart.seriesDefaults.verticalArea.opacity",o),f("chart.seriesDefaults.labels.opacity",o)),d(["area","verticalArea"],"chart-area-inactive-opacity"),d(["line","verticalLine"],"chart-line-inactive-opacity")}(),f("diagram.connectionDefaults.selection.handles.width",8),f("diagram.connectionDefaults.selection.handles.height",8),function(){function o(o){return n(o,"fontWeight")+" "+n(o,"fontSize")+" "+n(o,"fontFamily")}var e=o("chart-font"),r=o("chart-title-font"),l=o("chart-pane-title-font"),c=o("chart-label-font");f("chart.axisDefaults.labels.font",c),f("chart.axisDefaults.notes.label.font",e),f("chart.axisDefaults.title.font",e),f("chart.legend.labels.font",e),f("chart.seriesDefaults.labels.font",c),f("chart.seriesDefaults.notes.label.font",e),f("chart.title.font",r),f("chart.subtitle.font",l),f("chart.paneDefaults.title.font",l)}(),c=o(".k-var--series div").toArray(),a=o(".k-var--series-unset").css("backgroundColor"),f("chart.seriesColors",c.reduce((function(e,r){var l=function(o){var e=o.match(/series-([a-z])$/);if(null!==e)return e[1].toLowerCase().charCodeAt(0)-"a".charCodeAt(0);var r=o.split("--series-")[1];return parseInt(r,10)-1}(r.className),c=o(r).css("backgroundColor");return c!==a&&(e[l]=c),e}),[])),i.remove(),e=t,t},function(o){var e,r,l=window.kendo,c=l.dataviz.ui,a=l.deepExtend,t="#000",i="#fff",s=l.dataviz.chartBaseTheme({gradients:!0}),n={scale:{labels:{font:"12px Arial,Helvetica,sans-serif"}}},f={shapeDefaults:{hover:{opacity:.2},stroke:{width:0}},editable:{resize:{handles:{width:7,height:7}}},selectable:{stroke:{width:1,dashType:"dot"}},connectionDefaults:{stroke:{width:2},selection:{handles:{width:8,height:8}},editable:{tools:["edit","delete"]}}},d=c.themes,b=c.registerTheme=function(o,e){var r={};r.chart=a({},s,e.chart),r.gauge=a({},n,e.gauge),r.diagram=a({},f,e.diagram),r.treeMap=a({},e.treeMap);var l=r.chart.seriesDefaults;l.verticalLine=a({},l.line),l.verticalArea=a({},l.area),l.rangeArea=a({},l.area),l.verticalRangeArea=a({},l.rangeArea),l.verticalBoxPlot=a({},l.boxPlot),l.polarArea=a({},l.radarArea),l.polarLine=a({},l.radarLine),d[o]=r};function h(e,r){return o.map(e,(function(o,e){return[[o,r[e]]]}))}b("black",{chart:{title:{color:i},subtitle:{color:i},legend:{labels:{color:i},inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}},seriesDefaults:{labels:{color:i},errorBars:{color:i},notes:{icon:{background:"#3b3b3b",border:{color:"#8e8e8e"}},label:{color:i},line:{color:"#8e8e8e"}},pie:{overlay:{gradient:"sharpBevel"}},donut:{overlay:{gradient:"sharpGlass"}},line:{markers:{background:"#3d3d3d"}},scatter:{markers:{background:"#3d3d3d"}},scatterLine:{markers:{background:"#3d3d3d"}},waterfall:{line:{color:"#8e8e8e"}},horizontalWaterfall:{line:{color:"#8e8e8e"}},candlestick:{downColor:"#555",line:{color:i},border:{_brightness:1.5,opacity:1},highlight:{border:{color:i,opacity:.2}}},ohlc:{line:{color:i}}},chartArea:{background:"#3d3d3d"},seriesColors:["#0081da","#3aafff","#99c900","#ffeb3d","#b20753","#ff4195"],axisDefaults:{line:{color:"#8e8e8e"},labels:{color:i},majorGridLines:{color:"#545454"},minorGridLines:{color:"#454545"},title:{color:i},crosshair:{color:"#8e8e8e"},notes:{icon:{background:"#3b3b3b",border:{color:"#8e8e8e"}},label:{color:i},line:{color:"#8e8e8e"}}}},gauge:{pointer:{color:"#0070e4"},scale:{rangePlaceholderColor:"#1d1d1d",labels:{color:i},minorTicks:{color:i},majorTicks:{color:i},line:{color:i}}},diagram:{shapeDefaults:{fill:{color:"#0066cc"},connectorDefaults:{fill:{color:i},stroke:{color:"#384049"},hover:{fill:{color:"#3d3d3d"},stroke:{color:"#efefef"}}},content:{color:i}},editable:{resize:{handles:{fill:{color:"#3d3d3d"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:i}}}},rotate:{thumb:{stroke:{color:i},fill:{color:i}}}},selectable:{stroke:{color:i}},connectionDefaults:{stroke:{color:i},content:{color:i},selection:{handles:{fill:{color:"#3d3d3d"},stroke:{color:"#efefef"}}}}},treeMap:{colors:[["#0081da","#314b5c"],["#3aafff","#3c5464"],["#99c900","#4f5931"],["#ffeb3d","#64603d"],["#b20753","#543241"],["#ff4195","#643e4f"]]}}),b("blueopal",{chart:{title:{color:"#293135"},subtitle:{color:"#293135"},legend:{labels:{color:"#293135"},inactiveItems:{labels:{color:"#27A5BA"},markers:{color:"#27A5BA"}}},seriesDefaults:{labels:{color:t,background:i,opacity:.5},errorBars:{color:"#293135"},candlestick:{downColor:"#c4d0d5",line:{color:"#9aabb2"}},waterfall:{line:{color:"#9aabb2"}},horizontalWaterfall:{line:{color:"#9aabb2"}},notes:{icon:{background:"transparent",border:{color:"#9aabb2"}},label:{color:"#293135"},line:{color:"#9aabb2"}}},seriesColors:["#0069a5","#0098ee","#7bd2f6","#ffb800","#ff8517","#e34a00"],axisDefaults:{line:{color:"#9aabb2"},labels:{color:"#293135"},majorGridLines:{color:"#c4d0d5"},minorGridLines:{color:"#edf1f2"},title:{color:"#293135"},crosshair:{color:"#9aabb2"},notes:{icon:{background:"transparent",border:{color:"#9aabb2"}},label:{color:"#293135"},line:{color:"#9aabb2"}}}},gauge:{pointer:{color:"#005c83"},scale:{rangePlaceholderColor:"#daecf4",labels:{color:"#293135"},minorTicks:{color:"#293135"},majorTicks:{color:"#293135"},line:{color:"#293135"}}},diagram:{shapeDefaults:{fill:{color:"#7ec6e3"},connectorDefaults:{fill:{color:"#003f59"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#003f59"}}},content:{color:"#293135"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#003f59"},hover:{fill:{color:"#003f59"},stroke:{color:"#003f59"}}}},rotate:{thumb:{stroke:{color:"#003f59"},fill:{color:"#003f59"}}}},selectable:{stroke:{color:"#003f59"}},connectionDefaults:{stroke:{color:"#003f59"},content:{color:"#293135"},selection:{handles:{fill:{color:"#3d3d3d"},stroke:{color:"#efefef"}}}}},treeMap:{colors:[["#0069a5","#bad7e7"],["#0098ee","#b9e0f5"],["#7bd2f6","#ceeaf6"],["#ffb800","#e6e3c4"],["#ff8517","#e4d8c8"],["#e34a00","#ddccc2"]]}}),b("highcontrast",{chart:{title:{color:"#ffffff"},subtitle:{color:"#ffffff"},legend:{labels:{color:"#ffffff"},inactiveItems:{labels:{color:"#66465B"},markers:{color:"#66465B"}}},seriesDefaults:{labels:{color:"#ffffff"},errorBars:{color:"#ffffff"},notes:{icon:{background:"transparent",border:{color:"#ffffff"}},label:{color:"#ffffff"},line:{color:"#ffffff"}},pie:{overlay:{gradient:"sharpGlass"}},donut:{overlay:{gradient:"sharpGlass"}},line:{markers:{background:"#2c232b"}},scatter:{markers:{background:"#2c232b"}},scatterLine:{markers:{background:"#2c232b"}},area:{opacity:.5},waterfall:{line:{color:"#ffffff"}},horizontalWaterfall:{line:{color:"#ffffff"}},candlestick:{downColor:"#664e62",line:{color:"#ffffff"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:"#ffffff",opacity:1}}},ohlc:{line:{color:"#ffffff"}}},chartArea:{background:"#2c232b"},seriesColors:["#a7008f","#ffb800","#3aafff","#99c900","#b20753","#ff4195"],axisDefaults:{line:{color:"#ffffff"},labels:{color:"#ffffff"},majorGridLines:{color:"#664e62"},minorGridLines:{color:"#4f394b"},title:{color:"#ffffff"},crosshair:{color:"#ffffff"},notes:{icon:{background:"transparent",border:{color:"#ffffff"}},label:{color:"#ffffff"},line:{color:"#ffffff"}}}},gauge:{pointer:{color:"#a7008f"},scale:{rangePlaceholderColor:"#2c232b",labels:{color:"#ffffff"},minorTicks:{color:"#2c232b"},majorTicks:{color:"#664e62"},line:{color:"#ffffff"}}},diagram:{shapeDefaults:{fill:{color:"#a7018f"},connectorDefaults:{fill:{color:i},stroke:{color:"#2c232b"},hover:{fill:{color:"#2c232b"},stroke:{color:i}}},content:{color:i}},editable:{resize:{handles:{fill:{color:"#2c232b"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:i}}}},rotate:{thumb:{stroke:{color:i},fill:{color:i}}}},selectable:{stroke:{color:i}},connectionDefaults:{stroke:{color:i},content:{color:i},selection:{handles:{fill:{color:"#2c232b"},stroke:{color:i}}}}},treeMap:{colors:[["#a7008f","#451c3f"],["#ffb800","#564122"],["#3aafff","#2f3f55"],["#99c900","#424422"],["#b20753","#471d33"],["#ff4195","#562940"]]}}),b("default",{chart:{title:{color:"#8e8e8e"},subtitle:{color:"#8e8e8e"},legend:{labels:{color:"#232323"},inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}},seriesDefaults:{labels:{color:t,background:i,opacity:.5},errorBars:{color:"#232323"},candlestick:{downColor:"#dedede",line:{color:"#8d8d8d"}},waterfall:{line:{color:"#8e8e8e"}},horizontalWaterfall:{line:{color:"#8e8e8e"}},notes:{icon:{background:"transparent",border:{color:"#8e8e8e"}},label:{color:"#232323"},line:{color:"#8e8e8e"}}},seriesColors:["#ff6800","#a0a700","#ff8d00","#678900","#ffb53c","#396000"],axisDefaults:{line:{color:"#8e8e8e"},labels:{color:"#232323"},minorGridLines:{color:"#f0f0f0"},majorGridLines:{color:"#dfdfdf"},title:{color:"#232323"},crosshair:{color:"#8e8e8e"},notes:{icon:{background:"transparent",border:{color:"#8e8e8e"}},label:{color:"#232323"},line:{color:"#8e8e8e"}}}},gauge:{pointer:{color:"#ea7001"},scale:{rangePlaceholderColor:"#dedede",labels:{color:"#2e2e2e"},minorTicks:{color:"#2e2e2e"},majorTicks:{color:"#2e2e2e"},line:{color:"#2e2e2e"}}},diagram:{shapeDefaults:{fill:{color:"#e15613"},connectorDefaults:{fill:{color:"#282828"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#282828"}}},content:{color:"#2e2e2e"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#282828"},hover:{fill:{color:"#282828"},stroke:{color:"#282828"}}}},rotate:{thumb:{stroke:{color:"#282828"},fill:{color:"#282828"}}}},selectable:{stroke:{color:"#a7018f"}},connectionDefaults:{stroke:{color:"#282828"},content:{color:"#2e2e2e"},selection:{handles:{fill:{color:i},stroke:{color:"#282828"}}}}},treeMap:{colors:[["#ff6800","#edcfba"],["#a0a700","#dadcba"],["#ff8d00","#edd7ba"],["#678900","#cfd6ba"],["#ffb53c","#eddfc6"],["#396000","#c6ceba"]]}}),b("silver",{chart:{title:{color:"#4e5968"},subtitle:{color:"#4e5968"},legend:{labels:{color:"#4e5968"},inactiveItems:{labels:{color:"#B1BCC8"},markers:{color:"#B1BCC8"}}},seriesDefaults:{labels:{color:"#293135",background:"#eaeaec",opacity:.5},errorBars:{color:"#4e5968"},notes:{icon:{background:"transparent",border:{color:"#4e5968"}},label:{color:"#4e5968"},line:{color:"#4e5968"}},line:{markers:{background:"#eaeaec"}},scatter:{markers:{background:"#eaeaec"}},scatterLine:{markers:{background:"#eaeaec"}},pie:{connectors:{color:"#A6B1C0"}},donut:{connectors:{color:"#A6B1C0"}},waterfall:{line:{color:"#a6b1c0"}},horizontalWaterfall:{line:{color:"#a6b1c0"}},candlestick:{downColor:"#a6afbe"}},chartArea:{background:"#eaeaec"},seriesColors:["#007bc3","#76b800","#ffae00","#ef4c00","#a419b7","#430B62"],axisDefaults:{line:{color:"#a6b1c0"},labels:{color:"#4e5968"},majorGridLines:{color:"#dcdcdf"},minorGridLines:{color:"#eeeeef"},title:{color:"#4e5968"},crosshair:{color:"#a6b1c0"},notes:{icon:{background:"transparent",border:{color:"#4e5968"}},label:{color:"#4e5968"},line:{color:"#4e5968"}}}},gauge:{pointer:{color:"#0879c0"},scale:{rangePlaceholderColor:"#f3f3f4",labels:{color:"#515967"},minorTicks:{color:"#515967"},majorTicks:{color:"#515967"},line:{color:"#515967"}}},diagram:{shapeDefaults:{fill:{color:"#1c82c2"},connectorDefaults:{fill:{color:"#515967"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#282828"}}},content:{color:"#515967"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#515967"},hover:{fill:{color:"#515967"},stroke:{color:"#515967"}}}},rotate:{thumb:{stroke:{color:"#515967"},fill:{color:"#515967"}}}},selectable:{stroke:{color:"#515967"}},connectionDefaults:{stroke:{color:"#515967"},content:{color:"#515967"},selection:{handles:{fill:{color:i},stroke:{color:"#515967"}}}}},treeMap:{colors:[["#007bc3","#c2dbea"],["#76b800","#dae7c3"],["#ffae00","#f5e5c3"],["#ef4c00","#f2d2c3"],["#a419b7","#e3c7e8"],["#430b62","#d0c5d7"]]}}),b("metro",{chart:{title:{color:"#777777"},subtitle:{color:"#777777"},legend:{labels:{color:"#777777"},inactiveItems:{labels:{color:"#CBCBCB"},markers:{color:"#CBCBCB"}}},seriesDefaults:{labels:{color:t},errorBars:{color:"#777777"},notes:{icon:{background:"transparent",border:{color:"#777777"}},label:{color:"#777777"},line:{color:"#777777"}},candlestick:{downColor:"#c7c7c7",line:{color:"#787878"}},waterfall:{line:{color:"#c7c7c7"}},horizontalWaterfall:{line:{color:"#c7c7c7"}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:["#8ebc00","#309b46","#25a0da","#ff6900","#e61e26","#d8e404","#16aba9","#7e51a1","#313131","#ed1691"],axisDefaults:{line:{color:"#c7c7c7"},labels:{color:"#777777"},minorGridLines:{color:"#c7c7c7"},majorGridLines:{color:"#c7c7c7"},title:{color:"#777777"},crosshair:{color:"#c7c7c7"},notes:{icon:{background:"transparent",border:{color:"#777777"}},label:{color:"#777777"},line:{color:"#777777"}}}},gauge:{pointer:{color:"#8ebc00"},scale:{rangePlaceholderColor:"#e6e6e6",labels:{color:"#777"},minorTicks:{color:"#777"},majorTicks:{color:"#777"},line:{color:"#777"}}},diagram:{shapeDefaults:{fill:{color:"#8ebc00"},connectorDefaults:{fill:{color:t},stroke:{color:i},hover:{fill:{color:i},stroke:{color:t}}},content:{color:"#777"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#787878"},hover:{fill:{color:"#787878"},stroke:{color:"#787878"}}}},rotate:{thumb:{stroke:{color:"#787878"},fill:{color:"#787878"}}}},selectable:{stroke:{color:"#515967"}},connectionDefaults:{stroke:{color:"#787878"},content:{color:"#777"},selection:{handles:{fill:{color:i},stroke:{color:"#787878"}}}}},treeMap:{colors:[["#8ebc00","#e8f2cc"],["#309b46","#d6ebda"],["#25a0da","#d3ecf8"],["#ff6900","#ffe1cc"],["#e61e26","#fad2d4"],["#d8e404","#f7facd"],["#16aba9","#d0eeee"],["#7e51a1","#e5dcec"],["#313131","#d6d6d6"],["#ed1691","#fbd0e9"]]}}),b("metroblack",{chart:{title:{color:"#ffffff"},subtitle:{color:"#ffffff"},legend:{labels:{color:"#ffffff"},inactiveItems:{labels:{color:"#797979"},markers:{color:"#797979"}}},seriesDefaults:{border:{_brightness:1},labels:{color:"#ffffff"},errorBars:{color:"#ffffff"},notes:{icon:{background:"transparent",border:{color:"#cecece"}},label:{color:"#ffffff"},line:{color:"#cecece"}},line:{markers:{background:"#0e0e0e"}},bubble:{opacity:.6},scatter:{markers:{background:"#0e0e0e"}},scatterLine:{markers:{background:"#0e0e0e"}},candlestick:{downColor:"#828282",line:{color:"#ffffff"}},waterfall:{line:{color:"#cecece"}},horizontalWaterfall:{line:{color:"#cecece"}},overlay:{gradient:"none"}},chartArea:{background:"#0e0e0e"},seriesColors:["#00aba9","#309b46","#8ebc00","#ff6900","#e61e26","#d8e404","#25a0da","#7e51a1","#313131","#ed1691"],axisDefaults:{line:{color:"#cecece"},labels:{color:"#ffffff"},minorGridLines:{color:"#2d2d2d"},majorGridLines:{color:"#333333"},title:{color:"#ffffff"},crosshair:{color:"#cecece"},notes:{icon:{background:"transparent",border:{color:"#cecece"}},label:{color:"#ffffff"},line:{color:"#cecece"}}}},gauge:{pointer:{color:"#00aba9"},scale:{rangePlaceholderColor:"#2d2d2d",labels:{color:"#ffffff"},minorTicks:{color:"#333333"},majorTicks:{color:"#cecece"},line:{color:"#cecece"}}},diagram:{shapeDefaults:{fill:{color:"#00aba9"},connectorDefaults:{fill:{color:i},stroke:{color:"#0e0e0e"},hover:{fill:{color:"#0e0e0e"},stroke:{color:i}}},content:{color:i}},editable:{resize:{handles:{fill:{color:"#0e0e0e"},stroke:{color:"#787878"},hover:{fill:{color:"#787878"},stroke:{color:"#787878"}}}},rotate:{thumb:{stroke:{color:i},fill:{color:i}}}},selectable:{stroke:{color:"#787878"}},connectionDefaults:{stroke:{color:i},content:{color:i},selection:{handles:{fill:{color:"#0e0e0e"},stroke:{color:i}}}}},treeMap:{colors:[["#00aba9","#0b2d2d"],["#309b46","#152a19"],["#8ebc00","#28310b"],["#ff6900","#3e200b"],["#e61e26","#391113"],["#d8e404","#36390c"],["#25a0da","#132b37"],["#7e51a1","#241b2b"],["#313131","#151515"],["#ed1691","#3b1028"]]}}),b("moonlight",{chart:{title:{color:"#ffffff"},subtitle:{color:"#ffffff"},legend:{labels:{color:"#ffffff"},inactiveItems:{labels:{color:"#A1A7AB"},markers:{color:"#A1A7AB"}}},seriesDefaults:{labels:{color:"#ffffff"},errorBars:{color:"#ffffff"},notes:{icon:{background:"transparent",border:{color:"#8c909e"}},label:{color:"#ffffff"},line:{color:"#8c909e"}},pie:{overlay:{gradient:"sharpBevel"}},donut:{overlay:{gradient:"sharpGlass"}},line:{markers:{background:"#212a33"}},bubble:{opacity:.6},scatter:{markers:{background:"#212a33"}},scatterLine:{markers:{background:"#212a33"}},area:{opacity:.3},candlestick:{downColor:"#757d87",line:{color:"#ea9d06"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:i,opacity:.2}}},waterfall:{line:{color:"#8c909e"}},horizontalWaterfall:{line:{color:"#8c909e"}},ohlc:{line:{color:"#ea9d06"}}},chartArea:{background:"#212a33"},seriesColors:["#ffca08","#ff710f","#ed2e24","#ff9f03","#e13c02","#a00201"],axisDefaults:{line:{color:"#8c909e"},minorTicks:{color:"#8c909e"},majorTicks:{color:"#8c909e"},labels:{color:"#ffffff"},majorGridLines:{color:"#3e424d"},minorGridLines:{color:"#2f3640"},title:{color:"#ffffff"},crosshair:{color:"#8c909e"},notes:{icon:{background:"transparent",border:{color:"#8c909e"}},label:{color:"#ffffff"},line:{color:"#8c909e"}}}},gauge:{pointer:{color:"#f4af03"},scale:{rangePlaceholderColor:"#2f3640",labels:{color:i},minorTicks:{color:"#8c909e"},majorTicks:{color:"#8c909e"},line:{color:"#8c909e"}}},diagram:{shapeDefaults:{fill:{color:"#f3ae03"},connectorDefaults:{fill:{color:i},stroke:{color:"#414550"},hover:{fill:{color:"#414550"},stroke:{color:i}}},content:{color:i}},editable:{resize:{handles:{fill:{color:"#414550"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:i}}}},rotate:{thumb:{stroke:{color:i},fill:{color:i}}}},selectable:{stroke:{color:i}},connectionDefaults:{stroke:{color:i},content:{color:i},selection:{handles:{fill:{color:"#414550"},stroke:{color:i}}}}},treeMap:{colors:[["#ffca08","#4e4b2b"],["#ff710f","#4e392d"],["#ed2e24","#4b2c31"],["#ff9f03","#4e422a"],["#e13c02","#482e2a"],["#a00201","#3b232a"]]}}),b("uniform",{chart:{title:{color:"#686868"},subtitle:{color:"#686868"},legend:{labels:{color:"#686868"},inactiveItems:{labels:{color:"#B6B6B6"},markers:{color:"#B6B6B6"}}},seriesDefaults:{labels:{color:"#686868"},errorBars:{color:"#686868"},notes:{icon:{background:"transparent",border:{color:"#9e9e9e"}},label:{color:"#686868"},line:{color:"#9e9e9e"}},pie:{overlay:{gradient:"sharpBevel"}},donut:{overlay:{gradient:"sharpGlass"}},line:{markers:{background:"#ffffff"}},bubble:{opacity:.6},scatter:{markers:{background:"#ffffff"}},scatterLine:{markers:{background:"#ffffff"}},area:{opacity:.3},candlestick:{downColor:"#cccccc",line:{color:"#cccccc"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:"#cccccc",opacity:.2}}},waterfall:{line:{color:"#9e9e9e"}},horizontalWaterfall:{line:{color:"#9e9e9e"}},ohlc:{line:{color:"#cccccc"}}},chartArea:{background:"#ffffff"},seriesColors:["#527aa3","#6f91b3","#8ca7c2","#a8bdd1","#c5d3e0","#e2e9f0"],axisDefaults:{line:{color:"#9e9e9e"},minorTicks:{color:"#aaaaaa"},majorTicks:{color:"#888888"},labels:{color:"#686868"},majorGridLines:{color:"#dadada"},minorGridLines:{color:"#e7e7e7"},title:{color:"#686868"},crosshair:{color:"#9e9e9e"},notes:{icon:{background:"transparent",border:{color:"#9e9e9e"}},label:{color:"#686868"},line:{color:"#9e9e9e"}}}},gauge:{pointer:{color:"#527aa3"},scale:{rangePlaceholderColor:"#e7e7e7",labels:{color:"#686868"},minorTicks:{color:"#aaaaaa"},majorTicks:{color:"#888888"},line:{color:"#9e9e9e"}}},diagram:{shapeDefaults:{fill:{color:"#d1d1d1"},connectorDefaults:{fill:{color:"#686868"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#686868"}}},content:{color:"#686868"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#686868"},hover:{fill:{color:"#686868"},stroke:{color:"#686868"}}}},rotate:{thumb:{stroke:{color:"#686868"},fill:{color:"#686868"}}}},selectable:{stroke:{color:"#686868"}},connectionDefaults:{stroke:{color:"#686868"},content:{color:"#686868"},selection:{handles:{fill:{color:i},stroke:{color:"#686868"}}}}},treeMap:{colors:[["#527aa3","#d0d8e1"],["#6f91b3","#d6dde4"],["#8ca7c2","#dce1e7"],["#a8bdd1","#e2e6ea"],["#c5d3e0","#e7eaed"],["#e2e9f0","#edeff0"]]}}),b("bootstrap",{chart:{title:{color:"#333333"},subtitle:{color:"#333333"},legend:{labels:{color:"#333333"},inactiveItems:{labels:{color:"#999999"},markers:{color:"#9A9A9A"}}},seriesDefaults:{labels:{color:"#333333"},overlay:{gradient:"none"},errorBars:{color:"#343434"},notes:{icon:{background:"#000000",border:{color:"#000000"}},label:{color:"#333333"},line:{color:"#000000"}},pie:{overlay:{gradient:"none"}},donut:{overlay:{gradient:"none"}},line:{markers:{background:"#ffffff"}},bubble:{opacity:.6},scatter:{markers:{background:"#ffffff"}},scatterLine:{markers:{background:"#ffffff"}},area:{opacity:.8},candlestick:{downColor:"#d0d0d0",line:{color:"#333333"},border:{_brightness:1.5,opacity:1},highlight:{border:{color:"#b8b8b8",opacity:.2}}},waterfall:{line:{color:"#cccccc"}},horizontalWaterfall:{line:{color:"#cccccc"}},ohlc:{line:{color:"#333333"}}},chartArea:{background:"#ffffff"},seriesColors:["#428bca","#5bc0de","#5cb85c","#f2b661","#e67d4a","#da3b36"],axisDefaults:{line:{color:"#cccccc"},minorTicks:{color:"#ebebeb"},majorTicks:{color:"#cccccc"},labels:{color:"#333333"},majorGridLines:{color:"#cccccc"},minorGridLines:{color:"#ebebeb"},title:{color:"#333333"},crosshair:{color:"#000000"},notes:{icon:{background:"#000000",border:{color:"#000000"}},label:{color:"#ffffff"},line:{color:"#000000"}}}},gauge:{pointer:{color:"#428bca"},scale:{rangePlaceholderColor:"#cccccc",labels:{color:"#333333"},minorTicks:{color:"#ebebeb"},majorTicks:{color:"#cccccc"},line:{color:"#cccccc"}}},diagram:{shapeDefaults:{fill:{color:"#428bca"},connectorDefaults:{fill:{color:"#333333"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#333333"}}},content:{color:"#333333"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#333333"},hover:{fill:{color:"#333333"},stroke:{color:"#333333"}}}},rotate:{thumb:{stroke:{color:"#333333"},fill:{color:"#333333"}}}},selectable:{stroke:{color:"#333333"}},connectionDefaults:{stroke:{color:"#c4c4c4"},content:{color:"#333333"},selection:{handles:{fill:{color:i},stroke:{color:"#333333"}},stroke:{color:"#333333"}}}},treeMap:{colors:[["#428bca","#d1e0ec"],["#5bc0de","#d6eaf0"],["#5cb85c","#d6e9d6"],["#5cb85c","#f4e8d7"],["#e67d4a","#f2ddd3"],["#da3b36","#f0d0cf"]]}}),b("flat",{chart:{title:{color:"#4c5356"},subtitle:{color:"#4c5356"},legend:{labels:{color:"#4c5356"},inactiveItems:{labels:{color:"#CBCBCB"},markers:{color:"#CBCBCB"}}},seriesDefaults:{labels:{color:"#4c5356"},errorBars:{color:"#4c5356"},notes:{icon:{background:"transparent",border:{color:"#cdcdcd"}},label:{color:"#4c5356"},line:{color:"#cdcdcd"}},candlestick:{downColor:"#c7c7c7",line:{color:"#787878"}},area:{opacity:.9},waterfall:{line:{color:"#cdcdcd"}},horizontalWaterfall:{line:{color:"#cdcdcd"}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:["#10c4b2","#ff7663","#ffb74f","#a2df53","#1c9ec4","#ff63a5","#1cc47b"],axisDefaults:{line:{color:"#cdcdcd"},labels:{color:"#4c5356"},minorGridLines:{color:"#cdcdcd"},majorGridLines:{color:"#cdcdcd"},title:{color:"#4c5356"},crosshair:{color:"#cdcdcd"},notes:{icon:{background:"transparent",border:{color:"#cdcdcd"}},label:{color:"#4c5356"},line:{color:"#cdcdcd"}}}},gauge:{pointer:{color:"#10c4b2"},scale:{rangePlaceholderColor:"#cdcdcd",labels:{color:"#4c5356"},minorTicks:{color:"#4c5356"},majorTicks:{color:"#4c5356"},line:{color:"#4c5356"}}},diagram:{shapeDefaults:{fill:{color:"#10c4b2"},connectorDefaults:{fill:{color:"#363940"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#363940"}}},content:{color:"#4c5356"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#363940"},hover:{fill:{color:"#363940"},stroke:{color:"#363940"}}}},rotate:{thumb:{stroke:{color:"#363940"},fill:{color:"#363940"}}}},selectable:{stroke:{color:"#363940"}},connectionDefaults:{stroke:{color:"#cdcdcd"},content:{color:"#4c5356"},selection:{handles:{fill:{color:i},stroke:{color:"#363940"}},stroke:{color:"#363940"}}}},treeMap:{colors:[["#10c4b2","#cff3f0"],["#ff7663","#ffe4e0"],["#ffb74f","#fff1dc"],["#a2df53","#ecf9dd"],["#1c9ec4","#d2ecf3"],["#ff63a5","#ffe0ed"],["#1cc47b","#d2f3e5"]]}}),b("material",{chart:{title:{color:"#444444"},subtitle:{color:"#444444"},legend:{labels:{color:"#444444"},inactiveItems:{labels:{color:"#CBCBCB"},markers:{color:"#CBCBCB"}}},seriesDefaults:{labels:{color:"#444444"},errorBars:{color:"#444444"},notes:{icon:{background:"transparent",border:{color:"#e5e5e5"}},label:{color:"#444444"},line:{color:"#e5e5e5"}},candlestick:{downColor:"#c7c7c7",line:{color:"#787878"}},area:{opacity:.9},waterfall:{line:{color:"#e5e5e5"}},horizontalWaterfall:{line:{color:"#e5e5e5"}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#ff9800","#ff5722"],axisDefaults:{line:{color:"#e5e5e5"},labels:{color:"#444444"},minorGridLines:{color:"#e5e5e5"},majorGridLines:{color:"#e5e5e5"},title:{color:"#444444"},crosshair:{color:"#7f7f7f"},notes:{icon:{background:"transparent",border:{color:"#e5e5e5"}},label:{color:"#444444"},line:{color:"#e5e5e5"}}}},gauge:{pointer:{color:"#3f51b5"},scale:{rangePlaceholderColor:"#e5e5e5",labels:{color:"#444444"},minorTicks:{color:"#444444"},majorTicks:{color:"#444444"},line:{color:"#444444"}}},diagram:{shapeDefaults:{fill:{color:"#3f51b5"},connectorDefaults:{fill:{color:"#7f7f7f"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#7f7f7f"}}},content:{color:"#444444"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#444444"},hover:{fill:{color:"#444444"},stroke:{color:"#444444"}}}},rotate:{thumb:{stroke:{color:"#444444"},fill:{color:"#444444"}}}},selectable:{stroke:{color:"#444444"}},connectionDefaults:{stroke:{color:"#7f7f7f"},content:{color:"#444444"},selection:{handles:{fill:{color:i},stroke:{color:"#444444"}},stroke:{color:"#444444"}}}},treeMap:{colors:[["#3f51b5","#cff3f0"],["#03a9f4","#e5f6fe"],["#4caf50","#edf7ed"],["#f9ce1d","#fefae8"],["#ff9800","#fff4e5"],["#ff5722","#ffeee8"]]}}),b("materialblack",{chart:{title:{color:"#fff"},subtitle:{color:"#fff"},legend:{labels:{color:"#fff"},inactiveItems:{labels:{color:"#CBCBCB"},markers:{color:"#CBCBCB"}}},seriesDefaults:{labels:{color:"#fff"},errorBars:{color:"#fff"},notes:{icon:{background:"transparent",border:{color:"#e5e5e5"}},label:{color:"#fff"},line:{color:"#e5e5e5"}},candlestick:{downColor:"#c7c7c7",line:{color:"#787878"}},area:{opacity:.9},waterfall:{line:{color:"#4d4d4d"}},horizontalWaterfall:{line:{color:"#4d4d4d"}},overlay:{gradient:"none"},border:{_brightness:1}},chartArea:{background:"#1c1c1c"},seriesColors:["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#ff9800","#ff5722"],axisDefaults:{line:{color:"#4d4d4d"},labels:{color:"#fff"},minorGridLines:{color:"#4d4d4d"},majorGridLines:{color:"#4d4d4d"},title:{color:"#fff"},crosshair:{color:"#7f7f7f"},notes:{icon:{background:"transparent",border:{color:"#4d4d4d"}},label:{color:"#fff"},line:{color:"#4d4d4d"}}}},gauge:{pointer:{color:"#3f51b5"},scale:{rangePlaceholderColor:"#4d4d4d",labels:{color:"#fff"},minorTicks:{color:"#fff"},majorTicks:{color:"#fff"},line:{color:"#fff"}}},diagram:{shapeDefaults:{fill:{color:"#3f51b5"},connectorDefaults:{fill:{color:"#7f7f7f"},stroke:{color:i},hover:{fill:{color:i},stroke:{color:"#7f7f7f"}}},content:{color:"#fff"}},editable:{resize:{handles:{fill:{color:i},stroke:{color:"#fff"},hover:{fill:{color:"#fff"},stroke:{color:"#fff"}}}},rotate:{thumb:{stroke:{color:"#fff"},fill:{color:"#fff"}}}},selectable:{stroke:{color:"#fff"}},connectionDefaults:{stroke:{color:"#7f7f7f"},content:{color:"#fff"},selection:{handles:{fill:{color:i},stroke:{color:"#fff"}},stroke:{color:"#fff"}}}},treeMap:{colors:[["#3f51b5","#cff3f0"],["#03a9f4","#e5f6fe"],["#4caf50","#edf7ed"],["#f9ce1d","#fefae8"],["#ff9800","#fff4e5"],["#ff5722","#ffeee8"]]}}),function(){var o="#333333",e="#7f7f7f",r="#bdbdbd",l="#c8c8c8",c=["#008fd3","#99d101","#f39b02","#f05662","#c03c53","#acacac"],a=c[0],t=i;function s(){return{icon:{background:"#007cc0",border:{color:"#007cc0"}},label:{color:"#ffffff"},line:{color:l}}}b("fiori",{chart:{title:{color:o},subtitle:{color:o},legend:{labels:{color:o},inactiveItems:{labels:{color:e},markers:{color:e}}},seriesDefaults:{labels:{color:o},errorBars:{color:o},notes:s(),candlestick:{downColor:l,line:{color:r}},area:{opacity:.8},waterfall:{line:{color:l}},horizontalWaterfall:{line:{color:l}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:c,axisDefaults:{line:{color:l},labels:{color:o},minorGridLines:{color:"#dddddd"},majorGridLines:{color:l},title:{color:o},crosshair:{color:e},notes:s()}},gauge:{pointer:{color:a},scale:{rangePlaceholderColor:l,labels:{color:o},minorTicks:{color:o},majorTicks:{color:o},line:{color:o}}},diagram:{shapeDefaults:{fill:{color:a},connectorDefaults:{fill:{color:o},stroke:{color:t},hover:{fill:{color:t},stroke:{color:o}}},content:{color:o}},editable:{resize:{handles:{fill:{color:t},stroke:{color:r},hover:{fill:{color:r},stroke:{color:r}}}},rotate:{thumb:{stroke:{color:r},fill:{color:r}}}},selectable:{stroke:{color:r}},connectionDefaults:{stroke:{color:r},content:{color:r},selection:{handles:{fill:{color:t},stroke:{color:r}},stroke:{color:r}}}},treeMap:{colors:h(c,["#cbe8f5","#eaf5cb","#fceacc","#fbdcdf","#f2d7dc","#eeeeee"])}})}(),function(){var o="#4e4e4e",e="#7f7f7f",r="#bdbdbd",l="#c8c8c8",c=["#0072c6","#5db2ff","#008a17","#82ba00","#ff8f32","#ac193d"],a=c[0],t=i;function s(){return{icon:{background:"#00b0ff",border:{color:"#00b0ff"}},label:{color:"#ffffff"},line:{color:l}}}b("office365",{chart:{title:{color:o},subtitle:{color:o},legend:{labels:{color:o},inactiveItems:{labels:{color:e},markers:{color:e}}},seriesDefaults:{labels:{color:o},errorBars:{color:o},notes:s(),candlestick:{downColor:l,line:{color:r}},area:{opacity:.8},waterfall:{line:{color:l}},horizontalWaterfall:{line:{color:l}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:c,axisDefaults:{line:{color:l},labels:{color:o},minorGridLines:{color:"#e5e5e5"},majorGridLines:{color:l},title:{color:o},crosshair:{color:e},notes:s()}},gauge:{pointer:{color:a},scale:{rangePlaceholderColor:l,labels:{color:o},minorTicks:{color:o},majorTicks:{color:o},line:{color:o}}},diagram:{shapeDefaults:{fill:{color:a},connectorDefaults:{fill:{color:o},stroke:{color:t},hover:{fill:{color:t},stroke:{color:o}}},content:{color:o}},editable:{resize:{handles:{fill:{color:t},stroke:{color:r},hover:{fill:{color:r},stroke:{color:r}}}},rotate:{thumb:{stroke:{color:r},fill:{color:r}}}},selectable:{stroke:{color:r}},connectionDefaults:{stroke:{color:r},content:{color:r},selection:{handles:{fill:{color:t},stroke:{color:r}},stroke:{color:r}}}},treeMap:{colors:h(c,["#cbe2f3","#deeffe","#cbe7d0","#e5f0cb","#fee8d5","#eed0d7"])}})}(),function(){var o="#32364c",e="#7f7f7f",r="#bdbdbd",l="#dfe0e1",c=["#ff4350","#ff9ea5","#00acc1","#80deea","#ffbf46","#ffd78c"],a=c[0],t=i;function s(){return{icon:{background:"#007cc0",border:{color:"#007cc0"}},label:{color:"#ffffff"},line:{color:l}}}b("nova",{chart:{title:{color:o},subtitle:{color:o},legend:{labels:{color:o},inactiveItems:{labels:{color:e},markers:{color:e}}},seriesDefaults:{labels:{color:o},errorBars:{color:o},notes:s(),candlestick:{downColor:l,line:{color:r}},area:{opacity:.8},waterfall:{line:{color:l}},horizontalWaterfall:{line:{color:l}},overlay:{gradient:"none"},border:{_brightness:1}},seriesColors:c,axisDefaults:{line:{color:l},labels:{color:o},minorGridLines:{color:"#dfe0e1"},majorGridLines:{color:l},title:{color:o},crosshair:{color:o},notes:s()}},gauge:{pointer:{color:a},scale:{rangePlaceholderColor:l,labels:{color:o},minorTicks:{color:o},majorTicks:{color:o},line:{color:o}}},diagram:{shapeDefaults:{fill:{color:a},connectorDefaults:{fill:{color:o},stroke:{color:t},hover:{fill:{color:t},stroke:{color:o}}},content:{color:o}},editable:{resize:{handles:{fill:{color:t},stroke:{color:r},hover:{fill:{color:r},stroke:{color:r}}}},rotate:{thumb:{stroke:{color:r},fill:{color:r}}}},selectable:{stroke:{color:r}},connectionDefaults:{stroke:{color:r},content:{color:r},selection:{handles:{fill:{color:t},stroke:{color:r}},stroke:{color:r}}}},treeMap:{colors:h(c,["#ffd9dc","#ffeced","#cceef3","#e6f8fb","#fff2da","#fff7e8"])}})}(),b("default-v2",{chart:{},gauge:{},diagram:{},treeMap:{colors:h(["#ff6358","#ffd246","#78d237","#28b4c8","#2d73f5","#aa46be"],["#ffd9dc","#ffeced","#cceef3","#e6f8fb","#fff2da","#fff7e8"])}}),d.sass=d["default-v2"],b("bootstrap-v4",{chart:{},gauge:{pointer:{color:(r=["#0275d8","#5bc0de","#5cb85c","#f0ad4e","#e67d4a","#d9534f"])[0]},scale:{rangePlaceholderColor:"rgba(0, 0, 0, .04)",labels:{color:e="#292b2c"},minorTicks:{color:e},majorTicks:{color:e},line:{color:e}}},diagram:{},treeMap:{colors:h(r,["#ffd9dc","#ffeced","#cceef3","#e6f8fb","#fff2da","#fff7e8"])}})}(window.kendo.jQuery);return kendo}));
//# sourceMappingURL=kendo.dataviz.themes.min.js.map
;!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("kendo.core.js"),require("kendo.color.js"),require("kendo.drawing.js"),require("kendo.dataviz.core.js"),require("kendo.breadcrumb.js"),require("kendo.data.js"),require("kendo.dataviz.themes.js"),require("kendo.userevents.js"),require("kendo.icons.js")):"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.color.min","kendo.drawing.min","kendo.dataviz.core.min","kendo.breadcrumb.min","kendo.data.min","kendo.dataviz.themes.min","kendo.userevents.min","kendo.icons.min"],e):((t="undefined"!=typeof globalThis?globalThis:t||self).kendodataviz=t.kendodataviz||{},t.kendodataviz.chart=t.kendodataviz.chart||{},t.kendodataviz.chart.js=e())}(this,(function(){!function(t){window.kendo.dataviz=window.kendo.dataviz||{};var e=kendo.dataviz,i=e.Class,n=e.isNumber,s=e.constants,r=s.MAX_VALUE,o=s.MIN_VALUE,a=s.VALUE,h=s.DATE,l=s.CENTER,c=s.TOP,u=s.BOTTOM,p=s.LEFT,d=s.WHITE,f=s.CIRCLE,v=s.X,g=s.Y,x=s.RIGHT,m=s.BLACK,y=s.DEFAULT_PRECISION,_=s.ARC,b=e.defined,w=e.getter,A=e.isArray,S=e.ChartElement,C=e.Point,k=e.Box,P=e.alignPathToPixel,I=e.setDefaultOptions,T=e.isString,E=e.inArray,R=e.isFunction,V=e.valueOrDefault,L=e.isObject,O=e.parseDate,M=e.deepExtend,B=e.last,D=e.eventElement,F=e.getTemplate,z=e.TextBox,H=e.ShapeElement,N=e.getSpacing,G=e.CurveProcessor,q=e.append,X=e.styleValue,W=e.CategoryAxis,Y=e.BoxElement,U=e.Title,Z=e.round,j=e.limitValue,K=e.grep,Q=e.elementStyles,$=e.bindEvents,J=e.services,tt=e.unbindEvents,et=kendo.support,it=kendo.drawing,nt=it.Path,st=it.Animation,rt=it.AnimationFactory,ot=it.Group,at=kendo.Color,ht=kendo.geometry,lt=ht.Point,ct=ht.transform,ut=i.extend({init:function(t){this._axis=t,this.options=t.options},value:function(t){var e=this._axis;return e.getCategory?e.getCategory(t):e.getValue(t)},slot:function(t,e,i){return void 0===i&&(i=!0),this._axis.slot(t,e,i)},range:function(){return this._axis.range()},valueRange:function(){return this._axis.valueRange()}});function pt(t,e){for(var i=0;i<e.length;i++)if(e[i].options.name===t)return e[i].prepareUserOptions(),new ut(e[i])}var dt=kendo.Class.extend({init:function(t){this.visual=t.visual,this.chartsVisual=t.chartContainer.visual,this._pane=t},findAxisByName:function(t){return pt(t,this._pane.axes)}}),ft=i.extend({init:function(t){this._plotArea=t,this.visual=t.visual,this.backgroundVisual=t._bgVisual}});function vt(t){for(var e=t.length,i=0,s=0;s<e;s++){var r=t[s];n(r)&&i++}return i}var gt={min:function(t){for(var e=t.length,i=r,s=0;s<e;s++){var o=t[s];n(o)&&(i=Math.min(i,o))}return i===r?t[0]:i},max:function(t){for(var e=t.length,i=o,s=0;s<e;s++){var r=t[s];n(r)&&(i=Math.max(i,r))}return i===o?t[0]:i},sum:function(t){for(var e=t.length,i=0,s=0;s<e;s++){var r=t[s];n(r)&&(i+=r)}return i},sumOrNull:function(t){var e=null;return vt(t)&&(e=gt.sum(t)),e},count:function(t){for(var e=t.length,i=0,n=0;n<e;n++){var s=t[n];null!==s&&b(s)&&i++}return i},avg:function(t){var e=vt(t),i=t[0];return e>0&&(i=gt.sum(t)/e),i},first:function(t){for(var e=t.length,i=0;i<e;i++){var n=t[i];if(null!==n&&b(n))return n}return t[0]}};function xt(t,e){return null===e?e:w(t,!0)(e)}var mt=i.extend({init:function(){this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}},register:function(t,e,i){var n=this;void 0===e&&(e=[a]),void 0===i&&(i={});for(var s=0;s<t.length;s++){var r=t[s];n._valueFields[r]=e,n._otherFields[r]=i,n._nullValue[r]=n._makeValue(e,null),n._undefinedValue[r]=n._makeValue(e,void 0)}},canonicalFields:function(t){return this.valueFields(t).concat(this.otherFields(t))},valueFields:function(t){return this._valueFields[t.type]||[a]},otherFields:function(t){return this._otherFields[t.type]||[a]},bindPoint:function(t,e,i){var n,s,r=t.data,o=b(i)?i:r[e],a={valueFields:{value:o}},h=this.valueFields(t),l=this._otherFields[t.type];if(null===o)s=this._nullValue[t.type];else if(b(o)){if(Array.isArray(o)){var c=o.slice(h.length);s=this._bindFromArray(o,h),n=this._bindFromArray(c,l)}else if("object"==typeof o){var u=this.sourceFields(t,h),p=this.sourceFields(t,l);s=this._bindFromObject(o,h,u),n=this._bindFromObject(o,l,p)}}else s=this._undefinedValue[t.type];return b(s)&&(1===h.length?a.valueFields.value=s[h[0]]:a.valueFields=s),a.fields=n||{},a},_makeValue:function(t,e){for(var i={},n=t.length,s=0;s<n;s++){i[t[s]]=e}return i},_bindFromArray:function(t,e){var i={};if(e)for(var n=Math.min(e.length,t.length),s=0;s<n;s++)i[e[s]]=t[s];return i},_bindFromObject:function(t,e,i){void 0===i&&(i=e);var n={};if(e)for(var s=e.length,r=0;r<s;r++){var o=e[r],a=i[r];null!==a&&(n[o]=xt(a,t))}return n},sourceFields:function(t,e){var i=[];if(e)for(var n=e.length,s=0;s<n;s++){var r=e[s],o=r===a?"field":r+"Field";i.push(null!==t[o]?t[o]||r:null)}return i}});mt.current=new mt;var yt=/percent(?:\w*)\((\d+)\)/,_t=new RegExp("^stddev(?:\\((\\d+(?:\\.\\d+)?)\\))?$"),bt=i.extend({init:function(t,e,i){this.initGlobalRanges(t,e,i)},initGlobalRanges:function(t,e,i){var n=e.data,s=_t.exec(t);if(s){this.valueGetter=this.createValueGetter(e,i);var r=this.getAverage(n),o=this.getStandardDeviation(n,r,!1),a=s[1]?parseFloat(s[1]):1,h={low:r.value-o*a,high:r.value+o*a};this.globalRange=function(){return h}}else if(t.indexOf&&t.indexOf("stderr")>=0){this.valueGetter=this.createValueGetter(e,i);var l=this.getStandardError(n,this.getAverage(n));this.globalRange=function(t){return{low:t-l,high:t+l}}}},createValueGetter:function(t,e){var i,r=t.data,o=mt.current,a=o.valueFields(t),h=b(r[0])?r[0]:{};if(A(h)){var l=e?a.indexOf(e):0;i=w("["+l+"]")}else if(n(h))i=w();else if(typeof h===s.OBJECT){var c=o.sourceFields(t,a);i=w(c[a.indexOf(e)])}return i},getErrorRange:function(t,e){var i,s,r;if(!b(e))return null;if(this.globalRange)return this.globalRange(t);if(A(e))i=t-e[0],s=t+e[1];else if(n(r=parseFloat(e)))i=t-r,s=t+r;else{if(!(r=yt.exec(e)))throw new Error("Invalid ErrorBar value: "+e);var o=t*(parseFloat(r[1])/100);i=t-Math.abs(o),s=t+Math.abs(o)}return{low:i,high:s}},getStandardError:function(t,e){return this.getStandardDeviation(t,e,!0)/Math.sqrt(e.count)},getStandardDeviation:function(t,e,i){for(var s=t.length,r=i?e.count-1:e.count,o=0,a=0;a<s;a++){var h=this.valueGetter(t[a]);n(h)&&(o+=Math.pow(h-e.value,2))}return Math.sqrt(o/r)},getAverage:function(t){for(var e=t.length,i=0,s=0,r=0;r<e;r++){var o=this.valueGetter(t[r]);n(o)&&(i+=o,s++)}return{value:i/s,count:s}}}),wt=et.browser||{},At=600,St="fadeIn",Ct=.8,kt=wt.msie?.001:0,Pt="errorLow",It="errorHigh",Tt="xErrorLow",Et="xErrorHigh",Rt="yErrorLow",Vt="yErrorHigh",Lt="zero",Ot="interpolate",Mt="gap",Bt="above",Dt="below",Ft="smooth",zt="step",Ht="area",Nt="bar",Gt="boxPlot",qt="bubble",Xt="bullet",Wt="candlestick",Yt="column",Ut="donut",Zt="funnel",jt="pyramid",Kt="heatmap",Qt="horizontalWaterfall",$t="line",Jt="ohlc",te="pie",ee="polarArea",ie="polarLine",ne="polarScatter",se="radarArea",re="radarColumn",oe="radarLine",ae="rangeArea",he="rangeBar",le="rangeColumn",ce="scatter",ue="scatterLine",pe="verticalArea",de="verticalBoxPlot",fe="verticalBullet",ve="verticalLine",ge="verticalRangeArea",xe="waterfall",me=[Nt,Yt,Jt,Wt,Gt,de,Xt,le,he,xe,Qt],ye="linearTrendline",_e="movingAverageTrendline",be=[ye,_e],we="legendItemClick",Ae="legendItemHover",Se="legendItemLeave",Ce="seriesClick",ke="seriesHover",Pe="seriesOver",Ie="seriesLeave",Te="plotAreaClick",Ee="plotAreaHover",Re="plotAreaLeave",Ve="drag",Le="dragEnd",Oe="dragStart",Me="zoomStart",Be="zoom",De="zoomEnd",Fe="selectStart",ze="select",He="selectEnd",Ne="render",Ge="showTooltip",qe="hideTooltip",Xe="paneRender",We="log",Ye="category",Ue="insideEnd",Ze="insideBase",je="outsideEnd",Ke="wheel",Qe=150,$e="drilldown",Je="drilldown",ti=2,ei={INITIAL_ANIMATION_DURATION:At,FADEIN:St,LEGEND_ITEM_CLICK:we,LEGEND_ITEM_HOVER:Ae,LEGEND_ITEM_LEAVE:Se,SERIES_CLICK:Ce,SERIES_HOVER:ke,SERIES_OVER:Pe,SERIES_LEAVE:Ie,GLASS:"glass",BORDER_BRIGHTNESS:Ct,TOOLTIP_OFFSET:5,START_SCALE:kt,ERROR_LOW_FIELD:Pt,ERROR_HIGH_FIELD:It,X_ERROR_LOW_FIELD:Tt,X_ERROR_HIGH_FIELD:Et,Y_ERROR_LOW_FIELD:Rt,Y_ERROR_HIGH_FIELD:Vt,LINE_MARKER_SIZE:8,INTERPOLATE:Ot,ZERO:Lt,SMOOTH:Ft,STEP:zt,CATEGORY:Ye,FUNNEL:Zt,PYRAMID:jt,BAR:Nt,CANDLESTICK:Wt,PIE:te,COLUMN:Yt,AREA:Ht,VERTICAL_BULLET:fe,BOX_PLOT:Gt,OHLC:Jt,WATERFALL:xe,LINE:$t,BULLET:Xt,VERTICAL_LINE:ve,VERTICAL_AREA:pe,RANGE_AREA:ae,VERTICAL_RANGE_AREA:ge,RANGE_COLUMN:le,VERTICAL_BOX_PLOT:de,RANGE_BAR:he,HORIZONTAL_WATERFALL:Qt,SCATTER:ce,SCATTER_LINE:ue,BUBBLE:qt,RADAR_AREA:se,RADAR_LINE:oe,RADAR_COLUMN:re,POLAR_LINE:ie,POLAR_AREA:ee,POLAR_SCATTER:ne,RENDER:Ne,PLOT_AREA_CLICK:Te,PLOT_AREA_HOVER:Ee,PLOT_AREA_LEAVE:Re,LOGARITHMIC:We,DRAG:Ve,DRAG_START:Oe,DRAG_END:Le,ZOOM_START:Me,ZOOM:Be,ZOOM_END:De,SELECT_START:Fe,SELECT:ze,SELECT_END:He,PANE_RENDER:Xe,GAP:Mt,DONUT:Ut,INSIDE_END:Ue,INSIDE_BASE:Ze,OUTSIDE_END:je,MOUSEWHEEL:Ke,MOUSEWHEEL_DELAY:Qe,MOUSEWHEEL_ZOOM_RATE:.3,SHOW_TOOLTIP:Ge,HIDE_TOOLTIP:qe,EQUALLY_SPACED_SERIES:me,ABOVE:Bt,BELOW:Dt,HEATMAP:Kt,DRILLDOWN:$e,DRILLDOWN_FIELD:Je,MIN_MOVING_AVERAGE_PERIOD:ti,TRENDLINE_SERIES:be,TRENDLINE_LINEAR:ye,TRENDLINE_MOVING_AVERAGE:_e},ii=S.extend({init:function(t,e,i,n,s,r){S.fn.init.call(this,r),this.low=t,this.high=e,this.isVertical=i,this.chart=n,this.series=s},reflow:function(t){var e,i=this.options.endCaps,n=this.isVertical,s=this.getAxis().getSlot(this.low,this.high),r=t.center(),o=this.getCapsWidth(t,n),a=n?r.x:r.y,h=a-o,l=a+o;n?(e=[new C(r.x,s.y1),new C(r.x,s.y2)],i&&e.push(new C(h,s.y1),new C(l,s.y1),new C(h,s.y2),new C(l,s.y2)),this.box=new k(h,s.y1,l,s.y2)):(e=[new C(s.x1,r.y),new C(s.x2,r.y)],i&&e.push(new C(s.x1,h),new C(s.x1,l),new C(s.x2,h),new C(s.x2,l)),this.box=new k(s.x1,h,s.x2,l)),this.linePoints=e},getCapsWidth:function(t,e){var i=e?t.width():t.height();return Math.min(Math.floor(i/2),4)||4},createVisual:function(){var t=this,e=this.options,i=e.visual;i?this.visual=i({low:this.low,high:this.high,rect:this.box.toRect(),sender:this.getSender(),options:{endCaps:e.endCaps,color:e.color,line:e.line},createVisual:function(){t.createDefaultVisual();var e=t.visual;return delete t.visual,e}}):this.createDefaultVisual()},createDefaultVisual:function(){var t=this.options,e=this.linePoints,i={stroke:{color:t.color,width:t.line.width,dashType:t.line.dashType}};S.fn.createVisual.call(this);for(var n=0;n<e.length;n+=2){var s=new nt(i).moveTo(e[n].x,e[n].y).lineTo(e[n+1].x,e[n+1].y);P(s),this.visual.append(s)}}});I(ii,{animation:{type:St,delay:At},endCaps:!0,line:{width:2},zIndex:1});var ni=ii.extend({getAxis:function(){return this.chart.seriesValueAxis(this.series)}});function si(t){for(var e=0;e<t.length;e++)if(b(t[e].zIndex))return!0}function ri(t,e){null!==e&&t.push(e)}function oi(t){return vt(t)===t.length}function ai(t,e,i){var n=e.visible;if(b(n))return n;var s=t.pointVisibility;return s?s[i]:void 0}function hi(t){for(var e=t.data,i=[],s=0,r=0,o=0;o<e.length;o++){var a=mt.current.bindPoint(t,o),h=a.valueFields.value;T(h)&&(h=parseFloat(h)),n(h)?(a.visible=!1!==ai(t,a.fields,o),a.value=Math.abs(h),i.push(a),a.visible&&(s+=a.value),0!==h&&r++):i.push(null)}return{total:s,points:i,count:r}}function li(t){for(var e=t.length,i=0,n=0;n<e;n++)i=Math.max(i,t[n].data.length);return i}function ci(t,e){return t&&e?t.toLowerCase()===e.toLowerCase():t===e}function ui(t,e,i,n){void 0===i&&(i={}),void 0===n&&(n=!1);var s=i.defaults=i.defaults||{},r=i.depth=i.depth||0,o=!1;if(i.excluded=i.excluded||[],r>5)return null;for(var a in t)if(!E(a,i.excluded)&&t.hasOwnProperty(a)){var h=t[a];R(h)?(o=!0,n||(t[a]=V(h(e),s[a]))):L(h)&&(n||(i.defaults=s[a]),i.depth++,o=ui(h,e,i,n)||o,i.depth--)}return o}function pi(t,e){for(var i=[],n=[].concat(e),s=0;s<t.length;s++){var r=t[s];E(r.type,n)&&i.push(r)}return i}function di(t,e,i){if(null===e)return e;var n="_date_"+t,s=e[n];return s||(s=O(i,w(t,!0)(e)),e[n]=s),s}function fi(t){var e=t.overlay;return e&&e.gradient&&"none"!==e.gradient}function vi(t){return b(t)&&null!==t}function gi(t,e){var i=t.type,n=e instanceof Date;return!i&&n||ci(i,h)}function xi(t){return 1===t.length?t[0]:t}var mi=/area/i;function yi(t,i){var n=mt.current.bindPoint(t,null,i).valueFields;for(var s in n)if(e.convertableToNumber(n[s]))return!0}function _i(t){var e,i,n=t.start,s=t.dir,r=t.min,o=t.max,a=t.getter,h=t.hasItem,l=t.series,c=n;do{h(c+=s)&&(e=yi(l,(i=a(c)).item))}while(r<=c&&c<=o&&!e);if(e)return i}function bi(t,e,i,n,s){var r=e.min,o=e.max,a=r>0&&r<i,h=o+1<i;if(a||h){var l,c,u,p=function(t){return t.missingValues?t.missingValues:mi.test(t.type)||t.stack?Lt:Ot}(t);if(p!==Ot)a&&(l=n(r-1)),h&&(c=n(o+1));else a&&(l=yi(t,(u=n(r-1)).item)?u:_i({start:r,dir:-1,min:0,max:i-1,getter:n,hasItem:s,series:t})),h&&(c=yi(t,(u=n(o+1)).item)?u:_i({start:o,dir:1,min:0,max:i-1,getter:n,hasItem:s,series:t}));l&&(t._outOfRangeMinPoint=l),c&&(t._outOfRangeMaxPoint=c)}}var wi=S.extend({init:function(t,e){S.fn.init.call(this,e),this.plotArea=t,this.chartService=t.chartService,this.categoryAxis=t.seriesCategoryAxis(e.series[0]),this.valueAxisRanges={},this.points=[],this.categoryPoints=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[],this.render()},render:function(){this.traverseDataPoints(this.addValue.bind(this))},pointOptions:function(t,e){var i=this.seriesOptions[e];if(!i){var n=this.pointType().prototype.defaults;this.seriesOptions[e]=i=M({},n,{vertical:!this.options.invertAxes},t)}return i},plotValue:function(t){if(!t)return 0;if(this.options.isStacked100&&n(t.value)){for(var e=t.categoryIx,i=this.categoryPoints[e],s=[],r=0,o=0;o<i.length;o++){var a=i[o];if(a){var h=t.series.stack,l=a.series.stack;if(h&&l&&h.group!==l.group)continue;n(a.value)&&(r+=Math.abs(a.value),s.push(Math.abs(a.value)))}}if(r>0)return t.value/r}return t.value},plotRange:function(t,i){void 0===i&&(i=0);var n=this.categoryPoints[t.categoryIx];if(this.options.isStacked){for(var r=this.plotValue(t),o=r>=0,a=i,h=!1,l=0;l<n.length;l++){var c=n[l];if(t===c)break;var u=t.series.stack,p=c.series.stack;if(u&&p){if(typeof u===s.STRING&&u!==p)continue;if(u.group&&u.group!==p.group)continue}var d=this.plotValue(c);(d>=0&&o||d<0&&!o)&&(a+=d,r+=d,h=!0,this.options.isStacked100&&(r=Math.min(r,1)))}return h&&(a-=i),[a,r]}var f=t.series,v=this.seriesValueAxis(f),g=this.categoryAxisCrossingValue(v);return[g,e.convertableToNumber(t.value)?t.value:g]},stackLimits:function(t,e){for(var i=r,n=o,s=0;s<this.categoryPoints.length;s++){var a=this.categoryPoints[s];if(a)for(var h=0;h<a.length;h++){var l=a[h];if(l&&(l.series.stack===e||l.series.axis===t)){var c=this.plotRange(l,0)[1];b(c)&&isFinite(c)&&(n=Math.max(n,c),i=Math.min(i,c))}}}return{min:i,max:n}},updateStackRange:function(){var t=this,i=this.options,n=i.isStacked,s=i.series,a={};if(n)for(var h=0;h<s.length;h++){var l=s[h],c=l.axis,u=c+l.stack,p=a[u];if(!p){p=t.stackLimits(c,l.stack);var d=t.errorTotals;d&&(d.negative.length&&(p.min=Math.min(p.min,e.sparseArrayLimits(d.negative).min)),d.positive.length&&(p.max=Math.max(p.max,e.sparseArrayLimits(d.positive).max))),p.min!==r||p.max!==o?a[u]=p:p=null}p&&(t.valueAxisRanges[c]=p)}},addErrorBar:function(t,e,i){var s,r=t.value,o=t.series,h=t.seriesIx,l=t.options.errorBars,c=e.fields[Pt],u=e.fields[It];n(c)&&n(u)?s={low:c,high:u}:l&&b(l.value)&&(this.seriesErrorRanges=this.seriesErrorRanges||[],this.seriesErrorRanges[h]=this.seriesErrorRanges[h]||new bt(l.value,o,a),s=this.seriesErrorRanges[h].getErrorRange(r,l.value)),s&&(t.low=s.low,t.high=s.high,this.addPointErrorBar(t,i))},addPointErrorBar:function(t,e){var i=!this.options.invertAxes,n=t.options.errorBars,s=t.series,r=t.low,o=t.high;if(this.options.isStacked){var a=this.stackedErrorRange(t,e);r=a.low,o=a.high}else{var h={categoryIx:e,series:s};this.updateRange({value:r},h),this.updateRange({value:o},h)}var l=new ni(r,o,i,this,s,n);t.errorBars=[l],t.append(l)},stackedErrorRange:function(t,e){var i=this.plotRange(t,0)[1]-t.value,n=t.low+i,s=t.high+i;return this.errorTotals=this.errorTotals||{positive:[],negative:[]},n<0&&(this.errorTotals.negative[e]=Math.min(this.errorTotals.negative[e]||0,n)),s>0&&(this.errorTotals.positive[e]=Math.max(this.errorTotals.positive[e]||0,s)),{low:n,high:s}},addValue:function(e,i){var n=i.categoryIx,s=i.series,r=i.seriesIx,o=this.categoryPoints[n];o||(this.categoryPoints[n]=o=[]);var a=this.seriesPoints[r];a||(this.seriesPoints[r]=a=[]);var h=this.createPoint(e,i);h&&(t.extend(h,i),h.owner=this,h.noteText=e.fields.noteText,b(h.dataItem)||(h.dataItem=s.data[n]),this.addErrorBar(h,e,n)),this.points.push(h),a.push(h),o.push(h),this.updateRange(e.valueFields,i)},evalPointOptions:function(t,e,i){var n=i.categoryIx,s=i.category,r=i.series,o=i.seriesIx,a={defaults:r._defaults,excluded:["data","aggregate","_events","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint","drilldownSeriesFactory"]},h=this._evalSeries[o];b(h)||(this._evalSeries[o]=h=ui(t,{},a,!0));var l=t;return h&&ui(l=M({},l),{value:e,category:s,index:n,series:r,dataItem:r.data[n]},a),l},updateRange:function(t,e){var i=e.series.axis,n=t.value,s=this.valueAxisRanges[i];isFinite(n)&&null!==n&&((s=this.valueAxisRanges[i]=s||{min:r,max:o}).min=Math.min(s.min,n),s.max=Math.max(s.max,n))},seriesValueAxis:function(t){var e=this.plotArea,i=t.axis,n=i?e.namedValueAxes[i]:e.valueAxis;if(!n)throw new Error("Unable to locate value axis with name "+i);return n},reflow:function(t){var e=this,i=this.categorySlots=[],n=this.points,s=this.categoryAxis,r=0;this.traverseDataPoints((function(t,o){var a=o.categoryIx,h=o.series,l=e.seriesValueAxis(h),c=n[r++],u=i[a];if(u||(i[a]=u=e.categorySlot(s,a,l)),c){var p=e.plotRange(c,l.startValue()),d=e.valueSlot(l,p);if(d){var f=e.pointSlot(u,d);c.aboveAxis=e.aboveAxis(c,l),c.stackValue=p[1],e.options.isStacked100&&(c.percentage=e.plotValue(c)),e.reflowPoint(c,f)}else c.visible=!1}})),this.reflowCategories(i),!this.options.clip&&this.options.limitPoints&&this.points.length&&this.limitPoints(),this.box=t},valueSlot:function(t,e){return t.getSlot(e[0],e[1],!this.options.clip)},limitPoints:function(){for(var t=this.categoryPoints,e=t[0].concat(B(t)),i=0;i<e.length;i++)e[i]&&this.limitPoint(e[i])},limitPoint:function(t){var e=this.categoryAxis.limitSlot(t.box);e.equals(t.box)||t.reflow(e)},aboveAxis:function(t,e){var i=this.categoryAxisCrossingValue(e),n=t.value;return e.options.reverse?n<i:n>=i},categoryAxisCrossingValue:function(t){var e=this.categoryAxis,i=t.options;return[].concat(i.axisCrossingValues||i.axisCrossingValue)[e.axisIndex||0]||0},reflowPoint:function(t,e){t.reflow(e)},reflowCategories:function(){},pointSlot:function(t,e){var i=this.options.invertAxes,n=i?e:t,s=i?t:e;return new k(n.x1,s.y1,n.x2,s.y2)},categorySlot:function(t,e){return t.getSlot(e)},traverseDataPoints:function(t){for(var e=this,i=this.options.series,n=li(i),s=i.length,r=0;r<s;r++)e._outOfRangeCallback(i[r],"_outOfRangeMinPoint",r,t);for(var o=0;o<n;o++)for(var a=0;a<s;a++){var h=i[a],l=e.categoryAxis.categoryAt(o);t(e.plotArea.bindPoint(h,o),{category:l,categoryIx:o,categoriesCount:n,series:h,seriesIx:a})}for(var c=0;c<s;c++)e._outOfRangeCallback(i[c],"_outOfRangeMaxPoint",c,t)},_outOfRangeCallback:function(t,e,i,n){var s=t[e];if(s){var r=s.categoryIx;n(this.plotArea.bindPoint(t,r,s.item),{category:s.category,categoryIx:r,series:t,seriesIx:i,dataItem:s.item})}},formatPointValue:function(t,e){return null===t.value?"":this.chartService.format.auto(e,t.value)},pointValue:function(t){return t.valueFields.value}});I(wi,{series:[],invertAxes:!1,isStacked:!1,clip:!0,limitPoints:!0});var Ai={click:function(t,e){return t.trigger(Ce,this.eventArgs(e))},hover:function(t,e){return t.trigger(ke,this.eventArgs(e))},over:function(t,e){return t.trigger(Pe,this.eventArgs(e))},out:function(t,e){return t.trigger(Ie,this.eventArgs(e))},eventArgs:function(t){return{value:this.value,percentage:this.percentage,stackValue:this.stackValue,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:D(t),originalEvent:t,point:this}}},Si={createNote:function(){var t=this.options.notes,i=this.noteText||t.label.text;!1!==t.visible&&b(i)&&null!==i&&(this.note=new e.Note({value:this.value,text:i,dataItem:this.dataItem,category:this.category,series:this.series},this.options.notes,this.owner.chartService),this.append(this.note))}},Ci=S.extend({init:function(t,e){S.fn.init.call(this),this.value=t,this.options=e,this.aboveAxis=V(this.options.aboveAxis,!0),this.tooltipTracking=!0},render:function(){var t=this.options,e=t.markers,i=t.labels;if(!this._rendered){if(this._rendered=!0,e.visible&&e.size&&(this.marker=this.createMarker(),this.append(this.marker)),i.visible){var n=F(i),s=this.pointData(),r=this.value;n?r=n(s):i.format&&(r=this.formatValue(i.format)),this.label=new z(r,M({align:l,vAlign:l,margin:{left:5,right:5},zIndex:V(i.zIndex,this.series.zIndex)},i),s),this.append(this.label)}this.createNote(),this.errorBar&&this.append(this.errorBar)}},markerBorder:function(){var t=this.options.markers,e=t.background,i=M({color:this.color},t.border);return b(i.color)||(i.color=new at(e).brightness(Ct).toHex()),i},createVisual:function(){},createMarker:function(){var t=this.options.markers;return new H({type:t.type,width:t.size,height:t.size,rotation:t.rotation,background:t.background,border:this.markerBorder(),opacity:t.opacity,zIndex:V(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category})},markerBox:function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},reflow:function(t){var e=this.options,i=this.aboveAxis,n=e.vertical;this.render(),this.box=t;var s=t.clone();if(n?i?s.y1-=s.height():s.y2+=s.height():i?s.x1+=s.width():s.x2-=s.width(),this._childBox=s,this.marker&&this.marker.reflow(s),this.reflowLabel(s),this.errorBars)for(var r=0;r<this.errorBars.length;r++)this.errorBars[r].reflow(s);if(this.note){var o=this.markerBox();if(!e.markers.visible||!e.markers.size){var a=o.center();o=new k(a.x,a.y,a.x,a.y)}this.note.reflow(o)}},reflowLabel:function(t){var e=this.options,i=this.label,n=e.labels.position;i&&(n=(n=n===Bt?c:n)===Dt?u:n,i.reflow(t),i.box.alignTo(this.markerBox(),n),i.reflow(i.box))},createHighlight:function(){var t=this.options.highlight.markers,e=this.markerBorder().color,i=this.options.markers,n=i.size+(i.border.width||0)+(t.border.width||0),s=new H({type:i.type,width:n,height:n,rotation:i.rotation,background:t.color||e,border:{color:t.border.color,width:t.border.width,opacity:V(t.border.opacity,1)},opacity:V(t.opacity,1)});return s.reflow(this._childBox),s.getElement()},highlightVisual:function(){return(this.marker||{}).visual},highlightVisualArgs:function(){var t,e,i=this.marker;if(i)e=i.paddingBox.toRect(),t=i.visual;else{var n=this.options.markers.size,s=n/2,r=this.box.center();e=new ht.Rect([r.x-s,r.y-s],[n,n])}return{options:this.options,rect:e,visual:t}},tooltipAnchor:function(){var t=this.markerBox(),e=this.owner.pane.clipBox();if(!e||e.overlaps(t)){var i,n,s=t.x2+5,r=p;return this.aboveAxis?(i=t.y1,n=u):(i=t.y2,n=c),{point:new C(s,i),align:{horizontal:r,vertical:n}}}},formatValue:function(t){return this.owner.formatPointValue(this,t)},overlapsBox:function(t){return this.markerBox().overlaps(t)},unclipElements:function(){this.label&&(this.label.options.noclip=!0),this.note&&(this.note.options.noclip=!0)},pointData:function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,series:this.series}}});Ci.prototype.defaults={vertical:!0,markers:{visible:!0,background:d,size:8,type:f,border:{width:2},opacity:1},labels:{visible:!1,position:Bt,margin:N(3),padding:N(4),animation:{type:St,delay:At}},notes:{label:{}},highlight:{markers:{border:{color:"#fff",width:2}},zIndex:s.HIGHLIGHT_ZINDEX},errorBars:{line:{width:1}}},M(Ci.prototype,Ai),M(Ci.prototype,Si);var ki=S.extend({init:function(t,e,i){S.fn.init.call(this),this.linePoints=t,this.series=e,this.seriesIx=i},points:function(){return this.toGeometryPoints(this.linePoints)},toGeometryPoints:function(t){for(var e=[],i=0,n=t.length;i<n;i++)t[i]&&!1!==t[i].visible&&e.push(t[i]._childBox.toRect().center());return e},createVisual:function(){var t=this,e=this.series.visual;e?(this.visual=e({points:this.toGeometryPoints(this.linePoints),series:this.series,sender:this.getSender(),createVisual:function(){return t.segmentVisual(),t.visual}}),this.visual&&!b(this.visual.options.zIndex)&&(this.visual.options.zIndex=this.series.zIndex)):this.segmentVisual()},segmentVisual:function(){var t=this.options,e=this.series,i=e.color,n=e._defaults;R(i)&&n&&(i=n.color);var s=nt.fromPoints(this.points(),{stroke:{color:i,width:e.width,opacity:e.opacity,dashType:e.dashType},zIndex:e.zIndex});t.closed&&s.close(),this.visual=s},aliasFor:function(t,e){return this.parent.getNearestPoint(e.x,e.y,this.seriesIx)}});I(ki,{closed:!1});var Pi={calculateStepPoints:function(t){for(var e=this.parent.plotArea.seriesCategoryAxis(this.series).options,i=e.justified,n=e.vertical,s=e.reverse,r=n?v:g,o=n?g:v,a=s?2:1,h=a,l=Ii(t[0],r,a,o,h),c=[l],u=1;u<t.length;u++){var p=Ii(t[u],r,a,o,h);if(l[r]!==p[r]){var d=new lt;d[r]=l[r],d[o]=p[o],c.push(d,p)}l=p}return i?l!==B(c)&&c.push(l):c.push(Ii(B(t),r,a,o,s?1:2)),c}};function Ii(t,e,i,n,s){var r=t.box,o=new lt;return o[e]=r[e+i],o[n]=r[n+s],o}var Ti=ki.extend({points:function(){return this.calculateStepPoints(this.linePoints)}});M(Ti.prototype,Pi);var Ei=ki.extend({segmentVisual:function(){var t=this.series,e=t._defaults,i=t.color;R(i)&&e&&(i=e.color);var n=new G(this.options.closed).process(this.points()),s=new nt({stroke:{color:i,width:t.width,opacity:t.opacity,dashType:t.dashType},zIndex:t.zIndex});s.segments.push.apply(s.segments,n),this.visual=s}}),Ri={renderSegments:function(){var t,e=this,i=this.options,n=this.seriesPoints,s=i.series,r=n.length;this._segments=[];for(var o=0;o<r;o++){for(var a=s[o],h=e.sortPoints(n[o]),l=h.length,c=[],u=0;u<l;u++){var p=h[u];p?c.push(p):e.seriesMissingValues(a)!==Ot&&(c.length>1&&(t=e.createSegment(c,a,o,t),e._addSegment(t)),c=[])}c.length>1&&(t=e.createSegment(c,a,o,t),e._addSegment(t))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(t){this._segments.push(t),t.parent=this},sortPoints:function(t){return t},seriesMissingValues:function(t){var e=t.missingValues;return!e&&this.options.isStacked?Lt:e||Ot},getNearestPoint:function(t,e,i){for(var n,s=new C(t,e),o=this.seriesPoints[i],a=r,h=0;h<o.length;h++){var l=o[h];if(l&&b(l.value)&&null!==l.value&&!1!==l.visible){var c=l.box.center().distanceTo(s);c<a&&(n=l,a=c)}}return n}},Vi=st.extend({setup:function(){this._setEnd(this.options.box.x1)},step:function(t){var i=this.options.box;this._setEnd(e.interpolateValue(i.x1,i.x2,t))},_setEnd:function(t){var e=this.element,i=e.segments,n=i[1].anchor(),s=i[2].anchor();e.suspend(),n.setX(t),e.resume(),s.setX(t)}});I(Vi,{duration:At}),rt.current.register("clip",Vi);var Li={createAnimation:function(){var t=this.getRoot();if(t&&!1!==(t.options||{}).transitions){var e=t.size(),i=nt.fromRect(e.toRect());this.visual.clip(i),this.animation=new Vi(i,{box:e}),si(this.options.series)&&this._setChildrenAnimation(i)}},_setChildrenAnimation:function(t){for(var e=this.animationPoints(),i=0;i<e.length;i++){var n=e[i];n&&n.visual&&b(n.visual.options.zIndex)&&n.visual.clip(t)}}},Oi=wi.extend({render:function(){wi.fn.render.call(this),this.updateStackRange(),this.renderSegments()},pointType:function(){return Ci},createPoint:function(t,e){var i=e.series,n=e.seriesIx,s=this.seriesMissingValues(i),r=t.valueFields.value;if(!b(r)||null===r){if(s!==Lt)return null;r=0}var o=this.pointOptions(i,n);o=this.evalPointOptions(o,r,e);var a=t.fields.color||i.color;R(i.color)&&(a=o.color);var h=new Ci(r,o);return h.color=a,this.append(h),h},plotRange:function(t){var e=this.plotValue(t);if(this.options.isStacked)for(var i=t.categoryIx,n=this.categoryPoints[i],s=0;s<n.length;s++){var r=n[s];if(t===r)break;e+=this.plotValue(r),this.options.isStacked100&&(e=Math.min(e,1))}return[e,e]},createSegment:function(t,e,i){var n=e.style;return new(n===zt?Ti:n===Ft?Ei:ki)(t,e,i)},animationPoints:function(){for(var t=this.points,e=[],i=0;i<t.length;i++)e.push((t[i]||{}).marker);return e.concat(this._segments)},supportsPointInactiveOpacity:function(){return!1}});M(Oi.prototype,Ri,Li);var Mi=ki.extend({init:function(t,e,i,n,s){ki.fn.init.call(this,t,e,i),this.prevSegment=n,this.stackPoints=s},createVisual:function(){var t=this.series,e=t._defaults,i=t.line||{},n=t.color;R(n)&&e&&(n=e.color),this.visual=new ot({zIndex:t.zIndex}),this.createFill({fill:{color:n,opacity:t.opacity},stroke:null}),i.width>0&&!1!==i.visible&&this.createStroke({stroke:M({color:n,opacity:t.opacity,lineCap:"butt"},i)})},strokeSegments:function(){var t=this._strokeSegments;return t||(t=this._strokeSegments=this.createStrokeSegments()),t},createStrokeSegments:function(){return this.segmentsFromPoints(this.points())},stackSegments:function(){return this.prevSegment?this.prevSegment.createStackSegments(this.stackPoints):this.createStackSegments(this.stackPoints)},createStackSegments:function(t){return this.segmentsFromPoints(this.toGeometryPoints(t)).reverse()},segmentsFromPoints:function(t){return t.map((function(t){return new ht.Segment(t)}))},createStroke:function(t){var e=new nt(t);e.segments.push.apply(e.segments,this.strokeSegments()),this.visual.append(e)},hasStackSegment:function(){return this.prevSegment||this.stackPoints&&this.stackPoints.length},createFill:function(t){var e=this.strokeSegments(),i=e.slice(0),n=this.hasStackSegment();if(n){var s=this.stackSegments();q(i,s)}var r=new nt(t);r.segments.push.apply(r.segments,i),!n&&e.length>1&&this.fillToAxes(r),this.visual.append(r)},fillToAxes:function(t){var e=this.parent,i=e.options.invertAxes,n=e.seriesValueAxis(this.series),s=e.categoryAxisCrossingValue(n),r=n.getSlot(s,s,!0),o=this.strokeSegments(),a=o[0].anchor(),h=B(o).anchor(),l=i?r.x1:r.y1;i?t.lineTo(l,h.y).lineTo(l,a.y):t.lineTo(h.x,l).lineTo(a.x,l)}}),Bi=Mi.extend({createStrokeSegments:function(){return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints))},createStackSegments:function(t){return this.segmentsFromPoints(this.calculateStepPoints(t)).reverse()}});M(Bi.prototype,Pi);var Di=Mi.extend({createStrokeSegments:function(){var t=new G(this.options.closed),e=this.points();return t.process(e)},createStackSegments:function(){for(var t=this.strokeSegments(),e=[],i=t.length-1;i>=0;i--){var n=t[i];e.push(new ht.Segment(n.anchor(),n.controlOut(),n.controlIn()))}return e}}),Fi=Oi.extend({createSegment:function(t,e,i,n){var s,r,o=this.options.isStacked,a=(e.line||{}).style;o&&i>0&&n&&("gap"!==this.seriesMissingValues(e)?(r=n.linePoints,s=n):r=this._gapStackPoints(t,i,a));return new(a===zt?Bi:a===Ft?Di:Mi)(t,e,i,s,r)},reflow:function(t){Oi.fn.reflow.call(this,t);var e=this._stackPoints;if(e)for(var i=0;i<e.length;i++){var n=e[i],s=this.categoryAxis.getSlot(n.categoryIx);n.reflow(s)}},_gapStackPoints:function(t,e,i){var n=this,s=this.seriesPoints,r=t[0].categoryIx,o=t.length;r<0&&(r=0,o--);var a=r+o,h=this.seriesOptions[0]._outOfRangeMinPoint?1:0,l=[];this._stackPoints=this._stackPoints||[];for(var c=r;c<a;c++){var u=c+h,p=e,d=void 0;do{d=s[--p][u]}while(p>0&&!d);if(d)i!==zt&&c>r&&!s[p][u-1]&&l.push(n._previousSegmentPoint(c,u,u-1,p)),l.push(d),i!==zt&&c+1<a&&!s[p][u+1]&&l.push(n._previousSegmentPoint(c,u,u+1,p));else{var f=n._createGapStackPoint(c);n._stackPoints.push(f),l.push(f)}}return l},_previousSegmentPoint:function(t,e,i,n){for(var s,r=this.seriesPoints,o=n;o>0&&!s;)s=r[--o][i];return s?s=r[o][e]:(s=this._createGapStackPoint(t),this._stackPoints.push(s)),s},_createGapStackPoint:function(t){var e=this.pointOptions({},0),i=new Ci(0,e);return i.categoryIx=t,i.series={},i},seriesMissingValues:function(t){return t.missingValues||Lt},supportsPointInactiveOpacity:function(){return!1}}),zi=i.extend({init:function(){this.axisRanges={}},update:function(t){var e=this.axisRanges;for(var i in t){var n=t[i],s=e[i];e[i]=s=s||{min:r,max:o},s.min=Math.min(s.min,n.min),s.max=Math.max(s.max,n.max)}},reset:function(t){this.axisRanges[t]=void 0},query:function(t){return this.axisRanges[t]}}),Hi=S.extend({init:function(t,e,i){S.fn.init.call(this,e),this.textBox=new z(t,this.options,i),this.append(this.textBox)},createVisual:function(){this.textBox.options.noclip=this.options.noclip},reflow:function(t){var e=this.options,i=e.vertical,n=e.aboveAxis,s=this.children[0],r=s.options,o=s.box,a=s.options.padding,h=t;r.align=i?l:p,r.vAlign=i?c:l,e.position===Ue?i?(r.vAlign=c,!n&&o.height()<t.height()&&(r.vAlign=u)):r.align=n?x:p:e.position===l?(r.vAlign=l,r.align=l):e.position===Ze?i?r.vAlign=n?u:c:r.align=n?p:x:e.position===je&&(i?h=n?new k(t.x1,t.y1-o.height(),t.x2,t.y1):new k(t.x1,t.y2,t.x2,t.y2+o.height()):(r.align=l,h=n?new k(t.x2,t.y1,t.x2+o.width(),t.y2):new k(t.x1-o.width(),t.y1,t.x1,t.y2))),e.rotation||(i?a.left=a.right=(h.width()-s.contentBox.width())/2:a.top=a.bottom=(h.height()-s.contentBox.height())/2),s.reflow(h)},alignToClipBox:function(t){var e=this.options.vertical?g:v,i=e+"1",n=e+"2",s=this.children[0],r=this.parent.box;if(r[i]<t[i]||t[n]<r[n]){var o=s.paddingBox.clone();o[i]=Math.max(r[i],t[i]),o[n]=Math.min(r[n],t[n]),this.reflow(o)}}});I(Hi,{position:je,margin:N(3),padding:N(4),color:m,background:"",border:{width:1,color:""},aboveAxis:!0,vertical:!1,animation:{type:St,delay:At},zIndex:2});var Ni=S.extend({init:function(t,e){S.fn.init.call(this),this.options=e,this.color=e.color||d,this.aboveAxis=V(this.options.aboveAxis,!0),this.value=t},render:function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},createLabel:function(){var t=this.options,e=t.labels;if(e.visible){var i,n=this.pointData(),s=F(e);i=s?s(n):this.formatValue(e.format),this.label=new Hi(i,M({vertical:t.vertical},e),n),this.append(this.label)}},formatValue:function(t){return this.owner.formatPointValue(this,t)},reflow:function(t){this.render();var e=this.label;if(this.box=t,e&&(e.options.aboveAxis=this.aboveAxis,e.reflow(t)),this.note&&this.note.reflow(t),this.errorBars)for(var i=0;i<this.errorBars.length;i++)this.errorBars[i].reflow(t)},createVisual:function(){var t=this,e=this.box,i=this.options,n=i.visual;if(!1!==this.visible)if(S.fn.createVisual.call(this),n){var s=this.rectVisual=n({category:this.category,dataItem:this.dataItem,value:this.value,sender:this.getSender(),series:this.series,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,rect:e.toRect(),createVisual:function(){var e=new ot;return t.createRect(e),e},options:i});s&&this.visual.append(s)}else e.width()>0&&e.height()>0&&this.createRect(this.visual)},createRect:function(t){var e=this.options,i=e.border,n=b(i.opacity)?i.opacity:e.opacity,s=this.box.toRect();s.size.width=Math.round(s.size.width);var r=this.rectVisual=nt.fromRect(s,{fill:{color:this.color,opacity:e.opacity},stroke:{color:this.getBorderColor(),width:i.width,opacity:n,dashType:i.dashType}}),o=this.box.width(),a=this.box.height();if((e.vertical?o:a)>6&&(P(r),(o<1||a<1)&&(r.options.stroke.lineJoin="round")),t.append(r),fi(e)){var h=this.createGradientOverlay(r,{baseColor:this.color},M({end:e.vertical?void 0:[0,1]},e.overlay));t.append(h)}},createHighlight:function(t){var e=nt.fromRect(this.box.toRect(),t);return P(e)},highlightVisual:function(){return this.rectVisual},highlightVisualArgs:function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},getBorderColor:function(){var t=this.color,e=this.options.border,i=e._brightness||Ct,n=e.color;return b(n)||(n=new at(t).brightness(i).toHex()),n},tooltipAnchor:function(){var t,e,i=this,n=i.options,s=i.box,r=i.aboveAxis,o=this.owner.pane.clipBox()||s,a=p,h=c;if(n.vertical)t=Math.min(s.x2,o.x2)+5,r?e=Math.max(s.y1,o.y1):(e=Math.min(s.y2,o.y2),h=u);else{var l=Math.max(s.x1,o.x1),d=Math.min(s.x2,o.x2);n.isStacked?(h=u,r?(a=x,t=d):t=l,e=Math.max(s.y1,o.y1)-5):(r?t=d+5:(t=l-5,a=x),e=Math.max(s.y1,o.y1))}return{point:new C(t,e),align:{horizontal:a,vertical:h}}},overlapsBox:function(t){return this.box.overlaps(t)},pointData:function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,series:this.series}}});function Gi(t,e){t.forEach(e)}function qi(t,e){for(var i=t.length,n=i-1;n>=0;n--)e(t[n],n-i-1)}M(Ni.prototype,Ai),M(Ni.prototype,Si),Ni.prototype.defaults={border:{width:1},vertical:!0,overlay:{gradient:"glass"},labels:{visible:!1,format:"{0}"},opacity:1,notes:{label:{}}};var Xi=S.extend({init:function(t){S.fn.init.call(this,t),this.forEach=t.rtl?qi:Gi},reflow:function(t){var e=this.options,i=e.vertical,n=e.gap,s=e.spacing,r=this.children,o=r.length,a=i?g:v,h=o+n+s*(o-1),l=(i?t.height():t.width())/h,c=t[a+1]+l*(n/2);this.forEach(r,(function(e,i){var n=(e.box||t).clone();n[a+1]=c,n[a+2]=c+l,e.reflow(n),i<o-1&&(c+=l*s),c+=l}))}});I(Xi,{vertical:!1,gap:0,spacing:0});var Wi=S.extend({reflow:function(t){for(var e=this.options.vertical?v:g,i=this.children,n=i.length,s=this.box=new k,r=0;r<n;r++){var o=i[r];if(!1!==o.visible){var a=o.box.clone();a.snapTo(t,e),0===r&&(s=this.box=a.clone()),o.reflow(a),s.wrap(a)}}}});I(Wi,{vertical:!0});var Yi=wi.extend({render:function(){wi.fn.render.call(this),this.updateStackRange()},pointType:function(){return Ni},clusterType:function(){return Xi},stackType:function(){return Wi},stackLimits:function(t,e){return wi.fn.stackLimits.call(this,t,e)},createPoint:function(t,e){var i=e.categoryIx,n=e.series,s=e.seriesIx,r=this.options,o=this.children,a=r.isStacked,h=this.pointValue(t),l=this.pointOptions(n,s),c=l.labels;a&&c.position===je&&(c.position=Ue),l.isStacked=a;var u=t.fields.color||n.color;h<0&&l.negativeColor&&(u=l.negativeColor),l=this.evalPointOptions(l,h,e),R(n.color)&&(u=l.color);var p=new(this.pointType())(h,l);p.color=u;var d=o[i];d||(d=new(this.clusterType())({vertical:r.invertAxes,gap:r.gap,spacing:r.spacing,rtl:!r.invertAxes&&(this.chartService||{}).rtl}),this.append(d));a?this.getStackWrap(n,d).append(p):d.append(p);return p},getStackWrap:function(t,e){var i,n=t.stack,r=n&&n.group||n,o=e.children;if(typeof r===s.STRING){for(var a=0;a<o.length;a++)if(o[a]._stackGroup===r){i=o[a];break}}else i=o[0];i||((i=new(this.stackType())({vertical:!this.options.invertAxes}))._stackGroup=r,e.append(i));return i},categorySlot:function(t,e,i){var n=this.options,s=t.getSlot(e),r=i.startValue();if(n.isStacked){var o=i.getSlot(r,r,!0),a=n.invertAxes?v:g;s[a+1]=s[a+2]=o[a+1]}return s},reflowCategories:function(t){for(var e=this.children,i=e.length,n=0;n<i;n++)e[n].reflow(t[n])},createAnimation:function(){this._setAnimationOptions(),wi.fn.createAnimation.call(this),si(this.options.series)&&this._setChildrenAnimation()},_setChildrenAnimation:function(){for(var t=this.points,e=0;e<t.length;e++){var i=t[e],n=i.visual;n&&b(n.options.zIndex)&&(i.options.animation=this.options.animation,i.createAnimation())}},_setAnimationOptions:function(){var t,e=this.options,i=e.animation||{};if(e.isStacked){var n=this.seriesValueAxis(e.series[0]);t=n.getSlot(n.startValue())}else t=this.categoryAxis.getSlot(0);i.origin=new lt(t.x1,t.y1),i.vertical=!e.invertAxes}});I(Yi,{animation:{type:Nt}});var Ui=S.extend({init:function(t,e){S.fn.init.call(this,e),this.value=t},reflow:function(t){var e=this,i=e.options,n=e.value,s=e.owner.seriesValueAxis(i),r=s.getSlot(n.open,n.close),o=s.getSlot(n.low,n.high);r.x1=o.x1=t.x1,r.x2=o.x2=t.x2,this.realBody=r;var a=o.center().x,h=[];h.push([[a,o.y1],[a,r.y1]]),h.push([[a,r.y2],[a,o.y2]]),this.lines=h,this.box=o.clone().wrap(r),this._rendered||(this._rendered=!0,this.createNote()),this.reflowNote()},reflowNote:function(){this.note&&this.note.reflow(this.box)},createVisual:function(){S.fn.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},mainVisual:function(t){var e=new ot;return this.createBody(e,t),this.createLines(e,t),e},createBody:function(t,e){var i=nt.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&i.options.set("stroke",{color:this.getBorderColor(),width:e.border.width,dashType:e.border.dashType,opacity:V(e.border.opacity,e.opacity)}),P(i),t.append(i),fi(e)&&t.append(this.createGradientOverlay(i,{baseColor:this.color},M({end:e.vertical?void 0:[0,1]},e.overlay)))},createLines:function(t,e){this.drawLines(t,e,this.lines,e.line)},drawLines:function(t,e,i,n){if(i)for(var s={stroke:{color:n.color||this.color,opacity:V(n.opacity,e.opacity),width:n.width,dashType:n.dashType,lineCap:"butt"}},r=0;r<i.length;r++){var o=nt.fromPoints(i[r],s);P(o),t.append(o)}},getBorderColor:function(){var t=this.options.border,e=t.color;return b(e)||(e=new at(this.color).brightness(t._brightness).toHex()),e},createOverlay:function(){var t=nt.fromRect(this.box.toRect(),{fill:{color:d,opacity:0},stroke:null});this.visual.append(t)},createHighlight:function(){var t=this.options.highlight,e=this.color;this.color=t.color||this.color;var i=this.mainVisual(M({},this.options,{line:{color:this.getBorderColor()}},t));return this.color=e,i},highlightVisual:function(){return this._mainVisual},highlightVisualArgs:function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},tooltipAnchor:function(){var t=this.box,e=this.owner.pane.clipBox()||t;return{point:new C(t.x2+5,Math.max(t.y1,e.y1)+5),align:{horizontal:p,vertical:c}}},formatValue:function(t){return this.owner.formatPointValue(this,t)},overlapsBox:function(t){return this.box.overlaps(t)}});I(Ui,{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{4:d}</th></tr><tr><td>Open:</td><td>{0:C}</td></tr><tr><td>High:</td><td>{1:C}</td></tr><tr><td>Low:</td><td>{2:C}</td></tr><tr><td>Close:</td><td>{3:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}}}),M(Ui.prototype,Ai),M(Ui.prototype,Si);var Zi=wi.extend({reflowCategories:function(t){for(var e=this.children,i=e.length,n=0;n<i;n++)e[n].reflow(t[n])},addValue:function(t,e){var i,n=e.categoryIx,s=e.category,r=e.series,o=e.seriesIx,a=this.children,h=this.options,l=t.valueFields,c=oi(this.splitValue(l)),u=r.data[n],p=this.categoryPoints[n];p||(this.categoryPoints[n]=p=[]),c&&(i=this.createPoint(t,e));var d=a[n];d||(d=new Xi({vertical:h.invertAxes,gap:h.gap,spacing:h.spacing,rtl:!h.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),i&&(this.updateRange(l,e),d.append(i),i.categoryIx=n,i.category=s,i.series=r,i.seriesIx=o,i.owner=this,i.dataItem=u,i.noteText=t.fields.noteText),this.points.push(i),p.push(i)},pointType:function(){return Ui},createPoint:function(t,e){var i=e.series,n=this.pointType(),s=t.valueFields,r=M({},i),o=t.fields.color||i.color;r=this.evalPointOptions(r,s,e),i.type===Wt&&s.open>s.close&&(o=t.fields.downColor||i.downColor||i.color),R(i.color)&&(o=r.color),r.vertical=!this.options.invertAxes;var a=new n(s,r);return a.color=o,a},splitValue:function(t){return[t.low,t.open,t.close,t.high]},updateRange:function(t,e){var i=e.series.axis,n=this.splitValue(t),s=this.valueAxisRanges[i];s=this.valueAxisRanges[i]=s||{min:r,max:o},s=this.valueAxisRanges[i]={min:Math.min.apply(Math,n.concat([s.min])),max:Math.max.apply(Math,n.concat([s.max]))}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.open,i.high,i.low,i.close,t.category)},animationPoints:function(){return this.points}});M(Zi.prototype,Li);var ji=Ui.extend({init:function(t,e){Ui.fn.init.call(this,t,e),this.createNote()},reflow:function(t){var e,i,n=this,s=n.options,r=n.value,o=n.owner.seriesValueAxis(s);this.boxSlot=i=o.getSlot(r.q1,r.q3),this.realBody=i,this.reflowBoxSlot(t),this.whiskerSlot=e=o.getSlot(r.lower,r.upper),this.reflowWhiskerSlot(t);var a=o.getSlot(r.median);if(r.mean){var h=o.getSlot(r.mean);this.meanPoints=this.calcMeanPoints(t,h)}this.whiskerPoints=this.calcWhiskerPoints(i,e),this.medianPoints=this.calcMedianPoints(t,a),this.box=e.clone().wrap(i),this.reflowNote()},reflowBoxSlot:function(t){this.boxSlot.x1=t.x1,this.boxSlot.x2=t.x2},reflowWhiskerSlot:function(t){this.whiskerSlot.x1=t.x1,this.whiskerSlot.x2=t.x2},calcMeanPoints:function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},calcWhiskerPoints:function(t,e){var i=e.center().x;return[[[i-5,e.y1],[i+5,e.y1],[i,e.y1],[i,t.y1]],[[i-5,e.y2],[i+5,e.y2],[i,e.y2],[i,t.y2]]]},calcMedianPoints:function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},renderOutliers:function(t){for(var e=this.value,i=e.outliers||[],n=3*Math.abs(e.q3-e.q1),s=[],r=t.markers||{},o=0;o<i.length;o++){var a=i[o];r=a<e.q3+n&&a>e.q1-n?t.outliers:t.extremes;var h=M({},r.border);b(h.color)||(b(this.color)?h.color=this.color:h.color=new at(r.background).brightness(Ct).toHex());var l=new H({type:r.type,width:r.size,height:r.size,rotation:r.rotation,background:r.background,border:h,opacity:r.opacity});l.value=a,s.push(l)}return this.reflowOutliers(s),s},reflowOutliers:function(t){for(var e=this,i=this.owner.seriesValueAxis(this.options),n=this.box.center(),s=0;s<t.length;s++){var r=t[s].value,o=i.getSlot(r);e.options.vertical?o.move(n.x):o.move(void 0,n.y),e.box=e.box.wrap(o),t[s].reflow(o)}},mainVisual:function(t){for(var e=Ui.fn.mainVisual.call(this,t),i=this.renderOutliers(t),n=0;n<i.length;n++){var s=i[n].getElement();s&&e.append(s)}return e},createLines:function(t,e){this.drawLines(t,e,this.whiskerPoints,e.whiskers),this.drawLines(t,e,this.medianPoints,e.median),this.drawLines(t,e,this.meanPoints,e.mean)},getBorderColor:function(){return(this.options.border||{}).color?this.options.border.color:this.color?this.color:Ui.fn.getBorderColor.call(this)}});I(ji,{border:{_brightness:.8},line:{width:2},median:{color:"#f6f6f6"},mean:{width:2,dashType:"dash",color:"#f6f6f6"},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{6:d}</th></tr><tr><td>Lower:</td><td>{0:C}</td></tr><tr><td>Q1:</td><td>{1:C}</td></tr><tr><td>Median:</td><td>{2:C}</td></tr><tr><td>Mean:</td><td>{5:C}</td></tr><tr><td>Q3:</td><td>{3:C}</td></tr><tr><td>Upper:</td><td>{4:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}},outliers:{visible:!0,size:8,type:s.CROSS,background:d,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:8,type:f,background:d,border:{width:2,opacity:1},opacity:0}}),M(ji.prototype,Ai);var Ki=ji.extend({reflowBoxSlot:function(t){this.boxSlot.y1=t.y1,this.boxSlot.y2=t.y2},reflowWhiskerSlot:function(t){this.whiskerSlot.y1=t.y1,this.whiskerSlot.y2=t.y2},calcMeanPoints:function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},calcWhiskerPoints:function(t,e){var i=e.center().y;return[[[e.x1,i-5],[e.x1,i+5],[e.x1,i],[t.x1,i]],[[e.x2,i-5],[e.x2,i+5],[e.x2,i],[t.x2,i]]]},calcMedianPoints:function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]}}),Qi=Zi.extend({addValue:function(t,e){var i,n=e.categoryIx,s=e.category,r=e.series,o=e.seriesIx,a=this.children,h=this.options,l=t.valueFields,c=oi(this.splitValue(l)),u=r.data[n],p=this.categoryPoints[n];p||(this.categoryPoints[n]=p=[]),c&&(i=this.createPoint(t,e));var d=a[n];d||(d=new Xi({vertical:h.invertAxes,gap:h.gap,spacing:h.spacing,rtl:!h.invertAxes&&(this.chartService||{}).rtl}),this.append(d)),i&&(this.updateRange(l,e),d.append(i),i.categoryIx=n,i.category=s,i.series=r,i.seriesIx=o,i.owner=this,i.dataItem=u),this.points.push(i),p.push(i)},pointType:function(){return this.options.invertAxes?Ki:ji},splitValue:function(t){return[t.lower,t.q1,t.median,t.q3,t.upper]},updateRange:function(t,e){var i=e.series.axis,n=this.valueAxisRanges[i],s=this.splitValue(t).concat(this.filterOutliers(t.outliers));b(t.mean)&&(s=s.concat(t.mean)),n=this.valueAxisRanges[i]=n||{min:r,max:o},n=this.valueAxisRanges[i]={min:Math.min.apply(Math,s.concat([n.min])),max:Math.max.apply(Math,s.concat([n.max]))}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.lower,i.q1,i.median,i.q3,i.upper,i.mean,t.category)},filterOutliers:function(t){for(var e=(t||[]).length,i=[],n=0;n<e;n++){var s=t[n];b(s)&&null!==s&&i.push(s)}return i},supportsPointInactiveOpacity:function(){return!1}}),$i=ii.extend({getAxis:function(){var t=this.chart.seriesAxes(this.series);return this.isVertical?t.y:t.x}}),Ji=S.extend({init:function(t,e){S.fn.init.call(this,e),this.plotArea=t,this.chartService=t.chartService,this._initFields(),this.render()},_initFields:function(){this.xAxisRanges={},this.yAxisRanges={},this.points=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[]},render:function(){this.traverseDataPoints(this.addValue.bind(this))},addErrorBar:function(t,e,i){var s,r=t.value[e],o=e+"Value",a=e+"ErrorLow",h=e+"ErrorHigh",l=i.seriesIx,c=i.series,u=t.options.errorBars,p=i[a],d=i[h];n(r)&&(n(p)&&n(d)&&(s={low:p,high:d}),u&&b(u[o])&&(this.seriesErrorRanges=this.seriesErrorRanges||{x:[],y:[]},this.seriesErrorRanges[e][l]=this.seriesErrorRanges[e][l]||new bt(u[o],c,e),s=this.seriesErrorRanges[e][l].getErrorRange(r,u[o])),s&&this.addPointErrorBar(s,t,e))},addPointErrorBar:function(t,e,i){var n=t.low,s=t.high,r=e.series,o=e.options.errorBars,a=i===g,h={};e[i+"Low"]=n,e[i+"High"]=s,e.errorBars=e.errorBars||[];var l=new $i(n,s,a,this,r,o);e.errorBars.push(l),e.append(l),h[i]=n,this.updateRange(h,r),h[i]=s,this.updateRange(h,r)},addValue:function(e,i){var n,s=e.x,r=e.y,o=i.seriesIx,a=this.options.series[o],h=this.seriesMissingValues(a),l=this.seriesPoints[o],c=e;vi(s)&&vi(r)||(c=this.createMissingValue(c,h)),c&&((n=this.createPoint(c,i))&&(t.extend(n,i),this.addErrorBar(n,v,i),this.addErrorBar(n,g,i)),this.updateRange(c,i.series)),this.points.push(n),l.push(n)},seriesMissingValues:function(t){return t.missingValues},createMissingValue:function(){},updateRange:function(t,e){var i=this.chartService.intl,n=e.xAxis,s=e.yAxis,a=t.x,h=t.y,l=this.xAxisRanges[n],c=this.yAxisRanges[s];vi(a)&&(l=this.xAxisRanges[n]=l||{min:r,max:o},T(a)&&(a=O(i,a)),l.min=Math.min(l.min,a),l.max=Math.max(l.max,a)),vi(h)&&(c=this.yAxisRanges[s]=c||{min:r,max:o},T(h)&&(h=O(i,h)),c.min=Math.min(c.min,h),c.max=Math.max(c.max,h))},evalPointOptions:function(t,e,i){var n=i.series,s=i.seriesIx,r={defaults:n._defaults,excluded:["data","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint","drilldownSeriesFactory"]},o=this._evalSeries[s];b(o)||(this._evalSeries[s]=o=ui(t,{},r,!0));var a=t;return o&&ui(a=M({},t),{value:e,series:n,dataItem:i.dataItem},r),a},pointType:function(){return Ci},pointOptions:function(t,e){var i=this.seriesOptions[e];if(!i){var n=this.pointType().prototype.defaults;this.seriesOptions[e]=i=M({},n,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return i},createPoint:function(t,e){var i=e.series,n=this.pointOptions(i,e.seriesIx),s=e.color||i.color;n=this.evalPointOptions(n,t,e),R(i.color)&&(s=n.color);var r=new Ci(t,n);return r.color=s,this.append(r),r},seriesAxes:function(t){var e=t.xAxis,i=t.yAxis,n=this.plotArea,s=e?n.namedXAxes[e]:n.axisX,r=i?n.namedYAxes[i]:n.axisY;if(!s)throw new Error("Unable to locate X axis with name "+e);if(!r)throw new Error("Unable to locate Y axis with name "+i);return{x:s,y:r}},reflow:function(t){var e=this,i=this.points,n=!this.options.clip,s=0;this.traverseDataPoints((function(t,r){var o=i[s++],a=e.seriesAxes(r.series),h=a.x.getSlot(t.x,t.x,n),l=a.y.getSlot(t.y,t.y,n);if(o)if(h&&l){var c=e.pointSlot(h,l);o.reflow(c)}else o.visible=!1})),this.box=t},pointSlot:function(t,e){return new k(t.x1,e.y1,t.x2,e.y2)},traverseDataPoints:function(t){for(var e=this.options.series,i=this.seriesPoints,n=0;n<e.length;n++){var s=e[n];i[n]||(i[n]=[]);for(var r=0;r<s.data.length;r++){var o=this.plotArea.bindPoint(s,r),a=o.valueFields,h=o.fields;t(a,M({pointIx:r,series:s,seriesIx:n,dataItem:s.data[r],owner:this},h))}}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.x,i.y)},animationPoints:function(){for(var t=this.points,e=[],i=0;i<t.length;i++)e.push((t[i]||{}).marker);return e}});I(Ji,{series:[],tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"},clip:!0}),M(Ji.prototype,Li);var tn=Ci.extend({init:function(t,e){Ci.fn.init.call(this,t,e),this.category=t.category},createHighlight:function(){var t=this.options.highlight,e=t.border,i=this.options.markers,n=this.box.center(),s=(i.size+i.border.width+e.width)/2,r=new ot,o=new it.Circle(new ht.Circle([n.x,n.y+s/5+e.width/2],s+e.width/2),{stroke:{color:"none"},fill:this.createGradient({gradient:"bubbleShadow",color:i.background,stops:[{offset:0,color:i.background,opacity:.3},{offset:1,color:i.background,opacity:0}]})}),a=new it.Circle(new ht.Circle([n.x,n.y],s),{stroke:{color:e.color||new at(i.background).brightness(Ct).toHex(),width:e.width,opacity:e.opacity},fill:{color:i.background,opacity:t.opacity}});return r.append(o,a),r}});tn.prototype.defaults=M({},tn.prototype.defaults,{labels:{position:l},highlight:{opacity:1,border:{color:"#fff",width:2,opacity:1}}}),tn.prototype.defaults.highlight.zIndex=void 0;var en=Ji.extend({_initFields:function(){this._maxSize=o,Ji.fn._initFields.call(this)},addValue:function(t,e){null!==t.size&&(t.size>0||t.size<0&&e.series.negativeValues.visible)?(this._maxSize=Math.max(this._maxSize,Math.abs(t.size)),Ji.fn.addValue.call(this,t,e)):(this.points.push(null),this.seriesPoints[e.seriesIx].push(null))},reflow:function(t){this.updateBubblesSize(t),Ji.fn.reflow.call(this,t)},pointType:function(){return tn},createPoint:function(t,e){var i=e.series,n=i.data.length,s=e.pointIx*(At/n),r={delay:s,duration:At-s,type:qt},o=e.color||i.color;t.size<0&&i.negativeValues.visible&&(o=V(i.negativeValues.color,o));var a=M({labels:{animation:{delay:s,duration:At-s}}},this.pointOptions(i,e.seriesIx),{markers:{type:f,border:i.border,opacity:i.opacity,animation:r}});a=this.evalPointOptions(a,t,e),R(i.color)&&(o=a.color),a.markers.background=o;var h=new tn(t,a);return h.color=o,this.append(h),h},updateBubblesSize:function(t){for(var e=this.options.series,i=Math.min(t.width(),t.height()),n=0;n<e.length;n++)for(var s=e[n],r=this.seriesPoints[n],o=(s.minSize||Math.max(.02*i,10))/2,a=(s.maxSize||.2*i)/2,h=Math.PI*o*o,l=(Math.PI*a*a-h)/this._maxSize,c=0;c<r.length;c++){var u=r[c];if(u){var p=Math.abs(u.value.size)*l,d=Math.sqrt((h+p)/Math.PI),f=V(u.options.zIndex,0)+(1-d/a);M(u.options,{zIndex:f,markers:{size:2*d,zIndex:f},labels:{zIndex:f+1}})}}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.x,i.y,i.size,t.category)},createAnimation:function(){},createVisual:function(){}});I(en,{tooltip:{format:"{3}"},labels:{format:"{3}"}});var nn=H.extend({});M(nn.prototype,Ai);var sn=S.extend({init:function(t,e){S.fn.init.call(this,e),this.aboveAxis=this.options.aboveAxis,this.color=e.color||d,this.value=t},render:function(){var t=this.options;this._rendered||(this._rendered=!0,b(this.value.target)&&(this.target=new nn({type:t.target.shape,background:t.target.color||this.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:c,align:x}),this.target.value=this.value,this.target.dataItem=this.dataItem,this.target.series=this.series,this.append(this.target)),this.createLabel(),this.createNote())},createLabel:function(){var t=this.options.labels;if(t.visible){var e,i=this.pointData(),n=F(t);e=n?n(i):this.formatValue(t.format),this.label=new Hi(e,t,i),this.append(this.label)}},reflow:function(t){this.render();var e=this,i=e.options,n=e.target,s=e.owner,r=i.invertAxes,o=s.seriesValueAxis(this.options),a=s.categorySlot(s.categoryAxis,i.categoryIx,o),h=o.getSlot(this.value.target),l=r?h:a,c=r?a:h;if(n){var u=new k(l.x1,c.y1,l.x2,c.y2);n.options.height=r?u.height():i.target.line.width,n.options.width=r?i.target.line.width:u.width(),n.reflow(u)}var p=this.label;p&&(p.options.aboveAxis=this.aboveAxis,p.reflow(t)),this.note&&this.note.reflow(t),this.box=t},createVisual:function(){S.fn.createVisual.call(this);var t=this.options,e=nt.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:t.opacity},stroke:null});t.border.width>0&&e.options.set("stroke",{color:t.border.color||this.color,width:t.border.width,dashType:t.border.dashType,opacity:V(t.border.opacity,t.opacity)}),this.bodyVisual=e,P(e),this.visual.append(e)},createAnimation:function(){this.bodyVisual&&(this.animation=st.create(this.bodyVisual,this.options.animation))},createHighlight:function(t){return nt.fromRect(this.box.toRect(),t)},highlightVisual:function(){return this.bodyVisual},highlightVisualArgs:function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},formatValue:function(t){return this.owner.formatPointValue(this,t)},pointData:function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series}},overlapsBox:function(t){return this.box.overlaps(t)}});sn.prototype.tooltipAnchor=Ni.prototype.tooltipAnchor,I(sn,{border:{width:1},vertical:!1,opacity:1,target:{shape:"",border:{width:0,color:"green"},line:{width:2}},labels:{visible:!1},tooltip:{format:"Current: {0}<br />Target: {1}"},notes:{label:{}}}),M(sn.prototype,Ai),M(sn.prototype,Si);var rn=wi.extend({init:function(t,e){!function(t){for(var e=t.series,i=0;i<e.length;i++){var n=e[i],s=n.data;!s||A(s[0])||L(s[0])||(n.data=[s])}}(e),wi.fn.init.call(this,t,e)},reflowCategories:function(t){for(var e=this.children,i=e.length,n=0;n<i;n++)e[n].reflow(t[n])},plotRange:function(t){var e=t.series,i=this.seriesValueAxis(e),n=this.categoryAxisCrossingValue(i);return[n,t.value.current||n]},createPoint:function(t,e){var i=e.categoryIx,n=e.series,s=this.options,r=this.children,o=t.valueFields,a=M({vertical:!s.invertAxes,overlay:n.overlay,categoryIx:i,invertAxes:s.invertAxes},n),h=t.fields.color||n.color;a=this.evalPointOptions(a,o,e),R(n.color)&&(h=a.color);var l=new sn(o,a);l.color=h;var c=r[i];return c||(c=new Xi({vertical:s.invertAxes,gap:s.gap,spacing:s.spacing,rtl:!s.invertAxes&&(this.chartService||{}).rtl}),this.append(c)),c.append(l),l},updateRange:function(t,e){var i=t.current,n=t.target,s=e.series.axis,a=this.valueAxisRanges[s];b(i)&&!isNaN(i)&&b(n&&!isNaN(n))&&((a=this.valueAxisRanges[s]=a||{min:r,max:o}).min=Math.min(a.min,i,n),a.max=Math.max(a.max,i,n))},formatPointValue:function(t,e){return this.chartService.format.auto(e,t.value.current,t.value.target)},pointValue:function(t){return t.valueFields.current},aboveAxis:function(t){return t.value.current>0},createAnimation:function(){var t=this.points;this._setAnimationOptions();for(var e=0;e<t.length;e++){var i=t[e];i.options.animation=this.options.animation,i.createAnimation()}}});rn.prototype._setAnimationOptions=Yi.prototype._setAnimationOptions,I(rn,{animation:{type:Nt}});var on=i.extend({init:function(t,e){this.chartService=t,this.options=M({},this.options,e)},getStyle:function(t,e){var i=t.background,n=t.border.color;if(e){var s=e.color||e.options.color;i=V(i,s),n=V(n,s)}var r=N(t.padding||{},"auto");return{backgroundColor:i,borderColor:n,font:t.font,color:t.color,opacity:t.opacity,borderWidth:X(t.border.width),paddingTop:X(r.top),paddingBottom:X(r.bottom),paddingLeft:X(r.left),paddingRight:X(r.right)}},show:function(t,e,i){t.format=e.format;var n=this.getStyle(e,i);t.style=n;var s=new at(n.backgroundColor);b(e.color)||s.isDark()||(t.className="k-chart-tooltip-inverse"),this.chartService.notify(Ge,t),this.visible=!0},hide:function(){this.chartService&&this.chartService.notify(qe),this.visible=!1},destroy:function(){delete this.chartService}});I(on,{border:{width:1},opacity:1});var an=on.extend({init:function(t,e,i){on.fn.init.call(this,t,i),this.crosshair=e,this.formatService=t.format,this.initAxisName()},initAxisName:function(){var t,e=this.crosshair.axis;t=e.plotArea.categoryAxis?e.getCategory?"categoryAxis":"valueAxis":e.options.vertical?"yAxis":"xAxis",this.axisName=t},showAt:function(t){var e=this.crosshair.axis,i=this.options,n=e[i.stickyMode?"getCategory":"getValue"](t),s=n;i.format?s=this.formatService.auto(i.format,n):e.options.type===h&&(s=this.formatService.auto(e.options.labels.dateFormats[e.options.baseUnit],n)),this.show({point:t,anchor:this.getAnchor(),crosshair:this.crosshair,value:s,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex},this.options)},hide:function(){this.chartService.notify(qe,{crosshair:this.crosshair,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex})},getAnchor:function(){var t,e,i,n=this.crosshair,s=this.options,r=s.position,o=s.padding,a=!n.axis.options.vertical,h=n.line.bbox();return a?(t=l,r===u?(e=c,i=h.bottomLeft().translate(0,o)):(e=u,i=h.topLeft().translate(0,-o))):(e=l,r===p?(t=x,i=h.topLeft().translate(-o,0)):(t=p,i=h.topRight().translate(o,0))),{point:i,align:{horizontal:t,vertical:e}}}});I(an,{padding:10});var hn=S.extend({init:function(t,e,i){S.fn.init.call(this,i),this.axis=e,this.stickyMode=e instanceof W;var n=this.options.tooltip;n.visible&&(this.tooltip=new an(t,this,M({},n,{stickyMode:this.stickyMode})))},showAt:function(t){this.point=t,this.moveLine(),this.line.visible(!0),this.tooltip&&this.tooltip.showAt(t)},hide:function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},moveLine:function(){var t,e=this.axis,i=this.point,n=e.options.vertical,s=this.getBox(),r=n?g:v,o=new lt(s.x1,s.y1);if(t=n?new lt(s.x2,s.y1):new lt(s.x1,s.y2),i)if(this.stickyMode){var a=e.getSlot(e.pointCategoryIndex(i));o[r]=t[r]=a.center()[r]}else o[r]=t[r]=i[r];this.box=s,this.line.moveTo(o).lineTo(t)},getBox:function(){for(var t,e=this.axis,i=e.pane.axes,n=i.length,s=e.options.vertical,r=e.lineBox().clone(),o=s?v:g,a=0;a<n;a++){var h=i[a];h.options.vertical!==s&&(t?t.wrap(h.lineBox()):t=h.lineBox().clone())}return r[o+1]=t[o+1],r[o+2]=t[o+2],r},createVisual:function(){S.fn.createVisual.call(this);var t=this.options;this.line=new nt({stroke:{color:t.color,width:t.width,opacity:t.opacity,dashType:t.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},destroy:function(){this.tooltip&&this.tooltip.destroy(),S.fn.destroy.call(this)}});I(hn,{color:m,width:2,zIndex:-1,tooltip:{visible:!1}});var ln=S.extend({init:function(t,e){S.fn.init.call(this,t),this.pane=e},shouldClip:function(){for(var t=this.children,e=t.length,i=0;i<e;i++)if(!0===t[i].options.clip)return!0;return!1},_clipBox:function(){return this.pane.chartsBox()},createVisual:function(){if(this.visual=new ot({zIndex:0}),this.shouldClip()){var t=(this.clipBox=this._clipBox()).toRect(),e=nt.fromRect(t);P(e),this.visual.clip(e),this.unclipLabels()}},stackRoot:function(){return this},unclipLabels:function(){for(var t=this.children,e=this.clipBox,i=0;i<t.length;i++)for(var n=t[i].points||{},s=n.length,r=0;r<s;r++){var o=n[r];if(o&&!1!==o.visible&&o.overlapsBox&&o.overlapsBox(e))if(o.unclipElements)o.unclipElements();else{var a=o.label,h=o.note;a&&a.options.visible&&(a.alignToClipBox&&a.alignToClipBox(e),a.options.noclip=!0),h&&h.options.visible&&(h.options.noclip=!0)}}},destroy:function(){S.fn.destroy.call(this),delete this.parent}});ln.prototype.isStackRoot=!0;var cn=Y.extend({init:function(t){Y.fn.init.call(this,t),this.id="pane"+un++,this.createTitle(),this.content=new S,this.chartContainer=new ln({},this),this.append(this.content),this.axes=[],this.charts=[]},createTitle:function(){var t=this.options.title;L(t)&&(t=M({},t,{align:t.position,position:c})),this.title=U.buildTitle(t,cn.prototype.options.title),this.title&&this.append(this.title)},appendAxis:function(t){this.content.append(t),this.axes.push(t),t.pane=this},appendAxisAt:function(t,e){this.content.append(t),this.axes.splice(e,0,t),t.pane=this},appendChart:function(t){this.chartContainer.parent!==this.content&&this.content.append(this.chartContainer),this.charts.push(t),this.chartContainer.append(t),t.pane=this},empty:function(){var t=this.parent;if(t){for(var e=0;e<this.axes.length;e++)t.removeAxis(this.axes[e]);for(var i=0;i<this.charts.length;i++)t.removeChart(this.charts[i])}this.axes=[],this.charts=[],this.content.destroy(),this.content.children=[],this.chartContainer.children=[]},reflow:function(t){var e;B(this.children)===this.content&&(e=this.children.pop()),Y.fn.reflow.call(this,t),e&&this.children.push(e),this.title&&(this.contentBox.y1+=this.title.box.height())},visualStyle:function(){var t=Y.fn.visualStyle.call(this);return t.zIndex=-10,t},renderComplete:function(){this.options.visible&&this.createGridLines()},stackRoot:function(){return this},clipRoot:function(){return this},createGridLines:function(){for(var t=this.axes,e=t.concat(this.parent.axes),i=[],n=[],s=0;s<t.length;s++)for(var r=t[s],o=r.options.vertical,a=o?i:n,h=0;h<e.length;h++)if(0===a.length){var l=e[h];o!==l.options.vertical&&q(a,r.createGridLines(l))}},refresh:function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=this.createGradient.bind(this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete(),this.notifyRender()},chartsBox:function(){for(var t=this.axes,e=t.length,i=new k,n=0;n<e;n++){var s=t[n],r=s.options.vertical?g:v,o=s.lineBox();i[r+1]=o[r+1],i[r+2]=o[r+2]}if(0===i.x2)for(var a=this.parent.axes,h=a.length,l=0;l<h;l++){var c=a[l];if(!c.options.vertical){var u=c.lineBox();i.x1=u.x1,i.x2=u.x2}}return i},clipBox:function(){return this.chartContainer.clipBox},notifyRender:function(){var t=this.getService();t&&t.notify(Xe,{pane:new dt(this),index:this.paneIndex,name:this.options.name})}}),un=1;cn.prototype.isStackRoot=!0,I(cn,{zIndex:-1,shrinkToFit:!0,title:{align:p},visible:!0});var pn=S.extend({init:function(t,e,i){S.fn.init.call(this,e),this.initFields(t,e),this.series=t,this.initSeries(),this.charts=[],this.options.legend=this.options.legend||{},this.options.legend.items=[],this.axes=[],this.crosshairs=[],this.chartService=i,this.originalOptions=e,this.originalSeries=t,this._bindCache=new WeakMap,this.createPanes(),this.render(),this.createCrosshairs()},initFields:function(){},initSeries:function(){for(var t=this.series,e=0;e<t.length;e++)t[e].index=e},bindPoint:function(t,e,i){var n=this._bindCache.get(t);n||(n=[],this._bindCache.set(t,n));var s=n[e];return s||(s=n[e]=mt.current.bindPoint(t,e,i)),s},createPanes:function(){for(var t=this.options.title||{},e=this.options.paneDefaults,i=this.options.panes||[],n=Math.max(i.length,1),s=[],r=M({title:{color:t.color}},e),o=0;o<n;o++){var a=M({},r,i[o]);T(a.title)&&(a.title=M({text:a.title},r.title));var h=new cn(a);h.paneIndex=o,s.push(h),this.append(h)}this.panes=s},crosshairOptions:function(t){return t.options.crosshair},createCrosshairs:function(t){var e=this;void 0===t&&(t=this.panes);for(var i=0;i<t.length;i++)for(var n=t[i],s=0;s<n.axes.length;s++){var r=n.axes[s],o=e.crosshairOptions(r);if(o&&o.visible){var a=new hn(e.chartService,r,o);e.crosshairs.push(a),n.content.append(a)}}},removeCrosshairs:function(t){for(var e=this.crosshairs,i=t.axes,n=e.length-1;n>=0;n--)for(var s=0;s<i.length;s++)if(e[n].axis===i[s]){e.splice(n,1);break}},hideCrosshairs:function(){for(var t=this.crosshairs,e=0;e<t.length;e++)t[e].hide()},findPane:function(t){for(var e,i=this.panes,n=0;n<i.length;n++)if(i[n].options.name===t){e=i[n];break}return e||i[0]},findPointPane:function(t){for(var e,i=this.panes,n=0;n<i.length;n++)if(i[n].box.containsPoint(t)){e=i[n];break}return e},appendAxis:function(t){this.findPane(t.options.pane).appendAxis(t),this.axes.push(t),t.plotArea=this},removeAxis:function(t){for(var e=[],i=0;i<this.axes.length;i++){var n=this.axes[i];t!==n?e.push(n):n.destroy()}this.axes=e},appendChart:function(t,e){this.charts.push(t),e?e.appendChart(t):this.append(t)},removeChart:function(t){for(var e=[],i=0;i<this.charts.length;i++){var n=this.charts[i];n!==t?e.push(n):n.destroy()}this.charts=e},addToLegend:function(t){for(var e=t.length,i=this.options.legend,n=i.labels||{},s=i.inactiveItems||{},r=s.labels||{},o=[],a=0;a<e;a++){var h=t[a],l=!1!==h.visible;if(!1!==h.visibleInLegend){var c=h.name,u=l?F(n):F(r)||F(n);u&&(c=u({text:vi(c)?c:"",series:h}));var p=h._defaults,d=h.color;R(d)&&p&&(d=p.color);var f=void 0,v=void 0;l?(f={},v=d):(f={color:r.color,font:r.font},v=s.markers.color),vi(c)&&""!==c&&o.push({text:c,labels:f,markerColor:v,series:h,active:l})}}q(i.items,o)},groupAxes:function(t){for(var e=[],i=[],n=0;n<t.length;n++)for(var s=t[n].axes,r=0;r<s.length;r++){var o=s[r];o.options.vertical?i.push(o):e.push(o)}return{x:e,y:i,any:e.concat(i)}},groupSeriesByPane:function(){for(var t=this.series,e={},i=0;i<t.length;i++){var n=t[i],s=this.seriesPaneName(n);e[s]?e[s].push(n):e[s]=[n]}return e},filterVisibleSeries:function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];!1!==n.visible&&e.push(n)}return e},reflow:function(t){var e=this.options.plotArea,i=this.panes,n=N(e.margin);this.box=t.clone().unpad(n),this.reflowPanes(),this.detachLabels(),this.reflowAxes(i),this.reflowCharts(i)},redraw:function(t){var e=[].concat(t);this.initSeries();var i=this.getRoot();i&&i.cleanGradients();for(var n=0;n<e.length;n++)this.removeCrosshairs(e[n]),e[n].empty();this._bindCache=new WeakMap,this.render(e),this.detachLabels(),this.reflowAxes(this.panes),this.reflowCharts(e),this.createCrosshairs(e);for(var s=0;s<e.length;s++)e[s].refresh()},axisCrossingValues:function(t,e){for(var i=t.options,n=[].concat(i.axisCrossingValues||i.axisCrossingValue),s=e.length-n.length,r=n[0]||0,o=0;o<s;o++)n.push(r);return n},alignAxisTo:function(t,e,i,n){var s=t.getSlot(i,i,!0),r=t.options.reverse?2:1,o=e.getSlot(n,n,!0),a=e.options.reverse?2:1,h=t.box.translate(o[v+a]-s[v+r],o[g+a]-s[g+r]);t.pane!==e.pane&&h.translate(0,t.pane.box.y1-e.pane.box.y1),t.reflow(h)},alignAxes:function(t,e){for(var i=this,n=t[0],r=e[0],o=this.axisCrossingValues(n,e),a=this.axisCrossingValues(r,t),h={},l={},d={},f={},v=0;v<e.length;v++){var g=e[v],m=g.pane,y=m.id,_=!1!==g.options.visible,b=vn(t,m)||n,w=o;b!==n&&(w=i.axisCrossingValues(b,e)),i.alignAxisTo(g,b,a[v],w[v]),g.options._overlap||(Z(g.lineBox().x1)===Z(b.lineBox().x1)&&(h[y]&&g.reflow(g.box.alignTo(h[y].box,p).translate(-g.options.margin,0)),_&&(h[y]=g)),Z(g.lineBox().x2)===Z(b.lineBox().x2)&&(g._mirrored||(g.options.labels.mirror=!g.options.labels.mirror,g._mirrored=!0),i.alignAxisTo(g,b,a[v],w[v]),l[y]&&g.reflow(g.box.alignTo(l[y].box,x).translate(g.options.margin,0)),_&&(l[y]=g)),0!==v&&r.pane===g.pane&&(g.alignTo(r),g.reflow(g.box)))}for(var A=0;A<t.length;A++){var S=t[A],C=S.pane,k=C.id,P=!1!==S.options.visible,I=vn(e,C)||r,T=a;I!==r&&(T=i.axisCrossingValues(I,t)),i.alignAxisTo(S,I,o[A],T[A]),S.options._overlap||(Z(S.lineBox().y1)===Z(I.lineBox().y1)&&(S._mirrored||(S.options.labels.mirror=!S.options.labels.mirror,S._mirrored=!0),i.alignAxisTo(S,I,o[A],T[A]),d[k]&&S.reflow(S.box.alignTo(d[k].box,c).translate(0,-S.options.margin)),P&&(d[k]=S)),Z(S.lineBox().y2,s.COORD_PRECISION)===Z(I.lineBox().y2,s.COORD_PRECISION)&&(f[k]&&S.reflow(S.box.alignTo(f[k].box,u).translate(0,S.options.margin)),P&&(f[k]=S)),0!==A&&(S.alignTo(n),S.reflow(S.box)))}},shrinkAxisWidth:function(t){for(var e=this.groupAxes(t).any,i=fn(e),n=0,s=0;s<t.length;s++){var r=t[s];r.axes.length>0&&(n=Math.max(n,i.width()-r.contentBox.width()))}if(0!==n)for(var o=0;o<e.length;o++){var a=e[o];a.options.vertical||a.reflow(a.box.shrink(n,0))}},shrinkAxisHeight:function(t){for(var e,i=0;i<t.length;i++){var n=t[i],s=n.axes,r=Math.max(0,fn(s).height()-n.contentBox.height());if(0!==r){for(var o=0;o<s.length;o++){var a=s[o];a.options.vertical&&a.reflow(a.box.shrink(0,r))}e=!0}}return e},fitAxes:function(t){for(var e=this.groupAxes(t).any,i=0,n=0;n<t.length;n++){var s=t[n],r=s.axes,o=s.contentBox;if(r.length>0){var a=fn(r),h=Math.max(o.y1-a.y1,o.y2-a.y2);i=Math.max(i,o.x1-a.x1);for(var l=0;l<r.length;l++){var c=r[l];c.reflow(c.box.translate(0,h))}}}for(var u=0;u<e.length;u++){var p=e[u];p.reflow(p.box.translate(i,0))}},reflowAxes:function(t){for(var e=this.groupAxes(t),i=0;i<t.length;i++)this.reflowPaneAxes(t[i]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t),this.autoRotateAxisLabels(e),this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t)&&this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t),this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t)&&this.alignAxes(e.x,e.y),this.fitAxes(t))},autoRotateAxisLabels:function(t){for(var e,i=this.panes,n=gn(i),s=0;s<n.length;s++){n[s].autoRotateLabels()&&(e=!0)}if(e){for(var r=0;r<i.length;r++)this.reflowPaneAxes(i[r]);t.x.length>0&&t.y.length>0&&(this.alignAxes(t.x,t.y),this.shrinkAxisWidth(i))}},reflowPaneAxes:function(t){var e=t.axes,i=e.length;if(i>0)for(var n=0;n<i;n++)e[n].reflow(t.contentBox)},reflowCharts:function(t){for(var e=this.charts,i=e.length,n=this.box,s=0;s<i;s++){var r=e[s].pane;r&&!E(r,t)||e[s].reflow(n)}},reflowPanes:function(){for(var t=this.box,e=this.panes,i=e.length,n=t.height(),s=0,r=t.y1,o=0;o<i;o++){var a=e[o],h=a.options.height;if(a.options.width=t.width(),a.options.height){if(h.indexOf&&h.indexOf("%")){var l=parseInt(h,10)/100;a.options.height=l*t.height()}a.reflow(t.clone()),n-=a.options.height}else s++}for(var c=0;c<i;c++){var u=e[c];u.options.height||(u.options.height=n/s)}for(var p=0;p<i;p++){var d=e[p],f=t.clone().move(t.x1,r);d.reflow(f),r+=d.options.height}},backgroundBox:function(){for(var t,e=this.axes,i=e.length,n=0;n<i;n++)for(var s=e[n],r=0;r<i;r++){var o=e[r];if(s.options.vertical!==o.options.vertical){var a=s.lineBox().clone().wrap(o.lineBox());t=t?t.wrap(a):a}}return t||this.box},chartsBoxes:function(){for(var t=this.panes,e=[],i=0;i<t.length;i++)e.push(t[i].chartsBox());return e},addBackgroundPaths:function(t){for(var e=this.chartsBoxes(),i=0;i<e.length;i++)t.paths.push(nt.fromRect(e[i].toRect()))},backgroundContainsPoint:function(t){for(var e=this.chartsBoxes(),i=0;i<e.length;i++)if(e[i].containsPoint(t))return!0},createVisual:function(){S.fn.createVisual.call(this);var t,e=this.options.plotArea,i=e.opacity,n=e.background,s=e.border;void 0===s&&(s={}),""!==(t=n)&&null!==t&&"none"!==t&&"transparent"!==t&&b(t)||(n=d,i=0);var r=this._bgVisual=new it.MultiPath({fill:{color:n,opacity:i},stroke:{color:s.width?s.color:"",width:s.width,dashType:s.dashType},zIndex:-1});this.addBackgroundPaths(r),this.appendVisual(r)},pointsByCategoryIndex:function(t){var e=this.charts,i=[];if(null!==t)for(var n=0;n<e.length;n++){if("_navigator"!==e[n].pane.options.name){var s=e[n].categoryPoints[t];if(s&&s.length)for(var r=0;r<s.length;r++){var o=s[r];o&&b(o.value)&&null!==o.value&&i.push(o)}}}return i},pointsBySeriesIndex:function(t){return this.filterPoints((function(e){return e.series.index===t}))},pointsBySeriesName:function(t){return this.filterPoints((function(e){return e.series.name===t}))},filterPoints:function(t){for(var e=this.charts,i=[],n=0;n<e.length;n++)for(var s=e[n].points,r=0;r<s.length;r++){var o=s[r];o&&!1!==o.visible&&t(o)&&i.push(o)}return i},findPoint:function(t){for(var e=this.charts,i=0;i<e.length;i++)for(var n=e[i].points,s=0;s<n.length;s++){var r=n[s];if(r&&!1!==r.visible&&t(r))return r}},paneByPoint:function(t){for(var e=this.panes,i=0;i<e.length;i++){var n=e[i];if(n.box.containsPoint(t))return n}},detachLabels:function(){var t=this.groupAxes(this.panes),e=t.x,i=t.y;this.detachAxisGroupLabels(i,e),this.detachAxisGroupLabels(e,i)},detachAxisGroupLabels:function(t,e){for(var i=0,n=0;n<t.length;n++){var s=t[n],r=s.pane,o=vn(e,r)||e[0],a=n+i,h=this.createLabelAxis(s,a,o);if(h){i++;var l=r.axes.indexOf(s)+i;r.appendAxisAt(h,l)}}},createLabelAxis:function(t,e,i){var n=t.options.labels,r=n.position,o=r!==s.END&&r!==s.START,a=n.visible;if(o||!1===a)return null;var h=this.groupAxes(this.panes),l=i.options.vertical?h.x:h.y,c=this.axisCrossingValues(i,l),u=r===s.END,p=i.range(),d=u?p.max:p.min;if(j(c[e],p.min,p.max)-d==0)return null;c.splice(e+1,0,d),i.options.axisCrossingValues=c;var f=t.clone();return t.clear(),f.options.name=void 0,f.options.line.visible=!1,f.options.crosshair=void 0,f.options.notes=void 0,f.options.plotBands=void 0,f},isTrendline:function(t){return t&&E(t.type,be)},trendlineFactory:function(){},createTrendlineSeries:function(){var e=this,i=[];return this.series=this.series.map((function(n){if(!e.isTrendline(n))return n;var r=e.seriesByName(n.for);if(!r)throw new Error('Invalid Configuration: Unable to locate linked series "'+n.for+'" for trendline "'+n.name+'".');var o=mt.current.valueFields(r),a=B(o),h=e.trendlineFactory(t.extend({},{field:a},n),r);return h&&(!1===r.visible&&(h.visible=!1),h.color===s.INHERIT&&(h.color=r.color),i.push(h)),h})).filter((function(t){return null!==t})),i},seriesByName:function(t){return this.series.find((function(e){return e.name===t}))}});function dn(t){return!t.pane.axes.some((function(e){return e.options.vertical===t.options.vertical&&e!==t&&!1!==e.options.visible}))}function fn(t){for(var e,i=t.length,n=0;n<i;n++){var s=t[n],r=!1!==s.options.visible;if(r||dn(s)){var o=r?s.contentBox():s.lineBox();e?e.wrap(o):e=o.clone()}}return e||new k}function vn(t,e){for(var i=0;i<t.length;i++){var n=t[i];if(n&&n.pane===e)return n}}var gn=function(t){return t.reduce((function(t,e){return t.concat(e.axes)}),[])};I(pn,{series:[],plotArea:{margin:{}},background:"",border:{color:m,width:0},paneDefaults:{title:{}},legend:{inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}}});var xn={hover:function(t,e){this._dispatchEvent(t,e,Ee)},click:function(t,e){this._dispatchEvent(t,e,Te)}},mn=i.extend({init:function(t,e,i){var n=e.canonicalFields(t),s=e.valueFields(t),r=e.sourceFields(t,n),o=this._seriesFields=[],a=i.query(t.type),h=t.aggregate||a;this._series=t,this._binder=e;for(var l=0;l<n.length;l++){var c=n[l],u=void 0;if(L(h))u=h[c];else{if(0!==l&&!E(c,s))break;u=h}u&&o.push({canonicalName:c,name:r[l],transform:R(u)?u:gt[u]})}},aggregatePoints:function(t,e){var i=this._series,s=this._seriesFields,r=this._bindPoints(t||[]),o=r.dataItems[0],a={};if(o&&!n(o)&&!A(o)){var h=function(){};h.prototype=o,a=new h}for(var l=0;l<s.length;l++){var c=s[l],u=this._bindField(r.values,c.canonicalName),p=c.transform(u,i,r.dataItems,e);if(!(null===p||!L(p)||b(p.length)||p instanceof Date)){a=p;break}b(p)&&yn(c.name,a,p)}return a},_bindPoints:function(t){for(var e=this._binder,i=this._series,n=[],s=[],r=0;r<t.length;r++){var o=t[r];n.push(e.bindPoint(i,o)),s.push(i.data[o])}return{values:n,dataItems:s}},_bindField:function(t,e){for(var i=[],n=t.length,s=0;s<n;s++){var r=t[s],o=r.valueFields,a=void 0;a=b(o[e])?o[e]:r.fields[e],i.push(a)}return i}});function yn(t,e,i){var n=e,s=t;if(t.indexOf(".")>-1){for(var r=t.split(".");r.length>1;)s=r.shift(),b(n[s])||(n[s]={}),n=n[s];s=r.shift()}n[s]=i}var _n=i.extend({init:function(){this._defaults={}},register:function(t,e){for(var i=0;i<t.length;i++)this._defaults[t[i]]=e},query:function(t){return this._defaults[t]}});_n.current=new _n;var bn=Ni.extend({createLabel:function(){var t=this.options.labels,e=M({},t,t.from),i=M({},t,t.to);e.visible&&(this.labelFrom=this._createLabel(e),this.append(this.labelFrom)),i.visible&&(this.labelTo=this._createLabel(i),this.append(this.labelTo))},_createLabel:function(t){var e,i=F(t),n=this.pointData();return e=i?i(n):this.formatValue(t.format),new Hi(e,M({vertical:this.options.vertical},t),n)},reflow:function(t){this.render();var e=this,i=e.labelFrom,n=e.labelTo,s=e.value;this.box=t,i&&(i.options.aboveAxis=s.from>s.to,i.reflow(t)),n&&(n.options.aboveAxis=s.to>s.from,n.reflow(t)),this.note&&this.note.reflow(t)}});bn.prototype.defaults=M({},bn.prototype.defaults,{labels:{format:"{0} - {1}"},tooltip:{format:"{1}"}});var wn=Yi.extend({pointType:function(){return bn},pointValue:function(t){return t.valueFields},formatPointValue:function(t,e){return null===t.value.from&&null===t.value.to?"":this.chartService.format.auto(e,t.value.from,t.value.to)},plotRange:function(t){return t?[t.value.from,t.value.to]:0},updateRange:function(t,e){var i=e.series.axis,s=t.from,a=t.to,h=this.valueAxisRanges[i];null!==t&&n(s)&&n(a)&&((h=this.valueAxisRanges[i]=h||{min:r,max:o}).min=Math.min(h.min,s),h.max=Math.max(h.max,s),h.min=Math.min(h.min,a),h.max=Math.max(h.max,a))},aboveAxis:function(t){var e=t.value;return e.from<e.to}});wn.prototype.plotLimits=wi.prototype.plotLimits;var An=Ci.extend({aliasFor:function(){return this.parent}}),Sn="auto",Cn=S.extend({init:function(t,e){S.fn.init.call(this),this.value=t,this.options=e,this.aboveAxis=V(this.options.aboveAxis,!0),this.tooltipTracking=!0,this.initLabelsFormat()},render:function(){if(!this._rendered){this._rendered=!0;var t=this.options,e=t.markers,i=t.labels,n=this.value,s=this.fromPoint=new An(n,M({},this.options,{labels:i.from,markers:e.from})),r=this.toPoint=new An(n,M({},this.options,{labels:i.to,markers:e.to}));this.copyFields(s),this.copyFields(r),this.append(s),this.append(r)}},reflow:function(t){this.render();var e=t.from,i=t.to;this.positionLabels(e,i),this.fromPoint.reflow(e),this.toPoint.reflow(i),this.box=this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox())},createHighlight:function(){var t=new ot;return t.append(this.fromPoint.createHighlight()),t.append(this.toPoint.createHighlight()),t},highlightVisual:function(){return this.visual},highlightVisualArgs:function(){return{options:this.options,from:this.fromPoint.highlightVisualArgs(),to:this.toPoint.highlightVisualArgs()}},tooltipAnchor:function(){var t=this.owner.pane.clipBox();if(!t||t.overlaps(this.box)){var e,i,n,s=this.box,r=s.center(),o=p;return this.options.vertical?(e=r.x,i=s.y1-5,n=u):(e=s.x2+5,i=r.y,n=l),{point:new C(e,i),align:{horizontal:o,vertical:n}}}},formatValue:function(t){return this.owner.formatPointValue(this,t)},overlapsBox:function(t){return this.box.overlaps(t)},unclipElements:function(){this.fromPoint.unclipElements(),this.toPoint.unclipElements()},initLabelsFormat:function(){var e=this.options.labels;e.format||(e.from&&e.from.format||(e.from=t.extend({},e.from,{format:"{0}"})),e.to&&e.to.format||(e.to=t.extend({},e.to,{format:"{1}"})))},positionLabels:function(t,e){var i,n,s=this.options,r=s.labels,o=s.vertical;r.position===Sn&&(o?e.y1<=t.y1?(n=Bt,i=Dt):(n=Dt,i=Bt):e.x1<=t.x1?(n=p,i=x):(n=x,i=p),r.from&&r.from.position||(this.fromPoint.options.labels.position=i),r.to&&r.to.position||(this.toPoint.options.labels.position=n))},copyFields:function(t){t.dataItem=this.dataItem,t.category=this.category,t.series=this.series,t.color=this.color,t.owner=this.owner}});M(Cn.prototype,Ai),M(Cn.prototype,Si),Cn.prototype.defaults={markers:{visible:!1,background:d,size:8,type:f,border:{width:2},opacity:1},labels:{visible:!1,margin:N(3),padding:N(4),animation:{type:St,delay:At},position:Sn},notes:{label:{}},highlight:{markers:{border:{color:d,width:2}},zIndex:s.HIGHLIGHT_ZINDEX},tooltip:{format:"{0} - {1}"}};var kn=Mi.extend({createStrokeSegments:function(){return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()))},stackSegments:function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()))),t},createStroke:function(t){var e=new nt(t),i=new nt(t);e.segments.push.apply(e.segments,this.strokeSegments()),i.segments.push.apply(i.segments,this.stackSegments()),this.visual.append(e),this.visual.append(i)},hasStackSegment:function(){return!0},fromPoints:function(){return this.linePoints.map((function(t){return t.fromPoint}))},toPoints:function(){return this.linePoints.map((function(t){return t.toPoint}))}}),Pn=kn.extend({createStrokeSegments:function(){return this.createCurveSegments(this.toPoints())},stackSegments:function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.createCurveSegments(this.fromPoints().reverse())),t},createCurveSegments:function(t){return(new G).process(this.toGeometryPoints(t))}}),In=kn.extend({createStrokeSegments:function(){return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()))},stackSegments:function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()))).reverse(),t}});M(In.prototype,Pi);var Tn=wi.extend({render:function(){wi.fn.render.call(this),this.renderSegments()},pointType:function(){return Cn},createPoint:function(t,e){var i=e.series,n=e.seriesIx,s=t.valueFields;if(!vi(s.from)&&!vi(s.to)){if(this.seriesMissingValues(i)!==Lt)return null;s={from:0,to:0}}var r=this.pointOptions(i,n);r=this.evalPointOptions(r,s,e);var o=t.fields.color||i.color;R(i.color)&&(o=r.color);var a=new Cn(s,r);return a.color=o,this.append(a),a},createSegment:function(t,e,i){var n=(e.line||{}).style;return new("smooth"===n?Pn:"step"===n?In:kn)(t,e,i)},plotRange:function(t,e){return t?[t.value.from,t.value.to]:[e,e]},valueSlot:function(t,e){var i=t.getSlot(e[0],e[0],!this.options.clip),n=t.getSlot(e[1],e[1],!this.options.clip);if(i&&n)return{from:i,to:n}},pointSlot:function(t,e){var i,n,s=e.from,r=e.to;return this.options.invertAxes?(i=new k(s.x1,t.y1,s.x2,t.y2),n=new k(r.x1,t.y1,r.x2,t.y2)):(i=new k(t.x1,s.y1,t.x2,s.y2),n=new k(t.x1,r.y1,t.x2,r.y2)),{from:i,to:n}},addValue:function(t,e){var i=t.valueFields;n(i.from)||(i.from=i.to),n(i.to)||(i.to=i.from),wi.fn.addValue.call(this,t,e)},updateRange:function(t,e){if(null!==t&&n(t.from)&&n(t.to)){var i=e.series.axis,s=this.valueAxisRanges[i]=this.valueAxisRanges[i]||{min:r,max:o},a=t.from,h=t.to;s.min=Math.min(s.min,a,h),s.max=Math.max(s.max,a,h)}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.from,i.to)},animationPoints:function(){for(var t=this.points,e=[],i=0;i<t.length;i++){var n=t[i];n&&(e.push((n.fromPoint||{}).marker),e.push((n.toPoint||{}).marker))}return e.concat(this._segments)}});M(Tn.prototype,Ri,Li);var En=Ui.extend({reflow:function(t){var e=this,i=e.options,n=e.value,s=e.owner.seriesValueAxis(i),r=[],o=[],a=[],h=s.getSlot(n.low,n.high),l=s.getSlot(n.open,n.open),c=s.getSlot(n.close,n.close);l.x1=c.x1=h.x1=t.x1,l.x2=c.x2=h.x2=t.x2;var u=h.center().x;r.push([l.x1,l.y1]),r.push([u,l.y1]),o.push([u,c.y1]),o.push([c.x2,c.y1]),a.push([u,h.y1]),a.push([u,h.y2]),this.lines=[r,o,a],this.box=h.clone().wrap(l.clone().wrap(c)),this.reflowNote()},createBody:function(){}}),Rn=Zi.extend({pointType:function(){return En}}),Vn=S.extend({init:function(t,e,i){S.fn.init.call(this),this.from=t,this.to=e,this.series=i},linePoints:function(){var t=this.from,e=this.from.box,i=this.to.box,n=[];if(t.isVertical){var s=t.aboveAxis?e.y1:e.y2;n.push([e.x1,s],[i.x2,s])}else{var r=t.aboveAxis?e.x2:e.x1;n.push([r,e.y1],[r,i.y2])}return n},createVisual:function(){S.fn.createVisual.call(this);var t=this.series.line||{},e=nt.fromPoints(this.linePoints(),{stroke:{color:t.color,width:t.width,opacity:t.opacity,dashType:t.dashType}});P(e),this.visual.append(e)}});I(Vn,{animation:{type:St,delay:At}});var Ln=Yi.extend({render:function(){Yi.fn.render.call(this),this.createSegments()},traverseDataPoints:function(t){for(var e=this.options.series,i=li(e),s=!this.options.invertAxes,r=0;r<e.length;r++)for(var o=e[r],a=0,h=0,l=0;l<i;l++){var c=mt.current.bindPoint(o,l),u=c.valueFields.value,p=c.fields.summary,d=a,f=void 0;p?"total"===p.toLowerCase()?(c.valueFields.value=a,d=0,f=a):(c.valueFields.value=h,f=d-h,h=0):n(u)&&(h+=u,f=a+=u),t(c,{category:this.categoryAxis.categoryAt(l),categoryIx:l,series:o,seriesIx:r,total:a,runningTotal:h,from:d,to:f,isVertical:s})}},updateRange:function(t,e){Yi.fn.updateRange.call(this,{value:e.to},e)},aboveAxis:function(t){return t.value>=0},plotRange:function(t){return[t.from,t.to]},createSegments:function(){for(var t=this.options.series,e=this.seriesPoints,i=this.segments=[],n=0;n<t.length;n++){var s=t[n],r=e[n];if(r)for(var o=void 0,a=0;a<r.length;a++){var h=r[a];if(h&&o){var l=new Vn(o,h,s);i.push(l),this.append(l)}o=h}}}});function On(t,e,i){var n=t[String(e)];return n?n(i):null}function Mn(t,e){for(var i,n,s=0,r=0,o=0,a=0,h=0,l=Number.MAX_VALUE,c=Number.MIN_VALUE,u=0;u<t.length;u++){var p=e(t[u]),d=p.xValue,f=p.yValue;isFinite(d)&&null!==d&&isFinite(f)&&null!==f&&(l=Math.min(d,l),c=Math.max(d,c),h++,s+=d,r+=f,o+=Math.pow(d,2),a+=d*f)}return h>0&&(n=(r-(i=(h*a-s*r)/(h*o-Math.pow(s,2)))*s)/h),{slope:i,intercept:n,count:h,xMin:l,xMax:c}}var Bn=function(t){return function(e){return{xValue:e.categoryIx+1,yValue:e.valueFields[t]}}};function Dn(t,e,i){for(var n=[],s=[],r=Math.max(ti,i)-1,o=0,a=0,h=0;h<t.length;h++){var l=e(t[h]),c=l.xValue,u=l.yValue;if(isFinite(u)&&null!==u?(s.push(u),a+=u,o=Math.max(h,o)):s.push(null),h>=r){var p=s.filter((function(t){return null!==t})).length,d=s.shift()||0;if(p>0){var f=a/p;n.push([c,f]),a-=d;continue}}n.push([c,null])}return n.slice(0,o+1)}var Fn=function(t){return function(e){return{xValue:e.categoryIx,yValue:e.valueFields[t]}}};var zn={};zn[ye]=function(e){var i=e.options,n=e.categoryAxis,s=function(t){var e=t.seriesValues,i=t.categoryAxis,n=t.options,s=Mn(e(),Bn(n.field)),r=s.slope,o=s.intercept;if(s.count>0){for(var a=[],h=i.totalRangeIndices(),l=i.currentRangeIndices(),c={min:Math.floor(Math.max(l.min-1,h.min)),max:Math.ceil(Math.min(l.max+2,h.max))},u=c.min;u<c.max;u++)a[u]={category:i.categoryAt(u,!0),value:r*(u+1)+o};return{data:a}}return{data:null}}({seriesValues:e.seriesValues,categoryAxis:n,options:i}),r=s.data;return r?t.extend({},i,{type:"line",data:r,categoryField:"category",field:"value"}):null},zn[_e]=function(e){var i=e.options,n=function(t){var e=t.categoryAxis,i=function(t){var e=t.options,i=t.categoryAxis,n=t.seriesValues,s=(e.trendline||{}).period||ti,r=i.totalRangeIndices(),o=i.currentRangeIndices(),a={min:Math.floor(Math.max(o.min-s,r.min)),max:Math.ceil(Math.min(o.max+s+2,r.max))};return Dn(n(a),Fn(e.field),s)}(t),n=[];if(i.forEach((function(t){var i=t[0],s=t[1];n[i]={category:e.categoryAt(i,!0),value:s}})),n.length>0)return{data:n};return{data:null}}(e),s=n.data;return s?t.extend({},i,{type:"line",data:s,categoryField:"category",field:"value"}):null};var Hn=[Ht,pe,ae,ge],Nn=[$t,ve].concat(Hn),Gn=pn.extend({initFields:function(t){if(this.namedCategoryAxes={},this.namedValueAxes={},this.valueAxisRangeTracker=new zi,this._seriesPointsCache={},this._currentPointsCache={},t.length>0){this.invertAxes=E(t[0].type,[Nt,Xt,ve,pe,ge,he,Qt,de]);for(var e=0;e<t.length;e++){var i=t[e].stack;if(i&&"100%"===i.type){this.stack100=!0;break}}}},render:function(t){void 0===t&&(t=this.panes),this.series=[].concat(this.originalSeries),this.createCategoryAxes(t),this.aggregateCategories(t),this.createTrendlineSeries(t),this.createCategoryAxesLabels(t),this.createCharts(t),this.createValueAxes(t)},removeAxis:function(t){var e=t.options.name;pn.fn.removeAxis.call(this,t),t instanceof W?delete this.namedCategoryAxes[e]:(this.valueAxisRangeTracker.reset(e),delete this.namedValueAxes[e]),t===this.categoryAxis&&delete this.categoryAxis,t===this.valueAxis&&delete this.valueAxis},trendlineFactory:function(t,e){var i=this.seriesCategoryAxis(t),n=this.seriesValues.bind(this,e.index),s=On(zn,t.type,{options:t,categoryAxis:i,seriesValues:n});return s?(s.categoryAxis=e.categoryAxis,s.valueAxis=e.valueAxis,this.filterSeries(s,i)):s},trendlineAggregateForecast:function(){return this.series.map((function(t){return(t.trendline||{}).forecast})).filter((function(t){return void 0!==t})).reduce((function(t,e){return{before:Math.max(t.before,e.before||0),after:Math.max(t.after,e.after||0)}}),{before:0,after:0})},seriesValues:function(t,e){var i=[],n=this.srcSeries[t],s=this.seriesCategoryAxis(n);ci(s.options.type,h)&&(this._seriesPointsCache={},this._currentPointsCache={},s.options.dataItems=[],n=this.aggregateSeries(n,s,s.totalRangeIndices()));for(var r=e?e.min:0,o=e?e.max:n.data.length,a=r;a<o;a++){var l=this.bindPoint(n,a);i.push({categoryIx:a,category:l.fields.category,valueFields:l.valueFields})}return i},createCharts:function(t){for(var e=this,i=this.groupSeriesByPane(),n=0;n<t.length;n++){var s=t[n],r=i[s.options.name||"default"]||[];e.addToLegend(r);var o=e.filterVisibleSeries(r);if(o)for(var a=e.groupSeriesByCategoryAxis(o),h=0;h<a.length;h++)e.createChartGroup(a[h],s)}},createChartGroup:function(t,e){this.createAreaChart(pi(t,[Ht,pe]),e),this.createRangeAreaChart(pi(t,[ae,ge]),e),this.createBarChart(pi(t,[Yt,Nt]),e),this.createRangeBarChart(pi(t,[le,he]),e),this.createBulletChart(pi(t,[Xt,fe]),e),this.createCandlestickChart(pi(t,Wt),e),this.createBoxPlotChart(pi(t,[Gt,de]),e),this.createOHLCChart(pi(t,Jt),e),this.createWaterfallChart(pi(t,[xe,Qt]),e),this.createLineChart(pi(t,[$t,ve]),e)},aggregateCategories:function(t){var e=this,i=[].concat(this.series),n=[];this._currentPointsCache={},this._seriesPointsCache=this._seriesPointsCache||{};for(var s=0;s<i.length;s++){var r=i[s];if(!e.isTrendline(r)){var o=e.seriesCategoryAxis(r),a=e.findPane(o.options.pane);r=(ci(o.options.type,h)||r.categoryField)&&E(a,t)?e.aggregateSeries(r,o,o.currentRangeIndices()):e.filterSeries(r,o)}n.push(r)}this._seriesPointsCache=this._currentPointsCache,this._currentPointsCache=null,this.srcSeries=i,this.series=n},filterSeries:function(t,e){var i=(t.data||{}).length;if(e._seriesMax=Math.max(e._seriesMax||0,i),!b(e.options.min)&&!b(e.options.max))return t;var n=e.currentRangeIndices(),s=E(t.type,Nn),r=M({},t);return r.data=(r.data||[]).slice(n.min,n.max+1),s&&bi(r,n,i,(function(i){return{item:t.data[i],category:e.categoryAt(i,!0),categoryIx:i-n.min}}),(function(e){return b(t.data[e])})),r},clearSeriesPointsCache:function(){this._seriesPointsCache={}},seriesSourcePoints:function(t,e){var i=t.index+";"+e.categoriesHash();if(this._seriesPointsCache&&this._seriesPointsCache[i])return this._currentPointsCache[i]=this._seriesPointsCache[i],this._seriesPointsCache[i];var n=e.options,s=n.srcCategories,r=ci(n.type,h),o=t.data,a=r?di:xt,l=[];r||e.mapCategories();for(var c=0;c<o.length;c++){var u=void 0;if(u=t.categoryField?a(t.categoryField,o[c],this.chartService.intl):s[c],b(u)&&null!==u){var p=e.totalIndex(u);l[p]=l[p]||{items:[],category:u},l[p].items.push(c)}}return this._currentPointsCache[i]=l,l},aggregateSeries:function(t,e,i){if(!t.data.length)return t;for(var n=this.seriesSourcePoints(t,e),s=M({},t),r=new mn(M({},t),mt.current,_n.current),o=s.data=[],a=e.options.dataItems||[],h=function(t){var s=t-i.min,o=n[t];if(o||(o=n[t]={}),o.categoryIx=s,!o.item){var a=e.categoryAt(t,!0);o.category=a,o.item=r.aggregatePoints(o.items,a)}return o},l=i.min;l<=i.max;l++){var c=h(l);o[c.categoryIx]=c.item,c.items&&c.items.length&&(a[c.categoryIx]=c.item)}return E(s.type,Nn)&&bi(s,i,e.totalCount(),h,(function(t){return n[t]})),e.options.dataItems=a,s},appendChart:function(t,e){var i=t.options.series,n=this.seriesCategoryAxis(i[0]),s=n.options.categories,r=Math.max(0,li(i)-s.length);if(r>0)for(s=n.options.categories=n.options.categories.slice(0);r--;)s.push("");this.valueAxisRangeTracker.update(t.valueAxisRanges),pn.fn.appendChart.call(this,t,e)},seriesPaneName:function(t){var e=this.options,i=t.axis,n=[].concat(e.valueAxis),s=K(n,(function(t){return t.name===i}))[0],r=((e.panes||[{}])[0]||{}).name||"default";return(s||{}).pane||r},seriesCategoryAxis:function(t){var e=t.categoryAxis,i=e?this.namedCategoryAxes[e]:this.categoryAxis;if(!i)throw new Error("Unable to locate category axis with name "+e);return i},stackableChartOptions:function(t,e){var i=t.stack;return{isStacked:i,isStacked100:i&&"100%"===i.type,clip:e.options.clip}},groupSeriesByCategoryAxis:function(t){for(var e=[],i={},n=0;n<t.length;n++){var s=t[n].categoryAxis||"$$default$$";i.hasOwnProperty(s)||(i[s]=!0,e.push(s))}for(var r=[],o=0;o<e.length;o++){var a=Xn(t,e[o],o);0!==a.length&&r.push(a)}return r},createBarChart:function(e,i){if(0!==e.length){var n=e[0],s=new Yi(this,t.extend({series:e,invertAxes:this.invertAxes,gap:n.gap,spacing:n.spacing},this.stackableChartOptions(n,i)));this.appendChart(s,i)}},createRangeBarChart:function(t,e){if(0!==t.length){var i=t[0],n=new wn(this,{series:t,invertAxes:this.invertAxes,gap:i.gap,spacing:i.spacing});this.appendChart(n,e)}},createBulletChart:function(t,e){if(0!==t.length){var i=t[0],n=new rn(this,{series:t,invertAxes:this.invertAxes,gap:i.gap,spacing:i.spacing,clip:e.options.clip});this.appendChart(n,e)}},createLineChart:function(e,i){if(0!==e.length){var n=e[0],s=new Oi(this,t.extend({invertAxes:this.invertAxes,series:e},this.stackableChartOptions(n,i)));this.appendChart(s,i)}},createAreaChart:function(e,i){if(0!==e.length){var n=e[0],s=new Fi(this,t.extend({invertAxes:this.invertAxes,series:e},this.stackableChartOptions(n,i)));this.appendChart(s,i)}},createRangeAreaChart:function(t,e){if(0!==t.length){var i=new Tn(this,{invertAxes:this.invertAxes,series:t,clip:e.options.clip});this.appendChart(i,e)}},createOHLCChart:function(t,e){if(0!==t.length){var i=t[0],n=new Rn(this,{invertAxes:this.invertAxes,gap:i.gap,series:t,spacing:i.spacing,clip:e.options.clip});this.appendChart(n,e)}},createCandlestickChart:function(t,e){if(0!==t.length){var i=t[0],n=new Zi(this,{invertAxes:this.invertAxes,gap:i.gap,series:t,spacing:i.spacing,clip:e.options.clip});this.appendChart(n,e)}},createBoxPlotChart:function(t,e){if(0!==t.length){var i=t[0],n=new Qi(this,{invertAxes:this.invertAxes,gap:i.gap,series:t,spacing:i.spacing,clip:e.options.clip});this.appendChart(n,e)}},createWaterfallChart:function(t,e){if(0!==t.length){var i=t[0],n=new Ln(this,{series:t,invertAxes:this.invertAxes,gap:i.gap,spacing:i.spacing});this.appendChart(n,e)}},axisRequiresRounding:function(t,e){for(var i=pi(this.series,me),n=0;n<this.series.length;n++){var s=this.series[n];if(E(s.type,Hn)){var r=s.line;r&&r.style===zt&&i.push(s)}}for(var o=0;o<i.length;o++){var a=i[o].categoryAxis||"";if(a===t||!a&&0===e)return!0}},aggregatedAxis:function(t,e){for(var i=this.series,n=0;n<i.length;n++){var s=i[n].categoryAxis||"";if((s===t||!s&&0===e)&&i[n].categoryField)return!0}},createCategoryAxesLabels:function(){for(var t=this.axes,e=0;e<t.length;e++)t[e]instanceof W&&t[e].createLabels()},createCategoryAxes:function(t){for(var i=this,n=this.invertAxes,s=[].concat(this.options.categoryAxis),o=[],a=0;a<s.length;a++){var h=s[a],l=i.findPane(h.pane);if(E(l,t)){var c=h.name,u=h.categories;void 0===u&&(u=[]),h=M({vertical:n,reverse:!n&&i.chartService.rtl,axisCrossingValue:n?r:0},h),b(h.justified)||(h.justified=i.isJustified()),i.axisRequiresRounding(c,a)&&(h.justified=!1);var p=void 0;if(gi(h,u[0])?(h._forecast=i.trendlineAggregateForecast(),p=new e.DateCategoryAxis(h,i.chartService)):p=new W(h,i.chartService),s[a].categories=p.options.srcCategories,c){if(i.namedCategoryAxes[c])throw new Error("Category axis with name "+c+" is already defined");i.namedCategoryAxes[c]=p}p.axisIndex=a,o.push(p),i.appendAxis(p)}}var d=this.categoryAxis||o[0];this.categoryAxis=d,n?this.axisY=d:this.axisX=d},isJustified:function(){for(var t=this.series,e=0;e<t.length;e++){var i=t[e];if(!E(i.type,Hn))return!1}return!0},createValueAxes:function(t){var i=this,n=this.valueAxisRangeTracker,s=n.query(),r=[].concat(this.options.valueAxis),o=this.invertAxes,a={vertical:!o,reverse:o&&this.chartService.rtl},h=[];this.stack100&&(a.roundToMajorUnit=!1,a.labels={format:"P0"});for(var l=0;l<r.length;l++){var c=r[l],u=i.findPane(c.pane);if(E(u,t)){var p=c.name,d=ci(c.type,We)?{min:.1,max:1}:{min:0,max:1},f=n.query(p)||s||d;0===l&&f&&s&&(f.min=Math.min(f.min,s.min),f.max=Math.max(f.max,s.max));var v=new(ci(c.type,We)?e.LogarithmicAxis:e.NumericAxis)(f.min,f.max,M({},a,c),i.chartService);if(p){if(i.namedValueAxes[p])throw new Error("Value axis with name "+p+" is already defined");i.namedValueAxes[p]=v}v.axisIndex=l,h.push(v),i.appendAxis(v)}}var g=this.valueAxis||h[0];this.valueAxis=g,o?this.axisX=g:this.axisY=g},_dispatchEvent:function(t,e,i){var n=t._eventCoordinates(e),s=new C(n.x,n.y),r=this.pointPane(s),o=[],a=[];if(r){for(var h=r.axes,l=0;l<h.length;l++){var c=h[l];c.getValue?ri(a,c.getValue(s)):ri(o,c.getCategory(s))}0===o.length&&ri(o,this.categoryAxis.getCategory(s)),o.length>0&&a.length>0&&t.trigger(i,{element:D(e),originalEvent:e,category:xi(o),value:xi(a)})}},pointPane:function(t){for(var e=this.panes,i=0;i<e.length;i++){var n=e[i];if(n.contentBox.containsPoint(t))return n}},updateAxisOptions:function(t,e){qn(this.options,t,e),qn(this.originalOptions,t,e)}});function qn(t,e,i){var n=[].concat(e instanceof W?t.categoryAxis:t.valueAxis);M(n[e.axisIndex],i)}function Xn(t,e,i){return K(t,(function(t){return 0===i&&!t.categoryAxis||t.categoryAxis===e}))}I(Gn,{categoryAxis:{},valueAxis:{}}),M(Gn.prototype,xn);var Wn=i.extend({init:function(){this._points=[]},destroy:function(){this._points=[]},show:function(t,e){var i=[].concat(t);this.hide();for(var n=0;n<i.length;n++){var s=i[n];s&&s.toggleHighlight&&s.hasHighlight()&&(this.togglePointHighlight(s,!0,e),this._points.push(s))}},togglePointHighlight:function(t,e,i){var n=(t.options.highlight||{}).toggle;if(n){var s={category:t.category,series:t.series,dataItem:t.dataItem,value:t.value,stackValue:t.stackValue,preventDefault:Yn,visual:t.highlightVisual(),show:e};n(s),s._defaultPrevented||t.toggleHighlight(e,i)}else t.toggleHighlight(e,i)},hide:function(){for(var t=this._points;t.length;)this.togglePointHighlight(t.pop(),!1)},isHighlighted:function(t){for(var e=this._points,i=0;i<e.length;i++){if(t===e[i])return!0}return!1}});function Yn(){this._defaultPrevented=!0}function Un(t,e){var i=(e||"").toLowerCase(),n=t.event;return"none"===i&&!(n.ctrlKey||n.shiftKey||n.altKey)||n[i+"Key"]}function Zn(t){for(var e={},i=0;i<t.length;i++){var n=t[i];n.axis.options.name&&(e[n.axis.options.name]={min:n.range.min,max:n.range.max})}return e}var jn=i.extend({init:function(t,e){this.plotArea=t,this.options=M({},this.options,e)},start:function(t){return this._active=Un(t,this.options.key),this._active},move:function(t){if(this._active){var e=this.axisRanges=this._panAxes(t,v).concat(this._panAxes(t,g));if(e.length)return this.axisRanges=e,Zn(e)}},end:function(){var t=this._active;return this._active=!1,t},pan:function(){var t=this.plotArea,e=this.axisRanges;if(e.length){for(var i=0;i<e.length;i++){var n=e[i];t.updateAxisOptions(n.axis,n.range)}t.redraw(t.panes)}},destroy:function(){delete this.plotArea},_panAxes:function(t,e){var i=this.plotArea,n=-t[e].delta,s=(this.options.lock||"").toLowerCase(),r=[];if(0!==n&&(s||"").toLowerCase()!==e)for(var o=i.axes,a=0;a<o.length;a++){var h=o[a];if(e===v&&!h.options.vertical||e===g&&h.options.vertical){var l=h.pan(n);l&&(l.limitRange=!0,r.push({axis:h,range:l}))}}return r}});jn.prototype.options={key:"none",lock:"none"};var Kn=i.extend({init:function(t,e){this.chart=t,this.options=M({},this.options,e),this.createElement()},createElement:function(){var t=this._marquee=document.createElement("div");t.className="k-marquee";var e=document.createElement("div");e.className="k-marquee-color",t.appendChild(e)},removeElement:function(){this._marquee.parentNode&&this._marquee.parentNode.removeChild(this._marquee)},setStyles:function(t){Q(this._marquee,t)},start:function(t){if(Un(t,this.options.key)){var e=this.chart,i=e._eventCoordinates(t),n=this._zoomPane=e._plotArea.paneByPoint(i),s=n?n.chartsBox().clone():null;if(n&&s){var r=this._elementOffset();return s.translate(r.left,r.top),this._zoomPaneClipBox=s,document.body.appendChild(this._marquee),this.setStyles({left:t.pageX+1,top:t.pageY+1,width:0,height:0}),!0}}return!1},_elementOffset:function(){var t=this.chart.element,i=Q(t,["paddingLeft","paddingTop"]),n=i.paddingLeft,s=i.paddingTop,r=e.elementOffset(t);return{left:n+r.left,top:s+r.top}},move:function(t){this._zoomPane&&this.setStyles(this._selectionPosition(t))},end:function(t){if(this._zoomPane){var e=this._elementOffset(),i=this._selectionPosition(t);i.left-=e.left,i.top-=e.top;var n={x:i.left,y:i.top},s={x:i.left+i.width,y:i.top+i.height};return this._updateAxisRanges(n,s),this.removeElement(),delete this._zoomPane,Zn(this.axisRanges)}},zoom:function(){var t=this.axisRanges;if(t&&t.length){for(var e=this.chart._plotArea,i=0;i<t.length;i++){var n=t[i];e.updateAxisOptions(n.axis,n.range)}e.redraw(e.panes)}},destroy:function(){this.removeElement(),delete this._marquee,delete this.chart},_updateAxisRanges:function(t,e){for(var i=(this.options.lock||"").toLowerCase(),n=[],s=this._zoomPane.axes,r=0;r<s.length;r++){var o=s[r],a=o.options.vertical;if((i!==v||a)&&(i!==g||!a)&&b(o.axisIndex)){var h=o.pointsRange(t,e);h&&n.push({axis:o,range:h})}}this.axisRanges=n},_selectionPosition:function(t){var e=this._zoomPaneClipBox,i={x:t.x.startLocation,y:t.y.startLocation},n=t.x.location,s=t.y.location,r=(this.options.lock||"").toLowerCase(),o=Math.min(i.x,n),a=Math.min(i.y,s),h=Math.abs(i.x-n),l=Math.abs(i.y-s);return r===v&&(o=e.x1,h=e.width()),r===g&&(a=e.y1,l=e.height()),n>e.x2&&(h=e.x2-i.x),n<e.x1&&(h=i.x-e.x1),s>e.y2&&(l=e.y2-i.y),s<e.y1&&(l=i.y-e.y1),{left:Math.max(o,e.x1),top:Math.max(a,e.y1),width:h,height:l}}});Kn.prototype.options={key:"shift",lock:"none"};var Qn=it.util.limitValue,$n=i.extend({init:function(t,e){this.chart=t,this.options=M({rate:.3},this.options,e)},updateRanges:function(t,e){for(var i=(this.options.lock||"").toLowerCase(),n=[],s=this.chart._plotArea.axes,r=0;r<s.length;r++){var o=s[r],a=o.options.vertical;if((i!==v||a)&&(i!==g||!a)&&o.zoomRange){var h=Qn(this.options.rate,.01,.9),l=o.zoomRange(-t*h,e);l&&n.push({axis:o,range:l})}}return this.axisRanges=n,Zn(n)},zoom:function(){var t=this.axisRanges,e=this.chart._plotArea;if(t&&t.length&&e.updateAxisOptions){for(var i=0;i<t.length;i++){var n=t[i];e.updateAxisOptions(n.axis,n.range)}e.redraw(e.panes)}},destroy:function(){delete this.chart}}),Jn=S.extend({init:function(t,e){S.fn.init.call(this,t),this.chartService=e},render:function(){var t=this.children,e=this.options,i=e.vertical;this.visual=new it.Layout(null,{spacing:i?0:e.spacing,lineSpacing:i?e.spacing:0,orientation:i?"vertical":"horizontal",reverse:e.rtl,alignItems:i?"start":"center"});for(var n=0;n<t.length;n++){var s=t[n];s.reflow(new k),s.renderVisual()}},reflow:function(t){this.visual.rect(t.toRect()),this.visual.reflow();var i=this.visual.clippedBBox();this.box=i?e.rectToBox(i):new k},renderVisual:function(){this.addVisual()},createVisual:function(){}}),ts=Y.extend({init:function(t){Y.fn.init.call(this,t),this.createContainer(),t.rtl?(this.createLabel(),this.createMarker()):(this.createMarker(),this.createLabel())},createContainer:function(){this.container=new e.FloatElement({vertical:!1,wrap:!1,align:l,spacing:this.options.spacing}),this.append(this.container)},createMarker:function(){this.container.append(new H(this.markerOptions()))},markerOptions:function(){var t=this.options,e=t.markerColor;return M({},t.markers,{background:e,border:{color:e}})},createLabel:function(){var t=this.options,e=M({},t.labels);this.container.append(new z(t.text,e))},renderComplete:function(){Y.fn.renderComplete.call(this);var t=this.options.cursor||{},e=this._itemOverlay=nt.fromRect(this.container.box.toRect(),{fill:{color:d,opacity:0},stroke:null,cursor:t.style||t});this.appendVisual(e)},click:function(t,e){var i=this.eventArgs(e);!t.trigger(we,i)&&e&&"contextmenu"===e.type&&e.preventDefault()},over:function(t,e){var i=this.eventArgs(e);return t.trigger(Ae,i)||t._legendItemHover(i.seriesIndex,i.pointIndex),!0},out:function(t,e){t._unsetActivePoint(),t.trigger(Se,this.eventArgs(e))},eventArgs:function(t){var e=this.options;return{element:D(t),text:e.text,series:e.series,seriesIndex:e.series.index,pointIndex:e.pointIndex}},renderVisual:function(){var t=this,e=this.options,i=e.visual;i?(this.visual=i({active:e.active,series:e.series,sender:this.getSender(),pointIndex:e.pointIndex,options:{markers:this.markerOptions(),labels:e.labels},createVisual:function(){t.createVisual(),t.renderChildren(),t.renderComplete();var e=t.visual;return delete t.visual,e}}),this.addVisual()):Y.fn.renderVisual.call(this)}}),es="horizontal",is="custom",ns=S.extend({init:function(t,e){void 0===e&&(e={}),S.fn.init.call(this,t),this.chartService=e,E(this.options.position,[c,x,u,p,is])||(this.options.position=x),this.createContainers(),this.createLegendTitle(t.title),this.createItems()},createContainers:function(){var t=this.options,e=t.position,i=t.align,n=e,s=l;e===is?n=p:E(e,[c,u])?(n="start"===i?p:"end"===i?x:l,s=e):i&&("start"===i?s=c:"end"===i&&(s=u)),this.container=new Y({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:s,align:n,zIndex:t.zIndex,shrinkToFit:!0}),this.hasTitle()?this.itemsContainer=new Y({vAlign:s,align:n,zIndex:t.zIndex,shrinkToFit:!0}):this.itemsContainer=this.container,this.append(this.container)},createItems:function(){var t=this.getService(),e=this.options,i=this.isVertical(),n=new Jn({vertical:i,spacing:e.spacing,rtl:t.rtl},t),s=e.items;e.reverse&&(s=s.slice(0).reverse());for(var r=s.length,o=0;o<r;o++){var a=s[o];n.append(new ts(M({},{markers:e.markers,labels:e.labels,rtl:t.rtl},e.item,a)))}n.render(),this.itemsContainer.append(n)},isVertical:function(){var t=this.options,e=t.orientation,i=t.position;return i===is&&e!==es||(b(e)?e!==es:E(i,[p,x]))},hasItems:function(){return this.container.children[0].children.length>0},reflow:function(t){var e=this.options,i=t.clone();this.hasItems()?(e.position===is?(this.containerCustomReflow(i),this.box=i):this.containerReflow(i),this.hasTitle()&&this.title.reflow(new k(this.container.box.x1,this.title.box.y1,this.container.box.x2,this.title.box.y2))):this.box=i},containerReflow:function(t){var e=this.options,i=this.container,n=e.position,s=e.width,r=e.height,o=n===c||n===u?v:g,a=this.isVertical(),h=t.clone(),l=t.clone();n!==p&&n!==x||(l.y1=h.y1=0),a&&r?(l.y2=l.y1+r,l.align(h,g,i.options.vAlign)):!a&&s&&(l.x2=l.x1+s,l.align(h,v,i.options.align)),i.reflow(l);var d=(l=i.box).clone();(e.offsetX||e.offsetY)&&(l.translate(e.offsetX,e.offsetY),i.reflow(l)),d[o+1]=t[o+1],d[o+2]=t[o+2],this.box=d},containerCustomReflow:function(t){var e=this.options,i=this.container,n=e.offsetX,s=e.offsetY,r=e.width,o=e.height,a=this.isVertical(),h=t.clone();a&&o?h.y2=h.y1+o:!a&&r&&(h.x2=h.x1+r),i.reflow(h),h=i.box,i.reflow(new k(n,s,n+h.width(),s+h.height()))},renderVisual:function(){this.hasItems()&&S.fn.renderVisual.call(this)},createLegendTitle:function(t){var e=M({},{color:m,position:c,align:l},t),i=e.text;if(t&&!1!==t.visible){if(b(e)&&e.visible){var n=F(e);n?i=n({text:i}):e.format&&(i=this.chartService.format.auto(e.format,i))}this.title=new z(i,e),this.createTitleLayout(),this.appendTitleLayoutContent()}},createTitleLayout:function(){this.layout=new e.FloatElement({vertical:!0,wrap:!1}),this.container.append(this.layout)},hasTitle:function(){return Boolean(this.options.title&&!1!==this.options.title.visible)},appendTitleLayoutContent:function(){this.options.title.position===u?(this.layout.append(this.itemsContainer),this.layout.append(this.title)):(this.layout.append(this.title),this.layout.append(this.itemsContainer))}});I(ns,{position:x,items:[],offsetX:0,offsetY:0,margin:N(5),padding:N(5),border:{color:m,width:0},item:{cursor:"pointer",spacing:6},spacing:6,background:"",zIndex:1,markers:{border:{width:0},width:15,height:3,type:"rect",align:p,vAlign:l}});var ss=i.extend({init:function(){this._registry=[]},register:function(t,e){this._registry.push({type:t,seriesTypes:e})},create:function(t,e,i){for(var n,s=this._registry,r=s[0],o=0;o<s.length;o++){var a=s[o];n=pi(t,a.seriesTypes);var h=pi(t,be);if(n.length-h.length>0){r=a;break}}return new r.type(n,e,i)}});ss.current=new ss;function rs(t){var e=document.createElement("div");return t&&(e.className=t),e}function os(t){for(var i=t;i&&!e.hasClasses(i,"k-handle");)i=i.parentNode;return i}var as=i.extend({init:function(t,i,n,s){var r=t.element;this.options=M({},this.options,n),this.chart=t,this.observer=s,this.chartElement=r,this.categoryAxis=i,this._dateAxis=this.categoryAxis instanceof e.DateCategoryAxis,this.initOptions(),this.visible=this.options.visible&&r.offsetHeight,this.visible&&(this.createElements(),this.set(this._index(this.options.from),this._index(this.options.to)),this.bindEvents())},onPane:function(t){return this.categoryAxis.pane===t},createElements:function(){var t=this.options,e=this.wrapper=rs("k-selector k-pointer-events-none");Q(e,{top:t.offset.top,left:t.offset.left,width:t.width,height:t.height,direction:"ltr"});var i=this.selection=rs("k-selection k-pointer-events-none");this.leftMask=rs("k-mask k-pointer-events-none"),this.rightMask=rs("k-mask k-pointer-events-none"),e.appendChild(this.leftMask),e.appendChild(this.rightMask),e.appendChild(i);var n=this.body=rs("k-selection-bg k-pointer-events-none");i.appendChild(n);var s=this.leftHandle=rs("k-handle k-left-handle k-pointer-events-auto"),r=this.rightHandle=rs("k-handle k-right-handle k-pointer-events-auto");s.appendChild(rs()),r.appendChild(rs()),i.appendChild(s),i.appendChild(r),this.chartElement.appendChild(e);var o=Q(i,["borderLeftWidth","borderRightWidth","height"]),a=Q(s,"height").height,h=Q(r,"height").height;t.selection={border:{left:o.borderLeftWidth,right:o.borderRightWidth}},Q(s,{top:(o.height-a)/2}),Q(r,{top:(o.height-h)/2}),e.style.cssText=e.style.cssText},bindEvents:function(){var t;!1!==this.options.mousewheel&&(this._mousewheelHandler=this._mousewheel.bind(this),$(this.chartElement,((t={})[Ke]=this._mousewheelHandler,t)));this._domEvents=J.DomEventsBuilder.create(this.chartElement,{stopPropagation:!0,start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),press:this._press.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)})},initOptions:function(){var t=this.options,e=this.categoryAxis.pane.chartsBox(),i=this.chart.chartService.intl;this._dateAxis&&M(t,{min:O(i,t.min),max:O(i,t.max),from:O(i,t.from),to:O(i,t.to)});var n=Q(this.chartElement,["paddingLeft","paddingTop"]),s=n.paddingLeft,r=n.paddingTop;this.options=M({},{width:e.width(),height:e.height()+.1,padding:{left:s,top:r},offset:{left:e.x1+s,top:e.y1+r},from:t.min,to:t.max},t)},destroy:function(){if(this._domEvents&&(this._domEvents.destroy(),delete this._domEvents),clearTimeout(this._mwTimeout),this._state=null,this.wrapper){var t;if(this._mousewheelHandler)tt(this.chartElement,((t={})[Ke]=this._mousewheelHandler,t)),this._mousewheelHandler=null;this.chartElement.removeChild(this.wrapper),this.wrapper=null}},_rangeEventArgs:function(t){return{axis:this.categoryAxis.options,from:this._value(t.from),to:this._value(t.to)}},_pointInPane:function(t,e){var i=this.categoryAxis.pane.box,n=this.chart._toModelCoordinates(t,e);return i.containsPoint(n)},_start:function(t){var i=this.options,n=D(t);if(!this._state&&n){var s=e.eventCoordinates(t);if(this._pointInPane(s.x,s.y)){var r=os(n),o=this.body.getBoundingClientRect(),a=!r&&s.x>=o.x&&s.x<=o.x+o.width&&s.y>=o.y&&s.y<=o.y+o.height;this.chart._unsetActivePoint(),this._state={moveTarget:r,startLocation:t.x?t.x.location:0,inBody:a,range:{from:this._index(i.from),to:this._index(i.to)}};var h=this._rangeEventArgs({from:this._index(i.from),to:this._index(i.to)});this.trigger(Fe,h)&&(this._state=null)}}},_press:function(t){var i;(i=this._state?this._state.moveTarget:os(D(t)))&&e.addClass(i,"k-handle-active")},_move:function(t){if(this._state){var i=this,n=i._state,s=i.options,r=i.categoryAxis,o=n.range,a=n.moveTarget,h=r.options.reverse,l=this._index(s.from),c=this._index(s.to),u=this._index(s.min),p=this._index(s.max),d=n.startLocation-t.x.location,f=o.from,v=o.to,g=o.to-o.from,x=Q(this.wrapper,"width").width/(r.categoriesCount()-1),m=Math.round(d/x)*(h?-1:1);if(a||n.inBody){var y=a&&e.hasClasses(a,"k-left-handle"),_=a&&e.hasClasses(a,"k-right-handle");n.inBody?(o.from=Math.min(Math.max(u,l-m),p-g),o.to=Math.min(o.from+g,p)):y&&!h||_&&h?(o.from=Math.min(Math.max(u,l-m),p-1),o.to=Math.max(o.from+1,o.to)):(y&&h||_&&!h)&&(o.to=Math.min(Math.max(u+1,c-m),p),o.from=Math.min(o.to-1,o.from)),o.from===f&&o.to===v||(this.move(o.from,o.to),this.trigger(ze,this._rangeEventArgs(o)))}}},_end:function(){if(this._state){var t=this._state.moveTarget;t&&e.removeClass(t,"k-handle-active");var i=this._state.range;this.set(i.from,i.to),this.trigger(He,this._rangeEventArgs(i)),delete this._state}},_tap:function(t){var e=this.options,i=this.categoryAxis,n=this.chart._eventCoordinates(t),s=i.pointCategoryIndex(new C(n.x,i.box.y1)),r=this._index(e.from),o=this._index(e.to),a=this._index(e.min),h=this._index(e.max),l=o-r,c=r+l/2,u={},p=3===t.event.which,d=Math.round(c-s);this._state||p||(this.chart._unsetActivePoint(),i.options.justified||d--,u.from=Math.min(Math.max(a,r-d),h-l),u.to=Math.min(u.from+l,h),this._start(t),this._state&&(this._state.range=u,this.trigger(ze,this._rangeEventArgs(u)),this._end()))},_mousewheel:function(t){var i=this,n=e.mousewheelDelta(t);if(this._start(t),this._state){var s=this._state.range;t.preventDefault(),t.stopPropagation(),Math.abs(n)>1&&(n*=3),this.options.mousewheel.reverse&&(n*=-1),this.expand(n)&&this.trigger(ze,{axis:this.categoryAxis.options,delta:n,originalEvent:t,from:this._value(s.from),to:this._value(s.to)}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){i._end()}),Qe)}},_gesturestart:function(t){var e=this.options,i=t.touches[0];if(this._pointInPane(i.pageX,i.pageY)){this._state={range:{from:this._index(e.from),to:this._index(e.to)}};var n=this._rangeEventArgs(this._state.range);this.trigger(Fe,n)?this._state=null:t.preventDefault()}},_gestureend:function(){this._state&&(this.trigger(He,this._rangeEventArgs(this._state.range)),delete this._state)},_gesturechange:function(t){if(this._state){var e=this,i=e.chart,n=e._state,s=e.options,r=e.categoryAxis,o=n.range,a=i._toModelCoordinates(t.touches[0].x.location).x,h=i._toModelCoordinates(t.touches[1].x.location).x,l=Math.min(a,h),c=Math.max(a,h);t.preventDefault(),o.from=r.pointCategoryIndex(new C(l))||s.min,o.to=r.pointCategoryIndex(new C(c))||s.max,this.move(o.from,o.to),this.trigger(ze,this._rangeEventArgs(o))}},_index:function(t){var e=t;return t instanceof Date&&(e=this.categoryAxis.categoryIndex(t)),e},_value:function(t){var e=t;return this._dateAxis&&(e=this.categoryAxis.categoryAt(t))>this.options.max&&(e=this.options.max),e},_slot:function(t){var e=this.categoryAxis,i=this._index(t);return e.getSlot(i,i,!0)},move:function(t,e){var i=this.options,n=this.categoryAxis.options.reverse,s=i.offset,r=i.padding,o=i.selection.border,a=n?e:t,h=n?t:e,l="x"+(n?2:1),c=this._slot(a),u=Z(c[l]-s.left+r.left);Q(this.leftMask,{width:u}),Q(this.selection,{left:u}),c=this._slot(h);var p=Z(i.width-(c[l]-s.left+r.left));Q(this.rightMask,{width:p});var d=i.width-p;d!==i.width&&(d+=o.right),Q(this.rightMask,{left:d}),Q(this.selection,{width:Math.max(i.width-(u+p)-o.right,0)})},set:function(t,e){var i=this.options,n=this._index(i.min),s=this._index(i.max),r=j(this._index(t),n,s),o=j(this._index(e),r+1,s);i.visible&&this.move(r,o),i.from=this._value(r),i.to=this._value(o)},expand:function(t){var e=this.options,i=this._index(e.min),n=this._index(e.max),s=e.mousewheel.zoom,r=this._index(e.from),o=this._index(e.to),a={from:r,to:o},h=M({},a);if(this._state&&(a=this._state.range),s!==x&&(a.from=j(j(r-t,0,o-1),i,n)),s!==p&&(a.to=j(j(o+t,a.from+1,n),i,n)),a.from!==h.from||a.to!==h.to)return this.set(a.from,a.to),!0},zoom:function(t,e){var i=this.options,n=this._index(i.min),s=this._index(i.max),r=this._index(i.from),o=this._index(i.to),a={from:r,to:o},h=M({},a),l=this.categoryAxis.options.reverse,c=v+(l?"2":"1"),u=this.categoryAxis.lineBox(),p=Math.abs(u[c]-e[v]),d=u.width(),f=Z(p/d,2),g=Z(f*t),x=Z((1-f)*t);if(this._state&&(a=this._state.range),a.from=j(j(r-g,0,o-1),n,s),a.to=j(j(o+x,a.from+1,s),n,s),a.from!==h.from||a.to!==h.to)return this.set(a.from,a.to),!0},trigger:function(t,e){return(this.observer||this.chart).trigger(t,e)}});I(as,{visible:!0,mousewheel:{zoom:"both"},min:o,max:r});var hs=on.extend({show:function(t){if(t&&t.tooltipAnchor&&(!this._current||this._current!==t)){var e=M({},this.options,t.options.tooltip),i=t.tooltipAnchor();i?(this._current=t,on.fn.show.call(this,{point:t,anchor:i},e,t)):this.hide()}},hide:function(){delete this._current,on.fn.hide.call(this)}}),ls=on.extend({init:function(t,e){on.fn.init.call(this,t.chartService,e),this.plotArea=t,this.formatService=t.chartService.format},showAt:function(t,e){var i=K(t,(function(t){var e=t.series.tooltip;return!(e&&!1===e.visible)}));if(i.length>0){var n=i[0],s=this.plotArea.categoryAxis.getSlot(n.categoryIx),r=e?this._slotAnchor(e,s):this._defaultAnchor(n,s);this.show({anchor:r,shared:!0,points:t,category:n.category,categoryText:this.formatService.auto(this.options.categoryFormat,n.category),series:this.plotArea.series},this.options)}},_slotAnchor:function(t,e){return this.plotArea.categoryAxis.options.vertical||(t.x=e.center().x),{point:t,align:{horizontal:"left",vertical:"center"}}},_defaultAnchor:function(t,e){var i=t.owner.pane.chartsBox(),n=this.plotArea.categoryAxis.options.vertical,s=i.center(),r=e.center();return{point:n?new C(s.x,r.y):new C(r.x,s.y),align:{horizontal:"center",vertical:"center"}}}});I(ls,{categoryFormat:"{0:d}"});var cs=st.extend({setup:function(){var t=this.element,e=this.options;if(t.bbox()){this.origin=e.origin;var i=e.vertical?g:v,n=this.fromScale=new lt(1,1);n[i]=kt,t.transform(ct().scale(n.x,n.y))}else this.abort()},step:function(t){var i=e.interpolateValue(this.fromScale.x,1,t),n=e.interpolateValue(this.fromScale.y,1,t);this.element.transform(ct().scale(i,n,this.origin))},abort:function(){st.fn.abort.call(this),this.element.transform(null)}});I(cs,{duration:At}),rt.current.register(Nt,cs);var us=st.extend({setup:function(){var t=this.center=this.element.bbox().center();this.element.transform(ct().scale(kt,kt,t))},step:function(t){this.element.transform(ct().scale(t,t,this.center))}});I(us,{easing:"easeOutElastic"}),rt.current.register(qt,us);var ps=st.extend({setup:function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},step:function(t){this.element.opacity(t*this.fadeTo)}});I(ps,{duration:200,easing:"linear"}),rt.current.register(St,ps);var ds=st.extend({setup:function(){this.element.transform(ct().scale(kt,kt,this.options.center))},step:function(t){this.element.transform(ct().scale(t,t,this.options.center))}});I(ds,{easing:"easeOutElastic",duration:At}),rt.current.register(te,ds);var fs=Ji.extend({render:function(){Ji.fn.render.call(this),this.renderSegments()},createSegment:function(t,e,i){return new(e.style===Ft?Ei:ki)(t,e,i)},animationPoints:function(){return Ji.fn.animationPoints.call(this).concat(this._segments)},createMissingValue:function(t,e){if(e===Lt){var i={x:t.x,y:t.y};return vi(i.x)||(i.x=0),vi(i.y)||(i.y=0),i}}});M(fs.prototype,Ri);var vs=function(t){return function(e){var i=e.valueFields;return{xValue:i.x,yValue:i[t]}}};var gs={};gs[ye]=function(e){var i=e.options,n=function(t){var e=t.seriesValues,i=t.options,n=Mn(e(),vs(i.field)),s=n.slope,r=n.intercept,o=n.count,a=n.xMin,h=n.xMax;if(o>0){var l=[],c=(i.trendline||{}).forecast;c&&(c.before>0&&(a-=c.before),c.after>0&&(h+=c.after));var u=(i.trendline||{}).samplingInterval,p=V(u,function(t,e){var i=Z(e-t,y-1);if(0===i){if(0===e)return.1;i=Math.abs(e)}var n=Math.pow(10,Math.floor(Math.log(i)/Math.log(10))),s=Z(i/n,y);return Z(n*(s<1.904762?.2:s<4.761904?.5:s<9.523809?1:2),y)}(a,h)/10);u<=0&&(p=h-a);for(var d=a;d<=h;d+=p)l.push([d,s*d+r]);return l}return null}({seriesValues:e.seriesValues,options:i});return n?t.extend({},i,{type:"scatterLine",data:n}):null},gs[_e]=function(e){var i=e.options,n=function(t){var e=t.options,i=t.seriesValues,n=(e.trendline||{}).period||ti,s=Dn(i({before:n,after:n}),vs(e.field),n);if(s.length>0)return s;return null}(e);return n?t.extend({},i,{type:"scatterLine",data:n}):null};var xs=pn.extend({initFields:function(){this.namedXAxes={},this.namedYAxes={},this.xAxisRangeTracker=new zi,this.yAxisRangeTracker=new zi},render:function(t){var e=this;void 0===t&&(t=this.panes),this.series=[].concat(this.originalSeries),this.createTrendlineSeries();for(var i=this.groupSeriesByPane(),n=0;n<t.length;n++){var s=t[n],r=i[s.options.name||"default"]||[];e.addToLegend(r);var o=e.filterVisibleSeries(r);o&&(e.createScatterChart(pi(o,ce),s),e.createScatterLineChart(pi(o,ue),s),e.createBubbleChart(pi(o,qt),s))}this.createAxes(t)},appendChart:function(t,e){this.xAxisRangeTracker.update(t.xAxisRanges),this.yAxisRangeTracker.update(t.yAxisRanges),pn.fn.appendChart.call(this,t,e)},removeAxis:function(t){var e=t.options.name;pn.fn.removeAxis.call(this,t),t.options.vertical?(this.yAxisRangeTracker.reset(e),delete this.namedYAxes[e]):(this.xAxisRangeTracker.reset(e),delete this.namedXAxes[e]),t===this.axisX&&delete this.axisX,t===this.axisY&&delete this.axisY},seriesPaneName:function(t){var e=this.options,i=t.xAxis,n=[].concat(e.xAxis),s=K(n,(function(t){return t.name===i}))[0],r=t.yAxis,o=[].concat(e.yAxis),a=K(o,(function(t){return t.name===r}))[0],h=(e.panes||[{}])[0].name||"default";return(s||{}).pane||(a||{}).pane||h},createScatterChart:function(t,e){t.length>0&&this.appendChart(new Ji(this,{series:t,clip:e.options.clip}),e)},createScatterLineChart:function(t,e){t.length>0&&this.appendChart(new fs(this,{series:t,clip:e.options.clip}),e)},createBubbleChart:function(t,e){t.length>0&&this.appendChart(new en(this,{series:t,clip:e.options.clip}),e)},createXYAxis:function(t,i,n){for(var s,r=t.name,o=i?this.namedYAxes:this.namedXAxes,a=i?this.yAxisRangeTracker:this.xAxisRangeTracker,l=M({reverse:!i&&this.chartService.rtl},t,{vertical:i}),c=ci(l.type,We),u=a.query(),p=c?{min:.1,max:1}:{min:0,max:1},d=a.query(r)||u||p,f=[l.min,l.max],v=this.series,g=0;g<v.length;g++){var x=v[g],m=x[i?"yAxis":"xAxis"];if(m===l.name||0===n&&!m){var y=mt.current.bindPoint(x,0).valueFields;f.push(y[i?"y":"x"]);break}}0===n&&u&&(d.min=Math.min(d.min,u.min),d.max=Math.max(d.max,u.max));for(var _=0;_<f.length;_++)if(f[_]instanceof Date){s=!0;break}var b=new(ci(l.type,h)||!l.type&&s?e.DateValueAxis:c?e.LogarithmicAxis:e.NumericAxis)(d.min,d.max,l,this.chartService);if(b.axisIndex=n,r){if(o[r])throw new Error((i?"Y":"X")+" axis with name "+r+" is already defined");o[r]=b}return this.appendAxis(b),b},createAxes:function(t){for(var e=this,i=this.options,n=[].concat(i.xAxis),s=[],r=[].concat(i.yAxis),o=[],a=0;a<n.length;a++){var h=e.findPane(n[a].pane);E(h,t)&&s.push(e.createXYAxis(n[a],!1,a))}for(var l=0;l<r.length;l++){var c=e.findPane(r[l].pane);E(c,t)&&o.push(e.createXYAxis(r[l],!0,l))}this.axisX=this.axisX||s[0],this.axisY=this.axisY||o[0]},_dispatchEvent:function(t,e,i){for(var n=t._eventCoordinates(e),s=new C(n.x,n.y),r=this.axes,o=r.length,a=[],h=[],l=0;l<o;l++){var c=r[l],u=c.options.vertical?h:a,p=c.getValue(s);null!==p&&u.push(p)}a.length>0&&h.length>0&&t.trigger(i,{element:D(e),originalEvent:e,x:xi(a),y:xi(h)})},updateAxisOptions:function(t,e){var i=t.options.vertical,n=this.groupAxes(this.panes),s=(i?n.y:n.x).indexOf(t);ms(this.options,s,i,e),ms(this.originalOptions,s,i,e)},trendlineFactory:function(t,e){var i=this.seriesValues.bind(this,e.index),n=On(gs,t.type,{options:t,seriesValues:i});return n&&(n.xAxis=e.xAxis,n.yAxis=e.yAxis),n},seriesValues:function(t){for(var e=[],i=this.series[t],n=0;n<i.data.length;n++){var s=this.bindPoint(i,n);e.push({pointIx:n,valueFields:s.valueFields})}return e}});function ms(t,e,i,n){var s=[].concat(i?t.yAxis:t.xAxis)[e];M(s,n)}I(xs,{xAxis:{},yAxis:{}}),M(xs.prototype,xn);var ys=S.extend({init:function(t,e,i){S.fn.init.call(this,i),this.value=t,this.sector=e},render:function(){var t=this.options.labels,i=this.owner.chartService,n=this.value;if(!this._rendered&&!1!==this.visible){this._rendered=!0;var s=F(t),r=this.pointData();if(s?n=s(r):t.format&&(n=i.format.auto(t.format,n)),t.visible&&(n||0===n)){if(t.position===l||t.position===Ue)t.color||(t.color=e.autoTextColor(this.options.color)),t.background||(t.background=this.options.color);else{var o=i.theme.seriesDefaults.labels;t.color=t.color||o.color,t.background=t.background||o.background}this.label=new z(n,M({},t,{align:l,vAlign:"",animation:{type:St,delay:this.animationDelay}}),r),this.append(this.label)}}},reflow:function(t){this.render(),this.box=t,this.reflowLabel()},reflowLabel:function(){var t=this.options.labels,e=this.label,i=this.sector.clone(),n=t.distance,s=i.middle();if(e){var r,o=e.box.height(),a=e.box.width();if(t.position===l)i.radius=Math.abs((i.radius-o)/2)+o,r=i.point(s),e.reflow(new k(r.x,r.y-o/2,r.x,r.y));else if(t.position===Ue)i.radius=i.radius-o/2,r=i.point(s),e.reflow(new k(r.x,r.y-o/2,r.x,r.y));else{var h;(r=i.clone().expand(n).point(s)).x>=i.center.x?(h=r.x+a,e.orientation=x):(h=r.x-a,e.orientation=p),e.reflow(new k(h,r.y-o,r.x,r.y))}}},createVisual:function(){var t=this,e=this.sector,i=this.options;if(S.fn.createVisual.call(this),this.value)if(i.visual){var n=(e.startAngle+180)%360,s=i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,center:new lt(e.center.x,e.center.y),radius:e.radius,innerRadius:e.innerRadius,startAngle:n,endAngle:n+e.angle,options:i,sender:this.getSender(),createVisual:function(){var e=new ot;return t.createSegmentVisual(e),e}});s&&this.visual.append(s)}else this.createSegmentVisual(this.visual)},createSegmentVisual:function(t){var e=this.sector,i=this.options,n=i.border||{},s=n.width>0?{stroke:{color:n.color,width:n.width,opacity:n.opacity,dashType:n.dashType}}:{},r=i.color,o={color:r,opacity:i.opacity},a=this.createSegment(e,M({fill:o,stroke:{opacity:i.opacity},zIndex:i.zIndex},s));t.append(a),fi(i)&&t.append(this.createGradientOverlay(a,{baseColor:r,fallbackFill:o},M({center:[e.center.x,e.center.y],innerRadius:e.innerRadius,radius:e.radius,userSpace:!0},i.overlay)))},createSegment:function(t,i){return i.singleSegment?new it.Circle(new ht.Circle(new lt(t.center.x,t.center.y),t.radius),i):e.ShapeBuilder.current.createRing(t,i)},createAnimation:function(){var t=this.options,e=this.sector.center;M(t,{animation:{center:[e.x,e.y],delay:this.animationDelay}}),S.fn.createAnimation.call(this)},createHighlight:function(t){var e=this.options.highlight||{},i=e.border||{};return this.createSegment(this.sector,M({},t,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:i.opacity,width:i.width,color:i.color}}))},highlightVisual:function(){return this.visual.children[0]},highlightVisualArgs:function(){var t=this.sector;return{options:this.options,radius:t.radius,innerRadius:t.innerRadius,center:new lt(t.center.x,t.center.y),startAngle:t.startAngle,endAngle:t.angle+t.startAngle,visual:this.visual}},tooltipAnchor:function(){var t=this.sector.clone().expand(5),e=t.middle();return{point:t.point(e),align:ws(e+180)}},formatValue:function(t){return this.owner.formatPointValue(this,t)},pointData:function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series,percentage:this.percentage}}}),_s=Z(e.rad(30),y),bs=Z(e.rad(60),y);function ws(t){var i=e.rad(t),n=Z(Math.sin(i),y),s=Z(Math.cos(i),y);return{horizontal:Math.abs(n)>bs?l:s<0?x:p,vertical:Math.abs(n)<_s?l:n<0?u:c}}I(ys,{color:d,overlay:{gradient:"roundedBevel"},border:{width:.5},labels:{visible:!1,distance:35,font:s.DEFAULT_FONT,margin:N(.5),align:f,zIndex:1,position:je},animation:{type:te},highlight:{visible:!0,border:{width:1}},visible:!0}),M(ys.prototype,Ai);var As={createLegendItem:function(t,e,i){var n=this.options.legend||{},s=n.labels||{},r=n.inactiveItems||{},o=r.labels||{};if(i&&!1!==i.visibleInLegend){var a,h,l=!1!==i.visible,c=l?F(s):F(o)||F(s),u=i.category;c&&(u=c({text:u,series:i.series,dataItem:i.dataItem,percentage:i.percentage,value:t})),l?(a={},h=e.color):(a={color:o.color,font:o.font},h=(r.markers||{}).color),vi(u)&&""!==u&&this.legendItems.push({active:l,pointIndex:i.index,text:u,series:i.series,markerColor:h,labels:a})}}},Ss=S.extend({init:function(t,e){S.fn.init.call(this,e),this.plotArea=t,this.chartService=t.chartService,this.points=[],this.legendItems=[],this.render()},render:function(){this.traverseDataPoints(this.addValue.bind(this))},traverseDataPoints:function(t){var i=this.options,n=this.plotArea.options.seriesColors;void 0===n&&(n=[]);for(var s=n.length,r=i.series,o=r.length,a=0;a<o;a++){var h=r[a],c=h.data,u=hi(h),p=u.total,d=u.points,f=u.count,v=360/p,g=void 0;isFinite(v)||(g=360/f);var x=void 0;x=b(h.startAngle)?h.startAngle:i.startAngle,a!==o-1&&h.labels.position===je&&(h.labels.position=l);for(var m=0;m<d.length;m++){var y=d[m];if(y){var _=y.fields,w=y.value,A=y.visible,S=0!==w?g||w*v:0,C=1!==c.length&&Boolean(_.explode);R(h.color)||(h.color=_.color||n[m%s]),t(w,new e.Ring(null,0,0,x,S),{owner:this,category:b(_.category)?_.category:"",index:m,series:h,seriesIx:a,dataItem:c[m],percentage:0!==p?w/p:0,explode:C,visibleInLegend:_.visibleInLegend,visible:A,zIndex:o-a,animationDelay:this.animationDelay(m,a,o)}),!1!==A&&(x+=S)}}}},evalSegmentOptions:function(t,e,i){var n=i.series;ui(t,{value:e,series:n,dataItem:i.dataItem,category:i.category,percentage:i.percentage},{defaults:n._defaults,excluded:["data","content","template","visual","toggle"]})},addValue:function(e,i,n){var s=M({},n.series,{index:n.index});if(this.evalSegmentOptions(s,e,n),this.createLegendItem(e,s,n),!1!==n.visible){var r=new ys(e,i,s);t.extend(r,n),this.append(r),this.points.push(r)}},reflow:function(t){var e=this,i=e.options,n=e.points,s=e.seriesConfigs;void 0===s&&(s=[]);var r=n.length,o=t.clone(),a=Math.min(o.width(),o.height()),h=a/2,l=a-.85*a,c=new k(o.x1,o.y1,o.x1+a,o.y1+a),u=c.center(),p=o.center(),d=i.series.length,f=[],v=[],g=V(i.padding,l);this.targetBox=t,g=g>h-5?h-5:g,c.translate(p.x-u.x,p.y-u.y);for(var m=h-g,y=new C(m+c.x1+g,m+c.y1+g),_=0;_<r;_++){var b=n[_],w=b.sector,A=b.seriesIx;if(w.radius=m,w.center=y,s.length){var S=s[A];w.innerRadius=S.innerRadius,w.radius=S.radius}A===d-1&&b.explode&&(w.center=w.clone().setRadius(.15*w.radius).point(w.middle())),b.reflow(c);var P=b.label;P&&P.options.position===je&&A===d-1&&(P.orientation===x?v.push(P):f.push(P))}f.length>0&&(f.sort(this.labelComparator(!0)),this.leftLabelsReflow(f)),v.length>0&&(v.sort(this.labelComparator(!1)),this.rightLabelsReflow(v)),this.box=c},leftLabelsReflow:function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},rightLabelsReflow:function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},distanceBetweenLabels:function(t){var e=B(this.points),i=e.sector,n=t.length-1,s=i.radius+e.options.labels.distance,r=[],o=t[0].box,a=Z(o.y1-(i.center.y-s-o.height()-o.height()/2));r.push(a);for(var h=0;h<n;h++){var l=t[h+1].box;o=t[h].box,a=Z(l.y1-o.y2),r.push(a)}return a=Z(i.center.y+s-t[n].box.y2-t[n].box.height()/2),r.push(a),r},distributeLabels:function(t,e){for(var i,n,s,r=t.length,o=0;o<r;o++)for(s=-t[o],i=n=o;s>0&&(i>=0||n<r);)s=this._takeDistance(t,o,--i,s),s=this._takeDistance(t,o,++n,s);this.reflowLabels(t,e)},_takeDistance:function(t,e,i,n){var s=n;if(t[i]>0){var r=Math.min(t[i],s);s-=r,t[i]-=r,t[e]+=r}return s},reflowLabels:function(t,e){var i,n=B(this.points),s=n.sector,r=n.options.labels,o=e.length,a=r.distance,h=s.center.y-(s.radius+a)-e[0].box.height();t[0]+=2;for(var l=0;l<o;l++){var c=e[l],u=c.box;h+=t[l],i=this.hAlignLabel(u.x2,s.clone().expand(a),h,h+u.height(),c.orientation===x),c.orientation===x?(r.align!==f&&(i=s.radius+s.center.x+a),c.reflow(new k(i+u.width(),h,i,h))):(r.align!==f&&(i=s.center.x-s.radius-a),c.reflow(new k(i-u.width(),h,i,h))),h+=u.height()}},createVisual:function(){var t=this,e=this.options.connectors,i=this.points,n=i.length;S.fn.createVisual.call(this),this._connectorLines=[];for(var s=0;s<n;s++){var r=i[s],o=r.sector,a=r.label,h=o.middle(),l=(r.options.connectors||{}).color||e.color;if(a){var c=new nt({stroke:{color:l,width:e.width},animation:{type:St,delay:r.animationDelay}});if(a.options.position===je){var u=a.box,p=o.center,d=o.point(h),f=new C(u.x1,u.center().y),v=void 0,g=void 0,m=void 0;d=o.clone().expand(e.padding).point(h),c.moveTo(d.x,d.y),a.orientation===x?(m=Cs(p,d,f,g=new C(u.x1-e.padding,u.center().y)),f=new C(g.x-4,g.y),(m=m||f).x=Math.min(m.x,f.x),t.pointInCircle(m,o.center,o.radius+4)||m.x<o.center.x?(v=o.center.x+o.radius+4,r.options.labels.align!==Yt?v<f.x?c.lineTo(v,d.y):c.lineTo(d.x+8,d.y):c.lineTo(v,d.y),c.lineTo(f.x,g.y)):(m.y=g.y,c.lineTo(m.x,m.y))):(m=Cs(p,d,f,g=new C(u.x2+e.padding,u.center().y)),f=new C(g.x+4,g.y),(m=m||f).x=Math.max(m.x,f.x),t.pointInCircle(m,o.center,o.radius+4)||m.x>o.center.x?(v=o.center.x-o.radius-4,r.options.labels.align!==Yt?v>f.x?c.lineTo(v,d.y):c.lineTo(d.x-8,d.y):c.lineTo(v,d.y),c.lineTo(f.x,g.y)):(m.y=g.y,c.lineTo(m.x,m.y))),c.lineTo(g.x,g.y),t._connectorLines.push(c),t.visual.append(c)}}}},renderVisual:function(){if(S.fn.renderVisual.call(this),e.find(this.options.series,(function(t){return t.autoFit}))){var t=this.targetBox,i=this.box.center(),n=this.visual.bbox();if(!n)return;var s=n.bottomRight(),r=Math.min((i.y-t.y1)/(i.y-n.origin.y),(t.y2-i.y)/(s.y-i.y),(i.x-t.x1)/(i.x-n.origin.x),(t.x2-i.x)/(s.x-i.x));r<1&&this.visual.transform(ct().scale(r,r,[i.x,i.y]))}},labelComparator:function(t){var e=t?-1:1;return function(t,i){return((t.parent.sector.middle()+270)%360-(i.parent.sector.middle()+270)%360)*e}},hAlignLabel:function(t,e,i,n,s){var r=e.radius,o=e.center,a=o.x,h=o.y,l=Math.min(Math.abs(h-i),Math.abs(h-n));return l>r?t:a+Math.sqrt(r*r-l*l)*(s?1:-1)},pointInCircle:function(t,e,i){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(i,2)},formatPointValue:function(t,e){return this.chartService.format.auto(e,t.value)},animationDelay:function(t){return 70*t},stackRoot:function(){return this}});function Cs(t,e,i,n){var s,r=(n.x-i.x)*(t.y-i.y)-(n.y-i.y)*(t.x-i.x),o=(n.y-i.y)*(e.x-t.x)-(n.x-i.x)*(e.y-t.y);if(0!==o){var a=r/o;s=new C(t.x+a*(e.x-t.x),t.y+a*(e.y-t.y))}return s}I(Ss,{startAngle:90,connectors:{width:2,color:"#939393",padding:8},inactiveItems:{markers:{},labels:{}}}),M(Ss.prototype,As),Ss.prototype.isStackRoot=!0;var ks=pn.extend({render:function(){this.createPieChart(this.series)},createPieChart:function(t){var e=t[0],i=new Ss(this,{series:t,padding:e.padding,startAngle:e.startAngle,connectors:e.connectors,legend:this.options.legend});this.appendChart(i)},appendChart:function(t,e){pn.fn.appendChart.call(this,t,e),q(this.options.legend.items,t.legendItems)}}),Ps=ys.extend({reflowLabel:function(){var t=this.options.labels,e=this.label,i=this.sector.clone(),n=i.middle();if(e){var s=e.box.height();if(t.position===l){i.radius-=(i.radius-i.innerRadius)/2;var r=i.point(n);e.reflow(new k(r.x,r.y-s/2,r.x,r.y))}else ys.fn.reflowLabel.call(this)}},createSegment:function(t,i){return e.ShapeBuilder.current.createRing(t,i)}});I(Ps,{overlay:{gradient:"roundedGlass"},labels:{position:l},animation:{type:te}}),M(Ps.prototype,Ai);var Is=Ss.extend({addValue:function(e,i,n){var s=M({},n.series,{index:n.index});if(this.evalSegmentOptions(s,e,n),this.createLegendItem(e,s,n),!1!==n.visible){var r=new Ps(e,i,s);t.extend(r,n),this.append(r),this.points.push(r)}},reflow:function(t){for(var e,i=this.options,n=t.clone(),s=Math.min(n.width(),n.height()),r=s/2,o=s-.85*s,a=i.series,h=a.length,l=V(i.padding,o),c=r-(l=l>r-5?r-5:l),u=0,p=0;p<h;p++){var d=a[p];0===p&&b(d.holeSize)&&(e=d.holeSize,c-=d.holeSize),b(d.size)?c-=d.size:u++,b(d.margin)&&p!==h-1&&(c-=d.margin)}b(e)||(c-=e=.75*((r-l)/(h+.75)));var f,v=e,g=0;this.seriesConfigs=[];for(var x=0;x<h;x++){var m=a[x];f=(v+=g)+V(m.size,c/u),this.seriesConfigs.push({innerRadius:v,radius:f}),g=m.margin||0,v=f}Ss.fn.reflow.call(this,t)},animationDelay:function(t,e,i){return 50*t+At*(e+1)/(i+1)}});I(Is,{startAngle:90,connectors:{width:2,color:"#939393",padding:8}});var Ts=ks.extend({render:function(){this.createDonutChart(this.series)},createDonutChart:function(t){var e=t[0],i=new Is(this,{series:t,padding:e.padding,connectors:e.connectors,legend:this.options.legend});this.appendChart(i)}}),Es=pn.extend({initFields:function(){this.valueAxisRangeTracker=new zi},render:function(){this.addToLegend(this.series),this.createPolarAxis(),this.createCharts(),this.createValueAxis()},alignAxes:function(){var t=this.valueAxis,e=t.range(),i=t.options.reverse?e.max:e.min,n=t.getSlot(i),s=this.polarAxis.getSlot(0).center,r=t.box.translate(s.x-n.x1,s.y-n.y1);t.reflow(r)},createValueAxis:function(){var t,i,n=this.valueAxisRangeTracker,s=n.query(),r=this.valueAxisOptions({roundToMajorUnit:!1,zIndex:-1});r.type===We?(t=e.RadarLogarithmicAxis,i={min:.1,max:1}):(t=e.RadarNumericAxis,i={min:0,max:1});var o=n.query(name)||s||i;o&&s&&(o.min=Math.min(o.min,s.min),o.max=Math.max(o.max,s.max));var a=new t(o.min,o.max,r,this.chartService);this.valueAxis=a,this.appendAxis(a)},reflowAxes:function(){var t=this,e=t.options.plotArea,i=t.valueAxis,n=t.polarAxis,s=t.box,r=.15*Math.min(s.width(),s.height()),o=N(e.padding||{},r),a=s.clone().unpad(o),h=a.clone();h.y2=h.y1+Math.min(h.width(),h.height()),h.align(a,g,l);var c=h.clone().shrink(0,h.height()/2);n.reflow(h),i.reflow(c);var u=i.lineBox().height()-i.box.height();i.reflow(i.box.unpad({top:u})),this.axisBox=h,this.alignAxes(h)},backgroundBox:function(){return this.box},detachLabels:function(){}}),Rs=Ji.extend({pointSlot:function(t,e){var i=t.center.y-e.y1,n=C.onCircle(t.center,t.startAngle,i);return new k(n.x,n.y,n.x,n.y)}});I(Rs,{clip:!1});var Vs=fs.extend({});Vs.prototype.pointSlot=Rs.prototype.pointSlot,I(Vs,{clip:!1});var Ls=Di.extend({fillToAxes:function(t){var e=this._polarAxisCenter();t.lineTo(e.x,e.y)},_polarAxisCenter:function(){return this.parent.plotArea.polarAxis.box.center()},strokeSegments:function(){var t=this._strokeSegments;if(!t){var e=this._polarAxisCenter(),i=new G(!1),n=this.points();n.push(e),(t=this._strokeSegments=i.process(n)).pop()}return t}}),Os=Mi.extend({fillToAxes:function(t){var e=this.parent.plotArea.polarAxis.box.center(),i=new ht.Segment([e.x,e.y]);t.segments.unshift(i),t.segments.push(i)}}),Ms=Vs.extend({createSegment:function(t,e,i){return(e.line||{}).style===Ft?new Ls(t,e,i):new Os(t,e,i)},createMissingValue:function(t,e){var i;return vi(t.x)&&e!==Ot&&(i={x:t.x,y:t.y},e===Lt&&(i.y=0)),i},seriesMissingValues:function(t){return t.missingValues||Lt},_hasMissingValuesGap:function(){for(var t=this.options.series,e=0;e<t.length;e++)if(this.seriesMissingValues(t[e])===Mt)return!0},sortPoints:function(t){if(t.sort(Bs),this._hasMissingValuesGap())for(var e=0;e<t.length;e++){var i=t[e];if(i)vi(i.value.y)||this.seriesMissingValues(i.series)!==Mt||delete t[e]}return t}});function Bs(t,e){return t.value.x-e.value.x}var Ds=Es.extend({createPolarAxis:function(){var t=new e.PolarAxis(this.options.xAxis,this.chartService);this.polarAxis=t,this.axisX=t,this.appendAxis(t)},render:function(){this.series=[].concat(this.originalSeries),this.createTrendlineSeries(),Es.fn.render.call(this)},valueAxisOptions:function(t){return M(t,{majorGridLines:{type:_},minorGridLines:{type:_}},this.options.yAxis)},createValueAxis:function(){Es.fn.createValueAxis.call(this),this.axisY=this.valueAxis},trendlineFactory:function(t,e){var i=xs.prototype.trendlineFactory.call(this,t,e);return i&&(i.type=ie),i},appendChart:function(t,e){this.valueAxisRangeTracker.update(t.yAxisRanges),pn.prototype.appendChart.call(this,t,e)},createCharts:function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createLineChart(pi(t,[ie]),e),this.createScatterChart(pi(t,[ne]),e),this.createAreaChart(pi(t,[ee]),e)},createLineChart:function(t,e){if(0!==t.length){var i=new Vs(this,{series:t});this.appendChart(i,e)}},createScatterChart:function(t,e){if(0!==t.length){var i=new Rs(this,{series:t});this.appendChart(i,e)}},createAreaChart:function(t,e){if(0!==t.length){var i=new Ms(this,{series:t});this.appendChart(i,e)}},_dispatchEvent:function(t,e,i){var n=t._eventCoordinates(e),s=new C(n.x,n.y),r=this.axisX.getValue(s),o=this.axisY.getValue(s);null!==r&&null!==o&&t.trigger(i,{element:D(e),x:r,y:o})},createCrosshairs:function(){}});I(Ds,{xAxis:{},yAxis:{}}),M(Ds.prototype,xn,{seriesValues:xs.prototype.seriesValues});var Fs=Oi.extend({pointSlot:function(t,e){var i=t.center.y-e.y1,n=C.onCircle(t.center,t.middle(),i);return new k(n.x,n.y,n.x,n.y)},renderSegments:function(){if(Oi.fn.renderSegments.call(this),this._segments&&this._segments.length>1)for(var t=function(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];e[n.seriesIx]=e[n.seriesIx]||[],e[n.seriesIx].push(n)}return e}(this._segments),e=0;e<t.length;e++){var i=t[e];if(i&&i.length>1){var n=i[0].linePoints[0],s=B(i),r=B(s.linePoints),o=0===n.categoryIx,a=r.categoryIx===r.categoriesCount-1;o&&a&&B(i).linePoints.push(n)}}},createSegment:function(t,e,i){var n=new(e.style===Ft?Ei:ki)(t,e,i),s=this.seriesMissingValues(e);return t.length!==e.data.length&&s!==Ot||(n.options.closed=!0),n}});I(Fs,{clip:!1,limitPoints:!1});var zs=Di.extend({fillToAxes:function(){}}),Hs=Mi.extend({fillToAxes:function(){}}),Ns=Fs.extend({createSegment:function(t,e,i,n){var s,r,o,a=this.options.isStacked,h=(e.line||{}).style;return a&&i>0&&n&&(r=n.linePoints.slice(0),s=n),h===Ft?(o=new zs(t,e,i,s,r)).options.closed=!0:(t.push(t[0]),o=new Hs(t,e,i,s,r)),o},seriesMissingValues:function(t){return t.missingValues||Lt}}),Gs=Ps.extend({init:function(t,e){Ps.fn.init.call(this,t,null,e)}});I(Gs,{overlay:{gradient:"none"},labels:{distance:10}});var qs=S.extend({init:function(t){S.fn.init.call(this,t),this.forEach=t.rtl?qi:Gi},reflow:function(t){var e=this.options,i=this.children,n=e.gap,s=e.spacing,r=i.length,o=r+n+s*(r-1),a=t.angle/o,h=t.startAngle+a*(n/2);this.forEach(i,(function(e){var i=t.clone();i.startAngle=h,i.angle=a,e.sector&&(i.radius=e.sector.radius),e.reflow(i),e.sector=i,h+=a+a*s}))}});I(qs,{gap:1,spacing:0});var Xs=S.extend({reflow:function(t){var e=this.options.reverse,i=this.children,n=i.length,s=e?n-1:0,r=e?-1:1;this.box=new k;for(var o=s;o>=0&&o<n;o+=r){var a=i[o].sector;a.startAngle=t.startAngle,a.angle=t.angle}}}),Ws=Yi.extend({pointType:function(){return Gs},clusterType:function(){return qs},stackType:function(){return Xs},categorySlot:function(t,e){return t.getSlot(e)},pointSlot:function(t,e){var i=t.clone(),n=t.center.y;return i.radius=n-e.y1,i.innerRadius=n-e.y2,i},reflowPoint:function(t,e){t.sector=e,t.reflow()},createAnimation:function(){this.options.animation.center=this.box.toRect().center(),Yi.fn.createAnimation.call(this)}});Ws.prototype.reflow=wi.prototype.reflow,I(Ws,{clip:!1,limitPoints:!1,animation:{type:"pie"}});var Ys=Es.extend({createPolarAxis:function(){var t=new e.RadarCategoryAxis(this.options.categoryAxis,this.chartService);this.polarAxis=t,this.categoryAxis=t,this.appendAxis(t),this.aggregateCategories(),this.createTrendlineSeries(),this.createCategoryAxesLabels()},valueAxisOptions:function(t){return this._hasBarCharts&&M(t,{majorGridLines:{type:_},minorGridLines:{type:_}}),this._isStacked100&&M(t,{roundToMajorUnit:!1,labels:{format:"P0"}}),M(t,this.options.valueAxis)},aggregateCategories:function(){Gn.prototype.aggregateCategories.call(this,this.panes)},createCategoryAxesLabels:function(){Gn.prototype.createCategoryAxesLabels.call(this,this.panes)},filterSeries:function(t){return t},trendlineFactory:function(t,e){var i=Gn.prototype.trendlineFactory.call(this,t,e);return i&&(i.type=oe),i},createCharts:function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createAreaChart(pi(t,[se]),e),this.createLineChart(pi(t,[oe]),e),this.createBarChart(pi(t,[re]),e)},chartOptions:function(t){var e={series:t},i=t[0];if(i){var n=this.filterVisibleSeries(t),s=i.stack;e.isStacked=s&&n.length>1,e.isStacked100=s&&"100%"===s.type&&n.length>1,e.isStacked100&&(this._isStacked100=!0)}return e},createAreaChart:function(t,e){if(0!==t.length){var i=new Ns(this,this.chartOptions(t));this.appendChart(i,e)}},createLineChart:function(t,e){if(0!==t.length){var i=new Fs(this,this.chartOptions(t));this.appendChart(i,e)}},createBarChart:function(t,e){if(0!==t.length){var i=t[0],n=this.chartOptions(t);n.gap=i.gap,n.spacing=i.spacing;var s=new Ws(this,n);this.appendChart(s,e),this._hasBarCharts=!0}},seriesCategoryAxis:function(){return this.categoryAxis},_dispatchEvent:function(t,e,i){var n=t._eventCoordinates(e),s=new C(n.x,n.y),r=this.categoryAxis.getCategory(s),o=this.valueAxis.getValue(s);null!==r&&null!==o&&t.trigger(i,{element:D(e),category:r,value:o})},createCrosshairs:function(){}});M(Ys.prototype,xn,{appendChart:Gn.prototype.appendChart,aggregateSeries:Gn.prototype.aggregateSeries,seriesSourcePoints:Gn.prototype.seriesSourcePoints,seriesValues:Gn.prototype.seriesValues}),I(Ys,{categoryAxis:{categories:[]},valueAxis:{}});var Us=S.extend({init:function(t,e,i){S.fn.init.call(this,e),this.value=t,this.options.index=i.index},reflow:function(t){var e=this.points,i=this.children[0];this.box=new k(e[0].x,e[0].y,e[1].x,e[2].y),i&&i.reflow(new k(t.x1,e[0].y,t.x2,e[2].y))},createVisual:function(){var t,e=this,i=this.options;S.fn.createVisual.call(this),(t=i.visual?i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,points:this.points,options:i,sender:this.getSender(),createVisual:function(){return e.createPath()}}):this.createPath())&&this.visual.append(t)},createPath:function(){var t=this.options,e=t.border;return nt.fromPoints(this.points,{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.color,opacity:e.opacity,width:e.width}}).close()},createHighlight:function(t){return nt.fromPoints(this.points,t)},highlightVisual:function(){return this.visual.children[0]},highlightVisualArgs:function(){var t=nt.fromPoints(this.points).close();return{options:this.options,path:t}},tooltipAnchor:function(){var t=this.box;return{point:new C(t.center().x,t.y1),align:{horizontal:"center",vertical:"top"}}},formatValue:function(t){return this.owner.formatPointValue(this,t)}});I(Us,{color:d,border:{width:1}}),M(Us.prototype,Ai);var Zs=S.extend({init:function(t,e){S.fn.init.call(this,e),this.plotArea=t,this.points=[],this.labels=[],this.legendItems=[],this.render()},formatPointValue:function(t,e){return this.chartService.format.auto(e,t.value)},render:function(){var t=this,e=this.options,i=this.plotArea.options.seriesColors;void 0===i&&(i=[]);var n=e.series[0],s=n.data;if(s)for(var r=hi(n),o=r.total,a=r.points,h=0;h<a.length;h++){var l=a[h];if(l){var c=l.fields;R(n.color)||(n.color=c.color||i[h%i.length]),c=M({index:h,owner:t,series:n,dataItem:s[h],percentage:l.value/o},c,{visible:l.visible});var u=l.valueFields.value,p=t.createSegment(u,c),d=t.createLabel(u,c);p&&d&&p.append(d)}}},evalSegmentOptions:function(t,e,i){var n=i.series;ui(t,{value:e,series:n,dataItem:i.dataItem,index:i.index},{defaults:n._defaults,excluded:["data","content","template","toggle","visual"]})},createSegment:function(e,i){var n=M({},i.series);if(this.evalSegmentOptions(n,e,i),this.createLegendItem(e,n,i),!1!==i.visible){var s=new Us(e,n,i);return t.extend(s,i),this.append(s),this.points.push(s),s}},createLabel:function(t,i){var n=i.series,s=i.dataItem,r=M({},this.options.labels,n.labels),o=t;if(r.visible){var a=F(r),h={dataItem:s,value:t,percentage:i.percentage,category:i.category,series:n};a?o=a(h):r.format&&(o=this.plotArea.chartService.format.auto(r.format,o)),r.color||(r.color=e.autoTextColor(n.color),r.background||(r.background=n.color)),this.evalSegmentOptions(r,t,i);var l=new z(o,M({vAlign:r.position},r),h);return this.labels.push(l),l}},labelPadding:function(){for(var t=this.labels,e={left:0,right:0},i=0;i<t.length;i++){var n=t[i].options.align;if(n!==l){var s=t[i].box.width();n===p?e.left=Math.max(e.left,s):e.right=Math.max(e.right,s)}}return e},dynamicSlopeReflow:function(t,e,i){for(var n=this.options,s=this.points,r=s.length,o=s[0],a=o,h=0;h<s.length;h++)s[h].percentage>a.percentage&&(a=s[h]);for(var l=o.percentage/a.percentage*e,c=(e-l)/2,u=0,p=0;p<r;p++){var d=s[p].percentage,f=s[p+1],v=f?f.percentage:d,g=s[p].points=[],x=n.dynamicHeight?i*d:i/r,m=void 0;m=j(m=d?(e-l*(v/d))/2:v?0:e/2,0,e),g.push(new lt(t.x1+c,t.y1+u)),g.push(new lt(t.x1+e-c,t.y1+u)),g.push(new lt(t.x1+e-m,t.y1+x+u)),g.push(new lt(t.x1+m,t.y1+x+u)),c=m,u+=x+n.segmentSpacing,l=j(e-2*m,0,e)}},constantSlopeReflow:function(t,e,i){for(var n=this.options,s=this.points,r=s.length,o=n.neckRatio<=1,a=o?n.neckRatio*e:e,h=o?0:(e-e/n.neckRatio)/2,l=((o?e:e-2*h)-a)/2,c=0,u=0;u<r;u++){var p=s[u].points=[],d=s[u].percentage,f=n.dynamicHeight?l*d:l/r,v=n.dynamicHeight?i*d:i/r;p.push(new lt(t.x1+h,t.y1+c)),p.push(new lt(t.x1+e-h,t.y1+c)),p.push(new lt(t.x1+e-h-f,t.y1+v+c)),p.push(new lt(t.x1+h+f,t.y1+v+c)),h+=f,c+=v+n.segmentSpacing}},reflow:function(t){var e=this.points,i=e.length;if(i){var n=this.options,s=t.clone().unpad(this.labelPadding()),r=s.height()-n.segmentSpacing*(i-1),o=s.width();n.dynamicSlope?this.dynamicSlopeReflow(s,o,r):this.constantSlopeReflow(s,o,r);for(var a=0;a<i;a++)e[a].reflow(t)}}});I(Zs,{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:l,position:l,zIndex:1}}),M(Zs.prototype,As);var js=Zs.extend({init:function(t,e){e.dynamicSlope=!1,e.neckRatio=1e6,Zs.fn.init.call(this,t,e)}}),Ks=pn.extend({render:function(){this.createChart(Zs,pi(this.series,[Zt])),this.createChart(js,pi(this.series,[jt]))},createChart:function(t,e){var i=e[0];if(i){var n=new t(this,{series:e,legend:this.options.legend,neckRatio:i.neckRatio,dynamicHeight:i.dynamicHeight,dynamicSlope:i.dynamicSlope,segmentSpacing:i.segmentSpacing,highlight:i.highlight});this.appendChart(n)}},appendChart:function(t,e){pn.fn.appendChart.call(this,t,e),q(this.options.legend.items,t.legendItems)}}),Qs=S.extend({init:function(t,e){S.fn.init.call(this),this.options=e,this.color=e.color||d,this.value=t},render:function(){this._rendered||(this._rendered=!0,this.createMarker(),this.createLabel(),this.createNote())},createLabel:function(){var t=this.options.labels;if(t.visible){var i,n=this.pointData(),s=F(t),r=t.color;i=s?s(n):this.formatValue(t.format),r||(r=e.autoTextColor(this.color)),this.label=new z(i,M({align:l,vAlign:l,margin:{left:5,right:5},zIndex:V(t.zIndex,this.series.zIndex)},t,{color:r}),n),this.append(this.label)}},formatValue:function(t){return this.owner.formatPointValue(this,t)},reflow:function(t){this.render();var e=this.label;this.box=t,e&&e.reflow(this.markerBox()),this.note&&this.note.reflow(t),this.marker.reflow(this.markerBox())},markerBox:function(){var t=this.options.markers,i=t.border,n=this.box.toRect(),r=V(t.type,"rect")===s.ROUNDED_RECT,o=V(i.width,r?1:0),a=Math.round(o/2);if(t.size){var h=n.center();n.size.width=n.size.height=t.size,n.origin.x=Math.round(h.x-n.size.width/2),n.origin.y=Math.round(h.y-n.size.height/2)}return n.size.width-=o,n.size.height-=o,n.origin.y+=a+.5,n.origin.x+=a+.5,e.rectToBox(n)},markerBorder:function(){var t=this.options,e=t.markers.border,i=V(e.opacity,t.opacity);return{color:e.color||this.color,width:e.width,opacity:i,dashType:e.dashType}},createMarker:function(){var t=this.options,e=t.markers,i=new H({type:V(e.type,"rect"),width:e.size,height:e.size,rotation:e.rotation,background:this.color,border:this.markerBorder(),borderRadius:e.borderRadius,opacity:this.series.opacity||t.opacity,zIndex:V(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});this.marker=i,this.append(i)},createHighlight:function(t){var e=this.options,i=this.options.highlight.markers||this.options.markers,n=new H({type:V(i.type,"rect"),width:i.size,height:i.size,rotation:i.rotation,background:i.color||this.color,border:this.markerBorder(),borderRadius:i.borderRadius,opacity:this.series.opacity||e.opacity,zIndex:V(e.zIndex,this.series.zIndex)});n.reflow(this.markerBox());var s=n.getElement();return s.options.fill=t.fill,s.options.stroke=t.stroke,s},highlightVisual:function(){return this.rectVisual},highlightVisualArgs:function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},tooltipAnchor:function(){var t=this.box.center().x,e=this.box.y1-5;return{point:new C(t,e),align:{horizontal:l,vertical:u}}},overlapsBox:function(t){return this.box.overlaps(t)},unclipElements:function(){},pointData:function(){return{x:this.value.x,y:this.value.y,value:this.value.value,dataItem:this.dataItem,series:this.series}}});M(Qs.prototype,Ai),M(Qs.prototype,Si),Qs.prototype.defaults={markers:{type:"rect",borderRadius:4,border:{color:"transparent"}},padding:{top:1},labels:{visible:!1,padding:3},opacity:1,notes:{label:{}}};var $s=S.extend({init:function(t,e){S.fn.init.call(this,e),this.plotArea=t,this.chartService=t.chartService,this._initFields(),this.render()},_initFields:function(){this.points=[],this.seriesOptions=[],this.valueRange={min:r,max:o},this._evalSeries=[]},render:function(){this.setRange(),this.traverseDataPoints(this.addValue.bind(this))},setRange:function(){for(var t=this,e=this.options.series,i=0;i<e.length;i++)for(var n=e[i],s=0;s<n.data.length;s++){var r=t.plotArea.bindPoint(n,s).valueFields;b(r.value)&&null!==r.value&&(t.valueRange.min=Math.min(t.valueRange.min,r.value),t.valueRange.max=Math.max(t.valueRange.max,r.value))}},addValue:function(e,i){var n;e&&b(e.value)&&null!==e.value&&(n=this.createPoint(e,i))&&t.extend(n,i),this.points.push(n)},evalPointOptions:function(t,e,i){var n=i.series,s=i.seriesIx,r={defaults:n._defaults,excluded:["data","tooltip","content","template","visual","toggle","drilldownSeriesFactory"]},o=this._evalSeries[s];b(o)||(this._evalSeries[s]=o=ui(t,{},r,!0));var a=t;return o&&ui(a=M({},t),{value:e,series:n,dataItem:i.dataItem,min:this.valueRange.min,max:this.valueRange.max},r),a},pointType:function(){return Qs},pointOptions:function(t,e){var i=this.seriesOptions[e];if(!i){var n=this.pointType().prototype.defaults;this.seriesOptions[e]=i=M({},n,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return i},createPoint:function(t,e){var i=e.series,n=this.pointOptions(i,e.seriesIx),s=e.color||i.color;if(n=this.evalPointOptions(n,t,e),R(i.color))s=n.color;else if(0!==this.valueRange.max){var r=function(t,e){void 0===e&&(e=.05);var i=kendo.parseColor(t),n=1-e;return function(t){var e=i.toHSL(),s=100-e.l,r=n-t;return e.l+=Math.min(r*s,s),e.toCss()}}(s);s=r(t.value/this.valueRange.max)}var o=new Qs(t,n);return o.color=s,this.append(o),o},seriesAxes:function(t){var e=t.xAxis,i=t.yAxis,n=this.plotArea,s=e?n.namedXAxes[e]:n.axisX,r=i?n.namedYAxes[i]:n.axisY;if(!s)throw new Error("Unable to locate X axis with name "+e);if(!r)throw new Error("Unable to locate Y axis with name "+i);return{xAxis:s,yAxis:r}},reflow:function(t){var e=this,i=this.points,n=!this.options.clip,s=0;this.traverseDataPoints((function(t,r){var o=i[s++],a=e.seriesAxes(r.series),h=a.xAxis,l=a.yAxis,c=h.categoryIndex(t.x),u=l.categoryIndex(t.y),p=h.getSlot(c,c,n),d=l.getSlot(u,u,n);if(o)if(p&&d){var f=e.pointSlot(p,d);o.reflow(f)}else o.visible=!1})),this.box=t},pointSlot:function(t,e){return new k(t.x1,e.y1,t.x2,e.y2)},traverseDataPoints:function(t){for(var e=this,i=this.options.series,n=0;n<i.length;n++)for(var s=i[n],r=e.seriesAxes(s),o=r.xAxis,a=r.yAxis,h=o.currentRangeIndices(),l=a.currentRangeIndices(),c=0;c<s.data.length;c++){var u=e.plotArea.bindPoint(s,c),p=u.valueFields,d=u.fields,f=o.totalIndex(p.x),v=a.totalIndex(p.y),g=h.min<=f&&f<=h.max,x=l.min<=v&&v<=l.max;g&&x&&t(p,M({pointIx:c,series:s,seriesIx:n,dataItem:s.data[c],owner:e},d))}},formatPointValue:function(t,e){var i=t.value;return this.chartService.format.auto(e,i.x,i.y,i.value)},animationPoints:function(){for(var t=this.points,e=[],i=0;i<t.length;i++)e.push((t[i]||{}).marker);return e}});I($s,{series:[],tooltip:{format:"{0}, {1}: {2}"},labels:{format:"{2}"},clip:!0});var Js=pn.extend({initFields:function(){this.namedXAxes={},this.namedYAxes={}},render:function(t){void 0===t&&(t=this.panes),this.bindCategories(),this.createAxes(t),this.createCharts(t),this.createAxisLabels()},bindCategories:function(){for(var t=this.srcSeries||this.series,i=0;i<t.length;i++){for(var n=t[i],s=n.data||[],r=this.seriesAxes(n),o=r.xAxis,a=r.yAxis,h=e.createHashSet(o.categories||[]),l=e.createHashSet(a.categories||[]),c=0;c<s.length;c++){var u=mt.current.bindPoint(n,c).valueFields,p=u.x,d=u.y;h.has(p)||h.add(p),l.has(d)||l.add(d)}o.categories=h.values(),a.categories=l.values()}},createCharts:function(t){for(var e=this,i=this.groupSeriesByPane(),n=0;n<t.length;n++){var s=t[n],r=i[s.options.name||"default"]||[];e.addToLegend(r);var o=e.filterVisibleSeries(r);o&&e.createHeatmapChart(pi(o,[Kt]),s)}},createHeatmapChart:function(t,e){var i=new $s(this,{series:t});this.appendChart(i,e)},seriesPaneName:function(t){var e=this.options,i=t.xAxis,n=[].concat(e.xAxis),s=K(n,(function(t){return t.name===i}))[0],r=t.yAxis,o=[].concat(e.yAxis),a=K(o,(function(t){return t.name===r}))[0],h=(e.panes||[{}])[0].name||"default";return(s||{}).pane||(a||{}).pane||h},seriesAxes:function(t){var e,i,n=this.options,s=[].concat(n.xAxis),r=t.xAxis;e=r?s.find((function(t){return t.name===r})):s[0];var o=[].concat(n.yAxis),a=t.yAxis;if(i=a?o.find((function(t){return t.name===a})):o[0],!e)throw new Error("Unable to locate X axis with name "+r);if(!i)throw new Error("Unable to locate Y axis with name "+a);return{xAxis:e,yAxis:i}},createAxisLabels:function(){for(var t=this.axes,e=0;e<t.length;e++)t[e].createLabels()},createXYAxis:function(i,n,s){for(var r,o=i.name,a=n?this.namedYAxes:this.namedXAxes,l=t.extend({axisCrossingValue:0},i,{vertical:n,reverse:n||this.chartService.rtl?!i.reverse:i.reverse,justified:!1}),c=l.categories?l.categories[0]:null,u=[l.min,l.max,c],p=this.series,d=0;d<p.length;d++){var f=p[d],v=f[n?"yAxis":"xAxis"];if(v===l.name||0===s&&!v){var g=mt.current.bindPoint(f,0).valueFields;u.push(g[n?"y":"x"]);break}}for(var x=0;x<u.length;x++)if(u[x]instanceof Date){r=!0;break}var m=new(ci(l.type,h)||!l.type&&r?e.DateCategoryAxis:W)(l,this.chartService);if(m.axisIndex=s,o){if(a[o])throw new Error((n?"Y":"X")+" axis with name "+o+" is already defined");a[o]=m}return this.appendAxis(m),m.mapCategories(),m},createAxes:function(t){for(var e=this,i=this.options,n=[].concat(i.xAxis),s=[],r=[].concat(i.yAxis),o=[],a=0;a<n.length;a++){var h=e.findPane(n[a].pane);E(h,t)&&s.push(e.createXYAxis(n[a],!1,a))}for(var l=0;l<r.length;l++){var c=e.findPane(r[l].pane);E(c,t)&&o.push(e.createXYAxis(r[l],!0,l))}this.axisX=this.axisX||s[0],this.axisY=this.axisY||o[0]},removeAxis:function(t){var e=t.options.name;pn.fn.removeAxis.call(this,t),t.options.vertical?delete this.namedYAxes[e]:delete this.namedXAxes[e],t===this.axisX&&delete this.axisX,t===this.axisY&&delete this.axisY},_dispatchEvent:function(t,e,i){for(var n=t._eventCoordinates(e),s=new C(n.x,n.y),r=this.axes,o=r.length,a=[],h=[],l=0;l<o;l++){var c=r[l];ri(c.options.vertical?h:a,c.getCategory(s))}a.length>0&&h.length>0&&t.trigger(i,{element:D(e),originalEvent:e,x:xi(a),y:xi(h)})},updateAxisOptions:function(t,e){var i=t.options.vertical,n=this.groupAxes(this.panes),s=(i?n.y:n.x).indexOf(t);tr(this.options,s,i,e),tr(this.originalOptions,s,i,e)},crosshairOptions:function(e){return t.extend({},e.options.crosshair,{zIndex:0})}});function tr(t,e,i,n){var s=[].concat(i?t.yAxis:t.xAxis)[e];M(s,n)}I(Js,{xAxis:{},yAxis:{}}),M(Js.prototype,xn);var er="color",ir="first",nr="max",sr="min",rr="noteText";ss.current.register(Gn,[Nt,Yt,$t,ve,Ht,pe,Wt,Jt,Xt,fe,Gt,de,le,he,xe,Qt,ae,ge].concat(be)),ss.current.register(xs,[ce,ue,qt].concat(be)),ss.current.register(ks,[te]),ss.current.register(Ts,[Ut]),ss.current.register(Ks,[Zt,jt]),ss.current.register(Ds,[ee,ie,ne].concat(be)),ss.current.register(Ys,[se,re,oe].concat(be)),ss.current.register(Js,[Kt]),mt.current.register([Nt,Yt,$t,ve,Ht,pe],[a],[Ye,er,rr,Pt,It,Je]),mt.current.register([le,he,ae,ge],["from","to"],[Ye,er,rr,Je]),mt.current.register([xe,Qt],[a],[Ye,er,rr,"summary",Je]),mt.current.register([ee,ie,ne],[v,g],[er,Je]),mt.current.register([se,re,oe],[a],[er,Je]),mt.current.register([Zt,jt],[a],[Ye,er,"visibleInLegend","visible",Je]),_n.current.register([Nt,Yt,$t,ve,Ht,pe,xe,Qt],{value:nr,color:ir,noteText:ir,errorLow:sr,errorHigh:nr}),_n.current.register([le,he,ae,ge],{from:sr,to:nr,color:ir,noteText:ir}),_n.current.register([se,re,oe],{value:nr,color:ir}),mt.current.register([ce,ue,qt],[v,g],[er,rr,Tt,Et,Rt,Vt]),mt.current.register([qt],[v,g,"size"],[er,Ye,rr]),mt.current.register([Kt],[v,g,a],[er,rr]),mt.current.register([Wt,Jt],["open","high","low","close"],[Ye,er,"downColor",rr]),_n.current.register([Wt,Jt],{open:nr,high:nr,low:sr,close:nr,color:ir,downColor:ir,noteText:ir}),mt.current.register([Gt,de],["lower","q1","median","q3","upper","mean","outliers"],[Ye,er,rr,Je]),_n.current.register([Gt,de],{lower:nr,q1:nr,median:nr,q3:nr,upper:nr,mean:nr,outliers:ir,color:ir,noteText:ir}),mt.current.register([Xt,fe],["current","target"],[Ye,er,"visibleInLegend",rr,Je]),_n.current.register([Xt,fe],{current:nr,target:nr,color:ir,noteText:ir}),mt.current.register([te,Ut],[a],[Ye,er,"explode","visibleInLegend","visible",Je]);var or=[Ye,a,v,g],ar="mousemove",hr="contextmenu",lr="mouseleave",cr=i.extend({init:function(t,i,n,s){var r=this;void 0===s&&(s={}),this.observers=[],this.addObserver(s.observer),this.chartService=new J.ChartService(this,s),this.chartService.theme=n,this._initElement(t);var o=M({},this.options,i);this._originalOptions=M({},o),this._theme=n,this._initTheme(o,n),this._initHandlers(),this._initSurface(),this.bindCategories(),e.FontLoader.preloadFonts(i,(function(){r.fontLoaded=!0,r._destroyed||(r.trigger("init"),r._redraw(),r._attachEvents())}))},_initElement:function(t){for(this._setElementClass(t),t.style.position="relative";t.firstChild;)t.removeChild(t.firstChild);this.element=t},_setElementClass:function(t){e.addClass(t,"k-chart")},_initTheme:function(e,i){for(var n=[],s=e.series||[],r=0;r<s.length;r++)n.push(t.extend({},s[r]));e.series=n,function(t){for(var e=or,i=0;i<e.length;i++){var n=e[i]+"Axes";t[n]&&(t[e[i]+"Axis"]=t[n],delete t[n])}}(e),this.applyDefaults(e,i),null===e.seriesColors&&delete e.seriesColors,this.options=M({},i,e),this.applySeriesColors()},getSize:function(){var t=this.options.chartArea||{};return{width:t.width?parseInt(t.width,10):Math.floor(this.element.offsetWidth),height:t.height?parseInt(t.height,10):Math.floor(this.element.offsetHeight)}},resize:function(t){var i=this.getSize(),n=this._size,s=i.width>0||i.height>0;t||s&&(!n||i.width!==n.width||i.height!==n.height)?(this._size=i,this._resize(i,t),this.trigger("resize",i)):s&&this._selections&&e.find(this._selections,(function(t){return!t.visible}))&&(this._destroySelections(),this._setupSelection())},_resize:function(){this._noTransitionsRedraw()},redraw:function(t){if(this.applyDefaults(this.options),this.applySeriesColors(),t){var e=this._model._plotArea,i=e.findPane(t);e.redraw(i)}else this._redraw()},getAxis:function(t){return pt(t,this._plotArea.axes)},findAxisByName:function(t){return this.getAxis(t)},findPaneByName:function(t){for(var e=this._plotArea.panes,i=0;i<e.length;i++)if(e[i].options.name===t)return new dt(e[i])},findPaneByIndex:function(t){var e=this._plotArea.panes;if(e[t])return new dt(e[t])},plotArea:function(){return new ft(this._plotArea)},toggleHighlight:function(t,e){var i,n,s,r=this._plotArea,o=(r.srcSeries||r.series||[])[0];R(e)?i=r.filterPoints(e):(L(e)?(n=e.series,s=e.category):n=s=e,i=o.type===Ut?ur(r.pointsBySeriesName(n),s):E(o.type,[te,Zt,jt])?ur((r.charts[0]||{}).points,s):r.pointsBySeriesName(n));i&&this.togglePointsHighlight(t,i)},togglePointsHighlight:function(t,e){for(var i=this._highlight,n=0;n<e.length;n++)i.togglePointHighlight(e[n],t)},showTooltip:function(t){var e,i,n=this._sharedTooltip(),s=this._tooltip,r=this._plotArea;if(R(t)?(e=r.findPoint(t))&&n&&(i=e.categoryIx):n&&b(t)&&(i=r.categoryAxis.categoryIndex(t)),n){if(i>=0){var o=this._plotArea.pointsByCategoryIndex(i);s.showAt(o)}}else e&&s.show(e)},hideTooltip:function(){this._tooltip.hide()},_initSurface:function(){var t=this.surface,i=this._surfaceWrap(),n=this.options.chartArea||{};n.width&&e.elementSize(i,{width:n.width}),n.height&&e.elementSize(i,{height:n.height}),t&&t.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(this._destroySurface(),this.surface=it.Surface.create(i,{type:this.options.renderAs}),this.surface.bind("mouseenter",this._surfaceMouseenterHandler),this.surface.bind("mouseleave",this._surfaceMouseleaveHandler))},_surfaceWrap:function(){return this.element},_redraw:function(){var t=this._getModel();this._size={width:t.options.width,height:t.options.height},this._destroyView(),this._model=t,this._plotArea=t._plotArea,t.renderVisual(),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.setup()})),this._initSurface(),this.surface.draw(t.visual),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.play()})),this._tooltip=this._createTooltip(),this._highlight=new Wn,this._setupSelection(),this._createPannable(),this._createZoomSelection(),this._createMousewheelZoom(),this.trigger(Ne),gr(this._plotArea.panes),this._navState||this._cancelDomEvents()},exportVisual:function(t){var e;if(t&&(t.width||t.height||t.options)){var i=this.options,n=M({},t.options,{chartArea:{width:t.width,height:t.height}});vr(this._originalOptions,n),this.options=M({},this._originalOptions,n),this._initTheme(this.options,this._theme),this.bindCategories();var s=this._getModel();s.renderVisual(),gr(s._plotArea.panes),e=s.visual,this.options=i}else e=this.surface.exportVisual();return e},_sharedTooltip:function(){return this._plotArea instanceof Gn&&this.options.tooltip&&this.options.tooltip.shared},_createPannable:function(){var t=this.options;!1!==t.pannable&&(this._pannable=new jn(this._plotArea,t.pannable))},_createZoomSelection:function(){var t=this.options.zoomable,e=(t||{}).selection;!1!==t&&!1!==e&&(this._zoomSelection=new Kn(this,e))},_createMousewheelZoom:function(){var t=this.options.zoomable,e=(t||{}).mousewheel;!1!==t&&!1!==e&&(this._mousewheelZoom=new $n(this,e))},_toggleDragZoomEvents:function(){var t=this.options.pannable,e=this.options.zoomable,i=(e||{}).selection,n=(e||{}).mousewheel,s=!(t||!1!==e&&!1!==i||this.requiresHandlers([Oe,Ve,Le])),r=(!1===e||!1===n)&&!this.requiresHandlers([Me,Be,De]),o=this.element;this._dragZoomEnabled&&s&&r?(o.style.touchAction=this._touchAction||"",this._dragZoomEnabled=!1):this._dragZoomEnabled||s&&r||(o.style.touchAction="none",this._dragZoomEnabled=!0),this._toggleDomEvents(!s,!r)},_toggleDomEvents:function(t,e){var i=this.domEvents;i&&(i.toggleDrag&&i.toggleDrag(t),i.toggleZoom&&i.toggleZoom(e))},_createTooltip:function(){var t=this.options.tooltip;return this._sharedTooltip()?this._createSharedTooltip(t):new hs(this.chartService,t)},_createSharedTooltip:function(t){return new ls(this._plotArea,t)},applyDefaults:function(t,e){!function(t,e){var i,n,s,r=(e||{}).axisDefaults||{};function o(t){var e=(t||{}).color||n.color,s=M({},r,r[i],n,n[i],{line:{color:e},labels:{color:e},title:{color:e}},t);return delete s[i],s}for(var a=0;a<or.length;a++)i=or[a]+"Axis",n=t.axisDefaults||{},s=(s=[].concat(t[i])).map(o),t[i]=s.length>1?s:s[0]}(t,e),function(t,e){var i=t.series,n=i.length,s=t.seriesDefaults,r=M({},t.seriesDefaults),o=e?M({},e.seriesDefaults):{},a=M({},o);pr(r),pr(a);for(var h=0;h<n;h++){var l=i[h].type||t.seriesDefaults.type,c=M({data:[]},a,o[l],{tooltip:t.tooltip},r,s[l]);i[h]._defaults=c,i[h]=M({},c,i[h]),i[h].data=i[h].data||[]}}(t,e)},applySeriesColors:function(){for(var t=this.options,e=t.series,i=t.seriesColors||[],n=0;n<e.length;n++){var s=e[n],r=i[n%i.length],o=s._defaults;s.color=s.color||r,o&&(o.color=o.color||r)}},_getModel:function(){var t=this.options,i=this._createPlotArea(),n=new e.RootElement(this._modelOptions());n.chart=this,n._plotArea=i;var s=U.buildTitle(t.title),r=U.buildTitle(t.subtitle,{align:t.title.align,position:t.title.position});return n.append.apply(n,U.orderTitles([s,r])),t.legend&&t.legend.visible&&n.append(new ns(i.options.legend,this.chartService)),n.append(i),n.reflow(),n},_modelOptions:function(){var t=this.options,e=this.getSize();return M({transitions:t.transitions,width:e.width||s.DEFAULT_WIDTH,height:e.height||s.DEFAULT_HEIGHT},t.chartArea)},_createPlotArea:function(t){var e=this.options;return ss.current.create(t?[]:e.series,e,this.chartService)},_setupSelection:function(){for(var t=this._plotArea.axes,e=this._selections=[],i=0;i<t.length;i++){var n=t[i],s=n.options;if(n instanceof W&&s.select&&!s.vertical){var r=n.range(),o=new as(this,n,M({min:r.min,max:r.max},s.select));e.push(o)}}},_selectStart:function(t){return this.trigger(Fe,t)},_select:function(t){return this.trigger(ze,t)},_selectEnd:function(t){return this.trigger(He,t)},_initHandlers:function(){this._clickHandler=this._click.bind(this),this._mousewheelHandler=this._mousewheel.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._surfaceMouseenterHandler=this._mouseover.bind(this),this._surfaceMouseleaveHandler=this._mouseout.bind(this),this._mousemove=kendo.throttle(this._mousemove.bind(this),20)},addObserver:function(t){t&&this.observers.push(t)},removeObserver:function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},requiresHandlers:function(t){for(var e=this.observers,i=0;i<e.length;i++)if(e[i].requiresHandlers(t))return!0},trigger:function(t,e){void 0===e&&(e={}),e.sender=this,t===Ge?e.anchor.point=this._toDocumentCoordinates(e.anchor.point):t===Pe?this._updateDrilldownPoint(e.point):t===Ie?this._resetDrilldownPoint():t===Ce&&this._startDrilldown(e.point);for(var i=this.observers,n=!1,s=0;s<i.length;s++)i[s].trigger(t,e)&&(n=!0);return n},_attachEvents:function(){var t,e,i=this.element;(this._touchAction=i.style.touchAction,$(i,((t={})[hr]=this._clickHandler,t[Ke]=this._mousewheelHandler,t[lr]=this._mouseleaveHandler,t)),this._shouldAttachMouseMove())&&$(i,((e={})[ar]=this._mousemove,e));this.domEvents=J.DomEventsBuilder.create(this.element,{start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)}),this._toggleDragZoomEvents()},_mouseleave:function(t){this._hoveredPoint&&(this._hoveredPoint.out(this,t),this._hoveredPoint=null),this._plotAreaHovered&&(this._plotAreaHovered=!1,this.trigger(Re)),this._hasInactiveOpacity()&&this._activeChartInstance&&(this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._updateSeriesOpacity(null,!0))},_cancelDomEvents:function(){this.domEvents&&this.domEvents.cancel&&this.domEvents.cancel()},_gesturestart:function(t){this._mousewheelZoom&&!this._stopChartHandlers(t)&&(this._gestureDistance=t.distance,this._unsetActivePoint(),this.surface.suspendTracking())},_gestureend:function(t){this._zooming&&!this._stopChartHandlers(t)&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger(De,{}))},_gesturechange:function(t){var e=this._mousewheelZoom;if(e&&!this._stopChartHandlers(t)){t.preventDefault();var i=this._gestureDistance,n=-t.distance/i+1;if(Math.abs(n)>=.1){n=Math.round(10*n),this._gestureDistance=t.distance;var s={delta:n,axisRanges:dr(this._plotArea.axes),originalEvent:t};if(this._zooming||!this.trigger(Me,s)){var r=this._eventCoordinates(t);this._zooming||(this._zooming=!0),(s.axisRanges=e.updateRanges(n,r))&&!this.trigger(Be,s)&&e.zoom()}}}},_mouseout:function(t){if(t.element){var e=this._drawingChartElement(t.element,t);e&&e.leave&&e.leave(this,t.originalEvent)}},_start:function(t){var e=this._eventCoordinates(t);!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(e)&&(this.requiresHandlers([Oe,Ve,Le])&&this._startNavigation(t,e,Oe),this._pannable&&this._pannable.start(t)&&(this.surface.suspendTracking(),this._unsetActivePoint(),this._suppressHover=!0,this.chartService.panning=!0),this._zoomSelection&&this._zoomSelection.start(t)&&this.trigger(Me,{axisRanges:dr(this._plotArea.axes),originalEvent:t}))},_move:function(t){var e=this._navState,i=this._pannable;if(!this._stopChartHandlers(t)){if(i){var n=i.move(t);n&&!this.trigger(Ve,{axisRanges:n,originalEvent:t})&&i.pan()}else if(e){for(var s={},r=e.axes,o=0;o<r.length;o++){var a=r[o];if(a.options.name){var h=a.options.vertical?t.y:t.x,l=h.startLocation-h.location;0!==l&&(s[a.options.name]=a.translateRange(l))}}e.axisRanges=s,this.trigger(Ve,{axisRanges:s,originalEvent:t})}this._zoomSelection&&this._zoomSelection.move(t)}},_end:function(t){if(!this._stopChartHandlers(t)){var e=this._pannable;if(e&&e.end(t)?(this.surface.resumeTracking(),this.trigger(Le,{axisRanges:dr(this._plotArea.axes),originalEvent:t}),this._suppressHover=!1,this.chartService.panning=!1):this._endNavigation(t,Le),this._zoomSelection){var i=this._zoomSelection.end(t);i&&!this.trigger(Be,{axisRanges:i,originalEvent:t})&&(this._zoomSelection.zoom(),this.trigger(De,{axisRanges:i,originalEvent:t}))}}},_stopChartHandlers:function(t){var e=this._selections||[];if(!e.length)return!1;var i=this._eventCoordinates(t),n=this._plotArea.paneByPoint(i);if(n)for(var s=0;s<e.length;s++)if(e[s].onPane(n))return!0},_mousewheelZoomRate:function(){var t=(this.options.zoomable||{}).mousewheel||{};return V(t.rate,.3)},_mousewheel:function(t){var i=this,n=e.mousewheelDelta(t),s=this._mousewheelZoom,r=this._eventCoordinates(t);if(!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(r))if(s){var o={delta:n,axisRanges:dr(this._plotArea.axes),originalEvent:t};!this._zooming&&this.trigger(Me,o)||(t.preventDefault(),this._zooming||(this._unsetActivePoint(),this.surface.suspendTracking(),this._zooming=!0),this._mwTimeout&&clearTimeout(this._mwTimeout),o.axisRanges=s.updateRanges(n,r),o.axisRanges&&!this.trigger(Be,o)&&s.zoom(),this._mwTimeout=setTimeout((function(){i.trigger(De,o),i._zooming=!1,i.surface&&i.surface.resumeTracking()}),Qe))}else{var a=this._navState;if(!a)this._startNavigation(t,r,Me)||(a=this._navState);if(a){var h=a.totalDelta||n;a.totalDelta=h+n;for(var l=this._navState.axes,c={},u=0;u<l.length;u++){var p=l[u],d=p.options.name;d&&(c[d]=p.scaleRange(-h*i._mousewheelZoomRate(),r))}this.trigger(Be,{delta:n,axisRanges:c,originalEvent:t}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){i._endNavigation(t,De)}),Qe)}}},_startNavigation:function(t,e,i){var n=this._model._plotArea,s=n.findPointPane(e),r=n.axes.slice(0);if(s){var o=dr(r);this.trigger(i,{axisRanges:o,originalEvent:t})?this._cancelDomEvents():(this._suppressHover=!0,this._unsetActivePoint(),this._navState={axisRanges:o,pane:s,axes:r})}},_endNavigation:function(t,e){this._navState&&(this.trigger(e,{axisRanges:this._navState.axisRanges,originalEvent:t}),this._suppressHover=!1,this._navState=null)},_getChartElement:function(t,e){var i=this.surface.eventTarget(t);if(i)return this._drawingChartElement(i,t,e)},_drawingChartElement:function(t,e,i){for(var n,s=t;s&&!n;)n=s.chartElement,s=s.parent;if(n)return n.aliasFor&&(n=n.aliasFor(e,this._eventCoordinates(e))),i&&(n=n.closest(i))&&n.aliasFor&&(n=n.aliasFor()),n},_eventCoordinates:function(t){var i=e.eventCoordinates(t);return this._toModelCoordinates(i.x,i.y)},_elementPadding:function(){if(!this._padding){var t=Q(this.element,["paddingLeft","paddingTop"]),e=t.paddingLeft,i=t.paddingTop;this._padding={top:i,left:e}}return this._padding},_toDocumentCoordinates:function(t){var i=this._elementPadding(),n=e.elementOffset(this.element);return{left:Z(t.x+i.left+n.left),top:Z(t.y+i.top+n.top)}},_toModelCoordinates:function(t,i){var n=this.element,s=e.elementOffset(n),r=this._elementPadding(),o=e.elementScale(n).invert(),a=new lt(t-s.left-r.left,i-s.top-r.top).transform(o);return new C(a.x,a.y)},_tap:function(t){var e=this,i=this.surface.eventTarget(t),n=this._drawingChartElement(i,t),s=this._sharedTooltip();this._startHover(i,t)||s||this._unsetActivePoint(),s&&this._trackSharedTooltip(this._eventCoordinates(t),t,!0),this._propagateClick(n,t),this.handlingTap=!0,setTimeout((function(){e.handlingTap=!1}),0)},_click:function(t){var e=this._getChartElement(t);this._propagateClick(e,t)},_propagateClick:function(t,e){for(var i=t;i;)i.click&&i.click(this,e),i=i.parent},_startHover:function(t,e){if(this._suppressHover)return!1;var i=this._drawingChartElement(t,e,(function(t){return(t.hover||t.over)&&!(t instanceof pn)}));return this._showInactiveOpacity(i,e),i},_displayTooltip:function(t){M({},this.options.tooltip,t.options.tooltip).visible&&this._tooltip.show(t)},_displayInactiveOpacity:function(t,e,i){var n=this._activeChartInstance=this._chartInstanceFromPoint(t);if(n)if(e)this._updateSeriesOpacity(t),this._applySeriesOpacity(n.children,null,!0),this._applySeriesOpacity(n.children,t.series),this._highlight.show(i||t);else{var s;if(!n.supportsPointInactiveOpacity())return void this._highlight.show(t);(s=this._getInactivePoints(t,n))&&s.length&&this._highlight.show(s,1-this._getInactiveOpacityForSeries(t.series))}},_getInactivePoints:function(t,e){return this._getAllPointsOfType(e,t.constructor).filter((function(e){return e!==t}))},_getAllPointsOfType:function(t,e){for(var i=[],n=0;n<t.children.length;n++){var s=t.children[n];s.constructor===e?i.push(s):s.children&&s.children.length&&(i=i.concat(this._getAllPointsOfType(s,e)))}return i},_updateHoveredPoint:function(t,e){var i=this._hoveredPoint;i&&i!==t&&(i.out(this,e),this._hoveredPoint=null),t&&i!==t&&t.over&&(this._hoveredPoint=t,t.over(this,e))},_updateDrilldownPoint:function(t){t&&t.series&&(mt.current.bindPoint(t.series,null,t.dataItem).fields.drilldown&&(this._drilldownState={cursor:this.element.style.cursor},this.element.style.cursor="pointer"))},_resetDrilldownPoint:function(){this._drilldownState&&(this.element.style.cursor=this._drilldownState.cursor,this._drilldownState=null)},_startDrilldown:function(t){if(t&&t.series){var e=t.series,i=mt.current.bindPoint(e,null,t.dataItem).fields.drilldown;if(i){var n={series:e,point:t,value:i,sender:this};this.trigger($e,n)}}},_updateSeriesOpacity:function(t,e){for(var i=this._plotArea,n=i.series.length,s=0;s<n;s++){var r=i.series[s],o=this._getDefaultOpacityForSeries(r),a=this._getInactiveOpacityForSeries(r);e||r===t.series?(r.opacity=o,r.line&&(r.line.opacity=o)):(r.defaultOpacity=o,r.opacity=a,r.line&&(r.line.opacity=a))}},_applySeriesOpacity:function(t,e,i,n){for(var s=0;s<t.length;s++){var r=t[s],o=r.series||n;if(o&&(o.highlight||{}).visible&&r.visual){var a=n?n.opacity:r.series.opacity;(o!==e||i)&&r.visual.opacity(i?1:a)}r.children&&r.children.length&&this._applySeriesOpacity(r.children,e,i,r.series)}},_chartInstanceFromPoint:function(t){for(var e=t.parent;e&&!e.plotArea;)e=e.parent;return e},_showInactiveOpacity:function(t,e){var i=this._activePoint,n=this._plotArea.series.length>1,s=this._hasInactiveOpacity();return this._updateHoveredPoint(t,e),t&&i!==t&&t.hover&&(this._activePoint=t,this._sharedTooltip()||t.hover(this,e)||(this._displayTooltip(t),s?this._displayInactiveOpacity(t,n):this._highlight.show(t))),t},_hideInactiveOpacity:function(t){var e=this._plotArea.series.length>1;this._hasInactiveOpacity()&&(e&&this._activeChartInstance&&(this._updateSeriesOpacity(t,!0),this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._activeChartInstance=null),this._highlight&&this._highlight.hide(),this._activePoint=null)},_hasInactiveOpacity:function(){var t=void 0!==this.options.seriesDefaults.highlight.inactiveOpacity,e=this.options.series.filter((function(t){return void 0!==t.highlight.inactiveOpacity})).length>0;return t||e},_getInactiveOpacityForSeries:function(t){var e=this.options.seriesDefaults.highlight.inactiveOpacity;return t.highlight.inactiveOpacity||e||t.opacity||s.DEFAULT_SERIES_OPACITY},_getDefaultOpacityForSeries:function(t){return t.defaultOpacity||t.opacity||s.DEFAULT_SERIES_OPACITY},_mouseover:function(t){var e,i=this._startHover(t.element,t.originalEvent);i&&i.tooltipTracking&&!this._mouseMoveTrackHandler&&!this._sharedTooltip()&&(this._mouseMoveTrackHandler=this._mouseMoveTracking.bind(this),$(document,((e={})[ar]=this._mouseMoveTrackHandler,e)))},_mouseMoveTracking:function(t){var e,i=this,n=i.options,s=i._tooltip,r=i._highlight,o=i._activePoint,a=this._eventCoordinates(t);if(this._plotArea.box.containsPoint(a)){if(o&&o.tooltipTracking&&o.series&&o.parent.getNearestPoint){var h=o.parent.getNearestPoint(a.x,a.y,o.seriesIx);if(h&&h!==o)if(this._activePoint=h,!h.hover(this,t))M({},n.tooltip,h.options.tooltip).visible&&s.show(h),r.show(h)}}else tt(document,((e={})[ar]=this._mouseMoveTrackHandler,e)),this._unsetActivePoint(),this._mouseMoveTrackHandler=null,this._hideInactiveOpacity(o)},_mousemove:function(t){var e=this._eventCoordinates(t),i=this._plotArea;if(this._trackCrosshairs(e),i.hover){var n=i.backgroundContainsPoint(e);n?(this._plotAreaHovered=!0,this._plotArea.hover(this,t)):this._plotAreaHovered&&!n&&(this._plotAreaHovered=!1,this.trigger(Re))}this._sharedTooltip()&&this._trackSharedTooltip(e,t)},_trackCrosshairs:function(t){for(var e=this._plotArea.crosshairs,i=0;i<e.length;i++){var n=e[i];n.box.containsPoint(t)?n.showAt(t):n.hide()}},_trackSharedTooltip:function(t,e,i){if(!this._suppressHover){var n=this,s=n.options.tooltip,r=n._plotArea,o=n._plotArea.categoryAxis,a=n._tooltip,h=n._highlight;if(r.backgroundContainsPoint(t)){var l=o.pointCategoryIndex(t);if(l!==this._tooltipCategoryIx||!this._sharedHighlight&&i){var c=r.pointsByCategoryIndex(l),u=c.map((function(t){return t.eventArgs(e)})),p=u[0]||{};p.categoryPoints=u,c.length>0&&!this.trigger(ke,p)?(s.visible&&a.showAt(c,t),h.show(c),this._sharedHighlight=!0):a.hide(),this._tooltipCategoryIx=l}else i&&this._sharedHighlight&&(h.hide(),a.hide(),this._sharedHighlight=!1)}else this._sharedHighlight&&(h.hide(),a.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1)}},hideElements:function(t){var e=this._plotArea;this._mousemove.cancel(),e.hideCrosshairs(),this._unsetActivePoint(t)},_unsetActivePoint:function(t){var e=this._tooltip,i=this._highlight;this._activePoint=null,this._hoveredPoint=null,!e||t&&t.keepTooltipOpen||e.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1,i&&i.hide()},_deferRedraw:function(){this._redraw()},_clearRedrawTimeout:function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},bindCategories:function(){for(var t=this.options,e=[].concat(t.categoryAxis),i=0;i<e.length;i++){var n=e[i];!1!==n.autoBind&&this.bindCategoryAxisFromSeries(n,i)}},bindCategoryAxisFromSeries:function(t,i){for(var n,s=this.options.series,r=s.length,o=new e.HashMap,a=[],h=!1,l=0;l<r;l++){var c=s[l],u=c.categoryAxis===t.name||!c.categoryAxis&&0===i,p=c.data,d=p.length,f=c.categoryField&&u;if(h=f||h,f&&d>0)for(var v=(n=gi(t,xt(c.categoryField,p[0])))?di:xt,g=0;g<d;g++){var x=p[g],m=v(c.categoryField,x,this.chartService.intl);!n&&o.get(m)||(a.push([m,x]),n||o.set(m,!0))}}if(a.length>0){n&&(a=function(t,i){void 0===i&&(i=e.dateComparer);for(var n=function(t,i){void 0===i&&(i=e.dateComparer);for(var n=1,s=t.length;n<s;n++)if(i(t[n],t[n-1])<0){t.sort(i);break}return t}(t,i),s=n.length,r=s>0?[n[0]]:[],o=1;o<s;o++)0!==i(n[o],B(r))&&r.push(n[o]);return r}(a,(function(t,i){return e.dateComparer(t[0],i[0])})));var y=function(t){for(var e=t.length,i=[],n=0;n<e;n++)for(var s=t[n],r=s.length,o=0;o<r;o++)i[o]=i[o]||[],i[o].push(s[o]);return i}(a);t.categories=y[0]}else h&&(t.categories=[])},_isBindable:function(t){for(var e=mt.current.valueFields(t),i=!0,n=0;n<e.length;n++){var s=e[n];if(s===a?s="field":s+="Field",!b(t[s])){i=!1;break}}return i},_noTransitionsRedraw:function(){var t,e=this.options;!1!==e.transitions&&(e.transitions=!1,t=!0),this._redraw(),t&&(e.transitions=!0)},_legendItemHover:function(t,e){var i,n=this._plotArea,s=this._highlight,r=(n.srcSeries||n.series)[t];if(i=E(r.type,[te,Ut,Zt,jt])?n.findPoint((function(i){return i.series.index===t&&i.index===e})):n.pointsBySeriesIndex(t),this._hasInactiveOpacity()&&r.visible&&i){var o=n.series.length>1,a=i.length?i[0]:i;this._displayInactiveOpacity(a,o,i)}else s.show(i)},_shouldAttachMouseMove:function(){return this._plotArea.crosshairs.length||this._tooltip&&this._sharedTooltip()||this.requiresHandlers([Ee,Re])},updateMouseMoveHandler:function(){var t,e;(tt(this.element,((t={})[ar]=this._mousemove,t)),this._shouldAttachMouseMove())&&$(this.element,((e={})[ar]=this._mousemove,e))},applyOptions:function(t,e){vr(this._originalOptions,t),this._originalOptions=M(this._originalOptions,t),this.options=M({},this._originalOptions),e&&(this._theme=e,this.chartService.theme=e),this._initTheme(this.options,this._theme),this._toggleDragZoomEvents()},setOptions:function(t,e){this.applyOptions(t,e),this.bindCategories(),this.redraw(),this.updateMouseMoveHandler()},setDirection:function(t){this.chartService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&this._destroySurface()},setIntlService:function(t){this.chartService.intl=t},noTransitionsRedraw:function(){this._noTransitionsRedraw()},destroy:function(){var t,e;(this._destroyed=!0,tt(this.element,((t={})[hr]=this._clickHandler,t[Ke]=this._mousewheelHandler,t[ar]=this._mousemove,t[lr]=this._mouseleaveHandler,t)),this.domEvents&&(this.domEvents.destroy(),delete this.domEvents),this._mouseMoveTrackHandler)&&tt(document,((e={})[ar]=this._mouseMoveTrackHandler,e));this._destroyView(),this._destroySurface(),this._clearRedrawTimeout()},_destroySurface:function(){var t=this.surface;t&&(t.unbind("mouseenter",this._surfaceMouseenterHandler),t.unbind("mouseleave",this._surfaceMouseleaveHandler),t.destroy(),this.surface=null)},_destroySelections:function(){var t=this._selections;if(t)for(;t.length>0;)t.shift().destroy()},_destroyView:function(){var t=this._model;t&&(t.destroy(),this._model=null),this._unsetActivePoint(),this._resetDrilldownPoint(),this._destroySelections(),this._tooltip&&this._tooltip.destroy(),this._highlight&&this._highlight.destroy(),this._zoomSelection&&(this._zoomSelection.destroy(),delete this._zoomSelection),this._pannable&&(this._pannable.destroy(),delete this._pannable),this._mousewheelZoom&&(this._mousewheelZoom.destroy(),delete this._mousewheelZoom)}});function ur(t,e){if(t)for(var i=0;i<t.length;i++)if(t[i].category===e)return[t[i]]}function pr(t){delete t.bar,delete t.column,delete t.rangeColumn,delete t.line,delete t.verticalLine,delete t.pie,delete t.donut,delete t.area,delete t.verticalArea,delete t.scatter,delete t.scatterLine,delete t.bubble,delete t.candlestick,delete t.ohlc,delete t.boxPlot,delete t.bullet,delete t.verticalBullet,delete t.polarArea,delete t.polarLine,delete t.radarArea,delete t.radarLine,delete t.waterfall}function dr(t){for(var e={},i=0;i<t.length;i++){var n=t[i],s=n.options.name;s&&(e[s]=n.range())}return e}var fr=["data","categories"];function vr(t,e){for(var i in e)if(!E(i,fr)&&e.hasOwnProperty(i)){var n=e[i],s=t[i];if(b(s)){var r=null===n;r||!b(n)?(delete t[i],r&&delete e[i]):s&&L(n)&&L(s)&&vr(s,n)}}}function gr(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}I(cr,{renderAs:"",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},seriesDefaults:{type:Yt,data:[],highlight:{visible:!0},labels:{},negativeValues:{visible:!1}},series:[],seriesColors:null,tooltip:{visible:!1},transitions:!0,valueAxis:{},plotArea:{},title:{},xAxis:{},yAxis:{},panes:[{}],pannable:!1,zoomable:!1}),kendo.deepExtend(kendo.dataviz,{constants:ei,Aggregates:gt,AreaChart:Fi,AreaSegment:Mi,AxisGroupRangeTracker:zi,Bar:Ni,BarChart:Yi,BarLabel:Hi,BoxPlotChart:Qi,BoxPlot:ji,BubbleChart:en,Bullet:sn,BulletChart:rn,CandlestickChart:Zi,Candlestick:Ui,CategoricalChart:wi,CategoricalErrorBar:ni,CategoricalPlotArea:Gn,Chart:cr,ChartContainer:ln,ClipAnimation:Vi,ClusterLayout:Xi,Crosshair:hn,CrosshairTooltip:an,DefaultAggregates:_n,DonutChart:Is,DonutPlotArea:Ts,DonutSegment:Ps,ErrorBarBase:ii,ErrorRangeCalculator:bt,Highlight:Wn,SharedTooltip:ls,Legend:ns,LegendItem:ts,LegendLayout:Jn,LineChart:Oi,LinePoint:Ci,LineSegment:ki,Pane:cn,PieAnimation:ds,PieChart:Ss,PieChartMixin:As,PiePlotArea:ks,PieSegment:ys,PlotAreaBase:pn,PlotAreaEventsMixin:xn,PlotAreaFactory:ss,PointEventsMixin:Ai,RangeBar:bn,RangeBarChart:wn,RangeAreaPoint:Cn,RangeAreaChart:Tn,ScatterChart:Ji,ScatterErrorBar:$i,ScatterLineChart:fs,Selection:as,SeriesAggregator:mn,SeriesBinder:mt,SplineSegment:Ei,SplineAreaSegment:Di,StackWrap:Wi,Tooltip:hs,OHLCChart:Rn,OHLCPoint:En,WaterfallChart:Ln,WaterfallSegment:Vn,XYPlotArea:xs,MousewheelZoom:$n,ZoomSelection:Kn,Pannable:jn,ChartAxis:ut,ChartPane:dt,ChartPlotArea:ft,findAxisByName:pt,anyHasZIndex:si,appendIfNotNull:ri,areNumbers:oi,bindSegments:hi,categoriesCount:li,countNumbers:vt,equalsIgnoreCase:ci,evalOptions:ui,filterSeriesByType:pi,getDateField:di,getField:xt,hasGradientOverlay:fi,hasValue:vi,isDateAxis:gi,segmentVisible:ai,singleItemOrArray:xi,createOutOfRangePoints:bi})}(window.kendo.jQuery),function(t,e){var i=window.kendo,n=i.dataviz,s=i.ui.Widget,r=s.extend({init:function(t,e){if(s.fn.init.call(this,t,e),!e.chart)throw new Error("ChartBreadcrumb: No Chart instance supplied as `options.chart`");this._attachChartEvents(),this._renderBreadcrumb(),i.notify(this,n.ui)},events:[],options:{name:"ChartBreadcrumb",rootItem:{type:"rootitem",icon:"home",text:"Home",showIcon:!0}},destroy:function(){this.breadcrumb&&(this.breadcrumb.destroy(),this.breadcrumb=null),this.chart&&(this.chart.unbind("drilldown",this._onChartDrilldown),this.chart.unbind("drilldownLevelChange",this._onChartDrilldownLevelChange),this.chart=null),s.fn.destroy.call(this)},_attachChartEvents:function(e){var i=this,n=this.options;if("function"==typeof n.chart.resetDrilldownLevel)this.chart=n.chart;else{if("string"!=typeof n.chart)throw new Error("ChartBreadcrumb: `options.chart` must be a Chart instance, element ID or a selector");if(this.chart=t(n.chart).getKendoChart()||t("#"+n.chart).getKendoChart(),!this.chart&&!e)return void setTimeout((function(){return i._attachChartEvents(!0)}))}this._onChartDrilldown=this._onChartDrilldown.bind(this),this.chart.bind("drilldown",this._onChartDrilldown),this._onChartDrilldownLevelChange=this._onChartDrilldownLevelChange.bind(this),this.chart.bind("drilldownLevelChange",this._onChartDrilldownLevelChange)},_renderBreadcrumb:function(){var e=this,n=t("<nav />");this.element.append(n),this.breadcrumb=new i.ui.Breadcrumb(n,{items:[this.options.rootItem]}),this.breadcrumb.bind("click",(function(t){return e._onBreadcrumbClick(t)}))},_onBreadcrumbClick:function(t){if(this.breadcrumb&&this.chart){var e=this.breadcrumb.items().findIndex((function(e){return e===t.item}));this.chart.resetDrilldownLevel(e)}},_onChartDrilldown:function(t){this.breadcrumb&&!t.isDefaultPrevented()&&this.breadcrumb.items(this.breadcrumb.items().concat([{type:"item",text:t.point.category}]))},_onChartDrilldownLevelChange:function(t){if(this.breadcrumb){var e=this.breadcrumb.items();e=e.slice(0,t.level+1),this.breadcrumb.items(e)}}});n.ui.plugin(r)}(window.kendo.jQuery),function(t,e){var i=".kendoChart",n=window.kendo,s=n.Class,r=n._outerWidth,o=n._outerHeight,a=n.dataviz,h=a.constants,l=a.Chart,c=a.SeriesBinder,u=n.ui.Widget,p=n.data.DataSource,d=n.deepExtend,f=a.defined,v=a.getField,g=a.InstanceObserver,x=a.inArray,m=a.services,y=Array.isArray,_=t.extend,b=n.template,w=n.htmlEncode,A="mouseleave"+i,S=h.AXIS_LABEL_CLICK,C=h.LEGEND_ITEM_CLICK,k=h.LEGEND_ITEM_HOVER,P=h.LEGEND_ITEM_LEAVE,I=h.SERIES_CLICK,T=h.SERIES_HOVER,E=h.SERIES_OVER,R=h.SERIES_LEAVE,V=h.PANE_RENDER,L=h.PLOT_AREA_CLICK,O=h.PLOT_AREA_HOVER,M=h.PLOT_AREA_LEAVE,B=h.DRAG,D=h.DRAG_END,F=h.DRAG_START,z=h.DRILLDOWN,H="drilldownLevelChange",N=h.ZOOM_START,G=h.ZOOM,q=h.ZOOM_END,X=h.SELECT_START,W=h.SELECT,Y=h.SELECT_END,U=h.RENDER,Z=h.NOTE_CLICK,j=h.NOTE_HOVER,K=h.NOTE_LEAVE,Q=t(document.documentElement),$="change",J="dataBound",tt="leave",et=h.VALUE,it=h.PIE,nt=h.DONUT,st=h.FUNNEL,rt=n.Observable;m.DomEventsBuilder.register({create:function(t,e){return new n.UserEvents(t,d({global:!0,multiTouch:!0,fastTap:!0},e))}});var ot=g.extend({handlerMap:{showTooltip:"_showTooltip",hideTooltip:"_hideTooltip",legendItemClick:"_onLegendItemClick",render:"_onRender",init:"_onInit",drilldown:"_onDrilldown"}}),at=u.extend({init:function(t,e){var i;n.destroy(t),u.fn.init.call(this,t),e&&(i=e.dataSource,delete e.dataSource),this.options=d({},this.options,e),this.wrapper=this.element,this._attachEvents(),e&&(e.dataSource=i),this._seriesVisibility=new pt,this.bind(this.events,this.options),this._initDataSource(e),this._drilldownState=[],n.notify(this,a.ui),this._showWatermarkOverlay&&this._showWatermarkOverlay(this.wrapper[0])},events:[J,z,H,I,T,E,R,S,C,k,P,V,L,O,M,F,B,D,N,G,q,X,W,Y,Z,j,K,U],options:{name:"Chart",renderAs:"",theme:"default",axisDefaults:{},chartArea:{},legend:{},categoryAxis:{},autoBind:!0,seriesDefaults:{},series:[],seriesColors:null,tooltip:{},transitions:!0,valueAxis:{},plotArea:{},title:{},xAxis:{},yAxis:{},panes:[{}],pannable:!1,zoomable:!1},items:function(){return t()},refresh:function(){var t=this,e=t._instance;e.applyDefaults(t.options),e.applySeriesColors(),t._bindSeries(),t._bindCategories(),t.trigger(J),t._redraw()},getSize:function(){return n.dimensions(this.element)},redraw:function(t){this._size=null,this._instance.redraw(t)},setOptions:function(t){var e=this,i=t.dataSource;delete t.dataSource,u.fn._setEvents.call(e,t),this._instance.applyOptions(t,this._getThemeOptions(t)),this.options=this._instance.options,this._tooltip.setOptions(this.options.tooltip),this._seriesVisibility.setOptions(this.options),this._sourceSeries=null,i&&e.setDataSource(i),e._hasDataSource?e._onDataChanged():(e._bindCategories(),e.redraw()),e._instance.updateMouseMoveHandler()},setDataSource:function(t){var e=this;e.dataSource.unbind($,e._dataChangeHandler),e.dataSource=t=p.create(t),e._hasDataSource=!0,e._hasData=!1,t.bind($,e._dataChangeHandler),e.options.autoBind&&t.fetch()},destroy:function(){var t=this,e=t.dataSource;t.element.off(i),e&&e.unbind($,t._dataChangeHandler),t._instance&&(t._instance.destroy(),delete this._instance),this._tooltip&&(this._tooltip.destroy(),delete this._tooltip),this._destroyCrosshairTooltips(),u.fn.destroy.call(t)},findPaneByName:function(t){for(var e=this._plotArea.panes,i=0;i<e.length;i++)if(e[i].options.name===t)return new gt(this,e[i])},findPaneByIndex:function(t){var e=this._plotArea.panes;if(e[t])return new gt(this,e[t])},findSeries:function(t){for(var e=this._plotArea,i=e.srcSeries||e.series,n=0;n<i.length;n++)if(t(i[n]))return new xt(this,i[n])},findSeriesByName:function(t){return this._createSeries({name:t})},findSeriesByIndex:function(t){return this._createSeries({index:t})},exportVisual:function(t){var e=this._instance;if(e){var i;if(t&&(t.width||t.height)){var n=e.options.chartArea,s=e._originalOptions.chartArea;d(n,t);var r=e._getModel();n.width=s.width,n.height=s.height,r.renderVisual(),function(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}(r._plotArea.panes),i=r.visual}else i=e.exportVisual();return i}},resetDrilldownLevel:function(t){t=t||0;var e=this._drilldownState;if(!(!e||t<0||t>e.length-1)){var i={level:t,sender:this};this.trigger(H,i),this.options.series=this._drilldownState[t],this._drilldownState=this._drilldownState.slice(0,t),this._bindCategories(),this._redraw()}},_createSeries:function(t){var e=this._seriesOptions(t);if(e)return new xt(this,e)},_seriesOptions:function(t){var e,i=this._plotArea,n=i.srcSeries||i.series;if(f(t.index))e=n[t.index];else if(f(t.name))for(var s=0;s<n.length;s++)if(n[s].name===t.name){e=n[s];break}return e},_attachEvents:function(){this.element.on(A,this._mouseleave.bind(this))},_mouseleave:function(e){var i=this._instance,n=this._tooltip,s=e.relatedTarget;s&&t(s).closest(n.element).length||!i||i.handlingTap||i.hideElements({keepTooltipOpen:!n.options.autoHide})},_getThemeOptions:function(t){var e=(t||{}).theme;if(e&&-1!==a.SASS_THEMES.indexOf(e.toLowerCase()))return a.autoTheme().chart;if(f(e)){var i=a.ui.themes||{};return(i[e]||i[e.toLowerCase()]||{}).chart||{}}},_initChart:function(){this._createChart(this.options,this._getThemeOptions(this.options)),this.options=this._instance.options,this._seriesVisibility.setOptions(this.options)},_createChart:function(t,e){this._instance=new l(this.element[0],t,e,{observer:new ot(this),sender:this,rtl:this._isRtl()})},_onInit:function(t){this._instance=t.sender},_initDataSource:function(t){var e=this,i=(t||{}).dataSource;e._dataChangeHandler=e._onDataChanged.bind(e),e.dataSource=p.create(i).bind("change",e._dataChangeHandler),e._bindCategories(),i&&(e._hasDataSource=!0),this._initChart(),this._initTooltip(),i&&e.options.autoBind&&e.dataSource.fetch()},_destroyCrosshairTooltips:function(){var t=this._crosshairTooltips;if(t)for(var e in t)t[e].destroy();this._crosshairTooltips={}},_getCrosshairTooltip:function(t,e){var i=this._crosshairTooltips=this._crosshairTooltips||{},n=t+e,s=i[n];return s||(s=i[n]=new vt(this.element)),s},_showTooltip:function(t){t.crosshair?this._getCrosshairTooltip(t.axisName,t.axisIndex).show(t):this._tooltip&&this._tooltip.show(t)},_hideTooltip:function(t){t.crosshair?this._getCrosshairTooltip(t.axisName,t.axisIndex).hide():this._tooltip&&this._tooltip.hide()},_onRender:function(t){this._destroyCrosshairTooltips(),this._copyMembers(t.sender),this._hasDataSource&&!this._hasData&&this.options.autoBind||this.trigger(U)},_copyMembers:function(t){this.options=t.options,this._originalOptions=t._originalOptions,this.surface=t.surface,this._plotArea=t._plotArea,this._model=t._model,this._highlight=t._highlight,this._selections=t._selections,this._pannable=t._pannable,this._zoomSelection=t._zoomSelection,this._mousewheelZoom=t._mousewheelZoom},requiresHandlers:function(t){for(var e=this._events,i=0;i<t.length;i++)if(f(e[t[i]]))return!0},_initTooltip:function(){this._tooltip=this._createTooltip(),this._tooltip.bind(tt,this._tooltipleave.bind(this))},_onLegendItemClick:function(t){this.trigger(C,t)||this._legendItemClick(t.seriesIndex,t.pointIndex)},_legendItemClick:function(e,i){var n=this._instance,s=n._plotArea,r=(s.srcSeries||s.series)[e];if(n._hasInactiveOpacity()&&n._activeChartInstance&&(n._updateSeriesOpacity(null,!0),n._applySeriesOpacity(n._activeChartInstance.children,null,!0),n._activeChartInstance=null),t.inArray(r.type,[it,nt,st])>=0){var o=r.data[i];if(o&&f(o.visible))o.visible=!o.visible;else{var a=r.pointVisibility=r.pointVisibility||{},h=a[i];a[i]=!!f(h)&&!h}}else r.visible=!r.visible,this._seriesVisibility.save(r);n._noTransitionsRedraw()},_createTooltip:function(){return new ft(this.element,_({},this.options.tooltip,{rtl:this._isRtl()}))},_tooltipleave:function(){this._instance&&this._instance.hideElements()},_onDrilldown:function(t){var e=this,i=t.series,n=t.value;if(i.drilldownSeriesFactory){var s=i.drilldownSeriesFactory(n);if(!s)return;s instanceof Promise?s.then((function(i){return e._onDrilldownData(t,i)})):this._onDrilldownData(t,s)}else"object"==typeof n&&this._onDrilldownData(t,n)},_onDrilldownData:function(t,e){var i=Object.assign({},t.series,e),n={point:t.point,series:t.series,drilldownSeries:i,sender:this};this.trigger(z,n)||(this._drilldownState.push(this.options.series),this.options.series=[i],this._bindCategories(),this._redraw())},_bindData:function(t){var e,i,n,s=this,r=s.options,o=s._sourceSeries||r.series,a=o.length,h=s.dataSource.view(),l=(s.dataSource.group()||[]).length>0,c=[],u=this._seriesVisibility;for(u.read(),e=0;e<a;e++)i=o[e],s._isBindable(i)&&l?(n=ut(i,h),c=c.concat(n),u.applyByGroup(n,t)):(i=_({},i),c.push(i),u.applyByIndex(i,t));s._sourceSeries=o,r.series=c,this._instance.applySeriesColors(),s._bindSeries(),s._bindCategories(),this._hasData=!0},_onDataChanged:function(t){this._bindData(t),this.trigger(J),this._instance&&this._instance.fontLoaded&&this._redraw()},_bindSeries:function(){var t,e,i,n,s=this,r=s.dataSource.view(),o=s.options.series,a=o.length;for(t=0;t<a;t++)e=o[t],s._isBindable(e)&&(i=e._groupIx,n=f(i)?(r[i]||{}).items:r,!1!==e.autoBind&&(e.data=n))},_bindCategories:function(){var t,e,i=this,n=i.dataSource.view()||[],s=(i.dataSource.group()||[]).length>0,r=n,o=i.options,a=[].concat(o.categoryAxis);for(s&&n.length&&(r=n[0].items),t=0;t<a.length;t++)!1!==(e=a[t]).autoBind&&i._bindCategoryAxis(e,r,t)},_bindCategoryAxis:function(t,e,i){var n,s,r,o=(e||[]).length;if(t.field)for(t.categories=[],n=0;n<o;n++)r=e[n],s=v(t.field,r),0===n?(t.categories=[s],t.dataItems=[r]):(t.categories.push(s),t.dataItems.push(r));else this._instance&&this._instance.bindCategoryAxisFromSeries(t,i)},_isBindable:function(t){var e,i,n=c.current.valueFields(t),s=!0;for(i=0;i<n.length;i++)if((e=n[i])===et?e="field":e+="Field",!f(t[e])){s=!1;break}return s},_isRtl:function(){return n.support.isRtl(this.element)&&"rtl"===this.element.css("direction")}}),ht=["getAxis","findAxisByName","plotArea","toggleHighlight","showTooltip","hideTooltip","_resize","_redraw","_noTransitionsRedraw","_legendItemHover","_eventCoordinates"];function lt(t){at.fn[t]=function(){var e=this._instance;if(e)return e[t].apply(e,arguments)}}for(var ct=0;ct<ht.length;ct++)lt(ht[ct]);function ut(t,i){var s,r,o,a=[],h=t.groupNameTemplate,l=i.length;if(0===l)return(o=d({},t)).visibleInLegend=!1,[o];for(f(h)?(n.logToConsole("'groupNameTemplate' is obsolete and will be removed in future versions. Specify the group name template as 'series.name'"),h&&(s=b(h))):s=b(t.name||function(e){var i=e.group;return""+(f(t.name)?i.value+": "+t.name:i.value)}),r=0;r<l;r++)o=d({},t),n.isFunction(o.color)||(o.color=e),o._groupIx=r,o._groupValue=i[r].value,a.push(o),s&&(o.name=s({series:o,group:i[r]}));return a}a.ExportMixin.extend(at.fn),n.PDFMixin&&n.PDFMixin.extend(at.fn),a.ui.plugin(at);var pt=s.extend({init:function(){this.groups={},this.index={},this.options={}},applyByGroup:function(t,e){if(e&&e.action||this.options.persistSeriesVisibility)for(var i=0;i<t.length;i++)!1===this.groups[t[i]._groupValue]&&(t[i].visible=!1);else this.groups={}},applyByIndex:function(t,e){e&&e.action||this.options.persistSeriesVisibility?!1===this.index[t.index]&&(t.visible=!1):this.index={}},save:function(t){t&&(this.options.persistSeriesVisibility?this.options.series[t.index].visible=t.visible:this.saveState(t))},setOptions:function(t){this.options=t,this.groups={},this.index={}},read:function(){var t=this.options;if(t.persistSeriesVisibility)for(var e=t.series,i=0;i<e.length;i++)this.saveState(e[i])},saveState:function(t){f(t._groupValue)?this.groups[t._groupValue]=t.visible:this.index[t.index]=t.visible}}),dt=n.geometry;var ft=rt.extend({init:function(e,i){var s=this;rt.fn.init.call(s),this.setOptions(i),s.chartElement=e,s.template=ft.template,s.template||(s.template=ft.template=function(e){var i=e.autoHide,s=e.rtl,r=e.font,o=e.border,a=e.opacity;return"<div class='k-tooltip "+(i?"k-tooltip-closable":"")+" k-chart-tooltip "+(s?"k-rtl":"")+"' "+n.attr("style-display")+'="none" '+n.attr("style-position")+'="absolute" '+n.attr("style-font")+'="'+r+'" '+n.attr("style-opacity")+'="'+a+'" '+(o?n.attr("style-border")+'="'+o.width+'px solid" ':"")+'><div class="k-tooltip-content"></div>'+(i?"":'<div class="k-tooltip-button">'+n.ui.icon(t('<a href="#" title="Close"></a>'),{icon:"x"})+"</div>")+"</div>"}),s.element=t(s.template(s.options)),n.applyStylesFromKendoAttributes(s.element,["display","position","font","border","opacity"]),s.move=s.move.bind(s),s._mouseleave=s._mouseleave.bind(s);var r=n.format("[{0}='content'],[{0}='scroller']",n.attr("role"));s._mobileScroller=e.closest(r).data("kendoMobileScroller"),s.downEvent=n.applyEventMap("down",n.guid()),s._closeTooltipHandler=s._closeTooltip.bind(s)},destroy:function(){this._clearShowTimeout(),Q.off(this.downEvent,this._closeTooltipHandler),this.element&&(this.element.off(A).remove(),this.element=null)},setOptions:function(t){this.options=d({},this.options,t)},options:{opacity:1,animation:{duration:150},sharedTemplate:function(t){var e=t.colspan,i=t.categoryText,s=t.points,r=t.content;return"<table><th colspan='"+e+"'>"+i+"</th>"+function(t,e,i,s){for(var r="",o=0;o<t.length;o++){var a=t[o];r+="<tr>",e&&(r+="<td><span class='k-chart-shared-tooltip-marker' "+n.attr("style-background-color")+'="'+w(a.series.color)+'"></span></td>'),i&&(r+="<td> "+(a.series.name?a.series.name+":":"&nbsp;")+"</td>"),r+="<td>"+s(a)+"</td>",r+="</tr>"}return r}(s,t.colorMarker,t.nameColumn,r)+"</table>"},categoryFormat:"{0:d}",autoHide:!0},move:function(){var t,e=this,i=e.options,n=e.element;e.anchor&&e.element&&(t=e._offset(),e.visible||n.css({top:t.top,left:t.left}),e.visible=!0,e._ensureElement(document.body),n.stop(!0,!0).show().animate({left:t.left,top:t.top},i.animation.duration))},_clearShowTimeout:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},getAnchor:function(t){var e=this.anchor,i=e.point,n=e.align,s=i.left,r=i.top;return"center"===n.horizontal?s-=t.width/2:"right"===n.horizontal&&(s-=t.width),"center"===n.vertical?r-=t.height/2:"bottom"===n.vertical&&(r-=t.height),{x:s,y:r}},_offset:function(){var e=this,i=e._measure(),s=e.getAnchor(i),a=s.y,h=s.x,l=n.support.zoomLevel(),c=t(window),u=window.pageYOffset||document.documentElement.scrollTop||0,p=window.pageXOffset||document.documentElement.scrollLeft||0,d=(this._mobileScroller||{}).movable;if(d&&1!==d.scale){var f=dt.transform().scale(d.scale,d.scale,[d.x,d.y]),v=new dt.Point(h,a).transform(f);h=v.x,a=v.y}else a+=e._fit(a-u,i.height,o(c)/l),h+=e._fit(h-p,i.width,r(c)/l);return{top:a,left:h}},show:function(s){var r=this,o=t("<div></div>");this.anchor=s.anchor,this.element.css(function(t){for(var i in t)t[i]===e&&(t[i]="");return t}(s.style)),this.element.toggleClass("k-chart-tooltip-inverse",!!s.className),this.element.toggleClass("k-chart-shared-tooltip",!!s.shared);var a=s.shared?this._sharedContent(s):this._pointContent(s.point);o.html(a),n.applyStylesFromKendoAttributes(o,["background-color"]),this.element.find(".k-tooltip-content").empty().append(o),r.options.autoHide||(r.element.off("click"+i).on("click"+i,".k-tooltip-button",r._closeTooltipHandler),Q.off(r.downEvent,r._closeTooltipHandler).on(r.downEvent,r._closeTooltipHandler)),this._clearShowTimeout(),this.showTimeout=setTimeout(this.move,100)},hide:function(t){var e=this;(e.options.autoHide||t)&&(clearTimeout(e.showTimeout),e._hideElement(),e.visible&&(e.point=null,e.visible=!1,e.index=null,Q.off(e.downEvent,e._closeTooltipHandler)))},_closeTooltip:function(e){t(e.target).is(".k-chart-tooltip, .k-tooltip-content")||(e.preventDefault(),this.chartElement.data("kendoChart")._instance.hideElements(),this.hide(!0))},_sharedContent:function(t){var e=t.points,i=a.grep(e,(function(t){return f(t.series.name)})).length,s=t.series.length>1,r=1;return i&&r++,s&&r++,n.template(this.options.sharedTemplate)({points:e,category:t.category,categoryText:t.categoryText,content:this._pointContent.bind(this),colorMarker:s,nameColumn:i,colspan:r})},_measure:function(){return this._ensureElement(),{width:r(this.element),height:o(this.element)}},_ensureElement:function(){this.element&&this.element.appendTo(document.body).on(A,this._mouseleave)},_mouseleave:function(e){var i=e.relatedTarget,n=this.chartElement[0];i&&i!==n&&!t.contains(n,i)&&this.trigger(tt)},_hideElement:function(){var t=this,e=this.element;e&&e.fadeOut({always:function(){t.visible||e.off(A).remove()}})},_pointContent:function(t){var e,i=d({},this.options,t.options.tooltip);return f(t.value)&&(e=t.value.toString()),i.template?e=b(i.template)({value:t.value,category:t.category,series:t.series,dataItem:t.dataItem,percentage:t.percentage,runningTotal:t.runningTotal,total:t.total,low:t.low,high:t.high,xLow:t.xLow,xHigh:t.xHigh,yLow:t.yLow,yHigh:t.yHigh}):i.format&&(e=t.formatValue(i.format)),e},_fit:function(t,e,i){var n=0;return t+e>i&&(n=i-(t+e)),t<0&&(n=-t),n}}),vt=ft.extend({init:function(t,e){ft.fn.init.call(this,t,e),this.element.addClass("k-chart-crosshair-tooltip")},show:function(t){this.element&&(this.anchor=t.anchor,this.element.css(t.style),this.element.html(this.content(t)),this.move())},move:function(){var t=this,e=t.element,i=t._offset();t._ensureElement(),e.css({top:i.top,left:i.left}).show()},content:function(t){var e=t.value,i=t.crosshair.options.tooltip;return i.template&&(e=b(i.template)({value:e})),e},hide:function(){this.element.hide()}}),gt=s.extend({init:function(t,e){this._chart=t,this._pane=e,this.visual=e.visual,this.chartsVisual=e.chartContainer.visual,this.name=e.options.name},series:function(){var t=this._chart,e=t._plotArea.groupSeriesByPane()[this.name||"default"],i=[];if(e)for(var n=0;n<e.length;n++)i.push(new xt(t,e[n]));return i}}),xt=s.extend({init:function(t,e){this._chart=t,this._options=e},points:function(t){var e=this._points;if(!e){var i=this._seriesOptions(),s=this._chart._plotArea;this._points=e=s.pointsBySeriesIndex(i.index)}return n.isFunction(t)&&(e=this._filterPoints(e,t)),e},data:function(t){var e=this._seriesOptions();if(t){var i=this._chart,n=i._plotArea;if(e.data=t,e.categoryField){var s=n.seriesCategoryAxis(e),r=[].concat(i.options.categoryAxis);i._instance.bindCategoryAxisFromSeries(r[s.axisIndex],s.axisIndex)}i._noTransitionsRedraw(),this._clearFields()}return e.data},findPoint:function(t){for(var e=this.points(),i=0;i<e.length;i++)if(t(e[i]))return e[i]},toggleHighlight:function(t,e){e=e?n.isFunction(e)?this.points(e):y(e)?e:[e]:this.points(),this._chart._instance.togglePointsHighlight(t,e)},toggleVisibility:function(t,e){var i=this._chart,s=this._seriesOptions();if(n.isFunction(e))if(x(s.type,[it,nt,st]))for(var r=this._filterData(e),o=0;o<r.length;o++)r[o].visible=t;else s.visible=function(i){return!e(i.dataItem)||t};else s.visible=t,i._seriesVisibility.save(s);i._noTransitionsRedraw(),this._clearFields()},_filterData:function(t){for(var e=this._seriesOptions().data,i=e.length,n=[],s=0;s<i;s++)t(e[s])&&n.push(e[s]);return n},_filterPoints:function(t,e){for(var i=[],n=t.length,s=0;s<n;s++)e(t[s])&&i.push(t[s]);return i},_seriesOptions:function(){var t=this._series;return t||(t=this._series=this._chart._seriesOptions(this._options)),t},_clearFields:function(){delete this._points,delete this._series}});a.Tooltip=ft,a.CrosshairTooltip=vt,a.ChartInstanceObserver=ot,a.ChartPane=gt,a.ChartSeries=xt}(window.kendo.jQuery);return kendo}));
//# sourceMappingURL=kendo.dataviz.chart.min.js.map
;!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("kendo.dataviz.chart.js")):"function"==typeof define&&define.amd?define(["kendo.dataviz.chart.min"],i):((e="undefined"!=typeof globalThis?globalThis:e||self).kendodataviz=e.kendodataviz||{},e.kendodataviz.sparkline=e.kendodataviz.sparkline||{},e.kendodataviz.sparkline.js=i())}(this,(function(){!function(){window.kendo.dataviz=window.kendo.dataviz||{};var e=kendo.dataviz,i=e.constants,t=e.Chart,n=e.elementSize,a=e.deepExtend,r=e.SharedTooltip.extend({_slotAnchor:function(i,t){var n=this.plotArea.categoryAxis.options.vertical,a=n?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:n?new e.Point(this.plotArea.box.x2,t.center().y):new e.Point(t.center().x,-2),align:a}},_defaultAnchor:function(e,i){return this._slotAnchor({},i)}}),s=[i.BAR,i.BULLET];function o(e){for(var i=[],t=0;t<e.length;t++){var n=e[t];i[t]=n.style.display,n.style.display="none"}return i}function l(e,i){for(var t=0;t<e.length;t++)e[t].style.display=i[t]}function d(i){return e.isNumber(i)?[i]:i}var h=t.extend({_setElementClass:function(i){e.addClass(i,"k-sparkline")},_initElement:function(e){t.fn._initElement.call(this,e),this._initialWidth=Math.floor(n(e).width)},_resize:function(){var e=this.element,i=o(e.childNodes);this._initialWidth=Math.floor(n(e).width),l(e.childNodes,i),t.fn._resize.call(this)},_modelOptions:function(){var e=this.options,i=this._surfaceWrap(),t=o(i.childNodes),r=document.createElement("span");r.innerHTML="&nbsp;",i.appendChild(r);var s=a({width:this._autoWidth,height:n(i).height,transitions:e.transitions},e.chartArea,{inline:!0,align:!1});return n(i,{width:s.width,height:s.height}),i.removeChild(r),l(i.childNodes,t),this.surface&&this.surface.resize(),s},_surfaceWrap:function(){if(!this.stage){var e=this.stage=document.createElement("span");this.element.appendChild(e)}return this.stage},_createPlotArea:function(e){var i=t.fn._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(i),i},_calculateWidth:function(t){for(var a=this.options,r=e.getSpacing(a.chartArea.margin),s=t.charts,o=this._surfaceWrap(),l=0,d=0;d<s.length;d++){var h=s[d],c=(h.options.series||[])[0];if(c){if(c.type===i.BAR)return 150;if(c.type===i.BULLET)return 150;if(c.type===i.PIE)return n(o).height;var p=h.categoryAxis;if(p){var u=p.categoriesCount()*(!h.options.isStacked&&e.inArray(c.type,[i.COLUMN,i.VERTICAL_BULLET])?h.seriesOptions.length:1);l=Math.max(l,u)}}}var f=l*a.pointWidth;return f>0&&(f+=r.left+r.right),f},_createSharedTooltip:function(e){return new r(this._plotArea,e)}});h.normalizeOptions=function(i){var t=d(i);return(t=e.isArray(t)?{seriesDefaults:{data:t}}:a({},t)).series||(t.series=[{data:d(t.data)}]),a(t,{seriesDefaults:{type:t.type}}),(e.inArray(t.series[0].type,s)||e.inArray(t.seriesDefaults.type,s))&&(t=a({},{categoryAxis:{crosshair:{visible:!1}}},t)),t},e.setDefaultOptions(h,{chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]}),kendo.deepExtend(kendo.dataviz,{Sparkline:h})}(),function(e){var i=kendo.dataviz,t=i.ui.Chart,n=i.Sparkline,a=i.ChartInstanceObserver,r=e.extend,s=t.extend({init:function(e,i){var a=i;a instanceof kendo.data.ObservableArray&&(a={seriesDefaults:{data:a}}),t.fn.init.call(this,e,n.normalizeOptions(a))},_createChart:function(e,i){this._instance=new n(this.element[0],e,i,{observer:new a(this),sender:this,rtl:this._isRtl()})},_createTooltip:function(){return new o(this.element,r({},this.options.tooltip,{rtl:this._isRtl()}))},options:{name:"Sparkline",chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]}});i.ui.plugin(s);var o=i.Tooltip.extend({options:{animation:{duration:0}},_hideElement:function(){this.element&&this.element.hide().remove()}});i.SparklineTooltip=o}(window.kendo.jQuery);return kendo}));
//# sourceMappingURL=kendo.dataviz.sparkline.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.list.js"),require("kendo.mobile.scroller.js"),require("kendo.virtuallist.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min","kendo.html.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendocombobox=e.kendocombobox||{},e.kendocombobox.js=t())}(this,(function(){return function(e,t){var i=window.kendo,n=i.htmlEncode,o=i.ui,s=i.html,l=o.List,a=o.Select,r=i.caret,u=i.support,c=u.placeholder,d=i._activeElement,p=i.keys,_=".kendoComboBox",f=_+"FocusEvent",h="click"+_,g="mousedown"+_,v="disabled",m="readonly",x="change",b="k-focus",y="k-disabled",I="aria-disabled",w="aria-readonly",V="filter",T="accept",C="rebind",k="mouseenter"+_+" mouseleave"+_,F=/(\r\n|\n|\r)/gm,B=[16,17,18,19,20,33,34,37,39,45,91,92,144,145],S=a.extend({init:function(t,n){var o,s=this;s.ns=_,n=Array.isArray(n)?{dataSource:n}:n,a.fn.init.call(s,t,n),n=s.options,t=s.element.on("focus"+_,s._focusHandler.bind(s)),n.placeholder=n.placeholder||t.attr("placeholder"),s._reset(),s._wrapper(),s._input(),s._clearButton(),s._tabindex(s.input),s._popup(),s._dataSource(),s._ignoreCase(),s._enable(),s._attachFocusEvents(),s._oldIndex=s.selectedIndex=-1,s._initialIndex=n.index,s.requireValueMapper(s.options),s._initList(),s._cascade(),n.autoBind?s._filterSource():(!(o=n.text)&&s._isSelect&&(o=t.children(":selected").text()),o&&s._setText(o)),o||s._placeholder(),e(s.element).parents("fieldset").is(":disabled")&&s.enable(!1),i.notify(s),s._toggleCloseVisibility(),s._applyCssClasses(),n.label&&s._label(),s._aria()},options:{name:"ComboBox",enabled:!0,index:-1,text:null,value:null,autoBind:!0,delay:200,dataTextField:"",dataValueField:"",minLength:1,enforceMinLength:!1,height:200,highlightFirst:!0,filter:"none",placeholder:"",suggest:!1,cascadeFrom:"",cascadeFromField:"",cascadeFromParentField:"",cascadeOnCustomValue:!1,ignoreCase:!0,animation:{},virtual:!1,template:null,groupTemplate:function(e){return n(e)},fixedGroupTemplate:function(e){return n(e)},clearButton:!0,syncValueAndText:!0,autoWidth:!1,popup:null,size:"medium",fillMode:"solid",rounded:"medium",label:null,clearOnEscape:!0},events:["open","close",x,"select","filtering","dataBinding","dataBound","cascade","set"],setOptions:function(e){var t=this._listOptions(e);a.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._clearButton()},destroy:function(){var e=this;e.input.off(_),e.input.off(f),e.element.off(_),e.wrapper.off(_),clearTimeout(e._pasteTimeout),e.filterInput&&e.filterInput.off(_),e._arrow.off(h+" "+g),e._clear.off(h+" "+g),a.fn.destroy.call(e)},_onActionSheetCreate:function(){var e=this;e.filterInput&&(e.filterInput.on("keydown"+_,e._keydown.bind(e)).on("input"+_,e._search.bind(e)).on("paste"+_,e._inputPaste.bind(e)).attr({role:"combobox","aria-expanded":!1}),e.popup.bind("activate",(function(){e.filterInput.val(e.input.val()),e.filterInput.trigger("focus")})),e.popup.bind("deactivate",(function(){e.input.trigger("focus")})))},_onCloseButtonPressed:function(){var e=this,t=e.options.dataTextField||"text";if(!e.listView.focus()){if((e._syncValueAndText()||e._isSelect)&&(!e.dataItem()||e.dataItem()[t]!==e.input.val())){var i=e.filterInput&&d()===e.filterInput[0]?e.filterInput:e.input;e._accessor(i.val())}e.options.highlightFirst?(e.listView.value(e.input.val()),e._blur()):e._oldText=e.text()}},_isValueChanged:function(e){return e!==l.unifyType(this._old,typeof e)&&e!==l.unifyType(this._oldText,typeof e)},_change:function(){var e=this,t=e.text(),i=t&&t!==e._oldText&&t!==e.options.placeholder,n=e.selectedIndex,o=-1===n;if(e.filterInput&&d()===e.filterInput[0]&&o&&i&&e.input.val(e.filterInput.val()),!e.options.syncValueAndText&&!e.value()&&o&&i)return e._old="",e._oldIndex=n,e._oldText=t,e._typing||e.element.trigger(x),e.trigger(x),void(e._typing=!1);a.fn._change.call(e),e._oldText=e.text&&e.text(),e._toggleCloseVisibility()},_attachFocusEvents:function(){var e=this;e.input.on("focus"+f,e._inputFocus.bind(e)).on("focusout"+f,e._inputFocusout.bind(e))},_focusHandler:function(e){e.target===this.element[0]&&this.input.trigger("focus")},_arrowClick:function(){this._toggle()},_inputFocus:function(){this.wrapper.addClass(b),this._placeholder(!1)},_inputFocusout:function(t){var i=this,n=i.value(),o=!e(t.relatedTarget).closest(".k-clear-value").length;if(!i.filterInput||t.relatedTarget!==i.filterInput[0]){i._userTriggered=!0,i.wrapper.removeClass(b),clearTimeout(i._typingTimeout),i._typingTimeout=null,o&&i.text(i.text());var s=i._focus(),l=this.listView.dataItemByIndex(this.listView.getElementIndex(s));n!==i.value()&&i.trigger("select",{dataItem:l,item:s})?i.value(n):(i._placeholder(),i._valueBeforeCascade=i._old,o&&(i._blur(),i.element.trigger("blur")))}},_inputPaste:function(){var e=this;clearTimeout(e._pasteTimeout),e._pasteTimeout=null,e._pasteTimeout=setTimeout((function(){e.search()}))},_editable:function(e){var t=this,i=e.disable,n=e.readonly,o=t.wrapper.off(_),s=t.element.add(t.input.off(_)),l=t._arrow.off(h+" "+g),a=t._clear;n||i?(o.addClass(i?y:"").removeClass(i?"":y),s.attr(v,i).attr(m,n).attr(I,i).attr(w,n)):(o.removeClass(y).on(k,t._toggleHover),s.prop(v,!1).prop(m,!1).attr(I,!1).attr(w,!1),l.on(h,t._arrowClick.bind(t)).on(g,(function(e){e.preventDefault()})),a.on(h+" touchend"+_,t._clearValue.bind(t)),t.input.on("keydown"+_,t._keydown.bind(t)).on("input"+_,t._search.bind(t)).on("paste"+_,t._inputPaste.bind(t)),t.wrapper.on(h+_,t._focusHandler.bind(t))),t._toggleCloseVisibility()},open:function(){var e=this,t=e._state,i=!!e.dataSource.filter()&&e.dataSource.filter().filters.length>0,n=!e.ul.find(e.listView.focus()).length;e.popup.visible()||(!e.listView.bound()&&t!==V||t===T?(e._open=!0,e._state=C,1!==e.options.minLength&&!i||i&&e.value()&&-1===e.selectedIndex?(e.refresh(),e._openPopup(),this.options.virtual||e.listView.bound(!1)):e._filterSource()):e._allowOpening()&&(e.popup._hovered=!0,e._openPopup(),e.options.virtual?e._focusItem():n&&e.options.highlightFirst&&e.listView.focus(0)))},_scrollToFocusedItem:function(){var e=this.listView;e.scrollToIndex(e.getElementIndex(e.focus()))},_openPopup:function(){this.popup.one("activate",this._scrollToFocusedItem.bind(this)),this.popup.open()},_updateSelectionState:function(){var e=this,i=e.options.text,n=e.options.value;e.listView.isFiltered()||(-1===e.selectedIndex?(i!==t&&null!==i||(i=n),e._accessor(n),e.input.val(i||e.input.val()),e._placeholder()):-1===e._oldIndex&&(e._oldIndex=e.selectedIndex))},_buildOptions:function(e){var i=this;if(i._isSelect){var n=i._customOption;i._state===C&&(i._state=""),i._customOption=t,i._options(e,"",i.value()),n&&n[0].selected&&!i.listView._emptySearch&&i._custom(n.val())}},_updateSelection:function(){var t=this,i=t.listView,n=t._initialIndex,o=null!==n&&n>-1;if(t._state===V)e(i.focus()).removeClass("k-selected");else if(!t._fetch){i.value().length||(o?t.select(n):t._accessor()&&i.value(t._accessor())),t._initialIndex=null;var s=i.selectedDataItems()[0];s&&(t._value(s)!==t.value()?t._custom(t._value(s)):t._value(s)!==t.element[0].value&&t._accessor(t._value(s)),t.text()&&t.text()!==t._text(s)&&t._selectValue(s))}},_updateItemFocus:function(){var e=this.listView;this.options.highlightFirst?e.focus()||e.focusIndex()||e.focus(0):e.focus(-1)},_listBound:function(){var e=this,i=e.input[0]===d()||e.filterInput&&e.filterInput[0]===d(),n=e.dataSource.flatView(),o=e.listView.skip(),s=n.length,l=e.dataSource._group?e.dataSource._group.length:0,a=o===t||0===o;e._presetValue=!1,e._renderFooter(),e._renderNoData(),e._toggleNoData(!s),e._toggleHeader(!!l&&!!s),e._resizePopup(),e.popup.position(),e._buildOptions(n),e._updateSelection(),n.length&&a&&(e._updateItemFocus(),e.options.suggest&&i&&e.input.val()&&e.suggest(n[0])),e._open&&(e._open=!1,e._typingTimeout&&!i?e.popup.close():e.toggle(e._allowOpening()),e._typingTimeout=null),e._hideBusy(),e.trigger("dataBound")},_listChange:function(){this._selectValue(this.listView.selectedDataItems()[0]),this._presetValue&&(this._oldIndex=this.selectedIndex)},_get:function(e){var t,i,n;if("function"==typeof e){for(t=this.dataSource.flatView(),n=0;n<t.length;n++)if(e(t[n])){e=n,i=!0;break}i||(e=-1)}return this.dataSource.total()||e||(e=-1),e},_select:function(e,t){var i=this;return-1===(e=i._get(e))&&(i.input[0].value="",i._accessor("")),i.listView.select(e).done((function(){t||i._state!==V||(i._state=T),i._toggleCloseVisibility()}))},_selectValue:function(e){var i=this.listView.select(),n="",o="";(i=i[i.length-1])===t&&(i=-1),this.selectedIndex=i,this.listView.isFiltered()&&-1!==i&&(this._valueBeforeCascade=this._old),-1!==i||e?((e||0===e)&&(n=this._dataValue(e),o=this._text(e)),null===n&&(n="")):(this.options.syncValueAndText?n=o=this.options.dataTextField===this.options.dataValueField?this._accessor():this.input[0].value:o=this.text(),this.listView.focus(-1)),this._setDomInputValue(o),this._accessor(n!==t?n:o,i),this._placeholder(),this._triggerCascade()},_setDomInputValue:function(e){var t,i=this,n=r(this.input);if(n&&n.length&&(t=n[0]),this._prev=this.input[0].value=e,t&&-1===this.selectedIndex){var o=u.mobileOS;o.wp||o.android?setTimeout((function(){i.input[0].setSelectionRange(t,t)}),0):this.input[0].setSelectionRange(t,t)}},refresh:function(){this.listView.refresh()},_toggleCloseVisibility:function(){var e=this.element.is(":disabled")||this.element.is("[readonly]");this.text()&&!e?this._showClear():this._hideClear()},suggest:function(e){var i,n=this,o=n.input[0],s=n.text(),a=r(o)[0],u=n._last,c=n.dataSource.options.accentFoldingFiltering;u!=p.BACKSPACE&&u!=p.DELETE?("string"!=typeof(e=e||"")&&(e[0]&&(e=n.dataSource.view()[l.inArray(e[0],n.ul[0])]),e=e?n._text(e):""),a<=0&&(a=(c?s.toLocaleLowerCase(c):s.toLowerCase()).indexOf(c?e.toLocaleLowerCase(c):e.toLowerCase())+1),e?(e=e.toString(),(i=(c?e.toLocaleLowerCase(c):e.toLowerCase()).indexOf(c?s.toLocaleLowerCase(c):s.toLowerCase()))>-1&&(s+=e.substring(i+s.length))):s=s.substring(0,a),s.length===a&&e||(o.value=s,o===d()&&r(o,a,s.length))):n._last=t},text:function(e){e=null===e?"":e;var i,n,o=this,s=o.filterInput&&o.filterInput[0]===d()?o.filterInput[0]:o.input[0],a=o.options.ignoreCase,r=e;if(e===t)return s.value;!1!==o.options.autoBind||o.listView.bound()?(i=o.dataItem())&&o._text(i).replace&&o._text(i).replace(F,"")===e&&(n=o._value(i))===l.unifyType(o._old,typeof n)?o._triggerCascade():(a&&(r=r.toLowerCase()),o.dataItem()&&o._text(o.dataItem())===e||(o._select((function(e){return e=o._text(e),a&&(e=(e+"").toLowerCase()),e===r})).done((function(){o.selectedIndex<0&&(s.value=e,o.options.syncValueAndText&&o._accessor(e),o._cascadeTriggered=!0,o._triggerCascade(),o._refreshFloatingLabel()),o._prev=s.value})),o._toggleCloseVisibility())):o._setText(e)},toggle:function(e){this._toggle(e,!0)},value:function(e){var i=this,n=i.options,o=i.listView;if(e===t)return(e=i._accessor()||i.listView.value()[0])===t||null===e?"":e;i.requireValueMapper(i.options,e),i.trigger("set",{value:e}),(e!==n.value||i.input.val()!==n.text||i.options.cascadeFrom)&&(i._accessor(e),i._isFilterEnabled()&&o.bound()&&o.isFiltered()?i._clearFilter():i._fetchData(),o.value(e).done((function(){-1!==i.selectedIndex||o._selectedDataItems&&o._selectedDataItems.length||(i._accessor(e),i.input.val(e),i._placeholder(!0)),i._userTriggered?i._old=i._accessor():i._old=i._valueBeforeCascade=i._accessor(),i._oldIndex=i.selectedIndex,i._prev=i._oldText=i.input.val(),i._state===V&&(i._state=T),i._toggleCloseVisibility(),i._refreshFloatingLabel()})))},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._arrowIcon.removeClass("k-i-loading k-input-loading-icon"),e._focused.attr("aria-busy",!1),e._busy=null,e._toggleCloseVisibility()},_click:function(e){var t=this,i=e.item,n=t.listView.dataItemByIndex(t.listView.getElementIndex(i)),o=!0;e.preventDefault(),n&&((o=t._value(n)!==l.unifyType(t.value(),typeof t._value(n)))||t.input.val(t._text(n))),o&&t.trigger("select",{dataItem:n,item:i})?t.close():(t._userTriggered=!0,t._select(i).done((function(){t._blur()})))},_syncValueAndText:function(){return this.options.syncValueAndText},_inputValue:function(){return this.text()},_searchByWord:function(e){var i=this,n=i.options,o=i.dataSource,s=n.ignoreCase;if(s&&(e=e.toLowerCase()),i.ul[0].firstChild){this.listView.focus(this._get((function(n){var o=i._text(n);if(o!==t)return(""==(o+="")||""!==e)&&(s&&(o=o.toLowerCase()),0===o.indexOf(e))})));var l=this.listView.focus();l&&(n.suggest&&i.suggest(l),this.open()),this.options.highlightFirst&&!e&&this.listView.focusFirst()}else o.one(x,(function(){o.view()[0]&&i.search(e)})).fetch()},_input:function(){var e,t,i,n=this,o=n.element.removeClass("k-input-inner")[0],l=o.accessKey,a=n.wrapper,r="input.k-input-inner",u=o.name||"",d=n.options;u&&(u='name="'+u+'_input" '),(e=a.find(r))[0]||(i=s.renderButton('<button type="button" class="k-input-button" aria-label="expand combobox"></button>',{icon:"caret-alt-down",size:d.size,fillMode:d.fillMode,shape:"none",rounded:"none"}),a.append("<input "+u+'class="k-input-inner" type="text" autocomplete="off"/>').append(i).append(n.element),e=a.find(r)),e[0].style.cssText=o.style.cssText,e[0].title=o.title,(t=parseInt(this.element.prop("maxlength")||this.element.attr("maxlength"),10))>-1&&(e[0].maxLength=t),e.addClass(o.className).css({width:"",height:o.style.height,position:""}).attr({role:"combobox","aria-expanded":!1}).show(),c&&e.attr("placeholder",n.options.placeholder),l&&(o.accessKey="",e[0].accessKey=l),n._focused=n.input=e,n._arrow=a.find(".k-input-button").attr({role:"button",tabIndex:-1}),n._arrowIcon=n._arrow.find(".k-icon, .k-svg-icon")},_clearButton:function(){l.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this.input),this.wrapper.addClass("k-combobox-clearable"))},_keydown:function(e){var t=this,i=e.keyCode,n=t.options.dataTextField||"text",o=i>=112&&i<=135,s=B.indexOf(i)>-1;if(t._last=i,clearTimeout(t._typingTimeout),t._typingTimeout=null,i===p.HOME)t._firstItem();else if(i===p.END)t._lastItem();else if(i===p.ENTER||i===p.TAB&&t.popup.visible()){var a=t.listView.focus(),r=t.dataItem(),u=!0;if(t.popup.visible()||r&&t.text()===t._text(r)||(a=null),a){if(t.popup.visible()&&e.preventDefault(),(r=t.listView.dataItemByIndex(t.listView.getElementIndex(a)))&&(u=t._value(r)!==l.unifyType(t.value(),typeof t._value(r))),u&&t.trigger("select",{dataItem:r,item:a}))return;t._userTriggered=!0,t._select(a).done((function(){t._blur(),t._valueBeforeCascade=t._old=t.value()}))}else{if((t._syncValueAndText()||t._isSelect)&&(!t.dataItem()||t.dataItem()[n]!==t.input.val())){var c=t.filterInput&&d()===t.filterInput[0]?t.filterInput:t.input;t._accessor(c.val())}t.options.highlightFirst?(t.listView.value(t.input.val()),t._blur()):t._oldText=t.text()}}else i==p.TAB||t._move(e)||s||o||e.ctrlKey?t.options.clearOnEscape&&i===p.ESC&&!t.popup.visible()&&t.text()&&t._clearValue():t._search()},_placeholder:function(e){if(!c){var i,n=this,o=n.input,s=n.options.placeholder;if(s){if(i=n.value(),e===t&&(e=!i),o.toggleClass("k-readonly",e),!e){if(i)return;s=""}o.val(s),s||o[0]!==d()||r(o[0],0,0)}}},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout((function(){var i=e.text();""!==i&&e._prev!==i?(e._prev=i,"none"===e.options.filter&&e.options.virtual&&e.listView.select(-1),e.search(i),e._toggleCloseVisibility()):""===i&&""!==e._prev&&e._prev!==t&&(e._clearValue(),e._open=!0,e._state=C),e._typingTimeout=null}),e.options.delay)},_setText:function(e){this.input.val(e),this._prev=e},_wrapper:function(){var e=this.element,t=e.parent();t.is("span.k-input")||((t=e.hide().wrap("<span />").parent())[0].style.cssText=e[0].style.cssText),this.wrapper=t.addClass("k-input k-combobox").addClass(e[0].className).removeClass("input-validation-error").css("display","")},_clearSelection:function(e,t){var i=e.value(),n=i&&-1===e.selectedIndex;-1==this.selectedIndex&&this.value()||(t||!i||n)&&(this.options.value="",this.value(""))},_preselect:function(e,t){this.input.val(t),this._accessor(e),this._old=this._accessor(),this._oldIndex=this.selectedIndex,this.listView.setValue(e),this._placeholder(),this._initialIndex=null,this._presetValue=!0,this._toggleCloseVisibility()},_clearText:function(){this._old=this.value(),this.text("")},_clearValue:function(){var e=this,t=e.filterInput&&e.filterInput[0]===d()?e.filterInput:e.input;a.fn._clearValue.call(this),t.trigger("focus")}});o.plugin(S),i.cssProperties.registerPrefix("ComboBox","k-input-"),i.cssProperties.registerValues("ComboBox",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.combobox.min.js.map
;!function(o,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.combobox.js")):"function"==typeof define&&define.amd?define(["kendo.combobox.min"],t):((o="undefined"!=typeof globalThis?globalThis:o||self).kendomulticolumncombobox=o.kendomulticolumncombobox||{},o.kendomulticolumncombobox.js=t())}(this,(function(){return function(o,t){var i=window.kendo,n=i.ui,e=n.ComboBox,s=/^\d+(\.\d+)?%$/i,l=e.extend({init:function(o,t){e.fn.init.call(this,o,t),this.list.parent().addClass("k-dropdowngrid-popup"),this._allColumnsWidthsAreSet(this.options)?this.list.parent().width(this._calculateDropDownWidth(this.options)):this.options.dropDownWidth&&this.list.parent().width(this.options.dropDownWidth)},options:{name:"MultiColumnComboBox",ns:".kendoMultiColumnComboBox",columns:[],dropDownWidth:null,filterFields:[]},setOptions:function(o){e.fn.setOptions.call(this,o),this._allColumnsWidthsAreSet(o)?this.list.parent().width(this._calculateDropDownWidth(o)):this.options.dropDownWidth&&this.list.parent().width(this.options.dropDownWidth)},_allColumnsWidthsAreSet:function(o){var t=o.columns;if(!t||!t.length)return!1;for(var i=0;i<t.length;i++){var n=t[i].width;if(!n||isNaN(parseInt(n,10))||s.test(n))return!1}return!0},_calculateDropDownWidth:function(o){for(var t=o.columns,n=i.support.scrollbar(),e=0;e<t.length;e++){var s=t[e].width;n+=parseInt(s,10)}return n},_wrapper:function(){e.fn._wrapper.call(this),this.wrapper.addClass("k-dropdowngrid")}});n.plugin(l),i.cssProperties.registerPrefix("MultiColumnComboBox","k-input-"),i.cssProperties.registerValues("MultiColumnComboBox",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.multicolumncombobox.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.list.js"),require("kendo.mobile.scroller.js"),require("kendo.virtuallist.js"),require("kendo.html.chip.js"),require("kendo.html.chiplist.js"),require("kendo.html.button.js")):"function"==typeof define&&define.amd?define(["kendo.list.min","kendo.mobile.scroller.min","kendo.virtuallist.min","kendo.html.chip.min","kendo.html.chiplist.min","kendo.html.button.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendomultiselect=e.kendomultiselect||{},e.kendomultiselect.js=t())}(this,(function(){return function(e,t){var i=window.kendo,a=i.ui,s=a.List,n=i.htmlEncode,l=i.html,o=e.extend({A:65},i.keys),r=i._activeElement,u=i.data.ObservableArray,c="id",d=".k-chip",p="accept",h="filter",_="rebind",f="open",g="close",m="change",v="select",b="deselect",T="aria-disabled",w="aria-readonly",I="aria-expanded",y="aria-hidden",V="aria-activedescendant",k="aria-busy",L="k-focus",C="k-selected",x="k-hidden",S="k-hover",A="k-disabled",D="k-no-click",O="disabled",F="readonly",E=".kendoMultiSelect",B="click"+E,M="keydown"+E,P="mouseenter"+E,H="mouseleave"+E,K=P+" "+H,j=/"/g,q=Array.isArray,R=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","text-transform","line-height"],N=s.extend({init:function(t,a){var n,l=this;l.ns=E,s.fn.init.call(l,t,a),l._optionsMap={},l._customOptions={},l._wrapper(),l._inputValuesContainer(),l._tagList(),l._input(),l._textContainer(),l._loader(),l._clearButton(),l._arrowButton(),l._tabindex(l.input),t=l.element.attr("multiple","multiple").hide(),(a=l.options).placeholder||(a.placeholder=t.data("placeholder")),(n=t.attr(c))||(n=i.guid()),n&&(l._tagID=n+"_tag_active",n+="_taglist",l.tagList.attr(c,n)),l._initialOpen=!0,a.label&&this._label(),l._aria(),l._dataSource(),l._ignoreCase(),l._popup(),l._tagTemplate(),l.requireValueMapper(l.options),l._initList(),l._reset(),l._enable(),l._placeholder(),a.autoBind?l.dataSource.fetch():a.value&&l._preselect(a.value),e(l.element).parents("fieldset").is(":disabled")&&l.enable(!1),l._toggleCloseVisibility(),l._applyCssClasses(),i.notify(l)},options:{name:"MultiSelect",tagMode:"multiple",enabled:!0,autoBind:!0,autoClose:!0,highlightFirst:!0,dataTextField:"",dataValueField:"",filter:"startswith",ignoreCase:!0,minLength:1,messages:{singleTag:"item(s) selected",clear:"clear",deleteTag:"delete",noData:"No data found.",downArrow:"select"},enforceMinLength:!1,delay:100,value:null,maxSelectedItems:null,placeholder:"",height:200,animation:{},virtual:!1,itemTemplate:"",tagTemplate:"",groupTemplate:function(e){return n(e)},fixedGroupTemplate:function(e){return n(e)},clearButton:!0,autoWidth:!1,popup:null,size:"medium",fillMode:"solid",rounded:"medium",label:null},events:[f,g,m,v,b,"filtering","dataBinding","dataBound"],setDataSource:function(e){this.options.dataSource=e,this._state="",this._dataSource(),this.persistTagList=!1,this.listView.setDataSource(this.dataSource),this.options.autoBind&&this.dataSource.fetch()},setOptions:function(e){var t=this._listOptions(e);s.fn.setOptions.call(this,e),this.listView.setOptions(t),this._accessors(),this._aria(),this._tagTemplate(),this._placeholder(),this._clearButton(),this._arrowButton()},currentTag:function(e){var i=this;if(e===t)return i._currentTag;i._currentTag&&(i._currentTag.removeClass(L).removeAttr(c),i._currentTag.find(".k-chip-action").attr(y,!0),i.input.removeAttr(V)),e&&(e.addClass(L).attr(c,i._tagID),e.find(".k-chip-action").removeAttr(y),i.input.attr(V,i._tagID)),i._currentTag=e},dataItems:function(){return this.listView.selectedDataItems()},destroy:function(){var e=this,t=e.ns;clearTimeout(e._busy),clearTimeout(e._typingTimeout),e.filterInput&&e.filterInput.off(t),e.wrapper.off(t),e.tagList.off(t),e.input.off(t),e._clear.off(t),s.fn.destroy.call(e)},_onActionSheetCreate:function(){var e=this;e.filterInput.on("keydown"+E,e._keydown.bind(e)).on("input"+E,e._search.bind(e)).on("paste"+E,e._search.bind(e)).attr({role:"combobox","aria-expanded":!1,"aria-controls":e.input.attr("aria-controls"),"aria-autocomplete":e.input.attr("aria-autocomplete"),"aria-describedby":e.input.attr("aria-describedby")}),e.popup.bind("activate",(function(){e.filterInput.val(e.input.val()),e.filterInput.trigger("focus")})),e.popup.bind("close",(function(){e.input.trigger("focus")}))},_aria:function(){var e=this,t=e.ul[0].id,i="none"===this.options.filter?"none":"list",a=e.tagList.attr(c);e.input.attr({role:"combobox","aria-expanded":!1,"aria-controls":t,"aria-autocomplete":i,"aria-describedby":a}),e._ariaLabel(e._focused)},_activateItem:function(){this.popup.visible()&&s.fn._activateItem.call(this),this.currentTag(null)},_listOptions:function(t){var a=this,l=s.fn._listOptions.call(a,e.extend(t,{selectedItemChange:a._selectedItemChange.bind(a),selectable:"multiple"})),o=this.options.itemTemplate||this.options.template,r=l.itemTemplate||o||l.template;return r||(r=function(e){return n(i.getter(l.dataTextField)(e))}),l.template=r,l},_setListValue:function(){s.fn._setListValue.call(this,this._initialValues.slice(0))},_listChange:function(e){var i=this.dataSource.flatView(),a=this._optionsMap,s=this._value;this._state===_&&(this._state="");for(var n=0;n<e.added.length;n++)if(a[s(e.added[n].dataItem)]===t){this._render(i);break}this._selectValue(e.added,e.removed)},_selectedItemChange:function(e){var t,i,a=e.items;for(i=0;i<a.length;i++)t=a[i],this.tagList.children(d).eq(t.index).children("span").first().html(this.tagTextTemplate(t.item))},_wrapperMousedown:function(t){var a=this,s="input"!==t.target.nodeName.toLowerCase(),n=e(t.target),l=n.closest(".k-multiselect-toggle-button, .k-chip").children("[class*='-i-caret-alt-down']")[0],o=n.closest("[class*='-i-x']")[0];!s||o&&i.support.mobileOS||!t.cancelable||t.preventDefault(),o||(l&&a.popup.visible()?a.toggle(!1):(a.input[0]!==r()&&s&&a.input.trigger("focus"),1!==a.options.minLength||a.popup.visible()||a.open()))},_inputFocus:function(){this._placeholder(!1,!0),this.wrapper.addClass(L)},_inputFocusout:function(e){var t=this;t.filterInput&&e.relatedTarget===t.filterInput[0]||(clearTimeout(t._typingTimeout),t.wrapper.removeClass(L),t._placeholder(!t.listView.selectedDataItems()[0],!0),t.close(),t._state===h&&(t._state=p,t.listView.skipUpdate(!0)),t.listView.bound()&&t.listView.isFiltered()&&(t.persistTagList=!0,t._clearFilter()),t.element.trigger("blur"))},_removeTag:function(e,i){var a,s=this,n=s._state,l=e.index(),o=s.listView,r=o.value()[l],u=s.listView.selectedDataItems()[l],c=s._customOptions[r],d=o.element[0].children;if(s.trigger(b,{dataItem:u,item:e}))s._close();else{c!==t||n!==p&&n!==h||(c=s._optionsMap[r]);var _=function(){s.currentTag(null),i&&s._change(),s._refreshTagListAria(),s._close()};c===t&&o.select().length?(s.persistTagList=!1,o.select(o.select()[l]).done(_)):((a=s.element[0].children[c])&&(a.selected=!1),o.removeAt(l),o._removedAddedIndexes&&o._removedAddedIndexes.splice(l,1),d[c]&&d[c].classList.remove("k-selected"),"single"!==s.options.tagMode?e.remove():s._updateTagListHTML(),_())}},_tagListClick:function(t){t.preventDefault(),t.stopPropagation();var i=e(t.currentTarget);i.is("[class*='-i-x-circle']")&&this._removeTag(i.closest(d),!0)},_clearValue:function(){var t=this;"single"===t.options.tagMode?t._clearSingleTagValue():t.tagList.children(d).each((function(i,a){t._removeTag(e(a),!1)})),t.input.val(""),t._search(),t._change(),t.focus(),t._hideClear(),t._state===h&&(t._state=p)},_clearSingleTagValue:function(){for(var e=this,t=e.dataItems(),i=e.tagList.children(d),a=e.persistTagList,s=0;s<t.length;s+=1)if(e.trigger(b,{dataItem:t[s],item:i.first()}))return void e._close();a&&(e.persistTagList=!1),e.listView.value([]),e.persistTagList=a},_focusHandler:function(){var e=this.input,t=r();e[0]===t||this.input.trigger("focus")},_editable:function(t){var i=this,a=t.disable,s=t.readonly,n=i.wrapper.off(E),l=i.tagList.off(E),o=i.input.off(E);s||a?(n.toggleClass(A,a).toggleClass(D,s),o.attr(O,a).attr(F,s).attr(T,a).attr(w,s),i.element.prop(O,a)):(n.removeClass(A).removeClass(D).on(K,i._toggleHover).on("mousedown"+E+" touchend"+E,i._wrapperMousedown.bind(i)).on(B,i._focusHandler.bind(i)),i.input.on(M,i._keydown.bind(i)).on("paste"+E,i._search.bind(i)).on("input"+E,i._search.bind(i)).on("focus"+E,i._inputFocus.bind(i)).on("focusout"+E,i._inputFocusout.bind(i)),i._clear.on(B+" touchend"+E,i._clearValue.bind(i)),o.prop(O,!1).prop(F,!1).attr(T,!1).attr(w,!1),i.element.prop(O,!1),l.on(P,d,(function(){e(this).addClass(S)})).on(H,d,(function(){e(this).removeClass(S)})).on(B+" touchend"+E,".k-chip .k-icon,.k-chip .k-svg-icon",i._tagListClick.bind(i)))},_close:function(){var e=this;e.options.autoClose?e.close():e.popup.position()},_filterSource:function(e,t){t||(t=this._retrieveData),this._retrieveData=!1,s.fn._filterSource.call(this,e,t)},close:function(){this._activeItem=null,this.input.removeAttr(V),this.popup.close()},open:function(){var t,i=this,a=i.input.val().toLowerCase(),s=i.listView.dataSource.filter();s&&s.filters.length>0&&(t=(s.filters[0].value||"").toString().toLowerCase()),i._request&&(i._retrieveData=!1),i._retrieveData||!i.listView.bound()||i._state===p&&a!==t?(i._open=!0,i._state=_,i.listView.skipUpdate(!0),i.persistTagList=!(i._initialOpen&&!i.listView.bound()),i._filterSource(),i._focusItem()):i._allowOpening()&&(!i._initialOpen||i.options.autoBind||i.options.virtual||!i.options.value||e.isPlainObject(i.options.value[0])||i.value(i.value()||i._initialValues),i.popup._hovered=!0,i._initialOpen=!1,i.popup.open({altTarget:i.wrapper.add(i.element).add(i.input)}),i._focusItem())},toggle:function(e){this[(e=e!==t?e:!this.popup.visible())?f:g]()},refresh:function(){this.listView.refresh()},_floatCheck:function(){return!this.listView||!(this.value()&&this.value().length)&&!this.popup.visible()},_listBound:function(){var e=this,t=e.dataSource.flatView();e._render(t),e._renderFooter(),e._renderNoData(),e._toggleNoData(!t.length),e._resizePopup(),e._open&&(e._open=!1,e.toggle(e._allowOpening())),e.popup.position(),e._updateItemFocus(),e._touchScroller&&e._touchScroller.reset(),e._hideBusy(),e.trigger("dataBound")},_updateItemFocus:function(){var e=this,i=e.dataSource.flatView(),a=e.listView.skip(),s=a===t||0===a;i.length&&s&&(e.options.highlightFirst?e.listView.focusFirst():e.listView.focus(-1))},_inputValue:function(){var e=this,t=e.filterInput&&r()===e.filterInput[0]?e.filterInput.val():e.input.val();return e.options.placeholder===t&&(t=""),t},value:function(e){var i=this,a=i.listView,s=a.value().slice(),n=i.options.maxSelectedItems,l=a.bound()&&a.isFiltered();if(e===t)return s;i.persistTagList=!1,i.requireValueMapper(i.options,e),e=i._normalizeValues(e),null!==n&&e.length>n&&(e=e.slice(0,n)),l&&i._clearFilter(),a.value(e),i._old=i._valueBeforeCascade=e.slice(),l||i._fetchData(),i._toggleCloseVisibility()},_preselect:function(t,a){var s=this;q(t)||t instanceof i.data.ObservableArray||(t=[t]),(e.isPlainObject(t[0])||t[0]instanceof i.data.ObservableObject||!s.options.dataValueField)&&(s.dataSource.data(t),s.value(a||s._initialValues),s._retrieveData=!0)},_setOption:function(e,t){var i=this.element[0].children[this._optionsMap[e]];i&&(i.selected=t)},_fetchData:function(){var e=this,t=!!e.dataSource.view().length;0===e.listView.value().length||e._request||(e._retrieveData||!e._fetch&&!t)&&(e._fetch=!0,e._retrieveData=!1,e.dataSource.read().done((function(){e._fetch=!1})))},_isBound:function(){return this.listView.bound()&&!this._retrieveData},_dataSource:function(){var e=this,t=e.element,a=e.options,s=a.dataSource||{};(s=q(s)?{data:s}:s).select=t,s.fields=[{field:a.dataTextField},{field:a.dataValueField}],e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._progressHandler=e._showBusy.bind(e),e._errorHandler=e._hideBusy.bind(e)),e.dataSource=i.data.DataSource.create(s).bind("progress",e._progressHandler).bind("error",e._errorHandler)},_reset:function(){var t=this,i=t.element,a=i.attr("form"),s=a?e("#"+a):i.closest("form");s[0]&&(t._resetHandler=function(){setTimeout((function(){t.value(t._initialValues),t._placeholder()}))},t._form=s.on("reset",t._resetHandler))},_initValue:function(){var e=this.options.value||this.element.val();this._old=this._initialValues=this._normalizeValues(e)},_normalizeValues:function(t){var i=this;return null===t?t=[]:t&&e.isPlainObject(t)?t=[i._value(t)]:t&&e.isPlainObject(t[0])?t=e.map(t,(function(e){return i._value(e)})):q(t)||t instanceof u?q(t)&&(t=t.slice()):t=[t],t},_change:function(){var e=this,t=e.value();(function(e,t){var i;if(null===e&&null!==t||null!==e&&null===t)return!1;if((i=e.length)!==t.length)return!1;for(;i--;)if(e[i]!==t[i])return!1;return!0})(t,e._old)||(e._old=t.slice(),e.trigger(m),e.element.trigger(m)),e.popup.position(),e._toggleCloseVisibility()},_click:function(e){var t=this,i=e.item;e.preventDefault(),t._select(i).done((function(){t._activeItem=i,t._change(),t._close()}))},_getActiveItem:function(){return this._activeItem||e(this.listView.items()[this._getSelectedIndices().length-1])||this.listView.focus()},_getSelectedIndices:function(){return this.listView._selectedIndices||this.listView._selectedIndexes},_keydown:function(a){var s,n=this,l=a.keyCode,r=n._currentTag,u=n.listView,c=n.input.val(),h=i.support.isRtl(n.wrapper),_=n.popup.visible(),f=0;if(l!==o.ENTER&&(this._multipleSelection=!1),l===o.DOWN){if(a.preventDefault(),!_)return n.open(),void(u.focus()||u.focusFirst());u.focus()?(!n._activeItem&&a.shiftKey&&(n._activeItem=u.focus(),f=-1),s=u.getElementIndex(n._getActiveItem().first()),u.focusNext(),u.focus()?a.shiftKey&&!n.options.virtual&&(this._multipleSelection=!0,n._selectRange(s,u.getElementIndex(u.focus().first())+f)):u.focusLast()):u.focusFirst()}else if(l===o.UP)_&&(!n._activeItem&&a.shiftKey&&(n._activeItem=u.focus(),f=1),s=u.getElementIndex(n._getActiveItem().first()),u.focusPrev(),u.focus()?a.shiftKey&&!n.options.virtual&&(this._multipleSelection=!0,n._selectRange(s,u.getElementIndex(u.focus().first())+f)):n.close()),a.preventDefault();else if(l===o.LEFT&&!h||l===o.RIGHT&&h)c||(r=r?r.prev(d):n.tagList.children(d).last())[0]&&n.currentTag(r);else if(l===o.RIGHT&&!h||l===o.LEFT&&h)!c&&r&&(r=r.next(d),n.currentTag(r[0]?r:null));else if(a.ctrlKey&&!a.altKey&&l===o.A&&_&&!n.options.virtual)this._multipleSelection=!0,this._getSelectedIndices().length===u.items().length&&(n._activeItem=null),u.items().length&&n._selectRange(0,u.items().length-1);else if(l===o.ENTER&&_){if(!u.focus())return;if(a.preventDefault(),this._multipleSelection&&(this._multipleSelection=!1,u.focus().hasClass(C)))return void n._close();n._select(u.focus()).done((function(){n._change(),n._close()}))}else if(l===o.SPACEBAR&&a.ctrlKey&&_)n._activeItem&&u.focus()&&u.focus()[0]===n._activeItem[0]&&(n._activeItem=null),e(u.focus()).hasClass(C)||(n._activeItem=u.focus()),n._select(u.focus()).done((function(){n._change()})),a.preventDefault();else if(l===o.SPACEBAR&&a.shiftKey&&_&&!n.options.virtual){var g=u.getElementIndex(n._getActiveItem()),m=u.getElementIndex(u.focus());g!==t&&m!==t&&n._selectRange(g,m),a.preventDefault()}else if(l===o.ESC)_?a.preventDefault():(n.tagList.children(d).each((function(t,i){n._removeTag(e(i),!1)})),n._change()),n.close();else if(l===o.HOME)_?u.focus()?(a.ctrlKey&&a.shiftKey&&!n.options.virtual&&n._selectRange(u.getElementIndex(u.focus()[0]),0),u.focusFirst()):n.close():c||(r=n.tagList.children(d).first()[0])&&n.currentTag(e(r));else if(l===o.END)_?u.focus()?(a.ctrlKey&&a.shiftKey&&!n.options.virtual&&n._selectRange(u.getElementIndex(u.focus()[0]),u.element.children().length-1),u.focusLast()):n.close():c||(r=n.tagList.children(d).last()[0])&&n.currentTag(e(r));else if(l!==o.DELETE&&l!==o.BACKSPACE||c)if(!n.popup.visible()||l!==o.PAGEDOWN&&l!==o.PAGEUP)clearTimeout(n._typingTimeout),n._search();else{a.preventDefault();var v=l===o.PAGEDOWN?1:-1;u.scrollWith(v*u.screenHeight())}else{if(n._state=p,"single"===n.options.tagMode)return n._clearSingleTagValue(),n._change(),void n._close();l!==o.BACKSPACE||r||(r=n.tagList.children(d).last()),r&&r[0]&&n._removeTag(r,!0)}},_hideBusy:function(){var e=this;clearTimeout(e._busy),e.input.attr(k,!1),e._loading.addClass(x),e._request=!1,e._busy=null,e._toggleCloseVisibility()},_showBusyHandler:function(){this.input.attr(k,!0),this._loading.removeClass(x),this._hideClear()},_showBusy:function(){var e=this;e._request=!0,e._busy||(e._busy=setTimeout(e._showBusyHandler.bind(e),100))},_placeholder:function(e,a){var s=this,n=s.input,l=r(),o=s.options.placeholder,u=n.val(),c=n[0]===l,d=u.length;c&&!s.options.autoClose&&u!==o||(d=0,u=""),e===t&&(e=!1,n[0]!==l&&(e=!s.listView.selectedDataItems()[0])),s._prev=u,n.toggleClass("k-readonly",e).val(e?o:u),c&&!a&&i.caret(n[0],d,d)},_option:function(e,a,s){var n="<option";return e!==t&&(-1!==(e+="").indexOf('"')&&(e=e.replace(j,"&quot;")),n+=' value="'+e+'"'),s&&(n+=" selected"),n+=">",a!==t&&(n+=i.htmlEncode(a)),n+"</option>"},_render:function(e){var t,i,a,s,n=this.listView.selectedDataItems(),l=this.listView.value(),o=e.length,r="";l.length!==n.length&&(n=this._buildSelectedItems(l));var u={},c={};for(s=0;s<o;s++)i=e[s],a=this._value(i),-1!==(t=this._selectedItemIndex(a,n))&&n.splice(t,1),c[a]=s,r+=this._option(a,this._text(i),-1!==t);if(n.length)for(s=0;s<n.length;s++)i=n[s],u[a=this._value(i)]=o,c[a]=o,o+=1,r+=this._option(a,this._text(i),!0);this._customOptions=u,this._optionsMap=c,this.element.html(r)},_buildSelectedItems:function(e){for(var t,i=this.options.dataValueField,a=this.options.dataTextField,s=[],n=0;n<e.length;n++)(t={})[i]=e[n],t[a]=e[n],s.push(t);return s},_selectedItemIndex:function(e,t){for(var i=this._value,a=0;a<t.length;a++)if(e===i(t[a]))return a;return-1},_search:function(){var e=this;clearTimeout(e._typingTimeout),e._typingTimeout=setTimeout((function(){var t=e._inputValue();e._prev!==t&&(e._prev=t,e.search(t),e._toggleCloseVisibility())}),e.options.delay)},_toggleCloseVisibility:function(){this.value().length||this.input.val()&&this.input.val()!==this.options.placeholder?this._showClear():this._hideClear()},_allowOpening:function(){return this._allowSelection()&&s.fn._allowOpening.call(this)},_allowSelection:function(){var e=this.options.maxSelectedItems;return null===e||e>this.listView.value().length},updatePersistTagList:function(e,t){this.persistTagList.added&&this.persistTagList.added.length===t.length&&this.persistTagList.removed&&this.persistTagList.removed.length===e.length?this.persistTagList=!1:(this.listView._removedAddedIndexes=this._old.slice(),this.persistTagList={added:e,removed:t})},_selectValue:function(e,t){var a,s,n,l=this,o=l.dataSource.total(),r=l.tagList,u=l._value;if(this.persistTagList)return this.updatePersistTagList(e,t),void l._refreshTagListAria();if("multiple"===l.options.tagMode){for(n=t.length-1;n>-1;n--)a=t[n],r.children(d).length&&(r[0].removeChild(r[0].children[a.position]),l._setOption(u(a.dataItem),!1));for(n=0;n<e.length;n++)s=e[n],l.tagList.append(l.tagTemplate(s.dataItem)),l._setOption(u(s.dataItem),!0);i.applyStylesFromKendoAttributes(l.tagList,["background-color"])}else{for((!l._maxTotal||l._maxTotal<o)&&(l._maxTotal=o),this._updateTagListHTML(),n=t.length-1;n>-1;n--)l._setOption(u(t[n].dataItem),!1);for(n=0;n<e.length;n++)l._setOption(u(e[n].dataItem),!0)}l._refreshTagListAria(),l._refreshFloatingLabel(),l._placeholder()},_refreshTagListAria:function(){var t=this;l.renderChipList(t.tagList,e.extend({selectable:0===t.value().length?"none":"multiple"},t.options))},_updateTagListHTML:function(){var t=this,a=t.value(),s=t.dataSource.total();t.tagList.children(d).each((function(t,i){e(i).remove()})),a.length&&(t.tagList.append(t.tagTemplate({values:a,dataItems:t.dataItems(),maxTotal:t._maxTotal,currentTotal:s})),i.applyStylesFromKendoAttributes(t.tagList,["background-color"])),t._refreshTagListAria()},_select:function(t){var i=e.Deferred().resolve();if(!t)return i;var a=this,s=a.listView,n=s.dataItemByIndex(s.getElementIndex(t)),l=t.hasClass("k-selected");return a._state===_&&(a._state=""),a._allowSelection()||l?a.trigger(l?b:v,{dataItem:n,item:t})?(a._close(),i):(a.persistTagList=!1,s.select(t).done((function(){a._placeholder(),a._state===h&&(a._state=p,s.skipUpdate(!0))}))):i},_selectRange:function(t,i){var a,s=this,n=this.listView,l=this.options.maxSelectedItems,o=this._getSelectedIndices().slice(),r=[],u=function(t){n.select(t).done((function(){t.forEach((function(t){var i=n.dataItemByIndex(t),a=n.element.children()[t],l=e(a).hasClass("k-selected");s.trigger(l?v:b,{dataItem:i,item:e(a)})})),s._change()}))};if(o.length-1==i-t)return u(o);if(t<i)for(a=t;a<=i;a++)r.push(a);else for(a=t;a>=i;a--)r.push(a);for(null!==l&&r.length>l&&(r=r.slice(0,l)),a=0;a<r.length;a++){var c=r[a];-1==this._getSelectedIndices().indexOf(c)?o.push(c):o.splice(o.indexOf(c),1)}return o.length?(s.persistTagList=!1,u(o)):void 0},_input:function(){var t=this,i=t.element,a=i[0].accessKey,s=t._inputValuesContainer.children("input.k-input-inner");s[0]||(s=e('<input class="k-input-inner" />').appendTo(t._inputValuesContainer)),i.removeAttr("accesskey"),t._focused=t.input=s.attr({autocomplete:"off",title:i[0].title}),a&&t._focused.attr("accesskey",a)},_inputValuesContainer:function(){var t=this,i=t.wrapper.children(".k-input-values");i[0]||(i=e('<div class="k-input-values"></div>').appendTo(t.wrapper)),t._inputValuesContainer=i},_tagList:function(){var t=this,i=t.options,a=t._inputValuesContainer.children(".k-chip-list");a[0]||(a=e(l.renderChipList('<div unselectable="on" class="k-selection-multiple" />',e.extend({selectable:"none"},i))).appendTo(t._inputValuesContainer)),t.tagList=a},_tagTemplate:function(){var t,a=this,s=a.options,o=s.tagTemplate,r=s.dataSource,u="multiple"===s.tagMode,c=s.messages.singleTag;a.element[0].length&&!r&&(s.dataTextField=s.dataTextField||"text",s.dataValueField=s.dataValueField||"value"),t=u?function(e){return n(i.getter(s.dataTextField)(e))}:function(e){return e.values.length+" "+n(c)},a.tagTextTemplate=o=o?i.template(o):t,a.tagTemplate=function(t){return l.renderChip('<span unselectable="on"></span>',e.extend({},s,{fillMode:"solid",rounded:"medium",enabled:!0,themeColor:"base",text:o(t),attr:{unselectable:"on","aria-selected":!0,role:"option","aria-keyshortcuts":u?"Enter Delete":"Enter"},removable:u,removableAttr:{unselectable:"on","aria-hidden":!0,"aria-label":a.options.messages.deleteTag,title:a.options.messages.deleteTag},icon:u?"":"caret-alt-down",iconAttr:{unselectable:"on","aria-hidden":!0,"aria-label":"open"}}))}},_loader:function(){this._loading=e('<span class="k-icon k-i-loading k-input-loading-icon '+x+'"></span>').insertAfter(this._inputValuesContainer)},_clearButton:function(){s.fn._clearButton.call(this),this.options.clearButton&&(this._clear.insertAfter(this._inputValuesContainer),this.wrapper.addClass("k-multiselect-clearable"))},_arrowButton:function(){var t=n(this.options.messages.downArrow),i=e(l.renderButton('<button type="button" aria-label="'+t+'" class="k-input-button k-multiselect-toggle-button"></button>',e.extend({},this.options,{icon:"caret-alt-down"})));this._arrow&&(this._arrow.remove(),this._arrow=null),this.options.downArrow&&(this._arrow=i.attr({tabIndex:-1}),this._arrow.appendTo(this.wrapper))},_textContainer:function(){var t=i.getComputedStyles(this.input[0],R);t.position="absolute",t.visibility="hidden",t.top=-3333,t.left=-3333,this._span=e("<span/>").css(t).appendTo(this.wrapper)},_wrapper:function(){var e=this.element,t=e.parent("span.k-multiselect");t[0]||((t=e.wrap('<span class="k-multiselect k-input" unselectable="on" />').parent())[0].style.cssText=e[0].style.cssText),this.wrapper=t.addClass(e[0].className).removeClass("input-validation-error").css("display","")},_closeHandler:function(e){this.trigger(g)?e.preventDefault():(this.input.attr(I,!1),this.ul.attr(y,!0))},_openHandler:function(e){this._adjustListWidth(),this.trigger(f)?e.preventDefault():(this.input.attr(I,!0),this.ul.attr(y,!1))}});a.plugin(N),i.cssProperties.registerPrefix("MultiSelect","k-input-"),i.cssProperties.registerValues("MultiSelect",[{prop:"rounded",values:i.cssProperties.roundedValues.concat([["full","full"]])}])}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.multiselect.min.js.map
;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kendo.data.js"),require("kendo.combobox.js"),require("kendo.dropdownlist.js"),require("kendo.dropdowntree.js"),require("kendo.multiselect.js"),require("kendo.validator.js")):"function"==typeof define&&define.amd?define(["kendo.data.min","kendo.combobox.min","kendo.dropdownlist.min","kendo.dropdowntree.min","kendo.multiselect.min","kendo.validator.min"],t):((e="undefined"!=typeof globalThis?globalThis:e||self).kendoaspnetmvc=e.kendoaspnetmvc||{},e.kendoaspnetmvc.js=t())}(this,(function(){var e,t;!function(e,t){var n=window.kendo,r=/'/gi,a=e.extend,i=Array.isArray,o=e.isPlainObject;function d(t,n,r){var a={};return t.sort?(a[this.options.prefix+"sort"]=e.map(t.sort,(function(e){return e.field+"-"+e.dir})).join("~"),delete t.sort):a[this.options.prefix+"sort"]="",t.page&&(a[this.options.prefix+"page"]=t.page,delete t.page),t.pageSize&&(a[this.options.prefix+"pageSize"]=t.pageSize,delete t.pageSize),t.group?(a[this.options.prefix+"group"]=e.map(t.group,(function(e){return e.field+"-"+e.dir})).join("~"),delete t.group):a[this.options.prefix+"group"]="",t.aggregate&&(a[this.options.prefix+"aggregate"]=e.map(t.aggregate,(function(e){return e.field+"-"+e.aggregate})).join("~"),delete t.aggregate),t.filter?(a[this.options.prefix+"filter"]=u(t.filter,r.encode),delete t.filter):(a[this.options.prefix+"filter"]="",delete t.filter),t.groupPaging||(delete t.take,delete t.skip),new s(r).serialize(a,t,""),a}var s=function(e){e=e||{},this.culture=e.culture||n.culture(),this.stringifyDates=e.stringifyDates,this.decimalSeparator=this.culture.numberFormat["."]};function u(a,i){return a.filters?e.map(a.filters,(function(e){var t=e.filters&&e.filters.length>1,n=u(e,i);return n&&t&&(n="("+n+")"),n})).join("~"+a.logic+"~"):a.field?a.field+"~"+a.operator+"~"+function(e,t){if("string"==typeof e){if(!(e.indexOf("Date(")>-1))return e=e.replace(r,"''"),t&&(e=encodeURIComponent(e)),"'"+e+"'";e=new Date(parseInt(e.replace(/^\/Date\((.*?)\)\/$/,"$1"),10))}if(e&&e.getTime)return"datetime'"+n.format("{0:yyyy-MM-ddTHH-mm-ss}",e)+"'";return e}(a.value,i):t}function l(e,t){return void 0!==e?e:t}function f(t){var r=t.HasSubgroups||t.hasSubgroups||!1,a=t.Items||t.items,i=t.ItemCount||t.itemCount,o=t.SubgroupCount||t.subgroupCount;return{value:l(t.Key,l(t.key,t.value)),field:t.Member||t.member||t.field,hasSubgroups:r,aggregates:p(t.Aggregates||t.aggregates),items:r?e.map(a,f):a,itemCount:i,subgroupCount:o,uid:n.guid()}}function c(e){var t={};return t[(e.AggregateMethodName||e.aggregateMethodName).toLowerCase()]=l(e.Value,e.value),t}function p(e){var t,n,r,a={};for(t in e){for(n in a={},r=e[t])a[n.toLowerCase()]=r[n];e[t]=a}return e}function m(e){var t,n,r,i={};for(t=0,n=e.length;t<n;t++)i[(r=e[t]).Member||r.member]=a(!0,i[r.Member||r.member],c(r));return i}s.prototype=s.fn={serialize:function(e,t,n){var r;for(var a in t)r=n?n+"."+a:a,this.serializeField(e,t[a],t,a,r)},serializeField:function(e,n,r,a,d){i(n)?this.serializeArray(e,n,d):o(n)?this.serialize(e,n,d):e[d]===t&&(e[d]=r[a]=this.serializeValue(n))},serializeArray:function(e,t,n){for(var r,a,i,o=0,d=0;o<t.length;o++)r=t[o],i=n+(a="["+d+"]"),this.serializeField(e,r,t,a,i),d++},serializeValue:function(e){return e instanceof Date?e=this.stringifyDates?n.stringify(e).replace(/"/g,""):n.toString(e,"G",this.culture.name):"number"==typeof e&&(e=e.toString().replace(".",this.decimalSeparator)),e}},a(!0,n.data,{schemas:{"aspnetmvc-ajax":{groups:function(t){return e.map(this._dataAccessFunction(t),f)},aggregates:function(e){var t=(e=e.d||e).AggregateResults||e.aggregateResults||[];if(!Array.isArray(t)){for(var n in t)t[n]=m(t[n]);return t}return m(t)}}}}),a(!0,n.data,{transports:{"aspnetmvc-ajax":n.data.RemoteTransport.extend({init:function(e){var t=this,r=(e||{}).stringifyDates;n.data.RemoteTransport.fn.init.call(this,a(!0,{},this.options,e,{parameterMap:function(e,n){return d.call(t,e,n,{encode:!1,stringifyDates:r})}}))},read:function(e){var t=this.options.data,r=this.options.read.url;o(t)?(r&&(this.options.data=null),!t.Data.length&&r?n.data.RemoteTransport.fn.read.call(this,e):e.success(t)):n.data.RemoteTransport.fn.read.call(this,e)},options:{read:{type:"POST"},update:{type:"POST"},create:{type:"POST"},destroy:{type:"POST"},parameterMap:d,prefix:""}})}}),a(!0,n.data,{schemas:{webapi:n.data.schemas["aspnetmvc-ajax"]}}),a(!0,n.data,{transports:{webapi:n.data.RemoteTransport.extend({init:function(e){var t=this,r=(e||{}).stringifyDates,i=n.cultures[e.culture]||n.cultures["en-US"];if(e.update){var o="string"==typeof e.update?e.update:e.update.url;e.update=a(e.update,{url:function(t){return n.format(o,t[e.idField])}})}if(e.destroy){var s="string"==typeof e.destroy?e.destroy:e.destroy.url;e.destroy=a(e.destroy,{url:function(t){return n.format(s,t[e.idField])}})}e.create&&"string"==typeof e.create&&(e.create={url:e.create}),n.data.RemoteTransport.fn.init.call(this,a(!0,{},this.options,e,{parameterMap:function(e,n){return d.call(t,e,n,{encode:!1,stringifyDates:r,culture:i})}}))},read:function(e){var t=this.options.data,r=this.options.read.url;o(t)?(r&&(this.options.data=null),!t.Data.length&&r?n.data.RemoteTransport.fn.read.call(this,e):e.success(t)):n.data.RemoteTransport.fn.read.call(this,e)},options:{read:{type:"GET"},update:{type:"PUT"},create:{type:"POST"},destroy:{type:"DELETE"},parameterMap:d,prefix:""}})}}),a(!0,n.data,{transports:{"aspnetmvc-server":n.data.RemoteTransport.extend({init:function(e){var t=this;n.data.RemoteTransport.fn.init.call(this,a(e,{parameterMap:function(e,n){return d.call(t,e,n,{encode:!0})}}))},read:function(t){var n,r,a=this.options.prefix,i=new RegExp("("+[a+"sort",a+"page",a+"pageSize",a+"group",a+"aggregate",a+"filter"].join("|")+")=[^&]*&?","g");(r=location.search.replace(i,"").replace("?","")).length&&!/&$/.test(r)&&(r+="&"),t=this.setup(t,"read"),(n=t.url).indexOf("?")>=0?(r=r.replace(/(.*?=.*?)&/g,(function(e){return n.indexOf(e.substr(0,e.indexOf("=")))>=0?"":e})),n+="&"+r):n+="?"+r,n+=e.map(t.data,(function(e,t){return t+"="+e})).join("&"),location.href=n}})}})}(window.kendo.jQuery),e=window.kendo.jQuery,(t=window.kendo.ui)&&t.ComboBox&&(t.ComboBox.requestData=function(t){var n=e(t).data("kendoComboBox");if(n){var r=n.dataSource.filter(),a=n.input.val();return r&&r.filters.length||(a=""),{text:a}}}),function(e,t){var n=window.kendo.ui;n&&n.MultiColumnComboBox&&(n.MultiColumnComboBox.requestData=function(t){var n=e(t).data("kendoMultiColumnComboBox");if(n){var r=n.dataSource.filter(),a=n.input.val();return r&&r.filters.length||(a=""),{text:a}}})}(window.kendo.jQuery),function(e,t){var n=window.kendo.ui;n&&n.DropDownList&&(n.DropDownList.requestData=function(t){var n=e(t).data("kendoDropDownList");if(n){var r=n.dataSource.filter(),a=n.filterInput,i=a?a.val():"";return r&&r.filters.length||(i=""),{text:i}}})}(window.kendo.jQuery),function(e,t){var n=window.kendo.ui;n&&n.DropDownTree&&(n.DropDownTree.requestData=function(t){var n=e(t).data("kendoDropDownTree");if(n){var r=n.dataSource.filter(),a=n.filterInput,i=a?a.val():"";return r&&r.filters.length||(i=""),{text:i}}})}(window.kendo.jQuery),function(e,t){var n=window.kendo.ui;n&&n.MultiSelect&&(n.MultiSelect.requestData=function(t){var n=e(t).data("kendoMultiSelect");if(n){var r=n.input.val();return{text:r!==n.options.placeholder?r:""}}})}(window.kendo.jQuery),function(e,t){var n=window.kendo,r=e.extend,a=n.isFunction;r(!0,n.data,{schemas:{"imagebrowser-aspnetmvc":{data:function(e){return e||[]},model:{id:"name",fields:{name:{field:"Name"},size:{field:"Size"},type:{field:"EntryType",parse:function(e){return 0==e?"f":"d"}}}}}}}),r(!0,n.data,{schemas:{"filebrowser-aspnetmvc":n.data.schemas["imagebrowser-aspnetmvc"]}}),r(!0,n.data,{transports:{"imagebrowser-aspnetmvc":n.data.RemoteTransport.extend({init:function(t){n.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,r){r.data=e.extend({},r.data,{path:this.options.path()}),a(this.options[t])?this.options[t].call(this,r):n.data.RemoteTransport.fn[t].call(this,r)},read:function(e){this._call("read",e)},create:function(e){this._call("create",e)},destroy:function(e){this._call("destroy",e)},update:function(){},options:{read:{type:"POST"},update:{type:"POST"},create:{type:"POST"},destroy:{type:"POST"},parameterMap:function(e,t){return"read"!=t&&(e.EntryType="f"===e.EntryType?0:1),e}}})}}),r(!0,n.data,{transports:{"filebrowser-aspnetmvc":n.data.transports["imagebrowser-aspnetmvc"]}})}(window.kendo.jQuery),function(e,t){var n=/("|\%|'|\[|\]|\$|\.|\,|\:|\;|\+|\*|\&|\!|\#|\(|\)|<|>|\=|\?|\@|\^|\{|\}|\~|\/|\||`)/g,r=".k-switch",a=["DatePicker","DateTimePicker"],i=new Date(864e13),o=new Date(-864e13);function d(e,t){var n,r,a,i,o={},d=e.data(),s=t.length;for(a in d)(n=(r=a.toLowerCase()).indexOf(t))>-1&&(i="valserver"===r?n:n+s,(r=r.substring(i,a.length))&&(o[r]=d[a]));return o}function s(t){var n,r,a=t.Fields||[],i={};for(n=0,r=a.length;n<r;n++)e.extend(!0,i,u(a[n]));return i}function u(e){var t,n,r,a,i={},o={},d=e.FieldName,s=e.ValidationRules;for(r=0,a=s.length;r<a;r++)t=s[r].ValidationType,n=s[r].ValidationParameters,i[d+t]=p(d,t,n),o[d+t]=c(s[r].ErrorMessage);return{rules:i,messages:o}}function l(e){return function(t){return t.filter("[data-rule-"+e+"]").length?t.attr("data-msg-"+e):t.attr("data-val-"+e)}}function f(e){return function(t){return t.filter("[data-val-"+e+"]").length?y[e](t,d(t,e)):!t.filter("[data-rule-"+e+"]").length||y[e](t,d(t,e))}}function c(e){return function(){return e}}function p(e,t,n){return function(r){return!r.filter("[name="+e+"]").length||y[t](r,n)}}function m(e){return""===e.val()||null!==kendo.parseDate(e.val())}function g(e){return kendo.parseDate(e).getTime()}function v(e){return kendo.parseFloat(e)||0}function h(e,t,n){var r,d;return!function(e){var t=kendo.widgetInstance(e);return t&&a.indexOf(t.options.name)>-1&&m(e)}(e)?(d=v(n?t.min:t.max),r=v(e.val())):(d=n?g(t.min)||o.getTime():g(t.max)||i.getTime(),r=kendo.parseDate(e.val()).getTime()),n?d<=r:r<=d}var y={required:function(e){var t,a=e.val(),i=e.filter("[type=checkbox]"),o=e.filter("[type=radio]");if(i.length){var d="input:hidden[name='"+(t=i[0].name.replace(n,"\\$1"))+"']",s=e.closest(".k-checkbox-list").find("input[name='"+t+"']");i.closest(r).length&&(i=i.closest(r));var u=i.next(d);u.length||(u=i.next("label.k-checkbox-label").next(d)),a=u.length?u.val():!0===e.prop("checked"),s.length&&(a=s.is(":checked"))}else o.length&&(a=kendo.jQuery.find("input[name='"+e.attr("name")+"']:checked").length>0);return!(""===a||!a||0===a.length)},number:function(e){return""===e.val()||null==e.val()||null!==kendo.parseFloat(e.val())},regex:function(e,t){return""===e.val()||(n=e.val(),"string"==typeof(r=t.pattern)&&(r=new RegExp("^(?:"+r+")$")),r.test(n));var n,r},range:function(e,t){return""===e.val()||this.min(e,t)&&this.max(e,t)},min:function(e,t){return h(e,t,!0)},max:function(e,t){return h(e,t,!1)},date:function(e){return m(e)},length:function(e,t){if(""!==e.val()){var n=kendo.trim(e.val()).length;return(!t.min||n>=(t.min||0))&&(!t.max||n<=(t.max||0))}return!0},server:function(e,t){return!t.server},equalto:function(t){if(t.filter("[data-val-equalto-other]").length){var n=t.attr("data-val-equalto-other");return n=n.substr(n.lastIndexOf(".")+1),t.val()==e("#"+n).val()}return!0}};e.extend(!0,kendo.ui.validator,{rules:function(){var e,t={};for(e in y)t["mvc"+e]=f(e);return t}(),messages:function(){var e,t={};for(e in y)t["mvc"+e]=l(e);return t}(),messageLocators:{mvcLocator:{locate:function(e,t){return t=t.replace(n,"\\$1"),e.find(".field-validation-valid[data-valmsg-for='"+t+"'], .field-validation-error[data-valmsg-for='"+t+"']")},decorate:function(e,t){e.addClass("field-validation-error").attr("data-valmsg-for",t||"")}},mvcMetadataLocator:{locate:function(e,t){return t=t.replace(n,"\\$1"),e.find("#"+t+"_validationMessage.field-validation-valid")},decorate:function(e,t){e.addClass("field-validation-error").attr("id",t+"_validationMessage")}}},ruleResolvers:{mvcMetaDataResolver:{resolve:function(t){var n=window.mvcClientValidationMetadata||[];if(n.length){t=e(t);for(var r=0;r<n.length;r++)if(n[r].FormId==t.attr("id"))return s(n[r])}return{}}}},validateOnInit:function(e){return!!e.find("input[data-val-server]").length},allowSubmit:function(e,t){return!!t&&t.length===e.find("input[data-val-server]").length}})}(window.kendo.jQuery),function(e,t){var n=window.kendo;(0,e.extend)(!0,n.data,{schemas:{filemanager:{data:function(e){return e||[]},model:{id:"path",hasChildren:"hasDirectories",fields:{name:{field:"Name",editable:!0,type:"string",defaultValue:"New Folder"},size:{field:"Size",editable:!1,type:"number"},path:{field:"Path",editable:!1,type:"string"},extension:{field:"Extension",editable:!1,type:"string"},isDirectory:{field:"IsDirectory",editable:!1,defaultValue:!0,type:"boolean"},hasDirectories:{field:"HasDirectories",editable:!1,defaultValue:!1,type:"boolean"},created:{field:"Created",type:"date",editable:!1},createdUtc:{field:"CreatedUtc",type:"date",editable:!1},modified:{field:"Modified",type:"date",editable:!1},modifiedUtc:{field:"ModifiedUtc",type:"date",editable:!1}}}}}})}(window.kendo.jQuery);return function(e,t){var n=e.extend;e((function(){kendo.__documentIsReady=!0})),n(kendo,{syncReady:function(t){kendo.__documentIsReady?t():e(t)}})}(window.kendo.jQuery),kendo}));
//# sourceMappingURL=kendo.aspnetmvc.min.js.map
;
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){t.extend(t.fn,{validate:function(e){if(this.length){var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function s(){var s,n;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(s=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(n=i.settings.submitHandler.call(i,i.currentForm,e),s&&s.remove(),void 0!==n&&n)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,i,s;return t(this[0]).is("form")?e=this.validate().form():(s=[],e=!0,i=t(this[0].form).validate(),this.each(function(){(e=i.element(this)&&e)||(s=s.concat(i.errorList))}),i.errorList=s),e},rules:function(e,i){var s,n,r,a,o,l,h=this[0],d=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=h&&(!h.form&&d&&(h.form=this.closest("form")[0],h.name=this.attr("name")),null!=h.form)){if(e)switch(n=(s=t.data(h.form,"validator").settings).rules,r=t.validator.staticRules(h),e){case"add":t.extend(r,t.validator.normalizeRule(i)),delete r.messages,n[h.name]=r,i.messages&&(s.messages[h.name]=t.extend(s.messages[h.name],i.messages));break;case"remove":return i?(l={},t.each(i.split(/\s/),function(t,e){l[e]=r[e],delete r[e]}),l):(delete n[h.name],r)}return(a=t.validator.normalizeRules(t.extend({},t.validator.classRules(h),t.validator.attributeRules(h),t.validator.dataRules(h),t.validator.staticRules(h)),h)).required&&(o=a.required,delete a.required,a=t.extend({required:o},a)),a.remote&&(o=a.remote,delete a.remote,a=t.extend(a,{remote:o})),a}}});var e,i=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};t.extend(t.expr.pseudos||t.expr[":"],{blank:function(e){return!i(""+t(e).val())},filled:function(e){var s=t(e).val();return null!==s&&!!i(""+s)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:void 0===i?e:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,i=this.currentForm,s=this.groups={};function n(e){var s=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&s&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),i===this.form){var n=t.data(this.form,"validator"),r="on"+e.type.replace(/^validate/,""),a=n.settings;a[r]&&!t(this).is(a.ignore)&&a[r].call(n,this,e)}}t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){s[i]=e})}),e=this.settings.rules,t.each(e,function(i,s){e[i]=t.validator.normalizeRule(s)}),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",n).on("click.validate","select, option, [type='radio'], [type='checkbox']",n),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,s,n=this.clean(e),r=this.validationTargetFor(n),a=this,o=!0;return void 0===r?delete this.invalid[n.name]:(this.prepareElement(r),this.currentElements=t(r),(s=this.groups[r.name])&&t.each(this.groups,function(t,e){e===s&&t!==r.name&&(n=a.validationTargetFor(a.clean(a.findByName(t))))&&n.name in a.invalid&&(a.currentElements.push(n),o=a.check(n)&&o)}),i=!1!==this.check(r),o=o&&i,this.invalid[r.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),o},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var s=this.name||t(this).attr("name"),n=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!s&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),n&&(this.form=t(this).closest("form")[0],this.name=s),this.form===e.currentForm&&(!(s in i||!e.objectLength(t(this).rules()))&&(i[s]=!0,!0))})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,s,n=t(e),r=e.type,a=void 0!==n.attr("contenteditable")&&"false"!==n.attr("contenteditable");return"radio"===r||"checkbox"===r?this.findByName(e.name).filter(":checked").val():"number"===r&&void 0!==e.validity?e.validity.badInput?"NaN":n.val():(i=a?n.text():n.val(),"file"===r?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(s=i.lastIndexOf("/"))>=0?i.substr(s+1):(s=i.lastIndexOf("\\"))>=0?i.substr(s+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,s,n,r,a=t(e).rules(),o=t.map(a,function(t,e){return e}).length,l=!1,h=this.elementValue(e);for(s in this.abortRequest(e),"function"==typeof a.normalizer?r=a.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(h=r.call(e,h),delete a.normalizer),a){n={method:s,parameters:a[s]};try{if("dependency-mismatch"===(i=t.validator.methods[s].call(this,h,e,n.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,n),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+n.method+"' method.",t),t instanceof TypeError&&(t.message+=".  Exception occurred when checking element "+e.id+", check the '"+n.method+"' method."),t}}if(!l)return this.objectLength(a)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var s=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),n=/\$?\{(\d+)\}/g;return"function"==typeof s?s=s.call(this,i.parameters,e):n.test(s)&&(s=t.validator.format(s.replace(n,"{$1}"),i.parameters)),s},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var s,n,r,a,o=this.errorsFor(e),l=this.idOrName(e),h=t(e).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?o.text(i||""):o.html(i||"")):(o=t("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?o.text(i||""):o.html(i||""),s=o,this.settings.wrapper&&(s=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(s):this.settings.errorPlacement?this.settings.errorPlacement.call(this,s,t(e)):s.insertAfter(e),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(r=o.attr("id"),h?h.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(h+=" "+r):h=r,t(e).attr("aria-describedby",h),(n=this.groups[e.name])&&(a=this,t.each(a.groups,function(e,i){i===n&&t("[name='"+a.escapeCssMeta(e)+"']",a.currentForm).attr("aria-describedby",o.attr("id"))})))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,e)),this.toShow=this.toShow.add(o)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),s=t(e).attr("aria-describedby"),n="label[for='"+i+"'], label[for='"+i+"'] *";return s&&(n=n+", #"+this.escapeCssMeta(s).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(t){return void 0===t?"":t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},elementAjaxPort:function(t){return"validate"+t.name},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(t(this.currentForm).trigger("submit"),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},abortRequest:function(e){var i;this.pending[e.name]&&(i=this.elementAjaxPort(e),t.ajaxAbort(i),this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass))},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,s){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(s=Number(s),isNaN(s)&&(s=void 0)),s||0===s?t[i]=s:e===i&&"range"!==e&&(t["date"===e?"dateISO":i]=!0)},attributeRules:function(e){var i,s,n={},r=t(e),a=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(""===(s=e.getAttribute(i))&&(s=!0),s=!!s):s=r.attr(i),this.normalizeAttributeRule(n,a,i,s);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(e){var i,s,n={},r=t(e),a=e.getAttribute("type");for(i in t.validator.methods)""===(s=r.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(s=!0),this.normalizeAttributeRule(n,a,i,s);return n},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,n){if(!1!==n){if(n.param||n.depends){var r=!0;switch(typeof n.depends){case"string":r=!!t(n.depends,i.form).length;break;case"function":r=n.depends.call(i,i)}r?e[s]=void 0===n.param||n.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[s])}}else delete e[s]}),t.each(e,function(t,s){e[t]="function"==typeof s&&"normalizer"!==t?s(i):s}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var t;e[this]&&(Array.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(t=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(t[0]),Number(t[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var n=t(i).val();return n&&n.length>0}return this.checkable(i)?this.getLength(e,i)>0:null!=e&&e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:(e=!1,function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){var s=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||s>=i},maxlength:function(t,e,i){var s=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||s<=i},rangelength:function(t,e,i){var s=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||s>=i[0]&&s<=i[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,s){var n,r=t(i).attr("type"),a="Step attribute on input type "+r+" is not supported.",o=new RegExp("\\b"+r+"\\b"),l=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},h=function(t){return Math.round(t*Math.pow(10,n))},d=!0;if(r&&!o.test(["text","number","range"].join()))throw new Error(a);return n=l(s),(l(e)>n||h(e)%h(s)!=0)&&(d=!1),this.optional(i)||d},equalTo:function(e,i,s){var n=t(s);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){t(i).valid()}),e===n.val()},remote:function(e,i,s,n){if(this.optional(i))return"dependency-mismatch";n="string"==typeof n&&n||"remote";var r,a,o,l=this.previousValue(i,n);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][n],this.settings.messages[i.name][n]=l.message,s="string"==typeof s&&{url:s}||s,o=t.param(t.extend({data:e},s.data)),l.old===o?l.valid:(l.old=o,r=this,this.startRequest(i),(a={})[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:this.elementAjaxPort(i),dataType:"json",data:a,context:r.currentForm,success:function(t){var s,a,o,h=!0===t||"true"===t;r.settings.messages[i.name][n]=l.originalMessage,h?(o=r.formSubmitted,r.toHide=r.errorsFor(i),r.formSubmitted=o,r.successList.push(i),r.invalid[i.name]=!1,r.showErrors()):(s={},a=t||r.defaultMessage(i,{method:n,parameters:e}),s[i.name]=l.message=a,r.invalid[i.name]=!0,r.showErrors(s)),l.valid=h,r.stopRequest(i,h)}},s)),"pending")}}});var s,n={};return t.ajaxPrefilter?t.ajaxPrefilter(function(e,i,s){var r=e.port;"abort"===e.mode&&(t.ajaxAbort(r),n[r]=s)}):(s=t.ajax,t.ajax=function(e){var i=("mode"in e?e:t.ajaxSettings).mode,r=("port"in e?e:t.ajaxSettings).port;return"abort"===i?(t.ajaxAbort(r),n[r]=s.apply(this,arguments),n[r]):s.apply(this,arguments)}),t.ajaxAbort=function(t){n[t]&&(n[t].abort(),delete n[t])},t});
!function(a){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery-validation")):jQuery.validator.unobtrusive=a(jQuery)}(function(a){var e,n=a.validator,t="unobtrusiveValidation";function r(a,e,n){a.rules[e]=n,a.message&&(a.messages[e]=a.message)}function i(a){return a.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function o(a){return a.substr(0,a.lastIndexOf(".")+1)}function d(a,e){return 0===a.indexOf("*.")&&(a=a.replace("*.",e)),a}function s(e){var n=a(this),t="__jquery_unobtrusive_validation_form_reset";if(!n.data(t)){n.data(t,!0);try{n.data("validator").resetForm()}finally{n.removeData(t)}n.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),n.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function l(e){var r=a(e),o=r.data(t),d=a.proxy(s,e),l=n.unobtrusive.options||{},u=function(n,t){var r=l[n];r&&a.isFunction(r)&&r.apply(e,t)};return o||(o={options:{errorClass:l.errorClass||"input-validation-error",errorElement:l.errorElement||"span",errorPlacement:function(){(function(e,n){var t=a(this).find("[data-valmsg-for='"+i(n[0].name)+"']"),r=t.attr("data-valmsg-replace"),o=r?!1!==a.parseJSON(r):null;t.removeClass("field-validation-valid").addClass("field-validation-error"),e.data("unobtrusiveContainer",t),o?(t.empty(),e.removeClass("input-validation-error").appendTo(t)):e.hide()}).apply(e,arguments),u("errorPlacement",arguments)},invalidHandler:function(){(function(e,n){var t=a(this).find("[data-valmsg-summary=true]"),r=t.find("ul");r&&r.length&&n.errorList.length&&(r.empty(),t.addClass("validation-summary-errors").removeClass("validation-summary-valid"),a.each(n.errorList,function(){a("<li />").html(this.message).appendTo(r)}))}).apply(e,arguments),u("invalidHandler",arguments)},messages:{},rules:{},success:function(){(function(e){var n=e.data("unobtrusiveContainer");if(n){var t=n.attr("data-valmsg-replace"),r=t?a.parseJSON(t):null;n.addClass("field-validation-valid").removeClass("field-validation-error"),e.removeData("unobtrusiveContainer"),r&&n.empty()}}).apply(e,arguments),u("success",arguments)}},attachValidation:function(){r.off("reset."+t,d).on("reset."+t,d).validate(this.options)},validate:function(){return r.validate(),r.valid()}},r.data(t,o)),o}return n.unobtrusive={adapters:[],parseElement:function(e,n){var t,r,i,o=a(e),d=o.parents("form")[0];d&&((t=l(d)).options.rules[e.name]=r={},t.options.messages[e.name]=i={},a.each(this.adapters,function(){var n="data-val-"+this.name,t=o.attr(n),s={};void 0!==t&&(n+="-",a.each(this.params,function(){s[this]=o.attr(n+this)}),this.adapt({element:e,form:d,message:t,params:s,rules:r,messages:i}))}),a.extend(r,{__dummy__:!0}),n||t.attachValidation())},parse:function(e){var t=a(e),r=t.parents().addBack().filter("form").add(t.find("form")).has("[data-val=true]");t.find("[data-val=true]").each(function(){n.unobtrusive.parseElement(this,!0)}),r.each(function(){var a=l(this);a&&a.attachValidation()})}},(e=n.unobtrusive.adapters).add=function(a,e,n){return n||(n=e,e=[]),this.push({name:a,params:e,adapt:n}),this},e.addBool=function(a,e){return this.add(a,function(n){r(n,e||a,!0)})},e.addMinMax=function(a,e,n,t,i,o){return this.add(a,[i||"min",o||"max"],function(a){var i=a.params.min,o=a.params.max;i&&o?r(a,t,[i,o]):i?r(a,e,i):o&&r(a,n,o)})},e.addSingleVal=function(a,e,n){return this.add(a,[e||"val"],function(t){r(t,n||a,t.params[e])})},n.addMethod("__dummy__",function(a,e,n){return!0}),n.addMethod("regex",function(a,e,n){var t;return!!this.optional(e)||(t=new RegExp(n).exec(a))&&0===t.index&&t[0].length===a.length}),n.addMethod("nonalphamin",function(a,e,n){var t;return n&&(t=(t=a.match(/\W/g))&&t.length>=n),t}),n.methods.extension?(e.addSingleVal("accept","mimtype"),e.addSingleVal("extension","extension")):e.addSingleVal("extension","extension","accept"),e.addSingleVal("regex","pattern"),e.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),e.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),e.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),e.add("equalto",["other"],function(e){var n=o(e.element.name),t=d(e.params.other,n);r(e,"equalTo",a(e.form).find(":input").filter("[name='"+i(t)+"']")[0])}),e.add("required",function(a){"INPUT"===a.element.tagName.toUpperCase()&&"CHECKBOX"===a.element.type.toUpperCase()||r(a,"required",!0)}),e.add("remote",["url","type","additionalfields"],function(e){var n={url:e.params.url,type:e.params.type||"GET",data:{}},t=o(e.element.name);a.each(function(a){return a.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}(e.params.additionalfields||e.element.name),function(r,o){var s=d(o,t);n.data[s]=function(){var n=a(e.form).find(":input").filter("[name='"+i(s)+"']");return n.is(":checkbox")?n.filter(":checked").val()||n.filter(":hidden").val()||"":n.is(":radio")?n.filter(":checked").val()||"":n.val()}}),r(e,"remote",n)}),e.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&r(a,"minlength",a.params.min),a.params.nonalphamin&&r(a,"nonalphamin",a.params.nonalphamin),a.params.regex&&r(a,"regex",a.params.regex)}),e.add("fileextensions",["extensions"],function(a){r(a,"extension",a.params.extensions)}),a(function(){n.unobtrusive.parse(document)}),n.unobtrusive});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function r(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(f())}function p(e,o,i){void 0===o&&(o=!1),void 0===i&&(i=!1);var a=e.getBoundingClientRect(),f=1,p=1;o&&r(e)&&(f=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,p=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var u=(n(e)?t(e):window).visualViewport,l=!c()&&i,d=(a.left+(l&&u?u.offsetLeft:0))/f,h=(a.top+(l&&u?u.offsetTop:0))/p,m=a.width/f,v=a.height/p;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function u(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return p(d(e)).left+u(e).scrollLeft}function m(e){return t(e).getComputedStyle(e)}function v(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y(e,n,o){void 0===o&&(o=!1);var i,a,f=r(n),c=r(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,r=s(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(n),m=d(n),y=p(e,c,o),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!o)&&(("body"!==l(n)||v(m))&&(g=(i=n)!==t(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:u(i)),r(n)?((b=p(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):m&&(b.x=h(m))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||d(e)}function x(e,n){var o;void 0===n&&(n=[]);var i=function e(t){return["html","body","#document"].indexOf(l(t))>=0?t.ownerDocument.body:r(t)&&v(t)?t:e(b(t))}(e),a=i===(null==(o=e.ownerDocument)?void 0:o.body),s=t(i),f=a?[s].concat(s.visualViewport||[],v(i)?i:[]):i,c=n.concat(f);return a?c:c.concat(x(b(f)))}function w(e){return["table","td","th"].indexOf(l(e))>=0}function O(e){return r(e)&&"fixed"!==m(e).position?e.offsetParent:null}function j(e){for(var n=t(e),i=O(e);i&&w(i)&&"static"===m(i).position;)i=O(i);return i&&("html"===l(i)||"body"===l(i)&&"static"===m(i).position)?n:i||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&r(e)&&"fixed"===m(e).position)return null;var n=b(e);for(o(n)&&(n=n.host);r(n)&&["html","body"].indexOf(l(n))<0;){var i=m(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var E="top",D="bottom",A="right",L="left",P="auto",M=[E,D,A,L],k="start",W="end",B="clippingParents",H="viewport",T="popper",R="reference",S=M.reduce(function(e,t){return e.concat([t+"-"+k,t+"-"+W])},[]),V=[].concat(M,[P]).reduce(function(e,t){return e.concat([t,t+"-"+k,t+"-"+W])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(e){var t=new Map,n=new Set,r=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}}),r.push(o)}(e)}),r}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _(e,r,o){return r===H?I(function(e,n){var r=t(e),o=d(e),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,p=0;if(i){a=i.width,s=i.height;var u=c();(u||!u&&"fixed"===n)&&(f=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:f+h(e),y:p}}(e,o)):n(r)?function(e,t){var n=p(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(r,o):I(function(e){var t,n=d(e),r=u(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===m(o||n).direction&&(f+=i(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:c}}(d(e)))}function F(e,t,o,s){var f="clippingParents"===t?function(e){var t=x(b(e)),o=["absolute","fixed"].indexOf(m(e).position)>=0&&r(e)?j(e):e;return n(o)?t.filter(function(e){return n(e)&&N(e,o)&&"body"!==l(e)}):[]}(e):[].concat(t),c=[].concat(f,[o]),p=c[0],u=c.reduce(function(t,n){var r=_(e,n,s);return t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t},_(e,p,s));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function U(e){return e.split("-")[0]}function z(e){return e.split("-")[1]}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?U(o):null,a=o?z(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case E:t={x:s,y:n.y-r.height};break;case D:t={x:s,y:n.y+n.height};break;case A:t={x:n.x+n.width,y:f};break;case L:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?X(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case k:t[c]=t[c]-(n[p]/2-r[p]/2);break;case W:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function G(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function K(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,a=r.strategy,s=void 0===a?e.strategy:a,f=r.boundary,c=void 0===f?B:f,u=r.rootBoundary,l=void 0===u?H:u,h=r.elementContext,m=void 0===h?T:h,v=r.altBoundary,y=void 0!==v&&v,g=r.padding,b=void 0===g?0:g,x=G("number"!=typeof b?b:J(b,M)),w=m===T?R:T,O=e.rects.popper,j=e.elements[y?w:m],L=F(n(j)?j:j.contextElement||d(e.elements.popper),c,l,s),P=p(e.elements.reference),k=Y({reference:P,element:O,strategy:"absolute",placement:i}),W=I(Object.assign({},O,k)),S=m===T?W:P,V={top:L.top-S.top+x.top,bottom:S.bottom-L.bottom+x.bottom,left:L.left-S.left+x.left,right:S.right-L.right+x.right},q=e.modifiersData.offset;if(m===T&&q){var C=q[i];Object.keys(V).forEach(function(e){var t=[A,D].indexOf(e)>=0?1:-1,n=[E,D].indexOf(e)>=0?"y":"x";V[e]+=C[n]*t})}return V}var Q={placement:"bottom",modifiers:[],strategy:"absolute"};function Z(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function $(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,o=void 0===r?[]:r,i=t.defaultOptions,a=void 0===i?Q:i;return function(e,t,r){void 0===r&&(r=a);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Q,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:f,setOptions:function(r){var i="function"==typeof r?r(f.options):r;l(),f.options=Object.assign({},a,f.options,i),f.scrollParents={reference:n(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var s,p,d=function(e){var t=C(e);return q.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(o,f.options.modifiers),p=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(p).map(function(e){return p[e]})));return f.orderedModifiers=d.filter(function(e){return e.enabled}),f.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:f,name:t,instance:u,options:r});c.push(i||function(){})}}),u.update()},forceUpdate:function(){if(!p){var e=f.elements,t=e.reference,n=e.popper;if(Z(t,n)){f.rects={reference:y(t,j(n),"fixed"===f.options.strategy),popper:g(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(e){return f.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,c=o.name;"function"==typeof i&&(f=i({state:f,options:s,name:c,instance:u})||f)}else f.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(f)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})),s}),destroy:function(){l(),p=!0}};if(!Z(e,t))return u;function l(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(r).then(function(e){!p&&r.onFirstUpdate&&r.onFirstUpdate(e)}),u}}var ee={passive:!0};var te={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,r=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,f=void 0===s||s,c=t(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&p.forEach(function(e){e.addEventListener("scroll",r.update,ee)}),f&&c.addEventListener("resize",r.update,ee),function(){a&&p.forEach(function(e){e.removeEventListener("scroll",r.update,ee)}),f&&c.removeEventListener("resize",r.update,ee)}},data:{}};var ne={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oe(e){var n,r=e.popper,o=e.popperRect,i=e.placement,a=e.variation,f=e.offsets,c=e.position,p=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,h=e.isFixed,v=f.x,y=void 0===v?0:v,g=f.y,b=void 0===g?0:g,x="function"==typeof l?l({x:y,y:b}):{x:y,y:b};y=x.x,b=x.y;var w=f.hasOwnProperty("x"),O=f.hasOwnProperty("y"),P=L,M=E,k=window;if(u){var B=j(r),H="clientHeight",T="clientWidth";if(B===t(r)&&"static"!==m(B=d(r)).position&&"absolute"===c&&(H="scrollHeight",T="scrollWidth"),B=B,i===E||(i===L||i===A)&&a===W)M=D,b-=(h&&B===k&&k.visualViewport?k.visualViewport.height:B[H])-o.height,b*=p?1:-1;if(i===L||(i===E||i===D)&&a===W)P=A,y-=(h&&B===k&&k.visualViewport?k.visualViewport.width:B[T])-o.width,y*=p?1:-1}var R,S=Object.assign({position:c},u&&re),V=!0===l?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:s(n*o)/o||0,y:s(r*o)/o||0}}({x:y,y:b},t(r)):{x:y,y:b};return y=V.x,b=V.y,p?Object.assign({},S,((R={})[M]=O?"0":"",R[P]=w?"0":"",R.transform=(k.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",R)):Object.assign({},S,((n={})[M]=O?b+"px":"",n[P]=w?y+"px":"",n.transform="",n))}var ie={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:U(t.placement),variation:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,oe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,oe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ae={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];r(i)&&l(i)&&(Object.assign(i.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});r(o)&&l(o)&&(Object.assign(o.style,a),Object.keys(i).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]};var se={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=V.reduce(function(e,n){return e[n]=function(e,t,n){var r=U(e),o=[L,E].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,A].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},fe={left:"right",right:"left",bottom:"top",top:"bottom"};function ce(e){return e.replace(/left|right|bottom|top/g,function(e){return fe[e]})}var pe={start:"end",end:"start"};function ue(e){return e.replace(/start|end/g,function(e){return pe[e]})}function le(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?V:f,p=z(r),u=p?s?S:S.filter(function(e){return z(e)===p}):M,l=u.filter(function(e){return c.indexOf(e)>=0});0===l.length&&(l=u);var d=l.reduce(function(t,n){return t[n]=K(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[U(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var de={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,y=U(v),g=f||(y!==v&&h?function(e){if(U(e)===P)return[];var t=ce(e);return[ue(e),t,ue(t)]}(v):[ce(v)]),b=[v].concat(g).reduce(function(e,n){return e.concat(U(n)===P?le(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,w=t.rects.popper,O=new Map,j=!0,M=b[0],W=0;W<b.length;W++){var B=b[W],H=U(B),T=z(B)===k,R=[E,D].indexOf(H)>=0,S=R?"width":"height",V=K(t,{placement:B,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),q=R?T?A:L:T?D:E;x[S]>w[S]&&(q=ce(q));var C=ce(q),N=[];if(i&&N.push(V[H]<=0),s&&N.push(V[q]<=0,V[C]<=0),N.every(function(e){return e})){M=B,j=!1;break}O.set(B,N)}if(j)for(var I=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return M=t,"break"},_=h?3:1;_>0&&"break"!==I(_);_--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function he(e,t,n){return i(e,a(t,n))}var me={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,f=n.altAxis,c=void 0!==f&&f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,b=K(t,{boundary:p,rootBoundary:u,padding:d,altBoundary:l}),x=U(t.placement),w=z(t.placement),O=!w,P=X(x),M="x"===P?"y":"x",W=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,R="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(W){if(s){var q,C="y"===P?E:L,N="y"===P?D:A,I="y"===P?"height":"width",_=W[P],F=_+b[C],Y=_-b[N],G=m?-H[I]/2:0,J=w===k?B[I]:H[I],Q=w===k?-H[I]:-B[I],Z=t.elements.arrow,$=m&&Z?g(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[C],ne=ee[N],re=he(0,B[I],$[I]),oe=O?B[I]/2-G-re-te-R.mainAxis:J-re-te-R.mainAxis,ie=O?-B[I]/2+G+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&&j(t.elements.arrow),se=ae?"y"===P?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(q=null==S?void 0:S[P])?q:0,ce=_+ie-fe,pe=he(m?a(F,_+oe-fe-se):F,_,m?i(Y,ce):Y);W[P]=pe,V[P]=pe-_}if(c){var ue,le="x"===P?E:L,de="x"===P?D:A,me=W[M],ve="y"===M?"height":"width",ye=me+b[le],ge=me-b[de],be=-1!==[E,L].indexOf(x),xe=null!=(ue=null==S?void 0:S[M])?ue:0,we=be?ye:me-B[ve]-H[ve]-xe+R.altAxis,Oe=be?me+B[ve]+H[ve]-xe-R.altAxis:ge,je=m&&be?function(e,t,n){var r=he(e,t,n);return r>n?n:r}(we,me,Oe):he(m?we:ye,me,m?Oe:ge);W[M]=je,V[M]=je-me}t.modifiersData[r]=V}},requiresIfExists:["offset"]},ve=function(e,t){return G("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,M))};var ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=U(n.placement),f=X(s),c=[L,A].indexOf(s)>=0?"height":"width";if(i&&a){var p=ve(o.padding,n),u=g(i),l="y"===f?E:L,d="y"===f?D:A,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],v=j(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,b=h/2-m/2,x=p[l],w=y-u[c]-p[d],O=y/2-u[c]/2+b,P=he(x,O,w),M=f;n.modifiersData[r]=((t={})[M]=P,t.centerOffset=P-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ge(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[E,A,D,L].some(function(t){return e[t]>=0})}var xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=K(t,{elementContext:"reference"}),s=K(t,{altBoundary:!0}),f=ge(a,r),c=ge(s,o,i),p=be(f),u=be(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}},we=$({defaultModifiers:[te,ne,ie,ae]}),Oe=[te,ne,ie,ae,se,de,me,ye,xe],je=$({defaultModifiers:Oe});e.applyStyles=ae,e.arrow=ye,e.computeStyles=ie,e.createPopper=je,e.createPopperLite=we,e.defaultModifiers=Oe,e.detectOverflow=K,e.eventListeners=te,e.flip=de,e.hide=xe,e.offset=se,e.popperGenerator=$,e.popperOffsets=ne,e.preventOverflow=me,Object.defineProperty(e,"__esModule",{value:!0})});
!function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e(require("@popperjs/core")) : "function" == typeof define && define.amd ? define(["@popperjs/core"], e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = e(t.Popper) }(this, function (t) { "use strict"; function e(t) { const e = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } }); if (t) for (const i in t) if ("default" !== i) { const s = Object.getOwnPropertyDescriptor(t, i); Object.defineProperty(e, i, s.get ? s : { enumerable: !0, get: () => t[i] }) } return e.default = t, Object.freeze(e) } const i = e(t), s = new Map, n = { set(t, e, i) { s.has(t) || s.set(t, new Map); const n = s.get(t); n.has(e) || 0 === n.size ? n.set(e, i) : console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`) }, get: (t, e) => s.has(t) && s.get(t).get(e) || null, remove(t, e) { if (!s.has(t)) return; const i = s.get(t); i.delete(e), 0 === i.size && s.delete(t) } }, o = t => (t && window.CSS && window.CSS.escape && (t = t.replace(/#([^\s"#']+)/g, (t, e) => `#${CSS.escape(e)}`)), t), r = t => null == t ? `${t}` : Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(), a = t => { do { t += Math.floor(1e6 * Math.random()) } while (document.getElementById(t)); return t }, l = t => { t.dispatchEvent(new Event("transitionend")) }, c = t => !(!t || "object" != typeof t) && (void 0 !== t.jquery && (t = t[0]), void 0 !== t.nodeType), h = t => c(t) ? t.jquery ? t[0] : t : "string" == typeof t && t.length > 0 ? document.querySelector(o(t)) : null, d = t => { if (!c(t) || 0 === t.getClientRects().length) return !1; const e = "visible" === getComputedStyle(t).getPropertyValue("visibility"), i = t.closest("details:not([open])"); if (!i) return e; if (i !== t) { const e = t.closest("summary"); if (e && e.parentNode !== i) return !1; if (null === e) return !1 } return e }, u = t => !t || t.nodeType !== Node.ELEMENT_NODE || (!!t.classList.contains("disabled") || (void 0 !== t.disabled ? t.disabled : t.hasAttribute("disabled") && "false" !== t.getAttribute("disabled"))), _ = t => { if (!document.documentElement.attachShadow) return null; if ("function" == typeof t.getRootNode) { const e = t.getRootNode(); return e instanceof ShadowRoot ? e : null } return t instanceof ShadowRoot ? t : t.parentNode ? _(t.parentNode) : null }, g = () => { }, f = t => { t.offsetHeight }, m = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, p = [], b = () => "rtl" === document.documentElement.dir, v = t => { (t => { "loading" === document.readyState ? (p.length || document.addEventListener("DOMContentLoaded", () => { for (const t of p) t() }), p.push(t)) : t() })(() => { const e = m(); if (e) { const i = t.NAME, s = e.fn[i]; e.fn[i] = t.jQueryInterface, e.fn[i].Constructor = t, e.fn[i].noConflict = (() => (e.fn[i] = s, t.jQueryInterface)) } }) }, y = (t, e = [], i = t) => "function" == typeof t ? t(...e) : i, w = (t, e, i = !0) => { if (!i) return void y(t); const s = (t => { if (!t) return 0; let { transitionDuration: e, transitionDelay: i } = window.getComputedStyle(t); const s = Number.parseFloat(e), n = Number.parseFloat(i); return s || n ? (e = e.split(",")[0], i = i.split(",")[0], 1e3 * (Number.parseFloat(e) + Number.parseFloat(i))) : 0 })(e) + 5; let n = !1; const o = ({ target: i }) => { i === e && (n = !0, e.removeEventListener("transitionend", o), y(t)) }; e.addEventListener("transitionend", o), setTimeout(() => { n || l(e) }, s) }, A = (t, e, i, s) => { const n = t.length; let o = t.indexOf(e); return -1 === o ? !i && s ? t[n - 1] : t[0] : (o += i ? 1 : -1, s && (o = (o + n) % n), t[Math.max(0, Math.min(o, n - 1))]) }, E = /[^.]*(?=\..*)\.|.*/, C = /\..*/, T = /::\d+$/, k = {}; let S = 1; const L = { mouseenter: "mouseover", mouseleave: "mouseout" }, O = new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]); function I(t, e) { return e && `${e}::${S++}` || t.uidEvent || S++ } function D(t) { const e = I(t); return t.uidEvent = e, k[e] = k[e] || {}, k[e] } function N(t, e, i = null) { return Object.values(t).find(t => t.callable === e && t.delegationSelector === i) } function P(t, e, i) { const s = "string" == typeof e, n = s ? i : e || i; let o = j(t); return O.has(o) || (o = t), [s, n, o] } function x(t, e, i, s, n) { if ("string" != typeof e || !t) return; let [o, r, a] = P(e, i, s); if (e in L) { r = (t => (function (e) { if (!e.relatedTarget || e.relatedTarget !== e.delegateTarget && !e.delegateTarget.contains(e.relatedTarget)) return t.call(this, e) }))(r) } const l = D(t), c = l[a] || (l[a] = {}), h = N(c, r, o ? i : null); if (h) return void (h.oneOff = h.oneOff && n); const d = I(r, e.replace(E, "")), u = o ? function (t, e, i) { return function s(n) { const o = t.querySelectorAll(e); for (let { target: r } = n; r && r !== this; r = r.parentNode)for (const a of o) if (a === r) return z(n, { delegateTarget: r }), s.oneOff && F.off(t, n.type, e, i), i.apply(r, [n]) } }(t, i, r) : function (t, e) { return function i(s) { return z(s, { delegateTarget: t }), i.oneOff && F.off(t, s.type, e), e.apply(t, [s]) } }(t, r); u.delegationSelector = o ? i : null, u.callable = r, u.oneOff = n, u.uidEvent = d, c[d] = u, t.addEventListener(a, u, o) } function M(t, e, i, s, n) { const o = N(e[i], s, n); o && (t.removeEventListener(i, o, Boolean(n)), delete e[i][o.uidEvent]) } function $(t, e, i, s) { const n = e[i] || {}; for (const [o, r] of Object.entries(n)) o.includes(s) && M(t, e, i, r.callable, r.delegationSelector) } function j(t) { return t = t.replace(C, ""), L[t] || t } const F = { on(t, e, i, s) { x(t, e, i, s, !1) }, one(t, e, i, s) { x(t, e, i, s, !0) }, off(t, e, i, s) { if ("string" != typeof e || !t) return; const [n, o, r] = P(e, i, s), a = r !== e, l = D(t), c = l[r] || {}, h = e.startsWith("."); if (void 0 === o) { if (h) for (const i of Object.keys(l)) $(t, l, i, e.slice(1)); for (const [i, s] of Object.entries(c)) { const n = i.replace(T, ""); a && !e.includes(n) || M(t, l, r, s.callable, s.delegationSelector) } } else { if (!Object.keys(c).length) return; M(t, l, r, o, n ? i : null) } }, trigger(t, e, i) { if ("string" != typeof e || !t) return null; const s = m(); let n = null, o = !0, r = !0, a = !1; e !== j(e) && s && (n = s.Event(e, i), s(t).trigger(n), o = !n.isPropagationStopped(), r = !n.isImmediatePropagationStopped(), a = n.isDefaultPrevented()); const l = z(new Event(e, { bubbles: o, cancelable: !0 }), i); return a && l.preventDefault(), r && t.dispatchEvent(l), l.defaultPrevented && n && n.preventDefault(), l } }; function z(t, e = {}) { for (const [i, s] of Object.entries(e)) try { t[i] = s } catch (e) { Object.defineProperty(t, i, { configurable: !0, get: () => s }) } return t } function H(t) { if ("true" === t) return !0; if ("false" === t) return !1; if (t === Number(t).toString()) return Number(t); if ("" === t || "null" === t) return null; if ("string" != typeof t) return t; try { return JSON.parse(decodeURIComponent(t)) } catch (e) { return t } } function B(t) { return t.replace(/[A-Z]/g, t => `-${t.toLowerCase()}`) } const q = { setDataAttribute(t, e, i) { t.setAttribute(`data-bs-${B(e)}`, i) }, removeDataAttribute(t, e) { t.removeAttribute(`data-bs-${B(e)}`) }, getDataAttributes(t) { if (!t) return {}; const e = {}, i = Object.keys(t.dataset).filter(t => t.startsWith("bs") && !t.startsWith("bsConfig")); for (const s of i) { let i = s.replace(/^bs/, ""); e[i = i.charAt(0).toLowerCase() + i.slice(1, i.length)] = H(t.dataset[s]) } return e }, getDataAttribute: (t, e) => H(t.getAttribute(`data-bs-${B(e)}`)) }; class W { static get Default() { return {} } static get DefaultType() { return {} } static get NAME() { throw new Error('You have to implement the static method "NAME", for each component!') } _getConfig(t) { return t = this._mergeConfigObj(t), t = this._configAfterMerge(t), this._typeCheckConfig(t), t } _configAfterMerge(t) { return t } _mergeConfigObj(t, e) { const i = c(e) ? q.getDataAttribute(e, "config") : {}; return { ...this.constructor.Default, ..."object" == typeof i ? i : {}, ...c(e) ? q.getDataAttributes(e) : {}, ..."object" == typeof t ? t : {} } } _typeCheckConfig(t, e = this.constructor.DefaultType) { for (const [i, s] of Object.entries(e)) { const e = t[i], n = c(e) ? "element" : r(e); if (!new RegExp(s).test(n)) throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${n}" but expected type "${s}".`) } } } const R = "5.3.2"; class K extends W { constructor(t, e) { super(), (t = h(t)) && (this._element = t, this._config = this._getConfig(e), n.set(this._element, this.constructor.DATA_KEY, this)) } dispose() { n.remove(this._element, this.constructor.DATA_KEY), F.off(this._element, this.constructor.EVENT_KEY); for (const t of Object.getOwnPropertyNames(this)) this[t] = null } _queueCallback(t, e, i = !0) { w(t, e, i) } _getConfig(t) { return t = this._mergeConfigObj(t, this._element), t = this._configAfterMerge(t), this._typeCheckConfig(t), t } static getInstance(t) { return n.get(h(t), this.DATA_KEY) } static getOrCreateInstance(t, e = {}) { return this.getInstance(t) || new this(t, "object" == typeof e ? e : null) } static get VERSION() { return R } static get DATA_KEY() { return `bs.${this.NAME}` } static get EVENT_KEY() { return `.${this.DATA_KEY}` } static eventName(t) { return `${t}${this.EVENT_KEY}` } } const V = t => { let e = t.getAttribute("data-bs-target"); if (!e || "#" === e) { let i = t.getAttribute("href"); if (!i || !i.includes("#") && !i.startsWith(".")) return null; i.includes("#") && !i.startsWith("#") && (i = `#${i.split("#")[1]}`), e = i && "#" !== i ? o(i.trim()) : null } return e }, Q = { find: (t, e = document.documentElement) => [].concat(...Element.prototype.querySelectorAll.call(e, t)), findOne: (t, e = document.documentElement) => Element.prototype.querySelector.call(e, t), children: (t, e) => [].concat(...t.children).filter(t => t.matches(e)), parents(t, e) { const i = []; let s = t.parentNode.closest(e); for (; s;)i.push(s), s = s.parentNode.closest(e); return i }, prev(t, e) { let i = t.previousElementSibling; for (; i;) { if (i.matches(e)) return [i]; i = i.previousElementSibling } return [] }, next(t, e) { let i = t.nextElementSibling; for (; i;) { if (i.matches(e)) return [i]; i = i.nextElementSibling } return [] }, focusableChildren(t) { const e = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'].map(t => `${t}:not([tabindex^="-"])`).join(","); return this.find(e, t).filter(t => !u(t) && d(t)) }, getSelectorFromElement(t) { const e = V(t); return e && Q.findOne(e) ? e : null }, getElementFromSelector(t) { const e = V(t); return e ? Q.findOne(e) : null }, getMultipleElementsFromSelector(t) { const e = V(t); return e ? Q.find(e) : [] } }, X = (t, e = "hide") => { const i = `click.dismiss${t.EVENT_KEY}`, s = t.NAME; F.on(document, i, `[data-bs-dismiss="${s}"]`, function (i) { if (["A", "AREA"].includes(this.tagName) && i.preventDefault(), u(this)) return; const n = Q.getElementFromSelector(this) || this.closest(`.${s}`); t.getOrCreateInstance(n)[e]() }) }, Y = "alert", U = "close.bs.alert", G = "closed.bs.alert", J = "fade", Z = "show"; class tt extends K { static get NAME() { return Y } close() { if (F.trigger(this._element, U).defaultPrevented) return; this._element.classList.remove(Z); const t = this._element.classList.contains(J); this._queueCallback(() => this._destroyElement(), this._element, t) } _destroyElement() { this._element.remove(), F.trigger(this._element, G), this.dispose() } static jQueryInterface(t) { return this.each(function () { const e = tt.getOrCreateInstance(this); if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t](this) } }) } } X(tt, "close"), v(tt); const et = "button", it = "active"; class st extends K { static get NAME() { return et } toggle() { this._element.setAttribute("aria-pressed", this._element.classList.toggle(it)) } static jQueryInterface(t) { return this.each(function () { const e = st.getOrCreateInstance(this); "toggle" === t && e[t]() }) } } F.on(document, "click.bs.button.data-api", '[data-bs-toggle="button"]', t => { t.preventDefault(); const e = t.target.closest('[data-bs-toggle="button"]'); st.getOrCreateInstance(e).toggle() }), v(st); const nt = "swipe", ot = ".bs.swipe", rt = `touchstart${ot}`, at = `touchmove${ot}`, lt = `touchend${ot}`, ct = `pointerdown${ot}`, ht = `pointerup${ot}`, dt = "touch", ut = "pen", _t = "pointer-event", gt = 40, ft = { endCallback: null, leftCallback: null, rightCallback: null }, mt = { endCallback: "(function|null)", leftCallback: "(function|null)", rightCallback: "(function|null)" }; class pt extends W { constructor(t, e) { super(), this._element = t, t && pt.isSupported() && (this._config = this._getConfig(e), this._deltaX = 0, this._supportPointerEvents = Boolean(window.PointerEvent), this._initEvents()) } static get Default() { return ft } static get DefaultType() { return mt } static get NAME() { return nt } dispose() { F.off(this._element, ot) } _start(t) { this._supportPointerEvents ? this._eventIsPointerPenTouch(t) && (this._deltaX = t.clientX) : this._deltaX = t.touches[0].clientX } _end(t) { this._eventIsPointerPenTouch(t) && (this._deltaX = t.clientX - this._deltaX), this._handleSwipe(), y(this._config.endCallback) } _move(t) { this._deltaX = t.touches && t.touches.length > 1 ? 0 : t.touches[0].clientX - this._deltaX } _handleSwipe() { const t = Math.abs(this._deltaX); if (t <= gt) return; const e = t / this._deltaX; this._deltaX = 0, e && y(e > 0 ? this._config.rightCallback : this._config.leftCallback) } _initEvents() { this._supportPointerEvents ? (F.on(this._element, ct, t => this._start(t)), F.on(this._element, ht, t => this._end(t)), this._element.classList.add(_t)) : (F.on(this._element, rt, t => this._start(t)), F.on(this._element, at, t => this._move(t)), F.on(this._element, lt, t => this._end(t))) } _eventIsPointerPenTouch(t) { return this._supportPointerEvents && (t.pointerType === ut || t.pointerType === dt) } static isSupported() { return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0 } } const bt = "carousel", vt = 500, yt = "next", wt = "prev", At = "left", Et = "right", Ct = "slide.bs.carousel", Tt = "slid.bs.carousel", kt = "keydown.bs.carousel", St = "mouseenter.bs.carousel", Lt = "mouseleave.bs.carousel", Ot = "dragstart.bs.carousel", It = "carousel", Dt = "active", Nt = "slide", Pt = "carousel-item-end", xt = "carousel-item-start", Mt = "carousel-item-next", $t = "carousel-item-prev", jt = ".active", Ft = ".carousel-item", zt = jt + Ft, Ht = ".carousel-item img", Bt = ".carousel-indicators", qt = { ArrowLeft: Et, ArrowRight: At }, Wt = { interval: 5e3, keyboard: !0, pause: "hover", ride: !1, touch: !0, wrap: !0 }, Rt = { interval: "(number|boolean)", keyboard: "boolean", pause: "(string|boolean)", ride: "(boolean|string)", touch: "boolean", wrap: "boolean" }; class Kt extends K { constructor(t, e) { super(t, e), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = Q.findOne(Bt, this._element), this._addEventListeners(), this._config.ride === It && this.cycle() } static get Default() { return Wt } static get DefaultType() { return Rt } static get NAME() { return bt } next() { this._slide(yt) } nextWhenVisible() { !document.hidden && d(this._element) && this.next() } prev() { this._slide(wt) } pause() { this._isSliding && l(this._element), this._clearInterval() } cycle() { this._clearInterval(), this._updateInterval(), this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval) } _maybeEnableCycle() { this._config.ride && (this._isSliding ? F.one(this._element, Tt, () => this.cycle()) : this.cycle()) } to(t) { const e = this._getItems(); if (t > e.length - 1 || t < 0) return; if (this._isSliding) return void F.one(this._element, Tt, () => this.to(t)); const i = this._getItemIndex(this._getActive()); if (i === t) return; const s = t > i ? yt : wt; this._slide(s, e[t]) } dispose() { this._swipeHelper && this._swipeHelper.dispose(), super.dispose() } _configAfterMerge(t) { return t.defaultInterval = t.interval, t } _addEventListeners() { this._config.keyboard && F.on(this._element, kt, t => this._keydown(t)), "hover" === this._config.pause && (F.on(this._element, St, () => this.pause()), F.on(this._element, Lt, () => this._maybeEnableCycle())), this._config.touch && pt.isSupported() && this._addTouchEventListeners() } _addTouchEventListeners() { for (const t of Q.find(Ht, this._element)) F.on(t, Ot, t => t.preventDefault()); const t = { leftCallback: () => this._slide(this._directionToOrder(At)), rightCallback: () => this._slide(this._directionToOrder(Et)), endCallback: () => { "hover" === this._config.pause && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), vt + this._config.interval)) } }; this._swipeHelper = new pt(this._element, t) } _keydown(t) { if (/input|textarea/i.test(t.target.tagName)) return; const e = qt[t.key]; e && (t.preventDefault(), this._slide(this._directionToOrder(e))) } _getItemIndex(t) { return this._getItems().indexOf(t) } _setActiveIndicatorElement(t) { if (!this._indicatorsElement) return; const e = Q.findOne(jt, this._indicatorsElement); e.classList.remove(Dt), e.removeAttribute("aria-current"); const i = Q.findOne(`[data-bs-slide-to="${t}"]`, this._indicatorsElement); i && (i.classList.add(Dt), i.setAttribute("aria-current", "true")) } _updateInterval() { const t = this._activeElement || this._getActive(); if (!t) return; const e = Number.parseInt(t.getAttribute("data-bs-interval"), 10); this._config.interval = e || this._config.defaultInterval } _slide(t, e = null) { if (this._isSliding) return; const i = this._getActive(), s = t === yt, n = e || A(this._getItems(), i, s, this._config.wrap); if (n === i) return; const o = this._getItemIndex(n), r = e => F.trigger(this._element, e, { relatedTarget: n, direction: this._orderToDirection(t), from: this._getItemIndex(i), to: o }); if (r(Ct).defaultPrevented) return; if (!i || !n) return; const a = Boolean(this._interval); this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(o), this._activeElement = n; const l = s ? xt : Pt, c = s ? Mt : $t; n.classList.add(c), f(n), i.classList.add(l), n.classList.add(l); this._queueCallback(() => { n.classList.remove(l, c), n.classList.add(Dt), i.classList.remove(Dt, c, l), this._isSliding = !1, r(Tt) }, i, this._isAnimated()), a && this.cycle() } _isAnimated() { return this._element.classList.contains(Nt) } _getActive() { return Q.findOne(zt, this._element) } _getItems() { return Q.find(Ft, this._element) } _clearInterval() { this._interval && (clearInterval(this._interval), this._interval = null) } _directionToOrder(t) { return b() ? t === At ? wt : yt : t === At ? yt : wt } _orderToDirection(t) { return b() ? t === wt ? At : Et : t === wt ? Et : At } static jQueryInterface(t) { return this.each(function () { const e = Kt.getOrCreateInstance(this, t); if ("number" != typeof t) { if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t]() } } else e.to(t) }) } } F.on(document, "click.bs.carousel.data-api", "[data-bs-slide], [data-bs-slide-to]", function (t) { const e = Q.getElementFromSelector(this); if (!e || !e.classList.contains(It)) return; t.preventDefault(); const i = Kt.getOrCreateInstance(e), s = this.getAttribute("data-bs-slide-to"); return s ? (i.to(s), void i._maybeEnableCycle()) : "next" === q.getDataAttribute(this, "slide") ? (i.next(), void i._maybeEnableCycle()) : (i.prev(), void i._maybeEnableCycle()) }), F.on(window, "load.bs.carousel.data-api", () => { const t = Q.find('[data-bs-ride="carousel"]'); for (const e of t) Kt.getOrCreateInstance(e) }), v(Kt); const Vt = "collapse", Qt = "show.bs.collapse", Xt = "shown.bs.collapse", Yt = "hide.bs.collapse", Ut = "hidden.bs.collapse", Gt = "show", Jt = "collapse", Zt = "collapsing", te = "collapsed", ee = `:scope .${Jt} .${Jt}`, ie = "collapse-horizontal", se = "width", ne = "height", oe = ".collapse.show, .collapse.collapsing", re = '[data-bs-toggle="collapse"]', ae = { parent: null, toggle: !0 }, le = { parent: "(null|element)", toggle: "boolean" }; class ce extends K { constructor(t, e) { super(t, e), this._isTransitioning = !1, this._triggerArray = []; const i = Q.find(re); for (const t of i) { const e = Q.getSelectorFromElement(t), i = Q.find(e).filter(t => t === this._element); null !== e && i.length && this._triggerArray.push(t) } this._initializeChildren(), this._config.parent || this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()), this._config.toggle && this.toggle() } static get Default() { return ae } static get DefaultType() { return le } static get NAME() { return Vt } toggle() { this._isShown() ? this.hide() : this.show() } show() { if (this._isTransitioning || this._isShown()) return; let t = []; if (this._config.parent && (t = this._getFirstLevelChildren(oe).filter(t => t !== this._element).map(t => ce.getOrCreateInstance(t, { toggle: !1 }))), t.length && t[0]._isTransitioning) return; if (F.trigger(this._element, Qt).defaultPrevented) return; for (const e of t) e.hide(); const e = this._getDimension(); this._element.classList.remove(Jt), this._element.classList.add(Zt), this._element.style[e] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0; const i = `scroll${e[0].toUpperCase() + e.slice(1)}`; this._queueCallback(() => { this._isTransitioning = !1, this._element.classList.remove(Zt), this._element.classList.add(Jt, Gt), this._element.style[e] = "", F.trigger(this._element, Xt) }, this._element, !0), this._element.style[e] = `${this._element[i]}px` } hide() { if (this._isTransitioning || !this._isShown()) return; if (F.trigger(this._element, Yt).defaultPrevented) return; const t = this._getDimension(); this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, f(this._element), this._element.classList.add(Zt), this._element.classList.remove(Jt, Gt); for (const t of this._triggerArray) { const e = Q.getElementFromSelector(t); e && !this._isShown(e) && this._addAriaAndCollapsedClass([t], !1) } this._isTransitioning = !0; this._element.style[t] = "", this._queueCallback(() => { this._isTransitioning = !1, this._element.classList.remove(Zt), this._element.classList.add(Jt), F.trigger(this._element, Ut) }, this._element, !0) } _isShown(t = this._element) { return t.classList.contains(Gt) } _configAfterMerge(t) { return t.toggle = Boolean(t.toggle), t.parent = h(t.parent), t } _getDimension() { return this._element.classList.contains(ie) ? se : ne } _initializeChildren() { if (!this._config.parent) return; const t = this._getFirstLevelChildren(re); for (const e of t) { const t = Q.getElementFromSelector(e); t && this._addAriaAndCollapsedClass([e], this._isShown(t)) } } _getFirstLevelChildren(t) { const e = Q.find(ee, this._config.parent); return Q.find(t, this._config.parent).filter(t => !e.includes(t)) } _addAriaAndCollapsedClass(t, e) { if (t.length) for (const i of t) i.classList.toggle(te, !e), i.setAttribute("aria-expanded", e) } static jQueryInterface(t) { const e = {}; return "string" == typeof t && /show|hide/.test(t) && (e.toggle = !1), this.each(function () { const i = ce.getOrCreateInstance(this, e); if ("string" == typeof t) { if (void 0 === i[t]) throw new TypeError(`No method named "${t}"`); i[t]() } }) } } F.on(document, "click.bs.collapse.data-api", re, function (t) { ("A" === t.target.tagName || t.delegateTarget && "A" === t.delegateTarget.tagName) && t.preventDefault(); for (const t of Q.getMultipleElementsFromSelector(this)) ce.getOrCreateInstance(t, { toggle: !1 }).toggle() }), v(ce); const he = "dropdown", de = "Escape", ue = "Tab", _e = "ArrowUp", ge = "ArrowDown", fe = 2, me = "hide.bs.dropdown", pe = "hidden.bs.dropdown", be = "show.bs.dropdown", ve = "shown.bs.dropdown", ye = "show", we = "dropup", Ae = "dropend", Ee = "dropstart", Ce = "dropup-center", Te = "dropdown-center", ke = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', Se = `${ke}.${ye}`, Le = ".dropdown-menu", Oe = ".navbar", Ie = ".navbar-nav", De = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", Ne = b() ? "top-end" : "top-start", Pe = b() ? "top-start" : "top-end", xe = b() ? "bottom-end" : "bottom-start", Me = b() ? "bottom-start" : "bottom-end", $e = b() ? "left-start" : "right-start", je = b() ? "right-start" : "left-start", Fe = "top", ze = "bottom", He = { autoClose: !0, boundary: "clippingParents", display: "dynamic", offset: [0, 2], popperConfig: null, reference: "toggle" }, Be = { autoClose: "(boolean|string)", boundary: "(string|element)", display: "string", offset: "(array|string|function)", popperConfig: "(null|object|function)", reference: "(string|element|object)" }; class qe extends K { constructor(t, e) { super(t, e), this._popper = null, this._parent = this._element.parentNode, this._menu = Q.next(this._element, Le)[0] || Q.prev(this._element, Le)[0] || Q.findOne(Le, this._parent), this._inNavbar = this._detectNavbar() } static get Default() { return He } static get DefaultType() { return Be } static get NAME() { return he } toggle() { return this._isShown() ? this.hide() : this.show() } show() { if (u(this._element) || this._isShown()) return; const t = { relatedTarget: this._element }; if (!F.trigger(this._element, be, t).defaultPrevented) { if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(Ie)) for (const t of [].concat(...document.body.children)) F.on(t, "mouseover", g); this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(ye), this._element.classList.add(ye), F.trigger(this._element, ve, t) } } hide() { if (u(this._element) || !this._isShown()) return; const t = { relatedTarget: this._element }; this._completeHide(t) } dispose() { this._popper && this._popper.destroy(), super.dispose() } update() { this._inNavbar = this._detectNavbar(), this._popper && this._popper.update() } _completeHide(t) { if (!F.trigger(this._element, me, t).defaultPrevented) { if ("ontouchstart" in document.documentElement) for (const t of [].concat(...document.body.children)) F.off(t, "mouseover", g); this._popper && this._popper.destroy(), this._menu.classList.remove(ye), this._element.classList.remove(ye), this._element.setAttribute("aria-expanded", "false"), q.removeDataAttribute(this._menu, "popper"), F.trigger(this._element, pe, t) } } _getConfig(t) { if ("object" == typeof (t = super._getConfig(t)).reference && !c(t.reference) && "function" != typeof t.reference.getBoundingClientRect) throw new TypeError(`${he.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`); return t } _createPopper() { if (void 0 === i) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); let t = this._element; "parent" === this._config.reference ? t = this._parent : c(this._config.reference) ? t = h(this._config.reference) : "object" == typeof this._config.reference && (t = this._config.reference); const e = this._getPopperConfig(); this._popper = i.createPopper(t, this._menu, e) } _isShown() { return this._menu.classList.contains(ye) } _getPlacement() { const t = this._parent; if (t.classList.contains(Ae)) return $e; if (t.classList.contains(Ee)) return je; if (t.classList.contains(Ce)) return Fe; if (t.classList.contains(Te)) return ze; const e = "end" === getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(); return t.classList.contains(we) ? e ? Pe : Ne : e ? Me : xe } _detectNavbar() { return null !== this._element.closest(Oe) } _getOffset() { const { offset: t } = this._config; return "string" == typeof t ? t.split(",").map(t => Number.parseInt(t, 10)) : "function" == typeof t ? e => t(e, this._element) : t } _getPopperConfig() { const t = { placement: this._getPlacement(), modifiers: [{ name: "preventOverflow", options: { boundary: this._config.boundary } }, { name: "offset", options: { offset: this._getOffset() } }] }; return (this._inNavbar || "static" === this._config.display) && (q.setDataAttribute(this._menu, "popper", "static"), t.modifiers = [{ name: "applyStyles", enabled: !1 }]), { ...t, ...y(this._config.popperConfig, [t]) } } _selectMenuItem({ key: t, target: e }) { const i = Q.find(De, this._menu).filter(t => d(t)); i.length && A(i, e, t === ge, !i.includes(e)).focus() } static jQueryInterface(t) { return this.each(function () { const e = qe.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } }) } static clearMenus(t) { if (t.button === fe || "keyup" === t.type && t.key !== ue) return; const e = Q.find(Se); for (const i of e) { const e = qe.getInstance(i); if (!e || !1 === e._config.autoClose) continue; const s = t.composedPath(), n = s.includes(e._menu); if (s.includes(e._element) || "inside" === e._config.autoClose && !n || "outside" === e._config.autoClose && n) continue; if (e._menu.contains(t.target) && ("keyup" === t.type && t.key === ue || /input|select|option|textarea|form/i.test(t.target.tagName))) continue; const o = { relatedTarget: e._element }; "click" === t.type && (o.clickEvent = t), e._completeHide(o) } } static dataApiKeydownHandler(t) { const e = /input|textarea/i.test(t.target.tagName), i = t.key === de, s = [_e, ge].includes(t.key); if (!s && !i) return; if (e && !i) return; t.preventDefault(); const n = this.matches(ke) ? this : Q.prev(this, ke)[0] || Q.next(this, ke)[0] || Q.findOne(ke, t.delegateTarget.parentNode), o = qe.getOrCreateInstance(n); if (s) return t.stopPropagation(), o.show(), void o._selectMenuItem(t); o._isShown() && (t.stopPropagation(), o.hide(), n.focus()) } } F.on(document, "keydown.bs.dropdown.data-api", ke, qe.dataApiKeydownHandler), F.on(document, "keydown.bs.dropdown.data-api", Le, qe.dataApiKeydownHandler), F.on(document, "click.bs.dropdown.data-api", qe.clearMenus), F.on(document, "keyup.bs.dropdown.data-api", qe.clearMenus), F.on(document, "click.bs.dropdown.data-api", ke, function (t) { t.preventDefault(), qe.getOrCreateInstance(this).toggle() }), v(qe); const We = "backdrop", Re = "fade", Ke = "show", Ve = `mousedown.bs.${We}`, Qe = { className: "modal-backdrop", clickCallback: null, isAnimated: !1, isVisible: !0, rootElement: "body" }, Xe = { className: "string", clickCallback: "(function|null)", isAnimated: "boolean", isVisible: "boolean", rootElement: "(element|string)" }; class Ye extends W { constructor(t) { super(), this._config = this._getConfig(t), this._isAppended = !1, this._element = null } static get Default() { return Qe } static get DefaultType() { return Xe } static get NAME() { return We } show(t) { if (!this._config.isVisible) return void y(t); this._append(); const e = this._getElement(); this._config.isAnimated && f(e), e.classList.add(Ke), this._emulateAnimation(() => { y(t) }) } hide(t) { this._config.isVisible ? (this._getElement().classList.remove(Ke), this._emulateAnimation(() => { this.dispose(), y(t) })) : y(t) } dispose() { this._isAppended && (F.off(this._element, Ve), this._element.remove(), this._isAppended = !1) } _getElement() { if (!this._element) { const t = document.createElement("div"); t.className = this._config.className, this._config.isAnimated && t.classList.add(Re), this._element = t } return this._element } _configAfterMerge(t) { return t.rootElement = h(t.rootElement), t } _append() { if (this._isAppended) return; const t = this._getElement(); this._config.rootElement.append(t), F.on(t, Ve, () => { y(this._config.clickCallback) }), this._isAppended = !0 } _emulateAnimation(t) { w(t, this._getElement(), this._config.isAnimated) } } const Ue = "focustrap", Ge = ".bs.focustrap", Je = `focusin${Ge}`, Ze = `keydown.tab${Ge}`, ti = "Tab", ei = "forward", ii = "backward", si = { autofocus: !0, trapElement: null }, ni = { autofocus: "boolean", trapElement: "element" }; class oi extends W { constructor(t) { super(), this._config = this._getConfig(t), this._isActive = !1, this._lastTabNavDirection = null } static get Default() { return si } static get DefaultType() { return ni } static get NAME() { return Ue } activate() { this._isActive || (this._config.autofocus && this._config.trapElement.focus(), F.off(document, Ge), F.on(document, Je, t => this._handleFocusin(t)), F.on(document, Ze, t => this._handleKeydown(t)), this._isActive = !0) } deactivate() { this._isActive && (this._isActive = !1, F.off(document, Ge)) } _handleFocusin(t) { const { trapElement: e } = this._config; if (t.target === document || t.target === e || e.contains(t.target)) return; const i = Q.focusableChildren(e); 0 === i.length ? e.focus() : this._lastTabNavDirection === ii ? i[i.length - 1].focus() : i[0].focus() } _handleKeydown(t) { t.key === ti && (this._lastTabNavDirection = t.shiftKey ? ii : ei) } } const ri = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", ai = ".sticky-top", li = "padding-right", ci = "margin-right"; class hi { constructor() { this._element = document.body } getWidth() { const t = document.documentElement.clientWidth; return Math.abs(window.innerWidth - t) } hide() { const t = this.getWidth(); this._disableOverFlow(), this._setElementAttributes(this._element, li, e => e + t), this._setElementAttributes(ri, li, e => e + t), this._setElementAttributes(ai, ci, e => e - t) } reset() { this._resetElementAttributes(this._element, "overflow"), this._resetElementAttributes(this._element, li), this._resetElementAttributes(ri, li), this._resetElementAttributes(ai, ci) } isOverflowing() { return this.getWidth() > 0 } _disableOverFlow() { this._saveInitialAttribute(this._element, "overflow"), this._element.style.overflow = "hidden" } _setElementAttributes(t, e, i) { const s = this.getWidth(); this._applyManipulationCallback(t, t => { if (t !== this._element && window.innerWidth > t.clientWidth + s) return; this._saveInitialAttribute(t, e); const n = window.getComputedStyle(t).getPropertyValue(e); t.style.setProperty(e, `${i(Number.parseFloat(n))}px`) }) } _saveInitialAttribute(t, e) { const i = t.style.getPropertyValue(e); i && q.setDataAttribute(t, e, i) } _resetElementAttributes(t, e) { this._applyManipulationCallback(t, t => { const i = q.getDataAttribute(t, e); null !== i ? (q.removeDataAttribute(t, e), t.style.setProperty(e, i)) : t.style.removeProperty(e) }) } _applyManipulationCallback(t, e) { if (c(t)) e(t); else for (const i of Q.find(t, this._element)) e(i) } } const di = "modal", ui = ".bs.modal", _i = "Escape", gi = `hide${ui}`, fi = `hidePrevented${ui}`, mi = `hidden${ui}`, pi = `show${ui}`, bi = `shown${ui}`, vi = `resize${ui}`, yi = `click.dismiss${ui}`, wi = `mousedown.dismiss${ui}`, Ai = `keydown.dismiss${ui}`, Ei = `click${ui}.data-api`, Ci = "modal-open", Ti = "fade", ki = "show", Si = "modal-static", Li = ".modal-dialog", Oi = ".modal-body", Ii = { backdrop: !0, focus: !0, keyboard: !0 }, Di = { backdrop: "(boolean|string)", focus: "boolean", keyboard: "boolean" }; class Ni extends K { constructor(t, e) { super(t, e), this._dialog = Q.findOne(Li, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new hi, this._addEventListeners() } static get Default() { return Ii } static get DefaultType() { return Di } static get NAME() { return di } toggle(t) { return this._isShown ? this.hide() : this.show(t) } show(t) { if (this._isShown || this._isTransitioning) return; F.trigger(this._element, pi, { relatedTarget: t }).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(Ci), this._adjustDialog(), this._backdrop.show(() => this._showElement(t))) } hide() { if (!this._isShown || this._isTransitioning) return; F.trigger(this._element, gi).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(ki), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())) } dispose() { F.off(window, ui), F.off(this._dialog, ui), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose() } handleUpdate() { this._adjustDialog() } _initializeBackDrop() { return new Ye({ isVisible: Boolean(this._config.backdrop), isAnimated: this._isAnimated() }) } _initializeFocusTrap() { return new oi({ trapElement: this._element }) } _showElement(t) { document.body.contains(this._element) || document.body.append(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0; const e = Q.findOne(Oi, this._dialog); e && (e.scrollTop = 0), f(this._element), this._element.classList.add(ki); this._queueCallback(() => { this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, F.trigger(this._element, bi, { relatedTarget: t }) }, this._dialog, this._isAnimated()) } _addEventListeners() { F.on(this._element, Ai, t => { t.key === _i && (this._config.keyboard ? this.hide() : this._triggerBackdropTransition()) }), F.on(window, vi, () => { this._isShown && !this._isTransitioning && this._adjustDialog() }), F.on(this._element, wi, t => { F.one(this._element, yi, e => { this._element === t.target && this._element === e.target && ("static" !== this._config.backdrop ? this._config.backdrop && this.hide() : this._triggerBackdropTransition()) }) }) } _hideModal() { this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._isTransitioning = !1, this._backdrop.hide(() => { document.body.classList.remove(Ci), this._resetAdjustments(), this._scrollBar.reset(), F.trigger(this._element, mi) }) } _isAnimated() { return this._element.classList.contains(Ti) } _triggerBackdropTransition() { if (F.trigger(this._element, fi).defaultPrevented) return; const t = this._element.scrollHeight > document.documentElement.clientHeight, e = this._element.style.overflowY; "hidden" === e || this._element.classList.contains(Si) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(Si), this._queueCallback(() => { this._element.classList.remove(Si), this._queueCallback(() => { this._element.style.overflowY = e }, this._dialog) }, this._dialog), this._element.focus()) } _adjustDialog() { const t = this._element.scrollHeight > document.documentElement.clientHeight, e = this._scrollBar.getWidth(), i = e > 0; if (i && !t) { const t = b() ? "paddingLeft" : "paddingRight"; this._element.style[t] = `${e}px` } if (!i && t) { const t = b() ? "paddingRight" : "paddingLeft"; this._element.style[t] = `${e}px` } } _resetAdjustments() { this._element.style.paddingLeft = "", this._element.style.paddingRight = "" } static jQueryInterface(t, e) { return this.each(function () { const i = Ni.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === i[t]) throw new TypeError(`No method named "${t}"`); i[t](e) } }) } } F.on(document, Ei, '[data-bs-toggle="modal"]', function (t) { const e = Q.getElementFromSelector(this);["A", "AREA"].includes(this.tagName) && t.preventDefault(), F.one(e, pi, t => { t.defaultPrevented || F.one(e, mi, () => { d(this) && this.focus() }) }); const i = Q.findOne(".modal.show"); i && Ni.getInstance(i).hide(), Ni.getOrCreateInstance(e).toggle(this) }), X(Ni), v(Ni); const Pi = "offcanvas", xi = "Escape", Mi = "show", $i = "showing", ji = "hiding", Fi = "offcanvas-backdrop", zi = "show.bs.offcanvas", Hi = "shown.bs.offcanvas", Bi = "hide.bs.offcanvas", qi = "hidePrevented.bs.offcanvas", Wi = "hidden.bs.offcanvas", Ri = "keydown.dismiss.bs.offcanvas", Ki = { backdrop: !0, keyboard: !0, scroll: !1 }, Vi = { backdrop: "(boolean|string)", keyboard: "boolean", scroll: "boolean" }; class Qi extends K { constructor(t, e) { super(t, e), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners() } static get Default() { return Ki } static get DefaultType() { return Vi } static get NAME() { return Pi } toggle(t) { return this._isShown ? this.hide() : this.show(t) } show(t) { if (this._isShown) return; if (F.trigger(this._element, zi, { relatedTarget: t }).defaultPrevented) return; this._isShown = !0, this._backdrop.show(), this._config.scroll || (new hi).hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add($i); this._queueCallback(() => { this._config.scroll && !this._config.backdrop || this._focustrap.activate(), this._element.classList.add(Mi), this._element.classList.remove($i), F.trigger(this._element, Hi, { relatedTarget: t }) }, this._element, !0) } hide() { if (!this._isShown) return; if (F.trigger(this._element, Bi).defaultPrevented) return; this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(ji), this._backdrop.hide(); this._queueCallback(() => { this._element.classList.remove(Mi, ji), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._config.scroll || (new hi).reset(), F.trigger(this._element, Wi) }, this._element, !0) } dispose() { this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose() } _initializeBackDrop() { const t = Boolean(this._config.backdrop); return new Ye({ className: Fi, isVisible: t, isAnimated: !0, rootElement: this._element.parentNode, clickCallback: t ? () => { "static" !== this._config.backdrop ? this.hide() : F.trigger(this._element, qi) } : null }) } _initializeFocusTrap() { return new oi({ trapElement: this._element }) } _addEventListeners() { F.on(this._element, Ri, t => { t.key === xi && (this._config.keyboard ? this.hide() : F.trigger(this._element, qi)) }) } static jQueryInterface(t) { return this.each(function () { const e = Qi.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t](this) } }) } } F.on(document, "click.bs.offcanvas.data-api", '[data-bs-toggle="offcanvas"]', function (t) { const e = Q.getElementFromSelector(this); if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), u(this)) return; F.one(e, Wi, () => { d(this) && this.focus() }); const i = Q.findOne(".offcanvas.show"); i && i !== e && Qi.getInstance(i).hide(), Qi.getOrCreateInstance(e).toggle(this) }), F.on(window, "load.bs.offcanvas.data-api", () => { for (const t of Q.find(".offcanvas.show")) Qi.getOrCreateInstance(t).show() }), F.on(window, "resize.bs.offcanvas", () => { for (const t of Q.find("[aria-modal][class*=show][class*=offcanvas-]")) "fixed" !== getComputedStyle(t).position && Qi.getOrCreateInstance(t).hide() }), X(Qi), v(Qi); const Xi = { "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], a: ["target", "href", "title", "rel"], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ["src", "srcset", "alt", "title", "width", "height"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [] }, Yi = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Ui = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, Gi = (t, e) => { const i = t.nodeName.toLowerCase(); return e.includes(i) ? !Yi.has(i) || Boolean(Ui.test(t.nodeValue)) : e.filter(t => t instanceof RegExp).some(t => t.test(i)) }; const Ji = "TemplateFactory", Zi = { allowList: Xi, content: {}, extraClass: "", html: !1, sanitize: !0, sanitizeFn: null, template: "<div></div>" }, ts = { allowList: "object", content: "object", extraClass: "(string|function)", html: "boolean", sanitize: "boolean", sanitizeFn: "(null|function)", template: "string" }, es = { entry: "(string|element|function|null)", selector: "(string|element)" }; class is extends W { constructor(t) { super(), this._config = this._getConfig(t) } static get Default() { return Zi } static get DefaultType() { return ts } static get NAME() { return Ji } getContent() { return Object.values(this._config.content).map(t => this._resolvePossibleFunction(t)).filter(Boolean) } hasContent() { return this.getContent().length > 0 } changeContent(t) { return this._checkContent(t), this._config.content = { ...this._config.content, ...t }, this } toHtml() { const t = document.createElement("div"); t.innerHTML = this._maybeSanitize(this._config.template); for (const [e, i] of Object.entries(this._config.content)) this._setContent(t, i, e); const e = t.children[0], i = this._resolvePossibleFunction(this._config.extraClass); return i && e.classList.add(...i.split(" ")), e } _typeCheckConfig(t) { super._typeCheckConfig(t), this._checkContent(t.content) } _checkContent(t) { for (const [e, i] of Object.entries(t)) super._typeCheckConfig({ selector: e, entry: i }, es) } _setContent(t, e, i) { const s = Q.findOne(i, t); s && ((e = this._resolvePossibleFunction(e)) ? c(e) ? this._putElementInTemplate(h(e), s) : this._config.html ? s.innerHTML = this._maybeSanitize(e) : s.textContent = e : s.remove()) } _maybeSanitize(t) { return this._config.sanitize ? function (t, e, i) { if (!t.length) return t; if (i && "function" == typeof i) return i(t); const s = (new window.DOMParser).parseFromString(t, "text/html"), n = [].concat(...s.body.querySelectorAll("*")); for (const t of n) { const i = t.nodeName.toLowerCase(); if (!Object.keys(e).includes(i)) { t.remove(); continue } const s = [].concat(...t.attributes), n = [].concat(e["*"] || [], e[i] || []); for (const e of s) Gi(e, n) || t.removeAttribute(e.nodeName) } return s.body.innerHTML }(t, this._config.allowList, this._config.sanitizeFn) : t } _resolvePossibleFunction(t) { return y(t, [this]) } _putElementInTemplate(t, e) { if (this._config.html) return e.innerHTML = "", void e.append(t); e.textContent = t.textContent } } const ss = "tooltip", ns = new Set(["sanitize", "allowList", "sanitizeFn"]), os = "fade", rs = "show", as = ".tooltip-inner", ls = ".modal", cs = "hide.bs.modal", hs = "hover", ds = "focus", us = "click", _s = "manual", gs = "hide", fs = "hidden", ms = "show", ps = "shown", bs = "inserted", vs = "click", ys = "focusin", ws = "focusout", As = "mouseenter", Es = "mouseleave", Cs = { AUTO: "auto", TOP: "top", RIGHT: b() ? "left" : "right", BOTTOM: "bottom", LEFT: b() ? "right" : "left" }, Ts = { allowList: Xi, animation: !0, boundary: "clippingParents", container: !1, customClass: "", delay: 0, fallbackPlacements: ["top", "right", "bottom", "left"], html: !1, offset: [0, 6], placement: "top", popperConfig: null, sanitize: !0, sanitizeFn: null, selector: !1, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', title: "", trigger: "hover focus" }, ks = { allowList: "object", animation: "boolean", boundary: "(string|element)", container: "(string|element|boolean)", customClass: "(string|function)", delay: "(number|object)", fallbackPlacements: "array", html: "boolean", offset: "(array|string|function)", placement: "(string|function)", popperConfig: "(null|object|function)", sanitize: "boolean", sanitizeFn: "(null|function)", selector: "(string|boolean)", template: "string", title: "(string|element|function)", trigger: "string" }; class Ss extends K { constructor(t, e) { if (void 0 === i) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); super(t, e), this._isEnabled = !0, this._timeout = 0, this._isHovered = null, this._activeTrigger = {}, this._popper = null, this._templateFactory = null, this._newContent = null, this.tip = null, this._setListeners(), this._config.selector || this._fixTitle() } static get Default() { return Ts } static get DefaultType() { return ks } static get NAME() { return ss } enable() { this._isEnabled = !0 } disable() { this._isEnabled = !1 } toggleEnabled() { this._isEnabled = !this._isEnabled } toggle() { this._isEnabled && (this._activeTrigger.click = !this._activeTrigger.click, this._isShown() ? this._leave() : this._enter()) } dispose() { clearTimeout(this._timeout), F.off(this._element.closest(ls), cs, this._hideModalHandler), this._element.getAttribute("data-bs-original-title") && this._element.setAttribute("title", this._element.getAttribute("data-bs-original-title")), this._disposePopper(), super.dispose() } show() { if ("none" === this._element.style.display) throw new Error("Please use show on visible elements"); if (!this._isWithContent() || !this._isEnabled) return; const t = F.trigger(this._element, this.constructor.eventName(ms)), e = (_(this._element) || this._element.ownerDocument.documentElement).contains(this._element); if (t.defaultPrevented || !e) return; this._disposePopper(); const i = this._getTipElement(); this._element.setAttribute("aria-describedby", i.getAttribute("id")); const { container: s } = this._config; if (this._element.ownerDocument.documentElement.contains(this.tip) || (s.append(i), F.trigger(this._element, this.constructor.eventName(bs))), this._popper = this._createPopper(i), i.classList.add(rs), "ontouchstart" in document.documentElement) for (const t of [].concat(...document.body.children)) F.on(t, "mouseover", g); this._queueCallback(() => { F.trigger(this._element, this.constructor.eventName(ps)), !1 === this._isHovered && this._leave(), this._isHovered = !1 }, this.tip, this._isAnimated()) } hide() { if (!this._isShown()) return; if (F.trigger(this._element, this.constructor.eventName(gs)).defaultPrevented) return; if (this._getTipElement().classList.remove(rs), "ontouchstart" in document.documentElement) for (const t of [].concat(...document.body.children)) F.off(t, "mouseover", g); this._activeTrigger[us] = !1, this._activeTrigger[ds] = !1, this._activeTrigger[hs] = !1, this._isHovered = null; this._queueCallback(() => { this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), F.trigger(this._element, this.constructor.eventName(fs))) }, this.tip, this._isAnimated()) } update() { this._popper && this._popper.update() } _isWithContent() { return Boolean(this._getTitle()) } _getTipElement() { return this.tip || (this.tip = this._createTipElement(this._newContent || this._getContentForTemplate())), this.tip } _createTipElement(t) { const e = this._getTemplateFactory(t).toHtml(); if (!e) return null; e.classList.remove(os, rs), e.classList.add(`bs-${this.constructor.NAME}-auto`); const i = a(this.constructor.NAME).toString(); return e.setAttribute("id", i), this._isAnimated() && e.classList.add(os), e } setContent(t) { this._newContent = t, this._isShown() && (this._disposePopper(), this.show()) } _getTemplateFactory(t) { return this._templateFactory ? this._templateFactory.changeContent(t) : this._templateFactory = new is({ ...this._config, content: t, extraClass: this._resolvePossibleFunction(this._config.customClass) }), this._templateFactory } _getContentForTemplate() { return { [as]: this._getTitle() } } _getTitle() { return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute("data-bs-original-title") } _initializeOnDelegatedTarget(t) { return this.constructor.getOrCreateInstance(t.delegateTarget, this._getDelegateConfig()) } _isAnimated() { return this._config.animation || this.tip && this.tip.classList.contains(os) } _isShown() { return this.tip && this.tip.classList.contains(rs) } _createPopper(t) { const e = y(this._config.placement, [this, t, this._element]), s = Cs[e.toUpperCase()]; return i.createPopper(this._element, t, this._getPopperConfig(s)) } _getOffset() { const { offset: t } = this._config; return "string" == typeof t ? t.split(",").map(t => Number.parseInt(t, 10)) : "function" == typeof t ? e => t(e, this._element) : t } _resolvePossibleFunction(t) { return y(t, [this._element]) } _getPopperConfig(t) { const e = { placement: t, modifiers: [{ name: "flip", options: { fallbackPlacements: this._config.fallbackPlacements } }, { name: "offset", options: { offset: this._getOffset() } }, { name: "preventOverflow", options: { boundary: this._config.boundary } }, { name: "arrow", options: { element: `.${this.constructor.NAME}-arrow` } }, { name: "preSetPlacement", enabled: !0, phase: "beforeMain", fn: t => { this._getTipElement().setAttribute("data-popper-placement", t.state.placement) } }] }; return { ...e, ...y(this._config.popperConfig, [e]) } } _setListeners() { const t = this._config.trigger.split(" "); for (const e of t) if ("click" === e) F.on(this._element, this.constructor.eventName(vs), this._config.selector, t => { this._initializeOnDelegatedTarget(t).toggle() }); else if (e !== _s) { const t = e === hs ? this.constructor.eventName(As) : this.constructor.eventName(ys), i = e === hs ? this.constructor.eventName(Es) : this.constructor.eventName(ws); F.on(this._element, t, this._config.selector, t => { const e = this._initializeOnDelegatedTarget(t); e._activeTrigger["focusin" === t.type ? ds : hs] = !0, e._enter() }), F.on(this._element, i, this._config.selector, t => { const e = this._initializeOnDelegatedTarget(t); e._activeTrigger["focusout" === t.type ? ds : hs] = e._element.contains(t.relatedTarget), e._leave() }) } this._hideModalHandler = (() => { this._element && this.hide() }), F.on(this._element.closest(ls), cs, this._hideModalHandler) } _fixTitle() { const t = this._element.getAttribute("title"); t && (this._element.getAttribute("aria-label") || this._element.textContent.trim() || this._element.setAttribute("aria-label", t), this._element.setAttribute("data-bs-original-title", t), this._element.removeAttribute("title")) } _enter() { this._isShown() || this._isHovered ? this._isHovered = !0 : (this._isHovered = !0, this._setTimeout(() => { this._isHovered && this.show() }, this._config.delay.show)) } _leave() { this._isWithActiveTrigger() || (this._isHovered = !1, this._setTimeout(() => { this._isHovered || this.hide() }, this._config.delay.hide)) } _setTimeout(t, e) { clearTimeout(this._timeout), this._timeout = setTimeout(t, e) } _isWithActiveTrigger() { return Object.values(this._activeTrigger).includes(!0) } _getConfig(t) { const e = q.getDataAttributes(this._element); for (const t of Object.keys(e)) ns.has(t) && delete e[t]; return t = { ...e, ..."object" == typeof t && t ? t : {} }, t = this._mergeConfigObj(t), t = this._configAfterMerge(t), this._typeCheckConfig(t), t } _configAfterMerge(t) { return t.container = !1 === t.container ? document.body : h(t.container), "number" == typeof t.delay && (t.delay = { show: t.delay, hide: t.delay }), "number" == typeof t.title && (t.title = t.title.toString()), "number" == typeof t.content && (t.content = t.content.toString()), t } _getDelegateConfig() { const t = {}; for (const [e, i] of Object.entries(this._config)) this.constructor.Default[e] !== i && (t[e] = i); return t.selector = !1, t.trigger = "manual", t } _disposePopper() { this._popper && (this._popper.destroy(), this._popper = null), this.tip && (this.tip.remove(), this.tip = null) } static jQueryInterface(t) { return this.each(function () { const e = Ss.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } }) } } v(Ss); const Ls = "popover", Os = ".popover-header", Is = ".popover-body", Ds = { ...Ss.Default, content: "", offset: [0, 8], placement: "right", template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>', trigger: "click" }, Ns = { ...Ss.DefaultType, content: "(null|string|element|function)" }; class Ps extends Ss { static get Default() { return Ds } static get DefaultType() { return Ns } static get NAME() { return Ls } _isWithContent() { return this._getTitle() || this._getContent() } _getContentForTemplate() { return { [Os]: this._getTitle(), [Is]: this._getContent() } } _getContent() { return this._resolvePossibleFunction(this._config.content) } static jQueryInterface(t) { return this.each(function () { const e = Ps.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t]() } }) } } v(Ps); const xs = "scrollspy", Ms = "activate.bs.scrollspy", $s = "click.bs.scrollspy", js = "dropdown-item", Fs = "active", zs = "[href]", Hs = ".nav, .list-group", Bs = ".nav-link, .nav-item > .nav-link, .list-group-item", qs = ".dropdown", Ws = ".dropdown-toggle", Rs = { offset: null, rootMargin: "0px 0px -25%", smoothScroll: !1, target: null, threshold: [.1, .5, 1] }, Ks = { offset: "(number|null)", rootMargin: "string", smoothScroll: "boolean", target: "element", threshold: "array" }; class Vs extends K { constructor(t, e) { super(t, e), this._targetLinks = new Map, this._observableSections = new Map, this._rootElement = "visible" === getComputedStyle(this._element).overflowY ? null : this._element, this._activeTarget = null, this._observer = null, this._previousScrollData = { visibleEntryTop: 0, parentScrollTop: 0 }, this.refresh() } static get Default() { return Rs } static get DefaultType() { return Ks } static get NAME() { return xs } refresh() { this._initializeTargetsAndObservables(), this._maybeEnableSmoothScroll(), this._observer ? this._observer.disconnect() : this._observer = this._getNewObserver(); for (const t of this._observableSections.values()) this._observer.observe(t) } dispose() { this._observer.disconnect(), super.dispose() } _configAfterMerge(t) { return t.target = h(t.target) || document.body, t.rootMargin = t.offset ? `${t.offset}px 0px -30%` : t.rootMargin, "string" == typeof t.threshold && (t.threshold = t.threshold.split(",").map(t => Number.parseFloat(t))), t } _maybeEnableSmoothScroll() { this._config.smoothScroll && (F.off(this._config.target, $s), F.on(this._config.target, $s, zs, t => { const e = this._observableSections.get(t.target.hash); if (e) { t.preventDefault(); const i = this._rootElement || window, s = e.offsetTop - this._element.offsetTop; if (i.scrollTo) return void i.scrollTo({ top: s, behavior: "smooth" }); i.scrollTop = s } })) } _getNewObserver() { const t = { root: this._rootElement, threshold: this._config.threshold, rootMargin: this._config.rootMargin }; return new IntersectionObserver(t => this._observerCallback(t), t) } _observerCallback(t) { const e = t => this._targetLinks.get(`#${t.target.id}`), i = t => { this._previousScrollData.visibleEntryTop = t.target.offsetTop, this._process(e(t)) }, s = (this._rootElement || document.documentElement).scrollTop, n = s >= this._previousScrollData.parentScrollTop; this._previousScrollData.parentScrollTop = s; for (const o of t) { if (!o.isIntersecting) { this._activeTarget = null, this._clearActiveClass(e(o)); continue } const t = o.target.offsetTop >= this._previousScrollData.visibleEntryTop; if (n && t) { if (i(o), !s) return } else n || t || i(o) } } _initializeTargetsAndObservables() { this._targetLinks = new Map, this._observableSections = new Map; const t = Q.find(zs, this._config.target); for (const e of t) { if (!e.hash || u(e)) continue; const t = Q.findOne(decodeURI(e.hash), this._element); d(t) && (this._targetLinks.set(decodeURI(e.hash), e), this._observableSections.set(e.hash, t)) } } _process(t) { this._activeTarget !== t && (this._clearActiveClass(this._config.target), this._activeTarget = t, t.classList.add(Fs), this._activateParents(t), F.trigger(this._element, Ms, { relatedTarget: t })) } _activateParents(t) { if (t.classList.contains(js)) Q.findOne(Ws, t.closest(qs)).classList.add(Fs); else for (const e of Q.parents(t, Hs)) for (const t of Q.prev(e, Bs)) t.classList.add(Fs) } _clearActiveClass(t) { t.classList.remove(Fs); const e = Q.find(`${zs}.${Fs}`, t); for (const t of e) t.classList.remove(Fs) } static jQueryInterface(t) { return this.each(function () { const e = Vs.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t]() } }) } } F.on(window, "load.bs.scrollspy.data-api", () => { for (const t of Q.find('[data-bs-spy="scroll"]')) Vs.getOrCreateInstance(t) }), v(Vs); const Qs = "tab", Xs = "hide.bs.tab", Ys = "hidden.bs.tab", Us = "show.bs.tab", Gs = "shown.bs.tab", Js = "keydown.bs.tab", Zs = "ArrowLeft", tn = "ArrowRight", en = "ArrowUp", sn = "ArrowDown", nn = "Home", on = "End", rn = "active", an = "fade", ln = "show", cn = "dropdown", hn = ".dropdown-toggle", dn = ".dropdown-menu", un = `:not(${hn})`, _n = '.list-group, .nav, [role="tablist"]', gn = ".nav-item, .list-group-item", fn = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', mn = `${`.nav-link${un}, .list-group-item${un}, [role="tab"]${un}`}, ${fn}`, pn = `.${rn}[data-bs-toggle="tab"], .${rn}[data-bs-toggle="pill"], .${rn}[data-bs-toggle="list"]`; class bn extends K { constructor(t) { super(t), this._parent = this._element.closest(_n), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), F.on(this._element, Js, t => this._keydown(t))) } static get NAME() { return Qs } show() { const t = this._element; if (this._elemIsActive(t)) return; const e = this._getActiveElem(), i = e ? F.trigger(e, Xs, { relatedTarget: t }) : null; F.trigger(t, Us, { relatedTarget: e }).defaultPrevented || i && i.defaultPrevented || (this._deactivate(e, t), this._activate(t, e)) } _activate(t, e) { if (!t) return; t.classList.add(rn), this._activate(Q.getElementFromSelector(t)); this._queueCallback(() => { "tab" === t.getAttribute("role") ? (t.removeAttribute("tabindex"), t.setAttribute("aria-selected", !0), this._toggleDropDown(t, !0), F.trigger(t, Gs, { relatedTarget: e })) : t.classList.add(ln) }, t, t.classList.contains(an)) } _deactivate(t, e) { if (!t) return; t.classList.remove(rn), t.blur(), this._deactivate(Q.getElementFromSelector(t)); this._queueCallback(() => { "tab" === t.getAttribute("role") ? (t.setAttribute("aria-selected", !1), t.setAttribute("tabindex", "-1"), this._toggleDropDown(t, !1), F.trigger(t, Ys, { relatedTarget: e })) : t.classList.remove(ln) }, t, t.classList.contains(an)) } _keydown(t) { if (![Zs, tn, en, sn, nn, on].includes(t.key)) return; t.stopPropagation(), t.preventDefault(); const e = this._getChildren().filter(t => !u(t)); let i; if ([nn, on].includes(t.key)) i = e[t.key === nn ? 0 : e.length - 1]; else { const s = [tn, sn].includes(t.key); i = A(e, t.target, s, !0) } i && (i.focus({ preventScroll: !0 }), bn.getOrCreateInstance(i).show()) } _getChildren() { return Q.find(mn, this._parent) } _getActiveElem() { return this._getChildren().find(t => this._elemIsActive(t)) || null } _setInitialAttributes(t, e) { this._setAttributeIfNotExists(t, "role", "tablist"); for (const t of e) this._setInitialAttributesOnChild(t) } _setInitialAttributesOnChild(t) { t = this._getInnerElement(t); const e = this._elemIsActive(t), i = this._getOuterElement(t); t.setAttribute("aria-selected", e), i !== t && this._setAttributeIfNotExists(i, "role", "presentation"), e || t.setAttribute("tabindex", "-1"), this._setAttributeIfNotExists(t, "role", "tab"), this._setInitialAttributesOnTargetPanel(t) } _setInitialAttributesOnTargetPanel(t) { const e = Q.getElementFromSelector(t); e && (this._setAttributeIfNotExists(e, "role", "tabpanel"), t.id && this._setAttributeIfNotExists(e, "aria-labelledby", `${t.id}`)) } _toggleDropDown(t, e) { const i = this._getOuterElement(t); if (!i.classList.contains(cn)) return; const s = (t, s) => { const n = Q.findOne(t, i); n && n.classList.toggle(s, e) }; s(hn, rn), s(dn, ln), i.setAttribute("aria-expanded", e) } _setAttributeIfNotExists(t, e, i) { t.hasAttribute(e) || t.setAttribute(e, i) } _elemIsActive(t) { return t.classList.contains(rn) } _getInnerElement(t) { return t.matches(mn) ? t : Q.findOne(mn, t) } _getOuterElement(t) { return t.closest(gn) || t } static jQueryInterface(t) { return this.each(function () { const e = bn.getOrCreateInstance(this); if ("string" == typeof t) { if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) throw new TypeError(`No method named "${t}"`); e[t]() } }) } } F.on(document, "click.bs.tab", fn, function (t) { ["A", "AREA"].includes(this.tagName) && t.preventDefault(), u(this) || bn.getOrCreateInstance(this).show() }), F.on(window, "load.bs.tab", () => { for (const t of Q.find(pn)) bn.getOrCreateInstance(t) }), v(bn); const vn = "toast", yn = "mouseover.bs.toast", wn = "mouseout.bs.toast", An = "focusin.bs.toast", En = "focusout.bs.toast", Cn = "hide.bs.toast", Tn = "hidden.bs.toast", kn = "show.bs.toast", Sn = "shown.bs.toast", Ln = "fade", On = "hide", In = "show", Dn = "showing", Nn = { animation: "boolean", autohide: "boolean", delay: "number" }, Pn = { animation: !0, autohide: !0, delay: 5e3 }; class xn extends K { constructor(t, e) { super(t, e), this._timeout = null, this._hasMouseInteraction = !1, this._hasKeyboardInteraction = !1, this._setListeners() } static get Default() { return Pn } static get DefaultType() { return Nn } static get NAME() { return vn } show() { if (F.trigger(this._element, kn).defaultPrevented) return; this._clearTimeout(), this._config.animation && this._element.classList.add(Ln); this._element.classList.remove(On), f(this._element), this._element.classList.add(In, Dn), this._queueCallback(() => { this._element.classList.remove(Dn), F.trigger(this._element, Sn), this._maybeScheduleHide() }, this._element, this._config.animation) } hide() { if (!this.isShown()) return; if (F.trigger(this._element, Cn).defaultPrevented) return; this._element.classList.add(Dn), this._queueCallback(() => { this._element.classList.add(On), this._element.classList.remove(Dn, In), F.trigger(this._element, Tn) }, this._element, this._config.animation) } dispose() { this._clearTimeout(), this.isShown() && this._element.classList.remove(In), super.dispose() } isShown() { return this._element.classList.contains(In) } _maybeScheduleHide() { this._config.autohide && (this._hasMouseInteraction || this._hasKeyboardInteraction || (this._timeout = setTimeout(() => { this.hide() }, this._config.delay))) } _onInteraction(t, e) { switch (t.type) { case "mouseover": case "mouseout": this._hasMouseInteraction = e; break; case "focusin": case "focusout": this._hasKeyboardInteraction = e }if (e) return void this._clearTimeout(); const i = t.relatedTarget; this._element === i || this._element.contains(i) || this._maybeScheduleHide() } _setListeners() { F.on(this._element, yn, t => this._onInteraction(t, !0)), F.on(this._element, wn, t => this._onInteraction(t, !1)), F.on(this._element, An, t => this._onInteraction(t, !0)), F.on(this._element, En, t => this._onInteraction(t, !1)) } _clearTimeout() { clearTimeout(this._timeout), this._timeout = null } static jQueryInterface(t) { return this.each(function () { const e = xn.getOrCreateInstance(this, t); if ("string" == typeof t) { if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); e[t](this) } }) } } return X(xn), v(xn), { Alert: tt, Button: st, Carousel: Kt, Collapse: ce, Dropdown: qe, Modal: Ni, Offcanvas: Qi, Popover: Ps, ScrollSpy: Vs, Tab: bn, Toast: xn, Tooltip: Ss } });
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,s=[],i=e.length;for(n=0;n<i;++n)s.push(t(e[n],n));return s}function h(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,s){return xt(e,t,n,s,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){var n=null,s=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(n=f(e),s=t.call(n.parsedDateParts,function(e){return null!=e}),i=n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&s),e._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function _(e){var t=c(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),s=n.length>>>0;for(t=0;t<s;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=n.momentProperties=[],g=!1;function w(e,t){var n,s,i,r=y.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=f(t)),o(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)o(i=t[s=y[n]])||(e[s]=i);return e}function p(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,n.updateOffset(this),g=!1)}function v(e){return e instanceof p||null!=e&&null!=e._isAMomentObject}function k(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var s=!0;return h(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),s){var i,a,o,u=[],l=arguments.length;for(a=0;a<l;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])r(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];u.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),s=!1}return t.apply(this,arguments)},t)}var D,Y={};function S(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),Y[e]||(k(t),Y[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function b(e,t){var n,s=h({},e);for(n in t)r(t,n)&&(i(e[n])&&i(t[n])?(s[n]={},h(s[n],e[n]),h(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)r(e,n)&&!r(t,n)&&i(e[n])&&(s[n]=h({},s[n]));return s}function T(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n};function x(e,t,n){var s=""+Math.abs(e),i=t-s.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,W=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},R={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return x(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=H(t,e.localeData()),P[t]=P[t]||function(e){var t,n,s,i=e.match(N);for(t=0,n=i.length;t<n;t++)R[i[t]]?i[t]=R[i[t]]:i[t]=(s=i[t]).match(/\[[\s\S]/)?s.replace(/^\[|\]$/g,""):s.replace(/\\/g,"");return function(t){var s,r="";for(s=0;s<n;s++)r+=O(i[s])?i[s].call(t,e):i[s];return r}}(t),P[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(W.lastIndex=0;n>=0&&W.test(e);)e=e.replace(W,s),W.lastIndex=0,n-=1;return e}var F={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function L(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function V(e){var t,n,s={};for(n in e)r(e,n)&&(t=L(n))&&(s[t]=e[n]);return s}var G={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var E,A=/\d/,j=/\d\d/,I=/\d{3}/,Z=/\d{4}/,z=/[+-]?\d{6}/,q=/\d\d?/,$=/\d\d\d\d?/,B=/\d\d\d\d\d\d?/,J=/\d{1,3}/,Q=/\d{1,4}/,X=/[+-]?\d{1,6}/,K=/\d+/,ee=/[+-]?\d+/,te=/Z|[+-]\d\d:?\d\d/gi,ne=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,re=/^([1-9]\d|\d)/;function ae(e,t,n){E[e]=O(t)?t:function(e,s){return e&&n?n:t}}function oe(e,t){return r(E,e)?E[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}E={};var he={};function ce(e,t){var n,s,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=de(e)}),s=e.length,n=0;n<s;n++)he[e[n]]=i}function fe(e,t){ce(e,function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)})}function me(e,t,n){null!=t&&r(he,e)&&he[e](t,n._a,n,e)}function _e(e){return e%4==0&&e%100!=0||e%400==0}var ye=0,ge=1,we=2,pe=3,ve=4,ke=5,Me=6,De=7,Ye=8;function Se(e){return _e(e)?366:365}C("Y",0,0,function(){var e=this.year();return e<=9999?x(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),ae("Y",ee),ae("YY",q,j),ae("YYYY",Q,Z),ae("YYYYY",X,z),ae("YYYYYY",X,z),ce(["YYYYY","YYYYYY"],ye),ce("YYYY",function(e,t){t[ye]=2===e.length?n.parseTwoDigitYear(e):de(e)}),ce("YY",function(e,t){t[ye]=n.parseTwoDigitYear(e)}),ce("Y",function(e,t){t[ye]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var Oe,be=Te("FullYear",!0);function Te(e,t){return function(s){return null!=s?(Ne(this,e,s),n.updateOffset(this,t),this):xe(this,e)}}function xe(e,t){if(!e.isValid())return NaN;var n=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ne(e,t,n){var s,i,r,a,o;if(e.isValid()&&!isNaN(n)){switch(s=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(i?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(i?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(i?s.setUTCHours(n):s.setHours(n));case"Date":return void(i?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}r=n,a=e.month(),o=29!==(o=e.date())||1!==a||_e(r)?o:28,i?s.setUTCFullYear(r,a,o):s.setFullYear(r,a,o)}}function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1===s?_e(e)?29:28:31-s%7%2}Oe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),ae("M",q,ie),ae("MM",q,j),ae("MMM",function(e,t){return t.monthsShortRegex(e)}),ae("MMMM",function(e,t){return t.monthsRegex(e)}),ce(["M","MM"],function(e,t){t[ge]=de(e)-1}),ce(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[ge]=i:f(n).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ce=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ue=se,He=se;function Fe(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=de(t);else if(!u(t=e.localeData().monthsParse(t)))return e;var n=t,s=e.date();return s=s<29?s:Math.min(s,We(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,s):e._d.setMonth(n,s),e}function Le(e){return null!=e?(Fe(this,e),n.updateOffset(this,!0),this):xe(this,"Month")}function Ve(){function e(e,t){return t.length-e.length}var t,n,s,i,r=[],a=[],o=[];for(t=0;t<12;t++)n=c([2e3,t]),s=ue(this.monthsShort(n,"")),i=ue(this.months(n,"")),r.push(s),a.push(i),o.push(i),o.push(s);r.sort(e),a.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ge(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,n){var s=7+t-n;return-((7+Ge(e,0,s).getUTCDay()-t)%7)+s-1}function Ae(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+Ee(e,s,i);return o<=0?a=Se(r=e-1)+o:o>Se(e)?(r=e+1,a=o-Se(e)):(r=e,a=o),{year:r,dayOfYear:a}}function je(e,t,n){var s,i,r=Ee(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(s=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ie(e,t,n){var s=Ee(e,t,n),i=Ee(e+1,t,n);return(Se(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),ae("w",q,ie),ae("ww",q,j),ae("W",q,ie),ae("WW",q,j),fe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=de(e)});function Ze(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),ae("d",q),ae("e",q),ae("E",q),ae("dd",function(e,t){return t.weekdaysMinRegex(e)}),ae("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ae("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,s){t[s]=de(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=se,Je=se,Qe=se;function Xe(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),s=ue(this.weekdaysMin(n,"")),i=ue(this.weekdaysShort(n,"")),r=ue(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function et(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Ke),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Ke.apply(this)+x(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Ke.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+x(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)}),et("a",!0),et("A",!1),ae("a",tt),ae("A",tt),ae("H",q,re),ae("h",q,ie),ae("k",q,ie),ae("HH",q,j),ae("hh",q,j),ae("kk",q,j),ae("hmm",$),ae("hmmss",B),ae("Hmm",$),ae("Hmmss",B),ce(["H","HH"],pe),ce(["k","kk"],function(e,t,n){var s=de(e);t[pe]=24===s?0:s}),ce(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce(["h","hh"],function(e,t,n){t[pe]=de(e),f(n).bigHour=!0}),ce("hmm",function(e,t,n){var s=e.length-2;t[pe]=de(e.substr(0,s)),t[ve]=de(e.substr(s)),f(n).bigHour=!0}),ce("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[pe]=de(e.substr(0,s)),t[ve]=de(e.substr(s,2)),t[ke]=de(e.substr(i)),f(n).bigHour=!0}),ce("Hmm",function(e,t,n){var s=e.length-2;t[pe]=de(e.substr(0,s)),t[ve]=de(e.substr(s))}),ce("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[pe]=de(e.substr(0,s)),t[ve]=de(e.substr(s,2)),t[ke]=de(e.substr(i))});var nt=Te("Hours",!0);var st,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pe,monthsShort:Re,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:$e,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},rt={},at={};function ot(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n<s;n+=1)if(e[n]!==t[n])return n;return s}function ut(e){return e?e.toLowerCase().replace("_","-"):e}function lt(e){var t=null;if(void 0===rt[e]&&"undefined"!=typeof module&&module&&module.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(e))try{t=st._abbr,require("./locale/"+e),dt(t)}catch(t){rt[e]=null}return rt[e]}function dt(e,t){var n;return e&&((n=o(t)?ct(e):ht(e,t))?st=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function ht(e,t){if(null!==t){var n,s=it;if(t.abbr=e,null!=rt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])s=rt[t.parentLocale]._config;else{if(null==(n=lt(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;s=n._config}return rt[e]=new T(b(s,t)),at[e]&&at[e].forEach(function(e){ht(e.name,e.config)}),dt(e),rt[e]}return delete rt[e],null}function ct(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return st;if(!s(e)){if(t=lt(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r<e.length;){for(t=(i=ut(e[r]).split("-")).length,n=(n=ut(e[r+1]))?n.split("-"):null;t>0;){if(s=lt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&ot(i,n)>=t-1)break;t--}r++}return st}(e)}function ft(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[we]<1||n[we]>We(n[ye],n[ge])?we:n[pe]<0||n[pe]>24||24===n[pe]&&(0!==n[ve]||0!==n[ke]||0!==n[Me])?pe:n[ve]<0||n[ve]>59?ve:n[ke]<0||n[ke]>59?ke:n[Me]<0||n[Me]>999?Me:-1,f(e)._overflowDayOfYear&&(t<ye||t>we)&&(t=we),f(e)._overflowWeeks&&-1===t&&(t=De),f(e)._overflowWeekday&&-1===t&&(t=Ye),f(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t,n,s,i,r,a,o=e._i,u=mt.exec(o)||_t.exec(o),l=gt.length,d=wt.length;if(u){for(f(e).iso=!0,t=0,n=l;t<n;t++)if(gt[t][1].exec(u[1])){i=gt[t][0],s=!1!==gt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=d;t<n;t++)if(wt[t][1].exec(u[3])){r=(u[2]||" ")+wt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!s&&null!=r)return void(e._isValid=!1);if(u[4]){if(!yt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),bt(e)}else e._isValid=!1}function Dt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Yt(e){var t,n,s,i,r,a,o,u,l=vt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(n=l[4],s=l[3],i=l[2],r=l[5],a=l[6],o=l[7],u=[Dt(n),Re.indexOf(s),parseInt(i,10),parseInt(r,10),parseInt(a,10)],o&&u.push(parseInt(o,10)),t=u,!function(e,t,n){return!e||qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return kt[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(l[8],l[9],l[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Ot(e){var t,s,i,r,a,o=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[we]&&null==e._a[ge]&&function(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=St(t.GG,e._a[ye],je(Nt(),1,4).year),s=St(t.W,1),((i=St(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=je(Nt(),r,a),n=St(t.gg,e._a[ye],l.year),s=St(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r);s<1||s>Ie(n,r,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(o=Ae(n,s,i,r,a),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=St(e._a[ye],i[ye]),(e._dayOfYear>Se(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),s=Ge(a,0,e._dayOfYear),e._a[ge]=s.getUTCMonth(),e._a[we]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[pe]&&0===e._a[ve]&&0===e._a[ke]&&0===e._a[Me]&&(e._nextDay=!0,e._a[pe]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[pe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function bt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],f(e).empty=!0;var t,s,i,r,a,o,u,l=""+e._i,d=l.length,h=0;for(u=(i=H(e._f,e._locale).match(N)||[]).length,t=0;t<u;t++)r=i[t],(s=(l.match(oe(r,e))||[])[0])&&((a=l.substr(0,l.indexOf(s))).length>0&&f(e).unusedInput.push(a),l=l.slice(l.indexOf(s)+s.length),h+=s.length),R[r]?(s?f(e).empty=!1:f(e).unusedTokens.push(r),me(r,s,e)):e._strict&&!s&&f(e).unusedTokens.push(r);f(e).charsLeftOver=d-h,l.length>0&&f(e).unusedInput.push(l),e._a[pe]<=12&&!0===f(e).bigHour&&e._a[pe]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[pe]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[pe],e._meridiem),null!==(o=f(e).era)&&(e._a[ye]=e._locale.erasConvertYear(o,e._a[ye])),Ot(e),ft(e)}else Yt(e);else Mt(e)}function Tt(e){var t=e._i,r=e._f;return e._locale=e._locale||ct(e._l),null===t||void 0===r&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new p(ft(t)):(l(t)?e._d=t:s(r)?function(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(0===u)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<u;i++)r=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],bt(t),m(t)&&(a=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,o?r<s&&(s=r,n=t):(null==s||r<s||a)&&(s=r,n=t,a&&(o=!0));h(e,n||t)}(e):r?bt(e):function(e){var t=e._i;o(t)?e._d=new Date(n.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=pt.exec(e._i);null===t?(Mt(e),!1===e._isValid&&(delete e._isValid,Yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):s(t)?(e._a=d(t.slice(0),function(e){return parseInt(e,10)}),Ot(e)):i(t)?function(e){if(!e._d){var t=V(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ot(e)}}(e):u(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function xt(e,t,n,r,o){var u,l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&a(e)||s(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=n,l._i=e,l._f=t,l._strict=r,(u=new p(ft(Tt(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function Nt(e,t,n,s){return xt(e,t,n,s,!1)}n.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Wt=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()}),Pt=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Nt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()});function Rt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Nt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ut(e){var t=V(e),n=t.year||0,s=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,u=t.hour||0,l=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,n,s=!1,i=Ct.length;for(t in e)if(r(e,t)&&(-1===Oe.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Ct[n]]){if(s)return!1;parseFloat(e[Ct[n]])!==de(e[Ct[n]])&&(s=!0)}return!0}(t),this._milliseconds=+h+1e3*d+6e4*l+1e3*u*60*60,this._days=+o+7*a,this._months=+i+3*s+12*n,this._data={},this._locale=ct(),this._bubble()}function Ht(e){return e instanceof Ut}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){C(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+x(~~(e/60),2)+t+x(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),ae("Z",ne),ae("ZZ",ne),ce(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(ne,e)});var Vt=/([\+\-]|\d\d)/gi;function Gt(e,t){var n,s,i=(t||"").match(e);return null===i?null:0===(s=60*(n=((i[i.length-1]||[])+"").match(Vt)||["-",0,0])[1]+de(n[2]))?0:"+"===n[0]?s:-s}function Et(e,t){var s,i;return t._isUTC?(s=t.clone(),i=(v(e)||l(e)?e.valueOf():Nt(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),n.updateOffset(s,!1),s):Nt(e).local()}function At(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,s,i,a=e,o=null;return Ht(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=It.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:de(o[we])*n,h:de(o[pe])*n,m:de(o[ve])*n,s:de(o[ke])*n,ms:de(Ft(1e3*o[Me]))*n}):(o=Zt.exec(e))?(n="-"===o[1]?-1:1,a={y:qt(o[2],n),M:qt(o[3],n),w:qt(o[4],n),d:qt(o[5],n),h:qt(o[6],n),m:qt(o[7],n),s:qt(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Et(t,e),e.isBefore(t)?n=$t(e,t):((n=$t(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Nt(a.from),Nt(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),s=new Ut(a),Ht(e)&&r(e,"_locale")&&(s._locale=e._locale),Ht(e)&&r(e,"_isValid")&&(s._isValid=e._isValid),s}function qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){return function(n,s){var i;return null===s||isNaN(+s)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=s,s=i),Jt(this,zt(n,s),e),this}}function Jt(e,t,s,i){var r=t._milliseconds,a=Ft(t._days),o=Ft(t._months);e.isValid()&&(i=null==i||i,o&&Fe(e,xe(e,"Month")+o*s),a&&Ne(e,"Date",xe(e,"Date")+a*s),r&&e._d.setTime(e._d.valueOf()+r*s),i&&n.updateOffset(e,a||o))}zt.fn=Ut.prototype,zt.invalid=function(){return zt(NaN)};var Qt=Bt(1,"add"),Xt=Bt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function en(e){return v(e)||l(e)||Kt(e)||u(e)||function(e){var t=s(e),n=!1;t&&(n=0===e.filter(function(t){return!u(t)&&Kt(e)}).length);return t&&n}(e)||function(e){var t,n,s=i(e)&&!a(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=u.length;for(t=0;t<l;t+=1)n=u[t],o=o||r(e,n);return s&&o}(e)||null==e}function tn(e,t){if(e.date()<t.date())return-tn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months");return-(n+(t-s<0?(t-s)/(s-e.clone().add(n-1,"months")):(t-s)/(e.clone().add(n+1,"months")-s)))||0}function nn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ct(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sn=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function rn(){return this._locale}var an=1e3,on=60*an,un=60*on,ln=3506328*un;function dn(e,t){return(e%t+t)%t}function hn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ln:new Date(e,t,n).valueOf()}function cn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ln:Date.UTC(e,t,n)}function fn(e,t){return t.erasAbbrRegex(e)}function mn(){var e,t,n,s,i,r=[],a=[],o=[],u=[],l=this.eras();for(e=0,t=l.length;e<t;++e)n=ue(l[e].name),s=ue(l[e].abbr),i=ue(l[e].narrow),a.push(n),r.push(s),o.push(i),u.push(n),u.push(s),u.push(i);this._erasRegex=new RegExp("^("+u.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function _n(e,t){C(0,[e,e.length],0,t)}function yn(e,t,n,s,i){var r;return null==e?je(this,s,i).year:(t>(r=Ie(e,s,i))&&(t=r),function(e,t,n,s,i){var r=Ae(e,t,n,s,i),a=Ge(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),ae("N",fn),ae("NN",fn),ae("NNN",fn),ae("NNNN",function(e,t){return t.erasNameRegex(e)}),ae("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ce(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ae("y",K),ae("yy",K),ae("yyy",K),ae("yyyy",K),ae("yo",function(e,t){return t._eraYearOrdinalRegex||K}),ce(["y","yy","yyy","yyyy"],ye),ce(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ye]=n._locale.eraYearOrdinalParse(e,i):t[ye]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),ae("G",ee),ae("g",ee),ae("GG",q,j),ae("gg",q,j),ae("GGGG",Q,Z),ae("gggg",Q,Z),ae("GGGGG",X,z),ae("ggggg",X,z),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=de(e)}),fe(["gg","GG"],function(e,t,s,i){t[i]=n.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),ae("Q",A),ce("Q",function(e,t){t[ge]=3*(de(e)-1)}),C("D",["DD",2],"Do","date"),ae("D",q,ie),ae("DD",q,j),ae("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ce(["D","DD"],we),ce("Do",function(e,t){t[we]=de(e.match(q)[0])});var gn=Te("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),ae("DDD",J),ae("DDDD",I),ce(["DDD","DDDD"],function(e,t,n){n._dayOfYear=de(e)}),C("m",["mm",2],0,"minute"),ae("m",q,re),ae("mm",q,j),ce(["m","mm"],ve);var wn=Te("Minutes",!1);C("s",["ss",2],0,"second"),ae("s",q,re),ae("ss",q,j),ce(["s","ss"],ke);var pn,vn,kn=Te("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ae("S",J,A),ae("SS",J,j),ae("SSS",J,I),pn="SSSS";pn.length<=9;pn+="S")ae(pn,K);function Mn(e,t){t[Me]=de(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ce(pn,Mn);vn=Te("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var Dn=p.prototype;function Yn(e){return e}Dn.add=Qt,Dn.calendar=function(e,t){1===arguments.length&&(arguments[0]?en(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=i(e)&&!a(e),s=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)s=s||r(e,o[t]);return n&&s}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||Nt(),o=Et(s,this).startOf("day"),u=n.calendarFormat(this,o)||"sameElse",l=t&&(O(t[u])?t[u].call(this,s):t[u]);return this.format(l||this.localeData().calendar(u,this,Nt(s)))},Dn.clone=function(){return new p(this)},Dn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Et(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=L(t)){case"year":r=tn(this,s)/12;break;case"month":r=tn(this,s);break;case"quarter":r=tn(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:le(r)},Dn.endOf=function(e){var t,s;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?cn:hn,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=un-dn(t+(this._isUTC?0:this.utcOffset()*on),un)-1;break;case"minute":t=this._d.valueOf(),t+=on-dn(t,on)-1;break;case"second":t=this._d.valueOf(),t+=an-dn(t,an)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},Dn.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)},Dn.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Nt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Dn.fromNow=function(e){return this.from(Nt(),e)},Dn.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||Nt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Dn.toNow=function(e){return this.to(Nt(),e)},Dn.get=function(e){return O(this[e=L(e)])?this[e]():this},Dn.invalidAt=function(){return f(this).overflow},Dn.isAfter=function(e,t){var n=v(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Dn.isBefore=function(e,t){var n=v(e)?e:Nt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Dn.isBetween=function(e,t,n,s){var i=v(e)?e:Nt(e),r=v(t)?t:Nt(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&("("===(s=s||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===s[1]?this.isBefore(r,n):!this.isAfter(r,n))},Dn.isSame=function(e,t){var n,s=v(e)?e:Nt(e);return!(!this.isValid()||!s.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Dn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Dn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Dn.isValid=function(){return m(this)},Dn.lang=sn,Dn.locale=nn,Dn.localeData=rn,Dn.max=Pt,Dn.min=Wt,Dn.parsingFlags=function(){return h({},f(this))},Dn.set=function(e,t){if("object"==typeof e){var n,s=function(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:G[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=V(e)),i=s.length;for(n=0;n<i;n++)this[s[n].unit](e[s[n].unit])}else if(O(this[e=L(e)]))return this[e](t);return this},Dn.startOf=function(e){var t,s;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?cn:hn,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=dn(t+(this._isUTC?0:this.utcOffset()*on),un);break;case"minute":t=this._d.valueOf(),t-=dn(t,on);break;case"second":t=this._d.valueOf(),t-=dn(t,an)}return this._d.setTime(t),n.updateOffset(this,!0),this},Dn.subtract=Xt,Dn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Dn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Dn.toDate=function(){return new Date(this.valueOf())},Dn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Dn.toJSON=function(){return this.isValid()?this.toISOString():null},Dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Dn.unix=function(){return Math.floor(this.valueOf()/1e3)},Dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Dn.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].name;if(s[e].until<=n&&n<=s[e].since)return s[e].name}return""},Dn.eraNarrow=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].narrow;if(s[e].until<=n&&n<=s[e].since)return s[e].narrow}return""},Dn.eraAbbr=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until)return s[e].abbr;if(s[e].until<=n&&n<=s[e].since)return s[e].abbr}return""},Dn.eraYear=function(){var e,t,s,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=r[e].since<=r[e].until?1:-1,i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return(this.year()-n(r[e].since).year())*s+r[e].offset;return this.year()},Dn.year=be,Dn.isLeapYear=function(){return _e(this.year())},Dn.weekYear=function(e){return yn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},Dn.isoWeekYear=function(e){return yn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Dn.quarter=Dn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Dn.month=Le,Dn.daysInMonth=function(){return We(this.year(),this.month())},Dn.week=Dn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Dn.isoWeek=Dn.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Dn.weeksInYear=function(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)},Dn.weeksInWeekYear=function(){var e=this.localeData()._week;return Ie(this.weekYear(),e.dow,e.doy)},Dn.isoWeeksInYear=function(){return Ie(this.year(),1,4)},Dn.isoWeeksInISOWeekYear=function(){return Ie(this.isoWeekYear(),1,4)},Dn.date=gn,Dn.day=Dn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=xe(this,"Day");return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Dn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Dn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Dn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Dn.hour=Dn.hours=nt,Dn.minute=Dn.minutes=wn,Dn.second=Dn.seconds=kn,Dn.millisecond=Dn.milliseconds=vn,Dn.utcOffset=function(e,t,s){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Gt(ne,e)))return this}else Math.abs(e)<16&&!s&&(e*=60);return!this._isUTC&&t&&(i=At(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Jt(this,zt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:At(this)},Dn.utc=function(e){return this.utcOffset(0,e)},Dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(At(this),"m")),this},Dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Gt(te,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Nt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Dn.isUtc=jt,Dn.isUTC=jt,Dn.zoneAbbr=function(){return this._isUTC?"UTC":""},Dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Dn.dates=M("dates accessor is deprecated. Use date instead.",gn),Dn.months=M("months accessor is deprecated. Use month instead",Le),Dn.years=M("years accessor is deprecated. Use year instead",be),Dn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Dn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Tt(t))._a?(e=t._isUTC?c(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&de(e[s])!==de(t[s]))&&a++;return a+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Sn=T.prototype;function On(e,t,n,s){var i=ct(),r=c().set(s,t);return i[n](r,e)}function bn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return On(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=On(e,s,n,"month");return i}function Tn(e,t,n,s){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,r=ct(),a=e?r._week.dow:0,o=[];if(null!=n)return On(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=On(t,(i+a)%7,s,"day");return o}Sn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},Sn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Sn.invalidDate=function(){return this._invalidDate},Sn.ordinal=function(e){return this._ordinal.replace("%d",e)},Sn.preparse=Yn,Sn.postformat=Yn,Sn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},Sn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},Sn.set=function(e){var t,n;for(n in e)r(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Sn.eras=function(e,t){var s,i,r,a=this._eras||ct("en")._eras;for(s=0,i=a.length;s<i;++s){switch(typeof a[s].since){case"string":r=n(a[s].since).startOf("day"),a[s].since=r.valueOf()}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":r=n(a[s].until).startOf("day").valueOf(),a[s].until=r.valueOf()}}return a},Sn.erasParse=function(e,t,n){var s,i,r,a,o,u=this.eras();for(e=e.toUpperCase(),s=0,i=u.length;s<i;++s)if(r=u[s].name.toUpperCase(),a=u[s].abbr.toUpperCase(),o=u[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[s];break;case"NNNN":if(r===e)return u[s];break;case"NNNNN":if(o===e)return u[s]}else if([r,a,o].indexOf(e)>=0)return u[s]},Sn.erasConvertYear=function(e,t){var s=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*s},Sn.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||mn.call(this),e?this._erasAbbrRegex:this._erasRegex},Sn.erasNameRegex=function(e){return r(this,"_erasNameRegex")||mn.call(this),e?this._erasNameRegex:this._erasRegex},Sn.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||mn.call(this),e?this._erasNarrowRegex:this._erasRegex},Sn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},Sn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ce.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Sn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=c([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Oe.call(this._shortMonthsParse,a))?i:-1!==(i=Oe.call(this._longMonthsParse,a))?i:null:-1!==(i=Oe.call(this._longMonthsParse,a))?i:-1!==(i=Oe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=c([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Sn.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Sn.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Ue),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Sn.week=function(e){return je(e,this._week.dow,this._week.doy).week},Sn.firstDayOfYear=function(){return this._week.doy},Sn.firstDayOfWeek=function(){return this._week.dow},Sn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ze(n,this._week.dow):e?n[e.day()]:n},Sn.weekdaysMin=function(e){return!0===e?Ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Sn.weekdaysShort=function(e){return!0===e?Ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Sn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=c([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Oe.call(this._minWeekdaysParse,a))?i:-1!==(i=Oe.call(this._weekdaysParse,a))?i:-1!==(i=Oe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=c([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Sn.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Sn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Sn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Sn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Sn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},dt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",dt),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",ct);var xn=Math.abs;function Nn(e,t,n,s){var i=zt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Wn(e){return e<0?Math.floor(e):Math.ceil(e)}function Pn(e){return 4800*e/146097}function Rn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}var Un=Cn("ms"),Hn=Cn("s"),Fn=Cn("m"),Ln=Cn("h"),Vn=Cn("d"),Gn=Cn("w"),En=Cn("M"),An=Cn("Q"),jn=Cn("y"),In=Un;function Zn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Zn("milliseconds"),qn=Zn("seconds"),$n=Zn("minutes"),Bn=Zn("hours"),Jn=Zn("days"),Qn=Zn("months"),Xn=Zn("years");var Kn=Math.round,es={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var ts=Math.abs;function ns(e){return(e>0)-(e<0)||+e}function ss(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=ts(this._milliseconds)/1e3,l=ts(this._days),d=ts(this._months),h=this.asSeconds();return h?(e=le(u/60),t=le(e/60),u%=60,e%=60,n=le(d/12),d%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",r=ns(this._months)!==ns(h)?"-":"",a=ns(this._days)!==ns(h)?"-":"",o=ns(this._milliseconds)!==ns(h)?"-":"",i+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var is=Ut.prototype;return is.isValid=function(){return this._isValid},is.abs=function(){var e=this._data;return this._milliseconds=xn(this._milliseconds),this._days=xn(this._days),this._months=xn(this._months),e.milliseconds=xn(e.milliseconds),e.seconds=xn(e.seconds),e.minutes=xn(e.minutes),e.hours=xn(e.hours),e.months=xn(e.months),e.years=xn(e.years),this},is.add=function(e,t){return Nn(this,e,t,1)},is.subtract=function(e,t){return Nn(this,e,t,-1)},is.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Pn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Rn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},is.asMilliseconds=Un,is.asSeconds=Hn,is.asMinutes=Fn,is.asHours=Ln,is.asDays=Vn,is.asWeeks=Gn,is.asMonths=En,is.asQuarters=An,is.asYears=jn,is.valueOf=In,is._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*Wn(Rn(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=le(r/1e3),u.seconds=e%60,t=le(e/60),u.minutes=t%60,n=le(t/60),u.hours=n%24,a+=le(n/24),o+=i=le(Pn(a)),a-=Wn(Rn(i)),s=le(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},is.clone=function(){return zt(this)},is.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},is.milliseconds=zn,is.seconds=qn,is.minutes=$n,is.hours=Bn,is.days=Jn,is.weeks=function(){return le(this.days()/7)},is.months=Qn,is.years=Xn,is.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=es;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},es,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,n,s){var i=zt(e).abs(),r=Kn(i.as("s")),a=Kn(i.as("m")),o=Kn(i.as("h")),u=Kn(i.as("d")),l=Kn(i.as("M")),d=Kn(i.as("w")),h=Kn(i.as("y")),c=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(c=c||d<=1&&["w"]||d<n.w&&["ww",d]),(c=c||l<=1&&["M"]||l<n.M&&["MM",l]||h<=1&&["y"]||["yy",h])[2]=t,c[3]=+e>0,c[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,c)}(this,!i,r,n=this.localeData()),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},is.toISOString=ss,is.toString=ss,is.toJSON=ss,is.locale=nn,is.localeData=rn,is.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ss),is.lang=sn,C("X",0,0,"unix"),C("x",0,0,"valueOf"),ae("x",ee),ae("X",/[+-]?\d+(\.\d{1,3})?/),ce("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ce("x",function(e,t,n){n._d=new Date(de(e))}),n.version="2.30.1",e=Nt,n.fn=Dn,n.min=function(){return Rt("isBefore",[].slice.call(arguments,0))},n.max=function(){return Rt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=c,n.unix=function(e){return Nt(1e3*e)},n.months=function(e,t){return bn(e,t,"months")},n.isDate=l,n.locale=dt,n.invalid=_,n.duration=zt,n.isMoment=v,n.weekdays=function(e,t,n){return Tn(e,t,n,"weekdays")},n.parseZone=function(){return Nt.apply(null,arguments).parseZone()},n.localeData=ct,n.isDuration=Ht,n.monthsShort=function(e,t){return bn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return Tn(e,t,n,"weekdaysMin")},n.defineLocale=ht,n.updateLocale=function(e,t){if(null!=t){var n,s,i=it;null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(b(rt[e]._config,t)):(null!=(s=lt(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new T(t)).parentLocale=rt[e],rt[e]=n),dt(e)}else null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===dt()&&dt(e)):null!=rt[e]&&delete rt[e]);return rt[e]},n.locales=function(){return D(rt)},n.weekdaysShort=function(e,t,n){return Tn(e,t,n,"weekdaysShort")},n.normalizeUnits=L,n.relativeTimeRounding=function(e){return void 0===e?Kn:"function"==typeof e&&(Kn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==es[e]&&(void 0===t?es[e]:(es[e]=t,"s"===e&&(es.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=Dn,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n});
$.validator.unobtrusive.adapters.add("requiredif",["dependentonpropertyname","desiredvalue","conditionaltype"],function(e){e.rules.requiredif=e.params,e.messages.requiredif=e.message}),$(document).ready(function(){$.validator.addMethod("requiredif",function(e,n,t){var i=t.desiredvalue;"ContainsConditional"===t.conditionaltype?i=JSON.parse(t.desiredvalue):"EqualityConditional"===t.conditionaltype&&(i=(null==i?"":i).toString());var a={},o=$("input[id$='"+t.dependentonpropertyname+"']").attr("type");"checkbox"==o||"radio"==o?a=$("input[id$='"+t.dependentonpropertyname+"']:checked").val():a=$("#"+t.dependentonpropertyname).val();let d=!1;"ContainsConditional"===t.conditionaltype?d=!!i.includes(a):"EqualityConditional"===t.conditionaltype&&(d=$.trim(i).toLowerCase()===$.trim(a).toLocaleLowerCase());let r=!0;return d&&(r=$.validator.methods.required.call(this,e,n,t)),r})});
